// JavaScript Document
function montre(img){
win = window.open("","Win","menubar=no");
win.document.open("text/html");
win.document.write('<STY'+'LE>\n');
win.document.write('body{margin-left:0;margin-top:0}\n');
win.document.write('</STY'+'LE>\n');
win.document.write('<SCR'+'IPT>\n');
win.document.write('function resize(){\n');
if (document.all)win.document.write('li=document.images[0].width+10;hi=document.images[0].height+35;\n');
else win.document.write('li=document.images[0].width+6;hi=document.images[0].height+26;\n');
win.document.write('resizeTo(li,hi);\n');
win.document.write('lar=screen.width;hau=screen.height;x=(lar-li)/2;y=(hau-hi)/2;window.moveTo(x,y);\n');
win.document.write('} </SCR'+'IPT>\n');
win.document.write('<BO'+'DY topmargin="20" leftmargin="20" onLoad="window.focus()" onBlur="window.close()">');
win.document.write('<IMG GALLERYIMG="no" Src="'+img+'" onLoad="resize()">');
win.document.write('</BO'+'DY>');
win.document.close();
}
