(function(a){a.fn.newsTicker=a.fn.newsticker=function(b){a("#news").show();a("#news2").show();a("#extLinks").show();a("#ctl00_cpleftmenu_BannerRotator_firstBanner").hide();a("#ctl00_cpleftmenu_BannerRotator_firstBanner").hide();b=b||SetTime;initTicker=function(c){stopTicker(c);c.items=a("li",c);c.items.not(":eq(0)").hide().end();c.currentitem=0;startTicker(c)};startTicker=function(c){c.tickfn=setInterval(function(){doTick(c)},b)};stopTicker=function(c){clearInterval(c.tickfn)};pauseTicker=function(c){c.pause=true};resumeTicker=function(c){c.pause=false};doTick=function(c){if(c.pause){return}c.pause=true;a(c.items[c.currentitem]).fadeOut("slow",function(){a(this).hide();c.currentitem=++c.currentitem%(c.items.size());a(c.items[c.currentitem]).fadeIn("slow",function(){c.pause=false})})};this.each(function(){if(this.nodeName.toLowerCase()!="ul"){return}initTicker(this)}).addClass("newsticker").hover(function(){pauseTicker(this)},function(){resumeTicker(this)});return this}})(jQuery);