var miniSlide = new Class({
	init: function(thumbContainer,Container){
			
			this.container = $(container);
			this.thumbContainer = $(thumbContainer);
			this.container.each(function(el){
				if(el.getLast().className ==this.thumbContainer){
						$(el).getLast().getChildren().each(function(el2)
						{
							el2.addEvent('click', function(){
								var imgBig = new Element('img', {'src': this.getProperty('ref')}).injectInside($(el).getFirst().empty());
							});
			 			});
			 	}
			})	
	}
});
