function obj(obj_id) {
	// get object with <id>
	return document.getElementById(obj_id);
}

function show_hide_ul(obj) {
//	alert(obj.parentNode.parentNode.getElementsByTagName('ul')[0]);
//	show_hide(obj.parentNode.parentNode.getElementsByTagName('ul')[0]);
	obj2 = obj;
	do {
		obj2 = obj2.parentNode;
	} while (!obj2.getElementsByTagName('ul')[0]);
	obj2 = obj2.getElementsByTagName('ul')[0];
	obj2.style.display = ( obj2.style.display == 'block' ? 'none' : 'block' );
	obj.innerHTML = ( obj2.style.display == 'block' ? '-' : '+' );
}

function show_hide_ul2(cat_id) {
	ul = document.getElementById('ul' + cat_id);
	link = document.getElementById('href' + cat_id);

	ul.style.display = ( ul.style.display == 'block' ? 'none' : 'block' );
	link.innerHTML = ( ul.style.display == 'block' ? '-' : '+' );
} 

function show_hide(obj) {
}


