var Zcd=!1;function Zdd(){Zcd=!0}function Zed(a){if(null!=a){for(var b=a.nextSibling;b&&"LI"!=b.tagName&&"UL"!=b.tagName;)b=b.nextSibling;if(!b||"LI"==b.tagName)for(b=a.firstChild;b&&"UL"!=b.tagName;)b=b.nextSibling;return b}}function Zfd(a){a.stopPropagation();if(!Zcd){a=a.target;var b=Zed(a);b&&("treeopen"==a.className?(a.className="",b.className=""):(a.className="treeopen",b.className="treeleafcontainer"))}}var Zgd=void 0; function Zhd(a){if(a)for(a=a.firstChild;a;){if("LI"==a.tagName){for(var b=a.firstChild;b&&"A"!=b.tagName;)b=b.nextSibling;b&&"A"==b.tagName&&(ZA(b,"click",Zdd),document.location.href.split("?")[0]==b.href||document.location.href.split("#")[0]==b.href)&&(Zgd=b);(b=Zed(a))?(ZA(a,"click",Zfd),Zhd(b)):a.className="treeleaf"}a=a.nextSibling}}Zhd(Zed(Zt("sidebarcontainer"))); if(Zgd){Zgd.className="currentpagelink";for(var Z4=Zgd.parentNode.parentNode;Z4&&"UL"==Z4.tagName;){Z4.className="treeleafcontainer";for(var Z5=Z4.previousSibling;Z5&&"LI"!=Z5.tagName;)Z5=Z5.previousSibling;Z5&&"LI"==Z5.tagName&&(Z5.className="treeopen");Z4=Z4.parentNode}var Zid=Zgd.parentNode;if(!Zid.className){var Zjd=Zed(Zid);Zjd&&(Zid.className="treeopen",Zjd.className="treeleafcontainer")}} _DW_toggleSidebar=function(a){a=Zsc(a);CS_env.token&&ZP(CS_env.projectHomeUrl+"/w/setSidebarPref.do",Zba,{expanded:a?1:0})};function Zkd(a){a=ZK(a);var b=Zt("wikimaincol");b.innerHTML=a.preview_html;prettyPrint();gapi.plusone.go(b)}_DW_syncPreview=function(a){ZP(CS_env.projectHomeUrl+"/w/syncWikiPreviewJSON",Zkd,{content:a})};