/* 
JavaScript for ARP website
revised 10-24-2002

*/

function bookstore(){
window.open("https://www3.afip.org/cgi-bin/bookstore.cgi")

}

// contact us page form validator

function FrontPage_Form1_Validator(theForm)
{

  if (theForm.UserEmail.value == "")
  {
    alert("Please enter a value for the \"UserEmail\" field.");
    theForm.UserEmail.focus();
    return (false);
  }

  if (theForm.UserEmail.value.length < 3)
  {
    alert("Please enter at least 3 characters in the \"UserEmail\" field.");
    theForm.UserEmail.focus();
    return (false);
  }

  if (theForm.UserEmail.value.length > 256)
  {
    alert("Please enter at most 256 characters in the \"UserEmail\" field.");
    theForm.UserEmail.focus();
    return (false);
  }
  return (true);
}