if (window.ActiveXObject) var doc = new ActiveXObject("Microsoft.XMLDOM"); else if (document.implementation.createDocument) var doc = document.implementation.createDocument("", "", null); var root = doc.createElement("root"); doc.appendChild(root); function getSearchProperties() { category = doc.createElement("categories"); doc.childNodes[0].appendChild(category); newItem = doc.createTextNode('Gewerbe'); category.appendChild(newItem); newItem = doc.createTextNode('Kirche'); category.appendChild(newItem); newItem = doc.createTextNode('Konzerte'); category.appendChild(newItem); newItem = doc.createTextNode('Museum'); category.appendChild(newItem); newItem = doc.createTextNode('Märkte'); category.appendChild(newItem); newItem = doc.createTextNode('Partys'); category.appendChild(newItem); newItem = doc.createTextNode('Sport/ Natur'); category.appendChild(newItem); newItem = doc.createTextNode('Theater'); category.appendChild(newItem); newItem = doc.createTextNode('Volksfeste'); category.appendChild(newItem); newItem = doc.createTextNode('setKinderveranstaltungen'); category.appendChild(newItem); community = doc.createElement("communities"); doc.childNodes[0].appendChild(community); newItem = doc.createTextNode('Alexisbad'); community.appendChild(newItem); newItem = doc.createTextNode('Allrode'); community.appendChild(newItem); newItem = doc.createTextNode('Altenau'); community.appendChild(newItem); newItem = doc.createTextNode('Altenbrak'); community.appendChild(newItem); newItem = doc.createTextNode('Bad Grund'); community.appendChild(newItem); newItem = doc.createTextNode('Bad Harzburg'); community.appendChild(newItem); newItem = doc.createTextNode('Bad Lauterberg'); community.appendChild(newItem); newItem = doc.createTextNode('Bad Sachsa'); community.appendChild(newItem); newItem = doc.createTextNode('Bad Suderode'); community.appendChild(newItem); newItem = doc.createTextNode('Ballenstedt'); community.appendChild(newItem); newItem = doc.createTextNode('Benneckenstein'); community.appendChild(newItem); newItem = doc.createTextNode('Blankenburg'); community.appendChild(newItem); newItem = doc.createTextNode('Bockswiese'); community.appendChild(newItem); newItem = doc.createTextNode('Braunlage'); community.appendChild(newItem); newItem = doc.createTextNode('Braunschweig'); community.appendChild(newItem); newItem = doc.createTextNode('Buntenbrock'); community.appendChild(newItem); newItem = doc.createTextNode('Clausthal-Zellerfeld'); community.appendChild(newItem); newItem = doc.createTextNode('Darlingerode'); community.appendChild(newItem); newItem = doc.createTextNode('Derenburg'); community.appendChild(newItem); newItem = doc.createTextNode('Drübeck'); community.appendChild(newItem); newItem = doc.createTextNode('Eisleben'); community.appendChild(newItem); newItem = doc.createTextNode('Elbingerode'); community.appendChild(newItem); newItem = doc.createTextNode('Elend'); community.appendChild(newItem); newItem = doc.createTextNode('Ellrich'); community.appendChild(newItem); newItem = doc.createTextNode('Friedrichsbrunn'); community.appendChild(newItem); newItem = doc.createTextNode('Gernrode'); community.appendChild(newItem); newItem = doc.createTextNode('Goslar'); community.appendChild(newItem); newItem = doc.createTextNode('Güntersberge'); community.appendChild(newItem); newItem = doc.createTextNode('Hahnenklee'); community.appendChild(newItem); newItem = doc.createTextNode('Halberstadt'); community.appendChild(newItem); newItem = doc.createTextNode('Harzgerode'); community.appendChild(newItem); newItem = doc.createTextNode('Hasselfelde'); community.appendChild(newItem); newItem = doc.createTextNode('Herzberg am Harz'); community.appendChild(newItem); newItem = doc.createTextNode('Hohegeiß'); community.appendChild(newItem); newItem = doc.createTextNode('Ilfeld'); community.appendChild(newItem); newItem = doc.createTextNode('Ilsenburg'); community.appendChild(newItem); newItem = doc.createTextNode('Königshütte'); community.appendChild(newItem); newItem = doc.createTextNode('Lautenthal'); community.appendChild(newItem); newItem = doc.createTextNode('Neustadt'); community.appendChild(newItem); newItem = doc.createTextNode('Nordhausen'); community.appendChild(newItem); newItem = doc.createTextNode('Osterode am Harz'); community.appendChild(newItem); newItem = doc.createTextNode('Quedlinburg'); community.appendChild(newItem); newItem = doc.createTextNode('Rübeland'); community.appendChild(newItem); newItem = doc.createTextNode('Sangerhausen'); community.appendChild(newItem); newItem = doc.createTextNode('Sankt Andreasberg'); community.appendChild(newItem); newItem = doc.createTextNode('Schierke'); community.appendChild(newItem); newItem = doc.createTextNode('Schulenberg'); community.appendChild(newItem); newItem = doc.createTextNode('Seesen'); community.appendChild(newItem); newItem = doc.createTextNode('Sorge'); community.appendChild(newItem); newItem = doc.createTextNode('Stiege'); community.appendChild(newItem); newItem = doc.createTextNode('Stolberg'); community.appendChild(newItem); newItem = doc.createTextNode('Tanne'); community.appendChild(newItem); newItem = doc.createTextNode('Thale'); community.appendChild(newItem); newItem = doc.createTextNode('Torfhaus'); community.appendChild(newItem); newItem = doc.createTextNode('Trautenstein'); community.appendChild(newItem); newItem = doc.createTextNode('Treseburg'); community.appendChild(newItem); newItem = doc.createTextNode('Vienenburg'); community.appendChild(newItem); newItem = doc.createTextNode('Walkenried'); community.appendChild(newItem); newItem = doc.createTextNode('Wernigerode'); community.appendChild(newItem); newItem = doc.createTextNode('Wieda'); community.appendChild(newItem); newItem = doc.createTextNode('Wildemann'); community.appendChild(newItem); newItem = doc.createTextNode('Wolfshagen im Harz'); community.appendChild(newItem); newItem = doc.createTextNode('Zorge'); community.appendChild(newItem); series = doc.createElement("series"); doc.childNodes[0].appendChild(series); newItem = doc.createTextNode('Führungen in der Kleinen Holzkirche'); series.appendChild(newItem); newItem = doc.createTextNode('Führungen in der Kleinen Holzkirche'); series.appendChild(newItem); newItem = doc.createTextNode('Harzpokal - Faszination Löschangriff'); series.appendChild(newItem); return doc; } function getTopEvents() { var top = doc.createElement("topEvents"); root.appendChild(top); newItem = doc.createElement("item"); top.appendChild(newItem); date = doc.createCDATASection('09.07.2010'); newItem.appendChild(date); eventName = doc.createCDATASection('Harzpokal - Faszination Löschangriff'); newItem.appendChild(eventName); image = doc.createCDATASection('/media/files/Harzpokal/100_1353.jpg'); newItem.appendChild(image); stext = doc.createCDATASection('Das Megaevent 2010 des Feuerwehrsport Elend'); newItem.appendChild(stext); ltext = doc.createCDATASection('Faszination Löschangriff - Damen-, Herren-, Jugendmannschaften (mit Ladies Cup (ST) und jetzt auchJugendmannschaften, 4 Wertungsgruppen auf Dose oder Zielgerät mit TS nach DIN/TGL, 6 Bahnen (begradigte Naturbahnen, extra Bahn für Jugend), Elektronische Zeitabnahme (genauer und fairer geht es nicht), Mega Party Freitag und Samstag (mit versch. DJ´s, Unterhaltungsprogramm und Livestrip).
Übernachten im eigenen Zelt möglich - mit sanitären Anlagen und Frühstück '); newItem.appendChild(ltext); linkName = doc.createCDATASection('http://www.harzpokal.de'); newItem.appendChild(linkName); series = doc.createCDATASection('09.07.2010, 10.07.2010, 11.07.2010'); newItem.appendChild(series); commune = doc.createCDATASection('Elend'); newItem.appendChild(commune); newItem = doc.createElement("item"); top.appendChild(newItem); date = doc.createCDATASection('30.07.2010'); newItem.appendChild(date); eventName = doc.createCDATASection('IV. Rocken am Brocken in Elend'); newItem.appendChild(eventName); image = doc.createCDATASection('/media/files/Rocken_am_Brocken/bild_vom_iii.rab.jpg'); newItem.appendChild(image); stext = doc.createCDATASection('auf dem Gieseckenbleek (B27)'); newItem.appendChild(stext); ltext = doc.createCDATASection(''); newItem.appendChild(ltext); linkName = doc.createCDATASection('http://www.rocken-am-brocken.de'); newItem.appendChild(linkName); series = doc.createCDATASection('30.07.2010, 30.07.2011'); newItem.appendChild(series); commune = doc.createCDATASection('Elend'); newItem.appendChild(commune); return doc; } var http_request = null; function getCalendar(monat, jahr, gem) { var url = "http://www.harz.eu/de/veranstaltungen/download/abfrage.html?item=calendar&month=" + monat + "&year=" + jahr + "&gem=" + gem; http_request = null; // Mozilla, Opera, Safari sowie Internet Explorer 7 if (typeof XMLHttpRequest != 'undefined') { http_request = new XMLHttpRequest; if (http_request.overrideMimeType) { http_request.overrideMimeType('text/xml'); } } else if (!http_request) { // Internet Explorer 6 und älter try { http_request = new ActiveXObject("Msxml2.XMLHTTP"); } catch(e) { try { http_request = new ActiveXObject("Microsoft.XMLHTTP"); } catch(e) { http_request = null; } } } if (!http_request) { alert('Ende :( Kann keine XMLHTTP-Instanz erzeugen'); return false; } http_request.open('GET', url, true); http_request.onreadystatechange = function() { //alert(http_request.readyState); if (http_request.readyState == 4) { if (http_request.status == 200) { //alert(http_request.responseText); var xmldoc = http_request.responseXML; setCalValues(xmldoc); } else { alert('Bei der Abfrage ist ein Problem aufgetreten. Bitte probieren Sie es später nochmal. Danke'); } } }; http_request.send(null); } function getEvents(commune) { var ev = doc.createElement("events"); root.appendChild(ev); var com = ''; if (com==commune) { newItem = doc.createElement("item"); ev.appendChild(newItem); date = doc.createCDATASection('16.03.2010'); newItem.appendChild(date); eventName = doc.createCDATASection('Geführte Seniorenwanderung in Elend'); newItem.appendChild(eventName); image = doc.createCDATASection('/media/files/events/khbrumme02.jpg'); newItem.appendChild(image); stext = doc.createCDATASection('des Harzklub Zweigverein Elend'); newItem.appendChild(stext); ltext = doc.createCDATASection('

Wanderung nach Drei – Annen-Hohne ca. 8 km. Rückfahrt mit Bus oder Zug. Treffpunkt: Bushaltestelle Elend

'); newItem.appendChild(linkName); series = doc.createCDATASection('http://www.harzklub.de'); newItem.appendChild(series); } var com = ' FONT-SIZE: 8pt">Hotel „Grüne Tanne“

'; if (com==commune) { newItem = doc.createElement("item"); ev.appendChild(newItem); date = doc.createCDATASection('20.03.2010'); newItem.appendChild(date); eventName = doc.createCDATASection('„Wenn Du jetzt gehst…, … kannst du in 5 Minuten wiederkommen“'); newItem.appendChild(eventName); image = doc.createCDATASection('/media/files/catalogHolidayHome/mandelholz.jpg'); newItem.appendChild(image); stext = doc.createCDATASection('Kabarett Nörgelsäcke'); newItem.appendChild(stext); ltext = doc.createCDATASection('

inkl. 4 – Gang – Kabarett – Menü- Preis 33 € pro Person'); newItem.appendChild(linkName); series = doc.createCDATASection(' Infos und Vorbestellungen unter www.mandelholz.eu


Hotel „Grüne Tanne“

'; if (com==commune) { newItem = doc.createElement("item"); ev.appendChild(newItem); date = doc.createCDATASection('27.03.2010'); newItem.appendChild(date); eventName = doc.createCDATASection('"Rock am Stock"'); newItem.appendChild(eventName); image = doc.createCDATASection('/media/files/catalogHolidayHome/mandelholz.jpg'); newItem.appendChild(image); stext = doc.createCDATASection('Kabarett mit Jürgen H. Scheugenpflug'); newItem.appendChild(stext); ltext = doc.createCDATASection('

inkl. 4 – Gang – Kabarett – Menü- Preis 33 € pro Person'); newItem.appendChild(linkName); series = doc.createCDATASection(' Infos und Vorbestellungen unter www.mandelholz.eu


www.mandelholz.eu


inkl. 4 – Gang – Kabarett – Menü- Preis 33 € pro Person'); newItem.appendChild(series); } var com = 'Elend'; if (com==commune) { newItem = doc.createElement("item"); ev.appendChild(newItem); date = doc.createCDATASection('03.04.2010'); newItem.appendChild(date); eventName = doc.createCDATASection('Osterfeuer in Elend'); newItem.appendChild(eventName); image = doc.createCDATASection('/media/files/events/dsc02180.jpg'); newItem.appendChild(image); stext = doc.createCDATASection('auf der Kirchwiese, für das leiblich Wohl wird gesorgt'); newItem.appendChild(stext); ltext = doc.createCDATASection(''); newItem.appendChild(ltext); linkName = doc.createCDATASection(''); newItem.appendChild(linkName); series = doc.createCDATASection(''); newItem.appendChild(series); } var com = ' MARGIN: 0cm 0cm 0pt 177pt" class=MsoNormal>

Preis 15,00 € / Person, Infos und


Bus bis Königshütte, Wanderung Überleitungssperre Trogfurter Brücke – Elbingerode ca. 8 km, zurück mit Bus, Treffpunkt: Bushaltestelle Elend

'); newItem.appendChild(linkName); series = doc.createCDATASection('http://www.harzklub.de'); newItem.appendChild(series); } var com = ' Infos und Vorbestellungen unter
www.mandelholz.eu


inkl. 4 – Gang – Kabarett – Menü- Preis


30 € pro Person'); newItem.appendChild(series); } var com = 'Elend'; if (com==commune) { newItem = doc.createElement("item"); ev.appendChild(newItem); date = doc.createCDATASection('30.04.2010'); newItem.appendChild(date); eventName = doc.createCDATASection('Walpurgis in Elend'); newItem.appendChild(eventName); image = doc.createCDATASection('/media/files/events/dsc02253.jpg'); newItem.appendChild(image); stext = doc.createCDATASection('auf der Kirchwiese - nähere Infos folgen!'); newItem.appendChild(stext); ltext = doc.createCDATASection(''); newItem.appendChild(ltext); linkName = doc.createCDATASection('http://www.harz.eu/de/tourismus/harzorte/elend/veranstaltungen_elend_harz/walpurgis_elend_harz.html'); newItem.appendChild(linkName); series = doc.createCDATASection(''); newItem.appendChild(series); } var com = ' mso-fareast-font-family: \'Times New Roman\''; if (com==commune) { newItem = doc.createElement("item"); ev.appendChild(newItem); date = doc.createCDATASection('01.05.2010'); newItem.appendChild(date); eventName = doc.createCDATASection('Auf Hexenstieg und Königswegen'); newItem.appendChild(eventName); image = doc.createCDATASection('/media/files/events/khbrumme01.jpg'); newItem.appendChild(image); stext = doc.createCDATASection('Geführte Wanderung des Harzklub'); newItem.appendChild(stext); ltext = doc.createCDATASection(' „Ein Tag ist NICHT genug!“
'); newItem.appendChild(stext); ltext = doc.createCDATASection('

, inkl. 4 – Gang – Kabarett – Menü- Preis 35 € pro Person'); newItem.appendChild(series); } var com = ' mso-ansi-language: DE'; if (com==commune) { newItem = doc.createElement("item"); ev.appendChild(newItem); date = doc.createCDATASection('02.05.2010'); newItem.appendChild(date); eventName = doc.createCDATASection('BRUNCH in Mandelholz'); newItem.appendChild(eventName); image = doc.createCDATASection('/media/files/catalogHolidayHome/mandelholz.jpg'); newItem.appendChild(image); stext = doc.createCDATASection('Schlemmerbüfett mit Musik: mit Thomas Schicker'); newItem.appendChild(stext); ltext = doc.createCDATASection('11.00 bis 14.00 Uhr Essen nach Lust und Laune – soviel Sie mögen, Preis 15,00 € / Person, Infos und Vorbestellungen unter www.mandelholz.eu, www.mandelholz.eu, Hotel „Grüne Tanne"'); newItem.appendChild(ltext); linkName = doc.createCDATASection('http://www.mandelholz.eu'); newItem.appendChild(linkName); series = doc.createCDATASection(''); newItem.appendChild(series); } var com = ''; if (com==commune) { newItem = doc.createElement("item"); ev.appendChild(newItem); date = doc.createCDATASection('15.05.2010'); newItem.appendChild(date); eventName = doc.createCDATASection('"La Signora"'); newItem.appendChild(eventName); image = doc.createCDATASection('/media/files/catalogHolidayHome/mandelholz.jpg'); newItem.appendChild(image); stext = doc.createCDATASection('Carmela de Feo'); newItem.appendChild(stext); ltext = doc.createCDATASection('

inkl. 4 - Gang - Kabarett - Menü- Preis 35 € pro Person'); newItem.appendChild(ltext); linkName = doc.createCDATASection(' Infos und Vorbestellungen unter www.mandelholz.eu, Hotel „Grüne Tanne"

'); newItem.appendChild(linkName); series = doc.createCDATASection('http://www.mandelholz.eu'); newItem.appendChild(series); } var com = 'http://www.harklub.de'; if (com==commune) { newItem = doc.createElement("item"); ev.appendChild(newItem); date = doc.createCDATASection('20.05.2010'); newItem.appendChild(date); eventName = doc.createCDATASection('Geführte Seniorenwanderung'); newItem.appendChild(eventName); image = doc.createCDATASection('/media/files/events/khbrumme01.jpg'); newItem.appendChild(image); stext = doc.createCDATASection('des Harzklub Zweigverein Elend'); newItem.appendChild(stext); ltext = doc.createCDATASection('

Wanderung Bahnhof Schierke – Ahrentsklintklippen – Bahnhof Schierke - Einkehr '); newItem.appendChild(linkName); series = doc.createCDATASection(' ca. 8 km, Bushaltestelle Ortsmitte

'); newItem.appendChild(series); } var com = ''; if (com==commune) { newItem = doc.createElement("item"); ev.appendChild(newItem); date = doc.createCDATASection('22.05.2010'); newItem.appendChild(date); eventName = doc.createCDATASection('Oderhähne in Mandelholz'); newItem.appendChild(eventName); image = doc.createCDATASection('/media/files/catalogHolidayHome/mandelholz.jpg'); newItem.appendChild(image); stext = doc.createCDATASection('Kabarett Big Helga, een Menschenkind mit Dagmar Gelbke und Wolfgang Flieder'); newItem.appendChild(stext); ltext = doc.createCDATASection('

inkl. 4 - Gang - Kabarett - Menü- Preis 35 € pro Person'); newItem.appendChild(ltext); linkName = doc.createCDATASection(' Infos und Vorbestellungen unter www.mandelholz.eu, Hotel „Grüne Tanne"

'); newItem.appendChild(linkName); series = doc.createCDATASection('http://www.mandelholz.eu'); newItem.appendChild(series); } var com = 'Elend'; if (com==commune) { newItem = doc.createElement("item"); ev.appendChild(newItem); date = doc.createCDATASection('29.05.2010'); newItem.appendChild(date); eventName = doc.createCDATASection('"Ein Kessel Buntes" in Mandelholz'); newItem.appendChild(eventName); image = doc.createCDATASection('/media/files/catalogHolidayHome/mandelholz.jpg'); newItem.appendChild(image); stext = doc.createCDATASection('Kabarett Dorit Gäbler '); newItem.appendChild(stext); ltext = doc.createCDATASection('

4 - Gang - Kabarett - Menü- Preis 37 € pro Person, Infos und Vorbestellungen unter www.mandelholz.eu, Hotel „Grüne Tanne"

'); newItem.appendChild(ltext); linkName = doc.createCDATASection('http://www.mandelholz.eu'); newItem.appendChild(linkName); series = doc.createCDATASection(''); newItem.appendChild(series); } var com = 'Elend'; if (com==commune) { newItem = doc.createElement("item"); ev.appendChild(newItem); date = doc.createCDATASection('09.07.2010'); newItem.appendChild(date); eventName = doc.createCDATASection('Harzpokal - Faszination Löschangriff'); newItem.appendChild(eventName); image = doc.createCDATASection('/media/files/Harzpokal/100_1353.jpg'); newItem.appendChild(image); stext = doc.createCDATASection('Das Megaevent 2010 des Feuerwehrsport Elend'); newItem.appendChild(stext); ltext = doc.createCDATASection('Faszination Löschangriff - Damen-, Herren-, Jugendmannschaften (mit Ladies Cup (ST) und jetzt auchJugendmannschaften, 4 Wertungsgruppen auf Dose oder Zielgerät mit TS nach DIN/TGL, 6 Bahnen (begradigte Naturbahnen, extra Bahn für Jugend), Elektronische Zeitabnahme (genauer und fairer geht es nicht), Mega Party Freitag und Samstag (mit versch. DJ´s, Unterhaltungsprogramm und Livestrip).
Übernachten im eigenen Zelt möglich - mit sanitären Anlagen und Frühstück '); newItem.appendChild(ltext); linkName = doc.createCDATASection('http://www.harzpokal.de'); newItem.appendChild(linkName); series = doc.createCDATASection('09.07.2010, 10.07.2010, 11.07.2010'); newItem.appendChild(series); } var com = 'Elend'; if (com==commune) { newItem = doc.createElement("item"); ev.appendChild(newItem); date = doc.createCDATASection('30.07.2010'); newItem.appendChild(date); eventName = doc.createCDATASection('IV. Rocken am Brocken in Elend'); newItem.appendChild(eventName); image = doc.createCDATASection('/media/files/Rocken_am_Brocken/bild_vom_iii.rab.jpg'); newItem.appendChild(image); stext = doc.createCDATASection('auf dem Gieseckenbleek (B27)'); newItem.appendChild(stext); ltext = doc.createCDATASection(''); newItem.appendChild(ltext); linkName = doc.createCDATASection('http://www.rocken-am-brocken.de'); newItem.appendChild(linkName); series = doc.createCDATASection('30.07.2010, 30.07.2011'); newItem.appendChild(series); } return doc; } function setTopEvValues() { var node = doc.getElementsByTagName("topEvents").item(0); var count = node.childNodes.length; var i=0; var text = ""; while (i < count) { var date = node.childNodes.item(i).childNodes.item(0).data; var veranstaltung = node.childNodes.item(i).childNodes.item(1).data; var bild = node.childNodes.item(i).childNodes.item(2).data; var stext = node.childNodes.item(i).childNodes.item(3).data; var ltext = node.childNodes.item(i).childNodes.item(4).data; var url = node.childNodes.item(i).childNodes.item(5).data; var termine = node.childNodes.item(i).childNodes.item(6).data; text = text + "
"; text = text + "

" + date + "

"; text = text + "

 | " + veranstaltung + "

"; text = text + "
"; if (bild != "") text = text + "
" + veranstaltung + "
"; text = text + "
" + stext + "

"; if (ltext != "") text = text + "
" + ltext + "
"; text = text + "
"; if (url != "") text = text + "zur Internetseite
"; if (termine != "") text = text + "
Veranstaltungstermine:
" + termine + "
"; text = text + "

"; i++; } document.writeln(text); }