		function highlight(ele) {
			if (document.getElementById) {
				if (ele == "signup") {
					document.getElementById("SignupWrapper").style.borderColor = "red";
					document.getElementById("LoginWrapper").style.borderColor = "#333";
				} else {
					document.getElementById("LoginWrapper").style.borderColor = "red";
					document.getElementById("SignupWrapper").style.borderColor = "#333";
				}
			}
		}
		function SwitchTab(tab) {
			if (document.getElementById) {
				document.getElementById("SignupWrapper").style.display = "none";
				document.getElementById("LoginWrapper").style.display = "none";
				document.getElementById(tab).style.display = "block";
					if (tab == "SignupWrapper") {
						document.getElementById("tabLogin").style.backgroundColor = "#C4DBB1";
						document.getElementById("tabLogin").style.color = "#333333";
						document.getElementById("tabSignup").style.backgroundColor = "#679541";
						document.getElementById("tabSignup").style.color = "#ffffff";
					} else {
						document.getElementById("tabSignup").style.backgroundColor = "#C4DBB1";
						document.getElementById("tabSignup").style.color = "#333333";
						document.getElementById("tabLogin").style.backgroundColor = "#679541";
						document.getElementById("tabLogin").style.color = "#ffffff";
					}
			}
		}
		function checkAgree() {
			var checkbox = document.frmSignup.agree
				if (checkbox.checked == true) {
					document.frmSignup.submit();
				} else {
					alert("You must read and agree to the disclaimer before creating an account.");
				}
		}
		function validatepwd() {
			var pwd1 = document.frmResetPwd.password
			var pwd2 = document.frmResetPwd.passwordconfirm
				if (pwd1.value != pwd2.value) {
					alert("The passwords you provided do not match.");
						pwd1.value = "";
						pwd2.value = "";
				} else {
					document.frmResetPwd.submit()
				}
		}		