// ActiveX Controll ÅëÇÕ ÆÄÀÏ


/**
¸Þ¼Òµå : FlashInt
ÀÎÀÚ    : movie   - swf name
             x    -     width
             y    -     height
¼³¸í    : ±×¸®µå ÄÁÆ®·ÑÀ» ºÒ·¯¿Â´Ù.
*/
function FlashInit(movie, id, x, y)
{
	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' id='"+id+"' width='"+x+"' height='"+y+"'>");
	document.write("<param name='allowScriptAccess' value='always' />");
	document.write("<param name='movie' value='" + movie +"'>");
	document.write("<param name='quality' value='high'>");
	document.write("<param name='wmode' value='transparent'>");
	document.write("<embed src='"+ movie + "' quality='high' wmode='transparent' allowScriptAccess='always' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='"+x+"' height='" + y +"'></embed>");
	document.write("</OBJECT>");


}
/**
¸Þ¼Òµå : GridInt
ÀÎÀÚ    : name    -    ÀÌ¸§
             x    -     width
             y    -     height
¼³¸í    : ±×¸®µå ÄÁÆ®·ÑÀ» ºÒ·¯¿Â´Ù.
*/
function GridInit(name, x, y)
{
	document.write("<OBJECT classid='clsid:D76D712E-4A96-11D3-BD95-D296DC2DD072' codebase='/S_COMMON/inc/Download/vsflex7.cab' id='"+name+"' name='"+name+"' style='border:0px solid transparent; left:0px; top:0px; width:"+x+"; height:"+y+"'>");
	document.write("<PARAM name='Rows' value='1'>");
	document.write("<PARAM name='Cols' value='1'>");
	document.write("<PARAM name='FontName' value='µ¸¿ò'>");
	document.write("<PARAM name='FontSize' value='9'>");
	document.write("<PARAM name='BorderStyle' value='0'>"); // ·ÎµùÁß¿¡ Border °¡ º¸ÀÌÁö ¾Ê°ÔµÈ´Ù^^
	document.write("</OBJECT>");
}

/**
¸Þ¼Òµå : UploadInt
ÀÎÀÚ    : x    -     width
             y    -     height
             n    -     ÆÄÀÏ°¹¼ö
             m    -     ÃÑ¿ë·®
             s    -    search
             sp    -    ÆÄÀÏ ÀúÀå °æ·Î
             sIp    - ¼­¹ö IP
             sPort    - ¼­¹ö Æ÷Æ®
¼³¸í    : ¾÷·Îµå ÄÁÆ®·ÑÀ» ºÒ·¯¿Â´Ù.
*/
function UploadInit(name, x, y, n, m, s, sp, sIp, sPort)
{
	document.write("<OBJECT ID='"+name+"'  CLASSID=\"clsid:2FFF2F4D-F92E-4BB6-8021-C3C3CDCFE73A\" codebase='/S_COMMON/inc/fileupload/STRANS.CAB#version=1,0,0,8' width=\""+x+"\" height=\""+y+"\">");
	document.write("<param name=\"nWidth\" value=\""+x+"\">");
	document.write("<param name=\"nHeight\" value=\""+y+"\">");
	document.write("<param name=\"nColorR\" value=\"-1\">");
	document.write("<param name=\"nColorG\" value=\"100\">");
	document.write("<param name=\"nColorB\" value=\"135\">");
	document.write("<param name=\"nMaxCount\" value=\""+n+"\">");
	document.write("<param name=\"nMaxSize\" value=\""+m+"\">");
	document.write("<param name=\"nTransOption\" value=\"1\">");
	document.write("<param name=\"nViewType\" value=\"1\">");
	document.write("<param name=\"nTransDlg\" value=\"0\">");
	document.write("<param name=\"nTransType\" value=\"0\">");
	document.write("<param name=\"nFileTree\" value=\"1\">");
	document.write("<param name=\"sSearch\" value=\""+s+"\">");
	document.write("<param name=\"sSavePath\" value=\""+sp+"\">");
	document.write("<param name=\"sIp\" value=\""+sIp+"\">");
	document.write("<param name=\"nPort\" value=\""+sPort+"\">");
	document.write("</OBJECT>");
}


