// pop-up windows

function cataPult(theURL,windowname,horz,vert,resizeMe) {
	if (resizeMe == null) { resizeMe = 1; }
	hCent	= (screen.availWidth / 2) - (horz / 2);
	vCent = (screen.availHeight / 2) - (vert / 2);
	window.open(theURL, windowname,'toolbar=0,location=0,directories=0,status=no,left=' + hCent + ',top=' + vCent + ',menubar=0,scrollbars=' + resizeMe + ',resizable=' + resizeMe + ',width=' + horz + ',height=' + vert );
}

function popLock(theURL,windowname,horz,vert,resizeMe) {
	if (resizeMe == null) { resizeMe = 1; }
	hCent	= (screen.availWidth / 2) - (horz / 2);
	vCent = (screen.availHeight / 2) - (vert / 2);
	window.open(theURL, windowname,'toolbar=0,location=0,directories=0,status=no,left=' + hCent + ',top=' + vCent + ',menubar=0,scrollbars=no,resizable=' + resizeMe + ',width=' + horz + ',height=' + vert );
}

// pull-down menus

function openURL()
{ 
selInd = document.jump.menu.selectedIndex; 
goURL = document.jump.menu.options[selInd].value;
top.location.href = goURL; 
}

function openURL2()
{ 
selInd = document.jump.menu2.selectedIndex; 
goURL = document.jump.menu2.options[selInd].value;
top.location.href = goURL; 
}

function openURL3()
{ 
selInd = document.jump.menu3.selectedIndex; 
goURL = document.jump.menu3.options[selInd].value;
top.location.href = goURL; 
}

function openURL4()
{ 
selInd = document.jump.menu4.selectedIndex; 
goURL = document.jump.menu4.options[selInd].value;
top.location.href = goURL; 
}


function openLocation()
{ 
selInd = document.formLocate.selectLocate.selectedIndex; 
goURL = document.formLocate.selectLocate.options[selInd].value;
top.location.href = goURL; 
}

// MAP COLOR SWITCHES

function mapClick(field)
{ 
if(field.checked==true){ 
field.checked=false; } 
else {if(field.checked==false){ 
field.checked=true; 
}
}
}


