var plusImg = new Image();
plusImg.src = "./images/gif/plus.gif"

var minusImg = new Image();
minusImg.src = "./images/gif/minus.gif"

function hideLevel(levelId, imgId) {
	var thisLevel = document.getElementById(levelId);
	var thisImg = document.images[imgId];

	thisLevel.style.display = "none";
	thisImg.src = plusImg.src;
}

function showLevel(levelId, imgId) {
	var thisLevel = document.getElementById(levelId);
	var thisImg = document.images[imgId];
	
	if (thisLevel.style.display == "none") {
		thisLevel.style.display = "block";
		thisImg.src = minusImg.src;
	}
	else {
		hideLevel(levelId, imgId);
	}
}

function hideAll() {
	//hideLevel("martialArts", "martialArtsImg");
	//hideLevel("aboutMePages", "aboutMePagesImg");
	//hideLevel("professional", "professionalImg");
	//hideLevel("randomStuff", "randomStuffImg");
	
	// External links
	//hideLevel("computer", "computerImg");
	//hideLevel("maLinks", "maLinksImg");
}