// ----------------------------------------------------------------------------- 
// Lettura immagine grande Pagina 
// Ci si aspetta che la variabile 'imageLarge' contenga il path dell'immagine 
// ----------------------------------------------------------------------------- 
	
	$(document).ready( 
		function() {
			
			$('#imageContainerMax').append('<BR><BR>loading...');
			var img = new Image();
			$(img).attr( 'src', imageLarge ).load(
				// once the image has loaded, execute this code
				function () {
					$('#imageContainerMax').empty();
					$(this).hide();
					$('#imageContainerMax').append(this);
					$(this).fadeIn( "slow" );
				})
				.error( function () { $('#imageContainerMax').empty().append('<BR><BR><span style="color: #f00; font-weight: bold;">Sorry, loading error...</span>'); });
		});
		
		/*
		$.fn.loadImg = function( myImg ) {
			
			$(this).append('<BR><BR>loading...');
			var img = new Image();
			$(img).attr( 'src', myImg ).load(
				// once the image has loaded, execute this code
				function () {
					$(this).empty();
					$(img).hide();
					$(this).append(this);
					$(img).fadeIn( "slow" );
				})
				.error( function () { $(this).empty().append('<BR><BR><span style="color: #f00; font-weight: bold;">Sorry, loading error...</span>'); });
		}
		*/
// ----------------------------------------------------------------------------- 