$(document).ready(function () {
	var h2 = $('.dropdown-menu.02').height();
	$('.menu-02').hover(
		
		function () {
			
			$('.dropdown-menu.02').animate({
				opacity: 1,
				height: h2
			},  {duration: 300, queue:false}); 
			
			return false;
		},
		function () {
			$('.dropdown-menu.02').stop().animate({
				opacity: 0,
				height: 'toggle'
			},  {duration: 300, queue:false});
			$('.dropdown-menu.02').height(h2);
			return false;
		}
	);
	
	var h1 = $('.dropdown-menu.01').height();
	$('.menu-01').hover(
		
		function () {
			
			$('.dropdown-menu.01').animate({
				opacity: 1,
				height: h1
			},  {duration: 300, queue:false}); 
			
			return false;
		},
		function () {
			$('.dropdown-menu.01').stop().animate({
				opacity: 0,
				height: 'toggle'
			},  {duration: 300, queue:false});
			$('.dropdown-menu.01').height(h1);
			return false;
		}
	);
	
	var h3 = $('.dropdown-menu.03').height();
	$('.menu-03').hover(
		
		function () {
			
			$('.dropdown-menu.03').animate({
				opacity: 1,
				height: h3
			},  {duration: 300, queue:false}); 
			
			return false;
		},
		function () {
			$('.dropdown-menu.03').stop().animate({
				opacity: 0,
				height: 'toggle'
			},  {duration: 300, queue:false});
			$('.dropdown-menu.03').height(h3);
			return false;
		}
	);
	
	var h4 = $('.dropdown-menu.04').height();
	$('.menu-04').hover(
		
		function () {
			
			$('.dropdown-menu.04').animate({
				opacity: 1,
				height: h4
			},  {duration: 300, queue:false}); 
			
			return false;
		},
		function () {
			$('.dropdown-menu.04').stop().animate({
				opacity: 0,
				height: 'toggle'
			},  {duration: 300, queue:false});
			$('.dropdown-menu.04').height(h4);
			return false;
		}
	);
	
	var h5 = $('.dropdown-menu.05').height();
	$('.menu-05').hover(
		
		function () {
			
			$('.dropdown-menu.05').animate({
				opacity: 1,
				height: h5
			},  {duration: 300, queue:false}); 
			
			return false;
		},
		function () {
			$('.dropdown-menu.05').stop().animate({
				opacity: 0,
				height: 'toggle'
			},  {duration: 300, queue:false});
			$('.dropdown-menu.05').height(h5);
			return false;
		}
	);
	
	var h6 = $('.dropdown-menu.06').height();
	$('.menu-06').hover(
		
		function () {
			
			$('.dropdown-menu.06').animate({
				opacity: 1,
				height: h6
			},  {duration: 300, queue:false}); 
			
			return false;
		},
		function () {
			$('.dropdown-menu.06').stop().animate({
				opacity: 0,
				height: 'toggle'
			},  {duration: 300, queue:false});
			$('.dropdown-menu.06').height(h6);
			return false;
		}
	);
	
})
