// JavaScript Document
// jRr created this Nov 4, 2011

jQuery(document).ready(function() {
	//jQuery.easing.def = "easeOutBounce";
	
	animateBounce();
	animateBounce2();
	animateBounce3();
	animateBounce4();
	
	function animateBounce(){
		jQuery('#jrr_1').animate({
			top:106}, 
			{duration: 1000,
			easing: 'easeOutSine'}).animate({
			top: 112},
			{duration: 1000,
			easing: 'easeInSine',
			complete: animateBounce
			});
	}
	
	function animateBounce2(){
		jQuery('#jrr_3').animate({
			top:254}, 
			{duration: 1000,
			easing: 'easeOutSine'}).animate({
			top: 254},
			{duration: 1000,
			easing: 'easeInSine',
			complete: animateBounce2
			});
	}
	
	function animateBounce3(){
		jQuery('#jrr_4').animate({
			top:150}, 
			{duration: 1000,
			easing: 'easeOutSine'}).animate({
			top: 150},
			{duration: 1000,
			easing: 'easeInSine',
			complete: animateBounce3
			});
	}
	
	function animateBounce4(){
		jQuery('#jrr_5').animate({
			top:184}, 
			{duration: 1000,
			easing: 'easeOutSine'}).animate({
			top: 184},
			{duration: 1000,
			easing: 'easeInSine',
			complete: animateBounce4
			});
	}
	
});
