// JavaScript Document
function findAbsolutePosition(obj) {
	var curleft = curtop = 0;
	if (obj.offsetParent) {
		do {
			curleft += obj.offsetLeft;
			curtop += obj.offsetTop;
		} while (obj = obj.offsetParent);
	}
	return [curleft,curtop];
//returns an array
}

function dispLev3(divId, posId) {
	//Show the help text
	//get the position for the help text
	var p = document.getElementById(posId);
	var pos = findAbsolutePosition(p);
	var d = document.getElementById(divId);
	if (d) {
		d.style.left=pos[0]+'px';
		d.style.top=(pos[1]+40)+'px';
		d.style.display='block';
	}
}

function hideLev3(divId) {
	//Hide the help text
	var d = document.getElementById(divId);
	if (d) {
		d.style.display='none';
	}
}
