function validateForm()
{
var x=document.forms["myForm"]["username"].value;
var y=document.forms["myForm"]["password"].value;
if (x==null || x=="")
{
alert("Enter Username");
return false;
}
if (y==null || y=="")
{
alert("Enter Password");
return false;
}
}