/* Start jQuery wrapper */
(function($){
	
	/**
	 * Campiello Object
	 * Classe che contiene tutte le funzionalitˆ espresse dal progetto.
	 */
	var CampielloClass = function( config ) {
		
		var config = $.extend({foo:''
			
			// ICN Project's Class main configuration rules goes here...
			
		},config);	
		
		/**
		 * Inizializzazione del componente.
		 */
		this.init = function() {
			

			$('ul').find('li:first').addClass('first');
			$('ul').find('li:last').addClass('last');
			
			
			$('.flash-obj').each(function(){
				$(this).flash({
					src: 	$(this).find('.url').text(),
					width: 	$(this).find('.width').text(),
					height: $(this).find('.height').text(),
				});
				$(this).find('.alt').hide();
			});

		
		} // EndOf: "init()" #######################################################################
		
	
	} // EndOf: "ICNClass Object" ---------------------------------------------------------------- #

	
	
	$(document).ready(function(){
		
		var tmp = new CampielloClass({});
		tmp.init();
		
	});
	

/* End jQuery wrapper */
})(jQuery);
