function hpPageOffsetTop(el) {
	var y;

	y = el.offsetTop;
	if (el.offsetParent != null) {
	if(el.offsetParent.style && el.offsetParent.style.overflow && el.offsetParent.style.overflow!="visible") {
	}
	else {
		y += hpPageOffsetTop(el.offsetParent);
	}
	}
	return y;
}


function hpPageOffsetLeft(el) {
	var x;
  
	x = el.offsetLeft;
	if (el.offsetParent != null) {
		if(el.offsetParent.style && el.offsetParent.style.overflow && el.offsetParent.style.overflow!="visible") {
		}
		else {
		x += hpPageOffsetLeft(el.offsetParent);
		}
	}
	return x;
}




function display_hover(pic, element) {
	if(d=document.getElementById("lieferumfang_hoverpic")) {
		d.innerHTML="<img border='1' style='border-color:#000000' src='images/120x120/"+pic+"'>";
		d.style.top=(hpPageOffsetTop(element)+20);
		d.style.left=hpPageOffsetLeft(element);
		d.style.display="";

	}
}

function hide_hover(pic, element) {
	if(d=document.getElementById("lieferumfang_hoverpic")) {
		d.style.display="none";
	}
}