// Create Popup window with expanded image
var preview;
function popwin(URL, WIDTH, HEIGHT)
{
windowprops = "left=10,top=10,width=" + (WIDTH+50) + ",height=" + (HEIGHT+80) + ';alwaysRaised=yes';
text  = '<html><head><title>The Paideia School - American Pi</title></head><body bgcolor="#ffffff">';
text += '<center><img src="' + URL + ' " border="1"><P>';
text += '<P>';
text += '<input type="button" value="Print" onClick="window.print()" style="color:White;background-color:RoyalBlue;font-weight:bold;"><br>';
text += '<a href="JavaScript:window.close();">Click here to close this window</a>';text += '</center></body></html>';
if ((preview) && (document.all)) preview.close();
preview = window.open("", "preview", windowprops);
preview.document.open();
preview.document.write(text);
preview.document.close();
}



