
function onload() {
	frm = document.doLogon
	if (frm.username.value.length == 0) {
		frm.username.focus()
	} else {
		frm.password.focus()
	}
}
function logon() {
	frm = document.doLogon
	strMsg = ""
	if (frm.password.value == "") {
		strMsg = "Please enter a password."
		frm.password.focus()
	}
	if (frm.username.value == "") {
		strMsg = "Please enter a UserName."
		frm.username.focus()
	}
	if (strMsg == "")	{
		frm.submit()
	} else {
		alert(strMsg)
	}


}

