$(document).ready(function() {
	$("a.zoom").fancybox();

	$("a.zoom1").fancybox({
		'overlayOpacity'	:	0.7,
		'overlayColor'		:	'#FFF'
	});

	$("a.zoom2").fancybox({
		'zoomSpeedIn'		:	500,
		'zoomSpeedOut'		:	500
	});
});
 function onPrint()
{
    window.open("print.asp","wPrint","left=0,top=0,width=700px,height=600px,scrollbars=yes,location=no,resizable=yes,statusbar=no,menubar=yes");
}

jQuery.easing.easeOutQuart = function (x, t, b, c, d) {
	return -c * ((t=t/d-1)*t*t*t - 1) + b;
};

jQuery(function( $ ){

$('#slideshow').serialScroll({
		items:'li',
		prev:'#slider_left',
		next:'#slider_right',
		offset:-7, //when scrolling to photo, stop 230 before reaching it (from the left)
		start:0,
		duration:1000,
		force:true,
		stop:true,
		lock:false,
		lazy:false,
		axis:'x',
		cycle:true,
		step:1,
		easing:'easeOutQuart', //use this easing equation for a funny effect
		jump:false,
		exclude:1,
		interval:3000
	});
	
});