function fixH() 
{ 
if (!(document.getElementById('pagecell')) ){
return false;
}else{
var lh=document.getElementById('pagecell').offsetHeight; 
var rh=document.getElementById('content').offsetHeight;
document.getElementById('content').style.height=(lh>rh)? lh+"px" : rh+"px"; 
document.getElementById('pagecell').style.height=(rh>lh)? rh+"px" : lh+"px"; 
//body height hack for firefox. This removes extra space between a footer and the content. It probably works because the body has a set size regardless what we set it to. It could probably just be zero and it would still work since the body has content in it, so cannot be zero.
document.body.style.height="0px";
} 
} 
 window.onload=function(){fixH()}