	focus();
			
	// Browser Detection
	var ie = (window.document.all)? true:false;
	var ie4 = navigator.appVersion;
	ie4 = ie4.indexOf("MSIE 4");
	ie4 = (ie4 != -1)? true:false;
	var ie55 = navigator.appVersion;
	ie55 = ie55.indexOf("MSIE 5.5");
	ie55 = (ie55 != -1)? true:false;
	var ie6	= navigator.appVersion;
	ie6 = ie6.indexOf("MSIE 6.6");
	ie6 = (ie6 != -1)? true:false;
	
	var ns4 = (parseFloat(navigator.appVersion)>=4)&&(parseFloat(navigator.appVersion)<5)&&((navigator.appName=="Netscape")||(navigator.appName=="Mozilla"))
	var ns5 = (parseFloat(navigator.appVersion)>=5)&&((navigator.appName=="Netscape")||(navigator.appName=="Mozilla"))
	var ns6 = (parseFloat(navigator.appVersion)>=5)&&((navigator.appName=="Netscape")||(navigator.appName=="Mozilla"))

	var mac = (navigator.platform == "MacPPC");
	var win = (navigator.platform == "Win32");
	
	var lRef;
	var sRef;
	function init () {
		if (ns4) {
	    	lRef = "document.layers[" ;
	    	sRef = "]" ;
			
		} else if (ns5 || ns6) {
	    	lRef = "document.getElementById(" ;
	    	sRef = ").style" ;
		} else if (ie4 || ie55 || ie6 || ie) {
	    	lRef = "document.all[" ;
	    	sRef = "].style" ;
		}
    }
	init();
	if (!dirLit) var dirLit = "";
	document.write ("<link rel=STYLESHEET type=text/css href="+dirLit+"../res/css/standard_"+((ns4)? "ns":"ie")+"_"+((win)? "win":"mac")+".css>");

	
	function MM_reloadPage(init) {  //fixes Netscape Resize-Bug
	   if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    	document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  	   else if (innerWidth!=document.MM_pgW || innerheight!=document.MM_pgH) location.reload();
	}
	MM_reloadPage(true);
		
	function openWin (url, titel, width, height) {
		posX = (screen.Width/2)-(width/2);
		posY = (screen.height/2)-(height/2);
		extras = "width=" + width + ",height=" + height + ",top="+posY+",left="+posX+",scrollbars=no,status=no,toolbar=no,menubar=no,location=0,resizeable=no";
		//extras = "";
		var win = window.open (url, titel, extras );
	}
	function openWinSitemap (url, titel, width, height) {
		posX = (screen.Width/2)-(width/2);
		posY = (screen.height/2)-(height/2);
		var win = window.open (url, titel, "width=" + width + ",height=" + height + ",top="+posY+",left="+posX+",scrollbars=no,status=no,toolbar=no,menubar=no,location=0,resizeable=no,alwaysRaised=yes");
	}
	
	function closeWin () { self.close (); }
	
	function chLang (language) {
		if (language=="de") language="en";
		else if (language=="en") language="de";
		top.frames.frame_bottom.location.href = language + "_bottom.phtml?language="+language;
		top.frames.frame_main.location.href = "top.phtml?language="+language;
	}
	
	function posLayerForNS () {
		document.layers["nav3"].left = 30;
		//document.layers["nav4"].left = 172;
		//document.layers["nav5"].left = 166;
	}
	
	

	function MM_preloadImages() { //v3.0
	  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
	    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
	    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
	}
	
	function MM_swapImgRestore() { //v3.0
	  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
	}
	
	function MM_findObj(n, d) { //v4.0
	  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
	    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
	  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
	  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
	  if(!x && document.getElementById) x=document.getElementById(n); return x;
	}
	
	function MM_swapImage() { //v3.0
	  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
	   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
	}
	
	// Anzeigen, Verbergen von Bildern für Sondernavigation, dynamisch erweiterbar)
	function MM_img_show(bild, bild_ea){
	  if (nav_punkt == bild){ // permanentes Anzeigen der Grafik für die aufgerufene Seite
		bild_ea = "1"+bild
	  }
      eval("document.navimg"+bild+".src=NumberImg["+bild_ea+"].src")
    }
	
	// Funktion zur Initialisierung der Seiten-Navigation
	function MM_swapImageInit() { //v3.0
	  var i,j=0,x,a=MM_swapImageInit.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
	   if ((x=MM_findObj(a[i]))!=null){x.src=a[i+2];}
	}		
	

