downing2 = false;
timeout_id2 = 0;

downing3 = false;
timeout_id3 = 0;

downing4 = false;
timeout_id4 = 0;

downing5 = false;
timeout_id5 = 0;

$(document).ready(function() {

$("#section2").mouseenter(function(){
	if (!downing2) {$( "#item2" ).slideDown(80, function() {} ); clearTimeout(timeout_id2);}
}).mouseleave(function(){
	timeout_id2 = setTimeout( function() { downing2=true; $( "#item2" ).animate( {height:1}, 40, function() {$("#item2").hide(); $("#item2").css( "height", "auto"); downing2=false; } );  } , 0 );
});

$("#section3").mouseenter(function(){
	if (!downing3) {$( "#item3" ).slideDown(80, function() {} ); clearTimeout(timeout_id3);}
}).mouseleave(function(){
	timeout_id3 = setTimeout( function() { downing3=true; $( "#item3" ).animate( {height:1}, 40, function() {$("#item3").hide(); $("#item3").css( "height", "auto"); } ); downing3=false; } , 0 );
});

$("#section4").mouseenter(function(){
	if (!downing4) {$( "#item4" ).slideDown(80, function() {} ); clearTimeout(timeout_id4);}
}).mouseleave(function(){
	timeout_id4 = setTimeout( function() { downing4=true; $( "#item4" ).animate( {height:1}, 40, function() {$("#item4").hide(); $("#item4").css( "height", "auto"); } ); downing4=false; } , 0 );
});

$("#section5").mouseenter(function(){
	if (!downing5) {$( "#item5" ).slideDown(80, function() {} ); clearTimeout(timeout_id5);}
}).mouseleave(function(){
	timeout_id5 = setTimeout( function() { downing5=true; $( "#item5" ).animate( {height:1}, 40, function() {$("#item5").hide(); $("#item5").css( "height", "auto"); } ); downing5=false; } , 0 );
});

});

