function ddmOut (num)
{
	rootNode = document.getElementById("dropdownrootitem" + num);
	if (rootPageForDDM != num)
		if (rootNode.className == "dropdownrootitem" + num + "_over")
			rootNode.className = "dropdownrootitem" + num;
}

function ddmOver (num)
{
	rootNode = document.getElementById("dropdownrootitem" + num);
	if (rootNode.className == "dropdownrootitem" + num)
		rootNode.className = "dropdownrootitem" + num + "_over";
}

startList = function() 
			{
				if (document.all&&document.getElementById)
				{
					cssdropdownRoot = document.getElementById("dropdownmenu");
					for (x=0; x<cssdropdownRoot.childNodes.length; x++) 
					{
						node = cssdropdownRoot.childNodes[x];
						// code begins for sub-menu class change to make menu works for IE6. 
						if (node.nodeName=="LI") 
						{
							node.onmouseover=function()
							{
								this.className+=" over";
							}
							node.onmouseout=function()
							{
								this.className=this.className.replace(" over", "");
							}
						}
						// code ends for sub-menu class change to make menu works for IE6. 
					}
				}
			}

if (window.attachEvent)
	window.attachEvent("onload", startList)
else
	window.onload=startList;
