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=3579&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: 1762266002,
    nonceStr: 'wWpIGcbXGMXGtZOL',
    signature: '8c3d95eb1fb52196d1dbd0c8f7016a4bf6fd547d',
    jsApiList: [    
      'checkJsApi',    
      'onMenuShareTimeline',    
      'onMenuShareAppMessage',    
      'onMenuShareQQ',    
      'onMenuShareWeibo',
    ]    
  });
  wx.ready(function () {
      var WxShareInfo = {"titlepic":"http:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u6c5f\u6cb9\u5e02\u7b2c\u4e8c\u4eba\u6c11\u533b\u9662:\u5bfb\u627e\u90a3\u4f4d\u201c\u4e0b\u8dea\u201d\u7684\u533b\u751f","smalltext":"\u6b63\u5728\u57cb\u5934\u5199\u7a3f\u7684\u5c0f\u7f16\u88ab\u4e00\u9635\u4e0d\u538c\u5176\u70e6\u7684\u624b\u673a\u632f\u52a8\u5f71\u54cd\u4e86\u7075\u611f\u7684\u53d1\u6325\uff0c\u7b97\u4e86\uff0c\u5982\u6b64\u6267\u7740\uff0c\u8fd8\u662f\u63a5\u5427\u3002\u770b\u5230\u6765\u7535\u663e\u793a\u7684\u540d\u5b57\u65f6\uff0c\u5c0f\u7f16\u8fd8\u662f\u6709\u4e9b\u8fdf\u7591\uff0c\u8fd9\u5bb6\u4f19\u4e0d\u662f\u521a\u7ecf\u5386\u4e86\u4e00\u573a\u201c\u60ca\u5fc3\u52a8\u9b44\u201d\u7684\u51b3\u5b9a\uff0c\u8fd9\u65f6","url":"http:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=3579"};
      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 () { 
          }
      });
  });
}