

// Fonction photo en popup
function PopupImage(img) {
	w=open("",'image','width=100,height=100,toolbar=no,scrollbars=no,resizable=no');
	w.document.write("<SCRIPT language=javascript>function checksize()  { if (document.images[0].complete) {  window.resizeTo(document.images[0].width+30,document.images[0].height+80); window.focus();} else { setTimeout('check()',250) } }</"+"SCRIPT>");
	w.document.write("<title>photo grand format</title>");
	w.document.write("<BODY onload='checksize()'>");
	w.document.write("<table width=98% align=center border=0 cellpadding=0 cellspacing=0><tr><td class=paragraphe>");
	w.document.write("<a href=\"javascript:window.close()\"><IMG class=image src='"+img+"' alt=Fermer>");
	w.document.write("</a>");
	w.document.close();
}

// Fonction photo en popup
function ouvreImage(img) {
	w=open("",'image','width=100,height=100,toolbar=no,scrollbars=no,resizable=no');
	w.document.write("<SCRIPT language=javascript>function checksize()  { if (document.images[0].complete) {  window.resizeTo(document.images[0].width+30,document.images[0].height+120); window.focus();} else { setTimeout('check()',250) } }</"+"SCRIPT>");
	w.document.write("<link rel=stylesheet type=text/css href=../_inc/style_int.css><title>photo grand format</title>");
	w.document.write("<BODY onload='checksize()' oncontextmenu='return false' ondragstart='return false' onselectstart='return false'  topmargin='0'>");
	
	w.document.write("<table width=100% height=100% align=center border=0 cellpadding=0 cellspacing=0><tr><td>");
	w.document.write("<table width=98% align=center border=0 cellpadding=0 cellspacing=0><tr><td class=parageneral>");
	w.document.write("<a href=\"javascript:window.close()\"><img class='impres' src='"+img+"' alt=Fermer>");
	w.document.write("</a><br /><br /><div align='center'><font style='color:#fff; font-weight:bold;'>Tous droits de reproduction interdits - &copy;Outremerveilles<br /><br /><font style='color:#fff; font-weight:bold;'><iframe frameborder=0 height=0 marginheight=0 marginwidth=0 src=../_inc/stats.inc></iframe></font></div></td></tr></table></td></tr></table");
	w.document.write("");
	w.document.write("</BODY></HTML>");
	w.document.close();
}

