// JavaScript Document
<!-- 
// 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 = '<div id="splashContainer"><img src="images/splash_logo.gif" alt="Cornerstone Prototypes LLC" name="Cornerstone Prototypes LLC"></div>'
 	+ '<div id="splashBckBlock"></div>'
	+ '<div id="splashTextBlock"><img src="images/splash_txt_full.gif" border="0" usemap="#Map" alt="Cornerstone Prototypes LLC - 640 School St. Pawtucket, RI 02860 - 401.725.3006" name="Cornerstone Prototypes LLC">'
	+ '<map name="Map"><area shape="rect" coords="-1,91,63,114" href="main.htm" name="Enter Site"></map>'
 	+ '</div>'
 	+ '<div id="gearsFlash">'
 	+ '<object align="right" id="flash_file" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" 		codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0"'
 	+ 'width="100%" height="100%">'
 	+ '<param name="allowScriptAccess" value="sameDomain" />'
 	+ '<param name="movie" value="images/gears.swf" />'
 	+ '<param name="quality" value="high" />'
 	+ '<param name="menu" value="false" />'
 	+ '<embed align="right" src="images/gears.swf" swliveconnect="true" menu="false" quality="high" width="100%" height="100%" name="flash_file" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />'
 	+ '</object>'
 	+ '</div>';
	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 = '<div id="splashContainer"><img src="images/splash_logo.gif" alt="Cornerstone Prototypes LLC" name="Cornerstone Prototypes LLC"></div><div id="splashBckBlock"></div><div id="splashTextBlock"><img src="images/splash_txt_full.gif" border="0" usemap="#Map" alt="Cornerstone Prototypes LLC - 640 School St. Pawtucket, RI 02860 - 401.725.3006" name="Cornerstone Prototypes LLC"><map name="Map"><area shape="rect" coords="-3,31,61,54" href="main.htm"></map></div><div id="gearsStatic"><img src="images/gears_illus.gif" alt="Cornerstone Prototypes LLC"></div><div id="noflash"><table cellpadding="0" cellspacing="0" border="0" width="100%" height="100%"><tr><td width="18"></td><td width="166"><span class="noflashtext">Don&acute;t see the animation?<br><a href="www.adobe.com/go/gntray_dl_getflashplayer" target="_blank" title="Get Flash Player" name="Get Flash Player">Download the latest Flash Player.</a></span></td><td width="6"></tr></table></div>';
    document.write(alternateContent);  // insert non-flash content
  }
// -->

