function animateFeaturedPages(){var g,j,e,i,b,d,h,f,c;if(stopAnimation){return}g=hum.isIE()?0:32;j=15;e=231;function a(){b=h.offsetLeft-g+e+8;if(b>0){if(b==startPixels){d=h.cloneNode(true);d.style.marginLeft="3px";d.style.marginRight="0";f.appendChild(d)}i=b>=j?j:b;h.style.marginLeft=(h.offsetLeft-j-g)+"px";setTimeout(a,10)}else{f.removeChild(h);h=f.getElementsByTagName("li").item(0);h.style.marginLeft="0";h.style.marginRight="1px";jQuery("img",f).slice(-1).fadeIn(200)}}f=document.getElementById("breakout").getElementsByTagName("ul").item(0);h=f.getElementsByTagName("li").item(0);startPixels=h.offsetLeft-g+e+8;b=startPixels;c=h.getElementsByTagName("img").item(0);jQuery(c).fadeOut(150,a);c=f.getElementsByTagName("img").item(3);c.style.display="block"}function slideTag(){var b,a;hum.createCookie("cTest","pass",1);b=hum.readCookie("cTest");hum.eraseCookie("cTest");if(b!="pass"){return null}a=hum.readCookie("slidden");if(!a&&!document.getElementById("featuredpages")){hum.createCookie("slidden","1",1);jQuery("p.tagline img").css("display","none");setTimeout(function(){jQuery("p.tagline img").show("slow")},30)}}var stopAnimation=false;DomLoaded.load(function(){var b=jQuery("#primarymenu > ul > li > a").get();for(var a=0;a<b.length;++a){b[a].innerHTML=b[a].innerHTML.toLowerCase()}hum.textToImage("primarymenu","primary");hum.textToImage(jQuery("#sectionmenu > ul > li > a").get(),"section");hum.externalLinks();if(document.getElementById("featuredpages")&&!hum.isIE6()&&!hum.isIE8()){jQuery("div#breakout ul").hover(function(){stopAnimation=true},function(){stopAnimation=false});setInterval(animateFeaturedPages,3000)}if(!hum.isIE6()){slideTag()}if(!document.getElementById("featuredpages")&&hum.isIE()){jQuery("div#maincontentwrapper div#maincontent").append("<p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p>")}if(!document.getElementById("featuredpages")&&!hum.isIE6()){jQuery("div#maincontent").jScrollPane({scrollbarWidth:21,arrowBorder:1,arrowSize:19,showArrows:true})}hum.enableImageSelector();jQuery("div#imageselector img:first-child").css("margin-right","12px");hum.analytics()});if(typeof sIFR!="undefined"){var vag={src:BASE_URL+"/assets/vag.swf"};sIFR.useStyleCheck=true;sIFR.activate(vag);sIFR.replace(vag,{selector:"div#welcome p",css:".sIFR-root {color:#ffffff;background-color:#4c2177;font-size:20px}a{color:#ffffff;text-decoration:underline}a:hover{color:#ffffff;text-decoration:underline}",wmode:"transparent",tuneHeight:0})};