// in this section we set up the content to be placed dynamically on the page
// customize movie tags and alternate html content below

//the value of the variable whichPg is set in the calling page

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="343" height="342"'
		+ 'codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0">'
		+ '<param name=movie value="/home.swf">'
		+ '<param name="quality" value="high">'
		+ '<embed src="/home.swf"'
		+ 'width="343" height="342"'
		+ 'quality="high"'
		+ 'type="application/x-shockwave-flash"'
		+ 'pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">'
		+ '</embed>'
		+ '</object><br />';

		document.write(oeTags); 	// embed the flash movie
	} 
	else 
	{	// flash is too old or we can't detect the plugin
		var alternateContent = '<img src="../images/home_flashAlt.jpg" width="343" height="342" alt="" border="0">';
		document.write(alternateContent);	// insert non-flash content
	}
}