function initNav() {
	$('li.navparent').live('mouseover', function() {
		$(this).children('.subnav').show();
		$(this).children('.subnav').css('z-index', 10000);
		$(this).css('z-index', 9999);
	});
	$('li.navparent').live('mouseout', function() {
		$(this).children('.subnav').hide();
		$(this).children('.subnav').css('z-index', 1);
		$(this).css('z-index', 1);
	});
}

/*
function initNav()
{
	var parents = $('nav').select('.navparent');	

	parents.each(function(node) {						
		node.onmouseover = function() { 
			//subnav = Element.getElementsByClassName(node, 'subnav');
			subnav = node.select('.subnav');
			subnav = subnav[0];
			Element.show(subnav);
			subnav.style.zIndex = 10000;	
			node.style.zIndex = 9999;
		}
		node.onmouseout = function() { 
			//subnav = Element.getElementsByClassName(node, 'subnav');
			subnav = node.select('.subnav');
			subnav = subnav[0];
			Element.hide(subnav);
			subnav.style.zIndex = 1;	
			node.style.zIndex = 1;								
		}						
	});	
}
*/