#wrap {
    border: black solid 1px;
    width: 662px;
}
#menu {
    width: 660px;
}
#menu a {
    padding:0px 0px 4px 0px;
	font: bold 8pt Tahoma;
	color: #fff;
	text-decoration: none;
}
#menu a:hover {
	font: bold 8pt Tahoma;
	color: #fff;
	text-decoration: underline;
}
#menu a:active {
	font: bold 8pt Tahoma;
	color: #fff;
	text-decoration: underline;
	position: relative;
	top: 1px; left: 1px;
}
#menu span {
	display: none;
}
#img {
	vertical-align: bottom;
}
#subnav {
	font-size: 8px;
	margin-bottom: 2em;
}
#subnav a {
	color: #4677DB;
	margin-right: 1em;
}
#subnav span {
	color: silver;
/*	margin-right:1em;*/
}

/*=-------------------------------------------------------------------------------------------------------------------------- 
|	This is the clipping region for the menu. it's width and height get set by script, depending on the size of the items	|
|	table																													|
===------------------------------------------------------------------------------------------------------------------------*/
.transMenu {
	position: absolute;
	overflow: hidden;
	left: -1000px;
	top: -1000px;
}

/*=-------------------------------------------------------------------------------------------------------------------------- 
|	This is the main container for the menu itself. it's width and height get set by script, depending on the size of the	|
|	items table																												|
===------------------------------------------------------------------------------------------------------------------------*/
.transMenu .content {
	position: absolute;
}

/*=-------------------------------------------------------------------------------------------------------------------------- 
|	This table comprises all menu items. each TR is one item. It is relatively positioned so that the shadow and background	|
|	transparent divs can be positioned underneath it																		|
===------------------------------------------------------------------------------------------------------------------------*/
.transMenu .items {
	position: relative;
	left: 0px; top: 0px;
	z-index:2;
}

.transMenu.top .items {
	border-top: none;
}

/*=-------------------------------------------------------------------------------------------------------------------------- 
|	Each TR.item is one menu item																							| 
===------------------------------------------------------------------------------------------------------------------------*/
.transMenu .item {
	color: #336;
	font: 8px Tahoma;
	text-decoration: none;

	/* This is a hack for MAC/IE5, whom incorrectly cascades the border properties of the parent table to each row */
	border: none;
	cursor: pointer;
}

/*=-------------------------------------------------------------------------------------------------------------------------- 
|	This DIV is the semi-transparent white background of each menu. the -moz-opacity is a proprietary way to get			|
|	transparency in mozilla, the filter is for IE/Windows 5.0+. We set the background color in script because IE/Mac does	|
|	not use it; that browser only uses a semi-transparent white PNG that the spacer gif inside this DIV is replaced by		| 
===------------------------------------------------------------------------------------------------------------------------*/
.transMenu .background {
	position: absolute;
	left: 0px; top: 0px;
	z-index: 1;
	/*-moz-opacity:.8;
	filter:alpha(opacity=80);*/
}

/*=-------------------------------------------------------------------------------------------------------------------------- 
|	Same concept as .background, but this is the sliver of shadow on the right of the menu. It's left, height, and			| 
|	background are set by script. In IE5/Mac, it uses a PNG																	|
===------------------------------------------------------------------------------------------------------------------------*/
.transMenu .shadowRight {
	position: absolute;
	z-index: 3;
	top: 3px; width: 2px;
	/*-moz-opacity:.4;
	filter:alpha(opacity=40);*/
}

/*=-------------------------------------------------------------------------------------------------------------------------- 
|	Same concept as .background, but this is the sliver of shadow on the bottom of the menu. It's top, width, and			|
|	background are set by script. In IE5/Mac, it uses a PNG																	|
===------------------------------------------------------------------------------------------------------------------------*/
.transMenu .shadowBottom {
	position: absolute;
	z-index: 1;
	left: 3px; height: 2px;
	/*-moz-opacity:.4;
	filter:alpha(opacity=40);*/
}

/*=-------------------------------------------------------------------------------------------------------------------------- 
|	This is the class that is used when the mouse is over an item. script sets the row to this class when required.			|
===------------------------------------------------------------------------------------------------------------------------*/
.transMenu .item.hover td {
	font: bold 8pt Tahoma;
	background-color:#F20101;
	border-bottom: 1px solid #A70101;
	border-top: 1px solid #F86D6D;
	color: #fff;
}

/*=-------------------------------------------------------------------------------------------------------------------------- 
|	This is the class that is used for specifying the standard font that appears in the menu.								|
===------------------------------------------------------------------------------------------------------------------------*/
.item td {
	font: bold 8pt Tahoma;
	background-color:#eee;
	border-bottom: #aaa solid 1px;
	border-top: #fff solid 1px;
	color: #F20101;
}

/*=-------------------------------------------------------------------------------------------------------------------------- 
|	This is either the dingbat that indicates there is a submenu, or a spacer gif in it's place. We give it extra margin to	|
|	create some space between the text and the dingbat																		|
===------------------------------------------------------------------------------------------------------------------------*/
.transMenu .item img {
	margin-left: 10px;
}