#main {
	border: 0px solid #fff;
	clear: both;
	background: #e7e3d7; /*color of main*/
	padding-top: .1em;
	padding-bottom: .1em;
	min-width:785px;
	max-width:802px;
}

#contents {
	padding: 0em;
	background: #e7e3d7;
	min-height: 300px;
	max-height:300px;
	
}

#tabsheader {
	position: relative;
	width: 100%;
	height: 5em;
	width: 45em; /* a width is required for Opera, older Mozilla browsers, and Konqueror browsers */
}

#tabsheader ul#primary {
	margin: 0;
	padding: 0;
	position: absolute;
	bottom: -1px;
	width: 100em; /* a width is required for Opera, older Mozilla browsers, and Konqueror browsers */
}

#tabsheader ul#primary li  {
	display: inline;
	list-style: none;
}

#tabsheader ul#primary a,#tabsheader ul#primary span,#tabsheader ul#primary a.current {
	width: 8em;
	display: block;
	float: left;
	padding: 2px 0;
	margin: 1px 4px 0 0;
	text-align: center;
	font-family: tahoma, verdana, sans-serif;
	font-size: 110%;
	font-weight:bold;
	text-decoration: none;
	color: #333;
}

#tabsheader ul#primary span,#tabsheader ul#primary a.current,#tabsheader ul#primary a.current:hover {
	border: 0px solid #666;
	border-bottom: none;
	background: #e7e3d7;
	padding-bottom: 6px;
	margin-top: 0;
}

#tabsheader ul#primary a {
	background: #9A874F;
	border: 0px solid #AAA;
	border-bottom: none;
}

#tabsheader ul#primary a:hover {
	margin-top: 0;
	border-color: #666;
	/*background: #e7e3d7;*/
	padding-bottom: 5px;
	color: #fff;
}

#tabsheader ul#secondary {
	position: absolute;
	margin: 0;
	padding: 0;
	bottom: -1.4em;
	left: 1px;
	width: 50em; /* a width is required for Opera, older Mozilla browsers, and Konqueror browsers */
}

#tabsheader ul#secondary li a,#tabsheader ul#secondary li span {
	width: auto;
	display: block;
	float: left;
	padding: 0 10px;
	margin: 0;
	text-align: auto;
	border: none;
	border-right: 1px dotted #AAA;
	background: none;

}

#tabsheader ul#secondary li a {
	color: #06C;
	text-decoration: underline;
}

#tabsheader ul#secondary li a:hover {
	color: #333;
	background: transparent;
	padding: 0 10px;
	border: none;
	border-right: 1px dotted #AAA;
}

#tabsheader ul#secondary li a:active {
	color: #000;
	background: transparent;
}

#tabsheader ul#secondary li:last-child a { border: none; }