startList = function() {
	if (document.all&&document.getElementById) {
		navRoot = document.getElementById("menu");
		for (i=0; i<navRoot.childNodes.length; i++) {
			node = navRoot.childNodes[i];
			if (node.nodeName=="LI") {
				node.onmouseover=function() {
					this.className+=" over";
				}
				node.onmouseout=function() {
					this.className=this.className.replace(" over", "");
				}
			}
		}
	}
}


function showHide(what){
	if (document.getElementById(what).className != "hidden"){
		document.getElementById(what).className = "hidden";
		//document.getElementById(lever).className="off";
	}else{
		document.getElementById(what).className = "";
		//document.getElementById(lever).className="on";
	}
}

function popWin(img, height, width){
	newheight=height+17
	newwidth=width+17
	window.open(img, "popImage", "height="+newheight+",width="+newwidth+",status=no,toolbar=no,directories=no,menubar=no,location=no,resizable=no,scrollbars=no" )
}

function popCal(page){
	
	window.open(page,'calculateur','height=630,width=800,status=no,toolbar=no,directories=no,menubar=no,location=no,resizable=no,scrollbars=yes');
}

window.onload= function(){
	startList();
}

