
function StartMenu()
	{
	if(document.getElementById("StartMenu") != null)
		{
		var PanelList = document.getElementById("StartMenu");
		var browser = navigator.appName;
		
		for (i=0; i < PanelList.childNodes.length; i++)
			{
			if(PanelList.childNodes[i].tagName == "LI")
				{
				PanelList.childNodes[i].onmouseover = function()
					{
					if(this.className == "DB")
						{
						this.className = "DB-Open";
						}
					if(this.className == "LB")
						{
						this.className = "LB-Open";
						}
					}
				PanelList.childNodes[i].onmouseout = function()
					{
					if(this.className == "DB-Open")
						{
						this.className = "DB";
						}
					if(this.className == "LB-Open")
						{
						this.className = "LB";
						}
					}
				}
			
			for(p=0; p<PanelList.childNodes[i].childNodes.length; p++)
				{
				if(PanelList.childNodes[i].childNodes[p].tagName == "LI")
					{
					PanelList.childNodes[i].childNodes[p].onmouseover = function()
						{
						this.className = "Open";
						}
					PanelList.childNodes[i].childNodes[p].onmouseout = function()
						{
						this.className = "Closed";
						}
					}
				
				for(q=0; q<PanelList.childNodes[i].childNodes[p].childNodes.length; q++)
					{
					if(PanelList.childNodes[i].childNodes[p].childNodes[q].tagName == "LI")
						{
						PanelList.childNodes[i].childNodes[p].childNodes[q].onmouseover = function()
							{
							this.className = "Open";
							}
						PanelList.childNodes[i].childNodes[p].childNodes[q].onmouseout = function()
							{
							this.className = "Closed";
							}
						}
					}
				}
			}
		}
	}

function SiteMenu()
	{
	if(document.getElementById("SiteMenu") != null)
		{
		var PanelList = document.getElementById("SiteMenu");
		var browser = navigator.appName;
		
		for (i=0; i < PanelList.childNodes.length; i++)
			{
			if(PanelList.childNodes[i].tagName == "LI")
				{
				PanelList.childNodes[i].onmouseover = function()
					{
					this.className = "Open";
					}
				PanelList.childNodes[i].onmouseout = function()
					{
					this.className = "Closed";
					}
				}
			}
		}
	}


window.onload = function()
	{
	StartMenu();
	SiteMenu();
	}