// 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 = '<td colspan="2">'
	+ '<OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'
    + 'WIDTH=718 HEIGHT=332'
    + 'codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0">'
    + '<PARAM NAME="MOVIE" VALUE="flash/portfolio.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>'
    + '<EMBED SRC="flash/portfolio.swf"'
    + 'WIDTH=718 HEIGHT=332"'
    + 'PLAY="true"'
    + 'LOOP="false"'
    + 'QUALITY="high"'
    + 'MENU="false"'
	+ 'BGCOLOR="#ffffff"'
    + 'TYPE="application/x-shockwave-flash"'
    + 'PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">'
    + '</EMBED>'
    + '</OBJECT>'
	+ '</td>'
	+ '</tr>'
	+ '<tr>' 
	+ '<td colspan="2">'
	+ '<table width="655" border="0" cellspacing="0" cellpadding="0">'
	+ '<tr>'
    + '<td colspan="2"><img src="images/pixel.gif" width="1" height="9"></td>'
	+ '<td rowspan="2"><img src="images/ourwork.gif" width="134" height="32"></td>'
	+ '</tr>'
	+ '<tr>'
	+ '<td bgcolor="#D5E436"><img src="images/pixel.gif" width="1" height="23"></td>'
	+ '<td bgcolor="#D5E436" class="submenu" align="right">'
	+ '<a href="retail.htm">Retail+Service</a>&nbsp; &nbsp;'
	+ '<a href="science.htm">Science+Health Care</a>&nbsp; &nbsp;'
	+ '<a href="culture.htm">Culture</a>&nbsp; &nbsp;'
	+ '<a href="corporate.htm">Corporate</a>'
	+ '</td>'
 	+ '</tr>'
	+ '</table>'
	+ '</td>';

    document.write(oeTags);   // embed the flash movie
  } else {  // flash is too old or we can't detect the plugin
    var alternateContent = '<td colspan="2"><img src="images/portfolio-noflash.gif" width="718" height="364" border="0" alt="Our Goal as Graphic Designers is to make information easy to understand and simple to use." usemap="#theMap"></td>';
    document.write(alternateContent);  // insert non-flash content
  }
}