window.onload = init;
function init() {
	if (document.getElementsByTagName("img")[0]) {
		var images = document.getElementsByTagName("img");
		for ( var i=0; i<images.length; i++ ) {
			if (images[i].className == "ref") {
				images[i].onclick = function () {showimg(this.src,this.alt)};
				images[i].style.cursor="pointer";
}	}	}	}
function showimg(src,alt) {
	bild_window = window.open("","Bild","toolbar=no,width=850,height=580,directories=no,scrollbars,status=no,menubar=no,resizable=yes");
	bild_window.document.writeln('<html><head>');
	bild_window.document.writeln('<title>'+alt+'</title>');
	bild_window.document.writeln('</head><body><div style="margin-top:25px;height:100%;width:100%;"><img src="'+src.replace(/_vorschau/,"")+'" alt="'+alt+'" /></div>');
	bild_window.document.writeln('<div style="position:absolute;right:3px;top:3px;"><a href="javascript:" onclick="self.close()">Schlie&szlig;en</a></div>');
	bild_window.document.writeln('</body></html>');
	bild_window.document.close();
	bild_window.focus();
}