﻿var isOldBrowser = !window.XMLHttpRequest;

jt_DialogBox = function (isModal, option) 
{
    if (arguments.length == 0) 
    {
        return;
    }
    this.isModal = isModal;
    this.container = document.createElement("div");
    this.container.className = jt_DialogBox.className;
    this.container.dialogBox = this;
    var mainTable = document.createElement("table");
    mainTable.setAttribute("cellSpacing", "0");
    mainTable.setAttribute("cellPadding", "0");
    mainTable.setAttribute("border", "0");
    var tBodyM = document.createElement("tbody");
    var rowM = document.createElement("tr");
    var cellM = document.createElement("td");
    var titleTable = document.createElement("table");
    titleTable.setAttribute("cellSpacing", "0");
    titleTable.setAttribute("cellPadding", "0");
    titleTable.setAttribute("border", "0");
    titleTable.setAttribute("width", "100%");
    var tBodyT = document.createElement("tbody");
    var rowT = document.createElement("tr");
    var cellT = document.createElement("td");
    cellT.className = "tbLeft";
    rowT.appendChild(cellT);
    this.titleCell = document.createElement("td");
    this.titleCell.className = "Title";
    rowT.appendChild(this.titleCell);
    cellT = document.createElement("td");
    cellT.className = "tbRight";
    jt_DialogBox.initCloseIcon();
    var closeIcon = document.createElement("img");
    closeIcon.src = jt_DialogBox.closeIcon.src;
    closeIcon.setAttribute("border", "0");
    closeIcon.dialogBox = this;
    var aLink = document.createElement("A");
    aLink.setAttribute("href", "javascript:;");
    aLink.appendChild(closeIcon);
    aLink.onclick = jt_DialogBox.closeBox;
    cellT.appendChild(aLink);
    rowT.appendChild(cellT);
    tBodyT.appendChild(rowT);
    titleTable.appendChild(tBodyT);
    jt_setOpacity(titleTable, option.titleOpacity || 100);
    cellM.appendChild(titleTable);
    rowM.appendChild(cellM);
    tBodyM.appendChild(rowM);
    rowM = document.createElement("tr");
    cellM = document.createElement("td");
    cellM.className = "MainPanel";
    this.contentArea = document.createElement("div");
    this.contentArea.className = "ContentArea";
    this.contentArea.style.display = "block";
    cellM.appendChild(this.contentArea);
    rowM.appendChild(cellM);
    tBodyM.appendChild(rowM);
    if (option.okButton) 
    {   rowM = document.createElement("tr");
        cellM = document.createElement("td");
        cellM.className = "ButtonsRow";
        butt = document.createElement("button");
        var butText = document.createTextNode(option.okButtonText || "OK");
        butt.appendChild(butText);
        butt.onclick = jt_DialogBox.closeBox;
        butt.setAttribute("ok", true); // eshah
        cellM.appendChild(butt);
        rowM.appendChild(cellM);
        tBodyM.appendChild(rowM);
    }
    mainTable.appendChild(tBodyM);
    this.container.appendChild(mainTable);
    jt_BodyZ.toTop(this.container);
    Drag.init(this.titleCell, this.container, 0, null, 0);
};

/************ BEGIN: Public Methods ************/
//jt_DialogBox.imagePath = "../Dialog/";
jt_DialogBox.imagePath = "http://" + document.domain + "/Dialog/";
//alert(jt_DialogBox.imagePath+"window_close.gif");


jt_DialogBox.prototype.show = function ()
{
    this.container.style.display = "block";
    jt_BodyZ.toTop(this.container);
    if (this.isModal) 
    {
        jt_Veil.show(true);
    }
    jt_divOnScrn(this.container);
};

jt_DialogBox.prototype.hide = function (ok) 
{
    this.container.style.display = "none";
    if (this.isModal) 
    {
        jt_Veil.show(false);
    }

    if (ok) 
    {
        if (this.callOK) 
        {
            if (this.returnData) 
            {
                this.callOK(this.returnData);
            }
            else 
            {
                this.callOK();
            }
        }
    }
    else if (this.callCancel) 
    {
        this.callCancel();
    }
};

