#main {
	border: 1px solid #666;
	clear: both;
	background: #FFF3B3;
	padding-top: 2em;
}

#contents {
	padding: 1.5em;
	background: #FFFDF3;
	min-height: 300px;
}

#header {
	position: relative;
	width: 100%;
	height: 2em;
	/*width: 50em; /* a width is required for Opera, older Mozilla browsers, and Konqueror browsers */
}

#header ul#primary {
	width: 29em;
	margin: 0;
	padding-left: 12px;
	position: absolute;
	white-space: nowrap;
	bottom: -1px;
	/*width: 50em; /* a width is required for Opera, older Mozilla browsers, and Konqueror browsers */
}

#header ul#primary li  {
	display: inline;
	list-style: none;
}


#header ul#primary a,#header ul#primary a.current {
	width: 8em;
	display: block;
	float: left;
	padding: 3px 0;
	margin: 1px 2px 0 0;
	text-align: center;
	font-family: verdana, tahoma, sans-serif;
	font-size: 80%;
	font-weight: bold;
	text-decoration: none;
	color: #333;
}


#header ul#primary li#bigstuff a,#header ul#primary a.current {
	width: 142px;
	display: block;
	float: left;
	padding: 3px 0;
	margin: 1px 2px 0 0;
	text-align: center;
	font-family: verdana, tahoma, sans-serif;
	font-size: 80%;
	font-weight: bold;
	text-decoration: none;
	color: #333;
	background-image:url(images/tab_on.gif);
}

#header ul#primary span,#header ul#primary a.current,#header ul#primary a.current:hover {
	background-image:url(images/tab_on.gif);
	padding-bottom: 2px;
	width: 142px;
	margin-top: 0;
}

#header ul#primary a {
	background-image:url(images/tab_off.gif);
	width: 142px;
	margin-top: 4px;
	padding-bottom: 1px;
}

#header ul#primary a:hover {
	margin-top: 0;
	border-color: #666;
	background-image:url(images/tab_on.gif);
	padding-bottom: 5px;
	width: 142px;
}

#header 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 */
}

#header ul#secondary li a,#header 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;

}

#header ul#secondary li a {
	color: #06C;
	text-decoration: underline;
}

#header ul#secondary li a:hover {
	color: #333;
	background: transparent;
	padding: 0 10px;
	border: none;
	border-right: 1px dotted #AAA;
}

#header ul#secondary li a:active {
	color: #000;
	background: transparent;
}

#header ul#secondary li:last-child a { border: none; }
