/**
* Functions that are included from the following CMT pages:
* - /c/inloggad_start
*/


// Show clicked layer and hide the others
// @param div to show
function hideOthers(divToShow) {
	var descriptionContent = document.getElementById("descriptionContent");
	var divs = descriptionContent.getElementsByTagName("div");
	for (var i = 0; i < divs.length; i++) {
		if (divs[i].className == 'description') {
			divs[i].style.display = 'none';
		}
	}
	if (divToShow != null) {
		divToShow.style.display = 'block';
	}
}
