function initFCKeditor(A, F, C, E, D) { var B = new FCKeditor(A); B.BasePath = F; B.ToolbarSet = C; B.Config.StaticHtmlViewerID = E; $("#" + D).html(B.CreateHtml()); } function FCKeditor_OnComplete(A) { if (A.Config.StaticHtmlViewerID) { A.SetHTML($("#" + A.Config.StaticHtmlViewerID).html()); } } function saveStaticHTMLWidget(B, A, D, C) { EnjooSite.Web.WebServices.SiteLayoutEditService.SaveStaticHTML(A, D, C, function(E, G, F) { _showMessage("温馨提示", "更新成功！", "Success"); }, function(F, G, E) { _showMessage("错误", F.get_message(), "Error"); }, null); } if (typeof (Sys) !== "undefined") { Sys.Application.notifyScriptLoaded(); }