
function editDisplay(theForm)
{
 if (theForm.name.value == "")
  {
    alert("You must have a value for the \"Display Name\" field.");
    theForm.name.focus();
    return (false);
  }
  return (true);
}

function homeEdit(theForm)
{
 if (theForm.header.value == "")
  {
    alert("You must have a value for the \"HEADER\" field.");
    theForm.header.focus();
    return (false);
  }
 if (theForm.content.value == "")
  {
    alert("You must have a value for the \"CONTENT\" field.");
    theForm.content.focus();
    return (false);
  }
  return (true);
}
function infoEdit(theForm)
{
 if (theForm.title.value == "")
  {
    alert("You must have a value for the \"Navigation Title\" field.");
    theForm.title.focus();
    return (false);
  }
  return (true);
}
function infoAdd(theForm)
{
 if (theForm.title.value == "")
  {
    alert("You must have a value for the \"Navigation Title\" field.");
    theForm.title.focus();
    return (false);
  }
   if (theForm.content.value == "")
  {
    alert("You must have a value for the \"Content\" field.");
    theForm.content.focus();
    return (false);
  }
  return (true);
}


var hK;
function hurriKane(winurl,winname,winfeatures)
{
	hK = window.open(winurl,winname,winfeatures);
 	setTimeout('hK.focus();',250);
}

function editPassword(theForm)
{
 if (theForm.password.value == "")
  {
    alert("You must fill in your new password!");
    theForm.password.focus();
    return (false);
  }
 if (theForm.password.value !== theForm.password2.value)
  {
    alert("Your Passwords Don't Match!");
    theForm.password.focus();
    return (false);
  }
  return (true);
}

function contactEmail(theForm)
{
 if (theForm.name.value == "")
  {
    alert("You must have a value for the \"Name\" field.");
    theForm.name.focus();
    return (false);
  }
 if (theForm.phone.value == "")
  {
    alert("You must have a value for the \"Phone\" field.");
    theForm.phone.focus();
    return (false);
  }
 if (theForm.email.value == "")
  {
    alert("You must have a value for the \"Email\" field.");
    theForm.email.focus();
    return (false);
  }

  return (true);
}