// 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
 	randomTemp = Math.floor(Math.random(1000) + 1); // sets a random value to guarentee the flash file isn't cached
    var oeTags = '<table border="0" cellpadding="0" cellspacing="0">'
	+ '<tr>'
	+ '<td width="71"></td>'
	+ '<td><OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'
    + 'WIDTH="600" HEIGHT="600" id="timeline" align="middle"'
    + 'CODEBASE="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab">'
    + '<PARAM NAME="MOVIE" VALUE="timeline.swf?random=' + randomTemp + '">'
    + '<PARAM NAME="PLAY" VALUE="true">'
    + '<PARAM NAME="LOOP" VALUE="false">'
    + '<PARAM NAME="QUALITY" VALUE="high">'
    + '<PARAM NAME="MENU" VALUE="false">'
	+ '<PARAM NAME="BGCOLOR" VALUE="#ffffcc">'
    + '<EMBED SRC="timeline.swf?random=' + randomTemp + '"'
    + 'WIDTH="600" HEIGHT="600"'
    + 'NAME="timeline"'
    + 'PLAY="true"'
    + 'LOOP="false"'
    + 'QUALITY="high"'
    + 'MENU="false"'
    + 'BGCOLOR="#ffffcc"'
    + 'TYPE="application/x-shockwave-flash"'
    + 'PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">'
    + '</EMBED>'
    + '</OBJECT></td>'
	+ '<td><img src="images/side_title.gif" width="71" height="592" /></td>'
	+ '</tr>'
	+ '</table>';

    document.write(oeTags);   // embed the flash movie
  }
}