function opengfxwin(file,width,height,titl,alt){
	widthinfo="width=" + (width + 20);
	heightinfo=",height=" + (height + 40);
	gfxwin=window.open("", "", 'toolbar=no,location=no,directories=no,menubar=no,status=no,scrollbars=no,resizable=no,marginwidth=0,marginheight=0,' + widthinfo + heightinfo);
	contents=
	"<html>" +
	"<head>" +
	"<DIV style='background-image: url(../../SiteImages/clearpixel.gif);left: 10px;top: 26px;z-index: 101;position:absolute;height:" + height + ";width=" + width + ";'>" +

	//background-image: url(../SiteImages/clearpixel.gif);


	"</DIV>" +
	"<title>CigarMinds</title>" +
	"</head>" +
	"<body bgcolor='White' text='#324395' topmargin=0 leftmargin=0>" +
	"<table align='center'  border='0' cellpadding='0' cellspacing='3' width='100%'>" +
	"	<tr align='center'>" +
	"		<td><font face='Arial' size='2'><b>" + "<br><font size='1'>" + "" + "</font></td>" +
	"	</tr>" +
	"	<tr>" +
	"		<td height='0'></td>" +
	"	</tr>" +
	"	<tr align='center'>" +
	"		<td><img src='" + file + "' width=" + width + " height=" + height + "></td>" +
	"	</tr>" +
	"</table>" +
	"</html>"

	gfxwin.document.write(contents);
}

function openGallery(ID) {
	var width = 650;
	var height = 550;
	window.open("gallery.asp?ID=" + ID, 'GalleryWin', 'marginwidth=0,marginheight=0,directories=no,height=' + height + ',width=' + width + ',location=no,menubar=no,resizable=no,scrollbars=no,status=no,toolbar=no,top=25,left=25')
}