	  /*
	  google.load("feeds", "1");
	  var loadFriendFeed=function(){
			var friendCont=$("#mostcomments");
			if(!friendCont) return;
			var feedUrl=friendCont.find("li");
			feedUrl.each(function(i){
				//$(this).append("<ul><li>loading...</li></ul>");
				var href=$(this).find("a").attr("href");
				var feedItem=new findFeed(this,href);
				feedItem.searchFeed();
			});
	  }
	  var findFeed=function(tparent,href){
			var tp=this;
			tp.p=$(tparent).find('ul li');
			tp.hf=href;
			this.searchFeed=function(){
				google.feeds.lookupFeed(this.hf,this.searchDone);
			}
			this.searchDone=function(result){
				var feed=new google.feeds.Feed(result.url);
				feed.load(function(result){
					if(!result.error){
						var title=result.feed.entries[0].title;
						console.log(title);
						var date=new Date(result.feed.entries[0].publishedDate);
						tp.p.fadeOut('fast',function(){$(this).html("").html(title)});
						tp.p.fadeIn('fast');
					}else{
						tp.p.fadeOut('fast',function(){$(this).html("").html("未发现供稿")});
						tp.p.fadeIn('fast');

					}
				})
			}
	  }
      google.setOnLoadCallback(function() {loadFriendFeed()});
*/

function checkIe(){
if($.browser.msie && $.browser.version < 7){
$('<div class="top-border" id="checkIe6">你现在用的是IE6浏览器，请更新至<a href="http://www.microsoft.com/china/windows/internet-explorer/" title="IE8">IE8</a>或试一试<a href="http://www.mozillaonline.com/" title="Firefox">Firefox</a>浏览器！<a  href="#" id="closeit" title="close">关闭</a></div>').prependTo('#wap2');
}
}

function closeThis(){
		$('#loader-main').remove();
	}
function openURL(info){
	this.url=info.url||'http://yslove.net';
	this.target=info.target||"_self";
	window.location=url;
}


$(function(){
	checkIe();
	$("#logo").ifixpng();
	$("#rss").ifixpng();
	$(".footer").ifixpng();
	$('.des').css({opacity:'0.8'});
	$('.des').hide();
	$('.des').click(function(){
		var urltmp=$(this).find('.p-img-title').attr('href');
		openURL({url:urltmp});
	});

$('.pic-col').hover(function(){
    $(this).find('.des').stop('true','true').fadeIn('1');
},function(){
    $(this).find('.des').stop('true','true').fadeOut('0');
});

//$('.commentlist li').each(function(){
//	$(this).find('.comment-childs').parent().addClass('has-child');
//});

$('#closeit').click(function(){
	$('#checkIe6').slideUp('fast');
});

$('#mainGallery a').each(function(){
	var hrf=$(this).attr("href");
	var i=hrf.indexOf("yslove");
	if($(this).contents().is('img')&&i!=-1)
		$(this).lightBox();
});

//$('a[rel*="external"]').attr('target','_blank');
$('a[rel*="external"]').attr('target','_blank');

}) 

