                $(document).ready(function() {
                        setTimeout("animation()",300);
                });

                function animation(){
                        part1n5();
                        part2();
                        bottomPart();
                        part3n4();
                        topPart();
			//hideAndSpin();
                }

                function part1n5(){
                        $(".part1").animate({left: '6px' }, {queue:false, duration:900, easing:'easeOutBounce'});
                        $(".part5").animate({left: '286px' }, {queue:false, duration:900, easing:'easeOutBounce'});
                }
                function part2(){
                        $(".part2").animate({top: '10px' }, {queue:false, duration:900, easing:'easeOutBounce'});
                }
                function part3n4(){
                        $(".part3").animate({top: '88px' }, {queue:false, duration: 900, easing:'easeInBounce'});
                        $(".part4").animate({top: '88px' }, {queue:false, duration: 900, easing:'easeInBounce'});
                }
                function topPart(){
                        $(".partTop").animate({top: '142px' }, {queue:false, duration:1200, easing:'easeOutBounce'});
                }
                function bottomPart(){
                        $(".partMid").animate({top: '64px' }, {queue:false, duration:800, easing:'easeOutBounce'});
                        $(".partBottom").animate({top: '0px' }, {queue:false, duration:1200, easing:'easeOutBounce'});
                }
		function hideAndSpin(){
			$(".animationContainer ").delay(900).fadeOut(0,function(){
				$('.spin').each(function(n) {
					if(n==11){
						$(this).delay(100*(n)).fadeIn(100);
					} else if(n==0) {
						$(this).fadeIn(0).delay(100).fadeOut(10);
					} else {
						$(this).delay(100*(n)).fadeIn(100).delay(100).fadeOut(10);
					}
				})
			});
		}

