if (document.body)
{
	var larg = (document.body.clientWidth);
	var haut = (document.body.clientHeight);
} else {
	var larg = (window.innerWidth);
	var haut = (window.innerHeight);
}

$(document).ready(function(){
	//Examples of Global Changes

	$.fn.colorbox.settings.bgOpacity = "0.8";
	//Examples of how to assign the ColorBox event to elements.
	//$("a[rel='jack']").colorbox({transition:"fade"});
	$(".colorbox").colorbox({transition:"elastic", maxHeight:haut+'px+', initialHeight:'false', contentCurrent:"{current} / {total}"});
	// $(".colorbox").colorbox({transition:"none", fixedWidth:"75%",fixedHeight:"75%", initialWidth:"75%", initialHeight:"75%"});
	
	
});
