var toggle = new Array();
var vheight = "100%";
function sizeAnalyze() {
	// Take all the boxes within css and create a max size array
	var x = 0;
	while(document.getElementById("dir"+x)!=null) {
		toggle[x] = 0;
		x++;
	}
}

function zToggle(DIR) {
	// Take a css box and minize it to display only the directory
	if(toggle[DIR]==0) {
		document['img'+DIR].src = "./images/min.png";
		document.getElementById("dir"+DIR).style.height=vheight;
		toggle[DIR] = 1;
	} else {
		document['img'+DIR].src = "./images/max.png";
		document.getElementById("dir"+DIR).style.height="30px";
		toggle[DIR] = 0;
	}
}

