// generate random number for imagesimgNum = Math.ceil(Math.random()*4);locationVal = "";// copyright valuecopyright = "&copy; 2006 Maritime Trust Company";// image rolloverfunction rollImg(which,state){	if(state==1){		stateVal = "a";	}else{		stateVal = "i";	}	document[which].src = prefix+"images/"+which+"_"+stateVal+".gif";}// arrow rolloverfunction rollArrow(which,state){	if(state==1){		stateVal = "visible";	}else{		stateVal = "hidden";	}	document.getElementById("arrow"+which).style.visibility = stateVal;}function moveFooter(){	if(locationVal == "landing"){		footerSpace = 380;	}else{		footerSpace = 170;	}	//alert(footerSpace+document.getElementById("contentArea").offsetHeight);	if(footerSpace+document.getElementById("contentArea").offsetHeight > 380){		document.getElementById("globalNavFooter").style.top = (footerSpace+document.getElementById("contentArea").offsetHeight) +"px";	}	document.getElementById("globalNavFooter").style.visibility = "visible";}function openPop(which,num,start){	if(start!=null){		startImg = start;	}else{		startImg = 1;	}	leftVal = eval(screen.availWidth/2)-380;	topVal = eval(screen.availWidth/2)-410;		window.open('http://www.portgardnerwharf.com/pop.php?category='+which+'&thumbNum='+num+'&startImg='+startImg+'','','left='+leftVal+',top='+topVal+',width=760,height=410,resizable=0,scrollbars=0')}