// JavaScript Document

var aWin = null;

function openWindow(whichPage) {
	aWin = window.open(whichPage,'','toolbar=yes,location=yes,scrollbars=yes,resizable=yes,menubar=yes,width=750,height=600');
	}
	
function openWindowSmall(whichPage) {
	aWin = window.open(whichPage,'','toolbar=no,location=no,scrollbars=no,resizable=no,menubar=no,width=500,height=525');
	}

function openWindowLarge(whichPage) {
	aWin = window.open(whichPage,'','toolbar=yes,location=yes,scrollbars=yes,resizable=yes,menubar=yes,width=900,height=650');
	}

function openWindowZoomMap(whichPage) {
	aWin = window.open(whichPage,'','toolbar=yes,location=yes,scrollbars=yes,resizable=yes,menubar=yes,width=800,height=800');
	}
function closeTheWindow() {
	if (aWin != null && aWin.open) aWin.close();
}

// To close child and return to parent.
function closeWindow() {
window.open('','_parent','');
window.close();
}
// from an old menu system
function nav(){
	var num = document.getElementById('mylist').selectedIndex
	var thisURL = document.getElementById('mylist').options[num].value
	if(thisURL != ''){
	window.location.href = thisURL
	}
}

