<!--
function OpenImg(img){
	foto1= new Image();
	foto1.src=(img);
	ControllImg(img);
	
}

function ControllImg(img){
	var zagent = navigator.userAgent;
	var zopera = zagent.search(/Opera.+/);
	if (zopera != -1) {
		finis=window.open(img,'Bild','toolbar=yes,location=yes,directories=yes,status=no,copyhistory=no,scrollbars=yes,resizable=yes,width=710,height=535,screenX=130,screenY=130,left=30,top=30');	
   		if (popup.opener == null) popup.opener = window;		
		}
	
	else{
		if((foto1.width != 0)&&(foto1.height != 0)){
			viewFoto(img);
		}
		else{
			zstring2="ControllImg('"+img+"')";
			intervall=setTimeout(zstring2,20);
		}
	}
	
}

function viewFoto(img){
	var zagent = navigator.userAgent;
	var zmsie = zagent.search(/MSIE.+/);
	if (zmsie != -1) {
		zwidth=foto1.width+24;
		zheight=foto1.height+28;
	}
	else{
		zwidth=foto1.width+16;
		zheight=foto1.height+16;
	}
	if (screen.width == 800 && (zwidth>730 || zheight>530)) {
			zwidth=740;
			zheight=530;
			zstring="width="+zwidth+",height="+zheight+",screenX=130,screenY=110,left=30,top=10,toolbar=yes,location=yes,directories=yes,status=no,copyhistory=no,scrollbars=yes,resizable=yes";
		}
		else{
			if (screen.width > 1023 && (zwidth>980 || zheight>700)) {
				zwidth=980;
				zheight=700;
				zstring="width="+zwidth+",height="+zheight+",screenX=130,screenY=110,left=30,top=10,toolbar=yes,location=yes,directories=yes,status=no,copyhistory=no,scrollbars=yes,resizable=yes";
				}
			else{
			zstring="width="+zwidth+",height="+zheight+",screenX=130,screenY=110,left=30,top=10,toolbar=yes,cation=yes,directories=yes,status=no,copyhistory=no,scrollbars=no,resizable=yes";
			}
		}
	
	finis=window.open(img,'',zstring);
}
// -->

