// JavaScript Document
<!-- Hide script from old browsers

function Focus() {
document.Members.Uid.focus();	
}

function IsFormValid()
{
var IsFormValid = false;
if (document.Members.Uid.value!=="" && document.Members.Password.value!=="")
{
IsFormValid = true;
}
if (IsFormValid==false) DisplayErrors();
return IsFormValid;
} // end IsFormValid() function

function DisplayErrors()
{
if (document.Members.Uid.value=="") document.Members.Uid.focus() & 
alert("Inserire il Vostro  username");
else if (document.Members.Password.value=="") document.Members.Password.focus() &
alert("Inserire la Vostra password");
} // end DisplayErrors() function
// End hiding script from old browsers -->