function validate() {
 var frm = document.signin;
 	if (frm.userName.value == "" && frm.pwd.value == "") {	
        alert("Please fill in both your User ID and Password.");
        frm.userName.focus();
        return(false);
       }
    if (frm.userName.value == "") {	
        alert("Please fill in both your User ID and Password.");
        frm.userName.focus();
        return(false);
       }
	   
	if (frm.pwd.value == "") {	
        alert("Please fill in both your User ID and Password.");
        frm.pwd.focus();
        return(false);
       }
  }