var now_active;
var last_children;

function mouseIn (element, id) {
	if (!document.getElementById('children_' + id))
		return;

	if (now_active) {
		now_active.className = 'menuelementA';
	}

//	if (last_children)
//		last_children.style.display = 'none';
//	last_children = document.getElementById('children_' + id);
//	if (last_children)
//		last_children.style.display = '';

	document.getElementById('javascript_menu_target').innerHTML = document.getElementById('children_' + id).innerHTML;
	element.className = 'menuelementB';
	now_active = element;
}


