function PopupImage(img) {

	titre="Agrandissement";
	w=open("",'image','toolbar=no,scrollbars=yes,resizable=yes,onfocus=yes');
	w.focus();
	w.document.write("<HTML><HEAD><TITLE>Max 1958 Joaillerie</TITLE></HEAD>");
	w.document.write("<BODY bgcolor=#241f19 leftMargin=0 topMargin=0 marginwidth=0 marginheight=0>");
	w.document.write("<script language=\"JavaScript\">");
	w.document.write("function MaximiserFenetre() {");
	w.document.write("	window.moveTo(0,0);");
	w.document.write("	if (document.all) {");
	w.document.write("		top.window.resizeTo(screen.availWidth,screen.availHeight);");
	w.document.write("	} ");
	w.document.write("	else if (document.layers||document.getElementById) {");
	w.document.write("		if(top.window.outerHeight<screen.availHeight || top.window.outerWidth<screen.availWidth) {");
	w.document.write("			top.window.outerHeight = screen.availHeight;");
	w.document.write("			top.window.outerWidth = screen.availWidth;");
	w.document.write("		}");
	w.document.write("	} ");
	w.document.write("}");
	w.document.write("</script>");
	w.document.write("<TABLE width='100%' border='0' cellspacing='0' cellpadding='0' height='100%'><TR>");
	w.document.write("<TD valign='middle' align='center'><IMG onClick=\"window.close();\" src='"+img+"' border=0 alt=' Image dans pop-up '>");
	w.document.write("</TD></TR></TABLE>");
	w.document.write("<script language=\"JavaScript\">MaximiserFenetre();</script>");
	w.document.write("</BODY></HTML>");
	w.document.close();
}

function openWin(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function PopupZoom(base,img) {
	w=open("",'Zoom','toolbar=no,scrollbars=yes,resizable=yes,onfocus=yes');
	w.focus();
	w.document.write("<HTML><HEAD><TITLE>Philippe et Lisa Laeremans</TITLE></HEAD>");
	w.document.write("<script type=\"text/javascript\" src=\"" + base + "javascript/swfobject.js\"></script></HEAD>");
	w.document.write("<BODY bgcolor=#000000 leftMargin=0 topMargin=0 marginwidth=0 marginheight=0>");
	w.document.write("<script language=\"JavaScript\">");
	w.document.write("function MaximiserFenetre() {");
	w.document.write("	window.moveTo(0,0);");
	w.document.write("	if (document.all) {");
	w.document.write("		top.window.resizeTo(screen.availWidth,screen.availHeight);");
	w.document.write("	} ");
	w.document.write("	else if (document.layers||document.getElementById) {");
	w.document.write("		if(top.window.outerHeight<screen.availHeight || top.window.outerWidth<screen.availWidth) {");
	w.document.write("			top.window.outerHeight = screen.availHeight;");
	w.document.write("			top.window.outerWidth = screen.availWidth;");
	w.document.write("		}");
	w.document.write("	} ");
	w.document.write("}");
	w.document.write("</script>");
	w.document.write("<div id=\"intro\"></div>");
	w.document.write("<script type=\"text/javascript\">");
	w.document.write("var so = new SWFObject(\"" + base + "swf/zoom.swf\", \"zoom\", \"100%\", \"100%\", \"8.0.5\", \"#101010\");");
	w.document.write("so.addVariable(\"myURL\",\"" + img + "\");");
	w.document.write("so.write(\"intro\");");
	w.document.write("</script>");
	w.document.write("<script language=\"JavaScript\">MaximiserFenetre();</script>");
	w.document.write("</BODY></HTML>");
	w.document.close();
}
