var show = function(id, type){
	if (!type) type = 'table';
	var list = document.getElementById(id);

	
	
	if ((list.style.display == 'none')||(!list.style.display)){
		list.style.display = type;
	}
	
	
	else if(list.style.display == type){
		list.style.display = 'none';
	}	
	
}


