$('#prev, #next').css('opacity', '0');
$('#prev, #next').hover(
		function () {$(this).stop().animate({opacity: 1}, "fast");},
		function () {$(this).stop().animate({opacity: 0}, "slow");
	});
			
var n = $('#gallery a').size();
$('#gallery').cycle({ 
		fx:     'fade', 
		speed:  'slow', 
		timeout: 0,
		startingSlide: Math.floor(Math.random()*n),
		next:   '#next', 
		prev:   '#prev' 
	});

$(document).ready(function() {$('#gallery a').lightBox();});
