/*
function initPage()
{
	var uls = document.getElementsByTagName("ul");
	for (var j=0; j<uls.length; j++)
	{			
		if (uls[j].className.indexOf("nav") != -1)  {
			var nodes = uls[j].getElementsByTagName("li");
			for (var i = 0; i < nodes.length; i++)
			{
				nodes[i].onmouseover = function () 
				{
					this.className += " hover";
				}
				nodes[i].onmouseout = function ()
				{
					this.className = this.className.replace("hover", "");
				}
			}
		}
	}
}

function initSubnav() {
	var _nav = document.getElementById("navigate");
	if (_nav) {
		var _links = _nav.getElementsByTagName("a");
		for (i = 0; i < _links.length; i++)
		{
			if ( _links[i].parentNode.getElementsByTagName("ul").length)
			{
				_links[i].onmouseover = function()
				{
					if (this.parentNode.className.indexOf("close") == -1)
					{
						this.className = this.className.replace("active", "");
						this.parentNode.className += " close";
					}
					else
					{
						this.className = "active";
						
						this.parentNode.className = this.parentNode.className.replace("close", "");
					}
					return false;
				}
			}
		}
	}
}

if (window.attachEvent)
	window.attachEvent("onload", initPage);

if (window.addEventListener)	{
	window.addEventListener("load", initSubnav, false);
}
else if (window.attachEvent)
{
	window.attachEvent("onload", initSubnav);
}

*/

jQuery(document).ready( function() {
	jQuery('ul#subnav li.parent.close').each( function(i) { 
		jQuery(this).bind('mouseover', function() { 
			jQuery(this).children('ul').slideDown(500);
		});
	});
});