$(function() { 
	$('.rightColumn img').jcaption({
		wrapperElement: 'div',
		wrapperClass: 'caption',
		captionElement: 'p',
		imageAttr: 'alt',
		requireText: true,
		copyStyle: false,
		removeStyle: true,
		removeAlign: true,
		copyAlignmentToClass: false,
		copyFloatToClass: true,
		autoWidth: true
	});

	// select the thumbnails and make them trigger our overlay
	$("a.becAbbaye").overlay({

		// each trigger uses the same overlay with the id "gallery"
		target: '#gallery',

		// optional exposing effect
		expose: '#f1f1f1'

	// let the gallery plugin do its magic!
	}).gallery({
		// the plugin accepts its own set of configuration options
	    autohide: false,
	    opacity: 0.6,
		speed: 800
	});	
});
