function getPic(i,w,h) {

	// open a new window for the image to display in, 
	// name it the same as the picture number &
	// set it's attributes - resizable with status bar.

	var nw = w + 50;
	var nh = h + 100;

	var o = window.open("", "getpic"+i, "resizable,status,width="+nw+",height="+nh);

	// set up typing shortcut

	var s = o.document;

	// generate the html

	s.write('<HTML>');
	s.write('<HEAD>');
	s.write('<TITLE>More Information</TITLE>');
	s.write('<STYLE>');
	s.write('A:hover {color: ED168D}');
	s.write('</STYLE>');
	s.write('</HEAD>');
	s.write(' ');
	s.write('<BODY BGCOLOR=25D4E9 TEXT=black link=ED168D vlink=ED168D alink=ED168D>');
	s.write('<FONT FACE="Arial">');
	s.write('<CENTER>');
	s.write('<IMG SRC="popup/popup' + i + '.jpg" border=1 bordercolor=black><BR>');
	s.write('<p><A HREF="javascript:self.close()">close</A> this window');
	s.write('</BODY>');
	s.write('</HTML>');
	s.close();

}


