// JavaScript Document
function checkPropertyID(theform) {

if (theform.propertyid.value=="") { 
alert ("You must enter a Property ID");
theform.propertyid.style.background='#ffff00';
theform.propertyid.focus();
return (false);
}

var checkOK="0123456789"
var checkStr = theform.propertyid.value;
  var allValid = true;
  var decPoints = 0;
  var allNum = "";
  for (i = 0;  i < checkStr.length;  i++)
  {
    ch = checkStr.charAt(i);
    for (j = 0;  j < checkOK.length;  j++)
      if (ch == checkOK.charAt(j))
        break;
    if (j == checkOK.length)
    {
      allValid = false;
      break;
    }
    if (ch != ".")
      allNum += ch;
  }
  if (!allValid)
  {
    alert("Please enter only numbers in the Property ID field.");
	theform.propertyid.style.background='#ffff00';
    theform.propertyid.focus();
    return (false);
  }
  
return (true);
}
-->
