var bshare_shost_name="https://static.bshare.cn",bshare_button_host="https://bshare.optimix.cn",bshare_web_host="https://www.bshare.cn";(function(e,g){if(!e.bshareutil||!e.bsharecontrol){var l=g.documentelement,d=navigator;e.buzz={};e.bsharecontrol={count:0,viewed:!1,bshareload:!1,clicked:!1};var h=e.bshareutil={requestedscripts:[],encode:encodeuricomponent,isie6:/msie|msie 6/.test(d.useragent),isie7:/msie 7/.test(d.useragent),isie8:/msie 8/.test(d.useragent),isie9:/msie 9/.test(d.useragent),isie:/microsoft internet explorer/.test(d.appname),isst:g.compatmode=="css1compat",isqk:function(){return h.isie6||h.isie&&!h.isst},eleinviewport:function(a){if(a.getboundingclientrect)return a= a.getboundingclientrect(),a.top>=0&&a.left>=0&&a.bottom<=(e.innerheight||l.clientheight)&&a.right<=(e.innerwidth||l.clientwidth);for(var b=a.offsettop,c=a.offsetleft,f=a.offsetwidth,k=a.offsetheight;a.offsetparent;)a=a.offsetparent,b+=a.offsettop,c+=a.offsetleft;return b>=e.pageyoffset&&c>=e.pagexoffset&&b+k<=e.pageyoffset+e.innerheight&&c+f<=e.pagexoffset+e.innerwidth},getelembyid:function(a){return g.getelementbyid(a)},createelement:function(a,b,c,f,k){a=g.createelement(a);if(b)a.id=b;if(c)a.classname= c;if(f)a.style.csstext=f;if(k)a.innerhtml=k;return a},formatparam:function(a,b){return typeof a=="number"?+b:typeof a=="boolean"?/^true$/i.test(b):b},isundefined:function(a){return typeof a=="undefined"},arraycontains:function(a,b,c){for(var f=a.length;f--;)if(!h.isundefined(b)&&a[f]===b||!h.isundefined(c)&&c.test(a[f]))return!0;return!1},loadscript:function(a,b){var c=h.requestedscripts;if(!h.arraycontains(c,a))/(bsmore|bshares887)(org)?\.js/.test(a)&&c.push(a),b=b||function(){},c=h.createelement("script"), c.src=a,c.type="text/javascript",c.charset="utf-8",c.onload=b,c.onreadystatechange=function(){/complete|loaded/.test(this.readystate)&&b()},g.getelementsbytagname("head")[0].appendchild(c)},loadstyle:function(a){var b=h.createelement("style");b.type="text/css";b.stylesheet?b.stylesheet.csstext=a:b.appendchild(g.createtextnode(a));g.getelementsbytagname("head")[0].appendchild(b)},getoffset:function(a){for(var b={x:a.offsetleft,y:a.offsettop,h:a.offsetheight,w:a.offsetwidth};a=a.offsetparent;b.x+=a.offsetleft, b.y+=a.offsettop);return b},getelem:function(a,b,c,f){for(var a=a.getelementsbytagname(b),b=[],k=0,d=0,e=a.length;k=0&&/bshare.(cn|com|me)|static.(local|dev)/i.test(d)&&c.push(b[f])}return c},parseoptions:function(a,b){var c={};if(a=/\?(.*)|#(.*)/.exec(a))for(var a=a[0].slice(1).replace("+"," "),f=a.split(/[&;]/g),k=0,d=f.length;kbshare'};for(var f in c.defaultconfig)c.config[f]=c.defaultconfig[f];c.imagebasepath=c.shost+"/frame/images/";c.jsbasepath=c.shost+"/b/";c.addentry=function(a){if(typeof c.counters=="number")c.counters=[];c.entries.push(a);c.counters.push(0)};return e[a]},parsebuzzoptions:function(a,b,c,f,k){var i;i=(a=h.getscript(b)[a])?h.parseoptions(a.src):{},a=i;k&&(a=k(a));for(var d in a)if(!h.isundefined(a[d])&& !(a[d]===null||typeof c[d]=="number"&&a[d]===""))h.isundefined(c[d])?h.isundefined(f[d])||(f[d]=h.formatparam(f[d],a[d])):c[d]=h.formatparam(c[d],a[d])}}}})(window,document);(function(e,g,l){var d=g.bshareutil,h=g.bsharecontrol;if(!(h.count>0)){var a=d.createbuzzobject(e,{lang:"zh",height:0,width:0,image:"",bgc:"none",fgc:"#333",poptxtc:"#666",popbgc:"#f2f2f2",sn:!1,logo:!0,style:1,fs:0,inline:!1,beta:!1,popjs:"",pophcol:2,pop:0,mdiv:0,poph:"auto",bps:"",bps2:"",showsharecount:!0,icon:!0,text:null,promote:!1}),b=a.config,c=a.params;a.boxconfig={position:0,boxheight:408,boxwidth:548,closetop:8,closeright:20,hastop:!0,hasframe:!0,hasmore:!0};a.boxconfigec={position:0,boxheight:404, boxwidth:650,closetop:10,closeright:16,hasframe:!0};a.boxconfigwx={id:"bswxbox",position:0,boxheight:245,boxwidth:220,closetop:8,closeright:20,hastop:!0};a.customization={};a.loadoptions=function(){d.parsebuzzoptions(0,/button(lite)?(org)?\.js|bshare_load/,b,c,function(b){if(!d.isundefined(g.bshareopt))for(var c in g.bshareopt)b[c]=g.bshareopt[c];if(!d.arraycontains(a.langs,b.lang))b.lang="zh";if(b.h&&b.w&&b.img)b.height=b.h,b.width=b.w,b.image=b.img;b.bgc=b.bgcolor||void 0;b.fgc=b.textcolor||void 0; b.logo=!(b.logo&&/^false$/i.test(b.logo));b.pophcol=b.pophcol||void 0;if(b.style)b.style=/^(-1|0|1|2|3|4|5|10|11|999)$/.test(b.style)?+b.style:void 0;if(b.bp)b.style&&b.style==2?b.bps2=b.bp.split(","):b.bps=b.bp.split(",");b.showsharecount=b.style&&/3|4|5/.test(b.style)?!1:!(b.ssc&&/^false$/i.test(b.ssc.tostring()));b.type=g.bshare_button_type||b.type;b.publisheruuid=b.uuid||void 0;return b});for(var f in a.defaultconfig)a.defaultconfig[f]!==b[f]&&(a.customization[f]=b[f]);if(c.type!=15)c.popcss= "";if(g.location.href.indexof(a.whost+"/morestyles")<0)b.promote=!1};a.writebutton=function(){var c="",e={0:0,1:[110,85],10:[90,51],11:[82,82]},g={0:16,1:24,10:21,11:49},h=a.imagebasepath,i=b.style,m=b.image,o=b.showsharecount,n=b.width,p=b.height;/^(3|4|5)$/.test(i)||(c='
');i>1&&i<6?a.writebsharediv(c):i==-1?(d.getelem(l,"div","bshare-custom",function(b){if(!b.childnodes[0].classname||b.childnodes[0].classname.indexof("bspromo")<0){var c=d.createelement("div", "","bspromo bspromo"+(a.islite?2:1));b.insertbefore(c,b.childnodes[0])}}),(b.beta||b.popjs)&&a.writebsharediv('
'+b.text+"
","")):i>=0&&(i!=999&&(m=h+"logo_square_s.gif",i!=0&&(m=h+"button_custom"+i+"-"+(b.lang=="en"?"en":"zh"),o&&(m+="-c"),i==10&&(n=/blue|red|green|grey|orange/.test(b.bgc)?b.bgc:"orange",m+="-"+n),m+=".gif"),n=e[i][o?0:1],p=g[i]),c+='
'+(b.text===null?"\u5206\u4eab":b.text)+"
",o&&(c+='
 
')):(c+=";background:transparent url("+ m+") no-repeat;text-align:center;width:"+n+'px;">',o&&i!=999&&(c+=''),c+=""),c+='
',a.writebsharediv(c,"font-size:12px;height:"+p+"px;width:"+n+"px;"))};a.more=function(){return typeof a.morediv=="function"?(a.morediv(),!0):!1};a.load=function(f){if(!f){if(b.mdiv<0)return;var e=0,q=setinterval(function(){a.more()||e>=30?clearinterval(q):++e},100);return!1}c.target= f||"";a.click();a.disappear();a.prepare();if(!a.loadplus||!a.loadplus()){var j;if(f=="bsharesync")j=[a.whost,"/bsyncshare?site=",f].join(""),a.updatecounter(),a.sharestats(f),d.submitform(j,c,"_blank");else if(f=="email")j=[a.bhost,"/bshareemail"].join(""),a.sharestats(f),d.submitform(j,c,"_blank");else if(f=="clipboard")d.copy2clipboard(),a.sharestats(f);else if(f=="favorite")d.add2bookmark(),a.sharestats(f);else if(f=="printer")d.add2printer(),a.sharestats(f);else if(f=="weixin"){j=a.bhost+"/barcode?site=weixin"; for(var i in c)!/content|target/.test(i)&&typeof c[i]!="function"&&(j+="&"+i+"="+d.encode(c[i]));l.getelementbyid("bswxbox")||a.createbox(a.boxconfigwx);a.getframe(a.boxconfigwx).innerhtml='';a.display(!1,a.boxconfigwx)}else{if(h.bshareload)for(i in j=a.bhost+"/bshare_redirect?site="+f,c)!/content|target/.test(i)&&typeof c[i]!="function"&&(j+="&"+i+"="+d.encode(c[i]));else(j=g.bs_purl_map[f])||alert(a.il8n.loadfailed), f=="gmw"?j=d.replaceparam("${url}",c.url.replace("https://",""),j):c.url&&(j=d.replaceparam("${url}",c.url,j)),j=d.replaceparam("${title}",c.title,j),j=d.replaceparam("${content}",c.summary,j),j=d.replaceparam("${img}",c.pic,j),j=d.replaceparam("${video}",c.video,j);g.open(j,"","height=600,width=800,top=100,left=100,screenx=100,screeny=100,scrollbars=yes,resizable=yes")}}};a.show=function(){a.load()};a.onload=function(){d.getelem(l,"a","bsharediv",function(b,c){d.getelem(b,"div","buzzbutton",function(b){b.onclick= function(b){return function(c){a.more(c,b);return!1}}(c)})});var c=b.showsharecount;if(b.style==0){var e=d.getelem(l,"div","buzzbutton")[0].offsetwidth;c&&(e+=41);d.getelem(l,"a","bsharediv",function(a){a.style.width=e+"px"})}var h=a.entries.length;if(c&&h>0){for(var c="",j=0;j2e3)break;c!=""&&(c+="|");c+=i.url}}c!=""&&(c+="|");c+=g.location.href;a.count(c)}};a.renderbutton=function(){d.loadstyle("a.bsharediv,#bspanel,#bsmorepanel,#bsharef{border:none;background:none;padding:0;margin:0;font:12px helvetica,calibri,tahoma,arial,\u5b8b\u4f53,sans-serif;line-height:14px;}#bspanel div,#bsmorepanel div,#bsharef div{display:block;}.bsrlogo .bspopupawd,.bsrlogosel .bspopupawd,.bslogo .bspopupawd,.bslogosel .bspopupawd{line-height:16px !important;}a.bsharediv div,#bsfloattab div{*display:inline;zoom:1;display:inline-block;}a.bsharediv img,a.bsharediv div,a.bsharediv span,a.bsharediv a,#bsharef table,#bsharef tr,#bsharef td{text-decoration:none;background:none;margin:0;padding:0;border:none;line-height:1.2}a.bsharediv span{display:inline;float:none;}div.buzzbutton{cursor:pointer;font-weight:bold;}.buzzbutton .sharecount a{color:#333}.bsstyle1 .sharecount a{color:#fff}span.bsharetext{white-space:nowrap;}span.bsharetext:hover{text-decoration:underline;}a.bsharediv .bspromo,div.bshare-custom .bspromo{display:none;position:absolute;z-index:100;}a.bsharediv .bspromo.bspromo1,div.bshare-custom .bspromo.bspromo1{width:51px;height:18px;top:-18px;left:0;line-height:16px;font-size:12px !important;font-weight:normal !important;color:#fff;text-align:center;background:url("+ a.imagebasepath+"bshare_box_sprite2.gif) no-repeat 0 -606px;}div.bshare-custom .bspromo.bspromo2{background:url("+a.imagebasepath+"bshare_promo_sprite.gif) no-repeat;cursor:pointer;}");a.writebutton();c.type==15&&a.filterecplats()};a.loadbuttonstyle=function(){if(c.type!=15){var f,e=b.style;if(b.beta)f=a.jsbasepath+"styles/bshares888.js?v=20150603";else if(b.popjs)f=b.popjs;else if(b.style!=-1&&(f=a.jsbasepath+"styles/bshares"+(e>1&&e<6?e:1)+".js?v=20150603",b.pop==-1&&(e<=1||e>=6)))f="";f&&d.loadscript(f)}};a.international= function(c){b.lang=="zh"?c():d.loadscript(a.jsbasepath+"langs/bs-lang-"+b.lang+".js?v=20150603",c)};a.start=function(){d.loadengine&&(d.loadengine(e),a.loadoptions(),a.international(function(){if(!a.completed){if(d.isundefined(b.text)||b.text===null)b.text=b.style==0?a.il8n.sharetextshort:a.il8n.sharetext;c.type!=1&&a.renderbutton();d.createsharebox(e);if(c.type==15)a.boxconfig=a.boxconfigec;a.createbox();b.mdiv>=0&&c.type!=15&&d.loadscript(a.jsbasepath+"components/bsmore.js?v=20150603");if(c.type==1)return a.load(), !1;a.loadbuttonstyle();a.onload();a.prepare(0);settimeout(function(){h.viewed||a.view();settimeout(function(){h.bshareload||d.loadscript(a.jsbasepath+"components/bsplatforms.js?v=20150603")},3e3)},3e3);a.completed=!0}}))};a.init=function(){if(!a.isready)a.isready=!0,d.loadscript(a.jsbasepath+"engines/bs-engine.js?v=20150603",a.start)};d.loadscript(a.jsbasepath+"components/bsstatic.js?v=20150603")}})("bshare",window,document);(function(e,g,l){if(!(g.bsharecontrol.count>0)){g.bsharecontrol.count+=1;var d=g.bshareutil,e=g[e],h=e.config;e.islite=!0;e.customization.type="lite";e.writebsharediv=function(a,b){d.getelem(l,"a","bsharediv",function(c){if(a)c.innerhtml=a;else if(c.innerhtml.length<24)c.innerhtml="";c.onclick=function(){return!1};c.style.csstext=(h.inline?"":"display:block;")+"text-decoration:none;padding:0;margin:0;"+b||""})};d.ready(e.init)}})("bshare",window,document);(function(){var e=window.bshare;if(!e)e=window.bshare={};e.pnmap={115:["115\u6536\u85cf\u5939",0],"139mail":["139\u90ae\u7bb1",2],"9dian":["\u8c46\u74e39\u70b9",6],baiducang:["\u767e\u5ea6\u641c\u85cf",7],baiduhi:["\u767e\u5ea6\u7a7a\u95f4",8],bgoogle:["google\u4e66\u7b7e",10],bsharesync:["\u4e00\u952e\u901a",16],caimi:["\u8d22\u8ff7",17],cfol:["\u4e2d\u91d1\u5fae\u535a",18],chouti:["\u62bd\u5c49",20],clipboard:["\u590d\u5236\u7f51\u5740",21],cyolbbs:["\u4e2d\u9752\u8bba\u575b",22],cyzone:["\u521b\u4e1a\u5427",23],delicious:["\u7f8e\u5473\u4e66\u7b7e",24],dig24:["\u9012\u5ba2\u7f51",25],digg:["digg",26],diglog:["\u5947\u5ba2\u53d1\u73b0",27],diigo:["diigo",29],douban:["\u8c46\u74e3\u7f51",30],dream:["\u68a6\u5e7b\u4eba\u751f",31],duitang:["\u5806\u7cd6",32],eastdaymb:["\u4e1c\u65b9\u5fae\u535a",33],email:["\u7535\u5b50\u90ae\u4ef6", 34],evernote:["evernote",35],facebook:["facebook",36],fanfou:["\u996d\u5426",37],favorite:["\u6536\u85cf\u5939",38],feixin:["\u98de\u4fe1",39],friendfeed:["friendfeed",40],fwisp:["fwisp",42],ganniu:["\u8d76\u725b\u5fae\u535a",43],gmail:["gmail",44],gmw:["\u5149\u660e\u7f51",45],gtranslate:["\u8c37\u6b4c\u7ffb\u8bd1",46],hemidemi:["\u9ed1\u7c73\u4e66\u7b7e",47],hexunmb:["\u548c\u8baf\u5fae\u535a",48],huaban:["\u82b1\u74e3",49],ifengkb:["\u51e4\u51f0\u5feb\u535a",50],ifengmb:["\u51e4\u51f0\u5fae\u535a",51],ifensi:["\u7c89\u4e1d\u7f51",52],instapaper:["instapaper",53],itieba:["i\u8d34\u5427",54],joinwish:["\u597d\u613f\u7f51",55],kaixin001:["\u5f00\u5fc3\u7f51",56],laodao:["\u5520\u53e8\u7f51",57],leihou:["\u96f7\u7334",58],leshou:["\u4e50\u6536",59],linkedin:["linkedin", 60],livespace:["ms livespace",61],mala:["\u9ebb\u8fa3\u5fae\u535a",63],masar:["\u739b\u6492\u7f51",65],meilishuo:["\u7f8e\u4e3d\u8bf4",66],miliao:["\u7c73\u804a",67],mister_wong:["mister wong",68],mogujie:["\u8611\u83c7\u8857",69],moptk:["\u732b\u6251\u63a8\u5ba2",70],msn:["msn",71],myshare:["myshare",72],myspace:["myspace",73],neteasemb:["\u7f51\u6613\u5fae\u535a",74],netvibes:["netvibes",75],peoplemb:["\u4eba\u6c11\u5fae\u535a",76],pinterest:["pinterest",79],poco:["poco\u7f51",81],printer:["\u6253\u5370",82],printf:["print friendly",83],qqmb:["\u817e\u8baf\u5fae\u535a",84],qqshuqian:["qq\u4e66\u7b7e",85],qqxiaoyou:["\u670b\u53cb\u7f51",86],qzone:["qq\u7a7a\u95f4",87],readitlater:["readitlater",88], reddit:["reddit",89],redmb:["\u7ea2\u5fae\u535a",90],renjian:["\u4eba\u95f4\u7f51",91],renmaiku:["\u4eba\u8109\u5e93",92],renren:["\u4eba\u4eba\u7f51",93],shouji:["\u624b\u673a",95],sinaminiblog:["\u65b0\u6d6a\u5fae\u535a",96],sinaqing:["\u65b0\u6d6aqing",97],sinavivi:["\u65b0\u6d6avivi",98],sohubai:["\u641c\u72d0\u767d\u793e\u4f1a",99],sohuminiblog:["\u641c\u72d0\u5fae\u535a",100],southmb:["\u5357\u65b9\u5fae\u535a",101],stumbleupon:["stumbleupon",102],szone:["\u5b88\u682a\u7f51",103],taojianghu:["\u6dd8\u6c5f\u6e56",104],tianya:["\u5929\u6daf",105],tongxue:["\u540c\u5b66\u5fae\u535a",106],tuita:["\u63a8\u4ed6",107],tumblr:["tumblr",108],twitter:["twitter",109],ushi:["\u4f18\u58eb\u7f51",110],waakee:["\u6316\u5ba2",112],wealink:["\u82e5\u90bb\u7f51",113],woshao:["\u6211\u70e7\u7f51",115],xianguo:["\u9c9c\u679c\u7f51", 116],xiaomeisns:["\u6821\u5a92\u91c7\u901a",117],xinminmb:["\u65b0\u6c11\u5fae\u535a",118],xyweibo:["\u5fae\u535a\u6821\u56ed",119],yaolanmb:["\u6447\u7bee\u5fae\u535a",120],yijee:["\u6613\u96c6\u7f51",121],youdao:["\u6709\u9053\u4e66\u7b7e",122],zjol:["\u6d59\u6c5f\u5fae\u535a",124],xinhuamb:["\u65b0\u534e\u5fae\u535a"],szmb:["\u6df1\u5733\u5fae\u535a"],changshamb:["\u5fae\u957f\u6c99"],hefeimb:["\u5408\u80a5\u5fae\u535a"],wansha:["\u73a9\u5565e\u65cf"],"189share":["\u624b\u673a\u5feb\u4f20"],diandian:["\u70b9\u70b9\u7f51"],tianji:["\u5929\u9645\u7f51"],jipin:["\u5f00\u5fc3\u96c6\u54c1"],chezhumb:["\u8f66\u4e3b\u5fae\u535a"],gplus:["google+"],yidongweibo:["\u79fb\u52a8\u5fae\u535a"],youdaonote:["\u6709\u9053\u7b14\u8bb0"],jschina:["\u5fae\u6c5f\u82cf"],mingdao:["\u660e\u9053"],jxcn:["\u6c5f\u897f\u5fae\u535a"],qileke:["\u5947\u4e50\u6536\u85cf"],sohukan:["\u641c\u72d0\u968f\u8eab\u770b"],maikunote:["\u9ea6\u5e93\u8bb0\u4e8b"],lezhimark:["\u4e50\u77e5\u4e66\u7b7e"],"189mail":["189\u90ae\u7bb1"], wo:["wo+\u5206\u4eab"],gmweibo:["\u5149\u660e\u5fae\u535a"],jianweibo:["\u5409\u5b89\u5fae\u535a"],qingbiji:["\u8f7b\u7b14\u8bb0"],duankou:["\u7aef\u53e3\u7f51"],qqim:["qq\u597d\u53cb"],kdweibo:["\u4e91\u4e4b\u5bb6"],xueqiu:["\u96ea\u7403"],weixin:["\u5fae\u4fe1"]};e.il8n={promotehot:"\u70ed",promotenew:"\u65b0",promoterec:"\u63a8\u8350",rtntxt:"\u9009\u62e9\u5176\u4ed6\u5e73\u53f0 >>",sharetext:"\u5206\u4eab\u5230",sharetextshort:"\u5206\u4eab",sharetextpromote:"\u5206\u4eab\u6709\u793c",moreplats:"\u66f4\u591a\u5e73\u53f0...",moreplatsshort:"\u66f4\u591a...",whatsthis:"\u8fd9\u662f\u4ec0\u4e48\u5de5\u5177\uff1f",promote:"\u5206\u4eab\u6709\u793c",promoteshort:"\u5956",searchhint:"\u8f93\u5165\u5e73\u53f0\u5173\u952e\u5b57\u67e5\u8be2",closehint:"30\u5206\u949f\u5185\u4e0d\u518d\u51fa\u73b0\u6b64\u5206\u4eab\u6846",loadfailed:"\u7f51\u7edc\u592a\u6162\u65e0\u6cd5\u52a0\u8f7d\uff0c\u8bf7\u7a0d\u540e\u518d\u8bd5\u3002",loadfailed2:"\u5f88\u62b1\u6b49\uff0c\u65e0\u6cd5\u8fde\u63a5\u670d\u52a1\u5668\u3002\u8bf7\u7a0d\u540e\u91cd\u8bd5\uff01",notsupport:"\u4e0d\u652f\u6301\uff01",copysuccess:"\u590d\u5236\u6210\u529f\uff01\u60a8\u53ef\u4ee5\u7c98\u8d34\u5230qq/msn\u4e0a\u5206\u4eab\u7ed9\u60a8\u7684\u597d\u53cb\uff01", copytip:"\u8bf7\u6309ctrl+c\u590d\u5236\uff0c\u7136\u540e\u60a8\u53ef\u4ee5\u7c98\u8d34\u5230qq/msn\u4e0a\u5206\u4eab\u7ed9\u60a8\u7684\u597d\u53cb\uff01",bookmarktip:"\u6309\u4e86ok\u4ee5\u540e\uff0c\u8bf7\u6309ctrl+d\uff08macs\u7528command+d\uff09\u3002",confirmclose:"\u5173\u95ed\u540e\uff0c\u8be5\u5206\u4eab\u6309\u94ae30\u5206\u949f\u5c06\u4e0d\u518d\u51fa\u73b0\uff0c\u60a8\u4e5f\u65e0\u6cd5\u4f7f\u7528\u5206\u4eab\u529f\u80fd\uff0c\u786e\u5b9a\u5417\uff1f"}})();