$(function() {
	// enable drop down menu in Explorer
	$('#nav1>ul>li').hover(
		function() {
			$(this).addClass('over');
		},
		function() {
			$(this).removeClass('over');
		}
	);

	if ($('#findocs').length > 0) {
		var selTab = window.location.hash.substring(1);
		$('#findocs h3, #findocs table').hide();
		if (selTab) {
			$('#findocs table#'+selTab).show();
			$('#findocs li a[href="#'+selTab+'"]').parent().addClass('select');
		} else {
			$('#findocs table:first').show();
			$('#findocs li:first').addClass('select');
		}
		$('#findocs li a').click(function(event) {
			event.preventDefault();
			$('#findocs table').hide();
			window.location.hash = this.hash;
			$('#findocs li').removeClass('select');
			var target = $(this).attr('href');
			$(target).show();
			$(this).parent().addClass('select');
		});
	}

});
