.menubar {
	background: white;
	margin: 0px;
	margin-left: 20px;
	list-style-type: none;
	text-align: left;
	width: 744px;
	border-bottom: 1px solid black;
	padding: 8px;
}

.menubar li { /* this tells the tabs to sit in a row */
	display: inline;
}

.menubar li a { /* this part draws the tabs */
	font: bold 12px Verdana;
	text-decoration: none;
	padding: 3px 15px;
	border: 1px solid gray;
	color: black;
	background: white url(media/bluetab.gif) top left repeat-x;
}
.menubar li a:visited {
	color: black /* so it stays the same if you have already clicked it */
}
.menubar li a:hover {
	color: darkblue;
	background-image: url(media/bluetabactive.gif);
}

.submenu {  /* this makes the submenu box */
	background-color: white;
	position: absolute;
	top: 0;
	border: 1px solid gray;
	//border-top: 0px;
	z-index: 100;
	visibility: hidden; /* initial state */
}

.submenu li a {
	background-image: none;
	display: block;
	border: 0;
	border-bottom: 1px dotted gray;
	padding: 2px 5px;
	text-decoration: none;
	font: normal 12px Verdana;
	line-height: 18px;
	text-align: left;
	margin-left: -40px; /* WHY IS THIS NECESSARY?? */
}

.submenu li a img {
	border: 0;
	padding-right: 4px;
	margin-top: -2px;
	margin-bottom: -3px;
}

* html ul.submenu a { /* this is a workaround hack for IE weirdness */
	width: 100%;
}

.submenu li a:hover {
	background-color: lightgray;
	text-decoration: none;
	color: darkblue;
	background-image: none;
}