
<!--
function checkLogin() {
                document.claimwatch.regno.value = trimString(document.claimwatch.regno.value);
  if (document.claimwatch.accesscode.value.length == 0) {
    alert("Please enter a login code");
    document.claimwatch.accesscode.focus();
    return false;
  }
  else if (document.claimwatch.regno.value.length == 0) {
    alert("Please enter a registration");
    document.claimwatch.regno.focus();
    return false;
  }
  else {
    return true;
  }  
}
 
function trimString (str) {
  str = this != window? this : str;
  return str.replace(/\s+/g, '');
}
 
//-->

