﻿//////////////////////////////////////////////////////////////
//  Framework utilities                                     //
//  Dejan Božič IT s.p.                                     //
//////////////////////////////////////////////////////////////
_Utils = function() 
{
};
var _Utils_windowHandler = null;
_Utils.prototype =
{
    /// <summary>
    /// Returns scrollbar width in pixel.
    /// </summary>
    get_scrollbarWidth: function() {
        // Scrollbalken im Body ausschalten
        document.body.style.overflow = 'hidden';
        var width = document.body.clientWidth;

        // Scrollbalken
        document.body.style.overflow = 'scroll';
        width -= document.body.clientWidth;

        // Der IE im Standardmode
        if (!width) width = document.body.offsetWidth - document.body.clientWidth;

        // ursprüngliche Einstellungen
        document.body.style.overflow = '';

        return width;
    },
    /// <summary>
    /// Checks wether value is a number.
    /// </summary>
    /// <param name="name">Value.</param>
    IsNumeric: function(val) {
        if (!(val) || val == "") return false;

        var ValidChars = "0123456789.";
        var Char;

        for (i = 0; i < val.length && IsNumber == true; i++) {
            Char = val.charAt(i);
            if (ValidChars.indexOf(Char) == -1) {
                return false;
            }
        }
        return true;
    },
    /// <summary>
    /// Gets event target element.
    /// </summary>
    /// <param name="name">DOM event.</param>
    getEventTarget: function(evt) {
        var targ = (evt.target) ? evt.target : evt.srcElement;

        if (targ != null) {
            if (targ.nodeType == 3) targ = targ.parentNode;
        }

        return targ;
    },
    doPostback: function(target, arguments) {
        __doPostBack(target, arguments);
    },
    /// <summary>
    /// Aligns the element to the center of the screen.
    /// </summary>
    /// <param name="el">Elemenet</param>
    centerElement: function(el) {
        var _viewPort = { width: $(window).width(), height: $(window).height() }; //document.viewport.getDimensions();
        var _viewPortScroll = { top: $(document).scrollTop(), left: $(document).scrollLeft() }; //document.viewport.getScrollOffsets();
        var _elBounds = Sys.UI.DomElement.getBounds(el);

        // Align window
        el.style.left = (((_viewPort.width / 2) - (_elBounds.width / 2)) + _viewPortScroll.left) + "px";
        el.style.top = (((_viewPort.height / 2) - (_elBounds.height / 2)) + _viewPortScroll.top) + "px";
    },
    /// <summary>
    /// Check if a string is a number.
    /// </summary>
    /// <param name="sText">Text</param>
    isInt: function(sText) {
        var ValidChars = "0123456789";
        for (i = 0; i < sText.length; i++) {
            if (ValidChars.indexOf(sText.charAt(i)) == -1) {
                return false;
            }
        }
        return true;
    },
    /// <summary>
    /// Check if a string is a valid DOM dimension.
    /// </summary>
    /// <param name="sText">Text</param>
    isDimension: function(sText) {
        var ValidChars = "0123456789%px";
        for (i = 0; i < sText.length; i++) {
            if (ValidChars.indexOf(sText.charAt(i)) == -1) {
                return false;
            }
        }
        return true;
    },
    /// <summary>
    /// Add tooltip message to element.
    /// </summary>
    /// <param name="el">Element.</param>
    /// <param name="tooltip">Tooltip message.</param>
    addToolTip: function(el, tooltip) {
        el.alt = tooltip;
        el.title = tooltip;
    },
    /// <summary>
    /// HTML encodes the given string.
    /// </summary>
    /// <param name="text">Text to encode.</param>
    htmlEncode: function(text) {
        var div = document.createElement('div');
        var text = document.createTextNode(text);
        div.appendChild(text);
        return div.innerHTML;
    },
    getScrollOffset: function(element, recursive) {
        if (!(element)) {
            return;
        }

        var left = element.scrollLeft;
        var top = element.scrollTop;

        if (recursive) {
            var parent = element.parentNode;

            while (parent != null && parent.scrollLeft != null) {
                left += parent.scrollLeft;
                top += parent.scrollTop;

                if (parent == document.body && (left != 0 && top != 0)) break;

                parent = parent.parentNode;
            }
        }
        return { x: left, y: top };
    },
    requestParam: function(ji) {
        hu = window.location.search.substring(1);
        gy = hu.split("&");
        for (i = 0; i < gy.length; i++) {
            ft = gy[i].split("=");
            if (ft[0] == ji) return ft[1];
        }
    },
    addPoints: function(p1, p2) {
        return { x: p1.x + p2.x, y: p1.y + p2.y };
    },
    subtractPoints: function(p1, p2) {
        return { x: p1.x - p2.x, y: p1.y - p2.y };
    },
    overlaps: function(r1, r2) {
        return r1.x < (r2.x + r2.width)
        && r2.x < (r1.x + r1.width)
        && r1.y < (r2.y + r2.height)
        && r2.y < (r1.y + r1.height);
    },
    isHit: function(ev, el) {
        if (ev == null || el == null) return false;
        el = Sys.UI.DomElement.getBounds(el);

        // Substract docuemtn scroll
        var scroll = this.getScrollOffset(document.body, true);
        ev = { x: (ev.clientX + scroll.x), y: (ev.clientY + scroll.y), width: 1, height: 1 };

        return Utils.overlaps(ev, el);
    },
    /// <summary>
    /// Disables the display.
    /// </summary>
    DisableDisplay: function(_index, _blockerCssClass, targetEl) {
        var _blocker = $get("DisplayBlocker");
        var _viewPort = { width: $(window).width(), height: $(window).height() };
        var _viewPortScroll = { left: $(window).scrollLeft(), top: $(window).scrollTop() };
        _Utils_windowHandler = Function.createDelegate(this, this._DisableDisplay_Window);

        if (!_blocker) {
            _blocker = document.createElement("div");
            _blocker.id = "DisplayBlocker";
            if (_blockerCssClass && _blockerCssClass != "") Sys.UI.DomElement.addCssClass(_blocker, _blockerCssClass);
            else Sys.UI.DomElement.addCssClass(_blocker, "DisplayBlocker");
            _blocker.style.position = "absolute";
            _blocker.style.top = "0px";
            _blocker.style.left = "0px";
            if (_index && _index > 0) _blocker.style.zIndex = _index;
            else _blocker.style.zIndex = 999;

            if (targetEl) {
                targetEl.appendChild(_blocker);
            } else {
                document.body.appendChild(_blocker);
            }
        }
        else {
            if (_blockerCssClass) Sys.UI.DomElement.addCssClass(_blocker, _blockerCssClass);
            else Sys.UI.DomElement.addCssClass(_blocker, "DisplayBlocker");
            _blocker.style.display = "";
            if (_index) _blocker.style.zIndex = _index;
            else _blocker.style.zIndex = 999;
        }

        // The maximum block size is the entire document
        _blocker.style.width = $(document).width() + "px";
        _blocker.style.height = $(document).height() + "px";

        if (!_Utils_windowHandler) $addHandler(window, "resize", _Utils_windowHandler);
        document.displayDisabled = true;
    },
    _DisableDisplay_Window: function() {
        this.DisableDisplay();
    },
    /// <summary>
    /// Enables the display.
    /// </summary>
    EnableDisplay: function(_remove) {
        if (!(document.displayDisabled)) {
            return;
        }

        var _blocker = $get("DisplayBlocker");

        if (_blocker) {
            if (_remove) {
                if (!_remove) {
                    document.body.removeChild(_blocker);
                    return;
                }
            }
            _blocker.style.display = "none";
        }

        try {
            $removeHandler(window, "resize", _Utils_windowHandler);
        } catch (ex) { }
        document.displayDisabled = null;
    },
    Align: function(element, align) {
        var _viewPort = { width: $(window).width(), height: $(window).height() };
        var _viewPortScroll = { top: $(document).scrollTop(), left: $(document).scrollLeft() };
        var _windowBounds = Sys.UI.DomElement.getBounds(element);
        switch (align) {
            case 0: // Center
                element.style.left = (((_viewPort.width / 2) - (_windowBounds.width / 2)) + _viewPortScroll.left) + "px";
                element.style.top = (((_viewPort.height / 2) - (_windowBounds.height / 2)) + _viewPortScroll.top) + "px";
                break;
            case 1: // TopLeft
                element.style.left = "0px";
                element.style.top = "0px";
                break;
            case 2: // TopRight
                element.style.left = (_viewPort.width - _windowBounds.width) + "px";
                element.style.top = "0px";
                break;
            case 8: // BottomCenter
                element.style.left = element.style.left = (((_viewPort.width / 2) - (_windowBounds.width / 2)) + _viewPortScroll.left) + "px";
                element.style.top = "0px";
                break;
            case 3: // CenterLeft
                element.style.left = "0px";
                element.style.top = (((_viewPort.height / 2) - (_windowBounds.height / 2)) + _viewPortScroll.top) + "px";
                break;
            case 4: // CenterRight
                element.style.left = (_viewPort.width - _windowBounds.width) + "px";
                element.style.top = (((_viewPort.height / 2) - (_windowBounds.height / 2)) + _viewPortScroll.top) + "px";
                break;
            case 5: // BottomLeft
                element.style.left = "0px";
                element.style.top = (_viewPort.height - _windowBounds.height) + "px";
                break;
            case 6: // BottomRight
                element.style.left = (_viewPort.width - _windowBounds.width) + "px";
                element.style.top = (_viewPort.height - _windowBounds.height) + "px";
                break;
        }
    },
    setOpacity: function(el, op) {
        el.opacity = (op / 100);
        el.MozOpacity = (op / 100);
        el.KhtmlOpacity = (op / 100);
        el.filter = "alpha(opacity=" + op + ")";
    },
    isImageLoaded: function(img) {
        if (!img.complete) return false;
        if (typeof img.naturalWidth != "undefined" && img.naturalWidth == 0) return false;
        return true;
    }
}
var Utils = new _Utils();

