/* vertical menu bar */
ul.mbv {
	margin: 0;
	padding: 0;
	list-style: none;
	width: 20em;
	background-color: gray; /*background-image: url(../background2.gif);
	background-repeat: repeat;*/
}
ul.mbv li
{
	padding-right: 0px;
	padding-left: 0px;
	z-index: 1;
	padding-bottom: 0px;
	margin: 0px;
	color: white;
	padding-top: 0px;
	border-top: gray 1px solid;
	border-bottom: gray 1px solid;
	position: relative;
}
ul.mbv ul {
	margin: 0 0 0 2px;
	padding: 0;
	list-style: none;
	position: absolute;
	top: -1; /* if using borders, -1 to align top borders */
	left: 20em;
	width: 15em;
	/*background: none transparent scroll repeat 0% 0%;*/
	z-index: 2;
}
/* separator to mark end of menu group */
ul.mbv li.end {
	border-bottom: 1px dashed red;
}

ul.mbv li a:link, 
ul.mbv li a:visited,
ul.mbv li a:hover,
ul.mbv li a:active {
	display: block;
	padding: .2em .5em;
	width: 20em;
	text-decoration: none;
	background-image: url(../background2.gif);
	background-repeat: repeat;
	color: #FFF;
}
ul.mbv li a:hover,
ul.mbv li a:active {
	color: Orange;
}

ul.mbv li a.hidden:link,
ul.mbv li a.hidden:visited {
	/*border-bottom: red 1px solid;*/
	border-right: red 1px dashed;
}
ul.mbv li a.visible:link,
ul.mbv li a.visible:visited,
ul.mbv li a.visible:hover,
ul.mbv li a.visible:active {
	/*border-bottom: red 1px solid;*/
	border-right: red 1px dashed;
}


/* horizontal menu bar */
ul.mbh {
	margin: 0;
	padding: 0;
	list-style: none;
	width: 100%;
}
ul.mbh li {
	float: left;
	padding: 0;
	margin: 0;
	z-index: 1;
}
ul.mbh ul li {
	float: none;
	position: relative;
	border-bottom: 1px solid #red; /* fixes gap problem in IE */
}
/* separator to mark end of menu group */
ul.mbh ul li.end {
	border-bottom: 1px dashed #399;
}
ul.mbh li ul {
	margin: 0;
	padding: 0;
	list-style: none;
	position: relative;
	top: 0;
	left: 0;
	background: #9CC;
	z-index: 2;
}
ul.mbh ul ul {
	margin-left: .2em;
	position: absolute;
	top: 0; /* if using borders, -1px to align top borders */
	left: 9em;
}

ul.mbh li a:link,
ul.mbh li a:visited,
ul.mbh li a:hover,
ul.mbh li a:active {
	display: block;
	padding: .2em .5em;
	text-decoration: none;
	background: #9CC;
	color: #399;
}
ul.mbh li a:hover,
ul.mbh li a:active {
	background: #399;
	color: #FFF;
}
ul.mbh ul li a:link,
ul.mbh ul li a:visited,
ul.mbh ul li a:hover,
ul.mbh ul li a:active {
	width: 8em;
}

ul.mbh ul li a.hidden:link,
ul.mbh ul li a.hidden:visited {
	background: #9CC url(mb.gif) 100% -12px no-repeat;
}
ul.mbh li a.visible:link,
ul.mbh li a.visible:visited,
ul.mbh li a.visible:hover,
ul.mbh li a.visible:active {
	background: #399;
	color: #FFF;
}
ul.mbh ul li a.visible:link,
ul.mbh ul li a.visible:visited,
ul.mbh ul li a.visible:hover,
ul.mbh ul li a.visible:active {
	background: #399 url(mb.gif) 100% -62px no-repeat;
}

