window.addEvent("domready",function(){if(document.all&&document.getElementById){$$("#topNavigation ul li").each(function(a,b){a.addEvent("mouseenter",function(){$(this).addClass("hover")});a.addEvent("mouseleave",function(){$(this).removeClass("hover")})});$$(".landingPageItem").each(function(a,b){a.addEvent("mouseenter",function(){$(this).addClass("hover")});a.addEvent("mouseleave",function(){$(this).removeClass("hover")})})}var c=new Accordion('h2.aHeader','.aContent',{opacity:false,duration:200,onActive:function(a,b){b.setStyle('margin-bottom',20)},onBackground:function(a,b){b.setStyle('margin-bottom',0)},alwaysHide:true,show:-1},$('accordion'))});function changeLoc(a){window.location=a}var SmoothScroll=Fx.Scroll.extend({initialize:function(c){this.parent(window,c);this.links=(this.options.links)?$$(this.options.links):$$(document.links);var d=window.location.href.match(/^[^#]*/)[0]+'#';this.links.each(function(a){if(a.href.indexOf(d)!=0)return;var b=a.href.substr(d.length);if(b&&$(b)&&!a.rel.test(/^lightbox/i))this.useLink(a,b)},this);if(!window.webkit419)this.addEvent('onComplete',function(){window.location.hash=this.anchor})},useLink:function(b,c){b.addEvent('click',function(a){this.anchor=c;this.toElement(c);a.stop()}.bindWithEvent(this))}});
