#fancymenu {
	position: relative;
	height: 29px;
	width: 438px;
	padding: 0 15px 0 15px;
	margin: 87px 0 0 0;
	overflow: hidden;
	float:right;
}

#fancymenu ul {
    list-style:none;
	padding: 0;
	margin: 0;
}

/* Don't apply padding here (offsetWidth will differ in IE)
    If you need padding add it to the child anchor */
#fancymenu ul li {
	float: left;
}

#fancymenu ul li a {
	text-indent: -500em;
	z-index: 10;
	display: block;
	float: left;
	height: 30px;
	position: relative;
	overflow: hidden;
}

#menu_home a {
	width: 63px;
	background: url('../images/menu_about.png') no-repeat center !important;
	background: url('../images/menu_about.gif') no-repeat center;	
}

#menu_gallery a {
	width: 77px;
	background: url('../images/menu_portfolio.png') no-repeat center !important;	
	background: url('../images/menu_portfolio.gif') no-repeat center;
}

#menu_about a {
	width: 71px;
	background: url('../images/menu_learn.png') no-repeat center !important;
	background: url('../images/menu_learn.gif') no-repeat center;	
}

#menu_news a {
	width: 63px;
	background: url('../images/menu_news.png') no-repeat center !important;
	background: url('../images/menu_news.gif') no-repeat center;	
}

#menu_contact a {
	width: 83px;
	background: url('../images/menu_contact.png') no-repeat center !important;
	background: url('../images/menu_contact.gif') no-repeat center;	
}

#menu_reviews a {
	width: 81px;
	background: url('../images/menu_reviews.png') no-repeat center !important;
	background: url('../images/menu_reviews.gif') no-repeat center;	
}

#fancymenu li.background {
	background: url('../images/bg_menu_right.png') no-repeat top right !important;
	background: url('../images/bg_menu_right.gif') no-repeat top right;
	z-index: 8;
	position: absolute;
	visibility: hidden;
}

#fancymenu .background .left {
	background: url('../images/bg_menu.png') no-repeat top left !important;
	background: url('../images/bg_menu.gif') no-repeat top left;
	height: 30px;
	margin-right: 9px; /* 7px is the width of the rounded shape */
}
