#menu
{
	margin-right: auto;
	margin-left: auto;
	background: url(../images/menu.jpg) no-repeat;
	height: 35px;
	width: 1024px;
	direction: rtl;
	clear: both;			
}

#menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
	width: auto;
	float: right;
	margin-right: 9px;
	margin-left: 9px;
	margin-top: 5px;
}

#menu ul.sep {
	margin-top: 5px;
}
#menu ul.sep li {
	background: url(../images/menu-sep.jpg) no-repeat;
	width: 2px;
	height: 17px;
}

#menu a, #menu h2 {
	display: block;
	margin: 0;
	padding: 2px 3px;
}

#menu h2 {
	color: #fff;
	background: #000;
	text-transform: uppercase;
}

#menu a {
	color: #000;
	background: #efefef;
	text-decoration: none;
}

#menu a:hover {
	color: #a00;
	background: #fff;
}

#menu ul li a {
	display: block;
	font-size: 12px;
	font-family: arial;
	font-weight: bold;
	color: #999999;
	text-decoration: none;
	background: none;
}
#menu ul li a:hover {
	font-size: 12px;
	font-family: arial;
	font-weight: bold;
	color: #999999;
	text-decoration: none;
	background: none;
}

#menu ul ul li a {
	font-size: 12px;
	font-family: arial;
	font-weight: bold;
	color: #999999;
	text-decoration: none;
	background: #f4f4f4 url(../images/menunhover.jpg) no-repeat;
	height: 24px;
	line-height: 180%;
	text-indent: 15px;
	text-align: right;
	border-bottom: 4px solid #fff;
}
#menu ul ul li a:hover {
	font-size: 12px;
	font-family: arial;
	font-weight: bold;
	color: #369DF7;
	text-decoration: none;
	background: #ffffff url(../images/menuhover.jpg) no-repeat;;
	border-right: 1px solid black;
	text-align: right;
}

#menu li {
	position: relative;
	
}

#menu ul ul ul {
	position: absolute;
	top: 0;
	left: 100%;
	width: 157px;
}
#menu ul ul {
	margin-top: 0px;
	position: absolute;
	z-index: 500;
	right: -15px;
	width: 157px;
}
div#menu ul ul {
	display: none;
	
}
div#menu ul li:hover ul
{
	display: block;
}
div#menu ul ul,
div#menu ul li:hover ul ul,
div#menu ul ul li:hover ul ul
{display: none;}

div#menu ul li:hover ul,
div#menu ul ul li:hover ul,
div#menu ul ul ul li:hover ul
{display: block;}