jQuery(document).ready(function() {
	
	
    var windowH = 0;
    var windowW = 0;
    
    function setWindowSizes(){
	    if (navigator.appName.indexOf("Microsoft")!=-1) {
	  		windowH = document.documentElement.offsetHeight;
	  		windowW = document.documentElement.offsetWidth;
	 	}
	 	else{
			windowH = window.innerHeight;
			windowW = window.innerWidth;
		}
	}
	
	
	setWindowSizes();
		
	// resize de la fenetre 
    $(window).resize(function(){
		setWindowSizes();
    });
	
	
   var _h = windowH;
   var col_r_h = $("#col-right").outerHeight();
   
   if(_h >= col_r_h){
	   var new_h = _h;
	}
	else{
		var new_h = col_r_h+25;
	}
   
   $('#layer').height(new_h);
   
   
   
   
   
   
   
   
   
   $("#second li ul li a.current").next("ul").show();

});
