function insert_Flash(ex_width , ex_height , ex_file , ex_name){//正常
	document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" id="'+ex_name+'" width="' + ex_width + '" height="'+ ex_height + '">');
	document.write('<param name=movie value='+ex_file+'>');
	document.write('<param name=salign value=T>');
	document.write('<param name=scale value=noScale>');
	document.write('<param name=menu value=false>');
	document.write('<param name=wmode value=opaque>');
	document.write('<param name=quality value=high>');
	document.write('<param name=allowScriptAccess value=always>');
	document.write('<embed src='+ex_file+' loop=true wmode=opaque menu=false quality=high swLiveConnect=true name='+ex_name+' allowScriptAccess=always menu=false width='+ex_width+' height='+ex_height+' scale=noscale salign=t type="application/x-shockwave-flash" pluginpage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></embed>');
	document.write('</object>');
}

function insert_Flash2(ex_width , ex_height , ex_file , ex_name){//去背
	document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" id="'+ex_name+'" width="' + ex_width + '" height="'+ ex_height + '">');
	document.write('<param name=movie value='+ex_file+'>');
	document.write('<param name=salign value=T>');
	document.write('<param name=scale value=noScale>');
	document.write('<param name=menu value=false>');
	document.write('<param name=wmode value=transparent>');
	document.write('<param name=quality value=high>');
	document.write('<param name=allowScriptAccess value=always>');
	document.write('<embed src='+ex_file+' loop=true wmode=transparent menu=false quality=high swLiveConnect=true name='+ex_name+' allowScriptAccess=always menu=false width='+ex_width+' height='+ex_height+' scale=noscale salign=t type="application/x-shockwave-flash" pluginpage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></embed>');
	document.write('</object>');
}


function Flash_game(ex_width , ex_height , ex_file , ex_name , ex_flashvars){
	document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" id="'+ex_name+'" width="' + ex_width + '" height="'+ ex_height + '">');
	document.write('<param name=movie value='+ex_file+'>');
	document.write('<param name=salign value=T>');
	document.write('<param name=scale value=noScale>');
	document.write('<param name=menu value=false>');
	document.write('<param name=wmode value=opaque>');
	document.write('<param name=quality value=high>');
	document.write('<param name=allowScriptAccess value=always>');
	document.write('<param name=FlashVars value="'+ex_flashvars+'">');
	document.write('<embed FlashVars="'+ex_flashvars+'" src='+ex_file+' loop=true wmode=opaque menu=false quality=high swLiveConnect=true name='+ex_name+' allowScriptAccess=always menu=false width='+ex_width+' height='+ex_height+' scale=noscale salign=t type="application/x-shockwave-flash" pluginpage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></embed>');
	document.write('</object>');
	//供IE使用的vbscript
	document.write('<script type="text/vbscript">');
	document.write('Sub '+ex_name+'_FSCommand(ByVal command, ByVal args)'); 
	document.write('call '+ex_name+'_DoFSCommand(command, args)'); 
	document.write('end sub'); 
	document.write('</script>');
}


