// JavaScript Document
function hideall(object_id,additional_id){
	
	//loop through the array and hide each element by id
	for (var i=0;i<subs_mens.length;i++){
		if (object_id!='') {
			if (object_id==subs_mens[i]) {
				show_hide(subs_mens[i],true);
			} else show_hide(subs_mens[i], 'none');
		}
	}		  
}

function show_hide(tblid, show) {
		if (tbl = document.getElementById(tblid)) {
			if (show==true) tbl.style.display = ''; else tbl.style.display = 'none';  
		}
	}