jt_DialogBox.prototype.moveTo = function (x, y) {if (x == -1) {x = Math.round((document.body.clientWidth - this.container.offsetWidth) / 2);}if (y == -1) {y = Math.round((document.body.clientHeight - this.container.offsetHeight) / 2) + document.body.scrollTop;}this.container.style.left = x + "px";this.container.style.top = y + "px";};
jt_DialogBox.prototype.setTitle = function (title) {if (jt_DialogBox.logo) {title = "<img src=\"" + jt_DialogBox.logo + "\"/> " + title;}this.titleCell.innerHTML = title;};

jt_DialogBox.prototype.setUrl = function (url, height) 
{
    if (!this._jtDialogBIF) 
    {
        this._jtDialogBIF = document.createElement("IFRAME");
        this._jtDialogBIF.setAttribute("frameBorder", "no");
        this._jtDialogBIF.style.width = "100%";
        if (height) 
        {
            this._jtDialogBIF.style.height = jt_valPx(height);
        }
        this.contentArea.parentNode.insertBefore(this._jtDialogBIF, this.contentArea);
    }
    this._jtDialogBIF.src = url;
};

jt_DialogBox.prototype.getUrl = function () {if (this._jtDialogBIF) {jt_TraceObj.show(this._jtDialogBIF);var url = this._jtDialogBIF.src;if (this._jtDialogBIF.contentWindow) {try {url = this._jtDialogBIF.contentWindow.location.href;} catch (e) {}}return url;}};
jt_DialogBox.prototype.setContent = function (htmlContent) {this.contentArea.innerHTML = htmlContent;};
jt_DialogBox.prototype.setWidth = function (width) {this.contentArea.style.width = width + "px";};
jt_DialogBox.prototype.setHeight = function (height) {this.contentArea.style.height = height + "px";};

jt_DialogBox.prototype.setMaxHeight = function (height) {this.contentArea.setAttribute("maxheight", height);};
jt_DialogBox.prototype.setCallOK = function (callOK) {this.callOK = callOK;};
jt_DialogBox.prototype.setCallCancel = function (callCancel) {this.callCancel = callCancel;};

jt_DialogBox.prototype.getContentNode = function () {return this.contentArea;};
/************ END: Public Methods ************/


/************ BEGIN: Private Methods ************/
jt_DialogBox.className = "jtDialogBox";
jt_DialogBox.closeIcon = null;
jt_DialogBox.maxDepth = 6;

jt_DialogBox.initCloseIcon = function () 
{
    if (jt_DialogBox.closeIcon == null) 
    {   
        jt_DialogBox.closeIcon = new Image;
        jt_DialogBox.closeIcon.src = jt_DialogBox.imagePath + "window_close.gif";
    }
};

jt_DialogBox.closeBox = function (e) 
{
    if (!e) 
    {
        e = window.event;
    }
    var node = e.target ? e.target : e.srcElement;
    var count = 0;
    while (node != null && count < jt_DialogBox.maxDepth) 
    {
        if (node.dialogBox) 
        {
            node.dialogBox.hide(); // old
            //node.dialogBox.hide(e.target.getAttribute("ok")); // eshah
            return false;
        }
        node = node.parentNode;
        count++;
    }
    return false;
};

// jt_
var jt_BodyZ = {toTop:function (elm) {if (!jt_BodyZ.que) {jt_BodyZ.que = document.createElement("div");document.body.appendChild(jt_BodyZ.que);}if (!elm.jt_BodyZZ) {elm.jt_BodyZZ = jt_BodyZ.nid++;jt_AddListener(elm, "mousedown", function () {jt_BodyZ.toTop(elm);if (jt_BodyZ.trace && elm != jt_Trace.tDIV) {jt_TraceObj.show(elm);}});jt_BodyZ.que.appendChild(elm);jt_BodyZ.set(elm);} else if (elm.jt_BodyZZ != jt_BodyZ.last.jt_BodyZZ) {jt_BodyZ.set(elm);}}, set:function (elm) {elm.style.zIndex = jt_BodyZ.nextZ++;jt_BodyZ.last = elm;}, nid:1, nextZ:1};
var jt_Veil = {show:function (showIt) {jt_Veil.init();toggleObjects(!showIt);if (!showIt) {jt_Veil.reqs.pop();} else if (jt_BodyZ.last) {jt_Veil.reqs.push(jt_BodyZ.last);}if (jt_Veil.reqs.length > 0) {jt_Veil.fix();jt_Veil.veil.style.zIndex = jt_Veil.reqs[jt_Veil.reqs.length - 1].style.zIndex - 1;jt_BodyZ.que.insertBefore(jt_Veil.veil, jt_Veil.reqs[jt_Veil.reqs.length - 1]);}jt_Veil.veil.style.display = jt_Veil.reqs.length == 0 ? "none" : "block";}, fix:function () {jt_Veil.veil.style.width = jt_valPx(Math.max(document.body.scrollWidth, jt_winW()));jt_Veil.veil.style.height = jt_valPx(Math.max(document.body.scrollHeight, jt_winH()));}, init:function () {if (typeof jt_Veil.veil == "undefined") {jt_Veil.reqs = [];jt_Veil.veil = document.createElement("div");for (var prop in jt_Veil.css) {jt_Veil.veil.style[prop] = jt_Veil.css[prop];}jt_Veil.veil.innerHTML = "&nbsp;";if (jt_BodyZ.que) {jt_BodyZ.que.insertBefore(jt_Veil.veil, jt_BodyZ.que.firstChild);} else {jt_BodyZ.toTop(jt_Veil.veil);}jt_AddListener(window, "resize", jt_Veil.fix);}}, css:{position:"absolute", display:"none", top:0, left:0, cursor:"not-allowed", backgroundColor:"#000000", filter:"alpha(opacity=20)", opacity:0.2}};

