/* start of navbar controls */
#nav, #nav ul
{
	padding:0;
	margin:0;
	list-style:none;
	background:#FF8000;
//	background:url(transparent.gif);
//	position:relative;
//	z-index:100;
	font-family: arial, verdana, sans-serif;
	font-size: 12px;
}

#nav
{
	height:23px;
	width:1000px;
	padding:0px;
	margin:	0px;
	background:#FF8000;
}

#nav table
{
	border-collapse:collapse;
	background:#FF8000;
}

#nav li
{
	float:left;
	background:#FF8000;
}

#nav li li
{
	float:none;
	background:#FF8000
}

/* a hack for IE5.x and IE6 */
#nav li a li
{
	float:left;
	background:#FF8000;
}

#nav li a
{
	display:block;
	float:left;
	color:#FFF;
	height:23px;
	padding:0 20px 0 10px;
	line-height:22px;
	text-decoration:none;
	white-space:nowrap;
	font-weight:bold;
	border-left:1px solid #000;
	background:#FF8000;
}

#nav li li a
{
	height:21px;
	line-height:20px;
	float:none;
}

#nav li:hover
{
	position:relative;
	z-index:100;
}

#nav a:hover
{
	position:relative;
	z-index:100;
	background:#843;
	color:#fff;
	border-left:1px solid #843;
}

#nav li:hover > a
{
	border-left:none #843;
	background:#843;
	color:#fff;
	font-size: 12px;
}

#nav :hover ul
{
	left:0;
	top:23px;
	z-index:300;
}

#nav a:hover ul
{
	left:-1px;
}

#nav ul
{
	position:absolute;
	left:-9999px;
	top:-9999px;
}

/* it could have been this simple if all browsers understood */
/* show next level */
#nav li:hover li:hover > ul
{
	left:0;
	margin-left:100%;
	top:0;
}

/* keep further levels hidden */
#nav li:hover > ul ul
{
	position:absolute;
	left:-9999px;
	top:-9999px;
	width:auto;
}

/* show path followed */
#nav li:hover li:hover > a
{
	background:#843;
	color:#fff;
}

#nav li a:hover ul li a:hover
{
	background:#843;
}

/* but IE5.x and IE6 need this lot to style the flyouts*/
/* show next level */
#nav a:hover a:hover ul, 
#nav a:hover a:hover a:hover ul, 
#nav a:hover a:hover a:hover a:hover ul, 
#nav a:hover a:hover a:hover a:hover a:hover ul
{
	left:100%;
	top:0;
}

/* keep further levels hidden */
#nav a:hover ul ul, 
#nav a:hover a:hover ul ul, 
#nav a:hover a:hover a:hover ul ul, 
#nav a:hover a:hover a:hover a:hover ul ul
{
	position:absolute;
	left:-9999px;
	top:-9999px;
}

