var subareaIDArray = new Array(); subareaIDArray[0] = '946,947,948,949,950,951,954,952,953,664' subareaIDArray[1] = '946' subareaIDArray[2] = '947' subareaIDArray[3] = '948' subareaIDArray[4] = '949' subareaIDArray[5] = '950' subareaIDArray[6] = '951' subareaIDArray[7] = '954' subareaIDArray[8] = '952' subareaIDArray[9] = '953' subareaIDArray[10] = '664' function setCatareaID(){ var areaIndex = document.getElementById('areaIndex'); if(areaIndex != null){ var subareaID = subareaIDArray[areaIndex.selectedIndex]; if(subareaID != null){ document.getElementById('catarea').value = subareaID; } } } function change() { var areaIndex = document.getElementById('areaIndex').value; var obj = document.getElementById("dot" + areaIndex); unset(); if(obj != null){ obj.style.display = "inline"; } } function unset(){ var i = 1; for(i = 1; i <= subareaIDArray.length; i++){ var obj = document.getElementById("dot" + i); if (obj != null) { obj.style.display = "none"; } } } function followLink(id){ if(id == "946"){ setLocation("alleghe/"); } else if(id == "947"){ setLocation("bibione/"); } else if(id == "948"){ setLocation("caorle/"); } else if(id == "949"){ setLocation("cavallino/"); } else if(id == "950"){ setLocation("eraclea_mare/"); } else if(id == "951"){ setLocation("jesolo_lido/"); } else if(id == "954"){ setLocation("peschiera_del_garda/"); } else if(id == "952"){ setLocation("rosolina_mare/"); } else if(id == "953"){ setLocation("venecia/"); } else if(id == "664"){ setLocation("verona/"); } } function setLocation(url){ location.href = url; } //Added 03-12-2007 var ifbo=null; function ifbinit() { if (document.addEventListener) { document.addEventListener("DOMContentLoaded", ifbpl2, false); } else { if (window.onload) { ifbo=window.onload; } window.onload=ifbpl2; } } function ifbpl2() { // quit if this function has already been called if (arguments.callee.done) return; // flag this function so we don't do the same thing twice arguments.callee.done = true; if (ifbo!=null){ ifbo(); } }