window.addEvent('domready',function(){if(!isNaN($('searchFld').getStyle('height').toInt())){var myRemixDivs=$$('div.remix_link');var headings=myRemixDivs.getElements('h1');var list=myRemixDivs.getElements('ul');list.each(function(ul){ul.setStyle('margin',0);ul.getFirst('li').setStyles({'border':'none','margin':0,'padding':0})});var myAccordion=new Accordion(headings,list,{display:-1,onActive:function(headings,list){list.setStyles({'margin-bottom':10,'margin-top':5})},onBackground:function(headings,list){list.setStyles({'margin-bottom':0,'margin-top':0})}});headings.each(function(e){e.addEvent('mouseenter',function(){this.fireEvent('click')})});var H=window.getScrollSize().y-130-$('navigation').getStyle('height').toInt();var A=new Fx.Tween($('navigation'),{duration:100,property:'top',transition:Fx.Transitions.Quint.easeOut,link:'cancel'});window.addEvent("scroll",function(B){var S=window.getScroll().y;if(S<H){if(S>200){A.set(S-200)}else{A.set(0)}}})}$$('a.tipz').each(function(element,index){var content=element.get('title').split('|');element.store('tip:title',content[0]);content[1]=content[1].replace(/:/g,'<br />');element.store('tip:text',content[1])});var tipz=new Tips('.tipz',{className:'tipz',fixed:true,hideDelay:50,showDelay:50});tipz.addEvents({'show':function(tip){tip.fade(0.85)},'hide':function(tip){tip.fade('out')}})});
