$(function() {
  $('#menu a.home').qtip({
     content: '<p>Marc-Andr&eacute; Cournoyer is a friendly hacker <span class="amp">&</span> entrepreneur from Montréal, QC.</p><p>He created Thin, tinyrb, RefactorMyCode.com, wrote a book, co-founded Saut&eacute; <span class="amp">&</span> is now CTO at SocialGrapes.</p><p><strong>Click to go to his home page.</strong></p>',
     style: {
       name: 'dark',
       padding: 10,
       tip: 'topLeft',
       width: 500,
       border: {
        width: 3,
        radius: 5
      },
     },
     position: {
        corner: {
           target: 'bottomMiddle',
           tooltip: 'topLeft'
        }
     }
  });
  
  $("#ads a.make, #ads a.book").qtip({
     style: {
       name: 'dark',
       padding: 4,
       tip: 'rightMiddle',
       width: 110,
       border: {
        width: 3,
        radius: 5
      },
     },
     position: {
        corner: {
           target: 'leftMiddle',
           tooltip: 'rightMiddle'
        }
     }
  });
  
  $("#feedcount").load("/feedcount.txt");
});