/* This file may be copyrighted. It has been obfuscated for brevity, not for secrecy. Check http://www.guelich-gruppe.de/layout.js?clear */var _menu_ul_animators=Array();var menu_ul_animator=Class.create({initialize:function(a){this.li=a;this.ul=a.down("ul");this.hidden=true;this.timer=null;var b=this;Event.observe(a,"mouseover",function(c){b.onmouseover(c)});Event.observe(a,"mousemove",function(c){b.onmouseover(c)});Event.observe(a,"mouseout",function(c){b.onmouseout(c)});if(a.hasClassName("open")){this.onmouseover()}_menu_ul_animators.push(this)},onmouseover:function(a){if(this.timer!=null){window.clearTimeout(this.timer);this.timer=null}if(this.hidden){_menu_ul_animators.each(function(b){b.hide_fast()});Effect.Appear(this.ul,{duration:0.25});this.hidden=false}},onmouseout:function(b){var a=this;this.timer=window.setTimeout(function(){a.hide()},100)},hide:function(){if(this.timer!=null){window.clearTimeout(this.timer);this.timer=null}var a=this;Effect.Fade(this.ul,{duration:0.25,afterFinish:function(){a.hidden=true}})},hide_fast:function(){if(this.timer!=null){window.clearTimeout(this.timer);this.timer=null}this.ul.hide();this.hidden=true}});document.observe("dom:loaded",function(){$$("#oben > li > ul").each(function(d){var e=d.parentNode;d.style.marginLeft="-"+e.getWidth()+"px"});var b=$$("#person-box div.box .direkterede");if(b.length>0){var c=b[0];$("links").style.height=($("links").getHeight()+c.getHeight())+"px"}var a=0;new Array("links","content","main","margin").each(function(d){if($(d).getHeight()>a){a=$(d).getHeight()}});a+=$("main").offsetTop;$("imprint").style.top=(a+$("bottom").getHeight())+"px";$("imprint").show();$("bottom").style.top=a+"px";$("bottom").show();$("oben").select("> li.subitems").each(function(d){new menu_ul_animator(d)})});
