		/*this is the css for the vertical version*/
		.vertical ul{
			list-style-type: none;
			padding: 0;
			width: 204px;
			margin: 0;
			position: relative;
		}
		.vertical li a{
			display: block;
			width: 200px;
			text-decoration: none;
			height: 1em;
			padding: .1em 1px;
			border: 1px solid;
			border-top: 0px;
		}
		.vertical li{
			position: relative;
			border-bottom: 1px solid transparent;
			margin-bottom: -1px;
		} 
		.vertical li:first-child>a{
			border-top: 1px solid;
		}
		.vertical a.first{
			border-top: 1px solid;
		}
		.vertical li ul{
			position: absolute;
			top: -1px;
			left: 203px;
		}
		.vertical.left ul ul ul,.vertical .left ul{
			left: -203px;
		}
		/*this is the css for the horizontal version*/
		.horizontal ul{
			border: none;
			list-style-type: none;
			padding: 0;
			margin: 0;
		}
		.horizontal ul li{
			float: left;
			position: relative;
			z-index: 9999;
		}
		.horizontal ul li a{
	display: block;
	width: 133px;
	text-decoration: none;
	text-align: center;
	height: 30px;
	overflow: hidden;
	border: 1px solid;
	border-left: none;
	border-top: none;
	border-bottom: none;
	border-color: #999999;
	font-family: Verdana, Geneva, Helvetica, sans-serif;
	font-size: 12px;
	color: #000000;
	padding: 0px;
	line-height: 30px;
		}
		.horizontal li li{
			float: none;
			border-bottom: 1px solid transparent;
			margin-bottom: -1px;
		}
		.horizontal li li.last{
			border-bottom: none;
		}
		.horizontal ul li ul{
			position: absolute;
			top: 30px;
			left: -1px;
			margin-top: 0px;
		}
		/*control position of 2nd level dropdown in relation to 1st level dropdown*/
		.horizontal ul ul ul{
			width: 170px;
			top: 0px;
			left: 170px;
			margin-top: 0;
		}
		.horizontal.left ul ul ul,.horizontal .left ul ul{
			top: -1px;
			left: -128px;
		}
		/*the item below controls dropdown style (not including top & left borders of first link in dropdown*/
		.horizontal ul li li a{
	background-color: #CCCCCC;
	width: 170px;
	text-align: left;
	border: 1px solid;
	border-top: none;
	border-color: #999999;
	z-index: 10;
	padding: 0px 5px;
	height: auto;
		}
		.horizontal ul li:first-child>a{
			border-left: 1px solid;
		}
		/*the item below controls the left border of the first link in each bar (e.g. main nav & drop downs border style&colour*/
		.horizontal ul li a.first{
			border-left: 1px solid;
			border-color: #999999;
		}
		.horizontal ul li li a.first{
			border-top: 1px solid;
		}
		/*the item below controls the top border of the first link in each dropdown*/
		.horizontal ul li li:first-child>a{
			border-top: 1px solid;
			border-color: #999999;
		}
		div.horizontal ul li.pixelfix ul{
			left: 0;
		}
		div.horizontal ul li.pixelfix ul ul{
			left: 128px;
		}
		/*here we use a little CSS to make a basic/backup dropdown menu in modern browsers *cough* not IE6 or less *cough* if javascript is disabled.Flickering never happens in these browsers*/
		.mlmenu li ul{
			display: none;
		}
		.mlmenu li:hover>ul{
			display: block;
		}
		/*This section makes the menu not work in non-javascript enabled browsers by not showing the menu by default-This can be worked around by making top level links point to a sitemap*/
		.accessible li ul{
			display: block;
		}
		/*Code to show an element has a child*/
		.mlmenu.plus li a:first-child:not(:last-child):after{
			content: '>';
		}
		.plus a span{
			padding-left: .5em;
		}
		.noshow{
			visibility: hidden;
		}
		/*colors for menu*/
		.darkgrey li a{
			color: #000000;
			border-color: #999999;
		}
		.darkgrey li a:hover,.darkgrey li a.first:hover,.darkgrey .trail a.hover{
			background-color: #999999;
			color: #000000;
			border-color: #999999;
		}
		.darkgrey li:first-child>a:hover{
			background-color: #999999;
			color: #000000;
			border-color: #999999;
		}
		.darkgrey ul{
			border-color: #999999;
		}