// Funktion zum wechseln zwischen den Sprachen zur Verwendung bei Vollversionen (bisher deutsch und englisch).
// Bei deutsch und englisch wird beim Wechsel die gleiche Seite in der anderen Sprache angezeigt,
// bei anderen Sprachen wird nur auf die Einstiegsseite gesprungen	
function goLang (tlang)
{
/* Auskommentiert am 10.03.04. Beim Wechsel zwischen deutsch und englisch soll auch das komplette Frameset gewechselt werden. */
/*	if(tlang == "de" || tlang == "en")
	{
		currPath = parent.frame_main.location.href;
		lenPath = currPath.length;
		currQuery = "";
		newQuery = "?language="+tlang;
		posQuestionmark = currPath.indexOf ("?");
		if (posQuestionmark != -1) {
			currQuery = currPath.substr (posQuestionmark, lenPath - posQuestionmark);
			if (currQuery.indexOf ("lang") != -1) {
				newQuery = currQuery.replace (/language=.{2}/,"language="+tlang);
			} 
			else {
				newQuery = currQuery + "&" + newQuery.replace("?","");
			}
		}
		currPathOnly = currPath.replace (currQuery, "");
		parent.frame_main.location.href = currPathOnly + newQuery;
		parent.frame_bottom.location.href = tlang +"_bottom.phtml";
	}*/
	
	// folgende if-Anweisung existiert nur, da die vorherige Auskommentiert wurde, muß gelöscht werden, falls die vorherige wieder aktiviert wird
	if(tlang == "de") top.location.href = "../index.html";
	else
	{
		top.location.href = "../index_" + tlang + ".html";
		//parent.frame_main.location.href = "../" + tlang + "/top.phtml?language=" + tlang;
		//parent.frame_bottom.location.href = "../" + tlang + "/" + tlang + "_bottom.phtml";
	}
}
	
	
	// Funktion zum wechseln zwischen den Sprachen zur Verwendung bei nicht Vollversionen (z.B. russisch).
	function changeLang (tlang)
	{
		if(tlang == "de" || tlang =="en")
		{
			top.location.href = (tlang == "en"? "../index_en.html": "../index.html");
			//parent.frame_main.location.href = "../content/top.phtml?language=" + tlang;
			//parent.frame_bottom.location.href = "../content/" + tlang +"_bottom.phtml";
		}
		else if(tlang == "international")
		{
			//top.location.href = "../index_en.html";
			//parent.frame_main.location.href = "../content/top.phtml?language=en&theme=andere_sprachen/sprachen&num=5.1";
			parent.frame_main.location.href = "../content/top.phtml?language=en&theme=andere_sprachen/sprachen";
			parent.frame_bottom.location.href = "../content/en_bottom.phtml";
		}
		else
		{
			top.location.href = "../index_" + tlang + ".html";
			//parent.frame_main.location.href = "../" + tlang + "/top.phtml?language=" + tlang;
			//parent.frame_bottom.location.href = "../" + tlang + "/" + tlang + "_bottom.phtml";
		}
	}
	
	// Funktion zum Weiterleiten auf die 2. Navigationsebene beim Wechsel von deutsch
	// nach englisch oder umgekehrt für den Fall, daß eine Seite nur auf deutsch
	// aber nicht auf englisch, oder umgekehrt, existiert
	function goSecondNavigationLevel(url)
	{
		arrUrl = url.split("?");
		arrParam = arrUrl[1].split("&");
		theme = "";
		for(i = 0; i < arrParam.length; i++)
		{
			if(arrParam[i].indexOf("theme") != -1)
			{
				arrTheme = arrParam[i].split("/");
				for(j = 0; j < 2; j++)
				{
					theme += arrTheme[j] + (j < 1? "/": "");
				}
				arrParam[i] = theme;
			}
		}
		strParam = "";
		for(i = 0; i < arrParam.length; i++)
		{
			strParam += arrParam[i] + (i < arrParam.length-1? "&": "");
		}
		url = arrUrl[0] + "?" + strParam;
		location.href = url;
	}
	
	/*
	 * Öffnet das Fenster mit der Microsite Musikbranche (deutsch)
	 */
	function musicWindow()
	{
		window.open('/index_music.phtml','musikbranche');
	}
	
	/*
	 * Öffnet das Fenster mit der Microsite Musikbranche (englisch)
	 */
	function musicWindowEnglish()
	{
		window.open('/index_music_en.phtml','musikbranche');
	}