/**
jQuery(document).ready(function(){
	jQuery(".img-element").css({ opacity: 0.1 });
	
	jQuery('.img-element').hover(function(){
		jQuery(this).css({ opacity: 1 });	
	}, function() {
		var token = jQuery(this).attr( 'alt' );
		if (token != "on") {
  			jQuery(this).css({ opacity: 0.1 });
		}
	});
	
	jQuery('.img-element').click(function(){
		jQuery('.img-element').attr( 'alt','off' );
		var dist = jQuery(this).attr( 'id' );
		jQuery(this).attr( 'alt','on' );
		if (dist>450) {
			dist = dist - 250;
		} else {
			dist = 10;
		}
		jQuery(".image-film").animate({			
    		marginLeft: "-" + dist + "px"
  		}, 1500 );
	});
	
	jQuery('.img-element-thum').click(function(){
		jQuery(".img-element").css({ opacity: 0.1 });
		jQuery('.img-element').attr( 'alt','off' );
		var dist = jQuery(this).attr( 'id' );
		jQuery('#'+dist).attr( 'alt','on' );
		jQuery('#'+dist).css({ opacity: 1 });
		if (dist>450) {
			dist = dist - 2
			50;
		} else {
			dist = 10;
		}
		jQuery(".image-film").animate({			
    		marginLeft: "-" + dist + "px"
  		}, 1500 );
	});
	
	jQuery('#0').css({ opacity: 1 });
		
});

**/
