#fancymenu {
	position: relative;
	height: 65px;
	width: 595px;
	background: url('images/bg.gif') no-repeat top;
	padding: 20px;
	margin: 10px 0;
	overflow: hidden;
}

#pictureselect {
	position: relative;
	height: 1%; /* ie bug */
}

#fancymenu ul{
	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;
	list-style: none;
}

#fancymenu ul li a{
	z-index: 10;
	display: block;
	float: left;
	height: 30px;
	position: relative;
	overflow: hidden;
}

#menu_home a {
	width: 106px;
margin-left: 5px;
	background: url('images/top.gif') no-repeat center;
/*	background: url('images/top.gif') no-repeat center !important;	
	background: url('images/menu_home.gif') no-repeat center;*/
}

#menu_story a {
	width: 107px;
	background: url('images/story.gif') no-repeat center;
}

#menu_chara a {
	width: 137px;
	background: url('images/chara.gif') no-repeat center;
}

#menu_system a {
	width: 103px;
	background: url('images/system.gif') no-repeat center;
}

#menu_dl a {
	width: 126px;
	background: url('images/dl.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 */
}

#pictureselect li.background {
	background: url('images/bg_images.gif') no-repeat top;
	z-index: 8;
	position: absolute;
	width: 53px;
	visibility: hidden;
}

#pictureselect li.background .left { display: none; }

#userprofile {
	margin-top: 15px;
	background: url('images/bg_form.gif') no-repeat top left;
	width: 360px;
	height: 180px;
	overflow: hidden;
	padding: 0 15px;
}

#userprofile h4 {
	font: bold 11px Verdana;
	margin-bottom: 10px;
}

#userprofile p.input {
	background: #EBEBEB;
	overflow: hidden;
	padding: 0 !important;
	padding: 2px 0;
}

#userprofile p.input input {
	display: block;
	margin: 3px;
	width: 348px;
	border: 1px solid #D4D4D4;
	padding: 3px 0 3px 4px;
}

#userprofile p.input input:focus {
	border: 1px solid #999;
}
