/**
 *
 * @access public
 * @return void
 **/
function jvHref(cId, page) {
    window.location.href = page + cId;
}

/**
 *
 * Change state of menu item "id" and show submenu
 * with "top" on "vIndex".
 *
 * @access public
 * @return void
 **/
function hoverHandle(groupID, id, state, vIndex) {
	document.getElementById(id).className = 'single_grp' + state;
	document.getElementById('menur').style.top = (vIndex * 26) + 'px';

	if (document.getElementById('group_fold_' + document.getElementById('id_factory').className)) {
		document.getElementById('group_fold_' + document.getElementById('id_factory').className).style.display = 'none';
	}

	document.getElementById('group_fold_' + groupID).style.display = 'block';
	document.getElementById('id_factory').className = groupID;

	return true;
}

