//Javascript Document

function submenu_status(el_id, mode) {
	var parts= el_id.split( "_" );
	var sub_obj= document.getElementById( "sm_"+ parts[1]); if ( !sub_obj ) return;
	var item_obj= document.getElementById( "mm_"+ parts[1]); if ( !sub_obj ) return;
   	sub_obj.style.display= (mode==1) ? "block" : "none";
	item_obj.className= ( mode==1) ? "act" : "pas";
}
function note_status(el_id, mode) {
	var parts= el_id.split( "_" );
	var sub_obj= document.getElementById( "note_"+ parts[1]); if ( !sub_obj ) return;
	sub_obj.style.display= (mode==1) ? "inline" : "none";
	
	
}

