
jQuery(function($) {
var options = {
			loop: false,
			overlayOpacity: 0.8,
			overlayFadeDuration: 400,
			resizeDuration: 400,
			resizeEasing: "swing",
			initialWidth: 250,
			initialHeight: 250,
			imageFadeDuration: 400,
			captionAnimationDuration: 400,
			counterText: "Image {x} sur {y}",
			closeKeys: [27, 88, 70],
			previousKeys: [37, 80],
			nextKeys: [39, 83]
		}
$("#lbOverlay").css("background-color","#000000");
$("#lbPrevLink").hover(
	function () {
		$(this).css("background-image","url('http://www.vincentbauza.com/ana/wordpress/wp-content/plugins/wp-slimbox2/images/fr_FR/prevlabel.gif')");
	},
	function () {
		$(this).css("background-image","");
	}
);
$("#lbNextLink").hover(
	function () {
		$(this).css("background-image","url('http://www.vincentbauza.com/ana/wordpress/wp-content/plugins/wp-slimbox2/images/fr_FR/nextlabel.gif')");
	},
	function () {
		$(this).css("background-image","");
	}
);
$("#lbCloseLink").css("background","transparent url('http://www.vincentbauza.com/ana/wordpress/wp-content/plugins/wp-slimbox2/images/fr_FR/closelabel.gif') no-repeat center");
$("a[href]").filter(function() {
		return /\.(jpg|png|gif)(\?[\d\w=&]*)?$/i.test(this.href);
	}).slimbox(options, null, function(el) {
		return (this == el) || ($(this).parents("div.post, div#page")[0] && ($(this).parents("div.post, div#page")[0] == $(el).parents("div.post, div#page")[0]));
	});
});