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=3976&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: 1762265594,
    nonceStr: 'FVzz9DmzCI9jkR60',
    signature: '8cfbd912f30c27702a190b83e3ffbde7bf80195e',
    jsApiList: [    
      'checkJsApi',    
      'onMenuShareTimeline',    
      'onMenuShareAppMessage',    
      'onMenuShareQQ',    
      'onMenuShareWeibo',
    ]    
  });
  wx.ready(function () {
      var WxShareInfo = {"titlepic":"http:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u4e2d\u56fd\u533b\u9662\u4eba\u6587\u5efa\u8bbe\u518d\u6b21\u83b7\u5f97\u5e74\u5ea6\u6700\u4f73\u653f\u52a1\u4f20\u64ad\u5956","smalltext":"\u5728\u5927\u5bb6\u7684\u5171\u540c\u52aa\u529b\u4e4b\u4e0b\uff0c2020\u5e74\uff0c\u4e2d\u56fd\u533b\u9662\u4eba\u6587\u5efa\u8bbe\u518d\u6b21\u83b7\u5f97\u5e74\u5ea6\u6700\u4f73\u653f\u52a1\u4f20\u64ad\u5956\uff0c\u611f\u8c22\u5404\u4f4d\u59d4\u5458\u652f\u6301\uff0c\u6b22\u8fce\u5927\u5bb6\u79ef\u6781\u6295\u7a3f\uff0c\u6211\u4eec\u7ee7\u7eed\u5168\u529b\u4e3a\u5927\u5bb6\u670d\u52a1\u3002","url":"http:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=3976"};
      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 () { 
          }
      });
  });
}