/* * jQuery UI 1.6rc6 * * Copyright (c) 2009 AUTHORS.txt (http://ui.jquery.com/about) * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. * * http://docs.jquery.com/UI */(function(c) {    var i = c.fn.remove,d = c.browser.mozilla && (parseFloat(c.browser.version) < 1.9);    c.ui = {version:"1.6rc6",plugin:{add:function(k, l, n) {        var m = c.ui[k].prototype;        for (var j in n) {            m.plugins[j] = m.plugins[j] || [];            m.plugins[j].push([l,n[j]])        }    },call:function(j, l, k) {        var n = j.plugins[l];        if (!n) {            return        }        for (var m = 0; m < n.length; m++) {            if (j.options[n[m][0]]) {                n[m][1].apply(j.element, k)            }        }    }},contains:function(k, j) {        return document.compareDocumentPosition ? k.compareDocumentPosition(j) & 16 : k !== j && k.contains(j)    },cssCache:{},css:function(j) {        if (c.ui.cssCache[j]) {            return c.ui.cssCache[j]        }        var k = c('<div class="ui-gen"></div>').addClass(j).css({position:"absolute",top:"-5000px",left:"-5000px",display:"block"}).appendTo("body");        c.ui.cssCache[j] = !!((!(/auto|default/).test(k.css("cursor")) || (/^[1-9]/).test(k.css("height")) || (/^[1-9]/).test(k.css("width")) || !(/none/).test(k.css("backgroundImage")) || !(/transparent|rgba\(0, 0, 0, 0\)/).test(k.css("backgroundColor"))));        try {            c("body").get(0).removeChild(k.get(0))        } catch(l) {        }        return c.ui.cssCache[j]    },hasScroll:function(m, k) {        if (c(m).css("overflow") == "hidden") {            return false        }        var j = (k && k == "left") ? "scrollLeft" : "scrollTop",l = false;        if (m[j] > 0) {            return true        }        m[j] = 1;        l = (m[j] > 0);        m[j] = 0;        return l    },isOverAxis:function(k, j, l) {        return(k > j) && (k < (j + l))    },isOver:function(o, k, n, m, j, l) {        return c.ui.isOverAxis(o, n, j) && c.ui.isOverAxis(k, m, l)    },keyCode:{BACKSPACE:8,CAPS_LOCK:20,COMMA:188,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38}};    if (d) {        var f = c.attr,e = c.fn.removeAttr,h = "http://www.w3.org/2005/07/aaa",a = /^aria-/,b = /^wairole:/;        c.attr = function(k, j, l) {            var m = l !== undefined;            return(j == "role" ? (m ? f.call(this, k, j, "wairole:" + l) : (f.apply(this, arguments) || "").replace(b, "")) : (a.test(j) ? (m ? k.setAttributeNS(h, j.replace(a, "aaa:"), l) : f.call(this, k, j.replace(a, "aaa:"))) : f.apply(this, arguments)))        };        c.fn.removeAttr = function(j) {            return(a.test(j) ? this.each(function() {                this.removeAttributeNS(h, j.replace(a, ""))            }) : e.call(this, j))        }    }    c.fn.extend({remove:function() {        c("*", this).add(this).each(function() {            c(this).triggerHandler("remove")        });        return i.apply(this, arguments)    },enableSelection:function() {        return this.attr("unselectable", "off").css("MozUserSelect", "").unbind("selectstart.ui")    },disableSelection:function() {        return this.attr("unselectable", "on").css("MozUserSelect", "none").bind("selectstart.ui", function() {            return false        })    },scrollParent:function() {        var j;        if ((c.browser.msie && (/(static|relative)/).test(this.css("position"))) || (/absolute/).test(this.css("position"))) {            j = this.parents().filter(function() {                return(/(relative|absolute|fixed)/).test(c.curCSS(this, "position", 1)) && (/(auto|scroll)/).test(c.curCSS(this, "overflow", 1) + c.curCSS(this, "overflow-y", 1) + c.curCSS(this, "overflow-x", 1))            }).eq(0)        } else {            j = this.parents().filter(function() {                return(/(auto|scroll)/).test(c.curCSS(this, "overflow", 1) + c.curCSS(this, "overflow-y", 1) + c.curCSS(this, "overflow-x", 1))            }).eq(0)        }        return(/fixed/).test(this.css("position")) || !j.length ? c(document) : j    }});    c.extend(c.expr[":"], {data:function(l, k, j) {        return !!c.data(l, j[3])    },focusable:function(k) {        var l = k.nodeName.toLowerCase(),j = c.attr(k, "tabindex");        return(/input|select|textarea|button|object/.test(l) ? !k.disabled : "a" == l || "area" == l ? k.href || !isNaN(j) : !isNaN(j)) && !c(k)["area" == l ? "parents" : "closest"](":hidden").length    },tabbable:function(k) {        var j = c.attr(k, "tabindex");        return(isNaN(j) || j >= 0) && c(k).is(":focusable")    }});    function g(m, n, o, l) {        function k(q) {            var p = c[m][n][q] || [];            return(typeof p == "string" ? p.split(/,?\s+/) : p)        }        var j = k("getter");        if (l.length == 1 && typeof l[0] == "string") {            j = j.concat(k("getterSetter"))        }        return(c.inArray(o, j) != -1)    }    c.widget = function(k, j) {        var l = k.split(".")[0];        k = k.split(".")[1];        c.fn[k] = function(p) {            var n = (typeof p == "string"),o = Array.prototype.slice.call(arguments, 1);            if (n && p.substring(0, 1) == "_") {                return this            }            if (n && g(l, k, p, o)) {                var m = c.data(this[0], k);                return(m ? m[p].apply(m, o) : undefined)            }            return this.each(function() {                var q = c.data(this, k);                (!q && !n && c.data(this, k, new c[l][k](this, p))._init());                (q && n && c.isFunction(q[p]) && q[p].apply(q, o))            })        };        c[l] = c[l] || {};        c[l][k] = function(o, n) {            var m = this;            this.namespace = l;            this.widgetName = k;            this.widgetEventPrefix = c[l][k].eventPrefix || k;            this.widgetBaseClass = l + "-" + k;            this.options = c.extend({}, c.widget.defaults, c[l][k].defaults, c.metadata && c.metadata.get(o)[k], n);            this.element = c(o).bind("setData." + k, function(q, p, r) {                if (q.target == o) {                    return m._setData(p, r)                }            }).bind("getData." + k, function(q, p) {                if (q.target == o) {                    return m._getData(p)                }            }).bind("remove", function() {                return m.destroy()            })        };        c[l][k].prototype = c.extend({}, c.widget.prototype, j);        c[l][k].getterSetter = "option"    };    c.widget.prototype = {_init:function() {    },destroy:function() {        this.element.removeData(this.widgetName).removeClass(this.widgetBaseClass + "-disabled " + this.namespace + "-state-disabled").removeAttr("aria-disabled")    },option:function(l, m) {        var k = l,j = this;        if (typeof l == "string") {            if (m === undefined) {                return this._getData(l)            }            k = {};            k[l] = m        }        c.each(k, function(n, o) {            j._setData(n, o)        })    },_getData:function(j) {        return this.options[j]    },_setData:function(j, k) {        this.options[j] = k;        if (j == "disabled") {            this.element[k ? "addClass" : "removeClass"](this.widgetBaseClass + "-disabled " + this.namespace + "-state-disabled").attr("aria-disabled", k)        }    },enable:function() {        this._setData("disabled", false)    },disable:function() {        this._setData("disabled", true)    },_trigger:function(l, m, n) {        var p = this.options[l],j = (l == this.widgetEventPrefix ? l : this.widgetEventPrefix + l);        m = c.Event(m);        m.type = j;        if (m.originalEvent) {            for (var k = c.event.props.length,o; k;) {                o = c.event.props[--k];                m[o] = m.originalEvent[o]            }        }        this.element.trigger(m, n);        return !(c.isFunction(p) && p.call(this.element[0], m, n) === false || m.isDefaultPrevented())    }};    c.widget.defaults = {disabled:false};    c.ui.mouse = {_mouseInit:function() {        var j = this;        this.element.bind("mousedown." + this.widgetName, function(k) {            return j._mouseDown(k)        }).bind("click." + this.widgetName, function(k) {            if (j._preventClickEvent) {                j._preventClickEvent = false;                return false            }        });        if (c.browser.msie) {            this._mouseUnselectable = this.element.attr("unselectable");            this.element.attr("unselectable", "on")        }        this.started = false    },_mouseDestroy:function() {        this.element.unbind("." + this.widgetName);        (c.browser.msie && this.element.attr("unselectable", this._mouseUnselectable))    },_mouseDown:function(l) {        if (l.originalEvent.mouseHandled) {            return        }        (this._mouseStarted && this._mouseUp(l));        this._mouseDownEvent = l;        var k = this,m = (l.which == 1),j = (typeof this.options.cancel == "string" ? c(l.target).parents().add(l.target).filter(this.options.cancel).length : false);        if (!m || j || !this._mouseCapture(l)) {            return true        }        this.mouseDelayMet = !this.options.delay;        if (!this.mouseDelayMet) {            this._mouseDelayTimer = setTimeout(function() {                k.mouseDelayMet = true            }, this.options.delay)        }        if (this._mouseDistanceMet(l) && this._mouseDelayMet(l)) {            this._mouseStarted = (this._mouseStart(l) !== false);            if (!this._mouseStarted) {                l.preventDefault();                return true            }        }        this._mouseMoveDelegate = function(n) {            return k._mouseMove(n)        };        this._mouseUpDelegate = function(n) {            return k._mouseUp(n)        };        c(document).bind("mousemove." + this.widgetName, this._mouseMoveDelegate).bind("mouseup." + this.widgetName, this._mouseUpDelegate);        (c.browser.safari || l.preventDefault());        l.originalEvent.mouseHandled = true;        return true    },_mouseMove:function(j) {        if (c.browser.msie && !j.button) {            return this._mouseUp(j)        }        if (this._mouseStarted) {            this._mouseDrag(j);            return j.preventDefault()        }        if (this._mouseDistanceMet(j) && this._mouseDelayMet(j)) {            this._mouseStarted = (this._mouseStart(this._mouseDownEvent, j) !== false);            (this._mouseStarted ? this._mouseDrag(j) : this._mouseUp(j))        }        return !this._mouseStarted    },_mouseUp:function(j) {        c(document).unbind("mousemove." + this.widgetName, this._mouseMoveDelegate).unbind("mouseup." + this.widgetName, this._mouseUpDelegate);        if (this._mouseStarted) {            this._mouseStarted = false;            this._preventClickEvent = true;            this._mouseStop(j)        }        return false    },_mouseDistanceMet:function(j) {        return(Math.max(Math.abs(this._mouseDownEvent.pageX - j.pageX), Math.abs(this._mouseDownEvent.pageY - j.pageY)) >= this.options.distance)    },_mouseDelayMet:function(j) {        return this.mouseDelayMet    },_mouseStart:function(j) {    },_mouseDrag:function(j) {    },_mouseStop:function(j) {    },_mouseCapture:function(j) {        return true    }};    c.ui.mouse.defaults = {cancel:null,distance:1,delay:0}})(jQuery);;/* * jQuery UI Tabs 1.6rc6 * * Copyright (c) 2009 AUTHORS.txt (http://ui.jquery.com/about) * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. * * http://docs.jquery.com/UI/Tabs * * Depends: *	ui.core.js */(function(a) {    a.widget("ui.tabs", {_init:function() {        this._tabify(true)    },_setData:function(b, c) {        if ((/^selected/).test(b)) {            this.select(c)        } else {            this.options[b] = c;            this._tabify()        }    },_tabId:function(b) {        return b.title && b.title.replace(/\s/g, "_").replace(/[^A-Za-z0-9\-_:\.]/g, "") || this.options.idPrefix + a.data(b)    },_sanitizeSelector:function(b) {        return b.replace(/:/g, "\\:")    },_cookie:function() {        var b = this.cookie || (this.cookie = this.options.cookie.name || "ui-tabs-" + a.data(this.list[0]));        return a.cookie.apply(null, [b].concat(a.makeArray(arguments)))    },_ui:function(c, b) {        return{tab:c,panel:b,index:this.$tabs.index(c)}    },_tabify:function(q) {        this.list = this.element.is("div") ? this.element.children("ul:first, ol:first").eq(0) : this.element;        this.$lis = a("li:has(a[href])", this.list);        this.$tabs = this.$lis.map(function() {            return a("a", this)[0]        });        this.$panels = a([]);        var r = this,d = this.options;        var c = /^#.+/;        this.$tabs.each(function(t, o) {            var s = a(o).attr("href");            if (c.test(s)) {                r.$panels = r.$panels.add(r._sanitizeSelector(s))            } else {                if (s != "#") {                    a.data(o, "href.tabs", s);                    a.data(o, "load.tabs", s.replace(/#.*$/, ""));                    var v = r._tabId(o);                    o.href = "#" + v;                    var u = a("#" + v);                    if (!u.length) {                        u = a(d.panelTemplate).attr("id", v).addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").insertAfter(r.$panels[t - 1] || r.list);                        u.data("destroy.tabs", true)                    }                    r.$panels = r.$panels.add(u)                } else {                    d.disabled.push(t + 1)                }            }        });        if (q) {            if (this.element.is("div")) {                this.element.addClass("ui-tabs ui-widget ui-widget-content ui-corner-all")            }            this.list.addClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all");            this.$lis.addClass("ui-state-default ui-corner-top");            this.$panels.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom");            if (d.selected === undefined) {                if (location.hash) {                    this.$tabs.each(function(s, o) {                        if (o.hash == location.hash) {                            d.selected = s;                            return false                        }                    })                } else {                    if (d.cookie) {                        d.selected = parseInt(r._cookie(), 10)                    } else {                        if (this.$lis.filter(".ui-tabs-selected").length) {                            d.selected = this.$lis.index(this.$lis.filter(".ui-tabs-selected"))                        } else {                            d.selected = 0                        }                    }                }            } else {                if (d.selected === null) {                    d.selected = -1                }            }            d.selected = ((d.selected >= 0 && this.$tabs[d.selected]) || d.selected < 0) ? d.selected : 0;            d.disabled = a.unique(d.disabled.concat(a.map(this.$lis.filter(".ui-state-disabled"), function(s, o) {                return r.$lis.index(s)            }))).sort();            if (a.inArray(d.selected, d.disabled) != -1) {                d.disabled.splice(a.inArray(d.selected, d.disabled), 1)            }            this.$panels.addClass("ui-tabs-hide");            this.$lis.removeClass("ui-tabs-selected ui-state-active");            if (d.selected >= 0 && this.$tabs.length) {                this.$panels.eq(d.selected).removeClass("ui-tabs-hide");                var f = ["ui-tabs-selected ui-state-active"];                if (d.deselectable) {                    f.push("ui-tabs-deselectable")                }                this.$lis.eq(d.selected).addClass(f.join(" "));                var k = function() {                    r._trigger("show", null, r._ui(r.$tabs[d.selected], r.$panels[d.selected]))                };                if (a.data(this.$tabs[d.selected], "load.tabs")) {                    this.load(d.selected, k)                } else {                    k()                }            }            if (d.event != "mouseover") {                var l = function(o, i) {                    if (i.is(":not(.ui-state-disabled)")) {                        i.toggleClass("ui-state-" + o)                    }                };                this.$lis.bind("mouseover.tabs mouseout.tabs", function() {                    l("hover", a(this))                });                this.$tabs.bind("focus.tabs blur.tabs", function() {                    l("focus", a(this).parents("li:first"))                })            }            a(window).bind("unload", function() {                r.$lis.add(r.$tabs).unbind(".tabs");                r.$lis = r.$tabs = r.$panels = null            })        } else {            d.selected = this.$lis.index(this.$lis.filter(".ui-tabs-selected"))        }        if (d.cookie) {            this._cookie(d.selected, d.cookie)        }        for (var h = 0,p; p = this.$lis[h]; h++) {            a(p)[a.inArray(h, d.disabled) != -1 && !a(p).hasClass("ui-tabs-selected") ? "addClass" : "removeClass"]("ui-state-disabled")        }        if (d.cache === false) {            this.$tabs.removeData("cache.tabs")        }        var b,j;        if (d.fx) {            if (a.isArray(d.fx)) {                b = d.fx[0];                j = d.fx[1]            } else {                b = j = d.fx            }        }        function e(i, o) {            i.css({display:""});            if (a.browser.msie && o.opacity) {                i[0].style.removeAttribute("filter")            }        }        var m = j ? function(i, o) {            o.hide().removeClass("ui-tabs-hide").animate(j, 500, function() {                e(o, j);                r._trigger("show", null, r._ui(i, o[0]))            })        } : function(i, o) {            o.removeClass("ui-tabs-hide");            r._trigger("show", null, r._ui(i, o[0]))        };        var n = b ? function(o, i, s) {            i.animate(b, b.duration || "normal", function() {                i.addClass("ui-tabs-hide");                e(i, b);                if (s) {                    m(o, s)                }            })        } : function(o, i, s) {            i.addClass("ui-tabs-hide");            if (s) {                m(o, s)            }        };        function g(s, u, i, t) {            var o = ["ui-tabs-selected ui-state-active"];            if (d.deselectable) {                o.push("ui-tabs-deselectable")            }            u.removeClass("ui-state-default").addClass(o.join(" ")).siblings().removeClass(o.join(" ")).addClass("ui-state-default");            n(s, i, t)        }        this.$tabs.unbind(".tabs").bind(d.event + ".tabs", function() {            var t = a(this).parents("li:eq(0)"),i = r.$panels.filter(":visible"),s = a(r._sanitizeSelector(this.hash));            if ((t.hasClass("ui-state-active") && !d.deselectable) || t.hasClass("ui-state-disabled") || a(this).hasClass("ui-tabs-loading") || r._trigger("select", null, r._ui(this, s[0])) === false) {                this.blur();                return false            }            d.selected = r.$tabs.index(this);            if (d.deselectable) {                if (t.hasClass("ui-state-active")) {                    d.selected = -1;                    if (d.cookie) {                        r._cookie(d.selected, d.cookie)                    }                    t.removeClass("ui-tabs-selected ui-state-active ui-tabs-deselectable").addClass("ui-state-default");                    r.$panels.stop();                    n(this, i);                    this.blur();                    return false                } else {                    if (!i.length) {                        if (d.cookie) {                            r._cookie(d.selected, d.cookie)                        }                        r.$panels.stop();                        var o = this;                        r.load(r.$tabs.index(this), function() {                            t.addClass("ui-tabs-selected ui-state-active ui-tabs-deselectable").removeClass("ui-state-default");                            m(o, s)                        });                        this.blur();                        return false                    }                }            }            if (d.cookie) {                r._cookie(d.selected, d.cookie)            }            r.$panels.stop();            if (s.length) {                var o = this;                r.load(r.$tabs.index(this), i.length ? function() {                    g(o, t, i, s)                } : function() {                    t.addClass("ui-tabs-selected ui-state-active").removeClass("ui-state-default");                    m(o, s)                })            } else {                throw"jQuery UI Tabs: Mismatching fragment identifier."            }            if (a.browser.msie) {                this.blur()            }            return false        });        if (d.event != "click") {            this.$tabs.bind("click.tabs", function() {                return false            })        }    },destroy:function() {        var b = this.options;        this.element.removeClass("ui-tabs ui-widget ui-widget-content ui-corner-all");        this.list.unbind(".tabs").removeClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all").removeData("tabs");        this.$tabs.each(function() {            var c = a.data(this, "href.tabs");            if (c) {                this.href = c            }            var d = a(this).unbind(".tabs");            a.each(["href","load","cache"], function(e, f) {                d.removeData(f + ".tabs")            })        });        this.$lis.unbind(".tabs").add(this.$panels).each(function() {            if (a.data(this, "destroy.tabs")) {                a(this).remove()            } else {                a(this).removeClass("ui-state-default ui-corner-top ui-tabs-selected ui-state-active ui-tabs-deselectable ui-state-disabled ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide")            }        });        if (b.cookie) {            this._cookie(null, b.cookie)        }    },add:function(c, h, f) {        if (f == undefined) {            f = this.$tabs.length        }        var i = this,e = this.options;        var g = a(e.tabTemplate.replace(/#\{href\}/g, c).replace(/#\{label\}/g, h));        g.addClass("ui-state-default ui-corner-top").data("destroy.tabs", true);        var d = c.indexOf("#") == 0 ? c.replace("#", "") : this._tabId(a("a:first-child", g)[0]);        var j = a("#" + d);        if (!j.length) {            j = a(e.panelTemplate).attr("id", d).data("destroy.tabs", true)        }        j.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide");        if (f >= this.$lis.length) {            g.appendTo(this.list);            j.appendTo(this.list[0].parentNode)        } else {            g.insertBefore(this.$lis[f]);            j.insertBefore(this.$panels[f])        }        e.disabled = a.map(e.disabled, function(l, k) {            return l >= f ? ++l : l        });        this._tabify();        if (this.$tabs.length == 1) {            g.addClass("ui-tabs-selected ui-state-active");            j.removeClass("ui-tabs-hide");            var b = a.data(this.$tabs[0], "load.tabs");            if (b) {                this.load(0, function() {                    i._trigger("show", null, i._ui(i.$tabs[0], i.$panels[0]))                })            }        }        this._trigger("add", null, this._ui(this.$tabs[f], this.$panels[f]))    },remove:function(b) {        var d = this.options,e = this.$lis.eq(b).remove(),c = this.$panels.eq(b).remove();        if (e.hasClass("ui-tabs-selected") && this.$tabs.length > 1) {            this.select(b + (b + 1 < this.$tabs.length ? 1 : -1))        }        d.disabled = a.map(a.grep(d.disabled, function(g, f) {            return g != b        }), function(g, f) {            return g >= b ? --g : g        });        this._tabify();        this._trigger("remove", null, this._ui(e.find("a")[0], c[0]))    },enable:function(b) {        var c = this.options;        if (a.inArray(b, c.disabled) == -1) {            return        }        this.$lis.eq(b).removeClass("ui-state-disabled");        c.disabled = a.grep(c.disabled, function(e, d) {            return e != b        });        this._trigger("enable", null, this._ui(this.$tabs[b], this.$panels[b]))    },disable:function(c) {        var b = this,d = this.options;        if (c != d.selected) {            this.$lis.eq(c).addClass("ui-state-disabled");            d.disabled.push(c);            d.disabled.sort();            this._trigger("disable", null, this._ui(this.$tabs[c], this.$panels[c]))        }    },select:function(b) {        if (typeof b == "string") {            b = this.$tabs.index(this.$tabs.filter("[href$=" + b + "]"))        }        this.$tabs.eq(b).trigger(this.options.event + ".tabs")    },load:function(g, k) {        var l = this,d = this.options,e = this.$tabs.eq(g),j = e[0],h = k == undefined || k === false,b = e.data("load.tabs");        k = k || function() {        };        if (!b || !h && a.data(j, "cache.tabs")) {            k();            return        }        var m = function(n) {            var o = a(n),p = o.find("*:last");            return p.length && p.is(":not(img)") && p || o        };        var c = function() {            l.$tabs.filter(".ui-tabs-loading").removeClass("ui-tabs-loading").each(function() {                if (d.spinner) {                    m(this).parent().html(m(this).data("label.tabs"))                }            });            l.xhr = null        };        if (d.spinner) {            var i = m(j).html();            m(j).wrapInner("<em></em>").find("em").data("label.tabs", i).html(d.spinner)        }        var f = a.extend({}, d.ajaxOptions, {url:b,success:function(o, n) {            a(l._sanitizeSelector(j.hash)).html(o);            c();            if (d.cache) {                a.data(j, "cache.tabs", true)            }            l._trigger("load", null, l._ui(l.$tabs[g], l.$panels[g]));            try {                d.ajaxOptions.success(o, n)            } catch(p) {            }            k()        }});        if (this.xhr) {            this.xhr.abort();            c()        }        e.addClass("ui-tabs-loading");        l.xhr = a.ajax(f)    },url:function(c, b) {        this.$tabs.eq(c).removeData("cache.tabs").data("load.tabs", b)    },length:function() {        return this.$tabs.length    }});    a.extend(a.ui.tabs, {version:"1.6rc6",getter:"length",defaults:{ajaxOptions:null,cache:false,cookie:null,deselectable:false,disabled:[],event:"click",fx:null,idPrefix:"ui-tabs-",panelTemplate:"<div></div>",spinner:"Loading&#8230;",tabTemplate:'<li><a href="#{href}"><span>#{label}</span></a></li>'}});    a.extend(a.ui.tabs.prototype, {rotation:null,rotate:function(d, f) {        var b = this,e = this.options.selected;        function c() {            clearTimeout(b.rotation);            b.rotation = setTimeout(function() {                e = ++e < b.$tabs.length ? e : 0;                b.select(e)            }, d)        }        if (d) {            this.element.bind("tabsshow", c);            this.$tabs.bind(this.options.event + ".tabs", !f ? function(g) {                if (g.clientX) {                    clearTimeout(b.rotation);                    b.element.unbind("tabsshow", c)                }            } : function(g) {                e = b.options.selected;                c()            });            c()        } else {            clearTimeout(b.rotation);            this.element.unbind("tabsshow", c);            this.$tabs.unbind(this.options.event + ".tabs", stop)        }    }})})(jQuery);;