// JavaScript Document
//alert(screen.availHeight);
function montre(id, rubrique) {
	var a = document.getElementById('smenu'+id);
	var b = document.getElementById('menu'+id);
	//alert (rubrique);
		for (var i = 1; i<=7; i++) {
			if (document.getElementById('smenu'+i)) {
				document.getElementById('smenu'+i).style.display='none';
				if(i!=rubrique) {document.getElementById('menu'+i).className='';}
			}
		}
	if (a) {
		a.style.display = 'block';
		b.className = 'active';
	}
}
function popup(page) {
	// ouvre une fenetre sans barre d'etat, ni d'ascenceur
	w = 670;
	h	= 600;
	var top=(screen.height-h)/2;
	var left=(screen.width-w)/2;
	myPopup = window.open(page,'popup','top='+top+', left='+left+', width='+w+', height='+h+', scrollbars=yes');	
	myPopup.focus();
}
// ouverture pop-up
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
