<!--

function Objembed(sTAG, sID, sWidth,sHeight,aAttr, aParam,aEmbed) {
  
  
    var str = "";
    if (sID.length > 0) { sID = " id='"+sID+"' name='"+sID+"'"; }
    
    if (sWidth.length > 0) { sWidth = " width='" + sWidth + "' "; }
    if (sHeight.length > 0) { sHeight = " height='"+ sHeight +"' "; }
   
    str += "<"+sTAG+sID + sWidth+ sHeight + "\n";
    if (aAttr.length > 0) {
        for (var i = 0; i < aAttr.length; i+=2)
            str += " "+aAttr[i]+"='"+aAttr[i+1]+"' \n";
    }
    str += ">\n";
    if (aParam){
    if (aParam.length > 0) {
        for (var i=0; i < aParam.length; i+=2)
            str += "<param name='"+aParam[i]+"' value='"+aParam[i+1]+"'>\n";
           
    }
   }
   if (aEmbed){
    
   if (aEmbed.length > 0) {
    
     str += "<embed " + sID + sWidth + sHeight + "\n";
        for (var i=0; i < aEmbed.length; i+=2)
             str += " "+aEmbed[i]+"='"+aEmbed[i+1]+"' \n";
    
    str += " />"
    }
   }
    
    str += "\n</"+sTAG+">";
    document.write(str);
}

function flash(c,d,e) {
 var flash_tag = "";
 flash_tag = '<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" ';
 flash_tag +='codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" ';
 flash_tag +='WIDTH="'+c+'" HEIGHT="'+d+'" >';
 flash_tag +='<param name="wmode" value="transparent">'; 
 //ÀÌºÎºÐÀº ÇÃ·¡½¬ ¹è°æÀ» Åõ¸íÀ¸·Î ¼³Á¤ÇÏ´Â ºÎºÐÀ¸·Î ÇÊ¿ä¾ø´Ù¸é »èÁ¦ÇØµµ ¹«¹æÇÔ
 flash_tag +='<param name="movie" value="'+e+'">';
 flash_tag +='<param name="quality" value="high">';
 flash_tag +='<embed src="'+e+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" ';
 flash_tag +='type="application/x-shockwave-flash"  WIDTH="'+c+'" HEIGHT="'+d+'"></embed></object>'
 document.write(flash_tag);
}
// -->
