
var bV=parseInt(navigator.appVersion);
NS4=(document.layers) ? true : false;
IE4=((document.all)&&(bV>=4))?true:false;
ver4 = (NS4 || IE4) ? true : false;

function InitDJ($1) {
		for (i=0; i<$1; i++) {
			Expand = eval("m" + i + "Child");
			Expand.style.display = "none";
					}	
}

function FolderExpand($1,$2) {
	if (!ver4) return;
	if (IE4) { ExpandIE($1,$2) } 
	else { ExpandNS($1,$2) }
}

function ExpandIE($1,$2) {
	Expanda = eval($1 + "a");
	Expanda.blur();
	ExpandChild = eval($1 + "Child");
	if (ExpandChild.style.display == "none") {
			for (i=0; i<$2; i++) {
					Expand = eval("m" + i + "Child");
					Expand.style.display = "none";
					}	
			ExpandChild.style.display = "block";
	}
	else {
			ExpandChild.style.display = "none";
		}
}
	
with (document) {
	write("<STYLE TYPE='text/css'>");
	if (NS4) {
		write(".parent { color: black; font-size:9pt; line-height:0pt; color:black; text-decoration:none; margin-top: 0px; margin-bottom: 0px; position:absolute; visibility:hidden }");
		write(".child { text-decoration:none; font-size:9pt; line-height:15pt; position:absolute }");
	    write(".item { color: black; text-decoration:none }");
	}
	else {
		write(".parent { font: 10px; text-decoration: none; color: black }");
		write(".child { font: 10px; display:none }");
	    write(".icon { margin-right: 5 }")
	}
	write("</STYLE>");
}
