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=171&classid=12&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: 1761934413,
    nonceStr: '5H2dzhzINr0QoXnG',
    signature: 'a4ad8b063773177a21b86cbb19d0537ea088e0c4',
    jsApiList: [    
      'checkJsApi',    
      'onMenuShareTimeline',    
      'onMenuShareAppMessage',    
      'onMenuShareQQ',    
      'onMenuShareWeibo',
    ]    
  });
  wx.ready(function () {
      var WxShareInfo = {"titlepic":"https:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u5c71\u4e1c\u5927\u5b66\u7b2c\u4e8c\u533b\u9662\u5f20\u745e\u96ea","smalltext":"\u5f20\u745e\u96ea\u662f\u5c71\u4e1c\u5927\u5b66\u7b2c\u4e8c\u533b\u9662\u5ba3\u4f20\u90e8\/\u65b0\u95fb\u4e2d\u5fc3\/\u65b0\u95fb\u4e2d\u5fc3\u90e8\u957f\uff0c\u526f\u7f16\u5ba1\u3002\u8fd9\u4e9b\u5e74\uff0c\u5979\u4e00\u76f4\u4ece\u4e8b\u533b\u9662\u6587\u5316\u5ba3\u4f20\u5de5\u4f5c\u3002\u4e00\u3001\u5916\u5ba3\u201c\u9a91\u5175\u201d\uff0c\u591a\u6b21\u5f15\u7206\u65b0\u95fb\u70ed\u70b9\u8d1f\u8d23\u533b\u9662\u7684\u5bf9\u5916\u5ba3\u4f20\u5de5\u4f5c\uff0c\u521b\u529e\u5e76\u4e3b\u7ba1\u533b","url":"https:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=12&id=171"};
      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 () { 
          }
      });
  });
}