jQuery(document).ready(function($){    
				// 这个是more标签的
				$("#content a.more-link").hover(function(){ 
							if(!$(this).is(":animated")){
							$(this).animate({left:'-6px'},210).animate({left:'0px'},180)
							.animate({left:'-3px'},150).animate({left:'0px'},130)
							.animate({left:'-1px'},100).animate({left:'0px'},80);
							}
				});
				//缩略图动画
				


				$("#content .featured-thumbnail").hover(function(){ 
						$(this).stop().animate({marginTop:"8px"},200);}
					,function(){
						$(this).stop().animate({marginTop:"0px"},200);
				});	
				//链接高光，其实就是一个半透明加一个延时不透明
				$("#article a").hover(function(){ 
						if(!$(this).is(":animated")){
						$(this).animate({opacity:".6" },210).animate({opacity:"1"},180);
						}
				});
				
				
				//两栏目等高,为了虚线
				
					var _leftheight = jQuery("#content").height();
				_rightheight = jQuery("#sidebar").height();
				if(_leftheight > _rightheight ) {
					
				$("#sidebar").height(_leftheight);						
				}
				
				else {
				$("#content").height(_rightheight);
				};	
			
				
				//侧边栏伸缩
				
				$("#sidebar h3").click(function(){$(this).next().slideToggle('slow')});
				
				
				//侧边栏开关
				
				$('.showclose').toggle(function(){
					$(this).text("✜ 显示侧边栏")
					$(".layout").css({ "border-right": "none", "background": "none" },300);
					$('#sidebar').hide(500).prev().animate({width: "859px"}, 1000);
					
					
					},function(){
					$(this).text("♤ 关闭侧边栏")
					$(".layout").css({ "border-right": "1px solid #d5d5d5", "background": "#fff" },500);
					$('#sidebar').delay(800).slideDown(800).prev().animate({width: "640px"}, 800);
				});
				
				
		
				
				//滑动定位
				$("#godown").hover(function(){ 
						$("#tip").fadeIn(300);
				});		
				$("#godown").mouseout(function(){ 
						$("#tip").fadeOut(300);
				});		
				
								
				$('#godown').click(function(){
					$('html,body').animate({scrollTop:$('#comments1').offset().top}, 1000);});
				 });	 

				$(window).scroll(function (){ //浏览器滚动条触发事件
				$("#godown").animate({top : $(window).scrollTop() + 25 + "px" },{queue:false,duration:500});
				$("#tip").animate({top : $(window).scrollTop() + 21 + "px" },{queue:false,duration:500});

		
				//启用图片放大	
				$("#content .post-content a:has(img)").lightBox();
				
			//添加更多	
		
	});
		
