// Validates the forms in the left side

function SignupVal(theForm)
{
  if (theForm.name.value == "")
  {
    alert("Please enter your name.");
	theForm.name.focus();
	return(false);
  }
  if (theForm.email.value == "")
  {
    alert("Please enter your email address.");
	theForm.email.focus();
	return(false);
  }
  //if (theForm.captcha.value == "")
 // {
 //   alert("Please enter the security code.");
//	theForm.captcha.focus();
//	return(false);
 // }
  return true;
}

function SearchVal(theForm)
{
  if (theForm.q.value == "")
  {
    alert("Please enter a term to search for.");
	theForm.q.focus();
	return(false);
  }
  return true;
}