Advertisement
01ttouch

astiko-iraklio

Mar 23rd, 2015
251
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. (function(a,b)
  2.     {
  3.     function G(a)
  4.         {
  5.         var b=F[a]=
  6.             {
  7.         };
  8.         return p.each(a.split(s),function(a,c)
  9.             {
  10.             b[c]=!0
  11.         }
  12.         ),b
  13.     }
  14.     function J(a,c,d)
  15.         {
  16.         if(d===b&&a.nodeType===1)
  17.             {
  18.             var e="data-"+c.replace(I,"-$1").toLowerCase();
  19.             d=a.getAttribute(e);
  20.             if(typeof d=="string")
  21.                 {
  22.                 try
  23.                     {
  24.                     d=d==="true"?!0:d==="false"?!1:d==="null"?null:+d+""===d?+d:H.test(d)?p.parseJSON(d):d
  25.                 }
  26.                 catch(f)
  27.                     {
  28.                 }
  29.                 p.data(a,c,d)
  30.             }
  31.             else d=b
  32.         }
  33.         return d
  34.     }
  35.     function K(a)
  36.         {
  37.         var b;
  38.         for(b in a)
  39.             {
  40.             if(b==="data"&&p.isEmptyObject(a[b]))continue;
  41.             if(b!=="toJSON")return!1
  42.         }
  43.         return!0
  44.     }
  45.     function ba()
  46.         {
  47.         return!1
  48.     }
  49.     function bb()
  50.         {
  51.         return!0
  52.     }
  53.     function bh(a)
  54.         {
  55.         return!a||!a.parentNode||a.parentNode.nodeType===11
  56.     }
  57.     function bi(a,b)
  58.         {
  59.         do a=a[b];
  60.         while(a&&a.nodeType!==1);
  61.         return a
  62.     }
  63.     function bj(a,b,c)
  64.         {
  65.         b=b||0;
  66.         if(p.isFunction(b))return p.grep(a,function(a,d)
  67.             {
  68.             var e=!!b.call(a,d,a);
  69.             return e===c
  70.         }
  71.         );
  72.         if(b.nodeType)return p.grep(a,function(a,d)
  73.             {
  74.             return a===b===c
  75.         }
  76.         );
  77.         if(typeof b=="string")
  78.             {
  79.             var d=p.grep(a,function(a)
  80.                 {
  81.                 return a.nodeType===1
  82.             }
  83.             );
  84.             if(be.test(b))return p.filter(b,d,!c);
  85.             b=p.filter(b,d)
  86.         }
  87.         return p.grep(a,function(a,d)
  88.             {
  89.             return p.inArray(a,b)>=0===c
  90.         }
  91.         )
  92.     }
  93.     function bk(a)
  94.         {
  95.         var b=bl.split("|"),c=a.createDocumentFragment();
  96.         if(c.createElement)while(b.length)c.createElement(b.pop());
  97.         return c
  98.     }
  99.     function bC(a,b)
  100.         {
  101.         return a.getElementsByTagName(b)[0]||a.appendChild(a.ownerDocument.createElement(b))
  102.     }
  103.     function bD(a,b)
  104.         {
  105.         if(b.nodeType!==1||!p.hasData(a))return;
  106.         var c,d,e,f=p._data(a),g=p._data(b,f),h=f.events;
  107.         if(h)
  108.             {
  109.             delete g.handle,g.events=
  110.                 {
  111.             };
  112.             for(c in h)for(d=0,e=h[c].length;
  113.             d<e;
  114.             d++)p.event.add(b,c,h[c][d])
  115.         }
  116.         g.data&&(g.data=p.extend(
  117.             {
  118.         }
  119.         ,g.data))
  120.     }
  121.     function bE(a,b)
  122.         {
  123.         var c;
  124.         if(b.nodeType!==1)return;
  125.         b.clearAttributes&&b.clearAttributes(),b.mergeAttributes&&b.mergeAttributes(a),c=b.nodeName.toLowerCase(),c==="object"?(b.parentNode&&(b.outerHTML=a.outerHTML),p.support.html5Clone&&a.innerHTML&&!p.trim(b.innerHTML)&&(b.innerHTML=a.innerHTML)):c==="input"&&bv.test(a.type)?(b.defaultChecked=b.checked=a.checked,b.value!==a.value&&(b.value=a.value)):c==="option"?b.selected=a.defaultSelected:c==="input"||c==="textarea"?b.defaultValue=a.defaultValue:c==="script"&&b.text!==a.text&&(b.text=a.text),b.removeAttribute(p.expando)
  126.     }
  127.     function bF(a)
  128.         {
  129.         return typeof a.getElementsByTagName!="undefined"?a.getElementsByTagName("*"):typeof a.querySelectorAll!="undefined"?a.querySelectorAll("*"):[]
  130.     }
  131.     function bG(a)
  132.         {
  133.         bv.test(a.type)&&(a.defaultChecked=a.checked)
  134.     }
  135.     function bY(a,b)
  136.         {
  137.         if(b in a)return b;
  138.         var c=b.charAt(0).toUpperCase()+b.slice(1),d=b,e=bW.length;
  139.         while(e--)
  140.             {
  141.             b=bW[e]+c;
  142.             if(b in a)return b
  143.         }
  144.         return d
  145.     }
  146.     function bZ(a,b)
  147.         {
  148.         return a=b||a,p.css(a,"display")==="none"||!p.contains(a.ownerDocument,a)
  149.     }
  150.     function b$(a,b)
  151.         {
  152.         var c,d,e=[],f=0,g=a.length;
  153.         for(;
  154.         f<g;
  155.         f++)
  156.             {
  157.             c=a[f];
  158.             if(!c.style)continue;
  159.             e[f]=p._data(c,"olddisplay"),b?(!e[f]&&c.style.display==="none"&&(c.style.display=""),c.style.display===""&&bZ(c)&&(e[f]=p._data(c,"olddisplay",cc(c.nodeName)))):(d=bH(c,"display"),!e[f]&&d!=="none"&&p._data(c,"olddisplay",d))
  160.         }
  161.         for(f=0;
  162.         f<g;
  163.         f++)
  164.             {
  165.             c=a[f];
  166.             if(!c.style)continue;
  167.             if(!b||c.style.display==="none"||c.style.display==="")c.style.display=b?e[f]||"":"none"
  168.         }
  169.         return a
  170.     }
  171.     function b_(a,b,c)
  172.         {
  173.         var d=bP.exec(b);
  174.         return d?Math.max(0,d[1]-(c||0))+(d[2]||"px"):b
  175.     }
  176.     function ca(a,b,c,d)
  177.         {
  178.         var e=c===(d?"border":"content")?4:b==="width"?1:0,f=0;
  179.         for(;
  180.         e<4;
  181.         e+=2)c==="margin"&&(f+=p.css(a,c+bV[e],!0)),d?(c==="content"&&(f-=parseFloat(bH(a,"padding"+bV[e]))||0),c!=="margin"&&(f-=parseFloat(bH(a,"border"+bV[e]+"Width"))||0)):(f+=parseFloat(bH(a,"padding"+bV[e]))||0,c!=="padding"&&(f+=parseFloat(bH(a,"border"+bV[e]+"Width"))||0));
  182.         return f
  183.     }
  184.     function cb(a,b,c)
  185.         {
  186.         var d=b==="width"?a.offsetWidth:a.offsetHeight,e=!0,f=p.support.boxSizing&&p.css(a,"boxSizing")==="border-box";
  187.         if(d<=0||d==null)
  188.             {
  189.             d=bH(a,b);
  190.             if(d<0||d==null)d=a.style[b];
  191.             if(bQ.test(d))return d;
  192.             e=f&&(p.support.boxSizingReliable||d===a.style[b]),d=parseFloat(d)||0
  193.         }
  194.         return d+ca(a,b,c||(f?"border":"content"),e)+"px"
  195.     }
  196.     function cc(a)
  197.         {
  198.         if(bS[a])return bS[a];
  199.         var b=p("<"+a+">").appendTo(e.body),c=b.css("display");
  200.         b.remove();
  201.         if(c==="none"||c==="")
  202.             {
  203.             bI=e.body.appendChild(bI||p.extend(e.createElement("iframe"),
  204.                 {
  205.                 frameBorder:0,width:0,height:0
  206.             }
  207.             ));
  208.             if(!bJ||!bI.createElement)bJ=(bI.contentWindow||bI.contentDocument).document,bJ.write("<!doctype html><html><body>"),bJ.close();
  209.             b=bJ.body.appendChild(bJ.createElement(a)),c=bH(b,"display"),e.body.removeChild(bI)
  210.         }
  211.         return bS[a]=c,c
  212.     }
  213.     function ci(a,b,c,d)
  214.         {
  215.         var e;
  216.         if(p.isArray(b))p.each(b,function(b,e)
  217.             {
  218.             c||ce.test(a)?d(a,e):ci(a+"["+(typeof e=="object"?b:"")+"]",e,c,d)
  219.         }
  220.         );
  221.         else if(!c&&p.type(b)==="object")for(e in b)ci(a+"["+e+"]",b[e],c,d);
  222.         else d(a,b)
  223.     }
  224.     function cz(a)
  225.         {
  226.         return function(b,c)
  227.             {
  228.             typeof b!="string"&&(c=b,b="*");
  229.             var d,e,f,g=b.toLowerCase().split(s),h=0,i=g.length;
  230.             if(p.isFunction(c))for(;
  231.             h<i;
  232.             h++)d=g[h],f=/^\+/.test(d),f&&(d=d.substr(1)||"*"),e=a[d]=a[d]||[],e[f?"unshift":"push"](c)
  233.         }
  234.     }
  235.     function cA(a,c,d,e,f,g)
  236.         {
  237.         f=f||c.dataTypes[0],g=g||
  238.             {
  239.         }
  240.         ,g[f]=!0;
  241.         var h,i=a[f],j=0,k=i?i.length:0,l=a===cv;
  242.         for(;
  243.         j<k&&(l||!h);
  244.         j++)h=i[j](c,d,e),typeof h=="string"&&(!l||g[h]?h=b:(c.dataTypes.unshift(h),h=cA(a,c,d,e,h,g)));
  245.         return(l||!h)&&!g["*"]&&(h=cA(a,c,d,e,"*",g)),h
  246.     }
  247.     function cB(a,c)
  248.         {
  249.         var d,e,f=p.ajaxSettings.flatOptions||
  250.             {
  251.         };
  252.         for(d in c)c[d]!==b&&((f[d]?a:e||(e=
  253.             {
  254.         }
  255.         ))[d]=c[d]);
  256.         e&&p.extend(!0,a,e)
  257.     }
  258.     function cC(a,c,d)
  259.         {
  260.         var e,f,g,h,i=a.contents,j=a.dataTypes,k=a.responseFields;
  261.         for(f in k)f in d&&(c[k[f]]=d[f]);
  262.         while(j[0]==="*")j.shift(),e===b&&(e=a.mimeType||c.getResponseHeader("content-type"));
  263.         if(e)for(f in i)if(i[f]&&i[f].test(e))
  264.             {
  265.             j.unshift(f);
  266.             break
  267.         }
  268.         if(j[0]in d)g=j[0];
  269.         else
  270.             {
  271.             for(f in d)
  272.                 {
  273.                 if(!j[0]||a.converters[f+" "+j[0]])
  274.                     {
  275.                     g=f;
  276.                     break
  277.                 }
  278.                 h||(h=f)
  279.             }
  280.             g=g||h
  281.         }
  282.         if(g)return g!==j[0]&&j.unshift(g),d[g]
  283.     }
  284.     function cD(a,b)
  285.         {
  286.         var c,d,e,f,g=a.dataTypes.slice(),h=g[0],i=
  287.             {
  288.         }
  289.         ,j=0;
  290.         a.dataFilter&&(b=a.dataFilter(b,a.dataType));
  291.         if(g[1])for(c in a.converters)i[c.toLowerCase()]=a.converters[c];
  292.         for(;
  293.         e=g[++j];
  294.         )if(e!=="*")
  295.             {
  296.             if(h!=="*"&&h!==e)
  297.                 {
  298.                 c=i[h+" "+e]||i["* "+e];
  299.                 if(!c)for(d in i)
  300.                     {
  301.                     f=d.split(" ");
  302.                     if(f[1]===e)
  303.                         {
  304.                         c=i[h+" "+f[0]]||i["* "+f[0]];
  305.                         if(c)
  306.                             {
  307.                             c===!0?c=i[d]:i[d]!==!0&&(e=f[0],g.splice(j--,0,e));
  308.                             break
  309.                         }
  310.                     }
  311.                 }
  312.                 if(c!==!0)if(c&&a["throws"])b=c(b);
  313.                 else try
  314.                     {
  315.                     b=c(b)
  316.                 }
  317.                 catch(k)
  318.                     {
  319.                     return
  320.                         {
  321.                         state:"parsererror",error:c?k:"No conversion from "+h+" to "+e
  322.                     }
  323.                 }
  324.             }
  325.             h=e
  326.         }
  327.         return
  328.             {
  329.             state:"success",data:b
  330.         }
  331.     }
  332.     function cL()
  333.         {
  334.         try
  335.             {
  336.             return new a.XMLHttpRequest
  337.         }
  338.         catch(b)
  339.             {
  340.         }
  341.     }
  342.     function cM()
  343.         {
  344.         try
  345.             {
  346.             return new a.ActiveXObject("Microsoft.XMLHTTP")
  347.         }
  348.         catch(b)
  349.             {
  350.         }
  351.     }
  352.     function cU()
  353.         {
  354.         return setTimeout(function()
  355.             {
  356.             cN=b
  357.         }
  358.         ,0),cN=p.now()
  359.     }
  360.     function cV(a,b)
  361.         {
  362.         p.each(b,function(b,c)
  363.             {
  364.             var d=(cT[b]||[]).concat(cT["*"]),e=0,f=d.length;
  365.             for(;
  366.             e<f;
  367.             e++)if(d[e].call(a,b,c))return
  368.         }
  369.         )
  370.     }
  371.     function cW(a,b,c)
  372.         {
  373.         var d,e=0,f=0,g=cS.length,h=p.Deferred().always(function()
  374.             {
  375.             delete i.elem
  376.         }
  377.         ),i=function()
  378.             {
  379.             var b=cN||cU(),c=Math.max(0,j.startTime+j.duration-b),d=1-(c/j.duration||0),e=0,f=j.tweens.length;
  380.             for(;
  381.             e<f;
  382.             e++)j.tweens[e].run(d);
  383.             return h.notifyWith(a,[j,d,c]),d<1&&f?c:(h.resolveWith(a,[j]),!1)
  384.         }
  385.         ,j=h.promise(
  386.             {
  387.             elem:a,props:p.extend(
  388.                 {
  389.             }
  390.             ,b),opts:p.extend(!0,
  391.                 {
  392.                 specialEasing:
  393.                     {
  394.                 }
  395.             }
  396.             ,c),originalProperties:b,originalOptions:c,startTime:cN||cU(),duration:c.duration,tweens:[],createTween:function(b,c,d)
  397.                 {
  398.                 var e=p.Tween(a,j.opts,b,c,j.opts.specialEasing[b]||j.opts.easing);
  399.                 return j.tweens.push(e),e
  400.             }
  401.             ,stop:function(b)
  402.                 {
  403.                 var c=0,d=b?j.tweens.length:0;
  404.                 for(;
  405.                 c<d;
  406.                 c++)j.tweens[c].run(1);
  407.                 return b?h.resolveWith(a,[j,b]):h.rejectWith(a,[j,b]),this
  408.             }
  409.         }
  410.         ),k=j.props;
  411.         cX(k,j.opts.specialEasing);
  412.         for(;
  413.         e<g;
  414.         e++)
  415.             {
  416.             d=cS[e].call(j,a,k,j.opts);
  417.             if(d)return d
  418.         }
  419.         return cV(j,k),p.isFunction(j.opts.start)&&j.opts.start.call(a,j),p.fx.timer(p.extend(i,
  420.             {
  421.             anim:j,queue:j.opts.queue,elem:a
  422.         }
  423.         )),j.progress(j.opts.progress).done(j.opts.done,j.opts.complete).fail(j.opts.fail).always(j.opts.always)
  424.     }
  425.     function cX(a,b)
  426.         {
  427.         var c,d,e,f,g;
  428.         for(c in a)
  429.             {
  430.             d=p.camelCase(c),e=b[d],f=a[c],p.isArray(f)&&(e=f[1],f=a[c]=f[0]),c!==d&&(a[d]=f,delete a[c]),g=p.cssHooks[d];
  431.             if(g&&"expand"in g)
  432.                 {
  433.                 f=g.expand(f),delete a[d];
  434.                 for(c in f)c in a||(a[c]=f[c],b[c]=e)
  435.             }
  436.             else b[d]=e
  437.         }
  438.     }
  439.     function cY(a,b,c)
  440.         {
  441.         var d,e,f,g,h,i,j,k,l=this,m=a.style,n=
  442.             {
  443.         }
  444.         ,o=[],q=a.nodeType&&bZ(a);
  445.         c.queue||(j=p._queueHooks(a,"fx"),j.unqueued==null&&(j.unqueued=0,k=j.empty.fire,j.empty.fire=function()
  446.             {
  447.             j.unqueued||k()
  448.         }
  449.         ),j.unqueued++,l.always(function()
  450.             {
  451.             l.always(function()
  452.                 {
  453.                 j.unqueued--,p.queue(a,"fx").length||j.empty.fire()
  454.             }
  455.             )
  456.         }
  457.         )),a.nodeType===1&&("height"in b||"width"in b)&&(c.overflow=[m.overflow,m.overflowX,m.overflowY],p.css(a,"display")==="inline"&&p.css(a,"float")==="none"&&(!p.support.inlineBlockNeedsLayout||cc(a.nodeName)==="inline"?m.display="inline-block":m.zoom=1)),c.overflow&&(m.overflow="hidden",p.support.shrinkWrapBlocks||l.done(function()
  458.             {
  459.             m.overflow=c.overflow[0],m.overflowX=c.overflow[1],m.overflowY=c.overflow[2]
  460.         }
  461.         ));
  462.         for(d in b)
  463.             {
  464.             f=b[d];
  465.             if(cP.exec(f))
  466.                 {
  467.                 delete b[d];
  468.                 if(f===(q?"hide":"show"))continue;
  469.                 o.push(d)
  470.             }
  471.         }
  472.         g=o.length;
  473.         if(g)
  474.             {
  475.             h=p._data(a,"fxshow")||p._data(a,"fxshow",
  476.                 {
  477.             }
  478.             ),q?p(a).show():l.done(function()
  479.                 {
  480.                 p(a).hide()
  481.             }
  482.             ),l.done(function()
  483.                 {
  484.                 var b;
  485.                 p.removeData(a,"fxshow",!0);
  486.                 for(b in n)p.style(a,b,n[b])
  487.             }
  488.             );
  489.             for(d=0;
  490.             d<g;
  491.             d++)e=o[d],i=l.createTween(e,q?h[e]:0),n[e]=h[e]||p.style(a,e),e in h||(h[e]=i.start,q&&(i.end=i.start,i.start=e==="width"||e==="height"?1:0))
  492.         }
  493.     }
  494.     function cZ(a,b,c,d,e)
  495.         {
  496.         return new cZ.prototype.init(a,b,c,d,e)
  497.     }
  498.     function c$(a,b)
  499.         {
  500.         var c,d=
  501.             {
  502.             height:a
  503.         }
  504.         ,e=0;
  505.         b=b?1:0;
  506.         for(;
  507.         e<4;
  508.         e+=2-b)c=bV[e],d["margin"+c]=d["padding"+c]=a;
  509.         return b&&(d.opacity=d.width=a),d
  510.     }
  511.     function da(a)
  512.         {
  513.         return p.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1
  514.     }
  515.     var c,d,e=a.document,f=a.location,g=a.navigator,h=a.jQuery,i=a.$,j=Array.prototype.push,k=Array.prototype.slice,l=Array.prototype.indexOf,m=Object.prototype.toString,n=Object.prototype.hasOwnProperty,o=String.prototype.trim,p=function(a,b)
  516.         {
  517.         return new p.fn.init(a,b,c)
  518.     }
  519.     ,q=/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,r=/\S/,s=/\s+/,t=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,u=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,v=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,w=/^[\],:
  520.         {
  521.     }
  522.     \s]*$/,x=/(?:^|:|,)(?:\s*\[)+/g,y=/\\(?:["\\\/bfnrt]|u[\da-fA-F]
  523.         {
  524.         4
  525.     }
  526.     )/g,z=/"[^"\\\r\n]*"|true|false|null|-?(?:\d\d*\.|)\d+(?:[eE][\-+]?\d+|)/g,A=/^-ms-/,B=/-([\da-z])/gi,C=function(a,b)
  527.         {
  528.         return(b+"").toUpperCase()
  529.     }
  530.     ,D=function()
  531.         {
  532.         e.addEventListener?(e.removeEventListener("DOMContentLoaded",D,!1),p.ready()):e.readyState==="complete"&&(e.detachEvent("onreadystatechange",D),p.ready())
  533.     }
  534.     ,E=
  535.         {
  536.     };
  537.     p.fn=p.prototype=
  538.         {
  539.         constructor:p,init:function(a,c,d)
  540.             {
  541.             var f,g,h,i;
  542.             if(!a)return this;
  543.             if(a.nodeType)return this.context=this[0]=a,this.length=1,this;
  544.             if(typeof a=="string")
  545.                 {
  546.                 a.charAt(0)==="<"&&a.charAt(a.length-1)===">"&&a.length>=3?f=[null,a,null]:f=u.exec(a);
  547.                 if(f&&(f[1]||!c))
  548.                     {
  549.                     if(f[1])return c=c instanceof p?c[0]:c,i=c&&c.nodeType?c.ownerDocument||c:e,a=p.parseHTML(f[1],i,!0),v.test(f[1])&&p.isPlainObject(c)&&this.attr.call(a,c,!0),p.merge(this,a);
  550.                     g=e.getElementById(f[2]);
  551.                     if(g&&g.parentNode)
  552.                         {
  553.                         if(g.id!==f[2])return d.find(a);
  554.                         this.length=1,this[0]=g
  555.                     }
  556.                     return this.context=e,this.selector=a,this
  557.                 }
  558.                 return!c||c.jquery?(c||d).find(a):this.constructor(c).find(a)
  559.             }
  560.             return p.isFunction(a)?d.ready(a):(a.selector!==b&&(this.selector=a.selector,this.context=a.context),p.makeArray(a,this))
  561.         }
  562.         ,selector:"",jquery:"1.8.2",length:0,size:function()
  563.             {
  564.             return this.length
  565.         }
  566.         ,toArray:function()
  567.             {
  568.             return k.call(this)
  569.         }
  570.         ,get:function(a)
  571.             {
  572.             return a==null?this.toArray():a<0?this[this.length+a]:this[a]
  573.         }
  574.         ,pushStack:function(a,b,c)
  575.             {
  576.             var d=p.merge(this.constructor(),a);
  577.             return d.prevObject=this,d.context=this.context,b==="find"?d.selector=this.selector+(this.selector?" ":"")+c:b&&(d.selector=this.selector+"."+b+"("+c+")"),d
  578.         }
  579.         ,each:function(a,b)
  580.             {
  581.             return p.each(this,a,b)
  582.         }
  583.         ,ready:function(a)
  584.             {
  585.             return p.ready.promise().done(a),this
  586.         }
  587.         ,eq:function(a)
  588.             {
  589.             return a=+a,a===-1?this.slice(a):this.slice(a,a+1)
  590.         }
  591.         ,first:function()
  592.             {
  593.             return this.eq(0)
  594.         }
  595.         ,last:function()
  596.             {
  597.             return this.eq(-1)
  598.         }
  599.         ,slice:function()
  600.             {
  601.             return this.pushStack(k.apply(this,arguments),"slice",k.call(arguments).join(","))
  602.         }
  603.         ,map:function(a)
  604.             {
  605.             return this.pushStack(p.map(this,function(b,c)
  606.                 {
  607.                 return a.call(b,c,b)
  608.             }
  609.             ))
  610.         }
  611.         ,end:function()
  612.             {
  613.             return this.prevObject||this.constructor(null)
  614.         }
  615.         ,push:j,sort:[].sort,splice:[].splice
  616.     }
  617.     ,p.fn.init.prototype=p.fn,p.extend=p.fn.extend=function()
  618.         {
  619.         var a,c,d,e,f,g,h=arguments[0]||
  620.             {
  621.         }
  622.         ,i=1,j=arguments.length,k=!1;
  623.         typeof h=="boolean"&&(k=h,h=arguments[1]||
  624.             {
  625.         }
  626.         ,i=2),typeof h!="object"&&!p.isFunction(h)&&(h=
  627.             {
  628.         }
  629.         ),j===i&&(h=this,--i);
  630.         for(;
  631.         i<j;
  632.         i++)if((a=arguments[i])!=null)for(c in a)
  633.             {
  634.             d=h[c],e=a[c];
  635.             if(h===e)continue;
  636.             k&&e&&(p.isPlainObject(e)||(f=p.isArray(e)))?(f?(f=!1,g=d&&p.isArray(d)?d:[]):g=d&&p.isPlainObject(d)?d:
  637.                 {
  638.             }
  639.             ,h[c]=p.extend(k,g,e)):e!==b&&(h[c]=e)
  640.         }
  641.         return h
  642.     }
  643.     ,p.extend(
  644.         {
  645.         noConflict:function(b)
  646.             {
  647.             return a.$===p&&(a.$=i),b&&a.jQuery===p&&(a.jQuery=h),p
  648.         }
  649.         ,isReady:!1,readyWait:1,holdReady:function(a)
  650.             {
  651.             a?p.readyWait++:p.ready(!0)
  652.         }
  653.         ,ready:function(a)
  654.             {
  655.             if(a===!0?--p.readyWait:p.isReady)return;
  656.             if(!e.body)return setTimeout(p.ready,1);
  657.             p.isReady=!0;
  658.             if(a!==!0&&--p.readyWait>0)return;
  659.             d.resolveWith(e,[p]),p.fn.trigger&&p(e).trigger("ready").off("ready")
  660.         }
  661.         ,isFunction:function(a)
  662.             {
  663.             return p.type(a)==="function"
  664.         }
  665.         ,isArray:Array.isArray||function(a)
  666.             {
  667.             return p.type(a)==="array"
  668.         }
  669.         ,isWindow:function(a)
  670.             {
  671.             return a!=null&&a==a.window
  672.         }
  673.         ,isNumeric:function(a)
  674.             {
  675.             return!isNaN(parseFloat(a))&&isFinite(a)
  676.         }
  677.         ,type:function(a)
  678.             {
  679.             return a==null?String(a):E[m.call(a)]||"object"
  680.         }
  681.         ,isPlainObject:function(a)
  682.             {
  683.             if(!a||p.type(a)!=="object"||a.nodeType||p.isWindow(a))return!1;
  684.             try
  685.                 {
  686.                 if(a.constructor&&!n.call(a,"constructor")&&!n.call(a.constructor.prototype,"isPrototypeOf"))return!1
  687.             }
  688.             catch(c)
  689.                 {
  690.                 return!1
  691.             }
  692.             var d;
  693.             for(d in a);
  694.             return d===b||n.call(a,d)
  695.         }
  696.         ,isEmptyObject:function(a)
  697.             {
  698.             var b;
  699.             for(b in a)return!1;
  700.             return!0
  701.         }
  702.         ,error:function(a)
  703.             {
  704.             throw new Error(a)
  705.         }
  706.         ,parseHTML:function(a,b,c)
  707.             {
  708.             var d;
  709.             return!a||typeof a!="string"?null:(typeof b=="boolean"&&(c=b,b=0),b=b||e,(d=v.exec(a))?[b.createElement(d[1])]:(d=p.buildFragment([a],b,c?null:[]),p.merge([],(d.cacheable?p.clone(d.fragment):d.fragment).childNodes)))
  710.         }
  711.         ,parseJSON:function(b)
  712.             {
  713.             if(!b||typeof b!="string")return null;
  714.             b=p.trim(b);
  715.             if(a.JSON&&a.JSON.parse)return a.JSON.parse(b);
  716.             if(w.test(b.replace(y,"@").replace(z,"]").replace(x,"")))return(new Function("return "+b))();
  717.             p.error("Invalid JSON: "+b)
  718.         }
  719.         ,parseXML:function(c)
  720.             {
  721.             var d,e;
  722.             if(!c||typeof c!="string")return null;
  723.             try
  724.                 {
  725.                 a.DOMParser?(e=new DOMParser,d=e.parseFromString(c,"text/xml")):(d=new ActiveXObject("Microsoft.XMLDOM"),d.async="false",d.loadXML(c))
  726.             }
  727.             catch(f)
  728.                 {
  729.                 d=b
  730.             }
  731.             return(!d||!d.documentElement||d.getElementsByTagName("parsererror").length)&&p.error("Invalid XML: "+c),d
  732.         }
  733.         ,noop:function()
  734.             {
  735.         }
  736.         ,globalEval:function(b)
  737.             {
  738.             b&&r.test(b)&&(a.execScript||function(b)
  739.                 {
  740.                 a.eval.call(a,b)
  741.             }
  742.             )(b)
  743.         }
  744.         ,camelCase:function(a)
  745.             {
  746.             return a.replace(A,"ms-").replace(B,C)
  747.         }
  748.         ,nodeName:function(a,b)
  749.             {
  750.             return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()
  751.         }
  752.         ,each:function(a,c,d)
  753.             {
  754.             var e,f=0,g=a.length,h=g===b||p.isFunction(a);
  755.             if(d)
  756.                 {
  757.                 if(h)
  758.                     {
  759.                     for(e in a)if(c.apply(a[e],d)===!1)break
  760.                 }
  761.                 else for(;
  762.                 f<g;
  763.                 )if(c.apply(a[f++],d)===!1)break
  764.             }
  765.             else if(h)
  766.                 {
  767.                 for(e in a)if(c.call(a[e],e,a[e])===!1)break
  768.             }
  769.             else for(;
  770.             f<g;
  771.             )if(c.call(a[f],f,a[f++])===!1)break;
  772.             return a
  773.         }
  774.         ,trim:o&&!o.call(" ")?function(a)
  775.             {
  776.             return a==null?"":o.call(a)
  777.         }
  778.         :function(a)
  779.             {
  780.             return a==null?"":(a+"").replace(t,"")
  781.         }
  782.         ,makeArray:function(a,b)
  783.             {
  784.             var c,d=b||[];
  785.             return a!=null&&(c=p.type(a),a.length==null||c==="string"||c==="function"||c==="regexp"||p.isWindow(a)?j.call(d,a):p.merge(d,a)),d
  786.         }
  787.         ,inArray:function(a,b,c)
  788.             {
  789.             var d;
  790.             if(b)
  791.                 {
  792.                 if(l)return l.call(b,a,c);
  793.                 d=b.length,c=c?c<0?Math.max(0,d+c):c:0;
  794.                 for(;
  795.                 c<d;
  796.                 c++)if(c in b&&b[c]===a)return c
  797.             }
  798.             return-1
  799.         }
  800.         ,merge:function(a,c)
  801.             {
  802.             var d=c.length,e=a.length,f=0;
  803.             if(typeof d=="number")for(;
  804.             f<d;
  805.             f++)a[e++]=c[f];
  806.             else while(c[f]!==b)a[e++]=c[f++];
  807.             return a.length=e,a
  808.         }
  809.         ,grep:function(a,b,c)
  810.             {
  811.             var d,e=[],f=0,g=a.length;
  812.             c=!!c;
  813.             for(;
  814.             f<g;
  815.             f++)d=!!b(a[f],f),c!==d&&e.push(a[f]);
  816.             return e
  817.         }
  818.         ,map:function(a,c,d)
  819.             {
  820.             var e,f,g=[],h=0,i=a.length,j=a instanceof p||i!==b&&typeof i=="number"&&(i>0&&a[0]&&a[i-1]||i===0||p.isArray(a));
  821.             if(j)for(;
  822.             h<i;
  823.             h++)e=c(a[h],h,d),e!=null&&(g[g.length]=e);
  824.             else for(f in a)e=c(a[f],f,d),e!=null&&(g[g.length]=e);
  825.             return g.concat.apply([],g)
  826.         }
  827.         ,guid:1,proxy:function(a,c)
  828.             {
  829.             var d,e,f;
  830.             return typeof c=="string"&&(d=a[c],c=a,a=d),p.isFunction(a)?(e=k.call(arguments,2),f=function()
  831.                 {
  832.                 return a.apply(c,e.concat(k.call(arguments)))
  833.             }
  834.             ,f.guid=a.guid=a.guid||p.guid++,f):b
  835.         }
  836.         ,access:function(a,c,d,e,f,g,h)
  837.             {
  838.             var i,j=d==null,k=0,l=a.length;
  839.             if(d&&typeof d=="object")
  840.                 {
  841.                 for(k in d)p.access(a,c,k,d[k],1,g,e);
  842.                 f=1
  843.             }
  844.             else if(e!==b)
  845.                 {
  846.                 i=h===b&&p.isFunction(e),j&&(i?(i=c,c=function(a,b,c)
  847.                     {
  848.                     return i.call(p(a),c)
  849.                 }
  850.                 ):(c.call(a,e),c=null));
  851.                 if(c)for(;
  852.                 k<l;
  853.                 k++)c(a[k],d,i?e.call(a[k],k,c(a[k],d)):e,h);
  854.                 f=1
  855.             }
  856.             return f?a:j?c.call(a):l?c(a[0],d):g
  857.         }
  858.         ,now:function()
  859.             {
  860.             return(new Date).getTime()
  861.         }
  862.     }
  863.     ),p.ready.promise=function(b)
  864.         {
  865.         if(!d)
  866.             {
  867.             d=p.Deferred();
  868.             if(e.readyState==="complete")setTimeout(p.ready,1);
  869.             else if(e.addEventListener)e.addEventListener("DOMContentLoaded",D,!1),a.addEventListener("load",p.ready,!1);
  870.             else
  871.                 {
  872.                 e.attachEvent("onreadystatechange",D),a.attachEvent("onload",p.ready);
  873.                 var c=!1;
  874.                 try
  875.                     {
  876.                     c=a.frameElement==null&&e.documentElement
  877.                 }
  878.                 catch(f)
  879.                     {
  880.                 }
  881.                 c&&c.doScroll&&function g()
  882.                     {
  883.                     if(!p.isReady)
  884.                         {
  885.                         try
  886.                             {
  887.                             c.doScroll("left")
  888.                         }
  889.                         catch(a)
  890.                             {
  891.                             return setTimeout(g,50)
  892.                         }
  893.                         p.ready()
  894.                     }
  895.                 }
  896.                 ()
  897.             }
  898.         }
  899.         return d.promise(b)
  900.     }
  901.     ,p.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(a,b)
  902.         {
  903.         E["[object "+b+"]"]=b.toLowerCase()
  904.     }
  905.     ),c=p(e);
  906.     var F=
  907.         {
  908.     };
  909.     p.Callbacks=function(a)
  910.         {
  911.         a=typeof a=="string"?F[a]||G(a):p.extend(
  912.             {
  913.         }
  914.         ,a);
  915.         var c,d,e,f,g,h,i=[],j=!a.once&&[],k=function(b)
  916.             {
  917.             c=a.memory&&b,d=!0,h=f||0,f=0,g=i.length,e=!0;
  918.             for(;
  919.             i&&h<g;
  920.             h++)if(i[h].apply(b[0],b[1])===!1&&a.stopOnFalse)
  921.                 {
  922.                 c=!1;
  923.                 break
  924.             }
  925.             e=!1,i&&(j?j.length&&k(j.shift()):c?i=[]:l.disable())
  926.         }
  927.         ,l=
  928.             {
  929.             add:function()
  930.                 {
  931.                 if(i)
  932.                     {
  933.                     var b=i.length;
  934.                     (function d(b)
  935.                         {
  936.                         p.each(b,function(b,c)
  937.                             {
  938.                             var e=p.type(c);
  939.                             e==="function"&&(!a.unique||!l.has(c))?i.push(c):c&&c.length&&e!=="string"&&d(c)
  940.                         }
  941.                         )
  942.                     }
  943.                     )(arguments),e?g=i.length:c&&(f=b,k(c))
  944.                 }
  945.                 return this
  946.             }
  947.             ,remove:function()
  948.                 {
  949.                 return i&&p.each(arguments,function(a,b)
  950.                     {
  951.                     var c;
  952.                     while((c=p.inArray(b,i,c))>-1)i.splice(c,1),e&&(c<=g&&g--,c<=h&&h--)
  953.                 }
  954.                 ),this
  955.             }
  956.             ,has:function(a)
  957.                 {
  958.                 return p.inArray(a,i)>-1
  959.             }
  960.             ,empty:function()
  961.                 {
  962.                 return i=[],this
  963.             }
  964.             ,disable:function()
  965.                 {
  966.                 return i=j=c=b,this
  967.             }
  968.             ,disabled:function()
  969.                 {
  970.                 return!i
  971.             }
  972.             ,lock:function()
  973.                 {
  974.                 return j=b,c||l.disable(),this
  975.             }
  976.             ,locked:function()
  977.                 {
  978.                 return!j
  979.             }
  980.             ,fireWith:function(a,b)
  981.                 {
  982.                 return b=b||[],b=[a,b.slice?b.slice():b],i&&(!d||j)&&(e?j.push(b):k(b)),this
  983.             }
  984.             ,fire:function()
  985.                 {
  986.                 return l.fireWith(this,arguments),this
  987.             }
  988.             ,fired:function()
  989.                 {
  990.                 return!!d
  991.             }
  992.         };
  993.         return l
  994.     }
  995.     ,p.extend(
  996.         {
  997.         Deferred:function(a)
  998.             {
  999.             var b=[["resolve","done",p.Callbacks("once memory"),"resolved"],["reject","fail",p.Callbacks("once memory"),"rejected"],["notify","progress",p.Callbacks("memory")]],c="pending",d=
  1000.                 {
  1001.                 state:function()
  1002.                     {
  1003.                     return c
  1004.                 }
  1005.                 ,always:function()
  1006.                     {
  1007.                     return e.done(arguments).fail(arguments),this
  1008.                 }
  1009.                 ,then:function()
  1010.                     {
  1011.                     var a=arguments;
  1012.                     return p.Deferred(function(c)
  1013.                         {
  1014.                         p.each(b,function(b,d)
  1015.                             {
  1016.                             var f=d[0],g=a[b];
  1017.                             e[d[1]](p.isFunction(g)?function()
  1018.                                 {
  1019.                                 var a=g.apply(this,arguments);
  1020.                                 a&&p.isFunction(a.promise)?a.promise().done(c.resolve).fail(c.reject).progress(c.notify):c[f+"With"](this===e?c:this,[a])
  1021.                             }
  1022.                             :c[f])
  1023.                         }
  1024.                         ),a=null
  1025.                     }
  1026.                     ).promise()
  1027.                 }
  1028.                 ,promise:function(a)
  1029.                     {
  1030.                     return a!=null?p.extend(a,d):d
  1031.                 }
  1032.             }
  1033.             ,e=
  1034.                 {
  1035.             };
  1036.             return d.pipe=d.then,p.each(b,function(a,f)
  1037.                 {
  1038.                 var g=f[2],h=f[3];
  1039.                 d[f[1]]=g.add,h&&g.add(function()
  1040.                     {
  1041.                     c=h
  1042.                 }
  1043.                 ,b[a^1][2].disable,b[2][2].lock),e[f[0]]=g.fire,e[f[0]+"With"]=g.fireWith
  1044.             }
  1045.             ),d.promise(e),a&&a.call(e,e),e
  1046.         }
  1047.         ,when:function(a)
  1048.             {
  1049.             var b=0,c=k.call(arguments),d=c.length,e=d!==1||a&&p.isFunction(a.promise)?d:0,f=e===1?a:p.Deferred(),g=function(a,b,c)
  1050.                 {
  1051.                 return function(d)
  1052.                     {
  1053.                     b[a]=this,c[a]=arguments.length>1?k.call(arguments):d,c===h?f.notifyWith(b,c):--e||f.resolveWith(b,c)
  1054.                 }
  1055.             }
  1056.             ,h,i,j;
  1057.             if(d>1)
  1058.                 {
  1059.                 h=new Array(d),i=new Array(d),j=new Array(d);
  1060.                 for(;
  1061.                 b<d;
  1062.                 b++)c[b]&&p.isFunction(c[b].promise)?c[b].promise().done(g(b,j,c)).fail(f.reject).progress(g(b,i,h)):--e
  1063.             }
  1064.             return e||f.resolveWith(j,c),f.promise()
  1065.         }
  1066.     }
  1067.     ),p.support=function()
  1068.         {
  1069.         var b,c,d,f,g,h,i,j,k,l,m,n=e.createElement("div");
  1070.         n.setAttribute("className","t"),n.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",c=n.getElementsByTagName("*"),d=n.getElementsByTagName("a")[0],d.style.cssText="top:1px;
  1071.         float:left;
  1072.         opacity:.5";
  1073.         if(!c||!c.length)return
  1074.             {
  1075.         };
  1076.         f=e.createElement("select"),g=f.appendChild(e.createElement("option")),h=n.getElementsByTagName("input")[0],b=
  1077.             {
  1078.             leadingWhitespace:n.firstChild.nodeType===3,tbody:!n.getElementsByTagName("tbody").length,htmlSerialize:!!n.getElementsByTagName("link").length,style:/top/.test(d.getAttribute("style")),hrefNormalized:d.getAttribute("href")==="/a",opacity:/^0.5/.test(d.style.opacity),cssFloat:!!d.style.cssFloat,checkOn:h.value==="on",optSelected:g.selected,getSetAttribute:n.className!=="t",enctype:!!e.createElement("form").enctype,html5Clone:e.createElement("nav").cloneNode(!0).outerHTML!=="<:nav></:nav>",boxModel:e.compatMode==="CSS1Compat",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,boxSizingReliable:!0,pixelPosition:!1
  1079.         }
  1080.         ,h.checked=!0,b.noCloneChecked=h.cloneNode(!0).checked,f.disabled=!0,b.optDisabled=!g.disabled;
  1081.         try
  1082.             {
  1083.             delete n.test
  1084.         }
  1085.         catch(o)
  1086.             {
  1087.             b.deleteExpando=!1
  1088.         }
  1089.         !n.addEventListener&&n.attachEvent&&n.fireEvent&&(n.attachEvent("onclick",m=function()
  1090.             {
  1091.             b.noCloneEvent=!1
  1092.         }
  1093.         ),n.cloneNode(!0).fireEvent("onclick"),n.detachEvent("onclick",m)),h=e.createElement("input"),h.value="t",h.setAttribute("type","radio"),b.radioValue=h.value==="t",h.setAttribute("checked","checked"),h.setAttribute("name","t"),n.appendChild(h),i=e.createDocumentFragment(),i.appendChild(n.lastChild),b.checkClone=i.cloneNode(!0).cloneNode(!0).lastChild.checked,b.appendChecked=h.checked,i.removeChild(h),i.appendChild(n);
  1094.         if(n.attachEvent)for(k in
  1095.             {
  1096.             submit:!0,change:!0,focusin:!0
  1097.         }
  1098.         )j="on"+k,l=j in n,l||(n.setAttribute(j,"return;
  1099.         "),l=typeof n[j]=="function"),b[k+"Bubbles"]=l;
  1100.         return p(function()
  1101.             {
  1102.             var c,d,f,g,h="padding:0;
  1103.             margin:0;
  1104.             border:0;
  1105.             display:block;
  1106.             overflow:hidden;
  1107.             ",i=e.getElementsByTagName("body")[0];
  1108.             if(!i)return;
  1109.             c=e.createElement("div"),c.style.cssText="visibility:hidden;
  1110.             border:0;
  1111.             width:0;
  1112.             height:0;
  1113.             position:static;
  1114.             top:0;
  1115.             margin-top:1px",i.insertBefore(c,i.firstChild),d=e.createElement("div"),c.appendChild(d),d.innerHTML="<table><tr><td></td><td>t</td></tr></table>",f=d.getElementsByTagName("td"),f[0].style.cssText="padding:0;
  1116.             margin:0;
  1117.             border:0;
  1118.             display:none",l=f[0].offsetHeight===0,f[0].style.display="",f[1].style.display="none",b.reliableHiddenOffsets=l&&f[0].offsetHeight===0,d.innerHTML="",d.style.cssText="box-sizing:border-box;
  1119.             -moz-box-sizing:border-box;
  1120.             -webkit-box-sizing:border-box;
  1121.             padding:1px;
  1122.             border:1px;
  1123.             display:block;
  1124.             width:4px;
  1125.             margin-top:1%;
  1126.             position:absolute;
  1127.             top:1%;
  1128.             ",b.boxSizing=d.offsetWidth===4,b.doesNotIncludeMarginInBodyOffset=i.offsetTop!==1,a.getComputedStyle&&(b.pixelPosition=(a.getComputedStyle(d,null)||
  1129.                 {
  1130.             }
  1131.             ).top!=="1%",b.boxSizingReliable=(a.getComputedStyle(d,null)||
  1132.                 {
  1133.                 width:"4px"
  1134.             }
  1135.             ).width==="4px",g=e.createElement("div"),g.style.cssText=d.style.cssText=h,g.style.marginRight=g.style.width="0",d.style.width="1px",d.appendChild(g),b.reliableMarginRight=!parseFloat((a.getComputedStyle(g,null)||
  1136.                 {
  1137.             }
  1138.             ).marginRight)),typeof d.style.zoom!="undefined"&&(d.innerHTML="",d.style.cssText=h+"width:1px;
  1139.             padding:1px;
  1140.             display:inline;
  1141.             zoom:1",b.inlineBlockNeedsLayout=d.offsetWidth===3,d.style.display="block",d.style.overflow="visible",d.innerHTML="<div></div>",d.firstChild.style.width="5px",b.shrinkWrapBlocks=d.offsetWidth!==3,c.style.zoom=1),i.removeChild(c),c=d=f=g=null
  1142.         }
  1143.         ),i.removeChild(n),c=d=f=g=h=i=n=null,b
  1144.     }
  1145.     ();
  1146.     var H=/(?:\
  1147.         {
  1148.         [\s\S]*\
  1149.     }
  1150.     |\[[\s\S]*\])$/,I=/([A-Z])/g;
  1151.     p.extend(
  1152.         {
  1153.         cache:
  1154.             {
  1155.         }
  1156.         ,deletedIds:[],uuid:0,expando:"jQuery"+(p.fn.jquery+Math.random()).replace(/\D/g,""),noData:
  1157.             {
  1158.             embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0
  1159.         }
  1160.         ,hasData:function(a)
  1161.             {
  1162.             return a=a.nodeType?p.cache[a[p.expando]]:a[p.expando],!!a&&!K(a)
  1163.         }
  1164.         ,data:function(a,c,d,e)
  1165.             {
  1166.             if(!p.acceptData(a))return;
  1167.             var f,g,h=p.expando,i=typeof c=="string",j=a.nodeType,k=j?p.cache:a,l=j?a[h]:a[h]&&h;
  1168.             if((!l||!k[l]||!e&&!k[l].data)&&i&&d===b)return;
  1169.             l||(j?a[h]=l=p.deletedIds.pop()||p.guid++:l=h),k[l]||(k[l]=
  1170.                 {
  1171.             }
  1172.             ,j||(k[l].toJSON=p.noop));
  1173.             if(typeof c=="object"||typeof c=="function")e?k[l]=p.extend(k[l],c):k[l].data=p.extend(k[l].data,c);
  1174.             return f=k[l],e||(f.data||(f.data=
  1175.                 {
  1176.             }
  1177.             ),f=f.data),d!==b&&(f[p.camelCase(c)]=d),i?(g=f[c],g==null&&(g=f[p.camelCase(c)])):g=f,g
  1178.         }
  1179.         ,removeData:function(a,b,c)
  1180.             {
  1181.             if(!p.acceptData(a))return;
  1182.             var d,e,f,g=a.nodeType,h=g?p.cache:a,i=g?a[p.expando]:p.expando;
  1183.             if(!h[i])return;
  1184.             if(b)
  1185.                 {
  1186.                 d=c?h[i]:h[i].data;
  1187.                 if(d)
  1188.                     {
  1189.                     p.isArray(b)||(b in d?b=[b]:(b=p.camelCase(b),b in d?b=[b]:b=b.split(" ")));
  1190.                     for(e=0,f=b.length;
  1191.                     e<f;
  1192.                     e++)delete d[b[e]];
  1193.                     if(!(c?K:p.isEmptyObject)(d))return
  1194.                 }
  1195.             }
  1196.             if(!c)
  1197.                 {
  1198.                 delete h[i].data;
  1199.                 if(!K(h[i]))return
  1200.             }
  1201.             g?p.cleanData([a],!0):p.support.deleteExpando||h!=h.window?delete h[i]:h[i]=null
  1202.         }
  1203.         ,_data:function(a,b,c)
  1204.             {
  1205.             return p.data(a,b,c,!0)
  1206.         }
  1207.         ,acceptData:function(a)
  1208.             {
  1209.             var b=a.nodeName&&p.noData[a.nodeName.toLowerCase()];
  1210.             return!b||b!==!0&&a.getAttribute("classid")===b
  1211.         }
  1212.     }
  1213.     ),p.fn.extend(
  1214.         {
  1215.         data:function(a,c)
  1216.             {
  1217.             var d,e,f,g,h,i=this[0],j=0,k=null;
  1218.             if(a===b)
  1219.                 {
  1220.                 if(this.length)
  1221.                     {
  1222.                     k=p.data(i);
  1223.                     if(i.nodeType===1&&!p._data(i,"parsedAttrs"))
  1224.                         {
  1225.                         f=i.attributes;
  1226.                         for(h=f.length;
  1227.                         j<h;
  1228.                         j++)g=f[j].name,g.indexOf("data-")||(g=p.camelCase(g.substring(5)),J(i,g,k[g]));
  1229.                         p._data(i,"parsedAttrs",!0)
  1230.                     }
  1231.                 }
  1232.                 return k
  1233.             }
  1234.             return typeof a=="object"?this.each(function()
  1235.                 {
  1236.                 p.data(this,a)
  1237.             }
  1238.             ):(d=a.split(".",2),d[1]=d[1]?"."+d[1]:"",e=d[1]+"!",p.access(this,function(c)
  1239.                 {
  1240.                 if(c===b)return k=this.triggerHandler("getData"+e,[d[0]]),k===b&&i&&(k=p.data(i,a),k=J(i,a,k)),k===b&&d[1]?this.data(d[0]):k;
  1241.                 d[1]=c,this.each(function()
  1242.                     {
  1243.                     var b=p(this);
  1244.                     b.triggerHandler("setData"+e,d),p.data(this,a,c),b.triggerHandler("changeData"+e,d)
  1245.                 }
  1246.                 )
  1247.             }
  1248.             ,null,c,arguments.length>1,null,!1))
  1249.         }
  1250.         ,removeData:function(a)
  1251.             {
  1252.             return this.each(function()
  1253.                 {
  1254.                 p.removeData(this,a)
  1255.             }
  1256.             )
  1257.         }
  1258.     }
  1259.     ),p.extend(
  1260.         {
  1261.         queue:function(a,b,c)
  1262.             {
  1263.             var d;
  1264.             if(a)return b=(b||"fx")+"queue",d=p._data(a,b),c&&(!d||p.isArray(c)?d=p._data(a,b,p.makeArray(c)):d.push(c)),d||[]
  1265.         }
  1266.         ,dequeue:function(a,b)
  1267.             {
  1268.             b=b||"fx";
  1269.             var c=p.queue(a,b),d=c.length,e=c.shift(),f=p._queueHooks(a,b),g=function()
  1270.                 {
  1271.                 p.dequeue(a,b)
  1272.             };
  1273.             e==="inprogress"&&(e=c.shift(),d--),e&&(b==="fx"&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()
  1274.         }
  1275.         ,_queueHooks:function(a,b)
  1276.             {
  1277.             var c=b+"queueHooks";
  1278.             return p._data(a,c)||p._data(a,c,
  1279.                 {
  1280.                 empty:p.Callbacks("once memory").add(function()
  1281.                     {
  1282.                     p.removeData(a,b+"queue",!0),p.removeData(a,c,!0)
  1283.                 }
  1284.                 )
  1285.             }
  1286.             )
  1287.         }
  1288.     }
  1289.     ),p.fn.extend(
  1290.         {
  1291.         queue:function(a,c)
  1292.             {
  1293.             var d=2;
  1294.             return typeof a!="string"&&(c=a,a="fx",d--),arguments.length<d?p.queue(this[0],a):c===b?this:this.each(function()
  1295.                 {
  1296.                 var b=p.queue(this,a,c);
  1297.                 p._queueHooks(this,a),a==="fx"&&b[0]!=="inprogress"&&p.dequeue(this,a)
  1298.             }
  1299.             )
  1300.         }
  1301.         ,dequeue:function(a)
  1302.             {
  1303.             return this.each(function()
  1304.                 {
  1305.                 p.dequeue(this,a)
  1306.             }
  1307.             )
  1308.         }
  1309.         ,delay:function(a,b)
  1310.             {
  1311.             return a=p.fx?p.fx.speeds[a]||a:a,b=b||"fx",this.queue(b,function(b,c)
  1312.                 {
  1313.                 var d=setTimeout(b,a);
  1314.                 c.stop=function()
  1315.                     {
  1316.                     clearTimeout(d)
  1317.                 }
  1318.             }
  1319.             )
  1320.         }
  1321.         ,clearQueue:function(a)
  1322.             {
  1323.             return this.queue(a||"fx",[])
  1324.         }
  1325.         ,promise:function(a,c)
  1326.             {
  1327.             var d,e=1,f=p.Deferred(),g=this,h=this.length,i=function()
  1328.                 {
  1329.                 --e||f.resolveWith(g,[g])
  1330.             };
  1331.             typeof a!="string"&&(c=a,a=b),a=a||"fx";
  1332.             while(h--)d=p._data(g[h],a+"queueHooks"),d&&d.empty&&(e++,d.empty.add(i));
  1333.             return i(),f.promise(c)
  1334.         }
  1335.     }
  1336.     );
  1337.     var L,M,N,O=/[\t\r\n]/g,P=/\r/g,Q=/^(?:button|input)$/i,R=/^(?:button|input|object|select|textarea)$/i,S=/^a(?:rea|)$/i,T=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,U=p.support.getSetAttribute;
  1338.     p.fn.extend(
  1339.         {
  1340.         attr:function(a,b)
  1341.             {
  1342.             return p.access(this,p.attr,a,b,arguments.length>1)
  1343.         }
  1344.         ,removeAttr:function(a)
  1345.             {
  1346.             return this.each(function()
  1347.                 {
  1348.                 p.removeAttr(this,a)
  1349.             }
  1350.             )
  1351.         }
  1352.         ,prop:function(a,b)
  1353.             {
  1354.             return p.access(this,p.prop,a,b,arguments.length>1)
  1355.         }
  1356.         ,removeProp:function(a)
  1357.             {
  1358.             return a=p.propFix[a]||a,this.each(function()
  1359.                 {
  1360.                 try
  1361.                     {
  1362.                     this[a]=b,delete this[a]
  1363.                 }
  1364.                 catch(c)
  1365.                     {
  1366.                 }
  1367.             }
  1368.             )
  1369.         }
  1370.         ,addClass:function(a)
  1371.             {
  1372.             var b,c,d,e,f,g,h;
  1373.             if(p.isFunction(a))return this.each(function(b)
  1374.                 {
  1375.                 p(this).addClass(a.call(this,b,this.className))
  1376.             }
  1377.             );
  1378.             if(a&&typeof a=="string")
  1379.                 {
  1380.                 b=a.split(s);
  1381.                 for(c=0,d=this.length;
  1382.                 c<d;
  1383.                 c++)
  1384.                     {
  1385.                     e=this[c];
  1386.                     if(e.nodeType===1)if(!e.className&&b.length===1)e.className=a;
  1387.                     else
  1388.                         {
  1389.                         f=" "+e.className+" ";
  1390.                         for(g=0,h=b.length;
  1391.                         g<h;
  1392.                         g++)f.indexOf(" "+b[g]+" ")<0&&(f+=b[g]+" ");
  1393.                         e.className=p.trim(f)
  1394.                     }
  1395.                 }
  1396.             }
  1397.             return this
  1398.         }
  1399.         ,removeClass:function(a)
  1400.             {
  1401.             var c,d,e,f,g,h,i;
  1402.             if(p.isFunction(a))return this.each(function(b)
  1403.                 {
  1404.                 p(this).removeClass(a.call(this,b,this.className))
  1405.             }
  1406.             );
  1407.             if(a&&typeof a=="string"||a===b)
  1408.                 {
  1409.                 c=(a||"").split(s);
  1410.                 for(h=0,i=this.length;
  1411.                 h<i;
  1412.                 h++)
  1413.                     {
  1414.                     e=this[h];
  1415.                     if(e.nodeType===1&&e.className)
  1416.                         {
  1417.                         d=(" "+e.className+" ").replace(O," ");
  1418.                         for(f=0,g=c.length;
  1419.                         f<g;
  1420.                         f++)while(d.indexOf(" "+c[f]+" ")>=0)d=d.replace(" "+c[f]+" "," ");
  1421.                         e.className=a?p.trim(d):""
  1422.                     }
  1423.                 }
  1424.             }
  1425.             return this
  1426.         }
  1427.         ,toggleClass:function(a,b)
  1428.             {
  1429.             var c=typeof a,d=typeof b=="boolean";
  1430.             return p.isFunction(a)?this.each(function(c)
  1431.                 {
  1432.                 p(this).toggleClass(a.call(this,c,this.className,b),b)
  1433.             }
  1434.             ):this.each(function()
  1435.                 {
  1436.                 if(c==="string")
  1437.                     {
  1438.                     var e,f=0,g=p(this),h=b,i=a.split(s);
  1439.                     while(e=i[f++])h=d?h:!g.hasClass(e),g[h?"addClass":"removeClass"](e)
  1440.                 }
  1441.                 else if(c==="undefined"||c==="boolean")this.className&&p._data(this,"__className__",this.className),this.className=this.className||a===!1?"":p._data(this,"__className__")||""
  1442.             }
  1443.             )
  1444.         }
  1445.         ,hasClass:function(a)
  1446.             {
  1447.             var b=" "+a+" ",c=0,d=this.length;
  1448.             for(;
  1449.             c<d;
  1450.             c++)if(this[c].nodeType===1&&(" "+this[c].className+" ").replace(O," ").indexOf(b)>=0)return!0;
  1451.             return!1
  1452.         }
  1453.         ,val:function(a)
  1454.             {
  1455.             var c,d,e,f=this[0];
  1456.             if(!arguments.length)
  1457.                 {
  1458.                 if(f)return c=p.valHooks[f.type]||p.valHooks[f.nodeName.toLowerCase()],c&&"get"in c&&(d=c.get(f,"value"))!==b?d:(d=f.value,typeof d=="string"?d.replace(P,""):d==null?"":d);
  1459.                 return
  1460.             }
  1461.             return e=p.isFunction(a),this.each(function(d)
  1462.                 {
  1463.                 var f,g=p(this);
  1464.                 if(this.nodeType!==1)return;
  1465.                 e?f=a.call(this,d,g.val()):f=a,f==null?f="":typeof f=="number"?f+="":p.isArray(f)&&(f=p.map(f,function(a)
  1466.                     {
  1467.                     return a==null?"":a+""
  1468.                 }
  1469.                 )),c=p.valHooks[this.type]||p.valHooks[this.nodeName.toLowerCase()];
  1470.                 if(!c||!("set"in c)||c.set(this,f,"value")===b)this.value=f
  1471.             }
  1472.             )
  1473.         }
  1474.     }
  1475.     ),p.extend(
  1476.         {
  1477.         valHooks:
  1478.             {
  1479.             option:
  1480.                 {
  1481.                 get:function(a)
  1482.                     {
  1483.                     var b=a.attributes.value;
  1484.                     return!b||b.specified?a.value:a.text
  1485.                 }
  1486.             }
  1487.             ,select:
  1488.                 {
  1489.                 get:function(a)
  1490.                     {
  1491.                     var b,c,d,e,f=a.selectedIndex,g=[],h=a.options,i=a.type==="select-one";
  1492.                     if(f<0)return null;
  1493.                     c=i?f:0,d=i?f+1:h.length;
  1494.                     for(;
  1495.                     c<d;
  1496.                     c++)
  1497.                         {
  1498.                         e=h[c];
  1499.                         if(e.selected&&(p.support.optDisabled?!e.disabled:e.getAttribute("disabled")===null)&&(!e.parentNode.disabled||!p.nodeName(e.parentNode,"optgroup")))
  1500.                             {
  1501.                             b=p(e).val();
  1502.                             if(i)return b;
  1503.                             g.push(b)
  1504.                         }
  1505.                     }
  1506.                     return i&&!g.length&&h.length?p(h[f]).val():g
  1507.                 }
  1508.                 ,set:function(a,b)
  1509.                     {
  1510.                     var c=p.makeArray(b);
  1511.                     return p(a).find("option").each(function()
  1512.                         {
  1513.                         this.selected=p.inArray(p(this).val(),c)>=0
  1514.                     }
  1515.                     ),c.length||(a.selectedIndex=-1),c
  1516.                 }
  1517.             }
  1518.         }
  1519.         ,attrFn:
  1520.             {
  1521.         }
  1522.         ,attr:function(a,c,d,e)
  1523.             {
  1524.             var f,g,h,i=a.nodeType;
  1525.             if(!a||i===3||i===8||i===2)return;
  1526.             if(e&&p.isFunction(p.fn[c]))return p(a)[c](d);
  1527.             if(typeof a.getAttribute=="undefined")return p.prop(a,c,d);
  1528.             h=i!==1||!p.isXMLDoc(a),h&&(c=c.toLowerCase(),g=p.attrHooks[c]||(T.test(c)?M:L));
  1529.             if(d!==b)
  1530.                 {
  1531.                 if(d===null)
  1532.                     {
  1533.                     p.removeAttr(a,c);
  1534.                     return
  1535.                 }
  1536.                 return g&&"set"in g&&h&&(f=g.set(a,d,c))!==b?f:(a.setAttribute(c,d+""),d)
  1537.             }
  1538.             return g&&"get"in g&&h&&(f=g.get(a,c))!==null?f:(f=a.getAttribute(c),f===null?b:f)
  1539.         }
  1540.         ,removeAttr:function(a,b)
  1541.             {
  1542.             var c,d,e,f,g=0;
  1543.             if(b&&a.nodeType===1)
  1544.                 {
  1545.                 d=b.split(s);
  1546.                 for(;
  1547.                 g<d.length;
  1548.                 g++)e=d[g],e&&(c=p.propFix[e]||e,f=T.test(e),f||p.attr(a,e,""),a.removeAttribute(U?e:c),f&&c in a&&(a[c]=!1))
  1549.             }
  1550.         }
  1551.         ,attrHooks:
  1552.             {
  1553.             type:
  1554.                 {
  1555.                 set:function(a,b)
  1556.                     {
  1557.                     if(Q.test(a.nodeName)&&a.parentNode)p.error("type property can't be changed");
  1558.                     else if(!p.support.radioValue&&b==="radio"&&p.nodeName(a,"input"))
  1559.                         {
  1560.                         var c=a.value;
  1561.                         return a.setAttribute("type",b),c&&(a.value=c),b
  1562.                     }
  1563.                 }
  1564.             }
  1565.             ,value:
  1566.                 {
  1567.                 get:function(a,b)
  1568.                     {
  1569.                     return L&&p.nodeName(a,"button")?L.get(a,b):b in a?a.value:null
  1570.                 }
  1571.                 ,set:function(a,b,c)
  1572.                     {
  1573.                     if(L&&p.nodeName(a,"button"))return L.set(a,b,c);
  1574.                     a.value=b
  1575.                 }
  1576.             }
  1577.         }
  1578.         ,propFix:
  1579.             {
  1580.             tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"
  1581.         }
  1582.         ,prop:function(a,c,d)
  1583.             {
  1584.             var e,f,g,h=a.nodeType;
  1585.             if(!a||h===3||h===8||h===2)return;
  1586.             return g=h!==1||!p.isXMLDoc(a),g&&(c=p.propFix[c]||c,f=p.propHooks[c]),d!==b?f&&"set"in f&&(e=f.set(a,d,c))!==b?e:a[c]=d:f&&"get"in f&&(e=f.get(a,c))!==null?e:a[c]
  1587.         }
  1588.         ,propHooks:
  1589.             {
  1590.             tabIndex:
  1591.                 {
  1592.                 get:function(a)
  1593.                     {
  1594.                     var c=a.getAttributeNode("tabindex");
  1595.                     return c&&c.specified?parseInt(c.value,10):R.test(a.nodeName)||S.test(a.nodeName)&&a.href?0:b
  1596.                 }
  1597.             }
  1598.         }
  1599.     }
  1600.     ),M=
  1601.         {
  1602.         get:function(a,c)
  1603.             {
  1604.             var d,e=p.prop(a,c);
  1605.             return e===!0||typeof e!="boolean"&&(d=a.getAttributeNode(c))&&d.nodeValue!==!1?c.toLowerCase():b
  1606.         }
  1607.         ,set:function(a,b,c)
  1608.             {
  1609.             var d;
  1610.             return b===!1?p.removeAttr(a,c):(d=p.propFix[c]||c,d in a&&(a[d]=!0),a.setAttribute(c,c.toLowerCase())),c
  1611.         }
  1612.     }
  1613.     ,U||(N=
  1614.         {
  1615.         name:!0,id:!0,coords:!0
  1616.     }
  1617.     ,L=p.valHooks.button=
  1618.         {
  1619.         get:function(a,c)
  1620.             {
  1621.             var d;
  1622.             return d=a.getAttributeNode(c),d&&(N[c]?d.value!=="":d.specified)?d.value:b
  1623.         }
  1624.         ,set:function(a,b,c)
  1625.             {
  1626.             var d=a.getAttributeNode(c);
  1627.             return d||(d=e.createAttribute(c),a.setAttributeNode(d)),d.value=b+""
  1628.         }
  1629.     }
  1630.     ,p.each(["width","height"],function(a,b)
  1631.         {
  1632.         p.attrHooks[b]=p.extend(p.attrHooks[b],
  1633.             {
  1634.             set:function(a,c)
  1635.                 {
  1636.                 if(c==="")return a.setAttribute(b,"auto"),c
  1637.             }
  1638.         }
  1639.         )
  1640.     }
  1641.     ),p.attrHooks.contenteditable=
  1642.         {
  1643.         get:L.get,set:function(a,b,c)
  1644.             {
  1645.             b===""&&(b="false"),L.set(a,b,c)
  1646.         }
  1647.     }
  1648.     ),p.support.hrefNormalized||p.each(["href","src","width","height"],function(a,c)
  1649.         {
  1650.         p.attrHooks[c]=p.extend(p.attrHooks[c],
  1651.             {
  1652.             get:function(a)
  1653.                 {
  1654.                 var d=a.getAttribute(c,2);
  1655.                 return d===null?b:d
  1656.             }
  1657.         }
  1658.         )
  1659.     }
  1660.     ),p.support.style||(p.attrHooks.style=
  1661.         {
  1662.         get:function(a)
  1663.             {
  1664.             return a.style.cssText.toLowerCase()||b
  1665.         }
  1666.         ,set:function(a,b)
  1667.             {
  1668.             return a.style.cssText=b+""
  1669.         }
  1670.     }
  1671.     ),p.support.optSelected||(p.propHooks.selected=p.extend(p.propHooks.selected,
  1672.         {
  1673.         get:function(a)
  1674.             {
  1675.             var b=a.parentNode;
  1676.             return b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex),null
  1677.         }
  1678.     }
  1679.     )),p.support.enctype||(p.propFix.enctype="encoding"),p.support.checkOn||p.each(["radio","checkbox"],function()
  1680.         {
  1681.         p.valHooks[this]=
  1682.             {
  1683.             get:function(a)
  1684.                 {
  1685.                 return a.getAttribute("value")===null?"on":a.value
  1686.             }
  1687.         }
  1688.     }
  1689.     ),p.each(["radio","checkbox"],function()
  1690.         {
  1691.         p.valHooks[this]=p.extend(p.valHooks[this],
  1692.             {
  1693.             set:function(a,b)
  1694.                 {
  1695.                 if(p.isArray(b))return a.checked=p.inArray(p(a).val(),b)>=0
  1696.             }
  1697.         }
  1698.         )
  1699.     }
  1700.     );
  1701.     var V=/^(?:textarea|input|select)$/i,W=/^([^\.]*|)(?:\.(.+)|)$/,X=/(?:^|\s)hover(\.\S+|)\b/,Y=/^key/,Z=/^(?:mouse|contextmenu)|click/,$=/^(?:focusinfocus|focusoutblur)$/,_=function(a)
  1702.         {
  1703.         return p.event.special.hover?a:a.replace(X,"mouseenter$1 mouseleave$1")
  1704.     };
  1705.     p.event=
  1706.         {
  1707.         add:function(a,c,d,e,f)
  1708.             {
  1709.             var g,h,i,j,k,l,m,n,o,q,r;
  1710.             if(a.nodeType===3||a.nodeType===8||!c||!d||!(g=p._data(a)))return;
  1711.             d.handler&&(o=d,d=o.handler,f=o.selector),d.guid||(d.guid=p.guid++),i=g.events,i||(g.events=i=
  1712.                 {
  1713.             }
  1714.             ),h=g.handle,h||(g.handle=h=function(a)
  1715.                 {
  1716.                 return typeof p!="undefined"&&(!a||p.event.triggered!==a.type)?p.event.dispatch.apply(h.elem,arguments):b
  1717.             }
  1718.             ,h.elem=a),c=p.trim(_(c)).split(" ");
  1719.             for(j=0;
  1720.             j<c.length;
  1721.             j++)
  1722.                 {
  1723.                 k=W.exec(c[j])||[],l=k[1],m=(k[2]||"").split(".").sort(),r=p.event.special[l]||
  1724.                     {
  1725.                 }
  1726.                 ,l=(f?r.delegateType:r.bindType)||l,r=p.event.special[l]||
  1727.                     {
  1728.                 }
  1729.                 ,n=p.extend(
  1730.                     {
  1731.                     type:l,origType:k[1],data:e,handler:d,guid:d.guid,selector:f,needsContext:f&&p.expr.match.needsContext.test(f),namespace:m.join(".")
  1732.                 }
  1733.                 ,o),q=i[l];
  1734.                 if(!q)
  1735.                     {
  1736.                     q=i[l]=[],q.delegateCount=0;
  1737.                     if(!r.setup||r.setup.call(a,e,m,h)===!1)a.addEventListener?a.addEventListener(l,h,!1):a.attachEvent&&a.attachEvent("on"+l,h)
  1738.                 }
  1739.                 r.add&&(r.add.call(a,n),n.handler.guid||(n.handler.guid=d.guid)),f?q.splice(q.delegateCount++,0,n):q.push(n),p.event.global[l]=!0
  1740.             }
  1741.             a=null
  1742.         }
  1743.         ,global:
  1744.             {
  1745.         }
  1746.         ,remove:function(a,b,c,d,e)
  1747.             {
  1748.             var f,g,h,i,j,k,l,m,n,o,q,r=p.hasData(a)&&p._data(a);
  1749.             if(!r||!(m=r.events))return;
  1750.             b=p.trim(_(b||"")).split(" ");
  1751.             for(f=0;
  1752.             f<b.length;
  1753.             f++)
  1754.                 {
  1755.                 g=W.exec(b[f])||[],h=i=g[1],j=g[2];
  1756.                 if(!h)
  1757.                     {
  1758.                     for(h in m)p.event.remove(a,h+b[f],c,d,!0);
  1759.                     continue
  1760.                 }
  1761.                 n=p.event.special[h]||
  1762.                     {
  1763.                 }
  1764.                 ,h=(d?n.delegateType:n.bindType)||h,o=m[h]||[],k=o.length,j=j?new RegExp("(^|\\.)"+j.split(".").sort().join("\\.(?:.*\\.|)")+"(\\.|$)"):null;
  1765.                 for(l=0;
  1766.                 l<o.length;
  1767.                 l++)q=o[l],(e||i===q.origType)&&(!c||c.guid===q.guid)&&(!j||j.test(q.namespace))&&(!d||d===q.selector||d==="**"&&q.selector)&&(o.splice(l--,1),q.selector&&o.delegateCount--,n.remove&&n.remove.call(a,q));
  1768.                 o.length===0&&k!==o.length&&((!n.teardown||n.teardown.call(a,j,r.handle)===!1)&&p.removeEvent(a,h,r.handle),delete m[h])
  1769.             }
  1770.             p.isEmptyObject(m)&&(delete r.handle,p.removeData(a,"events",!0))
  1771.         }
  1772.         ,customEvent:
  1773.             {
  1774.             getData:!0,setData:!0,changeData:!0
  1775.         }
  1776.         ,trigger:function(c,d,f,g)
  1777.             {
  1778.             if(!f||f.nodeType!==3&&f.nodeType!==8)
  1779.                 {
  1780.                 var h,i,j,k,l,m,n,o,q,r,s=c.type||c,t=[];
  1781.                 if($.test(s+p.event.triggered))return;
  1782.                 s.indexOf("!")>=0&&(s=s.slice(0,-1),i=!0),s.indexOf(".")>=0&&(t=s.split("."),s=t.shift(),t.sort());
  1783.                 if((!f||p.event.customEvent[s])&&!p.event.global[s])return;
  1784.                 c=typeof c=="object"?c[p.expando]?c:new p.Event(s,c):new p.Event(s),c.type=s,c.isTrigger=!0,c.exclusive=i,c.namespace=t.join("."),c.namespace_re=c.namespace?new RegExp("(^|\\.)"+t.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,m=s.indexOf(":")<0?"on"+s:"";
  1785.                 if(!f)
  1786.                     {
  1787.                     h=p.cache;
  1788.                     for(j in h)h[j].events&&h[j].events[s]&&p.event.trigger(c,d,h[j].handle.elem,!0);
  1789.                     return
  1790.                 }
  1791.                 c.result=b,c.target||(c.target=f),d=d!=null?p.makeArray(d):[],d.unshift(c),n=p.event.special[s]||
  1792.                     {
  1793.                 };
  1794.                 if(n.trigger&&n.trigger.apply(f,d)===!1)return;
  1795.                 q=[[f,n.bindType||s]];
  1796.                 if(!g&&!n.noBubble&&!p.isWindow(f))
  1797.                     {
  1798.                     r=n.delegateType||s,k=$.test(r+s)?f:f.parentNode;
  1799.                     for(l=f;
  1800.                     k;
  1801.                     k=k.parentNode)q.push([k,r]),l=k;
  1802.                     l===(f.ownerDocument||e)&&q.push([l.defaultView||l.parentWindow||a,r])
  1803.                 }
  1804.                 for(j=0;
  1805.                 j<q.length&&!c.isPropagationStopped();
  1806.                 j++)k=q[j][0],c.type=q[j][1],o=(p._data(k,"events")||
  1807.                     {
  1808.                 }
  1809.                 )[c.type]&&p._data(k,"handle"),o&&o.apply(k,d),o=m&&k[m],o&&p.acceptData(k)&&o.apply&&o.apply(k,d)===!1&&c.preventDefault();
  1810.                 return c.type=s,!g&&!c.isDefaultPrevented()&&(!n._default||n._default.apply(f.ownerDocument,d)===!1)&&(s!=="click"||!p.nodeName(f,"a"))&&p.acceptData(f)&&m&&f[s]&&(s!=="focus"&&s!=="blur"||c.target.offsetWidth!==0)&&!p.isWindow(f)&&(l=f[m],l&&(f[m]=null),p.event.triggered=s,f[s](),p.event.triggered=b,l&&(f[m]=l)),c.result
  1811.             }
  1812.             return
  1813.         }
  1814.         ,dispatch:function(c)
  1815.             {
  1816.             c=p.event.fix(c||a.event);
  1817.             var d,e,f,g,h,i,j,l,m,n,o=(p._data(this,"events")||
  1818.                 {
  1819.             }
  1820.             )[c.type]||[],q=o.delegateCount,r=k.call(arguments),s=!c.exclusive&&!c.namespace,t=p.event.special[c.type]||
  1821.                 {
  1822.             }
  1823.             ,u=[];
  1824.             r[0]=c,c.delegateTarget=this;
  1825.             if(t.preDispatch&&t.preDispatch.call(this,c)===!1)return;
  1826.             if(q&&(!c.button||c.type!=="click"))for(f=c.target;
  1827.             f!=this;
  1828.             f=f.parentNode||this)if(f.disabled!==!0||c.type!=="click")
  1829.                 {
  1830.                 h=
  1831.                     {
  1832.                 }
  1833.                 ,j=[];
  1834.                 for(d=0;
  1835.                 d<q;
  1836.                 d++)l=o[d],m=l.selector,h[m]===b&&(h[m]=l.needsContext?p(m,this).index(f)>=0:p.find(m,this,null,[f]).length),h[m]&&j.push(l);
  1837.                 j.length&&u.push(
  1838.                     {
  1839.                     elem:f,matches:j
  1840.                 }
  1841.                 )
  1842.             }
  1843.             o.length>q&&u.push(
  1844.                 {
  1845.                 elem:this,matches:o.slice(q)
  1846.             }
  1847.             );
  1848.             for(d=0;
  1849.             d<u.length&&!c.isPropagationStopped();
  1850.             d++)
  1851.                 {
  1852.                 i=u[d],c.currentTarget=i.elem;
  1853.                 for(e=0;
  1854.                 e<i.matches.length&&!c.isImmediatePropagationStopped();
  1855.                 e++)
  1856.                     {
  1857.                     l=i.matches[e];
  1858.                     if(s||!c.namespace&&!l.namespace||c.namespace_re&&c.namespace_re.test(l.namespace))c.data=l.data,c.handleObj=l,g=((p.event.special[l.origType]||
  1859.                         {
  1860.                     }
  1861.                     ).handle||l.handler).apply(i.elem,r),g!==b&&(c.result=g,g===!1&&(c.preventDefault(),c.stopPropagation()))
  1862.                 }
  1863.             }
  1864.             return t.postDispatch&&t.postDispatch.call(this,c),c.result
  1865.         }
  1866.         ,props:"attrChange attrName relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:
  1867.             {
  1868.         }
  1869.         ,keyHooks:
  1870.             {
  1871.             props:"char charCode key keyCode".split(" "),filter:function(a,b)
  1872.                 {
  1873.                 return a.which==null&&(a.which=b.charCode!=null?b.charCode:b.keyCode),a
  1874.             }
  1875.         }
  1876.         ,mouseHooks:
  1877.             {
  1878.             props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(a,c)
  1879.                 {
  1880.                 var d,f,g,h=c.button,i=c.fromElement;
  1881.                 return a.pageX==null&&c.clientX!=null&&(d=a.target.ownerDocument||e,f=d.documentElement,g=d.body,a.pageX=c.clientX+(f&&f.scrollLeft||g&&g.scrollLeft||0)-(f&&f.clientLeft||g&&g.clientLeft||0),a.pageY=c.clientY+(f&&f.scrollTop||g&&g.scrollTop||0)-(f&&f.clientTop||g&&g.clientTop||0)),!a.relatedTarget&&i&&(a.relatedTarget=i===a.target?c.toElement:i),!a.which&&h!==b&&(a.which=h&1?1:h&2?3:h&4?2:0),a
  1882.             }
  1883.         }
  1884.         ,fix:function(a)
  1885.             {
  1886.             if(a[p.expando])return a;
  1887.             var b,c,d=a,f=p.event.fixHooks[a.type]||
  1888.                 {
  1889.             }
  1890.             ,g=f.props?this.props.concat(f.props):this.props;
  1891.             a=p.Event(d);
  1892.             for(b=g.length;
  1893.             b;
  1894.             )c=g[--b],a[c]=d[c];
  1895.             return a.target||(a.target=d.srcElement||e),a.target.nodeType===3&&(a.target=a.target.parentNode),a.metaKey=!!a.metaKey,f.filter?f.filter(a,d):a
  1896.         }
  1897.         ,special:
  1898.             {
  1899.             load:
  1900.                 {
  1901.                 noBubble:!0
  1902.             }
  1903.             ,focus:
  1904.                 {
  1905.                 delegateType:"focusin"
  1906.             }
  1907.             ,blur:
  1908.                 {
  1909.                 delegateType:"focusout"
  1910.             }
  1911.             ,beforeunload:
  1912.                 {
  1913.                 setup:function(a,b,c)
  1914.                     {
  1915.                     p.isWindow(this)&&(this.onbeforeunload=c)
  1916.                 }
  1917.                 ,teardown:function(a,b)
  1918.                     {
  1919.                     this.onbeforeunload===b&&(this.onbeforeunload=null)
  1920.                 }
  1921.             }
  1922.         }
  1923.         ,simulate:function(a,b,c,d)
  1924.             {
  1925.             var e=p.extend(new p.Event,c,
  1926.                 {
  1927.                 type:a,isSimulated:!0,originalEvent:
  1928.                     {
  1929.                 }
  1930.             }
  1931.             );
  1932.             d?p.event.trigger(e,null,b):p.event.dispatch.call(b,e),e.isDefaultPrevented()&&c.preventDefault()
  1933.         }
  1934.     }
  1935.     ,p.event.handle=p.event.dispatch,p.removeEvent=e.removeEventListener?function(a,b,c)
  1936.         {
  1937.         a.removeEventListener&&a.removeEventListener(b,c,!1)
  1938.     }
  1939.     :function(a,b,c)
  1940.         {
  1941.         var d="on"+b;
  1942.         a.detachEvent&&(typeof a[d]=="undefined"&&(a[d]=null),a.detachEvent(d,c))
  1943.     }
  1944.     ,p.Event=function(a,b)
  1945.         {
  1946.         if(this instanceof p.Event)a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||a.returnValue===!1||a.getPreventDefault&&a.getPreventDefault()?bb:ba):this.type=a,b&&p.extend(this,b),this.timeStamp=a&&a.timeStamp||p.now(),this[p.expando]=!0;
  1947.         else return new p.Event(a,b)
  1948.     }
  1949.     ,p.Event.prototype=
  1950.         {
  1951.         preventDefault:function()
  1952.             {
  1953.             this.isDefaultPrevented=bb;
  1954.             var a=this.originalEvent;
  1955.             if(!a)return;
  1956.             a.preventDefault?a.preventDefault():a.returnValue=!1
  1957.         }
  1958.         ,stopPropagation:function()
  1959.             {
  1960.             this.isPropagationStopped=bb;
  1961.             var a=this.originalEvent;
  1962.             if(!a)return;
  1963.             a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0
  1964.         }
  1965.         ,stopImmediatePropagation:function()
  1966.             {
  1967.             this.isImmediatePropagationStopped=bb,this.stopPropagation()
  1968.         }
  1969.         ,isDefaultPrevented:ba,isPropagationStopped:ba,isImmediatePropagationStopped:ba
  1970.     }
  1971.     ,p.each(
  1972.         {
  1973.         mouseenter:"mouseover",mouseleave:"mouseout"
  1974.     }
  1975.     ,function(a,b)
  1976.         {
  1977.         p.event.special[a]=
  1978.             {
  1979.             delegateType:b,bindType:b,handle:function(a)
  1980.                 {
  1981.                 var c,d=this,e=a.relatedTarget,f=a.handleObj,g=f.selector;
  1982.                 if(!e||e!==d&&!p.contains(d,e))a.type=f.origType,c=f.handler.apply(this,arguments),a.type=b;
  1983.                 return c
  1984.             }
  1985.         }
  1986.     }
  1987.     ),p.support.submitBubbles||(p.event.special.submit=
  1988.         {
  1989.         setup:function()
  1990.             {
  1991.             if(p.nodeName(this,"form"))return!1;
  1992.             p.event.add(this,"click._submit keypress._submit",function(a)
  1993.                 {
  1994.                 var c=a.target,d=p.nodeName(c,"input")||p.nodeName(c,"button")?c.form:b;
  1995.                 d&&!p._data(d,"_submit_attached")&&(p.event.add(d,"submit._submit",function(a)
  1996.                     {
  1997.                     a._submit_bubble=!0
  1998.                 }
  1999.                 ),p._data(d,"_submit_attached",!0))
  2000.             }
  2001.             )
  2002.         }
  2003.         ,postDispatch:function(a)
  2004.             {
  2005.             a._submit_bubble&&(delete a._submit_bubble,this.parentNode&&!a.isTrigger&&p.event.simulate("submit",this.parentNode,a,!0))
  2006.         }
  2007.         ,teardown:function()
  2008.             {
  2009.             if(p.nodeName(this,"form"))return!1;
  2010.             p.event.remove(this,"._submit")
  2011.         }
  2012.     }
  2013.     ),p.support.changeBubbles||(p.event.special.change=
  2014.         {
  2015.         setup:function()
  2016.             {
  2017.             if(V.test(this.nodeName))
  2018.                 {
  2019.                 if(this.type==="checkbox"||this.type==="radio")p.event.add(this,"propertychange._change",function(a)
  2020.                     {
  2021.                     a.originalEvent.propertyName==="checked"&&(this._just_changed=!0)
  2022.                 }
  2023.                 ),p.event.add(this,"click._change",function(a)
  2024.                     {
  2025.                     this._just_changed&&!a.isTrigger&&(this._just_changed=!1),p.event.simulate("change",this,a,!0)
  2026.                 }
  2027.                 );
  2028.                 return!1
  2029.             }
  2030.             p.event.add(this,"beforeactivate._change",function(a)
  2031.                 {
  2032.                 var b=a.target;
  2033.                 V.test(b.nodeName)&&!p._data(b,"_change_attached")&&(p.event.add(b,"change._change",function(a)
  2034.                     {
  2035.                     this.parentNode&&!a.isSimulated&&!a.isTrigger&&p.event.simulate("change",this.parentNode,a,!0)
  2036.                 }
  2037.                 ),p._data(b,"_change_attached",!0))
  2038.             }
  2039.             )
  2040.         }
  2041.         ,handle:function(a)
  2042.             {
  2043.             var b=a.target;
  2044.             if(this!==b||a.isSimulated||a.isTrigger||b.type!=="radio"&&b.type!=="checkbox")return a.handleObj.handler.apply(this,arguments)
  2045.         }
  2046.         ,teardown:function()
  2047.             {
  2048.             return p.event.remove(this,"._change"),!V.test(this.nodeName)
  2049.         }
  2050.     }
  2051.     ),p.support.focusinBubbles||p.each(
  2052.         {
  2053.         focus:"focusin",blur:"focusout"
  2054.     }
  2055.     ,function(a,b)
  2056.         {
  2057.         var c=0,d=function(a)
  2058.             {
  2059.             p.event.simulate(b,a.target,p.event.fix(a),!0)
  2060.         };
  2061.         p.event.special[b]=
  2062.             {
  2063.             setup:function()
  2064.                 {
  2065.                 c++===0&&e.addEventListener(a,d,!0)
  2066.             }
  2067.             ,teardown:function()
  2068.                 {
  2069.                 --c===0&&e.removeEventListener(a,d,!0)
  2070.             }
  2071.         }
  2072.     }
  2073.     ),p.fn.extend(
  2074.         {
  2075.         on:function(a,c,d,e,f)
  2076.             {
  2077.             var g,h;
  2078.             if(typeof a=="object")
  2079.                 {
  2080.                 typeof c!="string"&&(d=d||c,c=b);
  2081.                 for(h in a)this.on(h,c,d,a[h],f);
  2082.                 return this
  2083.             }
  2084.             d==null&&e==null?(e=c,d=c=b):e==null&&(typeof c=="string"?(e=d,d=b):(e=d,d=c,c=b));
  2085.             if(e===!1)e=ba;
  2086.             else if(!e)return this;
  2087.             return f===1&&(g=e,e=function(a)
  2088.                 {
  2089.                 return p().off(a),g.apply(this,arguments)
  2090.             }
  2091.             ,e.guid=g.guid||(g.guid=p.guid++)),this.each(function()
  2092.                 {
  2093.                 p.event.add(this,a,e,d,c)
  2094.             }
  2095.             )
  2096.         }
  2097.         ,one:function(a,b,c,d)
  2098.             {
  2099.             return this.on(a,b,c,d,1)
  2100.         }
  2101.         ,off:function(a,c,d)
  2102.             {
  2103.             var e,f;
  2104.             if(a&&a.preventDefault&&a.handleObj)return e=a.handleObj,p(a.delegateTarget).off(e.namespace?e.origType+"."+e.namespace:e.origType,e.selector,e.handler),this;
  2105.             if(typeof a=="object")
  2106.                 {
  2107.                 for(f in a)this.off(f,c,a[f]);
  2108.                 return this
  2109.             }
  2110.             if(c===!1||typeof c=="function")d=c,c=b;
  2111.             return d===!1&&(d=ba),this.each(function()
  2112.                 {
  2113.                 p.event.remove(this,a,d,c)
  2114.             }
  2115.             )
  2116.         }
  2117.         ,bind:function(a,b,c)
  2118.             {
  2119.             return this.on(a,null,b,c)
  2120.         }
  2121.         ,unbind:function(a,b)
  2122.             {
  2123.             return this.off(a,null,b)
  2124.         }
  2125.         ,live:function(a,b,c)
  2126.             {
  2127.             return p(this.context).on(a,this.selector,b,c),this
  2128.         }
  2129.         ,die:function(a,b)
  2130.             {
  2131.             return p(this.context).off(a,this.selector||"**",b),this
  2132.         }
  2133.         ,delegate:function(a,b,c,d)
  2134.             {
  2135.             return this.on(b,a,c,d)
  2136.         }
  2137.         ,undelegate:function(a,b,c)
  2138.             {
  2139.             return arguments.length===1?this.off(a,"**"):this.off(b,a||"**",c)
  2140.         }
  2141.         ,trigger:function(a,b)
  2142.             {
  2143.             return this.each(function()
  2144.                 {
  2145.                 p.event.trigger(a,b,this)
  2146.             }
  2147.             )
  2148.         }
  2149.         ,triggerHandler:function(a,b)
  2150.             {
  2151.             if(this[0])return p.event.trigger(a,b,this[0],!0)
  2152.         }
  2153.         ,toggle:function(a)
  2154.             {
  2155.             var b=arguments,c=a.guid||p.guid++,d=0,e=function(c)
  2156.                 {
  2157.                 var e=(p._data(this,"lastToggle"+a.guid)||0)%d;
  2158.                 return p._data(this,"lastToggle"+a.guid,e+1),c.preventDefault(),b[e].apply(this,arguments)||!1
  2159.             };
  2160.             e.guid=c;
  2161.             while(d<b.length)b[d++].guid=c;
  2162.             return this.click(e)
  2163.         }
  2164.         ,hover:function(a,b)
  2165.             {
  2166.             return this.mouseenter(a).mouseleave(b||a)
  2167.         }
  2168.     }
  2169.     ),p.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(a,b)
  2170.         {
  2171.         p.fn[b]=function(a,c)
  2172.             {
  2173.             return c==null&&(c=a,a=null),arguments.length>0?this.on(b,null,a,c):this.trigger(b)
  2174.         }
  2175.         ,Y.test(b)&&(p.event.fixHooks[b]=p.event.keyHooks),Z.test(b)&&(p.event.fixHooks[b]=p.event.mouseHooks)
  2176.     }
  2177.     ),function(a,b)
  2178.         {
  2179.         function bc(a,b,c,d)
  2180.             {
  2181.             c=c||[],b=b||r;
  2182.             var e,f,i,j,k=b.nodeType;
  2183.             if(!a||typeof a!="string")return c;
  2184.             if(k!==1&&k!==9)return[];
  2185.             i=g(b);
  2186.             if(!i&&!d)if(e=P.exec(a))if(j=e[1])
  2187.                 {
  2188.                 if(k===9)
  2189.                     {
  2190.                     f=b.getElementById(j);
  2191.                     if(!f||!f.parentNode)return c;
  2192.                     if(f.id===j)return c.push(f),c
  2193.                 }
  2194.                 else if(b.ownerDocument&&(f=b.ownerDocument.getElementById(j))&&h(b,f)&&f.id===j)return c.push(f),c
  2195.             }
  2196.             else
  2197.                 {
  2198.                 if(e[2])return w.apply(c,x.call(b.getElementsByTagName(a),0)),c;
  2199.                 if((j=e[3])&&_&&b.getElementsByClassName)return w.apply(c,x.call(b.getElementsByClassName(j),0)),c
  2200.             }
  2201.             return bp(a.replace(L,"$1"),b,c,d,i)
  2202.         }
  2203.         function bd(a)
  2204.             {
  2205.             return function(b)
  2206.                 {
  2207.                 var c=b.nodeName.toLowerCase();
  2208.                 return c==="input"&&b.type===a
  2209.             }
  2210.         }
  2211.         function be(a)
  2212.             {
  2213.             return function(b)
  2214.                 {
  2215.                 var c=b.nodeName.toLowerCase();
  2216.                 return(c==="input"||c==="button")&&b.type===a
  2217.             }
  2218.         }
  2219.         function bf(a)
  2220.             {
  2221.             return z(function(b)
  2222.                 {
  2223.                 return b=+b,z(function(c,d)
  2224.                     {
  2225.                     var e,f=a([],c.length,b),g=f.length;
  2226.                     while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))
  2227.                 }
  2228.                 )
  2229.             }
  2230.             )
  2231.         }
  2232.         function bg(a,b,c)
  2233.             {
  2234.             if(a===b)return c;
  2235.             var d=a.nextSibling;
  2236.             while(d)
  2237.                 {
  2238.                 if(d===b)return-1;
  2239.                 d=d.nextSibling
  2240.             }
  2241.             return 1
  2242.         }
  2243.         function bh(a,b)
  2244.             {
  2245.             var c,d,f,g,h,i,j,k=C[o][a];
  2246.             if(k)return b?0:k.slice(0);
  2247.             h=a,i=[],j=e.preFilter;
  2248.             while(h)
  2249.                 {
  2250.                 if(!c||(d=M.exec(h)))d&&(h=h.slice(d[0].length)),i.push(f=[]);
  2251.                 c=!1;
  2252.                 if(d=N.exec(h))f.push(c=new q(d.shift())),h=h.slice(c.length),c.type=d[0].replace(L," ");
  2253.                 for(g in e.filter)(d=W[g].exec(h))&&(!j[g]||(d=j[g](d,r,!0)))&&(f.push(c=new q(d.shift())),h=h.slice(c.length),c.type=g,c.matches=d);
  2254.                 if(!c)break
  2255.             }
  2256.             return b?h.length:h?bc.error(a):C(a,i).slice(0)
  2257.         }
  2258.         function bi(a,b,d)
  2259.             {
  2260.             var e=b.dir,f=d&&b.dir==="parentNode",g=u++;
  2261.             return b.first?function(b,c,d)
  2262.                 {
  2263.                 while(b=b[e])if(f||b.nodeType===1)return a(b,c,d)
  2264.             }
  2265.             :function(b,d,h)
  2266.                 {
  2267.                 if(!h)
  2268.                     {
  2269.                     var i,j=t+" "+g+" ",k=j+c;
  2270.                     while(b=b[e])if(f||b.nodeType===1)
  2271.                         {
  2272.                         if((i=b[o])===k)return b.sizset;
  2273.                         if(typeof i=="string"&&i.indexOf(j)===0)
  2274.                             {
  2275.                             if(b.sizset)return b
  2276.                         }
  2277.                         else
  2278.                             {
  2279.                             b[o]=k;
  2280.                             if(a(b,d,h))return b.sizset=!0,b;
  2281.                             b.sizset=!1
  2282.                         }
  2283.                     }
  2284.                 }
  2285.                 else while(b=b[e])if(f||b.nodeType===1)if(a(b,d,h))return b
  2286.             }
  2287.         }
  2288.         function bj(a)
  2289.             {
  2290.             return a.length>1?function(b,c,d)
  2291.                 {
  2292.                 var e=a.length;
  2293.                 while(e--)if(!a[e](b,c,d))return!1;
  2294.                 return!0
  2295.             }
  2296.             :a[0]
  2297.         }
  2298.         function bk(a,b,c,d,e)
  2299.             {
  2300.             var f,g=[],h=0,i=a.length,j=b!=null;
  2301.             for(;
  2302.             h<i;
  2303.             h++)if(f=a[h])if(!c||c(f,d,e))g.push(f),j&&b.push(h);
  2304.             return g
  2305.         }
  2306.         function bl(a,b,c,d,e,f)
  2307.             {
  2308.             return d&&!d[o]&&(d=bl(d)),e&&!e[o]&&(e=bl(e,f)),z(function(f,g,h,i)
  2309.                 {
  2310.                 if(f&&e)return;
  2311.                 var j,k,l,m=[],n=[],o=g.length,p=f||bo(b||"*",h.nodeType?[h]:h,[],f),q=a&&(f||!b)?bk(p,m,a,h,i):p,r=c?e||(f?a:o||d)?[]:g:q;
  2312.                 c&&c(q,r,h,i);
  2313.                 if(d)
  2314.                     {
  2315.                     l=bk(r,n),d(l,[],h,i),j=l.length;
  2316.                     while(j--)if(k=l[j])r[n[j]]=!(q[n[j]]=k)
  2317.                 }
  2318.                 if(f)
  2319.                     {
  2320.                     j=a&&r.length;
  2321.                     while(j--)if(k=r[j])f[m[j]]=!(g[m[j]]=k)
  2322.                 }
  2323.                 else r=bk(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):w.apply(g,r)
  2324.             }
  2325.             )
  2326.         }
  2327.         function bm(a)
  2328.             {
  2329.             var b,c,d,f=a.length,g=e.relative[a[0].type],h=g||e.relative[" "],i=g?1:0,j=bi(function(a)
  2330.                 {
  2331.                 return a===b
  2332.             }
  2333.             ,h,!0),k=bi(function(a)
  2334.                 {
  2335.                 return y.call(b,a)>-1
  2336.             }
  2337.             ,h,!0),m=[function(a,c,d)
  2338.                 {
  2339.                 return!g&&(d||c!==l)||((b=c).nodeType?j(a,c,d):k(a,c,d))
  2340.             }
  2341.             ];
  2342.             for(;
  2343.             i<f;
  2344.             i++)if(c=e.relative[a[i].type])m=[bi(bj(m),c)];
  2345.             else
  2346.                 {
  2347.                 c=e.filter[a[i].type].apply(null,a[i].matches);
  2348.                 if(c[o])
  2349.                     {
  2350.                     d=++i;
  2351.                     for(;
  2352.                     d<f;
  2353.                     d++)if(e.relative[a[d].type])break;
  2354.                     return bl(i>1&&bj(m),i>1&&a.slice(0,i-1).join("").replace(L,"$1"),c,i<d&&bm(a.slice(i,d)),d<f&&bm(a=a.slice(d)),d<f&&a.join(""))
  2355.                 }
  2356.                 m.push(c)
  2357.             }
  2358.             return bj(m)
  2359.         }
  2360.         function bn(a,b)
  2361.             {
  2362.             var d=b.length>0,f=a.length>0,g=function(h,i,j,k,m)
  2363.                 {
  2364.                 var n,o,p,q=[],s=0,u="0",x=h&&[],y=m!=null,z=l,A=h||f&&e.find.TAG("*",m&&i.parentNode||i),B=t+=z==null?1:Math.E;
  2365.                 y&&(l=i!==r&&i,c=g.el);
  2366.                 for(;
  2367.                 (n=A[u])!=null;
  2368.                 u++)
  2369.                     {
  2370.                     if(f&&n)
  2371.                         {
  2372.                         for(o=0;
  2373.                         p=a[o];
  2374.                         o++)if(p(n,i,j))
  2375.                             {
  2376.                             k.push(n);
  2377.                             break
  2378.                         }
  2379.                         y&&(t=B,c=++g.el)
  2380.                     }
  2381.                     d&&((n=!p&&n)&&s--,h&&x.push(n))
  2382.                 }
  2383.                 s+=u;
  2384.                 if(d&&u!==s)
  2385.                     {
  2386.                     for(o=0;
  2387.                     p=b[o];
  2388.                     o++)p(x,q,i,j);
  2389.                     if(h)
  2390.                         {
  2391.                         if(s>0)while(u--)!x[u]&&!q[u]&&(q[u]=v.call(k));
  2392.                         q=bk(q)
  2393.                     }
  2394.                     w.apply(k,q),y&&!h&&q.length>0&&s+b.length>1&&bc.uniqueSort(k)
  2395.                 }
  2396.                 return y&&(t=B,l=z),x
  2397.             };
  2398.             return g.el=0,d?z(g):g
  2399.         }
  2400.         function bo(a,b,c,d)
  2401.             {
  2402.             var e=0,f=b.length;
  2403.             for(;
  2404.             e<f;
  2405.             e++)bc(a,b[e],c,d);
  2406.             return c
  2407.         }
  2408.         function bp(a,b,c,d,f)
  2409.             {
  2410.             var g,h,j,k,l,m=bh(a),n=m.length;
  2411.             if(!d&&m.length===1)
  2412.                 {
  2413.                 h=m[0]=m[0].slice(0);
  2414.                 if(h.length>2&&(j=h[0]).type==="ID"&&b.nodeType===9&&!f&&e.relative[h[1].type])
  2415.                     {
  2416.                     b=e.find.ID(j.matches[0].replace(V,""),b,f)[0];
  2417.                     if(!b)return c;
  2418.                     a=a.slice(h.shift().length)
  2419.                 }
  2420.                 for(g=W.POS.test(a)?-1:h.length-1;
  2421.                 g>=0;
  2422.                 g--)
  2423.                     {
  2424.                     j=h[g];
  2425.                     if(e.relative[k=j.type])break;
  2426.                     if(l=e.find[k])if(d=l(j.matches[0].replace(V,""),R.test(h[0].type)&&b.parentNode||b,f))
  2427.                         {
  2428.                         h.splice(g,1),a=d.length&&h.join("");
  2429.                         if(!a)return w.apply(c,x.call(d,0)),c;
  2430.                         break
  2431.                     }
  2432.                 }
  2433.             }
  2434.             return i(a,m)(d,b,f,c,R.test(a)),c
  2435.         }
  2436.         function bq()
  2437.             {
  2438.         }
  2439.         var c,d,e,f,g,h,i,j,k,l,m=!0,n="undefined",o=("sizcache"+Math.random()).replace(".",""),q=String,r=a.document,s=r.documentElement,t=0,u=0,v=[].pop,w=[].push,x=[].slice,y=[].indexOf||function(a)
  2440.             {
  2441.             var b=0,c=this.length;
  2442.             for(;
  2443.             b<c;
  2444.             b++)if(this[b]===a)return b;
  2445.             return-1
  2446.         }
  2447.         ,z=function(a,b)
  2448.             {
  2449.             return a[o]=b==null||b,a
  2450.         }
  2451.         ,A=function()
  2452.             {
  2453.             var a=
  2454.                 {
  2455.             }
  2456.             ,b=[];
  2457.             return z(function(c,d)
  2458.                 {
  2459.                 return b.push(c)>e.cacheLength&&delete a[b.shift()],a[c]=d
  2460.             }
  2461.             ,a)
  2462.         }
  2463.         ,B=A(),C=A(),D=A(),E="[\\x20\\t\\r\\n\\f]",F="(?:\\\\.|[-\\w]|[^\\x00-\\xa0])+",G=F.replace("w","w#"),H="([*^$|!~]?=)",I="\\["+E+"*("+F+")"+E+"*(?:"+H+E+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+G+")|)|)"+E+"*\\]",J=":("+F+")(?:\\((?:(['\"])((?:\\\\.|[^\\\\])*?)\\2|([^()[\\]]*|(?:(?:"+I+")|[^:]|\\\\.)*|.*))\\)|)",K=":(even|odd|eq|gt|lt|nth|first|last)(?:\\("+E+"*((?:-\\d)?\\d*)"+E+"*\\)|)(?=[^-]|$)",L=new RegExp("^"+E+"+|((?:^|[^\\\\])(?:\\\\.)*)"+E+"+$","g"),M=new RegExp("^"+E+"*,"+E+"*"),N=new RegExp("^"+E+"*([\\x20\\t\\r\\n\\f>+~])"+E+"*"),O=new RegExp(J),P=/^(?:#([\w\-]+)|(\w+)|\.([\w\-]+))$/,Q=/^:not/,R=/[\x20\t\r\n\f]*[+~]/,S=/:not\($/,T=/h\d/i,U=/input|select|textarea|button/i,V=/\\(?!\\)/g,W=
  2464.             {
  2465.             ID:new RegExp("^#("+F+")"),CLASS:new RegExp("^\\.("+F+")"),NAME:new RegExp("^\\[name=['\"]?("+F+")['\"]?\\]"),TAG:new RegExp("^("+F.replace("w","w*")+")"),ATTR:new RegExp("^"+I),PSEUDO:new RegExp("^"+J),POS:new RegExp(K,"i"),CHILD:new RegExp("^:(only|nth|first|last)-child(?:\\("+E+"*(even|odd|(([+-]|)(\\d*)n|)"+E+"*(?:([+-]|)"+E+"*(\\d+)|))"+E+"*\\)|)","i"),needsContext:new RegExp("^"+E+"*[>+~]|"+K,"i")
  2466.         }
  2467.         ,X=function(a)
  2468.             {
  2469.             var b=r.createElement("div");
  2470.             try
  2471.                 {
  2472.                 return a(b)
  2473.             }
  2474.             catch(c)
  2475.                 {
  2476.                 return!1
  2477.             }
  2478.             finally
  2479.                 {
  2480.                 b=null
  2481.             }
  2482.         }
  2483.         ,Y=X(function(a)
  2484.             {
  2485.             return a.appendChild(r.createComment("")),!a.getElementsByTagName("*").length
  2486.         }
  2487.         ),Z=X(function(a)
  2488.             {
  2489.             return a.innerHTML="<a href='#'></a>",a.firstChild&&typeof a.firstChild.getAttribute!==n&&a.firstChild.getAttribute("href")==="#"
  2490.         }
  2491.         ),$=X(function(a)
  2492.             {
  2493.             a.innerHTML="<select></select>";
  2494.             var b=typeof a.lastChild.getAttribute("multiple");
  2495.             return b!=="boolean"&&b!=="string"
  2496.         }
  2497.         ),_=X(function(a)
  2498.             {
  2499.             return a.innerHTML="<div class='hidden e'></div><div class='hidden'></div>",!a.getElementsByClassName||!a.getElementsByClassName("e").length?!1:(a.lastChild.className="e",a.getElementsByClassName("e").length===2)
  2500.         }
  2501.         ),ba=X(function(a)
  2502.             {
  2503.             a.id=o+0,a.innerHTML="<a name='"+o+"'></a><div name='"+o+"'></div>",s.insertBefore(a,s.firstChild);
  2504.             var b=r.getElementsByName&&r.getElementsByName(o).length===2+r.getElementsByName(o+0).length;
  2505.             return d=!r.getElementById(o),s.removeChild(a),b
  2506.         }
  2507.         );
  2508.         try
  2509.             {
  2510.             x.call(s.childNodes,0)[0].nodeType
  2511.         }
  2512.         catch(bb)
  2513.             {
  2514.             x=function(a)
  2515.                 {
  2516.                 var b,c=[];
  2517.                 for(;
  2518.                 b=this[a];
  2519.                 a++)c.push(b);
  2520.                 return c
  2521.             }
  2522.         }
  2523.         bc.matches=function(a,b)
  2524.             {
  2525.             return bc(a,null,null,b)
  2526.         }
  2527.         ,bc.matchesSelector=function(a,b)
  2528.             {
  2529.             return bc(b,null,null,[a]).length>0
  2530.         }
  2531.         ,f=bc.getText=function(a)
  2532.             {
  2533.             var b,c="",d=0,e=a.nodeType;
  2534.             if(e)
  2535.                 {
  2536.                 if(e===1||e===9||e===11)
  2537.                     {
  2538.                     if(typeof a.textContent=="string")return a.textContent;
  2539.                     for(a=a.firstChild;
  2540.                     a;
  2541.                     a=a.nextSibling)c+=f(a)
  2542.                 }
  2543.                 else if(e===3||e===4)return a.nodeValue
  2544.             }
  2545.             else for(;
  2546.             b=a[d];
  2547.             d++)c+=f(b);
  2548.             return c
  2549.         }
  2550.         ,g=bc.isXML=function(a)
  2551.             {
  2552.             var b=a&&(a.ownerDocument||a).documentElement;
  2553.             return b?b.nodeName!=="HTML":!1
  2554.         }
  2555.         ,h=bc.contains=s.contains?function(a,b)
  2556.             {
  2557.             var c=a.nodeType===9?a.documentElement:a,d=b&&b.parentNode;
  2558.             return a===d||!!(d&&d.nodeType===1&&c.contains&&c.contains(d))
  2559.         }
  2560.         :s.compareDocumentPosition?function(a,b)
  2561.             {
  2562.             return b&&!!(a.compareDocumentPosition(b)&16)
  2563.         }
  2564.         :function(a,b)
  2565.             {
  2566.             while(b=b.parentNode)if(b===a)return!0;
  2567.             return!1
  2568.         }
  2569.         ,bc.attr=function(a,b)
  2570.             {
  2571.             var c,d=g(a);
  2572.             return d||(b=b.toLowerCase()),(c=e.attrHandle[b])?c(a):d||$?a.getAttribute(b):(c=a.getAttributeNode(b),c?typeof a[b]=="boolean"?a[b]?b:null:c.specified?c.value:null:null)
  2573.         }
  2574.         ,e=bc.selectors=
  2575.             {
  2576.             cacheLength:50,createPseudo:z,match:W,attrHandle:Z?
  2577.                 {
  2578.             }
  2579.             :
  2580.                 {
  2581.                 href:function(a)
  2582.                     {
  2583.                     return a.getAttribute("href",2)
  2584.                 }
  2585.                 ,type:function(a)
  2586.                     {
  2587.                     return a.getAttribute("type")
  2588.                 }
  2589.             }
  2590.             ,find:
  2591.                 {
  2592.                 ID:d?function(a,b,c)
  2593.                     {
  2594.                     if(typeof b.getElementById!==n&&!c)
  2595.                         {
  2596.                         var d=b.getElementById(a);
  2597.                         return d&&d.parentNode?[d]:[]
  2598.                     }
  2599.                 }
  2600.                 :function(a,c,d)
  2601.                     {
  2602.                     if(typeof c.getElementById!==n&&!d)
  2603.                         {
  2604.                         var e=c.getElementById(a);
  2605.                         return e?e.id===a||typeof e.getAttributeNode!==n&&e.getAttributeNode("id").value===a?[e]:b:[]
  2606.                     }
  2607.                 }
  2608.                 ,TAG:Y?function(a,b)
  2609.                     {
  2610.                     if(typeof b.getElementsByTagName!==n)return b.getElementsByTagName(a)
  2611.                 }
  2612.                 :function(a,b)
  2613.                     {
  2614.                     var c=b.getElementsByTagName(a);
  2615.                     if(a==="*")
  2616.                         {
  2617.                         var d,e=[],f=0;
  2618.                         for(;
  2619.                         d=c[f];
  2620.                         f++)d.nodeType===1&&e.push(d);
  2621.                         return e
  2622.                     }
  2623.                     return c
  2624.                 }
  2625.                 ,NAME:ba&&function(a,b)
  2626.                     {
  2627.                     if(typeof b.getElementsByName!==n)return b.getElementsByName(name)
  2628.                 }
  2629.                 ,CLASS:_&&function(a,b,c)
  2630.                     {
  2631.                     if(typeof b.getElementsByClassName!==n&&!c)return b.getElementsByClassName(a)
  2632.                 }
  2633.             }
  2634.             ,relative:
  2635.                 {
  2636.                 ">":
  2637.                     {
  2638.                     dir:"parentNode",first:!0
  2639.                 }
  2640.                 ," ":
  2641.                     {
  2642.                     dir:"parentNode"
  2643.                 }
  2644.                 ,"+":
  2645.                     {
  2646.                     dir:"previousSibling",first:!0
  2647.                 }
  2648.                 ,"~":
  2649.                     {
  2650.                     dir:"previousSibling"
  2651.                 }
  2652.             }
  2653.             ,preFilter:
  2654.                 {
  2655.                 ATTR:function(a)
  2656.                     {
  2657.                     return a[1]=a[1].replace(V,""),a[3]=(a[4]||a[5]||"").replace(V,""),a[2]==="~="&&(a[3]=" "+a[3]+" "),a.slice(0,4)
  2658.                 }
  2659.                 ,CHILD:function(a)
  2660.                     {
  2661.                     return a[1]=a[1].toLowerCase(),a[1]==="nth"?(a[2]||bc.error(a[0]),a[3]=+(a[3]?a[4]+(a[5]||1):2*(a[2]==="even"||a[2]==="odd")),a[4]=+(a[6]+a[7]||a[2]==="odd")):a[2]&&bc.error(a[0]),a
  2662.                 }
  2663.                 ,PSEUDO:function(a)
  2664.                     {
  2665.                     var b,c;
  2666.                     if(W.CHILD.test(a[0]))return null;
  2667.                     if(a[3])a[2]=a[3];
  2668.                     else if(b=a[4])O.test(b)&&(c=bh(b,!0))&&(c=b.indexOf(")",b.length-c)-b.length)&&(b=b.slice(0,c),a[0]=a[0].slice(0,c)),a[2]=b;
  2669.                     return a.slice(0,3)
  2670.                 }
  2671.             }
  2672.             ,filter:
  2673.                 {
  2674.                 ID:d?function(a)
  2675.                     {
  2676.                     return a=a.replace(V,""),function(b)
  2677.                         {
  2678.                         return b.getAttribute("id")===a
  2679.                     }
  2680.                 }
  2681.                 :function(a)
  2682.                     {
  2683.                     return a=a.replace(V,""),function(b)
  2684.                         {
  2685.                         var c=typeof b.getAttributeNode!==n&&b.getAttributeNode("id");
  2686.                         return c&&c.value===a
  2687.                     }
  2688.                 }
  2689.                 ,TAG:function(a)
  2690.                     {
  2691.                     return a==="*"?function()
  2692.                         {
  2693.                         return!0
  2694.                     }
  2695.                     :(a=a.replace(V,"").toLowerCase(),function(b)
  2696.                         {
  2697.                         return b.nodeName&&b.nodeName.toLowerCase()===a
  2698.                     }
  2699.                     )
  2700.                 }
  2701.                 ,CLASS:function(a)
  2702.                     {
  2703.                     var b=B[o][a];
  2704.                     return b||(b=B(a,new RegExp("(^|"+E+")"+a+"("+E+"|$)"))),function(a)
  2705.                         {
  2706.                         return b.test(a.className||typeof a.getAttribute!==n&&a.getAttribute("class")||"")
  2707.                     }
  2708.                 }
  2709.                 ,ATTR:function(a,b,c)
  2710.                     {
  2711.                     return function(d,e)
  2712.                         {
  2713.                         var f=bc.attr(d,a);
  2714.                         return f==null?b==="!=":b?(f+="",b==="="?f===c:b==="!="?f!==c:b==="^="?c&&f.indexOf(c)===0:b==="*="?c&&f.indexOf(c)>-1:b==="$="?c&&f.substr(f.length-c.length)===c:b==="~="?(" "+f+" ").indexOf(c)>-1:b==="|="?f===c||f.substr(0,c.length+1)===c+"-":!1):!0
  2715.                     }
  2716.                 }
  2717.                 ,CHILD:function(a,b,c,d)
  2718.                     {
  2719.                     return a==="nth"?function(a)
  2720.                         {
  2721.                         var b,e,f=a.parentNode;
  2722.                         if(c===1&&d===0)return!0;
  2723.                         if(f)
  2724.                             {
  2725.                             e=0;
  2726.                             for(b=f.firstChild;
  2727.                             b;
  2728.                             b=b.nextSibling)if(b.nodeType===1)
  2729.                                 {
  2730.                                 e++;
  2731.                                 if(a===b)break
  2732.                             }
  2733.                         }
  2734.                         return e-=d,e===c||e%c===0&&e/c>=0
  2735.                     }
  2736.                     :function(b)
  2737.                         {
  2738.                         var c=b;
  2739.                         switch(a)
  2740.                             {
  2741.                             case"only":case"first":while(c=c.previousSibling)if(c.nodeType===1)return!1;
  2742.                             if(a==="first")return!0;
  2743.                             c=b;
  2744.                             case"last":while(c=c.nextSibling)if(c.nodeType===1)return!1;
  2745.                             return!0
  2746.                         }
  2747.                     }
  2748.                 }
  2749.                 ,PSEUDO:function(a,b)
  2750.                     {
  2751.                     var c,d=e.pseudos[a]||e.setFilters[a.toLowerCase()]||bc.error("unsupported pseudo: "+a);
  2752.                     return d[o]?d(b):d.length>1?(c=[a,a,"",b],e.setFilters.hasOwnProperty(a.toLowerCase())?z(function(a,c)
  2753.                         {
  2754.                         var e,f=d(a,b),g=f.length;
  2755.                         while(g--)e=y.call(a,f[g]),a[e]=!(c[e]=f[g])
  2756.                     }
  2757.                     ):function(a)
  2758.                         {
  2759.                         return d(a,0,c)
  2760.                     }
  2761.                     ):d
  2762.                 }
  2763.             }
  2764.             ,pseudos:
  2765.                 {
  2766.                 not:z(function(a)
  2767.                     {
  2768.                     var b=[],c=[],d=i(a.replace(L,"$1"));
  2769.                     return d[o]?z(function(a,b,c,e)
  2770.                         {
  2771.                         var f,g=d(a,null,e,[]),h=a.length;
  2772.                         while(h--)if(f=g[h])a[h]=!(b[h]=f)
  2773.                     }
  2774.                     ):function(a,e,f)
  2775.                         {
  2776.                         return b[0]=a,d(b,null,f,c),!c.pop()
  2777.                     }
  2778.                 }
  2779.                 ),has:z(function(a)
  2780.                     {
  2781.                     return function(b)
  2782.                         {
  2783.                         return bc(a,b).length>0
  2784.                     }
  2785.                 }
  2786.                 ),contains:z(function(a)
  2787.                     {
  2788.                     return function(b)
  2789.                         {
  2790.                         return(b.textContent||b.innerText||f(b)).indexOf(a)>-1
  2791.                     }
  2792.                 }
  2793.                 ),enabled:function(a)
  2794.                     {
  2795.                     return a.disabled===!1
  2796.                 }
  2797.                 ,disabled:function(a)
  2798.                     {
  2799.                     return a.disabled===!0
  2800.                 }
  2801.                 ,checked:function(a)
  2802.                     {
  2803.                     var b=a.nodeName.toLowerCase();
  2804.                     return b==="input"&&!!a.checked||b==="option"&&!!a.selected
  2805.                 }
  2806.                 ,selected:function(a)
  2807.                     {
  2808.                     return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0
  2809.                 }
  2810.                 ,parent:function(a)
  2811.                     {
  2812.                     return!e.pseudos.empty(a)
  2813.                 }
  2814.                 ,empty:function(a)
  2815.                     {
  2816.                     var b;
  2817.                     a=a.firstChild;
  2818.                     while(a)
  2819.                         {
  2820.                         if(a.nodeName>"@"||(b=a.nodeType)===3||b===4)return!1;
  2821.                         a=a.nextSibling
  2822.                     }
  2823.                     return!0
  2824.                 }
  2825.                 ,header:function(a)
  2826.                     {
  2827.                     return T.test(a.nodeName)
  2828.                 }
  2829.                 ,text:function(a)
  2830.                     {
  2831.                     var b,c;
  2832.                     return a.nodeName.toLowerCase()==="input"&&(b=a.type)==="text"&&((c=a.getAttribute("type"))==null||c.toLowerCase()===b)
  2833.                 }
  2834.                 ,radio:bd("radio"),checkbox:bd("checkbox"),file:bd("file"),password:bd("password"),image:bd("image"),submit:be("submit"),reset:be("reset"),button:function(a)
  2835.                     {
  2836.                     var b=a.nodeName.toLowerCase();
  2837.                     return b==="input"&&a.type==="button"||b==="button"
  2838.                 }
  2839.                 ,input:function(a)
  2840.                     {
  2841.                     return U.test(a.nodeName)
  2842.                 }
  2843.                 ,focus:function(a)
  2844.                     {
  2845.                     var b=a.ownerDocument;
  2846.                     return a===b.activeElement&&(!b.hasFocus||b.hasFocus())&&(!!a.type||!!a.href)
  2847.                 }
  2848.                 ,active:function(a)
  2849.                     {
  2850.                     return a===a.ownerDocument.activeElement
  2851.                 }
  2852.                 ,first:bf(function(a,b,c)
  2853.                     {
  2854.                     return[0]
  2855.                 }
  2856.                 ),last:bf(function(a,b,c)
  2857.                     {
  2858.                     return[b-1]
  2859.                 }
  2860.                 ),eq:bf(function(a,b,c)
  2861.                     {
  2862.                     return[c<0?c+b:c]
  2863.                 }
  2864.                 ),even:bf(function(a,b,c)
  2865.                     {
  2866.                     for(var d=0;
  2867.                     d<b;
  2868.                     d+=2)a.push(d);
  2869.                     return a
  2870.                 }
  2871.                 ),odd:bf(function(a,b,c)
  2872.                     {
  2873.                     for(var d=1;
  2874.                     d<b;
  2875.                     d+=2)a.push(d);
  2876.                     return a
  2877.                 }
  2878.                 ),lt:bf(function(a,b,c)
  2879.                     {
  2880.                     for(var d=c<0?c+b:c;
  2881.                     --d>=0;
  2882.                     )a.push(d);
  2883.                     return a
  2884.                 }
  2885.                 ),gt:bf(function(a,b,c)
  2886.                     {
  2887.                     for(var d=c<0?c+b:c;
  2888.                     ++d<b;
  2889.                     )a.push(d);
  2890.                     return a
  2891.                 }
  2892.                 )
  2893.             }
  2894.         }
  2895.         ,j=s.compareDocumentPosition?function(a,b)
  2896.             {
  2897.             return a===b?(k=!0,0):(!a.compareDocumentPosition||!b.compareDocumentPosition?a.compareDocumentPosition:a.compareDocumentPosition(b)&4)?-1:1
  2898.         }
  2899.         :function(a,b)
  2900.             {
  2901.             if(a===b)return k=!0,0;
  2902.             if(a.sourceIndex&&b.sourceIndex)return a.sourceIndex-b.sourceIndex;
  2903.             var c,d,e=[],f=[],g=a.parentNode,h=b.parentNode,i=g;
  2904.             if(g===h)return bg(a,b);
  2905.             if(!g)return-1;
  2906.             if(!h)return 1;
  2907.             while(i)e.unshift(i),i=i.parentNode;
  2908.             i=h;
  2909.             while(i)f.unshift(i),i=i.parentNode;
  2910.             c=e.length,d=f.length;
  2911.             for(var j=0;
  2912.             j<c&&j<d;
  2913.             j++)if(e[j]!==f[j])return bg(e[j],f[j]);
  2914.             return j===c?bg(a,f[j],-1):bg(e[j],b,1)
  2915.         }
  2916.         ,[0,0].sort(j),m=!k,bc.uniqueSort=function(a)
  2917.             {
  2918.             var b,c=1;
  2919.             k=m,a.sort(j);
  2920.             if(k)for(;
  2921.             b=a[c];
  2922.             c++)b===a[c-1]&&a.splice(c--,1);
  2923.             return a
  2924.         }
  2925.         ,bc.error=function(a)
  2926.             {
  2927.             throw new Error("Syntax error, unrecognized expression: "+a)
  2928.         }
  2929.         ,i=bc.compile=function(a,b)
  2930.             {
  2931.             var c,d=[],e=[],f=D[o][a];
  2932.             if(!f)
  2933.                 {
  2934.                 b||(b=bh(a)),c=b.length;
  2935.                 while(c--)f=bm(b[c]),f[o]?d.push(f):e.push(f);
  2936.                 f=D(a,bn(e,d))
  2937.             }
  2938.             return f
  2939.         }
  2940.         ,r.querySelectorAll&&function()
  2941.             {
  2942.             var a,b=bp,c=/'|\\/g,d=/\=[\x20\t\r\n\f]*([^'"\]]*)[\x20\t\r\n\f]*\]/g,e=[":focus"],f=[":active",":focus"],h=s.matchesSelector||s.mozMatchesSelector||s.webkitMatchesSelector||s.oMatchesSelector||s.msMatchesSelector;
  2943.             X(function(a)
  2944.                 {
  2945.                 a.innerHTML="<select><option selected=''></option></select>",a.querySelectorAll("[selected]").length||e.push("\\["+E+"*(?:checked|disabled|ismap|multiple|readonly|selected|value)"),a.querySelectorAll(":checked").length||e.push(":checked")
  2946.             }
  2947.             ),X(function(a)
  2948.                 {
  2949.                 a.innerHTML="<p test=''></p>",a.querySelectorAll("[test^='']").length&&e.push("[*^$]="+E+"*(?:\"\"|'')"),a.innerHTML="<input type='hidden'/>",a.querySelectorAll(":enabled").length||e.push(":enabled",":disabled")
  2950.             }
  2951.             ),e=new RegExp(e.join("|")),bp=function(a,d,f,g,h)
  2952.                 {
  2953.                 if(!g&&!h&&(!e||!e.test(a)))
  2954.                     {
  2955.                     var i,j,k=!0,l=o,m=d,n=d.nodeType===9&&a;
  2956.                     if(d.nodeType===1&&d.nodeName.toLowerCase()!=="object")
  2957.                         {
  2958.                         i=bh(a),(k=d.getAttribute("id"))?l=k.replace(c,"\\$&"):d.setAttribute("id",l),l="[id='"+l+"'] ",j=i.length;
  2959.                         while(j--)i[j]=l+i[j].join("");
  2960.                         m=R.test(a)&&d.parentNode||d,n=i.join(",")
  2961.                     }
  2962.                     if(n)try
  2963.                         {
  2964.                         return w.apply(f,x.call(m.querySelectorAll(n),0)),f
  2965.                     }
  2966.                     catch(p)
  2967.                         {
  2968.                     }
  2969.                     finally
  2970.                         {
  2971.                         k||d.removeAttribute("id")
  2972.                     }
  2973.                 }
  2974.                 return b(a,d,f,g,h)
  2975.             }
  2976.             ,h&&(X(function(b)
  2977.                 {
  2978.                 a=h.call(b,"div");
  2979.                 try
  2980.                     {
  2981.                     h.call(b,"[test!='']:sizzle"),f.push("!=",J)
  2982.                 }
  2983.                 catch(c)
  2984.                     {
  2985.                 }
  2986.             }
  2987.             ),f=new RegExp(f.join("|")),bc.matchesSelector=function(b,c)
  2988.                 {
  2989.                 c=c.replace(d,"='$1']");
  2990.                 if(!g(b)&&!f.test(c)&&(!e||!e.test(c)))try
  2991.                     {
  2992.                     var i=h.call(b,c);
  2993.                     if(i||a||b.document&&b.document.nodeType!==11)return i
  2994.                 }
  2995.                 catch(j)
  2996.                     {
  2997.                 }
  2998.                 return bc(c,null,null,[b]).length>0
  2999.             }
  3000.             )
  3001.         }
  3002.         (),e.pseudos.nth=e.pseudos.eq,e.filters=bq.prototype=e.pseudos,e.setFilters=new bq,bc.attr=p.attr,p.find=bc,p.expr=bc.selectors,p.expr[":"]=p.expr.pseudos,p.unique=bc.uniqueSort,p.text=bc.getText,p.isXMLDoc=bc.isXML,p.contains=bc.contains
  3003.     }
  3004.     (a);
  3005.     var bc=/Until$/,bd=/^(?:parents|prev(?:Until|All))/,be=/^.[^:#\[\.,]*$/,bf=p.expr.match.needsContext,bg=
  3006.         {
  3007.         children:!0,contents:!0,next:!0,prev:!0
  3008.     };
  3009.     p.fn.extend(
  3010.         {
  3011.         find:function(a)
  3012.             {
  3013.             var b,c,d,e,f,g,h=this;
  3014.             if(typeof a!="string")return p(a).filter(function()
  3015.                 {
  3016.                 for(b=0,c=h.length;
  3017.                 b<c;
  3018.                 b++)if(p.contains(h[b],this))return!0
  3019.             }
  3020.             );
  3021.             g=this.pushStack("","find",a);
  3022.             for(b=0,c=this.length;
  3023.             b<c;
  3024.             b++)
  3025.                 {
  3026.                 d=g.length,p.find(a,this[b],g);
  3027.                 if(b>0)for(e=d;
  3028.                 e<g.length;
  3029.                 e++)for(f=0;
  3030.                 f<d;
  3031.                 f++)if(g[f]===g[e])
  3032.                     {
  3033.                     g.splice(e--,1);
  3034.                     break
  3035.                 }
  3036.             }
  3037.             return g
  3038.         }
  3039.         ,has:function(a)
  3040.             {
  3041.             var b,c=p(a,this),d=c.length;
  3042.             return this.filter(function()
  3043.                 {
  3044.                 for(b=0;
  3045.                 b<d;
  3046.                 b++)if(p.contains(this,c[b]))return!0
  3047.             }
  3048.             )
  3049.         }
  3050.         ,not:function(a)
  3051.             {
  3052.             return this.pushStack(bj(this,a,!1),"not",a)
  3053.         }
  3054.         ,filter:function(a)
  3055.             {
  3056.             return this.pushStack(bj(this,a,!0),"filter",a)
  3057.         }
  3058.         ,is:function(a)
  3059.             {
  3060.             return!!a&&(typeof a=="string"?bf.test(a)?p(a,this.context).index(this[0])>=0:p.filter(a,this).length>0:this.filter(a).length>0)
  3061.         }
  3062.         ,closest:function(a,b)
  3063.             {
  3064.             var c,d=0,e=this.length,f=[],g=bf.test(a)||typeof a!="string"?p(a,b||this.context):0;
  3065.             for(;
  3066.             d<e;
  3067.             d++)
  3068.                 {
  3069.                 c=this[d];
  3070.                 while(c&&c.ownerDocument&&c!==b&&c.nodeType!==11)
  3071.                     {
  3072.                     if(g?g.index(c)>-1:p.find.matchesSelector(c,a))
  3073.                         {
  3074.                         f.push(c);
  3075.                         break
  3076.                     }
  3077.                     c=c.parentNode
  3078.                 }
  3079.             }
  3080.             return f=f.length>1?p.unique(f):f,this.pushStack(f,"closest",a)
  3081.         }
  3082.         ,index:function(a)
  3083.             {
  3084.             return a?typeof a=="string"?p.inArray(this[0],p(a)):p.inArray(a.jquery?a[0]:a,this):this[0]&&this[0].parentNode?this.prevAll().length:-1
  3085.         }
  3086.         ,add:function(a,b)
  3087.             {
  3088.             var c=typeof a=="string"?p(a,b):p.makeArray(a&&a.nodeType?[a]:a),d=p.merge(this.get(),c);
  3089.             return this.pushStack(bh(c[0])||bh(d[0])?d:p.unique(d))
  3090.         }
  3091.         ,addBack:function(a)
  3092.             {
  3093.             return this.add(a==null?this.prevObject:this.prevObject.filter(a))
  3094.         }
  3095.     }
  3096.     ),p.fn.andSelf=p.fn.addBack,p.each(
  3097.         {
  3098.         parent:function(a)
  3099.             {
  3100.             var b=a.parentNode;
  3101.             return b&&b.nodeType!==11?b:null
  3102.         }
  3103.         ,parents:function(a)
  3104.             {
  3105.             return p.dir(a,"parentNode")
  3106.         }
  3107.         ,parentsUntil:function(a,b,c)
  3108.             {
  3109.             return p.dir(a,"parentNode",c)
  3110.         }
  3111.         ,next:function(a)
  3112.             {
  3113.             return bi(a,"nextSibling")
  3114.         }
  3115.         ,prev:function(a)
  3116.             {
  3117.             return bi(a,"previousSibling")
  3118.         }
  3119.         ,nextAll:function(a)
  3120.             {
  3121.             return p.dir(a,"nextSibling")
  3122.         }
  3123.         ,prevAll:function(a)
  3124.             {
  3125.             return p.dir(a,"previousSibling")
  3126.         }
  3127.         ,nextUntil:function(a,b,c)
  3128.             {
  3129.             return p.dir(a,"nextSibling",c)
  3130.         }
  3131.         ,prevUntil:function(a,b,c)
  3132.             {
  3133.             return p.dir(a,"previousSibling",c)
  3134.         }
  3135.         ,siblings:function(a)
  3136.             {
  3137.             return p.sibling((a.parentNode||
  3138.                 {
  3139.             }
  3140.             ).firstChild,a)
  3141.         }
  3142.         ,children:function(a)
  3143.             {
  3144.             return p.sibling(a.firstChild)
  3145.         }
  3146.         ,contents:function(a)
  3147.             {
  3148.             return p.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:p.merge([],a.childNodes)
  3149.         }
  3150.     }
  3151.     ,function(a,b)
  3152.         {
  3153.         p.fn[a]=function(c,d)
  3154.             {
  3155.             var e=p.map(this,b,c);
  3156.             return bc.test(a)||(d=c),d&&typeof d=="string"&&(e=p.filter(d,e)),e=this.length>1&&!bg[a]?p.unique(e):e,this.length>1&&bd.test(a)&&(e=e.reverse()),this.pushStack(e,a,k.call(arguments).join(","))
  3157.         }
  3158.     }
  3159.     ),p.extend(
  3160.         {
  3161.         filter:function(a,b,c)
  3162.             {
  3163.             return c&&(a=":not("+a+")"),b.length===1?p.find.matchesSelector(b[0],a)?[b[0]]:[]:p.find.matches(a,b)
  3164.         }
  3165.         ,dir:function(a,c,d)
  3166.             {
  3167.             var e=[],f=a[c];
  3168.             while(f&&f.nodeType!==9&&(d===b||f.nodeType!==1||!p(f).is(d)))f.nodeType===1&&e.push(f),f=f[c];
  3169.             return e
  3170.         }
  3171.         ,sibling:function(a,b)
  3172.             {
  3173.             var c=[];
  3174.             for(;
  3175.             a;
  3176.             a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);
  3177.             return c
  3178.         }
  3179.     }
  3180.     );
  3181.     var bl="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",bm=/ jQuery\d+="(?:null|\d+)"/g,bn=/^\s+/,bo=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,bp=/<([\w:]+)/,bq=/<tbody/i,br=/<|&#?\w+;
  3182.     /,bs=/<(?:script|style|link)/i,bt=/<(?:script|object|embed|option|style)/i,bu=new RegExp("<(?:"+bl+")[\\s/>]","i"),bv=/^(?:checkbox|radio)$/,bw=/checked\s*(?:[^=]|=\s*.checked.)/i,bx=/\/(java|ecma)script/i,by=/^\s*<!(?:\[CDATA\[|\-\-)|[\]\-]
  3183.         {
  3184.         2
  3185.     }
  3186.     >\s*$/g,bz=
  3187.         {
  3188.         option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]
  3189.     }
  3190.     ,bA=bk(e),bB=bA.appendChild(e.createElement("div"));
  3191.     bz.optgroup=bz.option,bz.tbody=bz.tfoot=bz.colgroup=bz.caption=bz.thead,bz.th=bz.td,p.support.htmlSerialize||(bz._default=[1,"X<div>","</div>"]),p.fn.extend(
  3192.         {
  3193.         text:function(a)
  3194.             {
  3195.             return p.access(this,function(a)
  3196.                 {
  3197.                 return a===b?p.text(this):this.empty().append((this[0]&&this[0].ownerDocument||e).createTextNode(a))
  3198.             }
  3199.             ,null,a,arguments.length)
  3200.         }
  3201.         ,wrapAll:function(a)
  3202.             {
  3203.             if(p.isFunction(a))return this.each(function(b)
  3204.                 {
  3205.                 p(this).wrapAll(a.call(this,b))
  3206.             }
  3207.             );
  3208.             if(this[0])
  3209.                 {
  3210.                 var b=p(a,this[0].ownerDocument).eq(0).clone(!0);
  3211.                 this[0].parentNode&&b.insertBefore(this[0]),b.map(function()
  3212.                     {
  3213.                     var a=this;
  3214.                     while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;
  3215.                     return a
  3216.                 }
  3217.                 ).append(this)
  3218.             }
  3219.             return this
  3220.         }
  3221.         ,wrapInner:function(a)
  3222.             {
  3223.             return p.isFunction(a)?this.each(function(b)
  3224.                 {
  3225.                 p(this).wrapInner(a.call(this,b))
  3226.             }
  3227.             ):this.each(function()
  3228.                 {
  3229.                 var b=p(this),c=b.contents();
  3230.                 c.length?c.wrapAll(a):b.append(a)
  3231.             }
  3232.             )
  3233.         }
  3234.         ,wrap:function(a)
  3235.             {
  3236.             var b=p.isFunction(a);
  3237.             return this.each(function(c)
  3238.                 {
  3239.                 p(this).wrapAll(b?a.call(this,c):a)
  3240.             }
  3241.             )
  3242.         }
  3243.         ,unwrap:function()
  3244.             {
  3245.             return this.parent().each(function()
  3246.                 {
  3247.                 p.nodeName(this,"body")||p(this).replaceWith(this.childNodes)
  3248.             }
  3249.             ).end()
  3250.         }
  3251.         ,append:function()
  3252.             {
  3253.             return this.domManip(arguments,!0,function(a)
  3254.                 {
  3255.                 (this.nodeType===1||this.nodeType===11)&&this.appendChild(a)
  3256.             }
  3257.             )
  3258.         }
  3259.         ,prepend:function()
  3260.             {
  3261.             return this.domManip(arguments,!0,function(a)
  3262.                 {
  3263.                 (this.nodeType===1||this.nodeType===11)&&this.insertBefore(a,this.firstChild)
  3264.             }
  3265.             )
  3266.         }
  3267.         ,before:function()
  3268.             {
  3269.             if(!bh(this[0]))return this.domManip(arguments,!1,function(a)
  3270.                 {
  3271.                 this.parentNode.insertBefore(a,this)
  3272.             }
  3273.             );
  3274.             if(arguments.length)
  3275.                 {
  3276.                 var a=p.clean(arguments);
  3277.                 return this.pushStack(p.merge(a,this),"before",this.selector)
  3278.             }
  3279.         }
  3280.         ,after:function()
  3281.             {
  3282.             if(!bh(this[0]))return this.domManip(arguments,!1,function(a)
  3283.                 {
  3284.                 this.parentNode.insertBefore(a,this.nextSibling)
  3285.             }
  3286.             );
  3287.             if(arguments.length)
  3288.                 {
  3289.                 var a=p.clean(arguments);
  3290.                 return this.pushStack(p.merge(this,a),"after",this.selector)
  3291.             }
  3292.         }
  3293.         ,remove:function(a,b)
  3294.             {
  3295.             var c,d=0;
  3296.             for(;
  3297.             (c=this[d])!=null;
  3298.             d++)if(!a||p.filter(a,[c]).length)!b&&c.nodeType===1&&(p.cleanData(c.getElementsByTagName("*")),p.cleanData([c])),c.parentNode&&c.parentNode.removeChild(c);
  3299.             return this
  3300.         }
  3301.         ,empty:function()
  3302.             {
  3303.             var a,b=0;
  3304.             for(;
  3305.             (a=this[b])!=null;
  3306.             b++)
  3307.                 {
  3308.                 a.nodeType===1&&p.cleanData(a.getElementsByTagName("*"));
  3309.                 while(a.firstChild)a.removeChild(a.firstChild)
  3310.             }
  3311.             return this
  3312.         }
  3313.         ,clone:function(a,b)
  3314.             {
  3315.             return a=a==null?!1:a,b=b==null?a:b,this.map(function()
  3316.                 {
  3317.                 return p.clone(this,a,b)
  3318.             }
  3319.             )
  3320.         }
  3321.         ,html:function(a)
  3322.             {
  3323.             return p.access(this,function(a)
  3324.                 {
  3325.                 var c=this[0]||
  3326.                     {
  3327.                 }
  3328.                 ,d=0,e=this.length;
  3329.                 if(a===b)return c.nodeType===1?c.innerHTML.replace(bm,""):b;
  3330.                 if(typeof a=="string"&&!bs.test(a)&&(p.support.htmlSerialize||!bu.test(a))&&(p.support.leadingWhitespace||!bn.test(a))&&!bz[(bp.exec(a)||["",""])[1].toLowerCase()])
  3331.                     {
  3332.                     a=a.replace(bo,"<$1></$2>");
  3333.                     try
  3334.                         {
  3335.                         for(;
  3336.                         d<e;
  3337.                         d++)c=this[d]||
  3338.                             {
  3339.                         }
  3340.                         ,c.nodeType===1&&(p.cleanData(c.getElementsByTagName("*")),c.innerHTML=a);
  3341.                         c=0
  3342.                     }
  3343.                     catch(f)
  3344.                         {
  3345.                     }
  3346.                 }
  3347.                 c&&this.empty().append(a)
  3348.             }
  3349.             ,null,a,arguments.length)
  3350.         }
  3351.         ,replaceWith:function(a)
  3352.             {
  3353.             return bh(this[0])?this.length?this.pushStack(p(p.isFunction(a)?a():a),"replaceWith",a):this:p.isFunction(a)?this.each(function(b)
  3354.                 {
  3355.                 var c=p(this),d=c.html();
  3356.                 c.replaceWith(a.call(this,b,d))
  3357.             }
  3358.             ):(typeof a!="string"&&(a=p(a).detach()),this.each(function()
  3359.                 {
  3360.                 var b=this.nextSibling,c=this.parentNode;
  3361.                 p(this).remove(),b?p(b).before(a):p(c).append(a)
  3362.             }
  3363.             ))
  3364.         }
  3365.         ,detach:function(a)
  3366.             {
  3367.             return this.remove(a,!0)
  3368.         }
  3369.         ,domManip:function(a,c,d)
  3370.             {
  3371.             a=[].concat.apply([],a);
  3372.             var e,f,g,h,i=0,j=a[0],k=[],l=this.length;
  3373.             if(!p.support.checkClone&&l>1&&typeof j=="string"&&bw.test(j))return this.each(function()
  3374.                 {
  3375.                 p(this).domManip(a,c,d)
  3376.             }
  3377.             );
  3378.             if(p.isFunction(j))return this.each(function(e)
  3379.                 {
  3380.                 var f=p(this);
  3381.                 a[0]=j.call(this,e,c?f.html():b),f.domManip(a,c,d)
  3382.             }
  3383.             );
  3384.             if(this[0])
  3385.                 {
  3386.                 e=p.buildFragment(a,this,k),g=e.fragment,f=g.firstChild,g.childNodes.length===1&&(g=f);
  3387.                 if(f)
  3388.                     {
  3389.                     c=c&&p.nodeName(f,"tr");
  3390.                     for(h=e.cacheable||l-1;
  3391.                     i<l;
  3392.                     i++)d.call(c&&p.nodeName(this[i],"table")?bC(this[i],"tbody"):this[i],i===h?g:p.clone(g,!0,!0))
  3393.                 }
  3394.                 g=f=null,k.length&&p.each(k,function(a,b)
  3395.                     {
  3396.                     b.src?p.ajax?p.ajax(
  3397.                         {
  3398.                         url:b.src,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0
  3399.                     }
  3400.                     ):p.error("no ajax"):p.globalEval((b.text||b.textContent||b.innerHTML||"").replace(by,"")),b.parentNode&&b.parentNode.removeChild(b)
  3401.                 }
  3402.                 )
  3403.             }
  3404.             return this
  3405.         }
  3406.     }
  3407.     ),p.buildFragment=function(a,c,d)
  3408.         {
  3409.         var f,g,h,i=a[0];
  3410.         return c=c||e,c=!c.nodeType&&c[0]||c,c=c.ownerDocument||c,a.length===1&&typeof i=="string"&&i.length<512&&c===e&&i.charAt(0)==="<"&&!bt.test(i)&&(p.support.checkClone||!bw.test(i))&&(p.support.html5Clone||!bu.test(i))&&(g=!0,f=p.fragments[i],h=f!==b),f||(f=c.createDocumentFragment(),p.clean(a,c,f,d),g&&(p.fragments[i]=h&&f)),
  3411.             {
  3412.             fragment:f,cacheable:g
  3413.         }
  3414.     }
  3415.     ,p.fragments=
  3416.         {
  3417.     }
  3418.     ,p.each(
  3419.         {
  3420.         appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"
  3421.     }
  3422.     ,function(a,b)
  3423.         {
  3424.         p.fn[a]=function(c)
  3425.             {
  3426.             var d,e=0,f=[],g=p(c),h=g.length,i=this.length===1&&this[0].parentNode;
  3427.             if((i==null||i&&i.nodeType===11&&i.childNodes.length===1)&&h===1)return g[b](this[0]),this;
  3428.             for(;
  3429.             e<h;
  3430.             e++)d=(e>0?this.clone(!0):this).get(),p(g[e])[b](d),f=f.concat(d);
  3431.             return this.pushStack(f,a,g.selector)
  3432.         }
  3433.     }
  3434.     ),p.extend(
  3435.         {
  3436.         clone:function(a,b,c)
  3437.             {
  3438.             var d,e,f,g;
  3439.             p.support.html5Clone||p.isXMLDoc(a)||!bu.test("<"+a.nodeName+">")?g=a.cloneNode(!0):(bB.innerHTML=a.outerHTML,bB.removeChild(g=bB.firstChild));
  3440.             if((!p.support.noCloneEvent||!p.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!p.isXMLDoc(a))
  3441.                 {
  3442.                 bE(a,g),d=bF(a),e=bF(g);
  3443.                 for(f=0;
  3444.                 d[f];
  3445.                 ++f)e[f]&&bE(d[f],e[f])
  3446.             }
  3447.             if(b)
  3448.                 {
  3449.                 bD(a,g);
  3450.                 if(c)
  3451.                     {
  3452.                     d=bF(a),e=bF(g);
  3453.                     for(f=0;
  3454.                     d[f];
  3455.                     ++f)bD(d[f],e[f])
  3456.                 }
  3457.             }
  3458.             return d=e=null,g
  3459.         }
  3460.         ,clean:function(a,b,c,d)
  3461.             {
  3462.             var f,g,h,i,j,k,l,m,n,o,q,r,s=b===e&&bA,t=[];
  3463.             if(!b||typeof b.createDocumentFragment=="undefined")b=e;
  3464.             for(f=0;
  3465.             (h=a[f])!=null;
  3466.             f++)
  3467.                 {
  3468.                 typeof h=="number"&&(h+="");
  3469.                 if(!h)continue;
  3470.                 if(typeof h=="string")if(!br.test(h))h=b.createTextNode(h);
  3471.                 else
  3472.                     {
  3473.                     s=s||bk(b),l=b.createElement("div"),s.appendChild(l),h=h.replace(bo,"<$1></$2>"),i=(bp.exec(h)||["",""])[1].toLowerCase(),j=bz[i]||bz._default,k=j[0],l.innerHTML=j[1]+h+j[2];
  3474.                     while(k--)l=l.lastChild;
  3475.                     if(!p.support.tbody)
  3476.                         {
  3477.                         m=bq.test(h),n=i==="table"&&!m?l.firstChild&&l.firstChild.childNodes:j[1]==="<table>"&&!m?l.childNodes:[];
  3478.                         for(g=n.length-1;
  3479.                         g>=0;
  3480.                         --g)p.nodeName(n[g],"tbody")&&!n[g].childNodes.length&&n[g].parentNode.removeChild(n[g])
  3481.                     }
  3482.                     !p.support.leadingWhitespace&&bn.test(h)&&l.insertBefore(b.createTextNode(bn.exec(h)[0]),l.firstChild),h=l.childNodes,l.parentNode.removeChild(l)
  3483.                 }
  3484.                 h.nodeType?t.push(h):p.merge(t,h)
  3485.             }
  3486.             l&&(h=l=s=null);
  3487.             if(!p.support.appendChecked)for(f=0;
  3488.             (h=t[f])!=null;
  3489.             f++)p.nodeName(h,"input")?bG(h):typeof h.getElementsByTagName!="undefined"&&p.grep(h.getElementsByTagName("input"),bG);
  3490.             if(c)
  3491.                 {
  3492.                 q=function(a)
  3493.                     {
  3494.                     if(!a.type||bx.test(a.type))return d?d.push(a.parentNode?a.parentNode.removeChild(a):a):c.appendChild(a)
  3495.                 };
  3496.                 for(f=0;
  3497.                 (h=t[f])!=null;
  3498.                 f++)if(!p.nodeName(h,"script")||!q(h))c.appendChild(h),typeof h.getElementsByTagName!="undefined"&&(r=p.grep(p.merge([],h.getElementsByTagName("script")),q),t.splice.apply(t,[f+1,0].concat(r)),f+=r.length)
  3499.             }
  3500.             return t
  3501.         }
  3502.         ,cleanData:function(a,b)
  3503.             {
  3504.             var c,d,e,f,g=0,h=p.expando,i=p.cache,j=p.support.deleteExpando,k=p.event.special;
  3505.             for(;
  3506.             (e=a[g])!=null;
  3507.             g++)if(b||p.acceptData(e))
  3508.                 {
  3509.                 d=e[h],c=d&&i[d];
  3510.                 if(c)
  3511.                     {
  3512.                     if(c.events)for(f in c.events)k[f]?p.event.remove(e,f):p.removeEvent(e,f,c.handle);
  3513.                     i[d]&&(delete i[d],j?delete e[h]:e.removeAttribute?e.removeAttribute(h):e[h]=null,p.deletedIds.push(d))
  3514.                 }
  3515.             }
  3516.         }
  3517.     }
  3518.     ),function()
  3519.         {
  3520.         var a,b;
  3521.         p.uaMatch=function(a)
  3522.             {
  3523.             a=a.toLowerCase();
  3524.             var b=/(chrome)[ \/]([\w.]+)/.exec(a)||/(webkit)[ \/]([\w.]+)/.exec(a)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(a)||/(msie) ([\w.]+)/.exec(a)||a.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(a)||[];
  3525.             return
  3526.                 {
  3527.                 browser:b[1]||"",version:b[2]||"0"
  3528.             }
  3529.         }
  3530.         ,a=p.uaMatch(g.userAgent),b=
  3531.             {
  3532.         }
  3533.         ,a.browser&&(b[a.browser]=!0,b.version=a.version),b.chrome?b.webkit=!0:b.webkit&&(b.safari=!0),p.browser=b,p.sub=function()
  3534.             {
  3535.             function a(b,c)
  3536.                 {
  3537.                 return new a.fn.init(b,c)
  3538.             }
  3539.             p.extend(!0,a,this),a.superclass=this,a.fn=a.prototype=this(),a.fn.constructor=a,a.sub=this.sub,a.fn.init=function c(c,d)
  3540.                 {
  3541.                 return d&&d instanceof p&&!(d instanceof a)&&(d=a(d)),p.fn.init.call(this,c,d,b)
  3542.             }
  3543.             ,a.fn.init.prototype=a.fn;
  3544.             var b=a(e);
  3545.             return a
  3546.         }
  3547.     }
  3548.     ();
  3549.     var bH,bI,bJ,bK=/alpha\([^)]*\)/i,bL=/opacity=([^)]*)/,bM=/^(top|right|bottom|left)$/,bN=/^(none|table(?!-c[ea]).+)/,bO=/^margin/,bP=new RegExp("^("+q+")(.*)$","i"),bQ=new RegExp("^("+q+")(?!px)[a-z%]+$","i"),bR=new RegExp("^([-+])=("+q+")","i"),bS=
  3550.         {
  3551.     }
  3552.     ,bT=
  3553.         {
  3554.         position:"absolute",visibility:"hidden",display:"block"
  3555.     }
  3556.     ,bU=
  3557.         {
  3558.         letterSpacing:0,fontWeight:400
  3559.     }
  3560.     ,bV=["Top","Right","Bottom","Left"],bW=["Webkit","O","Moz","ms"],bX=p.fn.toggle;
  3561.     p.fn.extend(
  3562.         {
  3563.         css:function(a,c)
  3564.             {
  3565.             return p.access(this,function(a,c,d)
  3566.                 {
  3567.                 return d!==b?p.style(a,c,d):p.css(a,c)
  3568.             }
  3569.             ,a,c,arguments.length>1)
  3570.         }
  3571.         ,show:function()
  3572.             {
  3573.             return b$(this,!0)
  3574.         }
  3575.         ,hide:function()
  3576.             {
  3577.             return b$(this)
  3578.         }
  3579.         ,toggle:function(a,b)
  3580.             {
  3581.             var c=typeof a=="boolean";
  3582.             return p.isFunction(a)&&p.isFunction(b)?bX.apply(this,arguments):this.each(function()
  3583.                 {
  3584.                 (c?a:bZ(this))?p(this).show():p(this).hide()
  3585.             }
  3586.             )
  3587.         }
  3588.     }
  3589.     ),p.extend(
  3590.         {
  3591.         cssHooks:
  3592.             {
  3593.             opacity:
  3594.                 {
  3595.                 get:function(a,b)
  3596.                     {
  3597.                     if(b)
  3598.                         {
  3599.                         var c=bH(a,"opacity");
  3600.                         return c===""?"1":c
  3601.                     }
  3602.                 }
  3603.             }
  3604.         }
  3605.         ,cssNumber:
  3606.             {
  3607.             fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0
  3608.         }
  3609.         ,cssProps:
  3610.             {
  3611.             "float":p.support.cssFloat?"cssFloat":"styleFloat"
  3612.         }
  3613.         ,style:function(a,c,d,e)
  3614.             {
  3615.             if(!a||a.nodeType===3||a.nodeType===8||!a.style)return;
  3616.             var f,g,h,i=p.camelCase(c),j=a.style;
  3617.             c=p.cssProps[i]||(p.cssProps[i]=bY(j,i)),h=p.cssHooks[c]||p.cssHooks[i];
  3618.             if(d===b)return h&&"get"in h&&(f=h.get(a,!1,e))!==b?f:j[c];
  3619.             g=typeof d,g==="string"&&(f=bR.exec(d))&&(d=(f[1]+1)*f[2]+parseFloat(p.css(a,c)),g="number");
  3620.             if(d==null||g==="number"&&isNaN(d))return;
  3621.             g==="number"&&!p.cssNumber[i]&&(d+="px");
  3622.             if(!h||!("set"in h)||(d=h.set(a,d,e))!==b)try
  3623.                 {
  3624.                 j[c]=d
  3625.             }
  3626.             catch(k)
  3627.                 {
  3628.             }
  3629.         }
  3630.         ,css:function(a,c,d,e)
  3631.             {
  3632.             var f,g,h,i=p.camelCase(c);
  3633.             return c=p.cssProps[i]||(p.cssProps[i]=bY(a.style,i)),h=p.cssHooks[c]||p.cssHooks[i],h&&"get"in h&&(f=h.get(a,!0,e)),f===b&&(f=bH(a,c)),f==="normal"&&c in bU&&(f=bU[c]),d||e!==b?(g=parseFloat(f),d||p.isNumeric(g)?g||0:f):f
  3634.         }
  3635.         ,swap:function(a,b,c)
  3636.             {
  3637.             var d,e,f=
  3638.                 {
  3639.             };
  3640.             for(e in b)f[e]=a.style[e],a.style[e]=b[e];
  3641.             d=c.call(a);
  3642.             for(e in b)a.style[e]=f[e];
  3643.             return d
  3644.         }
  3645.     }
  3646.     ),a.getComputedStyle?bH=function(b,c)
  3647.         {
  3648.         var d,e,f,g,h=a.getComputedStyle(b,null),i=b.style;
  3649.         return h&&(d=h[c],d===""&&!p.contains(b.ownerDocument,b)&&(d=p.style(b,c)),bQ.test(d)&&bO.test(c)&&(e=i.width,f=i.minWidth,g=i.maxWidth,i.minWidth=i.maxWidth=i.width=d,d=h.width,i.width=e,i.minWidth=f,i.maxWidth=g)),d
  3650.     }
  3651.     :e.documentElement.currentStyle&&(bH=function(a,b)
  3652.         {
  3653.         var c,d,e=a.currentStyle&&a.currentStyle[b],f=a.style;
  3654.         return e==null&&f&&f[b]&&(e=f[b]),bQ.test(e)&&!bM.test(b)&&(c=f.left,d=a.runtimeStyle&&a.runtimeStyle.left,d&&(a.runtimeStyle.left=a.currentStyle.left),f.left=b==="fontSize"?"1em":e,e=f.pixelLeft+"px",f.left=c,d&&(a.runtimeStyle.left=d)),e===""?"auto":e
  3655.     }
  3656.     ),p.each(["height","width"],function(a,b)
  3657.         {
  3658.         p.cssHooks[b]=
  3659.             {
  3660.             get:function(a,c,d)
  3661.                 {
  3662.                 if(c)return a.offsetWidth===0&&bN.test(bH(a,"display"))?p.swap(a,bT,function()
  3663.                     {
  3664.                     return cb(a,b,d)
  3665.                 }
  3666.                 ):cb(a,b,d)
  3667.             }
  3668.             ,set:function(a,c,d)
  3669.                 {
  3670.                 return b_(a,c,d?ca(a,b,d,p.support.boxSizing&&p.css(a,"boxSizing")==="border-box"):0)
  3671.             }
  3672.         }
  3673.     }
  3674.     ),p.support.opacity||(p.cssHooks.opacity=
  3675.         {
  3676.         get:function(a,b)
  3677.             {
  3678.             return bL.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":b?"1":""
  3679.         }
  3680.         ,set:function(a,b)
  3681.             {
  3682.             var c=a.style,d=a.currentStyle,e=p.isNumeric(b)?"alpha(opacity="+b*100+")":"",f=d&&d.filter||c.filter||"";
  3683.             c.zoom=1;
  3684.             if(b>=1&&p.trim(f.replace(bK,""))===""&&c.removeAttribute)
  3685.                 {
  3686.                 c.removeAttribute("filter");
  3687.                 if(d&&!d.filter)return
  3688.             }
  3689.             c.filter=bK.test(f)?f.replace(bK,e):f+" "+e
  3690.         }
  3691.     }
  3692.     ),p(function()
  3693.         {
  3694.         p.support.reliableMarginRight||(p.cssHooks.marginRight=
  3695.             {
  3696.             get:function(a,b)
  3697.                 {
  3698.                 return p.swap(a,
  3699.                     {
  3700.                     display:"inline-block"
  3701.                 }
  3702.                 ,function()
  3703.                     {
  3704.                     if(b)return bH(a,"marginRight")
  3705.                 }
  3706.                 )
  3707.             }
  3708.         }
  3709.         ),!p.support.pixelPosition&&p.fn.position&&p.each(["top","left"],function(a,b)
  3710.             {
  3711.             p.cssHooks[b]=
  3712.                 {
  3713.                 get:function(a,c)
  3714.                     {
  3715.                     if(c)
  3716.                         {
  3717.                         var d=bH(a,b);
  3718.                         return bQ.test(d)?p(a).position()[b]+"px":d
  3719.                     }
  3720.                 }
  3721.             }
  3722.         }
  3723.         )
  3724.     }
  3725.     ),p.expr&&p.expr.filters&&(p.expr.filters.hidden=function(a)
  3726.         {
  3727.         return a.offsetWidth===0&&a.offsetHeight===0||!p.support.reliableHiddenOffsets&&(a.style&&a.style.display||bH(a,"display"))==="none"
  3728.     }
  3729.     ,p.expr.filters.visible=function(a)
  3730.         {
  3731.         return!p.expr.filters.hidden(a)
  3732.     }
  3733.     ),p.each(
  3734.         {
  3735.         margin:"",padding:"",border:"Width"
  3736.     }
  3737.     ,function(a,b)
  3738.         {
  3739.         p.cssHooks[a+b]=
  3740.             {
  3741.             expand:function(c)
  3742.                 {
  3743.                 var d,e=typeof c=="string"?c.split(" "):[c],f=
  3744.                     {
  3745.                 };
  3746.                 for(d=0;
  3747.                 d<4;
  3748.                 d++)f[a+bV[d]+b]=e[d]||e[d-2]||e[0];
  3749.                 return f
  3750.             }
  3751.         }
  3752.         ,bO.test(a)||(p.cssHooks[a+b].set=b_)
  3753.     }
  3754.     );
  3755.     var cd=/%20/g,ce=/\[\]$/,cf=/\r?\n/g,cg=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,ch=/^(?:select|textarea)/i;
  3756.     p.fn.extend(
  3757.         {
  3758.         serialize:function()
  3759.             {
  3760.             return p.param(this.serializeArray())
  3761.         }
  3762.         ,serializeArray:function()
  3763.             {
  3764.             return this.map(function()
  3765.                 {
  3766.                 return this.elements?p.makeArray(this.elements):this
  3767.             }
  3768.             ).filter(function()
  3769.                 {
  3770.                 return this.name&&!this.disabled&&(this.checked||ch.test(this.nodeName)||cg.test(this.type))
  3771.             }
  3772.             ).map(function(a,b)
  3773.                 {
  3774.                 var c=p(this).val();
  3775.                 return c==null?null:p.isArray(c)?p.map(c,function(a,c)
  3776.                     {
  3777.                     return
  3778.                         {
  3779.                         name:b.name,value:a.replace(cf,"\r\n")
  3780.                     }
  3781.                 }
  3782.                 ):
  3783.                     {
  3784.                     name:b.name,value:c.replace(cf,"\r\n")
  3785.                 }
  3786.             }
  3787.             ).get()
  3788.         }
  3789.     }
  3790.     ),p.param=function(a,c)
  3791.         {
  3792.         var d,e=[],f=function(a,b)
  3793.             {
  3794.             b=p.isFunction(b)?b():b==null?"":b,e[e.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)
  3795.         };
  3796.         c===b&&(c=p.ajaxSettings&&p.ajaxSettings.traditional);
  3797.         if(p.isArray(a)||a.jquery&&!p.isPlainObject(a))p.each(a,function()
  3798.             {
  3799.             f(this.name,this.value)
  3800.         }
  3801.         );
  3802.         else for(d in a)ci(d,a[d],c,f);
  3803.         return e.join("&").replace(cd,"+")
  3804.     };
  3805.     var cj,ck,cl=/#.*$/,cm=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,cn=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,co=/^(?:GET|HEAD)$/,cp=/^\/\//,cq=/\?/,cr=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,cs=/([?&])_=[^&]*/,ct=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,cu=p.fn.load,cv=
  3806.         {
  3807.     }
  3808.     ,cw=
  3809.         {
  3810.     }
  3811.     ,cx=["*/"]+["*"];
  3812.     try
  3813.         {
  3814.         ck=f.href
  3815.     }
  3816.     catch(cy)
  3817.         {
  3818.         ck=e.createElement("a"),ck.href="",ck=ck.href
  3819.     }
  3820.     cj=ct.exec(ck.toLowerCase())||[],p.fn.load=function(a,c,d)
  3821.         {
  3822.         if(typeof a!="string"&&cu)return cu.apply(this,arguments);
  3823.         if(!this.length)return this;
  3824.         var e,f,g,h=this,i=a.indexOf(" ");
  3825.         return i>=0&&(e=a.slice(i,a.length),a=a.slice(0,i)),p.isFunction(c)?(d=c,c=b):c&&typeof c=="object"&&(f="POST"),p.ajax(
  3826.             {
  3827.             url:a,type:f,dataType:"html",data:c,complete:function(a,b)
  3828.                 {
  3829.                 d&&h.each(d,g||[a.responseText,b,a])
  3830.             }
  3831.         }
  3832.         ).done(function(a)
  3833.             {
  3834.             g=arguments,h.html(e?p("<div>").append(a.replace(cr,"")).find(e):a)
  3835.         }
  3836.         ),this
  3837.     }
  3838.     ,p.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b)
  3839.         {
  3840.         p.fn[b]=function(a)
  3841.             {
  3842.             return this.on(b,a)
  3843.         }
  3844.     }
  3845.     ),p.each(["get","post"],function(a,c)
  3846.         {
  3847.         p[c]=function(a,d,e,f)
  3848.             {
  3849.             return p.isFunction(d)&&(f=f||e,e=d,d=b),p.ajax(
  3850.                 {
  3851.                 type:c,url:a,data:d,success:e,dataType:f
  3852.             }
  3853.             )
  3854.         }
  3855.     }
  3856.     ),p.extend(
  3857.         {
  3858.         getScript:function(a,c)
  3859.             {
  3860.             return p.get(a,b,c,"script")
  3861.         }
  3862.         ,getJSON:function(a,b,c)
  3863.             {
  3864.             return p.get(a,b,c,"json")
  3865.         }
  3866.         ,ajaxSetup:function(a,b)
  3867.             {
  3868.             return b?cB(a,p.ajaxSettings):(b=a,a=p.ajaxSettings),cB(a,b),a
  3869.         }
  3870.         ,ajaxSettings:
  3871.             {
  3872.             url:ck,isLocal:cn.test(cj[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded;
  3873.              charset=UTF-8",processData:!0,async:!0,accepts:
  3874.                 {
  3875.                 xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":cx
  3876.             }
  3877.             ,contents:
  3878.                 {
  3879.                 xml:/xml/,html:/html/,json:/json/
  3880.             }
  3881.             ,responseFields:
  3882.                 {
  3883.                 xml:"responseXML",text:"responseText"
  3884.             }
  3885.             ,converters:
  3886.                 {
  3887.                 "* text":a.String,"text html":!0,"text json":p.parseJSON,"text xml":p.parseXML
  3888.             }
  3889.             ,flatOptions:
  3890.                 {
  3891.                 context:!0,url:!0
  3892.             }
  3893.         }
  3894.         ,ajaxPrefilter:cz(cv),ajaxTransport:cz(cw),ajax:function(a,c)
  3895.             {
  3896.             function y(a,c,f,i)
  3897.                 {
  3898.                 var k,s,t,u,w,y=c;
  3899.                 if(v===2)return;
  3900.                 v=2,h&&clearTimeout(h),g=b,e=i||"",x.readyState=a>0?4:0,f&&(u=cC(l,x,f));
  3901.                 if(a>=200&&a<300||a===304)l.ifModified&&(w=x.getResponseHeader("Last-Modified"),w&&(p.lastModified[d]=w),w=x.getResponseHeader("Etag"),w&&(p.etag[d]=w)),a===304?(y="notmodified",k=!0):(k=cD(l,u),y=k.state,s=k.data,t=k.error,k=!t);
  3902.                 else
  3903.                     {
  3904.                     t=y;
  3905.                     if(!y||a)y="error",a<0&&(a=0)
  3906.                 }
  3907.                 x.status=a,x.statusText=(c||y)+"",k?o.resolveWith(m,[s,y,x]):o.rejectWith(m,[x,y,t]),x.statusCode(r),r=b,j&&n.trigger("ajax"+(k?"Success":"Error"),[x,l,k?s:t]),q.fireWith(m,[x,y]),j&&(n.trigger("ajaxComplete",[x,l]),--p.active||p.event.trigger("ajaxStop"))
  3908.             }
  3909.             typeof a=="object"&&(c=a,a=b),c=c||
  3910.                 {
  3911.             };
  3912.             var d,e,f,g,h,i,j,k,l=p.ajaxSetup(
  3913.                 {
  3914.             }
  3915.             ,c),m=l.context||l,n=m!==l&&(m.nodeType||m instanceof p)?p(m):p.event,o=p.Deferred(),q=p.Callbacks("once memory"),r=l.statusCode||
  3916.                 {
  3917.             }
  3918.             ,t=
  3919.                 {
  3920.             }
  3921.             ,u=
  3922.                 {
  3923.             }
  3924.             ,v=0,w="canceled",x=
  3925.                 {
  3926.                 readyState:0,setRequestHeader:function(a,b)
  3927.                     {
  3928.                     if(!v)
  3929.                         {
  3930.                         var c=a.toLowerCase();
  3931.                         a=u[c]=u[c]||a,t[a]=b
  3932.                     }
  3933.                     return this
  3934.                 }
  3935.                 ,getAllResponseHeaders:function()
  3936.                     {
  3937.                     return v===2?e:null
  3938.                 }
  3939.                 ,getResponseHeader:function(a)
  3940.                     {
  3941.                     var c;
  3942.                     if(v===2)
  3943.                         {
  3944.                         if(!f)
  3945.                             {
  3946.                             f=
  3947.                                 {
  3948.                             };
  3949.                             while(c=cm.exec(e))f[c[1].toLowerCase()]=c[2]
  3950.                         }
  3951.                         c=f[a.toLowerCase()]
  3952.                     }
  3953.                     return c===b?null:c
  3954.                 }
  3955.                 ,overrideMimeType:function(a)
  3956.                     {
  3957.                     return v||(l.mimeType=a),this
  3958.                 }
  3959.                 ,abort:function(a)
  3960.                     {
  3961.                     return a=a||w,g&&g.abort(a),y(0,a),this
  3962.                 }
  3963.             };
  3964.             o.promise(x),x.success=x.done,x.error=x.fail,x.complete=q.add,x.statusCode=function(a)
  3965.                 {
  3966.                 if(a)
  3967.                     {
  3968.                     var b;
  3969.                     if(v<2)for(b in a)r[b]=[r[b],a[b]];
  3970.                     else b=a[x.status],x.always(b)
  3971.                 }
  3972.                 return this
  3973.             }
  3974.             ,l.url=((a||l.url)+"").replace(cl,"").replace(cp,cj[1]+"//"),l.dataTypes=p.trim(l.dataType||"*").toLowerCase().split(s),l.crossDomain==null&&(i=ct.exec(l.url.toLowerCase())||!1,l.crossDomain=i&&i.join(":")+(i[3]?"":i[1]==="http:"?80:443)!==cj.join(":")+(cj[3]?"":cj[1]==="http:"?80:443)),l.data&&l.processData&&typeof l.data!="string"&&(l.data=p.param(l.data,l.traditional)),cA(cv,l,c,x);
  3975.             if(v===2)return x;
  3976.             j=l.global,l.type=l.type.toUpperCase(),l.hasContent=!co.test(l.type),j&&p.active++===0&&p.event.trigger("ajaxStart");
  3977.             if(!l.hasContent)
  3978.                 {
  3979.                 l.data&&(l.url+=(cq.test(l.url)?"&":"?")+l.data,delete l.data),d=l.url;
  3980.                 if(l.cache===!1)
  3981.                     {
  3982.                     var z=p.now(),A=l.url.replace(cs,"$1_="+z);
  3983.                     l.url=A+(A===l.url?(cq.test(l.url)?"&":"?")+"_="+z:"")
  3984.                 }
  3985.             }
  3986.             (l.data&&l.hasContent&&l.contentType!==!1||c.contentType)&&x.setRequestHeader("Content-Type",l.contentType),l.ifModified&&(d=d||l.url,p.lastModified[d]&&x.setRequestHeader("If-Modified-Since",p.lastModified[d]),p.etag[d]&&x.setRequestHeader("If-None-Match",p.etag[d])),x.setRequestHeader("Accept",l.dataTypes[0]&&l.accepts[l.dataTypes[0]]?l.accepts[l.dataTypes[0]]+(l.dataTypes[0]!=="*"?", "+cx+";
  3987.              q=0.01":""):l.accepts["*"]);
  3988.             for(k in l.headers)x.setRequestHeader(k,l.headers[k]);
  3989.             if(!l.beforeSend||l.beforeSend.call(m,x,l)!==!1&&v!==2)
  3990.                 {
  3991.                 w="abort";
  3992.                 for(k in
  3993.                     {
  3994.                     success:1,error:1,complete:1
  3995.                 }
  3996.                 )x[k](l[k]);
  3997.                 g=cA(cw,l,c,x);
  3998.                 if(!g)y(-1,"No Transport");
  3999.                 else
  4000.                     {
  4001.                     x.readyState=1,j&&n.trigger("ajaxSend",[x,l]),l.async&&l.timeout>0&&(h=setTimeout(function()
  4002.                         {
  4003.                         x.abort("timeout")
  4004.                     }
  4005.                     ,l.timeout));
  4006.                     try
  4007.                         {
  4008.                         v=1,g.send(t,y)
  4009.                     }
  4010.                     catch(B)
  4011.                         {
  4012.                         if(v<2)y(-1,B);
  4013.                         else throw B
  4014.                     }
  4015.                 }
  4016.                 return x
  4017.             }
  4018.             return x.abort()
  4019.         }
  4020.         ,active:0,lastModified:
  4021.             {
  4022.         }
  4023.         ,etag:
  4024.             {
  4025.         }
  4026.     }
  4027.     );
  4028.     var cE=[],cF=/\?/,cG=/(=)\?(?=&|$)|\?\?/,cH=p.now();
  4029.     p.ajaxSetup(
  4030.         {
  4031.         jsonp:"callback",jsonpCallback:function()
  4032.             {
  4033.             var a=cE.pop()||p.expando+"_"+cH++;
  4034.             return this[a]=!0,a
  4035.         }
  4036.     }
  4037.     ),p.ajaxPrefilter("json jsonp",function(c,d,e)
  4038.         {
  4039.         var f,g,h,i=c.data,j=c.url,k=c.jsonp!==!1,l=k&&cG.test(j),m=k&&!l&&typeof i=="string"&&!(c.contentType||"").indexOf("application/x-www-form-urlencoded")&&cG.test(i);
  4040.         if(c.dataTypes[0]==="jsonp"||l||m)return f=c.jsonpCallback=p.isFunction(c.jsonpCallback)?c.jsonpCallback():c.jsonpCallback,g=a[f],l?c.url=j.replace(cG,"$1"+f):m?c.data=i.replace(cG,"$1"+f):k&&(c.url+=(cF.test(j)?"&":"?")+c.jsonp+"="+f),c.converters["script json"]=function()
  4041.             {
  4042.             return h||p.error(f+" was not called"),h[0]
  4043.         }
  4044.         ,c.dataTypes[0]="json",a[f]=function()
  4045.             {
  4046.             h=arguments
  4047.         }
  4048.         ,e.always(function()
  4049.             {
  4050.             a[f]=g,c[f]&&(c.jsonpCallback=d.jsonpCallback,cE.push(f)),h&&p.isFunction(g)&&g(h[0]),h=g=b
  4051.         }
  4052.         ),"script"
  4053.     }
  4054.     ),p.ajaxSetup(
  4055.         {
  4056.         accepts:
  4057.             {
  4058.             script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"
  4059.         }
  4060.         ,contents:
  4061.             {
  4062.             script:/javascript|ecmascript/
  4063.         }
  4064.         ,converters:
  4065.             {
  4066.             "text script":function(a)
  4067.                 {
  4068.                 return p.globalEval(a),a
  4069.             }
  4070.         }
  4071.     }
  4072.     ),p.ajaxPrefilter("script",function(a)
  4073.         {
  4074.         a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)
  4075.     }
  4076.     ),p.ajaxTransport("script",function(a)
  4077.         {
  4078.         if(a.crossDomain)
  4079.             {
  4080.             var c,d=e.head||e.getElementsByTagName("head")[0]||e.documentElement;
  4081.             return
  4082.                 {
  4083.                 send:function(f,g)
  4084.                     {
  4085.                     c=e.createElement("script"),c.async="async",a.scriptCharset&&(c.charset=a.scriptCharset),c.src=a.url,c.onload=c.onreadystatechange=function(a,e)
  4086.                         {
  4087.                         if(e||!c.readyState||/loaded|complete/.test(c.readyState))c.onload=c.onreadystatechange=null,d&&c.parentNode&&d.removeChild(c),c=b,e||g(200,"success")
  4088.                     }
  4089.                     ,d.insertBefore(c,d.firstChild)
  4090.                 }
  4091.                 ,abort:function()
  4092.                     {
  4093.                     c&&c.onload(0,1)
  4094.                 }
  4095.             }
  4096.         }
  4097.     }
  4098.     );
  4099.     var cI,cJ=a.ActiveXObject?function()
  4100.         {
  4101.         for(var a in cI)cI[a](0,1)
  4102.     }
  4103.     :!1,cK=0;
  4104.     p.ajaxSettings.xhr=a.ActiveXObject?function()
  4105.         {
  4106.         return!this.isLocal&&cL()||cM()
  4107.     }
  4108.     :cL,function(a)
  4109.         {
  4110.         p.extend(p.support,
  4111.             {
  4112.             ajax:!!a,cors:!!a&&"withCredentials"in a
  4113.         }
  4114.         )
  4115.     }
  4116.     (p.ajaxSettings.xhr()),p.support.ajax&&p.ajaxTransport(function(c)
  4117.         {
  4118.         if(!c.crossDomain||p.support.cors)
  4119.             {
  4120.             var d;
  4121.             return
  4122.                 {
  4123.                 send:function(e,f)
  4124.                     {
  4125.                     var g,h,i=c.xhr();
  4126.                     c.username?i.open(c.type,c.url,c.async,c.username,c.password):i.open(c.type,c.url,c.async);
  4127.                     if(c.xhrFields)for(h in c.xhrFields)i[h]=c.xhrFields[h];
  4128.                     c.mimeType&&i.overrideMimeType&&i.overrideMimeType(c.mimeType),!c.crossDomain&&!e["X-Requested-With"]&&(e["X-Requested-With"]="XMLHttpRequest");
  4129.                     try
  4130.                         {
  4131.                         for(h in e)i.setRequestHeader(h,e[h])
  4132.                     }
  4133.                     catch(j)
  4134.                         {
  4135.                     }
  4136.                     i.send(c.hasContent&&c.data||null),d=function(a,e)
  4137.                         {
  4138.                         var h,j,k,l,m;
  4139.                         try
  4140.                             {
  4141.                             if(d&&(e||i.readyState===4))
  4142.                                 {
  4143.                                 d=b,g&&(i.onreadystatechange=p.noop,cJ&&delete cI[g]);
  4144.                                 if(e)i.readyState!==4&&i.abort();
  4145.                                 else
  4146.                                     {
  4147.                                     h=i.status,k=i.getAllResponseHeaders(),l=
  4148.                                         {
  4149.                                     }
  4150.                                     ,m=i.responseXML,m&&m.documentElement&&(l.xml=m);
  4151.                                     try
  4152.                                         {
  4153.                                         l.text=i.responseText
  4154.                                     }
  4155.                                     catch(a)
  4156.                                         {
  4157.                                     }
  4158.                                     try
  4159.                                         {
  4160.                                         j=i.statusText
  4161.                                     }
  4162.                                     catch(n)
  4163.                                         {
  4164.                                         j=""
  4165.                                     }
  4166.                                     !h&&c.isLocal&&!c.crossDomain?h=l.text?200:404:h===1223&&(h=204)
  4167.                                 }
  4168.                             }
  4169.                         }
  4170.                         catch(o)
  4171.                             {
  4172.                             e||f(-1,o)
  4173.                         }
  4174.                         l&&f(h,j,l,k)
  4175.                     }
  4176.                     ,c.async?i.readyState===4?setTimeout(d,0):(g=++cK,cJ&&(cI||(cI=
  4177.                         {
  4178.                     }
  4179.                     ,p(a).unload(cJ)),cI[g]=d),i.onreadystatechange=d):d()
  4180.                 }
  4181.                 ,abort:function()
  4182.                     {
  4183.                     d&&d(0,1)
  4184.                 }
  4185.             }
  4186.         }
  4187.     }
  4188.     );
  4189.     var cN,cO,cP=/^(?:toggle|show|hide)$/,cQ=new RegExp("^(?:([-+])=|)("+q+")([a-z%]*)$","i"),cR=/queueHooks$/,cS=[cY],cT=
  4190.         {
  4191.         "*":[function(a,b)
  4192.             {
  4193.             var c,d,e=this.createTween(a,b),f=cQ.exec(b),g=e.cur(),h=+g||0,i=1,j=20;
  4194.             if(f)
  4195.                 {
  4196.                 c=+f[2],d=f[3]||(p.cssNumber[a]?"":"px");
  4197.                 if(d!=="px"&&h)
  4198.                     {
  4199.                     h=p.css(e.elem,a,!0)||c||1;
  4200.                     do i=i||".5",h=h/i,p.style(e.elem,a,h+d);
  4201.                     while(i!==(i=e.cur()/g)&&i!==1&&--j)
  4202.                 }
  4203.                 e.unit=d,e.start=h,e.end=f[1]?h+(f[1]+1)*c:c
  4204.             }
  4205.             return e
  4206.         }
  4207.         ]
  4208.     };
  4209.     p.Animation=p.extend(cW,
  4210.         {
  4211.         tweener:function(a,b)
  4212.             {
  4213.             p.isFunction(a)?(b=a,a=["*"]):a=a.split(" ");
  4214.             var c,d=0,e=a.length;
  4215.             for(;
  4216.             d<e;
  4217.             d++)c=a[d],cT[c]=cT[c]||[],cT[c].unshift(b)
  4218.         }
  4219.         ,prefilter:function(a,b)
  4220.             {
  4221.             b?cS.unshift(a):cS.push(a)
  4222.         }
  4223.     }
  4224.     ),p.Tween=cZ,cZ.prototype=
  4225.         {
  4226.         constructor:cZ,init:function(a,b,c,d,e,f)
  4227.             {
  4228.             this.elem=a,this.prop=c,this.easing=e||"swing",this.options=b,this.start=this.now=this.cur(),this.end=d,this.unit=f||(p.cssNumber[c]?"":"px")
  4229.         }
  4230.         ,cur:function()
  4231.             {
  4232.             var a=cZ.propHooks[this.prop];
  4233.             return a&&a.get?a.get(this):cZ.propHooks._default.get(this)
  4234.         }
  4235.         ,run:function(a)
  4236.             {
  4237.             var b,c=cZ.propHooks[this.prop];
  4238.             return this.options.duration?this.pos=b=p.easing[this.easing](a,this.options.duration*a,0,1,this.options.duration):this.pos=b=a,this.now=(this.end-this.start)*b+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),c&&c.set?c.set(this):cZ.propHooks._default.set(this),this
  4239.         }
  4240.     }
  4241.     ,cZ.prototype.init.prototype=cZ.prototype,cZ.propHooks=
  4242.         {
  4243.         _default:
  4244.             {
  4245.             get:function(a)
  4246.                 {
  4247.                 var b;
  4248.                 return a.elem[a.prop]==null||!!a.elem.style&&a.elem.style[a.prop]!=null?(b=p.css(a.elem,a.prop,!1,""),!b||b==="auto"?0:b):a.elem[a.prop]
  4249.             }
  4250.             ,set:function(a)
  4251.                 {
  4252.                 p.fx.step[a.prop]?p.fx.step[a.prop](a):a.elem.style&&(a.elem.style[p.cssProps[a.prop]]!=null||p.cssHooks[a.prop])?p.style(a.elem,a.prop,a.now+a.unit):a.elem[a.prop]=a.now
  4253.             }
  4254.         }
  4255.     }
  4256.     ,cZ.propHooks.scrollTop=cZ.propHooks.scrollLeft=
  4257.         {
  4258.         set:function(a)
  4259.             {
  4260.             a.elem.nodeType&&a.elem.parentNode&&(a.elem[a.prop]=a.now)
  4261.         }
  4262.     }
  4263.     ,p.each(["toggle","show","hide"],function(a,b)
  4264.         {
  4265.         var c=p.fn[b];
  4266.         p.fn[b]=function(d,e,f)
  4267.             {
  4268.             return d==null||typeof d=="boolean"||!a&&p.isFunction(d)&&p.isFunction(e)?c.apply(this,arguments):this.animate(c$(b,!0),d,e,f)
  4269.         }
  4270.     }
  4271.     ),p.fn.extend(
  4272.         {
  4273.         fadeTo:function(a,b,c,d)
  4274.             {
  4275.             return this.filter(bZ).css("opacity",0).show().end().animate(
  4276.                 {
  4277.                 opacity:b
  4278.             }
  4279.             ,a,c,d)
  4280.         }
  4281.         ,animate:function(a,b,c,d)
  4282.             {
  4283.             var e=p.isEmptyObject(a),f=p.speed(b,c,d),g=function()
  4284.                 {
  4285.                 var b=cW(this,p.extend(
  4286.                     {
  4287.                 }
  4288.                 ,a),f);
  4289.                 e&&b.stop(!0)
  4290.             };
  4291.             return e||f.queue===!1?this.each(g):this.queue(f.queue,g)
  4292.         }
  4293.         ,stop:function(a,c,d)
  4294.             {
  4295.             var e=function(a)
  4296.                 {
  4297.                 var b=a.stop;
  4298.                 delete a.stop,b(d)
  4299.             };
  4300.             return typeof a!="string"&&(d=c,c=a,a=b),c&&a!==!1&&this.queue(a||"fx",[]),this.each(function()
  4301.                 {
  4302.                 var b=!0,c=a!=null&&a+"queueHooks",f=p.timers,g=p._data(this);
  4303.                 if(c)g[c]&&g[c].stop&&e(g[c]);
  4304.                 else for(c in g)g[c]&&g[c].stop&&cR.test(c)&&e(g[c]);
  4305.                 for(c=f.length;
  4306.                 c--;
  4307.                 )f[c].elem===this&&(a==null||f[c].queue===a)&&(f[c].anim.stop(d),b=!1,f.splice(c,1));
  4308.                 (b||!d)&&p.dequeue(this,a)
  4309.             }
  4310.             )
  4311.         }
  4312.     }
  4313.     ),p.each(
  4314.         {
  4315.         slideDown:c$("show"),slideUp:c$("hide"),slideToggle:c$("toggle"),fadeIn:
  4316.             {
  4317.             opacity:"show"
  4318.         }
  4319.         ,fadeOut:
  4320.             {
  4321.             opacity:"hide"
  4322.         }
  4323.         ,fadeToggle:
  4324.             {
  4325.             opacity:"toggle"
  4326.         }
  4327.     }
  4328.     ,function(a,b)
  4329.         {
  4330.         p.fn[a]=function(a,c,d)
  4331.             {
  4332.             return this.animate(b,a,c,d)
  4333.         }
  4334.     }
  4335.     ),p.speed=function(a,b,c)
  4336.         {
  4337.         var d=a&&typeof a=="object"?p.extend(
  4338.             {
  4339.         }
  4340.         ,a):
  4341.             {
  4342.             complete:c||!c&&b||p.isFunction(a)&&a,duration:a,easing:c&&b||b&&!p.isFunction(b)&&b
  4343.         };
  4344.         d.duration=p.fx.off?0:typeof d.duration=="number"?d.duration:d.duration in p.fx.speeds?p.fx.speeds[d.duration]:p.fx.speeds._default;
  4345.         if(d.queue==null||d.queue===!0)d.queue="fx";
  4346.         return d.old=d.complete,d.complete=function()
  4347.             {
  4348.             p.isFunction(d.old)&&d.old.call(this),d.queue&&p.dequeue(this,d.queue)
  4349.         }
  4350.         ,d
  4351.     }
  4352.     ,p.easing=
  4353.         {
  4354.         linear:function(a)
  4355.             {
  4356.             return a
  4357.         }
  4358.         ,swing:function(a)
  4359.             {
  4360.             return.5-Math.cos(a*Math.PI)/2
  4361.         }
  4362.     }
  4363.     ,p.timers=[],p.fx=cZ.prototype.init,p.fx.tick=function()
  4364.         {
  4365.         var a,b=p.timers,c=0;
  4366.         for(;
  4367.         c<b.length;
  4368.         c++)a=b[c],!a()&&b[c]===a&&b.splice(c--,1);
  4369.         b.length||p.fx.stop()
  4370.     }
  4371.     ,p.fx.timer=function(a)
  4372.         {
  4373.         a()&&p.timers.push(a)&&!cO&&(cO=setInterval(p.fx.tick,p.fx.interval))
  4374.     }
  4375.     ,p.fx.interval=13,p.fx.stop=function()
  4376.         {
  4377.         clearInterval(cO),cO=null
  4378.     }
  4379.     ,p.fx.speeds=
  4380.         {
  4381.         slow:600,fast:200,_default:400
  4382.     }
  4383.     ,p.fx.step=
  4384.         {
  4385.     }
  4386.     ,p.expr&&p.expr.filters&&(p.expr.filters.animated=function(a)
  4387.         {
  4388.         return p.grep(p.timers,function(b)
  4389.             {
  4390.             return a===b.elem
  4391.         }
  4392.         ).length
  4393.     }
  4394.     );
  4395.     var c_=/^(?:body|html)$/i;
  4396.     p.fn.offset=function(a)
  4397.         {
  4398.         if(arguments.length)return a===b?this:this.each(function(b)
  4399.             {
  4400.             p.offset.setOffset(this,a,b)
  4401.         }
  4402.         );
  4403.         var c,d,e,f,g,h,i,j=
  4404.             {
  4405.             top:0,left:0
  4406.         }
  4407.         ,k=this[0],l=k&&k.ownerDocument;
  4408.         if(!l)return;
  4409.         return(d=l.body)===k?p.offset.bodyOffset(k):(c=l.documentElement,p.contains(c,k)?(typeof k.getBoundingClientRect!="undefined"&&(j=k.getBoundingClientRect()),e=da(l),f=c.clientTop||d.clientTop||0,g=c.clientLeft||d.clientLeft||0,h=e.pageYOffset||c.scrollTop,i=e.pageXOffset||c.scrollLeft,
  4410.             {
  4411.             top:j.top+h-f,left:j.left+i-g
  4412.         }
  4413.         ):j)
  4414.     }
  4415.     ,p.offset=
  4416.         {
  4417.         bodyOffset:function(a)
  4418.             {
  4419.             var b=a.offsetTop,c=a.offsetLeft;
  4420.             return p.support.doesNotIncludeMarginInBodyOffset&&(b+=parseFloat(p.css(a,"marginTop"))||0,c+=parseFloat(p.css(a,"marginLeft"))||0),
  4421.                 {
  4422.                 top:b,left:c
  4423.             }
  4424.         }
  4425.         ,setOffset:function(a,b,c)
  4426.             {
  4427.             var d=p.css(a,"position");
  4428.             d==="static"&&(a.style.position="relative");
  4429.             var e=p(a),f=e.offset(),g=p.css(a,"top"),h=p.css(a,"left"),i=(d==="absolute"||d==="fixed")&&p.inArray("auto",[g,h])>-1,j=
  4430.                 {
  4431.             }
  4432.             ,k=
  4433.                 {
  4434.             }
  4435.             ,l,m;
  4436.             i?(k=e.position(),l=k.top,m=k.left):(l=parseFloat(g)||0,m=parseFloat(h)||0),p.isFunction(b)&&(b=b.call(a,c,f)),b.top!=null&&(j.top=b.top-f.top+l),b.left!=null&&(j.left=b.left-f.left+m),"using"in b?b.using.call(a,j):e.css(j)
  4437.         }
  4438.     }
  4439.     ,p.fn.extend(
  4440.         {
  4441.         position:function()
  4442.             {
  4443.             if(!this[0])return;
  4444.             var a=this[0],b=this.offsetParent(),c=this.offset(),d=c_.test(b[0].nodeName)?
  4445.                 {
  4446.                 top:0,left:0
  4447.             }
  4448.             :b.offset();
  4449.             return c.top-=parseFloat(p.css(a,"marginTop"))||0,c.left-=parseFloat(p.css(a,"marginLeft"))||0,d.top+=parseFloat(p.css(b[0],"borderTopWidth"))||0,d.left+=parseFloat(p.css(b[0],"borderLeftWidth"))||0,
  4450.                 {
  4451.                 top:c.top-d.top,left:c.left-d.left
  4452.             }
  4453.         }
  4454.         ,offsetParent:function()
  4455.             {
  4456.             return this.map(function()
  4457.                 {
  4458.                 var a=this.offsetParent||e.body;
  4459.                 while(a&&!c_.test(a.nodeName)&&p.css(a,"position")==="static")a=a.offsetParent;
  4460.                 return a||e.body
  4461.             }
  4462.             )
  4463.         }
  4464.     }
  4465.     ),p.each(
  4466.         {
  4467.         scrollLeft:"pageXOffset",scrollTop:"pageYOffset"
  4468.     }
  4469.     ,function(a,c)
  4470.         {
  4471.         var d=/Y/.test(c);
  4472.         p.fn[a]=function(e)
  4473.             {
  4474.             return p.access(this,function(a,e,f)
  4475.                 {
  4476.                 var g=da(a);
  4477.                 if(f===b)return g?c in g?g[c]:g.document.documentElement[e]:a[e];
  4478.                 g?g.scrollTo(d?p(g).scrollLeft():f,d?f:p(g).scrollTop()):a[e]=f
  4479.             }
  4480.             ,a,e,arguments.length,null)
  4481.         }
  4482.     }
  4483.     ),p.each(
  4484.         {
  4485.         Height:"height",Width:"width"
  4486.     }
  4487.     ,function(a,c)
  4488.         {
  4489.         p.each(
  4490.             {
  4491.             padding:"inner"+a,content:c,"":"outer"+a
  4492.         }
  4493.         ,function(d,e)
  4494.             {
  4495.             p.fn[e]=function(e,f)
  4496.                 {
  4497.                 var g=arguments.length&&(d||typeof e!="boolean"),h=d||(e===!0||f===!0?"margin":"border");
  4498.                 return p.access(this,function(c,d,e)
  4499.                     {
  4500.                     var f;
  4501.                     return p.isWindow(c)?c.document.documentElement["client"+a]:c.nodeType===9?(f=c.documentElement,Math.max(c.body["scroll"+a],f["scroll"+a],c.body["offset"+a],f["offset"+a],f["client"+a])):e===b?p.css(c,d,e,h):p.style(c,d,e,h)
  4502.                 }
  4503.                 ,c,g?e:b,g,null)
  4504.             }
  4505.         }
  4506.         )
  4507.     }
  4508.     ),a.jQuery=a.$=p,typeof define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function()
  4509.         {
  4510.         return p
  4511.     }
  4512.     )
  4513. }
  4514. )(window);
  4515. eval(function(p,a,c,k,e,r)
  4516.     {
  4517.     e=function(c)
  4518.         {
  4519.         return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))
  4520.     };
  4521.     if(!''.replace(/^/,String))
  4522.         {
  4523.         while(c--)r[e(c)]=k[c]||e(c);
  4524.         k=[function(e)
  4525.             {
  4526.             return r[e]
  4527.         }
  4528.         ];
  4529.         e=function()
  4530.             {
  4531.             return'\\w+'
  4532.         };
  4533.         c=1
  4534.     };
  4535.     while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);
  4536.     return p
  4537. }
  4538. ('(7($)
  4539.     {
  4540.     $.G($.38,
  4541.         {
  4542.         1z:7(c)
  4543.             {
  4544.             l(!6.E)
  4545.                 {
  4546.                 c&&c.21&&2U.1v&&1v.4Y("3p 2B, 4A\'t 1z, 6c 3p");
  4547.                 8
  4548.             }
  4549.             p b=$.15(6[0],\'u\');
  4550.             l(b)
  4551.                 {
  4552.                 8 b
  4553.             }
  4554.             b=2l $.u(c,6[0]);
  4555.             $.15(6[0],\'u\',b);
  4556.             l(b.q.3v)
  4557.                 {
  4558.                 6.4I("1Y, 4D").1o(".4w").4q(7()
  4559.                     {
  4560.                     b.35=v
  4561.                 }
  4562.                 );
  4563.                 6.31(7(a)
  4564.                     {
  4565.                     l(b.q.21)a.5V();
  4566.                     7 2g()
  4567.                         {
  4568.                         l(b.q.40)
  4569.                             {
  4570.                             b.q.40.12(b,b.W);
  4571.                             8 H
  4572.                         }
  4573.                         8 v
  4574.                     }
  4575.                     l(b.35)
  4576.                         {
  4577.                         b.35=H;
  4578.                         8 2g()
  4579.                     }
  4580.                     l(b.L())
  4581.                         {
  4582.                         l(b.19)
  4583.                             {
  4584.                             b.1u=v;
  4585.                             8 H
  4586.                         }
  4587.                         8 2g()
  4588.                     }
  4589.                     1a
  4590.                         {
  4591.                         b.2o();
  4592.                         8 H
  4593.                     }
  4594.                 }
  4595.                 )
  4596.             }
  4597.             8 b
  4598.         }
  4599.         ,N:7()
  4600.             {
  4601.             l($(6[0]).2J(\'L\'))
  4602.                 {
  4603.                 8 6.1z().L()
  4604.             }
  4605.             1a
  4606.                 {
  4607.                 p b=H;
  4608.                 p a=$(6[0].L).1z();
  4609.                 6.O(7()
  4610.                     {
  4611.                     b|=a.I(6)
  4612.                 }
  4613.                 );
  4614.                 8 b
  4615.             }
  4616.         }
  4617.         ,4K:7(c)
  4618.             {
  4619.             p d=
  4620.                 {
  4621.             }
  4622.             ,$I=6;
  4623.             $.O(c.1K(/\\s/),7(a,b)
  4624.                 {
  4625.                 d[b]=$I.1J(b);
  4626.                 $I.4G(b)
  4627.             }
  4628.             );
  4629.             8 d
  4630.         }
  4631.         ,17:7(h,k)
  4632.             {
  4633.             p f=6[0];
  4634.             l(h)
  4635.                 {
  4636.                 p i=$.15(f.L,\'u\').q;
  4637.                 p d=i.17;
  4638.                 p c=$.u.2t(f);
  4639.                 2p(h)
  4640.                     {
  4641.                     1b"1f":$.G(c,$.u.1U(k));
  4642.                     d[f.r]=c;
  4643.                     l(k.J)i.J[f.r]=$.G(i.J[f.r],k.J);
  4644.                     2u;
  4645.                     1b"63":l(!k)
  4646.                         {
  4647.                         Q d[f.r];
  4648.                         8 c
  4649.                     }
  4650.                     p e=
  4651.                         {
  4652.                     };
  4653.                     $.O(k.1K(/\\s/),7(a,b)
  4654.                         {
  4655.                         e[b]=c[b];
  4656.                         Q c[b]
  4657.                     }
  4658.                     );
  4659.                     8 e
  4660.                 }
  4661.             }
  4662.             p g=$.u.49($.G(
  4663.                 {
  4664.             }
  4665.             ,$.u.44(f),$.u.43(f),$.u.3G(f),$.u.2t(f)),f);
  4666.             l(g.11)
  4667.                 {
  4668.                 p j=g.11;
  4669.                 Q g.11;
  4670.                 g=$.G(
  4671.                     {
  4672.                     11:j
  4673.                 }
  4674.                 ,g)
  4675.             }
  4676.             8 g
  4677.         }
  4678.     }
  4679.     );
  4680.     $.G($.5A[":"],
  4681.         {
  4682.         5w:7(a)
  4683.             {
  4684.             8!$.1j(a.T)
  4685.         }
  4686.         ,5o:7(a)
  4687.             {
  4688.             8!!$.1j(a.T)
  4689.         }
  4690.         ,5m:7(a)
  4691.             {
  4692.             8!a.3P
  4693.         }
  4694.     }
  4695.     );
  4696.     $.1d=7(c,b)
  4697.         {
  4698.         l(S.E==1)8 7()
  4699.             {
  4700.             p a=$.3K(S);
  4701.             a.5a(c);
  4702.             8 $.1d.1Q(6,a)
  4703.         };
  4704.         l(S.E>2&&b.2i!=3F)
  4705.             {
  4706.             b=$.3K(S).4U(1)
  4707.         }
  4708.         l(b.2i!=3F)
  4709.             {
  4710.             b=[b]
  4711.         }
  4712.         $.O(b,7(i,n)
  4713.             {
  4714.             c=c.3B(2l 3z("\\\\
  4715.                 {
  4716.                 "+i+"\\\\
  4717.             }
  4718.             ","g"),n)
  4719.         }
  4720.         );
  4721.         8 c
  4722.     };
  4723.     $.u=7(b,a)
  4724.         {
  4725.         6.q=$.G(
  4726.             {
  4727.         }
  4728.         ,$.u.2I,b);
  4729.         6.W=a;
  4730.         6.3w()
  4731.     };
  4732.     $.G($.u,
  4733.         {
  4734.         2I:
  4735.             {
  4736.             J:
  4737.                 {
  4738.             }
  4739.             ,1Z:
  4740.                 {
  4741.             }
  4742.             ,17:
  4743.                 {
  4744.             }
  4745.             ,1c:"3s",2G:"4J",2o:v,3m:$([]),2D:$([]),3v:v,3l:[],3k:H,4H:7(a)
  4746.                 {
  4747.                 6.3i=a;
  4748.                 l(6.q.4F&&!6.4E)
  4749.                     {
  4750.                     6.q.1I&&6.q.1I.12(6,a,6.q.1c);
  4751.                     6.1P(a).2x()
  4752.                 }
  4753.             }
  4754.             ,4C:7(a)
  4755.                 {
  4756.                 l(!6.1x(a)&&(a.r Z 6.1k||!6.F(a)))
  4757.                     {
  4758.                     6.I(a)
  4759.                 }
  4760.             }
  4761.             ,4v:7(a)
  4762.                 {
  4763.                 l(a.r Z 6.1k||a==6.39)
  4764.                     {
  4765.                     6.I(a)
  4766.                 }
  4767.             }
  4768.             ,4t:7(a)
  4769.                 {
  4770.                 l(a.r Z 6.1k)6.I(a)
  4771.             }
  4772.             ,2r:7(a,b)
  4773.                 {
  4774.                 $(a).2q(b)
  4775.             }
  4776.             ,1I:7(a,b)
  4777.                 {
  4778.                 $(a).37(b)
  4779.             }
  4780.         }
  4781.         ,6i:7(a)
  4782.             {
  4783.             $.G($.u.2I,a)
  4784.         }
  4785.         ,J:
  4786.             {
  4787.             11:"6f 4o 2J 11.",1S:"K 33 6 4o.",1T:"K M a N 1T 6a.",1w:"K M a N 65.",1m:"K M a N 1m.",1W:"K M a N 1m (61).",2j:"4d 4c 3n 2Y 5U¼5R 5Q 2Y.",1s:"K M a N 1s.",24:"4d 4c 3n 5O 5L 2Y.",1N:"K M 5J 1N",2e:"K M a N 5F 5D 1s.",3Y:"K M 3W 5y T 5v.",3U:"K M a T 5s a N 5r.",16:$.1d("K M 3R 5n 2P
  4788.                 {
  4789.                 0
  4790.             }
  4791.              2O."),1D:$.1d("K M 5l 5k
  4792.                 {
  4793.                 0
  4794.             }
  4795.              2O."),2b:$.1d("K M a T 3N
  4796.                 {
  4797.                 0
  4798.             }
  4799.              3M
  4800.                 {
  4801.                 1
  4802.             }
  4803.              2O 5f."),2a:$.1d("K M a T 3N
  4804.                 {
  4805.                 0
  4806.             }
  4807.              3M
  4808.                 {
  4809.                 1
  4810.             }
  4811.             ."),1t:$.1d("K M a T 5b 2P 3J 3I 4a
  4812.                 {
  4813.                 0
  4814.             }
  4815.             ."),1y:$.1d("K M a T 55 2P 3J 3I 4a
  4816.                 {
  4817.                 0
  4818.             }
  4819.             .")
  4820.         }
  4821.         ,3H:H,53:
  4822.             {
  4823.             3w:7()
  4824.                 {
  4825.                 6.2k=$(6.q.2D);
  4826.                 6.4g=6.2k.E&&6.2k||$(6.W);
  4827.                 6.26=$(6.q.3m).1f(6.q.2D);
  4828.                 6.1k=
  4829.                     {
  4830.                 };
  4831.                 6.4V=
  4832.                     {
  4833.                 };
  4834.                 6.19=0;
  4835.                 6.1e=
  4836.                     {
  4837.                 };
  4838.                 6.1g=
  4839.                     {
  4840.                 };
  4841.                 6.1V();
  4842.                 p f=(6.1Z=
  4843.                     {
  4844.                 }
  4845.                 );
  4846.                 $.O(6.q.1Z,7(d,c)
  4847.                     {
  4848.                     $.O(c.1K(/\\s/),7(a,b)
  4849.                         {
  4850.                         f[b]=d
  4851.                     }
  4852.                     )
  4853.                 }
  4854.                 );
  4855.                 p e=6.q.17;
  4856.                 $.O(e,7(b,a)
  4857.                     {
  4858.                     e[b]=$.u.1U(a)
  4859.                 }
  4860.                 );
  4861.                 7 1C(a)
  4862.                     {
  4863.                     p b=$.15(6[0].L,"u");
  4864.                     b.q["3A"+a.1r]&&b.q["3A"+a.1r].12(b,6[0])
  4865.                 }
  4866.                 $(6.W).1C("3y 3x 4O",":2H, :4N, :4M, 20, 4L",1C).1C("4q",":3u, :3t",1C);
  4867.                 l(6.q.3r)$(6.W).3q("1g-L.1z",6.q.3r)
  4868.             }
  4869.             ,L:7()
  4870.                 {
  4871.                 6.3o();
  4872.                 $.G(6.1k,6.1q);
  4873.                 6.1g=$.G(
  4874.                     {
  4875.                 }
  4876.                 ,6.1q);
  4877.                 l(!6.N())$(6.W).2F("1g-L",[6]);
  4878.                 6.1h();
  4879.                 8 6.N()
  4880.             }
  4881.             ,3o:7()
  4882.                 {
  4883.                 6.2E();
  4884.                 P(p i=0,Y=(6.22=6.Y());
  4885.                 Y[i];
  4886.                 i++)
  4887.                     {
  4888.                     6.23(Y[i])
  4889.                 }
  4890.                 8 6.N()
  4891.             }
  4892.             ,I:7(a)
  4893.                 {
  4894.                 a=6.2C(a);
  4895.                 6.39=a;
  4896.                 6.2L(a);
  4897.                 6.22=$(a);
  4898.                 p b=6.23(a);
  4899.                 l(b)
  4900.                     {
  4901.                     Q 6.1g[a.r]
  4902.                 }
  4903.                 1a
  4904.                     {
  4905.                     6.1g[a.r]=v
  4906.                 }
  4907.                 l(!6.3E())
  4908.                     {
  4909.                     6.13=6.13.1f(6.26)
  4910.                 }
  4911.                 6.1h();
  4912.                 8 b
  4913.             }
  4914.             ,1h:7(b)
  4915.                 {
  4916.                 l(b)
  4917.                     {
  4918.                     $.G(6.1q,b);
  4919.                     6.R=[];
  4920.                     P(p c Z b)
  4921.                         {
  4922.                         6.R.1X(
  4923.                             {
  4924.                             18:b[c],I:6.28(c)[0]
  4925.                         }
  4926.                         )
  4927.                     }
  4928.                     6.1i=$.3h(6.1i,7(a)
  4929.                         {
  4930.                         8!(a.r Z b)
  4931.                     }
  4932.                     )
  4933.                 }
  4934.                 6.q.1h?6.q.1h.12(6,6.1q,6.R):6.3g()
  4935.             }
  4936.             ,2A:7()
  4937.                 {
  4938.                 l($.38.2A)$(6.W).2A();
  4939.                 6.1k=
  4940.                     {
  4941.                 };
  4942.                 6.2E();
  4943.                 6.2z();
  4944.                 6.Y().37(6.q.1c)
  4945.             }
  4946.             ,3E:7()
  4947.                 {
  4948.                 8 6.29(6.1g)
  4949.             }
  4950.             ,29:7(a)
  4951.                 {
  4952.                 p b=0;
  4953.                 P(p i Z a)b++;
  4954.                 8 b
  4955.             }
  4956.             ,2z:7()
  4957.                 {
  4958.                 6.2y(6.13).2x()
  4959.             }
  4960.             ,N:7()
  4961.                 {
  4962.                 8 6.3f()==0
  4963.             }
  4964.             ,3f:7()
  4965.                 {
  4966.                 8 6.R.E
  4967.             }
  4968.             ,2o:7()
  4969.                 {
  4970.                 l(6.q.2o)
  4971.                     {
  4972.                     3e
  4973.                         {
  4974.                         $(6.3d()||6.R.E&&6.R[0].I||[]).1o(":4B").3c()
  4975.                     }
  4976.                     3b(e)
  4977.                         {
  4978.                     }
  4979.                 }
  4980.             }
  4981.             ,3d:7()
  4982.                 {
  4983.                 p a=6.3i;
  4984.                 8 a&&$.3h(6.R,7(n)
  4985.                     {
  4986.                     8 n.I.r==a.r
  4987.                 }
  4988.                 ).E==1&&a
  4989.             }
  4990.             ,Y:7()
  4991.                 {
  4992.                 p a=6,2w=
  4993.                     {
  4994.                 };
  4995.                 8 $([]).1f(6.W.Y).1o(":1Y").1H(":31, :1V, :4z, [4y]").1H(6.q.3l).1o(7()
  4996.                     {
  4997.                     !6.r&&a.q.21&&2U.1v&&1v.3s("%o 4x 3R r 4u",6);
  4998.                     l(6.r Z 2w||!a.29($(6).17()))8 H;
  4999.                     2w[6.r]=v;
  5000.                     8 v
  5001.                 }
  5002.                 )
  5003.             }
  5004.             ,2C:7(a)
  5005.                 {
  5006.                 8 $(a)[0]
  5007.             }
  5008.             ,2v:7()
  5009.                 {
  5010.                 8 $(6.q.2G+"."+6.q.1c,6.4g)
  5011.             }
  5012.             ,1V:7()
  5013.                 {
  5014.                 6.1i=[];
  5015.                 6.R=[];
  5016.                 6.1q=
  5017.                     {
  5018.                 };
  5019.                 6.1l=$([]);
  5020.                 6.13=$([]);
  5021.                 6.1u=H;
  5022.                 6.22=$([])
  5023.             }
  5024.             ,2E:7()
  5025.                 {
  5026.                 6.1V();
  5027.                 6.13=6.2v().1f(6.26)
  5028.             }
  5029.             ,2L:7(a)
  5030.                 {
  5031.                 6.1V();
  5032.                 6.13=6.1P(a)
  5033.             }
  5034.             ,23:7(d)
  5035.                 {
  5036.                 d=6.2C(d);
  5037.                 l(6.1x(d))
  5038.                     {
  5039.                     d=6.28(d.r)[0]
  5040.                 }
  5041.                 p a=$(d).17();
  5042.                 p c=H;
  5043.                 P(U Z a)
  5044.                     {
  5045.                     p b=
  5046.                         {
  5047.                         U:U,2s:a[U]
  5048.                     };
  5049.                     3e
  5050.                         {
  5051.                         p f=$.u.1F[U].12(6,d.T,d,b.2s);
  5052.                         l(f=="1E-1R")
  5053.                             {
  5054.                             c=v;
  5055.                             6l
  5056.                         }
  5057.                         c=H;
  5058.                         l(f=="1e")
  5059.                             {
  5060.                             6.13=6.13.1H(6.1P(d));
  5061.                             8
  5062.                         }
  5063.                         l(!f)
  5064.                             {
  5065.                             6.4r(d,b);
  5066.                             8 H
  5067.                         }
  5068.                     }
  5069.                     3b(e)
  5070.                         {
  5071.                         6.q.21&&2U.1v&&1v.6k("6j 6h 6g 6e I "+d.4p+", 23 3W \'"+b.U+"\' U");
  5072.                         6d e;
  5073.                     }
  5074.                 }
  5075.                 l(c)8;
  5076.                 l(6.29(a))6.1i.1X(d);
  5077.                 8 v
  5078.             }
  5079.             ,4n:7(a,b)
  5080.                 {
  5081.                 l(!$.1A)8;
  5082.                 p c=6.q.34?$(a).1A()[6.q.34]:$(a).1A();
  5083.                 8 c&&c.J&&c.J[b]
  5084.             }
  5085.             ,4m:7(a,b)
  5086.                 {
  5087.                 p m=6.q.J[a];
  5088.                 8 m&&(m.2i==4l?m:m[b])
  5089.             }
  5090.             ,4k:7()
  5091.                 {
  5092.                 P(p i=0;
  5093.                 i<S.E;
  5094.                 i++)
  5095.                     {
  5096.                     l(S[i]!==2n)8 S[i]
  5097.                 }
  5098.                 8 2n
  5099.             }
  5100.             ,2m:7(a,b)
  5101.                 {
  5102.                 8 6.4k(6.4m(a.r,b),6.4n(a,b),!6.q.3k&&a.6b||2n,$.u.J[b],"<4j>69: 68 18 67 P "+a.r+"</4j>")
  5103.             }
  5104.             ,4r:7(b,a)
  5105.                 {
  5106.                 p c=6.2m(b,a.U);
  5107.                 l(14 c=="7")c=c.12(6,a.2s,b);
  5108.                 6.R.1X(
  5109.                     {
  5110.                     18:c,I:b
  5111.                 }
  5112.                 );
  5113.                 6.1q[b.r]=c;
  5114.                 6.1k[b.r]=c
  5115.             }
  5116.             ,2y:7(a)
  5117.                 {
  5118.                 l(6.q.2h)a=a.1f(a.64(6.q.2h));
  5119.                 8 a
  5120.             }
  5121.             ,3g:7()
  5122.                 {
  5123.                 P(p i=0;
  5124.                 6.R[i];
  5125.                 i++)
  5126.                     {
  5127.                     p a=6.R[i];
  5128.                     6.q.2r&&6.q.2r.12(6,a.I,6.q.1c);
  5129.                     6.30(a.I,a.18)
  5130.                 }
  5131.                 l(6.R.E)
  5132.                     {
  5133.                     6.1l=6.1l.1f(6.26)
  5134.                 }
  5135.                 l(6.q.1n)
  5136.                     {
  5137.                     P(p i=0;
  5138.                     6.1i[i];
  5139.                     i++)
  5140.                         {
  5141.                         6.30(6.1i[i])
  5142.                     }
  5143.                 }
  5144.                 l(6.q.1I)
  5145.                     {
  5146.                     P(p i=0,Y=6.4i();
  5147.                     Y[i];
  5148.                     i++)
  5149.                         {
  5150.                         6.q.1I.12(6,Y[i],6.q.1c)
  5151.                     }
  5152.                 }
  5153.                 6.13=6.13.1H(6.1l);
  5154.                 6.2z();
  5155.                 6.2y(6.1l).4h()
  5156.             }
  5157.             ,4i:7()
  5158.                 {
  5159.                 8 6.22.1H(6.3a())
  5160.             }
  5161.             ,3a:7()
  5162.                 {
  5163.                 8 $(6.R).3j(7()
  5164.                     {
  5165.                     8 6.I
  5166.                 }
  5167.                 )
  5168.             }
  5169.             ,30:7(a,c)
  5170.                 {
  5171.                 p b=6.1P(a);
  5172.                 l(b.E)
  5173.                     {
  5174.                     b.37().2q(6.q.1c);
  5175.                     b.1J("4f")&&b.4e(c)
  5176.                 }
  5177.                 1a
  5178.                     {
  5179.                     b=$("<"+6.q.2G+"/>").1J(
  5180.                         {
  5181.                         "P":6.2Z(a),4f:v
  5182.                     }
  5183.                     ).2q(6.q.1c).4e(c||"");
  5184.                     l(6.q.2h)
  5185.                         {
  5186.                         b=b.2x().4h().60("<"+6.q.2h+"/>").5Y()
  5187.                     }
  5188.                     l(!6.2k.5X(b).E)6.q.4b?6.q.4b(b,$(a)):b.5W(a)
  5189.                 }
  5190.                 l(!c&&6.q.1n)
  5191.                     {
  5192.                     b.2H("");
  5193.                     14 6.q.1n=="1p"?b.2q(6.q.1n):6.q.1n(b)
  5194.                 }
  5195.                 6.1l=6.1l.1f(b)
  5196.             }
  5197.             ,1P:7(a)
  5198.                 {
  5199.                 8 6.2v().1o("[P=\'"+6.2Z(a)+"\']")
  5200.             }
  5201.             ,2Z:7(a)
  5202.                 {
  5203.                 8 6.1Z[a.r]||(6.1x(a)?a.r:a.4p||a.r)
  5204.             }
  5205.             ,1x:7(a)
  5206.                 {
  5207.                 8/3u|3t/i.V(a.1r)
  5208.             }
  5209.             ,28:7(d)
  5210.                 {
  5211.                 p c=6.W;
  5212.                 8 $(5T.5S(d)).3j(7(a,b)
  5213.                     {
  5214.                     8 b.L==c&&b.r==d&&b||48
  5215.                 }
  5216.                 )
  5217.             }
  5218.             ,1L:7(a,b)
  5219.                 {
  5220.                 2p(b.47.3D())
  5221.                     {
  5222.                     1b\'20\':8 $("46:2B",b).E;
  5223.                     1b\'1Y\':l(6.1x(b))8 6.28(b.r).1o(\':3P\').E
  5224.                 }
  5225.                 8 a.E
  5226.             }
  5227.             ,45:7(b,a)
  5228.                 {
  5229.                 8 6.2X[14 b]?6.2X[14 b](b,a):v
  5230.             }
  5231.             ,2X:
  5232.                 {
  5233.                 "5P":7(b,a)
  5234.                     {
  5235.                     8 b
  5236.                 }
  5237.                 ,"1p":7(b,a)
  5238.                     {
  5239.                     8!!$(b,a.L).E
  5240.                 }
  5241.                 ,"7":7(b,a)
  5242.                     {
  5243.                     8 b(a)
  5244.                 }
  5245.             }
  5246.             ,F:7(a)
  5247.                 {
  5248.                 8!$.u.1F.11.12(6,$.1j(a.T),a)&&"1E-1R"
  5249.             }
  5250.             ,42:7(a)
  5251.                 {
  5252.                 l(!6.1e[a.r])
  5253.                     {
  5254.                     6.19++;
  5255.                     6.1e[a.r]=v
  5256.                 }
  5257.             }
  5258.             ,4s:7(a,b)
  5259.                 {
  5260.                 6.19--;
  5261.                 l(6.19<0)6.19=0;
  5262.                 Q 6.1e[a.r];
  5263.                 l(b&&6.19==0&&6.1u&&6.L())
  5264.                     {
  5265.                     $(6.W).31()
  5266.                 }
  5267.                 1a l(!b&&6.19==0&&6.1u)
  5268.                     {
  5269.                     $(6.W).2F("1g-L",[6])
  5270.                 }
  5271.             }
  5272.             ,2f:7(a)
  5273.                 {
  5274.                 8 $.15(a,"2f")||$.15(a,"2f",5K=
  5275.                     {
  5276.                     2W:48,N:v,18:6.2m(a,"1S")
  5277.                 }
  5278.                 )
  5279.             }
  5280.         }
  5281.         ,1M:
  5282.             {
  5283.             11:
  5284.                 {
  5285.                 11:v
  5286.             }
  5287.             ,1T:
  5288.                 {
  5289.                 1T:v
  5290.             }
  5291.             ,1w:
  5292.                 {
  5293.                 1w:v
  5294.             }
  5295.             ,1m:
  5296.                 {
  5297.                 1m:v
  5298.             }
  5299.             ,1W:
  5300.                 {
  5301.                 1W:v
  5302.             }
  5303.             ,2j:
  5304.                 {
  5305.                 2j:v
  5306.             }
  5307.             ,1s:
  5308.                 {
  5309.                 1s:v
  5310.             }
  5311.             ,24:
  5312.                 {
  5313.                 24:v
  5314.             }
  5315.             ,1N:
  5316.                 {
  5317.                 1N:v
  5318.             }
  5319.             ,2e:
  5320.                 {
  5321.                 2e:v
  5322.             }
  5323.         }
  5324.         ,3Z:7(a,b)
  5325.             {
  5326.             a.2i==4l?6.1M[a]=b:$.G(6.1M,a)
  5327.         }
  5328.         ,43:7(b)
  5329.             {
  5330.             p a=
  5331.                 {
  5332.             };
  5333.             p c=$(b).1J(\'5I\');
  5334.             c&&$.O(c.1K(\' \'),7()
  5335.                 {
  5336.                 l(6 Z $.u.1M)
  5337.                     {
  5338.                     $.G(a,$.u.1M[6])
  5339.                 }
  5340.             }
  5341.             );
  5342.             8 a
  5343.         }
  5344.         ,3G:7(c)
  5345.             {
  5346.             p a=
  5347.                 {
  5348.             };
  5349.             p d=$(c);
  5350.             P(U Z $.u.1F)
  5351.                 {
  5352.                 p b=d.1J(U);
  5353.                 l(b)
  5354.                     {
  5355.                     a[U]=b
  5356.                 }
  5357.             }
  5358.             l(a.16&&/-1|5H|5G/.V(a.16))
  5359.                 {
  5360.                 Q a.16
  5361.             }
  5362.             8 a
  5363.         }
  5364.         ,44:7(a)
  5365.             {
  5366.             l(!$.1A)8
  5367.                 {
  5368.             };
  5369.             p b=$.15(a.L,\'u\').q.34;
  5370.             8 b?$(a).1A()[b]:$(a).1A()
  5371.         }
  5372.         ,2t:7(b)
  5373.             {
  5374.             p a=
  5375.                 {
  5376.             };
  5377.             p c=$.15(b.L,\'u\');
  5378.             l(c.q.17)
  5379.                 {
  5380.                 a=$.u.1U(c.q.17[b.r])||
  5381.                     {
  5382.                 }
  5383.             }
  5384.             8 a
  5385.         }
  5386.         ,49:7(d,e)
  5387.             {
  5388.             $.O(d,7(c,b)
  5389.                 {
  5390.                 l(b===H)
  5391.                     {
  5392.                     Q d[c];
  5393.                     8
  5394.                 }
  5395.                 l(b.2V||b.2d)
  5396.                     {
  5397.                     p a=v;
  5398.                     2p(14 b.2d)
  5399.                         {
  5400.                         1b"1p":a=!!$(b.2d,e.L).E;
  5401.                         2u;
  5402.                         1b"7":a=b.2d.12(e,e);
  5403.                         2u
  5404.                     }
  5405.                     l(a)
  5406.                         {
  5407.                         d[c]=b.2V!==2n?b.2V:v
  5408.                     }
  5409.                     1a
  5410.                         {
  5411.                         Q d[c]
  5412.                     }
  5413.                 }
  5414.             }
  5415.             );
  5416.             $.O(d,7(a,b)
  5417.                 {
  5418.                 d[a]=$.5C(b)?b(e):b
  5419.             }
  5420.             );
  5421.             $.O([\'1D\',\'16\',\'1y\',\'1t\'],7()
  5422.                 {
  5423.                 l(d[6])
  5424.                     {
  5425.                     d[6]=2T(d[6])
  5426.                 }
  5427.             }
  5428.             );
  5429.             $.O([\'2b\',\'2a\'],7()
  5430.                 {
  5431.                 l(d[6])
  5432.                     {
  5433.                     d[6]=[2T(d[6][0]),2T(d[6][1])]
  5434.                 }
  5435.             }
  5436.             );
  5437.             l($.u.3H)
  5438.                 {
  5439.                 l(d.1y&&d.1t)
  5440.                     {
  5441.                     d.2a=[d.1y,d.1t];
  5442.                     Q d.1y;
  5443.                     Q d.1t
  5444.                 }
  5445.                 l(d.1D&&d.16)
  5446.                     {
  5447.                     d.2b=[d.1D,d.16];
  5448.                     Q d.1D;
  5449.                     Q d.16
  5450.                 }
  5451.             }
  5452.             l(d.J)
  5453.                 {
  5454.                 Q d.J
  5455.             }
  5456.             8 d
  5457.         }
  5458.         ,1U:7(a)
  5459.             {
  5460.             l(14 a=="1p")
  5461.                 {
  5462.                 p b=
  5463.                     {
  5464.                 };
  5465.                 $.O(a.1K(/\\s/),7()
  5466.                     {
  5467.                     b[6]=v
  5468.                 }
  5469.                 );
  5470.                 a=b
  5471.             }
  5472.             8 a
  5473.         }
  5474.         ,5B:7(c,a,b)
  5475.             {
  5476.             $.u.1F[c]=a;
  5477.             $.u.J[c]=b;
  5478.             l(a.E<3)
  5479.                 {
  5480.                 $.u.3Z(c,$.u.1U(c))
  5481.             }
  5482.         }
  5483.         ,1F:
  5484.             {
  5485.             11:7(b,c,a)
  5486.                 {
  5487.                 l(!6.45(a,c))8"1E-1R";
  5488.                 2p(c.47.3D())
  5489.                     {
  5490.                     1b\'20\':p d=$("46:2B",c);
  5491.                     8 d.E>0&&(c.1r=="20-5z"||($.2S.2M&&!(d[0].5x[\'T\'].5u)?d[0].2H:d[0].T).E>0);
  5492.                     1b\'1Y\':l(6.1x(c))8 6.1L(b,c)>0;
  5493.                     5t:8 $.1j(b).E>0
  5494.                 }
  5495.             }
  5496.             ,1S:7(e,h,d)
  5497.                 {
  5498.                 l(6.F(h))8"1E-1R";
  5499.                 p g=6.2f(h);
  5500.                 l(!6.q.J[h.r])6.q.J[h.r]=
  5501.                     {
  5502.                 };
  5503.                 6.q.J[h.r].1S=14 g.18=="7"?g.18(e):g.18;
  5504.                 d=14 d=="1p"&&
  5505.                     {
  5506.                     1w:d
  5507.                 }
  5508.                 ||d;
  5509.                 l(g.2W!==e)
  5510.                     {
  5511.                     g.2W=e;
  5512.                     p i=6;
  5513.                     6.42(h);
  5514.                     p f=
  5515.                         {
  5516.                     };
  5517.                     f[h.r]=e;
  5518.                     $.2R($.G(v,
  5519.                         {
  5520.                         1w:d,3T:"2Q",3S:"1z"+h.r,5q:"5p",15:f,1n:7(a)
  5521.                             {
  5522.                             l(a)
  5523.                                 {
  5524.                                 p b=i.1u;
  5525.                                 i.2L(h);
  5526.                                 i.1u=b;
  5527.                                 i.1i.1X(h);
  5528.                                 i.1h()
  5529.                             }
  5530.                             1a
  5531.                                 {
  5532.                                 p c=
  5533.                                     {
  5534.                                 };
  5535.                                 c[h.r]=a||i.2m(h,"1S");
  5536.                                 i.1h(c)
  5537.                             }
  5538.                             g.N=a;
  5539.                             i.4s(h,a)
  5540.                         }
  5541.                     }
  5542.                     ,d));
  5543.                     8"1e"
  5544.                 }
  5545.                 1a l(6.1e[h.r])
  5546.                     {
  5547.                     8"1e"
  5548.                 }
  5549.                 8 g.N
  5550.             }
  5551.             ,1D:7(b,c,a)
  5552.                 {
  5553.                 8 6.F(c)||6.1L($.1j(b),c)>=a
  5554.             }
  5555.             ,16:7(b,c,a)
  5556.                 {
  5557.                 8 6.F(c)||6.1L($.1j(b),c)<=a
  5558.             }
  5559.             ,2b:7(b,d,a)
  5560.                 {
  5561.                 p c=6.1L($.1j(b),d);
  5562.                 8 6.F(d)||(c>=a[0]&&c<=a[1])
  5563.             }
  5564.             ,1y:7(b,c,a)
  5565.                 {
  5566.                 8 6.F(c)||b>=a
  5567.             }
  5568.             ,1t:7(b,c,a)
  5569.                 {
  5570.                 8 6.F(c)||b<=a
  5571.             }
  5572.             ,2a:7(b,c,a)
  5573.                 {
  5574.                 8 6.F(c)||(b>=a[0]&&b<=a[1])
  5575.             }
  5576.             ,1T:7(a,b)
  5577.                 {
  5578.                 8 6.F(b)||/^((([a-z]|\\d|[!#\\$%&\'\\*\\+\\-\\/=\\?\\^X`
  5579.                     {
  5580.                     \\|
  5581.                 }
  5582.                 ~]|[\\A-\\B\\w-\\x\\C-\\y])+(\\.([a-z]|\\d|[!#\\$%&\'\\*\\+\\-\\/=\\?\\^X`
  5583.                     {
  5584.                     \\|
  5585.                 }
  5586.                 ~]|[\\A-\\B\\w-\\x\\C-\\y])+)*)|((\\3Q)((((\\2c|\\1O)*(\\2N\\3X))?(\\2c|\\1O)+)?(([\\3V-\\5E\\3L\\3O\\5j-\\5i\\41]|\\5h|[\\5g-\\5M]|[\\5N-\\5e]|[\\A-\\B\\w-\\x\\C-\\y])|(\\\\([\\3V-\\1O\\3L\\3O\\2N-\\41]|[\\A-\\B\\w-\\x\\C-\\y]))))*(((\\2c|\\1O)*(\\2N\\3X))?(\\2c|\\1O)+)?(\\3Q)))@((([a-z]|\\d|[\\A-\\B\\w-\\x\\C-\\y])|(([a-z]|\\d|[\\A-\\B\\w-\\x\\C-\\y])([a-z]|\\d|-|\\.|X|~|[\\A-\\B\\w-\\x\\C-\\y])*([a-z]|\\d|[\\A-\\B\\w-\\x\\C-\\y])))\\.)+(([a-z]|[\\A-\\B\\w-\\x\\C-\\y])|(([a-z]|[\\A-\\B\\w-\\x\\C-\\y])([a-z]|\\d|-|\\.|X|~|[\\A-\\B\\w-\\x\\C-\\y])*([a-z]|[\\A-\\B\\w-\\x\\C-\\y])))\\.?$/i.V(a)
  5587.             }
  5588.             ,1w:7(a,b)
  5589.                 {
  5590.                 8 6.F(b)||/^(5d?|5c):\\/\\/(((([a-z]|\\d|-|\\.|X|~|[\\A-\\B\\w-\\x\\C-\\y])|(%[\\1G-f]
  5591.                     {
  5592.                     2
  5593.                 }
  5594.                 )|[!\\$&\'\\(\\)\\*\\+,;
  5595.                 =]|:)*@)?(((\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])\\.(\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])\\.(\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])\\.(\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5]))|((([a-z]|\\d|[\\A-\\B\\w-\\x\\C-\\y])|(([a-z]|\\d|[\\A-\\B\\w-\\x\\C-\\y])([a-z]|\\d|-|\\.|X|~|[\\A-\\B\\w-\\x\\C-\\y])*([a-z]|\\d|[\\A-\\B\\w-\\x\\C-\\y])))\\.)+(([a-z]|[\\A-\\B\\w-\\x\\C-\\y])|(([a-z]|[\\A-\\B\\w-\\x\\C-\\y])([a-z]|\\d|-|\\.|X|~|[\\A-\\B\\w-\\x\\C-\\y])*([a-z]|[\\A-\\B\\w-\\x\\C-\\y])))\\.?)(:\\d*)?)(\\/((([a-z]|\\d|-|\\.|X|~|[\\A-\\B\\w-\\x\\C-\\y])|(%[\\1G-f]
  5596.                     {
  5597.                     2
  5598.                 }
  5599.                 )|[!\\$&\'\\(\\)\\*\\+,;
  5600.                 =]|:|@)+(\\/(([a-z]|\\d|-|\\.|X|~|[\\A-\\B\\w-\\x\\C-\\y])|(%[\\1G-f]
  5601.                     {
  5602.                     2
  5603.                 }
  5604.                 )|[!\\$&\'\\(\\)\\*\\+,;
  5605.                 =]|:|@)*)*)?)?(\\?((([a-z]|\\d|-|\\.|X|~|[\\A-\\B\\w-\\x\\C-\\y])|(%[\\1G-f]
  5606.                     {
  5607.                     2
  5608.                 }
  5609.                 )|[!\\$&\'\\(\\)\\*\\+,;
  5610.                 =]|:|@)|[\\59-\\58]|\\/|\\?)*)?(\\#((([a-z]|\\d|-|\\.|X|~|[\\A-\\B\\w-\\x\\C-\\y])|(%[\\1G-f]
  5611.                     {
  5612.                     2
  5613.                 }
  5614.                 )|[!\\$&\'\\(\\)\\*\\+,;
  5615.                 =]|:|@)|\\/|\\?)*)?$/i.V(a)
  5616.             }
  5617.             ,1m:7(a,b)
  5618.                 {
  5619.                 8 6.F(b)||!/57|5Z/.V(2l 56(a))
  5620.             }
  5621.             ,1W:7(a,b)
  5622.                 {
  5623.                 8 6.F(b)||/^\\d
  5624.                     {
  5625.                     4
  5626.                 }
  5627.                 [\\/-]\\d
  5628.                     {
  5629.                     1,2
  5630.                 }
  5631.                 [\\/-]\\d
  5632.                     {
  5633.                     1,2
  5634.                 }
  5635.                 $/.V(a)
  5636.             }
  5637.             ,2j:7(a,b)
  5638.                 {
  5639.                 8 6.F(b)||/^\\d\\d?\\.\\d\\d?\\.\\d\\d\\d?\\d?$/.V(a)
  5640.             }
  5641.             ,1s:7(a,b)
  5642.                 {
  5643.                 8 6.F(b)||/^-?(?:\\d+|\\d
  5644.                     {
  5645.                     1,3
  5646.                 }
  5647.                 (?:,\\d
  5648.                     {
  5649.                     3
  5650.                 }
  5651.                 )+)(?:\\.\\d+)?$/.V(a)
  5652.             }
  5653.             ,24:7(a,b)
  5654.                 {
  5655.                 8 6.F(b)||/^-?(?:\\d+|\\d
  5656.                     {
  5657.                     1,3
  5658.                 }
  5659.                 (?:\\.\\d
  5660.                     {
  5661.                     3
  5662.                 }
  5663.                 )+)(?:,\\d+)?$/.V(a)
  5664.             }
  5665.             ,1N:7(a,b)
  5666.                 {
  5667.                 8 6.F(b)||/^\\d+$/.V(a)
  5668.             }
  5669.             ,2e:7(b,e)
  5670.                 {
  5671.                 l(6.F(e))8"1E-1R";
  5672.                 l(/[^0-9-]+/.V(b))8 H;
  5673.                 p a=0,d=0,27=H;
  5674.                 b=b.3B(/\\D/g,"");
  5675.                 P(n=b.E-1;
  5676.                 n>=0;
  5677.                 n--)
  5678.                     {
  5679.                     p c=b.62(n);
  5680.                     p d=54(c,10);
  5681.                     l(27)
  5682.                         {
  5683.                         l((d*=2)>9)d-=9
  5684.                     }
  5685.                     a+=d;
  5686.                     27=!27
  5687.                 }
  5688.                 8(a%10)==0
  5689.             }
  5690.             ,3U:7(b,c,a)
  5691.                 {
  5692.                 a=14 a=="1p"?a:"52|66?g|51";
  5693.                 8 6.F(c)||b.50(2l 3z(".("+a+")$","i"))
  5694.             }
  5695.             ,3Y:7(b,c,a)
  5696.                 {
  5697.                 8 b==$(a).4Z()
  5698.             }
  5699.         }
  5700.     }
  5701.     )
  5702. }
  5703. )(32);
  5704. (7($)
  5705.     {
  5706.     p c=$.2R;
  5707.     p d=
  5708.         {
  5709.     };
  5710.     $.2R=7(a)
  5711.         {
  5712.         a=$.G(a,$.G(
  5713.             {
  5714.         }
  5715.         ,$.4X,a));
  5716.         p b=a.3S;
  5717.         l(a.3T=="2Q")
  5718.             {
  5719.             l(d[b])
  5720.                 {
  5721.                 d[b].2Q()
  5722.             }
  5723.             8(d[b]=c.1Q(6,S))
  5724.         }
  5725.         8 c.1Q(6,S)
  5726.     }
  5727. }
  5728. )(32);
  5729. (7($)
  5730.     {
  5731.     $.O(
  5732.         {
  5733.         3c:\'3y\',4W:\'3x\'
  5734.     }
  5735.     ,7(b,a)
  5736.         {
  5737.         $.1B.2K[a]=
  5738.             {
  5739.             4T:7()
  5740.                 {
  5741.                 l($.2S.2M)8 H;
  5742.                 6.4S(b,$.1B.2K[a].36,v)
  5743.             }
  5744.             ,4R:7()
  5745.                 {
  5746.                 l($.2S.2M)8 H;
  5747.                 6.4Q(b,$.1B.2K[a].36,v)
  5748.             }
  5749.             ,36:7(e)
  5750.                 {
  5751.                 S[0]=$.1B.33(e);
  5752.                 S[0].1r=a;
  5753.                 8 $.1B.2g.1Q(6,S)
  5754.             }
  5755.         }
  5756.     }
  5757.     );
  5758.     $.G($.38,
  5759.         {
  5760.         1C:7(d,e,c)
  5761.             {
  5762.             8 6.3q(d,7(a)
  5763.                 {
  5764.                 p b=$(a.3C);
  5765.                 l(b.2J(e))
  5766.                     {
  5767.                     8 c.1Q(b,S)
  5768.                 }
  5769.             }
  5770.             )
  5771.         }
  5772.         ,4P:7(a,b)
  5773.             {
  5774.             8 6.2F(a,[$.1B.33(
  5775.                 {
  5776.                 1r:a,3C:b
  5777.             }
  5778.             )])
  5779.         }
  5780.     }
  5781.     )
  5782. }
  5783. )(32);
  5784. ',62,394,'||||||this|function|return|||||||||||||if||||var|settings|name|||validator|true|uF900|uFDCF|uFFEF||u00A0|uD7FF|uFDF0||length|optional|extend|false|element|messages|Please|form|enter|valid|each|for|delete|errorList|arguments|value|method|test|currentForm|_|elements|in||required|call|toHide|typeof|data|maxlength|rules|message|pendingRequest|else|case|errorClass|format|pending|add|invalid|showErrors|successList|trim|submitted|toShow|date|success|filter|string|errorMap|type|number|max|formSubmitted|console|url|checkable|min|validate|metadata|event|delegate|minlength|dependency|methods|da|not|unhighlight|attr|split|getLength|classRuleSettings|digits|x09|errorsFor|apply|mismatch|remote|email|normalizeRule|reset|dateISO|push|input|groups|select|debug|currentElements|check|numberDE||containers|bEven|findByName|objectLength|range|rangelength|x20|depends|creditcard|previousValue|handle|wrapper|constructor|dateDE|labelContainer|new|defaultMessage|undefined|focusInvalid|switch|addClass|highlight|parameters|staticRules|break|errors|rulesCache|hide|addWrapper|hideErrors|resetForm|selected|clean|errorLabelContainer|prepareForm|triggerHandler|errorElement|text|defaults|is|special|prepareElement|msie|x0d|characters|than|abort|ajax|browser|Number|window|param|old|dependTypes|ein|idOrName|showLabel|submit|jQuery|fix|meta|cancelSubmit|handler|removeClass|fn|lastElement|invalidElements|catch|focus|findLastActive|try|size|defaultShowErrors|grep|lastActive|map|ignoreTitle|ignore|errorContainer|Sie|checkForm|nothing|bind|invalidHandler|error|checkbox|radio|onsubmit|init|focusout|focusin|RegExp|on|replace|target|toLowerCase|numberOfInvalids|Array|attributeRules|autoCreateRanges|equal|or|makeArray|x0b|and|between|x0c|checked|x22|no|port|mode|accept|x01|the|x0a|equalTo|addClassRules|submitHandler|x7f|startRequest|classRules|metadataRules|depend|option|nodeName|null|normalizeRules|to|errorPlacement|geben|Bitte|html|generated|errorContext|show|validElements|strong|findDefined|String|customMessage|customMetaMessage|field|id|click|formatAndAdd|stopRequest|onclick|assigned|onkeyup|cancel|has|disabled|image|can|visible|onfocusout|button|blockFocusCleanup|focusCleanup|removeAttr|onfocusin|find|label|removeAttrs|textarea|file|password|keyup|triggerEvent|removeEventListener|teardown|addEventListener|setup|slice|valueCache|blur|ajaxSettings|warn|val|match|gif|png|prototype|parseInt|greater|Date|Invalid|uF8FF|uE000|unshift|less|ftp|https|x7e|long|x23|x21|x1f|x0e|least|at|unchecked|more|filled|json|dataType|extension|with|default|specified|again|blank|attributes|same|multiple|expr|addMethod|isFunction|card|x08|credit|524288|2147483647|class|only|previous|Nummer|x5b|x5d|eine|boolean|Datum|ltiges|getElementsByName|document|gÃ|preventDefault|insertAfter|append|parent|NaN|wrap|ISO|charAt|remove|parents|URL|jpe|defined|No|Warning|address|title|returning|throw|checking|This|when|occured|setDefaults|exception|log|continue'.split('|'),0,
  5785.     {
  5786. }
  5787. ));
  5788. $(document).ready(function()
  5789.     {
  5790.     handleActions()
  5791. }
  5792. );
  5793. jQuery(function(e,i)
  5794.     {
  5795.     function j()
  5796.         {
  5797.         var a=e("script:first"),b=a.css("color"),c=false;
  5798.         if(/^rgba/.test(b))c=true;
  5799.         else try
  5800.             {
  5801.             c=b!=a.css("color","rgba(0, 0, 0, 0.5)").css("color");
  5802.             a.css("color",b)
  5803.         }
  5804.         catch(d)
  5805.             {
  5806.         }
  5807.         return c
  5808.     }
  5809.     function k(a,b,c)
  5810.         {
  5811.         var d=[];
  5812.         a.c&&d.push("inset");
  5813.         typeof b.left!="undefined"&&d.push(parseInt(a.left+c*(b.left-a.left),10)+"px "+parseInt(a.top+c*(b.top-a.top),10)+"px");
  5814.         typeof b.blur!="undefined"&&d.push(parseInt(a.blur+c*(b.blur-a.blur),10)+"px");
  5815.         typeof b.a!="undefined"&&d.push(parseInt(a.a+c*(b.a-a.a),10)+"px");
  5816.         if(typeof b.color!="undefined")
  5817.             {
  5818.             var g="rgb"+(e.support.rgba?"a":"")+"("+parseInt(a.color[0]+c*(b.color[0]-a.color[0]),10)+","+parseInt(a.color[1]+c*(b.color[1]-a.color[1]),10)+","+parseInt(a.color[2]+c*(b.color[2]-a.color[2]),10);
  5819.             if(e.support.rgba)g+=","+parseFloat(a.color[3]+c*(b.color[3]-a.color[3]));
  5820.             g+=")";
  5821.             d.push(g)
  5822.         }
  5823.         return d.join(" ")
  5824.     }
  5825.     function h(a)
  5826.         {
  5827.         var b,c,d=
  5828.             {
  5829.         };
  5830.         if(b=/#([0-9a-fA-F]
  5831.             {
  5832.             2
  5833.         }
  5834.         )([0-9a-fA-F]
  5835.             {
  5836.             2
  5837.         }
  5838.         )([0-9a-fA-F]
  5839.             {
  5840.             2
  5841.         }
  5842.         )/.exec(a))c=[parseInt(b[1],16),parseInt(b[2],16),parseInt(b[3],16),1];
  5843.         else if(b=/#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])/.exec(a))c=[parseInt(b[1],16)*17,parseInt(b[2],16)*17,parseInt(b[3],16)*17,1];
  5844.         else if(b=/rgb\(\s*([0-9]
  5845.             {
  5846.             1,3
  5847.         }
  5848.         )\s*,\s*([0-9]
  5849.             {
  5850.             1,3
  5851.         }
  5852.         )\s*,\s*([0-9]
  5853.             {
  5854.             1,3
  5855.         }
  5856.         )\s*\)/.exec(a))c=[parseInt(b[1],10),parseInt(b[2],10),parseInt(b[3],10),1];
  5857.         else if(b=/rgba\(\s*([0-9]
  5858.             {
  5859.             1,3
  5860.         }
  5861.         )\s*,\s*([0-9]
  5862.             {
  5863.             1,3
  5864.         }
  5865.         )\s*,\s*([0-9]
  5866.             {
  5867.             1,3
  5868.         }
  5869.         )\s*,\s*([0-9\.]*)\s*\)/.exec(a))c=[parseInt(b[1],10),parseInt(b[2],10),parseInt(b[3],10),parseFloat(b[4])];
  5870.         d=(b=/(-?[0-9]+)(?:px)?\s+(-?[0-9]+)(?:px)?(?:\s+(-?[0-9]+)(?:px)?)?(?:\s+(-?[0-9]+)(?:px)?)?/.exec(a))?
  5871.             {
  5872.             left:parseInt(b[1],10),top:parseInt(b[2],10),blur:b[3]?parseInt(b[3],10):0,a:b[4]?parseInt(b[4],10):0
  5873.         }
  5874.         :
  5875.             {
  5876.             left:0,top:0,blur:0,a:0
  5877.         };
  5878.         d.c=/inset/.test(a);
  5879.         d.color=c;
  5880.         return d
  5881.     }
  5882.     e.extend(true,e,
  5883.         {
  5884.         support:
  5885.             {
  5886.             rgba:j()
  5887.         }
  5888.     }
  5889.     );
  5890.     var f;
  5891.     e.each(["boxShadow","MozBoxShadow","WebkitBoxShadow"],function(a,b)
  5892.         {
  5893.         a=e("html").css(b);
  5894.         if(typeof a=="string"&&a!="")
  5895.             {
  5896.             f=b;
  5897.             return false
  5898.         }
  5899.     }
  5900.     );
  5901.     if(f)e.fx.step.boxShadow=function(a)
  5902.         {
  5903.         if(!a.init)
  5904.             {
  5905.             a.b=h(e(a.elem).get(0).style[f]||e(a.elem).css(f));
  5906.             a.end=e.extend(
  5907.                 {
  5908.             }
  5909.             ,a.b,h(a.end));
  5910.             if(a.b.color==i)a.b.color=a.end.color||[0,0,0];
  5911.             a.init=true
  5912.         }
  5913.         a.elem.style[f]=k(a.b,a.end,a.pos)
  5914.     }
  5915. }
  5916. );
  5917. (function(window,undefined)
  5918.     {
  5919.     var document=window["document"];
  5920.     var $=window["jQuery"];
  5921.     $.fn["printElement"]=function(options)
  5922.         {
  5923.         var mainOptions=$.extend(
  5924.             {
  5925.         }
  5926.         ,$.fn["printElement"]["defaults"],options);
  5927.         if(mainOptions["printMode"]=='iframe')
  5928.             {
  5929.             if($.browser.opera||(/chrome/.test(navigator.userAgent.toLowerCase())))mainOptions["printMode"]='popup'
  5930.         }
  5931.         $("[id^='printElement_']").remove();
  5932.         return this.each(function()
  5933.             {
  5934.             var opts=$.meta?$.extend(
  5935.                 {
  5936.             }
  5937.             ,mainOptions,$(this).data()):mainOptions;
  5938.             _printElement($(this),opts)
  5939.         }
  5940.         )
  5941.     };
  5942.     $.fn["printElement"]["defaults"]=
  5943.         {
  5944.         "printMode":'iframe',"pageTitle":'',"overrideElementCSS":null,"printBodyOptions":
  5945.             {
  5946.             "styleToAdd":'padding:10px;
  5947.             margin:10px;
  5948.             ',"classNameToAdd":''
  5949.         }
  5950.         ,"leaveOpen":false,"iframeElementOptions":
  5951.             {
  5952.             "styleToAdd":'border:none;
  5953.             position:absolute;
  5954.             width:0px;
  5955.             height:0px;
  5956.             bottom:0px;
  5957.             left:0px;
  5958.             ',"classNameToAdd":''
  5959.         }
  5960.     };
  5961.     $.fn["printElement"]["cssElement"]=
  5962.         {
  5963.         "href":'',"media":''
  5964.     };
  5965.     function _printElement(element,opts)
  5966.         {
  5967.         var html=_getMarkup(element,opts);
  5968.         var popupOrIframe=null;
  5969.         var documentToWriteTo=null;
  5970.         if(opts["printMode"].toLowerCase()=='popup')
  5971.             {
  5972.             popupOrIframe=window.open('about:blank','printElementWindow','width=650,height=440,scrollbars=yes');
  5973.             documentToWriteTo=popupOrIframe.document
  5974.         }
  5975.         else
  5976.             {
  5977.             var printElementID="printElement_"+(Math.round(Math.random()*99999)).toString();
  5978.             var iframe=document.createElement('IFRAME');
  5979.             $(iframe).attr(
  5980.                 {
  5981.                 style:opts["iframeElementOptions"]["styleToAdd"],id:printElementID,className:opts["iframeElementOptions"]["classNameToAdd"],frameBorder:0,scrolling:'no',src:'about:blank'
  5982.             }
  5983.             );
  5984.             document.body.appendChild(iframe);
  5985.             documentToWriteTo=(iframe.contentWindow||iframe.contentDocument);
  5986.             if(documentToWriteTo.document)documentToWriteTo=documentToWriteTo.document;
  5987.             iframe=document.frames?document.frames[printElementID]:document.getElementById(printElementID);
  5988.             popupOrIframe=iframe.contentWindow||iframe
  5989.         }
  5990.         focus();
  5991.         documentToWriteTo.open();
  5992.         documentToWriteTo.write(html);
  5993.         documentToWriteTo.close();
  5994.         _callPrint(popupOrIframe)
  5995.     };
  5996.     function _callPrint(element)
  5997.         {
  5998.         if(element&&element["printPage"])element["printPage"]();
  5999.         else setTimeout(function()
  6000.             {
  6001.             _callPrint(element)
  6002.         }
  6003.         ,50)
  6004.     }
  6005.     function _getElementHTMLIncludingFormElements(element)
  6006.         {
  6007.         var $element=$(element);
  6008.         $(":checked",$element).each(function()
  6009.             {
  6010.             this.setAttribute('checked','checked')
  6011.         }
  6012.         );
  6013.         $("input[type='text']",$element).each(function()
  6014.             {
  6015.             this.setAttribute('value',$(this).val())
  6016.         }
  6017.         );
  6018.         $("select",$element).each(function()
  6019.             {
  6020.             var $select=$(this);
  6021.             $("option",$select).each(function()
  6022.                 {
  6023.                 if($select.val()==$(this).val())this.setAttribute('selected','selected')
  6024.             }
  6025.             )
  6026.         }
  6027.         );
  6028.         $("textarea",$element).each(function()
  6029.             {
  6030.             var value=$(this).attr('value');
  6031.             if($.browser.mozilla&&this.firstChild)this.firstChild.textContent=value;
  6032.             else this.innerHTML=value
  6033.         }
  6034.         );
  6035.         var elementHtml=$('<div></div>').append($element.clone()).html();
  6036.         return elementHtml
  6037.     }
  6038.     function _getBaseHref()
  6039.         {
  6040.         var port=(window.location.port)?':'+window.location.port:'';
  6041.         return window.location.protocol+'//'+window.location.hostname+port+window.location.pathname
  6042.     }
  6043.     function _getMarkup(element,opts)
  6044.         {
  6045.         var $element=$(element);
  6046.         var elementHtml=_getElementHTMLIncludingFormElements(element);
  6047.         var html=new Array();
  6048.         html.push('<html><head><title>'+opts["pageTitle"]+'</title>');
  6049.         if(opts["overrideElementCSS"])
  6050.             {
  6051.             if(opts["overrideElementCSS"].length>0)
  6052.                 {
  6053.                 for(var x=0;
  6054.                 x<opts["overrideElementCSS"].length;
  6055.                 x++)
  6056.                     {
  6057.                     var current=opts["overrideElementCSS"][x];
  6058.                     if(typeof(current)=='string')html.push('<link type="text/css" rel="stylesheet" href="'+current+'" >');
  6059.                     else html.push('<link type="text/css" rel="stylesheet" href="'+current["href"]+'" media="'+current["media"]+'" >')
  6060.                 }
  6061.             }
  6062.         }
  6063.         else
  6064.             {
  6065.             $("link",document).filter(function()
  6066.                 {
  6067.                 return $(this).attr("rel").toLowerCase()=="stylesheet"
  6068.             }
  6069.             ).each(function()
  6070.                 {
  6071.                 html.push('<link type="text/css" rel="stylesheet" href="'+$(this).attr("href")+'" media="'+$(this).attr('media')+'" >')
  6072.             }
  6073.             )
  6074.         }
  6075.         html.push('<base href="'+_getBaseHref()+'" />');
  6076.         html.push('</head><body style="'+opts["printBodyOptions"]["styleToAdd"]+'" class="'+opts["printBodyOptions"]["classNameToAdd"]+'">');
  6077.         html.push('<div class="'+$element.attr('class')+'">'+elementHtml+'</div>');
  6078.         html.push('<script type="text/javascript" style="display:none;
  6079.         ">function printPage()
  6080.             {
  6081.             focus();
  6082.             print();
  6083.             '+((!$.browser.opera&&!opts["leaveOpen"]&&opts["printMode"].toLowerCase()=='popup')?'close();
  6084.             ':'')+'
  6085.         }
  6086.         </script>');
  6087.         html.push('</body></html>');
  6088.         return html.join('')
  6089.     }
  6090. }
  6091. )(window);
  6092. (function($)
  6093.     {
  6094.     var tmp,loading,overlay,wrap,outer,content,close,title,nav_left,nav_right,selectedIndex=0,selectedOpts=
  6095.         {
  6096.     }
  6097.     ,selectedArray=[],currentIndex=0,currentOpts=
  6098.         {
  6099.     }
  6100.     ,currentArray=[],ajaxLoader=null,imgPreloader=new Image(),imgRegExp=/\.(jpg|gif|png|bmp|jpeg)(.*)?$/i,swfRegExp=/[^\.]\.(swf)\s*$/i,loadingTimer,loadingFrame=1,titleHeight=0,titleStr='',start_pos,final_pos,busy=false,fx=$.extend($('<div/>')[0],
  6101.         {
  6102.         prop:0
  6103.     }
  6104.     ),isIE6=$.browser.msie&&$.browser.version<7&&!window.XMLHttpRequest,_abort=function()
  6105.         {
  6106.         loading.hide();
  6107.         imgPreloader.onerror=imgPreloader.onload=null;
  6108.         if(ajaxLoader)
  6109.             {
  6110.             ajaxLoader.abort()
  6111.         }
  6112.         tmp.empty()
  6113.     }
  6114.     ,_error=function()
  6115.         {
  6116.         if(false===selectedOpts.onError(selectedArray,selectedIndex,selectedOpts))
  6117.             {
  6118.             loading.hide();
  6119.             busy=false;
  6120.             return
  6121.         }
  6122.         selectedOpts.titleShow=false;
  6123.         selectedOpts.width='auto';
  6124.         selectedOpts.height='auto';
  6125.         tmp.html('<p id="fancybox-error">The requested content cannot be loaded.<br />Please try again later.</p>');
  6126.         _process_inline()
  6127.     }
  6128.     ,_start=function()
  6129.         {
  6130.         var obj=selectedArray[selectedIndex],href,type,title,str,emb,ret;
  6131.         _abort();
  6132.         selectedOpts=$.extend(
  6133.             {
  6134.         }
  6135.         ,$.fn.fancybox.defaults,(typeof $(obj).data('fancybox')=='undefined'?selectedOpts:$(obj).data('fancybox')));
  6136.         ret=selectedOpts.onStart(selectedArray,selectedIndex,selectedOpts);
  6137.         if(ret===false)
  6138.             {
  6139.             busy=false;
  6140.             return
  6141.         }
  6142.         else if(typeof ret=='object')
  6143.             {
  6144.             selectedOpts=$.extend(selectedOpts,ret)
  6145.         }
  6146.         title=selectedOpts.title||(obj.nodeName?$(obj).attr('title'):obj.title)||'';
  6147.         if(obj.nodeName&&!selectedOpts.orig)
  6148.             {
  6149.             selectedOpts.orig=$(obj).children("img:first").length?$(obj).children("img:first"):$(obj)
  6150.         }
  6151.         if(title===''&&selectedOpts.orig&&selectedOpts.titleFromAlt)
  6152.             {
  6153.             title=selectedOpts.orig.attr('alt')
  6154.         }
  6155.         href=selectedOpts.href||(obj.nodeName?$(obj).attr('href'):obj.href)||null;
  6156.         if((/^(?:javascript)/i).test(href)||href=='#')
  6157.             {
  6158.             href=null
  6159.         }
  6160.         if(selectedOpts.type)
  6161.             {
  6162.             type=selectedOpts.type;
  6163.             if(!href)
  6164.                 {
  6165.                 href=selectedOpts.content
  6166.             }
  6167.         }
  6168.         else if(selectedOpts.content)
  6169.             {
  6170.             type='html'
  6171.         }
  6172.         else if(href)
  6173.             {
  6174.             if(href.match(imgRegExp))
  6175.                 {
  6176.                 type='image'
  6177.             }
  6178.             else if(href.match(swfRegExp))
  6179.                 {
  6180.                 type='swf'
  6181.             }
  6182.             else if($(obj).hasClass("iframe"))
  6183.                 {
  6184.                 type='iframe'
  6185.             }
  6186.             else if(href.indexOf("#")===0)
  6187.                 {
  6188.                 type='inline'
  6189.             }
  6190.             else
  6191.                 {
  6192.                 type='ajax'
  6193.             }
  6194.         }
  6195.         if(!type)
  6196.             {
  6197.             _error();
  6198.             return
  6199.         }
  6200.         if(type=='inline')
  6201.             {
  6202.             obj=href.substr(href.indexOf("#"));
  6203.             type=$(obj).length>0?'inline':'ajax'
  6204.         }
  6205.         selectedOpts.type=type;
  6206.         selectedOpts.href=href;
  6207.         selectedOpts.title=title;
  6208.         if(selectedOpts.autoDimensions)
  6209.             {
  6210.             if(selectedOpts.type=='html'||selectedOpts.type=='inline'||selectedOpts.type=='ajax')
  6211.                 {
  6212.                 selectedOpts.width='auto';
  6213.                 selectedOpts.height='auto'
  6214.             }
  6215.             else
  6216.                 {
  6217.                 selectedOpts.autoDimensions=false
  6218.             }
  6219.         }
  6220.         if(selectedOpts.modal)
  6221.             {
  6222.             selectedOpts.overlayShow=true;
  6223.             selectedOpts.hideOnOverlayClick=false;
  6224.             selectedOpts.hideOnContentClick=false;
  6225.             selectedOpts.enableEscapeButton=false;
  6226.             selectedOpts.showCloseButton=false
  6227.         }
  6228.         selectedOpts.padding=parseInt(selectedOpts.padding,10);
  6229.         selectedOpts.margin=parseInt(selectedOpts.margin,10);
  6230.         tmp.css('padding',(selectedOpts.padding+selectedOpts.margin));
  6231.         $('.fancybox-inline-tmp').unbind('fancybox-cancel').bind('fancybox-change',function()
  6232.             {
  6233.             $(this).replaceWith(content.children())
  6234.         }
  6235.         );
  6236.         switch(type)
  6237.             {
  6238.             case'html':tmp.html(selectedOpts.content);
  6239.             _process_inline();
  6240.             break;
  6241.             case'inline':if($(obj).parent().is('#fancybox-content')===true)
  6242.                 {
  6243.                 busy=false;
  6244.                 return
  6245.             }
  6246.             $('<div class="fancybox-inline-tmp" />').hide().insertBefore($(obj)).bind('fancybox-cleanup',function()
  6247.                 {
  6248.                 $(this).replaceWith(content.children())
  6249.             }
  6250.             ).bind('fancybox-cancel',function()
  6251.                 {
  6252.                 $(this).replaceWith(tmp.children())
  6253.             }
  6254.             );
  6255.             $(obj).appendTo(tmp);
  6256.             _process_inline();
  6257.             break;
  6258.             case'image':busy=false;
  6259.             $.fancybox.showActivity();
  6260.             imgPreloader=new Image();
  6261.             imgPreloader.onerror=function()
  6262.                 {
  6263.                 _error()
  6264.             };
  6265.             imgPreloader.onload=function()
  6266.                 {
  6267.                 busy=true;
  6268.                 imgPreloader.onerror=imgPreloader.onload=null;
  6269.                 _process_image()
  6270.             };
  6271.             imgPreloader.src=href;
  6272.             break;
  6273.             case'swf':selectedOpts.scrolling='no';
  6274.             str='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+selectedOpts.width+'" height="'+selectedOpts.height+'"><param name="movie" value="'+href+'"></param>';
  6275.             emb='';
  6276.             $.each(selectedOpts.swf,function(name,val)
  6277.                 {
  6278.                 str+='<param name="'+name+'" value="'+val+'"></param>';
  6279.                 emb+=' '+name+'="'+val+'"'
  6280.             }
  6281.             );
  6282.             str+='<embed src="'+href+'" type="application/x-shockwave-flash" width="'+selectedOpts.width+'" height="'+selectedOpts.height+'"'+emb+'></embed></object>';
  6283.             tmp.html(str);
  6284.             _process_inline();
  6285.             break;
  6286.             case'ajax':busy=false;
  6287.             $.fancybox.showActivity();
  6288.             selectedOpts.ajax.win=selectedOpts.ajax.success;
  6289.             ajaxLoader=$.ajax($.extend(
  6290.                 {
  6291.             }
  6292.             ,selectedOpts.ajax,
  6293.                 {
  6294.                 url:href,data:selectedOpts.ajax.data||
  6295.                     {
  6296.                 }
  6297.                 ,error:function(XMLHttpRequest,textStatus,errorThrown)
  6298.                     {
  6299.                     if(XMLHttpRequest.status>0)
  6300.                         {
  6301.                         _error()
  6302.                     }
  6303.                 }
  6304.                 ,success:function(data,textStatus,XMLHttpRequest)
  6305.                     {
  6306.                     var o=typeof XMLHttpRequest=='object'?XMLHttpRequest:ajaxLoader;
  6307.                     if(o.status==200)
  6308.                         {
  6309.                         if(typeof selectedOpts.ajax.win=='function')
  6310.                             {
  6311.                             ret=selectedOpts.ajax.win(href,data,textStatus,XMLHttpRequest);
  6312.                             if(ret===false)
  6313.                                 {
  6314.                                 loading.hide();
  6315.                                 return
  6316.                             }
  6317.                             else if(typeof ret=='string'||typeof ret=='object')
  6318.                                 {
  6319.                                 data=ret
  6320.                             }
  6321.                         }
  6322.                         tmp.html(data);
  6323.                         _process_inline()
  6324.                     }
  6325.                 }
  6326.             }
  6327.             ));
  6328.             break;
  6329.             case'iframe':_show();
  6330.             break
  6331.         }
  6332.     }
  6333.     ,_process_inline=function()
  6334.         {
  6335.         var w=selectedOpts.width,h=selectedOpts.height;
  6336.         if(w.toString().indexOf('%')>-1)
  6337.             {
  6338.             w=parseInt(($(window).width()-(selectedOpts.margin*2))*parseFloat(w)/100,10)+'px'
  6339.         }
  6340.         else
  6341.             {
  6342.             w=w=='auto'?'auto':w+'px'
  6343.         }
  6344.         if(h.toString().indexOf('%')>-1)
  6345.             {
  6346.             h=parseInt(($(window).height()-(selectedOpts.margin*2))*parseFloat(h)/100,10)+'px'
  6347.         }
  6348.         else
  6349.             {
  6350.             h=h=='auto'?'auto':h+'px'
  6351.         }
  6352.         tmp.wrapInner('<div style="width:'+w+';
  6353.         height:'+h+';
  6354.         overflow: '+(selectedOpts.scrolling=='auto'?'auto':(selectedOpts.scrolling=='yes'?'scroll':'hidden'))+';
  6355.         position:relative;
  6356.         "></div>');
  6357.         selectedOpts.width=tmp.width();
  6358.         selectedOpts.height=tmp.height();
  6359.         _show()
  6360.     }
  6361.     ,_process_image=function()
  6362.         {
  6363.         selectedOpts.width=imgPreloader.width;
  6364.         selectedOpts.height=imgPreloader.height;
  6365.         $("<img />").attr(
  6366.             {
  6367.             'id':'fancybox-img','src':imgPreloader.src,'alt':selectedOpts.title
  6368.         }
  6369.         ).appendTo(tmp);
  6370.         _show()
  6371.     }
  6372.     ,_show=function()
  6373.         {
  6374.         var pos,equal;
  6375.         loading.hide();
  6376.         if(wrap.is(":visible")&&false===currentOpts.onCleanup(currentArray,currentIndex,currentOpts))
  6377.             {
  6378.             $.event.trigger('fancybox-cancel');
  6379.             busy=false;
  6380.             return
  6381.         }
  6382.         busy=true;
  6383.         $(content.add(overlay)).unbind();
  6384.         $(window).unbind("resize.fb scroll.fb");
  6385.         $(document).unbind('keydown.fb');
  6386.         if(wrap.is(":visible")&&currentOpts.titlePosition!=='outside')
  6387.             {
  6388.             wrap.css('height',wrap.height())
  6389.         }
  6390.         currentArray=selectedArray;
  6391.         currentIndex=selectedIndex;
  6392.         currentOpts=selectedOpts;
  6393.         if(currentOpts.overlayShow)
  6394.             {
  6395.             overlay.css(
  6396.                 {
  6397.                 'background-color':currentOpts.overlayColor,'opacity':currentOpts.overlayOpacity,'cursor':currentOpts.hideOnOverlayClick?'pointer':'auto','height':$(document).height()
  6398.             }
  6399.             );
  6400.             if(!overlay.is(':visible'))
  6401.                 {
  6402.                 if(isIE6)
  6403.                     {
  6404.                     $('select:not(#fancybox-tmp select)').filter(function()
  6405.                         {
  6406.                         return this.style.visibility!=='hidden'
  6407.                     }
  6408.                     ).css(
  6409.                         {
  6410.                         'visibility':'hidden'
  6411.                     }
  6412.                     ).one('fancybox-cleanup',function()
  6413.                         {
  6414.                         this.style.visibility='inherit'
  6415.                     }
  6416.                     )
  6417.                 }
  6418.                 overlay.show()
  6419.             }
  6420.         }
  6421.         else
  6422.             {
  6423.             overlay.hide()
  6424.         }
  6425.         final_pos=_get_zoom_to();
  6426.         _process_title();
  6427.         if(wrap.is(":visible"))
  6428.             {
  6429.             $(close.add(nav_left).add(nav_right)).hide();
  6430.             pos=wrap.position(),start_pos=
  6431.                 {
  6432.                 top:pos.top,left:pos.left,width:wrap.width(),height:wrap.height()
  6433.             };
  6434.             equal=(start_pos.width==final_pos.width&&start_pos.height==final_pos.height);
  6435.             content.fadeTo(currentOpts.changeFade,0.3,function()
  6436.                 {
  6437.                 var finish_resizing=function()
  6438.                     {
  6439.                     content.html(tmp.contents()).fadeTo(currentOpts.changeFade,1,_finish)
  6440.                 };
  6441.                 $.event.trigger('fancybox-change');
  6442.                 content.empty().removeAttr('filter').css(
  6443.                     {
  6444.                     'border-width':currentOpts.padding,'width':final_pos.width-currentOpts.padding*2,'height':selectedOpts.autoDimensions?'auto':final_pos.height-titleHeight-currentOpts.padding*2
  6445.                 }
  6446.                 );
  6447.                 if(equal)
  6448.                     {
  6449.                     finish_resizing()
  6450.                 }
  6451.                 else
  6452.                     {
  6453.                     fx.prop=0;
  6454.                     $(fx).animate(
  6455.                         {
  6456.                         prop:1
  6457.                     }
  6458.                     ,
  6459.                         {
  6460.                         duration:currentOpts.changeSpeed,easing:currentOpts.easingChange,step:_draw,complete:finish_resizing
  6461.                     }
  6462.                     )
  6463.                 }
  6464.             }
  6465.             );
  6466.             return
  6467.         }
  6468.         wrap.removeAttr("style");
  6469.         content.css('border-width',currentOpts.padding);
  6470.         if(currentOpts.transitionIn=='elastic')
  6471.             {
  6472.             start_pos=_get_zoom_from();
  6473.             content.html(tmp.contents());
  6474.             wrap.show();
  6475.             if(currentOpts.opacity)
  6476.                 {
  6477.                 final_pos.opacity=0
  6478.             }
  6479.             fx.prop=0;
  6480.             $(fx).animate(
  6481.                 {
  6482.                 prop:1
  6483.             }
  6484.             ,
  6485.                 {
  6486.                 duration:currentOpts.speedIn,easing:currentOpts.easingIn,step:_draw,complete:_finish
  6487.             }
  6488.             );
  6489.             return
  6490.         }
  6491.         if(currentOpts.titlePosition=='inside'&&titleHeight>0)
  6492.             {
  6493.             title.show()
  6494.         }
  6495.         content.css(
  6496.             {
  6497.             'width':final_pos.width-currentOpts.padding*2,'height':selectedOpts.autoDimensions?'auto':final_pos.height-titleHeight-currentOpts.padding*2
  6498.         }
  6499.         ).html(tmp.contents());
  6500.         wrap.css(final_pos).fadeIn(currentOpts.transitionIn=='none'?0:currentOpts.speedIn,_finish)
  6501.     }
  6502.     ,_format_title=function(title)
  6503.         {
  6504.         if(title&&title.length)
  6505.             {
  6506.             if(currentOpts.titlePosition=='float')
  6507.                 {
  6508.                 return'<table id="fancybox-title-float-wrap" cellpadding="0" cellspacing="0"><tr><td id="fancybox-title-float-left"></td><td id="fancybox-title-float-main">'+title+'</td><td id="fancybox-title-float-right"></td></tr></table>'
  6509.             }
  6510.             return'<div id="fancybox-title-'+currentOpts.titlePosition+'">'+title+'</div>'
  6511.         }
  6512.         return false
  6513.     }
  6514.     ,_process_title=function()
  6515.         {
  6516.         titleStr=currentOpts.title||'';
  6517.         titleHeight=0;
  6518.         title.empty().removeAttr('style').removeClass();
  6519.         if(currentOpts.titleShow===false)
  6520.             {
  6521.             title.hide();
  6522.             return
  6523.         }
  6524.         titleStr=$.isFunction(currentOpts.titleFormat)?currentOpts.titleFormat(titleStr,currentArray,currentIndex,currentOpts):_format_title(titleStr);
  6525.         if(!titleStr||titleStr==='')
  6526.             {
  6527.             title.hide();
  6528.             return
  6529.         }
  6530.         title.addClass('fancybox-title-'+currentOpts.titlePosition).html(titleStr).appendTo('body').show();
  6531.         switch(currentOpts.titlePosition)
  6532.             {
  6533.             case'inside':title.css(
  6534.                 {
  6535.                 'width':final_pos.width-(currentOpts.padding*2),'marginLeft':currentOpts.padding,'marginRight':currentOpts.padding
  6536.             }
  6537.             );
  6538.             titleHeight=title.outerHeight(true);
  6539.             title.appendTo(outer);
  6540.             final_pos.height+=titleHeight;
  6541.             break;
  6542.             case'over':title.css(
  6543.                 {
  6544.                 'marginLeft':currentOpts.padding,'width':final_pos.width-(currentOpts.padding*2),'bottom':currentOpts.padding
  6545.             }
  6546.             ).appendTo(outer);
  6547.             break;
  6548.             case'float':title.css('left',parseInt((title.width()-final_pos.width-40)/2,10)*-1).appendTo(wrap);
  6549.             break;
  6550.             default:title.css(
  6551.                 {
  6552.                 'width':final_pos.width-(currentOpts.padding*2),'paddingLeft':currentOpts.padding,'paddingRight':currentOpts.padding
  6553.             }
  6554.             ).appendTo(wrap);
  6555.             break
  6556.         }
  6557.         title.hide()
  6558.     }
  6559.     ,_set_navigation=function()
  6560.         {
  6561.         if(currentOpts.enableEscapeButton||currentOpts.enableKeyboardNav)
  6562.             {
  6563.             $(document).bind('keydown.fb',function(e)
  6564.                 {
  6565.                 if(e.keyCode==27&&currentOpts.enableEscapeButton)
  6566.                     {
  6567.                     e.preventDefault();
  6568.                     $.fancybox.close()
  6569.                 }
  6570.                 else if((e.keyCode==37||e.keyCode==39)&&currentOpts.enableKeyboardNav&&e.target.tagName!=='INPUT'&&e.target.tagName!=='TEXTAREA'&&e.target.tagName!=='SELECT')
  6571.                     {
  6572.                     e.preventDefault();
  6573.                     $.fancybox[e.keyCode==37?'prev':'next']()
  6574.                 }
  6575.             }
  6576.             )
  6577.         }
  6578.         if(!currentOpts.showNavArrows)
  6579.             {
  6580.             nav_left.hide();
  6581.             nav_right.hide();
  6582.             return
  6583.         }
  6584.         if((currentOpts.cyclic&&currentArray.length>1)||currentIndex!==0)
  6585.             {
  6586.             nav_left.show()
  6587.         }
  6588.         if((currentOpts.cyclic&&currentArray.length>1)||currentIndex!=(currentArray.length-1))
  6589.             {
  6590.             nav_right.show()
  6591.         }
  6592.     }
  6593.     ,_finish=function()
  6594.         {
  6595.         if(!$.support.opacity)
  6596.             {
  6597.             content.get(0).style.removeAttribute('filter');
  6598.             wrap.get(0).style.removeAttribute('filter')
  6599.         }
  6600.         if(selectedOpts.autoDimensions)
  6601.             {
  6602.             content.css('height','auto')
  6603.         }
  6604.         wrap.css('height','auto');
  6605.         if(titleStr&&titleStr.length)
  6606.             {
  6607.             title.show()
  6608.         }
  6609.         if(currentOpts.showCloseButton)
  6610.             {
  6611.             close.show()
  6612.         }
  6613.         _set_navigation();
  6614.         if(currentOpts.hideOnContentClick)
  6615.             {
  6616.             content.bind('click',$.fancybox.close)
  6617.         }
  6618.         if(currentOpts.hideOnOverlayClick)
  6619.             {
  6620.             overlay.bind('click',$.fancybox.close)
  6621.         }
  6622.         $(window).bind("resize.fb",$.fancybox.resize);
  6623.         if(currentOpts.centerOnScroll)
  6624.             {
  6625.             $(window).bind("scroll.fb",$.fancybox.center)
  6626.         }
  6627.         if(currentOpts.type=='iframe')
  6628.             {
  6629.             $('<iframe id="fancybox-frame" name="fancybox-frame'+new Date().getTime()+'" frameborder="0" hspace="0" '+($.browser.msie?'allowtransparency="true""':'')+' scrolling="'+selectedOpts.scrolling+'" src="'+currentOpts.href+'"></iframe>').appendTo(content)
  6630.         }
  6631.         wrap.show();
  6632.         busy=false;
  6633.         $.fancybox.center();
  6634.         currentOpts.onComplete(currentArray,currentIndex,currentOpts);
  6635.         _preload_images()
  6636.     }
  6637.     ,_preload_images=function()
  6638.         {
  6639.         var href,objNext;
  6640.         if((currentArray.length-1)>currentIndex)
  6641.             {
  6642.             href=currentArray[currentIndex+1].href;
  6643.             if(typeof href!=='undefined'&&href.match(imgRegExp))
  6644.                 {
  6645.                 objNext=new Image();
  6646.                 objNext.src=href
  6647.             }
  6648.         }
  6649.         if(currentIndex>0)
  6650.             {
  6651.             href=currentArray[currentIndex-1].href;
  6652.             if(typeof href!=='undefined'&&href.match(imgRegExp))
  6653.                 {
  6654.                 objNext=new Image();
  6655.                 objNext.src=href
  6656.             }
  6657.         }
  6658.     }
  6659.     ,_draw=function(pos)
  6660.         {
  6661.         var dim=
  6662.             {
  6663.             width:parseInt(start_pos.width+(final_pos.width-start_pos.width)*pos,10),height:parseInt(start_pos.height+(final_pos.height-start_pos.height)*pos,10),top:parseInt(start_pos.top+(final_pos.top-start_pos.top)*pos,10),left:parseInt(start_pos.left+(final_pos.left-start_pos.left)*pos,10)
  6664.         };
  6665.         if(typeof final_pos.opacity!=='undefined')
  6666.             {
  6667.             dim.opacity=pos<0.5?0.5:pos
  6668.         }
  6669.         wrap.css(dim);
  6670.         content.css(
  6671.             {
  6672.             'width':dim.width-currentOpts.padding*2,'height':dim.height-(titleHeight*pos)-currentOpts.padding*2
  6673.         }
  6674.         )
  6675.     }
  6676.     ,_get_viewport=function()
  6677.         {
  6678.         return[$(window).width()-(currentOpts.margin*2),$(window).height()-(currentOpts.margin*2),$(document).scrollLeft()+currentOpts.margin,$(document).scrollTop()+currentOpts.margin]
  6679.     }
  6680.     ,_get_zoom_to=function()
  6681.         {
  6682.         var view=_get_viewport(),to=
  6683.             {
  6684.         }
  6685.         ,resize=currentOpts.autoScale,double_padding=currentOpts.padding*2,ratio;
  6686.         if(currentOpts.width.toString().indexOf('%')>-1)
  6687.             {
  6688.             to.width=parseInt((view[0]*parseFloat(currentOpts.width))/100,10)
  6689.         }
  6690.         else
  6691.             {
  6692.             to.width=currentOpts.width+double_padding
  6693.         }
  6694.         if(currentOpts.height.toString().indexOf('%')>-1)
  6695.             {
  6696.             to.height=parseInt((view[1]*parseFloat(currentOpts.height))/100,10)
  6697.         }
  6698.         else
  6699.             {
  6700.             to.height=currentOpts.height+double_padding
  6701.         }
  6702.         if(resize&&(to.width>view[0]||to.height>view[1]))
  6703.             {
  6704.             if(selectedOpts.type=='image'||selectedOpts.type=='swf')
  6705.                 {
  6706.                 ratio=(currentOpts.width)/(currentOpts.height);
  6707.                 if((to.width)>view[0])
  6708.                     {
  6709.                     to.width=view[0];
  6710.                     to.height=parseInt(((to.width-double_padding)/ratio)+double_padding,10)
  6711.                 }
  6712.                 if((to.height)>view[1])
  6713.                     {
  6714.                     to.height=view[1];
  6715.                     to.width=parseInt(((to.height-double_padding)*ratio)+double_padding,10)
  6716.                 }
  6717.             }
  6718.             else
  6719.                 {
  6720.                 to.width=Math.min(to.width,view[0]);
  6721.                 to.height=Math.min(to.height,view[1])
  6722.             }
  6723.         }
  6724.         to.top=parseInt(Math.max(view[3]-20,view[3]+((view[1]-to.height-40)*0.5)),10);
  6725.         to.left=parseInt(Math.max(view[2]-20,view[2]+((view[0]-to.width-40)*0.5)),10);
  6726.         return to
  6727.     }
  6728.     ,_get_obj_pos=function(obj)
  6729.         {
  6730.         var pos=obj.offset();
  6731.         pos.top+=parseInt(obj.css('paddingTop'),10)||0;
  6732.         pos.left+=parseInt(obj.css('paddingLeft'),10)||0;
  6733.         pos.top+=parseInt(obj.css('border-top-width'),10)||0;
  6734.         pos.left+=parseInt(obj.css('border-left-width'),10)||0;
  6735.         pos.width=obj.width();
  6736.         pos.height=obj.height();
  6737.         return pos
  6738.     }
  6739.     ,_get_zoom_from=function()
  6740.         {
  6741.         var orig=selectedOpts.orig?$(selectedOpts.orig):false,from=
  6742.             {
  6743.         }
  6744.         ,pos,view;
  6745.         if(orig&&orig.length)
  6746.             {
  6747.             pos=_get_obj_pos(orig);
  6748.             from=
  6749.                 {
  6750.                 width:pos.width+(currentOpts.padding*2),height:pos.height+(currentOpts.padding*2),top:pos.top-currentOpts.padding-20,left:pos.left-currentOpts.padding-20
  6751.             }
  6752.         }
  6753.         else
  6754.             {
  6755.             view=_get_viewport();
  6756.             from=
  6757.                 {
  6758.                 width:currentOpts.padding*2,height:currentOpts.padding*2,top:parseInt(view[3]+view[1]*0.5,10),left:parseInt(view[2]+view[0]*0.5,10)
  6759.             }
  6760.         }
  6761.         return from
  6762.     }
  6763.     ,_animate_loading=function()
  6764.         {
  6765.         if(!loading.is(':visible'))
  6766.             {
  6767.             clearInterval(loadingTimer);
  6768.             return
  6769.         }
  6770.         $('div',loading).css('top',(loadingFrame*-40)+'px');
  6771.         loadingFrame=(loadingFrame+1)%12
  6772.     };
  6773.     $.fn.fancybox=function(options)
  6774.         {
  6775.         if(!$(this).length)
  6776.             {
  6777.             return this
  6778.         }
  6779.         $(this).data('fancybox',$.extend(
  6780.             {
  6781.         }
  6782.         ,options,($.metadata?$(this).metadata():
  6783.             {
  6784.         }
  6785.         ))).unbind('click.fb').bind('click.fb',function(e)
  6786.             {
  6787.             e.preventDefault();
  6788.             if(busy)
  6789.                 {
  6790.                 return
  6791.             }
  6792.             busy=true;
  6793.             $(this).blur();
  6794.             selectedArray=[];
  6795.             selectedIndex=0;
  6796.             var rel=$(this).attr('rel')||'';
  6797.             if(!rel||rel==''||rel==='nofollow')
  6798.                 {
  6799.                 selectedArray.push(this)
  6800.             }
  6801.             else
  6802.                 {
  6803.                 selectedArray=$("a[rel="+rel+"], area[rel="+rel+"]");
  6804.                 selectedIndex=selectedArray.index(this)
  6805.             }
  6806.             _start();
  6807.             return
  6808.         }
  6809.         );
  6810.         return this
  6811.     };
  6812.     $.fancybox=function(obj)
  6813.         {
  6814.         var opts;
  6815.         if(busy)
  6816.             {
  6817.             return
  6818.         }
  6819.         busy=true;
  6820.         opts=typeof arguments[1]!=='undefined'?arguments[1]:
  6821.             {
  6822.         };
  6823.         selectedArray=[];
  6824.         selectedIndex=parseInt(opts.index,10)||0;
  6825.         if($.isArray(obj))
  6826.             {
  6827.             for(var i=0,j=obj.length;
  6828.             i<j;
  6829.             i++)
  6830.                 {
  6831.                 if(typeof obj[i]=='object')
  6832.                     {
  6833.                     $(obj[i]).data('fancybox',$.extend(
  6834.                         {
  6835.                     }
  6836.                     ,opts,obj[i]))
  6837.                 }
  6838.                 else
  6839.                     {
  6840.                     obj[i]=$(
  6841.                         {
  6842.                     }
  6843.                     ).data('fancybox',$.extend(
  6844.                         {
  6845.                         content:obj[i]
  6846.                     }
  6847.                     ,opts))
  6848.                 }
  6849.             }
  6850.             selectedArray=jQuery.merge(selectedArray,obj)
  6851.         }
  6852.         else
  6853.             {
  6854.             if(typeof obj=='object')
  6855.                 {
  6856.                 $(obj).data('fancybox',$.extend(
  6857.                     {
  6858.                 }
  6859.                 ,opts,obj))
  6860.             }
  6861.             else
  6862.                 {
  6863.                 obj=$(
  6864.                     {
  6865.                 }
  6866.                 ).data('fancybox',$.extend(
  6867.                     {
  6868.                     content:obj
  6869.                 }
  6870.                 ,opts))
  6871.             }
  6872.             selectedArray.push(obj)
  6873.         }
  6874.         if(selectedIndex>selectedArray.length||selectedIndex<0)
  6875.             {
  6876.             selectedIndex=0
  6877.         }
  6878.         _start()
  6879.     };
  6880.     $.fancybox.showActivity=function()
  6881.         {
  6882.         clearInterval(loadingTimer);
  6883.         loading.show();
  6884.         loadingTimer=setInterval(_animate_loading,66)
  6885.     };
  6886.     $.fancybox.hideActivity=function()
  6887.         {
  6888.         loading.hide()
  6889.     };
  6890.     $.fancybox.next=function()
  6891.         {
  6892.         return $.fancybox.pos(currentIndex+1)
  6893.     };
  6894.     $.fancybox.prev=function()
  6895.         {
  6896.         return $.fancybox.pos(currentIndex-1)
  6897.     };
  6898.     $.fancybox.pos=function(pos)
  6899.         {
  6900.         if(busy)
  6901.             {
  6902.             return
  6903.         }
  6904.         pos=parseInt(pos);
  6905.         selectedArray=currentArray;
  6906.         if(pos>-1&&pos<currentArray.length)
  6907.             {
  6908.             selectedIndex=pos;
  6909.             _start()
  6910.         }
  6911.         else if(currentOpts.cyclic&&currentArray.length>1)
  6912.             {
  6913.             selectedIndex=pos>=currentArray.length?0:currentArray.length-1;
  6914.             _start()
  6915.         }
  6916.         return
  6917.     };
  6918.     $.fancybox.cancel=function()
  6919.         {
  6920.         if(busy)
  6921.             {
  6922.             return
  6923.         }
  6924.         busy=true;
  6925.         $.event.trigger('fancybox-cancel');
  6926.         _abort();
  6927.         selectedOpts.onCancel(selectedArray,selectedIndex,selectedOpts);
  6928.         busy=false
  6929.     };
  6930.     $.fancybox.close=function()
  6931.         {
  6932.         if(busy||wrap.is(':hidden'))
  6933.             {
  6934.             return
  6935.         }
  6936.         busy=true;
  6937.         if(currentOpts&&false===currentOpts.onCleanup(currentArray,currentIndex,currentOpts))
  6938.             {
  6939.             busy=false;
  6940.             return
  6941.         }
  6942.         _abort();
  6943.         $(close.add(nav_left).add(nav_right)).hide();
  6944.         $(content.add(overlay)).unbind();
  6945.         $(window).unbind("resize.fb scroll.fb");
  6946.         $(document).unbind('keydown.fb');
  6947.         content.find('iframe').attr('src',isIE6&&/^https/i.test(window.location.href||'')?'javascript:void(false)':'about:blank');
  6948.         if(currentOpts.titlePosition!=='inside')
  6949.             {
  6950.             title.empty()
  6951.         }
  6952.         wrap.stop();
  6953.         function _cleanup()
  6954.             {
  6955.             overlay.fadeOut('fast');
  6956.             title.empty().hide();
  6957.             wrap.hide();
  6958.             $.event.trigger('fancybox-cleanup');
  6959.             content.empty();
  6960.             currentOpts.onClosed(currentArray,currentIndex,currentOpts);
  6961.             currentArray=selectedOpts=[];
  6962.             currentIndex=selectedIndex=0;
  6963.             currentOpts=selectedOpts=
  6964.                 {
  6965.             };
  6966.             busy=false
  6967.         }
  6968.         if(currentOpts.transitionOut=='elastic')
  6969.             {
  6970.             start_pos=_get_zoom_from();
  6971.             var pos=wrap.position();
  6972.             final_pos=
  6973.                 {
  6974.                 top:pos.top,left:pos.left,width:wrap.width(),height:wrap.height()
  6975.             };
  6976.             if(currentOpts.opacity)
  6977.                 {
  6978.                 final_pos.opacity=1
  6979.             }
  6980.             title.empty().hide();
  6981.             fx.prop=1;
  6982.             $(fx).animate(
  6983.                 {
  6984.                 prop:0
  6985.             }
  6986.             ,
  6987.                 {
  6988.                 duration:currentOpts.speedOut,easing:currentOpts.easingOut,step:_draw,complete:_cleanup
  6989.             }
  6990.             )
  6991.         }
  6992.         else
  6993.             {
  6994.             wrap.fadeOut(currentOpts.transitionOut=='none'?0:currentOpts.speedOut,_cleanup)
  6995.         }
  6996.     };
  6997.     $.fancybox.resize=function()
  6998.         {
  6999.         if(overlay.is(':visible'))
  7000.             {
  7001.             overlay.css('height',$(document).height())
  7002.         }
  7003.         $.fancybox.center(true)
  7004.     };
  7005.     $.fancybox.center=function()
  7006.         {
  7007.         var view,align;
  7008.         if(busy)
  7009.             {
  7010.             return
  7011.         }
  7012.         align=arguments[0]===true?1:0;
  7013.         view=_get_viewport();
  7014.         if(!align&&(wrap.width()>view[0]||wrap.height()>view[1]))
  7015.             {
  7016.             return
  7017.         }
  7018.         wrap.stop().animate(
  7019.             {
  7020.             'top':parseInt(Math.max(view[3]-20,view[3]+((view[1]-content.height()-40)*0.5)-currentOpts.padding)),'left':parseInt(Math.max(view[2]-20,view[2]+((view[0]-content.width()-40)*0.5)-currentOpts.padding))
  7021.         }
  7022.         ,typeof arguments[0]=='number'?arguments[0]:200)
  7023.     };
  7024.     $.fancybox.init=function()
  7025.         {
  7026.         if($("#fancybox-wrap").length)
  7027.             {
  7028.             return
  7029.         }
  7030.         $('body').append(tmp=$('<div id="fancybox-tmp"></div>'),loading=$('<div id="fancybox-loading"><div></div></div>'),overlay=$('<div id="fancybox-overlay"></div>'),wrap=$('<div id="fancybox-wrap"></div>'));
  7031.         outer=$('<div id="fancybox-outer"></div>').append('<div class="fancybox-bg" id="fancybox-bg-n"></div><div class="fancybox-bg" id="fancybox-bg-ne"></div><div class="fancybox-bg" id="fancybox-bg-e"></div><div class="fancybox-bg" id="fancybox-bg-se"></div><div class="fancybox-bg" id="fancybox-bg-s"></div><div class="fancybox-bg" id="fancybox-bg-sw"></div><div class="fancybox-bg" id="fancybox-bg-w"></div><div class="fancybox-bg" id="fancybox-bg-nw"></div>').appendTo(wrap);
  7032.         outer.append(content=$('<div id="fancybox-content"></div>'),close=$('<a id="fancybox-close"></a>'),title=$('<div id="fancybox-title"></div>'),nav_left=$('<a href="javascript:;
  7033.         " id="fancybox-left"><span class="fancy-ico" id="fancybox-left-ico"></span></a>'),nav_right=$('<a href="javascript:;
  7034.         " id="fancybox-right"><span class="fancy-ico" id="fancybox-right-ico"></span></a>'));
  7035.         close.click($.fancybox.close);
  7036.         loading.click($.fancybox.cancel);
  7037.         nav_left.click(function(e)
  7038.             {
  7039.             e.preventDefault();
  7040.             $.fancybox.prev()
  7041.         }
  7042.         );
  7043.         nav_right.click(function(e)
  7044.             {
  7045.             e.preventDefault();
  7046.             $.fancybox.next()
  7047.         }
  7048.         );
  7049.         if($.fn.mousewheel)
  7050.             {
  7051.             wrap.bind('mousewheel.fb',function(e,delta)
  7052.                 {
  7053.                 if(busy)
  7054.                     {
  7055.                     e.preventDefault()
  7056.                 }
  7057.                 else if($(e.target).get(0).clientHeight==0||$(e.target).get(0).scrollHeight===$(e.target).get(0).clientHeight)
  7058.                     {
  7059.                     e.preventDefault();
  7060.                     $.fancybox[delta>0?'prev':'next']()
  7061.                 }
  7062.             }
  7063.             )
  7064.         }
  7065.         if(!$.support.opacity)
  7066.             {
  7067.             wrap.addClass('fancybox-ie')
  7068.         }
  7069.         if(isIE6)
  7070.             {
  7071.             loading.addClass('fancybox-ie6');
  7072.             wrap.addClass('fancybox-ie6');
  7073.             $('<iframe id="fancybox-hide-sel-frame" src="'+(/^https/i.test(window.location.href||'')?'javascript:void(false)':'about:blank')+'" scrolling="no" border="0" frameborder="0" tabindex="-1"></iframe>').prependTo(outer)
  7074.         }
  7075.     };
  7076.     $.fn.fancybox.defaults=
  7077.         {
  7078.         padding:10,margin:40,opacity:false,modal:false,cyclic:false,scrolling:'auto',width:560,height:340,autoScale:true,autoDimensions:true,centerOnScroll:false,ajax:
  7079.             {
  7080.         }
  7081.         ,swf:
  7082.             {
  7083.             wmode:'transparent'
  7084.         }
  7085.         ,hideOnOverlayClick:true,hideOnContentClick:false,overlayShow:true,overlayOpacity:0.7,overlayColor:'#777',titleShow:true,titlePosition:'float',titleFormat:null,titleFromAlt:false,transitionIn:'fade',transitionOut:'fade',speedIn:300,speedOut:300,changeSpeed:300,changeFade:'fast',easingIn:'swing',easingOut:'swing',showCloseButton:true,showNavArrows:true,enableEscapeButton:true,enableKeyboardNav:true,onStart:function()
  7086.             {
  7087.         }
  7088.         ,onCancel:function()
  7089.             {
  7090.         }
  7091.         ,onComplete:function()
  7092.             {
  7093.         }
  7094.         ,onCleanup:function()
  7095.             {
  7096.         }
  7097.         ,onClosed:function()
  7098.             {
  7099.         }
  7100.         ,onError:function()
  7101.             {
  7102.         }
  7103.     };
  7104.     $(document).ready(function()
  7105.         {
  7106.         $.fancybox.init()
  7107.     }
  7108.     )
  7109. }
  7110. )(jQuery);
  7111. jQuery.fn.eachDelay=function(callback,speed)
  7112.     {
  7113.     return jQuery.eachDelay(this,callback,speed)
  7114. };
  7115. jQuery.extend(
  7116.     {
  7117.     eachDelay:function(object,callback,speed)
  7118.         {
  7119.         var name,i=-1,length=object.length,$div=$('<div>'),id;
  7120.         if(length===undefined)
  7121.             {
  7122.             var arr=[],x=-1;
  7123.             for(name in object)arr[++x]=name;
  7124.             id=window.setInterval(function()
  7125.                 {
  7126.                 if(++i===arr.length||callback.call(object[arr[i]],arr[i],object[arr[i]])===false)clearInterval(id)
  7127.             }
  7128.             ,speed)
  7129.         }
  7130.         else
  7131.             {
  7132.             id=window.setInterval(function()
  7133.                 {
  7134.                 if(++i===object.length||callback.call(object[i],i,object[i])===false)clearInterval(id)
  7135.             }
  7136.             ,speed)
  7137.         }
  7138.         return object
  7139.     }
  7140. }
  7141. );
  7142. (function($,p)
  7143.     {
  7144.     var i,m=Array.prototype.slice,r=decodeURIComponent,a=$.param,c,l,v,b=$.bbq=$.bbq||
  7145.         {
  7146.     }
  7147.     ,q,u,j,e=$.event.special,d="hashchange",A="querystring",D="fragment",y="elemUrlAttr",g="location",k="href",t="src",x=/^.*\?|#.*$/g,w=/^.*\#/,h,C=
  7148.         {
  7149.     };
  7150.     function E(F)
  7151.         {
  7152.         return typeof F==="string"
  7153.     }
  7154.     function B(G)
  7155.         {
  7156.         var F=m.call(arguments,1);
  7157.         return function()
  7158.             {
  7159.             return G.apply(this,F.concat(m.call(arguments)))
  7160.         }
  7161.     }
  7162.     function n(F)
  7163.         {
  7164.         return F.replace(/^[^#]*#?(.*)$/,"$1")
  7165.     }
  7166.     function o(F)
  7167.         {
  7168.         return F.replace(/(?:^[^?#]*\?([^#]*).*$)?.*/,"$1")
  7169.     }
  7170.     function f(H,M,F,I,G)
  7171.         {
  7172.         var O,L,K,N,J;
  7173.         if(I!==i)
  7174.             {
  7175.             K=F.match(H?/^([^#]*)\#?(.*)$/:/^([^#?]*)\??([^#]*)(#?.*)/);
  7176.             J=K[3]||"";
  7177.             if(G===2&&E(I))
  7178.                 {
  7179.                 L=I.replace(H?w:x,"")
  7180.             }
  7181.             else
  7182.                 {
  7183.                 N=l(K[2]);
  7184.                 I=E(I)?l[H?D:A](I):I;
  7185.                 L=G===2?I:G===1?$.extend(
  7186.                     {
  7187.                 }
  7188.                 ,I,N):$.extend(
  7189.                     {
  7190.                 }
  7191.                 ,N,I);
  7192.                 L=a(L);
  7193.                 if(H)
  7194.                     {
  7195.                     L=L.replace(h,r)
  7196.                 }
  7197.             }
  7198.             O=K[1]+(H?"#":L||!K[1]?"?":"")+L+J
  7199.         }
  7200.         else
  7201.             {
  7202.             O=M(F!==i?F:p[g][k])
  7203.         }
  7204.         return O
  7205.     }
  7206.     a[A]=B(f,0,o);
  7207.     a[D]=c=B(f,1,n);
  7208.     c.noEscape=function(G)
  7209.         {
  7210.         G=G||"";
  7211.         var F=$.map(G.split(""),encodeURIComponent);
  7212.         h=new RegExp(F.join("|"),"g")
  7213.     };
  7214.     c.noEscape(",/");
  7215.     $.deparam=l=function(I,F)
  7216.         {
  7217.         var H=
  7218.             {
  7219.         }
  7220.         ,G=
  7221.             {
  7222.             "true":!0,"false":!1,"null":null
  7223.         };
  7224.         $.each(I.replace(/\+/g," ").split("&"),function(L,Q)
  7225.             {
  7226.             var K=Q.split("="),P=r(K[0]),J,O=H,M=0,R=P.split("]["),N=R.length-1;
  7227.             if(/\[/.test(R[0])&&/\]$/.test(R[N]))
  7228.                 {
  7229.                 R[N]=R[N].replace(/\]$/,"");
  7230.                 R=R.shift().split("[").concat(R);
  7231.                 N=R.length-1
  7232.             }
  7233.             else
  7234.                 {
  7235.                 N=0
  7236.             }
  7237.             if(K.length===2)
  7238.                 {
  7239.                 J=r(K[1]);
  7240.                 if(F)
  7241.                     {
  7242.                     J=J&&!isNaN(J)?+J:J==="undefined"?i:G[J]!==i?G[J]:J
  7243.                 }
  7244.                 if(N)
  7245.                     {
  7246.                     for(;
  7247.                     M<=N;
  7248.                     M++)
  7249.                         {
  7250.                         P=R[M]===""?O.length:R[M];
  7251.                         O=O[P]=M<N?O[P]||(R[M+1]&&isNaN(R[M+1])?
  7252.                             {
  7253.                         }
  7254.                         :[]):J
  7255.                     }
  7256.                 }
  7257.                 else
  7258.                     {
  7259.                     if($.isArray(H[P]))
  7260.                         {
  7261.                         H[P].push(J)
  7262.                     }
  7263.                     else
  7264.                         {
  7265.                         if(H[P]!==i)
  7266.                             {
  7267.                             H[P]=[H[P],J]
  7268.                         }
  7269.                         else
  7270.                             {
  7271.                             H[P]=J
  7272.                         }
  7273.                     }
  7274.                 }
  7275.             }
  7276.             else
  7277.                 {
  7278.                 if(P)
  7279.                     {
  7280.                     H[P]=F?i:""
  7281.                 }
  7282.             }
  7283.         }
  7284.         );
  7285.         return H
  7286.     };
  7287.     function z(H,F,G)
  7288.         {
  7289.         if(F===i||typeof F==="boolean")
  7290.             {
  7291.             G=F;
  7292.             F=a[H?D:A]()
  7293.         }
  7294.         else
  7295.             {
  7296.             F=E(F)?F.replace(H?w:x,""):F
  7297.         }
  7298.         return l(F,G)
  7299.     }
  7300.     l[A]=B(z,0);
  7301.     l[D]=v=B(z,1);
  7302.     $[y]||($[y]=function(F)
  7303.         {
  7304.         return $.extend(C,F)
  7305.     }
  7306.     )(
  7307.         {
  7308.         a:k,base:k,iframe:t,img:t,input:t,form:"action",link:k,script:t
  7309.     }
  7310.     );
  7311.     j=$[y];
  7312.     function s(I,G,H,F)
  7313.         {
  7314.         if(!E(H)&&typeof H!=="object")
  7315.             {
  7316.             F=H;
  7317.             H=G;
  7318.             G=i
  7319.         }
  7320.         return this.each(function()
  7321.             {
  7322.             var L=$(this),J=G||j()[(this.nodeName||"").toLowerCase()]||"",K=J&&L.attr(J)||"";
  7323.             L.attr(J,a[I](K,H,F))
  7324.         }
  7325.         )
  7326.     }
  7327.     $.fn[A]=B(s,A);
  7328.     $.fn[D]=B(s,D);
  7329.     b.pushState=q=function(I,F)
  7330.         {
  7331.         if(E(I)&&/^#/.test(I)&&F===i)
  7332.             {
  7333.             F=2
  7334.         }
  7335.         var H=I!==i,G=c(p[g][k],H?I:
  7336.             {
  7337.         }
  7338.         ,H?F:2);
  7339.         p[g][k]=G+(/#/.test(G)?"":"#")
  7340.     };
  7341.     b.getState=u=function(F,G)
  7342.         {
  7343.         return F===i||typeof F==="boolean"?v(F):v(G)[F]
  7344.     };
  7345.     b.removeState=function(F)
  7346.         {
  7347.         var G=
  7348.             {
  7349.         };
  7350.         if(F!==i)
  7351.             {
  7352.             G=u();
  7353.             $.each($.isArray(F)?F:arguments,function(I,H)
  7354.                 {
  7355.                 delete G[H]
  7356.             }
  7357.             )
  7358.         }
  7359.         q(G,2)
  7360.     };
  7361.     e[d]=$.extend(e[d],
  7362.         {
  7363.         add:function(F)
  7364.             {
  7365.             var H;
  7366.             function G(J)
  7367.                 {
  7368.                 var I=J[D]=c();
  7369.                 J.getState=function(K,L)
  7370.                     {
  7371.                     return K===i||typeof K==="boolean"?l(I,K):l(I,L)[K]
  7372.                 };
  7373.                 H.apply(this,arguments)
  7374.             }
  7375.             if($.isFunction(F))
  7376.                 {
  7377.                 H=F;
  7378.                 return G
  7379.             }
  7380.             else
  7381.                 {
  7382.                 H=F.handler;
  7383.                 F.handler=G
  7384.             }
  7385.         }
  7386.     }
  7387.     )
  7388. }
  7389. )(jQuery,this);
  7390. (function($,i,b)
  7391.     {
  7392.     var j,k=$.event.special,c="location",d="hashchange",l="href",f=$.browser,g=document.documentMode,h=f.msie&&(g===b||g<8),e="on"+d in i&&!h;
  7393.     function a(m)
  7394.         {
  7395.         m=m||i[c][l];
  7396.         return m.replace(/^[^#]*#?(.*)$/,"$1")
  7397.     }
  7398.     $[d+"Delay"]=100;
  7399.     k[d]=$.extend(k[d],
  7400.         {
  7401.         setup:function()
  7402.             {
  7403.             if(e)
  7404.                 {
  7405.                 return false
  7406.             }
  7407.             $(j.start)
  7408.         }
  7409.         ,teardown:function()
  7410.             {
  7411.             if(e)
  7412.                 {
  7413.                 return false
  7414.             }
  7415.             $(j.stop)
  7416.         }
  7417.     }
  7418.     );
  7419.     j=(function()
  7420.         {
  7421.         var m=
  7422.             {
  7423.         }
  7424.         ,r,n,o,q;
  7425.         function p()
  7426.             {
  7427.             o=q=function(s)
  7428.                 {
  7429.                 return s
  7430.             };
  7431.             if(h)
  7432.                 {
  7433.                 n=$('<iframe src="javascript:0"/>').hide().insertAfter("body")[0].contentWindow;
  7434.                 q=function()
  7435.                     {
  7436.                     return a(n.document[c][l])
  7437.                 };
  7438.                 o=function(u,s)
  7439.                     {
  7440.                     if(u!==s)
  7441.                         {
  7442.                         var t=n.document;
  7443.                         t.open().close();
  7444.                         t[c].hash="#"+u
  7445.                     }
  7446.                 };
  7447.                 o(a())
  7448.             }
  7449.         }
  7450.         m.start=function()
  7451.             {
  7452.             if(r)
  7453.                 {
  7454.                 return
  7455.             }
  7456.             var t=a();
  7457.             o||p();
  7458.             (function s()
  7459.                 {
  7460.                 var v=a(),u=q(t);
  7461.                 if(v!==t)
  7462.                     {
  7463.                     o(t=v,u);
  7464.                     $(i).trigger(d)
  7465.                 }
  7466.                 else
  7467.                     {
  7468.                     if(u!==t)
  7469.                         {
  7470.                         i[c][l]=i[c][l].replace(/#.*/,"")+"#"+u
  7471.                     }
  7472.                 }
  7473.                 r=setTimeout(s,$[d+"Delay"])
  7474.             }
  7475.             )()
  7476.         };
  7477.         m.stop=function()
  7478.             {
  7479.             if(!n)
  7480.                 {
  7481.                 r&&clearTimeout(r);
  7482.                 r=0
  7483.             }
  7484.         };
  7485.         return m
  7486.     }
  7487.     )()
  7488. }
  7489. )(jQuery,this);
  7490. (function(g)
  7491.     {
  7492.     function k(c)
  7493.         {
  7494.         c&&c.printPage?c.printPage():setTimeout(function()
  7495.             {
  7496.             k(c)
  7497.         }
  7498.         ,50)
  7499.     }
  7500.     function l(c)
  7501.         {
  7502.         c=a(c);
  7503.         a(":checked",c).each(function()
  7504.             {
  7505.             this.setAttribute("checked","checked")
  7506.         }
  7507.         );
  7508.         a("input[type='text']",c).each(function()
  7509.             {
  7510.             this.setAttribute("value",a(this).val())
  7511.         }
  7512.         );
  7513.         a("select",c).each(function()
  7514.             {
  7515.             var b=a(this);
  7516.             a("option",b).each(function()
  7517.                 {
  7518.                 b.val()==a(this).val()&&this.setAttribute("selected","selected")
  7519.             }
  7520.             )
  7521.         }
  7522.         );
  7523.         a("textarea",c).each(function()
  7524.             {
  7525.             var b=a(this).attr("value");
  7526.             if(a.browser.b&&this.firstChild)this.firstChild.textContent=b;
  7527.             else this.innerHTML=b
  7528.         }
  7529.         );
  7530.         return a("<div></div>").append(c.clone()).html()
  7531.     }
  7532.     function m(c,b)
  7533.         {
  7534.         var i=a(c);
  7535.         c=l(c);
  7536.         var d=[];
  7537.         d.push("<html><head><title>"+b.pageTitle+"</title>");
  7538.         if(b.overrideElementCSS)
  7539.             {
  7540.             if(b.overrideElementCSS.length>0)for(var f=0;
  7541.             f<b.overrideElementCSS.length;
  7542.             f++)
  7543.                 {
  7544.                 var e=b.overrideElementCSS[f];
  7545.                 typeof e=="string"?d.push('<link type="text/css" rel="stylesheet" href="'+e+'" >'):d.push('<link type="text/css" rel="stylesheet" href="'+e.href+'" media="'+e.media+'" >')
  7546.             }
  7547.         }
  7548.         else a("link",j).filter(function()
  7549.             {
  7550.             return a(this).attr("rel").toLowerCase()=="stylesheet"
  7551.         }
  7552.         ).each(function()
  7553.             {
  7554.             d.push('<link type="text/css" rel="stylesheet" href="'+a(this).attr("href")+'" media="'+a(this).attr("media")+'" >')
  7555.         }
  7556.         );
  7557.         d.push('<base href="'+(g.location.protocol+"//"+g.location.hostname+(g.location.port?":"+g.location.port:"")+g.location.pathname)+'" />');
  7558.         d.push('</head><body style="'+b.printBodyOptions.styleToAdd+'" class="'+b.printBodyOptions.classNameToAdd+'">');
  7559.         d.push('<div class="'+i.attr("class")+'">'+c+"</div>");
  7560.         d.push('<script type="text/javascript">function printPage()
  7561.             {
  7562.             focus();
  7563.             print();
  7564.             '+(!a.browser.opera&&!b.leaveOpen&&b.printMode.toLowerCase()=="popup"?"close();
  7565.             ":"")+"
  7566.         }
  7567.         <\/script>");
  7568.         d.push("</body></html>");
  7569.         return d.join("")
  7570.     }
  7571.     var j=g.document,a=g.jQuery;
  7572.     a.fn.printElement=function(c)
  7573.         {
  7574.         var b=a.extend(
  7575.             {
  7576.         }
  7577.         ,a.fn.printElement.defaults,c);
  7578.         if(b.printMode=="iframe")if(a.browser.opera||/chrome/.test(navigator.userAgent.toLowerCase()))b.printMode="popup";
  7579.         a("[id^='printElement_']").remove();
  7580.         return this.each(function()
  7581.             {
  7582.             var i=a.a?a.extend(
  7583.                 {
  7584.             }
  7585.             ,b,a(this).data()):b,d=a(this);
  7586.             d=m(d,i);
  7587.             var f=null,e=null;
  7588.             if(i.printMode.toLowerCase()=="popup")
  7589.                 {
  7590.                 f=g.open("about:blank","printElementWindow","width=650,height=440,scrollbars=yes");
  7591.                 e=f.document
  7592.             }
  7593.             else
  7594.                 {
  7595.                 f="printElement_"+Math.round(Math.random()*99999).toString();
  7596.                 var h=j.createElement("IFRAME");
  7597.                 a(h).attr(
  7598.                     {
  7599.                     style:i.iframeElementOptions.styleToAdd,id:f,className:i.iframeElementOptions.classNameToAdd,frameBorder:0,scrolling:"no",src:"about:blank"
  7600.                 }
  7601.                 );
  7602.                 j.body.appendChild(h);
  7603.                 e=h.contentWindow||h.contentDocument;
  7604.                 if(e.document)e=e.document;
  7605.                 h=j.frames?j.frames[f]:j.getElementById(f);
  7606.                 f=h.contentWindow||h
  7607.             }
  7608.             focus();
  7609.             e.open();
  7610.             e.write(d);
  7611.             e.close();
  7612.             k(f)
  7613.         }
  7614.         )
  7615.     };
  7616.     a.fn.printElement.defaults=
  7617.         {
  7618.         printMode:"iframe",pageTitle:"",overrideElementCSS:null,printBodyOptions:
  7619.             {
  7620.             styleToAdd:"padding:10px;
  7621.             margin:10px;
  7622.             ",classNameToAdd:""
  7623.         }
  7624.         ,leaveOpen:false,iframeElementOptions:
  7625.             {
  7626.             styleToAdd:"border:none;
  7627.             position:absolute;
  7628.             width:0px;
  7629.             height:0px;
  7630.             bottom:0px;
  7631.             left:0px;
  7632.             ",classNameToAdd:""
  7633.         }
  7634.     };
  7635.     a.fn.printElement.cssElement=
  7636.         {
  7637.         href:"",media:""
  7638.     }
  7639. }
  7640. )(window);
  7641. var Url=
  7642.     {
  7643.     encode:function(string)
  7644.         {
  7645.         return escape(this._utf8_encode(string))
  7646.     }
  7647.     ,decode:function(string)
  7648.         {
  7649.         return this._utf8_decode(unescape(string))
  7650.     }
  7651.     ,_utf8_encode:function(string)
  7652.         {
  7653.         string=string.replace(/\r\n/g,"\n");
  7654.         var utftext="";
  7655.         for(var n=0;
  7656.         n<string.length;
  7657.         n++)
  7658.             {
  7659.             var c=string.charCodeAt(n);
  7660.             if(c<128)
  7661.                 {
  7662.                 utftext+=String.fromCharCode(c)
  7663.             }
  7664.             else if((c>127)&&(c<2048))
  7665.                 {
  7666.                 utftext+=String.fromCharCode((c>>6)|192);
  7667.                 utftext+=String.fromCharCode((c&63)|128)
  7668.             }
  7669.             else
  7670.                 {
  7671.                 utftext+=String.fromCharCode((c>>12)|224);
  7672.                 utftext+=String.fromCharCode(((c>>6)&63)|128);
  7673.                 utftext+=String.fromCharCode((c&63)|128)
  7674.             }
  7675.         };
  7676.         return utftext
  7677.     }
  7678.     ,_utf8_decode:function(utftext)
  7679.         {
  7680.         var string="";
  7681.         var i=0;
  7682.         var c=c1=c2=0;
  7683.         while(i<utftext.length)
  7684.             {
  7685.             c=utftext.charCodeAt(i);
  7686.             if(c<128)
  7687.                 {
  7688.                 string+=String.fromCharCode(c);
  7689.                 i++
  7690.             }
  7691.             else if((c>191)&&(c<224))
  7692.                 {
  7693.                 c2=utftext.charCodeAt(i+1);
  7694.                 string+=String.fromCharCode(((c&31)<<6)|(c2&63));
  7695.                 i+=2
  7696.             }
  7697.             else
  7698.                 {
  7699.                 c2=utftext.charCodeAt(i+1);
  7700.                 c3=utftext.charCodeAt(i+2);
  7701.                 string+=String.fromCharCode(((c&15)<<12)|((c2&63)<<6)|(c3&63));
  7702.                 i+=3
  7703.             }
  7704.         };
  7705.         return string
  7706.     }
  7707. };
  7708. var userAgent=navigator.userAgent.toLowerCase();
  7709. $.browser=
  7710.     {
  7711.     version:(userAgent.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[0,'0'])[1],safari:/webkit/.test(userAgent),opera:/opera/.test(userAgent),msie:/msie/.test(userAgent)&&!/opera/.test(userAgent),mozilla:/mozilla/.test(userAgent)&&!/(compatible|webkit)/.test(userAgent)
  7712. };
  7713. $.extend(
  7714.     {
  7715.     URLEncode:function(c)
  7716.         {
  7717.         var o='';
  7718.         var x=0;
  7719.         c=c.toString();
  7720.         var r=/(^[a-zA-Z0-9_.]*)/;
  7721.         while(x<c.length)
  7722.             {
  7723.             var m=r.exec(c.substr(x));
  7724.             if(m!=null&&m.length>1&&m[1]!='')
  7725.                 {
  7726.                 o+=m[1];
  7727.                 x+=m[1].length
  7728.             }
  7729.             else
  7730.                 {
  7731.                 if(c[x]==' ')o+='+';
  7732.                 else
  7733.                     {
  7734.                     var d=c.charCodeAt(x);
  7735.                     var h=d.toString(16);
  7736.                     o+='%'+(h.length<2?'0':'')+h.toUpperCase()
  7737.                 }
  7738.                 x++
  7739.             }
  7740.         }
  7741.         return o
  7742.     }
  7743.     ,URLDecode:function(s)
  7744.         {
  7745.         var o=s;
  7746.         var binVal,t;
  7747.         var r=/(%[^%]
  7748.             {
  7749.             2
  7750.         }
  7751.         )/;
  7752.         while((m=r.exec(o))!=null&&m.length>1&&m[1]!='')
  7753.             {
  7754.             b=parseInt(m[1].substr(1),16);
  7755.             t=String.fromCharCode(b);
  7756.             o=o.replace(m[1],t)
  7757.         }
  7758.         return o
  7759.     }
  7760. }
  7761. );
  7762. jQuery.easing['jswing']=jQuery.easing['swing'];
  7763. jQuery.extend(jQuery.easing,
  7764.     {
  7765.     def:'easeOutQuad',swing:function(x,t,b,c,d)
  7766.         {
  7767.         return jQuery.easing[jQuery.easing.def](x,t,b,c,d)
  7768.     }
  7769.     ,easeInQuad:function(x,t,b,c,d)
  7770.         {
  7771.         return c*(t/=d)*t+b
  7772.     }
  7773.     ,easeOutQuad:function(x,t,b,c,d)
  7774.         {
  7775.         return-c*(t/=d)*(t-2)+b
  7776.     }
  7777.     ,easeInOutQuad:function(x,t,b,c,d)
  7778.         {
  7779.         if((t/=d/2)<1)return c/2*t*t+b;
  7780.         return-c/2*((--t)*(t-2)-1)+b
  7781.     }
  7782.     ,easeInCubic:function(x,t,b,c,d)
  7783.         {
  7784.         return c*(t/=d)*t*t+b
  7785.     }
  7786.     ,easeOutCubic:function(x,t,b,c,d)
  7787.         {
  7788.         return c*((t=t/d-1)*t*t+1)+b
  7789.     }
  7790.     ,easeInOutCubic:function(x,t,b,c,d)
  7791.         {
  7792.         if((t/=d/2)<1)return c/2*t*t*t+b;
  7793.         return c/2*((t-=2)*t*t+2)+b
  7794.     }
  7795.     ,easeInQuart:function(x,t,b,c,d)
  7796.         {
  7797.         return c*(t/=d)*t*t*t+b
  7798.     }
  7799.     ,easeOutQuart:function(x,t,b,c,d)
  7800.         {
  7801.         return-c*((t=t/d-1)*t*t*t-1)+b
  7802.     }
  7803.     ,easeInOutQuart:function(x,t,b,c,d)
  7804.         {
  7805.         if((t/=d/2)<1)return c/2*t*t*t*t+b;
  7806.         return-c/2*((t-=2)*t*t*t-2)+b
  7807.     }
  7808.     ,easeInQuint:function(x,t,b,c,d)
  7809.         {
  7810.         return c*(t/=d)*t*t*t*t+b
  7811.     }
  7812.     ,easeOutQuint:function(x,t,b,c,d)
  7813.         {
  7814.         return c*((t=t/d-1)*t*t*t*t+1)+b
  7815.     }
  7816.     ,easeInOutQuint:function(x,t,b,c,d)
  7817.         {
  7818.         if((t/=d/2)<1)return c/2*t*t*t*t*t+b;
  7819.         return c/2*((t-=2)*t*t*t*t+2)+b
  7820.     }
  7821.     ,easeInSine:function(x,t,b,c,d)
  7822.         {
  7823.         return-c*Math.cos(t/d*(Math.PI/2))+c+b
  7824.     }
  7825.     ,easeOutSine:function(x,t,b,c,d)
  7826.         {
  7827.         return c*Math.sin(t/d*(Math.PI/2))+b
  7828.     }
  7829.     ,easeInOutSine:function(x,t,b,c,d)
  7830.         {
  7831.         return-c/2*(Math.cos(Math.PI*t/d)-1)+b
  7832.     }
  7833.     ,easeInExpo:function(x,t,b,c,d)
  7834.         {
  7835.         return(t==0)?b:c*Math.pow(2,10*(t/d-1))+b
  7836.     }
  7837.     ,easeOutExpo:function(x,t,b,c,d)
  7838.         {
  7839.         return(t==d)?b+c:c*(-Math.pow(2,-10*t/d)+1)+b
  7840.     }
  7841.     ,easeInOutExpo:function(x,t,b,c,d)
  7842.         {
  7843.         if(t==0)return b;
  7844.         if(t==d)return b+c;
  7845.         if((t/=d/2)<1)return c/2*Math.pow(2,10*(t-1))+b;
  7846.         return c/2*(-Math.pow(2,-10*--t)+2)+b
  7847.     }
  7848.     ,easeInCirc:function(x,t,b,c,d)
  7849.         {
  7850.         return-c*(Math.sqrt(1-(t/=d)*t)-1)+b
  7851.     }
  7852.     ,easeOutCirc:function(x,t,b,c,d)
  7853.         {
  7854.         return c*Math.sqrt(1-(t=t/d-1)*t)+b
  7855.     }
  7856.     ,easeInOutCirc:function(x,t,b,c,d)
  7857.         {
  7858.         if((t/=d/2)<1)return-c/2*(Math.sqrt(1-t*t)-1)+b;
  7859.         return c/2*(Math.sqrt(1-(t-=2)*t)+1)+b
  7860.     }
  7861.     ,easeInElastic:function(x,t,b,c,d)
  7862.         {
  7863.         var s=1.70158;
  7864.         var p=0;
  7865.         var a=c;
  7866.         if(t==0)return b;
  7867.         if((t/=d)==1)return b+c;
  7868.         if(!p)p=d*.3;
  7869.         if(a<Math.abs(c))
  7870.             {
  7871.             a=c;
  7872.             var s=p/4
  7873.         }
  7874.         else var s=p/(2*Math.PI)*Math.asin(c/a);
  7875.         return-(a*Math.pow(2,10*(t-=1))*Math.sin((t*d-s)*(2*Math.PI)/p))+b
  7876.     }
  7877.     ,easeOutElastic:function(x,t,b,c,d)
  7878.         {
  7879.         var s=1.70158;
  7880.         var p=0;
  7881.         var a=c;
  7882.         if(t==0)return b;
  7883.         if((t/=d)==1)return b+c;
  7884.         if(!p)p=d*.3;
  7885.         if(a<Math.abs(c))
  7886.             {
  7887.             a=c;
  7888.             var s=p/4
  7889.         }
  7890.         else var s=p/(2*Math.PI)*Math.asin(c/a);
  7891.         return a*Math.pow(2,-10*t)*Math.sin((t*d-s)*(2*Math.PI)/p)+c+b
  7892.     }
  7893.     ,easeInOutElastic:function(x,t,b,c,d)
  7894.         {
  7895.         var s=1.70158;
  7896.         var p=0;
  7897.         var a=c;
  7898.         if(t==0)return b;
  7899.         if((t/=d/2)==2)return b+c;
  7900.         if(!p)p=d*(.3*1.5);
  7901.         if(a<Math.abs(c))
  7902.             {
  7903.             a=c;
  7904.             var s=p/4
  7905.         }
  7906.         else var s=p/(2*Math.PI)*Math.asin(c/a);
  7907.         if(t<1)return-.5*(a*Math.pow(2,10*(t-=1))*Math.sin((t*d-s)*(2*Math.PI)/p))+b;
  7908.         return a*Math.pow(2,-10*(t-=1))*Math.sin((t*d-s)*(2*Math.PI)/p)*.5+c+b
  7909.     }
  7910.     ,easeInBack:function(x,t,b,c,d,s)
  7911.         {
  7912.         if(s==undefined)s=1.70158;
  7913.         return c*(t/=d)*t*((s+1)*t-s)+b
  7914.     }
  7915.     ,easeOutBack:function(x,t,b,c,d,s)
  7916.         {
  7917.         if(s==undefined)s=1.70158;
  7918.         return c*((t=t/d-1)*t*((s+1)*t+s)+1)+b
  7919.     }
  7920.     ,easeInOutBack:function(x,t,b,c,d,s)
  7921.         {
  7922.         if(s==undefined)s=1.70158;
  7923.         if((t/=d/2)<1)return c/2*(t*t*(((s*=(1.525))+1)*t-s))+b;
  7924.         return c/2*((t-=2)*t*(((s*=(1.525))+1)*t+s)+2)+b
  7925.     }
  7926.     ,easeInBounce:function(x,t,b,c,d)
  7927.         {
  7928.         return c-jQuery.easing.easeOutBounce(x,d-t,0,c,d)+b
  7929.     }
  7930.     ,easeOutBounce:function(x,t,b,c,d)
  7931.         {
  7932.         if((t/=d)<(1/2.75))
  7933.             {
  7934.             return c*(7.5625*t*t)+b
  7935.         }
  7936.         else if(t<(2/2.75))
  7937.             {
  7938.             return c*(7.5625*(t-=(1.5/2.75))*t+.75)+b
  7939.         }
  7940.         else if(t<(2.5/2.75))
  7941.             {
  7942.             return c*(7.5625*(t-=(2.25/2.75))*t+.9375)+b
  7943.         }
  7944.         else
  7945.             {
  7946.             return c*(7.5625*(t-=(2.625/2.75))*t+.984375)+b
  7947.         }
  7948.     }
  7949.     ,easeInOutBounce:function(x,t,b,c,d)
  7950.         {
  7951.         if(t<d/2)return jQuery.easing.easeInBounce(x,t*2,0,c,d)*.5+b;
  7952.         return jQuery.easing.easeOutBounce(x,t*2-d,0,c,d)*.5+c*.5+b
  7953.     }
  7954. }
  7955. );
  7956. var cSpeed=4;
  7957. var cWidth=35;
  7958. var cHeight=35;
  7959. var cTotalFrames=12;
  7960. var cFrameWidth=35;
  7961. var cImageSrc='http://assets.oasth.gr/oasth/templates/default/images/loader.gif';
  7962. var cImageTimeout=false;
  7963. var cIndex=0;
  7964. var cXpos=0;
  7965. var SECONDS_BETWEEN_FRAMES=0;
  7966. function startAnimation()
  7967.     {
  7968.     if($('#loaderImage').length>0)
  7969.         {
  7970.         document.getElementById('loaderImage').style.backgroundImage='url('+cImageSrc+')';
  7971.         document.getElementById('loaderImage').style.width=cWidth+'px';
  7972.         document.getElementById('loaderImage').style.height=cHeight+'px';
  7973.         FPS=Math.round(100/cSpeed);
  7974.         SECONDS_BETWEEN_FRAMES=1/FPS;
  7975.         setTimeout('continueAnimation()',SECONDS_BETWEEN_FRAMES/1000)
  7976.     }
  7977. }
  7978. function continueAnimation()
  7979.     {
  7980.     cXpos+=cFrameWidth;
  7981.     cIndex+=1;
  7982.     if(cIndex>=cTotalFrames)
  7983.         {
  7984.         cXpos=0;
  7985.         cIndex=0
  7986.     }
  7987.     if($('#loaderImage').length>0)
  7988.         {
  7989.         document.getElementById('loaderImage').style.backgroundPosition=(-cXpos)+'px 0';
  7990.         setTimeout('continueAnimation()',SECONDS_BETWEEN_FRAMES*1000)
  7991.     }
  7992. }
  7993. function imageLoader(s,fun)
  7994.     {
  7995.     clearTimeout(cImageTimeout);
  7996.     cImageTimeout=0;
  7997.     genImage=new Image();
  7998.     genImage.onload=function()
  7999.         {
  8000.         cImageTimeout=setTimeout(fun,0)
  8001.     };
  8002.     genImage.onerror=new Function('alert(\'Could not load the image '+cImageSrc+'\')');
  8003.     genImage.src=s
  8004. }
  8005. (function(d)
  8006.     {
  8007.     function m()
  8008.         {
  8009.         var b=d("script:first"),a=b.css("color"),c=false;
  8010.         if(/^rgba/.test(a))c=true;
  8011.         else try
  8012.             {
  8013.             c=a!=b.css("color","rgba(0, 0, 0, 0.5)").css("color");
  8014.             b.css("color",a)
  8015.         }
  8016.         catch(e)
  8017.             {
  8018.         }
  8019.         return c
  8020.     }
  8021.     function j(b,a,c)
  8022.         {
  8023.         var e="rgb"+(d.support.rgba?"a":"")+"("+parseInt(b[0]+c*(a[0]-b[0]),10)+","+parseInt(b[1]+c*(a[1]-b[1]),10)+","+parseInt(b[2]+c*(a[2]-b[2]),10);
  8024.         if(d.support.rgba)e+=","+(b&&a?parseFloat(b[3]+c*(a[3]-b[3])):1);
  8025.         e+=")";
  8026.         return e
  8027.     }
  8028.     function g(b)
  8029.         {
  8030.         var a,c;
  8031.         if(a=/#([0-9a-fA-F]
  8032.             {
  8033.             2
  8034.         }
  8035.         )([0-9a-fA-F]
  8036.             {
  8037.             2
  8038.         }
  8039.         )([0-9a-fA-F]
  8040.             {
  8041.             2
  8042.         }
  8043.         )/.exec(b))c=[parseInt(a[1],16),parseInt(a[2],16),parseInt(a[3],16),1];
  8044.         else if(a=/#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])/.exec(b))c=[parseInt(a[1],16)*17,parseInt(a[2],16)*17,parseInt(a[3],16)*17,1];
  8045.         else if(a=/rgb\(\s*([0-9]
  8046.             {
  8047.             1,3
  8048.         }
  8049.         )\s*,\s*([0-9]
  8050.             {
  8051.             1,3
  8052.         }
  8053.         )\s*,\s*([0-9]
  8054.             {
  8055.             1,3
  8056.         }
  8057.         )\s*\)/.exec(b))c=[parseInt(a[1]),parseInt(a[2]),parseInt(a[3]),1];
  8058.         else if(a=/rgba\(\s*([0-9]
  8059.             {
  8060.             1,3
  8061.         }
  8062.         )\s*,\s*([0-9]
  8063.             {
  8064.             1,3
  8065.         }
  8066.         )\s*,\s*([0-9]
  8067.             {
  8068.             1,3
  8069.         }
  8070.         )\s*,\s*([0-9\.]*)\s*\)/.exec(b))c=[parseInt(a[1],10),parseInt(a[2],10),parseInt(a[3],10),parseFloat(a[4])];
  8071.         return c
  8072.     }
  8073.     d.extend(true,d,
  8074.         {
  8075.         support:
  8076.             {
  8077.             rgba:m()
  8078.         }
  8079.     }
  8080.     );
  8081.     var k=["color","backgroundColor","borderBottomColor","borderLeftColor","borderRightColor","borderTopColor","outlineColor"];
  8082.     d.each(k,function(b,a)
  8083.         {
  8084.         d.Tween.propHooks[a]=
  8085.             {
  8086.             get:function(c)
  8087.                 {
  8088.                 return d(c.elem).css(a)
  8089.             }
  8090.             ,set:function(c)
  8091.                 {
  8092.                 var e=c.elem.style,i=g(d(c.elem).css(a)),h=g(c.end);
  8093.                 c.run=function(f)
  8094.                     {
  8095.                     e[a]=j(i,h,f)
  8096.                 }
  8097.             }
  8098.         }
  8099.     }
  8100.     );
  8101.     d.Tween.propHooks.borderColor=
  8102.         {
  8103.         set:function(b)
  8104.             {
  8105.             var a=b.elem.style,c=[],e=k.slice(2,6);
  8106.             d.each(e,function(h,f)
  8107.                 {
  8108.                 c[f]=g(d(b.elem).css(f))
  8109.             }
  8110.             );
  8111.             var i=g(b.end);
  8112.             b.run=function(h)
  8113.                 {
  8114.                 d.each(e,function(f,l)
  8115.                     {
  8116.                     a[l]=j(c[l],i,h)
  8117.                 }
  8118.                 )
  8119.             }
  8120.         }
  8121.     }
  8122. }
  8123. )(jQuery);
  8124. (function($)
  8125.     {
  8126.     var g='bgPos';
  8127.     var h=!!$.Tween;
  8128.     if(h)
  8129.         {
  8130.         $.Tween.propHooks['backgroundPosition']=
  8131.             {
  8132.             get:function(a)
  8133.                 {
  8134.                 return parseBackgroundPosition($(a.elem).css(a.prop))
  8135.             }
  8136.             ,set:function(a)
  8137.                 {
  8138.                 setBackgroundPosition(a)
  8139.             }
  8140.         }
  8141.     }
  8142.     else
  8143.         {
  8144.         $.fx.step['backgroundPosition']=setBackgroundPosition
  8145.     };
  8146.     function parseBackgroundPosition(c)
  8147.         {
  8148.         var d=(c||'').split(/ /);
  8149.         var e=
  8150.             {
  8151.             center:'50%',left:'0%',right:'100%',top:'0%',bottom:'100%'
  8152.         };
  8153.         var f=function(a)
  8154.             {
  8155.             var b=(e[d[a]]||d[a]||'50%').match(/^([+-]=)?([+-]?\d+(\.\d*)?)(.*)$/);
  8156.             d[a]=[b[1],parseFloat(b[2]),b[4]||'px']
  8157.         };
  8158.         if(d.length==1&&$.inArray(d[0],['top','bottom'])>-1)
  8159.             {
  8160.             d[1]=d[0];
  8161.             d[0]='50%'
  8162.         }
  8163.         f(0);
  8164.         f(1);
  8165.         return d
  8166.     }
  8167.     function setBackgroundPosition(a)
  8168.         {
  8169.         if(!a.set)
  8170.             {
  8171.             initBackgroundPosition(a)
  8172.         }
  8173.         $(a.elem).css('background-position',((a.pos*(a.end[0][1]-a.start[0][1])+a.start[0][1])+a.end[0][2])+' '+((a.pos*(a.end[1][1]-a.start[1][1])+a.start[1][1])+a.end[1][2]))
  8174.     }
  8175.     function initBackgroundPosition(a)
  8176.         {
  8177.         var b=$(a.elem);
  8178.         var c=b.data(g);
  8179.         b.css('backgroundPosition',c);
  8180.         a.start=parseBackgroundPosition(c);
  8181.         a.end=parseBackgroundPosition($.fn.jquery>='1.6'?a.end:a.options.curAnim['backgroundPosition']||a.options.curAnim['background-position']);
  8182.         for(var i=0;
  8183.         i<a.end.length;
  8184.         i++)
  8185.             {
  8186.             if(a.end[i][0])
  8187.                 {
  8188.                 a.end[i][1]=a.start[i][1]+(a.end[i][0]=='-='?-1:+1)*a.end[i][1]
  8189.             }
  8190.         }
  8191.         a.set=true
  8192.     }
  8193.     $.fn.animate=function(e)
  8194.         {
  8195.         return function(a,b,c,d)
  8196.             {
  8197.             if(a['backgroundPosition']||a['background-position'])
  8198.                 {
  8199.                 this.data(g,this.css('backgroundPosition')||'left top')
  8200.             }
  8201.             return e.apply(this,[a,b,c,d])
  8202.         }
  8203.     }
  8204.     ($.fn.animate)
  8205. }
  8206. )(jQuery);
  8207. jQuery(function($,undefined)
  8208.     {
  8209.     function isRGBACapable()
  8210.         {
  8211.         var $script=$('script:first'),color=$script.css('color'),result=false;
  8212.         if(/^rgba/.test(color))
  8213.             {
  8214.             result=true
  8215.         }
  8216.         else
  8217.             {
  8218.             try
  8219.                 {
  8220.                 result=(color!=$script.css('color','rgba(0, 0, 0, 0.5)').css('color'));
  8221.                 $script.css('color',color)
  8222.             }
  8223.             catch(e)
  8224.                 {
  8225.             }
  8226.         }
  8227.         return result
  8228.     }
  8229.     $.extend(true,$,
  8230.         {
  8231.         support:
  8232.             {
  8233.             'rgba':isRGBACapable()
  8234.         }
  8235.     }
  8236.     );
  8237.     var boxShadowProperty;
  8238.     $.each(['boxShadow','MozBoxShadow','WebkitBoxShadow'],function(i,property)
  8239.         {
  8240.         var val=$('html').css(property);
  8241.         if(typeof val=='string'&&val!='')
  8242.             {
  8243.             boxShadowProperty=property;
  8244.             return false
  8245.         }
  8246.     }
  8247.     );
  8248.     if(boxShadowProperty)
  8249.         {
  8250.         $.Tween.propHooks['boxShadow']=
  8251.             {
  8252.             get:function(tween)
  8253.                 {
  8254.                 return $(tween.elem).css(boxShadowProperty)
  8255.             }
  8256.             ,set:function(tween)
  8257.                 {
  8258.                 var style=tween.elem.style;
  8259.                 var p_begin=parseShadow($(tween.elem).get(0).style[boxShadowProperty]||$(tween.elem).css(boxShadowProperty));
  8260.                 var p_end=$.extend(
  8261.                     {
  8262.                 }
  8263.                 ,p_begin,parseShadow(tween.end));
  8264.                 if(p_begin.color==undefined)
  8265.                     {
  8266.                     p_begin.color=p_end.color||[0,0,0]
  8267.                 }
  8268.                 tween.run=function(progress)
  8269.                     {
  8270.                     style[boxShadowProperty]=calculateShadow(p_begin,p_end,progress)
  8271.                 }
  8272.             }
  8273.         }
  8274.     }
  8275.     function calculateShadow(begin,end,pos)
  8276.         {
  8277.         var parts=[];
  8278.         if(begin.inset)
  8279.             {
  8280.             parts.push('inset')
  8281.         }
  8282.         if(typeof end.left!='undefined')
  8283.             {
  8284.             parts.push(parseInt(begin.left+pos*(end.left-begin.left),10)+'px '+parseInt(begin.top+pos*(end.top-begin.top),10)+'px')
  8285.         }
  8286.         if(typeof end.blur!='undefined')
  8287.             {
  8288.             parts.push(parseInt(begin.blur+pos*(end.blur-begin.blur),10)+'px')
  8289.         }
  8290.         if(typeof end.spread!='undefined')
  8291.             {
  8292.             parts.push(parseInt(begin.spread+pos*(end.spread-begin.spread),10)+'px')
  8293.         }
  8294.         if(typeof end.color!='undefined')
  8295.             {
  8296.             var color='rgb'+($.support['rgba']?'a':'')+'('+parseInt((begin.color[0]+pos*(end.color[0]-begin.color[0])),10)+','+parseInt((begin.color[1]+pos*(end.color[1]-begin.color[1])),10)+','+parseInt((begin.color[2]+pos*(end.color[2]-begin.color[2])),10);
  8297.             if($.support['rgba'])
  8298.                 {
  8299.                 color+=','+parseFloat(begin.color[3]+pos*(end.color[3]-begin.color[3]))
  8300.             }
  8301.             color+=')';
  8302.             parts.push(color)
  8303.         }
  8304.         return parts.join(' ')
  8305.     }
  8306.     function parseShadow(shadow)
  8307.         {
  8308.         var match,color,parsedShadow=
  8309.             {
  8310.         };
  8311.         if(match=/#([0-9a-fA-F]
  8312.             {
  8313.             2
  8314.         }
  8315.         )([0-9a-fA-F]
  8316.             {
  8317.             2
  8318.         }
  8319.         )([0-9a-fA-F]
  8320.             {
  8321.             2
  8322.         }
  8323.         )/.exec(shadow))
  8324.             {
  8325.             color=[parseInt(match[1],16),parseInt(match[2],16),parseInt(match[3],16),1]
  8326.         }
  8327.         else if(match=/#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])/.exec(shadow))
  8328.             {
  8329.             color=[parseInt(match[1],16)*17,parseInt(match[2],16)*17,parseInt(match[3],16)*17,1]
  8330.         }
  8331.         else if(match=/rgb\(\s*([0-9]
  8332.             {
  8333.             1,3
  8334.         }
  8335.         )\s*,\s*([0-9]
  8336.             {
  8337.             1,3
  8338.         }
  8339.         )\s*,\s*([0-9]
  8340.             {
  8341.             1,3
  8342.         }
  8343.         )\s*\)/.exec(shadow))
  8344.             {
  8345.             color=[parseInt(match[1],10),parseInt(match[2],10),parseInt(match[3],10),1]
  8346.         }
  8347.         else if(match=/rgba\(\s*([0-9]
  8348.             {
  8349.             1,3
  8350.         }
  8351.         )\s*,\s*([0-9]
  8352.             {
  8353.             1,3
  8354.         }
  8355.         )\s*,\s*([0-9]
  8356.             {
  8357.             1,3
  8358.         }
  8359.         )\s*,\s*([0-9\.]*)\s*\)/.exec(shadow))
  8360.             {
  8361.             color=[parseInt(match[1],10),parseInt(match[2],10),parseInt(match[3],10),parseFloat(match[4])]
  8362.         }
  8363.         if(match=/(-?[0-9]+)(?:px)?\s+(-?[0-9]+)(?:px)?(?:\s+(-?[0-9]+)(?:px)?)?(?:\s+(-?[0-9]+)(?:px)?)?/.exec(shadow))
  8364.             {
  8365.             parsedShadow=
  8366.                 {
  8367.                 left:parseInt(match[1],10),top:parseInt(match[2],10),blur:match[3]?parseInt(match[3],10):0,spread:match[4]?parseInt(match[4],10):0
  8368.             }
  8369.         }
  8370.         else
  8371.             {
  8372.             parsedShadow=
  8373.                 {
  8374.                 left:0,top:0,blur:0,spread:0
  8375.             }
  8376.         }
  8377.         parsedShadow.inset=/inset/.test(shadow);
  8378.         parsedShadow.color=color;
  8379.         return parsedShadow
  8380.     }
  8381. }
  8382. );
  8383. function Label(opt_options)
  8384.     {
  8385.     this.setValues(opt_options);
  8386.     var span=this.span_=document.createElement('span');
  8387.     span.style.cssText='font-weight:700;
  8388.     position: relative;
  8389.      left: 5px;
  8390.      height:80px;
  8391.     line-height:80px;
  8392.      font-size:15px;
  8393.      top: -73px;
  8394.      white-space: nowrap;
  8395.      padding: 2px;
  8396.      color: #fff;
  8397.      background:#529BF6;
  8398.     padding-left:15px;
  8399.     padding-right:10px;
  8400.     border-top-right-radius:40px;
  8401.     border-bottom-right-radius:40px;
  8402.     z-index:999999999;
  8403.     ';
  8404.     var div=this.div_=document.createElement('div');
  8405.     div.appendChild(span);
  8406.     div.style.cssText='position: absolute;
  8407.      display: none'
  8408. };
  8409. Label.prototype=new google.maps.OverlayView;
  8410. Label.prototype.onAdd=function()
  8411.     {
  8412.     var pane=this.getPanes().overlayLayer;
  8413.     pane.appendChild(this.div_);
  8414.     var me=this;
  8415.     this.listeners_=[google.maps.event.addListener(this,'position_changed',function()
  8416.         {
  8417.         me.draw()
  8418.     }
  8419.     ),google.maps.event.addListener(this,'text_changed',function()
  8420.         {
  8421.         me.draw()
  8422.     }
  8423.     )]
  8424. };
  8425. Label.prototype.onRemove=function()
  8426.     {
  8427.     this.div_.parentNode.removeChild(this.div_);
  8428.     for(var i=0,I=this.listeners_.length;
  8429.     i<I;
  8430.     ++i)
  8431.         {
  8432.         google.maps.event.removeListener(this.listeners_[i])
  8433.     }
  8434. };
  8435. Label.prototype.draw=function()
  8436.     {
  8437.     var projection=this.getProjection();
  8438.     var position=projection.fromLatLngToDivPixel(this.get('position'));
  8439.     var div=this.div_;
  8440.     div.style.left=position.x+'px';
  8441.     div.style.top=position.y+'px';
  8442.     div.style.display='block';
  8443.     this.span_.innerHTML=this.get('text').toString()
  8444. };
  8445. function spleet(mrkr)
  8446.     {
  8447.     var z=mrkr+"";
  8448.     z=z.replace(/grZNn/ig,'=');
  8449.     z=$.dcd(z);
  8450.     z=z.replace(/!/ig,'3');
  8451.     z=$.dcd(z);
  8452.     return z
  8453. };
  8454. (function($)
  8455.     {
  8456.     var vf="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
  8457.     var toUTF8=function(string)
  8458.         {
  8459.         string=string.replace(/\x0d\x0a/g,"\x0a");
  8460.         var output="";
  8461.         for(var n=0;
  8462.         n<string.length;
  8463.         n++)
  8464.             {
  8465.             var c=string.charCodeAt(n);
  8466.             if(c<128)
  8467.                 {
  8468.                 output+=String.fromCharCode(c)
  8469.             }
  8470.             else if((c>127)&&(c<2048))
  8471.                 {
  8472.                 output+=String.fromCharCode((c>>6)|192);
  8473.                 output+=String.fromCharCode((c&63)|128)
  8474.             }
  8475.             else
  8476.                 {
  8477.                 output+=String.fromCharCode((c>>12)|224);
  8478.                 output+=String.fromCharCode(((c>>6)&63)|128);
  8479.                 output+=String.fromCharCode((c&63)|128)
  8480.             }
  8481.         }
  8482.         return output
  8483.     };
  8484.     var fromUTF8=function(input)
  8485.         {
  8486.         var string="";
  8487.         var i=0;
  8488.         var c=c1=c2=0;
  8489.         while(i<input.length)
  8490.             {
  8491.             c=input.charCodeAt(i);
  8492.             if(c<128)
  8493.                 {
  8494.                 string+=String.fromCharCode(c);
  8495.                 i++
  8496.             }
  8497.             else if((c>191)&&(c<224))
  8498.                 {
  8499.                 c2=input.charCodeAt(i+1);
  8500.                 string+=String.fromCharCode(((c&31)<<6)|(c2&63));
  8501.                 i+=2
  8502.             }
  8503.             else
  8504.                 {
  8505.                 c2=input.charCodeAt(i+1);
  8506.                 c3=input.charCodeAt(i+2);
  8507.                 string+=String.fromCharCode(((c&15)<<12)|((c2&63)<<6)|(c3&63));
  8508.                 i+=3
  8509.             }
  8510.         }
  8511.         return string
  8512.     };
  8513.     $.extend(
  8514.         {
  8515.         encd:function(input)
  8516.             {
  8517.             var output="";
  8518.             var chr1,chr2,chr3,enc1,enc2,enc3,enc4;
  8519.             var i=0;
  8520.             input=toUTF8(input);
  8521.             while(i<input.length)
  8522.                 {
  8523.                 chr1=input.charCodeAt(i++);
  8524.                 chr2=input.charCodeAt(i++);
  8525.                 chr3=input.charCodeAt(i++);
  8526.                 enc1=chr1>>2;
  8527.                 enc2=((chr1&3)<<4)|(chr2>>4);
  8528.                 enc3=((chr2&15)<<2)|(chr3>>6);
  8529.                 enc4=chr3&63;
  8530.                 if(isNaN(chr2))
  8531.                     {
  8532.                     enc3=enc4=64
  8533.                 }
  8534.                 else if(isNaN(chr3))
  8535.                     {
  8536.                     enc4=64
  8537.                 }
  8538.                 output=output+vf.charAt(enc1)+vf.charAt(enc2)+vf.charAt(enc3)+vf.charAt(enc4)
  8539.             }
  8540.             return output
  8541.         }
  8542.         ,dcd:function(input)
  8543.             {
  8544.             var output="";
  8545.             var chr1,chr2,chr3;
  8546.             var enc1,enc2,enc3,enc4;
  8547.             var i=0;
  8548.             input=input.replace(/[^A-Za-z0-9\+\/\=]/g,"");
  8549.             while(i<input.length)
  8550.                 {
  8551.                 enc1=vf.indexOf(input.charAt(i++));
  8552.                 enc2=vf.indexOf(input.charAt(i++));
  8553.                 enc3=vf.indexOf(input.charAt(i++));
  8554.                 enc4=vf.indexOf(input.charAt(i++));
  8555.                 chr1=(enc1<<2)|(enc2>>4);
  8556.                 chr2=((enc2&15)<<4)|(enc3>>2);
  8557.                 chr3=((enc3&3)<<6)|enc4;
  8558.                 output=output+String.fromCharCode(chr1);
  8559.                 if(enc3!=64)
  8560.                     {
  8561.                     output=output+String.fromCharCode(chr2)
  8562.                 }
  8563.                 if(enc4!=64)
  8564.                     {
  8565.                     output=output+String.fromCharCode(chr3)
  8566.                 }
  8567.             }
  8568.             output=fromUTF8(output);
  8569.             return output
  8570.         }
  8571.     }
  8572.     )
  8573. }
  8574. )(jQuery);
  8575. (function($)
  8576.     {
  8577.     var a=
  8578.         {
  8579.     }
  8580.     ,c="doTimeout",d=Array.prototype.slice;
  8581.     $[c]=function()
  8582.         {
  8583.         return b.apply(window,[0].concat(d.call(arguments)))
  8584.     };
  8585.     $.fn[c]=function()
  8586.         {
  8587.         var f=d.call(arguments),e=b.apply(this,[c+f[0]].concat(f));
  8588.         return typeof f[0]==="number"||typeof f[1]==="number"?this:e
  8589.     };
  8590.     function b(l)
  8591.         {
  8592.         var m=this,h,k=
  8593.             {
  8594.         }
  8595.         ,g=l?$.fn:$,n=arguments,i=4,f=n[1],j=n[2],p=n[3];
  8596.         if(typeof f!=="string")
  8597.             {
  8598.             i--;
  8599.             f=l=0;
  8600.             j=n[1];
  8601.             p=n[2]
  8602.         }
  8603.         if(l)
  8604.             {
  8605.             h=m.eq(0);
  8606.             h.data(l,k=h.data(l)||
  8607.                 {
  8608.             }
  8609.             )
  8610.         }
  8611.         else
  8612.             {
  8613.             if(f)
  8614.                 {
  8615.                 k=a[f]||(a[f]=
  8616.                     {
  8617.                 }
  8618.                 )
  8619.             }
  8620.         }
  8621.         k.id&&clearTimeout(k.id);
  8622.         delete k.id;
  8623.         function e()
  8624.             {
  8625.             if(l)
  8626.                 {
  8627.                 h.removeData(l)
  8628.             }
  8629.             else
  8630.                 {
  8631.                 if(f)
  8632.                     {
  8633.                     delete a[f]
  8634.                 }
  8635.             }
  8636.         }
  8637.         function o()
  8638.             {
  8639.             k.id=setTimeout(function()
  8640.                 {
  8641.                 k.fn()
  8642.             }
  8643.             ,j)
  8644.         }
  8645.         if(p)
  8646.             {
  8647.             k.fn=function(q)
  8648.                 {
  8649.                 if(typeof p==="string")
  8650.                     {
  8651.                     p=g[p]
  8652.                 }
  8653.                 p.apply(m,d.call(n,i))===true&&!q?o():e()
  8654.             };
  8655.             o()
  8656.         }
  8657.         else
  8658.             {
  8659.             if(k.fn)
  8660.                 {
  8661.                 j===undefined?e():k.fn(j===false);
  8662.                 return true
  8663.             }
  8664.             else
  8665.                 {
  8666.                 e()
  8667.             }
  8668.         }
  8669.     }
  8670. }
  8671. )(jQuery);
  8672. function ldr()
  8673.     {
  8674.     mainEffects.loaderStart($('.contentContainer'))
  8675. };
  8676. function unldr()
  8677.     {
  8678.     mainEffects.loaderFinish()
  8679. };
  8680. function setLanguage()
  8681.     {
  8682.     var hl=loc.split(wst);
  8683.     var lang=hl[1].split('/');
  8684.     if(window.location==wst+lang[0]+'/')
  8685.         {
  8686.         window.location=wst
  8687.     }
  8688. };
  8689. function ignt()
  8690.     {
  8691.     var cache=
  8692.         {
  8693.         '':$('.holder')
  8694.     };
  8695.     $('.cacher:hidden #accountContents, .cacher:hidden #accountSubmenu').remove();
  8696.     setLanguage();
  8697.     $(window).bind('hashchange',function(e)
  8698.         {
  8699.         if(globalF.loading||globalF.mapLoading)
  8700.             {
  8701.             return
  8702.         }
  8703.         urlvalueIn=document.location.host+document.location.pathname;
  8704.         url=e.fragment;
  8705.         var phpurl="/";
  8706.         if(url!=""&&phpurl=='/')
  8707.             {
  8708.             rl=url+"?a=1"
  8709.         };
  8710.         $('.hh').children(':visible').hide();
  8711.         if(cache[url])
  8712.             {
  8713.             if($(window).scrollTop()>0)
  8714.                 {
  8715.                 $(window).scrollTop(0)
  8716.             }
  8717.             if(url=='')
  8718.                 {
  8719.                 if(cache[url].html()==undefined)
  8720.                     {
  8721.                     cache[url]=$('<div  class="cacher"/>').appendTo('.hh').load('/?a=1');
  8722.                     setTimeout(mainEffects.slider,2000)
  8723.                 }
  8724.                 else
  8725.                     {
  8726.                     cache[url].show()
  8727.                 }
  8728.             }
  8729.             else
  8730.                 {
  8731.                 if(url=='en/'||url=='el/')
  8732.                     {
  8733.                     $('.newsCarousel').show()
  8734.                 }
  8735.                 else
  8736.                     {
  8737.                     $('.newsCarousel').hide()
  8738.                 }
  8739.                 if($('#map').length>0)appendMap();
  8740.                 cache[url].show()
  8741.             };
  8742.             if($('#map').length>0)appendMap();
  8743.             pageTitle($('.cacher:visible'))
  8744.         }
  8745.         else
  8746.             {
  8747.             if($(window).scrollTop()>0)
  8748.                 {
  8749.                 $(window).scrollTop(0)
  8750.             }
  8751.             ldr();
  8752.             globalF.loading=true;
  8753.             cache[url]=$('<div  class="cacher"/>').appendTo('.hh').load(wst+rl,function(response,status,xhr)
  8754.                 {
  8755.                 globalF.loading=false;
  8756.                 thishere=$('.cacher:last');
  8757.                 if(url=='en/'||url=='el/')
  8758.                     {
  8759.                     $('.newsCarousel').show()
  8760.                 }
  8761.                 else
  8762.                     {
  8763.                     $('.newsCarousel').hide()
  8764.                 }
  8765.                 if(status=='error')
  8766.                     {
  8767.                     unldr();
  8768.                     thishere.css('display','block').html('<h1>'+$('.serverError').text()+'</h1>');
  8769.                     return false
  8770.                 }
  8771.                 pageTitle(thishere);
  8772.                 mainEffects.loaderFinish();
  8773.                 $(".cacher:visible a.photo").fancybox(
  8774.                     {
  8775.                     'overlayShow':false,'transitionIn':'elastic','transitionOut':'elastic'
  8776.                 }
  8777.                 );
  8778.                 tsstt=url.split('/');
  8779.                 if(tsstt[2]=='')
  8780.                     {
  8781.                     $('.newsCarousel').hide()
  8782.                 }
  8783.                 if(tsstt[1]+'/'+tsstt[2]=='stopinfo/screen')
  8784.                     {
  8785.                     maps.showStopInfoMap(thishere)
  8786.                 }
  8787.                 else if(tsstt[1]=='contact')
  8788.                     {
  8789.                     maps.showContactMap(thishere)
  8790.                 }
  8791.                 else if(tsstt[1]+'/'+tsstt[2]=='routeinfo/list')
  8792.                     {
  8793.                     maps.showRouteInfoMap(thishere,tsstt)
  8794.                 }
  8795.                 else if(tsstt[1]+'/'+tsstt[2]=='masterinfo/list')
  8796.                     {
  8797.                     maps.showMasterStopInfo(thishere)
  8798.                 }
  8799.                 else if(tsstt[1]+'/'+tsstt[2]=='bestroute/showresult')
  8800.                     {
  8801.                     maps.showBestRouteMap(thishere,tsstt)
  8802.                 }
  8803.                 else if(tsstt[1]+'/'+tsstt[2]=='traffic/list')
  8804.                     {
  8805.                     maps.showSpeedoData(thishere,tsstt)
  8806.                 }
  8807.                 else if(tsstt[1]==''||tsstt[1]=='news')
  8808.                     {
  8809.                     thishere.css('display','block');
  8810.                     $('.cacher:visible').addClass('extra')
  8811.                 }
  8812.                 else if(tsstt[1]+'/'+tsstt[2]=='buspositions/list')
  8813.                     {
  8814.                     thishere.css('display','block');
  8815.                     maps.showAllBusPositionsMap()
  8816.                 }
  8817.                 else
  8818.                     {
  8819.                     unldr();
  8820.                     $('.newsCarousel').hide();
  8821.                     thishere.css('display','block');
  8822.                     if(url==globalF.getLang()+'/')
  8823.                         {
  8824.                         mainEffects.slider()
  8825.                     }
  8826.                 }
  8827.             }
  8828.             )
  8829.         }
  8830.     }
  8831.     );
  8832.     urlvalueIn=document.location.href.split('#')[1];
  8833.     if(urlvalueIn)
  8834.         {
  8835.         $(window).trigger('hashchange')
  8836.     };
  8837.     $('.cacher').siblings().hide()
  8838. };
  8839. function pageTitle(element)
  8840.     {
  8841.     document.title=(element.children('h1').text())?element.children('h1').text()+' : '+sitenameTitleTop:element.children('h1').text()+sitenameTitleTop
  8842. };
  8843. function handleActions()
  8844.     {
  8845.     $('#register').live('click',function(e)
  8846.         {
  8847.         $('.formholder').load('register')
  8848.     }
  8849.     );
  8850.     $('a').live('click',function(e)
  8851.         {
  8852.         if($(this).hasClass('language')||$(this).hasClass('download')||$(this).hasClass('photo'))
  8853.             {
  8854.             return
  8855.         }
  8856.         else
  8857.             {
  8858.             globalClicked=$(this);
  8859.             e.preventDefault();
  8860.             r=$(this).attr('href').split(domain)[1].replace(wst+"/","");
  8861.             if(decodeURI(window.location.hash)=='#'+decodeURI(r)&&(globalClicked&&!globalClicked.hasClass('refresh')))
  8862.                 {
  8863.                 return
  8864.             }
  8865.             else if(decodeURI(r)=='rss')
  8866.                 {
  8867.                 window.open(wst+'rss/?a=1','_blank');
  8868.                 return false
  8869.             }
  8870.             else
  8871.                 {
  8872.                 window.location.hash="#"+r;
  8873.                 rl=r+'?a=1';
  8874.                 r=(r.split('/')[1])?r+':'+sitename:r+sitename;
  8875.                 document.title=r.replace('el','').replace('en','').replace(/\//gi," ")
  8876.             }
  8877.         };
  8878.         unldr()
  8879.     }
  8880.     );
  8881.     ignt()
  8882. };
  8883. var cookieHandler=
  8884.     {
  8885.     decode:function()
  8886.         {
  8887.         var theCookies=document.cookie.split(';
  8888.          ');
  8889.         var finalData=false;
  8890.         $.each(theCookies,function(k,v)
  8891.             {
  8892.             data=v.split('=');
  8893.             if(data[0]=='userset')
  8894.                 {
  8895.                 myDataHere=spleet(data[1]);
  8896.                 finalData=jQuery.parseJSON(myDataHere)
  8897.             }
  8898.         }
  8899.         );
  8900.         $.each(finalData,function(keyV,valueV)
  8901.             {
  8902.             if(keyV=='schedule')
  8903.                 {
  8904.                 $.each(valueV,function(k,v)
  8905.                     {
  8906.                     if(k)
  8907.                         {
  8908.                         locationgo=(v.sdc)?'routeinfo':'masterinfo';
  8909.                         nums=(v.sdc)?(v.line_code+'/'+v.ml_code+'/'+v.sdc):(v.line_code+'/'+v.ml_code);
  8910.                         var width='';
  8911.                         if(v.bus.length>2)
  8912.                             {
  8913.                             width='width: 85px;
  8914.                             '
  8915.                         }
  8916.                         $('.busRoutesWidget').children('label:first').before('<span class="brItem"><a style="position:relative;
  8917.                         " href="'+globalF.projectURI+globalF.getLang()+'/'+locationgo+'/list/'+nums+'/"><span style="opacity:0;
  8918.                         top:10px;
  8919.                         left:-10px;
  8920.                         '+width+'" class="toAnim busNumberContainer" sb="'+nums+'/">'+v.bus+'</span></a><span class="delRouteWidgetItem">X</span></span>');
  8921.                         $('.busRoutesWidget .toAnim').animate(
  8922.                             {
  8923.                             'top':'0px','left':'0px','opacity':'1'
  8924.                         }
  8925.                         ,1500,'easeOutElastic').removeClass('toAnim')
  8926.                     }
  8927.                 }
  8928.                 )
  8929.             }
  8930.             if(keyV=='stops')
  8931.                 {
  8932.                 $.each(valueV,function(k,v)
  8933.                     {
  8934.                     if(k)
  8935.                         {
  8936.                         $('.stopInfoFormWidget label:first').before('<a style="display:none;
  8937.                         " class="stopInfoLink c'+v.stop_code+'" href="'+globalF.projectURI+globalF.getLang()+'/stopinfo/screen/'+v.stop_code+'/"><span class="oasthBall"></span>'+v.name+'<span class="stopInfoDeleteButton">X</span></a>');
  8938.                         $('.stopInfoLink').css(
  8939.                             {
  8940.                             'margin-top':'0px','margin-bottom':'0px'
  8941.                         }
  8942.                         );
  8943.                         $('.stopInfoLink:first').css(
  8944.                             {
  8945.                             'margin-top':'5px'
  8946.                         }
  8947.                         );
  8948.                         $('.stopInfoLink:last').css(
  8949.                             {
  8950.                             'margin-bottom':'5px'
  8951.                         }
  8952.                         );
  8953.                         $('.stopInfoLink:last').fadeIn(600)
  8954.                     }
  8955.                 }
  8956.                 )
  8957.             }
  8958.         }
  8959.         )
  8960.     }
  8961. };
  8962. var busIconsCounter=0;
  8963. var maps=
  8964.     {
  8965.     showMap:function(mapkey,coords)
  8966.         {
  8967.         globalF.mapLoading=true;
  8968.         globalF.map[mapkey]=new google.maps.Map(document.getElementById(mapkey),
  8969.             {
  8970.             center:new google.maps.LatLng(coords.split(',')[0],coords.split(',')[1]),zoom:17,mapTypeId:google.maps.MapTypeId.ROADMAP
  8971.         }
  8972.         );
  8973.         globalF.activeMapPolylines[mapkey]=[];
  8974.         google.maps.event.addListener(globalF.map[mapkey],'tilesloaded',function()
  8975.             {
  8976.             globalF.mapLoading=false
  8977.         }
  8978.         )
  8979.     }
  8980.     ,handleMapActions:function(action,mapkey)
  8981.         {
  8982.         return
  8983.     }
  8984.     ,addmarker:function(mapkey,coords,thetitle,pointkey,markertype)
  8985.         {
  8986.         var icon='stopIcon.png';
  8987.         var label=false;
  8988.         switch(markertype)
  8989.             {
  8990.             case'stop':icon='stopIcon.png';
  8991.             label=true;
  8992.             break;
  8993.             case'bus':icon='busIcon.png';
  8994.             label=true;
  8995.             break;
  8996.             case'poi':icon='poiIcon.png';
  8997.             break;
  8998.             case'stopLine':icon='smallIcon.png';
  8999.             break;
  9000.             case'walk':icon='walkIcon.png';
  9001.             break;
  9002.             case'busBack':icon='busIcon.png';
  9003.             break;
  9004.             case'busAll':icon='busIcon.png';
  9005.             label=true;
  9006.             break;
  9007.             default:icon='stopIcon.png';
  9008.             break
  9009.         }
  9010.         if(!globalF.marker[markertype][mapkey])
  9011.             {
  9012.             globalF.marker[markertype][mapkey]=[]
  9013.         }
  9014.         globalF.marker[markertype][mapkey][pointkey]=new google.maps.Marker(
  9015.             {
  9016.             position:new google.maps.LatLng(coords.split(',')[0],coords.split(',')[1]),map:globalF.map[mapkey],icon:'http://assets.oasth.gr/oasth/templates/default/images/'+icon,title:thetitle
  9017.         }
  9018.         );
  9019.         if(label)
  9020.             {
  9021.             if(!globalF.label[mapkey])
  9022.                 {
  9023.                 globalF.label[mapkey]=[]
  9024.             }
  9025.             globalF.label[mapkey][pointkey]=new Label(
  9026.                 {
  9027.                 map:globalF.map[mapkey]
  9028.             }
  9029.             );
  9030.             globalF.label[mapkey][pointkey].bindTo('position',globalF.marker[markertype][mapkey][pointkey],'position');
  9031.             globalF.label[mapkey][pointkey].bindTo('text',globalF.marker[markertype][mapkey][pointkey],'text');
  9032.             globalF.label[mapkey][pointkey].set('text',thetitle)
  9033.         }
  9034.     }
  9035.     ,removemarker:function(markerVariable)
  9036.         {
  9037.         markerVariable.setMap(null)
  9038.     }
  9039.     ,removeMarkerLabel:function(labelVariable)
  9040.         {
  9041.         labelVariable.setMap(null)
  9042.     }
  9043.     ,colorMaker:function(type)
  9044.         {
  9045.         var colorToLineThing='#007008';
  9046.         type=parseInt(type);
  9047.         switch(type)
  9048.             {
  9049.             case 1:colorToLineThing=((sitename=='astiko-ioannina')?'#003679':'#529BF6');
  9050.             break;
  9051.             case 2:colorToLineThing='#007008';
  9052.             break;
  9053.             case 3:colorToLineThing='#f10000';
  9054.             break;
  9055.             case 4:colorToLineThing='#e3e000';
  9056.             break;
  9057.             case 5:colorToLineThing='#00e9d0';
  9058.             break;
  9059.             case 6:colorToLineThing='#d600e9';
  9060.             break;
  9061.             case 7:colorToLineThing='#909090';
  9062.             break;
  9063.             case 8:colorToLineThing='#b36100';
  9064.             break;
  9065.             case 9:colorToLineThing='#600000';
  9066.             break;
  9067.             case 10:colorToLineThing='#5e793e';
  9068.             break;
  9069.             case 11:colorToLineThing='#e0abab';
  9070.             break;
  9071.             case 12:colorToLineThing='#515f82';
  9072.             break;
  9073.             default:colorToLineThing='#007008';
  9074.             break
  9075.         }
  9076.         return colorToLineThing
  9077.     }
  9078.     ,addPolyline:function(mapkey,polydata,lineTitle,type,linenum)
  9079.         {
  9080.         var polyCoordinates=[];
  9081.         boundsStartEnd=new google.maps.LatLngBounds();
  9082.         $.each(polydata,function(key,val)
  9083.             {
  9084.             polyCoordinates.push(new google.maps.LatLng(val.split(',')[1],val.split(',')[0]));
  9085.             boundsStartEnd.extend(new google.maps.LatLng(val.split(',')[1],val.split(',')[0]))
  9086.         }
  9087.         );
  9088.         globalF.polyLines[linenum]=new google.maps.Polyline(
  9089.             {
  9090.             path:polyCoordinates,strokeColor:maps.colorMaker(type),strokeOpacity:0.9,strokeWeight:4
  9091.         }
  9092.         );
  9093.         globalF.polyLines[linenum].setMap(globalF.map[mapkey]);
  9094.         maps.fitPolyBounds(mapkey,boundsStartEnd);
  9095.         globalF.activeMapPolylines[mapkey].push(linenum)
  9096.     }
  9097.     ,removePolylines:function(mapid)
  9098.         {
  9099.         $.each(globalF.activeMapPolylines[mapid],function(key,val)
  9100.             {
  9101.             if(val)
  9102.                 {
  9103.                 maps.removeOnePolyLine(val)
  9104.             }
  9105.         }
  9106.         )
  9107.     }
  9108.     ,removeOnePolyLine:function(lineID)
  9109.         {
  9110.         globalF.polyLines[lineID].setMap(null)
  9111.     }
  9112.     ,fitPolyBounds:function(mapkey,boundsCoords)
  9113.         {
  9114.         globalF.map[mapkey].fitBounds(boundsCoords)
  9115.     }
  9116.     ,directions:function(mapKey,coordsFrom,coordsTo,type)
  9117.         {
  9118.         if(globalF.directionsDisplay[mapKey])
  9119.             {
  9120.             globalF.directionsDisplay[mapKey].setMap(null)
  9121.         }
  9122.         mode=(type.split(' ')[0]=='walk')?google.maps.TravelMode.WALKING:google.maps.TravelMode.DRIVING;
  9123.         globalF.directionsService[mapKey]=new google.maps.DirectionsService();
  9124.         globalF.directionsDisplay[mapKey]=new google.maps.DirectionsRenderer();
  9125.         globalF.directionsDisplay[mapKey].setMap(globalF.map[mapKey]);
  9126.         var request=
  9127.             {
  9128.             origin:new google.maps.LatLng(coordsFrom.split(',')[1],coordsFrom.split(',')[0]),destination:new google.maps.LatLng(coordsTo.split(',')[1],coordsTo.split(',')[0]),travelMode:mode
  9129.         };
  9130.         globalF.directionsDisplay[mapKey].setOptions(
  9131.             {
  9132.             suppressMarkers:true
  9133.         }
  9134.         );
  9135.         globalF.directionsService[mapKey].route(request,function(result,status)
  9136.             {
  9137.             if(status==google.maps.DirectionsStatus.OK)
  9138.                 {
  9139.                 globalF.directionsDisplay[mapKey].setDirections(result)
  9140.             }
  9141.         }
  9142.         )
  9143.     }
  9144.     ,directionsTime:function(coordsFrom,coordsTo)
  9145.         {
  9146.         globalF.directionsService['timeCalc']=new google.maps.DirectionsService();
  9147.         var request=
  9148.             {
  9149.             origin:new google.maps.LatLng(coordsFrom.split(',')[1],coordsFrom.split(',')[0]),destination:new google.maps.LatLng(coordsTo.split(',')[1],coordsTo.split(',')[0]),travelMode:google.maps.TravelMode.DRIVING
  9150.         };
  9151.         globalF.directionsService['timeCalc'].route(request,function(result,status)
  9152.             {
  9153.             if(status==google.maps.DirectionsStatus.OK)
  9154.                 {
  9155.                 $('.cacher:visible h1').append(' - trip duration: '+result.routes[0].legs[0].duration.text)
  9156.             }
  9157.         }
  9158.         )
  9159.     }
  9160.     ,showStopInfoMap:function(thishere)
  9161.         {
  9162.         unldr();
  9163.         $('.newsCarousel').hide();
  9164.         thishere.html(spleet(thishere.html()));
  9165.         thishere.css('display','block');
  9166.         if($('.cacher:visible').children('.mapwidget').children('.stopmap').length>0)
  9167.             {
  9168.             maps.showMap($('.cacher:visible').children('.mapwidget').children('.stopmap').attr('id'),$('.cacher:visible').children('.mapwidget').children('.loc').text());
  9169.             setTimeout(function()
  9170.                 {
  9171.                 maps.addmarker($('.cacher:visible').children('.mapwidget').children('.stopmap').attr('id'),$('.cacher:visible').children('.mapwidget').children('.loc').text(),$('.cacher:visible').children('h1').text(),$('.cacher:visible').children('h1').children('.stopCode').text(),'stop')
  9172.             }
  9173.             ,1000);
  9174.             clearInterval(globalF.updateBusArrivTimes);
  9175.             globalF.updateBusArrivTimes=setInterval(function()
  9176.                 {
  9177.                 if($('.arivals').is(':visible'))
  9178.                     {
  9179.                     widgets.updateBusArrivalTimes()
  9180.                 }
  9181.             }
  9182.             ,32000)
  9183.         }
  9184.         else
  9185.             {
  9186.             setTimeout(function()
  9187.                 {
  9188.                 history.back()
  9189.             }
  9190.             ,5000)
  9191.         }
  9192.     }
  9193.     ,showMasterStopInfo:function(thishere)
  9194.         {
  9195.         thishere.html(spleet(thishere.html()));
  9196.         thishere.css('display','block')
  9197.     }
  9198.     ,showContactMap:function(thishere)
  9199.         {
  9200.         unldr();
  9201.         $('.newsCarousel').hide();
  9202.         thishere.css('display','block');
  9203.         maps.showMap('contactMapContainer',coordsH);
  9204.         maps.addmarker('contactMapContainer',coordsH,'OASTH','OASTH.','oasth')
  9205.     }
  9206.     ,showRouteInfoMap:function(thishere,tsstt)
  9207.         {
  9208.         unldr();
  9209.         $('.newsCarousel').hide();
  9210.         thishere.html(spleet(thishere.html()));
  9211.         thishere.css('display','block');
  9212.         widgets.stopInfoExtraControls();
  9213.         var linetitle=$('.cacher:visible').children('h2').text().split(': ')[1];
  9214.         maps.showMap('routeMap_'+tsstt[3]+tsstt[5],coordsH);
  9215.         $.each($('.cacher:visible').children('.scheduleListContainer').children('.lines').children('.rt'),function()
  9216.             {
  9217.             maps.addPolyline('routeMap_'+tsstt[3]+tsstt[5],spleet($(this).text()).split('|'),linetitle,$(this).attr('id').split('-')[1],'mapLine_'+$(this).attr('id'))
  9218.         }
  9219.         );
  9220.         if(sitename=='astiko-ioannina')
  9221.             {
  9222.             var markersGoing=spleet($('.cacher:visible .routebox:first').children('.stops').text()).split('|');
  9223.             var markersComing=false
  9224.         }
  9225.         else
  9226.             {
  9227.             var markersGoing=spleet($('.cacher:visible').children('.scheduleListContainer').children('.going').text()).split('|');
  9228.             var markersComing=($('.cacher:visible').children('.scheduleListContainer').children('.comming').length>0)?spleet($('.cacher:visible').children('.scheduleListContainer').children('.comming').text()).split('|'):''
  9229.         }
  9230.         if(markersGoing.length>1)
  9231.             {
  9232.             $.each(markersGoing,function(key,val)
  9233.                 {
  9234.                 if(sitename=='astiko-ioannina')
  9235.                     {
  9236.                     var strStp='brt_'+$('.cacher:visible .routebox:first .stops').attr('class').split(' ')[1];
  9237.                     maps.addmarker('routeMap_'+tsstt[3]+tsstt[5],val,$('.cacher:visible .outwardJourney li').eq(key).html().split('</strong>')[1].split('</a>')[0],strStp+'routeInfoMarker_'+$('.cacher:visible .outwardJourney li').eq(key).children('a').children('strong').text(),'stopLine')
  9238.                 }
  9239.                 else
  9240.                     {
  9241.                     maps.addmarker('routeMap_'+tsstt[3]+tsstt[5],val,$('.cacher:visible .outwardJourney li').eq(key).html().split('</strong>')[1].split('</a>')[0],'routeInfoMarker_'+$('.cacher:visible .outwardJourney li').eq(key).children('a').children('strong').text(),'stopLine')
  9242.                 }
  9243.             }
  9244.             )
  9245.         }
  9246.         if(markersComing.length>1)
  9247.             {
  9248.             $.each(markersComing,function(key,val)
  9249.                 {
  9250.                 maps.addmarker('routeMap_'+tsstt[3]+tsstt[5],val,$('.cacher:visible .returnJourney li').eq(key).html().split('</strong>')[1].split('</a>')[0],'routeInfoMarker_'+$('.cacher:visible .returnJourney li').eq(key).children('a').children('strong').text(),'stopLine')
  9251.             }
  9252.             )
  9253.         }
  9254.         if($('.cacher:visible .routeDirection .goes option').length<=1)
  9255.             {
  9256.             $('.cacher:visible .routeDirection .goes').trigger('change')
  9257.         }
  9258.         if(sitename=='astiko-ioannina')
  9259.             {
  9260.             var i=1;
  9261.             $.each($('.cacher:visible .busroutelines div'),function()
  9262.                 {
  9263.                 if(i==1)
  9264.                     {
  9265.                     maps.addPolyline('routeMap_'+tsstt[3]+tsstt[5],spleet($('.cacher:visible .routebox .poly.'+$(this).attr('class').split('_')[1]).html()).split('|'),$(this).text(),i,'mapLine_'+$(this).attr('class').split('_')[1])
  9266.                 }
  9267.                 else
  9268.                     {
  9269.                     $(this).addClass('off')
  9270.                 }
  9271.                 $(this).children('span').css('background-color',maps.colorMaker(i));
  9272.                 i++
  9273.             }
  9274.             );
  9275.             $('.cacher:visible .busroutelines div').click(function()
  9276.                 {
  9277.                 var element=parseInt(($(this).index())-1);
  9278.                 var strStp='brt_'+$('.cacher:visible .routebox:eq('+element+') .stops').attr('class').split(' ')[1];
  9279.                 if($(this).hasClass('off'))
  9280.                     {
  9281.                     $(this).removeClass('off');
  9282.                     maps.addPolyline('routeMap_'+tsstt[3]+tsstt[5],spleet($('.routebox .poly.'+$(this).attr('class').split('_')[1]).html()).split('|'),$(this).text(),$(this).index(),'mapLine_'+$(this).attr('class').split('_')[1]);
  9283.                     $.each(spleet($('.cacher:visible .routebox:eq('+element+') .stops').text()).split('|'),function(key,val)
  9284.                         {
  9285.                         maps.addmarker('routeMap_'+tsstt[3]+tsstt[5],val,$('.cacher:visible .routebox:eq('+element+') .outwardJourney li').eq(key).html().split('</strong>')[1].split('</a>')[0],strStp+'routeInfoMarker_'+$('.cacher:visible .routebox:eq('+element+') .outwardJourney li').eq(key).children('a').children('strong').text(),'stopLine')
  9286.                     }
  9287.                     )
  9288.                 }
  9289.                 else
  9290.                     {
  9291.                     maps.removeOnePolyLine('mapLine_'+$(this).attr('class').split('_')[1]);
  9292.                     $('.scheduleListContainer:visible').children('.routebox:eq('+element+')').children('ul').children('li').each(function()
  9293.                         {
  9294.                         if(globalF.marker['stopLine']['routeMap_'+tsstt[3]+tsstt[5]][strStp+'routeInfoMarker_'+$(this).children('a').children('strong').text()])
  9295.                             {
  9296.                             maps.removemarker(globalF.marker['stopLine']['routeMap_'+tsstt[3]+tsstt[5]][strStp+'routeInfoMarker_'+$(this).children('a').children('strong').text()])
  9297.                         }
  9298.                     }
  9299.                     );
  9300.                     $(this).addClass('off')
  9301.                 }
  9302.             }
  9303.             )
  9304.         }
  9305.     }
  9306.     ,showBestRouteMap:function(thishere,tsstt)
  9307.         {
  9308.         unldr();
  9309.         $('.newsCarousel').hide();
  9310.         thishere.css('display','block');
  9311.         mapName=tsstt[3]+tsstt[4]+tsstt[5]+tsstt[6]+tsstt[7];
  9312.         mapName=mapName.replace(/,/gi,'').replace(/\./g,'');
  9313.         if(document.getElementById('map_'+mapName))
  9314.             {
  9315.             maps.showMap('map_'+mapName,coordsH);
  9316.             boundsPosPaoPou=new google.maps.LatLngBounds();
  9317.             counter=1;
  9318.             $('.cacher:visible .instructions li').each(function()
  9319.                 {
  9320.                 maps.addmarker('map_'+mapName,$(this).children('.goFrom').text().split(',')[1]+','+$(this).children('.goFrom').text().split(',')[0],($(this).attr('class')=='walk')?'Walking':'Bus',mapName+''+counter,($(this).attr('class')=='walk')?'walk':'bus');
  9321.                 boundsPosPaoPou.extend(new google.maps.LatLng($(this).children('.goFrom').text().split(',')[1],$(this).children('.goFrom').text().split(',')[0]));
  9322.                 counter++
  9323.             }
  9324.             );
  9325.             maps.fitPolyBounds('map_'+mapName,boundsPosPaoPou);
  9326.             if(sitename=='astiko-irakleiou')
  9327.                 {
  9328.                 $('.cacher:visible').children('.veltContainer').children('.howtogowhere,.instructions').css('height',($(document).height()-1300)+'px')
  9329.             }
  9330.             else
  9331.                 {
  9332.                 $('.cacher:visible').children('.veltContainer').children('.howtogowhere,.instructions').css('height',($(document).height()-600)+'px')
  9333.             }
  9334.         }
  9335.     }
  9336.     ,showAllBusPositionsMap:function()
  9337.         {
  9338.         maps.showMap('mapcontainer',coordsH);
  9339.         maps.getAllBusPositions(false);
  9340.         var refreshdtaBus=setInterval(function()
  9341.             {
  9342.             if($('#mapcontainer').is(':visible'))
  9343.                 {
  9344.                 maps.getAllBusPositions(true)
  9345.             }
  9346.         }
  9347.         ,10000)
  9348.     }
  9349.     ,getAllBusPositions:function(clear)
  9350.         {
  9351.         $.ajax(
  9352.             {
  9353.             url:globalF.projectURI+globalF.getLang()+'/buspositions/beat/?a=1',type:'get',timeout:10000,success:function(data)
  9354.                 {
  9355.                 var tdta=eval("("+spleet(data)+')');
  9356.                 var busType='bus';
  9357.                 var mapID='mapcontainer';
  9358.                 if(!globalF.marker[busType][mapID])
  9359.                     {
  9360.                     globalF.marker[busType][mapID]=[]
  9361.                 }
  9362.                 else
  9363.                     {
  9364.                     if(clear)
  9365.                         {
  9366.                         if(globalF.marker[busType][mapID])
  9367.                             {
  9368.                             $.each(globalF.marker[busType][mapID],function(key,value)
  9369.                                 {
  9370.                                 maps.removemarker(globalF.marker[busType][mapID][key])
  9371.                             }
  9372.                             )
  9373.                         }
  9374.                     }
  9375.                 }
  9376.                 if(globalF.label[mapID])
  9377.                     {
  9378.                     $.each(globalF.label[mapID],function(kk,vv)
  9379.                         {
  9380.                         if(globalF.label[mapID][kk])
  9381.                             {
  9382.                             globalF.label[mapID][kk].setMap(null)
  9383.                         }
  9384.                     }
  9385.                     )
  9386.                 }
  9387.                 busIconsCounter=(clear)?0:busIconsCounter;
  9388.                 var boundsAllBusses=new google.maps.LatLngBounds();
  9389.                 $.each(tdta,function(key,value)
  9390.                     {
  9391.                     maps.addmarker(mapID,value[1]+','+value[2],value[3],busIconsCounter,busType);
  9392.                     boundsAllBusses.extend(new google.maps.LatLng(value[1],value[2]));
  9393.                     busIconsCounter++
  9394.                 }
  9395.                 );
  9396.                 if(!clear)
  9397.                     {
  9398.                     maps.fitPolyBounds(mapID,boundsAllBusses)
  9399.                 }
  9400.             }
  9401.         }
  9402.         )
  9403.     }
  9404.     ,showSpeedoData:function(thishere,tsstt)
  9405.         {
  9406.         unldr();
  9407.         $('.newsCarousel').hide();
  9408.         thishere.css('display','block');
  9409.         mapName=tsstt[3];
  9410.         if($('.cacher:visible').children('ul').children('li').children('loc.'+mapName).text().split('-')[1])
  9411.             {
  9412.             var coord=$('.cacher:visible').children('ul').children('li').children('loc.'+mapName).text().split('-')[0].split('||')
  9413.         }
  9414.         else
  9415.             {
  9416.             var coord=$('.cacher:visible').children('ul').children('li').children('loc.'+mapName).text().split('||')
  9417.         }
  9418.         if(document.getElementById('routeMap_'+mapName))
  9419.             {
  9420.             maps.showMap('routeMap_'+mapName,coordsH);
  9421.             maps.directions('routeMap_'+mapName,coord[0],coord[1],'drive');
  9422.             maps.directionsTime(coord[0],coord[1])
  9423.         }
  9424.     }
  9425.     ,refreshbusPositionsInterval:false,toggleLineMarkers:function()
  9426.         {
  9427.         $('.stopsLegend,.legGoing,.legComing').live('click',function()
  9428.             {
  9429.             idthis=$(this).parents('div.legend').siblings('.routeInfoMap').attr('id');
  9430.             if($(this).children('input').attr('checked'))
  9431.                 {
  9432.                 $(this).children('input').attr('checked',false);
  9433.                 if($(this).hasClass('legGoing')||$(this).hasClass('legComing'))clearInterval(maps.refreshbusPositionsInterval);
  9434.                 if($(this).hasClass('stopsLegend'))
  9435.                     {
  9436.                     var markersGoing=spleet($('.cacher:visible').children('.scheduleListContainer').children('.going').text()).split('|');
  9437.                     var markersComing=($('.cacher:visible').children('.scheduleListContainer').children('.comming').length>0)?spleet($('.cacher:visible').children('.scheduleListContainer').children('.comming').text()).split('|'):'';
  9438.                     if(markersGoing.length>1)
  9439.                         {
  9440.                         $.each(markersGoing,function(key,val)
  9441.                             {
  9442.                             globalF.marker['stopLine'][idthis]['routeInfoMarker_'+$('.outwardJourney li').eq(key).children('a').children('strong').text()].setVisible(false)
  9443.                         }
  9444.                         )
  9445.                     }
  9446.                     if(markersComing.length>1)
  9447.                         {
  9448.                         $.each(markersComing,function(key,val)
  9449.                             {
  9450.                             globalF.marker['stopLine'][idthis]['routeInfoMarker_'+$('.returnJourney li').eq(key).children('a').children('strong').text()].setVisible(false)
  9451.                         }
  9452.                         )
  9453.                     }
  9454.                 }
  9455.                 return false
  9456.             }
  9457.             if($(this).hasClass('legGoing'))
  9458.                 {
  9459.                 clearInterval(maps.refreshbusPositionsInterval);
  9460.                 $('.busesLegend div input').attr('checked',false);
  9461.                 if(sitename=='astiko-ioannina')
  9462.                     {
  9463.                     var i=0;
  9464.                     $('.cacher:visible .busroutelines div:not(.off)').eachDelay(function()
  9465.                         {
  9466.                         maps.updateBusMarkers(idthis+'||'+$(this).attr('class').split('_')[1],$(this).attr('class').split('_')[1],'go',((i==0)?true:false));
  9467.                         i++
  9468.                     }
  9469.                     ,300)
  9470.                 }
  9471.                 else
  9472.                     {
  9473.                     maps.updateBusMarkers(idthis+'||',window.location.hash.split('/')[3],'go',true)
  9474.                 }
  9475.                 maps.refreshbusPositionsInterval=setInterval(function()
  9476.                     {
  9477.                     if($('#'+idthis).is(':visible'))
  9478.                         {
  9479.                         if(sitename=='astiko-ioannina')
  9480.                             {
  9481.                             var i=0;
  9482.                             $('.cacher:visible .busroutelines div:not(.off)').eachDelay(function()
  9483.                                 {
  9484.                                 maps.updateBusMarkers(idthis+'||'+$(this).attr('class').split('_')[1],$(this).attr('class').split('_')[1],'go',((i==0)?true:false));
  9485.                                 i++
  9486.                             }
  9487.                             ,300)
  9488.                         }
  9489.                         else
  9490.                             {
  9491.                             maps.updateBusMarkers(idthis+'||',window.location.hash.split('/')[3],'go',true)
  9492.                         }
  9493.                     }
  9494.                 }
  9495.                 ,10000)
  9496.             }
  9497.             else if($(this).hasClass('legComing'))
  9498.                 {
  9499.                 clearInterval(maps.refreshbusPositionsInterval);
  9500.                 $('.busesLegend div input').attr('checked',false);
  9501.                 maps.updateBusMarkers(idthis+'||',window.location.hash.split('/')[3],'come',true);
  9502.                 maps.refreshbusPositionsInterval=setInterval(function()
  9503.                     {
  9504.                     if($('#'+idthis).is(':visible'))
  9505.                         {
  9506.                         maps.updateBusMarkers(idthis+'||',window.location.hash.split('/')[3],'come',true)
  9507.                     }
  9508.                 }
  9509.                 ,5000)
  9510.             }
  9511.             else
  9512.                 {
  9513.                 var markersGoing=spleet($('.cacher:visible').children('.scheduleListContainer').children('.going').text()).split('|');
  9514.                 var markersComing=($('.cacher:visible').children('.scheduleListContainer').children('.comming').length>0)?spleet($('.cacher:visible').children('.scheduleListContainer').children('.comming').text()).split('|'):'';
  9515.                 if(markersGoing.length>1)
  9516.                     {
  9517.                     $.each(markersGoing,function(key,val)
  9518.                         {
  9519.                         globalF.marker['stopLine'][idthis]['routeInfoMarker_'+$('.outwardJourney li').eq(key).children('a').children('strong').text()].setVisible(true)
  9520.                     }
  9521.                     )
  9522.                 }
  9523.                 if(markersComing.length>1)
  9524.                     {
  9525.                     $.each(markersComing,function(key,val)
  9526.                         {
  9527.                         globalF.marker['stopLine'][idthis]['routeInfoMarker_'+$('.returnJourney li').eq(key).children('a').children('strong').text()].setVisible(true)
  9528.                     }
  9529.                     )
  9530.                 }
  9531.             }
  9532.             $(this).children('input').attr('checked',true)
  9533.         }
  9534.         )
  9535.     }
  9536.     ,updateBusMarkers:function(mapID,lineCode,direction,clear)
  9537.         {
  9538.         $.ajax(
  9539.             {
  9540.             url:globalF.projectURI+globalF.getLang()+'/buspositions/'+direction+'/'+lineCode+'/?a=1',type:'POST',timeout:10000,success:function(data)
  9541.                 {
  9542.                 myData=spleet(data).split('||');
  9543.                 myData.pop();
  9544.                 var keyadd=mapID.split('||')[1];
  9545.                 mapID=mapID.split('||')[0];
  9546.                 busType=(direction='go')?'bus':'busBack';
  9547.                 extype=(direction='go')?'busBack':'bus';
  9548.                 if(!globalF.marker[busType][mapID])
  9549.                     {
  9550.                     globalF.marker[busType][mapID]=[]
  9551.                 }
  9552.                 else
  9553.                     {
  9554.                     if(clear)
  9555.                         {
  9556.                         if(globalF.marker[busType][mapID])
  9557.                             {
  9558.                             $.each(globalF.marker[busType][mapID],function(key,value)
  9559.                                 {
  9560.                                 maps.removemarker(globalF.marker[busType][mapID][key]);
  9561.                                 if(globalF.label[mapID][key])maps.removeMarkerLabel(globalF.label[mapID][key])
  9562.                             }
  9563.                             )
  9564.                         }
  9565.                         if(globalF.marker[extype][mapID])
  9566.                             {
  9567.                             $.each(globalF.marker[extype][mapID],function(key,value)
  9568.                                 {
  9569.                                 maps.removemarker(globalF.marker[extype][mapID][key]);
  9570.                                 if(globalF.label[mapID][key])maps.removeMarkerLabel(globalF.label[mapID][key])
  9571.                             }
  9572.                             )
  9573.                         }
  9574.                     }
  9575.                 }
  9576.                 busIconsCounter=(clear)?0:busIconsCounter;
  9577.                 $.each(myData,function(key,value)
  9578.                     {
  9579.                     busDta=value.split('-');
  9580.                     var nmn=busDta[0].replace('"','');
  9581.                     maps.addmarker(mapID,busDta[2]+','+busDta[1],nmn,busIconsCounter,busType);
  9582.                     busIconsCounter++
  9583.                 }
  9584.                 )
  9585.             }
  9586.         }
  9587.         )
  9588.     }
  9589. };
  9590. var directions=
  9591.     {
  9592.     getStopNameFromCode:function(code)
  9593.         {
  9594.         $.ajax(
  9595.             {
  9596.             url:globalF.projectURI+globalF.getLang()+'/stopinfo/getname/'+code+'/?a=1',type:'POST',timeout:10000,success:function(data)
  9597.                 {
  9598.                 return data
  9599.             }
  9600.         }
  9601.         )
  9602.     }
  9603.     ,mainMenusFunctionality:function()
  9604.         {
  9605.         directions.addressFunctions();
  9606.         directions.citySpotFunctions();
  9607.         $('.bestrouteSelector h2').live('click',function()
  9608.             {
  9609.             $(this).siblings('.mylocation:hidden,.wanagoto:hidden').slideToggle(400);
  9610.             $(this).children('span').css('transform','rotate(0deg)')
  9611.         }
  9612.         );
  9613.         $('.bestrouteSelector ul li').live(
  9614.             {
  9615.             mouseenter:function()
  9616.                 {
  9617.                 $(this).stop().animate(
  9618.                     {
  9619.                     backgroundColor:((sitename=='astiko-ioannina')?'#003679':'#529BF6'),color:'#fff'
  9620.                 }
  9621.                 ,200)
  9622.             }
  9623.             ,mouseleave:function()
  9624.                 {
  9625.                 $(this).stop().animate(
  9626.                     {
  9627.                     backgroundColor:'#fff',color:'#000'
  9628.                 }
  9629.                 ,200)
  9630.             }
  9631.             ,click:function()
  9632.                 {
  9633.                 if($(this).parent('ul').hasClass('resultAddresses')||$(this).parent('ul').hasClass('poislist')||$(this).parent('ul').hasClass('selectedStop'))
  9634.                     {
  9635.                 }
  9636.                 else
  9637.                     {
  9638.                     $('.cacher:visible #submitBestRouteButton').remove();
  9639.                     var position=$(this).parent('ul').parent('div');
  9640.                     if($(position).children('#loaderImage').length>0)
  9641.                         {
  9642.                         return
  9643.                     }
  9644.                     directions.prevDataRemoval(position);
  9645.                     mainEffects.loaderStart(position);
  9646.                     switch($(this).attr('class'))
  9647.                         {
  9648.                         case'stop':directions.stopSelection(position);
  9649.                         break;
  9650.                         case'cityspot':directions.cityspot(position);
  9651.                         break;
  9652.                         case'address':directions.address(position);
  9653.                         break;
  9654.                         default:break
  9655.                     }
  9656.                 }
  9657.             }
  9658.         }
  9659.         );
  9660.         $('.instructions li').live(
  9661.             {
  9662.             mouseenter:function()
  9663.                 {
  9664.                 $(this).css(
  9665.                     {
  9666.                     backgroundColor:'#eeca02'
  9667.                 }
  9668.                 )
  9669.             }
  9670.             ,mouseleave:function()
  9671.                 {
  9672.                 if($(this).hasClass('selected'))
  9673.                     {
  9674.                     $(this).css(
  9675.                         {
  9676.                         backgroundColor:((sitename=='astiko-ioannina')?'#003679':'#529BF6')
  9677.                     }
  9678.                     )
  9679.                 }
  9680.                 else
  9681.                     {
  9682.                     $(this).css(
  9683.                         {
  9684.                         backgroundColor:'#fff'
  9685.                     }
  9686.                     )
  9687.                 }
  9688.             }
  9689.             ,click:function()
  9690.                 {
  9691.                 $(this).siblings().css(
  9692.                     {
  9693.                     'background-color':'#fff','color':'#000'
  9694.                 }
  9695.                 ).removeClass('selected');
  9696.                 $(this).css(
  9697.                     {
  9698.                     'background-color':((sitename=='astiko-ioannina')?'#003679':'#529BF6'),'color':'#fff'
  9699.                 }
  9700.                 ).addClass('selected');
  9701.                 maps.directions($('.cacher:visible .howtogowhere').attr('id'),$(this).children('.goFrom').text(),$(this).children('.goTo').text(),$(this).attr('class'))
  9702.             }
  9703.         }
  9704.         );
  9705.         $('.meterswalk').live(
  9706.             {
  9707.             keydown:function(event)
  9708.                 {
  9709.                 if(event.keyCode==46||event.keyCode==8||event.keyCode==9||event.keyCode==27||event.keyCode==13||(event.keyCode==65&&event.ctrlKey===true)||(event.keyCode>=35&&event.keyCode<=39))
  9710.                     {
  9711.                     return
  9712.                 }
  9713.                 else
  9714.                     {
  9715.                     if(event.shiftKey||(event.keyCode<48||event.keyCode>57)&&(event.keyCode<96||event.keyCode>105))
  9716.                         {
  9717.                         event.preventDefault()
  9718.                     }
  9719.                 }
  9720.             }
  9721.             ,keyup:function()
  9722.                 {
  9723.                 directions.checkSubmitButtonStatus()
  9724.             }
  9725.         }
  9726.         );
  9727.         $('#hours').live('change',function()
  9728.             {
  9729.             directions.checkSubmitButtonStatus()
  9730.         }
  9731.         );
  9732.         $('.findByAddress ul li').live(
  9733.             {
  9734.             click:function()
  9735.                 {
  9736.                 var loctn=$(this).children('loc').text().split('-');
  9737.                 if(loctn.length>1)
  9738.                     {
  9739.                     $('.addressSelectMessage,.stopSelectMessage').css(
  9740.                         {
  9741.                         'display':'none'
  9742.                     }
  9743.                     );
  9744.                     $('.findByAddress .resultAddresses').remove();
  9745.                     $.ajax(
  9746.                         {
  9747.                         url:globalF.projectURI+globalF.getLang()+'/stopinfo/nearadress/'+loctn[1]+'/'+loctn[0]+'/?a=1',type:'POST',timeout:10000,success:function(data)
  9748.                             {
  9749.                             $('.findByAddress').append(data);
  9750.                             $('.stopSelectMessage').fadeIn(500)
  9751.                         }
  9752.                     }
  9753.                     )
  9754.                 }
  9755.                 else
  9756.                     {
  9757.                     $('.addressSelectMessage').css(
  9758.                         {
  9759.                         'display':'none'
  9760.                     }
  9761.                     )
  9762.                 }
  9763.             }
  9764.             ,mouseenter:function()
  9765.                 {
  9766.                 $(this).css(
  9767.                     {
  9768.                     'background-color':'#FDBF19','color':'#fff'
  9769.                 }
  9770.                 );
  9771.                 $(this).children('a').css(
  9772.                     {
  9773.                     'color':'#fff'
  9774.                 }
  9775.                 )
  9776.             }
  9777.             ,mouseleave:function()
  9778.                 {
  9779.                 $(this).css(
  9780.                     {
  9781.                     'background-color':'#fff','color':'#000'
  9782.                 }
  9783.                 );
  9784.                 $(this).children('a').css(
  9785.                     {
  9786.                     'color':'#000'
  9787.                 }
  9788.                 )
  9789.             }
  9790.         }
  9791.         )
  9792.     }
  9793.     ,citySpotFunctions:function()
  9794.         {
  9795.         $('.pointtype,.dhmos').live('change',function()
  9796.             {
  9797.             var parentElement=$(this).parents('.bestrouteSelector');
  9798.             var dimos=0;
  9799.             var point=0;
  9800.             point=$(this).parent('.bidgetContainer').children('.pointtype').children('option:selected').val();
  9801.             dimos=$(this).parent('.bidgetContainer').children('.dhmos').children('option:selected').val();
  9802.             mainEffects.loaderStart(parentElement);
  9803.             parentElement.children('.bidgetContainer').children('.selectPointAc').remove();
  9804.             $.ajax(
  9805.                 {
  9806.                 url:globalF.projectURI+globalF.getLang()+'/bestroute/interestpoint/'+point+'/'+((dimos)?dimos:0)+'/?a=1',type:'POST',timeout:10000,success:function(data)
  9807.                     {
  9808.                     mainEffects.loaderFinish();
  9809.                     parentElement.children('.bidgetContainer').children('.poislist').remove();
  9810.                     $(parentElement).children('.bidgetContainer').append(data)
  9811.                 }
  9812.             }
  9813.             )
  9814.         }
  9815.         );
  9816.         $('.poislist li').live('click',function()
  9817.             {
  9818.             $(this).siblings().remove();
  9819.             $(this).parent('ul').siblings().remove();
  9820.             directions.checkSubmitButtonStatus();
  9821.             $(this).parent('ul').parent('.bidgetContainer').siblings('.mylocation:visible,.wanagoto:visible').slideToggle(400);
  9822.             $(this).parent('ul').parent('.bidgetContainer').siblings('h2').children('span').css('transform','rotate(90deg)').animate(
  9823.                 {
  9824.                 fontSize:'3em',height:'50px',width:'50px','lineHeight':'32px',top:'-7px'
  9825.             }
  9826.             ,1500,"easeOutBounce").animate(
  9827.                 {
  9828.                 fontSize:'43px',height:'30px',width:'30px','lineHeight':'20px',top:'2px'
  9829.             }
  9830.             ,3000,"easeOutCubic");
  9831.             $("html, body").animate(
  9832.                 {
  9833.                 scrollTop:0
  9834.             }
  9835.             ,400)
  9836.         }
  9837.         )
  9838.     }
  9839.     ,submitRequestAddr:function(input,position)
  9840.         {
  9841.         geocoderCUST=new google.maps.Geocoder();
  9842.         var boundsSrch=new google.maps.LatLngBounds();
  9843.         if(sitename=='astiko-ioannina')
  9844.             {
  9845.             boundsSrch.extend(new google.maps.LatLng("39.749279","20.7020102"));
  9846.             boundsSrch.extend(new google.maps.LatLng("39.5504925","21.0142622"));
  9847.             if($.inArray(input,$('#exps').attr('ex').split(','))>0)
  9848.                 {
  9849.                 input='Ioannou Vilara'
  9850.             }
  9851.         }
  9852.         else if(sitename=='astiko-irakleiou')
  9853.             {
  9854.             boundsSrch.extend(new google.maps.LatLng("35.4882734","24.6603037"));
  9855.             boundsSrch.extend(new google.maps.LatLng("34.9852077","25.6250406"))
  9856.         }
  9857.         else
  9858.             {
  9859.             boundsSrch.extend(new google.maps.LatLng("41.0178479","22.5081966"));
  9860.             boundsSrch.extend(new google.maps.LatLng("40.3800332","23.7501636"))
  9861.         }
  9862.         geocoderCUST.geocode(
  9863.             {
  9864.             address:input,bounds:boundsSrch,region:'GR',language:'el'
  9865.         }
  9866.         ,function(results,status)
  9867.             {
  9868.             data='<ul class="resultAddresses">';
  9869.             if(status==google.maps.GeocoderStatus.OK)
  9870.                 {
  9871.                 $.each(results,function(key,valuee)
  9872.                     {
  9873.                     coorsds=String(valuee.geometry.location).split(/[\s(),]+/);
  9874.                     data+='<li><loc>'+coorsds[2]+'-'+coorsds[1]+'</loc>'+valuee.formatted_address+'</li>'
  9875.                 }
  9876.                 )
  9877.             }
  9878.             else
  9879.                 {
  9880.                 data+='&Delta;
  9881.                 &epsilon;
  9882.                 &nu;
  9883.                  &beta;
  9884.                 &rho;
  9885.                 &epsilon;
  9886.                 &theta;
  9887.                 &eta;
  9888.                 &kappa;
  9889.                 &epsilon;
  9890.                  &alpha;
  9891.                 &pi;
  9892.                 &omicron;
  9893.                 &tau;
  9894.                 &epsilon;
  9895.                 &lambda;
  9896.                 &epsilon;
  9897.                 &sigma;
  9898.                 &mu;
  9899.                 &alpha;
  9900.                  &mu;
  9901.                 &epsilon;
  9902.                  &tau;
  9903.                 &alpha;
  9904.                  &kappa;
  9905.                 &rho;
  9906.                 &iota;
  9907.                 &tau;
  9908.                 &eta;
  9909.                 &rho;
  9910.                 &iota;
  9911.                 &alpha;
  9912.                  &pi;
  9913.                 &omicron;
  9914.                 &upsilon;
  9915.                  &kappa;
  9916.                 &alpha;
  9917.                 &tau;
  9918.                 &alpha;
  9919.                 &chi;
  9920.                 &omega;
  9921.                 &rho;
  9922.                 &eta;
  9923.                 &sigma;
  9924.                 &alpha;
  9925.                 &tau;
  9926.                 &epsilon;
  9927.                 . &Pi;
  9928.                 &alpha;
  9929.                 &rho;
  9930.                 &alpha;
  9931.                 &kappa;
  9932.                 &alpha;
  9933.                 &lambda;
  9934.                 &omicron;
  9935.                 &upsilon;
  9936.                 &mu;
  9937.                 &epsilon;
  9938.                  &epsilon;
  9939.                 &pi;
  9940.                 &alpha;
  9941.                 &nu;
  9942.                 &alpha;
  9943.                 &lambda;
  9944.                 &alpha;
  9945.                 &beta;
  9946.                 &epsilon;
  9947.                 &tau;
  9948.                 &epsilon;
  9949.                  &tau;
  9950.                 &eta;
  9951.                 &nu;
  9952.                  &alpha;
  9953.                 &nu;
  9954.                 &alpha;
  9955.                 &zeta;
  9956.                 &eta;
  9957.                 &tau;
  9958.                 &eta;
  9959.                 &sigma;
  9960.                 &eta;
  9961.                  &mu;
  9962.                 &epsilon;
  9963.                  &delta;
  9964.                 &iota;
  9965.                 &alpha;
  9966.                 &phi;
  9967.                 &omicron;
  9968.                 &rho;
  9969.                 &epsilon;
  9970.                 &tau;
  9971.                 &iota;
  9972.                 &kappa;
  9973.                 &alpha;
  9974.                  &kappa;
  9975.                 &rho;
  9976.                 &iota;
  9977.                 &tau;
  9978.                 &eta;
  9979.                 &rho;
  9980.                 &iota;
  9981.                 &alpha;
  9982.                 .</p></li>'
  9983.             }
  9984.             data+='</ul>';
  9985.             mainEffects.loaderFinish();
  9986.             $(position).append(data);
  9987.             data=''
  9988.         }
  9989.         )
  9990.     }
  9991.     ,addressFunctions:function()
  9992.         {
  9993.         $('.addrInfoFormWidget .submitButton').live('click',function()
  9994.             {
  9995.             $(this).parent('.bidgetContainer').siblings('.error').remove();
  9996.             var position=$(this).parents('.bestrouteSelector');
  9997.             mainEffects.loaderStart(position);
  9998.             $(this).parent('.bidgetContainer').siblings('.resultAddresses').remove();
  9999.             selectedStop=$(this).siblings('.addressInsert').val();
  10000.             if(selectedStop.length>0)
  10001.                 {
  10002.                 directions.submitRequestAddr(selectedStop,position)
  10003.             }
  10004.             else
  10005.                 {
  10006.                 mainEffects.loaderFinish();
  10007.                 $(this).siblings('.addressInsert').animate(
  10008.                     {
  10009.                     borderColor:'#eeca02',backgroundColor:'#eeca02',color:'#fff'
  10010.                 }
  10011.                 ,400)
  10012.             }
  10013.         }
  10014.         );
  10015.         $('.addrInfoFormWidget .addressInsert').live(
  10016.             {
  10017.             keydown:function(event)
  10018.                 {
  10019.                 $(this).animate(
  10020.                     {
  10021.                     borderColor:'#CCCCCC',backgroundColor:'#FAFAFA',color:'#000'
  10022.                 }
  10023.                 ,400);
  10024.                 if(event.keyCode==13)
  10025.                     {
  10026.                     $(this).siblings('.submitButton').trigger('click')
  10027.                 }
  10028.             }
  10029.             ,focus:function()
  10030.                 {
  10031.                 $(this).animate(
  10032.                     {
  10033.                     borderColor:'#CCCCCC',backgroundColor:'#FAFAFA',color:'#000'
  10034.                 }
  10035.                 ,400)
  10036.             }
  10037.         }
  10038.         );
  10039.         $('.cacher .resultAddresses li').live('click',function()
  10040.             {
  10041.             $(this).siblings().remove();
  10042.             $(this).parent('ul').siblings('.error,.bidgetContainer').remove();
  10043.             directions.checkSubmitButtonStatus();
  10044.             $(this).parent('ul').siblings('.mylocation:visible,.wanagoto:visible').slideToggle(400);
  10045.             $(this).parent('ul').siblings('h2').children('span').css('transform','rotate(90deg)').animate(
  10046.                 {
  10047.                 fontSize:'3em',height:'50px',width:'50px','lineHeight':'32px',top:'-7px'
  10048.             }
  10049.             ,1500,"easeOutBounce").animate(
  10050.                 {
  10051.                 fontSize:'43px',height:'30px',width:'30px','lineHeight':'20px',top:'2px'
  10052.             }
  10053.             ,3000,"easeOutCubic");
  10054.             $("html, body").animate(
  10055.                 {
  10056.                 scrollTop:0
  10057.             }
  10058.             ,400)
  10059.         }
  10060.         )
  10061.     }
  10062.     ,stopSelection:function(position)
  10063.         {
  10064.         $.ajax(
  10065.             {
  10066.             url:globalF.projectURI+globalF.getLang()+'/bestroute/stop/?a=1',type:'POST',timeout:10000,success:function(data)
  10067.                 {
  10068.                 mainEffects.loaderFinish();
  10069.                 directions.prevDataRemoval(position);
  10070.                 $(position).append(data)
  10071.             }
  10072.         }
  10073.         )
  10074.     }
  10075.     ,cityspot:function(position)
  10076.         {
  10077.         $.ajax(
  10078.             {
  10079.             url:globalF.projectURI+globalF.getLang()+'/bestroute/interestpoint/?a=1',type:'POST',timeout:10000,success:function(data)
  10080.                 {
  10081.                 mainEffects.loaderFinish();
  10082.                 directions.prevDataRemoval(position);
  10083.                 $(position).append(data)
  10084.             }
  10085.         }
  10086.         )
  10087.     }
  10088.     ,address:function(position)
  10089.         {
  10090.         $.ajax(
  10091.             {
  10092.             url:globalF.projectURI+globalF.getLang()+'/bestroute/address/?a=1',type:'POST',timeout:10000,success:function(data)
  10093.                 {
  10094.                 mainEffects.loaderFinish();
  10095.                 directions.prevDataRemoval(position);
  10096.                 $(position).append(data)
  10097.             }
  10098.         }
  10099.         )
  10100.     }
  10101.     ,prevDataRemoval:function(position)
  10102.         {
  10103.         if($(position).children('.bidgetContainer').length>0)
  10104.             {
  10105.             $(position).children('.bidgetContainer').remove()
  10106.         }
  10107.         if($(position).children('.resultAddresses').length>0)
  10108.             {
  10109.             $(position).children('.resultAddresses').remove()
  10110.         }
  10111.         if($(position).children('.selectedStop').length>0)
  10112.             {
  10113.             $(position).children('.selectedStop').remove()
  10114.         }
  10115.     }
  10116.     ,checkSubmitButtonStatus:function()
  10117.         {
  10118.         var addrFrom=false;
  10119.         var addrTo=false;
  10120.         var n1=false;
  10121.         var n2=false;
  10122.         var meterswalk=300;
  10123.         var type=0;
  10124.         if($('.fromselector').children('.resultAddresses').length>0)
  10125.             {
  10126.             if($('.fromselector').children('.resultAddresses').children('li').length==1)
  10127.                 {
  10128.                 var addrFrom=$('.fromselector').children('.resultAddresses').children('li').children('loc').text();
  10129.                 n1=3
  10130.             }
  10131.         }
  10132.         if($('.toselector').children('.resultAddresses').length>0)
  10133.             {
  10134.             if($('.toselector').children('.resultAddresses').children('li').length==1)
  10135.                 {
  10136.                 var addrTo=$('.toselector').children('.resultAddresses').children('li').children('loc').text();
  10137.                 n2=3
  10138.             }
  10139.         }
  10140.         var pointFrom=false;
  10141.         var pointTo=false;
  10142.         if($('.fromselector').children('.poiInfoFormWidget').children('.poislist').length>0)
  10143.             {
  10144.             if($('.fromselector').children('.poiInfoFormWidget').children('.poislist').children('li').length==1)
  10145.                 {
  10146.                 var pointFrom=$('.fromselector').children('.poiInfoFormWidget').children('.poislist').children('li').attr('id');
  10147.                 n1=2
  10148.             }
  10149.         }
  10150.         if($('.toselector').children('.poiInfoFormWidget').children('.poislist').length>0)
  10151.             {
  10152.             if($('.toselector').children('.poiInfoFormWidget').children('.poislist').children('li').length==1)
  10153.                 {
  10154.                 var pointTo=$('.toselector').children('.poiInfoFormWidget').children('.poislist').children('li').attr('id');
  10155.                 n2=2
  10156.             }
  10157.         }
  10158.         var stopFrom=false;
  10159.         var stopTo=false;
  10160.         if($('.fromselector').children('.selectedStop').length>0)
  10161.             {
  10162.             var stopFrom=$('.fromselector').children('.selectedStop').children('li').attr('id');
  10163.             n1=1
  10164.         }
  10165.         if($('.toselector').children('.selectedStop').length>0)
  10166.             {
  10167.             var stopTo=$('.toselector').children('.selectedStop').children('li').attr('id');
  10168.             n2=1
  10169.         }
  10170.         $('.cacher:visible #submitBestRouteButton').remove();
  10171.         if((addrFrom||pointFrom||stopFrom)&&(addrTo||pointTo||stopTo))
  10172.             {
  10173.             if(addrFrom)
  10174.                 {
  10175.                 fromP=addrFrom
  10176.             }
  10177.             else if(pointFrom)
  10178.                 {
  10179.                 fromP=pointFrom
  10180.             }
  10181.             else if(stopFrom)
  10182.                 {
  10183.                 fromP=stopFrom
  10184.             }
  10185.             if(addrTo)
  10186.                 {
  10187.                 toP=addrTo
  10188.             }
  10189.             else if(pointTo)
  10190.                 {
  10191.                 toP=pointTo
  10192.             }
  10193.             else if(stopTo)
  10194.                 {
  10195.                 toP=stopTo
  10196.             }
  10197.             meterswalk=($('.meterswalk').val()=='')?0:$('.meterswalk').val();
  10198.             type=($('#hours').children('option:selected').val());
  10199.             fromP=fromP.replace('/','');
  10200.             toP=toP.replace('/','');
  10201.             $('.cacher:visible').append('<a id="submitBestRouteButton" style="display:none;
  10202.             " href="'+globalF.projectURI+globalF.getLang()+'/bestroute/showresult/'+n1+''+n2+'/'+fromP+'/'+toP+'/'+meterswalk+'/'+type+'/">- <span></span> -</a>');
  10203.             $('.cacher:visible #submitBestRouteButton').fadeIn(500)
  10204.         }
  10205.     }
  10206. };
  10207. var print=
  10208.     {
  10209.     element:function()
  10210.         {
  10211.         $('.printPage').live('click',function()
  10212.             {
  10213.             $('.cacher:visible').printElement()
  10214.         }
  10215.         )
  10216.     }
  10217. };
  10218. var widgets=
  10219.     {
  10220.     general:function()
  10221.         {
  10222.         $('#widgetsArea .bidget h3').live('click',function()
  10223.             {
  10224.             $(this).siblings('.bidgetContainer').stop().slideToggle(500,'easeOutExpo')
  10225.         }
  10226.         )
  10227.     }
  10228.     ,dromologia:function()
  10229.         {
  10230.         $('.busRoutesWidget .busNumSelectForRoutesWidget').live('change',function()
  10231.             {
  10232.             selectedBus=$(this).val();
  10233.             if($(this).val()==0)return false;
  10234.             var add=($(this).children('option:selected').hasClass('is_complex'))?'masterinfo':'routeinfo';
  10235.             urlF=globalF.getLang()+'/'+add+'/list/'+selectedBus;
  10236.             location.hash=urlF;
  10237.             add=true;
  10238.             $('.bidgetContainer').children('.brItem').each(function()
  10239.                 {
  10240.                 if($(this).children('a').children('span').attr('sb')==selectedBus)
  10241.                     {
  10242.                     add=false
  10243.                 }
  10244.             }
  10245.             );
  10246.             if(add)
  10247.                 {
  10248.                 selBus=$(this).children('option:selected').text().split(':')[0];
  10249.                 locToGo=(selectedBus.split('/').length>3)?'routeinfo':'masterinfo';
  10250.                 var width='';
  10251.                 if(selBus.length>2)
  10252.                     {
  10253.                     width='width: 85px;
  10254.                     '
  10255.                 }
  10256.                 $('.busRoutesWidget').children('label:first').before('<span class="brItem"><a style="position:relative;
  10257.                 " href="'+globalF.projectURI+globalF.getLang()+'/'+locToGo+'/list/'+selectedBus+'"><span style="opacity:0;
  10258.                 top:10px;
  10259.                 left:-10px;
  10260.                 '+width+'" class="toAnim busNumberContainer" sb="'+selectedBus+'">'+selBus+'</span></a><span class="delRouteWidgetItem">X</span></span>');
  10261.                 $('.busRoutesWidget .toAnim').animate(
  10262.                     {
  10263.                     'top':'0px','left':'0px','opacity':'1'
  10264.                 }
  10265.                 ,1500,'easeOutElastic').removeClass('toAnim');
  10266.                 widgets.dromologiaUpdates(selBus,selectedBus,'add')
  10267.             }
  10268.         }
  10269.         );
  10270.         $('.brItem').live(
  10271.             {
  10272.             mouseenter:function()
  10273.                 {
  10274.                 $(this).children('.delRouteWidgetItem').css('display','block').stop().animate(
  10275.                     {
  10276.                     'top':'-5px','right':'-5px'
  10277.                 }
  10278.                 ,500,'easeOutElastic')
  10279.             }
  10280.             ,mouseleave:function()
  10281.                 {
  10282.                 $(this).children('.delRouteWidgetItem').stop().animate(
  10283.                     {
  10284.                     'top':'18px','right':'17px'
  10285.                 }
  10286.                 ,1000,'easeInBack')
  10287.             }
  10288.         }
  10289.         );
  10290.         $('.delRouteWidgetItem').live('click',function()
  10291.             {
  10292.             selBus=$(this).siblings('a').children('.busNumberContainer').text();
  10293.             selectedBus=$(this).siblings('a').children('.busNumberContainer').attr('sb');
  10294.             $(this).parent('.brItem').fadeOut('300',function()
  10295.                 {
  10296.                 $(this).remove()
  10297.             }
  10298.             );
  10299.             widgets.dromologiaUpdates(selBus,selectedBus,'remove')
  10300.         }
  10301.         )
  10302.     }
  10303.     ,dromologiaUpdates:function(busCode,lineCodeMlCode,action)
  10304.         {
  10305.         $.ajax(
  10306.             {
  10307.             url:globalF.projectURI,type:'POST',timeout:10000,data:(
  10308.                 {
  10309.                 cookie:1,type:'line',action:action,busCode:busCode,linecodeMlCode:lineCodeMlCode
  10310.             }
  10311.             ),success:function(data)
  10312.                 {
  10313.             }
  10314.         }
  10315.         )
  10316.     }
  10317.     ,updateBusArrivalTimes:function()
  10318.         {
  10319.         if($('.cacher:visible .stopCode').length>0)
  10320.             {
  10321.             $.ajax(
  10322.                 {
  10323.                 url:globalF.projectURI+globalF.getLang()+'/stopinfo/updateArrivals/'+$('.cacher:visible .stopCode').text()+'/?a=1',type:'POST',timeout:10000,success:function(data)
  10324.                     {
  10325.                     $('.cacher:visible .arivals').parent('.widget').html(spleet(data))
  10326.                 }
  10327.             }
  10328.             )
  10329.         }
  10330.     }
  10331.     ,stopInfo:function()
  10332.         {
  10333.         $('.stopInfoFormWidget .busNumSelectForRoutesWidget').live('change',function()
  10334.             {
  10335.             selectedBus=$(this);
  10336.             if($(this).parents('#widgetsArea').length<1)
  10337.                 {
  10338.                 exception=true;
  10339.                 container=($(this).parents('div').hasClass('fromselector'))?$('.cacher:visible').children('.fromselector'):$('.cacher:visible').children('.toselector')
  10340.             }
  10341.             else
  10342.                 {
  10343.                 exception=false;
  10344.                 container=false
  10345.             }
  10346.             widgets.stopInfoRequests(selectedBus,null,1,exception,container)
  10347.         }
  10348.         );
  10349.         $('.stopInfoFormWidget .goes').live('change',function()
  10350.             {
  10351.             selectedKat=$(this);
  10352.             if($(this).parents('#widgetsArea').length<1)
  10353.                 {
  10354.                 exception=true;
  10355.                 container=($(this).parents('div').hasClass('fromselector'))?$('.cacher:visible').children('.fromselector'):$('.cacher:visible').children('.toselector')
  10356.             }
  10357.             else
  10358.                 {
  10359.                 exception=false;
  10360.                 container=false
  10361.             }
  10362.             if(exception)
  10363.                 {
  10364.                 selectedBus=$(container).children('.stopInfoFormWidget').children('.busNumSelectForRoutesWidget').children('option:selected')
  10365.             }
  10366.             else
  10367.                 {
  10368.                 selectedBus=$('#widgetsArea .stopInfoFormWidget .busNumSelectForRoutesWidget option:selected')
  10369.             }
  10370.             widgets.stopInfoRequests(selectedBus,selectedKat,2,exception,container)
  10371.         }
  10372.         );
  10373.         $('.stopInfoFormWidget .stop').live('change',function()
  10374.             {
  10375.             globalF.lastSelectedStop=selectedStop=$(this);
  10376.             exception=($(this).parents('#widgetsArea').length<1)?true:false;
  10377.             container=($(this).parents('div').hasClass('fromselector'))?$('.cacher:visible').children('.fromselector'):$('.cacher:visible').children('.toselector');
  10378.             widgets.stopInfoRequests(selectedStop,null,3,exception,container)
  10379.         }
  10380.         );
  10381.         $('.stopInfoLink').live(
  10382.             {
  10383.             mouseenter:function()
  10384.                 {
  10385.                 $(this).children('.stopInfoDeleteButton').stop().animate(
  10386.                     {
  10387.                     opacity:1
  10388.                 }
  10389.                 ,300)
  10390.             }
  10391.             ,mouseleave:function()
  10392.                 {
  10393.                 $(this).children('.stopInfoDeleteButton').stop().animate(
  10394.                     {
  10395.                     opacity:0
  10396.                 }
  10397.                 ,2000)
  10398.             }
  10399.         }
  10400.         );
  10401.         $('.stopInfoDeleteButton').live('click',function()
  10402.             {
  10403.             widgets.stopUpdates($(this).parent('a').attr('class').split('c')[1],'','remove');
  10404.             $(this).parent('.stopInfoLink').fadeOut(300,function()
  10405.                 {
  10406.                 $(this).remove()
  10407.             }
  10408.             );
  10409.             return false
  10410.         }
  10411.         );
  10412.         $('.stopInfoFormWidget .stopCodeInsert').live('focus',function()
  10413.             {
  10414.             $(this).animate(
  10415.                 {
  10416.                 borderColor:'#CCCCCC',backgroundColor:'#FAFAFA',color:'#000'
  10417.             }
  10418.             ,400)
  10419.         }
  10420.         );
  10421.         $('.stopInfoFormWidget .stopCodeInsert').live(
  10422.             {
  10423.             focus:function()
  10424.                 {
  10425.                 $(this).animate(
  10426.                     {
  10427.                     borderColor:'#CCCCCC',backgroundColor:'#FAFAFA',color:'#000'
  10428.                 }
  10429.                 ,400)
  10430.             }
  10431.             ,blur:function()
  10432.                 {
  10433.             }
  10434.         }
  10435.         );
  10436.         $('.stopInfoFormWidget .stopCodeInsert').live('keydown',function(event)
  10437.             {
  10438.             $(this).css(
  10439.                 {
  10440.                 borderColor:'#CCCCCC',backgroundColor:'#FAFAFA',color:'#000'
  10441.             }
  10442.             );
  10443.             if(event.keyCode==46||event.keyCode==8||event.keyCode==9||event.keyCode==27||event.keyCode==13||(event.keyCode==65&&event.ctrlKey===true)||(event.keyCode>=35&&event.keyCode<=39))
  10444.                 {
  10445.                 if(event.keyCode==13)
  10446.                     {
  10447.                     $('.stopInfoFormWidget .submitButton').trigger('click')
  10448.                 }
  10449.                 return
  10450.             }
  10451.             else
  10452.                 {
  10453.                 if(event.shiftKey||(event.keyCode<48||event.keyCode>57)&&(event.keyCode<96||event.keyCode>105))
  10454.                     {
  10455.                     event.preventDefault()
  10456.                 }
  10457.             }
  10458.         }
  10459.         );
  10460.         $('.addressInsert').live('keyup',function(event)
  10461.             {
  10462.             if(event.keyCode==13)
  10463.                 {
  10464.                 $('.stopInfoFormWidget .submitButton').trigger('click')
  10465.             }
  10466.         }
  10467.         );
  10468.         $('.stopInfoFormWidget .submitButton').live('click',function()
  10469.             {
  10470.             if($(this).hasClass('addressFinder'))
  10471.                 {
  10472.                 selectedStop=$(this).siblings('.addressInsert');
  10473.                 $('.addressSelectMessage,.stopSelectMessage').css(
  10474.                     {
  10475.                     'display':'none'
  10476.                 }
  10477.                 );
  10478.                 if(selectedStop.val().length>2)
  10479.                     {
  10480.                     selectedStop.css(
  10481.                         {
  10482.                         borderColor:'#CCCCCC',backgroundColor:'#FAFAFA',color:'#000'
  10483.                     }
  10484.                     );
  10485.                     $('.findByAddress .resultAddresses').remove();
  10486.                     $('.addressSelectMessage').fadeIn(500);
  10487.                     directions.submitRequestAddr(selectedStop.val(),$('.findByAddress'))
  10488.                 }
  10489.                 else
  10490.                     {
  10491.                     selectedStop.animate(
  10492.                         {
  10493.                         borderColor:'#eeca02',backgroundColor:'#eeca02',color:'#fff'
  10494.                     }
  10495.                     ,400);
  10496.                     return false
  10497.                 }
  10498.             }
  10499.             else
  10500.                 {
  10501.                 selectedStop=$(this).siblings('.stopCodeInsert');
  10502.                 if(selectedStop.val().length>2&&selectedStop.val().length<6)
  10503.                     {
  10504.                     globalF.lastSelectedStop=selectedStop
  10505.                 }
  10506.                 else
  10507.                     {
  10508.                     selectedStop.animate(
  10509.                         {
  10510.                         borderColor:'#eeca02',backgroundColor:'#eeca02',color:'#fff'
  10511.                     }
  10512.                     ,400);
  10513.                     return false
  10514.                 }
  10515.                 if($(this).parents('.bestrouteSelector').attr('class'))
  10516.                     {
  10517.                     var b=$(this).parents('.bestrouteSelector').attr('class').split('bestrouteSelector ');
  10518.                     var thisBhere=$(this);
  10519.                     $.ajax(
  10520.                         {
  10521.                         url:globalF.projectURI+globalF.getLang()+'/stopinfo/getname/'+selectedStop.val()+'/?a=1',type:'POST',timeout:10000,success:function(data)
  10522.                             {
  10523.                             if(data.length<2)
  10524.                                 {
  10525.                                 return false
  10526.                             }
  10527.                             container=(thisBhere.parents('div').hasClass('fromselector'))?$('.cacher:visible').children('.fromselector'):$('.cacher:visible').children('.toselector');
  10528.                             widgets.stopInfoRequests(data,null,3,true,container,selectedStop.val())
  10529.                         }
  10530.                     }
  10531.                     )
  10532.                 }
  10533.                 else
  10534.                     {
  10535.                     location.hash=globalF.getLang()+'/stopinfo/screen/'+selectedStop.val()+'/'
  10536.                 }
  10537.             }
  10538.         }
  10539.         );
  10540.         $('.routeDirection .goes').live('change',function()
  10541.             {
  10542.             if($(this).val()=='a')
  10543.                 {
  10544.                 var adddata='<select class="stopSelected stopFrom" name="stopFrom"><option value="0">-</option>';
  10545.                 $('.cacher:visible .scheduleListContainer .outwardJourney li').each(function()
  10546.                     {
  10547.                     adddata+='<option value="'+$(this).children('a').children('strong').text()+'">'+$(this).text()+'</option>'
  10548.                 }
  10549.                 );
  10550.                 adddata+='</select>'
  10551.             }
  10552.             else if($(this).val()=='b')
  10553.                 {
  10554.                 var adddata='<select class="stopSelected stopTo" name="stopTo"><option value="0">-</option>';
  10555.                 $('.cacher:visible .scheduleListContainer .returnJourney li').each(function()
  10556.                     {
  10557.                     adddata+='<option value="'+$(this).children('a').children('strong').text()+'">'+$(this).text()+'</option>'
  10558.                 }
  10559.                 );
  10560.                 adddata+='</select>'
  10561.             }
  10562.             else
  10563.                 {
  10564.                 var adddata='<select class="stopSelected stopTo" name="stopTo"><option value="0">-</option>';
  10565.                 $('.routebox .poly.'+$(this).val()).siblings('ul.outwardJourney').children('li').each(function()
  10566.                     {
  10567.                     adddata+='<option value="'+$(this).children('a').children('strong').text()+'">'+$(this).text()+'</option>'
  10568.                 }
  10569.                 );
  10570.                 adddata+='</select>'
  10571.             }
  10572.             $('.cacher:visible .stopfrom,.stopto').animate(
  10573.                 {
  10574.                 'opacity':'1'
  10575.             }
  10576.             ,500);
  10577.             $('.cacher:visible .stopfrom,.stopto').children('select').remove();
  10578.             $('.cacher:visible .stopfrom,.stopto').append(adddata)
  10579.         }
  10580.         );
  10581.         $('.stopSelected').live('change',function()
  10582.             {
  10583.             $('.cacher:visible .results').remove();
  10584.             if($(this).parent('div').hasClass('stopfrom'))
  10585.                 {
  10586.                 selectedStop=$(this).val();
  10587.                 $('.cacher:visible .stopto .stopSelected option').each(function()
  10588.                     {
  10589.                     $(this).removeAttr("disabled")
  10590.                 }
  10591.                 );
  10592.                 $('.cacher:visible .stopto .stopSelected option').each(function()
  10593.                     {
  10594.                     if($(this).val()==selectedStop)
  10595.                         {
  10596.                         $(this).attr("disabled","disabled");
  10597.                         $(this).prevAll().attr("disabled","disabled")
  10598.                     }
  10599.                 }
  10600.                 )
  10601.             }
  10602.             else if($(this).parent('div').hasClass('stopto'))
  10603.                 {
  10604.                 selectedStop=$(this).val();
  10605.                 $('.cacher:visible .stopfrom .stopSelected option').each(function()
  10606.                     {
  10607.                     $(this).removeAttr("disabled")
  10608.                 }
  10609.                 );
  10610.                 $('.cacher:visible .stopfrom .stopSelected option').each(function()
  10611.                     {
  10612.                     if($(this).val()==selectedStop)
  10613.                         {
  10614.                         $(this).attr("disabled","disabled");
  10615.                         $(this).nextAll().attr("disabled","disabled")
  10616.                     }
  10617.                 }
  10618.                 )
  10619.             }
  10620.             if($('.cacher:visible .stopfrom .stopSelected option:selected').val()!=0&&$('.cacher:visible .stopto .stopSelected option:selected').val()!=0)
  10621.                 {
  10622.                 $('.cacher:visible .routeEstimationBtn').css(
  10623.                     {
  10624.                     'display':'block'
  10625.                 }
  10626.                 )
  10627.             }
  10628.             else
  10629.                 {
  10630.                 $('.cacher:visible .routeEstimationBtn').css(
  10631.                     {
  10632.                     'display':'none'
  10633.                 }
  10634.                 )
  10635.             }
  10636.         }
  10637.         );
  10638.         $('.field').live('change',function()
  10639.             {
  10640.             if($('.cacher:visible .stopfrom .stopSelected option:selected').val()!=0&&$('.cacher:visible .stopto .stopSelected option:selected').val()!=0)
  10641.                 {
  10642.                 $('.cacher:visible .routeEstimationBtn').css(
  10643.                     {
  10644.                     'display':'block'
  10645.                 }
  10646.                 )
  10647.             }
  10648.             else
  10649.                 {
  10650.                 $('.cacher:visible .routeEstimationBtn').css(
  10651.                     {
  10652.                     'display':'none'
  10653.                 }
  10654.                 )
  10655.             }
  10656.         }
  10657.         );
  10658.         $('.routeEstimationBtn').live(
  10659.             {
  10660.             click:function()
  10661.                 {
  10662.                 $(this).css(
  10663.                     {
  10664.                     'display':'none'
  10665.                 }
  10666.                 );
  10667.                 mainEffects.loaderStart($('.cacher:visible .routeEstimationContainer'));
  10668.                 $.ajax(
  10669.                     {
  10670.                     url:globalF.projectURI+globalF.getLang()+'/routeinfo/estimation/'+$('.cacher:visible .goes option:selected').val()+'/'+$('.cacher:visible .stopfrom .stopSelected option:selected').val()+'/'+$('.cacher:visible .stopto .stopSelected option:selected').val()+'/'+$('.cacher:visible .day option:selected').val()+'/'+$('.cacher:visible .timePeriodContainer select option:selected').val()+'/'+window.location.hash.split('/')[3]+'/?a=1',type:'POST',timeout:10000,success:function(data)
  10671.                         {
  10672.                         mainEffects.loaderFinish();
  10673.                         $('.cacher:visible .results').remove();
  10674.                         $('.cacher:visible .routeEstimationBtn').css('display','none');
  10675.                         $('.cacher:visible .routeEstimationBtn').after('<div class="results">'+data+'</div>')
  10676.                     }
  10677.                 }
  10678.                 )
  10679.             }
  10680.         }
  10681.         )
  10682.     }
  10683.     ,stopInfoRequests:function(selectedBusItem,selectedKatItem,itemLevel,exception,container,xtra)
  10684.         {
  10685.         switch(itemLevel)
  10686.             {
  10687.             case 1:if(!exception)
  10688.                 {
  10689.                 if($('#widgetsArea .cont1').length>0)
  10690.                     {
  10691.                     $('#widgetsArea .cont1').remove()
  10692.                 }
  10693.                 mainEffects.loaderStart($('#widgetsArea .stopInfoFormWidget'));
  10694.                 areaToWorkIn=$('#widgetsArea .bidget')
  10695.             }
  10696.             else
  10697.                 {
  10698.                 if($(container).children('.stopInfoFormWidget').children('.cont1').length>0)
  10699.                     {
  10700.                     $(container).children('.stopInfoFormWidget').children('.cont1').remove()
  10701.                 }
  10702.                 mainEffects.loaderStart(container);
  10703.                 areaToWorkIn=container
  10704.             }
  10705.             $.ajax(
  10706.                 {
  10707.                 url:globalF.projectURI+globalF.getLang()+'/stopinfo/startstop/'+selectedBusItem.val()+'/?a=1',type:'POST',timeout:10000,success:function(data)
  10708.                     {
  10709.                     mainEffects.loaderFinish();
  10710.                     selectedBusItem.after('<div class="cont1">'+data+'</div>');
  10711.                     if($(areaToWorkIn).children('.stopInfoFormWidget').children('.cont1').children('.goes').children('option').length==1)
  10712.                         {
  10713.                         selectedKat=$(areaToWorkIn).children('.stopInfoFormWidget').children('.cont1').children('.goes');
  10714.                         widgets.stopInfoRequests(selectedBusItem,selectedKat,2,exception,container)
  10715.                     }
  10716.                 }
  10717.             }
  10718.             );
  10719.             break;
  10720.             case 2:if(!exception)
  10721.                 {
  10722.                 if($('#widgetsArea .cont2').length>0)
  10723.                     {
  10724.                     $('#widgetsArea .cont2').remove()
  10725.                 }
  10726.                 mainEffects.loaderStart($('#widgetsArea .stopInfoFormWidget'))
  10727.             }
  10728.             else
  10729.                 {
  10730.                 if(container.children('.bidgetContainer').children('.cont1').children('.cont2').length>0)
  10731.                     {
  10732.                     container.children('.bidgetContainer').children('.cont1').children('.cont2').remove()
  10733.                 }
  10734.                 mainEffects.loaderStart(container);
  10735.                 areaToWorkIn=container
  10736.             }
  10737.             stopValue=selectedBusItem.val().split('/')[0]+'/'+selectedBusItem.val().split('/')[1];
  10738.             $.ajax(
  10739.                 {
  10740.                 url:globalF.projectURI+globalF.getLang()+'/stopinfo/route/'+stopValue+'/'+selectedKatItem.children('option:selected').val()+'/?a=1',type:'POST',timeout:10000,success:function(data)
  10741.                     {
  10742.                     mainEffects.loaderFinish();
  10743.                     selectedKatItem.after('<div class="cont2">'+data+'</div>')
  10744.                 }
  10745.             }
  10746.             );
  10747.             break;
  10748.             case 3:if(!exception)
  10749.                 {
  10750.                 ldr();
  10751.                 location.hash=globalF.getLang()+'/stopinfo/screen/'+selectedBusItem.val()+'';
  10752.                 unldr();
  10753.                 widgets.stopUpdates(selectedBusItem.val().replace('/',''),selectedBusItem.children('option:selected').text(),'add');
  10754.                 if($('.stopInfoFormWidget .c'+selectedBusItem.val().replace('/','')).length<1)
  10755.                     {
  10756.                     $('.stopInfoFormWidget label:first').before('<a style="display:none;
  10757.                     " class="stopInfoLink c'+selectedBusItem.val().replace('/','')+'" href="'+globalF.projectURI+globalF.getLang()+'/stopinfo/screen/'+selectedBusItem.val().replace('/','')+'/"><span class="oasthBall"></span>'+selectedBusItem.children('option:selected').text()+'<span class="stopInfoDeleteButton">X</span></a>');
  10758.                     $('.stopInfoLink').css(
  10759.                         {
  10760.                         'margin-top':'0px','margin-bottom':'0px'
  10761.                     }
  10762.                     );
  10763.                     $('.stopInfoLink:first').css(
  10764.                         {
  10765.                         'margin-top':'5px'
  10766.                     }
  10767.                     );
  10768.                     $('.stopInfoLink:last').css(
  10769.                         {
  10770.                         'margin-bottom':'5px'
  10771.                     }
  10772.                     );
  10773.                     $('.stopInfoLink:last').fadeIn(600)
  10774.                 }
  10775.                 else
  10776.                     {
  10777.                 }
  10778.             }
  10779.             else
  10780.                 {
  10781.                 var nameHi;
  10782.                 var valHi;
  10783.                 container.children('.selectedStop').remove();
  10784.                 selectedH=container.children('.bidgetContainer').children('.cont1').children('.cont2').children('.stop').children('option:selected');
  10785.                 if(selectedH.val())
  10786.                     {
  10787.                     nameHi=selectedH.text();
  10788.                     valHi=selectedH.val()
  10789.                 }
  10790.                 else
  10791.                     {
  10792.                     nameHi=selectedBusItem;
  10793.                     valHi=xtra
  10794.                 }
  10795.                 container.append('<ul class="selectedStop"><li id="'+valHi+'">'+nameHi+'</li></ul>');
  10796.                 container.children('.bidgetContainer').remove();
  10797.                 directions.checkSubmitButtonStatus();
  10798.                 container.children('.mylocation:visible,.wanagoto:visible').slideToggle(400);
  10799.                 container.children('h2').children('span').css('transform','rotate(90deg)').animate(
  10800.                     {
  10801.                     fontSize:'3em',height:'50px',width:'50px','lineHeight':'32px',top:'-7px'
  10802.                 }
  10803.                 ,1500,"easeOutBounce").animate(
  10804.                     {
  10805.                     fontSize:'43px',height:'30px',width:'30px','lineHeight':'20px',top:'2px'
  10806.                 }
  10807.                 ,3000,"easeOutCubic");
  10808.                 $('html,body').animate(
  10809.                     {
  10810.                     scrollTop:0
  10811.                 }
  10812.                 ,400)
  10813.             }
  10814.             break;
  10815.             default:break
  10816.         }
  10817.     }
  10818.     ,stopUpdates:function(linecode,linenameD,action)
  10819.         {
  10820.         $.ajax(
  10821.             {
  10822.             url:globalF.projectURI,type:'POST',timeout:10000,data:(
  10823.                 {
  10824.                 cookie:1,type:'stop',action:action,stopCode:linecode,stopName:linenameD
  10825.             }
  10826.             ),success:function(data)
  10827.                 {
  10828.             }
  10829.         }
  10830.         )
  10831.     }
  10832.     ,stopInfoExtraControls:function()
  10833.         {
  10834.         stoptext=$('.hh h1:visible .stopName').text();
  10835.         if($('.hh h1:visible .stopCode').length>0)
  10836.             {
  10837.             if($('.hh h1:visible .stopCode').text()==''||$('.hh h1:visible .stopCode').text()==undefined)
  10838.                 {
  10839.                 $('.cacher:visible').html('<h1>Wrong stop code!</h1><p>Please select a different one.</p>');
  10840.                 document.title='404';
  10841.                 return
  10842.             }
  10843.             var testOb='';
  10844.             if(globalF.lastSelectedStop=='')
  10845.                 {
  10846.                 globalF.lastSelectedStop=$('.cacher:visible h1 .stopCode').text()
  10847.             }
  10848.             else
  10849.                 {
  10850.                 globalF.lastSelectedStop=globalF.lastSelectedStop.val()
  10851.             }
  10852.             if($('.stopInfoFormWidget .c'+globalF.lastSelectedStop).length<1)
  10853.                 {
  10854.                 $('.stopInfoFormWidget label:first').before('<a style="display:none;
  10855.                 " class="stopInfoLink c'+globalF.lastSelectedStop+'" href="'+globalF.projectURI+globalF.getLang()+'/stopinfo/screen/'+globalF.lastSelectedStop+'/"><span class="oasthBall"></span>'+stoptext+'<span class="stopInfoDeleteButton">X</span></a>');
  10856.                 $('.stopInfoLink').css(
  10857.                     {
  10858.                     'margin-top':'0px','margin-bottom':'0px'
  10859.                 }
  10860.                 );
  10861.                 $('.stopInfoLink:first').css(
  10862.                     {
  10863.                     'margin-top':'5px'
  10864.                 }
  10865.                 );
  10866.                 $('.stopInfoLink:last').css(
  10867.                     {
  10868.                     'margin-bottom':'5px'
  10869.                 }
  10870.                 );
  10871.                 $('.stopInfoLink:last').fadeIn(600)
  10872.             }
  10873.             else
  10874.                 {
  10875.                 $('.stopInfoFormWidget .c'+globalF.lastSelectedStop).fadeOut(200).fadeIn(300)
  10876.             }
  10877.             unldr()
  10878.         }
  10879.     }
  10880.     ,infoUpdates:function(action,stopCode)
  10881.         {
  10882.         $.ajax(
  10883.             {
  10884.             url:globalF.projectURI+globalF.getLang()+'/usersettings/stopinfo/'+action+'/'+stopCode+'/?a=1',type:'POST',timeout:10000,success:function(data)
  10885.                 {
  10886.             }
  10887.         }
  10888.         )
  10889.     }
  10890.     ,masterLines:function()
  10891.         {
  10892.         $('.masterLinesSelect').live('change',function()
  10893.             {
  10894.             if($(this).val()==0)return false;
  10895.             location.hash=globalF.getLang()+'/masterinfo/list/'+$(this).val()+'/'
  10896.         }
  10897.         )
  10898.     }
  10899. };
  10900. var working=false;
  10901. var url,tmr,r,rl;
  10902. var geod=[];
  10903. var sitename='astiko-irakleiou';
  10904. var sitenameTitleTop='Astiko-Irakleiou';
  10905. var domain='astiko-irakleiou.gr/';
  10906. var wst='http://'+domain;
  10907. var loc=''+window.location;
  10908. var coordsH='35.3372991,25.1346413';
  10909. var assetsImgFolder='http://assets.'+domain+sitename+'/templates/default/images/';
  10910. var globalClicked=false;
  10911. var isExplorer=false;
  10912. $(document).ready(function()
  10913.     {
  10914.     globalF.onLoad();
  10915.     if($.browser.msie)
  10916.         {
  10917.         isExplorer=true;
  10918.         $('.ieError,.warningBG').show();
  10919.         $('.warningButton').click(function()
  10920.             {
  10921.             $('.ieError,.warningBG').hide(function()
  10922.                 {
  10923.                 $(this).remove()
  10924.             }
  10925.             )
  10926.         }
  10927.         )
  10928.     }
  10929. }
  10930. );
  10931. var globalF=
  10932.     {
  10933.     projectURI:wst,globalPageAddress:domain,defaultLang:'el',submenuClassName:'.categoriesList',map:[],marker:[],label:[],poiMarker:[],busMarker:[],polyLines:[],directionsDisplay:[],directionsService:[],activeMapPolylines:[],updateBusArrivTimes:false,slider:false,loading:false,mapLoading:false,onLoad:function()
  10934.         {
  10935.         this.marker['stop']=[];
  10936.         this.marker['bus']=[];
  10937.         this.marker['busBack']=[];
  10938.         this.marker['poi']=[];
  10939.         this.marker['stopLine']=[];
  10940.         this.marker['walk']=[];
  10941.         this.marker['oasth']=[];
  10942.         this.startupURLcheck();
  10943.         this.getLang();
  10944.         widgets.general();
  10945.         widgets.dromologia();
  10946.         widgets.stopInfo();
  10947.         widgets.masterLines();
  10948.         mainEffects.submenusBig();
  10949.         maps.toggleLineMarkers();
  10950.         mainEffects.menusAnimation();
  10951.         mainEffects.searchAnimation();
  10952.         mainEffects.variousEffects();
  10953.         mainEffects.slider();
  10954.         mainEffects.viewStopDetailsFunctionality();
  10955.         mainEffects.contactFormFunctionality();
  10956.         directions.mainMenusFunctionality();
  10957.         print.element();
  10958.         cookieHandler.decode()
  10959.     }
  10960.     ,getLang:function()
  10961.         {
  10962.         return $('html').attr('lang')
  10963.     }
  10964.     ,lastSelectedStop:'',startupURLcheck:function()
  10965.         {
  10966.         turl=document.location.href.split('#');
  10967.         if(turl.length<=1&&document.location.href+'/'!='http://'+globalF.globalPageAddress&&document.location.href!='http://'+globalF.globalPageAddress&&document.location.href!='http://'+globalF.globalPageAddress+globalF.getLang()+'/')
  10968.             {
  10969.             window.location=document.location.href.split(globalF.globalPageAddress).join(globalF.globalPageAddress+'#');
  10970.             $(window).trigger('hashchange');
  10971.             return false
  10972.         }
  10973.     }
  10974. };
  10975. var explorerSucks=
  10976.     {
  10977.     run:function()
  10978.         {
  10979.         console.log(1)
  10980.     }
  10981. };
  10982. var mainEffects=
  10983.     {
  10984.     menusAnimation:function()
  10985.         {
  10986.         $('.menuItem').live(
  10987.             {
  10988.             mouseenter:function()
  10989.                 {
  10990.                 $(this).children('a').children('.menuItemTitle').stop().animate(
  10991.                     {
  10992.                     fontSize:'2.4em',opacity:0
  10993.                 }
  10994.                 ,400,'easeOutQuart',function()
  10995.                     {
  10996.                     $(this).css(
  10997.                         {
  10998.                         fontSize:'1.2em'
  10999.                     }
  11000.                     ).animate(
  11001.                         {
  11002.                         opacity:1
  11003.                     }
  11004.                     ,1000,'easeOutQuint')
  11005.                 }
  11006.                 )
  11007.             }
  11008.             ,mouseleave:function()
  11009.                 {
  11010.                 $(this).stop().css(
  11011.                     {
  11012.                     fontSize:'1.2em'
  11013.                 }
  11014.                 )
  11015.             }
  11016.         }
  11017.         )
  11018.     }
  11019.     ,submenusBig:function()
  11020.         {
  11021.     }
  11022.     ,loaderStart:function(parent)
  11023.         {
  11024.         parent.append('<div id="loaderImage"></div>');
  11025.         new imageLoader(cImageSrc,'startAnimation()')
  11026.     }
  11027.     ,loaderFinish:function()
  11028.         {
  11029.         $('#loaderImage').remove()
  11030.     }
  11031.     ,searchAnimation:function()
  11032.         {
  11033.         speed=200;
  11034.         $('#submitBestRouteButton').live(
  11035.             {
  11036.             mouseenter:function()
  11037.                 {
  11038.                 $(this).children('span').stop().animate(
  11039.                     {
  11040.                     backgroundColor:'#FF7D0F'
  11041.                 }
  11042.                 ,speed)
  11043.             }
  11044.             ,mouseleave:function()
  11045.                 {
  11046.                 $(this).children('span').stop().animate(
  11047.                     {
  11048.                     backgroundColor:'#3F608F'
  11049.                 }
  11050.                 ,speed)
  11051.             }
  11052.         }
  11053.         )
  11054.     }
  11055.     ,viewStopDetailsFunctionality:function()
  11056.         {
  11057.         $('ul.pois li').live('click',function()
  11058.             {
  11059.             if(!$(this).hasClass('selected'))
  11060.                 {
  11061.                 $(this).addClass('selected');
  11062.                 maps.addmarker($('.cacher:visible').children('.mapwidget').children('.stopmap').attr('id'),$(this).children('.loc').text(),$(this).children('.poiname').text(),$(this).children('.poiname').attr('id'),'poi')
  11063.             }
  11064.             else
  11065.                 {
  11066.                 $(this).removeClass('selected');
  11067.                 maps.removemarker(globalF.marker['poi'][$('.cacher:visible').children('.mapwidget').children('.stopmap').attr('id')][$(this).children('.poiname').attr('id')])
  11068.             }
  11069.         }
  11070.         );
  11071.         $('.poisTitle').live('click',function()
  11072.             {
  11073.             if($(this).siblings('div').children('.pois').children('.selected').length>0)
  11074.                 {
  11075.                 $(this).siblings('div').children('.pois').children('.selected').each(function()
  11076.                     {
  11077.                     maps.removemarker(globalF.marker['poi'][$('.cacher:visible').children('.mapwidget').children('.stopmap').attr('id')][$(this).children('.poiname').attr('id')])
  11078.                 }
  11079.                 );
  11080.                 $(this).siblings('div').children('.pois').children('li').css(
  11081.                     {
  11082.                     backgroundColor:'#fff'
  11083.                 }
  11084.                 ).removeClass('selected');
  11085.                 $(this).siblings('div').children('.pois').children('li').children('span').css(
  11086.                     {
  11087.                     color:'#3F608F'
  11088.                 }
  11089.                 )
  11090.             }
  11091.             else
  11092.                 {
  11093.                 $(this).siblings('div').children('.pois').children('li').each(function()
  11094.                     {
  11095.                     $(this).trigger('click')
  11096.                 }
  11097.                 );
  11098.                 $(this).siblings('div').children('.pois').children('li').css(
  11099.                     {
  11100.                     backgroundColor:'#3F608F'
  11101.                 }
  11102.                 ).addClass('selected');
  11103.                 $(this).siblings('div').children('.pois').children('li').children('span').css(
  11104.                     {
  11105.                     color:'#fff'
  11106.                 }
  11107.                 )
  11108.             }
  11109.         }
  11110.         )
  11111.     }
  11112.     ,variousEffects:function()
  11113.         {
  11114.         $('.scheduleList li').live(
  11115.             {
  11116.             mouseenter:function()
  11117.                 {
  11118.                 $(this).stop().animate(
  11119.                     {
  11120.                     backgroundColor:'#3F608F','color':'#fff'
  11121.                 }
  11122.                 ,200);
  11123.                 $(this).children('span').children('.ml').stop().animate(
  11124.                     {
  11125.                     'color':'#fff'
  11126.                 }
  11127.                 ,200)
  11128.             }
  11129.             ,mouseleave:function()
  11130.                 {
  11131.                 $(this).stop().animate(
  11132.                     {
  11133.                     backgroundColor:'#fff','color':'#000'
  11134.                 }
  11135.                 ,200);
  11136.                 $(this).children('span').children('.ml').stop().animate(
  11137.                     {
  11138.                     'color':'#3F608F'
  11139.                 }
  11140.                 ,200)
  11141.             }
  11142.         }
  11143.         );
  11144.         $('.printPage').live(
  11145.             {
  11146.             mouseenter:function()
  11147.                 {
  11148.                 $(this).children('span').stop().animate(
  11149.                     {
  11150.                     'opacity':1
  11151.                 }
  11152.                 ,200)
  11153.             }
  11154.             ,mouseleave:function()
  11155.                 {
  11156.                 $(this).children('span').stop().animate(
  11157.                     {
  11158.                     'opacity':0
  11159.                 }
  11160.                 ,800)
  11161.             }
  11162.         }
  11163.         );
  11164.         $('tr').live(
  11165.             {
  11166.             mouseenter:function()
  11167.                 {
  11168.                 if($(this).find('tr').length<1)
  11169.                     {
  11170.                     bgcolor=$(this).css('background-color');
  11171.                     tcolor=$(this).css('color');
  11172.                     $(this).css(
  11173.                         {
  11174.                         backgroundColor:'#eee','color':'#000'
  11175.                     }
  11176.                     );
  11177.                     $(this).children('td').css(
  11178.                         {
  11179.                         backgroundColor:'#eee','color':'#000'
  11180.                     }
  11181.                     );
  11182.                     $(this).children('td').children('h1,h2,h3,a').css(
  11183.                         {
  11184.                         'color':'#fff'
  11185.                     }
  11186.                     )
  11187.                 }
  11188.             }
  11189.             ,mouseleave:function()
  11190.                 {
  11191.                 if($(this).find('tr').length<1)
  11192.                     {
  11193.                     $(this).css(
  11194.                         {
  11195.                         backgroundColor:bgcolor,'color':tcolor
  11196.                     }
  11197.                     );
  11198.                     $(this).children('td').css(
  11199.                         {
  11200.                         backgroundColor:bgcolor,'color':tcolor
  11201.                     }
  11202.                     );
  11203.                     $(this).children('td').children('h1,h2,h3,a').css(
  11204.                         {
  11205.                         'color':'#3F608F'
  11206.                     }
  11207.                     )
  11208.                 }
  11209.             }
  11210.         }
  11211.         );
  11212.         $('.mapwidget,.routeInfoMap').live(
  11213.             {
  11214.             mouseenter:function()
  11215.                 {
  11216.                 $(this).stop().animate(
  11217.                     {
  11218.                     'box-shadow':'0 0 36px -15px rgba(0,0,0,1)'
  11219.                 }
  11220.                 ,200)
  11221.             }
  11222.             ,mouseleave:function()
  11223.                 {
  11224.                 $(this).stop().animate(
  11225.                     {
  11226.                     'box-shadow':'0'
  11227.                 }
  11228.                 ,100)
  11229.             }
  11230.         }
  11231.         );
  11232.         $('.arivals li,.pois li,.lines li').live(
  11233.             {
  11234.             mouseenter:function()
  11235.                 {
  11236.                 if(!$(this).hasClass('selected'))
  11237.                     {
  11238.                     $(this).stop().animate(
  11239.                         {
  11240.                         backgroundColor:'#3F608F'
  11241.                     }
  11242.                     ,200);
  11243.                     $(this).children('.busname,.poiname').stop().animate(
  11244.                         {
  11245.                         color:'#fff'
  11246.                     }
  11247.                     ,200);
  11248.                     $(this).children('.passingLineName,.busariv').stop().animate(
  11249.                         {
  11250.                         color:'#fff'
  11251.                     }
  11252.                     ,200);
  11253.                     $(this).children('a').children('.passingLineInfo').stop().animate(
  11254.                         {
  11255.                         opacity:1
  11256.                     }
  11257.                     ,200)
  11258.                 }
  11259.             }
  11260.             ,mouseleave:function()
  11261.                 {
  11262.                 if(!$(this).hasClass('selected'))
  11263.                     {
  11264.                     $(this).stop().animate(
  11265.                         {
  11266.                         backgroundColor:'#fff'
  11267.                     }
  11268.                     ,200);
  11269.                     $(this).children('.busname,.poiname').stop().animate(
  11270.                         {
  11271.                         color:'#3F608F'
  11272.                     }
  11273.                     ,200);
  11274.                     $(this).children('.passingLineName,.busariv').stop().animate(
  11275.                         {
  11276.                         color:'#000'
  11277.                     }
  11278.                     ,200);
  11279.                     $(this).children('a').children('.passingLineInfo').stop().animate(
  11280.                         {
  11281.                         opacity:0
  11282.                     }
  11283.                     ,200)
  11284.                 }
  11285.             }
  11286.             ,click:function()
  11287.                 {
  11288.                 if($(this).parent('ul').hasClass('lines'))
  11289.                     {
  11290.                     $(this).siblings('li').removeClass('selected').css(
  11291.                         {
  11292.                         'background-color':'#fff'
  11293.                     }
  11294.                     ).children('.passingLineName').css(
  11295.                         {
  11296.                         'color':'#000'
  11297.                     }
  11298.                     );
  11299.                     $(this).siblings('li').children('a').children('.passingLineInfo').css(
  11300.                         {
  11301.                         'opacity':'0'
  11302.                     }
  11303.                     );
  11304.                     $(this).addClass('selected');
  11305.                     maps.removePolylines($('.cacher:visible').children('.mapwidget').children('.stopmap').attr('id'));
  11306.                     var lineTitle=$(this).children('.passingLineName').text();
  11307.                     var lineNumber=$(this).children('a').children('.poly').children('.rt:first').attr('id');
  11308.                     var lineNumber2=$(this).children('a').children('.poly').children('.rt:last').attr('id');
  11309.                     maps.addPolyline($('.cacher:visible').children('.mapwidget').children('.stopmap').attr('id'),spleet($(this).children('a').children('.poly').children('.rt:first').text()).split('|'),lineTitle,'1',lineNumber);
  11310.                     maps.addPolyline($('.cacher:visible').children('.mapwidget').children('.stopmap').attr('id'),spleet($(this).children('a').children('.poly').children('.rt:last').text()).split('|'),lineTitle,'2',lineNumber2)
  11311.                 }
  11312.             }
  11313.         }
  11314.         );
  11315.         speed=200;
  11316.         $('.routeEstimationBtn').live(
  11317.             {
  11318.             mouseenter:function()
  11319.                 {
  11320.                 thispos=$(this).css('background-position').split('px');
  11321.                 thisposx=thispos[0];
  11322.                 $(this).stop().animate(
  11323.                     {
  11324.                     backgroundColor:'#ffffff','background-position':thisposx+'px -48px'
  11325.                 }
  11326.                 ,speed)
  11327.             }
  11328.             ,mouseleave:function()
  11329.                 {
  11330.                 thispos=$(this).css('background-position').split('px');
  11331.                 thisposx=thispos[0];
  11332.                 $(this).stop().animate(
  11333.                     {
  11334.                     backgroundColor:'#3F608F','background-position':thisposx+'px 1px'
  11335.                 }
  11336.                 ,speed)
  11337.             }
  11338.         }
  11339.         );
  11340.         $('#scrollTotop').live(
  11341.             {
  11342.             mouseenter:function()
  11343.                 {
  11344.                 $(this).stop().animate(
  11345.                     {
  11346.                     'padding-left':'20px'
  11347.                 }
  11348.                 ,300,'easeOutBack')
  11349.             }
  11350.             ,mouseleave:function()
  11351.                 {
  11352.                 $(this).stop().animate(
  11353.                     {
  11354.                     'padding-left':'5px'
  11355.                 }
  11356.                 ,800,'easeOutElastic')
  11357.             }
  11358.             ,click:function()
  11359.                 {
  11360.                 $('html,body').animate(
  11361.                     {
  11362.                     scrollTop:0
  11363.                 }
  11364.                 ,500,'easeOutCirc')
  11365.             }
  11366.         }
  11367.         );
  11368.         $('.innerLinks li').live(
  11369.             {
  11370.             click:function()
  11371.                 {
  11372.                 $('html,body').animate(
  11373.                     {
  11374.                     scrollTop:($('.cacher:visible').children('.scheduleListContainer').children('.'+$(this).attr('class')).offset().top-110)+'px'
  11375.                 }
  11376.                 ,1000,'easeOutQuint')
  11377.             }
  11378.         }
  11379.         );
  11380.         $(document).scroll(function()
  11381.             {
  11382.             if($(this).scrollTop()<80)
  11383.                 {
  11384.                 $('#scrollTotop').stop().animate(
  11385.                     {
  11386.                     'left':'-380px'
  11387.                 }
  11388.                 ,400,'easeOutBack')
  11389.             }
  11390.             else
  11391.                 {
  11392.                 $('#scrollTotop').stop().animate(
  11393.                     {
  11394.                     'left':'-38px'
  11395.                 }
  11396.                 ,400,'easeOutBack')
  11397.             }
  11398.         }
  11399.         )
  11400.     }
  11401.     ,slider:function()
  11402.         {
  11403.         var effect='easeInOutCirc';
  11404.         var speed=1500;
  11405.         var sliderDuration=10000;
  11406.         clearInterval(globalF.slider);
  11407.         globalF.slider=setInterval(animate,sliderDuration);
  11408.         function animate()
  11409.             {
  11410.             thisA=$('.sliderElement').filter(function()
  11411.                 {
  11412.                 return $(this).css('opacity')==='1'
  11413.             }
  11414.             );
  11415.             thisA.animate(
  11416.                 {
  11417.                 opacity:0
  11418.             }
  11419.             ,(speed*2));
  11420.             if(thisA.is(':last-child'))
  11421.                 {
  11422.                 thisA.siblings('.sliderElement:first').animate(
  11423.                     {
  11424.                     opacity:1
  11425.                 }
  11426.                 ,(speed*2))
  11427.             }
  11428.             else
  11429.                 {
  11430.                 thisA.next().animate(
  11431.                     {
  11432.                     opacity:1
  11433.                 }
  11434.                 ,(speed*2))
  11435.             }
  11436.         }
  11437.         $('.cacher:visible').children('#mainPageStuff').children('#sliderNavigation').children('#prevSlide').click(function()
  11438.             {
  11439.             clearInterval(slider);
  11440.             animate(true);
  11441.             slider=setInterval(animate,sliderDuration)
  11442.         }
  11443.         );
  11444.         $('.cacher:visible').children('#mainPageStuff').children('#sliderNavigation').children('#nextSlide').click(function()
  11445.             {
  11446.             clearInterval(slider);
  11447.             animate();
  11448.             slider=setInterval(animate,sliderDuration)
  11449.         }
  11450.         )
  11451.     }
  11452.     ,contactFormFunctionality:function()
  11453.         {
  11454.         $('#contactForm .field').live('focus',function()
  11455.             {
  11456.             if($(this).hasClass('new'))
  11457.                 {
  11458.                 $(this).val('').removeClass('new')
  11459.             }
  11460.             return false
  11461.         }
  11462.         );
  11463.         $('.contactButton').live('click',function()
  11464.             {
  11465.             var passed=true;
  11466.             $(this).siblings('.required').each(function()
  11467.                 {
  11468.                 if($(this).val()==''||$(this).hasClass('new'))
  11469.                     {
  11470.                     $(this).css('border-color','red');
  11471.                     passed=false
  11472.                 }
  11473.                 else
  11474.                     {
  11475.                     $(this).css('border-color','#8E8D8D')
  11476.                 }
  11477.                 if($(this).hasClass('email'))
  11478.                     {
  11479.                     var re=/^(([^<>()[\]\\.,;
  11480.                     :\s@\"]+(\.[^<>()[\]\\.,;
  11481.                     :\s@\"]+)*)|(\".+\"))@((\[[0-9]
  11482.                         {
  11483.                         1,3
  11484.                     }
  11485.                     \.[0-9]
  11486.                         {
  11487.                         1,3
  11488.                     }
  11489.                     \.[0-9]
  11490.                         {
  11491.                         1,3
  11492.                     }
  11493.                     \.[0-9]
  11494.                         {
  11495.                         1,3
  11496.                     }
  11497.                     \])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]
  11498.                         {
  11499.                         2,
  11500.                     }
  11501.                     ))$/;
  11502.                     if(!re.test($(this).val()))
  11503.                         {
  11504.                         passed=false;
  11505.                         $(this).css('border-color','red')
  11506.                     }
  11507.                     else
  11508.                         {
  11509.                         $(this).css('border-color','#8E8D8D')
  11510.                     }
  11511.                 }
  11512.             }
  11513.             );
  11514.             if(!passed)
  11515.                 {
  11516.                 return false
  11517.             }
  11518.             else
  11519.                 {
  11520.                 $('#contactForm').toggle();
  11521.                 $.ajax(
  11522.                     {
  11523.                     url:'/contact/submit/?a=1',type:"POST",timeout:50000,data:(
  11524.                         {
  11525.                         name:$('#uname').val(),email:$('#e_mail').val(),topic:$('#topic').val(),message:$('#message').val()
  11526.                     }
  11527.                     ),success:function(data)
  11528.                         {
  11529.                         alert(data);
  11530.                         $('#contactForm').toggle();
  11531.                         $.each($('#contactForm').children('input,textarea'),function()
  11532.                             {
  11533.                             if(!$(this).hasClass('contactButton'))
  11534.                                 {
  11535.                                 $(this).val('');
  11536.                                 $(this).html('')
  11537.                             }
  11538.                         }
  11539.                         )
  11540.                     }
  11541.                 }
  11542.                 );
  11543.                 return false
  11544.             }
  11545.         }
  11546.         )
  11547.     }
  11548. };
  11549. var importer=
  11550.     {
  11551.     importFiles:function()
  11552.         {
  11553.         var geocoderXY=new google.maps.Geocoder();
  11554.         var testData=
  11555.             {
  11556.             '1':['42.11111','22.00000'],'2':['45.12311','22.00000'],'3':['44.1211','21.00000'],'4':['44.11111','22.10000'],'5':['44.13111','22.20000']
  11557.         };
  11558.         $('.importerer').live('click',function()
  11559.             {
  11560.             console.log('Initiating...');
  11561.             $.eachDelay(testData,function(key,value)
  11562.                 {
  11563.                 console.log(key,value);
  11564.                 var latlng=new google.maps.LatLng(value[0],value[1]);
  11565.                 geocoderXY.geocode(
  11566.                     {
  11567.                     'latLng':latlng
  11568.                 }
  11569.                 ,function(results,status)
  11570.                     {
  11571.                     if(results[1])
  11572.                         {
  11573.                         console.log('Address found: '+results[1].formatted_address)
  11574.                     }
  11575.                 }
  11576.                 )
  11577.             }
  11578.             ,3000)
  11579.         }
  11580.         )
  11581.     }
  11582. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement