function fnSubmit() {
	if (document.frmPost.txtUserName.value == "" || document.frmPost.txtPassword.value == "" ){
        	alert("Please provide valid credentials.")
        } else {
		document.frmPost.action="http://www.spiralemt.net/Whhs/bix/login.asp"
                document.frmPost.submit();
        }
}

function fnForgotPass() {
   document.frmPost.hidSubmitForm.value="false";
   document.frmPost.action= "http://www.spiralemt.net/Whhs/bix/index.asp "
   document.frmPost.submit();
}

function initPg() {
	var sWnLc = window.location;
	sWnLc =     sWnLc.toString();
	var arLc = sWnLc.split("?");
	if (arLc[1] == 'n'){
		alert('Specified UserName/Password is invalid.\nPlease provide valid credentials.');
        }
}
