function highlightButtonON(param){
	document.getElementById(param.id).style.backgroundColor="#FFFFB0";
}
function highlightButtonOFF(param){
	document.getElementById(param.id).style.backgroundColor="#EEEEEE";
}
var IE = document.all?true:false;
if (!IE) document.captureEvents(Event.MOUSEMOVE);
	var mouseX = 0
	var mouseY = 0

function showError(divId){
	document.onmousemove = getMouseXY;
	var div = document.getElementById(divId);
	var img = document.getElementById("img_"+divId);
	//alert(img.x);
	//alert(mouseX + "-" + mouseY);
	div.style.left = img.x + img.width + 4;
	div.style.top = img.y;
	div.style.visibility = "visible";
}

function getMouseXY(e) {
	if (IE) {
		mouseX = event.clientX + document.body.scrollLeft
		mouseY = event.clientY + document.body.scrollTop
	} else {
		mouseX = e.pageX
		mouseY = e.pageY
	}
	if (mouseX < 0){mouseX = 0}
	if (mouseY < 0){mouseY = 0}
}

function hideError(divId){
	document.getElementById(divId).style.visibility="hidden";
}

function toggleLine(lineId){
	document.getElementById(lineId).style.backgroundColor="#FFFFB0";
}

function normalLine(lineId){
	var defColor = document.getElementById(document.getElementById(lineId).className + "_default").style.backgroundColor;
	document.getElementById(lineId).style.backgroundColor=defColor;
}