function Help(e){function i(){r=null,t={},n=e}function s(e){srcXML=e}function o(e){}function u(e){t=e}function a(e,n,r){var i=$(t).find("page[id="+r+"]");d(e,i,!1)}function f(e,t,n){y(),r=$.ajax({type:"get",url:b()+"help_main/page.html",headers:funcObj.UIMain.prepareAjaxHeaders({GUID:guid,ClientType:app_name,version_NativeFrameVersion:frame_version,version_StockholmVersion:gui_version,version_ProtocolVersion:protocol_version}),dataType:"xml",success:function(r){u(r),a(e,t,n)},error:function(e,t){if(t=="abort")return;setTimeout(function(){funcObj.browse.removeLastPage(!0,!0)},1),funcObj.message.createMessage(obj={title:"##TRANS_InternalMessages_Errors_HelpUnavailable_Title##",copy:"##TRANS_InternalMessages_Errors_HelpUnavailable_Copy##",buttons:[{title:"##TRANS_Buttons_OK##",callback:"close"}]})}})}function l(e,t,r){funcObj.browse.animatePanel("200"),funcObj.content.enableLoadAni(!0),r==""||r==undefined||r==null?f(e,t,n.startingNode):a(e,t,r)}function c(e,t){var n=$(e).find("items").children()[t],r=$(n).find("type").text(),i=$(n).find("path").text();r=="dir"?l(null,n,i):r=="page"&&p(funcObj.UIMain.getUID(),i,!0)}function h(e,t,n){return!1}function p(e,t,n){funcObj.browse.animatePanel("200"),funcObj.content.enableLoadAni(!0);var i=b()+t.split("/")[4]+"/page.html";y(),r=$.ajax({type:"get",url:i,headers:funcObj.UIMain.prepareAjaxHeaders({GUID:guid,ClientType:app_name,version_NativeFrameVersion:frame_version,version_StockholmVersion:gui_version,version_ProtocolVersion:protocol_version}),dataType:"xml",success:function(t){d(e,t,!0)},error:function(e,t){if(t=="abort")return;setTimeout(function(){funcObj.browse.removeLastPage(!0,!0)},1),funcObj.message.createMessage(obj={title:"##TRANS_InternalMessages_Errors_HelpUnavailable_Title##",copy:"##TRANS_InternalMessages_Errors_HelpUnavailable_Copy##",buttons:[{title:"##TRANS_Buttons_OK##",callback:"close"}]})}})}function d(e,t,n){if(funcObj["content"].getCurSrc()[0]==m("requestName")){var r={},t,i,s,o=[],u=[],a=[];r.num=funcObj.browse.getNumLists();var f=$(t).find("items").children();for(var l=0;l<f.length;l++)o.push($(f[l]).find("name").text());if(n){var c=funcObj.contentCon.getContent("HELPBODY",{repl:{BODY:$(t).find("answer").text()}});i=funcObj.contentCon.getContent("HELP",{repl:{NUM:r.num,HEADER:$(t).find("topic").text(),BODY:c}})}r={source:m("requestName"),xml:t,html:i,template:s,elements:o,subElements:u,imgSrc:a},funcObj.browse.createPage(e,r)}}function v(e){return null}function m(e){return n[e]}function g(){return!1}function y(){try{r.abort()}catch(e){}}function b(){return funcObj.margeComm.getMargeURL()+"content/productsupport/"+curLang.replace("_","-")+"/apps/"}var t,n,r;this.setup=s,this.selectSource=o,this.getHelpPage=p,this.selectItem=c,this.parseBrowse=d,this.getHelpContent=f,this.getContent=l,this.getControls=v,this.getFeature=m,this.pressAndHoldItem=h,this.hasDraggableItems=g,this.cancelCurrentRequest=y,i()};