var Bb = Bb || {};
Bb.UI = function() {};

Bb.UI.prototype.tooltip: function(e, options) {
	// merge defaults with user options
	$.extend({
		position: {
			corner: {
				target: 'topMiddle',
				tooltip: 'bottomMiddle'
			}
		},
		style: {
			name: 'dark',
			tip: {
				corner: 'bottomMiddle',
				size: {
					x: 10,
					y: 5
				}
			},
			border: {radius: 5}
		},
		show: {
			effect: {
				type: 'fade',
				length: 250
			}
		},
		hide: {
			delay: 250,
			fixed: true
		}
	}, options);
	
	$(e).qtip(options);
}
