/* ############## */

function ytab_sw (arr_tabids, tabid_active) {
	for (e in arr_tabids) {
		t = arr_tabids[e];
		var obj = getObj(t);
		if (obj) {
			var obj_btn = getObj(t+'_button');
			if (t == tabid_active) {
				obj.style.display = 'block';
				obj_btn.className = 'ytab_sel';
			} else {
				obj.style.display = 'none';
				obj_btn.className = 'ytab';
			}
		}
	}
	return false;
}

function l01s (id) {	
	var obj = getObj(id);
	if (obj) {
		if (obj.style.display == 'block') {
			obj.style.display = 'none';
		} else {
			obj.style.display = 'block';
		}
	}
	return false;
}

