if(window.innerWidth){
	width = window.innerWidth;
}else{
	width = document.documentElement.clientWidth;
}

if(width > 995){
	document.write('<style type="text/css">body, .body{width: 930px; margin: auto;}</style>');
}


window.onload = function(){
	//
}

function display_diapo(target){
		 diapo = document.getElementById('diapoplus');
		 if(!diapo) return;
		 
		 if(diapo.style.display == ''){
		 	target.firstChild.nodeValue = "Afficher plus de photos";
		 	diapo.style.display = 'none';
		 }else{
		 	diapo.style.display = '';
		 	target.firstChild.nodeValue = "Afficher moins de photos";
		 }

}
