function BeautyToast(text){var str=``+text+``;
try{var div=document.createElement("div");div.setAttribute("class","_BeautyToast");div.innerHTML=str;document.body.appendChild(div);setTimeout(function(){div.setAttribute("class","_BeautyToast onshow")},100);setTimeout(function(){div.setAttribute("class","_BeautyToast");setTimeout(function(){div.parentNode.removeChild(div)},200)},2000)}catch(e){}}
function updateViewtime(){
   var img =new Image(); 
   img.src='/e/extend/shareinfo/api/?act=leave&id=697&classid=5&t=';	
}
window.onunload=updateViewtime;setInterval(updateViewtime,2000);
var script=document.createElement("script");
script.type="text/javascript";
script.src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js";
document.getElementsByTagName('head')[0].appendChild(script); 
script.onload=function(){
  wx.config({
    debug: false,
    appId: 'wxad180590bbd7e222',
    timestamp: 1762265986,
    nonceStr: 'm1AEf7qzAsmHOR7I',
    signature: 'c7825c26a283d87cf0d0ebe6ec5d39e6796fc743',
    jsApiList: [    
      'checkJsApi',    
      'onMenuShareTimeline',    
      'onMenuShareAppMessage',    
      'onMenuShareQQ',    
      'onMenuShareWeibo',
    ]    
  });
  wx.ready(function () {
      var WxShareInfo = {"titlepic":"http:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u7ef5\u9633\u56db\u3007\u56db\u533b\u9662\uff1a\u533b\u8005\u6587\u9ece\u660e\u7528\u521d\u5fc3\u5b88\u671b\u4ec1\u5fc332\u5e74","smalltext":"\u6587\u9ece\u660e\uff1a\u56db\u5ddd\u7701\u536b\u5065\u59d4\u7b2c\u5341\u6279\u5b66\u672f\u6280\u672f\u5e26\u5934\u4eba\u3001\u7ef5\u9633\u56db\u3007\u56db\u533b\u9662\u6d88\u5316\u5185\u79d1\u4e3b\u4efb\u7528\u521d\u5fc3\u5b88\u671b\u4ec1\u5fc332\u5e74\uff0c\u52aa\u529b\u505a\u4e00\u4e2a\u6709\u6e29\u5ea6\u7684\u533b\u751f\u3002","url":"http:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=697"};
      if(!WxShareInfo.url){
        WxShareInfo.url = window.location.href;
      }
      wx.onMenuShareTimeline({
          title: WxShareInfo.title, 
          link: WxShareInfo.url, 
          imgUrl: WxShareInfo.titlepic,
          success: function (e) { 
             BeautyToast('分享成功');
          },
          cancel: function () { 
          }
      });
      wx.onMenuShareAppMessage({
          title: WxShareInfo.title, 
          desc: WxShareInfo.smalltext,
          link: WxShareInfo.url, 
          imgUrl: WxShareInfo.titlepic, 
          type: '', 
          dataUrl: '', 
          success: function (e) { 
             BeautyToast('分享成功');
          },
          cancel: function () { 
          }
      });
      wx.onMenuShareQQ({
          title: WxShareInfo.title, 
          desc: WxShareInfo.smalltext, 
          link: WxShareInfo.url, 
          imgUrl: WxShareInfo.titlepic,
          success: function () { 
             BeautyToast('分享成功');
          },
          cancel: function () { 
          }
      });
  });
}