<!--
//  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="500" HEIGHT="291"'
    + 'CODEBASE="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="500" height="291">'
	+ '<param name="allowScriptAccess" value="sameDomain" />'
	+ '<PARAM NAME="MOVIE" VALUE="homepage.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="transparent">'
	+ '<param name=FlashVars VALUE="loadMe=linkSet.xml">'
    + '<EMBED SRC="homepage.swf"'
    + 'WIDTH="500" HEIGHT="291"'
    + 'PLAY="true"'
    + 'LOOP="false"'
    + 'QUALITY="high"'
	+ 'allowScriptAccess="sameDomain"'
    + 'MENU="false"'
    + 'wmode="transparent"'
	+ 'FLASHVARS="loadMe=linkSet.xml"'
    + 'TYPE="application/x-shockwave-flash"'
    + '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="home_flash" src="images/flash_images/homepage.jpg" width="499" height="291" border="0" usemap="#Map" title="Let us show you why Talecris Albumin is the right choice for your profession" alt="Let us show you why Talecris Albumin is the right choice for your profession">';	// height, width required!
	+ '<map name="Map">'
		+ '<area shape="rect" coords="204,245,499,269" href="2.0.0.0_excipient_home.aspx" title="Excipient Customers" alt="Excipient Customers" />'
		+ '<area shape="rect" coords="201,217,499,242" href="1.0.0.0_hcp_home.aspx" title="Healthcare Professionals" alt="Healthcare Professionals" />'
		+ '</map>';
	document.write(alternateContent);	// insert non-flash content
}
}

// -->
