<!--
	//CHANGE SUB-NAV ON ROLLOVER
	function ChangeDiv(id) {
	var currentid = document.FormA.CurrentID.value
	if (id != currentid) {
	document.getElementById(id).style.visibility = "visible";
	document.getElementById(currentid).style.visibility = "hidden";
	document.Form1.CurrentID.value = id
	}
	else
	document.getElementById(currentid).style.visibility = "visible"	
}
//-->

<!--
	//CHANGE SIDE BUTTONS ON CLICK
	function ShowPanel(id) {
	var curbuttonid = document.Form2.CurButtonID.value;
	
	document.getElementById('form25').style.visibility = "hidden";
	
	if (id != curbuttonid) {
	document.getElementById(id).style.display = "block";
	document.getElementById(curbuttonid).style.display = "none";
	document.Form2.CurButtonID.value = id
	}
	else
	document.getElementById(curbuttonid).style.display = "block"	
}
//-->
<!--
	//TURN OFF SIDE PANELS ON CLICK
	function HidePanel(id) {
	document.getElementById(id).style.display = "none";
	document.getElementById('form25').style.visibility = "visible";
}
//-->

<!--
	//VALIDATE SEND-TO-FRIEND FORM FIELDS
	function ValFriend() {
	var email = document.frmFriend.efEmail.value;
	var emailchar = document.frmFriend.efEmail.value.indexOf("@");
	var name = document.frmFriend.efName.value;
	var emailfriend = document.frmFriend.efFriendEmail.value;
	var emailfriendchar = document.frmFriend.efFriendEmail.value.indexOf("@");
	if ((email == "") || (emailchar == -1)) 
	{
	alert ("Please provide your valid email address.");
	document.frmFriend.efEmail.focus();
	return (false);
	}
	if (name == "")
	{
	alert ("Please provide your name.");
	document.frmFriend.efName.focus();
	return (false);
	}
	if ((emailfriend == "") || (emailfriendchar == -1)) 
	{
	alert ("Please provide your friend's valid email address.");
	document.frmFriend.efFriendEmail.focus();
	return (false);
	}
	return (true);
}
//-->

<!--
	//LOGIN - VALIDATE LOGIN FORM FIELDS
	function ValEmail() {
	var email = document.Form2.Email.value;
	var emailchar = document.Form2.Email.value.indexOf("@");
	var rulesval = document.Form2.RulesVal.value;
	if ((email == "") || (emailchar == -1)) 
	{
	alert ("Please provide a valid email address.");
	document.Form2.Email.focus();
	return (false);
	}
	if (rulesval == 0)
	{
	alert ("You must read the Official Rules to proceed.");
	document.Form2.Rules.focus();
	return (false);
	}
	return (true);
}
//-->
<!--
	//LOGIN - VALIDATE LOGIN FORM FIELDS
	function ValLogIn() {
	var username = document.Form3.UserName.value;
	var password = document.Form3.Password.value;
	if (username == "") 
	{
	alert ("Please enter a value for the \"User ID\" field.");
	document.Form3.UserName.focus();
	return (false);
	}
	if (password == "")
	{
	alert("Please enter a value for the \"Password\" field.");
	document.Form3.Password.focus();
	return (false);
	}
	return (true);
}
//-->
<!--
	//LOGIN - HANDLE CHECK BOX VALUE VALIDATION
	function RemPass() {
	var remember = document.Form3.Remember.value;
	var checkval = document.Form3.CheckVal.value;
	if ((remember == 1) && (checkval == 0))
		{
		document.Form3.CheckVal.value = 1;
		}
	else
		{
		document.Form3.CheckVal.value = 0;
	}
}
//-->
<!--
	//LOGIN - HANDLE CHECK BOX VALUE VALIDATION 2
	function OKRules() {
	var rules = document.Form2.Rules.value;
	var rulesval = document.Form2.RulesVal.value;
	if ((rules == 1) && (rulesval == 0))
		{
		document.Form2.RulesVal.value = 1;
		}
	else
		{
		document.Form2.RulesVal.value = 0;
	}
}
//-->
<!--
	//OPEN POP-UP
	function PopWin(NewLocation, HVal, WVal) {
	window.open(NewLocation, "NewWindow", "left=50,top=50,width=" + HVal 
	+ ",height=" + WVal + ",scrollbars=yes,status=no,toolbar=no");	
}
//-->
<!--
	//GO TO NEW LOCATION IN PARENT WINDOW
	function GoTo(NewLocation) {
	self.opener.location = NewLocation;
	parent.close();	
	}
//-->