over = function() {
	var sfEls = document.getElementById("nav").
getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" over";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.
replace(new RegExp(" over\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", over);

body {
	margin: 1px 1px 1px 1px;
	font-family: arial;
	font-size: 12px;
	background-color: #fcfcfc;
	z-index:1;
}

ul {
	margin: 0;
	padding: 0;
	list-style: none;
	width: 150px; /* Width of Menu Items */
    border: 0px;
    border-bottom: 1px solid #FF0000;
	left: 100px;
	height: 24px;
	vertical-align: middle;

	}

ul li {
	position: relative;
	}

ul li a {
	display: block;
	text-decoration: none;
	color: #000;
	background: #ffffff; /* IE6 Bug */
	padding: 4px;
    border-bottom: 1px solid #900a0a;
}

/* Fix IE. Hide from IE Mac \*/
* html ul li { float: left; height: 1%; }
* html ul li a { height: 1%; }
/* End */

ul li a:hover { color: #E2144A; background: #cacaca; } /* Hover Styles */

ul ul {
	position:absolute;
	display:none;
	width: 150px;
	left: 149px; /* Set 1px less than menu width */
	top: 0;
}

li ul li a { padding: 2px 5px;

} /* Sub Menu Styles */

li:hover ul ul, li.over ul ul { display:block; }

li:hover ul, li li:hover ul, li.over ul, li li.over ul { display: block; } /* The magic */





a:link { color: #1f1f10; text-decoration: none; }
a:visited { color: #1f1f10; text-decoration: none; }
a:hover { color: #ff0000; text-decoration: underline; }
.geral a:hover {margin: 0;} /* hack para IE */