/**
¸Þ¼Òµå : DownloadInit
ÀÎÀÚ    : x    -     width
             y    -     height
             sIp    - ¼­¹ö IP
             sPort    - ¼­¹ö Æ÷Æ®
             sP     - »èÁ¦ ±ÇÇÑ(1:no 2: yes)
¼³¸í    : ´Ù¿î·Îµå ÄÁÆ®·ÑÀ» ºÒ·¯¿Â´Ù.
*/
function DownloadInit(name, x, y, sIp, sPort, sP)
{
	document.write("<OBJECT ID='"+name+"'  CLASSID=\"clsid:D55D98E8-CEC5-404C-B5F4-57BEBB4C06C2\" codebase='/S_COMMON/inc/fileupload/STRANS.CAB#version=1,0,0,8' width=\""+x+"\" height=\""+y+"\">");
	document.write("<param name=\"nWidth\" value=\""+x+"\">");
	document.write("<param name=\"nHeight\" value=\""+y+"\">");
	document.write("<param name=\"nColorR\" value=\"-1\">");
	document.write("<param name=\"nColorG\" value=\"100\">");
	document.write("<param name=\"nColorB\" value=\"135\">");
	document.write("<param name=\"nViewType\" value=\"1\">");
	document.write("<param name=\"nTransDlg\" value=\"0\">");
	document.write("<param name=\"nTransType\" value=\"1\">");
	document.write("<param name=\"nFileTree\" value=\"1\">");
	document.write("<param name=\"sIp\" value=\""+sIp+"\">");
	document.write("<param name=\"nPort\" value=\""+sPort+"\"> ");
	document.write("<param name=\"nAcl\" value=\""+sP+"\">");
	document.write("</OBJECT>");
}

/**
¸Þ¼Òµå : Chart
ÀÎÀÚ    : x    -     width
             y    	-	height
¼³¸í    : chart ÄÁÆ®·Ñ
*/
function ChartInit(name, x, y)
{
	document.write("<OBJECT classid='clsid:21F49842-BFA9-11d2-A89C-00104B62BDDA' type='application/x-oleobject' codebase='/s_common/inc/Download/CfxIEAx.cab#Version=5,5,1,0' id='"+name+"' name='"+name+"' style='border:0px solid transparent; left:0px; top:0px; width:"+x+"; height:"+y+"'>");
	document.write("<PARAM name='License' value='/s_common/inc/License/CfxIE.lic'>");
	document.write("</OBJECT>");
}

/**
¸Þ¼Òµå : À¥¿¡µðÅÍ
¼³¸í    : ¸íÁø À¥¿¡µðÅÍ
*/
function WebEditorWriteInit(name, x, y)
{
	document.write("<object NAME=\""+name+"\" classid=\"CLSID:D7767597-BCC5-4CCF-9AB1-BB23B6B2B0D0\" id=\""+name+"\"");
	document.write("style=\"width:"+x+"px; height:"+y+"px;\" codebase='/s_common/inc/WebEditControl/miwectrl.cab#Version=1,5,1,10'>");
	document.write("<param name=\"ShowPreview\" value=\"0\">");
	document.write("<param name=\"ShowHelp\" value=\"0\">");
	document.write("<param name=\"ShowInsertImage\" value=\"0\">");
	document.write("<param name=\"ShowInsertURLImage\" value=\"0\">");
	document.write("<param name=\"ShowAttachView\" value=\"0\">");
	document.write("<param name=\"PostMHTML\" value=\"1\">");
	document.write("</object>");
}

/**
¸Þ¼Òµå : À¥¿¡µðÅÍ
¼³¸í    : ¸íÁø À¥¿¡µðÅÍ
*/
function WebEditorEditInit(name, x, y, loadurl, cssurl)
{
	document.write("<object classid=\"CLSID:D7767597-BCC5-4CCF-9AB1-BB23B6B2B0D0\" id=\""+name+"\"");
	document.write("style=\"width:"+x+"px; height:"+y+"px;\" codebase='/s_common/inc/WebEditControl/miwectrl.cab#Version=1,5,1,10'>");
	document.write("<param name='ShowPreview' value='0'>");
	document.write("<param name='ShowHelp' value='0'>");
	document.write("<param name='ShowInsertImage' value='0'>");
	document.write("<param name='ShowInsertURLImage' value='0'>");
	document.write("<param name='ShowAttachView' value='0'>");
	document.write("<param name='PostMHTML' value='1'>");
	document.write("<param name='LoadURL' value='"+loadurl+"'>");
	document.write("<param name='CSSURL' value='"+cssurl+"'>");
	document.write("</object>");
}

