var CP={
   t:null,
   init:function(animate){
      $("body").addClass("js");
      CP.Features.init();
      CP.Util.equalize("#meta>div");
      if (animate) {
         t = setInterval('CP.Scroll.scrollIt()', 10000);
      }
   },
   Features:{
      init:function(){
         Tabs.init($(".panels"));
      }
   },
   Util:{
      equalize:function(selector){
         var maxHeight=1;
         $(selector).each(function(){
            if (this.offsetHeight > maxHeight) {
               maxHeight = this.offsetHeight;
            }
         });
         $(selector).css("height",maxHeight+"px");
      }
   },
   Scroll:{
      scrollIt:function(){
        Tabs.showNextPanel();
      },
	  startIt:function(){
		  t = setInterval('CP.Scroll.scrollIt()', 10000);
	  },
	  stopIt:function(){
		  clearInterval(t);
	  }

   }
   
}

