function showHideItem(myItem)
{	
	var myItem = document.getElementById(myItem);
	
	if(myItem.style.display != "block")
	{
		//items are currently displayed,so hide them
		myItem.style.display = "block";
	}
	else
	{
		//items are currently hidden, so display them
		myItem.style.display = "none";
	}
}	
function hideItem(myitem)
{
	if(document.getElementById(myitem))
		document.getElementById(myitem).style.display = "none";
}
function showItem(myitem)
{  
    if(document.getElementById(myitem))
	    document.getElementById(myitem).style.display = "block";
}
function showAllitems()
{	
	//Loop through each div running the ShowItem function to show the items
	for(var i = 1; i <= 100; i++)
			showItem('div'+i);	
}
function hideAllitems()
{	
	//Loop through each dive running the HideItem function to hide the items
	for(var i = 1; i <= 100; i++)
			hideItem('div'+i);	
}