function loadHeaderFlash(txtHeader, txtSubHeader, txtDatabase){
	txtHeader = txtHeader.replace("&","and");
	txtSubHeader = txtSubHeader.replace("&","and");
	document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="682" HEIGHT="127" id="header" ALIGN="" VIEWASTEXT>'); 
	//currently flash file is not handling encoded characters. Need to rebuild the flash file using the latest Flash MX version
	//document.write('<PARAM NAME=movie VALUE="flash/header.swf?header=' + txtHeader + '&subhead=testing%31%32%33&database=' + txtDatabase + '">'); 
	document.write('<PARAM NAME=movie VALUE="flash/header.swf?header=' + txtHeader + '&subhead=' + txtSubHeader + '&database=' + txtDatabase + '">'); 
	document.write('<PARAM NAME=quality VALUE=high>'); 
	document.write('<PARAM NAME=bgcolor VALUE=#EDEDED>');
	document.write('<EMBED src="flash/header.swf?header=' + txtHeader + '&subhead=' + txtSubHeader + '&database=' + txtDatabase + '" quality=high bgcolor=#EDEDED  WIDTH="682" HEIGHT="127" NAME="header" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">');
	document.write('</EMBED>');
	document.write('</OBJECT>');
}
