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=3859&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: 1762249394,
    nonceStr: 'T5a9J3OBtAcRGQrJ',
    signature: '10a5fc99449bf067d70bb20400005f95e26aeaf2',
    jsApiList: [    
      'checkJsApi',    
      'onMenuShareTimeline',    
      'onMenuShareAppMessage',    
      'onMenuShareQQ',    
      'onMenuShareWeibo',
    ]    
  });
  wx.ready(function () {
      var WxShareInfo = {"titlepic":"http:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u6e56\u5317\u7701\u4e2d\u5c71\u533b\u9662\uff1a31\u5c81\u201c\u63d0\u524d\u4e2d\u98ce\u201d\uff0c\u8fd9\u5c4a\u5e74\u8f7b\u4eba\u771f\u8be5\u8b66\u60d5\u4e86","smalltext":"       \u8111\u5352\u4e2d\u4e5f\u79f0\u4e3a\u8111\u4e2d\u98ce\uff0c\u7531\u4e8e\u8111\u8840\u7ba1\u53d1\u751f\u7834\u88c2\u51fa\u8840\u6216\u56e0\u8840\u7ba1\u5835\u585e\u9020\u6210\u5927\u8111\u7f3a\u8840\u3001\u7f3a\u6c27\u800c\u5f15\u8d77\u3002\u4eca\u5e74\u53d1\u5e03\u7684\u300a\u4e2d\u56fd\u5352\u4e2d\u62a5\u544a2019\u300b\u663e\u793a\uff0c\u5352\u4e2d\u5df2\u6210\u4e3a\u6211\u56fd\u5c45\u6c11\u4e3b\u8981\u7684\u6b7b\u4ea1\u539f\u56e0\u4e4b\u4e00\uff0c\u5e26\u75c5","url":"http:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=3859"};
      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 () { 
          }
      });
  });
}