function showDiv(div_id, index) {
	var currId; 
	if(currId != div_id) {
		
		for (var i=0; i<index.length; i++) 
			document.getElementById(index[i]).style.display = 'none'; 
			
		document.getElementById(div_id).style.display = 'block';     
	}
	currId = div_id; 
} 


function hideshow(id){
	if (document.getElementById(id).style.display == "block")
		document.getElementById(id).style.display = "none";
	else
		document.getElementById(id).style.display = "block";
}