$(document).ready(function(){
       
		var speedIn = "normal";
		var speedOut = "slow";
		
		$("li.navItem").hover(
      function () {
		 $(this).addClass("hovr");
		 }, 
      function () {
       $(this).removeClass("hovr");
      }
    );
		 
		$("#services").hover(
      function () {
		 $("#servicesdl").fadeIn(speedIn);
      }, 
      function () {
       hideRest();
      }
    );
		
		$("#ac").hover(
      function () {
       $("#acdl").fadeIn(speedIn);
      }, 
      function () {
       hideRest();
      }
    );
		
		$("#folio").hover(
      function () {
       $("#foliodl").fadeIn(speedIn);
      }, 
      function () {
       hideRest();
      }
    );
		
		$("#resources").hover(
      function () {
       $("#resourcesdl").fadeIn(speedIn);
      }, 
      function () {
       hideRest();
      }
    );
		
		$("#search").hover(
      function () {
       $("#searchdl").fadeIn(speedIn);
      }, 
      function () {
       hideRest();
      }
    );
		
		$("#contact").hover(
      function () {
       $("#contactdl").fadeIn(speedIn);
      }, 
      function () {
       hideRest();
      }
    );
		 
		 $(".navx").click(function(event){
         hideRest();
       });
		 
		 function hideRest()
		 {
			 	$("#servicesdl, #acdl, #foliodl, #resourcesdl, #searchdl, #contactdl").fadeOut(speedOut);
		}
     });