
Object.FO = function (Ik, source, replace) {
    for (Ih in source) {
        if (replace == false && Ik[Ih] != null) {
            continue;
        }
        Ik[Ih] = source[Ih];
    }
    return Ik;
};
Object.FO(Function.prototype, {LZ:function () {
    var JL = [];
    for (var C = 0; C < this.arguments.length; C++) {
        JL.push(this.arguments[C]);
    }
    return JL;
}, apply:function (ch, ii) {
    var lj, x = "__fapply";
    if (typeof ch != "object") {
        ch = {};
    }
    ch[x] = this;
    var Cf = "r = o." + x + "(";
    for (var C = 0; C < ii.length; C++) {
        if (C > 0) {
            Cf += ",";
        }
        Cf += "a[" + C + "]";
    }
    Cf += ");";
    eval(Cf);
    delete ch[x];
    return lj;
}, FL:function (ch) {
    if (!window.CX) {
        window.CX = [];
        window.Fi = [];
    }
    var fo = ch.Iw;
    if (!fo) {
        CX[fo = ch.Iw = CX.length] = ch;
    }

    var fM = this;
    var Cz = fM.iZ;
    if (!Cz) {
        Fi[Cz = fM.iZ = Fi.length] = fM;
    }
    if (!ch.F1) {
        ch.F1 = [];
    }
    var H1 = ch.F1[Cz];
    if (H1) {
        return H1;
    }
    ch = null;
    fM = null;
    return CX[fo].F1[Cz] = function () {
        return Fi[Cz].apply(CX[fo], arguments);
    };
}, Fj:function (ch) {
    if (!window.CX) {
        window.CX = [];
        window.Fi = [];
    }
    var fo = ch.Iw;
    if (!fo) {
        CX[fo = ch.Iw = CX.length] = ch;
    }
    var fM = this;
    var Cz = fM.iZ;
    if (!Cz) {
        Fi[Cz = fM.iZ = Fi.length] = fM;
    }
    if (!ch.F1) {
        ch.F1 = [];
    }
    var H1 = ch.F1[Cz];
    if (H1) {
        return H1;
    }
    ch = null;
    fM = null;
    return CX[fo].F1[Cz] = function (event) {
        return Fi[Cz].apply(CX[fo], [event || window.event]);
    };
}}, false);
Object.FO(String.prototype, {l1:function () {
    return this.replace(/^\s*/, "");
}, lI:function () {
    return this.replace(/\s*$/, "");
}, mI:function () {
    return this.lI().l1();
}}, false);
Object.FO(Array.prototype, {push:function (ch) {
    this[this.length] = ch;
}, clear:function () {
    this.length = 0;
    return this;
}, shift:function () {
    if (this.length == 0) {
        return null;
    }
    var ch = this[0];
    for (var C = 0; C < this.length - 1; C++) {
        this[C] = this[C + 1];
    }
    this.length--;
    return ch;
}}, false);
Object.FO(window, {k:function () {
    var elements = new Array();
    for (var C = 0; C < arguments.length; C++) {
        var e = arguments[C];
        if (typeof e == "string") {
            e = document.getElementById(e);
        }
        if (arguments.length == 1) {
            return e;
        }
        elements.push(e);
    }
    return elements;
}, Class:{ih:function () {
    return function () {
        if (typeof this.lJ == "function") {
            this.lJ.apply(this, arguments);
        }
    };
}}}, false);
var cP = new li();
Object.FO(navigator, {HY:cP[0], Lw:cP[1]});
var cP = null;
function li() {
    var CK = navigator.userAgent;
    var fx = 0;
    var Lv = 0;
    var cP = new Array();
    if (CK.indexOf("Netscape") != -1) {
        cP[0] = "NS";
        fx = parseFloat(CK.substring(CK.indexOf("Netscape") + 9, CK.length));
        cP[1] = fx;
        return cP;
    } else {
        if (CK.indexOf("Opera") != -1) {
            cP[0] = "OP";
            fx = parseFloat(CK.substring(CK.indexOf("Opera") + 6, CK.length));
            cP[1] = fx;
            return cP;
        } else {
            if (CK.indexOf("Firefox") != -1) {
                cP[0] = "FF";
                fx = parseFloat(CK.substring(CK.indexOf("Firefox") + 8, CK.length));
                cP[1] = fx;
                return cP;
            } else {
                if (CK.indexOf("MSIE") != -1) {
                    cP[0] = "IE";
                    fx = parseFloat(CK.substring(CK.indexOf("MSIE") + 4, CK.length));
                    cP[1] = fx;
                    return cP;
                } else {
                    cP[0] = "UN";
                    cP[1] = -1;
                    return cP;
                }
            }
        }
    }
    return false;
}
function k() {
    var JX = new Array();
    var C;
    for (C = 0; C < arguments.length; C++) {
        var iw = arguments[C];
        if (typeof arguments[C] == "string") {
            iw = document.getElementById(arguments[C]);
        }
        JX.push(iw);
    }
    if (arguments.length == 1) {
        return iw;
    } else {
        return JX;
    }
}
function LU(lh) {
    return document.createElement(lh);
}
function LL(ch, jL) {
    if (ch && jL) {
        jL.appendChild(ch);
        return ch;
    } else {
        return false;
    }
}
function Ll(Io) {
    var fc, Cf = "";
    if (!Io) {
        Io = 100000;
    }
    fc = new Date();
    Cf += fc.getHours();
    Cf += fc.getMinutes();
    Cf += fc.getSeconds();
    Cf += fc.getMilliseconds();
    return Math.round(Math.random() * Io).toString() + Cf.toString();
}
function LK() {
    var C;
    var max;
    if (arguments.length == 0) {
        return false;
    }
    max = arguments[0];
    for (C = 0; C < arguments.length; C++) {
        max = Math.max(max, arguments[C]);
    }
    return max;
}
function Lk() {
    var C;
    var min;
    if (arguments.length == 0) {
        return false;
    }
    min = arguments[0];
    for (C = 0; C < arguments.length; C++) {
        min = Math.min(min, arguments[C]);
    }
    return min;
}
function Lj(CI, hX, hx) {
    if (CI.attachEvent) {
        CI.attachEvent(hX, hx);
    } else {
        if (CI.addEventListener) {
            CI.addEventListener(hX, hx, false);
        } else {
            return false;
        }
    }
}
function Lm(CI, hX, hx) {
    if (CI.lF) {
        CI.lF(hX, hx);
    } else {
        if (CI.lf) {
            CI.lf(hX, hx, true);
        } else {
            return false;
        }
    }
}
var LP = new function () {
    this.onload = navigator.cY == "IE" ? "onload" : "load";
    this.mousemove = navigator.cY == "IE" ? "onmousemove" : "mousemove";
    this.mouseover = navigator.cY == "IE" ? "onmouseover" : "mouseover";
    this.mouseout = navigator.cY == "IE" ? "onmouseout" : "mouseout";
    this.mouseup = navigator.cY == "IE" ? "onmouseup" : "mouseup";
    this.mousedown = navigator.cY == "IE" ? "onmousedown" : "mousedown";
    this.click = navigator.cY == "IE" ? "onclick" : "click";
    this.dblclick = navigator.cY == "IE" ? "ondblclick" : "dblclick";
    this.Lo = navigator.cY == "IE" ? "onmousewheel" : "DOMMouseScroll";
    this.keydown = navigator.cY == "IE" ? "onkeydown" : "keydown";
    this.keypress = navigator.cY == "IE" ? "onkeypress" : "keypress";
    this.keyup = navigator.cY == "IE" ? "onkeyup" : "keyup";
    this.mC = navigator.cY == "IE" ? "onfocusin" : "focusin";
    this.mk = navigator.cY == "IE" ? "ononfocusout" : "onfocusout";
    this.onfocus = navigator.cY == "IE" ? "ononfocus" : "onfocus";
    this.ml = navigator.cY == "IE" ? "oncontextmenu" : "contextmenu";
};
function mL(src, width, height) {
    var CN;
    if (navigator.cY == "IE" || navigator.cY == "OP") {
        CN = document.createElement("object");
        CN.setAttribute("classid", "clsid:D27CDB6E-AE6D-11CF-96B8-444553540000");
        if (width) {
            CN.setAttribute("width", width);
        }
        if (height) {
            CN.setAttribute("height", height);
        }
        CN.setAttribute("wmode", "transparent");
        document.body.appendChild(CN);
        CN.setAttribute("movie", src);
    } else {
        if (navigator.cY == "FF" || navigator.cY == "NS") {
            CN = document.createElement("embed");
            CN.setAttribute("src", src);
            CN.setAttribute("type", "application/x-shockwave-flash");
            if (width) {
                CN.setAttribute("width", width);
            }
            if (height) {
                CN.setAttribute("height", height);
            }
            CN.setAttribute("wmode", "transparent");
        } else {
            CN = null;
        }
    }
    return CN;
}
function MH() {
    if (navigator.cY == "IE") {
        Mh();
    }
}

