/*===============================================================*//* fonction permettant d'ouvrir une image en grand dans un popup *//*===============================================================*/function afficheMaxi(chemin,titre)	{	if (navigateurMSIE ())		{		html = '<html><head><title>'+titre+'</title></head><body leftmargin=0 marginwidth=0 topmargin=0 marginheight=0><center><img src="'+chemin+'" border=0 name=imageTest onLoad="window.resizeTo(document.imageTest.width+11,document.imageTest.height+32)"></center></body></html>';		popupImage = window.open('','_blank','height=50,width=50,toolbar=0,location=0,directories=0,menuBar=0,scrollbars=1,resizable=0');		popupImage.document.open();		popupImage.document.write(html);                w = popupImage.document.width;                h = popupImage.document.height;/*                popupImage.document.moveTo ( (screen.width-w)/2, (screen.height-h)/2 ); */		popupImage.document.close();        	popupImage.document.onmousedown = nonbis;		}	else		{	    titre='Agrandissement';				html = '<html><head><title>'+titre+'</title></head><body leftmargin=0 marginwidth=0 topmargin=0 marginheight=0><center><img src="'+chemin+'" border=0 name=imageTest onLoad="window.resizeTo(document.imageTest.width+21,document.imageTest.height+34)"></center></body></html>';		popupImage = window.open('','_blank','height=70,width=70,toolbar=0,location=0,directories=0,menuBar=0,scrollbars=0,resizable=0');		popupImage.document.open();		popupImage.document.write(html);		popupImage.document.close();       		popupImage.document.onmousedown = nonbis;		}   	}/*==============================================================================*//* fonction permettant d'ouvrir une image en grand dans un popup avec ascenceur *//*==============================================================================*/function afficheMaxiAs(chemin,titre)	{	if (navigateurMSIE ())		{		html = '<html><head><title>'+titre+'</title></head><body leftmargin=0 marginwidth=0 topmargin=0 marginheight=0><center><img src="'+chemin+'" border=0 name=imageTest onLoad="window.resizeTo(document.imageTest.width+11,document.imageTest.height+32)"></center></body></html>';		popupImage = window.open('','_blank','height=50,width=50,toolbar=0,location=0,directories=0,menuBar=0,scrollbars=1,resizable=1');		popupImage.document.open();		popupImage.document.write(html);                w = popupImage.document.width;                h = popupImage.document.height;/*                popupImage.document.moveTo ( (screen.width-w)/2, (screen.height-h)/2 ); */		popupImage.document.close();        	popupImage.document.onmousedown = nonbis;		}	else		{		html = '<html><head><title>'+titre+'</title></head><body leftmargin=0 marginwidth=0 topmargin=0 marginheight=0><center><img src="'+chemin+'" border=0 name=imageTest onLoad="window.resizeTo(document.imageTest.width+21,document.imageTest.height+34)"></center></body></html>';		popupImage = window.open('','_blank','height=50,width=50,toolbar=0,location=0,directories=0,menuBar=0,scrollbars=0,resizable=0');		popupImage.document.open();		popupImage.document.write(html);		popupImage.document.close();       		popupImage.document.onmousedown = nonbis;		}   	}/*=======================================================================================*//* fonction permettant d'afficher une vignette qui peut-être agrandie par un double clic *//*=======================================================================================*/function afficheVignette(cheminVignette,cheminMaxi,titre, position)	{   	document.write('<a href="javascript:afficheMaxi(\''+cheminMaxi+'\',\''+titre+'\')"><img src="'+cheminVignette+'" hspace=0 vspace=0 align='+position+' border=1 alt="'+titre+'"></a>');   	}/*========================================================================================================*//* fonction permettant d'afficher une vignette qui peut-être agrandie par un double clic (avec ascenceur) *//*========================================================================================================*/function afficheVignetteAs(cheminVignette,cheminMaxi,titre, position)	{   	document.write('<a href="javascript:afficheMaxiAs(\''+cheminMaxi+'\',\''+titre+'\')"><img src="'+cheminVignette+'" hspace=0 vspace=0 align='+position+' border=1 alt="'+titre+'"></a>');   	}/*===============================================================*//* fonction indiquant le temps pour atteindre une prochaine date *//*===============================================================*/function bientot() {var date = new Date(2020,01,01); // MODIFIEZ ICI LA DATE DU COMPTE A REBOURS var description = date.getDate()+"."+date.getMonth()+"."+date.getFullYear();var now = new Date();var diff = Math.floor( (date.getTime()-now.getTime())/(1000*60*60*24)-30);if (diff > 1) {document.write("Il reste "+diff + " jours avant le " + description); } else if (diff == 1) { document.write("Demain c'est le " + description); } else if (diff == 0) { document.write("Aujourd'hui nous sommes le " + description); } else { document.write(""); } }/*==========================================*//* fonction retournant le nom du navigateur *//*==========================================*/function nomNavigateur()	{	alert (navigator.appName);	}/*=====================================================================*//* fonction indiquant si le navigateur est Microsoft Internet Explorer *//*=====================================================================*/function navigateurMSIE()	{	var navMSIE = "Microsoft Internet Explorer";	if (navigator.appName == navMSIE)		{		return (true);		}	else		{		return (false);		}	}/*==========================================================*//* fonction permettant d'ouvrir une page html dans un popup *//*==========================================================*/function popup(page, largeur, hauteur)	{   	window.open(page,'','resizable=no, menubar=no, status=no, location=no, copyhistory=0, scrollbars=no, directories=no, height='+hauteur+', width='+largeur+', left=50, top=50');  	}/*===========================================================*//* fonction texte fixe dans la ligne de statut du navigateur *//*===========================================================*/var msg="";function textestatut(txt) {	// txt est le texte à afficher dans la ligne de statut du navigateur	msg=txt;        parent.status=msg; }
