<!--
// by Derek Thatcher
// opens new window to display image, for use in gallerys

var win = '';

function openWin1(picture,text,features) {
//picture - a file, jpg or some image.
//text - the text you want displayed.
//featuers - the window featues

	if(win && !win.closed){
		win.close();}
	win = eval("window.open('blank.html','newWin',features)");
	if(!win.opener) win.opener = self;


  win.document.open();
  
  win.document.write("<html><head><title>Quantum Field Gallery");
  win.document.write("</title><link rel='stylesheet' type='text/css' href='styling.css'><body background-color=' #000000' color=' #FFFFFF'>");
  win.document.write("<img border='0' src='");
  win.document.write(picture);
  win.document.write("'><br><p align='center'><h2>");
  win.document.write(text);
  win.document.write("</h2><br></p></body></html>");

  // close the document - (not the window!)  
  win.document.close();  
}

//-->
