﻿// JScript File
        window.onload=montre;
        function montre(id) {
        var d = document.getElementById(id);
        for (var i = 1; i<=20; i++) {
        if (document.getElementById('smenu'+i)) {document.getElementById('smenu'+i).style.display='none';}
        }
        if (d) {d.style.display='block';}
        }

        sfHover = function() {
	        var sfEls = document.getElementById("menu").getElementsByTagName("LI");
	        for (var i=0; i<sfEls.length; i++) {
		        sfEls[i].onmouseover=function() {
			        this.className+=" sfhover";
		        }
		        sfEls[i].onmouseout=function() {
			        this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		        }
	        }
        }
        if (window.attachEvent) window.attachEvent("onload", sfHover);
      

        function toggle(id) {
           if (document.getElementById) {
               var cdiv = document.getElementById(id);
               if (cdiv) {
                   if (cdiv.className != 'minimized') cdiv.className = 'minimized';
                   else cdiv.className = '';
               }
           }
        }	

