$(document).ready(function() {
    $('#stage1').cycle({
		fx: 'fade', // choose your transition type, ex: fade, scrollUp, shuffle, etc...
		speed: 2000,
		timeout: 10000,
		pause: 0,
		slideExpr: '.content'
		
	});	
	
	$(".home, .about, .musings, .contact")
        .find("span")
        .animate({opacity:0})
		.end()
        .hover(function() {
        $(this).find("span").stop().animate({opacity:1});
         }, function() {
        $(this).find("span").stop().animate({opacity:0});
    });

		//Sliding Boxes options

				$('.circle').mosaic({
					opacity		:	0.8			//Opacity for overlay (0-1)
				});
				
				$('.fade').mosaic();
				
				$('.bar').mosaic({
					animation	:	'slide'		//fade or slide
				});
				
				$('.bar2').mosaic({
					animation	:	'slide',		//fade or slide
					anchor_y	:	'bottom'
				});
				
				$('.bar3').mosaic({
					animation	:	'slide',	//fade or slide
					anchor_y	:	'top'		//Vertical anchor position
				});
				
				$('.coverleft').mosaic({
					animation	:	'slide',	//fade or slide
					hover_x		:	'-300px'		//Horizontal position on hover
				});
				
				$('.coverright').mosaic({
					animation	:	'slide',	//fade or slide
					hover_x		:	'300px'		//Horizontal position on hover
				});
				
				$('.coverup').mosaic({
					animation	:	'slide',	//fade or slide
					hover_y		:	'230px'		//Horizontal position on hover
				});
				
				$('.cover2').mosaic({
					animation	:	'slide',	//fade or slide
					anchor_y	:	'top',		//Vertical anchor position
					hover_y		:	'80px'		//Vertical position on hover
				});
				
				$('.cover3').mosaic({
					animation	:	'slide',	//fade or slide
					hover_x		:	'-230px',	//Horizontal position on hover
					hover_y		:	'-300px'		//Vertical position on hover
				});
});


