	
	function uldropper(){
	lis=document.getElementById("menu").getElementsByTagName("li");
	for(i=0;i<lis.length;i++){ 

		if(lis[i].getElementsByTagName("ul")[0])
			{  
			lis[i].getElementsByTagName("a")[0].parentNode.className+=" arrow";
			lis[i].onmouseover=show;
			lis[i].onmouseout=hide; 
			}
		else
			{
			lis[i].onmouseover=show2;
			lis[i].onmouseout=hide2; 
			}
		}
	}

	function show(){
		this.className+=" over";
		this.getElementsByTagName("ul")[0].className+=" shown"; 
	} 
	
	function hide(){
		this.className=this.className.replace(" over", ""); 
		this.getElementsByTagName("ul")[0].className=this.className.replace(" shown", ""); 
	} 
	
	function show2(){ this.className="over"; } 
	
	function hide2(){ this.className=""; } 
	window.onload=uldropper;