function lfnCommonVar(){s.pageName=PageName1;s.prop5=lsProp5;s.prop6=lsprop6;s.prop10=lsprop10}function lfnSetSection(){DM_addEncToLoc("Section",Section);DM_tag()}function lfnSetUpdateProfilePage(){lfnSetSection();lfnCommonVar();s.eVar16=lsGender;var a=s.t();if(a){document.write(a)}}function lfnSetUnSubscribePage(){lfnSetSection();lfnCommonVar();s.events="event7";var a=s.t();if(a){document.write(a)}}function lfnSetErrorPage(){lfnSetSection();lfnCommonVar();s.pageType="errorPage";var a=s.t();if(a){document.write(a)}}function lfnSetSavePropertiesHomePage(){lfnSetSection();lfnCommonVar();s.events="scOpen";var a=s.t();if(a){document.write(a)}}function lfnSetSaveSearchPage(){lfnSetSection();lfnCommonVar();s.events="event10";var a=s.t();if(a){document.write(a)}}function lfnSetLoginHomePage(){lfnSetSection();lfnCommonVar();s.events="event8";var a=s.t();if(a){document.write(a)}}function lfnSetRegisterConfirmHomePage(){lfnSetSection();lfnCommonVar();s.events="event3";var a=s.t();if(a){document.write(a)}}function lfnSetRegisterHomePage(){lfnSetSection();lfnCommonVar();s.eVar19=lsPostCode;var a=s.t();if(a){document.write(a)}}function lfnSetHomePage(){lfnSetSection();lfnCommonVar();var a=s.t();if(a){document.write(a)}}function removePoundSign(a){return lsPrice=a.substring(1,a.length)}function lfnViewProperty(){lfnSetSection();lfnCommonVar();s.prop3=lsProp3;s.products=lsProductsvar;if(lsscAdd!=""){s.events="scAdd"}else{s.events="prodView,event19"}var a=s.t();if(a){document.write(a)}}function lfnSetAgentResult(){lfnSetSection();lfnCommonVar();if(lsLocation.trim()!="Location i.e. Postcode or town ".trim()){s.prop1=lsLocation;s.prop16=lsLocation}else{s.prop1="";s.prop16=""}s.prop14=lsprop14;s.prop21=drpSearchArea;if(lsAgentName!="All"){s.prop29="Mr. "+lsAgentName}else{s.prop29=lsAgentName}s.prop30=lsBuyingRenting;s.events="event15";if(lscount=="0"){s.prop2="zero";s.products=";;;;event15=zero"}else{s.prop2=lscount;s.products=";;;;event15="+lscount+""}var a=s.t();if(a){document.write(a)}}function lfnSetNoSearchResultPage(){lfnSetSection();lfnCommonVar();s.prop2="zero";var a=s.t();if(a){document.write(a)}}function lfnSetResult(){lfnSetSection();lfnCommonVar();if(lsLocation.trim()!="Location i.e. Postcode or town ".trim()){s.prop1=lsLocation;s.prop16=lsLocation}else{s.prop1="";s.prop16=""}s.prop14=lsprop14;if(drpMinPrice!="No Min"&&drpMinPrice!=""){drpMinPrice=removePoundSign(drpMinPrice);drpMinPrice=drpMinPrice+" pounds"}if(drpMaxPrice!="No Max"&&drpMaxPrice!=""){drpMaxPrice=removePoundSign(drpMaxPrice);drpMaxPrice=drpMaxPrice+" pounds"}if(lsprop6.toLowerCase()=="renting"){s.prop25=drpMinPrice;s.prop26=drpMaxPrice;s.prop28=drpFurnish}else{s.prop17=drpMinPrice;s.prop18=drpMaxPrice;s.prop24=drpNeworresale}s.prop19=drpBedrooms;s.prop21=drpSearchArea;s.prop22=drpPropertyType;s.prop23=drpAddedWithin;if(chkPropPic==true){s.prop31="pics"}else{s.prop31="NO pics"}s.events="event15";if(lscount=="0"){s.prop2="zero";s.products=";;;;event15=zero"}else{s.prop2=lscount;s.products=";;;;event15="+lscount+""}var a=s.t();if(a){document.write(a)}};
