//ouverture popup centré function popupcenter(urlpage,largeur,hauteur) { var win_opt="toolbar=0,location=0,directories=0,status=0,menubar=0,"; win_opt+="scrollbars=0,resizable=0,copyhistory=0,"; var top=((screen.height)-(hauteur))/2; var left=(screen.width-largeur)/2; win_opt+='width='+largeur+',height='+hauteur+',left='+left+',top='+top; NewWindow = window.open(urlpage,"_blank",win_opt); } //ouverture popup taille+position function popupgen(urlpage,largeur,hauteur,haut,gauche) { var win_opt="toolbar=0,location=0,directories=0,status=0,menubar=0,"; win_opt+="scrollbars=0,resizable=0,copyhistory=0,"; win_opt+="width="+largeur+",height="+hauteur; win_opt+=",top="+haut+",left="+gauche; NewWindow = window.open(urlpage,"_blank",win_opt); } //ouverture popup centré avec scrollbars, taille function popwinopen(urlpage,largeur,hauteur) { var win_opt="toolbar=0,location=0,directories=0,status=0,menubar=0,"; win_opt+="scrollbars=1,resizable=1,copyhistory=0,"; var top=((screen.height)-(hauteur))/2; var left=(screen.width-largeur)/2; win_opt+="width="+largeur+",height="+hauteur; win_opt+=",top="+top+",left="+left; NewWindow = window.open(urlpage,"_blank",win_opt); } //ouverture fenetre normale centrée, taille function wincenteropen(urlpage,largeur,hauteur) { var win_opt="toolbar=1,location=1,directories=1,status=1,menubar=1,"; win_opt+="scrollbars=1,resizable=1,copyhistory=1,"; var top=((screen.height)-(hauteur))/2; var left=(screen.width-largeur)/2; win_opt+="width="+largeur+",height="+hauteur; win_opt+=",top="+top+",left="+left; NewWindow = window.open(urlpage,"_blank",win_opt); } // ouverture fenetre générique taille+position function wingen(urlpage,largeur,hauteur,haut,gauche) { var win_opt="toolbar=1,location=1,directories=1,status=1,menubar=1,"; win_opt+="scrollbars=1,resizable=1,copyhistory=1,"; win_opt+="width="+largeur+",height="+hauteur; win_opt+=",top="+haut+",left="+gauche; NewWindow = window.open(urlpage,"_blank",win_opt); } // centrement de la fenetre apres ouverture function wincenterload(largeur,hauteur) { window.moveTo((screen.availWidth-largeur)/2,(screen.availHeight-hauteur)/2); if (document.all) { window.resizeTo(largeur,hauteur); } else if (document.layers) { if (window.outerHeight0) && (ivir>0)) //test une seule decimale montant {alert(message); return;} document.FormulePaiement.id_client.value=cha1+cha2+cha3; document.FormulePaiement.submit(); }