function addLoadEvent(func){
    var oldonload = window.onload;if(typeof window.onload !='function'){window.onload=func;}else{window.onload=function(){if(oldonload){oldonload();}func();}}
}
function adjust(){
	if(document.getElementById("sidelinks") && document.getElementById("mainarea") && document.getElementById("contentCont")){
		var c1=document.getElementById("sidelinks");var c2=document.getElementById("mainarea");var c=document.getElementById("contentCont");
		//Get the height of the longest area.
		var height=(c1.offsetHeight)?((c1.offsetHeight>c2.offsetHeight)?c1.offsetHeight:c2.offsetHeight):((c1.style.pixelHeight>c2.style.pixelHeight)?c1.style.pixelHeight:c2.style.pixelHeight);
		var diff=Math.max(c1.offsetHeight,c2.offsetHeight)-Math.min(c1.offsetHeight,c2.offsetHeight);
		//alert(diff);
		var push=(c1.offsetHeight>c2.offsetHeight)?true:false;
		//Set the height
		c.style.height=height+"px";c1.style.height=height+"px";c2.style.height=height+"px";
	if(document.getElementById("awards") && push){
		//alert("Attempting to push the awards down");
		c3=document.getElementById("awards");
		c3.style.paddingTop=(diff-5)+"px";
}
	}
}
addLoadEvent(adjust);


function whatBrowser()
{
if((navigator.appName=="Microsoft Internet Explorer")&&(parseFloat(navigator.appVersion)>=4))
  return 5;
else
  return 5;
}