function jt_setOpacity(elm, opacity) {
    elm.style.opacity = opacity / 100;
    elm.style.filter = "alpha(opacity=" + opacity + ")";
}


function jt_valPx(pixels) {
    return pixels + "px";
}


function jt_moveTo(obj, x, y) {
    obj.style.left = jt_valPx(x);
    obj.style.top = jt_valPx(y);
}


function jt_Point(x, y) {
    this.x = x;
    this.y = y;
}


function jt_getOffsetXY(obj, findID, point) {
    if (point) {
        point.x = obj.offsetLeft;
        point.y = obj.offsetTop;
    } else {
        point = new jt_Point(obj.offsetLeft, obj.offsetTop);
    }
    var parent = obj.offsetParent;
    while (parent !== null) {
        if (findID && parent.id == findID) {
            break;
        }
        point.x += parent.offsetLeft;
        point.y += parent.offsetTop;
        parent = parent.offsetParent;
    }
    return point;
}


function jt_AddListener(obj, evType, fn) {
    if (obj.addEventListener) {
        obj.addEventListener(evType, fn, false);
    } else if (obj.attachEvent) {
        obj.attachEvent("on" + evType, fn);
    }
}


function jt_RemListener(obj, evType, fn) {
    if (obj.removeEventListener) {
        obj.removeEventListener(evType, fn, false);
    } else if (obj.detachEvent) {
        obj.detachEvent("on" + evType, fn);
    }
}


function jt_winW() {
    if (document.documentElement &&
        document.documentElement.clientWidth > 0) {
        return document.documentElement.clientWidth;
    } else if (window.innerWidth) {
        return window.innerWidth;
    } else {
        return document.body.clientWidth;
    }
}


function jt_winH() {
    if (window.innerHeight) {
        return window.innerHeight;
    } else if (document.documentElement &&
        document.documentElement.clientHeight > 0) {
        return document.documentElement.clientHeight;
    } else {
        return document.body.clientHeight;
    }
}


function jt_divOnScrn(divOnScrn) 
{
    var divPos = jt_getOffsetXY(divOnScrn);
    var newX = divPos.x;
    var newY = divPos.y;
    if (divPos.x + divOnScrn.offsetWidth - document.body.scrollLeft > document.body.clientWidth) {
        newX = document.body.scrollLeft + document.body.clientWidth - divOnScrn.offsetWidth;
    }
    if (divPos.x < document.body.scrollLeft) {
        newX = document.body.scrollLeft;
    }
    if (divPos.y + divOnScrn.offsetHeight - document.body.scrollTop > document.body.clientHeight) {
        newY = document.body.scrollTop + document.body.clientHeight - divOnScrn.offsetHeight;
    }
    if (divPos.y < document.body.scrollTop) {
        newY = document.body.scrollTop;
    }
    if (newX !== divPos.x || newY !== divPos.y) 
    {
        if (newY<=0) newY = divPos.y / 2; //eshah
        jt_moveTo(divOnScrn, newX, newY);
    }
}

