

function Validate(){
//alert("hi");
	if (document.login.username.value == "")
              {
		alert("Please Enter the UserName.");
		document.login.username.focus();
		return false;
              } 
       if (document.login.pwd.value == "")
               {
		alert("Please Enter the Password correctly.");
		document.login.pwd.focus();
		return false;
	} 
     else {
	    document.login.method="post";
	      document.login.target="_top"
	//document.location="custleftframe.asp";
		document.login.action="../verifynew.asp";
		document.login.submit();
	}
return true;	
} // end of function 
function Enter1(){
              if(window.event.keyCode == 13)
              document.login.pwd.focus()
}
function Enter2()
    {
        if(window.event.keyCode == 13)
           document.login.submitbutton.focus()
    }

