function Validator(theForm){
var digits = "0123456789";
  if (theForm.itemqty.value == "")
  {
    alert("Please fill in a number. ");
	return false;
  }
  for (var i = 0; i < theForm.itemqty.value.length; i++)
  {
    temp = theForm.itemqty.value.substring(i, i+1)

    if (digits.indexOf(temp) == -1 && theForm.itemqty.value != "")
    {
      alert("The quantity text must be a number. ");
      return false;
    }
  }
}