function showPic (pic, referer){
	var that = document.getElementById("infoView");	
	var newText = ""
	newText += "<span style='float:left'><a href='#' onclick='closePic();'>schliessen</a></span><br/>";
	newText += "<img src='"+pic+"' onclick='closePic();' style='max-height:600px;max-width:800px'/>";
	that.innerHTML = newText;
	if (window.event){
		that.style.top = (window.event.y+10)+"px";
		that.style.left = (window.event.x+15)+"px";
	}else{
		var pos = {left:0, top:0};
		var obj = referer;
		while (obj){
   			pos.left += obj.offsetLeft;
   			pos.top += obj.offsetTop;
   			obj = obj.offsetParent;
		}
		that.style.top = 350 - that.clientHeight/2;
		that.style.left = document.body.clientWidth/2 - that.clientWidth/2;
	}
	that.style.visibility = "visible";
}
function closePic (){
	var that = document.getElementById("infoView");
	that.style.visibility = "hidden";
}