/**
¸Þ¼Òµå : À¥¿¡µðÅÍ
¼³¸í    : ¸íÁø À¥¿¡µðÅÍ   (°øÁö»çÇ×_ÆÄÀÏÃ·ºÎ)
*/
function WebEditorWriteInit_Board(name, x , y, classid, codebase, loadurl)
{
	document.write("<object ID='"+name+"' Style='width:"+x+"px; height:"+y+"px;' CLASSID='"+classid+"' CODEBASE='"+codebase+"'>");
	document.write("<PARAM NAME='ShowAttachView' Value='1'>");
	document.write("<PARAM NAME='ShowHelp' Value='0'>");
	document.write("<PARAM NAME='PathRS' Value='1'>");
	document.write("<PARAM NAME='ViewType' Value='1'>");
	document.write("<PARAM NAME='TableLineType' Value='3'>");
	document.write("<PARAM NAME='MaxFileCount' Value='20'>");
	document.write("<PARAM NAME='MaxTotalSize' Value='204800'>");
	document.write("<PARAM NAME='MaxImageFileSize' Value='10240'>");
	document.write("<PARAM NAME='MaxImageFileCount' Value='20'>");
	document.write("<PARAM NAME='ShowInsertImage' Value='1'>");
	document.write("<PARAM NAME='FileFilter' Value= 'cgi|php|pl|asp|aspx|'>");
	document.write("<PARAM NAME='LoadURL' Value='"+loadurl+"'>");
	document.write("</object>");
}


/**
¸Þ¼Òµå : ScriptX
¼³¸í    : ÇÁ¸°ÅÍÃâ·Â ¸ðµâ
*/
function ScriptXInit()
{
	document.write("<object id='factory' viewastext style='display:none' classid='clsid:1663ed61-23eb-11d2-b92f-008048fdd814' codebase='/s_common/inc/scriptx/ScriptX.cab#Version=6,2,433,14'>");
	document.write("</object>");
}


