code: function initTabs(){
          var tabs = $G('tabHeads').children;
          for (var i = 0; i < tabs.length; i++) {
              domUtils.on(tabs[i], "click", function (e) {
                  var target = e.target || e.srcElement;
                  for (var j = 0; j < tabs.length; j++) {
                      if(tabs[j] == target){
                          tabs[j].className = "focus";
                          var contentId = tabs[j].getAttribute('data-content-id');
                          $G(contentId).style.display = "block";
                          if(contentId == 'imgManager') {
                              initImagePanel();
                          }
                      }else {
                          tabs[j].className = "";
                          $G(tabs[j].getAttribute('data-content-id')).style.display = "none";
                      }
                  }
              });
          }
      }
docs: /* 初始化tab标签