/* Pop2.js
   Javascript script to load popup window with photo
   and caption embedded
*/
var faux = null;
var pic = new Image(); 
function copyCat(pic,titl,caption,ht,wd) {
var ww = "dependent,titlebar=no,top=20,left=20,Height=" + ht +",Width=" + wd
faux = window.open('','newWin',ww);
var fd = faux.document;
fd.open();
fd.write('<html><head><title>' + titl + '</title></head>');
fd.write('<body bgcolor="white" onLoad="window.focus()">');
fd.write('<table border=0 cellpadding=0 cellspacing=0 width="100%" height="100%">');
fd.write('<tr><td align="center" valign="middle"><img src="' + pic + '.jpg"></td></tr>');
fd.write('<tr><td align="center" valign="top">' + caption + '&nbsp;&nbsp;&nbsp;');
fd.write('<a href="javascript:void(null)" onclick="javascript:window.close();" style="color: #FFFFFF; cursor: hand;"><img src="images/other/closethiswindow.gif" alt="Close this window" border="0"></a>');
fd.write('</td></tr>');
fd.write('</table></body></html>');
fd.close();
} 
	