// 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 = '<div align="center">'
		+ '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="644" height="490" id="1" align="middle">'
		+ '<param name="allowScriptAccess" value="sameDomain" />'
		+ '<param name="movie" value="9mm.swf" />'
		+ '<param name="quality" value="best" />'
		+ '<param name="wmode" value="window" />'
		+ '<param name="bgcolor" value="#315a95" />'
		+ '<embed src="9mm.swf" quality="best" wmode="window" bgcolor="#315a95" width="644" height="490" name="1" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />'
		+ '</object>'
		+ '</div>';
	
		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 = '<div id="getFlash">'
		+ '<div id="header">9MM Commercials</div>'
		+ 'You do not have the required version of flash to view the site. Please upgrade by clicking <a href="http://www.macromedia.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash">here</a>.<br /><br />'
		+ 'At 9mm commercials the sky is the limit, your options are endless.<br />'
		+ 'We can work with you Creative Agency as Production Company or work with you to develop your TV creative.'
		+ '</div>';
		
		document.write(alternateContent);  // insert non-flash content
	}
}