var MM_contentVersion = 6;

function rand(range) {
	return Math.ceil(Math.random() * 1000) % range + 1;
}

								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 >= 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('MM_FlashCanPlay = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & MM_contentVersion)))\n');
									document.write('</SCR' + 'IPT\> \n');
								}
								if ( MM_FlashCanPlay ) {
									document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="727" HEIGHT="297" id="home" ALIGN="">');
									document.write('<PARAM NAME=movie VALUE="flash/hometeaser.swf?strUrl=">');
									document.write('<param name="wmode" value="transparent">');
									document.write('<PARAM NAME=quality VALUE=high>');
									document.write('<PARAM NAME=bgcolor VALUE=#453B86>');
									document.write('<EMBED src="flash/hometeaser.swf?strUrl=" quality=high bgcolor=#453B86  WIDTH="727" HEIGHT="297" NAME="home" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer" wmode="transparent"></EMBED>');
									document.write('</OBJECT>');
								} else{
									document.write('<div style="float: left; width: 258px;">');
									document.write('<p style="padding: 40px 0 0 10px; margin: 0;"><img src="images/ic_twoarrows.gif"><a href="rhoensprudel/index.php?sel=2_1"><b>Mineralwasser</b></a><br><img src="images/pic_empty.gif" width="11" height="1">Aus dem Biosphärenreservat Rhön</p>');
									document.write('<p style="padding: 50px 0 0 10px; margin: 0;"><img src="images/ic_twoarrows.gif"><a href="produkte/index.php?sel=2_0"><b>Biosfere Bio Apfelschorle</b></a><br><img src="images/pic_empty.gif" width="11" height="1">Biosfere Bio Apfelschorle mit dem<br><img src="images/pic_empty.gif" width="11" height="1">Biosiegel.</p>');
									document.write('<p style="padding: 50px 0 0 10px; margin: 0;"><img src="images/ic_twoarrows.gif"><a href="produkte/index.php?sel=5_0"><b>VITA ACE Fruchtsaftgetränke</b></a><br><img src="images/pic_empty.gif" width="11" height="1">Vitamain A, C und E zur Stärkung<br><img src="images/pic_empty.gif" width="11" height="1">Abwehrkräfte und zum Schutz der<br><img src="images/pic_empty.gif" width="11" height="1">Zellen</p>');
									
									document.write('<p style="padding: 20px 0 0 120px; margin: 0;"><a href="produkte/index.php"><b>Unsere Produkte</b></a></p>');
									document.write('</div>');
									document.write('<div style="float: right;"><img src="flash/no_flash_home_'+rand(3)+'.jpg" width="469" height="297" alt=""></div>');
								}