(function(){var e=window.bShareUtil,b=window.bShare,c=b.config,l=b.whost,m=b.shost+"/frame/images",f=document,n=f.body;b.moreDiv=function(d,c){if(b.entries.length>1)c=b.curb;b.prepare(c);b.load();f.getElementById("bsMorePanel").style.display="";f.getElementById("searchBox").focus();n.onclick=function(a){if(a&&a.target)a=a.target;else{if(!a)a=window.event;a=a.target?a.target:a.srcElement;if(!a){f.getElementById("bsMorePanel").style.display="none";return}}for(;a;){if(a.id=="bsMorePanel")return;a=a.parentNode}f.getElementById("bsMorePanel").style.display=
"none"};e.stopProp(d)};e.filterPlats=function(d){if(d=="")return e.getElem(f.getElementById("platDiv"),"div","bsLogoMLink",function(a){e.getElem(a,"div","bsLogoM",function(a){a.style.display=""});e.getElem(a,"div","bsLogoMSel",function(a){a.style.display=""})}),!0;var c=d.replace(/^\s+|\s+$/,"").toLowerCase(),a;for(a in b.pnMap){var k=b.pnMap[a][0].toLowerCase(),i=a.toLowerCase();if(f.getElementById("bp-"+a))i.indexOf(d)>-1||i.indexOf(c)>-1||k.indexOf(d)>-1||k.indexOf(c)>-1?f.getElementById("bp-"+
a).style.display="":f.getElementById("bp-"+a).style.display="none"}return!0};(function(){var d=f.getElementById("bsMorePanelHolder");if(!d)d=f.createElement("div"),d.id="bsMorePanelHolder";var p=d;e.loadStyle("a.bsSiteLink{text-decoration:none;color:"+c.poptxtc+";}a.bsSiteLink:hover{text-decoration:underline;}div.bsLogoM,div.bsLogoMSel{float:left;width:111px;text-align:left;height:16px;padding:2px 4px;margin:2px 0;border:1px solid #fff;background:#fff;}div.bsLogoMSel{border-color:#ddd;background:#eee;}div.bsLogoM a,div.bsLogoMSel a{display:block;height:16px;line-height:16px;padding-left:24px;text-decoration:none;color:#666;border:none;white-space:nowrap;}div.bsLogoMSel a{color:#000;border:none;}div.bsLogoMLink{width:242px;overflow:hidden;background:#fff;float:left;margin:3px 0;padding:0;}#bsMorePanel{position:fixed;top:50%;left:50%;margin-top:-175px;margin-left:-140px;z-index:100000001;font-size:12px;width:"+
(268+(e.isIe&&!e.isSt?12:0))+"px;background:url("+m+"/background-opaque-dark."+(e.isIe6?"gif":"png")+');padding:6px;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;}* html #bsMorePanel{position:absolute;margin-top:0;top:expression(eval(document.compatMode&&document.compatMode=="CSS1Compat")?documentElement.scrollTop+((documentElement.clientHeight-this.clientHeight)/2 ):document.body.scrollTop+((document.body.clientHeight-this.clientHeight)/2));}div.bsClear{clear:both;height:0px;line-height:0px;overflow:hidden;font-size:0;}.bFind{background:none;border:0;font-size:11px;height:16px;outline:none;width:100%;}.bFind-wrapper-top,.bFind-wrapper{width:210px;background:url("'+
b.shost+'/css/images/search-sprite.gif") no-repeat 0 5px;height:20px;padding:0 0 7px 23px;_padding-bottom:0px;}.bFind-wrapper-top{border:0;width:253px;position:relative;display:block;background-position:100% -55px;margin:-4px 0 0 -23px;}.bFind-placeholder{width:100%;display:inline-block;position:relative;vertical-align:middle;padding-top:6px;}.bFind-placeholder label span{font-size:11px;margin-top:2px;padding-left:1px;position:absolute;cursor:text;z-index:2;}');var a='<div style="padding:0 8px;border-bottom:1px solid #ddd;color:'+
c.poptxtc+";background:"+c.popbgc+';"><a style="float:left;height:22px;line-height:22px;font-weight:bold;" class="bsSiteLink" target="_blank" href="'+l+'/intro">'+(c.lang=="zh"?"\u5206\u4eab\u5230...":"Share To...")+'</a><a class="bsSiteLink" style="cursor:pointer;float:right;height:22px;line-height:22px;font-weight:bold;" onclick="document.getElementById(\'bsMorePanel\').style.display=\'none\';">X</a><div class="bsClear"></div>',k='<div style="height:22px;line-height:22px;padding:0 8px;border-top:1px solid #e8e8e8;color:'+
c.poptxtc+";background:"+c.popbgc+';"><div style="float:left;"><a class="bsSiteLink" href="'+l+'/bShareBox" target="_blank">'+(c.lang=="en"?"View My Shares...":"\u67e5\u770b\u6211\u7684\u5206\u4eab...")+'</a></div><div style="float:right;text-align:right;width:150px;overflow:hidden;height:100%;">'+(c.logo?'<a class="bsSiteLink" href="'+l+'" target="_blank"><span style="font-size:10px;vertical-align:bottom;line-height:27px;"><span style="color:#ff5c00;">b</span>Share</span></a>':"")+"</div></div>",i='<div id="platDiv" style="padding-left:8px;background:#fff;height:266px;overflow-y:auto;overflow-x:hidden;"><div class="bsLogoMLink">',
h=[],g;for(g in b.pnMap)h.push(g);h.sort();var o={};for(g=0;g<h.length;g++)o[h[g]]=b.pnMap[h[g]];for(var j in o)if(b.pnMap[j]&&(h=b.pnMap[j][0]))i+='<div class="bsLogoM" id="bp-'+j+'" onmouseover="javascript:this.className=\'bsLogoMSel\'" onmouseout="javascript:this.className=\'bsLogoM\'"><a href="javascript:void(0);" onclick="javascript:bShare.share(event,\''+j+'\');return false;" style="background:url('+m,g=b.pnMap[j][1]*-18,i+=g?"/slogos_sprite8."+(e.isIe?"gif":"png")+") no-repeat 0 "+g+'px;">'+
h+"</a>":"/logos/s4/"+j+(e.isIe?".gif":".png")+') no-repeat;">'+h+"</a>",i+="</div>";i+='</div><div class="bsClear"></div></div>';p.innerHTML='<div id="bsMorePanel" style="display:none;">'+(a+'<div style="padding:1px 0;"><fieldset class="bFind-wrapper-top"><div class="bFind-wrapper"><span class="bFind-placeholder"><input name="searchString" onkeyup="return bShareUtil.filterPlats(this.value);" type="text" id="searchBox" class="bFind" maxlength="25"/></span></div></fieldset></div></div>'+i+k)+"</div>";
n.appendChild(d);return d})()})();
