function showBubbleForParent(bubbleNode, parentNode) {
	// Position the bubble node to the parent node
	var parentPos = parentNode.offset();
	var parentHeight = parentNode.height(); 
	var parentWidth = parentNode.width();
	var bubblePos = bubbleNode.offset();
	var bubbleWidth = bubbleNode.width();
	
	bubbleNode.css( { "left": parentPos.left + ((parentWidth / 2) - (bubbleWidth / 2)) + "px", "top":(parentHeight - 10) + "px" } );

	// Fade the node in
	bubbleNode.fadeIn(600);
}

function hideBubbleForParent(bubbleNode, parentNode) {
	// Fade the node out
	bubbleNode.fadeOut(600);
}

function setUpHoverIntentBubbleTrigger(bubbleNode, parentNode)
{
	var hoverIntentConfig = {
		sensitivity: 3, 
		interval: 300, 
		over: function(){ showBubbleForParent(bubbleNode, parentNode); }, 
		timeout: 300, 
		out: function(){ hideBubbleForParent(bubbleNode, parentNode); } 
	};
	parentNode.hoverIntent( hoverIntentConfig );
}
