function show(typ,id) {
	var catname = typ + "_" + id;
	var catitems = catname + "_itms";
	var arrCats, arrCat, arrCatItms;
	
	if (document.getElementById(catitems)) {
		var obj_catname = document.getElementById(catname);
		var obj_catitems = document.getElementById(catitems);
	
		if ((obj_catitems.style.display == "none") || (obj_catitems.style.display == "")) {
			obj_catitems.style.display = "block";
			obj_catname.className = "hlite";	
	
			if (typ == "m") { arrCats = m;	}
			else if (typ == "s") { arrCats = s; }
			
			//hide all other cats
			for (var i=0; i<arrCats.length; i++) {
				arrCat = arrCats[i];
				arrCatItms = arrCat + "_itms"; 
				if (arrCatItms != catitems) {					
					if (document.getElementById(arrCatItms)) {
						document.getElementById(arrCatItms).style.display = "none";
					}
					document.getElementById(arrCat).className = "";
				}
			}
		}
		else {
			obj_catitems.style.display = "none";
			obj_catname.className = "";
		}
	}
}