if (navigator.userAgent.indexOf("MSIE")!= -1){
   Browser = ("IE");
   }
   else if (navigator.userAgent.indexOf("Netscape")!= -1){
   Browser = ("Netscape");
   }
   else if (navigator.userAgent.indexOf("Opera")!= -1){
   Browser = ("Opera");
   }
   else if (navigator.userAgent.indexOf("Firefox")!= -1){
   Browser = ("Firefox");
   }
	else if (navigator.userAgent.indexOf("Safari")!= -1){
   Browser = ("Safari");
   }
   else{
   Browser = navigator.userAgent;
   }
//SubMenue/***************************************

function VorschauEinblenden(Rutschentyp){
	if(Browser == "IE"){
		TopPosition = document.getElementById(Rutschentyp).offsetTop;
		TopPosition +=20;
	}else{
		TopPosition = document.getElementById(Rutschentyp).offsetTop+"px";
	}
	//TopPosition = "313px";
	//alert(TopPosition);
	MenuVorschau=document.getElementById("VorschauContainer");
	MenuVorschau.style.top = TopPosition;
	MenuVorschau.style.left = "160px"
	MenuVorschau.innerHTML= "<div id='VorschauBild'><img src='vsBilder/"+Rutschentyp+".jpg' alt='"+Rutschentyp+"' /></div>";
	MenuVorschau.style.display = "block";
}
function VorschauAusblenden(){
	MenuVorschau=document.getElementById("VorschauContainer");
	MenuVorschau.style.display = "none";
}
//*************Hat ichts mehr mit Buttonvorschau zu tun. Ist für das öffnen des Downloadbereiches***********************

function NF(pfad, breite, hoehe){
	Fenster1 = window.open(pfad, "Zweitfenster", "width="+breite+", height="+hoehe+", left=150, top=100, resizable=yes, status=yes, scrollbars=yes");
	Fenster1.focus();
}

