window.onload=montre;
function montre(id) {
var d = document.getElementById(id);
	for (var i = 0; i<=10; i++) {
		if (document.getElementById('smenu'+i)) {document.getElementById('smenu'+i).style.display='none';}
	}
	if (d) {
		d.style.display='block';
	}
}

function init_bubble_menu() {
	var container = document.getElementById('bubble');
	var anchor = container.getElementsByTagName('a');
	
	
	for (var i=0; i<anchor.length; i++) {
		if(anchor[i].className != 'sep' && anchor[i].parentNode.className != 'active') {
			anchor[i].onmouseover = function() {
				this.parentNode.style.backgroundPosition = 'left bottom';
			}
			
			anchor[i].onmouseout = function() {
				this.parentNode.style.backgroundPosition = 'left top';
			}
		}
	}
}