$(document).ready(function() { 
	$('ul.topmenu').superfish({ 
		delay:       800,                            // one second delay on mouseout 
		animation:   {opacity:'show',height:'show'},  // fade-in and slide-down animation 
		speed:       'normal',                          // faster animation speed 
		autoArrows:  true,                           // disable generation of arrow mark-up 
		dropShadows: false                            // disable drop shadows 
	}); 
}); 

$(function () {					
	$('.list-1 a.title')
	.hover(function(){
		$(this).find('strong')
		.stop().animate({width:'100%'}, {duration:300})
	}, function(){
		$(this).find('strong')
		.stop().animate({width:0, left:'100%'}, {duration:300, complete:function(){
			$(this).css({left:0})
		}})
	})
	
	$('.box')
	.hover(function(){
		$(this).addClass('alt');
		Cufon.refresh();
	}, function(){
		$(this).removeClass('alt');
		Cufon.refresh();
	})
	
	$('.box-3wide')
	.hover(function(){
		$(this).addClass('alt');
		Cufon.refresh();
	}, function(){
		$(this).removeClass('alt');
		Cufon.refresh();
	});
	
	
	$('.button-1 a').hover(function(){
	   $(this).stop().animate({backgroundColor:"#0065b3", color:"#ffffff"}, {duration: 250});
	  },function(){
	   $(this).stop().animate({backgroundColor:"#096c36", color:"#ffffff"}, {duration: 250});
	 });	
	
	$('.button-3').hover(function(){
	    $(this).stop().animate({backgroundColor:"#0065b3", color:"#ffffff"}, {duration: 250});
	  },function(){
	   $(this).stop().animate({backgroundColor:"#096c36", color:"#ffffff"}, {duration: 250});
	 });
});
