function clearsearch() 
{
	document.forms['searchform'].seek_term.value = "";
        document.forms['searchform'].seek_term.style.backgroundColor="#ffffff";
}

function validate_required_field(fieldName,alertTxt) 
{
	with (fieldName) 
	{
		if (value==null||value=="") 
		{
			alert(alertTxt);
                	return false;
		}	
		else 
		{
			return true;
		}
	}
}

function validate_contact_form(thisForm)
{
	with (thisForm)
		{
		if (validate_required_field(contact_name,"Name must be filled out")==false)
 			{
			contact_name.focus();
			return false;
			}
		if (validate_required_field(contact_email,"Email must be filled out")==false)
 			{
			contact_email.focus();
			return false;
			}
		if (validate_required_field(contact_comment,"A question or comment must be filled out")==false)
 			{
			contact_comment.focus();
			return false;
			}
		}		
}