// JavaScript Document

function ValideForm(){
var obj = document.frmEnvoi;
captVerif(obj);
}

function PopupCentrer(page,largeur,hauteur,options) {
  var top=(screen.height-hauteur)/2;
  var left=(screen.width-largeur)/2;
  window.open(page,"","top="+top+",left="+left+",width="+largeur+",height="+hauteur+","+options);
}

function PopupImage(img) {
var titre="Image taille reelle";
w=open("",'image','top=0,left=0,width=400,height=400,toolbar=no,scrollbars=no,resizable=yes,status=no'); 
w.document.write("<HTML><HEAD><TITLE>"+titre+"</TITLE></HEAD>");
w.document.write("<SCRIPT language=javascript>function checksize() { if (document.images[0].complete) { window.resizeTo(document.images[0].width+10,document.images[0].height+40); window.focus();} else { setTimeout('check()',250) } }</"+"SCRIPT>");
w.document.write("<BODY  bgcolor=#000000 onload='checksize()' leftMargin=0 topMargin=0 marginwidth=0 marginheight=0><a href='javascript:window.close()'><IMG src='"+img+"' border=0></a>");
w.document.write("</BODY></HTML>");
w.document.close();
}