var plugin = true;
/*(navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;

if (plugin) 
	{ 
	plugin = parseInt(plugin.description.substring(plugin.description.indexOf(".")-1)) >= 6; 
	}
else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE") >= 0 && (navigator.userAgent.indexOf("Windows 95") >=0 
		|| navigator.userAgent.indexOf("Windows 98") >= 0 || navigator.userAgent.indexOf("Windows NT") >= 0)) 
	{ 
	document.write('<script language="VBScript"\> \n'); 
	document.write('    on error resume next \n'); 
	document.write('    plugin = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.6")))\n'); 
	document.write('<\/script\> \n'); 
	}
*/
//aufruf flashani(/images/h_header.swf,,966,230,h_head);
function flashani(movie, fallback, width, height, id)
	{
		var flash = '';
var ur = window.location.search;

	
	if (plugin == true) {
		if (ur == "?&L=1" || ur == "?&L=2" || ur == "?&L=3") {
		
		flash =
		'<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'
		+ ' codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0"'
		+ ' id="h_header_en" width="' + width + '" height="' + height + '" align="">'
		+ '<param name="movie" value="fileadmin/templates/images/h_header_en.swf" \/>\n'
		+ '<param name="wmode" value="opaque" \/>\n' 
		+ '<param name="quality" value="high" \/>\n'
		+ '<param name="loop" value="false" \/>\n'
		+ '<param name="menu" value="false" \/>\n'
		+ '<param name="bgcolor" value="#FFFFFF" \/>\n'
		+ '<embed src="fileadmin/templates/images/h_header_en.swf" loop="false" menu="false" bgcolor="#FFFFFF" quality="high"' 				+ ' name="' + id + '" width="' + width + '" height="' + height + '" align="" '
		+ 'type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">' 
		+ '<\/embed><\/object>';			
		}
	else 	{
		flash =
		'<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'
		+ ' codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0"'
		+ ' id="' + id + '" width="' + width + '" height="' + height + '" align="">'
		+ '<param name="movie" value="' + movie + '" \/>\n'
		+ '<param name="wmode" value="opaque" \/>\n' 
		+ '<param name="quality" value="high" \/>\n'
		+ '<param name="loop" value="false" \/>\n'
		+ '<param name="menu" value="false" \/>\n'
		+ '<param name="bgcolor" value="#FFFFFF" \/>\n'
		+ '<embed src="' + movie + '" loop="false" menu="false" bgcolor="#FFFFFF" quality="high"' 				+ ' name="' + id + '" width="' + width + '" height="' + height + '" align="" '
		+ 'type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">' 
		+ '<\/embed><\/object>';
	
		}	
		
	} 
	else if (fallback && !(navigator.appName
		&& navigator.appName.indexOf("Netscape") >= 0
		&& navigator.appVersion.indexOf("2.") >= 0)) {
		if (ur == "?&L=1") 
			{
		flash = '<img src="fileadmin/templates/images/h_header_fallback_en.jpg" width="' + width + '" height="' + height + '" border="0" \/>';	
			}
		else 	{	 
		flash = '<img src="' + fallback + '" width="' + width + '" height="' + height + '" border="0" \/>';
			}
	}
	return flash;
}
