.hgallery {
	width: 100%;
	vertical-align: top;
	border-collapse: collapse;
	margin-top: 1em;
	border: solid 1px black;
	background: #eed;
}

.hgallery th {
	text-align: left;
	background: #ddc;
	color: black;
	text-indent: 1em;
}

.hgallery td {
	vertical-align: top;
	padding: 2px;
}

.hgallery img {
	margin-left: 4px;
	margin-top: 4px;
}

.himage, .himage:visited {
	display: block;
	font-size: 10px;
	text-decoration: none;
	white-space: nowrap;
	background: #ddd;
	border: dotted 1px black;
	color: #666;
	margin: 2px;
	padding: 2px;
}

.himage:hover {
	background: white;
}

.himageref, .himageref:visited {
	color: blue;
}

.hviewer {
	background: #ddc;
	margin: 10px;
}

.hviewer table {
	width: 100%;
}

.hviewer input {
	background: #ddc;
}

#closebutton {
	vertical-align: bottom;
	text-align: right;
}
