var tabID = this.tabs[i].getElement("a").getProperty("id"); this.tabs[i].addEvent("click", this.tabClick.bindWithEvent(this)); 
this.tabs[i].getElement("a").addEvent("click", this.tabClick.bindWithEvent(this)); 
    initialize : function () {        var i;                this.tabBar = $("ap-tabs");        if (!this.tabBar) {            return;        }        this.panels = [];                this.tabs = this.tabBar.getElements("li");                for (i = 0;i < this.tabs.length;i++) {            var tabID = this.tabs[i].getElement("a").getProperty("id");            this.tabs[i].addEvent("click", this.tabClick.bindWithEvent(this));            if (i === 0) {                this.tabs[i].addClass("ap-active");            }        }                this.panels = document.getElements("div.ap-panel");        for (i = 1;i < this.panels.length;i++) {            this.panels[i].setStyle("display", "none");        }        $("ap_transparentpagebg").addEvent("click", function () {            var bgField = $("ap_pagebgcolor");            if ($("ap_transparentpagebg").checked) {                bgField.disabled = true;                bgField.setStyle("color", "#999999");            } else {                bgField.disabled = false;                bgField.setStyle("color", "#000000");            }        });                this.colorPicker = new MooColorPicker({panelMode : true});        this.colorPicker.hide();        this.colorPicker.attach("ap-colorsample", "background-color");        $("ap-colorsample").addEvent("click", (function () {            this.colorPicker.show();        }).bind(this));        this.colorPicker.addEvent("selectColor", (function (color) {            this.colorField.value = color;            this.getCurrentColorField().value = color;            this.updatePlayer();        }).bind(this));                this.fieldSelector = $("ap-fieldselector");        this.colorField = $("ap-colorvalue");                this.fieldSelector.addEvent("change", this.selectColorField.bind(this));        this.colorField.addEvent("keyup", this.updateColor.bind(this));                this.themeColorPicker = $("ap_themecolor");        this.reorderThemeColors();        this.themeColorPickerBtn = $("ap_themecolor_btn");        this.themeColorPickerBtn.addEvent("click", this.showHideThemeColors.bindWithEvent(this));        document.addEvent("click", this.showHideThemeColors.bindWithEvent(this));        document.addEvent("click", this.hideColorPicker.bindWithEvent(this));        this.themeColorPicker.addEvent("click", this.pickThemeColor.bindWithEvent(this));                this.selectColorField();                this.player = null;    },
7729	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/7729/e557fe108f371897ed1cf2a5e79861d408aca24c/audio-player-admin.js/clean/audio-player/branches/version2/plugin/audio-player-admin.js