var myData='\ \ \ \ inquiry\ http://uzh.moreganize.ch/boHt3oKPjpX\ Fest: 5O Jahre Rheinbundhaus Hochwald\ Wer ist dabei?\ Bitte tragt Euch mit Pfadinamen und (in Klammer) Eurer Gruppe ein. Die Email wird nicht veröffentlicht, aber Ihr werdet einige Infos per Newsletter bekommen. (Falls Du keine Email angeben möchtest, einfach test@test.ch eingebven, Merci!)\ \ Nun aber auf zur Spurensuche am Rheinbundhausfest vom:\ \ Samstag 1. September 2012\ \ Das Rheinbundhaus wird 50 Jahre alt. Der gegebene Anlass für ein geselliges Fest in Hochwald mit einer spielerischen und unterhaltsamen Spurensuche in der lebendigen Hausgeschichte.\ \ >a href=\\"http://www.rheinbundhaus.ch\\" target=\\"_blank\\"<www.rheinbundhaus.ch>/a<\ \ Das Fest wird von der Stiftung Rheinbundhaus organisiert und ist für Kinder, Jugendliche, Eltern, Junggebliebenen, die schon etwas Älteren und alle Anderen, die sich über dieses Jubiläum freuen.\ \ Der Stiftungsrat\ 2011-11-02\ Bono\ 0\ 2012-02-19 22:45:29\ 12\ http://uzh.moreganize.ch/boHt3oKPjpX\ \ '; function mge_embed_parser(){ try{//try IE first xml=new ActiveXObject("Microsoft.XMLDOM"); xml.async="false"; xml.loadXML(myData); this.isIE=true; if(navigator.appVersion.indexOf("MSIE 6.")!=-1) this.isIE6=true; else this.isIE6=false; } catch(e){ try{//try Mozilla, Firefox, Opera, etc. var parser=new DOMParser(); var xml=parser.parseFromString(myData,"text/xml"); this.isIE=false; this.isIE6=false; }catch(e){ alert(e.message); return; } } var el = document.getElementById('boHt3oKPjpX'); if(!el) return; var el=el; this.create=function(type){ return document.createElement(type); } this.createText=function(text){ return document.createTextNode(text); } this.create=function(type){ return document.createElement(type); } this.add=function(type){ tmp = this.create(type); el.appendChild(tmp); return tmp; } this.setFloat=function(el,float){ el.style[(isIE)?'styleFloat':'cssFloat']=float; } /**** prototypeing ***/ this.getValue=function(node){ return xml.getElementsByTagName(node)[0].firstChild.nodeValue; } this.getLabel=function(node){ return xml.getElementsByTagName(node)[0].getAttribute('label'); } this.getNiceString=function(node){ return xml.getElementsByTagName(node)[0].getAttribute('niceString'); } this.addText=function (node,text){ div = create('div') div.appendChild(createText(text)); node.appendChild(div); } this.addRow=function (label,text){ tr=create('tr'); td=create('td'); td.style.padding='0'; td.appendChild(createText(label)); tr.appendChild(td); td=create('td'); td.style.padding='0'; td.appendChild(createText(text)); tr.appendChild(td); return tr; } /**** Format Motherbox ***/ el.style.fontSize='12px'; el.style.fontFamily='Arial,Verdana,Sans-Serif'; el.style.border='1px solid #CCCCCC'; el.style.color='#6F6F6F'; el.style.width='170px'; el.style.lineHeight='1em'; el.style.textAlign='left'; el.style.padding='5px'; el.style.backgroundColor='#FCFCFC'; el.style.backgroundImage='url(http://moreganize.com/template/default/img/bg_fade_grey.gif)'; el.style.backgroundPosition='center bottom'; el.style.backgroundRepeat='repeat-x'; if(!isIE){ el.style.MozBorderRadius='4px'; el.style.KhtmlBorderRadius='3px'; } /**** add Title ***/ var title=add('div'); title.appendChild(document.createTextNode(getValue('title'))); title.style.color='orange'; title.style.fontSize='14px'; title.style.fontWeight='bold'; title.style.marginBottom="3px"; /**** add Content Label ***/ var label=add('div'); addText(label,getLabel('users')+":"); addText(label,getLabel('comments')+":"); addText(label,getLabel('lastModification')+":"); label.style.marginRight="5px"; setFloat(label,'left'); /**** add Content Values ***/ var value=add('div'); addText(value,getValue('users')); addText(value,getValue('comments')); addText(value,getNiceString('lastModification')); value.style.marginBottom="3px"; /*** add Paricipate ***/ var paricipate=add('a'); paricipate.appendChild(createText(getLabel('attend'))); paricipate.href=getValue('attend'); paricipate.target='_blank'; paricipate.style.color='orange'; paricipate.style.textDecoration='underline'; paricipate.style.cursor='pointer'; /*** add Logo ***/ var logo=add('img'); logo.alt='Moreganize.com'; logo.src='http://moreganize.com/template/logo/mge_smaller.'; logo.src+=(isIE6)?'gif':'png'; logo.style.cursor='pointer'; logo.style.border='none'; logo.style.cssFloat='right'; logo.onclick=function(){window.open('http://moreganize.com');} setFloat(logo,'right'); //logo.style.margin='0 5px 5px 0'; logo.style.marginRight='3px'; /*** add End clear ***/ var clear=add('div'); clear.style.clear='right'; } mge_embed_parser();