//////////////////////////////////////////////////////////////
//  Cookie helper class                                     //
//  Dejan Božič IT s.p.                                     //
//////////////////////////////////////////////////////////////
_Cookie = function(name) 
{
    this.Name = "";
    this.Path = "/";
    this.ExpireDays = 0;
    this.Value = null;
    this.Values = [];
    
    // Get cookie if name is defined in constructor
    if (name)
    {
        this.Name = name;
        this.Get();
    }
};
_Cookie.prototype =
{
    /// <summary>
    /// Gets cookie.
    /// </summary>
    /// <param name="name">Cookie name.</param>
    Get: function(name) {
        // Create new cookie
        var _getCookie = new _Cookie();
        var nameEQ;

        // Get default cookie name
        if (name) {
            _getCookie.Name = name;
            nameEQ = name + "=";
        }
        else {
            _getCookie.Name = this.Name;
            nameEQ = this.Name + "=";
        }

        // Get cookie
        var ca = document.cookie.split(';');

        // Extract cookie value
        for (var i = 0; i < ca.length; i++) {
            var c = ca[i];
            while (c.charAt(0) == ' ') c = c.substring(1, c.length);
            if (c.indexOf(nameEQ) == 0) {
                _getCookie.Value = c.substring(nameEQ.length, c.length);
            }
        }

        // Cookie not found
        if (_getCookie.Value == null) {
            return _getCookie;
        }

        // Split cookie value into key value pairs
        var _values = _getCookie.Value.split("&");

        // Create values collection
        for (var i = 0; i < _values.length; i++) {
            var _val = _values[i].split("=");
            _getCookie.Values.push(new _CookieValue(_val[0], _val[1]));
        }

        // Return cookie
        return _getCookie;
    },
    /// <summary>
    /// Set cookie.
    /// </summary>
    /// <param name="name">Cookie name.</param>
    /// <param name="value">Cookie value.</param>
    Set: function(name, value) {
        // Create new cookie
        var _setCookie = new _Cookie();

        // Default cookie name
        if (!(name)) {
            name = this.Name;
        }

        // Default cookie value
        if (!(value)) {
            value = this.Value;
        }

        // Set expiration date if defined
        var expires = "";
        if (this.ExpireDays > 0) {
            var date = new Date();
            date.setTime(date.getTime() + (this.ExpireDays * 24 * 60 * 60 * 1000));

            expires = "; expires=" + date.toGMTString();
        }

        // Write cookie to browser
        document.cookie = name + "=" + value + expires + "; path=" + this.Path;
    },
    /// <summary>
    /// Set cookie.
    /// </summary>
    /// <param name="name">Cookie name.</param>
    Delete: function(name) {
        // Default cookie name
        if (!(name)) {
            name = this.Name;
        }

        // Delete cookie
        var _deleteCookie = new _Cookie();
        _deleteCookie.Name = name;
        _deleteCookie.ExpireDays = -1;
        _deleteCookie.Set();
    },
    /// <summary>
    /// Gets cookie key value.
    /// </summary>
    /// <param name="name">Key name.</param>
    GetKey: function(key) {
        for (var i = 0; i < this.Values.length; i++) {
            if (this.Values[i].Key == key) {
                return this.Values[i].Value;
            }
        }

        // Key not found
        return null;
    },
    /// <summary>
    /// Adds key value pair to cookies values collection.
    /// </summary>
    /// <param name="name">Key.</param>
    /// <param name="name">Value.</param>
    AddKey: function(key, value) {
        this.Values.push(new _CookieValue(key, value));

        // Reset cookie value
        this.Value = "";

        // Update Cookie value
        for (var i = 0; i < this.Values.length; i++) {
            if (i > 0) {
                this.Value += "&";
            }

            this.Value += this.Values[i].Key + "=" + this.Values[i].Value;
        }
    },
    /// <summary>
    /// Removes key value pair from cookies values collection.
    /// </summary>
    /// <param name="name">Key.</param>
    RemoveKey: function(key) {
        // Update Cookie value
        for (var i = 0; i < this.Values.length; i++) {
            if (this.Values[i].Key == key) {
                this.Values.remove(i);
                break;
            }
        }

        // Reset cookie value
        this.Value = "";

        // Update Cookie value
        for (var i = 0; i < this.Values.length; i++) {
            if (i > 0) {
                this.Value += "&";
            }

            this.Value += this.Values[i].Key + "=" + this.Values[i].Value;
        }
    }
}
_CookieValue = function(key, value) 
{
    this.Key = key;
    this.Value = value;
}
var Cookie = new _Cookie();

