#divNav {
		display: block;
		background: transparent;
		margin: -50px 0 10px 0;
		padding: 0;
		height: 50px;
		width: 720px;
		border:0px dashed #FF0000;
		float:right;
	}

	#nav {
		margin:0;
		padding:0 0 0 0;
		position: relative;
		top: 15px;
		height: 15px;
		width: 720px;
		border:0px dashed #f30;
	}
	
	#nav li ul, #nav li ul {
		margin: 0;
		padding: 0;
	}

	#nav a {
		color:#fff;
		text-decoration: none;
	}

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

	#nav li ul {
		display: none;
	}

	#nav li.off ul, #nav li.on ul  { /*put the subnav below*/
		position: absolute;
		top: 28px;
		left: 0;
		padding-top: 4px;
		background: #D8DFE5;
		height: 12px;
		width: 650px;
		padding-left: 70px;
		border:0px dashed #f30;
	}

	#nav li.on ul {
		background: #D8DFE5;
	}

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

	#nav li a {
		color: #fff;
		font-weight: bold;
		display: block;
		width: 88px;
		padding: 0;
	}

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

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

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

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

	#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: #fff;
	}

	/*do the image replacement*/

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

	#home a, #profile a, #product a, #contact a {
		display: block;
		position: relative;
		height: 28px;
		background: url(bg-nav.gif) no-repeat; /*contains all hover states*/
	}

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

#home a {
	background-position: 0 0;
}

#profile a {
	background-position: -90px 0;
}

#product a {
	background-position: -180px 0;
}

#contact a {
	background-position: -270px 0;
}


/*active area - for this demo - the code could be based on a body class, and probably work better.*/

 #home.on a {
 	background-position: 0px -35px;
 }
 #profile.on a {
 	background-position: -90px -35px;
 }
  #product.on a {
 	background-position: -180px -35px;
 }
 #contact.on a {
 	background-position: -270px -35px;
 }
  /*add selectors for the other li's and background-positions*/

/*hover states*/

#home a:hover, #home:hover a, #home.over a {
	background-position: 0 -35px;
}

#profile a:hover, #profile:hover a, #profile.over a {
	background-position: -90px -35px;
}

#product a:hover, #product:hover a, #product.over a {
	background-position: -180px -35px;
}

#contact a:hover, #contact:hover a, #contact.over a {
	background-position: -270px -35px;
}


/*subnav formatting*/
#nav li ul li {
/*display:block;
width:124px;*/
margin:0 0 0 0px;
padding:0 0 0 -50px;
border:0px dashed #f60;
}

#nav li.off ul a, #nav li.on ul a {
	display: block;
	/*width:134px;*/
	background: #D8DFE5;
	font-family: arial, verdana, sans-serif;	
	font-size: 11px;
	height:12px;
	font-weight:bold;
	margin:0 0 0 2px;
	border:0px dashed #f30;

}	
#nav li.off ul a, #nav li.on ul a {
	color: #666;
}	

#nav li.on ul a.actived {
	color: #333333;
	text-decoration:underline;
}	

#nav li.off ul a:hover, #nav li.on ul a:hover {
	color: #333;
	text-decoration:underline;
}	

#nav li.on ul a {
	background: transparent;
}
.border_right {
display:block;
border-right:1px solid #000;
}	
