";
var al=false;function updateSearch(){if(checkForm()==true){searchAgain();}}function checkForm(incurrentview){var estParam="Enter a search term";var gF=document.getElementById('blipstarform');if(gF.search){gF.search.blur();} var uinp=false; if(gF.search){try{gF.search.setSelectionRange(0,0);}catch(e){}if(gF.search.value!='')uinp=true;} if(gF.country && gF.search){checkSearchForCountry();} if(gF.lat.value!='' && gF.lng.value!='')uinp=true;if(uinp==false){if(estParam!=''){alert(estParam);}return false;}if(incurrentview!=true){searchAgain();return false;}else{readInterfaceValues();fadeOut('resultsdynamicinner');findLocations(search.latStore,search.lngStore);return false;}}function checkTags(){if(dataCache!=null){checkForm();}else{checkForm(true);}}function getLocal(id){try{return localStorage.getItem(id);}catch(e){return '';}}function prefillValues(){var gF=document.getElementById('blipstarform');if(gF){if(gF.value){gF.value.value='3';}}if(gF){if(valueParam && gF.value)gF.value.value=valueParam;if(productParam && gF.tag)gF.tag.value=productParam;if(product2Param && gF.tag2)gF.tag2.value=product2Param;if(inputCountryParam && gF.country)gF.country.value=inputCountryParam;if(searchParam && gF.search){gF.search.value=searchParam;}if(keywordParam && gF.keyword)gF.keyword.value=keywordParam;}}function checkSearchForCountry(){var gF=document.getElementById("blipstarform"); if(gF){ var gfc=gF.country.value; var gfs=gF.search.value; if(gfs=="" || gF.country.getAttribute("type")=="hidden")return; for(var cnl=0;cnl