function popImage(imgSrc, imgTitle) {
	var scr_width = 620;
	var scr_height = screen.height - 100;
	var win_title = "Enlarged Image";
	var win_bg = "#FFFFFF";
	var img_dir = "images/";
	var fontColor = "#000000";

	var newWin = null;
	newWin = window.open("","","width=" + scr_width + ",height=" + scr_height + ",scrollbars=yes,resizable=yes");
	if (newWin != null) {
		newWin.focus();
		var htmlCode = "	<HTML>\n";
		htmlCode +=    "	 <HEAD>\n";
		htmlCode +=    "	  <TITLE>" + win_title + "</TITLE>\n";
		htmlCode +=    "   </HEAD>\n";
		htmlCode +=    "	 <BODY bgcolor=\"" + win_bg + "\">\n";
		htmlCode +=    "	  <DIV align=\"center\">\n";
		(document.layers) ? htmlCode += "<LAYER id=\"imgLoad\" visibility=\"visible\" z-index=\"1\">\n" : htmlCode += "<DIV id=\"imgLoad\" visibility=\"visible\" z-index=\"1\">\n";
		htmlCode +=	   "	    <FONT color=\"" + fontColor + "\" face=\"Verdana,Arial,Helvetica\" size=\"-1\"><B>Please wait, loading...</B></FONT>\n";
		(document.layers) ? htmlCode += "</LAYER>\n" : htmlCode += "</DIV>\n";
		htmlCode +=    "	   <BR>\n";
		htmlCode +=    "	   <IMG src=\"" + img_dir + imgSrc + "\" border=\"1\" alt=\"" + imgTitle + "\" onLoad=\"javascript:(document.layers) ? document.layers['imgLoad'].visibility='hidden' : document.all['imgLoad'].style.visibility='hidden';\">\n";
		htmlCode +=    "	   <BR><FONT color=\"" + fontColor + "\" face=\"Verdana,Arial,Helvetica\" size=\"-1\"><B>" + imgTitle + "</B></FONT><BR>\n";
		htmlCode +=    "	   <FORM name=\"fClose\"><INPUT type=\"button\" name=\"btnClose\" value=\"Close Window\" onClick=\"javascript:window.close();\"></FORM>\n";
		htmlCode +=    "	   </FORM>\n";
		htmlCode +=    "	  </DIV>\n";
		htmlCode +=    "	 </BODY>\n";
		htmlCode +=    "	</HTML>";
		newWin.document.write(htmlCode);
		newWin.document.close();
	}
}

function popZoom(productName,productCode) {
	var width = 500;
  var height = 400;
  newWinZoom = window.open("zoom.php?productcode="+productCode+"&productname="+productName,"","width=" + width + ",height=" + height + ",scrollbars=yes,resizable=yes");

}
