ouvrirPhototheque = function()
{
	if (document.getElementById('phototheque_iframe').src == "")
		document.getElementById('phototheque_iframe').src = "diaporama.php?statPage=" + statPage + "&langue=" + langue;
		
	Element.hide('phototheque_iframe');

	var arrayPageSize = getPageSize();
	Element.setWidth('phototheque_fond', arrayPageSize[0]);
	Element.setHeight('phototheque_fond', arrayPageSize[1]);
	new Effect.Appear('phototheque_fond', { duration: 0.2, from: 0.0, to: 0.75 });
	
	var arrayPageScroll = getPageScroll();
	Element.setTop('phototheque', arrayPageScroll[1] + (arrayPageSize[3] / 10));
	//Element.show('phototheque');
	document.getElementById('phototheque').style.visibility = "visible";
	new Effect.Appear('phototheque_iframe', { duration: 0.6, queue: 'end', afterFinish: function() {
		new Effect.Parallel(
		[ new Effect.SlideDown( 'photothequeDataContainer', { sync: true, duration: 0.6, from: 0.0, to: 1.0 }), 
		  new Effect.Appear('photothequeDataContainer', { sync: true, duration: 0.6 }) ], { duration: 0.6 });
		}
	});
	
	return false;
}
fermerPhototheque = function()
{
	//Element.hide('phototheque');
	document.getElementById('phototheque').style.visibility = "hidden";
	Element.hide('photothequeDataContainer');
	new Effect.Fade('phototheque_fond', { duration: 0.2 });
	
	return false;
}