
.main_nav {
	float:right;
	width:524px; 
	height:23px;
	padding:0;
	margin:40px 0 0 0;
	z-index:999;
}

.main_nav ul {
	padding:0;
	margin:0;
	list-style-type:none;
	font-family:Verdana, Helvetica, sans-serif;
	z-index:999;
}

.main_nav ul ul {
	width:auto;
	z-index:999;
}

.main_nav ul ul li {
	background:#d3d3d3;
	z-index:999;
}


.main_nav li {
	float:left;
	position:relative;
	z-index:999;
}
/* style the links for the top level */
.main_nav a, .main_nav a:visited {
	display:block;
	font-size:11px;
	text-decoration:none; 
	color:#ffffff; 
	height:23px; 
	padding:0 0px 0 8px;
	margin:0 0 0 5px;
	line-height:23px;
	font-weight:bold;
	z-index:999;
}

/* style the links for the top level for span */
.main_nav a span, .main_nav a:visited span {
	float:left;
	display:block; 
	height:23px; 
	padding:0 8px 0 0px;
	margin:0;
	z-index:999;
}

/* a hack so that IE5.5 faulty box model is corrected */
* html .main_nav a, * html .main_nav a:visited {
/*width:auto;
w\idth:auto;*/
float:left;
z-index:999;
}


/* hide the sub levels and give them a positon absolute so that they take up no room */
.main_nav ul ul {
visibility:hidden;
position:absolute;
height:0;
top:23px;
left:0; 
margin:0 0 0 5px;
z-index:999;
}

/* another hack for IE5.5 */
* html .main_nav ul ul {
top:23px;
t\op:23px;
}

/* style the table so that it takes no part in the layout - required for IE to work */
.main_nav table {position:absolute; top:0; left:0; z-index:999;}

/* style the second level links */
.main_nav ul ul a, .main_nav ul ul a:visited {
	background:#d3d3d3;
	color:#00459b; 
	font-weight:normal;
	height:auto; 
	line-height:1em; 
	padding:5px 4px; 
	width:160px;
	z-index:999;
}



/* style the top level hover */
.main_nav a:hover {
color:#000000; 
background:url(../images/tab_left.gif) top left no-repeat #d3d3d3;
text-decoration:none;
z-index:999;

}
.main_nav :hover > a {
color:#000000;
background:url(../images/tab_left.gif) top left no-repeat #d3d3d3;
text-decoration:none;
z-index:999;
}

.main_nav ul ul a:hover{
color:#000000; 
background:#d3d3d3;
text-decoration:none;
z-index:999;
}
.main_nav ul ul :hover > a {
color:#000000;
background:#d3d3d3;
text-decoration:none;
z-index:999;
}

.main_nav a:hover span {
color:#000000; 
background:url(../images/tab_right.gif) top right no-repeat #d3d3d3;
cursor:pointer;
text-decoration:none;
z-index:999;
}
.main_nav :hover > a span {
color:#000000;
background:url(../images/tab_right.gif) top right no-repeat #d3d3d3;
cursor:pointer;
text-decoration:none;
z-index:999;
}



/* make the second level visible when hover on first level list OR link */
.main_nav ul li:hover ul,
.main_nav ul a:hover ul{
visibility:visible; 
}






/* style the links for the top level */
.main_nav a.current {
	background:url(../images/tab_left.gif) top left no-repeat #d3d3d3;
}

/* style the links for the top level for span */
.main_nav a.current span, .main_nav a.current:visited span {
	background:url(../images/tab_right.gif) top right no-repeat #d3d3d3;
	color:#000000; 
	font-weight:bold;
}


