var keywords={};var k=[];var ignoreTags=["script","textarea","iframe","button","img","html","body","a"];var ignoreWords=["ab","als","am","an","aus","da","dabei","das","dein","deiner","deines","dem","den","der","des","deshalb","dessen","die","diese","diesen","dieser","dir","dort","du","ein","einige","er","es","hier","häufig","ich","ihm","ihn","ihnen","ihr","ihre","ihren","ihrer","ihres","in","ist","mehr","mehrmals","meisten","meistens","mir","mit","nach","neben","oft","seit","selten","sie","uns","unser","unter","über","viel","viele","vor","war","wäre","warum","was","wem","wen","wenig","wenige","weniger","wer","weshalb","wie","wir","wieso","wird","wurde","würde","zu","zum","zur"];var keywordStyle={color:"#0000ff",borderBottom:"double 3px #0000ff"};var adnetActive;var adnetOldMouseMove=function(){void(0);};var adnetDebugMode=false;var adnetFncCount=0;var adnetKwReg=new RegExp(unescape("(^|[^A-Za-z%C4%D6%DC%E4%F6u%DF])([A-Z%C4%D6%DC][a-z%E4%F6%FC%DF]+|[A-Z%C4%D6%DC]{2,}\w*|\w*[A-Z%C4%D6%DC]+[a-z%E4%F6%FC%DF]+\w*|\w*[a-z%E4%F6%FC%DF]+[A-Z%C4%D6%DC]+\w*)([^A-Za-z%C4%D6%DC%E4%F6%FC%DF]|$)"));var adnetMaxKeywords=0;var adnetKwAutoCloseTimeout=7000;function in_array(arr,val){for(var i=0;i<arr.length;i++){if(arr[i]==val)return true;}return false;}function collectKeywords(elmnt,s,b){if(!document.body){window.setTimeout(function(){collectKeywords(document.body,s,b)},2000);return;}adnetFncCount++;if(adnetFncCount>10000)return b;var a=document.getElementById("inText_start");var z=document.getElementById("inText_end");var n,t,p,c,i,u,d;for(i=0;i<elmnt.childNodes.length;i++){n=elmnt.childNodes[i];if(n.nodeType==3){if(!b){continue;}t=n.nodeValue;p=0;while((c=t.search(adnetKwReg))!==-1){m=t.match(adnetKwReg);if(!in_array(ignoreWords,m[2].toLowerCase())&& typeof(keywords[m[2]])=="undefined"){k[k.length]=m[2];keywords[m[2]]={pNode:n.parentNode};}t=t.substr(c+m[1].length+m[2].length);}}else if(!in_array(ignoreTags,n.nodeName.toLowerCase()) && (!n.className||n.className!="inText_ignore")){if(b==0 && !a || a==n)b=1;if(b&&z&&z==n){b=2;break;}if(n.hasChildNodes()&& (b=collectKeywords(n,0,b))==2)break;}}if(s){if(k.length){d=document;u=d.createElement("script");kw=k.join(",");u.src="http://ad.adnet.de/adt.php?s="+s+";kw="+kw+";kwmax="+parseInt(adnetMaxKeywords);d.body.appendChild(u);k=[];}else{window.setTimeout(function(){collectKeywords(elmnt,s,0)},3000);}}return b;}function replaceWord(word,s,c,w,h,alt){if(typeof(keywords[word])=="undefined")return;var pNode=keywords[word].pNode;var p,thisNode,nextNode,r,j;r=new RegExp(unescape("(^|[^a-zA-Z%E4%F6%FC%C4%D6%DC%DF])("+escape(word)+")([^a-zA-Z%E4%F6%FC%C4%D6%DC%DF]|$)"));for(var i=0;i<pNode.childNodes.length;i++){if(pNode.childNodes[i].nodeType==3 && (p=pNode.childNodes[i].nodeValue.search(r))!==-1){m=pNode.childNodes[i].nodeValue.match(r);p+=m[1].length;nextText=pNode.childNodes[i].nodeValue.substr(p+word.length);pNode.childNodes[i].nodeValue=pNode.childNodes[i].nodeValue.substr(0,p);thisNode=document.createElement("span");thisNode.appendChild(document.createTextNode(word));for(j in keywordStyle)thisNode.style[j]=keywordStyle[j];thisNode.onmousemove=function(){adnetRefreshTimeout(word);};nextNode=document.createTextNode(nextText);if(pNode.childNodes.length==i+1){pNode.appendChild(thisNode);pNode.appendChild(nextNode);}else{pNode.insertBefore(nextNode,pNode.childNodes[i].nextSibling);pNode.insertBefore(thisNode,nextNode);}p=getPosition(thisNode);thisNode.onmouseover=function(){winSize=getWinSize();winScroll=getWinScroll();word1=word.replace(/[^a-zA-Z]/,"");var l;for(i in keywords)if(keywords[i].node)keywords[i].node.style.display="none";if(!(l=keywords[word].node)){l=keywords[word].node=document.createElement("div");byAdnet=typeof(alt)=="undefined"||alt==""?"":"<div style='font-size:6px;float:right;'>by adNET.de</div>";alt=typeof(alt)=="undefined"||alt==""?"adNET - inText-Ads":alt;l.id="adnetLayer_"+word1;l.innerHTML="<div style='background:url(http://ad.adnet.de/images/b.jpg);cursor:default;width:"+w+"px' id='titlebar_"+word1+"' onmouseup='layerMU();' onmousemove='adnetRefreshTimeout(\""+word+"\");'><div style='float:left;font-size:10px;padding:1px;'>"+alt+"</div><div style='float:right;cursor:default;'><img border='0' width='15' height='15' src='http://ad.adnet.de/images/x.jpg' onclick='keywords[\""+word+"\"].node.style.display=\"none\";'></div>"+byAdnet+"<div style='clear:both'></div></div><iframe src='http://ad.adnet.de/adf.php?s="+s+";c="+c+";wxh="+w+"x"+h+"' width='"+w+"' height='"+h+"' marginwidth='0' marginheight='0' hspace='0' vspace='0' frameborder='0' scrolling='no'></iframe></div>";with(l.style){display="none";top=(p.y-parseInt(h/2))+"px";left=(p.x-parseInt(w/2))+"px";zIndex=999999;}document.body.appendChild(l);document.getElementById("titlebar_"+word1).onmousedown=function(e){e=e?e:window.event;layerMD(e,word);};adnetRefreshTimeout(word);}else l=keywords[word].node;with(l.style){position="absolute";display="";backgroundColor="#fff";}if(adnetSetOnclick)adnetSetOnclick();};return;}}}function adnetRefreshTimeout(word){if(!adnetKwAutoCloseTimeout||adnetKwAutoCloseTimeout<3000)return;if(keywords[word].timeOut)window.clearInterval(keywords[word].timeOut);keywords[word].timeOut=window.setTimeout("keywords['"+word+"'].node.style.display='none';",adnetKwAutoCloseTimeout);}function getPosition(elmntent){var elmnt=elmntent,tagname="",x=0,y=0;while(elmnt!=null && (typeof(elmnt)=="object")&&(typeof(elmnt.tagName)!="undefined")){y+=elmnt.offsetTop;x+=elmnt.offsetLeft;tagname=elmnt.tagName.toUpperCase();if(tagname=="BODY")elmnt=0;if(typeof(elmnt)=="object" && typeof(elmnt.offsetParent)=="object")elmnt=elmnt.offsetParent;}position=new Object();position.x=x;position.y=y;return position;}function getWinSize(){var myWidth=0,myHeight=0;if(typeof(window.innerWidth)=='number'){myWidth=window.innerWidth;myHeight=window.innerHeight;}else if(document.documentElement && (document.documentElement.clientWidth || document.documentElement.clientHeight)){myWidth=document.documentElement.clientWidth;myHeight=document.documentElement.clientHeight;}else if(document.body && (document.body.clientWidth || document.body.clientHeight)){myWidth=document.body.clientWidth;myHeight=document.body.clientHeight;}return [myWidth,myHeight];}function getWinScroll(){var scrOfX=0,scrOfY=0;if(typeof(window.pageYOffset)=='number'){scrOfY=window.pageYOffset;scrOfX=window.pageXOffset;}else if(document.body && (document.body.scrollLeft || document.body.scrollTop)){scrOfY=document.body.scrollTop;scrOfX=document.body.scrollLeft;}else if(document.documentElement && (document.documentElement.scrollLeft || document.documentElement.scrollTop)){scrOfY=document.documentElement.scrollTop;scrOfX=document.documentElement.scrollLeft;}return [ scrOfX,scrOfY ];}function layerMD(e,kw){adnetActive=kw;kw1=word1.replace(/[^a-zA-Z]/,"");with(keywords[kw]){keywords[kw].divXstart=parseInt(node.style.left);keywords[kw].divYstart=parseInt(node.style.top);keywords[kw].mouseXstart=e.clientX;keywords[kw].mouseYstart=e.clientY;}document.getElementById('titlebar_'+kw1).style.cursor='move';adnetOldMouseMove=document.onmousemove&&document.onmousemove!=adnet_drag?document.onmousemove:function(e){};document.onmousemove=adnet_drag;}function layerMU(){document.getElementById('titlebar_'+adnetActive.replace(/[^a-zA-Z]/,"")).style.cursor='default';adnetActive="";window.onmousemove=adnetOldMouseMove;}function adnet_drag(e){if(adnetActive=="" || typeof(keywords[adnetActive])=="undefined")return adnetOldMouseMove(e);e=e?e:window.event;var kw=keywords[adnetActive];kw.node.style.left=kw.divXstart+e.clientX-kw.mouseXstart+'px';kw.node.style.top=kw.divYstart+e.clientY-kw.mouseYstart+'px';adnetOldMouseMove(e);return false;}
