

function ShowHideLayer(boxID) {


	/* Obtain reference for the selected boxID layer and its button */
	var box = document.getElementById("collapseBox"+boxID);
	
	/* If the selected box is currently invisible, show it */
	if(box.style.display == "none" || box.style.display=="") {
		box.style.display = "block";
	}
	/* otherwise hide it */
	else {
		box.style.display = "none";
	}


 	if (document["img" + boxID].src.indexOf("collapsable-orangeArrow.png")!= -1) {	

		document["img" + boxID].src = "/templates/web_templates/theme/entropysoft/img/collapsable-greenArrow.png"; 
	}		
	else {
		document["img" + boxID].src = "/templates/web_templates/theme/entropysoft/img/collapsable-orangeArrow.png"; 
	}



}