$(document).ready(function(){

	var config = {    
		sensitivity: 3, 
		interval: 0, 
		over: showSub, 
		timeout: 100,
		out: hideSub
	};

	$("#navigation ul li").hoverIntent(config);
	
	$helpbox_close_button = $(".helpbox_close");
	$helpbox_close_button.click(function() {
		$($(this).parent()).removeClass("visible")
		return false;
	});
	
	$helpbox_question_mark_button = $("a.question_mark");
	$helpbox_question_mark_button.click(function() {
		$(this).parent().next(".helpbox").addClass("visible")
		return false;
	});

	$hybrid_helpbox_question_mark_button = $("a.question_mark");
	$hybrid_helpbox_question_mark_button.click(function() {
		$(this).next(".helpbox").addClass("visible")
		return false;
	});
	

}); 

function showSub(){$(this).addClass("visible");}
function hideSub(){$(this).removeClass("visible");}

