function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
/*********************************************/
/***function for about copace splash page*****/
/*********************************************/ 
function chkRes() { 
if (document.getElementById) { 
var screenRes = screen.width + "x" + screen.height; 
if (screenRes == "800x600") changeBg('homepage-BG',294); 
if (screenRes == "1024x768") changeBg('homepage-BGlarge',460); 
if (screenRes == "1152x864") changeBg('homepage-BGlarge',441); 
} 
} 
function changeBg(sz,ht) { 
var yo = document.getElementById("pagebg");
var  myht = document.getElementById("pagebg");

yo.className = sz; 
myht.height= ht;
myht.style.height = ht;
} 

/*********************************************/
/*************** height for the tables *******/
/*********************************************/ 
function chkResHt(h1,h2,h3) { 
if (document.getElementById) { 
var screenRes = screen.width + "x" + screen.height; 
if (screenRes == "800x600") changeHt(h1); //258
if (screenRes == "1024x768") changeHt(h2); //441
if (screenRes == "1152x864") changeHt(h3); //441
} 
} 
function changeHt(ht) { 
//var yo = document.getElementById("pagebg");
//var  myht = document.getElementById("tableht");
var myht = document.getElementById("tableht");
var cl = document.getElementById("tableht");
//yo.className = sz; 
myht.height= ht;
myht.style.height = ht;
cl.height= ht;
cl.style.height = ht;
} 
/*********************************************/
/***function for page chk res*****/
/*********************************************/ 
	function pagechkRes(img1,h1,img2,h2,img3,h3) { 
		
		var screenRes = screen.width + "x" + screen.height; 
		
		if (screenRes == "800x600") changeImage('IMAGES/' +  img1 + '.gif',h1); 
		if (screenRes == "1024x768") changeImage('IMAGES/' + img2 + '.gif',h2); 
		if (screenRes == "1152x864") changeImage('IMAGES/' + img3 + '.gif',h3); 
		
		} 
		
		function changeImage(mImg,ht) { 
			document.images.prospImg.src=mImg;
			//document.imgDiv.document.images["prospImg"].src = mImg;			

			var  myht = document.getElementById("pagebg");

			myht.height= ht;
			myht.style.height = ht;
			
		}