function showAll() {
for (i=firstInd; i<document.layers.length; i++) {
whichEl = document.layers[i];
whichEl.visibility = "show";    }}

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 {divColl = document.all.tags("DIV");
for (i=0; i<divColl.length; i++) {whichEl = divColl(i);
if (whichEl.className == "child") whichEl.style.display = "none";}}}

function expandIt(el) {
if (!ver4) return;
if (IE4) {whichEl = eval(el + "Child");
img = eval("i" + el);
if (whichEl.style.display == "none") {whichEl.style.display = "block";
img.src = "pic/m.gif"; }
else {whichEl.style.display = "none";
img.src = "pic/p.gif";}}
else {whichEl = eval("document." + el + "Child");
whichIm = eval("document." + el + "Parent.document.images['i" + el +"']");
if (whichEl.visibility == "hide") {whichEl.visibility = "show";
whichIm.src = "pic/m.gif";}
else {whichEl.visibility = "hide";
whichIm.src = "pic/p.gif";}
arrange();}}