#maintab{
	padding: 4px 0 4px 0;
	margin: 0;
	font-family: "Lucida Sans", "Lucida Sans Unicode", Tahoma, Arial, sans-serif;
	font-size: 11px;
	list-style-type: none;
	text-align: left;
}
#maintab li{
	display: inline;
	margin: 0;
	padding:0;
}

#maintab li a{
	text-decoration: none;
	padding: 0;
	margin: 0;
	border: none;
	color: #ffffff;
}

#maintab li a .center {
	padding: 6px 0 5px 0;
	margin: 0;
	background-image: url(../images/button_bg.jpg);
	background-position:top;
	background-repeat: repeat-x;
}
#maintab li a .left {
	background-image: url(../images/button_left.jpg);
	background-position:top;
	width: 40px;
	padding: 6px 5px 5px 0;
	margin: 0;
	background-repeat: no-repeat;
}
#maintab li a .right{
	background-image: url(../images/button_right.jpg);
	margin: 0;
	padding: 6px 5px 5px 0; 
	background-repeat: no-repeat;
}

#maintab li a:hover {
	text-decoration: none;
	padding: 0;
	margin: 0;
	border: none;
	color: #ffffff;
}
#maintab li a:hover .center {
	padding: 6px 0 5px 0;
	background-image: url(../images/active_button_hg.jpg);
	background-position:top;
	background-repeat: repeat-x;
}
#maintab li a:hover .left {
	background-image: url(../images/active_button_left.jpg);
	background-position:top;
	padding: 6px 5px 5px 0;
	background-repeat: no-repeat;
}
#maintab li a:hover .right{
	background-image: url(../images/active_button_right.jpg);
	padding: 6px 5px 5px 0; 
	background-repeat: no-repeat;
}

#maintab li.selected a:hover {
	text-decoration: none;
	padding: 0;
	margin: 0;
	border: none;
	color: #ffffff;
}
#maintab li.selected a .center {
	padding: 6px 0 5px 0;
	background-image: url(../images/active_button_hg.jpg);
	background-position:top;
	background-repeat: repeat-x;
}
#maintab li.selected a .left {
	background-image: url(../images/active_button_left.jpg);
	background-position:top;
	padding: 6px 5px 5px 0;
	background-repeat: no-repeat;
}
#maintab li.selected a .right{
	background-image: url(../images/active_button_right.jpg);
	padding: 6px 5px 5px 0; 
	background-repeat: no-repeat;
}
