$(document).ready(function()
{
$('span.hint').each(function() // Find all inputs with formtip spans next to them
{
   $(this).prev('input').eq(0).qtip( // Stick a tooltip on the spans related input
   { 
      content: $(this).html(), // Use the spans HTML for the tooltip content
      position: {
         corner: {
            target: 'rightMiddle',
            tooltip: 'leftMiddle'
         }
      },
      show: 'mouseover',
      hide: {
            fixed: true // Make it fixed so it can be hovered over
         },

      style: {
         name: 'dark',
         padding: '7px 13px',
         width: {
            max: 200
         },
         tip: true
      }
   });
});
});
