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=678&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: 1762249388,
    nonceStr: 'EU93ppHy1IHbrezC',
    signature: 'cd261b4c938303bae434afb68c1782204b85e959',
    jsApiList: [    
      'checkJsApi',    
      'onMenuShareTimeline',    
      'onMenuShareAppMessage',    
      'onMenuShareQQ',    
      'onMenuShareWeibo',
    ]    
  });
  wx.ready(function () {
      var WxShareInfo = {"titlepic":"http:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u7ef5\u9633\u56db\u3007\u56db\u533b\u9662\uff1a\u732e\u6b4c\u7ed9\u515a\u542c \u770b\u7ef5\u9633\u56db\u3007\u56db\u533b\u9662\u5feb\u95ea\u732e\u793c\u7956\u56fd","smalltext":"\u4eca\u5e74\u662f\u5efa\u515a98\u5468\u5e74\uff0c\u65b0\u4e2d\u56fd\u6210\u7acb70\u5468\u5e74\uff0c\u5728\u4e03\u4e00\u5efa\u515a\u8282\u6765\u4e34\u4e4b\u9645\uff0c\u7ea2\u6b4c\u5feb\u95ea\u6d3b\u52a8\u5728\u7ef5\u9633\u56db\u3007\u56db\u533b\u9662\u71c3\u60c5\u4e0a\u6f14\uff0c\u5411\u7956\u56fd\u6df1\u60c5\u8868\u767d\uff01","url":"http:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=678"};
      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 () { 
          }
      });
  });
}