$(document).ready( function() {		
	$("a.fbox").fancybox({});
	$().supersleight();
	
	$(function() {
		$("#datepicker").click(function(){
			$("#calendar").fadeIn("fast");
			$("#calendar").hover(function(){}, function(){$("#calendar").fadeOut("slow")});							
		});
	});
        
       
        $("#socialButtons a").hover(function(){
            
          $(this).children("span").animate({opacity: 'toggle', right: '100px'}, 1000);
        }, function(){
             $(this).children("span").animate({opacity: 'toggle', right: '0px'}, 1000);
        });
        
        
});


	
function changeDate(month, year, yopt){
		$.post("inc/ajax/wedding_calendar.php", {'month':month, 'year': year, 'yopt':yopt}, function(data){
			$("#calendar").html(data);												 
			});		
}
