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  style='border:1px solid #000000' src='images/120x120/"+pic+"'>";
		d.style.top=(hpPageOffsetTop(element)+17)+"px";
		d.style.left=(hpPageOffsetLeft(element)+1)+"px";
		d.style.display="";

	}
}

function hide_hover(pic, element) {
	if(d=document.getElementById("lieferumfang_hoverpic")) {
		d.style.display="none";
	}
}

