$.Fotos = function(el) {
	var me = this;
	var $element = this.$element = $(el);
	
	this.click = function click() {
		me.addTrigger();
	};
	
	this.addTrigger = function() {
		$element.parent().find('a.fancy').trigger('click');
	}
	
	$element.click(this.click);
};

$.arrayFotos = [];

(function($){			
	
	$(function() {
		$(".twocol a.trigger").each(function(i,el) {							 
			$.arrayFotos.push(new $.Fotos(el));
		});	
		
	});
	
})(jQuery); 
