function fixLayout()
{
	var _col = document.getElementById("two-cols");
	var _column2 = document.getElementById("column2");
	// NOTE : not all pages have img-box
	var _imgbox = document.getElementById("img-box");
    
    var imgbox = 0;

	if(_col)
	{
	    // not all pages have _imgbox
	    if( _imgbox )
	    { 
	        imgbox = _imgbox.offsetHeight;
        }

	    // IE sizing
	    if( document.all )
	    {
            new_height = _col.offsetHeight - imgbox + "px";

            _column2.style.height = new_height;
            
            // HACK : size here again because content is loaded
            _column2.style.height = _col.offsetHeight - imgbox + "px";
        }
        else
        {
            //FF height:9000px solution
            //var tops = _column2.offsetTop - _col.offsetTop;
            //new_height = _col.offsetHeight - tops + "px";

            var tops    = ( _column2.offsetTop - _col.offsetTop );

            new_height  = _col.offsetHeight - tops + "px";

            _column2.style.height = new_height;
            // HACK : double resize like above
            _column2.style.height = _col.offsetHeight - tops + 20 + "px";
        }
	}
}


if (window.addEventListener){
	window.addEventListener("load", fixLayout, false);
}
else if (window.attachEvent){
	window.attachEvent("onload", fixLayout);
}