function InsertFlash(d,ident,Source,Width,Height)	{
d.write('<OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" CODEBASE="http://active.macromedia.com/flash5/cabs/swflash.cab#version=5,0,0,0"" ID='+ident+' WIDTH='+Width+' HEIGHT='+Height+'> ');
d.write(' <PARAM NAME="movie" VALUE="'+Source+'">');
d.write(' <PARAM NAME="play" VALUE="true">');
d.write(' <PARAM NAME="quality" VALUE="high">');
d.write(' <EMBED NAME='+ident+' SRC="'+Source+'" WIDTH='+Width+' HEIGHT='+Height+' PLAY=true SWLIVECONNECT=true QUALITY=high>');
d.write('</OBJECT>');
}

function isFlash(ver) {
var state = false;
var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : false;
if (plugin) {
	state = (parseInt(plugin.description.substring(plugin.description.indexOf(".")-1)) >= ver)? true : false;
}
else if (navigator.appName == "Microsoft Internet Explorer" && navigator.appVersion.indexOf("MSIE 4") == -1 && navigator.appVersion.indexOf("Macintosh") == -1 && navigator.appVersion.indexOf("68K") == -1) {
	eval('try { var flash = new ActiveXObject("ShockwaveFlash.ShockwaveFlash." + ver); state = true; } catch(e) {  }');
}
return state;
}

function postovne() {
	document.getElementById('postovne').style.display = 'block';
}
