var yseBadge={smallBadgeTmpl:'
',largeBadgeTmpl:'',fillTemplate:function(sTmpl,oObj){return sTmpl.replace(/\$\{([^}]+)\}/g,function(){var key=arguments[1],val=oObj[key]||'';return val;});},getHTML:function(nSize,nTrack){var tmpl,track,logoImg,action;if(nSize==1){tmpl=this.largeBadgeTmpl;logoImg='siteex_badgebig_logo.gif';}else{tmpl=this.smallBadgeTmpl;logoImg='siteex_badgesml_logo.gif';}
if(nTrack==1){track='Site';action='yseBadge.gotoSiteURL()';}else{track='Page';action='yseBadge.gotoPageURL()';}
return this.fillTemplate(tmpl,{TrackAction:action,BadgeImg:logoImg,Track:track});},sanitizeURL:function(url){url=url.replace(/[<>]/g,function(){return(arguments[0]==='<')?'<':'>';});return encodeURIComponent(url)},searchURL:function(url){window.location="http://siteexplorer.search.yahoo.com/advsearch?p="+this.sanitizeURL(url)+"&bwm=i&bwmf=u";},gotoPageURL:function(){this.searchURL(location.href);},gotoSiteURL:function(){var loc=window.location.href.split('/'),url=loc[0]+"//"+loc[2];this.searchURL(url);},inlinkCountURL:function(nTrack){return"http://search.yahooapis.com/SiteExplorerService/V1/inlinkCount?appid=YahooBadge&entire_site="+nTrack+"&query="+this.sanitizeURL(window.location.href)+"&output=json&callback=yseBadge%2EinsertCount";},insertCount:function(oResults){var div=document.getElementById("ynum"),total=oResults.ResultSet.totalResultsAvailable;if(div){div.innerHTML=total;}}};document.write(yseBadge.getHTML(yseBadgePref.s,yseBadgePref.t));document.write('