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=604&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: 1762228994,
    nonceStr: '6938MpRsMkEfklne',
    signature: '13a53d7457545b4c7591179dec8ac9c6c50148ba',
    jsApiList: [    
      'checkJsApi',    
      'onMenuShareTimeline',    
      'onMenuShareAppMessage',    
      'onMenuShareQQ',    
      'onMenuShareWeibo',
    ]    
  });
  wx.ready(function () {
      var WxShareInfo = {"titlepic":"http:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u5e38\u5dde\u4e00\u9662:\u201c\u533b\u4e8c\u4ee3\u201d\u8fd9\u6837\u8bf4\u2026\u2026","smalltext":"\u90fd\u8bf4\u7236\u7231\u5982\u5c71\u6df1\u6c89\u4f1f\u5927\u5374\u4e0d\u5584\u8868\u8fbe\u9ed8\u9ed8\u4ed8\u51fa\u800c\u4e0d\u6c42\u56de\u62a5\u80cc\u540e\u6c47\u805a\u7684\u90fd\u662f\u6e29\u6696\u548c\u72316\u670816\u65e5\u662f\u7236\u4eb2\u8282\u4eca\u5929\u8ddf\u968f\u5c0f\u7f16\u4e00\u8d77\u542c\u6c5f\u82cf\u7701\u5e38\u5dde\u4e00\u9662\u7684\u201c\u533b\u4e8c\u4ee3\u201d\u804a\u804a\u4ed6\u4eec\u773c\u91cc\u7684\u7236\u4eb2 \u5b59\u5609\u8bd1\u2764\u5b59\u514b","url":"http:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=604"};
      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 () { 
          }
      });
  });
}