// JavaScript Document

function MemLogin() {
	if (document.getElementById("Name").value == "") {
		alert("Please enter your User Name");
		document.getElementById("Name").focus();
		return;
	}
	if (document.getElementById("Password").value == "") {
		alert("Please enter your Password");
		document.getElementById("Password").focus();
		return;
	}
	document.Form1.submit();
}

function CheckKey(myfield,e) {
var keycode;
if (window.event) keycode = window.event.keyCode;
else if (e) keycode = e.which;
else return true;

if (keycode == 13) {
	MemLogin();
	} else {
	return;
	}
}
