function flash(file, width, height, bgcolor, quality, name, transparent, flashVars){
        var wmode = (transparent) ? "transparent" : "window";
        wmode = "transparent";
        document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="'+width+'" height="'+height+'" id="'+name+'">');  //ÇÃ·¡½¬ÇÃ·¹ÀÌ¾î ¹öÀüÀÌ ÀÌÀü¹öÀüÀÏ°æ¿ì ¹öÀü 8À» º¯°æ
        document.write('<param name="allowScriptAccess" value="sameDomain" />');
        document.write('<param name="movie" value="'+file+'" />');
        document.write('<param name="quality" value="'+quality+'" />');
        document.write('<param name="wmode" value="'+wmode+'" />'); 
        document.write('<param name="bgcolor" value="'+bgcolor+'" />');
        document.write('<param name="salign" value="lt" />');
        document.write('<param name="scale" value="noscale" />');
        document.write('<param name="menu" value="false" />');
        document.write('<param name="FlashVars" value="'+flashVars+'" />');
        document.write('<embed src="'+file+'?'+flashVars+'" quality="'+quality+'" wmode="transparent" flashVar= bgcolor="'+bgcolor+'" width="'+width+'" height="'+height+'" name="'+name+'" id="'+name+'" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
        document.write('</object>')
}