window.addEvent('domready', function(){
	
	
	var topblocks = $('navigatie');
	
Element.extend({
		hide: function(){
			return this.setStyle('display', 'none');
		},
		
		show: function(){
			return this.setStyle('display', 'block');
		}
	});

$A($(topblocks).childNodes).each(function(el)
			{
				if(el.nodeName.toLowerCase() == 'li')
				{
					$A($(el).childNodes).each(function(el2)
					{
						if(el2.nodeName.toLowerCase() == 'ul')
						{
							$(el2).hide();
							
							el.addEvent('mouseover', function()
							{
								el2.show();
								return false;
							});
	
							el.addEvent('mouseout', function()
							{
								el2.hide();
							});
						}
					});
				}
			});

/*-
	if($('contenthome')){

	var timer = 1500;
	
	slideUp = new Fx.Style('contenthome', 'top', { duration: 300, transition: Fx.Transitions.Back.easeOut, wait: false });
	
	slideUp.start.delay(timer, slideUp, 112);

}
-*/

});