//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="551" height="153" id="flash" ALIGN="">');
		document.write('<PARAM NAME="movie" VALUE="data/files/flash/' + Name + '.swf"/>');
		document.write('<PARAM NAME="quality" VALUE="high"/>');
		document.write('<PARAM NAME="bgcolor" VALUE="#ffffff"/>');
		document.write('<PARAM NAME="wmode" VALUE="transparent"/>');
		document.write('<PARAM NAME="menu" VALUE="false"/>');
		document.write('<EMBED src="data/files/flash/' + Name + '.swf" wmode="transparent" quality="high" bgcolor="#ffffff" width="551" height="153" NAME="flash" ALIGN="" 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/img2.jpg" alt="" border="0" width="551" height="153" /></a>');}
}

function FlashWriteBanner(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="140" height="100" id="flash" ALIGN="">');
		document.write('<PARAM NAME="movie" VALUE="data/files/flash/realityunistav.swf"/>');
		document.write('<PARAM NAME="quality" VALUE="high"/>');
		document.write('<PARAM NAME="bgcolor" VALUE="#ffffff"/>');
		document.write('<PARAM NAME="wmode" VALUE="transparent"/>');
		document.write('<PARAM NAME="menu" VALUE="false"/>');
		document.write('<EMBED src="data/files/flash/realityunistav.swf" wmode="transparent" quality="high" bgcolor="#ffffff" width="140" height="100" NAME="flash" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>');
		document.write('</OBJECT>');
	}
}

function Positions()
{
	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="150" height="150" id="flash" ALIGN="">');
		document.write('<PARAM NAME="movie" VALUE="/data/files/flash/volna_mista.swf"/>');
		document.write('<PARAM NAME="quality" VALUE="high"/>');
		document.write('<PARAM NAME="bgcolor" VALUE="#ffffff"/>');
		document.write('<PARAM NAME="wmode" VALUE="transparent"/>');
		document.write('<PARAM NAME="menu" VALUE="false"/>');
		document.write('<EMBED src="/data/files/flash/volna_mista.swf" wmode="transparent" quality="high" bgcolor="#ffffff" width="150" height="150" NAME="flash" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>');
		document.write('</OBJECT>');
	}
}

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
}
