//²åÈëFLASH½Å±¾

function FlashInsert(FlashIDName, FlashFileName, FlashWidth, FlashHeight, DNSSetting, WMODESetting, FlashBGColor, QSetting, FlashAlign)
{
	document.write('<OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
	document.write('CODEBASE="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" ');
	document.write(' ID="'+FlashIDName+'" WIDTH="' + FlashWidth + '" HEIGHT="' + FlashHeight + '" ALIGN="'+FlashAlign+'">');
	document.write('<PARAM NAME="movie" VALUE="'+ FlashFileName +'">');
	document.write('<PARAM NAME="quality" VALUE="'+QSetting+'">');
	document.write('<PARAM NAME="bgcolor" VALUE="'+FlashBGColor+'">');
	document.write('<PARAM NAME="wmode" VALUE="'+WMODESetting+'">');
	document.write('<PARAM NAME="allowScriptAccess" VALUE="'+DNSSetting+'">');
	document.write('<EMBED SRC="'+ FlashFileName +'"  NAME="'+FlashIDName+'"');
	document.write(' WIDTH="' + FlashWidth + '" HEIGHT="' + FlashHeight + '" QUALITY="'+QSetting+'" BGCOLOR="'+FlashBGColor+'"');
	document.write(' ALLOWSCRIPTACCESS="'+DNSSetting+'" ALIGN="'+FlashAlign+'" WMODE="'+WMODESetting+'" TYPE="application/x-shockwave-flash" ');
	document.write(' PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer" >');
	document.write('</EMBED>');
	document.write('</OBJECT>');
}

//²åÈëFLASH»ÃµÆÆ¬

function FlashSlide(FlashIDName, FlashFileName, FlashWidth, FlashHeight, FlashBGColor, QSetting,FlashAlign,XmlUrl)
{
	document.write('<OBJECT  codeBase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0    height="'+FlashHeight+'" width="'+FlashWidth+'"   classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000 VIEWASTEXT>');
	document.write('<PARAM NAME="_cx" VALUE="4366"> ');
	document.write('<PARAM NAME="_cy" VALUE="5821">');
	document.write('<PARAM NAME="FlashVars" VALUE="bcastr_xml_url='+XmlUrl+'&IsShowBtn=1&TitleBgColor=0xFD2264&TitleBgPosition=1">');
	document.write('<PARAM NAME="Movie" VALUE="'+FlashFileName+'">');
	document.write('<PARAM NAME="Src" VALUE="'+FlashFileName+'">');
	document.write('<PARAM NAME="WMode" VALUE="Transparent">');
	document.write('<PARAM NAME="Play" VALUE="-1">');
	document.write('<PARAM NAME="Loop" VALUE="-1">');
	document.write('<PARAM NAME="Quality" VALUE="High">');
	document.write('<PARAM NAME="SAlign" VALUE="LT">');
	document.write('<PARAM NAME="Menu" VALUE="-1">');
	document.write('<PARAM NAME="Base" VALUE="">');
	document.write('<PARAM NAME="AllowScriptAccess" VALUE="">');
	document.write('<PARAM NAME="Scale" VALUE="NoScale">');
	document.write('<PARAM NAME="DeviceFont" VALUE="0">');
	document.write('<PARAM NAME="EmbedMovie" VALUE="0">');
	document.write('<PARAM NAME="BGColor" VALUE="'+FlashBGColor+'">');
	document.write('<PARAM NAME="SWRemote" VALUE="">');
	document.write('<PARAM NAME="MovieData" VALUE="">');
	document.write('<PARAM NAME="SeamlessTabbing" VALUE="1">');
	document.write('<PARAM NAME="Profile" VALUE="0">');
	document.write('<PARAM NAME="ProfileAddress" VALUE="">');
	document.write('<PARAM NAME="ProfilePort" VALUE="0">');
	document.write('<PARAM NAME="AllowNetworking" VALUE="all">');
	document.write('<PARAM NAME="AllowFullScreen" VALUE="false">');
	document.write('<embed src="'+FlashFileName+'" ');
	document.write(' FlashVars="bcastr_xml_url='+XmlUrl+'&IsShowBtn=1" quality="high" ');
	document.write('pluginspage="http://www.macromedia.com/go/getflashplayer"');
	document.write('type="application/x-shockwave-flash" width='+FlashWidth+'  height='+FlashHeight+' >');
	document.write('</embed></OBJECT>');
}


