﻿// Fichier JScript
closetime = 5; 
function Start(URL, WIDTH, HEIGHT) {
windowprops = "left=50,top=50,width=" + WIDTH + ",height=" + HEIGHT;
preview = window.open(URL, "preview", windowprops);
if (closetime) setTimeout("preview.close();", closetime*1000);
}
function Lance_Popup() {
url = "pub.html";
width = 414;  // Largeur de la popup en pixels
height = 327; // Hauteur de la popup en pixels
delay = 1;    // Secondes avant l'ouverture de la popup
timer = setTimeout("Start(url, width, height)", delay*1500);
}