<!--
var bV=parseInt(navigator.appVersion);
NS4=(document.layers) ? true : false;
IE4=((document.all)&&(bV>=4)) ? true : false;
DOM=(!document.layers && !document.all && bV>=4) ? true : false;
capable = (NS4 || IE4 || DOM) ? true : false;

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 (NS4) {
		for (i=0; i<document.layers.length; i++) {
			whichEl = document.layers[i];
			if (whichEl.id.indexOf("Child") != -1) whichEl.visibility = "hide";
		}
//		arrange();
	} else if(IE4) {
		tempColl = document.all.tags("table");
		for (i=0; i<tempColl.length; i++) {
			if (tempColl(i).className == "child") tempColl(i).style.display = "none";
		}
	} else if(DOM) {
		tempColl = document.getElementsByTagName("table");
		for (i=0; i<tempColl.length; i++) {
			if (tempColl(i).className == "child") tempColl(i).style.visibility = "hidden";
		}
	}
}

function showItAll(){
	if (NS4) {
		for (i=0; i<document.layers.length; i++) {
			whichEl = document.layers[i];
			if (whichEl.id.indexOf("Child") != -1) whichEl.visibility = "hide";
		}
//		arrange();
	} else if(IE4) {
		tempColl = document.all.tags("table");
		for (i=0; i<tempColl.length; i++) {
			if (tempColl(i).className == "child") tempColl(i).style.display = "block";
		}
	} else if(DOM) {
		tempColl = document.getElementsByTagName("table");
		for (i=0; i<tempColl.length; i++) {
			if (tempColl(i).className == "child") tempColl(i).style.visibility = "hidden";
		}
	}
}

function expandIt(el) {
	if (!capable) return;
	if (IE4) {
    		expandIE(el);
	} else if(NS4) {
    		expandNS(el);
	} else if(DOM) {
		expandDOM(el);
  	}
}

function expandIE(el) {
	whichEl = eval(el + "Child");
	whichIm = eval(el+"Img");
	if (whichEl.style.display == "none") {
		whichEl.style.display = "block";
		//whichIm.src = "projecti2.files/up.gif";
  	} else {
		whichEl.style.display = "none";
		//whichIm.src = "projecti2.files/down.gif";
	}
	window.event.cancelBubble = true ;
}

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 = "projecti2.files/up.gif";
//	} else {
//		whichEl.visibility = "hide";
//		whichIm.src = "projecti2.files/down.gif";
//	}
//  	arrange();
}

function expandDOM(el) {
	whichEl = document.getElementById(el + "Child");
	whichIm = document.getElementById(el + "Img");
	if (whichEl.style.visibility != "visible") {
		whichEl.style.visibility = "visible";
		//whichIm.src = "projecti2.files/up.gif";
	} else {
		whichEl.style.visibility = "hidden";
		//whichIm.src = "projecti2.files/down.gif";
	}
}

function showAll() {
	for (i=firstInd; i<document.layers.length; i++) {
		whichEl = document.layers[i];
		whichEl.visibility = "show";
	}
}

function expandAll(isBot) {
	newSrc = (isExpanded) ? "projecti2.files/down.gif" : "projecti2.files/up.gif";
	if (NS4) {
    		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 if(IE4) {
		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;
		}
	} else if(DOM) {
		divColl = document.getElementsByTagName("DIV");
		for (i=0; i<divColl.length; i++) {
			if (divColl(i).className == "child") {
				divColl(i).style.visibility = (isExpanded) ? "hidden" : "visible";
			}
		}
		imColl = document.getElementsByName("imEx");
		for (i=0; i<imColl.length; i++) {
			imColl(i).src = newSrc;
		}
	}
	isExpanded = !isExpanded;
}

with (document) {
	if(DOM) {
		var lstyle = "<style type='text/css'>";
		lstyle += ".child {visibility:hidden}";
		lstyle += "</style>";
		write(lstyle);
	} else {
		write("<style type='text/css'>");
		if (NS4) {
			write(".child {visibility:hidden}");
			write(".parent {visibility:hidden}");
		} else if(IE4) {
			write(".child {display:none}");
		}
	write("</style>");
	}
}

//-->
