//vypsani flashe
function FlashWrite(Name)
{
	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="780" height="262" id="icb1" align="middle">');
		document.write('<PARAM NAME="movie" VALUE="data/files/flash/' + Name + '"/>');
		document.write('<PARAM NAME="quality" VALUE="high"/>');
		document.write('<PARAM NAME="bgcolor" VALUE="#ffffff"/>');
		document.write('<PARAM NAME="wmode" VALUE="transparent"/>');
		document.write('<EMBED src="data/files/flash/' + Name + '" wmode="transparent" quality="high" bgcolor="#ffffff" width="780" height="262" name="icb1" align="middle" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>');
		document.write('</OBJECT>');
	}
	else {document.write('<a href="/"><img src="data/xsl/img/img1.jpg" alt="" border="0" width="434" height="264" /><img src="data/xsl/img/img2.jpg" alt="" border="0" width="346" height="264" /></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
}

