text: var Options={SAVE_PFX:"save",CANCEL_PFX:"cancel",ERROR_PFX:"error_",INPUT_PFX:"input_",BUTTON_FLASH:"flushOLAPCache",initialize:function(){jQuery("#serverSettingsMenu").length>0&&layoutModule.resizeOnClient("serverSettingsMenu","settings"),webHelpModule.setCurrentContext("admin"),$("display").observe("click",function(e){var t=e.element();for(var n in Administer.menuActions)if(matchAny(t,[n],!0)&&!matchMeOrUp(t.parentNode,"li").hasClassName("selected"))return void(document.location=Administer.menuActions[n]());if(matchAny(t,["#"+Options.BUTTON_FLASH],!0))return Event.stop(e),void Options.flushCache();var o=matchAny(t,["#"+Options.SAVE_PFX],!0);if(o){Event.stop(e);var s=o.name;return void Options.saveValue(s)}o=matchAny(t,["#"+Options.CANCEL_PFX],!0),o&&(Event.stop(e),Options.resetValue(o.name,o.value)),matchAny(t,[".checkBox > input","select"])&&Options.switchButtons(t,!0)}),$("display").observe("keydown",function(e){var t=e.element();t.match("input")&&Options.switchButtons(t,!0)})},saveValue:function(e){var t=$(Options.INPUT_PFX+e),n={name:e,value:"checkbox"==t.type?t.checked:t.value,_flowExecutionKey:Administer.flowExecutionKey,_eventId:"saveSingleProperty"},o="flow.html?"+Object.toQueryString(n);Administer._sendRequest(o,null,Options._updateCallback)},resetValue:function(e,t){var n=$(Options.INPUT_PFX+e);"checkbox"==n.type?n.checked="true"==String(t):n.value=t,Options.switchButtons(n,!1),$(document.body).select('[for="'+Options.INPUT_PFX+e+'"]')[0].removeClassName(layoutModule.ERROR_CLASS)},flushCache:function(){var e="flow.html?_flowExecutionKey="+Administer.flowExecutionKey+"&_eventId=flushCache";Administer._sendRequest(e,null,Options._flushCallback)},switchButtons:function(e,t){"string"==typeof e&&(e=$(Options.INPUT_PFX+e)),Options._enableButton($(matchMeOrUp(e,"li")).select("button")[0],t),Options._enableButton($(matchMeOrUp(e,"li")).select("button")[1],t)},_enableButton:function(e,t){t?buttonManager.enable(e):buttonManager.disable(e)},_updateCallback:function(e){e.error?($(document.body).select('[for="'+Options.INPUT_PFX+e.optionName+'"]')[0].addClassName(layoutModule.ERROR_CLASS),$(Options.ERROR_PFX+e.optionName).update(Administer.getMessage(e.error))):(Options.switchButtons(e.optionName,!1),dialogs.systemConfirm.show(Administer.getMessage(e.result)),$(document.body).select('[for="'+Options.INPUT_PFX+e.optionName+'"]')[0].removeClassName(layoutModule.ERROR_CLASS))},_flushCallback:function(e){dialogs.systemConfirm.show(e.error?Administer.getMessage("JAM_018_ERROR")+": "+e.error:Administer.getMessage(e.result))}};"undefined"==typeof require&&document.observe("dom:loaded",Options.initialize.bind(Options));