//here you place the ids of every element you want.
var ids=new Array();
var i;
for(i=0;i<92;i++)
{
	ids['i'] ='i';
}
function switchid(id)
{
	showdiv(id);
}
function switchid_off(id)
{
	hidediv(id);
}

function hideallids(){
	//loop through the array and hide each element by id
	for (var i=0;i<ids.length;i++){
		hidediv(ids[i]);
	}
}

function hidediv(id)
{
	document.getElementById(id).style.display = 'none';
}

function showdiv(id)
{
	document.getElementById(id).style.display = 'block';
	
}

