$(function(){
	$("#access ul.menu > li > a").hover(
  		function () {
    		$(this).css({"background": "#333","color": "#fff"});
  		}, 
  		function () {
    		$(this).css({"background": "#000","color": "#aaa"});
  		}
	)
	$("#access li").hover(
  		function () {
    		$(this).find("ul").css({"display": "block"});
    		if($(this).parent().attr("class") != "menu") {
    			$(this).parent().parent().find("a").css({"background": "#333","color": "#fff"});
    		}
    		
  		}, 
  		function () {
    		$(this).find("ul").css({"display": "none"});
  		}
	)
})
