.dropdown {
	position:relative;        /* establish a menu-relative positioning context */
	float:left;                                     /* play nicely with others */
	margin:0;
	padding:0;
	border:0;
	z-index:3;
}

.dropdown img {
	vertical-align: top;      /* prevent images from being pushed down by text */
}

.dropdown ul {
	padding:0;
	margin:0;
	border:0;
	list-style-type:none;          /* we don't want to view the list as a list */
}                               /* this must be 1.0 or 1.5 or 2.0 for Mozilla */

.dropdown li {
	float:left;    /* this creates the side-by-side array of top-level buttons */
	position:relative;    /* create local positioning contexts for each button */
	margin:0;
}

.dropdown ul li table {
	margin:-1px 0;              /* IE5 needs -1px top and bottom table margins */
	m\argin:0;               /* re-zero the table margins for everyone but IE5 */
	border-collapse:collapse;      /* IE5 needs this for the sub-menus to work */
}



/*======================== TOP LEVEL MENU DEFINITIONS ========================*/

.dropdown ul li ul {
	display:none;                  /* initially hide the entire list hierarchy */
	padding:1px;                               /* this is our box border width */
}

.dropdown ul li a,
.dropdown ul li a:visited {                    /* unselected top-level menu items */
	display:block;
	float:left;
}

.dropdown ul li:hover a,
.dropdown ul li a:hover {                        /* selected top-level menu items */

}

/*======================== 2ND LEVEL MENU DEFINITIONS ========================*/

.dropdown ul li:hover ul,
.dropdown ul li a:hover ul {                           /* 2nd level drop-down box */
	display:block;
	position:absolute;
	margin:0;             /* place us just up underneath the top-level images */
	left:-1px;       /* left-align our drop-down to the previous button border */
	height:auto;      /* the drop-down height will be determiend by line count */
	width:13.5em;
}




.dropdown ul.rightmenu li:hover ul,
.dropdown ul.rightmenu li a:hover ul {    /* 2nd level neighborhood drop-down box */
	left:auto;
	right:0;         /* nudge the right menu right to line up under the border */
}

* html .dropdown ul.rightmenu li a:hover ul {         /* IE5/6 needs a tweak here */
	right:-1px;
}

.dropdown ul li:hover ul li a,
.dropdown ul li a:hover ul li a {                   /* 2nd level unselected items */
	border:0;
	margin:0;
	padding:0;
	height:auto;
	width:13.5em;
}


/*======================== 3RD LEVEL MENU DEFINITIONS ========================*/

.dropdown ul li:hover ul li ul,
.dropdown ul li a:hover ul li a ul {             /* hide inactive 3rd-level menus */
	visibility:hidden;
}

.dropdown ul li:hover ul li:hover ul,
.dropdown ul li a:hover ul li a:hover ul {             /* 3rd level drop-down box */
	visibility:visible;
	position:absolute;
	margin-top:-1px;	      /* bring the top edge of the 3rd level menu up one */
	top:0;
	left:8.08333em;
	width:14em;
}

.dropdown ul li:hover ul li:hover ul li a,
.dropdown ul li a:hover ul li a:hover ul li a {     /* 3rd level unselected items */
	width:14em;
}

.dropdown ul li:hover ul li:hover ul li a:hover,
.dropdown ul li a:hover ul li a:hover ul li a:hover {    /* level3 selected items */
	width:14em;
}
