    $(document).ready(function() {
        var hide = false;
        $("#nav05").hover(function(){
            if (hide) clearTimeout(hide);
            $("#parents_nav").fadeIn();
        }, function() {
            hide = setTimeout(function() {$("#parents_nav").fadeOut("slow");}, 250);
        });
        $("#parents_nav").hover(function(){
            if (hide) clearTimeout(hide);
        }, function() {
            hide = setTimeout(function() {$("#parents_nav").fadeOut("fast");}, 250);
        });



        var hide = false;
        $("#nav02").hover(function(){
            if (hide) clearTimeout(hide);
            $("#news_nav").fadeIn();
        }, function() {
            hide = setTimeout(function() {$("#news_nav").fadeOut("slow");}, 250);
        });
        $("#news_nav").hover(function(){
            if (hide) clearTimeout(hide);
        }, function() {
            hide = setTimeout(function() {$("#news_nav").fadeOut("fast");}, 250);
        });



		$("#send_message").click(function() {
											
				
			var dataString = $("#contact").serialize();
			
			//alert(dataString);
			
			$.ajax({
			  type: "POST",
			  url: "lib/contact.php",
			  data: dataString,
			  success: function() {
				//$('#enewsletter').html("<div id='successful'></div>");
				$('#contact').html("<h3>Thank you!</h3>")
				.append("Your message has been sent to our admin staff.")
				.hide()
				.fadeIn(1500, function() {});
			  }
			 });
			return false;
		});



    });
// JavaScript Document
