// Hottopics
var hott_timer;
var hott_currtab;

function setHottTimer(i){
	if (i!=hott_currtab) hott_timer = setTimeout('showHottTab('+i+')',250);
}

function clearHottTimer(){
	clearTimeout(hott_timer);
}

function showHottTab(i){
	el1 = document.getElementById('tabname'+hott_currtab);
	el1b = document.getElementById('tab'+hott_currtab);
	el2 = document.getElementById('tabname'+i);
	el2b = document.getElementById('tab'+i);
	if (el1) el1.className = '';
	if (el1b) el1b.className = 'boxoff';
	if (el2) el2.className = 'on';
	if (el2b) el2b.className = 'box';
	hott_currtab = i;
}
