(function ($) {
// VERTICALLY ALIGN FUNCTION
$.fn.vAlign = function() {
	return this.each(function(i){
	var ah = $(this).eq(i).height();
	var ph = $(this).eq(i).parent().height();
	var mh = (ph - ah) / 2;
	$(this).eq(i).css('margin-top', mh);
	});
};
})(jQuery);


function montre(id) {
	var d = document.getElementById(id);
	for (var i = 1; i<=2; i++) {
		if (document.getElementById('smenu'+i)) {document.getElementById('smenu'+i).style.display='none';}
	}
	if (d) {d.style.display='block';}
}