var subareaIDArray = new Array(); subareaIDArray[0] = '3070,3072,3073,3074,3075,3076,3077,3078,3079' subareaIDArray[1] = '3070' subareaIDArray[2] = '3072' subareaIDArray[3] = '3073' subareaIDArray[4] = '3074' subareaIDArray[5] = '3075' subareaIDArray[6] = '3076' subareaIDArray[7] = '3077' subareaIDArray[8] = '3078' subareaIDArray[9] = '3079' 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 == "3070"){ setLocation("amden/"); } else if(id == "3072"){ setLocation("flumserberge/"); } else if(id == "3073"){ setLocation("flumserberge_oberterzen/"); } else if(id == "3074"){ setLocation("gebertingen/"); } else if(id == "3075"){ setLocation("gommiswald/"); } else if(id == "3076"){ setLocation("heiden/"); } else if(id == "3077"){ setLocation("krinau/"); } else if(id == "3078"){ setLocation("schonengrund/"); } else if(id == "3079"){ setLocation("unterterzen/"); } } 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(); } }