$(document).ready(function() {
	$('.job').append('<a class="previous" href="#">Previous</a><a class="next" href="#">Next</a>');
	
	$('.work-images').after('<div class="work-images-pagination clearfix"></div>');
	//$('#sojourn-images').after('<div class="sojourn-pagination clearfix"></div>');
	
	/*$('#healthways').before('<a href="#" id="next-project">Next Project ></a>');
	$('#sojourn').before('<a href="#" id="previous-project">< Previous Project</a>');*/
	
	$('.work-images').cycle({ 
	    fx:     'fade', 
	    speed:  'fast', 
	    timeout: 0, 
	    next:   '.next', 
	    prev:   '.previous',
		pager:  '.work-images-pagination'      
	});
	/*$('#sojourn-images').cycle({ 
	    fx:     'fade', 
	    speed:  'fast', 
	    timeout: 0, 
	    next:   '.next', 
	    prev:   '.previous',
		pager:  '.sojourn-pagination'      
	});*/
	
	$('a.lightbox').fancybox({
		overlayShow: true,
		overlayOpacity: .6,
		centerOnScroll: false,
		imageScale: false
	});
	
	/*$('#next-project').click(function() {
		$('#healthways').hide('slow', function() {
			$('#next-project').fadeOut('slow', function() {
					 $('#previous-project').fadeIn('slow');
			});
			
			$('#sojourn').fadeIn(400, function() {
				$('.healthways-pagination').fadeOut('fast', function() {
					$('.sojourn-pagination').fadeIn('fast');
				});
			});
		});
		return false;
	});
	
	$('#previous-project').click(function() {
		$('#sojourn').hide('slow', function() {
			$('#previous-project').fadeOut('slow', function() {
				$('#next-project').fadeIn('slow');
			});
			$('.sojourn-pagination').fadeOut('fast', function() {
				$('.healthways-pagination').fadeIn('fast');
			});
			$('#healthways').fadeIn('400');
		});
		return false;
	});*/
	
	/* Site Updates 10.24.10 - David Calhoun */
	/* Drop down "View projects" menu removed */
	/*$('.work-nav-container').hover(
		function() {
			$('.work-nav').show('fast')
		},
		function() {
			$('.work-nav').hide('fast')
		}
	);*/
	
});
