// JavaScript Document	
$(document).ready(function(){
	$().prettyPhoto({
		animationSpeed: 'normal', /* fast/slow/normal */
		opacity: 0.80, /* Value between 0 and 1 */
		showTitle: false, /* true/false */
		allowresize: false, /* true/false */
		default_width: 1000,
		default_height: 600,
		counter_separator_label: '/', /* The separator for the gallery counter 1 "of" 2 */
		theme: 'dark_square', /* light_rounded / dark_rounded / light_square / dark_square / facebook */
		hideflash: true, /* Hides all the flash object on a page, set to TRUE if flash appears over prettyPhoto */
		wmode: 'opaque', /* Set the flash wmode attribute */
		autoplay: true, /* Automatically start videos: True/False */
		modal: false /* If set to true, only the close button will close the window */
	});

	$("#flash").flash({
		src: 'caribook.swf',
		width: 1000,
		height: 600
	});


});

function delegateFlash(url,titre,description){
	$.prettyPhoto.open(url,titre,"");
}



