function zeigeBilder(imgName) {
	alert(imgName);
	//parent.document.getElementById("BildGross").src = imgName.src;
}

function openWindow(url, w, h) { 
   var padding; 
   (navigator.appName == "Microsoft Internet Explorer") ? (padding = 10) : (padding = 0); 

   var screenw = screen.availWidth; 
   var screenh = screen.availHeight; 
   var winw = (screenw + 15 + padding)/2; 
   var winh = (screenh + 15 + padding)/2; 
   var posx = (screenw / 2) - (winw / 2); 
   var posy = (screenh / 2) - (winh / 2); 

   var mywin = window.open(url,"mywin","top="+posy+",left="+posx+",width="+winw+",height="+winh+",menubar=no,locationbar=no,statusbar=no,resizable=no,toolbar=no,dependent=yes,scrollbars=no"); 
   mywin.focus(); 
}

function msgBox(url) { 
	var box=window.confirm("ACHTUNG: es werden neben der PDF-Kategorie auch alle zugehörigen Bilder gelöscht!") // textangebe die mit der confirm-box ausgegeben wird. 
	if(box==true){
		window.location.href = url; // www-addressenangabe fuer wenn OK gedrückt wird.
	}
	else if(box==false) {
		alert("Es wurde keine PDF-Kategorie und keine Bilder gelöscht."); // ausgabe für wenn abbrechen gedrückt wird.
	}
}
