Array.prototype.unique = function() { var o = {}; for(var i = 0 ; i < this.length; i++) o[this[i]] = true; var tmp = new Array(); for(var i in o) tmp[tmp.length] = i; return tmp; } var Root = "/regioni"; var Root_AH = "concessionari-auto/"; var AS24Domain = "www.autoscout24.it"; var TrackingLink = "http://tracking.quisma.com/c.cfs?pid=510542294S900400T&qulink=http://altfarm.mediaplex.com/ad/ck/7920-62206-14897-1?mpro="; var OmnitureTracking = "&extcidm=7920a0042148970"; var country = "I"; function ChangeRegion(){ var Ziel = document.form_ah.region.options[document.form_ah.region.selectedIndex].value; location.replace(Ziel); } function ChangeDepartment(){ var Ziel = document.form_ah.department.options[document.form_ah.department.selectedIndex].value; location.replace(Ziel); } function ChangeCity(){ var Ziel = document.form_ah.city.options[document.form_ah.city.selectedIndex].value; location.replace(Ziel); } function AH_GoTo(){ var Tracking var custname=document.form_ah.ahname.value; var city_name = document.form_ah.city_name.value; var acity = document.form_ah.acity.value; var custcity; if(acity != ""){ custcity = acity; }else{ custcity = city_name; } var LinkTo = "http://" + AS24Domain + "/CustomerList.aspx?custcity="+custcity+"&country=" + country + "&custname="+custname+"&results=20&zipcountry=" + country + "&page=1"; var TrLinkTo = TrackingLink + escape(LinkTo + OmnitureTracking); document.form_ah.action = LinkTo; document.form_ah.submit(); } function RemoveCityListe(){ } function CityListe(BL,ABC,CityName){ } /* function AH_submit(){ var Tracking var custcity=document.form_ah.stadt.options[document.form_ah.stadt.selectedIndex].value; // stadt var custname=document.form_ah.ahname.value; // H�ndlername var LinkTo = "http://" + AS24Domain + "/CustomerList.aspx?custcity="+custcity+"&country=" + country + "&custname="+custname+"&results=20&zipcountry=" + country + "&page=1"; var TrLinkTo = TrackingLink + escape(LinkTo); document.form_ah.action = document.form_ah.stadt.options[document.form_ah.stadt.selectedIndex].value; document.form_ah.submit(); } function AH_submit2D(){ var Tracking var custcity=document.form_ah.stadt.options[document.form_ah.stadt.selectedIndex].text; // stadt var custname=document.form_ah.ahname.value; // H�ndlername var LinkTo = "http://" + AS24Domain + "/CustomerList.aspx?custcity="+custcity+"&country=" + country + "&custname="+custname+"&results=20&zipcountry=" + country + "&page=1"; var TrLinkTo = TrackingLink + escape(LinkTo); document.form_ah.action = LinkTo; document.form_ah.submit(); } function AH_submit2(){ var Tracking var custcity=document.form_ah_q.stadt.value; // stadt var custname=document.form_ah_q.ahname.value; // H�ndlername var cplz=document.form_ah_q.zip.value; // plz var LinkTo = "http://" + AS24Domain + "/CustomerList.aspx?custcity="+custcity+"&country=" + country + "&custname="+custname+"&zip="+cplz+"&results=20&zipcountry=" + country + "&page=1"; var TrLinkTo = TrackingLink + escape(LinkTo); document.form_ah_q.action = TrLinkTo; document.form_ah_q.submit(); } */ var uplz;