
<!--
var bV=parseInt(navigator.appVersion);
NS40=(document.layers) ? true : false;
IE40=((document.all)&&(bV>=4))?true:false;
ver4 = (NS40 || IE40) ? true : false;
if (document.images) {
arImLoad = new Array (
"../art/b_left_over",
"../art/b_left_down",
"../art/b_right_over",
"../art/b_right_down",
"triUp");
arImList = new Array ();
for (counter in arImLoad) {
arImList[counter] = new Image();
arImList[counter].src = arImLoad[counter] + ".gif";
}}

function expandIt(){return}
function expandAll(){return}

isExpanded = false;

function getIndex(el) {
	ind = null;
	for (i=0; i<document.layers.length; i++) {
		whichEl = document.layers[i];
		if (whichEl.id == el) {
			ind = i;
			break;
		}
	}
	return ind;
}

function arrange() {
	nextY = document.layers[firstInd].pageY + document.layers[firstInd].document.height;
	for (i=firstInd+1; i<document.layers.length; i++) {
		whichEl = document.layers[i];
		if (whichEl.visibility != "hide") {
			whichEl.pageY = nextY;
			nextY += whichEl.document.height;
		}
	}
}

function initIt(){
	if (NS40) {
		for (i=0; i<document.layers.length; i++) {
			whichEl = document.layers[i];
			if (whichEl.id.indexOf("Child") != -1) whichEl.visibility = "hide";
			
		}
		//arrange();
		
	}
	else {
		tempColl = document.all.tags("DIV");
		for (i=0; i<tempColl.length; i++) {
			if (tempColl(i).className == "child") tempColl(i).style.display = "none";
		}
	}
}

function expandIt(el) {
	if (!ver4) return;
	if (IE40) {expandIE(el)} else {expandNS(el)}
}

function expandIE(el) { 
	whichEl = eval(el + "Child");
	whichIm = event.srcElement;
	if (whichEl.style.display == "none") {
		whichEl.style.display = "block";
		whichIm.src = "triUp.gif";		
	}
	else {
		whichEl.style.display = "none";
		whichIm.src = "triDown.gif";
	}
}

function expandNS(el) {
	whichEl = eval("document." + el + "Child");
	whichIm = eval("document." + el + "Parent.document.images['imEx']");
	if (whichEl.visibility == "hide") {
		whichEl.visibility = "show";
		whichIm.src = "triUp.gif";
	}
	else {
		whichEl.visibility = "hide";
		whichIm.src = "triDown.gif";
	}
	arrange();
}

function showAll() {
	for (i=firstInd; i<document.layers.length; i++) {
		whichEl = document.layers[i];
		whichEl.visibility = "show";
	}
}

function expandAll(isBot) {
	newSrc = (isExpanded) ? "triDown.gif" : "triUp.gif";

	if (NS40) {
        document.images["imEx"].src = newSrc;
		for (i=firstInd; i<document.layers.length; i++) {
			whichEl = document.layers[i];
			if (whichEl.id.indexOf("Parent") != -1) {
				whichEl.document.images["imEx"].src = newSrc;
			}
			if (whichEl.id.indexOf("Child") != -1) {
				whichEl.visibility = (isExpanded) ? "hide" : "show";
			}
		}

		arrange();
		if (isBot && isExpanded) scrollTo(0,document.layers[firstInd].pageY);
	}
	else {
		divColl = document.all.tags("DIV");
		for (i=0; i<divColl.length; i++) {
			if (divColl(i).className == "child") {
				divColl(i).style.display = (isExpanded) ? "none" : "block";
			}
		}
		imColl = document.images.item("imEx");
		for (i=0; i<imColl.length; i++) {
			imColl(i).src = newSrc;
		}
	}

	isExpanded = !isExpanded;
}


function changeVisibility(el,styleProp)
{	
	el = el.replace("^","\'");
	
	var x = document.getElementById(el);
	if (x.currentStyle)
		var y = x.currentStyle["display"];
	else if (window.getComputedStyle)
		var y = document.defaultView.getComputedStyle(x,null).getPropertyValue("display");

	if (y == "block"){
		x.style.display="none";
		// commented out for Collens code, threw error since she isn't using images
		//document.getElementById(el+"Image").src = "triDown.gif";
		}
		else{
		x.style.display="block";
		// commented out for Collens code, threw error since she isn't using images
		//document.getElementById(el+"Image").src = "triUp.gif";
		}
}


//-->

