/*
	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["dijit._base.focus"]) {
    dojo._hasResource["dijit._base.focus"] = true;
    dojo.provide("dijit._base.focus");
    dojo.mixin(dijit, {_curFocus:null,_prevFocus:null,isCollapsed:function() {
        var _1 = dojo.global;
        var _2 = dojo.doc;
        if (_2.selection) {
            return !_2.selection.createRange().text;
        } else {
            if (_1.getSelection) {
                var _3 = _1.getSelection();
                if (dojo.isString(_3)) {
                    return !_3;
                } else {
                    return _3.isCollapsed || !_3.toString();
                }
            }
        }
    },getBookmark:function() {
        var _4,_5 = dojo.doc.selection;
        if (_5) {
            var _6 = _5.createRange();
            if (_5.type.toUpperCase() == "CONTROL") {
                _4 = _6.length ? dojo._toArray(_6) : null;
            } else {
                _4 = _6.getBookmark();
            }
        } else {
            if (dojo.global.getSelection) {
                _5 = dojo.global.getSelection();
                if (_5) {
                    var _6 = _5.getRangeAt(0);
                    _4 = _6.cloneRange();
                }
            } else {
                console.debug("No idea how to store the current selection for this browser!");
            }
        }
        return _4;
    },moveToBookmark:function(_7) {
        var _8 = dojo.doc;
        if (_8.selection) {
            var _9;
            if (dojo.isArray(_7)) {
                _9 = _8.body.createControlRange();
                dojo.forEach(_7, _9.addElement);
            } else {
                _9 = _8.selection.createRange();
                _9.moveToBookmark(_7);
            }
            _9.select();
        } else {
            var _a = dojo.global.getSelection && dojo.global.getSelection();
            if (_a && _a.removeAllRanges) {
                _a.removeAllRanges();
                _a.addRange(_7);
            } else {
                console.debug("No idea how to restore selection for this browser!");
            }
        }
    },getFocus:function(_b, _c) {
        return {node:_b && dojo.isDescendant(dijit._curFocus, _b.domNode) ? dijit._prevFocus : dijit._curFocus,bookmark:!dojo.withGlobal(_c || dojo.global, dijit.isCollapsed) ? dojo.withGlobal(_c || dojo.global, dijit.getBookmark) : null,openedForWindow:_c};
    },focus:function(_d) {
        if (!_d) {
            return;
        }
        var _e = "node" in _d ? _d.node : _d,_f = _d.bookmark,_10 = _d.openedForWindow;
        if (_e) {
            var _11 = (_e.tagName.toLowerCase() == "iframe") ? _e.contentWindow : _e;
            if (_11 && _11.focus) {
                try {
                    _11.focus();
                } catch(e) {
                }
            }
            dijit._onFocusNode(_e);
        }
        if (_f && dojo.withGlobal(_10 || dojo.global, dijit.isCollapsed)) {
            if (_10) {
                _10.focus();
            }
            try {
                dojo.withGlobal(_10 || dojo.global, moveToBookmark, null, [_f]);
            } catch(e) {
            }
        }
    },_activeStack:[],registerWin:function(_12) {
        if (!_12) {
            _12 = window;
        }
        dojo.connect(_12.document, "onmousedown", null, function(evt) {
            dijit._justMouseDowned = true;
            setTimeout(function() {
                dijit._justMouseDowned = false;
            }, 0);
            dijit._onTouchNode(evt.target || evt.srcElement);
        });
        var _14 = _12.document.body || _12.document.getElementsByTagName("body")[0];
        if (_14) {
            if (dojo.isIE) {
                _14.attachEvent("onactivate", function(evt) {
                    if (evt.srcElement.tagName.toLowerCase() != "body") {
                        dijit._onFocusNode(evt.srcElement);
                    }
                });
                _14.attachEvent("ondeactivate", function(evt) {
                    dijit._onBlurNode(evt.srcElement);
                });
            } else {
                _14.addEventListener("focus", function(evt) {
                    dijit._onFocusNode(evt.target);
                }, true);
                _14.addEventListener("blur", function(evt) {
                    dijit._onBlurNode(evt.target);
                }, true);
            }
        }
        _14 = null;
    },_onBlurNode:function(_19) {
        dijit._prevFocus = dijit._curFocus;
        dijit._curFocus = null;
        var w = dijit.getEnclosingWidget(_19);
        if (w && w._setStateClass) {
            w._focused = false;
            w._setStateClass();
        }
        if (dijit._justMouseDowned) {
            return;
        }
        if (dijit._clearActiveWidgetsTimer) {
            clearTimeout(dijit._clearActiveWidgetsTimer);
        }
        dijit._clearActiveWidgetsTimer = setTimeout(function() {
            delete dijit._clearActiveWidgetsTimer;
            dijit._setStack([]);
        }, 100);
    },_onTouchNode:function(_1b) {
        if (dijit._clearActiveWidgetsTimer) {
            clearTimeout(dijit._clearActiveWidgetsTimer);
            delete dijit._clearActiveWidgetsTimer;
        }
        var _1c = [];
        try {
            while (_1b) {
                if (_1b.dijitPopupParent) {
                    _1b = dijit.byId(_1b.dijitPopupParent).domNode;
                } else {
                    if (_1b.tagName && _1b.tagName.toLowerCase() == "body") {
                        if (_1b === dojo.body()) {
                            break;
                        }
                        _1b = dojo.query("iframe").filter(function(_1d) {
                            return _1d.contentDocument.body === _1b;
                        })[0];
                    } else {
                        var id = _1b.getAttribute && _1b.getAttribute("widgetId");
                        if (id) {
                            _1c.unshift(id);
                        }
                        _1b = _1b.parentNode;
                    }
                }
            }
        } catch(e) {
        }
        dijit._setStack(_1c);
    },_onFocusNode:function(_1f) {
        if (_1f && _1f.tagName && _1f.tagName.toLowerCase() == "body") {
            return;
        }
        dijit._onTouchNode(_1f);
        if (_1f == dijit._curFocus) {
            return;
        }
        dijit._prevFocus = dijit._curFocus;
        dijit._curFocus = _1f;
        dojo.publish("focusNode", [_1f]);
        var w = dijit.getEnclosingWidget(_1f);
        if (w && w._setStateClass) {
            w._focused = true;
            w._setStateClass();
        }
    },_setStack:function(_21) {
        var _22 = dijit._activeStack;
        dijit._activeStack = _21;
        for (var _23 = 0; _23 < Math.min(_22.length, _21.length); _23++) {
            if (_22[_23] != _21[_23]) {
                break;
            }
        }
        for (var i = _22.length - 1; i >= _23; i--) {
            var _25 = dijit.byId(_22[i]);
            if (_25) {
                dojo.publish("widgetBlur", [_25]);
                if (_25._onBlur) {
                    _25._onBlur();
                }
            }
        }
        for (var i = _23; i < _21.length; i++) {
            var _25 = dijit.byId(_21[i]);
            if (_25) {
                dojo.publish("widgetFocus", [_25]);
                if (_25._onFocus) {
                    _25._onFocus();
                }
            }
        }
    }});
    dojo.addOnLoad(dijit.registerWin);
}
if (!dojo._hasResource["dijit._base.manager"]) {
    dojo._hasResource["dijit._base.manager"] = true;
    dojo.provide("dijit._base.manager");
    dojo.declare("dijit.WidgetSet", null, {constructor:function() {
        this._hash = {};
    },add:function(_26) {
        if (this._hash[_26.id]) {
            throw new Error("Tried to register widget with id==" + _26.id + " but that id is already registered");
        }
        this._hash[_26.id] = _26;
    },remove:function(id) {
        delete this._hash[id];
    },forEach:function(_28) {
        for (var id in this._hash) {
            _28(this._hash[id]);
        }
    },filter:function(_2a) {
        var res = new dijit.WidgetSet();
        this.forEach(function(_2c) {
            if (_2a(_2c)) {
                res.add(_2c);
            }
        });
        return res;
    },byId:function(id) {
        return this._hash[id];
    },byClass:function(cls) {
        return this.filter(function(_2f) {
            return _2f.declaredClass == cls;
        });
    }});
    dijit.registry = new dijit.WidgetSet();
    dijit._widgetTypeCtr = {};
    dijit.getUniqueId = function(_30) {
        var id;
        do{
            id = _30 + "_" + (dijit._widgetTypeCtr[_30] !== undefined ? ++dijit._widgetTypeCtr[_30] : dijit._widgetTypeCtr[_30] = 0);
        } while (dijit.byId(id));
        return id;
    };
    if (dojo.isIE) {
        dojo.addOnUnload(function() {
            dijit.registry.forEach(function(_32) {
                _32.destroy();
            });
        });
    }
    dijit.byId = function(id) {
        return (dojo.isString(id)) ? dijit.registry.byId(id) : id;
    };
    dijit.byNode = function(_34) {
        return dijit.registry.byId(_34.getAttribute("widgetId"));
    };
    dijit.getEnclosingWidget = function(_35) {
        while (_35) {
            if (_35.getAttribute && _35.getAttribute("widgetId")) {
                return dijit.registry.byId(_35.getAttribute("widgetId"));
            }
            _35 = _35.parentNode;
        }
        return null;
    };
}
if (!dojo._hasResource["dijit._base.place"]) {
    dojo._hasResource["dijit._base.place"] = true;
    dojo.provide("dijit._base.place");
    dijit.getViewport = function() {
        var _36 = dojo.global;
        var _37 = dojo.doc;
        var w = 0,h = 0;
        if (dojo.isMozilla) {
            var _3a,_3b,_3c,_3d;
            if (_37.body.clientWidth > _37.documentElement.clientWidth) {
                _3a = _37.documentElement.clientWidth;
                _3c = _37.body.clientWidth;
            } else {
                _3c = _37.documentElement.clientWidth;
                _3a = _37.body.clientWidth;
            }
            if (_37.body.clientHeight > _37.documentElement.clientHeight) {
                _3b = _37.documentElement.clientHeight;
                _3d = _37.body.clientHeight;
            } else {
                _3d = _37.documentElement.clientHeight;
                _3b = _37.body.clientHeight;
            }
            w = (_3c > _36.innerWidth) ? _3a : _3c;
            h = (_3d > _36.innerHeight) ? _3b : _3d;
        } else {
            if (!dojo.isOpera && _36.innerWidth) {
                w = _36.innerWidth;
                h = _36.innerHeight;
            } else {
                if (dojo.isIE && _37.documentElement && _37.documentElement.clientHeight) {
                    w = _37.documentElement.clientWidth;
                    h = _37.documentElement.clientHeight;
                } else {
                    if (dojo.body().clientWidth) {
                        w = dojo.body().clientWidth;
                        h = dojo.body().clientHeight;
                    }
                }
            }
        }
        var _3e = dojo._docScroll();
        return {w:w,h:h,l:_3e.x,t:_3e.y};
    };
    dijit.placeOnScreen = function(_3f, pos, _41, _42) {
        var _43 = dojo.map(_41, function(_44) {
            return {corner:_44,pos:pos};
        });
        return dijit._place(_3f, _43);
    };
    dijit._place = function(_45, _46, _47) {
        var _48 = dijit.getViewport();
        if (!_45.parentNode || String(_45.parentNode.tagName).toLowerCase() != "body") {
            dojo.body().appendChild(_45);
        }
        var _49 = null;
        for (var i = 0; i < _46.length; i++) {
            var _4b = _46[i].corner;
            var pos = _46[i].pos;
            if (_47) {
                _47(_4b);
            }
            var _4d = _45.style.display;
            var _4e = _45.style.visibility;
            _45.style.visibility = "hidden";
            _45.style.display = "";
            var mb = dojo.marginBox(_45);
            _45.style.display = _4d;
            _45.style.visibility = _4e;
            var _50 = (_4b.charAt(1) == "L" ? pos.x : Math.max(_48.l, pos.x - mb.w)),_51 = (_4b.charAt(0) == "T" ? pos.y : Math.max(_48.t, pos.y - mb.h)),_52 = (_4b.charAt(1) == "L" ? Math.min(_48.l + _48.w, _50 + mb.w) : pos.x),_53 = (_4b.charAt(0) == "T" ? Math.min(_48.t + _48.h, _51 + mb.h) : pos.y),_54 = _52 - _50,_55 = _53 - _51,_56 = (mb.w - _54) + (mb.h - _55);
            if (_49 == null || _56 < _49.overflow) {
                _49 = {corner:_4b,aroundCorner:_46[i].aroundCorner,x:_50,y:_51,w:_54,h:_55,overflow:_56};
            }
            if (_56 == 0) {
                break;
            }
        }
        _45.style.left = _49.x + "px";
        _45.style.top = _49.y + "px";
        return _49;
    };
    dijit.placeOnScreenAroundElement = function(_57, _58, _59, _5a) {
        _58 = dojo.byId(_58);
        var _5b = _58.style.display;
        _58.style.display = "";
        var _5c = _58.offsetWidth;
        var _5d = _58.offsetHeight;
        var _5e = dojo.coords(_58, true);
        _58.style.display = _5b;
        var _5f = [];
        for (var _60 in _59) {
            _5f.push({aroundCorner:_60,corner:_59[_60],pos:{x:_5e.x + (_60.charAt(1) == "L" ? 0 : _5c),y:_5e.y + (_60.charAt(0) == "T" ? 0 : _5d)}});
        }
        return dijit._place(_57, _5f, _5a);
    };
}
if (!dojo._hasResource["dijit._base.window"]) {
    dojo._hasResource["dijit._base.window"] = true;
    dojo.provide("dijit._base.window");
    dijit.getDocumentWindow = function(doc) {
        if (dojo.isSafari && !doc._parentWindow) {
            var fix = function(win) {
                win.document._parentWindow = win;
                for (var i = 0; i < win.frames.length; i++) {
                    fix(win.frames[i]);
                }
            };
            fix(window.top);
        }
        if (dojo.isIE && window !== document.parentWindow && !doc._parentWindow) {
            doc.parentWindow.execScript("document._parentWindow = window;", "Javascript");
            var win = doc._parentWindow;
            doc._parentWindow = null;
            return win;
        }
        return doc._parentWindow || doc.parentWindow || doc.defaultView;
    };
}
if (!dojo._hasResource["dijit._base.popup"]) {
    dojo._hasResource["dijit._base.popup"] = true;
    dojo.provide("dijit._base.popup");
    dijit.popup = new function() {
        var _66 = [],_67 = 1000,_68 = 1;
        this.open = function(_69) {
            var _6a = _69.popup,_6b = _69.orient || {"BL":"TL","TL":"BL"},_6c = _69.around,id = (_69.around && _69.around.id) ? (_69.around.id + "_dropdown") : ("popup_" + _68++);
            var _6e = dojo.doc.createElement("div");
            _6e.id = id;
            _6e.className = "dijitPopup";
            _6e.style.zIndex = _67 + _66.length;
            _6e.style.visibility = "hidden";
            if (_69.parent) {
                _6e.dijitPopupParent = _69.parent.id;
            }
            dojo.body().appendChild(_6e);
            _6a.domNode.style.display = "";
            _6e.appendChild(_6a.domNode);
            var _6f = new dijit.BackgroundIframe(_6e);
            var _70 = _6c ? dijit.placeOnScreenAroundElement(_6e, _6c, _6b, _6a.orient ? dojo.hitch(_6a, "orient") : null) : dijit.placeOnScreen(_6e, _69, _6b == "R" ? ["TR","BR","TL","BL"] : ["TL","BL","TR","BR"]);
            _6e.style.visibility = "visible";
            var _71 = [];
            function getTopPopup() {
                for (var pi = _66.length - 1; pi > 0 && _66[pi].parent === _66[pi - 1].widget; pi--) {
                }
                return _66[pi];
            }
            ;
            _71.push(dojo.connect(_6e, "onkeypress", this, function(evt) {
                if (evt.keyCode == dojo.keys.ESCAPE && _69.onCancel) {
                    _69.onCancel();
                } else {
                    if (evt.keyCode == dojo.keys.TAB) {
                        dojo.stopEvent(evt);
                        var _74 = getTopPopup();
                        if (_74 && _74.onCancel) {
                            _74.onCancel();
                        }
                    }
                }
            }));
            if (_6a.onCancel) {
                _71.push(dojo.connect(_6a, "onCancel", null, _69.onCancel));
            }
            _71.push(dojo.connect(_6a, _6a.onExecute ? "onExecute" : "onChange", null, function() {
                var _75 = getTopPopup();
                if (_75 && _75.onExecute) {
                    _75.onExecute();
                }
            }));
            _66.push({wrapper:_6e,iframe:_6f,widget:_6a,parent:_69.parent,onExecute:_69.onExecute,onCancel:_69.onCancel,onClose:_69.onClose,handlers:_71});
            if (_6a.onOpen) {
                _6a.onOpen(_70);
            }
            return _70;
        };
        this.close = function(_76) {
            while (dojo.some(_66, function(_77) {
                return _77.widget == _76;
            })) {
                var top = _66.pop(),_79 = top.wrapper,_7a = top.iframe,_7b = top.widget,_7c = top.onClose;
                if (_7b.onClose) {
                    _7b.onClose();
                }
                dojo.forEach(top.handlers, dojo.disconnect);
                if (!_7b || !_7b.domNode) {
                    return;
                }
                dojo.style(_7b.domNode, "display", "none");
                dojo.body().appendChild(_7b.domNode);
                _7a.destroy();
                dojo._destroyElement(_79);
                if (_7c) {
                    _7c();
                }
            }
        };
    }
    ();
    dijit._frames = new function() {
        var _7d = [];
        this.pop = function() {
            var _7e;
            if (_7d.length) {
                _7e = _7d.pop();
                _7e.style.display = "";
            } else {
                if (dojo.isIE) {
                    var _7f = "<iframe src='javascript:\"\"'" + " style='position: absolute; left: 0px; top: 0px;" + "z-index: -1; filter:Alpha(Opacity=\"0\");'>";
                    _7e = dojo.doc.createElement(_7f);
                } else {
                    var _7e = dojo.doc.createElement("iframe");
                    _7e.src = "javascript:\"\"";
                    _7e.className = "dijitBackgroundIframe";
                }
                _7e.tabIndex = -1;
                dojo.body().appendChild(_7e);
            }
            return _7e;
        };
        this.push = function(_80) {
            _80.style.display = "";
            if (dojo.isIE) {
                _80.style.removeExpression("width");
                _80.style.removeExpression("height");
            }
            _7d.push(_80);
        };
    }
    ();
    if (dojo.isIE && dojo.isIE < 7) {
        dojo.addOnLoad(function() {
            var f = dijit._frames;
            dojo.forEach([f.pop()], f.push);
        });
    }
    dijit.BackgroundIframe = function(_82) {
        if (!_82.id) {
            throw new Error("no id");
        }
        if ((dojo.isIE && dojo.isIE < 7) || (dojo.isFF && dojo.isFF < 3 && dojo.hasClass(dojo.body(), "dijit_a11y"))) {
            var _83 = dijit._frames.pop();
            _82.appendChild(_83);
            if (dojo.isIE) {
                _83.style.setExpression("width", "document.getElementById('" + _82.id + "').offsetWidth");
                _83.style.setExpression("height", "document.getElementById('" + _82.id + "').offsetHeight");
            }
            this.iframe = _83;
        }
    };
    dojo.extend(dijit.BackgroundIframe, {destroy:function() {
        if (this.iframe) {
            dijit._frames.push(this.iframe);
            delete this.iframe;
        }
    }});
}
if (!dojo._hasResource["dijit._base.scroll"]) {
    dojo._hasResource["dijit._base.scroll"] = true;
    dojo.provide("dijit._base.scroll");
    dijit.scrollIntoView = function(_84) {
        if (dojo.isIE) {
            if (dojo.marginBox(_84.parentNode).h <= _84.parentNode.scrollHeight) {
                _84.scrollIntoView(false);
            }
        } else {
            if (dojo.isMozilla) {
                _84.scrollIntoView(false);
            } else {
                var _85 = _84.parentNode;
                var _86 = _85.scrollTop + dojo.marginBox(_85).h;
                var _87 = _84.offsetTop + dojo.marginBox(_84).h;
                if (_86 < _87) {
                    _85.scrollTop += (_87 - _86);
                } else {
                    if (_85.scrollTop > _84.offsetTop) {
                        _85.scrollTop -= (_85.scrollTop - _84.offsetTop);
                    }
                }
            }
        }
    };
}
if (!dojo._hasResource["dijit._base.sniff"]) {
    dojo._hasResource["dijit._base.sniff"] = true;
    dojo.provide("dijit._base.sniff");
    (function() {
        var d = dojo;
        var ie = d.isIE;
        var _8a = d.isOpera;
        var maj = Math.floor;
        var _8c = {dj_ie:ie,dj_ie6:maj(ie) == 6,dj_ie7:maj(ie) == 7,dj_iequirks:ie && d.isQuirks,dj_opera:_8a,dj_opera8:maj(_8a) == 8,dj_opera9:maj(_8a) == 9,dj_khtml:d.isKhtml,dj_safari:d.isSafari,dj_gecko:d.isMozilla};
        for (var p in _8c) {
            if (_8c[p]) {
                var _8e = dojo.doc.documentElement;
                if (_8e.className) {
                    _8e.className += " " + p;
                } else {
                    _8e.className = p;
                }
            }
        }
    })();
}
if (!dojo._hasResource["dijit._base.bidi"]) {
    dojo._hasResource["dijit._base.bidi"] = true;
    dojo.provide("dijit._base.bidi");
    dojo.addOnLoad(function() {
        if (!dojo._isBodyLtr()) {
            dojo.addClass(dojo.body(), "dijitRtl");
        }
    });
}
if (!dojo._hasResource["dijit._base.typematic"]) {
    dojo._hasResource["dijit._base.typematic"] = true;
    dojo.provide("dijit._base.typematic");
    dijit.typematic = {_fireEventAndReload:function() {
        this._timer = null;
        this._callback(++this._count, this._node, this._evt);
        this._currentTimeout = (this._currentTimeout < 0) ? this._initialDelay : ((this._subsequentDelay > 1) ? this._subsequentDelay : Math.round(this._currentTimeout * this._subsequentDelay));
        this._timer = setTimeout(dojo.hitch(this, "_fireEventAndReload"), this._currentTimeout);
    },trigger:function(evt, _90, _91, _92, obj, _94, _95) {
        if (obj != this._obj) {
            this.stop();
            this._initialDelay = _95 || 500;
            this._subsequentDelay = _94 || 0.9;
            this._obj = obj;
            this._evt = evt;
            this._node = _91;
            this._currentTimeout = -1;
            this._count = -1;
            this._callback = dojo.hitch(_90, _92);
            this._fireEventAndReload();
        }
    },stop:function() {
        if (this._timer) {
            clearTimeout(this._timer);
            this._timer = null;
        }
        if (this._obj) {
            this._callback(-1, this._node, this._evt);
            this._obj = null;
        }
    },addKeyListener:function(_96, _97, _98, _99, _9a, _9b) {
        return [dojo.connect(_96, "onkeypress", this, function(evt) {
            if (evt.keyCode == _97.keyCode && (!_97.charCode || _97.charCode == evt.charCode) && (_97.ctrlKey === undefined || _97.ctrlKey == evt.ctrlKey) && (_97.altKey === undefined || _97.altKey == evt.ctrlKey) && (_97.shiftKey === undefined || _97.shiftKey == evt.ctrlKey)) {
                dojo.stopEvent(evt);
                dijit.typematic.trigger(_97, _98, _96, _99, _97, _9a, _9b);
            } else {
                if (dijit.typematic._obj == _97) {
                    dijit.typematic.stop();
                }
            }
        }),dojo.connect(_96, "onkeyup", this, function(evt) {
            if (dijit.typematic._obj == _97) {
                dijit.typematic.stop();
            }
        })];
    },addMouseListener:function(_9e, _9f, _a0, _a1, _a2) {
        var dc = dojo.connect;
        return [dc(_9e, "mousedown", this, function(evt) {
            dojo.stopEvent(evt);
            dijit.typematic.trigger(evt, _9f, _9e, _a0, _9e, _a1, _a2);
        }),dc(_9e, "mouseup", this, function(evt) {
            dojo.stopEvent(evt);
            dijit.typematic.stop();
        }),dc(_9e, "mouseout", this, function(evt) {
            dojo.stopEvent(evt);
            dijit.typematic.stop();
        }),dc(_9e, "mousemove", this, function(evt) {
            dojo.stopEvent(evt);
        }),dc(_9e, "dblclick", this, function(evt) {
            dojo.stopEvent(evt);
            if (dojo.isIE) {
                dijit.typematic.trigger(evt, _9f, _9e, _a0, _9e, _a1, _a2);
                setTimeout(dijit.typematic.stop, 50);
            }
        })];
    },addListener:function(_a9, _aa, _ab, _ac, _ad, _ae, _af) {
        return this.addKeyListener(_aa, _ab, _ac, _ad, _ae, _af).concat(this.addMouseListener(_a9, _ac, _ad, _ae, _af));
    }};
}
if (!dojo._hasResource["dijit._base.wai"]) {
    dojo._hasResource["dijit._base.wai"] = true;
    dojo.provide("dijit._base.wai");
    dijit.wai = {onload:function() {
        var div = document.createElement("div");
        div.id = "a11yTestNode";
        div.style.cssText = "border: 1px solid;" + "border-color:red green;" + "position: absolute;" + "height: 5px;" + "top: -999px;" + "background-image: url(\"" + dojo.moduleUrl("dijit", "form/templates/blank.gif") + "\");";
        dojo.body().appendChild(div);
        function check() {
            var cs = dojo.getComputedStyle(div);
            if (cs) {
                var _b2 = cs.backgroundImage;
                var _b3 = (cs.borderTopColor == cs.borderRightColor) || (_b2 != null && (_b2 == "none" || _b2 == "url(invalid-url:)"));
                dojo[_b3 ? "addClass" : "removeClass"](dojo.body(), "dijit_a11y");
            }
        }
        ;
        check();
        if (dojo.isIE) {
            setInterval(check, 4000);
        }
    }};
    if (dojo.isIE || dojo.isMoz) {
        dojo._loaders.unshift(dijit.wai.onload);
    }
    dojo.mixin(dijit, {hasWaiRole:function(_b4) {
        if (_b4.hasAttribute) {
            return _b4.hasAttribute("role");
        } else {
            return _b4.getAttribute("role") ? true : false;
        }
    },getWaiRole:function(_b5) {
        var _b6 = _b5.getAttribute("role");
        if (_b6) {
            var _b7 = _b6.indexOf(":");
            return _b7 == -1 ? _b6 : _b6.substring(_b7 + 1);
        } else {
            return "";
        }
    },setWaiRole:function(_b8, _b9) {
        if (dojo.isFF && dojo.isFF < 3) {
            _b8.setAttribute("role", "wairole:" + _b9);
        } else {
            _b8.setAttribute("role", _b9);
        }
    },removeWaiRole:function(_ba) {
        _ba.removeAttribute("role");
    },hasWaiState:function(_bb, _bc) {
        if (dojo.isFF && dojo.isFF < 3) {
            return _bb.hasAttributeNS("http://www.w3.org/2005/07/aaa", _bc);
        } else {
            if (_bb.hasAttribute) {
                return _bb.hasAttribute("aria-" + _bc);
            } else {
                return _bb.getAttribute("aria-" + _bc) ? true : false;
            }
        }
    },getWaiState:function(_bd, _be) {
        if (dojo.isFF && dojo.isFF < 3) {
            return _bd.getAttributeNS("http://www.w3.org/2005/07/aaa", _be);
        } else {
            var _bf = _bd.getAttribute("aria-" + _be);
            return _bf ? _bf : "";
        }
    },setWaiState:function(_c0, _c1, _c2) {
        if (dojo.isFF && dojo.isFF < 3) {
            _c0.setAttributeNS("http://www.w3.org/2005/07/aaa", "aaa:" + _c1, _c2);
        } else {
            _c0.setAttribute("aria-" + _c1, _c2);
        }
    },removeWaiState:function(_c3, _c4) {
        if (dojo.isFF && dojo.isFF < 3) {
            _c3.removeAttributeNS("http://www.w3.org/2005/07/aaa", _c4);
        } else {
            _c3.removeAttribute("aria-" + _c4);
        }
    }});
}
if (!dojo._hasResource["dijit._base"]) {
    dojo._hasResource["dijit._base"] = true;
    dojo.provide("dijit._base");
}
if (!dojo._hasResource["dojo.date.stamp"]) {
    dojo._hasResource["dojo.date.stamp"] = true;
    dojo.provide("dojo.date.stamp");
    dojo.date.stamp.fromISOString = function(_c5, _c6) {
        if (!dojo.date.stamp._isoRegExp) {
            dojo.date.stamp._isoRegExp = /^(?:(\d{4})(?:-(\d{2})(?:-(\d{2}))?)?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(.\d+)?)?((?:[+-](\d{2}):(\d{2}))|Z)?)?$/;
        }
        var _c7 = dojo.date.stamp._isoRegExp.exec(_c5);
        var _c8 = null;
        if (_c7) {
            _c7.shift();
            _c7[1] && _c7[1]--;
            _c7[6] && (_c7[6] *= 1000);
            if (_c6) {
                _c6 = new Date(_c6);
                dojo.map(["FullYear","Month","Date","Hours","Minutes","Seconds","Milliseconds"], function(_c9) {
                    return _c6["get" + _c9]();
                }).forEach(function(_ca, _cb) {
                    if (_c7[_cb] === undefined) {
                        _c7[_cb] = _ca;
                    }
                });
            }
            _c8 = new Date(_c7[0] || 1970, _c7[1] || 0, _c7[2] || 0, _c7[3] || 0, _c7[4] || 0, _c7[5] || 0, _c7[6] || 0);
            var _cc = 0;
            var _cd = _c7[7] && _c7[7].charAt(0);
            if (_cd != "Z") {
                _cc = ((_c7[8] || 0) * 60) + (Number(_c7[9]) || 0);
                if (_cd != "-") {
                    _cc *= -1;
                }
            }
            if (_cd) {
                _cc -= _c8.getTimezoneOffset();
            }
            if (_cc) {
                _c8.setTime(_c8.getTime() + _cc * 60000);
            }
        }
        return _c8;
    };
    dojo.date.stamp.toISOString = function(_ce, _cf) {
        var _ = function(n) {
            return (n < 10) ? "0" + n : n;
        };
        _cf = _cf || {};
        var _d2 = [];
        var _d3 = _cf.zulu ? "getUTC" : "get";
        var _d4 = "";
        if (_cf.selector != "time") {
            _d4 = [_ce[_d3 + "FullYear"](),_(_ce[_d3 + "Month"]() + 1),_(_ce[_d3 + "Date"]())].join("-");
        }
        _d2.push(_d4);
        if (_cf.selector != "date") {
            var _d5 = [_(_ce[_d3 + "Hours"]()),_(_ce[_d3 + "Minutes"]()),_(_ce[_d3 + "Seconds"]())].join(":");
            var _d6 = _ce[_d3 + "Milliseconds"]();
            if (_cf.milliseconds) {
                _d5 += "." + (_d6 < 100 ? "0" : "") + _(_d6);
            }
            if (_cf.zulu) {
                _d5 += "Z";
            } else {
                if (_cf.selector != "time") {
                    var _d7 = _ce.getTimezoneOffset();
                    var _d8 = Math.abs(_d7);
                    _d5 += (_d7 > 0 ? "-" : "+") + _(Math.floor(_d8 / 60)) + ":" + _(_d8 % 60);
                }
            }
            _d2.push(_d5);
        }
        return _d2.join("T");
    };
}
if (!dojo._hasResource["dojo.parser"]) {
    dojo._hasResource["dojo.parser"] = true;
    dojo.provide("dojo.parser");
    dojo.parser = new function() {
        var d = dojo;
        function val2type(_da) {
            if (d.isString(_da)) {
                return "string";
            }
            if (typeof _da == "number") {
                return "number";
            }
            if (typeof _da == "boolean") {
                return "boolean";
            }
            if (d.isFunction(_da)) {
                return "function";
            }
            if (d.isArray(_da)) {
                return "array";
            }
            if (_da instanceof Date) {
                return "date";
            }
            if (_da instanceof d._Url) {
                return "url";
            }
            return "object";
        }
        ;
        function str2obj(_db, _dc) {
            switch (_dc) {case "string":return _db;case "number":return _db.length ? Number(_db) : NaN;case "boolean":return typeof _db == "boolean" ? _db : !(_db.toLowerCase() == "false");case "function":if (d.isFunction(_db)) {
                _db = _db.toString();
                _db = d.trim(_db.substring(_db.indexOf("{") + 1, _db.length - 1));
            }try {
                if (_db.search(/[^\w\.]+/i) != -1) {
                    _db = d.parser._nameAnonFunc(new Function(_db), this);
                }
                return d.getObject(_db, false);
            } catch(e) {
                return new Function();
            }case "array":return _db.split(/\s*,\s*/);case "date":switch (_db) {case "":return new Date("");case "now":return new Date();default:return d.date.stamp.fromISOString(_db);}case "url":return d.baseUrl + _db;default:return d.fromJson(_db);}
        }
        ;
        var _dd = {};
        function getClassInfo(_de) {
            if (!_dd[_de]) {
                var cls = d.getObject(_de);
                if (!d.isFunction(cls)) {
                    throw new Error("Could not load class '" + _de + "'. Did you spell the name correctly and use a full path, like 'dijit.form.Button'?");
                }
                var _e0 = cls.prototype;
                var _e1 = {};
                for (var _e2 in _e0) {
                    if (_e2.charAt(0) == "_") {
                        continue;
                    }
                    var _e3 = _e0[_e2];
                    _e1[_e2] = val2type(_e3);
                }
                _dd[_de] = {cls:cls,params:_e1};
            }
            return _dd[_de];
        }
        ;
        this._functionFromScript = function(_e4) {
            var _e5 = "";
            var _e6 = "";
            var _e7 = _e4.getAttribute("args");
            if (_e7) {
                d.forEach(_e7.split(/\s*,\s*/), function(_e8, idx) {
                    _e5 += "var " + _e8 + " = arguments[" + idx + "]; ";
                });
            }
            var _ea = _e4.getAttribute("with");
            if (_ea && _ea.length) {
                d.forEach(_ea.split(/\s*,\s*/), function(_eb) {
                    _e5 += "with(" + _eb + "){";
                    _e6 += "}";
                });
            }
            return new Function(_e5 + _e4.innerHTML + _e6);
        };
        this.instantiate = function(_ec) {
            var _ed = [];
            d.forEach(_ec, function(_ee) {
                if (!_ee) {
                    return;
                }
                var _ef = _ee.getAttribute("dojoType");
                if ((!_ef) || (!_ef.length)) {
                    return;
                }
                var _f0 = getClassInfo(_ef);
                var _f1 = _f0.cls;
                var ps = _f1._noScript || _f1.prototype._noScript;
                var _f3 = {};
                var _f4 = _ee.attributes;
                for (var _f5 in _f0.params) {
                    var _f6 = _f4.getNamedItem(_f5);
                    if (!_f6 || (!_f6.specified && (!dojo.isIE || _f5.toLowerCase() != "value"))) {
                        continue;
                    }
                    var _f7 = _f6.value;
                    switch (_f5) {case "class":_f7 = _ee.className;break;case "style":_f7 = _ee.style && _ee.style.cssText;}
                    var _f8 = _f0.params[_f5];
                    _f3[_f5] = str2obj(_f7, _f8);
                }
                if (!ps) {
                    var _f9 = [],_fa = [];
                    d.query("> script[type^='dojo/']", _ee).orphan().forEach(function(_fb) {
                        var _fc = _fb.getAttribute("event"),_ef = _fb.getAttribute("type"),nf = d.parser._functionFromScript(_fb);
                        if (_fc) {
                            if (_ef == "dojo/connect") {
                                _f9.push({event:_fc,func:nf});
                            } else {
                                _f3[_fc] = nf;
                            }
                        } else {
                            _fa.push(nf);
                        }
                    });
                }
                var _fe = _f1["markupFactory"];
                if (!_fe && _f1["prototype"]) {
                    _fe = _f1.prototype["markupFactory"];
                }
                var _ff = _fe ? _fe(_f3, _ee, _f1) : new _f1(_f3, _ee);
                _ed.push(_ff);
                var _100 = _ee.getAttribute("jsId");
                if (_100) {
                    d.setObject(_100, _ff);
                }
                if (!ps) {
                    dojo.forEach(_f9, function(_101) {
                        dojo.connect(_ff, _101.event, null, _101.func);
                    });
                    dojo.forEach(_fa, function(func) {
                        func.call(_ff);
                    });
                }
            });
            d.forEach(_ed, function(_103) {
                if (_103 && (_103.startup) && ((!_103.getParent) || (!_103.getParent()))) {
                    _103.startup();
                }
            });
            return _ed;
        };
        this.parse = function(_104) {
            var list = d.query("[dojoType]", _104);
            var _106 = this.instantiate(list);
            return _106;
        };
    }
    ();
    (function() {
        var _107 = function() {
            if (djConfig["parseOnLoad"] == true) {
                dojo.parser.parse();
            }
        };
        if (dojo.exists("dijit.wai.onload") && (dijit.wai.onload === dojo._loaders[0])) {
            dojo._loaders.splice(1, 0, _107);
        } else {
            dojo._loaders.unshift(_107);
        }
    })();
    dojo.parser._anonCtr = 0;
    dojo.parser._anon = {};
    dojo.parser._nameAnonFunc = function(_108, _109) {
        var jpn = "$joinpoint";
        var nso = (_109 || dojo.parser._anon);
        if (dojo.isIE) {
            var cn = _108["__dojoNameCache"];
            if (cn && nso[cn] === _108) {
                return _108["__dojoNameCache"];
            }
        }
        var ret = "__" + dojo.parser._anonCtr++;
        while (typeof nso[ret] != "undefined") {
            ret = "__" + dojo.parser._anonCtr++;
        }
        nso[ret] = _108;
        return ret;
    };
}
if (!dojo._hasResource["dijit._Widget"]) {
    dojo._hasResource["dijit._Widget"] = true;
    dojo.provide("dijit._Widget");
    dojo.declare("dijit._Widget", null, {id:"",lang:"",dir:"","class":"",style:"",title:"",srcNodeRef:null,domNode:null,attributeMap:{id:"",dir:"",lang:"","class":"",style:"",title:""},postscript:function(_10e, _10f) {
        this.create(_10e, _10f);
    },create:function(_110, _111) {
        this.srcNodeRef = dojo.byId(_111);
        this._connects = [];
        this._attaches = [];
        if (this.srcNodeRef && (typeof this.srcNodeRef.id == "string")) {
            this.id = this.srcNodeRef.id;
        }
        if (_110) {
            dojo.mixin(this, _110);
        }
        this.postMixInProperties();
        if (!this.id) {
            this.id = dijit.getUniqueId(this.declaredClass.replace(/\./g, "_"));
        }
        dijit.registry.add(this);
        this.buildRendering();
        if (this.domNode) {
            for (var attr in this.attributeMap) {
                var _113 = this[this.attributeMap[attr] || "domNode"];
                var _114 = this[attr];
                if (typeof _114 != "object" && (_114 !== "" || (_110 && _110[attr]))) {
                    switch (attr) {case "class":dojo.addClass(_113, _114);break;case "style":if (_113.style.cssText) {
                        _113.style.cssText += "; " + _114;
                    } else {
                        _113.style.cssText = _114;
                    }break;default:_113.setAttribute(attr, _114);}
                }
            }
        }
        if (this.domNode) {
            this.domNode.setAttribute("widgetId", this.id);
        }
        this.postCreate();
        if (this.srcNodeRef && !this.srcNodeRef.parentNode) {
            delete this.srcNodeRef;
        }
    },postMixInProperties:function() {
    },buildRendering:function() {
        this.domNode = this.srcNodeRef || dojo.doc.createElement("div");
    },postCreate:function() {
    },startup:function() {
    },destroyRecursive:function(_115) {
        this.destroyDescendants();
        this.destroy();
    },destroy:function(_116) {
        this.uninitialize();
        dojo.forEach(this._connects, function(_117) {
            dojo.forEach(_117, dojo.disconnect);
        });
        this.destroyRendering(_116);
        dijit.registry.remove(this.id);
    },destroyRendering:function(_118) {
        if (this.bgIframe) {
            this.bgIframe.destroy();
            delete this.bgIframe;
        }
        if (this.domNode) {
            dojo._destroyElement(this.domNode);
            delete this.domNode;
        }
        if (this.srcNodeRef) {
            dojo._destroyElement(this.srcNodeRef);
            delete this.srcNodeRef;
        }
    },destroyDescendants:function() {
        dojo.forEach(this.getDescendants(), function(_119) {
            _119.destroy();
        });
    },uninitialize:function() {
        return false;
    },toString:function() {
        return "[Widget " + this.declaredClass + ", " + (this.id || "NO ID") + "]";
    },getDescendants:function() {
        var list = dojo.query("[widgetId]", this.domNode);
        return list.map(dijit.byNode);
    },nodesWithKeyClick:["input","button"],connect:function(obj, _11c, _11d) {
        var _11e = [];
        if (_11c == "ondijitclick") {
            var w = this;
            if (!this.nodesWithKeyClick[obj.nodeName]) {
                _11e.push(dojo.connect(obj, "onkeydown", this, function(e) {
                    if (e.keyCode == dojo.keys.ENTER) {
                        return (dojo.isString(_11d)) ? w[_11d](e) : _11d.call(w, e);
                    } else {
                        if (e.keyCode == dojo.keys.SPACE) {
                            dojo.stopEvent(e);
                        }
                    }
                }));
                _11e.push(dojo.connect(obj, "onkeyup", this, function(e) {
                    if (e.keyCode == dojo.keys.SPACE) {
                        return dojo.isString(_11d) ? w[_11d](e) : _11d.call(w, e);
                    }
                }));
            }
            _11c = "onclick";
        }
        _11e.push(dojo.connect(obj, _11c, this, _11d));
        this._connects.push(_11e);
        return _11e;
    },disconnect:function(_122) {
        for (var i = 0; i < this._connects.length; i++) {
            if (this._connects[i] == _122) {
                dojo.forEach(_122, dojo.disconnect);
                this._connects.splice(i, 1);
                return;
            }
        }
    },isLeftToRight:function() {
        if (typeof this._ltr == "undefined") {
            this._ltr = dojo.getComputedStyle(this.domNode).direction != "rtl";
        }
        return this._ltr;
    },isFocusable:function() {
        return this.focus && (dojo.style(this.domNode, "display") != "none");
    }});
}
if (!dojo._hasResource["dojo.string"]) {
    dojo._hasResource["dojo.string"] = true;
    dojo.provide("dojo.string");
    dojo.string.pad = function(text, size, ch, end) {
        var out = String(text);
        if (!ch) {
            ch = "0";
        }
        while (out.length < size) {
            if (end) {
                out += ch;
            } else {
                out = ch + out;
            }
        }
        return out;
    };
    dojo.string.substitute = function(_129, map, _12b, _12c) {
        return _129.replace(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g, function(_12d, key, _12f) {
            var _130 = dojo.getObject(key, false, map);
            if (_12f) {
                _130 = dojo.getObject(_12f, false, _12c)(_130);
            }
            if (_12b) {
                _130 = _12b(_130, key);
            }
            return _130.toString();
        });
    };
    dojo.string.trim = function(str) {
        str = str.replace(/^\s+/, "");
        for (var i = str.length - 1; i > 0; i--) {
            if (/\S/.test(str.charAt(i))) {
                str = str.substring(0, i + 1);
                break;
            }
        }
        return str;
    };
}
if (!dojo._hasResource["dijit._Templated"]) {
    dojo._hasResource["dijit._Templated"] = true;
    dojo.provide("dijit._Templated");
    dojo.declare("dijit._Templated", null, {templateNode:null,templateString:null,templatePath:null,widgetsInTemplate:false,containerNode:null,_skipNodeCache:false,buildRendering:function() {
        var _133 = dijit._Templated.getCachedTemplate(this.templatePath, this.templateString, this._skipNodeCache);
        var node;
        if (dojo.isString(_133)) {
            var _135 = this.declaredClass,_136 = this;
            var tstr = dojo.string.substitute(_133, this, function(_138, key) {
                if (key.charAt(0) == "!") {
                    _138 = _136[key.substr(1)];
                }
                if (typeof _138 == "undefined") {
                    throw new Error(_135 + " template:" + key);
                }
                if (!_138) {
                    return "";
                }
                return key.charAt(0) == "!" ? _138 : _138.toString().replace(/"/g, "&quot;");
            }, this);
            node = dijit._Templated._createNodesFromText(tstr)[0];
        } else {
            node = _133.cloneNode(true);
        }
        this._attachTemplateNodes(node);
        var _13a = this.srcNodeRef;
        if (_13a && _13a.parentNode) {
            _13a.parentNode.replaceChild(node, _13a);
        }
        this.domNode = node;
        if (this.widgetsInTemplate) {
            var _13b = dojo.parser.parse(node);
            this._attachTemplateNodes(_13b, function(n, p) {
                return n[p];
            });
        }
        this._fillContent(_13a);
    },_fillContent:function(_13e) {
        var dest = this.containerNode;
        if (_13e && dest) {
            while (_13e.hasChildNodes()) {
                dest.appendChild(_13e.firstChild);
            }
        }
    },_attachTemplateNodes:function(_140, _141) {
        _141 = _141 || function(n, p) {
            return n.getAttribute(p);
        };
        var _144 = dojo.isArray(_140) ? _140 : (_140.all || _140.getElementsByTagName("*"));
        var x = dojo.isArray(_140) ? 0 : -1;
        for (; x < _144.length; x++) {
            var _146 = (x == -1) ? _140 : _144[x];
            if (this.widgetsInTemplate && _141(_146, "dojoType")) {
                continue;
            }
            var _147 = _141(_146, "dojoAttachPoint");
            if (_147) {
                var _148,_149 = _147.split(/\s*,\s*/);
                while (_148 = _149.shift()) {
                    if (dojo.isArray(this[_148])) {
                        this[_148].push(_146);
                    } else {
                        this[_148] = _146;
                    }
                }
            }
            var _14a = _141(_146, "dojoAttachEvent");
            if (_14a) {
                var _14b,_14c = _14a.split(/\s*,\s*/);
                var trim = dojo.trim;
                while (_14b = _14c.shift()) {
                    if (_14b) {
                        var _14e = null;
                        if (_14b.indexOf(":") != -1) {
                            var _14f = _14b.split(":");
                            _14b = trim(_14f[0]);
                            _14e = trim(_14f[1]);
                        } else {
                            _14b = trim(_14b);
                        }
                        if (!_14e) {
                            _14e = _14b;
                        }
                        this.connect(_146, _14b, _14e);
                    }
                }
            }
            var role = _141(_146, "waiRole");
            if (role) {
                dijit.setWaiRole(_146, role);
            }
            var _151 = _141(_146, "waiState");
            if (_151) {
                dojo.forEach(_151.split(/\s*,\s*/), function(_152) {
                    if (_152.indexOf("-") != -1) {
                        var pair = _152.split("-");
                        dijit.setWaiState(_146, pair[0], pair[1]);
                    }
                });
            }
        }
    }});
    dijit._Templated._templateCache = {};
    dijit._Templated.getCachedTemplate = function(_154, _155, _156) {
        var _157 = dijit._Templated._templateCache;
        var key = _155 || _154;
        var _159 = _157[key];
        if (_159) {
            return _159;
        }
        if (!_155) {
            _155 = dijit._Templated._sanitizeTemplateString(dojo._getText(_154));
        }
        _155 = dojo.string.trim(_155);
        if (_155.match(/\$\{([^\}]+)\}/g) || _156) {
            return (_157[key] = _155);
        } else {
            return (_157[key] = dijit._Templated._createNodesFromText(_155)[0]);
        }
    };
    dijit._Templated._sanitizeTemplateString = function(_15a) {
        if (_15a) {
            _15a = _15a.replace(/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im, "");
            var _15b = _15a.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);
            if (_15b) {
                _15a = _15b[1];
            }
        } else {
            _15a = "";
        }
        return _15a;
    };
    if (dojo.isIE) {
        dojo.addOnUnload(function() {
            var _15c = dijit._Templated._templateCache;
            for (var key in _15c) {
                var _15e = _15c[key];
                if (!isNaN(_15e.nodeType)) {
                    dojo._destroyElement(_15e);
                }
                delete _15c[key];
            }
        });
    }
    (function() {
        var _15f = {cell:{re:/^<t[dh][\s\r\n>]/i,pre:"<table><tbody><tr>",post:"</tr></tbody></table>"},row:{re:/^<tr[\s\r\n>]/i,pre:"<table><tbody>",post:"</tbody></table>"},section:{re:/^<(thead|tbody|tfoot)[\s\r\n>]/i,pre:"<table>",post:"</table>"}};
        var tn;
        dijit._Templated._createNodesFromText = function(text) {
            if (!tn) {
                tn = dojo.doc.createElement("div");
                tn.style.display = "none";
                dojo.body().appendChild(tn);
            }
            var _162 = "none";
            var _163 = text.replace(/^\s+/, "");
            for (var type in _15f) {
                var map = _15f[type];
                if (map.re.test(_163)) {
                    _162 = type;
                    text = map.pre + text + map.post;
                    break;
                }
            }
            tn.innerHTML = text;
            if (tn.normalize) {
                tn.normalize();
            }
            var tag = {cell:"tr",row:"tbody",section:"table"}[_162];
            var _167 = (typeof tag != "undefined") ? tn.getElementsByTagName(tag)[0] : tn;
            var _168 = [];
            while (_167.firstChild) {
                _168.push(_167.removeChild(_167.firstChild));
            }
            tn.innerHTML = "";
            return _168;
        };
    })();
    dojo.extend(dijit._Widget, {dojoAttachEvent:"",dojoAttachPoint:"",waiRole:"",waiState:""});
}
if (!dojo._hasResource["dijit._Container"]) {
    dojo._hasResource["dijit._Container"] = true;
    dojo.provide("dijit._Container");
    dojo.declare("dijit._Contained", null, {getParent:function() {
        for (var p = this.domNode.parentNode; p; p = p.parentNode) {
            var id = p.getAttribute && p.getAttribute("widgetId");
            if (id) {
                var _16b = dijit.byId(id);
                return _16b.isContainer ? _16b : null;
            }
        }
        return null;
    },_getSibling:function(_16c) {
        var node = this.domNode;
        do{
            node = node[_16c + "Sibling"];
        } while (node && node.nodeType != 1);
        if (!node) {
            return null;
        }
        var id = node.getAttribute("widgetId");
        return dijit.byId(id);
    },getPreviousSibling:function() {
        return this._getSibling("previous");
    },getNextSibling:function() {
        return this._getSibling("next");
    }});
    dojo.declare("dijit._Container", null, {isContainer:true,addChild:function(_16f, _170) {
        if (_170 === undefined) {
            _170 = "last";
        }
        var _171 = this.containerNode || this.domNode;
        if (_170 && typeof _170 == "number") {
            var _172 = dojo.query("> [widgetid]", _171);
            if (_172 && _172.length >= _170) {
                _171 = _172[_170 - 1];
                _170 = "after";
            }
        }
        dojo.place(_16f.domNode, _171, _170);
        if (this._started && !_16f._started) {
            _16f.startup();
        }
    },removeChild:function(_173) {
        var node = _173.domNode;
        node.parentNode.removeChild(node);
    },_nextElement:function(node) {
        do{
            node = node.nextSibling;
        } while (node && node.nodeType != 1);
        return node;
    },_firstElement:function(node) {
        node = node.firstChild;
        if (node && node.nodeType != 1) {
            node = this._nextElement(node);
        }
        return node;
    },getChildren:function() {
        return dojo.query("> [widgetId]", this.containerNode || this.domNode).map(dijit.byNode);
    },hasChildren:function() {
        var cn = this.containerNode || this.domNode;
        return !!this._firstElement(cn);
    },_getSiblingOfChild:function(_178, dir) {
        var node = _178.domNode;
        var _17b = (dir > 0 ? "nextSibling" : "previousSibling");
        do{
            node = node[_17b];
        } while (node && (node.nodeType != 1 || !dijit.byNode(node)));
        return node ? dijit.byNode(node) : null;
    }});
    dojo.declare("dijit._KeyNavContainer", [dijit._Container], {_keyNavCodes:{},connectKeyNavHandlers:function(_17c, _17d) {
        var _17e = this._keyNavCodes = {};
        var prev = dojo.hitch(this, this.focusPrev);
        var next = dojo.hitch(this, this.focusNext);
        dojo.forEach(_17c, function(code) {
            _17e[code] = prev;
        });
        dojo.forEach(_17d, function(code) {
            _17e[code] = next;
        });
        this.connect(this.domNode, "onkeypress", "_onContainerKeypress");
        if (dojo.isIE) {
            this.connect(this.domNode, "onactivate", "_onContainerFocus");
            this.connect(this.domNode, "ondeactivate", "_onContainerBlur");
        } else {
            this.connect(this.domNode, "onfocus", "_onContainerFocus");
            this.connect(this.domNode, "onblur", "_onContainerBlur");
        }
    },startupKeyNavChildren:function() {
        dojo.forEach(this.getChildren(), dojo.hitch(this, "_setTabIndexMinusOne"));
    },addChild:function(_183, _184) {
        dijit._KeyNavContainer.superclass.addChild.apply(this, arguments);
        this._setTabIndexMinusOne(_183);
    },focus:function() {
        this.focusFirstChild();
    },focusFirstChild:function() {
        this.focusChild(this._getFirstFocusableChild());
    },focusNext:function() {
        if (this.focusedChild && this.focusedChild.hasNextFocalNode && this.focusedChild.hasNextFocalNode()) {
            this.focusedChild.focusNext();
            return;
        }
        var _185 = this._getNextFocusableChild(this.focusedChild, 1);
        if (_185.getFocalNodes) {
            this.focusChild(_185, _185.getFocalNodes()[0]);
        } else {
            this.focusChild(_185);
        }
    },focusPrev:function() {
        if (this.focusedChild && this.focusedChild.hasPrevFocalNode && this.focusedChild.hasPrevFocalNode()) {
            this.focusedChild.focusPrev();
            return;
        }
        var _186 = this._getNextFocusableChild(this.focusedChild, -1);
        if (_186.getFocalNodes) {
            var _187 = _186.getFocalNodes();
            this.focusChild(_186, _187[_187.length - 1]);
        } else {
            this.focusChild(_186);
        }
    },focusChild:function(_188, node) {
        if (_188) {
            if (this.focusedChild && _188 !== this.focusedChild) {
                this._onChildBlur(this.focusedChild);
            }
            this.focusedChild = _188;
            if (node && _188.focusFocalNode) {
                _188.focusFocalNode(node);
            } else {
                _188.focus();
            }
        }
    },_setTabIndexMinusOne:function(_18a) {
        if (_18a.getFocalNodes) {
            dojo.forEach(_18a.getFocalNodes(), function(node) {
                node.setAttribute("tabIndex", -1);
            });
        } else {
            (_18a.focusNode || _18a.domNode).setAttribute("tabIndex", -1);
        }
    },_onContainerFocus:function(evt) {
        this.domNode.setAttribute("tabIndex", -1);
        if (evt.target === this.domNode) {
            this.focusFirstChild();
        } else {
            var _18d = dijit.getEnclosingWidget(evt.target);
            if (_18d && _18d.isFocusable()) {
                this.focusedChild = _18d;
            }
        }
    },_onContainerBlur:function(evt) {
        if (this.tabIndex) {
            this.domNode.setAttribute("tabIndex", this.tabIndex);
        }
    },_onContainerKeypress:function(evt) {
        if (evt.ctrlKey || evt.altKey) {
            return;
        }
        var func = this._keyNavCodes[evt.keyCode];
        if (func) {
            func();
            dojo.stopEvent(evt);
        }
    },_onChildBlur:function(_191) {
    },_getFirstFocusableChild:function() {
        return this._getNextFocusableChild(null, 1);
    },_getNextFocusableChild:function(_192, dir) {
        if (_192) {
            _192 = this._getSiblingOfChild(_192, dir);
        }
        var _194 = this.getChildren();
        for (var i = 0; i < _194.length; i++) {
            if (!_192) {
                _192 = _194[(dir > 0) ? 0 : (_194.length - 1)];
            }
            if (_192.isFocusable()) {
                return _192;
            }
            _192 = this._getSiblingOfChild(_192, dir);
        }
    }});
}
if (!dojo._hasResource["dijit.layout._LayoutWidget"]) {
    dojo._hasResource["dijit.layout._LayoutWidget"] = true;
    dojo.provide("dijit.layout._LayoutWidget");
    dojo.declare("dijit.layout._LayoutWidget", [dijit._Widget,dijit._Container,dijit._Contained], {isLayoutContainer:true,postCreate:function() {
        dojo.addClass(this.domNode, "dijitContainer");
    },startup:function() {
        if (this._started) {
            return;
        }
        this._started = true;
        if (this.getChildren) {
            dojo.forEach(this.getChildren(), function(_196) {
                _196.startup();
            });
        }
        if (!this.getParent || !this.getParent()) {
            this.resize();
            this.connect(window, "onresize", function() {
                this.resize();
            });
        }
    },resize:function(args) {
        var node = this.domNode;
        if (args) {
            dojo.marginBox(node, args);
            if (args.t) {
                node.style.top = args.t + "px";
            }
            if (args.l) {
                node.style.left = args.l + "px";
            }
        }
        var mb = dojo.mixin(dojo.marginBox(node), args || {});
        this._contentBox = dijit.layout.marginBox2contentBox(node, mb);
        this.layout();
    },layout:function() {
    }});
    dijit.layout.marginBox2contentBox = function(node, mb) {
        var cs = dojo.getComputedStyle(node);
        var me = dojo._getMarginExtents(node, cs);
        var pb = dojo._getPadBorderExtents(node, cs);
        return {l:dojo._toPixelValue(node, cs.paddingLeft),t:dojo._toPixelValue(node, cs.paddingTop),w:mb.w - (me.w + pb.w),h:mb.h - (me.h + pb.h)};
    };
    (function() {
        var _19f = function(word) {
            return word.substring(0, 1).toUpperCase() + word.substring(1);
        };
        var size = function(_1a2, dim) {
            _1a2.resize ? _1a2.resize(dim) : dojo.marginBox(_1a2.domNode, dim);
            dojo.mixin(_1a2, dojo.marginBox(_1a2.domNode));
            dojo.mixin(_1a2, dim);
        };
        dijit.layout.layoutChildren = function(_1a4, dim, _1a6) {
            dim = dojo.mixin({}, dim);
            dojo.addClass(_1a4, "dijitLayoutContainer");
            _1a6 = dojo.filter(_1a6, function(item) {
                return item.layoutAlign != "client";
            }).concat(dojo.filter(_1a6, function(item) {
                return item.layoutAlign == "client";
            }));
            dojo.forEach(_1a6, function(_1a9) {
                var elm = _1a9.domNode,pos = _1a9.layoutAlign;
                var _1ac = elm.style;
                _1ac.left = dim.l + "px";
                _1ac.top = dim.t + "px";
                _1ac.bottom = _1ac.right = "auto";
                dojo.addClass(elm, "dijitAlign" + _19f(pos));
                if (pos == "top" || pos == "bottom") {
                    size(_1a9, {w:dim.w});
                    dim.h -= _1a9.h;
                    if (pos == "top") {
                        dim.t += _1a9.h;
                    } else {
                        _1ac.top = dim.t + dim.h + "px";
                    }
                } else {
                    if (pos == "left" || pos == "right") {
                        size(_1a9, {h:dim.h});
                        dim.w -= _1a9.w;
                        if (pos == "left") {
                            dim.l += _1a9.w;
                        } else {
                            _1ac.left = dim.l + dim.w + "px";
                        }
                    } else {
                        if (pos == "client") {
                            size(_1a9, dim);
                        }
                    }
                }
            });
        };
    })();
}
if (!dojo._hasResource["dijit.form._FormWidget"]) {
    dojo._hasResource["dijit.form._FormWidget"] = true;
    dojo.provide("dijit.form._FormWidget");
    dojo.declare("dijit.form._FormWidget", [dijit._Widget,dijit._Templated], {baseClass:"",value:"",name:"",id:"",alt:"",type:"text",tabIndex:"0",disabled:false,intermediateChanges:false,attributeMap:dojo.mixin(dojo.clone(dijit._Widget.prototype.attributeMap), {id:"focusNode",tabIndex:"focusNode",alt:"focusNode"}),setDisabled:function(_1ad) {
        this.domNode.disabled = this.disabled = _1ad;
        if (this.focusNode) {
            this.focusNode.disabled = _1ad;
        }
        if (_1ad) {
            this._hovering = false;
            this._active = false;
        }
        dijit.setWaiState(this.focusNode || this.domNode, "disabled", _1ad);
        this._setStateClass();
    },_onMouse:function(_1ae) {
        var _1af = _1ae.target;
        if (_1af && _1af.getAttribute) {
            this.stateModifier = _1af.getAttribute("stateModifier") || "";
        }
        if (!this.disabled) {
            switch (_1ae.type) {case "mouseenter":case "mouseover":this._hovering = true;break;case "mouseout":case "mouseleave":this._hovering = false;break;case "mousedown":this._active = true;var self = this;var _1b1 = this.connect(dojo.body(), "onmouseup", function() {
                self._active = false;
                self._setStateClass();
                self.disconnect(_1b1);
            });break;}
            this._setStateClass();
        }
    },isFocusable:function() {
        return !this.disabled && (dojo.style(this.domNode, "display") != "none");
    },focus:function() {
        dijit.focus(this.focusNode);
    },_setStateClass:function() {
        if (!("staticClass" in this)) {
            this.staticClass = (this.stateNode || this.domNode).className;
        }
        var _1b2 = [this.baseClass];
        function multiply(_1b3) {
            _1b2 = _1b2.concat(dojo.map(_1b2, function(c) {
                return c + _1b3;
            }));
        }
        ;
        if (this.checked) {
            multiply("Checked");
        }
        if (this.state) {
            multiply(this.state);
        }
        if (this.selected) {
            multiply("Selected");
        }
        if (this.disabled) {
            multiply("Disabled");
        } else {
            if (this._active) {
                multiply(this.stateModifier + "Active");
            } else {
                if (this._focused) {
                    multiply("Focused");
                }
                if ((this.stateModifier || !this._focused) && this._hovering) {
                    multiply(this.stateModifier + "Hover");
                }
            }
        }
        (this.stateNode || this.domNode).className = this.staticClass + " " + _1b2.join(" ");
    },onChange:function(_1b5) {
    },postCreate:function() {
        this.setValue(this.value, null);
        this.setDisabled(this.disabled);
        this._setStateClass();
    },setValue:function(_1b6, _1b7) {
        this._lastValue = _1b6;
        dijit.setWaiState(this.focusNode || this.domNode, "valuenow", this.forWaiValuenow());
        if (_1b7 === undefined) {
            _1b7 = true;
        }
        if (this._lastValueReported == undefined && _1b7 === null) {
            this._lastValueReported = _1b6;
        }
        if ((this.intermediateChanges || _1b7) && ((_1b6 && _1b6.toString) ? _1b6.toString() : _1b6) !== ((this._lastValueReported && this._lastValueReported.toString) ? this._lastValueReported.toString() : this._lastValueReported)) {
            this._lastValueReported = _1b6;
            this.onChange(_1b6);
        }
    },getValue:function() {
        return this._lastValue;
    },undo:function() {
        this.setValue(this._lastValueReported, false);
    },_onKeyPress:function(e) {
        if (e.keyCode == dojo.keys.ESCAPE && !e.shiftKey && !e.ctrlKey && !e.altKey) {
            var v = this.getValue();
            var lv = this._lastValueReported;
            if ((typeof lv != "undefined") && ((v !== null && v.toString) ? v.toString() : null) !== lv.toString()) {
                this.undo();
                dojo.stopEvent(e);
                return false;
            }
        }
        return true;
    },forWaiValuenow:function() {
        return this.getValue();
    }});
}
if (!dojo._hasResource["dijit.dijit"]) {
    dojo._hasResource["dijit.dijit"] = true;
    dojo.provide("dijit.dijit");
}
