function view_foto(file,caption)
{
 	var wnd, doc, code;
    
 	wnd = window.open("", "ZOOM", "width=320, height=300, menubar=no, scrollbars=no");
    wnd.document.open();    
    doc = wnd.document;
 
 	code  = "<html><head><!-- PageID 7 - published by RedDot 6.1 - 6.1.2.5 - 11528 --><title>" + caption + "</title></head><body style=\"background-color: #f2f2f2;text-align:center;\" onLoad='javascript:window.resizeTo(document.bild.width+50, document.bild.height+90)'>";
 	code += "<img name='bild' src=" + file + ">";
	code += "<div style=\"width:100%; padding: 5px 0;text-align:left;\"><a style=\"color:black;font-family:Verdana,Arial,helvetica;font-size:9px;text-decoration:none\" href=\"javascript:self.close();\">[Dieses Fenster schlie&szlig;en]</a></div>"
 	code += "</body></html>";
 
 	doc.write(code);   
    doc.close();
    wnd.focus();
}

function ds(redirect) {
	var d, dom, ie, ie4, ie5x, moz, mac, win, lin, old, ie5mac, ie5xwin, op, l, fs;

	d = document;
	n = navigator;
	na = n.appVersion;
	nua = n.userAgent;
	win = ( na.indexOf( 'Win' ) != -1 );
	mac = ( na.indexOf( 'Mac' ) != -1 );
	lin = ( nua.indexOf( 'Linux' ) != -1 );
	fs  = false;
	
	if ( !d.layers ){
		dom = ( d.getElementById );
		op = ( nua.indexOf( 'Opera' ) != -1 );
		konq = ( nua.indexOf( 'Konqueror' ) != -1 );
		saf = ( nua.indexOf( 'Safari' ) != -1 );
		moz = ( nua.indexOf( 'Gecko' ) != -1 && !saf && !konq);
		ie = ( d.all && !op );
		ie4 = ( ie && !dom );
		ie5x = ( d.all && dom );
		ie5mac = ( mac && ie5x );
		ie5xwin = ( win && ie5x );
	}

	if (saf) {
		try {
		l = top.location.href;
		if (l.indexOf("800-jahre") != -1)
			fs = true;
		}
		catch (e) {
			top.location.href = redirect;
		}
		if (fs) {
			top.location.href = redirect;
		}
	} // if (saf)
}