$(function() {
	var 
		$test4 = $('#test4'),
		$caption = $('div.caption'),
		$pause = $('#pause'),
		$resume = $('#resume'),
		$freeze = $('#freeze'),
		$stop = $('#stop'),
		$restart = $('#restart'),
		STOP = 1, RUN = 2, PAUSE = 3;

	

	$test4.crossSlide({
		loop: 1,
		fade: .25,
		variant: true,
		easing: 'easeInOutExpo'
	}, [
		{
			src:  'images/003.gif',
			from: '50% 50%',
			to:   '50% 50%',
			time: .1
		},{
			src:  'images/002.gif',
			from: '50% 50% .1x',
			to:   '10% 50% 1x',
			time: 3
		}, {
			src:  'images/001.gif',
			from: '50% 50% .1x',
			to:   '50% 50% 1x',
			time: 3
		}, {
			src:  'images/001.gif',
			from: '50% 50%',
			to:   '50% 50%',
			time: 4
		}
	]);
});

