#menu ul {
	float:right;
	list-style:none;
	width:auto;
	height:30px;
	margin:0;
	padding:23px 0 0 0;
}
#menu ul h2{
	height:auto;
	padding:0;
	margin:0px;
	background-color:#000000;
}
#menu ul h2 a{
	display: block;
	padding:7px 15px 7px 15px; /* padding also defines width for autosized menus */
	background-color:#999999;
	margin:0;
	border-left:#b4b4b4 solid 1px;
	border-right:#747474 solid 1px;
}
#menu ul h2 a:hover{
	background-color:#cfcfcf;
	border-left:#fff solid 1px;
	border-right:#fff solid 1px;
}
#menu h2 {
	margin: 0;
	padding:0;
}

#menu a {
	display: block;
	text-align: center;
	margin: 0;
	padding:0;
}

/* IE needs the values given in 2 x parts to display autosized menu properly - width: auto */ 
* html #menu h2 a{display: inline-block;} 
* html #menu h2 a{display: inline;} 

#menu ul ul li {
	border:#ffffff solid 1px;*
	margin:0 1px 1px 1px;
	background-color:#CCCCCC
}
#menu ul ul li a {
	padding:0px;
}
#menu ul ul li a:hover {
}
#menu a:hover {
	background:transparent;
}
#menu h2 a:hover {
	background-color:transparent;
}
#menu li {position: relative;}

#menu ul ul ul {
	position: absolute;
	top: 0;
	left: 100%;
}
#menu ul ul {
	top:30px;
	left:0;
	position: absolute;
	z-index: 500;
	background-color: #999999;
	border-bottom:#999999 solid 1px;
}

div#menu ul ul {
display: none;
}

div#menu ul li:hover ul
{display: block;}

div#menu ul ul,
div#menu ul li:hover ul ul,
div#menu ul ul li:hover ul ul
{display: none;}

div#menu ul li:hover ul,
div#menu ul ul li:hover ul,
div#menu ul ul ul li:hover ul
{display: block;}

body {
behavior: url(/csshover.htc);
}
<!--[if IE]>
<style type="text/css" media="screen">
body {
behavior: url(/csshover.htc);
font-size: 100%;
}

#menu ul li {float: left; white-space:wrap; overflow: inherit; width:auto;}
#menu ul li a {height: 1%;} 

#menu a, #menu h2 {
	font: 11px  Verdana, Tahoma, Arial, helvetica, sans-serif;
	font-weight: normal;
	color:#FFFFFF;
	text-transform:uppercase;
}
</style>
<![endif]-->
 