/**
¸Þ¼Òµå : ImageEnX
¼³¸í    : ÀÌ¹ÌÁöÃâ·Â ¸ðµâ
*/
function ImageEnXInit()
{
	document.write("<OBJECT id='ImageEnX1' style='width:100%; height:100%; border:0px solid transparent;' classid='CLSID:1C612D86-A0F5-48AC-A03E-B2CF137F646C' codebase='/s_common/inc/imageviewer/ImageEnXLibrary.CAB#Version=1,6,6,0'>");
	document.write("<PARAM name='ZoomFiltered' VALUE='0'>");
	document.write("<PARAM name='SelectionAnimated' VALUE='-1'>");
	document.write("<PARAM name='SelectionSizeable' VALUE='1'>");
	document.write("<PARAM name='SelectionMoveable' VALUE='1'>");
	document.write("<PARAM name='Aborting' VALUE='0'>");
	document.write("<PARAM name='DefaultLockPreviewDialog' VALUE='-1'>");
	document.write("<PARAM name='Overlay' VALUE='0'>");
	document.write("<PARAM name='Border' VALUE='-1'>");
	document.write("<PARAM name='VerticalScrollBar' VALUE='-1'>");
	document.write("<PARAM name='HorizontalScrollBar' VALUE='-1'>");
	document.write("<PARAM name='BitmapBaseSelection' VALUE='0'>");
	document.write("<PARAM name='BackgroundPattern' VALUE='0'>");
	document.write("<PARAM name='MeasureUnit' VALUE='0'>");
	document.write("<PARAM name='MsgLanguage' VALUE='0'>");
	document.write("<PARAM name='AutoUndo' VALUE='-1'>");
	document.write("<PARAM name='RecFileName' VALUE='Capture.avi'>");
	document.write("<PARAM name='RecFrameRate' VALUE='15'>");
	document.write("<PARAM name='RecAudio' VALUE='0'>");
	document.write("<PARAM name='RecMultitask' VALUE='-1'>");
	document.write("<PARAM name='FitFreeze' VALUE='-1'>");
	document.write("<PARAM name='ShowVideo' VALUE='0'>");
	document.write("<PARAM name='VideoSource' VALUE='0'>");
	document.write("<PARAM name='PreviewRate' VALUE='60'>");
	document.write("<PARAM name='MeasureTrack' VALUE='-1'>");
	document.write("<PARAM name='ScaleFactor' VALUE='1'>");
	document.write("<PARAM name='AllObjectsHidden' VALUE='0'>");
	document.write("<PARAM name='FloatDigits' VALUE='2'>");
	document.write("<PARAM name='FloatPrecision' VALUE='15'>");
	document.write("<PARAM name='ShareBitmaps' VALUE='-1'>");
	document.write("<PARAM name='ZoomObjectsWidth' VALUE='-1'>");
	document.write("<PARAM name='VisibleSelection' VALUE='0'>");
	document.write("<PARAM name='MagicWandMaxFilter' VALUE='0'>");
	document.write("<PARAM name='MagicWandTolerance' VALUE='15'>");
	document.write("<PARAM name='ViewX' VALUE='0'>");
	document.write("<PARAM name='ViewY' VALUE='0'>");
	document.write("<PARAM name='Zoom' VALUE='100'>");
	document.write("<PARAM name='ScrollBarsAlwaysVisible' VALUE='0'>");
	document.write("<PARAM name='MouseCapture' VALUE='0'>");
	document.write("<PARAM name='SelColor1' VALUE='" + 0x000000 + "'>");
	document.write("<PARAM name='SelColor2' VALUE='" + 0xFFFFFF + "'>");
	document.write("<PARAM name='DisplayGrid' VALUE='0'>");
	document.write("<PARAM name='Center' VALUE='-1'>");
	document.write("<PARAM name='DoubleBuffer' VALUE='-1'>");
	document.write("<PARAM name='AutoFit' VALUE='0'>");
	document.write("<PARAM name='DelayZoomFilter' VALUE='0'>");
	document.write("<PARAM name='Cursor' VALUE='1785'>");
	document.write("<PARAM name='dpiX' VALUE='96'>");
	document.write("<PARAM name='dpiY' VALUE='96'>");
	document.write("<PARAM name='Background' VALUE='" + 0x000000 + "'>"); // ¹è°æ»ö
	document.write("<PARAM name='Ctl3D' VALUE='-1'>");
	document.write("<PARAM name='ObjectsResampleFilter' VALUE='0'>");
	document.write("<PARAM name='Picture' VALUE='0'>");
	document.write("<PARAM name='SelectionFilled' VALUE='0'>");
	document.write("<PARAM name='BitmapWidth' VALUE='0'>");
	document.write("<PARAM name='BitmapHeight' VALUE='0'>");
	document.write("<PARAM name='EnableLZW' VALUE='0'>");
	document.write("<PARAM name='MagicWandMode' VALUE='0'>");
	document.write("<PARAM name='EnableAlphaChannel' VALUE='0'>");
	document.write("<PARAM name='DialogsMeasureUnit' VALUE='0'>");
	document.write("<PARAM name='AutoAdjustDPI' VALUE='0'>");
	document.write("<PARAM name='MaxSelectionDistance' VALUE='-1'>");
	document.write("<PARAM name='ForceALTKey' VALUE='0'>");
	document.write("<PARAM name='HasAlphaChannel' VALUE='0'>");
	document.write("<PARAM name='Printing' VALUE='0'>");
	document.write("<PARAM name='FiltersInitialDir' VALUE=''>");
	document.write("<PARAM name='RedoCount' VALUE='0'>");
	document.write("<PARAM name='UndoLocation' VALUE='1'>");
	document.write("<PARAM name='UndoLimit' VALUE='1'>");
	document.write("<PARAM name='UndoCount' VALUE='0'>");
	document.write("<PARAM name='PrintingFilterOnSubsampling' VALUE='-1'>");
	document.write("<PARAM name='PrintOrientation' VALUE='0'>");
	document.write("<PARAM name='PrintPageHeight' VALUE='6814'>");
	document.write("<PARAM name='PrintPageWidth' VALUE='4676'>");
	document.write("<PARAM name='PrintPageNumber' VALUE='0'>");
	document.write("<PARAM name='PrinterIndex' VALUE='4'>");
	document.write("<PARAM name='PrintersCount' VALUE='7'>");
	document.write("<PARAM name='FilteredAdjustDPI' VALUE='0'>");
	document.write("<PARAM name='hWnd' VALUE='592482'>");
	document.write("<PARAM name='IsEmpty' VALUE='-1'>");
	document.write("<PARAM name='SimplifiedParamsDialogs' VALUE='-1'>");
	document.write("<PARAM name='SelectionCutBorders' VALUE='0'>");
	document.write("<PARAM name='SelectionMarkOuter' VALUE='0'>");
	document.write("<PARAM name='SelectionCanScroll' VALUE='-1'>");
	document.write("<PARAM name='CanvasBrushColor' VALUE='" + 0xFFFFFF + "'>");
	document.write("<PARAM name='CanvasBrushStyle' VALUE='0'>");
	document.write("<PARAM name='CanvasPenColor' VALUE='" + 0x000000 + "'>");
	document.write("<PARAM name='CanvasPenMode' VALUE='4'>");
	document.write("<PARAM name='CanvasPenStyle' VALUE='0'>");
	document.write("<PARAM name='CanvasPenWidth' VALUE='1'>");
	document.write("<PARAM name='UseNonLZW' VALUE='0'>");
	document.write("<PARAM name='CanvasCopyMode' VALUE='" + 0xCC0020 + "'>");
	document.write("<PARAM name='CanvasFontColor' VALUE='" + 0x000000 + "'>");
	document.write("<PARAM name='CanvasFontName' VALUE='MS Sans Serif'>");
	document.write("<PARAM name='CanvasFontPitch' VALUE='0'>");
	document.write("<PARAM name='CanvasFontSize' VALUE='8'>");
	document.write("<PARAM name='LayersCount' VALUE='1'>");
	document.write("<PARAM name='LayersCurrent' VALUE='0'>");
	document.write("<PARAM name='ProxyAddress' VALUE=''>");
	document.write("<PARAM name='ProxyUser' VALUE=''>");
	document.write("<PARAM name='ProxyPassword' VALUE=''>");
	document.write("<PARAM name='LegacyBitmap' VALUE='-1'>");
	document.write("<PARAM name='DefaultDitherMethod' VALUE='1'>");
	document.write("<PARAM name='MouseWheelAction' VALUE='2'>");
	document.write("<PARAM name='AutoStretch' VALUE='0'>");
	document.write("<PARAM name='AutoShrink' VALUE='0'>");
	document.write("</OBJECT>");
}


