// meckenstocks.de
// horn@fienehorn.de

// javascript-deklarationen

// realisierung:              
// fiene,horn. Büro für Medien und Kommunikation
//             www.fienehorn.de




// deklarationsteil: variablen popup

var objPopup;




// funktion: popup image
function fctPopupImage(strDateiname, strUeberschrift, intBreite, intHoehe)
{
	objPopup = window.open("", "popupimagefenster", "height=" + (intHoehe + 10) + ", innerHeight=" + (intHoehe + 10) + ", innerWidth=" + (intBreite + 10) + ", left=150, location=no, menubar=no, resizable=no, scrollbars=no, status=no, toolbar=no, top=120, width=" + (intBreite + 10));
	objPopup.document.writeln("<html>");

	objPopup.document.writeln("<head>");
	objPopup.document.writeln("<title>" + strUeberschrift + "</title>");
	objPopup.document.writeln("</head>");

	objPopup.document.writeln("<body style=\"margin: 0px; text-align: center;\">");
	objPopup.document.writeln("<a href=\"javascript:window.close();\"><img alt=\"" + strUeberschrift + "\" src=\"" + strDateiname + "\" style=\"border: 0px; height: " + intHoehe + "px; width: " + intBreite + "px; margin-top: 5px;\"></a>");
	objPopup.document.writeln("</body>");

	objPopup.document.writeln("</html>");
	objPopup.focus();
}
