$(function() {
	var 	$caption = $('div.caption'),
		   		$caption2 = $('div.caption2'),
		   		captions = ['Simply....', 'Harlano Weekes', 'Adeola Ranson', 'Jerry Logan', 'Michael Patrick', 'Amanda Brown', 'Lawrence Insula', 'Terron Murray'],
				captions2 = ['Great Music!!', 'Piano & Vocals', 'Vocals', 'Bass', 'Guitar', 'Drums', 'Bass', 'Drums'];
$('#featuregal').crossSlide({
  fade: 2
}, [
  {
    src:  'images/galleries/slideshow/members/mixed/ckbandbanner.png',
	href:  'members.php#Harlano',
	from: '0% 0% 1x',
	to:   '0% 0% 1x',
    time: 5, 
  },   {
    src:  'images/galleries/slideshow/members/mixed/harlano.jpg',
	href:  'members.php#Harlano',
	from: '70% 30% 1x',
	to:   '76% 0% 1.7x',
    time: 3
  }, {
    src:  'images/galleries/slideshow/members/mixed/adeola.jpg',
	href:  'members.php#Adeola',
	from: '21% 39% 1.62x',
	to: '1% 1% 1.45x',
	time: 3
  }, {
    src:  'images/galleries/slideshow/members/mixed/jerry.jpg',
	href:  'members.php#Jerry',
	from: '31% 73% 1.71x',
	to: '51% 1% 1.82x',
	time: 3
	}, {
    src:  'images/galleries/slideshow/members/mixed/michael_j.jpg',
	href:  'members.php#Michael_j',
	from: '22% 28% 1.87x',
	to: '47% 21% 1x',
	time: 3
	}, {
    src:  'images/galleries/slideshow/members/mixed/amanda.jpg',
	href:  'members.php#Amanda',
	from: '29% 99% 1x',
	to: '99% 1% .81x',
	time: 3
	}, {
    src:  'images/galleries/slideshow/members/mixed/lawrence.jpg',
	href:  'members.php#Lawrence',
	from: '75% 39% .98x',
	to: '72% 8% .75x',
	time: 3
	}, {
    src:  'images/galleries/slideshow/members/mixed/terron.jpg',
	href:  'members.php#Terron',
	from: '57% 31% 1.55x',
	to: '66% 10% 1x',
	time: 3
  }
], 
function(idx, img, idxOut, imgOut) {
  if (idxOut == undefined)
  { 
	$caption.text(captions[idx]).animate({ opacity: .7 },1000, 'swing', function (){  
	$caption2.text(captions2[idx]).animate({ opacity: .7 },1250, 'linear', function (){  
		$caption2.animate({ opacity: 0 },1000, 'linear', function (){  
	$caption.animate({ opacity: 0 },750 )

																				  })
																				  })
																				  });
	}
});
$caption.show().css({ opacity: 0 })
$caption2.show().css({ opacity: 0 })
});
