<!--
//  function for FS commands
/*
var isInternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
// Handle all the FSCommand messages in a Flash movie.
function player_DoFSCommand(command, args) {
	var playerObj = isInternetExplorer ? document.all.player : document.player;
	
	//alert(command);
	if (command == "playaudio")
	{
		recordPlayclick();
		//alert(args);
		//eval("alert(args)");
	}
	
}
// Hook for Internet Explorer.
if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 && navigator.userAgent.indexOf("Windows") != -1 && navigator.userAgent.indexOf("Windows 3.1") == -1) {
	document.write('<script language=\"VBScript\"\>\n');
	document.write('On Error Resume Next\n');
	document.write('Sub player_FSCommand(ByVal command, ByVal args)\n');
	document.write('	Call player_DoFSCommand(command, args)\n');
	document.write('End Sub\n');
	document.write('</script\>\n');
}

*/
// 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="580" HEIGHT="280"'
    + 'CODEBASE="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="580" height="280" align="middle">'
	+ '<param name="allowScriptAccess" value="sameDomain" />'
	+ '<PARAM NAME="MOVIE" VALUE="flash/tal_map.swf">'
    + '<PARAM NAME="PLAY" VALUE="true">'
    + '<PARAM NAME="LOOP" VALUE="false">'
    + '<PARAM NAME="QUALITY" VALUE="high">'
    + '<PARAM NAME="MENU" VALUE="false">'
	+ '<param name= "wmode" value="opaque">'
	+ '<param name="bgcolor" value="#162e55">'
	+ '<param name="FlashVars" VALUE="region=' + region + '">'
    + '<EMBED SRC="flash/tal_map.swf"'
    + 'WIDTH="580" HEIGHT="280"'
	+ 'ALIGN="middle"'
	+ 'BGCOLOR="#162e55"'
    + 'PLAY="true"'
    + 'LOOP="false"'
    + 'QUALITY="high"'
	+ 'allowScriptAccess="sameDomain"'
    + 'MENU="false"'
	+ 'wmode="opaque"'
    + 'TYPE="application/x-shockwave-flash"'
	+ 'FlashVars="region=' + region + '"'
    + 'pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash">'
    + '</EMBED>'
    + '</OBJECT>';
	document.write(oeTags); 	// embed the flash movie
} else {	// flash is too old or we can't detect the plugin
	var alternateContent = '<img name="about_flash" src="images/flash_images/map_fpo.jpg" width="580" height="280" border="0" usemap="#Map" title="Contact Talecris Map" alt="Contact Talecris Map">';	// height, width required!
	+ '<map name="Map">'
		+ '<area shape="rect" coords="0,0,580,280" href="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" alt="Update Flash" title="Update Flash">'
		+ '</map>';
	document.write(alternateContent);	// insert non-flash content
}
}

// -->
