// In this section we set up the content to be placed dynamically on the page.
// Customize movie tags and alternate html content below.
if (!useRedirect) {    // if dynamic embedding is turned on
  if(hasRightVersion) {  // if we've detected an acceptable version
    var oeTags = '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"'
    + 'width="768" height="221"'
    + 'codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0">'
    + '<param name="MOVIE" value="crow.swf" />'
    + '<param name="PLAY" value="true" />'
    + '<param name="LOOP" value="false" />'
    + '<param name="QUALITY" value="high" />'
    + '<param name="MENU" value="false" />'
    + '<param name="BGCOLOR" value="#FFFFFF" />'	
    + '<param name="WMODE" value="opaque" />'	
    + '<embed src="crow.swf"'
    + 'height="221" width="768"'
    + 'play="true"'
    + 'loop="false"'
    + 'quality="high"'
    + 'menu="false"'
	+ 'wmode="opaque"'
    + 'type="application/x-shockwave-flash"'
    + 'pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">'
    + '<\/object>';

    document.write(oeTags);   // embed the flash movie
  } else {  // flash is too old or we can't detect the plugin
    // NOTE: height, width are required!
    var alternateContent = '<img src="images/header_no_flash.jpg" alt="" width="768" height="221" border="0" usemap="#Map" \/>' 
      	+ '<map name="Map">'
      	+ '<area shape="rect" coords="579,2,635,20" href="contact.php">'
    	+ '<area shape="rect" coords="644,2,690,20" href="site-map.php">'
    	+ '<area shape="rect" coords="699,3,762,20" href="privacy.php">'
  		+ '<\/map>';

    document.write(alternateContent);  // insert non-flash content
  }
}