/**
¸Þ¼Òµå : ClientDownInit
¼³¸í    : µµ¸é ºä¾î Å¬¶óÀÌ¾ðÆ®´Ù¿î
*/

function ClientDownInit()
{
	document.write("<object id='viewer' style='LEFT: 0px; TOP: 0px' codeBase='/S_COMMON/INC/DWFViewer/ClientDown.CAB#version=1,0,0,2' style='width:0px; height:0px;' classid='clsid:5F2238BF-5216-4C6E-8316-E817D674DD6C'>");
	document.write("<param name='_Version' value='65536'>");
	document.write("<param name='title' value='µµ¸éºä¾î'>");
	document.write("<param name='width' value='0'>");
	document.write("<param name='height' value='0'>");
	document.write("<param name='posx' value='50'>");
	document.write("<param name='posy' value='30'>");
	document.write("<param name='_ExtentX' value='26'>");
	document.write("<param name='_ExtentY' value='26'>");
	document.write("<param name='_StockProps' value='26'>");
	document.write("</object>");
}


/**
¸Þ¼Òµå : DWFViewer
¼³¸í    : µµ¸é ºä¾î
*/
function DWFViewerInit()
{
	document.write("<object id='DWFViewer' style='LEFT: 0px; TOP: 0px' codeBase='/S_COMMON/inc/Download/ExpressViewerSetup.cab#version=4,1,0,163' style='width:0px; height:0px;' classid='clsid:A662DA7E-CCB7-4743-B71A-D817F6D575DF'>");
	document.write("<param name='_cx' value='26'>");
	document.write("<param name='_cy' value='26'>");
	document.write("<param name='BackColor' value='7895160'>");
	document.write("<param name='EmbedDoc' value='0'>");
	document.write("<param name='Src' value=''>");
	document.write("<param name='ViewerParams' value=''>");
	document.write("</object>");
}

