
function FolderInit()
{
    tempColl = document.all.tags("div");
    for (i=0; i<tempColl.length; i++) {
	if (tempColl(i).className == "child") {
            tempColl(i).style.display = "none";
            im = eval('m' + parseInt(tempColl(i).id.substr(1)) + 'Coin');
        }
    }
}

function FolderExpand($ident) {
    Expanda = eval($ident + "a");
    Expanda.blur();
    ExpandChild = eval($ident + "Fils");
    ExpandFolder = eval($ident + "Coin");
    if (ExpandChild.style.display == "none") {
	ExpandChild.style.display = "block";

    } else {
	ExpandChild.style.display = "none";

    }
}

function FolderExpandAll() {
    tempColl = document.all.tags("div");
    for (i=0; i<tempColl.length; i++) {
	if (tempColl(i).className == "child") {
            tempColl(i).style.display = "block";
            im = eval('m' + parseInt(tempColl(i).id.substr(1)) + 'Coin');
            im.src = pict_ouv;
        }
    }
}

function FolderCloseAll() {
    tempColl = document.all.tags("div");
    for (i=0; i<tempColl.length; i++) {
	if (tempColl(i).className == "child") {
            tempColl(i).style.display = "none";
            im = eval('m' + parseInt(tempColl(i).id.substr(1)) + 'Coin');
        }
    }
}
