void function(){
	var old_onload = window.onload || function(){};
	window.onload=function(){
		old_onload();

		var els = function (className){
			var collection = new Array();
			var all = document.getElementsByTagName('*') || document.all;
			for(var i=0; i<all.length; i++){
				if(all[i].className != className)continue;
				collection.push(all[i]);
			}
			return collection;
		} ('newsBox');

		swap_bg(els[0], els, 1000, 'url(themes/akieabe/images/entryBg2.gif) left bottom', 0)();
		function swap_bg(base, els, threshold, swap, oldHeight){
			if(!base)return function(){};
			var tID = false;
			return	function (){
				if(oldHeight == base.offsetHeight){
					setTimeout(arguments.callee, 2000);
					return false;
				}
				
				for(var i=0; i<els.length; i++){
					if(els[i].offsetHeight < threshold)continue;
					els[i].style.background=swap;
				}
				oldHeight = base.offsetHeight;
				setTimeout(arguments.callee, 2000);
			}
		}
	}
}();

