var fois=0
function AfficheImage(petiteImage,grandeImage,texteImage)
{
document.write('<a href="javascript:Affichegrande(\''+grandeImage+'\',\''+texteImage+'\')"><img src="'+petiteImage+'" width=200 height=133 hspace=0 vspace=0 border=0 alt="AFFICHER" title="CLIQUER POUR AFFICHER EN GRAND"></a>');
}

function Affichegrande(cheminImage,texte)
{
newImage = new Image;
newImage.src = cheminImage;
html = '<html><head><title>Image</title><meta http-equiv="Pragma" content="no-cache"></head><body leftmargin=0 marginwidth=0 topmargin=0 marginheigth=0 oncontextmenu="return false"><center>'+
'<a href="#" onClick="window.close()"><img src="'+cheminImage+'" border=0 name=monImage alt="'+texte+'"onLoad="window.resizeTo(document.monImage.width+20,document.monImage.height+80); window.moveTo((screen.width-document.monImage.width)/2,5)"> </a></center></body></html>';
if (fois == 1 ) ouvrirImage.close();
ouvrirImage = window.open('','_blank','toolbar=0,location=0,menuBar=0,scrollbars=0,resizable=0');
ouvrirImage.document.write(html);
fois=1;
}
