/** * Popupmenu */ var pln = "PopupLayer"; // Layer-Name var pwi = 197; // Layer-Width var pbg = "#FFFFFF"; // Layer-Background-Color var pel = "#0099CC"; // Layer-Lines-Color var ptop = 142; var clnLink2 = "popdownmenu"; // Class for Link 2 // Popup status var IsOM = false; // Layer erstellen document.writeln(''); var CatMenuARRAY = new Array(); var cssText1, cssText2; // Tabelle für Menü erstellen function CreateMTab(LinksArray) { cssText1 = "background-color: " + pbg + ";"; var tHTML = ""; tHTML += ""; tHTML += ""; var j; if (LinksArray.length > 0) { for (j = 0; j < LinksArray.length; j++) { tHTML += ""; } } tHTML += "
" + LinksArray[j][0] + "
"; return tHTML; } // Fensterbreite überprüfen function CheckWinW() { var screenwidth = 1000; if (document.getElementById) { if (navigator.appName == 'Microsoft Internet Explorer' && (navigator.platform.substring(0,3) == 'Win')) { var screenwidth = frames.top.document.body.clientWidth; } else if (navigator.appName == 'Netscape' || navigator.platform == 'MacPPC') { var screenwidth = frames.top.innerWidth; } } return screenwidth; } // Popupmenü für def. Kategorie anzeigen function ShowPp(CatID, eNr, lColor) { clearTP(); if (document.getElementById) { /* if (CatMenuARRAY[CatID].length > 0) { */ var pleft = 24; var koord = getElementPosition(document.getElementById("tdp_"+CatID)); pleft = koord.x; pel = lColor; document.getElementById(pln).style.left = pleft; document.getElementById(pln).innerHTML = CreateMTab(CatMenuARRAY[CatID]); document.getElementById(pln).style.top = ptop; document.getElementById(pln).style.visibility = "visible"; /* } else { HidePp(); } */ } } function getElementPosition(obj) { var x = 0, y = 0; var x1 = obj.style.left; var y1 = obj.style.top; if (x1 != null && x1 != "" && y1 != null && y1 != "") { x = x1; y = y1; } else { do { if (obj.tagName == "TABLE" || obj.tagName == "TD" || obj.tagName == "TEXTAREA") { x += obj.offsetLeft; y += obj.offsetTop; } if (obj.parentElement) obj = obj.parentElement; else if (obj.parentNode) obj = obj.parentNode; else obj = null; } while(obj != null && obj.tagName != "BODY") } return {x:x, y:y}; } // Popupmenü ausblenden function HidePp() { if (document.getElementById) { document.getElementById(pln).style.visibility = "hidden"; } } var MyTM = false; function setTP() { MyTM = window.setTimeout("HidePp()", 1000); } function clearTP() { if (MyTM) window.clearTimeout(MyTM); MyTM = false; } var color_1="#99cc33"; var color_2="#006699"; var color_3="#669999"; var color_5="#cfba06"; var color_4="#cc3333"; function E1_over(e1_id) { if(e1_id!=ALinkE1) { document.getElementById("tdp_" + e1_id).bgColor = eval("color_"+e1_id); document.getElementById("font_" + e1_id).color = "#FFFFFF"; } } function E1_out(e1_id) { if(e1_id!=ALinkE1) { document.getElementById("tdp_" + e1_id).bgColor = "#FFFFFF"; document.getElementById("font_" + e1_id).color = eval("color_"+e1_id); } } CatMenuARRAY[1] = new Array(); CatMenuARRAY[1][0] = new Array(); CatMenuARRAY[1][0][1] = '/frame.php?lay1=1&lay2=1'; CatMenuARRAY[1][0][0] = 'Gastgeber'; CatMenuARRAY[1][0][2] = ''; CatMenuARRAY[1][1] = new Array(); CatMenuARRAY[1][1][1] = '/frame.php?lay1=1&lay2=2'; CatMenuARRAY[1][1][0] = 'Pauschalen'; CatMenuARRAY[1][1][2] = ''; CatMenuARRAY[1][2] = new Array(); CatMenuARRAY[1][2][1] = '/frame.php?lay1=1&lay2=3'; CatMenuARRAY[1][2][0] = 'Veranstaltungen'; CatMenuARRAY[1][2][2] = ''; CatMenuARRAY[1][3] = new Array(); CatMenuARRAY[1][3][1] = '/frame.php?lay1=1&lay2=4'; CatMenuARRAY[1][3][0] = 'Essen & Trinken'; CatMenuARRAY[1][3][2] = ''; CatMenuARRAY[1][4] = new Array(); CatMenuARRAY[1][4][1] = '/frame.php?lay1=1&lay2=5'; CatMenuARRAY[1][4][0] = 'Römer-Thermen'; CatMenuARRAY[1][4][2] = '_blank'; CatMenuARRAY[1][5] = new Array(); CatMenuARRAY[1][5][1] = '/frame.php?lay1=1&lay2=7'; CatMenuARRAY[1][5][0] = 'Aktive Erholung'; CatMenuARRAY[1][5][2] = ''; CatMenuARRAY[1][6] = new Array(); CatMenuARRAY[1][6][1] = '/frame.php?lay1=1&lay2=8'; CatMenuARRAY[1][6][0] = 'Tourist-Information'; CatMenuARRAY[1][6][2] = ''; CatMenuARRAY[1][7] = new Array(); CatMenuARRAY[1][7][1] = '/frame.php?lay1=1&lay2=9'; CatMenuARRAY[1][7][0] = 'Sehenswertes'; CatMenuARRAY[1][7][2] = ''; CatMenuARRAY[1][8] = new Array(); CatMenuARRAY[1][8][1] = '/frame.php?lay1=1&lay2=10'; CatMenuARRAY[1][8][0] = 'Prospekte & Broschüren'; CatMenuARRAY[1][8][2] = ''; CatMenuARRAY[1][9] = new Array(); CatMenuARRAY[1][9][1] = '/frame.php?lay1=1&lay2=11'; CatMenuARRAY[1][9][0] = 'Verkehrsmittel'; CatMenuARRAY[1][9][2] = ''; CatMenuARRAY[1][10] = new Array(); CatMenuARRAY[1][10][1] = '/frame.php?lay1=1&lay2=13'; CatMenuARRAY[1][10][0] = 'Aktuelles'; CatMenuARRAY[1][10][2] = ''; CatMenuARRAY[4] = new Array(); CatMenuARRAY[4][0] = new Array(); CatMenuARRAY[4][0][1] = '/frame.php?lay1=2&lay2=1'; CatMenuARRAY[4][0][0] = 'Öffentliche Einrichtungen'; CatMenuARRAY[4][0][2] = ''; CatMenuARRAY[4][1] = new Array(); CatMenuARRAY[4][1][1] = '/frame.php?lay1=2&lay2=2'; CatMenuARRAY[4][1][0] = 'Gesundheit & Soziales'; CatMenuARRAY[4][1][2] = ''; CatMenuARRAY[4][2] = new Array(); CatMenuARRAY[4][2][1] = '/frame.php?lay1=2&lay2=3'; CatMenuARRAY[4][2][0] = 'Regionale Produkte'; CatMenuARRAY[4][2][2] = ''; CatMenuARRAY[4][3] = new Array(); CatMenuARRAY[4][3][1] = '/frame.php?lay1=2&lay2=5'; CatMenuARRAY[4][3][0] = 'Senioren'; CatMenuARRAY[4][3][2] = ''; CatMenuARRAY[4][4] = new Array(); CatMenuARRAY[4][4][1] = '/frame.php?lay1=2&lay2=6'; CatMenuARRAY[4][4][0] = 'Immobilienmarkt für Bürger'; CatMenuARRAY[4][4][2] = ''; CatMenuARRAY[4][5] = new Array(); CatMenuARRAY[4][5][1] = '/frame.php?lay1=2&lay2=7'; CatMenuARRAY[4][5][0] = 'Vereine / Verbände'; CatMenuARRAY[4][5][2] = ''; CatMenuARRAY[4][6] = new Array(); CatMenuARRAY[4][6][1] = '/frame.php?lay1=2&lay2=11'; CatMenuARRAY[4][6][0] = 'Stadtplan Bad Breisig mit Parkplätzen'; CatMenuARRAY[4][6][2] = ''; CatMenuARRAY[3] = new Array(); CatMenuARRAY[3][0] = new Array(); CatMenuARRAY[3][0][1] = '/frame.php?lay1=3&lay2=1'; CatMenuARRAY[3][0][0] = 'Herzlich Willkommen'; CatMenuARRAY[3][0][2] = ''; CatMenuARRAY[3][1] = new Array(); CatMenuARRAY[3][1][1] = '/frame.php?lay1=3&lay2=2'; CatMenuARRAY[3][1][0] = 'Bürgerbüro'; CatMenuARRAY[3][1][2] = ''; CatMenuARRAY[3][2] = new Array(); CatMenuARRAY[3][2][1] = '/frame.php?lay1=3&lay2=3'; CatMenuARRAY[3][2][0] = 'Online Service-Center'; CatMenuARRAY[3][2][2] = '_blank'; CatMenuARRAY[3][3] = new Array(); CatMenuARRAY[3][3][1] = '/frame.php?lay1=3&lay2=4'; CatMenuARRAY[3][3][0] = 'Online Formulare'; CatMenuARRAY[3][3][2] = '_blank'; CatMenuARRAY[3][4] = new Array(); CatMenuARRAY[3][4][1] = '/frame.php?lay1=3&lay2=5'; CatMenuARRAY[3][4][0] = 'Rats- und Bürgerinfosystem'; CatMenuARRAY[3][4][2] = '_blank'; CatMenuARRAY[3][5] = new Array(); CatMenuARRAY[3][5][1] = '/frame.php?lay1=3&lay2=6'; CatMenuARRAY[3][5][0] = 'Öffnungszeiten'; CatMenuARRAY[3][5][2] = ''; CatMenuARRAY[3][6] = new Array(); CatMenuARRAY[3][6][1] = '/frame.php?lay1=3&lay2=7'; CatMenuARRAY[3][6][0] = 'Newsletter'; CatMenuARRAY[3][6][2] = ''; CatMenuARRAY[3][7] = new Array(); CatMenuARRAY[3][7][1] = '/frame.php?lay1=3&lay2=8'; CatMenuARRAY[3][7][0] = 'Presse'; CatMenuARRAY[3][7][2] = ''; CatMenuARRAY[3][8] = new Array(); CatMenuARRAY[3][8][1] = '/frame.php?lay1=3&lay2=9'; CatMenuARRAY[3][8][0] = 'Ortsrechtsammlung'; CatMenuARRAY[3][8][2] = ''; CatMenuARRAY[3][9] = new Array(); CatMenuARRAY[3][9][1] = '/frame.php?lay1=3&lay2=11'; CatMenuARRAY[3][9][0] = 'Öffentliche Ausschreibungen'; CatMenuARRAY[3][9][2] = ''; CatMenuARRAY[3][10] = new Array(); CatMenuARRAY[3][10][1] = '/frame.php?lay1=3&lay2=12'; CatMenuARRAY[3][10][0] = 'Stellenausschreibungen'; CatMenuARRAY[3][10][2] = ''; CatMenuARRAY[3][11] = new Array(); CatMenuARRAY[3][11][1] = '/frame.php?lay1=3&lay2=13'; CatMenuARRAY[3][11][0] = 'Links zu Behörden'; CatMenuARRAY[3][11][2] = ''; CatMenuARRAY[3][12] = new Array(); CatMenuARRAY[3][12][1] = '/frame.php?lay1=3&lay2=14'; CatMenuARRAY[3][12][0] = 'Geschwindigkeitsmessgerät'; CatMenuARRAY[3][12][2] = ''; CatMenuARRAY[3][13] = new Array(); CatMenuARRAY[3][13][1] = '/frame.php?lay1=3&lay2=15'; CatMenuARRAY[3][13][0] = 'Fahrrad registrieren'; CatMenuARRAY[3][13][2] = ''; CatMenuARRAY[3][14] = new Array(); CatMenuARRAY[3][14][1] = '/frame.php?lay1=3&lay2=16'; CatMenuARRAY[3][14][0] = 'Ergebnisse der Kommunalwahl 2009'; CatMenuARRAY[3][14][2] = '_blank'; CatMenuARRAY[3][15] = new Array(); CatMenuARRAY[3][15][1] = '/frame.php?lay1=3&lay2=17'; CatMenuARRAY[3][15][0] = 'Ergebnisse der Bundestagswahl 2009'; CatMenuARRAY[3][15][2] = '_blank'; CatMenuARRAY[5] = new Array(); CatMenuARRAY[5][0] = new Array(); CatMenuARRAY[5][0][1] = '/frame.php?lay1=4&lay2=1'; CatMenuARRAY[5][0][0] = 'Bad Breisig'; CatMenuARRAY[5][0][2] = ''; CatMenuARRAY[5][1] = new Array(); CatMenuARRAY[5][1][1] = '/frame.php?lay1=4&lay2=2'; CatMenuARRAY[5][1][0] = 'Brohl-Lützing'; CatMenuARRAY[5][1][2] = ''; CatMenuARRAY[5][2] = new Array(); CatMenuARRAY[5][2][1] = '/frame.php?lay1=4&lay2=3'; CatMenuARRAY[5][2][0] = 'Gönnersdorf'; CatMenuARRAY[5][2][2] = ''; CatMenuARRAY[5][3] = new Array(); CatMenuARRAY[5][3][1] = '/frame.php?lay1=4&lay2=4'; CatMenuARRAY[5][3][0] = 'Waldorf'; CatMenuARRAY[5][3][2] = '_blank'; CatMenuARRAY[2] = new Array(); CatMenuARRAY[2][0] = new Array(); CatMenuARRAY[2][0][1] = '/frame.php?lay1=5&lay2=1'; CatMenuARRAY[2][0][0] = 'Unternehmen in der Verbandsgemeinde Bad Breisig'; CatMenuARRAY[2][0][2] = ''; CatMenuARRAY[2][1] = new Array(); CatMenuARRAY[2][1][1] = '/frame.php?lay1=5&lay2=3'; CatMenuARRAY[2][1][0] = 'Gewerbegebiete'; CatMenuARRAY[2][1][2] = ''; CatMenuARRAY[2][2] = new Array(); CatMenuARRAY[2][2][1] = '/frame.php?lay1=5&lay2=4'; CatMenuARRAY[2][2][0] = 'Freie Gewerbeobjekte'; CatMenuARRAY[2][2][2] = ''; CatMenuARRAY[2][3] = new Array(); CatMenuARRAY[2][3][1] = '/frame.php?lay1=5&lay2=6'; CatMenuARRAY[2][3][0] = 'Wirtschaftsförderung'; CatMenuARRAY[2][3][2] = ''; CatMenuARRAY[2][4] = new Array(); CatMenuARRAY[2][4][1] = '/frame.php?lay1=5&lay2=7'; CatMenuARRAY[2][4][0] = 'News'; CatMenuARRAY[2][4][2] = ''; CatMenuARRAY[2][5] = new Array(); CatMenuARRAY[2][5][1] = '/frame.php?lay1=5&lay2=11'; CatMenuARRAY[2][5][0] = 'Regionale Produkte'; CatMenuARRAY[2][5][2] = '_self'; CatMenuARRAY[2][6] = new Array(); CatMenuARRAY[2][6][1] = '/frame.php?lay1=5&lay2=12'; CatMenuARRAY[2][6][0] = 'Breisiger Dialog'; CatMenuARRAY[2][6][2] = '';