function AdvSearchFormValidator(theForm)
{
	if (trim(theForm.AdvKeyword.value) == '' && trim(theForm.AdvName.value) == '' && trim(theForm.AdvSport.value) == '')
	{
		alert('Please enter search information into one field only.');
		return (false);
	}
	if (trim(theForm.AdvKeyword.value) != '' && trim(theForm.AdvName.value) != '' && trim(theForm.AdvSport.value) != '')
	{
		alert('Please enter search information into one field only.');
		return (false);
	}
	else if ( trim(theForm.AdvKeyword.value) != '' && trim(theForm.AdvName.value) != '' )
	{
		alert('Please enter search information into one field only.');
		return (false);
	}
	else if ( trim(theForm.AdvName.value) != '' && trim(theForm.AdvSport.value) != '' ) 
	{
		alert('Please enter search information into one field only.');
		return (false);
	}
	else if ( trim(theForm.AdvKeyword.value) != '' && trim(theForm.AdvSport.value) != '' ) 
	{
		alert('Please enter search information into one field only.');
		return (false);
	}
	
	return true;
}

function SimpleSearchFormValidator(theForm)
{
	if (trim(theForm.SimpleKeyword.value) == '')
	{
		alert('Please enter search information into the field.');
		return (false);
	}
		
	return true;	
}
