
$(window).load(function(){$('#slider').nivoSlider({effect:'random',slices:20,animSpeed:500,pauseTime:5000,startSlide:0,directionNav:true,directionNavHide:true,controlNav:true,controlNavThumbs:false,controlNavThumbsFromRel:false,controlNavThumbsSearch:'.jpg',controlNavThumbsReplace:'_thumb.jpg',keyboardNav:true,pauseOnHover:true,manualAdvance:false,captionOpacity:0.8,beforeChange:function(){},afterChange:function(){},slideshowEnd:function(){}});});$('.nivo-slice').each(function(){text='<span class="links-inner">'+$(this).html()+'</span>';$(this).html(text);});$(document).ready(function(){$(".tab_content").slideUp("slow");$("ul.tabs li:first").addClass("active").show();$(".tab_content:first").slideDown("slow");$("ul.tabs li").click(function(){$("ul.tabs li").removeClass("active");$(this).addClass("active");$(".tab_content").slideUp("slow");var activeTab=$(this).find("a").attr("href");$(activeTab).slideDown("slow");return false;});});$(document).ready(function(){if($("#news-ticker").length>0){var options={newsList:"#news-ticker",tickerRate:100,startDelay:100,loopDelay:3000,placeHolder1:"_",placeHolder2:""}
$().newsTicker(options);}});$(document).ready(function(){$('#slider').hover(function(){$(".nivo-caption",this).stop().animate({bottom:'0'},{queue:false,duration:500});},function(){$(".nivo-caption",this).stop().animate({bottom:'-120px'},{queue:false,duration:500});});});;$(document).ready(function(){$('ul.sf-menu').superfish({delay:1000,animation:{opacity:'show',height:'show'},speed:'fast',autoArrows:false,dropShadows:false});});$(document).ready(function(){$("ul.pager a, ul.pager li.pager-current, #featured .nivo-controlNav, #breadcrumbs-inner").css("-webkit-border-radius","3px").css("-moz-border-radius","3px");$("form input.form-submit").css("-webkit-border-radius","4px").css("-moz-border-radius","4px");$("#search-box .form-submit").css("-webkit-border-radius","0").css("-moz-border-radius","0");});$(document).ready(function(){$('.extra-nav').hover(function(){$(this).animate({marginTop:'-17px'},150);},function(){$(this).animate({marginTop:"0"},150);});});
