// JavaScript Document

function menuroll(imgName, imgSrc) {
     document.images[imgName].src = imgSrc;
}

function NewWindow(mypage, myname, w, h, scroll) {
	// ADD TO <A> TAG:  onClick="NewWindow(this.href,'pop','750','550','no');return false;"
	var winl = (screen.width - w) / 2;
	var wint = (screen.height - h) / 2;
	winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+''
	win = window.open(mypage, myname, winprops)
	if (parseInt(navigator.appVersion) >= 4) {
		win.window.focus();
	}
}

function JumpMenu(selObj) {
	// ADD onchange="JumpMenu(this)" TO SELECT TAG
	// make sure OPTION values are all complete files, not just variables
	eval("parent.location='"+selObj.options[selObj.selectedIndex].value+"'");
}


/*
var message = "All materials on this website are the ownership of Coastal Engineering Consultants, Inc."; 
function rtclickcheck(keyp){ if (navigator.appName == "Netscape" && keyp.which == 3){ 	alert(message); return false; } 
if (navigator.appVersion.indexOf("MSIE") != -1 && event.button == 2) { 	alert(message); 	return false; } } 
document.onmousedown = rtclickcheck;
*/