function buildURL(stype){   if (((navigator.appName == "Netscape") ||  (navigator.appName == "Microsoft Internet Explorer")) &&   (parseFloat(navigator.appVersion) >= 3.0))        {  	var str="?SRC="+escape(document.ypform.SRC.value)+"&STYPE="+stype+"&C="+   	escape(document.ypform.C.value)+"&N="+escape(document.ypform.N.value)           	if (stype == "D") {          return str+"&RT="+escape(document.ypform.T.value)+"&RS=pr"+          "&T="+escape(document.ypform.T.value)}          	else {          return str+"&T="+escape(document.ypform.T.value)+"&S=PR"         }        }  else {         return "?SRC=pr2&#38;STYPE=S&#38;PG=L&#38;R=N&#38;C=automobiles+-+rental&#38;N=&#38;T=&#38;S="}}// -->function buildURL_tc(stype){  if (((navigator.appName == "Netscape") ||  (navigator.appName == "Microsoft Internet Explorer")) &&  (parseFloat(navigator.appVersion) >= 3.0))       {        var str="?SRC="+escape(document.ypform.SRC.value)+"&STYPE="+stype+"&S="+"&N="+escape(document.ypform.N.value)+"&search=find+it"        if (stype == "D") {          return str+"&RT="+escape(document.ypform.T.value)+"&RS=pr"+          "&T="+escape(document.ypform.T.value)}        else {                return str+"&T="+                escape(document.ypform.T.options[document.ypform.T.selectedIndex].value)}        }  else {        return "?SRC=pr2&#38;STYPE=S&#38;PG=L&#38;R=N&#38;C=automobiles+-+rental&#38;N=&#38;T=&#38;S="}}function validate(){        if ((document.ypform.C.value == "") &&            (document.ypform.N.value == "")) {                if (document.ypform.STYPE.value == "S") {                        alert("You must enter a business name or a category!");			document.ypform.C.focus();                        return(false);                } else if ((document.ypform.A.value == "") &&                           (document.ypform.X.value == "") &&                           (document.ypform.P.value == "") &&                           (document.ypform.E.value == "")                          ) {                                alert("You must enter a business name, category, street, or phone number!");                                return(false);                }        }        return(true);}