var bgcolor = "#666666"; // Hintegrundfarbe (mit Raute bei Hexangabe)
var linkcolor = "#000000"; // Linkfarbe (mit Raute bei Hexangabe)
var vlinkcolor = "#000000"; // ViewedLinkfarbe (mit Raute bei Hexangabe)
var alinkcolor = "#000000"; // ActiveLinkFarbe (mit Raute bei Hexangabe)

var stheight = 700 
var stwidth = 700


function zoomImage(imagefile) 
{
	var Bild = new Image();
	Bild.src = imagefile;
	
	wheight = Bild.height;
	wwidth = Bild.width;

	if ( wheight == 0 ) { wheight = stheight; }
	if ( wwidth == 0 ) { wwidth = stwidth; }
	
	
	wwidth += 40;
	wheight += 40;
	
	Fenster = window.open("","zoomVentana","height="+ wheight +",width="+ wwidth  +",status=no,location=no,resizable=yes,menubar=no,toolbar=no");
	Fenster.document.write("<html><head><title>DIBAM</title></head><body bgcolor=\"" + bgcolor + "\" link=\"" + linkcolor + "\" alink=\"" + alinkcolor + "\" vlink=\"" + vlinkcolor + "\" onload=\"this.focus();\">");
	Fenster.document.write("<center><img src=\"" + Bild.src + "\" border=\"0\"><br>");
	Fenster.document.write("<a href=\"javascript:self.close()\" style=\"text-decoration:none;\"><strong>[Cerrar]</strong></a></center>");
	Fenster.document.write("</body></html>");
}
