var win = null;

function NewWindow(mypage,myname,w,h,scroll){
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
settings ='height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable'
win = window.open(mypage,myname,settings)
if(win.window.focus){win.window.focus();}
}
// Sert pour le formulaire d'envoi de l&lsquo;adresse de la page par courriel
function NewWindow2(myname,w,h,scroll){
// Sert pour retrouver la page appelante
var adresse = window.location.href;
// Sert pour le formulaire d'envoi de l&lsquo;adresse de la page par courriel
var page = '/en/_scripts/envoi_courriel.asp?xreferrer=' + adresse;
// ******************************************************************
var mypage=page;
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
settings ='height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable'
win = window.open(mypage,myname,settings)
if(win.window.focus){win.window.focus();}
}
// ********************************************************************
// Sert pour l&lsquo;impression de la page consult&eacute;e ************************
function NewWindow3(myname,w,h,scroll){
// Sert pour retrouver la page appelante
var adresse = window.location.href;
// Sert pour la page ASP qui re&ccedil;oit l&lsquo;adresse de la page &agrave; r&eacute;cup&eacute;rer
var page = 'print_page.asp?xreferrer=' + adresse;
// ******************************************************************
var mypage=page;
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
settings ='height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable'
win = window.open(mypage,myname,settings)
if(win.window.focus){win.window.focus();}
}
function NewWindow_pays(mypage,myname,w,h,scroll){
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
settings ='height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',location=yes,menubar=yes,toolbar=yes,scrollbars='+scroll+',resizable'
win = window.open(mypage,myname,settings)
if(win.window.focus){win.window.focus();}
}
