function Start(URL, WIDTH, HEIGHT, AUTHOR, TH, LEGEND) {
windowprops = "status=no,scrollbars=no,resizable=no,menubar=no,toolbar=no,left=10,top=10,width=" + (WIDTH+20) + ",height=" + (HEIGHT+TH);
text = "<html><head><title>Preview</title><meta http-equiv=imagetoolbar content=no></head><body bgcolor=#eeeeee style=\"margin-top:10px; margin-left:10px; margin-right:10px\" oncontextmenu=\"return false\" onselectstart=\"return false\" ondragstart=\"return false\" onBlur=\"self.close()\" onClick=\"self.close()\" >";
text += "<table align=center border=0 width=" + WIDTH + " cellpadding=0 cellspacing=0><tr><td height="+HEIGHT+" width="+WIDTH+" background='"+URL+"'><table style=\"border: 2px solid; border-color: white black black white\" width="+WIDTH+" height="+HEIGHT+" cellpadding=0 cellspacing=0><tr><td width="+WIDTH+" height="+HEIGHT+"><img src='pics/cpy"+AUTHOR+".gif' border=0 width="+WIDTH+" height="+HEIGHT+"></td></tr></table></td></tr><tr><td style=\"font-family: Verdana, Arial, Helvetica, sans-serif; color:black; font-size:12px\" align=center valign=middle><p style=\"margin-top:5\">"+LEGEND+"</td></tr></table>";
text += "</body></html>";
preview = window.open("", "preview", windowprops);
preview.document.open();
preview.document.write(text);
preview.document.close();
preview.document.focus();
}
