function GnxFlashActivate( strFlashUrl , n4Witdh , n4Height , strWmode , strId , strClassName , strFlashvar ){
 //width,height ¿©ºÎ & ¹­À½ (width,height°¡ ¾øÀ»¶§´Â 0 À¸·Î ¼±¾ð)
 if (n4Witdh != 0) {
  objSize_attribute = " width='"+ n4Witdh +"' height='"+ n4Height +"'";
 } else {
  objSize_attribute = "";
 }
 //id ¿©ºÎ (ID ¼¿·º·ºÅÍ°¡ ¾øÀ»°æ¿ì 0À¸·Î¼±¾ð)
 if (strId != 0) {
  objId_attribute = " id='" + strId + "'";
  objId_IE_attribute = " id='" + strId + "'";
 } else {
  objId_attribute = "";
  objId_IE_attribute = "";
 }
 //class ¿©ºÎ (class°¡ ¾øÀ»¶§´Â 0 À¸·Î ¼±¾ð)
 if (strClassName != 0) {
  className_attribute = " class='" + strClassName + "'";
 } else {
  className_attribute = "";
 }
 //wmode ¿©ºÎ (wmode°¡ ¾øÀ»¶§´Â 0 À¸·Î ¼±¾ð)
 if (strWmode != 0) {
  wmode_param = "<param name='wmode' value='" + strWmode + "' />";
  wmode_attribute = " wmode='" + strWmode + "'";
 } else {
  wmode_param = "";
  wmode_attribute = "";
 }
 //Flashvar ¿©ºÎ (wmode°¡ ¾øÀ»¶§´Â 0 À¸·Î ¼±¾ð)
 if (strFlashvar != 0) {
  Flashvar_param = "<param name='flashvars' value='" + strFlashvar + "' />";
  Flashvar_attribute = " Flashvars='" + strFlashvar + "'";
 } else {
  Flashvar_param = "";
  Flashvar_attribute = "";
 }
 document.writeln( "<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,42,34' " + objSize_attribute + objId_IE_attribute + className_attribute + ">" );
 document.writeln( "<param name='movie' value='"+ strFlashUrl +"' />" );
 document.writeln( "<param name='quality' value='high' />" );
 document.writeln( "<param name='menu' value='0' />" );
 document.writeln( "<param name='allowScriptAccess' value='always' />" );
 document.writeln( wmode_param );
 document.writeln( Flashvar_param );
 document.writeln( "<!-- Hixie method -->" );
 document.writeln( "<!--[if !IE]> <-->" );
 document.writeln( "<object type='application/x-shockwave-flash' allowScriptAccess='always' data='"+ strFlashUrl +"'" + Flashvar_attribute + objSize_attribute + objId_attribute + wmode_attribute + className_attribute + "></object>" );
 document.writeln( "<!--> <![endif]-->" );
 document.writeln( "</object>" );
}

