function CheckHC(doc) {

var mycode = GetMyCode();

if (doc.humancode.value == "") {
    doc.humancode.focus();
    alert ("Please enter anti-spam code");
    return false;
  } 

if (doc.humancode.value != mycode) {
    doc.humancode.focus();
    alert ("Anti-spam code incorrect");
    return false;
  } 

doc.dummy.value = 100000 - doc.humancode.value
return true;  
}
