$(window).load(function () {
	// カテゴリ表記の変更
	$('span.category').contents().filter(function(){return this.nodeType==Node.TEXT_NODE;}).remove();
	$('span.category').before("カテゴリー: ");

	// あっかり〜ん
	$('div.caption a.switch').text('＼アッカリ〜ン／');
	if($('div.day-single').length == 0){
		// コメントに追記
		$('div.commentshortbody').each(function(){
			if($(this).children('p').length == 0){
				$(this).append("<p>まだコメントが無いよ</p>");
			}
		});
		// トラックバックに追記
		$('ul.tb').each(function(){
			if($(this).children('li').length <= 1){
				$(this).append("<li>まだトラックバックが無いよ</li>");
			}
		});
	}
	$('div.hidden, blockquote.hidden').append('<span class="akari">＼アッカリ〜ン／</span>');

	// hatena-bodyの高さが足りなければ伸ばす
	var s = $('div.sidebar').outerHeight(true);
	var b = $('div.hatena-body').outerHeight(true);
	if(s > b){
		$('div.hatena-body').height(s);
	}
});


