function galpop(sPicURL) {
	window.open( "/gallery/popup.shtml?"+sPicURL,"","resizable=1,height=200,width=200");
}

function popUp(URL) {
	day = new Date();
	id = day.getTime();
	eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=400,height=200,left = 376,top = 332');");
}

function go(aMenu){
	location=aMenu.options[aMenu.selectedIndex].value
}

function submitentry(){
	password = document.password1.password2.value.toLowerCase()
	username = document.password1.username2.value.toLowerCase()
	passcode = 1
	usercode = 1

	for(i = 0; i < password.length; i++) {
		passcode *= password.charCodeAt(i);
	}

	for(x = 0; x < username.length; x++) {
		usercode *= username.charCodeAt(x);
	}

	//CHANGE THE NUMBERS BELOW TO REFLECT YOUR USERNAME/PASSWORD
	if(usercode==206777526830278900000&&passcode==807505545369600) {
		window.location="http://domino.events.wvu.edu/employment.nsf/positionlist?openform&start=1"
	} else {
		alert("password/username combination wrong")
	}
}

function calculate(){

	passworda = document.password1.user1.value.toLowerCase()
	passwordb = document.password1.pass1.value.toLowerCase()

	var user = 1
	var pass = 1
 
	for(d=0;d<passwordb.length;d++) {
		pass*= passwordb.charCodeAt(d);
	}
	for(e=0;e< passworda.length; e++) {
		user *= passworda.charCodeAt(e);
	}
	
	document.password1.outputuser1.value = user;
	document.password1.outputpass1.value = pass;
}