﻿function LoadFlashFile(strFlashPath, intWidth, intHeight)
{
	//to get around Internet Explorer's problem with loading flash files
	var strOutput = '<OBJECT codeBase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0 width="' + intWidth + '" height="' +intHeight + '" classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000>' +
					'<PARAM NAME="_cx" VALUE="11562">' +
					'<PARAM NAME="_cy" VALUE="7938">' +
					'<PARAM NAME="FlashVars" VALUE="">' +
					'<PARAM NAME="Movie" VALUE="' + strFlashPath + '">' +
					'<PARAM NAME="Src" VALUE="' + strFlashPath + '">' +
					'<PARAM NAME="WMode" VALUE="Transparent">' +
					'<PARAM NAME="Play" VALUE="-1">' +
					'<PARAM NAME="Loop" VALUE="-1">' +
					'<PARAM NAME="Quality" VALUE="High">' +
					'<PARAM NAME="SAlign" VALUE="">' +
					'<PARAM NAME="Menu" VALUE="-1">' +
					'<PARAM NAME="Base" VALUE="">' +
					'<PARAM NAME="AllowScriptAccess" VALUE="always">' +
					'<PARAM NAME="Scale" VALUE="ShowAll">' +
					'<PARAM NAME="DeviceFont" VALUE="0">' +
					'<PARAM NAME="EmbedMovie" VALUE="0">' +
					'<PARAM NAME="BGColor" VALUE="">' +
					'<PARAM NAME="SWRemote" VALUE="">' +
					'<PARAM NAME="MovieData" VALUE="">' +
					'<PARAM NAME="SeamlessTabbing" VALUE="1">' +
					'<PARAM NAME="Profile" VALUE="0">' +
					'<PARAM NAME="ProfileAddress" VALUE="">' +
					'<PARAM NAME="ProfilePort" VALUE="0">' +
					'<EMBED name=webContainer pluginspage=http://www.macromedia.com/go/getflashplayer src="' + strFlashPath + '" width="' + intWidth + '" height="' + intHeight + '" type=application/x-shockwave-flash quality="high" bgcolor="" WMode="Transparent" Quality="HIGH" MENU="-1" SMRemote="" DESIGNTIMESP=9686>' +
					'</OBJECT>';
	document.write(strOutput);
}

