var isNS4=document.layers?true:false;
var isIE=document.all?true:false;
var isIE6=isIE&&document.getElementById?true:false;
var isIE4=isIE&&!isIE6?true:false;
var isNS6=!isIE6&&document.getElementById?true:false;
var isNS=isNS4||isNS6;
function huhOver(huhWhich,huhData) {

	changePopup(huhWhich,huhData);
	document.getElementById("huhPopup").style.visibility = "visible"
	if(isIE) {
		huhPopup.style.pixelTop=document.body.scrollTop+event.clientY+1
		huhPopup.style.pixelLeft=document.body.scrollLeft+event.clientX+12
	}
	inithuhPopup();
}
function huhOver2(huhWhich,huhData,huhWidth) {

	changePopup2(huhWhich,huhData,huhWidth);
	document.getElementById("huhPopup").style.visibility = "visible"
	if(isIE) {
		huhPopup.style.pixelTop=document.body.scrollTop+event.clientY+1
		huhPopup.style.pixelLeft=document.body.scrollLeft+event.clientX+12
	}
	inithuhPopup();
}
function huhOut() {
	document.getElementById("huhPopup").style.visibility = "hidden"
	document.getElementById("huhPopup").style.width = "100"
	deInithuhPopup();
}
function followMouse_IE() {
	huhPopup.style.pixelTop=document.body.scrollTop+event.clientY+1
	huhPopup.style.pixelLeft=document.body.scrollLeft+event.clientX+12
}
function followMouse_NS4(e) {
	document.huhPopup.top=e.y+1
	document.huhPopup.left=e.x+1
}
var NO=false;
function followMouse_NS6(e) { 
	x=e.pageX; 
	y=e.pageY; 
	document.getElementById("huhPopup").style.top=1+y;
	document.getElementById("huhPopup").style.left=1+x;
} 
function inithuhPopup() {
	if(isNS4) {
		document.captureEvents(Event.MOUSEMOVE); 
		document.onmousemove=followMouse_NS4; 
	}
	else if(isNS6)
		document.addEventListener("mousemove", followMouse_NS6, true);
	else if(isIE)
		document.onmousemove=followMouse_IE;
}
function deInithuhPopup() {
	if(isNS4) {
		document.captureEvents(Event.MOUSEMOVE);
		document.onmousemove='';
	}
	else if(isNS6)
		document.addEventListener("mousemove", '', true);
	else if(isIE)
		document.onmousemove='';
}
function changePopup(tp,huhData) {
	if (tp==1) {
		document.getElementById("huhPopup").innerHTML = "<img src=/graphics/"+huhData+".gif>";
	}
	else {
		if (huhData.length > 200) {document.getElementById("huhPopup").style.width = "500"}
		document.getElementById("huhPopup").innerHTML = "<table cellpadding=5 border=0 cellspacing=0><tr><td bgcolor=#ffffff><p style=color:#DB3216;>" + huhData + "</td></tr></table>";
	}
}
function changePopup2(tp,huhData,huhWidth) {
	if (tp==1) {
		document.getElementById("huhPopup").innerHTML = "<img src=/graphics/"+huhData+".gif>";
	}
	else {
		document.getElementById("huhPopup").style.width = huhWidth;
		document.getElementById("huhPopup").innerHTML = "<table cellpadding=5 border=1 width=100%><tr><td><p>" + huhData + "</td></tr></table>";
	}
}
function a() {}