in src/components/nms/msdoc/1.6.0/vs2005/Output/scripts/script_manifold.js [218:276]
function LoadPage()
{
// If not initialized, grab the DTE.Globals object
if (globals == null)
globals = GetGlobals();
// docSettings has settings for the current document,
// which include persistent and non-persistent keys for checkbox filters and expand/collapse section states
// persistKeys is an array of the checkbox ids to persist
if (docSettings == null)
{
docSettings = new Array();
persistKeys = new Array();
}
if (!sectionStatesInitialized)
InitSectionStates();
var imgElements = document.getElementsByName("toggleSwitch");
for (i = 0; i < imgElements.length; i++)
{
if ((sectionStates[imgElements[i].id] == "e"))
ExpandSection(imgElements[i]);
else
CollapseSection(imgElements[i]);
}
SetCollapseAll();
// split screen
mainSection = document.getElementById("mainSection");
if (!mainSection)
mainSection = document.getElementById("mainSectionMHS");
var screen = new SplitScreen('header', mainSection.id);
// init devlang filter checkboxes
SetupDevlangsFilter();
// init memberlist filter checkboxes for protected, inherited, etc
SetupMemberOptionsFilter();
// init memberlist platforms filter checkboxes, e.g. .Net Framework, CompactFramework, XNA, Silverlight, etc.
SetupMemberFrameworksFilter();
// removes blank target from in the self links for Microsoft Help System
RemoveTargetBlank();
// set gardien image to the bottom of header or Microsoft Help System
SetBackground('headerBottom');
// vs70.js did this to allow up/down arrow scrolling, I think
try { mainSection.setActive(); } catch(e) { }
//set the scroll position
try{mainSection.scrollTop = scrollPos;}
catch(e){}
}