var title = '芬达 第9课堂';	
var content = '暑假最fun最神秘的地方在哪里？就在追fun秘密基地—第9课堂。听从你的好奇心，一起来发现好玩之境，揭开快乐的秘密！消暑解闷follow me，无玩趣就在你身边！';
var url ='http://www.fanta.com.cn';// document.location.href;

function share_renren() {
	
	window.open('http://share.renren.com/share/buttonshare.do?link=' + encodeURIComponent(url+"/renren.html"), '_blank');
	
	//window.open('http://share.renren.com/share/buttonshare.do?link=' + encodeURIComponent(url) + '&title=' + encodeURIComponent(title), '_blank');
}

function share_kxin() {
	window.open('http://www.kaixin001.com/repaste/share.php?rtitle=' + encodeURIComponent(title) + '&rurl=' + encodeURIComponent(url) + '&rcontent=' + encodeURIComponent(content), '_blank');
}


function share_sina() {
	window.open('http://v.t.sina.com.cn/share/share.php?title=' + encodeURIComponent(title + ' -- ' + content+ "\n" + url), '_blank');
}

function share_qq() {
	
			var _t =encodeURIComponent(title+' -- '+content);
			var _url =url;
			var _appkey = encodeURI('appkey');//你从腾讯获得的appkey
			var _pic = encodeURI('');//（例如：var _pic='图片url1|图片url2|图片url3....）
			var _site = '';//你的网站地址
			var _u = 'http://v.t.qq.com/share/share.php?url='+_url+'&appkey='+_appkey+'&site='+_site+'&pic='+_pic+'&title='+_t;
			window.open( _u, '_blank' );
	
	//window.open('http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url='+encodeURIComponent(url), '_blank');
}
