var currentindex = -1;

function showsss(index) {
	if (currentindex > -1) {
		document.getElementById("sss" + currentindex).style.display = "none";
	}
	document.getElementById("sss" + index).style.display = "block";
	currentindex = index;
}

