function showHide(theid) {
	if (document.getElementById(theid).style.display == 'block') {
		document.getElementById(theid).style.display = 'none';
	}
	else if (document.getElementById(theid).style.display == 'none') {
		document.getElementById(theid).style.display = 'block';
	}
}

function changeClass(thisid) {
	var currentClass = document.getElementById(thisid).className;
	if (currentClass != "active") {
		document.getElementById(thisid).className = "active";
	}
	else {
		document.getElementById(thisid).className = "not-active";
	}
}

function lightbox(theid) {
	if (document.getElementById(theid).style.display == 'block') {
		document.getElementById(theid).style.display = 'none';
		document.getElementById("lightboxDimmer").style.display = 'none';
	}
	else if (document.getElementById(theid).style.display == 'none') {
		document.getElementById(theid).style.display = 'block';
		document.getElementById('lightboxDimmer').style.display = 'block';
		document.getElementById('lightboxDimmer').style.height = document.body.clientHeight+100+"px"
	}
}

function showDL(firstid,secondid) {
	showHide(firstid);
	changeClass(secondid);
}
