	var questionData = [
	 "Does your pet need help supporting their mobility?"
	,"Could your best friend use help climbing stairs or jumping?"
	,"Do you want to help your buddy maintain a healthy life style?"
	,"Would your pet be more active if they could get around better?"
	,"Is your buddy moving more slowly?"
	,"Is your best friend less playful?"
];		

var $qContainer,
		$question,
		questionsTotal,
		qNumber;



$(document).ready(function() {
	

	var $qContainer = $('ul#questions'),
		$questions = $('ul#questions li'),
		questionsTotal = questionData.length - 1,
		qNumber = 0;

setTimeout("wave()", 0);


wave = function(){

	$qContainer
		.animate({
			marginTop: ['50px', 'linear']
		}
		,400, function() {
//			$question.text(questionData[qNumber]);
			$questions.eq(qNumber).show().siblings().hide();
		})
		.animate({
			marginTop: ['0px', 'linear']
		}
		,400, function() {
			qNumber = (qNumber == questionsTotal)? 0 : qNumber+1;
		});

	

	setTimeout("wave()", 4000)
}


});





