// JavaScript Document

// LOAD FIRST SCRIPT
function initLoad(){
  	window.scrollTo(2600,0);
  	$('div.navPrevText').hide();
  	$('div.navNextText').hide();
  	document.getElementById("runNum").value=1;
  	document.getElementById("frameCont").style.height=screen.height;
	document.getElementById("bod").style.height=screen.height;

}
function initLoadCont(h,c1,c2){
	document.getElementById("bg").style.width=screen.availWidth+"px";
	var imgHeight = h/2;
	var docHeight = document.getElementById("bod").scrollHeight/2;
	document.getElementById(c1).style.top=docHeight-imgHeight+"px";
	document.getElementById(c2).style.top=docHeight-imgHeight-20+"px";
}
// CENTER PAGE FUNCTION
/*function centerPage(w,h){
	document.getElementById("bg").style.width=screen.availWidth+"px";
	var imgHeight = h/2;
	var imgWidth = w/2;
	var docHeight = document.getElementById("bod").scrollHeight/2;
	var docWidth = screen.availWidth/2;
	document.getElementById("centerPage").style.top=docHeight-imgHeight+"px";
	document.getElementById("centerPage").style.left=docWidth-imgWidth+"px";
}
*/

