//jQuery(function($) {
//// $('ul#nav li').ahover();
////  $('ul#nav li').ahover({toggleEffect: 'width'});
//    $('ul.nav-sub li').ahover({moveSpeed: 100, hoverEffect: function() {
//        $(this)
//            .css({opacity: 0.99})
//            .animate({opacity: 0.5}, 750)
//            .animate({opacity: 0.99}, 750)
//            .dequeue();
//        $(this).queue(arguments.callee);
//    }});
//  //$('ul.nav-sub li').ahover({toggleEffect: 'height', moveSpeed: 75, toggleSpeed: 250});
//});
//  $(document).ready(function(){  
//         $("ul.logo li a").hover(function() {  
//                 $(this).stop().animate({ color: '#fff'}, 800);  
//                 },function() {  
//                 $(this).stop().animate({ color: '#fe7b06'}, 800);  
//              });
////		$("ul.logo li a, ").hover(function() {  
////                 $(this).stop().animate({ backgroundColor: "none"}, 800);  
////                 },function() {  
////                 $(this).stop().animate({ backgroundColor: "#f3f3f3"}, 800);  
////              });   
//		$("ul.mainNav li a, ").hover(function() {  
//                 $(this).stop().animate({ backgroundColor: "#be0000"}, 800);  
//                 },function() {  
//                 $(this).stop().animate({ backgroundColor: "#f3f3f3"}, 800);  
//              });   
//     });  // ul.mainNav li a
//	 



// adapted from http://www.incg.nl/blog/2008/hover-block-jquery
    // and http://greg-j.com/static-content/hover-fade-redux.html
    $(document).ready(function() {
      $('ul.mainNav li a').hover(
        function () {
          $(this).animate({backgroundColor:'#8ebabf', color:'#ffffff'}, {queue:false,duration:500});
        }, function () {
          $(this).animate({backgroundColor:'#f3f3f3', color:'#759783'}, {queue:false,duration:500});
        });
		
    });
	$(document).ready(function(){
	$("a img.wp-image-1212, a img.wp-image-1213, ul.logo a").hover(
	function() {
	$(this).stop().animate({"opacity": "0.8"}, "slow");
	},
	function() {
	$(this).stop().animate({"opacity": "1"}, "slow");
	});
	 $(" ul.logo a").hover(
	function() {
	$(this).stop().animate({"opacity": "0.5"}, "slow");
	},
	function() {
	$(this).stop().animate({"opacity": "1"}, "slow");
	});
	});
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
