// JavaScript Document
var __theDisplayName = new String();
function swapSection(pName)
{
	document.getElementById(__theDisplayName).style.display = 'none';
	document.getElementById(pName).style.display = 'block';
	__theDisplayName = pName;
	
}

function swapSectionHolder()
{
	return false;
}
function showMe(pThing)
{
	var myToc = new String();
	var mySubToc = new String();
	var firstChar = pThing.alt.charAt(0);
	myToc = pThing.id.substring(0,pThing.id.length-3);
	mySubToc = pThing.id.substring(0,pThing.id.length-3)+"sub";

	//Hide All The Open Ones
	coll = document.getElementById('stdNav').getElementsByTagName("div");
	
	
	for (i=0;i<coll.length;i++)
		{
			thisDiv = coll[i].className;
			if (thisDiv == 'tocMainExpanded')
			{
				coll[i].className = 'tocMain';
				document.getElementById(coll[i].id+"Img").alt = "Show" + document.getElementById(coll[i].id+"Img").alt.substring(4,document.getElementById(coll[i].id+"Img").alt.length);
				document.getElementById(coll[i].id+"sub").className = "tocHide";
				document.getElementById(coll[i].id+"sub").style.display = 'none';			

			}
		}
		
		if (firstChar == 'H')
			{
				pThing.alt = "Show" + pThing.alt.substring(4,pThing.alt.length);
				document.getElementById(myToc).className = "tocMain";
				document.getElementById(mySubToc).className = "tocHide";
				document.getElementById(mySubToc).style.display = 'none';			
	
				//document.getElementById(disp).innerHTML = '-';
			}
		else
		{
 				pThing.alt = "Hide" + pThing.alt.substring(4,pThing.alt.length);
 				document.getElementById(myToc).className = "tocMainExpanded";
 				document.getElementById(mySubToc).className = "tocShow";
 				document.getElementById(mySubToc).style.display = 'block';	
 		}
	}
