var Move = function(){
	
	var $this = this;
	
	this.bodyWidth = $('body').prop('clientWidth');
	
	this.init = function(){
		
		$('body').bind('mousemove', function(e){
			
			var bg_pos = -$this.getMovedPosition(e.pageX);
			
			$('.top_ice').css({ 'backgroundPosition' : bg_pos/-10 });
			$('.bottom_wrap').css({ 'backgroundPosition' : bg_pos/-10+ 'px bottom' });
			
			$('.design_bg').css({ 'backgroundPosition' : -bg_pos/2 });
			
			$('.sands_bg').css({ 'marginLeft' : -476+bg_pos/7 });
			
		});
		
	}
	
	this.getMovedPosition = function(x){
		
		return Math.ceil((x*100)/this.bodyWidth);
		
	}
	
	
	this.init();
	
}

$('document').ready(function() {
	
	var move = new Move();
	
});
