function getMouseX(e)
{
	var x;
	if (ie6) {
		x = e.clientX + document.documentElement.scrollLeft;
	} else if (ie4) {
		x = e.clientX + document.body.scrollLeft;
	} else {
		x = e.pageX;
	}  
	if (x < 0) {
		x = 0;
	}
	return x;
}

function getMouseY(e)
{
	var y;
	if (ie6) {
		y = e.clientY + document.documentElement.scrollTop;
	} else if (ie4) {
		y = e.clientY + document.body.scrollTop;
	} else {
		y = e.pageY;
	}
	if (y < 0) {
		y = 0;
	}
	return y;
}

function showtip(id, show)
{
	var obj;
	obj = findObjekt(id);
	
	if (show) {
		obj.display = "block";

	} else if (!show) {
		obj.display = "none";
	}
}

function movetip(id, e)
{
	var obj, x, y;
	obj = findObjekt(id);
	
	x = getMouseX(e);
	y = getMouseY(e);
	
	obj.left    = (x + 30) + "px";
	obj.top     = (y + 20) + "px";
}
