function flash_displaycharts(strXMLURL,strXMLData,strSWFfile,intWidth,intHeight) {
	
	strXMLURL = (typeof(strXMLURL)=="undefined")?'':strXMLURL;
	strXMLData = (typeof(strXMLData)=="undefined")?'':strXMLData;
	strSWFfile = (typeof(strSWFfile)=="undefined")?'':strSWFfile;
	intWidth = (typeof(intWidth)=="undefined")?500:intWidth;
	intHeight = (typeof(intHeight)=="undefined")?300:intHeight;
	
	
	document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="' + intWidth + '" HEIGHT="' + intHeight + '" id="FusionCharts" ALIGN="">');
	if (strXMLData != '') {
		document.write('<PARAM NAME="FlashVars" value="&dataXML=' + strXMLData + '">');
	}else{
		document.write('<PARAM NAME="FlashVars" value="&dataURL=' + strXMLURL + '">');
	}
	document.write('<PARAM NAME=movie VALUE="/assets/images/' + strSWFfile + '?chartWidth=' + intWidth + '&chartHeight=' + intHeight + '">');
	document.write('<PARAM NAME=quality VALUE=high>');
	document.write('<PARAM NAME=bgcolor VALUE=#FFFFFF>');
	document.write('<EMBED src="/assets/images/' + strSWFfile + '?chartWidth=' + intWidth + '&chartHeight=' + intHeight + '" FlashVars="&dataXML=' + strXMLData + '" quality=high bgcolor=#FFFFFF WIDTH="' + intWidth + '" HEIGHT="' + intHeight + '" NAME="FusionCharts" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="https://www.macromedia.com/go/getflashplayer">');
	document.write('</OBJECT>');
}