// JavaScript Document

function validate(uid,pwd)
{
if(uid.value=="")
{
alert("Enter The Username");

return false;
}
if(pwd.value=="")
{
alert("Enter The Password");

return false;
}
if((uid.value=="admin")&&(pwd.value=="password")) 
{
window.open("athletic-pic-in-competition.htm","_self");
}
else
{
alert("Wrong Username and password");
}
return true;
}