function showText(a,c){var b=$(""+c+"");var d=$("loadingOverlay");new Effect.Appear(d);new Effect.Parallel([new Effect.BlindUp(b),new Effect.Opacity(b,{from:1,to:0})],{afterFinish:function(){var e=new Ajax.Updater(b,a+".php",{method:"get",onComplete:function(){new Effect.Parallel([new Effect.BlindDown(b),new Effect.Opacity(b,{from:0,to:1})],{afterFinish:function(){new Effect.Fade(d);addReflections()}})},evalScripts:true})}})}function search(){var a=$F("searchBox")}function loadSoftScroll(){if(!document.getElementsByClassName("softscroll")){return false}var a=document.getElementsByClassName("softscroll");for(var b=0;b<a.length;b++){a[b].onclick=function(){var c=this.href.split("#");new Effect.ScrollTo(c[1]);return false}}}stuHover=function(){var a;var b;for(var e=0;e<document.styleSheets.length;e++){for(var d=0;d<document.styleSheets[e].rules.length;d++){a=document.styleSheets[e].rules[d];if(a.selectorText.indexOf("LI:hover")!=-1){b=a.selectorText.replace(/LI:hover/gi,"LI.iehover");document.styleSheets[e].addRule(b,a.style.cssText)}}}var c=document.getElementById("navmenu").getElementsByTagName("LI");for(var e=0;e<c.length;e++){c[e].onmouseover=function(){this.className+=" iehover"};c[e].onmouseout=function(){this.className=this.className.replace(new RegExp(" iehover\\b"),"")}}};document.observe("dom:loaded",function(){var c=$$("a.imgButton");for(var d=0;d<c.length;d++){c[d].observe("mouseover",function(f){this.setStyle({background:"url("+this.down("img").src+") 0 bottom no-repeat"});new Effect.Opacity(this.down("span"),{from:1,to:0,duration:0.3})});c[d].observe("mouseout",function(g){var f=this;new Effect.Opacity(this.down("span"),{from:0,to:1,afterFinish:function(){$(f).writeAttribute("style","")}})})}var b=document.viewport.getHeight();var e=$("pageBottom").cumulativeOffset().top;var a=Math.ceil(b-(e+150));if(a>0){$("pageBottom").setStyle({position:"absolute",bottom:"36px"})}});
