.menu {
	width: 940px;
	white-space: nowrap;
}

.menu ul {
	padding: 0;
	margin: 0;
	list-style-type: none;
}

.menu ul ul {
	width: 120px;
}

.menu li {
	float: left;
	width: 120px;
	position: relative;
}

.menu a, .menu a:visited {
	display: block;
	font-size: 1em;
	text-decoration: none; 
	color: #333; 
	width: 110px; 
	height: 40px; 
	padding-left: 10px; 
	line-height: 40px;
	overflow: hidden;
	white-space: nowrap;
	border-left: 1px solid #BBB;
	border-right: 1px solid #FFF;
	font-weight: bold;
}

* html .menu a, * html .menu a:visited {
	width: 120px;
	w\idth: 110px;
}

/* style the second level background */
.menu ul ul a, .menu ul ul a:visited {
	background: #222;
}
/* style the second level hover */
.menu ul ul a:hover{
	background: #222;
}
.menu ul ul :hover > a {
	background: #222;
}
/* style the third level background */
.menu ul ul ul a, .menu ul ul ul a:visited {
	background: #222;
}
/* style the third level hover */
.menu ul ul ul a:hover {
	background: #222;
}
.menu ul ul ul :hover > a {
	background: #222;
}

/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu ul ul {
	visibility: hidden;
	position: absolute;
	height: 0;
	top: 40px;
	left: 0; 
	width: 120px;
}
/* another hack for IE5.5 */
* html .menu ul ul {
	top: 40px;
	t\op: 40px;
}

/* position the third level flyout menu */
.menu ul ul ul{
	left: 120px; 
	top: 0;
	width: 120px;
}
/* position the third level flyout menu for a left flyout */
.menu ul ul ul.left {
	left: -120px;
}

/* style the table so that it takes no part in the layout - required for IE to work */
.menu table {position: absolute; top: 0; left: 0;}

/* style the second level links */
.menu ul ul a, .menu ul ul a:visited {
	background: #333; 
	color: #fff; 
	height: auto; 
	line-height: 1em; 
	padding: 10px 10px;
	width: 100px;
	overflow: visible;
	white-space: normal;
	font-size: 0.95em;
	border: none;
	
/* yet another hack for IE5.5 */
}
* html .menu ul ul a{
	width: 120px;
	w\idth: 100px;
}


/* style the top level hover */
.menu a:hover, .menu ul a:hover{
	color: #222; 
	background: #ccc;
}
.menu :hover > a, .menu ul :hover > a {
	color: #222;
	background: #ccc;
}

/* make the second level visible when hover on first level list OR link */
.menu ul li:hover ul,
.menu ul a:hover ul{
	visibility: visible; 
}
/* keep the third level hidden when you hover on first level list OR link */
.menu ul :hover ul ul{
	visibility: hidden;
}
/* keep the fourth level hidden when you hover on second level list OR link */
.menu ul :hover ul :hover ul ul{
	visibility: hidden;
}
/* make the third level visible when you hover over second level list OR link */
.menu ul :hover ul :hover ul{ 
	visibility: visible;
}
/* make the fourth level visible when you hover over third level list OR link */
.menu ul :hover ul :hover ul :hover ul { 
	visibility: visible;
}

