// JavaScript Document
// Fonctions pour l'ouverture de fenêtres
//
// fonction popup pour l'affichage d'une fenêtre simple, pour panneau publicitaire
function popup(page,H,W,Xpos,Ypos){
// Set height and width
var NewWinHeight=H;
var NewWinWidth=W;

// Place the window
var NewWinPutX=Xpos;
var NewWinPutY=Ypos;
popup_win = open(page,'new','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,dependent=yes');
//Get what is above onto one line

popup_win.resizeTo(NewWinHeight,NewWinWidth);
popup_win.moveTo(NewWinPutX,NewWinPutY);

}