/*
RSG Home People Quotes : vertical slide
Author: Mitch Gohman
Date: 2011-09-14
With much love to JQuery - the javaScript browser equalizer
My first attempt used positioning and loaded all images at once.
	IE had issues with overflow:hidden and the front load of all BIG images was a tremnendous strain on the
	initial loading of the page.
	
	My new goal is to load images as needed
	Use positioning, but use less vertical real estate
	I also want to use CSS to control the appearance more - so assigning classes as opposed to JS CSS Styles
	
*/
var slideHeight = 183;
var slideWidth = 282;
var imagePersistance = 6000;
var slideSpeed = 2000;

function home_peopleVertSlide() {
	var theLI = $('#peopleVertSlide ol li:first');
	$(theLI).animate({'margin-top':'-'+ slideHeight +'px'},slideSpeed, function(){
			$(theLI).appendTo('#peopleVertSlide ol').css({'margin-top':'0px'});
			setTimeout(home_peopleVertSlide, imagePersistance);
		});
}

$(document).ready(function() {
	setTimeout(home_peopleVertSlide, imagePersistance);
});
