$(document).ready(function() {
	$("a.zoom").fancybox();

	$("a.zoom1").fancybox({
		'overlayOpacity'	:	0.7,
		'overlayColor'		:	'#FFF'
	});

	$("a.zoom2").fancybox({
		'zoomSpeedIn'		:	500,
		'zoomSpeedOut'		:	500
	});
	$("a.zoom3").fancybox({
		'zoomSpeedIn'		:	500,
		'zoomSpeedOut'		:	500,
		'width'				:	600,
		'scrolling'			:	false
	});
});
 function onPrint()
{
    window.open("print.html","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( $ ){

$('#markaslide').serialScroll({
		items:'li',
		offset:-3, //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:0,
		interval:3000
	});
	
	$('#uslider').serialScroll({
		items:'li',
		offset:-3, //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:0,
		interval:3000
	});
	
});
