function waitFor(millis) 
{
	var date = new Date();
	var curDate = null;

	do { curDate = new Date(); }
	while(curDate-date < millis);
}


//Vertical-Fav
$(function(){

	$('#v-fav').anythingSlider({
		startStopped    : false, // If autoPlay is on, this can force it to start stopped
		theme           : 'default',
		autoPlayLocked  : true,  // If true, user changing slides will not stop the slideshow
		resumeDelay     : 10000, // Resume slideshow after user interaction, only if autoplayLocked is true (in milliseconds).
		buildArrows     : false,
		startText       : "▶",   // Start button text
		stopText        : "■",
		delay           : 8000,      // How long between slideshow transitions in AutoPlay mode (in milliseconds)
		onSlideComplete : function(slider){
			// alert('Welcome to Slide #' + slider.currentPage);
		}
	});

});

