<!-- // Begin
function emailcheck(emailStr) {
  // checks if the e-mail address is valid
  var emailReg = "^[\\w-_\.]*[\\w-_\.]\@[\\w]\.+[\\w]+[\\w]$";
  var regex = new RegExp(emailReg);
  if (!regex.test(emailStr)) {
    //alert("Your email address seems incorrect.  Please try again (check the '@' and '.'s in the email address)");
    return false;
  }
  return true;
}


function numcheck(numstr) { 

  var digits = "0123456789";

  if (numstr == "")
  {
    return false;
  }
  for (var i = 0; i < numstr.length; i++)
  {
    temp = numstr.substring(i, i+1)

    if (digits.indexOf(temp) == -1 && 
     numstr != "")
    {
      return false;
    }
  }
  return true;

} 

//  End email validation--->