// Drag
var Drag = {obj:null, init:function (o, oRoot, minX, maxX, minY, maxY, bSwapHorzRef, bSwapVertRef, fXMapper, fYMapper) {o.onmousedown = Drag.start;o.hmode = bSwapHorzRef ? false : true;o.vmode = bSwapVertRef ? false : true;o.root = oRoot && oRoot != null ? oRoot : o;if (o.hmode && isNaN(parseInt(o.root.style.left))) {o.root.style.left = "0px";}if (o.vmode && isNaN(parseInt(o.root.style.top))) {o.root.style.top = "0px";}if (!o.hmode && isNaN(parseInt(o.root.style.right))) {o.root.style.right = "0px";}if (!o.vmode && isNaN(parseInt(o.root.style.bottom))) {o.root.style.bottom = "0px";}o.minX = typeof minX != "undefined" ? minX : null;o.minY = typeof minY != "undefined" ? minY : null;o.maxX = typeof maxX != "undefined" ? maxX : null;o.maxY = typeof maxY != "undefined" ? maxY : null;o.xMapper = fXMapper ? fXMapper : null;o.yMapper = fYMapper ? fYMapper : null;o.root.onDragStart = new Function;o.root.onDragEnd = new Function;o.root.onDrag = new Function;}, start:function (e) {var o = Drag.obj = this;e = Drag.fixE(e);var y = parseInt(o.vmode ? o.root.style.top : o.root.style.bottom);var x = parseInt(o.hmode ? o.root.style.left : o.root.style.right);o.root.onDragStart(x, y);o.lastMouseX = e.clientX;o.lastMouseY = e.clientY;if (o.hmode) {if (o.minX != null) {o.minMouseX = e.clientX - x + o.minX;}if (o.maxX != null) {o.maxMouseX = o.minMouseX + o.maxX - o.minX;}} else {if (o.minX != null) {o.maxMouseX = - o.minX + e.clientX + x;}if (o.maxX != null) {o.minMouseX = - o.maxX + e.clientX + x;}}if (o.vmode) {if (o.minY != null) {o.minMouseY = e.clientY - y + o.minY;}if (o.maxY != null) {o.maxMouseY = o.minMouseY + o.maxY - o.minY;}} else {if (o.minY != null) {o.maxMouseY = - o.minY + e.clientY + y;}if (o.maxY != null) {o.minMouseY = - o.maxY + e.clientY + y;}}document.onmousemove = Drag.drag;document.onmouseup = Drag.end;return false;}, drag:function (e) {e = Drag.fixE(e);var o = Drag.obj;var ey = e.clientY;var ex = e.clientX;var y = parseInt(o.vmode ? o.root.style.top : o.root.style.bottom);var x = parseInt(o.hmode ? o.root.style.left : o.root.style.right);var nx, ny;if (o.minX != null) {ex = o.hmode ? Math.max(ex, o.minMouseX) : Math.min(ex, o.maxMouseX);}if (o.maxX != null) {ex = o.hmode ? Math.min(ex, o.maxMouseX) : Math.max(ex, o.minMouseX);}if (o.minY != null) {ey = o.vmode ? Math.max(ey, o.minMouseY) : Math.min(ey, o.maxMouseY);}if (o.maxY != null) {ey = o.vmode ? Math.min(ey, o.maxMouseY) : Math.max(ey, o.minMouseY);}nx = x + (ex - o.lastMouseX) * (o.hmode ? 1 : -1);ny = y + (ey - o.lastMouseY) * (o.vmode ? 1 : -1);if (o.xMapper) {nx = o.xMapper(y);} else if (o.yMapper) {ny = o.yMapper(x);}Drag.obj.root.style[o.hmode ? "left" : "right"] = nx + "px";Drag.obj.root.style[o.vmode ? "top" : "bottom"] = ny + "px";Drag.obj.lastMouseX = ex;Drag.obj.lastMouseY = ey;Drag.obj.root.onDrag(nx, ny);return false;}, end:function () {document.onmousemove = null;document.onmouseup = null;Drag.obj.root.onDragEnd(parseInt(Drag.obj.root.style[Drag.obj.hmode ? "left" : "right"]), parseInt(Drag.obj.root.style[Drag.obj.vmode ? "top" : "bottom"]));Drag.obj = null;}, fixE:function (e) {if (typeof e == "undefined") {e = window.event;}if (typeof e.layerX == "undefined") {e.layerX = e.offsetX;}if (typeof e.layerY == "undefined") {e.layerY = e.offsetY;}return e;}};

