// Load the content of an HTML link
// Create the tooltips only on document load
$(document).ready(function() {
	$('span.qTipLinked').qtip($.extend({}, shared, {

		content : {
			text: 'Loading...', // The text to use whilst the AJAX request is loading
			ajax: {
         url: '/extras/index.html', // URL to the local file
         type: 'GET', // POST or GET
         data: {} // Data to pass along with your request
      }
			// url: $(this).attr('title'),
			// title: {
				// text: $(this).attr('name'), 
				// button: 'Close'
			// }
		},

		style : {
			//classes : 'ui-tooltip-tipsy ui-tooltip-shadow'
		},

		show : {
			event : 'click',
			solo : true, // And hide all other tooltips
			modal : true
		}

	}));
});
//common tooltip content
var shared = {

};

