function chkdata() {
var themessage = "There appears to be a problem with : ";
username = document.Form.username.value
password = document.Form.password.value

if (username=="") {
themessage = themessage + " Blank Username;";
}

if (password=="") {
themessage = themessage + " Blank Password;";
}
}


if (themessage == "There appears to be a problem with : ") {
fulldomain = "http://www.whistleink.co.uk/easyorder/"+username+"";
document.Form.action = fulldomain;
return true;
}
else {
alert(themessage);
if (domain!="") {
if (domain.indexOf(".") == -1)
{
document.Form.domain.focus();
}
}
if (password=="") {
document.Form.password.focus();
}
if (username=="") {
document.Form.username.focus();
}
return false;
   }
}
