function OpenFlyer(Page) {
 mywidth=getWidth(Page) + 15;
 myheight=getHeight(Page) + 25;
 flyer=window.open(Page,"flyer","resizable=no,scrollbars=no,location=no,top=150,left=150,width="+mywidth+", height="+myheight);
}

function getWidth(imageName){ 
    var image = new Image(); 
    image.src = imageName; //url de ton image 
    return(image.width); }
	
function getHeight(imageName){ 
    var image = new Image(); 
    image.src = imageName; //url de ton image 
    return(image.height); }

//width=330,height=460

function OpenPopUp(Page, title) {
 present=window.open(Page, title,"location=no, scrollbars=yes,top=150,left=150,width=640,height=480");
}

function efface(Email) {
 Email.value = "";
}

function OpenPix(Page, pixwidth, pixheight) {
 pixwidth = pixwidth+25;
 pixheight = pixheight+25;
 param = "resizable=no,scrollbars=no,location=no,top=50,left=50, width=";
 param = param + pixwidth + ", height=" + pixheight;
 pix=window.open(Page,"pix",param);
}

