  function showPic(BildURL,w,h) {
    
	document.getElementById("dasBild").src='HP/Frontend/Bilder/Transp.gif';
  
	var width = document.documentElement.clientWidth;
	//var height = document.body.scrollHeight;   // does not work in Firefox... IE and Opera is okay
	var height = document.documentElement.clientHeight;
	/*document.getElementById("shader").style.height=height+"px";
	document.getElementById("shader").style.width=width+"px";
	//if (navigator.userAgent.indexOf("Firefox")!=-1) { document.getElementById("shader").style.position="fixed"; }       // workaround for Firefox if you use scrollHeight above. But scrolling is sloooow...
	document.getElementById("shader").style.visibility="visible";*/

  var ScrollOffset=window.pageYOffset;
  if(ScrollOffset==undefined) ScrollOffset=document.documentElement.scrollTop;
  if(ScrollOffset==undefined) ScrollOffset=0;	
  
	var popupx = (width/2)-(w/2);
	//var popupy = ((height/2)-(h/2))+ScrollOffset;
	popupy=235;
	
	//alert(document.documentElement.scrollTop+" "+window.pageYOffset+" "+document.body.clientHeight);
	
	
  document.getElementById("bildContainer").style.left=popupx+"px";
  document.getElementById("bildContainer").style.top=popupy+"px";
	document.getElementById("dasBild").width=w;
	document.getElementById("dasBild").height=h;
	document.getElementById("dasBild").src=BildURL;
	document.getElementById("bildContainer").style.visibility="visible";
	
  }
  
  function showPic2() {
  	//document.getElementById("shader").style.visibility="hidden";
  	document.getElementById("bildContainer").style.visibility="hidden";
  	document.getElementById("dasBild").src='HP/Frontend/Bilder/Transp.gif';
  }
  
  function position_it()
  {
    var width = document.documentElement.clientWidth;
    var w=document.getElementById("dasBild").width;
    var popupx = (width/2)-(w/2);
    document.getElementById("bildContainer").style.left=popupx+"px";
  }
