function Start(URL, WIDTH, HEIGHT) {

windowprops = "left=1,top=1,width=" + (WIDTH+1) + ",height=" + (HEIGHT+1);

URL = URL.replace(/ /gi, "%20");

text = "<html><head><title>Image Preview</title></head>";
text += "<body TOPMARGIN=0 LEFTMARGIN=0 MARGINHEIGHT=0 MARGINWIDTH=0 BACKGROUND=images/fondbleu.gif><center>";
text += "<img src=jokes/images" + URL + "></center>";
text += "<BR><center>";
text += "<form><input type=button name=close value='Close' onClick='javascript:top.window.close();'></FORM>";
text += "</center></body></html>";


preview = window.open("", "", windowprops);
preview.document.open();
preview.document.write(text);
preview.document.close();

}

