jQuery.fn.gallery = function(rolloverImages) {
	return this.each(function() {
		var _loader = new Image();

		_loader.src = this.src.replace(/\.thumb/, '');
		
		$(this).mouseover(function() {
			newSrc = this.src.replace(/\.thumb/, '');
			
			rolloverImages[0].src = newSrc;
		});
	});
};

