Help
RSS
API
Feed
Maltego
Contact
Domain > asesoriaroldanlonera.es
×
Welcome!
Right click nodes and scroll the mouse to navigate the graph.
×
More information on this domain is in
AlienVault OTX
Is this malicious?
Yes
No
Files that talk to asesoriaroldanlonera.es
MD5
A/V
1be1d71fb76a46afa15fc4ee16ac1d11
[
HW32.CDB.39c9
] [
Backdoor.Hlux.r3
] [
RDN/q2z-art6.s_318383!a
] [
Kryptik.CCFN
] [
Backdoor.Win32.Hlux.dnzz
] [
Backdoor.Hlux!eaxFLDBT/AM
] [
Mal/FakeAV-UF
] [
BackDoor.Slym.13348
] [
Heuristic.LooksLike.Win32.Suspicious.E
] [
Trojan[Backdoor]/Win32.Hlux
] [
VirTool:Win32/Obfuscator.WT
] [
Trojan/Win32.Tepfer
] [
Heur.Trojan.Hlux
] [
Win32/Kryptik.CASL
] [
Trojan.Crypt_s
] [
W32/Hlux.BWUN!tr.bdr
] [
Trojan.Win32.Kryptik.CASL
]
DNS Resolutions
Date
IP Address
2014-05-29
54.229.52.80
(
ClassC
)
2024-10-31
95.217.72.126
(
ClassC
)
Port 80
HTTP/1.1 301 Moved PermanentlyDate: Thu, 31 Oct 2024 08:47:55 GMTServer: ApacheLocation: https://asesoriaroldanlonera.es/Content-Length: 240Content-Type: text/html; charsetiso-8859-1 !DOCTYPE HTML PUBLIC -//IETF//DTD HTML 2.0//EN>html>head>title>301 Moved Permanently/title>/head>body>h1>Moved Permanently/h1>p>The document has moved a hrefhttps://asesoriaroldanlonera.es/>here/a>./p>/body>/html>
Port 443
HTTP/1.1 302 Moved TemporarilyDate: Thu, 31 Oct 2024 08:47:56 GMTServer: ApacheX-Powered-By: PHP/5.4.45Expires: Thu, 19 Nov 1981 08:52:00 GMTCache-Control: no-store, no-cache, must-revalidate, post-check0, pre-check0Pragma: no-cacheSet-Cookie: PHPSESSID3mi9pnghviknbfrcm7gbtqj4r2; path/Location: /menu/13/Vary: User-AgentX-Powered-By: PleskLinTransfer-Encoding: chunkedContent-Type: text/html !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd> html xmlnshttp://www.w3.org/1999/xhtml xml:langes langes> head> meta http-equivContent-Language contentes /> meta propertyog:url contenthttp://asesoriaroldanlonera.es/ /> meta propertyog:type contentproduct /> meta propertyog:title content /> meta propertyog:description content /> !-- Imagen no disponible --> meta propertyog:image content/img/nodisponible.png /> script typetext/javascript> var _gaq _gaq || ; _gaq.push(_setAccount, UA-00000000-1); _gaq.push(_trackPageview); (function() { var ga document.createElement(script); ga.type text/javascript; ga.async true; ga.src (https: document.location.protocol ? https://ssl : http://www) + .google-analytics.com/ga.js; var s document.getElementsByTagName(script)0; s.parentNode.insertBefore(ga, s); })();/script> Meta Namedescription Contenttienda online gratis,lekommerce tienda online />Meta NameKeywords Content>Meta Namekeywords Content /> script async typetext/javascript> /* Jquery-2.1.3.min.js */ /*! jQuery v2.1.3 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */!function(a,b){objecttypeof module&&objecttypeof module.exports?module.exportsa.document?b(a,!0):function(a){if(!a.document)throw new Error(jQuery requires a window with a document);return b(a)}:b(a)}(undefined!typeof window?window:this,function(a,b){var c,dc.slice,ec.concat,fc.push,gc.indexOf,h{},ih.toString,jh.hasOwnProperty,k{},la.document,m2.1.3,nfunction(a,b){return new n.fn.init(a,b)},o/^\s\uFEFF\xA0+|\s\uFEFF\xA0+$/g,p/^-ms-/,q/-(\da-z)/gi,rfunction(a,b){return b.toUpperCase()};n.fnn.prototype{jquery:m,constructor:n,selector:,length:0,toArray:function(){return d.call(this)},get:function(a){return null!a?0>a?thisa+this.length:thisa:d.call(this)},pushStack:function(a){var bn.merge(this.constructor(),a);return b.prevObjectthis,b.contextthis.context,b},each:function(a,b){return n.each(this,a,b)},map:function(a){return this.pushStack(n.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(d.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var bthis.length,c+a+(0>a?b:0);return this.pushStack(c>0&&b>c?thisc:)},end:function(){return this.prevObject||this.constructor(null)},push:f,sort:c.sort,splice:c.splice},n.extendn.fn.extendfunction(){var a,b,c,d,e,f,garguments0||{},h1,iarguments.length,j!1;for(booleantypeof g&&(jg,gargumentsh||{},h++),objecttypeof g||n.isFunction(g)||(g{}),hi&&(gthis,h--);i>h;h++)if(null!(aargumentsh))for(b in a)cgb,dab,g!d&&(j&&d&&(n.isPlainObject(d)||(en.isArray(d)))?(e?(e!1,fc&&n.isArray(c)?c:):fc&&n.isPlainObject(c)?c:{},gbn.extend(j,f,d)):void 0!d&&(gbd));return g},n.extend({expando:jQuery+(m+Math.random()).replace(/\D/g,),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isFunction:function(a){returnfunctionn.type(a)},isArray:Array.isArray,isWindow:function(a){return null!a&&aa.window},isNumeric:function(a){return!n.isArray(a)&&a-parseFloat(a)+1>0},isPlainObject:function(a){returnobject!n.type(a)||a.nodeType||n.isWindow(a)?!1:a.constructor&&!j.call(a.constructor.prototype,isPrototypeOf)?!1:!0},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},type:function(a){return nulla?a+:objecttypeof a||functiontypeof a?hi.call(a)||object:typeof a},globalEval:function(a){var b,ceval;an.trim(a),a&&(1a.indexOf(use strict)?(bl.createElement(script),b.texta,l.head.appendChild(b).parentNode.removeChild(b)):c(a))},camelCase:function(a){return a.replace(p,ms-).replace(q,r)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()b.toLowerCase()},each:function(a,b,c){var d,e0,fa.length,gs(a);if(c){if(g){for(;f>e;e++)if(db.apply(ae,c),d!1)break}else for(e in a)if(db.apply(ae,c),d!1)break}else if(g){for(;f>e;e++)if(db.call(ae,e,ae),d!1)break}else for(e in a)if(db.call(ae,e,ae),d!1)break;return a},trim:function(a){return nulla?:(a+).replace(o,)},makeArray:function(a,b){var cb||;return null!a&&(s(Object(a))?n.merge(c,stringtypeof a?a:a):f.call(c,a)),c},inArray:function(a,b,c){return nullb?-1:g.call(b,a,c)},merge:function(a,b){for(var c+b.length,d0,ea.length;c>d;d++)ae++bd;return a.lengthe,a},grep:function(a,b,c){for(var d,e,f0,ga.length,h!c;g>f;f++)d!b(af,f),d!h&&e.push(af);return e},map:function(a,b,c){var d,f0,ga.length,hs(a),i;if(h)for(;g>f;f++)db(af,f,c),null!d&&i.push(d);else for(f in a)db(af,f,c),null!d&&i.push(d);return e.apply(,i)},guid:1,proxy:function(a,b){var c,e,f;returnstringtypeof b&&(cab,ba,ac),n.isFunction(a)?(ed.call(arguments,2),ffunction(){return a.apply(b||this,e.concat(d.call(arguments)))},f.guida.guida.guid||n.guid++,f):void 0},now:Date.now,support:k}),n.each(Boolean Number String Function Array Date RegExp Object Error.split( ),function(a,b){hobject +b+b.toLowerCase()});function s(a){var ba.length,cn.type(a);returnfunctionc||n.isWindow(a)?!1:1a.nodeType&&b?!0:arrayc||0b||numbertypeof b&&b>0&&b-1 in a}var tfunction(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,usizzle+1*new Date,va.document,w0,x0,yhb(),zhb(),Ahb(),Bfunction(a,b){return ab&&(l!0),0},C131,D{}.hasOwnProperty,E,FE.pop,GE.push,HE.push,IE.slice,Jfunction(a,b){for(var c0,da.length;d>c;c++)if(acb)return c;return-1},Kchecked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped,L\\x20\\t\\r\\n\\f,M(?:\\\\.|\\w-|^\\x00-\\xa0)+,NM.replace(w,w#),O\\+L+*(+M+)(?:+L+*(*^$|!~?)+L+*(?:((?:\\\\.|^\\\\)*)|\((?:\\\\.|^\\\\\)*)\|(+N+))|)+L+*\\,P:(+M+)(?:\\(((((?:\\\\.|^\\\\)*)|\((?:\\\\.|^\\\\\)*)\)|((?:\\\\.|^\\\\()\\|+O+)*)|.*)\\)|),Qnew RegExp(L++,g),Rnew RegExp(^+L++|((?:^|^\\\\)(?:\\\\.)*)+L++$,g),Snew RegExp(^+L+*,+L+*),Tnew RegExp(^+L+*(>+~|+L+)+L+*),Unew RegExp(+L+*(^\\\*?)+L+*\\,g),Vnew RegExp(P),Wnew RegExp(^+N+$),X{ID:new RegExp(^#(+M+)),CLASS:new RegExp(^\\.(+M+)),TAG:new RegExp(^(+M.replace(w,w*)+)),ATTR:new RegExp(^+O),PSEUDO:new RegExp(^+P),CHILD:new RegExp(^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(+L+*(even|odd|((+-|)(\\d*)n|)+L+*(?:(+-|)+L+*(\\d+)|))+L+*\\)|),i),bool:new RegExp(^(?:+K+)$,i),needsContext:new RegExp(^+L+*>+~|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(+L+*((?:-\\d)?\\d*)+L+*\\)|)(?^-|$),i)},Y/^(?:input|select|textarea|button)$/i,Z/^h\d$/i,$/^^{+\{\s*\native \w/,_/^(?:#(\w-+)|(\w+)|\.(\w-+))$/,ab/+~/,bb/|\\/g,cbnew RegExp(\\\\(\\da-f{1,6}+L+?|(+L+)|.),ig),dbfunction(a,b,c){var d0x+b-65536;return d!d||c?b:0>d?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)},ebfunction(){m()};try{H.apply(EI.call(v.childNodes),v.childNodes),Ev.childNodes.length.nodeType}catch(fb){H{apply:E.length?function(a,b){G.apply(a,I.call(b))}:function(a,b){var ca.length,d0;while(ac++bd++);a.lengthc-1}}}function gb(a,b,d,e){var f,h,j,k,l,o,r,s,w,x;if((b?b.ownerDocument||b:v)!n&&m(b),bb||n,dd||,kb.nodeType,string!typeof a||!a||1!k&&9!k&&11!k)return d;if(!e&&p){if(11!k&&(f_.exec(a)))if(jf1){if(9k){if(hb.getElementById(j),!h||!h.parentNode)return d;if(h.idj)return d.push(h),d}else if(b.ownerDocument&&(hb.ownerDocument.getElementById(j))&&t(b,h)&&h.idj)return d.push(h),d}else{if(f2)return H.apply(d,b.getElementsByTagName(a)),d;if((jf3)&&c.getElementsByClassName)return H.apply(d,b.getElementsByClassName(j)),d}if(c.qsa&&(!q||!q.test(a))){if(sru,wb,x1!k&&a,1k&&object!b.nodeName.toLowerCase()){og(a),(rb.getAttribute(id))?sr.replace(bb,\\$&):b.setAttribute(id,s),sid+s+ ,lo.length;while(l--)ols+rb(ol);wab.test(a)&&pb(b.parentNode)||b,xo.join(,)}if(x)try{return H.apply(d,w.querySelectorAll(x)),d}catch(y){}finally{r||b.removeAttribute(id)}}}return i(a.replace(R,$1),b,d,e)}function hb(){var a;function b(c,e){return a.push(c+ )>d.cacheLength&&delete ba.shift(),bc+ e}return b}function ib(a){return au!0,a}function jb(a){var bn.createElement(div);try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),bnull}}function kb(a,b){var ca.split(|),ea.length;while(e--)d.attrHandleceb}function lb(a,b){var cb&&a,dc&&1a.nodeType&&1b.nodeType&&(~b.sourceIndex||C)-(~a.sourceIndex||C);if(d)return d;if(c)while(cc.nextSibling)if(cb)return-1;return a?1:-1}function mb(a){return function(b){var cb.nodeName.toLowerCase();returninputc&&b.typea}}function nb(a){return function(b){var cb.nodeName.toLowerCase();return(inputc||buttonc)&&b.typea}}function ob(a){return ib(function(b){return b+b,ib(function(c,d){var e,fa(,c.length,b),gf.length;while(g--)cefg&&(ce!(dece))})})}function pb(a){return a&&undefined!typeof a.getElementsByTagName&&a}cgb.support{},fgb.isXMLfunction(a){var ba&&(a.ownerDocument||a).documentElement;return b?HTML!b.nodeName:!1},mgb.setDocumentfunction(a){var b,e,ga?a.ownerDocument||a:v;return g!n&&9g.nodeType&&g.documentElement?(ng,og.documentElement,eg.defaultView,e&&e!e.top&&(e.addEventListener?e.addEventListener(unload,eb,!1):e.attachEvent&&e.attachEvent(onunload,eb)),p!f(g),c.attributesjb(function(a){return a.classNamei,!a.getAttribute(className)}),c.getElementsByTagNamejb(function(a){return a.appendChild(g.createComment()),!a.getElementsByTagName(*).length}),c.getElementsByClassName$.test(g.getElementsByClassName),c.getByIdjb(function(a){return o.appendChild(a).idu,!g.getElementsByName||!g.getElementsByName(u).length}),c.getById?(d.find.IDfunction(a,b){if(undefined!typeof b.getElementById&&p){var cb.getElementById(a);return c&&c.parentNode?c:}},d.filter.IDfunction(a){var ba.replace(cb,db);return function(a){return a.getAttribute(id)b}}):(delete d.find.ID,d.filter.IDfunction(a){var ba.replace(cb,db);return function(a){var cundefined!typeof a.getAttributeNode&&a.getAttributeNode(id);return c&&c.valueb}}),d.find.TAGc.getElementsByTagName?function(a,b){returnundefined!typeof b.getElementsByTagName?b.getElementsByTagName(a):c.qsa?b.querySelectorAll(a):void 0}:function(a,b){var c,d,e0,fb.getElementsByTagName(a);if(*a){while(cfe++)1c.nodeType&&d.push(c);return d}return f},d.find.CLASSc.getElementsByClassName&&function(a,b){return p?b.getElementsByClassName(a):void 0},r,q,(c.qsa$.test(g.querySelectorAll))&&(jb(function(a){o.appendChild(a).innerHTMLa id+u+>/a>select id+u+-\f msallowcapture>option selected>/option>/select>,a.querySelectorAll(msallowcapture^).length&&q.push(*^$+L+*(?:|\\)),a.querySelectorAll(selected).length||q.push(\\+L+*(?:value|+K+)),a.querySelectorAll(id~+u+-).length||q.push(~),a.querySelectorAll(:checked).length||q.push(:checked),a.querySelectorAll(a#+u++*).length||q.push(.#.++~)}),jb(function(a){var bg.createElement(input);b.setAttribute(type,hidden),a.appendChild(b).setAttribute(name,D),a.querySelectorAll(named).length&&q.push(name+L+**^$|!~?),a.querySelectorAll(:enabled).length||q.push(:enabled,:disabled),a.querySelectorAll(*,:x),q.push(,.*:)})),(c.matchesSelector$.test(so.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&jb(function(a){c.disconnectedMatchs.call(a,div),s.call(a,s!:x),r.push(!,P)}),qq.length&&new RegExp(q.join(|)),rr.length&&new RegExp(r.join(|)),b$.test(o.compareDocumentPosition),tb||$.test(o.contains)?function(a,b){var c9a.nodeType?a.documentElement:a,db&&b.parentNode;return ad||!(!d||1!d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(bb.parentNode)if(ba)return!0;return!1},Bb?function(a,b){if(ab)return l!0,0;var d!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d(a.ownerDocument||a)(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)d?ag||a.ownerDocumentv&&t(v,a)?-1:bg||b.ownerDocumentv&&t(v,b)?1:k?J(k,a)-J(k,b):0:4&d?-1:1)}:function(a,b){if(ab)return l!0,0;var c,d0,ea.parentNode,fb.parentNode,ha,ib;if(!e||!f)return ag?-1:bg?1:e?-1:f?1:k?J(k,a)-J(k,b):0;if(ef)return lb(a,b);ca;while(cc.parentNode)h.unshift(c);cb;while(cc.parentNode)i.unshift(c);while(hdid)d++;return d?lb(hd,id):hdv?-1:idv?1:0},g):n},gb.matchesfunction(a,b){return gb(a,null,null,b)},gb.matchesSelectorfunction(a,b){if((a.ownerDocument||a)!n&&m(a),bb.replace(U,$1),!(!c.matchesSelector||!p||r&&r.test(b)||q&&q.test(b)))try{var ds.call(a,b);if(d||c.disconnectedMatch||a.document&&11!a.document.nodeType)return d}catch(e){}return gb(b,n,null,a).length>0},gb.containsfunction(a,b){return(a.ownerDocument||a)!n&&m(a),t(a,b)},gb.attrfunction(a,b){(a.ownerDocument||a)!n&&m(a);var ed.attrHandleb.toLowerCase(),fe&&D.call(d.attrHandle,b.toLowerCase())?e(a,b,!p):void 0;return void 0!f?f:c.attributes||!p?a.getAttribute(b):(fa.getAttributeNode(b))&&f.specified?f.value:null},gb.errorfunction(a){throw new Error(Syntax error, unrecognized expression: +a)},gb.uniqueSortfunction(a){var b,d,e0,f0;if(l!c.detectDuplicates,k!c.sortStable&&a.slice(0),a.sort(B),l){while(baf++)baf&&(ed.push(f));while(e--)a.splice(de,1)}return knull,a},egb.getTextfunction(a){var b,c,d0,fa.nodeType;if(f){if(1f||9f||11f){if(stringtypeof a.textContent)return a.textContent;for(aa.firstChild;a;aa.nextSibling)c+e(a)}else if(3f||4f)return a.nodeValue}else while(bad++)c+e(b);return c},dgb.selectors{cacheLength:50,createPseudo:ib,match:X,attrHandle:{},find:{},relative:{>:{dir:parentNode,first:!0}, :{dir:parentNode},+:{dir:previousSibling,first:!0},~:{dir:previousSibling}},preFilter:{ATTR:function(a){return a1a1.replace(cb,db),a3(a3||a4||a5||).replace(cb,db),~a2&&(a3 +a3+ ),a.slice(0,4)},CHILD:function(a){return a1a1.toLowerCase(),ntha1.slice(0,3)?(a3||gb.error(a0),a4+(a4?a5+(a6||1):2*(evena3||odda3)),a5+(a7+a8||odda3)):a3&&gb.error(a0),a},PSEUDO:function(a){var b,c!a6&&a2;return X.CHILD.test(a0)?null:(a3?a2a4||a5||:c&&V.test(c)&&(bg(c,!0))&&(bc.indexOf(),c.length-b)-c.length)&&(a0a0.slice(0,b),a2c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var ba.replace(cb,db).toLowerCase();return*a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()b}},CLASS:function(a){var bya+ ;return b||(bnew RegExp((^|+L+)+a+(+L+|$)))&&y(a,function(a){return b.test(stringtypeof a.className&&a.className||undefined!typeof a.getAttribute&&a.getAttribute(class)||)})},ATTR:function(a,b,c){return function(d){var egb.attr(d,a);return nulle?!b:b?(e+,b?ec:!b?e!c:^b?c&&0e.indexOf(c):*b?c&&e.indexOf(c)>-1:$b?c&&e.slice(-c.length)c:~b?( +e.replace(Q, )+ ).indexOf(c)>-1:|b?ec||e.slice(0,c.length+1)c+-:!1):!0}},CHILD:function(a,b,c,d,e){var fnth!a.slice(0,3),glast!a.slice(-4),hof-typeb;return 1d&&0e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,pf!g?nextSibling:previousSibling,qb.parentNode,rh&&b.nodeName.toLowerCase(),s!i&&!h;if(q){if(f){while(p){lb;while(llp)if(h?l.nodeName.toLowerCase()r:1l.nodeType)return!1;oponlya&&!o&&nextSibling}return!0}if(og?q.firstChild:q.lastChild,g&&s){kqu||(qu{}),jka||,nj0w&&j1,mj0w&&j2,ln&&q.childNodesn;while(l++n&&l&&lp||(mn0)||o.pop())if(1l.nodeType&&++m&&lb){kaw,n,m;break}}else if(s&&(j(bu||(bu{}))a)&&j0w)mj1;else while(l++n&&l&&lp||(mn0)||o.pop())if((h?l.nodeName.toLowerCase()r:1l.nodeType)&&++m&&(s&&((lu||(lu{}))aw,m),lb))break;return m-e,md||m%d0&&m/d>0}}},PSEUDO:function(a,b){var c,ed.pseudosa||d.setFiltersa.toLowerCase()||gb.error(unsupported pseudo: +a);return eu?e(b):e.length>1?(ca,a,,b,d.setFilters.hasOwnProperty(a.toLowerCase())?ib(function(a,c){var d,fe(a,b),gf.length;while(g--)dJ(a,fg),ad!(cdfg)}):function(a){return e(a,0,c)}):e}},pseudos:{not:ib(function(a){var b,c,dh(a.replace(R,$1));return du?ib(function(a,b,c,e){var f,gd(a,null,e,),ha.length;while(h--)(fgh)&&(ah!(bhf))}):function(a,e,f){return b0a,d(b,null,f,c),b0null,!c.pop()}}),has:ib(function(a){return function(b){return gb(a,b).length>0}}),contains:ib(function(a){return aa.replace(cb,db),function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:ib(function(a){return W.test(a||)||gb.error(unsupported lang: +a),aa.replace(cb,db).toLowerCase(),function(b){var c;do if(cp?b.lang:b.getAttribute(xml:lang)||b.getAttribute(lang))return cc.toLowerCase(),ca||0c.indexOf(a+-);while((bb.parentNode)&&1b.nodeType);return!1}}),target:function(b){var ca.location&&a.location.hash;return c&&c.slice(1)b.id},root:function(a){return ao},focus:function(a){return an.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:function(a){return a.disabled!1},disabled:function(a){return a.disabled!0},checked:function(a){var ba.nodeName.toLowerCase();returninputb&&!!a.checked||optionb&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected!0},empty:function(a){for(aa.firstChild;a;aa.nextSibling)if(a.nodeType6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return Z.test(a.nodeName)},input:function(a){return Y.test(a.nodeName)},button:function(a){var ba.nodeName.toLowerCase();returninputb&&buttona.type||buttonb},text:function(a){var b;returninputa.nodeName.toLowerCase()&&texta.type&&(null(ba.getAttribute(type))||textb.toLowerCase())},first:ob(function(){return0}),last:ob(function(a,b){returnb-1}),eq:ob(function(a,b,c){return0>c?c+b:c}),even:ob(function(a,b){for(var c0;b>c;c+2)a.push(c);return a}),odd:ob(function(a,b){for(var c1;b>c;c+2)a.push(c);return a}),lt:ob(function(a,b,c){for(var d0>c?c+b:c;--d>0;)a.push(d);return a}),gt:ob(function(a,b,c){for(var d0>c?c+b:c;++db;)a.push(d);return a})}},d.pseudos.nthd.pseudos.eq;for(b in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})d.pseudosbmb(b);for(b in{submit:!0,reset:!0})d.pseudosbnb(b);function qb(){}qb.prototyped.filtersd.pseudos,d.setFiltersnew qb,ggb.tokenizefunction(a,b){var c,e,f,g,h,i,j,kza+ ;if(k)return b?0:k.slice(0);ha,i,jd.preFilter;while(h){(!c||(eS.exec(h)))&&(e&&(hh.slice(e0.length)||h),i.push(f)),c!1,(eT.exec(h))&&(ce.shift(),f.push({value:c,type:e0.replace(R, )}),hh.slice(c.length));for(g in d.filter)!(eXg.exec(h))||jg&&!(ejg(e))||(ce.shift(),f.push({value:c,type:g,matches:e}),hh.slice(c.length));if(!c)break}return b?h.length:h?gb.error(a):z(a,i).slice(0)};function rb(a){for(var b0,ca.length,d;c>b;b++)d+ab.value;return d}function sb(a,b,c){var db.dir,ec&&parentNoded,fx++;return b.first?function(b,c,f){while(bbd)if(1b.nodeType||e)return a(b,c,f)}:function(b,c,g){var h,i,jw,f;if(g){while(bbd)if((1b.nodeType||e)&&a(b,c,g))return!0}else while(bbd)if(1b.nodeType||e){if(ibu||(bu{}),(hid)&&h0w&&h1f)return j2h2;if(idj,j2a(b,c,g))return!0}}}function tb(a){return a.length>1?function(b,c,d){var ea.length;while(e--)if(!ae(b,c,d))return!1;return!0}:a0}function ub(a,b,c){for(var d0,eb.length;e>d;d++)gb(a,bd,c);return c}function vb(a,b,c,d,e){for(var f,g,h0,ia.length,jnull!b;i>h;h++)(fah)&&(!c||c(f,d,e))&&(g.push(f),j&&b.push(h));return g}function wb(a,b,c,d,e,f){return d&&!du&&(dwb(d)),e&&!eu&&(ewb(e,f)),ib(function(f,g,h,i){var j,k,l,m,n,og.length,pf||ub(b||*,h.nodeType?h:h,),q!a||!f&&b?p:vb(p,m,a,h,i),rc?e||(f?a:o||d)?:g:q;if(c&&c(q,r,h,i),d){jvb(r,n),d(j,,h,i),kj.length;while(k--)(ljk)&&(rnk!(qnkl))}if(f){if(e||a){if(e){j,kr.length;while(k--)(lrk)&&j.push(qkl);e(null,r,j,i)}kr.length;while(k--)(lrk)&&(je?J(f,l):mk)>-1&&(fj!(gjl))}}else rvb(rg?r.splice(o,r.length):r),e?e(null,g,r,i):H.apply(g,r)})}function xb(a){for(var b,c,e,fa.length,gd.relativea0.type,hg||d.relative ,ig?1:0,ksb(function(a){return ab},h,!0),lsb(function(a){return J(b,a)>-1},h,!0),mfunction(a,c,d){var e!g&&(d||c!j)||((bc).nodeType?k(a,c,d):l(a,c,d));return bnull,e};f>i;i++)if(cd.relativeai.type)msb(tb(m),c);else{if(cd.filterai.type.apply(null,ai.matches),cu){for(e++i;f>e;e++)if(d.relativeae.type)break;return wb(i>1&&tb(m),i>1&&rb(a.slice(0,i-1).concat({value: ai-2.type?*:})).replace(R,$1),c,e>i&&xb(a.slice(i,e)),f>e&&xb(aa.slice(e)),f>e&&rb(a))}m.push(c)}return tb(m)}function yb(a,b){var cb.length>0,ea.length>0,ffunction(f,g,h,i,k){var l,m,o,p0,q0,rf&&,s,tj,uf||e&&d.find.TAG(*,k),vw+nullt?1:Math.random()||.1,xu.length;for(k&&(jg!n&&g);q!x&&null!(luq);q++){if(e&&l){m0;while(oam++)if(o(l,g,h)){i.push(l);break}k&&(wv)}c&&((l!o&&l)&&p--,f&&r.push(l))}if(p+q,c&&q!p){m0;while(obm++)o(r,s,g,h);if(f){if(p>0)while(q--)rq||sq||(sqF.call(i));svb(s)}H.apply(i,s),k&&!f&&s.length>0&&p+b.length>1&&gb.uniqueSort(i)}return k&&(wv,jt),r};return c?ib(f):f}return hgb.compilefunction(a,b){var c,d,e,fAa+ ;if(!f){b||(bg(a)),cb.length;while(c--)fxb(bc),fu?d.push(f):e.push(f);fA(a,yb(e,d)),f.selectora}return f},igb.selectfunction(a,b,e,f){var i,j,k,l,m,nfunctiontypeof a&&a,o!f&&g(an.selector||a);if(ee||,1o.length){if(jo0o0.slice(0),j.length>2&&ID(kj0).type&&c.getById&&9b.nodeType&&p&&d.relativej1.type){if(b(d.find.ID(k.matches0.replace(cb,db),b)||)0,!b)return e;n&&(bb.parentNode),aa.slice(j.shift().value.length)}iX.needsContext.test(a)?0:j.length;while(i--){if(kji,d.relativelk.type)break;if((md.findl)&&(fm(k.matches0.replace(cb,db),ab.test(j0.type)&&pb(b.parentNode)||b))){if(j.splice(i,1),af.length&&rb(j),!a)return H.apply(e,f),e;break}}}return(n||h(a,o))(f,b,!p,e,ab.test(a)&&pb(b.parentNode)||b),e},c.sortStableu.split().sort(B).join()u,c.detectDuplicates!!l,m(),c.sortDetachedjb(function(a){return 1&a.compareDocumentPosition(n.createElement(div))}),jb(function(a){return a.innerHTMLa href#>/a>,#a.firstChild.getAttribute(href)})||kb(type|href|height|width,function(a,b,c){return c?void 0:a.getAttribute(b,typeb.toLowerCase()?1:2)}),c.attributes&&jb(function(a){return a.innerHTMLinput/>,a.firstChild.setAttribute(value,),a.firstChild.getAttribute(value)})||kb(value,function(a,b,c){return c||input!a.nodeName.toLowerCase()?void 0:a.defaultValue}),jb(function(a){return nulla.getAttribute(disabled)})||kb(K,function(a,b,c){var d;return c?void 0:ab!0?b.toLowerCase():(da.getAttributeNode(b))&&d.specified?d.value:null}),gb}(a);n.findt,n.exprt.selectors,n.expr:n.expr.pseudos,n.uniquet.uniqueSort,n.textt.getText,n.isXMLDoct.isXML,n.containst.contains;var un.expr.match.needsContext,v/^(\w+)\s*\/?>(?:\/\1>|)$/,w/^.^:#\\.,*$/;function x(a,b,c){if(n.isFunction(b))return n.grep(a,function(a,d){return!!b.call(a,d,a)!c});if(b.nodeType)return n.grep(a,function(a){return ab!c});if(stringtypeof b){if(w.test(b))return n.filter(b,a,c);bn.filter(b,a)}return n.grep(a,function(a){return g.call(b,a)>0!c})}n.filterfunction(a,b,c){var db0;return c&&(a:not(+a+)),1b.length&&1d.nodeType?n.find.matchesSelector(d,a)?d::n.find.matches(a,n.grep(b,function(a){return 1a.nodeType}))},n.fn.extend({find:function(a){var b,cthis.length,d,ethis;if(string!typeof a)return this.pushStack(n(a).filter(function(){for(b0;c>b;b++)if(n.contains(eb,this))return!0}));for(b0;c>b;b++)n.find(a,eb,d);return dthis.pushStack(c>1?n.unique(d):d),d.selectorthis.selector?this.selector+ +a:a,d},filter:function(a){return this.pushStack(x(this,a||,!1))},not:function(a){return this.pushStack(x(this,a||,!0))},is:function(a){return!!x(this,stringtypeof a&&u.test(a)?n(a):a||,!1).length}});var y,z/^(?:\s*(\w\W+>)^>*|#(\w-*))$/,An.fn.initfunction(a,b){var c,d;if(!a)return this;if(stringtypeof a){if(ca0&&>aa.length-1&&a.length>3?null,a,null:z.exec(a),!c||!c1&&b)return!b||b.jquery?(b||y).find(a):this.constructor(b).find(a);if(c1){if(bb instanceof n?b0:b,n.merge(this,n.parseHTML(c1,b&&b.nodeType?b.ownerDocument||b:l,!0)),v.test(c1)&&n.isPlainObject(b))for(c in b)n.isFunction(thisc)?thisc(bc):this.attr(c,bc);return this}return dl.getElementById(c2),d&&d.parentNode&&(this.length1,this0d),this.contextl,this.selectora,this}return a.nodeType?(this.contextthis0a,this.length1,this):n.isFunction(a)?undefined!typeof y.ready?y.ready(a):a(n):(void 0!a.selector&&(this.selectora.selector,this.contexta.context),n.makeArray(a,this))};A.prototypen.fn,yn(l);var B/^(?:parents|prev(?:Until|All))/,C{children:!0,contents:!0,next:!0,prev:!0};n.extend({dir:function(a,b,c){var d,evoid 0!c;while((aab)&&9!a.nodeType)if(1a.nodeType){if(e&&n(a).is(c))break;d.push(a)}return d},sibling:function(a,b){for(var c;a;aa.nextSibling)1a.nodeType&&a!b&&c.push(a);return c}}),n.fn.extend({has:function(a){var bn(a,this),cb.length;return this.filter(function(){for(var a0;c>a;a++)if(n.contains(this,ba))return!0})},closest:function(a,b){for(var c,d0,ethis.length,f,gu.test(a)||string!typeof a?n(a,b||this.context):0;e>d;d++)for(cthisd;c&&c!b;cc.parentNode)if(c.nodeType11&&(g?g.index(c)>-1:1c.nodeType&&n.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?n.unique(f):f)},index:function(a){return a?stringtypeof a?g.call(n(a),this0):g.call(this,a.jquery?a0:a):this0&&this0.parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(n.unique(n.merge(this.get(),n(a,b))))},addBack:function(a){return this.add(nulla?this.prevObject:this.prevObject.filter(a))}});function D(a,b){while((aab)&&1!a.nodeType);return a}n.each({parent:function(a){var ba.parentNode;return b&&11!b.nodeType?b:null},parents:function(a){return n.dir(a,parentNode)},parentsUntil:function(a,b,c){return n.dir(a,parentNode,c)},next:function(a){return D(a,nextSibling)},prev:function(a){return D(a,previousSibling)},nextAll:function(a){return n.dir(a,nextSibling)},prevAll:function(a){return n.dir(a,previousSibling)},nextUntil:function(a,b,c){return n.dir(a,nextSibling,c)},prevUntil:function(a,b,c){return n.dir(a,previousSibling,c)},siblings:function(a){return n.sibling((a.parentNode||{}).firstChild,a)},children:function(a){return n.sibling(a.firstChild)},contents:function(a){return a.contentDocument||n.merge(,a.childNodes)}},function(a,b){n.fnafunction(c,d){var en.map(this,b,c);returnUntil!a.slice(-5)&&(dc),d&&stringtypeof d&&(en.filter(d,e)),this.length>1&&(Ca||n.unique(e),B.test(a)&&e.reverse()),this.pushStack(e)}});var E/\S+/g,F{};function G(a){var bFa{};return n.each(a.match(E)||,function(a,c){bc!0}),b}n.Callbacksfunction(a){astringtypeof a?Fa||G(a):n.extend({},a);var b,c,d,e,f,g,h,i!a.once&&,jfunction(l){for(ba.memory&&l,c!0,ge||0,e0,fh.length,d!0;h&&f>g;g++)if(hg.apply(l0,l1)!1&&a.stopOnFalse){b!1;break}d!1,h&&(i?i.length&&j(i.shift()):b?h:k.disable())},k{add:function(){if(h){var ch.length;!function g(b){n.each(b,function(b,c){var dn.type(c);functiond?a.unique&&k.has(c)||h.push(c):c&&c.length&&string!d&&g(c)})}(arguments),d?fh.length:b&&(ec,j(b))}return this},remove:function(){return h&&n.each(arguments,function(a,b){var c;while((cn.inArray(b,h,c))>-1)h.splice(c,1),d&&(f>c&&f--,g>c&&g--)}),this},has:function(a){return a?n.inArray(a,h)>-1:!(!h||!h.length)},empty:function(){return h,f0,this},disable:function(){return hibvoid 0,this},disabled:function(){return!h},lock:function(){return ivoid 0,b||k.disable(),this},locked:function(){return!i},fireWith:function(a,b){return!h||c&&!i||(bb||,ba,b.slice?b.slice():b,d?i.push(b):j(b)),this},fire:function(){return k.fireWith(this,arguments),this},fired:function(){return!!c}};return k},n.extend({Deferred:function(a){var bresolve,done,n.Callbacks(once memory),resolved,reject,fail,n.Callbacks(once memory),rejected,notify,progress,n.Callbacks(memory),cpending,d{state:function(){return c},always:function(){return e.done(arguments).fail(arguments),this},then:function(){var aarguments;return n.Deferred(function(c){n.each(b,function(b,f){var gn.isFunction(ab)&&ab;ef1(function(){var ag&&g.apply(this,arguments);a&&n.isFunction(a.promise)?a.promise().done(c.resolve).fail(c.reject).progress(c.notify):cf0+With(thisd?c.promise():this,g?a:arguments)})}),anull}).promise()},promise:function(a){return null!a?n.extend(a,d):d}},e{};return d.piped.then,n.each(b,function(a,f){var gf2,hf3;df1g.add,h&&g.add(function(){ch},b1^a2.disable,b22.lock),ef0function(){return ef0+With(thise?d:this,arguments),this},ef0+Withg.fireWith}),d.promise(e),a&&a.call(e,e),e},when:function(a){var b0,cd.call(arguments),ec.length,f1!e||a&&n.isFunction(a.promise)?e:0,g1f?a:n.Deferred(),hfunction(a,b,c){return function(e){bathis,caarguments.length>1?d.call(arguments):e,ci?g.notifyWith(b,c):--f||g.resolveWith(b,c)}},i,j,k;if(e>1)for(inew Array(e),jnew Array(e),knew Array(e);e>b;b++)cb&&n.isFunction(cb.promise)?cb.promise().done(h(b,k,c)).fail(g.reject).progress(h(b,j,i)):--f;return f||g.resolveWith(k,c),g.promise()}});var H;n.fn.readyfunction(a){return n.ready.promise().done(a),this},n.extend({isReady:!1,readyWait:1,holdReady:function(a){a?n.readyWait++:n.ready(!0)},ready:function(a){(a!0?--n.readyWait:n.isReady)||(n.isReady!0,a!!0&&--n.readyWait>0||(H.resolveWith(l,n),n.fn.triggerHandler&&(n(l).triggerHandler(ready),n(l).off(ready))))}});function I(){l.removeEventListener(DOMContentLoaded,I,!1),a.removeEventListener(load,I,!1),n.ready()}n.ready.promisefunction(b){return H||(Hn.Deferred(),completel.readyState?setTimeout(n.ready):(l.addEventListener(DOMContentLoaded,I,!1),a.addEventListener(load,I,!1))),H.promise(b)},n.ready.promise();var Jn.accessfunction(a,b,c,d,e,f,g){var h0,ia.length,jnullc;if(objectn.type(c)){e!0;for(h in c)n.access(a,b,h,ch,!0,f,g)}else if(void 0!d&&(e!0,n.isFunction(d)||(g!0),j&&(g?(b.call(a,d),bnull):(jb,bfunction(a,b,c){return j.call(n(a),c)})),b))for(;i>h;h++)b(ah,c,g?d:d.call(ah,h,b(ah,c)));return e?a:j?b.call(a):i?b(a0,c):f};n.acceptDatafunction(a){return 1a.nodeType||9a.nodeType||!+a.nodeType};function K(){Object.defineProperty(this.cache{},0,{get:function(){return{}}}),this.expandon.expando+K.uid++}K.uid1,K.acceptsn.acceptData,K.prototype{key:function(a){if(!K.accepts(a))return 0;var b{},cathis.expando;if(!c){cK.uid++;try{bthis.expando{value:c},Object.defineProperties(a,b)}catch(d){bthis.expandoc,n.extend(a,b)}}return this.cachec||(this.cachec{}),c},set:function(a,b,c){var d,ethis.key(a),fthis.cachee;if(stringtypeof b)fbc;else if(n.isEmptyObject(f))n.extend(this.cachee,b);else for(d in b)fdbd;return f},get:function(a,b){var cthis.cachethis.key(a);return void 0b?c:cb},access:function(a,b,c){var d;return void 0b||b&&stringtypeof b&&void 0c?(dthis.get(a,b),void 0!d?d:this.get(a,n.camelCase(b))):(this.set(a,b,c),void 0!c?c:b)},remove:function(a,b){var c,d,e,fthis.key(a),gthis.cachef;if(void 0b)this.cachef{};else{n.isArray(b)?db.concat(b.map(n.camelCase)):(en.camelCase(b),b in g?db,e:(de,dd in g?d:d.match(E)||)),cd.length;while(c--)delete gdc}},hasData:function(a){return!n.isEmptyObject(this.cacheathis.expando||{})},discard:function(a){athis.expando&&delete this.cacheathis.expando}};var Lnew K,Mnew K,N/^(?:\{\w\W*\}|\\w\W*\)$/,O/(A-Z)/g;function P(a,b,c){var d;if(void 0c&&1a.nodeType)if(ddata-+b.replace(O,-$1).toLowerCase(),ca.getAttribute(d),stringtypeof c){try{ctruec?!0:falsec?!1:nullc?null:+c+c?+c:N.test(c)?n.parseJSON(c):c}catch(e){}M.set(a,b,c)}else cvoid 0;return c}n.extend({hasData:function(a){return M.hasData(a)||L.hasData(a)},data:function(a,b,c){return M.access(a,b,c)},removeData:function(a,b){M.remove(a,b)},_data:function(a,b,c){return L.access(a,b,c)},_removeData:function(a,b){L.remove(a,b)}}),n.fn.extend({data:function(a,b){var c,d,e,fthis0,gf&&f.attributes;if(void 0a){if(this.length&&(eM.get(f),1f.nodeType&&!L.get(f,hasDataAttrs))){cg.length;while(c--)gc&&(dgc.name,0d.indexOf(data-)&&(dn.camelCase(d.slice(5)),P(f,d,ed)));L.set(f,hasDataAttrs,!0)}return e}returnobjecttypeof a?this.each(function(){M.set(this,a)}):J(this,function(b){var c,dn.camelCase(a);if(f&&void 0b){if(cM.get(f,a),void 0!c)return c;if(cM.get(f,d),void 0!c)return c;if(cP(f,d,void 0),void 0!c)return c}else this.each(function(){var cM.get(this,d);M.set(this,d,b),-1!a.indexOf(-)&&void 0!c&&M.set(this,a,b)})},null,b,arguments.length>1,null,!0)},removeData:function(a){return this.each(function(){M.remove(this,a)})}}),n.extend({queue:function(a,b,c){var d;return a?(b(b||fx)+queue,dL.get(a,b),c&&(!d||n.isArray(c)?dL.access(a,b,n.makeArray(c)):d.push(c)),d||):void 0},dequeue:function(a,b){bb||fx;var cn.queue(a,b),dc.length,ec.shift(),fn._queueHooks(a,b),gfunction(){n.dequeue(a,b)};inprogresse&&(ec.shift(),d--),e&&(fxb&&c.unshift(inprogress),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var cb+queueHooks;return L.get(a,c)||L.access(a,c,{empty:n.Callbacks(once memory).add(function(){L.remove(a,b+queue,c)})})}}),n.fn.extend({queue:function(a,b){var c2;returnstring!typeof a&&(ba,afx,c--),arguments.lengthc?n.queue(this0,a):void 0b?this:this.each(function(){var cn.queue(this,a,b);n._queueHooks(this,a),fxa&&inprogress!c0&&n.dequeue(this,a)})},dequeue:function(a){return this.each(function(){n.dequeue(this,a)})},clearQueue:function(a){return this.queue(a||fx,)},promise:function(a,b){var c,d1,en.Deferred(),fthis,gthis.length,hfunction(){--d||e.resolveWith(f,f)};string!typeof a&&(ba,avoid 0),aa||fx;while(g--)cL.get(fg,a+queueHooks),c&&c.empty&&(d++,c.empty.add(h));return h(),e.promise(b)}});var Q/+-?(?:\d*\.|)\d+(?:eE+-?\d+|)/.source,RTop,Right,Bottom,Left,Sfunction(a,b){return ab||a,nonen.css(a,display)||!n.contains(a.ownerDocument,a)},T/^(?:checkbox|radio)$/i;!function(){var al.createDocumentFragment(),ba.appendChild(l.createElement(div)),cl.createElement(input);c.setAttribute(type,radio),c.setAttribute(checked,checked),c.setAttribute(name,t),b.appendChild(c),k.checkCloneb.cloneNode(!0).cloneNode(!0).lastChild.checked,b.innerHTMLtextarea>x/textarea>,k.noCloneChecked!!b.cloneNode(!0).lastChild.defaultValue}();var Uundefined;k.focusinBubblesonfocusinin a;var V/^key/,W/^(?:mouse|pointer|contextmenu)|click/,X/^(?:focusinfocus|focusoutblur)$/,Y/^(^.*)(?:\.(.+)|)$/;function Z(){return!0}function $(){return!1}function _(){try{return l.activeElement}catch(a){}}n.event{global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,rL.get(a);if(r){c.handler&&(fc,cf.handler,ef.selector),c.guid||(c.guidn.guid++),(ir.events)||(ir.events{}),(gr.handle)||(gr.handlefunction(b){return typeof n!U&&n.event.triggered!b.type?n.event.dispatch.apply(a,arguments):void 0}),b(b||).match(E)||,jb.length;while(j--)hY.exec(bj)||,oqh1,p(h2||).split(.).sort(),o&&(ln.event.specialo||{},o(e?l.delegateType:l.bindType)||o,ln.event.specialo||{},kn.extend({type:o,origType:q,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&n.expr.match.needsContext.test(e),namespace:p.join(.)},f),(mio)||(mio,m.delegateCount0,l.setup&&l.setup.call(a,d,p,g)!!1||a.addEventListener&&a.addEventListener(o,g,!1)),l.add&&(l.add.call(a,k),k.handler.guid||(k.handler.guidc.guid)),e?m.splice(m.delegateCount++,0,k):m.push(k),n.event.globalo!0)}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,rL.hasData(a)&&L.get(a);if(r&&(ir.events)){b(b||).match(E)||,jb.length;while(j--)if(hY.exec(bj)||,oqh1,p(h2||).split(.).sort(),o){ln.event.specialo||{},o(d?l.delegateType:l.bindType)||o,mio||,hh2&&new RegExp((^|\\.)+p.join(\\.(?:.*\\.|))+(\\.|$)),gfm.length;while(f--)kmf,!e&&q!k.origType||c&&c.guid!k.guid||h&&!h.test(k.namespace)||d&&d!k.selector&&(**!d||!k.selector)||(m.splice(f,1),k.selector&&m.delegateCount--,l.remove&&l.remove.call(a,k));g&&!m.length&&(l.teardown&&l.teardown.call(a,p,r.handle)!!1||n.removeEvent(a,o,r.handle),delete io)}else for(o in i)n.event.remove(a,o+bj,c,d,!0);n.isEmptyObject(i)&&(delete r.handle,L.remove(a,events))}},trigger:function(b,c,d,e){var f,g,h,i,k,m,o,pd||l,qj.call(b,type)?b.type:b,rj.call(b,namespace)?b.namespace.split(.):;if(ghdd||l,3!d.nodeType&&8!d.nodeType&&!X.test(q+n.event.triggered)&&(q.indexOf(.)>0&&(rq.split(.),qr.shift(),r.sort()),kq.indexOf(:)0&&on+q,bbn.expando?b:new n.Event(q,objecttypeof b&&b),b.isTriggere?2:3,b.namespacer.join(.),b.namespace_reb.namespace?new RegExp((^|\\.)+r.join(\\.(?:.*\\.|))+(\\.|$)):null,b.resultvoid 0,b.target||(b.targetd),cnullc?b:n.makeArray(c,b),on.event.specialq||{},e||!o.trigger||o.trigger.apply(d,c)!!1)){if(!e&&!o.noBubble&&!n.isWindow(d)){for(io.delegateType||q,X.test(i+q)||(gg.parentNode);g;gg.parentNode)p.push(g),hg;h(d.ownerDocument||l)&&p.push(h.defaultView||h.parentWindow||a)}f0;while((gpf++)&&!b.isPropagationStopped())b.typef>1?i:o.bindType||q,m(L.get(g,events)||{})b.type&&L.get(g,handle),m&&m.apply(g,c),mk&&gk,m&&m.apply&&n.acceptData(g)&&(b.resultm.apply(g,c),b.result!1&&b.preventDefault());return b.typeq,e||b.isDefaultPrevented()||o._default&&o._default.apply(p.pop(),c)!!1||!n.acceptData(d)||k&&n.isFunction(dq)&&!n.isWindow(d)&&(hdk,h&&(dknull),n.event.triggeredq,dq(),n.event.triggeredvoid 0,h&&(dkh)),b.result}},dispatch:function(a){an.event.fix(a);var b,c,e,f,g,h,id.call(arguments),j(L.get(this,events)||{})a.type||,kn.event.speciala.type||{};if(i0a,a.delegateTargetthis,!k.preDispatch||k.preDispatch.call(this,a)!!1){hn.event.handlers.call(this,a,j),b0;while((fhb++)&&!a.isPropagationStopped()){a.currentTargetf.elem,c0;while((gf.handlersc++)&&!a.isImmediatePropagationStopped())(!a.namespace_re||a.namespace_re.test(g.namespace))&&(a.handleObjg,a.datag.data,e((n.event.specialg.origType||{}).handle||g.handler).apply(f.elem,i),void 0!e&&(a.resulte)!1&&(a.preventDefault(),a.stopPropagation()))}return k.postDispatch&&k.postDispatch.call(this,a),a.result}},handlers:function(a,b){var c,d,e,f,g,hb.delegateCount,ia.target;if(h&&i.nodeType&&(!a.button||click!a.type))for(;i!this;ii.parentNode||this)if(i.disabled!!0||click!a.type){for(d,c0;h>c;c++)fbc,ef.selector+ ,void 0de&&(def.needsContext?n(e,this).index(i)>0:n.find(e,this,null,i).length),de&&d.push(f);d.length&&g.push({elem:i,handlers:d})}return hb.length&&g.push({elem:this,handlers:b.slice(h)}),g},props:altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which.split( ),fixHooks:{},keyHooks:{props:char charCode key keyCode.split( ),filter:function(a,b){return nulla.which&&(a.whichnull!b.charCode?b.charCode:b.keyCode),a}},mouseHooks:{props:button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement.split( ),filter:function(a,b){var c,d,e,fb.button;return nulla.pageX&&null!b.clientX&&(ca.target.ownerDocument||l,dc.documentElement,ec.body,a.pageXb.clientX+(d&&d.scrollLeft||e&&e.scrollLeft||0)-(d&&d.clientLeft||e&&e.clientLeft||0),a.pageYb.clientY+(d&&d.scrollTop||e&&e.scrollTop||0)-(d&&d.clientTop||e&&e.clientTop||0)),a.which||void 0f||(a.which1&f?1:2&f?3:4&f?2:0),a}},fix:function(a){if(an.expando)return a;var b,c,d,ea.type,fa,gthis.fixHookse;g||(this.fixHooksegW.test(e)?this.mouseHooks:V.test(e)?this.keyHooks:{}),dg.props?this.props.concat(g.props):this.props,anew n.Event(f),bd.length;while(b--)cdb,acfc;return a.target||(a.targetl),3a.target.nodeType&&(a.targeta.target.parentNode),g.filter?g.filter(a,f):a},special:{load:{noBubble:!0},focus:{trigger:function(){return this!_()&&this.focus?(this.focus(),!1):void 0},delegateType:focusin},blur:{trigger:function(){return this_()&&this.blur?(this.blur(),!1):void 0},delegateType:focusout},click:{trigger:function(){returncheckboxthis.type&&this.click&&n.nodeName(this,input)?(this.click(),!1):void 0},_default:function(a){return n.nodeName(a.target,a)}},beforeunload:{postDispatch:function(a){void 0!a.result&&a.originalEvent&&(a.originalEvent.returnValuea.result)}}},simulate:function(a,b,c,d){var en.extend(new n.Event,c,{type:a,isSimulated:!0,originalEvent:{}});d?n.event.trigger(e,null,b):n.event.dispatch.call(b,e),e.isDefaultPrevented()&&c.preventDefault()}},n.removeEventfunction(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)},n.Eventfunction(a,b){return this instanceof n.Event?(a&&a.type?(this.originalEventa,this.typea.type,this.isDefaultPreventeda.defaultPrevented||void 0a.defaultPrevented&&a.returnValue!1?Z:$):this.typea,b&&n.extend(this,b),this.timeStampa&&a.timeStamp||n.now(),void(thisn.expando!0)):new n.Event(a,b)},n.Event.prototype{isDefaultPrevented:$,isPropagationStopped:$,isImmediatePropagationStopped:$,preventDefault:function(){var athis.originalEvent;this.isDefaultPreventedZ,a&&a.preventDefault&&a.preventDefault()},stopPropagation:function(){var athis.originalEvent;this.isPropagationStoppedZ,a&&a.stopPropagation&&a.stopPropagation()},stopImmediatePropagation:function(){var athis.originalEvent;this.isImmediatePropagationStoppedZ,a&&a.stopImmediatePropagation&&a.stopImmediatePropagation(),this.stopPropagation()}},n.each({mouseenter:mouseover,mouseleave:mouseout,pointerenter:pointerover,pointerleave:pointerout},function(a,b){n.event.speciala{delegateType:b,bindType:b,handle:function(a){var c,dthis,ea.relatedTarget,fa.handleObj;return(!e||e!d&&!n.contains(d,e))&&(a.typef.origType,cf.handler.apply(this,arguments),a.typeb),c}}}),k.focusinBubbles||n.each({focus:focusin,blur:focusout},function(a,b){var cfunction(a){n.event.simulate(b,a.target,n.event.fix(a),!0)};n.event.specialb{setup:function(){var dthis.ownerDocument||this,eL.access(d,b);e||d.addEventListener(a,c,!0),L.access(d,b,(e||0)+1)},teardown:function(){var dthis.ownerDocument||this,eL.access(d,b)-1;e?L.access(d,b,e):(d.removeEventListener(a,c,!0),L.remove(d,b))}}}),n.fn.extend({on:function(a,b,c,d,e){var f,g;if(objecttypeof a){string!typeof b&&(cc||b,bvoid 0);for(g in a)this.on(g,b,c,ag,e);return this}if(nullc&&nulld?(db,cbvoid 0):nulld&&(stringtypeof b?(dc,cvoid 0):(dc,cb,bvoid 0)),d!1)d$;else if(!d)return this;return 1e&&(fd,dfunction(a){return n().off(a),f.apply(this,arguments)},d.guidf.guid||(f.guidn.guid++)),this.each(function(){n.event.add(this,a,d,c,b)})},one:function(a,b,c,d){return this.on(a,b,c,d,1)},off:function(a,b,c){var d,e;if(a&&a.preventDefault&&a.handleObj)return da.handleObj,n(a.delegateTarget).off(d.namespace?d.origType+.+d.namespace:d.origType,d.selector,d.handler),this;if(objecttypeof a){for(e in a)this.off(e,b,ae);return this}return(b!1||functiontypeof b)&&(cb,bvoid 0),c!1&&(c$),this.each(function(){n.event.remove(this,a,c,b)})},trigger:function(a,b){return this.each(function(){n.event.trigger(a,b,this)})},triggerHandler:function(a,b){var cthis0;return c?n.event.trigger(a,b,c,!0):void 0}});var ab/(?!area|br|col|embed|hr|img|input|link|meta|param)((\w:+)^>*)\/>/gi,bb/(\w:+)/,cb/|?\w+;/,db/(?:script|style|link)/i,eb/checked\s*(?:^|\s*.checked.)/i,fb/^$|\/(?:java|ecma)script/i,gb/^true\/(.*)/,hb/^\s*!(?:\CDATA\|--)|(?:\\|--)>\s*$/g,ib{option:1,select multiplemultiple>,/select>,thead:1,table>,/table>,col:2,table>colgroup>,/colgroup>/table>,tr:2,table>tbody>,/tbody>/table>,td:3,table>tbody>tr>,/tr>/tbody>/table>,_default:0,,};ib.optgroupib.option,ib.tbodyib.tfootib.colgroupib.captionib.thead,ib.thib.td;function jb(a,b){return n.nodeName(a,table)&&n.nodeName(11!b.nodeType?b:b.firstChild,tr)?a.getElementsByTagName(tbody)0||a.appendChild(a.ownerDocument.createElement(tbody)):a}function kb(a){return a.type(null!a.getAttribute(type))+/+a.type,a}function lb(a){var bgb.exec(a.type);return b?a.typeb1:a.removeAttribute(type),a}function mb(a,b){for(var c0,da.length;d>c;c++)L.set(ac,globalEval,!b||L.get(bc,globalEval))}function nb(a,b){var c,d,e,f,g,h,i,j;if(1b.nodeType){if(L.hasData(a)&&(fL.access(a),gL.set(b,f),jf.events)){delete g.handle,g.events{};for(e in j)for(c0,dje.length;d>c;c++)n.event.add(b,e,jec)}M.hasData(a)&&(hM.access(a),in.extend({},h),M.set(b,i))}}function ob(a,b){var ca.getElementsByTagName?a.getElementsByTagName(b||*):a.querySelectorAll?a.querySelectorAll(b||*):;return void 0b||b&&n.nodeName(a,b)?n.merge(a,c):c}function pb(a,b){var cb.nodeName.toLowerCase();inputc&&T.test(a.type)?b.checkeda.checked:(inputc||textareac)&&(b.defaultValuea.defaultValue)}n.extend({clone:function(a,b,c){var d,e,f,g,ha.cloneNode(!0),in.contains(a.ownerDocument,a);if(!(k.noCloneChecked||1!a.nodeType&&11!a.nodeType||n.isXMLDoc(a)))for(gob(h),fob(a),d0,ef.length;e>d;d++)pb(fd,gd);if(b)if(c)for(ff||ob(a),gg||ob(h),d0,ef.length;e>d;d++)nb(fd,gd);else nb(a,h);return gob(h,script),g.length>0&&mb(g,!i&&ob(a,script)),h},buildFragment:function(a,b,c,d){for(var e,f,g,h,i,j,kb.createDocumentFragment(),l,m0,oa.length;o>m;m++)if(eam,e||0e)if(objectn.type(e))n.merge(l,e.nodeType?e:e);else if(cb.test(e)){ff||k.appendChild(b.createElement(div)),g(bb.exec(e)||,)1.toLowerCase(),hibg||ib._default,f.innerHTMLh1+e.replace(ab,$1>/$2>)+h2,jh0;while(j--)ff.lastChild;n.merge(l,f.childNodes),fk.firstChild,f.textContent}else l.push(b.createTextNode(e));k.textContent,m0;while(elm++)if((!d||-1n.inArray(e,d))&&(in.contains(e.ownerDocument,e),fob(k.appendChild(e),script),i&&mb(f),c)){j0;while(efj++)fb.test(e.type||)&&c.push(e)}return k},cleanData:function(a){for(var b,c,d,e,fn.event.special,g0;void 0!(cag);g++){if(n.acceptData(c)&&(ecL.expando,e&&(bL.cachee))){if(b.events)for(d in b.events)fd?n.event.remove(c,d):n.removeEvent(c,d,b.handle);L.cachee&&delete L.cachee}delete M.cachecM.expando}}}),n.fn.extend({text:function(a){return J(this,function(a){return void 0a?n.text(this):this.empty().each(function(){(1this.nodeType||11this.nodeType||9this.nodeType)&&(this.textContenta)})},null,a,arguments.length)},append:function(){return this.domManip(arguments,function(a){if(1this.nodeType||11this.nodeType||9this.nodeType){var bjb(this,a);b.appendChild(a)}})},prepend:function(){return this.domManip(arguments,function(a){if(1this.nodeType||11this.nodeType||9this.nodeType){var bjb(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},remove:function(a,b){for(var c,da?n.filter(a,this):this,e0;null!(cde);e++)b||1!c.nodeType||n.cleanData(ob(c)),c.parentNode&&(b&&n.contains(c.ownerDocument,c)&&mb(ob(c,script)),c.parentNode.removeChild(c));return this},empty:function(){for(var a,b0;null!(athisb);b++)1a.nodeType&&(n.cleanData(ob(a,!1)),a.textContent);return this},clone:function(a,b){return anulla?!1:a,bnullb?a:b,this.map(function(){return n.clone(this,a,b)})},html:function(a){return J(this,function(a){var bthis0||{},c0,dthis.length;if(void 0a&&1b.nodeType)return b.innerHTML;if(stringtypeof a&&!db.test(a)&&!ib(bb.exec(a)||,)1.toLowerCase()){aa.replace(ab,$1>/$2>);try{for(;d>c;c++)bthisc||{},1b.nodeType&&(n.cleanData(ob(b,!1)),b.innerHTMLa);b0}catch(e){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var aarguments0;return this.domManip(arguments,function(b){athis.parentNode,n.cleanData(ob(this)),a&&a.replaceChild(b,this)}),a&&(a.length||a.nodeType)?this:this.remove()},detach:function(a){return this.remove(a,!0)},domManip:function(a,b){ae.apply(,a);var c,d,f,g,h,i,j0,lthis.length,mthis,ol-1,pa0,qn.isFunction(p);if(q||l>1&&stringtypeof p&&!k.checkClone&&eb.test(p))return this.each(function(c){var dm.eq(c);q&&(a0p.call(this,c,d.html())),d.domManip(a,b)});if(l&&(cn.buildFragment(a,this0.ownerDocument,!1,this),dc.firstChild,1c.childNodes.length&&(cd),d)){for(fn.map(ob(c,script),kb),gf.length;l>j;j++)hc,j!o&&(hn.clone(h,!0,!0),g&&n.merge(f,ob(h,script))),b.call(thisj,h,j);if(g)for(iff.length-1.ownerDocument,n.map(f,lb),j0;g>j;j++)hfj,fb.test(h.type||)&&!L.access(h,globalEval)&&n.contains(i,h)&&(h.src?n._evalUrl&&n._evalUrl(h.src):n.globalEval(h.textContent.replace(hb,)))}return this}}),n.each({appendTo:append,prependTo:prepend,insertBefore:before,insertAfter:after,replaceAll:replaceWith},function(a,b){n.fnafunction(a){for(var c,d,en(a),ge.length-1,h0;g>h;h++)chg?this:this.clone(!0),n(eh)b(c),f.apply(d,c.get());return this.pushStack(d)}});var qb,rb{};function sb(b,c){var d,en(c.createElement(b)).appendTo(c.body),fa.getDefaultComputedStyle&&(da.getDefaultComputedStyle(e0))?d.display:n.css(e0,display);return e.detach(),f}function tb(a){var bl,crba;return c||(csb(a,b),none!c&&c||(qb(qb||n(iframe frameborder0 width0 height0/>)).appendTo(b.documentElement),bqb0.contentDocument,b.write(),b.close(),csb(a,b),qb.detach()),rbac),c}var ub/^margin/,vbnew RegExp(^(+Q+)(?!px)a-z%+$,i),wbfunction(b){return b.ownerDocument.defaultView.opener?b.ownerDocument.defaultView.getComputedStyle(b,null):a.getComputedStyle(b,null)};function xb(a,b,c){var d,e,f,g,ha.style;return cc||wb(a),c&&(gc.getPropertyValue(b)||cb),c&&(!g||n.contains(a.ownerDocument,a)||(gn.style(a,b)),vb.test(g)&&ub.test(b)&&(dh.width,eh.minWidth,fh.maxWidth,h.minWidthh.maxWidthh.widthg,gc.width,h.widthd,h.minWidthe,h.maxWidthf)),void 0!g?g+:g}function yb(a,b){return{get:function(){return a()?void delete this.get:(this.getb).apply(this,arguments)}}}!function(){var b,c,dl.documentElement,el.createElement(div),fl.createElement(div);if(f.style){f.style.backgroundClipcontent-box,f.cloneNode(!0).style.backgroundClip,k.clearCloneStylecontent-boxf.style.backgroundClip,e.style.cssTextborder:0;width:0;height:0;top:0;left:-9999px;margin-top:1px;position:absolute,e.appendChild(f);function g(){f.style.cssText-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute,f.innerHTML,d.appendChild(e);var ga.getComputedStyle(f,null);b1%!g.top,c4pxg.width,d.removeChild(e)}a.getComputedStyle&&n.extend(k,{pixelPosition:function(){return g(),b},boxSizingReliable:function(){return nullc&&g(),c},reliableMarginRight:function(){var b,cf.appendChild(l.createElement(div));return c.style.cssTextf.style.cssText-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0,c.style.marginRightc.style.width0,f.style.width1px,d.appendChild(e),b!parseFloat(a.getComputedStyle(c,null).marginRight),d.removeChild(e),f.removeChild(c),b}})}}(),n.swapfunction(a,b,c,d){var e,f,g{};for(f in b)gfa.stylef,a.stylefbf;ec.apply(a,d||);for(f in b)a.stylefgf;return e};var zb/^(none|table(?!-cea).+)/,Abnew RegExp(^(+Q+)(.*)$,i),Bbnew RegExp(^(+-)(+Q+),i),Cb{position:absolute,visibility:hidden,display:block},Db{letterSpacing:0,fontWeight:400},EbWebkit,O,Moz,ms;function Fb(a,b){if(b in a)return b;var cb0.toUpperCase()+b.slice(1),db,eEb.length;while(e--)if(bEbe+c,b in a)return b;return d}function Gb(a,b,c){var dAb.exec(b);return d?Math.max(0,d1-(c||0))+(d2||px):b}function Hb(a,b,c,d,e){for(var fc(d?border:content)?4:widthb?1:0,g0;4>f;f+2)marginc&&(g+n.css(a,c+Rf,!0,e)),d?(contentc&&(g-n.css(a,padding+Rf,!0,e)),margin!c&&(g-n.css(a,border+Rf+Width,!0,e))):(g+n.css(a,padding+Rf,!0,e),padding!c&&(g+n.css(a,border+Rf+Width,!0,e)));return g}function Ib(a,b,c){var d!0,ewidthb?a.offsetWidth:a.offsetHeight,fwb(a),gborder-boxn.css(a,boxSizing,!1,f);if(0>e||nulle){if(exb(a,b,f),(0>e||nulle)&&(ea.styleb),vb.test(e))return e;dg&&(k.boxSizingReliable()||ea.styleb),eparseFloat(e)||0}return e+Hb(a,b,c||(g?border:content),d,f)+px}function Jb(a,b){for(var c,d,e,f,g0,ha.length;h>g;g++)dag,d.style&&(fgL.get(d,olddisplay),cd.style.display,b?(fg||none!c||(d.style.display),d.style.display&&S(d)&&(fgL.access(d,olddisplay,tb(d.nodeName)))):(eS(d),nonec&&e||L.set(d,olddisplay,e?c:n.css(d,display))));for(g0;h>g;g++)dag,d.style&&(b&&none!d.style.display&&!d.style.display||(d.style.displayb?fg||:none));return a}n.extend({cssHooks:{opacity:{get:function(a,b){if(b){var cxb(a,opacity);returnc?1:c}}}},cssNumber:{columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:cssFloat},style:function(a,b,c,d){if(a&&3!a.nodeType&&8!a.nodeType&&a.style){var e,f,g,hn.camelCase(b),ia.style;return bn.cssPropsh||(n.cssPropshFb(i,h)),gn.cssHooksb||n.cssHooksh,void 0c?g&&getin g&&void 0!(eg.get(a,!1,d))?e:ib:(ftypeof c,stringf&&(eBb.exec(c))&&(c(e1+1)*e2+parseFloat(n.css(a,b)),fnumber),null!c&&cc&&(number!f||n.cssNumberh||(c+px),k.clearCloneStyle||!c||0!b.indexOf(background)||(ibinherit),g&&setin g&&void 0(cg.set(a,c,d))||(ibc)),void 0)}},css:function(a,b,c,d){var e,f,g,hn.camelCase(b);return bn.cssPropsh||(n.cssPropshFb(a.style,h)),gn.cssHooksb||n.cssHooksh,g&&getin g&&(eg.get(a,!0,c)),void 0e&&(exb(a,b,d)),normale&&b in Db&&(eDbb),c||c?(fparseFloat(e),c!0||n.isNumeric(f)?f||0:e):e}}),n.each(height,width,function(a,b){n.cssHooksb{get:function(a,c,d){return c?zb.test(n.css(a,display))&&0a.offsetWidth?n.swap(a,Cb,function(){return Ib(a,b,d)}):Ib(a,b,d):void 0},set:function(a,c,d){var ed&&wb(a);return Gb(a,c,d?Hb(a,b,d,border-boxn.css(a,boxSizing,!1,e),e):0)}}}),n.cssHooks.marginRightyb(k.reliableMarginRight,function(a,b){return b?n.swap(a,{display:inline-block},xb,a,marginRight):void 0}),n.each({margin:,padding:,border:Width},function(a,b){n.cssHooksa+b{expand:function(c){for(var d0,e{},fstringtypeof c?c.split( ):c;4>d;d++)ea+Rd+bfd||fd-2||f0;return e}},ub.test(a)||(n.cssHooksa+b.setGb)}),n.fn.extend({css:function(a,b){return J(this,function(a,b,c){var d,e,f{},g0;if(n.isArray(b)){for(dwb(a),eb.length;e>g;g++)fbgn.css(a,bg,!1,d);return f}return void 0!c?n.style(a,b,c):n.css(a,b)},a,b,arguments.length>1)},show:function(){return Jb(this,!0)},hide:function(){return Jb(this)},toggle:function(a){returnbooleantypeof a?a?this.show():this.hide():this.each(function(){S(this)?n(this).show():n(this).hide()})}});function Kb(a,b,c,d,e){return new Kb.prototype.init(a,b,c,d,e)}n.TweenKb,Kb.prototype{constructor:Kb,init:function(a,b,c,d,e,f){this.elema,this.propc,this.easinge||swing,this.optionsb,this.startthis.nowthis.cur(),this.endd,this.unitf||(n.cssNumberc?:px)},cur:function(){var aKb.propHooksthis.prop;return a&&a.get?a.get(this):Kb.propHooks._default.get(this)},run:function(a){var b,cKb.propHooksthis.prop;return this.posbthis.options.duration?n.easingthis.easing(a,this.options.duration*a,0,1,this.options.duration):a,this.now(this.end-this.start)*b+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),c&&c.set?c.set(this):Kb.propHooks._default.set(this),this}},Kb.prototype.init.prototypeKb.prototype,Kb.propHooks{_default:{get:function(a){var b;return nulla.elema.prop||a.elem.style&&null!a.elem.stylea.prop?(bn.css(a.elem,a.prop,),b&&auto!b?b:0):a.elema.prop},set:function(a){n.fx.stepa.prop?n.fx.stepa.prop(a):a.elem.style&&(null!a.elem.stylen.cssPropsa.prop||n.cssHooksa.prop)?n.style(a.elem,a.prop,a.now+a.unit):a.elema.propa.now}}},Kb.propHooks.scrollTopKb.propHooks.scrollLeft{set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elema.propa.now)}},n.easing{linear:function(a){return a},swing:function(a){return.5-Math.cos(a*Math.PI)/2}},n.fxKb.prototype.init,n.fx.step{};var Lb,Mb,Nb/^(?:toggle|show|hide)$/,Obnew RegExp(^(?:(+-)|)(+Q+)(a-z%*)$,i),Pb/queueHooks$/,QbVb,Rb{*:function(a,b){var cthis.createTween(a,b),dc.cur(),eOb.exec(b),fe&&e3||(n.cssNumbera?:px),g(n.cssNumbera||px!f&&+d)&&Ob.exec(n.css(c.elem,a)),h1,i20;if(g&&g3!f){ff||g3,ee||,g+d||1;do hh||.5,g/h,n.style(c.elem,a,g+f);while(h!(hc.cur()/d)&&1!h&&--i)}return e&&(gc.start+g||+d||0,c.unitf,c.ende1?g+(e1+1)*e2:+e2),c}};function Sb(){return setTimeout(function(){Lbvoid 0}),Lbn.now()}function Tb(a,b){var c,d0,e{height:a};for(bb?1:0;4>d;d+2-b)cRd,emargin+cepadding+ca;return b&&(e.opacitye.widtha),e}function Ub(a,b,c){for(var d,e(Rbb||).concat(Rb*),f0,ge.length;g>f;f++)if(def.call(c,b,a))return d}function Vb(a,b,c){var d,e,f,g,h,i,j,k,lthis,m{},oa.style,pa.nodeType&&S(a),qL.get(a,fxshow);c.queue||(hn._queueHooks(a,fx),nullh.unqueued&&(h.unqueued0,ih.empty.fire,h.empty.firefunction(){h.unqueued||i()}),h.unqueued++,l.always(function(){l.always(function(){h.unqueued--,n.queue(a,fx).length||h.empty.fire()})})),1a.nodeType&&(heightin b||widthin b)&&(c.overflowo.overflow,o.overflowX,o.overflowY,jn.css(a,display),knonej?L.get(a,olddisplay)||tb(a.nodeName):j,inlinek&&nonen.css(a,float)&&(o.displayinline-block)),c.overflow&&(o.overflowhidden,l.always(function(){o.overflowc.overflow0,o.overflowXc.overflow1,o.overflowYc.overflow2}));for(d in b)if(ebd,Nb.exec(e)){if(delete bd,ff||togglee,e(p?hide:show)){if(show!e||!q||void 0qd)continue;p!0}mdq&&qd||n.style(a,d)}else jvoid 0;if(n.isEmptyObject(m))inline(nonej?tb(a.nodeName):j)&&(o.displayj);else{q?hiddenin q&&(pq.hidden):qL.access(a,fxshow,{}),f&&(q.hidden!p),p?n(a).show():l.done(function(){n(a).hide()}),l.done(function(){var b;L.remove(a,fxshow);for(b in m)n.style(a,b,mb)});for(d in m)gUb(p?qd:0,d,l),d in q||(qdg.start,p&&(g.endg.start,g.startwidthd||heightd?1:0))}}function Wb(a,b){var c,d,e,f,g;for(c in a)if(dn.camelCase(c),ebd,fac,n.isArray(f)&&(ef1,facf0),c!d&&(adf,delete ac),gn.cssHooksd,g&&expandin g){fg.expand(f),delete ad;for(c in f)c in a||(acfc,bce)}else bde}function Xb(a,b,c){var d,e,f0,gQb.length,hn.Deferred().always(function(){delete i.elem}),ifunction(){if(e)return!1;for(var bLb||Sb(),cMath.max(0,j.startTime+j.duration-b),dc/j.duration||0,f1-d,g0,ij.tweens.length;i>g;g++)j.tweensg.run(f);return h.notifyWith(a,j,f,c),1>f&&i?c:(h.resolveWith(a,j),!1)},jh.promise({elem:a,props:n.extend({},b),opts:n.extend(!0,{specialEasing:{}},c),originalProperties:b,originalOptions:c,startTime:Lb||Sb(),duration:c.duration,tweens:,createTween:function(b,c){var dn.Tween(a,j.opts,b,c,j.opts.specialEasingb||j.opts.easing);return j.tweens.push(d),d},stop:function(b){var c0,db?j.tweens.length:0;if(e)return this;for(e!0;d>c;c++)j.tweensc.run(1);return b?h.resolveWith(a,j,b):h.rejectWith(a,j,b),this}}),kj.props;for(Wb(k,j.opts.specialEasing);g>f;f++)if(dQbf.call(j,a,k,j.opts))return d;return n.map(k,Ub,j),n.isFunction(j.opts.start)&&j.opts.start.call(a,j),n.fx.timer(n.extend(i,{elem:a,anim:j,queue:j.opts.queue})),j.progress(j.opts.progress).done(j.opts.done,j.opts.complete).fail(j.opts.fail).always(j.opts.always)}n.Animationn.extend(Xb,{tweener:function(a,b){n.isFunction(a)?(ba,a*):aa.split( );for(var c,d0,ea.length;e>d;d++)cad,RbcRbc||,Rbc.unshift(b)},prefilter:function(a,b){b?Qb.unshift(a):Qb.push(a)}}),n.speedfunction(a,b,c){var da&&objecttypeof a?n.extend({},a):{complete:c||!c&&b||n.isFunction(a)&&a,duration:a,easing:c&&b||b&&!n.isFunction(b)&&b};return d.durationn.fx.off?0:numbertypeof d.duration?d.duration:d.duration in n.fx.speeds?n.fx.speedsd.duration:n.fx.speeds._default,(nulld.queue||d.queue!0)&&(d.queuefx),d.oldd.complete,d.completefunction(){n.isFunction(d.old)&&d.old.call(this),d.queue&&n.dequeue(this,d.queue)},d},n.fn.extend({fadeTo:function(a,b,c,d){return this.filter(S).css(opacity,0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,d){var en.isEmptyObject(a),fn.speed(b,c,d),gfunction(){var bXb(this,n.extend({},a),f);(e||L.get(this,finish))&&b.stop(!0)};return g.finishg,e||f.queue!1?this.each(g):this.queue(f.queue,g)},stop:function(a,b,c){var dfunction(a){var ba.stop;delete a.stop,b(c)};returnstring!typeof a&&(cb,ba,avoid 0),b&&a!!1&&this.queue(a||fx,),this.each(function(){var b!0,enull!a&&a+queueHooks,fn.timers,gL.get(this);if(e)ge&&ge.stop&&d(ge);else for(e in g)ge&&ge.stop&&Pb.test(e)&&d(ge);for(ef.length;e--;)fe.elem!this||null!a&&fe.queue!a||(fe.anim.stop(c),b!1,f.splice(e,1));(b||!c)&&n.dequeue(this,a)})},finish:function(a){return a!!1&&(aa||fx),this.each(function(){var b,cL.get(this),dca+queue,eca+queueHooks,fn.timers,gd?d.length:0;for(c.finish!0,n.queue(this,a,),e&&e.stop&&e.stop.call(this,!0),bf.length;b--;)fb.elemthis&&fb.queuea&&(fb.anim.stop(!0),f.splice(b,1));for(b0;g>b;b++)db&&db.finish&&db.finish.call(this);delete c.finish})}}),n.each(toggle,show,hide,function(a,b){var cn.fnb;n.fnbfunction(a,d,e){return nulla||booleantypeof a?c.apply(this,arguments):this.animate(Tb(b,!0),a,d,e)}}),n.each({slideDown:Tb(show),slideUp:Tb(hide),slideToggle:Tb(toggle),fadeIn:{opacity:show},fadeOut:{opacity:hide},fadeToggle:{opacity:toggle}},function(a,b){n.fnafunction(a,c,d){return this.animate(b,a,c,d)}}),n.timers,n.fx.tickfunction(){var a,b0,cn.timers;for(Lbn.now();bc.length;b++)acb,a()||cb!a||c.splice(b--,1);c.length||n.fx.stop(),Lbvoid 0},n.fx.timerfunction(a){n.timers.push(a),a()?n.fx.start():n.timers.pop()},n.fx.interval13,n.fx.startfunction(){Mb||(MbsetInterval(n.fx.tick,n.fx.interval))},n.fx.stopfunction(){clearInterval(Mb),Mbnull},n.fx.speeds{slow:600,fast:200,_default:400},n.fn.delayfunction(a,b){return an.fx?n.fx.speedsa||a:a,bb||fx,this.queue(b,function(b,c){var dsetTimeout(b,a);c.stopfunction(){clearTimeout(d)}})},function(){var al.createElement(input),bl.createElement(select),cb.appendChild(l.createElement(option));a.typecheckbox,k.checkOn!a.value,k.optSelectedc.selected,b.disabled!0,k.optDisabled!c.disabled,al.createElement(input),a.valuet,a.typeradio,k.radioValueta.value}();var Yb,Zb,$bn.expr.attrHandle;n.fn.extend({attr:function(a,b){return J(this,n.attr,a,b,arguments.length>1)},removeAttr:function(a){return this.each(function(){n.removeAttr(this,a)})}}),n.extend({attr:function(a,b,c){var d,e,fa.nodeType;if(a&&3!f&&8!f&&2!f)return typeof a.getAttributeU?n.prop(a,b,c):(1f&&n.isXMLDoc(a)||(bb.toLowerCase(),dn.attrHooksb||(n.expr.match.bool.test(b)?Zb:Yb)),void 0c?d&&getin d&&null!(ed.get(a,b))?e:(en.find.attr(a,b),nulle?void 0:e):null!c?d&&setin d&&void 0!(ed.set(a,c,b))?e:(a.setAttribute(b,c+),c):void n.removeAttr(a,b))},removeAttr:function(a,b){var c,d,e0,fb&&b.match(E);if(f&&1a.nodeType)while(cfe++)dn.propFixc||c,n.expr.match.bool.test(c)&&(ad!1),a.removeAttribute(c)},attrHooks:{type:{set:function(a,b){if(!k.radioValue&&radiob&&n.nodeName(a,input)){var ca.value;return a.setAttribute(type,b),c&&(a.valuec),b}}}}}),Zb{set:function(a,b,c){return b!1?n.removeAttr(a,c):a.setAttribute(c,c),c}},n.each(n.expr.match.bool.source.match(/\w+/g),function(a,b){var c$bb||n.find.attr;$bbfunction(a,b,d){var e,f;return d||(f$bb,$bbe,enull!c(a,b,d)?b.toLowerCase():null,$bbf),e}});var _b/^(?:input|select|textarea|button)$/i;n.fn.extend({prop:function(a,b){return J(this,n.prop,a,b,arguments.length>1)},removeProp:function(a){return this.each(function(){delete thisn.propFixa||a})}}),n.extend({propFix:{for:htmlFor,class:className},prop:function(a,b,c){var d,e,f,ga.nodeType;if(a&&3!g&&8!g&&2!g)return f1!g||!n.isXMLDoc(a),f&&(bn.propFixb||b,en.propHooksb),void 0!c?e&&setin e&&void 0!(de.set(a,c,b))?d:abc:e&&getin e&&null!(de.get(a,b))?d:ab},propHooks:{tabIndex:{get:function(a){return a.hasAttribute(tabindex)||_b.test(a.nodeName)||a.href?a.tabIndex:-1}}}}),k.optSelected||(n.propHooks.selected{get:function(a){var ba.parentNode;return b&&b.parentNode&&b.parentNode.selectedIndex,null}}),n.each(tabIndex,readOnly,maxLength,cellSpacing,cellPadding,rowSpan,colSpan,useMap,frameBorder,contentEditable,function(){n.propFixthis.toLowerCase()this});var ac/\t\r\n\f/g;n.fn.extend({addClass:function(a){var b,c,d,e,f,g,hstringtypeof a&&a,i0,jthis.length;if(n.isFunction(a))return this.each(function(b){n(this).addClass(a.call(this,b,this.className))});if(h)for(b(a||).match(E)||;j>i;i++)if(cthisi,d1c.nodeType&&(c.className?( +c.className+ ).replace(ac, ): )){f0;while(ebf++)d.indexOf( +e+ )0&&(d+e+ );gn.trim(d),c.className!g&&(c.classNameg)}return this},removeClass:function(a){var b,c,d,e,f,g,h0arguments.length||stringtypeof a&&a,i0,jthis.length;if(n.isFunction(a))return this.each(function(b){n(this).removeClass(a.call(this,b,this.className))});if(h)for(b(a||).match(E)||;j>i;i++)if(cthisi,d1c.nodeType&&(c.className?( +c.className+ ).replace(ac, ):)){f0;while(ebf++)while(d.indexOf( +e+ )>0)dd.replace( +e+ , );ga?n.trim(d):,c.className!g&&(c.classNameg)}return this},toggleClass:function(a,b){var ctypeof a;returnbooleantypeof b&&stringc?b?this.addClass(a):this.removeClass(a):this.each(n.isFunction(a)?function(c){n(this).toggleClass(a.call(this,c,this.className,b),b)}:function(){if(stringc){var b,d0,en(this),fa.match(E)||;while(bfd++)e.hasClass(b)?e.removeClass(b):e.addClass(b)}else(cU||booleanc)&&(this.className&&L.set(this,__className__,this.className),this.classNamethis.className||a!1?:L.get(this,__className__)||)})},hasClass:function(a){for(var b +a+ ,c0,dthis.length;d>c;c++)if(1thisc.nodeType&&( +thisc.className+ ).replace(ac, ).indexOf(b)>0)return!0;return!1}});var bc/\r/g;n.fn.extend({val:function(a){var b,c,d,ethis0;{if(arguments.length)return dn.isFunction(a),this.each(function(c){var e;1this.nodeType&&(ed?a.call(this,c,n(this).val()):a,nulle?e:numbertypeof e?e+:n.isArray(e)&&(en.map(e,function(a){return nulla?:a+})),bn.valHooksthis.type||n.valHooksthis.nodeName.toLowerCase(),b&&setin b&&void 0!b.set(this,e,value)||(this.valuee))});if(e)return bn.valHookse.type||n.valHookse.nodeName.toLowerCase(),b&&getin b&&void 0!(cb.get(e,value))?c:(ce.value,stringtypeof c?c.replace(bc,):nullc?:c)}}}),n.extend({valHooks:{option:{get:function(a){var bn.find.attr(a,value);return null!b?b:n.trim(n.text(a))}},select:{get:function(a){for(var b,c,da.options,ea.selectedIndex,fselect-onea.type||0>e,gf?null:,hf?e+1:d.length,i0>e?h:f?e:0;h>i;i++)if(cdi,!(!c.selected&&i!e||(k.optDisabled?c.disabled:null!c.getAttribute(disabled))||c.parentNode.disabled&&n.nodeName(c.parentNode,optgroup))){if(bn(c).val(),f)return b;g.push(b)}return g},set:function(a,b){var c,d,ea.options,fn.makeArray(b),ge.length;while(g--)deg,(d.selectedn.inArray(d.value,f)>0)&&(c!0);return c||(a.selectedIndex-1),f}}}}),n.each(radio,checkbox,function(){n.valHooksthis{set:function(a,b){return n.isArray(b)?a.checkedn.inArray(n(a).val(),b)>0:void 0}},k.checkOn||(n.valHooksthis.getfunction(a){return nulla.getAttribute(value)?on:a.value})}),n.each(blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu.split( ),function(a,b){n.fnbfunction(a,c){return arguments.length>0?this.on(b,null,a,c):this.trigger(b)}}),n.fn.extend({hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)},bind:function(a,b,c){return this.on(a,null,b,c)},unbind:function(a,b){return this.off(a,null,b)},delegate:function(a,b,c,d){return this.on(b,a,c,d)},undelegate:function(a,b,c){return 1arguments.length?this.off(a,**):this.off(b,a||**,c)}});var ccn.now(),dc/\?/;n.parseJSONfunction(a){return JSON.parse(a+)},n.parseXMLfunction(a){var b,c;if(!a||string!typeof a)return null;try{cnew DOMParser,bc.parseFromString(a,text/xml)}catch(d){bvoid 0}return(!b||b.getElementsByTagName(parsererror).length)&&n.error(Invalid XML: +a),b};var ec/#.*$/,fc/(?&)_^&*/,gc/^(.*?): \t*(^\r\n*)$/gm,hc/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,ic/^(?:GET|HEAD)$/,jc/^\/\//,kc/^(\w.+-+:)(?:\/\/(?:^\/?#*@|)(^\/?#:*)(?::(\d+)|)|)/,lc{},mc{},nc*/.concat(*),oca.location.href,pckc.exec(oc.toLowerCase())||;function qc(a){return function(b,c){string!typeof b&&(cb,b*);var d,e0,fb.toLowerCase().match(E)||;if(n.isFunction(c))while(dfe++)+d0?(dd.slice(1)||*,(adad||).unshift(c)):(adad||).push(c)}}function rc(a,b,c,d){var e{},famc;function g(h){var i;return eh!0,n.each(ah||,function(a,h){var jh(b,c,d);returnstring!typeof j||f||ej?f?!(ij):void 0:(b.dataTypes.unshift(j),g(j),!1)}),i}return g(b.dataTypes0)||!e*&&g(*)}function sc(a,b){var c,d,en.ajaxSettings.flatOptions||{};for(c in b)void 0!bc&&((ec?a:d||(d{}))cbc);return d&&n.extend(!0,a,d),a}function tc(a,b,c){var d,e,f,g,ha.contents,ia.dataTypes;while(*i0)i.shift(),void 0d&&(da.mimeType||b.getResponseHeader(Content-Type));if(d)for(e in h)if(he&&he.test(d)){i.unshift(e);break}if(i0in c)fi0;else{for(e in c){if(!i0||a.converterse+ +i0){fe;break}g||(ge)}ff||g}return f?(f!i0&&i.unshift(f),cf):void 0}function uc(a,b,c,d){var e,f,g,h,i,j{},ka.dataTypes.slice();if(k1)for(g in a.converters)jg.toLowerCase()a.convertersg;fk.shift();while(f)if(a.responseFieldsf&&(ca.responseFieldsfb),!i&&d&&a.dataFilter&&(ba.dataFilter(b,a.dataType)),if,fk.shift())if(*f)fi;else if(*!i&&i!f){if(gji+ +f||j* +f,!g)for(e in j)if(he.split( ),h1f&&(gji+ +h0||j* +h0)){g!0?gje:je!!0&&(fh0,k.unshift(h1));break}if(g!!0)if(g&&athrows)bg(b);else try{bg(b)}catch(l){return{state:parsererror,error:g?l:No conversion from +i+ to +f}}}return{state:success,data:b}}n.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:oc,type:GET,isLocal:hc.test(pc1),global:!0,processData:!0,async:!0,contentType:application/x-www-form-urlencoded; charsetUTF-8,accepts:{*:nc,text:text/plain,html:text/html,xml:application/xml, text/xml,json:application/json, text/javascript},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:responseXML,text:responseText,json:responseJSON},converters:{* text:String,text html:!0,text json:n.parseJSON,text xml:n.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,b){return b?sc(sc(a,n.ajaxSettings),b):sc(n.ajaxSettings,a)},ajaxPrefilter:qc(lc),ajaxTransport:qc(mc),ajax:function(a,b){objecttypeof a&&(ba,avoid 0),bb||{};var c,d,e,f,g,h,i,j,kn.ajaxSetup({},b),lk.context||k,mk.context&&(l.nodeType||l.jquery)?n(l):n.event,on.Deferred(),pn.Callbacks(once memory),qk.statusCode||{},r{},s{},t0,ucanceled,v{readyState:0,getResponseHeader:function(a){var b;if(2t){if(!f){f{};while(bgc.exec(e))fb1.toLowerCase()b2}bfa.toLowerCase()}return nullb?null:b},getAllResponseHeaders:function(){return 2t?e:null},setRequestHeader:function(a,b){var ca.toLowerCase();return t||(ascsc||a,rab),this},overrideMimeType:function(a){return t||(k.mimeTypea),this},statusCode:function(a){var b;if(a)if(2>t)for(b in a)qbqb,ab;else v.always(av.status);return this},abort:function(a){var ba||u;return c&&c.abort(b),x(0,b),this}};if(o.promise(v).completep.add,v.successv.done,v.errorv.fail,k.url((a||k.url||oc)+).replace(ec,).replace(jc,pc1+//),k.typeb.method||b.type||k.method||k.type,k.dataTypesn.trim(k.dataType||*).toLowerCase().match(E)||,nullk.crossDomain&&(hkc.exec(k.url.toLowerCase()),k.crossDomain!(!h||h1pc1&&h2pc2&&(h3||(http:h1?80:443))(pc3||(http:pc1?80:443)))),k.data&&k.processData&&string!typeof k.data&&(k.datan.param(k.data,k.traditional)),rc(lc,k,b,v),2t)return v;in.event&&k.global,i&&0n.active++&&n.event.trigger(ajaxStart),k.typek.type.toUpperCase(),k.hasContent!ic.test(k.type),dk.url,k.hasContent||(k.data&&(dk.url+(dc.test(d)?&:?)+k.data,delete k.data),k.cache!1&&(k.urlfc.test(d)?d.replace(fc,$1_+cc++):d+(dc.test(d)?&:?)+_+cc++)),k.ifModified&&(n.lastModifiedd&&v.setRequestHeader(If-Modified-Since,n.lastModifiedd),n.etagd&&v.setRequestHeader(If-None-Match,n.etagd)),(k.data&&k.hasContent&&k.contentType!!1||b.contentType)&&v.setRequestHeader(Content-Type,k.contentType),v.setRequestHeader(Accept,k.dataTypes0&&k.acceptsk.dataTypes0?k.acceptsk.dataTypes0+(*!k.dataTypes0?, +nc+; q0.01:):k.accepts*);for(j in k.headers)v.setRequestHeader(j,k.headersj);if(k.beforeSend&&(k.beforeSend.call(l,v,k)!1||2t))return v.abort();uabort;for(j in{success:1,error:1,complete:1})vj(kj);if(crc(mc,k,b,v)){v.readyState1,i&&m.trigger(ajaxSend,v,k),k.async&&k.timeout>0&&(gsetTimeout(function(){v.abort(timeout)},k.timeout));try{t1,c.send(r,x)}catch(w){if(!(2>t))throw w;x(-1,w)}}else x(-1,No Transport);function x(a,b,f,h){var j,r,s,u,w,xb;2!t&&(t2,g&&clearTimeout(g),cvoid 0,eh||,v.readyStatea>0?4:0,ja>200&&300>a||304a,f&&(utc(k,v,f)),uuc(k,u,v,j),j?(k.ifModified&&(wv.getResponseHeader(Last-Modified),w&&(n.lastModifieddw),wv.getResponseHeader(etag),w&&(n.etagdw)),204a||HEADk.type?xnocontent:304a?xnotmodified:(xu.state,ru.data,su.error,j!s)):(sx,(a||!x)&&(xerror,0>a&&(a0))),v.statusa,v.statusText(b||x)+,j?o.resolveWith(l,r,x,v):o.rejectWith(l,v,x,s),v.statusCode(q),qvoid 0,i&&m.trigger(j?ajaxSuccess:ajaxError,v,k,j?r:s),p.fireWith(l,v,x),i&&(m.trigger(ajaxComplete,v,k),--n.active||n.event.trigger(ajaxStop)))}return v},getJSON:function(a,b,c){return n.get(a,b,c,json)},getScript:function(a,b){return n.get(a,void 0,b,script)}}),n.each(get,post,function(a,b){nbfunction(a,c,d,e){return n.isFunction(c)&&(ee||d,dc,cvoid 0),n.ajax({url:a,type:b,dataType:e,data:c,success:d})}}),n._evalUrlfunction(a){return n.ajax({url:a,type:GET,dataType:script,async:!1,global:!1,throws:!0})},n.fn.extend({wrapAll:function(a){var b;return n.isFunction(a)?this.each(function(b){n(this).wrapAll(a.call(this,b))}):(this0&&(bn(a,this0.ownerDocument).eq(0).clone(!0),this0.parentNode&&b.insertBefore(this0),b.map(function(){var athis;while(a.firstElementChild)aa.firstElementChild;return a}).append(this)),this)},wrapInner:function(a){return this.each(n.isFunction(a)?function(b){n(this).wrapInner(a.call(this,b))}:function(){var bn(this),cb.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var bn.isFunction(a);return this.each(function(c){n(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){n.nodeName(this,body)||n(this).replaceWith(this.childNodes)}).end()}}),n.expr.filters.hiddenfunction(a){return a.offsetWidth0&&a.offsetHeight0},n.expr.filters.visiblefunction(a){return!n.expr.filters.hidden(a)};var vc/%20/g,wc/\\$/,xc/\r?\n/g,yc/^(?:submit|button|image|reset|file)$/i,zc/^(?:input|select|textarea|keygen)/i;function Ac(a,b,c,d){var e;if(n.isArray(b))n.each(b,function(b,e){c||wc.test(a)?d(a,e):Ac(a++(objecttypeof e?b:)+,e,c,d)});else if(c||object!n.type(b))d(a,b);else for(e in b)Ac(a++e+,be,c,d)}n.paramfunction(a,b){var c,d,efunction(a,b){bn.isFunction(b)?b():nullb?:b,dd.lengthencodeURIComponent(a)++encodeURIComponent(b)};if(void 0b&&(bn.ajaxSettings&&n.ajaxSettings.traditional),n.isArray(a)||a.jquery&&!n.isPlainObject(a))n.each(a,function(){e(this.name,this.value)});else for(c in a)Ac(c,ac,b,e);return d.join(&).replace(vc,+)},n.fn.extend({serialize:function(){return n.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var an.prop(this,elements);return a?n.makeArray(a):this}).filter(function(){var athis.type;return this.name&&!n(this).is(:disabled)&&zc.test(this.nodeName)&&!yc.test(a)&&(this.checked||!T.test(a))}).map(function(a,b){var cn(this).val();return nullc?null:n.isArray(c)?n.map(c,function(a){return{name:b.name,value:a.replace(xc,\r\n)}}):{name:b.name,value:c.replace(xc,\r\n)}}).get()}}),n.ajaxSettings.xhrfunction(){try{return new XMLHttpRequest}catch(a){}};var Bc0,Cc{},Dc{0:200,1223:204},Ecn.ajaxSettings.xhr();a.attachEvent&&a.attachEvent(onunload,function(){for(var a in Cc)Cca()}),k.cors!!Ec&&withCredentialsin Ec,k.ajaxEc!!Ec,n.ajaxTransport(function(a){var b;return k.cors||Ec&&!a.crossDomain?{send:function(c,d){var e,fa.xhr(),g++Bc;if(f.open(a.type,a.url,a.async,a.username,a.password),a.xhrFields)for(e in a.xhrFields)fea.xhrFieldse;a.mimeType&&f.overrideMimeType&&f.overrideMimeType(a.mimeType),a.crossDomain||cX-Requested-With||(cX-Requested-WithXMLHttpRequest);for(e in c)f.setRequestHeader(e,ce);bfunction(a){return function(){b&&(delete Ccg,bf.onloadf.onerrornull,aborta?f.abort():errora?d(f.status,f.statusText):d(Dcf.status||f.status,f.statusText,stringtypeof f.responseText?{text:f.responseText}:void 0,f.getAllResponseHeaders()))}},f.onloadb(),f.onerrorb(error),bCcgb(abort);try{f.send(a.hasContent&&a.data||null)}catch(h){if(b)throw h}},abort:function(){b&&b()}}:void 0}),n.ajaxSetup({accepts:{script:text/javascript, application/javascript, application/ecmascript, application/x-ecmascript},contents:{script:/(?:java|ecma)script/},converters:{text script:function(a){return n.globalEval(a),a}}}),n.ajaxPrefilter(script,function(a){void 0a.cache&&(a.cache!1),a.crossDomain&&(a.typeGET)}),n.ajaxTransport(script,function(a){if(a.crossDomain){var b,c;return{send:function(d,e){bn(script>).prop({async:!0,charset:a.scriptCharset,src:a.url}).on(load error,cfunction(a){b.remove(),cnull,a&&e(errora.type?404:200,a.type)}),l.head.appendChild(b0)},abort:function(){c&&c()}}}});var Fc,Gc/()\?(?&|$)|\?\?/;n.ajaxSetup({jsonp:callback,jsonpCallback:function(){var aFc.pop()||n.expando+_+cc++;return thisa!0,a}}),n.ajaxPrefilter(json jsonp,function(b,c,d){var e,f,g,hb.jsonp!!1&&(Gc.test(b.url)?url:stringtypeof b.data&&!(b.contentType||).indexOf(application/x-www-form-urlencoded)&&Gc.test(b.data)&&data);return h||jsonpb.dataTypes0?(eb.jsonpCallbackn.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,h?bhbh.replace(Gc,$1+e):b.jsonp!!1&&(b.url+(dc.test(b.url)?&:?)+b.jsonp++e),b.convertersscript jsonfunction(){return g||n.error(e+ was not called),g0},b.dataTypes0json,fae,aefunction(){garguments},d.always(function(){aef,be&&(b.jsonpCallbackc.jsonpCallback,Fc.push(e)),g&&n.isFunction(f)&&f(g0),gfvoid 0}),script):void 0}),n.parseHTMLfunction(a,b,c){if(!a||string!typeof a)return null;booleantypeof b&&(cb,b!1),bb||l;var dv.exec(a),e!c&&;return d?b.createElement(d1):(dn.buildFragment(a,b,e),e&&e.length&&n(e).remove(),n.merge(,d.childNodes))};var Hcn.fn.load;n.fn.loadfunction(a,b,c){if(string!typeof a&&Hc)return Hc.apply(this,arguments);var d,e,f,gthis,ha.indexOf( );return h>0&&(dn.trim(a.slice(h)),aa.slice(0,h)),n.isFunction(b)?(cb,bvoid 0):b&&objecttypeof b&&(ePOST),g.length>0&&n.ajax({url:a,type:e,dataType:html,data:b}).done(function(a){farguments,g.html(d?n(div>).append(n.parseHTML(a)).find(d):a)}).complete(c&&function(a,b){g.each(c,f||a.responseText,b,a)}),this},n.each(ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend,function(a,b){n.fnbfunction(a){return this.on(b,a)}}),n.expr.filters.animatedfunction(a){return n.grep(n.timers,function(b){return ab.elem}).length};var Ica.document.documentElement;function Jc(a){return n.isWindow(a)?a:9a.nodeType&&a.defaultView}n.offset{setOffset:function(a,b,c){var d,e,f,g,h,i,j,kn.css(a,position),ln(a),m{};statick&&(a.style.positionrelative),hl.offset(),fn.css(a,top),in.css(a,left),j(absolutek||fixedk)&&(f+i).indexOf(auto)>-1,j?(dl.position(),gd.top,ed.left):(gparseFloat(f)||0,eparseFloat(i)||0),n.isFunction(b)&&(bb.call(a,c,h)),null!b.top&&(m.topb.top-h.top+g),null!b.left&&(m.leftb.left-h.left+e),usingin b?b.using.call(a,m):l.css(m)}},n.fn.extend({offset:function(a){if(arguments.length)return void 0a?this:this.each(function(b){n.offset.setOffset(this,a,b)});var b,c,dthis0,e{top:0,left:0},fd&&d.ownerDocument;if(f)return bf.documentElement,n.contains(b,d)?(typeof d.getBoundingClientRect!U&&(ed.getBoundingClientRect()),cJc(f),{top:e.top+c.pageYOffset-b.clientTop,left:e.left+c.pageXOffset-b.clientLeft}):e},position:function(){if(this0){var a,b,cthis0,d{top:0,left:0};returnfixedn.css(c,position)?bc.getBoundingClientRect():(athis.offsetParent(),bthis.offset(),n.nodeName(a0,html)||(da.offset()),d.top+n.css(a0,borderTopWidth,!0),d.left+n.css(a0,borderLeftWidth,!0)),{top:b.top-d.top-n.css(c,marginTop,!0),left:b.left-d.left-n.css(c,marginLeft,!0)}}},offsetParent:function(){return this.map(function(){var athis.offsetParent||Ic;while(a&&!n.nodeName(a,html)&&staticn.css(a,position))aa.offsetParent;return a||Ic})}}),n.each({scrollLeft:pageXOffset,scrollTop:pageYOffset},function(b,c){var dpageYOffsetc;n.fnbfunction(e){return J(this,function(b,e,f){var gJc(b);return void 0f?g?gc:be:void(g?g.scrollTo(d?a.pageXOffset:f,d?f:a.pageYOffset):bef)},b,e,arguments.length,null)}}),n.each(top,left,function(a,b){n.cssHooksbyb(k.pixelPosition,function(a,c){return c?(cxb(a,b),vb.test(c)?n(a).position()b+px:c):void 0})}),n.each({Height:height,Width:width},function(a,b){n.each({padding:inner+a,content:b,:outer+a},function(c,d){n.fndfunction(d,e){var farguments.length&&(c||boolean!typeof d),gc||(d!0||e!0?margin:border);return J(this,function(b,c,d){var e;return n.isWindow(b)?b.document.documentElementclient+a:9b.nodeType?(eb.documentElement,Math.max(b.bodyscroll+a,escroll+a,b.bodyoffset+a,eoffset+a,eclient+a)):void 0d?n.css(b,c,g):n.style(b,c,d,g)},b,f?d:void 0,f,null)}})}),n.fn.sizefunction(){return this.length},n.fn.andSelfn.fn.addBack,functiontypeof define&&define.amd&&define(jquery,,function(){return n});var Kca.jQuery,Lca.$;return n.noConflictfunction(b){return a.$n&&(a.$Lc),b&&a.jQueryn&&(a.jQueryKc),n},typeof bU&&(a.jQuerya.$n),n}); /script> script async languagejavascript> // JavaScript Document //Utilidades.js /*FORMULARIO DE ACCESO**********************************/ function validaFormAcc(){//valida formulario de acceso //$(#contenido .span_mensaje_error).css(visibility,hidden);//ocultamos los errores //alert(llega); var usu $.trim($(#login).val()); var psw $.trim($(#password).val()); if ((usu ) || (psw)) { alert(Indicar nombre de usuario y contraseña); return false; } //if(usu ){ /*$(#usuError).css(visibility,visible); $(#usu).removeClass(borde_normal_input); $(#login).addClass(borde_rojo); $(#login).focus(); $(#usuMensaError).css(display, inline); $(#usuMensaError).html(El e-mail es obligatorio); setTimeout(function(){$(#usuMensaError).css(display, none)},3000); return false ;*/ //alert(Debes añadir un nombre de usuario); //} /*else if(usu ! ){ //validamos el email si existen carcteres (null) con expresión regular var validaEmail /^(a-z|0-9|_,-)+(\.?(a-z|0-9|_,-)+)?@(a-z|0-9){2,}(\.a-z{2,3})(\.a-z{2})?$/; if(!validaEmail.test(usu)){ $(#usuError).css(visibility,visible); //$(#usu).removeClass(borde_normal_input); $(#usu).addClass(borde_rojo); $(#usu).focus(); $(#usuMensaError).css(display, inline); $(#usuMensaError).html(El e-mail no es válido); setTimeout(function(){$(#usuMensaError).css(display, none)},3000); return false ; } } */ //$(#usuError).css(visibility,hidden); $(#login).removeClass(borde_rojo); //if(psw ){ /*//$(#cla).css(visibility,visible); $(#password).addClass(borde_rojo); $(#password).focus(); $(#claveMensaError).css(display, inline); $(#claveMensaError).html(La contraseña es obligatoria); setTimeout(function(){$(#claveMensaError).css(display, none)},3000); return false ;*/ //alert(Debes añadir una contraseña); //} //$(#cla).css(visibility,hidden); $(#password).removeClass(borde_rojo); //document.acceso.submit(); //$(#msg).html(Debe escribir el login de acceso); //var params login+usu+&psw+psw; var params $(#formAcceso).serialize(); // En URL hay que poner la ruta correcta $.ajax({ async: false, type: POST, url: http://www.lekommerce.com/plantillas/lekommerce_p02/lib/iniciarsesion.php, data: params, success: function(html){ //mostraremos el echo que da en la url en el mensaje de salida //y lo ocultaremos a los 3 segundos $(#mensaSalida).html(html); setTimeout(function(){$(#mensaSalida).fadeOut(), $(#contenMensa).fadeOut();},3000); } }); $(#formAcceso).submit(); } /*FORMULARIO DE OLVIDA CONTRASEÑA**********************************/ function validaRecuperarContra(){//valida formulario olvida contraseña var emailUsu $.trim($(#mail).val()); if(emailUsu ){ $(#mail).addClass(borde_rojo).focus(); $(#mensaErrorClave).css(visibility,visible).html(El e-mail es obligatorio); setTimeout(function(){$(#mensaErrorClave).css(visibility,hidden),$(#mail).removeClass(borde_rojo);},3000); return false ; } else if(emailUsu ! ){ //validamos el email si existen carcteres (null) con expresión regular var validaEmail /^(a-z|0-9|_,-)+(\.?(a-z|0-9|_,-)+)?@(a-z|0-9){2,}(\.a-z{2,3})(\.a-z{2})?$/; if(!validaEmail.test(emailUsu)){ $(#mail).addClass(borde_rojo).focus(); $(#mensaErrorClave).css(visibility,visible).html(El e-mail no es válido); setTimeout(function(){$(#mensaErrorClave).css(visibility,hidden),$(#mail).removeClass(borde_rojo);},3000); return false ; } } var variablesOlvidaContra emailOlvidaUsu+emailUsu+&estadoenviaMensaje; //funcionesUsu(variablesAlta); $.ajax({ async: false, type: POST, url: utilidades/olvida_contra.php, data: variablesOlvidaContra, success: function(html){ //mostraremos el echo que da en la url en el mensaje de salida //y lo ocultaremos a los 3 segundos $(#mensaSalida).html(html); setTimeout(function(){$(#mensaSalida).fadeOut(), $(#contenMensa).fadeOut();},3000); } }); //$(#formRecupera).submit(); } /*BORRAR UN FORMULARIO CON DIÁLOGO UI DE CONFIRMACIÓN*********************************/ function borraForm(){ $(#dialog .oculto).css(display,none);//ocultamos los mensajes de diálogos y título $(#dialog).attr(title,); $(#confirma).css(display,block);//activa la visibilidad del mensaje $(#dialog).attr(title,Confirmar);//título del diálogo // Dialog $(#dialog).dialog({//mostramos un diálogo de confirmación antes de borrar autoOpen: true, width: 350, buttons: { Ok: function() { //$(#formAcc)0.reset();//borramos el formulario con diferentes tipos de input //$(inputtypetext,inputtypepassword,inputtypefile).attr(value,); //if($(select option:selected).val() ! 0){//borramos los select $(select optionvalue0).attr(selected,true);//select provincias y municipios //} $(select optionvalueIndividual).attr(selected,true);//select de tipo de habitaciones $(#numHabiAltaCama optionvalue1).attr(selected,true);//select de número de habitaciones form DG $(span.span_mensaje_error).css(visibility,hidden);//ocultamos los errores $(span.mensaje_error).css(display,none); $(input,textarea).removeClass(borde_rojo);//quitamos los bordes rojos $(input:text,input:password,input:file,textarea).attr(value,); if($(input).attr(checked,checked)){ $(input).removeAttr(checked); } // recorremos todos los campos que tiene el formulario /*$(:input, form).each(function() { var type this.type; var tag this.tagName.toLowerCase(); //limpiamos los valores de los campos… if (type text || type password || type file || tag textarea ) this.value ; });*/ /*$(#+form).each (function(){ this.reset(); });*/ //cerramos el diálogo $(this).dialog(close); }, Cancelar: function() { $(this).dialog(close); //$(#confirma).css(display,none);//desactiva la visibilidad del mensaje } } }); } /*FORMS USUARIO**********************************************/ function validaFormUsuario(){ var nom $.trim($(#nombreAltaUsu).val()); var ape $.trim($(#apellidoAltaUsu).val()); var email $.trim($(#emailAltaUsu).val()); /*var telefono $.trim($(#telefonoAltaUsu).val()); var tipo $(input@nametipoAltaUsu:checked).val(); var turno $.trim($(#turnoAltaUsu option:selected).val());*/ var clave1 $.trim($(#clave1AltaUsu).val()); var clave2 $.trim($(#clave2AltaUsu).val()); var imagen $(inputtypefile).val(); var informa $(#checkAltaUsu).val(); var estado $.trim($(#hacer).val());//estado para decir qué hacer en funciones_usu.php //alert(imagen); //comprobamos el nombre, no null if(nom ){ $(#nombreUsuAltaError).css(visibility,visible); $(#nombreAltaUsu).addClass(borde_rojo); $(#nombreAltaUsu).focus(); $(#nombreMensaError).css(display, inline); $(#nombreMensaError).html(El nombre es obligatorio); setTimeout(function(){$(#nombreMensaError).css(display, none)},3000); return false ; } $(#nombreUsuAltaError).css(visibility,hidden); $(#nombreAltaUsu).removeClass(borde_rojo); //comprobamos los apellidos(no null) /*if(ape ){ $(#apellidoUsuAltaError).css(visibility,visible); $(#apellidoAltaUsu).focus(); $(p.mensaje_error).html(El apellido es obligatorio); setTimeout(function(){$(p.mensaje_error).html( )},5000); return false ; } $(#apellidoUsuAltaError).css(visibility,hidden); */ if(email ){ $(#emailUsuAltaError).css(visibility,visible); $(#emailAltaUsu).addClass(borde_rojo); $(#emailAltaUsu).focus(); $(#emailMensaError).css(display, inline); $(#emailMensaError).html(El e-mail es obligatorio); setTimeout(function(){$(#emailMensaError).css(display, none)},3000); return false ; } if(email ! ){ //validamos el email si existen carcteres (null) con expresión regular var validaEmail /^(a-z|0-9)+(\.?(a-z|0-9)+)?@(a-z|0-9){2,}(\.a-z{2,3})(\.a-z{2})?$/; if(!validaEmail.test(email)){ $(#emailUsuAltaError).css(visibility,visible); $(#emailAltaUsu).addClass(borde_rojo); $(#emailAltaUsu).focus(); $(#emailMensaError).css(display, inline); $(#emailMensaError).html(El e-mail no es válido); setTimeout(function(){$(#emailMensaError).css(display, none)},3000); return false ; } } $(#emailUsuAltaError).css(visibility,hidden); $(#emailAltaUsu).removeClass(borde_rojo); //comprobamos el teléfono si añade caracteres (null) /*if(telefono ! && telefono.length 9 || isNaN(telefono)){ $(#telefonoUsuAltaError).css(visibility,visible); $(#telefonoAltaUsu).focus(); $(p.mensaje_error).html(El teléfono no es correcto); setTimeout(function(){$(p.mensaje_error).html( )},5000); return false ; } $(#telefonoUsuAltaError).css(visibility,hidden); */ //comprobamos las claves if(clave1 ){ $(#clave1UsuAltaError).css(visibility,visible); $(#clave1AltaUsu).addClass(borde_rojo); $(#clave1AltaUsu).focus(); $(#clave1MensaError).css(display, inline); $(#clave1MensaError).html(La contraseña es obligatoria); setTimeout(function(){$(#clave1MensaError).css(display, none)},3000); return false ; } $(#clave1UsuAltaError).css(visibility,hidden); $(#clave1AltaUsu).removeClass(borde_rojo); if(clave2 ){ $(#clave2UsuAltaError).css(visibility,visible); $(#clave2AltaUsu).addClass(borde_rojo); $(#clave2AltaUsu).focus(); $(#clave2MensaError).css(display, inline); $(#clave2MensaError).html(Repita contraseña, por favor); setTimeout(function(){$(#clave2MensaError).css(display, none)},3000); return false ; } $(#clave2UsuAltaError).css(visibility,hidden); $(#clave2AltaUsu).removeClass(borde_rojo); if(!compruebaContra(clave1,clave2)){ $(#clave1UsuAltaError).css(visibility,visible); $(#clave2UsuAltaError).css(visibility,visible); $(#clave1AltaUsu).addClass(borde_rojo); $(#clave2AltaUsu).addClass(borde_rojo); $(#clave1AltaUsu).focus(); $(#clave1MensaError).css(display, inline); $(#clave1MensaError).html(Las contraseñas no coinciden); setTimeout(function(){$(#clave1MensaError).css(display, none)},3000); return false ; } $(#clave1UsuAltaError).css(visibility,hidden); $(#clave2UsuAltaError).css(visibility,hidden); $(#clave1AltaUsu).removeClass(borde_rojo); $(#clave2AltaUsu).removeClass(borde_rojo); if(imagen ! ){ //comprobamos la extensión del archivo var ext imagen.split(.).pop().toLowerCase(); if($.inArray(ext, gif,png,jpg,jpeg) -1) { $(#imaUsuAltaError).css(visibility,visible); $(#imaUsu).addClass(borde_rojo); $(#imaUsu).focus(); $(#imaMensaError).css(display, inline); $(#imaMensaError).html(Formato de imagen incorrecto); setTimeout(function(){$(#imaMensaError).css(display, none)},3000); return false; } else {//mandamos el formulario para subir la imagen al servidor. Lo mandará a un iframe simulando jquery //document.formUsu.submit(); //alert($(#formUsu).serialize()); $(#formUsu).submit(); } } else{ //alert($(#formUsu).serialize()+informa); var variablesAlta nombreAltaUsu+nom+&apellidoAltaUsu+ape+&emailAltaUsu+email+&claveAltaUsu+clave1+&imagenAltaUsu+imagen+&informado+informa+&estado+estado; funcionesUsu($(#formUsu).serialize()+&estado+estado); //alert(variablesAlta); //mandamos a funciones_usu.php las varables para modificar, mostramos el mensaje y cargamos la lista a los 3 segundos si se da el alta //$.post(funciones/funciones_usu.php,variablesAlta, //function(html){$(#resultadoUsu).html(html);}); //setTimeout(function(){$(p.mensaje_error).html( )},5000); //setTimeout(function(){cargaXML(contenido/usuarios/listaUsu.php)},3000); } } function funcionesUsu(variables){ $.post(funciones/funciones_usu.php,variables, function(html){$(#mensaSalida).html(html);}); //setTimeout(function(){$(#mensaSalida).html( ),},5000); setTimeout(function(){$(#mensaSalida).fadeOut(), $(#contenMensa).fadeOut();},3000); } function compruebaContra(psw1,psw2){//comprobamos que sean iguales las contraseñas if(psw1 ! psw2) return false; else return true; } function mensaSubirImaUsu(mensaje){//mostraremos los mesajes de subirImagen.php (subir al Servidor) //alert(mensaje); $(#mensaSalida).html(mensaje); setTimeout(function(){$(#mensaSalida).fadeOut(), $(#contenMensa).fadeOut();},3000); $(#imaUsuAltaError).css(visibility,visible); $(#imaUsu).addClass(borde_rojo); $(#imaUsu).focus(); } //SELECT MUNICIPIOS CON PROVINCIA SELECCIONADA function muestraMunicipio(){//carga un select con los municipios de la provincia seleccionada $(#cargaSelect).css(display,inline); var idPro $(#proAltaCama option:selected).val(); $.ajax({ type : POST, url : form/formCama/includes/selectAnidado.php, traditional : true,//Set this to true if you wish to use the traditional style of param serialization. data : {idProvincia:idPro}, success : function(data){ $(#muestraMuni).html(data); } }); } /*FORMS ALOJAMIENTO**********************************************/ function validaFormCamaUsu(){ var nom $.trim($(#nombreAltaCama).val()); //var ape $.trim($(#apellidoAltaCama).val()); //var email $.trim($(#emailAltaCama).val()); /*var telefono $.trim($(#telefonoAltaUsu).val()); var tipo $(input@nametipoAltaUsu:checked).val();*/ var numHabi $.trim($(#numHabiAltaCama option:selected).val()); var provincia $.trim($(#proAltaCama option:selected).val()); var municipio $.trim($(#muniAltaCama option:selected).val()); var dire $.trim($(#direAltaCama).val()); var cp $.trim($(#cpAltaCama).val()); var tele $.trim($(#teleAltaCama).val()); var tele2 $.trim($(#tele2AltaCama).val()); var fax $.trim($(#faxAltaCama).val()); var latitud $.trim($(#latitud).val()); var longitud $.trim($(#longitud).val()); //var imagen $(inputtypefile).val(); //campos necesarios para modificar al volver hacia atrás en los form var modifica $.trim($(#modifica).val()); var idLoca $.trim($(#idLoc).val()); var idAloja $.trim($(#idAloja).val()); //comprobamos el nombre, no null if(nom ){ $(#nombreCamaAltaError).css(visibility,visible); $(#nombreAltaCama).addClass(borde_rojo); $(#nombreAltaCama).focus(); $(#nombreMensaError).css(display, inline); $(#nombreMensaError).html(El nombre es obligatorio); setTimeout(function(){$(#nombreMensaError).css(display, none)},3000); return false ; } $(#nombreCamaAltaError).css(visibility,hidden); $(#nombreAltaCama).removeClass(borde_rojo); //comprobamos los apellidos(no null) /*if(ape ){ $(#apellidoUsuAltaError).css(visibility,visible); $(#apellidoAltaUsu).focus(); $(p.mensaje_error).html(El apellido es obligatorio); setTimeout(function(){$(p.mensaje_error).html( )},5000); return false ; } $(#apellidoUsuAltaError).css(visibility,hidden); if(email ){ $(#emailCamaAltaError).css(visibility,visible); $(#emailAltaCama).addClass(borde_rojo); $(#emailAltaCama).focus(); $(#emailMensaError).css(display, inline); $(#emailMensaError).html( El e-mail es obligatorio); setTimeout(function(){$(#emailMensaError).css(display, none)},3000); return false ; } if(email ! ){ //validamos el email si existen carcteres (null) con expresión regular var validaEmail /^(a-z|0-9)+(\.?(a-z|0-9)+)?@(a-z|0-9){2,}(\.a-z{2,3})(\.a-z{2})?$/; if(!validaEmail.test(email)){ $(#emailCamaAltaError).css(visibility,visible); $(#emailAltaCama).addClass(borde_rojo); $(#emailAltaCama).focus(); $(#emailMensaError).css(display, inline); $(#emailMensaError).html( El e-mail no es válido); setTimeout(function(){$(#emailMensaError).css(display, none)},3000); return false ; } } $(#emailCamaAltaError).css(visibility,hidden); $(#emailAltaCama).removeClass(borde_rojo); */ if(provincia 0){ $(#proCamaAltaError).css(visibility,visible); $(#proAltaCama).addClass(borde_rojo); $(#proAltaCama).focus(); $(#proMensaError).css(display, inline); $(#proMensaError).html(La provincia es obligatoria); setTimeout(function(){$(#proMensaError).css(display, none)},3000); return false ; } $(#proCamaAltaError).css(visibility,hidden); $(#proAltaCama).removeClass(borde_rojo); if(municipio 0){ $(#muniCamaAltaError).css(visibility,visible); $(#muniAltaCama).addClass(borde_rojo); $(#muniAltaCama).focus(); $(#muniMensaError).css(display, inline); $(#muniMensaError).html(El municipio es obligatorio); setTimeout(function(){$(#muniMensaError).css(display, none)},3000); return false ; } $(#muniCamaAltaError).css(visibility,hidden); $(#muniAltaCama).removeClass(borde_rojo); if(dire ){ $(#direCamaAltaError).css(visibility,visible); $(#direAltaCama).addClass(borde_rojo); $(#direAltaCama).focus(); $(#direMensaError).css(display, inline); $(#direMensaError).html(La dirección es obligatiria); setTimeout(function(){$(#direMensaError).css(display, none)},3000); return false ; } $(#direCamaAltaError).css(visibility,hidden); $(#direAltaCama).removeClass(borde_rojo); if(cp ){ $(#cpCamaAltaError).css(visibility,visible); $(#cpAltaCama).addClass(borde_rojo); $(#cpAltaCama).focus(); $(#cpMensaError).css(display, inline); $(#cpMensaError).html(El CP es obligatorio); setTimeout(function(){$(#cpMensaError).css(display, none)},3000); return false ; } if(cp ! && cp.length ! 5 || isNaN(cp)){ $(#cpCamaAltaError).css(visibility,visible); $(#cpAltaCama).addClass(borde_rojo); $(#cpAltaCama).focus(); $(#cpMensaError).css(display, inline); $(#cpMensaError).html(El CP no es válido); setTimeout(function(){$(#cpMensaError).css(display, none)},3000); return false ; } $(#cpCamaAltaError).css(visibility,hidden); $(#cpAltaCama).removeClass(borde_rojo); if(tele ){ $(#teleCamaAltaError).css(visibility,visible); $(#teleAltaCama).addClass(borde_rojo); $(#teleAltaCama).focus(); $(#teleMensaError).css(display, inline); $(#teleMensaError).html(El teléfono es obligatorio); setTimeout(function(){$(#teleMensaError).css(display, none)},3000); return false ; } if(tele ! && tele.length ! 9 || isNaN(tele)){ $(#teleCamaAltaError).css(visibility,visible); $(#teleAltaCama).addClass(borde_rojo); $(#teleAltaCama).focus(); $(#teleMensaError).css(display, inline); $(#teleMensaError).html(El teléfono no es válido); setTimeout(function(){$(#teleMensaError).css(display, none)},3000); return false ; } $(#teleCamaAltaError).css(visibility,hidden); $(#teleAltaCama).removeClass(borde_rojo); //alert(validado); var variablesAltaAlojaDG nomAltaCamaDG+nom+&numHabiAltaCamaDG+numHabi+&direAltaCamaDG+dire+&cpAltaCamaDG+cp+&tele1AltaCamaDG+tele+&tele2AltaCamaDG+tele2+&faxAltaCamaDG+fax+&modifica+modifica+&idAloja+idAloja+&estadoaltaCamaDG; var variablesLoc latitud+latitud+&longitud+longitud+&idMuni+municipio+&idPro+provincia+&modifica+modifica+&idLoc+idLoca+&estadoaltaLoc; //alert(variablesAltaAlojaDG); //alert(variablesLoc); funcionesLocalizacion(variablesLoc);//insertamos la localización funcionesAlojamiento(variablesAltaAlojaDG);//insertamos los datos generales } /*CARACTERÍSTICAS DEL ALOJAMIENTO*******************************/ function validaFormCara(){ funcionesAlojamiento($(#formCaracte).serialize()+&estadoinsertaCara);//insertamos las características del alojamiento //alert($(#formCaracte).serialize()+&estadoinsertaCara); } /*DESCRIPCIONES*******************************/ function validaFormCamaDescri(){ var descriUsu $.trim($(#descriUsuAltaCama).val()); var descriCama $.trim($(#descriAlojaAltaCama).val()); var estado $.trim($(#hacer).val()); //comprobamos los datos if(descriUsu ){ $(#descriUsuCamaAltaError).css(visibility,visible); $(#descriUsuAltaCama).addClass(borde_rojo); $(#descriUsuAltaCama).focus(); $(#descriUsuMensaError).css(display, inline); $(#descriUsuMensaError).html(La descripción es obligatoria); setTimeout(function(){$(#descriUsuMensaError).css(display, none)},3000); return false ; } $(#descriUsuCamaAltaError).css(visibility,hidden); $(#descriUsuAltaCama).removeClass(borde_rojo); if(descriCama ){ $(#descriAlojaCamaAltaError).css(visibility,visible); $(#descriAlojaAltaCama).addClass(borde_rojo); $(#descriAlojaAltaCama).focus(); $(#descriAlojaMensaError).css(display, inline); $(#descriAlojaMensaError).html(La descripción es obligatoria); setTimeout(function(){$(#descriAlojaMensaError).css(display, none)},3000); return false ; } $(#descriAlojaCamaAltaError).css(visibility,hidden); $(#descriAlojaAltaCama).removeClass(borde_rojo); var variablesDescri $(#formDescri).serialize(); funcionesAlojamiento(variablesDescri); } //limitamos la longitud de caracteres de los textarea function maximaLongitud(texto,maxlong) { var tecla, in_value, out_value; if (texto.value.length > maxlong) { in_value texto.value; out_value in_value.substring(0,maxlong); texto.value out_value; return false; } return true; } function funcionesAlojamiento(variables){ $.post(funciones/funciones_alojamiento.php,variables, function(html){$(#mensaSalida).html(html);}); setTimeout(function(){$(#mensaSalida).fadeOut(), $(#contenMensa).fadeOut();},3000); } function funcionesLocalizacion(variables){ //var resultLoc; $.post(funciones/funciones_loc.php,variables, function(html){$(#mensaSalida).html(html);}); //setTimeout(function(){$(#resultadoErrorUsu).html( )},5000); //function(response) { resultLoc response; }); //alert (resultLoc); } /*HABITACIONES*******************************/ function insertaHabi(idAloja){ //alert($(#formHabi).serialize()+&estadonuevaHabi); var variablesHabiNueva idAloja+idAloja+&estadonuevaHabi; funcionesAlojamiento(variablesHabiNueva);//actualizamos en alojamiento funcionesHabitacion($(#formHabi).serialize()+&estadonuevaHabi);//añadimos en habitaciones } function borraHabi(idHabi,idAloja){ //alert(idHabi); $(#dialog .oculto).css(display,none);//ocultamos los mensajes de diálogos y título $(#dialog).attr(title,); $(#confirma).css(display,block);//activa la visibilidad del mensaje $(#dialog).attr(title,Confirmar);//título del diálogo // Dialog $(#dialog).dialog({//mostramos un diálogo de confirmación antes de borrar autoOpen: true, width: 350, buttons: { Ok: function() { var variablesHabiBorra idHabi+idHabi+&idAloja+idAloja+&estadoborrarHabi; funcionesAlojamiento(variablesHabiBorra);//actualizamos en alojamiento funcionesHabitacion($(#formHabi).serialize()+&idHabi+idHabi+&estadoborrarHabi);//borramos en habitaciones $(this).dialog(close);//cerramos el diálogo }, Cancelar: function() { $(this).dialog(close); //$(#confirma).css(display,none);//desactiva la visibilidad del mensaje } } }); } function guardaHabi(){ //alert($(#formHabi).serialize()); //var variablesGuardaHabi $(#formHabi).serialize(); funcionesHabitacion($(#formHabi).serialize()+&estadoaltaHabi); } function pasoSiguienteHabi(){ //alert($(#formHabi).serialize()+&estadosiguientePaso); funcionesHabitacion($(#formHabi).serialize()+&estadosiguientePaso); } function funcionesHabitacion(variables){ $.post(funciones/funciones_habi.php,variables, function(html){$(#mensaSalida).html(html);}); setTimeout(function(){$(#mensaSalida).fadeOut(), $(#contenMensa).fadeOut();},3000); } /*PRECIOS*******************************/ function confirmaPrecio(){ var precioNoche $.trim($(#noche).val()); var precioFestivo $.trim($(#nocheFestivo).val()); var precioFinSemana $.trim($(#finDeSemana).val()); var precioSemana $.trim($(#semana).val()); var precioQuincena $.trim($(#quincena).val()); var temporadaDesde $.trim($(#desde).val()); var temporadaHasta $.trim($(#hasta).val()); var precioDia $.trim($(#dia).val()); //la coge del formulario de precios con input oculto //var estado $.trim($(#hacer).val()); if(precioNoche ){ $(#precioNoche).css(visibility,visible); $(#noche).addClass(borde_rojo); $(#noche).focus(); $(#nocheMensaError).css(display, inline); $(#nocheMensaError).html(El precio es obligatorio); setTimeout(function(){$(#nocheMensaError).css(display, none)},3000); return false ; } if(precioNoche ! && isNaN(precioNoche)){ $(#precioNoche).css(visibility,visible); $(#noche).addClass(borde_rojo); $(#noche).focus(); $(#nocheMensaError).css(display, inline); $(#nocheMensaError).html(El precio no es válido); setTimeout(function(){$(#nocheMensaError).css(display, none)},3000); return false ; } $(#precioNoche).css(visibility,hidden); $(#noche).removeClass(borde_rojo); if(precioFestivo ! && isNaN(precioFestivo)){ $(#precioFestivo).css(visibility,visible); $(#nocheFestivo).addClass(borde_rojo); $(#nocheFestivo).focus(); $(#festivoMensaError).css(display, inline); $(#festivoMensaError).html(El precio no es válido); setTimeout(function(){$(#festivoMensaError).css(display, none)},3000); return false ; } $(#precioFestivo).css(visibility,hidden); $(#nocheFestivo).removeClass(borde_rojo); if(precioFinSemana ! && isNaN(precioFinSemana)){ $(#precioFinSemana).css(visibility,visible); $(#finDeSemana).addClass(borde_rojo); $(#finDeSemana).focus(); $(#finSemanaMensaError).css(display, inline); $(#finSemanaMensaError).html(El precio no es válido); setTimeout(function(){$(#finSemanaMensaError).css(display, none)},3000); return false ; } $(#precioFinSemana).css(visibility,hidden); $(#finDeSemana).removeClass(borde_rojo); if(precioSemana ! && isNaN(precioSemana)){ $(#precioSemana).css(visibility,visible); $(#semana).addClass(borde_rojo); $(#semana).focus(); $(#semanaMensaError).css(display, inline); $(#semanaMensaError).html(El precio no es válido); setTimeout(function(){$(#semanaMensaError).css(display, none)},3000); return false ; } $(#precioSemana).css(visibility,hidden); $(#semana).removeClass(borde_rojo); if(precioQuincena ! && isNaN(precioQuincena)){ $(#precioQuincena).css(visibility,visible); $(#quincena).addClass(borde_rojo); $(#quincena).focus(); $(#quincenaMensaError).css(display, inline); $(#quincenaMensaError).html(El precio no es válido); setTimeout(function(){$(#quincenaMensaError).css(display, none)},3000); return false ; } $(#precioQuincena).css(visibility,hidden); $(#quincena).removeClass(borde_rojo); //comprobamos que se haya seleccionado, al menos, un habitación var algunCheck false; $(#formPrecios input:checked).each(function(){ if($(this).attr(checked)){ //alert(selecc); algunCheck true; } }); if(!algunCheck){ $(#habiPrecioMensaError).css(display, inline); $(#habiPrecioMensaError).html(Debe seleccionar alguna habitación); setTimeout(function(){$(#habiPrecioMensaError).css(display, none)},3000); return false ; } if(temporadaDesde ! && temporadaHasta ){ //alert(tiene); $(#precioHasta).css(visibility,visible); $(#hasta).addClass(borde_rojo); //$(#hasta).focus(); $(#temporadaMensaError).css(display, inline); $(#temporadaMensaError).html(Las fechas son obligatorias); setTimeout(function(){$(#temporadaMensaError).css(display, none)},3000); return false ; } $(#precioHasta).css(visibility,hidden); $(#hasta).removeClass(borde_rojo); if(temporadaDesde && temporadaHasta ! ){ $(#precioDesde).css(visibility,visible); $(#desde).addClass(borde_rojo); //$(#desde).focus(); $(#temporadaMensaError).css(display, inline); $(#temporadaMensaError).html(Las fechas son obligatorias); setTimeout(function(){$(#temporadaMensaError).css(display, none)},3000); return false ; } $(#precioDesde).css(visibility,hidden); $(#desde).removeClass(borde_rojo); var procesarPrecio $(#formPrecios).serialize(); funcionesPrecio(procesarPrecio); //alert(procesarPrecio); } function borraPrecioHabi(idPrecio,idAloja){ $(#dialog .oculto).css(display,none);//ocultamos los mensajes de diálogos y título $(#dialog).attr(title,); $(#confirma).css(display,block);//activa la visibilidad del mensaje $(#dialog).attr(title,Confirmar);//título del diálogo // Dialog $(#dialog).dialog({//mostramos un diálogo de confirmación antes de borrar autoOpen: true, width: 350, buttons: { Ok: function() { var variablesPrecioBorra idPrecio+idPrecio+&idAlojamiento+idAloja+&estadoborrarPrecio; funcionesPrecio(variablesPrecioBorra); $(this).dialog(close); }, Cancelar: function() { $(this).dialog(close); //$(#confirma).css(display,none);//desactiva la visibilidad del mensaje } } }); //var variablesPrecioBorra idPrecio+idPrecio+&estadoborrarPrecio; //funcionesPrecio(variablesPrecioBorra); } //modificar precio function modiPrecio(idAloja,idPrecio,fDia,fInicio,fFin){ alert(idAloja); //cargamos el formulario de precios con el id a modificar cargaXML(form/formCama/formAltaCamaPrecios.php?idPrecio+idPrecio+&idAlojamiento+idAloja); //comprobamos las fechas (un sólo día o temporada) para mostrarlas if(fDia ! 00/00/0000){ setTimeout(function(){muestraDia(); $(input:textnamedia).attr(value,fDia);},1000); } if(fInicio ! 00/00/0000 && fFin ! 00/00/0000){ setTimeout(function(){muestraTemporada(); $(input:textnamedesde).attr(value,fInicio);$(input:textnamehasta).attr(value,fFin);},1000); } } function pasarPrecio(){ var idAlojamiento $.trim($(#idAloja).val()); var variablesPrecioPasar idAloja+idAlojamiento+&estadoavanzaPrecio; funcionesPrecio(variablesPrecioPasar); } function funcionesPrecio(variables){ $.post(funciones/funciones_precio.php,variables, function(html){$(#mensaSalida).html(html);}); setTimeout(function(){$(#mensaSalida).fadeOut(), $(#contenMensa).fadeOut();},3000); } /*FUNCIONABILIDAD DE MOSTRAR TEMPORADA Y OCULTARLA**************************/ function muestraTemporada(){ //ocultamos el input de precio día sólo si está visible if($(#diaSolo1.oculto, #diaSolo2.oculto).css(visibility,visible)){ $(#diaSolo1.oculto).css(visibility,hidden).slideUp(300); $(#diaSolo2.oculto).css(visibility,hidden).slideUp(300); //borramos el input del día $(input:textnamedia).attr(value,); } $(#tempo1.oculto).css(visibility,visible).slideDown(400); $(#tempo2.oculto).css(visibility,visible).slideDown(400); } function ocultaTemporada(){ $(#tempo1.oculto).css(visibility,hidden).slideUp(400); $(#tempo2.oculto).css(visibility,hidden).slideUp(400); //borramos los input de las fechas temporada y quitamaos también los errores $(input:textnamedesde,input:textnamehasta).attr(value,); $(#precioDesde, #precioHasta).css(visibility,hidden); $(#desde, #hasta).removeClass(borde_rojo); } /*FUNCIONABILIDAD DE MOSTRAR DÍA SÓLO Y OCULTARLO**************************/ function muestraDia(){ //ocultamos los inputs de temporada si está visible if($(#tempo1.oculto, #tempo2.oculto).css(visibility,visible)){ $(#tempo1.oculto).css(visibility,hidden).slideUp(300); $(#tempo2.oculto).css(visibility,hidden).slideUp(300); //borramos los input de las fechas temporada y quitamaos también los errores $(input:textnamedesde,input:textnamehasta).attr(value,); $(#precioDesde, #precioHasta).css(visibility,hidden); $(#desde, #hasta).removeClass(borde_rojo); } $(#diaSolo1.oculto).css(visibility,visible).slideDown(400); $(#diaSolo2.oculto).css(visibility,visible).slideDown(400); } function ocultaDia(){ $(#diaSolo1.oculto).css(visibility,hidden).slideUp(400); $(#diaSolo2.oculto).css(visibility,hidden).slideUp(400); //borramos el input del día $(input:textnamedia).attr(value,); //$(#precioDesde, #precioHasta).css(visibility,hidden); //$(#desde, #hasta).removeClass(borde_rojo); } /*FORM IMÁGENES DEL ALOJAMIENTO******************************************/ //Imágenes del alojamiento function subeImaFachada(){ //alert(llega); var imaFachada $(input:filenameimaFachada).val(); //ponemos los demás input file vacios para que no den problemas en subirImagen.php //$(inputnameimaHabi).attr(value,); //$(inputnameimaAnfi).attr(value,); if(imaFachada ){ $(#imaFachadaAltaError).css(visibility,visible); $(#imaFachada).addClass(borde_rojo); $(#imaFachada).focus(); $(#imaFachadaMensaError).css(display, inline); $(#imaFachadaMensaError).html(Las imagen es obligatoria); setTimeout(function(){$(#imaFachadaMensaError).css(display, none)},3000); return false ; } $(#imaFachadaAltaError).css(visibility,hidden); $(#imaFachada).removeClass(borde_rojo); if(imaFachada ! ){ //comprobamos la extensión del archivo var ext imaFachada.split(.).pop().toLowerCase(); if($.inArray(ext, gif,png,jpg,jpeg) -1) { $(#imaFachadaAltaError).css(visibility,visible); $(#imaFachada).addClass(borde_rojo); $(#imaFachada).focus(); $(#imaFachadaMensaError).css(display, inline); $(#imaFachadaMensaError).html(Formato de imagen incorrecto); setTimeout(function(){$(#imaAlojaMensaError).css(display, none)},3000); return false ; } else {//mandamos el formulario para subir la imagen al servidor. Lo mandará a un iframe simulando jquery //document.formUsu.submit(); //alert($(#formUsu).serialize()); $(#formImaAloja).submit(); } } } function mensaSubirImaFachada(mensaje){//mostraremos los mesajes de subirImagen.php (subir al Servidor) //alert(mensaje); $(#resultadoErrorUsu).html(mensaje); setTimeout(function(){$(#resultadoErrorUsu).html( )},5000); $(#imaFachadaAltaError).css(visibility,visible); $(#imaFachada).addClass(borde_rojo); $(#imaFachada).focus(); } function borraImaFachada(id_ima,id_aloja){ $(#dialog .oculto).css(display,none);//ocultamos los mensajes de diálogos y título $(#dialog).attr(title,); $(#confirma).css(display,block);//activa la visibilidad del mensaje $(#dialog).attr(title,Confirmar);//título del diálogo // Dialog $(#dialog).dialog({//mostramos un diálogo de confirmación antes de borrar autoOpen: true, width: 350, buttons: { Ok: function() { var variablesImaBorra idImaFacha+id_ima+&idAlojamiento+id_aloja+&estadoborrarImaFachada; funcionesImaFachada(variablesImaBorra); $(this).dialog(close); }, Cancelar: function() { $(this).dialog(close); //$(#confirma).css(display,none);//desactiva la visibilidad del mensaje } } }); } function funcionesImaFachada(variables){ //alert(variables); $.post(funciones/funciones_ima_fachada.php,variables, function(html){$(#mensaSalida).html(html);}); setTimeout(function(){$(#mensaSalida).fadeOut(), $(#contenMensa).fadeOut();},3000); } //Imágenes de las habitaciones function subeImaHabi(){ //alert(llega); var imaHabi $(input:filenameimaHabi).val(); //ponemos los demás input file vacios para que no den problemas en subirImagen.php //$(inputnameimaFachada).attr(value,); //$(inputnameimaAnfi).attr(value,); if(imaHabi ){ $(#imaHabiAltaError).css(visibility,visible); $(#imaHabi).addClass(borde_rojo); $(#imaHabi).focus(); $(#imaHabiMensaError).css(display, inline); $(#imaHabiMensaError).html(Las imagen es obligatoria); setTimeout(function(){$(#imaHabiMensaError).css(display, none)},3000); return false ; } $(#imaHabiAltaError).css(visibility,hidden); $(#imaHabi).removeClass(borde_rojo); if(imaHabi ! ){ //comprobamos la extensión del archivo var ext imaHabi.split(.).pop().toLowerCase(); if($.inArray(ext, gif,png,jpg,jpeg) -1) { $(#imaHabiAltaError).css(visibility,visible); $(#imaHabi).addClass(borde_rojo); $(#imaHabi).focus(); $(#imaHabiMensaError).css(display, inline); $(#imaHabiMensaError).html(Formato de imagen incorrecto); setTimeout(function(){$(#imaHabiMensaError).css(display, none)},3000); return false ; } else {//mandamos el formulario para subir la imagen al servidor. Lo mandará a un iframe simulando jquery //document.formUsu.submit(); //alert($(#formUsu).serialize()); $(#formImaHabi).submit(); } } } function mensaSubirImaHabi(mensaje){//mostraremos los mesajes de subirImagen.php (subir al Servidor) //alert(mensaje); $(#mensaSalida).html(mensaje); setTimeout(function(){$(#mensaSalida).fadeOut(), $(#contenMensa).fadeOut();},3000); $(#imaHabiAltaError).css(visibility,visible); $(#imaHabi).addClass(borde_rojo); $(#imaHabi).focus(); } function borraImaHabi(id_habi,id_aloja){ $(#dialog .oculto).css(display,none);//ocultamos los mensajes de diálogos y título $(#dialog).attr(title,); $(#confirma).css(display,block);//activa la visibilidad del mensaje $(#dialog).attr(title,Confirmar);//título del diálogo // Dialog $(#dialog).dialog({//mostramos un diálogo de confirmación antes de borrar autoOpen: true, width: 350, buttons: { Ok: function() { var variablesImaBorra idImaHabi+id_habi+&idAlojamiento+id_aloja+&estadoborrarImaHabi; funcionesImaHabi(variablesImaBorra); $(this).dialog(close); }, Cancelar: function() { $(this).dialog(close); //$(#confirma).css(display,none);//desactiva la visibilidad del mensaje } } }); } function funcionesImaHabi(variables){ //alert(variables); $.post(funciones/funciones_ima_habi.php,variables, function(html){$(#mensaSalida).html(html);}); setTimeout(function(){$(#mensaSalida).fadeOut(), $(#contenMensa).fadeOut();},3000); } //Imagen del anfitrión function subeImaAnfi(){ //alert(llega); var imaAnfi $(input:filenameimaAnfi).val(); //ponemos los demás input file vacios para que no den problemas en subirImagen.php //$(inputnameimaFachada).attr(value,); //$(inputnameimaAnfi).attr(value,); if(imaAnfi ){ $(#imaAnfiAltaError).css(visibility,visible); $(#imaAnfi).addClass(borde_rojo); $(#imaAnfi).focus(); $(#imaAnfiMensaError).css(display, inline); $(#imaAnfiMensaError).html(Las imagen es obligatoria); setTimeout(function(){$(#imaAnfiMensaError).css(display, none)},3000); return false ; } $(#imaAnfiAltaError).css(visibility,hidden); $(#imaAnfi).removeClass(borde_rojo); if(imaAnfi ! ){ //comprobamos la extensión del archivo var ext imaAnfi.split(.).pop().toLowerCase(); if($.inArray(ext, gif,png,jpg,jpeg) -1) { $(#imaAnfiAltaError).css(visibility,visible); $(#imaAnfi).addClass(borde_rojo); $(#imaAnfi).focus(); $(#imaAnfiMensaError).css(display, inline); $(#imaAnfiMensaError).html(Formato de imagen incorrecto); setTimeout(function(){$(#imaAnfiMensaError).css(display, none)},3000); return false ; } else {//mandamos el formulario para subir la imagen al servidor. Lo mandará a un iframe simulando jquery //document.formUsu.submit(); //alert($(#formUsu).serialize()); $(#formImaAnfi).submit(); } } } function mensaSubirImaAnfi(mensaje){//mostraremos los mesajes de subirImagen.php (subir al Servidor) //alert(mensaje); $(#mensaSalida).html(mensaje) setTimeout(function(){$(#mensaSalida).fadeOut(), $(#contenMensa).fadeOut();},3000); $(#imaAnfiAltaError).css(visibility,visible); $(#imaAnfi).addClass(borde_rojo); $(#imaAnfi).focus(); } function funcionesImaAnfi(variables){ //alert(variables); $.post(funciones/funciones_ima_habi.php,variables, function(html){$(#mensaSalida).html(html);}); setTimeout(function(){$(#mensaSalida).fadeOut(), $(#contenMensa).fadeOut();},3000); } //finalizar form imágenes del alojamiento //finaliza también todo el formulario si están todas las imágenes correctas function pasarImaAloja(){ var variables $(#formImaAnfi).serialize()+&estadofinalizaFormAloja; $.post(funciones/funciones_alojamiento.php,variables, function(html){$(#mensaSalida).html(html);}); setTimeout(function(){$(#mensaSalida).fadeOut(), $(#contenMensa).fadeOut();},3000); /*setTimeout(function(){$(#mensaSalida).html( ).fadeOut(), $(#contenMensa).fadeOut();},5000);*/ } function muestraMensa(){//prueba para mostrar mensajes $(#mensaSalida).html(Texto del mensaje); //alert($(window).scrollTop()); //pondremos el mensaje a una altura dependiendo del scroll de la página $(#contenMensa).css({ top: ($(window).scrollTop()+200) }); $(#contenMensa).removeClass(oculto).fadeIn(); /*setTimeout(function(){$(#mensaSalida).html( ).fadeOut(), $(#contenMensa).addClass(oculto).fadeOut();},5000);*/ } /*IMAGEN USUARIO*******************************/ function validaIma(nameForm,ima){ //$(span.span_mensaje_error).css(visibility,hidden);//ocultamos los errores //var ima $(inputtypefile).val(); //validamos el formulario de subir imagen /*if(ima ){ $(#modiImaUsuError).css(visibility,visible); $(#mensajeModiImaUsu).html(Debe seleccionar una imagen); setTimeout(function(){$(p.mensaje_error).html( )},5000); return false ; }*/ //comprobamos la extensión del archivo var ext ima.split(.).pop().toLowerCase(); if($.inArray(ext, gif,png,jpg,jpeg) -1) { $(#modiImaUsuError).css(visibility,visible); //$(#imUsu).attr(value,);//borramos el contenido del input $(#mensajeModiImaUsu).html(Formato de imagen incorrecto); setTimeout(function(){$(p.mensaje_error).html( )},5000); return false ; } else {//mandamos el formulario para subir la imagen al servidor. Lo mandará a un iframe simulando jquery document.nameForm.submit(); } } function modificaImaUsu(id,nomImagen,pagina){//una vez comprobada la imagen la subimos a la BD y cargamos de nuevo el formulario a los 3s //alert(nomImagen); $.post(funciones/funciones_usu.php, {estado:modificaImaUsu,idUsuModiIma:id,nomIma:nomImagen}, function(html){$(#mensajeModiImaUsu).html(html);}); setTimeout(function(){disablePopup(),cargaXML(form/formUsu/formModiUsu.php?idUsu+id+&pagina+pagina)},3000); } /*MODIFICAR USUARIO*****************************************/ function modificaUsu(id){ var nom $.trim($(#nombreUsu).val()); //comprobamos el nombre, no null if(nom ){ $(#nombreUsuError).css(visibility,visible); $(#nombreUsu).focus(); $(p.mensaje_error).html(El nombre es obligatorio); setTimeout(function(){$(p.mensaje_error).html( )},5000); return false ; } $(#nombreUsuError).css(visibility,hidden); var ape $.trim($(#apellidoUsu).val()); //comprobamos los apellidos(no null) if(ape ){ $(#apellidoUsuError).css(visibility,visible); $(#apellidoUsu).focus(); $(p.mensaje_error).html(El apellido es obligatorio); setTimeout(function(){$(p.mensaje_error).html( )},5000); return false ; } $(#apellidoUsuError).css(visibility,hidden); var mail $.trim($(#emailUsu).val()); //validamos el email con expresión regular var validaEmail /^(a-z|0-9)+(\.?(a-z|0-9)+)?@(a-z|0-9){2,}(\.a-z{2,3})(\.a-z{2})?$/; if(mail ! && !validaEmail.test(mail)){ $(#emailUsuError).css(visibility,visible); $(#emailUsu).focus(); $(p.mensaje_error).html(El email no es correcto); setTimeout(function(){$(p.mensaje_error).html( )},5000); return false ; } $(#emailUsuError).css(visibility,hidden); var telefono $.trim($(#telefonoUsu).val()); //comprobamos el teléfono si añade caracteres, es nº y tiene 9 gígitos if(telefono ! && telefono.length 9 || isNaN(telefono)){ $(#telefonoUsuError).css(visibility,visible); $(#telefonoUsu).focus(); $(p.mensaje_error).html(El teléfono no es correcto); setTimeout(function(){$(p.mensaje_error).html( )},5000); return false ; } $(#telefonoUsuError).css(visibility,hidden); var tipo $(input@nametipoUsu:checked).val(); var turno $.trim($(#turnoUsu option:selected).val()); var params idUsu+id+&nombreUsu+nom+&apellidoUsu+ape+&emailUsu+mail+&tipoUsu+tipo+&telefonoUsu+telefono+&turnoUsu+turno+&estadomodificaUsu; //mandamos a funciones_usu.php las varables para modificar, mostramos el mensaje y cargamos la lista a los 3 segundos $.post(funciones/funciones_usu.php,params, function(html){$(p.mensaje_error).html(html); }); setTimeout(function(){$(p.mensaje_error).html( )},5000); //setTimeout(function(){cargaXML(contenido/usuarios/listaUsu.php?pagina+pagina)},3000); } /*MODIFICAR CLAVE USUARIO/A***************************/ function modiClaveUsu(id,pagina){ var psw1 $.trim($(#clave1ModiClaveUsu).val()); var psw2 $.trim($(#clave2ModiClaveUsu).val()); //comprobamos las claves if(psw1 ){ $(#clave1ModiClaveUsuError).css(visibility,visible); $(#clave1ModiClaveUsu).focus(); $(#mesaModiClaveUsu).html(La clave es obligatoria); setTimeout(function(){$(p.mensaje_error).html( )},5000); return false ; } $(#clave1ModiClaveUsuError).css(visibility,hidden); if(psw2 ){ $(#clave2ModiClaveUsuError).css(visibility,visible); $(#clave2ModiClaveUsu).focus(); $(#mesaModiClaveUsu).html(Por favor, repita la clave); setTimeout(function(){$(p.mensaje_error).html( )},5000); return false ; } $(#clave2ModiClaveUsuError).css(visibility,hidden); if(!compruebaContra(psw1,psw2)){ $(#clave1ModiClaveUsuError).css(visibility,visible); $(#clave1ModiClaveUsu).focus(); $(#mesaModiClaveUsu).html(Las claves no coinciden); setTimeout(function(){$(p.mensaje_error).html( )},5000); return false ; } $(#clave1ModiClaveUsuError).css(visibility,hidden); //alert(id+ +pagina); $.post(funciones/funciones_usu.php, {estado:modificaClaveUsu,idUsuModiClave:id,nuevaClave:psw1}, function(html){$(#mesaModiClaveUsu).html(html+ img srcimagenes/loading.gif altloading titleloading />);}); setTimeout(function(){disablePopup(),cargaXML(form/formUsu/formModiUsu.php?idUsu+id+&pagina+pagina)},3000); } /*ELIMINAR USUARIO************************************/ function eliminaUsu(id){ //alert(id); $.post(funciones/funciones_usu.php, {estado:borrarUsu,idUsuario:id}, function(html){$(p.mensaje_error).html(html+ img srcimagenes/loading.gif altloading titleloading />);}); setTimeout(function(){disablePopup(),cargaXML(contenido/usuarios/listaUsu.php)},3000); } /*FAMILIAS*/ /*NUEVA FAMILIA***************************************/ function validaNuevaFami(){//validamos el formulario de nueva familia $(span.span_mensaje_error).css(visibility,hidden);//ocultamos los errores var nombreFami $.trim($(#nomNuevaFami).val()); var imaFami $.trim($(#imaNuevaFami).val()); var pagApartado $.trim($(#pagina).val()); if(nombreFami ){ $(#nomNuevaFamiError).css(visibility,visible); $(#nomNuevaFami).focus(); $(#mensajeNuevaFami).html(El nombre es obligatorio); setTimeout(function(){$(p.mensaje_error).html( )},5000); return false ; } if(imaFami ! ){//comprobamos la extensión del archivo si existe var ext imaFami.split(.).pop().toLowerCase(); if($.inArray(ext, gif,png,jpg,jpeg) -1) { $(#imaNuevaFamiError).css(visibility,visible); //$(#imaNuevaFami).attr(value,);//borramos el contenido del input $(#mensajeNuevaFami).html(Formato de imagen incorrecto); setTimeout(function(){$(p.mensaje_error).html( )},5000); return false ; } else {//mandamos el formulario para subir la imagen al servidor. Lo mandará a un iframe simulando jquery document.form_file.submit(); } } else { //llamamos a la función de alta sin imagen altaFamilia(nombreFami,,pagApartado); } } function altaFamilia(nomFami,nomIma,pagina){//la imagen la subimos a la BD y cargamos de nuevo la lista de familias a los 3s //alert(llega java); $.post(funciones/funciones_familia.php, {estado:altaFamilia,nomFamilia:nomFami,nomImagen:nomIma,pag:pagina}, function(html){$(#mensajeNuevaFami).html(html);}); setTimeout(function(){$(p.mensaje_error).html( )},5000); //setTimeout(function(){disablePopup(),cargaXML(form/formFamilias/formNuevaFami.php?pagina+pagina)},3000); } /*ELIMINAR FAMILIA*************************************/ function eliminaFami(id){ $.post(funciones/funciones_familia.php, {estado:eliminaFami,idFamilia:id}, function(html){$(p.mensaje_error).html(html+ img srcimagenes/loading.gif altloading titleloading />);}); setTimeout(function(){disablePopup(),cargaXML(contenido/familias/listaFami.php)},3000); } /*MODIFICAR FAMILIA***********************************/ function validaModiFami(id){ $(span.span_mensaje_error).css(visibility,hidden);//ocultamos los errores var nombreFami $.trim($(#nomModiFami).val()); var imaFami $.trim($(#imaModiFami).val()); var pagApartado $.trim($(#pagina).val()); var nombreAnte $.trim($(#nomAnteriorFami).val()); var imagenAnte $.trim($(#imaAnteriorFami).val()); if(nombreFami ){ $(#nomModiFamiError).css(visibility,visible); $(#nomModiFami).focus(); $(#mensajeModiFami).html(El nombre es obligatorio); setTimeout(function(){$(p.mensaje_error).html( )},5000); return false ; } if(imaFami ! ){//comprobamos la extensión del archivo si existe var ext imaFami.split(.).pop().toLowerCase(); if($.inArray(ext, gif,png,jpg,jpeg) -1) { $(#imaModiFamiError).css(visibility,visible); //$(#imaNuevaFami).attr(value,);//borramos el contenido del input $(#mensajeModiFami).html(Formato de imagen incorrecto); setTimeout(function(){$(p.mensaje_error).html( )},5000); return false ; } else {//mandamos el formulario para subir la imagen al servidor. Lo mandará a un iframe simulando jquery document.form_file.submit(); } } else { //llamamos a la función que modifica la familia modificaFamilia(id,nombreFami,,pagApartado,nombreAnte,imagenAnte); } } function modificaFamilia(id,nomFami,nomIma,pagina,nomAnte,imaAnte){ //alert(llega); $.post(funciones/funciones_familia.php, {estado:modiFamilia,idFami:id,nomFami:nomFami,nomIma:nomIma,pag:pagina,nomAnterior:nomAnte,imaAnterior:imaAnte}, function(html){$(#mensajeModiFami).html(html);}); setTimeout(function(){$(p.mensaje_error).html( )},5000); } /*PAGINACIÓN******************************************/ function paginaSiguiente(numPage,dire){ var paginaMayor numPage+1; //alert(numPage+dire); cargaXML(dire+?pagina+paginaMayor); } function paginaAnterior(numPage,dire){ var paginaMenor numPage-1; cargaXML(dire+?pagina+paginaMenor); } function borrarFormUsu(){//borramos todos los datos introducidos en el formulario de usuario $(#dialog .oculto).css(display,none);//ocultamos los mensajes de diálogos y título //$(#dialog).attr(title,); $(#confirma).css(display,block);//activa la visibilidad del mensaje //$(#dialog).attr(title,Confirmar);//título del diálogo // Dialog $(#dialog).dialog({//mostramos un diálogo de confirmación antes de borrar autoOpen: true, width: 340, buttons: { Ok: function() { //alert(borra); $(this).dialog(close); $(#formUsu)0.reset();//borramos el formulario if($.trim($(#nombre).val()) ! ){ //document.getElementById(nombre).value ; $(#nombre).attr(value, ); } if($.trim($(#mail).val()) ! ){ //document.getElementById(mail).value ; $(#mail).attr(value, ); } if($(#dia option:selected).val() ! 0){ //alert($(#dia option:selected).text()); $(#dia optionvalue0).attr(selected,true); } if($(#mes option:selected).val() ! 0){ $(#mes optionvalue0).attr(selected,true); } if($(#anio option:selected).val() ! 0){ $(#anio optionvalue0).attr(selected,true); } if($(input@namesexo:checked).val() ! M){//comprobamos radioButton y está vacío seleccionamos M //alert($(input@namesexo:checked).val()); $(:radionamesexovalueM).attr(checked, true); } $(#imagenCaptcha).attr(src,captcha/captcha.php?azar + Math.random());//actualizamos captcha $(#contenido_late_der .span_mensaje_error).css(visibility,hidden);//ocultamos los axteriscos de error $(#confirma).css(display,none);//desactiva la visibilidad del mensaje }, Cancelar: function() { $(this).dialog(close); $(#confirma).css(display,none);//desactiva la visibilidad del mensaje } } }); } function validaFormUsu(){//validamos el formulario de usuario //alert(llega); if($.trim($(#nombre).val()) ){ $(#nomError).css(visibility,visible); $(#nombre).focus(); return false ; } $(#nomError).css(visibility,hidden); var emailFormUsu $.trim($(#mail).val()); //validamos el email con expresión regular var validaEmail /^(a-z|0-9)+(\.?(a-z|0-9)+)?@(a-z|0-9){2,}(\.a-z{2,3})(\.a-z{2})?$/; if(emailFormUsu || !validaEmail.test(emailFormUsu)){ $(#emailError).css(visibility,visible); $(#mail).focus(); return false ; } $(#emailError).css(visibility,hidden); if($(#dia option:selected).val() 0){ $(#fechaError).css(visibility,visible); return false ; } if($(#mes option:selected).val() 0){ $(#fechaError).css(visibility,visible); return false ; } if($(#anio option:selected).val() 0){ $(#fechaError).css(visibility,visible); return false ; } $(#fechaError).css(visibility,hidden); /*if($(inputtypefile).val() ! ){ var ext $(inputtypefile).val().split(.).pop().toLowerCase(); if($.inArray(ext, gif,png,jpg,jpeg) -1) { $(#fileError).css(visibility,visible); return false ; } } $(#fileError).css(visibility,hidden);*/ var estado $.trim($(#envia_form).val());//estado del botón del formulario (Alta o Modificación) var contra1 $.trim($(#contra1).val()); var contra2 $.trim($(#contra2).val()); //alert(estado); if(estado Alta){ if(!compruebaContra(contra1,contra2)){ return false; } } if(estado Modificar){ if(contra1 ! || contra2 ! ){ if(!compruebaContra(contra1,contra2)){ return false; } } $(#contra1Error).css(visibility,hidden); $(#contra2Error).css(visibility,hidden); } var captcha $.trim($(#captcha).val()); if(captcha ! ){//comprobamos el captcha $.post(captcha/varificaCaptcha.php,{codigo:captcha}, function(response){ //alert(response); if(response 0) { $(#captchaError).css(visibility,visible); $(#captcha).attr(value,); $(#captcha).focus(); $(#imagenCaptcha).attr(src,captcha/captcha.php?azar + Math.random()); } else { $(#captchaError).css(visibility,hidden); $(#captcha).attr(value,); var nom $.trim($(#nombre).val()); var mail $.trim($(#mail).val()); var dia $.trim($(#dia option:selected).val()); var mes $.trim($(#mes option:selected).val()); if(dia.length 1){//añadimos 0 si tiene un dígito (día y mes) dia 0 + dia; } if(mes.length 1){ mes 0 + mes; } var fecha $.trim($(#anio option:selected).val())+-+mes+-+dia; var sexo $(input@namesexo:checked).val(); //var file $(inputtypefile).val();//alert(file); //var clave $(#contra1).val(); var paramsnombre+nom+&email+mail+&fecha+fecha+&sexo+sexo+&clave+contra1+&estado+estado; //alert(params); $.ajax({ type: POST, url: funciones/funciones_usu.php, enctype: multipart/form-data, data: params, success: function(html){ $(#mensaje).html(html); } }); } }); } else { $(#captchaError).css(visibility,visible); $(#captcha).focus(); return false ; } } function borrarUsu(){ $(#dialog .oculto).css(display,none);//ocultamos los mensajes de diálogos y título //$(#dialog).attr(title,); $(#confirmaEliUsu).css(display,block);//activa la visibilidad del mensaje //$(#dialog).attr(title,Confirmar);//título del diálogo // Dialog $(#dialog).dialog({//mostramos un diálogo de confirmación antes de borrar autoOpen: true, width: 340, buttons: { Ok: function() { $(this).dialog(close);//cerramos el diálogo y mandamos los datos a funciones_usu $.post(funciones/funciones_usu.php,{estado:borrar},function(html){$(#mensaje).html(html);}); $(#confirmaEliUsu).css(display,none);//desactiva la visibilidad del mensaje }, Cancelar: function() { $(this).dialog(close); $(#confirmaEliUsu).css(display,none); } } }); /*if(confirm(¿Está seguro/a de que quiere darse de baja?)){ $.post(funciones/funciones_usu.php,{estado:borrar},function(html){$(#mensaje).html(html);}); }*/ //$(#dialog).attr(title,); } /*FORMULARIO CONTACTO ****************************/ function borraFormContacto(){ $(#dialog .oculto).css(display,none);//ocultamos los mensajes de diálogos y título //$(#dialog).attr(title,); $(#confirma).css(display,block);//activa la visibilidad del mensaje //$(#dialog).attr(title,Confirmar);//título del diálogo // Dialog $(#dialog).dialog({//mostramos un diálogo de confirmación antes de borrar autoOpen: true, width: 340, buttons: { Ok: function() { $(this).dialog(close); $(#form_contacto)0.reset();//borramos el formulario $(#imagenCaptchaContacto).attr(src,captcha/captcha.php?azar + Math.random());//actualizamos captcha $(#contenido_late_der .span_mensaje_error).css(visibility,hidden);//ocultamos los axteriscos de error $(#confirma).css(display,none);//desactiva la visibilidad del mensaje }, Cancelar: function() { $(this).dialog(close); $(#confirma).css(display,none);//desactiva la visibilidad del mensaje } } }); } //validamos el formulario de contacto function validaFormContacto(){ $(#nomContactoError).css(visibility,hidden);//ocultamos todos los axteriscos al empezar $(#emailContactoError).css(visibility,hidden); $(#textoContactoError).css(visibility,hidden); $(#captchaContactoError).css(visibility,hidden); var nomContacto $.trim($(#nombreContacto).val()); if(nomContacto ){ $(#nomContactoError).css(visibility,visible); $(#nombreContacto).focus(); return false ; } $(#nomContactoError).css(visibility,hidden); var emailContacto $.trim($(#mailContacto).val()); //validamos el email con expresión regular var validaEmail /^(a-z|0-9)+(\.?(a-z|0-9)+)?@(a-z|0-9){2,}(\.a-z{2,3})(\.a-z{2})?$/; if(emailContacto || !validaEmail.test(emailContacto)){ $(#emailContactoError).css(visibility,visible); $(#mailContacto).focus(); return false ; } $(#emailContactoError).css(visibility,hidden); var textoContacto $.trim($(#textoContacto).val()); if(textoContacto ){ $(#textoContactoError).css(visibility,visible); $(#textoContacto).focus(); return false ; } $(#textoContactoError).css(visibility,hidden); var captcha $.trim($(#captchaContacto).val()); if(captcha ! ){//comprobamos el captcha $.post(captcha/varificaCaptcha.php,{codigo:captcha}, function(response){ //alert(response); if(response 0) { $(#captchaContactoError).css(visibility,visible); $(#captchaContacto).attr(value,); $(#captchaContacto).focus(); $(#imagenCaptchaContacto).attr(src,captcha/captcha.php?azar + Math.random()); } else { $.ajax({ async: false, type: POST, url: funciones/funciones_usu.php, data: estadoenviaMensaje&nom+nomContacto+&email+emailContacto+&texto+textoContacto, success: function(html){ $(#mensaje).html(html); } }); } }); } else { $(#captchaContactoError).css(visibility,visible); $(#captchaContacto).focus(); return false ; } } /*FORMULARIO FILE *****************************/ function validarFile(){//validamos el formulario de subir imagen if($(inputtypefile).val() ! ){//comprobamos la extensión del archivo var ext $(inputtypefile).val().split(.).pop().toLowerCase(); if($.inArray(ext, gif,png,jpg,jpeg) -1) { $(#imaError).html(Formato incorecto);//ponemos contenido en el marquee de error y visibilidad $(#imaError).css(visibility,visible); $(inputtypefile).attr(value,);//borramos el contenido del input } else {//ocultamos la caja desplegable del formulario y lo mandamos $(#contenido_late_der a.close-reveal-modal).click(); document.form_file.submit(); } } else { $(#imaError).html(Debe seleccionar una imagen); $(#imaError).css(visibility,visible); //$(#fileError).css(visibility,visible); } } /*CAPTCHA ************************/ function actualizaCaptcha(idImagen){//actualizamos los valores del captcha //$(idImagen).attr(src,captcha/captcha.php?azar + Math.random());//no lo coge el Crome $(#imagenCaptcha,#imagenCaptchaContacto).attr(src,captcha/captcha.php?azar + Math.random()); //$(#imagenCaptchaContacto).attr(src,captcha/captcha.php?azar + Math.random()); } /*PROGRAMACIÓN **********************************/ function ocultaTexto(){ var busqueda $.trim($(#busca).val()); if(busqueda Buscar...){ $(#busca).attr(value, ); } } function busqueda(){ var busca $.trim($(#busca).val()); if(busca || busca Buscar...){ $(#dialog .oculto).css(display,none);//ocultamos los mensajes de diálogos y título //$(#dialog).attr(title,); $(#confirmaBusca).css(display,block);//activa la visibilidad del mensaje //$(#dialog).attr(title,Sugerencia);//título del diálogo // Dialog $(#dialog).dialog({//mostramos un diálogo de confirmación antes de borrar autoOpen: true, width: 340, buttons: { Ok: function() { $(this).dialog(close); $(#busca).attr(value, Buscar...); $(#confirmaBusca).css(display,none);//desactiva la visibilidad del mensaje } } }); } else {//mandamos la palabra de búsqueda a funciones_usu para que la procese $.post(funciones/funciones_usu.php,{estado:busqueda,texto:busca}, function(data){$(#result).html(data);}); $(#contentBusqueda).css(display,block);//mostramos el contenido de la búsqueda en programación $(#botonBusca).click();//hacemos click en el botón de búsqueda } } /*FORMULARIO OLVIDA CONTRASEÑA**************************************/ function validaFormOlviContra(){//validamos el formulario de subir imagen var emailOlviContra $.trim($(#emailOlvidaContra).val()); var validaEmail /^(a-z|0-9)+(\.?(a-z|0-9)+)?@(a-z|0-9){2,}(\.a-z{2,3})(\.a-z{2})?$/; if(emailOlviContra || !validaEmail.test(emailOlviContra)){ $(#emailOlviContraError).html(Email incorrecto);//ponemos contenido en el marquee de error y visibilidad $(#emailOlviContraError).css(visibility,visible); //$(#emailOlvidaContra).attr(value, ); $(#emailOlvidaContra).focus(); return false ; } else {//ocultamos la caja desplegable del formulario y lo mandamos $(#olvidaContra a.close-reveal-modal).click(); //mandamos el email a funciones_usu para que lo procese $.post(funciones/funciones_usu.php,{estado:mandaContra,email:emailOlviContra}, function(html){$(#mensaje).html(html);}); } } /*OCULTA LOS MARQUEES DE AVISO******************************************/ function compruebaMarquee()//oculta los marquees en movimiento de mensajes de error { if($(marquee).css(visibility, visible)){ $(marquee).css(visibility, hidden); } } var no_validadotrue function guardar() { // Si el cliente no se ha validado, no se puede guardar el carrito if (no_validadotrue) { /*if (confirm(Debe validarse para realizar el pedido. Acepte si es un cliente registrado o pulse cancelar para registrarse.)){ alert(Introduzca su usuario y clave en la parte superior derecha); document.getElementById(login).focus(); } else { if (confirm(¿Desea registrarse como usuario?)) { document.location registrate.php; } } return false; */ $(#popup-login).addClass(visible).removeClass(hidden); $(#filter).addClass(active); return false; }else{ if ((document.getElementById(gastos-envio).value0) || (document.getElementById(gastos-envio).valuenull)) { var cadErr ; cadErr+ -Debe de seleccionar una forma de envío\n; alert(cadErr); return false; }else{ return true; } }} /script> script async languagejavascript> //Cargaajax.js //CARGA DISTINTOS CONTENIDOS EN UN CONTENEDOR(ETIQUETA HTML)// Vamos a presuponer que el usuario es una persona inteligente...var isIE false;// Creamos una variable para el objeto XMLHttpRequestvar req;// Creamos una funcion para cargar los datos en nuestro objeto.// Logicamente, antes tenemos que crear el objeto.// Vease que la sintaxis varia dependiendo de si usamos un navegador decente// o Internet Explorerfunction cargaXML(url) { // Primero vamos a ver si la URL es una URL :) if(url){ return; } //alert(nomId); // Usuario inteligente... if (window.XMLHttpRequest) { req new XMLHttpRequest(); req.onreadystatechange processReqChange; req.open(GET, url, true); req.send(null); // ...y usuario de Internet Explorer Windows } else if (window.ActiveXObject) { isIE true; req new ActiveXObject(Microsoft.XMLHTTP); if (req) { req.onreadystatechange processReqChange; req.open(GET, url, true); req.send(); } }}// Funcion que se llama cada vez que se dispara el evento onreadystatechange// del objeto XMLHttpRequestfunction processReqChange(){ //le dicimos en nombre de id de la etiqueta donde queremos cargar el contenido var detalles document.getElementById(contenido_centro); //alert(detalles); if(req.readyState 4){ detalles.innerHTML req.responseText; } else { detalles.innerHTML div aligncenter>img srcimagenes/loading.gif alignmiddle altloading titleloading />/div>; }} /script> script async typetext/javascript> $(window).load(function() { //quitamos la funcionalidad de la etiqueta a para que no salte la página //también cambiaremos la url (coge una variable global de funciones/constantes.php) $(#menu_vertical a).click(function (e) { e.preventDefault(); e.stopPropagation(); // Para navegadores que soportan la función. //si el navegador no es IE utiliza la function pushstate(), en caso contrario utilizará hash() if (typeof window.history.pushState function) { pushstate(); //Cambaimos también el title $(document).attr(title, ROLDAN LONERA, S.L.P.); } else{ //hash(); //Cambaimos también el title $(document).attr(title, ROLDAN LONERA, S.L.P.); } //window.location.replace(http://localhost/confit2/); //parent.location.hash http://localhost/confit2/; }); $(#menu_vertical a.nivel1).click(function(){ var id_elemento $(this).attr(id); var num_division $(this).attr(name); //comprobamos el número de división para cargar el contenido en la parte central if(num_division 3){//secciones //caragamos en contenido_centro los productos cargaXML(/utilidades/mostrar_productos.php?idseccion+id_elemento+&codsubfamiliacodsubfamilia); } else if(num_division 2){//familias //caragamos en contenido_centro los productos cargaXML(/utilidades/mostrar_productos.php?idfamilia+id_elemento+&codsubfamiliacodsubfamilia); } else{//productos //caragamos en contenido_centro los productos cargaXML(/utilidades/mostrar_productos.php?codsubfamilia+id_elemento+); } $.ajax({ async: false, type: POST, url: /utilidades/obtener_submenu.php, data: id+id_elemento+&division+num_division+&obten_submenu1, success: function(html){ $(#+id_elemento).next(div.submenu_nivel2).html(html).slideToggle(300); //ocultamos los demás div de nivel 2 $(div.submenu_nivel2).not($(#+id_elemento).next(div.submenu_nivel2)).slideUp(slow); } }); }); }); //función que carga los subsubmenús y a su vez el contenido en el centro function carga_subsubmenu(id_fami){ //caragamos en contenido_centro los productos de la familia seleccionada cargaXML(/utilidades/mostrar_productos.php?idfamilia+id_fami+&codsubfamiliacodsubfamilia); $.ajax({ async: false, type: POST, url: /utilidades/obtener_submenu.php, data: id_familia+id_fami+&obten_subsubmenu1, success: function(html){ $(#+id_fami).next(div.submenu_nivel3).html(html).slideToggle(300); //ocultamos los demás div de nivel 3 $(div.submenu_nivel3).not($(#+id_fami).next(div.submenu_nivel3)).slideUp(slow); } }); } var hasLoaded false; //funciones para modificar la url al clicar en el menú lateral function pushstate(){ var url DIR_URL; // Cambio el historial del navegador. //window.history.pushState({ path: url }, url, url); window.history.pushState(window.location.hash, ROLDAN LONERA, S.L.P., url); //window.onpopstate window.location.hash; //alert(window.onpopstate funcRef;); //window.history.pushState(null,null,url); return false; } function hash(){//lo que hace es añadirle algo a la url // Para i.e // Función para determinar cuando cambia el hash de la página. /*$(window).bind(hashchange,function(){ var hash +window.location.hash+; hash hash.replace(#!,); if(hash && hash ! ){ alert(hash); } });*/ var url_ie DIR_URL; // Cambio el historial del navegador. window.location.hash url_ie; //$(window).trigger(hashchange); return false; }/script> !-- Cargar jQuery --> link relstylesheet href/js/css/anythingslider.css typetext/css /> script async languagejavascript> /*! AnythingSlider v1.9.0 minified using Google Closure Compiler Original by Chris Coyier: http://css-tricks.com Get the latest version: https://github.com/CSS-Tricks/AnythingSlider */ ;(function(d,m,l){d.anythingSliderfunction(j,p){var athis,b,k;a.elj;a.$eld(j).addClass(anythingBase).wrap(div classanythingSlider>div classanythingWindow />/div>);a.$el.data(AnythingSlider,a);a.initfunction(){a.optionsbd.extend({},d.anythingSlider.defaults,p);a.initialized!1;d.isFunction(b.onBeforeInitialize)&&a.$el.bind(before_initialize,b.onBeforeInitialize);a.$el.trigger(before_initialize,a);d(\x3c!--if lte IE 8>script>jQuery(body).addClass(as-oldie);\x3c/script>!endif--\x3e).appendTo(body).remove(); a.$wrappera.$el.parent().closest(div.anythingSlider).addClass(anythingSlider-+b.theme);a.$outera.$wrapper.parent();a.$windowa.$el.closest(div.anythingWindow);a.$wind(m);a.$controlsd(div classanythingControls>/div>);a.$navd(ul classthumbNav>li>a>span>/span>/a>/li>/ul>);a.$startStopd(a href# classstart-stop>/a>);if(b.buildStartStop||b.buildNavigation)a.$controls.appendTo(b.appendControlsTo&&d(b.appendControlsTo).length?d(b.appendControlsTo):a.$wrapper);b.buildNavigation&& a.$nav.appendTo(b.appendNavigationTo&&d(b.appendNavigationTo).length?d(b.appendNavigationTo):a.$controls);b.buildStartStop&&a.$startStop.appendTo(b.appendStartStopTo&&d(b.appendStartStopTo).length?d(b.appendStartStopTo):a.$controls);a.runTimesd(.anythingBase).length;a.regexb.hashTags?RegExp(panel+a.runTimes+-(\\d+),i):null;1a.runTimes&&a.makeActive();a.flag!1;b.autoPlayLocked&&(b.autoPlay!0);a.playingb.autoPlay;a.slideshow!1;a.hovered!1;a.panelSize;a.currentPagea.targetPage b.startPanelparseInt(b.startPanel,10)||1;b.changeByparseInt(b.changeBy,10)||1;k(b.mode||h).toLowerCase().match(/(h|v|f)/);kb.vertical?v:(k||h)0;b.modevk?vertical:fk?fade:horizontal;fk&&(b.showMultiple1,b.infiniteSlides!1);a.adjb.infiniteSlides?0:1;a.adjustMultiple0;b.playRtl&&a.$wrapper.addClass(rtl);b.buildStartStop&&a.buildAutoPlay();b.buildArrows&&a.buildNextBackButtons();a.$lastPagea.$targetPagea.$currentPage;a.updateSlider();b.expand&&(a.$window.css({width:100%, height:100%}),a.checkResize());d.isFunction(d.easingb.easing)||(b.easingswing);b.pauseOnHover&&a.$wrapper.hover(function(){a.playing&&(a.$el.trigger(slideshow_paused,a),a.clearTimer(!0))},function(){a.playing&&(a.$el.trigger(slideshow_unpaused,a),a.startStop(a.playing,!0))});a.slideControls(!1);a.$wrapper.bind(mouseenter mouseleave,function(b){d(this)mouseenterb.type?addClass:removeClass(anythingSlider-hovered);a.hoveredmouseenterb.type?!0:!1;a.slideControls(a.hovered)}); d(l).keyup(function(c){if(b.enableKeyboard&&(a.$wrapper.hasClass(activeSlider)&&!c.target.tagName.match(TEXTAREA|INPUT|SELECT))&&!(vertical!b.mode&&(38c.which||40c.which)))switch(c.which){case 39:case 40:a.goForward();break;case 37:case 38:a.goBack()}});a.currentPage(b.hashTags?a.gotoHash():)||b.startPanel||1;a.gotoPage(a.currentPage,!1,null,-1);var cslideshow_paused slideshow_unpaused slide_init slide_begin slideshow_stop slideshow_start initialized swf_completed.split( );d.each(onShowPause onShowUnpause onSlideInit onSlideBegin onShowStop onShowStart onInitialized onSWFComplete.split( ), function(f,e){d.isFunction(be)&&a.$el.bind(cf,be)});d.isFunction(b.onSlideComplete)&&a.$el.bind(slide_complete,function(){setTimeout(function(){b.onSlideComplete(a)},0);return!1});a.initialized!0;a.$el.trigger(initialized,a);a.startStop(b.autoPlay)};a.updateSliderfunction(){a.$el.children(.cloned).remove();a.navTextVisiblehidden!a.$nav.find(span:first).css(visibility);a.$nav.empty();a.currentPagea.currentPage||1;a.$itemsa.$el.children();a.pagesa.$items.length;a.dirvertical b.mode?top:left;b.showMultipleparseInt(b.showMultiple,10)||1;b.navigationSize!1b.navigationSize?0:parseInt(b.navigationSize,10)||0;a.$items.find(a).unbind(focus.AnythingSlider).bind(focus.AnythingSlider,function(c){var fd(this).closest(.panel),fa.$items.index(f)+a.adj;a.$items.find(.focusedLink).removeClass(focusedLink);d(this).addClass(focusedLink);a.$window.scrollLeft(0).scrollTop(0);if(-1!f&&(f>a.currentPage+b.showMultiple||fa.currentPage))a.gotoPage(f),c.preventDefault()}); 1b.showMultiple&&(b.showMultiple>a.pages&&(b.showMultiplea.pages),a.adjustMultipleb.infiniteSlides&&1a.pages?0:b.showMultiple-1);a.$controls.add(a.$nav).add(a.$startStop).add(a.$forward).add(a.$back)1>a.pages?hide:show();1a.pages&&a.buildNavigation();fade!b.mode&&(b.infiniteSlides&&1a.pages)&&(a.$el.prepend(a.$items.filter(:last).clone().addClass(cloned)),1b.showMultiple?a.$el.append(a.$items.filter(:lt(+b.showMultiple+)).clone().addClass(cloned multiple)):a.$el.append(a.$items.filter(:first).clone().addClass(cloned)), a.$el.find(.cloned).each(function(){d(this).find(a,input,textarea,select,button,area,form).attr({disabled:disabled,name:});d(this).find(id)d.fn.addBack?addBack:andSelf().removeAttr(id)}));a.$itemsa.$el.addClass(b.mode).children().addClass(panel);a.setDimensions();b.resizeContents?(a.$items.css(width,a.width),a.$wrapper.css(width,a.getDim(a.currentPage)0).add(a.$items).css(height,a.height)):a.$win.load(function(){a.setDimensions();ka.getDim(a.currentPage);a.$wrapper.css({width:k0, height:k1});a.setCurrentPage(a.currentPage,!1)});a.currentPage>a.pages&&(a.currentPagea.pages);a.setCurrentPage(a.currentPage,!1);a.$nav.find(a).eq(a.currentPage-1).addClass(cur);fadeb.mode&&(ka.$items.eq(a.currentPage-1),b.resumeOnVisible?k.css({opacity:1}).siblings().css({opacity:0}):(a.$items.css(opacity,1),k.fadeIn(0).siblings().fadeOut(0)))};a.buildNavigationfunction(){if(b.buildNavigation&&1a.pages){var c,f,e,g,h;a.$items.filter(:not(.cloned)).each(function(n){hd(li/>); en+1;f(1e? first:)+(ea.pages? last:);ca classpanel+e+(a.navTextVisible?: +b.tooltipClass+ title@)+ href#>span>@/span>/a>;d.isFunction(b.navigationFormatter)?(gb.navigationFormatter(e,d(this)),stringtypeof g?h.html(c.replace(/@/g,g)):hd(li/>,g)):h.html(c.replace(/@/g,e));h.appendTo(a.$nav).addClass(f).data(index,e)});a.$nav.children(li).bind(b.clickControls,function(c){!a.flag&&b.enableNavigation&&(a.flag!0,setTimeout(function(){a.flag!1},100), a.gotoPage(d(this).data(index)));c.preventDefault()});b.navigationSize&&b.navigationSizea.pages&&(a.$controls.find(.anythingNavWindow).length||a.$nav.before(ul>li classprev>a href#>span>+b.backText+/span>/a>/li>/ul>).after(ul>li classnext>a href#>span>+b.forwardText+/span>/a>/li>/ul>).wrap(div classanythingNavWindow>/div>),a.navWidthsa.$nav.find(li).map(function(){return d(this).outerWidth(!0)+Math.ceil(parseInt(d(this).find(span).css(left),10)/ 2||0)}).get(),a.navLefta.currentPage,a.$nav.width(a.navWidth(1,a.pages+1)+25),a.$controls.find(.anythingNavWindow).width(a.navWidth(1,b.navigationSize+1)).end().find(.prev,.next).bind(b.clickControls,function(c){a.flag||(a.flag!0,setTimeout(function(){a.flag!1},200),a.navWindow(a.navLeft+b.navigationSize*(d(this).is(.prev)?-1:1)));c.preventDefault()}))}};a.navWidthfunction(b,f){var e;eMath.min(b,f);for(var dMath.max(b,f),h0;ed;e++)h+a.navWidthse-1||0;return h};a.navWindowfunction(c){if(b.navigationSize&& b.navigationSizea.pages&&a.navWidths){var fa.pages-b.navigationSize+1;c1>c?1:1c&&cf?c:f;c!a.navLeft&&(a.$controls.find(.anythingNavWindow).animate({scrollLeft:a.navWidth(1,c),width:a.navWidth(c,c+b.navigationSize)},{queue:!1,duration:b.animationTime}),a.navLeftc)}};a.buildNextBackButtonsfunction(){a.$forwardd(span classarrow forward>a href#>span>+b.forwardText+/span>/a>/span>);a.$backd(span classarrow back>a href#>span>+b.backText+/span>/a>/span>);a.$back.bind(b.clickBackArrow, function(c){b.enableArrows&&!a.flag&&(a.flag!0,setTimeout(function(){a.flag!1},100),a.goBack());c.preventDefault()});a.$forward.bind(b.clickForwardArrow,function(c){b.enableArrows&&!a.flag&&(a.flag!0,setTimeout(function(){a.flag!1},100),a.goForward());c.preventDefault()});a.$back.add(a.$forward).find(a).bind(focusin focusout,function(){d(this).toggleClass(hover)});a.$back.appendTo(b.appendBackTo&&d(b.appendBackTo).length?d(b.appendBackTo):a.$wrapper);a.$forward.appendTo(b.appendForwardTo&& d(b.appendForwardTo).length?d(b.appendForwardTo):a.$wrapper);a.arrowWidtha.$forward.width();a.arrowRightparseInt(a.$forward.css(right),10);a.arrowLeftparseInt(a.$back.css(left),10)};a.buildAutoPlayfunction(){a.$startStop.html(span>+(a.playing?b.stopText:b.startText)+/span>).bind(b.clickSlideshow,function(c){b.enableStartStop&&(a.startStop(!a.playing),a.makeActive(),a.playing&&!b.autoPlayDelayed&&a.goForward(!0,b.playRtl));c.preventDefault()}).bind(focusin focusout,function(){d(this).toggleClass(hover)})}; a.checkResizefunction(b){var f!(!l.hidden&&!l.webkitHidden&&!l.mozHidden&&!l.msHidden);clearTimeout(a.resizeTimer);a.resizeTimersetTimeout(function(){var ea.$outer.width(),dBODYa.$outer0.tagName?a.$win.height():a.$outer.height();if(!f&&(a.lastDim0!e||a.lastDim1!d))a.setDimensions(),a.gotoPage(a.currentPage,a.playing,null,-1);undefinedtypeof b&&a.checkResize()},f?2E3:500)};a.setDimensionsfunction(){a.$wrapper.find(.anythingWindow, .anythingBase, .panel)d.fn.addBack?addBack: andSelf().css({width:,height:});a.widtha.$el.width();a.heighta.$el.height();a.outerPada.$wrapper.innerWidth()-a.$wrapper.width(),a.$wrapper.innerHeight()-a.$wrapper.height();var c,f,e,g,h0,n{width:100%,height:100%},j1b.showMultiple&&horizontalb.mode?a.width||a.$window.width()/b.showMultiple:a.$window.width(),k1b.showMultiple&&verticalb.mode?a.height/b.showMultiple||a.$window.height()/b.showMultiple:a.$window.height();b.expand&&(a.lastDima.$outer.width(),a.$outer.height(), ca.lastDim0-a.outerPad0,fa.lastDim1-a.outerPad1,a.$wrapper.add(a.$window).css({width:c,height:f}),a.heightf1b.showMultiple&&verticalb.mode?k:f,a.widthj1b.showMultiple&&horizontalb.mode?c/b.showMultiple:c,a.$items.css({width:j,height:k}));a.$items.each(function(k){gd(this);eg.children();b.resizeContents?(ca.width,fa.height,g.css({width:c,height:f}),e.length&&(EMBEDe0.tagName&&e.attr(n),OBJECTe0.tagName&&e.find(embed).attr(n),1e.length&&e.css(n))):(vertical b.mode?(cg.css(display,inline-block).width(),g.css(display,)):cg.width()||a.width,1e.length&&c>j&&(ce.width()>j?j:e.width(),e.css(max-width,c)),g.css({width:c,height:}),f1e.length?e.outerHeight(!0):g.height(),fa.outerPad1&&(fa.height),g.css(height,f));a.panelSizekc,f,h;h+verticalb.mode?f:c});a.$el.css(verticalb.mode?height:width,fadeb.mode?a.width:h)};a.getDimfunction(c){var f,e,da.width,ha.height;if(1>a.pages||isNaN(c))returnd,h;cb.infiniteSlides&& 1a.pages?c:c-1;if(ea.panelSizec)de0||d,he1||h;if(1b.showMultiple)for(e1;eb.showMultiple;e++)fc+e,verticalb.mode?(dMath.max(d,a.panelSizef0),h+a.panelSizef1):(d+a.panelSizef0,hMath.max(h,a.panelSizef1));returnd,h};a.goForwardfunction(c,d){a.gotoPage(ab.allowRapidChange?targetPage:currentPage+b.changeBy*(d?-1:1),c)};a.goBackfunction(c){a.gotoPage(ab.allowRapidChange?targetPage:currentPage-b.changeBy,c)};a.gotoPagefunction(c,f,e,g){!0!f&&(f!1, a.startStop(!1),a.makeActive());/^#|./.test(c)&&d(c).length&&(cd(c).closest(.panel).index()+a.adj);if(1!b.changeBy){var ha.pages-a.adjustMultiple;1>c&&(cb.stopAtEnd?1:b.infiniteSlides?a.pages+c:b.showMultiple>1-c?1:h);c>a.pages?cb.stopAtEnd?a.pages:b.showMultiple>1-c?1:c-h:c>h&&(ch)}if(!(1>a.pages)&&(a.$lastPagea.$currentPage,number!typeof c&&(cparseInt(c,10)||b.startPanel,a.setCurrentPage(c)),!f||!b.isVideoPlaying(a)))b.stopAtEnd&&(!b.infiniteSlides&&c>a.pages-b.showMultiple)&& (ca.pages-b.showMultiple+1),a.exactPagec,c>a.pages+1-a.adj&&(c!b.infiniteSlides&&!b.stopAtEnd?1:a.pages),ca.adj&&(c!b.infiniteSlides&&!b.stopAtEnd?a.pages:1),b.infiniteSlides||(a.exactPagec),a.currentPagec>a.pages?a.pages:1>c?1:a.currentPage,a.$currentPagea.$items.eq(a.currentPage-a.adj),a.targetPage0c?a.pages:c>a.pages?1:c,a.$targetPagea.$items.eq(a.targetPage-a.adj),gundefined!typeof g?g:b.animationTime,0g&&a.$el.trigger(slide_init,a),0g&&a.slideControls(!0),b.buildNavigation&& a.setNavigation(a.targetPage),!0!f&&(f!1),(!f||b.stopAtEnd&&ca.pages)&&a.startStop(!1),0g&&a.$el.trigger(slide_begin,a),setTimeout(function(d){var f,h!0;b.allowRapidChange&&a.$wrapper.add(a.$el).add(a.$items).stop(!0,!0);b.resizeContents||(fa.getDim(c),d{},a.$wrapper.width()!f0&&(d.widthf0||a.width,h!1),a.$wrapper.height()!f1&&(d.heightf1||a.height,h!1),h||a.$wrapper.filter(:not(:animated)).animate(d,{queue:!1,duration:0>g?0:g,easing:b.easing}));fadeb.mode?a.$lastPage0! a.$targetPage0?(a.fadeIt(a.$lastPage,0,g),a.fadeIt(a.$targetPage,1,g,function(){a.endAnimation(c,e,g)})):a.endAnimation(c,e,g):(d{},da.dir-a.panelSizeb.infiniteSlides&&1a.pages?c:c-12,verticalb.mode&&!b.resizeContents&&(d.widthf0),a.$el.filter(:not(:animated)).animate(d,{queue:!1,duration:0>g?0:g,easing:b.easing,complete:function(){a.endAnimation(c,e,g)}}))},parseInt(b.delayBeforeAnimate,10)||0)};a.endAnimationfunction(c,d,e){0c?(a.$el.css(a.dir,fadeb.mode?0:-a.panelSizea.pages2), ca.pages):c>a.pages&&(a.$el.css(a.dir,fadeb.mode?0:-a.panelSize12),c1);a.exactPagec;a.setCurrentPage(c,!1);fadeb.mode&&a.fadeIt(a.$items.not(:eq(+(c-a.adj)+)),0,0);a.hovered||a.slideControls(!1);b.hashTags&&a.setHash(c);0e&&a.$el.trigger(slide_complete,a);functiontypeof d&&d(a);b.autoPlayLocked&&!a.playing&&setTimeout(function(){a.startStop(!0)},b.resumeDelay-(b.autoPlayDelayed?b.delay:0))};a.fadeItfunction(a,d,e,g){e0>e?0:e;if(b.resumeOnVisible)a.filter(:not(:animated)).fadeTo(e, d,g);else a.filter(:not(:animated))0d?fadeOut:fadeIn(e,g)};a.setCurrentPagefunction(c,d){cparseInt(c,10);if(!(1>a.pages||0c||isNaN(c))){c>a.pages+1-a.adj&&(ca.pages-a.adj);ca.adj&&(c1);b.buildArrows&&(!b.infiniteSlides&&b.stopAtEnd)&&(a.$forwardca.pages-a.adjustMultiple?addClass:removeClass(disabled),a.$back1c?addClass:removeClass(disabled),ca.pages&&a.playing&&a.startStop());if(!d){var ea.getDim(c);a.$wrapper.css({width:e0,height:e1}).add(a.$window).scrollLeft(0).scrollTop(0); a.$el.css(a.dir,fadeb.mode?0:-a.panelSizeb.infiniteSlides&&1a.pages?c:c-12)}a.currentPagec;a.$currentPagea.$items.removeClass(activePage).eq(c-a.adj).addClass(activePage);b.buildNavigation&&a.setNavigation(c)}};a.setNavigationfunction(b){a.$nav.find(.cur).removeClass(cur).end().find(a).eq(b-1).addClass(cur)};a.makeActivefunction(){a.$wrapper.hasClass(activeSlider)||(d(.activeSlider).removeClass(activeSlider),a.$wrapper.addClass(activeSlider))};a.gotoHashfunction(){var c m.location.hash,fc.indexOf(&),ec.match(a.regex);nulle&&!/^#&/.test(c)&&!/#!?\//.test(c)&&!/\/.test(c)?(cc.substring(0,0f?f:c.length),ed(c).length&&d(c).closest(.anythingBase)0a.el?a.$items.index(d(c).closest(.panel))+a.adj:null):null!e&&(eb.hashTags?parseInt(e1,10):null);return e};a.setHashfunction(b){var dpanel+a.runTimes+-,em.location.hash;undefined!typeof e&&(m.location.hash0e.indexOf(d)?e.replace(a.regex,d+b):e+&+d+b)};a.slideControlsfunction(c){var d c?0:b.animationTime,ec?b.animationTime:0,gc?1:0,hc?0:1;b.toggleControls&&a.$controls.stop(!0,!0).delay(d)c?slideDown:slideUp(b.animationTime/2).delay(e);b.buildArrows&&b.toggleArrows&&(!a.hovered&&a.playing&&(h1,g0),a.$forward.stop(!0,!0).delay(d).animate({right:a.arrowRight+h*a.arrowWidth,opacity:g},b.animationTime/2),a.$back.stop(!0,!0).delay(d).animate({left:a.arrowLeft+h*a.arrowWidth,opacity:g},b.animationTime/2))};a.clearTimerfunction(b){a.timer&&(m.clearInterval(a.timer),!b&&a.slideshow&& (a.$el.trigger(slideshow_stop,a),a.slideshow!1))};a.startStopfunction(c,d){!0!c&&(c!1);if((a.playingc)&&!d)a.$el.trigger(slideshow_start,a),a.slideshow!0;b.buildStartStop&&(a.$startStop.toggleClass(playing,c).find(span).html(c?b.stopText:b.startText),hiddena.$startStop.find(span).css(visibility)&&a.$startStop.addClass(b.tooltipClass).attr(title,c?b.stopText:b.startText));c?(a.clearTimer(!0),a.timerm.setInterval(function(){l.hidden||l.webkitHidden||l.mozHidden||l.msHidden? b.autoPlayLocked||a.startStop():b.isVideoPlaying(a)?b.resumeOnVideoEnd||a.startStop():a.goForward(!0,b.playRtl)},b.delay)):a.clearTimer()};a.init()};d.anythingSlider.defaults{theme:default,mode:horiz,expand:!1,resizeContents:!0,showMultiple:!1,easing:swing,buildArrows:!0,buildNavigation:!0,buildStartStop:!0,toggleArrows:!1,toggleControls:!1,startText:Start,stopText:Stop,forwardText:»,backText:«,tooltipClass:tooltip,enableArrows:!0,enableNavigation:!0,enableStartStop:!0, enableKeyboard:!0,startPanel:1,changeBy:1,hashTags:!0,infiniteSlides:!0,navigationFormatter:null,navigationSize:!1,autoPlay:!1,autoPlayLocked:!1,autoPlayDelayed:!1,pauseOnHover:!0,stopAtEnd:!1,playRtl:!1,delay:3E3,resumeDelay:15E3,animationTime:600,delayBeforeAnimate:0,clickForwardArrow:click,clickBackArrow:click,clickControls:click focusin,clickSlideshow:click,allowRapidChange:!1,resumeOnVideoEnd:!0,resumeOnVisible:!0,isVideoPlaying:function(){return!1}};d.fn.anythingSliderfunction(j,l){return this.each(function(){var a, bd(this).data(AnythingSlider);(typeof j).match(object|undefined)?b?b.updateSlider():new d.anythingSlider(this,j):/\d/.test(j)&&!isNaN(j)&&b?(anumbertypeof j?j:parseInt(d.trim(j),10),1a&&ab.pages&&b.gotoPage(a,!1,l)):/^#|./.test(j)&&d(j).length&&b.gotoPage(j,!1,l)})}})(jQuery,window,document); /script> script async> $(document).ready(function(){/* $(#slider).anythingSlider({ buildArrows: false, buildNavigation: false, buildStartStop: false, autoPlay: true, hashTags: false }); */ }); /script> !-- Fin de jQuery --> !-- CSS plantilla --> link relstylesheet href/prev/plantilla-bodyclear-2cols/estilos-plantilla.css typetext/css /> !-- TipografÃas --> link relstylesheet href/prev/iconfonts.css typetext/css /> link relstylesheet href/prev/plantilla-bodyclear-2cols/csstipografias/tipografias.php typetext/css /> !-- CSS cuerpo --> link relstylesheet href/prev/plantilla-bodyclear-2cols/cssabierto/columnas-lateral-cuerpo.css typetext/css /> link relstylesheet href/prev/plantilla-bodyclear-2cols/cssabierto/formato-cajas.css typetext/css /> link relstylesheet href/prev/plantilla-bodyclear-2cols/cssabierto/colores-rosamorao.php typetext/css /> !-- CSS contenidos --> link relstylesheet href/prev/plantilla-bodyclear-2cols/csscontenidos/menu-corporativo.css typetext/css /> link relstylesheet href/prev/plantilla-bodyclear-2cols/csscontenidos/menu-productos-horizontal.css typetext/css /> link relstylesheet href/prev/plantilla-bodyclear-2cols/csscontenidos/menu-productos-vertical.css typetext/css /> link relstylesheet href/prev/plantilla-bodyclear-2cols/csscontenidos/posiciones.css typetext/css /> link relstylesheet href/prev/plantilla-bodyclear-2cols/csscontenidos/productos.css typetext/css /> link relstylesheet href/prev/plantilla-bodyclear-2cols/csscontenidos/carrito.css typetext/css /> link relstylesheet href/prev/plantilla-bodyclear-2cols/csscontenidos/formularios.css typetext/css /> link relstylesheet href/prev/plantilla-bodyclear-2cols/csscontenidos/miscelanea.css typetext/css /> link relstylesheet href/prev/responsive.css typetext/css /> link relstylesheet href/prev/plantilla-bodyclear-2cols/personalizaciones.css typetext/css /> !-- CSS slider --> link relstylesheet href/prev/js/bxslider/jquery.bxslider.css typetext/css /> !-- CSS plantilla --> link relstylesheet href/prev/plantilla-bodyclear-2cols/estilos-plantilla.css typetext/css /> !-- TipografÃas --> link relstylesheet href/prev/iconfonts.css typetext/css /> link relstylesheet href/prev/plantilla-bodyclear-2cols/csstipografias/tipografias.php typetext/css /> !-- CSS cuerpo --> link relstylesheet href/prev/plantilla-bodyclear-2cols/cssabierto/columnas-lateral-cuerpo.css typetext/css /> link relstylesheet href/prev/plantilla-bodyclear-2cols/cssabierto/formato-cajas.css typetext/css /> link relstylesheet href/prev/plantilla-bodyclear-2cols/cssabierto/colores-rosamorao.php typetext/css /> !-- CSS contenidos --> link relstylesheet href/prev/plantilla-bodyclear-2cols/csscontenidos/menu-corporativo.css typetext/css /> link relstylesheet href/prev/plantilla-bodyclear-2cols/csscontenidos/menu-productos-horizontal.css typetext/css /> link relstylesheet href/prev/plantilla-bodyclear-2cols/csscontenidos/menu-productos-vertical.css typetext/css /> link relstylesheet href/prev/plantilla-bodyclear-2cols/csscontenidos/posiciones.css typetext/css /> link relstylesheet href/prev/plantilla-bodyclear-2cols/csscontenidos/productos.css typetext/css /> link relstylesheet href/prev/plantilla-bodyclear-2cols/csscontenidos/carrito.css typetext/css /> link relstylesheet href/prev/plantilla-bodyclear-2cols/csscontenidos/formularios.css typetext/css /> link relstylesheet href/prev/plantilla-bodyclear-2cols/csscontenidos/miscelanea.css typetext/css /> link relstylesheet href/prev/responsive.css typetext/css /> !-- CSS slider --> link relstylesheet href/js/bxslider/jquery.bxslider.css typetext/css /> link href/js/lightbox/css/lightbox.css relstylesheet /> link hrefhttps://fonts.googleapis.com/icon?familyMaterial+Icons relstylesheet> link relstylesheet href/prev/plantilla-bodyclear-2cols/personalizaciones.css typetext/css /> link relshortcut icon href///logorlfav.png /> meta http-equivContent-Type contenttext/html; charsetiso-8859-1 /> title>Asesoriaronalonera.es | Fiscal-contable-Jurídico-Laboral-Mercantil/title> meta nameviewport contentwidthdevice-width, minimum-scale1, maximum-scale1/> /head> body onload> !-- Contenedor de idiomas y redes --> header> div idcont-header> !-- Zona 2 --> div idzona2> !-- Zona 2B --> div classcontenedor idzona2b> link relstylesheet typetext/css hrefCSS.css> style typetext/css> #logo { height: 157px; width: 798px; border: 0; } /style> !-- Logotipo --> a classlogo-contenedor href/inicio titleROLDAN LONERA, S.L.P.> img src/ficheros/banner_logo_tlf.png altROLDAN LONERA, S.L.P. idlogo titleROLDAN LONERA, S.L.P. />/a> !-- Zona 2C y 2E --> div idzona2e> !-- Acceso usuarios --> script async languageJavascript typetext/javascript> function iniciosesion() { var cadErrHay errores en la introducción de datos:\n; var validadotrue; if ((document.getElementById(login).value) || (document.getElementById(login).valuenull)) { cadErr+ - Introducir nombre de usuario\n; validadofalse; } if ((document.getElementById(password).value) || (document.getElementById(password).valuenull)) { cadErr+ - Introducir contraseña\n; validadofalse; } if (!validado) { alert(cadErr); } else { var xmlhttp; if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttpnew XMLHttpRequest(); } else { // code for IE6, IE5 xmlhttpnew ActiveXObject(Microsoft.XMLHTTP); } xmlhttp.onreadystatechangefunction() { if (xmlhttp.readyState4 && xmlhttp.status200) { alert(xmlhttp.responseText); location.reload(); } } xmlhttp.open(POST,/lib/iniciarsesion.php,true); xmlhttp.setRequestHeader(Content-type,application/x-www-form-urlencoded); xmlhttp.send(login+document.getElementById(login).value+&password+document.getElementById(password).value); } } /script> !-- form onsubmitreturn validariniciosesion(this); actionlib/iniciarsesion.php methodpost> --> !--form idformAcceso methodpost >--> form onsubmitreturn false;> a hrefjavascript:; classbutton-b btn-responsive-menu onclickShowMenu();>/a> div idacceso-usuarios styledisplay:none> h2 idcab-acceso>Acceso clientes/h2> p idprfo-acceso> !-- Usuario --> label forusuario classlabel-usuarios>/label>input typetext namelogin idlogin classinput-usuarios placeholderUsuario/> !-- Contraseña --> label forpassword classlabel-usuarios>/label>input typepassword namepassword idpassword classinput-usuarios placeholderContraseña /> !-- Botón acceso --> !-- button typesubmit classbutton-a login onclickvalidaFormAcc() />Conectarse/button> --> !-- button typesubmit classbutton-a login />Conectarse/button>--> button typesubmit classbutton-a login onclickreturn iniciosesion() />Conectarse/button> div classlinea-separar styleheight:auto;margin:10px 0 20px 0;float: none>/div> /p> /div> /form>!-- Fin Acceso usuarios --> /div> div idzona2c>/div> !-- Fin Zona Zona 2C y 2E --> !-- Fin Zona 2B --> /div > !-- Fin Zona 2 --> !-- Zona 3 --> div idzona3 classresponsive-hide> !-- Zona 3B --> div idzona3b classcontenedor> !-- Navegaci�n --> nav> !-- Menú corporativo --> ul classmenuprodhor styletext-transform:uppercase>li>a href/menu/13/ classmenuprodhor-li1 no-menucorp-submenu>Inicio/a>/li>li>a href/menu/15/NUESTROS SERVICIOS classmenuprodhor-li1 menuprod-hor-flecha>NUESTROS SERVICIOS/a>ul>li>a href/menu/16/FISCAL Y JURÍDICO MERCANTIL classmenuprodhor-li2>FISCAL Y JURÍDICO MERCANTIL/a>/li>li>a href/menu/17/ECONÓMICO, FINANCIERO Y CONTABLE classmenuprodhor-li2>ECONÓMICO, FINANCIERO Y CONTABLE/a>/li>li>a href/menu/18/ADMINISTRACIÓN Y JURÍDICO LABORAL classmenuprodhor-li2>ADMINISTRACIÓN Y JURÍDICO LABORAL/a>/li>li>a href/menu/24/DERECHO CIVIL Y ADMINISTRATIVO classmenuprodhor-li2>DERECHO CIVIL Y ADMINISTRATIVO/a>/li>/ul>/li>li>a href/menu/21/SECTORES ECONÓMICOS classmenuprodhor-li1 no-menucorp-submenu>SECTORES ECONÓMICOS/a>/li>li>a href/menu/14/QUIÉNES SOMOS classmenuprodhor-li1 no-menucorp-submenu>QUIÉNES SOMOS/a>/li>li>a href/menu/19/DÓNDE ESTAMOS classmenuprodhor-li1 no-menucorp-submenu>DÓNDE ESTAMOS/a>/li>li>a href/noticias classmenuprodhor-li1 no-menucorp-submenu>Noticias/a>/li>li>a href/contacto classmenuprodhor-li1 no-menucorp-submenu>Contacto/a>/li> /ul> !-- Fin Menú corporativo --> /nav> /div> !-- Zona 3B --> /div> !-- Fin Zona 3 --> !-- Zona 2D --> div idzona2d> div classcontenedor> script async languagejavascript typetext/javascript> window.onload function () { } var bans new Array(); bans0 new Array(ficheros/top/banner.jpg, BannerNuevo1, );bans1 new Array(ficheros/top/banner2.png, Bannernuevo2, );bans2 new Array(ficheros/top/banner3.png, Bannernuevo3, ); var x window.setInterval(chead(), 1000 * ); var curimg 1; function chead() { //document.getElementById(banner).srcimg/img-princ-0+curimg+.jpg; document.getElementById(banner).src banscurimg0; document.getElementById(banner).alt banscurimg1; var t banscurimg2; curimg++; if (curimg > 3) { curimg 0; } window.clearInterval(x); x window.setInterval(chead(), 1000 * t); } /script>!-- Banner: imagen o flash --> div idcont-banner> !-- Slider --> ul classbxslider> li>a href>img src/ficheros/top/banner.jpg alt/ROLDAN LONERA, S.L.P. - BannerNuevo1 idbanner height240 width720 title/ROLDAN LONERA, S.L.P. - BannerNuevo1 />/a>/li> li>a href>img src/ficheros/top/banner2.png alt/ROLDAN LONERA, S.L.P. - Bannernuevo2 idbanner height240 width720 title/ROLDAN LONERA, S.L.P. - Bannernuevo2 />/a>/li> li>a href>img src/ficheros/top/banner3.png alt/ROLDAN LONERA, S.L.P. - Bannernuevo3 idbanner height240 width720 title/ROLDAN LONERA, S.L.P. - Bannernuevo3 />/a>/li> /ul> /div> /div> /div> !-- Fin Zona 2D --> /div> /header> !-- Fin header --> !-- Zona 4 --> div idzona4> !-- Zona 4B --> div idzona4b classcontenedor flotantes> !-- Panel principal --> div idpanel-principal> !-- Alerta Cookies --> div idcookies-panel classcolor26 > p>Usamos cookies. Si continuas, aceptas el uso de cookies. a hrefmenu/6/Pol%C3%ADtica%20de%20cookies target_blank>Más información/a>/p> p>a classbutton-a onclickquitaaviso();>Acepto/a>/p> /div> script async> function getCookie(c_name){ var c_value document.cookie; var c_start c_value.indexOf( + c_name + ); if (c_start -1){ c_start c_value.indexOf(c_name + ); } if (c_start -1){ c_value null; }else{ c_start c_value.indexOf(, c_start) + 1; var c_end c_value.indexOf(;, c_start); if (c_end -1){ c_end c_value.length; } c_value unescape(c_value.substring(c_start,c_end)); } return c_value; } function setCookie(c_name,value,exdays){ var exdatenew Date(); exdate.setDate(exdate.getDate() + exdays); var c_valueescape(value) + ((exdaysnull) ? : ; expires+exdate.toUTCString()); document.cookiec_name + + c_value; } if(geoip_country_code()ES && getCookie(aviso)!1){ document.getElementById(cookies-panel).style.displayblock; } function PonerCookie(){ setCookie(aviso,1,365); document.getElementById(cookies-panel).style.displaynone; } !-- Cookies Mensaje De Alerta --> function quitaaviso() { $.ajax({ async: false, type: GET, url: /lib/ajax_cookies.php, data: , success: function(html){ document.getElementById(cookies-panel).style.displaynone; } }); } /script> !-- Fin Alerta cookies --> !-- Alerta para menores --> !-- Fin alerta para menores --> /div>!-- Panel principal --> !-- Contenidos --> section> div idcontenidos classflotantes> script typetext/javascript async> $(window).load(function() { //caragamos en contenido_centro los productos del inicio /* cargaXML(/utilidades/mostrar_productos_inicio.php); */ });/script>script async> $(#cont-banner).css({display:block} );/script>!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd>html xmlnshttp://www.w3.org/1999/xhtml xml:langes langes>head>meta http-equivContent-Type contenttext/html; charsetiso-8859-1 />meta http-equivContent-Language contentes />/head>section> !-- Navegaci�n --> p idprfo-nav>a href/inicio classnav>Inicio/a> > a href/inicio classnav>Novedades/a>/p> !-- Cabecera --> h1>Asesoriaronalonera.es | Fiscal-contable-Jurídico-Laboral-Mercantil/h1> p>No hay productos/p> /section>div idcontenido_centro>/div> !-- Publicidad --> ul classlista-publicidad>div styletext-align: center;> /div>/ul>!-- Fin Publicidad --> /div> /section> !-- Fin Contenidos --> /div>!-- Fin Zona 4 --> /div>!-- Fin Zona 4B --> !-- Zona 5 --> div idzona5> /div>!-- Fin Zona 5 --> !-- Zona 6 --> div idzona6> !-- Zona 6B --> footer> div idzona6b classcontenedor> div idcont-pie> !-- Pie --> div> p idpie-empresa>ROLDAN LONERA, S.L.P./p> div idpie-datos> div classpie-telefono>952 41 41 43/div> div classpie-email> a hrefmailto:roldanlon@asesoriaroldanlonera.es classenlaces-pie>roldanlon@asesoriaroldanlonera.es/a>/div> div classpie-direccion>C/ Enrique Scholtz, nº 4, 1ª planta, Oficina 5 Málaga (Málaga)/div> /div> /div> !-- Pie --> !-- Redes sociales -->ul idlista-redes classflotantes> !-- Icono --> li>a href titleInstagram target_blank> img src/img/icon-1562139_960_720.png altInstagram titleInstagram />/a>/li>/ul>!-- Fin Redes sociales -->!-- Redes sociales -->ul idlista-redes classflotantes> !-- Icono --> li>a hrefhttps://www.facebook.com/Linkasoft titleFacebook target_blank> img src/img/54422.png altFacebook titleFacebook />/a>/li>/ul>!-- Fin Redes sociales -->!-- Redes sociales -->ul idlista-redes classflotantes> !-- Icono --> li>a hrefhttp://www.twitter.com/linkasoft titleTwitter target_blank> img src/img/54879.png altTwitter titleTwitter />/a>/li>/ul>!-- Fin Redes sociales -->ul idlista-facebook classflotantes> div idfb-root>/div> script async>(function(d, s, id) { var js, fjs d.getElementsByTagName(s)0; if (d.getElementById(id)) return; js d.createElement(s); js.id id; js.src //connect.facebook.net/es_ES/all.js#xfbml1; fjs.parentNode.insertBefore(js, fjs); }(document, script, facebook-jssdk));/script> html xmlns:fbhttp://ogp.me/ns/fb#> span idiframe-fb>fb:like hrefhttps://www.facebook.com/Linkasoft width450 layoutbutton_count show_facestrue sendtrue>/fb:like>/span>/p> /ul> /div> !-- Hecho por LeKommerce --> div idbottom> div classleft> !-- Idiomas --> ul idlista-idiomas classflotantes> div idgoogle_translate_element alignfloat-left >/div> script typetext/javascript async> function googleTranslateElementInit() { new google.translate.TranslateElement({pageLanguage: es, layout: google.translate.TranslateElement.InlineLayout.SIMPLE}, google_translate_element); } /script> script async typetext/javascript src//translate.google.com/translate_a/element.js?cbgoogleTranslateElementInit>/script> /ul>!-- Fin Idiomas --> /div> div classright> p idprfo-pie-des>Comercio desarrollado con a hrefhttp://www.linkasoft.com idpie-des>Linkasoft LeKommerce/a>/p> /div> /div> /div> /footer> !-- Fin Zona 6B --> /div> !-- Fin Zona 6 --> script async languagejavascript typetext/javascript> function valida_rse() { document.getElementById(login).value document.getElementById(login2).value; document.getElementById(password).value document.getElementById(password2).value; iniciosesion(); } /script> div idpopup-login classhidden color26> div classclose-popup>a hrefjavascript:; onclickShowLogin()>span classicon-close>/span>/a>/div> h2>Cliente registrado/h2> p>Ingresa con tus datos de acceso/p> form methodpost action/registro> !-- Usuario --> p>input typetext namelogin2 idlogin2 classinput-usuarios placeholderEmail/>/p> !-- Contraseña --> p>input typepassword namepassword2 idpassword2 classinput-usuarios placeholderContraseña />/p> !-- Botón acceso --> p>a hrefjavascript:void(0) typesubmit valueSubmit classbutton-a onclickvalida_rse() />Iniciar sesión/a>p> p>a href/recuperar-clave classbutton-c>Olvidé la contraseña/a>/p> /form> p>/p> h2>Cliente nuevo/h2> p>Regístrate para poder hacer tu compra/p> p> a href/registro classbutton-b>Registrarse/a> /p> p>/p> h2>Comprar sin registrarse/h2> p>Comprar sin necesidad de registrarse/p> p> a href/lib/comprarSinRegistrarse.php classbutton-b>Comprar sin registrarse/a> /p> /div> div idfilter onclickfilterBg(); >/div> div idresponsive-menu classhidden>/div> !-- UI --> script async typetext/javascript> $(ul.menuprodhor,ul.lista-nivel1).clone().appendTo(#responsive-menu); $(ul.menucorp).appendTo(#responsive-menu,#menu-colpie); function filterBg(){ $(#filter).removeClass(active); $(#responsive-menu).removeClass(visible).addClass(hidden); $(#popup-login).removeClass(visible).addClass(hidden); }; function ShowLogin() { $(#responsive-menu).removeClass(visible).addClass(hidden); $(#popup-login).toggleClass(hidden).toggleClass(visible); if ($(#popup-login).hasClass(visible)){ $(#filter).addClass(active);} else { $(#filter).removeClass(active);} }; function ShowMenu() { $(#popup-login).removeClass(visible).addClass(hidden); $(#responsive-menu).toggleClass(visible).toggleClass(hidden); if ($(#responsive-menu).hasClass(visible)){ $(#filter).addClass(active);} else { $(#filter).removeClass(active);} }; /script> script async typetext/javascript> function insertaproducto(idproducto, recarga, numuds){ var parametros { idproducto : idproducto, recarga: recarga, numuds : numuds }; $.ajax({ data: parametros, url: /carrito/addcarrito.php, type: get, beforeSend: function () { $(#resultado+idproducto).html(Procesando, espere por favor...); }, success: function (response) { $(#resultado+idproducto).fadeOut(); $(#resultado+idproducto).html(response); $(#resultado+idproducto).fadeIn(); setTimeout(function(){$(#resultado+idproducto).fadeOut()},3000); } }); } /script> script async typetext/javascript> $(document).ready(function(){ $(.bxslider).bxSlider({ adaptiveHeight: true, auto: true, controls: true, }); }); /script> !-- Mejora de velocidad en lekommerce, por esto toda esta plasta de codigo javascript aqui pegado --> script async languagejavascript> /*! jQuery v2.1.3 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */ !function(a,b){objecttypeof module&&objecttypeof module.exports?module.exportsa.document?b(a,!0):function(a){if(!a.document)throw new Error(jQuery requires a window with a document);return b(a)}:b(a)}(undefined!typeof window?window:this,function(a,b){var c,dc.slice,ec.concat,fc.push,gc.indexOf,h{},ih.toString,jh.hasOwnProperty,k{},la.document,m2.1.3,nfunction(a,b){return new n.fn.init(a,b)},o/^\s\uFEFF\xA0+|\s\uFEFF\xA0+$/g,p/^-ms-/,q/-(\da-z)/gi,rfunction(a,b){return b.toUpperCase()};n.fnn.prototype{jquery:m,constructor:n,selector:,length:0,toArray:function(){return d.call(this)},get:function(a){return null!a?0>a?thisa+this.length:thisa:d.call(this)},pushStack:function(a){var bn.merge(this.constructor(),a);return b.prevObjectthis,b.contextthis.context,b},each:function(a,b){return n.each(this,a,b)},map:function(a){return this.pushStack(n.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(d.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var bthis.length,c+a+(0>a?b:0);return this.pushStack(c>0&&b>c?thisc:)},end:function(){return this.prevObject||this.constructor(null)},push:f,sort:c.sort,splice:c.splice},n.extendn.fn.extendfunction(){var a,b,c,d,e,f,garguments0||{},h1,iarguments.length,j!1;for(booleantypeof g&&(jg,gargumentsh||{},h++),objecttypeof g||n.isFunction(g)||(g{}),hi&&(gthis,h--);i>h;h++)if(null!(aargumentsh))for(b in a)cgb,dab,g!d&&(j&&d&&(n.isPlainObject(d)||(en.isArray(d)))?(e?(e!1,fc&&n.isArray(c)?c:):fc&&n.isPlainObject(c)?c:{},gbn.extend(j,f,d)):void 0!d&&(gbd));return g},n.extend({expando:jQuery+(m+Math.random()).replace(/\D/g,),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isFunction:function(a){returnfunctionn.type(a)},isArray:Array.isArray,isWindow:function(a){return null!a&&aa.window},isNumeric:function(a){return!n.isArray(a)&&a-parseFloat(a)+1>0},isPlainObject:function(a){returnobject!n.type(a)||a.nodeType||n.isWindow(a)?!1:a.constructor&&!j.call(a.constructor.prototype,isPrototypeOf)?!1:!0},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},type:function(a){return nulla?a+:objecttypeof a||functiontypeof a?hi.call(a)||object:typeof a},globalEval:function(a){var b,ceval;an.trim(a),a&&(1a.indexOf(use strict)?(bl.createElement(script),b.texta,l.head.appendChild(b).parentNode.removeChild(b)):c(a))},camelCase:function(a){return a.replace(p,ms-).replace(q,r)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()b.toLowerCase()},each:function(a,b,c){var d,e0,fa.length,gs(a);if(c){if(g){for(;f>e;e++)if(db.apply(ae,c),d!1)break}else for(e in a)if(db.apply(ae,c),d!1)break}else if(g){for(;f>e;e++)if(db.call(ae,e,ae),d!1)break}else for(e in a)if(db.call(ae,e,ae),d!1)break;return a},trim:function(a){return nulla?:(a+).replace(o,)},makeArray:function(a,b){var cb||;return null!a&&(s(Object(a))?n.merge(c,stringtypeof a?a:a):f.call(c,a)),c},inArray:function(a,b,c){return nullb?-1:g.call(b,a,c)},merge:function(a,b){for(var c+b.length,d0,ea.length;c>d;d++)ae++bd;return a.lengthe,a},grep:function(a,b,c){for(var d,e,f0,ga.length,h!c;g>f;f++)d!b(af,f),d!h&&e.push(af);return e},map:function(a,b,c){var d,f0,ga.length,hs(a),i;if(h)for(;g>f;f++)db(af,f,c),null!d&&i.push(d);else for(f in a)db(af,f,c),null!d&&i.push(d);return e.apply(,i)},guid:1,proxy:function(a,b){var c,e,f;returnstringtypeof b&&(cab,ba,ac),n.isFunction(a)?(ed.call(arguments,2),ffunction(){return a.apply(b||this,e.concat(d.call(arguments)))},f.guida.guida.guid||n.guid++,f):void 0},now:Date.now,support:k}),n.each(Boolean Number String Function Array Date RegExp Object Error.split( ),function(a,b){hobject +b+b.toLowerCase()});function s(a){var ba.length,cn.type(a);returnfunctionc||n.isWindow(a)?!1:1a.nodeType&&b?!0:arrayc||0b||numbertypeof b&&b>0&&b-1 in a}var tfunction(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,usizzle+1*new Date,va.document,w0,x0,yhb(),zhb(),Ahb(),Bfunction(a,b){return ab&&(l!0),0},C131,D{}.hasOwnProperty,E,FE.pop,GE.push,HE.push,IE.slice,Jfunction(a,b){for(var c0,da.length;d>c;c++)if(acb)return c;return-1},Kchecked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped,L\\x20\\t\\r\\n\\f,M(?:\\\\.|\\w-|^\\x00-\\xa0)+,NM.replace(w,w#),O\\+L+*(+M+)(?:+L+*(*^$|!~?)+L+*(?:((?:\\\\.|^\\\\)*)|\((?:\\\\.|^\\\\\)*)\|(+N+))|)+L+*\\,P:(+M+)(?:\\(((((?:\\\\.|^\\\\)*)|\((?:\\\\.|^\\\\\)*)\)|((?:\\\\.|^\\\\()\\|+O+)*)|.*)\\)|),Qnew RegExp(L++,g),Rnew RegExp(^+L++|((?:^|^\\\\)(?:\\\\.)*)+L++$,g),Snew RegExp(^+L+*,+L+*),Tnew RegExp(^+L+*(>+~|+L+)+L+*),Unew RegExp(+L+*(^\\\*?)+L+*\\,g),Vnew RegExp(P),Wnew RegExp(^+N+$),X{ID:new RegExp(^#(+M+)),CLASS:new RegExp(^\\.(+M+)),TAG:new RegExp(^(+M.replace(w,w*)+)),ATTR:new RegExp(^+O),PSEUDO:new RegExp(^+P),CHILD:new RegExp(^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(+L+*(even|odd|((+-|)(\\d*)n|)+L+*(?:(+-|)+L+*(\\d+)|))+L+*\\)|),i),bool:new RegExp(^(?:+K+)$,i),needsContext:new RegExp(^+L+*>+~|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(+L+*((?:-\\d)?\\d*)+L+*\\)|)(?^-|$),i)},Y/^(?:input|select|textarea|button)$/i,Z/^h\d$/i,$/^^{+\{\s*\native \w/,_/^(?:#(\w-+)|(\w+)|\.(\w-+))$/,ab/+~/,bb/|\\/g,cbnew RegExp(\\\\(\\da-f{1,6}+L+?|(+L+)|.),ig),dbfunction(a,b,c){var d0x+b-65536;return d!d||c?b:0>d?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)},ebfunction(){m()};try{H.apply(EI.call(v.childNodes),v.childNodes),Ev.childNodes.length.nodeType}catch(fb){H{apply:E.length?function(a,b){G.apply(a,I.call(b))}:function(a,b){var ca.length,d0;while(ac++bd++);a.lengthc-1}}}function gb(a,b,d,e){var f,h,j,k,l,o,r,s,w,x;if((b?b.ownerDocument||b:v)!n&&m(b),bb||n,dd||,kb.nodeType,string!typeof a||!a||1!k&&9!k&&11!k)return d;if(!e&&p){if(11!k&&(f_.exec(a)))if(jf1){if(9k){if(hb.getElementById(j),!h||!h.parentNode)return d;if(h.idj)return d.push(h),d}else if(b.ownerDocument&&(hb.ownerDocument.getElementById(j))&&t(b,h)&&h.idj)return d.push(h),d}else{if(f2)return H.apply(d,b.getElementsByTagName(a)),d;if((jf3)&&c.getElementsByClassName)return H.apply(d,b.getElementsByClassName(j)),d}if(c.qsa&&(!q||!q.test(a))){if(sru,wb,x1!k&&a,1k&&object!b.nodeName.toLowerCase()){og(a),(rb.getAttribute(id))?sr.replace(bb,\\$&):b.setAttribute(id,s),sid+s+ ,lo.length;while(l--)ols+rb(ol);wab.test(a)&&pb(b.parentNode)||b,xo.join(,)}if(x)try{return H.apply(d,w.querySelectorAll(x)),d}catch(y){}finally{r||b.removeAttribute(id)}}}return i(a.replace(R,$1),b,d,e)}function hb(){var a;function b(c,e){return a.push(c+ )>d.cacheLength&&delete ba.shift(),bc+ e}return b}function ib(a){return au!0,a}function jb(a){var bn.createElement(div);try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),bnull}}function kb(a,b){var ca.split(|),ea.length;while(e--)d.attrHandleceb}function lb(a,b){var cb&&a,dc&&1a.nodeType&&1b.nodeType&&(~b.sourceIndex||C)-(~a.sourceIndex||C);if(d)return d;if(c)while(cc.nextSibling)if(cb)return-1;return a?1:-1}function mb(a){return function(b){var cb.nodeName.toLowerCase();returninputc&&b.typea}}function nb(a){return function(b){var cb.nodeName.toLowerCase();return(inputc||buttonc)&&b.typea}}function ob(a){return ib(function(b){return b+b,ib(function(c,d){var e,fa(,c.length,b),gf.length;while(g--)cefg&&(ce!(dece))})})}function pb(a){return a&&undefined!typeof a.getElementsByTagName&&a}cgb.support{},fgb.isXMLfunction(a){var ba&&(a.ownerDocument||a).documentElement;return b?HTML!b.nodeName:!1},mgb.setDocumentfunction(a){var b,e,ga?a.ownerDocument||a:v;return g!n&&9g.nodeType&&g.documentElement?(ng,og.documentElement,eg.defaultView,e&&e!e.top&&(e.addEventListener?e.addEventListener(unload,eb,!1):e.attachEvent&&e.attachEvent(onunload,eb)),p!f(g),c.attributesjb(function(a){return a.classNamei,!a.getAttribute(className)}),c.getElementsByTagNamejb(function(a){return a.appendChild(g.createComment()),!a.getElementsByTagName(*).length}),c.getElementsByClassName$.test(g.getElementsByClassName),c.getByIdjb(function(a){return o.appendChild(a).idu,!g.getElementsByName||!g.getElementsByName(u).length}),c.getById?(d.find.IDfunction(a,b){if(undefined!typeof b.getElementById&&p){var cb.getElementById(a);return c&&c.parentNode?c:}},d.filter.IDfunction(a){var ba.replace(cb,db);return function(a){return a.getAttribute(id)b}}):(delete d.find.ID,d.filter.IDfunction(a){var ba.replace(cb,db);return function(a){var cundefined!typeof a.getAttributeNode&&a.getAttributeNode(id);return c&&c.valueb}}),d.find.TAGc.getElementsByTagName?function(a,b){returnundefined!typeof b.getElementsByTagName?b.getElementsByTagName(a):c.qsa?b.querySelectorAll(a):void 0}:function(a,b){var c,d,e0,fb.getElementsByTagName(a);if(*a){while(cfe++)1c.nodeType&&d.push(c);return d}return f},d.find.CLASSc.getElementsByClassName&&function(a,b){return p?b.getElementsByClassName(a):void 0},r,q,(c.qsa$.test(g.querySelectorAll))&&(jb(function(a){o.appendChild(a).innerHTMLa id+u+>/a>select id+u+-\f msallowcapture>option selected>/option>/select>,a.querySelectorAll(msallowcapture^).length&&q.push(*^$+L+*(?:|\\)),a.querySelectorAll(selected).length||q.push(\\+L+*(?:value|+K+)),a.querySelectorAll(id~+u+-).length||q.push(~),a.querySelectorAll(:checked).length||q.push(:checked),a.querySelectorAll(a#+u++*).length||q.push(.#.++~)}),jb(function(a){var bg.createElement(input);b.setAttribute(type,hidden),a.appendChild(b).setAttribute(name,D),a.querySelectorAll(named).length&&q.push(name+L+**^$|!~?),a.querySelectorAll(:enabled).length||q.push(:enabled,:disabled),a.querySelectorAll(*,:x),q.push(,.*:)})),(c.matchesSelector$.test(so.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&jb(function(a){c.disconnectedMatchs.call(a,div),s.call(a,s!:x),r.push(!,P)}),qq.length&&new RegExp(q.join(|)),rr.length&&new RegExp(r.join(|)),b$.test(o.compareDocumentPosition),tb||$.test(o.contains)?function(a,b){var c9a.nodeType?a.documentElement:a,db&&b.parentNode;return ad||!(!d||1!d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(bb.parentNode)if(ba)return!0;return!1},Bb?function(a,b){if(ab)return l!0,0;var d!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d(a.ownerDocument||a)(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)d?ag||a.ownerDocumentv&&t(v,a)?-1:bg||b.ownerDocumentv&&t(v,b)?1:k?J(k,a)-J(k,b):0:4&d?-1:1)}:function(a,b){if(ab)return l!0,0;var c,d0,ea.parentNode,fb.parentNode,ha,ib;if(!e||!f)return ag?-1:bg?1:e?-1:f?1:k?J(k,a)-J(k,b):0;if(ef)return lb(a,b);ca;while(cc.parentNode)h.unshift(c);cb;while(cc.parentNode)i.unshift(c);while(hdid)d++;return d?lb(hd,id):hdv?-1:idv?1:0},g):n},gb.matchesfunction(a,b){return gb(a,null,null,b)},gb.matchesSelectorfunction(a,b){if((a.ownerDocument||a)!n&&m(a),bb.replace(U,$1),!(!c.matchesSelector||!p||r&&r.test(b)||q&&q.test(b)))try{var ds.call(a,b);if(d||c.disconnectedMatch||a.document&&11!a.document.nodeType)return d}catch(e){}return gb(b,n,null,a).length>0},gb.containsfunction(a,b){return(a.ownerDocument||a)!n&&m(a),t(a,b)},gb.attrfunction(a,b){(a.ownerDocument||a)!n&&m(a);var ed.attrHandleb.toLowerCase(),fe&&D.call(d.attrHandle,b.toLowerCase())?e(a,b,!p):void 0;return void 0!f?f:c.attributes||!p?a.getAttribute(b):(fa.getAttributeNode(b))&&f.specified?f.value:null},gb.errorfunction(a){throw new Error(Syntax error, unrecognized expression: +a)},gb.uniqueSortfunction(a){var b,d,e0,f0;if(l!c.detectDuplicates,k!c.sortStable&&a.slice(0),a.sort(B),l){while(baf++)baf&&(ed.push(f));while(e--)a.splice(de,1)}return knull,a},egb.getTextfunction(a){var b,c,d0,fa.nodeType;if(f){if(1f||9f||11f){if(stringtypeof a.textContent)return a.textContent;for(aa.firstChild;a;aa.nextSibling)c+e(a)}else if(3f||4f)return a.nodeValue}else while(bad++)c+e(b);return c},dgb.selectors{cacheLength:50,createPseudo:ib,match:X,attrHandle:{},find:{},relative:{>:{dir:parentNode,first:!0}, :{dir:parentNode},+:{dir:previousSibling,first:!0},~:{dir:previousSibling}},preFilter:{ATTR:function(a){return a1a1.replace(cb,db),a3(a3||a4||a5||).replace(cb,db),~a2&&(a3 +a3+ ),a.slice(0,4)},CHILD:function(a){return a1a1.toLowerCase(),ntha1.slice(0,3)?(a3||gb.error(a0),a4+(a4?a5+(a6||1):2*(evena3||odda3)),a5+(a7+a8||odda3)):a3&&gb.error(a0),a},PSEUDO:function(a){var b,c!a6&&a2;return X.CHILD.test(a0)?null:(a3?a2a4||a5||:c&&V.test(c)&&(bg(c,!0))&&(bc.indexOf(),c.length-b)-c.length)&&(a0a0.slice(0,b),a2c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var ba.replace(cb,db).toLowerCase();return*a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()b}},CLASS:function(a){var bya+ ;return b||(bnew RegExp((^|+L+)+a+(+L+|$)))&&y(a,function(a){return b.test(stringtypeof a.className&&a.className||undefined!typeof a.getAttribute&&a.getAttribute(class)||)})},ATTR:function(a,b,c){return function(d){var egb.attr(d,a);return nulle?!b:b?(e+,b?ec:!b?e!c:^b?c&&0e.indexOf(c):*b?c&&e.indexOf(c)>-1:$b?c&&e.slice(-c.length)c:~b?( +e.replace(Q, )+ ).indexOf(c)>-1:|b?ec||e.slice(0,c.length+1)c+-:!1):!0}},CHILD:function(a,b,c,d,e){var fnth!a.slice(0,3),glast!a.slice(-4),hof-typeb;return 1d&&0e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,pf!g?nextSibling:previousSibling,qb.parentNode,rh&&b.nodeName.toLowerCase(),s!i&&!h;if(q){if(f){while(p){lb;while(llp)if(h?l.nodeName.toLowerCase()r:1l.nodeType)return!1;oponlya&&!o&&nextSibling}return!0}if(og?q.firstChild:q.lastChild,g&&s){kqu||(qu{}),jka||,nj0w&&j1,mj0w&&j2,ln&&q.childNodesn;while(l++n&&l&&lp||(mn0)||o.pop())if(1l.nodeType&&++m&&lb){kaw,n,m;break}}else if(s&&(j(bu||(bu{}))a)&&j0w)mj1;else while(l++n&&l&&lp||(mn0)||o.pop())if((h?l.nodeName.toLowerCase()r:1l.nodeType)&&++m&&(s&&((lu||(lu{}))aw,m),lb))break;return m-e,md||m%d0&&m/d>0}}},PSEUDO:function(a,b){var c,ed.pseudosa||d.setFiltersa.toLowerCase()||gb.error(unsupported pseudo: +a);return eu?e(b):e.length>1?(ca,a,,b,d.setFilters.hasOwnProperty(a.toLowerCase())?ib(function(a,c){var d,fe(a,b),gf.length;while(g--)dJ(a,fg),ad!(cdfg)}):function(a){return e(a,0,c)}):e}},pseudos:{not:ib(function(a){var b,c,dh(a.replace(R,$1));return du?ib(function(a,b,c,e){var f,gd(a,null,e,),ha.length;while(h--)(fgh)&&(ah!(bhf))}):function(a,e,f){return b0a,d(b,null,f,c),b0null,!c.pop()}}),has:ib(function(a){return function(b){return gb(a,b).length>0}}),contains:ib(function(a){return aa.replace(cb,db),function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:ib(function(a){return W.test(a||)||gb.error(unsupported lang: +a),aa.replace(cb,db).toLowerCase(),function(b){var c;do if(cp?b.lang:b.getAttribute(xml:lang)||b.getAttribute(lang))return cc.toLowerCase(),ca||0c.indexOf(a+-);while((bb.parentNode)&&1b.nodeType);return!1}}),target:function(b){var ca.location&&a.location.hash;return c&&c.slice(1)b.id},root:function(a){return ao},focus:function(a){return an.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:function(a){return a.disabled!1},disabled:function(a){return a.disabled!0},checked:function(a){var ba.nodeName.toLowerCase();returninputb&&!!a.checked||optionb&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected!0},empty:function(a){for(aa.firstChild;a;aa.nextSibling)if(a.nodeType6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return Z.test(a.nodeName)},input:function(a){return Y.test(a.nodeName)},button:function(a){var ba.nodeName.toLowerCase();returninputb&&buttona.type||buttonb},text:function(a){var b;returninputa.nodeName.toLowerCase()&&texta.type&&(null(ba.getAttribute(type))||textb.toLowerCase())},first:ob(function(){return0}),last:ob(function(a,b){returnb-1}),eq:ob(function(a,b,c){return0>c?c+b:c}),even:ob(function(a,b){for(var c0;b>c;c+2)a.push(c);return a}),odd:ob(function(a,b){for(var c1;b>c;c+2)a.push(c);return a}),lt:ob(function(a,b,c){for(var d0>c?c+b:c;--d>0;)a.push(d);return a}),gt:ob(function(a,b,c){for(var d0>c?c+b:c;++db;)a.push(d);return a})}},d.pseudos.nthd.pseudos.eq;for(b in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})d.pseudosbmb(b);for(b in{submit:!0,reset:!0})d.pseudosbnb(b);function qb(){}qb.prototyped.filtersd.pseudos,d.setFiltersnew qb,ggb.tokenizefunction(a,b){var c,e,f,g,h,i,j,kza+ ;if(k)return b?0:k.slice(0);ha,i,jd.preFilter;while(h){(!c||(eS.exec(h)))&&(e&&(hh.slice(e0.length)||h),i.push(f)),c!1,(eT.exec(h))&&(ce.shift(),f.push({value:c,type:e0.replace(R, )}),hh.slice(c.length));for(g in d.filter)!(eXg.exec(h))||jg&&!(ejg(e))||(ce.shift(),f.push({value:c,type:g,matches:e}),hh.slice(c.length));if(!c)break}return b?h.length:h?gb.error(a):z(a,i).slice(0)};function rb(a){for(var b0,ca.length,d;c>b;b++)d+ab.value;return d}function sb(a,b,c){var db.dir,ec&&parentNoded,fx++;return b.first?function(b,c,f){while(bbd)if(1b.nodeType||e)return a(b,c,f)}:function(b,c,g){var h,i,jw,f;if(g){while(bbd)if((1b.nodeType||e)&&a(b,c,g))return!0}else while(bbd)if(1b.nodeType||e){if(ibu||(bu{}),(hid)&&h0w&&h1f)return j2h2;if(idj,j2a(b,c,g))return!0}}}function tb(a){return a.length>1?function(b,c,d){var ea.length;while(e--)if(!ae(b,c,d))return!1;return!0}:a0}function ub(a,b,c){for(var d0,eb.length;e>d;d++)gb(a,bd,c);return c}function vb(a,b,c,d,e){for(var f,g,h0,ia.length,jnull!b;i>h;h++)(fah)&&(!c||c(f,d,e))&&(g.push(f),j&&b.push(h));return g}function wb(a,b,c,d,e,f){return d&&!du&&(dwb(d)),e&&!eu&&(ewb(e,f)),ib(function(f,g,h,i){var j,k,l,m,n,og.length,pf||ub(b||*,h.nodeType?h:h,),q!a||!f&&b?p:vb(p,m,a,h,i),rc?e||(f?a:o||d)?:g:q;if(c&&c(q,r,h,i),d){jvb(r,n),d(j,,h,i),kj.length;while(k--)(ljk)&&(rnk!(qnkl))}if(f){if(e||a){if(e){j,kr.length;while(k--)(lrk)&&j.push(qkl);e(null,r,j,i)}kr.length;while(k--)(lrk)&&(je?J(f,l):mk)>-1&&(fj!(gjl))}}else rvb(rg?r.splice(o,r.length):r),e?e(null,g,r,i):H.apply(g,r)})}function xb(a){for(var b,c,e,fa.length,gd.relativea0.type,hg||d.relative ,ig?1:0,ksb(function(a){return ab},h,!0),lsb(function(a){return J(b,a)>-1},h,!0),mfunction(a,c,d){var e!g&&(d||c!j)||((bc).nodeType?k(a,c,d):l(a,c,d));return bnull,e};f>i;i++)if(cd.relativeai.type)msb(tb(m),c);else{if(cd.filterai.type.apply(null,ai.matches),cu){for(e++i;f>e;e++)if(d.relativeae.type)break;return wb(i>1&&tb(m),i>1&&rb(a.slice(0,i-1).concat({value: ai-2.type?*:})).replace(R,$1),c,e>i&&xb(a.slice(i,e)),f>e&&xb(aa.slice(e)),f>e&&rb(a))}m.push(c)}return tb(m)}function yb(a,b){var cb.length>0,ea.length>0,ffunction(f,g,h,i,k){var l,m,o,p0,q0,rf&&,s,tj,uf||e&&d.find.TAG(*,k),vw+nullt?1:Math.random()||.1,xu.length;for(k&&(jg!n&&g);q!x&&null!(luq);q++){if(e&&l){m0;while(oam++)if(o(l,g,h)){i.push(l);break}k&&(wv)}c&&((l!o&&l)&&p--,f&&r.push(l))}if(p+q,c&&q!p){m0;while(obm++)o(r,s,g,h);if(f){if(p>0)while(q--)rq||sq||(sqF.call(i));svb(s)}H.apply(i,s),k&&!f&&s.length>0&&p+b.length>1&&gb.uniqueSort(i)}return k&&(wv,jt),r};return c?ib(f):f}return hgb.compilefunction(a,b){var c,d,e,fAa+ ;if(!f){b||(bg(a)),cb.length;while(c--)fxb(bc),fu?d.push(f):e.push(f);fA(a,yb(e,d)),f.selectora}return f},igb.selectfunction(a,b,e,f){var i,j,k,l,m,nfunctiontypeof a&&a,o!f&&g(an.selector||a);if(ee||,1o.length){if(jo0o0.slice(0),j.length>2&&ID(kj0).type&&c.getById&&9b.nodeType&&p&&d.relativej1.type){if(b(d.find.ID(k.matches0.replace(cb,db),b)||)0,!b)return e;n&&(bb.parentNode),aa.slice(j.shift().value.length)}iX.needsContext.test(a)?0:j.length;while(i--){if(kji,d.relativelk.type)break;if((md.findl)&&(fm(k.matches0.replace(cb,db),ab.test(j0.type)&&pb(b.parentNode)||b))){if(j.splice(i,1),af.length&&rb(j),!a)return H.apply(e,f),e;break}}}return(n||h(a,o))(f,b,!p,e,ab.test(a)&&pb(b.parentNode)||b),e},c.sortStableu.split().sort(B).join()u,c.detectDuplicates!!l,m(),c.sortDetachedjb(function(a){return 1&a.compareDocumentPosition(n.createElement(div))}),jb(function(a){return a.innerHTMLa href#>/a>,#a.firstChild.getAttribute(href)})||kb(type|href|height|width,function(a,b,c){return c?void 0:a.getAttribute(b,typeb.toLowerCase()?1:2)}),c.attributes&&jb(function(a){return a.innerHTMLinput/>,a.firstChild.setAttribute(value,),a.firstChild.getAttribute(value)})||kb(value,function(a,b,c){return c||input!a.nodeName.toLowerCase()?void 0:a.defaultValue}),jb(function(a){return nulla.getAttribute(disabled)})||kb(K,function(a,b,c){var d;return c?void 0:ab!0?b.toLowerCase():(da.getAttributeNode(b))&&d.specified?d.value:null}),gb}(a);n.findt,n.exprt.selectors,n.expr:n.expr.pseudos,n.uniquet.uniqueSort,n.textt.getText,n.isXMLDoct.isXML,n.containst.contains;var un.expr.match.needsContext,v/^(\w+)\s*\/?>(?:\/\1>|)$/,w/^.^:#\\.,*$/;function x(a,b,c){if(n.isFunction(b))return n.grep(a,function(a,d){return!!b.call(a,d,a)!c});if(b.nodeType)return n.grep(a,function(a){return ab!c});if(stringtypeof b){if(w.test(b))return n.filter(b,a,c);bn.filter(b,a)}return n.grep(a,function(a){return g.call(b,a)>0!c})}n.filterfunction(a,b,c){var db0;return c&&(a:not(+a+)),1b.length&&1d.nodeType?n.find.matchesSelector(d,a)?d::n.find.matches(a,n.grep(b,function(a){return 1a.nodeType}))},n.fn.extend({find:function(a){var b,cthis.length,d,ethis;if(string!typeof a)return this.pushStack(n(a).filter(function(){for(b0;c>b;b++)if(n.contains(eb,this))return!0}));for(b0;c>b;b++)n.find(a,eb,d);return dthis.pushStack(c>1?n.unique(d):d),d.selectorthis.selector?this.selector+ +a:a,d},filter:function(a){return this.pushStack(x(this,a||,!1))},not:function(a){return this.pushStack(x(this,a||,!0))},is:function(a){return!!x(this,stringtypeof a&&u.test(a)?n(a):a||,!1).length}});var y,z/^(?:\s*(\w\W+>)^>*|#(\w-*))$/,An.fn.initfunction(a,b){var c,d;if(!a)return this;if(stringtypeof a){if(ca0&&>aa.length-1&&a.length>3?null,a,null:z.exec(a),!c||!c1&&b)return!b||b.jquery?(b||y).find(a):this.constructor(b).find(a);if(c1){if(bb instanceof n?b0:b,n.merge(this,n.parseHTML(c1,b&&b.nodeType?b.ownerDocument||b:l,!0)),v.test(c1)&&n.isPlainObject(b))for(c in b)n.isFunction(thisc)?thisc(bc):this.attr(c,bc);return this}return dl.getElementById(c2),d&&d.parentNode&&(this.length1,this0d),this.contextl,this.selectora,this}return a.nodeType?(this.contextthis0a,this.length1,this):n.isFunction(a)?undefined!typeof y.ready?y.ready(a):a(n):(void 0!a.selector&&(this.selectora.selector,this.contexta.context),n.makeArray(a,this))};A.prototypen.fn,yn(l);var B/^(?:parents|prev(?:Until|All))/,C{children:!0,contents:!0,next:!0,prev:!0};n.extend({dir:function(a,b,c){var d,evoid 0!c;while((aab)&&9!a.nodeType)if(1a.nodeType){if(e&&n(a).is(c))break;d.push(a)}return d},sibling:function(a,b){for(var c;a;aa.nextSibling)1a.nodeType&&a!b&&c.push(a);return c}}),n.fn.extend({has:function(a){var bn(a,this),cb.length;return this.filter(function(){for(var a0;c>a;a++)if(n.contains(this,ba))return!0})},closest:function(a,b){for(var c,d0,ethis.length,f,gu.test(a)||string!typeof a?n(a,b||this.context):0;e>d;d++)for(cthisd;c&&c!b;cc.parentNode)if(c.nodeType11&&(g?g.index(c)>-1:1c.nodeType&&n.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?n.unique(f):f)},index:function(a){return a?stringtypeof a?g.call(n(a),this0):g.call(this,a.jquery?a0:a):this0&&this0.parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(n.unique(n.merge(this.get(),n(a,b))))},addBack:function(a){return this.add(nulla?this.prevObject:this.prevObject.filter(a))}});function D(a,b){while((aab)&&1!a.nodeType);return a}n.each({parent:function(a){var ba.parentNode;return b&&11!b.nodeType?b:null},parents:function(a){return n.dir(a,parentNode)},parentsUntil:function(a,b,c){return n.dir(a,parentNode,c)},next:function(a){return D(a,nextSibling)},prev:function(a){return D(a,previousSibling)},nextAll:function(a){return n.dir(a,nextSibling)},prevAll:function(a){return n.dir(a,previousSibling)},nextUntil:function(a,b,c){return n.dir(a,nextSibling,c)},prevUntil:function(a,b,c){return n.dir(a,previousSibling,c)},siblings:function(a){return n.sibling((a.parentNode||{}).firstChild,a)},children:function(a){return n.sibling(a.firstChild)},contents:function(a){return a.contentDocument||n.merge(,a.childNodes)}},function(a,b){n.fnafunction(c,d){var en.map(this,b,c);returnUntil!a.slice(-5)&&(dc),d&&stringtypeof d&&(en.filter(d,e)),this.length>1&&(Ca||n.unique(e),B.test(a)&&e.reverse()),this.pushStack(e)}});var E/\S+/g,F{};function G(a){var bFa{};return n.each(a.match(E)||,function(a,c){bc!0}),b}n.Callbacksfunction(a){astringtypeof a?Fa||G(a):n.extend({},a);var b,c,d,e,f,g,h,i!a.once&&,jfunction(l){for(ba.memory&&l,c!0,ge||0,e0,fh.length,d!0;h&&f>g;g++)if(hg.apply(l0,l1)!1&&a.stopOnFalse){b!1;break}d!1,h&&(i?i.length&&j(i.shift()):b?h:k.disable())},k{add:function(){if(h){var ch.length;!function g(b){n.each(b,function(b,c){var dn.type(c);functiond?a.unique&&k.has(c)||h.push(c):c&&c.length&&string!d&&g(c)})}(arguments),d?fh.length:b&&(ec,j(b))}return this},remove:function(){return h&&n.each(arguments,function(a,b){var c;while((cn.inArray(b,h,c))>-1)h.splice(c,1),d&&(f>c&&f--,g>c&&g--)}),this},has:function(a){return a?n.inArray(a,h)>-1:!(!h||!h.length)},empty:function(){return h,f0,this},disable:function(){return hibvoid 0,this},disabled:function(){return!h},lock:function(){return ivoid 0,b||k.disable(),this},locked:function(){return!i},fireWith:function(a,b){return!h||c&&!i||(bb||,ba,b.slice?b.slice():b,d?i.push(b):j(b)),this},fire:function(){return k.fireWith(this,arguments),this},fired:function(){return!!c}};return k},n.extend({Deferred:function(a){var bresolve,done,n.Callbacks(once memory),resolved,reject,fail,n.Callbacks(once memory),rejected,notify,progress,n.Callbacks(memory),cpending,d{state:function(){return c},always:function(){return e.done(arguments).fail(arguments),this},then:function(){var aarguments;return n.Deferred(function(c){n.each(b,function(b,f){var gn.isFunction(ab)&&ab;ef1(function(){var ag&&g.apply(this,arguments);a&&n.isFunction(a.promise)?a.promise().done(c.resolve).fail(c.reject).progress(c.notify):cf0+With(thisd?c.promise():this,g?a:arguments)})}),anull}).promise()},promise:function(a){return null!a?n.extend(a,d):d}},e{};return d.piped.then,n.each(b,function(a,f){var gf2,hf3;df1g.add,h&&g.add(function(){ch},b1^a2.disable,b22.lock),ef0function(){return ef0+With(thise?d:this,arguments),this},ef0+Withg.fireWith}),d.promise(e),a&&a.call(e,e),e},when:function(a){var b0,cd.call(arguments),ec.length,f1!e||a&&n.isFunction(a.promise)?e:0,g1f?a:n.Deferred(),hfunction(a,b,c){return function(e){bathis,caarguments.length>1?d.call(arguments):e,ci?g.notifyWith(b,c):--f||g.resolveWith(b,c)}},i,j,k;if(e>1)for(inew Array(e),jnew Array(e),knew Array(e);e>b;b++)cb&&n.isFunction(cb.promise)?cb.promise().done(h(b,k,c)).fail(g.reject).progress(h(b,j,i)):--f;return f||g.resolveWith(k,c),g.promise()}});var H;n.fn.readyfunction(a){return n.ready.promise().done(a),this},n.extend({isReady:!1,readyWait:1,holdReady:function(a){a?n.readyWait++:n.ready(!0)},ready:function(a){(a!0?--n.readyWait:n.isReady)||(n.isReady!0,a!!0&&--n.readyWait>0||(H.resolveWith(l,n),n.fn.triggerHandler&&(n(l).triggerHandler(ready),n(l).off(ready))))}});function I(){l.removeEventListener(DOMContentLoaded,I,!1),a.removeEventListener(load,I,!1),n.ready()}n.ready.promisefunction(b){return H||(Hn.Deferred(),completel.readyState?setTimeout(n.ready):(l.addEventListener(DOMContentLoaded,I,!1),a.addEventListener(load,I,!1))),H.promise(b)},n.ready.promise();var Jn.accessfunction(a,b,c,d,e,f,g){var h0,ia.length,jnullc;if(objectn.type(c)){e!0;for(h in c)n.access(a,b,h,ch,!0,f,g)}else if(void 0!d&&(e!0,n.isFunction(d)||(g!0),j&&(g?(b.call(a,d),bnull):(jb,bfunction(a,b,c){return j.call(n(a),c)})),b))for(;i>h;h++)b(ah,c,g?d:d.call(ah,h,b(ah,c)));return e?a:j?b.call(a):i?b(a0,c):f};n.acceptDatafunction(a){return 1a.nodeType||9a.nodeType||!+a.nodeType};function K(){Object.defineProperty(this.cache{},0,{get:function(){return{}}}),this.expandon.expando+K.uid++}K.uid1,K.acceptsn.acceptData,K.prototype{key:function(a){if(!K.accepts(a))return 0;var b{},cathis.expando;if(!c){cK.uid++;try{bthis.expando{value:c},Object.defineProperties(a,b)}catch(d){bthis.expandoc,n.extend(a,b)}}return this.cachec||(this.cachec{}),c},set:function(a,b,c){var d,ethis.key(a),fthis.cachee;if(stringtypeof b)fbc;else if(n.isEmptyObject(f))n.extend(this.cachee,b);else for(d in b)fdbd;return f},get:function(a,b){var cthis.cachethis.key(a);return void 0b?c:cb},access:function(a,b,c){var d;return void 0b||b&&stringtypeof b&&void 0c?(dthis.get(a,b),void 0!d?d:this.get(a,n.camelCase(b))):(this.set(a,b,c),void 0!c?c:b)},remove:function(a,b){var c,d,e,fthis.key(a),gthis.cachef;if(void 0b)this.cachef{};else{n.isArray(b)?db.concat(b.map(n.camelCase)):(en.camelCase(b),b in g?db,e:(de,dd in g?d:d.match(E)||)),cd.length;while(c--)delete gdc}},hasData:function(a){return!n.isEmptyObject(this.cacheathis.expando||{})},discard:function(a){athis.expando&&delete this.cacheathis.expando}};var Lnew K,Mnew K,N/^(?:\{\w\W*\}|\\w\W*\)$/,O/(A-Z)/g;function P(a,b,c){var d;if(void 0c&&1a.nodeType)if(ddata-+b.replace(O,-$1).toLowerCase(),ca.getAttribute(d),stringtypeof c){try{ctruec?!0:falsec?!1:nullc?null:+c+c?+c:N.test(c)?n.parseJSON(c):c}catch(e){}M.set(a,b,c)}else cvoid 0;return c}n.extend({hasData:function(a){return M.hasData(a)||L.hasData(a)},data:function(a,b,c){return M.access(a,b,c) },removeData:function(a,b){M.remove(a,b)},_data:function(a,b,c){return L.access(a,b,c)},_removeData:function(a,b){L.remove(a,b)}}),n.fn.extend({data:function(a,b){var c,d,e,fthis0,gf&&f.attributes;if(void 0a){if(this.length&&(eM.get(f),1f.nodeType&&!L.get(f,hasDataAttrs))){cg.length;while(c--)gc&&(dgc.name,0d.indexOf(data-)&&(dn.camelCase(d.slice(5)),P(f,d,ed)));L.set(f,hasDataAttrs,!0)}return e}returnobjecttypeof a?this.each(function(){M.set(this,a)}):J(this,function(b){var c,dn.camelCase(a);if(f&&void 0b){if(cM.get(f,a),void 0!c)return c;if(cM.get(f,d),void 0!c)return c;if(cP(f,d,void 0),void 0!c)return c}else this.each(function(){var cM.get(this,d);M.set(this,d,b),-1!a.indexOf(-)&&void 0!c&&M.set(this,a,b)})},null,b,arguments.length>1,null,!0)},removeData:function(a){return this.each(function(){M.remove(this,a)})}}),n.extend({queue:function(a,b,c){var d;return a?(b(b||fx)+queue,dL.get(a,b),c&&(!d||n.isArray(c)?dL.access(a,b,n.makeArray(c)):d.push(c)),d||):void 0},dequeue:function(a,b){bb||fx;var cn.queue(a,b),dc.length,ec.shift(),fn._queueHooks(a,b),gfunction(){n.dequeue(a,b)};inprogresse&&(ec.shift(),d--),e&&(fxb&&c.unshift(inprogress),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var cb+queueHooks;return L.get(a,c)||L.access(a,c,{empty:n.Callbacks(once memory).add(function(){L.remove(a,b+queue,c)})})}}),n.fn.extend({queue:function(a,b){var c2;returnstring!typeof a&&(ba,afx,c--),arguments.lengthc?n.queue(this0,a):void 0b?this:this.each(function(){var cn.queue(this,a,b);n._queueHooks(this,a),fxa&&inprogress!c0&&n.dequeue(this,a)})},dequeue:function(a){return this.each(function(){n.dequeue(this,a)})},clearQueue:function(a){return this.queue(a||fx,)},promise:function(a,b){var c,d1,en.Deferred(),fthis,gthis.length,hfunction(){--d||e.resolveWith(f,f)};string!typeof a&&(ba,avoid 0),aa||fx;while(g--)cL.get(fg,a+queueHooks),c&&c.empty&&(d++,c.empty.add(h));return h(),e.promise(b)}});var Q/+-?(?:\d*\.|)\d+(?:eE+-?\d+|)/.source,RTop,Right,Bottom,Left,Sfunction(a,b){return ab||a,nonen.css(a,display)||!n.contains(a.ownerDocument,a)},T/^(?:checkbox|radio)$/i;!function(){var al.createDocumentFragment(),ba.appendChild(l.createElement(div)),cl.createElement(input);c.setAttribute(type,radio),c.setAttribute(checked,checked),c.setAttribute(name,t),b.appendChild(c),k.checkCloneb.cloneNode(!0).cloneNode(!0).lastChild.checked,b.innerHTMLtextarea>x/textarea>,k.noCloneChecked!!b.cloneNode(!0).lastChild.defaultValue}();var Uundefined;k.focusinBubblesonfocusinin a;var V/^key/,W/^(?:mouse|pointer|contextmenu)|click/,X/^(?:focusinfocus|focusoutblur)$/,Y/^(^.*)(?:\.(.+)|)$/;function Z(){return!0}function $(){return!1}function _(){try{return l.activeElement}catch(a){}}n.event{global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,rL.get(a);if(r){c.handler&&(fc,cf.handler,ef.selector),c.guid||(c.guidn.guid++),(ir.events)||(ir.events{}),(gr.handle)||(gr.handlefunction(b){return typeof n!U&&n.event.triggered!b.type?n.event.dispatch.apply(a,arguments):void 0}),b(b||).match(E)||,jb.length;while(j--)hY.exec(bj)||,oqh1,p(h2||).split(.).sort(),o&&(ln.event.specialo||{},o(e?l.delegateType:l.bindType)||o,ln.event.specialo||{},kn.extend({type:o,origType:q,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&n.expr.match.needsContext.test(e),namespace:p.join(.)},f),(mio)||(mio,m.delegateCount0,l.setup&&l.setup.call(a,d,p,g)!!1||a.addEventListener&&a.addEventListener(o,g,!1)),l.add&&(l.add.call(a,k),k.handler.guid||(k.handler.guidc.guid)),e?m.splice(m.delegateCount++,0,k):m.push(k),n.event.globalo!0)}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,rL.hasData(a)&&L.get(a);if(r&&(ir.events)){b(b||).match(E)||,jb.length;while(j--)if(hY.exec(bj)||,oqh1,p(h2||).split(.).sort(),o){ln.event.specialo||{},o(d?l.delegateType:l.bindType)||o,mio||,hh2&&new RegExp((^|\\.)+p.join(\\.(?:.*\\.|))+(\\.|$)),gfm.length;while(f--)kmf,!e&&q!k.origType||c&&c.guid!k.guid||h&&!h.test(k.namespace)||d&&d!k.selector&&(**!d||!k.selector)||(m.splice(f,1),k.selector&&m.delegateCount--,l.remove&&l.remove.call(a,k));g&&!m.length&&(l.teardown&&l.teardown.call(a,p,r.handle)!!1||n.removeEvent(a,o,r.handle),delete io)}else for(o in i)n.event.remove(a,o+bj,c,d,!0);n.isEmptyObject(i)&&(delete r.handle,L.remove(a,events))}},trigger:function(b,c,d,e){var f,g,h,i,k,m,o,pd||l,qj.call(b,type)?b.type:b,rj.call(b,namespace)?b.namespace.split(.):;if(ghdd||l,3!d.nodeType&&8!d.nodeType&&!X.test(q+n.event.triggered)&&(q.indexOf(.)>0&&(rq.split(.),qr.shift(),r.sort()),kq.indexOf(:)0&&on+q,bbn.expando?b:new n.Event(q,objecttypeof b&&b),b.isTriggere?2:3,b.namespacer.join(.),b.namespace_reb.namespace?new RegExp((^|\\.)+r.join(\\.(?:.*\\.|))+(\\.|$)):null,b.resultvoid 0,b.target||(b.targetd),cnullc?b:n.makeArray(c,b),on.event.specialq||{},e||!o.trigger||o.trigger.apply(d,c)!!1)){if(!e&&!o.noBubble&&!n.isWindow(d)){for(io.delegateType||q,X.test(i+q)||(gg.parentNode);g;gg.parentNode)p.push(g),hg;h(d.ownerDocument||l)&&p.push(h.defaultView||h.parentWindow||a)}f0;while((gpf++)&&!b.isPropagationStopped())b.typef>1?i:o.bindType||q,m(L.get(g,events)||{})b.type&&L.get(g,handle),m&&m.apply(g,c),mk&&gk,m&&m.apply&&n.acceptData(g)&&(b.resultm.apply(g,c),b.result!1&&b.preventDefault());return b.typeq,e||b.isDefaultPrevented()||o._default&&o._default.apply(p.pop(),c)!!1||!n.acceptData(d)||k&&n.isFunction(dq)&&!n.isWindow(d)&&(hdk,h&&(dknull),n.event.triggeredq,dq(),n.event.triggeredvoid 0,h&&(dkh)),b.result}},dispatch:function(a){an.event.fix(a);var b,c,e,f,g,h,id.call(arguments),j(L.get(this,events)||{})a.type||,kn.event.speciala.type||{};if(i0a,a.delegateTargetthis,!k.preDispatch||k.preDispatch.call(this,a)!!1){hn.event.handlers.call(this,a,j),b0;while((fhb++)&&!a.isPropagationStopped()){a.currentTargetf.elem,c0;while((gf.handlersc++)&&!a.isImmediatePropagationStopped())(!a.namespace_re||a.namespace_re.test(g.namespace))&&(a.handleObjg,a.datag.data,e((n.event.specialg.origType||{}).handle||g.handler).apply(f.elem,i),void 0!e&&(a.resulte)!1&&(a.preventDefault(),a.stopPropagation()))}return k.postDispatch&&k.postDispatch.call(this,a),a.result}},handlers:function(a,b){var c,d,e,f,g,hb.delegateCount,ia.target;if(h&&i.nodeType&&(!a.button||click!a.type))for(;i!this;ii.parentNode||this)if(i.disabled!!0||click!a.type){for(d,c0;h>c;c++)fbc,ef.selector+ ,void 0de&&(def.needsContext?n(e,this).index(i)>0:n.find(e,this,null,i).length),de&&d.push(f);d.length&&g.push({elem:i,handlers:d})}return hb.length&&g.push({elem:this,handlers:b.slice(h)}),g},props:altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which.split( ),fixHooks:{},keyHooks:{props:char charCode key keyCode.split( ),filter:function(a,b){return nulla.which&&(a.whichnull!b.charCode?b.charCode:b.keyCode),a}},mouseHooks:{props:button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement.split( ),filter:function(a,b){var c,d,e,fb.button;return nulla.pageX&&null!b.clientX&&(ca.target.ownerDocument||l,dc.documentElement,ec.body,a.pageXb.clientX+(d&&d.scrollLeft||e&&e.scrollLeft||0)-(d&&d.clientLeft||e&&e.clientLeft||0),a.pageYb.clientY+(d&&d.scrollTop||e&&e.scrollTop||0)-(d&&d.clientTop||e&&e.clientTop||0)),a.which||void 0f||(a.which1&f?1:2&f?3:4&f?2:0),a}},fix:function(a){if(an.expando)return a;var b,c,d,ea.type,fa,gthis.fixHookse;g||(this.fixHooksegW.test(e)?this.mouseHooks:V.test(e)?this.keyHooks:{}),dg.props?this.props.concat(g.props):this.props,anew n.Event(f),bd.length;while(b--)cdb,acfc;return a.target||(a.targetl),3a.target.nodeType&&(a.targeta.target.parentNode),g.filter?g.filter(a,f):a},special:{load:{noBubble:!0},focus:{trigger:function(){return this!_()&&this.focus?(this.focus(),!1):void 0},delegateType:focusin},blur:{trigger:function(){return this_()&&this.blur?(this.blur(),!1):void 0},delegateType:focusout},click:{trigger:function(){returncheckboxthis.type&&this.click&&n.nodeName(this,input)?(this.click(),!1):void 0},_default:function(a){return n.nodeName(a.target,a)}},beforeunload:{postDispatch:function(a){void 0!a.result&&a.originalEvent&&(a.originalEvent.returnValuea.result)}}},simulate:function(a,b,c,d){var en.extend(new n.Event,c,{type:a,isSimulated:!0,originalEvent:{}});d?n.event.trigger(e,null,b):n.event.dispatch.call(b,e),e.isDefaultPrevented()&&c.preventDefault()}},n.removeEventfunction(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)},n.Eventfunction(a,b){return this instanceof n.Event?(a&&a.type?(this.originalEventa,this.typea.type,this.isDefaultPreventeda.defaultPrevented||void 0a.defaultPrevented&&a.returnValue!1?Z:$):this.typea,b&&n.extend(this,b),this.timeStampa&&a.timeStamp||n.now(),void(thisn.expando!0)):new n.Event(a,b)},n.Event.prototype{isDefaultPrevented:$,isPropagationStopped:$,isImmediatePropagationStopped:$,preventDefault:function(){var athis.originalEvent;this.isDefaultPreventedZ,a&&a.preventDefault&&a.preventDefault()},stopPropagation:function(){var athis.originalEvent;this.isPropagationStoppedZ,a&&a.stopPropagation&&a.stopPropagation()},stopImmediatePropagation:function(){var athis.originalEvent;this.isImmediatePropagationStoppedZ,a&&a.stopImmediatePropagation&&a.stopImmediatePropagation(),this.stopPropagation()}},n.each({mouseenter:mouseover,mouseleave:mouseout,pointerenter:pointerover,pointerleave:pointerout},function(a,b){n.event.speciala{delegateType:b,bindType:b,handle:function(a){var c,dthis,ea.relatedTarget,fa.handleObj;return(!e||e!d&&!n.contains(d,e))&&(a.typef.origType,cf.handler.apply(this,arguments),a.typeb),c}}}),k.focusinBubbles||n.each({focus:focusin,blur:focusout},function(a,b){var cfunction(a){n.event.simulate(b,a.target,n.event.fix(a),!0)};n.event.specialb{setup:function(){var dthis.ownerDocument||this,eL.access(d,b);e||d.addEventListener(a,c,!0),L.access(d,b,(e||0)+1)},teardown:function(){var dthis.ownerDocument||this,eL.access(d,b)-1;e?L.access(d,b,e):(d.removeEventListener(a,c,!0),L.remove(d,b))}}}),n.fn.extend({on:function(a,b,c,d,e){var f,g;if(objecttypeof a){string!typeof b&&(cc||b,bvoid 0);for(g in a)this.on(g,b,c,ag,e);return this}if(nullc&&nulld?(db,cbvoid 0):nulld&&(stringtypeof b?(dc,cvoid 0):(dc,cb,bvoid 0)),d!1)d$;else if(!d)return this;return 1e&&(fd,dfunction(a){return n().off(a),f.apply(this,arguments)},d.guidf.guid||(f.guidn.guid++)),this.each(function(){n.event.add(this,a,d,c,b)})},one:function(a,b,c,d){return this.on(a,b,c,d,1)},off:function(a,b,c){var d,e;if(a&&a.preventDefault&&a.handleObj)return da.handleObj,n(a.delegateTarget).off(d.namespace?d.origType+.+d.namespace:d.origType,d.selector,d.handler),this;if(objecttypeof a){for(e in a)this.off(e,b,ae);return this}return(b!1||functiontypeof b)&&(cb,bvoid 0),c!1&&(c$),this.each(function(){n.event.remove(this,a,c,b)})},trigger:function(a,b){return this.each(function(){n.event.trigger(a,b,this)})},triggerHandler:function(a,b){var cthis0;return c?n.event.trigger(a,b,c,!0):void 0}});var ab/(?!area|br|col|embed|hr|img|input|link|meta|param)((\w:+)^>*)\/>/gi,bb/(\w:+)/,cb/|?\w+;/,db/(?:script|style|link)/i,eb/checked\s*(?:^|\s*.checked.)/i,fb/^$|\/(?:java|ecma)script/i,gb/^true\/(.*)/,hb/^\s*!(?:\CDATA\|--)|(?:\\|--)>\s*$/g,ib{option:1,select multiplemultiple>,/select>,thead:1,table>,/table>,col:2,table>colgroup>,/colgroup>/table>,tr:2,table>tbody>,/tbody>/table>,td:3,table>tbody>tr>,/tr>/tbody>/table>,_default:0,,};ib.optgroupib.option,ib.tbodyib.tfootib.colgroupib.captionib.thead,ib.thib.td;function jb(a,b){return n.nodeName(a,table)&&n.nodeName(11!b.nodeType?b:b.firstChild,tr)?a.getElementsByTagName(tbody)0||a.appendChild(a.ownerDocument.createElement(tbody)):a}function kb(a){return a.type(null!a.getAttribute(type))+/+a.type,a}function lb(a){var bgb.exec(a.type);return b?a.typeb1:a.removeAttribute(type),a}function mb(a,b){for(var c0,da.length;d>c;c++)L.set(ac,globalEval,!b||L.get(bc,globalEval))}function nb(a,b){var c,d,e,f,g,h,i,j;if(1b.nodeType){if(L.hasData(a)&&(fL.access(a),gL.set(b,f),jf.events)){delete g.handle,g.events{};for(e in j)for(c0,dje.length;d>c;c++)n.event.add(b,e,jec)}M.hasData(a)&&(hM.access(a),in.extend({},h),M.set(b,i))}}function ob(a,b){var ca.getElementsByTagName?a.getElementsByTagName(b||*):a.querySelectorAll?a.querySelectorAll(b||*):;return void 0b||b&&n.nodeName(a,b)?n.merge(a,c):c}function pb(a,b){var cb.nodeName.toLowerCase();inputc&&T.test(a.type)?b.checkeda.checked:(inputc||textareac)&&(b.defaultValuea.defaultValue)}n.extend({clone:function(a,b,c){var d,e,f,g,ha.cloneNode(!0),in.contains(a.ownerDocument,a);if(!(k.noCloneChecked||1!a.nodeType&&11!a.nodeType||n.isXMLDoc(a)))for(gob(h),fob(a),d0,ef.length;e>d;d++)pb(fd,gd);if(b)if(c)for(ff||ob(a),gg||ob(h),d0,ef.length;e>d;d++)nb(fd,gd);else nb(a,h);return gob(h,script),g.length>0&&mb(g,!i&&ob(a,script)),h},buildFragment:function(a,b,c,d){for(var e,f,g,h,i,j,kb.createDocumentFragment(),l,m0,oa.length;o>m;m++)if(eam,e||0e)if(objectn.type(e))n.merge(l,e.nodeType?e:e);else if(cb.test(e)){ff||k.appendChild(b.createElement(div)),g(bb.exec(e)||,)1.toLowerCase(),hibg||ib._default,f.innerHTMLh1+e.replace(ab,$1>/$2>)+h2,jh0;while(j--)ff.lastChild;n.merge(l,f.childNodes),fk.firstChild,f.textContent}else l.push(b.createTextNode(e));k.textContent,m0;while(elm++)if((!d||-1n.inArray(e,d))&&(in.contains(e.ownerDocument,e),fob(k.appendChild(e),script),i&&mb(f),c)){j0;while(efj++)fb.test(e.type||)&&c.push(e)}return k},cleanData:function(a){for(var b,c,d,e,fn.event.special,g0;void 0!(cag);g++){if(n.acceptData(c)&&(ecL.expando,e&&(bL.cachee))){if(b.events)for(d in b.events)fd?n.event.remove(c,d):n.removeEvent(c,d,b.handle);L.cachee&&delete L.cachee}delete M.cachecM.expando}}}),n.fn.extend({text:function(a){return J(this,function(a){return void 0a?n.text(this):this.empty().each(function(){(1this.nodeType||11this.nodeType||9this.nodeType)&&(this.textContenta)})},null,a,arguments.length)},append:function(){return this.domManip(arguments,function(a){if(1this.nodeType||11this.nodeType||9this.nodeType){var bjb(this,a);b.appendChild(a)}})},prepend:function(){return this.domManip(arguments,function(a){if(1this.nodeType||11this.nodeType||9this.nodeType){var bjb(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},remove:function(a,b){for(var c,da?n.filter(a,this):this,e0;null!(cde);e++)b||1!c.nodeType||n.cleanData(ob(c)),c.parentNode&&(b&&n.contains(c.ownerDocument,c)&&mb(ob(c,script)),c.parentNode.removeChild(c));return this},empty:function(){for(var a,b0;null!(athisb);b++)1a.nodeType&&(n.cleanData(ob(a,!1)),a.textContent);return this},clone:function(a,b){return anulla?!1:a,bnullb?a:b,this.map(function(){return n.clone(this,a,b)})},html:function(a){return J(this,function(a){var bthis0||{},c0,dthis.length;if(void 0a&&1b.nodeType)return b.innerHTML;if(stringtypeof a&&!db.test(a)&&!ib(bb.exec(a)||,)1.toLowerCase()){aa.replace(ab,$1>/$2>);try{for(;d>c;c++)bthisc||{},1b.nodeType&&(n.cleanData(ob(b,!1)),b.innerHTMLa);b0}catch(e){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var aarguments0;return this.domManip(arguments,function(b){athis.parentNode,n.cleanData(ob(this)),a&&a.replaceChild(b,this)}),a&&(a.length||a.nodeType)?this:this.remove()},detach:function(a){return this.remove(a,!0)},domManip:function(a,b){ae.apply(,a);var c,d,f,g,h,i,j0,lthis.length,mthis,ol-1,pa0,qn.isFunction(p);if(q||l>1&&stringtypeof p&&!k.checkClone&&eb.test(p))return this.each(function(c){var dm.eq(c);q&&(a0p.call(this,c,d.html())),d.domManip(a,b)});if(l&&(cn.buildFragment(a,this0.ownerDocument,!1,this),dc.firstChild,1c.childNodes.length&&(cd),d)){for(fn.map(ob(c,script),kb),gf.length;l>j;j++)hc,j!o&&(hn.clone(h,!0,!0),g&&n.merge(f,ob(h,script))),b.call(thisj,h,j);if(g)for(iff.length-1.ownerDocument,n.map(f,lb),j0;g>j;j++)hfj,fb.test(h.type||)&&!L.access(h,globalEval)&&n.contains(i,h)&&(h.src?n._evalUrl&&n._evalUrl(h.src):n.globalEval(h.textContent.replace(hb,)))}return this}}),n.each({appendTo:append,prependTo:prepend,insertBefore:before,insertAfter:after,replaceAll:replaceWith},function(a,b){n.fnafunction(a){for(var c,d,en(a),ge.length-1,h0;g>h;h++)chg?this:this.clone(!0),n(eh)b(c),f.apply(d,c.get());return this.pushStack(d)}});var qb,rb{};function sb(b,c){var d,en(c.createElement(b)).appendTo(c.body),fa.getDefaultComputedStyle&&(da.getDefaultComputedStyle(e0))?d.display:n.css(e0,display);return e.detach(),f}function tb(a){var bl,crba;return c||(csb(a,b),none!c&&c||(qb(qb||n(iframe frameborder0 width0 height0/>)).appendTo(b.documentElement),bqb0.contentDocument,b.write(),b.close(),csb(a,b),qb.detach()),rbac),c}var ub/^margin/,vbnew RegExp(^(+Q+)(?!px)a-z%+$,i),wbfunction(b){return b.ownerDocument.defaultView.opener?b.ownerDocument.defaultView.getComputedStyle(b,null):a.getComputedStyle(b,null)};function xb(a,b,c){var d,e,f,g,ha.style;return cc||wb(a),c&&(gc.getPropertyValue(b)||cb),c&&(!g||n.contains(a.ownerDocument,a)||(gn.style(a,b)),vb.test(g)&&ub.test(b)&&(dh.width,eh.minWidth,fh.maxWidth,h.minWidthh.maxWidthh.widthg,gc.width,h.widthd,h.minWidthe,h.maxWidthf)),void 0!g?g+:g}function yb(a,b){return{get:function(){return a()?void delete this.get:(this.getb).apply(this,arguments)}}}!function(){var b,c,dl.documentElement,el.createElement(div),fl.createElement(div);if(f.style){f.style.backgroundClipcontent-box,f.cloneNode(!0).style.backgroundClip,k.clearCloneStylecontent-boxf.style.backgroundClip,e.style.cssTextborder:0;width:0;height:0;top:0;left:-9999px;margin-top:1px;position:absolute,e.appendChild(f);function g(){f.style.cssText-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute,f.innerHTML,d.appendChild(e);var ga.getComputedStyle(f,null);b1%!g.top,c4pxg.width,d.removeChild(e)}a.getComputedStyle&&n.extend(k,{pixelPosition:function(){return g(),b},boxSizingReliable:function(){return nullc&&g(),c},reliableMarginRight:function(){var b,cf.appendChild(l.createElement(div));return c.style.cssTextf.style.cssText-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0,c.style.marginRightc.style.width0,f.style.width1px,d.appendChild(e),b!parseFloat(a.getComputedStyle(c,null).marginRight),d.removeChild(e),f.removeChild(c),b}})}}(),n.swapfunction(a,b,c,d){var e,f,g{};for(f in b)gfa.stylef,a.stylefbf;ec.apply(a,d||);for(f in b)a.stylefgf;return e};var zb/^(none|table(?!-cea).+)/,Abnew RegExp(^(+Q+)(.*)$,i),Bbnew RegExp(^(+-)(+Q+),i),Cb{position:absolute,visibility:hidden,display:block},Db{letterSpacing:0,fontWeight:400},EbWebkit,O,Moz,ms;function Fb(a,b){if(b in a)return b;var cb0.toUpperCase()+b.slice(1),db,eEb.length;while(e--)if(bEbe+c,b in a)return b;return d}function Gb(a,b,c){var dAb.exec(b);return d?Math.max(0,d1-(c||0))+(d2||px):b}function Hb(a,b,c,d,e){for(var fc(d?border:content)?4:widthb?1:0,g0;4>f;f+2)marginc&&(g+n.css(a,c+Rf,!0,e)),d?(contentc&&(g-n.css(a,padding+Rf,!0,e)),margin!c&&(g-n.css(a,border+Rf+Width,!0,e))):(g+n.css(a,padding+Rf,!0,e),padding!c&&(g+n.css(a,border+Rf+Width,!0,e)));return g}function Ib(a,b,c){var d!0,ewidthb?a.offsetWidth:a.offsetHeight,fwb(a),gborder-boxn.css(a,boxSizing,!1,f);if(0>e||nulle){if(exb(a,b,f),(0>e||nulle)&&(ea.styleb),vb.test(e))return e;dg&&(k.boxSizingReliable()||ea.styleb),eparseFloat(e)||0}return e+Hb(a,b,c||(g?border:content),d,f)+px}function Jb(a,b){for(var c,d,e,f,g0,ha.length;h>g;g++)dag,d.style&&(fgL.get(d,olddisplay),cd.style.display,b?(fg||none!c||(d.style.display),d.style.display&&S(d)&&(fgL.access(d,olddisplay,tb(d.nodeName)))):(eS(d),nonec&&e||L.set(d,olddisplay,e?c:n.css(d,display))));for(g0;h>g;g++)dag,d.style&&(b&&none!d.style.display&&!d.style.display||(d.style.displayb?fg||:none));return a}n.extend({cssHooks:{opacity:{get:function(a,b){if(b){var cxb(a,opacity);returnc?1:c}}}},cssNumber:{columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:cssFloat},style:function(a,b,c,d){if(a&&3!a.nodeType&&8!a.nodeType&&a.style){var e,f,g,hn.camelCase(b),ia.style;return bn.cssPropsh||(n.cssPropshFb(i,h)),gn.cssHooksb||n.cssHooksh,void 0c?g&&getin g&&void 0!(eg.get(a,!1,d))?e:ib:(ftypeof c,stringf&&(eBb.exec(c))&&(c(e1+1)*e2+parseFloat(n.css(a,b)),fnumber),null!c&&cc&&(number!f||n.cssNumberh||(c+px),k.clearCloneStyle||!c||0!b.indexOf(background)||(ibinherit),g&&setin g&&void 0(cg.set(a,c,d))||(ibc)),void 0)}},css:function(a,b,c,d){var e,f,g,hn.camelCase(b);return bn.cssPropsh||(n.cssPropshFb(a.style,h)),gn.cssHooksb||n.cssHooksh,g&&getin g&&(eg.get(a,!0,c)),void 0e&&(exb(a,b,d)),normale&&b in Db&&(eDbb),c||c?(fparseFloat(e),c!0||n.isNumeric(f)?f||0:e):e}}),n.each(height,width,function(a,b){n.cssHooksb{get:function(a,c,d){return c?zb.test(n.css(a,display))&&0a.offsetWidth?n.swap(a,Cb,function(){return Ib(a,b,d)}):Ib(a,b,d):void 0},set:function(a,c,d){var ed&&wb(a);return Gb(a,c,d?Hb(a,b,d,border-boxn.css(a,boxSizing,!1,e),e):0)}}}),n.cssHooks.marginRightyb(k.reliableMarginRight,function(a,b){return b?n.swap(a,{display:inline-block},xb,a,marginRight):void 0}),n.each({margin:,padding:,border:Width},function(a,b){n.cssHooksa+b{expand:function(c){for(var d0,e{},fstringtypeof c?c.split( ):c;4>d;d++)ea+Rd+bfd||fd-2||f0;return e}},ub.test(a)||(n.cssHooksa+b.setGb)}),n.fn.extend({css:function(a,b){return J(this,function(a,b,c){var d,e,f{},g0;if(n.isArray(b)){for(dwb(a),eb.length;e>g;g++)fbgn.css(a,bg,!1,d);return f}return void 0!c?n.style(a,b,c):n.css(a,b)},a,b,arguments.length>1)},show:function(){return Jb(this,!0)},hide:function(){return Jb(this)},toggle:function(a){returnbooleantypeof a?a?this.show():this.hide():this.each(function(){S(this)?n(this).show():n(this).hide()})}});function Kb(a,b,c,d,e){return new Kb.prototype.init(a,b,c,d,e)}n.TweenKb,Kb.prototype{constructor:Kb,init:function(a,b,c,d,e,f){this.elema,this.propc,this.easinge||swing,this.optionsb,this.startthis.nowthis.cur(),this.endd,this.unitf||(n.cssNumberc?:px)},cur:function(){var aKb.propHooksthis.prop;return a&&a.get?a.get(this):Kb.propHooks._default.get(this)},run:function(a){var b,cKb.propHooksthis.prop;return this.posbthis.options.duration?n.easingthis.easing(a,this.options.duration*a,0,1,this.options.duration):a,this.now(this.end-this.start)*b+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),c&&c.set?c.set(this):Kb.propHooks._default.set(this),this}},Kb.prototype.init.prototypeKb.prototype,Kb.propHooks{_default:{get:function(a){var b;return nulla.elema.prop||a.elem.style&&null!a.elem.stylea.prop?(bn.css(a.elem,a.prop,),b&&auto!b?b:0):a.elema.prop},set:function(a){n.fx.stepa.prop?n.fx.stepa.prop(a):a.elem.style&&(null!a.elem.stylen.cssPropsa.prop||n.cssHooksa.prop)?n.style(a.elem,a.prop,a.now+a.unit):a.elema.propa.now}}},Kb.propHooks.scrollTopKb.propHooks.scrollLeft{set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elema.propa.now)}},n.easing{linear:function(a){return a},swing:function(a){return.5-Math.cos(a*Math.PI)/2}},n.fxKb.prototype.init,n.fx.step{};var Lb,Mb,Nb/^(?:toggle|show|hide)$/,Obnew RegExp(^(?:(+-)|)(+Q+)(a-z%*)$,i),Pb/queueHooks$/,QbVb,Rb{*:function(a,b){var cthis.createTween(a,b),dc.cur(),eOb.exec(b),fe&&e3||(n.cssNumbera?:px),g(n.cssNumbera||px!f&&+d)&&Ob.exec(n.css(c.elem,a)),h1,i20;if(g&&g3!f){ff||g3,ee||,g+d||1;do hh||.5,g/h,n.style(c.elem,a,g+f);while(h!(hc.cur()/d)&&1!h&&--i)}return e&&(gc.start+g||+d||0,c.unitf,c.ende1?g+(e1+1)*e2:+e2),c}};function Sb(){return setTimeout(function(){Lbvoid 0}),Lbn.now()}function Tb(a,b){var c,d0,e{height:a};for(bb?1:0;4>d;d+2-b)cRd,emargin+cepadding+ca;return b&&(e.opacitye.widtha),e}function Ub(a,b,c){for(var d,e(Rbb||).concat(Rb*),f0,ge.length;g>f;f++)if(def.call(c,b,a))return d}function Vb(a,b,c){var d,e,f,g,h,i,j,k,lthis,m{},oa.style,pa.nodeType&&S(a),qL.get(a,fxshow);c.queue||(hn._queueHooks(a,fx),nullh.unqueued&&(h.unqueued0,ih.empty.fire,h.empty.firefunction(){h.unqueued||i()}),h.unqueued++,l.always(function(){l.always(function(){h.unqueued--,n.queue(a,fx).length||h.empty.fire()})})),1a.nodeType&&(heightin b||widthin b)&&(c.overflowo.overflow,o.overflowX,o.overflowY,jn.css(a,display),knonej?L.get(a,olddisplay)||tb(a.nodeName):j,inlinek&&nonen.css(a,float)&&(o.displayinline-block)),c.overflow&&(o.overflowhidden,l.always(function(){o.overflowc.overflow0,o.overflowXc.overflow1,o.overflowYc.overflow2}));for(d in b)if(ebd,Nb.exec(e)){if(delete bd,ff||togglee,e(p?hide:show)){if(show!e||!q||void 0qd)continue;p!0}mdq&&qd||n.style(a,d)}else jvoid 0;if(n.isEmptyObject(m))inline(nonej?tb(a.nodeName):j)&&(o.displayj);else{q?hiddenin q&&(pq.hidden):qL.access(a,fxshow,{}),f&&(q.hidden!p),p?n(a).show():l.done(function(){n(a).hide()}),l.done(function(){var b;L.remove(a,fxshow);for(b in m)n.style(a,b,mb)});for(d in m)gUb(p?qd:0,d,l),d in q||(qdg.start,p&&(g.endg.start,g.startwidthd||heightd?1:0))}}function Wb(a,b){var c,d,e,f,g;for(c in a)if(dn.camelCase(c),ebd,fac,n.isArray(f)&&(ef1,facf0),c!d&&(adf,delete ac),gn.cssHooksd,g&&expandin g){fg.expand(f),delete ad;for(c in f)c in a||(acfc,bce)}else bde}function Xb(a,b,c){var d,e,f0,gQb.length,hn.Deferred().always(function(){delete i.elem}),ifunction(){if(e)return!1;for(var bLb||Sb(),cMath.max(0,j.startTime+j.duration-b),dc/j.duration||0,f1-d,g0,ij.tweens.length;i>g;g++)j.tweensg.run(f);return h.notifyWith(a,j,f,c),1>f&&i?c:(h.resolveWith(a,j),!1)},jh.promise({elem:a,props:n.extend({},b),opts:n.extend(!0,{specialEasing:{}},c),originalProperties:b,originalOptions:c,startTime:Lb||Sb(),duration:c.duration,tweens:,createTween:function(b,c){var dn.Tween(a,j.opts,b,c,j.opts.specialEasingb||j.opts.easing);return j.tweens.push(d),d},stop:function(b){var c0,db?j.tweens.length:0;if(e)return this;for(e!0;d>c;c++)j.tweensc.run(1);return b?h.resolveWith(a,j,b):h.rejectWith(a,j,b),this}}),kj.props;for(Wb(k,j.opts.specialEasing);g>f;f++)if(dQbf.call(j,a,k,j.opts))return d;return n.map(k,Ub,j),n.isFunction(j.opts.start)&&j.opts.start.call(a,j),n.fx.timer(n.extend(i,{elem:a,anim:j,queue:j.opts.queue})),j.progress(j.opts.progress).done(j.opts.done,j.opts.complete).fail(j.opts.fail).always(j.opts.always)}n.Animationn.extend(Xb,{tweener:function(a,b){n.isFunction(a)?(ba,a*):aa.split( );for(var c,d0,ea.length;e>d;d++)cad,RbcRbc||,Rbc.unshift(b)},prefilter:function(a,b){b?Qb.unshift(a):Qb.push(a)}}),n.speedfunction(a,b,c){var da&&objecttypeof a?n.extend({},a):{complete:c||!c&&b||n.isFunction(a)&&a,duration:a,easing:c&&b||b&&!n.isFunction(b)&&b};return d.durationn.fx.off?0:numbertypeof d.duration?d.duration:d.duration in n.fx.speeds?n.fx.speedsd.duration:n.fx.speeds._default,(nulld.queue||d.queue!0)&&(d.queuefx),d.oldd.complete,d.completefunction(){n.isFunction(d.old)&&d.old.call(this),d.queue&&n.dequeue(this,d.queue)},d},n.fn.extend({fadeTo:function(a,b,c,d){return this.filter(S).css(opacity,0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,d){var en.isEmptyObject(a),fn.speed(b,c,d),gfunction(){var bXb(this,n.extend({},a),f);(e||L.get(this,finish))&&b.stop(!0)};return g.finishg,e||f.queue!1?this.each(g):this.queue(f.queue,g)},stop:function(a,b,c){var dfunction(a){var ba.stop;delete a.stop,b(c)};returnstring!typeof a&&(cb,ba,avoid 0),b&&a!!1&&this.queue(a||fx,),this.each(function(){var b!0,enull!a&&a+queueHooks,fn.timers,gL.get(this);if(e)ge&&ge.stop&&d(ge);else for(e in g)ge&&ge.stop&&Pb.test(e)&&d(ge);for(ef.length;e--;)fe.elem!this||null!a&&fe.queue!a||(fe.anim.stop(c),b!1,f.splice(e,1));(b||!c)&&n.dequeue(this,a)})},finish:function(a){return a!!1&&(aa||fx),this.each(function(){var b,cL.get(this),dca+queue,eca+queueHooks,fn.timers,gd?d.length:0;for(c.finish!0,n.queue(this,a,),e&&e.stop&&e.stop.call(this,!0),bf.length;b--;)fb.elemthis&&fb.queuea&&(fb.anim.stop(!0),f.splice(b,1));for(b0;g>b;b++)db&&db.finish&&db.finish.call(this);delete c.finish})}}),n.each(toggle,show,hide,function(a,b){var cn.fnb;n.fnbfunction(a,d,e){return nulla||booleantypeof a?c.apply(this,arguments):this.animate(Tb(b,!0),a,d,e)}}),n.each({slideDown:Tb(show),slideUp:Tb(hide),slideToggle:Tb(toggle),fadeIn:{opacity:show},fadeOut:{opacity:hide},fadeToggle:{opacity:toggle}},function(a,b){n.fnafunction(a,c,d){return this.animate(b,a,c,d)}}),n.timers,n.fx.tickfunction(){var a,b0,cn.timers;for(Lbn.now();bc.length;b++)acb,a()||cb!a||c.splice(b--,1);c.length||n.fx.stop(),Lbvoid 0},n.fx.timerfunction(a){n.timers.push(a),a()?n.fx.start():n.timers.pop()},n.fx.interval13,n.fx.startfunction(){Mb||(MbsetInterval(n.fx.tick,n.fx.interval))},n.fx.stopfunction(){clearInterval(Mb),Mbnull},n.fx.speeds{slow:600,fast:200,_default:400},n.fn.delayfunction(a,b){return an.fx?n.fx.speedsa||a:a,bb||fx,this.queue(b,function(b,c){var dsetTimeout(b,a);c.stopfunction(){clearTimeout(d)}})},function(){var al.createElement(input),bl.createElement(select),cb.appendChild(l.createElement(option));a.typecheckbox,k.checkOn!a.value,k.optSelectedc.selected,b.disabled!0,k.optDisabled!c.disabled,al.createElement(input),a.valuet,a.typeradio,k.radioValueta.value}();var Yb,Zb,$bn.expr.attrHandle;n.fn.extend({attr:function(a,b){return J(this,n.attr,a,b,arguments.length>1)},removeAttr:function(a){return this.each(function(){n.removeAttr(this,a)})}}),n.extend({attr:function(a,b,c){var d,e,fa.nodeType;if(a&&3!f&&8!f&&2!f)return typeof a.getAttributeU?n.prop(a,b,c):(1f&&n.isXMLDoc(a)||(bb.toLowerCase(),dn.attrHooksb||(n.expr.match.bool.test(b)?Zb:Yb)),void 0c?d&&getin d&&null!(ed.get(a,b))?e:(en.find.attr(a,b),nulle?void 0:e):null!c?d&&setin d&&void 0!(ed.set(a,c,b))?e:(a.setAttribute(b,c+),c):void n.removeAttr(a,b)) },removeAttr:function(a,b){var c,d,e0,fb&&b.match(E);if(f&&1a.nodeType)while(cfe++)dn.propFixc||c,n.expr.match.bool.test(c)&&(ad!1),a.removeAttribute(c)},attrHooks:{type:{set:function(a,b){if(!k.radioValue&&radiob&&n.nodeName(a,input)){var ca.value;return a.setAttribute(type,b),c&&(a.valuec),b}}}}}),Zb{set:function(a,b,c){return b!1?n.removeAttr(a,c):a.setAttribute(c,c),c}},n.each(n.expr.match.bool.source.match(/\w+/g),function(a,b){var c$bb||n.find.attr;$bbfunction(a,b,d){var e,f;return d||(f$bb,$bbe,enull!c(a,b,d)?b.toLowerCase():null,$bbf),e}});var _b/^(?:input|select|textarea|button)$/i;n.fn.extend({prop:function(a,b){return J(this,n.prop,a,b,arguments.length>1)},removeProp:function(a){return this.each(function(){delete thisn.propFixa||a})}}),n.extend({propFix:{for:htmlFor,class:className},prop:function(a,b,c){var d,e,f,ga.nodeType;if(a&&3!g&&8!g&&2!g)return f1!g||!n.isXMLDoc(a),f&&(bn.propFixb||b,en.propHooksb),void 0!c?e&&setin e&&void 0!(de.set(a,c,b))?d:abc:e&&getin e&&null!(de.get(a,b))?d:ab},propHooks:{tabIndex:{get:function(a){return a.hasAttribute(tabindex)||_b.test(a.nodeName)||a.href?a.tabIndex:-1}}}}),k.optSelected||(n.propHooks.selected{get:function(a){var ba.parentNode;return b&&b.parentNode&&b.parentNode.selectedIndex,null}}),n.each(tabIndex,readOnly,maxLength,cellSpacing,cellPadding,rowSpan,colSpan,useMap,frameBorder,contentEditable,function(){n.propFixthis.toLowerCase()this});var ac/\t\r\n\f/g;n.fn.extend({addClass:function(a){var b,c,d,e,f,g,hstringtypeof a&&a,i0,jthis.length;if(n.isFunction(a))return this.each(function(b){n(this).addClass(a.call(this,b,this.className))});if(h)for(b(a||).match(E)||;j>i;i++)if(cthisi,d1c.nodeType&&(c.className?( +c.className+ ).replace(ac, ): )){f0;while(ebf++)d.indexOf( +e+ )0&&(d+e+ );gn.trim(d),c.className!g&&(c.classNameg)}return this},removeClass:function(a){var b,c,d,e,f,g,h0arguments.length||stringtypeof a&&a,i0,jthis.length;if(n.isFunction(a))return this.each(function(b){n(this).removeClass(a.call(this,b,this.className))});if(h)for(b(a||).match(E)||;j>i;i++)if(cthisi,d1c.nodeType&&(c.className?( +c.className+ ).replace(ac, ):)){f0;while(ebf++)while(d.indexOf( +e+ )>0)dd.replace( +e+ , );ga?n.trim(d):,c.className!g&&(c.classNameg)}return this},toggleClass:function(a,b){var ctypeof a;returnbooleantypeof b&&stringc?b?this.addClass(a):this.removeClass(a):this.each(n.isFunction(a)?function(c){n(this).toggleClass(a.call(this,c,this.className,b),b)}:function(){if(stringc){var b,d0,en(this),fa.match(E)||;while(bfd++)e.hasClass(b)?e.removeClass(b):e.addClass(b)}else(cU||booleanc)&&(this.className&&L.set(this,__className__,this.className),this.classNamethis.className||a!1?:L.get(this,__className__)||)})},hasClass:function(a){for(var b +a+ ,c0,dthis.length;d>c;c++)if(1thisc.nodeType&&( +thisc.className+ ).replace(ac, ).indexOf(b)>0)return!0;return!1}});var bc/\r/g;n.fn.extend({val:function(a){var b,c,d,ethis0;{if(arguments.length)return dn.isFunction(a),this.each(function(c){var e;1this.nodeType&&(ed?a.call(this,c,n(this).val()):a,nulle?e:numbertypeof e?e+:n.isArray(e)&&(en.map(e,function(a){return nulla?:a+})),bn.valHooksthis.type||n.valHooksthis.nodeName.toLowerCase(),b&&setin b&&void 0!b.set(this,e,value)||(this.valuee))});if(e)return bn.valHookse.type||n.valHookse.nodeName.toLowerCase(),b&&getin b&&void 0!(cb.get(e,value))?c:(ce.value,stringtypeof c?c.replace(bc,):nullc?:c)}}}),n.extend({valHooks:{option:{get:function(a){var bn.find.attr(a,value);return null!b?b:n.trim(n.text(a))}},select:{get:function(a){for(var b,c,da.options,ea.selectedIndex,fselect-onea.type||0>e,gf?null:,hf?e+1:d.length,i0>e?h:f?e:0;h>i;i++)if(cdi,!(!c.selected&&i!e||(k.optDisabled?c.disabled:null!c.getAttribute(disabled))||c.parentNode.disabled&&n.nodeName(c.parentNode,optgroup))){if(bn(c).val(),f)return b;g.push(b)}return g},set:function(a,b){var c,d,ea.options,fn.makeArray(b),ge.length;while(g--)deg,(d.selectedn.inArray(d.value,f)>0)&&(c!0);return c||(a.selectedIndex-1),f}}}}),n.each(radio,checkbox,function(){n.valHooksthis{set:function(a,b){return n.isArray(b)?a.checkedn.inArray(n(a).val(),b)>0:void 0}},k.checkOn||(n.valHooksthis.getfunction(a){return nulla.getAttribute(value)?on:a.value})}),n.each(blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu.split( ),function(a,b){n.fnbfunction(a,c){return arguments.length>0?this.on(b,null,a,c):this.trigger(b)}}),n.fn.extend({hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)},bind:function(a,b,c){return this.on(a,null,b,c)},unbind:function(a,b){return this.off(a,null,b)},delegate:function(a,b,c,d){return this.on(b,a,c,d)},undelegate:function(a,b,c){return 1arguments.length?this.off(a,**):this.off(b,a||**,c)}});var ccn.now(),dc/\?/;n.parseJSONfunction(a){return JSON.parse(a+)},n.parseXMLfunction(a){var b,c;if(!a||string!typeof a)return null;try{cnew DOMParser,bc.parseFromString(a,text/xml)}catch(d){bvoid 0}return(!b||b.getElementsByTagName(parsererror).length)&&n.error(Invalid XML: +a),b};var ec/#.*$/,fc/(?&)_^&*/,gc/^(.*?): \t*(^\r\n*)$/gm,hc/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,ic/^(?:GET|HEAD)$/,jc/^\/\//,kc/^(\w.+-+:)(?:\/\/(?:^\/?#*@|)(^\/?#:*)(?::(\d+)|)|)/,lc{},mc{},nc*/.concat(*),oca.location.href,pckc.exec(oc.toLowerCase())||;function qc(a){return function(b,c){string!typeof b&&(cb,b*);var d,e0,fb.toLowerCase().match(E)||;if(n.isFunction(c))while(dfe++)+d0?(dd.slice(1)||*,(adad||).unshift(c)):(adad||).push(c)}}function rc(a,b,c,d){var e{},famc;function g(h){var i;return eh!0,n.each(ah||,function(a,h){var jh(b,c,d);returnstring!typeof j||f||ej?f?!(ij):void 0:(b.dataTypes.unshift(j),g(j),!1)}),i}return g(b.dataTypes0)||!e*&&g(*)}function sc(a,b){var c,d,en.ajaxSettings.flatOptions||{};for(c in b)void 0!bc&&((ec?a:d||(d{}))cbc);return d&&n.extend(!0,a,d),a}function tc(a,b,c){var d,e,f,g,ha.contents,ia.dataTypes;while(*i0)i.shift(),void 0d&&(da.mimeType||b.getResponseHeader(Content-Type));if(d)for(e in h)if(he&&he.test(d)){i.unshift(e);break}if(i0in c)fi0;else{for(e in c){if(!i0||a.converterse+ +i0){fe;break}g||(ge)}ff||g}return f?(f!i0&&i.unshift(f),cf):void 0}function uc(a,b,c,d){var e,f,g,h,i,j{},ka.dataTypes.slice();if(k1)for(g in a.converters)jg.toLowerCase()a.convertersg;fk.shift();while(f)if(a.responseFieldsf&&(ca.responseFieldsfb),!i&&d&&a.dataFilter&&(ba.dataFilter(b,a.dataType)),if,fk.shift())if(*f)fi;else if(*!i&&i!f){if(gji+ +f||j* +f,!g)for(e in j)if(he.split( ),h1f&&(gji+ +h0||j* +h0)){g!0?gje:je!!0&&(fh0,k.unshift(h1));break}if(g!!0)if(g&&athrows)bg(b);else try{bg(b)}catch(l){return{state:parsererror,error:g?l:No conversion from +i+ to +f}}}return{state:success,data:b}}n.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:oc,type:GET,isLocal:hc.test(pc1),global:!0,processData:!0,async:!0,contentType:application/x-www-form-urlencoded; charsetUTF-8,accepts:{*:nc,text:text/plain,html:text/html,xml:application/xml, text/xml,json:application/json, text/javascript},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:responseXML,text:responseText,json:responseJSON},converters:{* text:String,text html:!0,text json:n.parseJSON,text xml:n.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,b){return b?sc(sc(a,n.ajaxSettings),b):sc(n.ajaxSettings,a)},ajaxPrefilter:qc(lc),ajaxTransport:qc(mc),ajax:function(a,b){objecttypeof a&&(ba,avoid 0),bb||{};var c,d,e,f,g,h,i,j,kn.ajaxSetup({},b),lk.context||k,mk.context&&(l.nodeType||l.jquery)?n(l):n.event,on.Deferred(),pn.Callbacks(once memory),qk.statusCode||{},r{},s{},t0,ucanceled,v{readyState:0,getResponseHeader:function(a){var b;if(2t){if(!f){f{};while(bgc.exec(e))fb1.toLowerCase()b2}bfa.toLowerCase()}return nullb?null:b},getAllResponseHeaders:function(){return 2t?e:null},setRequestHeader:function(a,b){var ca.toLowerCase();return t||(ascsc||a,rab),this},overrideMimeType:function(a){return t||(k.mimeTypea),this},statusCode:function(a){var b;if(a)if(2>t)for(b in a)qbqb,ab;else v.always(av.status);return this},abort:function(a){var ba||u;return c&&c.abort(b),x(0,b),this}};if(o.promise(v).completep.add,v.successv.done,v.errorv.fail,k.url((a||k.url||oc)+).replace(ec,).replace(jc,pc1+//),k.typeb.method||b.type||k.method||k.type,k.dataTypesn.trim(k.dataType||*).toLowerCase().match(E)||,nullk.crossDomain&&(hkc.exec(k.url.toLowerCase()),k.crossDomain!(!h||h1pc1&&h2pc2&&(h3||(http:h1?80:443))(pc3||(http:pc1?80:443)))),k.data&&k.processData&&string!typeof k.data&&(k.datan.param(k.data,k.traditional)),rc(lc,k,b,v),2t)return v;in.event&&k.global,i&&0n.active++&&n.event.trigger(ajaxStart),k.typek.type.toUpperCase(),k.hasContent!ic.test(k.type),dk.url,k.hasContent||(k.data&&(dk.url+(dc.test(d)?&:?)+k.data,delete k.data),k.cache!1&&(k.urlfc.test(d)?d.replace(fc,$1_+cc++):d+(dc.test(d)?&:?)+_+cc++)),k.ifModified&&(n.lastModifiedd&&v.setRequestHeader(If-Modified-Since,n.lastModifiedd),n.etagd&&v.setRequestHeader(If-None-Match,n.etagd)),(k.data&&k.hasContent&&k.contentType!!1||b.contentType)&&v.setRequestHeader(Content-Type,k.contentType),v.setRequestHeader(Accept,k.dataTypes0&&k.acceptsk.dataTypes0?k.acceptsk.dataTypes0+(*!k.dataTypes0?, +nc+; q0.01:):k.accepts*);for(j in k.headers)v.setRequestHeader(j,k.headersj);if(k.beforeSend&&(k.beforeSend.call(l,v,k)!1||2t))return v.abort();uabort;for(j in{success:1,error:1,complete:1})vj(kj);if(crc(mc,k,b,v)){v.readyState1,i&&m.trigger(ajaxSend,v,k),k.async&&k.timeout>0&&(gsetTimeout(function(){v.abort(timeout)},k.timeout));try{t1,c.send(r,x)}catch(w){if(!(2>t))throw w;x(-1,w)}}else x(-1,No Transport);function x(a,b,f,h){var j,r,s,u,w,xb;2!t&&(t2,g&&clearTimeout(g),cvoid 0,eh||,v.readyStatea>0?4:0,ja>200&&300>a||304a,f&&(utc(k,v,f)),uuc(k,u,v,j),j?(k.ifModified&&(wv.getResponseHeader(Last-Modified),w&&(n.lastModifieddw),wv.getResponseHeader(etag),w&&(n.etagdw)),204a||HEADk.type?xnocontent:304a?xnotmodified:(xu.state,ru.data,su.error,j!s)):(sx,(a||!x)&&(xerror,0>a&&(a0))),v.statusa,v.statusText(b||x)+,j?o.resolveWith(l,r,x,v):o.rejectWith(l,v,x,s),v.statusCode(q),qvoid 0,i&&m.trigger(j?ajaxSuccess:ajaxError,v,k,j?r:s),p.fireWith(l,v,x),i&&(m.trigger(ajaxComplete,v,k),--n.active||n.event.trigger(ajaxStop)))}return v},getJSON:function(a,b,c){return n.get(a,b,c,json)},getScript:function(a,b){return n.get(a,void 0,b,script)}}),n.each(get,post,function(a,b){nbfunction(a,c,d,e){return n.isFunction(c)&&(ee||d,dc,cvoid 0),n.ajax({url:a,type:b,dataType:e,data:c,success:d})}}),n._evalUrlfunction(a){return n.ajax({url:a,type:GET,dataType:script,async:!1,global:!1,throws:!0})},n.fn.extend({wrapAll:function(a){var b;return n.isFunction(a)?this.each(function(b){n(this).wrapAll(a.call(this,b))}):(this0&&(bn(a,this0.ownerDocument).eq(0).clone(!0),this0.parentNode&&b.insertBefore(this0),b.map(function(){var athis;while(a.firstElementChild)aa.firstElementChild;return a}).append(this)),this)},wrapInner:function(a){return this.each(n.isFunction(a)?function(b){n(this).wrapInner(a.call(this,b))}:function(){var bn(this),cb.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var bn.isFunction(a);return this.each(function(c){n(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){n.nodeName(this,body)||n(this).replaceWith(this.childNodes)}).end()}}),n.expr.filters.hiddenfunction(a){return a.offsetWidth0&&a.offsetHeight0},n.expr.filters.visiblefunction(a){return!n.expr.filters.hidden(a)};var vc/%20/g,wc/\\$/,xc/\r?\n/g,yc/^(?:submit|button|image|reset|file)$/i,zc/^(?:input|select|textarea|keygen)/i;function Ac(a,b,c,d){var e;if(n.isArray(b))n.each(b,function(b,e){c||wc.test(a)?d(a,e):Ac(a++(objecttypeof e?b:)+,e,c,d)});else if(c||object!n.type(b))d(a,b);else for(e in b)Ac(a++e+,be,c,d)}n.paramfunction(a,b){var c,d,efunction(a,b){bn.isFunction(b)?b():nullb?:b,dd.lengthencodeURIComponent(a)++encodeURIComponent(b)};if(void 0b&&(bn.ajaxSettings&&n.ajaxSettings.traditional),n.isArray(a)||a.jquery&&!n.isPlainObject(a))n.each(a,function(){e(this.name,this.value)});else for(c in a)Ac(c,ac,b,e);return d.join(&).replace(vc,+)},n.fn.extend({serialize:function(){return n.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var an.prop(this,elements);return a?n.makeArray(a):this}).filter(function(){var athis.type;return this.name&&!n(this).is(:disabled)&&zc.test(this.nodeName)&&!yc.test(a)&&(this.checked||!T.test(a))}).map(function(a,b){var cn(this).val();return nullc?null:n.isArray(c)?n.map(c,function(a){return{name:b.name,value:a.replace(xc,\r\n)}}):{name:b.name,value:c.replace(xc,\r\n)}}).get()}}),n.ajaxSettings.xhrfunction(){try{return new XMLHttpRequest}catch(a){}};var Bc0,Cc{},Dc{0:200,1223:204},Ecn.ajaxSettings.xhr();a.attachEvent&&a.attachEvent(onunload,function(){for(var a in Cc)Cca()}),k.cors!!Ec&&withCredentialsin Ec,k.ajaxEc!!Ec,n.ajaxTransport(function(a){var b;return k.cors||Ec&&!a.crossDomain?{send:function(c,d){var e,fa.xhr(),g++Bc;if(f.open(a.type,a.url,a.async,a.username,a.password),a.xhrFields)for(e in a.xhrFields)fea.xhrFieldse;a.mimeType&&f.overrideMimeType&&f.overrideMimeType(a.mimeType),a.crossDomain||cX-Requested-With||(cX-Requested-WithXMLHttpRequest);for(e in c)f.setRequestHeader(e,ce);bfunction(a){return function(){b&&(delete Ccg,bf.onloadf.onerrornull,aborta?f.abort():errora?d(f.status,f.statusText):d(Dcf.status||f.status,f.statusText,stringtypeof f.responseText?{text:f.responseText}:void 0,f.getAllResponseHeaders()))}},f.onloadb(),f.onerrorb(error),bCcgb(abort);try{f.send(a.hasContent&&a.data||null)}catch(h){if(b)throw h}},abort:function(){b&&b()}}:void 0}),n.ajaxSetup({accepts:{script:text/javascript, application/javascript, application/ecmascript, application/x-ecmascript},contents:{script:/(?:java|ecma)script/},converters:{text script:function(a){return n.globalEval(a),a}}}),n.ajaxPrefilter(script,function(a){void 0a.cache&&(a.cache!1),a.crossDomain&&(a.typeGET)}),n.ajaxTransport(script,function(a){if(a.crossDomain){var b,c;return{send:function(d,e){bn(script>).prop({async:!0,charset:a.scriptCharset,src:a.url}).on(load error,cfunction(a){b.remove(),cnull,a&&e(errora.type?404:200,a.type)}),l.head.appendChild(b0)},abort:function(){c&&c()}}}});var Fc,Gc/()\?(?&|$)|\?\?/;n.ajaxSetup({jsonp:callback,jsonpCallback:function(){var aFc.pop()||n.expando+_+cc++;return thisa!0,a}}),n.ajaxPrefilter(json jsonp,function(b,c,d){var e,f,g,hb.jsonp!!1&&(Gc.test(b.url)?url:stringtypeof b.data&&!(b.contentType||).indexOf(application/x-www-form-urlencoded)&&Gc.test(b.data)&&data);return h||jsonpb.dataTypes0?(eb.jsonpCallbackn.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,h?bhbh.replace(Gc,$1+e):b.jsonp!!1&&(b.url+(dc.test(b.url)?&:?)+b.jsonp++e),b.convertersscript jsonfunction(){return g||n.error(e+ was not called),g0},b.dataTypes0json,fae,aefunction(){garguments},d.always(function(){aef,be&&(b.jsonpCallbackc.jsonpCallback,Fc.push(e)),g&&n.isFunction(f)&&f(g0),gfvoid 0}),script):void 0}),n.parseHTMLfunction(a,b,c){if(!a||string!typeof a)return null;booleantypeof b&&(cb,b!1),bb||l;var dv.exec(a),e!c&&;return d?b.createElement(d1):(dn.buildFragment(a,b,e),e&&e.length&&n(e).remove(),n.merge(,d.childNodes))};var Hcn.fn.load;n.fn.loadfunction(a,b,c){if(string!typeof a&&Hc)return Hc.apply(this,arguments);var d,e,f,gthis,ha.indexOf( );return h>0&&(dn.trim(a.slice(h)),aa.slice(0,h)),n.isFunction(b)?(cb,bvoid 0):b&&objecttypeof b&&(ePOST),g.length>0&&n.ajax({url:a,type:e,dataType:html,data:b}).done(function(a){farguments,g.html(d?n(div>).append(n.parseHTML(a)).find(d):a)}).complete(c&&function(a,b){g.each(c,f||a.responseText,b,a)}),this},n.each(ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend,function(a,b){n.fnbfunction(a){return this.on(b,a)}}),n.expr.filters.animatedfunction(a){return n.grep(n.timers,function(b){return ab.elem}).length};var Ica.document.documentElement;function Jc(a){return n.isWindow(a)?a:9a.nodeType&&a.defaultView}n.offset{setOffset:function(a,b,c){var d,e,f,g,h,i,j,kn.css(a,position),ln(a),m{};statick&&(a.style.positionrelative),hl.offset(),fn.css(a,top),in.css(a,left),j(absolutek||fixedk)&&(f+i).indexOf(auto)>-1,j?(dl.position(),gd.top,ed.left):(gparseFloat(f)||0,eparseFloat(i)||0),n.isFunction(b)&&(bb.call(a,c,h)),null!b.top&&(m.topb.top-h.top+g),null!b.left&&(m.leftb.left-h.left+e),usingin b?b.using.call(a,m):l.css(m)}},n.fn.extend({offset:function(a){if(arguments.length)return void 0a?this:this.each(function(b){n.offset.setOffset(this,a,b)});var b,c,dthis0,e{top:0,left:0},fd&&d.ownerDocument;if(f)return bf.documentElement,n.contains(b,d)?(typeof d.getBoundingClientRect!U&&(ed.getBoundingClientRect()),cJc(f),{top:e.top+c.pageYOffset-b.clientTop,left:e.left+c.pageXOffset-b.clientLeft}):e},position:function(){if(this0){var a,b,cthis0,d{top:0,left:0};returnfixedn.css(c,position)?bc.getBoundingClientRect():(athis.offsetParent(),bthis.offset(),n.nodeName(a0,html)||(da.offset()),d.top+n.css(a0,borderTopWidth,!0),d.left+n.css(a0,borderLeftWidth,!0)),{top:b.top-d.top-n.css(c,marginTop,!0),left:b.left-d.left-n.css(c,marginLeft,!0)}}},offsetParent:function(){return this.map(function(){var athis.offsetParent||Ic;while(a&&!n.nodeName(a,html)&&staticn.css(a,position))aa.offsetParent;return a||Ic})}}),n.each({scrollLeft:pageXOffset,scrollTop:pageYOffset},function(b,c){var dpageYOffsetc;n.fnbfunction(e){return J(this,function(b,e,f){var gJc(b);return void 0f?g?gc:be:void(g?g.scrollTo(d?a.pageXOffset:f,d?f:a.pageYOffset):bef)},b,e,arguments.length,null)}}),n.each(top,left,function(a,b){n.cssHooksbyb(k.pixelPosition,function(a,c){return c?(cxb(a,b),vb.test(c)?n(a).position()b+px:c):void 0})}),n.each({Height:height,Width:width},function(a,b){n.each({padding:inner+a,content:b,:outer+a},function(c,d){n.fndfunction(d,e){var farguments.length&&(c||boolean!typeof d),gc||(d!0||e!0?margin:border);return J(this,function(b,c,d){var e;return n.isWindow(b)?b.document.documentElementclient+a:9b.nodeType?(eb.documentElement,Math.max(b.bodyscroll+a,escroll+a,b.bodyoffset+a,eoffset+a,eclient+a)):void 0d?n.css(b,c,g):n.style(b,c,d,g)},b,f?d:void 0,f,null)}})}),n.fn.sizefunction(){return this.length},n.fn.andSelfn.fn.addBack,functiontypeof define&&define.amd&&define(jquery,,function(){return n});var Kca.jQuery,Lca.$;return n.noConflictfunction(b){return a.$n&&(a.$Lc),b&&a.jQueryn&&(a.jQueryKc),n},typeof bU&&(a.jQuerya.$n),n}); //lightbox.min.js /** * Lightbox v2.7.1 * by Lokesh Dhakar - http://lokeshdhakar.com/projects/lightbox2/ * * @license http://creativecommons.org/licenses/by/2.5/ * - Free for use in both personal and commercial projects * - Attribution requires leaving author name, author link, and the license info intact */ (function(){var ajQuery,bfunction(){function a(){this.fadeDuration500,this.fitImagesInViewport!0,this.resizeDuration700,this.positionFromTop50,this.showImageNumberLabel!0,this.alwaysShowNavOnTouchDevices!1,this.wrapAround!1}return a.prototype.albumLabelfunction(a,b){returnImage +a+ of +b},a}(),cfunction(){function b(a){this.optionsa,this.album,this.currentImageIndexvoid 0,this.init()}return b.prototype.initfunction(){this.enable(),this.build()},b.prototype.enablefunction(){var bthis;a(body).on(click,arel^lightbox, arearel^lightbox, adata-lightbox, areadata-lightbox,function(c){return b.start(a(c.currentTarget)),!1})},b.prototype.buildfunction(){var bthis;a(div idlightboxOverlay classlightboxOverlay>/div>div idlightbox classlightbox>div classlb-outerContainer>div classlb-container>img classlb-image src />div classlb-nav>a classlb-prev href >/a>a classlb-next href >/a>/div>div classlb-loader>a classlb-cancel>/a>/div>/div>/div>div classlb-dataContainer>div classlb-data>div classlb-details>span classlb-caption>/span>span classlb-number>/span>/div>div classlb-closeContainer>a classlb-close>/a>/div>/div>/div>/div>).appendTo(a(body)),this.$lightboxa(#lightbox),this.$overlaya(#lightboxOverlay),this.$outerContainerthis.$lightbox.find(.lb-outerContainer),this.$containerthis.$lightbox.find(.lb-container),this.containerTopPaddingparseInt(this.$container.css(padding-top),10),this.containerRightPaddingparseInt(this.$container.css(padding-right),10),this.containerBottomPaddingparseInt(this.$container.css(padding-bottom),10),this.containerLeftPaddingparseInt(this.$container.css(padding-left),10),this.$overlay.hide().on(click,function(){return b.end(),!1}),this.$lightbox.hide().on(click,function(c){returnlightboxa(c.target).attr(id)&&b.end(),!1}),this.$outerContainer.on(click,function(c){returnlightboxa(c.target).attr(id)&&b.end(),!1}),this.$lightbox.find(.lb-prev).on(click,function(){return b.changeImage(0b.currentImageIndex?b.album.length-1:b.currentImageIndex-1),!1}),this.$lightbox.find(.lb-next).on(click,function(){return b.changeImage(b.currentImageIndexb.album.length-1?0:b.currentImageIndex+1),!1}),this.$lightbox.find(.lb-loader, .lb-close).on(click,function(){return b.end(),!1})},b.prototype.startfunction(b){function c(a){d.album.push({link:a.attr(href),title:a.attr(data-title)||a.attr(title)})}var dthis,ea(window);e.on(resize,a.proxy(this.sizeOverlay,this)),a(select, object, embed).css({visibility:hidden}),this.sizeOverlay(),this.album;var f,g0,hb.attr(data-lightbox);if(h){fa(b.prop(tagName)+data-lightbox+h+);for(var i0;if.length;i++i)c(a(fi)),fib0&&(gi)}else if(lightboxb.attr(rel))c(b);else{fa(b.prop(tagName)+rel+b.attr(rel)+);for(var j0;jf.length;j++j)c(a(fj)),fjb0&&(gj)}var ke.scrollTop()+this.options.positionFromTop,le.scrollLeft();this.$lightbox.css({top:k+px,left:l+px}).fadeIn(this.options.fadeDuration),this.changeImage(g)},b.prototype.changeImagefunction(b){var cthis;this.disableKeyboardNav();var dthis.$lightbox.find(.lb-image);this.$overlay.fadeIn(this.options.fadeDuration),a(.lb-loader).fadeIn(slow),this.$lightbox.find(.lb-image, .lb-nav, .lb-prev, .lb-next, .lb-dataContainer, .lb-numbers, .lb-caption).hide(),this.$outerContainer.addClass(animating);var enew Image;e.onloadfunction(){var f,g,h,i,j,k,l;d.attr(src,c.albumb.link),fa(e),d.width(e.width),d.height(e.height),c.options.fitImagesInViewport&&(la(window).width(),ka(window).height(),jl-c.containerLeftPadding-c.containerRightPadding-20,ik-c.containerTopPadding-c.containerBottomPadding-120,(e.width>j||e.height>i)&&(e.width/j>e.height/i?(hj,gparseInt(e.height/(e.width/h),10),d.width(h),d.height(g)):(gi,hparseInt(e.width/(e.height/g),10),d.width(h),d.height(g)))),c.sizeContainer(d.width(),d.height())},e.srcthis.albumb.link,this.currentImageIndexb},b.prototype.sizeOverlayfunction(){this.$overlay.width(a(window).width()).height(a(document).height())},b.prototype.sizeContainerfunction(a,b){function c(){d.$lightbox.find(.lb-dataContainer).width(g),d.$lightbox.find(.lb-prevLink).height(h),d.$lightbox.find(.lb-nextLink).height(h),d.showImage()}var dthis,ethis.$outerContainer.outerWidth(),fthis.$outerContainer.outerHeight(),ga+this.containerLeftPadding+this.containerRightPadding,hb+this.containerTopPadding+this.containerBottomPadding;e!g||f!h?this.$outerContainer.animate({width:g,height:h},this.options.resizeDuration,swing,function(){c()}):c()},b.prototype.showImagefunction(){this.$lightbox.find(.lb-loader).hide(),this.$lightbox.find(.lb-image).fadeIn(slow),this.updateNav(),this.updateDetails(),this.preloadNeighboringImages(),this.enableKeyboardNav()},b.prototype.updateNavfunction(){var a!1;try{document.createEvent(TouchEvent),athis.options.alwaysShowNavOnTouchDevices?!0:!1}catch(b){}this.$lightbox.find(.lb-nav).show(),this.album.length>1&&(this.options.wrapAround?(a&&this.$lightbox.find(.lb-prev, .lb-next).css(opacity,1),this.$lightbox.find(.lb-prev, .lb-next).show()):(this.currentImageIndex>0&&(this.$lightbox.find(.lb-prev).show(),a&&this.$lightbox.find(.lb-prev).css(opacity,1)),this.currentImageIndexthis.album.length-1&&(this.$lightbox.find(.lb-next).show(),a&&this.$lightbox.find(.lb-next).css(opacity,1))))},b.prototype.updateDetailsfunction(){var bthis;undefined!typeof this.albumthis.currentImageIndex.title&&!this.albumthis.currentImageIndex.title&&this.$lightbox.find(.lb-caption).html(this.albumthis.currentImageIndex.title).fadeIn(fast).find(a).on(click,function(){location.hrefa(this).attr(href)}),this.album.length>1&&this.options.showImageNumberLabel?this.$lightbox.find(.lb-number).text(this.options.albumLabel(this.currentImageIndex+1,this.album.length)).fadeIn(fast):this.$lightbox.find(.lb-number).hide(),this.$outerContainer.removeClass(animating),this.$lightbox.find(.lb-dataContainer).fadeIn(this.options.resizeDuration,function(){return b.sizeOverlay()})},b.prototype.preloadNeighboringImagesfunction(){if(this.album.length>this.currentImageIndex+1){var anew Image;a.srcthis.albumthis.currentImageIndex+1.link}if(this.currentImageIndex>0){var bnew Image;b.srcthis.albumthis.currentImageIndex-1.link}},b.prototype.enableKeyboardNavfunction(){a(document).on(keyup.keyboard,a.proxy(this.keyboardAction,this))},b.prototype.disableKeyboardNavfunction(){a(document).off(.keyboard)},b.prototype.keyboardActionfunction(a){var b27,c37,d39,ea.keyCode,fString.fromCharCode(e).toLowerCase();eb||f.match(/x|o|c/)?this.end():pf||ec?0!this.currentImageIndex?this.changeImage(this.currentImageIndex-1):this.options.wrapAround&&this.album.length>1&&this.changeImage(this.album.length-1):(nf||ed)&&(this.currentImageIndex!this.album.length-1?this.changeImage(this.currentImageIndex+1):this.options.wrapAround&&this.album.length>1&&this.changeImage(0))},b.prototype.endfunction(){this.disableKeyboardNav(),a(window).off(resize,this.sizeOverlay),this.$lightbox.fadeOut(this.options.fadeDuration),this.$overlay.fadeOut(this.options.fadeDuration),a(select, object, embed).css({visibility:visible})},b}();a(function(){{var anew b;new c(a)}})}).call(this); //# sourceMappingURLlightbox.min.map //jquery.bxslider.min.js /** * BxSlider v4.1.1 - Fully loaded, responsive content slider * http://bxslider.com * * Copyright 2013, Steven Wanderski - http://stevenwanderski.com - http://bxcreative.com * Written while drinking Belgian ales and listening to jazz * * Released under the MIT license - http://opensource.org/licenses/MIT */ !function(t){var e{},s{mode:horizontal,slideSelector:,infiniteLoop:!0,hideControlOnEnd:!1,speed:500,easing:null,slideMargin:0,startSlide:0,randomStart:!1,captions:!1,ticker:!1,tickerHover:!1,adaptiveHeight:!1,adaptiveHeightSpeed:500,video:!1,useCSS:!0,preloadImages:visible,responsive:!0,touchEnabled:!0,swipeThreshold:50,oneToOneTouch:!0,preventDefaultSwipeX:!0,preventDefaultSwipeY:!1,pager:!0,pagerType:full,pagerShortSeparator: / ,pagerSelector:null,buildPager:null,pagerCustom:null,controls:!0,nextText:Next,prevText:Prev,nextSelector:null,prevSelector:null,autoControls:!1,startText:Start,stopText:Stop,autoControlsCombine:!1,autoControlsSelector:null,auto:!1,pause:4e3,autoStart:!0,autoDirection:next,autoHover:!1,autoDelay:0,minSlides:1,maxSlides:1,moveSlides:0,slideWidth:0,onSliderLoad:function(){},onSlideBefore:function(){},onSlideAfter:function(){},onSlideNext:function(){},onSlidePrev:function(){}};t.fn.bxSliderfunction(n){if(0this.length)return this;if(this.length>1)return this.each(function(){t(this).bxSlider(n)}),this;var o{},rthis;e.elthis;var at(window).width(),lt(window).height(),dfunction(){o.settingst.extend({},s,n),o.settings.slideWidthparseInt(o.settings.slideWidth),o.childrenr.children(o.settings.slideSelector),o.children.lengtho.settings.minSlides&&(o.settings.minSlideso.children.length),o.children.lengtho.settings.maxSlides&&(o.settings.maxSlideso.children.length),o.settings.randomStart&&(o.settings.startSlideMath.floor(Math.random()*o.children.length)),o.active{index:o.settings.startSlide},o.carouselo.settings.minSlides>1||o.settings.maxSlides>1,o.carousel&&(o.settings.preloadImagesall),o.minThresholdo.settings.minSlides*o.settings.slideWidth+(o.settings.minSlides-1)*o.settings.slideMargin,o.maxThresholdo.settings.maxSlides*o.settings.slideWidth+(o.settings.maxSlides-1)*o.settings.slideMargin,o.working!1,o.controls{},o.intervalnull,o.animPropverticalo.settings.mode?top:left,o.usingCSSo.settings.useCSS&&fade!o.settings.mode&&function(){var tdocument.createElement(div),eWebkitPerspective,MozPerspective,OPerspective,msPerspective;for(var i in e)if(void 0!t.styleei)return o.cssPrefixei.replace(Perspective,).toLowerCase(),o.animProp-+o.cssPrefix+-transform,!0;return!1}(),verticalo.settings.mode&&(o.settings.maxSlideso.settings.minSlides),r.data(origStyle,r.attr(style)),r.children(o.settings.slideSelector).each(function(){t(this).data(origStyle,t(this).attr(style))}),c()},cfunction(){r.wrap(div classbx-wrapper>div classbx-viewport>/div>/div>),o.viewportr.parent(),o.loadert(div classbx-loading />),o.viewport.prepend(o.loader),r.css({width:horizontalo.settings.mode?100*o.children.length+215+%:auto,position:relative}),o.usingCSS&&o.settings.easing?r.css(-+o.cssPrefix+-transition-timing-function,o.settings.easing):o.settings.easing||(o.settings.easingswing),f(),o.viewport.css({width:100%,overflow:hidden,position:relative}),o.viewport.parent().css({maxWidth:v()}),o.settings.pager||o.viewport.parent().css({margin:0 auto 0px}),o.children.css({float:horizontalo.settings.mode?left:none,listStyle:none,position:relative}),o.children.css(width,u()),horizontalo.settings.mode&&o.settings.slideMargin>0&&o.children.css(marginRight,o.settings.slideMargin),verticalo.settings.mode&&o.settings.slideMargin>0&&o.children.css(marginBottom,o.settings.slideMargin),fadeo.settings.mode&&(o.children.css({position:absolute,zIndex:0,display:none}),o.children.eq(o.settings.startSlide).css({zIndex:50,display:block})),o.controls.elt(div classbx-controls />),o.settings.captions&&P(),o.active.lasto.settings.startSlidex()-1,o.settings.video&&r.fitVids();var eo.children.eq(o.settings.startSlide);allo.settings.preloadImages&&(eo.children),o.settings.ticker?o.settings.pager!1:(o.settings.pager&&T(),o.settings.controls&&C(),o.settings.auto&&o.settings.autoControls&&E(),(o.settings.controls||o.settings.autoControls||o.settings.pager)&&o.viewport.after(o.controls.el)),g(e,h)},gfunction(e,i){var se.find(img, iframe).length;if(0s)return i(),void 0;var n0;e.find(img, iframe).each(function(){t(this).one(load,function(){++ns&&i()}).each(function(){this.complete&&t(this).load()})})},hfunction(){if(o.settings.infiniteLoop&&fade!o.settings.mode&&!o.settings.ticker){var everticalo.settings.mode?o.settings.minSlides:o.settings.maxSlides,io.children.slice(0,e).clone().addClass(bx-clone),so.children.slice(-e).clone().addClass(bx-clone);r.append(i).prepend(s)}o.loader.remove(),S(),verticalo.settings.mode&&(o.settings.adaptiveHeight!0),o.viewport.height(p()),r.redrawSlider(),o.settings.onSliderLoad(o.active.index),o.initialized!0,o.settings.responsive&&t(window).bind(resize,B),o.settings.auto&&o.settings.autoStart&&H(),o.settings.ticker&&L(),o.settings.pager&&I(o.settings.startSlide),o.settings.controls&&W(),o.settings.touchEnabled&&!o.settings.ticker&&O()},pfunction(){var e0,st();if(verticalo.settings.mode||o.settings.adaptiveHeight)if(o.carousel){var n1o.settings.moveSlides?o.active.index:o.active.index*m();for(so.children.eq(n),i1;io.settings.maxSlides-1;i++)sn+i>o.children.length?s.add(o.children.eq(i-1)):s.add(o.children.eq(n+i))}else so.children.eq(o.active.index);else so.children;returnverticalo.settings.mode?(s.each(function(){e+t(this).outerHeight()}),o.settings.slideMargin>0&&(e+o.settings.slideMargin*(o.settings.minSlides-1))):eMath.max.apply(Math,s.map(function(){return t(this).outerHeight(!1)}).get()),e},vfunction(){var t100%;return o.settings.slideWidth>0&&(thorizontalo.settings.mode?o.settings.maxSlides*o.settings.slideWidth+(o.settings.maxSlides-1)*o.settings.slideMargin:o.settings.slideWidth),t},ufunction(){var to.settings.slideWidth,eo.viewport.width();return 0o.settings.slideWidth||o.settings.slideWidth>e&&!o.carousel||verticalo.settings.mode?te:o.settings.maxSlides>1&&horizontalo.settings.mode&&(e>o.maxThreshold||eo.minThreshold&&(t(e-o.settings.slideMargin*(o.settings.minSlides-1))/o.settings.minSlides)),t},ffunction(){var t1;if(horizontalo.settings.mode&&o.settings.slideWidth>0)if(o.viewport.width()o.minThreshold)to.settings.minSlides;else if(o.viewport.width()>o.maxThreshold)to.settings.maxSlides;else{var eo.children.first().width();tMath.floor(o.viewport.width()/e)}elseverticalo.settings.mode&&(to.settings.minSlides);return t},xfunction(){var t0;if(o.settings.moveSlides>0)if(o.settings.infiniteLoop)to.children.length/m();else for(var e0,i0;eo.children.length;)++t,ei+f(),i+o.settings.moveSlidesf()?o.settings.moveSlides:f();else tMath.ceil(o.children.length/f());return t},mfunction(){return o.settings.moveSlides>0&&o.settings.moveSlidesf()?o.settings.moveSlides:f()},Sfunction(){if(o.children.length>o.settings.maxSlides&&o.active.last&&!o.settings.infiniteLoop){if(horizontalo.settings.mode){var to.children.last(),et.position();b(-(e.left-(o.viewport.width()-t.width())),reset,0)}else if(verticalo.settings.mode){var io.children.length-o.settings.minSlides,eo.children.eq(i).position();b(-e.top,reset,0)}}else{var eo.children.eq(o.active.index*m()).position();o.active.indexx()-1&&(o.active.last!0),void 0!e&&(horizontalo.settings.mode?b(-e.left,reset,0):verticalo.settings.mode&&b(-e.top,reset,0))}},bfunction(t,e,i,s){if(o.usingCSS){var nverticalo.settings.mode?translate3d(0, +t+px, 0):translate3d(+t+px, 0, 0);r.css(-+o.cssPrefix+-transition-duration,i/1e3+s),slidee?(r.css(o.animProp,n),r.bind(transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd,function(){r.unbind(transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd),D()})):resete?r.css(o.animProp,n):tickere&&(r.css(-+o.cssPrefix+-transition-timing-function,linear),r.css(o.animProp,n),r.bind(transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd,function(){r.unbind(transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd),b(s.resetValue,reset,0),N()}))}else{var a{};ao.animPropt,slidee?r.animate(a,i,o.settings.easing,function(){D()}):resete?r.css(o.animProp,t):tickere&&r.animate(a,speed,linear,function(){b(s.resetValue,reset,0),N()})}},wfunction(){for(var e,ix(),s0;i>s;s++){var n;o.settings.buildPager&&t.isFunction(o.settings.buildPager)?(no.settings.buildPager(s),o.pagerEl.addClass(bx-custom-pager)):(ns+1,o.pagerEl.addClass(bx-default-pager)),e+div classbx-pager-item>a href data-slide-index+s+ classbx-pager-link>+n+/a>/div>}o.pagerEl.html(e)},Tfunction(){o.settings.pagerCustom?o.pagerElt(o.settings.pagerCustom):(o.pagerElt(div classbx-pager />),o.settings.pagerSelector?t(o.settings.pagerSelector).html(o.pagerEl):o.controls.el.addClass(bx-has-pager).append(o.pagerEl),w()),o.pagerEl.delegate(a,click,q)},Cfunction(){o.controls.nextt(a classbx-next href>+o.settings.nextText+/a>),o.controls.prevt(a classbx-prev href>+o.settings.prevText+/a>),o.controls.next.bind(click,y),o.controls.prev.bind(click,z),o.settings.nextSelector&&t(o.settings.nextSelector).append(o.controls.next),o.settings.prevSelector&&t(o.settings.prevSelector).append(o.controls.prev),o.settings.nextSelector||o.settings.prevSelector||(o.controls.directionElt(div classbx-controls-direction />),o.controls.directionEl.append(o.controls.prev).append(o.controls.next),o.controls.el.addClass(bx-has-controls-direction).append(o.controls.directionEl))},Efunction(){o.controls.startt(div classbx-controls-auto-item>a classbx-start href>+o.settings.startText+/a>/div>),o.controls.stopt(div classbx-controls-auto-item>a classbx-stop href>+o.settings.stopText+/a>/div>),o.controls.autoElt(div classbx-controls-auto />),o.controls.autoEl.delegate(.bx-start,click,k),o.controls.autoEl.delegate(.bx-stop,click,M),o.settings.autoControlsCombine?o.controls.autoEl.append(o.controls.start):o.controls.autoEl.append(o.controls.start).append(o.controls.stop),o.settings.autoControlsSelector?t(o.settings.autoControlsSelector).html(o.controls.autoEl):o.controls.el.addClass(bx-has-controls-auto).append(o.controls.autoEl),A(o.settings.autoStart?stop:start)},Pfunction(){o.children.each(function(){var et(this).find(img:first).attr(title);void 0!e&&(+e).length&&t(this).append(div classbx-caption>span>+e+/span>/div>)})},yfunction(t){o.settings.auto&&r.stopAuto(),r.goToNextSlide(),t.preventDefault()},zfunction(t){o.settings.auto&&r.stopAuto(),r.goToPrevSlide(),t.preventDefault()},kfunction(t){r.startAuto(),t.preventDefault()},Mfunction(t){r.stopAuto(),t.preventDefault()},qfunction(e){o.settings.auto&&r.stopAuto();var it(e.currentTarget),sparseInt(i.attr(data-slide-index));s!o.active.index&&r.goToSlide(s),e.preventDefault()},Ifunction(e){var io.children.length;returnshorto.settings.pagerType?(o.settings.maxSlides>1&&(iMath.ceil(o.children.length/o.settings.maxSlides)),o.pagerEl.html(e+1+o.settings.pagerShortSeparator+i),void 0):(o.pagerEl.find(a).removeClass(active),o.pagerEl.each(function(i,s){t(s).find(a).eq(e).addClass(active)}),void 0)},Dfunction(){if(o.settings.infiniteLoop){var t;0o.active.index?to.children.eq(0).position():o.active.indexx()-1&&o.carousel?to.children.eq((x()-1)*m()).position():o.active.indexo.children.length-1&&(to.children.eq(o.children.length-1).position()),horizontalo.settings.mode?b(-t.left,reset,0):verticalo.settings.mode&&b(-t.top,reset,0)}o.working!1,o.settings.onSlideAfter(o.children.eq(o.active.index),o.oldIndex,o.active.index)},Afunction(t){o.settings.autoControlsCombine?o.controls.autoEl.html(o.controlst):(o.controls.autoEl.find(a).removeClass(active),o.controls.autoEl.find(a:not(.bx-+t+)).addClass(active))},Wfunction(){1x()?(o.controls.prev.addClass(disabled),o.controls.next.addClass(disabled)):!o.settings.infiniteLoop&&o.settings.hideControlOnEnd&&(0o.active.index?(o.controls.prev.addClass(disabled),o.controls.next.removeClass(disabled)):o.active.indexx()-1?(o.controls.next.addClass(disabled),o.controls.prev.removeClass(disabled)):(o.controls.prev.removeClass(disabled),o.controls.next.removeClass(disabled)))},Hfunction(){o.settings.autoDelay>0?setTimeout(r.startAuto,o.settings.autoDelay):r.startAuto(),o.settings.autoHover&&r.hover(function(){o.interval&&(r.stopAuto(!0),o.autoPaused!0)},function(){o.autoPaused&&(r.startAuto(!0),o.autoPausednull)})},Lfunction(){var e0;if(nexto.settings.autoDirection)r.append(o.children.clone().addClass(bx-clone));else{r.prepend(o.children.clone().addClass(bx-clone));var io.children.first().position();ehorizontalo.settings.mode?-i.left:-i.top}b(e,reset,0),o.settings.pager!1,o.settings.controls!1,o.settings.autoControls!1,o.settings.tickerHover&&!o.usingCSS&&o.viewport.hover(function(){r.stop()},function(){var e0;o.children.each(function(){e+horizontalo.settings.mode?t(this).outerWidth(!0):t(this).outerHeight(!0)});var io.settings.speed/e,shorizontalo.settings.mode?left:top,ni*(e-Math.abs(parseInt(r.css(s))));N(n)}),N()},Nfunction(t){speedt?t:o.settings.speed;var e{left:0,top:0},i{left:0,top:0};nexto.settings.autoDirection?er.find(.bx-clone).first().position():io.children.first().position();var shorizontalo.settings.mode?-e.left:-e.top,nhorizontalo.settings.mode?-i.left:-i.top,a{resetValue:n};b(s,ticker,speed,a)},Ofunction(){o.touch{start:{x:0,y:0},end:{x:0,y:0}},o.viewport.bind(touchstart,X)},Xfunction(t){if(o.working)t.preventDefault();else{o.touch.originalPosr.position();var et.originalEvent;o.touch.start.xe.changedTouches0.pageX,o.touch.start.ye.changedTouches0.pageY,o.viewport.bind(touchmove,Y),o.viewport.bind(touchend,V)}},Yfunction(t){var et.originalEvent,iMath.abs(e.changedTouches0.pageX-o.touch.start.x),sMath.abs(e.changedTouches0.pageY-o.touch.start.y);if(3*i>s&&o.settings.preventDefaultSwipeX?t.preventDefault():3*s>i&&o.settings.preventDefaultSwipeY&&t.preventDefault(),fade!o.settings.mode&&o.settings.oneToOneTouch){var n0;if(horizontalo.settings.mode){var re.changedTouches0.pageX-o.touch.start.x;no.touch.originalPos.left+r}else{var re.changedTouches0.pageY-o.touch.start.y;no.touch.originalPos.top+r}b(n,reset,0)}},Vfunction(t){o.viewport.unbind(touchmove,Y);var et.originalEvent,i0;if(o.touch.end.xe.changedTouches0.pageX,o.touch.end.ye.changedTouches0.pageY,fadeo.settings.mode){var sMath.abs(o.touch.start.x-o.touch.end.x);s>o.settings.swipeThreshold&&(o.touch.start.x>o.touch.end.x?r.goToNextSlide():r.goToPrevSlide(),r.stopAuto())}else{var s0;horizontalo.settings.mode?(so.touch.end.x-o.touch.start.x,io.touch.originalPos.left):(so.touch.end.y-o.touch.start.y,io.touch.originalPos.top),!o.settings.infiniteLoop&&(0o.active.index&&s>0||o.active.last&&0>s)?b(i,reset,200):Math.abs(s)>o.settings.swipeThreshold?(0>s?r.goToNextSlide():r.goToPrevSlide(),r.stopAuto()):b(i,reset,200)}o.viewport.unbind(touchend,V)},Bfunction(){var et(window).width(),it(window).height();(a!e||l!i)&&(ae,li,r.redrawSlider())};return r.goToSlidefunction(e,i){if(!o.working&&o.active.index!e)if(o.working!0,o.oldIndexo.active.index,o.active.index0>e?x()-1:e>x()?0:e,o.settings.onSlideBefore(o.children.eq(o.active.index),o.oldIndex,o.active.index),nexti?o.settings.onSlideNext(o.children.eq(o.active.index),o.oldIndex,o.active.index):previ&&o.settings.onSlidePrev(o.children.eq(o.active.index),o.oldIndex,o.active.index),o.active.lasto.active.index>x()-1,o.settings.pager&&I(o.active.index),o.settings.controls&&W(),fadeo.settings.mode)o.settings.adaptiveHeight&&o.viewport.height()!p()&&o.viewport.animate({height:p()},o.settings.adaptiveHeightSpeed),o.children.filter(:visible).fadeOut(o.settings.speed).css({zIndex:0}),o.children.eq(o.active.index).css(zIndex,51).fadeIn(o.settings.speed,function(){t(this).css(zIndex,50),D()});else{o.settings.adaptiveHeight&&o.viewport.height()!p()&&o.viewport.animate({height:p()},o.settings.adaptiveHeightSpeed);var s0,n{left:0,top:0};if(!o.settings.infiniteLoop&&o.carousel&&o.active.last)if(horizontalo.settings.mode){var ao.children.eq(o.children.length-1);na.position(),so.viewport.width()-a.outerWidth()}else{var lo.children.length-o.settings.minSlides;no.children.eq(l).position()}else if(o.carousel&&o.active.last&&previ){var d1o.settings.moveSlides?o.settings.maxSlides-m():(x()-1)*m()-(o.children.length-o.settings.maxSlides),ar.children(.bx-clone).eq(d);na.position()}else if(nexti&&0o.active.index)nr.find(> .bx-clone).eq(o.settings.maxSlides).position(),o.active.last!1;else if(e>0){var ce*m();no.children.eq(c).position()}if(undefined!typeof n){var ghorizontalo.settings.mode?-(n.left-s):-n.top;b(g,slide,o.settings.speed)}}},r.goToNextSlidefunction(){if(o.settings.infiniteLoop||!o.active.last){var tparseInt(o.active.index)+1;r.goToSlide(t,next)}},r.goToPrevSlidefunction(){if(o.settings.infiniteLoop||0!o.active.index){var tparseInt(o.active.index)-1;r.goToSlide(t,prev)}},r.startAutofunction(t){o.interval||(o.intervalsetInterval(function(){nexto.settings.autoDirection?r.goToNextSlide():r.goToPrevSlide()},o.settings.pause),o.settings.autoControls&&1!t&&A(stop))},r.stopAutofunction(t){o.interval&&(clearInterval(o.interval),o.intervalnull,o.settings.autoControls&&1!t&&A(start))},r.getCurrentSlidefunction(){return o.active.index},r.getSlideCountfunction(){return o.children.length},r.redrawSliderfunction(){o.children.add(r.find(.bx-clone)).outerWidth(u()),o.viewport.css(height,p()),o.settings.ticker||S(),o.active.last&&(o.active.indexx()-1),o.active.index>x()&&(o.active.last!0),o.settings.pager&&!o.settings.pagerCustom&&(w(),I(o.active.index))},r.destroySliderfunction(){o.initialized&&(o.initialized!1,t(.bx-clone,this).remove(),o.children.each(function(){void 0!t(this).data(origStyle)?t(this).attr(style,t(this).data(origStyle)):t(this).removeAttr(style)}),void 0!t(this).data(origStyle)?this.attr(style,t(this).data(origStyle)):t(this).removeAttr(style),t(this).unwrap().unwrap(),o.controls.el&&o.controls.el.remove(),o.controls.next&&o.controls.next.remove(),o.controls.prev&&o.controls.prev.remove(),o.pagerEl&&o.pagerEl.remove(),t(.bx-caption,this).remove(),o.controls.autoEl&&o.controls.autoEl.remove(),clearInterval(o.interval),o.settings.responsive&&t(window).unbind(resize,B))},r.reloadSliderfunction(t){void 0!t&&(nt),r.destroySlider(),d()},d(),this}}(jQuery); /script> /body>/html>
View on OTX
|
View on ThreatMiner
Please enable JavaScript to view the
comments powered by Disqus.
Data with thanks to
AlienVault OTX
,
VirusTotal
,
Malwr
and
others
. [
Sitemap
]