function call()
      {
	   
         document.name1.username.focus();
      }
function signin()
{
	
	var s=document.name1;
 	if(s.username.value=="")
	{
	alert ("Please enter username");
	s.username.focus()
	return false;
	}
	 if(s.password.value=="")
	{
	alert ("Please enter password");
	s.password.focus()
	return false;
	}
	document.name1.submit();
}

//Validation for numbers
function alp(evt)
      {
         var charCode = (evt.which) ? evt.which : event.keyCode
         if ((charCode >=48 && charCode <=57 )||  (charCode == 46 )||(charCode == 10 )||(charCode == 13 )|| (charCode == 8)||(charCode == 32)||(charCode == 45)|| (charCode >=97 && charCode <=122 )|| (charCode >=65 && charCode <=90 )||(charCode == 127))
        {
	       return true; 
        }
         else
          {
	        alert("Special chracters should not be allowed");
            return false;
        }
        
    }