var hasReqestedVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
if (hasReqestedVersion) {
  var oeTags = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="777" height="211">'+
	'<param name="movie" value="flash/head.swf">'+
	'<param name="quality" value="best">'+
	'<param name="menu" value="false">'+
	'<PARAM NAME="wmode" VALUE="opaque">'+
	'<embed src="flash/head.swf" quality="high" wmode="opaque" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="777" height="211"></embed>'+
	'</object>';
  document.write(oeTags);
} else {
  var alternateContent = '';
  document.write(alternateContent);  // insert non-flash content
}