/*
	Copyright (c) 2004-2007, The Dojo Foundation
	All Rights Reserved.

	Licensed under the Academic Free License version 2.1 or above OR the
	modified BSD license. For more information on Dojo licensing, see:

		http://dojotoolkit.org/book/dojo-book-0-9/introduction/licensing
*/

/*
	This is a compiled version of Dojo, built for deployment and not for
	development. To get an editable version, please visit:

		http://dojotoolkit.org

	for documentation and information on getting the source.
*/

if (!dojo._hasResource["dojo.colors"]) {
    dojo._hasResource["dojo.colors"] = true;
    dojo.provide("dojo.colors");
    (function() {
        var _1 = function(m1, m2, h) {
            if (h < 0) {
                ++h;
            }
            if (h > 1) {
                --h;
            }
            var h6 = 6 * h;
            if (h6 < 1) {
                return m1 + (m2 - m1) * h6;
            }
            if (2 * h < 1) {
                return m2;
            }
            if (3 * h < 2) {
                return m1 + (m2 - m1) * (2 / 3 - h) * 6;
            }
            return m1;
        };
        dojo.colorFromRgb = function(_6, _7) {
            var m = _6.toLowerCase().match(/^(rgba?|hsla?)\(([\s\.\-,%0-9]+)\)/);
            if (m) {
                var c = m[2].split(/\s*,\s*/),l = c.length,t = m[1];
                if ((t == "rgb" && l == 3) || (t == "rgba" && l == 4)) {
                    var r = c[0];
                    if (r.charAt(r.length - 1) == "%") {
                        var a = dojo.map(c, function(x) {
                            return parseFloat(x) * 2.56;
                        });
                        if (l == 4) {
                            a[3] = c[3];
                        }
                        return dojo.colorFromArray(a, _7);
                    }
                    return dojo.colorFromArray(c, _7);
                }
                if ((t == "hsl" && l == 3) || (t == "hsla" && l == 4)) {
                    var H = ((parseFloat(c[0]) % 360) + 360) % 360 / 360,S = parseFloat(c[1]) / 100,L = parseFloat(c[2]) / 100,m2 = L <= 0.5 ? L * (S + 1) : L + S - L * S,m1 = 2 * L - m2,a = [_1(m1, m2, H + 1 / 3) * 256,_1(m1, m2, H) * 256,_1(m1, m2, H - 1 / 3) * 256,1];
                    if (l == 4) {
                        a[3] = c[3];
                    }
                    return dojo.colorFromArray(a, _7);
                }
            }
            return null;
        };
        var _14 = function(c, low, _17) {
            c = Number(c);
            return isNaN(c) ? _17 : c < low ? low : c > _17 ? _17 : c;
        };
        dojo.Color.prototype.sanitize = function() {
            var t = this;
            t.r = Math.round(_14(t.r, 0, 255));
            t.g = Math.round(_14(t.g, 0, 255));
            t.b = Math.round(_14(t.b, 0, 255));
            t.a = _14(t.a, 0, 1);
            return this;
        };
    })();
    dojo.colors.makeGrey = function(g, a) {
        return dojo.colorFromArray([g,g,g,a]);
    };
    dojo.Color.named = dojo.mixin({aliceblue:[240,248,255],antiquewhite:[250,235,215],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],blanchedalmond:[255,235,205],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],oldlace:[253,245,230],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],thistle:[216,191,216],tomato:[255,99,71],transparent:[0,0,0,0],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],whitesmoke:[245,245,245],yellowgreen:[154,205,50]}, dojo.Color.named);
}
if (!dojo._hasResource["dojo.i18n"]) {
    dojo._hasResource["dojo.i18n"] = true;
    dojo.provide("dojo.i18n");
    dojo.i18n.getLocalization = function(_1b, _1c, _1d) {
        _1d = dojo.i18n.normalizeLocale(_1d);
        var _1e = _1d.split("-");
        var _1f = [_1b,"nls",_1c].join(".");
        var _20 = dojo._loadedModules[_1f];
        if (_20) {
            var _21;
            for (var i = _1e.length; i > 0; i--) {
                var loc = _1e.slice(0, i).join("_");
                if (_20[loc]) {
                    _21 = _20[loc];
                    break;
                }
            }
            if (!_21) {
                _21 = _20.ROOT;
            }
            if (_21) {
                var _24 = function() {
                };
                _24.prototype = _21;
                return new _24();
            }
        }
        throw new Error("Bundle not found: " + _1c + " in " + _1b + " , locale=" + _1d);
    };
    dojo.i18n.normalizeLocale = function(_25) {
        var _26 = _25 ? _25.toLowerCase() : dojo.locale;
        if (_26 == "root") {
            _26 = "ROOT";
        }
        return _26;
    };
    dojo.i18n._requireLocalization = function(_27, _28, _29, _2a) {
        var _2b = dojo.i18n.normalizeLocale(_29);
        var _2c = [_27,"nls",_28].join(".");
        var _2d = "";
        if (_2a) {
            var _2e = _2a.split(",");
            for (var i = 0; i < _2e.length; i++) {
                if (_2b.indexOf(_2e[i]) == 0) {
                    if (_2e[i].length > _2d.length) {
                        _2d = _2e[i];
                    }
                }
            }
            if (!_2d) {
                _2d = "ROOT";
            }
        }
        var _30 = _2a ? _2d : _2b;
        var _31 = dojo._loadedModules[_2c];
        var _32 = null;
        if (_31) {
            if (djConfig.localizationComplete && _31._built) {
                return;
            }
            var _33 = _30.replace(/-/g, "_");
            var _34 = _2c + "." + _33;
            _32 = dojo._loadedModules[_34];
        }
        if (!_32) {
            _31 = dojo["provide"](_2c);
            var _35 = dojo._getModuleSymbols(_27);
            var _36 = _35.concat("nls").join("/");
            var _37;
            dojo.i18n._searchLocalePath(_30, _2a, function(loc) {
                var _39 = loc.replace(/-/g, "_");
                var _3a = _2c + "." + _39;
                var _3b = false;
                if (!dojo._loadedModules[_3a]) {
                    dojo["provide"](_3a);
                    var _3c = [_36];
                    if (loc != "ROOT") {
                        _3c.push(loc);
                    }
                    _3c.push(_28);
                    var _3d = _3c.join("/") + ".js";
                    _3b = dojo._loadPath(_3d, null, function(_3e) {
                        var _3f = function() {
                        };
                        _3f.prototype = _37;
                        _31[_39] = new _3f();
                        for (var j in _3e) {
                            _31[_39][j] = _3e[j];
                        }
                    });
                } else {
                    _3b = true;
                }
                if (_3b && _31[_39]) {
                    _37 = _31[_39];
                } else {
                    _31[_39] = _37;
                }
                if (_2a) {
                    return true;
                }
            });
        }
        if (_2a && _2b != _2d) {
            _31[_2b.replace(/-/g, "_")] = _31[_2d.replace(/-/g, "_")];
        }
    };
    (function() {
        var _41 = djConfig.extraLocale;
        if (_41) {
            if (!_41 instanceof Array) {
                _41 = [_41];
            }
            var req = dojo.i18n._requireLocalization;
            dojo.i18n._requireLocalization = function(m, b, _45, _46) {
                req(m, b, _45, _46);
                if (_45) {
                    return;
                }
                for (var i = 0; i < _41.length; i++) {
                    req(m, b, _41[i], _46);
                }
            };
        }
    })();
    dojo.i18n._searchLocalePath = function(_48, _49, _4a) {
        _48 = dojo.i18n.normalizeLocale(_48);
        var _4b = _48.split("-");
        var _4c = [];
        for (var i = _4b.length; i > 0; i--) {
            _4c.push(_4b.slice(0, i).join("-"));
        }
        _4c.push(false);
        if (_49) {
            _4c.reverse();
        }
        for (var j = _4c.length - 1; j >= 0; j--) {
            var loc = _4c[j] || "ROOT";
            var _50 = _4a(loc);
            if (_50) {
                break;
            }
        }
    };
    dojo.i18n._preloadLocalizations = function(_51, _52) {
        function preload(_53) {
            _53 = dojo.i18n.normalizeLocale(_53);
            dojo.i18n._searchLocalePath(_53, true, function(loc) {
                for (var i = 0; i < _52.length; i++) {
                    if (_52[i] == loc) {
                        dojo["require"](_51 + "_" + loc);
                        return true;
                    }
                }
                return false;
            });
        }
        ;
        preload();
        var _56 = djConfig.extraLocale || [];
        for (var i = 0; i < _56.length; i++) {
            preload(_56[i]);
        }
    };
}
if (!dojo._hasResource["dijit.ColorPalette"]) {
    dojo._hasResource["dijit.ColorPalette"] = true;
    dojo.provide("dijit.ColorPalette");
    dojo.declare("dijit.ColorPalette", [dijit._Widget,dijit._Templated], {defaultTimeout:500,timeoutChangeRate:0.9,palette:"7x10",value:null,_currentFocus:0,_xDim:null,_yDim:null,_palettes:{"7x10":[["white","seashell","cornsilk","lemonchiffon","lightyellow","palegreen","paleturquoise","lightcyan","lavender","plum"],["lightgray","pink","bisque","moccasin","khaki","lightgreen","lightseagreen","lightskyblue","cornflowerblue","violet"],["silver","lightcoral","sandybrown","orange","palegoldenrod","chartreuse","mediumturquoise","skyblue","mediumslateblue","orchid"],["gray","red","orangered","darkorange","yellow","limegreen","darkseagreen","royalblue","slateblue","mediumorchid"],["dimgray","crimson","chocolate","coral","gold","forestgreen","seagreen","blue","blueviolet","darkorchid"],["darkslategray","firebrick","saddlebrown","sienna","olive","green","darkcyan","mediumblue","darkslateblue","darkmagenta"],["black","darkred","maroon","brown","darkolivegreen","darkgreen","midnightblue","navy","indigo","purple"]],"3x4":[["white","lime","green","blue"],["silver","yellow","fuchsia","navy"],["gray","red","purple","black"]]},_imagePaths:{"7x10":dojo.moduleUrl("dijit", "templates/colors7x10.png"),"3x4":dojo.moduleUrl("dijit", "templates/colors3x4.png")},_paletteCoords:{"leftOffset":4,"topOffset":4,"cWidth":20,"cHeight":20},templateString:"<div class=\"dijitInline dijitColorPalette\">\n\t<div class=\"dijitColorPaletteInner\" dojoAttachPoint=\"divNode\" waiRole=\"grid\" tabIndex=\"-1\">\n\t\t<img class=\"dijitColorPaletteUnder\" dojoAttachPoint=\"imageNode\" waiRole=\"presentation\">\n\t</div>\t\n</div>\n",_paletteDims:{"7x10":{"width":"206px","height":"145px"},"3x4":{"width":"86px","height":"64px"}},postCreate:function() {
        dojo.mixin(this.divNode.style, this._paletteDims[this.palette]);
        this.imageNode.setAttribute("src", this._imagePaths[this.palette]);
        var _58 = this._palettes[this.palette];
        this.domNode.style.position = "relative";
        this._highlightNodes = [];
        this.colorNames = dojo.i18n.getLocalization("dojo", "colors", this.lang);
        var url = dojo.moduleUrl("dijit", "templates/blank.gif");
        var _5a = new dojo.Color(),_5b = this._paletteCoords;
        for (var row = 0; row < _58.length; row++) {
            for (var col = 0; col < _58[row].length; col++) {
                var _5e = document.createElement("img");
                _5e.src = url;
                dojo.addClass(_5e, "dijitPaletteImg");
                var _5f = _58[row][col],_60 = _5a.setColor(dojo.Color.named[_5f]);
                _5e.alt = this.colorNames[_5f];
                _5e.color = _60.toHex();
                var _61 = _5e.style;
                _61.color = _61.backgroundColor = _5e.color;
                dojo.forEach(["Dijitclick","MouseOut","MouseOver","Blur","Focus"], function(_62) {
                    this.connect(_5e, "on" + _62.toLowerCase(), "_onColor" + _62);
                }, this);
                this.divNode.appendChild(_5e);
                _61.top = _5b.topOffset + (row * _5b.cHeight) + "px";
                _61.left = _5b.leftOffset + (col * _5b.cWidth) + "px";
                _5e.setAttribute("tabIndex", "-1");
                _5e.title = this.colorNames[_5f];
                dijit.setWaiRole(_5e, "gridcell");
                _5e.index = this._highlightNodes.length;
                this._highlightNodes.push(_5e);
            }
        }
        this._highlightNodes[this._currentFocus].tabIndex = 0;
        this._xDim = _58[0].length;
        this._yDim = _58.length;
        var _63 = {UP_ARROW:-this._xDim,DOWN_ARROW:this._xDim,RIGHT_ARROW:1,LEFT_ARROW:-1};
        for (var key in _63) {
            this._connects.push(dijit.typematic.addKeyListener(this.domNode, {keyCode:dojo.keys[key],ctrlKey:false,altKey:false,shiftKey:false}, this, function() {
                var _65 = _63[key];
                return function(_66) {
                    this._navigateByKey(_65, _66);
                };
            }(), this.timeoutChangeRate, this.defaultTimeout));
        }
    },focus:function() {
        dijit.focus(this._highlightNodes[this._currentFocus]);
    },onChange:function(_67) {
    },_onColorDijitclick:function(evt) {
        var _69 = evt.currentTarget;
        if (this._currentFocus != _69.index) {
            this._currentFocus = _69.index;
            dijit.focus(_69);
        }
        this._selectColor(_69);
        dojo.stopEvent(evt);
    },_onColorMouseOut:function(evt) {
        dojo.removeClass(evt.currentTarget, "dijitPaletteImgHighlight");
    },_onColorMouseOver:function(evt) {
        var _6c = evt.currentTarget;
        _6c.tabIndex = 0;
        _6c.focus();
    },_onColorBlur:function(evt) {
        dojo.removeClass(evt.currentTarget, "dijitPaletteImgHighlight");
        evt.currentTarget.tabIndex = -1;
        this._currentFocus = 0;
        this._highlightNodes[0].tabIndex = 0;
    },_onColorFocus:function(evt) {
        if (this._currentFocus != evt.currentTarget.index) {
            this._highlightNodes[this._currentFocus].tabIndex = -1;
        }
        this._currentFocus = evt.currentTarget.index;
        dojo.addClass(evt.currentTarget, "dijitPaletteImgHighlight");
    },_selectColor:function(_6f) {
        this.onChange(this.value = _6f.color);
    },_navigateByKey:function(_70, _71) {
        if (_71 == -1) {
            return;
        }
        var _72 = this._currentFocus + _70;
        if (_72 < this._highlightNodes.length && _72 > -1) {
            var _73 = this._highlightNodes[_72];
            _73.tabIndex = 0;
            _73.focus();
        }
    }});
}
if (!dojo._hasResource["dijit.Declaration"]) {
    dojo._hasResource["dijit.Declaration"] = true;
    dojo.provide("dijit.Declaration");
    dojo.declare("dijit.Declaration", dijit._Widget, {_noScript:true,widgetClass:"",replaceVars:true,defaults:null,mixins:[],buildRendering:function() {
        var src = this.srcNodeRef.parentNode.removeChild(this.srcNodeRef);
        var _75 = dojo.query("> script[type='dojo/method'][event='preamble']", src).orphan();
        var _76 = dojo.query("> script[type^='dojo/']", src).orphan();
        var _77 = src.nodeName;
        var _78 = this.defaults || {};
        this.mixins = this.mixins.length ? dojo.map(this.mixins, function(_79) {
            return dojo.getObject(_79);
        }) : [dijit._Widget,dijit._Templated];
        if (_75.length) {
            _78.preamble = dojo.parser._functionFromScript(_75[0]);
        }
        var _7a = dojo.map(_76, function(s) {
            var evt = s.getAttribute("event") || "postscript";
            return {event:evt,func:dojo.parser._functionFromScript(s)};
        });
        this.mixins.push(function() {
            dojo.forEach(_7a, function(s) {
                dojo.connect(this, s.event, this, s.func);
            }, this);
        });
        _78.widgetsInTemplate = true;
        _78._skipNodeCache = true;
        _78.templateString = "<" + _77 + " class='" + src.className + "' dojoAttachPoint='" + (src.getAttribute("dojoAttachPoint") || "") + "' dojoAttachEvent='" + (src.getAttribute("dojoAttachEvent") || "") + "' >" + src.innerHTML.replace(/\%7B/g, "{").replace(/\%7D/g, "}") + "</" + _77 + ">";
        dojo.query("[dojoType]", src).forEach(function(_7e) {
            _7e.removeAttribute("dojoType");
        });
        dojo.declare(this.widgetClass, this.mixins, _78);
    }});
}
if (!dojo._hasResource["dojo.dnd.common"]) {
    dojo._hasResource["dojo.dnd.common"] = true;
    dojo.provide("dojo.dnd.common");
    dojo.dnd._copyKey = navigator.appVersion.indexOf("Macintosh") < 0 ? "ctrlKey" : "metaKey";
    dojo.dnd.getCopyKeyState = function(e) {
        return e[dojo.dnd._copyKey];
    };
    dojo.dnd._uniqueId = 0;
    dojo.dnd.getUniqueId = function() {
        var id;
        do{
            id = "dojoUnique" + (++dojo.dnd._uniqueId);
        } while (dojo.byId(id));
        return id;
    };
    dojo.dnd._empty = {};
    dojo.dnd.isFormElement = function(e) {
        var t = e.target;
        if (t.nodeType == 3) {
            t = t.parentNode;
        }
        return " button textarea input select option ".indexOf(" " + t.tagName.toLowerCase() + " ") >= 0;
    };
}
if (!dojo._hasResource["dojo.dnd.autoscroll"]) {
    dojo._hasResource["dojo.dnd.autoscroll"] = true;
    dojo.provide("dojo.dnd.autoscroll");
    dojo.dnd.getViewport = function() {
        var d = dojo.doc,dd = d.documentElement,w = window,b = dojo.body();
        if (dojo.isMozilla) {
            return {w:dd.clientWidth,h:w.innerHeight};
        } else {
            if (!dojo.isOpera && w.innerWidth) {
                return {w:w.innerWidth,h:w.innerHeight};
            } else {
                if (!dojo.isOpera && dd && dd.clientWidth) {
                    return {w:dd.clientWidth,h:dd.clientHeight};
                } else {
                    if (b.clientWidth) {
                        return {w:b.clientWidth,h:b.clientHeight};
                    }
                }
            }
        }
        return null;
    };
    dojo.dnd.V_TRIGGER_AUTOSCROLL = 32;
    dojo.dnd.H_TRIGGER_AUTOSCROLL = 32;
    dojo.dnd.V_AUTOSCROLL_VALUE = 16;
    dojo.dnd.H_AUTOSCROLL_VALUE = 16;
    dojo.dnd.autoScroll = function(e) {
        var v = dojo.dnd.getViewport(),dx = 0,dy = 0;
        if (e.clientX < dojo.dnd.H_TRIGGER_AUTOSCROLL) {
            dx = -dojo.dnd.H_AUTOSCROLL_VALUE;
        } else {
            if (e.clientX > v.w - dojo.dnd.H_TRIGGER_AUTOSCROLL) {
                dx = dojo.dnd.H_AUTOSCROLL_VALUE;
            }
        }
        if (e.clientY < dojo.dnd.V_TRIGGER_AUTOSCROLL) {
            dy = -dojo.dnd.V_AUTOSCROLL_VALUE;
        } else {
            if (e.clientY > v.h - dojo.dnd.V_TRIGGER_AUTOSCROLL) {
                dy = dojo.dnd.V_AUTOSCROLL_VALUE;
            }
        }
        window.scrollBy(dx, dy);
    };
    dojo.dnd._validNodes = {"div":1,"p":1,"td":1};
    dojo.dnd._validOverflow = {"auto":1,"scroll":1};
    dojo.dnd.autoScrollNodes = function(e) {
        for (var n = e.target; n;) {
            if (n.nodeType == 1 && (n.tagName.toLowerCase() in dojo.dnd._validNodes)) {
                var s = dojo.getComputedStyle(n);
                if (s.overflow.toLowerCase() in dojo.dnd._validOverflow) {
                    var b = dojo._getContentBox(n, s),t = dojo._abs(n, true);
                    b.l += t.x + n.scrollLeft;
                    b.t += t.y + n.scrollTop;
                    var w = Math.min(dojo.dnd.H_TRIGGER_AUTOSCROLL, b.w / 2),h = Math.min(dojo.dnd.V_TRIGGER_AUTOSCROLL, b.h / 2),rx = e.pageX - b.l,ry = e.pageY - b.t,dx = 0,dy = 0;
                    if (rx > 0 && rx < b.w) {
                        if (rx < w) {
                            dx = -dojo.dnd.H_AUTOSCROLL_VALUE;
                        } else {
                            if (rx > b.w - w) {
                                dx = dojo.dnd.H_AUTOSCROLL_VALUE;
                            }
                        }
                    }
                    if (ry > 0 && ry < b.h) {
                        if (ry < h) {
                            dy = -dojo.dnd.V_AUTOSCROLL_VALUE;
                        } else {
                            if (ry > b.h - h) {
                                dy = dojo.dnd.V_AUTOSCROLL_VALUE;
                            }
                        }
                    }
                    var _96 = n.scrollLeft,_97 = n.scrollTop;
                    n.scrollLeft = n.scrollLeft + dx;
                    n.scrollTop = n.scrollTop + dy;
                    if (_96 != n.scrollLeft || _97 != n.scrollTop) {
                        return;
                    }
                }
            }
            try {
                n = n.parentNode;
            } catch(x) {
                n = null;
            }
        }
        dojo.dnd.autoScroll(e);
    };
}
if (!dojo._hasResource["dojo.dnd.Mover"]) {
    dojo._hasResource["dojo.dnd.Mover"] = true;
    dojo.provide("dojo.dnd.Mover");
    dojo.declare("dojo.dnd.Mover", null, {constructor:function(_98, e, _9a) {
        this.node = dojo.byId(_98);
        this.marginBox = {l:e.pageX,t:e.pageY};
        this.mouseButton = e.button;
        var h = this.host = _9a,d = _98.ownerDocument,_9d = dojo.connect(d, "onmousemove", this, "onFirstMove");
        this.events = [dojo.connect(d, "onmousemove", this, "onMouseMove"),dojo.connect(d, "onmouseup", this, "onMouseUp"),dojo.connect(d, "ondragstart", dojo, "stopEvent"),dojo.connect(d, "onselectstart", dojo, "stopEvent"),_9d];
        if (h && h.onMoveStart) {
            h.onMoveStart(this);
        }
    },onMouseMove:function(e) {
        dojo.dnd.autoScroll(e);
        var m = this.marginBox;
        this.host.onMove(this, {l:m.l + e.pageX,t:m.t + e.pageY});
    },onMouseUp:function(e) {
        if (this.mouseButton == e.button) {
            this.destroy();
        }
    },onFirstMove:function() {
        this.node.style.position = "absolute";
        var m = dojo.marginBox(this.node);
        m.l -= this.marginBox.l;
        m.t -= this.marginBox.t;
        this.marginBox = m;
        this.host.onFirstMove(this);
        dojo.disconnect(this.events.pop());
    },destroy:function() {
        dojo.forEach(this.events, dojo.disconnect);
        var h = this.host;
        if (h && h.onMoveStop) {
            h.onMoveStop(this);
        }
        this.events = this.node = null;
    }});
}
if (!dojo._hasResource["dojo.dnd.Moveable"]) {
    dojo._hasResource["dojo.dnd.Moveable"] = true;
    dojo.provide("dojo.dnd.Moveable");
    dojo.declare("dojo.dnd.Moveable", null, {handle:"",delay:0,skip:false,constructor:function(_a3, _a4) {
        this.node = dojo.byId(_a3);
        if (!_a4) {
            _a4 = {};
        }
        this.handle = _a4.handle ? dojo.byId(_a4.handle) : null;
        if (!this.handle) {
            this.handle = this.node;
        }
        this.delay = _a4.delay > 0 ? _a4.delay : 0;
        this.skip = _a4.skip;
        this.mover = _a4.mover ? _a4.mover : dojo.dnd.Mover;
        this.events = [dojo.connect(this.handle, "onmousedown", this, "onMouseDown"),dojo.connect(this.handle, "ondragstart", this, "onSelectStart"),dojo.connect(this.handle, "onselectstart", this, "onSelectStart")];
    },markupFactory:function(_a5, _a6) {
        return new dojo.dnd.Moveable(_a6, _a5);
    },destroy:function() {
        dojo.forEach(this.events, dojo.disconnect);
        this.events = this.node = this.handle = null;
    },onMouseDown:function(e) {
        if (this.skip && dojo.dnd.isFormElement(e)) {
            return;
        }
        if (this.delay) {
            this.events.push(dojo.connect(this.handle, "onmousemove", this, "onMouseMove"));
            this.events.push(dojo.connect(this.handle, "onmouseup", this, "onMouseUp"));
            this._lastX = e.pageX;
            this._lastY = e.pageY;
        } else {
            new this.mover(this.node, e, this);
        }
        dojo.stopEvent(e);
    },onMouseMove:function(e) {
        if (Math.abs(e.pageX - this._lastX) > this.delay || Math.abs(e.pageY - this._lastY) > this.delay) {
            this.onMouseUp(e);
            new this.mover(this.node, e, this);
        }
        dojo.stopEvent(e);
    },onMouseUp:function(e) {
        dojo.disconnect(this.events.pop());
        dojo.disconnect(this.events.pop());
    },onSelectStart:function(e) {
        if (!this.skip || !dojo.dnd.isFormElement(e)) {
            dojo.stopEvent(e);
        }
    },onMoveStart:function(_ab) {
        dojo.publish("/dnd/move/start", [_ab]);
        dojo.addClass(dojo.body(), "dojoMove");
        dojo.addClass(this.node, "dojoMoveItem");
    },onMoveStop:function(_ac) {
        dojo.publish("/dnd/move/stop", [_ac]);
        dojo.removeClass(dojo.body(), "dojoMove");
        dojo.removeClass(this.node, "dojoMoveItem");
    },onFirstMove:function(_ad) {
    },onMove:function(_ae, _af) {
        this.onMoving(_ae, _af);
        dojo.marginBox(_ae.node, _af);
        this.onMoved(_ae, _af);
    },onMoving:function(_b0, _b1) {
    },onMoved:function(_b2, _b3) {
    }});
}
if (!dojo._hasResource["dojo.dnd.move"]) {
    dojo._hasResource["dojo.dnd.move"] = true;
    dojo.provide("dojo.dnd.move");
    dojo.declare("dojo.dnd.move.constrainedMoveable", dojo.dnd.Moveable, {constraints:function() {
    },within:false,markupFactory:function(_b4, _b5) {
        return new dojo.dnd.move.constrainedMoveable(_b5, _b4);
    },constructor:function(_b6, _b7) {
        if (!_b7) {
            _b7 = {};
        }
        this.constraints = _b7.constraints;
        this.within = _b7.within;
    },onFirstMove:function(_b8) {
        var c = this.constraintBox = this.constraints.call(this, _b8),m = _b8.marginBox;
        c.r = c.l + c.w - (this.within ? m.w : 0);
        c.b = c.t + c.h - (this.within ? m.h : 0);
    },onMove:function(_bb, _bc) {
        var c = this.constraintBox;
        _bc.l = _bc.l < c.l ? c.l : c.r < _bc.l ? c.r : _bc.l;
        _bc.t = _bc.t < c.t ? c.t : c.b < _bc.t ? c.b : _bc.t;
        dojo.marginBox(_bb.node, _bc);
    }});
    dojo.declare("dojo.dnd.move.boxConstrainedMoveable", dojo.dnd.move.constrainedMoveable, {box:{},markupFactory:function(_be, _bf) {
        return new dojo.dnd.move.boxConstrainedMoveable(_bf, _be);
    },constructor:function(_c0, _c1) {
        var box = _c1 && _c1.box;
        this.constraints = function() {
            return box;
        };
    }});
    dojo.declare("dojo.dnd.move.parentConstrainedMoveable", dojo.dnd.move.constrainedMoveable, {area:"content",markupFactory:function(_c3, _c4) {
        return new dojo.dnd.move.parentConstrainedMoveable(_c4, _c3);
    },constructor:function(_c5, _c6) {
        var _c7 = _c6 && _c6.area;
        this.constraints = function() {
            var n = this.node.parentNode,s = dojo.getComputedStyle(n),mb = dojo._getMarginBox(n, s);
            if (_c7 == "margin") {
                return mb;
            }
            var t = dojo._getMarginExtents(n, s);
            mb.l += t.l,mb.t += t.t,mb.w -= t.w,mb.h -= t.h;
            if (_c7 == "border") {
                return mb;
            }
            t = dojo._getBorderExtents(n, s);
            mb.l += t.l,mb.t += t.t,mb.w -= t.w,mb.h -= t.h;
            if (_c7 == "padding") {
                return mb;
            }
            t = dojo._getPadExtents(n, s);
            mb.l += t.l,mb.t += t.t,mb.w -= t.w,mb.h -= t.h;
            return mb;
        };
    }});
    dojo.dnd.move.constrainedMover = function(fun, _cd) {
        var _ce = function(_cf, e, _d1) {
            dojo.dnd.Mover.call(this, _cf, e, _d1);
        };
        dojo.extend(_ce, dojo.dnd.Mover.prototype);
        dojo.extend(_ce, {onMouseMove:function(e) {
            dojo.dnd.autoScroll(e);
            var m = this.marginBox,c = this.constraintBox,l = m.l + e.pageX,t = m.t + e.pageY;
            l = l < c.l ? c.l : c.r < l ? c.r : l;
            t = t < c.t ? c.t : c.b < t ? c.b : t;
            this.host.onMove(this, {l:l,t:t});
        },onFirstMove:function() {
            dojo.dnd.Mover.prototype.onFirstMove.call(this);
            var c = this.constraintBox = fun.call(this),m = this.marginBox;
            c.r = c.l + c.w - (_cd ? m.w : 0);
            c.b = c.t + c.h - (_cd ? m.h : 0);
        }});
        return _ce;
    };
    dojo.dnd.move.boxConstrainedMover = function(box, _da) {
        return dojo.dnd.move.constrainedMover(function() {
            return box;
        }, _da);
    };
    dojo.dnd.move.parentConstrainedMover = function(_db, _dc) {
        var fun = function() {
            var n = this.node.parentNode,s = dojo.getComputedStyle(n),mb = dojo._getMarginBox(n, s);
            if (_db == "margin") {
                return mb;
            }
            var t = dojo._getMarginExtents(n, s);
            mb.l += t.l,mb.t += t.t,mb.w -= t.w,mb.h -= t.h;
            if (_db == "border") {
                return mb;
            }
            t = dojo._getBorderExtents(n, s);
            mb.l += t.l,mb.t += t.t,mb.w -= t.w,mb.h -= t.h;
            if (_db == "padding") {
                return mb;
            }
            t = dojo._getPadExtents(n, s);
            mb.l += t.l,mb.t += t.t,mb.w -= t.w,mb.h -= t.h;
            return mb;
        };
        return dojo.dnd.move.constrainedMover(fun, _dc);
    };
    dojo.dnd.constrainedMover = dojo.dnd.move.constrainedMover;
    dojo.dnd.boxConstrainedMover = dojo.dnd.move.boxConstrainedMover;
    dojo.dnd.parentConstrainedMover = dojo.dnd.move.parentConstrainedMover;
}
if (!dojo._hasResource["dojo.fx"]) {
    dojo._hasResource["dojo.fx"] = true;
    dojo.provide("dojo.fx");
    dojo.provide("dojo.fx.Toggler");
    dojo.fx.chain = function(_e2) {
        var _e3 = _e2.shift();
        var _e4 = _e3;
        dojo.forEach(_e2, function(_e5) {
            dojo.connect(_e4, "onEnd", _e5, "play");
            _e4 = _e5;
        });
        return _e3;
    };
    dojo.fx.combine = function(_e6) {
        var ctr = new dojo._Animation({curve:[0,1]});
        if (!_e6.length) {
            return ctr;
        }
        ctr.duration = _e6[0].duration;
        dojo.forEach(_e6, function(_e8) {
            dojo.forEach(["play","pause","stop"], function(e) {
                if (_e8[e]) {
                    dojo.connect(ctr, e, _e8, e);
                }
            });
        });
        return ctr;
    };
    dojo.declare("dojo.fx.Toggler", null, {constructor:function(_ea) {
        var _t = this;
        dojo.mixin(_t, _ea);
        _t.node = _ea.node;
        _t._showArgs = dojo.mixin({}, _ea);
        _t._showArgs.node = _t.node;
        _t._showArgs.duration = _t.showDuration;
        _t.showAnim = _t.showFunc(_t._showArgs);
        _t._hideArgs = dojo.mixin({}, _ea);
        _t._hideArgs.node = _t.node;
        _t._hideArgs.duration = _t.hideDuration;
        _t.hideAnim = _t.hideFunc(_t._hideArgs);
        dojo.connect(_t.showAnim, "beforeBegin", dojo.hitch(_t.hideAnim, "stop", true));
        dojo.connect(_t.hideAnim, "beforeBegin", dojo.hitch(_t.showAnim, "stop", true));
    },node:null,showFunc:dojo.fadeIn,hideFunc:dojo.fadeOut,showDuration:200,hideDuration:200,show:function(_ec) {
        return this.showAnim.play(_ec || 0);
    },hide:function(_ed) {
        return this.hideAnim.play(_ed || 0);
    }});
    dojo.fx.wipeIn = function(_ee) {
        _ee.node = dojo.byId(_ee.node);
        var _ef = _ee.node,s = _ef.style;
        var _f1 = dojo.animateProperty(dojo.mixin({properties:{height:{start:function() {
            s.overflow = "hidden";
            if (s.visibility == "hidden" || s.display == "none") {
                s.height = "1px";
                s.display = "";
                s.visibility = "";
                return 1;
            } else {
                var _f2 = dojo.style(_ef, "height");
                return Math.max(_f2, 1);
            }
        },end:function() {
            return _ef.scrollHeight;
        }}}}, _ee));
        dojo.connect(_f1, "onEnd", function() {
            s.height = "auto";
        });
        return _f1;
    };
    dojo.fx.wipeOut = function(_f3) {
        var _f4 = _f3.node = dojo.byId(_f3.node);
        var s = _f4.style;
        var _f6 = dojo.animateProperty(dojo.mixin({properties:{height:{end:1}}}, _f3));
        dojo.connect(_f6, "beforeBegin", function() {
            s.overflow = "hidden";
            s.display = "";
        });
        dojo.connect(_f6, "onEnd", function() {
            s.height = "auto";
            s.display = "none";
        });
        return _f6;
    };
    dojo.fx.slideTo = function(_f7) {
        var _f8 = (_f7.node = dojo.byId(_f7.node));
        var top = null;
        var _fa = null;
        var _fb = (function(n) {
            return function() {
                var cs = dojo.getComputedStyle(n);
                var pos = cs.position;
                top = (pos == "absolute" ? n.offsetTop : parseInt(cs.top) || 0);
                _fa = (pos == "absolute" ? n.offsetLeft : parseInt(cs.left) || 0);
                if (pos != "absolute" && pos != "relative") {
                    var ret = dojo.coords(n, true);
                    top = ret.y;
                    _fa = ret.x;
                    n.style.position = "absolute";
                    n.style.top = top + "px";
                    n.style.left = _fa + "px";
                }
            };
        })(_f8);
        _fb();
        var anim = dojo.animateProperty(dojo.mixin({properties:{top:{end:_f7.top || 0},left:{end:_f7.left || 0}}}, _f7));
        dojo.connect(anim, "beforeBegin", anim, _fb);
        return anim;
    };
}
if (!dojo._hasResource["dijit.layout.ContentPane"]) {
    dojo._hasResource["dijit.layout.ContentPane"] = true;
    dojo.provide("dijit.layout.ContentPane");
    dojo.declare("dijit.layout.ContentPane", dijit._Widget, {href:"",extractContent:false,parseOnLoad:true,preventCache:false,preload:false,refreshOnShow:false,loadingMessage:"<span class='dijitContentPaneLoading'>${loadingState}</span>",errorMessage:"<span class='dijitContentPaneError'>${errorState}</span>",isLoaded:false,"class":"dijitContentPane",postCreate:function() {
        this.domNode.title = "";
        if (this.preload) {
            this._loadCheck();
        }
        var _101 = dojo.i18n.getLocalization("dijit", "loading", this.lang);
        this.loadingMessage = dojo.string.substitute(this.loadingMessage, _101);
        this.errorMessage = dojo.string.substitute(this.errorMessage, _101);
        dojo.addClass(this.domNode, this["class"]);
    },startup:function() {
        if (this._started) {
            return;
        }
        this._checkIfSingleChild();
        if (this._singleChild) {
            this._singleChild.startup();
        }
        this._loadCheck();
        this._started = true;
    },_checkIfSingleChild:function() {
        var _102 = dojo.query(">", this.containerNode || this.domNode),_103 = _102.filter("[widgetId]");
        if (_102.length == 1 && _103.length == 1) {
            this.isContainer = true;
            this._singleChild = dijit.byNode(_103[0]);
        } else {
            delete this.isContainer;
            delete this._singleChild;
        }
    },refresh:function() {
        return this._prepareLoad(true);
    },setHref:function(href) {
        this.href = href;
        return this._prepareLoad();
    },setContent:function(data) {
        if (!this._isDownloaded) {
            this.href = "";
            this._onUnloadHandler();
        }
        this._setContent(data || "");
        this._isDownloaded = false;
        if (this.parseOnLoad) {
            this._createSubWidgets();
        }
        this._checkIfSingleChild();
        if (this._singleChild && this._singleChild.resize) {
            this._singleChild.resize(this._contentBox);
        }
        this._onLoadHandler();
    },cancel:function() {
        if (this._xhrDfd && (this._xhrDfd.fired == -1)) {
            this._xhrDfd.cancel();
        }
        delete this._xhrDfd;
    },destroy:function() {
        if (this._beingDestroyed) {
            return;
        }
        this._onUnloadHandler();
        this._beingDestroyed = true;
        this.inherited("destroy", arguments);
    },resize:function(size) {
        dojo.marginBox(this.domNode, size);
        var node = this.containerNode || this.domNode,mb = dojo.mixin(dojo.marginBox(node), size || {});
        this._contentBox = dijit.layout.marginBox2contentBox(node, mb);
        if (this._singleChild && this._singleChild.resize) {
            this._singleChild.resize(this._contentBox);
        }
    },_prepareLoad:function(_109) {
        this.cancel();
        this.isLoaded = false;
        this._loadCheck(_109);
    },_loadCheck:function(_10a) {
        var _10b = ((this.open !== false) && (this.domNode.style.display != "none"));
        if (this.href && (_10a || (this.preload && !this._xhrDfd) || (this.refreshOnShow && _10b && !this._xhrDfd) || (!this.isLoaded && _10b && !this._xhrDfd))) {
            this._downloadExternalContent();
        }
    },_downloadExternalContent:function() {
        this._onUnloadHandler();
        this._setContent(this.onDownloadStart.call(this));
        var self = this;
        var _10d = {preventCache:(this.preventCache || this.refreshOnShow),url:this.href,handleAs:"text"};
        if (dojo.isObject(this.ioArgs)) {
            dojo.mixin(_10d, this.ioArgs);
        }
        var hand = this._xhrDfd = (this.ioMethod || dojo.xhrGet)(_10d);
        hand.addCallback(function(html) {
            try {
                self.onDownloadEnd.call(self);
                self._isDownloaded = true;
                self.setContent.call(self, html);
            } catch(err) {
                self._onError.call(self, "Content", err);
            }
            delete self._xhrDfd;
            return html;
        });
        hand.addErrback(function(err) {
            if (!hand.cancelled) {
                self._onError.call(self, "Download", err);
            }
            delete self._xhrDfd;
            return err;
        });
    },_onLoadHandler:function() {
        this.isLoaded = true;
        try {
            this.onLoad.call(this);
        } catch(e) {
            console.error("Error " + this.widgetId + " running custom onLoad code");
        }
    },_onUnloadHandler:function() {
        this.isLoaded = false;
        this.cancel();
        try {
            this.onUnload.call(this);
        } catch(e) {
            console.error("Error " + this.widgetId + " running custom onUnload code");
        }
    },_setContent:function(cont) {
        this.destroyDescendants();
        try {
            var node = this.containerNode || this.domNode;
            while (node.firstChild) {
                dojo._destroyElement(node.firstChild);
            }
            if (typeof cont == "string") {
                if (this.extractContent) {
                    match = cont.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);
                    if (match) {
                        cont = match[1];
                    }
                }
                node.innerHTML = cont;
            } else {
                if (cont.nodeType) {
                    node.appendChild(cont);
                } else {
                    dojo.forEach(cont, function(n) {
                        node.appendChild(n.cloneNode(true));
                    });
                }
            }
        } catch(e) {
            var _114 = this.onContentError(e);
            try {
                node.innerHTML = _114;
            } catch(e) {
                console.error("Fatal " + this.id + " could not change content due to " + e.message, e);
            }
        }
    },_onError:function(type, err, _117) {
        var _118 = this["on" + type + "Error"].call(this, err);
        if (_117) {
            console.error(_117, err);
        } else {
            if (_118) {
                this._setContent.call(this, _118);
            }
        }
    },_createSubWidgets:function() {
        var _119 = this.containerNode || this.domNode;
        try {
            dojo.parser.parse(_119, true);
        } catch(e) {
            this._onError("Content", e, "Couldn't create widgets in " + this.id + (this.href ? " from " + this.href : ""));
        }
    },onLoad:function(e) {
    },onUnload:function(e) {
    },onDownloadStart:function() {
        return this.loadingMessage;
    },onContentError:function(_11c) {
    },onDownloadError:function(_11d) {
        return this.errorMessage;
    },onDownloadEnd:function() {
    }});
}
if (!dojo._hasResource["dijit.form.Form"]) {
    dojo._hasResource["dijit.form.Form"] = true;
    dojo.provide("dijit.form.Form");
    dojo.declare("dijit.form._FormMixin", null, {action:"",method:"",enctype:"",name:"","accept-charset":"",accept:"",target:"",attributeMap:dojo.mixin(dojo.clone(dijit._Widget.prototype.attributeMap), {action:"",method:"",enctype:"","accept-charset":"",accept:"",target:""}),execute:function(_11e) {
    },onCancel:function() {
    },onExecute:function() {
    },templateString:"<form dojoAttachPoint='containerNode' dojoAttachEvent='onsubmit:_onSubmit' name='${name}' enctype='multipart/form-data'></form>",_onSubmit:function(e) {
        dojo.stopEvent(e);
        this.onExecute();
        this.execute(this.getValues());
    },submit:function() {
        this.containerNode.submit();
    },setValues:function(obj) {
        var map = {};
        dojo.forEach(this.getDescendants(), function(_122) {
            if (!_122.name) {
                return;
            }
            var _123 = map[_122.name] || (map[_122.name] = []);
            _123.push(_122);
        });
        for (var name in map) {
            var _125 = map[name],_126 = dojo.getObject(name, false, obj);
            if (!dojo.isArray(_126)) {
                _126 = [_126];
            }
            if (_125[0].setChecked) {
                dojo.forEach(_125, function(w, i) {
                    w.setChecked(dojo.indexOf(_126, w.value) != -1);
                });
            } else {
                dojo.forEach(_125, function(w, i) {
                    w.setValue(_126[i]);
                });
            }
        }
    },getValues:function() {
        var obj = {};
        dojo.forEach(this.getDescendants(), function(_12c) {
            var _12d = _12c.getValue ? _12c.getValue() : _12c.value;
            var name = _12c.name;
            if (!name) {
                return;
            }
            if (_12c.setChecked) {
                if (/Radio/.test(_12c.declaredClass)) {
                    if (_12c.checked) {
                        dojo.setObject(name, _12d, obj);
                    }
                } else {
                    var ary = dojo.getObject(name, false, obj);
                    if (!ary) {
                        ary = [];
                        dojo.setObject(name, ary, obj);
                    }
                    if (_12c.checked) {
                        ary.push(_12d);
                    }
                }
            } else {
                dojo.setObject(name, _12d, obj);
            }
        });
        return obj;
    },isValid:function() {
        return dojo.every(this.getDescendants(), function(_130) {
            return !_130.isValid || _130.isValid();
        });
    }});
    dojo.declare("dijit.form.Form", [dijit._Widget,dijit._Templated,dijit.form._FormMixin], null);
}
if (!dojo._hasResource["dijit.Dialog"]) {
    dojo._hasResource["dijit.Dialog"] = true;
    dojo.provide("dijit.Dialog");
    dojo.declare("dijit.DialogUnderlay", [dijit._Widget,dijit._Templated], {templateString:"<div class=dijitDialogUnderlayWrapper id='${id}_underlay'><div class=dijitDialogUnderlay dojoAttachPoint='node'></div></div>",postCreate:function() {
        dojo.body().appendChild(this.domNode);
        this.bgIframe = new dijit.BackgroundIframe(this.domNode);
    },layout:function() {
        var _131 = dijit.getViewport();
        var is = this.node.style,os = this.domNode.style;
        os.top = _131.t + "px";
        os.left = _131.l + "px";
        is.width = _131.w + "px";
        is.height = _131.h + "px";
        var _134 = dijit.getViewport();
        if (_131.w != _134.w) {
            is.width = _134.w + "px";
        }
        if (_131.h != _134.h) {
            is.height = _134.h + "px";
        }
    },show:function() {
        this.domNode.style.display = "block";
        this.layout();
        if (this.bgIframe.iframe) {
            this.bgIframe.iframe.style.display = "block";
        }
        this._resizeHandler = this.connect(window, "onresize", "layout");
    },hide:function() {
        this.domNode.style.display = "none";
        if (this.bgIframe.iframe) {
            this.bgIframe.iframe.style.display = "none";
        }
        this.disconnect(this._resizeHandler);
    },uninitialize:function() {
        if (this.bgIframe) {
            this.bgIframe.destroy();
        }
    }});
    dojo.declare("dijit.Dialog", [dijit.layout.ContentPane,dijit._Templated,dijit.form._FormMixin], {templateString:null,templateString:"<div class=\"dijitDialog\">\n\t<div dojoAttachPoint=\"titleBar\" class=\"dijitDialogTitleBar\" tabindex=\"0\" waiRole=\"dialog\">\n\t<span dojoAttachPoint=\"titleNode\" class=\"dijitDialogTitle\">${title}</span>\n\t<span dojoAttachPoint=\"closeButtonNode\" class=\"dijitDialogCloseIcon\" dojoAttachEvent=\"onclick: hide\">\n\t\t<span dojoAttachPoint=\"closeText\" class=\"closeText\">x</span>\n\t</span>\n\t</div>\n\t\t<div dojoAttachPoint=\"containerNode\" class=\"dijitDialogPaneContent\"></div>\n\t<span dojoAttachPoint=\"tabEnd\" dojoAttachEvent=\"onfocus:_cycleFocus\" tabindex=\"0\"></span>\n</div>\n",open:false,duration:400,_lastFocusItem:null,attributeMap:dojo.mixin(dojo.clone(dijit._Widget.prototype.attributeMap), {title:"titleBar"}),postCreate:function() {
        dojo.body().appendChild(this.domNode);
        this.inherited("postCreate", arguments);
        this.domNode.style.display = "none";
        this.connect(this, "onExecute", "hide");
        this.connect(this, "onCancel", "hide");
    },onLoad:function() {
        this._position();
        this.inherited("onLoad", arguments);
    },_setup:function() {
        this._modalconnects = [];
        if (this.titleBar) {
            this._moveable = new dojo.dnd.Moveable(this.domNode, {handle:this.titleBar});
        }
        this._underlay = new dijit.DialogUnderlay();
        var node = this.domNode;
        this._fadeIn = dojo.fx.combine([dojo.fadeIn({node:node,duration:this.duration}),dojo.fadeIn({node:this._underlay.domNode,duration:this.duration,onBegin:dojo.hitch(this._underlay, "show")})]);
        this._fadeOut = dojo.fx.combine([dojo.fadeOut({node:node,duration:this.duration,onEnd:function() {
            node.style.display = "none";
        }}),dojo.fadeOut({node:this._underlay.domNode,duration:this.duration,onEnd:dojo.hitch(this._underlay, "hide")})]);
    },uninitialize:function() {
        if (this._underlay) {
            this._underlay.destroy();
        }
    },_position:function() {
        if (dojo.hasClass(dojo.body(), "dojoMove")) {
            return;
        }
        var _136 = dijit.getViewport();
        var mb = dojo.marginBox(this.domNode);
        var _138 = this.domNode.style;
        _138.left = Math.floor((_136.l + (_136.w - mb.w) / 2)) + "px";
        _138.top = Math.floor((_136.t + (_136.h - mb.h) / 2)) + "px";
    },_findLastFocus:function(evt) {
        this._lastFocused = evt.target;
    },_cycleFocus:function(evt) {
        if (!this._lastFocusItem) {
            this._lastFocusItem = this._lastFocused;
        }
        this.titleBar.focus();
    },_onKey:function(evt) {
        if (evt.keyCode) {
            var node = evt.target;
            if (node == this.titleBar && evt.shiftKey && evt.keyCode == dojo.keys.TAB) {
                if (this._lastFocusItem) {
                    this._lastFocusItem.focus();
                }
                dojo.stopEvent(evt);
            } else {
                while (node) {
                    if (node == this.domNode) {
                        if (evt.keyCode == dojo.keys.ESCAPE) {
                            this.hide();
                        } else {
                            return;
                        }
                    }
                    node = node.parentNode;
                }
                if (evt.keyCode != dojo.keys.TAB) {
                    dojo.stopEvent(evt);
                } else {
                    if (!dojo.isOpera) {
                        try {
                            this.titleBar.focus();
                        } catch(e) {
                        }
                    }
                }
            }
        }
    },show:function() {
        if (!this._alreadyInitialized) {
            this._setup();
            this._alreadyInitialized = true;
        }
        if (this._fadeOut.status() == "playing") {
            this._fadeOut.stop();
        }
        this._modalconnects.push(dojo.connect(window, "onscroll", this, "layout"));
        this._modalconnects.push(dojo.connect(document.documentElement, "onkeypress", this, "_onKey"));
        var ev = typeof (document.ondeactivate) == "object" ? "ondeactivate" : "onblur";
        this._modalconnects.push(dojo.connect(this.containerNode, ev, this, "_findLastFocus"));
        dojo.style(this.domNode, "opacity", 0);
        this.domNode.style.display = "block";
        this.open = true;
        this._loadCheck();
        this._position();
        this._fadeIn.play();
        this._savedFocus = dijit.getFocus(this);
        setTimeout(dojo.hitch(this, function() {
            dijit.focus(this.titleBar);
        }), 50);
    },hide:function() {
        if (!this._alreadyInitialized) {
            return;
        }
        if (this._fadeIn.status() == "playing") {
            this._fadeIn.stop();
        }
        this._fadeOut.play();
        if (this._scrollConnected) {
            this._scrollConnected = false;
        }
        dojo.forEach(this._modalconnects, dojo.disconnect);
        this._modalconnects = [];
        this.connect(this._fadeOut, "onEnd", dojo.hitch(this, function() {
            dijit.focus(this._savedFocus);
        }));
        this.open = false;
    },layout:function() {
        if (this.domNode.style.display == "block") {
            this._underlay.layout();
            this._position();
        }
    }});
    dojo.declare("dijit.TooltipDialog", [dijit.layout.ContentPane,dijit._Templated,dijit.form._FormMixin], {title:"",_lastFocusItem:null,templateString:null,templateString:"<div class=\"dijitTooltipDialog\" >\n\t<div class=\"dijitTooltipContainer\">\n\t\t<div class =\"dijitTooltipContents dijitTooltipFocusNode\" dojoAttachPoint=\"containerNode\" tabindex=\"0\" waiRole=\"dialog\"></div>\n\t</div>\n\t<span dojoAttachPoint=\"tabEnd\" tabindex=\"0\" dojoAttachEvent=\"focus:_cycleFocus\"></span>\n\t<div class=\"dijitTooltipConnector\" ></div>\n</div>\n",postCreate:function() {
        this.inherited("postCreate", arguments);
        this.connect(this.containerNode, "onkeypress", "_onKey");
        var ev = typeof (document.ondeactivate) == "object" ? "ondeactivate" : "onblur";
        this.connect(this.containerNode, ev, "_findLastFocus");
        this.containerNode.title = this.title;
    },orient:function(_13f) {
        this.domNode.className = "dijitTooltipDialog " + " dijitTooltipAB" + (_13f.charAt(1) == "L" ? "Left" : "Right") + " dijitTooltip" + (_13f.charAt(0) == "T" ? "Below" : "Above");
    },onOpen:function(pos) {
        this.orient(pos.corner);
        this._loadCheck();
        this.containerNode.focus();
    },_onKey:function(evt) {
        if (evt.keyCode == dojo.keys.ESCAPE) {
            this.onCancel();
        } else {
            if (evt.target == this.containerNode && evt.shiftKey && evt.keyCode == dojo.keys.TAB) {
                if (this._lastFocusItem) {
                    this._lastFocusItem.focus();
                }
                dojo.stopEvent(evt);
            } else {
                if (evt.keyCode == dojo.keys.TAB) {
                    evt.stopPropagation();
                }
            }
        }
    },_findLastFocus:function(evt) {
        this._lastFocused = evt.target;
    },_cycleFocus:function(evt) {
        if (!this._lastFocusItem) {
            this._lastFocusItem = this._lastFocused;
        }
        this.containerNode.focus();
    }});
}
if (!dojo._hasResource["dijit._editor.selection"]) {
    dojo._hasResource["dijit._editor.selection"] = true;
    dojo.provide("dijit._editor.selection");
    dojo.mixin(dijit._editor.selection, {getType:function() {
        if (dojo.doc["selection"]) {
            return dojo.doc.selection.type.toLowerCase();
        } else {
            var _144 = "text";
            var oSel;
            try {
                oSel = dojo.global.getSelection();
            } catch(e) {
            }
            if (oSel && oSel.rangeCount == 1) {
                var _146 = oSel.getRangeAt(0);
                if ((_146.startContainer == _146.endContainer) && ((_146.endOffset - _146.startOffset) == 1) && (_146.startContainer.nodeType != 3)) {
                    _144 = "control";
                }
            }
            return _144;
        }
    },getSelectedText:function() {
        if (dojo.doc["selection"]) {
            if (dijit._editor.selection.getType() == "control") {
                return null;
            }
            return dojo.doc.selection.createRange().text;
        } else {
            var _147 = dojo.global.getSelection();
            if (_147) {
                return _147.toString();
            }
        }
    },getSelectedHtml:function() {
        if (dojo.doc["selection"]) {
            if (dijit._editor.selection.getType() == "control") {
                return null;
            }
            return dojo.doc.selection.createRange().htmlText;
        } else {
            var _148 = dojo.global.getSelection();
            if (_148 && _148.rangeCount) {
                var frag = _148.getRangeAt(0).cloneContents();
                var div = document.createElement("div");
                div.appendChild(frag);
                return div.innerHTML;
            }
            return null;
        }
    },getSelectedElement:function() {
        if (this.getType() == "control") {
            if (dojo.doc["selection"]) {
                var _14b = dojo.doc.selection.createRange();
                if (_14b && _14b.item) {
                    return dojo.doc.selection.createRange().item(0);
                }
            } else {
                var _14c = dojo.global.getSelection();
                return _14c.anchorNode.childNodes[_14c.anchorOffset];
            }
        }
    },getParentElement:function() {
        if (this.getType() == "control") {
            var p = this.getSelectedElement();
            if (p) {
                return p.parentNode;
            }
        } else {
            if (dojo.doc["selection"]) {
                return dojo.doc.selection.createRange().parentElement();
            } else {
                var _14e = dojo.global.getSelection();
                if (_14e) {
                    var node = _14e.anchorNode;
                    while (node && (node.nodeType != 1)) {
                        node = node.parentNode;
                    }
                    return node;
                }
            }
        }
    },hasAncestorElement:function(_150) {
        return (this.getAncestorElement.apply(this, arguments) != null);
    },getAncestorElement:function(_151) {
        var node = this.getSelectedElement() || this.getParentElement();
        return this.getParentOfType(node, arguments);
    },isTag:function(node, tags) {
        if (node && node.tagName) {
            var _nlc = node.tagName.toLowerCase();
            for (var i = 0; i < tags.length; i++) {
                var _tlc = String(tags[i]).toLowerCase();
                if (_nlc == _tlc) {
                    return _tlc;
                }
            }
        }
        return "";
    },getParentOfType:function(node, tags) {
        while (node) {
            if (this.isTag(node, tags).length) {
                return node;
            }
            node = node.parentNode;
        }
        return null;
    },remove:function() {
        var _s = dojo.doc.selection;
        if (_s) {
            if (_s.type.toLowerCase() != "none") {
                _s.clear();
            }
            return _s;
        } else {
            _s = dojo.global.getSelection();
            _s.deleteFromDocument();
            return _s;
        }
    },selectElementChildren:function(_15b, _15c) {
        var _15d = dojo.global;
        var _15e = dojo.doc;
        _15b = dojo.byId(_15b);
        if (_15e.selection && dojo.body().createTextRange) {
            var _15f = _15b.ownerDocument.body.createTextRange();
            _15f.moveToElementText(_15b);
            if (!_15c) {
                _15f.select();
            }
        } else {
            if (_15d["getSelection"]) {
                var _160 = _15d.getSelection();
                if (_160["setBaseAndExtent"]) {
                    _160.setBaseAndExtent(_15b, 0, _15b, _15b.innerText.length - 1);
                } else {
                    if (_160["selectAllChildren"]) {
                        _160.selectAllChildren(_15b);
                    }
                }
            }
        }
    },selectElement:function(_161, _162) {
        var _163 = dojo.doc;
        _161 = dojo.byId(_161);
        if (_163.selection && dojo.body().createTextRange) {
            try {
                var _164 = dojo.body().createControlRange();
                _164.addElement(_161);
                if (!_162) {
                    _164.select();
                }
            } catch(e) {
                this.selectElementChildren(_161, _162);
            }
        } else {
            if (dojo.global["getSelection"]) {
                var _165 = dojo.global.getSelection();
                if (_165["removeAllRanges"]) {
                    var _164 = _163.createRange();
                    _164.selectNode(_161);
                    _165.removeAllRanges();
                    _165.addRange(_164);
                }
            }
        }
    }});
}
if (!dojo._hasResource["dijit._editor.RichText"]) {
    dojo._hasResource["dijit._editor.RichText"] = true;
    dojo.provide("dijit._editor.RichText");
    if (!djConfig["useXDomain"] || djConfig["allowXdRichTextSave"]) {
        if (dojo._postLoad) {
            (function() {
                var _166 = dojo.doc.createElement("textarea");
                _166.id = "dijit._editor.RichText.savedContent";
                var s = _166.style;
                s.display = "none";
                s.position = "absolute";
                s.top = "-100px";
                s.left = "-100px";
                s.height = "3px";
                s.width = "3px";
                dojo.body().appendChild(_166);
            })();
        } else {
            try {
                dojo.doc.write("<textarea id=\"dijit._editor.RichText.savedContent\" " + "style=\"display:none;position:absolute;top:-100px;left:-100px;height:3px;width:3px;overflow:hidden;\"></textarea>");
            } catch(e) {
            }
        }
    }
    dojo.declare("dijit._editor.RichText", [dijit._Widget], {constructor:function() {
        this.contentPreFilters = [];
        this.contentPostFilters = [];
        this.contentDomPreFilters = [];
        this.contentDomPostFilters = [];
        this.editingAreaStyleSheets = [];
        this._keyHandlers = {};
        this.contentPreFilters.push(dojo.hitch(this, "_preFixUrlAttributes"));
        if (dojo.isMoz) {
            this.contentPreFilters.push(this._fixContentForMoz);
        }
        this.onLoadDeferred = new dojo.Deferred();
    },inheritWidth:false,focusOnLoad:false,name:"",styleSheets:"",_content:"",height:"300px",minHeight:"1em",isClosed:true,isLoaded:false,_SEPARATOR:"@@**%%__RICHTEXTBOUNDRY__%%**@@",onLoadDeferred:null,postCreate:function() {
        dojo.publish("dijit._editor.RichText::init", [this]);
        this.open();
        this.setupDefaultShortcuts();
    },setupDefaultShortcuts:function() {
        var ctrl = this.KEY_CTRL;
        var exec = function(cmd, arg) {
            return arguments.length == 1 ? function() {
                this.execCommand(cmd);
            } : function() {
                this.execCommand(cmd, arg);
            };
        };
        this.addKeyHandler("b", ctrl, exec("bold"));
        this.addKeyHandler("i", ctrl, exec("italic"));
        this.addKeyHandler("u", ctrl, exec("underline"));
        this.addKeyHandler("a", ctrl, exec("selectall"));
        this.addKeyHandler("s", ctrl, function() {
            this.save(true);
        });
        this.addKeyHandler("1", ctrl, exec("formatblock", "h1"));
        this.addKeyHandler("2", ctrl, exec("formatblock", "h2"));
        this.addKeyHandler("3", ctrl, exec("formatblock", "h3"));
        this.addKeyHandler("4", ctrl, exec("formatblock", "h4"));
        this.addKeyHandler("\\", ctrl, exec("insertunorderedlist"));
        if (!dojo.isIE) {
            this.addKeyHandler("Z", ctrl, exec("redo"));
        }
    },events:["onKeyPress","onKeyDown","onKeyUp","onClick"],captureEvents:[],_editorCommandsLocalized:false,_localizeEditorCommands:function() {
        if (this._editorCommandsLocalized) {
            return;
        }
        this._editorCommandsLocalized = true;
        var _16c = ["p","pre","address","h1","h2","h3","h4","h5","h6","ol","div","ul"];
        var _16d = "",_16e,i = 0;
        while ((_16e = _16c[i++])) {
            if (_16e.charAt(1) != "l") {
                _16d += "<" + _16e + "><span>content</span></" + _16e + ">";
            } else {
                _16d += "<" + _16e + "><li>content</li></" + _16e + ">";
            }
        }
        var div = document.createElement("div");
        div.style.position = "absolute";
        div.style.left = "-2000px";
        div.style.top = "-2000px";
        document.body.appendChild(div);
        div.innerHTML = _16d;
        var node = div.firstChild;
        while (node) {
            dijit._editor.selection.selectElement(node.firstChild);
            dojo.withGlobal(this.window, "selectElement", dijit._editor.selection, [node.firstChild]);
            var _172 = node.tagName.toLowerCase();
            this._local2NativeFormatNames[_172] = document.queryCommandValue("formatblock");
            this._native2LocalFormatNames[this._local2NativeFormatNames[_172]] = _172;
            node = node.nextSibling;
        }
        document.body.removeChild(div);
    },open:function(_173) {
        if ((!this.onLoadDeferred) || (this.onLoadDeferred.fired >= 0)) {
            this.onLoadDeferred = new dojo.Deferred();
        }
        if (!this.isClosed) {
            this.close();
        }
        dojo.publish("dijit._editor.RichText::open", [this]);
        this._content = "";
        if ((arguments.length == 1) && (_173["nodeName"])) {
            this.domNode = _173;
        }
        if ((this.domNode["nodeName"]) && (this.domNode.nodeName.toLowerCase() == "textarea")) {
            this.textarea = this.domNode;
            this.name = this.textarea.name;
            var html = this._preFilterContent(this.textarea.value);
            this.domNode = dojo.doc.createElement("div");
            this.domNode.setAttribute("widgetId", this.id);
            this.textarea.removeAttribute("widgetId");
            this.domNode.cssText = this.textarea.cssText;
            this.domNode.className += " " + this.textarea.className;
            dojo.place(this.domNode, this.textarea, "before");
            var _175 = dojo.hitch(this, function() {
                with (this.textarea.style) {
                    display = "block";
                    position = "absolute";
                    left = top = "-1000px";
                    if (dojo.isIE) {
                        this.__overflow = overflow;
                        overflow = "hidden";
                    }
                }
            });
            if (dojo.isIE) {
                setTimeout(_175, 10);
            } else {
                _175();
            }
        } else {
            var html = this._preFilterContent(this.getNodeChildrenHtml(this.domNode));
            this.domNode.innerHTML = "";
        }
        if (html == "") {
            html = "&nbsp;";
        }
        var _176 = dojo.contentBox(this.domNode);
        this._oldHeight = _176.h;
        this._oldWidth = _176.w;
        this.savedContent = html;
        if ((this.domNode["nodeName"]) && (this.domNode.nodeName == "LI")) {
            this.domNode.innerHTML = " <br>";
        }
        this.editingArea = dojo.doc.createElement("div");
        this.domNode.appendChild(this.editingArea);
        if (this.name != "" && (!djConfig["useXDomain"] || djConfig["allowXdRichTextSave"])) {
            var _177 = dojo.byId("dijit._editor.RichText.savedContent");
            if (_177.value != "") {
                var _178 = _177.value.split(this._SEPARATOR),i = 0,dat;
                while ((dat = _178[i++])) {
                    var data = dat.split(":");
                    if (data[0] == this.name) {
                        html = data[1];
                        _178.splice(i, 1);
                        break;
                    }
                }
            }
            dojo.connect(window, "onbeforeunload", this, "_saveContent");
        }
        this.isClosed = false;
        if (dojo.isIE || dojo.isSafari || dojo.isOpera) {
            var ifr = this.iframe = dojo.doc.createElement("iframe");
            ifr.src = "javascript:void(0)";
            this.editorObject = ifr;
            ifr.style.border = "none";
            ifr.style.width = "100%";
            ifr.frameBorder = 0;
            this.editingArea.appendChild(ifr);
            this.window = ifr.contentWindow;
            this.document = this.window.document;
            this.document.open();
            this.document.write(this._getIframeDocTxt(html));
            this.document.close();
            if (dojo.isIE >= 7) {
                if (this.height) {
                    ifr.style.height = this.height;
                }
                if (this.minHeight) {
                    ifr.style.minHeight = this.minHeight;
                }
            } else {
                ifr.style.height = this.height ? this.height : this.minHeight;
            }
            if (dojo.isIE) {
                this._localizeEditorCommands();
            }
            this.onLoad();
        } else {
            this._drawIframe(html);
        }
        if (this.domNode.nodeName == "LI") {
            this.domNode.lastChild.style.marginTop = "-1.2em";
        }
        this.domNode.className += " RichTextEditable";
    },_local2NativeFormatNames:{},_native2LocalFormatNames:{},_localizedIframeTitles:null,_getIframeDocTxt:function(html) {
        var _cs = dojo.getComputedStyle(this.domNode);
        if (!this.height && !dojo.isMoz) {
            html = "<div>" + html + "</div>";
        }
        var font = [_cs.fontWeight,_cs.fontSize,_cs.fontFamily].join(" ");
        var _180 = _cs.lineHeight;
        if (_180.indexOf("px") >= 0) {
            _180 = parseFloat(_180) / parseFloat(_cs.fontSize);
        } else {
            if (_180.indexOf("em") >= 0) {
                _180 = parseFloat(_180);
            } else {
                _180 = "1.0";
            }
        }
        return [this.isLeftToRight() ? "<html><head>" : "<html dir='rtl'><head>",(dojo.isMoz ? "<title>" + this._localizedIframeTitles.iframeEditTitle + "</title>" : ""),"<style>","body,html {","\tbackground:transparent;","\tpadding: 0;","\tmargin: 0;","}","body{","\ttop:0px; left:0px; right:0px;",((this.height || dojo.isOpera) ? "" : "position: fixed;"),"\tfont:",font,";","\tmin-height:",this.minHeight,";","\tline-height:",_180,"}","p{ margin: 1em 0 !important; }",(this.height ? "" : "body,html{overflow-y:hidden;/*for IE*/} body > div {overflow-x:auto;/*for FF to show vertical scrollbar*/}"),"li > ul:-moz-first-node, li > ol:-moz-first-node{ padding-top: 1.2em; } ","li{ min-height:1.2em; }","</style>",this._applyEditingAreaStyleSheets(),"</head><body>" + html + "</body></html>"].join("");
    },_drawIframe:function(html) {
        if (!this.iframe) {
            var ifr = this.iframe = dojo.doc.createElement("iframe");
            var ifrs = ifr.style;
            ifrs.border = "none";
            ifrs.lineHeight = "0";
            ifrs.verticalAlign = "bottom";
            this.editorObject = this.iframe;
            this._localizedIframeTitles = dojo.i18n.getLocalization("dijit", "Textarea");
            var _184 = dojo.query("label[for=\"" + this.id + "\"]");
            if (_184.length) {
                this._localizedIframeTitles.iframeEditTitle = _184[0].innerHTML + " " + this._localizedIframeTitles.iframeEditTitle;
            }
        }
        this.iframe.style.width = this.inheritWidth ? this._oldWidth : "100%";
        if (this.height) {
            this.iframe.style.height = this.height;
        } else {
            this.iframe.height = this._oldHeight;
        }
        if (this.textarea) {
            var _185 = this.srcNodeRef;
        } else {
            var _185 = dojo.doc.createElement("div");
            _185.style.display = "none";
            _185.innerHTML = html;
            this.editingArea.appendChild(_185);
        }
        this.editingArea.appendChild(this.iframe);
        var _186 = false;
        var _187 = this.iframe.contentDocument;
        _187.open();
        _187.write(this._getIframeDocTxt(html));
        _187.close();
        var _188 = dojo.hitch(this, function() {
            if (!_186) {
                _186 = true;
            } else {
                return;
            }
            if (!this.editNode) {
                try {
                    if (this.iframe.contentWindow) {
                        this.window = this.iframe.contentWindow;
                        this.document = this.iframe.contentWindow.document;
                    } else {
                        if (this.iframe.contentDocument) {
                            this.window = this.iframe.contentDocument.window;
                            this.document = this.iframe.contentDocument;
                        }
                    }
                    if (!this.document.body) {
                        throw "Error";
                    }
                } catch(e) {
                    setTimeout(_188, 500);
                    _186 = false;
                    return;
                }
                dojo._destroyElement(_185);
                this.document.designMode = "on";
                this.onLoad();
            } else {
                dojo._destroyElement(_185);
                this.editNode.innerHTML = html;
                this.onDisplayChanged();
            }
            this._preDomFilterContent(this.editNode);
        });
        _188();
    },_applyEditingAreaStyleSheets:function() {
        var _189 = [];
        if (this.styleSheets) {
            _189 = this.styleSheets.split(";");
            this.styleSheets = "";
        }
        _189 = _189.concat(this.editingAreaStyleSheets);
        this.editingAreaStyleSheets = [];
        var text = "",i = 0,url;
        while ((url = _189[i++])) {
            var _18d = (new dojo._Url(dojo.global.location, url)).toString();
            this.editingAreaStyleSheets.push(_18d);
            text += "<link rel=\"stylesheet\" type=\"text/css\" href=\"" + _18d + "\"/>";
        }
        return text;
    },addStyleSheet:function(uri) {
        var url = uri.toString();
        if (url.charAt(0) == "." || (url.charAt(0) != "/" && !uri.host)) {
            url = (new dojo._Url(dojo.global.location, url)).toString();
        }
        if (dojo.indexOf(this.editingAreaStyleSheets, url) > -1) {
            console.debug("dijit._editor.RichText.addStyleSheet: Style sheet " + url + " is already applied to the editing area!");
            return;
        }
        this.editingAreaStyleSheets.push(url);
        if (this.document.createStyleSheet) {
            this.document.createStyleSheet(url);
        } else {
            var head = this.document.getElementsByTagName("head")[0];
            var _191 = this.document.createElement("link");
            with (_191) {
                rel = "stylesheet";
                type = "text/css";
                href = url;
            }
            head.appendChild(_191);
        }
    },removeStyleSheet:function(uri) {
        var url = uri.toString();
        if (url.charAt(0) == "." || (url.charAt(0) != "/" && !uri.host)) {
            url = (new dojo._Url(dojo.global.location, url)).toString();
        }
        var _194 = dojo.indexOf(this.editingAreaStyleSheets, url);
        if (_194 == -1) {
            console.debug("dijit._editor.RichText.removeStyleSheet: Style sheet " + url + " is not applied to the editing area so it can not be removed!");
            return;
        }
        delete this.editingAreaStyleSheets[_194];
        dojo.withGlobal(this.window, "query", dojo, ["link:[href=\"" + url + "\"]"]).orphan();
    },disabled:false,_mozSettingProps:["styleWithCSS","insertBrOnReturn"],setDisabled:function(_195) {
        if (dojo.isIE || dojo.isSafari || dojo.isOpera) {
            this.editNode.contentEditable = !_195;
        } else {
            if (_195) {
                this._mozSettings = [false,this.blockNodeForEnter === "BR"];
            }
            this.document.designMode = (_195 ? "off" : "on");
            if (!_195) {
                dojo.forEach(this._mozSettingProps, function(s, i) {
                    this.document.execCommand(s, false, this._mozSettings[i]);
                }, this);
            }
        }
        this.disabled = _195;
    },_isResized:function() {
        return false;
    },onLoad:function(e) {
        this.isLoaded = true;
        if (this.height || dojo.isMoz) {
            this.editNode = this.document.body;
        } else {
            this.editNode = this.document.body.firstChild;
        }
        this.editNode.contentEditable = true;
        this._preDomFilterContent(this.editNode);
        var _199 = this.events.concat(this.captureEvents),i = 0,et;
        while ((et = _199[i++])) {
            this.connect(this.document, et.toLowerCase(), et);
        }
        if (!dojo.isIE) {
            try {
                this.document.execCommand("styleWithCSS", false, false);
            } catch(e2) {
            }
        } else {
            this.editNode.style.zoom = 1;
        }
        if (this.focusOnLoad) {
            this.focus();
        }
        this.onDisplayChanged(e);
        if (this.onLoadDeferred) {
            this.onLoadDeferred.callback(true);
        }
    },onKeyDown:function(e) {
        if (dojo.isIE) {
            if (e.keyCode === dojo.keys.BACKSPACE && this.document.selection.type === "Control") {
                dojo.stopEvent(e);
                this.execCommand("delete");
            } else {
                if ((65 <= e.keyCode && e.keyCode <= 90) || (e.keyCode >= 37 && e.keyCode <= 40)) {
                    e.charCode = e.keyCode;
                    this.onKeyPress(e);
                }
            }
        } else {
            if (dojo.isMoz) {
                if (e.keyCode == dojo.keys.TAB && !e.shiftKey && !e.ctrlKey && !e.altKey && this.iframe) {
                    this.iframe.contentDocument.title = this._localizedIframeTitles.iframeFocusTitle;
                    this.iframe.focus();
                    dojo.stopEvent(e);
                } else {
                    if (e.keyCode == dojo.keys.TAB && e.shiftKey) {
                        if (this.toolbar) {
                            this.toolbar.focus();
                        }
                        dojo.stopEvent(e);
                    }
                }
            }
        }
    },onKeyUp:function(e) {
        return;
    },KEY_CTRL:1,KEY_SHIFT:2,onKeyPress:function(e) {
        var _19f = e.ctrlKey ? this.KEY_CTRL : 0 | e.shiftKey ? this.KEY_SHIFT : 0;
        var key = e.keyChar || e.keyCode;
        if (this._keyHandlers[key]) {
            var _1a1 = this._keyHandlers[key],i = 0,h;
            while ((h = _1a1[i++])) {
                if (_19f == h.modifiers) {
                    if (!h.handler.apply(this, arguments)) {
                        e.preventDefault();
                    }
                    break;
                }
            }
        }
        setTimeout(dojo.hitch(this, function() {
            this.onKeyPressed(e);
        }), 1);
    },addKeyHandler:function(key, _1a5, _1a6) {
        if (!dojo.isArray(this._keyHandlers[key])) {
            this._keyHandlers[key] = [];
        }
        this._keyHandlers[key].push({modifiers:_1a5 || 0,handler:_1a6});
    },onKeyPressed:function(e) {
        this.onDisplayChanged();
    },onClick:function(e) {
        this.onDisplayChanged(e);
    },_onBlur:function(e) {
        var _c = this.getValue(true);
        if (_c != this.savedContent) {
            this.onChange(_c);
            this.savedContent = _c;
        }
        if (dojo.isMoz && this.iframe) {
            this.iframe.contentDocument.title = this._localizedIframeTitles.iframeEditTitle;
        }
    },_initialFocus:true,_onFocus:function(e) {
        if ((dojo.isMoz) && (this._initialFocus)) {
            this._initialFocus = false;
            if (this.editNode.innerHTML.replace(/^\s+|\s+$/g, "") == "&nbsp;") {
                this.placeCursorAtStart();
            }
        }
    },blur:function() {
        if (this.iframe) {
            this.window.blur();
        } else {
            if (this.editNode) {
                this.editNode.blur();
            }
        }
    },focus:function() {
        if (this.iframe && !dojo.isIE) {
            dijit.focus(this.iframe);
        } else {
            if (this.editNode && this.editNode.focus) {
                dijit.focus(this.editNode);
            } else {
                console.debug("Have no idea how to focus into the editor!");
            }
        }
    },updateInterval:200,_updateTimer:null,onDisplayChanged:function(e) {
        if (!this._updateTimer) {
            if (this._updateTimer) {
                clearTimeout(this._updateTimer);
            }
            this._updateTimer = setTimeout(dojo.hitch(this, this.onNormalizedDisplayChanged), this.updateInterval);
        }
    },onNormalizedDisplayChanged:function() {
        this._updateTimer = null;
    },onChange:function(_1ad) {
    },_normalizeCommand:function(cmd) {
        var _1af = cmd.toLowerCase();
        if (_1af == "formatblock") {
            if (dojo.isSafari) {
                _1af = "heading";
            }
        } else {
            if (_1af == "hilitecolor" && !dojo.isMoz) {
                _1af = "backcolor";
            }
        }
        return _1af;
    },queryCommandAvailable:function(_1b0) {
        var ie = 1;
        var _1b2 = 1 << 1;
        var _1b3 = 1 << 2;
        var _1b4 = 1 << 3;
        var _1b5 = 1 << 4;
        var _1b6 = dojo.isSafari;
        function isSupportedBy(_1b7) {
            return {ie:Boolean(_1b7 & ie),mozilla:Boolean(_1b7 & _1b2),safari:Boolean(_1b7 & _1b3),safari420:Boolean(_1b7 & _1b5),opera:Boolean(_1b7 & _1b4)};
        }
        ;
        var _1b8 = null;
        switch (_1b0.toLowerCase()) {case "bold":case "italic":case "underline":case "subscript":case "superscript":case "fontname":case "fontsize":case "forecolor":case "hilitecolor":case "justifycenter":case "justifyfull":case "justifyleft":case "justifyright":case "delete":case "selectall":_1b8 = isSupportedBy(_1b2 | ie | _1b3 | _1b4);break;case "createlink":case "unlink":case "removeformat":case "inserthorizontalrule":case "insertimage":case "insertorderedlist":case "insertunorderedlist":case "indent":case "outdent":case "formatblock":case "inserthtml":case "undo":case "redo":case "strikethrough":_1b8 = isSupportedBy(_1b2 | ie | _1b4 | _1b5);break;case "blockdirltr":case "blockdirrtl":case "dirltr":case "dirrtl":case "inlinedirltr":case "inlinedirrtl":_1b8 = isSupportedBy(ie);break;case "cut":case "copy":case "paste":_1b8 = isSupportedBy(ie | _1b2 | _1b5);break;case "inserttable":_1b8 = isSupportedBy(_1b2 | ie);break;case "insertcell":case "insertcol":case "insertrow":case "deletecells":case "deletecols":case "deleterows":case "mergecells":case "splitcell":_1b8 = isSupportedBy(ie | _1b2);break;default:return false;}
        return (dojo.isIE && _1b8.ie) || (dojo.isMoz && _1b8.mozilla) || (dojo.isSafari && _1b8.safari) || (_1b6 && _1b8.safari420) || (dojo.isOpera && _1b8.opera);
    },execCommand:function(_1b9, _1ba) {
        var _1bb;
        this.focus();
        _1b9 = this._normalizeCommand(_1b9);
        if (_1ba != undefined) {
            if (_1b9 == "heading") {
                throw new Error("unimplemented");
            } else {
                if ((_1b9 == "formatblock") && dojo.isIE) {
                    _1ba = "<" + _1ba + ">";
                }
            }
        }
        if (_1b9 == "inserthtml") {
            _1ba = this._preFilterContent(_1ba);
            if (dojo.isIE) {
                var _1bc = this.document.selection.createRange();
                _1bc.pasteHTML(_1ba);
                _1bc.select();
                _1bb = true;
            } else {
                if (dojo.isMoz && !_1ba.length) {
                    dojo.withGlobal(this.window, "remove", dijit._editor.selection);
                    _1bb = true;
                } else {
                    _1bb = this.document.execCommand(_1b9, false, _1ba);
                }
            }
        } else {
            if ((_1b9 == "unlink") && (this.queryCommandEnabled("unlink")) && (dojo.isMoz || dojo.isSafari)) {
                var _1bd = this.window.getSelection();
                var a = dojo.withGlobal(this.window, "getAncestorElement", dijit._editor.selection, ["a"]);
                dojo.withGlobal(this.window, "selectElement", dijit._editor.selection, [a]);
                _1bb = this.document.execCommand("unlink", false, null);
            } else {
                if ((_1b9 == "hilitecolor") && (dojo.isMoz)) {
                    this.document.execCommand("styleWithCSS", false, true);
                    _1bb = this.document.execCommand(_1b9, false, _1ba);
                    this.document.execCommand("styleWithCSS", false, false);
                } else {
                    if ((dojo.isIE) && ((_1b9 == "backcolor") || (_1b9 == "forecolor"))) {
                        _1ba = arguments.length > 1 ? _1ba : null;
                        _1bb = this.document.execCommand(_1b9, false, _1ba);
                    } else {
                        _1ba = arguments.length > 1 ? _1ba : null;
                        if (_1ba || _1b9 != "createlink") {
                            _1bb = this.document.execCommand(_1b9, false, _1ba);
                        }
                    }
                }
            }
        }
        this.onDisplayChanged();
        return _1bb;
    },queryCommandEnabled:function(_1bf) {
        _1bf = this._normalizeCommand(_1bf);
        if (dojo.isMoz || dojo.isSafari) {
            if (_1bf == "unlink") {
                return dojo.withGlobal(this.window, "hasAncestorElement", dijit._editor.selection, ["a"]);
            } else {
                if (_1bf == "inserttable") {
                    return true;
                }
            }
        }
        if (dojo.isSafari) {
            if (_1bf == "copy") {
                _1bf = "cut";
            } else {
                if (_1bf == "paste") {
                    return true;
                }
            }
        }
        var elem = (dojo.isIE) ? this.document.selection.createRange() : this.document;
        return elem.queryCommandEnabled(_1bf);
    },queryCommandState:function(_1c1) {
        _1c1 = this._normalizeCommand(_1c1);
        return this.document.queryCommandState(_1c1);
    },queryCommandValue:function(_1c2) {
        _1c2 = this._normalizeCommand(_1c2);
        if (dojo.isIE && _1c2 == "formatblock") {
            return this._local2NativeFormatNames[this.document.queryCommandValue(_1c2)];
        }
        return this.document.queryCommandValue(_1c2);
    },placeCursorAtStart:function() {
        this.focus();
        var _1c3 = false;
        if (dojo.isMoz) {
            var _1c4 = this.editNode.firstChild;
            while (_1c4) {
                if (_1c4.nodeType == 3) {
                    if (_1c4.nodeValue.replace(/^\s+|\s+$/g, "").length > 0) {
                        _1c3 = true;
                        dojo.withGlobal(this.window, "selectElement", dijit._editor.selection, [_1c4]);
                        break;
                    }
                } else {
                    if (_1c4.nodeType == 1) {
                        _1c3 = true;
                        dojo.withGlobal(this.window, "selectElementChildren", dijit._editor.selection, [_1c4]);
                        break;
                    }
                }
                _1c4 = _1c4.nextSibling;
            }
        } else {
            _1c3 = true;
            dojo.withGlobal(this.window, "selectElementChildren", dijit._editor.selection, [this.editNode]);
        }
        if (_1c3) {
            dojo.withGlobal(this.window, "collapse", dijit._editor.selection, [true]);
        }
    },placeCursorAtEnd:function() {
        this.focus();
        var _1c5 = false;
        if (dojo.isMoz) {
            var last = this.editNode.lastChild;
            while (last) {
                if (last.nodeType == 3) {
                    if (last.nodeValue.replace(/^\s+|\s+$/g, "").length > 0) {
                        _1c5 = true;
                        dojo.withGlobal(this.window, "selectElement", dijit._editor.selection, [last]);
                        break;
                    }
                } else {
                    if (last.nodeType == 1) {
                        _1c5 = true;
                        if (last.lastChild) {
                            dojo.withGlobal(this.window, "selectElement", dijit._editor.selection, [last.lastChild]);
                        } else {
                            dojo.withGlobal(this.window, "selectElement", dijit._editor.selection, [last]);
                        }
                        break;
                    }
                }
                last = last.previousSibling;
            }
        } else {
            _1c5 = true;
            dojo.withGlobal(this.window, "selectElementChildren", dijit._editor.selection, [this.editNode]);
        }
        if (_1c5) {
            dojo.withGlobal(this.window, "collapse", dijit._editor.selection, [false]);
        }
    },getValue:function(_1c7) {
        if (this.textarea) {
            if (this.isClosed || !this.isLoaded) {
                return this.textarea.value;
            }
        }
        return this._postFilterContent(null, _1c7);
    },setValue:function(html) {
        if (this.textarea && (this.isClosed || !this.isLoaded)) {
            this.textarea.value = html;
        } else {
            html = this._preFilterContent(html);
            if (this.isClosed) {
                this.domNode.innerHTML = html;
                this._preDomFilterContent(this.domNode);
            } else {
                this.editNode.innerHTML = html;
                this._preDomFilterContent(this.editNode);
            }
        }
    },replaceValue:function(html) {
        if (this.isClosed) {
            this.setValue(html);
        } else {
            if (this.window && this.window.getSelection && !dojo.isMoz) {
                this.setValue(html);
            } else {
                if (this.window && this.window.getSelection) {
                    html = this._preFilterContent(html);
                    this.execCommand("selectall");
                    if (dojo.isMoz && !html) {
                        html = "&nbsp;";
                    }
                    this.execCommand("inserthtml", html);
                    this._preDomFilterContent(this.editNode);
                } else {
                    if (this.document && this.document.selection) {
                        this.setValue(html);
                    }
                }
            }
        }
    },_preFilterContent:function(html) {
        var ec = html;
        dojo.forEach(this.contentPreFilters, function(ef) {
            if (ef) {
                ec = ef(ec);
            }
        });
        return ec;
    },_preDomFilterContent:function(dom) {
        dom = dom || this.editNode;
        dojo.forEach(this.contentDomPreFilters, function(ef) {
            if (ef && dojo.isFunction(ef)) {
                ef(dom);
            }
        }, this);
    },_postFilterContent:function(dom, _1d0) {
        dom = dom || this.editNode;
        if (this.contentDomPostFilters.length) {
            if (_1d0 && dom["cloneNode"]) {
                dom = dom.cloneNode(true);
            }
            dojo.forEach(this.contentDomPostFilters, function(ef) {
                dom = ef(dom);
            });
        }
        var ec = this.getNodeChildrenHtml(dom);
        if (!ec.replace(/^(?:\s|\xA0)+/g, "").replace(/(?:\s|\xA0)+$/g, "").length) {
            ec = "";
        }
        dojo.forEach(this.contentPostFilters, function(ef) {
            ec = ef(ec);
        });
        return ec;
    },_saveContent:function(e) {
        var _1d5 = dojo.byId("dijit._editor.RichText.savedContent");
        _1d5.value += this._SEPARATOR + this.name + ":" + this.getValue();
    },escapeXml:function(str, _1d7) {
        str = str.replace(/&/gm, "&amp;").replace(/</gm, "&lt;").replace(/>/gm, "&gt;").replace(/"/gm, "&quot;");
        if (!_1d7) {
            str = str.replace(/'/gm, "&#39;");
        }
        return str;
    },getNodeHtml:function(node) {
        switch (node.nodeType) {case 1:var _1d9 = "<" + node.tagName.toLowerCase();if (dojo.isMoz) {
            if (node.getAttribute("type") == "_moz") {
                node.removeAttribute("type");
            }
            if (node.getAttribute("_moz_dirty") != undefined) {
                node.removeAttribute("_moz_dirty");
            }
        }var _1da = [];if (dojo.isIE) {
            var s = node.outerHTML;
            s = s.substr(0, s.indexOf(">"));
            s = s.replace(/(?:['"])[^"']*\1/g, "");
            var reg = /([^\s=]+)=/g;
            var m,key;
            while ((m = reg.exec(s)) != undefined) {
                key = m[1];
                if (key.substr(0, 3) != "_dj") {
                    if (key == "src" || key == "href") {
                        if (node.getAttribute("_djrealurl")) {
                            _1da.push([key,node.getAttribute("_djrealurl")]);
                            continue;
                        }
                    }
                    if (key == "class") {
                        _1da.push([key,node.className]);
                    } else {
                        _1da.push([key,node.getAttribute(key)]);
                    }
                }
            }
        } else {
            var attr,i = 0,_1e1 = node.attributes;
            while ((attr = _1e1[i++])) {
                if (attr.name.substr(0, 3) != "_dj") {
                    var v = attr.value;
                    if (attr.name == "src" || attr.name == "href") {
                        if (node.getAttribute("_djrealurl")) {
                            v = node.getAttribute("_djrealurl");
                        }
                    }
                    _1da.push([attr.name,v]);
                }
            }
        }_1da.sort(function(a, b) {
            return a[0] < b[0] ? -1 : (a[0] == b[0] ? 0 : 1);
        });i = 0;while ((attr = _1da[i++])) {
            _1d9 += " " + attr[0] + "=\"" + attr[1] + "\"";
        }if (node.childNodes.length) {
            _1d9 += ">" + this.getNodeChildrenHtml(node) + "</" + node.tagName.toLowerCase() + ">";
        } else {
            _1d9 += " />";
        }break;case 3:var _1d9 = this.escapeXml(node.nodeValue, true);break;case 8:var _1d9 = "<!--" + this.escapeXml(node.nodeValue, true) + "-->";break;default:var _1d9 = "Element not recognized - Type: " + node.nodeType + " Name: " + node.nodeName;}
        return _1d9;
    },getNodeChildrenHtml:function(dom) {
        var out = "";
        if (!dom) {
            return out;
        }
        var _1e7 = dom["childNodes"] || dom;
        var i = 0;
        var node;
        while ((node = _1e7[i++])) {
            out += this.getNodeHtml(node);
        }
        return out;
    },close:function(save, _1eb) {
        if (this.isClosed) {
            return false;
        }
        if (!arguments.length) {
            save = true;
        }
        this._content = this.getValue();
        var _1ec = (this.savedContent != this._content);
        if (this.interval) {
            clearInterval(this.interval);
        }
        if (this.textarea) {
            with (this.textarea.style) {
                position = "";
                left = top = "";
                if (dojo.isIE) {
                    overflow = this.__overflow;
                    this.__overflow = null;
                }
            }
            if (save) {
                this.textarea.value = this._content;
            } else {
                this.textarea.value = this.savedContent;
            }
            dojo._destroyElement(this.domNode);
            this.domNode = this.textarea;
        } else {
            if (save) {
                this.domNode.innerHTML = this._content;
            } else {
                this.domNode.innerHTML = this.savedContent;
            }
        }
        dojo.removeClass(this.domNode, "RichTextEditable");
        this.isClosed = true;
        this.isLoaded = false;
        delete this.editNode;
        if (this.window && this.window._frameElement) {
            this.window._frameElement = null;
        }
        this.window = null;
        this.document = null;
        this.editingArea = null;
        this.editorObject = null;
        return _1ec;
    },destroyRendering:function() {
    },destroy:function() {
        this.destroyRendering();
        if (!this.isClosed) {
            this.close(false);
        }
        this.inherited("destroy", arguments);
    },_fixContentForMoz:function(html) {
        html = html.replace(/<(\/)?strong([ \>])/gi, "<$1b$2");
        html = html.replace(/<(\/)?em([ \>])/gi, "<$1i$2");
        return html;
    },_srcInImgRegex:/(?:(<img(?=\s).*?\ssrc=)("|')(.*?)\2)|(?:(<img\s.*?src=)([^"'][^ >]+))/gi,_hrefInARegex:/(?:(<a(?=\s).*?\shref=)("|')(.*?)\2)|(?:(<a\s.*?href=)([^"'][^ >]+))/gi,_preFixUrlAttributes:function(html) {
        html = html.replace(this._hrefInARegex, "$1$4$2$3$5$2 _djrealurl=$2$3$5$2");
        html = html.replace(this._srcInImgRegex, "$1$4$2$3$5$2 _djrealurl=$2$3$5$2");
        return html;
    }});
}
if (!dojo._hasResource["dijit.Toolbar"]) {
    dojo._hasResource["dijit.Toolbar"] = true;
    dojo.provide("dijit.Toolbar");
    dojo.declare("dijit.Toolbar", [dijit._Widget,dijit._Templated,dijit._KeyNavContainer], {templateString:"<div class=\"dijit dijitToolbar\" waiRole=\"toolbar\" tabIndex=\"${tabIndex}\" dojoAttachPoint=\"containerNode\">" + "</div>",tabIndex:"0",postCreate:function() {
        this.connectKeyNavHandlers(this.isLeftToRight() ? [dojo.keys.LEFT_ARROW] : [dojo.keys.RIGHT_ARROW], this.isLeftToRight() ? [dojo.keys.RIGHT_ARROW] : [dojo.keys.LEFT_ARROW]);
    },startup:function() {
        this.startupKeyNavChildren();
    }});
    dojo.declare("dijit.ToolbarSeparator", [dijit._Widget,dijit._Templated], {templateString:"<div class=\"dijitToolbarSeparator dijitInline\"></div>",postCreate:function() {
        dojo.setSelectable(this.domNode, false);
    },isFocusable:function() {
        return false;
    }});
}
if (!dojo._hasResource["dijit.form.Button"]) {
    dojo._hasResource["dijit.form.Button"] = true;
    dojo.provide("dijit.form.Button");
    dojo.declare("dijit.form.Button", dijit.form._FormWidget, {label:"",showLabel:true,iconClass:"",type:"button",baseClass:"dijitButton",templateString:"<div class=\"dijit dijitLeft dijitInline dijitButton\"\n\tdojoAttachEvent=\"onclick:_onButtonClick,onmouseenter:_onMouse,onmouseleave:_onMouse,onmousedown:_onMouse\"\n\t><div class='dijitRight'\n\t\t><button class=\"dijitStretch dijitButtonNode dijitButtonContents\" dojoAttachPoint=\"focusNode,titleNode\"\n\t\t\ttype=\"${type}\" waiRole=\"button\" waiState=\"labelledby-${id}_label\"\n\t\t\t><span class=\"dijitInline ${iconClass}\" dojoAttachPoint=\"iconNode\" \n \t\t\t\t><span class=\"dijitToggleButtonIconChar\">&#10003</span \n\t\t\t></span\n\t\t\t><span class=\"dijitButtonText\" id=\"${id}_label\" dojoAttachPoint=\"containerNode\">${label}</span\n\t\t></button\n\t></div\n></div>\n",_onClick:function(e) {
        if (this.disabled) {
            return false;
        }
        this._clicked();
        return this.onClick(e);
    },_onButtonClick:function(e) {
        dojo.stopEvent(e);
        var _1f1 = this._onClick(e) !== false;
        if (this.type == "submit" && _1f1) {
            for (var node = this.domNode; node; node = node.parentNode) {
                var _1f3 = dijit.byNode(node);
                if (_1f3 && _1f3._onSubmit) {
                    _1f3._onSubmit(e);
                    break;
                }
                if (node.tagName.toLowerCase() == "form") {
                    if (!node.onsubmit || node.onsubmit()) {
                        node.submit();
                    }
                    break;
                }
            }
        }
    },postCreate:function() {
        if (this.showLabel == false) {
            var _1f4 = "";
            this.label = this.containerNode.innerHTML;
            _1f4 = dojo.trim(this.containerNode.innerText || this.containerNode.textContent);
            this.titleNode.title = _1f4;
            dojo.addClass(this.containerNode, "dijitDisplayNone");
        }
        this.inherited(arguments);
    },onClick:function(e) {
        return true;
    },_clicked:function(e) {
    },setLabel:function(_1f7) {
        this.containerNode.innerHTML = this.label = _1f7;
        if (dojo.isMozilla) {
            var _1f8 = dojo.getComputedStyle(this.domNode).display;
            this.domNode.style.display = "none";
            var _1f9 = this;
            setTimeout(function() {
                _1f9.domNode.style.display = _1f8;
            }, 1);
        }
        if (this.showLabel == false) {
            this.titleNode.title = dojo.trim(this.containerNode.innerText || this.containerNode.textContent);
        }
    }});
    dojo.declare("dijit.form.DropDownButton", [dijit.form.Button,dijit._Container], {baseClass:"dijitDropDownButton",templateString:"<div class=\"dijit dijitLeft dijitInline\"\n\tdojoAttachEvent=\"onmouseenter:_onMouse,onmouseleave:_onMouse,onmousedown:_onMouse,onclick:_onDropDownClick,onkeydown:_onDropDownKeydown,onblur:_onDropDownBlur,onkeypress:_onKey\"\n\t><div class='dijitRight'>\n\t<button class=\"dijitStretch dijitButtonNode dijitButtonContents\" type=\"${type}\"\n\t\tdojoAttachPoint=\"focusNode,titleNode\" waiRole=\"button\" waiState=\"haspopup-true,labelledby-${id}_label\"\n\t\t><div class=\"dijitInline ${iconClass}\" dojoAttachPoint=\"iconNode\"></div\n\t\t><span class=\"dijitButtonText\" \tdojoAttachPoint=\"containerNode,popupStateNode\"\n\t\tid=\"${id}_label\">${label}</span\n\t\t><span class='dijitA11yDownArrow'>&#9660;</span>\n\t</button>\n</div></div>\n",_fillContent:function() {
        if (this.srcNodeRef) {
            var _1fa = dojo.query("*", this.srcNodeRef);
            dijit.form.DropDownButton.superclass._fillContent.call(this, _1fa[0]);
            this.dropDownContainer = this.srcNodeRef;
        }
    },startup:function() {
        if (!this.dropDown) {
            var _1fb = dojo.query("[widgetId]", this.dropDownContainer)[0];
            this.dropDown = dijit.byNode(_1fb);
            delete this.dropDownContainer;
        }
        dojo.body().appendChild(this.dropDown.domNode);
        this.dropDown.domNode.style.display = "none";
    },_onArrowClick:function(e) {
        if (this.disabled) {
            return;
        }
        this._toggleDropDown();
    },_onDropDownClick:function(e) {
        var _1fe = dojo.isFF && dojo.isFF < 3 && navigator.appVersion.indexOf("Macintosh") != -1;
        if (!_1fe || e.detail != 0 || this._seenKeydown) {
            this._onArrowClick(e);
        }
        this._seenKeydown = false;
    },_onDropDownKeydown:function(e) {
        this._seenKeydown = true;
    },_onDropDownBlur:function(e) {
        this._seenKeydown = false;
    },_onKey:function(e) {
        if (this.disabled) {
            return;
        }
        if (e.keyCode == dojo.keys.DOWN_ARROW) {
            if (!this.dropDown || this.dropDown.domNode.style.display == "none") {
                dojo.stopEvent(e);
                return this._toggleDropDown();
            }
        }
    },_onBlur:function() {
        this._closeDropDown();
    },_toggleDropDown:function() {
        if (this.disabled) {
            return;
        }
        dijit.focus(this.popupStateNode);
        var _202 = this.dropDown;
        if (!_202) {
            return false;
        }
        if (!_202.isShowingNow) {
            if (_202.href && !_202.isLoaded) {
                var self = this;
                var _204 = dojo.connect(_202, "onLoad", function() {
                    dojo.disconnect(_204);
                    self._openDropDown();
                });
                _202._loadCheck(true);
                return;
            } else {
                this._openDropDown();
            }
        } else {
            this._closeDropDown();
        }
    },_openDropDown:function() {
        var _205 = this.dropDown;
        var _206 = _205.domNode.style.width;
        var self = this;
        dijit.popup.open({parent:this,popup:_205,around:this.domNode,orient:this.isLeftToRight() ? {"BL":"TL","BR":"TR","TL":"BL","TR":"BR"} : {"BR":"TR","BL":"TL","TR":"BR","TL":"BL"},onExecute:function() {
            self._closeDropDown(true);
        },onCancel:function() {
            self._closeDropDown(true);
        },onClose:function() {
            _205.domNode.style.width = _206;
            self.popupStateNode.removeAttribute("popupActive");
            this._opened = false;
        }});
        if (this.domNode.offsetWidth > _205.domNode.offsetWidth) {
            var _208 = null;
            if (!this.isLeftToRight()) {
                _208 = _205.domNode.parentNode;
                var _209 = _208.offsetLeft + _208.offsetWidth;
            }
            dojo.marginBox(_205.domNode, {w:this.domNode.offsetWidth});
            if (_208) {
                _208.style.left = _209 - this.domNode.offsetWidth + "px";
            }
        }
        this.popupStateNode.setAttribute("popupActive", "true");
        this._opened = true;
        if (_205.focus) {
            _205.focus();
        }
    },_closeDropDown:function(_20a) {
        if (this._opened) {
            dijit.popup.close(this.dropDown);
            if (_20a) {
                this.focus();
            }
            this._opened = false;
        }
    }});
    dojo.declare("dijit.form.ComboButton", dijit.form.DropDownButton, {templateString:"<table class='dijit dijitReset dijitInline dijitLeft'\n\tcellspacing='0' cellpadding='0'\n\tdojoAttachEvent=\"onmouseenter:_onMouse,onmouseleave:_onMouse,onmousedown:_onMouse\">\n\t<tr>\n\t\t<td\tclass=\"dijitStretch dijitButtonContents dijitButtonNode\"\n\t\t\ttabIndex=\"${tabIndex}\"\n\t\t\tdojoAttachEvent=\"ondijitclick:_onButtonClick\"  dojoAttachPoint=\"titleNode\"\n\t\t\twaiRole=\"button\" waiState=\"labelledby-${id}_label\">\n\t\t\t<div class=\"dijitInline ${iconClass}\" dojoAttachPoint=\"iconNode\"></div>\n\t\t\t<span class=\"dijitButtonText\" id=\"${id}_label\" dojoAttachPoint=\"containerNode\">${label}</span>\n\t\t</td>\n\t\t<td class='dijitReset dijitRight dijitButtonNode dijitDownArrowButton'\n\t\t\tdojoAttachPoint=\"popupStateNode,focusNode\"\n\t\t\tdojoAttachEvent=\"ondijitclick:_onArrowClick, onkeypress:_onKey\"\n\t\t\tstateModifier=\"DownArrow\"\n\t\t\ttitle=\"${optionsTitle}\" name=\"${name}\"\n\t\t\twaiRole=\"button\" waiState=\"haspopup-true\"\n\t\t><div waiRole=\"presentation\">&#9660;</div>\n\t</td></tr>\n</table>\n",attributeMap:dojo.mixin(dojo.clone(dijit.form._FormWidget.prototype.attributeMap), {id:"",name:""}),optionsTitle:"",baseClass:"dijitComboButton",_focusedNode:null,postCreate:function() {
        this.inherited(arguments);
        this._focalNodes = [this.titleNode,this.popupStateNode];
        dojo.forEach(this._focalNodes, dojo.hitch(this, function(node) {
            if (dojo.isIE) {
                this.connect(node, "onactivate", this._onNodeFocus);
            } else {
                this.connect(node, "onfocus", this._onNodeFocus);
            }
        }));
    },focusFocalNode:function(node) {
        this._focusedNode = node;
        dijit.focus(node);
    },hasNextFocalNode:function() {
        return this._focusedNode !== this.getFocalNodes()[1];
    },focusNext:function() {
        this._focusedNode = this.getFocalNodes()[this._focusedNode ? 1 : 0];
        dijit.focus(this._focusedNode);
    },hasPrevFocalNode:function() {
        return this._focusedNode !== this.getFocalNodes()[0];
    },focusPrev:function() {
        this._focusedNode = this.getFocalNodes()[this._focusedNode ? 0 : 1];
        dijit.focus(this._focusedNode);
    },getFocalNodes:function() {
        return this._focalNodes;
    },_onNodeFocus:function(evt) {
        this._focusedNode = evt.currentTarget;
    },_onBlur:function(evt) {
        this.inherited(arguments);
        this._focusedNode = null;
    }});
    dojo.declare("dijit.form.ToggleButton", dijit.form.Button, {baseClass:"dijitToggleButton",checked:false,_clicked:function(evt) {
        this.setChecked(!this.checked);
    },setChecked:function(_210) {
        this.checked = _210;
        dijit.setWaiState(this.focusNode || this.domNode, "pressed", this.checked);
        this._setStateClass();
        this.onChange(_210);
    }});
}
if (!dojo._hasResource["dijit._editor._Plugin"]) {
    dojo._hasResource["dijit._editor._Plugin"] = true;
    dojo.provide("dijit._editor._Plugin");
    dojo.declare("dijit._editor._Plugin", null, {constructor:function(args, node) {
        if (args) {
            dojo.mixin(this, args);
        }
    },editor:null,iconClassPrefix:"dijitEditorIcon",button:null,queryCommand:null,command:"",commandArg:null,useDefaultCommand:true,buttonClass:dijit.form.Button,updateInterval:200,_initButton:function() {
        if (this.command.length) {
            var _213 = this.editor.commands[this.command];
            var _214 = "dijitEditorIcon " + this.iconClassPrefix + this.command.charAt(0).toUpperCase() + this.command.substr(1);
            if (!this.button) {
                var _215 = {label:_213,showLabel:false,iconClass:_214,dropDown:this.dropDown};
                this.button = new this.buttonClass(_215);
            }
        }
    },updateState:function() {
        var _e = this.editor;
        var _c = this.command;
        if (!_e) {
            return;
        }
        if (!_e.isLoaded) {
            return;
        }
        if (!_c.length) {
            return;
        }
        if (this.button) {
            try {
                var _218 = _e.queryCommandEnabled(_c);
                this.button.setDisabled(!_218);
                if (this.button.setChecked) {
                    this.button.setChecked(_e.queryCommandState(_c));
                }
            } catch(e) {
                console.debug(e);
            }
        }
    },setEditor:function(_219) {
        this.editor = _219;
        this._initButton();
        if ((this.command.length) && (!this.editor.queryCommandAvailable(this.command))) {
            if (this.button) {
                this.button.domNode.style.display = "none";
            }
        }
        if (this.button && this.useDefaultCommand) {
            dojo.connect(this.button, "onClick", dojo.hitch(this.editor, "execCommand", this.command, this.commandArg));
        }
        dojo.connect(this.editor, "onNormalizedDisplayChanged", this, "updateState");
    },setToolbar:function(_21a) {
        if (this.button) {
            _21a.addChild(this.button);
        }
    }});
}
if (!dojo._hasResource["dijit.Editor"]) {
    dojo._hasResource["dijit.Editor"] = true;
    dojo.provide("dijit.Editor");
    dojo.declare("dijit.Editor", dijit._editor.RichText, {plugins:null,extraPlugins:null,constructor:function() {
        this.plugins = ["undo","redo","|","cut","copy","paste","|","bold","italic","underline","strikethrough","|","insertOrderedList","insertUnorderedList","indent","outdent","|","justifyLeft","justifyRight","justifyCenter","justifyFull"];
        this._plugins = [];
        this._editInterval = this.editActionInterval * 1000;
    },postCreate:function() {
        if (this.customUndo) {
            dojo["require"]("dijit._editor.range");
            this._steps = this._steps.slice(0);
            this._undoedSteps = this._undoedSteps.slice(0);
        }
        if (dojo.isArray(this.extraPlugins)) {
            this.plugins = this.plugins.concat(this.extraPlugins);
        }
        dijit.Editor.superclass.postCreate.apply(this, arguments);
        this.commands = dojo.i18n.getLocalization("dijit._editor", "commands", this.lang);
        if (!this.toolbar) {
            var _21b = dojo.doc.createElement("div");
            dojo.place(_21b, this.editingArea, "before");
            this.toolbar = new dijit.Toolbar({}, _21b);
        }
        dojo.forEach(this.plugins, this.addPlugin, this);
        this.onNormalizedDisplayChanged();
    },destroy:function() {
        dojo.forEach(this._plugins, function(p) {
            if (p.destroy) {
                p.destroy();
            }
        });
        this._plugins = [];
        this.toolbar.destroy();
        delete this.toolbar;
        this.inherited("destroy", arguments);
    },addPlugin:function(_21d, _21e) {
        var args = dojo.isString(_21d) ? {name:_21d} : _21d;
        if (!args.setEditor) {
            var o = {"args":args,"plugin":null,"editor":this};
            dojo.publish("dijit.Editor.getPlugin", [o]);
            if (!o.plugin) {
                var pc = dojo.getObject(args.name);
                if (pc) {
                    o.plugin = new pc(args);
                }
            }
            if (!o.plugin) {
                console.debug("Cannot find plugin", _21d);
                return;
            }
            _21d = o.plugin;
        }
        if (arguments.length > 1) {
            this._plugins[_21e] = _21d;
        } else {
            this._plugins.push(_21d);
        }
        _21d.setEditor(this);
        if (dojo.isFunction(_21d.setToolbar)) {
            _21d.setToolbar(this.toolbar);
        }
    },customUndo:dojo.isIE,editActionInterval:3,beginEditing:function(cmd) {
        if (!this._inEditing) {
            this._inEditing = true;
            this._beginEditing(cmd);
        }
        if (this.editActionInterval > 0) {
            if (this._editTimer) {
                clearTimeout(this._editTimer);
            }
            this._editTimer = setTimeout(dojo.hitch(this, this.endEditing), this._editInterval);
        }
    },_steps:[],_undoedSteps:[],execCommand:function(cmd) {
        if (this.customUndo && (cmd == "undo" || cmd == "redo")) {
            return this[cmd]();
        } else {
            try {
                if (this.customUndo) {
                    this.endEditing();
                    this._beginEditing();
                }
                var r = this.inherited("execCommand", arguments);
                if (this.customUndo) {
                    this._endEditing();
                }
                return r;
            } catch(e) {
                if (dojo.isMoz && /copy|cut|paste/.test(cmd)) {
                    var sub = dojo.string.substitute,_226 = {cut:"X",copy:"C",paste:"V"},_227 = navigator.userAgent.indexOf("Macintosh") != -1;
                    alert(sub(this.commands.systemShortcutFF, [this.commands[cmd],sub(this.commands[_227 ? "appleKey" : "ctrlKey"], [_226[cmd]])]));
                }
                return false;
            }
        }
    },queryCommandEnabled:function(cmd) {
        if (this.customUndo && (cmd == "undo" || cmd == "redo")) {
            return cmd == "undo" ? (this._steps.length > 1) : (this._undoedSteps.length > 0);
        } else {
            return this.inherited("queryCommandEnabled", arguments);
        }
    },_changeToStep:function(from, to) {
        this.setValue(to.text);
        var b = to.bookmark;
        if (!b) {
            return;
        }
        if (dojo.isIE) {
            if (dojo.isArray(b)) {
                var tmp = [];
                dojo.forEach(b, function(n) {
                    tmp.push(dijit.range.getNode(n, this.editNode));
                }, this);
                b = tmp;
            }
        } else {
            var r = dijit.range.create();
            r.setStart(dijit.range.getNode(b.startContainer, this.editNode), b.startOffset);
            r.setEnd(dijit.range.getNode(b.endContainer, this.editNode), b.endOffset);
            b = r;
        }
        dojo.withGlobal(this.window, "moveToBookmark", dijit, [b]);
    },undo:function() {
        this.endEditing(true);
        var s = this._steps.pop();
        if (this._steps.length > 0) {
            this.focus();
            this._changeToStep(s, this._steps[this._steps.length - 1]);
            this._undoedSteps.push(s);
            this.onDisplayChanged();
            return true;
        }
        return false;
    },redo:function() {
        this.endEditing(true);
        var s = this._undoedSteps.pop();
        if (s && this._steps.length > 0) {
            this.focus();
            this._changeToStep(this._steps[this._steps.length - 1], s);
            this._steps.push(s);
            this.onDisplayChanged();
            return true;
        }
        return false;
    },endEditing:function(_231) {
        if (this._editTimer) {
            clearTimeout(this._editTimer);
        }
        if (this._inEditing) {
            this._endEditing(_231);
            this._inEditing = false;
        }
    },_getBookmark:function() {
        var b = dojo.withGlobal(this.window, dijit.getBookmark);
        if (dojo.isIE) {
            if (dojo.isArray(b)) {
                var tmp = [];
                dojo.forEach(b, function(n) {
                    tmp.push(dijit.range.getIndex(n, this.editNode).o);
                }, this);
                b = tmp;
            }
        } else {
            var tmp = dijit.range.getIndex(b.startContainer, this.editNode).o;
            b = {startContainer:tmp,startOffset:b.startOffset,endContainer:b.endContainer === b.startContainer ? tmp : dijit.range.getIndex(b.endContainer, this.editNode).o,endOffset:b.endOffset};
        }
        return b;
    },_beginEditing:function(cmd) {
        if (this._steps.length === 0) {
            this._steps.push({"text":this.savedContent,"bookmark":this._getBookmark()});
        }
    },_endEditing:function(_236) {
        var v = this.getValue(true);
        this._undoedSteps = [];
        this._steps.push({"text":v,"bookmark":this._getBookmark()});
    },onKeyDown:function(e) {
        if (!this.customUndo) {
            this.inherited("onKeyDown", arguments);
            return;
        }
        var k = e.keyCode,ks = dojo.keys;
        if (e.ctrlKey) {
            if (k === 90 || k === 122) {
                dojo.stopEvent(e);
                this.undo();
                return;
            } else {
                if (k === 89 || k === 121) {
                    dojo.stopEvent(e);
                    this.redo();
                    return;
                }
            }
        }
        this.inherited("onKeyDown", arguments);
        switch (k) {case ks.ENTER:this.beginEditing();break;case ks.BACKSPACE:case ks.DELETE:this.beginEditing();break;case 88:case 86:if (e.ctrlKey && !e.altKey && !e.metaKey) {
            this.endEditing();
            if (e.keyCode == 88) {
                this.beginEditing("cut");
                setTimeout(dojo.hitch(this, this.endEditing), 1);
            } else {
                this.beginEditing("paste");
                setTimeout(dojo.hitch(this, this.endEditing), 1);
            }
            break;
        }default:if (!e.ctrlKey && !e.altKey && !e.metaKey && (e.keyCode < dojo.keys.F1 || e.keyCode > dojo.keys.F15)) {
            this.beginEditing();
            break;
        }case ks.ALT:this.endEditing();break;case ks.UP_ARROW:case ks.DOWN_ARROW:case ks.LEFT_ARROW:case ks.RIGHT_ARROW:case ks.HOME:case ks.END:case ks.PAGE_UP:case ks.PAGE_DOWN:this.endEditing(true);break;case ks.CTRL:case ks.SHIFT:case ks.TAB:break;}
    },_onBlur:function() {
        this.inherited("_onBlur", arguments);
        this.endEditing(true);
    },onClick:function() {
        this.endEditing(true);
        this.inherited("onClick", arguments);
    }});
    dojo.subscribe("dijit.Editor.getPlugin", null, function(o) {
        if (o.plugin) {
            return;
        }
        var args = o.args,p;
        var _p = dijit._editor._Plugin;
        var name = args.name;
        switch (name) {case "undo":case "redo":case "cut":case "copy":case "paste":case "insertOrderedList":case "insertUnorderedList":case "indent":case "outdent":case "justifyCenter":case "justifyFull":case "justifyLeft":case "justifyRight":case "delete":case "selectAll":case "removeFormat":p = new _p({command:name});break;case "bold":case "italic":case "underline":case "strikethrough":case "subscript":case "superscript":p = new _p({buttonClass:dijit.form.ToggleButton,command:name});break;case "|":p = new _p({button:new dijit.ToolbarSeparator()});break;case "createLink":p = new dijit._editor.plugins.LinkDialog({command:name});break;case "foreColor":case "hiliteColor":p = new dijit._editor.plugins.TextColor({command:name});break;case "fontName":case "fontSize":case "formatBlock":p = new dijit._editor.plugins.FontChoice({command:name});}
        o.plugin = p;
    });
}
if (!dojo._hasResource["dijit.Menu"]) {
    dojo._hasResource["dijit.Menu"] = true;
    dojo.provide("dijit.Menu");
    dojo.declare("dijit.Menu", [dijit._Widget,dijit._Templated,dijit._KeyNavContainer], {constructor:function() {
        this._bindings = [];
    },templateString:"<table class=\"dijit dijitMenu dijitReset dijitMenuTable\" waiRole=\"menu\" dojoAttachEvent=\"onkeypress:_onKeyPress\">" + "<tbody class=\"dijitReset\" dojoAttachPoint=\"containerNode\"></tbody>" + "</table>",targetNodeIds:[],contextMenuForWindow:false,parentMenu:null,popupDelay:500,_contextMenuWithMouse:false,postCreate:function() {
        if (this.contextMenuForWindow) {
            this.bindDomNode(dojo.body());
        } else {
            dojo.forEach(this.targetNodeIds, this.bindDomNode, this);
        }
        this.connectKeyNavHandlers([dojo.keys.UP_ARROW], [dojo.keys.DOWN_ARROW]);
    },startup:function() {
        dojo.forEach(this.getChildren(), function(_240) {
            _240.startup();
        });
        this.startupKeyNavChildren();
    },onExecute:function() {
    },onCancel:function(_241) {
    },_moveToPopup:function(evt) {
        if (this.focusedChild && this.focusedChild.popup && !this.focusedChild.disabled) {
            this.focusedChild._onClick(evt);
        }
    },_onKeyPress:function(evt) {
        if (evt.ctrlKey || evt.altKey) {
            return;
        }
        switch (evt.keyCode) {case dojo.keys.RIGHT_ARROW:this._moveToPopup(evt);dojo.stopEvent(evt);break;case dojo.keys.LEFT_ARROW:if (this.parentMenu) {
            this.onCancel(false);
        } else {
            dojo.stopEvent(evt);
        }break;}
    },onItemHover:function(item) {
        this.focusChild(item);
        if (this.focusedChild.popup && !this.focusedChild.disabled && !this.hover_timer) {
            this.hover_timer = setTimeout(dojo.hitch(this, "_openPopup"), this.popupDelay);
        }
    },_onChildBlur:function(item) {
        dijit.popup.close(item.popup);
        item._blur();
        this._stopPopupTimer();
    },onItemUnhover:function(item) {
    },_stopPopupTimer:function() {
        if (this.hover_timer) {
            clearTimeout(this.hover_timer);
            this.hover_timer = null;
        }
    },_getTopMenu:function() {
        for (var top = this; top.parentMenu; top = top.parentMenu) {
        }
        return top;
    },onItemClick:function(item) {
        if (item.disabled) {
            return false;
        }
        if (item.popup) {
            if (!this.is_open) {
                this._openPopup();
            }
        } else {
            this.onExecute();
            item.onClick();
        }
    },_iframeContentWindow:function(_249) {
        var win = dijit.getDocumentWindow(dijit.Menu._iframeContentDocument(_249)) || dijit.Menu._iframeContentDocument(_249)["__parent__"] || (_249.name && document.frames[_249.name]) || null;
        return win;
    },_iframeContentDocument:function(_24b) {
        var doc = _24b.contentDocument || (_24b.contentWindow && _24b.contentWindow.document) || (_24b.name && document.frames[_24b.name] && document.frames[_24b.name].document) || null;
        return doc;
    },bindDomNode:function(node) {
        node = dojo.byId(node);
        var win = dijit.getDocumentWindow(node.ownerDocument);
        if (node.tagName.toLowerCase() == "iframe") {
            win = this._iframeContentWindow(node);
            node = dojo.withGlobal(win, dojo.body);
        }
        var cn = (node == dojo.body() ? dojo.doc : node);
        node[this.id] = this._bindings.push([dojo.connect(cn, "oncontextmenu", this, "_openMyself"),dojo.connect(cn, "onkeydown", this, "_contextKey"),dojo.connect(cn, "onmousedown", this, "_contextMouse")]);
    },unBindDomNode:function(_250) {
        var node = dojo.byId(_250);
        var bid = node[this.id] - 1,b = this._bindings[bid];
        dojo.forEach(b, dojo.disconnect);
        delete this._bindings[bid];
    },_contextKey:function(e) {
        this._contextMenuWithMouse = false;
        if (e.keyCode == dojo.keys.F10) {
            dojo.stopEvent(e);
            if (e.shiftKey && e.type == "keydown") {
                var _e = {target:e.target,pageX:e.pageX,pageY:e.pageY};
                _e.preventDefault = _e.stopPropagation = function() {
                };
                window.setTimeout(dojo.hitch(this, function() {
                    this._openMyself(_e);
                }), 1);
            }
        }
    },_contextMouse:function(e) {
        this._contextMenuWithMouse = true;
    },_openMyself:function(e) {
        dojo.stopEvent(e);
        var x,y;
        if (dojo.isSafari || this._contextMenuWithMouse) {
            x = e.pageX;
            y = e.pageY;
        } else {
            var _25a = dojo.coords(e.target, true);
            x = _25a.x + 10;
            y = _25a.y + 10;
        }
        var self = this;
        var _25c = dijit.getFocus(this);
        function closeAndRestoreFocus() {
            dijit.focus(_25c);
            dijit.popup.close(self);
        }
        ;
        dijit.popup.open({popup:this,x:x,y:y,onExecute:closeAndRestoreFocus,onCancel:closeAndRestoreFocus,orient:this.isLeftToRight() ? "L" : "R"});
        this.focus();
        this._onBlur = function() {
            dijit.popup.close(this);
        };
    },onOpen:function(e) {
        this.isShowingNow = true;
    },onClose:function() {
        this._stopPopupTimer();
        this.parentMenu = null;
        this.isShowingNow = false;
        this.currentPopup = null;
        if (this.focusedChild) {
            this._onChildBlur(this.focusedChild);
            this.focusedChild = null;
        }
    },_openPopup:function() {
        this._stopPopupTimer();
        var _25e = this.focusedChild;
        var _25f = _25e.popup;
        if (_25f.isShowingNow) {
            return;
        }
        _25f.parentMenu = this;
        var self = this;
        dijit.popup.open({parent:this,popup:_25f,around:_25e.arrowCell,orient:this.isLeftToRight() ? {"TR":"TL","TL":"TR"} : {"TL":"TR","TR":"TL"},onCancel:function() {
            dijit.popup.close(_25f);
            _25e.focus();
            self.currentPopup = null;
        }});
        this.currentPopup = _25f;
        if (_25f.focus) {
            _25f.focus();
        }
    }});
    dojo.declare("dijit.MenuItem", [dijit._Widget,dijit._Templated,dijit._Contained], {templateString:"<tr class=\"dijitReset dijitMenuItem\"" + "dojoAttachEvent=\"onmouseenter:_onHover,onmouseleave:_onUnhover,ondijitclick:_onClick\">" + "<td class=\"dijitReset\"><div class=\"dijitMenuItemIcon ${iconClass}\" dojoAttachPoint=\"iconNode\" ></div></td>" + "<td tabIndex=\"-1\" class=\"dijitReset dijitMenuItemLabel\" dojoAttachPoint=\"containerNode\" waiRole=\"menuitem\"></td>" + "<td class=\"dijitReset\" dojoAttachPoint=\"arrowCell\">" + "<div class=\"dijitMenuExpand\" dojoAttachPoint=\"expand\" style=\"display:none\">" + "<span class=\"dijitInline dijitArrowNode dijitMenuExpandInner\">+</span>" + "</div>" + "</td>" + "</tr>",label:"",iconClass:"",disabled:false,postCreate:function() {
        dojo.setSelectable(this.domNode, false);
        this.setDisabled(this.disabled);
        if (this.label) {
            this.containerNode.innerHTML = this.label;
        }
    },_onHover:function() {
        this.getParent().onItemHover(this);
    },_onUnhover:function() {
        this.getParent().onItemUnhover(this);
    },_onClick:function(evt) {
        this.getParent().onItemClick(this);
        dojo.stopEvent(evt);
    },onClick:function() {
    },focus:function() {
        dojo.addClass(this.domNode, "dijitMenuItemHover");
        try {
            dijit.focus(this.containerNode);
        } catch(e) {
        }
    },_blur:function() {
        dojo.removeClass(this.domNode, "dijitMenuItemHover");
    },setDisabled:function(_262) {
        this.disabled = _262;
        dojo[_262 ? "addClass" : "removeClass"](this.domNode, "dijitMenuItemDisabled");
        dijit.setWaiState(this.containerNode, "disabled", _262 ? "true" : "false");
    }});
    dojo.declare("dijit.PopupMenuItem", dijit.MenuItem, {_fillContent:function() {
        if (this.srcNodeRef) {
            var _263 = dojo.query("*", this.srcNodeRef);
            dijit.PopupMenuItem.superclass._fillContent.call(this, _263[0]);
            this.dropDownContainer = this.srcNodeRef;
        }
    },startup:function() {
        if (!this.popup) {
            var node = dojo.query("[widgetId]", this.dropDownContainer)[0];
            this.popup = dijit.byNode(node);
        }
        dojo.body().appendChild(this.popup.domNode);
        this.popup.domNode.style.display = "none";
        dojo.addClass(this.expand, "dijitMenuExpandEnabled");
        dojo.style(this.expand, "display", "");
        dijit.setWaiState(this.containerNode, "haspopup", "true");
    }});
    dojo.declare("dijit.MenuSeparator", [dijit._Widget,dijit._Templated,dijit._Contained], {templateString:"<tr class=\"dijitMenuSeparator\"><td colspan=3>" + "<div class=\"dijitMenuSeparatorTop\"></div>" + "<div class=\"dijitMenuSeparatorBottom\"></div>" + "</td></tr>",postCreate:function() {
        dojo.setSelectable(this.domNode, false);
    },isFocusable:function() {
        return false;
    }});
}
if (!dojo._hasResource["dojo.regexp"]) {
    dojo._hasResource["dojo.regexp"] = true;
    dojo.provide("dojo.regexp");
    dojo.regexp.escapeString = function(str, _266) {
        return str.replace(/([\.$?*!=:|{}\(\)\[\]\\\/^])/g, function(ch) {
            if (_266 && _266.indexOf(ch) != -1) {
                return ch;
            }
            return "\\" + ch;
        });
    };
    dojo.regexp.buildGroupRE = function(arr, re, _26a) {
        if (!(arr instanceof Array)) {
            return re(arr);
        }
        var b = [];
        for (var i = 0; i < arr.length; i++) {
            b.push(re(arr[i]));
        }
        return dojo.regexp.group(b.join("|"), _26a);
    };
    dojo.regexp.group = function(_26d, _26e) {
        return "(" + (_26e ? "?:" : "") + _26d + ")";
    };
}
if (!dojo._hasResource["dojo.number"]) {
    dojo._hasResource["dojo.number"] = true;
    dojo.provide("dojo.number");
    dojo.number.format = function(_26f, _270) {
        _270 = dojo.mixin({}, _270 || {});
        var _271 = dojo.i18n.normalizeLocale(_270.locale);
        var _272 = dojo.i18n.getLocalization("dojo.cldr", "number", _271);
        _270.customs = _272;
        var _273 = _270.pattern || _272[(_270.type || "decimal") + "Format"];
        if (isNaN(_26f)) {
            return null;
        }
        return dojo.number._applyPattern(_26f, _273, _270);
    };
    dojo.number._numberPatternRE = /[#0,]*[#0](?:\.0*#*)?/;
    dojo.number._applyPattern = function(_274, _275, _276) {
        _276 = _276 || {};
        var _277 = _276.customs.group;
        var _278 = _276.customs.decimal;
        var _279 = _275.split(";");
        var _27a = _279[0];
        _275 = _279[(_274 < 0) ? 1 : 0] || ("-" + _27a);
        if (_275.indexOf("%") != -1) {
            _274 *= 100;
        } else {
            if (_275.indexOf("‰") != -1) {
                _274 *= 1000;
            } else {
                if (_275.indexOf("¤") != -1) {
                    _277 = _276.customs.currencyGroup || _277;
                    _278 = _276.customs.currencyDecimal || _278;
                    _275 = _275.replace(/\u00a4{1,3}/, function(_27b) {
                        var prop = ["symbol","currency","displayName"][_27b.length - 1];
                        return _276[prop] || _276.currency || "";
                    });
                } else {
                    if (_275.indexOf("E") != -1) {
                        throw new Error("exponential notation not supported");
                    }
                }
            }
        }
        var _27d = dojo.number._numberPatternRE;
        var _27e = _27a.match(_27d);
        if (!_27e) {
            throw new Error("unable to find a number expression in pattern: " + _275);
        }
        return _275.replace(_27d, dojo.number._formatAbsolute(_274, _27e[0], {decimal:_278,group:_277,places:_276.places}));
    };
    dojo.number.round = function(_27f, _280, _281) {
        var _282 = String(_27f).split(".");
        var _283 = (_282[1] && _282[1].length) || 0;
        if (_283 > _280) {
            var _284 = Math.pow(10, _280);
            if (_281 > 0) {
                _284 *= 10 / _281;
                _280++;
            }
            _27f = Math.round(_27f * _284) / _284;
            _282 = String(_27f).split(".");
            _283 = (_282[1] && _282[1].length) || 0;
            if (_283 > _280) {
                _282[1] = _282[1].substr(0, _280);
                _27f = Number(_282.join("."));
            }
        }
        return _27f;
    };
    dojo.number._formatAbsolute = function(_285, _286, _287) {
        _287 = _287 || {};
        if (_287.places === true) {
            _287.places = 0;
        }
        if (_287.places === Infinity) {
            _287.places = 6;
        }
        var _288 = _286.split(".");
        var _289 = (_287.places >= 0) ? _287.places : (_288[1] && _288[1].length) || 0;
        if (!(_287.round < 0)) {
            _285 = dojo.number.round(_285, _289, _287.round);
        }
        var _28a = String(Math.abs(_285)).split(".");
        var _28b = _28a[1] || "";
        if (_287.places) {
            _28a[1] = dojo.string.pad(_28b.substr(0, _287.places), _287.places, "0", true);
        } else {
            if (_288[1] && _287.places !== 0) {
                var pad = _288[1].lastIndexOf("0") + 1;
                if (pad > _28b.length) {
                    _28a[1] = dojo.string.pad(_28b, pad, "0", true);
                }
                var _28d = _288[1].length;
                if (_28d < _28b.length) {
                    _28a[1] = _28b.substr(0, _28d);
                }
            } else {
                if (_28a[1]) {
                    _28a.pop();
                }
            }
        }
        var _28e = _288[0].replace(",", "");
        pad = _28e.indexOf("0");
        if (pad != -1) {
            pad = _28e.length - pad;
            if (pad > _28a[0].length) {
                _28a[0] = dojo.string.pad(_28a[0], pad);
            }
            if (_28e.indexOf("#") == -1) {
                _28a[0] = _28a[0].substr(_28a[0].length - pad);
            }
        }
        var _28f = _288[0].lastIndexOf(",");
        var _290,_291;
        if (_28f != -1) {
            _290 = _288[0].length - _28f - 1;
            var _292 = _288[0].substr(0, _28f);
            _28f = _292.lastIndexOf(",");
            if (_28f != -1) {
                _291 = _292.length - _28f - 1;
            }
        }
        var _293 = [];
        for (var _294 = _28a[0]; _294;) {
            var off = _294.length - _290;
            _293.push((off > 0) ? _294.substr(off) : _294);
            _294 = (off > 0) ? _294.slice(0, off) : "";
            if (_291) {
                _290 = _291;
                delete _291;
            }
        }
        _28a[0] = _293.reverse().join(_287.group || ",");
        return _28a.join(_287.decimal || ".");
    };
    dojo.number.regexp = function(_296) {
        return dojo.number._parseInfo(_296).regexp;
    };
    dojo.number._parseInfo = function(_297) {
        _297 = _297 || {};
        var _298 = dojo.i18n.normalizeLocale(_297.locale);
        var _299 = dojo.i18n.getLocalization("dojo.cldr", "number", _298);
        var _29a = _297.pattern || _299[(_297.type || "decimal") + "Format"];
        var _29b = _299.group;
        var _29c = _299.decimal;
        var _29d = 1;
        if (_29a.indexOf("%") != -1) {
            _29d /= 100;
        } else {
            if (_29a.indexOf("‰") != -1) {
                _29d /= 1000;
            } else {
                var _29e = _29a.indexOf("¤") != -1;
                if (_29e) {
                    _29b = _299.currencyGroup || _29b;
                    _29c = _299.currencyDecimal || _29c;
                }
            }
        }
        var _29f = _29a.split(";");
        if (_29f.length == 1) {
            _29f.push("-" + _29f[0]);
        }
        var re = dojo.regexp.buildGroupRE(_29f, function(_2a1) {
            _2a1 = "(?:" + dojo.regexp.escapeString(_2a1, ".") + ")";
            return _2a1.replace(dojo.number._numberPatternRE, function(_2a2) {
                var _2a3 = {signed:false,separator:_297.strict ? _29b : [_29b,""],fractional:_297.fractional,decimal:_29c,exponent:false};
                var _2a4 = _2a2.split(".");
                var _2a5 = _297.places;
                if (_2a4.length == 1 || _2a5 === 0) {
                    _2a3.fractional = false;
                } else {
                    if (typeof _2a5 == "undefined") {
                        _2a5 = _2a4[1].lastIndexOf("0") + 1;
                    }
                    if (_2a5 && _297.fractional == undefined) {
                        _2a3.fractional = true;
                    }
                    if (!_297.places && (_2a5 < _2a4[1].length)) {
                        _2a5 += "," + _2a4[1].length;
                    }
                    _2a3.places = _2a5;
                }
                var _2a6 = _2a4[0].split(",");
                if (_2a6.length > 1) {
                    _2a3.groupSize = _2a6.pop().length;
                    if (_2a6.length > 1) {
                        _2a3.groupSize2 = _2a6.pop().length;
                    }
                }
                return "(" + dojo.number._realNumberRegexp(_2a3) + ")";
            });
        }, true);
        if (_29e) {
            re = re.replace(/(\s*)(\u00a4{1,3})(\s*)/g, function(_2a7, _2a8, _2a9, _2aa) {
                var prop = ["symbol","currency","displayName"][_2a9.length - 1];
                var _2ac = dojo.regexp.escapeString(_297[prop] || _297.currency || "");
                _2a8 = _2a8 ? "\\s" : "";
                _2aa = _2aa ? "\\s" : "";
                if (!_297.strict) {
                    if (_2a8) {
                        _2a8 += "*";
                    }
                    if (_2aa) {
                        _2aa += "*";
                    }
                    return "(?:" + _2a8 + _2ac + _2aa + ")?";
                }
                return _2a8 + _2ac + _2aa;
            });
        }
        return {regexp:re.replace(/[\xa0 ]/g, "[\\s\\xa0]"),group:_29b,decimal:_29c,factor:_29d};
    };
    dojo.number.parse = function(_2ad, _2ae) {
        var info = dojo.number._parseInfo(_2ae);
        var _2b0 = (new RegExp("^" + info.regexp + "$")).exec(_2ad);
        if (!_2b0) {
            return NaN;
        }
        var _2b1 = _2b0[1];
        if (!_2b0[1]) {
            if (!_2b0[2]) {
                return NaN;
            }
            _2b1 = _2b0[2];
            info.factor *= -1;
        }
        _2b1 = _2b1.replace(new RegExp("[" + info.group + "\\s\\xa0" + "]", "g"), "").replace(info.decimal, ".");
        return Number(_2b1) * info.factor;
    };
    dojo.number._realNumberRegexp = function(_2b2) {
        _2b2 = _2b2 || {};
        if (typeof _2b2.places == "undefined") {
            _2b2.places = Infinity;
        }
        if (typeof _2b2.decimal != "string") {
            _2b2.decimal = ".";
        }
        if (typeof _2b2.fractional == "undefined" || /^0/.test(_2b2.places)) {
            _2b2.fractional = [true,false];
        }
        if (typeof _2b2.exponent == "undefined") {
            _2b2.exponent = [true,false];
        }
        if (typeof _2b2.eSigned == "undefined") {
            _2b2.eSigned = [true,false];
        }
        var _2b3 = dojo.number._integerRegexp(_2b2);
        var _2b4 = dojo.regexp.buildGroupRE(_2b2.fractional, function(q) {
            var re = "";
            if (q && (_2b2.places !== 0)) {
                re = "\\" + _2b2.decimal;
                if (_2b2.places == Infinity) {
                    re = "(?:" + re + "\\d+)?";
                } else {
                    re += "\\d{" + _2b2.places + "}";
                }
            }
            return re;
        }, true);
        var _2b7 = dojo.regexp.buildGroupRE(_2b2.exponent, function(q) {
            if (q) {
                return "([eE]" + dojo.number._integerRegexp({signed:_2b2.eSigned}) + ")";
            }
            return "";
        });
        var _2b9 = _2b3 + _2b4;
        if (_2b4) {
            _2b9 = "(?:(?:" + _2b9 + ")|(?:" + _2b4 + "))";
        }
        return _2b9 + _2b7;
    };
    dojo.number._integerRegexp = function(_2ba) {
        _2ba = _2ba || {};
        if (typeof _2ba.signed == "undefined") {
            _2ba.signed = [true,false];
        }
        if (typeof _2ba.separator == "undefined") {
            _2ba.separator = "";
        } else {
            if (typeof _2ba.groupSize == "undefined") {
                _2ba.groupSize = 3;
            }
        }
        var _2bb = dojo.regexp.buildGroupRE(_2ba.signed, function(q) {
            return q ? "[-+]" : "";
        }, true);
        var _2bd = dojo.regexp.buildGroupRE(_2ba.separator, function(sep) {
            if (!sep) {
                return "(?:0|[1-9]\\d*)";
            }
            sep = dojo.regexp.escapeString(sep);
            if (sep == " ") {
                sep = "\\s";
            } else {
                if (sep == " ") {
                    sep = "\\s\\xa0";
                }
            }
            var grp = _2ba.groupSize,grp2 = _2ba.groupSize2;
            if (grp2) {
                var _2c1 = "(?:0|[1-9]\\d{0," + (grp2 - 1) + "}(?:[" + sep + "]\\d{" + grp2 + "})*[" + sep + "]\\d{" + grp + "})";
                return ((grp - grp2) > 0) ? "(?:" + _2c1 + "|(?:0|[1-9]\\d{0," + (grp - 1) + "}))" : _2c1;
            }
            return "(?:0|[1-9]\\d{0," + (grp - 1) + "}(?:[" + sep + "]\\d{" + grp + "})*)";
        }, true);
        return _2bb + _2bd;
    };
}
if (!dojo._hasResource["dijit.ProgressBar"]) {
    dojo._hasResource["dijit.ProgressBar"] = true;
    dojo.provide("dijit.ProgressBar");
    dojo.declare("dijit.ProgressBar", [dijit._Widget,dijit._Templated], {progress:"0",maximum:100,places:0,indeterminate:false,templateString:"<div class=\"dijitProgressBar dijitProgressBarEmpty\"\n\t><div waiRole=\"progressbar\" tabindex=\"0\" dojoAttachPoint=\"internalProgress\" class=\"dijitProgressBarFull\"\n\t\t><div class=\"dijitProgressBarTile\"></div\n\t\t><span style=\"visibility:hidden\">&nbsp;</span\n\t></div\n\t><div dojoAttachPoint=\"label\" class=\"dijitProgressBarLabel\" id=\"${id}_label\">&nbsp;</div\n\t><img dojoAttachPoint=\"inteterminateHighContrastImage\" class=\"dijitProgressBarIndeterminateHighContrastImage\"\n\t></img\n></div>\n",_indeterminateHighContrastImagePath:dojo.moduleUrl("dijit", "themes/a11y/indeterminate_progress.gif"),postCreate:function() {
        this.inherited("postCreate", arguments);
        this.inteterminateHighContrastImage.setAttribute("src", this._indeterminateHighContrastImagePath);
        this.update();
    },update:function(_2c2) {
        dojo.mixin(this, _2c2 || {});
        var _2c3 = 1,_2c4;
        if (this.indeterminate) {
            _2c4 = "addClass";
            dijit.removeWaiState(this.internalProgress, "valuenow");
            dijit.removeWaiState(this.internalProgress, "valuemin");
            dijit.removeWaiState(this.internalProgress, "valuemax");
        } else {
            _2c4 = "removeClass";
            if (String(this.progress).indexOf("%") != -1) {
                _2c3 = Math.min(parseFloat(this.progress) / 100, 1);
                this.progress = _2c3 * this.maximum;
            } else {
                this.progress = Math.min(this.progress, this.maximum);
                _2c3 = this.progress / this.maximum;
            }
            var text = this.report(_2c3);
            this.label.firstChild.nodeValue = text;
            dijit.setWaiState(this.internalProgress, "describedby", this.label.id);
            dijit.setWaiState(this.internalProgress, "valuenow", this.progress);
            dijit.setWaiState(this.internalProgress, "valuemin", 0);
            dijit.setWaiState(this.internalProgress, "valuemax", this.maximum);
        }
        dojo[_2c4](this.domNode, "dijitProgressBarIndeterminate");
        this.internalProgress.style.width = (_2c3 * 100) + "%";
        this.onChange();
    },report:function(_2c6) {
        return dojo.number.format(_2c6, {type:"percent",places:this.places,locale:this.lang});
    },onChange:function() {
    }});
}
if (!dojo._hasResource["dijit.TitlePane"]) {
    dojo._hasResource["dijit.TitlePane"] = true;
    dojo.provide("dijit.TitlePane");
    dojo.declare("dijit.TitlePane", [dijit.layout.ContentPane,dijit._Templated], {title:"",open:true,duration:250,baseClass:"dijitTitlePane",templateString:"<div class=\"dijitTitlePane\">\n\t<div dojoAttachEvent=\"onclick:toggle,onkeypress: _onTitleKey,onfocus:_handleFocus,onblur:_handleFocus\" tabindex=\"0\"\n\t\t\twaiRole=\"button\" class=\"dijitTitlePaneTitle\" dojoAttachPoint=\"focusNode\">\n\t\t<div dojoAttachPoint=\"arrowNode\" class=\"dijitInline dijitArrowNode\"><span dojoAttachPoint=\"arrowNodeInner\" class=\"dijitArrowNodeInner\"></span></div>\n\t\t<div dojoAttachPoint=\"titleNode\" class=\"dijitTitlePaneTextNode\"></div>\n\t</div>\n\t<div class=\"dijitTitlePaneContentOuter\" dojoAttachPoint=\"hideNode\">\n\t\t<div class=\"dijitReset\" dojoAttachPoint=\"wipeNode\">\n\t\t\t<div class=\"dijitTitlePaneContentInner\" dojoAttachPoint=\"containerNode\" waiRole=\"region\" tabindex=\"-1\">\n\t\t\t\t<!-- nested divs because wipeIn()/wipeOut() doesn't work right on node w/padding etc.  Put padding on inner div. -->\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n",postCreate:function() {
        this.setTitle(this.title);
        if (!this.open) {
            this.hideNode.style.display = this.wipeNode.style.display = "none";
        }
        this._setCss();
        dojo.setSelectable(this.titleNode, false);
        this.inherited("postCreate", arguments);
        dijit.setWaiState(this.containerNode, "labelledby", this.titleNode.id);
        dijit.setWaiState(this.focusNode, "haspopup", "true");
        var _2c7 = this.hideNode,_2c8 = this.wipeNode;
        this._wipeIn = dojo.fx.wipeIn({node:this.wipeNode,duration:this.duration,beforeBegin:function() {
            _2c7.style.display = "";
        }});
        this._wipeOut = dojo.fx.wipeOut({node:this.wipeNode,duration:this.duration,onEnd:function() {
            _2c7.style.display = "none";
        }});
    },setContent:function(_2c9) {
        if (this._wipeOut.status() == "playing") {
            this.inherited("setContent", arguments);
        } else {
            if (this._wipeIn.status() == "playing") {
                this._wipeIn.stop();
            }
            dojo.marginBox(this.wipeNode, {h:dojo.marginBox(this.wipeNode).h});
            this.inherited("setContent", arguments);
            this._wipeIn.play();
        }
    },toggle:function() {
        dojo.forEach([this._wipeIn,this._wipeOut], function(_2ca) {
            if (_2ca.status() == "playing") {
                _2ca.stop();
            }
        });
        this[this.open ? "_wipeOut" : "_wipeIn"].play();
        this.open = !this.open;
        this._loadCheck();
        this._setCss();
    },_setCss:function() {
        var _2cb = ["dijitClosed","dijitOpen"];
        var _2cc = this.open;
        dojo.removeClass(this.focusNode, _2cb[!_2cc + 0]);
        this.focusNode.className += " " + _2cb[_2cc + 0];
        this.arrowNodeInner.innerHTML = this.open ? "-" : "+";
    },_onTitleKey:function(e) {
        if (e.keyCode == dojo.keys.ENTER || e.charCode == dojo.keys.SPACE) {
            this.toggle();
        } else {
            if (e.keyCode == dojo.keys.DOWN_ARROW) {
                if (this.open) {
                    this.containerNode.focus();
                    e.preventDefault();
                }
            }
        }
    },_handleFocus:function(e) {
        dojo[(e.type == "focus" ? "addClass" : "removeClass")](this.focusNode, this.baseClass + "Focused");
    },setTitle:function(_2cf) {
        this.titleNode.innerHTML = _2cf;
    }});
}
if (!dojo._hasResource["dijit.Tooltip"]) {
    dojo._hasResource["dijit.Tooltip"] = true;
    dojo.provide("dijit.Tooltip");
    dojo.declare("dijit._MasterTooltip", [dijit._Widget,dijit._Templated], {duration:200,templateString:"<div class=\"dijitTooltip dijitTooltipLeft\" id=\"dojoTooltip\">\n\t<div class=\"dijitTooltipContainer dijitTooltipContents\" dojoAttachPoint=\"containerNode\" waiRole='alert'></div>\n\t<div class=\"dijitTooltipConnector\"></div>\n</div>\n",postCreate:function() {
        dojo.body().appendChild(this.domNode);
        this.bgIframe = new dijit.BackgroundIframe(this.domNode);
        this.fadeIn = dojo.fadeIn({node:this.domNode,duration:this.duration,onEnd:dojo.hitch(this, "_onShow")});
        this.fadeOut = dojo.fadeOut({node:this.domNode,duration:this.duration,onEnd:dojo.hitch(this, "_onHide")});
    },show:function(_2d0, _2d1) {
        if (this.aroundNode && this.aroundNode === _2d1) {
            return;
        }
        if (this.fadeOut.status() == "playing") {
            this._onDeck = arguments;
            return;
        }
        this.containerNode.innerHTML = _2d0;
        this.domNode.style.top = (this.domNode.offsetTop + 1) + "px";
        var _2d2 = this.isLeftToRight() ? {"BR":"BL","BL":"BR"} : {"BL":"BR","BR":"BL"};
        var pos = dijit.placeOnScreenAroundElement(this.domNode, _2d1, _2d2);
        this.domNode.className = "dijitTooltip dijitTooltip" + (pos.corner == "BL" ? "Right" : "Left");
        dojo.style(this.domNode, "opacity", 0);
        this.fadeIn.play();
        this.isShowingNow = true;
        this.aroundNode = _2d1;
    },_onShow:function() {
        if (dojo.isIE) {
            this.domNode.style.filter = "";
        }
    },hide:function(_2d4) {
        if (!this.aroundNode || this.aroundNode !== _2d4) {
            return;
        }
        if (this._onDeck) {
            this._onDeck = null;
            return;
        }
        this.fadeIn.stop();
        this.isShowingNow = false;
        this.aroundNode = null;
        this.fadeOut.play();
    },_onHide:function() {
        this.domNode.style.cssText = "";
        if (this._onDeck) {
            this.show.apply(this, this._onDeck);
            this._onDeck = null;
        }
    }});
    dijit.showTooltip = function(_2d5, _2d6) {
        if (!dijit._masterTT) {
            dijit._masterTT = new dijit._MasterTooltip();
        }
        return dijit._masterTT.show(_2d5, _2d6);
    };
    dijit.hideTooltip = function(_2d7) {
        if (!dijit._masterTT) {
            dijit._masterTT = new dijit._MasterTooltip();
        }
        return dijit._masterTT.hide(_2d7);
    };
    dojo.declare("dijit.Tooltip", dijit._Widget, {label:"",showDelay:400,connectId:[],postCreate:function() {
        if (this.srcNodeRef) {
            this.srcNodeRef.style.display = "none";
        }
        this._connectNodes = [];
        dojo.forEach(this.connectId, function(id) {
            var node = dojo.byId(id);
            if (node) {
                this._connectNodes.push(node);
                dojo.forEach(["onMouseOver","onMouseOut","onFocus","onBlur","onHover","onUnHover"], function(_2da) {
                    this.connect(node, _2da.toLowerCase(), "_" + _2da);
                }, this);
                if (dojo.isIE) {
                    node.style.zoom = 1;
                }
            }
        }, this);
    },_onMouseOver:function(e) {
        this._onHover(e);
    },_onMouseOut:function(e) {
        if (dojo.isDescendant(e.relatedTarget, e.target)) {
            return;
        }
        this._onUnHover(e);
    },_onFocus:function(e) {
        this._focus = true;
        this._onHover(e);
    },_onBlur:function(e) {
        this._focus = false;
        this._onUnHover(e);
    },_onHover:function(e) {
        if (!this._showTimer) {
            var _2e0 = e.target;
            this._showTimer = setTimeout(dojo.hitch(this, function() {
                this.open(_2e0);
            }), this.showDelay);
        }
    },_onUnHover:function(e) {
        if (this._focus) {
            return;
        }
        if (this._showTimer) {
            clearTimeout(this._showTimer);
            delete this._showTimer;
        }
        this.close();
    },open:function(_2e2) {
        _2e2 = _2e2 || this._connectNodes[0];
        if (!_2e2) {
            return;
        }
        if (this._showTimer) {
            clearTimeout(this._showTimer);
            delete this._showTimer;
        }
        dijit.showTooltip(this.label || this.domNode.innerHTML, _2e2);
        this._connectNode = _2e2;
    },close:function() {
        dijit.hideTooltip(this._connectNode);
        delete this._connectNode;
        if (this._showTimer) {
            clearTimeout(this._showTimer);
            delete this._showTimer;
        }
    },uninitialize:function() {
        this.close();
    }});
}
if (!dojo._hasResource["dojo.cookie"]) {
    dojo._hasResource["dojo.cookie"] = true;
    dojo.provide("dojo.cookie");
    dojo.cookie = function(name, _2e4, _2e5) {
        var c = document.cookie;
        if (arguments.length == 1) {
            var idx = c.lastIndexOf(name + "=");
            if (idx == -1) {
                return null;
            }
            var _2e8 = idx + name.length + 1;
            var end = c.indexOf(";", idx + name.length + 1);
            if (end == -1) {
                end = c.length;
            }
            return decodeURIComponent(c.substring(_2e8, end));
        } else {
            _2e5 = _2e5 || {};
            _2e4 = encodeURIComponent(_2e4);
            if (typeof (_2e5.expires) == "number") {
                var d = new Date();
                d.setTime(d.getTime() + (_2e5.expires * 24 * 60 * 60 * 1000));
                _2e5.expires = d;
            }
            document.cookie = name + "=" + _2e4 + (_2e5.expires ? "; expires=" + _2e5.expires.toUTCString() : "") + (_2e5.path ? "; path=" + _2e5.path : "") + (_2e5.domain ? "; domain=" + _2e5.domain : "") + (_2e5.secure ? "; secure" : "");
            return null;
        }
    };
}
if (!dojo._hasResource["dijit.Tree"]) {
    dojo._hasResource["dijit.Tree"] = true;
    dojo.provide("dijit.Tree");
    dojo.declare("dijit._TreeNode", [dijit._Widget,dijit._Templated,dijit._Container,dijit._Contained], {item:null,isTreeNode:true,label:"",isExpandable:null,isExpanded:false,state:"UNCHECKED",templateString:"<div class=\"dijitTreeNode dijitTreeExpandLeaf dijitTreeChildrenNo\" waiRole=\"presentation\"\n\t><span dojoAttachPoint=\"expandoNode\" class=\"dijitTreeExpando\" waiRole=\"presentation\"\n\t></span\n\t><span dojoAttachPoint=\"expandoNodeText\" class=\"dijitExpandoText\" waiRole=\"presentation\"\n\t></span\n\t>\n\t<div dojoAttachPoint=\"contentNode\" class=\"dijitTreeContent\" waiRole=\"presentation\">\n\t\t<div dojoAttachPoint=\"iconNode\" class=\"dijitInline dijitTreeIcon\" waiRole=\"presentation\"></div>\n\t\t<span dojoAttachPoint=\"labelNode\" class=\"dijitTreeLabel\" wairole=\"treeitem\" tabindex=\"-1\"></span>\n\t</div>\n</div>\n",postCreate:function() {
        this.setLabelNode(this.label);
        this._setExpando();
        this._updateItemClasses(this.item);
        if (this.isExpandable) {
            dijit.setWaiState(this.labelNode, "expanded", this.isExpanded);
        }
    },markProcessing:function() {
        this.state = "LOADING";
        this._setExpando(true);
    },unmarkProcessing:function() {
        this._setExpando(false);
    },_updateItemClasses:function(item) {
        this.iconNode.className = "dijitInline dijitTreeIcon " + this.tree.getIconClass(item);
        this.labelNode.className = "dijitTreeLabel " + this.tree.getLabelClass(item);
    },_updateLayout:function() {
        var _2ec = this.getParent();
        if (_2ec && _2ec.isTree && _2ec._hideRoot) {
            dojo.addClass(this.domNode, "dijitTreeIsRoot");
        } else {
            dojo.toggleClass(this.domNode, "dijitTreeIsLast", !this.getNextSibling());
        }
    },_setExpando:function(_2ed) {
        var _2ee = ["dijitTreeExpandoLoading","dijitTreeExpandoOpened","dijitTreeExpandoClosed","dijitTreeExpandoLeaf"];
        var idx = _2ed ? 0 : (this.isExpandable ? (this.isExpanded ? 1 : 2) : 3);
        dojo.forEach(_2ee, function(s) {
            dojo.removeClass(this.expandoNode, s);
        }, this);
        dojo.addClass(this.expandoNode, _2ee[idx]);
        this.expandoNodeText.innerHTML = _2ed ? "*" : (this.isExpandable ? (this.isExpanded ? "-" : "+") : "*");
    },expand:function() {
        if (this.isExpanded) {
            return;
        }
        if (this._wipeOut.status() == "playing") {
            this._wipeOut.stop();
        }
        this.isExpanded = true;
        dijit.setWaiState(this.labelNode, "expanded", "true");
        dijit.setWaiRole(this.containerNode, "group");
        this._setExpando();
        this._wipeIn.play();
    },collapse:function() {
        if (!this.isExpanded) {
            return;
        }
        if (this._wipeIn.status() == "playing") {
            this._wipeIn.stop();
        }
        this.isExpanded = false;
        dijit.setWaiState(this.labelNode, "expanded", "false");
        this._setExpando();
        this._wipeOut.play();
    },setLabelNode:function(_2f1) {
        this.labelNode.innerHTML = "";
        this.labelNode.appendChild(document.createTextNode(_2f1));
    },_setChildren:function(_2f2) {
        this.destroyDescendants();
        this.state = "LOADED";
        var _2f3 = {};
        if (_2f2 && _2f2.length > 0) {
            this.isExpandable = true;
            if (!this.containerNode) {
                this.containerNode = this.tree.containerNodeTemplate.cloneNode(true);
                this.domNode.appendChild(this.containerNode);
            }
            dojo.forEach(_2f2, function(_2f4) {
                var _2f5 = new dijit._TreeNode(dojo.mixin({tree:this.tree,label:this.tree.getLabel(_2f4.item)}, _2f4));
                this.addChild(_2f5);
                var _2f6 = this.tree.store.getIdentity(_2f4.item);
                _2f3[_2f6] = _2f5;
                if (this.tree.persist) {
                    if (this.tree._openedItemIds[_2f6]) {
                        this.tree._expandNode(_2f5);
                    }
                }
            }, this);
            dojo.forEach(this.getChildren(), function(_2f7, idx) {
                _2f7._updateLayout();
            });
        } else {
            this.isExpandable = false;
        }
        if (this._setExpando) {
            this._setExpando(false);
        }
        if (this.isTree && this._hideRoot) {
            var fc = this.getChildren()[0];
            var _2fa = fc ? fc.labelNode : this.domNode;
            _2fa.setAttribute("tabIndex", "0");
        }
        if (this.containerNode && !this._wipeIn) {
            this._wipeIn = dojo.fx.wipeIn({node:this.containerNode,duration:150});
            this._wipeOut = dojo.fx.wipeOut({node:this.containerNode,duration:150});
        }
        return _2f3;
    },_addChildren:function(_2fb) {
        var _2fc = {};
        if (_2fb && _2fb.length > 0) {
            dojo.forEach(_2fb, function(_2fd) {
                var _2fe = new dijit._TreeNode(dojo.mixin({tree:this.tree,label:this.tree.getLabel(_2fd.item)}, _2fd));
                this.addChild(_2fe);
                _2fc[this.tree.store.getIdentity(_2fd.item)] = _2fe;
            }, this);
            dojo.forEach(this.getChildren(), function(_2ff, idx) {
                _2ff._updateLayout();
            });
        }
        return _2fc;
    },deleteNode:function(node) {
        node.destroy();
        var _302 = this.getChildren();
        if (_302.length == 0) {
            this.isExpandable = false;
            this.collapse();
        }
        dojo.forEach(_302, function(_303) {
            _303._updateLayout();
        });
    },makeExpandable:function() {
        this.isExpandable = true;
        this._setExpando(false);
    }});
    dojo.declare("dijit.Tree", dijit._TreeNode, {store:null,query:null,childrenAttr:["children"],templateString:"<div class=\"dijitTreeContainer\" style=\"\" waiRole=\"tree\"\n\tdojoAttachEvent=\"onclick:_onClick,onkeypress:_onKeyPress\">\n\t<div class=\"dijitTreeNode  dijitTreeIsRoot dijitTreeExpandLeaf dijitTreeChildrenNo\" waiRole=\"presentation\"\n\t\tdojoAttachPoint=\"rowNode\"\n\t\t><span dojoAttachPoint=\"expandoNode\" class=\"dijitTreeExpando\" waiRole=\"presentation\"\n\t\t></span\n\t\t><span dojoAttachPoint=\"expandoNodeText\" class=\"dijitExpandoText\" waiRole=\"presentation\"\n\t\t></span\n\t\t>\n\t\t<div dojoAttachPoint=\"contentNode\" class=\"dijitTreeContent\" waiRole=\"presentation\">\n\t\t\t<div dojoAttachPoint=\"iconNode\" class=\"dijitInline dijitTreeIcon\" waiRole=\"presentation\"></div>\n\t\t\t<span dojoAttachPoint=\"labelNode\" class=\"dijitTreeLabel\" wairole=\"treeitem\" tabindex=\"0\"></span>\n\t\t</div>\n\t</div>\n</div>\n",isExpandable:true,isTree:true,persist:true,dndController:null,dndParams:["onDndDrop","itemCreator","onDndCancel","checkAcceptance","checkItemAcceptance"],onDndDrop:null,itemCreator:null,onDndCancel:null,checkAcceptance:null,checkItemAcceptance:null,_publish:function(_304, _305) {
        dojo.publish(this.id, [dojo.mixin({tree:this,event:_304}, _305 || {})]);
    },postMixInProperties:function() {
        this.tree = this;
        this.lastFocused = this.labelNode;
        this._itemNodeMap = {};
        this._hideRoot = !this.label;
        if (!this.store.getFeatures()["dojo.data.api.Identity"]) {
            throw new Error("dijit.tree requires access to a store supporting the dojo.data Identity api");
        }
        if (!this.cookieName) {
            this.cookieName = this.id + "SaveStateCookie";
        }
        if (this.store.getFeatures()["dojo.data.api.Notification"]) {
            this.connect(this.store, "onNew", "_onNewItem");
            this.connect(this.store, "onDelete", "_onDeleteItem");
            this.connect(this.store, "onSet", "_onSetItem");
        }
    },postCreate:function() {
        if (this.persist) {
            var _306 = dojo.cookie(this.cookieName);
            this._openedItemIds = {};
            if (_306) {
                dojo.forEach(_306.split(","), function(item) {
                    this._openedItemIds[item] = true;
                }, this);
            }
        }
        var div = document.createElement("div");
        div.style.display = "none";
        div.className = "dijitTreeContainer";
        dijit.setWaiRole(div, "presentation");
        this.containerNodeTemplate = div;
        if (this._hideRoot) {
            this.rowNode.style.display = "none";
        }
        this.inherited("postCreate", arguments);
        this._expandNode(this);
        if (this.dndController) {
            if (dojo.isString(this.dndController)) {
                this.dndController = dojo.getObject(this.dndController);
            }
            var _309 = {};
            for (var i = 0; i < this.dndParams.length; i++) {
                if (this[this.dndParams[i]]) {
                    _309[this.dndParams[i]] = this[this.dndParams[i]];
                }
            }
            this.dndController = new this.dndController(this, _309);
        }
        this.connect(this.domNode, dojo.isIE ? "onactivate" : "onfocus", "_onTreeFocus");
    },mayHaveChildren:function(item) {
        return dojo.some(this.childrenAttr, function(attr) {
            return this.store.hasAttribute(item, attr);
        }, this);
    },getItemChildren:function(_30d, _30e) {
        var _30f = this.store;
        if (_30d == null) {
            _30f.fetch({query:this.query,onComplete:_30e});
        } else {
            var _310 = [];
            for (var i = 0; i < this.childrenAttr.length; i++) {
                _310 = _310.concat(_30f.getValues(_30d, this.childrenAttr[i]));
            }
            var _312 = 0;
            dojo.forEach(_310, function(item) {
                if (!_30f.isItemLoaded(item)) {
                    _312++;
                }
            });
            if (_312 == 0) {
                _30e(_310);
            } else {
                function onItem(item) {
                    if (--_312 == 0) {
                        _30e(_310);
                    }
                }
                ;
                dojo.forEach(_310, function(item) {
                    if (!_30f.isItemLoaded(item)) {
                        _30f.loadItem({item:item,onItem:onItem});
                    }
                });
            }
        }
    },getItemParentIdentity:function(item, _317) {
        return this.store.getIdentity(_317.item);
    },getLabel:function(item) {
        return this.store.getLabel(item);
    },getIconClass:function(item) {
    },getLabelClass:function(item) {
    },_onLoadAllItems:function(node, _31c) {
        var _31d = dojo.map(_31c, function(item) {
            return {item:item,isExpandable:this.mayHaveChildren(item)};
        }, this);
        dojo.mixin(this._itemNodeMap, node._setChildren(_31d));
        this._expandNode(node);
    },_onKeyPress:function(e) {
        if (e.altKey) {
            return;
        }
        var _320 = dijit.getEnclosingWidget(e.target);
        if (!_320) {
            return;
        }
        if (e.charCode) {
            var _321 = e.charCode;
            if (!e.altKey && !e.ctrlKey && !e.shiftKey && !e.metaKey) {
                _321 = (String.fromCharCode(_321)).toLowerCase();
                this._onLetterKeyNav({node:_320,key:_321});
                dojo.stopEvent(e);
            }
        } else {
            var map = this._keyHandlerMap;
            if (!map) {
                map = {};
                map[dojo.keys.ENTER] = "_onEnterKey";
                map[dojo.keys.LEFT_ARROW] = "_onLeftArrow";
                map[dojo.keys.RIGHT_ARROW] = "_onRightArrow";
                map[dojo.keys.UP_ARROW] = "_onUpArrow";
                map[dojo.keys.DOWN_ARROW] = "_onDownArrow";
                map[dojo.keys.HOME] = "_onHomeKey";
                map[dojo.keys.END] = "_onEndKey";
                this._keyHandlerMap = map;
            }
            if (this._keyHandlerMap[e.keyCode]) {
                this[this._keyHandlerMap[e.keyCode]]({node:_320,item:_320.item});
                dojo.stopEvent(e);
            }
        }
    },_onEnterKey:function(_323) {
        this._publish("execute", {item:_323.item,node:_323.node});
        this.onClick(_323.item, _323.node);
    },_onDownArrow:function(_324) {
        var _325 = this._navToNextNode(_324.node);
        if (_325 && _325.isTreeNode) {
            _325.tree.focusNode(_325);
            return _325;
        }
    },_onUpArrow:function(_326) {
        var _327 = _326.node;
        var _328 = _327;
        var _329 = _327.getPreviousSibling();
        if (_329) {
            _327 = _329;
            while (_327.isExpandable && _327.isExpanded && _327.hasChildren()) {
                _328 = _327;
                var _32a = _327.getChildren();
                _327 = _32a[_32a.length - 1];
            }
        } else {
            var _32b = _327.getParent();
            if (!(this._hideRoot && _32b === this)) {
                _327 = _32b;
            }
        }
        if (_327 && _327.isTreeNode) {
            _328 = _327;
        }
        if (_328 && _328.isTreeNode) {
            _328.tree.focusNode(_328);
            return _328;
        }
    },_onRightArrow:function(_32c) {
        var _32d = _32c.node;
        var _32e = _32d;
        if (_32d.isExpandable && !_32d.isExpanded) {
            this._expandNode(_32d);
        } else {
            if (_32d.hasChildren()) {
                _32d = _32d.getChildren()[0];
            }
        }
        if (_32d && _32d.isTreeNode) {
            _32e = _32d;
        }
        if (_32e && _32e.isTreeNode) {
            _32e.tree.focusNode(_32e);
            return _32e;
        }
    },_onLeftArrow:function(_32f) {
        var node = _32f.node;
        var _331 = node;
        if (node.isExpandable && node.isExpanded) {
            this._collapseNode(node);
        } else {
            node = node.getParent();
        }
        if (node && node.isTreeNode) {
            _331 = node;
        }
        if (_331 && _331.isTreeNode) {
            _331.tree.focusNode(_331);
            return _331;
        }
    },_onHomeKey:function() {
        var _332 = this._navToRootOrFirstNode();
        if (_332) {
            _332.tree.focusNode(_332);
            return _332;
        }
    },_onEndKey:function(_333) {
        var _334 = _333.node.tree;
        var _335 = _334;
        while (_335.isExpanded) {
            var c = _335.getChildren();
            _335 = c[c.length - 1];
            if (_335.isTreeNode) {
                _334 = _335;
            }
        }
        if (_334 && _334.isTreeNode) {
            _334.tree.focusNode(_334);
            return _334;
        }
    },_onLetterKeyNav:function(_337) {
        var node = startNode = _337.node;
        var key = _337.key;
        do{
            node = this._navToNextNode(node);
            if (!node) {
                node = this._navToRootOrFirstNode();
            }
        } while (node !== startNode && (node.label.charAt(0).toLowerCase() != key));
        if (node && node.isTreeNode) {
            if (node !== startNode) {
                node.tree.focusNode(node);
            }
            return node;
        }
    },_onClick:function(e) {
        var _33b = e.target;
        var _33c = dijit.getEnclosingWidget(_33b);
        if (!_33c || !_33c.isTreeNode) {
            return;
        }
        if (_33b == _33c.expandoNode || _33b == _33c.expandoNodeText) {
            if (_33c.isExpandable) {
                this._onExpandoClick({node:_33c});
            }
        } else {
            this._publish("execute", {item:_33c.item,node:_33c});
            this.onClick(_33c.item, _33c);
            this.focusNode(_33c);
        }
        dojo.stopEvent(e);
    },_onExpandoClick:function(_33d) {
        var node = _33d.node;
        if (node.isExpanded) {
            this._collapseNode(node);
        } else {
            this._expandNode(node);
        }
    },onClick:function(item, node) {
    },_navToNextNode:function(node) {
        var _342;
        if (node.isExpandable && node.isExpanded && node.hasChildren()) {
            _342 = node.getChildren()[0];
        } else {
            while (node && node.isTreeNode) {
                _342 = node.getNextSibling();
                if (_342) {
                    break;
                }
                node = node.getParent();
            }
        }
        return _342;
    },_navToRootOrFirstNode:function() {
        if (!this._hideRoot) {
            return this;
        } else {
            var _343 = this.getChildren()[0];
            if (_343 && _343.isTreeNode) {
                return _343;
            }
        }
    },_collapseNode:function(node) {
        if (node.isExpandable) {
            if (node.state == "LOADING") {
                return;
            }
            if (this.lastFocused) {
                if (dojo.isDescendant(this.lastFocused.domNode, node.domNode)) {
                    this.focusNode(node);
                } else {
                    this.focusNode(this.lastFocused);
                }
            }
            node.collapse();
            if (this.persist && node.item) {
                delete this._openedItemIds[this.store.getIdentity(node.item)];
                this._saveState();
            }
        }
    },_expandNode:function(node) {
        var t = node.tree;
        if (t.lastFocused) {
            t.focusNode(t.lastFocused);
        }
        if (!node.isExpandable) {
            return;
        }
        var _347 = this.store;
        var _348 = this.store.getValue;
        switch (node.state) {case "LOADING":return;case "UNCHECKED":node.markProcessing();var _349 = this;var _34a = function(_34b) {
            node.unmarkProcessing();
            _349._onLoadAllItems(node, _34b);
        };this.getItemChildren(node.item, _34a);break;default:if (node.expand) {
            node.expand();
            if (this.persist && node.item) {
                this._openedItemIds[this.store.getIdentity(node.item)] = true;
                this._saveState();
            }
        }break;}
    },blurNode:function() {
        var node = this.lastFocused;
        if (!node) {
            return;
        }
        var _34d = node.labelNode;
        dojo.removeClass(_34d, "dijitTreeLabelFocused");
        _34d.setAttribute("tabIndex", "-1");
        this.lastFocused = null;
    },focusNode:function(node) {
        node.labelNode.focus();
    },_onBlur:function() {
        if (this.lastFocused) {
            var _34f = this.lastFocused.labelNode;
            dojo.removeClass(_34f, "dijitTreeLabelFocused");
        }
    },_onTreeFocus:function(evt) {
        var node = dijit.getEnclosingWidget(evt.target);
        if (node != this.lastFocused) {
            this.blurNode();
        }
        var _352 = node.labelNode;
        _352.setAttribute("tabIndex", "0");
        dojo.addClass(_352, "dijitTreeLabelFocused");
        this.lastFocused = node;
    },_onNewItem:function(item, _354) {
        var _355;
        if (_354) {
            var _356 = this._itemNodeMap[this.getItemParentIdentity(item, _354)];
            if (!_356 || dojo.indexOf(this.childrenAttr, _354.attribute) == -1) {
                return;
            }
        }
        var _357 = {item:item,isExpandable:this.mayHaveChildren(item)};
        if (_356) {
            if (!_356.isExpandable) {
                _356.makeExpandable();
            }
            if (_356.state == "LOADED" || _356.isExpanded) {
                var _358 = _356._addChildren([_357]);
            }
        } else {
            var _358 = this._addChildren([_357]);
        }
        if (_358) {
            dojo.mixin(this._itemNodeMap, _358);
        }
    },_onDeleteItem:function(item) {
        var _35a = this.store.getIdentity(item);
        var node = this._itemNodeMap[_35a];
        if (node) {
            var _35c = node.getParent();
            _35c.deleteNode(node);
            this._itemNodeMap[_35a] = null;
        }
    },_onSetItem:function(item) {
        var _35e = this.store.getIdentity(item);
        node = this._itemNodeMap[_35e];
        if (node) {
            node.setLabelNode(this.getLabel(item));
            node._updateItemClasses(item);
        }
    },_saveState:function() {
        if (!this.persist) {
            return;
        }
        var ary = [];
        for (var id in this._openedItemIds) {
            ary.push(id);
        }
        dojo.cookie(this.cookieName, ary.join(","));
    }});
}
if (!dojo._hasResource["dijit.form.TextBox"]) {
    dojo._hasResource["dijit.form.TextBox"] = true;
    dojo.provide("dijit.form.TextBox");
    dojo.declare("dijit.form.TextBox", dijit.form._FormWidget, {trim:false,uppercase:false,lowercase:false,propercase:false,maxLength:"",templateString:"<input class=\"dojoTextBox\" dojoAttachPoint='textbox,focusNode' name=\"${name}\"\n\tdojoAttachEvent='onmouseenter:_onMouse,onmouseleave:_onMouse,onfocus:_onMouse,onblur:_onMouse,onkeyup,onkeypress:_onKeyPress'\n\tautocomplete=\"off\" type=\"${type}\"\n\t/>\n",baseClass:"dijitTextBox",attributeMap:dojo.mixin(dojo.clone(dijit.form._FormWidget.prototype.attributeMap), {maxLength:"focusNode"}),getDisplayedValue:function() {
        return this.filter(this.textbox.value);
    },getValue:function() {
        return this.parse(this.getDisplayedValue(), this.constraints);
    },setValue:function(_361, _362, _363) {
        var _364 = this.filter(_361);
        if ((typeof _364 == typeof _361) && (_363 == null || _363 == undefined)) {
            _363 = this.format(_364, this.constraints);
        }
        if (_363 != null && _363 != undefined) {
            this.textbox.value = _363;
        }
        dijit.form.TextBox.superclass.setValue.call(this, _364, _362);
    },setDisplayedValue:function(_365) {
        this.textbox.value = _365;
        this.setValue(this.getValue(), true);
    },forWaiValuenow:function() {
        return this.getDisplayedValue();
    },format:function(_366, _367) {
        return ((_366 == null || _366 == undefined) ? "" : (_366.toString ? _366.toString() : _366));
    },parse:function(_368, _369) {
        return _368;
    },postCreate:function() {
        this.textbox.setAttribute("value", this.getDisplayedValue());
        this.inherited("postCreate", arguments);
        if (this.srcNodeRef) {
            dojo.style(this.textbox, "cssText", this.style);
            this.textbox.className += " " + this["class"];
        }
        this._layoutHack();
    },_layoutHack:function() {
        if (dojo.isFF == 2 && this.domNode.tagName == "TABLE") {
            var node = this.domNode;
            var old = node.style.opacity;
            node.style.opacity = "0.999";
            setTimeout(function() {
                node.style.opacity = old;
            }, 0);
        }
    },filter:function(val) {
        if (val == undefined || val == null) {
            return "";
        } else {
            if (typeof val != "string") {
                return val;
            }
        }
        if (this.trim) {
            val = dojo.trim(val);
        }
        if (this.uppercase) {
            val = val.toUpperCase();
        }
        if (this.lowercase) {
            val = val.toLowerCase();
        }
        if (this.propercase) {
            val = val.replace(/[^\s]+/g, function(word) {
                return word.substring(0, 1).toUpperCase() + word.substring(1);
            });
        }
        return val;
    },_onBlur:function() {
        this.setValue(this.getValue(), (this.isValid ? this.isValid() : true));
    },onkeyup:function() {
    }});
}
if (!dojo._hasResource["dijit.InlineEditBox"]) {
    dojo._hasResource["dijit.InlineEditBox"] = true;
    dojo.provide("dijit.InlineEditBox");
    dojo.declare("dijit.InlineEditBox", dijit._Widget, {editing:false,autoSave:true,buttonSave:"",buttonCancel:"",renderAsHtml:false,editor:"dijit.form.TextBox",editorParams:{},onChange:function(_36e) {
    },width:"100%",value:"",noValueIndicator:"<span style='font-family: wingdings; text-decoration: underline;'>&nbsp;&nbsp;&nbsp;&nbsp;&#x270d;&nbsp;&nbsp;&nbsp;&nbsp;</span>",postMixInProperties:function() {
        this.inherited("postMixInProperties", arguments);
        this.displayNode = this.srcNodeRef;
        var _36f = {ondijitclick:"_onClick",onmouseover:"_onMouseOver",onmouseout:"_onMouseOut",onfocus:"_onMouseOver",onblur:"_onMouseOut"};
        for (var name in _36f) {
            this.connect(this.displayNode, name, _36f[name]);
        }
        dijit.setWaiRole(this.displayNode, "button");
        if (!this.displayNode.getAttribute("tabIndex")) {
            this.displayNode.setAttribute("tabIndex", 0);
        }
        if (!this.value) {
            this.value = this.displayNode.innerHTML;
        }
        this._setDisplayValue(this.value);
    },_onMouseOver:function() {
        dojo.addClass(this.displayNode, this.disabled ? "dijitDisabledClickableRegion" : "dijitClickableRegion");
    },_onMouseOut:function() {
        dojo.removeClass(this.displayNode, this.disabled ? "dijitDisabledClickableRegion" : "dijitClickableRegion");
    },_onClick:function(e) {
        if (this.disabled) {
            return;
        }
        if (e) {
            dojo.stopEvent(e);
        }
        this._onMouseOut();
        setTimeout(dojo.hitch(this, "_edit"), 0);
    },_edit:function() {
        this.editing = true;
        var _372 = (this.renderAsHtml ? this.value : this.value.replace(/\s*\r?\n\s*/g, "").replace(/<br\/?>/gi, "\n").replace(/&gt;/g, ">").replace(/&lt;/g, "<").replace(/&amp;/g, "&"));
        var _373 = document.createElement("span");
        dojo.place(_373, this.domNode, "before");
        var ew = this.editWidget = new dijit._InlineEditor({value:dojo.trim(_372),autoSave:this.autoSave,buttonSave:this.buttonSave,buttonCancel:this.buttonCancel,renderAsHtml:this.renderAsHtml,editor:this.editor,editorParams:this.editorParams,style:dojo.getComputedStyle(this.displayNode),save:dojo.hitch(this, "save"),cancel:dojo.hitch(this, "cancel"),width:this.width}, _373);
        var ews = ew.domNode.style;
        this.displayNode.style.display = "none";
        ews.position = "static";
        ews.visibility = "visible";
        this.domNode = ew.domNode;
        setTimeout(function() {
            ew.focus();
        }, 100);
    },_showText:function(_376) {
        this.displayNode.style.display = "";
        var ews = this.editWidget.domNode.style;
        ews.position = "absolute";
        ews.visibility = "hidden";
        this.domNode = this.displayNode;
        var _378 = this;
        setTimeout(function() {
            if (_376) {
                dijit.focus(_378.displayNode);
            }
            _378.editWidget.destroy();
            delete _378.editWidget;
        }, 100);
    },save:function(_379) {
        this.editing = false;
        this.value = this.editWidget.getValue() + "";
        if (this.renderAsHtml) {
            this.value = this.value.replace(/&/gm, "&amp;").replace(/</gm, "&lt;").replace(/>/gm, "&gt;").replace(/"/gm, "&quot;").replace("\n", "<br>");
        }
        this._setDisplayValue(this.value);
        this.onChange(this.value);
        this._showText(_379);
    },_setDisplayValue:function(val) {
        this.displayNode.innerHTML = val || this.noValueIndicator;
    },cancel:function(_37b) {
        this.editing = false;
        this._showText(_37b);
    }});
    dojo.declare("dijit._InlineEditor", [dijit._Widget,dijit._Templated], {templateString:"<fieldset dojoAttachPoint=\"editNode\" waiRole=\"presentation\" style=\"position: absolute; visibility:hidden\" class=\"dijitReset dijitInline\"\n\tdojoAttachEvent=\"onkeypress: _onKeyPress\" \n\t><input dojoAttachPoint=\"editorPlaceholder\"\n\t/><span dojoAttachPoint=\"buttonContainer\"\n\t\t><button class='saveButton' dojoAttachPoint=\"saveButton\" dojoType=\"dijit.form.Button\" dojoAttachEvent=\"onClick:save\">${buttonSave}</button\n\t\t><button class='cancelButton' dojoAttachPoint=\"cancelButton\" dojoType=\"dijit.form.Button\" dojoAttachEvent=\"onClick:cancel\">${buttonCancel}</button\n\t></span\n></fieldset>\n",widgetsInTemplate:true,postMixInProperties:function() {
        this.inherited("postMixInProperties", arguments);
        this.messages = dojo.i18n.getLocalization("dijit", "common", this.lang);
        dojo.forEach(["buttonSave","buttonCancel"], function(prop) {
            if (!this[prop]) {
                this[prop] = this.messages[prop];
            }
        }, this);
    },postCreate:function() {
        var cls = dojo.getObject(this.editor);
        var ew = this.editWidget = new cls(this.editorParams, this.editorPlaceholder);
        var _37f = this.style;
        dojo.forEach(["fontWeight","fontFamily","fontSize","fontStyle"], function(prop) {
            ew.focusNode.style[prop] = _37f[prop];
        }, this);
        dojo.forEach(["marginTop","marginBottom","marginLeft","marginRight"], function(prop) {
            this.domNode.style[prop] = _37f[prop];
        }, this);
        if (this.width == "100%") {
            ew.domNode.style.width = "100%";
            this.domNode.style.display = "block";
        } else {
            ew.domNode.style.width = this.width + (Number(this.width) == this.width ? "px" : "");
        }
        this.connect(this.editWidget, "onChange", "_onChange");
        this._ignoreNextOnChange = true;
        (this.editWidget.setDisplayedValue || this.editWidget.setValue).call(this.editWidget, this.value);
        this._initialText = this.getValue();
        if (this.autoSave) {
            this.buttonContainer.style.display = "none";
        }
    },destroy:function() {
        this.editWidget.destroy();
        this.inherited(arguments);
    },getValue:function() {
        var ew = this.editWidget;
        return ew.getDisplayedValue ? ew.getDisplayedValue() : ew.getValue();
    },_onKeyPress:function(e) {
        if (this._exitInProgress) {
            return;
        }
        if (this.autoSave) {
            if (e.keyCode == dojo.keys.ESCAPE) {
                dojo.stopEvent(e);
                this._exitInProgress = true;
                this.cancel(true);
            } else {
                if (e.keyCode == dojo.keys.ENTER) {
                    dojo.stopEvent(e);
                    this._exitInProgress = true;
                    this.save(true);
                }
            }
        } else {
            var _384 = this;
            setTimeout(function() {
                _384.saveButton.setDisabled(_384.getValue() == _384._initialText);
            }, 100);
        }
    },_onBlur:function() {
        if (this._exitInProgress) {
            return;
        }
        if (this.autoSave) {
            this._exitInProgress = true;
            if (this.getValue() == this._initialText) {
                this.cancel(false);
            } else {
                this.save(false);
            }
        }
    },enableSave:function() {
        return this.editWidget.isValid ? this.editWidget.isValid() : true;
    },_onChange:function() {
        if (this._ignoreNextOnChange) {
            delete this._ignoreNextOnChange;
            return;
        }
        if (this._exitInProgress) {
            return;
        }
        if (this.autoSave) {
            this._exitInProgress = true;
            this.save(true);
        } else {
            this.saveButton.setDisabled((this.getValue() == this._initialText) || !this.enableSave());
        }
    },enableSave:function() {
        return this.editWidget.isValid ? this.editWidget.isValid() : true;
    },focus:function() {
        this.editWidget.focus();
        dijit.selectInputText(this.editWidget.focusNode);
    }});
    dijit.selectInputText = function(_385) {
        var _386 = dojo.global;
        var _387 = dojo.doc;
        _385 = dojo.byId(_385);
        if (_387["selection"] && dojo.body()["createTextRange"]) {
            if (_385.createTextRange) {
                var _388 = _385.createTextRange();
                _388.moveStart("character", 0);
                _388.moveEnd("character", _385.value.length);
                _388.select();
            }
        } else {
            if (_386["getSelection"]) {
                var _389 = _386.getSelection();
                if (_385.setSelectionRange) {
                    _385.setSelectionRange(0, _385.value.length);
                }
            }
        }
        _385.focus();
    };
}
if (!dojo._hasResource["dijit.form.CheckBox"]) {
    dojo._hasResource["dijit.form.CheckBox"] = true;
    dojo.provide("dijit.form.CheckBox");
    dojo.declare("dijit.form.CheckBox", dijit.form.ToggleButton, {templateString:"<fieldset class=\"dijitReset dijitInline\" waiRole=\"presentation\"\n\t><input\n\t \ttype=\"${type}\" name=\"${name}\"\n\t\tclass=\"dijitReset dijitCheckBoxInput\"\n\t\tdojoAttachPoint=\"inputNode,focusNode\"\n\t \tdojoAttachEvent=\"onmouseover:_onMouse,onmouseout:_onMouse,onclick:_onClick\"\n/></fieldset>\n",baseClass:"dijitCheckBox",type:"checkbox",value:"on",postCreate:function() {
        dojo.setSelectable(this.inputNode, false);
        this.setChecked(this.checked);
        this.inherited(arguments);
    },setChecked:function(_38a) {
        if (dojo.isIE) {
            if (_38a) {
                this.inputNode.setAttribute("checked", "checked");
            } else {
                this.inputNode.removeAttribute("checked");
            }
        } else {
            this.inputNode.checked = _38a;
        }
        this.inherited(arguments);
    },setValue:function(_38b) {
        if (_38b == null) {
            _38b = "";
        }
        this.inputNode.value = _38b;
        dijit.form.CheckBox.superclass.setValue.call(this, _38b);
    }});
    dojo.declare("dijit.form.RadioButton", dijit.form.CheckBox, {type:"radio",baseClass:"dijitRadio",_groups:{},postCreate:function() {
        (this._groups[this.name] = this._groups[this.name] || []).push(this);
        this.inherited(arguments);
    },uninitialize:function() {
        dojo.forEach(this._groups[this.name], function(_38c, i, arr) {
            if (_38c === this) {
                arr.splice(i, 1);
                return;
            }
        }, this);
    },setChecked:function(_38f) {
        if (_38f) {
            dojo.forEach(this._groups[this.name], function(_390) {
                if (_390 != this && _390.checked) {
                    _390.setChecked(false);
                }
            }, this);
        }
        this.inherited(arguments);
    },_clicked:function(e) {
        if (!this.checked) {
            this.setChecked(true);
        }
    }});
}
if (!dojo._hasResource["dojo.data.util.filter"]) {
    dojo._hasResource["dojo.data.util.filter"] = true;
    dojo.provide("dojo.data.util.filter");
    dojo.data.util.filter.patternToRegExp = function(_392, _393) {
        var rxp = "^";
        var c = null;
        for (var i = 0; i < _392.length; i++) {
            c = _392.charAt(i);
            switch (c) {case "\\":rxp += c;i++;rxp += _392.charAt(i);break;case "*":rxp += ".*";break;case "?":rxp += ".";break;case "$":case "^":case "/":case "+":case ".":case "|":case "(":case ")":case "{":case "}":case "[":case "]":rxp += "\\";default:rxp += c;}
        }
        rxp += "$";
        if (_393) {
            return new RegExp(rxp, "i");
        } else {
            return new RegExp(rxp);
        }
    };
}
if (!dojo._hasResource["dojo.data.util.sorter"]) {
    dojo._hasResource["dojo.data.util.sorter"] = true;
    dojo.provide("dojo.data.util.sorter");
    dojo.data.util.sorter.basicComparator = function(a, b) {
        var ret = 0;
        if (a > b || typeof a === "undefined" || a === null) {
            ret = 1;
        } else {
            if (a < b || typeof b === "undefined" || b === null) {
                ret = -1;
            }
        }
        return ret;
    };
    dojo.data.util.sorter.createSortFunction = function(_39a, _39b) {
        var _39c = [];
        function createSortFunction(attr, dir) {
            return function(_39f, _3a0) {
                var a = _39b.getValue(_39f, attr);
                var b = _39b.getValue(_3a0, attr);
                var _3a3 = null;
                if (_39b.comparatorMap) {
                    if (typeof attr !== "string") {
                        attr = _39b.getIdentity(attr);
                    }
                    _3a3 = _39b.comparatorMap[attr] || dojo.data.util.sorter.basicComparator;
                }
                _3a3 = _3a3 || dojo.data.util.sorter.basicComparator;
                return dir * _3a3(a, b);
            };
        }
        ;
        for (var i = 0; i < _39a.length; i++) {
            sortAttribute = _39a[i];
            if (sortAttribute.attribute) {
                var _3a5 = (sortAttribute.descending) ? -1 : 1;
                _39c.push(createSortFunction(sortAttribute.attribute, _3a5));
            }
        }
        return function(rowA, rowB) {
            var i = 0;
            while (i < _39c.length) {
                var ret = _39c[i++](rowA, rowB);
                if (ret !== 0) {
                    return ret;
                }
            }
            return 0;
        };
    };
}
if (!dojo._hasResource["dojo.data.util.simpleFetch"]) {
    dojo._hasResource["dojo.data.util.simpleFetch"] = true;
    dojo.provide("dojo.data.util.simpleFetch");
    dojo.data.util.simpleFetch.fetch = function(_3aa) {
        _3aa = _3aa || {};
        if (!_3aa.store) {
            _3aa.store = this;
        }
        var self = this;
        var _3ac = function(_3ad, _3ae) {
            if (_3ae.onError) {
                var _3af = _3ae.scope || dojo.global;
                _3ae.onError.call(_3af, _3ad, _3ae);
            }
        };
        var _3b0 = function(_3b1, _3b2) {
            var _3b3 = _3b2.abort || null;
            var _3b4 = false;
            var _3b5 = _3b2.start ? _3b2.start : 0;
            var _3b6 = _3b2.count ? (_3b5 + _3b2.count) : _3b1.length;
            _3b2.abort = function() {
                _3b4 = true;
                if (_3b3) {
                    _3b3.call(_3b2);
                }
            };
            var _3b7 = _3b2.scope || dojo.global;
            if (!_3b2.store) {
                _3b2.store = self;
            }
            if (_3b2.onBegin) {
                _3b2.onBegin.call(_3b7, _3b1.length, _3b2);
            }
            if (_3b2.sort) {
                _3b1.sort(dojo.data.util.sorter.createSortFunction(_3b2.sort, self));
            }
            if (_3b2.onItem) {
                for (var i = _3b5; (i < _3b1.length) && (i < _3b6); ++i) {
                    var item = _3b1[i];
                    if (!_3b4) {
                        _3b2.onItem.call(_3b7, item, _3b2);
                    }
                }
            }
            if (_3b2.onComplete && !_3b4) {
                var _3ba = null;
                if (!_3b2.onItem) {
                    _3ba = _3b1.slice(_3b5, _3b6);
                }
                _3b2.onComplete.call(_3b7, _3ba, _3b2);
            }
        };
        this._fetchItems(_3aa, _3b0, _3ac);
        return _3aa;
    };
}
if (!dojo._hasResource["dojo.data.ItemFileReadStore"]) {
    dojo._hasResource["dojo.data.ItemFileReadStore"] = true;
    dojo.provide("dojo.data.ItemFileReadStore");
    dojo.declare("dojo.data.ItemFileReadStore", null, {constructor:function(_3bb) {
        this._arrayOfAllItems = [];
        this._arrayOfTopLevelItems = [];
        this._loadFinished = false;
        this._jsonFileUrl = _3bb.url;
        this._jsonData = _3bb.data;
        this._datatypeMap = _3bb.typeMap || {};
        if (!this._datatypeMap["Date"]) {
            this._datatypeMap["Date"] = {type:Date,deserialize:function(_3bc) {
                return dojo.date.stamp.fromISOString(_3bc);
            }};
        }
        this._features = {"dojo.data.api.Read":true,"dojo.data.api.Identity":true};
        this._itemsByIdentity = null;
        this._storeRefPropName = "_S";
        this._itemNumPropName = "_0";
        this._rootItemPropName = "_RI";
        this._loadInProgress = false;
        this._queuedFetches = [];
    },url:"",_assertIsItem:function(item) {
        if (!this.isItem(item)) {
            throw new Error("dojo.data.ItemFileReadStore: Invalid item argument.");
        }
    },_assertIsAttribute:function(_3be) {
        if (typeof _3be !== "string") {
            throw new Error("dojo.data.ItemFileReadStore: Invalid attribute argument.");
        }
    },getValue:function(item, _3c0, _3c1) {
        var _3c2 = this.getValues(item, _3c0);
        return (_3c2.length > 0) ? _3c2[0] : _3c1;
    },getValues:function(item, _3c4) {
        this._assertIsItem(item);
        this._assertIsAttribute(_3c4);
        return item[_3c4] || [];
    },getAttributes:function(item) {
        this._assertIsItem(item);
        var _3c6 = [];
        for (var key in item) {
            if ((key !== this._storeRefPropName) && (key !== this._itemNumPropName) && (key !== this._rootItemPropName)) {
                _3c6.push(key);
            }
        }
        return _3c6;
    },hasAttribute:function(item, _3c9) {
        return this.getValues(item, _3c9).length > 0;
    },containsValue:function(item, _3cb, _3cc) {
        var _3cd = undefined;
        if (typeof _3cc === "string") {
            _3cd = dojo.data.util.filter.patternToRegExp(_3cc, false);
        }
        return this._containsValue(item, _3cb, _3cc, _3cd);
    },_containsValue:function(item, _3cf, _3d0, _3d1) {
        return dojo.some(this.getValues(item, _3cf), function(_3d2) {
            if (_3d2 !== null && !dojo.isObject(_3d2) && _3d1) {
                if (_3d2.toString().match(_3d1)) {
                    return true;
                }
            } else {
                if (_3d0 === _3d2) {
                    return true;
                }
            }
        });
    },isItem:function(_3d3) {
        if (_3d3 && _3d3[this._storeRefPropName] === this) {
            if (this._arrayOfAllItems[_3d3[this._itemNumPropName]] === _3d3) {
                return true;
            }
        }
        return false;
    },isItemLoaded:function(_3d4) {
        return this.isItem(_3d4);
    },loadItem:function(_3d5) {
        this._assertIsItem(_3d5.item);
    },getFeatures:function() {
        return this._features;
    },getLabel:function(item) {
        if (this._labelAttr && this.isItem(item)) {
            return this.getValue(item, this._labelAttr);
        }
        return undefined;
    },getLabelAttributes:function(item) {
        if (this._labelAttr) {
            return [this._labelAttr];
        }
        return null;
    },_fetchItems:function(_3d8, _3d9, _3da) {
        var self = this;
        var _3dc = function(_3dd, _3de) {
            var _3df = [];
            if (_3dd.query) {
                var _3e0 = _3dd.queryOptions ? _3dd.queryOptions.ignoreCase : false;
                var _3e1 = {};
                for (var key in _3dd.query) {
                    var _3e3 = _3dd.query[key];
                    if (typeof _3e3 === "string") {
                        _3e1[key] = dojo.data.util.filter.patternToRegExp(_3e3, _3e0);
                    }
                }
                for (var i = 0; i < _3de.length; ++i) {
                    var _3e5 = true;
                    var _3e6 = _3de[i];
                    if (_3e6 === null) {
                        _3e5 = false;
                    } else {
                        for (var key in _3dd.query) {
                            var _3e3 = _3dd.query[key];
                            if (!self._containsValue(_3e6, key, _3e3, _3e1[key])) {
                                _3e5 = false;
                            }
                        }
                    }
                    if (_3e5) {
                        _3df.push(_3e6);
                    }
                }
                _3d9(_3df, _3dd);
            } else {
                for (var i = 0; i < _3de.length; ++i) {
                    var item = _3de[i];
                    if (item !== null) {
                        _3df.push(item);
                    }
                }
                _3d9(_3df, _3dd);
            }
        };
        if (this._loadFinished) {
            _3dc(_3d8, this._getItemsArray(_3d8.queryOptions));
        } else {
            if (this._jsonFileUrl) {
                if (this._loadInProgress) {
                    this._queuedFetches.push({args:_3d8,filter:_3dc});
                } else {
                    this._loadInProgress = true;
                    var _3e8 = {url:self._jsonFileUrl,handleAs:"json-comment-optional"};
                    var _3e9 = dojo.xhrGet(_3e8);
                    _3e9.addCallback(function(data) {
                        try {
                            self._getItemsFromLoadedData(data);
                            self._loadFinished = true;
                            self._loadInProgress = false;
                            _3dc(_3d8, self._getItemsArray(_3d8.queryOptions));
                            self._handleQueuedFetches();
                        } catch(e) {
                            self._loadFinished = true;
                            self._loadInProgress = false;
                            _3da(e, _3d8);
                        }
                    });
                    _3e9.addErrback(function(_3eb) {
                        self._loadInProgress = false;
                        _3da(_3eb, _3d8);
                    });
                }
            } else {
                if (this._jsonData) {
                    try {
                        this._loadFinished = true;
                        this._getItemsFromLoadedData(this._jsonData);
                        this._jsonData = null;
                        _3dc(_3d8, this._getItemsArray(_3d8.queryOptions));
                    } catch(e) {
                        _3da(e, _3d8);
                    }
                } else {
                    _3da(new Error("dojo.data.ItemFileReadStore: No JSON source data was provided as either URL or a nested Javascript object."), _3d8);
                }
            }
        }
    },_handleQueuedFetches:function() {
        if (this._queuedFetches.length > 0) {
            for (var i = 0; i < this._queuedFetches.length; i++) {
                var _3ed = this._queuedFetches[i];
                var _3ee = _3ed.args;
                var _3ef = _3ed.filter;
                if (_3ef) {
                    _3ef(_3ee, this._getItemsArray(_3ee.queryOptions));
                } else {
                    this.fetchItemByIdentity(_3ee);
                }
            }
            this._queuedFetches = [];
        }
    },_getItemsArray:function(_3f0) {
        if (_3f0 && _3f0.deep) {
            return this._arrayOfAllItems;
        }
        return this._arrayOfTopLevelItems;
    },close:function(_3f1) {
    },_getItemsFromLoadedData:function(_3f2) {
        function valueIsAnItem(_3f3) {
            var _3f4 = ((_3f3 != null) && (typeof _3f3 == "object") && (!dojo.isArray(_3f3)) && (!dojo.isFunction(_3f3)) && (_3f3.constructor == Object) && (typeof _3f3._reference == "undefined") && (typeof _3f3._type == "undefined") && (typeof _3f3._value == "undefined"));
            return _3f4;
        }
        ;
        var self = this;
        function addItemAndSubItemsToArrayOfAllItems(_3f6) {
            self._arrayOfAllItems.push(_3f6);
            for (var _3f7 in _3f6) {
                var _3f8 = _3f6[_3f7];
                if (_3f8) {
                    if (dojo.isArray(_3f8)) {
                        var _3f9 = _3f8;
                        for (var k = 0; k < _3f9.length; ++k) {
                            var _3fb = _3f9[k];
                            if (valueIsAnItem(_3fb)) {
                                addItemAndSubItemsToArrayOfAllItems(_3fb);
                            }
                        }
                    } else {
                        if (valueIsAnItem(_3f8)) {
                            addItemAndSubItemsToArrayOfAllItems(_3f8);
                        }
                    }
                }
            }
        }
        ;
        this._labelAttr = _3f2.label;
        var i;
        var item;
        this._arrayOfAllItems = [];
        this._arrayOfTopLevelItems = _3f2.items;
        for (i = 0; i < this._arrayOfTopLevelItems.length; ++i) {
            item = this._arrayOfTopLevelItems[i];
            addItemAndSubItemsToArrayOfAllItems(item);
            item[this._rootItemPropName] = true;
        }
        var _3fe = {};
        var key;
        for (i = 0; i < this._arrayOfAllItems.length; ++i) {
            item = this._arrayOfAllItems[i];
            for (key in item) {
                if (key !== this._rootItemPropName) {
                    var _400 = item[key];
                    if (_400 !== null) {
                        if (!dojo.isArray(_400)) {
                            item[key] = [_400];
                        }
                    } else {
                        item[key] = [null];
                    }
                }
                _3fe[key] = key;
            }
        }
        while (_3fe[this._storeRefPropName]) {
            this._storeRefPropName += "_";
        }
        while (_3fe[this._itemNumPropName]) {
            this._itemNumPropName += "_";
        }
        var _401;
        var _402 = _3f2.identifier;
        if (_402) {
            this._itemsByIdentity = {};
            this._features["dojo.data.api.Identity"] = _402;
            for (i = 0; i < this._arrayOfAllItems.length; ++i) {
                item = this._arrayOfAllItems[i];
                _401 = item[_402];
                var _403 = _401[0];
                if (!this._itemsByIdentity[_403]) {
                    this._itemsByIdentity[_403] = item;
                } else {
                    if (this._jsonFileUrl) {
                        throw new Error("dojo.data.ItemFileReadStore:  The json data as specified by: [" + this._jsonFileUrl + "] is malformed.  Items within the list have identifier: [" + _402 + "].  Value collided: [" + _403 + "]");
                    } else {
                        if (this._jsonData) {
                            throw new Error("dojo.data.ItemFileReadStore:  The json data provided by the creation arguments is malformed.  Items within the list have identifier: [" + _402 + "].  Value collided: [" + _403 + "]");
                        }
                    }
                }
            }
        } else {
            this._features["dojo.data.api.Identity"] = Number;
        }
        for (i = 0; i < this._arrayOfAllItems.length; ++i) {
            item = this._arrayOfAllItems[i];
            item[this._storeRefPropName] = this;
            item[this._itemNumPropName] = i;
        }
        for (i = 0; i < this._arrayOfAllItems.length; ++i) {
            item = this._arrayOfAllItems[i];
            for (key in item) {
                _401 = item[key];
                for (var j = 0; j < _401.length; ++j) {
                    _400 = _401[j];
                    if (_400 !== null && typeof _400 == "object") {
                        if (_400._type && _400._value) {
                            var type = _400._type;
                            var _406 = this._datatypeMap[type];
                            if (!_406) {
                                throw new Error("dojo.data.ItemFileReadStore: in the typeMap constructor arg, no object class was specified for the datatype '" + type + "'");
                            } else {
                                if (dojo.isFunction(_406)) {
                                    _401[j] = new _406(_400._value);
                                } else {
                                    if (dojo.isFunction(_406.deserialize)) {
                                        _401[j] = _406.deserialize(_400._value);
                                    } else {
                                        throw new Error("dojo.data.ItemFileReadStore: Value provided in typeMap was neither a constructor, nor a an object with a deserialize function");
                                    }
                                }
                            }
                        }
                        if (_400._reference) {
                            var _407 = _400._reference;
                            if (dojo.isString(_407)) {
                                _401[j] = this._itemsByIdentity[_407];
                            } else {
                                for (var k = 0; k < this._arrayOfAllItems.length; ++k) {
                                    var _409 = this._arrayOfAllItems[k];
                                    var _40a = true;
                                    for (var _40b in _407) {
                                        if (_409[_40b] != _407[_40b]) {
                                            _40a = false;
                                        }
                                    }
                                    if (_40a) {
                                        _401[j] = _409;
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    },getIdentity:function(item) {
        var _40d = this._features["dojo.data.api.Identity"];
        if (_40d === Number) {
            return item[this._itemNumPropName];
        } else {
            var _40e = item[_40d];
            if (_40e) {
                return _40e[0];
            }
        }
        return null;
    },fetchItemByIdentity:function(_40f) {
        if (!this._loadFinished) {
            var self = this;
            if (this._jsonFileUrl) {
                if (this._loadInProgress) {
                    this._queuedFetches.push({args:_40f});
                } else {
                    this._loadInProgress = true;
                    var _411 = {url:self._jsonFileUrl,handleAs:"json-comment-optional"};
                    var _412 = dojo.xhrGet(_411);
                    _412.addCallback(function(data) {
                        var _414 = _40f.scope ? _40f.scope : dojo.global;
                        try {
                            self._getItemsFromLoadedData(data);
                            self._loadFinished = true;
                            self._loadInProgress = false;
                            var item = self._getItemByIdentity(_40f.identity);
                            if (_40f.onItem) {
                                _40f.onItem.call(_414, item);
                            }
                            self._handleQueuedFetches();
                        } catch(error) {
                            self._loadInProgress = false;
                            if (_40f.onError) {
                                _40f.onError.call(_414, error);
                            }
                        }
                    });
                    _412.addErrback(function(_416) {
                        self._loadInProgress = false;
                        if (_40f.onError) {
                            var _417 = _40f.scope ? _40f.scope : dojo.global;
                            _40f.onError.call(_417, _416);
                        }
                    });
                }
            } else {
                if (this._jsonData) {
                    self._getItemsFromLoadedData(self._jsonData);
                    self._jsonData = null;
                    self._loadFinished = true;
                    var item = self._getItemByIdentity(_40f.identity);
                    if (_40f.onItem) {
                        var _419 = _40f.scope ? _40f.scope : dojo.global;
                        _40f.onItem.call(_419, item);
                    }
                }
            }
        } else {
            var item = this._getItemByIdentity(_40f.identity);
            if (_40f.onItem) {
                var _419 = _40f.scope ? _40f.scope : dojo.global;
                _40f.onItem.call(_419, item);
            }
        }
    },_getItemByIdentity:function(_41a) {
        var item = null;
        if (this._itemsByIdentity) {
            item = this._itemsByIdentity[_41a];
        } else {
            item = this._arrayOfAllItems[_41a];
        }
        if (item === undefined) {
            item = null;
        }
        return item;
    },getIdentityAttributes:function(item) {
        var _41d = this._features["dojo.data.api.Identity"];
        if (_41d === Number) {
            return null;
        } else {
            return [_41d];
        }
    },_forceLoad:function() {
        var self = this;
        if (this._jsonFileUrl) {
            var _41f = {url:self._jsonFileUrl,handleAs:"json-comment-optional",sync:true};
            var _420 = dojo.xhrGet(_41f);
            _420.addCallback(function(data) {
                try {
                    if (self._loadInProgress !== true && !self._loadFinished) {
                        self._getItemsFromLoadedData(data);
                        self._loadFinished = true;
                    }
                } catch(e) {
                    console.log(e);
                    throw e;
                }
            });
            _420.addErrback(function(_422) {
                throw _422;
            });
        } else {
            if (this._jsonData) {
                self._getItemsFromLoadedData(self._jsonData);
                self._jsonData = null;
                self._loadFinished = true;
            }
        }
    }});
    dojo.extend(dojo.data.ItemFileReadStore, dojo.data.util.simpleFetch);
}
if (!dojo._hasResource["dijit.form.ValidationTextBox"]) {
    dojo._hasResource["dijit.form.ValidationTextBox"] = true;
    dojo.provide("dijit.form.ValidationTextBox");
    dojo.declare("dijit.form.ValidationTextBox", dijit.form.TextBox, {templateString:"<table style=\"display: -moz-inline-stack;\" class=\"dijit dijitReset dijitInlineTable\" cellspacing=\"0\" cellpadding=\"0\"\n\tid=\"widget_${id}\" name=\"${name}\"\n\tdojoAttachEvent=\"onmouseenter:_onMouse,onmouseleave:_onMouse\" waiRole=\"presentation\"\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset dijitInputField\" width=\"100%\"\n\t\t\t><input dojoAttachPoint='textbox,focusNode' dojoAttachEvent='onfocus,onblur:_onMouse,onkeyup,onkeypress:_onKeyPress' autocomplete=\"off\"\n\t\t\ttype='${type}' name='${name}'\n\t\t/></td\n\t\t><td class=\"dijitReset dijitValidationIconField\" width=\"0%\"\n\t\t\t><div dojoAttachPoint='iconNode' class='dijitValidationIcon'></div><div class='dijitValidationIconText'>&Chi;</div\n\t\t></td\n\t></tr\n></table>\n",baseClass:"dijitTextBox",required:false,promptMessage:"",invalidMessage:"$_unset_$",constraints:{},regExp:".*",regExpGen:function(_423) {
        return this.regExp;
    },state:"",setValue:function() {
        this.inherited("setValue", arguments);
        this.validate(false);
    },validator:function(_424, _425) {
        return (new RegExp("^(" + this.regExpGen(_425) + ")" + (this.required ? "" : "?") + "$")).test(_424) && (!this.required || !this._isEmpty(_424)) && (this._isEmpty(_424) || this.parse(_424, _425) !== null);
    },isValid:function(_426) {
        return this.validator(this.textbox.value, this.constraints);
    },_isEmpty:function(_427) {
        return /^\s*$/.test(_427);
    },getErrorMessage:function(_428) {
        return this.invalidMessage;
    },getPromptMessage:function(_429) {
        return this.promptMessage;
    },validate:function(_42a) {
        var _42b = "";
        var _42c = this.isValid(_42a);
        var _42d = this._isEmpty(this.textbox.value);
        this.state = (_42c || (!this._hasBeenBlurred && _42d)) ? "" : "Error";
        this._setStateClass();
        dijit.setWaiState(this.focusNode, "invalid", (_42c ? "false" : "true"));
        if (_42a) {
            if (_42d) {
                _42b = this.getPromptMessage(true);
            }
            if (!_42b && !_42c) {
                _42b = this.getErrorMessage(true);
            }
        }
        this._displayMessage(_42b);
    },_message:"",_displayMessage:function(_42e) {
        if (this._message == _42e) {
            return;
        }
        this._message = _42e;
        this.displayMessage(_42e);
    },displayMessage:function(_42f) {
        if (_42f) {
            dijit.showTooltip(_42f, this.domNode);
        } else {
            dijit.hideTooltip(this.domNode);
        }
    },_hasBeenBlurred:false,_onBlur:function(evt) {
        this._hasBeenBlurred = true;
        this.validate(false);
        this.inherited("_onBlur", arguments);
    },onfocus:function(evt) {
        this.validate(true);
        this._onMouse(evt);
    },onkeyup:function(evt) {
        this.onfocus(evt);
    },constructor:function() {
        this.constraints = {};
    },postMixInProperties:function() {
        this.inherited("postMixInProperties", arguments);
        this.constraints.locale = this.lang;
        this.messages = dojo.i18n.getLocalization("dijit.form", "validate", this.lang);
        if (this.invalidMessage == "$_unset_$") {
            this.invalidMessage = this.messages.invalidMessage;
        }
        var p = this.regExpGen(this.constraints);
        this.regExp = p;
    }});
    dojo.declare("dijit.form.MappedTextBox", dijit.form.ValidationTextBox, {serialize:function(val, _435) {
        return (val.toString ? val.toString() : "");
    },toString:function() {
        var val = this.filter(this.getValue());
        return (val != null) ? ((typeof val == "string") ? val : this.serialize(val, this.constraints)) : "";
    },validate:function() {
        this.valueNode.value = this.toString();
        this.inherited("validate", arguments);
    },postCreate:function() {
        var _437 = this.textbox;
        var _438 = (this.valueNode = document.createElement("input"));
        _438.setAttribute("type", _437.type);
        _438.setAttribute("value", this.toString());
        dojo.style(_438, "display", "none");
        _438.name = this.textbox.name;
        this.textbox.name = "_" + this.textbox.name + "_displayed_";
        this.textbox.removeAttribute("name");
        dojo.place(_438, _437, "after");
        this.inherited("postCreate", arguments);
    }});
    dojo.declare("dijit.form.RangeBoundTextBox", dijit.form.MappedTextBox, {rangeMessage:"",compare:function(val1, val2) {
        return val1 - val2;
    },rangeCheck:function(_43b, _43c) {
        var _43d = (typeof _43c.min != "undefined");
        var _43e = (typeof _43c.max != "undefined");
        if (_43d || _43e) {
            return (!_43d || this.compare(_43b, _43c.min) >= 0) && (!_43e || this.compare(_43b, _43c.max) <= 0);
        } else {
            return true;
        }
    },isInRange:function(_43f) {
        return this.rangeCheck(this.getValue(), this.constraints);
    },isValid:function(_440) {
        return this.inherited("isValid", arguments) && ((this._isEmpty(this.textbox.value) && !this.required) || this.isInRange(_440));
    },getErrorMessage:function(_441) {
        if (dijit.form.RangeBoundTextBox.superclass.isValid.call(this, false) && !this.isInRange(_441)) {
            return this.rangeMessage;
        } else {
            return this.inherited("getErrorMessage", arguments);
        }
    },postMixInProperties:function() {
        this.inherited("postMixInProperties", arguments);
        if (!this.rangeMessage) {
            this.messages = dojo.i18n.getLocalization("dijit.form", "validate", this.lang);
            this.rangeMessage = this.messages.rangeMessage;
        }
    },postCreate:function() {
        this.inherited("postCreate", arguments);
        if (typeof this.constraints.min != "undefined") {
            dijit.setWaiState(this.focusNode, "valuemin", this.constraints.min);
        }
        if (typeof this.constraints.max != "undefined") {
            dijit.setWaiState(this.focusNode, "valuemax", this.constraints.max);
        }
    }});
}
if (!dojo._hasResource["dijit.form.ComboBox"]) {
    dojo._hasResource["dijit.form.ComboBox"] = true;
    dojo.provide("dijit.form.ComboBox");
    dojo.declare("dijit.form.ComboBoxMixin", null, {item:null,pageSize:Infinity,store:null,query:{},autoComplete:true,searchDelay:100,searchAttr:"name",ignoreCase:true,hasDownArrow:true,_hasFocus:false,templateString:"<table class=\"dijit dijitReset dijitInlineTable dijitLeft\" cellspacing=\"0\" cellpadding=\"0\"\n\tid=\"widget_${id}\" name=\"${name}\" dojoAttachEvent=\"onmouseenter:_onMouse,onmouseleave:_onMouse\" waiRole=\"presentation\"\n\t><tr class=\"dijitReset\"\n\t\t><td class='dijitReset dijitStretch dijitInputField' width=\"100%\"\n\t\t\t><input type=\"text\" autocomplete=\"off\" name=\"${name}\"\n\t\t\tdojoAttachEvent=\"onkeypress, onkeyup, onfocus, compositionend\"\n\t\t\tdojoAttachPoint=\"textbox,focusNode\" waiRole=\"combobox\"\n\t\t/></td\n\t\t><td class=\"dijitReset dijitValidationIconField\" width=\"0%\"\n\t\t\t><div dojoAttachPoint='iconNode' class='dijitValidationIcon'></div\n\t\t\t><div class='dijitValidationIconText'>&Chi;</div\n\t\t></td\n\t\t><td class='dijitReset dijitRight dijitButtonNode dijitDownArrowButton' width=\"0%\"\n\t\t\tdojoAttachPoint=\"downArrowNode\"\n\t\t\tdojoAttachEvent=\"onmousedown:_onArrowMouseDown,onmouseup:_onMouse,onmouseenter:_onMouse,onmouseleave:_onMouse\"\n\t\t\t><div class=\"dijitDownArrowButtonInner\" waiRole=\"presentation\"\n\t\t\t\t><div class=\"dijitDownArrowButtonChar\">&#9660;</div\n\t\t\t></div\n\t\t></td\t\n\t></tr\n></table>\n",baseClass:"dijitComboBox",_lastDisplayedValue:"",getValue:function() {
        return dijit.form.TextBox.superclass.getValue.apply(this, arguments);
    },setDisplayedValue:function(_442) {
        this._lastDisplayedValue = _442;
        this.setValue(_442, true);
    },_getCaretPos:function(_443) {
        if (typeof (_443.selectionStart) == "number") {
            return _443.selectionStart;
        } else {
            if (dojo.isIE) {
                var tr = document.selection.createRange().duplicate();
                var ntr = _443.createTextRange();
                tr.move("character", 0);
                ntr.move("character", 0);
                try {
                    ntr.setEndPoint("EndToEnd", tr);
                    return String(ntr.text).replace(/\r/g, "").length;
                } catch(e) {
                    return 0;
                }
            }
        }
    },_setCaretPos:function(_446, _447) {
        _447 = parseInt(_447);
        this._setSelectedRange(_446, _447, _447);
    },_setSelectedRange:function(_448, _449, end) {
        if (!end) {
            end = _448.value.length;
        }
        if (_448.setSelectionRange) {
            dijit.focus(_448);
            _448.setSelectionRange(_449, end);
        } else {
            if (_448.createTextRange) {
                var _44b = _448.createTextRange();
                with (_44b) {
                    collapse(true);
                    moveEnd("character", end);
                    moveStart("character", _449);
                    select();
                }
            } else {
                _448.value = _448.value;
                _448.blur();
                dijit.focus(_448);
                var dist = parseInt(_448.value.length) - end;
                var _44d = String.fromCharCode(37);
                var tcc = _44d.charCodeAt(0);
                for (var x = 0; x < dist; x++) {
                    var te = document.createEvent("KeyEvents");
                    te.initKeyEvent("keypress", true, true, null, false, false, false, false, tcc, tcc);
                    _448.dispatchEvent(te);
                }
            }
        }
    },onkeypress:function(evt) {
        if (evt.altKey || (evt.ctrlKey && evt.charCode != 118)) {
            return;
        }
        var _452 = false;
        this.item = null;
        if (this._isShowingNow) {
            this._popupWidget.handleKey(evt);
        }
        switch (evt.keyCode) {case dojo.keys.PAGE_DOWN:case dojo.keys.DOWN_ARROW:if (!this._isShowingNow || this._prev_key_esc) {
            this._arrowPressed();
            _452 = true;
        } else {
            this._announceOption(this._popupWidget.getHighlightedOption());
        }dojo.stopEvent(evt);this._prev_key_backspace = false;this._prev_key_esc = false;break;case dojo.keys.PAGE_UP:case dojo.keys.UP_ARROW:if (this._isShowingNow) {
            this._announceOption(this._popupWidget.getHighlightedOption());
        }dojo.stopEvent(evt);this._prev_key_backspace = false;this._prev_key_esc = false;break;case dojo.keys.ENTER:var _453;if (this._isShowingNow && (_453 = this._popupWidget.getHighlightedOption())) {
            if (_453 == this._popupWidget.nextButton) {
                this._nextSearch(1);
                dojo.stopEvent(evt);
                break;
            } else {
                if (_453 == this._popupWidget.previousButton) {
                    this._nextSearch(-1);
                    dojo.stopEvent(evt);
                    break;
                }
            }
        } else {
            this.setDisplayedValue(this.getDisplayedValue());
        }evt.preventDefault();case dojo.keys.TAB:var _454 = this.getDisplayedValue();if (this._popupWidget && (_454 == this._popupWidget._messages["previousMessage"] || _454 == this._popupWidget._messages["nextMessage"])) {
            break;
        }if (this._isShowingNow) {
            this._prev_key_backspace = false;
            this._prev_key_esc = false;
            if (this._popupWidget.getHighlightedOption()) {
                this._popupWidget.setValue({target:this._popupWidget.getHighlightedOption()}, true);
            }
            this._hideResultList();
        }break;case dojo.keys.SPACE:this._prev_key_backspace = false;this._prev_key_esc = false;if (this._isShowingNow && this._popupWidget.getHighlightedOption()) {
            dojo.stopEvent(evt);
            this._selectOption();
            this._hideResultList();
        } else {
            _452 = true;
        }break;case dojo.keys.ESCAPE:this._prev_key_backspace = false;this._prev_key_esc = true;this._hideResultList();if (this._lastDisplayedValue != this.getDisplayedValue()) {
            this.setDisplayedValue(this._lastDisplayedValue);
            dojo.stopEvent(evt);
        } else {
            this.setValue(this.getValue(), false);
        }break;case dojo.keys.DELETE:case dojo.keys.BACKSPACE:this._prev_key_esc = false;this._prev_key_backspace = true;_452 = true;break;case dojo.keys.RIGHT_ARROW:case dojo.keys.LEFT_ARROW:this._prev_key_backspace = false;this._prev_key_esc = false;break;default:this._prev_key_backspace = false;this._prev_key_esc = false;if (dojo.isIE || evt.charCode != 0) {
            _452 = true;
        }}
        if (this.searchTimer) {
            clearTimeout(this.searchTimer);
        }
        if (_452) {
            this.searchTimer = setTimeout(dojo.hitch(this, this._startSearchFromInput), this.searchDelay);
        }
    },_autoCompleteText:function(text) {
        this._setSelectedRange(this.focusNode, this.focusNode.value.length, this.focusNode.value.length);
        if (new RegExp("^" + escape(this.focusNode.value), this.ignoreCase ? "i" : "").test(escape(text))) {
            var cpos = this._getCaretPos(this.focusNode);
            if ((cpos + 1) > this.focusNode.value.length) {
                this.focusNode.value = text;
                this._setSelectedRange(this.focusNode, cpos, this.focusNode.value.length);
                dijit.setWaiState(this.focusNode, "valuenow", text);
            }
        } else {
            this.focusNode.value = text;
            this._setSelectedRange(this.focusNode, 0, this.focusNode.value.length);
            dijit.setWaiState(this.focusNode, "valuenow", text);
        }
    },_openResultList:function(_457, _458) {
        if (this.disabled || _458.query[this.searchAttr] != this._lastQuery) {
            return;
        }
        this._popupWidget.clearResultList();
        if (!_457.length) {
            this._hideResultList();
            return;
        }
        var _459 = new String(this.store.getValue(_457[0], this.searchAttr));
        if (_459 && this.autoComplete && !this._prev_key_backspace && (_458.query[this.searchAttr] != "*")) {
            this._autoCompleteText(_459);
            dijit.setWaiState(this.focusNode || this.domNode, "valuenow", _459);
        }
        this._popupWidget.createOptions(_457, _458, dojo.hitch(this, this._getMenuLabelFromItem));
        this._showResultList();
        if (_458.direction) {
            if (_458.direction == 1) {
                this._popupWidget.highlightFirstOption();
            } else {
                if (_458.direction == -1) {
                    this._popupWidget.highlightLastOption();
                }
            }
            this._announceOption(this._popupWidget.getHighlightedOption());
        }
    },_showResultList:function() {
        this._hideResultList();
        var _45a = this._popupWidget.getItems(),_45b = Math.min(_45a.length, this.maxListLength);
        this._arrowPressed();
        this._displayMessage("");
        with (this._popupWidget.domNode.style) {
            width = "";
            height = "";
        }
        var best = this.open();
        var _45d = dojo.marginBox(this._popupWidget.domNode);
        this._popupWidget.domNode.style.overflow = ((best.h == _45d.h) && (best.w == _45d.w)) ? "hidden" : "auto";
        var _45e = best.w;
        if (best.h < this._popupWidget.domNode.scrollHeight) {
            _45e += 16;
        }
        dojo.marginBox(this._popupWidget.domNode, {h:best.h,w:Math.max(_45e, this.domNode.offsetWidth)});
    },_hideResultList:function() {
        if (this._isShowingNow) {
            dijit.popup.close(this._popupWidget);
            this._arrowIdle();
            this._isShowingNow = false;
        }
    },_onBlur:function() {
        this._hasFocus = false;
        this._hasBeenBlurred = true;
        this._hideResultList();
        this._arrowIdle();
        var _45f = this.getDisplayedValue();
        if (this._popupWidget && (_45f == this._popupWidget._messages["previousMessage"] || _45f == this._popupWidget._messages["nextMessage"])) {
            this.setValue(this._lastValueReported, true);
        } else {
            this.setDisplayedValue(_45f);
        }
    },onfocus:function(evt) {
        this._hasFocus = true;
        this._onMouse(evt);
    },_announceOption:function(node) {
        if (node == null) {
            return;
        }
        var _462;
        if (node == this._popupWidget.nextButton || node == this._popupWidget.previousButton) {
            _462 = node.innerHTML;
        } else {
            _462 = this.store.getValue(node.item, this.searchAttr);
        }
        this.focusNode.value = this.focusNode.value.substring(0, this._getCaretPos(this.focusNode));
        this._autoCompleteText(_462);
    },_selectOption:function(evt) {
        var tgt = null;
        if (!evt) {
            evt = {target:this._popupWidget.getHighlightedOption()};
        }
        if (!evt.target) {
            this.setDisplayedValue(this.getDisplayedValue());
            return;
        } else {
            tgt = evt.target;
        }
        if (!evt.noHide) {
            this._hideResultList();
            this._setCaretPos(this.focusNode, this.store.getValue(tgt.item, this.searchAttr).length);
        }
        this._doSelect(tgt);
    },_doSelect:function(tgt) {
        this.item = tgt.item;
        this.setValue(this.store.getValue(tgt.item, this.searchAttr), true);
    },_onArrowMouseDown:function(evt) {
        if (this.disabled) {
            return;
        }
        dojo.stopEvent(evt);
        this.focus();
        if (this._isShowingNow) {
            this._hideResultList();
        } else {
            this._startSearch("");
        }
    },_startSearchFromInput:function() {
        this._startSearch(this.focusNode.value);
    },_startSearch:function(key) {
        if (!this._popupWidget) {
            this._popupWidget = new dijit.form._ComboBoxMenu({onChange:dojo.hitch(this, this._selectOption)});
        }
        var _468 = this.query;
        this._lastQuery = _468[this.searchAttr] = key + "*";
        var _469 = this.store.fetch({queryOptions:{ignoreCase:this.ignoreCase,deep:true},query:_468,onComplete:dojo.hitch(this, "_openResultList"),start:0,count:this.pageSize});
        function nextSearch(_46a, _46b) {
            _46a.start += _46a.count * _46b;
            _46a.direction = _46b;
            _46a.store.fetch(_46a);
        }
        ;
        this._nextSearch = this._popupWidget.onPage = dojo.hitch(this, nextSearch, _469);
    },_getValueField:function() {
        return this.searchAttr;
    },_arrowPressed:function() {
        if (!this.disabled && this.hasDownArrow) {
            dojo.addClass(this.downArrowNode, "dijitArrowButtonActive");
        }
    },_arrowIdle:function() {
        if (!this.disabled && this.hasDownArrow) {
            dojo.removeClass(this.downArrowNode, "dojoArrowButtonPushed");
        }
    },compositionend:function(evt) {
        this.onkeypress({charCode:-1});
    },constructor:function() {
        this.query = {};
    },postMixInProperties:function() {
        if (!this.hasDownArrow) {
            this.baseClass = "dijitTextBox";
        }
        if (!this.store) {
            var _46d = this.srcNodeRef ? dojo.query("> option", this.srcNodeRef).map(function(node) {
                node.style.display = "none";
                return {value:node.getAttribute("value"),name:String(node.innerHTML)};
            }) : {};
            this.store = new dojo.data.ItemFileReadStore({data:{identifier:this._getValueField(),items:_46d}});
            if (_46d && _46d.length && !this.value) {
                this.value = _46d[this.srcNodeRef.selectedIndex != -1 ? this.srcNodeRef.selectedIndex : 0][this._getValueField()];
            }
        }
    },uninitialize:function() {
        if (this._popupWidget) {
            this._hideResultList();
            this._popupWidget.destroy();
        }
    },_getMenuLabelFromItem:function(item) {
        return {html:false,label:this.store.getValue(item, this.searchAttr)};
    },open:function() {
        this._isShowingNow = true;
        return dijit.popup.open({popup:this._popupWidget,around:this.domNode,parent:this});
    }});
    dojo.declare("dijit.form._ComboBoxMenu", [dijit._Widget,dijit._Templated], {templateString:"<div class='dijitMenu' dojoAttachEvent='onmousedown,onmouseup,onmouseover,onmouseout' tabIndex='-1' style='overflow:\"auto\";'>" + "<div class='dijitMenuItem dijitMenuPreviousButton' dojoAttachPoint='previousButton'></div>" + "<div class='dijitMenuItem dijitMenuNextButton' dojoAttachPoint='nextButton'></div>" + "</div>",_messages:null,postMixInProperties:function() {
        this._messages = dojo.i18n.getLocalization("dijit.form", "ComboBox", this.lang);
        this.inherited("postMixInProperties", arguments);
    },setValue:function(_470) {
        this.value = _470;
        this.onChange(_470);
    },onChange:function(_471) {
    },onPage:function(_472) {
    },postCreate:function() {
        this.previousButton.innerHTML = this._messages["previousMessage"];
        this.nextButton.innerHTML = this._messages["nextMessage"];
        this.inherited("postCreate", arguments);
    },onClose:function() {
        this._blurOptionNode();
    },_createOption:function(item, _474) {
        var _475 = _474(item);
        var _476 = document.createElement("div");
        if (_475.html) {
            _476.innerHTML = _475.label;
        } else {
            _476.appendChild(document.createTextNode(_475.label));
        }
        if (_476.innerHTML == "") {
            _476.innerHTML = "&nbsp;";
        }
        _476.item = item;
        return _476;
    },createOptions:function(_477, _478, _479) {
        this.previousButton.style.display = _478.start == 0 ? "none" : "";
        var _47a = this;
        dojo.forEach(_477, function(item) {
            var _47c = _47a._createOption(item, _479);
            _47c.className = "dijitMenuItem";
            _47a.domNode.insertBefore(_47c, _47a.nextButton);
        });
        this.nextButton.style.display = _478.count == _477.length ? "" : "none";
    },clearResultList:function() {
        while (this.domNode.childNodes.length > 2) {
            this.domNode.removeChild(this.domNode.childNodes[this.domNode.childNodes.length - 2]);
        }
    },getItems:function() {
        return this.domNode.childNodes;
    },getListLength:function() {
        return this.domNode.childNodes.length - 2;
    },onmousedown:function(evt) {
        dojo.stopEvent(evt);
    },onmouseup:function(evt) {
        if (evt.target === this.domNode) {
            return;
        } else {
            if (evt.target == this.previousButton) {
                this.onPage(-1);
            } else {
                if (evt.target == this.nextButton) {
                    this.onPage(1);
                } else {
                    var tgt = evt.target;
                    while (!tgt.item) {
                        tgt = tgt.parentNode;
                    }
                    this.setValue({target:tgt}, true);
                }
            }
        }
    },onmouseover:function(evt) {
        if (evt.target === this.domNode) {
            return;
        }
        var tgt = evt.target;
        if (!(tgt == this.previousButton || tgt == this.nextButton)) {
            while (!tgt.item) {
                tgt = tgt.parentNode;
            }
        }
        this._focusOptionNode(tgt);
    },onmouseout:function(evt) {
        if (evt.target === this.domNode) {
            return;
        }
        this._blurOptionNode();
    },_focusOptionNode:function(node) {
        if (this._highlighted_option != node) {
            this._blurOptionNode();
            this._highlighted_option = node;
            dojo.addClass(this._highlighted_option, "dijitMenuItemHover");
        }
    },_blurOptionNode:function() {
        if (this._highlighted_option) {
            dojo.removeClass(this._highlighted_option, "dijitMenuItemHover");
            this._highlighted_option = null;
        }
    },_highlightNextOption:function() {
        if (!this.getHighlightedOption()) {
            this._focusOptionNode(this.domNode.firstChild.style.display == "none" ? this.domNode.firstChild.nextSibling : this.domNode.firstChild);
        } else {
            if (this._highlighted_option.nextSibling && this._highlighted_option.nextSibling.style.display != "none") {
                this._focusOptionNode(this._highlighted_option.nextSibling);
            }
        }
        dijit.scrollIntoView(this._highlighted_option);
    },highlightFirstOption:function() {
        this._focusOptionNode(this.domNode.firstChild.nextSibling);
        dijit.scrollIntoView(this._highlighted_option);
    },highlightLastOption:function() {
        this._focusOptionNode(this.domNode.lastChild.previousSibling);
        dijit.scrollIntoView(this._highlighted_option);
    },_highlightPrevOption:function() {
        if (!this.getHighlightedOption()) {
            this._focusOptionNode(this.domNode.lastChild.style.display == "none" ? this.domNode.lastChild.previousSibling : this.domNode.lastChild);
        } else {
            if (this._highlighted_option.previousSibling && this._highlighted_option.previousSibling.style.display != "none") {
                this._focusOptionNode(this._highlighted_option.previousSibling);
            }
        }
        dijit.scrollIntoView(this._highlighted_option);
    },_page:function(up) {
        var _485 = 0;
        var _486 = this.domNode.scrollTop;
        var _487 = parseInt(dojo.getComputedStyle(this.domNode).height);
        if (!this.getHighlightedOption()) {
            this._highlightNextOption();
        }
        while (_485 < _487) {
            if (up) {
                if (!this.getHighlightedOption().previousSibling || this._highlighted_option.previousSibling.style.display == "none") {
                    break;
                }
                this._highlightPrevOption();
            } else {
                if (!this.getHighlightedOption().nextSibling || this._highlighted_option.nextSibling.style.display == "none") {
                    break;
                }
                this._highlightNextOption();
            }
            var _488 = this.domNode.scrollTop;
            _485 += (_488 - _486) * (up ? -1 : 1);
            _486 = _488;
        }
    },pageUp:function() {
        this._page(true);
    },pageDown:function() {
        this._page(false);
    },getHighlightedOption:function() {
        return this._highlighted_option && this._highlighted_option.parentNode ? this._highlighted_option : null;
    },handleKey:function(evt) {
        switch (evt.keyCode) {case dojo.keys.DOWN_ARROW:this._highlightNextOption();break;case dojo.keys.PAGE_DOWN:this.pageDown();break;case dojo.keys.UP_ARROW:this._highlightPrevOption();break;case dojo.keys.PAGE_UP:this.pageUp();break;}
    }});
    dojo.declare("dijit.form.ComboBox", [dijit.form.ValidationTextBox,dijit.form.ComboBoxMixin], {postMixInProperties:function() {
        dijit.form.ComboBoxMixin.prototype.postMixInProperties.apply(this, arguments);
        dijit.form.ValidationTextBox.prototype.postMixInProperties.apply(this, arguments);
    }});
}
if (!dojo._hasResource["dojo.cldr.monetary"]) {
    dojo._hasResource["dojo.cldr.monetary"] = true;
    dojo.provide("dojo.cldr.monetary");
    dojo.cldr.monetary.getData = function(code) {
        var _48b = {ADP:0,BHD:3,BIF:0,BYR:0,CLF:0,CLP:0,DJF:0,ESP:0,GNF:0,IQD:3,ITL:0,JOD:3,JPY:0,KMF:0,KRW:0,KWD:3,LUF:0,LYD:3,MGA:0,MGF:0,OMR:3,PYG:0,RWF:0,TND:3,TRL:0,VUV:0,XAF:0,XOF:0,XPF:0};
        var _48c = {CHF:5};
        var _48d = _48b[code],_48e = _48c[code];
        if (typeof _48d == "undefined") {
            _48d = 2;
        }
        if (typeof _48e == "undefined") {
            _48e = 0;
        }
        return {places:_48d,round:_48e};
    };
}
if (!dojo._hasResource["dojo.currency"]) {
    dojo._hasResource["dojo.currency"] = true;
    dojo.provide("dojo.currency");
    dojo.currency._mixInDefaults = function(_48f) {
        _48f = _48f || {};
        _48f.type = "currency";
        var _490 = dojo.i18n.getLocalization("dojo.cldr", "currency", _48f.locale) || {};
        var iso = _48f.currency;
        var data = dojo.cldr.monetary.getData(iso);
        dojo.forEach(["displayName","symbol","group","decimal"], function(prop) {
            data[prop] = _490[iso + "_" + prop];
        });
        data.fractional = [true,false];
        return dojo.mixin(data, _48f);
    };
    dojo.currency.format = function(_494, _495) {
        return dojo.number.format(_494, dojo.currency._mixInDefaults(_495));
    };
    dojo.currency.regexp = function(_496) {
        return dojo.number.regexp(dojo.currency._mixInDefaults(_496));
    };
    dojo.currency.parse = function(_497, _498) {
        return dojo.number.parse(_497, dojo.currency._mixInDefaults(_498));
    };
}
if (!dojo._hasResource["dijit.form.NumberTextBox"]) {
    dojo._hasResource["dijit.form.NumberTextBox"] = true;
    dojo.provide("dijit.form.NumberTextBox");
    dojo.declare("dijit.form.NumberTextBoxMixin", null, {regExpGen:dojo.number.regexp,format:function(_499, _49a) {
        if (isNaN(_499)) {
            return "";
        }
        return dojo.number.format(_499, _49a);
    },parse:dojo.number.parse,filter:function(_49b) {
        if (typeof _49b == "string") {
            return this.inherited("filter", arguments);
        }
        return (isNaN(_49b) ? "" : _49b);
    },value:NaN});
    dojo.declare("dijit.form.NumberTextBox", [dijit.form.RangeBoundTextBox,dijit.form.NumberTextBoxMixin], {});
}
if (!dojo._hasResource["dijit.form.CurrencyTextBox"]) {
    dojo._hasResource["dijit.form.CurrencyTextBox"] = true;
    dojo.provide("dijit.form.CurrencyTextBox");
    dojo.declare("dijit.form.CurrencyTextBox", dijit.form.NumberTextBox, {currency:"",regExpGen:dojo.currency.regexp,format:dojo.currency.format,parse:dojo.currency.parse,postMixInProperties:function() {
        if (this.constraints === dijit.form.ValidationTextBox.prototype.constraints) {
            this.constraints = {};
        }
        this.constraints.currency = this.currency;
        dijit.form.CurrencyTextBox.superclass.postMixInProperties.apply(this, arguments);
    }});
}
if (!dojo._hasResource["dojo.cldr.supplemental"]) {
    dojo._hasResource["dojo.cldr.supplemental"] = true;
    dojo.provide("dojo.cldr.supplemental");
    dojo.cldr.supplemental.getFirstDayOfWeek = function(_49c) {
        var _49d = {mv:5,ae:6,af:6,bh:6,dj:6,dz:6,eg:6,er:6,et:6,iq:6,ir:6,jo:6,ke:6,kw:6,lb:6,ly:6,ma:6,om:6,qa:6,sa:6,sd:6,so:6,tn:6,ye:6,as:0,au:0,az:0,bw:0,ca:0,cn:0,fo:0,ge:0,gl:0,gu:0,hk:0,ie:0,il:0,is:0,jm:0,jp:0,kg:0,kr:0,la:0,mh:0,mo:0,mp:0,mt:0,nz:0,ph:0,pk:0,sg:0,th:0,tt:0,tw:0,um:0,us:0,uz:0,vi:0,za:0,zw:0,et:0,mw:0,ng:0,tj:0,gb:0,sy:4};
        var _49e = dojo.cldr.supplemental._region(_49c);
        var dow = _49d[_49e];
        return (typeof dow == "undefined") ? 1 : dow;
    };
    dojo.cldr.supplemental._region = function(_4a0) {
        _4a0 = dojo.i18n.normalizeLocale(_4a0);
        var tags = _4a0.split("-");
        var _4a2 = tags[1];
        if (!_4a2) {
            _4a2 = {de:"de",en:"us",es:"es",fi:"fi",fr:"fr",hu:"hu",it:"it",ja:"jp",ko:"kr",nl:"nl",pt:"br",sv:"se",zh:"cn"}[tags[0]];
        } else {
            if (_4a2.length == 4) {
                _4a2 = tags[2];
            }
        }
        return _4a2;
    };
    dojo.cldr.supplemental.getWeekend = function(_4a3) {
        var _4a4 = {eg:5,il:5,sy:5,"in":0,ae:4,bh:4,dz:4,iq:4,jo:4,kw:4,lb:4,ly:4,ma:4,om:4,qa:4,sa:4,sd:4,tn:4,ye:4};
        var _4a5 = {ae:5,bh:5,dz:5,iq:5,jo:5,kw:5,lb:5,ly:5,ma:5,om:5,qa:5,sa:5,sd:5,tn:5,ye:5,af:5,ir:5,eg:6,il:6,sy:6};
        var _4a6 = dojo.cldr.supplemental._region(_4a3);
        var _4a7 = _4a4[_4a6];
        var end = _4a5[_4a6];
        if (typeof _4a7 == "undefined") {
            _4a7 = 6;
        }
        if (typeof end == "undefined") {
            end = 0;
        }
        return {start:_4a7,end:end};
    };
}
if (!dojo._hasResource["dojo.date"]) {
    dojo._hasResource["dojo.date"] = true;
    dojo.provide("dojo.date");
    dojo.date.getDaysInMonth = function(_4a9) {
        var _4aa = _4a9.getMonth();
        var days = [31,28,31,30,31,30,31,31,30,31,30,31];
        if (_4aa == 1 && dojo.date.isLeapYear(_4a9)) {
            return 29;
        }
        return days[_4aa];
    };
    dojo.date.isLeapYear = function(_4ac) {
        var year = _4ac.getFullYear();
        return !(year % 400) || (!(year % 4) && !!(year % 100));
    };
    dojo.date.getTimezoneName = function(_4ae) {
        var str = _4ae.toString();
        var tz = "";
        var _4b1;
        var pos = str.indexOf("(");
        if (pos > -1) {
            tz = str.substring(++pos, str.indexOf(")"));
        } else {
            var pat = /([A-Z\/]+) \d{4}$/;
            if ((_4b1 = str.match(pat))) {
                tz = _4b1[1];
            } else {
                str = _4ae.toLocaleString();
                pat = / ([A-Z\/]+)$/;
                if ((_4b1 = str.match(pat))) {
                    tz = _4b1[1];
                }
            }
        }
        return (tz == "AM" || tz == "PM") ? "" : tz;
    };
    dojo.date.compare = function(_4b4, _4b5, _4b6) {
        _4b4 = new Date(Number(_4b4));
        _4b5 = new Date(Number(_4b5 || new Date()));
        if (typeof _4b6 !== "undefined") {
            if (_4b6 == "date") {
                _4b4.setHours(0, 0, 0, 0);
                _4b5.setHours(0, 0, 0, 0);
            } else {
                if (_4b6 == "time") {
                    _4b4.setFullYear(0, 0, 0);
                    _4b5.setFullYear(0, 0, 0);
                }
            }
        }
        if (_4b4 > _4b5) {
            return 1;
        }
        if (_4b4 < _4b5) {
            return -1;
        }
        return 0;
    };
    dojo.date.add = function(date, _4b8, _4b9) {
        var sum = new Date(Number(date));
        var _4bb = false;
        var _4bc = "Date";
        switch (_4b8) {case "day":break;case "weekday":var days,_4be;var adj = 0;var mod = _4b9 % 5;if (!mod) {
            days = (_4b9 > 0) ? 5 : -5;
            _4be = (_4b9 > 0) ? ((_4b9 - 5) / 5) : ((_4b9 + 5) / 5);
        } else {
            days = mod;
            _4be = parseInt(_4b9 / 5);
        }var strt = date.getDay();if (strt == 6 && _4b9 > 0) {
            adj = 1;
        } else {
            if (strt == 0 && _4b9 < 0) {
                adj = -1;
            }
        }var trgt = strt + days;if (trgt == 0 || trgt == 6) {
            adj = (_4b9 > 0) ? 2 : -2;
        }_4b9 = 7 * _4be + days + adj;break;case "year":_4bc = "FullYear";_4bb = true;break;case "week":_4b9 *= 7;break;case "quarter":_4b9 *= 3;case "month":_4bb = true;_4bc = "Month";break;case "hour":case "minute":case "second":case "millisecond":_4bc = "UTC" + _4b8.charAt(0).toUpperCase() + _4b8.substring(1) + "s";}
        if (_4bc) {
            sum["set" + _4bc](sum["get" + _4bc]() + _4b9);
        }
        if (_4bb && (sum.getDate() < date.getDate())) {
            sum.setDate(0);
        }
        return sum;
    };
    dojo.date.difference = function(_4c3, _4c4, _4c5) {
        _4c4 = _4c4 || new Date();
        _4c5 = _4c5 || "day";
        var _4c6 = _4c4.getFullYear() - _4c3.getFullYear();
        var _4c7 = 1;
        switch (_4c5) {case "quarter":var m1 = _4c3.getMonth();var m2 = _4c4.getMonth();var q1 = Math.floor(m1 / 3) + 1;var q2 = Math.floor(m2 / 3) + 1;q2 += (_4c6 * 4);_4c7 = q2 - q1;break;case "weekday":var days = Math.round(dojo.date.difference(_4c3, _4c4, "day"));var _4cd = parseInt(dojo.date.difference(_4c3, _4c4, "week"));var mod = days % 7;if (mod == 0) {
            days = _4cd * 5;
        } else {
            var adj = 0;
            var aDay = _4c3.getDay();
            var bDay = _4c4.getDay();
            _4cd = parseInt(days / 7);
            mod = days % 7;
            var _4d2 = new Date(_4c3);
            _4d2.setDate(_4d2.getDate() + (_4cd * 7));
            var _4d3 = _4d2.getDay();
            if (days > 0) {
                switch (true) {case aDay == 6:adj = -1;break;case aDay == 0:adj = 0;break;case bDay == 6:adj = -1;break;case bDay == 0:adj = -2;break;case (_4d3 + mod) > 5:adj = -2;}
            } else {
                if (days < 0) {
                    switch (true) {case aDay == 6:adj = 0;break;case aDay == 0:adj = 1;break;case bDay == 6:adj = 2;break;case bDay == 0:adj = 1;break;case (_4d3 + mod) < 0:adj = 2;}
                }
            }
            days += adj;
            days -= (_4cd * 2);
        }_4c7 = days;break;case "year":_4c7 = _4c6;break;case "month":_4c7 = (_4c4.getMonth() - _4c3.getMonth()) + (_4c6 * 12);break;case "week":_4c7 = parseInt(dojo.date.difference(_4c3, _4c4, "day") / 7);break;case "day":_4c7 /= 24;case "hour":_4c7 /= 60;case "minute":_4c7 /= 60;case "second":_4c7 /= 1000;case "millisecond":_4c7 *= _4c4.getTime() - _4c3.getTime();}
        return Math.round(_4c7);
    };
}
if (!dojo._hasResource["dojo.date.locale"]) {
    dojo._hasResource["dojo.date.locale"] = true;
    dojo.provide("dojo.date.locale");
    (function() {
        function formatPattern(_4d4, _4d5, _4d6) {
            return _4d6.replace(/([a-z])\1*/ig, function(_4d7) {
                var s;
                var c = _4d7.charAt(0);
                var l = _4d7.length;
                var pad;
                var _4dc = ["abbr","wide","narrow"];
                switch (c) {case "G":s = _4d5[(l < 4) ? "eraAbbr" : "eraNames"][_4d4.getFullYear() < 0 ? 0 : 1];break;case "y":s = _4d4.getFullYear();switch (l) {case 1:break;case 2:s = String(s);s = s.substr(s.length - 2);break;default:pad = true;}break;case "Q":case "q":s = Math.ceil((_4d4.getMonth() + 1) / 3);pad = true;break;case "M":case "L":var m = _4d4.getMonth();var _4de;switch (l) {case 1:case 2:s = m + 1;pad = true;break;case 3:case 4:case 5:_4de = _4dc[l - 3];break;}if (_4de) {
                    var type = (c == "L") ? "standalone" : "format";
                    var prop = ["months",type,_4de].join("-");
                    s = _4d5[prop][m];
                }break;case "w":var _4e1 = 0;s = dojo.date.locale._getWeekOfYear(_4d4, _4e1);pad = true;break;case "d":s = _4d4.getDate();pad = true;break;case "D":s = dojo.date.locale._getDayOfYear(_4d4);pad = true;break;case "E":case "e":case "c":var d = _4d4.getDay();var _4de;switch (l) {case 1:case 2:if (c == "e") {
                    var _4e3 = dojo.cldr.supplemental.getFirstDayOfWeek(options.locale);
                    d = (d - _4e3 + 7) % 7;
                }if (c != "c") {
                    s = d + 1;
                    pad = true;
                    break;
                }case 3:case 4:case 5:_4de = _4dc[l - 3];break;}if (_4de) {
                    var type = (c == "c") ? "standalone" : "format";
                    var prop = ["days",type,_4de].join("-");
                    s = _4d5[prop][d];
                }break;case "a":var _4e4 = (_4d4.getHours() < 12) ? "am" : "pm";s = _4d5[_4e4];break;case "h":case "H":case "K":case "k":var h = _4d4.getHours();switch (c) {case "h":s = (h % 12) || 12;break;case "H":s = h;break;case "K":s = (h % 12);break;case "k":s = h || 24;break;}pad = true;break;case "m":s = _4d4.getMinutes();pad = true;break;case "s":s = _4d4.getSeconds();pad = true;break;case "S":s = Math.round(_4d4.getMilliseconds() * Math.pow(10, l - 3));break;case "v":case "z":s = dojo.date.getTimezoneName(_4d4);if (s) {
                    break;
                }l = 4;case "Z":var _4e6 = _4d4.getTimezoneOffset();var tz = [(_4e6 <= 0 ? "+" : "-"),dojo.string.pad(Math.floor(Math.abs(_4e6) / 60), 2),dojo.string.pad(Math.abs(_4e6) % 60, 2)];if (l == 4) {
                    tz.splice(0, 0, "GMT");
                    tz.splice(3, 0, ":");
                }s = tz.join("");break;default:throw new Error("dojo.date.locale.format: invalid pattern char: " + _4d6);}
                if (pad) {
                    s = dojo.string.pad(s, l);
                }
                return s;
            });
        }
        ;
        dojo.date.locale.format = function(_4e8, _4e9) {
            _4e9 = _4e9 || {};
            var _4ea = dojo.i18n.normalizeLocale(_4e9.locale);
            var _4eb = _4e9.formatLength || "short";
            var _4ec = dojo.date.locale._getGregorianBundle(_4ea);
            var str = [];
            var _4ee = dojo.hitch(this, formatPattern, _4e8, _4ec);
            if (_4e9.selector == "year") {
                var year = _4e8.getFullYear();
                if (_4ea.match(/^zh|^ja/)) {
                    year += "年";
                }
                return year;
            }
            if (_4e9.selector != "time") {
                var _4f0 = _4e9.datePattern || _4ec["dateFormat-" + _4eb];
                if (_4f0) {
                    str.push(_processPattern(_4f0, _4ee));
                }
            }
            if (_4e9.selector != "date") {
                var _4f1 = _4e9.timePattern || _4ec["timeFormat-" + _4eb];
                if (_4f1) {
                    str.push(_processPattern(_4f1, _4ee));
                }
            }
            var _4f2 = str.join(" ");
            return _4f2;
        };
        dojo.date.locale.regexp = function(_4f3) {
            return dojo.date.locale._parseInfo(_4f3).regexp;
        };
        dojo.date.locale._parseInfo = function(_4f4) {
            _4f4 = _4f4 || {};
            var _4f5 = dojo.i18n.normalizeLocale(_4f4.locale);
            var _4f6 = dojo.date.locale._getGregorianBundle(_4f5);
            var _4f7 = _4f4.formatLength || "short";
            var _4f8 = _4f4.datePattern || _4f6["dateFormat-" + _4f7];
            var _4f9 = _4f4.timePattern || _4f6["timeFormat-" + _4f7];
            var _4fa;
            if (_4f4.selector == "date") {
                _4fa = _4f8;
            } else {
                if (_4f4.selector == "time") {
                    _4fa = _4f9;
                } else {
                    _4fa = _4f8 + " " + _4f9;
                }
            }
            var _4fb = [];
            var re = _processPattern(_4fa, dojo.hitch(this, _buildDateTimeRE, _4fb, _4f6, _4f4));
            return {regexp:re,tokens:_4fb,bundle:_4f6};
        };
        dojo.date.locale.parse = function(_4fd, _4fe) {
            var info = dojo.date.locale._parseInfo(_4fe);
            var _500 = info.tokens,_501 = info.bundle;
            var re = new RegExp("^" + info.regexp + "$");
            var _503 = re.exec(_4fd);
            if (!_503) {
                return null;
            }
            var _504 = ["abbr","wide","narrow"];
            var _505 = new Date(1972, 0);
            var _506 = {};
            var amPm = "";
            dojo.forEach(_503, function(v, i) {
                if (!i) {
                    return;
                }
                var _50a = _500[i - 1];
                var l = _50a.length;
                switch (_50a.charAt(0)) {case "y":if (l != 2) {
                    _505.setFullYear(v);
                    _506.year = v;
                } else {
                    if (v < 100) {
                        v = Number(v);
                        var year = "" + new Date().getFullYear();
                        var _50d = year.substring(0, 2) * 100;
                        var _50e = Number(year.substring(2, 4));
                        var _50f = Math.min(_50e + 20, 99);
                        var num = (v < _50f) ? _50d + v : _50d - 100 + v;
                        _505.setFullYear(num);
                        _506.year = num;
                    } else {
                        if (_4fe.strict) {
                            return null;
                        }
                        _505.setFullYear(v);
                        _506.year = v;
                    }
                }break;case "M":if (l > 2) {
                    var _511 = _501["months-format-" + _504[l - 3]].concat();
                    if (!_4fe.strict) {
                        v = v.replace(".", "").toLowerCase();
                        _511 = dojo.map(_511, function(s) {
                            return s.replace(".", "").toLowerCase();
                        });
                    }
                    v = dojo.indexOf(_511, v);
                    if (v == -1) {
                        return null;
                    }
                } else {
                    v--;
                }_505.setMonth(v);_506.month = v;break;case "E":case "e":var days = _501["days-format-" + _504[l - 3]].concat();if (!_4fe.strict) {
                    v = v.toLowerCase();
                    days = dojo.map(days, "".toLowerCase);
                }v = dojo.indexOf(days, v);if (v == -1) {
                    return null;
                }break;case "d":_505.setDate(v);_506.date = v;break;case "D":_505.setMonth(0);_505.setDate(v);break;case "a":var am = _4fe.am || _501.am;var pm = _4fe.pm || _501.pm;if (!_4fe.strict) {
                    var _516 = /\./g;
                    v = v.replace(_516, "").toLowerCase();
                    am = am.replace(_516, "").toLowerCase();
                    pm = pm.replace(_516, "").toLowerCase();
                }if (_4fe.strict && v != am && v != pm) {
                    return null;
                }amPm = (v == pm) ? "p" : (v == am) ? "a" : "";break;case "K":if (v == 24) {
                    v = 0;
                }case "h":case "H":case "k":if (v > 23) {
                    return null;
                }_505.setHours(v);break;case "m":_505.setMinutes(v);break;case "s":_505.setSeconds(v);break;case "S":_505.setMilliseconds(v);}
            });
            var _517 = _505.getHours();
            if (amPm === "p" && _517 < 12) {
                _505.setHours(_517 + 12);
            } else {
                if (amPm === "a" && _517 == 12) {
                    _505.setHours(0);
                }
            }
            if (_506.year && _505.getFullYear() != _506.year) {
                return null;
            }
            if (_506.month && _505.getMonth() != _506.month) {
                return null;
            }
            if (_506.date && _505.getDate() != _506.date) {
                return null;
            }
            return _505;
        };
        function _processPattern(_518, _519, _51a, _51b) {
            var _51c = function(x) {
                return x;
            };
            _519 = _519 || _51c;
            _51a = _51a || _51c;
            _51b = _51b || _51c;
            var _51e = _518.match(/(''|[^'])+/g);
            var _51f = false;
            dojo.forEach(_51e, function(_520, i) {
                if (!_520) {
                    _51e[i] = "";
                } else {
                    _51e[i] = (_51f ? _51a : _519)(_520);
                    _51f = !_51f;
                }
            });
            return _51b(_51e.join(""));
        }
        ;
        function _buildDateTimeRE(_522, _523, _524, _525) {
            _525 = dojo.regexp.escapeString(_525);
            if (!_524.strict) {
                _525 = _525.replace(" a", " ?a");
            }
            return _525.replace(/([a-z])\1*/ig, function(_526) {
                var s;
                var c = _526.charAt(0);
                var l = _526.length;
                var p2 = "",p3 = "";
                if (_524.strict) {
                    if (l > 1) {
                        p2 = "0" + "{" + (l - 1) + "}";
                    }
                    if (l > 2) {
                        p3 = "0" + "{" + (l - 2) + "}";
                    }
                } else {
                    p2 = "0?";
                    p3 = "0{0,2}";
                }
                switch (c) {case "y":s = "\\d{2,4}";break;case "M":s = (l > 2) ? "\\S+" : p2 + "[1-9]|1[0-2]";break;case "D":s = p2 + "[1-9]|" + p3 + "[1-9][0-9]|[12][0-9][0-9]|3[0-5][0-9]|36[0-6]";break;case "d":s = p2 + "[1-9]|[12]\\d|3[01]";break;case "w":s = p2 + "[1-9]|[1-4][0-9]|5[0-3]";break;case "E":s = "\\S+";break;case "h":s = p2 + "[1-9]|1[0-2]";break;case "k":s = p2 + "\\d|1[01]";break;case "H":s = p2 + "\\d|1\\d|2[0-3]";break;case "K":s = p2 + "[1-9]|1\\d|2[0-4]";break;case "m":case "s":s = "[0-5]\\d";break;case "S":s = "\\d{" + l + "}";break;case "a":var am = _524.am || _523.am || "AM";var pm = _524.pm || _523.pm || "PM";if (_524.strict) {
                    s = am + "|" + pm;
                } else {
                    s = am + "|" + pm;
                    if (am != am.toLowerCase()) {
                        s += "|" + am.toLowerCase();
                    }
                    if (pm != pm.toLowerCase()) {
                        s += "|" + pm.toLowerCase();
                    }
                }break;default:s = ".*";}
                if (_522) {
                    _522.push(_526);
                }
                return "(" + s + ")";
            }).replace(/[\xa0 ]/g, "[\\s\\xa0]");
        }
        ;
    })();
    (function() {
        var _52e = [];
        dojo.date.locale.addCustomFormats = function(_52f, _530) {
            _52e.push({pkg:_52f,name:_530});
        };
        dojo.date.locale._getGregorianBundle = function(_531) {
            var _532 = {};
            dojo.forEach(_52e, function(desc) {
                var _534 = dojo.i18n.getLocalization(desc.pkg, desc.name, _531);
                _532 = dojo.mixin(_532, _534);
            }, this);
            return _532;
        };
    })();
    dojo.date.locale.addCustomFormats("dojo.cldr", "gregorian");
    dojo.date.locale.getNames = function(item, type, use, _538) {
        var _539;
        var _53a = dojo.date.locale._getGregorianBundle(_538);
        var _53b = [item,use,type];
        if (use == "standAlone") {
            _539 = _53a[_53b.join("-")];
        }
        _53b[1] = "format";
        return (_539 || _53a[_53b.join("-")]).concat();
    };
    dojo.date.locale.isWeekend = function(_53c, _53d) {
        var _53e = dojo.cldr.supplemental.getWeekend(_53d);
        var day = (_53c || new Date()).getDay();
        if (_53e.end < _53e.start) {
            _53e.end += 7;
            if (day < _53e.start) {
                day += 7;
            }
        }
        return day >= _53e.start && day <= _53e.end;
    };
    dojo.date.locale._getDayOfYear = function(_540) {
        return dojo.date.difference(new Date(_540.getFullYear(), 0, 1), _540) + 1;
    };
    dojo.date.locale._getWeekOfYear = function(_541, _542) {
        if (arguments.length == 1) {
            _542 = 0;
        }
        var _543 = new Date(_541.getFullYear(), 0, 1).getDay();
        var adj = (_543 - _542 + 7) % 7;
        var week = Math.floor((dojo.date.locale._getDayOfYear(_541) + adj - 1) / 7);
        if (_543 == _542) {
            week++;
        }
        return week;
    };
}
if (!dojo._hasResource["dijit._Calendar"]) {
    dojo._hasResource["dijit._Calendar"] = true;
    dojo.provide("dijit._Calendar");
    dojo.declare("dijit._Calendar", [dijit._Widget,dijit._Templated], {templateString:"<table cellspacing=\"0\" cellpadding=\"0\" class=\"dijitCalendarContainer\">\n\t<thead>\n\t\t<tr class=\"dijitReset dijitCalendarMonthContainer\" valign=\"top\">\n\t\t\t<th class='dijitReset' dojoAttachPoint=\"decrementMonth\">\n\t\t\t\t<span class=\"dijitInline dijitCalendarIncrementControl dijitCalendarDecrease\"><span dojoAttachPoint=\"decreaseArrowNode\" class=\"dijitA11ySideArrow dijitCalendarIncrementControl dijitCalendarDecreaseInner\">-</span></span>\n\t\t\t</th>\n\t\t\t<th class='dijitReset' colspan=\"5\">\n\t\t\t\t<div dojoAttachPoint=\"monthLabelSpacer\" class=\"dijitCalendarMonthLabelSpacer\"></div>\n\t\t\t\t<div dojoAttachPoint=\"monthLabelNode\" class=\"dijitCalendarMonth\"></div>\n\t\t\t</th>\n\t\t\t<th class='dijitReset' dojoAttachPoint=\"incrementMonth\">\n\t\t\t\t<div class=\"dijitInline dijitCalendarIncrementControl dijitCalendarIncrease\"><span dojoAttachPoint=\"increaseArrowNode\" class=\"dijitA11ySideArrow dijitCalendarIncrementControl dijitCalendarIncreaseInner\">+</span></div>\n\t\t\t</th>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<th class=\"dijitReset dijitCalendarDayLabelTemplate\"><span class=\"dijitCalendarDayLabel\"></span></th>\n\t\t</tr>\n\t</thead>\n\t<tbody dojoAttachEvent=\"onclick: _onDayClick\" class=\"dijitReset dijitCalendarBodyContainer\">\n\t\t<tr class=\"dijitReset dijitCalendarWeekTemplate\">\n\t\t\t<td class=\"dijitReset dijitCalendarDateTemplate\"><span class=\"dijitCalendarDateLabel\"></span></td>\n\t\t</tr>\n\t</tbody>\n\t<tfoot class=\"dijitReset dijitCalendarYearContainer\">\n\t\t<tr>\n\t\t\t<td class='dijitReset' valign=\"top\" colspan=\"7\">\n\t\t\t\t<h3 class=\"dijitCalendarYearLabel\">\n\t\t\t\t\t<span dojoAttachPoint=\"previousYearLabelNode\" class=\"dijitInline dijitCalendarPreviousYear\"></span>\n\t\t\t\t\t<span dojoAttachPoint=\"currentYearLabelNode\" class=\"dijitInline dijitCalendarSelectedYear\"></span>\n\t\t\t\t\t<span dojoAttachPoint=\"nextYearLabelNode\" class=\"dijitInline dijitCalendarNextYear\"></span>\n\t\t\t\t</h3>\n\t\t\t</td>\n\t\t</tr>\n\t</tfoot>\n</table>\t\n",value:new Date(),dayWidth:"narrow",setValue:function(_546) {
        if (!this.value || dojo.date.compare(_546, this.value)) {
            _546 = new Date(_546);
            this.displayMonth = new Date(_546);
            if (!this.isDisabledDate(_546, this.lang)) {
                this.value = _546;
                this.value.setHours(0, 0, 0, 0);
                this.onChange(this.value);
            }
            this._populateGrid();
        }
    },_setText:function(node, text) {
        while (node.firstChild) {
            node.removeChild(node.firstChild);
        }
        node.appendChild(document.createTextNode(text));
    },_populateGrid:function() {
        var _549 = this.displayMonth;
        _549.setDate(1);
        var _54a = _549.getDay();
        var _54b = dojo.date.getDaysInMonth(_549);
        var _54c = dojo.date.getDaysInMonth(dojo.date.add(_549, "month", -1));
        var _54d = new Date();
        var _54e = this.value;
        var _54f = dojo.cldr.supplemental.getFirstDayOfWeek(this.lang);
        if (_54f > _54a) {
            _54f -= 7;
        }
        dojo.query(".dijitCalendarDateTemplate", this.domNode).forEach(function(_550, i) {
            i += _54f;
            var date = new Date(_549);
            var _553,_554 = "dijitCalendar",adj = 0;
            if (i < _54a) {
                _553 = _54c - _54a + i + 1;
                adj = -1;
                _554 += "Previous";
            } else {
                if (i >= (_54a + _54b)) {
                    _553 = i - _54a - _54b + 1;
                    adj = 1;
                    _554 += "Next";
                } else {
                    _553 = i - _54a + 1;
                    _554 += "Current";
                }
            }
            if (adj) {
                date = dojo.date.add(date, "month", adj);
            }
            date.setDate(_553);
            if (!dojo.date.compare(date, _54d, "date")) {
                _554 = "dijitCalendarCurrentDate " + _554;
            }
            if (!dojo.date.compare(date, _54e, "date")) {
                _554 = "dijitCalendarSelectedDate " + _554;
            }
            if (this.isDisabledDate(date, this.lang)) {
                _554 = "dijitCalendarDisabledDate " + _554;
            }
            _550.className = _554 + "Month dijitCalendarDateTemplate";
            _550.dijitDateValue = date.valueOf();
            var _556 = dojo.query(".dijitCalendarDateLabel", _550)[0];
            this._setText(_556, date.getDate());
        }, this);
        var _557 = dojo.date.locale.getNames("months", "wide", "standAlone", this.lang);
        this._setText(this.monthLabelNode, _557[_549.getMonth()]);
        var y = _549.getFullYear() - 1;
        dojo.forEach(["previous","current","next"], function(name) {
            this._setText(this[name + "YearLabelNode"], dojo.date.locale.format(new Date(y++, 0), {selector:"year",locale:this.lang}));
        }, this);
        var _55a = this;
        var _55b = function(_55c, _55d, adj) {
            dijit.typematic.addMouseListener(_55a[_55c], _55a, function(_55f) {
                if (_55f >= 0) {
                    _55a._adjustDisplay(_55d, adj);
                }
            }, 0.8, 500);
        };
        _55b("incrementMonth", "month", 1);
        _55b("decrementMonth", "month", -1);
        _55b("nextYearLabelNode", "year", 1);
        _55b("previousYearLabelNode", "year", -1);
    },postCreate:function() {
        dijit._Calendar.superclass.postCreate.apply(this);
        var _560 = dojo.hitch(this, function(_561, n) {
            var _563 = dojo.query(_561, this.domNode)[0];
            for (var i = 0; i < n; i++) {
                _563.parentNode.appendChild(_563.cloneNode(true));
            }
        });
        _560(".dijitCalendarDayLabelTemplate", 6);
        _560(".dijitCalendarDateTemplate", 6);
        _560(".dijitCalendarWeekTemplate", 5);
        var _565 = dojo.date.locale.getNames("days", this.dayWidth, "standAlone", this.lang);
        var _566 = dojo.cldr.supplemental.getFirstDayOfWeek(this.lang);
        dojo.query(".dijitCalendarDayLabel", this.domNode).forEach(function(_567, i) {
            this._setText(_567, _565[(i + _566) % 7]);
        }, this);
        var _569 = dojo.date.locale.getNames("months", "wide", "standAlone", this.lang);
        dojo.forEach(_569, function(name) {
            var _56b = dojo.doc.createElement("div");
            this._setText(_56b, name);
            this.monthLabelSpacer.appendChild(_56b);
        }, this);
        this.value = null;
        this.setValue(new Date());
    },_adjustDisplay:function(part, _56d) {
        this.displayMonth = dojo.date.add(this.displayMonth, part, _56d);
        this._populateGrid();
    },_onDayClick:function(evt) {
        var node = evt.target;
        dojo.stopEvent(evt);
        while (!node.dijitDateValue) {
            node = node.parentNode;
        }
        if (!dojo.hasClass(node, "dijitCalendarDisabledDate")) {
            this.setValue(node.dijitDateValue);
            this.onValueSelected(this.value);
        }
    },onValueSelected:function(date) {
    },onChange:function(date) {
    },isDisabledDate:function(_572, _573) {
        return false;
    }});
}
if (!dojo._hasResource["dijit._TimePicker"]) {
    dojo._hasResource["dijit._TimePicker"] = true;
    dojo.provide("dijit._TimePicker");
    dojo.declare("dijit._TimePicker", [dijit._Widget,dijit._Templated], {templateString:"<div id=\"widget_${id}\" class=\"dijitMenu\"\n    ><div dojoAttachPoint=\"upArrow\" class=\"dijitButtonNode\"><span class=\"dijitTimePickerA11yText\">&#9650;</span></div\n    ><div dojoAttachPoint=\"timeMenu,focusNode\" dojoAttachEvent=\"onclick:_onOptionSelected,onmouseover,onmouseout\"></div\n    ><div dojoAttachPoint=\"downArrow\" class=\"dijitButtonNode\"><span class=\"dijitTimePickerA11yText\">&#9660;</span></div\n></div>\n",baseClass:"dijitTimePicker",clickableIncrement:"T00:15:00",visibleIncrement:"T01:00:00",visibleRange:"T05:00:00",value:new Date(),_visibleIncrement:2,_clickableIncrement:1,_totalIncrements:10,constraints:{},serialize:dojo.date.stamp.toISOString,setValue:function(date, _575) {
        this.value = date;
        this._showText();
    },isDisabledDate:function(_576, _577) {
        return false;
    },_showText:function() {
        this.timeMenu.innerHTML = "";
        var _578 = dojo.date.stamp.fromISOString;
        this._clickableIncrementDate = _578(this.clickableIncrement);
        this._visibleIncrementDate = _578(this.visibleIncrement);
        this._visibleRangeDate = _578(this.visibleRange);
        var _579 = function(date) {
            return date.getHours() * 60 * 60 + date.getMinutes() * 60 + date.getSeconds();
        };
        var _57b = _579(this._clickableIncrementDate);
        var _57c = _579(this._visibleIncrementDate);
        var _57d = _579(this._visibleRangeDate);
        var time = this.value.getTime();
        this._refDate = new Date(time - time % (_57c * 1000));
        this._clickableIncrement = 1;
        this._totalIncrements = _57d / _57b;
        this._visibleIncrement = _57c / _57b;
        for (var i = -this._totalIncrements / 2; i <= this._totalIncrements / 2; i += this._clickableIncrement) {
            var div = this._createOption(i);
            this.timeMenu.appendChild(div);
        }
    },postCreate:function() {
        if (this.constraints === dijit._TimePicker.prototype.constraints) {
            this.constraints = {};
        }
        if (!this.constraints.locale) {
            this.constraints.locale = this.lang;
        }
        this.connect(this.timeMenu, dojo.isIE ? "onmousewheel" : "DOMMouseScroll", "_mouseWheeled");
        dijit.typematic.addMouseListener(this.upArrow, this, this._onArrowUp, 0.8, 500);
        dijit.typematic.addMouseListener(this.downArrow, this, this._onArrowDown, 0.8, 500);
        this.inherited("postCreate", arguments);
        this.setValue(this.value);
    },_createOption:function(_581) {
        var div = document.createElement("div");
        var date = (div.date = new Date(this._refDate));
        div.index = _581;
        var _584 = this._clickableIncrementDate;
        date.setHours(date.getHours() + _584.getHours() * _581, date.getMinutes() + _584.getMinutes() * _581, date.getSeconds() + _584.getSeconds() * _581);
        var _585 = document.createElement("div");
        dojo.addClass(div, this.baseClass + "Item");
        dojo.addClass(_585, this.baseClass + "ItemInner");
        _585.innerHTML = dojo.date.locale.format(date, this.constraints);
        div.appendChild(_585);
        if (_581 % this._visibleIncrement < 1 && _581 % this._visibleIncrement > -1) {
            dojo.addClass(div, this.baseClass + "Marker");
        } else {
            if (_581 % this._clickableIncrement == 0) {
                dojo.addClass(div, this.baseClass + "Tick");
            }
        }
        if (this.isDisabledDate(date)) {
            dojo.addClass(div, this.baseClass + "ItemDisabled");
        }
        if (dojo.date.compare(this.value, date, this.constraints.selector) == 0) {
            div.selected = true;
            dojo.addClass(div, this.baseClass + "ItemSelected");
        }
        return div;
    },_onOptionSelected:function(tgt) {
        var _587 = tgt.target.date || tgt.target.parentNode.date;
        if (!_587 || this.isDisabledDate(_587)) {
            return;
        }
        this.setValue(_587);
        this.onValueSelected(_587);
    },onValueSelected:function(_588) {
    },onmouseover:function(e) {
        var tgr = (e.target.parentNode === this.timeMenu) ? e.target : e.target.parentNode;
        this._highlighted_option = tgr;
        dojo.addClass(tgr, this.baseClass + "ItemHover");
    },onmouseout:function(e) {
        var tgr = (e.target.parentNode === this.timeMenu) ? e.target : e.target.parentNode;
        if (this._highlighted_option === tgr) {
            dojo.removeClass(tgr, this.baseClass + "ItemHover");
        }
    },_mouseWheeled:function(e) {
        dojo.stopEvent(e);
        var _58e = (dojo.isIE ? e.wheelDelta : -e.detail);
        this[(_58e > 0 ? "_onArrowUp" : "_onArrowDown")]();
    },_onArrowUp:function() {
        var _58f = this.timeMenu.childNodes[0].index - 1;
        var div = this._createOption(_58f);
        this.timeMenu.removeChild(this.timeMenu.childNodes[this.timeMenu.childNodes.length - 1]);
        this.timeMenu.insertBefore(div, this.timeMenu.childNodes[0]);
    },_onArrowDown:function() {
        var _591 = this.timeMenu.childNodes[this.timeMenu.childNodes.length - 1].index + 1;
        var div = this._createOption(_591);
        this.timeMenu.removeChild(this.timeMenu.childNodes[0]);
        this.timeMenu.appendChild(div);
    }});
}
if (!dojo._hasResource["dijit.form.TimeTextBox"]) {
    dojo._hasResource["dijit.form.TimeTextBox"] = true;
    dojo.provide("dijit.form.TimeTextBox");
    dojo.declare("dijit.form.TimeTextBox", dijit.form.RangeBoundTextBox, {regExpGen:dojo.date.locale.regexp,compare:dojo.date.compare,format:function(_593, _594) {
        if (!_593 || _593.toString() == this._invalid) {
            return null;
        }
        return dojo.date.locale.format(_593, _594);
    },parse:dojo.date.locale.parse,serialize:dojo.date.stamp.toISOString,value:new Date(""),_invalid:(new Date("")).toString(),_popupClass:"dijit._TimePicker",postMixInProperties:function() {
        this.inherited("postMixInProperties", arguments);
        var _595 = this.constraints;
        _595.selector = "time";
        if (typeof _595.min == "string") {
            _595.min = dojo.date.stamp.fromISOString(_595.min);
        }
        if (typeof _595.max == "string") {
            _595.max = dojo.date.stamp.fromISOString(_595.max);
        }
    },_onFocus:function(evt) {
        this._open();
    },setValue:function(_597, _598) {
        this.inherited("setValue", arguments);
        if (this._picker) {
            if (!_597 || _597.toString() == this._invalid) {
                _597 = new Date();
            }
            this._picker.setValue(_597);
        }
    },_open:function() {
        if (this.disabled) {
            return;
        }
        var self = this;
        if (!this._picker) {
            var _59a = dojo.getObject(this._popupClass, false);
            this._picker = new _59a({onValueSelected:function(_59b) {
                self.focus();
                setTimeout(dojo.hitch(self, "_close"), 1);
                dijit.form.TimeTextBox.superclass.setValue.call(self, _59b, true);
            },lang:this.lang,constraints:this.constraints,isDisabledDate:function(date) {
                return self.constraints && (dojo.date.compare(self.constraints.min, date) > 0 || dojo.date.compare(self.constraints.max, date) < 0);
            }});
            this._picker.setValue(this.getValue() || new Date());
        }
        if (!this._opened) {
            dijit.popup.open({parent:this,popup:this._picker,around:this.domNode,onCancel:dojo.hitch(this, this._close),onClose:function() {
                self._opened = false;
            }});
            this._opened = true;
        }
        dojo.marginBox(this._picker.domNode, {w:this.domNode.offsetWidth});
    },_close:function() {
        if (this._opened) {
            dijit.popup.close(this._picker);
            this._opened = false;
        }
    },_onBlur:function() {
        this._close();
        this.inherited("_onBlur", arguments);
    },getDisplayedValue:function() {
        return this.textbox.value;
    },setDisplayedValue:function(_59d) {
        this.textbox.value = _59d;
    }});
}
if (!dojo._hasResource["dijit.form.DateTextBox"]) {
    dojo._hasResource["dijit.form.DateTextBox"] = true;
    dojo.provide("dijit.form.DateTextBox");
    dojo.declare("dijit.form.DateTextBox", dijit.form.TimeTextBox, {_popupClass:"dijit._Calendar",postMixInProperties:function() {
        this.inherited("postMixInProperties", arguments);
        this.constraints.selector = "date";
    }});
}
if (!dojo._hasResource["dijit.form.FilteringSelect"]) {
    dojo._hasResource["dijit.form.FilteringSelect"] = true;
    dojo.provide("dijit.form.FilteringSelect");
    dojo.declare("dijit.form.FilteringSelect", [dijit.form.MappedTextBox,dijit.form.ComboBoxMixin], {labelAttr:"",labelType:"text",_isvalid:true,isValid:function() {
        return this._isvalid;
    },_callbackSetLabel:function(_59e, _59f, _5a0) {
        if (_59f && _59f.query[this.searchAttr] != this._lastQuery) {
            return;
        }
        if (!_59e.length) {
            if (!this._hasFocus) {
                this.valueNode.value = "";
            }
            dijit.form.TextBox.superclass.setValue.call(this, undefined, !this._hasFocus);
            this._isvalid = false;
            this.validate(this._hasFocus);
        } else {
            this._setValueFromItem(_59e[0], _5a0);
        }
    },_openResultList:function(_5a1, _5a2) {
        if (_5a2.query[this.searchAttr] != this._lastQuery) {
            return;
        }
        this._isvalid = _5a1.length != 0;
        this.validate(true);
        dijit.form.ComboBoxMixin.prototype._openResultList.apply(this, arguments);
    },getValue:function() {
        return this.valueNode.value;
    },_getValueField:function() {
        return "value";
    },_setValue:function(_5a3, _5a4, _5a5) {
        this.valueNode.value = _5a3;
        dijit.form.FilteringSelect.superclass.setValue.call(this, _5a3, _5a5, _5a4);
        this._lastDisplayedValue = _5a4;
    },setValue:function(_5a6, _5a7) {
        var self = this;
        var _5a9 = function(item, _5ab) {
            if (item) {
                if (self.store.isItemLoaded(item)) {
                    self._callbackSetLabel([item], undefined, _5ab);
                } else {
                    self.store.loadItem({item:item,onItem:function(_5ac, _5ad) {
                        self._callbackSetLabel(_5ac, _5ad, _5ab);
                    }});
                }
            } else {
                self._isvalid = false;
                self.validate(false);
            }
        };
        this.store.fetchItemByIdentity({identity:_5a6,onItem:function(item) {
            _5a9(item, _5a7);
        }});
    },_setValueFromItem:function(item, _5b0) {
        this._isvalid = true;
        this._setValue(this.store.getIdentity(item), this.labelFunc(item, this.store), _5b0);
    },labelFunc:function(item, _5b2) {
        return _5b2.getValue(item, this.searchAttr);
    },onkeyup:function(evt) {
    },_doSelect:function(tgt) {
        this.item = tgt.item;
        this._setValueFromItem(tgt.item, true);
    },setDisplayedValue:function(_5b5) {
        if (this.store) {
            var _5b6 = {};
            this._lastQuery = _5b6[this.searchAttr] = _5b5;
            this.textbox.value = _5b5;
            this._lastDisplayedValue = _5b5;
            this.store.fetch({query:_5b6,queryOptions:{ignoreCase:this.ignoreCase,deep:true},onComplete:dojo.hitch(this, this._callbackSetLabel)});
        }
    },_getMenuLabelFromItem:function(item) {
        if (this.labelAttr) {
            return {html:this.labelType == "html",label:this.store.getValue(item, this.labelAttr)};
        } else {
            return dijit.form.ComboBoxMixin.prototype._getMenuLabelFromItem.apply(this, arguments);
        }
    },postMixInProperties:function() {
        dijit.form.ComboBoxMixin.prototype.postMixInProperties.apply(this, arguments);
        dijit.form.MappedTextBox.prototype.postMixInProperties.apply(this, arguments);
    }});
}
if (!dojo._hasResource["dijit.form._Spinner"]) {
    dojo._hasResource["dijit.form._Spinner"] = true;
    dojo.provide("dijit.form._Spinner");
    dojo.declare("dijit.form._Spinner", dijit.form.RangeBoundTextBox, {defaultTimeout:500,timeoutChangeRate:0.9,smallDelta:1,largeDelta:10,templateString:"<table class=\"dijit dijitReset dijitInlineTable dijitLeft\" cellspacing=\"0\" cellpadding=\"0\"\n\tid=\"widget_${id}\" name=\"${name}\"\n\tdojoAttachEvent=\"onmouseenter:_onMouse,onmouseleave:_onMouse,onkeypress:_onKeyPress\"\n\twaiRole=\"presentation\"\n\t><tr class=\"dijitReset\"\n\t\t><td rowspan=\"2\" class=\"dijitReset dijitStretch dijitInputField\" width=\"100%\"\n\t\t\t><input dojoAttachPoint=\"textbox,focusNode\" type=\"${type}\" dojoAttachEvent=\"onfocus,onkeyup\"\n\t\t\t\twaiRole=\"spinbutton\" autocomplete=\"off\" name=\"${name}\"\n\t\t></td\n\t\t><td rowspan=\"2\" class=\"dijitReset dijitValidationIconField\" width=\"0%\" \n\t\t\t><div dojoAttachPoint='iconNode' class='dijitValidationIcon'></div\n\t\t></td\n\t\t><td class=\"dijitReset dijitRight dijitButtonNode dijitUpArrowButton\" width=\"0%\"\n\t\t\t\tdojoAttachPoint=\"upArrowNode\"\n\t\t\t\tdojoAttachEvent=\"onmousedown:_handleUpArrowEvent,onmouseup:_handleUpArrowEvent,onmouseover:_handleUpArrowEvent,onmouseout:_handleUpArrowEvent\"\n\t\t\t\tstateModifier=\"UpArrow\"\n\t\t\t><div class=\"dijitA11yUpArrow\">&#9650;</div\n\t\t></td\n\t></tr\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset dijitRight dijitButtonNode dijitDownArrowButton\" width=\"0%\"\n\t\t\t\tdojoAttachPoint=\"downArrowNode\"\n\t\t\t\tdojoAttachEvent=\"onmousedown:_handleDownArrowEvent,onmouseup:_handleDownArrowEvent,onmouseover:_handleDownArrowEvent,onmouseout:_handleDownArrowEvent\"\n\t\t\t\tstateModifier=\"DownArrow\"\n\t\t\t><div class=\"dijitA11yDownArrow\">&#9660;</div\n\t\t></td\n\t></tr\n></table>\n\n",baseClass:"dijitSpinner",adjust:function(val, _5b9) {
        return val;
    },_handleUpArrowEvent:function(e) {
        this._onMouse(e, this.upArrowNode);
    },_handleDownArrowEvent:function(e) {
        this._onMouse(e, this.downArrowNode);
    },_arrowPressed:function(_5bc, _5bd) {
        if (this.disabled) {
            return;
        }
        dojo.addClass(_5bc, "dijitSpinnerButtonActive");
        this.setValue(this.adjust(this.getValue(), _5bd * this.smallDelta), false);
    },_arrowReleased:function(node) {
        if (this.disabled) {
            return;
        }
        this._wheelTimer = null;
        dijit.focus(this.textbox);
        dojo.removeClass(node, "dijitSpinnerButtonActive");
    },_typematicCallback:function(_5bf, node, evt) {
        if (node == this.textbox) {
            node = (evt.keyCode == dojo.keys.UP_ARROW) ? this.upArrowNode : this.downArrowNode;
        }
        if (_5bf == -1) {
            this._arrowReleased(node);
        } else {
            this._arrowPressed(node, (node == this.upArrowNode) ? 1 : -1);
        }
    },_wheelTimer:null,_mouseWheeled:function(evt) {
        dojo.stopEvent(evt);
        var _5c3 = 0;
        if (typeof evt.wheelDelta == "number") {
            _5c3 = evt.wheelDelta;
        } else {
            if (typeof evt.detail == "number") {
                _5c3 = -evt.detail;
            }
        }
        if (_5c3 > 0) {
            var node = this.upArrowNode;
            var dir = +1;
        } else {
            if (_5c3 < 0) {
                var node = this.downArrowNode;
                var dir = -1;
            } else {
                return;
            }
        }
        this._arrowPressed(node, dir);
        if (this._wheelTimer != null) {
            clearTimeout(this._wheelTimer);
        }
        var _5c6 = this;
        this._wheelTimer = setTimeout(function() {
            _5c6._arrowReleased(node);
        }, 50);
    },postCreate:function() {
        this.inherited("postCreate", arguments);
        this.connect(this.textbox, dojo.isIE ? "onmousewheel" : "DOMMouseScroll", "_mouseWheeled");
        dijit.typematic.addListener(this.upArrowNode, this.textbox, {keyCode:dojo.keys.UP_ARROW,ctrlKey:false,altKey:false,shiftKey:false}, this, "_typematicCallback", this.timeoutChangeRate, this.defaultTimeout);
        dijit.typematic.addListener(this.downArrowNode, this.textbox, {keyCode:dojo.keys.DOWN_ARROW,ctrlKey:false,altKey:false,shiftKey:false}, this, "_typematicCallback", this.timeoutChangeRate, this.defaultTimeout);
    }});
}
if (!dojo._hasResource["dijit.form.NumberSpinner"]) {
    dojo._hasResource["dijit.form.NumberSpinner"] = true;
    dojo.provide("dijit.form.NumberSpinner");
    dojo.declare("dijit.form.NumberSpinner", [dijit.form._Spinner,dijit.form.NumberTextBoxMixin], {required:true,adjust:function(val, _5c8) {
        var _5c9 = val + _5c8;
        if (isNaN(val) || isNaN(_5c9)) {
            return val;
        }
        if ((typeof this.constraints.max == "number") && (_5c9 > this.constraints.max)) {
            _5c9 = this.constraints.max;
        }
        if ((typeof this.constraints.min == "number") && (_5c9 < this.constraints.min)) {
            _5c9 = this.constraints.min;
        }
        return _5c9;
    }});
}
if (!dojo._hasResource["dijit.form.Slider"]) {
    dojo._hasResource["dijit.form.Slider"] = true;
    dojo.provide("dijit.form.Slider");
    dojo.declare("dijit.form.HorizontalSlider", [dijit.form._FormWidget,dijit._Container], {templateString:"<table class=\"dijit dijitReset dijitSlider\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" rules=\"none\"\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset\" colspan=\"2\"></td\n\t\t><td dojoAttachPoint=\"containerNode,topDecoration\" class=\"dijitReset\" style=\"text-align:center;width:100%;\"></td\n\t\t><td class=\"dijitReset\" colspan=\"2\"></td\n\t></tr\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset dijitSliderButtonContainer dijitHorizontalSliderButtonContainer\"\n\t\t\t><div class=\"dijitHorizontalSliderDecrementIcon\" tabIndex=\"-1\" style=\"display:none\" dojoAttachPoint=\"decrementButton\" dojoAttachEvent=\"onclick: decrement\"><span class=\"dijitSliderButtonInner\">-</span></div\n\t\t></td\n\t\t><td class=\"dijitReset\"\n\t\t\t><div class=\"dijitSliderBar dijitSliderBumper dijitHorizontalSliderBumper dijitSliderLeftBumper dijitHorizontalSliderLeftBumper\"></div\n\t\t></td\n\t\t><td class=\"dijitReset\"\n\t\t\t><input dojoAttachPoint=\"valueNode\" type=\"hidden\" name=\"${name}\"\n\t\t\t/><div style=\"position:relative;\" dojoAttachPoint=\"sliderBarContainer\"\n\t\t\t\t><div dojoAttachPoint=\"progressBar\" class=\"dijitSliderBar dijitHorizontalSliderBar dijitSliderProgressBar dijitHorizontalSliderProgressBar\" dojoAttachEvent=\"onclick:_onBarClick\"\n\t\t\t\t\t><div dojoAttachPoint=\"sliderHandle,focusNode\" class=\"dijitSliderMoveable dijitHorizontalSliderMoveable\" dojoAttachEvent=\"onkeypress:_onKeyPress,onclick:_onHandleClick\" waiRole=\"slider\" valuemin=\"${minimum}\" valuemax=\"${maximum}\"\n\t\t\t\t\t\t><div class=\"dijitSliderImageHandle dijitHorizontalSliderImageHandle\"></div\n\t\t\t\t\t></div\n\t\t\t\t></div\n\t\t\t\t><div dojoAttachPoint=\"remainingBar\" class=\"dijitSliderBar dijitHorizontalSliderBar dijitSliderRemainingBar dijitHorizontalSliderRemainingBar\" dojoAttachEvent=\"onclick:_onBarClick\"></div\n\t\t\t></div\n\t\t></td\n\t\t><td class=\"dijitReset\"\n\t\t\t><div class=\"dijitSliderBar dijitSliderBumper dijitHorizontalSliderBumper dijitSliderRightBumper dijitHorizontalSliderRightBumper\"></div\n\t\t></td\n\t\t><td class=\"dijitReset dijitSliderButtonContainer dijitHorizontalSliderButtonContainer\" style=\"right:0px;\"\n\t\t\t><div class=\"dijitHorizontalSliderIncrementIcon\" tabIndex=\"-1\" style=\"display:none\" dojoAttachPoint=\"incrementButton\" dojoAttachEvent=\"onclick: increment\"><span class=\"dijitSliderButtonInner\">+</span></div\n\t\t></td\n\t></tr\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset\" colspan=\"2\"></td\n\t\t><td dojoAttachPoint=\"containerNode,bottomDecoration\" class=\"dijitReset\" style=\"text-align:center;\"></td\n\t\t><td class=\"dijitReset\" colspan=\"2\"></td\n\t></tr\n></table>\n",value:0,showButtons:true,minimum:0,maximum:100,discreteValues:Infinity,pageIncrement:2,clickSelect:true,widgetsInTemplate:true,attributeMap:dojo.mixin(dojo.clone(dijit.form._FormWidget.prototype.attributeMap), {id:"",name:"valueNode"}),baseClass:"dijitSlider",_mousePixelCoord:"pageX",_pixelCount:"w",_startingPixelCoord:"x",_startingPixelCount:"l",_handleOffsetCoord:"left",_progressPixelSize:"width",_upsideDown:false,_onKeyPress:function(e) {
        if (this.disabled || e.altKey || e.ctrlKey) {
            return;
        }
        switch (e.keyCode) {case dojo.keys.HOME:this.setValue(this.minimum, false);break;case dojo.keys.END:this.setValue(this.maximum, false);break;case dojo.keys.UP_ARROW:case (this._isReversed() ? dojo.keys.LEFT_ARROW : dojo.keys.RIGHT_ARROW):case dojo.keys.PAGE_UP:this.increment(e);break;case dojo.keys.DOWN_ARROW:case (this._isReversed() ? dojo.keys.RIGHT_ARROW : dojo.keys.LEFT_ARROW):case dojo.keys.PAGE_DOWN:this.decrement(e);break;default:this.inherited("_onKeyPress", arguments);return;}
        dojo.stopEvent(e);
    },_onHandleClick:function(e) {
        if (this.disabled) {
            return;
        }
        if (!dojo.isIE) {
            dijit.focus(this.sliderHandle);
        }
        dojo.stopEvent(e);
    },_isReversed:function() {
        return !(this._upsideDown || this.isLeftToRight());
    },_onBarClick:function(e) {
        if (this.disabled || !this.clickSelect) {
            return;
        }
        dijit.focus(this.sliderHandle);
        dojo.stopEvent(e);
        var _5cd = dojo.coords(this.sliderBarContainer, true);
        var _5ce = e[this._mousePixelCoord] - _5cd[this._startingPixelCoord];
        this._setPixelValue(this._isReversed() || this._upsideDown ? (_5cd[this._pixelCount] - _5ce) : _5ce, _5cd[this._pixelCount], true);
    },_setPixelValue:function(_5cf, _5d0, _5d1) {
        if (this.disabled) {
            return;
        }
        _5cf = _5cf < 0 ? 0 : _5d0 < _5cf ? _5d0 : _5cf;
        var _5d2 = this.discreteValues;
        if (_5d2 <= 1 || _5d2 == Infinity) {
            _5d2 = _5d0;
        }
        _5d2--;
        var _5d3 = _5d0 / _5d2;
        var _5d4 = Math.round(_5cf / _5d3);
        this.setValue((this.maximum - this.minimum) * _5d4 / _5d2 + this.minimum, _5d1);
    },setValue:function(_5d5, _5d6) {
        this.valueNode.value = this.value = _5d5;
        this.inherited("setValue", arguments);
        var _5d7 = (_5d5 - this.minimum) / (this.maximum - this.minimum);
        this.progressBar.style[this._progressPixelSize] = (_5d7 * 100) + "%";
        this.remainingBar.style[this._progressPixelSize] = ((1 - _5d7) * 100) + "%";
    },_bumpValue:function(_5d8) {
        if (this.disabled) {
            return;
        }
        var s = dojo.getComputedStyle(this.sliderBarContainer);
        var c = dojo._getContentBox(this.sliderBarContainer, s);
        var _5db = this.discreteValues;
        if (_5db <= 1 || _5db == Infinity) {
            _5db = c[this._pixelCount];
        }
        _5db--;
        var _5dc = (this.value - this.minimum) * _5db / (this.maximum - this.minimum) + _5d8;
        if (_5dc < 0) {
            _5dc = 0;
        }
        if (_5dc > _5db) {
            _5dc = _5db;
        }
        _5dc = _5dc * (this.maximum - this.minimum) / _5db + this.minimum;
        this.setValue(_5dc, true);
    },decrement:function(e) {
        this._bumpValue(e.keyCode == dojo.keys.PAGE_DOWN ? -this.pageIncrement : -1);
    },increment:function(e) {
        this._bumpValue(e.keyCode == dojo.keys.PAGE_UP ? this.pageIncrement : 1);
    },_mouseWheeled:function(evt) {
        dojo.stopEvent(evt);
        var _5e0 = 0;
        if (typeof evt.wheelDelta == "number") {
            _5e0 = evt.wheelDelta;
        } else {
            if (typeof evt.detail == "number") {
                _5e0 = -evt.detail;
            }
        }
        if (_5e0 > 0) {
            this.increment(evt);
        } else {
            if (_5e0 < 0) {
                this.decrement(evt);
            }
        }
    },startup:function() {
        dojo.forEach(this.getChildren(), function(_5e1) {
            if (this[_5e1.container] != this.containerNode) {
                this[_5e1.container].appendChild(_5e1.domNode);
            }
        }, this);
    },_onBlur:function() {
        dijit.form.HorizontalSlider.superclass.setValue.call(this, this.value, true);
    },postCreate:function() {
        if (this.showButtons) {
            this.incrementButton.style.display = "";
            this.decrementButton.style.display = "";
        }
        this.connect(this.domNode, dojo.isIE ? "onmousewheel" : "DOMMouseScroll", "_mouseWheeled");
        var _5e2 = this;
        var _5e3 = function() {
            dijit.form._SliderMover.apply(this, arguments);
            this.widget = _5e2;
        };
        dojo.extend(_5e3, dijit.form._SliderMover.prototype);
        this._movable = new dojo.dnd.Moveable(this.sliderHandle, {mover:_5e3});
        this.inherited("postCreate", arguments);
    },destroy:function() {
        this._movable.destroy();
        this.inherited("destroy", arguments);
    }});
    dojo.declare("dijit.form.VerticalSlider", dijit.form.HorizontalSlider, {templateString:"<table class=\"dijitReset dijitSlider\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" rules=\"none\"\n><tbody class=\"dijitReset\"\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset\"></td\n\t\t><td class=\"dijitReset dijitSliderButtonContainer dijitVerticalSliderButtonContainer\"\n\t\t\t><div class=\"dijitVerticalSliderIncrementIcon\" tabIndex=\"-1\" style=\"display:none\" dojoAttachPoint=\"incrementButton\" dojoAttachEvent=\"onclick: increment\"><span class=\"dijitSliderButtonInner\">+</span></div\n\t\t></td\n\t\t><td class=\"dijitReset\"></td\n\t></tr\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset\"></td\n\t\t><td class=\"dijitReset\"\n\t\t\t><center><div class=\"dijitSliderBar dijitSliderBumper dijitVerticalSliderBumper dijitSliderTopBumper dijitVerticalSliderTopBumper\"></div></center\n\t\t></td\n\t\t><td class=\"dijitReset\"></td\n\t></tr\n\t><tr class=\"dijitReset\"\n\t\t><td dojoAttachPoint=\"leftDecoration\" class=\"dijitReset\" style=\"text-align:center;height:100%;\"></td\n\t\t><td class=\"dijitReset\" style=\"height:100%;\"\n\t\t\t><input dojoAttachPoint=\"valueNode\" type=\"hidden\" name=\"${name}\"\n\t\t\t/><center style=\"position:relative;height:100%;\" dojoAttachPoint=\"sliderBarContainer\"\n\t\t\t\t><div dojoAttachPoint=\"remainingBar\" class=\"dijitSliderBar dijitVerticalSliderBar dijitSliderRemainingBar dijitVerticalSliderRemainingBar\" dojoAttachEvent=\"onclick:_onBarClick\"></div\n\t\t\t\t><div dojoAttachPoint=\"progressBar\" class=\"dijitSliderBar dijitVerticalSliderBar dijitSliderProgressBar dijitVerticalSliderProgressBar\" dojoAttachEvent=\"onclick:_onBarClick\"\n\t\t\t\t\t><div dojoAttachPoint=\"sliderHandle,focusNode\" class=\"dijitSliderMoveable\" dojoAttachEvent=\"onkeypress:_onKeyPress,onclick:_onHandleClick\" style=\"vertical-align:top;\" waiRole=\"slider\" valuemin=\"${minimum}\" valuemax=\"${maximum}\"\n\t\t\t\t\t\t><div class=\"dijitSliderImageHandle dijitVerticalSliderImageHandle\"></div\n\t\t\t\t\t></div\n\t\t\t\t></div\n\t\t\t></center\n\t\t></td\n\t\t><td dojoAttachPoint=\"containerNode,rightDecoration\" class=\"dijitReset\" style=\"text-align:center;height:100%;\"></td\n\t></tr\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset\"></td\n\t\t><td class=\"dijitReset\"\n\t\t\t><center><div class=\"dijitSliderBar dijitSliderBumper dijitVerticalSliderBumper dijitSliderBottomBumper dijitVerticalSliderBottomBumper\"></div></center\n\t\t></td\n\t\t><td class=\"dijitReset\"></td\n\t></tr\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset\"></td\n\t\t><td class=\"dijitReset dijitSliderButtonContainer dijitVerticalSliderButtonContainer\"\n\t\t\t><div class=\"dijitVerticalSliderDecrementIcon\" tabIndex=\"-1\" style=\"display:none\" dojoAttachPoint=\"decrementButton\" dojoAttachEvent=\"onclick: decrement\"><span class=\"dijitSliderButtonInner\">-</span></div\n\t\t></td\n\t\t><td class=\"dijitReset\"></td\n\t></tr\n></tbody></table>\n",_mousePixelCoord:"pageY",_pixelCount:"h",_startingPixelCoord:"y",_startingPixelCount:"t",_handleOffsetCoord:"top",_progressPixelSize:"height",_upsideDown:true});
    dojo.declare("dijit.form._SliderMover", dojo.dnd.Mover, {onMouseMove:function(e) {
        var _5e5 = this.widget;
        var c = this.constraintBox;
        if (!c) {
            var _5e7 = _5e5.sliderBarContainer;
            var s = dojo.getComputedStyle(_5e7);
            var c = dojo._getContentBox(_5e7, s);
            c[_5e5._startingPixelCount] = 0;
            this.constraintBox = c;
        }
        var m = this.marginBox;
        var _5ea = _5e5._isReversed() ? e[_5e5._mousePixelCoord] - dojo._abs(_5e5.sliderBarContainer).x : m[_5e5._startingPixelCount] + e[_5e5._mousePixelCoord];
        dojo.hitch(_5e5, "_setPixelValue")(_5e5._isReversed() || _5e5._upsideDown ? (c[_5e5._pixelCount] - _5ea) : _5ea, c[_5e5._pixelCount]);
    },destroy:function(e) {
        var _5ec = this.widget;
        _5ec.setValue(_5ec.value, true);
        dojo.dnd.Mover.prototype.destroy.call(this);
    }});
    dojo.declare("dijit.form.HorizontalRule", [dijit._Widget,dijit._Templated], {templateString:"<div class=\"RuleContainer HorizontalRuleContainer\"></div>",count:3,container:"containerNode",ruleStyle:"",_positionPrefix:"<div class=\"RuleMark HorizontalRuleMark\" style=\"left:",_positionSuffix:"%;",_suffix:"\"></div>",_genHTML:function(pos, ndx) {
        return this._positionPrefix + pos + this._positionSuffix + this.ruleStyle + this._suffix;
    },_isHorizontal:true,postCreate:function() {
        if (this.count == 1) {
            var _5ef = this._genHTML(50, 0);
        } else {
            var _5f0 = 100 / (this.count - 1);
            if (!this._isHorizontal || this.isLeftToRight()) {
                var _5ef = this._genHTML(0, 0);
                for (var i = 1; i < this.count - 1; i++) {
                    _5ef += this._genHTML(_5f0 * i, i);
                }
                _5ef += this._genHTML(100, this.count - 1);
            } else {
                var _5ef = this._genHTML(100, 0);
                for (var i = 1; i < this.count - 1; i++) {
                    _5ef += this._genHTML(100 - _5f0 * i, i);
                }
                _5ef += this._genHTML(0, this.count - 1);
            }
        }
        this.domNode.innerHTML = _5ef;
    }});
    dojo.declare("dijit.form.VerticalRule", dijit.form.HorizontalRule, {templateString:"<div class=\"RuleContainer VerticalRuleContainer\"></div>",_positionPrefix:"<div class=\"RuleMark VerticalRuleMark\" style=\"top:",_isHorizontal:false});
    dojo.declare("dijit.form.HorizontalRuleLabels", dijit.form.HorizontalRule, {templateString:"<div class=\"RuleContainer HorizontalRuleContainer\"></div>",labelStyle:"",labels:[],numericMargin:0,minimum:0,maximum:1,constraints:{pattern:"#%"},_positionPrefix:"<div class=\"RuleLabelContainer HorizontalRuleLabelContainer\" style=\"left:",_labelPrefix:"\"><span class=\"RuleLabel HorizontalRuleLabel\">",_suffix:"</span></div>",_calcPosition:function(pos) {
        return pos;
    },_genHTML:function(pos, ndx) {
        return this._positionPrefix + this._calcPosition(pos) + this._positionSuffix + this.labelStyle + this._labelPrefix + this.labels[ndx] + this._suffix;
    },getLabels:function() {
        var _5f5 = this.labels;
        if (!_5f5.length) {
            _5f5 = dojo.query("> li", this.srcNodeRef).map(function(node) {
                return String(node.innerHTML);
            });
        }
        this.srcNodeRef.innerHTML = "";
        if (!_5f5.length && this.count > 1) {
            var _5f7 = this.minimum;
            var inc = (this.maximum - _5f7) / (this.count - 1);
            for (var i = 0; i < this.count; i++) {
                _5f5.push((i < this.numericMargin || i >= (this.count - this.numericMargin)) ? "" : dojo.number.format(_5f7, this.constraints));
                _5f7 += inc;
            }
        }
        return _5f5;
    },postMixInProperties:function() {
        this.inherited("postMixInProperties", arguments);
        this.labels = this.getLabels();
        this.count = this.labels.length;
    }});
    dojo.declare("dijit.form.VerticalRuleLabels", dijit.form.HorizontalRuleLabels, {templateString:"<div class=\"RuleContainer VerticalRuleContainer\"></div>",_positionPrefix:"<div class=\"RuleLabelContainer VerticalRuleLabelContainer\" style=\"top:",_labelPrefix:"\"><span class=\"RuleLabel VerticalRuleLabel\">",_calcPosition:function(pos) {
        return 100 - pos;
    },_isHorizontal:false});
}
if (!dojo._hasResource["dijit.form.Textarea"]) {
    dojo._hasResource["dijit.form.Textarea"] = true;
    dojo.provide("dijit.form.Textarea");
    dojo.declare("dijit.form.Textarea", dijit.form._FormWidget, {attributeMap:dojo.mixin(dojo.clone(dijit.form._FormWidget.prototype.attributeMap), {style:"styleNode","class":"styleNode"}),templateString:(dojo.isIE || dojo.isSafari || dojo.isMozilla) ? ((dojo.isIE || dojo.isSafari) ? "<fieldset id=\"${id}\" class=\"dijitInline dijitInputField dijitTextArea\" dojoAttachPoint=\"styleNode\" waiRole=\"presentation\"><div dojoAttachPoint=\"editNode,focusNode,eventNode\" dojoAttachEvent=\"onpaste:_changing,oncut:_changing\" waiRole=\"textarea\" style=\"text-decoration:none;_padding-bottom:16px;display:block;overflow:auto;\" contentEditable=\"true\"></div>" : "<span id=\"${id}\" class=\"dijitReset\">" + "<iframe src=\"javascript:<html><head><title>${_iframeEditTitle}</title></head><body><script>var _postCreate=window.frameElement?window.frameElement.postCreate:null;if(_postCreate)_postCreate();</script></body></html>\"" + " dojoAttachPoint=\"iframe,styleNode\" dojoAttachEvent=\"onblur:_onIframeBlur\" class=\"dijitInline dijitInputField dijitTextArea\"></iframe>") + "<textarea name=\"${name}\" value=\"${value}\" dojoAttachPoint=\"formValueNode\" style=\"display:none;\"></textarea>" + ((dojo.isIE || dojo.isSafari) ? "</fieldset>" : "</span>") : "<textarea id=\"${id}\" name=\"${name}\" value=\"${value}\" dojoAttachPoint=\"formValueNode,editNode,focusNode,styleNode\" class=\"dijitInputField dijitTextArea\"></textarea>",focus:function() {
        if (!this.disabled) {
            this._changing();
        }
        if (dojo.isMozilla) {
            dijit.focus(this.iframe);
        } else {
            dijit.focus(this.focusNode);
        }
    },setValue:function(_5fb, _5fc) {
        var _5fd = this.editNode;
        if (typeof _5fb == "string") {
            _5fd.innerHTML = "";
            if (_5fb.split) {
                var _5fe = this;
                var _5ff = true;
                dojo.forEach(_5fb.split("\n"), function(line) {
                    if (_5ff) {
                        _5ff = false;
                    } else {
                        _5fd.appendChild(document.createElement("BR"));
                    }
                    _5fd.appendChild(document.createTextNode(line));
                });
            } else {
                _5fd.appendChild(document.createTextNode(_5fb));
            }
        } else {
            _5fb = _5fd.innerHTML;
            if (this.iframe) {
                _5fb = _5fb.replace(/<div><\/div>\r?\n?$/i, "");
            }
            _5fb = _5fb.replace(/\s*\r?\n|^\s+|\s+$|&nbsp;/g, "").replace(/>\s+</g, "><").replace(/<\/(p|div)>$|^<(p|div)[^>]*>/gi, "").replace(/([^>])<div>/g, "$1\n").replace(/<\/p>\s*<p[^>]*>|<br[^>]*>/gi, "\n").replace(/<[^>]*>/g, "").replace(/&amp;/gi, "&").replace(/&lt;/gi, "<").replace(/&gt;/gi, ">");
        }
        this.value = this.formValueNode.value = _5fb;
        if (this.iframe) {
            var _601 = document.createElement("div");
            _5fd.appendChild(_601);
            var _602 = _601.offsetTop;
            if (_5fd.scrollWidth > _5fd.clientWidth) {
                _602 += 16;
            }
            if (this.lastHeight != _602) {
                if (_602 == 0) {
                    _602 = 16;
                }
                dojo.contentBox(this.iframe, {h:_602});
                this.lastHeight = _602;
            }
            _5fd.removeChild(_601);
        }
        dijit.form.Textarea.superclass.setValue.call(this, this.getValue(), _5fc);
    },getValue:function() {
        return this.formValueNode.value.replace(/\r/g, "");
    },postMixInProperties:function() {
        dijit.form.Textarea.superclass.postMixInProperties.apply(this, arguments);
        if (this.srcNodeRef && this.srcNodeRef.innerHTML != "") {
            this.value = this.srcNodeRef.innerHTML;
            this.srcNodeRef.innerHTML = "";
        }
        if ((!this.value || this.value == "") && this.srcNodeRef && this.srcNodeRef.value) {
            this.value = this.srcNodeRef.value;
        }
        if (!this.value) {
            this.value = "";
        }
        this.value = this.value.replace(/\r\n/g, "\n").replace(/&gt;/g, ">").replace(/&lt;/g, "<").replace(/&amp;/g, "&");
        if (dojo.isMozilla) {
            var _603 = dojo.i18n.getLocalization("dijit", "Textarea");
            this._iframeEditTitle = _603.iframeEditTitle;
            this._iframeFocusTitle = _603.iframeFocusTitle;
            var _604 = dojo.query("label[for=\"" + this.id + "\"]");
            if (_604.length) {
                this._iframeEditTitle = _604[0].innerHTML + " " + this._iframeEditTitle;
            }
            var body = this.focusNode = this.editNode = document.createElement("BODY");
            body.style.margin = "0px";
            body.style.padding = "0px";
            body.style.border = "0px";
        }
    },postCreate:function() {
        if (dojo.isIE || dojo.isSafari) {
            this.domNode.style.overflowY = "hidden";
        } else {
            if (dojo.isMozilla) {
                var w = this.iframe.contentWindow;
                try {
                    var _607 = this.iframe.contentDocument.title;
                } catch(e) {
                    var _607 = "";
                }
                if (!w || !_607) {
                    this.iframe.postCreate = dojo.hitch(this, this.postCreate);
                    return;
                }
                var d = w.document;
                d.getElementsByTagName("HTML")[0].replaceChild(this.editNode, d.getElementsByTagName("BODY")[0]);
                if (!this.isLeftToRight()) {
                    d.getElementsByTagName("HTML")[0].dir = "rtl";
                }
                this.iframe.style.overflowY = "hidden";
                this.eventNode = d;
                w.addEventListener("resize", dojo.hitch(this, this._changed), false);
            } else {
                this.focusNode = this.domNode;
            }
        }
        if (this.eventNode) {
            this.connect(this.eventNode, "keypress", this._onKeyPress);
            this.connect(this.eventNode, "mousemove", this._changed);
            this.connect(this.eventNode, "focus", this._focused);
            this.connect(this.eventNode, "blur", this._blurred);
        }
        if (this.editNode) {
            this.connect(this.editNode, "change", this._changed);
        }
        this.inherited("postCreate", arguments);
    },_focused:function(e) {
        dojo.addClass(this.iframe || this.domNode, "dijitInputFieldFocused");
        this._changed(e);
    },_blurred:function(e) {
        dojo.removeClass(this.iframe || this.domNode, "dijitInputFieldFocused");
        this._changed(e, true);
    },_onIframeBlur:function() {
        this.iframe.contentDocument.title = this._iframeEditTitle;
    },_onKeyPress:function(e) {
        if (e.keyCode == dojo.keys.TAB && !e.shiftKey && !e.ctrlKey && !e.altKey && this.iframe) {
            this.iframe.contentDocument.title = this._iframeFocusTitle;
            this.iframe.focus();
            dojo.stopEvent(e);
        } else {
            if (e.keyCode == dojo.keys.ENTER) {
                e.stopPropagation();
            } else {
                if (this.inherited("_onKeyPress", arguments) && this.iframe) {
                    var te = document.createEvent("KeyEvents");
                    te.initKeyEvent("keypress", true, true, null, e.ctrlKey, e.altKey, e.shiftKey, e.metaKey, e.keyCode, e.charCode);
                    this.iframe.dispatchEvent(te);
                }
            }
        }
        this._changing();
    },_changing:function(e) {
        setTimeout(dojo.hitch(this, "_changed", e, false), 1);
    },_changed:function(e, _60f) {
        if (this.iframe && this.iframe.contentDocument.designMode != "on") {
            this.iframe.contentDocument.designMode = "on";
        }
        this.setValue(null, _60f);
    }});
}
if (!dojo._hasResource["dijit.layout.StackContainer"]) {
    dojo._hasResource["dijit.layout.StackContainer"] = true;
    dojo.provide("dijit.layout.StackContainer");
    dojo.declare("dijit.layout.StackContainer", dijit.layout._LayoutWidget, {doLayout:true,_started:false,postCreate:function() {
        dijit.setWaiRole((this.containerNode || this.domNode), "tabpanel");
        this.connect(this.domNode, "onkeypress", this._onKeyPress);
    },startup:function() {
        if (this._started) {
            return;
        }
        var _610 = this.getChildren();
        dojo.forEach(_610, this._setupChild, this);
        dojo.some(_610, function(_611) {
            if (_611.selected) {
                this.selectedChildWidget = _611;
            }
            return _611.selected;
        }, this);
        var _612 = this.selectedChildWidget;
        if (!_612 && _610[0]) {
            _612 = this.selectedChildWidget = _610[0];
            _612.selected = true;
        }
        if (_612) {
            this._showChild(_612);
        }
        dojo.publish(this.id + "-startup", [{children:_610,selected:_612}]);
        this.inherited("startup", arguments);
        this._started = true;
    },_setupChild:function(page) {
        page.domNode.style.display = "none";
        page.domNode.style.position = "relative";
        return page;
    },addChild:function(_614, _615) {
        dijit._Container.prototype.addChild.apply(this, arguments);
        _614 = this._setupChild(_614);
        if (this._started) {
            this.layout();
            dojo.publish(this.id + "-addChild", [_614,_615]);
            if (!this.selectedChildWidget) {
                this.selectChild(_614);
            }
        }
    },removeChild:function(page) {
        dijit._Container.prototype.removeChild.apply(this, arguments);
        if (this._beingDestroyed) {
            return;
        }
        if (this._started) {
            dojo.publish(this.id + "-removeChild", [page]);
            this.layout();
        }
        if (this.selectedChildWidget === page) {
            this.selectedChildWidget = undefined;
            if (this._started) {
                var _617 = this.getChildren();
                if (_617.length) {
                    this.selectChild(_617[0]);
                }
            }
        }
    },selectChild:function(page) {
        page = dijit.byId(page);
        if (this.selectedChildWidget != page) {
            this._transition(page, this.selectedChildWidget);
            this.selectedChildWidget = page;
            dojo.publish(this.id + "-selectChild", [page]);
        }
    },_transition:function(_619, _61a) {
        if (_61a) {
            this._hideChild(_61a);
        }
        this._showChild(_619);
        if (this.doLayout && _619.resize) {
            _619.resize(this._containerContentBox || this._contentBox);
        }
    },_adjacent:function(_61b) {
        var _61c = this.getChildren();
        var _61d = dojo.indexOf(_61c, this.selectedChildWidget);
        _61d += _61b ? 1 : _61c.length - 1;
        return _61c[_61d % _61c.length];
    },forward:function() {
        this.selectChild(this._adjacent(true));
    },back:function() {
        this.selectChild(this._adjacent(false));
    },_onKeyPress:function(e) {
        dojo.publish(this.id + "-containerKeyPress", [{e:e,page:this}]);
    },layout:function() {
        if (this.doLayout && this.selectedChildWidget && this.selectedChildWidget.resize) {
            this.selectedChildWidget.resize(this._contentBox);
        }
    },_showChild:function(page) {
        var _620 = this.getChildren();
        page.isFirstChild = (page == _620[0]);
        page.isLastChild = (page == _620[_620.length - 1]);
        page.selected = true;
        page.domNode.style.display = "";
        if (page._loadCheck) {
            page._loadCheck();
        }
        if (page.onShow) {
            page.onShow();
        }
    },_hideChild:function(page) {
        page.selected = false;
        page.domNode.style.display = "none";
        if (page.onHide) {
            page.onHide();
        }
    },closeChild:function(page) {
        var _623 = page.onClose(this, page);
        if (_623) {
            this.removeChild(page);
            page.destroy();
        }
    },destroy:function() {
        this._beingDestroyed = true;
        this.inherited("destroy", arguments);
    }});
    dojo.declare("dijit.layout.StackController", [dijit._Widget,dijit._Templated,dijit._Container], {templateString:"<span wairole='tablist' dojoAttachEvent='onkeypress' class='dijitStackController'></span>",containerId:"",buttonWidget:"dijit.layout._StackButton",postCreate:function() {
        dijit.setWaiRole(this.domNode, "tablist");
        this.pane2button = {};
        this._subscriptions = [dojo.subscribe(this.containerId + "-startup", this, "onStartup"),dojo.subscribe(this.containerId + "-addChild", this, "onAddChild"),dojo.subscribe(this.containerId + "-removeChild", this, "onRemoveChild"),dojo.subscribe(this.containerId + "-selectChild", this, "onSelectChild"),dojo.subscribe(this.containerId + "-containerKeyPress", this, "onContainerKeyPress")];
    },onStartup:function(info) {
        dojo.forEach(info.children, this.onAddChild, this);
        this.onSelectChild(info.selected);
    },destroy:function() {
        dojo.forEach(this._subscriptions, dojo.unsubscribe);
        this.inherited("destroy", arguments);
    },onAddChild:function(page, _626) {
        var _627 = document.createElement("span");
        this.domNode.appendChild(_627);
        var cls = dojo.getObject(this.buttonWidget);
        var _629 = new cls({label:page.title,closeButton:page.closable}, _627);
        this.addChild(_629, _626);
        this.pane2button[page] = _629;
        page.controlButton = _629;
        dojo.connect(_629, "onClick", dojo.hitch(this, "onButtonClick", page));
        dojo.connect(_629, "onClickCloseButton", dojo.hitch(this, "onCloseButtonClick", page));
        if (!this._currentChild) {
            _629.focusNode.setAttribute("tabIndex", "0");
            this._currentChild = page;
        }
    },onRemoveChild:function(page) {
        if (this._currentChild === page) {
            this._currentChild = null;
        }
        var _62b = this.pane2button[page];
        if (_62b) {
            _62b.destroy();
        }
        this.pane2button[page] = null;
    },onSelectChild:function(page) {
        if (!page) {
            return;
        }
        if (this._currentChild) {
            var _62d = this.pane2button[this._currentChild];
            _62d.setChecked(false);
            _62d.focusNode.setAttribute("tabIndex", "-1");
        }
        var _62e = this.pane2button[page];
        _62e.setChecked(true);
        this._currentChild = page;
        _62e.focusNode.setAttribute("tabIndex", "0");
    },onButtonClick:function(page) {
        var _630 = dijit.byId(this.containerId);
        _630.selectChild(page);
    },onCloseButtonClick:function(page) {
        var _632 = dijit.byId(this.containerId);
        _632.closeChild(page);
        var b = this.pane2button[this._currentChild];
        if (b) {
            dijit.focus(b.focusNode || b.domNode);
        }
    },adjacent:function(_634) {
        var _635 = this.getChildren();
        var _636 = dojo.indexOf(_635, this.pane2button[this._currentChild]);
        var _637 = _634 ? 1 : _635.length - 1;
        return _635[(_636 + _637) % _635.length];
    },onkeypress:function(e) {
        if (this.disabled || e.altKey) {
            return;
        }
        var _639 = true;
        if (e.ctrlKey || !e._djpage) {
            var k = dojo.keys;
            switch (e.keyCode) {case k.LEFT_ARROW:case k.UP_ARROW:case k.PAGE_UP:_639 = false;case k.RIGHT_ARROW:case k.DOWN_ARROW:case k.PAGE_DOWN:this.adjacent(_639).onClick();dojo.stopEvent(e);break;case k.DELETE:if (this._currentChild.closable) {
                this.onCloseButtonClick(this._currentChild);
            }dojo.stopEvent(e);break;default:if (e.ctrlKey) {
                if (e.keyCode == k.TAB) {
                    this.adjacent(!e.shiftKey).onClick();
                    dojo.stopEvent(e);
                } else {
                    if (e.keyChar == "w") {
                        if (this._currentChild.closable) {
                            this.onCloseButtonClick(this._currentChild);
                        }
                        dojo.stopEvent(e);
                    }
                }
            }}
        }
    },onContainerKeyPress:function(info) {
        info.e._djpage = info.page;
        this.onkeypress(info.e);
    }});
    dojo.declare("dijit.layout._StackButton", dijit.form.ToggleButton, {tabIndex:"-1",postCreate:function(evt) {
        dijit.setWaiRole((this.focusNode || this.domNode), "tab");
        this.inherited("postCreate", arguments);
    },onClick:function(evt) {
        dijit.focus(this.focusNode);
    },onClickCloseButton:function(evt) {
        evt.stopPropagation();
    }});
    dojo.extend(dijit._Widget, {title:"",selected:false,closable:false,onClose:function() {
        return true;
    }});
}
if (!dojo._hasResource["dijit.layout.AccordionContainer"]) {
    dojo._hasResource["dijit.layout.AccordionContainer"] = true;
    dojo.provide("dijit.layout.AccordionContainer");
    dojo.declare("dijit.layout.AccordionContainer", dijit.layout.StackContainer, {duration:250,_verticalSpace:0,postCreate:function() {
        this.domNode.style.overflow = "hidden";
        this.inherited("postCreate", arguments);
        dijit.setWaiRole(this.domNode, "tablist");
        dojo.addClass(this.domNode, "dijitAccordionContainer");
    },startup:function() {
        if (this._started) {
            return;
        }
        this.inherited("startup", arguments);
        if (this.selectedChildWidget) {
            var _63f = this.selectedChildWidget.containerNode.style;
            _63f.display = "";
            _63f.overflow = "auto";
            this.selectedChildWidget._setSelectedState(true);
        }
    },layout:function() {
        var _640 = 0;
        var _641 = this.selectedChildWidget;
        dojo.forEach(this.getChildren(), function(_642) {
            _640 += _642.getTitleHeight();
        });
        var _643 = this._contentBox;
        this._verticalSpace = (_643.h - _640);
        if (_641) {
            _641.containerNode.style.height = this._verticalSpace + "px";
        }
    },_setupChild:function(page) {
        return page;
    },_transition:function(_645, _646) {
        if (this._inTransition) {
            return;
        }
        this._inTransition = true;
        var _647 = [];
        var _648 = this._verticalSpace;
        if (_645) {
            _645.setSelected(true);
            var _649 = _645.containerNode;
            _649.style.display = "";
            _647.push(dojo.animateProperty({node:_649,duration:this.duration,properties:{height:{start:"1",end:_648}},onEnd:function() {
                _649.style.overflow = "auto";
            }}));
        }
        if (_646) {
            _646.setSelected(false);
            var _64a = _646.containerNode;
            _64a.style.overflow = "hidden";
            _647.push(dojo.animateProperty({node:_64a,duration:this.duration,properties:{height:{start:_648,end:"1"}},onEnd:function() {
                _64a.style.display = "none";
            }}));
        }
        this._inTransition = false;
        dojo.fx.combine(_647).play();
    },_onKeyPress:function(e) {
        if (this.disabled || e.altKey) {
            return;
        }
        var k = dojo.keys;
        switch (e.keyCode) {case k.LEFT_ARROW:case k.UP_ARROW:case k.PAGE_UP:this._adjacent(false)._onTitleClick();dojo.stopEvent(e);break;case k.RIGHT_ARROW:case k.DOWN_ARROW:case k.PAGE_DOWN:this._adjacent(true)._onTitleClick();dojo.stopEvent(e);break;default:if (e.ctrlKey && e.keyCode == k.TAB) {
            this._adjacent(e._dijitWidget, !e.shiftKey)._onTitleClick();
            dojo.stopEvent(e);
        }}
    }});
    dojo.declare("dijit.layout.AccordionPane", [dijit.layout.ContentPane,dijit._Templated,dijit._Contained], {templateString:"<div class='dijitAccordionPane'\n\t><div dojoAttachPoint='titleNode,focusNode' dojoAttachEvent='ondijitclick:_onTitleClick,onkeypress:_onTitleKeyPress,onfocus:_handleFocus,onblur:_handleFocus'\n\t\tclass='dijitAccordionTitle' wairole=\"tab\"\n\t\t><div class='dijitAccordionArrow'></div\n\t\t><div class='arrowTextUp' waiRole=\"presentation\">&#9650;</div\n\t\t><div class='arrowTextDown' waiRole=\"presentation\">&#9660;</div\n\t\t><div dojoAttachPoint='titleTextNode' class='dijitAccordionText'>${title}</div></div\n\t><div><div dojoAttachPoint='containerNode' style='overflow: hidden; height: 1px; display: none'\n\t\tclass='dijitAccordionBody' wairole=\"tabpanel\"\n\t></div></div>\n</div>\n",postCreate:function() {
        this.inherited("postCreate", arguments);
        dojo.setSelectable(this.titleNode, false);
        this.setSelected(this.selected);
    },getTitleHeight:function() {
        return dojo.marginBox(this.titleNode).h;
    },_onTitleClick:function() {
        var _64d = this.getParent();
        if (!_64d._inTransition) {
            _64d.selectChild(this);
            dijit.focus(this.focusNode);
        }
    },_onTitleKeyPress:function(evt) {
        evt._dijitWidget = this;
        return this.getParent()._onKeyPress(evt);
    },_setSelectedState:function(_64f) {
        this.selected = _64f;
        dojo[(_64f ? "addClass" : "removeClass")](this.domNode, "dijitAccordionPane-selected");
        this.focusNode.setAttribute("tabIndex", _64f ? "0" : "-1");
    },_handleFocus:function(e) {
        dojo[(e.type == "focus" ? "addClass" : "removeClass")](this.focusNode, "dijitAccordionPaneFocused");
    },setSelected:function(_651) {
        this._setSelectedState(_651);
        if (_651) {
            this.onSelected();
        }
    },onSelected:function() {
    }});
}
if (!dojo._hasResource["dijit.layout.LayoutContainer"]) {
    dojo._hasResource["dijit.layout.LayoutContainer"] = true;
    dojo.provide("dijit.layout.LayoutContainer");
    dojo.declare("dijit.layout.LayoutContainer", dijit.layout._LayoutWidget, {layout:function() {
        dijit.layout.layoutChildren(this.domNode, this._contentBox, this.getChildren());
    },addChild:function(_652, _653) {
        dijit._Container.prototype.addChild.apply(this, arguments);
        if (this._started) {
            dijit.layout.layoutChildren(this.domNode, this._contentBox, this.getChildren());
        }
    },removeChild:function(_654) {
        dijit._Container.prototype.removeChild.apply(this, arguments);
        if (this._started) {
            dijit.layout.layoutChildren(this.domNode, this._contentBox, this.getChildren());
        }
    }});
    dojo.extend(dijit._Widget, {layoutAlign:"none"});
}
if (!dojo._hasResource["dijit.layout.LinkPane"]) {
    dojo._hasResource["dijit.layout.LinkPane"] = true;
    dojo.provide("dijit.layout.LinkPane");
    dojo.declare("dijit.layout.LinkPane", [dijit.layout.ContentPane,dijit._Templated], {templateString:"<div class=\"dijitLinkPane\"></div>",postCreate:function() {
        if (this.srcNodeRef) {
            this.title += this.srcNodeRef.innerHTML;
        }
        this.inherited("postCreate", arguments);
    }});
}
if (!dojo._hasResource["dijit.layout.SplitContainer"]) {
    dojo._hasResource["dijit.layout.SplitContainer"] = true;
    dojo.provide("dijit.layout.SplitContainer");
    dojo.declare("dijit.layout.SplitContainer", dijit.layout._LayoutWidget, {activeSizing:false,sizerWidth:7,orientation:"horizontal",persist:true,postMixInProperties:function() {
        this.inherited("postMixInProperties", arguments);
        this.isHorizontal = (this.orientation == "horizontal");
    },postCreate:function() {
        this.inherited("postCreate", arguments);
        this.sizers = [];
        dojo.addClass(this.domNode, "dijitSplitContainer");
        if (dojo.isMozilla) {
            this.domNode.style.overflow = "-moz-scrollbars-none";
        }
        if (typeof this.sizerWidth == "object") {
            try {
                this.sizerWidth = parseInt(this.sizerWidth.toString());
            } catch(e) {
                this.sizerWidth = 7;
            }
        }
        var _655 = this.virtualSizer = document.createElement("div");
        _655.style.position = "relative";
        _655.style.zIndex = 10;
        _655.className = this.isHorizontal ? "dijitSplitContainerVirtualSizerH" : "dijitSplitContainerVirtualSizerV";
        this.domNode.appendChild(_655);
        dojo.setSelectable(_655, false);
    },startup:function() {
        if (this._started) {
            return;
        }
        dojo.forEach(this.getChildren(), function(_656, i, _658) {
            this._injectChild(_656);
            if (i < _658.length - 1) {
                this._addSizer();
            }
        }, this);
        if (this.persist) {
            this._restoreState();
        }
        this.inherited("startup", arguments);
        this._started = true;
    },_injectChild:function(_659) {
        _659.domNode.style.position = "absolute";
        dojo.addClass(_659.domNode, "dijitSplitPane");
    },_addSizer:function() {
        var i = this.sizers.length;
        var _65b = this.sizers[i] = document.createElement("div");
        _65b.className = this.isHorizontal ? "dijitSplitContainerSizerH" : "dijitSplitContainerSizerV";
        var _65c = document.createElement("div");
        _65c.className = "thumb";
        _65b.appendChild(_65c);
        var self = this;
        var _65e = (function() {
            var _65f = i;
            return function(e) {
                self.beginSizing(e, _65f);
            };
        })();
        dojo.connect(_65b, "onmousedown", _65e);
        this.domNode.appendChild(_65b);
        dojo.setSelectable(_65b, false);
    },removeChild:function(_661) {
        if (this.sizers.length && dojo.indexOf(this.getChildren(), _661) != -1) {
            var i = this.sizers.length - 1;
            dojo._destroyElement(this.sizers[i]);
            this.sizers.length--;
        }
        this.inherited("removeChild", arguments);
        if (this._started) {
            this.layout();
        }
    },addChild:function(_663, _664) {
        this.inherited("addChild", arguments);
        if (this._started) {
            this._injectChild(_663);
            var _665 = this.getChildren();
            if (_665.length > 1) {
                this._addSizer();
            }
            this.layout();
        }
    },layout:function() {
        this.paneWidth = this._contentBox.w;
        this.paneHeight = this._contentBox.h;
        var _666 = this.getChildren();
        if (!_666.length) {
            return;
        }
        var _667 = this.isHorizontal ? this.paneWidth : this.paneHeight;
        if (_666.length > 1) {
            _667 -= this.sizerWidth * (_666.length - 1);
        }
        var _668 = 0;
        dojo.forEach(_666, function(_669) {
            _668 += _669.sizeShare;
        });
        var _66a = _667 / _668;
        var _66b = 0;
        dojo.forEach(_666.slice(0, _666.length - 1), function(_66c) {
            var size = Math.round(_66a * _66c.sizeShare);
            _66c.sizeActual = size;
            _66b += size;
        });
        _666[_666.length - 1].sizeActual = _667 - _66b;
        this._checkSizes();
        var pos = 0;
        var size = _666[0].sizeActual;
        this._movePanel(_666[0], pos, size);
        _666[0].position = pos;
        pos += size;
        if (!this.sizers) {
            return;
        }
        dojo.some(_666.slice(1), function(_670, i) {
            if (!this.sizers[i]) {
                return true;
            }
            this._moveSlider(this.sizers[i], pos, this.sizerWidth);
            this.sizers[i].position = pos;
            pos += this.sizerWidth;
            size = _670.sizeActual;
            this._movePanel(_670, pos, size);
            _670.position = pos;
            pos += size;
        }, this);
    },_movePanel:function(_672, pos, size) {
        if (this.isHorizontal) {
            _672.domNode.style.left = pos + "px";
            _672.domNode.style.top = 0;
            var box = {w:size,h:this.paneHeight};
            if (_672.resize) {
                _672.resize(box);
            } else {
                dojo.marginBox(_672.domNode, box);
            }
        } else {
            _672.domNode.style.left = 0;
            _672.domNode.style.top = pos + "px";
            var box = {w:this.paneWidth,h:size};
            if (_672.resize) {
                _672.resize(box);
            } else {
                dojo.marginBox(_672.domNode, box);
            }
        }
    },_moveSlider:function(_676, pos, size) {
        if (this.isHorizontal) {
            _676.style.left = pos + "px";
            _676.style.top = 0;
            dojo.marginBox(_676, {w:size,h:this.paneHeight});
        } else {
            _676.style.left = 0;
            _676.style.top = pos + "px";
            dojo.marginBox(_676, {w:this.paneWidth,h:size});
        }
    },_growPane:function(_679, pane) {
        if (_679 > 0) {
            if (pane.sizeActual > pane.sizeMin) {
                if ((pane.sizeActual - pane.sizeMin) > _679) {
                    pane.sizeActual = pane.sizeActual - _679;
                    _679 = 0;
                } else {
                    _679 -= pane.sizeActual - pane.sizeMin;
                    pane.sizeActual = pane.sizeMin;
                }
            }
        }
        return _679;
    },_checkSizes:function() {
        var _67b = 0;
        var _67c = 0;
        var _67d = this.getChildren();
        dojo.forEach(_67d, function(_67e) {
            _67c += _67e.sizeActual;
            _67b += _67e.sizeMin;
        });
        if (_67b <= _67c) {
            var _67f = 0;
            dojo.forEach(_67d, function(_680) {
                if (_680.sizeActual < _680.sizeMin) {
                    _67f += _680.sizeMin - _680.sizeActual;
                    _680.sizeActual = _680.sizeMin;
                }
            });
            if (_67f > 0) {
                var list = this.isDraggingLeft ? _67d.reverse() : _67d;
                dojo.forEach(list, function(_682) {
                    _67f = this._growPane(_67f, _682);
                }, this);
            }
        } else {
            dojo.forEach(_67d, function(_683) {
                _683.sizeActual = Math.round(_67c * (_683.sizeMin / _67b));
            });
        }
    },beginSizing:function(e, i) {
        var _686 = this.getChildren();
        this.paneBefore = _686[i];
        this.paneAfter = _686[i + 1];
        this.isSizing = true;
        this.sizingSplitter = this.sizers[i];
        if (!this.cover) {
            this.cover = dojo.doc.createElement("div");
            this.domNode.appendChild(this.cover);
            var s = this.cover.style;
            s.position = "absolute";
            s.zIndex = 1;
            s.top = 0;
            s.left = 0;
            s.width = "100%";
            s.height = "100%";
        } else {
            this.cover.style.zIndex = 1;
        }
        this.sizingSplitter.style.zIndex = 2;
        this.originPos = dojo.coords(_686[0].domNode, true);
        if (this.isHorizontal) {
            var _688 = (e.layerX ? e.layerX : e.offsetX);
            var _689 = e.pageX;
            this.originPos = this.originPos.x;
        } else {
            var _688 = (e.layerY ? e.layerY : e.offsetY);
            var _689 = e.pageY;
            this.originPos = this.originPos.y;
        }
        this.startPoint = this.lastPoint = _689;
        this.screenToClientOffset = _689 - _688;
        this.dragOffset = this.lastPoint - this.paneBefore.sizeActual - this.originPos - this.paneBefore.position;
        if (!this.activeSizing) {
            this._showSizingLine();
        }
        this._connects = [];
        this._connects.push(dojo.connect(document.documentElement, "onmousemove", this, "changeSizing"));
        this._connects.push(dojo.connect(document.documentElement, "onmouseup", this, "endSizing"));
        dojo.stopEvent(e);
    },changeSizing:function(e) {
        if (!this.isSizing) {
            return;
        }
        this.lastPoint = this.isHorizontal ? e.pageX : e.pageY;
        this.movePoint();
        if (this.activeSizing) {
            this._updateSize();
        } else {
            this._moveSizingLine();
        }
        dojo.stopEvent(e);
    },endSizing:function(e) {
        if (!this.isSizing) {
            return;
        }
        if (this.cover) {
            this.cover.style.zIndex = -1;
        }
        if (!this.activeSizing) {
            this._hideSizingLine();
        }
        this._updateSize();
        this.isSizing = false;
        if (this.persist) {
            this._saveState(this);
        }
        dojo.forEach(this._connects, dojo.disconnect);
    },movePoint:function() {
        var p = this.lastPoint - this.screenToClientOffset;
        var a = p - this.dragOffset;
        a = this.legaliseSplitPoint(a);
        p = a + this.dragOffset;
        this.lastPoint = p + this.screenToClientOffset;
    },legaliseSplitPoint:function(a) {
        a += this.sizingSplitter.position;
        this.isDraggingLeft = !!(a > 0);
        if (!this.activeSizing) {
            var min = this.paneBefore.position + this.paneBefore.sizeMin;
            if (a < min) {
                a = min;
            }
            var max = this.paneAfter.position + (this.paneAfter.sizeActual - (this.sizerWidth + this.paneAfter.sizeMin));
            if (a > max) {
                a = max;
            }
        }
        a -= this.sizingSplitter.position;
        this._checkSizes();
        return a;
    },_updateSize:function() {
        var pos = this.lastPoint - this.dragOffset - this.originPos;
        var _692 = this.paneBefore.position;
        var _693 = this.paneAfter.position + this.paneAfter.sizeActual;
        this.paneBefore.sizeActual = pos - _692;
        this.paneAfter.position = pos + this.sizerWidth;
        this.paneAfter.sizeActual = _693 - this.paneAfter.position;
        dojo.forEach(this.getChildren(), function(_694) {
            _694.sizeShare = _694.sizeActual;
        });
        if (this._started) {
            this.layout();
        }
    },_showSizingLine:function() {
        this._moveSizingLine();
        dojo.marginBox(this.virtualSizer, this.isHorizontal ? {w:this.sizerWidth,h:this.paneHeight} : {w:this.paneWidth,h:this.sizerWidth});
        this.virtualSizer.style.display = "block";
    },_hideSizingLine:function() {
        this.virtualSizer.style.display = "none";
    },_moveSizingLine:function() {
        var pos = (this.lastPoint - this.startPoint) + this.sizingSplitter.position;
        dojo.style(this.virtualSizer, (this.isHorizontal ? "left" : "top"), pos + "px");
    },_getCookieName:function(i) {
        return this.id + "_" + i;
    },_restoreState:function() {
        dojo.forEach(this.getChildren(), function(_697, i) {
            var _699 = this._getCookieName(i);
            var _69a = dojo.cookie(_699);
            if (_69a) {
                var pos = parseInt(_69a);
                if (typeof pos == "number") {
                    _697.sizeShare = pos;
                }
            }
        }, this);
    },_saveState:function() {
        dojo.forEach(this.getChildren(), function(_69c, i) {
            dojo.cookie(this._getCookieName(i), _69c.sizeShare);
        }, this);
    }});
    dojo.extend(dijit._Widget, {sizeMin:10,sizeShare:10});
}
if (!dojo._hasResource["dijit.layout.TabContainer"]) {
    dojo._hasResource["dijit.layout.TabContainer"] = true;
    dojo.provide("dijit.layout.TabContainer");
    dojo.declare("dijit.layout.TabContainer", [dijit.layout.StackContainer,dijit._Templated], {tabPosition:"top",templateString:null,templateString:"<div class=\"dijitTabContainer\">\n\t<div dojoAttachPoint=\"tablistNode\"></div>\n\t<div class=\"dijitTabPaneWrapper\" dojoAttachPoint=\"containerNode\"></div>\n</div>\n",postCreate:function() {
        dijit.layout.TabContainer.superclass.postCreate.apply(this, arguments);
        this.tablist = new dijit.layout.TabController({id:this.id + "_tablist",tabPosition:this.tabPosition,doLayout:this.doLayout,containerId:this.id}, this.tablistNode);
    },_setupChild:function(tab) {
        dojo.addClass(tab.domNode, "dijitTabPane");
        this.inherited("_setupChild", arguments);
        return tab;
    },startup:function() {
        if (this._started) {
            return;
        }
        this.tablist.startup();
        this.inherited("startup", arguments);
        if (dojo.isSafari) {
            setTimeout(dojo.hitch(this, "layout"), 0);
        }
    },layout:function() {
        if (!this.doLayout) {
            return;
        }
        var _69f = this.tabPosition.replace(/-h/, "");
        var _6a0 = [{domNode:this.tablist.domNode,layoutAlign:_69f},{domNode:this.containerNode,layoutAlign:"client"}];
        dijit.layout.layoutChildren(this.domNode, this._contentBox, _6a0);
        this._containerContentBox = dijit.layout.marginBox2contentBox(this.containerNode, _6a0[1]);
        if (this.selectedChildWidget) {
            this._showChild(this.selectedChildWidget);
            if (this.doLayout && this.selectedChildWidget.resize) {
                this.selectedChildWidget.resize(this._containerContentBox);
            }
        }
    },destroy:function() {
        this.tablist.destroy();
        this.inherited("destroy", arguments);
    }});
    dojo.declare("dijit.layout.TabController", dijit.layout.StackController, {templateString:"<div wairole='tablist' dojoAttachEvent='onkeypress:onkeypress'></div>",tabPosition:"top",doLayout:true,buttonWidget:"dijit.layout._TabButton",postMixInProperties:function() {
        this["class"] = "dijitTabLabels-" + this.tabPosition + (this.doLayout ? "" : " dijitTabNoLayout");
        this.inherited("postMixInProperties", arguments);
    }});
    dojo.declare("dijit.layout._TabButton", dijit.layout._StackButton, {baseClass:"dijitTab",templateString:"<div dojoAttachEvent='onclick:onClick,onmouseenter:_onMouse,onmouseleave:_onMouse'>\n    <div class='dijitTabInnerDiv' dojoAttachPoint='innerDiv'>\n        <span dojoAttachPoint='containerNode,focusNode'>${!label}</span>\n        <span dojoAttachPoint='closeButtonNode' class='closeImage' dojoAttachEvent='onmouseenter:_onMouse, onmouseleave:_onMouse, onclick:onClickCloseButton' stateModifier='CloseButton'>\n            <span dojoAttachPoint='closeText' class='closeText'>x</span>\n        </span>\n    </div>\n</div>\n",postCreate:function() {
        if (this.closeButton) {
            dojo.addClass(this.innerDiv, "dijitClosable");
        } else {
            this.closeButtonNode.style.display = "none";
        }
        this.inherited("postCreate", arguments);
        dojo.setSelectable(this.containerNode, false);
    }});
}
if (!dojo._hasResource["dijit.dijit-all"]) {
    dojo._hasResource["dijit.dijit-all"] = true;
    console.warn("dijit-all may include much more code than your application actually requires. We strongly recommend that you investigate a custom build or the web build tool");
    dojo.provide("dijit.dijit-all");
}
dojo.i18n._preloadLocalizations("dijit.nls.dijit-all", ["es-es","es","hu","it-it","de","pt-br","pl","fr-fr","zh-cn","pt","en-us","zh","ru","xx","fr","zh-tw","it","cs","en-gb","de-de","ja-jp","ko-kr","ko","en","ROOT","ja"]);
