var time = 500;
	var timeout;
	
	function hider_1(){
		  timeout =	setTimeout('hider1()',time);
	}
	
	function hider_2(){
		  timeout =	setTimeout('hider2()',time);
	}
	
	function hider1(){
		document.getElementById('menidrop1').style.display = 'none';
	}
	
	function hider2(){
		document.getElementById('menidrop2').style.display = 'none';
	}
	
	function showSub1(){
		clearTimeout(timeout);
		document.getElementById('menidrop1').style.display = 'block';
		hider2();
				document.getElementById('menidrop1').onmouseover = function(){
						clearTimeout(timeout);
						
				}
				document.getElementById('menidrop1').onmouseout = function(){
						timeout =	setTimeout('hider1()',time);
				}
	}
	
	function showSub2(){
		clearTimeout(timeout);
		document.getElementById('menidrop2').style.display = 'block';
		hider1();
				document.getElementById('menidrop2').onmouseover = function(){
						clearTimeout(timeout);
						
				}
				document.getElementById('menidrop2').onmouseout = function(){
						timeout =	setTimeout('hider2()',time);
				}
	}