function toggleObjects(show) {
    if (show == null) {
        show = true;
    }
    if (isOldBrowser) {
        showObjects("select", show);
    }
    //$("hideOnVeil").style.visibility = show ? "visible" : "hidden"; // eshah comment
}


function showObjects(objType, show) {
    var list = document.getElementsByTagName(objType);
    for (var i = 0; i < list.length; i++) {
        list[i].style.visibility = show ? "visible" : "hidden";
    }
}

if (typeof deconcept == "undefined") {
    var deconcept = new Object;
}
if (typeof deconcept.util == "undefined") {
    deconcept.util = new Object;
}
if (typeof deconcept.SWFObjectUtil == "undefined") {
    deconcept.SWFObjectUtil = new Object;
}
deconcept.SWFObject = function (_1, id, w, h, _5, c, _7, _8, _9, _a) {if (!document.getElementById) {return;}this.DETECT_KEY = _a ? _a : "detectflash";this.skipDetect = deconcept.util.getRequestParameter(this.DETECT_KEY);this.params = new Object;this.variables = new Object;this.attributes = new Array;if (_1) {this.setAttribute("swf", _1);}if (id) {this.setAttribute("id", id);}if (w) {this.setAttribute("width", w);}if (h) {this.setAttribute("height", h);}if (_5) {this.setAttribute("version", new deconcept.PlayerVersion(_5.toString().split(".")));}this.installedVer = deconcept.SWFObjectUtil.getPlayerVersion();if (!window.opera && document.all && this.installedVer.major > 7) {deconcept.SWFObject.doPrepUnload = true;}if (c) {this.addParam("bgcolor", c);}var q = _7 ? _7 : "high";this.addParam("quality", q);this.setAttribute("useExpressInstall", false);this.setAttribute("doExpressInstall", false);var _c = _8 ? _8 : window.location;this.setAttribute("xiRedirectUrl", _c);this.setAttribute("redirectUrl", "");if (_9) {this.setAttribute("redirectUrl", _9);}};
deconcept.SWFObject.prototype = {useExpressInstall:function (_d) {this.xiSWFPath = !_d ? "expressinstall.swf" : _d;this.setAttribute("useExpressInstall", true);}, setAttribute:function (_e, _f) {this.attributes[_e] = _f;}, getAttribute:function (_10) {return this.attributes[_10];}, addParam:function (_11, _12) {this.params[_11] = _12;}, getParams:function () {return this.params;}, addVariable:function (_13, _14) {this.variables[_13] = _14;}, getVariable:function (_15) {return this.variables[_15];}, getVariables:function () {return this.variables;}, getVariablePairs:function () {var _16 = new Array;var key;var _18 = this.getVariables();for (key in _18) {_16[_16.length] = key + "=" + _18[key];}return _16;}, getSWFHTML:function () {var _19 = "";if (navigator.plugins && navigator.mimeTypes && navigator.mimeTypes.length) {if (this.getAttribute("doExpressInstall")) {this.addVariable("MMplayerType", "PlugIn");this.setAttribute("swf", this.xiSWFPath);}_19 = "<embed type=\"application/x-shockwave-flash\" src=\"" + this.getAttribute("swf") + "\" width=\"" + this.getAttribute("width") + "\" height=\"" + this.getAttribute("height") + "\" style=\"" + this.getAttribute("style") + "\"";_19 += " id=\"" + this.getAttribute("id") + "\" name=\"" + this.getAttribute("id") + "\" ";var _1a = this.getParams();for (var key in _1a) {_19 += [key] + "=\"" + _1a[key] + "\" ";}var _1c = this.getVariablePairs().join("&");if (_1c.length > 0) {_19 += "flashvars=\"" + _1c + "\"";}_19 += "/>";} else {if (this.getAttribute("doExpressInstall")) {this.addVariable("MMplayerType", "ActiveX");this.setAttribute("swf", this.xiSWFPath);}_19 = "<object id=\"" + this.getAttribute("id") + "\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\"" + this.getAttribute("width") + "\" height=\"" + this.getAttribute("height") + "\" style=\"" + this.getAttribute("style") + "\">";_19 += "<param name=\"movie\" value=\"" + this.getAttribute("swf") + "\" />";var _1d = this.getParams();for (var key in _1d) {_19 += "<param name=\"" + key + "\" value=\"" + _1d[key] + "\" />";}var _1f = this.getVariablePairs().join("&");if (_1f.length > 0) {_19 += "<param name=\"flashvars\" value=\"" + _1f + "\" />";}_19 += "</object>";}return _19;}, write:function (_20) {if (this.getAttribute("useExpressInstall")) {var _21 = new deconcept.PlayerVersion([6, 0, 65]);if (this.installedVer.versionIsValid(_21) && !this.installedVer.versionIsValid(this.getAttribute("version"))) {this.setAttribute("doExpressInstall", true);this.addVariable("MMredirectURL", escape(this.getAttribute("xiRedirectUrl")));document.title = document.title.slice(0, 47) + " - Flash Player Installation";this.addVariable("MMdoctitle", document.title);}}if (this.skipDetect || this.getAttribute("doExpressInstall") || this.installedVer.versionIsValid(this.getAttribute("version"))) {var n = typeof _20 == "string" ? document.getElementById(_20) : _20;n.innerHTML = this.getSWFHTML();return true;} else {if (this.getAttribute("redirectUrl") != "") {document.location.replace(this.getAttribute("redirectUrl"));}}return false;}};
deconcept.SWFObjectUtil.getPlayerVersion = function () {var _23 = new deconcept.PlayerVersion([0, 0, 0]);if (navigator.plugins && navigator.mimeTypes.length) {var x = navigator.plugins['Shockwave Flash'];if (x && x.description) {_23 = new deconcept.PlayerVersion(x.description.replace(/([a-zA-Z]|\s)+/, "").replace(/(\s+r|\s+b[0-9]+)/, ".").split("."));}} else {if (navigator.userAgent && navigator.userAgent.indexOf("Windows CE") >= 0) {var axo = 1;var _26 = 3;while (axo) {try {_26++;axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash." + _26);_23 = new deconcept.PlayerVersion([_26, 0, 0]);} catch (e) {axo = null;}}} else {try {var axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");} catch (e) {try {var axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");_23 = new deconcept.PlayerVersion([6, 0, 21]);axo.AllowScriptAccess = "always";} catch (e) {if (_23.major == 6) {return _23;}}try {axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash");} catch (e) {}}if (axo != null) {_23 = new deconcept.PlayerVersion(axo.GetVariable("$version").split(" ")[1].split(","));}}}return _23;};
deconcept.PlayerVersion = function (_29) {this.major = _29[0] != null ? parseInt(_29[0]) : 0;this.minor = _29[1] != null ? parseInt(_29[1]) : 0;this.rev = _29[2] != null ? parseInt(_29[2]) : 0;};
deconcept.PlayerVersion.prototype.versionIsValid = function (fv) {if (this.major < fv.major) {return false;}if (this.major > fv.major) {return true;}if (this.minor < fv.minor) {return false;}if (this.minor > fv.minor) {return true;}if (this.rev < fv.rev) {return false;}return true;};
deconcept.util = {getRequestParameter:function (_2b) {var q = document.location.search || document.location.hash;if (_2b == null) {return q;}if (q) {var _2d = q.substring(1).split("&");for (var i = 0; i < _2d.length; i++) {if (_2d[i].substring(0, _2d[i].indexOf("=")) == _2b) {return _2d[i].substring(_2d[i].indexOf("=") + 1);}}}return "";}};
deconcept.SWFObjectUtil.cleanupSWFs = function () {var _2f = document.getElementsByTagName("OBJECT");for (var i = _2f.length - 1; i >= 0; i--) {_2f[i].style.display = "none";for (var x in _2f[i]) {if (typeof _2f[i][x] == "function") {_2f[i][x] = function () {};}}}};
if (deconcept.SWFObject.doPrepUnload) {
    if (!deconcept.unloadSet) {
        deconcept.SWFObjectUtil.prepUnload = function () {__flash_unloadHandler = function () {};__flash_savedUnloadHandler = function () {};window.attachEvent("onunload", deconcept.SWFObjectUtil.cleanupSWFs);};
        window.attachEvent("onbeforeunload", deconcept.SWFObjectUtil.prepUnload);
        deconcept.unloadSet = true;
    }
}
if (!document.getElementById && document.all) {
    document.getElementById = function (id) {return document.all[id];};
}
var getQueryParamValue = deconcept.util.getRequestParameter;
var FlashObject = deconcept.SWFObject;
var SWFObject = deconcept.SWFObject;


