function toggleSection(D,C){var B=$(D.target||D.srcElement);var E=B.previousSiblings();var A=E.select(function(F){return F.tagName.toUpperCase()=="A"}).length;B.siblings().invoke("removeClassName","active");B.addClassName("active");if(!C){dsHistory.setQueryVar("p",B.innerHTML.replace(/\s{2,}/g,""));dsHistory.bindQueryVars(toggleSection.bind(window,{target:B}))}$$("#dsa-page-container > div").each(function(G,F){if(F==A){G.removeClassName("hidden-page")}else{if(!G.hasClassName("hidden-page")){G.addClassName("hidden-page")}}});sifrizeBody()}function init(){if(typeof dsHistory.QueryElements.p!="undefined"){$$("#sidemenu > a").each(function(A){if(A.innerHTML.replace(/\s{2,}/g,"")==dsHistory.QueryElements.p){toggleSection({target:A},true);dsHistory.addFunction(toggleSection,window,{target:A.identify()});throw $break}})}else{dsHistory.addFunction(toggleSection,window,{target:"dsa-sidemenu-introduction"})}}Event.observe(window,"load",init);