// JavaScript Document
		(function($) {
			$(document).ready(function() {
			
				$('#city1').pan({fps: 30, speed: 1, dir: 'right'}); 
				
				$('#city2').pan({fps: 30, speed: 2, dir: 'right'}); 
				
				$('#sky').pan({fps: 30, speed: 0.5, dir: 'right'}); 
				
				var stage_left = (($('body').width() - 866) / 2);
				var stage_top = 30;
				
				
				$('#plane1').sprite({fps: 0.5, no_of_frames: 14})
					.spRandom({
						top: 40,
						left: stage_left + 20,
						right: 270,
						bottom: 60,
						speed: 1000,
						pause: 20000
					});
				
			
			});
		})(jQuery);

