<!-- ;
var newwindow;
var wheight = 0, wwidth = 0;

function openImgWnd(url, title, iwidth, iheight, scroll) {
var pwidth, pheight;

if ( !newwindow || newwindow.closed ) {
//pwidth=iwidth+30;
//pheight=iheight+30;
pwidth=iwidth;
pheight=iheight;
//newwindow=window.open('','htmlname','width=' + pwidth +',height=' +pheight + ',scrollbars=' +scroll+ ' ,resizable=1,top=50,left=10');
newwindow=window.open('','htmlname','width=' + pwidth +',height=' +pheight + ',scrollbars=1 ,resizable=1,top=50,left=10');
wheight=iheight;
wwidth=iwidth;
}

if (wheight!=iheight || wwidth!=iwidth ) {
//pwidth=iwidth+30;
//pheight=iheight+90;
pwidth=iwidth;
pheight=iheight;
newwindow.resizeTo(pwidth, pheight);
wheight=iheight;
wwidth=iwidth;
}

newwindow.document.clear();
newwindow.focus();

newwindow.document.writeln('<html> <head> <title>' + title + '<\/title>'); 
newwindow.document.writeln('<\/head> <body> <link rel="stylesheet" type= "text/css" href="../../styles2.css"');

//newwindow.document.writeln('<p class="smlLink" align="left"> <a href="javascript:self.close();">');
//newwindow.document.writeln('Close Window</a></p>');

newwindow.document.writeln('<p align="center"><center> <img src=' + url + ' title=\"' + title + '\" border=2 alt=\"' + title + '\" ></p><\/center>');

newwindow.document.writeln('<p class="smlLink"> <a href="javascript:self.close();">');
newwindow.document.writeln('Close Window</a></p>');

newwindow.document.writeln('<p class="imgheading"> ' + title + '</p>')


//newwindow.document.writeln()
newwindow.document.writeln()
newwindow.document.writeln('<p class="picCaptn"> &copy; 2007 John and Sue O\'Malley</font></p>')

newwindow.document.writeln('<\/center> <\/body> <\/html>');

newwindow.document.close();
newwindow.focus();
}

function openImgWnd2(url, title, iwidth, iheight, scroll) {
var pwidth, pheight;

if ( !newwindow || newwindow.closed ) {
//pwidth=iwidth+30;
//pheight=iheight+30;
pwidth=iwidth;
pheight=iheight;
//newwindow=window.open('','htmlname','width=' + pwidth +',height=' +pheight + ',scrollbars=' +scroll+ ' ,resizable=1,top=50,left=10');
newwindow=window.open('','htmlname','width=' + pwidth +',height=' +pheight + ',scrollbars=1 ,resizable=1,top=50,left=10');
wheight=iheight;
wwidth=iwidth;
}

if (wheight!=iheight || wwidth!=iwidth ) {
//pwidth=iwidth+30;
//pheight=iheight+90;
pwidth=iwidth;
pheight=iheight;
newwindow.resizeTo(pwidth, pheight);
wheight=iheight;
wwidth=iwidth;
}

newwindow.document.clear();
newwindow.focus();

newwindow.document.writeln('<html> <head> <title>' + title + '<\/title>'); 
newwindow.document.writeln('<\/head> <body> <link rel="stylesheet" type= "text/css" href="../../styles2.css"');

//newwindow.document.writeln('<p class="smlLink" align="left"> <a href="javascript:self.close();">');
//newwindow.document.writeln('Close Window</a></p>');

newwindow.document.writeln('<p align="center"><center> <img src=' + url + ' title=\"' + title + '\" border=2 alt=\"' + title + '\" ></p><\/center>');

newwindow.document.writeln('<p class="smlLink"> <a href="javascript:self.close();">');
newwindow.document.writeln('Close Window</a></p>');

newwindow.document.writeln('<p class="imgheading"> ' + title + '</p>')


//newwindow.document.writeln()
newwindow.document.writeln()
newwindow.document.writeln('<p class="picCaptn"> </p>')

newwindow.document.writeln('<\/center> <\/body> <\/html>');

newwindow.document.close();
newwindow.focus();
}


// Based on JavaScript provided by Peter Curtis at www.pcurtis.com -->



<!-- ;
var newwindow;
var wheight = 0, wwidth = 0;

function openImgWndEnys(url, title, id, iwidth, iheight, scroll) {
var pwidth, pheight;

if ( !newwindow || newwindow.closed ) {
//pwidth=iwidth+30;
//pheight=iheight+30;
pwidth=iwidth;
pheight=iheight;
//newwindow=window.open('','htmlname','width=' + pwidth +',height=' +pheight + ',scrollbars= ' + scroll + ', resizable=1,top=50,left=10');
newwindow=window.open('','htmlname','width=' + pwidth +',height=' +pheight + ',scrollbars= 1, resizable=1,top=50,left=10');
wheight=iheight;
wwidth=iwidth;
}

if (wheight!=iheight || wwidth!=iwidth ) {
//pwidth=iwidth+30;
//pheight=iheight+90;
pwidth=iwidth;
pheight=iheight;
newwindow.resizeTo(pwidth, pheight);
wheight=iheight;
wwidth=iwidth;
}

var title2= title.replace(/#/g,"'");
var title3= ' by Charles Enys (ca. 1865), Rex Nan Kivell Collection, National Library of Australia' + ', ' + id;

newwindow.document.clear();
newwindow.focus();
newwindow.document.writeln('<html> <head> <title>' + title2 + '<\/title>'); 
newwindow.document.writeln('<\/head> <body> <link rel="stylesheet" type= "text/css" href="../../styles2.css"');
//newwindow.document.writeln('<p class="smlLink"> <a href="javascript:self.close();">');
//newwindow.document.writeln('Close Window<\/a><\/p>');

newwindow.document.writeln('<p align="center"><center><img src=' + url + ' title=\"' + title2 + title3 + '\" border=2 alt=\"' + title2 + title3 + '\" ></p><\/center>');

newwindow.document.writeln('<p class="smlLink"> <a href="javascript:self.close();">');
newwindow.document.writeln('Close Window<\/a><\/p>');

newwindow.document.writeln('<p class="imgheading">' + title2 + '<\/p>')
//newwindow.document.writeln()
newwindow.document.writeln()
newwindow.document.writeln('<p class="picCaptn">' + title3 + '<\/p>')

newwindow.document.writeln('<\/center> <\/body> <\/html>');
newwindow.document.close();
newwindow.focus();
}
// Based on JavaScript provided by Peter Curtis at www.pcurtis.com -->
