function newWindow(picture, title, text) {

   // Allow for scroll bars in Safari
   agt=navigator.userAgent.toLowerCase()
   if (agt.indexOf("safari") != -1) {smallWindow = window.open('', 'smallWin', 'width=476,height=400')}
   else {smallWindow = window.open('', 'smallWin', 'width=460,height=390')}         
   
   smallWindow.document.write('<html><head><title>'+title+'</title>' +
   '<meta http-equiv="imagetoolbar" content="no">' +
   '<link rel="stylesheet" href="style.css"></head><body style="background:#ffffff">' +
   '<div align="center"><a href="javascript: window.close\(\)"><img style="margin:5px 0 5px 0" src="images/'+picture+'" width="450" height="270" border="0" title="'+ title +' \(click to close\)"></a></div>' +
   '<p style="margin-left:15px; margin-right:15px; padding-top:3px"><span style="color:#339933"><b>'+title+'</b></span><br>' + text + '</p>' +   
   
   '<div style="width:430px; position:absolute; bottom:3px; left:15px; border-top:1px solid #106f00; padding-top:7px; padding-bottom:5px">' + 
   '<p style="float:left; padding:0; margin:0"><img src="images/pointer_ff.gif" width="6" height="11" border="0" alt="">&nbsp;<a href="javascript:window.print\(\)">Print</a></p>' +
   '<p style="float:right; padding:0; margin:0"><img src="images/pointer_ff.gif" width="6" height="11" border="0" alt="">&nbsp;<a href="javascript: window.close\(\)">Close window<\/a></p></td>' +
   '</div></body></html>')
   smallWindow.document.close()
   smallWindow.focus()   
}
