/*flash*/
var MM_contentVersion = 6;
var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;
if ( plugin ) {
		var words = navigator.plugins["Shockwave Flash"].description.split(" ");
	    for (var i = 0; i < words.length; ++i)
	    {
		if (isNaN(parseInt(words[i])))
		continue;
		var MM_PluginVersion = words[i]; 
	    }
	var fl = MM_PluginVersion >= MM_contentVersion;
}
else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0 
   && (navigator.appVersion.indexOf("Win") != -1)) {
	document.write('<SCR' + 'IPT LANGUAGE=VBScript\> \n'); //FS hide this from IE4.5 Mac by splitting the tag
	document.write('on error resume next \n');
	document.write('fl = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & MM_contentVersion)))\n');
	document.write('</SCR' + 'IPT\> \n');
}
if(fl){
	document.write('<style type="text/css">.betriebscontent h1, .betriebscontent h2 {display: none;}</style>');
}
	
function mf(f,x,w,h,bg,e) {
	if (fl){
		var specialchar = new Array('ä','ö','ü','Ä','Ö','Ü','ß','á','à','â','ã','é','è','ê','ú','ù','û','ó','ò','ô','í','ì','î');
		var specialcharutf8 = new Array('%C3%A4','%C3%B6','%C3%BC','%C3%84','%C3%96','%C3%9C','%C3%9F','%C3%A0','%C3%A1','%C3%A2','%C3%A9','%C3%A8','%C3%AA','%C3%BA','%C3%B9','%C3%BB','%C3%B3','%C3%B2','%C3%B4','%C3%AD','%C3%AC','%C3%AE');
		for (i=0;i<specialchar.length;i++){
			x = x.replace(specialchar[i], specialcharutf8[i]);
		}
		
		document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"');
		document.write('codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+w+'" height="'+h+'">');
		if (f=="flash/main_movie.swf"){
			document.write('<param name="movie" value="'+f+''+x+'"><param name="bgcolor" value="'+bg+'"><param name="quality" value="high"><param name="scale" value="noscale"><param name="wmode" value="transparent"><param name="align" value="left">');		
		} else {
			document.write('<param name="movie" value="'+f+''+x+'"><param name="bgcolor" value="'+bg+'"><param name="quality" value="high"><param name="scale" value="noscale"><param name="wmode" value="transparent">');	
		}
		document.write('<embed src="'+f+''+x+'" quality="high" scale="noscale" width="'+w+'" height="'+h+'" bgcolor="'+bg+'" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" wmode="transparent">');
		document.write('</object>');
	} else {
		if (f=="/flash/top_movie.swf"){
			

			
			var regex = /\?imgnum\=[0-9]*\&flashpath\=/;
			var regex2 = /\&soms\=[a-z]*[0-9]*/;
			
			var regexsoms = /\?imgnum\=[0-9]*\&flashpath\=[a-z]*\&soms\=/;
			
			x2 = x.replace(regex,"");
			x2 = x2.replace(regex2,"");

			soms = x.replace(regexsoms,"");
			
			//alert(x2.replace(pattern,""));		
			//alert(soms);
			
			if (!x2) {
				imgsrc = "/images/flash/"+soms+"/default/1.jpg";
			} else {
				imgsrc = "/images/flash/"+x2+"/1.jpg";
			}
			
			
			//alert (imgsrc);
			
			document.write("<img src=\""+imgsrc+"\" border=0 width=505 height=292>");
		} else {
			//x = x.replace("?txt=","");
			//document.write("<b>"+x+"</b>");		
		}
	}
}


