/*Credits: Dynamic Drive CSS Library *//*URL: http://www.dynamicdrive.com/style/ *//http://www.dynamicdrive.com/style/csslibrary/item/suckertree-menu-horizontal/P310/.suckertreemenu ul{margin: 0;padding: 0;list-style-type: none;position: relative; z-index: 1005;visited: red;}/*Top level list items*/.suckertreemenu ul li{position: relative;display: inline;float: left;background-color: #B5B5B5; /*overall menu background color*/z-index: 1005;}ul.rMenu li a {white-space: nowrap !important;}/*TOP MENU WIDTH CHANGES TO ACCOMMODATE WIDER MENUS*//* WIDTH 130PX CHANGED BY ME /*Top level menu link items style*/.suckertreemenu ul li a{display: block;width: 120px; /*Width of top level menu link items*/padding: 1px 8px;border: 1px solid black;border-left-width: 0;font-size:18px;text-decoration: none;background-color: black;color: #B5B5B5;font-weight:bold;z-index: 1005;white-space: nowrap }	/*1st sub level menu*/.suckertreemenu ul li ul{left: 0;position: absolute;top: 1em; /* no need to change, as true value set by script */display: block;background-color: black;color: black;visibility: hidden;z-index: 1005;}/*Sub level menu list items (undo style from Top level List Items)*/.suckertreemenu ul li ul li{display: list-item;float: none;z-index: 1005;}/*All subsequent sub menu levels offset after 1st level sub menu */.suckertreemenu ul li ul li ul{ left: 159px; /* no need to change, as true value set by script */top: 0;}/* Sub level menu links style */.suckertreemenu ul li ul li a{display: block;width: 200px; /*width of sub menu levels*/color: #B5B5B5;text-decoration: none;padding: 1px 5px;border: 1px solid #000000;}.suckertreemenu ul li a:hover{background-color: black;color: white;}.suckertreemenu ul li a:visited{background-color: black;color: #B5B5B5;}.suckertreemenu ul li a:active{background-color: black;color: #B5B5B5;}.suckertreemenu ul li a:hover{background-color: black;color: white;}* html p#iepara{ /*For a paragraph (if any) that immediately follows suckertree menu, add 1em top spacing between the two in IE*/padding-top: 1em;}	/* Holly Hack for IE \*/* html .suckertreemenu ul li { float: left; height: 1%; }* html .suckertreemenu ul li a { height: 1%; }* html .suckertreemenu ul li ul li { float: left;}/* End */</style><script type="text/javascript">//SuckerTree Horizontal Menu (Sept 14th, 06)//By Dynamic Drive: http://www.dynamicdrive.com/style/var menuids=["treemenu1"] //Enter id(s) of SuckerTree UL menus, separated by commasfunction buildsubmenus_horizontal(){for (var i=0; i<menuids.length; i++){  var ultags=document.getElementById(menuids[i]).getElementsByTagName("ul")    for (var t=0; t<ultags.length; t++){		if (ultags[t].parentNode.parentNode.id==menuids[i]){ //if this is a first level submenu			ultags[t].style.top=ultags[t].parentNode.offsetHeight+"px" //dynamically position first level submenus to be height of main menu item			ultags[t].parentNode.getElementsByTagName("a")[0].className="mainfoldericon"		}		else{ //else if this is a sub level menu (ul)		  ultags[t].style.left=ultags[t-1].getElementsByTagName("a")[0].offsetWidth+"px" //position menu to the right of menu item that activated it    	ultags[t].parentNode.getElementsByTagName("a")[0].className="subfoldericon"		}    ultags[t].parentNode.onmouseover=function(){    this.getElementsByTagName("ul")[0].style.visibility="visible"    }    ultags[t].parentNode.onmouseout=function(){    this.getElementsByTagName("ul")[0].style.visibility="hidden"    }    }  }}if (window.addEventListener)window.addEventListener("load", buildsubmenus_horizontal, false)else if (window.attachEvent)window.attachEvent("onload", buildsubmenus_horizontal)
