/*-------------------------------------------------------------------------------------
Style Switching JavaScript functions based on the code in the article located at 
- "http://www.alistapart.com/articles/alternate/" - 
Code is to be placed in the body of the document as follows:

In the Header

-A list of styleSheets (disabling them initially stops them from flashing, non-default sheets are labeled as alternate):

<link rel="stylesheet" href="/css/intranet_main_redesign_small.asp?step=0&menucolor=a00000" type="text/css" disabled="true" title="default"/>
<link rel="alternate stylesheet" href="/css/intranet_main_redesign_small.asp?step=2&menucolor=a00000" type="text/css" / disabled="true" title="plus2">

-A link to this document:

<script language="JavaScript" src="styleswitcher.js" type="text/javascript"></script>

In the Body:

-A link or button that calls the script and indicates which stylesheet to change to(by title):
<span class="cls_font_size_small"><a href="#" onclick="setActiveStyleSheet('default'); return false;">A</a></span> 
	

----------------------------------------------------------------------------------------*/



<!--// function used to close and open div blocks
function News_expandIt(whichEl){
    whichEl.style.display = (whichEl.style.display == "none" ) ? "" : "none";
	whichIm = event.srcElement;
	whichIm.src = (whichEl.style.display == "none" ) ? "/images/elements/b_arrow_plus.gif" : "/images/elements/b_arrow_minus.gif";
	}
	
	// function used to close and open div blocks
function Inet_expandIt(whichEl){
    whichEl.style.display = (whichEl.style.display == "none" ) ? "" : "none";
	whichIm = event.srcElement;
	whichIm.src = (whichEl.style.display == "none" ) ? "/images/elements/plus.gif" : "/images/elements/minus.gif";
	}
	
	//-->

<!--
function treeclick(a)
{
    a.parentNode.className = (a.parentNode.className == 'closed') ? 'open' : 'closed';
    return false;
}


function toggleVisibleStyle(element)
	{
	//alert (element + " is " + document.getElementById(element).style.display);
	if (document.getElementById(element).style.display=="block")
		{
		document.getElementById(element).style.display="none";
		}
	else 
		{
		document.getElementById(element).style.display="block";
		}
	}
function toggleVisible(element)
	{
	//alert (element + " is " + document.getElementById(element).className);
	if (document.getElementById(element).className=="CollapsibleContentDivHide")
		{
		//alert(document.getElementById(element).style.display);
		document.getElementById(element).className="CollapsibleContentDiv"
		}
	else 
		{
		//alert(document.getElementById(element).style.display);
		document.getElementById(element).className="CollapsibleContentDivHide"
		}
	}


//-->

