var cssmenuids=["cssmenu1"] //Enter id(s) of CSS Horizontal UL menus, separated by commas
var csssubmenuoffset=-1 //Offset of submenus from main menu. Default is 0 pixels.

function createcssmenu2(){
for (var i=0; i<cssmenuids.length; i++){
	if (document.getElementById(cssmenuids[i])) {
	  var ultags=document.getElementById(cssmenuids[i]).getElementsByTagName("ul")
		for (var t=0; t<ultags.length; t++){
				ultags[t].style.top=ultags[t].parentNode.offsetHeight+csssubmenuoffset+"px"
			var spanref=document.createElement("span")
				spanref.className="arrowdiv"
				spanref.innerHTML=""
				ultags[t].parentNode.getElementsByTagName("a")[0].appendChild(spanref)
			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", createcssmenu2, false)
else if (window.attachEvent)
window.attachEvent("onload", createcssmenu2)




<!-- HTML Drop Down  -->

function navindustries()
   {
   var w = document.myformindustries.mylist.selectedIndex;
   var url_add = document.myformindustries.mylist.options[w].value;
   window.location.href = url_add;
   }
   
   function navservices()
   {
   var w = document.myformservices.mylist.selectedIndex;
   var url_add = document.myformservices.mylist.options[w].value;
   window.location.href = url_add;
   }
