(function(d,b){var c=d.document,Tb=d.navigator,Yb=d.location,a=function(){var a=function(b,c){return new a.fn.init(b,c,m)},C=d.jQuery,G=d.$,m,x=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,n=/\S/,p=/^\s+/,o=/\s+$/,D=/\d/,w=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,v=/^[\],:{}\s]*$/,t=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,u=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,s=/(?:^|:|,)(?:\s*\[)+/g,B=/(webkit)[ \/]([\w.]+)/,E=/(opera)(?:.*version)?[ \/]([\w.]+)/,F=/(msie) ([\w.]+)/,z=/(mozilla)(?:.*? rv:([\w.]+))?/,y=Tb.userAgent,g,h,e,A=Object.prototype.toString,i=Object.prototype.hasOwnProperty,j=Array.prototype.push,f=Array.prototype.slice,r=String.prototype.trim,q=Array.prototype.indexOf,l={};a.fn=a.prototype={constructor:a,init:function(d,e,i){var f,h,g,j;if(!d)return this;if(d.nodeType){this.context=this[0]=d;this.length=1;return this}if(d==="body"&&!e&&c.body){this.context=c;this[0]=c.body;this.selector=d;this.length=1;return this}if(typeof d==="string"){if(d.charAt(0)==="<"&&d.charAt(d.length-1)===">"&&d.length>=3)f=[null,d,null];else f=x.exec(d);if(f&&(f[1]||!e))if(f[1]){e=e instanceof a?e[0]:e;j=e?e.ownerDocument||e:c;g=w.exec(d);if(g)if(a.isPlainObject(e)){d=[c.createElement(g[1])];a.fn.attr.call(d,e,true)}else d=[j.createElement(g[1])];else{g=a.buildFragment([f[1]],[j]);d=(g.cacheable?a.clone(g.fragment):g.fragment).childNodes}return a.merge(this,d)}else{h=c.getElementById(f[2]);if(h&&h.parentNode){if(h.id!==f[2])return i.find(d);this.length=1;this[0]=h}this.context=c;this.selector=d;return this}else return!e||e.jquery?(e||i).find(d):this.constructor(e).find(d)}else if(a.isFunction(d))return i.ready(d);if(d.selector!==b){this.selector=d.selector;this.context=d.context}return a.makeArray(d,this)},selector:"",jquery:"1.6.1",length:0,size:function(){return this.length},toArray:function(){return f.call(this,0)},"get":function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(c,d,e){var b=this.constructor();if(a.isArray(c))j.apply(b,c);else a.merge(b,c);b.prevObject=this;b.context=this.context;if(d==="find")b.selector=this.selector+(this.selector?" ":"")+e;else if(d)b.selector=this.selector+"."+d+"("+e+")";return b},each:function(b,c){return a.each(this,b,c)},ready:function(b){a.bindReady();h.done(b);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(f.apply(this,arguments),"slice",f.call(arguments).join(","))},map:function(b){return this.pushStack(a.map(this,function(a,c){return b.call(a,c,a)}))},end:function(){return this.prevObject||this.constructor(null)},push:j,sort:[].sort,splice:[].splice};a.fn.init.prototype=a.fn;a.extend=a.fn.extend=function(){var i,g,e,d,h,j,c=arguments[0]||{},f=1,l=arguments.length,k=false;if(typeof c==="boolean"){k=c;c=arguments[1]||{};f=2}if(typeof c!=="object"&&!a.isFunction(c))c={};if(l===f){c=this;--f}for(;f<l;f++)if((i=arguments[f])!=null)for(g in i){e=c[g];d=i[g];if(c===d)continue;if(k&&d&&(a.isPlainObject(d)||(h=a.isArray(d)))){if(h){h=false;j=e&&a.isArray(e)?e:[]}else j=e&&a.isPlainObject(e)?e:{};c[g]=a.extend(k,j,d)}else if(d!==b)c[g]=d}return c};a.extend({noConflict:function(b){if(d.$===a)d.$=G;if(b&&d.jQuery===a)d.jQuery=C;return a},isReady:false,readyWait:1,holdReady:function(b){if(b)a.readyWait++;else a.ready(true)},ready:function(b){if(b===true&&!--a.readyWait||b!==true&&!a.isReady){if(!c.body)return setTimeout(a.ready,1);a.isReady=true;if(b!==true&&--a.readyWait>0)return;h.resolveWith(c,[a]);a.fn.trigger&&a(c).trigger("ready").unbind("ready")}},bindReady:function(){if(h)return;h=a._Deferred();if(c.readyState==="complete")return setTimeout(a.ready,1);if(c.addEventListener){c.addEventListener("DOMContentLoaded",e,false);d.addEventListener("load",a.ready,false)}else if(c.attachEvent){c.attachEvent("onreadystatechange",e);d.attachEvent("onload",a.ready);var b=false;try{b=d.frameElement==null}catch(f){}c.documentElement.doScroll&&b&&k()}},isFunction:function(b){return a.type(b)==="function"},isArray:Array.isArray||function(b){return a.type(b)==="array"},isWindow:function(a){return a&&typeof a==="object"&&"setInterval"in a},isNaN:function(a){return a==null||!D.test(a)||isNaN(a)},type:function(a){return a==null?String(a):l[A.call(a)]||"object"},isPlainObject:function(c){if(!c||a.type(c)!=="object"||c.nodeType||a.isWindow(c))return false;if(c.constructor&&!i.call(c,"constructor")&&!i.call(c.constructor.prototype,"isPrototypeOf"))return false;var d;for(d in c);return d===b||i.call(c,d)},isEmptyObject:function(a){for(var b in a)return false;return true},error:function(a){throw a;},parseJSON:function(b){if(typeof b!=="string"||!b)return null;b=a.trim(b);if(d.JSON&&d.JSON.parse)return d.JSON.parse(b);if(v.test(b.replace(t,"@").replace(u,"]").replace(s,"")))return new Function("return "+b)();a.error("Invalid JSON: "+b)},parseXML:function(e,c,b){if(d.DOMParser){b=new DOMParser;c=b.parseFromString(e,"text/xml")}else{c=new ActiveXObject("Microsoft.XMLDOM");c.async="false";c.loadXML(e)}b=c.documentElement;(!b||!b.nodeName||b.nodeName==="parsererror")&&a.error("Invalid XML: "+e);return c},noop:function(){},globalEval:function(a){a&&n.test(a)&&(d.execScript||function(a){d.eval.call(d,a)})(a)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(c,f,h){var d,e=0,g=c.length,i=g===b||a.isFunction(c);if(h){if(i){for(d in c)if(f.apply(c[d],h)===false)break}else for(;e<g;)if(f.apply(c[e++],h)===false)break}else if(i){for(d in c)if(f.call(c[d],d,c[d])===false)break}else for(;e<g;)if(f.call(c[e],e,c[e++])===false)break;return c},trim:r?function(a){return a==null?"":r.call(a)}:function(a){return a==null?"":a.toString().replace(p,"").replace(o,"")},makeArray:function(b,e){var d=e||[];if(b!=null){var c=a.type(b);if(b.length==null||c==="string"||c==="function"||c==="regexp"||a.isWindow(b))j.call(d,b);else a.merge(d,b)}return d},inArray:function(c,b){if(q)return q.call(b,c);for(var a=0,d=b.length;a<d;a++)if(b[a]===c)return a;return-1},merge:function(c,a){var e=c.length,d=0;if(typeof a.length==="number")for(var f=a.length;d<f;d++)c[e++]=a[d];else while(a[d]!==b)c[e++]=a[d++];c.length=e;return c},grep:function(b,f,c){var e=[],d;c=!!c;for(var a=0,g=b.length;a<g;a++){d=!!f(b[a],a);c!==d&&e.push(b[a])}return e},map:function(c,i,j){var e,h,f=[],g=0,d=c.length,k=c instanceof a||d!==b&&typeof d==="number"&&(d>0&&c[0]&&c[d-1]||d===0||a.isArray(c));if(k)for(;g<d;g++){e=i(c[g],g,j);if(e!=null)f[f.length]=e}else for(h in c){e=i(c[h],h,j);if(e!=null)f[f.length]=e}return f.concat.apply([],f)},guid:1,proxy:function(c,d){if(typeof d==="string"){var h=c[d];d=c;c=h}if(!a.isFunction(c))return b;var g=f.call(arguments,2),e=function(){return c.apply(d,g.concat(f.call(arguments)))};e.guid=c.guid=c.guid||e.guid||a.guid++;return e},access:function(c,d,f,g,h,j){var i=c.length;if(typeof d==="object"){for(var k in d)a.access(c,k,d[k],g,h,f);return c}if(f!==b){g=!j&&g&&a.isFunction(f);for(var e=0;e<i;e++)h(c[e],d,g?f.call(c[e],e,h(c[e],d)):f,j);return c}return i?h(c[0],d):b},now:function(){return(new Date).getTime()},uaMatch:function(a){a=a.toLowerCase();var b=B.exec(a)||E.exec(a)||F.exec(a)||a.indexOf("compatible")<0&&z.exec(a)||[];return{browser:b[1]||"",version:b[2]||"0"}},sub:function(){function b(a,c){return new b.fn.init(a,c)}a.extend(true,b,this);b.superclass=this;b.fn=b.prototype=this();b.fn.constructor=b;b.sub=this.sub;b.fn.init=function(e,c){if(c&&c instanceof a&&!(c instanceof b))c=b(c);return a.fn.init.call(this,e,c,d)};b.fn.init.prototype=b.fn;var d=b(c);return b},browser:{}});a.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(b,a){l["[object "+a+"]"]=a.toLowerCase()});g=a.uaMatch(y);if(g.browser){a.browser[g.browser]=true;a.browser.version=g.version}if(a.browser.webkit)a.browser.safari=true;if(n.test(" ")){p=/^[\s\xA0]+/;o=/[\s\xA0]+$/}m=a(c);if(c.addEventListener)e=function(){c.removeEventListener("DOMContentLoaded",e,false);a.ready()};else if(c.attachEvent)e=function(){if(c.readyState==="complete"){c.detachEvent("onreadystatechange",e);a.ready()}};function k(){if(a.isReady)return;try{c.documentElement.doScroll("left")}catch(b){setTimeout(k,1);return}a.ready()}return a}(),C="done fail isResolved isRejected promise then always pipe".split(" "),U=[].slice;a.extend({_Deferred:function(){var d=[],b,e,f,c={done:function(){if(!f){var k=arguments,h,j,g,i,e;if(b){e=b;b=0}for(h=0,j=k.length;h<j;h++){g=k[h];i=a.type(g);if(i==="array")c.done.apply(c,g);else i==="function"&&d.push(g)}e&&c.resolveWith(e[0],e[1])}return this},resolveWith:function(c,a){if(!f&&!b&&!e){a=a||[];e=1;try{while(d[0])d.shift().apply(c,a)}finally{b=[c,a];e=0}}return this},resolve:function(){c.resolveWith(this,arguments);return this},isResolved:function(){return!!(e||b)},cancel:function(){f=1;d=[];return this}};return c},Deferred:function(e){var b=a._Deferred(),c=a._Deferred(),d;a.extend(b,{then:function(a,c){b.done(a).fail(c);return this},always:function(){return b.done.apply(b,arguments).fail.apply(this,arguments)},fail:c.done,rejectWith:c.resolveWith,reject:c.resolve,isRejected:c.isResolved,pipe:function(c,d){return a.Deferred(function(e){a.each({done:[c,"resolve"],fail:[d,"reject"]},function(d,g){var h=g[0],f=g[1],c;if(a.isFunction(h))b[d](function(){c=h.apply(this,arguments);if(c&&a.isFunction(c.promise))c.promise().then(e.resolve,e.reject);else e[f](c)});else b[d](e[f])})}).promise()},promise:function(a){if(a==null){if(d)return d;d=a={}}var c=C.length;while(c--)a[C[c]]=b[C[c]];return a}});b.done(c.cancel).fail(b.cancel);delete b.cancel;e&&e.call(b,b);return b},when:function(e){var c=arguments,d=0,f=c.length,g=f,b=f<=1&&e&&a.isFunction(e.promise)?e:a.Deferred();function h(a){return function(d){c[a]=arguments.length>1?U.call(arguments,0):d;!--g&&b.resolveWith(b,U.call(c,0))}}if(f>1){for(;d<f;d++)if(c[d]&&a.isFunction(c[d].promise))c[d].promise().then(h(d),b.reject);else--g;!g&&b.resolveWith(b,c)}else b!==e&&b.resolveWith(b,f?[e]:[]);return b.promise()}});a.support=function(){var a=c.createElement("div"),l=c.documentElement,p,g,o,q,d,i,b,n,f,m,j,s,k,h,e;a.setAttribute("className","t");a.innerHTML="   <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/>";p=a.getElementsByTagName("*");g=a.getElementsByTagName("a")[0];if(!p||!p.length||!g)return{};o=c.createElement("select");q=o.appendChild(c.createElement("option"));d=a.getElementsByTagName("input")[0];b={leadingWhitespace:a.firstChild.nodeType===3,tbody:!a.getElementsByTagName("tbody").length,htmlSerialize:!!a.getElementsByTagName("link").length,style:/top/.test(g.getAttribute("style")),hrefNormalized:g.getAttribute("href")==="/a",opacity:/^0.55$/.test(g.style.opacity),cssFloat:!!g.style.cssFloat,checkOn:d.value==="on",optSelected:q.selected,getSetAttribute:a.className!=="t",submitBubbles:true,changeBubbles:true,focusinBubbles:false,deleteExpando:true,noCloneEvent:true,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableMarginRight:true};d.checked=true;b.noCloneChecked=d.cloneNode(true).checked;o.disabled=true;b.optDisabled=!q.disabled;try{delete a.test}catch(t){b.deleteExpando=false}if(!a.addEventListener&&a.attachEvent&&a.fireEvent){a.attachEvent("onclick",function r(){b.noCloneEvent=false;a.detachEvent("onclick",r)});a.cloneNode(true).fireEvent("onclick")}d=c.createElement("input");d.value="t";d.setAttribute("type","radio");b.radioValue=d.value==="t";d.setAttribute("checked","checked");a.appendChild(d);n=c.createDocumentFragment();n.appendChild(a.firstChild);b.checkClone=n.cloneNode(true).cloneNode(true).lastChild.checked;a.innerHTML="";a.style.width=a.style.paddingLeft="1px";f=c.createElement("body");m={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"};for(h in m)f.style[h]=m[h];f.appendChild(a);l.insertBefore(f,l.firstChild);b.appendChecked=d.checked;b.boxModel=a.offsetWidth===2;if("zoom"in a.style){a.style.display="inline";a.style.zoom=1;b.inlineBlockNeedsLayout=a.offsetWidth===2;a.style.display="";a.innerHTML="<div style='width:4px;'></div>";b.shrinkWrapBlocks=a.offsetWidth!==2}a.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>";j=a.getElementsByTagName("td");e=j[0].offsetHeight===0;j[0].style.display="";j[1].style.display="none";b.reliableHiddenOffsets=e&&j[0].offsetHeight===0;a.innerHTML="";if(c.defaultView&&c.defaultView.getComputedStyle){i=c.createElement("div");i.style.width="0";i.style.marginRight="0";a.appendChild(i);b.reliableMarginRight=(parseInt((c.defaultView.getComputedStyle(i,null)||{marginRight:0}).marginRight,10)||0)===0}f.innerHTML="";l.removeChild(f);if(a.attachEvent)for(h in{submit:1,change:1,focusin:1}){k="on"+h;e=k in a;if(!e){a.setAttribute(k,"return;");e=typeof a[k]==="function"}b[h+"Bubbles"]=e}return b}();a.boxModel=a.support.boxModel;var kc=/^(?:\{.*\}|\[.*\])$/,Qb=/([a-z])([A-Z])/g;a.extend({cache:{},uuid:0,expando:"jQuery"+(a.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:true,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:true},hasData:function(b){b=b.nodeType?a.cache[b[a.expando]]:b[a.expando];return!!b&&!A(b)},data:function(h,f,j,k){if(!a.acceptData(h))return;var g=a.expando,l=typeof f==="string",d,i=h.nodeType,e=i?a.cache:h,c=i?h[a.expando]:h[a.expando]&&a.expando;if((!c||k&&c&&!e[c][g])&&l&&j===b)return;if(!c)if(i)h[a.expando]=c=++a.uuid;else c=a.expando;if(!e[c]){e[c]={};if(!i)e[c].toJSON=a.noop}if(typeof f==="object"||typeof f==="function")if(k)e[c][g]=a.extend(e[c][g],f);else e[c]=a.extend(e[c],f);d=e[c];if(k){if(!d[g])d[g]={};d=d[g]}if(j!==b)d[a.camelCase(f)]=j;return f==="events"&&!d[f]?d[g]&&d[g].events:l?d[a.camelCase(f)]:d},removeData:function(e,j,k){if(!a.acceptData(e))return;var f=a.expando,g=e.nodeType,b=g?a.cache:e,c=g?e[a.expando]:a.expando;if(!b[c])return;if(j){var h=k?b[c][f]:b[c];if(h){delete h[j];if(!A(h))return}}if(k){delete b[c][f];if(!A(b[c]))return}var i=b[c][f];if(a.support.deleteExpando||b!=d)delete b[c];else b[c]=null;if(i){b[c]={};if(!g)b[c].toJSON=a.noop;b[c][f]=i}else if(g)if(a.support.deleteExpando)delete e[a.expando];else if(e.removeAttribute)e.removeAttribute(a.expando);else e[a.expando]=null},_data:function(c,d,b){return a.data(c,d,b,true)},acceptData:function(c){if(c.nodeName){var b=a.noData[c.nodeName.toLowerCase()];if(b)return!(b===true||c.getAttribute("classid")!==b)}return true}});a.fn.extend({data:function(e,g){var d=null;if(typeof e==="undefined"){if(this.length){d=a.data(this[0]);if(this[0].nodeType===1)for(var i=this[0].attributes,f,h=0,j=i.length;h<j;h++){f=i[h].name;if(f.indexOf("data-")===0){f=a.camelCase(f.substring(5));cb(this[0],f,d[f])}}}return d}else if(typeof e==="object")return this.each(function(){a.data(this,e)});var c=e.split(".");c[1]=c[1]?"."+c[1]:"";if(g===b){d=this.triggerHandler("getData"+c[1]+"!",[c[0]]);if(d===b&&this.length){d=a.data(this[0],e);d=cb(this[0],e,d)}return d===b&&c[1]?this.data(c[0]):d}else return this.each(function(){var b=a(this),d=[c[0],g];b.triggerHandler("setData"+c[1]+"!",d);a.data(this,e,g);b.triggerHandler("changeData"+c[1]+"!",d)})},removeData:function(b){return this.each(function(){a.removeData(this,b)})}});function cb(d,e,c){if(c===b&&d.nodeType===1){var f="data-"+e.replace(Qb,"$1-$2").toLowerCase();c=d.getAttribute(f);if(typeof c==="string"){try{c=c==="true"?true:c==="false"?false:c==="null"?null:!a.isNaN(c)?parseFloat(c):kc.test(c)?a.parseJSON(c):c}catch(g){}a.data(d,e,c)}else c=b}return c}function A(b){for(var a in b)if(a!=="toJSON")return false;return true}function M(c,d,i){var e=d+"defer",f=d+"queue",g=d+"mark",h=a.data(c,e,b,true);h&&(i==="queue"||!a.data(c,f,b,true))&&(i==="mark"||!a.data(c,g,b,true))&&setTimeout(function(){if(!a.data(c,f,b,true)&&!a.data(c,g,b,true)){a.removeData(c,e,true);h.resolve()}},0)}a.extend({_mark:function(d,c){if(d){c=(c||"fx")+"mark";a.data(d,c,(a.data(d,c,b,true)||0)+1,true)}},_unmark:function(e,c,d){if(e!==true){d=c;c=e;e=false}if(c){d=d||"fx";var f=d+"mark",g=e?0:(a.data(c,f,b,true)||1)-1;if(g)a.data(c,f,g,true);else{a.removeData(c,f,true);M(c,d,"mark")}}},queue:function(f,d,c){if(f){d=(d||"fx")+"queue";var e=a.data(f,d,b,true);if(c)if(!e||a.isArray(c))e=a.data(f,d,a.makeArray(c),true);else e.push(c);return e||[]}},dequeue:function(c,b){b=b||"fx";var d=a.queue(c,b),e=d.shift(),f;if(e==="inprogress")e=d.shift();if(e){b==="fx"&&d.unshift("inprogress");e.call(c,function(){a.dequeue(c,b)})}if(!d.length){a.removeData(c,b+"queue",true);M(c,b,"queue")}}});a.fn.extend({queue:function(c,d){if(typeof c!=="string"){d=c;c="fx"}return d===b?a.queue(this[0],c):this.each(function(){var b=a.queue(this,c,d);c==="fx"&&b[0]!=="inprogress"&&a.dequeue(this,c)})},dequeue:function(b){return this.each(function(){a.dequeue(this,b)})},delay:function(b,c){b=a.fx?a.fx.speeds[b]||b:b;c=c||"fx";return this.queue(c,function(){var d=this;setTimeout(function(){a.dequeue(d,c)},b)})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(c,m){if(typeof c!=="string"){m=c;c=b}c=c||"fx";var i=a.Deferred(),d=this,e=d.length,h=1,f=c+"defer",k=c+"queue",l=c+"mark",j;function g(){!--h&&i.resolveWith(d,[d])}while(e--)if(j=a.data(d[e],f,b,true)||(a.data(d[e],k,b,true)||a.data(d[e],l,b,true))&&a.data(d[e],f,a._Deferred(),true)){h++;j.done(g)}g();return i.promise()}});var mb=/[\n\t\r]/g,K=/\s+/,hc=/\r/g,tc=/^(?:button|input)$/i,Pb=/^(?:button|input|object|select|textarea)$/i,Nb=/^a(?:rea)?$/i,eb=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,Fb=/\:/,j,bb;a.fn.extend({attr:function(c,b){return a.access(this,c,b,true,a.attr)},removeAttr:function(b){return this.each(function(){a.removeAttr(this,b)})},prop:function(c,b){return a.access(this,c,b,true,a.prop)},removeProp:function(c){c=a.propFix[c]||c;return this.each(function(){try{this[c]=b;delete this[c]}catch(a){}})},addClass:function(b){if(a.isFunction(b))return this.each(function(d){var c=a(this);c.addClass(b.call(this,d,c.attr("class")||""))});if(b&&typeof b==="string")for(var e=(b||"").split(K),f=0,j=this.length;f<j;f++){var c=this[f];if(c.nodeType===1)if(!c.className)c.className=b;else{for(var h=" "+c.className+" ",g=c.className,d=0,i=e.length;d<i;d++)if(h.indexOf(" "+e[d]+" ")<0)g+=" "+e[d];c.className=a.trim(g)}}return this},removeClass:function(c){if(a.isFunction(c))return this.each(function(d){var b=a(this);b.removeClass(c.call(this,d,b.attr("class")))});if(c&&typeof c==="string"||c===b)for(var h=(c||"").split(K),g=0,j=this.length;g<j;g++){var d=this[g];if(d.nodeType===1&&d.className)if(c){for(var e=(" "+d.className+" ").replace(mb," "),f=0,i=h.length;f<i;f++)e=e.replace(" "+h[f]+" "," ");d.className=a.trim(e)}else d.className=""}return this},toggleClass:function(b,c){var d=typeof b,e=typeof c==="boolean";return a.isFunction(b)?this.each(function(e){var d=a(this);d.toggleClass(b.call(this,e,d.attr("class"),c),c)}):this.each(function(){if(d==="string"){var f,j=0,h=a(this),g=c,i=b.split(K);while(f=i[j++]){g=e?g:!h.hasClass(f);h[g?"addClass":"removeClass"](f)}}else if(d==="undefined"||d==="boolean"){this.className&&a._data(this,"__className__",this.className);this.className=this.className||b===false?"":a._data(this,"__className__")||""}})},hasClass:function(c){for(var b=" "+c+" ",a=0,d=this.length;a<d;a++)if((" "+this[a].className+" ").replace(mb," ").indexOf(b)>-1)return true;return false},val:function(e){var c,f,d=this[0];if(!arguments.length){if(d){c=a.valHooks[d.nodeName.toLowerCase()]||a.valHooks[d.type];return c&&"get"in c&&(f=c.get(d,"value"))!==b?f:(d.value||"").replace(hc,"")}return b}var g=a.isFunction(e);return this.each(function(h){var f=a(this),d;if(this.nodeType!==1)return;if(g)d=e.call(this,h,f.val());else d=e;if(d==null)d="";else if(typeof d==="number")d+="";else if(a.isArray(d))d=a.map(d,function(a){return a==null?"":a+""});c=a.valHooks[this.nodeName.toLowerCase()]||a.valHooks[this.type];if(!c||!("set"in c)||c.set(this,d,"value")===b)this.value=d})}});a.extend({valHooks:{option:{"get":function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{"get":function(h){var g,d=h.selectedIndex,f=[],c=h.options,e=h.type==="select-one";if(d<0)return null;for(var i=e?d:0,j=e?d+1:c.length;i<j;i++){var b=c[i];if(b.selected&&(a.support.optDisabled?!b.disabled:b.getAttribute("disabled")===null)&&(!b.parentNode.disabled||!a.nodeName(b.parentNode,"optgroup"))){g=a(b).val();if(e)return g;f.push(g)}}return e&&!f.length&&c.length?a(c[d]).val():f},"set":function(c,d){var b=a.makeArray(d);a(c).find("option").each(function(){this.selected=a.inArray(a(this).val(),b)>=0});if(!b.length)c.selectedIndex=-1;return b}}},attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attrFix:{tabindex:"tabIndex"},attr:function(d,c,f,k){var h=d.nodeType;if(!d||h===3||h===8||h===2)return b;if(k&&c in a.attrFn)return a(d)[c](f);if(!("getAttribute"in d))return a.prop(d,c,f);var g,e,i=h!==1||!a.isXMLDoc(d);c=i&&a.attrFix[c]||c;e=a.attrHooks[c];if(!e)if(eb.test(c)&&(typeof f==="boolean"||f===b||f.toLowerCase()===c.toLowerCase()))e=bb;else if(j&&(a.nodeName(d,"form")||Fb.test(c)))e=j;if(f!==b)if(f===null){a.removeAttr(d,c);return b}else if(e&&"set"in e&&i&&(g=e.set(d,f,c))!==b)return g;else{d.setAttribute(c,""+f);return f}else if(e&&"get"in e&&i)return e.get(d,c);else{g=d.getAttribute(c);return g===null?b:g}},removeAttr:function(c,b){var d;if(c.nodeType===1){b=a.attrFix[b]||b;if(a.support.getSetAttribute)c.removeAttribute(b);else{a.attr(c,b,"");c.removeAttributeNode(c.getAttributeNode(b))}if(eb.test(b)&&(d=a.propFix[b]||b)in c)c[d]=false}},attrHooks:{type:{"set":function(b,c){if(tc.test(b.nodeName)&&b.parentNode)a.error("type property can't be changed");else if(!a.support.radioValue&&c==="radio"&&a.nodeName(b,"input")){var d=b.value;b.setAttribute("type",c);if(d)b.value=d;return c}}},tabIndex:{"get":function(a){var c=a.getAttributeNode("tabIndex");return c&&c.specified?parseInt(c.value,10):Pb.test(a.nodeName)||Nb.test(a.nodeName)&&a.href?0:b}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(e,c,h){var f=e.nodeType;if(!e||f===3||f===8||f===2)return b;var g,d,i=f!==1||!a.isXMLDoc(e);c=i&&a.propFix[c]||c;d=a.propHooks[c];return h!==b?d&&"set"in d&&(g=d.set(e,h,c))!==b?g:(e[c]=h):d&&"get"in d&&(g=d.get(e,c))!==b?g:e[c]},propHooks:{}});bb={"get":function(d,c){return d[a.propFix[c]||c]?c.toLowerCase():b},"set":function(c,e,b){var d;if(e===false)a.removeAttr(c,b);else{d=a.propFix[b]||b;if(d in c)c[d]=e;c.setAttribute(b,b.toLowerCase())}return b}};a.attrHooks.value={"get":function(b,c){return j&&a.nodeName(b,"button")?j.get(b,c):b.value},"set":function(b,c,d){if(j&&a.nodeName(b,"button"))return j.set(b,c,d);b.value=c}};if(!a.support.getSetAttribute){a.attrFix=a.propFix;j=a.attrHooks.name=a.valHooks.button={"get":function(c,d){var a;a=c.getAttributeNode(d);return a&&a.nodeValue!==""?a.nodeValue:b},"set":function(c,a,d){var b=c.getAttributeNode(d);if(b){b.nodeValue=a;return a}}};a.each(["width","height"],function(c,b){a.attrHooks[b]=a.extend(a.attrHooks[b],{"set":function(c,a){if(a===""){c.setAttribute(b,"auto");return a}}})})}!a.support.hrefNormalized&&a.each(["href","src","width","height"],function(d,c){a.attrHooks[c]=a.extend(a.attrHooks[c],{"get":function(d){var a=d.getAttribute(c,2);return a===null?b:a}})});if(!a.support.style)a.attrHooks.style={"get":function(a){return a.style.cssText.toLowerCase()||b},"set":function(b,a){return b.style.cssText=""+a}};if(!a.support.optSelected)a.propHooks.selected=a.extend(a.propHooks.selected,{"get":function(b){var a=b.parentNode;if(a){a.selectedIndex;if(a.parentNode)a.parentNode.selectedIndex}}});!a.support.checkOn&&a.each(["radio","checkbox"],function(){a.valHooks[this]={"get":function(a){return a.getAttribute("value")===null?"on":a.value}}});a.each(["radio","checkbox"],function(){a.valHooks[this]=a.extend(a.valHooks[this],{"set":function(c,b){if(a.isArray(b))return c.checked=a.inArray(a(c).val(),b)>=0}})});var Bc=Object.prototype.hasOwnProperty,F=/\.(.*)$/,H=/^(?:textarea|input|select)$/i,fc=/\./g,jc=/ /g,ec=/[^\w\s.|`]/g,Wb=function(a){return a.replace(ec,"\\$&")};a.event={add:function(d,o,c,p){if(d.nodeType===3||d.nodeType===8)return;if(c===false)c=i;else if(!c)return;var k,f;if(c.handler){k=c;c=k.handler}if(!c.guid)c.guid=a.guid++;var j=a._data(d);if(!j)return;var m=j.events,g=j.handle;if(!m)j.events=m={};if(!g)j.handle=g=function(c){return typeof a!=="undefined"&&(!c||a.event.triggered!==c.type)?a.event.handle.apply(g.elem,arguments):b};g.elem=d;o=o.split(" ");var e,q=0,h;while(e=o[q++]){f=k?a.extend({},k):{handler:c,data:p};if(e.indexOf(".")>-1){h=e.split(".");e=h.shift();f.namespace=h.slice(0).sort().join(".")}else{h=[];f.namespace=""}f.type=e;if(!f.guid)f.guid=c.guid;var n=m[e],l=a.event.special[e]||{};if(!n){n=m[e]=[];if(!l.setup||l.setup.call(d,p,h,g)===false)if(d.addEventListener)d.addEventListener(e,g,false);else d.attachEvent&&d.attachEvent("on"+e,g)}if(l.add){l.add.call(d,f);if(!f.handler.guid)f.handler.guid=c.guid}n.push(f);a.event.global[e]=true}d=null},global:{},remove:function(g,c,l,p){if(g.nodeType===3||g.nodeType===8)return;if(l===false)l=i;var t,d,v,e,u=0,o,k,q,m,f,h,r,j=a.hasData(g)&&a._data(g),n=j&&j.events;if(!j||!n)return;if(c&&c.type){l=c.handler;c=c.type}if(!c||typeof c==="string"&&c.charAt(0)==="."){c=c||"";for(d in n)a.event.remove(g,d+c);return}c=c.split(" ");while(d=c[u++]){r=d;h=null;o=d.indexOf(".")<0;k=[];if(!o){k=d.split(".");d=k.shift();q=new RegExp("(^|\\.)"+a.map(k.slice(0).sort(),Wb).join("\\.(?:.*\\.)?")+"(\\.|$)")}f=n[d];if(!f)continue;if(!l){for(e=0;e<f.length;e++){h=f[e];if(o||q.test(h.namespace)){a.event.remove(g,r,h.handler,e);f.splice(e--,1)}}continue}m=a.event.special[d]||{};for(e=p||0;e<f.length;e++){h=f[e];if(l.guid===h.guid){if(o||q.test(h.namespace)){p==null&&f.splice(e--,1);m.remove&&m.remove.call(g,h)}if(p!=null)break}}if(f.length===0||p!=null&&f.length===1){(!m.teardown||m.teardown.call(g,k)===false)&&a.removeEvent(g,d,j.handle);t=null;delete n[d]}}if(a.isEmptyObject(n)){var s=j.handle;if(s)s.elem=null;delete j.events;delete j.handle;a.isEmptyObject(j)&&a.removeData(g,b,true)}},customEvent:{getData:true,setData:true,changeData:true},trigger:function(c,i,f,o){var e=c.type||c,j=[],l;if(e.indexOf("!")>=0){e=e.slice(0,-1);l=true}if(e.indexOf(".")>=0){j=e.split(".");e=j.shift();j.sort()}if((!f||a.event.customEvent[e])&&!a.event.global[e])return;c=typeof c==="object"?c[a.expando]?c:new a.Event(e,c):new a.Event(e);c.type=e;c.exclusive=l;c.namespace=j.join(".");c.namespace_re=new RegExp("(^|\\.)"+j.join("\\.(?:.*\\.)?")+"(\\.|$)");if(o||!f){c.preventDefault();c.stopPropagation()}if(!f){a.each(a.cache,function(){var d=a.expando,b=this[d];b&&b.events&&b.events[e]&&a.event.trigger(c,i,b.handle.elem)});return}if(f.nodeType===3||f.nodeType===8)return;c.result=b;c.target=f;i=i?a.makeArray(i):[];i.unshift(c);var g=f,h=e.indexOf(":")<0?"on"+e:"";do{var n=a._data(g,"handle");c.currentTarget=g;n&&n.apply(g,i);if(h&&a.acceptData(g)&&g[h]&&g[h].apply(g,i)===false){c.result=false;c.preventDefault()}g=g.parentNode||g.ownerDocument||g===c.target.ownerDocument&&d}while(g&&!c.isPropagationStopped());if(!c.isDefaultPrevented()){var k,m=a.event.special[e]||{};if((!m._default||m._default.call(f.ownerDocument,c)===false)&&!(e==="click"&&a.nodeName(f,"a"))&&a.acceptData(f)){try{if(h&&f[e]){k=f[h];if(k)f[h]=null;a.event.triggered=e;f[e]()}}catch(p){}if(k)f[h]=k;a.event.triggered=b}}return c.result},handle:function(c){c=a.event.fix(c||d.event);var h=((a._data(this,"events")||{})[c.type]||[]).slice(0),j=!c.exclusive&&!c.namespace,i=Array.prototype.slice.call(arguments,0);i[0]=c;c.currentTarget=this;for(var g=0,k=h.length;g<k;g++){var e=h[g];if(j||c.namespace_re.test(e.namespace)){c.handler=e.handler;c.data=e.data;c.handleObj=e;var f=e.handler.apply(this,i);if(f!==b){c.result=f;if(f===false){c.preventDefault();c.stopPropagation()}}if(c.isImmediatePropagationStopped())break}}return c.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(d){if(d[a.expando])return d;var i=d;d=a.Event(i);for(var j=this.props.length,g;j;){g=this.props[--j];d[g]=i[g]}if(!d.target)d.target=d.srcElement||c;if(d.target.nodeType===3)d.target=d.target.parentNode;if(!d.relatedTarget&&d.fromElement)d.relatedTarget=d.fromElement===d.target?d.toElement:d.fromElement;if(d.pageX==null&&d.clientX!=null){var h=d.target.ownerDocument||c,f=h.documentElement,e=h.body;d.pageX=d.clientX+(f&&f.scrollLeft||e&&e.scrollLeft||0)-(f&&f.clientLeft||e&&e.clientLeft||0);d.pageY=d.clientY+(f&&f.scrollTop||e&&e.scrollTop||0)-(f&&f.clientTop||e&&e.clientTop||0)}if(d.which==null&&(d.charCode!=null||d.keyCode!=null))d.which=d.charCode!=null?d.charCode:d.keyCode;if(!d.metaKey&&d.ctrlKey)d.metaKey=d.ctrlKey;if(!d.which&&d.button!==b)d.which=d.button&1?1:d.button&2?3:d.button&4?2:0;return d},guid:1e8,proxy:a.proxy,special:{ready:{setup:a.bindReady,teardown:a.noop},live:{add:function(b){a.event.add(this,s(b.origType,b.selector),a.extend({},b,{handler:Ib,guid:b.handler.guid}))},remove:function(b){a.event.remove(this,s(b.origType,b.selector),b)}},beforeunload:{setup:function(d,c,b){if(a.isWindow(this))this.onbeforeunload=b},teardown:function(b,a){if(this.onbeforeunload===a)this.onbeforeunload=null}}}};a.removeEvent=c.removeEventListener?function(a,c,b){a.removeEventListener&&a.removeEventListener(c,b,false)}:function(a,c,b){a.detachEvent&&a.detachEvent("on"+c,b)};a.Event=function(b,c){if(!this.preventDefault)return new a.Event(b,c);if(b&&b.type){this.originalEvent=b;this.type=b.type;this.isDefaultPrevented=b.defaultPrevented||b.returnValue===false||b.getPreventDefault&&b.getPreventDefault()?t:i}else this.type=b;c&&a.extend(this,c);this.timeStamp=a.now();this[a.expando]=true};function i(){return false}function t(){return true}a.Event.prototype={preventDefault:function(){this.isDefaultPrevented=t;var a=this.originalEvent;if(!a)return;if(a.preventDefault)a.preventDefault();else a.returnValue=false},stopPropagation:function(){this.isPropagationStopped=t;var a=this.originalEvent;if(!a)return;a.stopPropagation&&a.stopPropagation();a.cancelBubble=true},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=t;this.stopPropagation()},isDefaultPrevented:i,isPropagationStopped:i,isImmediatePropagationStopped:i};var V=function(d){var b=d.relatedTarget;d.type=d.data;try{if(b&&b!==c&&!b.parentNode)return;while(b&&b!==this)b=b.parentNode;b!==this&&a.event.handle.apply(this,arguments)}catch(e){}},db=function(b){b.type=b.data;a.event.handle.apply(this,arguments)};a.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(b,c){a.event.special[b]={setup:function(d){a.event.add(this,c,d&&d.selector?db:V,b)},teardown:function(b){a.event.remove(this,c,b&&b.selector?db:V)}}});if(!a.support.submitBubbles)a.event.special.submit={setup:function(){if(!a.nodeName(this,"form")){a.event.add(this,"click.specialSubmit",function(d){var b=d.target,c=b.type;(c==="submit"||c==="image")&&a(b).closest("form").length&&jb("submit",this,arguments)});a.event.add(this,"keypress.specialSubmit",function(d){var b=d.target,c=b.type;(c==="text"||c==="password")&&a(b).closest("form").length&&d.keyCode===13&&jb("submit",this,arguments)})}else return false},teardown:function(){a.event.remove(this,".specialSubmit")}};if(!a.support.changeBubbles){var o,kb=function(b){var d=b.type,c=b.value;if(d==="radio"||d==="checkbox")c=b.checked;else if(d==="select-multiple")c=b.selectedIndex>-1?a.map(b.options,function(a){return a.selected}).join("-"):"";else if(a.nodeName(b,"select"))c=b.selectedIndex;return c},u=function(d){var c=d.target,e,f;if(!H.test(c.nodeName)||c.readOnly)return;e=a._data(c,"_change_data");f=kb(c);(d.type!=="focusout"||c.type!=="radio")&&a._data(c,"_change_data",f);if(e===b||f===e)return;if(e!=null||f){d.type="change";d.liveFired=b;a.event.trigger(d,arguments[1],c)}};a.event.special.change={filters:{focusout:u,beforedeactivate:u,click:function(d){var b=d.target,c=a.nodeName(b,"input")?b.type:"";(c==="radio"||c==="checkbox"||a.nodeName(b,"select"))&&u.call(this,d)},keydown:function(b){var c=b.target,d=a.nodeName(c,"input")?c.type:"";(b.keyCode===13&&!a.nodeName(c,"textarea")||b.keyCode===32&&(d==="checkbox"||d==="radio")||d==="select-multiple")&&u.call(this,b)},beforeactivate:function(c){var b=c.target;a._data(b,"_change_data",kb(b))}},setup:function(){if(this.type==="file")return false;for(var b in o)a.event.add(this,b+".specialChange",o[b]);return H.test(this.nodeName)},teardown:function(){a.event.remove(this,".specialChange");return H.test(this.nodeName)}};o=a.event.special.change.filters;o.focus=o.beforeactivate}function jb(f,e,d){var c=a.extend({},d[0]);c.type=f;c.originalEvent={};c.liveFired=b;a.event.handle.call(e,c);c.isDefaultPrevented()&&d[0].preventDefault()}!a.support.focusinBubbles&&a.each({focus:"focusin",blur:"focusout"},function(e,f){var b=0;a.event.special[f]={setup:function(){b++===0&&c.addEventListener(e,d,true)},teardown:function(){--b===0&&c.removeEventListener(e,d,true)}};function d(c){var b=a.event.fix(c);b.type=f;b.originalEvent={};a.event.trigger(b,null,b.target);b.isDefaultPrevented()&&c.preventDefault()}});a.each(["bind","one"],function(d,c){a.fn[c]=function(e,d,f){var g;if(typeof e==="object"){for(var i in e)this[c](i,d,e[i],f);return this}if(arguments.length===2||d===false){f=d;d=b}if(c==="one"){g=function(b){a(this).unbind(b,g);return f.apply(this,arguments)};g.guid=f.guid||a.guid++}else g=f;if(e==="unload"&&c!=="one")this.one(e,d,f);else for(var h=0,j=this.length;h<j;h++)a.event.add(this[h],e,g,d);return this}});a.fn.extend({unbind:function(b,e){if(typeof b==="object"&&!b.preventDefault)for(var d in b)this.unbind(d,b[d]);else for(var c=0,f=this.length;c<f;c++)a.event.remove(this[c],b,e);return this},delegate:function(a,b,c,d){return this.live(b,c,d,a)},undelegate:function(a,b,c){return arguments.length===0?this.unbind("live"):this.die(b,null,c,a)},trigger:function(c,b){return this.each(function(){a.event.trigger(c,b,this)})},triggerHandler:function(c,b){if(this[0])return a.event.trigger(c,b,this[0],true)},toggle:function(c){var b=arguments,f=c.guid||a.guid++,d=0,e=function(f){var e=(a.data(this,"lastToggle"+c.guid)||0)%d;a.data(this,"lastToggle"+c.guid,e+1);f.preventDefault();return b[e].apply(this,arguments)||false};e.guid=f;while(d<b.length)b[d++].guid=f;return this.click(e)},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});var J={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};a.each(["live","die"],function(d,c){a.fn[c]=function(e,g,l,h){var d,q=0,m,f,o,k=h||this.selector,j=h?this:a(this.context);if(typeof e==="object"&&!e.preventDefault){for(var p in e)j[c](p,g,e[p],k);return this}if(c==="die"&&!e&&h&&h.charAt(0)==="."){j.unbind(h);return this}if(g===false||a.isFunction(g)){l=g||i;g=b}e=(e||"").split(" ");while((d=e[q++])!=null){m=F.exec(d);f="";if(m){f=m[0];d=d.replace(F,"")}if(d==="hover"){e.push("mouseenter"+f,"mouseleave"+f);continue}o=d;if(J[d]){e.push(J[d]+f);d=d+f}else d=(J[d]||d)+f;if(c==="live")for(var n=0,r=j.length;n<r;n++)a.event.add(j[n],"live."+s(d,k),{data:g,selector:k,handler:l,origType:d,origHandler:l,preType:o});else j.unbind("live."+s(d,k),l)}return this}});function Ib(b){var r,m,g,d,c,i,e,f,k,s,h,l,p,o=[],q=[],n=a._data(this,"events");if(b.liveFired===this||!n||!n.live||b.target.disabled||b.button&&b.type==="click")return;if(b.namespace)l=new RegExp("(^|\\.)"+b.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)");b.liveFired=this;var j=n.live.slice(0);for(e=0;e<j.length;e++){c=j[e];if(c.origType.replace(F,"")===b.type)q.push(c.selector);else j.splice(e--,1)}d=a(b.target).closest(q,b.currentTarget);for(f=0,k=d.length;f<k;f++){h=d[f];for(e=0;e<j.length;e++){c=j[e];if(h.selector===c.selector&&(!l||l.test(c.namespace))&&!h.elem.disabled){i=h.elem;g=null;if(c.preType==="mouseenter"||c.preType==="mouseleave"){b.type=c.preType;g=a(b.relatedTarget).closest(c.selector)[0];if(g&&a.contains(i,g))g=i}(!g||g!==i)&&o.push({elem:i,handleObj:c,level:h.level})}}}for(f=0,k=o.length;f<k;f++){d=o[f];if(m&&d.level>m)break;b.currentTarget=d.elem;b.data=d.handleObj.data;b.handleObj=d.handleObj;p=d.handleObj.origHandler.apply(d.elem,arguments);if(p===false||b.isPropagationStopped()){m=d.level;if(p===false)r=false;if(b.isImmediatePropagationStopped())break}}return r}function s(a,b){return(a&&a!=="*"?a+".":"")+b.replace(fc,"`").replace(jc,"&")}a.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".split(" "),function(c,b){a.fn[b]=function(a,c){if(c==null){c=a;a=null}return arguments.length>0?this.bind(b,a,c):this.trigger(b)};if(a.attrFn)a.attrFn[b]=true});(function(){var m=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,n=0,s=Object.prototype.toString,i=false,o=true,g=/\\/g,k=/\W/;[0,0].sort(function(){o=false;return 0});var d=function(k,b,i,t){i=i||[];b=b||c;var y=b;if(b.nodeType!==1&&b.nodeType!==9)return[];if(!k||typeof k!=="string")return i;var n,l,g,v,j,o,p,h,w=true,r=d.isXML(b),a=[],x=k;do{m.exec("");n=m.exec(x);if(n){x=n[3];a.push(n[1]);if(n[2]){v=n[3];break}}}while(n);if(a.length>1&&u.exec(k))if(a.length===2&&e.relative[a[0]])l=q(a[0]+a[1],b);else{l=e.relative[a[0]]?[b]:d(a.shift(),b);while(a.length){k=a.shift();if(e.relative[k])k+=a.shift();l=q(k,l)}}else{if(!t&&a.length>1&&b.nodeType===9&&!r&&e.match.ID.test(a[0])&&!e.match.ID.test(a[a.length-1])){j=d.find(a.shift(),b,r);b=j.expr?d.filter(j.expr,j.set)[0]:j.set[0]}if(b){j=t?{expr:a.pop(),"set":f(t)}:d.find(a.pop(),a.length===1&&(a[0]==="~"||a[0]==="+")&&b.parentNode?b.parentNode:b,r);l=j.expr?d.filter(j.expr,j.set):j.set;if(a.length>0)g=f(l);else w=false;while(a.length){o=a.pop();p=o;if(!e.relative[o])o="";else p=a.pop();if(p==null)p=b;e.relative[o](g,p,r)}}else g=a=[]}if(!g)g=l;!g&&d.error(o||k);if(s.call(g)==="[object Array]")if(!w)i.push.apply(i,g);else if(b&&b.nodeType===1)for(h=0;g[h]!=null;h++)g[h]&&(g[h]===true||g[h].nodeType===1&&d.contains(b,g[h]))&&i.push(l[h]);else for(h=0;g[h]!=null;h++)g[h]&&g[h].nodeType===1&&i.push(l[h]);else f(g,i);if(v){d(v,y,i,t);d.uniqueSort(i)}return i};d.uniqueSort=function(a){if(j){i=o;a.sort(j);if(i)for(var b=1;b<a.length;b++)a[b]===a[b-1]&&a.splice(b--,1)}return a};d.matches=function(a,b){return d(a,null,null,b)};d.matchesSelector=function(b,a){return d(a,null,null,[b]).length>0};d.find=function(b,d,j){var c;if(!b)return[];for(var h=0,k=e.order.length;h<k;h++){var a,f=e.order[h];if(a=e.leftMatch[f].exec(b)){var i=a[1];a.splice(1,1);if(i.substr(i.length-1)!=="\\"){a[1]=(a[1]||"").replace(g,"");c=e.find[f](a,d,j);if(c!=null){b=b.replace(e.match[f],"");break}}}}if(!c)c=typeof d.getElementsByTagName!=="undefined"?d.getElementsByTagName("*"):[];return{"set":c,expr:b}};d.filter=function(c,k,n,q){var a,g,r=c,h=[],f=k,s=k&&k[0]&&d.isXML(k[0]);while(c&&k.length){for(var j in e.filter)if((a=e.leftMatch[j].exec(c))!=null&&a[2]){var i,l,t=e.filter[j],o=a[1];g=false;a.splice(1,1);if(o.substr(o.length-1)==="\\")continue;if(f===h)h=[];if(e.preFilter[j]){a=e.preFilter[j](a,f,n,h,q,s);if(!a)g=i=true;else if(a===true)continue}if(a)for(var m=0;(l=f[m])!=null;m++)if(l){i=t(l,a,m,f);var p=q^!!i;if(n&&i!=null)if(p)g=true;else f[m]=false;else if(p){h.push(l);g=true}}if(i!==b){if(!n)f=h;c=c.replace(e.match[j],"");if(!g)return[];break}}if(c===r)if(g==null)d.error(c);else break;r=c}return f};d.error=function(a){throw"Syntax error, unrecognized expression: "+a;};var e=d.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(a){return a.getAttribute("href")},type:function(a){return a.getAttribute("type")}},relative:{"+":function(c,b){var g=typeof b==="string",h=g&&!k.test(b),f=g&&!h;if(h)b=b.toLowerCase();for(var e=0,i=c.length,a;e<i;e++)if(a=c[e]){while((a=a.previousSibling)&&a.nodeType!==1);c[e]=f||a&&a.nodeName.toLowerCase()===b?a||false:a===b}f&&d.filter(b,c,true)},">":function(e,c){var b,f=typeof c==="string",a=0,h=e.length;if(f&&!k.test(c)){c=c.toLowerCase();for(;a<h;a++){b=e[a];if(b){var g=b.parentNode;e[a]=g.nodeName.toLowerCase()===c?g:false}}}else{for(;a<h;a++){b=e[a];if(b)e[a]=f?b.parentNode:b.parentNode===c}f&&d.filter(c,e,true)}},"":function(d,a,f){var b,e=n++,c=r;if(typeof a==="string"&&!k.test(a)){a=a.toLowerCase();b=a;c=p}c("parentNode",a,e,d,b,f)},"~":function(d,a,f){var b,e=n++,c=r;if(typeof a==="string"&&!k.test(a)){a=a.toLowerCase();b=a;c=p}c("previousSibling",a,e,d,b,f)}},find:{ID:function(d,b,c){if(typeof b.getElementById!=="undefined"&&!c){var a=b.getElementById(d[1]);return a&&a.parentNode?[a]:[]}},NAME:function(e,d){if(typeof d.getElementsByName!=="undefined"){for(var c=[],b=d.getElementsByName(e[1]),a=0,f=b.length;a<f;a++)b[a].getAttribute("name")===e[1]&&c.push(b[a]);return c.length===0?null:c}},TAG:function(b,a){if(typeof a.getElementsByTagName!=="undefined")return a.getElementsByTagName(b[1])}},preFilter:{CLASS:function(b,d,e,f,i,h){b=" "+b[1].replace(g,"")+" ";if(h)return b;for(var c=0,a;(a=d[c])!=null;c++)if(a)if(i^(a.className&&(" "+a.className+" ").replace(/[\t\n\r]/g," ").indexOf(b)>=0))!e&&f.push(a);else if(e)d[c]=false;return false},ID:function(a){return a[1].replace(g,"")},TAG:function(a){return a[1].replace(g,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){!a[2]&&d.error(a[0]);a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0;a[3]=b[3]-0}else a[2]&&d.error(a[0]);a[0]=n++;return a},ATTR:function(a,d,f,h,i,c){var b=a[1]=a[1].replace(g,"");if(!c&&e.attrMap[b])a[1]=e.attrMap[b];a[4]=(a[4]||a[5]||"").replace(g,"");if(a[2]==="~=")a[4]=" "+a[4]+" ";return a},PSEUDO:function(a,b,c,f,g){if(a[1]==="not")if((m.exec(a[3])||"").length>1||/^\w/.test(a[3]))a[3]=d(a[3],null,null,b);else{var h=d.filter(a[3],b,c,true^g);!c&&f.push.apply(f,h);return false}else if(e.match.POS.test(a[0])||e.match.CHILD.test(a[0]))return true;return a},POS:function(a){a.unshift(true);return a}},filters:{enabled:function(a){return a.disabled===false&&a.type!=="hidden"},disabled:function(a){return a.disabled===true},checked:function(a){return a.checked===true},selected:function(a){if(a.parentNode)a.parentNode.selectedIndex;return a.selected===true},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(b,c,a){return!!d(a[3],b).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){var b=a.getAttribute("type"),c=a.type;return a.nodeName.toLowerCase()==="input"&&"text"===c&&(b===c||b===null)},radio:function(a){return a.nodeName.toLowerCase()==="input"&&"radio"===a.type},checkbox:function(a){return a.nodeName.toLowerCase()==="input"&&"checkbox"===a.type},file:function(a){return a.nodeName.toLowerCase()==="input"&&"file"===a.type},password:function(a){return a.nodeName.toLowerCase()==="input"&&"password"===a.type},submit:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"submit"===a.type},image:function(a){return a.nodeName.toLowerCase()==="input"&&"image"===a.type},reset:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"reset"===a.type},button:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&"button"===a.type||b==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)},focus:function(a){return a===a.ownerDocument.activeElement}},setFilters:{first:function(b,a){return a===0},last:function(d,b,c,a){return b===a.length-1},even:function(b,a){return a%2===0},odd:function(b,a){return a%2===1},lt:function(c,b,a){return b<a[3]-0},gt:function(c,b,a){return b>a[3]-0},nth:function(c,b,a){return a[3]-0===b},eq:function(c,b,a){return a[3]-0===b}},filter:{PSEUDO:function(a,b,j,i){var c=b[1],g=e.filters[c];if(g)return g(a,j,b,i);else if(c==="contains")return(a.textContent||a.innerText||d.getText([a])||"").indexOf(b[3])>=0;else if(c==="not"){for(var h=b[3],f=0,k=h.length;f<k;f++)if(h[f]===a)return false;return true}else d.error(c)},CHILD:function(b,e){var i=e[1],a=b;switch(i){case"only":case"first":while(a=a.previousSibling)if(a.nodeType===1)return false;if(i==="first")return true;a=b;case"last":while(a=a.nextSibling)if(a.nodeType===1)return false;return true;case"nth":var d=e[2],h=e[3];if(d===1&&h===0)return true;var g=e[0],c=b.parentNode;if(c&&(c.sizcache!==g||!b.nodeIndex)){var j=0;for(a=c.firstChild;a;a=a.nextSibling)if(a.nodeType===1)a.nodeIndex=++j;c.sizcache=g}var f=b.nodeIndex-h;return d===0?f===0:f%d===0&&f/d>=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(b,a){return a==="*"&&b.nodeType===1||b.nodeName.toLowerCase()===a},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(f,h){var d=h[1],g=e.attrHandle[d]?e.attrHandle[d](f):f[d]!=null?f[d]:f.getAttribute(d),b=g+"",c=h[2],a=h[4];return g==null?c==="!=":c==="="?b===a:c==="*="?b.indexOf(a)>=0:c==="~="?(" "+b+" ").indexOf(a)>=0:!a?b&&g!==false:c==="!="?b!==a:c==="^="?b.indexOf(a)===0:c==="$="?b.substr(b.length-a.length)===a:c==="|="?b===a||b.substr(0,a.length+1)===a+"-":false},POS:function(d,b,g,c){var f=b[2],a=e.setFilters[f];if(a)return a(d,g,b,c)}}},u=e.match.POS,t=function(b,a){return"\\"+(a-0+1)};for(var l in e.match){e.match[l]=new RegExp(e.match[l].source+/(?![^\[]*\])(?![^\(]*\))/.source);e.leftMatch[l]=new RegExp(/(^(?:.|\r|\n)*?)/.source+e.match[l].source.replace(/\\(\d+)/g,t))}var f=function(b,a){b=Array.prototype.slice.call(b,0);if(a){a.push.apply(a,b);return a}return b};try{Array.prototype.slice.call(c.documentElement.childNodes,0)[0].nodeType}catch(v){f=function(a,d){var b=0,c=d||[];if(s.call(a)==="[object Array]")Array.prototype.push.apply(c,a);else if(typeof a.length==="number")for(var e=a.length;b<e;b++)c.push(a[b]);else for(;a[b];b++)c.push(a[b]);return c}}var j,h;if(c.documentElement.compareDocumentPosition)j=function(a,b){if(a===b){i=true;return 0}return!a.compareDocumentPosition||!b.compareDocumentPosition?a.compareDocumentPosition?-1:1:a.compareDocumentPosition(b)&4?-1:1};else{j=function(c,d){if(c===d){i=true;return 0}else if(c.sourceIndex&&d.sourceIndex)return c.sourceIndex-d.sourceIndex;var k,l,e=[],f=[],g=c.parentNode,j=d.parentNode,b=g;if(g===j)return h(c,d);else if(!g)return-1;else if(!j)return 1;while(b){e.unshift(b);b=b.parentNode}b=j;while(b){f.unshift(b);b=b.parentNode}k=e.length;l=f.length;for(var a=0;a<k&&a<l;a++)if(e[a]!==f[a])return h(e[a],f[a]);return a===k?h(c,f[a],-1):h(e[a],d,1)};h=function(b,c,d){if(b===c)return d;var a=b.nextSibling;while(a){if(a===c)return-1;a=a.nextSibling}return 1}}d.getText=function(e){for(var b="",a,c=0;e[c];c++){a=e[c];if(a.nodeType===3||a.nodeType===4)b+=a.nodeValue;else if(a.nodeType!==8)b+=d.getText(a.childNodes)}return b};(function(){var a=c.createElement("div"),f="script"+(new Date).getTime(),d=c.documentElement;a.innerHTML="<a name='"+f+"'/>";d.insertBefore(a,d.firstChild);if(c.getElementById(f)){e.find.ID=function(c,d,e){if(typeof d.getElementById!=="undefined"&&!e){var a=d.getElementById(c[1]);return a?a.id===c[1]||typeof a.getAttributeNode!=="undefined"&&a.getAttributeNode("id").nodeValue===c[1]?[a]:b:[]}};e.filter.ID=function(a,c){var b=typeof a.getAttributeNode!=="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&b&&b.nodeValue===c}}d.removeChild(a);d=a=null})();(function(){var a=c.createElement("div");a.appendChild(c.createComment(""));if(a.getElementsByTagName("*").length>0)e.find.TAG=function(c,e){var a=e.getElementsByTagName(c[1]);if(c[1]==="*"){for(var d=[],b=0;a[b];b++)a[b].nodeType===1&&d.push(a[b]);a=d}return a};a.innerHTML="<a href='#'></a>";if(a.firstChild&&typeof a.firstChild.getAttribute!=="undefined"&&a.firstChild.getAttribute("href")!=="#")e.attrHandle.href=function(a){return a.getAttribute("href",2)};a=null})();c.querySelectorAll&&(function(){var b=d,a=c.createElement("div"),h="__sizzle__";a.innerHTML="<p class='TEST'></p>";if(a.querySelectorAll&&a.querySelectorAll(".TEST").length===0)return;d=function(j,a,g,p){a=a||c;if(!p&&!d.isXML(a)){var i=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(j);if(i&&(a.nodeType===1||a.nodeType===9))if(i[1])return f(a.getElementsByTagName(j),g);else if(i[2]&&e.find.CLASS&&a.getElementsByClassName)return f(a.getElementsByClassName(i[2]),g);if(a.nodeType===9){if(j==="body"&&a.body)return f([a.body],g);else if(i&&i[3]){var k=a.getElementById(i[3]);if(k&&k.parentNode){if(k.id===i[3])return f([k],g)}else return f([],g)}try{return f(a.querySelectorAll(j),g)}catch(s){}}else if(a.nodeType===1&&a.nodeName.toLowerCase()!=="object"){var q=a,m=a.getAttribute("id"),l=m||h,o=a.parentNode,n=/^\s*[+~]/.test(j);if(!m)a.setAttribute("id",l);else l=l.replace(/'/g,"\\$&");if(n&&o)a=a.parentNode;try{if(!n||o)return f(a.querySelectorAll("[id='"+l+"'] "+j),g)}catch(r){}finally{!m&&q.removeAttribute("id")}}}return b(j,a,g,p)};for(var g in b)d[g]=b[g];a=null})();(function(){var b=c.documentElement,a=b.matchesSelector||b.mozMatchesSelector||b.webkitMatchesSelector||b.msMatchesSelector;if(a){var g=!a.call(c.createElement("div"),"div"),f=false;try{a.call(c.documentElement,"[test!='']:sizzle")}catch(h){f=true}d.matchesSelector=function(c,b){b=b.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!d.isXML(c))try{if(f||!e.match.PSEUDO.test(b)&&!/!=/.test(b)){var h=a.call(c,b);if(h||!g||c.document&&c.document.nodeType!==11)return h}}catch(i){}return d(b,null,null,[c]).length>0}}})();(function(){var a=c.createElement("div");a.innerHTML="<div class='test e'></div><div class='test'></div>";if(!a.getElementsByClassName||a.getElementsByClassName("e").length===0)return;a.lastChild.className="e";if(a.getElementsByClassName("e").length===1)return;e.order.splice(1,0,"CLASS");e.find.CLASS=function(c,a,b){if(typeof a.getElementsByClassName!=="undefined"&&!b)return a.getElementsByClassName(c[1])};a=null})();function p(f,h,e,c,j,g){for(var b=0,i=c.length;b<i;b++){var a=c[b];if(a){var d=false;a=a[f];while(a){if(a.sizcache===e){d=c[a.sizset];break}if(a.nodeType===1&&!g){a.sizcache=e;a.sizset=b}if(a.nodeName.toLowerCase()===h){d=a;break}a=a[f]}c[b]=d}}}function r(h,f,g,c,k,i){for(var b=0,j=c.length;b<j;b++){var a=c[b];if(a){var e=false;a=a[h];while(a){if(a.sizcache===g){e=c[a.sizset];break}if(a.nodeType===1){if(!i){a.sizcache=g;a.sizset=b}if(typeof f!=="string"){if(a===f){e=true;break}}else if(d.filter(f,[a]).length>0){e=a;break}}a=a[h]}c[b]=e}}}if(c.documentElement.contains)d.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):true)};else if(c.documentElement.compareDocumentPosition)d.contains=function(a,b){return!!(a.compareDocumentPosition(b)&16)};else d.contains=function(){return false};d.isXML=function(a){var b=(a?a.ownerDocument||a:0).documentElement;return b?b.nodeName!=="HTML":false};var q=function(a,b){var h,f=[],g="",i=b.nodeType?[b]:b;while(h=e.match.PSEUDO.exec(a)){g+=h[0];a=a.replace(e.match.PSEUDO,"")}a=e.relative[a]?a+"*":a;for(var c=0,j=i.length;c<j;c++)d(a,i[c],f);return d.filter(g,f)};a.find=d;a.expr=d.selectors;a.expr[":"]=a.expr.filters;a.unique=d.uniqueSort;a.text=d.getText;a.isXMLDoc=d.isXML;a.contains=d.contains})();var pc=/Until$/,Gb=/^(?:parents|prevUntil|prevAll)/,Bb=/,/,Xb=/^.[^:#\[\.,]*$/,uc=Array.prototype.slice,vb=a.expr.match.POS,xb={children:true,contents:true,next:true,prev:true};a.fn.extend({find:function(e){var i=this,b,f;if(typeof e!=="string")return a(e).filter(function(){for(b=0,f=i.length;b<f;b++)if(a.contains(i[b],this))return true});var c=this.pushStack("","find",e),h,d,g;for(b=0,f=this.length;b<f;b++){h=c.length;a.find(e,this[b],c);if(b>0)for(d=h;d<c.length;d++)for(g=0;g<h;g++)if(c[g]===c[d]){c.splice(d--,1);break}}return c},has:function(c){var b=a(c);return this.filter(function(){for(var c=0,d=b.length;c<d;c++)if(a.contains(this,b[c]))return true})},not:function(a){return this.pushStack(pb(this,a,false),"not",a)},filter:function(a){return this.pushStack(pb(this,a,true),"filter",a)},is:function(b){return!!b&&(typeof b==="string"?a.filter(b,this).length>0:this.filter(b).length>0)},closest:function(c,g){var e=[],f,j,b=this[0];if(a.isArray(c)){var i,d,h={},k=1;if(b&&c.length){for(f=0,j=c.length;f<j;f++){d=c[f];if(!h[d])h[d]=vb.test(d)?a(d,g||this.context):d}while(b&&b.ownerDocument&&b!==g){for(d in h){i=h[d];(i.jquery?i.index(b)>-1:a(b).is(i))&&e.push({selector:d,elem:b,level:k})}b=b.parentNode;k++}}return e}var l=vb.test(c)||typeof c!=="string"?a(c,g||this.context):0;for(f=0,j=this.length;f<j;f++){b=this[f];while(b)if(l?l.index(b)>-1:a.find.matchesSelector(b,c)){e.push(b);break}else{b=b.parentNode;if(!b||!b.ownerDocument||b===g||b.nodeType===11)break}}e=e.length>1?a.unique(e):e;return this.pushStack(e,"closest",c)},index:function(b){return!b||typeof b==="string"?a.inArray(this[0],b?a(b):this.parent().children()):a.inArray(b.jquery?b[0]:b,this)},add:function(b,e){var d=typeof b==="string"?a(b,e):a.makeArray(b&&b.nodeType?[b]:b),c=a.merge(this.get(),d);return this.pushStack(T(d[0])||T(c[0])?c:a.unique(c))},andSelf:function(){return this.add(this.prevObject)}});function T(a){return!a||!a.parentNode||a.parentNode.nodeType===11}a.each({parent:function(b){var a=b.parentNode;return a&&a.nodeType!==11?a:null},parents:function(b){return a.dir(b,"parentNode")},parentsUntil:function(c,d,b){return a.dir(c,"parentNode",b)},next:function(b){return a.nth(b,2,"nextSibling")},prev:function(b){return a.nth(b,2,"previousSibling")},nextAll:function(b){return a.dir(b,"nextSibling")},prevAll:function(b){return a.dir(b,"previousSibling")},nextUntil:function(c,d,b){return a.dir(c,"nextSibling",b)},prevUntil:function(c,d,b){return a.dir(c,"previousSibling",b)},siblings:function(b){return a.sibling(b.parentNode.firstChild,b)},children:function(b){return a.sibling(b.firstChild)},contents:function(b){return a.nodeName(b,"iframe")?b.contentDocument||b.contentWindow.document:a.makeArray(b.childNodes)}},function(b,c){a.fn[b]=function(f,e){var d=a.map(this,c,f),g=uc.call(arguments);if(!pc.test(b))e=f;if(e&&typeof e==="string")d=a.filter(e,d);d=this.length>1&&!xb[b]?a.unique(d):d;if((this.length>1||Bb.test(e))&&Gb.test(b))d=d.reverse();return this.pushStack(d,b,g.join(","))}});a.extend({filter:function(c,b,d){if(d)c=":not("+c+")";return b.length===1?a.find.matchesSelector(b[0],c)?[b[0]]:[]:a.find.matches(c,b)},dir:function(g,f,e){var d=[],c=g[f];while(c&&c.nodeType!==9&&(e===b||c.nodeType!==1||!a(c).is(e))){c.nodeType===1&&d.push(c);c=c[f]}return d},nth:function(a,b,c){b=b||1;for(var d=0;a;a=a[c])if(a.nodeType===1&&++d===b)break;return a},sibling:function(a,c){for(var b=[];a;a=a.nextSibling)a.nodeType===1&&a!==c&&b.push(a);return b}});function pb(c,b,d){b=b||0;if(a.isFunction(b))return a.grep(c,function(a,e){var c=!!b.call(a,e,a);return c===d});else if(b.nodeType)return a.grep(c,function(a){return a===b===d});else if(typeof b==="string"){var e=a.grep(c,function(a){return a.nodeType===1});if(Xb.test(b))return a.filter(b,e,!d);else b=a.filter(b,e)}return a.grep(c,function(c){return a.inArray(c,b)>=0===d})}var Cb=/ jQuery\d+="(?:\d+|null)"/g,z=/^\s+/,ab=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,hb=/<([\w:]+)/,oc=/<tbody/i,sc=/<|&#?\w+;/,gb=/<(?:script|object|embed|option|style)/i,fb=/checked\s*(?:[^=]|=\s*.checked.)/i,Jb=/\/(java|ecma)script/i,Eb=/^\s*<!(?:\[CDATA\[|\-\-)/,e={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,"",""]};e.optgroup=e.option;e.tbody=e.tfoot=e.colgroup=e.caption=e.thead;e.th=e.td;if(!a.support.htmlSerialize)e._default=[1,"div<div>","</div>"];a.fn.extend({text:function(d){return a.isFunction(d)?this.each(function(c){var b=a(this);b.text(d.call(this,c,b.text()))}):typeof d!=="object"&&d!==b?this.empty().append((this[0]&&this[0].ownerDocument||c).createTextNode(d)):a.text(this)},wrapAll:function(b){if(a.isFunction(b))return this.each(function(c){a(this).wrapAll(b.call(this,c))});if(this[0]){var c=a(b,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&c.insertBefore(this[0]);c.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(b){return a.isFunction(b)?this.each(function(c){a(this).wrapInner(b.call(this,c))}):this.each(function(){var d=a(this),c=d.contents();if(c.length)c.wrapAll(b);else d.append(b)})},wrap:function(b){return this.each(function(){a(this).wrapAll(b)})},unwrap:function(){return this.parent().each(function(){!a.nodeName(this,"body")&&a(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(a){this.parentNode.insertBefore(a,this)});else if(arguments.length){var b=a(arguments[0]);b.push.apply(b,this.toArray());return this.pushStack(b,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(a){this.parentNode.insertBefore(a,this.nextSibling)});else if(arguments.length){var b=this.pushStack(this,"after",arguments);b.push.apply(b,a(arguments[0]).toArray());return b}},remove:function(c,e){for(var d=0,b;(b=this[d])!=null;d++)if(!c||a.filter(c,[b]).length){if(!e&&b.nodeType===1){a.cleanData(b.getElementsByTagName("*"));a.cleanData([b])}b.parentNode&&b.parentNode.removeChild(b)}return this},empty:function(){for(var c=0,b;(b=this[c])!=null;c++){b.nodeType===1&&a.cleanData(b.getElementsByTagName("*"));while(b.firstChild)b.removeChild(b.firstChild)}return this},clone:function(b,c){b=b==null?false:b;c=c==null?b:c;return this.map(function(){return a.clone(this,b,c)})},html:function(c){if(c===b)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(Cb,""):null;else if(typeof c==="string"&&!gb.test(c)&&(a.support.leadingWhitespace||!z.test(c))&&!e[(hb.exec(c)||["",""])[1].toLowerCase()]){c=c.replace(ab,"<$1></$2>");try{for(var d=0,f=this.length;d<f;d++)if(this[d].nodeType===1){a.cleanData(this[d].getElementsByTagName("*"));this[d].innerHTML=c}}catch(g){this.empty().append(c)}}else if(a.isFunction(c))this.each(function(d){var b=a(this);b.html(c.call(this,d,b.html()))});else this.empty().append(c);return this},replaceWith:function(b){if(this[0]&&this[0].parentNode){if(a.isFunction(b))return this.each(function(e){var c=a(this),d=c.html();c.replaceWith(b.call(this,e,d))});if(typeof b!=="string")b=a(b).detach();return this.each(function(){var c=this.nextSibling,d=this.parentNode;a(this).remove();if(c)a(c).before(b);else a(d).append(b)})}else return this.length?this.pushStack(a(a.isFunction(b)?b():b),"replaceWith",b):this},detach:function(a){return this.remove(a,true)},domManip:function(h,d,k){var j,g,c,f,e=h[0],l=[];if(!a.support.checkClone&&arguments.length===3&&typeof e==="string"&&fb.test(e))return this.each(function(){a(this).domManip(h,d,k,true)});if(a.isFunction(e))return this.each(function(f){var c=a(this);h[0]=e.call(this,f,d?c.html():b);c.domManip(h,d,k)});if(this[0]){f=e&&e.parentNode;if(a.support.parentNode&&f&&f.nodeType===11&&f.childNodes.length===this.length)j={fragment:f};else j=a.buildFragment(h,this,l);c=j.fragment;if(c.childNodes.length===1)g=c=c.firstChild;else g=c.firstChild;if(g){d=d&&a.nodeName(g,"tr");for(var i=0,m=this.length,n=m-1;i<m;i++)k.call(d?xc(this[i],g):this[i],j.cacheable||m>1&&i<n?a.clone(c,true,true):c)}l.length&&a.each(l,Lb)}return this}});function xc(b){return a.nodeName(b,"table")?b.getElementsByTagName("tbody")[0]||b.appendChild(b.ownerDocument.createElement("tbody")):b}function R(i,g){if(g.nodeType!==1||!a.hasData(i))return;var h=a.expando,e=a.data(i),f=a.data(g,e);if(e=e[h]){var b=e.events;f=f[h]=a.extend({},e);if(b){delete f.handle;f.events={};for(var c in b)for(var d=0,j=b[c].length;d<j;d++)a.event.add(g,c+(b[c][d].namespace?".":"")+b[c][d].namespace,b[c][d],b[c][d].data)}}}function N(c,b){var d;if(b.nodeType!==1)return;b.clearAttributes&&b.clearAttributes();b.mergeAttributes&&b.mergeAttributes(c);d=b.nodeName.toLowerCase();if(d==="object")b.outerHTML=c.outerHTML;else if(d==="input"&&(c.type==="checkbox"||c.type==="radio")){if(c.checked)b.defaultChecked=b.checked=c.checked;if(b.value!==c.value)b.value=c.value}else if(d==="option")b.selected=c.defaultSelected;else if(d==="input"||d==="textarea")b.defaultValue=c.defaultValue;b.removeAttribute(a.expando)}a.buildFragment=function(b,f,i){var d,g,e,h=f&&f[0]?f[0].ownerDocument||f[0]:c;if(b.length===1&&typeof b[0]==="string"&&b[0].length<512&&h===c&&b[0].charAt(0)==="<"&&!gb.test(b[0])&&(a.support.checkClone||!fb.test(b[0]))){g=true;e=a.fragments[b[0]];if(e&&e!==1)d=e}if(!d){d=h.createDocumentFragment();a.clean(b,h,d,i)}if(g)a.fragments[b[0]]=e?d:1;return{fragment:d,cacheable:g}};a.fragments={};a.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(c,b){a.fn[c]=function(i){var g=[],d=a(i),f=this.length===1&&this[0].parentNode;if(f&&f.nodeType===11&&f.childNodes.length===1&&d.length===1){d[b](this[0]);return this}else{for(var e=0,j=d.length;e<j;e++){var h=(e>0?this.clone(true):this).get();a(d[e])[b](h);g=g.concat(h)}return this.pushStack(g,c,d.selector)}}});function v(a){return"getElementsByTagName"in a?a.getElementsByTagName("*"):"querySelectorAll"in a?a.querySelectorAll("*"):[]}function P(a){if(a.type==="checkbox"||a.type==="radio")a.defaultChecked=a.checked}function Y(b){if(a.nodeName(b,"input"))P(b);else b.getElementsByTagName&&a.grep(b.getElementsByTagName("input"),P)}a.extend({clone:function(c,h,g){var e=c.cloneNode(true),d,f,b;if((!a.support.noCloneEvent||!a.support.noCloneChecked)&&(c.nodeType===1||c.nodeType===11)&&!a.isXMLDoc(c)){N(c,e);d=v(c);f=v(e);for(b=0;d[b];++b)N(d[b],f[b])}if(h){R(c,e);if(g){d=v(c);f=v(e);for(b=0;d[b];++b)R(d[b],f[b])}}return e},clean:function(t,h,m,o){var l;h=h||c;if(typeof h.createElement==="undefined")h=h.ownerDocument||h[0]&&h[0].ownerDocument||c;for(var d=[],g,f=0,b;(b=t[f])!=null;f++){if(typeof b==="number")b+="";if(!b)continue;if(typeof b==="string")if(!sc.test(b))b=h.createTextNode(b);else{b=b.replace(ab,"<$1></$2>");var q=(hb.exec(b)||["",""])[1].toLowerCase(),k=e[q]||e._default,s=k[0],i=h.createElement("div");i.innerHTML=k[1]+b+k[2];while(s--)i=i.lastChild;if(!a.support.tbody){var n=oc.test(b),j=q==="table"&&!n?i.firstChild&&i.firstChild.childNodes:k[1]==="<table>"&&!n?i.childNodes:[];for(g=j.length-1;g>=0;--g)a.nodeName(j[g],"tbody")&&!j[g].childNodes.length&&j[g].parentNode.removeChild(j[g])}!a.support.leadingWhitespace&&z.test(b)&&i.insertBefore(h.createTextNode(z.exec(b)[0]),i.firstChild);b=i.childNodes}var p;if(!a.support.appendChecked)if(b[0]&&typeof(p=b.length)==="number")for(g=0;g<p;g++)Y(b[g]);else Y(b);if(b.nodeType)d.push(b);else d=a.merge(d,b)}if(m){l=function(a){return!a.type||Jb.test(a.type)};for(f=0;d[f];f++)if(o&&a.nodeName(d[f],"script")&&(!d[f].type||d[f].type.toLowerCase()==="text/javascript"))o.push(d[f].parentNode?d[f].parentNode.removeChild(d[f]):d[f]);else{if(d[f].nodeType===1){var r=a.grep(d[f].getElementsByTagName("script"),l);d.splice.apply(d,[f+1,0].concat(r))}m.appendChild(d[f])}}return d},cleanData:function(k){for(var c,d,e=a.cache,i=a.expando,j=a.event.special,h=a.support.deleteExpando,g=0,b;(b=k[g])!=null;g++){if(b.nodeName&&a.noData[b.nodeName.toLowerCase()])continue;d=b[a.expando];if(d){c=e[d]&&e[d][i];if(c&&c.events){for(var f in c.events)if(j[f])a.event.remove(b,f);else a.removeEvent(b,f,c.handle);if(c.handle)c.handle.elem=null}if(h)delete b[a.expando];else b.removeAttribute&&b.removeAttribute(a.expando);delete e[d]}}}});function Lb(c,b){if(b.src)a.ajax({url:b.src,async:false,dataType:"script"});else a.globalEval((b.text||b.textContent||b.innerHTML||"").replace(Eb,"/*$0*/"));b.parentNode&&b.parentNode.removeChild(b)}var lb=/alpha\([^)]*\)/i,cc=/opacity=([^)]*)/,Ob=/-([a-z])/ig,qc=/([A-Z]|^ms)/g,nb=/^-?\d+(?:px)?$/i,wc=/^-?\d/,gc=/^[+\-]=/,Db=/[^+\-\.\de]+/g,dc={position:"absolute",visibility:"hidden",display:"block"},Vb=["Left","Right"],Sb=["Top","Bottom"],m,Q,r,Mb=function(b,a){return a.toUpperCase()};a.fn.css=function(d,c){return arguments.length===2&&c===b?this:a.access(this,d,c,true,function(d,e,c){return c!==b?a.style(d,e,c):a.css(d,e)})};a.extend({cssHooks:{opacity:{"get":function(a,c){if(c){var b=m(a,"opacity","opacity");return b===""?"1":b}else return a.style.opacity}}},cssNumber:{zIndex:true,fontWeight:true,opacity:true,zoom:true,lineHeight:true,widows:true,orphans:true},cssProps:{"float":a.support.cssFloat?"cssFloat":"styleFloat"},style:function(d,f,c,k){if(!d||d.nodeType===3||d.nodeType===8||!d.style)return;var j,h,g=a.camelCase(f),i=d.style,e=a.cssHooks[g];f=a.cssProps[g]||g;if(c!==b){h=typeof c;if(h==="number"&&isNaN(c)||c==null)return;if(h==="string"&&gc.test(c))c=+c.replace(Db,"")+parseFloat(a.css(d,f));if(h==="number"&&!a.cssNumber[g])c+="px";if(!e||!("set"in e)||(c=e.set(d,c))!==b)try{i[f]=c}catch(l){}}else return e&&"get"in e&&(j=e.get(d,false,k))!==b?j:i[f]},css:function(e,c,g){var f,d;c=a.camelCase(c);d=a.cssHooks[c];c=a.cssProps[c]||c;if(c==="cssFloat")c="float";return d&&"get"in d&&(f=d.get(e,true,g))!==b?f:m?m(e,c):void 0},swap:function(b,c,e){var d={};for(var a in c){d[a]=b.style[a];b.style[a]=c[a]}e.call(b);for(a in c)b.style[a]=d[a]},camelCase:function(a){return a.replace(Ob,Mb)}});a.curCSS=a.css;a.each(["height","width"],function(c,b){a.cssHooks[b]={"get":function(d,f,e){var c;if(f){if(d.offsetWidth!==0)c=qb(d,b,e);else a.swap(d,dc,function(){c=qb(d,b,e)});if(c<=0){c=m(d,b,b);if(c==="0px"&&r)c=r(d,b,b);if(c!=null)return c===""||c==="auto"?"0px":c}if(c<0||c==null){c=d.style[b];return c===""||c==="auto"?"0px":c}return typeof c==="string"?c:c+"px"}},"set":function(b,a){if(nb.test(a)){a=parseFloat(a);if(a>=0)return a+"px"}else return a}}});if(!a.support.opacity)a.cssHooks.opacity={"get":function(a,b){return cc.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},"set":function(g,f){var c=g.style,d=g.currentStyle;c.zoom=1;var e=a.isNaN(f)?"":"alpha(opacity="+f*100+")",b=d&&d.filter||c.filter||"";c.filter=lb.test(b)?b.replace(lb,e):b+" "+e}};a(function(){if(!a.support.reliableMarginRight)a.cssHooks.marginRight={"get":function(b,d){var c;a.swap(b,{display:"inline-block"},function(){if(d)c=m(b,"margin-right","marginRight");else c=b.style.marginRight});return c}}});if(c.defaultView&&c.defaultView.getComputedStyle)Q=function(c,d){var e,g,f;d=d.replace(qc,"-$1").toLowerCase();if(!(g=c.ownerDocument.defaultView))return b;if(f=g.getComputedStyle(c,null)){e=f.getPropertyValue(d);if(e===""&&!a.contains(c.ownerDocument.documentElement,c))e=a.style(c,d)}return e};if(c.documentElement.currentStyle)r=function(a,e){var f,b=a.currentStyle&&a.currentStyle[e],d=a.runtimeStyle&&a.runtimeStyle[e],c=a.style;if(!nb.test(b)&&wc.test(b)){f=c.left;if(d)a.runtimeStyle.left=a.currentStyle.left;c.left=e==="fontSize"?"1em":b||0;b=c.pixelLeft+"px";c.left=f;if(d)a.runtimeStyle.left=d}return b===""?"auto":b};m=Q||r;function qb(b,e,d){var f=e==="width"?Vb:Sb,c=e==="width"?b.offsetWidth:b.offsetHeight;if(d==="border")return c;a.each(f,function(){if(!d)c-=parseFloat(a.css(b,"padding"+this))||0;if(d==="margin")c+=parseFloat(a.css(b,"margin"+this))||0;else c-=parseFloat(a.css(b,"border"+this+"Width"))||0});return c}if(a.expr&&a.expr.filters){a.expr.filters.hidden=function(b){var d=b.offsetWidth,c=b.offsetHeight;return d===0&&c===0||!a.support.reliableHiddenOffsets&&(b.style.display||a.css(b,"display"))==="none"};a.expr.filters.visible=function(b){return!a.expr.filters.hidden(b)}}var zc=/%20/g,Zb=/\[\]$/,rb=/\r?\n/g,rc=/#.*$/,bc=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,mc=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,Ab=/^(?:about|app|app\-storage|.+\-extension|file|widget):$/,Rb=/^(?:GET|HEAD)$/,Ub=/^\/\//,ob=/\?/,ic=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,zb=/^(?:select|textarea)/i,X=/\s+/,Ac=/([?&])_=[^&]*/,ub=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,tb=a.fn.load,G={},Z={},g,h;try{g=Yb.href}catch(Cc){g=c.createElement("a");g.href="";g=g.href}h=ub.exec(g.toLowerCase())||[];function L(b){return function(d,f){if(typeof d!=="string"){f=d;d="*"}if(a.isFunction(f))for(var h=d.toLowerCase().split(X),g=0,j=h.length,c,i,e;g<j;g++){c=h[g];e=/^\+/.test(c);if(e)c=c.substr(1)||"*";i=b[c]=b[c]||[];i[e?"unshift":"push"](f)}}}function q(e,d,g,i,f,c){f=f||d.dataTypes[0];c=c||{};c[f]=true;for(var j=e[f],k=0,l=j?j.length:0,h=e===G,a;k<l&&(h||!a);k++){a=j[k](d,g,i);if(typeof a==="string")if(!h||c[a])a=b;else{d.dataTypes.unshift(a);a=q(e,d,g,i,a,c)}}if((h||!a)&&!c["*"])a=q(e,d,g,i,"*",c);return a}a.fn.extend({load:function(d,c,e){if(typeof d!=="string"&&tb)return tb.apply(this,arguments);else if(!this.length)return this;var f=d.indexOf(" ");if(f>=0){var g=d.slice(f,d.length);d=d.slice(0,f)}var i="GET";if(c)if(a.isFunction(c)){e=c;c=b}else if(typeof c==="object"){c=a.param(c,a.ajaxSettings.traditional);i="POST"}var h=this;a.ajax({url:d,type:i,dataType:"html",data:c,complete:function(c,d,b){b=c.responseText;if(c.isResolved()){c.done(function(a){b=a});h.html(g?a("<div>").append(b.replace(ic,"")).find(g):b)}e&&h.each(e,[b,d,c])}});return this},serialize:function(){return a.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?a.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||zb.test(this.nodeName)||mc.test(this.type))}).map(function(d,c){var b=a(this).val();return b==null?null:a.isArray(b)?a.map(b,function(a){return{name:c.name,value:a.replace(rb,"\r\n")}}):{name:c.name,value:b.replace(rb,"\r\n")}}).get()}});a.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(c,b){a.fn[b]=function(a){return this.bind(b,a)}});a.each(["get","post"],function(d,c){a[c]=function(g,d,e,f){if(a.isFunction(d)){f=f||e;e=d;d=b}return a.ajax({type:c,url:g,data:d,success:e,dataType:f})}});a.extend({getScript:function(d,c){return a.get(d,b,c,"script")},getJSON:function(d,c,b){return a.get(d,c,b,"json")},ajaxSetup:function(c,b){if(!b){b=c;c=a.extend(true,a.ajaxSettings,b)}else a.extend(true,c,a.ajaxSettings,b);for(var d in{context:1,url:1})if(d in b)c[d]=b[d];else if(d in a.ajaxSettings)c[d]=a.ajaxSettings[d];return c},ajaxSettings:{url:g,isLocal:Ab.test(h[1]),global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":"*/*"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":d.String,"text html":true,"text json":a.parseJSON,"text xml":a.parseXML}},ajaxPrefilter:L(G),ajaxTransport:L(Z),ajax:function(r,i){if(typeof r==="object"){i=r;r=b}i=i||{};var c=a.ajaxSetup({},i),g=c.context||c,t=g!==c&&(g.nodeType||g instanceof a)?a(g):a.event,v=a.Deferred(),x=a._Deferred(),o=c.statusCode||{},f,y={},w={},s,n,j,u,k,e=0,m,l,d={readyState:0,setRequestHeader:function(a,c){if(!e){var b=a.toLowerCase();a=w[b]=w[b]||a;y[a]=c}return this},getAllResponseHeaders:function(){return e===2?s:null},getResponseHeader:function(c){var a;if(e===2){if(!n){n={};while(a=bc.exec(s))n[a[1].toLowerCase()]=a[2]}a=n[c.toLowerCase()]}return a===b?null:a},overrideMimeType:function(a){if(!e)c.mimeType=a;return this},abort:function(a){a=a||"abort";j&&j.abort(a);p(0,a);return this}};function p(i,h,q,y){if(e===2)return;e=2;u&&clearTimeout(u);j=b;s=y||"";d.readyState=i?4:0;var k,n,l,w=q?wb(c,d,q):b,p,r;if(i>=200&&i<300||i===304){if(c.ifModified){if(p=d.getResponseHeader("Last-Modified"))a.lastModified[f]=p;if(r=d.getResponseHeader("Etag"))a.etag[f]=r}if(i===304){h="notmodified";k=true}else try{n=Hb(c,w);h="success";k=true}catch(z){h="parsererror";l=z}}else{l=h;if(!h||i){h="error";if(i<0)i=0}}d.status=i;d.statusText=h;if(k)v.resolveWith(g,[n,h,d]);else v.rejectWith(g,[d,h,l]);d.statusCode(o);o=b;m&&t.trigger("ajax"+(k?"Success":"Error"),[d,c,k?n:l]);x.resolveWith(g,[d,h]);if(m){t.trigger("ajaxComplete",[d,c]);!--a.active&&a.event.trigger("ajaxStop")}}v.promise(d);d.success=d.done;d.error=d.fail;d.complete=x.done;d.statusCode=function(b){if(b){var a;if(e<2)for(a in b)o[a]=[o[a],b[a]];else{a=b[d.status];d.then(a,a)}}return this};c.url=((r||c.url)+"").replace(rc,"").replace(Ub,h[1]+"//");c.dataTypes=a.trim(c.dataType||"*").toLowerCase().split(X);if(c.crossDomain==null){k=ub.exec(c.url.toLowerCase());c.crossDomain=!!(k&&(k[1]!=h[1]||k[2]!=h[2]||(k[3]||(k[1]==="http:"?80:443))!=(h[3]||(h[1]==="http:"?80:443))))}if(c.data&&c.processData&&typeof c.data!=="string")c.data=a.param(c.data,c.traditional);q(G,c,i,d);if(e===2)return false;m=c.global;c.type=c.type.toUpperCase();c.hasContent=!Rb.test(c.type);m&&a.active++===0&&a.event.trigger("ajaxStart");if(!c.hasContent){if(c.data)c.url+=(ob.test(c.url)?"&":"?")+c.data;f=c.url;if(c.cache===false){var A=a.now(),z=c.url.replace(Ac,"$1_="+A);c.url=z+(z===c.url?(ob.test(c.url)?"&":"?")+"_="+A:"")}}(c.data&&c.hasContent&&c.contentType!==false||i.contentType)&&d.setRequestHeader("Content-Type",c.contentType);if(c.ifModified){f=f||c.url;a.lastModified[f]&&d.setRequestHeader("If-Modified-Since",a.lastModified[f]);a.etag[f]&&d.setRequestHeader("If-None-Match",a.etag[f])}d.setRequestHeader("Accept",c.dataTypes[0]&&c.accepts[c.dataTypes[0]]?c.accepts[c.dataTypes[0]]+(c.dataTypes[0]!=="*"?", */*; q=0.01":""):c.accepts["*"]);for(l in c.headers)d.setRequestHeader(l,c.headers[l]);if(c.beforeSend&&(c.beforeSend.call(g,d,c)===false||e===2)){d.abort();return false}for(l in{success:1,error:1,complete:1})d[l](c[l]);j=q(Z,c,i,d);if(!j)p(-1,"No Transport");else{d.readyState=1;m&&t.trigger("ajaxSend",[d,c]);if(c.async&&c.timeout>0)u=setTimeout(function(){d.abort("timeout")},c.timeout);try{e=1;j.send(y,p)}catch(B){if(status<2)p(-1,B);else a.error(B)}}return d},param:function(c,d){var e=[],g=function(c,b){b=a.isFunction(b)?b():b;e[e.length]=encodeURIComponent(c)+"="+encodeURIComponent(b)};if(d===b)d=a.ajaxSettings.traditional;if(a.isArray(c)||c.jquery&&!a.isPlainObject(c))a.each(c,function(){g(this.name,this.value)});else for(var f in c)D(f,c[f],d,g);return e.join("&").replace(zc,"+")}});function D(c,b,d,e){if(a.isArray(b))a.each(b,function(f,b){if(d||Zb.test(c))e(c,b);else D(c+"["+(typeof b==="object"||a.isArray(b)?f:"")+"]",b,d,e)});else if(!d&&b!=null&&typeof b==="object")for(var f in b)D(c+"["+f+"]",b[f],d,e);else e(c,b)}a.extend({active:0,lastModified:{},etag:{}});function wb(f,k,e){var i=f.contents,c=f.dataTypes,j=f.responseFields,g,a,d,h;for(a in j)if(a in e)k[j[a]]=e[a];while(c[0]==="*"){c.shift();if(g===b)g=f.mimeType||k.getResponseHeader("content-type")}if(g)for(a in i)if(i[a]&&i[a].test(g)){c.unshift(a);break}if(c[0]in e)d=c[0];else{for(a in e){if(!c[0]||f.converters[a+" "+c[0]]){d=a;break}if(!h)h=a}d=d||h}if(d){d!==c[0]&&c.unshift(d);return e[d]}}function Hb(j,h){if(j.dataFilter)h=j.dataFilter(h,j.dataType);for(var o=j.dataTypes,g={},k,p=o.length,l,c=o[0],i,n,d,e,f,m=1;m<p;m++){if(m===1)for(k in j.converters)if(typeof k==="string")g[k.toLowerCase()]=j.converters[k];i=c;c=o[m];if(c==="*")c=i;else if(i!=="*"&&i!==c){n=i+" "+c;d=g[n]||g["* "+c];if(!d){f=b;for(e in g){l=e.split(" ");if(l[0]===i||l[0]==="*"){f=g[l[1]+" "+c];if(f){e=g[e];if(e===true)d=f;else if(f===true)d=e;break}}}}!(d||f)&&a.error("No conversion from "+n.replace(" "," to "));if(d!==true)h=d?d(h):f(e(h))}}return h}var yc=a.now(),x=/(\=)\?(&|$)|\?\?/i;a.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return a.expando+"_"+yc++}});a.ajaxPrefilter("json jsonp",function(b,l,k){var h=b.contentType==="application/x-www-form-urlencoded"&&typeof b.data==="string";if(b.dataTypes[0]==="jsonp"||b.jsonp!==false&&(x.test(b.url)||h&&x.test(b.data))){var f,c=b.jsonpCallback=a.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,i=d[c],e=b.url,g=b.data,j="$1"+c+"$2";if(b.jsonp!==false){e=e.replace(x,j);if(b.url===e){if(h)g=g.replace(x,j);if(b.data===g)e+=(/\?/.test(e)?"&":"?")+b.jsonp+"="+c}}b.url=e;b.data=g;d[c]=function(a){f=[a]};k.always(function(){d[c]=i;f&&a.isFunction(i)&&d[c](f[0])});b.converters["script json"]=function(){!f&&a.error(c+" was not called");return f[0]};b.dataTypes[0]="json";return"script"}});a.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(b){a.globalEval(b);return b}}});a.ajaxPrefilter("script",function(a){if(a.cache===b)a.cache=false;if(a.crossDomain){a.type="GET";a.global=false}});a.ajaxTransport("script",function(e){if(e.crossDomain){var a,d=c.head||c.getElementsByTagName("head")[0]||c.documentElement;return{send:function(g,f){a=c.createElement("script");a.async="async";if(e.scriptCharset)a.charset=e.scriptCharset;a.src=e.url;a.onload=a.onreadystatechange=function(e,c){if(c||!a.readyState||/loaded|complete/.test(a.readyState)){a.onload=a.onreadystatechange=null;d&&a.parentNode&&d.removeChild(a);a=b;!c&&f(200,"success")}};d.insertBefore(a,d.firstChild)},abort:function(){if(a)a.onload(0,1)}}}});var B=d.ActiveXObject?function(){for(var a in k)k[a](0,1)}:false,vc=0,k;function O(){try{return new d.XMLHttpRequest}catch(a){}}function yb(){try{return new d.ActiveXObject("Microsoft.XMLHTTP")}catch(a){}}a.ajaxSettings.xhr=d.ActiveXObject?function(){return!this.isLocal&&O()||yb()}:O;(function(b){a.extend(a.support,{ajax:!!b,cors:!!b&&"withCredentials"in b})})(a.ajaxSettings.xhr());a.support.ajax&&a.ajaxTransport(function(c){if(!c.crossDomain||a.support.cors){var e;return{send:function(h,j){var f=c.xhr(),i,g;if(c.username)f.open(c.type,c.url,c.async,c.username,c.password);else f.open(c.type,c.url,c.async);if(c.xhrFields)for(g in c.xhrFields)f[g]=c.xhrFields[g];c.mimeType&&f.overrideMimeType&&f.overrideMimeType(c.mimeType);if(!c.crossDomain&&!h["X-Requested-With"])h["X-Requested-With"]="XMLHttpRequest";try{for(g in h)f.setRequestHeader(g,h[g])}catch(l){}f.send(c.hasContent&&c.data||null);e=function(q,m){var g,l,n,d,h;try{if(e&&(m||f.readyState===4)){e=b;if(i){f.onreadystatechange=a.noop;if(B)delete k[i]}if(m)f.readyState!==4&&f.abort();else{g=f.status;n=f.getAllResponseHeaders();d={};h=f.responseXML;if(h&&h.documentElement)d.xml=h;d.text=f.responseText;try{l=f.statusText}catch(p){l=""}if(!g&&c.isLocal&&!c.crossDomain)g=d.text?200:404;else if(g===1223)g=204}}}catch(o){!m&&j(-1,o)}d&&j(g,l,d,n)};if(!c.async||f.readyState===4)e();else{i=++vc;if(B){if(!k){k={};a(d).unload(B)}k[i]=e}f.onreadystatechange=e}},abort:function(){e&&e(0,1)}}}});var E={},f,p,ac=/^(?:toggle|show|hide)$/,lc=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,l,ib=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],w,y=d.webkitRequestAnimationFrame||d.mozRequestAnimationFrame||d.oRequestAnimationFrame;a.fn.extend({show:function(e,h,g){var b,c;if(e||e===0)return this.animate(n("show",3),e,h,g);else{for(var d=0,f=this.length;d<f;d++){b=this[d];if(b.style){c=b.style.display;if(!a._data(b,"olddisplay")&&c==="none")c=b.style.display="";c===""&&a.css(b,"display")==="none"&&a._data(b,"olddisplay",S(b.nodeName))}}for(d=0;d<f;d++){b=this[d];if(b.style){c=b.style.display;if(c===""||c==="none")b.style.display=a._data(b,"olddisplay")||""}}return this}},hide:function(c,g,f){if(c||c===0)return this.animate(n("hide",3),c,g,f);else{for(var b=0,e=this.length;b<e;b++)if(this[b].style){var d=a.css(this[b],"display");d!=="none"&&!a._data(this[b],"olddisplay")&&a._data(this[b],"olddisplay",d)}for(b=0;b<e;b++)if(this[b].style)this[b].style.display="none";return this}},_toggle:a.fn.toggle,toggle:function(b,d,e){var c=typeof b==="boolean";if(a.isFunction(b)&&a.isFunction(d))this._toggle.apply(this,arguments);else if(b==null||c)this.each(function(){var d=c?b:a(this).is(":hidden");a(this)[d?"show":"hide"]()});else this.animate(n("toggle",3),b,d,e);return this},fadeTo:function(c,d,b,a){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:d},c,b,a)},animate:function(b,f,e,d){var c=a.speed(f,e,d);if(a.isEmptyObject(b))return this.each(c.complete,[false]);b=a.extend({},b);return this[c.queue===false?"each":"queue"](function(){c.queue===false&&a._mark(this);var g=a.extend({},c),n=this.nodeType===1,m=n&&a(this).is(":hidden"),f,d,e,o,k,i,h,j,l;g.animatedProperties={};for(e in b){f=a.camelCase(e);if(e!==f){b[f]=b[e];delete b[e]}d=b[f];if(a.isArray(d)){g.animatedProperties[f]=d[1];d=b[f]=d[0]}else g.animatedProperties[f]=g.specialEasing&&g.specialEasing[f]||g.easing||"swing";if(d==="hide"&&m||d==="show"&&!m)return g.complete.call(this);if(n&&(f==="height"||f==="width")){g.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY];if(a.css(this,"display")==="inline"&&a.css(this,"float")==="none")if(!a.support.inlineBlockNeedsLayout)this.style.display="inline-block";else{o=S(this.nodeName);if(o==="inline")this.style.display="inline-block";else{this.style.display="inline";this.style.zoom=1}}}}if(g.overflow!=null)this.style.overflow="hidden";for(e in b){k=new a.fx(this,g,e);d=b[e];if(ac.test(d))k[d==="toggle"?m?"show":"hide":d]();else{i=lc.exec(d);h=k.cur();if(i){j=parseFloat(i[2]);l=i[3]||(a.cssNumber[e]?"":"px");if(l!=="px"){a.style(this,e,(j||1)+l);h=(j||1)/k.cur()*h;a.style(this,e,h+l)}if(i[1])j=(i[1]==="-="?-1:1)*j+h;k.custom(h,j,l)}else k.custom(h,d,"")}}return true})},stop:function(c,b){c&&this.queue([]);this.each(function(){var c=a.timers,d=c.length;!b&&a._unmark(true,this);while(d--)if(c[d].elem===this){b&&c[d](true);c.splice(d,1)}});!b&&this.dequeue();return this}});function W(){setTimeout(Kb,0);return w=a.now()}function Kb(){w=b}function n(c,d){var b={};a.each(ib.concat.apply([],ib.slice(0,d)),function(){b[this]=c});return b}a.each({slideDown:n("show",1),slideUp:n("hide",1),slideToggle:n("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(c,b){a.fn[c]=function(d,c,a){return this.animate(b,d,c,a)}});a.extend({speed:function(c,d,e){var b=c&&typeof c==="object"?a.extend({},c):{complete:e||!e&&d||a.isFunction(c)&&c,duration:c,easing:e&&d||d&&!a.isFunction(d)&&d};b.duration=a.fx.off?0:typeof b.duration==="number"?b.duration:b.duration in a.fx.speeds?a.fx.speeds[b.duration]:a.fx.speeds._default;b.old=b.complete;b.complete=function(c){if(b.queue!==false)a.dequeue(this);else c!==false&&a._unmark(this);a.isFunction(b.old)&&b.old.call(this)};return b},easing:{linear:function(c,d,a,b){return a+b*c},swing:function(c,d,a,b){return(-Math.cos(c*Math.PI)/2+.5)*b+a}},timers:[],fx:function(b,a,c){this.options=a;this.elem=b;this.prop=c;a.orig=a.orig||{}}});a.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(a.fx.step[this.prop]||a.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];var c,b=a.css(this.elem,this.prop);return isNaN(c=parseFloat(b))?!b||b==="auto"?0:b:c},custom:function(e,h,g){var f=this,c=a.fx,b;this.startTime=w||W();this.start=e;this.end=h;this.unit=g||this.unit||(a.cssNumber[this.prop]?"":"px");this.now=this.start;this.pos=this.state=0;function d(a){return f.step(a)}d.elem=this.elem;if(d()&&a.timers.push(d)&&!l)if(y){l=1;b=function(){if(l){y(b);c.tick()}};y(b)}else l=setInterval(c.tick,c.interval)},show:function(){this.options.orig[this.prop]=a.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());a(this.elem).show()},hide:function(){this.options.orig[this.prop]=a.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(i){var e=w||W(),f=true,c=this.elem,b=this.options,g,d;if(i||e>=b.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();b.animatedProperties[this.prop]=true;for(g in b.animatedProperties)if(b.animatedProperties[g]!==true)f=false;if(f){b.overflow!=null&&!a.support.shrinkWrapBlocks&&a.each(["","X","Y"],function(a,d){c.style["overflow"+d]=b.overflow[a]});b.hide&&a(c).hide();if(b.hide||b.show)for(var h in b.animatedProperties)a.style(c,h,b.orig[h]);b.complete.call(c)}return false}else{if(b.duration==Infinity)this.now=e;else{d=e-this.startTime;this.state=d/b.duration;this.pos=a.easing[b.animatedProperties[this.prop]](this.state,d,0,1,b.duration);this.now=this.start+(this.end-this.start)*this.pos}this.update()}return true}};a.extend(a.fx,{tick:function(){for(var b=a.timers,c=0;c<b.length;++c)!b[c]()&&b.splice(c--,1);!b.length&&a.fx.stop()},interval:13,stop:function(){clearInterval(l);l=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(b){a.style(b.elem,"opacity",b.now)},_default:function(a){if(a.elem.style&&a.elem.style[a.prop]!=null)a.elem.style[a.prop]=(a.prop==="width"||a.prop==="height"?Math.max(0,a.now):a.now)+a.unit;else a.elem[a.prop]=a.now}}});if(a.expr&&a.expr.filters)a.expr.filters.animated=function(b){return a.grep(a.timers,function(a){return b===a.elem}).length};function S(b){if(!E[b]){var d=a("<"+b+">").appendTo("body"),e=d.css("display");d.remove();if(e==="none"||e===""){if(!f){f=c.createElement("iframe");f.frameBorder=f.width=f.height=0}c.body.appendChild(f);if(!p||!f.createElement){p=(f.contentWindow||f.contentDocument).document;p.write("<!doctype><html><body></body></html>")}d=p.createElement(b);p.body.appendChild(d);e=a.css(d,"display");c.body.removeChild(f)}E[b]=e}return E[b]}var nc=/^t(?:able|d|h)$/i,sb=/^(?:body|html)$/i;if("getBoundingClientRect"in c.documentElement)a.fn.offset=function(g){var b=this[0],c;if(g)return this.each(function(b){a.offset.setOffset(this,g,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return a.offset.bodyOffset(b);try{c=b.getBoundingClientRect()}catch(o){}var f=b.ownerDocument,d=f.documentElement;if(!c||!a.contains(d,b))return c?{top:c.top,left:c.left}:{top:0,left:0};var e=f.body,h=I(f),k=d.clientTop||e.clientTop||0,i=d.clientLeft||e.clientLeft||0,l=h.pageYOffset||a.support.boxModel&&d.scrollTop||e.scrollTop,j=h.pageXOffset||a.support.boxModel&&d.scrollLeft||e.scrollLeft,n=c.top+l-k,m=c.left+j-i;return{top:n,left:m}};else a.fn.offset=function(l){var b=this[0];if(l)return this.each(function(b){a.offset.setOffset(this,l,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return a.offset.bodyOffset(b);a.offset.initialize();var c,i=b.offsetParent,m=b,k=b.ownerDocument,j=k.documentElement,g=k.body,h=k.defaultView,f=h?h.getComputedStyle(b,null):b.currentStyle,e=b.offsetTop,d=b.offsetLeft;while((b=b.parentNode)&&b!==g&&b!==j){if(a.offset.supportsFixedPosition&&f.position==="fixed")break;c=h?h.getComputedStyle(b,null):b.currentStyle;e-=b.scrollTop;d-=b.scrollLeft;if(b===i){e+=b.offsetTop;d+=b.offsetLeft;if(a.offset.doesNotAddBorder&&!(a.offset.doesAddBorderForTableAndCells&&nc.test(b.nodeName))){e+=parseFloat(c.borderTopWidth)||0;d+=parseFloat(c.borderLeftWidth)||0}m=i;i=b.offsetParent}if(a.offset.subtractsBorderForOverflowNotVisible&&c.overflow!=="visible"){e+=parseFloat(c.borderTopWidth)||0;d+=parseFloat(c.borderLeftWidth)||0}f=c}if(f.position==="relative"||f.position==="static"){e+=g.offsetTop;d+=g.offsetLeft}if(a.offset.supportsFixedPosition&&f.position==="fixed"){e+=Math.max(j.scrollTop,g.scrollTop);d+=Math.max(j.scrollLeft,g.scrollLeft)}return{top:e,left:d}};a.offset={initialize:function(){var f=c.body,d=c.createElement("div"),e,b,j,g,h=parseFloat(a.css(f,"marginTop"))||0,i="<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";a.extend(d.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"});d.innerHTML=i;f.insertBefore(d,f.firstChild);e=d.firstChild;b=e.firstChild;g=e.nextSibling.firstChild.firstChild;this.doesNotAddBorder=b.offsetTop!==5;this.doesAddBorderForTableAndCells=g.offsetTop===5;b.style.position="fixed";b.style.top="20px";this.supportsFixedPosition=b.offsetTop===20||b.offsetTop===15;b.style.position=b.style.top="";e.style.overflow="hidden";e.style.position="relative";this.subtractsBorderForOverflowNotVisible=b.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=f.offsetTop!==h;f.removeChild(d);a.offset.initialize=a.noop},bodyOffset:function(b){var d=b.offsetTop,c=b.offsetLeft;a.offset.initialize();if(a.offset.doesNotIncludeMarginInBodyOffset){d+=parseFloat(a.css(b,"marginTop"))||0;c+=parseFloat(a.css(b,"marginLeft"))||0}return{top:d,left:c}},setOffset:function(c,b,n){var g=a.css(c,"position");if(g==="static")c.style.position="relative";var h=a(c),f=h.offset(),l=a.css(c,"top"),k=a.css(c,"left"),m=(g==="absolute"||g==="fixed")&&a.inArray("auto",[l,k])>-1,d={},e={},j,i;if(m){e=h.position();j=e.top;i=e.left}else{j=parseFloat(l)||0;i=parseFloat(k)||0}if(a.isFunction(b))b=b.call(c,n,f);if(b.top!=null)d.top=b.top-f.top+j;if(b.left!=null)d.left=b.left-f.left+i;if("using"in b)b.using.call(c,d);else h.css(d)}};a.fn.extend({position:function(){if(!this[0])return null;var e=this[0],b=this.offsetParent(),d=this.offset(),c=sb.test(b[0].nodeName)?{top:0,left:0}:b.offset();d.top-=parseFloat(a.css(e,"marginTop"))||0;d.left-=parseFloat(a.css(e,"marginLeft"))||0;c.top+=parseFloat(a.css(b[0],"borderTopWidth"))||0;c.left+=parseFloat(a.css(b[0],"borderLeftWidth"))||0;return{top:d.top-c.top,left:d.left-c.left}},offsetParent:function(){return this.map(function(){var b=this.offsetParent||c.body;while(b&&(!sb.test(b.nodeName)&&a.css(b,"position")==="static"))b=b.offsetParent;return b})}});a.each(["Left","Top"],function(d,e){var c="scroll"+e;a.fn[c]=function(g){var f,e;if(g===b){f=this[0];if(!f)return null;e=I(f);return e?"pageXOffset"in e?e[d?"pageYOffset":"pageXOffset"]:a.support.boxModel&&e.document.documentElement[c]||e.document.body[c]:f[c]}return this.each(function(){e=I(this);if(e)e.scrollTo(!d?g:a(e).scrollLeft(),d?g:a(e).scrollTop());else this[c]=g})}});function I(b){return a.isWindow(b)?b:b.nodeType===9?b.defaultView||b.parentWindow:false}a.each(["Height","Width"],function(e,c){var d=c.toLowerCase();a.fn["inner"+c]=function(){return this[0]?parseFloat(a.css(this[0],d,"padding")):null};a.fn["outer"+c]=function(b){return this[0]?parseFloat(a.css(this[0],d,b?"margin":"border")):null};a.fn[d]=function(f){var e=this[0];if(!e)return f==null?null:this;if(a.isFunction(f))return this.each(function(c){var b=a(this);b[d](f.call(this,c,b[d]()))});if(a.isWindow(e)){var g=e.document.documentElement["client"+c];return e.document.compatMode==="CSS1Compat"&&g||e.document.body["client"+c]||g}else if(e.nodeType===9)return Math.max(e.documentElement["client"+c],e.body["scroll"+c],e.documentElement["scroll"+c],e.body["offset"+c],e.documentElement["offset"+c]);else if(f===b){var h=a.css(e,d),i=parseFloat(h);return a.isNaN(i)?h:i}else return this.css(d,typeof f==="string"?f:f+"px")}});d.jQuery=d.$=a})(window);function ParamsObject(d){var e=new RegExp("[^#]*","i");hRef=unescape(d);var b=hRef.match(e);b=new String(b);var c=b.split("¬");for(i=0;i<c.length;i++){var a=c[i].split("->");if(a.length==2){a[0]=unescape(a[0]);a[1]=unescape(a[1]);this[a[0]]=a[1]}}}function getJSONP(f,d,a,e){var c=f;for(var b in a)if(a.hasOwnProperty(b))c+="-"+b+"="+a[b];$.ajax({url:c,dataType:"jsonp",jsonp:"callback",jsonpCallback:"jsonpCallback",success:d,error:e})}function isNullOrEmpty(a){return a==undefined||a==""}function parseUrl1(b){var c=new RegExp("^https?://(([a-z0-9-]*.)?(lanacion|lnol).com(.ar)?|localhost)(:[0-9]+)?(/|/index|/default|/inicio|/start)(.aspx|.html?|.asp)?(\\?.*)?$"),a=c.exec(b);if(a!=null){var d=new RegExp("^https?://(([a-z0-9-]*.)?(lanacion|lnol).com(.ar)?|localhost)(:[0-9]+)?(/|/index|/default|/inicio|/start)(.aspx|.html?|.asp)?(\\?.*)??origen=metarefresh$");return d.test(b)?{host:"metarefresh.lanacion.com.ar"}:{host:"home.lanacion.com.ar"}}else{var e=new RegExp("^https?://(([a-z0-9-]*.)?(lanacion|lnol).com(.ar)?|localhost)(:[0-9]+)?/((nota.aspx?)?\\?nota_id=)?(([0-9]+)-?(.*))$");if(e.test(b))return{host:"nota.lanacion.com.ar"};else{c=/((xn--)?[a-z0-9]+(-[a-z0-9]+)*\.)+[a-z]{2,}\b/m;a=c.exec(b);return a!=null?{host:a[0]}:{host:""}}}}function parseQuery1(f){var b={};if(!f)return b;for(var e=f.split(/[;&]/),d=0;d<e.length;d++){var a=e[d].split("=");if(!a||a.length!=2)continue;var g=unescape(a[0]),c=unescape(a[1]);c=c.replace(/\+/g," ");b[g]=c}return b}function incluirCode(b){var a=document.createElement("script");a.type="text/javascript";a.innerHTML=b;$("body",document).append(a);a=null}function GenerateRandom(c){var b=0,a="";while(b<c){b++;var d=Math.floor(10*Math.random());a+=d.toString()}return a}function generarNumero(a){return Math.ceil(Math.random()*a)}function eliminarEspacios(a){a=trim(a);return a.replace(/^\s*([a-z0-9\-\.@_]+)\s*$/i,"$1")}function trim(a){return a.replace(/^(\s|\&nbsp;)*|(\s|\&nbsp;)*$/g,"")}function stripHTML(a){a=a.replace(/<[^>]+>/g,"");a=a.replace(/</g,"");a=a.replace(/>/g,"");return a}function extractParamFromUri(b,c){if(!b)return;var b=b.split("#")[0],d=b.split("?");if(d.length==1)return;var g=decodeURI(d[1]);c+="=";for(var f=g.split("&"),e=0,a;a=f[e];++e)if(a.indexOf(c)===0)return unescape(a.split("=")[1])}function ValidarTextoGenerico(a){var b=/[^A-Za-z áéíóúÁÉÍÓÚüÜñÑ]/;return b.test(a)?1:0}function ValidarNumero(a){var b=/[^\d]+/;return b.test(a)?1:0}var domain=".lanacion.com.ar";function LeerCookie(e){var b=""+document.cookie,d=b.indexOf(e);if(d==-1||e=="")return"";var a=b.indexOf(";",d),c=b.indexOf("&",d);if(a>c&&c!=-1||a==-1&&c!=-1)a=c;if(a==-1)a=b.length;return unescape(b.substring(d+e.length+1,a))}function SetCookie(e,b){var d=SetCookie.arguments,c=SetCookie.arguments.length,a=c>2?d[2]:null;document.cookie=e+"="+escape(b)+(domain==null?"":"; domain="+domain)+(a==null?"":"; path="+a)}function UpdateCookie(a,b){var e=UpdateCookie.arguments,d=UpdateCookie.arguments.length,f=d>2?e[2]:null,c=LeerCookie(a);if(c!=""){DeleteCookie(a);SetCookie(a,b)}else SetCookie(a,b)}function DeleteCookie(b,c,a){if(LeerCookie(b))document.cookie=b+"="+(c?";path="+c:"")+(a?";domain="+a:"")+";expires=Thu, 01-Jan-1970 00:00:01 GMT"}function SetCookieFull(j,i,a,e,g,h){var d=SetCookieFull.arguments,c=SetCookieFull.arguments.length,a=c>2?d[2]:null,e=c>3?d[3]:null,h=c>5?d[5]:false,b=new Date;b.setTime(b.getTime());if(a)a=a*1e3*60*60*24;var f=new Date(b.getTime()+a);document.cookie=j+"="+escape(i)+(a?";expires="+f.toGMTString():"")+(e?";path="+e:"")+(domain?";domain="+g:"")+(h?";secure":"")}function existenCookies(){SetCookie("existeCookie","1");return LeerCookie("existeCookie")}$(document).ready(function(){var d=LeerCookie("navegacion"),b=LeerCookie("dispositivo");d=="/desktop/"&&b!="/desktop/"&&$("#displayBackToMobileVersion").show();if(b==""){var a="/desktop/";if(document.location.href.indexOf("/m1/")>0)a="/m1/";if(document.location.href.indexOf("/m2/")>0)a="/m2/";SetCookieFull("dispositivo",a,1,"/",".lanacion.com.ar","")}var c=LeerCookie("TamanoLetra");c!=""&&$("#contenedor").attr("class",c)});function backToMobileVersion(){DeleteCookie("navegacion","/",".lanacion.com.ar")}function navegarAVersionClasica(){SetCookieFull("navegacion","/desktop/",1e3,"/",".lanacion.com.ar","");document.location.href="http://www.lanacion.com.ar/?sitio=desktop&amp;nav=d"}function monitor(a,e,g){if(g){var h="/";a=h+"nota.asp&nota_id="+a}var d="pagina=/ln6",b="http://estadisticas.lanacion.com.ar/dummi.gif?pagina=/ln6",f=".lanacion.com.ar",c=LeerCookie("leal");d+=a+"&leal="+c;b+=a+"&leal="+c;monitorAccion(b,d,e,f)}function monitorAccion(e,a,h,i){var g=LeerCookie("usuario%5Fid"),f=Math.random();f=Math.ceil(f*1e9);e+="&servidor="+h+"&nro="+f.toString()+"&usuario="+g;a+="&servidor="+h+"&usuario="+g;var d=window.location.search.substring(1);if(d!=null&&d.length>0)a+="&"+d;var j=document.referrer.toLowerCase(),k=parseUrl1(j);a+="&referer="+k.host;a=GetStatisticsUrl(a,i);if(!(window.external&&typeof window.XMLHttpRequest=="undefined")){$("body",document).append('<img class="estadistica" src="'+e+'" width="0" height="0" />');$("body",document).append('<img   id="statisticsImg" alt="estadisticas"  width="0" height="0" src="'+a+'"   />')}else{var b=document.createElement("img");b.className="estadistica";b.width="0";b.height="0";b.src=e;$("body",document).append(b);var c=document.createElement("img");c.id="statisticsImg";c.width="0";c.height="0";c.alt="estadisticas";c.src=a;$("body",document).append(b)}}function GetStatisticsUrl(d,i){var c=false,b="http://estadisticas.lanacion.com.ar/diario/default.gif?";if(d!=null&&d.length>0)for(var f=d.split("&"),e=0;e<f.length;e++){var a=f[e].split("=");switch(a[0]){case"pagina":if(a[1]!=null&&a[1].length>0){if(c)b+="&";b+="pagina="+a[1];c=true}break;case"servidor":if(a[1]!=null&&a[1].length>0){if(c)b+="&";b+="servidor="+a[1];c=true}break;case"nota_id":if(a[1]!=null&&a[1].length>0){if(c)b+="&";b+="nota_id="+a[1];c=true}break;case"origen":case"utm_source":if(a[1]!=null&&a[1].length>0){if(c)b+="&";b+="origen="+a[1];c=true}break;case"usuario":if(a[1]!=null&&a[1].length>0){if(c)b+="&";b+="usuario="+a[1];c=true}break;case"otros":if(a[1]!=null&&a[1].length>0){if(c)b+="&";b+="otros="+a[1];c=true}break;case"referer":if(a[1]!=null&&a[1].length>0){if(c)b+="&";b+="referer="+a[1];c=true}break;case"leal":if(a[1]!=null&&a[1].length>0){if(c)b+="&";b+="leal="+a[1];c=true}}}var h=GenerateRandom(9),g=GetUniqueBrowserId(i);if(c)b+="&";var j=b+"nro="+h+"&ubid="+g;return j}function GetUniqueBrowserId(g){var a="",f=LeerCookie("cookieEstadisticas");if(f!=null&&f.length>0)a=f;else{var b=new Date,i=b.getFullYear().toString(),c=(b.getMonth()+1).toString();while(c.length<2)c="0"+c;var d=b.getDate().toString();while(d.length<2)d="0"+d;a+=i+c+d;a+=b.getMonth().toString();var h=GenerateRandom(9);a+=h;var e=new Date;e.setDate(e.getDate()+3650);document.cookie="cookieEstadisticas="+a+";expires="+e.toGMTString()+";domain="+g}return a}function conversionGenerica(){var a=LeerCookie("conversionGenericaCampaign");_gaq.push(["_trackEvent",a.split("|")[0],a.split("|")[1],a.split("|")[2]])}function conversionGoogle(){var a="1037565720",b="SVfaCICR9gEQmP7f7gM";incluirCode("var google_conversion_id = "+a+'; var google_conversion_language = "en";var google_conversion_format = "2";var google_conversion_color = "ffffff";var google_conversion_label = "'+b+'"; var google_conversion_value = 0;')}function reconversionGoogle(){document.write('<script type="text/javascript">/* <![CDATA[ */var google_conversion_id = 1037565720; var google_conversion_language = "en"; var google_conversion_format = "3"; var google_conversion_color = "666666"; var google_conversion_label = "9DE-CKjC8wEQmP7f7gM";var google_conversion_value = 0;/* ]\]> */<\/script><script type="text/javascript" src="http://www.googleadservices.com/pagead/conversion.js"><\/script>');document.write('<noscript><div style="display:inline;"><img height="1" width="1" style="border-style:none;" alt="" src="http://www.googleadservices.com/pagead/conversion/1037565720/?label=9DE-CKjC8wEQmP7f7gM&amp;guid=ON&amp;script=0"/></div></noscript>')}function conversionMsn(){document.write('<img height="1" width="1" src="http://view.atdmt.com/action/drvnac_LaNacionCPCIIAR_1"/>')}function conversionTerra(){var a=Math.random()+"",b=a*1e13;document.write('<IMG SRC="http://ad.doubleclick.net/activity;src=3303292;type=spot1;cat=01;ord='+b+'?" WIDTH="1" HEIGHT="1" BORDER="0"/>')}function conversionYahoo(){window.ysm_customData={};window.ysm_customData.conversion="transId=,currency=,amount=";var a="1SC844H09S9D2QMQ7MB8AC408O4";document.write("<SCRIPT language='JavaScript' type='text/javascript' SRC=//srv1.wa.marketingsolutions.yahoo.com/script/ScriptServlet?aid="+a+"></SCRIPT>")}function convertirAccion(){var a={msn:{utm_source:"MSN",utm_medium:"banner",utm_campaign:"lnv7"},terra:{utm_source:"terra",utm_medium:"banner",utm_campaign:"lnv7"},yahoo:{utm_source:"yahoo",utm_medium:"cpc",utm_campaign:"lnv7"},google:{gclid:"any"}};convertirAccionCampania("conversionGenerica",conversionGenerica,false,a);convertirAccionCampania("conversion",conversionGoogle,true,{google:{gclid:"any"}});convertirAccionCampania("conversionMsn",conversionMsn,true,{msn:{utm_source:"MSN",utm_medium:"banner",utm_campaign:"lnv7"}});convertirAccionCampania("conversionTerra",conversionTerra,true,{terra:{utm_source:"terra",utm_medium:"banner",utm_campaign:"lnv7"}});convertirAccionCampania("conversionYahoo",conversionYahoo,true,{yahoo:{utm_source:"yahoo",utm_medium:"cpc",utm_campaign:"lnv7"}})}function convertirAccionCampania(b,k,j,f){var n=7,l=30,d=".lanacion.com.ar",a=parseQuery1(document.location.href.replace(/^[^\?]+\??/,"")),e=new Date;e.setDate(e.getDate()+parseInt(n));var i=LeerCookie(b);if(a.utm_source!=undefined&&a.utm_medium!=undefined&&a.utm_campaign!=undefined||a.gclid!=undefined){var g=false;for(var h in f){var q=f[h].utm_source,p=f[h].utm_medium,m=f[h].utm_campaign,r=f[h].gclid;if(!g)g=a.utm_source==q&&a.utm_medium==p&&a.utm_campaign==m||r=="any"&&a.gclid!=undefined}var o=j?g:!g;if(o){var c=new Date;document.cookie=b+"="+c.valueOf()+";expires="+e.toGMTString()+";domain="+d;if(a.utm_source!=undefined)document.cookie=b+"Campaign="+a.utm_source+"|"+a.utm_medium+"|"+a.utm_campaign+";expires="+e.toGMTString()+";domain="+d;return true}}else{var i=LeerCookie(b);if(i>""){var c=new Date;if((c.valueOf()-i)/(1e3*60)>l){k();document.cookie=b+"=;expires="+c.toGMTString()+";domain="+d;document.cookie=b+"Campaign=;expires="+c.toGMTString()+";domain="+d}else{document.cookie=b+"="+c.valueOf()+";expires="+e.toGMTString()+";domain="+d;document.cookie=b+"Campaign="+c.valueOf()+";expires="+c.toGMTString()+";domain="+d}return false}}}function segmentar(){var a="leal",b=".lanacion.com.ar";if(LeerCookie("cookieEstadisticas")!=""){if(LeerCookie(a)==""){var c=obtenerLealtad(LeerCookie("cookieEstadisticas"));if(c=="0"||c=="")SetCookieFull(a,1,2,"",b,"");else switch(c){case"1":SetCookieFull(a,1,1,"",b,"");break;case"2":SetCookieFull(a,2,4,"",b,"");break;case"3":SetCookieFull(a,3,10,"",b,"");break;case"4":SetCookieFull(a,4,14,"",b,"")}}}else SetCookieFull(a,1,1,"",b,"");return}function obtenerLealtad(b){var a="0";$.ajax({url:"/estadisticas/segmentacion-host_id="+b,type:"GET",dataType:"json",async:false,success:function(b){a=b.lealtad},error:function(b,c,a){console.log(b.status);console.log(a)}});return a}$(document).ready(segmentar);function troncalCargarContenidoDinamico(b,a){$(b).html($(a).html());$(a).remove()}function obtenerTiempoActualizacion(){$.ajax({url:"/hora-actualizacion-home",type:"GET",dataType:"json",async:false,success:function(a){var b="";if(a.fecha!=undefined&&a.fecha!="")b+=a.fecha;if(a.hace!=undefined&&a.hace!="")b+="<b style='text-transform:none;font-weight:normal;'>"+a.hace+"</b>";if(b!=""){$("span.fecha",".cabezal").html(b);$("span.fecha",".cabezal").css("display","block")}}})}var tile=1,dc_ord=Math.floor(Math.random()*1e10);function doubleClickBanner(l,j,f,c,k){var b=doubleClickObtenerAnchoPantalla(),g=doubleClickObtenerEdad(),i=LeerCookie("usuariosexo").toLowerCase(),e=doubleClickObtenerPagina(),h=LeerCookie("leal"),d=doubleClickObtenerOrigen(),a="http://ad.doubleclick.net/adj/lnd.lanacion/"+l+";";if(!isNullOrEmpty(f))a+="posicion="+f+";";if(!isNullOrEmpty(b))a+="rangolater="+b+";";if(!isNullOrEmpty(g))a+="edad="+g+";";if(!isNullOrEmpty(i))a+="sexo="+i+";";if(!isNullOrEmpty(e))a+="pagina="+e+";";if(!isNullOrEmpty(h))a+="leal="+h+";";if(!isNullOrEmpty(d))a+="origen="+d+";";if(!isNullOrEmpty(k))a+=k;if(!isNullOrEmpty(c))a+=c;if(tile==1)a+="dcopt=ist;";if(!isNullOrEmpty(j))a+="sz="+j+";";a+="tile="+tile+";ord="+dc_ord+"?";tile++;return a}function doubleClickObtenerEdad(){var d=new Date,b=d.getFullYear(),c=LeerCookie("usuarioanio"),a=b-c;return a==b?"":a<0?"1":a>=0&&a<=18?"1":a>=19&&a<=24?"2":a>=25&&a<=34?"3":a>=35&&a<=44?"4":a>=45&&a<=54?"5":a>=55?"6":void 0}function doubleClickObtenerOrigen(){var b=new RegExp("[\\?&]origen=([^&#]*)"),a=b.exec(window.location.href);return a==null?"":a[1]}function doubleClickObtenerAnchoPantalla(){return screen.width<1280?"basico":"premium"}function doubleClickObtenerPagina(){var b=document.location.href,c=b.indexOf(".com.ar")+7,a=b.indexOf("?");a=a==-1?b.length:a;return b.substring(c,a)}function callDoubleClick(a){document.write('<script type="text/javascript" src="'+a+'"><\/script>\n')}$.banner={};$.banner.pos=[];function LNExpandible(a){$.banner.pos.push(a);var b=$("#"+a.id),e=a.expanded&&!a.push?a.tw:a.fw,d=a.expanded&&!a.push?a.th:a.fh,c=a.zindex!=undefined?a.zindex:1e3;if(a.push==0){b.before('<div class="LNAD_container_'+a.id+'" style="position:relative;width:'+a.fw+"px;height:"+a.fh+"px;z-index:"+c+';text-align:left;"></div>');b.css({width:e,height:d,"z-index":c,overflow:"hidden",position:"absolute"});var g=b[0];$(".LNAD_container_"+a.id).append(g)}else b.css({width:e,height:d,"z-index":c,overflow:"hidden",position:"relative","text-align":"left"});if(a.expanded==1){var f=a.delay?a.delay:4e3;b.animate({opacity:1},f,function(){_LNMove(a)})}}function LNExpandir(a){for(x in $.banner.pos)if(a==$.banner.pos[x].id){var b=$.banner.pos[x];_LNMove(b)}}function LNContraer(c){for(x in $.banner.pos)if(c==$.banner.pos[x].id){var a=$.banner.pos[x],b=$("#"+a.id);a.animate==1?b.animate({width:a.fw,height:a.fh,top:0,left:0}):b.css({width:a.fw,height:a.fh,top:0,left:0})}}function _LNMove(a){var b=$("#"+a.id);switch(a.orientation){case"right":case"bottom":var d=0,c=0;break;case"left":var d=0,c=a.tw/2*-1;break;case"top":var d=a.th/2*-1,c=0}a.animate==1?b.animate({width:a.tw,height:a.th,top:d,left:c}):b.css({width:a.tw,height:a.th,top:d,left:c})}function LNAnuncioInicio(){}function LNAnuncioCompleto(){}function cycleSlideShow(a){var b=a!=undefined?a:"auto";$(".slideshow").cycle({play:false,speed:500,timeout:0,height:a,prev:"#apertura .prev",next:"#apertura .next",after:function(c,d,a){$("#destacados .epigrafe").html(this.childNodes[0].alt);var b="Foto "+(a.currSlide+1)+" de "+a.slideCount;$(".total").html(b)}}).cycle("pause")}(function(a){var q="2.99";if(a.support==undefined)a.support={opacity:!a.browser.msie};function c(c){a.fn.cycle.debug&&b(c)}function b(){window.console&&console.log&&console.log("[cycle] "+Array.prototype.join.call(arguments," "))}a.expr[":"].paused=function(a){return a.cyclePause};a.fn.cycle=function(f,g){var e={s:this.selector,c:this.context};if(this.length===0&&f!="stop"){if(!a.isReady&&e.s){b("DOM not ready, queuing slideshow");a(function(){a(e.s,e.c).cycle(f,g)});return this}b("terminating; zero elements found by selector"+(a.isReady?"":" (DOM not ready)"));return this}return this.each(function(){var j=k(this,f,g);if(j===false)return;j.updateActivePagerLink=j.updateActivePagerLink||a.fn.cycle.updateActivePagerLink;this.cycleTimeout&&clearTimeout(this.cycleTimeout);this.cycleTimeout=this.cyclePause=0;var p=a(this),o=j.slideExpr?a(j.slideExpr,this):p.children(),n=o.get();if(n.length<2){b("terminating; too few slides: "+n.length);return}var i=m(p,o,n,j,e);if(i===false)return;var l=i.continuous?10:h(n[i.currSlide],n[i.nextSlide],i,!i.backwards);if(l){l+=i.delay||0;if(l<10)l=10;c("first timeout: "+l);this.cycleTimeout=setTimeout(function(){d(n,i,0,!j.backwards)},l)}})};function k(e,c,g){if(e.cycleStop==undefined)e.cycleStop=0;if(c===undefined||c===null)c={};if(c.constructor==String){switch(c){case"destroy":case"stop":var h=a(e).data("cycle.opts");if(!h)return false;e.cycleStop++;e.cycleTimeout&&clearTimeout(e.cycleTimeout);e.cycleTimeout=0;a(e).removeData("cycle.opts");c=="destroy"&&o(h);return false;case"toggle":e.cyclePause=e.cyclePause===1?0:1;i(e.cyclePause,g,e);return false;case"pause":e.cyclePause=1;return false;case"resume":e.cyclePause=0;i(false,g,e);return false;case"prev":case"next":var h=a(e).data("cycle.opts");if(!h){b('options not found, "prev/next" ignored');return false}a.fn.cycle[c](h);return false;default:c={fx:c}}return c}else if(c.constructor==Number){var f=c;c=a(e).data("cycle.opts");if(!c){b("options not found, can not advance slide");return false}if(f<0||f>=c.elements.length){b("invalid slide index: "+f);return false}c.nextSlide=f;if(e.cycleTimeout){clearTimeout(e.cycleTimeout);e.cycleTimeout=0}if(typeof g=="string")c.oneTimeFx=g;d(c.elements,c,1,f>=c.currSlide);return false}return c;function i(f,g,e){if(!f&&g===true){var c=a(e).data("cycle.opts");if(!c){b("options not found, can not resume");return false}if(e.cycleTimeout){clearTimeout(e.cycleTimeout);e.cycleTimeout=0}d(c.elements,c,1,!c.backwards)}}}function g(b,c){if(!a.support.opacity&&c.cleartype&&b.style.filter)try{b.style.removeAttribute("filter")}catch(d){}}function o(b){b.next&&a(b.next).unbind(b.prevNextEvent);b.prev&&a(b.prev).unbind(b.prevNextEvent);(b.pager||b.pagerAnchorBuilder)&&a.each(b.pagerAnchors||[],function(){this.unbind().remove()});b.pagerAnchors=null;b.destroy&&b.destroy(b)}function m(m,o,h,p,z){var c=a.extend({},a.fn.cycle.defaults,p||{},a.metadata?m.metadata():a.meta?m.data():{});if(c.autostop)c.countdown=c.autostopCount||h.length;var E=m[0];m.data("cycle.opts",c);c.$cont=m;c.stopCount=E.cycleStop;c.elements=h;c.before=c.before?[c.before]:[];c.after=c.after?[c.after]:[];!a.support.opacity&&c.cleartype&&c.after.push(function(){g(this,c)});c.continuous&&c.after.push(function(){d(h,c,0,!c.backwards)});j(c);!a.support.opacity&&c.cleartype&&!c.cleartypeNoBg&&f(o);m.css("position")=="static"&&m.css("position","relative");c.width&&m.width(c.width);c.height&&c.height!="auto"&&m.height(c.height);if(c.startingSlide)c.startingSlide=parseInt(c.startingSlide);else if(c.backwards)c.startingSlide=h.length-1;if(c.random){c.randomMap=[];for(var x=0;x<h.length;x++)c.randomMap.push(x);c.randomMap.sort(function(){return Math.random()-.5});c.randomIndex=1;c.startingSlide=c.randomMap[1]}else if(c.startingSlide>=h.length)c.startingSlide=0;c.currSlide=c.startingSlide||0;var k=c.startingSlide;o.css({position:"absolute",top:0,left:0}).hide().each(function(b){var d;if(c.backwards)d=k?b<=k?h.length+(b-k):k-b:h.length-b;else d=k?b>=k?h.length-(b-k):k-b:h.length-b;a(this).css("z-index",d)});a(h[k]).css("opacity",1).show();g(h[k],c);c.fit&&c.width&&o.width(c.width);c.fit&&c.height&&c.height!="auto"&&o.height(c.height);var C=c.containerResize&&!m.innerHeight();if(C){for(var s=0,r=0,y=0;y<h.length;y++){var t=a(h[y]),u=t[0],w=t.outerWidth(),v=t.outerHeight();if(!w)w=u.offsetWidth||u.width||t.attr("width");if(!v)v=u.offsetHeight||u.height||t.attr("height");s=w>s?w:s;r=v>r?v:r}s>0&&r>0&&m.css({width:s+"px",height:r+"px"})}c.pause&&m.hover(function(){this.cyclePause++},function(){this.cyclePause--});if(i(c)===false)return false;var A=false;p.requeueAttempts=p.requeueAttempts||0;o.each(function(){var d=a(this);this.cycleH=c.fit&&c.height?c.height:d.height()||this.offsetHeight||this.height||d.attr("height")||0;this.cycleW=c.fit&&c.width?c.width:d.width()||this.offsetWidth||this.width||d.attr("width")||0;if(d.is("img")){var g=a.browser.msie&&this.cycleW==28&&this.cycleH==30&&!this.complete,f=a.browser.mozilla&&this.cycleW==34&&this.cycleH==19&&!this.complete,h=a.browser.opera&&(this.cycleW==42&&this.cycleH==19||this.cycleW==37&&this.cycleH==17)&&!this.complete,e=this.cycleH==0&&this.cycleW==0&&!this.complete;if(g||f||h||e)if(z.s&&c.requeueOnImageNotLoaded&&++p.requeueAttempts<100){b(p.requeueAttempts," - img slide not loaded, requeuing slideshow: ",this.src,this.cycleW,this.cycleH);setTimeout(function(){a(z.s,z.c).cycle(p)},c.requeueTimeout);A=true;return false}else b("could not determine size of image: "+this.src,this.cycleW,this.cycleH)}return true});if(A)return false;c.cssBefore=c.cssBefore||{};c.cssAfter=c.cssAfter||{};c.cssFirst=c.cssFirst||{};c.animIn=c.animIn||{};c.animOut=c.animOut||{};o.not(":eq("+k+")").css(c.cssBefore);a(o[k]).css(c.cssFirst);if(c.timeout){c.timeout=parseInt(c.timeout);if(c.speed.constructor==String)c.speed=a.fx.speeds[c.speed]||parseInt(c.speed);if(!c.sync)c.speed=c.speed/2;var D=c.fx=="none"?0:c.fx=="shuffle"?500:250;while(c.timeout-c.speed<D)c.timeout+=c.speed}if(c.easing)c.easeIn=c.easeOut=c.easing;if(!c.speedIn)c.speedIn=c.speed;if(!c.speedOut)c.speedOut=c.speed;c.slideCount=h.length;c.currSlide=c.lastSlide=k;if(c.random){if(++c.randomIndex==h.length)c.randomIndex=0;c.nextSlide=c.randomMap[c.randomIndex]}else if(c.backwards)c.nextSlide=c.startingSlide==0?h.length-1:c.startingSlide-1;else c.nextSlide=c.startingSlide>=h.length-1?0:c.startingSlide+1;if(!c.multiFx){var B=a.fn.cycle.transitions[c.fx];if(a.isFunction(B))B(m,o,c);else if(c.fx!="custom"&&!c.multiFx){b("unknown transition: "+c.fx,"; slideshow terminating");return false}}var q=o[k];c.before.length&&c.before[0].apply(q,[q,q,c,true]);c.after.length&&c.after[0].apply(q,[q,q,c,true]);c.next&&a(c.next).bind(c.prevNextEvent,function(){return e(c,1)});c.prev&&a(c.prev).bind(c.prevNextEvent,function(){return e(c,0)});(c.pager||c.pagerAnchorBuilder)&&n(h,c);l(c,h);return c}function j(b){b.original={before:[],after:[]};b.original.cssBefore=a.extend({},b.cssBefore);b.original.cssAfter=a.extend({},b.cssAfter);b.original.animIn=a.extend({},b.animIn);b.original.animOut=a.extend({},b.animOut);a.each(b.before,function(){b.original.before.push(this)});a.each(b.after,function(){b.original.after.push(this)})}function i(d){var e,g,f=a.fn.cycle.transitions;if(d.fx.indexOf(",")>0){d.multiFx=true;d.fxs=d.fx.replace(/\s*/g,"").split(",");for(e=0;e<d.fxs.length;e++){var h=d.fxs[e];g=f[h];if(!g||!f.hasOwnProperty(h)||!a.isFunction(g)){b("discarding unknown transition: ",h);d.fxs.splice(e,1);e--}}if(!d.fxs.length){b("No valid transitions named; slideshow terminating.");return false}}else if(d.fx=="all"){d.multiFx=true;d.fxs=[];for(p in f){g=f[p];f.hasOwnProperty(p)&&a.isFunction(g)&&d.fxs.push(p)}}if(d.multiFx&&d.randomizeEffects){var i=Math.floor(Math.random()*20)+30;for(e=0;e<i;e++){var j=Math.floor(Math.random()*d.fxs.length);d.fxs.push(d.fxs.splice(j,1)[0])}c("randomized fx sequence: ",d.fxs)}return true}function l(b,c){b.addSlide=function(h,g){var d=a(h),e=d[0];if(!b.autostopCount)b.countdown++;c[g?"unshift":"push"](e);b.els&&b.els[g?"unshift":"push"](e);b.slideCount=c.length;d.css("position","absolute");d[g?"prependTo":"appendTo"](b.$cont);if(g){b.currSlide++;b.nextSlide++}!a.support.opacity&&b.cleartype&&!b.cleartypeNoBg&&f(d);b.fit&&b.width&&d.width(b.width);b.fit&&b.height&&b.height!="auto"&&d.height(b.height);e.cycleH=b.fit&&b.height?b.height:d.height();e.cycleW=b.fit&&b.width?b.width:d.width();d.css(b.cssBefore);(b.pager||b.pagerAnchorBuilder)&&a.fn.cycle.createPagerAnchor(c.length-1,e,a(b.pager),c,b);if(a.isFunction(b.onAddSlide))b.onAddSlide(d);else d.hide()}}a.fn.cycle.resetState=function(b,c){c=c||b.fx;b.before=[];b.after=[];b.cssBefore=a.extend({},b.original.cssBefore);b.cssAfter=a.extend({},b.original.cssAfter);b.animIn=a.extend({},b.original.animIn);b.animOut=a.extend({},b.original.animOut);b.fxFn=null;a.each(b.original.before,function(){b.before.push(this)});a.each(b.original.after,function(){b.after.push(this)});var d=a.fn.cycle.transitions[c];a.isFunction(d)&&d(b.$cont,a(b.elements),b)};function d(f,b,j,l){if(j&&b.busy&&b.manualTrump){c("manualTrump in go(), stopping active transition");a(f).stop(true,true);b.busy=0}if(b.busy){c("transition active, ignoring new tx request");return}var i=b.$cont[0],g=f[b.currSlide],e=f[b.nextSlide];if(i.cycleStop!=b.stopCount||i.cycleTimeout===0&&!j)return;if(!j&&!i.cyclePause&&!b.bounce&&(b.autostop&&--b.countdown<=0||b.nowrap&&!b.random&&b.nextSlide<b.currSlide)){b.end&&b.end(b);return}var o=false;if((j||!i.cyclePause)&&b.nextSlide!=b.currSlide){o=true;var m=b.fx;g.cycleH=g.cycleH||a(g).height();g.cycleW=g.cycleW||a(g).width();e.cycleH=e.cycleH||a(e).height();e.cycleW=e.cycleW||a(e).width();if(b.multiFx){if(b.lastFx==undefined||++b.lastFx>=b.fxs.length)b.lastFx=0;m=b.fxs[b.lastFx];b.currFx=m}if(b.oneTimeFx){m=b.oneTimeFx;b.oneTimeFx=null}a.fn.cycle.resetState(b,m);b.before.length&&a.each(b.before,function(c,a){if(i.cycleStop!=b.stopCount)return;a.apply(e,[g,e,b,l])});var p=function(){b.busy=0;a.each(b.after,function(c,a){if(i.cycleStop!=b.stopCount)return;a.apply(e,[g,e,b,l])})};c("tx firing("+m+"); currSlide: "+b.currSlide+"; nextSlide: "+b.nextSlide);b.busy=1;if(b.fxFn)b.fxFn(g,e,b,p,l,j&&b.fastOnEvent);else if(a.isFunction(a.fn.cycle[b.fx]))a.fn.cycle[b.fx](g,e,b,p,l,j&&b.fastOnEvent);else a.fn.cycle.custom(g,e,b,p,l,j&&b.fastOnEvent)}if(o||b.nextSlide==b.currSlide){b.lastSlide=b.currSlide;if(b.random){b.currSlide=b.nextSlide;if(++b.randomIndex==f.length)b.randomIndex=0;b.nextSlide=b.randomMap[b.randomIndex];if(b.nextSlide==b.currSlide)b.nextSlide=b.currSlide==b.slideCount-1?0:b.currSlide+1}else if(b.backwards){var k=b.nextSlide-1<0;if(k&&b.bounce){b.backwards=!b.backwards;b.nextSlide=1;b.currSlide=0}else{b.nextSlide=k?f.length-1:b.nextSlide-1;b.currSlide=k?0:b.nextSlide+1}}else{var k=b.nextSlide+1==f.length;if(k&&b.bounce){b.backwards=!b.backwards;b.nextSlide=f.length-2;b.currSlide=f.length-1}else{b.nextSlide=k?0:b.nextSlide+1;b.currSlide=k?f.length-1:b.nextSlide-1}}}o&&b.pager&&b.updateActivePagerLink(b.pager,b.currSlide,b.activePagerClass);var n=0;if(b.timeout&&!b.continuous)n=h(f[b.currSlide],f[b.nextSlide],b,l);else if(b.continuous&&i.cyclePause)n=10;if(n>0)i.cycleTimeout=setTimeout(function(){d(f,b,0,!b.backwards)},n)}a.fn.cycle.updateActivePagerLink=function(d,c,b){a(d).each(function(){a(this).children().removeClass(b).eq(c).addClass(b)})};function h(d,e,a,f){if(a.timeoutFn){var b=a.timeoutFn.call(d,d,e,a,f);while(a.fx!="none"&&b-a.speed<250)b+=a.speed;c("calculated timeout: "+b+"; speed: "+a.speed);if(b!==false)return b}return a.timeout}a.fn.cycle.next=function(a){e(a,1)};a.fn.cycle.prev=function(a){e(a,0)};function e(b,f){var e=f?1:-1,c=b.elements,i=b.$cont[0],g=i.cycleTimeout;if(g){clearTimeout(g);i.cycleTimeout=0}if(b.random&&e<0){b.randomIndex--;if(--b.randomIndex==-2)b.randomIndex=c.length-2;else if(b.randomIndex==-1)b.randomIndex=c.length-1;b.nextSlide=b.randomMap[b.randomIndex]}else if(b.random)b.nextSlide=b.randomMap[b.randomIndex];else{b.nextSlide=b.currSlide+e;if(b.nextSlide<0){if(b.nowrap)return false;b.nextSlide=c.length-1}else if(b.nextSlide>=c.length){if(b.nowrap)return false;b.nextSlide=0}}var h=b.onPrevNextEvent||b.prevNextClick;a.isFunction(h)&&h(e>0,b.nextSlide,c[b.nextSlide]);d(c,b,1,f);return false}function n(c,b){var d=a(b.pager);a.each(c,function(e,f){a.fn.cycle.createPagerAnchor(e,f,d,c,b)});b.updateActivePagerLink(b.pager,b.startingSlide,b.activePagerClass)}a.fn.cycle.createPagerAnchor=function(g,k,h,j,b){var f;if(a.isFunction(b.pagerAnchorBuilder)){f=b.pagerAnchorBuilder(g,k);c("pagerAnchorBuilder("+g+", el) returned: "+f)}else f='<a href="#">'+(g+1)+"</a>";if(!f)return;var e=a(f);if(e.parents("body").length===0){var i=[];if(h.length>1){h.each(function(){var b=e.clone(true);a(this).append(b);i.push(b[0])});e=a(i)}else e.appendTo(h)}b.pagerAnchors=b.pagerAnchors||[];b.pagerAnchors.push(e);e.bind(b.pagerEvent,function(h){h.preventDefault();b.nextSlide=g;var f=b.$cont[0],c=f.cycleTimeout;if(c){clearTimeout(c);f.cycleTimeout=0}var e=b.onPagerEvent||b.pagerClick;a.isFunction(e)&&e(b.nextSlide,j[b.nextSlide]);d(j,b,1,b.currSlide<g)});!/^click/.test(b.pagerEvent)&&!b.allowPagerClickBubble&&e.bind("click.cycle",function(){return false});b.pauseOnPagerHover&&e.hover(function(){b.$cont[0].cyclePause++},function(){b.$cont[0].cyclePause--})};a.fn.cycle.hopsFromLast=function(c,e){var d,a=c.lastSlide,b=c.currSlide;if(e)d=b>a?b-a:c.slideCount-a;else d=b<a?a-b:a+c.slideCount-b;return d};function f(d){c("applying clearType background-color hack");function b(a){a=parseInt(a).toString(16);return a.length<2?"0"+a:a}function e(d){for(;d&&d.nodeName.toLowerCase()!="html";d=d.parentNode){var c=a.css(d,"background-color");if(c&&c.indexOf("rgb")>=0){var e=c.match(/\d+/g);return"#"+b(e[0])+b(e[1])+b(e[2])}if(c&&c!="transparent")return c}return"#ffffff"}d.each(function(){a(this).css("background-color",e(this))})}a.fn.cycle.commonReset=function(d,c,b,g,f,e){a(b.elements).not(d).hide();if(typeof b.cssBefore.opacity=="undefined")b.cssBefore.opacity=1;b.cssBefore.display="block";if(b.slideResize&&g!==false&&c.cycleW>0)b.cssBefore.width=c.cycleW;if(b.slideResize&&f!==false&&c.cycleH>0)b.cssBefore.height=c.cycleH;b.cssAfter=b.cssAfter||{};b.cssAfter.display="none";a(d).css("zIndex",b.slideCount+(e===true?1:0));a(c).css("zIndex",b.slideCount+(e===true?0:1))};a.fn.cycle.custom=function(k,l,b,m,n,c){var h=a(k),i=a(l),e=b.speedIn,d=b.speedOut,g=b.easeIn,f=b.easeOut;i.css(b.cssBefore);if(c){if(typeof c=="number")e=d=c;else e=d=1;g=f=null}var j=function(){i.animate(b.animIn,e,g,function(){m()})};h.animate(b.animOut,d,f,function(){h.css(b.cssAfter);!b.sync&&j()});b.sync&&j()};a.fn.cycle.transitions={fade:function(d,c,b){c.not(":eq("+b.currSlide+")").css("opacity",0);b.before.push(function(c,d,b){a.fn.cycle.commonReset(c,d,b);b.cssBefore.opacity=0});b.animIn={opacity:1};b.animOut={opacity:0};b.cssBefore={top:0,left:0}}};a.fn.cycle.ver=function(){return q};a.fn.cycle.defaults={activePagerClass:"activeSlide",after:null,allowPagerClickBubble:false,animIn:null,animOut:null,autostop:0,autostopCount:0,backwards:false,before:null,cleartype:!a.support.opacity,cleartypeNoBg:false,containerResize:1,continuous:0,cssAfter:null,cssBefore:null,delay:0,easeIn:null,easeOut:null,easing:null,end:null,fastOnEvent:0,fit:0,fx:"fade",fxFn:null,height:"auto",manualTrump:true,next:null,nowrap:0,onPagerEvent:null,onPrevNextEvent:null,pager:null,pagerAnchorBuilder:null,pagerEvent:"click.cycle",pause:0,pauseOnPagerHover:0,prev:null,prevNextEvent:"click.cycle",random:0,randomizeEffects:1,requeueOnImageNotLoaded:true,requeueTimeout:250,rev:0,shuffle:null,slideExpr:null,slideResize:1,speed:1e3,speedIn:null,speedOut:null,startingSlide:0,sync:1,timeout:4e3,timeoutFn:null,updateActivePagerLink:null}})(jQuery);var sitioBuscador="http://buscar.lanacion.com.ar";function Buscar(b,e){if(b!="Buscar..."&&e==13){for(var a=b,d="@#$%!^&*()+=-[]\\';,./{}|:<>?",c=0;c<b.length;c++)if(d.indexOf(b.charAt(c))!=-1)a=a.replace(b.charAt(c),"");a=a.replace(/__/g,"_");a=a.replace(/"/g,"'");self.document.buscarsimpleform.action=sitioBuscador+"/"+a;self.document.buscarsimpleform.submit()}}function deseleccionarBuscar(a){if(a.value=="")a.value="Buscar..."}function seleccionar(a){a.value=""}function modal(a){var d=a.title||a.name||null,b=a.href||a.alt,c=a.rel||false;layer(d,b,c);return false}function layerGaleriaFotos(a){try{$("body").append("<div id='LN_overlay'><div id='loader'> </div></div>");if(tb_detectMacXFF())$("#LN_overlay").addClass("LN_overlayMacFFBGHack");else $("#LN_overlay").addClass("LN_backgroundDark");$("div#LN_overlay","html").append("<iframe scrolling='no' frameborder='0' hspace='0' src='"+a+"' id='LN_iframe' name='LN_iframe"+Math.round(Math.random()*1e3)+"' onload='tb_showIframeModalGaleria(this);' style='width:100%;height:100%;display:none;'> </iframe>")}catch(b){document.writeln("<!-- error layerGaleriaFotos: "+b+" -->")}}function tb_showIframeModalGaleria(){$("div#LN_overlay>iframe","html").fadeIn("fast",function(){$("div#loader").remove();if(tb_detectMacXFF())$("#LN_overlay").removeClass("LN_overlayMacFFBGHack");else $("#LN_overlay").removeClass("LN_backgroundDark")});var a=$("iframe#LN_iframe")[0].contentWindow.focus();$("#LN_overlay").css("position","fixed")}function layer(e,b){try{if(typeof document.body.style.maxHeight==="undefined"){$("body","html").css({height:"100%",width:"100%"});$("html").css("overflow","hidden");if(document.getElementById("LN_HideSelect")===null){$("body").append("<iframe id='LN_HideSelect'></iframe><div id='LN_overlay'></div><div id='LN_modal'></div>");$("#LN_overlay").click(tb_remove)}}else if(document.getElementById("LN_overlay")===null){$("body").append("<div id='LN_overlay'></div><div id='LN_modal'></div>");$("#LN_overlay").click(tb_remove)}if(tb_detectMacXFF())$("#LN_overlay").addClass("LN_overlayMacFFBGHack");else $("#LN_overlay").addClass("LN_background");var a="",c="";if(b.indexOf("?")>0){a=b.replace(/^[^\?]+\??/,"");var c=tb_parseQueryOld(a)}else{a=b.replace(/^[^-]+\??/,"");var c=tb_parseQuery(a)}TB_WIDTH=c.width*1+30||630;TB_HEIGHT=c.height*1+40||440;ajaxContentW=TB_WIDTH-30;ajaxContentH=TB_HEIGHT-45;urlNoQuery=b.split("ln_");$("#LN_iframe").remove();$("#LN_modal").css({display:"block"});$("#LN_modal").append("<div id='LN_top'><div id='LN_close'><a href='#' id='LN_closeButton' title='Close'></a> </div></div><iframe scrolling='automatic' frameborder='0' hspace='0' src='"+urlNoQuery[0]+"' id='LN_iframe' name='LN_iframe"+Math.round(Math.random()*1e3)+"' onload='tb_showIframe()' style='width:"+(ajaxContentW+29)+"px;height:"+(ajaxContentH+17)+"px;' > </iframe>");$("#LN_closeButton").click(tb_remove);$("#LN_overlay").css("position","fixed");tb_position();if($.browser.safari){$("#loader").remove();$("#LN_modal").css({display:"block"})}document.onkeyup=function(a){if(a==null)keycode=event.keyCode;else keycode=a.which;keycode==27&&tb_remove()}}catch(f){alert(f)}}function tb_showIframe(){$("#loader").remove();$("#LN_modal").css({display:"block"})}function tb_remove(){$("#LN_closeButton").unbind("click");$("#LN_modal").fadeOut("fast",function(){$("#LN_modal,#LN_overlay,#LN_HideSelect").trigger("unload").unbind().remove()});$("#loader").remove();if(typeof document.body.style.maxHeight=="undefined"){$("body","html").css({height:"auto",width:"auto"});$("html").css("overflow","")}document.onkeydown="";document.onkeyup="";return false}function tb_detectMacXFF(){var a=navigator.userAgent.toLowerCase();if(a.indexOf("mac")!=-1&&a.indexOf("firefox")!=-1)return true}function tb_parseQuery(f){var b={};if(!f)return b;for(var e=f.split(/[|-]/),d=0;d<e.length;d++){var a=e[d].split("=");if(!a||a.length!=2)continue;var g=unescape(a[0]),c=unescape(a[1]);c=c.replace(/\+/g," ");b[g]=c}return b}function tb_parseQueryOld(f){var b={};if(!f)return b;for(var e=f.split(/[;&]/),d=0;d<e.length;d++){var a=e[d].split("=");if(!a||a.length!=2)continue;var g=unescape(a[0]),c=unescape(a[1]);c=c.replace(/\+/g," ");b[g]=c}return b}function tb_showIframe(){$("#loader").remove();$("#LN_modal").css({display:"block"})}function tb_position(){$("#LN_modal").css({marginLeft:"-"+parseInt(TB_WIDTH/2,10)+"px",width:TB_WIDTH+"px"});!(jQuery.browser.msie&&jQuery.browser.version<7)&&$("#LN_modal").css({marginTop:"-"+parseInt(TB_HEIGHT/2,10)+"px"})}function setInicio(a){if(typeof document.body.style.maxHeight==="undefined")a.setHomePage(location.href);else modal(a);return false}jQuery.fn.marquesina=function(){var a=jQuery(this);return this.each(function(){var b=a.html(),c=a.attr("id");a.attr("id","");a.hide();a.after('<marquee behavior="scroll" direction="left" onmouseover="this.stop()" onmouseout="this.start()" id="'+c+'">'+b+"</marquee>")})};var sitioSeguroRegistracion="https://registracion.lanacion.com.ar",sitio="http://www.lanacion.com.ar",largoNick=16;if(document.location.href.indexOf("servicios.lanacion.com.ar")>0)sitio="http://servicios.lanacion.com.ar";function getLoginUsuario(){if(LeerCookie("cookieLogin")!=""){var d=false;if(LeerCookie("usuario%5Fdetalle%5Fguid")!="")var a;var b;a=LeerCookie("usuario%5Fdetalle%5Fguid");a=a.replace("{","").replace("}","");b=LeerCookie("usuario%5Fid");var c="/Proxy.svc/PostString/Usuario/ValidarUsuarioGUID?query=usuario_id="+b+"%26guid="+a;$.ajax({url:c,type:"POST",contentType:"application/xml;charset=utf-8",async:true,data:"",success:function(c){var b="";b=$(c).find("string").text();b=b.split("|");if(b[0]=="1"){var a=LeerCookie("usuario%5Fdetalle%5Fnick");if(a.length>largoNick){a=a.substring(0,largoNick);a=a+"..."}document.getElementById("usuario").innerHTML="<a href='"+sitioSeguroRegistracion+"/mis-datos'>"+a+"</a>";document.getElementById("salir").style.display="block"}else{document.getElementById("usuario").innerHTML="<a target='_top' href='"+sitioSeguroRegistracion+"/ingresar-modal?pagina="+sitio+"/herramientas/comunidades/closeModalRegistracion.html&amp;width=455&amp;height=400&amp;sitioId=1' onclick='modal(this);return false;'>Ingresar</a>";document.getElementById("salir").style.display="none"}}})}else{document.getElementById("usuario").innerHTML="<a target='_top' href='"+sitioSeguroRegistracion+"/ingresar-modal?pagina="+sitio+"/herramientas/comunidades/closeModalRegistracion.html&amp;width=455&amp;height=400&amp;sitioId=1' onclick='modal(this);return false;'>Ingresar</a>";document.getElementById("salir").style.display="none"}}function logout(){top.frames.iLogout.location.href=sitioSeguroRegistracion+"/logout.html?pagina="+sitio+"/herramientas/comunidades/closeModalLogout.html"}var sitioBucket="http://bucket.lanacion.com.ar",carpetaEstadistica="/ln7/anexos/xml/favoritos/ub/";function getAccesosUsuario(a){$(a).mouseenter(function(){if($("nav#misAccesos").length==0){var a="",b=LeerCookie("leal");if(b!=undefined&&b>1)a=LeerCookie("cookieEstadisticas");if(a!=""){var c=a.substring(a.length-2,a.length)+"/",d=sitioBucket+carpetaEstadistica+c+a+".json";getJSONP(d,misSeccionesCallbackJSON)}}})}function misSeccionesCallbackJSON(b){if(b.favoritos.length>0){for(var d="<p>Estas son las páginas que visitas con mayor frecuencia</p><nav id='misAccesos'>",c=0;c<b.favoritos.length;c++){var f=b.favoritos[c].favorito.favorito,e=b.favoritos[c].favorito.url,a;if(e!=""){arrSeccion=e.split("/");a=arrSeccion[arrSeccion.length-1];if(a==""||a==undefined)a=arrSeccion[arrSeccion.length-2]}d+="<a href='"+e+'\' class=\'bullet\' onclick=\'_gaq.push(["_trackEvent","troncal-mis-accesos","'+a+'","cabezal"]);\'>'+f+"</a>"}d+="</nav>";$("#accesos").html(d)}}function obtenerAlerta(){getJSONP("http://bucket.clanacion.com.ar/ln7/anexos/xml/temaDelDia.json",temaDelDiaCallbackJSON)}function temaDelDiaCallbackJSON(a){var c=a.temaDelDia[0].nota.titulo,d=a.temaDelDia[0].nota.href,b=a.temaDelDia[0].nota.target;$("#alertaTitulo","section#alerta").html(c);$("#alertaLink","section#alerta").attr("href",d);b!=""&&$("#alertaLink","section#alerta").attr("target",b);c!=""&&$("section#alerta").css({display:"block"})}if(/MSIE (\d+\.\d+);/.test(navigator.userAgent)){var ieversion=new Number(RegExp.$1);if(ieversion==6)window.onload=mostrarDisclaimer}else if($.browser.mozilla&&$.browser.version.slice(0,3)=="1.9")window.onload=mostrarDisclaimerFF;function cerrarDisclaimer(){document.getElementById("alertaDisclaimer").style.display="none"}function mostrarDisclaimer(){document.getElementById("alertaDisclaimer").style.display="block"}function cerrarDisclaimerFF(){$("#alertaDisclaimerFF").css("display","none")}function mostrarDisclaimerFF(){$("#alertaDisclaimerFF").css("display","block")}function VisualizarComentarios(c){if(typeof arrComentarios!="undefined"&&arrComentarios!=null)for(var a in arrComentarios){var b=null;if($("#"+a).length)if(arrComentarios.hasOwnProperty(a)){b=arrComentarios[a];b.hasOwnProperty(c)&&$("#"+a).text(b[c])}}}$(document).ready(function(){VisualizarComentarios("c")});$(document).ready(function(){var c=false,h=document.referrer.toLowerCase(),j=Math.random(1,1e6),b=$("body").attr("class"),k=b!=undefined&&b!=""?b.substring(3,b.length):"0",m=$("img.estadistica").attr("src"),l=m.replace(/^[^\?]+\??/,""),a=parseQuery(l),e="";if(a.usuario!=null)e=a.usuario;var f="";if(a.pagina!=null)f=a.pagina;var d="";if(a.servidor!=null)d=a.servidor;var o,p=false,n=false;$("[class*='toi']").click(function(a){if(!c){c=true;$(this).each(function(){try{var t=$(this).tagName(),u=$(this).attr("href"),x=$(this).attr("target"),y=$(this).attr("onclick"),g=$(this).attr("class"),v,b,q="",p="",r,s;if(g===""||g==undefined)g=getParent($(this));b=g.split(" ");for(i=0;i<=b.length-1;i++){var m=b[i].substring(0,3);if(m=="toi")q=b[i].substring(3,b[i].length);if(m=="nid")p=b[i].substring(3,b[i].length)}var n=estaContenido(a.pageX);if(n){r=n;s=a.pageY}var o=0,l=0;if(t=="a")o=1;if($.browser.msie)l=1;$("body").append('<img class="clickstats" src="http://stats.lnol.com.ar/def.gif?pagina='+f+"/click&servidor="+d+"&usuario="+e+"&pid="+k+"&toi="+q+"&nota_id="+p+"&acc="+o+"&ie="+l+"&nro="+j+"&referer="+h+"&x="+r+"&y="+s+'" />');c=false}catch(z){return}})}});var g=0;if($.browser.msie)g=1;$("body").append('<img class="clickstats" src="http://stats.lnol.com.ar/def.gif?pagina='+f+"&servidor="+d+"&usuario="+e+"&pid="+k+"&ie="+g+"&nro="+j+"&referer="+h+'" />')});function Right(a,b){if(b<=0)return"";else if(b>String(a).length)return a;else{var c=String(a).length;return String(a).substring(c,c-b)}}function getParent(b){var a=b.parent().attr("class");if(a==""&&a!=undefined)if($(b.parent()).tagName()!="body")a=getParent(b.parent());return a.toString()}function estaContenido(b){var a=$("body").offset(),c=$("body").width(),d;return b<c+a.left&&b>a.left?b-a.left:false}$.fn.tagName=function(){return this.get(0).tagName.toLowerCase()};function parseQuery(f){var b={};if(!f)return b;for(var e=f.split(/[;&]/),d=0;d<e.length;d++){var a=e[d].split("=");if(!a||a.length!=2)continue;var g=unescape(a[0]),c=unescape(a[1]);c=c.replace(/\+/g," ");b[g]=c}return b}var ajaxData=function(a){this._pars=a.pars,this._url=a.url,this._metodoCallBack=a.metodoCallBack,this.conectar=function(){$.ajax({dataType:"jsonp",url:this._url+this._pars,success:function(){}})}};function startTableros(a){iniciarTableros();setInterval("verificarCambiosCodigoControl()",a.data.ticks)}function iniciarTableros(){try{for(var b=[],a=0;a<tableros.length;a++)b.push(tableros[a]._value.cc.id+"-"+tableros[a]._value.cc.valor);actualizarTablero(b.toString());setInterval(actualizarTiempo,1e3)}catch(c){isDebugging&&showError("iniciarTableros",c)}}function actualizarTiempo(){try{for(var a=0;a<tableros.length;a++)tableros[a].actualizarReloj()}catch(b){isDebugging&&showError("actualizarTiempo",b)}}function actualizarTablero(c){try{var a={};a.url=this.urlWS+"/obtenerTableros/procesarTablero/";a.pars=c;var b=new ajaxData(a);b.conectar()}catch(d){isDebugging&&showError("actualizarTablero",d)}}function addEvent(a,b,c){if(a.addEventListener){a.addEventListener(b,c,false);return true}else return a.attachEvent?a.attachEvent("on"+b,c):false}var codigoControl=function(b,a){this._encuentroId=b,this._codigo=parseInt("0x"+a,16),this._encuentro=15&this._codigo,this._incidencias=(65520&this._codigo)>>4,this._formaciones=(983040&this._codigo)>>16,this._imagenes=(267386880&this._codigo)>>20,this._tablero=(4026531840&this._codigo)>>28,this.encuentroId=function(){return this._encuentroId},this.incidencias=function(){return this._incidencias},this.encuentro=function(){return this._encuentro},this.formaciones=function(){return this._formaciones},this.imagenes=function(){return this._imagenes},this.tablero=function(){return this._tablero},this.isTypeOf=function(b){var a=false;if(b=="codigoControl")a=!a;return a};return false};function factoryCodigoControl(b){var c=[];try{for(var a=0;a<=b.length-1;a++){var d=new codigoControl(b[a].id,b[a].valor);c.push(d)}}catch(e){isDebugging&&showError("factoryCodigoControl",e)}return c}function generarUrlParamCodigoSolicitud(b){try{for(var c=[],a=0;a<=b.length-1;a++){var d=new codigoSolicitud(b[a].cambiosEncuentro(),b[a].cambiosIncidencias(),b[a].cambiosFormaciones());!d.allFalse()&&c.push(b[a].encuentroId()+"-"+d.toString())}return c.toString()}catch(e){isDebugging&&showError("generarUrlParamCodigoSolicitud",e);return""}}var comparadorCodigoControl=function(a,b){this.encuentroId=function(){return a.encuentroId()},this.cambiosIncidencias=function(){var c=false;if(a.incidencias()!=b.incidencias())c=!c;return c},this.cambiosFormaciones=function(){var c=false;if(a.formaciones()!=b.formaciones())c=!c;return c},this.cambiosEncuentro=function(){var c=false;if(a.encuentro()!=b.encuentro())c=!c;return c}},codigoSolicitud=function(b,d,c){this.allFalse=function(){var a=false;if(!b&&!d&&!c)a=!a;return a};var a=function(b){var a="0";if(b)a="1";return a};this.toString=function(){return a(b)+a(d)+a(c)}},procesarTablero=function(d){var a=[];try{a=d;for(var b=0;b<a.length;b++)if(a[b].hasOwnProperty("cc")){var c=buscarTablero(a[b].cc.id);if(c==null)throw err;else c.setValue(a[b]);c.execute()}}catch(err){isDebugging&&showError("procesarTablero",err)}},tableros=[];function agregarTablero(a){tableros.push(a)}function procesarCC(h){try{for(var d=[],c=factoryCodigoControl(h),a=0;a<c.length;a++){var b=buscarTablero(c[a].encuentroId());b.actualizarReloj();var g=new codigoControl(b._value.cc.id,b._value.cc.valor),f=new comparadorCodigoControl(g,c[a]);d.push(f)}var e=generarUrlParamCodigoSolicitud(d);e!=""&&actualizarTablero(e)}catch(i){isDebugging&&showError("procesarCC",i)}}function verificarCambiosCodigoControl(){var b=[];try{for(var a=0;a<tableros.length;a++){var e=tableros[a]._value.cc.id;tableros[a]._estaActivo&&b.push(e)}if(b.length>0){var c={};c.url=this.urlWS+"/obtenerCC/procesarCC/";c.pars=b.toString();var d=new ajaxData(c);d.conectar()}}catch(f){isDebugging&&showError("verificarCambiosCodigoControl",f)}}function buscarTablero(c){var b=null;try{for(var a=0;a<tableros.length;a++)if(tableros[a]._value.cc.id==c)b=tableros[a]}catch(d){isDebugging&&showError("buscarTablero",d)}return b}var isDebugging=false;function showError(b,a){alert("metodo: "+b+", error = "+a)}(function(a){a.fn.lazyload=function(d){var b={threshold:0,failurelimit:0,event:"scroll",effect:"show",container:window};d&&a.extend(b,d);var c=this;"scroll"==b.event&&a(b.container).bind("scroll",function(){var d=0;c.each(function(){if(!(a.abovethetop(this,b)||a.leftofbegin(this,b)))if(!a.belowthefold(this,b)&&!a.rightoffold(this,b))a(this).trigger("appear");else if(d++>b.failurelimit)return false});var e=a.grep(c,function(a){return!a.loaded});c=a(e)});this.each(function(){var c=this;undefined==a(c).attr("original")&&a(c).attr("original",a(c).attr("src"));if("scroll"!=b.event||undefined==a(c).attr("src")||b.placeholder==a(c).attr("src")||(a.abovethetop(c,b)||a.leftofbegin(c,b)||a.belowthefold(c,b)||a.rightoffold(c,b))){if(b.placeholder)a(c).attr("src",b.placeholder);else a(c).removeAttr("src");c.loaded=false}else c.loaded=true;a(c).one("appear",function(){!this.loaded&&a("<img />").bind("load",function(){a(c).hide().attr("src",a(c).attr("original"))[b.effect](b.effectspeed);c.loaded=true}).attr("src",a(c).attr("original"))});"scroll"!=b.event&&a(c).bind(b.event,function(){!c.loaded&&a(c).trigger("appear")})});a(b.container).trigger(b.event);return this};a.belowthefold=function(c,b){if(b.container===undefined||b.container===window)var d=a(window).height()+a(window).scrollTop();else var d=a(b.container).offset().top+a(b.container).height();return d<=a(c).offset().top-b.threshold};a.rightoffold=function(c,b){if(b.container===undefined||b.container===window)var d=a(window).width()+a(window).scrollLeft();else var d=a(b.container).offset().left+a(b.container).width();return d<=a(c).offset().left-b.threshold};a.abovethetop=function(c,b){if(b.container===undefined||b.container===window)var d=a(window).scrollTop();else var d=a(b.container).offset().top;return d>=a(c).offset().top+b.threshold+a(c).height()};a.leftofbegin=function(c,b){if(b.container===undefined||b.container===window)var d=a(window).scrollLeft();else var d=a(b.container).offset().left;return d>=a(c).offset().left+b.threshold+a(c).width()};a.extend(a.expr[":"],{"below-the-fold":"$.belowthefold(a, {threshold : 0, container: window})","above-the-fold":"!$.belowthefold(a, {threshold : 0, container: window})","right-of-fold":"$.rightoffold(a, {threshold : 0, container: window})","left-of-fold":"!$.rightoffold(a, {threshold : 0, container: window})"})})(jQuery);jQuery.effects||function(a,b){function d(b){return!b||typeof b==="number"||a.fx.speeds[b]?true:typeof b==="string"&&!a.effects[b]?true:false}function c(e,b,c,d){if(typeof e=="object"){d=b;c=null;b=e;e=b.effect}if(a.isFunction(b)){d=b;c=null;b={}}if(typeof b=="number"||a.fx.speeds[b]){d=c;c=b;b={}}if(a.isFunction(c)){d=c;c=null}b=b||{};c=c||b.duration;c=a.fx.off?0:typeof c=="number"?c:c in a.fx.speeds?a.fx.speeds[c]:a.fx.speeds._default;d=d||b.complete;return[e,b,c,d]}function l(d,b){var c={_:0},a;for(a in b)if(d[a]!=b[a])c[a]=b[a];return c}function i(c){var b,d;for(b in c){d=c[b];if(d==null||a.isFunction(d)||b in k||/scrollbar/.test(b)||!/color/i.test(b)&&isNaN(parseFloat(d)))delete c[b]}return c}function h(){var a=document.defaultView?document.defaultView.getComputedStyle(this,null):this.currentStyle,c={},b,d;if(a&&a.length&&a[0]&&a[a[0]]){var e=a.length;while(e--){b=a[e];if(typeof a[b]=="string"){d=b.replace(/\-(\w)/g,function(b,a){return a.toUpperCase()});c[d]=a[b]}}}else for(b in a)if(typeof a[b]==="string")c[b]=a[b];return c}function j(b,d){var c;do{c=a.curCSS(b,d);if(c!=""&&c!="transparent"||a.nodeName(b,"body"))break;d="backgroundColor"}while(b=b.parentNode);return e(c)}function e(c){var b;return c&&c.constructor==Array&&c.length==3?c:(b=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(c))?[parseInt(b[1],10),parseInt(b[2],10),parseInt(b[3],10)]:(b=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(c))?[parseFloat(b[1])*2.55,parseFloat(b[2])*2.55,parseFloat(b[3])*2.55]:(b=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(c))?[parseInt(b[1],16),parseInt(b[2],16),parseInt(b[3],16)]:(b=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(c))?[parseInt(b[1]+b[1],16),parseInt(b[2]+b[2],16),parseInt(b[3]+b[3],16)]:(b=/rgba\(0, 0, 0, 0\)/.exec(c))?f.transparent:f[a.trim(c).toLowerCase()]}a.effects={};a.each(["backgroundColor","borderBottomColor","borderLeftColor","borderRightColor","borderTopColor","borderColor","color","outlineColor"],function(c,b){a.fx.step[b]=function(a){if(!a.colorInit){a.start=j(a.elem,b);a.end=e(a.end);a.colorInit=true}a.elem.style[b]="rgb("+Math.max(Math.min(parseInt(a.pos*(a.end[0]-a.start[0])+a.start[0],10),255),0)+","+Math.max(Math.min(parseInt(a.pos*(a.end[1]-a.start[1])+a.start[1],10),255),0)+","+Math.max(Math.min(parseInt(a.pos*(a.end[2]-a.start[2])+a.start[2],10),255),0)+")"}});var f={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0],transparent:[255,255,255]},g=["add","remove","toggle"],k={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};a.effects.animateClass=function(b,e,c,d){if(a.isFunction(c)){d=c;c=null}return this.queue(function(){var f=a(this),j=f.attr("style")||" ",m=i(h.call(this)),k,n=f.attr("class");a.each(g,function(c,a){b[a]&&f[a+"Class"](b[a])});k=i(h.call(this));f.attr("class",n);f.animate(l(m,k),{queue:false,duration:e,easing:c,complete:function(){a.each(g,function(c,a){b[a]&&f[a+"Class"](b[a])});if(typeof f.attr("style")=="object"){f.attr("style").cssText="";f.attr("style").cssText=j}else f.attr("style",j);d&&d.apply(this,arguments);a.dequeue(this)}})})};a.fn.extend({_addClass:a.fn.addClass,addClass:function(b,c,d,e){return c?a.effects.animateClass.apply(this,[{add:b},c,d,e]):this._addClass(b)},_removeClass:a.fn.removeClass,removeClass:function(b,c,d,e){return c?a.effects.animateClass.apply(this,[{remove:b},c,d,e]):this._removeClass(b)},_toggleClass:a.fn.toggleClass,toggleClass:function(d,c,e,f,g){return typeof c=="boolean"||c===b?!e?this._toggleClass(d,c):a.effects.animateClass.apply(this,[c?{add:d}:{remove:d},e,f,g]):a.effects.animateClass.apply(this,[{toggle:d},c,e,f])},switchClass:function(b,c,d,e,f){return a.effects.animateClass.apply(this,[{add:c,remove:b},d,e,f])}});a.extend(a.effects,{version:"1.8.14",save:function(c,b){for(var a=0;a<b.length;a++)b[a]!==null&&c.data("ec.storage."+b[a],c[0].style[b[a]])},restore:function(c,b){for(var a=0;a<b.length;a++)b[a]!==null&&c.css(b[a],c.data("ec.storage."+b[a]))},setMode:function(b,a){if(a=="toggle")a=b.is(":hidden")?"show":"hide";return a},getBaseline:function(c,d){var a,b;switch(c[0]){case"top":a=0;break;case"middle":a=.5;break;case"bottom":a=1;break;default:a=c[0]/d.height}switch(c[1]){case"left":b=0;break;case"center":b=.5;break;case"right":b=1;break;default:b=c[1]/d.width}return{x:b,y:a}},createWrapper:function(b){if(b.parent().is(".ui-effects-wrapper"))return b.parent();var c={width:b.outerWidth(true),height:b.outerHeight(true),"float":b.css("float")},d=a("<div></div>").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0});b.wrap(d);d=b.parent();if(b.css("position")=="static"){d.css({position:"relative"});b.css({position:"relative"})}else{a.extend(c,{position:b.css("position"),zIndex:b.css("z-index")});a.each(["top","left","bottom","right"],function(d,a){c[a]=b.css(a);if(isNaN(parseInt(c[a],10)))c[a]="auto"});b.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})}return d.css(c).show()},removeWrapper:function(a){return a.parent().is(".ui-effects-wrapper")?a.parent().replaceWith(a):a},setTransition:function(c,d,e,b){b=b||{};a.each(d,function(d,a){unit=c.cssUnit(a);if(unit[0]>0)b[a]=unit[0]*e+unit[1]});return b}});a.fn.extend({effect:function(g){var d=c.apply(this,arguments),b={options:d[1],duration:d[2],callback:d[3]},e=b.options.mode,f=a.effects[g];return a.fx.off||!f?e?this[e](b.duration,b.callback):this.each(function(){b.callback&&b.callback.call(this)}):f.call(this,b)},_show:a.fn.show,show:function(b){if(d(b))return this._show.apply(this,arguments);else{var a=c.apply(this,arguments);a[1].mode="show";return this.effect.apply(this,a)}},_hide:a.fn.hide,hide:function(b){if(d(b))return this._hide.apply(this,arguments);else{var a=c.apply(this,arguments);a[1].mode="hide";return this.effect.apply(this,a)}},__toggle:a.fn.toggle,toggle:function(b){if(d(b)||typeof b==="boolean"||a.isFunction(b))return this.__toggle.apply(this,arguments);else{var e=c.apply(this,arguments);e[1].mode="toggle";return this.effect.apply(this,e)}},cssUnit:function(d){var b=this.css(d),c=[];a.each(["em","px","%","pt"],function(d,a){if(b.indexOf(a)>0)c=[parseFloat(b),a]});return c}});a.easing.jswing=a.easing.swing;a.extend(a.easing,{def:"easeOutQuad",swing:function(b,c,d,e,f){return a.easing[a.easing.def](b,c,d,e,f)},easeInQuad:function(e,a,b,c,d){return c*(a/=d)*a+b},easeOutQuad:function(e,a,b,c,d){return-c*(a/=d)*(a-2)+b},easeInOutQuad:function(e,a,b,c,d){return(a/=d/2)<1?c/2*a*a+b:-c/2*(--a*(a-2)-1)+b},easeInCubic:function(e,a,b,c,d){return c*(a/=d)*a*a+b},easeOutCubic:function(e,a,b,c,d){return c*((a=a/d-1)*a*a+1)+b},easeInOutCubic:function(e,a,b,c,d){return(a/=d/2)<1?c/2*a*a*a+b:c/2*((a-=2)*a*a+2)+b},easeInQuart:function(e,a,b,c,d){return c*(a/=d)*a*a*a+b},easeOutQuart:function(e,a,b,c,d){return-c*((a=a/d-1)*a*a*a-1)+b},easeInOutQuart:function(e,a,b,c,d){return(a/=d/2)<1?c/2*a*a*a*a+b:-c/2*((a-=2)*a*a*a-2)+b},easeInQuint:function(e,a,b,c,d){return c*(a/=d)*a*a*a*a+b},easeOutQuint:function(e,a,b,c,d){return c*((a=a/d-1)*a*a*a*a+1)+b},easeInOutQuint:function(e,a,b,c,d){return(a/=d/2)<1?c/2*a*a*a*a*a+b:c/2*((a-=2)*a*a*a*a+2)+b},easeInSine:function(e,b,c,a,d){return-a*Math.cos(b/d*(Math.PI/2))+a+c},easeOutSine:function(e,a,b,c,d){return c*Math.sin(a/d*(Math.PI/2))+b},easeInOutSine:function(e,a,b,c,d){return-c/2*(Math.cos(Math.PI*a/d)-1)+b},easeInExpo:function(e,a,b,c,d){return a==0?b:c*Math.pow(2,10*(a/d-1))+b},easeOutExpo:function(e,a,b,c,d){return a==d?b+c:c*(-Math.pow(2,-10*a/d)+1)+b},easeInOutExpo:function(e,a,b,c,d){return a==0?b:a==d?b+c:(a/=d/2)<1?c/2*Math.pow(2,10*(a-1))+b:c/2*(-Math.pow(2,-10*--a)+2)+b},easeInCirc:function(e,a,b,c,d){return-c*(Math.sqrt(1-(a/=d)*a)-1)+b},easeOutCirc:function(e,a,b,c,d){return c*Math.sqrt(1-(a=a/d-1)*a)+b},easeInOutCirc:function(e,a,b,c,d){return(a/=d/2)<1?-c/2*(Math.sqrt(1-a*a)-1)+b:c/2*(Math.sqrt(1-(a-=2)*a)+1)+b},easeInElastic:function(h,c,e,a,f){var g=1.70158,b=0,d=a;if(c==0)return e;if((c/=f)==1)return e+a;if(!b)b=f*.3;if(d<Math.abs(a)){d=a;var g=b/4}else var g=b/(2*Math.PI)*Math.asin(a/d);return-(d*Math.pow(2,10*(c-=1))*Math.sin((c*f-g)*2*Math.PI/b))+e},easeOutElastic:function(h,c,e,a,f){var g=1.70158,b=0,d=a;if(c==0)return e;if((c/=f)==1)return e+a;if(!b)b=f*.3;if(d<Math.abs(a)){d=a;var g=b/4}else var g=b/(2*Math.PI)*Math.asin(a/d);return d*Math.pow(2,-10*c)*Math.sin((c*f-g)*2*Math.PI/b)+a+e},easeInOutElastic:function(h,a,e,b,f){var g=1.70158,c=0,d=b;if(a==0)return e;if((a/=f/2)==2)return e+b;if(!c)c=f*.3*1.5;if(d<Math.abs(b)){d=b;var g=c/4}else var g=c/(2*Math.PI)*Math.asin(b/d);return a<1?-.5*d*Math.pow(2,10*(a-=1))*Math.sin((a*f-g)*2*Math.PI/c)+e:d*Math.pow(2,-10*(a-=1))*Math.sin((a*f-g)*2*Math.PI/c)*.5+b+e},easeInBack:function(g,c,d,e,f,a){if(a==b)a=1.70158;return e*(c/=f)*c*((a+1)*c-a)+d},easeOutBack:function(g,a,d,e,f,c){if(c==b)c=1.70158;return e*((a=a/f-1)*a*((c+1)*a+c)+1)+d},easeInOutBack:function(g,a,d,e,f,c){if(c==b)c=1.70158;return(a/=f/2)<1?e/2*a*a*(((c*=1.525)+1)*a-c)+d:e/2*((a-=2)*a*(((c*=1.525)+1)*a+c)+2)+d},easeInBounce:function(d,e,f,b,c){return b-a.easing.easeOutBounce(d,c-e,0,b,c)+f},easeOutBounce:function(e,a,b,c,d){return(a/=d)<1/2.75?c*7.5625*a*a+b:a<2/2.75?c*(7.5625*(a-=1.5/2.75)*a+.75)+b:a<2.5/2.75?c*(7.5625*(a-=2.25/2.75)*a+.9375)+b:c*(7.5625*(a-=2.625/2.75)*a+.984375)+b},easeInOutBounce:function(e,c,f,d,b){return c<b/2?a.easing.easeInBounce(e,c*2,0,d,b)*.5+f:a.easing.easeOutBounce(e,c*2-b,0,d,b)*.5+d*.5+f}})}(jQuery);(function(a){a.effects.slide=function(b){return this.queue(function(){var c=a(this),i=["position","top","bottom","left","right"],f=a.effects.setMode(c,b.options.mode||"show"),e=b.options.direction||"left";a.effects.save(c,i);c.show();a.effects.createWrapper(c).css({overflow:"hidden"});var g=e=="up"||e=="down"?"top":"left",h=e=="up"||e=="left"?"pos":"neg",d=b.options.distance||(g=="top"?c.outerHeight({margin:true}):c.outerWidth({margin:true}));f=="show"&&c.css(g,h=="pos"?isNaN(d)?"-"+d:-d:d);var j={};j[g]=(f=="show"?h=="pos"?"+=":"-=":h=="pos"?"-=":"+=")+d;c.animate(j,{queue:false,duration:b.duration,easing:b.options.easing,complete:function(){f=="hide"&&c.hide();a.effects.restore(c,i);a.effects.removeWrapper(c);b.callback&&b.callback.apply(this,arguments);c.dequeue()}})})}})(jQuery);var archivo,codigoClima,usuario_id,sUrlServiciosLN="http://servicios.lanacion.com.ar/";function establecerPronosticoClima(a){if(a=="")document.getElementById("mensajeOculto").style.display="block";else{establecerPronosticoClima_LOAD(a);SetCookieFull("LNPronosticoClima",a,365,"/",".lanacion.com.ar","");if(LeerCookie("cookieLogin")!=""&&LeerCookie("cookieLogin")!=undefined){usuario_id=LeerCookie("usuario%5Fid");if(usuario_id!=undefined&&usuario_id!=""){codigoClima=LeerCookie("LNPronosticoClimaBase");if(codigoClima==undefined||codigoClima==""){var b=LeerCookie("1ClimaCiudad");if(b!=undefined&&b!=""){arrClimaCiudad=b.split("|");codigoClima=arrClimaCiudad[1];if(codigoClima.indexOf("-")>0){var c=codigoClima.split("-");codigoClima=c[0]}}else codigoClima=""}$.ajax({url:"/Proxy.svc/PostString/Usuario/PreferenciaClimaUsuario?query=usuario_id="+usuario_id+"%26preferencia_id=1%26ValorAnterior="+codigoClima+"%26ValorNuevo="+a+"%26sitio_id=1",type:"POST",contentType:"application/xml;charset=utf-8",data:"",error:function(){establecerPronosticoClima()}});strPreferencias=SetCookieFull("LNPronosticoClimaBase",a,30,"/",".lanacion.com.ar","");codigoClima=a}}}}function establecerPronosticoClima_LOAD(a){if(a==""||a==undefined)a="ARCF0009";codigoClima=a;getJSONP("/pronostico/index-ciudadRef="+a,pronosticoCallbackJSON);return false}function pronosticoCallbackJSON(a){if(a.ciudades[0].ciudad.nombre!=""){dibujaCajaPronostico(0,a);self.parent.document.getElementById("clima").style.display="block"}else if(a.ciudades[1].ciudad.nombre!=""){dibujaCajaPronostico(1,a);self.parent.document.getElementById("clima").style.display="block"}self.parent.tb_remove()}function getPronostico(){var a;if(LeerCookie("cookieLogin")!=""&&LeerCookie("cookieLogin")!=undefined)a=LeerCookie("LNPronosticoClimaBase");if(a!=""&&a!=undefined){establecerPronosticoClima_LOAD(a);return}a=LeerCookie("LNPreferencias");if(a!=""){codigoClima=LeerCookie("1ClimaCiudad");if(codigoClima!="")if(codigoClima.indexOf("-")>0){arrCiudades=codigoClima.split("|");establecerPronosticoClima_LOAD(arrCiudades[arrCiudades.length-1])}else{arrClimaCiudad=codigoClima.split("|");establecerPronosticoClima_LOAD(arrClimaCiudad[1])}else establecerPronosticoClima_LOAD(LeerCookie("LNPronosticoClima"))}else establecerPronosticoClima_LOAD(LeerCookie("LNPronosticoClima"))}function dibujaCajaPronostico(a,b){$("#pr_ciudad",self.parent.document).html(jQuery.trim(b.ciudades[a].ciudad.nombre+'<span class="mas"> + </span>'));if(!isNullOrEmpty(b.ciudades[a].ciudad.icono_id)){$("#pr_imagen",self.parent.document).length&&$("#pr_imagen",self.parent.document).attr("src","/_ui/desktop/imgs/informacion-general/pronostico/"+jQuery.trim(b.ciudades[a].ciudad.icono_id)+".png");$("#pr_imagen_m1",self.parent.document).length&&$("#pr_imagen_m1",self.parent.document).attr("src","/_ui/touch/imgs/pronostico/"+jQuery.trim(b.ciudades[a].ciudad.icono_id)+".png");$("#pr_imagen_m2",self.parent.document).length&&$("#pr_imagen_m2",self.parent.document).attr("src","/_ui/notouch/imgs/pronostico/"+jQuery.trim(b.ciudades[a].ciudad.icono_id)+".gif")}$("#pr_imagen",self.parent.document).attr("alt",jQuery.trim(b.ciudades[a].ciudad.icono_descripcion));$("#pr_imagen",self.parent.document).attr("title",jQuery.trim(b.ciudades[a].ciudad.icono_descripcion));$("#pr_temperatura",self.parent.document).html(jQuery.trim(b.ciudades[a].ciudad.temperatura)+"°");$("#pr_humedad",self.parent.document).html(jQuery.trim(b.ciudades[a].ciudad.humedad)+"%");$("#pr_link_ampliar",self.parent.document).attr("href",sUrlServiciosLN+"informacion-general/pronostico/ciudad/cboCiudades="+jQuery.trim(b.ciudades[a].ciudad.codigo));$("#pr_sigla").length&&$("#pr_sigla").html(jQuery.trim(b.ciudades[a].ciudad.sigla));if(jQuery.trim(b.ciudades[a].ciudad.sensacion_termica)!="No se calcula")$("#pr_sensacion",self.parent.document).html(jQuery.trim(b.ciudades[a].ciudad.sensacion_termica)+"°");else $("#pr_sensacion",self.parent.document).html("-");$("#pr_min",self.parent.document).html(jQuery.trim(b.ciudades[a].ciudad.min)+"°");$("#pr_max",self.parent.document).html(jQuery.trim(b.ciudades[a].ciudad.max)+"°");$("#pr_descripcion",self.parent.document).html(jQuery.trim(b.ciudades[a].ciudad.icono_descripcion));for(var d="",c=0;c<b.ciudades[a].ciudad.dias.length;c++)d=d+"<li class='extendido'><span class='dia'>"+b.ciudades[a].ciudad.dias[c].nombre+"</span><img src='/_ui/desktop/imgs/informacion-general/pronostico/"+b.ciudades[a].ciudad.dias[c].icono_id+".png' title='"+b.ciudades[a].ciudad.dias[c].icono_descripcion+"' alt='"+b.ciudades[a].ciudad.dias[c].icono_descripcion+"' width='30' height='30'/><span><b>"+b.ciudades[a].ciudad.dias[c].min+"°</b> <b class='max'>"+b.ciudades[a].ciudad.dias[c].max+"°</b></span></li>";$("#pr_diasExtendido",self.parent.document).html(d)}function abrirModalPronostico(){layer("Pronostico","/pronostico/personalizar?width=350&height=170","")}function ampliarPronostico(){$("#pr_ampliar").attr("style","display:none");$("#pr_colapsar").attr("style","display:block");$("#climaExtendido").show("slide",{direction:"left"},700)}function enviarPronostico(){window.open(sUrlServiciosLN+"informacion-general/pronostico/ciudad/cboCiudades="+codigoClima)}function colapsarExtendido(){$("#climaExtendido").hide("slide",{direction:"left"},700);$("#pr_ampliar").attr("style","display:block");$("#pr_colapsar").attr("style","display:none")}var path="http://bucket.clanacion.com.ar/common/anexos/xml/horoscopo.json",signo_idDelMes=ObtenerSignoIdDelMes(),dominioCookie=".lanacion.com.ar";function getHoroscopo(){var a=0,b=LeerCookie("nacimiento");if(b!="")a=obtenerSignoID_SegunFecha(b);else{var a=LeerCookie("signo");if(a=="")a=signo_idDelMes}getJSONP(path,horoscopoCallbackJSON);mostrarSigno(a)}function getHoroscopoMovil(){var a=LeerCookie("signo");if(a=="")a=signo_idDelMes;getJSONP(path,horoscopoCallbackJSON);mostrarSignoMovil(a)}function horoscopoCallbackJSON(b){for(var a=0;a<b.horoscopo.length;a++){var c=b.horoscopo[a].signo.id;$("#nombre_"+c).html(b.horoscopo[a].signo.nombre);$("#texto_"+c).html(b.horoscopo[a].signo.Hoy)}}function mostrarSigno(a){$("section[id*='signo_']","section.horoscopo").hide();$("#signo_"+a,"section.horoscopo").show();$("#nombre_"+a,"section.horoscopo").show();$("#texto_"+a,"section.horoscopo").show()}function mostrarSignoMovil(a){$("div[id*='signo_']").hide();$("#signo_"+a).show();$("#nombre_"+a).show();$("#texto_"+a).show()}function ObtenerSignoIdDelMes(){var a=new Date,d=a.getDate(),f=a.getMonth()+1,c=a.getFullYear(),e=f+"/"+d+"/"+c,b=obtenerSignoID_SegunFecha(e);return b}function obtenerSignoID_SegunFecha(b){if(b.toString().indexOf("/",0)<0){$(document).append("<!--Error caja Horoscopo: formato de fecha invalido! se retorna el signo id correspondiente a la fecha de hoy-->");return signo_idDelMes}var c=b.toString().split("/"),f=c[0],a=c[1];if(a<10)a="0"+a;var d={"1":{x:function(a){return a>=321&&a<=420}},"2":{x:function(a){return a>=421&&a<=520}},"3":{x:function(a){return a>=521&&a<=621}},"4":{x:function(a){return a>=622&&a<=722}},"5":{x:function(a){return a>=723&&a<=822}},"6":{x:function(a){return a>=823&&a<=922}},"7":{x:function(a){return a>=923&&a<=1022}},"8":{x:function(a){return a>=1023&&a<=1122}},"9":{x:function(a){return a>=1123&&a<=1221}},"10":{x:function(a){return a>=1222||a<=120}},"11":{x:function(a){return a>=121&&a<=219}},"12":{x:function(a){return a>=220&&a<=320}}},e=f+a;for(signo in d)if(d[signo].x(e))return signo;return 0}function guardarHoroscopo(a){SetCookieFull("signo",a,365,"/",dominioCookie,"");mostrarSigno(a)}function obtenerDefault(){var a=LeerCookie("signo");if(a==""){var b=LeerCookie("nacimiento");if(b!="")a=obtenerSignoID_SegunFecha(b);else a=signo_idDelMes}mostrarSigno(a)}
