Element.observe(window, 'load', function() {
	thumbs = $$('a.gallery_thumb');
	
	thumbs.each(function(thumb) {
		Element.observe(thumb, 'click', function(e) {
			$('gallery_image').src = this;
			Event.stop(e);
		});
	});
});
