$().ready(function(){$("#sideNav").accordion({active:".selected",selectedClass:"active",header:".head",navigation:true,event:"click",autoheight:false,animated:"easeslide"})});var headline_count;var headline_interval;var old_headline=0;var current_headline=0;var intervalTimer=7000;var slideSpeed=1000;var isRotating=false;$(document).ready(function(){headline_count=$("div.newsItem").size();$("div.newsItem:eq("+current_headline+")").css("top","5px");if(headline_count>1){headline_interval=setInterval(headline_rotate,intervalTimer);$("#newsTicker").hover(function(){clearInterval(headline_interval)},function(){if(!isRotating){headline_interval=setInterval(headline_rotate,intervalTimer);headline_rotate()}})}});function headline_rotate(){isRotating=true;current_headline=(old_headline+1)%headline_count;$("div.newsItem:eq("+old_headline+")").animate({top:-205},slideSpeed,function(){$(this).css("top","210px");isRotating=false});$("div.newsItem:eq("+current_headline+")").show().animate({top:5},slideSpeed);old_headline=current_headline}(function(a){a.fn.slideShow=function(f){var b={slideSpeed:5000};var f=a.extend(b,f);var d=a(this);var g=a("a",d);var c=a(".caption",d);g.hide().css("cursor","default");a(g[0]).show().addClass("show");a(".content",d).html(a(g[0]).find("img").attr("alt")).show();if(g.length>1){var e=setInterval("gallery()",f.slideSpeed);a(this).hover(function(){clearInterval(e)},function(){e=setInterval("gallery()",f.slideSpeed)})}return this}})(jQuery);function gallery(){var a=($("#gallery a.show")?$("#gallery a.show"):$("#gallery a:first"));var c=((a.next().length)?((a.next().hasClass("caption"))?$("#gallery a:first"):a.next()):$("#gallery a:first"));var b=c.find("img").attr("alt");c.addClass("show").fadeIn(1000);$("#gallery .content").hide();a.hide().removeClass("show");$("#gallery .content").html(b).show()}(function(a){a.fn.stripeMe=function(){var c=a(this);var d=a("tr:not(:first)",c);var b=a("tr:not(:first):odd",c);d.mouseover(function(){a(this).addClass("over")}).mouseout(function(){a(this).removeClass("over")});b.addClass("odd");return this}})(jQuery);$().ready(function(){var b=$('a[href$=".pdf"]');var a=$(b).width();b.addClass("pdfLink").css("width",a+10)});
