<!--- vor alten Browsern verstecken

function ShowPicture(PictureName) {
	picture = new Image();
	picture.src = (PictureName);
	Control(PictureName);
}

function Control(PictureName) {
	if ((picture.width != 0) && (picture.height != 0)) {
		Show(PictureName);
	}
	else {
		funzione = "Control('" + PictureName + "')";
		setTimeout(funzione, 20);
	}
}

function Show(PictureName) {
//	picture = new Image();
//	picture.src = (PictureName);

	xsize = picture.width + 40;
	ysize = picture.height + 115;

	if (ysize > screen.height) ysize = screen.height - 100;

	xpos = (screen.width - xsize) / 2;
	ypos = (screen.height - ysize) / 2;

	NewWindow = open("", "PictureName", "height = " + ysize + ",width = "+ xsize + ", scrollbars = no, resizable = no, top = " + ypos + ", left = " + xpos + "");
	with (NewWindow.document) {
		write ("<html><head><title>Metzgerei Hach GmbH Partyservice");
		write ("</title></head>");
		write ("<body background = images/back.gif bgcolor = '#ff6400' onload = 'focus()'>");
		write ("<table align = 'center'><tr>");
		write ("<td align = 'center' valign = 'top'>");
		write ("<table border = '1' bgcolor = '#000000' cellpadding = '0' cellspacing = '1'><tr><td align = 'center'>");
		write ("<img src = ");
		write (PictureName);
		write (">");
		write ("</tr></table>");
		write ("</td></tr><tr>");
		write ("<td align = 'center' valign = 'bottom'>");
		write ("<br><center><form><input type = 'button' value = 'Fenster schließen' onClick = 'self.close()'>");
		write ("</td></tr></table>");
		write ("</form></body></html>");
		close();
	}
	NewWindow.resizeTo(xsize, ysize); 
}
// wieder zeigen -->

