function popUpImage(sImgPath, iImgW, iImgH, Cap, Styl, FontColor, winName) {
var Cap1="ONE MOMENT WHILE PHOTO LOADS";
		var sHeader = "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\">\n<html>\n<head>\n<title>" + Cap + "</title>\n<style> td {font-family:arial;font-size:12pt;color:#73BAEF;font-weight:bold;}</style>\n</head>\n<body style=\"margin:2px;" + Styl + "\">\n<div align=\"center\">\n";
		var sFooter = "</body>\n</html>";
		var sAlt = " alt=\" " + Cap1 + " \"";
		var zW=(iImgW+40);
		var zH=(iImgH+115);
		var oWin = window.open(winName, null, "width=" + zW + ",height=" + zH + ",left=1,top=1,directories=0,location=0,menubar=0,resizable=1,scrollbars=1,status=0,toolbar=0");
		oWin.document.open();
		oWin.resizeTo(zW,zH); 
		oWin.focus();
		oWin.document.write(sHeader);
		zPath="http://www.iwebphoto.com/iwebphoto-iwebphoto/" + sImgPath;
		oWin.document.write("<img src='images/spacer.gif' height='5' width='5' border='0'><table width=100% cellspacing=0 cellpadding=1 border=0>\n<tr>\n<td width=20 style=\"padding-right:3px;\"><input type=\"button\" onClick=\"javascript:window.close();\" value=\"Close\" style=\"color:red;background-color:#eeeeee\"></td>\n<td  align=\"center\" style=\"color:#" +FontColor+ "\">" + Cap + "</td>\n<td align=right style=\"padding-right:3px;\" nowrap><!-- was maxomo send to phone --></td>\n</tr></table><table width=\"100%\" cellspacing=1 cellpadding=0 border=0>\n<tr><td  align=\"center\" ><IMG SRC=\"" + sImgPath + "\" width=" + iImgW + " height=" + iImgH + sAlt + " >\n</td>\n</tr>\n</table>\n\n");		
		oWin.document.write(sFooter); 
		oWin.document.close();
	}