$(document).ready(function(){



/* navblock1 functions */
	
	$('#navblock1 ul ul').hide(); // hides all second level lists in nav
	
	$('#navblock1 ul li a.current').next().show(); // unhides second level list below a first level list item.
	$('#navblock1 ul ul li a.current').parent().parent().show(); // unhides second level list if it contains li.selected
	
	
	$('#navblock1 ul ul li a.current').next().show(); // unhides third level list below a second level list item. testing
	$('#navblock1 ul ul ul li a.current').parent().parent().parent().parent().show(); // unhides third level list if it contains li.selected testing


	});


