// JavaScript Document 
var hasRightVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
if(hasRightVersion) {  // if we've detected an acceptable version
	var oeTags = '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"'
	+ 'codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="985" height="300" align="middle">'
	+ '<param name="allowScriptAccess" value="sameDomain" />'
	+ '<param name="movie" value="book.swf" />'
	+ '<param name="wmode" value="transparent" />'
	+ '<param name="quality" value="high" />'
	+ '<embed src="book.swf" quality="high" width="985" height="300" align="middle" allowscriptaccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />'
	+ '<\/object>';
	document.write(oeTags);   // embed the flash movie
  } else {  // flash is too old or we can't detect the plugin
/*	var alternateContent = '<img src="noflash/logo.gif" alt="Integrating Technology Mildura">';*/
	var alternateContent = '<a href="pdf/national_register.pdf" target="_blank"><img src="images/press_release.gif" style="width:985px; height:300px; border:none;"></a>';
	document.write(alternateContent);  // insert non-flash content
  }
  