function FlashWriteHome()
{
	if (Flash())
	{
		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="550" height="170" id="flash" ALIGN="">');
		document.write('<PARAM NAME="movie" VALUE="gastro01.swf"/>');
		document.write('<PARAM NAME="quality" VALUE="high"/>');
		document.write('<PARAM NAME="wmode" VALUE="transparent"/>');
		document.write('<PARAM NAME="bgcolor" VALUE="#ffffff"/>');
		document.write('<PARAM NAME="menu" VALUE="false"/>');
		document.write('<EMBED src="gastro01.swf" wmode="transparent" quality="high" bgcolor="#ffffff" width="550" height="170" NAME="flash" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>');
		document.write('</OBJECT>');
	}
	else {
		document.write('<a href="../index.html"><img src="../img/mainPicA.jpg" alt="GASTROFULLSERVIS s.r.o." title="GASTROFULLSERVIS s.r.o." class="left" /></a>');
		document.write('<a href="../index.html"><img src="../img/mainPicB.jpg" alt="GASTROFULLSERVIS s.r.o." title="GASTROFULLSERVIS s.r.o." class="left" /></a>');
		document.write('<a href="../index.html"><img src="../img/mainPicC.jpg" alt="GASTROFULLSERVIS s.r.o." title="GASTROFULLSERVIS s.r.o." class="left" /></a>');
	}
}

function Flash()
{
var state
var plugin = 'Shockwave Flash'
var IEGoesToURL = true
if ((navigator.plugins && navigator.plugins[plugin]) || (IEGoesToURL && navigator.appName.indexOf('Microsoft') != -1 && navigator.appVersion.indexOf('Mac') == -1 && navigator.appVersion.indexOf('3.1') == -1)) {state = "true";} else {state = "false";}
return state
}
