// JavaScript Document
function openW(mypage) {

/*document.location.href=mypage;*/


myname='paiement';
w=1024;
h=768;
features="resizable=1,toolbar=1,scrollbars=1,status=1,menubar=1";
if(screen.width){
var winl = (screen.width-w)/2;
var wint = (screen.height-h)/2;
}else{winl = 0;wint =0;}
if (winl < 0) winl = 0;
if (wint < 0) wint = 0;
var settings = 'location=1,height=' + h + ',';
settings += 'width=' + w + ',';
settings += 'top=' + wint + ',';
settings += 'left=' + winl + ',';
settings += features;
//alert(settings);
win = window.open(mypage,myname,settings);
win.window.focus();

}
