var menu_status = new Array();

function showHide(theid, signid){
	if (document.getElementById) {
		var switch_id = document.getElementById(theid);
		var sign = document.getElementById(signid);
		var rembot = false;
		if(sign.className == "rembot") {
			rembot = true;
			var parentele = sign.parentNode;
		}

		if(menu_status[theid] != 'show') {
			switch_id.className = switch_id.className.replace('hide', 'show');
			menu_status[theid] = 'show';
			sign.innerHTML = '...less';
			if(rembot) {
				parentele.className = parentele.className + " nobottom";
			}
		}
		else{
			switch_id.className = switch_id.className.replace('show', 'hide');
			menu_status[theid] = 'hide';
			sign.innerHTML = 'show me again';
			if(rembot) {
				parentele.className = parentele.className.replace(' nobottom', '');
			}
		}
		if(typeof resetRelative == 'function') {
			resetRelative();
		}
	}
}

