function Pop(imgTitle,imgSrc) {
	var scr_width = 582;   // Initial size; will be resized
	var scr_height = 480;  // Initial size; will be resized
	var img_dir = "images/";

	var newWin = null;
	newWin = window.open("","","width=" + scr_width + ",height=" + scr_height + ",scrollbars=no,resizable=yes");
	if (newWin != null) {
		newWin.focus();
		var htmlCode = "\n";
        htmlCode +=    "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n";
        htmlCode +=    "<html xmlns=\"http://www.w3.org/1999/xhtml\">";
		htmlCode +=    "	 <head>\n";
		htmlCode +=    "	  <title>" + imgTitle + "</title>\n";
        htmlCode +=    "      <link rel=\"stylesheet\" type=\"text/css\" href=\"css/main.css\">\n";
        htmlCode +=    "      <link rel=\"stylesheet\" type=\"text/css\" href=\"css/pop.css\">\n";
		htmlCode +=    "     </head>\n";
		htmlCode +=    "	 <body onload=\"javascript:self.resizeTo(document.getElementById('Photo').width+15,document.getElementById('Photo').height+120);\">\n";
        htmlCode +=    "	 <div id=\"Pop\">\n";
		(document.layers) ? htmlCode += "<layer id=\"Loading\" class=\"Loading\" visibility=\"visible\" z-index=\"1\">\n" :
                            htmlCode += "<div id=\"Loading\" class=\"Loading\" visibility=\"visible\" z-index=\"1\">\n";
		htmlCode +=	   "	    Please wait, loading...\n";
		(document.layers) ? htmlCode += "</layer>\n" :
                            htmlCode += "</div>\n";
		htmlCode +=    "	   <img id=\"Photo\" src=\"" + img_dir + imgSrc + "\" border=\"1\" alt=\"" + imgTitle + "\" onload=\"javascript:(document.layers) ? document.getElementById('Loading').visibility='hidden' : document.getElementById('Loading').style.visibility='hidden';\">\n";
		htmlCode +=    "	   <div class=\"Caption\">" + imgTitle + "</div>\n";
		htmlCode +=    "	   <a href=\"javascript:window.close();\" title=\"Close this window and return to website\">close window</a>\n";
		htmlCode +=    "	 </div>\n";
		htmlCode +=    "	 </body>\n";
		htmlCode +=    "</html>";
		newWin.document.write(htmlCode);
		newWin.document.close();
	}
}