<!--
/***************************************************************
* _swfFile ÆÄÀÏ¸í 
* _width  Æø
* _height  ³ôÀÌ
* _bgcolor ¹è°æ»ö
***************************************************************/

        function flashShow(_swfFile,_width,_height,_bgcolor){
                        document.write("<object"); 
                        document.write('classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" ');
                        document.write('codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" ');
                        document.write('width="'+_width+'" height="'+_height+'" ');
                        document.write('id="'+_swfFile+'" ');
                        document.write('align="middle">');
                document.write('<param name="movie" value="/flash/'+_swfFile+'.swf" />');
                document.write('<param name="quality" value="high" />');
                document.write('<param name="wmode" value="transparent" />');
                document.write("<embed ");
                        document.write('src="/flash/'+_swfFile+'.swf" ');
                        document.write('quality="high" ');
                        document.write('wmode="transparent" ');
                        //document.write('bgcolor="'+_bgcolor+'" ');
                        document.write('width="'+_width+'" height="'+_height+'" ');
                        document.write('name="'+_swfFile+'" ');
                        document.write('align="middle" ');
                        document.write('allowScriptAccess="sameDomain" ');
                        document.write('type="application/x-shockwave-flash" ');
                        document.write('pluginspage="http://www.macromedia.com/go/getflashplayer" />');
                document.write("</object>");
        }


				function fShow(strSrcUrl,nWidth, nHeight,bgColor,fVars,strMode, bSameDomain, strAlign)
				{
        var strObject = "<object id=" + strSrcUrl + " classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0\"";
        if(strAlign != "")                strObject = strObject + " align=" + strAlign;                
        strObject = strObject + " width=" + nWidth + " height=" + nHeight + ">";
        document.write(strObject);                
        document.write("<param name=movie value='/flash/" + strSrcUrl + ".swf' />");        
        document.write("<param name=quality value=\"high\" />");
        if(strMode != "") document.write("<param name=wmode value=" + strMode + " />");
        if(fVars != "")   document.write("<param name=FlashVars value='" + fVars + "' />");
        if(bgColor != "") document.write("<param name=bgcolor value=" + bgColor + " />");        
        if(bSameDomain == true) document.write("<param name=allowScriptAccess value=\"sameDomain\" />");
        
        var strEmbed = "<embed src='/flash/"+strSrcUrl+".swf' quality=high type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?p1_prod_version=shockwaveflash\"" ;
        if(fVars != "")     strEmbed = strEmbed + " FlashVars='" + fVars+"'";        
        if(strMode  != "")  strEmbed = strEmbed + " wmode=" + strMode;
        if(bgColor  != "")  strEmbed = strEmbed + " bgcolor=" + bgColor;        
        if(strAlign != "")  strEmbed = strEmbed + " align=" + strAlign;        
        if(bSameDomain == true) strEmbed = strEmbed + " allowScriptAccess=\"sameDomain\"";                        
        strEmbed = strEmbed + " width=" + nWidth + " height=" + nHeight + "></embed>";
        
        document.write(strEmbed);
        document.write("</object>");
				}


// -->

