$(document).ready(function(){  
  
    //$("ul.subnav").parent().append("<span></span>"); //Only shows drop down trigger when js is enabled (Adds empty span tag after ul.subnav*)  
  	
    $("ul.itemnav li ").hover(function() { 
        $(this).find("ul.subnav").fadeIn('fast').show();
		$(this).addClass("arrowOver"); 
        $(this).hover(function() {}, function(){  
            $(this).find("ul.subnav").fadeOut('fast');
			$(this).removeClass("arrowOver");  
        });  
  
        //Following events are applied to the trigger (Hover events for the trigger)  
        }).hover(function() {  
            $(this).addClass("subhover"); //On hover over, add class "subhover"
			    
			
        }, function(){  //On Hover Out  
            $(this).removeClass("subhover"); //On hover out, remove class "subhover"  
			
			
    });
	$("ul.subnav").parent().addClass("arrow");
	
	$("ul.subnav li").hover(function(){
									   $(this).find("ul.subnav2").fadeIn('fast').show();
									   $(this).removeClass("subnav_arrow");
									   $(this).addClass("subnav_arrowOver");
									 	$(this).hover(function() {}, function(){  
														$(this).find("ul.subnav2").fadeOut('fast');
														$(this).removeClass("subnav_arrowOver");  
														});
									 
									 
									 },
									 function(){
																				 
									 });
	
	
  
}); 

