//the document.write calls must be in a separate js file (not an included cfm) for the activeX fix to work
function writeHPLeftFlash(headerLabelVar){
	//all supporting functions are contained in flashInclude.cfm
	var hasRightVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
	if(hasRightVersion) {
		document.write("<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0\" width=\"232\" height=\"31\">");
		document.write("<param name=\"movie\" value=\"flash/leftColumnHeader.swf\" />");
		document.write("<param name=\"quality\" value=\"high\">");
		document.write("<param name=\"FLASHVARS\" value=\"passedHeaderLabel=" + escape(headerLabelVar) + "\">");
		document.write("<embed src=\"flash/leftColumnHeader.swf\" FlashVars=\"passedHeaderLabel=" + escape(headerLabelVar) + "\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" width=\"232\" height=\"31\"></embed>");
		document.write("</object>");
	}
	else{
		document.write("<div style=\"width:222px; height:25px; font-size:10px; background-color:#CC9900; padding-left:10px; padding-top:6px;\">");
		document.write("<a style=\"color:#000000;\" href=\"http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash&promoid=BIOW\" target=\"_blank\">Get the Flash Plugin</a>");
		document.write("</div>");
	}
	return;
}	
