//**** There are plenty of functions in another javascript library to support this one.  See "SupportFuncitons" ****//var LangField = ""function setCity(laSearch){MyForm = document.forms[0];var Str = laSearch.charAt(1);if (MyForm.Language == null){LangField = MyForm.thisDocLanguage.value}elseLangField = MyForm.Language.value//********* is there a search value? Display a message if not. ********************************************//if(laSearch == "" || laSearch.charAt(0) == "-"){if(LangField =="French"){alert("Veuillez s\u00E9lectionner une ville ou entrer un code postal pour obtenir une liste compl\u00E8te des points de collectes");MyForm.usr1.focus();}else {alert("Please enter a city or postal code to view a list of clinics");MyForm.usr1.focus();   }return}//********* is it a City search or a postal search? ********************************************//var queryType = "City&";if (IsNumeric(Str)){queryType = "POST&";}//************* Text field value (laSearch) or Selection menu (the old way)*****************//var sC;if(laSearch==null){sC = MyForm.SearchCity.options[MyForm.SearchCity.selectedIndex].value;}else {sC = laSearch}//********** If it's a postal search, get only the first three characters **************************//if(queryType == "POST&"){sC = Left(sC,3);}sC = sC.toUpperCase();//************* What's the date parameter? Range or Specific? ******************************//if (dateS() == ""){MyForm.Query.value = (queryType+sC+dateRange()+colType());searchClinics()}elseMyForm.Query.value = (queryType+sC+dateS()+colType());searchClinics()}//************* go get the search results form ***************************************************//function searchClinics(){pt();//MyForm = document.forms[0]//var QValue = MyForm.Query.value;//var displayForm = "CVSDE"//if(LangField == "French"){//displayForm = "CVSDF"//}// window.location.href=sClinicUrL+'/'+displayForm+'?OpenForm&'+QValue//top.location.href=sClinicUrL+'/'+displayForm+'?OpenForm&'+QValue //2007-07-23-JD}