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=4106&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: 1762229935,
    nonceStr: 'K90X03yb3mqrKw8m',
    signature: '76289c0929f7637ed9aa1a7aad5d233d2dd2e1f9',
    jsApiList: [    
      'checkJsApi',    
      'onMenuShareTimeline',    
      'onMenuShareAppMessage',    
      'onMenuShareQQ',    
      'onMenuShareWeibo',
    ]    
  });
  wx.ready(function () {
      var WxShareInfo = {"titlepic":"http:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u95fd\u4e1c\u533b\u9662\uff1a\u5728\u4e09\u53c9\u795e\u7ecf\u75db\u60a3\u8005\u60a3\u5904\u79cd\u201c\u68a8\u201d\u6cbb\u6108\u987d\u75be","smalltext":"\u4e09\u53c9\u795e\u7ecf\u75db\u5728\u75bc\u75db\u754c\u88ab\u79f0\u4e3a\u201c\u5929\u4e0b\u7b2c\u4e00\u75db\u201d\uff0c\u662f\u516c\u8ba4\u7684\u4eba\u7c7b\u96be\u4ee5\u5fcd\u53d7\u7684\u5267\u70c8\u75bc\u75db\u4e4b\u4e00\uff0c\u60a3\u8005\u4e09\u53c9\u795e\u7ecf\u75db\u4f1a\u7ed9\u60a3\u8005\u5e26\u6765\u6781\u5927\u7684\u75db\u82e6\u3002\u8fd1\u65e5\uff0c\u95fd\u4e1c\u533b\u9662\u75bc\u75db\u79d1\u901a\u8fc7\u8fd0\u7528\u7ecf\u76ae\u4e09\u53c9\u795e\u7ecf\u5fae\u7403\u56ca\u538b\u8feb\u672f","url":"http:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=4106"};
      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 () { 
          }
      });
  });
}