// JavaScript Document
function subscription_validator(theForm)
{
   
  if (theForm.contact_name.value == "")
  {
    alert("Please enter a value for the \"Contact Name\" field.");
    theForm.contact_name.focus();
    return (false);
  }
    if (theForm.contact_name.value == "contact name")
  {
    alert("Please enter a value for the \"Contact Name\" field.");
    theForm.contact_name.focus();
    return (false);
  }

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

  if (theForm.contact_name.value.length > 60)
  {
    alert("Please enter at most 60 characters in the \"Contact Name\" field.");
    theForm.contact_name.focus();
    return (false);
  }
   
 
 
 if (theForm.company_name.value == "")
  {
    alert("Please enter a value for the \"Company Name\" field.");
    theForm.company_name.focus();
    return (false);
  }
  
    if (theForm.company_name.value == "company name")
  {
    alert("Please enter a value for the \"Company Name\" field.");
    theForm.company_name.focus();
    return (false);
  }

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

  if (theForm.company_name.value.length > 60)
  {
    alert("Please enter at most 60 characters in the \"Company Name\" field.");
    theForm.company_name.focus();
    return (false);
  }
  

  if (theForm.email.value == "")
  {
    alert("Please enter a value for the \"Email Address\" field.");
    theForm.email.focus();
    return (false);
  }
  
   if (theForm.email.value == "email address")
  {
    alert("Please enter a value for the \"Email Address\" field.");
    theForm.email.focus();
    return (false);
  }
  
  if (theForm.email.value.length > 60)
  {
    alert("Please enter at most 60 characters in the \"Email Address\" field.");
    theForm.email.focus();
    return (false);
  }

  return (true);
  }
  
// JavaScript Document