Forum Moderators: open
function Start(URL, WIDTH, HEIGHT)
{
windowprops = "left=50,top=50,width=" + (WIDTH+30) + ",height=" + (HEIGHT+30);
text = "<html><head><title>Preview</title></head><body";
text += "><center><img src='" + URL + "'>";
text += "</center></body></html>";
preview1 = window.open("", "preview1", windowprops, false);
preview1.document.open();
preview1.document.write(text);
preview1.document.close();
}