function HlpDocumentBase(n){var t=sysHelpUrl;n&&(t+="?cshid="+SysURLEncode(n.toUpperCase())),console.log("Redirect URL:'"+t+"'"),SysWindow.OpenInTab(t)}function HlpDocument(n,t){HlpDocumentBase(n,t)}function OpenHelpDocument(n){SysWindow.OpenInTab(n)}function cHelpGuide(){return this.id="",this.running=!1,this.document=null,this.pages=[],this.currentStep=null,this.currentPage=null,arguments.length&&(this.id=arguments[0]),this.document=this.HelpDocument(),this.document.body.Ctl=this,this}function HlpHtHandlePageEvent(n){var t=HlpGuide();t&&t.currentPage&&t.currentPage.DoEvent(n)}function HlpcHelpGuideUnScratch(n){var t=HlpGuide();t&&t.currentPage&&t.currentPage.UnScratch(n)}function cHelpGuideBase(){}function cHelpPage(){return this.id="",this.pageName="",this.table=null,this.steps=[],this.titleRow=null,this.textRow=null,this.guide=null,this.stepsRow=null,this.stepsDiv=null,this.scratched=!1,arguments.length&&(this.id=arguments[0],this.pageName=arguments[1],this.titleRow=SysGetElement(this.id),this.titleRow.Ctl=this,this.stepsRow=this.titleRow.nextSibling,this.stepsRow.Ctl=this,this.stepsDiv=this.stepsRow.childNodes[0].childNodes[0]),this}function HlpHtHandleEvent(n){var f=HlpGuide(),i,t,r,u;if(f){if(i=f.MainDocument(),t=SysGetElement(n,i),!t){if(r=i.getElementsByName(id),r.length==0)return;t=r[0]}u=t.SHlp,u&&u.DoEvent(n)}}function cHelpStep(){if(this.id="",this.controlId="",this.controlIds=null,this.titleRow=null,this.textRow=null,this.scratchImage=null,this.scratched=!1,this.page=null,arguments.length){this.id=arguments[0],this.controlId=arguments[1],this.controlIds=this.controlId.split(" "),this.titleRow=SysGetElement(this.id),this.titleRow.Ctl=this,this.textRow=this.titleRow.nextSibling,this.textRow.Ctl=this;var n=this.titleRow.cells[0];this.scratchImage=n.childNodes[0],this.scratchImage.Ctl=this,this.scratchImage.onclick=this.ScratchImage}return this}function SysHlpGetRule(){return sysHlpGuideRule==null&&(sysHlpGuideRule=SysFindStyleSheetRule(".HelpGuideSelect")),sysHlpGuideRule}function HlpHtFile(n){var t=n.location.pathname,i=t.lastIndexOf("/"),r=t.lastIndexOf(".");return i<0||r<0?null:t.substring(i+1,r)}function HlpHtSetFirstText(n,t){var i=SysGetElement("t"+t,n),r,u;if(i!=null&&i.rows.length!=0)for(HlpHtCloseText(n,i),r=0;r<i.rows.length;r++)if(u=i.rows[r],u.className==""&&!$(u).css("textDecoration").is("line-through")){HlpHtShowText(u);return}}function HlpHtMainDoc(){var n=SysGetElement("MainWindow",parent);if(n!=null)try{return n.contentWindow.document}catch(t){return null}}function HlpHtTabClose(n){var i=SysGetElement("HelpRows",n),t,r,u;if(i!=null)for(t=0;t<i.rows.length;t++)r=i.rows[t],u=r.getAttribute("ctl"),u!=null&&$(r).hide()}function HlpHtTabOpen(n,t){var i=SysGetElement("p"+t,n);i!=null&&$(i).show()}function HlpHtAddEvents(n){for(var u,r,t,i=0;i<n.forms.length;i++)for(u=n.forms[i],r=0;r<u.elements.length;r++)t=u.elements[r],$(t).is(":not(:hidden)")&&(t.tagName=="BUTTON"||t.tagName=="INPUT"&&t.Type=="BUTTON"?SysAttachEvent(t,"onclick",new Function('HlpHtHandleOnClick("'+t.id+'")')):SysAttachEvent(t,"onchange",new Function('HlpHtHandleOnChange("'+t.id+'")')))}function HlpHtHandleBrowser(n){parent.hlpHtRunning&&HlpHtChange(n)}function HlpHtHandleOnChange(n){HlpHtChange(n)}function HlpHtHandleOnClick(n){HlpHtChange(n)}function HlpHtChange(n){var t=HlpHtScratch(n);t!=null&&(t=t.nextSibling),HlpHtShowText(t)}function HlpHtShowText(n){n!=null&&(n=n.nextSibling),n!=null&&$(n).show()}function HlpHtSetText(n){var i,t,r;n!=null&&(i=HlpHtDoc(),i!=null)&&(t=SysGetElement("helpText",i),t!=null)&&(r=n.getAttribute("txt"),t.innerText=r!=null?n.getAttribute("txt"):"")}function HlpHtScratch(n){var r=HlpHtDoc(),e=HlpHtMainDoc(),u,i,f,t;if(r!=null&&e!=null)return(u=HlpHtFile(e),i=SysGetElement("t"+u,r),i==null||i.rows.length==0)?void 0:(t=SysGetElement("p"+u,r),t==null)?void 0:(f=t.getAttribute("ctl"),f==null)?void 0:(t=SysGetElement("p"+f+n,r),t==null&&(t=HlpHtFindControlRow(n,i),t==null))?void 0:(HlpHtCloseText(r,i),HlpHtScratchUntil(t,i),t=t.nextSibling,$(t).hide(),t)}function HlpHtFindControlRow(n,t){for(var u,f,e,r,i=0;i<t.rows.length;i++)if(u=t.rows[i],f=u.getAttribute("ctlid"),f!=null)for(e=f.split(" "),r=0;r<e.length;r++)if(e[r]==n)return u}function HlpHtScratchUntil(n,t){for(var r,i=0;i<t.rows.length;i++)if(r=t.rows[i],r.className!="HelpGuideText"&&$(r).css("textDecoration","line-through"),r==n)return}function HlpHtCloseText(n,t){for(var r,i=0;i<t.rows.length;i++)r=t.rows[i],r.className=="HelpGuideText"&&$(r).hide()}function HlpHtMouseOver(n){HlpHtSwitchColors(n,!0)}function HlpHtMouseOut(n){HlpHtSwitchColors(n,!1)}function HlpHtSwitchColors(n,t){var r=SysSrcElement(n),u,f,i;if(r=r.parentNode,u=r.getAttribute("ctlid"),u!=null)for(f=u.split(" "),i=0;i<f.length;i++)HlpHtSwitchColor(f[i],t)}function HlpHtSwitchColor(n,t){var r=HlpHtMainDoc(),i;r!=null&&(i=SysGetElement(n,r),i!=null&&(i.parentNode.tagName=="TD"&&(i=i.parentNode),t?SysAddClass(i,"HelpGuideSelect"):SysRemoveClass(i,"HelpGuideSelect")))}function HlpGuidance(n){SysMenuHide(),parent.parent.prtStartHelpID(n)}function HlpHtMenuDoc(){var n=SysGetElement("Products",parent);if(n!=null)try{return n.contentWindow.document}catch(t){return null}}function HlpHtClearMenuColors(){var i=HlpHtMenuDoc(),t,n;if(i!=null)for(t=0;t<i.links.length;t++)n=i.links[t],n!=null&&($(n).css("backgroundColor",n.style.backgroundColor),$(n).css("color",n.style.color))}function HlpShowOkMessage(){var t=SysGetElement("OkMessage"),n,i;t&&$(t).show(),n=SysGetElement("OkMessageBtn"),n&&n.focus(),i=SysGet("TrainingCourse"),SysSet("TrainingCourse_Succeeded",i)}function HlpClickNext(){var n=SysGetElement("btnNext");n&&n.click()}function HlpGuide(){var n=HlpHtDoc();if(n!=null&&n.body.Ctl!=null)return n.body.Ctl}function HlpHtClose(){HlpHtClearMenuColors(),parent.hlpHtRunning=!1,parent.prtStopHelp()}function HlpHtStart(){HlpHtClearMenuColors(),parent.hlpHtRunning=!0;var n=HlpHtDoc();n!=null&&n.body.Ctl!=null&&n.body.Ctl.Start()}function HlpHtControl(){if(hlpHtRunning){var n=HlpHtDoc();n!=null&&n.body.Ctl!=null&&n.body.Ctl.ControlPage()}}function HlpHtDoc(){var n=SysGetElement("Help",parent);if(n!=null)return n.contentWindow.document}function HlpDocumentFileName(n){var t=n.location.pathname,i=t.lastIndexOf("/"),r=t.lastIndexOf(".");return i<0||r<0?null:t.substring(i+1,r)}var _syshelpversion="1.4.1.1",sysHlpGuideRule,hlpHtRunning,hlpGuide;cHelpGuide.prototype=new cHelpGuideBase,cHelpGuide.prototype.constructor=cHelpGuide,cHelpGuide.prototype.AddPage=function(n){this.pages[this.pages.length]=n,n.guide=this},cHelpGuide.prototype.Start=function(){if(this.pages.length!=0){var n=this.pages[0];this.SetCurrentPage(n),this.AddEvents("Products"),this.AddEvents("MenuLeft"),this.AddEvents("Toolbar")}},cHelpGuide.prototype.AddEvents=function(n){var o=this.GetWindow(n),i=this.GetDocument(n),r,s,u,t,f,e;if(i){for(r=0;r<i.forms.length;r++)for(s=i.forms[r],u=0;u<s.elements.length;u++)t=s.elements[u],$(t).is(":not(:hidden)")&&(t.SHlp=this,t.tagName=="BUTTON"||t.tagName=="INPUT"&&t.Type=="BUTTON"?SysAttachEvent(t,"onclick",function(n){HlpHtHandlePageEvent((n.target.ownerDocument.defaultView||n.target.ownerDocument.parentWindow).name+":"+n.target.id)},o):SysAttachEvent(t,"onchange",function(n){HlpHtHandlePageEvent((n.target.ownerDocument.defaultView||n.target.ownerDocument.parentWindow).name+":"+n.target.id)},o));for(f=0;f<i.links.length;f++)e=i.links[f],e.id&&$(e).is(":not(:hidden)")&&SysAttachEvent(e,"onclick",function(n){HlpHtHandlePageEvent((n.target.ownerDocument.defaultView||n.target.ownerDocument.parentWindow).name+":"+n.target.id)},o)}},cHelpGuide.prototype.ControlPage=function(){var n=this.MainDocument(),i=HlpDocumentFileName(n),t=this.FindPage(i);t&&this.SetCurrentPage(t,n)},cHelpGuide.prototype.SetCurrentPage=function(n,t){this.currentPage&&this.currentPage.Close(),this.currentPage=n,this.ScratchUntil(n),n.Open(),t&&n.AddEvents(t)},cHelpGuide.prototype.ScratchUntil=function(n){for(var t=0,i,t=0;t<this.pages.length;t++){if(i=this.pages[t],i==n)return;i.Scratch()}},cHelpGuide.prototype.FindNextPage=function(n){for(var t=0,i,t=0;t<this.pages.length-1;t++)if(i=this.pages[t],i==n)return this.pages[t+1];return null},cHelpGuide.prototype.FindPage=function(n){for(var r=n,t=0,i,t=0;t<this.pages.length;t++)if(i=this.pages[t],i.pageName==r&&!i.scratched)return i;return null},cHelpGuideBase.prototype.GetWindow=function(n){var t=SysGetElement(n,parent);return t&&t.contentWindow&&(t=t.contentWindow),t},cHelpGuideBase.prototype.HelpDocument=function(){return this.GetDocument("Help")},cHelpGuideBase.prototype.MainDocument=function(){return this.GetDocument("MainWindow")},cHelpGuideBase.prototype.GetDocument=function(n){var t=this.GetWindow(n);return t?t.document:null},cHelpPage.prototype=new cHelpGuideBase,cHelpPage.prototype.constructor=cHelpPage,cHelpPage.prototype.AddStep=function(n){this.steps[this.steps.length]=n,n.page=this},cHelpPage.prototype.Open=function(){$(this.stepsRow).show();var n=this.FindNextNonScratchedStep();n&&n.Open()},cHelpPage.prototype.Close=function(){$(this.stepsRow).hide()},cHelpPage.prototype.AddEvents=function(n){for(var u=n.parentWindow,f,i,t,e,r=0;r<n.forms.length;r++)for(f=n.forms[r],i=0;i<f.elements.length;i++)t=f.elements[i],t.SHlp=this,t.id!==""&&$(t).is(":not(:hidden)")&&(t.tagName=="BUTTON"||t.tagName=="INPUT"&&(t.type=="button"||t.type=="checkbox"||t.type=="radio")?SysAttachEvent(t,"onclick",function(n){HlpHtHandleEvent(n.target.id)},u):SysAttachEvent(t,"onchange",function(n){HlpHtHandleEvent(n.target.id)},u));for(i=0;i<n.links.length;i++)t=n.links[i],e=t.id?t.id:t.name,e&&$(t).is(":not(:hidden)")&&(t.SHlp=this,SysAttachEvent(t,"onclick",function(n){HlpHtHandleEvent(n.target.id)},u))},cHelpPage.prototype.DoEvent=function(n){this.ScratchStep(this.FindStep(n))},cHelpPage.prototype.ScratchStep=function(n){if(n){var t=n.page;n.Scratch(),n.Close(),n=this.FindNextNonScratchedStep(),n&&n.Open(),this.CheckAllStepsScratched()&&(t=this.guide.FindNextPage(t),t&&this.guide.SetCurrentPage(t))}},cHelpPage.prototype.CheckAllStepsScratched=function(){for(var n=0,t,n=0;n<this.steps.length;n++)if(t=this.steps[n],!t.scratched)return!1;return this.Scratch(),!0},cHelpPage.prototype.Scratch=function(){$("td",this.titleRow).css("textDecoration","line-through"),this.scratched=!0},cHelpPage.prototype.UnScratch=function(n){var r,t,i,u;for($("td",this.titleRow).css("textDecoration","none"),this.scratched=!1,this.CloseAll(),r=n==null,t=0,t=0;t<this.steps.length;t++)i=this.steps[t],i.id==n&&(r=!0,u=i),r&&i.UnScratch();u&&u.Open()},cHelpPage.prototype.CloseAll=function(){for(var t=0,i,t=0;t<this.steps.length;t++)i=this.steps[t],i.Close()},cHelpPage.prototype.FindNextNonScratchedStep=function(){for(var n=0,t,n=0;n<this.steps.length;n++)if(t=this.steps[n],!t.scratched)return t;return null},cHelpPage.prototype.FindNextNonScratchedStepWithControls=function(n){for(n=this.FindNextNonScratchedStep();n;){if(n.HasControls())return n;n.GrayOut(),n=this.FindNextNonScratchedStep()}return null},cHelpPage.prototype.FindNextStep=function(n){for(var t=0,i,t=0;t<this.steps.length-1;t++)if(i=this.steps[t],i==n)return this.steps[t+1];return null},cHelpPage.prototype.FindStep=function(n){for(var r=n,t=0,i,t=0;t<this.steps.length;t++)if(i=this.steps[t],!i.scratched&&i.HasControlId(r))return i;return null},cHelpStep.prototype=new cHelpGuideBase,cHelpStep.prototype.constructor=cHelpStep,cHelpStep.prototype.HasControlId=function(n){for(var t=0;t<this.controlIds.length;t++)if(n==this.controlIds[t])return!0;return!1},cHelpStep.prototype.ScratchImage=function(){var n=this.Ctl;n&&n.page.ScratchStep(n)},cHelpStep.prototype.GrayOut=function(){$(this.titleRow).css("fontstyle","italic"),$(this.titleRow).css("textDecoration","line-through"),this.scratched=!0},cHelpStep.prototype.Scratch=function(){$("td",this.titleRow).css("textDecoration","line-through"),this.scratched=!0},cHelpStep.prototype.UnScratch=function(){$("td",this.titleRow).css("textDecoration","none"),this.scratched=!1},cHelpStep.prototype.Open=function(){$(this.textRow).show(),$(this.scratchImage).css("display","inline"),this.SwitchColors(!0)},cHelpStep.prototype.Close=function(){$(this.textRow).hide(),$(this.scratchImage).hide(),this.SwitchColors(!1)},cHelpStep.prototype.MouseOver=function(n){var t=SysSrcElement(n),i;t.tagName=="TD"&&(t=t.parentNode),i=t.Ctl,i&&i.SwitchColors(!0)},cHelpStep.prototype.MouseOut=function(n){var t=SysSrcElement(n),i;t.tagName=="TD"&&(t=t.parentNode),i=t.Ctl,i&&i.SwitchColors(!1)},cHelpStep.prototype.HasControls=function(){for(var t,n=0;n<this.controlIds.length;n++)if(t=this.controlIds[n].split(":"),t.length==1){if(this.HasControl(this.controlIds[n],null))return!0}else if(this.HasControl(t[1],t[0]))return!0;return!1},cHelpStep.prototype.HasControl=function(n,t){var i,r,u;return(i=t?this.GetDocument(t):this.MainDocument(),i!=null&&((r=SysGetElement(n,i),r)||(u=i.getElementsByName(n),u.length>0)))?!0:!1},cHelpStep.prototype.SwitchColors=function(n){for(var i,t=0;t<this.controlIds.length;t++)i=this.controlIds[t].split(":"),i.length==1?this.SwitchColor(this.controlIds[t],null,n):this.SwitchColor(i[1],i[0],n)},cHelpStep.prototype.SwitchColor=function(n,t,i){var r,u,e,f;if(r=t?this.GetDocument(t):this.MainDocument(),r!=null)for(u=SysGetElement(n,r),u!=null&&this.SwitchColorElement(u,i),e=r.getElementsByName(n),f=1;f<e.length;f++)u=e[f],this.SwitchColorElement(u,i)},cHelpStep.prototype.SwitchColorElement=function(n,t){if(t){var i=SysHlpGetRule();$(n).css("backgroundColor",i.style.backgroundColor),$(n).css("color",i.style.color)}else $(n).css("backgroundColor",n.style.backgroundColor),$(n).css("color",n.style.color)},sysHlpGuideRule=null,hlpHtRunning=!1,hlpGuide=null