function AutoPopUp(Datei, Titel) {

Eigenschaften = "left=10, top=10,";
Eigenschaften += " width=600, height=850,";
Eigenschaften += " menubar=0";     
Eigenschaften += " toolbar=0";     
Eigenschaften += " statusbar=0";   
Eigenschaften += " scrollbars=1";  
Eigenschaften += " resizable=0";   
Eigenschaften += " locationbar=0"; 
Eigenschaften += " directories=0"; 

newWindow = window.open(Datei,Titel,Eigenschaften);
newWindow.focus();

}


function showPic(GrafikURL, Titel, Breite, Hoehe, Sprache)
{
	Fensteroptionen="toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0";

	Grafikfenster=window.open("", "", Fensteroptionen + ',width=' + Breite + ',height=' + Hoehe);
	Grafikfenster.focus();
	Grafikfenster.document.open();
	with(Grafikfenster)
	{
		document.write("<html><head>");
		document.write("<title>" + Titel + "</title>");
		document.write("</head>");
		document.write("<body leftmargin=\"0\" marginheight=\"0\" marginwidth=\"0\" topmargin=\"0\">");
		
		if (Sprache=="de"){
			document.write("<img height=\"" + Hoehe + "\" border=\"0\" onclick=\"window.close();\" src=\""+ GrafikURL +"\" title=\"Zum Schließen auf das Foto klicken\">");		
		} else {
			document.write("<img height=\"" + Hoehe + "\" border=\"0\" onclick=\"window.close();\" src=\""+ GrafikURL +"\" title=\"Click to close\">");				
		}
		
		document.write("</body></html>");
	}

	return;
}

activateMenu = function(nav) {
	if (document.all && document.getElementById(nav).currentStyle) {
        	var navroot = document.getElementById(nav);
                var lis=navroot.getElementsByTagName("LI");
        		for (i=0; i<lis.length; i++) {
			    if(lis[i].lastChild.tagName=="UL"){
		             	lis[i].onmouseover=function() {
		                   this.lastChild.style.display="block";
                		}
                		lis[i].onmouseout=function() {
                   		this.lastChild.style.display="none";
                		}
            		}
        	}
    	}
}

window.onload= function(){
       activateMenu('vertnav');
}
