";
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.country){if(gF.country.value!='' && gF.country.getAttribute('type')!='hidden')uinp=true;}if(gF.tag){if(gF.tag.value!='' || gF.tag.type=='hidden')uinp=true;}if(gF.tag2){if(gF.tag2.value!='' || gF.tag2.type=='hidden')uinp=true;}if(gF.tag2){if(gF.tag2.value!='')uinp=true;}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='5';}}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