// CONFIGURATION //
if(!min_flashversion) var min_flashversion = 6;  // Flashversion

if(!swfdata) var swfdata='../images/slideshow01.swf'; // Flashfilm verweis

if(!placeholder) var placeholder='<img src="../images/top/header_bild.jpg" alt="" width="564" height="106" border="0" vspace="1">'; // Platzhalter

if(!embalig) var embalig='left'; // Horizontale Ausrichtung des Films

if(!embheight) var embheight='104'; // Hoehe des Films

if(!embwidth) var embwidth='564'; // Breite des Films

if(!embstyle) var embstyle='padding-left:2px;margin-top:2px;'; // Styleangaben

if(!contentdivstyle) var contentdivstyle='';

// / CONFIGURATION //

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 MM_FlashCanPlay = MM_PluginVersion >= min_flashversion;
}
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('MM_FlashCanPlay = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & min_flashversion)))\n');
	document.write('</SCR' + 'IPT\> \n');
}
if ( MM_FlashCanPlay ) {
	if(contentdivstyle && contentdivstyle != '')  document.write('<div style="'+contentdivstyle+'">');
	document.write('<object style="'+embstyle+'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" ');
	document.write('codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version='+min_flashversion+',0,0,0"');
	document.write(' ID="module_P2" height="'+embheight+'" width="'+embwidth+'" align="'+embalig+'">');
	document.write('<param name="movie" value="'+swfdata+'">');
	document.write('<param name="quality" value="best">');
	document.write('<param name="play" value="true">');
	document.write('<embed align="'+embalig+'" height="'+embheight+'" pluginspage="http://www.macromedia.com/go/getflashplayer" src="'+swfdata+'"');
	document.write('type="application/x-shockwave-flash" width="'+embwidth+'" quality="best" play="true">'); 
	document.write('</object>');
	if(contentdivstyle && contentdivstyle != '') document.write('</div>');
} else{
	document.write(placeholder);
}

