      $(function(){
        $('.SlideTab').tabSwitch('create',{width: 895, height: 250});
        $('.tabSelect').click(function(e){
          select = '#select' + parseInt($(this).attr("rel"));
          $('.tabs ul li').removeClass('active');
          $(select).addClass('active');
          $('.SlideTab').tabSwitch('moveTo',{index: parseInt($(this).attr("rel"))});
          e.preventDefault();
	      });
      });
      if ( $('#project .graphs #Tab0 img').length < 1 && $('#project .graphs #Tab1 img').length < 1 ) $('#project').hide();
      if ( $('#project .graphs #Tab0 img').length < 1 ) $('#project li#select0').hide();
      if ( $('#project .graphs #Tab1 img').length < 1 ) $('#project li#select1').hide();
      
      if ( $('#project .graphs #Tab1 img').length < 1 ) $('#project .legenda').hide();