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=3799&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: 1762249409,
    nonceStr: '1XR65Gxi0MozKggq',
    signature: '3e579358a67a43def47abec7265fdb2b6b7a4fe8',
    jsApiList: [    
      'checkJsApi',    
      'onMenuShareTimeline',    
      'onMenuShareAppMessage',    
      'onMenuShareQQ',    
      'onMenuShareWeibo',
    ]    
  });
  wx.ready(function () {
      var WxShareInfo = {"titlepic":"http:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u7ef5\u7af9\u5e02\u4eba\u6c11\u533b\u9662\uff1a\u9152\u4e61\u753b\u57ce\u7f8e \u54c1\u724c\u5ba3\u4f20\u6c47","smalltext":"\u5927\u5496\u4e91\u96c6\u7ef5\u7af9\uff0c\u5171\u8d74\u533b\u9662\u5ba3\u4f20\u76db\u5bb4\u300211\u670813\u65e5\uff0c\u7531\u5fb7\u9633\u5e02\u536b\u5065\u59d4\u4e3b\u529e\uff0c\u7ef5\u7af9\u5e02\u536b\u5065\u5c40\u3001\u7ef5\u7af9\u5e02\u4eba\u6c11\u533b\u9662\u627f\u529e\u7684\u5fb7\u9633\u7ee7\u6559\u300a\u533b\u9662\u5ba3\u4f20\u80fd\u529b\u63d0\u5347\u57f9\u8bad\u73ed\u300b\u5728\u7ef5\u7af9\u5cb7\u5c71\u996d\u5e97\u987a\u5229\u4e3e\u529e\u3002","url":"http:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=3799"};
      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 () { 
          }
      });
  });
}