// Version check based upon the values entered above in "Globals"
var hasReqestedVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);


// Check to see if the version meets the requirements for playback
if (hasReqestedVersion) {  // if we've detected an acceptable version
    var oeTags = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'
    + 'width="300" height="18"'
    + 'codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab">'
    + '<param name="movie" value="assets/swf/pulse.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#9dacac" />'
    + '<embed src="assets/swf/pulse.swf" quality="high" bgcolor="#9dacac" '
    + 'width="300" height="18" name="detectiontest" aligh="middle"'
    + 'play="true"'
    + 'loop="false"'
    + 'quality="high"'
    + 'allowScriptAccess="sameDomain"'
    + 'type="application/x-shockwave-flash"'
    + 'pluginspage="http://www.macromedia.com/go/getflashplayer">'
    + '<\/embed>'
    + '<\/object>';
    document.write(oeTags);   // embed the Flash Content SWF when all tests are passed
  } else {  // flash is too old or we can't detect the plugin
    var alternateContent = '<table cellSpacing=0 cellPadding=0 border=0><tr><td width="130"><a href="javascript:popOzone()"><img src="assets/images/subscribe.gif" width="130" height="18" alt="subscribe to ozone" border="0" /></a></td><!-- <td width="160"><a href="ftp://origindesign.biz/" target="_blank"><img src="assets/images/ftp.gif" width="60" height="18" alt="FTP" border="0" /></a></td> --><td width="60"><a href="contact-origin-design.php"><img src="assets/images/briefus.gif" width="60" height="18" alt="brief us" border="0" /></a></td></tr></table>';
    document.write(alternateContent);  // insert non-flash content
  }
  