

/* shadows/footer */
function getContentHeight() {
	if (document.getElementById("content")) {
		return document.getElementById("content").offsetHeight;
	}
	return 1200; //default
}

function adjustLayout(){
	if (document.getElementById("shadowLeft") && document.getElementById("shadowRight")){
		document.getElementById("shadowLeft").style.height = getContentHeight() + "px";
		document.getElementById("shadowRight").style.height = getContentHeight() + "px";
	}
	else if (document.all.shadowLeft && document.all.shadowRight){
		document.all.shadowLeft.style.height= getContentHeight() + "px";
		document.all.shadowRight.style.height= getContentHeight() + "px";	
	}
}

function adjustFooter(){  /* footer fix for gecko browsers */
	if (document.getElementById("footerArea")){
		document.getElementById("footerArea").style.marginTop = "1px";
	}
}

window.onload = function(){adjustLayout();adjustFooter();}
window.onresize = function(){adjustLayout();}

