var inited = false;function checkHeight(){	if(typeof $j == 'undefined')		return void(0);	//	if($j('#rankingSideBar').size() > 0)//	$j('#secondary').height($j('#primary').height() - ($j('.rumi00c').height() + $j('.rumi01c').height() + $j('.rumi02c').height()) );	if($j('#primary').height() < $j('#secondary').height())	{		var tmp = $j('#primary').height();		$j('#primary').height( (tmp + $j('#rankingSideBar').height()) - $j('#secondary').height() + 10);	}	else	{		if($j('#primary').height() - ($j('.rumi00c').height() + $j('.rumi01c').height() + $j('.rumi02c').height() + $j('#search01c').height() + 40) > $j('#secondary').height())			$j('#secondary').height($j('#primary').height());		$j('#secondary').height($j('#secondary').height() - ($j('.rumi00c').height() + $j('.rumi01c').height() + $j('.rumi02c').height() + $j('#search01c').height() + 40));		$j('#rankingSideBar').scrollFollow({delay:0});	}		inited = true;	return void(0);}function show_ranking_limit(rank_start){	for(var ri=1;ri<=10;ri++)	{		var obj = document.getElementById('side_ranking_wheel_'+ri);		if(obj)		{			if(rank_start <= ri && ri < rank_start + 5)			{				if(typeof obj.original_style != 'undefined')					obj.style.display = obj.original_style;			}			else			{				if(typeof obj.original_style == 'undefined')					obj.original_style = obj.style.display;				obj.style.display = 'none';			}		}		if(((ri-1) % 5) == 0)		{			var bobj = document.getElementById('side_ranking_wheel_b'+ri);			if(bobj)			{				if(ri != rank_start)				{					bobj.style.display = 'inline';				}				else				{					bobj.style.display = 'none';				}			}		}	}		if(!inited)		setTimeout(checkHeight, 0);}//20100723 not scroll ishihara.//Event.observe(window, "load", function() {show_ranking_limit(1);});
