hatena={str:"hot",get:function(c){var b=document;if(c=="count"){b.getElementById("sbm001").className="hot_tab_off";b.getElementById("sbm002").className="count_tab_on";hatena.str="count"}else{b.getElementById("sbm001").className="hot_tab_on";b.getElementById("sbm002").className="count_tab_off";hatena.str="hot"}var a=b.createElement("script");a.type="text/javascript";a.charset="utf-8";a.src="http://b.hatena.ne.jp/entrylist/json?url=http%3A%2F%2Fpc.nikkeibp.co.jp%2F&amp;sort="+hatena.str+"&amp;callback=hatena.cb";b.getElementsByTagName("head").item(0).appendChild(a)},hot:function(){var b=document;b.getElementById("sbm001").className="hot_tab_on";b.getElementById("sbm002").className="count_tab_off";hatena.str="hot";var a=b.createElement("script");a.type="text/javascript";a.charset="utf-8";a.src="http://b.hatena.ne.jp/entrylist/json?url=http%3A%2F%2Fpc.nikkeibp.co.jp%2F&amp;sort="+hatena.str+"&amp;callback=hatena.cb";b.getElementsByTagName("head").item(0).appendChild(a)},count:function(){var b=document;b.getElementById("sbm001").className="hot_tab_off";b.getElementById("sbm002").className="count_tab_on";hatena.str="count";var a=b.createElement("script");a.type="text/javascript";a.charset="utf-8";a.src="http://b.hatena.ne.jp/entrylist/json?url=http%3A%2F%2Fpc.nikkeibp.co.jp%2F&amp;sort="+hatena.str+"&amp;callback=hatena.cb";b.getElementsByTagName("head").item(0).appendChild(a)},cb:function(c){var b;b="<ul>";for(var a=0;a<c.length;a++){b+="<li>";b+='<a rel="bcomment-viewer" href="'+c[a].link+'">'+c[a].title+"</a> ";b+='<a href="http://b.hatena.ne.jp/entry/'+c[a].link+'" target="_blank"><img src="http://b.hatena.ne.jp/entry/image/'+c[a].link+'" border="0"></a>';b+='<img src="http://r.hatena.ne.jp/images/popup.gif" onclick="iconImageClickHandler(this, \''+c[a].link+'\', event);" alt="'+c[a].title+'" title="'+c[a].title+'">';b+="</li>"}b+='<div align="right"><a href="http://b.hatena.ne.jp/entrylist?url=http%3A%2F%2Fpc.nikkeibp.co.jp%2F&threshold=5&sort='+hatena.str+'" target="_blank">...more</a></div></ul>';document.getElementById("hatenaentry").innerHTML=b}};
