/*
currIdx1 = 0;
currIdx2 = 0;
currIdx3 = 0;

$(document).ready(function() {
	$('#boat1').cycle({
		fx      : 'scrollHorz',
		speed   : 1000,
		timeout : 5000,
		after   : onAfter1
	});
	
	$('#boat2').cycle({
		fx      : 'scrollHorz',
		speed   : 1000,
		timeout : 5000,
		after   : onAfter2
	});
	
	$('#boat3').cycle({
		fx      : 'scrollHorz',
		speed   : 1000,
		timeout : 5000,
		after   : onAfter3
	});
	
	$('#arrowRight').click(function() {
		var rightIdx1 = currIdx1 + 1;
		if(rightIdx1 > numBoat1)
			rightIdx1 = 0;
	    $('#boat1').cycle(rightIdx1); 
	    
		var rightIdx2 = currIdx2 + 1;
		if(rightIdx2 > numBoat2)
			rightIdx2 = 0;
	    $('#boat2').cycle(rightIdx2); 
	    
		var rightIdx3 = currIdx3 + 1;
		if(rightIdx3 > numBoat3)
			rightIdx3 = 0;
	    $('#boat3').cycle(rightIdx3); 

	    return false; 	    	    
	});
	
	$('#arrowLeft').click(function() {
		var rightIdx1 = currIdx1 - 1;
		if(rightIdx1 < 0)
			rightIdx1 = numBoat1;
	    $('#boat1').cycle(rightIdx1); 

		var rightIdx2 = currIdx2 - 1;
		if(rightIdx2 < 0)
			rightIdx2 = numBoat2;
	    $('#boat2').cycle(rightIdx2); 
	    
		var rightIdx3 = currIdx3 - 1;
		if(rightIdx3 < 0)
			rightIdx3 = numBoat3;
	    $('#boat3').cycle(rightIdx3); 
	    	    	    
	    return false; 
	});
	
	
});

function onAfter1(curr, next, opts) {
	currIdx1 = opts.currSlide;
}

function onAfter2(curr, next, opts) {
	currIdx2 = opts.currSlide;
}

function onAfter3(curr, next, opts) {
	currIdx3 = opts.currSlide;
}
*/

$(function() {
    $('.photos a').lightBox();
});
