function playflash(file,width,height,bgcolor,quality,name){
        document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+width+'" height="'+height+'" id="'+name+'">');  //ÇÃ·¡½¬ÇÃ·¹ÀÌ¾î ¹öÀüÀÌ ÀÌÀü¹öÀüÀÏ°æ¿ì ¹öÀü 8À» º¯°æ
        document.write('<param name="movie" value="'+file+'" />');
        document.write('<param name="quality" value="'+quality+'" />');
        document.write('<param name="wmode" value="transparent" />');  //Åõ¸íÇÃ·¡½¬°¡ ¾Æ´Ò°æ¿ì ÀÌ ¶óÀÎÀ» »èÁ¦
        document.write('<param name="bgcolor" value="'+bgcolor+'" />');
        document.write('<embed src="'+file+'" quality="'+quality+'" wmode="transparent" bgcolor="'+bgcolor+'" width="'+width+'" height="'+height+'" name="'+name+'" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
        document.write('</object>')
}
	
<!--Active X//--->
function createFlash(obj_path, wid, hei){
	document.write("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0' width='"+wid+"' height='"+hei+"'>");
	document.write("<param name='movie' value='"+obj_path+"'>");
	document.write("<param name='quality' value='high'>");
	document.write("<embed src='"+obj_path+"' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='"+wid+"' height='"+hei+"'>");
	document.write("<param name=wmode value='transparent'>");
	document.write("</embed>");
	document.write("</object>");
}

function createPlayer(obj_path, wid, hei,star,vol){
	document.write("<object id='Player' width='"+wid+"' height='"+hei+"' classid='CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95' codebase='http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701' type='application/x-oleobject'>");
	document.write("<param name='FileName' value='"+obj_path+"' />");
	document.write("<param name='AutoStart' value='"+star+"' />");
	document.write("<param name='showpositioncontrols' value='0' />");
	document.write("<param name='ShowControls' value='0' />");
	document.write("<param name='ShowDisplay' value='0' />");
	document.write("<param name='ShowStatusBar' value='0' />");	
	document.write("<param name='MouseClickEvents' value='1' />");
	document.write("<param name='Volume' value='"+vol+"' />");
	document.write("<embed src='"+obj_path+"' width='"+wid+"' height='"+hei+"' autostart='"+star+"'  showpositioncontrols='0' showcontrols='0' showdisplay='0' showstatusbar='0' mouseclickevents='1' volume='"+vol+"' ></embed>");
	document.write("</object>");
}
