// JavaScript Document
window.onload = function()
{
	setBackgroundShadow(); // check shadow paramters
}

// Sets heights and positions of the shadow frame in the back of the page
function setBackgroundShadow(){
	var main_height = document.getElementById("main").offsetHeight;
	document.getElementById("shadow_r").style.height = document.getElementById("shadow_l").style.height = String(main_height+193)+"px";
	document.getElementById("shadow_lb").style.top = document.getElementById("shadow_rb").style.top = String(main_height+200)+"px";
	document.getElementById("shadow_b").style.top = String(main_height+205)+"px";
}
