var hasRightVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
if (hasRightVersion) {  // if we've detected an acceptable version
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="200" height="200">');
	document.write('<param name="movie" value="/img/logo.swf">');
	document.write(' <param name="quality" value="high">');
	document.write('<PARAM NAME="MENU" VALUE="FALSE" />');
	document.write('<embed src="/img/logo.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="200" height="200"></embed>');
	document.write('</object>');
} else {  // flash is too old or we can't detect the plugin
	document.write('<a href="http://www.korporatiff.com.ua"><img src="/img/logo.jpg" border="0"></a>');
}
