// JavaScript Document


function verify(f)
{
  if( document.form1.name.value == null || document.form1.name.value == "")    {
    alert( "Please enter in your name." );
	document.form1.name.focus()
	  return( false );  
  }
  if( document.form1.organization.value == null || document.form1.organization.value == "")    {
    alert( "Please enter in your organization." );
	document.form1.organization.focus()
	  return( false );  
  }
  if( document.form1.email.value == null || document.form1.email.value == "")    {
    alert( "Please enter in your email." );
	document.form1.email.focus()
	  return( false );  
  }
	
	/*   8/11/09 couldn't get this working
  if (validateEmail( document.form1.email.value, 1, 1 )==false){ 
	document.form1.email.focus()
	return false
	}
	*/
	
  if( document.form1.phone.value == null || document.form1.phone.value == "")    {
    alert( "Please enter in your phone." );
	document.form1.phone.focus()
	  return( false );  
  }
  if( document.form1.needs.value == null || document.form1.needs.value == "")    {
    alert( "Please enter a sentence about your needs." );
	document.form1.needs.focus()
	  return( false );  
  }
	
 // OK, we have checked the form and it's fine, so we're about to leave this page.  Call Google Analytics Urchin Tracker to record a successful form completion
	_uacct = "UA-8213024-1";
	urchinTracker("/fundraising-software/contactus.php/formcompleted");

  return true;
}

