/* CRf (Rennes) : OPTION DE 'COLORBOX' : JavaScript

// ColorBox v1.3.6 - a full featured, light-weight, customizable lightbox based on jQuery 1.3
// c) 2009 Jack Moore - www.colorpowered.com - jack@colorpowered.com
// Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php*/

			$(document).ready(function(){
				//Examples of how to assign the ColorBox event to elements
				$("a[rel='openOne']").colorbox();
				$("a[rel='openTwo']").colorbox({transition:"fade"});
				$("a[rel='openThree']").colorbox({transition:"none", width:"75%", height:"75%"});
				$("a[rel='openFour']").colorbox({slideshow:true});
				$(".openFive").colorbox({iframe:true, innerWidth:550, innerHeight:375});
				$(".openSix").colorbox({iframe:true, width:"80%", height:"80%"});
				$(".openOnload").colorbox({transition:"none", iframe:true, width:"75%", height:"75%"});
			});
			
			
function clickDirectOpening(cdo) {
	if(document.all) {
		cdo.fireEvent("onclick");
	} else {
		var evt = document.createEvent("MouseEvents");
		evt.initMouseEvent("click", true, true, window, 0, 0, 0, 0, 0, false, false, false, false, 0, null);
		cdo.dispatchEvent(evt);
	}
}
