/* * Copyright MadCap Software * http://www.madcapsoftware.com/ * Unlicensed use is strictly prohibited * * v16.2.7661.33927 */ var gHelpSystem=null;var gMasterHelpSystem=null;function FMCGetHelpSystem(){return gHelpSystem}function FMCGetMasterHelpSystem(){return gMasterHelpSystem}function FMCLoadHelpSystem(e){if(FMCIsWebHelp()||FMCIsEclipseHelp()){var g=new CMCUrl(MCGlobals.RootFrameRootFolder);var d=g.CombinePath("Data/HelpSystem.xml");gMasterHelpSystem=new CMCHelpSystem(null,g.FullPath,d.FullPath,null,null);gMasterHelpSystem.Load(function(){gHelpSystem=gMasterHelpSystem.GetHelpSystem(MCGlobals.RootFolder);e(gHelpSystem)})}else{var f=FMCGetAttribute(document.documentElement,"MadCap:PathToHelpSystem")||"";var b=new CMCUrl(FMCEscapeHref(document.location.href)).ToFolder();var a=b.CombinePath(f);var c=a.CombinePath("Data");var d=c.AddFile("HelpSystem.xml");gMasterHelpSystem=new CMCHelpSystem(null,a.FullPath,d.FullPath,null,null);gMasterHelpSystem.Load(function(){gHelpSystem=gMasterHelpSystem;e(gHelpSystem)})}}function CMCHelpSystem(z,y,B,A,a){var t=this;var r=z;var s=y;var u=new Array();var w=A;var l=a;var m=null;var x=new CMCDictionary();var q=false;var j=new CMCAliasFile(y+"Data/Alias.xml",this);var v=new CMCTocFile(this,EMCTocType.Toc);var k=new CMCTocFile(this,EMCTocType.BrowseSequence);this.TargetType=null;this.SkinFolder=null;this.SkinTemplateFolder=null;this.DefaultStartTopic=null;this.InPreviewMode=null;this.LiveHelpOutputId=null;this.LiveHelpServer=null;this.LiveHelpEnabled=false;this.IsWebHelpPlus=false;this.ContentFolder=null;this.UseCustomTopicFileExtension=false;this.CustomTopicFileExtension=null;this.PreventExternalUrls=false;this.LanguageName=null;this.GlossaryUrl=null;this.SearchFilterSetUrls=null;this.DisplayCommunitySearchResults=true;this.CommunitySearchResultsCount=3;(function(){})();this.Load=function(C){CMCXmlParser.GetXmlDoc(B,true,function(S){function K(){E++;if(E==H){C()}}q=S!=null;if(!q){C();return}t.TargetType=S.documentElement.getAttribute("TargetType");t.SkinFolder=new CMCUrl(S.documentElement.getAttribute("Skin")).ToFolder().FullPath;t.SkinTemplateFolder=S.documentElement.getAttribute("SkinTemplateFolder");t.DefaultStartTopic=S.documentElement.getAttribute("DefaultUrl");t.InPreviewMode=FMCGetAttributeBool(S.documentElement,"InPreviewMode",false);t.LiveHelpOutputId=S.documentElement.getAttribute("LiveHelpOutputId");t.LiveHelpServer=S.documentElement.getAttribute("LiveHelpServer");t.LanguageName=S.documentElement.getAttribute("LanguageName");t.LiveHelpEnabled=t.LiveHelpOutputId!=null;t.IsWebHelpPlus=t.TargetType=="WebHelpPlus"&&document.location.protocol.StartsWith("http",false);var J=FMCGetAttributeBool(S.documentElement,"MoveOutputContentToRoot",false);var I=FMCGetAttributeBool(S.documentElement,"MakeFileLowerCase",false);var F="";if(!J){F="Content/"}if(I){F=F.toLowerCase()}t.ContentFolder=F;t.UseCustomTopicFileExtension=FMCGetAttributeBool(S.documentElement,"UseCustomTopicFileExtension",false);t.CustomTopicFileExtension=FMCGetAttribute(S.documentElement,"CustomTopicFileExtension");t.PreventExternalUrls=FMCGetAttributeBool(S.documentElement,"PreventExternalUrls",false);t.GlossaryUrl=e(S);t.SearchFilterSetUrls=f(S,"SearchFilterSet");t.HasBrowseSequences=S.documentElement.getAttribute("BrowseSequence")!=null;t.HasToc=S.documentElement.getAttribute("Toc")!=null;t.DisplayCommunitySearchResults=FMCGetAttributeBool(S.documentElement,"DisplayCommunitySearchResults",true);t.CommunitySearchResultsCount=FMCGetAttributeInt(S.documentElement,"CommunitySearchResultsCount",3);var N=S.getElementsByTagName("Subsystems");if(N.length>0&&N[0].getElementsByTagName("Url").length>0){var R=S.getElementsByTagName("Subsystems")[0].getElementsByTagName("Url");var E=0;var H=R.length;for(var G=0;G0)};this.GetConceptsLinks=function(F,D,C){if(this.IsWebHelpPlus){function H(R,J){var L=new Array();var O=R.documentElement.getElementsByTagName("Url");var N=O.length;for(var K=0;K0){var D=H.cloneNode(false).attributes;for(var I=0;IP){if(typeof(Q.importNode)=="function"){E.appendChild(Q.importNode(D,true))}else{E.appendChild(D.cloneNode(true))}L++}else{E.appendChild(C.cloneNode(true));H++}}}for(;HW.toLowerCase()){var R=null;if(typeof(E.importNode)=="function"){R=E.importNode(K,true)}else{R=K.cloneNode(true)}b(R,U);G.appendChild(R);Q++}else{G.appendChild(J.cloneNode(true));P++}}}for(;P0){var B=G[G.length-1];if(B.StartsWith("$$$$$")){D=parseInt(B.substring("$$$$$".length));G.splice(G.length-1,1)}}var H=n;for(var A=0,C=G.length;A=0){if(D==0){z=H}else{z=FMCGetChildNodeByTagName(H,"TocEntry",D-1)}}else{var E=f(H);var F=v.ToRelative(new CMCUrl(E.GetPath()));var z=c(H,F.FullPath.toLowerCase(),true);if(!z){z=c(H,F.PlainPath.toLowerCase(),false)}}q=null;p=null;w(z)}function t(A){var z=FMCGetAttribute(A,"Chunk");if(z!=null){o.LoadChunk(A,z,function(B){o.GetTocNode(q,p,w)});return true}return false}function u(A){var z=FMCGetAttributeInt(A,"MergeHint",-1);if(z>=0){o.LoadMerge(A,function(B){o.GetTocNode(q,p,w)});return true}return false}};this.GetEntrySequenceIndex=function(w,t,u){this.GetTocNode(w,t,v);function v(y){var x=-1;if(y!=null){x=a(y)}u(x)}};this.GetIndexTotalForEntry=function(w,t,u){this.GetTocNode(w,t,v);function v(y){var z=-1;if(y!=null){var x=y;while(x.parentNode!=n){x=x.parentNode}z=FMCGetAttributeInt(x,"DescendantCount",-1)}u(z)}};function i(){for(var t=0,u=l.length;t=0){o.LoadMerge(D,C);return true}return false}}function d(w,v){var t=FMCGetLastChildNodeByTagName(w,v);if(t!=null){var u=d(t,v);if(u!=null){return u}return t}return null}function f(w){var u=null;var t=w;while(true){if(t==t.ownerDocument.documentElement){u=j;break}var v=FMCGetAttributeInt(t,"ownerHelpSystemIndex",-1);if(v>=0){u=m[v];break}t=t.parentNode}return u}function g(w){var x="";var v=-1;var t=FMCGetChildNodeByTagName(w,"TocEntry",0);if(t!=null){x=FMCGetAttribute(w,"Title");v=0}else{v=FMCGetChildIndex(w)+1}if(x.length>0){x+="|"}x+=("$$$$$"+v);for(var u=w.parentNode;u!=null&&u.parentNode.nodeType==1;u=u.parentNode){if(x==null){x=""}if(x.length>0){x="|"+x}x=FMCGetAttribute(u,"Title")+x}return x}function a(z){if(z.parentNode==z.ownerDocument.documentElement){return 0}var y=0;var w=FMCGetAttribute(z,"Link");if(w!=null){y++}for(var t=z.previousSibling;t!=null;t=t.previousSibling){if(t.nodeType!=1){continue}var u=FMCGetAttributeInt(t,"DescendantCount",0);y+=u;var w=FMCGetAttribute(t,"Link");if(w!=null){var x=new CMCUrl(w);var v=x.Extension.toLowerCase();if(v=="htm"||v=="html"){y++}}}return y+a(z.parentNode)}};/* * Copyright MadCap Software * http://www.madcapsoftware.com/ * Unlicensed use is strictly prohibited * * v16.2.7661.33927 */ function CMCAliasFile(i,c,h){var g=null;var d=c;var f=null;var e=null;(function(){})();this.Load=function(j){function k(l){if(l){g=l.documentElement}j()}CMCXmlParser.GetXmlDoc(i,true,k,null)};this.GetIDs=function(){var j=new Array();a();e.ForEach(function(k,l){j[j.length]=k;return true});return j};this.GetNames=function(){var j=new Array();a();f.ForEach(function(k,l){j[j.length]=k;return true});return j};this.LookupID=function(k){var j=false;var o=null;var n=null;if(k){if(typeof(k)=="string"&&k.indexOf(".")!=-1){var m=k.indexOf("|");if(m!=-1){o=k.substring(0,m);n=k.substring(m+1)}else{o=k}j=true}else{var l=b(k);if(l!=null){j=true;o=l.Topic;n=l.Skin}}}else{j=true}if(!n){if(g){n=g.getAttribute("DefaultSkinName")}}if(o){o=d.ContentFolder+o}return{Found:j,Topic:o,Skin:n}};function b(j){var k=null;a();if(f!=null){if(typeof(j)=="string"){k=f.GetItem(j);if(k==null){k=e.GetItem(j)}}else{if(typeof(j)=="number"){k=e.GetItem(j.toString())}}}return k}function a(){if(f==null){if(g){f=new CMCDictionary();e=new CMCDictionary();var l=g.getElementsByTagName("Map");for(var k=0;k=0&&b.charAt(a)==" ";a--){}return b.substring(0,a+1)}function FMCContainsClassRoot(a){var d=null;for(var c=1;cc.innerHeight){a-=19}}else{if(FMCIsQuirksMode(c)){a=c.document.body.clientWidth}else{if(c.document.documentElement){a=c.document.documentElement.clientWidth}}}return a}function FMCGetClientHeight(c,b){var a=null;if(typeof(c.innerHeight)!="undefined"){a=c.innerHeight;if(!b&&FMCGetScrollWidth(c)>c.innerWidth){a-=19}}else{if(FMCIsQuirksMode(c)){a=c.document.body.clientHeight}else{if(c.document.documentElement){a=c.document.documentElement.clientHeight}}}return a}function FMCGetClientCenter(c){var a=FMCGetScrollLeft(c)+(FMCGetClientWidth(c,false)/2);var b=FMCGetScrollTop(c)+(FMCGetClientHeight(c,false)/2);return[a,b]}function FMCGetScrollHeight(b){var a=null;if(b.document.scrollHeight){a=b.document.scrollHeight}else{if(FMCIsQuirksMode(b)){a=b.document.body.scrollHeight}else{if(b.document.documentElement){a=b.document.documentElement.scrollHeight}}}return a}function FMCGetScrollWidth(b){var a=null;if(b.document.scrollWidth){a=b.document.scrollWidth}else{if(FMCIsQuirksMode(b)){a=b.document.body.scrollWidth}else{if(b.document.documentElement){a=b.document.documentElement.scrollWidth}}}return a}function FMCGetScrollTop(b){var a=null;if(FMCIsQuirksMode(b)){a=b.document.body.scrollTop}else{a=Math.max(b.document.documentElement.scrollTop,b.document.body.scrollTop)}return a}function FMCSetScrollTop(b,a){b.scrollTo(FMCGetScrollLeft(b),a)}function FMCGetScrollLeft(b){var a=null;if(FMCIsQuirksMode(b)){a=b.document.body.scrollLeft}else{a=Math.max(b.document.documentElement.scrollLeft,b.document.body.scrollLeft)}return a}function FMCSetScrollLeft(b,a){b.scrollTo(a,FMCGetScrollTop(b))}function FMCGetClientX(c,b){var a;if(typeof(b.pageX)!="undefined"){a=b.pageX-FMCGetScrollLeft(c)}else{if(typeof(b.clientX)!="undefined"){a=b.clientX}}return a}function FMCGetClientY(c,b){var a;if(typeof(b.pageY)!="undefined"){a=b.pageY-FMCGetScrollTop(c)}else{if(typeof(b.clientY)!="undefined"){a=b.clientY}}return a}function FMCGetPageX(c,a){var b;if(typeof(a.pageX)!="undefined"){b=a.pageX}else{if(typeof(a.clientX)!="undefined"){b=a.clientX+FMCGetScrollLeft(c)}}return b}function FMCGetPageY(c,a){var b;if(typeof(a.pageY)!="undefined"){b=a.pageY}else{if(typeof(a.clientY)!="undefined"){b=a.clientY+FMCGetScrollTop(c)}}return b}function FMCGetMouseXRelativeTo(f,a,b){var d=FMCGetPageX(f,a,b);var c=FMCGetPosition(b)[1];var g=d-c;return g}function FMCGetMouseYRelativeTo(f,a,b){var d=FMCGetPageY(f,a,b);var c=FMCGetPosition(b)[0];var g=d-c;return g}function FMCGetPosition(b){var c=0;var a=0;if(b.offsetParent){c=b.offsetTop;a=b.offsetLeft;while(b=b.offsetParent){c+=b.offsetTop;a+=b.offsetLeft}}return[c,a]}function FMCScrollToVisible(l,a){var g=0;if(typeof(window.innerWidth)!="undefined"&&!FMCIsSafari()){g=19}var k=FMCGetScrollTop(l);var h=k+FMCGetClientHeight(l,false)-g;var i=FMCGetScrollLeft(l);var j=i+FMCGetClientWidth(l,false)-g;var d=FMCGetPosition(a);var e=d[0];var c=parseInt(a.style.textIndent)+d[1];var b=a.offsetHeight;var f=a.getElementsByTagName("a")[0].offsetWidth;if(eh){FMCSetScrollTop(l,Math.min(e,e+b-FMCGetClientHeight(l,false)+g))}}if(cj){FMCSetScrollLeft(l,Math.min(c,c+f-FMCGetClientWidth(l,false)+g))}}}function FMCIsQuirksMode(a){return FMCIsIE55()||(a.document.compatMode&&a.document.compatMode=="BackCompat")}function FMCGetComputedStyle(b,c){var d=null;if(b.currentStyle){d=b.currentStyle[c]}else{if(document.defaultView&&document.defaultView.getComputedStyle){var a=document.defaultView.getComputedStyle(b,null);if(a){d=a[c]}}}return d}function FMCConvertToPx(d,f,b,a){if(!f||f.charAt(0)=="-"){return a}if(f.charAt(f.length-1)=="%"){switch(b){case"Width":return parseInt(f)*screen.width/100;break;case"Height":return parseInt(f)*screen.height/100;break}}else{if(parseInt(f).toString()==f){f+="px"}}try{var c=d.createElement("div")}catch(e){return a}d.body.appendChild(c);var g=a;try{c.style.width=f;if(c.currentStyle){g=c.offsetWidth}else{if(document.defaultView&&document.defaultView.getComputedStyle){g=parseInt(FMCGetComputedStyle(c,"width"))}}}catch(e){}d.body.removeChild(c);return g}function FMCGetControl(a){var b=null;if(a.type=="checkbox"){b=a.checked}else{b=a.value}return b}function FMCGetOpacity(a){var b=-1;if(a.filters){if(a.style.filter!=""){b=parseInt(a.style.filter.substring(17,a.style.filter.length-2))}}else{if(a.style.MozOpacity!=null){b=parseFloat(a.style.MozOpacity)*100}else{b=parseFloat(a.style.opacity)*100}}return b}function FMCSetOpacity(a,b){if(a.filters){if(b==100){a.style.filter=""}else{a.style.filter="alpha( opacity = "+b+" )"}}else{if(a.style.MozOpacity!=null){a.style.MozOpacity=b/100}else{a.style.opacity=b/100}}}function FMCToggleDisplay(a){if(a.style.display=="none"){a.style.display=""}else{a.style.display="none"}}function FMCGetContainingIFrame(e){var a=e.parent.document.getElementsByTagName("iframe");for(var c=0,d=a.length;c0)?" ":"")+a)}}return d}function FMCUnhide(o,k){for(var d=k.parentNode;d.nodeName!="BODY";d=d.parentNode){if(d.style.display=="none"){var c=FMCContainsClassRoot(d.className,"MCExpandingBody","MCDropDownBody","MCTextPopupBody");if(c=="MCExpandingBody"){o.FMCExpand(d.parentNode.getElementsByTagName("a")[0])}else{if(c=="MCDropDownBody"){var e=d.id.substring("MCDropDownBody".length+1,d.id.length);var b=d.parentNode.getElementsByTagName("a");for(var g=0;g1){return}if(a){if(a.style.MozOpacity!=null){a.style.MozOpacity="0.1"}}var h=k.document.createElement("span");var b=k.document.createElement("img");var e=FMCGetScrollLeft(k)+FMCGetClientWidth(k,false)/2;var g=3;f.appendChild(h);h.id="LoadingText";h.appendChild(k.document.createTextNode(d));h.style.fontFamily="Tahoma, Sans-Serif";h.style.fontSize="9px";h.style.fontWeight="bold";h.style.position="absolute";h.style.left=(e-(h.offsetWidth/2))+"px";b.id="LoadingImage";b.src=MCGlobals.RootFolder+MCGlobals.SkinTemplateFolder+"Images/Loading.gif";b.alt=c;b.style.width="70px";b.style.height="13px";b.style.position="absolute";b.style.left=(e-(70/2))+"px";var j=h.offsetHeight+g+parseInt(b.style.height);var i=(FMCGetScrollTop(k)+(FMCGetClientHeight(k,false)-j))/2;h.style.top=i+"px";b.style.top=i+h.offsetHeight+g+"px";f.appendChild(b)}function EndLoading(d,a){d.MCLoadingCount--;if(d.MCLoadingCount>0){return}var c=d.document.getElementById("LoadingText");var b=d.document.getElementById("LoadingImage");if(c!=null&&c.parentNode!=null){c.parentNode.removeChild(c)}if(b!=null&&b.parentNode!=null){b.parentNode.removeChild(b)}if(a){if(a.style.MozOpacity!=null){a.style.MozOpacity="1.0"}}}var MCEventType=new Object();MCEventType.OnLoad=0;MCEventType.OnInit=1;MCEventType.OnReady=2;function FMCRegisterCallback(t,c,b,a){function i(){if(MCGlobals.GetIsInitialized()){b(a)}else{setTimeout(i,REGISTER_CALLBACK_INTERVAL)}}function p(){function v(w){if(w){b(a)}else{setTimeout(p,REGISTER_CALLBACK_INTERVAL)}}FMCPostMessageRequest(MCGlobals.RootFrame,"gReady",null,function(w){var x=FMCStringToBool(w[0]);v(x)},function(){v(MCGlobals.RootFrame.gReady)})}function o(){function v(w){if(w){b(a)}else{setTimeout(o,REGISTER_CALLBACK_INTERVAL)}}FMCPostMessageRequest(MCGlobals.RootFrame,"gLoaded",null,function(w){var x=FMCStringToBool(w[0]);v(x)},function(){v(MCGlobals.RootFrame.gLoaded)})}function n(){function v(w){if(w){b(a)}else{setTimeout(n,REGISTER_CALLBACK_INTERVAL)}}FMCPostMessageRequest(MCGlobals.RootFrame,"gInit",null,function(w){var x=FMCStringToBool(w[0]);v(x)},function(){v(MCGlobals.RootFrame.gInit)})}function r(){function v(w){if(w){b(a)}else{setTimeout(r,REGISTER_CALLBACK_INTERVAL)}}FMCPostMessageRequest(MCGlobals.NavigationFrame.frames.toc,"gInit",null,function(w){var x=FMCStringToBool(w[0]);v(x)},function(){v(MCGlobals.NavigationFrame.frames.toc.gInit)})}function q(){function v(w){if(w){b(a)}else{setTimeout(q,REGISTER_CALLBACK_INTERVAL)}}FMCPostMessageRequest(MCGlobals.NavigationFrame.frames.search,"gInit",null,function(w){var x=FMCStringToBool(w[0]);v(x)},function(){v(MCGlobals.NavigationFrame.frames.search.gInit)})}function e(){function v(w){if(w){b(a)}else{setTimeout(e,REGISTER_CALLBACK_INTERVAL)}}FMCPostMessageRequest(MCGlobals.BodyCommentsFrame,"gLoaded",null,function(w){var x=FMCStringToBool(w[0]);v(x)},function(){v(MCGlobals.BodyCommentsFrame.gLoaded)})}function d(){function v(w){if(w){b(a)}else{setTimeout(d,REGISTER_CALLBACK_INTERVAL)}}FMCPostMessageRequest(MCGlobals.BodyCommentsFrame,"gInit",null,function(w){var x=FMCStringToBool(w[0]);v(x)},function(){v(MCGlobals.BodyCommentsFrame.gInit)})}function s(){function v(w){if(w){b(a)}else{setTimeout(s,REGISTER_CALLBACK_INTERVAL)}}FMCPostMessageRequest(MCGlobals.ToolbarFrame,"gInit",null,function(w){var x=FMCStringToBool(w[0]);v(x)},function(){v(MCGlobals.ToolbarFrame.gInit)})}function l(){function v(w){if(w){b(a)}else{setTimeout(l,REGISTER_CALLBACK_INTERVAL)}}FMCPostMessageRequest(MCGlobals.NavigationFrame,"gReady",null,function(w){var x=FMCStringToBool(w[0]);v(x)},function(){v(MCGlobals.NavigationFrame.gReady)})}function k(){function v(w){if(w){b(a)}else{setTimeout(k,REGISTER_CALLBACK_INTERVAL)}}FMCPostMessageRequest(MCGlobals.NavigationFrame,"gLoaded",null,function(w){var x=FMCStringToBool(w[0]);v(x)},function(){v(MCGlobals.NavigationFrame.gLoaded)})}function j(){function v(w){if(w){b(a)}else{setTimeout(j,REGISTER_CALLBACK_INTERVAL)}}FMCPostMessageRequest(MCGlobals.NavigationFrame,"gInit",null,function(w){var x=FMCStringToBool(w[0]);v(x)},function(){v(MCGlobals.NavigationFrame.gInit)})}function h(){function v(w){if(w){b(a)}else{setTimeout(h,REGISTER_CALLBACK_INTERVAL)}}FMCPostMessageRequest(MCGlobals.BodyFrame,"gReady",null,function(w){var x=FMCStringToBool(w[0]);v(x)},function(){v(MCGlobals.BodyFrame.gReady)})}function g(){function v(w){if(w){b(a)}else{setTimeout(g,REGISTER_CALLBACK_INTERVAL)}}FMCPostMessageRequest(MCGlobals.BodyFrame,"gLoaded",null,function(w){var x=FMCStringToBool(w[0]);v(x)},function(){v(MCGlobals.BodyFrame.gLoaded)})}function f(){function v(w){if(w){b(a)}else{setTimeout(f,REGISTER_CALLBACK_INTERVAL)}}FMCPostMessageRequest(MCGlobals.BodyFrame,"gInit",null,function(w){var x=FMCStringToBool(w[0]);v(x)},function(){v(MCGlobals.BodyFrame.gInit)})}function m(){function v(w){if(w){b(a)}else{setTimeout(m,REGISTER_CALLBACK_INTERVAL)}}FMCPostMessageRequest(MCGlobals.PersistenceFrame,"gInit",null,function(w){var x=FMCStringToBool(w[0]);v(x)},function(){v(MCGlobals.PersistenceFrame.gInit)})}var u=null;if(t=="TOC"){if(c==MCEventType.OnLoad){u=FMCCheckTOCLoaded}else{if(c==MCEventType.OnInit){u=r}else{if(c==MCEventType.OnReady){u=FMCCheckTOCReady}}}}else{if(t=="Toolbar"){if(c==MCEventType.OnLoad){u=FMCCheckToolbarLoaded}else{if(c==MCEventType.OnInit){u=s}else{if(c==MCEventType.OnReady){u=FMCCheckToolbarReady}}}}else{if(t=="BodyComments"){if(c==MCEventType.OnLoad){u=e}else{if(c==MCEventType.OnInit){u=d}else{if(c==MCEventType.OnReady){u=FMCCheckBodyCommentsReady}}}}else{if(t=="Persistence"){if(c==MCEventType.OnLoad){u=FMCCheckPersistenceLoaded}else{if(c==MCEventType.OnInit){u=m}else{if(c==MCEventType.OnReady){u=FMCCheckPersistenceReady}}}}else{if(t=="Search"){if(c==MCEventType.OnLoad){u=FMCCheckSearchLoaded}else{if(c==MCEventType.OnInit){u=q}else{if(c==MCEventType.OnReady){u=FMCCheckSearchReady}}}}else{if(t=="MCGlobals"){if(c==MCEventType.OnLoad){u=FMCCheckMCGlobalsLoaded}else{if(c==MCEventType.OnInit){u=i}else{if(c==MCEventType.OnReady){u=FMCCheckMCGlobalsReady}}}}else{if(t=="Navigation"){if(c==MCEventType.OnLoad){u=k}else{if(c==MCEventType.OnInit){u=j}else{if(c==MCEventType.OnReady){u=l}}}}else{if(t=="Body"){if(c==MCEventType.OnLoad){u=g}else{if(c==MCEventType.OnInit){u=f}else{if(c==MCEventType.OnReady){u=h}}}}else{if(t=="Root"){if(c==MCEventType.OnLoad){u=o}else{if(c==MCEventType.OnInit){u=n}else{if(c==MCEventType.OnReady){u=p}}}}}}}}}}}}window.setTimeout(u,REGISTER_CALLBACK_INTERVAL)}function FMCSortStringArray(a){a.sort(FMCCompareStrings)}function FMCCompareStrings(c,d){var e;if(c.toLowerCase()d.toLowerCase()){e=1}}}return e}function FMCCreateLocalStorageKey(a){return MCGlobals.RootFolder+"|"+a}function FMCIsNumeric(b){var a=/^[0-9]+$/;return a.test(b)}function FMCIsValidCookie(b){var a=/^[\w\u00A0 -.~:/?#\[\]@!$&'()*+,;=|%]*$/;return a.test(b)}function FMCSetCookie(g,h,d){if(!FMCIsValidCookie(g)){return}if(!FMCIsValidCookie(h)){return}if(window.localStorage){var f=FMCCreateLocalStorageKey(g);return window.localStorage.setItem(f,h)}if(window.name!="bridge"){var a=FMCIsDotNetHelp()?MCGlobals.BodyCommentsFrame:MCGlobals.NavigationFrame;if(window!=a){a.FMCSetCookie(g,h,d);return}}h=encodeURI(h);var e="";if(d&&FMCIsNumeric(d)){var c=new Date();c.setTime(c.getTime()+(1000*60*60*24*d));e="; expires="+c.toGMTString()}var b=g+"="+h+e+";";document.cookie=b}function FMCReadCookie(f){if(window.localStorage){var e=FMCCreateLocalStorageKey(f);return window.localStorage.getItem(e)}if(window.name!="bridge"){var b=FMCIsDotNetHelp()?MCGlobals.BodyCommentsFrame:MCGlobals.NavigationFrame;if(window!=b){return b.FMCReadCookie(f)}}var h=null;var g=f+"=";var c=document.cookie.split(";");for(var d=0;d";var c=CMCXmlParser.LoadXmlString(b);return c};CMCXmlParser.GetOuterXml=function(c){var b=null;if(window.ActiveXObject){b=c.xml}else{if(window.XMLSerializer){var a=new XMLSerializer();b=a.serializeToString(c)}}return b};CMCXmlParser.CallWebService=function(d,a,c,b){var f=new CMCXmlParser(b,c,null);var e=f.LoadRemote(d,a);return e};var CMCFlareStylesheet=new function(){var d=null;var b=false;var c=null;function a(){b=true;c=new CMCDictionary();var n=d.getElementsByTagName("ResourcesInfo");if(n.length>0){var m=n[0].getElementsByTagName("Resource");for(var f=0;f=33&&a<=35)||(a>=37&&a<=42)||(a>=44&&a<=47)||(a==58||a==59)||(a==63||a==64)||(a>=91&&a<=93)||(a==95)||(a==123)||(a==125)||(a==161)||(a==171)||(a==173)||(a==183)||(a==187)||(a==191)||(a==894)||(a==903)||(a>=1370&&a<=1375)||(a==1417||a==1418)||(a==1470)||(a==1472)||(a==1475)||(a==1478)||(a==1523||a==1524)||(a==1548||a==1549)||(a==1563)||(a==1566||a==1567)||(a>=1642&&a<=1645)||(a==1748)||(a>=1792&&a<=1805)||(a>=2039&&a<=2041)||(a==2404||a==2405)||(a==2416)||(a==3572)||(a>=3663&&a<=3675)||(a>=3844&&a<=3858)||(a>=3898&&a<=3901)||(a==3973)||(a==4048||a==4049)||(a>=4170&&a<=4175)||(a==4347)||(a>=4961&&a<=4968)||(a==5741||a==5742)||(a==5787||a==5788)||(a>=5867&&a<=5869)||(a==5941||a==5942)||(a>=6100&&a<=6102)||(a>=6104&&a<=6106)||(a>=6144&&a<=6154)||(a==6468||a==6469)||(a==6622||a==6623)||(a==6686||a==6687)||(a>=7002&&a<=7008)||(a>=8208&&a<=8231)||(a>=8240&&a<=8259)||(a>=8261&&a<=8273)||(a>=8275&&a<=8286)||(a==8317||a==8318)||(a==8333||a==8334)||(a==9001||a==9002)||(a>=10088&&a<=10101)||(a>=10181&&a<=10182)||(a>=10214&&a<=10219)||(a>=10627&&a<=10648)||(a>=10712&&a<=10715)||(a==10748||a==10749)||(a>=11513&&a<=11516)||(a==11518||a==11519)||(a>=11776&&a<=11799)||(a==11804||a==11805)||(a>=12289&&a<=12291)||(a>=12296&&a<=12305)||(a>=12308&&a<=12319)||(a==12336)||(a==12349)||(a==12448)||(a==12539)||(a>=43124&&a<=43127)||(a==64830||a==64831)||(a>=65040&&a<=65049)||(a>=65072&&a<=65106)||(a>=65108&&a<=65121)||(a==65123)||(a==65128)||(a==65130||a==65131)||(a>=65281&&a<=65283)||(a>=65285&&a<=65290)||(a>=65292&&a<=65295)||(a==65306||a==65307)||(a==65311||a==65312)||(a>=65339&&a<=65341)||(a==65343)||(a==65371)||(a==65373)||(a>=65375&&a<=65381)};String.Split=function(g,f){var d=g.length;var e=[];var a=-1,b=-1;for(var c=0;c<=d;c++){if(c==d||f(g.charAt(c))){if(a>-1){e.push(g.slice(a,b));a=-1}}else{if(a==-1){a=c}b=c+1}}return e};String.prototype.StartsWith=function(b,a){if(b==null){return false}if(this.length=0){a=this.substring(0,b)}else{a=this}a+=c;if(b>=0){a+=this.substring(b)}return a};String.prototype.Trim=function(){return this.TrimLeft().TrimRight()};String.prototype.TrimLeft=function(){var a=0;for(a=0;a=0&&this.charAt(a)==" ";a--){}return this.substring(0,a+1)};Array.prototype.Contains=function(b){for(var a=0,c=this.length;athis.length){throw"Index out of bounds."}this.splice(a,0,b)};Array.prototype.Remove=function(a){if(a<0||a>this.length){throw"Index out of bounds."}this.splice(a,1)};Array.prototype.RemoveValue=function(b){for(var a=this.length-1;a>=0;a--){if(this[a]==b){this.Remove(a)}}};if(!Array.prototype.indexOf){Array.prototype.indexOf=function(d){if(this==null){throw new TypeError()}var e=Object(this);var b=e.length>>>0;if(b===0){return -1}var c=0;if(arguments.length>1){c=Number(arguments[1]);if(c!=c){c=0}else{if(c!=0&&c!=Infinity&&c!=-Infinity){c=(c>0||-1)*Math.floor(Math.abs(c))}}}if(c>=b){return -1}var a=c>=0?c:Math.max(b-Math.abs(c),0);for(;a=0){b=this.mOverflows[a].Value}}else{b=this.mMap[c];if(typeof(b)=="undefined"){b=null}}return b};CMCDictionary.prototype.GetItemOverflowIndex=function(b){if(this.mIgnoreCase){b=b.toLowerCase()}var d=this.mOverflows;for(var a=0,c=d.length;a=0){this.mOverflows.splice(a,1);this.mLength--}}else{if(this.mMap[b]!="undefined"){delete (this.mMap[b]);this.mLength--}}};CMCDictionary.prototype.Add=function(b,c){if(this.mIgnoreCase){b=b.toLowerCase()}if(typeof(this.mMap[b])=="function"){var a=this.GetItem(b);if(a!=null){this.Remove(b)}this.mOverflows[this.mOverflows.length]={Key:b,Value:c}}else{this.mMap[b]=c}this.mLength++};CMCDictionary.prototype.AddUnique=function(a,c){if(this.mIgnoreCase){a=a.toLowerCase()}var b=this.GetItem(a);if(typeof(b)=="undefined"||!b){this.Add(a,c)}};function CMCUrl(b){var a=this;this.FullPath=null;this.Path=null;this.PlainPath=null;this.Name=null;this.Extension=null;this.NameWithExtension=null;this.Fragment=null;this.Query=null;this.IsAbsolute=false;this.QueryMap=new CMCDictionary(true);this.HashMap=new CMCDictionary(true);(function(){var d="";var m="";var e=b.indexOf("#");var n=b.indexOf("?");if(e!=-1){if(e>n){d=b.substring(e)}else{d=b.substring(e,n)}}if(n!=-1){if(n>e){m=b.substring(n)}else{m=b.substring(n,e)}}var l=Math.max(e,n);var k=b.substring(0,l==-1?b.length:l);l=k.lastIndexOf("/");var j=k.substring(0,l+1);var h=k.substring(l+1);l=h.lastIndexOf(".");var g=h.substring(0,l);var c=h.substring(l+1);var o="";l=b.indexOf(":");if(l>=0){o=b.substring(0,l)}a.FullPath=b;a.Path=j;a.PlainPath=k;a.Name=g;a.Extension=c;a.NameWithExtension=h;a.Scheme=o;a.IsAbsolute=!String.IsNullOrEmpty(o);a.Fragment=d;a.Query=m;var p=a.Query;if(!String.IsNullOrEmpty(p)){p=p.substring(1);p=p.replace(/\+/g," ");i(p,"&",a.QueryMap)}var f=a.Fragment;if(!String.IsNullOrEmpty(f)){f=f.substring(1);i(f,"|",a.HashMap)}function i(t,q,w){var y=t.split(q);for(var r=0,v=y.length;r=0){u=decodeURIComponent(x.substring(0,s));z=decodeURIComponent(x.substring(s+1))}else{u=x}w.Add(u,z)}}})()}CMCUrl.QueryMap=new CMCDictionary(true);CMCUrl.HashMap=new CMCDictionary(true);CMCUrl.StripInvalidCharacters=function(a){return a.replace(/(javascript:|data:|[<>])/gi,"")};(function(){var c=document.location.search;if(!String.IsNullOrEmpty(c)){c=c.substring(1);b(c,"&",CMCUrl.QueryMap)}var a=document.location.hash;if(!String.IsNullOrEmpty(a)){a=a.substring(1);b(a,"|",CMCUrl.HashMap)}function b(g,d,k){var m=g.split(d);for(var e=0,j=m.length;e=0){h=decodeURIComponent(l.substring(0,f));n=decodeURIComponent(l.substring(f+1))}else{h=l}k.Add(h,n)}}})();CMCUrl.prototype.AddFile=function(d){if(typeof(d)=="string"){d=new CMCUrl(d)}if(d.IsAbsolute){return d}var c=d.FullPath;if(c.charAt(0)=="/"){var b=document.location;var e=b.href.lastIndexOf(b.pathname);var f=b.href.substring(0,e);return new CMCUrl(f+c)}var a=this.FullPath;if(!a.EndsWith("/")){a=a+"/"}return new CMCUrl(a+c)};CMCUrl.prototype.CombinePath=function(f){if(typeof(f)=="string"){f=new CMCUrl(f)}if(f.IsAbsolute){throw new CMCException(-1,"Cannot combine two absolute paths.")}var e=f.FullPath;var b=this.FullPath;var k=f.FullPath.split("/");var a=this.FullPath;var h="";if(this.Scheme=="mk"){var g=a.indexOf("::");h=a.substring(0,g+"::".length);a=a.substring(g+"::".length)}for(var c=0,d=k.length;c1&&a.EndsWith("/")){a=a.substring(0,a.length-1)}if(j=="."){a+="/"}else{if(j==".."){a=a.substring(0,a.lastIndexOf("/")+1)}else{if(!a.EndsWith("/")){a+="/"}a+=j}}}a=h+a;return new CMCUrl(a)};CMCUrl.prototype.ToQuery=function(b){var a=this.PlainPath+"?"+b+this.Fragment;return new CMCUrl(a)};CMCUrl.prototype.AlternateEclipsePath=function(){var e=this.Query.substring(1,this.Query.length-1);var f=this.PlainPath;if(e.indexOf("topic=")!=-1){f=f.substring(0,f.indexOf("/help/")+"/help/".length);var d=e.split("&");for(var a=0;a=b){clearInterval(e);if(g!=null){FMCSetOpacity(g,c)}}}e=setInterval(a,10)}};var CMCDateTimeHelpers=new function(){this.GetDateFromUTCString=function(e){var b=Date.parse(e);var a=new Date(b);var d=Date.UTC(a.getFullYear(),a.getMonth(),a.getDate(),a.getHours(),a.getMinutes(),a.getSeconds(),a.getMilliseconds());var c=new Date(d);return c};this.GetDateFromJsonString=function(c){var b=/\/Date\(([0-9]+)\)\//i;var a=b.exec(c);if(a!=null){return new Date(parseInt(a[1]))}else{return new Date(c)}};this.ToUIString=function(a){var b=(a.getMonth()+1)+"/"+a.getDate()+"/"+a.getFullYear()+" "+a.toLocaleTimeString();return b};this.ToDurationString=function(c,j){if(c>j){var h=c;c=j;j=h}var i=j-c;var g=i/1000;var e=g/60;var d=e/60;var b=d/24;if(e<1){return"Just now"}if(d<1){return parseInt(e)+" minutes ago"}if(b<1){return parseInt(d)+" hours ago"}if(b<30){return parseInt(b)+" days ago"}var f=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];var a=f[c.getMonth()]+" "+c.getDate();if(c.getFullYear()!=j.getFullYear()){a+=", "+c.getFullYear()}return a}};function CMCException(b,a){this.Number=b;this.Message=a}var MCGlobals=new function(){var n=this;this.Initialized=false;this.GetHelpSystemComplete=false;this.StylesheetInitialized=false;this.RootFolder=null;this.RootFrameRootFolder=null;this.RootFrame=null;this.ToolbarFrame=null;this.BodyFrame=null;this.NavigationFrame=null;this.BodyCommentsFrame=null;this.PersistenceFrame=null;function g(){n.RootFrame=window;n.ToolbarFrame=frames.mctoolbar;n.BodyFrame=frames.body;n.NavigationFrame=frames.navigation;n.PersistenceFrame=null;n.Initialized=true}function k(){n.RootFrame=null;n.ToolbarFrame=frames.mctoolbar;n.BodyFrame=window;n.NavigationFrame=null;n.BodyCommentsFrame=frames.topiccomments;n.PersistenceFrame=frames.persistence;n.Initialized=true}function d(){n.RootFrame=parent;n.NavigationFrame=window;n.PersistenceFrame=null;FMCRegisterCallback("Root",MCEventType.OnReady,o,null);function o(p){n.ToolbarFrame=n.RootFrame.frames.mctoolbar;n.BodyFrame=n.RootFrame.frames.body;if(FMCIsWebHelpAIR()){FMCRegisterCallback("Root",MCEventType.OnLoad,q,null);function q(r){n.Initialized=true}}else{n.Initialized=true}}}function f(){n.RootFrame=parent.parent;n.NavigationFrame=parent;n.PersistenceFrame=null;FMCRegisterCallback("Root",MCEventType.OnReady,o,null);function o(p){n.ToolbarFrame=n.RootFrame.frames.mctoolbar;n.BodyFrame=n.RootFrame.frames.body;if(window.name=="search"&&FMCIsWebHelpAIR()){FMCRegisterCallback("Navigation",MCEventType.OnLoad,q,null);function q(r){n.Initialized=true}}else{n.Initialized=true}}}function b(){var o=null;if(parent.parent!=parent){o=parent.parent}n.RootFrame=o;n.NavigationFrame=parent.parent.frames.navigation;n.PersistenceFrame=null;n.ToolbarFrame=parent.parent.frames.mctoolbar;n.BodyFrame=parent;n.BodyCommentsFrame=window;n.Initialized=true}function a(){n.RootFrame=null;n.ToolbarFrame=null;n.BodyFrame=parent;n.NavigationFrame=null;n.BodyCommentsFrame=window;n.PersistenceFrame=null;n.Initialized=true}function i(){n.RootFrame=parent;n.ToolbarFrame=window;n.PersistenceFrame=null;FMCRegisterCallback("Root",MCEventType.OnReady,o,null);function o(p){n.BodyFrame=n.RootFrame.frames.body;n.NavigationFrame=n.RootFrame.frames.navigation;n.Initialized=true}}function j(){var o=window;while(true){if(o.parent==o){n.RootFrame=o;break}o=o.parent}n.PersistenceFrame=null;n.BodyFrame=parent;FMCRegisterCallback("Root",MCEventType.OnReady,p,null);function p(q){n.ToolbarFrame=n.RootFrame.frames.mctoolbar;n.NavigationFrame=n.RootFrame.frames.navigation;n.Initialized=true}}function h(){n.RootFrame=null;n.ToolbarFrame=window;n.BodyFrame=parent;n.NavigationFrame=null;FMCRegisterCallback("Body",MCEventType.OnReady,o,null);function o(p){n.BodyCommentsFrame=n.BodyFrame.frames.topiccomments;n.PersistenceFrame=n.BodyFrame.frames.persistence;n.Initialized=true}}function m(){var p=null;if(parent!=window){p=parent}n.RootFrame=p;n.BodyFrame=window;n.PersistenceFrame=null;if(n.RootFrame==null){n.Initialized=true}else{function o(q){n.ToolbarFrame=n.RootFrame.frames.mctoolbar;n.NavigationFrame=n.RootFrame.frames.navigation;if(FMCIsWebHelpAIR()){FMCRegisterCallback("Root",MCEventType.OnLoad,r,null);function r(s){n.Initialized=true}}else{n.Initialized=true}}FMCRegisterCallback("Root",MCEventType.OnReady,o,null)}}function l(){n.RootFrame=null;n.ToolbarFrame=null;n.BodyFrame=window;n.NavigationFrame=null;n.PersistenceFrame=null;n.Initialized=true}function c(){n.RootFrame=null;n.ToolbarFrame=null;n.BodyFrame=null;n.NavigationFrame=null;n.BodyCommentsFrame=null;n.PersistenceFrame=null;n.Initialized=true}function e(){n.RootFrame=null;n.BodyFrame=parent;n.NavigationFrame=null;FMCRegisterCallback("Body",MCEventType.OnReady,o,null);function o(p){n.ToolbarFrame=n.BodyFrame.frames.mctoolbar;n.BodyCommentsFrame=n.BodyFrame.frames.topiccomments;n.PersistenceFrame=n.BodyFrame.frames.persistence;n.Initialized=true}}this.GetIsInitialized=function(){return this.Initialized&&this.GetHelpSystemComplete&&this.StylesheetInitialized};this.Init=function(){function v(A){function C(D){n.RootFrameSkinFolder=D;n.GetHelpSystemComplete=true;CMCFlareStylesheet.Init(w)}var B=A;n.SkinFolder=B.SkinFolder;n.SkinTemplateFolder=B.SkinTemplateFolder;n.DefaultStartTopic=B.DefaultStartTopic;n.InPreviewMode=B.InPreviewMode;if(FMCIsWebHelp()){FMCPostMessageRequest(n.RootFrame,"get-skin-folder",null,function(D){var E=D[0];C(E)},function(){C(MCGlobals.RootFrame.gSkinFolder)})}else{C(B.SkinFolder)}}function w(){n.StylesheetInitialized=true}function x(G){function B(H){n.RootFolder=H;n.RootFrameRootFolder=FMCEscapeHref(H);FMCLoadHelpSystem(v)}var E=new CMCUrl(G).ToFolder();n.RootFrameRootFolder=FMCEscapeHref(E.FullPath);var A=new CMCUrl(document.location.href);var F=A.ToFolder().ToRelative(E);if(F.FullPath.StartsWith("Subsystems",false)){while(F.FullPath.StartsWith("Subsystems",false)){E=E.AddFile("Subsystems/");F=A.ToFolder().ToRelative(E);var C=F.FullPath.substring(0,F.FullPath.indexOf("/")+1);E=E.AddFile(C);F=A.ToFolder().ToRelative(E)}var D=E.FullPath;D=D.replace(/\\/g,"/");D=D.replace(/%20/g," ");D=D.replace(/;/g,"%3B");n.RootFolder=D}else{if(F.FullPath.StartsWith("AutoMerge",false)){while(F.FullPath.StartsWith("AutoMerge",false)){E=E.AddFile("AutoMerge/");F=A.ToFolder().ToRelative(E);var C=F.FullPath.substring(0,F.FullPath.indexOf("/")+1);E=E.AddFile(C);F=A.ToFolder().ToRelative(E)}var D=E.FullPath;D=D.replace(/\\/g,"/");D=D.replace(/%20/g," ");D=D.replace(/;/g,"%3B");n.RootFolder=D}else{FMCPostMessageRequest(n.RootFrame,"get-root-folder",null,function(H){var I=H[0];B(I)},function(){B(FMCGetRootFolder(n.RootFrame.document.location))});return}}FMCLoadHelpSystem(v)}var t=FMCGetAttributeBool(document.documentElement,"MadCap:InPreviewMode",false);if(t){this.InPreviewMode=true;this.SkinFolder="Skin/";this.RootFrameSkinFolder="Skin/";this.SkinTemplateFolder="SkinTemplate/";CMCFlareStylesheet.Init(w);n.Initialized=true;n.GetHelpSystemComplete=true;return}if(window.name=="bridge"){n.Initialized=true;n.GetHelpSystemComplete=true;n.StylesheetInitialized=true;return}else{if(gRuntimeFileType=="Default"||(gRuntimeFileType=="Topic"&&FMCIsHtmlHelp())){n.ToolbarFrame=frames.mctoolbar;if(frames.body!=null){g()}else{k()}}else{if(window.name=="navigation"){d()}else{if(window.name.StartsWith("mctoolbar")){n.ToolbarFrame=window;if(FMCIsWebHelp()){if(window.name=="mctoolbar"){i()}else{j()}}else{h()}}else{if(FMCIsTopicPopup(window)){var p=window;while(true){if(p.frames.navigation!=null){n.RootFrame=p;break}if(p.parent==p){break}p=p.parent}n.Initialized=true}else{if(window.name=="body"||gRuntimeFileType=="Topic"){if(FMCIsWebHelp()||FMCIsEclipseHelp()){m()}else{if(FMCIsDotNetHelp()){l()}else{if(FMCIsHtmlHelp()){k()}}}}else{if(window.name=="topiccomments"){if(FMCIsHtmlHelp()){e()}else{if(FMCIsWebHelp()||FMCIsEclipseHelp()){b()}else{if(FMCIsDotNetHelp()){a()}}}}else{if(window.name=="glossary"&&FMCIsDotNetHelp()){c()}else{if(window.name=="toc"||window.name=="index"||window.name=="search"||window.name=="glossary"||window.name=="favorites"||window.name=="browsesequences"){if(FMCIsWebHelp()){f()}else{e()}}else{if(FMCIsDotNetHelp()){n.Initialized=true}else{n.Initialized=true;n.GetHelpSystemComplete=true;n.StylesheetInitialized=true;return}}}}}}}}}}if(FMCIsWebHelp()||FMCIsEclipseHelp()){if(n.RootFrame==null){n.GetHelpSystemComplete=true;n.StylesheetInitialized=true;return}FMCPostMessageRequest(n.RootFrame,"url",null,function(A){var B=A[0];x(B)},function(){x(n.RootFrame.document.location.href)});return}else{if(FMCIsHtmlHelp()){var u="";var s=document.location.href;var q=s.lastIndexOf("::");if(q>=0){var r=s.indexOf("::");if(r>=0&&r0){d+=gDataSeparator}d+=c[e]}}j.postMessage("request"+gMessageSeparator+g+gMessageSeparator+d+gMessageSeparator+gMessageID,"*");gMessageID++}else{if(h!=null){h()}}}function FMCPostMessageResponse(g,e,a,f){var b="";if(a!=null){for(var c=0,d=a.length;c0){b+=gDataSeparator}b+=a[c]}}g.postMessage("response"+gMessageSeparator+e+gMessageSeparator+b+gMessageSeparator+f,"*");gMessageID++}function OnMessage(b){var r=b.data.split(gMessageSeparator);var p=r[0];var m=r[1];var n=r[2];var o=r[3];var a=null;if(!String.IsNullOrEmpty(n)){a=n.split(gDataSeparator);for(var h=0,l=a.length;h0?u:null,o)}}else{if(p=="response"){if(gMessageInfos[o]!=null){gMessageInfos[o](a)}}}}if(window.postMessage!=null){if(window.addEventListener){window.addEventListener("message",OnMessage,false)}else{if(window.attachEvent){window.attachEvent("onmessage",OnMessage)}}};/* * Copyright MadCap Software * http://www.madcapsoftware.com/ * Unlicensed use is strictly prohibited * * v16.2.7661.33927 */ function CMCDialog(a){this.mRootEl=null;this.mIndex=-1;this.mOK=false;this.mOnCloseFunc=null;this.mOnCloseArgs=null;this.mWindow=a;this.StyleClass="Dialog";this.WrapperClass=null;this.ShowTitle=true}CMCDialog.prototype.Run=function(d,c){FMCInsertOpacitySheet(this.mWindow,"Gray");CMCDialog.Dialogs.push(this);this.mIndex=CMCDialog.Dialogs.length-1;if(d){this.mOnCloseFunc=d;this.mOnCloseArgs=c}var h=this.mWindow.document.createElement("div");this.RootEl=h;h.setAttribute("MadCap:dialogIndex",this.mIndex);h.id="MCDialog_"+this.mIndex;h.className="MCDialogWrapper"+(this.WrapperClass!=null?" "+this.WrapperClass:"");h.style.display="none";if(FMCIsQuirksMode(this.mWindow)){h.style.position="absolute"}var b=this.mWindow.document.createElement("div");b.className="MCDialog";b.innerHTML=this.InnerHtml;h.appendChild(b);if(this.ShowTitle){var g=this.mWindow.document.createElement("div");g.id="MCDialogTitle";g.appendChild(this.mWindow.document.createTextNode(""));b.insertBefore(g,b.firstChild);b.insertBefore(this.mWindow.document.createElement("br"),g.nextSibling)}this.mWindow.document.body.appendChild(h);var f=document.getElementById("MCDialogSubmit");if(f){f.onclick=CMCDialog.OK}var a=document.getElementById("MCDialogCancel");if(a){a.onclick=CMCDialog.Cancel}var e=this.mWindow.document.createElement("div");e.id="MCDialog_DropShadow";e.className="MCDialogShadow";h.appendChild(e);this.Create(function(){this.LoadStyles();h.style.display="";e.style.display="";this.OnInitializing();var k=b.offsetHeight;if(!FMCIsQuirksMode(this.mWindow)||!this.mWindow.document.body.currentStyle){var j=parseInt(FMCGetComputedStyle(b,"borderTopWidth"));if(j){k-=j}var i=parseInt(FMCGetComputedStyle(b,"borderBottomWidth"));if(i){k-=i}var m=parseInt(FMCGetComputedStyle(b,"paddingTop"));if(m){k-=m}var l=parseInt(FMCGetComputedStyle(b,"paddingBottom"));if(l){k-=l}}e.style.height=k+"px";h.style.left=((FMCGetClientWidth(this.mWindow,false)/2)-200)+"px";h.style.top=((FMCGetClientHeight(this.mWindow,false)/2)-200)+"px";var n=CMCFlareStylesheet.LookupValue("Dialog",this.StyleClass,"ShadowOpacity",this.ShadowOpacity);MCFader.FadeIn(b,0,100,e,0,n,false)})};CMCDialog.prototype.Create=function(a){a.call(this)};CMCDialog.prototype.OnInitializing=function(){};CMCDialog.prototype.LoadStyles=function(){var p=this.mWindow.document.getElementById("MCDialogTitle");if(p){p.firstChild.nodeValue=CMCFlareStylesheet.LookupValue("Dialog",this.StyleClass,"TitleLabel",this.TitleLabel);p.style.fontFamily=CMCFlareStylesheet.LookupValue("Dialog",this.StyleClass,"TitleFontFamily",this.TitleFontFamily);p.style.fontSize=CMCFlareStylesheet.LookupValue("Dialog",this.StyleClass,"TitleFontSize",this.TitleFontSize);p.style.fontWeight=CMCFlareStylesheet.LookupValue("Dialog",this.StyleClass,"TitleFontWeight",this.TitleFontWeight);p.style.fontStyle=CMCFlareStylesheet.LookupValue("Dialog",this.StyleClass,"TitleFontStyle",this.TitleFontStyle);p.style.fontVariant=CMCFlareStylesheet.LookupValue("Dialog",this.StyleClass,"TitleFontVariant",this.TitleFontVariant);p.style.color=CMCFlareStylesheet.LookupValue("Dialog",this.StyleClass,"TitleColor",this.TitleColor)}var o=this.mWindow.document.getElementById("MCDialogSubmit");if(o){var k=CMCFlareStylesheet.LookupValue("Dialog",this.StyleClass,"SubmitButtonLabel",this.SubmitButtonLabel);if(k){o.value=k}}var i=this.mWindow.document.getElementById("MCDialogCancel");if(i){var k=CMCFlareStylesheet.LookupValue("Dialog",this.StyleClass,"CancelButtonLabel",this.CancelButtonLabel);if(k){i.value=k}}var j=document.getElementById("MCDialog_"+this.mIndex).firstChild;this.SetLabelStyles(j);j.style.backgroundColor=CMCFlareStylesheet.LookupValue("Dialog",this.StyleClass,"BackgroundColor",this.BackgroundColor);var c=CMCFlareStylesheet.LookupValue("Dialog",this.StyleClass,"BorderLeft",this.BorderLeft);var e=CMCFlareStylesheet.LookupValue("Dialog",this.StyleClass,"BorderRight",this.BorderRight);var g=CMCFlareStylesheet.LookupValue("Dialog",this.StyleClass,"BorderTop",this.BorderTop);var a=CMCFlareStylesheet.LookupValue("Dialog",this.StyleClass,"BorderBottom",this.BorderBottom);if(c){j.style.borderLeft=c}if(e){j.style.borderRight=e}if(g){j.style.borderTop=g}if(a){j.style.borderBottom=a}var n=this.mWindow.document.getElementById("MCDialog_DropShadow");var l=CMCFlareStylesheet.LookupValue("Dialog",this.StyleClass,"ShadowColor",this.ShadowColor);n.style.backgroundColor=l;var m=parseInt(CMCFlareStylesheet.LookupValue("Dialog",this.StyleClass,"ShadowDistance",this.ShadowDistance));if(m){n.style.top=m+"px";n.style.left=m+"px"}var d=FMCGetComputedStyle(j,"borderLeftWidth");if(d){n.style.borderLeftWidth=d}var f=FMCGetComputedStyle(j,"borderRightWidth");if(f){n.style.borderRightWidth=f}var h=FMCGetComputedStyle(j,"borderTopWidth");if(h){n.style.borderTopWidth=h}var b=FMCGetComputedStyle(j,"borderBottomWidth");if(b){n.style.borderBottomWidth=b}if(l){n.style.borderLeftColor=l;n.style.borderRightColor=l;n.style.borderTopColor=l;n.style.borderBottomColor=l}n.style.borderLeftStyle="solid";n.style.borderRightStyle="solid";n.style.borderTopStyle="solid";n.style.borderBottomStyle="solid"};CMCDialog.prototype.SetLabelStyles=function(b){if(b.className=="Label"){b.style.fontFamily=CMCFlareStylesheet.LookupValue("Dialog",this.StyleClass,"FontFamily",this.FontFamily);b.style.fontSize=CMCFlareStylesheet.LookupValue("Dialog",this.StyleClass,"FontSize",this.FontSize);b.style.fontWeight=CMCFlareStylesheet.LookupValue("Dialog",this.StyleClass,"FontWeight",this.FontWeight);b.style.fontStyle=CMCFlareStylesheet.LookupValue("Dialog",this.StyleClass,"FontStyle",this.FontStyle);b.style.color=CMCFlareStylesheet.LookupValue("Dialog",this.StyleClass,"Color",this.Color)}var a=b.childNodes;var d=b.childNodes.length;for(var c=0;cUser Name:Subject:Comment:
';CMCAddCommentDialog.prototype.OnInitializing=function(){this.base.OnInitializing.call(this);var a=this.mWindow.document.getElementById("MCComment");if(a.firstChild){a.removeChild(a.firstChild)}if(this.mAnonymousEnabled){var c=null;if(FMCIsHtmlHelp()){c=FMCLoadUserData("LiveHelpUsername")}else{c=FMCReadCookie("LiveHelpUsername")}if(c){this.mWindow.document.getElementById("MCUsername").value=c;this.mWindow.document.getElementById("MCSubject").focus()}else{this.mWindow.document.getElementById("MCUsername").focus()}}else{var b=this.mWindow.document.getElementById("MCUsername").parentNode.parentNode;b.parentNode.removeChild(b);this.mWindow.document.getElementById("MCSubject").focus()}};CMCAddCommentDialog.prototype.LoadStyles=function(){this.base.LoadStyles.call(this);var c=CMCFlareStylesheet.LookupValue("Dialog",this.StyleClass,"UserNameLabel",this.UserNameLabel);var b=CMCFlareStylesheet.LookupValue("Dialog",this.StyleClass,"SubjectLabel",this.SubjectLabel);var a=CMCFlareStylesheet.LookupValue("Dialog",this.StyleClass,"CommentLabel",this.CommentLabel);document.getElementById("MCUserNameLabel").firstChild.nodeValue=c;document.getElementById("MCSubjectLabel").firstChild.nodeValue=b;document.getElementById("MCCommentLabel").firstChild.nodeValue=a;this.CommentLengthExceeded=CMCFlareStylesheet.LookupValue("Dialog",this.StyleClass,"CommentLengthExceeded",this.CommentLengthExceeded)};CMCAddCommentDialog.prototype.OK=function(){var e=FMCGetMCAttribute(this.mWindow.document.documentElement,"MadCap:liveHelp");var f=null;if(FMCIsHtmlHelp()){f=FMCLoadUserData("LiveHelpUserGuid")}else{f=FMCReadCookie("LiveHelpUserGuid")}var g=null;if(this.mAnonymousEnabled){g=this.mWindow.document.getElementById("MCUsername").value;if(g==null||g.length==0){alert("Please enter a user name.");return false}if(FMCIsHtmlHelp()){FMCSaveUserData("LiveHelpUsername",g)}else{FMCSetCookie("LiveHelpUsername",g,36500)}}var d=this.mWindow.document.getElementById("MCSubject").value;var a=this.mWindow.document.getElementById("MCComment").value;if(d==null||d.length==0){alert("Please enter a subject.");return false}else{if(a==null||a.length==0){alert("Please enter a comment.");return false}}try{gServiceClient.AddComment(e,f,g,d,a,null)}catch(b){var c=this.CommentLengthExceeded.replace(/{n}/g,b.Data.ExceedAmount);alert(c);return false}return true};CMCAddCommentDialog.prototype.Cancel=function(){};/* * Copyright MadCap Software * http://www.madcapsoftware.com/ * Unlicensed use is strictly prohibited * * v16.2.7661.33927 */ function CMCRegisterUserDialog(c,a,b){CMCRegisterUserDialog.InCheckUserStatusMode=false;CMCDialog.call(this,c);this.mItemInfos=new Array();this.mDialogMode=a;this.mVersion=b;this.StyleClass="RegisterUser";this.FontFamily="Arial";this.FontSize="12px";this.FontWeight="normal";this.FontStyle="normal";this.Color="#000000";this.TitleLabel="Create Feedback Service Profile:";this.TitleFontFamily="Arial";this.TitleFontSize="14px";this.TitleFontWeight="bold";this.TitleFontStyle="normal";this.TitleFontVariant="small-caps";this.TitleColor="#000000";this.BackgroundColor="#ffffcc";this.SubmitButtonLabel="Submit";this.CancelButtonLabel="Cancel";this.ShadowColor="#000000";this.ShadowDistance=5;this.ShadowOpacity=100;this.BorderLeft="solid 2px #000000";this.BorderRight="solid 2px #000000";this.BorderTop="solid 2px #000000";this.BorderBottom="solid 2px #000000";this.RegistrationMessage="You must create a user profile to post comments to this help system. Please fill in the information below. An email will be sent to the address you provide. Please follow the instructions in the email to complete activation. Fields marked with an asterisk (*) are required.";this.EditProfileRegistrationMessage="Use this form to update your profile information. If you choose to update your email address, an email will be sent to the address you provide. Please follow the instructions in the email to complete activation.";this.RegistrationSubmit="Your information has been sent to MadCap Software. When the information has been processed, you will receive an email with a link to a verification page. Click this link, or copy and paste the link into your Web browser to complete the registration.";this.RegistrationSubmitNote="NOTE: Some service providers have email filtering software that may cause the notification email to be sent to your junk email folder. If you do not receive a notification email, please check this folder to see if it has been sent there.";this.MissingRequiredField="Please enter a value for: ";this.UpdateSuccess="Your profile was updated successfully!"}CMCRegisterUserDialog.prototype=new CMCDialog();CMCRegisterUserDialog.prototype.constructor=CMCRegisterUserDialog;CMCRegisterUserDialog.prototype.base=CMCDialog.prototype;CMCRegisterUserDialog.prototype.InnerHtml='
You must create a user profile to post comments to this help system. Please fill in the information below. An email will be sent to the address you provide. Please follow the instructions in the email to complete activation.Fields marked with an asterisk (*) are required.

E-mail Notifications
I want to receive an email when...
';CMCRegisterUserDialog.DialogMode={};CMCRegisterUserDialog.DialogMode.NewUserProfile=0;CMCRegisterUserDialog.DialogMode.EditUserProfile=1;CMCRegisterUserDialog.prototype.Create=function(a){this.base.Create.call(this,function(){CMCXmlParser.GetXmlDoc(FMCGetSkinFolderAbsolute()+"Skin.xml",true,function(y){var n=null;if(this.mVersion==1){n=new Array(7);n[0]="Username";n[1]="EmailAddress";n[2]="FirstName";n[3]="LastName";n[4]="Country";n[5]="PostalCode";n[6]="Gender";var f=this.mWindow.document.getElementById("MCEmailNotificationsGroup");f.style.display="none"}else{if(!FMCGetAttributeBool(y.documentElement,"DisplayNotificationOptions",true)){var f=this.mWindow.document.getElementById("MCEmailNotificationsGroup");f.style.display="none"}n=FMCGetAttributeStringList(y.documentElement,"FeedbackUserProfileItems","|");if(n==null){n=new Array()}if(!n.Contains("EmailAddress")){n.Insert("EmailAddress",0)}if(!n.Contains("Username")){n.Insert("Username",0)}var b=this.mWindow.document.getElementById("MCCommentReplyNotification");var m=new CMCItemInfo("CommentReplyNotification","CommentReplyNotification",b,false);this.mItemInfos[this.mItemInfos.length]=m;if(this.mVersion<4){var t=FMCLoadUserData("CommentReplyNotification");b.checked=t=="true"}b=this.mWindow.document.getElementById("MCCommentSameTopicNotification");m=new CMCItemInfo("CommentSameTopicNotification","CommentSameTopicNotification",b,false);this.mItemInfos[this.mItemInfos.length]=m;if(this.mVersion<4){var t=FMCLoadUserData("CommentSameTopicNotification");b.checked=t=="true"}b=this.mWindow.document.getElementById("MCCommentSameHelpSystemNotification");m=new CMCItemInfo("CommentSameHelpSystemNotification","CommentSameHelpSystemNotification",b,false);this.mItemInfos[this.mItemInfos.length]=m;if(this.mVersion<4){var t=FMCLoadUserData("CommentSameHelpSystemNotification");b.checked=t=="true"}}var v=this.RootEl.getElementsByTagName("tbody")[0];for(var j=0,p=n.length;j=4&&h!=null){gServiceClient.GetUserProfile(h,function(F,z){var H=CMCXmlParser.LoadXmlString(F);for(var C=0,E=H.documentElement.childNodes.length;CUser Name:Subject:Comment:Original Comment:
';CMCReplyCommentDialog.prototype.OnInitializing=function(){this.base.OnInitializing.call(this);var a=this.mWindow.document.getElementById("MCComment");if(a.firstChild){a.removeChild(a.firstChild)}if(this.mAnonymousEnabled){this.mWindow.document.getElementById("MCUsername").focus()}else{var b=this.mWindow.document.getElementById("MCUsername").parentNode.parentNode;b.parentNode.removeChild(b);this.mWindow.document.getElementById("MCSubject").focus()}this.mWindow.document.getElementById("MCOriginalComment").value=this.mComment};CMCReplyCommentDialog.prototype.LoadStyles=function(){this.base.LoadStyles.call(this);var d=CMCFlareStylesheet.LookupValue("Dialog",this.StyleClass,"UserNameLabel",this.UserNameLabel);var c=CMCFlareStylesheet.LookupValue("Dialog",this.StyleClass,"SubjectLabel",this.SubjectLabel);var a=CMCFlareStylesheet.LookupValue("Dialog",this.StyleClass,"CommentLabel",this.CommentLabel);var b=CMCFlareStylesheet.LookupValue("Dialog",this.StyleClass,"OriginalCommentLabel",this.OriginalCommentLabel);document.getElementById("MCUserNameLabel").firstChild.nodeValue=d;document.getElementById("MCSubjectLabel").firstChild.nodeValue=c;document.getElementById("MCCommentLabel").firstChild.nodeValue=a;document.getElementById("MCOriginalCommentLabel").firstChild.nodeValue=b;this.CommentLengthExceeded=CMCFlareStylesheet.LookupValue("Dialog",this.StyleClass,"CommentLengthExceeded",this.CommentLengthExceeded)};CMCReplyCommentDialog.prototype.OK=function(){var e=FMCGetMCAttribute(this.mWindow.document.documentElement,"MadCap:liveHelp");var f=null;if(FMCIsHtmlHelp()){f=FMCLoadUserData("LiveHelpUserGuid")}else{f=FMCReadCookie("LiveHelpUserGuid")}var g=null;if(this.mAnonymousEnabled){g=this.mWindow.document.getElementById("MCUsername").value;if(g==null||g.length==0){alert("Please enter a user name.");return false}}var d=this.mWindow.document.getElementById("MCSubject").value;var a=this.mWindow.document.getElementById("MCComment").value;if(d==null||d.length==0){alert("Please enter a subject.");return false}else{if(a==null||a.length==0){alert("Please enter a comment.");return false}}try{gServiceClient.AddComment(e,f,g,d,a,this.mParentCommentID)}catch(b){var c=this.CommentLengthExceeded.replace(/{n}/g,b.Data.ExceedAmount);alert(c);return false}return true};CMCReplyCommentDialog.prototype.Cancel=function(){};/* * Copyright MadCap Software * http://www.madcapsoftware.com/ * Unlicensed use is strictly prohibited * * v16.2.7661.33927 */ function FMCInit(){if(gInit){return}FMCCheckForBookmark();if(FMCIsWebHelp()&&window.name=="body"&&!FMCIsStandaloneTopic()){FMCPostMessageRequest(parent,"body-loaded",[document.location.href]);FMCRegisterCallback("TOC",MCEventType.OnInit,function(){var j=FMCGetTocPath();var i=FMCGetBodyHref();FMCPostMessageRequest(MCGlobals.NavigationFrame.frames.toc,"sync-toc",[j,i.FullPath],null,function(){if(MCGlobals.NavigationFrame.frames.toc.gSyncTOC){FMCSyncTOC(j,i)}},null)})}if(MCGlobals.ToolbarFrame!=null){FMCRegisterCallback("Toolbar",MCEventType.OnInit,function(){var i=FMCGetMCAttribute(document.documentElement,"MadCap:liveHelp");FMCPostMessageRequest(MCGlobals.ToolbarFrame,"topic-initialized",[i],null,function(){MCGlobals.ToolbarFrame.gTopicID=i;if(MCGlobals.ToolbarFrame.document.getElementById("RatingIcons")!=null){MCGlobals.ToolbarFrame.SetRating(0);MCGlobals.ToolbarFrame.UpdateRating()}MCGlobals.ToolbarFrame.OnBodyInitSetCurrentTopicIndex()})},null)}var g=null;if(!FMCIsWebHelp()||MCGlobals.RootFrame!=null){g=CMCFlareStylesheet.LookupValue("Frame","TopicToolbar","Height",null)}if(g!=null){var h=document.getElementsByTagName("iframe");for(var c=0,e=h.length;c0?A:null,u)}}}}if(gRuntimeFileType=="Topic"){if(FMCIsDotNetHelp()||FMCIsHtmlHelp()){window.name="body"}var gInit=false;gOnloadFuncs.push(FMCInit);if(window.postMessage!=null){if(window.addEventListener){window.addEventListener("message",Body_OnMessage,false)}else{if(window.attachEvent){window.attachEvent("onmessage",Body_OnMessage)}}}};/* * Copyright MadCap Software * http://www.madcapsoftware.com/ * Unlicensed use is strictly prohibited * * v16.2.7661.33927 */ function Default_WindowOnload(){var b=["body","navigation"];for(var c=0;c-1)?true:false;var c=(d.indexOf("Left")>-1)?true:false;var a=(d.indexOf("Bottom")>-1)?true:false;var e=(d.indexOf("Right")>-1)?true:false;var g=(d.indexOf("Width")>-1)?true:false;var b=(d.indexOf("Height")>-1)?true:false}if(c&&e){p=screen.availWidth-(l+m)}else{if(!c&&e){l=screen.availWidth-(p+m)}else{if(g){l=(screen.availWidth/2)-(p/2)}}}if(f&&a){k=screen.availHeight-(n+h)}else{if(!f&&a){n=screen.availHeight-(k+h)}else{if(b){n=(screen.availHeight/2)-(k/2)}}}if(window==top){try{window.resizeTo(p,k);window.moveTo(l,n)}catch(j){}}}function Default_LoadWebHelpOptions(g){var f=g.getElementsByTagName("WebHelpOptions")[0];if(f){if(f.getAttribute("NavigationPanePosition")){gNavPosition=f.getAttribute("NavigationPanePosition")}if(f.getAttribute("NavigationPaneWidth")){var d=f.getAttribute("NavigationPaneWidth");if(d!="0"){var b=FMCGetAttributeBool(f,"HideNavigationOnStartup",false);if(!b){if(gNavPosition=="Left"){document.getElementsByTagName("frameset")[1].cols=d+", *"}else{if(gNavPosition=="Right"){document.getElementsByTagName("frameset")[1].cols="*, "+d}else{if(gNavPosition=="Top"){var e=7;document.getElementsByTagName("frameset")[0].rows=d+", "+e+", *"}else{if(gNavPosition=="Bottom"){document.getElementsByTagName("frameset")[0].rows="*, "+d}}}}}}else{if(d=="0"){if(gNavPosition=="Left"){document.getElementsByTagName("frameset")[1].cols=d+", *"}else{if(gNavPosition=="Right"){document.getElementsByTagName("frameset")[1].cols="*, "+d}}}}}gHideNavStartup=FMCGetAttributeBool(f,"HideNavigationOnStartup",false);if(gHideNavStartup){Default_ShowHideNavigation(false)}}if(FMCIsSafari()){var a=document.getElementsByTagName("frame");for(var c=0;c=gNavigationWidth){clearInterval(gIntervalID);for(var a=0,b=gChangeNavigationStateCompletedListeners.length;a=gNavigationWidth){clearInterval(gIntervalID);for(var a=0,b=gChangeNavigationStateCompletedListeners.length;a-1){v=y.substring(w+"?returnUrl=".length)}}u[u.length]=v;h=true}else{if(m=="navigate-home"){var f=document.getElementsByTagName("frame");var a=null;for(var k=0,l=f.length;k-1){v=z.substring(i+"?returnUrl=".length)}else{v=z}s+="?returnUrl="+v}}gBodyFrameNode.setAttribute("data-src",s);gBodyFrameNode.setAttribute("src",gServiceClient.PulseServer+s)});h=true;q=false}else{if(m=="set-pulse-login-id"){if(gServiceClient){gServiceClient.PulseUserGuid=b[0]}h=true;q=false}else{if(m=="login-pulse"){FMCPostMessageRequest(MCGlobals.BodyFrame,"login-pulse",null,null,null,true);h=true;q=false}else{if(m=="login-complete"||m=="logout-complete"){if(MCGlobals.BodyFrame){FMCPostMessageRequest(MCGlobals.BodyFrame,"reload",null,null,null,true);FMCPostMessageRequest(MCGlobals.BodyFrame,"reload-pulse",null,null,null,true);FMCPostMessageRequest(MCGlobals.BodyFrame,"close-login-dialog",null,null,null,true)}if(MCGlobals.NavigationFrame){FMCPostMessageRequest(MCGlobals.NavigationFrame,"reload-community",null,null,null,true)}h=true;q=false}}}}}}}}}}}}}}}}if(h){if(q){FMCPostMessageResponse(c.source,m,u.length>0?u:null,o)}}}}if(gRuntimeFileType=="Default"){var gInit=false;var gRootFolder=FMCGetRootFolder(document.location);var gStartTopic=gDefaultStartTopic;var gPulsePath=null;var gCSHID=null;var gLoadingLabel="LOADING";var gLoadingAlternateText="Loading";var gOuterFrameset=null;var gInnerFrameset=null;var gBodyFrameNode=null;var gNavigationWidth;var gCurrNavigationWidth;var gNavPosition="Left";var gNavigationState="visible";var gNavigationChangeStep=-30;var gSlide=true;var gChanging=false;var gChangeNavigationStateStartedListeners=new Array();var gChangeNavigationStateCompletedListeners=new Array();var gChangingNavigationStateListeners=new Array();var gChangeNavigationStateStartedMessageListeners=new Array();var gChangeNavigationStateCompletedMessageListeners=new Array();var gChangingNavigationStateMessageListeners=new Array();var gHideNavStartup=false;if(FMCIsWebHelpAIR()){gOnloadFuncs.push(Default_WindowOnload)}window.onresize=function(){var a=frames.navigation.frames.index;if(a){FMCPostMessageRequest(a,"refresh-index",null,null,function(){a.RefreshIndex()})}};Default_Preload(CheckCSH);gReadyFuncs.push(function(){var c=document.getElementsByTagName("frameset");gOuterFrameset=c[0];gInnerFrameset=c[1];var b=document.getElementsByTagName("frame");for(var d=0;d")}catch(c){g=document.createElement("iframe");g.onload=FMCIFrameOnload}var l="MCPopup_"+(gPopupNumber++);m.setAttribute("MadCap:iframeName",l);g.name=l;g.id=l;g.className="MCPopupBody";g.setAttribute("title","Popup");g.setAttribute("scrolling","auto");g.setAttribute("frameBorder","0");var q=FMCGetAttribute(m,"MadCap:width");if(q!=null){g.setAttribute("MadCap:width",q)}var d=FMCGetAttribute(m,"MadCap:height");if(d!=null){g.setAttribute("MadCap:height",d)}document.body.appendChild(g);g.src=n}g.style.display="none";gJustPopped=true;g.MCClientX=b.clientX+FMCGetScrollLeft(window);g.MCClientY=b.clientY+FMCGetScrollTop(window);if(h){FMCShowIFrame(g)}}function FMCIFrameOnload(a){try{if(this.contentWindow.document.location.href=="about:blank"){return}}catch(b){}if(FMCGetAttributeBool(this,"MadCap:loaded",false)){return}FMCShowIFrame(this);this.setAttribute("MadCap:loaded","true")}function FMCIFrameOnloadInline(a){if(FMCGetAttributeBool(a,"MadCap:loaded",false)){return}FMCShowIFrame(a);a.setAttribute("MadCap:loaded","true")}function FMCShowIFrame(e){try{if(e.contentWindow.document.location.href=="about:blank"){return}}catch(c){}e.style.display="";FMCSetPopupSize(e);var a=e.MCClientX;var b=e.MCClientY;var d=FMCGetInBounds(e,a,b);e.style.left=d.X+"px";e.style.top=d.Y+"px";var f=document.createElement("span");f.className="MCPopupBodyBG";f.style.top=d.Y+5+"px";f.style.left=d.X+5+"px";f.style.width=parseInt(e.offsetWidth)+"px";f.style.height=parseInt(e.offsetHeight)+"px";e.parentNode.appendChild(f);gPopupObj=e;gPopupBGObj=f;FMCSetOpacity(gPopupObj,0);FMCSetOpacity(gPopupBGObj,0);gFadeID=setInterval(FMCFade,10)}function FMCGetInBounds(d,j,k){var b=FMCGetPosition(d.offsetParent);var c=b[0];var a=b[1];var i=FMCGetScrollTop(window);var h=FMCGetScrollLeft(window);var f=k;var e=j;if(ki+FMCGetClientHeight(window,false)){f=i+FMCGetClientHeight(window,false)-parseInt(d.style.height)-5}f-=c;if(e+parseInt(d.style.width)+5>h+FMCGetClientWidth(window,false)){e=h+FMCGetClientWidth(window,false)-parseInt(d.style.width)-5}e-=a;var g=document.documentElement.dir=="rtl";if(g){e-=20}return{X:e,Y:f}}function FMCSetPopupSize(k){var l=FMCGetAttribute(k,"MadCap:width");var j=FMCGetAttribute(k,"MadCap:height");if((l!="auto"&&!String.IsNullOrEmpty(l))||(j!="auto"&&!String.IsNullOrEmpty(j))){k.style.width=l;k.style.height=j;return}var b=FMCGetClientWidth(window,false);var a=FMCGetClientHeight(window,false);var m=10;var d=a/b;var h=frames[k.name];var f=b*0.618034;var e=0;if(FMCIsSafari()){k.style.width=f+"px";k.style.height=(f*d)+"px";return}try{var g=h.document;FMCGetScrollHeight(h.window)}catch(c){k.style.width=f+"px";k.style.height=(f*d)+"px";return}while(true){k.style.width=f-(e*m)+"px";k.style.height=(f-(e*m))*d+"px";if(FMCGetScrollHeight(h.window)>FMCGetClientHeight(h.window,false)||FMCGetScrollWidth(h.window)>FMCGetClientWidth(h.window,false)){k.style.width=f-((e-1)*m)+"px";k.style.height=(f-((e-1)*m))*d+"px";break}e++}}function FMCPopupThumbnail_Onclick(d,i){if(gPopupObj){return}if(!d){d=window.event}var b=FMCGetClientCenter(window);var f=FMCPopupThumbnailShow(i,b[0],b[1]);f.focus();var a=gDocumentOnclickFuncs.push(j)-1;var h=gDocumentOnkeydownFuncs.push(k)-1;var g=true;function k(l){var l=l||window.event;if(l.keyCode!=27&&l.keyCode!=13){return}c()}function j(){c()}function c(){if(g){g=false;return}FMCRemoveOpacitySheet(window);f.parentNode.removeChild(f);gDocumentOnclickFuncs.splice(a,1);gDocumentOnkeydownFuncs.splice(h,1)}}function FMCPopupThumbnail_Onmouseover(a,f){if(gPopupObj){return}if(!a){a=window.event}var c=FMCGetClientX(window,a);var d=FMCGetClientY(window,a);var h=c+FMCGetScrollLeft(window);var i=d+FMCGetScrollTop(window);var b=FMCPopupThumbnailShow(f,h,i);b.onmouseout=g;function g(){FMCRemoveOpacitySheet(window);b.parentNode.removeChild(b)}}function FMCPopupThumbnailShow(d,j,k){var g=FMCGetAttribute(d,"MadCap:popupSrc");var h=FMCGetAttribute(d,"MadCap:popupWidth");var f=FMCGetAttribute(d,"MadCap:popupHeight");var e=FMCGetAttribute(d,"MadCap:popupAlt")==null?"":FMCGetAttribute(d,"MadCap:popupAlt");var a=document.createElement("img");a.className="MCPopupThumbnail_Popup";a.setAttribute("src",g);a.setAttribute("alt",e);a.setAttribute("tabindex",0);a.style.width=h+"px";a.style.height=f+"px";var b=Math.max(5,j-(h/2));var i=Math.max(5,k-(f/2));document.body.appendChild(a);var c=FMCGetInBounds(a,b,i);a.style.left=c.X+"px";a.style.top=c.Y+"px";FMCInsertOpacitySheet(window,"#eeeeee");MCFader.FadeIn(a,0,100,null,0,0,false);return a}function GetHelpControlLinks(l,c,b){var j=new Array();var h=FMCInPreviewMode();if(!h){if(!FMCIsStandaloneTopic()){var k=FMCGetMasterHelpSystem();if(k.IsMerged()){if(FMCGetMCAttribute(l,"MadCap:indexKeywords")!=null){var g=FMCGetMCAttribute(l,"MadCap:indexKeywords").replace("\\;","%%%%%");if(g==""){c(j,b)}var f=MCGlobals.RootFrame.frames.navigation.frames.index;FMCPostMessageRequest(f,"get-keyword-links",[g],function(i){c(i,b)},function(){function i(){var s=g.split(";");for(var p=0;pf.offsetHeight-2||f.scrollWidth>f.offsetWidth-2){f.style.overflow="hidden";f.style.width=e-((d-1)*g)+"px";f.style.height=(e-((d-1)*g))*c+"px";break}d++}}function FMCToggler(e){if(gPopupObj){return}var c=e.getElementsByTagName("img");for(var a=0;ae){m.style.height=(e-5-2)+"px"}if(m.offsetWidth+5>f){m.style.width=(f-5-2)+"px"}var g=0;var h=0;var p=0;var q=0;if(o.MCKeydown){if(o.parentNode.style.position=="absolute"){topOffset=document.getElementById("searchField").offsetHeight;g=o.parentNode.offsetLeft-o.parentNode.parentNode.parentNode.scrollLeft;h=o.parentNode.offsetTop-o.parentNode.parentNode.parentNode.scrollTop+topOffset;p=o.parentNode.offsetLeft-o.parentNode.parentNode.parentNode.scrollLeft;q=o.parentNode.offsetTop-o.parentNode.parentNode.parentNode.scrollTop+topOffset}else{g=o.offsetLeft-FMCGetScrollLeft(window);h=o.offsetTop-FMCGetScrollTop(window);p=o.offsetLeft;q=o.offsetTop}}else{g=c.clientX;h=c.clientY;p=c.pageX;q=c.pageY}if(h+m.offsetHeight+5>FMCGetClientHeight(window,false)){m.style.top=FMCGetScrollTop(window)+e-m.offsetHeight-5+"px"}else{m.style.top=q+"px"}if(g+m.offsetWidth+5>FMCGetClientWidth(window,false)){m.style.left=FMCGetScrollLeft(window)+f-m.offsetWidth-5+"px"}else{m.style.left=p+"px"}if(o.MCKeydown){m.getElementsByTagName("a")[0].focus();o.MCKeydown=false}var n=document.createElement("span");n.className="MCKLinkBodyBG";n.style.top=parseInt(m.style.top)+5+"px";n.style.left=parseInt(m.style.left)+5+"px";n.style.width=m.offsetWidth+"px";n.style.height=m.offsetHeight+"px";m.parentNode.appendChild(n);j.MCHelpControl=m;j.MCHelpControlBG=n;MCFader.FadeIn(m,0,100,n,0,50,true)}function FMCOnHelpControlCloseImageKeyup(a){a=a||window.event;if(a.keyCode==13){this.MCHelpControl.parentNode.removeChild(this.MCHelpControl);this.MCHelpControlBG.parentNode.removeChild(this.MCHelpControlBG)}}function FMCKLinkBodyOnkeyup(a){if(!a){a=window.event}if(a.keyCode==27){FMCClickHandler(a);this.MCOwner.focus()}};/* * Copyright MadCap Software * http://www.madcapsoftware.com/ * Unlicensed use is strictly prohibited * * v16.2.7661.33927 */ function Favorites_WindowOnload(){if(MCGlobals.NavigationFrame!=null){Favorites_WaitForPaneActive()}else{Favorites_Init(null)}}function Favorites_WaitForPaneActive(){function a(b){if(b==window.name){Favorites_Init(null)}else{window.setTimeout(Favorites_WaitForPaneActive,WAIT_FOR_PANE_ACTIVE_INTERVAL)}}FMCPostMessageRequest(MCGlobals.NavigationFrame,"gActivePane",null,function(c){var b=c[0];a(b)},function(){a(MCGlobals.NavigationFrame.gActivePane)})}function Favorites_Init(d){if(gInit){if(d){d()}return}var c=CMCFlareStylesheet.LookupValue("Control","Messages","Loading","LOADING");var b=CMCFlareStylesheet.LookupValue("Control","Messages","LoadingAlternateText","Loading");StartLoading(window,document.body,c,b,null);window.setTimeout(a,0);function a(){Favorites_LoadSkin(function(){Favorites_LoadStyles();if(gDeleteSearchFavoritesIcon==null){gDeleteSearchFavoritesIcon=MCGlobals.RootFolder+MCGlobals.SkinTemplateFolder+"Images/Delete.gif"}if(gDeleteSearchFavoritesOverIcon==null){gDeleteSearchFavoritesOverIcon=MCGlobals.RootFolder+MCGlobals.SkinTemplateFolder+"Images/Delete_over.gif"}if(gDeleteSearchFavoritesSelectedIcon==null){gDeleteSearchFavoritesSelectedIcon=MCGlobals.RootFolder+MCGlobals.SkinTemplateFolder+"Images/Delete_selected.gif"}if(gDeleteTopicFavoritesIcon==null){gDeleteTopicFavoritesIcon=MCGlobals.RootFolder+MCGlobals.SkinTemplateFolder+"Images/Delete.gif"}if(gDeleteTopicFavoritesOverIcon==null){gDeleteTopicFavoritesOverIcon=MCGlobals.RootFolder+MCGlobals.SkinTemplateFolder+"Images/Delete_over.gif"}if(gDeleteTopicFavoritesSelectedIcon==null){gDeleteTopicFavoritesSelectedIcon=MCGlobals.RootFolder+MCGlobals.SkinTemplateFolder+"Images/Delete_selected.gif"}FMCLoadSearchFavorites();document.body.insertBefore(document.createElement("br"),document.getElementById("searchFavorites").nextSibling);FMCLoadTopicsFavorites();gInit=true;EndLoading(window,null);if(d){d()}})}}function Favorites_LoadSkin(a){CMCXmlParser.GetXmlDoc(MCGlobals.RootFolder+MCGlobals.SkinFolder+"Skin.xml",true,function(c){var d=c.documentElement;var b=d.getAttribute("Tabs");if(b.indexOf("Favorites")==-1){gFavoritesEnabled=false}a()})}function Favorites_LoadStyles(){var e=CMCFlareStylesheet.LookupValue("AccordionItem","Favorites","Label",null);if(e!=null){document.title=e}var a=CMCFlareStylesheet.LookupValue("Frame","AccordionFavorites","BackgroundColor",null);if(a!=null){document.body.style.backgroundColor=a}var j=CMCFlareStylesheet.LookupProperties("Control","EmptySearchFavoritesLabel");for(var c=0,f=j.length;c0){gTabIndex=1+((e.length-1)*2)+1}else{gTabIndex=2}var e=c.getElementsByTagName("tr");if(e[1].getElementsByTagName("td").length==1){return}for(var a=1;a0?n:null,j)}}}}if(gRuntimeFileType=="Favorites"){var gInit=false;var gSearchFavoritesLabel="Favorite Searches";var gSearchFavoritesLabelStyleMap=new CMCDictionary();var gEmptySearchFavoritesLabel="(there are no saved searches)";var gEmptySearchFavoritesTooltip="No search favorites";var gEmptySearchFavoritesStyleMap=new CMCDictionary();var gTopicFavoritesLabel="Favorite Topics";var gTopicFavoritesLabelStyleMap=new CMCDictionary();var gEmptyTopicFavoritesLabel="(there are no saved topics)";var gEmptyTopicFavoritesTooltip="No topic favorites";var gEmptyTopicFavoritesStyleMap=new CMCDictionary();var gDeleteSearchFavoritesTooltip="Delete selected favorite searches";var gDeleteSearchFavoritesIcon=null;var gDeleteSearchFavoritesOverIcon=null;var gDeleteSearchFavoritesSelectedIcon=null;var gDeleteSearchFavoritesIconWidth=23;var gDeleteSearchFavoritesIconHeight=22;var gDeleteTopicFavoritesTooltip="Delete selected favorite topics";var gDeleteTopicFavoritesIcon=null;var gDeleteTopicFavoritesOverIcon=null;var gDeleteTopicFavoritesSelectedIcon=null;var gDeleteTopicFavoritesIconWidth=23;var gDeleteTopicFavoritesIconHeight=22;gEmptySearchFavoritesStyleMap.Add("color","#999999");gEmptySearchFavoritesStyleMap.Add("fontSize","10px");gEmptyTopicFavoritesStyleMap.Add("color","#999999");gEmptyTopicFavoritesStyleMap.Add("fontSize","10px");gOnloadFuncs.push(Favorites_WindowOnload);if(FMCIsChromeLocal()){window.addEventListener("message",Favorites_OnMessage,false)}};/* * Copyright MadCap Software * http://www.madcapsoftware.com/ * Unlicensed use is strictly prohibited * * v16.2.7661.33927 */ function Glossary_Init(){if(gInit){return}var b=CMCFlareStylesheet.LookupValue("AccordionItem","Glossary","Label",null);if(b!=null){document.title=b}var a=CMCFlareStylesheet.LookupValue("Frame","AccordionGlossary","BackgroundColor",null);if(a!=null){document.body.style.backgroundColor=a}var c=FMCGetHelpSystem();c.LoadGlossary(LoadGlossaryOnComplete,null);gInit=true}function LoadGlossaryOnComplete(i,a){if(i==null){return}var e=MCGlobals.NavigationFrame.frames.glossary.document;var b=e.getElementsByTagName("body")[0];if(window.ActiveXObject){var c=i.getElementsByTagName("body")[0];if(c==null){return}b.innerHTML=c.xml}else{if(window.XMLSerializer){var d=e;var g=new XMLSerializer();var h=g.serializeToString(i);b.innerHTML=h}}var f=FMCGetHelpSystem();if(document.body.currentStyle&&f.IsMerged()){setTimeout(SetGlossaryIFrameWidth,50)}}function SetGlossaryIFrameWidth(){parent.document.getElementById("glossary").style.width="100%"}function DropDownTerm(b){var c=document.getElementsByTagName("a");for(var d=0;d=1;b--){var a=c.childNodes[b];var d=a.previousSibling;if(a.nodeType==3&&d.nodeType==3){d.nodeValue=d.nodeValue+a.nodeValue;c.removeChild(a)}}for(var b=0;b=0;d--){var f=k.childNodes[d];FMCApplyHighlight(q,f,o,b,a,l);if(f.nodeType!=3||f.parentNode.nodeName=="SCRIPT"){continue}var c=f;var p=c.nodeValue;for(var e=j.exec(p);e!=null;e=j.exec(p)){var g=e.index;for(var d=0;p.charAt(e.index+d).match(/\s/g)!=null&&de.document.documentElement.clientHeight){e.document.documentElement.scrollTop=gFirstHighlight.offsetTop;e.document.body.scrollTop=gFirstHighlight.offsetTop}}function FMCHighlightUrl(l){gColorIndex=0;gFirstHighlight=null;var k=l.document.location.search;if(String.IsNullOrEmpty(k)){return}k=decodeURIComponent(k);var f=k.indexOf("SearchType");var a=-1;var g=null;if(f>=0){a=k.indexOf("&",f);g=k.substring(1+f+"SearchType".length,a>=0?a:k.length)}f=k.indexOf("Highlight");if(f>=0){a=k.indexOf("&",f);var b=k.substring(1+f+"Highlight".length,a>=0?a:k.length);var h=b.split("||");for(var c=0;c=e&&dc){d();return}LoadChunk(a,e)}var b=gAlphaMap.GetItem(c);var a=FindChunk(b);LoadChunk(a,e)}function CMCIndexEntry(b,e){var d=FMCGetChildNodeByTagName(b,"Links",0).childNodes;var g=d.length;var f=0;this.Term=FMCGetAttribute(b,"Term");this.IndexLinks=new Array();this.Level=e;this.GeneratedReferenceType=FMCGetAttribute(b,"GeneratedReferenceType");for(var a=0;a1){b=GenerateKLink(b,f)}}}c.appendChild(b)}function IndexEntryOnmouseover(){this.style.color="#ff0000"}function IndexEntryOnmouseout(){var a=gStylesMap.GetItem("color");this.style.color=a?a:"#0055ff"}function IndexEntryOnclick(){var a=this.MCIndexEntry;if(a.GeneratedReferenceType!=null){var b=a.Term.split(",");SelectIndexEntry(b,function(c){var d=c;document.getElementById("CatapultIndex").parentNode.scrollTop=d*gEntryHeight;RefreshIndex(function(){var e=gIndexDivs[c];HighlightEntry(e)})})}else{HighlightEntry(this.parentNode)}}function SetLinkMap(e,c){var d=new CMCDictionary();for(var a=0;a0){g+="||"}var d=e[c];var f=d.Link;f=(f.charAt(0)=="/")?".."+f:f;g+=d.Title+"|"+f}b.href="javascript:void( 0 );";b.className="MCKLink";b.setAttribute("MadCap:topics",g);b.onclick=KLinkOnclick;b.onkeydown=KLinkOnkeydown;return b}function KLinkOnclick(a){HighlightEntry(this.parentNode);FMCLinkControl(a,this,gKLinkStylesMap);return false}function KLinkOnkeydown(){this.MCKeydown=true}function Index_Init(e){if(gInit){if(e){e()}return}try{document.getElementById("searchField").focus()}catch(a){}var d=CMCFlareStylesheet.LookupValue("Control","Messages","Loading","LOADING");var c=CMCFlareStylesheet.LookupValue("Control","Messages","LoadingAlternateText","Loading");StartLoading(window,document.body,d,c,null);window.setTimeout(b,0);function b(){Index_LoadStyles();function f(h,g){gXMLDoc=h;CreateIndex(gXMLDoc);RefreshIndex(function(){gInit=true;EndLoading(window,null);if(e){e()}})}FMCGetHelpSystem().GetIndex(f,null)}}function Index_LoadStyles(){var d=CMCFlareStylesheet.LookupValue("AccordionItem","Index","Label",null);if(d!=null){document.title=d}var a=CMCFlareStylesheet.LookupValue("Frame","AccordionIndex","BackgroundColor",null);if(a!=null){document.body.style.backgroundColor=a}var h=CMCFlareStylesheet.LookupProperties("IndexEntry",null);for(var c=0,e=h.length;cgIndexEntries[c].Level){continue}else{if(a.Levell){e=d;for(var j=l.substring(0,l.length-1);j!="";j=j.substring(0,j.length-1)){if(k.substring(0,j.length)==j){e=b}}break}else{d=b}}}}}}while(false);if(h+1gIndexEntries[e].Level){FindIndexEntry(m,h+1,f,function(i){if(i!=-1){e=i}g(e)});return}}g(e)}function Index_OnMessage(b){var o=b.data.split(gMessageSeparator);var l=o[0];var h=o[1];var j=o[2];var k=o[3];var a=null;if(!String.IsNullOrEmpty(j)){a=j.split(gDataSeparator);for(var d=0,g=a.length;d0?p:null,k)});c=true;n=false}else{if(h=="refresh-index"){RefreshIndex(function(){FMCPostMessageResponse(b.source,h,p.length>0?p:null,k)});c=true;n=false}else{if(h=="get-keyword-links"){var f=a[0];Index_Init(function(){var u=f.split(";");for(var r=0;r0?p:null,k)});c=true;n=false}}}if(c){if(n){FMCPostMessageResponse(b.source,h,p.length>0?p:null,k)}}}}if(gRuntimeFileType=="Index"){var gInit=false;var gIndent=16;var gIndexEntryCount=0;var gIndexEntries=new Array();var gIndexDivs=new Array();var gLinkMap=new CMCDictionary();var gXMLDoc=null;var gChunks=null;var gAlphaMap=new CMCDictionary();var gSelectedItem=null;var gStylesMap=new CMCDictionary();var gKLinkStylesMap=new CMCDictionary();var gEntryHeight=15;var gSelectionColor=null;var gSelectionBackgroundColor="#cccccc";var gSeeReferencePrefix="See";var gSeeAlsoReferencePrefix="See also";gOnloadFuncs.push(Index_WindowOnload);gReadyFuncs.push(function(){document.getElementById("searchField").value=""});if(FMCIsChromeLocal()){window.addEventListener("message",Index_OnMessage,false)}var gDivCached=null;var gACached=null};/* * Copyright MadCap Software * http://www.madcapsoftware.com/ * Unlicensed use is strictly prohibited * * v16.2.7661.33927 */ var gEmptyIcon=null;var gFullIcon=null;var gIconWidth=16;var gTopicRatingIconsInit=false;function TopicRatingIconsInit(){if(gTopicRatingIconsInit){return}var a=CMCFlareStylesheet.LookupValue("ToolbarItem","TopicRatings","EmptyIcon",null);if(a==null){gEmptyIcon=MCGlobals.RootFolder+MCGlobals.SkinTemplateFolder+"Images/Rating0.gif";gIconWidth=16}else{a=FMCStripCssUrl(a);a=decodeURIComponent(a);a=escape(a);gEmptyIcon=FMCGetSkinFolderAbsolute()+a}a=CMCFlareStylesheet.LookupValue("ToolbarItem","TopicRatings","FullIcon",null);if(a==null){gFullIcon=MCGlobals.RootFolder+MCGlobals.SkinTemplateFolder+"Images/RatingGold100.gif"}else{a=FMCStripCssUrl(a);a=decodeURIComponent(a);a=escape(a);gFullIcon=FMCGetSkinFolderAbsolute()+a}gTopicRatingIconsInit=true}function FMCRatingIconsCalculateRating(a,b){if(!a){a=window.event}var i=FMCGetMouseXRelativeTo(window,a,b);var d=b.getElementsByTagName("img");var g=d.length;var c=gIconWidth;var f=Math.ceil(i/c);f=Math.max(f,1);var h=f*100/g;return h}function FMCRatingIconsOnmousemove(a,b){TopicRatingIconsInit();if(!a){a=window.event}var c=FMCRatingIconsCalculateRating(a,b);FMCDrawRatingIcons(c,b)}function FMCClearRatingIcons(b,a){FMCDrawRatingIcons(b,a)}function FMCDrawRatingIcons(g,b){TopicRatingIconsInit();var c=b.getElementsByTagName("img");var f=c.length;var e=Math.ceil(g*f/100);for(var a=0;ax){var t=I.length-x;var s={ExceedAmount:t};var u=new CMCFeedbackException(-1,"URL limit exceeded.",s);throw u}}var E=2048;var F=I.indexOf("?");var D=I.substring(F+1).length;if(D>E){var t=D-E;var s={ExceedAmount:t};var u=new CMCFeedbackException(-1,"Query string limit exceeded.",s);throw u}G.id=H;G.setAttribute("type","text/javascript");G.setAttribute("src",I);v.appendChild(G);return H}}this.RemoveScriptTag=function(t){function s(){var u=document.getElementById(t);u.parentNode.removeChild(u)}window.setTimeout(s,10)};this.Init=function(s){if(l){s(this);return}if(s!=null){n.push(s)}if(m){return}m=true;p.GetVersion(function(){if(p.PulseEnabled){p.GetPulseServerActivated(function(t){p.PulseActive=t&&t.toLowerCase()==="true";b()})}else{b()}})};this.LogTopic=function(s){a("LogTopic","gServiceClient.LogTopicOnComplete",[["TopicID",s]])};this.LogTopicOnComplete=function(s){this.RemoveScriptTag(s)};this.LogTopic2=function(w,s,u,t,v){this.LogTopic2OnComplete=function(x){if(u!=null){if(v!=null){u.call(v,t)}else{u(t)}}this.RemoveScriptTag(x);this.LogTopic2OnComplete=null};a("LogTopic2","gServiceClient.LogTopic2OnComplete",[["TopicID",w],["CSHID",s]])};this.LogSearch=function(t,w,v,s,u){a("LogSearch","gServiceClient.LogSearchOnComplete",[["ProjectID",t],["UserGuid",w],["ResultCount",v],["Language",s],["Query",u]])};this.LogSearchOnComplete=function(s){this.RemoveScriptTag(s)};this.AddComment=function(v,w,x,u,s,t){a("AddComment","gServiceClient.AddCommentOnComplete",[["TopicID",v],["UserGuid",w],["Username",x],["Subject",u],["Comment",s],["ParentCommentID",t]])};this.AddCommentOnComplete=function(s){this.RemoveScriptTag(s)};this.GetAverageRating=function(u,t,s){i=t;h=s;a("GetAverageRating","gServiceClient.GetAverageRatingOnComplete",[["TopicID",u]])};this.GetAverageRatingOnComplete=function(u,s,t){if(i!=null){i(s,t,h);i=null;h=null}this.RemoveScriptTag(u)};this.SubmitRating=function(y,w,t,v,u){var x=a("SubmitRating","gServiceClient.SubmitRatingOnComplete",[["TopicID",y],["Rating",w],["Comment",t]]);var s={OnCompleteFunc:v,OnCompleteArgs:u};c.Add(x,s)};this.SubmitRatingOnComplete=function(v){var t=c.GetItem(v);var u=t.OnCompleteFunc;var s=t.OnCompleteArgs;if(u!=null){u(s);c.Remove(v)}this.RemoveScriptTag(v)};this.GetTopicComments=function(w,x,y,u,t){var v=a("GetTopicComments","gServiceClient.GetTopicCommentsOnComplete",[["TopicID",w],["UserGuid",x],["Username",y]]);var s={OnCompleteFunc:u,OnCompleteArgs:t};c.Add(v,s)};this.GetTopicCommentsOnComplete=function(w,v){var t=c.GetItem(w);var u=t.OnCompleteFunc;var s=t.OnCompleteArgs;if(u!=null){u(v,s);c.Remove(w)}this.RemoveScriptTag(w)};this.GetAnonymousEnabled=function(u,t,s){g=t;f=s;var v=p.FeedbackServer+"GetAnonymousEnabled?ProjectID="+encodeURIComponent(u);a("GetAnonymousEnabled","gServiceClient.GetAnonymousEnabledOnComplete",[["ProjectID",u]])};this.GetAnonymousEnabledOnComplete=function(t,s){if(g!=null){g(s,f);g=null;f=null}this.RemoveScriptTag(t)};this.StartActivateUser=function(J,D,C){r=D;q=C;var I=FMCGetChildNodeByAttribute(J.documentElement,"Name","Username");var H=FMCGetAttribute(I,"Value");var v=FMCGetChildNodeByAttribute(J.documentElement,"Name","EmailAddress");var u=FMCGetAttribute(v,"Value");var x=FMCGetChildNodeByAttribute(J.documentElement,"Name","FirstName");var w=FMCGetAttribute(x,"Value");var B=FMCGetChildNodeByAttribute(J.documentElement,"Name","LastName");var A=FMCGetAttribute(B,"Value");var t=FMCGetChildNodeByAttribute(J.documentElement,"Name","Country");var s=FMCGetAttribute(t,"Value");var F=FMCGetChildNodeByAttribute(J.documentElement,"Name","PostalCode");var E=FMCGetAttribute(F,"Value");var z=FMCGetChildNodeByAttribute(J.documentElement,"Name","Gender");var y=FMCGetAttribute(z,"Value");var G="";a("StartActivateUser","gServiceClient.StartActivateUserOnComplete",[["Username",H],["EmailAddress",u],["FirstName",w],["LastName",A],["Country",s],["Zip",E],["Gender",y],["UILanguageOrder",G]])};this.StartActivateUserOnComplete=function(t,s){if(r!=null){r(s,q);r=null;q=null}this.RemoveScriptTag(t)};this.StartActivateUser2=function(w,t,s,u){var v=CMCXmlParser.GetOuterXml(w);this.StartActivateUser2OnComplete=function(y,x){if(t!=null){if(u!=null){t.call(u,x,s)}else{t(x,s)}}this.RemoveScriptTag(y);this.StartActivateUser2OnComplete=null};a("StartActivateUser2","gServiceClient.StartActivateUser2OnComplete",[["Xml",v]])};this.UpdateUserProfile=function(s,x,u,t,v){var w=CMCXmlParser.GetOuterXml(x);this.UpdateUserProfileOnComplete=function(z,y){if(u!=null){if(v!=null){u.call(v,y,t)}else{u(y,t)}}this.RemoveScriptTag(z);this.UpdateUserProfileOnComplete=null};a("UpdateUserProfile","gServiceClient.UpdateUserProfileOnComplete",[["Guid",s],["Xml",w]])};this.GetUserProfile=function(s,u,t,v){this.GetUserProfileOnComplete=function(w,x){if(u!=null){if(v!=null){u.call(v,x,t)}else{u(x,t)}}this.RemoveScriptTag(w);this.GetUserProfileOnComplete=null};a("GetUserProfile","gServiceClient.GetUserProfileOnComplete",[["Guid",s]])};this.CheckUserStatus=function(u,t,s){e=t;d=s;a("CheckUserStatus","gServiceClient.CheckUserStatusOnComplete",[["PendingGuid",u]])};this.CheckUserStatusOnComplete=function(u,v){if(e!=null){var t=e;var s=d;e=null;d=null;t(v,s)}this.RemoveScriptTag(u)};this.GetSynonymsFile=function(u,v,t,s){k=t;j=s;a("GetSynonymsFile","gServiceClient.GetSynonymsFileOnComplete",[["ProjectID",u],["UpdatedSince",v]])};this.GetSynonymsFileOnComplete=function(s,t){if(k!=null){k(t,j);k=null;j=null}this.RemoveScriptTag(s)};this.GetVersion=function(t,s,u){this.GetVersionOnComplete=function(v,w){if(w==null){p.Version=1}else{if(p.Version==-1&&w>4){p.FeedbackServer=FMCGetFeedbackServerUrl("Feedback/");p.PulseServer=p.Server;p.PulseEnabled=true}p.Version=w}if(t!=null){if(u!=null){t.call(u,p.Version,s)}else{t(p.Version,s)}}if(v!=null){this.RemoveScriptTag(v)}this.GetVersionOnComplete=null};if(p.Version==-1){a("GetVersion","gServiceClient.GetVersionOnComplete")}else{this.GetVersionOnComplete(null,p.Version)}};this.GetPulseServerActivated=function(t,s,u){this.GetPulseServerActivatedOnComplete=function(w,v){if(t!=null){if(u!=null){t.call(u,v,s)}else{t(v,s)}}if(w!=null){this.RemoveScriptTag(w)}this.GetPulseServerActivatedOnComplete=null};a("GetPulseServerActivated","gServiceClient.GetPulseServerActivatedOnComplete")};this.GetPulseStreamID=function(v,t,s,u){this.GetPulseStreamIDOnComplete=function(w,x){if(t!=null){if(u!=null){t.call(u,x,s)}else{t(x,s)}}if(w!=null){this.RemoveScriptTag(w)}this.GetPulseStreamIDOnComplete=null};a("GetPulseStreamID","gServiceClient.GetPulseStreamIDOnComplete",[["TopicID",v]])};this.GetTopicPathByStreamID=function(u,t,s,v){this.GetTopicPathByStreamIDOnComplete=function(w,x){if(t!=null){if(v!=null){t.call(v,x,s)}else{t(x,s)}}if(w!=null){this.RemoveScriptTag(w)}this.GetTopicPathByStreamIDOnComplete=null};a("GetTopicPathByStreamID","gServiceClient.GetTopicPathByStreamIDOnComplete",[["StreamID",u]])};this.GetTopicPathByPageID=function(u,t,s,v){this.GetTopicPathByPageIDOnComplete=function(w,x){if(t!=null){if(v!=null){t.call(v,x,s)}else{t(x,s)}}if(w!=null){this.RemoveScriptTag(w)}this.GetTopicPathByPageIDOnComplete=null};a("GetTopicPathByPageID","gServiceClient.GetTopicPathByPageIDOnComplete",[["PageID",u]])};this.GetPulseSearchResults=function(w,x,v,u,t,s,y){this.GetPulseSearchResultsOnComplete=function(z,A){if(t!=null){if(y!=null){t.call(y,A,s)}else{t(A,s)}}if(z!=null){this.RemoveScriptTag(z)}this.GetPulseSearchResultsOnComplete=null};a("GetPulseSearchResults","gServiceClient.GetPulseSearchResultsOnComplete",[["ProjectID",w],["SearchQuery",x],["PageSize",v],["PageIndex",u]])}};function CMCFeedbackException(c,b,a){CMCException.call(this,c,b);this.Data=a}CMCFeedbackException.prototype=new CMCException();CMCFeedbackException.prototype.constructor=CMCFeedbackException;CMCFeedbackException.prototype.base=CMCException.prototype;function LiveHelp_OnMessage(b){var n=b.data.split(gMessageSeparator);var k=n[0];var g=n[1];var h=n[2];var j=n[3];var a=null;if(!String.IsNullOrEmpty(h)){a=h.split(gDataSeparator);for(var d=0,f=a.length;d0?o:null,j)},null,null);c=true;l=false}else{if(g=="get-topic-path-by-page-id"){var m=a[0];gServiceClient.GetTopicPathByPageID(m,function(q){o[o.length]=q;var i;try{i=b.source}catch(e){i=window}FMCPostMessageResponse(i,g,o.length>0?o:null,j)},null,null);c=true;l=false}}if(c){if(l){FMCPostMessageResponse(b.source,g,o.length>0?o:null,j)}}}}if(window.postMessage!=null){if(window.addEventListener){window.addEventListener("message",LiveHelp_OnMessage,false)}else{if(window.attachEvent){window.attachEvent("onmessage",LiveHelp_OnMessage)}}};/* * Copyright MadCap Software * http://www.madcapsoftware.com/ * Unlicensed use is strictly prohibited * * v16.2.7661.33927 */ function FMCOpenCommentDialog(c,a,b){CMCXmlParser.GetXmlDoc(MCGlobals.RootFolder+"Data/HelpSystem.xml",true,function(e){var d=e.documentElement.getAttribute("LiveHelpOutputId");gServiceClient.GetAnonymousEnabled(d,FMCGetAnonymousEnabledOnComplete,[c,a,b])},null)}function FMCGetAnonymousEnabledOnComplete(b,c){var e=c[0];var a=c[1];var d=c[2];if(FMCIsHtmlHelp()){c.push(b);FMCRegisterCallback("Persistence",MCEventType.OnInit,function(h){var k=h[0];var i=h[1];var j=h[2];var g=h[3];if(g){FMCRunCommentDialog(g,k,i,j)}else{var l=FMCLoadUserData("LiveHelpUserGuid");if(l==null){gServiceClient.GetVersion(function(n){var m=new CMCRegisterUserDialog(window,CMCRegisterUserDialog.DialogMode.NewUserProfile,n);m.Run(FMCRegisterUserDialogOnClose,h)},null,null)}else{FMCRunCommentDialog(g,k,i,j)}}},c);return}if(!b){var f=FMCReadCookie("LiveHelpUserGuid");if(f==null){gServiceClient.GetVersion(function(h){var g=new CMCRegisterUserDialog(window,CMCRegisterUserDialog.DialogMode.NewUserProfile,h);g.Run(FMCRegisterUserDialogOnClose,c)},null,null)}else{FMCRunCommentDialog(b,e,a,d)}}else{FMCRunCommentDialog(b,e,a,d)}}function FMCRegisterUserDialogOnClose(b){var d=b[0];var a=b[1];var c=b[2];FMCRunCommentDialog(false,d,a,c)}function FMCRunCommentDialog(a,e,b,d){if(MCGlobals.BodyFrame.CMCDialog.DoesDialogExist()){return}var c=null;if(!e){c=new CMCAddCommentDialog(window,a)}else{c=new CMCReplyCommentDialog(window,a,b,d)}c.Run(function(){FMCInitBodyCommentsFrame();if(MCGlobals.BodyCommentsFrame!=null){FMCPostMessageRequest(MCGlobals.BodyCommentsFrame,"refresh-comments",null,null,function(){MCGlobals.BodyCommentsFrame.TopicComments_RefreshComments()})}},null)}function FMCGetRatingOnComplete(a,d){var b=document.getElementById("MCAverageRatingIcons");var e=document.getElementById("MCRatingCount");var f=e.childNodes[0];if(!f){f=e.appendChild(document.createTextNode(""))}f.nodeValue=" based on "+d+" ratings";b.title="Topic rating: "+a+"%";FMCDrawRatingIcons(a,b);var c=document.getElementById("MCLoadingImage");if(c&&c.parentNode){c.parentNode.removeChild(c)}}function FMCEditUserProfile(){gServiceClient.Init(function(){if(MCGlobals.BodyFrame.CMCDialog.DoesDialogExist()){return}if(gServiceClient.PulseEnabled){if(gServiceClient.PulseUserGuid!=null){FMCPostMessageRequest(parent,"navigate-pulse",["#!streams/"+gServiceClient.PulseUserGuid+"/settings"],null,null,true)}else{var a=new CMCDialog(window);a.WrapperClass="pulse-login";a.ShowTitle=false;a.InnerHtml='';a.Run(null,null)}}else{CMCXmlParser.GetXmlDoc(MCGlobals.RootFolder+"Data/HelpSystem.xml",true,function(d){var c=d.documentElement.getAttribute("LiveHelpOutputId");gServiceClient.GetAnonymousEnabled(c,b,null);function b(e,f){if(FMCIsHtmlHelp()){FMCRegisterCallback("Persistence",MCEventType.OnInit,g,null);return}g(null);function g(h){if(!e){var i=FMCLoadUserData("LiveHelpUserGuid");gServiceClient.GetVersion(function(k){if(i==null){var j=new CMCRegisterUserDialog(window,CMCRegisterUserDialog.DialogMode.NewUserProfile,k);j.Run(null,null)}else{if(k==1){alert("The Feedback Server you are connecting to does not support this feature.");return}var j=new CMCRegisterUserDialog(window,CMCRegisterUserDialog.DialogMode.EditUserProfile,k);j.Run(null,null)}},null,null)}}}},null)}})}if(gRuntimeFileType=="Topic"){};/* * Copyright MadCap Software * http://www.madcapsoftware.com/ * Unlicensed use is strictly prohibited * * v16.2.7661.33927 */ function LiveHelpToolbar_Init(){gRatingSubmittedMessage=CMCFlareStylesheet.LookupValue("ToolbarItem","TopicRatings","RatingSubmittedMessage",gRatingSubmittedMessage)}function UpdateRating(){if(FMCIsSkinPreviewMode()){return}if(document.getElementById("RatingIcons")!=null){gServiceClient.GetAverageRating(gTopicID,function(a,c,b){SetRating(a)},null)}}function SetRating(b){var a=document.getElementById("RatingIcons");gTopicRating=b;FMCDrawRatingIcons(gTopicRating,a)}function FMCTopicRatingIconsOnclick(a){if(!a){a=window.event}var b=FMCRatingIconsCalculateRating(a,this);FMCSubmitRating(b)}function FMCTopicRatingIconsOnmousemove(a){if(!a){a=window.event}FMCRatingIconsOnmousemove(a,this)}function FMCTopicRatingIconsOnkeydown(a){if(!a){a=window.event}if(a.keyCode!=13){return}var b=this;var h=a.srcElement||a.target;var c=b.getElementsByTagName("img");var f=c.length;var d=FMCGetChildIndex(h)+1;var g=d*100/f;FMCSubmitRating(g)}function FMCSubmitRating(c){try{gServiceClient.SubmitRating(gTopicID,c,null,function(d){UpdateRating();alert(gRatingSubmittedMessage)},null)}catch(a){var b=this.CommentLengthExceeded.replace(/{n}/g,a.Data.ExceedAmount);return}}function FMCTopicClearRatingIcons(a){if(!a){a=window.event}FMCClearRatingIcons(gTopicRating,this)}if(gRuntimeFileType=="Toolbar"){var gTopicRating=0}if(gRuntimeFileType=="Toolbar"){var gRatingSubmittedMessage="Thank you for submitting your rating!";gOnloadFuncs.push(LiveHelpToolbar_Init)};/* * Copyright MadCap Software * http://www.madcapsoftware.com/ * Unlicensed use is strictly prohibited * * v16.2.7661.33927 */ function CalcVisibleItems(c){var a=(gVisibleItems+1)*gcAccordionItemHeight;var b=(c-a>=0)?Math.floor((c-a)/gcAccordionItemHeight):Math.ceil((c-a)/gcAccordionItemHeight);gVisibleItems=Math.max(Math.min(gVisibleItems+b,gcMaxVisibleItems),0)}function RefreshAccordion(){SetIFrameHeight();for(var a=0;a=0;f--){if(f>gVisibleItems-1){continue}var c=gAccordionItems[f];d-=(c.style.height?parseInt(c.style.height):gcAccordionItemHeight);c.style.top=d+"px"}var a=document.getElementById("AccordionExpander");d-=parseInt(FMCGetComputedStyle(a,"height"));a.style.top=d+"px";var j=document.getElementById("NavigationTop");d-=parseInt(FMCGetComputedStyle(j,"height"));for(var f=0;f0?s:null,n)}}}}if(gRuntimeFileType=="Navigation"){var gInit=false;var gVisibleItems=7;var gcMaxVisibleItems=7;var gcAccordionItemHeight=28;var gActivePane=null;var gActiveItem=null;var gActiveIcon=null;var gActiveIFrame=null;var gAccordionItems=new Array();var gAccordionIcons=new Array();var gIFrames=new Array();var gcDefaultID=0;var gcDefaultTitle="Table of Contents";window.onresize=function(){var a=Math.max(FMCGetClientWidth(window,true),0);FMCPostMessageRequest(parent.frames.mctoolbar,"navigation-resized",[a],function(){SetIFrameHeight()},function(){var b=parent.frames.mctoolbar.document.getElementById("AccordionTitle");if(b!=null){b.style.width=a+"px"}SetIFrameHeight()})};gOnloadFuncs.push(Navigation_Init);if(window.postMessage){if(window.addEventListener){window.addEventListener("message",Navigation_OnMessage,false)}else{if(window.attachEvent){window.attachEvent("onmessage",Navigation_OnMessage)}}}};/* * Copyright MadCap Software * http://www.madcapsoftware.com/ * Unlicensed use is strictly prohibited * * v16.2.7661.33927 */ function FMCOpenCommentDialog(c,a,b){CMCXmlParser.GetXmlDoc(MCGlobals.RootFolder+"Data/HelpSystem.xml",true,function(e){var d=e.documentElement.getAttribute("LiveHelpOutputId");gServiceClient.GetAnonymousEnabled(d,FMCGetAnonymousEnabledOnComplete,[c,a,b])},null)}function FMCGetAnonymousEnabledOnComplete(b,c){var e=c[0];var a=c[1];var d=c[2];if(FMCIsHtmlHelp()){c.push(b);FMCRegisterCallback("Persistence",MCEventType.OnInit,function(h){var k=h[0];var i=h[1];var j=h[2];var g=h[3];if(g){FMCRunCommentDialog(g,k,i,j)}else{var l=FMCLoadUserData("LiveHelpUserGuid");if(l==null){gServiceClient.GetVersion(function(n){var m=new CMCRegisterUserDialog(window,CMCRegisterUserDialog.DialogMode.NewUserProfile,n);m.Run(FMCRegisterUserDialogOnClose,h)},null,null)}else{FMCRunCommentDialog(g,k,i,j)}}},c);return}if(!b){var f=FMCReadCookie("LiveHelpUserGuid");if(f==null){gServiceClient.GetVersion(function(h){var g=new CMCRegisterUserDialog(window,CMCRegisterUserDialog.DialogMode.NewUserProfile,h);g.Run(FMCRegisterUserDialogOnClose,c)},null,null)}else{FMCRunCommentDialog(b,e,a,d)}}else{FMCRunCommentDialog(b,e,a,d)}}function FMCRegisterUserDialogOnClose(b){var d=b[0];var a=b[1];var c=b[2];FMCRunCommentDialog(false,d,a,c)}function FMCRunCommentDialog(a,e,b,d){if(MCGlobals.BodyFrame.CMCDialog.DoesDialogExist()){return}var c=null;if(!e){c=new CMCAddCommentDialog(window,a)}else{c=new CMCReplyCommentDialog(window,a,b,d)}c.Run(function(){FMCInitBodyCommentsFrame();if(MCGlobals.BodyCommentsFrame!=null){FMCPostMessageRequest(MCGlobals.BodyCommentsFrame,"refresh-comments",null,null,function(){MCGlobals.BodyCommentsFrame.TopicComments_RefreshComments()})}},null)}function FMCGetRatingOnComplete(a,d){var b=document.getElementById("MCAverageRatingIcons");var e=document.getElementById("MCRatingCount");var f=e.childNodes[0];if(!f){f=e.appendChild(document.createTextNode(""))}f.nodeValue=" based on "+d+" ratings";b.title="Topic rating: "+a+"%";FMCDrawRatingIcons(a,b);var c=document.getElementById("MCLoadingImage");if(c&&c.parentNode){c.parentNode.removeChild(c)}}function FMCEditUserProfile(){gServiceClient.Init(function(){if(MCGlobals.BodyFrame.CMCDialog.DoesDialogExist()){return}if(gServiceClient.PulseEnabled){if(gServiceClient.PulseUserGuid!=null){FMCPostMessageRequest(parent,"navigate-pulse",["#!streams/"+gServiceClient.PulseUserGuid+"/settings"],null,null,true)}else{var a=new CMCDialog(window);a.WrapperClass="pulse-login";a.ShowTitle=false;a.InnerHtml='';a.Run(null,null)}}else{CMCXmlParser.GetXmlDoc(MCGlobals.RootFolder+"Data/HelpSystem.xml",true,function(d){var c=d.documentElement.getAttribute("LiveHelpOutputId");gServiceClient.GetAnonymousEnabled(c,b,null);function b(e,f){if(FMCIsHtmlHelp()){FMCRegisterCallback("Persistence",MCEventType.OnInit,g,null);return}g(null);function g(h){if(!e){var i=FMCLoadUserData("LiveHelpUserGuid");gServiceClient.GetVersion(function(k){if(i==null){var j=new CMCRegisterUserDialog(window,CMCRegisterUserDialog.DialogMode.NewUserProfile,k);j.Run(null,null)}else{if(k==1){alert("The Feedback Server you are connecting to does not support this feature.");return}var j=new CMCRegisterUserDialog(window,CMCRegisterUserDialog.DialogMode.EditUserProfile,k);j.Run(null,null)}},null,null)}}}},null)}})}if(gRuntimeFileType=="Topic"){};/* * Copyright MadCap Software * http://www.madcapsoftware.com/ * Unlicensed use is strictly prohibited * * v16.2.7661.33927 */ function CMCTokenizer(){var a="";var b=-1;var c=new Array();this.Tokenize=function(j){var k=null;a=j;b=-1;for(var h=0;k=f();h++){c[h]=k}return c};function d(){return a.charAt(b+1)}function e(){b++}function g(){var i="";for(;;){var h=d();if(!h){break}if(h=='"'){e();break}else{if(CMCIsTermSeparator(h)){h=" "}e();i+=h}}i=FMCTrim(i);return(i=="")?null:i}function f(){var h=d();var j=null;var k="";if(!h){j=null}else{if(CMCIsWhiteSpace(h)){for(h=d();CMCIsWhiteSpace(h);h=d()){e();k+=h}j=new CMCToken(k,CMCToken.WhiteSpace)}else{if(h=="("){e();j=new CMCToken(h,CMCToken.LeftParen)}else{if(h==")"){e();j=new CMCToken(h,CMCToken.RightParen)}else{if(h=="^"){e();j=new CMCToken(h,CMCToken.Subtract)}else{if(h=="+"||h=="&"){e();j=new CMCToken(h,CMCToken.And)}else{if(h=="|"){e();j=new CMCToken(h,CMCToken.Or)}else{if(h=="!"){e();j=new CMCToken(h,CMCToken.Not)}else{if(h=='"'){e();var i=g();j=new CMCToken(i,(i==null)?CMCToken.Error:CMCToken.Phrase)}else{if(CMCIsTermSeparator(h)){e();j=new CMCToken(h,CMCToken.TermSeparator)}else{for(h=d();CMCIsNameChar(h);h=d()){e();k+=h}if(k=="and"||k=="AND"){j=new CMCToken(k,CMCToken.And)}else{if(k=="or"||k=="OR"){j=new CMCToken(k,CMCToken.Or)}else{if(k=="not"||k=="NOT"){j=new CMCToken(k,CMCToken.Not)}else{var l=CMCToken.Word;if(gSearchDBs[0].SearchType=="NGram"){l=CMCToken.Phrase}j=new CMCToken(k,l)}}}}}}}}}}}}}return j}}function CMCToken(c,d){var a=c;var b=d;this.GetTokenText=function(){return a};this.GetType=function(){return b}}CMCToken.Eof=0;CMCToken.Error=1;CMCToken.WhiteSpace=2;CMCToken.Phrase=3;CMCToken.Word=4;CMCToken.RightParen=5;CMCToken.LeftParen=6;CMCToken.Not=7;CMCToken.Subtract=8;CMCToken.And=9;CMCToken.Or=10;CMCToken.ImplicitOr=11;CMCToken.TermSeparator=12;function CMCParser(j){var e=this;var c=j;var b=-1;var f=new CMCTokenizer();var d=f.Tokenize(c);this.GetStemMap=function(q){function r(){l++;if(l==p){for(var y=0;ym){j=1}}}}}}return(j*gCompareSet.SortOrder)};CMCQueryResultSet.prototype.FindAdjacentEntries=function(m,o,b,a){var g=new CMCQueryResultSet();var r=SplitPhrase(o.GetTokenText());var s=new CMCDictionary();for(var e=0;e"||a=="<"||a=="="}function SplitPhrase(d){var c=null;var b=gSearchDBs[0];if(b.SearchType=="NGram"){c=new Array(Math.max(0,d.length-(b.NGramSize+1)));for(var a=0;ag){e=1}}}}}}if(gSearchResultSet.SortOrder==EMCSortOrder.Ascending){e*=-1}return e};var EMCSortColumn=new function(){};EMCSortColumn.Rank=0;EMCSortColumn.RankPosition=1;EMCSortColumn.Title=2;var EMCSortOrder=new function(){};EMCSortOrder.Ascending=0;EMCSortOrder.Descending=1;function DoSearchWebHelpPlus(f,a,d){function e(t,j){gSearchResultSet=new CMCSearchResultSet();var p=t.getElementsByTagName("Result");var q=p.length;for(var k=0;k=0;a--){var m=n[a];if(m.id!="searchResultsHeadingRow"){m.parentNode.removeChild(m)}}j=h.getElementsByTagName("tbody")[0];o=document.getElementById("searchResultsHeadingRow");k=document.getElementById("searchResultsRankColumn");l=document.getElementById("searchResultsTitleColumn");b=o.getElementsByTagName("img")[0];b.parentNode.removeChild(b)}else{h=document.createElement("table");h.id="searchResultsTable";h.setAttribute("summary",gTableSummary);h.style.width=FMCGetClientWidth(window,false)-25+"px";j=document.createElement("tbody");o=document.createElement("tr");k=document.createElement("th");l=document.createElement("th");b=document.createElement("img");o.id="searchResultsHeadingRow";k.id="searchResultsRankColumn";l.id="searchResultsTitleColumn";k.className="columnHeading";l.className="columnHeading";k.style.width="60px";l.style.width="auto";k.tabIndex=gTabIndex++;l.tabIndex=gTabIndex++;k.appendChild(document.createTextNode(gRankLabel));l.appendChild(document.createTextNode(gTitleLabel));b.style.width="12px";b.style.height="7px";b.style.paddingLeft="10px";k.onclick=THRankColOnclick;l.onclick=THTitleColOnclick;k.onkeyup=THRankColOnkeyup;l.onkeyup=THTitleColOnkeyup;k.onmouseover=ColOnmouseover;l.onmouseover=ColOnmouseover;k.onmouseout=ColOnmouseout;l.onmouseout=ColOnmouseout;k.onmousedown=ColOnmousedown;l.onmousedown=ColOnmousedown;o.appendChild(k);o.appendChild(l);j.appendChild(o);h.appendChild(j);document.getElementById("SearchResults").appendChild(h)}if(g.SortColumn==EMCSortColumn.RankPosition){c=k}else{if(g.SortColumn==EMCSortColumn.Title){c=l}}b.src=(g.SortOrder==EMCSortOrder.Descending)?"Images/ArrowUp.gif":"Images/ArrowDown.gif";b.alt=(g.SortOrder==EMCSortOrder.Descending)?"Descending":"Ascending";c.appendChild(b);FMCPostMessageRequest(MCGlobals.NavigationFrame,"set-nav-pane-height",null,f,function(){parent.SetIFrameHeight();f()})}function THRankColOnclick(){ColOnclick(EMCSortColumn.RankPosition)}function THTitleColOnclick(){ColOnclick(EMCSortColumn.Title)}function THRankColOnkeyup(a){a=a||window.event;if(a.keyCode==13){this.onclick()}}function THTitleColOnkeyup(a){a=a||window.event;if(a.keyCode==13){this.onclick()}}function ColOnclick(a){var b=FMCGetHelpSystem();if(!b.IsWebHelpPlus){Sort(a,true);if(gFullSet){GenerateResultsTable(gFilteredSet,false,function(){})}}else{gSearchResultSet.Sort(a);GenerateResultsTable(gSearchResultSet,true,function(){})}}function ColOnmouseover(){this.style.backgroundImage=FMCCreateCssUrl("Images/SearchGradient_over.jpg")}function ColOnmouseout(){this.style.backgroundImage=FMCCreateCssUrl("Images/SearchGradient.jpg")}function ColOnmousedown(){this.style.backgroundImage=FMCCreateCssUrl("Images/SearchGradient_selected.jpg")}function ResultTROnmouseover(){this.setAttribute("MadCap:altBackgroundColor",this.style.backgroundColor);this.style.backgroundColor="#dddddd"}function ResultTROnmouseout(){var a=FMCGetAttribute(this,"MadCap:altBackgroundColor","Transparent");this.style.backgroundColor=a}function ResultTROnclick(){parent.parent.frames.body.location.href=FMCGetMCAttribute(this,"MadCap:href")+gHighlight}function Search_ItemOnkeyup(a){var b=null;if(!a){a=window.event}if(a.srcElement){b=a.srcElement}else{if(a.target){b=a.target}}if(a.keyCode==13&&b&&b.onclick){b.onclick()}}function CommunityResultOnclick(a){var d=new CMCUrl(a.target.href);if(d.Fragment.indexOf("#pulse-")==0){var c=d.Fragment.substring("#pulse-".length);var b=gHelpSystem.LiveHelpServer+c;FMCPostMessageRequest(parent.parent,"navigate-body",[b],null,null,true)}else{var c=d.Fragment.substring("#".length);FMCPostMessageRequest(parent.parent,"navigate-body-relative",[c],null,null,true)}}function CommunityShowAllOnclick(a){var c=new CMCUrl(a.target.href);if(c.Fragment.indexOf("#communitysearch-")==0){var b=c.Fragment.substring("#communitysearch-".length);gServiceClient.GetPulseSearchResults(FMCGetHelpSystem().LiveHelpOutputId,b,-1,0,function(d){GenerateCommunityResultsTable(b,d)})}}function GenerateCommunityResultsTable(e,a,c){function d(){if(a!=null&&a.Activities.length>0){gTabIndex=6;var g=document.createElement("div");g.setAttribute("id","community-results");var q=document.createElement("h3");q.setAttribute("class","title");q.appendChild(document.createTextNode(gCommunityResultsLabel));var m=document.createElement("span");m.appendChild(document.createTextNode(" ("+a.TotalRecords+")"));q.appendChild(m);var n=document.createElement("ul");n.setAttribute("id","communityResultList");g.appendChild(q);g.appendChild(n);var s=new Date();var B=new Date(s.getUTCFullYear(),s.getUTCMonth(),s.getUTCDate(),s.getUTCHours(),s.getUTCMinutes(),s.getUTCSeconds());for(var r=0;r-1){l[j]=i;o=true}return true});h.sort();for(var p=0;p0?p:null,l)}}}if(gRuntimeFileType=="Search"){var gInit=false;var gSearchDBs=new Array();var gParser=null;var gFilters=null;var gFullSet=null;var gMergedSet=null;var gFilteredSet=null;var gHighlight="";var gFavoritesEnabled=true;var gAddSearchLabel="Add search string to favorites";var gAddSearchIcon="Images/AddSearchToFavorites.gif";var gAddSearchOverIcon="Images/AddSearchToFavorites_over.gif";var gAddSearchSelectedIcon="Images/AddSearchToFavorites_selected.gif";var gAddSearchIconWidth=23;var gAddSearchIconHeight=22;var gFiltersLabel="Filters:";var gFiltersLabelStyleMap=new CMCDictionary();var gTableSummary="This table contains the results of the search that was performed. The first column indicates the search rank and the second column indicates the title of the topic that contains the search result.";var gRankLabel="Rank";var gTitleLabel="Title";var gTopicResultsLabel="Topic Results";var gCommunityResultsLabel="Community Results";var gShowAllCommunityResultsLabel="Show all community results";var gUnfilteredLabel="(unfiltered)";var gNoTopicsFoundLabel="No topics found";var gInvalidTokenLabel="Invalid token.";var gMalformedSearchString="Ensure that the search string is properly formatted.";var gDownloadedSynonymXmlDocRootNode=null;gOnloadFuncs.push(Search_WindowOnload);gReadyFuncs.push(function(){document.forms.search.searchField.value=""});if(FMCIsChromeLocal()){window.addEventListener("message",Search_OnMessage,false)}var gOnSearchFinishedFunc=null;var gCallbackFuncArgs=null;var gSearchResultSet=null};/* * Copyright MadCap Software * http://www.madcapsoftware.com/ * Unlicensed use is strictly prohibited * * v16.2.7661.33927 */ function Toc_WindowOnload(){if(MCGlobals.NavigationFrame!=null){Toc_WaitForPaneActive()}else{Toc_Init(null)}}function Toc_WaitForPaneActive(){function a(b){if(b==window.name){Toc_Init(null)}else{window.setTimeout(Toc_WaitForPaneActive,WAIT_FOR_PANE_ACTIVE_INTERVAL)}}FMCPostMessageRequest(MCGlobals.NavigationFrame,"gActivePane",null,function(c){var b=c[0];a(b)},function(){a(MCGlobals.NavigationFrame.gActivePane)})}function SyncTOC(c,a){if(c==null){return}GetTocNode(c,a,b);function b(f){if(f){for(var e=f.parentNode;e!=null&&e.id!="CatapultToc";e=e.parentNode){if(FMCGetChildNodeByTagName(e,"DIV",0).style.display=="none"){var d=FMCGetChildNodeByTagName(e,"A",0);TocExpand(d)}else{break}}SetSelection(FMCGetChildNodeByTagName(f,"A",0));FMCScrollToVisible(window,f)}}}function GetTocNode(d,a,b){Toc_Init(c);function c(){gTocPath=d;gTocHref=a;var k=document.getElementById("CatapultToc").getElementsByTagName("div")[0];var j=(d=="")?new Array(0):d.split("|");for(var g=0;k&&g0||j||F);var e=null;var g=null;var P=null;var z=null;var Q="Topic";var f="Closed Submenu";var h="Open Submenu";var C="New";l.style.textIndent=v+"px";l.style.position="relative";l.style.display="none";l.setAttribute("MadCap:state","closed");var n=m.getAttribute("Class");var k="TocEntry_"+((n==null)?"TocEntry":n);var c=gClassToANodeMap.GetItem(k);var G=gStylesMap.GetItem(k);if(!c){c=document.createElement("a");if(G){G.ForEach(function(a,U){var i=ConvertToCSS(a);c.style[i]=U;return true})}gClassToANodeMap.Add(k,c)}b=c.cloneNode(false);b.setAttribute("MadCap:className",k);b.onmouseover=TocEntryOnmouseover;b.onmouseout=TocEntryOnmouseout;if(G){e=G.GetItem("BookIcon");g=G.GetItem("BookOpenIcon");P=G.GetItem("TopicIcon");var R=G.GetItem("TopicIconAlternateText");if(R){Q=R}R=G.GetItem("BookIconAlternateText");if(R){f=R}R=G.GetItem("BookOpenIconAlternateText");if(R){h=R}R=G.GetItem("MarkAsNewIconAlternateText");if(R){C=R}var D=G.GetItem("MarkAsNew");if(D){z=FMCStringToBool(D)}}if(y&&!F){if(y.charAt(0)=="/"){y=q+y.substring(1)}b.setAttribute("href",y);if(!p){p="body"}b.setAttribute("MadCap:frameName",p)}else{b.setAttribute("href","javascript:void( 0 );")}var I=GetOwnerHelpSystem(s);var L=null;if(F){var M=I.GetSubsystem(parseInt(F));if(M==null||!M.GetExists()){continue}L=M.GetPath();var o=null;if(window.name=="toc"){if(!M.HasToc){continue}o="Toc.xml"}else{if(window.name=="browsesequences"){if(!M.HasBrowseSequences){continue}o="BrowseSequences.xml"}}j=L+"Data/"+o;b["MadCap:helpSystem"]=M;var J=FMCGetAttributeBool(m,"ReplaceMergeNode",false);if(J){l.appendChild(b);s.appendChild(l);var d={div:l,htmlNode:s,subPath:L,subsystem:M};CMCXmlParser.GetXmlDoc(j,true,function(ad,a){var i=a.div;var U=a.htmlNode;var ab=a.subPath;var ac=a.subsystem;var Z=i.nextSibling;BuildToc(ad.documentElement,i,v,ab);var Y=FMCGetChildNodesByTagName(i,"DIV");U.removeChild(i);for(var V=0;V0){b.onclick=BookOnClick}}if(e=="none"){u=null}else{var K="Images/Book.gif";var S=16;var r=16;if(e){e=FMCStripCssUrl(e);e=decodeURIComponent(e);K="../"+MCGlobals.SkinFolder+escape(e);S=CMCFlareStylesheet.GetResourceProperty(e,"Width",16);r=CMCFlareStylesheet.GetResourceProperty(e,"Height",16)}u.src=K;u.alt=f;u.setAttribute("MadCap:bookIconAltText",f);u.setAttribute("MadCap:bookOpenIconAltText",h);if(!g||g=="none"){u.setAttribute("MadCap:altsrc","Images/BookOpen.gif")}else{g=FMCStripCssUrl(g);g="../"+MCGlobals.SkinFolder+escape(g);u.setAttribute("MadCap:altsrc",g);FMCPreloadImage(g)}u.style.width=S+"px";u.style.height=r+"px";u.style.verticalAlign="middle"}}else{b.onclick=TopicOnClick;if(P=="none"){u=null}else{var K="Images/Topic.gif";var S=16;var r=16;if(P){P=FMCStripCssUrl(P);P=decodeURIComponent(P);K="../"+MCGlobals.SkinFolder+escape(P);S=CMCFlareStylesheet.GetResourceProperty(P,"Width",16);r=CMCFlareStylesheet.GetResourceProperty(P,"Height",16)}u.src=K;u.alt=Q;u.style.width=S+"px";u.style.height=r+"px";u.style.verticalAlign="middle"}}var B=m.getAttribute("MarkAsNew");var A=B?FMCStringToBool(B):z;if(A){var H=document.createElement("img");H.src="Images/NewItemIndicator.bmp";H.alt=C;H.style.width="7px";H.style.height="7px";H.style.position="absolute";b.appendChild(H)}u?b.appendChild(u):false;var N=document.createTextNode(O);b.appendChild(N);l.appendChild(b);s.appendChild(l);BuildToc(m,l,v+16,F?L:q)}}function CacheStyles(a){CMCXmlParser.GetXmlDoc(MCGlobals.RootFolder+MCGlobals.SkinFolder+"Stylesheet.xml",true,function(l){var k=l.getElementsByTagName("Style");var m=null;for(var b=0;b0){var d=new CMCDictionary();var g=f[0].childNodes;for(var b=0;b0){var d=new CMCDictionary();var g=f[0].childNodes;for(var c=0;c0){var e=null;if(f.length==2){e=b.getElementsByTagName("img")[1]}else{if(f.length==1){e=b.getElementsByTagName("img")[0]}}FMCImageSwap(e,"swap");e.setAttribute("alt",g=="open"?FMCGetAttribute(e,"MadCap:bookIconAltText"):FMCGetAttribute(e,"MadCap:bookOpenIconAltText"))}FMCScrollToVisible(window,c);c.setAttribute("MadCap:state",g=="open"?"closed":"open")}function TocEntryOnmouseover(){this.style.color="#ff0000"}function TocEntryOnmouseout(){var c="#0055ff";var b=FMCGetMCAttribute(this,"MadCap:className");var d=gStylesMap.GetItem(b);if(d){var a=d.GetItem("Color");if(a){c=a}}this.style.color=c}function Toc_OnMessage(b){var n=b.data.split(gMessageSeparator);var l=n[0];var h=n[1];var j=n[2];var k=n[3];var a=null;if(!String.IsNullOrEmpty(j)){a=j.split(gDataSeparator);for(var f=0,g=a.length;f0?o:null,k)}}}}if(gRuntimeFileType=="Toc"||gRuntimeFileType=="BrowseSequences"){var gInit=false;var gCurrSelection=null;var gStylesMap=new CMCDictionary();var gClassToANodeMap=new CMCDictionary();var gSyncTOC=false;var gTocPath=null;var gTocHref=null;gOnloadFuncs.push(Toc_WindowOnload);if(FMCIsChromeLocal()){window.addEventListener("message",Toc_OnMessage,false)}var gInitializing=false;var gInitOnCompleteFuncs=new Array()};/* * Copyright MadCap Software * http://www.madcapsoftware.com/ * Unlicensed use is strictly prohibited * * v16.2.7661.33927 */ function Toolbar_Init(){if(gInit){return}if(MCGlobals.InPreviewMode){try{var a=parent.document}catch(b){return}}document.body.tabIndex=gTabIndex++;if(MCGlobals.InPreviewMode){MCGlobals.BodyFrame=parent}Toolbar_LoadSkin(function(){if(typeof gServiceClient!=="undefined"){gServiceClient.Init(function(){var c=document.documentElement.getAttribute("class")||"";c+="feedback-active"+(gServiceClient.PulseActive?" pulse-active":"");document.documentElement.setAttribute("class",c)})}gInit=true})}function Toolbar_LoadSkin(a){FMCGetSkin(function(m){var d=null;var i=gIsTopicToolbar?"TopicToolbar":"Toolbar";var l=m.getElementsByTagName(i)[0];var j=m.documentElement.getAttribute("Tabs").toLowerCase();var k=m.documentElement.getAttribute("Tabs").split(",");var f=m.documentElement.getAttribute("DefaultTab");f=(m.documentElement.getAttribute("Tabs").indexOf(f)==-1)?k[0]:f;if(MCGlobals.NavigationFrame!=null){if(!gIsTopicToolbar&&(l==null||!FMCGetAttributeBool(l,"ExcludeAccordionTitle",gIsTopicToolbar))){var e=document.getElementById("ToolbarButtons");var c=document.createElement("td");var b=document.createElement("span");b.appendChild(document.createTextNode(f));c.appendChild(b);e.parentNode.insertBefore(c,e);b.id="AccordionTitleLabel";c.id="AccordionTitle"}}gAboutBoxEnabled=FMCGetAttributeBool(m.documentElement,"EnableAboutBox",true);if(!MCGlobals.InPreviewMode){var g=document.documentElement.getAttribute("TargetType")=="WebHelpPlus"&&document.location.protocol.StartsWith("http",false);var h=g?"LogoPlus.png":FMCIsHtmlHelp()?"LogoHtmlHelp.png":"Logo.png";gAboutBoxURL=document.location.href.substring(0,document.location.href.lastIndexOf("/"))+"/Images/"+h}Toolbar_LoadWebHelpOptions(m);FMCPreloadImage(gAboutBoxURL);FMCGetStylesheet(function(o){function n(s){d=s;if(l){var y=FMCGetAttributeBool(l,"EnableCustomLayout",false);if(y){if(d==null){var t=l.getAttribute("Buttons");if(t){d=t.split("|")}else{d=new Array(0)}}}var Q=l.getElementsByTagName("Script")[0];if(Q){var P=document.createElement("script");P.type="text/javascript";P.src="../"+FMCGetSkinFolder()+i+".js";document.getElementsByTagName("head")[0].appendChild(P)}}if(d==null){d=GetDefaultButtons()}var V=o.getElementsByTagName("Style");var ah=new CMCDictionary();for(var A=0;A=0){var e=f.substring(g+1,d);if(e=="n"){var m=document.createElement("span");m.setAttribute("id","MCCurrentTopicIndex");k.appendChild(m);var n=document.createTextNode("");m.appendChild(n)}else{if(e=="total"){var o=document.createElement("span");o.setAttribute("id","MCTopicTotal");k.appendChild(o);var p=document.createTextNode("");o.appendChild(p)}}g=d}}else{b+=a}}var j=document.createTextNode(b);k.appendChild(j);FMCRegisterCallback("Body",MCEventType.OnInit,OnBodyInitSetCurrentTopicIndex,null)}function OnBodyInitSetCurrentTopicIndex(){var b=document.getElementById("MCCurrentTopicIndexContainer");if(b==null){return}if(MCGlobals.InPreviewMode){SetCurrentTopicIndexSequenceIndex(0);SetCurrentTopicIndexTotal(0);OnCompleteBoth()}else{FMCPostMessageRequest(MCGlobals.BodyFrame,"get-bs-path",null,function(d){var c=d[0];var e=new CMCUrl(d[1]);a(c,e)},function(){var c=MCGlobals.BodyFrame.CMCUrl.QueryMap.GetItem("BrowseSequencePath");var e=FMCGetBodyHref();if(c==null){c=FMCGetMCAttribute(MCGlobals.BodyFrame.document.documentElement,"MadCap:browseSequencePath");if(c!=null){var f=FMCGetHelpSystem();var d=f.GetFullTocPath("browsesequences",e.PlainPath);if(d){c=c?d+"|"+c:d}}}a(c,e)})}function a(c,e){function g(i){if(i==-1){b.style.display="none";OnCompleteBoth();return}b.style.display="";SetCurrentTopicIndexSequenceIndex(i);d.GetIndexTotalForEntry(c,e,h);function h(j){SetCurrentTopicIndexTotal(j);window.setTimeout(OnCompleteBoth,100)}}if(c==null||c==""||c.StartsWith("$$$$$")){g(-1);return}var f=FMCGetHelpSystem();var d=f.GetBrowseSequenceFile();d.GetEntrySequenceIndex(c,e,g)}}function OnCompleteBoth(){var a=document.getElementById("MCCurrentTopicIndexContainer");a.parentNode.style.width=a.offsetWidth+"px";if(gIsTopicToolbar){SetIFrameFixedWidth()}}function SetCurrentTopicIndexSequenceIndex(a){var b=document.getElementById("MCCurrentTopicIndex");if(b!=null){b.firstChild.nodeValue=a.toString()}}function SetCurrentTopicIndexTotal(b){var a=document.getElementById("MCTopicTotal");if(a!=null){a.firstChild.nodeValue=b.toString()}}function SetIFrameFixedWidth(){var a=document.getElementById("ToolbarButtons");var e=a.getElementsByTagName("td");var f=0;for(var b=0,c=e.length;b0?q:null,k)}}}}if(gRuntimeFileType=="Toolbar"){var gInit=false;var gIsTopicToolbar=window.name.StartsWith("mctoolbar_");var gAboutBoxEnabled=true;var gAboutBoxURL=null;var gAboutBoxWidth=315;var gAboutBoxHeight=258;var gAboutBoxAlternateText="About";var gHideNavStartup=false;var gTocTitle="Table of Contents";var gIndexTitle="Index";var gSearchTitle="Search";var gGlossaryTitle="Glossary";var gFavoritesTitle="Favorites";var gBrowseSequencesTitle="Browse Sequences";var gCommunityTitle="Community";var gQuickSearchExternalLabel="Quick search is disabled in external topics.";var gQuickSearchIE55="Quick search is disabled in Internet Explorer 5.5.";var gRemoveHighlightIE55Label="Remove highlighting is disabled in Internet Explorer 5.5.";var gTopicID=null;var gChangeNavigationStateStartedEventID=null;var gChangeNavigationStateCompletedEventID=null;var gChangingNavigationStateEventID=null;var gNavPosition="Left";gOnloadFuncs.push(Toolbar_Init);if(FMCIsChromeLocal()){window.addEventListener("message",Toolbar_OnMessage,false)}};/* * Copyright MadCap Software * http://www.madcapsoftware.com/ * Unlicensed use is strictly prohibited * * v16.2.7661.33927 */ function TopicComments_Init(c,b){gTopicID=c;if(gInit){if(b){b()}return}if(FMCIsTopicPopup(window.parent)){gInit=true;if(b){b()}return}window.setTimeout(a,0);function a(){var d=document.getElementById("Buttons");var g=d.getElementsByTagName("tr")[0];FMCSetupButtonFromStylesheet(g,"Control","CommentsAddButton","Images/AddComment.gif","Images/AddComment_over.gif","Images/AddComment_selected.gif",23,22,"Add comment","",AddComment);FMCSetupButtonFromStylesheet(g,"Control","CommentsReplyButton","Images/ReplyComment.gif","Images/ReplyComment_over.gif","Images/ReplyComment_selected.gif",23,22,"Reply to comment","",ReplyComment);FMCSetupButtonFromStylesheet(g,"Control","CommentsRefreshButton","Images/RefreshTopicComments.gif","Images/RefreshTopicComments_over.gif","Images/RefreshTopicComments_selected.gif",23,22,"Refresh comments","",TopicComments_RefreshComments);var f=document.createElement("td");var e=CMCFlareStylesheet.LookupValue("Frame","BodyComments","Label","Comments");f.appendChild(document.createTextNode(e));f.style.fontFamily=CMCFlareStylesheet.LookupValue("Frame","BodyComments","FontFamily","Arial, Sans-Serif");f.style.fontSize=CMCFlareStylesheet.LookupValue("Frame","BodyComments","FontSize","16px");f.style.fontWeight=CMCFlareStylesheet.LookupValue("Frame","BodyComments","FontWeight","bold");f.style.fontStyle=CMCFlareStylesheet.LookupValue("Frame","BodyComments","FontStyle","normal");f.style.color=CMCFlareStylesheet.LookupValue("Frame","BodyComments","Color","#000000");f.style.whiteSpace="nowrap";g.replaceChild(f,g.firstChild);d.parentNode.style.borderTop=CMCFlareStylesheet.LookupValue("Frame","BodyComments","BorderTop","solid 1px #5EC9FF");d.parentNode.style.borderBottom=CMCFlareStylesheet.LookupValue("Frame","BodyComments","BorderBottom","solid 1px #5EC9FF");d.parentNode.style.borderLeft=CMCFlareStylesheet.LookupValue("Frame","BodyComments","BorderLeft","none");d.parentNode.style.borderRight=CMCFlareStylesheet.LookupValue("Frame","BodyComments","BorderRight","none");TopicComments_LoadSkin();gInit=true;if(b){b()}}}function TopicComments_LoadSkin(){document.body.style.backgroundColor=CMCFlareStylesheet.LookupValue("Frame","BodyComments","BackgroundColor","#ffffff")}function GetTopicCommentsOnComplete(b,f){if(f!=gRefreshCount){return}var a=document.getElementById("LiveHelpComments");if(a){var e=a.cloneNode(false);a.parentNode.replaceChild(e,a);a=e}else{a=document.createElement("div");a.id="LiveHelpComments";document.body.appendChild(a)}var g=CMCXmlParser.LoadXmlString(b);TopicComments_Build(g.documentElement,a,0);var d=document.getElementById("MCLoadingImage");if(d&&d.parentNode){d.parentNode.removeChild(d)}document.body.style.padding="0px";FMCGetScrollHeight(window);var c=FMCGetScrollHeight(window);FMCPostMessageRequest(MCGlobals.BodyFrame,"set-topic-comments-height",[c],null,function(){var h=MCGlobals.BodyFrame.document.getElementById("topiccomments");h.style.height=c+"px"})}function TopicComments_Build(y,j,m){for(var k=0;k0){p=true;s="CommentReplyNode"}var t=q.getAttribute("Subject");var w=q.getAttribute("User");var f=q.getAttribute("DateUTC");if(f==null){f=q.getAttribute("Date")}var r=document.createElement("div");var o=document.createElement("div");var u=document.createElement("div");var v=document.createElement("span");var n=document.createElement("div");var l=document.createElement("img");r.appendChild(o);r.style.marginLeft=m+"px";o.setAttribute("MadCap:commentID",q.getAttribute("CommentID"));o.setAttribute("MadCap:bgColor","Transparent");o.setAttribute("MadCap:bgColorSelected",CMCFlareStylesheet.LookupValue("Control",s,"BackgroundColor","#CEE3FF"));o.style.cursor="default";o.onclick=TopicComments_CommentOnclick;o.ondblclick=ReplyComment;u.style.fontFamily=CMCFlareStylesheet.LookupValue("Control",s,"SubjectFontFamily","Arial");u.style.fontSize=CMCFlareStylesheet.LookupValue("Control",s,"SubjectFontSize","12px");u.style.fontWeight=CMCFlareStylesheet.LookupValue("Control",s,"SubjectFontWeight","bold");u.style.fontStyle=CMCFlareStylesheet.LookupValue("Control",s,"SubjectFontStyle","normal");u.style.color=CMCFlareStylesheet.LookupValue("Control",s,"SubjectColor","#000000");u.appendChild(l);u.appendChild(v);if(FMCIsSafari()){v.innerHTML=t}else{v.appendChild(document.createTextNode(t))}o.appendChild(u);if(w){var x=document.createElement("span");x.style.fontFamily=CMCFlareStylesheet.LookupValue("Control",s,"UserInfoFontFamily","Arial");x.style.fontSize=CMCFlareStylesheet.LookupValue("Control",s,"UserInfoFontSize","10px");x.style.fontWeight=CMCFlareStylesheet.LookupValue("Control",s,"UserInfoFontWeight","normal");x.style.fontStyle=CMCFlareStylesheet.LookupValue("Control",s,"UserInfoFontStyle","normal");x.style.color=CMCFlareStylesheet.LookupValue("Control",s,"UserInfoColor","#000000");if(FMCIsSafari()){x.innerHTML=w}else{x.appendChild(document.createTextNode(w))}n.appendChild(x)}if(f){if(w){n.appendChild(document.createTextNode(" "))}var g=CMCDateTimeHelpers.GetDateFromUTCString(f);var h=document.createElement("span");h.appendChild(document.createTextNode(CMCDateTimeHelpers.ToUIString(g)));h.style.fontFamily=CMCFlareStylesheet.LookupValue("Control",s,"TimestampFontFamily","Arial");h.style.fontSize=CMCFlareStylesheet.LookupValue("Control",s,"TimestampFontSize","10px");h.style.fontWeight=CMCFlareStylesheet.LookupValue("Control",s,"TimestampFontWeight","normal");h.style.fontStyle=CMCFlareStylesheet.LookupValue("Control",s,"TimestampFontStyle","italic");h.style.color=CMCFlareStylesheet.LookupValue("Control",s,"TimestampColor","#000000");n.appendChild(h)}n.style.marginLeft="16px";o.appendChild(n);var a=FMCGetChildNodeByTagName(q,"Body",0);if(a){var d=a.childNodes[0];if(d){var b=d.nodeValue;var c=document.createElement("div");c.appendChild(document.createTextNode(b));c.style.marginLeft="16px";c.style.fontFamily=CMCFlareStylesheet.LookupValue("Control",s,"BodyFontFamily","Arial");c.style.fontSize=CMCFlareStylesheet.LookupValue("Control",s,"BodyFontSize","10px");c.style.fontWeight=CMCFlareStylesheet.LookupValue("Control",s,"BodyFontWeight","normal");c.style.fontStyle=CMCFlareStylesheet.LookupValue("Control",s,"BodyFontStyle","normal");c.style.color=CMCFlareStylesheet.LookupValue("Control",s,"BodyColor","#000000");o.appendChild(c)}}r.appendChild(document.createElement("br"));var e=FMCGetChildNodeByTagName(q,"Comments",0);if(p){CMCFlareStylesheet.SetImageFromStylesheet(l,"Control",s,"Icon","Images/CommentReply.gif",16,16);TopicComments_Build(e,r,m+16)}else{CMCFlareStylesheet.SetImageFromStylesheet(l,"Control",s,"Icon","Images/Comment.gif",16,16)}j.appendChild(r)}}var gRefreshCount=0;function TopicComments_RefreshComments(a){if(FMCIsSkinPreviewMode()){return}if(!a){a=window.event}gRefreshCount++;var b=document.getElementById("MCLoadingImage");if(b==null){b=document.createElement("img");b.id="MCLoadingImage";b.src="Images/LoadingAnimated.gif";b.style.width="16px";b.style.height="16px";b.style.position="absolute";b.style.top="5px";b.style.left="5px";document.body.insertBefore(b,document.body.childNodes[0])}gSelectedComment=null;if(FMCIsHtmlHelp()){FMCRegisterCallback("Persistence",MCEventType.OnInit,function(d){var e=FMCLoadUserData("LiveHelpUserGuid");gServiceClient.GetTopicComments(gTopicID,e,null,GetTopicCommentsOnComplete,gRefreshCount)},null)}else{var c=FMCReadCookie("LiveHelpUserGuid");gServiceClient.GetTopicComments(gTopicID,c,null,GetTopicCommentsOnComplete,gRefreshCount)}}function AddComment(a){if(!a){a=window.event}if(gTopicID!=null){FMCPostMessageRequest(MCGlobals.BodyFrame,"open-comment-dialog",[false,null,null],null,function(){MCGlobals.BodyFrame.FMCOpenCommentDialog(false,null,null)})}}function ReplyComment(b){if(!b){b=window.event}if(gSelectedComment==null){alert("Please select a comment to reply to.");return}var a=gSelectedComment.getElementsByTagName("div")[2].firstChild.nodeValue;var c=FMCGetAttribute(gSelectedComment,"MadCap:commentID");FMCPostMessageRequest(MCGlobals.BodyFrame,"open-comment-dialog",[true,a,c],null,function(){MCGlobals.BodyFrame.FMCOpenCommentDialog(true,a,c)})}var gSelectedComment=null;function TopicComments_CommentOnclick(f){if(!f){f=window.event}if(gSelectedComment){var c=FMCGetMCAttribute(gSelectedComment,"MadCap:bgColor");var d=FMCGetMCAttribute(gSelectedComment,"MadCap:bgColorSelected");gSelectedComment.setAttribute("MadCap:bgColor",d);gSelectedComment.setAttribute("MadCap:bgColorSelected",c);gSelectedComment.style.backgroundColor=d}var a=FMCGetMCAttribute(this,"MadCap:bgColor");var b=FMCGetMCAttribute(this,"MadCap:bgColorSelected");this.setAttribute("MadCap:bgColor",b);this.setAttribute("MadCap:bgColorSelected",a);this.style.backgroundColor=b;gSelectedComment=this}function TopicComments_OnMessage(b){var m=b.data.split(gMessageSeparator);var k=m[0];var g=m[1];var h=m[2];var j=m[3];var a=null;if(!String.IsNullOrEmpty(h)){a=h.split(gDataSeparator);for(var d=0,f=a.length;d0?n:null,j)});c=true;l=false}else{if(g=="refresh-comments"){TopicComments_RefreshComments();c=true}}if(c){if(l){FMCPostMessageResponse(b.source,g,n.length>0?n:null,j)}}}}if(gRuntimeFileType=="TopicComments"){var gInit=false;var gTopicID=null;if(FMCIsChromeLocal()){window.addEventListener("message",TopicComments_OnMessage,false)}};