

function yg_Browser(){


 d=document;
 this.agt=navigator.userAgent.toLowerCase();
 this.major=parseInt(navigator.appVersion);
 this.dom=(d.getElementById);
 this.ns=(d.layers);
 this.ns4up=(this.ns && this.major>=4);
 this.ns6=(this.dom&&navigator.appName=="Netscape");
 this.op=(window.opera);
 this.ie=(d.all);
 this.ie4=(d.all&&!this.dom);
 this.ie4up=(this.ie&&this.major>=4);
 this.ie5=(d.all&&this.dom);
 this.ie6=(d.nodeType);
 this.sf=(this.agt.indexOf("safari")!=-1);
 this.win=((this.agt.indexOf("win")!=-1)||(this.agt.indexOf("16bit")!=-1));
 this.winme=(this.agt.indexOf("win 9x 4.90")!=-1);
 this.xpsp2=(this.agt.indexOf("sv1")!=-1);
 this.mac=(this.agt.indexOf("mac")!=-1);
}
var oBw=new yg_Browser();


window.TMB = window.TMB || {};
TMB.namespace = function (ns) {

    if (!ns || !ns.length) {
        return null;
    }
    var _2 = ns.split(".");
    var _3 = TMB;
    for (var i = (_2[0] == "TMB") ? 1 : 0; i < _2.length; ++i) {
        _3[_2[i]] = _3[_2[i]] || {};
        _3 = _3[_2[i]];
    }
    return _3;
};
TMB.log = function (_5, _6, _7) {
    var l = TMB.widget.Logger;
    if (l && l.log) {
        return l.log(_5, _6, _7);
    } else {
        return false;
    }
};
TMB.extend = function (_9, _10) {
    var f = function () {
    };
    f.prototype = _10.prototype;
    _9.prototype = new f();
    _9.prototype.constructor = _9;
    _9.superclass = _10.prototype;
    if (_10.prototype.constructor == Object.prototype.constructor) {
        _10.prototype.constructor = _10;
    }
};
TMB.namespace("util");
TMB.namespace("widget");
TMB.namespace("example");


