// Assumes you have some container with class .favicon with a bunch of links inside
// As seen on http://ideafoundry.info/embassy
// Documentation at http://daniel.collectiveidea.com/blog/2009/5/1/fun-with-favicons

jQuery(function($) {
  $('.favicon a').each(function(){
    $(this).css({
      background: 'url('+this.href+'favicon.ico) no-repeat 0 0',
      paddingLeft: '24px',
     'background-size': '16px',
     '-webkit-background-size': '16px',
     '-khtml-background-size': '16px'
    });
  });
});
