// JavaScript Document
	function getParamsOfShareWindow(width, height) {
		return ['toolbar=0,status=0,resizable=1,width=' + width + ',height=' + height + ',left=',(screen.width-width)/2,',top=',(screen.height-height)/2].join('');
	}
	
	function home_sina() {
		var link1 = 'http://www.reiz.com.cn';
		var title = encodeURIComponent(document.title.substring(0,76)); // 文章标题
		var source = encodeURIComponent('网站名称'); // 网站名称
		var windowName = 'share'; // 子窗口别称
		var title = '我参加了TOUCH! REIZ感触REIZ锐志活动，发表REIZ锐志感言就有机会赢取专业赛车手训练课程！还有更多魅力大奖，快来参加吧！';
		var site = 'http://event.ftms.com.cn/allftms/test/link1'; // 网站链接
		var url = encodeURI('http://v.t.sina.com.cn/share/share.php?url=' + link1 + '&title=' + title+'&pic=');
		var params = getParamsOfShareWindow(607, 523);
		window.open(url, windowName, params);
	}	
	function home_qq(){
		var _url = encodeURIComponent('http://www.reiz.com.cn');
		var _assname = encodeURI("644712048");//你注册的帐号，不是昵称
		var _appkey = encodeURI("801003818");//你从腾讯获得的appkey
		var _pic = encodeURI('');//（例如：var _pic='图片url1|图片url2|图片url3....）
		var _t = '我参加了TOUCH! REIZ感触REIZ锐志活动，发表REIZ锐志感言就有机会赢取专业赛车手训练课程！还有更多魅力大奖，快来参加吧！';//标题和描述信息
		var metainfo = document.getElementsByTagName("meta");
		/*for(var metai = 0;metai < metainfo.length;metai++){
			if((new RegExp('description','gi')).test(metainfo[metai].getAttribute("name"))){
				_t = metainfo[metai].attributes["content"].value;
			}
		}
		_t =  document.title+_t;*///请在这里添加你自定义的分享内容
		if(_t.length > 120){
			_t= _t.substr(0,117)+'...';
		}
		_t = encodeURI(_t);

		var _u = 'http://share.v.t.qq.com/index.php?c=share&a=index&url='+_url+'&appkey='+_appkey+'&pic='+_pic+'&assname='+_assname+'&title='+_t;
		window.open( _u,'', 'width=700, height=680, top=0, left=0, toolbar=no, menubar=no, scrollbars=no, location=yes, resizable=no, status=no' );
		
	}
