#nav {
	background:  url(../images/concept2.gif) no-repeat;
	position: relative;
	height: 25px;
	width: 920px;
	top: 3px;
	border-bottom-width: 0px;
	border-bottom-style: none;
	border-bottom-color: #ff9900;
	padding-top: 0;
	padding-right: 0;
	padding-bottom: 0;
	padding-left: 40px;
	}

	#nav li ul, #nav li ul {
		margin: 0;
		padding: 0;
	}

	#nav a {
		text-decoration: none;
	}

	#nav li { /*float the main list items*/
	margin: 0;
	float: left;
	display: block;
	padding-right: 0px;
	}

	#nav li ul {
		display: none;
		height: 13px;
	}
	#nav li ul li {
		padding-right: 10px;
		}
	#home.off ul, #home.on ul  { /*put the subnav below*/
		position: absolute;
		top: 20px;
		left: 0;
		padding-top: 0px;
		background: #ffffff;
		height: 15px;
		width: 150px;
		padding-left: 435px;
	}
	#product.off ul, #product.on ul  { /*put the subnav below*/
	position: absolute;
	top: 20px;
	left: 0;
	padding-top: 0px;
	background: #ffffff;
	height: 15px;
	width: 360px;
	padding-left: 243px;
	padding-right: 100px;
	}
	#features.off ul, #features.on ul  { /*put the subnav below*/
	position: absolute;
	top: 20px;
	left: 0;
	padding-top: 0px;
	background: #ffffff;
	height: 15px;
	width: 443px;
	padding-left: 108px;
	}
	#process.off ul, #process.on ul  { /*put the subnav below*/
	position: absolute;
	top: 20px;
	left: 0;
	padding-top: 0px;
	background: #ffffff;
	height: 15px;
	width: 48px;
	padding-left: 55px;
	}
	#about.off ul, #about.on ul  { /*put the subnav below*/
	position: absolute;
	top: 20px;
	left: 90px;
	padding-top: 0px;
	background: #ffffff;
	height: 15px;
	width: 216px;
	padding-left: 532px;
	}
	#resources.off ul, #resources.on ul  { /*put the subnav below*/
		position: absolute;
		top: 20px;
		left: 0;
		padding-top: 0px;
		background: #ffffff;
		height: 15px;
		width: 250px;
		padding-left: 728px;
	}
	#contact.off ul, #contact.on ul  { /*put the subnav below*/
		position: absolute;
		top: 20px;
		left: 0;
		padding-top: 0px;
		background: #ffffff;
		height: 15px;
		width: 150px;
		padding-left: 555px;
	}
	
	#nav li.on ul {
		background: #ffffff;
	}

	#nav li.on:hover ul, #nav li.over ul { /*for ie*/
		background: white;
	}

	#nav li a {
	color: #000000;
	font-weight: bold;
	display: block;
	padding: 0;
	}

	#nav li.on a {
		color: #cccccc;
	}

	#nav li.on ul a, #nav li.off ul a {
	border: 0;
	float: left; /*ie doesn't inherit the float*/
	color: #cccccc;
	width: auto;
	padding-right: 10px;
	margin: 0;
	padding-top: 0px;
	}

	#nav li.on:hover ul a, #nav li.over ul li a { /*for ie - the specificity is necessary*/
		background: #ffffff;
	}

	#nav li.on ul{
		display: block;
	}
	#nav li.off ul{
		
		}

	#nav li.off:hover ul, #nav li.over ul {
		display: block;
		z-index: 6000;
	}

	#nav li.off a:hover, #nav li.on a:hover { 
		color: #000;
	}

	/*do the image replacement*/

	#nav li span {
		position: absolute;
		left: -9384px;
	}

	#home a, #product a, #features a, #process a, #about a, #resources a, #contact a {
	display: block;
	margin: 0 24px 0 24px;
	position: relative;
	height: 20px;
	background: url(../images/bk-dropdownMap_a.gif) no-repeat; /*contains all hover states*/
	}

/*first, put the initial states in place*/

#home a {
	background-position: 0 0;
	width: 68px;
	margin-left: 0px;
}

#product a {
	width: 125px;
	background-position: -133px 0;
}

#features a{
	width: 80px;
	background-position: -279px 0;
	}
#process a {
	width: 104px;
	background-position: -380px 0;
}

#about a {
	width: 60px;
	background-position: -505px 0;
}

#resources a {
	width: 96px;
	background-position: -610px 0;
}
#contact a {
	width: 77px;
	background-position: -726px 0;
	margin-right: 0px;
	}
/*deactivate main nav when subnav is on*/
/*active area - for this demo - the code could be based on a body class, and probably work better.*/

#home.on a {
	background-position: -0px -37px;
	}
#product.on a {
	background-position: -133px -37px;
	}
#features.on a{
	background-position: -279px -37px;
	}
#process.on a {
 	background-position: -380px -37px;
 } /*add selectors for the other li's and background-positions*/
#about.on a {
	background-position: -505px -37px;
	}
#resources.on a {
	background-position: -610px -37px;
	}
#contact.on a {
	background-position: -726px -37px;
	}
	
	
/*hover states*/
#home.off a:hover {
	background-position: -0px -37px;
	}
#product.off a:hover {
	background-position: -133px -37px;
	}
#features.off a:hover{
	background-position: -279px -37px;
	}
#process.off a:hover {
 	background-position: -380px -37px;
 } /*add selectors for the other li's and background-positions*/
#about.off a:hover {
	background-position: -505px -37px;
	}
#resources.off a:hover {
	background-position: -610px -37px;
	}
#contact.off a:hover {
	background-position: -726px -37px;
	}
/*subnav formatting*/

#nav li.off ul a, #nav li.on ul a {
	display: block;
	background: #ffffff;
	color: #555555;
	font-family: arial, verdana, sans-serif;
	font-size: small;
}		

#nav li.on ul a {
	background: #fff;
}
#nav li.on ul .sub_on {
	color: #FF9933;
	}
