// Measures the width and height of the page and puts in the shadow effect at the sides of the page.  Not that important in the greater scheme of things.  JDG - MAY 2009


function addLoadEvent(func) {
var oldonload = window.onload;
if (typeof window.onload != 'function') {
window.onload = func;
} else {
window.onload = function() {
oldonload();
func();
}
}
}
function heightget() {var height= document.getElementById("wrapperMain").offsetHeight; document.getElementById("rightshadow").style.height = ""+height+"px"; document.getElementById("leftshadow").style.height = ""+height+"px"}; addLoadEvent(heightget); 
function widthget() {var width= document.getElementById("wrapperMain").offsetWidth; document.getElementById("rightshadow").style.marginLeft = ""+width+"px"}; addLoadEvent(widthget); 