function showPicture(aTitle, aSource)
{
 closePicture();
 F1=window.open("","blank","width=800, height=600, dependent=yes scrollbars=yes left=100 top=50");
 F1.document.write("<body BGCOLOR=\"#FFCC00\"><strong><center>" + aTitle + "<br><br></strong><table border=\"1\" cellpadding=\"5px\" BGCOLOR=\"#FFCC00\">")
 ; 
 F1.document.write("</tr></td><img border=\"0\" src=\" " + aSource + "\" ><br></tr></td></table>");
 F1.document.write("<a href=\"#\" onclick=\"javascript:window.close();\"><br>Close window</a></center></body>")  
}

function closePicture()
{
 try{F1.close();}catch(e){}finally{}
}

