
function mailing_list_Validator(theForm)
{

  if (theForm.email.value == "")
  {
    alert("Please enter a value for the \"Email\" field.");
    theForm.email.focus();
    return (false);
  }

  if ((theForm.email.value.indexOf('@',0) == -1) || (theForm.email.value.indexOf('.',0) == -1))
  {
    alert("Please verify that the value for the \"Email\" field is valid.");
    theForm.email.focus();
    return (false);
  }

  return (true);
}

function tellafriend_Validator(theForm)
{

  if (theForm.your_name.value == "")
  {
    alert("Please enter your name.");
    theForm.your_name.focus();
    return (false);
  }

  if (theForm.your_email.value == "")
  {
    alert("Please enter your email address.");
    theForm.your_email.focus();
    return (false);
  }

  if ((theForm.your_email.value.indexOf('@',0) == -1) || (theForm.your_email.value.indexOf('.',0) == -1))
  {
    alert("Your email address is incorrectly formatted. Please enter again.");
    theForm.your_email.focus();
    return (false);
  }

  if (theForm.friends_name.value == "")
  {
    alert("Please enter your friend's name.");
    theForm.friends_name.focus();
    return (false);
  }

  if (theForm.friends_email.value == "")
  {
    alert("Please enter your friend's email address.");
    theForm.friends_email.focus();
    return (false);
  }

  if ((theForm.friends_email.value.indexOf('@',0) == -1) || (theForm.friends_email.value.indexOf('.',0) == -1))
  {
    alert("Friend's email address is incorrectly formatted. Please enter again.");
    theForm.friends_email.focus();
    return (false);
  }

  return (true);
}

function pop(url) {
  link = window.open(url,"pop","toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=1,resizable=1,width=860,height=700,left=25,top=25");
}

function popbr(url) {
  link = window.open(url,"pop","toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=1,resizable=1,width=560,height=700,left=25,top=25");
}
function popbrimage(url) {
  link = window.open(url,"pop","toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=1,resizable=1,width=860,height=700,left=25,top=25");
}

function pophelp(url) {
  link = window.open(url,"pop","toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=1,resizable=1,width=300,height=400,left=25,top=25");
}

function closeWindow() {
  window.close()
}

function goThere() {
 var list = document.urlForm.urlList
 location = list.options[list.selectedIndex].value
}

function DropFormNavLink() {
 var a = document.DropFormNav.GoMenu.options[document.DropFormNav.GoMenu.selectedIndex].value +"";
 if(a != ''){ if(parent!=self){ var f = self;
 while(f!=window.top){ f = f.parent; } if(a.indexOf("://")!=-1){ f.body.window.location.href = a;}else{ window.top.location.href = a; } }else{ window.top.location.href = a; } document.DropFormNav.GoMenu.selectedIndex=0; } 
}
