jQuery(document).ready(function(){
	/*setTimeout(function(){ 
		$('.verpakking').animate({ bottom: '-60px' }, "fast");
	}, 1000);*/

	if ($("#dochterMenu"))
	{
		/*$("ul li").each (
			$( this ).animate ({ bottom: '-60px'}, "fast")
		);*/


		/* ORIG
		$("#dochterMenu ul li").each(function() {
			$( this ).animate ({ bottom: '-60px'}, "fast")
		});
		RIG */
		
		var cogs = $('#dochterMenu ul li');
		i=0;
		//leftAmount = 0;
 
		function cogMovement () {
			$(cogs[i++]).animate({
					'bottom': '-60px'
				}, 150, arguments.callee);
		};
		cogMovement();
		
		/*
		var paras = $('#dochterMenu ul li'),
		i = 0; 

		// If using jQuery 1.4, you don't need to do || [].  
		(function() {
		  $(paras+':eq('+[i++]+')').animate ({ bottom: '-60px'}, "fast");
		})();
		*/
		
	}
	
	$("#mainMenu li a:contains('...')").html('&nbsp;');
	
	if ($("#mainMenu li").length < 1){
		$("#mainMenu").css("display","none");
	}
	else if ($("#mainMenu li").length < 6){
		$("#mainMenu").css("padding-right","2px");
		$("#visualOverlayRight").css("display","block");
	}


	
	$("#mainContent #leftCol .block:eq(0)").css("border-left","0px");
	
	
	
});
