/*
  @project  jquery-page
  @name jquery-page.js
  @created  2009-09-03, 19:22:56
  @author lukasz.tyrala
  @license  default
  @description  
*/

$(function(){

//  $('.header li ul').hide();
//  $('.header li').hover(
//    function(){
//     $(this).find('ul').show();
//    },
//    function(){
//     $(this).find('ul').hide();
//    });

  $('.articles h3 a.permalink').hide();
  $('.articles h3').hover(
    function(){
     $(this).find('.permalink').show();
    },
    function(){
     $(this).find('.permalink').hide();
    });

  $(".vehicle-types img[title]").qtip({
    position: {
      adjust: {
        x: 0,
        y: 5
      },
      corner: {
        target: 'bottomMiddle',
        tooltip: 'topMiddle'
      }
    },
    style: {
      color: '#f5f6f7',
      background: '#565d64',
      tip: {
        corner: 'topMiddle',
        color: '#565d64',
        size: {
          x: 15,
          y: 7
        }
      },
      name: 'dark',
      border: {
        color: '#565d64',
        radius: 2
      }
    }
  });

}); // /document.ready
