
var origWidth, origHeight;
if (document.layers) {
  origWidth = window.innerWidth;
  origHeight = window.innerHeight;
}

function to_do_onresize() {
	if (document.layers) {
	 if (window.innerWidth != origWidth || window.innerHeight != origHeight) 
	    window.location.reload();
	} else setTimeout("winHt=getWinHeight()",200);
}
window.onresize = to_do_onresize;


var statLyr, winHt;
function initStatLyr() {
	winHt = getWinHeight();
	
	// could calculate position relative to right or bottom here
	
	// args: id, left,top,width,height,duration of glide to location onscroll
	statLyr = new statObj("sidenav",0,205,196,150,1000);
	if (!statLyr) return;
	
}

window.onload = initStatLyr;






