City: ROMA 00183, Via Vetulonia,6 {AdditionalInfo}",infoWindowPoint="IMAR ITALIA<\/b> City: ROMA 00183, Via Vetulonia,6 {AdditionalInfo}",showInfoPoints="False",loadCityUrl="/Plugins/StoreLocators/LoadByCity",loadStoreUrl="/Plugins/StoreLocators/LoadStoreData",map;$(document).ready(function(){var n=setInterval(function(){$(map).length&&(initPoints("","",10,latitude,longitude),clearInterval(n))},100);$("#selectCity").change(function(){var n=$(this).val();$.getJSON(""+loadCityUrl,{city:n},function(n){var i=$("#selectPoint"),t,r;i.empty();$.each(n,function(n,t){i.append($("",{value:t.Id,text:t.Point}))});t=$("#selectCity").val();r=$("#selectPoint").val();$.getJSON(""+loadCityUrl,{City:t},function(n){var r=$("#StorePoint"),i;r.empty();Object.keys(n).length>0?(Object.keys(n).length==1?initPoints(n[0].id,t,16,Number(n[0].Latitude),Number(n[0].Longitude)):initPoints("",t,12,Number(n[0].Latitude),Number(n[0].Longitude)),showInfoPoints=="True"&&$.each(n,function(n,t){lat=t.Latitude;lon=t.Longitude;var i=replaceDataModel(t,infoPoint),u=replaceDataModel(t,infoWindowPoint);r.append(' "+t.StoreLocatorName+"<\/b><\/a> "+i+"")})):(i=$("#selectPoint"),i.empty(),i.append('