jQuery(document).ready(function(){jQuery('a[href^=#]').click(function(){if(location.pathname.replace(/^\//,'')==this.pathname.replace(/^\//,'')&&location.hostname==this.hostname){var $target=jQuery(this.hash);$target=$target.length&&$target||$('[name='+this.hash.slice(1)+']');if($target.length){var targetOffset=$target.offset().top;jQuery('html,body').animate({scrollTop:targetOffset},600);return false;}}});jQuery('#rssChoicesToggle, #rssList').mouseover(function(){if(window.willhide)clearTimeout(window.willhide);jQuery('#rssChoicesToggle').addClass('focus');jQuery('#rssList').fadeIn('slow');});jQuery('#rssChoicesToggle,#rssList').mouseout(function(){window.willhide=setTimeout(function(){jQuery('#rssChoicesToggle').removeClass('focus');jQuery('#rssList').fadeOut('medium');},750);});jQuery('#rssList li').hover(function(){jQuery(this).toggleClass('focus');},function(){jQuery(this).toggleClass('focus');});jQuery('#toggleDownloads, #downloadsList').mouseover(function(){if(window.willhide)clearTimeout(window.willhide);jQuery('#toggleDownloads').addClass('focus');jQuery('#downloadsList').fadeIn('slow');});jQuery('#toggleDownloads, #downloadsList').mouseout(function(){window.willhide=setTimeout(function(){jQuery('#toggleDownloads').removeClass('focus');jQuery('#downloadsList').fadeOut('medium');},750);});jQuery('#downloadsList li').hover(function(){jQuery(this).toggleClass('focus');},function(){jQuery(this).toggleClass('focus');});jQuery('#latestToggle, #cancelContribution, .inlineToggleContribute').click(function(){jQuery('#contributionsForm,#fadeContainer').animate({opacity:'toggle'});return false;});jQuery('#scrollFollow').scrollFollow({offset:0,speed:500});});