jQuery(document).ready(function($){ 
//2010-3-9 实现sidebar的链接的平滑移动	
$(".side-tab dt ul li,.topictitle a,.archivelist ul li a,.st-related-posts li a").hover(function () {
    $(this).stop().animate({marginLeft:"+=5"}, 250);
    },
    function () {
      $(this).stop().animate({marginLeft:"0"}, 150);}); 


$('.topictitle a').click(function(){
    $(this).text('页面载入中……');
    window.location = $(this).attr('href');
    });


//2010-03-10实现tab切换向上滚动效果
//$('.side-tab dd ol li').mouseover(function(){
//	$(this).addClass("current").siblings().removeClass();
//	$(".side-tab dt > ul").eq($('.side-tab dd ol li').index(this)).show().siblings().hide();
//});

$('.side-tab dd ol li').mouseover(function(){
	$(this).addClass("current").siblings().removeClass();
	$(".side-tab dt > ul").slideUp('1500').eq($('.side-tab dd ol li').index(this)).slideDown('1500');
});



}); 
