<!-- 





function addListener(element, baseName, handler)
	{
		if(element.addEventListener)
			element.addEventListener(baseName, handler, false);
		else if (element.attachEvent)
			element.attachEvent('on' + baseName, handler);
	}//addListener

function resize()
	{  
	if(document.body)
		{		 
			//alert('Salut');
			var screenWidth = (document.body.clientWidth);
      	var screenHeight = (document.body.clientHeight);
		}	
	if(window)
		{
			//alert('SalutB');
			var screenWidth  = (window.innerWidth);
			var screenHeight = (window.innerHeight);
		}




			//alert("Width :" + screenWidth + "; Height : " + screenHeight);   
          var heightCorrector = 267; /*to be adapted*/
          var widthCorrector = 321; /*to be adapted*/
          
       /* var menuBodyHeight = 430; /*a default value that should be considered as a minimal one*/ 
       /* var windowHeight = 420 ; /*a default value that should be considered as a minimal one*/ 

          if(screenHeight > 640) /*minimal value encountered with Opera Full screen in 1024*768*/
          	{
          	
          	 menuBodyHeight = screenHeight - heightCorrector;
          	 document.getElementById('mnubody').style.height = menuBodyHeight + "px";
      		
          	 windowCenterHeight = screenHeight - (heightCorrector + 10) + "px"; /*10 = correcteur spécifique pour passage de menu à wnd. evite une variable supplémentaire*/
          	//alert( menuBodyHeight);
          //	alert(windowCenterHeight);
          	 document.getElementById('Inwindow').style.height = windowCenterHeight;
          	 document.getElementById('wndCenterLeft').style.height = windowCenterHeight;
         	 document.getElementById('wndCenterMid').style.height = windowCenterHeight;
        	    document.getElementById('wndCenterRight').style.height = windowCenterHeight;          	
          	} 
          	
          var windowWidth = 700; /*a default value that should be considered as a minimal one*/
  
          if(screenWidth > 1030) /*approximately correspond to a 1024 width screen*/
          	{
          	 windowWidth = screenWidth - widthCorrector;
          	 var windowMidWidth = windowWidth - (2 * 6); /* il a des cotés plus fins : 6px*/
          	 var windowMidBorderWidth = windowWidth - (2* 36); /*il a des cotés normaux : 36px*/
          	 document.getElementById('Inwindow').style.width = windowWidth + "px";
          	 document.getElementById('wndUpMid').style.width = windowMidBorderWidth + "px";
         	 document.getElementById('wndCenterMid').style.width = windowMidWidth + "px";
        	    document.getElementById('wndDownMid').style.width = windowMidBorderWidth + "px";
          	}  
          
          document.getElementById('hider').style.visibility = "hidden";        	
          document.getElementById('hider').style.height = "0%";	
     }
        
//alert('coucou');        
addListener(window, 'load', resize);
addListener(window, 'resize', resize);
  	
  	
 -->