jQuery.extend({
   postJSON: function( url, data, callback) {
      return jQuery.post(url, data, callback, "json");
   }
});

$(document).ready(function() {
  
  var i = 0;
  $('#pathLastItem').click(function() {
    if (i==0) $('#yah').css("background","#336699").css("color","white");
    if (i==1) $('#yah').css("background","white").css("color","#c4c4c4");
    i++; if (i==2) i = 0;
  });
  
  $('.prnt').mouseover(function(){
    $(this).children('span').css('display','block');
  }).mouseleave(function(){
      $(this).children('span').css('display', 'none');
  });
  
  $('.thing').mouseover(function(){  
      $(this).css('background', '#f5f5f5');  
  }).mouseleave(function(){
      $(this).css('background', '#fff');
  });
 
});
