

//ADD TOOLTIP TO AN HTML ELEMENT
//tooltip_element: html element to which the tooltip is being added
//tooltip_content: content of the tooltip
//tooltip_pos: where the tooltip body will be placed
//tooltip_corner_pos: where the tooltip's corner will be pointing at
function add_tooltip(tooltip_element,tooltip_content,tooltip_pos,tooltip_corner_pos){
	$(tooltip_element).qtip({
		content: tooltip_content,
		position: {
			      corner: {
			         target: tooltip_pos,
			         tooltip: tooltip_corner_pos
			      }
			   },
		show: 'mouseover',
		hide: 'mouseout',
		style: {
			padding: 15,
			tip: tooltip_corner_pos,
			name: 'cream'
				}
		});
}


$(function(){
	
});
