function showId(id){	
	hideallids();
	showdiv(id);
}

function hideallids(){
	//loop through the array and hide each element by id
	var container = document.getElementById("tips");
	var containerDivs = container.getElementsByTagName('div'); // get only the divs within the container div
	var i=0;
	
	for(var i;i<containerDivs.length;i++)
	{
			containerDivs[i].className='hide';
	}

}


function showdiv(id) {
		    var div = document.getElementById( id ); 
		    div.className='unhide';
	
}