//////////////////////////////////////////////////////////////
//  Array extender class                                    //
//  Array Remove - By John Resig (MIT Licensed)             //
//////////////////////////////////////////////////////////////
Array.prototype.remove = function(from, to) {
    if (!(to)) to = from;
    var rest = this.slice((to || from) + 1 || this.length);
    this.length = from < 0 ? this.length + from : from;
    return this.push.apply(this, rest);
};

positionOffset = function(element) {
    var valueT = 0, valueL = 0;
    do {
        valueT += element.offsetTop || 0;
        valueL += element.offsetLeft || 0;
        element = element.offsetParent;
        if (element) {
            if (element.tagName == 'BODY') break;
            var p = element.style.position;
            if (p == 'relative' || p == 'absolute') break;
        }
    } while (element);
    var result = [valueL, valueT];
    result.left = valueL;
    result.top = valueT;
    return result;
}
absolutePosition = function(element) {
    var valueT = 0, valueL = 0;
    do {
        valueT += element.offsetTop || 0;
        valueL += element.offsetLeft || 0;
        element = element.offsetParent;
        if (element) {
            if (element.tagName == 'BODY') break;
        }
    } while (element);
    var result = [valueL, valueT];
    result.left = valueL;
    result.top = valueT;
    return result;
}
getOffsetParent = function(element) {
    if (element.offsetParent) return $(element.offsetParent);
    if (element == document.body) return $(element);

    while ((element = element.parentNode) && element != document.body) {
        if (element.style.position != "static") return $(element);
    }

    return $get(document.body);
    /*
    if (element.offsetParent) return $(element.offsetParent);
    if (element == document.body) return $(element);

    while ((element = element.parentNode) && element != document.body)
    if (Element.getStyle(element, 'position') != 'static')
    return $(element);

    return $(document.body);
    */
}

/// <summary>
/// Writes a debug message to the end of the documents body.
/// </summary>
function Debug(val) {
    var _debug = document.getElementById("debugBox");

    if (!_debug) {
        _debug = document.createElement("div");
        _debug.style.position = "absolute";
        _debug.style.left = "0px";
        _debug.style.top = "0px";
        _debug.id = "debugBox";
        document.body.appendChild(_debug);
    }

    var _span = document.createElement("span");
    _span.innerHTML = val + "<br>";
    _debug.appendChild(_span);
}

//////////////////////////////////////////////////////////////
//  Flash SWF object                                        //
//////////////////////////////////////////////////////////////
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;