/* Author: BigNoise, Inc.

*/
$('#nav div.item a').hover(
	function(){
      $(this).css({position: "relative"}).prepend("<div class='nav-bg'></div>");
	  //$(this).animate({border: '1px solid #5F904A'}, 300);
      $('.nav-bg', this).css({
        backgroundColor: "#39542C",
        position: "absolute",
		top: '0px',
		left: '0px',
        zIndex: "-999",
        width: "100%",
        height: "100%",
        opacity: 0
      }).animate({opacity: 1}, 300);
      
    },
    function(){
      $('.nav-bg',this).fadeOut(300, function() {$(this).remove()});
	  //$(this).css('border','1px solid #39542C');
    }
	
	//$(this).stop().animate({backgroundColor: '#39542C'}, 200);
	//$(this).stop().animate({border: '-px solid #39542C'}, 200);
);

$('div.button a').mouseenter(function() {
	$(this).stop().animate({backgroundColor: '#E8EADE'}, 200);//animate({ color: "#D45915" }, 300);
});
$('div.button a').mouseleave(function() {
	$(this).stop().animate({backgroundColor: '#EEEFEA'}, 200);//animate({ color: "#D45915" }, 300);
});



Cufon.replace('#nav div.item a, div.button a, ul#subnav li a', { fontFamily: 'Gotham' });
Cufon.replace('p.callout-lg, h1, h2', { fontFamily: 'MrsEaves' });
Cufon.now();




