// JavaScript Document

navHover = function() {
	var lis = document.getElementById("bottommenu").getElementsByTagName("LI");
	for (var i=0; i<lis.length; i++) {
		lis[i].onmouseover=function() {
			this.className+=" iehover";
		}
		lis[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" iehover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", navHover);

t=0; orig='';
function ref_clearbtext() {
	if (t) { clearTimeout(t); t=0;}
	t=setTimeout('ref_showbtext(\'\')',200);
}

function ref_showbtext(txt) {
	el=document.getElementById('ref-btext');
	if (!orig) orig=el.innerHTML;
	if (t) { clearTimeout(t); t=0;}
	if (!txt)	el.innerHTML=orig; 
	else el.innerHTML=txt;
}
