function displayHTML(str,image,name,w,h) {
	self.name = "main"; // names current window as "main"
	w+=60;
	h+=120;
	// If there is a description, then make the pop up taller
	if (str) {
		if (str.length>0){
			h+=(str.length/2.5);
		}
	}
	var winl = (screen.width - w) / 2;
	var wint = (screen.height - h) / 2;
	var inf = "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\n<html>\n<head>\n<meta http-equiv=\"content-type\" content=\"text/html;charset=iso-8859-1\">\n<meta http-equiv=\"imagetoolbar\" content=\"no\">\n<title>Regency Ceiling Fans: " + name + "</title>";
	inf = inf + "\n</head>";
	inf = inf + "\n<body bgcolor=\"#ffffff\">";
	inf = inf + "\n\n<center>\n<table border=\"0\" cellpadding=\"2\" cellspacing=\"2\" width=\"100%\">\n<tr>\n<td valign=\"middle\" align=\"center\">";
	inf = inf + "\n<b>" + name + "</b>";
	inf = inf + "\n<br>";
	inf = inf + "\n<a href=\"javascript:window.close()\">\n<img src=\"" + image + "\" border=\"0\" alt=\"" + name + "\"></a>\n\n</td>\n</tr>";
	inf = inf + "\n<tr>\n<td>\n<font face=\"Arial,Helvetica,Geneva,Swiss,SunSans-Regular\" size=\"-1\">";
	inf = inf + "\n"+str+"</font></td></tr><tr><td><center>";
	inf = inf + "\n<font face=\"Arial,Helvetica,Geneva,Swiss,SunSans-Regular\" size=\"-1\" color=\"#D09D59\"><a href=\"javascript:window.close()\">close</a>";
	inf = inf + "\n</font>\n</center>\n</td>\n</tr>\n</table>\n</center>";
	inf = inf + "\n\n</body>\n</html>";
	if (image) {
		win = window.open('',null,'width='+w+',height='+h+',status=no,resizable=yes,toolbar=no,scrollbars=auto');
		win.document.write(inf);
		win.document.close();
	} else {
		// nothing, there is no image
		return false;
	}
}