function validate()
{  x=document.mySEARCHform1
   strCity=x.city.value        ;
   strCounty=x.county.value    ;
   if (strCity!= "any" && strCounty != "any")
   {
   	x.county.value = "any"
   	x.zipcode.value = "any"
   }
}

//// RGD - I am not sure how the "defaults" param is sent or used???
function loadcriteria()
{
    try
    {
    	var myDefaults = "propertytype,none" ;

    	if (myDefaults != "")
        {
    		myDefaults = myDefaults.split(",")                  ;
    		for (i = 0; i < myDefaults.length; i = i + 2)
            {
    			myElement = document.getElementById(myDefaults[i]) ;
    			for (j = 0; j < myElement.options.length; j++)
                {
    				if (myElement.options[j].value == myDefaults[i + 1])
                    {
    					myElement.options[j].selected = true       ;
    				}
    			}
      		}
    	}
    }
    catch (e) {
    // Do nothing
    }
    ajaxFunction() ;
}