$(function(){

  Shadowbox.init();

  $('body').height($(document).height());

  $('.plans .item:not(:first)').hide().parents('#content').find('ul.items li:first').addClass('active').parent().find('li').bind('mouseover',function(){
    $('.plans .' + $(this).attr('class')).show().siblings().hide();
    $(this).addClass('active').siblings().removeClass('active');
  });

  $('.graph-elements .hover, .tips .sub').hover(function(){
     $(this).addClass('active');
  },function(){
     $(this).removeClass('active');
  })

})

