<!--

$(document).ready(function(){
						
						
						//Arrondie des angles de div
						$('.arrondi').corner("20px");
						$('.arrondi5').corner("8px");
						$('.arrondi_haut').corner("10px tl").corner("10px tr");
						$('.arrondi_bas').corner("10px bl").corner("10px br");	
						
						
						
						//Affichage de l'image en grand sur la galerie photo
						$("#thumbnail li a").click(function(){
							$("#large img").attr({"src": $(this).attr("href"), "title": $("> img", this).attr("title") , "alt": $("> img", this).attr("alt")});
							$("#titreimage").html($("> img", this).attr("title"));
							$("#titrevideo").html($("> img", this).attr("title"));
							return false;
						});
						$("#thumbnail li a").click(function(){
							$("#thumbnail li").css("border", "1px solid #cccccc");
							$(this).parent("li").css("border", "1px solid green");
							return false;
						});
						$("#large>img").load(function(){$("#large>img:hidden").fadeIn(10)});
						
						//si l'on change la taille de la fenetre refresh
						$(window).resize(function(){
						$("object[name]='pdfvisual' embed").attr("src",$(this).attr("src"));
						//window.document.location.href=window.document.location.href;
						
						});
						
						//Affichage de la video selectionner sur la galerie video
						/*$("#thumbnail li a").click(function(){
							$("#thumbnail li a").css("border-color", "white");
							$(this).css("border-color", "green");
							$("#titrevideo").html($("> img", this).attr("title"));
							return false;
						});*/
						
						
						/*this initialises the demo scollpanes on the page.
						$('#thumbnail').jScrollPane({scrollbarWidth:20, scrollbarMargin:10, animateTo:true});
						
					
						});
						*/
						$("div.titre_element").mouseenter(function(){
							$(this).css({"background-color":"#dddddd","color":"#000000"});
						});
						
						
						$("div.titre_element").mouseleave(function(){
						$(this).css({"background-color":"#000000","color":"#ffffff"});
						});
				
						
});
-->
