window.onload = setTimeout(function () {
for (i = 0, tocnames = document.getElementsByClassName("toctext"), tocheads = document.getElementsByClassName("collapseButton"); i < tocnames.length; i++) {
for (n = 0; n < tocheads.length; n++) if (tocheads.parentNode.getElementsByClassName("mw-headline").length && tocnames.innerHTML.trim() == tocheads.parentNode.getElementsByClassName("mw-headline").textContent.trim()) tocnames.parentNode.setAttribute("onclick", "if(" + (s = "document.getElementById('" + tocheads.childNodes.id + "')") + ".textContent=='show')" + s + ".click();");
if (tocnames.parentNode.href == window.location.href) h = i;
}
window.setTimeout('tocnames.click()', 99);
}, 99);