// JavaScript Document
// Create the tooltips only on document load
$(document).ready(function() 
{
   // Notice the use of the each() method to acquire access to each elements attributes
   $('.photo-c').each(function()
   {
      $(this).qtip({
         content: $(this).attr('tooltip'), // Use the tooltip attribute of the element for the content
         style: { background: '#eee', border: {width: 1, radius: 4, color: '#aaa'}, color: '#666', width: 200 },
		 position: { corner: { target: 'topLeft', tooltip: 'bottomRight' } }

      });
   });
});
