function redimPopup(img,align) { // script original par Gorky, amélioré par wolf357.
	w=open("",'image','width=400,height=400,toolbar=no,scrollbars=no,resizable=no');
	w.document.write("<HTML>\n<HEAD>\n<TITLE>.:: Hybrid-Labs : le site référence sur HYBRID - Cliquez sur l'image pour fermer la fenètre ::.</TITLE>\n</HEAD>\n");
	w.document.write("<SCRIPT language='javascript'>\n");
	w.document.write("function checksize()  { \n");
	w.document.write("	if (document.images[0].complete) { 	window.resizeTo(document.images[0].width+10,document.images[0].height+30); window.focus(); checkalign('"+align+"'); } else { setTimeout('check()',250) }\n }\n");
	w.document.write("function checkalign(valeur) { \n");
	w.document.write("	if(valeur=='center' ) { \n");
	w.document.write("		LeftPosition=(screen.width)?(screen.width - document.images[0].width)/2:100; TopPosition=(screen.height)?(screen.height - document.images[0].height)/2:100; window.moveTo(LeftPosition,TopPosition); window.focus(); \n } \n } \n");
	w.document.write("</"+"SCRIPT>\n");
	w.document.write("<BODY onload=\"checksize();\" leftMargin=0 topMargin=0 marginwidth=0 marginheight=0 bgcolor='#000000' >\n");
	w.document.write("<IMG src='"+img+"' onclick='javascript:window.close()' alt='cliquez pour fermer la popup' title='cliquez pour fermer la popup' border=0 align='center' >\n");
	w.document.write("</BODY>\n");
	w.document.write("</HTML>");
	w.document.close();
}