window.addEvent('domready', function(){
	
	// The same as before: adding events
	$('hintBox').addEvents({
	   'mouseenter': function(){
		    closeCancel = true;
		},
		'mouseleave': function(){
			// Resets the tween and changes the element back to its original size
			closeCancel = false;
			setTimeout(closeHint, 500);
		}
	});
});
