if(!POP){var POP=new Object();}POP.hasRequired=function(){if(document.getElementById&&document.getElementsByTagName){var _1=document.getElementsByTagName("html")[0];_1.className+=((_1.className=="")?"":" ")+"has-dom";return true;}return false;}();POP.onbeforeload=function(){if(this.hasRequired){this.CSSattach();var _2=false;for(var _3 in this){if(this[_3].onbeforeload){this[_3].onbeforeload();}if(this[_3].onsubmit){_2=true;}}if(_2){var _4=document.getElementsByTagName("form");for(var i=0;form=_4[i];i++){if(typeof form.onsubmit!="function"){form.onsubmit=function(){return POP.onsubmit(this);};}}}}};POP.onload=function(){if(this.hasRequired){for(var _6 in this){if(this[_6].onload){this[_6].onload();}}}};POP.onunload=function(){if(this.hasRequired){for(var _7 in this){if(this[_7].onunload){this[_7].onunload();}}}};POP.onresize=function(){if(this.hasRequired){for(var _8 in this){if(this[_8].onresize){this[_8].onresize();}}}};POP.onsubmit=function(_9){for(var _a in this){if(this[_a].onsubmit){if(this[_a].onsubmit(_9)==false){return false;}}}return true;};POP.oncssload=function(){if(this.hasRequired){for(var _b in this){if(this[_b].oncssload){this[_b].oncssload();}}}};POP.CSSattach=function(){var d=document.createElement("div"),s=d.style;s.position="fixed";s.top="0";s.visibility="hidden";s.width="600px";s.height="0";d.id="POP-CSS-seed";document.body.appendChild(d);window.setTimeout("POP.CSSwatch()",0);};POP.CSSwatch=function(){var d=document.getElementById("POP-CSS-seed");if(d.offsetWidth<600){var _e=document.getElementsByTagName("html")[0];_e.className+=((_e.className=="")?"":" ")+"has-css";this.oncssload();d.parentNode.removeChild(d);}else{window.setTimeout("POP.CSSwatch()",1);}};POP.Sekretariat={content:{id:"nav-content"},top:{id:"nav-top",state:0},bottom:{id:"nav-bottom",state:1},revealInit:false,revealLoop:false,revealId:null,getScrollTop:function(){if(document.all){return (document.documentElement.scrollTop)?document.documentElement.scrollTop:document.body.scrollTop;}else{return window.pageYOffset;}},toggle:function(_f,e){if(!document.removeChild||!document.appendChild){return;}this.top.e.parentNode.className=this.top.e.parentNode.className.replace(/ open/,"");this.bottom.e.parentNode.className=this.bottom.e.parentNode.className.replace(/ open/,"");if(_f.state){_f.state=0;_f.arrow.className="closed";}else{_f.e.appendChild(this.content.e);_f.state=1;_f.opp.state=0;_f.opp.e.style.height="0px";_f.e.parentNode.className+=" open";_f.arrow.className="open";_f.opp.arrow.className="closed";}this.reveal(_f);},reveal:function(_11){if(this.revealLoop){clearInterval(this.revealId);this.revealLoop=false;this.revealId=null;}this.revealTo(_11.id.replace(/^nav-/,""),(_11.state)?this.content.e.offsetHeight:0);},revealTo:function(_12,h){var _14=eval("this."+_12);if(h==0){h=3;}if(this.revealLoop){var c=_14.e.offsetHeight;if(Math.abs(c-h)<=1){_14.e.style.height=h+"px";if(!_14.state){this.content.e=this.content.e.parentNode.removeChild(this.content.e);}clearInterval(this.revealId);this.revealLoop=false;this.revealId=null;if(!this.revealInit){this.revealInit=true;}}else{_14.e.style.height=(c+(h-c)/2)+"px";if(_14.e.offsetTop!=0&&this.revealInit){window.scrollTo(0,this.getScrollTop()+h);}}}else{this.revealId=setInterval("POP.Sekretariat.revealTo('"+_12+"',"+h+")",100);this.revealLoop=true;}},onbeforeload:function(){this.content.e=document.getElementById(this.content.id);this.top.e=document.getElementById(this.top.id).getElementsByTagName("div")[0];this.bottom.e=document.getElementById(this.bottom.id).getElementsByTagName("div")[1];this.top.arrow=document.getElementById("head");this.bottom.arrow=document.getElementById("footer");this.top.a=document.getElementById(this.top.id).getElementsByTagName("a")[0];this.bottom.a=document.getElementById(this.bottom.id).getElementsByTagName("a")[0];this.top.arrow.a=document.getElementById("head").getElementsByTagName("a")[4];this.bottom.arrow.a=document.getElementById("footer").getElementsByTagName("a")[0];this.top.opp=this.bottom;this.bottom.opp=this.top;this.top.a.onclick=function(){POP.Sekretariat.toggle(POP.Sekretariat.top,this);return false;};this.bottom.a.onclick=function(){POP.Sekretariat.toggle(POP.Sekretariat.bottom,this);return false;};this.top.arrow.a.onclick=function(){POP.Sekretariat.toggle(POP.Sekretariat.top,this);return false;};this.bottom.arrow.a.onclick=function(){POP.Sekretariat.toggle(POP.Sekretariat.bottom,this);return false;};this.top.arrow.a.onmouseover=function(){POP.Sekretariat.toggle(POP.Sekretariat.top,this);return false;};this.bottom.arrow.a.onmouseover=function(){POP.Sekretariat.toggle(POP.Sekretariat.bottom,this);return false;};if(this.content.e&&this.top.e&&this.bottom.e){this.toggle(this.bottom,this.bottom.a);}},onresize:function(){if(this.revealInit){if(this.top.state){this.reveal(this.top);}else{if(this.bottom.state){this.reveal(this.bottom);}}}}};POP.StyleSwitcher={pink:{id:"pink"},green:{id:"green"},cyan:{id:"cyan"},radiolink:{id:"radiolink"},setActiveStyleSheet:function(_16){var i,a,main;if(_16=="pink"){_16="";}for(i=0;(a=document.getElementsByTagName("link")[i]);i++){if(a.getAttribute("rel").indexOf("style")!=-1&&a.getAttribute("title")){a.disabled=true;if(a.getAttribute("title")==_16){a.disabled=false;}}}if(_16==""){_16="pink";}if(_16=="pink"){this.pink.e.className="active";this.green.e.className="inactive";this.cyan.e.className="inactive";this.radiolink.e.onclick=function(){popup("http://popnutten.de/verstaerker/index.php",370,165);return false;};}else{if(_16=="green"){this.green.e.className="active";this.pink.e.className="inactive";this.cyan.e.className="inactive";this.radiolink.e.onclick=function(){popup("http://popnutten.de/verstaerker/index.php?fs="+_16,370,165);return false;};}else{if(_16=="cyan"){this.pink.e.className="inactive";this.green.e.className="inactive";this.cyan.e.className="active";this.radiolink.e.onclick=function(){popup("http://popnutten.de/verstaerker/index.php?fs="+_16,370,165);return false;};}}}},getActiveStyleSheet:function(){var i,a;for(i=0;(a=document.getElementsByTagName("link")[i]);i++){if(a.getAttribute("rel").indexOf("style")!=-1&&a.getAttribute("title")&&!a.disabled){return a.getAttribute("title");}}return null;},getPreferredStyleSheet:function(){var i,a;for(i=0;(a=document.getElementsByTagName("link")[i]);i++){if(a.getAttribute("rel").indexOf("style")!=-1&&a.getAttribute("rel").indexOf("alt")==-1&&a.getAttribute("title")){return a.getAttribute("title");}}return null;},createCookie:function(_1a,_1b,_1c){if(_1c){var _1d=new Date();_1d.setTime(_1d.getTime()+(_1c*24*60*60*1000));var _1e="; expires="+_1d.toGMTString();}else{_1e="";}document.cookie=_1a+"="+_1b+_1e+"; path=/";},readCookie:function(_1f){var _20=_1f+"=";var ca=document.cookie.split(";");for(var i=0;i<ca.length;i++){var c=ca[i];while(c.charAt(0)==" "){c=c.substring(1,c.length);}if(c.indexOf(_20)==0){return c.substring(_20.length,c.length);}}return null;},onbeforeload:function(){this.pink.e=document.getElementById("farben").getElementsByTagName("a")[0];this.green.e=document.getElementById("farben").getElementsByTagName("a")[1];this.cyan.e=document.getElementById("farben").getElementsByTagName("a")[2];this.radiolink.e=document.getElementById("radiolink");this.pink.e.onclick=function(){POP.StyleSwitcher.setActiveStyleSheet("pink");return false;};this.green.e.onclick=function(){POP.StyleSwitcher.setActiveStyleSheet("green");return false;};this.cyan.e.onclick=function(){POP.StyleSwitcher.setActiveStyleSheet("cyan");return false;};this.radiolink.e.onclick=function(){popup("http://popnutten.de/verstaerker/index.php",370,165);return false;};var _24=this.readCookie("style");var _25=_24?_24:getPreferredStyleSheet();if(_25==""){_25="pink";}this.setActiveStyleSheet(_25);},onunload:function(){var _26=this.getActiveStyleSheet();this.createCookie("style",_26,365);}};POP.Flash={html:"<object class=\"oton-player\" width=\"34\" height=\"13\"><param name=\"movie\" value=\"/stream.swf\"><param value=\"false\" name=\"loop\"/><param value=\"high\" name=\"quality\"/><param value=\"noscale\" name=\"scale\"/><param value=\"#ffffff\" name=\"bgcolor\"/><param value=\"path=XXXPATH\" name=\"flashvars\"/><embed src=\"/stream.swf\" width=\"34\" height=\"13\" type=\"application/x-shockwave-flash\" name=\"stream\" bgcolor=\"#ffffff\" scale=\"noscale\" quality=\"high\" loop=\"false\" flashvars=\"path=XXXPATH\"></embed></object>",onload:function(){$("content").getElements(".oton").each(function(o){a=o.getElements("a")[0];path=a.href.replace(/http:\/\/www.popnutten.de\/go.php\?/,"");o.innerHTML=POP.Flash.html.replace(/XXXPATH/g,path)+a.innerHTML;});}};window.onload=function(){POP.onload();};window.onresize=function(){POP.onresize();};window.onunload=function(){POP.onunload();};function popup(_28,_29,_2a){target="_blank";prefs="resizable=no,scrollbars=no,menubar=no,toolbar=no,directories=no,location=no,status=yes,width="+_29+",height="+_2a;thWin=window.open(_28,target,prefs);thWin.focus();}function Go(_2b){var _2c=_2b.options[_2b.options.selectedIndex].value;if(_2c=="leer"){_2b.form.reset();this.focus();return;}else{if(_2c=="ende"){this.location.href=this.location.href;}else{this.location.href=_2c;_2b.form.reset();this.focus();}}}