/**
¸Þ¼Òµå : ezpView
¼³¸í    : ezpViewr °øÁ¤Ã­Æ®º¸±â
*/
function ezpViewInit(x, y)
{
	document.write("<object id='ezView'  type='application/x-oleobject' codeBase='/S_COMMON/inc/ezView/ezpView.cab#version=1,0,0,10' width= '"+x+"'  height='"+y+"' classid='clsid:E462FEBB-9DC8-47E7-8298-F9D2E3A5CAAF'>");
	document.write("</object>");
}

/**
¸Þ¼Òµå : xlsTransfer
¼³¸í    : Xls °øÁ¤ÀÚ·á ¿Ã¸®±â
*/
function ezpViewInit(name, x, y)
{
	document.write("<object id='"+name+"'  type='application/x-oleobject' codeBase='/S_COMMON/inc/pkxlsTransfer/pkxlsTransfer.cab#version=1,0,0,8' width= '"+x+"'  height='"+y+"' classid='clsid:0C5253CB-C6AD-494E-BC05-5B7AC048DB1E'>");
	document.write("</object>");
}

/**
¸Þ¼Òµå : XFileUpload (2006.04.26)
¼³¸í    : XFile ¾÷·Îµå
*/
function xFileUpload()
{
	document.write("<object classid='clsid:5220cb21-c88d-11cf-b347-00aa00a28331' id='Microsoft_Licensed_Class_Manager_1_0'1>");
	document.write("<param name='LPKPath' value='/XFileUpload/XFileUpload.LPK'>");
	document.write("</object>");
}


/**
¸Þ¼Òµå : XfileCode (2006.04.26)
¼³¸í    : XfileCode
*/
function xFileCode(name, x, y)
{
	document.write("<object id=ListDownCTL codebase='"+name+"' height='"+y+"'40 width='"+x+"'  classid='CLSID:F36BB72B-9876-4C6D-B22F-D68E480A39B5'>");
	document.write("</object>");
}


/**
¸Þ¼Òµå : HwpCtrl (2006.04.28)
¼³¸í    : HwpCtrl
*/
function HwpCtrl(name, x, y)
{
      document.write("<object id='"+name+"' style='LEFT: 0px; TOP: 0px' width='"+x+"' height='"+y+"' align='center' classid='CLSID:BD9C32DE-3155-4691-8972-097D53B10052'>");
      document.write("<PARAM NAME='TOOLBAR_MENU' VALUE='TRUE'>");
      document.write("<PARAM NAME='TOOLBAR_STANDARD' VALUE='TRUE'>");
      document.write("<PARAM NAME='TOOLBAR_FORMAT' VALUE='TRUE'>");
      document.write("<PARAM NAME='TOOLBAR_DRAW' VALUE='TRUE'>");
      document.write("<PARAM NAME='TOOLBAR_TABLE' VALUE='FALSE'>");
      document.write("<PARAM NAME='TOOLBAR_IMAGE' VALUE='FALSE'>");
      document.write("<PARAM NAME='TOOLBAR_HEADERFOOTER' VALUE='FALSE'>");
      document.write("<PARAM NAME='SHOW_TOOLBAR' VALUE='TRUE'>");
      document.write("</object>");
}


function swf_include(swfUrl,swfWidth,swfHeight,bgColor,swfName,access,flashVars){
 // ÇÃ·¡½Ã ÄÚµå Á¤ÀÇ
 var flashStr=
 "<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='"+swfWidth+"' height='"+swfHeight+"' id='"+swfName+"' align='middle' />"+
 "<param name='allowScriptAccess' value='"+access+"' />"+
 "<param name='movie' value='"+swfUrl+"' />"+
 "<param name='FlashVars' value='"+flashVars+"' />"+
 "<param name='loop' value='false' />"+
 "<param name='menu' value='true' />"+
 "<param name='quality' value='high' />"+
    "<param name='scale' value='noscale' />"+
 "<param name='bgcolor' value='"+bgColor+"' />"+
 "<embed src='"+swfUrl+"' FlashVars='"+flashVars+"'  quality='best' bgcolor='#EEF8FF' width='"+swfWidth+"' height='"+swfHeight+"' name='"+swfName+"' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />"+
 "</object>";

 // ÇÃ·¡½Ã ÄÚµå Ãâ·Â
 document.write(flashStr);
};