
<!-- Start Hiding the Script

function jumpTo(URL_List){
   var URL = URL_List.options[URL_List.selectedIndex].value;
   window.location.href = URL;
}

// Stop Hiding script --->

function isEmailAddr(EMAIL)
{
  var result = false
  var theStr = new String(EMAIL)
  var index = theStr.indexOf("@");
  if (index > 0)
  {
    var pindex = theStr.indexOf(".",index);
    if ((pindex > index+1) && (theStr.length > pindex+1))
	result = true;
  }
  return result;
}

function FormValidator(theForm)
{

  if(theForm.NAME.value.length == "")
  {
  alert("Please insert your Name.This information is required.Thank  you.");
  theForm.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.indexOf(' ')!=-1)
  {	  	     
	alert("The email address you enter is not valid!No spacing in the email address.");
	theForm.EMAIL.focus();
	return (false);
  } 

  if (!isEmailAddr(theForm.EMAIL.value))
  {
    alert("Please enter a complete email address in the form: yourname@yourdomain.com");
    theForm.EMAIL.focus();
    return (false);
  }
   
  if (theForm.EMAIL.value.length < 3)
  {
    alert("Please enter at least 3 characters in the \"Email Address\" field.Thank you.");
    theForm.EMAIL.focus();
    return (false);
  }
  
   return (true);
   
}