Help
RSS
API
Feed
Maltego
Contact
Domain > touformation.com
×
More information on this domain is in
AlienVault OTX
Is this malicious?
Yes
No
DNS Resolutions
Date
IP Address
2015-01-11
67.215.13.3
(
ClassC
)
2024-10-30
216.239.32.21
(
ClassC
)
Port 80
HTTP/1.1 200 OKContent-Type: text/html; charsetUTF-8Vary: Accept-EncodingX-Cloud-Trace-Context: 5fc2c8255f61a305ca814290900174e8;o1Date: Wed, 30 Oct 2024 18:36:59 GMTServer: Google FrontendContent-Length: 396349 html>head>title>TouFormation/title>script>function loadFrench() { use strict; localStorage.setItem(language, FR); window.open(?pathfrench/home.php, _self);}function loadEnglish() { use strict; localStorage.setItem(language, ENG); window.open(?pathenglish/home.php, _self);}function checkLanguage() { use strict; var lang localStorage.language; loadFrench(); //skip check for english if (lang FR) { loadFrench(); } else if (lang ENG) { loadEnglish(); }}/*! jQuery v1.11.3 | (c) 2005, 2015 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{},l1.11.3,mfunction(a,b){return new m.fn.init(a,b)},n/^\s\uFEFF\xA0+|\s\uFEFF\xA0+$/g,o/^-ms-/,p/-(\da-z)/gi,qfunction(a,b){return b.toUpperCase()};m.fnm.prototype{jquery:l,constructor:m,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 bm.merge(this.constructor(),a);return b.prevObjectthis,b.contextthis.context,b},each:function(a,b){return m.each(this,a,b)},map:function(a){return this.pushStack(m.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},m.extendm.fn.extendfunction(){var a,b,c,d,e,f,garguments0||{},h1,iarguments.length,j!1;for(booleantypeof g&&(jg,gargumentsh||{},h++),objecttypeof g||m.isFunction(g)||(g{}),hi&&(gthis,h--);i>h;h++)if(null!(eargumentsh))for(d in e)agd,ced,g!c&&(j&&c&&(m.isPlainObject(c)||(bm.isArray(c)))?(b?(b!1,fa&&m.isArray(a)?a:):fa&&m.isPlainObject(a)?a:{},gdm.extend(j,f,c)):void 0!c&&(gdc));return g},m.extend({expando:jQuery+(l+Math.random()).replace(/\D/g,),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isFunction:function(a){returnfunctionm.type(a)},isArray:Array.isArray||function(a){returnarraym.type(a)},isWindow:function(a){return null!a&&aa.window},isNumeric:function(a){return!m.isArray(a)&&a-parseFloat(a)+1>0},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},isPlainObject:function(a){var b;if(!a||object!m.type(a)||a.nodeType||m.isWindow(a))return!1;try{if(a.constructor&&!j.call(a,constructor)&&!j.call(a.constructor.prototype,isPrototypeOf))return!1}catch(c){return!1}if(k.ownLast)for(b in a)return j.call(a,b);for(b in a);return void 0b||j.call(a,b)},type:function(a){return nulla?a+:objecttypeof a||functiontypeof a?hi.call(a)||object:typeof a},globalEval:function(b){b&&m.trim(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(o,ms-).replace(p,q)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()b.toLowerCase()},each:function(a,b,c){var d,e0,fa.length,gr(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(n,)},makeArray:function(a,b){var cb||;return null!a&&(r(Object(a))?m.merge(c,stringtypeof a?a:a):f.call(c,a)),c},inArray:function(a,b,c){var d;if(b){if(g)return g.call(b,a,c);for(db.length,cc?0>c?Math.max(0,d+c):c:0;d>c;c++)if(c in b&&bca)return c}return-1},merge:function(a,b){var c+b.length,d0,ea.length;while(c>d)ae++bd++;if(c!c)while(void 0!bd)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,hr(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&&(fab,ba,af),m.isFunction(a)?(cd.call(arguments,2),efunction(){return a.apply(b||this,c.concat(d.call(arguments)))},e.guida.guida.guid||m.guid++,e):void 0},now:function(){return+new Date},support:k}),m.each(Boolean Number String Function Array Date RegExp Object Error.split( ),function(a,b){hobject +b+b.toLowerCase()});function r(a){var blengthin a&&a.length,cm.type(a);returnfunctionc||m.isWindow(a)?!1:1a.nodeType&&b?!0:arrayc||0b||numbertypeof b&&b>0&&b-1 in a}var sfunction(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,yha(),zha(),Aha(),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-+))$/,aa/+~/,ba/|\\/g,canew RegExp(\\\\(\\da-f{1,6}+L+?|(+L+)|.),ig),dafunction(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)},eafunction(){m()};try{H.apply(EI.call(v.childNodes),v.childNodes),Ev.childNodes.length.nodeType}catch(fa){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 ga(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(ba,\\$&):b.setAttribute(id,s),sid+s+ ,lo.length;while(l--)ols+ra(ol);waa.test(a)&&pa(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 ha(){var a;function b(c,e){return a.push(c+ )>d.cacheLength&&delete ba.shift(),bc+ e}return b}function ia(a){return au!0,a}function ja(a){var bn.createElement(div);try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),bnull}}function ka(a,b){var ca.split(|),ea.length;while(e--)d.attrHandleceb}function la(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 ma(a){return function(b){var cb.nodeName.toLowerCase();returninputc&&b.typea}}function na(a){return function(b){var cb.nodeName.toLowerCase();return(inputc||buttonc)&&b.typea}}function oa(a){return ia(function(b){return b+b,ia(function(c,d){var e,fa(,c.length,b),gf.length;while(g--)cefg&&(ce!(dece))})})}function pa(a){return a&&undefined!typeof a.getElementsByTagName&&a}cga.support{},fga.isXMLfunction(a){var ba&&(a.ownerDocument||a).documentElement;return b?HTML!b.nodeName:!1},mga.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,ea,!1):e.attachEvent&&e.attachEvent(onunload,ea)),p!f(g),c.attributesja(function(a){return a.classNamei,!a.getAttribute(className)}),c.getElementsByTagNameja(function(a){return a.appendChild(g.createComment()),!a.getElementsByTagName(*).length}),c.getElementsByClassName$.test(g.getElementsByClassName),c.getByIdja(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(ca,da);return function(a){return a.getAttribute(id)b}}):(delete d.find.ID,d.filter.IDfunction(a){var ba.replace(ca,da);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))&&(ja(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(.#.++~)}),ja(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))&&ja(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 la(a,b);ca;while(cc.parentNode)h.unshift(c);cb;while(cc.parentNode)i.unshift(c);while(hdid)d++;return d?la(hd,id):hdv?-1:idv?1:0},g):n},ga.matchesfunction(a,b){return ga(a,null,null,b)},ga.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 ga(b,n,null,a).length>0},ga.containsfunction(a,b){return(a.ownerDocument||a)!n&&m(a),t(a,b)},ga.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},ga.errorfunction(a){throw new Error(Syntax error, unrecognized expression: +a)},ga.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},ega.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},dga.selectors{cacheLength:50,createPseudo:ia,match:X,attrHandle:{},find:{},relative:{>:{dir:parentNode,first:!0}, :{dir:parentNode},+:{dir:previousSibling,first:!0},~:{dir:previousSibling}},preFilter:{ATTR:function(a){return a1a1.replace(ca,da),a3(a3||a4||a5||).replace(ca,da),~a2&&(a3 +a3+ ),a.slice(0,4)},CHILD:function(a){return a1a1.toLowerCase(),ntha1.slice(0,3)?(a3||ga.error(a0),a4+(a4?a5+(a6||1):2*(evena3||odda3)),a5+(a7+a8||odda3)):a3&&ga.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(ca,da).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 ega.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()||ga.error(unsupported pseudo: +a);return eu?e(b):e.length>1?(ca,a,,b,d.setFilters.hasOwnProperty(a.toLowerCase())?ia(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:ia(function(a){var b,c,dh(a.replace(R,$1));return du?ia(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:ia(function(a){return function(b){return ga(a,b).length>0}}),contains:ia(function(a){return aa.replace(ca,da),function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:ia(function(a){return W.test(a||)||ga.error(unsupported lang: +a),aa.replace(ca,da).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:oa(function(){return0}),last:oa(function(a,b){returnb-1}),eq:oa(function(a,b,c){return0>c?c+b:c}),even:oa(function(a,b){for(var c0;b>c;c+2)a.push(c);return a}),odd:oa(function(a,b){for(var c1;b>c;c+2)a.push(c);return a}),lt:oa(function(a,b,c){for(var d0>c?c+b:c;--d>0;)a.push(d);return a}),gt:oa(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.pseudosbma(b);for(b in{submit:!0,reset:!0})d.pseudosbna(b);function qa(){}qa.prototyped.filtersd.pseudos,d.setFiltersnew qa,gga.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?ga.error(a):z(a,i).slice(0)};function ra(a){for(var b0,ca.length,d;c>b;b++)d+ab.value;return d}function sa(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 ta(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 ua(a,b,c){for(var d0,eb.length;e>d;d++)ga(a,bd,c);return c}function va(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 wa(a,b,c,d,e,f){return d&&!du&&(dwa(d)),e&&!eu&&(ewa(e,f)),ia(function(f,g,h,i){var j,k,l,m,n,og.length,pf||ua(b||*,h.nodeType?h:h,),q!a||!f&&b?p:va(p,m,a,h,i),rc?e||(f?a:o||d)?:g:q;if(c&&c(q,r,h,i),d){jva(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 rva(rg?r.splice(o,r.length):r),e?e(null,g,r,i):H.apply(g,r)})}function xa(a){for(var b,c,e,fa.length,gd.relativea0.type,hg||d.relative ,ig?1:0,ksa(function(a){return ab},h,!0),lsa(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)msa(ta(m),c);else{if(cd.filterai.type.apply(null,ai.matches),cu){for(e++i;f>e;e++)if(d.relativeae.type)break;return wa(i>1&&ta(m),i>1&&ra(a.slice(0,i-1).concat({value: ai-2.type?*:})).replace(R,$1),c,e>i&&xa(a.slice(i,e)),f>e&&xa(aa.slice(e)),f>e&&ra(a))}m.push(c)}return ta(m)}function ya(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));sva(s)}H.apply(i,s),k&&!f&&s.length>0&&p+b.length>1&&ga.uniqueSort(i)}return k&&(wv,jt),r};return c?ia(f):f}return hga.compilefunction(a,b){var c,d,e,fAa+ ;if(!f){b||(bg(a)),cb.length;while(c--)fxa(bc),fu?d.push(f):e.push(f);fA(a,ya(e,d)),f.selectora}return f},iga.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(ca,da),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(ca,da),aa.test(j0.type)&&pa(b.parentNode)||b))){if(j.splice(i,1),af.length&&ra(j),!a)return H.apply(e,f),e;break}}}return(n||h(a,o))(f,b,!p,e,aa.test(a)&&pa(b.parentNode)||b),e},c.sortStableu.split().sort(B).join()u,c.detectDuplicates!!l,m(),c.sortDetachedja(function(a){return 1&a.compareDocumentPosition(n.createElement(div))}),ja(function(a){return a.innerHTMLa href#>/a>,#a.firstChild.getAttribute(href)})||ka(type|href|height|width,function(a,b,c){return c?void 0:a.getAttribute(b,typeb.toLowerCase()?1:2)}),c.attributes&&ja(function(a){return a.innerHTMLinput/>,a.firstChild.setAttribute(value,),a.firstChild.getAttribute(value)})||ka(value,function(a,b,c){return c||input!a.nodeName.toLowerCase()?void 0:a.defaultValue}),ja(function(a){return nulla.getAttribute(disabled)})||ka(K,function(a,b,c){var d;return c?void 0:ab!0?b.toLowerCase():(da.getAttributeNode(b))&&d.specified?d.value:null}),ga}(a);m.finds,m.exprs.selectors,m.expr:m.expr.pseudos,m.uniques.uniqueSort,m.texts.getText,m.isXMLDocs.isXML,m.containss.contains;var tm.expr.match.needsContext,u/^(\w+)\s*\/?>(?:\/\1>|)$/,v/^.^:#\\.,*$/;function w(a,b,c){if(m.isFunction(b))return m.grep(a,function(a,d){return!!b.call(a,d,a)!c});if(b.nodeType)return m.grep(a,function(a){return ab!c});if(stringtypeof b){if(v.test(b))return m.filter(b,a,c);bm.filter(b,a)}return m.grep(a,function(a){return m.inArray(a,b)>0!c})}m.filterfunction(a,b,c){var db0;return c&&(a:not(+a+)),1b.length&&1d.nodeType?m.find.matchesSelector(d,a)?d::m.find.matches(a,m.grep(b,function(a){return 1a.nodeType}))},m.fn.extend({find:function(a){var b,c,dthis,ed.length;if(string!typeof a)return this.pushStack(m(a).filter(function(){for(b0;e>b;b++)if(m.contains(db,this))return!0}));for(b0;e>b;b++)m.find(a,db,c);return cthis.pushStack(e>1?m.unique(c):c),c.selectorthis.selector?this.selector+ +a:a,c},filter:function(a){return this.pushStack(w(this,a||,!1))},not:function(a){return this.pushStack(w(this,a||,!0))},is:function(a){return!!w(this,stringtypeof a&&t.test(a)?m(a):a||,!1).length}});var x,ya.document,z/^(?:\s*(\w\W+>)^>*|#(\w-*))$/,Am.fn.initfunction(a,b){var c,d;if(!a)return this;if(stringtypeof a){if(ca.charAt(0)&&>a.charAt(a.length-1)&&a.length>3?null,a,null:z.exec(a),!c||!c1&&b)return!b||b.jquery?(b||x).find(a):this.constructor(b).find(a);if(c1){if(bb instanceof m?b0:b,m.merge(this,m.parseHTML(c1,b&&b.nodeType?b.ownerDocument||b:y,!0)),u.test(c1)&&m.isPlainObject(b))for(c in b)m.isFunction(thisc)?thisc(bc):this.attr(c,bc);return this}if(dy.getElementById(c2),d&&d.parentNode){if(d.id!c2)return x.find(a);this.length1,this0d}return this.contexty,this.selectora,this}return a.nodeType?(this.contextthis0a,this.length1,this):m.isFunction(a)?undefined!typeof x.ready?x.ready(a):a(m):(void 0!a.selector&&(this.selectora.selector,this.contexta.context),m.makeArray(a,this))};A.prototypem.fn,xm(y);var B/^(?:parents|prev(?:Until|All))/,C{children:!0,contents:!0,next:!0,prev:!0};m.extend({dir:function(a,b,c){var d,eab;while(e&&9!e.nodeType&&(void 0c||1!e.nodeType||!m(e).is(c)))1e.nodeType&&d.push(e),eeb;return d},sibling:function(a,b){for(var c;a;aa.nextSibling)1a.nodeType&&a!b&&c.push(a);return c}}),m.fn.extend({has:function(a){var b,cm(a,this),dc.length;return this.filter(function(){for(b0;d>b;b++)if(m.contains(this,cb))return!0})},closest:function(a,b){for(var c,d0,ethis.length,f,gt.test(a)||string!typeof a?m(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&&m.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?m.unique(f):f)},index:function(a){return a?stringtypeof a?m.inArray(this0,m(a)):m.inArray(a.jquery?a0:a,this):this0&&this0.parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(m.unique(m.merge(this.get(),m(a,b))))},addBack:function(a){return this.add(nulla?this.prevObject:this.prevObject.filter(a))}});function D(a,b){do aab;while(a&&1!a.nodeType);return a}m.each({parent:function(a){var ba.parentNode;return b&&11!b.nodeType?b:null},parents:function(a){return m.dir(a,parentNode)},parentsUntil:function(a,b,c){return m.dir(a,parentNode,c)},next:function(a){return D(a,nextSibling)},prev:function(a){return D(a,previousSibling)},nextAll:function(a){return m.dir(a,nextSibling)},prevAll:function(a){return m.dir(a,previousSibling)},nextUntil:function(a,b,c){return m.dir(a,nextSibling,c)},prevUntil:function(a,b,c){return m.dir(a,previousSibling,c)},siblings:function(a){return m.sibling((a.parentNode||{}).firstChild,a)},children:function(a){return m.sibling(a.firstChild)},contents:function(a){return m.nodeName(a,iframe)?a.contentDocument||a.contentWindow.document:m.merge(,a.childNodes)}},function(a,b){m.fnafunction(c,d){var em.map(this,b,c);returnUntil!a.slice(-5)&&(dc),d&&stringtypeof d&&(em.filter(d,e)),this.length>1&&(Ca||(em.unique(e)),B.test(a)&&(ee.reverse())),this.pushStack(e)}});var E/\S+/g,F{};function G(a){var bFa{};return m.each(a.match(E)||,function(a,c){bc!0}),b}m.Callbacksfunction(a){astringtypeof a?Fa||G(a):m.extend({},a);var b,c,d,e,f,g,h,i!a.once&&,jfunction(l){for(ca.memory&&l,d!0,fg||0,g0,eh.length,b!0;h&&e>f;f++)if(hf.apply(l0,l1)!1&&a.stopOnFalse){c!1;break}b!1,h&&(i?i.length&&j(i.shift()):c?h:k.disable())},k{add:function(){if(h){var dh.length;!function f(b){m.each(b,function(b,c){var dm.type(c);functiond?a.unique&&k.has(c)||h.push(c):c&&c.length&&string!d&&f(c)})}(arguments),b?eh.length:c&&(gd,j(c))}return this},remove:function(){return h&&m.each(arguments,function(a,c){var d;while((dm.inArray(c,h,d))>-1)h.splice(d,1),b&&(e>d&&e--,f>d&&f--)}),this},has:function(a){return a?m.inArray(a,h)>-1:!(!h||!h.length)},empty:function(){return h,e0,this},disable:function(){return hicvoid 0,this},disabled:function(){return!h},lock:function(){return ivoid 0,c||k.disable(),this},locked:function(){return!i},fireWith:function(a,c){return!h||d&&!i||(cc||,ca,c.slice?c.slice():c,b?i.push(c):j(c)),this},fire:function(){return k.fireWith(this,arguments),this},fired:function(){return!!d}};return k},m.extend({Deferred:function(a){var bresolve,done,m.Callbacks(once memory),resolved,reject,fail,m.Callbacks(once memory),rejected,notify,progress,m.Callbacks(memory),cpending,d{state:function(){return c},always:function(){return e.done(arguments).fail(arguments),this},then:function(){var aarguments;return m.Deferred(function(c){m.each(b,function(b,f){var gm.isFunction(ab)&&ab;ef1(function(){var ag&&g.apply(this,arguments);a&&m.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?m.extend(a,d):d}},e{};return d.piped.then,m.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&&m.isFunction(a.promise)?e:0,g1f?a:m.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&&m.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;m.fn.readyfunction(a){return m.ready.promise().done(a),this},m.extend({isReady:!1,readyWait:1,holdReady:function(a){a?m.readyWait++:m.ready(!0)},ready:function(a){if(a!0?!--m.readyWait:!m.isReady){if(!y.body)return setTimeout(m.ready);m.isReady!0,a!!0&&--m.readyWait>0||(H.resolveWith(y,m),m.fn.triggerHandler&&(m(y).triggerHandler(ready),m(y).off(ready)))}}});function I(){y.addEventListener?(y.removeEventListener(DOMContentLoaded,J,!1),a.removeEventListener(load,J,!1)):(y.detachEvent(onreadystatechange,J),a.detachEvent(onload,J))}function J(){(y.addEventListener||loadevent.type||completey.readyState)&&(I(),m.ready())}m.ready.promisefunction(b){if(!H)if(Hm.Deferred(),completey.readyState)setTimeout(m.ready);else if(y.addEventListener)y.addEventListener(DOMContentLoaded,J,!1),a.addEventListener(load,J,!1);else{y.attachEvent(onreadystatechange,J),a.attachEvent(onload,J);var c!1;try{cnulla.frameElement&&y.documentElement}catch(d){}c&&c.doScroll&&!function e(){if(!m.isReady){try{c.doScroll(left)}catch(a){return setTimeout(e,50)}I(),m.ready()}}()}return H.promise(b)};var Kundefined,L;for(L in m(k))break;k.ownLast0!L,k.inlineBlockNeedsLayout!1,m(function(){var a,b,c,d;cy.getElementsByTagName(body)0,c&&c.style&&(by.createElement(div),dy.createElement(div),d.style.cssTextposition:absolute;border:0;width:0;height:0;top:0;left:-9999px,c.appendChild(d).appendChild(b),typeof b.style.zoom!K&&(b.style.cssTextdisplay:inline;margin:0;border:0;padding:1px;width:1px;zoom:1,k.inlineBlockNeedsLayouta3b.offsetWidth,a&&(c.style.zoom1)),c.removeChild(d))}),function(){var ay.createElement(div);if(nullk.deleteExpando){k.deleteExpando!0;try{delete a.test}catch(b){k.deleteExpando!1}}anull}(),m.acceptDatafunction(a){var bm.noData(a.nodeName+ ).toLowerCase(),c+a.nodeType||1;return 1!c&&9!c?!1:!b||b!!0&&a.getAttribute(classid)b};var M/^(?:\{\w\W*\}|\\w\W*\)$/,N/(A-Z)/g;function O(a,b,c){if(void 0c&&1a.nodeType){var ddata-+b.replace(N,-$1).toLowerCase();if(ca.getAttribute(d),stringtypeof c){try{ctruec?!0:falsec?!1:nullc?null:+c+c?+c:M.test(c)?m.parseJSON(c):c}catch(e){}m.data(a,b,c)}else cvoid 0}return c}function P(a){var b;for(b in a)if((data!b||!m.isEmptyObject(ab))&&toJSON!b)return!1;return!0}function Q(a,b,d,e){if(m.acceptData(a)){var f,g,hm.expando,ia.nodeType,ji?m.cache:a,ki?ah:ah&&h;if(k&&jk&&(e||jk.data)||void 0!d||string!typeof b)return k||(ki?ahc.pop()||m.guid++:h),jk||(jki?{}:{toJSON:m.noop}),(objecttypeof b||functiontypeof b)&&(e?jkm.extend(jk,b):jk.datam.extend(jk.data,b)),gjk,e||(g.data||(g.data{}),gg.data),void 0!d&&(gm.camelCase(b)d),stringtypeof b?(fgb,nullf&&(fgm.camelCase(b))):fg,f}}function R(a,b,c){if(m.acceptData(a)){var d,e,fa.nodeType,gf?m.cache:a,hf?am.expando:m.expando;if(gh){if(b&&(dc?gh:gh.data)){m.isArray(b)?bb.concat(m.map(b,m.camelCase)):b in d?bb:(bm.camelCase(b),bb in d?b:b.split( )),eb.length;while(e--)delete dbe;if(c?!P(d):!m.isEmptyObject(d))return}(c||(delete gh.data,P(gh)))&&(f?m.cleanData(a,!0):k.deleteExpando||g!g.window?delete gh:ghnull)}}}m.extend({cache:{},noData:{applet :!0,embed :!0,object :clsid:D27CDB6E-AE6D-11cf-96B8-444553540000},hasData:function(a){return aa.nodeType?m.cacheam.expando:am.expando,!!a&&!P(a)},data:function(a,b,c){return Q(a,b,c)},removeData:function(a,b){return R(a,b)},_data:function(a,b,c){return Q(a,b,c,!0)},_removeData:function(a,b){return R(a,b,!0)}}),m.fn.extend({data:function(a,b){var c,d,e,fthis0,gf&&f.attributes;if(void 0a){if(this.length&&(em.data(f),1f.nodeType&&!m._data(f,parsedAttrs))){cg.length;while(c--)gc&&(dgc.name,0d.indexOf(data-)&&(dm.camelCase(d.slice(5)),O(f,d,ed)));m._data(f,parsedAttrs,!0)}return e}returnobjecttypeof a?this.each(function(){m.data(this,a)}):arguments.length>1?this.each(function(){m.data(this,a,b)}):f?O(f,a,m.data(f,a)):void 0},removeData:function(a){return this.each(function(){m.removeData(this,a)})}}),m.extend({queue:function(a,b,c){var d;return a?(b(b||fx)+queue,dm._data(a,b),c&&(!d||m.isArray(c)?dm._data(a,b,m.makeArray(c)):d.push(c)),d||):void 0},dequeue:function(a,b){bb||fx;var cm.queue(a,b),dc.length,ec.shift(),fm._queueHooks(a,b),gfunction(){m.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 m._data(a,c)||m._data(a,c,{empty:m.Callbacks(once memory).add(function(){m._removeData(a,b+queue),m._removeData(a,c)})})}}),m.fn.extend({queue:function(a,b){var c2;returnstring!typeof a&&(ba,afx,c--),arguments.lengthc?m.queue(this0,a):void 0b?this:this.each(function(){var cm.queue(this,a,b);m._queueHooks(this,a),fxa&&inprogress!c0&&m.dequeue(this,a)})},dequeue:function(a){return this.each(function(){m.dequeue(this,a)})},clearQueue:function(a){return this.queue(a||fx,)},promise:function(a,b){var c,d1,em.Deferred(),fthis,gthis.length,hfunction(){--d||e.resolveWith(f,f)};string!typeof a&&(ba,avoid 0),aa||fx;while(g--)cm._data(fg,a+queueHooks),c&&c.empty&&(d++,c.empty.add(h));return h(),e.promise(b)}});var S/+-?(?:\d*\.|)\d+(?:eE+-?\d+|)/.source,TTop,Right,Bottom,Left,Ufunction(a,b){return ab||a,nonem.css(a,display)||!m.contains(a.ownerDocument,a)},Vm.accessfunction(a,b,c,d,e,f,g){var h0,ia.length,jnullc;if(objectm.type(c)){e!0;for(h in c)m.access(a,b,h,ch,!0,f,g)}else if(void 0!d&&(e!0,m.isFunction(d)||(g!0),j&&(g?(b.call(a,d),bnull):(jb,bfunction(a,b,c){return j.call(m(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},W/^(?:checkbox|radio)$/i;!function(){var ay.createElement(input),by.createElement(div),cy.createDocumentFragment();if(b.innerHTML link/>table>/table>a href/a>a/a>input typecheckbox/>,k.leadingWhitespace3b.firstChild.nodeType,k.tbody!b.getElementsByTagName(tbody).length,k.htmlSerialize!!b.getElementsByTagName(link).length,k.html5Clone:nav>/:nav>!y.createElement(nav).cloneNode(!0).outerHTML,a.typecheckbox,a.checked!0,c.appendChild(a),k.appendCheckeda.checked,b.innerHTMLtextarea>x/textarea>,k.noCloneChecked!!b.cloneNode(!0).lastChild.defaultValue,c.appendChild(b),b.innerHTMLinput typeradio checkedchecked namet/>,k.checkCloneb.cloneNode(!0).cloneNode(!0).lastChild.checked,k.noCloneEvent!0,b.attachEvent&&(b.attachEvent(onclick,function(){k.noCloneEvent!1}),b.cloneNode(!0).click()),nullk.deleteExpando){k.deleteExpando!0;try{delete b.test}catch(d){k.deleteExpando!1}}}(),function(){var b,c,dy.createElement(div);for(b in{submit:!0,change:!0,focusin:!0})con+b,(kb+Bubblesc in a)||(d.setAttribute(c,t),kb+Bubblesd.attributesc.expando!1);dnull}();var X/^(?:input|select|textarea)$/i,Y/^key/,Z/^(?:mouse|pointer|contextmenu)|click/,$/^(?:focusinfocus|focusoutblur)$/,_/^(^.*)(?:\.(.+)|)$/;function aa(){return!0}function ba(){return!1}function ca(){try{return y.activeElement}catch(a){}}m.event{global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,n,o,p,q,rm._data(a);if(r){c.handler&&(ic,ci.handler,ei.selector),c.guid||(c.guidm.guid++),(gr.events)||(gr.events{}),(kr.handle)||(kr.handlefunction(a){return typeof mK||a&&m.event.triggereda.type?void 0:m.event.dispatch.apply(k.elem,arguments)},k.elema),b(b||).match(E)||,hb.length;while(h--)f_.exec(bh)||,oqf1,p(f2||).split(.).sort(),o&&(jm.event.specialo||{},o(e?j.delegateType:j.bindType)||o,jm.event.specialo||{},lm.extend({type:o,origType:q,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&m.expr.match.needsContext.test(e),namespace:p.join(.)},i),(ngo)||(ngo,n.delegateCount0,j.setup&&j.setup.call(a,d,p,k)!!1||(a.addEventListener?a.addEventListener(o,k,!1):a.attachEvent&&a.attachEvent(on+o,k))),j.add&&(j.add.call(a,l),l.handler.guid||(l.handler.guidc.guid)),e?n.splice(n.delegateCount++,0,l):n.push(l),m.event.globalo!0);anull}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,n,o,p,q,rm.hasData(a)&&m._data(a);if(r&&(kr.events)){b(b||).match(E)||,jb.length;while(j--)if(h_.exec(bj)||,oqh1,p(h2||).split(.).sort(),o){lm.event.specialo||{},o(d?l.delegateType:l.bindType)||o,nko||,hh2&&new RegExp((^|\\.)+p.join(\\.(?:.*\\.|))+(\\.|$)),ifn.length;while(f--)gnf,!e&&q!g.origType||c&&c.guid!g.guid||h&&!h.test(g.namespace)||d&&d!g.selector&&(**!d||!g.selector)||(n.splice(f,1),g.selector&&n.delegateCount--,l.remove&&l.remove.call(a,g));i&&!n.length&&(l.teardown&&l.teardown.call(a,p,r.handle)!!1||m.removeEvent(a,o,r.handle),delete ko)}else for(o in k)m.event.remove(a,o+bj,c,d,!0);m.isEmptyObject(k)&&(delete r.handle,m._removeData(a,events))}},trigger:function(b,c,d,e){var f,g,h,i,k,l,n,od||y,pj.call(b,type)?b.type:b,qj.call(b,namespace)?b.namespace.split(.):;if(hldd||y,3!d.nodeType&&8!d.nodeType&&!$.test(p+m.event.triggered)&&(p.indexOf(.)>0&&(qp.split(.),pq.shift(),q.sort()),gp.indexOf(:)0&&on+p,bbm.expando?b:new m.Event(p,objecttypeof b&&b),b.isTriggere?2:3,b.namespaceq.join(.),b.namespace_reb.namespace?new RegExp((^|\\.)+q.join(\\.(?:.*\\.|))+(\\.|$)):null,b.resultvoid 0,b.target||(b.targetd),cnullc?b:m.makeArray(c,b),km.event.specialp||{},e||!k.trigger||k.trigger.apply(d,c)!!1)){if(!e&&!k.noBubble&&!m.isWindow(d)){for(ik.delegateType||p,$.test(i+p)||(hh.parentNode);h;hh.parentNode)o.push(h),lh;l(d.ownerDocument||y)&&o.push(l.defaultView||l.parentWindow||a)}n0;while((hon++)&&!b.isPropagationStopped())b.typen>1?i:k.bindType||p,f(m._data(h,events)||{})b.type&&m._data(h,handle),f&&f.apply(h,c),fg&&hg,f&&f.apply&&m.acceptData(h)&&(b.resultf.apply(h,c),b.result!1&&b.preventDefault());if(b.typep,!e&&!b.isDefaultPrevented()&&(!k._default||k._default.apply(o.pop(),c)!1)&&m.acceptData(d)&&g&&dp&&!m.isWindow(d)){ldg,l&&(dgnull),m.event.triggeredp;try{dp()}catch(r){}m.event.triggeredvoid 0,l&&(dgl)}return b.result}},dispatch:function(a){am.event.fix(a);var b,c,e,f,g,h,id.call(arguments),j(m._data(this,events)||{})a.type||,km.event.speciala.type||{};if(i0a,a.delegateTargetthis,!k.preDispatch||k.preDispatch.call(this,a)!!1){hm.event.handlers.call(this,a,j),b0;while((fhb++)&&!a.isPropagationStopped()){a.currentTargetf.elem,g0;while((ef.handlersg++)&&!a.isImmediatePropagationStopped())(!a.namespace_re||a.namespace_re.test(e.namespace))&&(a.handleObje,a.datae.data,c((m.event.speciale.origType||{}).handle||e.handler).apply(f.elem,i),void 0!c&&(a.resultc)!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(1i.nodeType&&(i.disabled!!0||click!a.type)){for(e,f0;h>f;f++)dbf,cd.selector+ ,void 0ec&&(ecd.needsContext?m(c,this).index(i)>0:m.find(c,this,null,i).length),ec&&e.push(d);e.length&&g.push({elem:i,handlers:e})}return hb.length&&g.push({elem:this,handlers:b.slice(h)}),g},fix:function(a){if(am.expando)return a;var b,c,d,ea.type,fa,gthis.fixHookse;g||(this.fixHooksegZ.test(e)?this.mouseHooks:Y.test(e)?this.keyHooks:{}),dg.props?this.props.concat(g.props):this.props,anew m.Event(f),bd.length;while(b--)cdb,acfc;return a.target||(a.targetf.srcElement||y),3a.target.nodeType&&(a.targeta.target.parentNode),a.metaKey!!a.metaKey,g.filter?g.filter(a,f):a},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 fromElement offsetX offsetY pageX pageY screenX screenY toElement.split( ),filter:function(a,b){var c,d,e,fb.button,gb.fromElement;return nulla.pageX&&null!b.clientX&&(da.target.ownerDocument||y,ed.documentElement,cd.body,a.pageXb.clientX+(e&&e.scrollLeft||c&&c.scrollLeft||0)-(e&&e.clientLeft||c&&c.clientLeft||0),a.pageYb.clientY+(e&&e.scrollTop||c&&c.scrollTop||0)-(e&&e.clientTop||c&&c.clientTop||0)),!a.relatedTarget&&g&&(a.relatedTargetga.target?b.toElement:g),a.which||void 0f||(a.which1&f?1:2&f?3:4&f?2:0),a}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!ca()&&this.focus)try{return this.focus(),!1}catch(a){}},delegateType:focusin},blur:{trigger:function(){return thisca()&&this.blur?(this.blur(),!1):void 0},delegateType:focusout},click:{trigger:function(){return m.nodeName(this,input)&&checkboxthis.type&&this.click?(this.click(),!1):void 0},_default:function(a){return m.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 em.extend(new m.Event,c,{type:a,isSimulated:!0,originalEvent:{}});d?m.event.trigger(e,null,b):m.event.dispatch.call(b,e),e.isDefaultPrevented()&&c.preventDefault()}},m.removeEventy.removeEventListener?function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)}:function(a,b,c){var don+b;a.detachEvent&&(typeof adK&&(adnull),a.detachEvent(d,c))},m.Eventfunction(a,b){return this instanceof m.Event?(a&&a.type?(this.originalEventa,this.typea.type,this.isDefaultPreventeda.defaultPrevented||void 0a.defaultPrevented&&a.returnValue!1?aa:ba):this.typea,b&&m.extend(this,b),this.timeStampa&&a.timeStamp||m.now(),void(thism.expando!0)):new m.Event(a,b)},m.Event.prototype{isDefaultPrevented:ba,isPropagationStopped:ba,isImmediatePropagationStopped:ba,preventDefault:function(){var athis.originalEvent;this.isDefaultPreventedaa,a&&(a.preventDefault?a.preventDefault():a.returnValue!1)},stopPropagation:function(){var athis.originalEvent;this.isPropagationStoppedaa,a&&(a.stopPropagation&&a.stopPropagation(),a.cancelBubble!0)},stopImmediatePropagation:function(){var athis.originalEvent;this.isImmediatePropagationStoppedaa,a&&a.stopImmediatePropagation&&a.stopImmediatePropagation(),this.stopPropagation()}},m.each({mouseenter:mouseover,mouseleave:mouseout,pointerenter:pointerover,pointerleave:pointerout},function(a,b){m.event.speciala{delegateType:b,bindType:b,handle:function(a){var c,dthis,ea.relatedTarget,fa.handleObj;return(!e||e!d&&!m.contains(d,e))&&(a.typef.origType,cf.handler.apply(this,arguments),a.typeb),c}}}),k.submitBubbles||(m.event.special.submit{setup:function(){return m.nodeName(this,form)?!1:void m.event.add(this,click._submit keypress._submit,function(a){var ba.target,cm.nodeName(b,input)||m.nodeName(b,button)?b.form:void 0;c&&!m._data(c,submitBubbles)&&(m.event.add(c,submit._submit,function(a){a._submit_bubble!0}),m._data(c,submitBubbles,!0))})},postDispatch:function(a){a._submit_bubble&&(delete a._submit_bubble,this.parentNode&&!a.isTrigger&&m.event.simulate(submit,this.parentNode,a,!0))},teardown:function(){return m.nodeName(this,form)?!1:void m.event.remove(this,._submit)}}),k.changeBubbles||(m.event.special.change{setup:function(){return X.test(this.nodeName)?((checkboxthis.type||radiothis.type)&&(m.event.add(this,propertychange._change,function(a){checkeda.originalEvent.propertyName&&(this._just_changed!0)}),m.event.add(this,click._change,function(a){this._just_changed&&!a.isTrigger&&(this._just_changed!1),m.event.simulate(change,this,a,!0)})),!1):void m.event.add(this,beforeactivate._change,function(a){var ba.target;X.test(b.nodeName)&&!m._data(b,changeBubbles)&&(m.event.add(b,change._change,function(a){!this.parentNode||a.isSimulated||a.isTrigger||m.event.simulate(change,this.parentNode,a,!0)}),m._data(b,changeBubbles,!0))})},handle:function(a){var ba.target;return this!b||a.isSimulated||a.isTrigger||radio!b.type&&checkbox!b.type?a.handleObj.handler.apply(this,arguments):void 0},teardown:function(){return m.event.remove(this,._change),!X.test(this.nodeName)}}),k.focusinBubbles||m.each({focus:focusin,blur:focusout},function(a,b){var cfunction(a){m.event.simulate(b,a.target,m.event.fix(a),!0)};m.event.specialb{setup:function(){var dthis.ownerDocument||this,em._data(d,b);e||d.addEventListener(a,c,!0),m._data(d,b,(e||0)+1)},teardown:function(){var dthis.ownerDocument||this,em._data(d,b)-1;e?m._data(d,b,e):(d.removeEventListener(a,c,!0),m._removeData(d,b))}}}),m.fn.extend({on:function(a,b,c,d,e){var f,g;if(objecttypeof a){string!typeof b&&(cc||b,bvoid 0);for(f in a)this.on(f,b,c,af,e);return this}if(nullc&&nulld?(db,cbvoid 0):nulld&&(stringtypeof b?(dc,cvoid 0):(dc,cb,bvoid 0)),d!1)dba;else if(!d)return this;return 1e&&(gd,dfunction(a){return m().off(a),g.apply(this,arguments)},d.guidg.guid||(g.guidm.guid++)),this.each(function(){m.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,m(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&&(cba),this.each(function(){m.event.remove(this,a,c,b)})},trigger:function(a,b){return this.each(function(){m.event.trigger(a,b,this)})},triggerHandler:function(a,b){var cthis0;return c?m.event.trigger(a,b,c,!0):void 0}});function da(a){var bea.split(|),ca.createDocumentFragment();if(c.createElement)while(b.length)c.createElement(b.pop());return c}var eaabbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video,fa/ jQuery\d+(?:null|\d+)/g,ganew RegExp((?:+ea+)\\s/>,i),ha/^\s+/,ia/(?!area|br|col|embed|hr|img|input|link|meta|param)((\w:+)^>*)\/>/gi,ja/(\w:+)/,ka/tbody/i,la/|?\w+;/,ma/(?:script|style|link)/i,na/checked\s*(?:^|\s*.checked.)/i,oa/^$|\/(?:java|ecma)script/i,pa/^true\/(.*)/,qa/^\s*!(?:\CDATA\|--)|(?:\\|--)>\s*$/g,ra{option:1,select multiplemultiple>,/select>,legend:1,fieldset>,/fieldset>,area:1,map>,/map>,param:1,object>,/object>,thead:1,table>,/table>,tr:2,table>tbody>,/tbody>/table>,col:2,table>tbody>/tbody>colgroup>,/colgroup>/table>,td:3,table>tbody>tr>,/tr>/tbody>/table>,_default:k.htmlSerialize?0,,:1,Xdiv>,/div>},sada(y),tasa.appendChild(y.createElement(div));ra.optgroupra.option,ra.tbodyra.tfootra.colgroupra.captionra.thead,ra.thra.td;function ua(a,b){var c,d,e0,ftypeof a.getElementsByTagName!K?a.getElementsByTagName(b||*):typeof a.querySelectorAll!K?a.querySelectorAll(b||*):void 0;if(!f)for(f,ca.childNodes||a;null!(dce);e++)!b||m.nodeName(d,b)?f.push(d):m.merge(f,ua(d,b));return void 0b||b&&m.nodeName(a,b)?m.merge(a,f):f}function va(a){W.test(a.type)&&(a.defaultCheckeda.checked)}function wa(a,b){return m.nodeName(a,table)&&m.nodeName(11!b.nodeType?b:b.firstChild,tr)?a.getElementsByTagName(tbody)0||a.appendChild(a.ownerDocument.createElement(tbody)):a}function xa(a){return a.type(null!m.find.attr(a,type))+/+a.type,a}function ya(a){var bpa.exec(a.type);return b?a.typeb1:a.removeAttribute(type),a}function za(a,b){for(var c,d0;null!(cad);d++)m._data(c,globalEval,!b||m._data(bd,globalEval))}function Aa(a,b){if(1b.nodeType&&m.hasData(a)){var c,d,e,fm._data(a),gm._data(b,f),hf.events;if(h){delete g.handle,g.events{};for(c in h)for(d0,ehc.length;e>d;d++)m.event.add(b,c,hcd)}g.data&&(g.datam.extend({},g.data))}}function Ba(a,b){var c,d,e;if(1b.nodeType){if(cb.nodeName.toLowerCase(),!k.noCloneEvent&&bm.expando){em._data(b);for(d in e.events)m.removeEvent(b,d,e.handle);b.removeAttribute(m.expando)}scriptc&&b.text!a.text?(xa(b).texta.text,ya(b)):objectc?(b.parentNode&&(b.outerHTMLa.outerHTML),k.html5Clone&&a.innerHTML&&!m.trim(b.innerHTML)&&(b.innerHTMLa.innerHTML)):inputc&&W.test(a.type)?(b.defaultCheckedb.checkeda.checked,b.value!a.value&&(b.valuea.value)):optionc?b.defaultSelectedb.selecteda.defaultSelected:(inputc||textareac)&&(b.defaultValuea.defaultValue)}}m.extend({clone:function(a,b,c){var d,e,f,g,h,im.contains(a.ownerDocument,a);if(k.html5Clone||m.isXMLDoc(a)||!ga.test(+a.nodeName+>)?fa.cloneNode(!0):(ta.innerHTMLa.outerHTML,ta.removeChild(fta.firstChild)),!(k.noCloneEvent&&k.noCloneChecked||1!a.nodeType&&11!a.nodeType||m.isXMLDoc(a)))for(dua(f),hua(a),g0;null!(ehg);++g)dg&&Ba(e,dg);if(b)if(c)for(hh||ua(a),dd||ua(f),g0;null!(ehg);g++)Aa(e,dg);else Aa(a,f);return dua(f,script),d.length>0&&za(d,!i&&ua(a,script)),dhenull,f},buildFragment:function(a,b,c,d){for(var e,f,g,h,i,j,l,na.length,oda(b),p,q0;n>q;q++)if(faq,f||0f)if(objectm.type(f))m.merge(p,f.nodeType?f:f);else if(la.test(f)){hh||o.appendChild(b.createElement(div)),i(ja.exec(f)||,)1.toLowerCase(),lrai||ra._default,h.innerHTMLl1+f.replace(ia,$1>/$2>)+l2,el0;while(e--)hh.lastChild;if(!k.leadingWhitespace&&ha.test(f)&&p.push(b.createTextNode(ha.exec(f)0)),!k.tbody){ftable!i||ka.test(f)?table>!l1||ka.test(f)?0:h:h.firstChild,ef&&f.childNodes.length;while(e--)m.nodeName(jf.childNodese,tbody)&&!j.childNodes.length&&f.removeChild(j)}m.merge(p,h.childNodes),h.textContent;while(h.firstChild)h.removeChild(h.firstChild);ho.lastChild}else p.push(b.createTextNode(f));h&&o.removeChild(h),k.appendChecked||m.grep(ua(p,input),va),q0;while(fpq++)if((!d||-1m.inArray(f,d))&&(gm.contains(f.ownerDocument,f),hua(o.appendChild(f),script),g&&za(h),c)){e0;while(fhe++)oa.test(f.type||)&&c.push(f)}return hnull,o},cleanData:function(a,b){for(var d,e,f,g,h0,im.expando,jm.cache,lk.deleteExpando,nm.event.special;null!(dah);h++)if((b||m.acceptData(d))&&(fdi,gf&&jf)){if(g.events)for(e in g.events)ne?m.event.remove(d,e):m.removeEvent(d,e,g.handle);jf&&(delete jf,l?delete di:typeof d.removeAttribute!K?d.removeAttribute(i):dinull,c.push(f))}}}),m.fn.extend({text:function(a){return V(this,function(a){return void 0a?m.text(this):this.empty().append((this0&&this0.ownerDocument||y).createTextNode(a))},null,a,arguments.length)},append:function(){return this.domManip(arguments,function(a){if(1this.nodeType||11this.nodeType||9this.nodeType){var bwa(this,a);b.appendChild(a)}})},prepend:function(){return this.domManip(arguments,function(a){if(1this.nodeType||11this.nodeType||9this.nodeType){var bwa(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?m.filter(a,this):this,e0;null!(cde);e++)b||1!c.nodeType||m.cleanData(ua(c)),c.parentNode&&(b&&m.contains(c.ownerDocument,c)&&za(ua(c,script)),c.parentNode.removeChild(c));return this},empty:function(){for(var a,b0;null!(athisb);b++){1a.nodeType&&m.cleanData(ua(a,!1));while(a.firstChild)a.removeChild(a.firstChild);a.options&&m.nodeName(a,select)&&(a.options.length0)}return this},clone:function(a,b){return anulla?!1:a,bnullb?a:b,this.map(function(){return m.clone(this,a,b)})},html:function(a){return V(this,function(a){var bthis0||{},c0,dthis.length;if(void 0a)return 1b.nodeType?b.innerHTML.replace(fa,):void 0;if(!(string!typeof a||ma.test(a)||!k.htmlSerialize&&ga.test(a)||!k.leadingWhitespace&&ha.test(a)||ra(ja.exec(a)||,)1.toLowerCase())){aa.replace(ia,$1>/$2>);try{for(;d>c;c++)bthisc||{},1b.nodeType&&(m.cleanData(ua(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,m.cleanData(ua(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,nthis,ol-1,pa0,qm.isFunction(p);if(q||l>1&&stringtypeof p&&!k.checkClone&&na.test(p))return this.each(function(c){var dn.eq(c);q&&(a0p.call(this,c,d.html())),d.domManip(a,b)});if(l&&(im.buildFragment(a,this0.ownerDocument,!1,this),ci.firstChild,1i.childNodes.length&&(ic),c)){for(gm.map(ua(i,script),xa),fg.length;l>j;j++)di,j!o&&(dm.clone(d,!0,!0),f&&m.merge(g,ua(d,script))),b.call(thisj,d,j);if(f)for(hgg.length-1.ownerDocument,m.map(g,ya),j0;f>j;j++)dgj,oa.test(d.type||)&&!m._data(d,globalEval)&&m.contains(h,d)&&(d.src?m._evalUrl&&m._evalUrl(d.src):m.globalEval((d.text||d.textContent||d.innerHTML||).replace(qa,)));icnull}return this}}),m.each({appendTo:append,prependTo:prepend,insertBefore:before,insertAfter:after,replaceAll:replaceWith},function(a,b){m.fnafunction(a){for(var c,d0,e,gm(a),hg.length-1;h>d;d++)cdh?this:this.clone(!0),m(gd)b(c),f.apply(e,c.get());return this.pushStack(e)}});var Ca,Da{};function Ea(b,c){var d,em(c.createElement(b)).appendTo(c.body),fa.getDefaultComputedStyle&&(da.getDefaultComputedStyle(e0))?d.display:m.css(e0,display);return e.detach(),f}function Fa(a){var by,cDaa;return c||(cEa(a,b),none!c&&c||(Ca(Ca||m(iframe frameborder0 width0 height0/>)).appendTo(b.documentElement),b(Ca0.contentWindow||Ca0.contentDocument).document,b.write(),b.close(),cEa(a,b),Ca.detach()),Daac),c}!function(){var a;k.shrinkWrapBlocksfunction(){if(null!a)return a;a!1;var b,c,d;return cy.getElementsByTagName(body)0,c&&c.style?(by.createElement(div),dy.createElement(div),d.style.cssTextposition:absolute;border:0;width:0;height:0;top:0;left:-9999px,c.appendChild(d).appendChild(b),typeof b.style.zoom!K&&(b.style.cssText-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1,b.appendChild(y.createElement(div)).style.width5px,a3!b.offsetWidth),c.removeChild(d),a):void 0}}();var Ga/^margin/,Hanew RegExp(^(+S+)(?!px)a-z%+$,i),Ia,Ja,Ka/^(top|right|bottom|left)$/;a.getComputedStyle?(Iafunction(b){return b.ownerDocument.defaultView.opener?b.ownerDocument.defaultView.getComputedStyle(b,null):a.getComputedStyle(b,null)},Jafunction(a,b,c){var d,e,f,g,ha.style;return cc||Ia(a),gc?c.getPropertyValue(b)||cb:void 0,c&&(!g||m.contains(a.ownerDocument,a)||(gm.style(a,b)),Ha.test(g)&&Ga.test(b)&&(dh.width,eh.minWidth,fh.maxWidth,h.minWidthh.maxWidthh.widthg,gc.width,h.widthd,h.minWidthe,h.maxWidthf)),void 0g?g:g+}):y.documentElement.currentStyle&&(Iafunction(a){return a.currentStyle},Jafunction(a,b,c){var d,e,f,g,ha.style;return cc||Ia(a),gc?cb:void 0,nullg&&h&&hb&&(ghb),Ha.test(g)&&!Ka.test(b)&&(dh.left,ea.runtimeStyle,fe&&e.left,f&&(e.lefta.currentStyle.left),h.leftfontSizeb?1em:g,gh.pixelLeft+px,h.leftd,f&&(e.leftf)),void 0g?g:g+||auto});function La(a,b){return{get:function(){var ca();if(null!c)return c?void delete this.get:(this.getb).apply(this,arguments)}}}!function(){var b,c,d,e,f,g,h;if(by.createElement(div),b.innerHTML link/>table>/table>a href/a>a/a>input typecheckbox/>,db.getElementsByTagName(a)0,cd&&d.style){c.cssTextfloat:left;opacity:.5,k.opacity0.5c.opacity,k.cssFloat!!c.cssFloat,b.style.backgroundClipcontent-box,b.cloneNode(!0).style.backgroundClip,k.clearCloneStylecontent-boxb.style.backgroundClip,k.boxSizingc.boxSizing||c.MozBoxSizing||c.WebkitBoxSizing,m.extend(k,{reliableHiddenOffsets:function(){return nullg&&i(),g},boxSizingReliable:function(){return nullf&&i(),f},pixelPosition:function(){return nulle&&i(),e},reliableMarginRight:function(){return nullh&&i(),h}});function i(){var b,c,d,i;cy.getElementsByTagName(body)0,c&&c.style&&(by.createElement(div),dy.createElement(div),d.style.cssTextposition:absolute;border:0;width:0;height:0;top:0;left:-9999px,c.appendChild(d).appendChild(b),b.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,ef!1,h!0,a.getComputedStyle&&(e1%!(a.getComputedStyle(b,null)||{}).top,f4px(a.getComputedStyle(b,null)||{width:4px}).width,ib.appendChild(y.createElement(div)),i.style.cssTextb.style.cssText-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0,i.style.marginRighti.style.width0,b.style.width1px,h!parseFloat((a.getComputedStyle(i,null)||{}).marginRight),b.removeChild(i)),b.innerHTMLtable>tr>td>/td>td>t/td>/tr>/table>,ib.getElementsByTagName(td),i0.style.cssTextmargin:0;border:0;padding:0;display:none,g0i0.offsetHeight,g&&(i0.style.display,i1.style.displaynone,g0i0.offsetHeight),c.removeChild(d))}}}(),m.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 Ma/alpha\(^)*\)/i,Na/opacity\s*\s*(^)*)/,Oa/^(none|table(?!-cea).+)/,Panew RegExp(^(+S+)(.*)$,i),Qanew RegExp(^(+-)(+S+),i),Ra{position:absolute,visibility:hidden,display:block},Sa{letterSpacing:0,fontWeight:400},TaWebkit,O,Moz,ms;function Ua(a,b){if(b in a)return b;var cb.charAt(0).toUpperCase()+b.slice(1),db,eTa.length;while(e--)if(bTae+c,b in a)return b;return d}function Va(a,b){for(var c,d,e,f,g0,ha.length;h>g;g++)dag,d.style&&(fgm._data(d,olddisplay),cd.style.display,b?(fg||none!c||(d.style.display),d.style.display&&U(d)&&(fgm._data(d,olddisplay,Fa(d.nodeName)))):(eU(d),(c&&none!c||!e)&&m._data(d,olddisplay,e?c:m.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}function Wa(a,b,c){var dPa.exec(b);return d?Math.max(0,d1-(c||0))+(d2||px):b}function Xa(a,b,c,d,e){for(var fc(d?border:content)?4:widthb?1:0,g0;4>f;f+2)marginc&&(g+m.css(a,c+Tf,!0,e)),d?(contentc&&(g-m.css(a,padding+Tf,!0,e)),margin!c&&(g-m.css(a,border+Tf+Width,!0,e))):(g+m.css(a,padding+Tf,!0,e),padding!c&&(g+m.css(a,border+Tf+Width,!0,e)));return g}function Ya(a,b,c){var d!0,ewidthb?a.offsetWidth:a.offsetHeight,fIa(a),gk.boxSizing&&border-boxm.css(a,boxSizing,!1,f);if(0>e||nulle){if(eJa(a,b,f),(0>e||nulle)&&(ea.styleb),Ha.test(e))return e;dg&&(k.boxSizingReliable()||ea.styleb),eparseFloat(e)||0}return e+Xa(a,b,c||(g?border:content),d,f)+px}m.extend({cssHooks:{opacity:{get:function(a,b){if(b){var cJa(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:k.cssFloat?cssFloat:styleFloat},style:function(a,b,c,d){if(a&&3!a.nodeType&&8!a.nodeType&&a.style){var e,f,g,hm.camelCase(b),ia.style;if(bm.cssPropsh||(m.cssPropshUa(i,h)),gm.cssHooksb||m.cssHooksh,void 0c)return g&&getin g&&void 0!(eg.get(a,!1,d))?e:ib;if(ftypeof c,stringf&&(eQa.exec(c))&&(c(e1+1)*e2+parseFloat(m.css(a,b)),fnumber),null!c&&cc&&(number!f||m.cssNumberh||(c+px),k.clearCloneStyle||!c||0!b.indexOf(background)||(ibinherit),!(g&&setin g&&void 0(cg.set(a,c,d)))))try{ibc}catch(j){}}},css:function(a,b,c,d){var e,f,g,hm.camelCase(b);return bm.cssPropsh||(m.cssPropshUa(a.style,h)),gm.cssHooksb||m.cssHooksh,g&&getin g&&(fg.get(a,!0,c)),void 0f&&(fJa(a,b,d)),normalf&&b in Sa&&(fSab),c||c?(eparseFloat(f),c!0||m.isNumeric(e)?e||0:f):f}}),m.each(height,width,function(a,b){m.cssHooksb{get:function(a,c,d){return c?Oa.test(m.css(a,display))&&0a.offsetWidth?m.swap(a,Ra,function(){return Ya(a,b,d)}):Ya(a,b,d):void 0},set:function(a,c,d){var ed&&Ia(a);return Wa(a,c,d?Xa(a,b,d,k.boxSizing&&border-boxm.css(a,boxSizing,!1,e),e):0)}}}),k.opacity||(m.cssHooks.opacity{get:function(a,b){return Na.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||)?.01*parseFloat(RegExp.$1)+:b?1:},set:function(a,b){var ca.style,da.currentStyle,em.isNumeric(b)?alpha(opacity+100*b+):,fd&&d.filter||c.filter||;c.zoom1,(b>1||b)&&m.trim(f.replace(Ma,))&&c.removeAttribute&&(c.removeAttribute(filter),b||d&&!d.filter)||(c.filterMa.test(f)?f.replace(Ma,e):f+ +e)}}),m.cssHooks.marginRightLa(k.reliableMarginRight,function(a,b){return b?m.swap(a,{display:inline-block},Ja,a,marginRight):void 0}),m.each({margin:,padding:,border:Width},function(a,b){m.cssHooksa+b{expand:function(c){for(var d0,e{},fstringtypeof c?c.split( ):c;4>d;d++)ea+Td+bfd||fd-2||f0;return e}},Ga.test(a)||(m.cssHooksa+b.setWa)}),m.fn.extend({css:function(a,b){return V(this,function(a,b,c){var d,e,f{},g0;if(m.isArray(b)){for(dIa(a),eb.length;e>g;g++)fbgm.css(a,bg,!1,d);return f}return void 0!c?m.style(a,b,c):m.css(a,b)},a,b,arguments.length>1)},show:function(){return Va(this,!0)},hide:function(){return Va(this)},toggle:function(a){returnbooleantypeof a?a?this.show():this.hide():this.each(function(){U(this)?m(this).show():m(this).hide()})}});function Za(a,b,c,d,e){return new Za.prototype.init(a,b,c,d,e)}m.TweenZa,Za.prototype{constructor:Za,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||(m.cssNumberc?:px)},cur:function(){var aZa.propHooksthis.prop;return a&&a.get?a.get(this):Za.propHooks._default.get(this)},run:function(a){var b,cZa.propHooksthis.prop;return this.options.duration?this.posbm.easingthis.easing(a,this.options.duration*a,0,1,this.options.duration):this.posba,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):Za.propHooks._default.set(this),this}},Za.prototype.init.prototypeZa.prototype,Za.propHooks{_default:{get:function(a){var b;return nulla.elema.prop||a.elem.style&&null!a.elem.stylea.prop?(bm.css(a.elem,a.prop,),b&&auto!b?b:0):a.elema.prop},set:function(a){m.fx.stepa.prop?m.fx.stepa.prop(a):a.elem.style&&(null!a.elem.stylem.cssPropsa.prop||m.cssHooksa.prop)?m.style(a.elem,a.prop,a.now+a.unit):a.elema.propa.now}}},Za.propHooks.scrollTopZa.propHooks.scrollLeft{set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elema.propa.now)}},m.easing{linear:function(a){return a},swing:function(a){return.5-Math.cos(a*Math.PI)/2}},m.fxZa.prototype.init,m.fx.step{};var $a,_a,ab/^(?:toggle|show|hide)$/,bbnew RegExp(^(?:(+-)|)(+S+)(a-z%*)$,i),cb/queueHooks$/,dbib,eb{*:function(a,b){var cthis.createTween(a,b),dc.cur(),ebb.exec(b),fe&&e3||(m.cssNumbera?:px),g(m.cssNumbera||px!f&&+d)&&bb.exec(m.css(c.elem,a)),h1,i20;if(g&&g3!f){ff||g3,ee||,g+d||1;do hh||.5,g/h,m.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 fb(){return setTimeout(function(){$avoid 0}),$am.now()}function gb(a,b){var c,d{height:a},e0;for(bb?1:0;4>e;e+2-b)cTe,dmargin+cdpadding+ca;return b&&(d.opacityd.widtha),d}function hb(a,b,c){for(var d,e(ebb||).concat(eb*),f0,ge.length;g>f;f++)if(def.call(c,b,a))return d}function ib(a,b,c){var d,e,f,g,h,i,j,l,nthis,o{},pa.style,qa.nodeType&&U(a),rm._data(a,fxshow);c.queue||(hm._queueHooks(a,fx),nullh.unqueued&&(h.unqueued0,ih.empty.fire,h.empty.firefunction(){h.unqueued||i()}),h.unqueued++,n.always(function(){n.always(function(){h.unqueued--,m.queue(a,fx).length||h.empty.fire()})})),1a.nodeType&&(heightin b||widthin b)&&(c.overflowp.overflow,p.overflowX,p.overflowY,jm.css(a,display),lnonej?m._data(a,olddisplay)||Fa(a.nodeName):j,inlinel&&nonem.css(a,float)&&(k.inlineBlockNeedsLayout&&inline!Fa(a.nodeName)?p.zoom1:p.displayinline-block)),c.overflow&&(p.overflowhidden,k.shrinkWrapBlocks()||n.always(function(){p.overflowc.overflow0,p.overflowXc.overflow1,p.overflowYc.overflow2}));for(d in b)if(ebd,ab.exec(e)){if(delete bd,ff||togglee,e(q?hide:show)){if(show!e||!r||void 0rd)continue;q!0}odr&&rd||m.style(a,d)}else jvoid 0;if(m.isEmptyObject(o))inline(nonej?Fa(a.nodeName):j)&&(p.displayj);else{r?hiddenin r&&(qr.hidden):rm._data(a,fxshow,{}),f&&(r.hidden!q),q?m(a).show():n.done(function(){m(a).hide()}),n.done(function(){var b;m._removeData(a,fxshow);for(b in o)m.style(a,b,ob)});for(d in o)ghb(q?rd:0,d,n),d in r||(rdg.start,q&&(g.endg.start,g.startwidthd||heightd?1:0))}}function jb(a,b){var c,d,e,f,g;for(c in a)if(dm.camelCase(c),ebd,fac,m.isArray(f)&&(ef1,facf0),c!d&&(adf,delete ac),gm.cssHooksd,g&&expandin g){fg.expand(f),delete ad;for(c in f)c in a||(acfc,bce)}else bde}function kb(a,b,c){var d,e,f0,gdb.length,hm.Deferred().always(function(){delete i.elem}),ifunction(){if(e)return!1;for(var b$a||fb(),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:m.extend({},b),opts:m.extend(!0,{specialEasing:{}},c),originalProperties:b,originalOptions:c,startTime:$a||fb(),duration:c.duration,tweens:,createTween:function(b,c){var dm.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(jb(k,j.opts.specialEasing);g>f;f++)if(ddbf.call(j,a,k,j.opts))return d;return m.map(k,hb,j),m.isFunction(j.opts.start)&&j.opts.start.call(a,j),m.fx.timer(m.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)}m.Animationm.extend(kb,{tweener:function(a,b){m.isFunction(a)?(ba,a*):aa.split( );for(var c,d0,ea.length;e>d;d++)cad,ebcebc||,ebc.unshift(b)},prefilter:function(a,b){b?db.unshift(a):db.push(a)}}),m.speedfunction(a,b,c){var da&&objecttypeof a?m.extend({},a):{complete:c||!c&&b||m.isFunction(a)&&a,duration:a,easing:c&&b||b&&!m.isFunction(b)&&b};return d.durationm.fx.off?0:numbertypeof d.duration?d.duration:d.duration in m.fx.speeds?m.fx.speedsd.duration:m.fx.speeds._default,(nulld.queue||d.queue!0)&&(d.queuefx),d.oldd.complete,d.completefunction(){m.isFunction(d.old)&&d.old.call(this),d.queue&&m.dequeue(this,d.queue)},d},m.fn.extend({fadeTo:function(a,b,c,d){return this.filter(U).css(opacity,0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,d){var em.isEmptyObject(a),fm.speed(b,c,d),gfunction(){var bkb(this,m.extend({},a),f);(e||m._data(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,fm.timers,gm._data(this);if(e)ge&&ge.stop&&d(ge);else for(e in g)ge&&ge.stop&&cb.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)&&m.dequeue(this,a)})},finish:function(a){return a!!1&&(aa||fx),this.each(function(){var b,cm._data(this),dca+queue,eca+queueHooks,fm.timers,gd?d.length:0;for(c.finish!0,m.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})}}),m.each(toggle,show,hide,function(a,b){var cm.fnb;m.fnbfunction(a,d,e){return nulla||booleantypeof a?c.apply(this,arguments):this.animate(gb(b,!0),a,d,e)}}),m.each({slideDown:gb(show),slideUp:gb(hide),slideToggle:gb(toggle),fadeIn:{opacity:show},fadeOut:{opacity:hide},fadeToggle:{opacity:toggle}},function(a,b){m.fnafunction(a,c,d){return this.animate(b,a,c,d)}}),m.timers,m.fx.tickfunction(){var a,bm.timers,c0;for($am.now();cb.length;c++)abc,a()||bc!a||b.splice(c--,1);b.length||m.fx.stop(),$avoid 0},m.fx.timerfunction(a){m.timers.push(a),a()?m.fx.start():m.timers.pop()},m.fx.interval13,m.fx.startfunction(){_a||(_asetInterval(m.fx.tick,m.fx.interval))},m.fx.stopfunction(){clearInterval(_a),_anull},m.fx.speeds{slow:600,fast:200,_default:400},m.fn.delayfunction(a,b){return am.fx?m.fx.speedsa||a:a,bb||fx,this.queue(b,function(b,c){var dsetTimeout(b,a);c.stopfunction(){clearTimeout(d)}})},function(){var a,b,c,d,e;by.createElement(div),b.setAttribute(className,t),b.innerHTML link/>table>/table>a href/a>a/a>input typecheckbox/>,db.getElementsByTagName(a)0,cy.createElement(select),ec.appendChild(y.createElement(option)),ab.getElementsByTagName(input)0,d.style.cssTexttop:1px,k.getSetAttributet!b.className,k.style/top/.test(d.getAttribute(style)),k.hrefNormalized/ad.getAttribute(href),k.checkOn!!a.value,k.optSelectede.selected,k.enctype!!y.createElement(form).enctype,c.disabled!0,k.optDisabled!e.disabled,ay.createElement(input),a.setAttribute(value,),k.inputa.getAttribute(value),a.valuet,a.setAttribute(type,radio),k.radioValueta.value}();var lb/\r/g;m.fn.extend({val:function(a){var b,c,d,ethis0;{if(arguments.length)return dm.isFunction(a),this.each(function(c){var e;1this.nodeType&&(ed?a.call(this,c,m(this).val()):a,nulle?e:numbertypeof e?e+:m.isArray(e)&&(em.map(e,function(a){return nulla?:a+})),bm.valHooksthis.type||m.valHooksthis.nodeName.toLowerCase(),b&&setin b&&void 0!b.set(this,e,value)||(this.valuee))});if(e)return bm.valHookse.type||m.valHookse.nodeName.toLowerCase(),b&&getin b&&void 0!(cb.get(e,value))?c:(ce.value,stringtypeof c?c.replace(lb,):nullc?:c)}}}),m.extend({valHooks:{option:{get:function(a){var bm.find.attr(a,value);return null!b?b:m.trim(m.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&&m.nodeName(c.parentNode,optgroup))){if(bm(c).val(),f)return b;g.push(b)}return g},set:function(a,b){var c,d,ea.options,fm.makeArray(b),ge.length;while(g--)if(deg,m.inArray(m.valHooks.option.get(d),f)>0)try{d.selectedc!0}catch(h){d.scrollHeight}else d.selected!1;return c||(a.selectedIndex-1),e}}}}),m.each(radio,checkbox,function(){m.valHooksthis{set:function(a,b){return m.isArray(b)?a.checkedm.inArray(m(a).val(),b)>0:void 0}},k.checkOn||(m.valHooksthis.getfunction(a){return nulla.getAttribute(value)?on:a.value})});var mb,nb,obm.expr.attrHandle,pb/^(?:checked|selected)$/i,qbk.getSetAttribute,rbk.input;m.fn.extend({attr:function(a,b){return V(this,m.attr,a,b,arguments.length>1)},removeAttr:function(a){return this.each(function(){m.removeAttr(this,a)})}}),m.extend({attr:function(a,b,c){var d,e,fa.nodeType;if(a&&3!f&&8!f&&2!f)return typeof a.getAttributeK?m.prop(a,b,c):(1f&&m.isXMLDoc(a)||(bb.toLowerCase(),dm.attrHooksb||(m.expr.match.bool.test(b)?nb:mb)),void 0c?d&&getin d&&null!(ed.get(a,b))?e:(em.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 m.removeAttr(a,b))},removeAttr:function(a,b){var c,d,e0,fb&&b.match(E);if(f&&1a.nodeType)while(cfe++)dm.propFixc||c,m.expr.match.bool.test(c)?rb&&qb||!pb.test(c)?ad!1:am.camelCase(default-+c)ad!1:m.attr(a,c,),a.removeAttribute(qb?c:d)},attrHooks:{type:{set:function(a,b){if(!k.radioValue&&radiob&&m.nodeName(a,input)){var ca.value;return a.setAttribute(type,b),c&&(a.valuec),b}}}}}),nb{set:function(a,b,c){return b!1?m.removeAttr(a,c):rb&&qb||!pb.test(c)?a.setAttribute(!qb&&m.propFixc||c,c):am.camelCase(default-+c)ac!0,c}},m.each(m.expr.match.bool.source.match(/\w+/g),function(a,b){var cobb||m.find.attr;obbrb&&qb||!pb.test(b)?function(a,b,d){var e,f;return d||(fobb,obbe,enull!c(a,b,d)?b.toLowerCase():null,obbf),e}:function(a,b,c){return c?void 0:am.camelCase(default-+b)?b.toLowerCase():null}}),rb&&qb||(m.attrHooks.value{set:function(a,b,c){return m.nodeName(a,input)?void(a.defaultValueb):mb&&mb.set(a,b,c)}}),qb||(mb{set:function(a,b,c){var da.getAttributeNode(c);return d||a.setAttributeNode(da.ownerDocument.createAttribute(c)),d.valueb+,valuec||ba.getAttribute(c)?b:void 0}},ob.idob.nameob.coordsfunction(a,b,c){var d;return c?void 0:(da.getAttributeNode(b))&&!d.value?d.value:null},m.valHooks.button{get:function(a,b){var ca.getAttributeNode(b);return c&&c.specified?c.value:void 0},set:mb.set},m.attrHooks.contenteditable{set:function(a,b,c){mb.set(a,b?!1:b,c)}},m.each(width,height,function(a,b){m.attrHooksb{set:function(a,c){returnc?(a.setAttribute(b,auto),c):void 0}}})),k.style||(m.attrHooks.style{get:function(a){return a.style.cssText||void 0},set:function(a,b){return a.style.cssTextb+}});var sb/^(?:input|select|textarea|button|object)$/i,tb/^(?:a|area)$/i;m.fn.extend({prop:function(a,b){return V(this,m.prop,a,b,arguments.length>1)},removeProp:function(a){return am.propFixa||a,this.each(function(){try{thisavoid 0,delete thisa}catch(b){}})}}),m.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||!m.isXMLDoc(a),f&&(bm.propFixb||b,em.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){var bm.find.attr(a,tabindex);return b?parseInt(b,10):sb.test(a.nodeName)||tb.test(a.nodeName)&&a.href?0:-1}}}}),k.hrefNormalized||m.each(href,src,function(a,b){m.propHooksb{get:function(a){return a.getAttribute(b,4)}}}),k.optSelected||(m.propHooks.selected{get:function(a){var ba.parentNode;return b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex),null}}),m.each(tabIndex,readOnly,maxLength,cellSpacing,cellPadding,rowSpan,colSpan,useMap,frameBorder,contentEditable,function(){m.propFixthis.toLowerCase()this}),k.enctype||(m.propFix.enctypeencoding);var ub/\t\r\n\f/g;m.fn.extend({addClass:function(a){var b,c,d,e,f,g,h0,ithis.length,jstringtypeof a&&a;if(m.isFunction(a))return this.each(function(b){m(this).addClass(a.call(this,b,this.className))});if(j)for(b(a||).match(E)||;i>h;h++)if(cthish,d1c.nodeType&&(c.className?( +c.className+ ).replace(ub, ): )){f0;while(ebf++)d.indexOf( +e+ )0&&(d+e+ );gm.trim(d),c.className!g&&(c.classNameg)}return this},removeClass:function(a){var b,c,d,e,f,g,h0,ithis.length,j0arguments.length||stringtypeof a&&a;if(m.isFunction(a))return this.each(function(b){m(this).removeClass(a.call(this,b,this.className))});if(j)for(b(a||).match(E)||;i>h;h++)if(cthish,d1c.nodeType&&(c.className?( +c.className+ ).replace(ub, ):)){f0;while(ebf++)while(d.indexOf( +e+ )>0)dd.replace( +e+ , );ga?m.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(m.isFunction(a)?function(c){m(this).toggleClass(a.call(this,c,this.className,b),b)}:function(){if(stringc){var b,d0,em(this),fa.match(E)||;while(bfd++)e.hasClass(b)?e.removeClass(b):e.addClass(b)}else(cK||booleanc)&&(this.className&&m._data(this,__className__,this.className),this.classNamethis.className||a!1?:m._data(this,__className__)||)})},hasClass:function(a){for(var b +a+ ,c0,dthis.length;d>c;c++)if(1thisc.nodeType&&( +thisc.className+ ).replace(ub, ).indexOf(b)>0)return!0;return!1}}),m.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){m.fnbfunction(a,c){return arguments.length>0?this.on(b,null,a,c):this.trigger(b)}}),m.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 vbm.now(),wb/\?/,xb/(,)|(\|{)|(}|)|(?:^\\\r\n|\\\\\/bfnrt|\\u\da-fA-F{4})*\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:eE+-?\d+|)/g;m.parseJSONfunction(b){if(a.JSON&&a.JSON.parse)return a.JSON.parse(b+);var c,dnull,em.trim(b+);return e&&!m.trim(e.replace(xb,function(a,b,e,f){return c&&b&&(d0),0d?a:(ce||b,d+!f-!e,)}))?Function(return +e)():m.error(Invalid JSON: +b)},m.parseXMLfunction(b){var c,d;if(!b||string!typeof b)return null;try{a.DOMParser?(dnew DOMParser,cd.parseFromString(b,text/xml)):(cnew ActiveXObject(Microsoft.XMLDOM),c.asyncfalse,c.loadXML(b))}catch(e){cvoid 0}return c&&c.documentElement&&!c.getElementsByTagName(parsererror).length||m.error(Invalid XML: +b),c};var yb,zb,Ab/#.*$/,Bb/(?&)_^&*/,Cb/^(.*?): \t*(^\r\n*)\r?$/gm,Db/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Eb/^(?:GET|HEAD)$/,Fb/^\/\//,Gb/^(\w.+-+:)(?:\/\/(?:^\/?#*@|)(^\/?#:*)(?::(\d+)|)|)/,Hb{},Ib{},Jb*/.concat(*);try{zblocation.href}catch(Kb){zby.createElement(a),zb.href,zbzb.href}ybGb.exec(zb.toLowerCase())||;function Lb(a){return function(b,c){string!typeof b&&(cb,b*);var d,e0,fb.toLowerCase().match(E)||;if(m.isFunction(c))while(dfe++)+d.charAt(0)?(dd.slice(1)||*,(adad||).unshift(c)):(adad||).push(c)}}function Mb(a,b,c,d){var e{},faIb;function g(h){var i;return eh!0,m.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 Nb(a,b){var c,d,em.ajaxSettings.flatOptions||{};for(d in b)void 0!bd&&((ed?a:c||(c{}))dbd);return c&&m.extend(!0,a,c),a}function Ob(a,b,c){var d,e,f,g,ha.contents,ia.dataTypes;while(*i0)i.shift(),void 0e&&(ea.mimeType||b.getResponseHeader(Content-Type));if(e)for(g in h)if(hg&&hg.test(e)){i.unshift(g);break}if(i0in c)fi0;else{for(g in c){if(!i0||a.convertersg+ +i0){fg;break}d||(dg)}ff||d}return f?(f!i0&&i.unshift(f),cf):void 0}function Pb(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}}m.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:zb,type:GET,isLocal:Db.test(yb1),global:!0,processData:!0,async:!0,contentType:application/x-www-form-urlencoded; charsetUTF-8,accepts:{*:Jb,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:m.parseJSON,text xml:m.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,b){return b?Nb(Nb(a,m.ajaxSettings),b):Nb(m.ajaxSettings,a)},ajaxPrefilter:Lb(Hb),ajaxTransport:Lb(Ib),ajax:function(a,b){objecttypeof a&&(ba,avoid 0),bb||{};var c,d,e,f,g,h,i,j,km.ajaxSetup({},b),lk.context||k,nk.context&&(l.nodeType||l.jquery)?m(l):m.event,om.Deferred(),pm.Callbacks(once memory),qk.statusCode||{},r{},s{},t0,ucanceled,v{readyState:0,getResponseHeader:function(a){var b;if(2t){if(!j){j{};while(bCb.exec(f))jb1.toLowerCase()b2}bja.toLowerCase()}return nullb?null:b},getAllResponseHeaders:function(){return 2t?f: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 i&&i.abort(b),x(0,b),this}};if(o.promise(v).completep.add,v.successv.done,v.errorv.fail,k.url((a||k.url||zb)+).replace(Ab,).replace(Fb,yb1+//),k.typeb.method||b.type||k.method||k.type,k.dataTypesm.trim(k.dataType||*).toLowerCase().match(E)||,nullk.crossDomain&&(cGb.exec(k.url.toLowerCase()),k.crossDomain!(!c||c1yb1&&c2yb2&&(c3||(http:c1?80:443))(yb3||(http:yb1?80:443)))),k.data&&k.processData&&string!typeof k.data&&(k.datam.param(k.data,k.traditional)),Mb(Hb,k,b,v),2t)return v;hm.event&&k.global,h&&0m.active++&&m.event.trigger(ajaxStart),k.typek.type.toUpperCase(),k.hasContent!Eb.test(k.type),ek.url,k.hasContent||(k.data&&(ek.url+(wb.test(e)?&:?)+k.data,delete k.data),k.cache!1&&(k.urlBb.test(e)?e.replace(Bb,$1_+vb++):e+(wb.test(e)?&:?)+_+vb++)),k.ifModified&&(m.lastModifiede&&v.setRequestHeader(If-Modified-Since,m.lastModifiede),m.etage&&v.setRequestHeader(If-None-Match,m.etage)),(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?, +Jb+; q0.01:):k.accepts*);for(d in k.headers)v.setRequestHeader(d,k.headersd);if(k.beforeSend&&(k.beforeSend.call(l,v,k)!1||2t))return v.abort();uabort;for(d in{success:1,error:1,complete:1})vd(kd);if(iMb(Ib,k,b,v)){v.readyState1,h&&n.trigger(ajaxSend,v,k),k.async&&k.timeout>0&&(gsetTimeout(function(){v.abort(timeout)},k.timeout));try{t1,i.send(r,x)}catch(w){if(!(2>t))throw w;x(-1,w)}}else x(-1,No Transport);function x(a,b,c,d){var j,r,s,u,w,xb;2!t&&(t2,g&&clearTimeout(g),ivoid 0,fd||,v.readyStatea>0?4:0,ja>200&&300>a||304a,c&&(uOb(k,v,c)),uPb(k,u,v,j),j?(k.ifModified&&(wv.getResponseHeader(Last-Modified),w&&(m.lastModifiedew),wv.getResponseHeader(etag),w&&(m.etagew)),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,h&&n.trigger(j?ajaxSuccess:ajaxError,v,k,j?r:s),p.fireWith(l,v,x),h&&(n.trigger(ajaxComplete,v,k),--m.active||m.event.trigger(ajaxStop)))}return v},getJSON:function(a,b,c){return m.get(a,b,c,json)},getScript:function(a,b){return m.get(a,void 0,b,script)}}),m.each(get,post,function(a,b){mbfunction(a,c,d,e){return m.isFunction(c)&&(ee||d,dc,cvoid 0),m.ajax({url:a,type:b,dataType:e,data:c,success:d})}}),m._evalUrlfunction(a){return m.ajax({url:a,type:GET,dataType:script,async:!1,global:!1,throws:!0})},m.fn.extend({wrapAll:function(a){if(m.isFunction(a))return this.each(function(b){m(this).wrapAll(a.call(this,b))});if(this0){var bm(a,this0.ownerDocument).eq(0).clone(!0);this0.parentNode&&b.insertBefore(this0),b.map(function(){var athis;while(a.firstChild&&1a.firstChild.nodeType)aa.firstChild;return a}).append(this)}return this},wrapInner:function(a){return this.each(m.isFunction(a)?function(b){m(this).wrapInner(a.call(this,b))}:function(){var bm(this),cb.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var bm.isFunction(a);return this.each(function(c){m(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){m.nodeName(this,body)||m(this).replaceWith(this.childNodes)}).end()}}),m.expr.filters.hiddenfunction(a){return a.offsetWidth0&&a.offsetHeight0||!k.reliableHiddenOffsets()&&none(a.style&&a.style.display||m.css(a,display))},m.expr.filters.visiblefunction(a){return!m.expr.filters.hidden(a)};var Qb/%20/g,Rb/\\$/,Sb/\r?\n/g,Tb/^(?:submit|button|image|reset|file)$/i,Ub/^(?:input|select|textarea|keygen)/i;function Vb(a,b,c,d){var e;if(m.isArray(b))m.each(b,function(b,e){c||Rb.test(a)?d(a,e):Vb(a++(objecttypeof e?b:)+,e,c,d)});else if(c||object!m.type(b))d(a,b);else for(e in b)Vb(a++e+,be,c,d)}m.paramfunction(a,b){var c,d,efunction(a,b){bm.isFunction(b)?b():nullb?:b,dd.lengthencodeURIComponent(a)++encodeURIComponent(b)};if(void 0b&&(bm.ajaxSettings&&m.ajaxSettings.traditional),m.isArray(a)||a.jquery&&!m.isPlainObject(a))m.each(a,function(){e(this.name,this.value)});else for(c in a)Vb(c,ac,b,e);return d.join(&).replace(Qb,+)},m.fn.extend({serialize:function(){return m.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var am.prop(this,elements);return a?m.makeArray(a):this}).filter(function(){var athis.type;return this.name&&!m(this).is(:disabled)&&Ub.test(this.nodeName)&&!Tb.test(a)&&(this.checked||!W.test(a))}).map(function(a,b){var cm(this).val();return nullc?null:m.isArray(c)?m.map(c,function(a){return{name:b.name,value:a.replace(Sb,\r\n)}}):{name:b.name,value:c.replace(Sb,\r\n)}}).get()}}),m.ajaxSettings.xhrvoid 0!a.ActiveXObject?function(){return!this.isLocal&&/^(get|post|head|put|delete|options)$/i.test(this.type)&&Zb()||$b()}:Zb;var Wb0,Xb{},Ybm.ajaxSettings.xhr();a.attachEvent&&a.attachEvent(onunload,function(){for(var a in Xb)Xba(void 0,!0)}),k.cors!!Yb&&withCredentialsin Yb,Ybk.ajax!!Yb,Yb&&m.ajaxTransport(function(a){if(!a.crossDomain||k.cors){var b;return{send:function(c,d){var e,fa.xhr(),g++Wb;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)void 0!ce&&f.setRequestHeader(e,ce+);f.send(a.hasContent&&a.data||null),bfunction(c,e){var h,i,j;if(b&&(e||4f.readyState))if(delete Xbg,bvoid 0,f.onreadystatechangem.noop,e)4!f.readyState&&f.abort();else{j{},hf.status,stringtypeof f.responseText&&(j.textf.responseText);try{if.statusText}catch(k){i}h||!a.isLocal||a.crossDomain?1223h&&(h204):hj.text?200:404}j&&d(h,i,j,f.getAllResponseHeaders())},a.async?4f.readyState?setTimeout(b):f.onreadystatechangeXbgb:b()},abort:function(){b&&b(void 0,!0)}}}});function Zb(){try{return new a.XMLHttpRequest}catch(b){}}function $b(){try{return new a.ActiveXObject(Microsoft.XMLHTTP)}catch(b){}}m.ajaxSetup({accepts:{script:text/javascript, application/javascript, application/ecmascript, application/x-ecmascript},contents:{script:/(?:java|ecma)script/},converters:{text script:function(a){return m.globalEval(a),a}}}),m.ajaxPrefilter(script,function(a){void 0a.cache&&(a.cache!1),a.crossDomain&&(a.typeGET,a.global!1)}),m.ajaxTransport(script,function(a){if(a.crossDomain){var b,cy.head||m(head)0||y.documentElement;return{send:function(d,e){by.createElement(script),b.async!0,a.scriptCharset&&(b.charseta.scriptCharset),b.srca.url,b.onloadb.onreadystatechangefunction(a,c){(c||!b.readyState||/loaded|complete/.test(b.readyState))&&(b.onloadb.onreadystatechangenull,b.parentNode&&b.parentNode.removeChild(b),bnull,c||e(200,success))},c.insertBefore(b,c.firstChild)},abort:function(){b&&b.onload(void 0,!0)}}}});var _b,ac/()\?(?&|$)|\?\?/;m.ajaxSetup({jsonp:callback,jsonpCallback:function(){var a_b.pop()||m.expando+_+vb++;return thisa!0,a}}),m.ajaxPrefilter(json jsonp,function(b,c,d){var e,f,g,hb.jsonp!!1&&(ac.test(b.url)?url:stringtypeof b.data&&!(b.contentType||).indexOf(application/x-www-form-urlencoded)&&ac.test(b.data)&&data);return h||jsonpb.dataTypes0?(eb.jsonpCallbackm.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,h?bhbh.replace(ac,$1+e):b.jsonp!!1&&(b.url+(wb.test(b.url)?&:?)+b.jsonp++e),b.convertersscript jsonfunction(){return g||m.error(e+ was not called),g0},b.dataTypes0json,fae,aefunction(){garguments},d.always(function(){aef,be&&(b.jsonpCallbackc.jsonpCallback,_b.push(e)),g&&m.isFunction(f)&&f(g0),gfvoid 0}),script):void 0}),m.parseHTMLfunction(a,b,c){if(!a||string!typeof a)return null;booleantypeof b&&(cb,b!1),bb||y;var du.exec(a),e!c&&;return d?b.createElement(d1):(dm.buildFragment(a,b,e),e&&e.length&&m(e).remove(),m.merge(,d.childNodes))};var bcm.fn.load;m.fn.loadfunction(a,b,c){if(string!typeof a&&bc)return bc.apply(this,arguments);var d,e,f,gthis,ha.indexOf( );return h>0&&(dm.trim(a.slice(h,a.length)),aa.slice(0,h)),m.isFunction(b)?(cb,bvoid 0):b&&objecttypeof b&&(fPOST),g.length>0&&m.ajax({url:a,type:f,dataType:html,data:b}).done(function(a){earguments,g.html(d?m(div>).append(m.parseHTML(a)).find(d):a)}).complete(c&&function(a,b){g.each(c,e||a.responseText,b,a)}),this},m.each(ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend,function(a,b){m.fnbfunction(a){return this.on(b,a)}}),m.expr.filters.animatedfunction(a){return m.grep(m.timers,function(b){return ab.elem}).length};var cca.document.documentElement;function dc(a){return m.isWindow(a)?a:9a.nodeType?a.defaultView||a.parentWindow:!1}m.offset{setOffset:function(a,b,c){var d,e,f,g,h,i,j,km.css(a,position),lm(a),n{};statick&&(a.style.positionrelative),hl.offset(),fm.css(a,top),im.css(a,left),j(absolutek||fixedk)&&m.inArray(auto,f,i)>-1,j?(dl.position(),gd.top,ed.left):(gparseFloat(f)||0,eparseFloat(i)||0),m.isFunction(b)&&(bb.call(a,c,h)),null!b.top&&(n.topb.top-h.top+g),null!b.left&&(n.leftb.left-h.left+e),usingin b?b.using.call(a,n):l.css(n)}},m.fn.extend({offset:function(a){if(arguments.length)return void 0a?this:this.each(function(b){m.offset.setOffset(this,a,b)});var b,c,d{top:0,left:0},ethis0,fe&&e.ownerDocument;if(f)return bf.documentElement,m.contains(b,e)?(typeof e.getBoundingClientRect!K&&(de.getBoundingClientRect()),cdc(f),{top:d.top+(c.pageYOffset||b.scrollTop)-(b.clientTop||0),left:d.left+(c.pageXOffset||b.scrollLeft)-(b.clientLeft||0)}):d},position:function(){if(this0){var a,b,c{top:0,left:0},dthis0;returnfixedm.css(d,position)?bd.getBoundingClientRect():(athis.offsetParent(),bthis.offset(),m.nodeName(a0,html)||(ca.offset()),c.top+m.css(a0,borderTopWidth,!0),c.left+m.css(a0,borderLeftWidth,!0)),{top:b.top-c.top-m.css(d,marginTop,!0),left:b.left-c.left-m.css(d,marginLeft,!0)}}},offsetParent:function(){return this.map(function(){var athis.offsetParent||cc;while(a&&!m.nodeName(a,html)&&staticm.css(a,position))aa.offsetParent;return a||cc})}}),m.each({scrollLeft:pageXOffset,scrollTop:pageYOffset},function(a,b){var c/Y/.test(b);m.fnafunction(d){return V(this,function(a,d,e){var fdc(a);return void 0e?f?b in f?fb:f.document.documentElementd:ad:void(f?f.scrollTo(c?m(f).scrollLeft():e,c?e:m(f).scrollTop()):ade)},a,d,arguments.length,null)}}),m.each(top,left,function(a,b){m.cssHooksbLa(k.pixelPosition,function(a,c){return c?(cJa(a,b),Ha.test(c)?m(a).position()b+px:c):void 0})}),m.each({Height:height,Width:width},function(a,b){m.each({padding:inner+a,content:b,:outer+a},function(c,d){m.fndfunction(d,e){var farguments.length&&(c||boolean!typeof d),gc||(d!0||e!0?margin:border);return V(this,function(b,c,d){var e;return m.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?m.css(b,c,g):m.style(b,c,d,g)},b,f?d:void 0,f,null)}})}),m.fn.sizefunction(){return this.length},m.fn.andSelfm.fn.addBack,functiontypeof define&&define.amd&&define(jquery,,function(){return m});var eca.jQuery,fca.$;return m.noConflictfunction(b){return a.$m&&(a.$fc),b&&a.jQuerym&&(a.jQueryec),m},typeof bK&&(a.jQuerya.$m),m});/** Amazing Slider - Responsive jQuery Slider and Image Scroller\n * Copyright 2015 Magic Hills Pty Ltd All Rights Reserved\n * Website: http://amazingslider.com\n * Version \n */(function($){$.fn.asHTML5VideoControlsfunction(skinFolder,parentInst,hidecontrols,hideplaybutton,defaultvolume){var isTouchontouchstartin window;var eStartisTouch?touchstart:mousedown;var eMoveisTouch?touchmove:mousemove;var eCancelisTouch?touchcancel:mouseup;var eClickclick;var BUTTON_SIZE32;var BAR_HEIGHTisTouch?48:36;var hideControlsTimerIdnull;var hideVolumeBarTimeoutIdnull;var sliderDraggingfalse;var isFullscreenfalse;var userActivetrue;var isIPhonenavigator.userAgent.match(/iPod/i)!null||navigator.userAgent.match(/iPhone/i)!null;var isHd$(this).data(ishd);var hd$(this).data(hd);var src$(this).data(src);var $videoObj$(this);$videoObj.get(0).removeAttribute(controls);if(isIPhone){var h$videoObj.height()-BAR_HEIGHT;$videoObj.css({height:h})}var $videoPlay$(div classhtml5boxVideoPlay>/div>);if(!isIPhone){$videoObj.after($videoPlay);$videoPlay.css({position:absolute,top:50%,left:50%,display:block,cursor:pointer,width:64,height:64,margin-left:-32,margin-top:-32,background-image:url(+skinFolder+html5boxplayer_playvideo.png+),background-position:center center,background-repeat:no-repeat}).bind(eClick,function(){$videoObj.get(0).play()})}var $videoFullscreenBg$(div classhtml5boxVideoFullscreenBg>/div>);var $videoControls$(div classhtml5boxVideoControls>+div classhtml5boxVideoControlsBg>/div>+div classhtml5boxPlayPause>+div classhtml5boxPlay>/div>+div classhtml5boxPause>/div>+/div>+div classhtml5boxTimeCurrent>--:--/div>+div classhtml5boxFullscreen>/div>+div classhtml5boxHD>/div>+div classhtml5boxVolume>+div classhtml5boxVolumeButton>/div>+div classhtml5boxVolumeBar>+div classhtml5boxVolumeBarBg>+div classhtml5boxVolumeBarActive>/div>+/div>+/div>+/div>+div classhtml5boxTimeTotal>--:--/div>+div classhtml5boxSeeker>+div classhtml5boxSeekerBuffer>/div>+div classhtml5boxSeekerPlay>/div>+div classhtml5boxSeekerHandler>/div>+/div>+div styleclear:both;>/div>+/div>);$videoObj.after($videoControls);$videoObj.after($videoFullscreenBg);$videoFullscreenBg.css({display:none,position:fixed,left:0,top:0,bottom:0,right:0,z-index:2147483647});$videoControls.css({display:block,position:absolute,width:100%,height:BAR_HEIGHT,left:0,bottom:0,right:0,max-width:640px,margin:0 auto});var userActivatefunction(){userActivetrue};$videoObj.bind(eClick,function(){userActivetrue}).hover(function(){userActivetrue},function(){userActivefalse});if(!hidecontrols)setInterval(function(){if(userActive){$videoControls.show();userActivefalse;clearTimeout(hideControlsTimerId);hideControlsTimerIdsetTimeout(function(){if(!$videoObj.get(0).paused)$videoControls.fadeOut()},5E3)}},250);$(.html5boxVideoControlsBg,$videoControls).css({display:block,position:absolute,width:100%,height:100%,left:0,top:0,background-color:#000000,opacity:0.7,filter:alpha(opacity70)});$(.html5boxPlayPause,$videoControls).css({display:block,position:relative,width:BUTTON_SIZE+px,height:BUTTON_SIZE+px,margin:Math.floor((BAR_HEIGHT-BUTTON_SIZE)/2),float:left});var $videoBtnPlay$(.html5boxPlay,$videoControls);var $videoBtnPause$(.html5boxPause,$videoControls);$videoBtnPlay.css({display:block,position:absolute,top:0,left:0,width:BUTTON_SIZE+px,height:BUTTON_SIZE+px,cursor:pointer,background-image:url(+skinFolder+html5boxplayer_playpause.png+),background-position:top left}).hover(function(){$(this).css({background-position:bottom left})},function(){$(this).css({background-position:top left})}).bind(eClick,function(){$videoObj.get(0).play()});$videoBtnPause.css({display:none,position:absolute,top:0,left:0,width:BUTTON_SIZE+px,height:BUTTON_SIZE+px,cursor:pointer,background-image:url(+skinFolder+html5boxplayer_playpause.png+),background-position:top right}).hover(function(){$(this).css({background-position:bottom right})},function(){$(this).css({background-position:top right})}).bind(eClick,function(){$videoObj.get(0).pause()});var $videoTimeCurrent$(.html5boxTimeCurrent,$videoControls);var $videoTimeTotal$(.html5boxTimeTotal,$videoControls);var $videoSeeker$(.html5boxSeeker,$videoControls);var $videoSeekerPlay$(.html5boxSeekerPlay,$videoControls);var $videoSeekerBuffer$(.html5boxSeekerBuffer,$videoControls);var $videoSeekerHandler$(.html5boxSeekerHandler,$videoControls);$videoTimeCurrent.css({display:block,position:relative,float:left,line-height:BAR_HEIGHT+px,font-weight:normal,font-size:12px,margin:0 8px,font-family:Arial, Helvetica, sans-serif,color:#fff});$videoTimeTotal.css({display:block,position:relative,float:right,line-height:BAR_HEIGHT+px,font-weight:normal,font-size:12px,margin:0 8px,font-family:Arial, Helvetica, sans-serif,color:#fff});$videoSeeker.css({display:block,cursor:pointer,overflow:hidden,position:relative,height:10px,background-color:#222,margin:Math.floor((BAR_HEIGHT-10)/2)+px 4px}).bind(eStart,function(e){var e0isTouch?e.originalEvent.touches0:e;var pose0.pageX-$videoSeeker.offset().left;$videoSeekerPlay.css({width:pos});$videoObj.get(0).currentTimepos*$videoObj.get(0).duration/$videoSeeker.width();$videoSeeker.bind(eMove,function(e){var e0isTouch?e.originalEvent.touches0:e;var pose0.pageX-$videoSeeker.offset().left;$videoSeekerPlay.css({width:pos});$videoObj.get(0).currentTimepos*$videoObj.get(0).duration/$videoSeeker.width()})}).bind(eCancel,function(){$videoSeeker.unbind(eMove)});$videoSeekerBuffer.css({display:block,position:absolute,left:0,top:0,height:100%,background-color:#444});$videoSeekerPlay.css({display:block,position:absolute,left:0,top:0,height:100%,background-color:#fcc500});if(!isIPhone&&($videoObj.get(0).requestFullscreen||$videoObj.get(0).webkitRequestFullScreen||$videoObj.get(0).mozRequestFullScreen||$videoObj.get(0).webkitEnterFullScreen||$videoObj.get(0).msRequestFullscreen)){var switchScreenfunction(fullscreen){if(fullscreen){if($videoObj.get(0).requestFullscreen)$videoObj.get(0).requestFullscreen();else if($videoObj.get(0).webkitRequestFullScreen)$videoObj.get(0).webkitRequestFullScreen();else if($videoObj.get(0).mozRequestFullScreen)$videoObj.get(0).mozRequestFullScreen();else if($videoObj.get(0).webkitEnterFullScreen)$videoObj.get(0).webkitEnterFullScreen();if($videoObj.get(0).msRequestFullscreen)$videoObj.get(0).msRequestFullscreen()}else if(document.cancelFullScreen)document.cancelFullScreen();else if(document.mozCancelFullScreen)document.mozCancelFullScreen();else if(document.webkitCancelFullScreen)document.webkitCancelFullScreen();else if(document.webkitExitFullscreen)document.webkitExitFullscreen();else if(document.msExitFullscreen)document.msExitFullscreen()};var switchScreenCSSfunction(fullscreen){$videoControls.css({position:fullscreen?fixed:absolute});var backgroundPosY$videoFullscreen.css(background-position)?$videoFullscreen.css(background-position).split( )1:$videoFullscreen.css(background-position-y);$videoFullscreen.css({background-position:(fullscreen?right:left)+ +backgroundPosY});$videoFullscreenBg.css({display:fullscreen?block:none});if(fullscreen){$(document).bind(mousemove,userActivate);$videoControls.css({z-index:2147483647})}else{$(document).unbind(mousemove,userActivate);$videoControls.css({z-index:})}};document.addEventListener(fullscreenchange,function(){isFullscreendocument.fullscreen;switchScreenCSS(document.fullscreen)},false);document.addEventListener(mozfullscreenchange,function(){isFullscreendocument.mozFullScreen;switchScreenCSS(document.mozFullScreen)},false);document.addEventListener(webkitfullscreenchange,function(){isFullscreendocument.webkitIsFullScreen;switchScreenCSS(document.webkitIsFullScreen)},false);$videoObj.get(0).addEventListener(webkitbeginfullscreen,function(){isFullscreentrue},false);$videoObj.get(0).addEventListener(webkitendfullscreen,function(){isFullscreenfalse},false);$(head).append(style typetext/css>video::-webkit-media-controls { display:none !important; }/style>);var $videoFullscreen$(.html5boxFullscreen,$videoControls);$videoFullscreen.css({display:block,position:relative,float:right,width:BUTTON_SIZE+px,height:BUTTON_SIZE+px,margin:Math.floor((BAR_HEIGHT-BUTTON_SIZE)/2),cursor:pointer,background-image:url(+skinFolder+html5boxplayer_fullscreen.png+),background-position:left top}).hover(function(){var backgroundPosX$(this).css(background-position)?$(this).css(background-position).split( )0:$(this).css(background-position-x);$(this).css({background-position:backgroundPosX+ bottom})},function(){var backgroundPosX$(this).css(background-position)?$(this).css(background-position).split( )0:$(this).css(background-position-x);$(this).css({background-position:backgroundPosX+ top})}).bind(eClick,function(){isFullscreen!isFullscreen;switchScreen(isFullscreen)})}if(hd){var $videoHD$(.html5boxHD,$videoControls);$videoHD.css({display:block,position:relative,float:right,width:BUTTON_SIZE+px,height:BUTTON_SIZE+px,margin:Math.floor((BAR_HEIGHT-BUTTON_SIZE)/2),cursor:pointer,background-image:url(+skinFolder+html5boxplayer_hd.png+),background-position:(isHd?right:left)+ center}).bind(eClick,function(){isHd!isHd;$(this).css({background-position:(isHd?right:left)+ center});parentInst.isHdisHd;var isPaused$videoObj.get(0).isPaused;$videoObj.get(0).setAttribute(src,(isHd?hd:src)+#t+$videoObj.get(0).currentTime);if(!isPaused)$videoObj.get(0).play();else if(!isIPhone)$videoObj.get(0).pause()})}$videoObj.get(0).volumedefaultvolume;var volumeSaveddefaultvolume0?1:defaultvolume;var volume$videoObj.get(0).volume;$videoObj.get(0).volumevolume/2+0.1;if($videoObj.get(0).volumevolume/2+0.1){$videoObj.get(0).volumevolume;var $videoVolume$(.html5boxVolume,$videoControls);var $videoVolumeButton$(.html5boxVolumeButton,$videoControls);var $videoVolumeBar$(.html5boxVolumeBar,$videoControls);var $videoVolumeBarBg$(.html5boxVolumeBarBg,$videoControls);var $videoVolumeBarActive$(.html5boxVolumeBarActive,$videoControls);$videoVolume.css({display:block,position:relative,float:right,width:BUTTON_SIZE+px,height:BUTTON_SIZE+px,margin:Math.floor((BAR_HEIGHT-BUTTON_SIZE)/2)}).hover(function(){clearTimeout(hideVolumeBarTimeoutId);var volume$videoObj.get(0).volume;$videoVolumeBarActive.css({height:Math.round(volume*100)+%});$videoVolumeBar.show()},function(){clearTimeout(hideVolumeBarTimeoutId);hideVolumeBarTimeoutIdsetTimeout(function(){$videoVolumeBar.hide()},1E3)});$videoVolumeButton.css({display:block,position:absolute,top:0,left:0,width:BUTTON_SIZE+px,height:BUTTON_SIZE+px,cursor:pointer,background-image:url(+skinFolder+html5boxplayer_volume.png+),background-position:top +(volume>0?left:right)}).hover(function(){var backgroundPosX$(this).css(background-position)?$(this).css(background-position).split( )0:$(this).css(background-position-x);$(this).css({background-position:backgroundPosX+ bottom})},function(){var backgroundPosX$(this).css(background-position)?$(this).css(background-position).split( )0:$(this).css(background-position-x);$(this).css({background-position:backgroundPosX+ top})}).bind(eClick,function(){var volume$videoObj.get(0).volume;if(volume>0){volumeSavedvolume;volume0}else volumevolumeSaved;var backgroundPosY$(this).css(background-position)?$(this).css(background-position).split( )1:$(this).css(background-position-y);$videoVolumeButton.css({background-position:(volume>0?left:right)+ +backgroundPosY});$videoObj.get(0).volumevolume;$videoVolumeBarActive.css({height:Math.round(volume*100)+%})});$videoVolumeBar.css({display:none,position:absolute,left:4,bottom:100%,width:24,height:80,margin-bottom:Math.floor((BAR_HEIGHT-BUTTON_SIZE)/2),background-color:#000000,opacity:0.7,filter:alpha(opacity70)});$videoVolumeBarBg.css({display:block,position:relative,width:10,height:68,margin:7,cursor:pointer,background-color:#222});$videoVolumeBarActive.css({display:block,position:absolute,bottom:0,left:0,width:100%,height:100%,background-color:#fcc500});$videoVolumeBarBg.bind(eStart,function(e){var e0isTouch?e.originalEvent.touches0:e;var vol1-(e0.pageY-$videoVolumeBarBg.offset().top)/$videoVolumeBarBg.height();volvol>1?1:vol0?0:vol;$videoVolumeBarActive.css({height:Math.round(vol*100)+%});$videoVolumeButton.css({background-position:left +(vol>0?top:bottom)});$videoObj.get(0).volumevol;$videoVolumeBarBg.bind(eMove,function(e){var e0isTouch?e.originalEvent.touches0:e;var vol1-(e0.pageY-$videoVolumeBarBg.offset().top)/$videoVolumeBarBg.height();volvol>1?1:vol0?0:vol;$videoVolumeBarActive.css({height:Math.round(vol*100)+%});$videoVolumeButton.css({background-position:left +(vol>0?top:bottom)});$videoObj.get(0).volumevol})}).bind(eCancel,function(){$videoVolumeBarBg.unbind(eMove)})}var calcTimeFormatfunction(seconds){var h0Math.floor(seconds/3600);var hh010?0+h0:h0;var m0Math.floor((seconds-h0*3600)/60);var mm010?0+m0:m0;var s0Math.floor(seconds-(h0*3600+m0*60));var ss010?0+s0:s0;var rm+:+s;if(h0>0)rh+:+r;return r};if(hideplaybutton)$videoPlay.hide();if(hidecontrols)$videoControls.hide();var onVideoPlayfunction(){if(!hideplaybutton)$videoPlay.hide();if(!hidecontrols){$videoBtnPlay.hide();$videoBtnPause.show()}};var onVideoPausefunction(){if(!hideplaybutton)$videoPlay.show();if(!hidecontrols){$videoControls.show();clearTimeout(hideControlsTimerId);$videoBtnPlay.show();$videoBtnPause.hide()}};var onVideoEndedfunction(){$(window).trigger(html5lightbox.videoended);if(!hideplaybutton)$videoPlay.show();if(!hidecontrols){$videoControls.show();clearTimeout(hideControlsTimerId);$videoBtnPlay.show();$videoBtnPause.hide()}};var onVideoUpdatefunction(){var curTime$videoObj.get(0).currentTime;if(curTime){$videoTimeCurrent.text(calcTimeFormat(curTime));var duration$videoObj.get(0).duration;if(duration){$videoTimeTotal.text(calcTimeFormat(duration));if(!sliderDragging){var sliderW$videoSeeker.width();var posMath.round(sliderW*curTime/duration);$videoSeekerPlay.css({width:pos});$videoSeekerHandler.css({left:pos})}}}};var onVideoProgressfunction(){if($videoObj.get(0).buffered&&$videoObj.get(0).buffered.length>0&&!isNaN($videoObj.get(0).buffered.end(0))&&!isNaN($videoObj.get(0).duration)){var sliderW$videoSeeker.width();$videoSeekerBuffer.css({width:Math.round(sliderW*$videoObj.get(0).buffered.end(0)/$videoObj.get(0).duration)})}};try{$videoObj.bind(play,onVideoPlay);$videoObj.bind(pause,onVideoPause);$videoObj.bind(ended,onVideoEnded);$videoObj.bind(timeupdate,onVideoUpdate);$videoObj.bind(progress,onVideoProgress)}catch(e){}}})(jQuery);(function($){$.fn.ashtml5lightboxfunction(options){var instthis;inst.options$.extend({freelink:http://html5box.com/,defaultvideovolume:1,autoclose:false,autoplay:true,loopvideo:false,html5player:true,responsive:true,nativehtml5controls:false,videohidecontrols:false,imagekeepratio:true,useflashonie9:true,useflashonie10:false,useflashonie11:false,googleanalyticsaccount:,arrowloop:true,shownavigation:true,thumbwidth:96,thumbheight:72,thumbgap:4,thumbtopmargin:12,thumbbottommargin:12,thumbborder:1,thumbbordercolor:transparent,thumbhighlightbordercolor:#fff,thumbopacity:1,navbuttonwidth:32,overlaybgcolor:#000,overlayopacity:0.9,bgcolor:#fff,bordersize:8,borderradius:0,bordermargin:16,bordertopmargin:16,bordertopmarginsmall:48,barautoheight:true,barheight:64,responsivebarheight:false,smallscreenheight:415,barheightonsmallheight:64,notkeepratioonsmallheight:false,loadingwidth:64,loadingheight:64,resizespeed:400,fadespeed:400,jsfolder:,skinsfoldername:,loadingimage:lightbox-loading.gif,nextimage:lightbox-next.png,previmage:lightbox-prev.png,closeimage:lightbox-close.png,playvideoimage:lightbox-playvideo.png,titlebgimage:lightbox-titlebg.png,navarrowsprevimage:lightbox-navprev.png,navarrowsnextimage:lightbox-navnext.png,navarrowsalwaysshowontouch:true,navarrowsbottomscreenwidth:479,closeonoverlay:true,alwaysshownavarrows:false,showplaybutton:true,playimage:lightbox-play.png,pauseimage:lightbox-pause.png,fullscreenmode:false,fullscreencloseimage:lightbox-close-fullscreen.png,fullscreennextimage:lightbox-next-fullscreen.png,fullscreenprevimage:lightbox-prev-fullscreen.png,videobgcolor:#000,html5videoposter:,showtitle:true,titlestyle:bottom,titleinsidecss:color:#fff; font-size:16px; font-family:Arial,Helvetica,sans-serif; overflow:hidden; text-align:left;,titlebottomcss:color:#333; font-size:16px; font-family:Arial,Helvetica,sans-serif; overflow:hidden; text-align:left;,showdescription:true,descriptioninsidecss:color:#fff; font-size:12px; font-family:Arial,Helvetica,sans-serif; overflow:hidden; text-align:left; margin:4px 0px 0px; padding: 0px;,descriptionbottomcss:color:#333; font-size:12px; font-family:Arial,Helvetica,sans-serif; overflow:hidden; text-align:left; margin:4px 0px 0px; padding: 0px;,showtitleprefix:true,titleprefix:%NUM / %TOTAL,autoslide:false,slideinterval:5E3,showtimer:true,timerposition:bottom,timerheight:2,timercolor:#dc572e,timeropacity:1,initvimeo:true,inityoutube:true,imagepercentage:75,sidetobottomscreenwidth:479,errorwidth:280,errorheight:48,errorcss:text-align:center; color:#ff0000; font-size:14px; font-family:Arial, sans-serif;,enabletouchswipe:true,supportesckey:true,supportarrowkeys:true,version:3.3,stamp:false,freemark:72,84,77,76,53,32,76,105,103,104,116,98,111,120,32,70,114,101,101,32,86,101,114,115,105,111,110,watermark:,watermarklink:},options);if(typeof html5lightbox_options!undefined&&html5lightbox_options)$.extend(inst.options,html5lightbox_options);if($(div#html5lightbox_options).length)$.each($(div#html5lightbox_options).data(),function(key,value){inst.optionskey.toLowerCase()value});var DEFAULT_WIDTH960,DEFAULT_HEIGHT540;var ELEM_TYPE0,ELEM_HREF1,ELEM_TITLE2,ELEM_GROUP3,ELEM_WIDTH4,ELEM_HEIGHT5,ELEM_HREF_WEBM6,ELEM_HREF_OGG7,ELEM_THUMBNAIL8,ELEM_DESCRIPTION9,ELEM_DIV10;inst.options.typesIMAGE,FLASH,VIDEO,YOUTUBE,VIMEO,PDF,MP3,WEB,FLV,DAILYMOTION,DIV,WISTIA;inst.options.htmlfolderwindow.location.href.substr(0,window.location.href.lastIndexOf(/)+1);inst.options.skinsfolderinst.options.skinsfoldername;if(inst.options.skinsfolder.length>0&&inst.options.skinsfolderinst.options.skinsfolder.length-1!/)inst.options.skinsfolder+/;if(inst.options.skinsfolder.charAt(0)!/&&inst.options.skinsfolder.substring(0,5)!http:&&inst.options.skinsfolder.substring(0,6)!https:)inst.options.skinsfolderinst.options.jsfolder+inst.options.skinsfolder;var i;var l;var mark;var bytesinst.options.freemark.split(,);for(i0;ibytes.length;i++)mark+String.fromCharCode(bytesi);inst.options.freemarkmark;var d0hmtamgli5cboxh.iclolms;for(i1;i5;i++)d0d0.slice(0,i)+d0.slice(i+1);ld0.length;for(i0;i5;i++)d0d0.slice(0,l-9+i)+d0.slice(l-8+i);if(inst.options.htmlfolder.indexOf(d0)!-1)inst.options.stampfalse;inst.options.flashInstalledfalse;try{if(new ActiveXObject(ShockwaveFlash.ShockwaveFlash))inst.options.flashInstalledtrue}catch(e){if(navigator.mimeTypesapplication/x-shockwave-flash)inst.options.flashInstalledtrue}inst.options.html5VideoSupported!!document.createElement(video).canPlayType;inst.options.isChromenavigator.userAgent.match(/Chrome/i)!null;inst.options.isFirefoxnavigator.userAgent.match(/Firefox/i)!null;inst.options.isOperanavigator.userAgent.match(/Opera/i)!null||navigator.userAgent.match(/OPR\//i)!null;inst.options.isSafarinavigator.userAgent.match(/Safari/i)!null;inst.options.isIE11navigator.userAgent.match(/Trident\/7/)!null&&navigator.userAgent.match(/rv:11/)!null;inst.options.isIEnavigator.userAgent.match(/MSIE/i)!null&&!inst.options.isOpera;inst.options.isIE10navigator.userAgent.match(/MSIE 10/i)!null&&!this.options.isOpera;inst.options.isIE9navigator.userAgent.match(/MSIE 9/i)!null&&!inst.options.isOpera;inst.options.isIE8navigator.userAgent.match(/MSIE 8/i)!null&&!inst.options.isOpera;inst.options.isIE7navigator.userAgent.match(/MSIE 7/i)!null&&!inst.options.isOpera;inst.options.isIE6navigator.userAgent.match(/MSIE 6/i)!null&&!inst.options.isOpera;inst.options.isIE678inst.options.isIE6||inst.options.isIE7||inst.options.isIE8;inst.options.isIE6789inst.options.isIE6||inst.options.isIE7||inst.options.isIE8||inst.options.isIE9;inst.options.isAndroidnavigator.userAgent.match(/Android/i)!null;inst.options.isIPadnavigator.userAgent.match(/iPad/i)!null;inst.options.isIPhonenavigator.userAgent.match(/iPod/i)!null||navigator.userAgent.match(/iPhone/i)!null;inst.options.isIOSinst.options.isIPad||inst.options.isIPhone;inst.options.isMobileinst.options.isAndroid||inst.options.isIPad||inst.options.isIPhone;inst.options.isIOSLess5inst.options.isIPad&&inst.options.isIPhone&&(navigator.userAgent.match(/OS 4/i)!null||navigator.userAgent.match(/OS 3/i)!null);inst.options.supportCSSPositionFixed!inst.options.isIE6&&!inst.options.isIOSLess5;inst.options.iequirksmodeinst.options.isIE6789&&document.compatMode!CSS1Compat;inst.options.isTouchontouchstartin window;if(inst.options.isMobile)inst.options.autoplayfalse;inst.options.navheight0;inst.options.thumbgap+2*inst.options.thumbborder;inst.options.resizeTimeout-1;inst.slideTimeoutnull;inst.autoslidingfalse;inst.elemArraynew Array;inst.options.curElem-1;inst.defaultoptions$.extend({},inst.options);if(inst.options.googleanalyticsaccount&&!window._gaq){window._gaqwindow._gaq||;window._gaq.push(_setAccount,inst.options.googleanalyticsaccount);window._gaq.push(_trackPageview);$.getScript(https://ssl.google-analytics.com/ga.js)}if(inst.options.initvimeo){var tagdocument.createElement(script);tag.srcinst.options.jsfolder+froogaloop2.min.js;var firstScriptTagdocument.getElementsByTagName(script)0;firstScriptTag.parentNode.insertBefore(tag,firstScriptTag)}if(inst.options.inityoutube){var tagdocument.createElement(script);tag.srchttps://www.youtube.com/iframe_api;var firstScriptTagdocument.getElementsByTagName(script)0;firstScriptTag.parentNode.insertBefore(tag,firstScriptTag)}inst.showingfalse;inst.supportKeyboardfunction(){$(document).keyup(function(e){if(!inst.showing)return;if(inst.options.supportesckey&&e.keyCode27)inst.finish();else if(inst.options.supportarrowkeys)if(e.keyCode39)inst.gotoSlide(-1);else if(e.keyCode37)inst.gotoSlide(-2)})};inst.supportKeyboard();inst.initfunction(){inst.showingfalse;inst.readData();inst.createMarkup();inst.initSlide()};inst.readDatafunction(){inst.each(function(){if(this.nodeName.toLowerCase()!a&&this.nodeName.toLowerCase()!area)return;var $this$(this);var fileTypemediatypein $this.data()?$this.data(mediatype):inst.checkType($this.attr(href));if(fileType0)return;for(var i0;iinst.elemArray.length;i++)if($this.attr(href)inst.elemArrayiELEM_HREF)return;inst.elemArray.push(new Array(fileType,$this.attr(href),$this.attr(title),$this.data(group),$this.data(width),$this.data(height),$this.data(webm),$this.data(ogg),$this.data(thumbnail),$this.data(description)))})};inst.createMarkupfunction(){inst.options.barheightoriginalinst.options.barheight;if(inst.options.responsivebarheight){var winHwindow.innerHeight?window.innerHeight:$(window).height();if(winHinst.options.smallscreenheight)inst.options.barheightinst.options.barheightonsmallheight}if(!inst.options.titlecss)inst.options.titlecssinst.options.titlestyleinside?inst.options.titleinsidecss:inst.options.titlebottomcss;if(!inst.options.descriptioncss)inst.options.descriptioncssinst.options.titlestyleinside?inst.options.descriptioninsidecss:inst.options.descriptionbottomcss;inst.options.titlecss$.trim(inst.options.titlecss);if(inst.options.titlecss.length>1){if(inst.options.titlecss.charAt(0){)inst.options.titlecssinst.options.titlecss.substring(1);if(inst.options.titlecss.charAt(inst.options.titlecss.length-1)})inst.options.titlecssinst.options.titlecss.substring(0,inst.options.titlecss.length-1)}inst.options.descriptioncss$.trim(inst.options.descriptioncss);if(inst.options.descriptioncss.length>1){if(inst.options.descriptioncss.charAt(0){)inst.options.descriptioncssinst.options.descriptioncss.substring(1);if(inst.options.descriptioncss.charAt(inst.options.descriptioncss.length-1)})inst.options.descriptioncssinst.options.descriptioncss.substring(0,inst.options.descriptioncss.length-1)}inst.options.errorcss$.trim(inst.options.errorcss);if(inst.options.errorcss.length>1){if(inst.options.errorcss.charAt(0){)inst.options.errorcssinst.options.errorcss.substring(1);if(inst.options.errorcss.charAt(inst.options.errorcss.length-1)})inst.options.errorcssinst.options.errorcss.substring(0,inst.options.errorcss.length-1)}var styleCss.html5-hide {display:none !important;} #slider-html5-lightbox #html5-text {+inst.options.titlecss+};styleCss+#slider-html5-lightbox .html5-description {+inst.options.descriptioncss+};styleCss+#slider-html5-lightbox .html5-error {+inst.options.errorcss+};if(inst.options.navarrowsalwaysshowontouch||inst.options.alwaysshownavarrows){styleCss+#slider-html5-lightbox .html5-prev-touch {left:0px;top:50%;margin-top:-16px;margin-left:-32px;} #slider-html5-lightbox .html5-next-touch {right:0px;top:50%;margin-top:-16px;margin-right:-32px;};styleCss+@media (max-width: +inst.options.navarrowsbottomscreenwidth+px) { #slider-html5-lightbox .html5-prev-touch {top:100%;left:0;margin:0;} #slider-html5-lightbox .html5-next-touch {top:100%;right:0;margin:0;} }}styleCss+#slider-html5-lightbox .html5-prev-fullscreen {display:block;} #slider-html5-lightbox .html5-next-fullscreen {display:block;} #slider-html5-lightbox .html5-prev-bottom-fullscreen {display:none;} #slider-html5-lightbox .html5-next-bottom-fullscreen {display:none;};styleCss+@media (max-width: +inst.options.navarrowsbottomscreenwidth+px) {#slider-html5-lightbox .html5-prev-fullscreen {display:none;} #slider-html5-lightbox .html5-next-fullscreen {display:none;} #slider-html5-lightbox .html5-prev-bottom-fullscreen {display:block;} #slider-html5-lightbox .html5-next-bottom-fullscreen {display:block;} };if(inst.options.titlestyleright){styleCss+#slider-html5-lightbox #html5-elem-wrap {width:+inst.options.imagepercentage+%;height:100%;} #slider-html5-lightbox #html5-elem-data-box {min-height:100%;};styleCss+@media (max-width: +inst.options.sidetobottomscreenwidth+px) {#slider-html5-lightbox #html5-elem-wrap {width:100%;height:auto;} #slider-html5-lightbox #html5-elem-data-box {width:100%;height:auto;min-height:0;}}}else if(inst.options.titlestyleleft){styleCss+#slider-html5-lightbox #html5-elem-wrap {height:100%;} #slider-html5-lightbox #html5-elem-data-box {width:+String(100-inst.options.imagepercentage)+%;min-height:100%;};styleCss+@media (max-width: +inst.options.sidetobottomscreenwidth+px) {#slider-html5-lightbox #html5-elem-wrap {width:100%;height:auto;} #slider-html5-lightbox #html5-elem-data-box {width:100%;height:auto;min-height:0;}}}$(head).append(style typetext/css data-creatorslider-html5-lightbox>+styleCss+/style>);inst.$lightbox$(div idslider-html5-lightbox styledisplay:none;top:0px;left:0px;width:100%;height:100%;z-index:9999998;text-align:center;>+div idhtml5-lightbox-overlay styledisplay:block;position:absolute;top:0px;left:0px;width:100%;min-height:100%;background-color:+inst.options.overlaybgcolor+;opacity:+inst.options.overlayopacity+;filter:alpha(opacity+Math.round(inst.options.overlayopacity*100)+);>/div>+div idhtml5-lightbox-box styledisplay:block;position:relative;margin:0px auto;>+div idhtml5-elem-box styledisplay:block;position:relative;width:100%;overflow-x:hidden;overflow-y:auto;height:100%;margin:0px auto;text-align:center;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;>+div idhtml5-elem-wrap styledisplay:block;position:relative;margin:0px auto;text-align:center;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;background-color:+inst.options.bgcolor+;>+div idhtml5-loading styledisplay:none;position:absolute;top:0px;left:0px;text-align:center;width:100%;height:100%;background:url(\+inst.options.skinsfolder+inst.options.loadingimage+\) no-repeat center center;>/div>+div idhtml5-error classhtml5-error styledisplay:none;position:absolute;padding:+inst.options.bordersize+px;text-align:center;width:+inst.options.errorwidth+px;height:+inst.options.errorheight+px;>+The requested content cannot be loaded.br />Please try again later.+/div>+div idhtml5-image styledisplay:none;position:relative;top:0px;left:0px;width:100%;height:100%;+(inst.options.iequirksmode?margin:padding)+:+inst.options.bordersize+px;text-align:center;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;>/div>+/div>+/div>+div idhtml5-watermark styledisplay:none;position:absolute;left:+String(inst.options.bordersize+2)+px;top:+String(inst.options.bordersize+2)+px;>/div>+/div>+/div>);inst.options.positionFixedinst.options.supportCSSPositionFixed&&inst.options.responsive&&!inst.options.iequirksmode;inst.$lightbox.css({position:inst.options.positionFixed?fixed:absolute});inst.$lightbox.appendTo(body);inst.$lightboxBox$(#html5-lightbox-box,inst.$lightbox);inst.$elem$(#html5-elem-box,inst.$lightbox);inst.$elemWrap$(#html5-elem-wrap,inst.$lightbox);inst.$loading$(#html5-loading,inst.$lightbox);inst.$error$(#html5-error,inst.$lightbox);inst.$image$(#html5-image,inst.$lightbox);var elemTextdiv idhtml5-elem-data-box styledisplay:none;box-sizing:border-box;>div idhtml5-text styledisplay:block;overflow:hidden;>/div>/div>;if(inst.options.titlestyleleft)inst.$elem.prepend(elemText);else inst.$elem.append(elemText);inst.$elemData$(#html5-elem-data-box,inst.$lightbox);inst.$text$(#html5-text,inst.$lightbox);if(inst.options.borderradius>0){inst.$elem.css({border-radius:inst.options.borderradius+px,-moz-border-radius:inst.options.borderradius+px,-webkit-border-radius:inst.options.borderradius+px});if(inst.options.titlestyleinside)inst.$elemWrap.css({border-radius:inst.options.borderradius+px,-moz-border-radius:inst.options.borderradius+px,-webkit-border-radius:inst.options.borderradius+px});else if(inst.options.titlestylebottom){inst.$elemWrap.css({border-top-left-radius:inst.options.borderradius+px,-moz-top-left-border-radius:inst.options.borderradius+px,-webkit-top-left-border-radius:inst.options.borderradius+px,border-top-right-radius:inst.options.borderradius+px,-moz-top-right-border-radius:inst.options.borderradius+px,-webkit-top-right-border-radius:inst.options.borderradius+px});inst.$elemData.css({border-bottom-left-radius:inst.options.borderradius+px,-moz-top-bottom-border-radius:inst.options.borderradius+px,-webkit-bottom-left-border-radius:inst.options.borderradius+px,border-bottom-right-radius:inst.options.borderradius+px,-moz-bottom-right-border-radius:inst.options.borderradius+px,-webkit-bottom-right-border-radius:inst.options.borderradius+px})}}if(inst.options.titlestyleright||inst.options.titlestyleleft){inst.$lightboxBox.css({background-color:inst.options.bgcolor});if(inst.options.titlestyleright){inst.$elemWrap.css({position:relative,float:left});inst.$elemData.css({position:relative,overflow:hidden,padding:inst.options.bordersize+px})}else{inst.$elemWrap.css({position:relative,overflow:hidden});inst.$elemData.css({position:relative,float:left,padding:inst.options.bordersize+px})}}else if(inst.options.titlestyleinside){inst.$elemData.css({position:absolute,margin:inst.options.bordersize+px,bottom:0,left:0,background-color:#333,background-color:rgba(51, 51, 51, 0.6)});inst.$text.css({padding:inst.options.bordersize+px +2*inst.options.bordersize+px})}else{inst.$elemData.css({position:relative,width:100%,height:inst.options.barautoheight?auto:inst.options.barheight+px,padding:0 0 +inst.options.bordersize+px+ 0,background-color:inst.options.bgcolor,text-align:left});inst.$text.css({margin:0 +inst.options.bordersize+px})}if(inst.options.fullscreenmode){inst.$lightbox.append(div classhtml5-next-fullscreen stylecursor:pointer;position:absolute;right:+inst.options.bordersize+px;top:50%;margin-top:-16px;>img src+inst.options.skinsfolder+inst.options.fullscreennextimage+>/div>+div classhtml5-prev-fullscreen stylecursor:pointer;position:absolute;left:+inst.options.bordersize+px;top:50%;margin-top:-16px;>img src+inst.options.skinsfolder+inst.options.fullscreenprevimage+>/div>);inst.$next$(.html5-next-fullscreen,inst.$lightbox);inst.$prev$(.html5-prev-fullscreen,inst.$lightbox);inst.$lightboxBox.append(div classhtml5-next-bottom-fullscreen stylecursor:pointer;position:absolute;top:100%;right:0;margin-top:8px;>img src+inst.options.skinsfolder+inst.options.fullscreennextimage+>/div>+div classhtml5-prev-bottom-fullscreen stylecursor:pointer;position:absolute;top:100%;left:0;margin-top:8px;>img src+inst.options.skinsfolder+inst.options.fullscreenprevimage+>/div>);inst.$nextbottom$(.html5-next-bottom-fullscreen,inst.$lightbox);inst.$prevbottom$(.html5-prev-bottom-fullscreen,inst.$lightbox);inst.$nextbottom.click(function(){inst.nextArrowClicked()});inst.$prevbottom.click(function(){inst.prevArrowClicked()});inst.$lightbox.append(div idhtml5-close-fullscreen styledisplay:block;cursor:pointer;position:absolute;top:0;right:0;margin-top:0;margin-right:0;>img src+inst.options.skinsfolder+inst.options.fullscreencloseimage+>/div>);inst.$close$(#html5-close-fullscreen,inst.$lightbox)}else{inst.$elemWrap.append(div idhtml5-next styledisplay:none;cursor:pointer;position:absolute;right:+inst.options.bordersize+px;top:50%;margin-top:-16px;>img src+inst.options.skinsfolder+inst.options.nextimage+>/div>+div idhtml5-prev styledisplay:none;cursor:pointer;position:absolute;left:+inst.options.bordersize+px;top:50%;margin-top:-16px;>img src+inst.options.skinsfolder+inst.options.previmage+>/div>);inst.$next$(#html5-next,inst.$lightbox);inst.$prev$(#html5-prev,inst.$lightbox);if(inst.options.isTouch&&inst.options.navarrowsalwaysshowontouch||inst.options.alwaysshownavarrows){inst.$lightboxBox.append(div classhtml5-next-touch styledisplay:block;cursor:pointer;position:absolute;>img src+inst.options.skinsfolder+inst.options.nextimage+>/div>+div classhtml5-prev-touch styledisplay:block;cursor:pointer;position:absolute;>img src+inst.options.skinsfolder+inst.options.previmage+>/div>);inst.$nexttouch$(.html5-next-touch,inst.$lightbox);inst.$prevtouch$(.html5-prev-touch,inst.$lightbox);inst.$nexttouch.click(function(){inst.nextArrowClicked()});inst.$prevtouch.click(function(){inst.prevArrowClicked()})}inst.$lightboxBox.append(div idhtml5-close styledisplay:none;cursor:pointer;position:absolute;top:0;right:0;margin-top:-16px;margin-right:-16px;>img src+inst.options.skinsfolder+inst.options.closeimage+>/div>);inst.$close$(#html5-close,inst.$lightbox)}inst.$watermark$(#html5-watermark,inst.$lightbox);if(inst.options.stamp)inst.$watermark.html(a href+inst.options.freelink+ styletext-decoration:none; titlejQuery Lightbox>div styledisplay:block;width:170px;height:20px;text-align:center;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;background-color:#fff;color:#333;font:12px Arial,sans-serif;>div styleline-height:20px;>+inst.options.freemark+/div>/div>/a>);else if(inst.options.watermark){var htmlimg src+inst.options.watermark+ styleborder:none; />;if(inst.options.watermarklink)htmla href+inst.options.watermarklink+ target_blank>+html+/a>;inst.$watermark.html(html)}if(inst.options.closeonoverlay)$(#html5-lightbox-overlay,inst.$lightbox).click(inst.finish);inst.$close.click(inst.finish);inst.$next.click(function(){inst.nextArrowClicked()});inst.$prev.click(function(){inst.prevArrowClicked()});$(window).resize(function(){clearTimeout(inst.options.resizeTimeout);inst.options.resizeTimeoutsetTimeout(function(){inst.resizeWindow()},500)});$(window).scroll(function(){inst.scrollBox()});$(window).bind(orientationchange,function(e){if(inst.options.isMobile)inst.resizeWindow()});if(inst.options.isIPhone){inst.options.windowInnerHeightwindow.innerHeight;setInterval(function(){if(inst.options.windowInnerHeight!window.innerHeight){inst.options.windowInnerHeightwindow.innerHeight;inst.resizeWindow()}},500)}if(inst.options.enabletouchswipe)inst.enableSwipe()};inst.slideTimerfunction(interval,callback,updatecallback){var timerInstancethis;timerInstance.timeoutinterval;var updateinterval50;var updateTimerIdnull;var runningTime0;var pausedfalse;var startedfalse;var startedandpausedfalse;this.pausefunction(){if(started){pausedtrue;clearInterval(updateTimerId)}};this.resumefunction(forceresume){if(startedandpaused&&!forceresume)return;startedandpausedfalse;if(started&&paused){pausedfalse;updateTimerIdsetInterval(function(){runningTime+updateinterval;if(runningTime>timerInstance.timeout){clearInterval(updateTimerId);if(callback)callback()}if(updatecallback)updatecallback(runningTime/timerInstance.timeout)},updateinterval)}};this.stopfunction(){clearInterval(updateTimerId);if(updatecallback)updatecallback(-1);runningTime0;pausedfalse;startedfalse};this.startfunction(){runningTime0;pausedfalse;startedtrue;updateTimerIdsetInterval(function(){runningTime+updateinterval;if(runningTime>timerInstance.timeout){clearInterval(updateTimerId);if(callback)callback()}if(updatecallback)updatecallback(runningTime/timerInstance.timeout)},updateinterval)};this.startandpausefunction(){runningTime0;pausedtrue;startedtrue;startedandpausedtrue};return this};inst.updateTimerfunction(percent){var wMath.round(percent*100);if(w>100)w100;if(w0)w0;$(#html5-timer,inst.$lightbox).css({display:block,width:w+%})};inst.initSlidefunction(){inst.autoslidingfalse;inst.slideTimeoutinst.slideTimer(inst.options.slideinterval,function(){inst.gotoSlide(-1)},inst.options.showtimer?function(percent){inst.updateTimer(percent)}:null);if(inst.options.autoslide){inst.slideTimeout.stop();inst.autoslidingtrue}};inst.nextArrowClickedfunction(){if(inst.options.nextEleminst.options.curElem)if(inst.options.onlastarrowclicked&&windowinst.options.onlastarrowclicked&&typeof windowinst.options.onlastarrowclickedfunction)windowinst.options.onlastarrowclicked();inst.gotoSlide(-1)};inst.prevArrowClickedfunction(){if(inst.options.prevElem>inst.options.curElem)if(inst.options.onfirstarrowclicked&&windowinst.options.onfirstarrowclicked&&typeof windowinst.options.onfirstarrowclickedfunction)windowinst.options.onfirstarrowclicked();inst.gotoSlide(-2)};inst.calcNextPrevElemfunction(){inst.options.nextElem-1;inst.options.prevElem-1;inst.options.inGroupfalse;inst.options.groupIndex0;inst.options.groupCount0;var groupinst.elemArrayinst.options.curElemELEM_GROUP;for(var i0;iinst.elemArray.length;i++)if(inst.matchGroup(group,inst.elemArrayiELEM_GROUP)){if(iinst.options.curElem)inst.options.groupIndexinst.options.groupCount;inst.options.groupCount++}var j,curGroupinst.elemArrayinst.options.curElemELEM_GROUP;if(curGroup!undefined&&curGroup!null){for(jinst.options.curElem+1;jinst.elemArray.length;j++)if(inst.matchGroup(curGroup,inst.elemArrayjELEM_GROUP)){inst.options.nextElemj;break}if(inst.options.nextElem0)for(j0;jinst.options.curElem;j++)if(inst.matchGroup(curGroup,inst.elemArrayjELEM_GROUP)){inst.options.nextElemj;break}if(inst.options.nextElem>0){for(jinst.options.curElem-1;j>0;j--)if(inst.matchGroup(curGroup,inst.elemArrayjELEM_GROUP)){inst.options.prevElemj;break}if(inst.options.prevElem0)for(jinst.elemArray.length-1;j>inst.options.curElem;j--)if(inst.matchGroup(curGroup,inst.elemArrayjELEM_GROUP)){inst.options.prevElemj;break}}}if(inst.options.nextElem>0||inst.options.prevElem>0)inst.options.inGrouptrue};inst.calcBoxPositionfunction(initW,initH){var boxWinitW+2*inst.options.bordersize;var boxHinitH+2*inst.options.bordersize;var winHwindow.innerHeight?window.innerHeight:$(window).height();var boxTMath.round((winH-inst.options.navheight)/2-boxH/2);if(inst.options.titlestylebottom)boxT-Math.round(inst.options.barheight/2);var topmargin$(window).width()inst.options.navarrowsbottomscreenwidth?inst.options.bordertopmarginsmall:inst.options.bordertopmargin;if(boxTtopmargin)boxTtopmargin;if(window.self!window.top)if(parent.window.jQuery&&parent.window.jQuery(#+inst.options.iframeid).length){var iframetopparent.window.jQuery(#+inst.options.iframeid).offset().top;var parentscrollparent.window.document.body.scrollTop;boxTtopmargin;boxT+parentscroll>iframetop?parentscroll-iframetop:0}returnboxW,boxH,boxT};inst.hideNavArrowsfunction(){var showPrevfalse;var showNextfalse;if(inst.options.inGroup){if(inst.options.arrowloop||!inst.options.arrowloop&&inst.options.prevEleminst.options.curElem)showPrevtrue;if(inst.options.arrowloop||!inst.options.arrowloop&&inst.options.prevEleminst.options.curElem)showNexttrue}if(showPrev){inst.$prev.removeClass(html5-hide);if(inst.$prevbottom)inst.$prevbottom.removeClass(html5-hide);if(inst.$prevtouch)inst.$prevtouch.removeClass(html5-hide)}else{inst.$prev.addClass(html5-hide);if(inst.$prevbottom)inst.$prevbottom.addClass(html5-hide);if(inst.$prevtouch)inst.$prevtouch.addClass(html5-hide)}if(showNext){inst.$next.removeClass(html5-hide);if(inst.$nextbottom)inst.$nextbottom.removeClass(html5-hide);if(inst.$nexttouch)inst.$nexttouch.removeClass(html5-hide)}else{inst.$next.addClass(html5-hide);if(inst.$nextbottom)inst.$nextbottom.addClass(html5-hide);if(inst.$nexttouch)inst.$nexttouch.addClass(html5-hide)}};inst.clickHandlerfunction(){var $this$(this);var dataoptions{};$.each($this.data(),function(key,value){dataoptionskey.toLowerCase()value});inst.options$.extend(inst.options,inst.defaultoptions,dataoptions);$(window).trigger(html5lightbox.lightboxshow);inst.init();if(inst.elemArray.length0)return true;inst.hideObjects();for(var i0;iinst.elemArray.length;i++)if(inst.elemArrayiELEM_HREF$this.attr(href))break;if(iinst.elemArray.length)return true;inst.options.curElemi;inst.calcNextPrevElem();inst.reset();inst.$lightbox.show();var boxPosinst.calcBoxPosition(inst.options.loadingwidth,inst.options.loadingheight);var boxWboxPos0;var boxHboxPos1;var boxTboxPos2;if(inst.options.iequirksmode)inst.$lightboxBox.css({top:boxT});else inst.$lightboxBox.css({margin-top:boxT});if(!inst.options.positionFixed)inst.$lightboxBox.css(margin-top,$(window).scrollTop()+inst.options.bordertopmargin);if(inst.options.titlestyleleft||inst.options.titlestyleright)inst.$lightboxBox.css({width:boxW,height:boxH});else{inst.$lightboxBox.css({width:boxW,height:auto});inst.$elemWrap.css({width:boxW,height:boxH})}inst.loadCurElem();return false};inst.loadThumbnailfunction(src,index){var imgLoadernew Image;$(imgLoader).load(function(){var style;if(this.width/this.heightinst.options.thumbwidth/inst.options.thumbheight)stylewidth:100%;;else styleheight:100%;;$(.html5-nav-thumb).eq(index).html(img style+style+ src+src+ />)});imgLoader.srcsrc};inst.matchGroupfunction(curGroup,elemGroup){if(!curGroup||!elemGroup)return false;var curscurGroup.split(:);var elemselemGroup.split(:);var resultfalse;for(var i in curs)if($.inArray(cursi,elems)>-1){resulttrue;break}return result};inst.showNavigationfunction(){if(!inst.options.shownavigation)return;if(!inst.currentElem||!inst.currentElemELEM_GROUP)return;var i;var showNavfalse;var groupinst.currentElemELEM_GROUP;for(i0;iinst.elemArray.length;i++)if(inst.matchGroup(group,inst.elemArrayiELEM_GROUP))if(inst.elemArrayiELEM_THUMBNAIL&&inst.elemArrayiELEM_THUMBNAIL.length>0){showNavtrue;break}if(!showNav)return;inst.options.navheightinst.options.thumbheight+inst.options.thumbtopmargin+inst.options.thumbbottommargin;if($(.html5-nav).length>0)return;$(body).append(div classhtml5-nav styledisplay:block;position:fixed;bottom:0;left:0;width:100%;height:+inst.options.navheight+px;z-index:9999999;>+div classhtml5-nav-container styleposition:relative;margin:+inst.options.thumbtopmargin+px auto +inst.options.thumbbottommargin+px;>+div classhtml5-nav-prev styledisplay:block;position:absolute;cursor:pointer;width:+inst.options.navbuttonwidth+px;height:100%;left:0;top:0;background:url(+inst.options.skinsfolder+inst.options.navarrowsprevimage+\) no-repeat left center;>/div>+div classhtml5-nav-mask styledisplay:block;position:relative;margin:0 auto;overflow:hidden;>+div classhtml5-nav-list>/div>+/div>+div classhtml5-nav-next styledisplay:block;position:absolute;cursor:pointer;width:+inst.options.navbuttonwidth+px;height:100%;right:0;top:0;background:url(+inst.options.skinsfolder+inst.options.navarrowsnextimage+\) no-repeat right center;>/div>+/div>+/div>);var index0;for(i0;iinst.elemArray.length;i++)if(inst.matchGroup(group,inst.elemArrayiELEM_GROUP))if(inst.elemArrayiELEM_THUMBNAIL&&inst.elemArrayiELEM_THUMBNAIL.length>0){$(.html5-nav-list).append(div classhtml5-nav-thumb data-arrayindex+i+ stylefloat:left;overflow:hidden;cursor:pointer;opacity:+inst.options.thumbopacity+;margin: 0 +inst.options.thumbgap/2+px;width:+inst.options.thumbwidth+px;height:+inst.options.thumbheight+px;border:+inst.options.thumbborder+px solid +inst.options.thumbbordercolor+;>/div>);this.loadThumbnail(inst.elemArrayiELEM_THUMBNAIL,index);index++}$(.html5-nav-thumb).hover(function(){$(this).css({opacity:1});$(this).css({border:inst.options.thumbborder+px solid +inst.options.thumbhighlightbordercolor})},function(){$(this).css({opacity:inst.options.thumbopacity});$(this).css({border:inst.options.thumbborder+px solid +inst.options.thumbbordercolor})});$(.html5-nav-thumb).click(function(){var index$(this).data(arrayindex);if(index>0)inst.gotoSlide(index)});inst.options.totalwidthindex*(inst.options.thumbgap+inst.options.thumbwidth+2*inst.options.thumbborder);$(.html5-nav-list).css({display:block,position:relative,margin-left:0,width:inst.options.totalwidth+px}).append(div styleclear:both;>/div>);var $navMask$(.html5-nav-mask);var $navPrev$(.html5-nav-prev);var $navNext$(.html5-nav-next);$navPrev.click(function(){var $navList$(.html5-nav-list);var $navNext$(.html5-nav-next);var winWidth$(window).width();var maskWidthwinWidth-2*inst.options.navbuttonwidth;var marginLeftparseInt($navList.css(margin-left))+maskWidth;if(marginLeft>0){marginLeft0;$(this).css({background-position:center left})}else $(this).css({background-position:center right});if(marginLeftmaskWidth-inst.options.totalwidth)$navNext.css({background-position:center left});else $navNext.css({background-position:center right});$navList.animate({margin-left:marginLeft})});$navNext.click(function(){var $navList$(.html5-nav-list);var $navPrev$(.html5-nav-prev);var winWidth$(window).width();var maskWidthwinWidth-2*inst.options.navbuttonwidth;var marginLeftparseInt($navList.css(margin-left))-maskWidth;if(marginLeftmaskWidth-inst.options.totalwidth){marginLeftmaskWidth-inst.options.totalwidth;$(this).css({background-position:center left})}else $(this).css({background-position:center right});if(marginLeft>0)$navPrev.css({background-position:center left});else $navPrev.css({background-position:center right});$navList.animate({margin-left:marginLeft})});var winWidth$(window).width();if(inst.options.totalwidthwinWidth){$navMask.css({width:inst.options.totalwidth+px});$navPrev.hide();$navNext.hide()}else{$navMask.css({width:winWidth-2*inst.options.navbuttonwidth+px});$navPrev.show();$navNext.show()}};inst.loadElemfunction(elem){inst.currentElemelem;inst.showingtrue;inst.showNavigation();inst.$elem.unbind(mouseenter).unbind(mouseleave).unbind(mousemove);inst.$loading.show();if(inst.options.onshowitem&&windowinst.options.onshowitem&&typeof windowinst.options.onshowitemfunction)windowinst.options.onshowitem(elem);switch(elemELEM_TYPE){case 0:var imgLoadernew Image;$(imgLoader).load(function(){inst.showImage(elem,imgLoader.width,imgLoader.height)});$(imgLoader).error(function(){inst.showError()});imgLoader.srcelemELEM_HREF;break;case 1:inst.showSWF(elem);break;case 2:case 8:inst.showVideo(elem);break;case 3:case 4:case 9:case 11:inst.showYoutubeVimeo(elem);break;case 5:inst.showPDF(elem);break;case 6:inst.showMP3(elem);break;case 7:inst.showWeb(elem);break;case 10:inst.showDiv(elem);break}if(inst.options.googleanalyticsaccount&&window._gaq)window._gaq.push(_trackEvent,Lightbox,Open,elemELEM_HREF)};inst.loadCurElemfunction(){inst.loadElem(inst.elemArrayinst.options.curElem)};inst.showErrorfunction(){inst.$loading.hide();inst.resizeLightbox(inst.options.errorwidth,inst.options.errorheight,true,function(){inst.$error.show();inst.$elem.fadeIn(inst.options.fadespeed,function(){inst.showData()})})};inst.calcTextWidthfunction(objW){return objW-36};inst.showTitlefunction(w,t,description){if(inst.options.titlestyleinside)inst.$elemData.css({width:w+px});var text;if(inst.options.showtitle)if(t&&t.length>0)text+t;if(inst.options.inGroup){if(inst.options.showtitleprefix)textinst.options.titleprefix.replace(%NUM,inst.options.groupIndex+1).replace(%TOTAL,inst.options.groupCount)+ +text;if(inst.options.showplaybutton)textdiv idhtml5-playpause styledisplay:inline-block;cursor:pointer;vertical-align:middle;>div idhtml5-play styledisplay:block;>img src+inst.options.skinsfolder+inst.options.playimage+>/div>div idhtml5-pause styledisplay:none;>img src+inst.options.skinsfolder+inst.options.pauseimage+>/div>/div> +text}if(inst.options.showdescription&&description&&description.length>0)text+p classhtml5-description>+description+/p>;inst.$text.html(text);if(inst.options.inGroup&&inst.options.showplaybutton){if(inst.autosliding){$(#html5-play,inst.$lightbox).hide();$(#html5-pause,inst.$lightbox).show()}else{$(#html5-play,inst.$lightbox).show();$(#html5-pause,inst.$lightbox).hide()}$(#html5-play,inst.$lightbox).click(function(){$(#html5-play,inst.$lightbox).hide();$(#html5-pause,inst.$lightbox).show();if(inst.slideTimeout){inst.slideTimeout.stop();inst.slideTimeout.start();inst.autoslidingtrue}});$(#html5-pause,inst.$lightbox).click(function(){$(#html5-play,inst.$lightbox).show();$(#html5-pause,inst.$lightbox).hide();if(inst.slideTimeout){inst.slideTimeout.stop();inst.autoslidingfalse}})}},inst.showImagefunction(elem,imgW,imgH){var elemW,elemH;if(elemELEM_WIDTH)elemWelemELEM_WIDTH;else{elemWimgW;elemELEM_WIDTHimgW}if(elemELEM_HEIGHT)elemHelemELEM_HEIGHT;else{elemHimgH;elemELEM_HEIGHTimgH}var sizeObjinst.calcElemSize({w:elemW,h:elemH},inst.options.imagekeepratio);inst.resizeLightbox(sizeObj.w,sizeObj.h,true,function(){inst.showTitle(sizeObj.w,elemELEM_TITLE,elemELEM_DESCRIPTION);var timercode!inst.options.showtimer||!inst.options.inGroup?:div idhtml5-timer styledisplay:none;position:absolute;+inst.options.timerposition+:0;left:0;width:0;height:+inst.options.timerheight+px;background-color:+inst.options.timercolor+;opacity:+inst.options.timeropacity+;>/div>;inst.$image.show();inst.$image.html(div idhtml5-image-container styledisplay:block;position:relative;width:100%;height:100%;+(inst.options.imagekeepratio?:overflow-x:auto;overflow-y:scroll;-ms-overflow-x:auto;-ms-overflow-y:scroll;)+>img src+elemELEM_HREF+ width100% height+(inst.options.imagekeepratio?100%:auto)+ />+timercode+/div>);inst.$elem.fadeIn(inst.options.fadespeed,function(){inst.showData()});if(inst.autosliding){inst.slideTimeout.stop();inst.slideTimeout.start()}})};inst.showSWFfunction(elem){var dataWelemELEM_WIDTH?elemELEM_WIDTH:DEFAULT_WIDTH;var dataHelemELEM_HEIGHT?elemELEM_HEIGHT:DEFAULT_HEIGHT;var sizeObjinst.calcElemSize({w:dataW,h:dataH},true);dataWsizeObj.w;dataHsizeObj.h;inst.resizeLightbox(dataW,dataH,true,function(){inst.showTitle(sizeObj.w,elemELEM_TITLE,elemELEM_DESCRIPTION);inst.$image.html(div idhtml5lightbox-swf styledisplay:block;width:100%;height:100%;>/div>).show();inst.embedFlash($(#html5lightbox-swf),elemELEM_HREF,window,{width:dataW,height:dataH});inst.$elem.show();inst.showData();if(inst.autosliding){inst.slideTimeout.stop();inst.slideTimeout.start()}})};inst.showVideofunction(elem){inst.slideTimeout.stop();var dataWelemELEM_WIDTH?elemELEM_WIDTH:DEFAULT_WIDTH;var dataHelemELEM_HEIGHT?elemELEM_HEIGHT:DEFAULT_HEIGHT;var sizeObjinst.calcElemSize({w:dataW,h:dataH},true);dataWsizeObj.w;dataHsizeObj.h;inst.resizeLightbox(dataW,dataH,true,function(){inst.showTitle(sizeObj.w,elemELEM_TITLE,elemELEM_DESCRIPTION);inst.$image.html(div idhtml5lightbox-video styledisplay:block;width:100%;height:100%;overflow:hidden;background-color:+inst.options.videobgcolor+;>/div>).show();var isHTML5false;if(inst.options.isIE678||elemELEM_TYPE8||inst.options.isIE9&&inst.options.useflashonie9||inst.options.isIE10&&inst.options.useflashonie10||inst.options.isIE11&&inst.options.useflashonie11)isHTML5false;else if(inst.options.isMobile)isHTML5true;else if((inst.options.html5player||!inst.options.flashInstalled)&&inst.options.html5VideoSupported)if(!inst.options.isFirefox&&!inst.options.isOpera||(inst.options.isFirefox||inst.options.isOpera)&&(elemELEM_HREF_OGG||elemELEM_HREF_WEBM))isHTML5true;if(isHTML5){var videoSrcelemELEM_HREF;if(inst.options.isFirefox||inst.options.isOpera||!videoSrc)videoSrcelemELEM_HREF_WEBM?elemELEM_HREF_WEBM:elemELEM_HREF_OGG;inst.embedHTML5Video($(#html5lightbox-video),videoSrc,inst.options.autoplay,inst.options.loopvideo)}else{var videoFileelemELEM_HREF;if(videoFile.charAt(0)!/&&videoFile.substring(0,5)!http:&&videoFile.substring(0,6)!https:)videoFileinst.options.htmlfolder+videoFile;inst.embedFlash($(#html5lightbox-video),inst.options.jsfolder+html5boxplayer.swf,transparent,{width:dataW,height:dataH,jsobjectname:html5Lightbox,hidecontrols:inst.options.videohidecontrols?1:0,hideplaybutton:0,videofile:videoFile,hdfile:,ishd:0,defaultvolume:inst.options.defaultvideovolume,autoplay:inst.options.autoplay?1:0,loop:inst.options.loopvideo?1:0,errorcss:.html5box-error+inst.options.errorcss,id:0})}inst.$elem.show();inst.showData()})};inst.loadNextfunction(){$(window).trigger(html5lightbox.videofinished);if(inst.autosliding)inst.gotoSlide(-1);else if(inst.options.autoclose)inst.finish()};inst.getYoutubeParamsfunction(href){var result{};if(href.indexOf(?)0)return result;var paramshref.substring(href.indexOf(?)+1).split(&);for(var i0;iparams.length;i++){var valueparamsi.split();if(value&&value.length2&&value0.toLowerCase()!v)resultvalue0.toLowerCase()value1}return result};inst.getYoutubeIdfunction(href){var youtubeId;var regExp/^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\??v??))(^#\&\?*).*/;var matchhref.match(regExp);if(match&&match7&&match7.length11)youtubeIdmatch7;return youtubeId};inst.prepareYoutubeHreffunction(href){var youtubeIdinst.getYoutubeId(href);var protocolhttps:;var resultprotocol+//www.youtube.com/embed/+youtubeId;var paramsthis.getYoutubeParams(href);var firsttrue;for(var key in params){if(first){result+?;firstfalse}else result+&;result+key++paramskey}return result};inst.prepareDailymotionHreffunction(href){if(href.match(/\:\/\/.*(dai\.ly)/i)){var protocolhttps:;var idhref.match(/(dai\.ly\/)(a-zA-Z0-9\-\_+)/)2;hrefprotocol+//www.dailymotion.com/embed/video/+id}return href};inst.showYoutubeVimeofunction(elem){inst.slideTimeout.stop();var dataWelemELEM_WIDTH?elemELEM_WIDTH:DEFAULT_WIDTH;var dataHelemELEM_HEIGHT?elemELEM_HEIGHT:DEFAULT_HEIGHT;var sizeObjinst.calcElemSize({w:dataW,h:dataH},true);dataWsizeObj.w;dataHsizeObj.h;inst.resizeLightbox(dataW,dataH,true,function(){inst.showTitle(sizeObj.w,elemELEM_TITLE,elemELEM_DESCRIPTION);inst.$image.html(div idhtml5lightbox-video styledisplay:block;width:100%;height:100%;overflow:hidden;>/div>).show();var hrefelemELEM_HREF;var youtubeid;if(elemELEM_TYPE3){youtubeidinst.getYoutubeId(href);hrefinst.prepareYoutubeHref(href)}if(elemELEM_TYPE9)hrefinst.prepareDailymotionHref(href);if(inst.options.autoplay){href+href.indexOf(?)0??:&;if(elemELEM_TYPE11)href+autoPlaytrue;else href+autoplay1}if(inst.options.loopvideo){href+href.indexOf(?)0??:&;switch(elemELEM_TYPE){case 3:href+loop1&playlist+youtubeid;break;case 4:case 9:href+loop1;break;case 11:href+endVideoBehaviorloop;break}}if(elemELEM_TYPE3){if(href.indexOf(?)0)href+?wmodetransparent&rel0;else href+&wmodetransparent&rel0;if(inst.options.videohidecontrols)href+&controls0&showinfo0;href+&enablejsapi1&origin+document.location.protocol+//+document.location.hostname}else if(elemELEM_TYPE4){href+href.indexOf(?)0??:&;href+api1&player_idhtml5boxiframevideo}$(#html5lightbox-video).html(iframe idhtml5boxiframevideo width100% height100% src+href+ frameborder0 webkitAllowFullScreen mozallowfullscreen allowFullScreen>/iframe>);inst.$elem.show();inst.showData();if(elemELEM_TYPE3&&typeof YTobject&&typeof YT.Playerfunction)new YT.Player(html5boxiframevideo,{events:{onStateChange:function(event){if(event.dataYT.PlayerState.ENDED){$(window).trigger(html5lightbox.videofinished);if(inst.autosliding)inst.gotoSlide(-1);else if(inst.options.autoclose)inst.finish()}}}});else if(elemELEM_TYPE4&&typeof $ffunction){var vimeoIframe$(#html5boxiframevideo)0;var vimeoPlayer$f(vimeoIframe);vimeoPlayer.addEvent(ready,function(){vimeoPlayer.addEvent(finish,function(id){$(window).trigger(html5lightbox.videofinished);if(inst.autosliding)inst.gotoSlide(-1);else if(inst.options.autoclose)inst.finish()})})}})};inst.showPDFfunction(elem){};inst.showMP3function(elem){};inst.showDivfunction(elem){var winWidth$(window).width();var winHwindow.innerHeight?window.innerHeight:$(window).height();var dataWelemELEM_WIDTH?elemELEM_WIDTH:winWidth;var dataHelemELEM_HEIGHT?elemELEM_HEIGHT:winH-inst.options.navheight;var sizeObjinst.calcElemSize({w:dataW,h:dataH},false);dataWsizeObj.w;dataHsizeObj.h;inst.resizeLightbox(dataW,dataH,true,function(){inst.$loading.hide();inst.showTitle(sizeObj.w,elemELEM_TITLE,elemELEM_DESCRIPTION);inst.$image.html(div idhtml5lightbox-div styledisplay:block;width:100%;height:100%;+(inst.options.isIOS?-webkit-overflow-scrolling:touch;overflow-y:scroll;:overflow:auto;)+>/div>).show();var divIDelemELEM_HREF;if($(divID).length>0)$(#html5lightbox-div).html($(divID).html());else $(#html5lightbox-div).html(div classhtml5-error>The specified div ID does not exist./div>);inst.$elem.show();inst.showData();if(inst.autosliding){inst.slideTimeout.stop();inst.slideTimeout.start()}})};inst.showWebfunction(elem){var winWidth$(window).width();var winHwindow.innerHeight?window.innerHeight:$(window).height();var dataWelemELEM_WIDTH?elemELEM_WIDTH:winWidth;var dataHelemELEM_HEIGHT?elemELEM_HEIGHT:winH-inst.options.navheight;var sizeObjinst.calcElemSize({w:dataW,h:dataH},false);dataWsizeObj.w;dataHsizeObj.h;inst.resizeLightbox(dataW,dataH,true,function(){inst.$loading.hide();inst.showTitle(sizeObj.w,elemELEM_TITLE,elemELEM_DESCRIPTION);inst.$image.html(div idhtml5lightbox-web styledisplay:block;width:100%;height:100%;+(inst.options.isIOS?-webkit-overflow-scrolling:touch;overflow-y:scroll;:)+>/div>).show();$(#html5lightbox-web).html(iframe idhtml5lightbox-web-iframe width100% height100% src+elemELEM_HREF+ frameborder0>/iframe>);inst.$elem.show();inst.showData();if(inst.autosliding){inst.slideTimeout.stop();inst.slideTimeout.start()}})};inst.scrollBoxfunction(){};inst.resizeWindowfunction(){if(!inst.currentElem)return;if(!inst.options.responsive)return;var winWidth$(window).width();var winHwindow.innerHeight?window.innerHeight:$(window).height();if(inst.options.responsivebarheight){if(winHinst.options.smallscreenheight)inst.options.barheightinst.options.barheightonsmallheight;else inst.options.barheightinst.options.barheightoriginal;if(inst.options.titlestylebottom&&inst.options.barautoheight!auto)inst.$elemData.css({height:inst.options.barheight+px,max-height:inst.options.barheight+px})}var elemW,elemH,keepratio;if(inst.currentElemELEM_TYPE0)keepratioinst.options.imagekeepratio;else if(inst.currentElemELEM_TYPE7||inst.currentElemELEM_TYPE10){elemWinst.currentElemELEM_WIDTH?inst.currentElemELEM_WIDTH:winWidth;elemHinst.currentElemELEM_HEIGHT?inst.currentElemELEM_HEIGHT:winH-inst.options.navheight;keepratiofalse}else{elemWinst.currentElemELEM_WIDTH?inst.currentElemELEM_WIDTH:DEFAULT_WIDTH;elemHinst.currentElemELEM_HEIGHT?inst.currentElemELEM_HEIGHT:DEFAULT_HEIGHT;keepratiotrue}var sizeObjinst.calcElemSize({w:elemW,h:elemH},keepratio);var boxPosinst.calcBoxPosition(sizeObj.w,sizeObj.h);var boxWboxPos0;var boxHboxPos1;var boxTboxPos2;inst.$lightboxBox.css({margin-top:boxT});if(!inst.options.positionFixed)inst.$lightboxBox.css(margin-top,$(window).scrollTop()+inst.options.bordertopmargin);if(inst.options.titlestyleleft||inst.options.titlestyleright)inst.$lightboxBox.css({width:boxW,height:boxH});else{inst.$lightboxBox.css({width:boxW,height:auto});inst.$elemWrap.css({width:boxW,height:boxH})}if(inst.options.titlestyleinside)inst.$elemData.css({width:sizeObj.w+px});if($(.html5-nav).length0)return;$(.html5-nav-list).css({margin-left:0});var $navMask$(.html5-nav-mask);var $navPrev$(.html5-nav-prev);var $navNext$(.html5-nav-next);var winWidth$(window).width();if(inst.options.totalwidthwinWidth){$navMask.css({width:inst.options.totalwidth+px});$navPrev.hide();$navNext.hide()}else{$navMask.css({width:winWidth-2*inst.options.navbuttonwidth+px});$navPrev.show();$navNext.show()}};inst.calcElemSizefunction(sizeObj,keepratio){if(!inst.options.responsive)return sizeObj;var winWidth$(window).width();winWidthwinWidth?winWidth:$(document).width();var winHwindow.innerHeight?window.innerHeight:$(window).height();winHwinH?winH:$(document).height();if((inst.options.titlestyleleft||inst.options.titlestyleright)&&winWidth>inst.options.sidetobottomscreenwidth)sizeObj.wsizeObj.w*100/inst.options.imagepercentage;var topmargin$(window).width()inst.options.navarrowsbottomscreenwidth?inst.options.bordertopmarginsmall:inst.options.bordertopmargin;var h0winH-inst.options.navheight-2*inst.options.bordersize-2*topmargin;if(inst.options.titlestylebottom)h0-inst.options.barheight;if((inst.options.titlestyleleft||inst.options.titlestyleright)&&winWidthinst.options.sidetobottomscreenwidth||inst.options.notkeepratioonsmallheight&&winHinst.options.smallscreenheight)keepratiofalse;if(sizeObj.h>h0){if(keepratio)sizeObj.wMath.round(sizeObj.w*h0/sizeObj.h);sizeObj.hh0}var w0winWidth-2*inst.options.bordersize-2*inst.options.bordermargin;if(inst.options.fullscreenmode&&winWidth>inst.options.navarrowsbottomscreenwidth||(inst.options.isTouch&&inst.options.navarrowsalwaysshowontouch||inst.options.alwaysshownavarrows)&&winWidth>inst.options.navarrowsbottomscreenwidth)w0-64;if(sizeObj.w>w0){if(keepratio)sizeObj.hMath.round(sizeObj.h*w0/sizeObj.w);sizeObj.ww0}return sizeObj};inst.showDatafunction(){if(inst.$text.text().length>0)inst.$elemData.show();if(inst.options.titlestylebottom||inst.options.titlestyleinside)inst.$lightboxBox.css({height:auto});if(inst.$text.text().length>0&&inst.options.titlestylebottom)inst.$elemData.css({max-height:inst.options.barheight+px});$(#html5-lightbox-overlay,inst.$lightbox).css({height:Math.max($(window).height(),$(document).height())});$(window).trigger(html5lightbox.lightboxopened)};inst.resizeLightboxfunction(elemW,elemH,bAnimate,onFinish){inst.hideNavArrows();var boxPosinst.calcBoxPosition(elemW,elemH);var boxWboxPos0;var boxHboxPos1;var boxTboxPos2;inst.$loading.hide();inst.$watermark.hide();if(inst.options.nextEleminst.options.curElem)if(inst.options.onlastitem&&windowinst.options.onlastitem&&typeof windowinst.options.onlastitemfunction)windowinst.options.onlastitem(inst.currentElem);if(inst.options.prevElem>inst.options.curElem)if(inst.options.onfirstitem&&windowinst.options.onfirstitem&&typeof windowinst.options.onfirstitemfunction)windowinst.options.onfirstitem(inst.currentElem);if(!inst.options.fullscreenmode&&(!inst.options.isTouch||!inst.options.navarrowsalwaysshowontouch)&&!inst.options.alwaysshownavarrows){inst.$elem.bind(mouseenter mousemove,function(){if(inst.options.arrowloop&&inst.options.prevElem>0||!inst.options.arrowloop&&inst.options.prevElem>0&&inst.options.prevEleminst.options.curElem)inst.$prev.fadeIn();if(inst.options.arrowloop&&inst.options.nextElem>0||!inst.options.arrowloop&&inst.options.nextElem>0&&inst.options.nextElem>inst.options.curElem)inst.$next.fadeIn()});inst.$elem.bind(mouseleave,function(){inst.$next.fadeOut();inst.$prev.fadeOut()})}inst.$lightboxBox.css({margin-top:boxT});if(!inst.options.positionFixed)inst.$lightboxBox.css(margin-top,$(window).scrollTop()+inst.options.bordertopmargin);if(inst.options.titlestyleleft||inst.options.titlestyleright){var speedbAnimate?inst.options.resizespeed:0;if(boxWinst.$lightboxBox.width()&&boxHinst.$lightboxBox.height())speed0;inst.$lightboxBox.animate({width:boxW},speed).animate({height:boxH},speed,function(){inst.onAnimateFinish(onFinish)})}else{var speedbAnimate?inst.options.resizespeed:0;if(boxWinst.$elemWrap.width()&&boxHinst.$elemWrap.height())speed0;inst.$lightboxBox.css({width:boxW,height:auto});inst.$elemWrap.animate({width:boxW},speed).animate({height:boxH},speed,function(){inst.onAnimateFinish(onFinish)})}};inst.onAnimateFinishfunction(onFinish){inst.$loading.show();inst.$watermark.show();inst.$close.show();inst.$elem.css({background-color:inst.options.bgcolor});onFinish()};inst.resetfunction(){if(inst.options.stamp)inst.$watermark.hide();inst.showingfalse;inst.$image.empty();inst.$text.empty();inst.$error.hide();inst.$loading.hide();inst.$image.hide();if(inst.options.titlestylebottom||inst.options.titlestyleinside)inst.$elemData.hide();if(!inst.options.fullscreenmode)inst.$close.hide();inst.$elem.css({background-color:})};inst.resetNavigationfunction(){inst.options.navheight0;$(.html5-nav).remove()};inst.finishfunction(){if($(#html5-lightbox-video,inst.$lightbox).length)$(#html5-lightbox-video,inst.$lightbox).attr(src,);$(head).find(style).each(function(){if($(this).data(creator)slider-html5-lightbox)$(this).remove()});inst.slideTimeout.stop();inst.reset();inst.resetNavigation();inst.$lightbox.remove();inst.showObjects();if(inst.options.oncloselightbox&&windowinst.options.oncloselightbox&&typeof windowinst.options.oncloselightboxfunction)windowinst.options.oncloselightbox(inst.currentElem);if(inst.onLightboxClosed&&typeof inst.onLightboxClosedfunction)inst.onLightboxClosed(inst.currentElem)};inst.pauseSlidefunction(){};inst.playSlidefunction(){};inst.gotoSlidefunction(slide){if(slide-1){if(inst.options.nextElem0)return;inst.options.curEleminst.options.nextElem}else if(slide-2){if(inst.options.prevElem0)return;inst.options.curEleminst.options.prevElem}else if(slide>0)inst.options.curElemslide;if(inst.autosliding)inst.slideTimeout.stop();inst.calcNextPrevElem();inst.reset();inst.loadCurElem()};inst.enableSwipefunction(){inst.$elem.sliderTouchSwipe({preventWebBrowser:false,swipeLeft:function(){inst.gotoSlide(-1)},swipeRight:function(){inst.gotoSlide(-2)}})};inst.hideObjectsfunction(){$(select, embed, object).css({visibility:hidden})};inst.showObjectsfunction(){$(select, embed, object).css({visibility:visible})};inst.embedHTML5Videofunction($container,src,autoplay,loopvideo){$container.html(div styledisplay:block;width:100%;height:100%;position:relative;>video idhtml5-lightbox-video width100% height100%+(inst.options.html5videoposter&&inst.options.html5videoposter.length>0?poster+inst.options.html5videoposter+:)+(autoplay? autoplay:)+(loopvideo? loop:)+(inst.options.nativehtml5controls&&!inst.options.videohidecontrols? controlscontrols:)+ src+src+>/div>);if(!inst.options.nativehtml5controls){$(video,$container).data(src,src);$(video,$container).asHTML5VideoControls(inst.options.skinsfolder,inst,inst.options.videohidecontrols,false,inst.options.defaultvideovolume)}$(video,$container).unbind(ended).bind(ended,function(){$(window).trigger(html5lightbox.videofinished);if(inst.autosliding)inst.gotoSlide(-1);else if(inst.options.autoclose)inst.finish()})};inst.embedFlashfunction($container,src,wmode,flashVars){if(inst.options.flashInstalled){var htmlOptions{pluginspage:http://www.adobe.com/go/getflashplayer,quality:high,allowFullScreen:true,allowScriptAccess:always,type:application/x-shockwave-flash};htmlOptions.width100%;htmlOptions.height100%;htmlOptions.srcsrc;htmlOptions.flashVars$.param(flashVars);htmlOptions.wmodewmode;var htmlString;for(var key in htmlOptions)htmlString+key++htmlOptionskey+ ;$container.html(embed +htmlString+/>)}else $container.html(div classhtml5lightbox-flash-error styledisplay:block; position:relative;text-align:center; width:100%; left:0px; top:40%;>div classhtml5-error>div>The required Adobe Flash Player plugin is not installed/div>br />div styledisplay:block;position:relative;text-align:center;width:112px;height:33px;margin:0px auto;>a hrefhttp://www.adobe.com/go/getflashplayer>img srchttp://www.adobe.com/images/shared/download_buttons/get_flash_player.gif altGet Adobe Flash player width112 height33>/img>/a>/div>/div>)};inst.checkTypefunction(href){if(!href)return-1;if(href.match(/\.(jpg|gif|png|bmp|jpeg)(.*)?$/i))return 0;if(href.match(/^\.\.(swf)\s*$/i))return 1;if(href.match(/\.(mp4|m4v|ogv|ogg|webm)(.*)?$/i))return 2;if(href.match(/\:\/\/.*(youtube\.com)/i)||href.match(/\:\/\/.*(youtu\.be)/i))return 3;if(href.match(/\:\/\/.*(vimeo\.com)/i))return 4;if(href.match(/\:\/\/.*(dailymotion\.com)/i)||href.match(/\:\/\/.*(dai\.ly)/i))return 9;if(href.match(/^\.\.(pdf)\s*$/i))return 5;if(href.match(/^\.\.(mp3)\s*$/i))return 6;if(href.match(/^\.\.(flv)\s*$/i))return 8;if(href.match(/\#\w+/i))return 10;if(href.match(/\:\/\/.*(wistia)/i))return 11;return 7};inst.showLightboxfunction(type,href,title,width,height,webm,ogg,thumbnail,description){inst.options$.extend(inst.options,inst.defaultoptions);$(window).trigger(html5lightbox.lightboxshow);inst.init();inst.reset();inst.$lightbox.show();var boxPosinst.calcBoxPosition(inst.options.loadingwidth,inst.options.loadingheight);var boxWboxPos0;var boxHboxPos1;var boxTboxPos2;inst.$lightboxBox.css({margin-top:boxT});if(!inst.options.positionFixed)inst.$lightboxBox.css(margin-top,$(window).scrollTop()+inst.options.bordertopmargin);if(inst.options.titlestyleleft||inst.options.titlestyleright)inst.$lightboxBox.css({width:boxW,height:boxH});else{inst.$lightboxBox.css({width:boxW,height:auto});inst.$elemWrap.css({width:boxW,height:boxH})}inst.loadElem(new Array(type,href,title,null,width,height,webm,ogg,thumbnail,description))};inst.addItemfunction(href,title,group,width,height,webm,ogg,thumbnail,description,mediatype){typemediatype&&mediatype>0?mediatype:inst.checkType(href);inst.elemArray.push(new Array(type,href,title,group,width,height,webm,ogg,thumbnail,description))};inst.showItemfunction(href){inst.options$.extend(inst.options,inst.defaultoptions);$(window).trigger(html5lightbox.lightboxshow);inst.init();if(inst.elemArray.length0)return true;inst.hideObjects();for(var i0;iinst.elemArray.length;i++)if(inst.elemArrayiELEM_HREFhref)break;if(iinst.elemArray.length)return true;inst.options.curElemi;inst.calcNextPrevElem();inst.reset();inst.$lightbox.show();var boxPosinst.calcBoxPosition(inst.options.loadingwidth,inst.options.loadingheight);var boxWboxPos0;var boxHboxPos1;var boxTboxPos2;inst.$lightboxBox.css({margin-top:boxT});if(!inst.options.positionFixed)inst.$lightboxBox.css(margin-top,$(window).scrollTop()+inst.options.bordertopmargin);if(inst.options.titlestyleleft||inst.options.titlestyleright)inst.$lightboxBox.css({width:boxW,height:boxH});else{inst.$lightboxBox.css({width:boxW,height:auto});inst.$elemWrap.css({width:boxW,height:boxH})}inst.loadCurElem();return false};inst.unbind(click).click(inst.clickHandler);inst.each(function(){var self$(this);if(self.data(autoopen)){setTimeout(function(){self.click()},self.data(autoopendelay)?self.data(autoopendelay):0);return false}});return inst}})(jQuery);function ASliderTimer(interval,callback,updatecallback){var timerInstancethis;timerInstance.timeoutinterval;var updateinterval50;var updateTimerIdnull;var runningTime0;var pausedfalse;var startedfalse;var startedandpausedfalse;this.pausefunction(){if(started){pausedtrue;clearInterval(updateTimerId)}};this.resumefunction(forceresume){if(startedandpaused&&!forceresume)return;startedandpausedfalse;if(started&&paused){pausedfalse;updateTimerIdsetInterval(function(){runningTime+updateinterval;if(runningTime>timerInstance.timeout){clearInterval(updateTimerId);if(callback)callback()}if(updatecallback)updatecallback(runningTime/timerInstance.timeout)},updateinterval)}};this.stopfunction(){clearInterval(updateTimerId);if(updatecallback)updatecallback(-1);runningTime0;pausedfalse;startedfalse};this.startfunction(){runningTime0;pausedfalse;startedtrue;updateTimerIdsetInterval(function(){runningTime+updateinterval;if(runningTime>timerInstance.timeout){clearInterval(updateTimerId);if(callback)callback()}if(updatecallback)updatecallback(runningTime/timerInstance.timeout)},updateinterval)};this.startandpausefunction(){runningTime0;pausedtrue;startedtrue;startedandpausedtrue}}var ASPlatforms{flashInstalled:function(){var flashInstalledfalse;try{if(new ActiveXObject(ShockwaveFlash.ShockwaveFlash))flashInstalledtrue}catch(e){if(navigator.mimeTypesapplication/x-shockwave-flash)flashInstalledtrue}return flashInstalled},html5VideoSupported:function(){return!!document.createElement(video).canPlayType},isChrome:function(){return navigator.userAgent.match(/Chrome/i)!null},isFirefox:function(){return navigator.userAgent.match(/Firefox/i)!null},isOpera:function(){return navigator.userAgent.match(/Opera/i)!null||navigator.userAgent.match(/OPR\//i)!null},isSafari:function(){return navigator.userAgent.match(/Safari/i)!null},isAndroid:function(){return navigator.userAgent.match(/Android/i)!null},isIPad:function(){return navigator.userAgent.match(/iPad/i)!null},isIPhone:function(){return navigator.userAgent.match(/iPod/i)!null||navigator.userAgent.match(/iPhone/i)!null},isIOS:function(){return this.isIPad()||this.isIPhone()},isMobile:function(){return this.isAndroid()||this.isIPad()||this.isIPhone()},isIE11:function(){return navigator.userAgent.match(/Trident\/7/)!null&&navigator.userAgent.match(/rv:11/)!null},isIE:function(){return(navigator.userAgent.match(/MSIE/i)!null||this.isIE11())&&!this.isOpera()},isIE10:function(){return navigator.userAgent.match(/MSIE 10/i)!null&&!this.isOpera()},isIE9:function(){return navigator.userAgent.match(/MSIE 9/i)!null&&!this.isOpera()},isIE8:function(){return navigator.userAgent.match(/MSIE 8/i)!null&&!this.isOpera()},isIE7:function(){return navigator.userAgent.match(/MSIE 7/i)!null&&!this.isOpera()},isIE6:function(){return navigator.userAgent.match(/MSIE 6/i)!null&&!this.isOpera()},isIE678:function(){return this.isIE6()||this.isIE7()||this.isIE8()},isIE6789:function(){return this.isIE6()||this.isIE7()||this.isIE8()||this.isIE9()},isTouch:function(){returnontouchstartin window},css33dTransformSupported:function(){return!this.isIE()&&!this.isOpera()},applyBrowserStyles:function(object,applyToValue){var ret{};for(var key in object){retkeyobjectkey;ret-webkit-+keyapplyToValue?-webkit-+objectkey:objectkey;ret-moz-+keyapplyToValue?-moz-+objectkey:objectkey;ret-ms-+keyapplyToValue?-ms-+objectkey:objectkey;ret-o-+keyapplyToValue?-o-+objectkey:objectkey}return ret}};(function($){$.fn.amazingsliderfunction(options){var ELEM_ID0,ELEM_SRC1,ELEM_TITLE2,ELEM_DESCRIPTION3,ELEM_LINK4,ELEM_TARGET5,ELEM_VIDEO6,ELEM_THUMBNAIL7,ELEM_LIGHTBOX8,ELEM_LIGHTBOXWIDTH9,ELEM_LIGHTBOXHEIGHT10,ELEM_WEBM11,ELEM_OGG12,ELEM_TEXTEFFECT13,ELEM_DURATION14,ELEM_BUTTON15,ELEM_VIDEOTYPE16;var TYPE_IMAGE1,TYPE_SWF2,TYPE_MP33,TYPE_PDF4,TYPE_VIDEO_FLASH5,TYPE_VIDEO_MP46,TYPE_VIDEO_OGG7,TYPE_VIDEO_WEBM8,TYPE_VIDEO_YOUTUBE9,TYPE_VIDEO_VIMEO10,TYPE_IFRAME11;var AmazingSliderfunction(container,options,textoptions,id){this.containercontainer;this.optionsoptions;this.textoptionstextoptions;this.idid;this.transitionTimeoutnull;this.arrowTimeoutnull;this.lightboxArray;this.elemArray;this.container.children().hide();this.container.css({display:block,position:relative});$(.amazingslider-engine).css({display:none});if(ASPlatforms.isMobile()&&!this.options.navshowpreviewontouch)this.options.navshowpreviewfalse;this.initData(this.init)};AmazingSlider.prototype{initData:function(onSuccess){this.readTags();onSuccess(this)},readTags:function(){var instancethis;$(.amazingslider-slides,this.container).find(li).each(function(){var img$(img.amazingsliderimg,$(this));if(img.length0)img$(img,$(this));if(img.length>0){var srcimg.attr(src);var lazytagsinstance.options.lazyloadtags.split(,);for(var i0;ilazytags.length;i++)if(img.data(lazytagsi)&&img.data(lazytagsi).length>0){srcimg.data(lazytagsi);break}var titleimg.attr(title)&&img.attr(title).length>0?img.attr(title):;if(!title&&instance.options.titleusealt)titleimg.attr(alt)&&img.attr(alt).length>0?img.attr(alt):;var descriptionimg.data(description)&&img.data(description).length>0?img.data(description):;var linkimg.parent()&&img.parent().is(a)?img.parent().attr(href):;var targetimg.parent()&&img.parent().is(a)?img.parent().attr(target):;var lightboximg.parent()&&img.parent().is(a)?img.parent().hasClass(html5lightbox):false;var lightboxwidthimg.parent()&&lightbox?img.parent().data(width):0;var lightboxheightimg.parent()&&lightbox?img.parent().data(height):0;var dataWebmimg.parent()&&img.parent().is(a)?img.parent().data(webm):;var dataOggimg.parent()&&img.parent().is(a)?img.parent().data(ogg):;var texteffectimg.data(texteffect)&&img.data(texteffect).length>0?img.data(texteffect):;var durationimg.data(duration)?img.data(duration):0;var button;if($(button,$(this)).length>0)if($(button,$(this)).parent().is(a))button$(button,$(this)).parent().clone().wrapAll(div/>).parent().html();else button$(button,$(this)).clone().wrapAll(div/>).parent().html();var video;var mediaTypelightbox&&img.parent()&&img.parent().data(mediatype)?img.parent().data(mediatype):instance.checkVideoType(link);if($(video,$(this)).length>0){var $video$(video,$(this));var videoSrc$video.attr(src);mediaType$video.data(mediatype)?$video.data(mediatype):instance.checkVideoType($video.attr(src));video.push({href:videoSrc,type:mediaType});if(mediaTypeTYPE_VIDEO_MP4)if($video.data(webm)&&$video.data(webm).length>0)video.push({href:$video.data(webm),type:TYPE_VIDEO_WEBM})}var elemnew Array(instance.elemArray.length,src,title,description,link,target,video,,lightbox,lightboxwidth,lightboxheight,dataWebm,dataOgg,texteffect,duration,button,mediaType);instance.elemArray.push(elem);if(lightbox)instance.lightboxArray.push(elem)}else if($(video,$(this)).length>0){var video;var $video$(video,$(this));var videoSrc$video.attr(src);var mediaType$video.data(mediatype)?$video.data(mediatype):instance.checkVideoType($video.attr(src));video.push({href:videoSrc,type:mediaType});if(mediaTypeTYPE_VIDEO_MP4)if($video.data(webm)&&$video.data(webm).length>0)video.push({href:$video.data(webm),type:TYPE_VIDEO_WEBM});var elemnew Array(instance.elemArray.length,,,,,,video,,false,0,0,,,,0,,mediaType);instance.elemArray.push(elem)}});$(.amazingslider-thumbnails,this.container).find(li).each(function(index){var img$(img.amazingsliderthumbnailimg,$(this));if(img.length0)img$(img,$(this));if(img.length>0&&instance.elemArray.length>index){var srcimg.attr(src);var lazytagsinstance.options.lazyloadtags.split(,);for(var i0;ilazytags.length;i++)if(img.data(lazytagsi)&&img.data(lazytagsi).length>0){srcimg.data(lazytagsi);break}instance.elemArrayindexELEM_THUMBNAILsrc}});if(this.options.shownumbering)for(var i0;ithis.elemArray.length;i++){var prefixthis.options.numberingformat.replace(%NUM,i+1).replace(%TOTAL,this.elemArray.length);this.elemArrayiELEM_TITLEprefix+this.elemArrayiELEM_TITLE}},init:function(instance){if(instance.elemArray.length0)return;var i;var elemLengthinstance.elemArray.length;if(instance.options.randomplay){for(ielemLength-1;i>0;i--){if(i1&&Math.random()0.5)break;var indexMath.floor(Math.random()*i);var tempinstance.elemArrayindex;instance.elemArrayindexinstance.elemArrayi;instance.elemArrayitemp}for(i0;ielemLength;i++)instance.elemArrayiELEM_IDi}instance.isAnimatingfalse;instance.isPaused!instance.options.autoplay;instance.videoPausedfalse;instance.lightboxPausedfalse;instance.initVideoApi();instance.createMarkup();instance.createStyle();instance.createNav();instance.createArrows();instance.createBottomShadow();instance.createBackgroundImage();instance.createText();instance.createSliderTimeout();instance.createWm();instance.createRibbon();instance.initHtml5Lightbox();instance.googleFontsCreatedfalse;instance.curElem-1;instance.prevElem-1;instance.nextElem-1;instance.firstslidetrue;instance.loopCount0;instance.pauseCarouselfalse;instance.curImageMarginTop0;instance.curImageMarginLeft0;instance.curImageMaxWidth100;instance.prevImageMarginTop0;instance.prevImageMarginLeft0;instance.prevImageMaxWidth100;instance.prevtextstyle;instance.html5Volume1;var firstSlide0;var paramsinstance.getParams();var paramValueparseInt(paramsfirstslideid);if(!isNaN(paramValue)&¶mValue>1&¶mValueinstance.elemArray.length)firstSlideparamValue-1;instance.slideRun(firstSlide)},getParams:function(){var result{};var paramswindow.location.search.substring(1).split(&);for(var i0;iparams.length;i++){var valueparamsi.split();if(value&&value.length2)resultvalue0.toLowerCase()unescape(value1)}return result},initHtml5Lightbox:function(){var i;if(this.lightboxArray.length>0){var lightboxskinfolderthis.options.skinsfoldername.length>0?this.options.skinsfoldername+/:;this.html5Lightbox$().ashtml5lightbox({jsfolder:this.options.jsfolder,skinsfoldername:lightboxskinfolder,nativehtml5controls:this.options.nativehtml5controls,barheight:this.options.lightboxbarheight,responsive:this.options.lightboxresponsive,showtitle:this.options.lightboxshowtitle,showdescription:this.options.lightboxshowdescription,shownavigation:this.options.lightboxshownavigation,thumbwidth:this.options.lightboxthumbwidth,thumbheight:this.options.lightboxthumbheight,thumbtopmargin:this.options.lightboxthumbtopmargin,thumbbottommargin:this.options.lightboxthumbbottommargin,titlebottomcss:this.options.lightboxtitlebottomcss,descriptionbottomcss:this.options.lightboxdescriptionbottomcss,fullscreenmode:this.options.lightboxfullscreenmode,closeonoverlay:this.options.lightboxcloseonoverlay,videohidecontrols:this.options.lightboxvideohidecontrols,titlestyle:this.options.lightboxtitlestyle,imagepercentage:this.options.lightboximagepercentage,defaultvideovolume:this.options.lightboxdefaultvideovolume,overlaybgcolor:this.options.lightboxoverlaybgcolor,overlayopacity:this.options.lightboxoverlayopacity,bgcolor:this.options.lightboxbgcolor,titleprefix:this.options.lightboxtitleprefix,titleinsidecss:this.options.lightboxtitleinsidecss,descriptioninsidecss:this.options.lightboxdescriptioninsidecss,autoslide:this.options.lightboxautoslide,slideinterval:this.options.lightboxslideinterval,showtimer:this.options.lightboxshowtimer,timerposition:this.options.lightboxtimerposition,timerheight:this.options.lightboxtimerheight,timercolor:this.options.lightboxtimercolor,timeropacity:this.options.lightboxtimeropacity,showplaybutton:this.options.lightboxshowplaybutton,alwaysshownavarrows:this.options.lightboxalwaysshownavarrows,bordersize:this.options.lightboxbordersize,showtitleprefix:this.options.lightboxshowtitleprefix,borderradius:this.options.lightboxborderradius,html5player:!this.options.forceflash,useflashonie10:this.options.forceflashonie10,useflashonie11:this.options.forceflashonie11,id:this.id});html5Lightboxthis.html5Lightbox;for(i0;ithis.lightboxArray.length;i++)this.html5Lightbox.addItem(this.lightboxArrayiELEM_LINK,this.lightboxArrayiELEM_TITLE,this.options.lightboxnogroup?:amazingslider+this.id,this.lightboxArrayiELEM_LIGHTBOXWIDTH,this.lightboxArrayiELEM_LIGHTBOXHEIGHT,this.lightboxArrayiELEM_WEBM,this.lightboxArrayiELEM_OGG,this.lightboxArrayiELEM_THUMBNAIL,this.lightboxArrayiELEM_DESCRIPTION,this.lightboxArrayiELEM_VIDEOTYPETYPE_IFRAME?9:-1);var instancethis;this.html5Lightbox.onLightboxClosedfunction(){if(instance.lightboxPaused){instance.lightboxPausedfalse;instance.isPausedfalse;instance.sliderTimeout.resume()}}}},createGoogleFonts:function(){this.googleFontsCreatedtrue;if(this.options.previewmode)return;if(this.textoptions.addgooglefonts&&this.textoptions.googlefonts&&this.textoptions.googlefonts.length>0){var fontRefhttps://fonts.googleapis.com/css?family+this.textoptions.googlefonts;var fontLinkdocument.createElement(link);fontLink.setAttribute(rel,stylesheet);fontLink.setAttribute(type,text/css);fontLink.setAttribute(href,fontRef);fontLink.setAttribute(data-creator,amazingslidercreator+this.id);document.getElementsByTagName(head)0.appendChild(fontLink)}},createRibbon:function(){if(!this.options.showribbon||this.options.ribbonimage.length0)return;$(.amazingslider-ribbon-+this.id,this.container).html(img src+this.options.skinsfolder+this.options.ribbonimage+ styleborder:none; />)},createWm:function(){if(!this.options.showwatermark)return;if(this.options.watermarkstyletext&&this.options.watermarktext.length0)return;if(this.options.watermarkstyleimage&&this.options.watermarkimage.length0)return;var html;if(this.options.watermarklink){html+a href+this.options.watermarklink+ style+this.options.watermarklinkcss+;if(this.options.versionmarkAMC+om||this.options.versionmarkAML+ite&&this.options.skin&&$.inArray(this.options.skin,classic,cube,content)>0)html+ classamazingslider-watermark-+this.id+;if(this.options.watermarktitle)html+ title+this.options.watermarktitle+;if(this.options.watermarktarget)html+ target+this.options.watermarktarget+;html+>}if(this.options.watermarkstyletext)html+this.options.watermarktext;else if(this.options.watermarkstyleimage)html+img src+this.options.skinsfolder+this.options.watermarkimage+ styleborder:none; />;if(this.options.watermarklink)html+/a>;var stylecodethis.options.watermarkpositioncss;if(this.options.watermarkstyletext&&this.options.watermarktext.length>0)stylecode+this.options.watermarktextcss;if(this.options.watermarklink)stylecode+cursor:pointer;;$(.amazingslider-box-+this.id,this.container).append(div style+stylecode+>+html+/div>)},initVideoApi:function(){var i,j,videos;var initYoutubefalse,initVimeofalse;for(i0;ithis.elemArray.length;i++){videosthis.elemArrayiELEM_VIDEO;for(j0;jvideos.length;j++)if(videosj.typeTYPE_VIDEO_YOUTUBE)initYoutubetrue;else if(videosj.typeTYPE_VIDEO_VIMEO)initVimeotrue}if(initYoutube){var tagdocument.createElement(script);tag.srchttps://www.youtube.com/iframe_api;var firstScriptTagdocument.getElementsByTagName(script)0;firstScriptTag.parentNode.insertBefore(tag,firstScriptTag)}if(initVimeo){var tagdocument.createElement(script);tag.srcthis.options.jsfolder+froogaloop2.min.js;var firstScriptTagdocument.getElementsByTagName(script)0;firstScriptTag.parentNode.insertBefore(tag,firstScriptTag)}},createSliderTimeout:function(){var instancethis;this.sliderTimeoutnew ASliderTimer(this.options.slideinterval,function(){instance.slideRun(-1)},this.options.showtimer?function(percent){instance.updateTimer(percent)}:null);if(instance.options.pauseonmouseover)$(.amazingslider-slider-+this.id,this.container).hover(function(){if(!instance.isPaused)instance.sliderTimeout.pause()},function(){if(!instance.isPaused)instance.sliderTimeout.resume(false)});if(instance.options.showtimer)$(.amazingslider-timer-+instance.id,instance.container).css({display:block,position:absolute,left:0px,top:instance.options.timerpositionbottom?:0px,bottom:instance.options.timerpositionbottom?0px:,width:0%,height:instance.options.timerheight+px,background-color:instance.options.timercolor,opacity:instance.options.timeropacity,filter:alpha(opacity+Math.round(100*instance.options.timeropacity)+)})},updateTimer:function(percent){wMath.round(percent*100);if(w>100)w100;if(w0)w0;$(.amazingslider-timer-+this.id,this.container).css({width:w+%})},createMarkup:function(){this.$wrapperjQuery(+div classamazingslider-wrapper-+this.id+>+div classamazingslider-background-image-+this.id+>/div>+div classamazingslider-slider-+this.id+>+div classamazingslider-bottom-shadow-+this.id+>/div>+div classamazingslider-box-+this.id+>+div classamazingslider-swipe-box-+this.id+>+div classamazingslider-space-+this.id+>/div>+div classamazingslider-img-box-+this.id+>/div>+div classamazingslider-lightbox-play-+this.id+>/div>+div classamazingslider-timer-+this.id+>/div>+/div>+div classamazingslider-text-box-+this.id+>/div>+/div>+div classamazingslider-play-+this.id+>/div>+div classamazingslider-video-wrapper-+this.id+>/div>+div classamazingslider-ribbon-+this.id+>/div>+div classamazingslider-arrow-left-+this.id+>/div>+div classamazingslider-arrow-right-+this.id+>/div>+/div>+div classamazingslider-nav-+this.id+>div classamazingslider-nav-container-+this.id+>/div>/div>+/div>);this.$wrapper.appendTo(this.container);$(.amazingslider-slider-+this.id,this.container).data(sliderid,this.id);var instancethis;if(this.options.enabletouchswipe)$(.amazingslider-swipe-box-+this.id,this.container).sliderTouchSwipe({preventWebBrowser:false,swipeLeft:function(){instance.slideRun(-1)},swipeRight:function(){instance.slideRun(-2)}});$(.amazingslider-play-+this.id,this.container).click(function(){instance.playVideo(true)})},playVideo:function(autoplay){var videosthis.elemArraythis.curElemELEM_VIDEO;if(videos.length0)return;$(.amazingslider-img-+this.id,this.container).empty();this.sliderTimeout.stop();this.videoPausedtrue;var hrefvideos0.href;var typevideos0.type;if(typeTYPE_VIDEO_YOUTUBE)this.playYoutubeVideo(href,autoplay);else if(typeTYPE_VIDEO_VIMEO)this.playVimeoVideo(href,autoplay);else if(typeTYPE_VIDEO_MP4){var webmhrefvideos.length>1?videos1.href:;this.playMp4Video(href,webmhref,autoplay)}else if(typeTYPE_IFRAME)this.playIframeVideo(href,autoplay)},playMp4Video:function(href,webmhref,autoplay){var $videoWrapper$(.amazingslider-video-wrapper-+this.id,this.container);$videoWrapper.css({display:block,width:100%,height:100%});var isHTML5true;if(this.options.forceflash&&ASPlatforms.flashInstalled())isHTML5false;if(ASPlatforms.isIE6789())isHTML5false;else if((ASPlatforms.isFirefox()||ASPlatforms.isOpera())&&!webmhref)isHTML5false;if(ASPlatforms.isIE10()&&this.options.forceflashonie10||ASPlatforms.isIE11()&&this.options.forceflashonie11)isHTML5false;if(isHTML5){var videoSrcASPlatforms.isFirefox()||ASPlatforms.isOpera()?webmhref:href;this.embedHTML5Video($videoWrapper,videoSrc,autoplay)}else{var videoFilehref;if(videoFile.charAt(0)!/&&videoFile.substring(0,5)!http:&&videoFile.substring(0,6)!https:)videoFilethis.options.htmlfolder+videoFile;this.embedFlash($videoWrapper,100%,100%,this.options.jsfolder+html5boxplayer.swf,transparent,{width:100%,height:100%,jsobjectname:amazingsliderObjects,hidecontrols:this.options.videohidecontrols?1:0,hideplaybutton:this.options.videohideplaybutton?1:0,videofile:videoFile,hdfile:,ishd:0,autoplay:autoplay?1:0,errorcss:.amazingslider-error+this.options.errorcss,id:this.id})}},embedHTML5Video:function($container,src,autoPlay){$container.html(div classamazingslider-video-container-+this.id+ styleposition:relative;display:block;width:100%;height:100%;>video stylewidth:100%;height:100%; +(this.options.videohidecontrols?:controls )+ >/div>);$(video,$container).get(0).setAttribute(src,src);if(autoPlay)$(video,$container).get(0).play();if(!this.options.nativehtml5controls)$(video,$container).asHTML5VideoControls(this.options.skinsfolder,this,this.options.videohidecontrols,this.options.videohideplaybutton,this.options.defaultvideovolume);var instancethis;$(video,$container).unbind(ended).bind(ended,function(){instance.videoPausedfalse;if(!instance.isPaused)instance.slideRun(-1)})},embedFlash:function($container,w,h,src,wmode,flashVars){if(ASPlatforms.flashInstalled()){var htmlOptions{pluginspage:http://www.adobe.com/go/getflashplayer,quality:high,allowFullScreen:true,allowScriptAccess:always,type:application/x-shockwave-flash};htmlOptions.widthw;htmlOptions.heighth;htmlOptions.srcsrc;htmlOptions.wmodewmode;htmlOptions.flashVars$.param(flashVars);var htmlString;for(var key in htmlOptions)htmlString+key++htmlOptionskey+ ;$container.html(embed +htmlString+/>)}else $container.html(div classamazingslider-error-+this.id+ styledisplay:block; position:absolute; text-align:center; width:+this.options.width+px; left:0px; top:+Math.round(this.options.height/2-10)+px;>div>The required Adobe Flash Player plugin is not installed/div>br />div styledisplay:block;position:relative;text-align:center;width:112px;height:33px;margin:0px auto;>a hrefhttp://www.adobe.com/go/getflashplayer>img srchttps://www.adobe.com/images/shared/download_buttons/get_flash_player.gif altGet Adobe Flash player width112 height33>/img>/a>/div>)},playVimeoVideo:function(href,autoplay){var $videoWrapper$(.amazingslider-video-wrapper-+this.id,this.container);$videoWrapper.css({display:block,width:100%,height:100%});if(this.options.previewmode){$videoWrapper.html(div classamazingslider-error-+this.id+>To view Vimeo video, publish the slider then open it in your web browser/div>);return}else{var srchref+(href.indexOf(?)0??:&)+autoplay+(autoplay&&!ASPlatforms.isAndroid()?1:0)+&api1&player_idamazingslider_vimeo_+this.id;$videoWrapper.html(iframe idamazingslider_vimeo_+this.id+ width+this.options.width+ height+this.options.height+ src+src+ frameborder0 webkitAllowFullScreen mozallowfullscreen allowFullScreen>/iframe>);var vimeoIframe$(#amazingslider_vimeo_+this.id)0;var vimeoPlayer$f(vimeoIframe);var instancethis;vimeoPlayer.addEvent(ready,function(){vimeoPlayer.addEvent(finish,function(id){instance.videoPausedfalse;if(!instance.isPaused)instance.slideRun(-1)})})}},playIframeVideo:function(href,autoplay){var $videoWrapper$(.amazingslider-video-wrapper-+this.id,this.container);$videoWrapper.css({display:block,width:100%,height:100%});if(this.options.previewmode){$videoWrapper.html(div classamazingslider-error-+this.id+>To view the video, publish the slider then open it in your web browser/div>);return}else{var srchref;$videoWrapper.html(iframe idamazingslider_iframevideo_+this.id+ width+this.options.width+ height+this.options.height+ src+src+ frameborder0 webkitAllowFullScreen mozallowfullscreen allowFullScreen>/iframe>)}},getYoutubeParams:function(href){var result{};if(href.indexOf(?)0)return result;var paramshref.substring(href.indexOf(?)+1).split(&);for(var i0;iparams.length;i++){var valueparamsi.split();if(value&&value.length2&&value0.toLowerCase()!v)resultvalue0.toLowerCase()value1}return result},playYoutubeVideo:function(href,autoplay){var $videoWrapper$(.amazingslider-video-wrapper-+this.id,this.container);$videoWrapper.css({display:block,width:100%,height:100%});if(this.options.previewmode){$videoWrapper.html(div classamazingslider-error-+this.id+>To view YouTube video, publish the slider then open it in your web browser/div>);return}var instancethis;if(!ASYouTubeIframeAPIReady){ASYouTubeTimeout+100;if(ASYouTubeTimeout3E3){setTimeout(function(){instance.playYoutubeVideo(href,autoplay)},100);return}}if(ASYouTubeIframeAPIReady&&!ASPlatforms.isIE6()&&!ASPlatforms.isIE7()&&!ASPlatforms.isIOS()&&!ASPlatforms.isAndroid()){$videoWrapper.html(div idamazingslider-video-+this.id+ styledisplay:block;>/div>);var paramsthis.getYoutubeParams(href);params$.extend({},params,{html5:1,autoplay:1,rel:0,autohide:1,wmode:transparent});if(instance.options.videohidecontrols)params$.extend({},params,{controls:0,showinfo:0});var idhref.match(/(\?v|\/\d\/|\/embed\/|\/v\/|\.be\/)(a-zA-Z0-9\-\_+)/)2;new YT.Player(amazingslider-video-+this.id,{width:instance.options.width,height:instance.options.height,videoId:id,playerVars:params,events:{onReady:function(event){event.target.playVideo()},onStateChange:function(event){if(event.dataYT.PlayerState.ENDED){instance.videoPausedfalse;if(!instance.isPaused)instance.slideRun(-1)}}}})}else{var srchref+(href.indexOf(?)0??:&)+autoplay1&wmodetransparent&rel0&autohide1;if(instance.options.videohidecontrols)src+&controls0&showinfo0;$videoWrapper.html(iframe width+instance.options.width+ height+instance.options.height+ src+src+ frameborder0 webkitAllowFullScreen mozallowfullscreen allowFullScreen>/iframe>)}},checkVideoType:function(href){if(!href)return-1;if(href.match(/\.(flv)(.*)?$/i))return TYPE_VIDEO_FLASH;if(href.match(/\.(mp4|m4v)(.*)?$/i))return TYPE_VIDEO_MP4;if(href.match(/\.(ogv|ogg)(.*)?$/i))return TYPE_VIDEO_OGG;if(href.match(/\.(webm)(.*)?$/i))return TYPE_VIDEO_WEBM;if(href.match(/\:\/\/.*(youtube\.com)/i)||href.match(/\:\/\/.*(youtu\.be)/i))return TYPE_VIDEO_YOUTUBE;if(href.match(/\:\/\/.*(vimeo\.com)/i))return TYPE_VIDEO_VIMEO;return 0},showTexteffect:function(event){var sliderid$(this).data(sliderid);$(.amazingslider-text-box-+sliderid,this).fadeIn()},hideTexteffect:function(event){var sliderid$(this).data(sliderid);$(.amazingslider-text-box-+sliderid,this).fadeOut()},createText:function(){if(!this.options.showtext||this.textoptions.textstylenone)return;var instancethis;this.container.bind(amazingslider.switchtext,function(event,prev,cur){$(head).find(style).each(function(){if($(this).data(creator)amazingslidercreator+instance.id&&$(this).data(csstype)texteffect)$(this).remove()});var textHeadCssstyle typetext/css data-creatoramazingslidercreator+instance.id+ data-csstypetexteffect>+.amazingslider-text-+instance.id+ {+instance.textoptions.textcss+} +.amazingslider-text-bg-+instance.id+ {+instance.textoptions.textbgcss+} +.amazingslider-title-+instance.id+ {+instance.textoptions.titlecss+} +.amazingslider-description-+instance.id+ {+instance.textoptions.descriptioncss+} +.amazingslider-button-+instance.id+ {+instance.textoptions.buttoncss+} ;if(instance.textoptions.texteffectresponsive)textHeadCss+@media (max-width: +instance.textoptions.texteffectresponsivesize+px) {+.amazingslider-title-+instance.id+ {+instance.textoptions.titlecssresponsive+} +.amazingslider-description-+instance.id+ {+instance.textoptions.descriptioncssresponsive+} +.amazingslider-button-+instance.id+ {+instance.textoptions.buttoncssresponsive+} +} ;textHeadCss+/style>;$(head).append(textHeadCss);var $textBoxWrapper$(.amazingslider-text-box-+instance.id,instance.container);$textBoxWrapper.html(div classamazingslider-text-wrapper-+instance.id+>/div>);$(.amazingslider-slider-+instance.id,instance.container).unbind(mouseenter,instance.showTexteffect).unbind(mouseleave,instance.hideTexteffect);var $textWrapper$(.amazingslider-text-wrapper-+instance.id,instance.container);if(instance.textoptions.textstylestatic){$textWrapper.html(div classamazingslider-text-+instance.id+>+div classamazingslider-text-bg-+instance.id+>/div>+div classamazingslider-title-+instance.id+>/div>+div classamazingslider-description-+instance.id+>/div>+div classamazingslider-button-+instance.id+>/div>+/div>);if(!instance.textoptions.textautohide)$textBoxWrapper.css({display:block});else if(instance.prevtextstyle!static)$textBoxWrapper.css({display:instance.textoptions.textautohide?none:block});$textWrapper.css({width:100%,height:auto,position:absolute});if(instance.textoptions.textautohide)$(.amazingslider-slider-+instance.id,instance.container).hover(instance.showTexteffect,instance.hideTexteffect);switch(instance.textoptions.textpositionstatic){case top:$textWrapper.css({left:0px,top:0px,margin-top:instance.textoptions.textpositionmarginstatic+px});break;case bottom:$textWrapper.css({left:0px,bottom:0px,margin-bottom:instance.textoptions.textpositionmarginstatic+px});break;case topoutside:$textWrapper.css({left:0px,bottom:100%,margin-bottom:instance.textoptions.textpositionmarginstatic+px});break;case bottomoutside:$textWrapper.css({left:0px,top:100%,margin-top:instance.textoptions.textpositionmarginstatic+px});break}}else{$textWrapper.html(div classamazingslider-text-holding-+instance.id+ stylevisibility:hidden;+instance.textoptions.textcss+>+div classamazingslider-text-bg-+instance.id+>/div>+div classamazingslider-title-+instance.id+>/div>+div classamazingslider-description-+instance.id+>/div>+div classamazingslider-button-+instance.id+>/div>+/div>+div classamazingslider-text-+instance.id+ styleposition:absolute;top:0%;left:0%;+(ASPlatforms.isIE678()?opacity:inherit;filter:inherit;:)+>+div classamazingslider-text-bg-+instance.id+>/div>+div classamazingslider-title-+instance.id+>/div>+div classamazingslider-description-+instance.id+>/div>+div classamazingslider-button-+instance.id+>/div>+/div>);$textWrapper.css({display:none,position:absolute})}instance.prevtextstyleinstance.textoptions.textstyle;var $textBg$(.amazingslider-text-bg-+instance.id,instance.container);var $text$(.amazingslider-text-+instance.id,instance.container);var $title$(.amazingslider-title-+instance.id,instance.container);var $description$(.amazingslider-description-+instance.id,instance.container);var $button$(.amazingslider-button-+instance.id,instance.container);if(instance.textoptions.textstylestatic){$title.html(instance.elemArraycurELEM_TITLE);if(instance.elemArraycurELEM_DESCRIPTION.length>0)$description.html(instance.elemArraycurELEM_DESCRIPTION).css({display:block});else $description.css({display:none}).html();if(instance.elemArraycurELEM_BUTTON.length>0)$button.html(instance.elemArraycurELEM_BUTTON).css({display:block});else $button.css({display:none}).html();if(!instance.elemArraycurELEM_TITLE&&!instance.elemArraycurELEM_DESCRIPTION&&!instance.elemArraycurELEM_BUTTON)$textBg.hide();else $textBg.show()}else if(instance.textoptions.textstyledynamic)if(!instance.elemArraycurELEM_TITLE&&!instance.elemArraycurELEM_DESCRIPTION&&!instance.elemArraycurELEM_BUTTON)$textWrapper.fadeOut();else $textWrapper.fadeOut(function(){$title.html(instance.elemArraycurELEM_TITLE);if(instance.elemArraycurELEM_DESCRIPTION.length>0)$description.html(instance.elemArraycurELEM_DESCRIPTION).css({display:block});else $description.css({display:none}).html();if(instance.elemArraycurELEM_BUTTON.length>0)$button.html(instance.elemArraycurELEM_BUTTON).css({display:block});else $button.css({display:none}).html();var posbottomleft;var positionsinstance.textoptions.textpositiondynamic;if(positions){positionspositions.split(,);pospositionsMath.floor(Math.random()*positions.length);pos$.trim(pos.toLowerCase())}switch(pos){case topleft:$textWrapper.css({left:0px,right:,top:0px,bottom:});$textWrapper.css({margin:instance.textoptions.textpositionmargintop+px +instance.textoptions.textpositionmarginleft+px});break;case topright:$textWrapper.css({left:,right:0px,top:0px,bottom:});$textWrapper.css({margin:instance.textoptions.textpositionmargintop+px +instance.textoptions.textpositionmarginright+px});break;case bottomleft:$textWrapper.css({left:0px,right:,top:,bottom:0px});$textWrapper.css({margin:instance.textoptions.textpositionmarginbottom+px +instance.textoptions.textpositionmarginleft+px});break;case bottomright:$textWrapper.css({left:,right:0px,top:,bottom:0px});$textWrapper.css({margin:instance.textoptions.textpositionmarginbottom+px +instance.textoptions.textpositionmarginright+px});break;case topcenter:$text.css({left:0px,right:0px});$textWrapper.css({left:0px,right:0px,top:0px,bottom:});$textWrapper.css({margin:instance.textoptions.textpositionmargintop+px +instance.textoptions.textpositionmarginleft+px});break;case bottomcenter:$text.css({left:0px,right:0px});$textWrapper.css({left:0px,right:0px,top:,bottom:0px});$textWrapper.css({margin:instance.textoptions.textpositionmarginbottom+px +instance.textoptions.textpositionmarginleft+px});break;case centercenter:$text.css({left:0px,right:0px});$textWrapper.css({left:0px,right:0px,top:50%,bottom:});var h$textWrapper.height();$textWrapper.css({margin:-+h/2+px 0px 0px});break}var effect_dirsleft,right,top,bottom;var effectnull;var effectsinstance.textoptions.texteffect;if(effects){effectseffects.split(,);effecteffectsMath.floor(Math.random()*effects.length);effect$.trim(effect.toLowerCase())}var $textBoxinstance.textoptions.texteffectseparate?$(.amazingslider-title-+instance.id,instance.container):$(.amazingslider-text-+instance.id,instance.container);switch(effect){case fade:$textBox.css({opacity:0});$textBox.delay(instance.textoptions.texteffectdelay).fadeTo(instance.textoptions.texteffectduration,1);break;case slide:var effect_dirinstance.textoptions.texteffectslidedirection;if(effect_dirrandom)effect_direffect_dirsMath.floor(Math.random()*effect_dirs.length);if(effect_dirleft){$textBox.css({left:-+instance.textoptions.texteffectslidedistance+px,opacity:0});$textBox.delay(instance.textoptions.texteffectdelay).animate({left:0px,opacity:1},instance.textoptions.texteffectduration,instance.textoptions.texteffecteasing)}else if(effect_dirright){$textBox.css({left:instance.textoptions.texteffectslidedistance+px,opacity:0});$textBox.delay(instance.textoptions.texteffectdelay).animate({left:0px,opacity:1},instance.textoptions.texteffectduration,instance.textoptions.texteffecteasing)}else if(effect_dirtop){$textBox.css({top:-+instance.textoptions.texteffectslidedistance+px,opacity:0});$textBox.delay(instance.textoptions.texteffectdelay).animate({top:0px,opacity:1},instance.textoptions.texteffectduration,instance.textoptions.texteffecteasing)}else if(effect_dirbottom){$textBox.css({top:instance.textoptions.texteffectslidedistance+px,opacity:0});$textBox.delay(instance.textoptions.texteffectdelay).animate({top:0px,opacity:1},instance.textoptions.texteffectduration,instance.textoptions.texteffecteasing)}break;default:$textBox.delay(instance.textoptions.texteffectdelay).show()}if(instance.textoptions.texteffectseparate&&instance.elemArraycurELEM_DESCRIPTION.length>0){var effect1null;var effects1instance.textoptions.texteffect1;if(effects1){effects1effects1.split(,);effect1effects1Math.floor(Math.random()*effects1.length);effect1$.trim(effect1.toLowerCase())}var $textBox1$(.amazingslider-description-+instance.id,instance.container);switch(effect1){case fade:$textBox1.css({opacity:0});$textBox1.delay(instance.textoptions.texteffectdelay1).fadeTo(instance.textoptions.texteffectduration1,1);break;case slide:var effect_dir1instance.textoptions.texteffectslidedirection1;if(effect_dir1random)effect_dir1effect_dirsMath.floor(Math.random()*effect_dirs.length);if(effect_dir1left){$textBox1.css({left:-+instance.textoptions.texteffectslidedistance1+px,opacity:0});$textBox1.delay(instance.textoptions.texteffectdelay1).animate({left:0px,opacity:1},instance.textoptions.texteffectduration1,instance.textoptions.texteffecteasing1)}else if(effect_dir1right){$textBox1.css({left:instance.textoptions.texteffectslidedistance1+px,opacity:0});$textBox1.delay(instance.textoptions.texteffectdelay1).animate({left:0px,opacity:1},instance.textoptions.texteffectduration1,instance.textoptions.texteffecteasing1)}else if(effect_dir1top){$textBox1.css({top:-+instance.textoptions.texteffectslidedistance1+px,opacity:0});$textBox1.delay(instance.textoptions.texteffectdelay1).animate({top:0px,opacity:1},instance.textoptions.texteffectduration1,instance.textoptions.texteffecteasing1)}else if(effect_dir1bottom){$textBox1.css({top:instance.textoptions.texteffectslidedistance1+px,opacity:0});$textBox1.delay(instance.textoptions.texteffectdelay1).animate({top:0px,opacity:1},instance.textoptions.texteffectduration1,instance.textoptions.texteffecteasing1)}break;default:$textBox1.delay(instance.textoptions.texteffectdelay).show()}}if(instance.textoptions.texteffectseparate&&instance.elemArraycurELEM_BUTTON.length>0){var effect2null;var effects2instance.textoptions.texteffect2;if(effects2){effects2effects2.split(,);effect2effects2Math.floor(Math.random()*effects2.length);effect2$.trim(effect2.toLowerCase())}var $textBox2$(.amazingslider-button-+instance.id,instance.container);switch(effect2){case fade:$textBox2.css({opacity:0});$textBox2.delay(instance.textoptions.texteffectdelay2).fadeTo(instance.textoptions.texteffectduration2,1);break;case slide:var effect_dir2instance.textoptions.texteffectslidedirection2;if(effect_dir2random)effect_dir2effect_dirsMath.floor(Math.random()*effect_dirs.length);if(effect_dir2left){$textBox2.css({left:-+instance.textoptions.texteffectslidedistance2+px,opacity:0});$textBox2.delay(instance.textoptions.texteffectdelay2).animate({left:0px,opacity:1},instance.textoptions.texteffectduration2,instance.textoptions.texteffecteasing2)}else if(effect_dir2right){$textBox2.css({left:instance.textoptions.texteffectslidedistance2+px,opacity:0});$textBox2.delay(instance.textoptions.texteffectdelay2).animate({left:0px,opacity:1},instance.textoptions.texteffectduration2,instance.textoptions.texteffecteasing2)}else if(effect_dir2top){$textBox2.css({top:-+instance.textoptions.texteffectslidedistance2+px,opacity:0});$textBox2.delay(instance.textoptions.texteffectdelay2).animate({top:0px,opacity:1},instance.textoptions.texteffectduration2,instance.textoptions.texteffecteasing2)}else if(effect_dir2bottom){$textBox2.css({top:instance.textoptions.texteffectslidedistance2+px,opacity:0});$textBox2.delay(instance.textoptions.texteffectdelay2).animate({top:0px,opacity:1},instance.textoptions.texteffectduration2,instance.textoptions.texteffecteasing2)}break;default:$textBox2.delay(instance.textoptions.texteffectdelay).show()}}$textWrapper.show()});if(!instance.googleFontsCreated)instance.createGoogleFonts()})},resizeFullscreenImage:function($imgElem){if($imgElem.data(originalwidth)0||$imgElem.data(originalheight)0)return;var imgRatio$imgElem.data(originalheight)/$imgElem.data(originalwidth);var sliderRatiothis.options.height/this.options.width;this.prevImageMarginTopthis.curImageMarginTop;this.prevImageMarginLeftthis.curImageMarginLeft;this.prevImageMaxWidththis.curImageMaxWidth;this.curImageMarginTop0;this.curImageMarginLeft0;this.curImageMaxWidth100;if(sliderRatioimgRatio)if(this.options.scalemodefit){this.curImageMaxWidthsliderRatio/imgRatio*100;this.curImageMarginLeft50-this.curImageMaxWidth/2}else this.curImageMarginTop-1*(imgRatio-sliderRatio)*50;else if(this.options.scalemodefit)this.curImageMarginTop(sliderRatio-imgRatio)*50;else{this.curImageMarginLeft-1*(1/imgRatio-1/sliderRatio)*50;this.curImageMaxWidth100-2*this.curImageMarginLeft}if(Math.abs(this.curImageMarginLeft)>0)$imgElem.css({max-width:this.curImageMaxWidth+%,width:this.curImageMaxWidth+%,height:100%,margin-left:this.curImageMarginLeft+%,margin-top:0});else $imgElem.css({max-width:this.curImageMaxWidth+%,width:this.curImageMaxWidth+%,height:auto,margin-left:0,margin-top:this.curImageMarginTop+%})},resizeSlider:function(){if(!this.container.parent()||!this.container.parent().width())return;this.options.widththis.container.parent().width();if(this.options.isfullscreen){this.options.heightthis.container.parent().height();if($(.amazingslider-img-elem-+this.id).length>0)this.resizeFullscreenImage($(.amazingslider-img-elem-+this.id))}else{this.options.heightMath.round(this.options.width*this.options.originalheight/this.options.originalwidth);if(this.options.ratioresponsive){var winWidththis.options.isMobile?Math.max($(window).width(),$(document).width()):$(window).width();if(winWidththis.options.ratiosmallscreen)this.options.height*this.options.ratiosmallheight;else if(winWidththis.options.ratiomediumscreen)this.options.height*this.options.ratiomediumheight}}$(.amazingslider-space-+this.id,this.container).css({width:this.options.width,height:this.options.height});this.container.css({width:this.options.width,height:this.options.navdirectionhorizontal&&this.options.navmultirows?auto:this.options.height});if(this.options.navstylethumbnails&&this.options.navthumbresponsive)this.resizeNavBullets();var $nav$(.amazingslider-nav-+this.id,this.container);var $navContainer$(.amazingslider-nav-container-+this.id,this.container);var $bulletWrapper$(.amazingslider-bullet-wrapper-+this.id,this.container);var $carLeftArrow$(.amazingslider-car-left-arrow-+this.id,this.container);var $carRightArrow$(.amazingslider-car-right-arrow-+this.id,this.container);if(this.options.navdirectionvertical){var lenthis.options.navstylenone?0:this.elemArray.length*this.options.navheight+(this.elemArray.length-1)*this.options.navspacing;if(this.options.navshowbuttons){if(this.options.navshowarrow){len+len>0?this.options.navspacing:0;len+2*this.options.navheight+this.options.navspacing}if(this.options.navshowplaypause&&!this.options.navshowplaypausestandalone){len+len>0?this.options.navspacing:0;len+this.options.navheight}}$bulletWrapper.css({height:len+px,width:auto})}else if(this.options.navmultirows)$bulletWrapper.css({width:100%,height:auto});else{var lenthis.options.navstylenone?0:this.elemArray.length*this.options.navwidth+(this.elemArray.length-1)*this.options.navspacing;if(this.options.navshowbuttons){if(this.options.navshowarrow){len+len>0?this.options.navspacing:0;len+2*this.options.navwidth+this.options.navspacing}if(this.options.navshowplaypause&&!this.options.navshowplaypausestandalone){len+len>0?this.options.navspacing:0;len+this.options.navwidth}}$bulletWrapper.css({width:len+px,height:auto})}if(this.options.navthumbnavigationstyle!auto){if(this.options.navmultirows){if(this.options.navdirectionhorizontal){var nMath.floor($nav.width()/(this.options.navwidth+this.options.navspacing));if(n0)n1;mMath.floor(($nav.width()-n*this.options.navwidth-(n-1)*this.options.navspacing)/2)-2;$navContainer.css({width:100%,margin-left:m+px})}}else if(this.options.navdirectionvertical&&$bulletWrapper.height()>$navContainer.height()||this.options.navdirectionhorizontal&&$bulletWrapper.width()>$navContainer.width()){if(this.options.navthumbnavigationstyle!arrowinside){$carLeftArrow.css({display:block});$carRightArrow.css({display:block})}var l0;if(this.options.navdirectionvertical){lisNaN(parseInt($bulletWrapper.css(margin-top)))?0:parseInt($bulletWrapper.css(margin-top));if(l$navContainer.height()-$bulletWrapper.height())l$navContainer.height()-$bulletWrapper.height();if(l>0)l0;$bulletWrapper.css({margin-top:l})}else{var m0;if(this.options.navthumbnavigationstylearrow){mthis.options.navthumbnavigationarrowimagewidth+this.options.navspacing;if(this.options.navdirectionhorizontal)if(this.options.navmultirows){var nMath.floor($nav.width()/(this.options.navwidth+this.options.navspacing));if(n0)n1;mMath.floor(($nav.width()-n*this.options.navwidth-(n-1)*this.options.navspacing)/2);$navContainer.css({width:100%,margin-left:m+px})}else{var nMath.floor(($nav.width()-2*m+this.options.navspacing)/(this.options.navwidth+this.options.navspacing));if(n0)n1;mMath.floor(($nav.width()-n*this.options.navwidth-(n-1)*this.options.navspacing)/2);$navContainer.css({margin-left:m+px,margin-right:m+px})}else $navContainer.css({margin-top:m+px,margin-bottom:m+px})}lisNaN(parseInt($bulletWrapper.css(margin-left)))?0:parseInt($bulletWrapper.css(margin-left));if(l$navContainer.width()-$bulletWrapper.width())l$navContainer.width()-$bulletWrapper.width();if(l>0)l0;$bulletWrapper.css({margin-left:l})}this.updateCarouselLeftRightArrow(l)}else{$carLeftArrow.css({display:none});$carRightArrow.css({display:none});if(this.options.navdirectionvertical)$bulletWrapper.css({margin-top:0});else $bulletWrapper.css({margin-left:auto})}if(this.options.navstylethumbnails&&this.options.navthumbresponsive){var bulletPos0;var bulletSizethis.options.navdirectionvertical?this.options.navwidth:this.options.navheight;if(this.options.navstylethumbnails&&this.options.navshowfeaturedarrow){bulletSize+this.options.navdirectionvertical?this.options.navfeaturedarrowimagewidth:this.options.navfeaturedarrowimageheight;bulletPosthis.options.navdirectionvertical?this.options.navfeaturedarrowimagewidth:this.options.navfeaturedarrowimageheight}var pthis.options.navdirectionvertical?this.options.navwidth/2-this.options.navthumbnavigationarrowimagewidth/2:this.options.navheight/2-this.options.navthumbnavigationarrowimageheight/2;if(this.options.navpositionbottomleft||this.options.navpositionbottomright||this.options.navpositionbottom||this.options.navpositionright)p+bulletPos;if(this.options.navdirectionvertical){$carLeftArrow.css({top:this.options.navthumbnavigationstylearrowoutside?-+this.options.navthumbnavigationarrowimageheight+px:0px,left:0px,margin-left:p+px});$carRightArrow.css({bottom:this.options.navthumbnavigationstylearrowoutside?-+this.options.navthumbnavigationarrowimageheight+px:0px,left:0px,margin-left:p+px})}else{$carLeftArrow.css({left:this.options.navthumbnavigationstylearrowoutside?-+this.options.navthumbnavigationarrowimagewidth+px:0px,top:0px,margin-top:p+px});$carRightArrow.css({right:this.options.navthumbnavigationstylearrowoutside?-+this.options.navthumbnavigationarrowimagewidth+px:0px,top:0px,margin-top:p+px})}}}if(this.curElem>0&&this.options.navstyle!none&&$(#amazingslider-bullet-+this.id+-+this.curElem,this.container).length>0)this.adjustNav($(#amazingslider-bullet-+this.id+-+this.curElem,this.container))},createStyle:function(){this.options.originalwidththis.options.width;this.options.originalheightthis.options.height;this.options.navoriginalwidththis.options.navwidth;this.options.navoriginalheightthis.options.navheight;this.options.navoriginalthumbtitleheightthis.options.navthumbtitleheight;this.options.navoriginalthumbtitlewidththis.options.navthumbtitlewidth;if(!this.options.isresponsive){$(.amazingslider-space-+this.id,this.container).css({width:this.options.width,height:this.options.height});this.container.css({width:this.options.width,height:this.options.navdirectionhorizontal&&this.options.navmultirows?auto:this.options.height})}else{this.resizeSlider();var instancethis;$(window).resize(function(){setTimeout(function(){instance.resizeSlider()},instance.options.windowresizetimeout)})}var styleCss.amazingslider-wrapper-+this.id+ {display:block;position:relative;width:100%;height:auto;};styleCss+.amazingslider-slider-+this.id+ {display:block;position:relative;left:0px;top:0px;width:100%;height:auto;;if(this.options.showshadow){var b0px 0px +this.options.shadowsize+px +this.options.shadowcolor;styleCss+box-shadow:+b+;-moz-box-shadow:+b+;-webkit-box-shadow:+b+;;if(ASPlatforms.isIE678()||ASPlatforms.isIE9)styleCss+filter:progid:DXImageTransform.Microsoft.Shadow(color+this.options.shadowcolor+,direction135,strength+this.options.shadowsize+);}styleCss+};styleCss+.amazingslider-box-+this.id+ {display:block;position:relative;left:0px;top:0px;width:100%;height:auto;;if(this.options.border>0)styleCss+margin-left:-+this.options.border+px;border-width:+this.options.border+px;border-style:solid;border-color:+this.options.bordercolor+;;styleCss+};styleCss+.amazingslider-swipe-box-+this.id+ {display:block;position:relative;left:0px;top:0px;width:100%;height:auto;};styleCss+.amazingslider-space-+this.id+ {display:block;position:relative;left:0px;top:0px;width:100%;height:auto;visibility:hidden;line-height:0px;font-size:0px;};styleCss+.amazingslider-img-box-+this.id+ {display:block;position:absolute;left:0px;top:0px;width:100%;height:100%;};styleCss+.amazingslider-lightbox-play-+this.id+ {display:none;position:absolute;left:50%;top:50%;cursor:pointer;width:+this.options.playvideoimagewidth+px;height:+this.options.playvideoimageheight+px;margin-top:+-+Math.round(this.options.playvideoimageheight/2)+px;margin-left:+-+Math.round(this.options.playvideoimagewidth/2)+px; background:url(+this.options.playvideoimage+) no-repeat left top;};styleCss+.amazingslider-play-+this.id+ {display:none;position:absolute;left:50%;top:50%;cursor:pointer;width:+this.options.playvideoimagewidth+px;height:+this.options.playvideoimageheight+px;margin-top:+-+Math.round(this.options.playvideoimageheight/2)+px;margin-left:+-+Math.round(this.options.playvideoimagewidth/2)+px; background:url(+this.options.playvideoimage+) no-repeat left top;};styleCss+.amazingslider-video-wrapper-+this.id+ {display:none;position:absolute;left:0px;top:0px;background-color:#000;text-align:center;};styleCss+.amazingslider-error-+this.id+ {display:block;position:relative;margin:0 auto;width:80%;top:50%;color:#fff;font:16px Arial,Tahoma,Helvetica,sans-serif;};if(this.options.showribbon){styleCss+.amazingslider-ribbon-+this.id+ {display:block;position:absolute;;switch(this.options.ribbonposition){case topleft:styleCss+left:+this.options.ribbonimagex+px;top:+this.options.ribbonimagey+px;;break;case topright:styleCss+right:+this.options.ribbonimagex+px;top:+this.options.ribbonimagey+px;;break;case bottomleft:styleCss+left:+this.options.ribbonimagex+px;bottom:+this.options.ribbonimagey+px;;break;case bottomright:styleCss+right:+this.options.ribbonimagex+px;bottom:+this.options.ribbonimagey+px;;break;case top:styleCss+width:100%;height:auto;margin:0 auto;top:+this.options.ribbonimagey+px;;case bottom:styleCss+width:100%;height:auto;text-align:center;bottom:+this.options.ribbonimagey+px;}styleCss+}}styleCss+.amazingslider-video-wrapper-+this.id+ video {max-width:100%;height:auto;};styleCss+.amazingslider-video-wrapper-+this.id+ iframe, +.amazingslider-video-wrapper-+this.id+ object, +.amazingslider-video-wrapper-+this.id+ embed {position:absolute;top:0;left:0;width:100%;height:100%;};if(this.options.navstylethumbnails&&this.options.navthumbstyle!imageonly){styleCss+.amazingslider-nav-thumbnail-tite-+this.id+ {+this.options.navthumbtitlecss+};styleCss+.amazingslider-nav-thumbnail-tite-+this.id+:hover {+this.options.navthumbtitlehovercss+};if(this.options.navthumbstyleimageandtitledescription||this.options.navthumbstyletextonly)styleCss+.amazingslider-nav-thumbnail-description-+this.id+ {+this.options.navthumbdescriptioncss+}}$(head).append(style typetext/css data-creatoramazingslidercreator+this.id+>+styleCss+/style>);if(this.options.customcss&&this.options.customcss.length>0)$(head).append(style typetext/css data-creatoramazingslidercreator+this.id+>+this.options.customcss+/style>)},createBottomShadow:function(){if(!this.options.showbottomshadow)return;var $shadow$(.amazingslider-bottom-shadow-+this.id,this.container);var l(100-this.options.bottomshadowimagewidth)/2;$shadow.css({display:block,position:absolute,left:l+%,top:this.options.bottomshadowimagetop+%,width:this.options.bottomshadowimagewidth+%,height:auto});$shadow.html(img src+this.options.skinsfolder+this.options.bottomshadowimage+ styledisplay:block;position:relative;width:100%;height:auto;max-width:100%; />)},createBackgroundImage:function(){if(!this.options.showbackgroundimage||!this.options.backgroundimage)return;var $background$(.amazingslider-background-image-+this.id,this.container);var l(100-this.options.backgroundimagewidth)/2;$background.css({display:block,position:absolute,left:l+%,top:this.options.backgroundimagetop+%,width:this.options.backgroundimagewidth+%,height:auto});$background.html(img src+this.options.skinsfolder+this.options.backgroundimage+ styledisplay:block;position:relative;width:100%;height:auto; />)},createArrows:function(){if(this.options.arrowstylenone)return;var instancethis;var $leftArrow$(.amazingslider-arrow-left-+this.id,this.container);var $rightArrow$(.amazingslider-arrow-right-+this.id,this.container);$leftArrow.css({overflow:hidden,position:absolute,cursor:pointer,width:this.options.arrowwidth+px,height:this.options.arrowheight+px,left:this.options.arrowmargin+px,top:this.options.arrowtop+%,margin-top:-+this.options.arrowheight/2+px,background:url(+this.options.arrowimage+) no-repeat left top});if(ASPlatforms.isIE678())$leftArrow.css({opacity:inherit,filter:inherit});$leftArrow.hover(function(){$(this).css({background-position:left bottom})},function(){$(this).css({background-position:left top})});$leftArrow.click(function(){instance.slideRun(-2)});$rightArrow.css({overflow:hidden,position:absolute,cursor:pointer,width:this.options.arrowwidth+px,height:this.options.arrowheight+px,right:this.options.arrowmargin+px,top:this.options.arrowtop+%,margin-top:-+this.options.arrowheight/2+px,background:url(+this.options.arrowimage+) no-repeat right top});if(ASPlatforms.isIE678())$rightArrow.css({opacity:inherit,filter:inherit});$rightArrow.hover(function(){$(this).css({background-position:right bottom})},function(){$(this).css({background-position:right top})});$rightArrow.click(function(){instance.slideRun(-1)});if(this.options.arrowstylealways){$leftArrow.css({display:block});$rightArrow.css({display:block})}else{$leftArrow.css({display:none});$rightArrow.css({display:none});$(.amazingslider-slider-+this.id,this.container).hover(function(){clearTimeout(instance.arrowTimeout);if(ASPlatforms.isIE678()){$(.amazingslider-arrow-left-+instance.id,instance.container).show();$(.amazingslider-arrow-right-+instance.id,instance.container).show()}else{$(.amazingslider-arrow-left-+instance.id,instance.container).fadeIn();$(.amazingslider-arrow-right-+instance.id,instance.container).fadeIn()}},function(){instance.arrowTimeoutsetTimeout(function(){if(ASPlatforms.isIE678()){$(.amazingslider-arrow-left-+instance.id,instance.container).hide();$(.amazingslider-arrow-right-+instance.id,instance.container).hide()}else{$(.amazingslider-arrow-left-+instance.id,instance.container).fadeOut();$(.amazingslider-arrow-right-+instance.id,instance.container).fadeOut()}},instance.options.arrowhideonmouseleave)})}},carMoveLeft:function(){var $navContainer$(.amazingslider-nav-container-+this.id,this.container);var $bulletWrapper$(.amazingslider-bullet-wrapper-+this.id,this.container);if($navContainer.width()>$bulletWrapper.width())return;if(this.options.navshowpreview)$(.amazingslider-nav-preview-+this.id,this.container).hide();var dist$navContainer.width()+this.options.navspacing;var l(isNaN(parseInt($bulletWrapper.css(margin-left)))?0:parseInt($bulletWrapper.css(margin-left)))-dist;if(l$navContainer.width()-$bulletWrapper.width())l$navContainer.width()-$bulletWrapper.width();if(l>0)l0;$bulletWrapper.animate({margin-left:l},{queue:false,duration:500,easing:easeOutCirc});if(this.options.navthumbnavigationstyle!auto)this.updateCarouselLeftRightArrow(l)},carMoveRight:function(){var $navContainer$(.amazingslider-nav-container-+this.id,this.container);var $bulletWrapper$(.amazingslider-bullet-wrapper-+this.id,this.container);if($navContainer.width()>$bulletWrapper.width())return;if(this.options.navshowpreview)$(.amazingslider-nav-preview-+this.id,this.container).hide();var dist$navContainer.width()+this.options.navspacing;var l(isNaN(parseInt($bulletWrapper.css(margin-left)))?0:parseInt($bulletWrapper.css(margin-left)))+dist;if(l$navContainer.width()-$bulletWrapper.width())l$navContainer.width()-$bulletWrapper.width();if(l>0)l0;$bulletWrapper.animate({margin-left:l},{queue:false,duration:500,easing:easeOutCirc});if(this.options.navthumbnavigationstyle!auto)this.updateCarouselLeftRightArrow(l)},carMoveBottom:function(){var $navContainer$(.amazingslider-nav-container-+this.id,this.container);var $bulletWrapper$(.amazingslider-bullet-wrapper-+this.id,this.container);if($navContainer.height()>$bulletWrapper.height())return;if(this.options.navshowpreview)$(.amazingslider-nav-preview-+this.id,this.container).hide();var dist$navContainer.height()+this.options.navspacing;var l(isNaN(parseInt($bulletWrapper.css(margin-top)))?0:parseInt($bulletWrapper.css(margin-top)))+dist;if(l$navContainer.height()-$bulletWrapper.height())l$navContainer.height()-$bulletWrapper.height();if(l>0)l0;$bulletWrapper.animate({margin-top:l},{queue:false,duration:500,easing:easeOutCirc});if(this.options.navthumbnavigationstyle!auto)this.updateCarouselLeftRightArrow(l)},carMoveTop:function(){var $navContainer$(.amazingslider-nav-container-+this.id,this.container);var $bulletWrapper$(.amazingslider-bullet-wrapper-+this.id,this.container);if($navContainer.height()>$bulletWrapper.height())return;if(this.options.navshowpreview)$(.amazingslider-nav-preview-+this.id,this.container).hide();var dist$navContainer.height()+this.options.navspacing;var l(isNaN(parseInt($bulletWrapper.css(margin-top)))?0:parseInt($bulletWrapper.css(margin-top)))-dist;if(l$navContainer.height()-$bulletWrapper.height())l$navContainer.height()-$bulletWrapper.height();if(l>0)l0;$bulletWrapper.animate({margin-top:l},{queue:false,duration:500,easing:easeOutCirc});if(this.options.navthumbnavigationstyle!auto)this.updateCarouselLeftRightArrow(l)},updateCarouselLeftRightArrow:function(l){var $navContainer$(.amazingslider-nav-container-+this.id,this.container);var $bulletWrapper$(.amazingslider-bullet-wrapper-+this.id,this.container);if(this.options.navdirectionvertical){if(l0){$(.amazingslider-car-left-arrow-+this.id,this.container).css({background-position:left bottom,cursor:});$(.amazingslider-car-left-arrow-+this.id,this.container).data(disabled,true)}else{$(.amazingslider-car-left-arrow-+this.id,this.container).css({background-position:left top,cursor:pointer});$(.amazingslider-car-left-arrow-+this.id,this.container).data(disabled,false)}if(l$navContainer.height()-$bulletWrapper.height()){$(.amazingslider-car-right-arrow-+this.id,this.container).css({background-position:right bottom,cursor:});$(.amazingslider-car-right-arrow-+this.id,this.container).data(disabled,true)}else{$(.amazingslider-car-right-arrow-+this.id,this.container).css({background-position:right top,cursor:pointer});$(.amazingslider-car-right-arrow-+this.id,this.container).data(disabled,false)}}else{if(l0){$(.amazingslider-car-left-arrow-+this.id,this.container).css({background-position:left bottom,cursor:});$(.amazingslider-car-left-arrow-+this.id,this.container).data(disabled,true)}else{$(.amazingslider-car-left-arrow-+this.id,this.container).css({background-position:left top,cursor:pointer});$(.amazingslider-car-left-arrow-+this.id,this.container).data(disabled,false)}if(l$navContainer.width()-$bulletWrapper.width()){$(.amazingslider-car-right-arrow-+this.id,this.container).css({background-position:right bottom,cursor:});$(.amazingslider-car-right-arrow-+this.id,this.container).data(disabled,true)}else{$(.amazingslider-car-right-arrow-+this.id,this.container).css({background-position:right top,cursor:pointer});$(.amazingslider-car-right-arrow-+this.id,this.container).data(disabled,false)}}},createNav:function(){if(this.options.navstylenone&&!this.options.navshowbuttons)return;var instancethis;var i;var $nav$(.amazingslider-nav-+this.id,this.container);var $navContainer$(.amazingslider-nav-container-+this.id,this.container);var $bulletWrapper$(div classamazingslider-bullet-wrapper-+this.id+ styledisplay:block;position:relative;>/div>);$navContainer.css({overflow:hidden});if(this.options.navstylethumbnails){if(this.options.navthumbresponsive){var winW$(window).width();if(winWthis.options.navthumbsmallsize){this.options.navwidththis.options.navthumbsmallwidth;this.options.navheightthis.options.navthumbsmallheight;this.options.navthumbtitleheightthis.options.navthumbsmalltitleheight;this.options.navthumbtitlewidththis.options.navthumbsmalltitlewidth}else if(winWthis.options.navthumbmediumsize){this.options.navwidththis.options.navthumbmediumwidth;this.options.navheightthis.options.navthumbmediumheight;this.options.navthumbtitleheightthis.options.navthumbmediumtitleheight;this.options.navthumbtitlewidththis.options.navthumbmediumtitlewidth}else{this.options.navwidththis.options.navoriginalwidth;this.options.navheightthis.options.navoriginalheight;this.options.navthumbtitleheightthis.options.navoriginalthumbtitleheight;this.options.navthumbtitlewidththis.options.navoriginalthumbtitlewidth}}this.options.navimagewidththis.options.navwidth-this.options.navborder*2;this.options.navimageheightthis.options.navheight-this.options.navborder*2;if(this.options.navthumbstyleimageandtitle)this.options.navheight+this.options.navthumbtitleheight;else if(this.options.navthumbstyleimageandtitledescription||this.options.navthumbstyletextonly)this.options.navwidth+this.options.navthumbtitlewidth}if(this.options.navdirectionvertical){var lenthis.options.navstylenone?0:this.elemArray.length*this.options.navheight+(this.elemArray.length-1)*this.options.navspacing;if(this.options.navshowbuttons){if(this.options.navshowarrow){len+len>0?this.options.navspacing:0;len+2*this.options.navheight+this.options.navspacing}if(this.options.navshowplaypause&&!this.options.navshowplaypausestandalone){len+len>0?this.options.navspacing:0;len+this.options.navheight}}$bulletWrapper.css({height:len+px,width:auto})}else if(this.options.navmultirows)$bulletWrapper.css({width:100%,height:auto});else{var lenthis.options.navstylenone?0:this.elemArray.length*this.options.navwidth+(this.elemArray.length-1)*this.options.navspacing;if(this.options.navshowbuttons){if(this.options.navshowarrow){len+len>0?this.options.navspacing:0;len+2*this.options.navwidth+this.options.navspacing}if(this.options.navshowplaypause&&!this.options.navshowplaypausestandalone){len+len>0?this.options.navspacing:0;len+this.options.navwidth}}$bulletWrapper.css({width:len+px,height:auto})}$navContainer.append($bulletWrapper);var bulletPos0;var bulletSizethis.options.navdirectionvertical?this.options.navwidth:this.options.navheight;if(this.options.navstylethumbnails&&this.options.navshowfeaturedarrow){bulletSize+this.options.navdirectionvertical?this.options.navfeaturedarrowimagewidth:this.options.navfeaturedarrowimageheight;bulletPosthis.options.navdirectionvertical?this.options.navfeaturedarrowimagewidth:this.options.navfeaturedarrowimageheight}var navmarginXnavmarginxin this.options?this.options.navmarginx:this.options.navmargin;var navmarginYnavmarginyin this.options?this.options.navmarginy:this.options.navmargin;$nav.css({display:block,position:this.options.navdirectionhorizontal&&this.options.navmultirows?relative:absolute,height:auto});switch(this.options.navposition){case top:$bulletWrapper.css({margin-left:auto,margin-right:auto,height:bulletSize+px});$nav.css({width:100%,top:0%,left:0px,margin-top:navmarginY+px});break;case topleft:$bulletWrapper.css({height:bulletSize+px});$nav.css({max-width:100%,top:0px,left:0px,margin-top:navmarginY+px,margin-left:navmarginX+px});break;case topright:$bulletWrapper.css({height:bulletSize+px});$nav.css({max-width:100%,top:0px,right:0px,margin-top:navmarginY+px,margin-right:navmarginX+px});break;case bottom:$bulletWrapper.css({margin-left:auto,margin-right:auto,margin-top:bulletPos+px});$nav.css({width:100%,top:100%,left:0px,margin-top:String(navmarginY-bulletPos)+px});break;case bottomleft:$bulletWrapper.css({margin-top:bulletPos+px});$nav.css({max-width:100%,bottom:0px,left:0px,margin-bottom:navmarginY+px,margin-top:String(navmarginY-bulletPos)+px,margin-left:navmarginX+px});break;case bottomright:$bulletWrapper.css({margin-top:bulletPos+px});$nav.css({max-width:100%,bottom:0px,right:0px,margin-bottom:navmarginY+px,margin-top:String(navmarginY-bulletPos)+px,margin-right:navmarginX+px});break;case left:$bulletWrapper.css({width:bulletSize+px});$nav.css({height:100%,width:bulletSize+px,top:0%,left:0%,margin-left:navmarginX+px});$navContainer.css({display:block,position:absolute,top:0px,bottom:0px,left:0px,right:0px,height:auto});break;case right:$bulletWrapper.css({margin-left:bulletPos+px});$nav.css({height:100%,width:bulletSize+px,top:0%,left:100%,margin-left:String(navmarginX-bulletPos)+px});$navContainer.css({display:block,position:absolute,top:0px,bottom:0px,left:0px,right:0px,height:auto});break}if(this.options.navstyle!none){var $bullet;for(i0;ithis.elemArray.length;i++){$bulletthis.createNavBullet(i);$bulletWrapper.append($bullet)}if(this.options.navmultirows)$bulletWrapper.append(div styleclear:both;>/div>);$nav.mouseenter(function(){instance.pauseCarouseltrue});$nav.mouseleave(function(){instance.pauseCarouselfalse});if(instance.options.navthumbnavigationstyleauto)$nav.mousemove(function(e){if(instance.options.navdirectionvertical){if($nav.height()>$bulletWrapper.height())return;var de.pageY-$nav.offset().top;if(d10)d0;if(d>$nav.height()-10)d$nav.height();var rd/$nav.height();var l($nav.height()-$bulletWrapper.height())*r;$bulletWrapper.animate({margin-top:l},{queue:false,duration:20,easing:easeOutCubic})}else{if($nav.width()>$bulletWrapper.width())return;var de.pageX-$nav.offset().left;if(d10)d0;if(d>$nav.width()-10)d$nav.width();var rd/$nav.width();var l($nav.width()-$bulletWrapper.width())*r;$bulletWrapper.animate({margin-left:l},{queue:false,duration:20,easing:easeOutCubic})}});else{var m0;if(instance.options.navthumbnavigationstylearrow){minstance.options.navthumbnavigationarrowimagewidth+instance.options.navspacing;if(instance.options.navdirectionhorizontal)if(instance.options.navmultirows){var nMath.floor($nav.width()/(instance.options.navwidth+instance.options.navspacing));if(n0)n1;mMath.floor(($nav.width()-n*instance.options.navwidth-(n-1)*instance.options.navspacing)/2);$navContainer.css({width:100%,margin-left:m+px})}else{var nMath.floor(($nav.width()-2*m+instance.options.navspacing)/(instance.options.navwidth+instance.options.navspacing));if(n0)n1;mMath.floor(($nav.width()-n*instance.options.navwidth-(n-1)*instance.options.navspacing)/2);$navContainer.css({margin-left:m+px,margin-right:m+px})}else $navContainer.css({margin-top:m+px,margin-bottom:m+px})}else if(instance.options.navdirectionhorizontal)$navContainer.css({margin-left:0px,margin-right:0px});else $navContainer.css({margin-top:0px,margin-bottom:0px});var $carLeftArrow$(div classamazingslider-car-left-arrow-+instance.id+ styledisplay:none;>/div>);var $carRightArrow$(div classamazingslider-car-right-arrow-+instance.id+ styledisplay:none;>/div>);$nav.append($carLeftArrow);$nav.append($carRightArrow);$carLeftArrow.css({overflow:hidden,position:absolute,cursor:pointer,display:none,width:instance.options.navthumbnavigationarrowimagewidth+px,height:instance.options.navthumbnavigationarrowimageheight+px,background:url(+instance.options.navthumbnavigationarrowimage+) no-repeat left top});$carRightArrow.css({overflow:hidden,position:absolute,cursor:pointer,display:none,width:instance.options.navthumbnavigationarrowimagewidth+px,height:instance.options.navthumbnavigationarrowimageheight+px,background:url(+instance.options.navthumbnavigationarrowimage+) no-repeat right top});var pinstance.options.navdirectionvertical?instance.options.navwidth/2-instance.options.navthumbnavigationarrowimagewidth/2:instance.options.navheight/2-instance.options.navthumbnavigationarrowimageheight/2;if(instance.options.navpositionbottomleft||instance.options.navpositionbottomright||instance.options.navpositionbottom||instance.options.navpositionright)p+bulletPos;if(instance.options.navdirectionvertical){$carLeftArrow.css({top:instance.options.navthumbnavigationstylearrowoutside?-+instance.options.navthumbnavigationarrowimageheight+px:0px,left:0px,margin-left:p+px});$carRightArrow.css({bottom:instance.options.navthumbnavigationstylearrowoutside?-+instance.options.navthumbnavigationarrowimageheight+px:0px,left:0px,margin-left:p+px})}else{$carLeftArrow.css({left:instance.options.navthumbnavigationstylearrowoutside?-+instance.options.navthumbnavigationarrowimagewidth+px:0px,top:0px,margin-top:p+px});$carRightArrow.css({right:instance.options.navthumbnavigationstylearrowoutside?-+instance.options.navthumbnavigationarrowimagewidth+px:0px,top:0px,margin-top:p+px})}if(ASPlatforms.isIE678())$carLeftArrow.css({opacity:inherit,filter:inherit});$carLeftArrow.hover(function(){if(!$(this).data(disabled))$(this).css({background-position:left center})},function(){if(!$(this).data(disabled))$(this).css({background-position:left top})});$carLeftArrow.click(function(){if(instance.options.navdirectionvertical)instance.carMoveBottom();else instance.carMoveRight()});if(ASPlatforms.isIE678())$carRightArrow.css({opacity:inherit,filter:inherit});$carRightArrow.hover(function(){if(!$(this).data(disabled))$(this).css({background-position:right center})},function(){if(!$(this).data(disabled))$(this).css({background-position:right top})});$carRightArrow.click(function(){if(instance.options.navdirectionvertical)instance.carMoveTop();else instance.carMoveLeft()});if(instance.options.navdirectionvertical&&$bulletWrapper.height()>$navContainer.height()||instance.options.navdirectionhorizontal&&$bulletWrapper.width()>$navContainer.width()){$carLeftArrow.css({display:block,background-position:left bottom,cursor:});$carLeftArrow.data(disabled,true);$carRightArrow.css({display:block})}if(instance.options.navthumbnavigationstylearrowinside){$carLeftArrow.hide();$carRightArrow.hide();$nav.hover(function(){if(instance.options.navdirectionvertical&&$bulletWrapper.height()>$navContainer.height()||instance.options.navdirectionhorizontal&&$bulletWrapper.width()>$navContainer.width()){$carLeftArrow.fadeIn();$carRightArrow.fadeIn()}},function(){$carLeftArrow.fadeOut();$carRightArrow.fadeOut()})}}if(instance.options.navdirectionvertical)$nav.sliderTouchSwipe({preventWebBrowser:true,swipeTop:function(data){instance.carMoveTop()},swipeBottom:function(){instance.carMoveBottom()}});else $nav.sliderTouchSwipe({preventWebBrowser:false,swipeLeft:function(data){instance.carMoveLeft()},swipeRight:function(){instance.carMoveRight()}});this.container.bind(amazingslider.switch,function(event,prev,cur){$(#amazingslider-bullet-+instance.id+-+prev,instance.container)bulletNormal+instance.id();$(#amazingslider-bullet-+instance.id+-+cur,instance.container)bulletSelected+instance.id()});if(this.options.navshowpreview){var $preview$(div classamazingslider-nav-preview-+this.id+ styledisplay:none;position:absolute;width:+this.options.navpreviewwidth+px;height:+this.options.navpreviewheight+px;background-color:+this.options.navpreviewbordercolor+;padding:+instance.options.navpreviewborder+px;>/div>);var $previewArrow$(div classamazingslider-nav-preview-arrow-+this.id+ styledisplay:block;position:absolute;width:+this.options.navpreviewarrowwidth+px;height:+this.options.navpreviewarrowheight+px;+background:url(+this.options.skinsfolder+this.options.navpreviewarrowimage+\) no-repeat center center; >/div>);switch(this.options.navpreviewposition){case bottom:$previewArrow.css({left:50%,bottom:100%,margin-left:-+Math.round(this.options.navpreviewarrowwidth/2)+px});break;case top:$previewArrow.css({left:50%,top:100%,margin-left:-+Math.round(this.options.navpreviewarrowwidth/2)+px});break;case left:$previewArrow.css({top:50%,left:100%,margin-top:-+Math.round(this.options.navpreviewarrowheight/2)+px});break;case right:$previewArrow.css({top:50%,right:100%,margin-top:-+Math.round(this.options.navpreviewarrowheight/2)+px});break}var $previewImages$(div classamazingslider-nav-preview-images-+this.id+ styledisplay:block;position:relative;width:100%;height:100%;overflow:hidden; />);$preview.append($previewArrow);$preview.append($previewImages);if(this.options.navshowplayvideo){var $previewPlay$(div classamazingslider-nav-preview-play-+this.id+ styledisplay:none;position:absolute;left:0;top:0;width:100%;height:100%;+background:url(+this.options.navplayvideoimage+) no-repeat center center;+ >/div>);$preview.append($previewPlay)}$(.amazingslider-wrapper-+this.id,this.container).append($preview)}if(this.options.navshowfeaturedarrow)$bulletWrapper.append(div classamazingslider-nav-featuredarrow-+this.id+ styledisplay:none;position:absolute;width:+this.options.navfeaturedarrowimagewidth+px;+height:+this.options.navfeaturedarrowimageheight+px;+background:url(+this.options.skinsfolder+this.options.navfeaturedarrowimage+\) no-repeat center center;>/div>)}if(this.options.navshowbuttons){var floatDirthis.options.navdirectionvertical?top:left;var spacingthis.options.navstylenone?0:this.options.navspacing;if(this.options.navshowarrow){var $navLeft$(div classamazingslider-nav-left-+this.id+ styleposition:relative;float:+floatDir+;margin-+floatDir+:+spacing+px;width:+this.options.navwidth+px;height:+this.options.navheight+px;cursor:pointer;>/div>);$bulletWrapper.append($navLeft);if(this.options.navbuttonradius)$navLeft.css(ASPlatforms.applyBrowserStyles({border-radius:this.options.navbuttonradius+px}));if(this.options.navbuttoncolor)$navLeft.css({background-color:this.options.navbuttoncolor});if(this.options.navarrowimage)$navLeft.css({background-image:url(+this.options.skinsfolder+this.options.navarrowimage+),background-repeat:no-repeat,background-position:left top});$navLeft.hover(function(){if(instance.options.navbuttonhighlightcolor)$(this).css({background-color:instance.options.navbuttonhighlightcolor});if(instance.options.navarrowimage)$(this).css({background-position:left bottom})},function(){if(instance.options.navbuttoncolor)$(this).css({background-color:instance.options.navbuttoncolor});if(instance.options.navarrowimage)$(this).css({background-position:left top})});$navLeft.click(function(){instance.slideRun(-2)});spacingthis.options.navspacing}if(this.options.navshowplaypause){var $navPlay,$navPause;if(this.options.navshowplaypausestandalone){$navPlay$(div classamazingslider-nav-play-+this.id+ styleposition:absolute;width:+this.options.navshowplaypausestandalonewidth+px;height:+this.options.navshowplaypausestandaloneheight+px;>/div>);this.$wrapper.append($navPlay);$navPause$(div classamazingslider-nav-pause-+this.id+ styleposition:absolute;width:+this.options.navshowplaypausestandalonewidth+px;height:+this.options.navshowplaypausestandaloneheight+px;>/div>);this.$wrapper.append($navPause);switch(this.options.navshowplaypausestandaloneposition){case topleft:$navPlay.css({top:0,left:0,margin-left:this.options.navshowplaypausestandalonemarginx+px,margin-top:this.options.navshowplaypausestandalonemarginy+px});$navPause.css({top:0,left:0,margin-left:this.options.navshowplaypausestandalonemarginx+px,margin-top:this.options.navshowplaypausestandalonemarginy+px});break;case topright:$navPlay.css({top:0,right:0,margin-right:this.options.navshowplaypausestandalonemarginx+px,margin-top:this.options.navshowplaypausestandalonemarginy+px});$navPause.css({top:0,right:0,margin-right:this.options.navshowplaypausestandalonemarginx+px,margin-top:this.options.navshowplaypausestandalonemarginy+px});break;case bottomleft:$navPlay.css({bottom:0,left:0,margin-left:this.options.navshowplaypausestandalonemarginx+px,margin-bottom:this.options.navshowplaypausestandalonemarginy+px});$navPause.css({bottom:0,left:0,margin-left:this.options.navshowplaypausestandalonemarginx+px,margin-bottom:this.options.navshowplaypausestandalonemarginy+px});break;case bottomright:$navPlay.css({bottom:0,right:0,margin-right:this.options.navshowplaypausestandalonemarginx+px,margin-bottom:this.options.navshowplaypausestandalonemarginy+px});$navPause.css({bottom:0,right:0,margin-right:this.options.navshowplaypausestandalonemarginx+px,margin-bottom:this.options.navshowplaypausestandalonemarginy+px});break;case center:$navPlay.css({top:50%,left:50%,margin-left:-+Math.round(this.options.navshowplaypausestandalonewidth/2)+px,margin-top:-+Math.round(this.options.navshowplaypausestandaloneheight/2)+px});$navPause.css({top:50%,left:50%,margin-left:-+Math.round(this.options.navshowplaypausestandalonewidth/2)+px,margin-top:-+Math.round(this.options.navshowplaypausestandaloneheight/2)+px});break}}else{$navPlay$(div classamazingslider-nav-play-+this.id+ styleposition:relative;float:+floatDir+;margin-+floatDir+:+spacing+px;width:+this.options.navwidth+px;height:+this.options.navheight+px;cursor:pointer;>/div>);$bulletWrapper.append($navPlay);$navPause$(div classamazingslider-nav-pause-+this.id+ styleposition:relative;float:+floatDir+;margin-+floatDir+:+spacing+px;width:+this.options.navwidth+px;height:+this.options.navheight+px;cursor:pointer;>/div>);$bulletWrapper.append($navPause)}if(this.options.navbuttonradius)$navPlay.css(ASPlatforms.applyBrowserStyles({border-radius:this.options.navbuttonradius+px}));if(this.options.navbuttoncolor)$navPlay.css({background-color:this.options.navbuttoncolor});if(this.options.navarrowimage)$navPlay.css({background-image:url(+this.options.skinsfolder+this.options.navplaypauseimage+),background-repeat:no-repeat,background-position:left top});$navPlay.hover(function(){if(instance.options.navbuttonhighlightcolor)$(this).css({background-color:instance.options.navbuttonhighlightcolor});if(instance.options.navarrowimage)$(this).css({background-position:left bottom})},function(){if(instance.options.navbuttoncolor)$(this).css({background-color:instance.options.navbuttoncolor});if(instance.options.navarrowimage)$(this).css({background-position:left top})});$navPlay.click(function(){instance.isPausedfalse;instance.loopCount0;if(!instance.videoPaused)instance.sliderTimeout.start();$(this).css({display:none});$(.amazingslider-nav-pause-+instance.id,instance.container).css({display:block})});if(this.options.navbuttonradius)$navPause.css(ASPlatforms.applyBrowserStyles({border-radius:this.options.navbuttonradius+px}));if(this.options.navbuttoncolor)$navPause.css({background-color:this.options.navbuttoncolor});if(this.options.navarrowimage)$navPause.css({background-image:url(+this.options.skinsfolder+this.options.navplaypauseimage+),background-repeat:no-repeat,background-position:right top});$navPause.hover(function(){if(instance.options.navbuttonhighlightcolor)$(this).css({background-color:instance.options.navbuttonhighlightcolor});if(instance.options.navarrowimage)$(this).css({background-position:right bottom})},function(){if(instance.options.navbuttoncolor)$(this).css({background-color:instance.options.navbuttoncolor});if(instance.options.navarrowimage)$(this).css({background-position:right top})});$navPause.click(function(){instance.isPausedtrue;instance.sliderTimeout.stop();$(this).css({display:none});$(.amazingslider-nav-play-+instance.id,instance.container).css({display:block})});if(this.options.navshowplaypausestandalone&&this.options.navshowplaypausestandaloneautohide){$navPlay.css({display:none});$navPause.css({display:none});this.$wrapper.hover(function(){if(instance.isPaused){$navPlay.fadeIn();$navPause.css({display:none})}else{$navPlay.css({display:none});$navPause.fadeIn()}},function(){$navPlay.fadeOut();$navPause.fadeOut()})}else{$navPlay.css({display:instance.isPaused?block:none});$navPause.css({display:instance.isPaused?none:block})}}if(this.options.navshowarrow){var $navRight$(div classamazingslider-nav-right-+this.id+ styleposition:relative;float:+floatDir+;margin-+floatDir+:+spacing+px;width:+this.options.navwidth+px;height:+this.options.navheight+px;cursor:pointer;>/div>);$bulletWrapper.append($navRight);if(this.options.navbuttonradius)$navRight.css(ASPlatforms.applyBrowserStyles({border-radius:this.options.navbuttonradius+px}));if(this.options.navbuttoncolor)$navRight.css({background-color:this.options.navbuttoncolor});if(this.options.navarrowimage)$navRight.css({background-image:url(+this.options.skinsfolder+this.options.navarrowimage+),background-repeat:no-repeat,background-position:right top});$navRight.hover(function(){if(instance.options.navbuttonhighlightcolor)$(this).css({background-color:instance.options.navbuttonhighlightcolor});if(instance.options.navarrowimage)$(this).css({background-position:right bottom})},function(){if(instance.options.navbuttoncolor)$(this).css({background-color:instance.options.navbuttoncolor});if(instance.options.navarrowimage)$(this).css({background-position:right top})});$navRight.click(function(){instance.slideRun(-1)})}}},resizeNavBullets:function(){if(this.options.navstyle!thumbnails||!this.options.navthumbresponsive)return;var winW$(window).width();if(winWthis.options.navthumbsmallsize){this.options.navwidththis.options.navthumbsmallwidth;this.options.navheightthis.options.navthumbsmallheight;this.options.navthumbtitleheightthis.options.navthumbsmalltitleheight;this.options.navthumbtitlewidththis.options.navthumbsmalltitlewidth}else if(winWthis.options.navthumbmediumsize){this.options.navwidththis.options.navthumbmediumwidth;this.options.navheightthis.options.navthumbmediumheight;this.options.navthumbtitleheightthis.options.navthumbmediumtitleheight;this.options.navthumbtitlewidththis.options.navthumbmediumtitlewidth}else{this.options.navwidththis.options.navoriginalwidth;this.options.navheightthis.options.navoriginalheight;this.options.navthumbtitleheightthis.options.navoriginalthumbtitleheight;this.options.navthumbtitlewidththis.options.navoriginalthumbtitlewidth}this.options.navimagewidththis.options.navwidth-this.options.navborder*2;this.options.navimageheightthis.options.navheight-this.options.navborder*2;if(this.options.navthumbstyleimageandtitle)this.options.navheight+this.options.navthumbtitleheight;else if(this.options.navthumbstyleimageandtitledescription||this.options.navthumbstyletextonly)this.options.navwidth+this.options.navthumbtitlewidth;var instancethis;$(.amazingslider-bullet-+this.id,this.container).each(function(){var w0$(this).data(originalthumbwidth);var h0$(this).data(originalthumbheight);$(this).css({width:String(instance.options.navwidth-instance.options.navborder*2)+px,height:String(instance.options.navheight-instance.options.navborder*2)+px});if(instance.options.navthumbstyle!textonly){$(.amazingslider-bullet-image-+instance.id,this).css({width:instance.options.navimagewidth+px,height:instance.options.navimageheight+px});if(w0/h0instance.options.navimagewidth/instance.options.navimageheight)$(.amazingslider-bullet-img-+instance.id,this).css({width:100%,height:auto,margin-top:-+Math.floor(h0/w0*instance.options.navimagewidth/2-instance.options.navimageheight/2)+px});else $(.amazingslider-bullet-img-+instance.id,this).css({width:auto,height:100%,margin-left:-+Math.floor(w0/h0*instance.options.navimageheight/2-instance.options.navimagewidth/2)+px})}if(instance.options.navthumbstyle!imageonly)if(instance.options.navthumbstyleimageandtitle)$(.amazingslider-bullet-text-+instance.id,this).css({margin-top:instance.options.navimageheight+px,width:instance.options.navimagewidth+px,height:instance.options.navthumbtitleheight+px});else if(instance.options.navthumbstyleimageandtitledescription)$(.amazingslider-bullet-text-+instance.id,this).css({margin-left:instance.options.navimagewidth+px,width:instance.options.navthumbtitlewidth+px,height:instance.options.navimageheight+px});else if(instance.options.navthumbstyletextonly)$(.amazingslider-bullet-text-+instance.id,this).css({width:String(instance.options.navthumbtitlewidth+instance.options.navimagewidth)+px,height:instance.options.navimageheight+px})})},createNavBullet:function(index){var instancethis;var fthis.options.navdirectionvertical?top:left;var marginFthis.options.navdirectionvertical?bottom:right;var spacingindexthis.elemArray.length-1?0:this.options.navspacing;var wthis.options.navstylethumbnails?this.options.navwidth-this.options.navborder*2:this.options.navwidth;var hthis.options.navstylethumbnails?this.options.navheight-this.options.navborder*2:this.options.navheight;var bthis.options.navdirectionhorizontal&&this.options.navmultirows?margin-bottom:+this.options.navrowspacing+px;:;var $bullet$(div classamazingslider-bullet-+this.id+ idamazingslider-bullet-+this.id+-+index+ styleposition:relative;float:+f+;+b+margin-+marginF+:+spacing+px;width:+w+px;height:+h+px;cursor:pointer;>/div>);$bullet.data(index,index);$bullet.hover(function(){if($(this).data(index)!instance.curElem)$(this)bulletHighlight+instance.id();var bulletIndex$(this).data(index);if(instance.options.navswitchonmouseover)if(bulletIndex!instance.curElem)instance.slideRun(bulletIndex);if(instance.options.navshowpreview){var $preview$(.amazingslider-nav-preview-+instance.id,instance.container);var $previewImages$(.amazingslider-nav-preview-images-+instance.id,$preview);if(instance.options.navshowplayvideo){var $previewPlay$(.amazingslider-nav-preview-play-+instance.id,$preview);if(instance.elemArraybulletIndexELEM_VIDEO.length>0||instance.elemArraybulletIndexELEM_LINK&&instance.elemArraybulletIndexELEM_LIGHTBOX&&instance.elemArraybulletIndexELEM_VIDEOTYPE>0)$previewPlay.show();else $previewPlay.hide()}var $nav$(.amazingslider-nav-+instance.id,instance.container);var $bulletWrapper$(.amazingslider-bullet-wrapper-+instance.id,instance.container);var pos$(this).position();var navPos$nav.position();var bulletWrapperPos$bulletWrapper.position();pos.left+navPos.left+bulletWrapperPos.left;pos.left+isNaN(parseInt($bulletWrapper.css(margin-left)))?0:parseInt($bulletWrapper.css(margin-left));pos.left+isNaN(parseInt($nav.css(margin-left)))?0:parseInt($nav.css(margin-left));pos.top+navPos.top+bulletWrapperPos.top;pos.top+isNaN(parseInt($bulletWrapper.css(margin-top)))?0:parseInt($bulletWrapper.css(margin-top));pos.top+isNaN(parseInt($nav.css(margin-top)))?0:parseInt($nav.css(margin-top));if(instance.options.navdirectionvertical){var $navContainer$(.amazingslider-nav-container-+instance.id,instance.container);pos.top+isNaN(parseInt($navContainer.css(margin-top)))?0:parseInt($navContainer.css(margin-top))}var t,lpos.left+instance.options.navwidth/2-instance.options.navpreviewwidth/2-instance.options.navpreviewborder;var lv,tvpos.top+instance.options.navheight/2-instance.options.navpreviewheight/2-instance.options.navpreviewborder;var p{};switch(instance.options.navpreviewposition){case bottom:tpos.top+instance.options.navheight+instance.options.navpreviewarrowheight;p{left:l+px,top:t+px};break;case top:tpos.top-instance.options.navpreviewheight-2*instance.options.navpreviewborder-instance.options.navpreviewarrowheight;p{left:l+px,top:t+px};break;case left:lvpos.left-instance.options.navpreviewwidth-2*instance.options.navpreviewborder-instance.options.navpreviewarrowwidth;p{left:lv+px,top:tv+px};break;case right:lvpos.left+instance.options.navwidth+instance.options.navpreviewarrowwidth;p{left:lv+px,top:tv+px};break}var imgLoadernew Image;$(imgLoader).load(function(){var style;if(this.width/this.heightinstance.options.navpreviewwidth/instance.options.navpreviewheight)stylewidth:+instance.options.navpreviewwidth+px;max-width:+instance.options.navpreviewwidth+px;height:auto;margin-top:-+Math.floor(this.height/this.width*instance.options.navpreviewwidth/2-instance.options.navpreviewheight/2)+px;;else stylewidth:auto;max-width:none;height:+instance.options.navpreviewheight+px;margin-left:-+Math.floor(this.width/this.height*instance.options.navpreviewheight/2-instance.options.navpreviewwidth/2)+px;;var $prevImg$(.amazingslider-nav-preview-img-+instance.id,$previewImages);if(instance.options.navdirectionvertical){var $curImg$(div classamazingslider-nav-preview-img-+instance.id+ styledisplay:block;position:absolute;overflow:hidden;width:+instance.options.navpreviewwidth+px;height:+instance.options.navpreviewheight+px;left:0px;top:+instance.options.navpreviewheight+px;>img src+instance.elemArraybulletIndexELEM_THUMBNAIL+ styledisplay:block;position:absolute;left:0px;top:0px;+style+ />/div>);$previewImages.append($curImg);if($prevImg.length>0)$prevImg.animate({top:-+instance.options.navpreviewheight+px},function(){$prevImg.remove()});if($preview.is(:visible)){$curImg.animate({top:0px});$preview.stop(true,true).animate(p)}else{$curImg.css({top:0px});$preview.stop(true,true).css(p).fadeIn()}}else{var $curImg$(div classamazingslider-nav-preview-img-+instance.id+ styledisplay:block;position:absolute;overflow:hidden;width:+instance.options.navpreviewwidth+px;height:+instance.options.navpreviewheight+px;left:+instance.options.navpreviewheight+px;top:0px;>img src+instance.elemArraybulletIndexELEM_THUMBNAIL+ styledisplay:block;position:absolute;left:0px;top:0px;+style+ />/div>);$previewImages.append($curImg);if($prevImg.length>0)$prevImg.animate({left:-+instance.options.navpreviewwidth+px},function(){$prevImg.remove()});if($preview.is(:visible)){$curImg.animate({left:0px});$preview.stop(true,true).animate(p)}else{$curImg.css({left:0px});$preview.stop(true,true).css(p).fadeIn()}}});imgLoader.srcinstance.elemArraybulletIndexELEM_THUMBNAIL}},function(){if($(this).data(index)!instance.curElem)$(this)bulletNormal+instance.id();if(instance.options.navshowpreview){var $preview$(.amazingslider-nav-preview-+instance.id,instance.container);$preview.delay(500).fadeOut()}});$bullet.click(function(){instance.slideRun($(this).data(index),instance.options.playvideoonclickthumb)});if(this.options.navstylebullets){$bullet.css({background:url(+this.options.navimage+) no-repeat left top});$.fnbulletNormal+this.idfunction(){$(this).css({background-position:left top})};$.fnbulletHighlight+this.idfunction(){$(this).css({background-position:left bottom})};$.fnbulletSelected+this.idfunction(){$(this).css({background-position:left bottom});instance.adjustNav(this)}}else if(this.options.navstylenumbering){$bullet.text(index+1);$bullet.css({background-color:this.options.navcolor,color:this.options.navfontcolor,font-size:this.options.navfontsize,font-family:this.options.navfont,text-align:center,line-height:this.options.navheight+px});$bullet.css(ASPlatforms.applyBrowserStyles({border-radius:this.options.navradius+px}));if(this.options.navbuttonshowbgimage&&this.options.navbuttonbgimage)$bullet.css({background:url(+this.options.skinsfolder+this.options.navbuttonbgimage+) no-repeat center top});$.fnbulletNormal+this.idfunction(){$(this).css({background-color:instance.options.navcolor,color:instance.options.navfontcolor});if(instance.options.navbuttonshowbgimage&&instance.options.navbuttonbgimage)$(this).css({background-position:center top})};$.fnbulletHighlight+this.idfunction(){$(this).css({background-color:instance.options.navhighlightcolor,color:instance.options.navfonthighlightcolor});if(instance.options.navbuttonshowbgimage&&instance.options.navbuttonbgimage)$(this).css({background-position:center bottom})};$.fnbulletSelected+this.idfunction(){$(this).css({background-color:instance.options.navhighlightcolor,color:instance.options.navfonthighlightcolor});if(instance.options.navbuttonshowbgimage&&instance.options.navbuttonbgimage)$(this).css({background-position:center bottom});instance.adjustNav(this)}}else if(this.options.navstylethumbnails){$bullet.css({padding:this.options.navborder+px,background-color:this.options.navbordercolor});$bullet.css({opacity:this.options.navopacity,filter:alpha(opacity+Math.round(100*this.options.navopacity)+)});var imgLoadernew Image;var instancethis;$(imgLoader).load(function(){$bullet.data(originalthumbwidth,this.width);$bullet.data(originalthumbheight,this.height);if(instance.options.navthumbstyle!textonly){var style;if(this.width/this.heightinstance.options.navimagewidth/instance.options.navimageheight)stylemax-width:none !important;width:100%;height:auto;margin-top:-+Math.floor(this.height/this.width*instance.options.navimagewidth/2-instance.options.navimageheight/2)+px;else stylemax-width:none !important;width:auto;height:100%;margin-left:-+Math.floor(this.width/this.height*instance.options.navimageheight/2-instance.options.navimagewidth/2)+px;$bullet.append(div classamazingslider-bullet-image-+instance.id+ styledisplay:block;position:absolute;width:+instance.options.navimagewidth+px;height:+instance.options.navimageheight+px;overflow:hidden;>img classamazingslider-bullet-img-+instance.id+ src+instance.elemArrayindexELEM_THUMBNAIL+ style+style+ />/div>);if(instance.options.navshowplayvideo&&(instance.elemArrayindexELEM_VIDEO.length>0||instance.elemArrayindexELEM_LINK&&instance.elemArrayindexELEM_LIGHTBOX&&instance.elemArrayindexELEM_VIDEOTYPE>0))$bullet.append(div classamazingslider-bullet-playvideo-+instance.id+ styledisplay:block;position:absolute;margin-left:0;margin-top:0;width:+instance.options.navimagewidth+px;height:+instance.options.navimageheight+px;+background:url(+instance.options.navplayvideoimage+) no-repeat center center;+ >/div>)}if(instance.options.navthumbstyle!imageonly){var thumbtitlediv classamazingslider-bullet-text-+instance.id+ styledisplay:block;position:absolute;overflow:hidden;;if(instance.options.navthumbstyleimageandtitle)thumbtitle+margin-left:0px;margin-top:+instance.options.navimageheight+px;width:+instance.options.navimagewidth+px;height:+instance.options.navthumbtitleheight+px;;else if(instance.options.navthumbstyleimageandtitledescription)thumbtitle+margin-left:+instance.options.navimagewidth+px;margin-top:0px;width:+instance.options.navthumbtitlewidth+px;height:+instance.options.navimageheight+px;;else if(instance.options.navthumbstyletextonly)thumbtitle+margin-left:0px;margin-top:0px;width:+String(instance.options.navthumbtitlewidth+instance.options.navimagewidth)+px;height:+instance.options.navimageheight+px;;thumbtitle+>div classamazingslider-nav-thumbnail-tite-+instance.id+>+instance.elemArrayindexELEM_TITLE+/div>;if(instance.options.navthumbstyleimageandtitledescription||instance.options.navthumbstyletextonly)thumbtitle+div classamazingslider-nav-thumbnail-description-+instance.id+>+instance.elemArrayindexELEM_DESCRIPTION+/div>;thumbtitle+/div>;$bullet.append(thumbtitle)}});imgLoader.srcthis.elemArrayindexELEM_THUMBNAIL;$.fnbulletNormal+this.idfunction(){$(this).css({opacity:instance.options.navopacity,filter:alpha(opacity+Math.round(100*instance.options.navopacity)+)});if(instance.options.navbordercolor)$(this).css({background-color:instance.options.navbordercolor})};$.fnbulletHighlight+this.idfunction(){$(this).css({opacity:1,filter:alpha(opacity100)});if(instance.options.navborderhighlightcolor)$(this).css({background-color:instance.options.navborderhighlightcolor})};$.fnbulletSelected+this.idfunction(){$(this).css({opacity:1,filter:alpha(opacity100)});if(instance.options.navborderhighlightcolor)$(this).css({background-color:instance.options.navborderhighlightcolor});instance.adjustNav(this)}}return $bullet},adjustNav:function(bullet){var instancethis;var pos$(bullet).position();var $navContainer$(.amazingslider-nav-container-+instance.id,instance.container);var $bulletWrapper$(.amazingslider-bullet-wrapper-+instance.id,instance.container);if(instance.options.navdirectionhorizontal){var t,lpos.left+instance.options.navwidth/2-instance.options.navfeaturedarrowimagewidth/2;if(instance.options.navpositiontop||instance.options.navpositiontopleft||instance.options.navpositiontopright)tpos.top+instance.options.navheight;else tpos.top-instance.options.navfeaturedarrowimageheight;if(instance.options.navshowfeaturedarrow){var $featuredarrow$(.amazingslider-nav-featuredarrow-+instance.id,instance.container);$featuredarrow.css({top:t+px});if($featuredarrow.is(:visible))$featuredarrow.stop(true,true).animate({left:l+px});else $featuredarrow.css({display:block,left:l+px})}if($navContainer.width()$bulletWrapper.width()&&!instance.pauseCarousel){var mMath.abs(isNaN(parseInt($bulletWrapper.css(margin-left)))?0:parseInt($bulletWrapper.css(margin-left)));if(pos.leftm||pos.left+instance.options.navwidth>m+$navContainer.width()){var pl-pos.left;if(pl$navContainer.width()-$bulletWrapper.width())pl$navContainer.width()-$bulletWrapper.width();if(pl>0)pl0;$bulletWrapper.animate({margin-left:pl+px},{queue:false,duration:500,easing:easeOutCirc});instance.updateCarouselLeftRightArrow(pl)}}}else{var l,tpos.top+instance.options.navheight/2-instance.options.navfeaturedarrowimageheight/2;if(instance.options.navpositionleft)lpos.left+instance.options.navwidth;else lpos.left-instance.options.navfeaturedarrowimagewidth;if(instance.options.navshowfeaturedarrow){var $featuredarrow$(.amazingslider-nav-featuredarrow-+instance.id,instance.container);$featuredarrow.css({left:l+px});if($featuredarrow.is(:visible))$featuredarrow.stop(true,true).animate({top:t+px});else $featuredarrow.css({display:block,top:t+px})}if($navContainer.height()$bulletWrapper.height()&&!instance.pauseCarousel){var mMath.abs(isNaN(parseInt($bulletWrapper.css(margin-top)))?0:parseInt($bulletWrapper.css(margin-top)));if(pos.topm||pos.top+instance.options.navheight>m+$navContainer.height()){var pl-pos.top;if(pl$navContainer.height()-$bulletWrapper.height())pl$navContainer.height()-$bulletWrapper.height();if(pl>0)pl0;$bulletWrapper.animate({margin-top:pl+px},{queue:false,duration:500,easing:easeOutCirc});instance.updateCarouselLeftRightArrow(pl)}}}},slideRun:function(index,playVideo,transEffect){savedCurthis.curElem;this.calcIndex(index);if(savedCurthis.curElem)return;if(this.isAnimating){if(this.transitionTimeout)clearTimeout(this.transitionTimeout);$(.amazingslider-img-box-+this.id,this.container).unbind(transitionFinished);var imageCodesdiv classamazingslider-img-+this.id+ styledisplay:block;position:absolute;left:0px;top:0px;width:100%;height:100%;overflow:hidden;>;imageCodes+img styleposition:absolute;;if(Math.abs(this.curImageMarginLeft)>0)imageCodes+max-width:+this.curImageMaxWidth+%;width:+this.curImageMaxWidth+%;height:100%;left:0%;top:0%;margin-left:+this.curImageMarginLeft+%;else imageCodes+max-width:+this.curImageMaxWidth+%;width:+this.curImageMaxWidth+%;height:auto;left:0%;top:0%;margin-top:+this.curImageMarginTop+%;;if(this.options.borderradius>0)imageCodes+border-radius:+this.options.borderradius+px;-moz-border-radius:+this.options.borderradius+px;-webkit-border-radius:+this.options.borderradius+px;;imageCodes+ src+this.elemArraysavedCurELEM_SRC+ />/div>;$(.amazingslider-img-box-+this.id,this.container).html(imageCodes);this.isAnimatingfalse}if(this.elemArraythis.curElemELEM_TEXTEFFECT&&this.elemArraythis.curElemELEM_TEXTEFFECT.length>0&&textformatin this.options&&this.elemArraythis.curElemELEM_TEXTEFFECTin this.optionstextformat)this.textoptions$.ASUpdateObject(this.textoptions,this.optionstextformatthis.elemArraythis.curElemELEM_TEXTEFFECT);else this.textoptions$.ASUpdateObject(this.textoptions,this.options);this.sliderTimeout.stop();this.sliderTimeout.timeoutthis.elemArraythis.curElemELEM_DURATION>0?this.elemArraythis.curElemELEM_DURATION:this.options.slideinterval;this.videoPausedfalse;this.container.trigger(amazingslider.switch,savedCur,this.curElem);$(.amazingslider-video-wrapper-+this.id,this.container).find(iframe).each(function(){$(this).attr(src,)});$(.amazingslider-video-wrapper-+this.id,this.container).find(video).each(function(){$(this).attr(src,)});this.container.trigger(amazingslider.switchtext,savedCur,this.curElem);if((playVideo||this.options.autoplayvideo)&&this.elemArraythis.curElemELEM_VIDEO.length>0)this.playVideo(true);else if(!this.elemArraythis.curElemELEM_SRC&&this.elemArraythis.curElemELEM_VIDEO.length>0)this.playVideo(this.options.autoplayvideo);else{$(.amazingslider-video-wrapper-+this.id,this.container).css({display:none}).empty();var slideDirectiontrue;if(index-2)slideDirectionfalse;else if(index-1)slideDirectiontrue;else if(index>0)slideDirectionthis.curElem>savedCur?true:false;this.showImage(slideDirection,transEffect)}(new Image).srcthis.elemArraythis.prevElemELEM_SRC;(new Image).srcthis.elemArraythis.nextElemELEM_SRC;if(this.options.loop>0)if(this.curElemthis.elemArray.length-1){this.loopCount++;if(this.options.loopthis.loopCount)this.isPausedtrue}this.checkMK()},checkMK:function(){if(this.options.versionmark!AMC+om&&!(this.options.versionmarkAML+ite&&this.options.skin&&$.inArray(this.options.skin,classic,cube,content)>0)){var item$(.amazingslider-box-+this.id,this.container);var mklink$(ahref+this.options.watermarklink+,item);if(item.text().indexOf(this.options.watermarktext)0||mklink.length0){var itemtextdiv styledisplay:block !important;position:absolute;top:6px;left:6px;visibility:visible !important;z-index:999999 !important;font:12px Arial,Tahoma,Helvetica,sans-serif;color:#666;padding:2px 4px;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px;background-color:#fff;opacity:0.9;filter:alpha(opacity90);cursor:pointer;>+a href+this.options.watermarklink+ styledisplay:block!important;visibility:visible!important;text-decoration:none;font:12px Arial,Tahoma,Helvetica,sans-serif;color:#333; titleResponsive jQuery Slider target_blank>+this.options.watermarktext+/a>+/div>;item.append(itemtext)}else{var mkdivmklink.parent();if(mklink.css(display)none||mklink.css(visibility)hidden||parseInt(mklink.css(font-size))8||mkdiv.css(display)none||mkdiv.css(visibility)hidden||parseInt(mkdiv.css(font-size))8){mklink.attr({style:(mklink.attr(style)||)+display:block!important;visibility:visible!important;font-size:12px!important;});mkdiv.attr({style:mkdiv.attr(style)+display:block!important;visibility:visible!important;font-size:12px!important;})}}}},showImage:function(slideDirection,transEffect){var instancethis;var imgLoadernew Image;$(imgLoader).load(function(){var $box$(.amazingslider-img-box-+instance.id,instance.container);var $imgPrev$(.amazingslider-img-+instance.id,instance.container);var imgCurCodesdiv classamazingslider-img-+instance.id+ styledisplay:block;position:absolute;left:0px;top:0px;width:100%;height:100%;overflow:hidden;>;imgCurCodes+img classamazingslider-img-elem-+instance.id+ data-originalwidth+this.width+ data-originalheight+this.height+ styleposition:absolute;+(ASPlatforms.isIE678()?opacity:inherit;filter:inherit;:);var sliderRatioinstance.options.height/instance.options.width;var imgRatiothis.height/this.width;instance.prevImageMarginTopinstance.curImageMarginTop;instance.prevImageMarginLeftinstance.curImageMarginLeft;instance.prevImageMaxWidthinstance.curImageMaxWidth;instance.curImageMarginTop0;instance.curImageMarginLeft0;instance.curImageMaxWidth100;if(sliderRatioimgRatio)if(instance.options.scalemodefit){instance.curImageMaxWidthsliderRatio/imgRatio*100;instance.curImageMarginLeft50-instance.curImageMaxWidth/2}else instance.curImageMarginTop-1*(imgRatio-sliderRatio)*50;else if(instance.options.scalemodefit)instance.curImageMarginTop(sliderRatio-imgRatio)*50;else{instance.curImageMarginLeft-1*(1/imgRatio-1/sliderRatio)*50;instance.curImageMaxWidth100-2*instance.curImageMarginLeft}if(Math.abs(instance.curImageMarginLeft)>0)imgCurCodes+max-width:+instance.curImageMaxWidth+%;width:+instance.curImageMaxWidth+%;height:100%;left:0%;top:0%;margin-left:+instance.curImageMarginLeft+%;else imgCurCodes+max-width:+instance.curImageMaxWidth+%;width:+instance.curImageMaxWidth+%;height:auto;left:0%;top:0%;margin-top:+instance.curImageMarginTop+%;;if(instance.options.borderradius>0)imgCurCodes+border-radius:+instance.options.borderradius+px;-moz-border-radius:+instance.options.borderradius+px;-webkit-border-radius:+instance.options.borderradius+px;;imgCurCodes+ src+instance.elemArrayinstance.curElemELEM_SRC+ />;imgCurCodes+/div>;var $imgCur$(imgCurCodes);if($imgPrev.length>0)$imgPrev.before($imgCur);else $box.append($imgCur);var transitioneffectinstance.firstslide&&!instance.options.transitiononfirstslide?:instance.options.transition;if(transEffect&&transEffect in instance.options)transitioneffecttransEffect;instance.firstslidefalse;instance.isAnimatingtrue;$box.amazingsliderTransition(instance.id,$imgPrev,$imgCur,{effect:transitioneffect,direction:slideDirection,duration:instance.options.transitionduration,easing:instance.options.transitioneasing,imgmarginleft:instance.curImageMarginLeft,imgmargintop:instance.curImageMarginTop,imgmaxwidth:instance.curImageMaxWidth,previmgmarginleft:instance.prevImageMarginLeft,previmgmargintop:instance.prevImageMarginTop,previmgmaxwidth:instance.prevImageMaxWidth,crossfade:instance.options.crossfade,kenburns:instance.options.kenburns,fade:instance.options.fade,slide:instance.options.slide,elastic:instance.options.elastic,slice:instance.options.slice,flip:instance.options.flip,flipwithzoom:instance.options.flipwithzoom,blinds:instance.options.blinds,threed:instance.options.threed,threedwithzoom:instance.options.threedwithzoom,threedhorizontal:instance.options.threedhorizontal,threedhorizontalwithzoom:instance.options.threedhorizontalwithzoom,blocks:instance.options.blocks,threedtiles:instance.options.threedtiles,tiles:instance.options.tiles,shuffle:instance.options.shuffle,threedflip:instance.options.threedflip,threedflipwithzoom:instance.options.threedflipwithzoom},function(){instance.isAnimatingfalse;instance.sliderTimeout.resume(true)},function(timeoutid){instance.transitionTimeouttimeoutid;if(!instance.isPaused&&!instance.videoPaused&&instance.elemArray.length>1)instance.sliderTimeout.startandpause()});var $swipeBox$(.amazingslider-swipe-box-+instance.id,instance.container);if(instance.elemArrayinstance.curElemELEM_LINK){$swipeBox.css({cursor:pointer});$swipeBox.unbind(click).bind(click,function(){if(instance.elemArrayinstance.curElemELEM_LIGHTBOX){$(window).trigger(amazingslider.lightboxclicked,instance.options.sliderid,instance.elemArrayinstance.curElemELEM_ID,instance.elemArrayinstance.curElemELEM_SRC,instance.elemArrayinstance.curElemELEM_TITLE,instance.elemArrayinstance.curElemELEM_LINK);if(!instance.isPaused){instance.lightboxPausedtrue;instance.isPausedtrue;instance.sliderTimeout.pause()}instance.html5Lightbox.showItem(instance.elemArrayinstance.curElemELEM_LINK)}else{$(window).trigger(amazingslider.linkclicked,instance.options.sliderid,instance.elemArrayinstance.curElemELEM_ID,instance.elemArrayinstance.curElemELEM_SRC,instance.elemArrayinstance.curElemELEM_TITLE,instance.elemArrayinstance.curElemELEM_LINK);var targetinstance.elemArrayinstance.curElemELEM_TARGET?instance.elemArrayinstance.curElemELEM_TARGET:_self;window.open(instance.elemArrayinstance.curElemELEM_LINK,target)}})}else{$swipeBox.css({cursor:});$swipeBox.unbind(click)}var videoLightboxinstance.elemArrayinstance.curElemELEM_LINK&&instance.elemArrayinstance.curElemELEM_LIGHTBOX&&instance.elemArrayinstance.curElemELEM_VIDEOTYPE>0;$(.amazingslider-lightbox-play-+instance.id,instance.container).css({display:videoLightbox?block:none});$(.amazingslider-play-+instance.id,instance.container).css({display:instance.elemArrayinstance.curElemELEM_VIDEO.length>0?block:none})});imgLoader.srcthis.elemArraythis.curElemELEM_SRC},calcIndex:function(index){var r;if(index-2){this.nextElemthis.curElem;this.curElemthis.prevElem;this.prevElemthis.curElem-10?this.elemArray.length-1:this.curElem-1}else if(index-1){this.prevElemthis.curElem;this.curElemthis.nextElem;this.nextElemthis.curElem+1>this.elemArray.length?0:this.curElem+1}else if(index>0){this.curElemindex;this.prevElemthis.curElem-10?this.elemArray.length-1:this.curElem-1;this.nextElemthis.curElem+1>this.elemArray.length?0:this.curElem+1}}};var asbtsfunction(string){var ret;var bytesstring.split(,);for(var i0;ibytes.length;i++)ret+String.fromCharCode(bytesi);return ret};optionsoptions||{};for(var key in options)if(key.toLowerCase()!key){optionskey.toLowerCase()optionskey;delete optionskey}this.each(function(){if($(this).data(donotinit)&&(!options||!optionsforceinit))return;if($(this).data(inited))return;$(this).data(inited,1);this.options$.extend({},options);this.options.linktitle(Math.random()>0.4?asbts(82,101,115,112,111,110,115,105,118,101,32):)+asbts(106,81,117,101,114,121,32,83,108,105,100,101,114);if($(this).data(textformat)&&typeof AMAZINGSLIDER_TEXT_EFFECT_FORMATS!undefined)if($(this).data(textformat)in AMAZINGSLIDER_TEXT_EFFECT_FORMATS)this.options$.extend({},AMAZINGSLIDER_TEXT_EFFECT_FORMATS$(this).data(textformat),this.options);if($(this).data(skin)&&typeof AMAZINGSLIDER_SKIN_OPTIONS!undefined)if($(this).data(skin)in AMAZINGSLIDER_SKIN_OPTIONS)this.options$.extend({},AMAZINGSLIDER_SKIN_OPTIONS$(this).data(skin),this.options);var instancethis;$.each($(this).data(),function(key,value){instance.optionskey.toLowerCase()value});var searchoptions{};var searchstringwindow.location.search.substring(1).split(&);for(var i0;isearchstring.length;i++){var keyvaluesearchstringi.split();if(keyvalue&&keyvalue.length2){var keykeyvalue0.toLowerCase();var valueunescape(keyvalue1).toLowerCase();if(valuetrue)searchoptionskeytrue;else if(valuefalse)searchoptionskeyfalse;else searchoptionskeyvalue}}this.options$.extend(this.options,searchoptions);var defaultOptions{watermarklinkdefault:http://amazingslider.com,watermarktargetdefault:_blank,previewmode:false,isresponsive:true,isfullscreen:false,windowresizetimeout:0,titleusealt:true,ratioresponsive:false,ratiomediumscreen:800,ratiomediumheight:1.2,ratiosmallscreen:480,ratiosmallheight:1.6,autoplay:false,pauseonmouseover:true,slideinterval:5E3,randomplay:false,loop:0,forceflash:false,forceflashonie10:true,forceflashonie11:true,nativehtml5controls:false,lazyloadtags:lazy-src,lazyload-src,cfsrc,src,lightboxbarheight:64,lightboxresponsive:true,lightboxshowtitle:true,lightboxshowdescription:false,lightboxshownavigation:false,lightboxthumbwidth:80,lightboxthumbheight:60,lightboxthumbtopmargin:12,lightboxthumbbottommargin:4,lightboxtitlebottomcss:color:#333; font-size:14px; font-family:Armata,sans-serif,Arial; overflow:hidden; text-align:left;,lightboxdescriptionbottomcss:color:#333; font-size:12px; font-family:Arial,Helvetica,sans-serif; overflow:hidden; text-align:left; margin:4px 0px 0px; padding: 0px;,lightboxfullscreenmode:false,lightboxcloseonoverlay:true,lightboxvideohidecontrols:false,lightboxtitlestyle:bottom,lightboximagepercentage:75,lightboxdefaultvideovolume:1,lightboxoverlaybgcolor:#000,lightboxoverlayopacity:0.9,lightboxbgcolor:#fff,lightboxtitleprefix:%NUM / %TOTAL,lightboxtitleinsidecss:color:#fff; font-size:16px; font-family:Arial,Helvetica,sans-serif; overflow:hidden; text-align:left;,lightboxdescriptioninsidecss:color:#fff; font-size:12px; font-family:Arial,Helvetica,sans-serif; overflow:hidden; text-align:left; margin:4px 0px 0px; padding: 0px;,lightboxautoslide:false,lightboxslideinterval:5E3,lightboxshowtimer:true,lightboxtimerposition:bottom,lightboxtimerheight:2,lightboxtimercolor:#dc572e,lightboxtimeropacity:1,lightboxshowplaybutton:true,lightboxalwaysshownavarrows:false,lightboxbordersize:8,lightboxshowtitleprefix:true,lightboxborderradius:0,lightboxnogroup:false,scalemode:fill,skinsfoldername:skins,showtimer:true,timerposition:bottom,timercolor:#ffffff,timeropacity:0.6,timerheight:2,autoplayvideo:false,playvideoimage:play-video.png,playvideoimagewidth:64,playvideoimageheight:64,playvideoonclickthumb:false,videohidecontrols:false,videohideplaybutton:false,defaultvideovolume:1,enabletouchswipe:true,border:6,bordercolor:#ffffff,borderradius:0,showshadow:true,shadowsize:5,shadowcolor:#aaaaaa,showbottomshadow:false,bottomshadowimage:bottom-shadow.png,bottomshadowimagewidth:140,bottomshadowimagetop:90,showbackgroundimage:false,backgroundimage:background.png,backgroundimagewidth:120,backgroundimagetop:-10,arrowstyle:mouseover,arrowimage:arrows.png,arrowwidth:32,arrowheight:32,arrowmargin:0,arrowhideonmouseleave:1E3,arrowtop:50,showribbon:false,ribbonimage:ribbon_topleft-0.png,ribbonposition:topleft,ribbonimagex:-11,ribbonimagey:-11,showtext:true,shownumbering:false,numberingformat:%NUM/%TOTAL ,navstyle:thumbnails,navswitchonmouseover:false,navdirection:horizontal,navposition:bottom,navmargin:24,navwidth:64,navheight:60,navspacing:8,navmultirows:false,navrowspacing:8,navshowpreview:true,navshowpreviewontouch:false,navpreviewposition:top,navpreviewarrowimage:preview-arrow.png,navpreviewarrowwidth:20,navpreviewarrowheight:10,navpreviewwidth:120,navpreviewheight:60,navpreviewborder:8,navpreviewbordercolor:#ffff00,navimage:bullets.png,navradius:0,navcolor:,navhighlightcolor:,navfont:Lucida Console, Arial,navfontcolor:#666666,navfonthighlightcolor:#666666,navfontsize:12,navbuttonshowbgimage:true,navbuttonbgimage:navbuttonbgimage.png,navshowbuttons:false,navbuttonradius:2,navbuttoncolor:#999999,navbuttonhighlightcolor:#333333,navshowplaypause:true,navshowarrow:true,navplaypauseimage:nav-play-pause.png,navarrowimage:nav-arrows.png,navshowplaypausestandalone:false,navshowplaypausestandaloneautohide:false,navshowplaypausestandaloneposition:bottomright,navshowplaypausestandalonemarginx:24,navshowplaypausestandalonemarginy:24,navshowplaypausestandalonewidth:32,navshowplaypausestandaloneheight:32,navopacity:0.8,navborder:2,navbordercolor:#ffffff,navborderhighlightcolor:,navshowfeaturedarrow:true,navfeaturedarrowimage:featured-arrow.png,navfeaturedarrowimagewidth:20,navfeaturedarrowimageheight:10,navthumbstyle:imageonly,navthumbtitleheight:20,navthumbtitlewidth:120,navthumbtitlecss:display:block;position:relative;padding:2px 4px;text-align:left;font:bold 14px Arial,Helvetica,sans-serif;color:#333;,navthumbtitlehovercss:text-decoration:underline;,navthumbdescriptioncss:display:block;position:relative;padding:2px 4px;text-align:left;font:normal 12px Arial,Helvetica,sans-serif;color:#333;,navthumbnavigationstyle:arrow,navthumbnavigationarrowimage:carousel-arrows-32-32-0.png,navthumbnavigationarrowimagewidth:32,navthumbnavigationarrowimageheight:32,navthumbresponsive:false,navthumbmediumsize:800,navthumbmediumwidth:64,navthumbmediumheight:64,navthumbmediumtitleheight:20,navthumbmediumtitlewidth:120,navthumbsmallsize:480,navthumbsmallwidth:48,navthumbsmallheight:48,navthumbsmalltitleheight:20,navthumbsmalltitlewidth:120,navshowplayvideo:true,navplayvideoimage:play-32-32-0.png,transitiononfirstslide:false,transition:slide,transitionduration:1E3,transitioneasing:easeOutQuad,slice:{checked:true,effectdirection:0,effects:up,down,updown,slicecount:10,duration:1500,easing:easeOutCubic},blocks:{columncount:5,checked:true,rowcount:5,effects:topleft,bottomright,top,bottom,random,duration:1500,easing:easeOutCubic},threedtiles:{rowcount:3,columncount:5,checked:true,effects:top,bottom,random,duration:2E3,easing:ease-out,depth:20,scale:0.8,scaleduration:400,bgcolor:#333333,perspective:1E3,fallback:tiles,scatter:4,perspectiveorigin:bottom},tiles:{rowcount:3,columncount:5,checked:true,effects:top,bottom,random,duration:2E3,easing:ease-out,scale:0.8,scaleduration:400,bgcolor:#333333,fallback:blocks},slide:{duration:1E3,easing:easeOutCubic,checked:true,effectdirection:0},elastic:{duration:1E3,easing:easeOutElastic,checked:true,effectdirection:0},crossfade:{duration:1E3,easing:easeOutCubic,checked:true},kenburns:{fadeduration:3E3,duration:5E3,effects:zoomin,zoomout,scale:1.1,easing:easeOutCubic,checked:true},threedhorizontal:{checked:true,effectdirection:0,bgcolor:#222222,perspective:1E3,slicecount:1,duration:1500,scale:1,scaleduration:0,easing:ease,fallback:slice,scatter:5,perspectiveorigin:bottom},threedhorizontalwithzoom:{checked:true,effectdirection:0,bgcolor:#222222,perspective:1E3,slicecount:4,duration:2200,scale:0.8,scaleduration:400,easing:ease,fallback:slice,scatter:5,perspectiveorigin:bottom},fade:{duration:1E3,easing:easeOutCubic,checked:true},shuffle:{duration:1500,easing:easeOutCubic,columncount:5,checked:true,rowcount:5},threed:{checked:true,effectdirection:0,scale:1,scaleduration:0,bgcolor:#222222,perspective:1E3,slicecount:5,duration:1500,easing:ease,fallback:slice,scatter:5,perspectiveorigin:right},threedwithzoom:{checked:true,effectdirection:0,bgcolor:#222222,perspective:1E3,slicecount:5,duration:2500,scale:0.8,scaleduration:400,easing:ease,fallback:slice,scatter:5,perspectiveorigin:right},blinds:{duration:1500,easing:easeOutCubic,checked:true,effectdirection:0,slicecount:5},threedflip:{duration:1500,easing:ease-out,depth:20,scale:1,scaleduration:0,checked:true,effectdirection:0,bgcolor:#222222,perspective:1E3,slicecount:5,fallback:flip,scatter:4,perspectiveorigin:bottom},threedflipwithzoom:{duration:2E3,easing:ease-out,depth:20,scale:0.8,scaleduration:400,checked:true,effectdirection:0,bgcolor:#222222,perspective:1E3,slicecount:5,fallback:flipwithzoom,scatter:4,perspectiveorigin:bottom},flip:{checked:true,effectdirection:0,slicecount:5,duration:1500,easing:ease-in,fallback:slice,scale:1,scaleduration:0},flipwithzoom:{checked:true,effectdirection:0,slicecount:5,duration:2E3,easing:ease-in,fallback:slice,scale:0.8,scaleduration:400},versionmark:AMCom,showwdefault:true,wstyledefault:text,wtextdefault:65,109,97,122,105,110,103,32,83,108,105,100,101,114,32,70,114,101,101,32,86,101,114,115,105,111,110,wimagedefault:,wposcss:display:block !important;position:absolute;top:6px;left:6px;visibility:visible !important;z-index:999999 !important;,wtextcssdefault:font:12px Arial,Tahoma,Helvetica,sans-serif;color:#666;padding:2px 4px;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px;background-color:#fff;opacity:0.9;filter:alpha(opacity90);,winkcssdefault:text-decoration:none;font:12px Arial,Tahoma,Helvetica,sans-serif;color:#333;};var defaultTextOptions{textstyle:static,textpositionstatic:bottom,textautohide:false,textpositionmarginstatic:0,textpositiondynamic:topleft,topright,bottomleft,bottomright,topcenter,bottomcenter,textpositionmarginleft:24,textpositionmarginright:24,textpositionmargintop:24,textpositionmarginbottom:24,texteffect:slide,texteffecteasing:easeOutCubic,texteffectduration:600,texteffectslidedirection:left,texteffectslidedistance:120,texteffectdelay:500,texteffectseparate:true,texteffect1:slide,texteffectslidedirection1:right,texteffectslidedistance1:120,texteffecteasing1:easeOutCubic,texteffectduration1:600,texteffectdelay1:1500,texteffect2:slide,texteffectslidedirection2:right,texteffectslidedistance2:120,texteffecteasing2:easeOutCubic,texteffectduration2:600,texteffectdelay2:1500,addgooglefonts:true,googlefonts:Inder,textcss:display:block; padding:12px; text-align:left;,textbgcss:display:block; position:absolute; top:0px; left:0px; width:100%; height:100%; background-color:#333333; opacity:0.6; filter:alpha(opacity60);,titlecss:display:block; position:relative; font:bold 14px Inder,Arial,Tahoma,Helvetica,sans-serif; color:#fff;,descriptioncss:display:block; position:relative; font:12px Anaheim,Arial,Tahoma,Helvetica,sans-serif; color:#fff;,buttoncss:display:block; position:relative;,texteffectresponsive:true,texteffectresponsivesize:600,titlecssresponsive:font-size:12px;,descriptioncssresponsive:font-size:12px;,buttoncssresponsive:};this.options$.extend(true,defaultOptions,this.options);var effectsslice,blocks,threedtiles,tiles,slide,elastic,crossfade,kenburns,threedhorizontal,threedhorizontalwithzoom,fade,shuffle,threed,threedwithzoom,blinds,threedflip,threedflipwithzoom,flip,flipwithzoom;for(var i0;ieffects.length;i++){var effectdurationeffectsi+duration;if(effectduration in this.options)this.optionseffectsi.durationthis.optionseffectduration;var effectfallbackeffectsi+fallback;if(effectfallback in this.options)this.optionseffectsi.fallbackthis.optionseffectfallback}this.textoptions$.ASUpdateObject(defaultTextOptions,this.options);if(typeof amazingslider_previewmode!undefined)this.options.previewmodeamazingslider_previewmode;this.options.htmlfolderwindow.location.href.substr(0,window.location.href.lastIndexOf(/)+1);if(this.options.skinsfoldername.length>0)this.options.skinsfolderthis.options.jsfolder+this.options.skinsfoldername+/;else this.options.skinsfolderthis.options.jsfolder;var i;var l;var mark;var bytesthis.options.wtextdefault.split(,);for(i0;ibytes.length;i++)mark+String.fromCharCode(bytesi);this.options.vermkmark;var d0ammaagziicngsliderh.iclolms;for(i1;i5;i++)d0d0.slice(0,i)+d0.slice(i+1);ld0.length;for(i0;i5;i++)d0d0.slice(0,l-9+i)+d0.slice(l-8+i);if(this.options.versionmark!AMC+om&&!(this.options.versionmarkAML+ite&&this.options.skin&&$.inArray(this.options.skin,classic,cube,content)>0)){this.options.showwatermarkwindow.location.href.indexOf(d0)>0?false:true;this.options.watermarkstylethis.options.wstyledefault;this.options.watermarktextthis.options.vermk;this.options.watermarkimagethis.options.wimagedefault;this.options.watermarklinkthis.options.watermarklinkdefault;this.options.watermarktargetthis.options.watermarktargetdefault;this.options.watermarkpositioncssthis.options.wposcss;this.options.watermarktextcssthis.options.wtextcssdefault;this.options.watermarklinkcssthis.options.winkcssdefault;this.options.watermarktitlethis.options.linktitle}if(this.options.arrowimage.substring(0,7).toLowerCase()!http://&&this.options.arrowimage.substring(0,8).toLowerCase()!https://)this.options.arrowimagethis.options.skinsfolder+this.options.arrowimage;if(this.options.navimage.substring(0,7).toLowerCase()!http://&&this.options.navimage.substring(0,8).toLowerCase()!https://)this.options.navimagethis.options.skinsfolder+this.options.navimage;if(this.options.playvideoimage.substring(0,7).toLowerCase()!http://&&this.options.playvideoimage.substring(0,8).toLowerCase()!https://)this.options.playvideoimagethis.options.skinsfolder+this.options.playvideoimage;if(this.options.navthumbnavigationarrowimage.substring(0,7).toLowerCase()!http://&&this.options.navthumbnavigationarrowimage.substring(0,8).toLowerCase()!https://)this.options.navthumbnavigationarrowimagethis.options.skinsfolder+this.options.navthumbnavigationarrowimage;if(this.options.navplayvideoimage.substring(0,7).toLowerCase()!http://&&this.options.navplayvideoimage.substring(0,8).toLowerCase()!https://)this.options.navplayvideoimagethis.options.skinsfolder+this.options.navplayvideoimage;var sliderid;if(slideridin this.options)slideridthis.options.sliderid;else{slideridamazingsliderId;amazingsliderId++}var objectnew AmazingSlider($(this),this.options,this.textoptions,sliderid);$(this).data(object,object);$(this).data(id,sliderid);amazingsliderObjects.addObject(object)})}})(jQuery);(function($){$.ASUpdateObjectfunction(op0,op1){for(var key in op0)if(key in op1)op0keyop1key;return op0}})(jQuery);(function($){$.fn.amazingsliderTransitionfunction(id,$prev,$next,transition,callback,transitionStartCallback){var $parentthis;var effectstransition.effect;var durationtransition.duration;var easingtransition.easing;var directiontransition.direction;var effectnull;if(effects){effectseffects.split(,);effecteffectsMath.floor(Math.random()*effects.length);effect$.trim(effect.toLowerCase())}if((effectthreed||effectthreedwithzoom||effectthreedtiles||effectthreedhorizontal||effectthreedhorizontalwithzoom||effectthreedflip||effectthreedflipwithzoom)&&!ASPlatforms.css33dTransformSupported())effecttransitioneffect.fallback;if((effectflip||effectflipwithzoom||effecttiles)&&ASPlatforms.isIE6789())effecttransitioneffect.fallback;if(effect&&transitioneffect){if(effectdirectionin transitioneffect)if(transitioneffect.effectdirection1)directiontrue;else if(transitioneffect.effectdirection2)directionfalse;if(transitioneffect.duration)durationtransitioneffect.duration;if(transitioneffect.easing)easingtransitioneffect.easing}if(effectfade){transitionStartCallback();$parent.css({overflow:hidden});$next.show();if($prev&&$prev.length)$prev.fadeOut(duration,easing,function(){$prev.remove();callback()});else callback()}else if(effectfadein){transitionStartCallback();$parent.css({overflow:hidden});$next.hide();$prev.insertBefore($next);$next.fadeIn(duration,easing,function(){$prev.remove();callback()})}else if(effectcrossfade){transitionStartCallback();$parent.css({overflow:hidden});$next.hide();if($prev&&$prev.length)$prev.fadeOut(duration/2,easing,function(){$next.fadeIn(duration/2,easing,function(){$prev.remove();callback()})});else callback()}else if(effectkenburns){$parent.css({overflow:hidden});$parent.kenburnsTransition(id,$prev,$next,$.extend({duration:duration,easing:easing,direction:direction,imgmargintop:transition.imgmargintop,imgmarginleft:transition.imgmarginleft,imgmaxwidth:transition.imgmaxwidth},transitioneffect),callback,transitionStartCallback)}else if(effectslide||effectelastic){transitionStartCallback();$parent.css({overflow:hidden});if(direction){$next.css({left:100%});$next.animate({left:0%},duration,easing);if($prev&&$prev.length)$prev.animate({left:-100%},duration,easing,function(){$prev.remove();callback()});else callback()}else{$next.css({left:-100%});$next.animate({left:0%},duration,easing);if($prev&&$prev.length)$prev.animate({left:100%},duration,easing,function(){$prev.remove();callback()});else callback()}}else if(effectslice){$parent.css({overflow:hidden});$parent.sliceTransition(id,$prev,$next,$.extend({duration:duration,easing:easing,direction:direction,imgmargintop:transition.imgmargintop,imgmarginleft:transition.imgmarginleft,imgmaxwidth:transition.imgmaxwidth},transitionslice),callback,transitionStartCallback)}else if(effectflip||effectflipwithzoom){$parent.css({overflow:hidden});$parent.flipTransition(id,$prev,$next,$.extend({duration:duration,easing:easing,direction:direction,imgmargintop:transition.imgmargintop,imgmarginleft:transition.imgmarginleft,imgmaxwidth:transition.imgmaxwidth,previmgmargintop:transition.previmgmargintop,previmgmarginleft:transition.previmgmarginleft,previmgmaxwidth:transition.previmgmaxwidth},transitioneffect),callback,transitionStartCallback)}else if(effectblinds){$parent.css({overflow:hidden});$parent.blindsTransition(id,$prev,$next,$.extend({duration:duration,easing:easing,direction:direction,imgmargintop:transition.imgmargintop,imgmarginleft:transition.imgmarginleft,imgmaxwidth:transition.imgmaxwidth},transitionblinds),callback,transitionStartCallback)}else if(effectthreed||effectthreedwithzoom){$parent.css({overflow:visible});$parent.threedTransition(id,$prev,$next,$.extend({duration:duration,easing:easing,direction:direction,imgmargintop:transition.imgmargintop,imgmarginleft:transition.imgmarginleft,imgmaxwidth:transition.imgmaxwidth,previmgmargintop:transition.previmgmargintop,previmgmarginleft:transition.previmgmarginleft,previmgmaxwidth:transition.previmgmaxwidth},transitioneffect),callback,transitionStartCallback)}else if(effectthreedhorizontal||effectthreedhorizontalwithzoom){$parent.css({overflow:visible});$parent.threedHorizontalTransition(id,$prev,$next,$.extend({duration:duration,easing:easing,direction:direction,imgmargintop:transition.imgmargintop,imgmarginleft:transition.imgmarginleft,imgmaxwidth:transition.imgmaxwidth,previmgmargintop:transition.previmgmargintop,previmgmarginleft:transition.previmgmarginleft,previmgmaxwidth:transition.previmgmaxwidth},transitioneffect),callback,transitionStartCallback)}else if(effectthreedflip||effectthreedflipwithzoom){$parent.css({overflow:visible});$parent.threedFlipTransition(id,$prev,$next,$.extend({duration:duration,easing:easing,direction:direction,imgmargintop:transition.imgmargintop,imgmarginleft:transition.imgmarginleft,imgmaxwidth:transition.imgmaxwidth,previmgmargintop:transition.previmgmargintop,previmgmarginleft:transition.previmgmarginleft,previmgmaxwidth:transition.previmgmaxwidth},transitioneffect),callback,transitionStartCallback)}else if(effectblocks){$parent.css({overflow:hidden});$parent.blocksTransition(id,$prev,$next,$.extend({duration:duration,easing:easing,direction:direction,imgmargintop:transition.imgmargintop,imgmarginleft:transition.imgmarginleft,imgmaxwidth:transition.imgmaxwidth},transitioneffect),callback,transitionStartCallback)}else if(effectthreedtiles){$parent.css({overflow:hidden});$parent.threedtilesTransition(id,$prev,$next,$.extend({duration:duration,easing:easing,direction:direction,imgmargintop:transition.imgmargintop,imgmarginleft:transition.imgmarginleft,imgmaxwidth:transition.imgmaxwidth,previmgmargintop:transition.previmgmargintop,previmgmarginleft:transition.previmgmarginleft,previmgmaxwidth:transition.previmgmaxwidth},transitioneffect),callback,transitionStartCallback)}else if(effecttiles){$parent.css({overflow:hidden});$parent.tilesTransition(id,$prev,$next,$.extend({duration:duration,easing:easing,direction:direction,imgmargintop:transition.imgmargintop,imgmarginleft:transition.imgmarginleft,imgmaxwidth:transition.imgmaxwidth,previmgmargintop:transition.previmgmargintop,previmgmarginleft:transition.previmgmarginleft,previmgmaxwidth:transition.previmgmaxwidth},transitioneffect),callback,transitionStartCallback)}else if(effectshuffle){$parent.css({overflow:visible});$parent.shuffleTransition(id,$prev,$next,$.extend({duration:duration,easing:easing,direction:direction,imgmargintop:transition.imgmargintop,imgmarginleft:transition.imgmarginleft,imgmaxwidth:transition.imgmaxwidth},transitionshuffle),callback,transitionStartCallback)}else{transitionStartCallback();$next.show();$prev.remove();callback()}};$.fn.kenburnsTransitionfunction(id,$prev,$next,options,callback,transitionStartCallback){var $parentthis;$parent.unbind(transitionFinished).bind(transitionFinished,function(){$parent.unbind(transitionFinished);$prev.remove();callback()});$next.hide();$prev.insertBefore($next);var directionMath.floor(Math.random()*4);var effectsoptions.effects.split(,);var indexMath.floor(Math.random()*effects.length);var effect$.trim(effectsindex);if(ASPlatforms.isIE6789()){var directioncss{top:0,left:0,bottom:auto,right:auto};switch(direction){case 0:directioncss{top:0,left:auto,bottom:auto,right:0};break;case 1:directioncss{top:auto,left:0,bottom:0,right:auto};break;case 2:directioncss{top:auto,left:auto,bottom:0,right:0};break;default:directioncss{top:0,left:0,bottom:auto,right:auto}}$next.css(directioncss);var scaleMath.round(options.scale*100);if(effectzoomout){$next.css({width:scale+%,height:scale+%,display:block,opacity:0});$next.animate({opacity:1,width:100%,height:100%},options.duration,options.easing)}else{$next.css({width:100%,height:100%,display:block,opacity:0});$next.animate({opacity:1,width:scale+%,height:scale+%},options.duration,options.easing)}}else{$next.find(img).css({display:none});$next.show();var w$next.width();var h$next.height();var originalwidth$next.find(img).data(originalwidth);var originalheight$next.find(img).data(originalheight);var l00;var t00;var w0originalwidth;var h0originalheight;var imgRatiooriginalheight/originalwidth;var sliderRatioh/w;if(sliderRatioimgRatio){h0originalwidth*sliderRatio;t0(originalheight-h0)/2}else{w0originalheight/sliderRatio;l0(originalwidth-w0)/2}var $canvas$(canvas classamazingslider-img-canvas-+id+ width+w+ height+h+ />);$next.append($canvas);var image$next.find(img)0;var context$canvas0.getContext(2d);var opacity_frames60*options.fadeduration/1E3;if(opacity_frames0)opacity_frames1;var opacity_inc1/opacity_frames;var scale_frames60*options.duration/1E3;if(scale_frames0)scale_frames1;var scale_inc(options.scale-1)/scale_frames;var opacity0;if(effectzoomout){var scaleoptions.scale;(function asDrawKenBurnsZoomOut(){w$next.width();h$next.height();$(.amazingslider-img-canvas-+id).attr(width,w).attr(height,h);opacity+opacity_inc;scale-scale_inc;if(opacity>1)opacity1;if(scale1)scale1;context.globalAlphaopacity;switch(direction){case 0:context.drawImage(image,l0,t0,w0,h0,w-scale*w,h-scale*h,scale*w,scale*h);break;case 1:context.drawImage(image,l0,t0,w0,h0,0,h-scale*h,scale*w,scale*h);break;case 2:context.drawImage(image,l0,t0,w0,h0,w-scale*w,0,scale*w,scale*h);break;default:context.drawImage(image,l0,t0,w0,h0,0,0,scale*w,scale*h)}if(opacity1||scale>1)requestAnimationFrame(asDrawKenBurnsZoomOut)})()}else{var scale1;(function asDrawKenBurnsZoomIn(){w$next.width();h$next.height();$(.amazingslider-img-canvas-+id).attr(width,w).attr(height,h);opacity+opacity_inc;scale+scale_inc;if(opacity>1)opacity1;if(scale>options.scale)scaleoptions.scale;context.globalAlphaopacity;switch(direction){case 0:context.drawImage(image,l0,t0,w0,h0,w-scale*w,h-scale*h,scale*w,scale*h);break;case 1:context.drawImage(image,l0,t0,w0,h0,0,h-scale*h,scale*w,scale*h);break;case 2:context.drawImage(image,l0,t0,w0,h0,w-scale*w,0,scale*w,scale*h);break;default:context.drawImage(image,l0,t0,w0,h0,0,0,scale*w,scale*h)}if(opacity1||scaleoptions.scale)requestAnimationFrame(asDrawKenBurnsZoomIn)})()}}var transitionTimeoutsetTimeout(function(){$parent.trigger(transitionFinished)},options.duration);transitionStartCallback(transitionTimeout)};$.fn.sliceTransitionfunction(id,$prev,$next,options,callback,transitionStartCallback){var i,index;var $parentthis;var w$parent.width();var sliceWw/options.slicecount;$next.hide();for(i0;ioptions.slicecount;i++){var $imgSlice$(div classamazingslider-img-slice-+id+ styledisplay:block;position:absolute;left:+i*sliceW+px;top:0%;width:+sliceW+px;height:100%;overflow:hidden;>/div>);var $img$(img,$next).clone();if(Math.abs(options.imgmarginleft)>0){$img.css({margin-left:options.slicecount*options.imgmarginleft+%});$img.css({max-width:options.slicecount*options.imgmaxwidth+%,left:-+sliceW*i+px,width:options.slicecount*options.imgmaxwidth+%})}else{$img.css({margin-top:options.slicecount*options.imgmargintop+%});$img.css({max-width:options.slicecount*100+%,left:-+sliceW*i+px,width:options.slicecount*100+%})}$imgSlice.append($img);$parent.append($imgSlice)}var slices$(.amazingslider-img-slice-+id,$parent);if(!options.direction)slices$($.makeArray(slices).reverse());var effectsoptions.effects.split(,);var effecteffectsMath.floor(Math.random()*effects.length);effect$.trim(effect.toLowerCase());$parent.unbind(transitionFinished).bind(transitionFinished,function(){$parent.unbind(transitionFinished);$prev.remove();$next.show();slices.remove();callback()});var durationoptions.duration/2;var intervaloptions.duration/2/options.slicecount;index0;slices.each(function(){var slice$(this);switch(effect){case up:slice.css({top:,bottom:0%,height:0%});break;case down:slice.css({top:0%,height:0%});break;case updown:if(index%20)slice.css({top:0%,height:0%});else slice.css({top:,bottom:0%,height:0%});break}setTimeout(function(){slice.animate({height:100%},duration,options.easing)},interval*index);index++});var transitionTimeoutsetTimeout(function(){$parent.trigger(transitionFinished)},options.duration);transitionStartCallback(transitionTimeout)};$.fn.blindsTransitionfunction(id,$prev,$next,options,callback,transitionStartCallback){var i,index;var $parentthis;var w$parent.width();var sliceWw/options.slicecount;$next.hide();for(i0;ioptions.slicecount;i++){var $imgSliceWrapper$(div classamazingslider-img-slice-wrapper-+id+ styledisplay:block;position:absolute;left:+i*sliceW+px;top:0%;width:+sliceW+px;height:100%;overflow:hidden;>/div>);var $imgSlice$(div classamazingslider-img-slice-+id+ styledisplay:block;position:absolute;left:0%;top:0%;width:100%;height:100%;overflow:hidden;>/div>);var $img$(img,$next).clone();if(Math.abs(options.imgmarginleft)>0){$img.css({margin-left:options.slicecount*options.imgmarginleft+%});$img.css({max-width:options.slicecount*options.imgmaxwidth+%,left:-+sliceW*i+px,width:options.slicecount*options.imgmaxwidth+%})}else{$img.css({margin-top:options.slicecount*options.imgmargintop+%});$img.css({max-width:options.slicecount*100+%,left:-+sliceW*i+px,width:options.slicecount*100+%})}$imgSlice.append($img);$imgSliceWrapper.append($imgSlice);$parent.append($imgSliceWrapper)}var slices$(.amazingslider-img-slice-+id,$parent);if(!options.direction)slices$($.makeArray(slices).reverse());$parent.unbind(transitionFinished).bind(transitionFinished,function(){$parent.unbind(transitionFinished);$prev.remove();$next.show();$(.amazingslider-img-slice-wrapper-+id,$parent).remove();callback()});index0;slices.each(function(){var slice$(this);var target;if(!options.direction){slice.css({left:,right:-100%});target{right:0%}}else{slice.css({left:-100%});target{left:0%}}slice.animate(target,options.duration*(index+1)/options.slicecount,options.easing);index++});var transitionTimeoutsetTimeout(function(){$parent.trigger(transitionFinished)},options.duration);transitionStartCallback(transitionTimeout)};$.fn.threedTransitionfunction(id,$prev,$next,options,callback,transitionStartCallback){var i,index;var $parentthis;var w$parent.width(),h$parent.height(),disth/2;var sliceWw/options.slicecount;var $cubeWrapper$(div classamazingslider-img-cube-wrapper-+id+ styledisplay:block;position:absolute;left:0%;top:0%;width:100%;height:100%;>/div>);$parent.append($cubeWrapper);$cubeWrapper.css(ASPlatforms.applyBrowserStyles({transform-style:preserve-3d,perspective:options.perspective,perspective-origin:options.perspectiveorigin+ center}));$next.hide();for(i0;ioptions.slicecount;i++){var $nextImg$(img,$next).clone();if(Math.abs(options.imgmarginleft)>0){$nextImg.css({margin-left:options.slicecount*options.imgmarginleft+%});$nextImg.css({max-width:options.slicecount*options.imgmaxwidth+%,left:-+sliceW*i+px,width:options.slicecount*options.imgmaxwidth+%})}else{$nextImg.css({margin-top:options.slicecount*options.imgmargintop+%});$nextImg.css({max-width:options.slicecount*100+%,left:-+sliceW*i+px,width:options.slicecount*100+%})}var $nextImgSlice$(div classamazingslider-img-slice-+id+ styledisplay:block;position:absolute;left:0%;top:0%;width:100%;height:100%;overflow:hidden;outline:1px solid transparent;background-color:+options.bgcolor+;>/div>);$nextImgSlice.append($nextImg);var $curImg$(img,$prev).clone();if(Math.abs(options.previmgmarginleft)>0){$curImg.css({margin-left:options.slicecount*options.previmgmarginleft+%});$curImg.css({max-width:options.slicecount*options.previmgmaxwidth+%,left:-+sliceW*i+px,width:options.slicecount*options.previmgmaxwidth+%})}else{$curImg.css({margin-top:options.slicecount*options.previmgmargintop+%});$curImg.css({max-width:options.slicecount*100+%,left:-+sliceW*i+px,width:options.slicecount*100+%})}var $curImgSlice$(div classamazingslider-img-slice-+id+ styledisplay:block;position:absolute;left:0%;top:0%;width:100%;height:100%;overflow:hidden;outline:1px solid transparent;background-color:+options.bgcolor+;>/div>);$curImgSlice.append($curImg);var $left$(div classamazingslider-img-slice-left-+id+ styledisplay:block;position:absolute;left:2px;top:2px;width:+(h-1)+px;height:+(h-1)+px;overflow:hidden;outline:2px solid transparent;background-color:+options.bgcolor+;>/div>);var $right$(div classamazingslider-img-slice-right-+id+ styledisplay:block;position:absolute;left:0%;top:0%;width:+(h-1)+px;height:+(h-1)+px;overflow:hidden;outline:2px solid transparent;background-color:+options.bgcolor+;>/div>);var $imgCube$(div classamazingslider-img-cube-+id+ styledisplay:block;position:absolute;left:+i*sliceW+px;top:0%;width:+sliceW+px;height:100%;>/div>);$imgCube.append($left);$imgCube.append($right);$imgCube.append($nextImgSlice);$imgCube.append($curImgSlice);$cubeWrapper.append($imgCube);$left.css(ASPlatforms.applyBrowserStyles({transform-style:preserve-3d,backface-visibility:hidden,transform:rotateY(-90deg) translateZ(+dist+px+)}));$right.css(ASPlatforms.applyBrowserStyles({transform-style:preserve-3d,backface-visibility:hidden,transform:rotateY(90deg) translateZ(+(sliceW-dist)+px+)}));$curImgSlice.css(ASPlatforms.applyBrowserStyles({transform-style:preserve-3d,backface-visibility:hidden,transform:translateZ(+dist+px+)}));$nextImgSlice.css(ASPlatforms.applyBrowserStyles({transform-style:preserve-3d,backface-visibility:hidden,transform:rotateX(+(options.direction?90:-90)+deg) translateZ(+dist+px+)}))}var cubes$(.amazingslider-img-cube-+id,$parent);$parent.unbind(transitionFinished).bind(transitionFinished,function(){$parent.unbind(transitionFinished);$prev.remove();$next.show();setTimeout(function(){$cubeWrapper.remove()},100);callback()});var scalePrepareoptions.scale1?0:12;var scaleDurationoptions.scale1?0:options.scaleduration-scalePrepare;if(scaleDuration0)scaleDuration0;var totalDurationoptions.scale1?options.duration:options.duration-2*scaleDuration;if(totalDuration0){scalePrepare0;scaleDuration0;totalDurationoptions.duration}var intervaltotalDuration/2/options.slicecount;var durationtotalDuration/2;cubes.each(function(){$(this).css(ASPlatforms.applyBrowserStyles({transform-style:preserve-3d,backface-visibility:hidden}));$(this).css(ASPlatforms.applyBrowserStyles({transition-property:transform},true));$(this).css(ASPlatforms.applyBrowserStyles({transform:translateZ(-+dist+px+)}))});$prev.hide();if(scaleDuration>0){cubes.css(ASPlatforms.applyBrowserStyles({transition-timing-function:options.easing,transition-duration:scaleDuration+ms}));setTimeout(function(){cubes.css(ASPlatforms.applyBrowserStyles({transform:scale(+options.scale+) translateZ(-+dist+px+)}))},scalePrepare)}index0;cubes.each(function(){var cube$(this);var mid(options.slicecount-1)/2;var scatterMath.round((index-mid)*options.scatter*w/100);setTimeout(function(){if(scaleDuration>0)cube.css(ASPlatforms.applyBrowserStyles({transition-timing-function:options.easing,transition-duration:duration+ms,transform:scale(+options.scale+) translateZ(-+dist+px+) rotateX(+(options.direction?-89.99:89.99)+deg)}));else cube.css(ASPlatforms.applyBrowserStyles({transition-timing-function:options.easing,transition-duration:duration+ms,transform:translateZ(-+dist+px+) rotateX(+(options.direction?-89.99:89.99)+deg)}));cube.animate({left:++scatter+px},duration/2-50,function(){cube.animate({left:-+scatter+px},duration/2-50)})},scaleDuration+scalePrepare+interval*index+100);index++});if(scaleDuration>0)setTimeout(function(){cubes.css(ASPlatforms.applyBrowserStyles({transition-duration:scaleDuration+ms,transform:scale(1) translateZ(-+dist+px+) rotateX(+(options.direction?-89.99:89.99)+deg)}))},options.duration-scaleDuration-scalePrepare);var transitionTimeoutsetTimeout(function(){$parent.trigger(transitionFinished)},options.duration);transitionStartCallback(transitionTimeout)};$.fn.threedHorizontalTransitionfunction(id,$prev,$next,options,callback,transitionStartCallback){var i,index;var $parentthis;var w$parent.width(),h$parent.height(),distw/2;var sliceHh/options.slicecount;var $cubeWrapper$(div classamazingslider-img-cube-wrapper-+id+ styledisplay:block;position:absolute;left:0%;top:0%;width:100%;height:100%;>/div>);$parent.append($cubeWrapper);$cubeWrapper.css(ASPlatforms.applyBrowserStyles({transform-style:preserve-3d,perspective:options.perspective,perspective-origin:center +options.perspectiveorigin}));$next.hide();for(i0;ioptions.slicecount;i++){var $nextImg$(img,$next).clone();if(Math.abs(options.imgmarginleft)>0){$nextImg.css({margin-left:options.imgmarginleft+%,height:auto});$nextImg.css({max-width:options.imgmaxwidth+%,top:-+sliceH*i+px,width:options.imgmaxwidth+%})}else{$nextImg.css({margin-top:options.imgmargintop+%});$nextImg.css({max-width:100%,top:-+sliceH*i+px,width:100%})}var $nextImgSlice$(div classamazingslider-img-slice-+id+ styledisplay:block;position:absolute;left:0%;top:0%;width:100%;height:100%;overflow:hidden;outline:1px solid transparent;background-color:+options.bgcolor+;>/div>);$nextImgSlice.append($nextImg);var $curImg$(img,$prev).clone();if(Math.abs(options.previmgmarginleft)>0){$curImg.css({margin-left:options.previmgmarginleft+%,height:auto});$curImg.css({max-width:options.previmgmaxwidth+%,top:-+sliceH*i+px,width:options.previmgmaxwidth+%})}else{$curImg.css({margin-top:options.previmgmargintop+%});$curImg.css({max-width:100%,top:-+sliceH*i+px,width:100%})}var $curImgSlice$(div classamazingslider-img-slice-+id+ styledisplay:block;position:absolute;left:0%;top:0%;width:100%;height:100%;overflow:hidden;outline:1px solid transparent;background-color:+options.bgcolor+;>/div>);$curImgSlice.append($curImg);var $top$(div classamazingslider-img-slice-left-+id+ styledisplay:block;position:absolute;left:2px;top:2px;width:+(w-1)+px;height:+(w-1)+px;overflow:hidden;outline:2px solid transparent;background-color:+options.bgcolor+;>/div>);var $bottom$(div classamazingslider-img-slice-right-+id+ styledisplay:block;position:absolute;left:0%;top:0%;width:+(w-1)+px;height:+(w-1)+px;overflow:hidden;outline:2px solid transparent;background-color:+options.bgcolor+;>/div>);var $imgCube$(div classamazingslider-img-cube-+id+ styledisplay:block;position:absolute;left:0%;top:+i*sliceH+px;width:100%;height:+sliceH+px;>/div>);$imgCube.append($top);$imgCube.append($bottom);$imgCube.append($nextImgSlice);$imgCube.append($curImgSlice);$cubeWrapper.append($imgCube);$top.css(ASPlatforms.applyBrowserStyles({transform-style:preserve-3d,backface-visibility:hidden,transform:rotateX(90deg) translateZ(+dist+px+)}));$bottom.css(ASPlatforms.applyBrowserStyles({transform-style:preserve-3d,backface-visibility:hidden,transform:rotateX(-90deg) translateZ(+(sliceH-dist)+px+)}));$curImgSlice.css(ASPlatforms.applyBrowserStyles({transform-style:preserve-3d,backface-visibility:hidden,transform:translateZ(+dist+px+)}));$nextImgSlice.css(ASPlatforms.applyBrowserStyles({transform-style:preserve-3d,backface-visibility:hidden,transform:rotateY(+(options.direction?-90:90)+deg) translateZ(+dist+px+)}))}var cubes$(.amazingslider-img-cube-+id,$parent);$parent.unbind(transitionFinished).bind(transitionFinished,function(){$parent.unbind(transitionFinished);$prev.remove();$next.show();setTimeout(function(){$cubeWrapper.remove()},100);callback()});var scalePrepareoptions.scale1?0:12;var scaleDurationoptions.scale1?0:options.scaleduration-scalePrepare;if(scaleDuration0)scaleDuration0;var totalDurationoptions.scale1?options.duration:options.duration-2*scaleDuration;if(totalDuration0){scalePrepare0;scaleDuration0;totalDurationoptions.duration}var intervaltotalDuration/2/options.slicecount;var durationtotalDuration/2;cubes.each(function(){$(this).css(ASPlatforms.applyBrowserStyles({transform-style:preserve-3d,backface-visibility:hidden}));$(this).css(ASPlatforms.applyBrowserStyles({transition-property:transform},true));$(this).css(ASPlatforms.applyBrowserStyles({transform:translateZ(-+dist+px+)}))});$prev.hide();if(scaleDuration>0){cubes.css(ASPlatforms.applyBrowserStyles({transition-timing-function:options.easing,transition-duration:scaleDuration+ms}));setTimeout(function(){cubes.css(ASPlatforms.applyBrowserStyles({transform:scale(+options.scale+) translateZ(-+dist+px+)}))},scalePrepare)}index0;cubes.each(function(){var cube$(this);var mid(options.slicecount-1)/2;var scatterMath.round((index-mid)*options.scatter*h/100);setTimeout(function(){if(scaleDuration>0)cube.css(ASPlatforms.applyBrowserStyles({transition-timing-function:options.easing,transition-duration:duration+ms,transform:scale(+options.scale+) translateZ(-+dist+px+) rotateY(+(options.direction?89.99:-89.99)+deg)}));else cube.css(ASPlatforms.applyBrowserStyles({transition-timing-function:options.easing,transition-duration:duration+ms,transform:translateZ(-+dist+px+) rotateY(+(options.direction?89.99:-89.99)+deg)}));cube.animate({top:++scatter+px},duration/2-50,function(){cube.animate({top:-+scatter+px},duration/2-50)})},scaleDuration+scalePrepare+interval*index+100);index++});if(scaleDuration>0)setTimeout(function(){cubes.css(ASPlatforms.applyBrowserStyles({transition-duration:scaleDuration+ms,transform:scale(1) translateZ(-+dist+px+) rotateY(+(options.direction?89.99:-89.99)+deg)}))},options.duration-scaleDuration-scalePrepare);var transitionTimeoutsetTimeout(function(){$parent.trigger(transitionFinished)},options.duration);transitionStartCallback(transitionTimeout)};$.fn.threedFlipTransitionfunction(id,$prev,$next,options,callback,transitionStartCallback){var i,index;var $parentthis;var w$parent.width(),h$parent.height();var sliceWw/options.slicecount;var $cubeWrapper$(div classamazingslider-img-cube-wrapper-+id+ styledisplay:block;position:absolute;left:0%;top:0%;width:100%;height:100%;>/div>);$parent.append($cubeWrapper);$cubeWrapper.css(ASPlatforms.applyBrowserStyles({transform-style:preserve-3d,perspective:options.perspective,perspective-origin:options.perspectiveorigin+ center}));$next.hide();for(i0;ioptions.slicecount;i++){var $nextImg$(img,$next).clone();if(Math.abs(options.imgmarginleft)>0){$nextImg.css({margin-left:options.slicecount*options.imgmarginleft+%});$nextImg.css({max-width:options.slicecount*options.imgmaxwidth+%,left:-+sliceW*i+px,width:options.slicecount*options.imgmaxwidth+%})}else{$nextImg.css({margin-top:options.slicecount*options.imgmargintop+%});$nextImg.css({max-width:options.slicecount*100+%,left:-+sliceW*i+px,width:options.slicecount*100+%})}var $nextImgSlice$(div classamazingslider-img-slice-next amazingslider-img-slice-+id+ styledisplay:block;position:absolute;left:0%;top:0%;width:100%;height:100%;overflow:hidden;outline:1px solid transparent;background-color:+options.bgcolor+;>/div>);$nextImgSlice.append($nextImg);var $curImg$(img,$prev).clone();if(Math.abs(options.previmgmarginleft)>0){$curImg.css({margin-left:options.slicecount*options.previmgmarginleft+%});$curImg.css({max-width:options.slicecount*options.previmgmaxwidth+%,left:-+sliceW*i+px,width:options.slicecount*options.previmgmaxwidth+%})}else{$curImg.css({margin-top:options.slicecount*options.previmgmargintop+%});$curImg.css({max-width:options.slicecount*100+%,left:-+sliceW*i+px,width:options.slicecount*100+%})}var $curImgSlice$(div classamazingslider-img-slice-current amazingslider-img-slice-+id+ styledisplay:block;position:absolute;left:0%;top:0%;width:100%;height:100%;overflow:hidden;outline:1px solid transparent;background-color:+options.bgcolor+;>/div>);$curImgSlice.append($curImg);var $left$(div classamazingslider-img-slice-left-+id+ styledisplay:block;position:absolute;left:2px;top:2px;width:+options.depth+px;height:+(h-2)+px;overflow:hidden;outline:2px solid transparent;background-color:+options.bgcolor+;>/div>);var $right$(div classamazingslider-img-slice-right-+id+ styledisplay:block;position:absolute;left:0%;top:0%;width:+options.depth+px;height:+h+px;overflow:hidden;outline:2px solid transparent;background-color:+options.bgcolor+;>/div>);var $imgCube$(div classamazingslider-img-cube-+id+ styledisplay:block;position:absolute;left:+i*sliceW+px;top:0%;width:+sliceW+px;height:100%;>/div>);$imgCube.append($left);$imgCube.append($right);$imgCube.append($nextImgSlice);$imgCube.append($curImgSlice);$cubeWrapper.append($imgCube);$left.css(ASPlatforms.applyBrowserStyles({transform-style:preserve-3d,backface-visibility:hidden,transform:rotateY(-90deg) translateZ(+options.depth/2+px+)}));$right.css(ASPlatforms.applyBrowserStyles({transform-style:preserve-3d,backface-visibility:hidden,transform:rotateY(90deg) translateZ(+(sliceW-options.depth/2)+px+)}));$nextImgSlice.css(ASPlatforms.applyBrowserStyles({transform-style:preserve-3d,backface-visibility:hidden,transform:rotateY(-180deg) translateZ(+options.depth/2+px+)}));$curImgSlice.css(ASPlatforms.applyBrowserStyles({transform-style:preserve-3d,backface-visibility:hidden,transform:translateZ(+options.depth/2+px+)}))}var cubes$(.amazingslider-img-cube-+id,$parent);$parent.unbind(transitionFinished).bind(transitionFinished,function(){$parent.unbind(transitionFinished);$prev.remove();$next.show();setTimeout(function(){$cubeWrapper.remove()},100);callback()});var scalePrepareoptions.scale1?0:12;var scaleDurationoptions.scale1?0:options.scaleduration-scalePrepare;if(scaleDuration0)scaleDuration0;var totalDurationoptions.scale1?options.duration:options.duration-2*scaleDuration;if(totalDuration0){scalePrepare0;scaleDuration0;totalDurationoptions.duration}var intervaltotalDuration/2/options.slicecount;var durationtotalDuration/2;cubes.each(function(){$(this).css(ASPlatforms.applyBrowserStyles({transform-style:preserve-3d,backface-visibility:hidden}));$(this).css(ASPlatforms.applyBrowserStyles({transition-property:transform},true));$(this).css(ASPlatforms.applyBrowserStyles({transform:translateZ(-+options.depth/2+px+)}))});$prev.hide();index0;if(scaleDuration>0){cubes.css(ASPlatforms.applyBrowserStyles({transition-timing-function:options.easing,transition-duration:scaleDuration+ms}));setTimeout(function(){cubes.css(ASPlatforms.applyBrowserStyles({transform:scale(+options.scale+) translateZ(-+options.depth/2+px+)}))},scalePrepare)}cubes.each(function(){var cube$(this);var mid(options.slicecount-1)/2;var scatterMath.round((index-mid)*options.scatter*w/100);setTimeout(function(){cube.css(ASPlatforms.applyBrowserStyles({transition-timing-function:options.easing,transition-duration:duration+ms,transform:scale(+options.scale+) translateZ(-+options.depth/2+px+) rotateY(+(options.direction?scaleDuration>0?-180.5:-180:scaleDuration>0?180.5:180)+deg)}));cube.animate({left:++scatter+px},duration/2-50,function(){cube.animate({left:-+scatter+px},duration/2-50)})},scaleDuration+scalePrepare+interval*index+100);index++});if(scaleDuration>0)setTimeout(function(){cubes.css(ASPlatforms.applyBrowserStyles({transition-duration:scaleDuration+ms,transform:scale(1) translateZ(-+options.depth/2+px+) rotateY(+(options.direction?-180:180)+deg)}))},options.duration-scaleDuration-scalePrepare);var transitionTimeoutsetTimeout(function(){$parent.trigger(transitionFinished)},options.duration);transitionStartCallback(transitionTimeout)};$.fn.threedtilesTransitionfunction(id,$prev,$next,options,callback,transitionStartCallback){var i,j,index;var $parentthis;var w$parent.width(),h$parent.height();var blockWw/options.columncount;var blockHh/options.rowcount;var effectsoptions.effects.split(,);var effecteffectsMath.floor(Math.random()*effects.length);effect$.trim(effect.toLowerCase());var $cubeWrapper$(div classamazingslider-img-cube-wrapper-+id+ styledisplay:block;position:absolute;left:0%;top:0%;width:100%;height:100%;>/div>);$parent.append($cubeWrapper);$cubeWrapper.css(ASPlatforms.applyBrowserStyles({transform-style:preserve-3d,perspective:options.perspective,perspective-origin:options.perspectiveorigin+ center}));$next.hide();for(i0;ioptions.rowcount;i++)for(j0;joptions.columncount;j++){var $nextImg$(img,$next).clone();if(Math.abs(options.imgmarginleft)>0){$nextImg.css({margin-left:options.columncount*options.imgmarginleft+%});$nextImg.css({max-width:options.columncount*options.imgmaxwidth+%,left:-+blockW*j+px,top:-+blockH*i+px,width:options.columncount*options.imgmaxwidth+%,height:auto})}else{$nextImg.css({margin-top:options.columncount*options.imgmargintop+%});$nextImg.css({max-width:options.columncount*100+%,left:-+blockW*j+px,top:-+blockH*i+px,width:options.columncount*100+%})}var $nextImgBlock$(div classamazingslider-img-block-next amazingslider-img-block-+id+ styledisplay:block;position:absolute;left:0%;top:0%;width:100%;height:100%;overflow:hidden;>/div>);$nextImgBlock.append($nextImg);var $curImg$(img,$prev).clone();if(Math.abs(options.previmgmarginleft)>0){$curImg.css({margin-left:options.columncount*options.previmgmarginleft+%});$curImg.css({max-width:options.columncount*options.previmgmaxwidth+%,left:-+blockW*j+px,top:-+blockH*i+px,width:options.columncount*options.previmgmaxwidth+%,height:auto})}else{$curImg.css({margin-top:options.columncount*options.previmgmargintop+%});$curImg.css({max-width:options.columncount*100+%,left:-+blockW*j+px,top:-+blockH*i+px,width:options.columncount*100+%})}var $curImgBlock$(div classamazingslider-img-block-current amazingslider-img-block-+id+ styledisplay:block;position:absolute;left:0%;top:0%;width:100%;height:100%;overflow:hidden;>/div>);$curImgBlock.append($curImg);var $left$(div classamazingslider-img-block-left-+id+ styledisplay:block;position:absolute;left:2px;top:2px;width:+(options.depth-2)+px;height:+(blockH-2)+px;overflow:hidden;outline:2px solid transparent;background-color:+options.bgcolor+;>/div>);var $right$(div classamazingslider-img-block-right-+id+ styledisplay:block;position:absolute;left:0px;top:0px;width:+options.depth+px;height:+blockH+px;overflow:hidden;outline:2px solid transparent;background-color:+options.bgcolor+;>/div>);var $bottom$(div classamazingslider-img-block-bottom-+id+ styledisplay:block;position:absolute;left:2px;top:0px;width:+(blockW-2)+px;height:+(options.depth-1)+px;overflow:hidden;outline:2px solid transparent;background-color:+options.bgcolor+;>/div>);var $imgCube$(div classamazingslider-img-cube-+id+ styledisplay:block;position:absolute;left:+j*blockW+px;top:+i*blockH+px;width:+blockW+px;height:+blockH+px;>/div>);$imgCube.append($left);$imgCube.append($right);$imgCube.append($bottom);$imgCube.append($nextImgBlock);$imgCube.append($curImgBlock);$cubeWrapper.append($imgCube);$left.css(ASPlatforms.applyBrowserStyles({transform-style:preserve-3d,backface-visibility:hidden,transform:rotateY(-90deg) translateZ(+options.depth/2+px+)}));$right.css(ASPlatforms.applyBrowserStyles({transform-style:preserve-3d,backface-visibility:hidden,transform:rotateY(90deg) translateZ(+(blockW-options.depth/2)+px+)}));$bottom.css(ASPlatforms.applyBrowserStyles({transform-style:preserve-3d,backface-visibility:hidden,transform:rotateX(-90deg) translateZ(+(blockH-options.depth/2)+px+)}));$nextImgBlock.css(ASPlatforms.applyBrowserStyles({transform-style:preserve-3d,backface-visibility:hidden,transform:rotateY(-180deg) translateZ(+options.depth/2+px+)}));$curImgBlock.css(ASPlatforms.applyBrowserStyles({transform-style:preserve-3d,backface-visibility:hidden,transform:translateZ(+options.depth/2+px+)}))}var blocks$(.amazingslider-img-cube-+id,$parent);$parent.unbind(transitionFinished).bind(transitionFinished,function(){$parent.unbind(transitionFinished);$prev.remove();$next.show();$cubeWrapper.remove();callback()});if(effectbottom)blocks$($.makeArray(blocks).reverse());else if(effectrandom)blocks$($.makeArray(blocks).sort(function(){return 0.5-Math.random()}));var scalePrepareoptions.scale1?0:12;var scaleDurationoptions.scale1?0:options.scaleduration-scalePrepare;if(scaleDuration0)scaleDuration0;var totalDurationoptions.scale1?options.duration:options.duration-2*scaleDuration;if(totalDuration0){scalePrepare0;scaleDuration0;totalDurationoptions.duration}var intervaltotalDuration/2/(options.rowcount*options.columncount);var durationtotalDuration/2;blocks.each(function(){$(this).css(ASPlatforms.applyBrowserStyles({transform-style:preserve-3d,backface-visibility:hidden}));$(this).css(ASPlatforms.applyBrowserStyles({transition-property:transform},true));$(this).css(ASPlatforms.applyBrowserStyles({transform:translateZ(-+options.depth/2+px+)}))});$prev.hide();index0;if(scaleDuration>0){blocks.css(ASPlatforms.applyBrowserStyles({transition-timing-function:options.easing,transition-duration:scaleDuration+ms}));setTimeout(function(){blocks.css(ASPlatforms.applyBrowserStyles({transform:scale(+options.scale+) translateZ(-+options.depth/2+px+)}))},scalePrepare)}blocks.each(function(){var block$(this);setTimeout(function(){block.css(ASPlatforms.applyBrowserStyles({transition-timing-function:options.easing,transition-duration:duration+ms,transform:scale(+options.scale+) translateZ(-+options.depth/2+px+) rotateY(+(options.direction?scaleDuration>0?-180.5:-180:scaleDuration>0?180.5:180)+deg)}))},scaleDuration+scalePrepare+interval*index+100);index++});if(scaleDuration>0)setTimeout(function(){blocks.css(ASPlatforms.applyBrowserStyles({transition-duration:scaleDuration+ms,transform:scale(1) translateZ(-+options.depth/2+px+) rotateY(+(options.direction?-180:180)+deg)}))},options.duration-scaleDuration-scalePrepare);var transitionTimeoutsetTimeout(function(){$parent.trigger(transitionFinished)},options.duration);transitionStartCallback(transitionTimeout)};$.fn.tilesTransitionfunction(id,$prev,$next,options,callback,transitionStartCallback){var i,j,index;var $parentthis;var w$parent.width(),h$parent.height();var blockWw/options.columncount;var blockHh/options.rowcount;var effectsoptions.effects.split(,);var effecteffectsMath.floor(Math.random()*effects.length);effect$.trim(effect.toLowerCase());var $cubeWrapper$(div classamazingslider-img-cube-wrapper-+id+ styledisplay:block;position:absolute;left:0%;top:0%;width:100%;height:100%;>/div>);$parent.append($cubeWrapper);$cubeWrapper.css(ASPlatforms.applyBrowserStyles({transform-style:preserve-3d}));$next.hide();for(i0;ioptions.rowcount;i++)for(j0;joptions.columncount;j++){var $nextImg$(img,$next).clone();if(Math.abs(options.imgmarginleft)>0){$nextImg.css({margin-left:options.columncount*options.imgmarginleft+%});$nextImg.css({max-width:options.columncount*options.imgmaxwidth+%,left:-+blockW*j+px,top:-+blockH*i+px,width:options.columncount*options.imgmaxwidth+%,height:auto})}else{$nextImg.css({margin-top:options.columncount*options.imgmargintop+%});$nextImg.css({max-width:options.columncount*100+%,left:-+blockW*j+px,top:-+blockH*i+px,width:options.columncount*100+%})}var $nextImgBlock$(div classamazingslider-img-block-next amazingslider-img-block-+id+ styledisplay:block;position:absolute;left:0%;top:0%;width:100%;height:100%;overflow:hidden;>/div>);$nextImgBlock.append($nextImg);var $curImg$(img,$prev).clone();if(Math.abs(options.previmgmarginleft)>0){$curImg.css({margin-left:options.columncount*options.previmgmarginleft+%});$curImg.css({max-width:options.columncount*options.previmgmaxwidth+%,left:-+blockW*j+px,top:-+blockH*i+px,width:options.columncount*options.previmgmaxwidth+%,height:auto})}else{$curImg.css({margin-top:options.columncount*options.previmgmargintop+%});$curImg.css({max-width:options.columncount*100+%,left:-+blockW*j+px,top:-+blockH*i+px,width:options.columncount*100+%})}var $curImgBlock$(div classamazingslider-img-block-current amazingslider-img-block-+id+ styledisplay:block;position:absolute;left:0%;top:0%;width:100%;height:100%;overflow:hidden;>/div>);$curImgBlock.append($curImg);var $imgCube$(div classamazingslider-img-cube-+id+ styledisplay:block;position:absolute;left:+j*blockW+px;top:+i*blockH+px;width:+blockW+px;height:+blockH+px;>/div>);$imgCube.append($nextImgBlock);$imgCube.append($curImgBlock);$cubeWrapper.append($imgCube);$nextImgBlock.css(ASPlatforms.applyBrowserStyles({transform-style:preserve-3d,backface-visibility:hidden}));$nextImgBlock.css(ASPlatforms.applyBrowserStyles({transition-property:transform},true));$nextImgBlock.css(ASPlatforms.applyBrowserStyles({transform:rotateY(180deg)}));$curImgBlock.css(ASPlatforms.applyBrowserStyles({transform-style:preserve-3d,backface-visibility:hidden}));$curImgBlock.css(ASPlatforms.applyBrowserStyles({transition-property:transform},true));$curImgBlock.css(ASPlatforms.applyBrowserStyles({transform:rotateY(0deg)}))}var blocks$(.amazingslider-img-cube-+id,$parent);$parent.unbind(transitionFinished).bind(transitionFinished,function(){$parent.unbind(transitionFinished);$prev.remove();$next.show();$cubeWrapper.remove();callback()});if(effectbottom)blocks$($.makeArray(blocks).reverse());else if(effectrandom)blocks$($.makeArray(blocks).sort(function(){return 0.5-Math.random()}));var scalePrepareoptions.scale1?0:12;var scaleDurationoptions.scale1?0:options.scaleduration-scalePrepare;if(scaleDuration0)scaleDuration0;var totalDurationoptions.scale1?options.duration:options.duration-2*scaleDuration;if(totalDuration0){scalePrepare0;scaleDuration0;totalDurationoptions.duration}var intervaltotalDuration/2/(options.rowcount*options.columncount);var durationtotalDuration/2;$prev.hide();index0;if(scaleDuration>0){blocks.css(ASPlatforms.applyBrowserStyles({transform-style:preserve-3d,backface-visibility:hidden}));blocks.css(ASPlatforms.applyBrowserStyles({transition-property:transform},true));blocks.css(ASPlatforms.applyBrowserStyles({transition-timing-function:options.easing,transition-duration:scaleDuration+ms}));setTimeout(function(){blocks.css(ASPlatforms.applyBrowserStyles({transform:scale(+options.scale+)}))},scalePrepare)}blocks.each(function(){var block$(this);setTimeout(function(){block.find(.amazingslider-img-block-next).css(ASPlatforms.applyBrowserStyles({transition-timing-function:options.easing,transition-duration:duration+ms,transform:rotateY(0deg)}));block.find(.amazingslider-img-block-current).css(ASPlatforms.applyBrowserStyles({transition-timing-function:options.easing,transition-duration:duration+ms,transform:rotateY(180deg)}))},scaleDuration+scalePrepare+interval*index+100);index++});if(scaleDuration>0)setTimeout(function(){blocks.css(ASPlatforms.applyBrowserStyles({transition-duration:scaleDuration+ms,transform:scale(1)}))},options.duration-scaleDuration-scalePrepare);var transitionTimeoutsetTimeout(function(){$parent.trigger(transitionFinished)},options.duration);transitionStartCallback(transitionTimeout)};$.fn.flipTransitionfunction(id,$prev,$next,options,callback,transitionStartCallback){var i,index;var $parentthis;var w$parent.width();var sliceWw/options.slicecount;var $cubeWrapper$(div classamazingslider-img-cube-wrapper-+id+ styledisplay:block;position:absolute;left:0%;top:0%;width:100%;height:100%;>/div>);$parent.append($cubeWrapper);$next.hide();for(i0;ioptions.slicecount;i++){var $nextImg$(img,$next).clone();if(Math.abs(options.imgmarginleft)>0){$nextImg.css({margin-left:options.slicecount*options.imgmarginleft+%});$nextImg.css({max-width:options.slicecount*options.imgmaxwidth+%,left:-+sliceW*i+px,width:options.slicecount*options.imgmaxwidth+%})}else{$nextImg.css({margin-top:options.slicecount*options.imgmargintop+%});$nextImg.css({max-width:options.slicecount*100+%,left:-+sliceW*i+px,width:options.slicecount*100+%})}var $nextImgSlice$(div classamazingslider-img-slice-next amazingslider-img-slice-+id+ styledisplay:block;position:absolute;left:0%;top:0%;width:100%;height:100%;overflow:hidden;outline:1px solid transparent;background-color:+options.bgcolor+;>/div>);$nextImgSlice.append($nextImg);var $curImg$(img,$prev).clone();if(Math.abs(options.previmgmarginleft)>0){$curImg.css({margin-left:options.slicecount*options.previmgmarginleft+%});$curImg.css({max-width:options.slicecount*options.previmgmaxwidth+%,left:-+sliceW*i+px,width:options.slicecount*options.previmgmaxwidth+%})}else{$curImg.css({margin-top:options.slicecount*options.previmgmargintop+%});$curImg.css({max-width:options.slicecount*100+%,left:-+sliceW*i+px,width:options.slicecount*100+%})}var $curImgSlice$(div classamazingslider-img-slice-current amazingslider-img-slice-+id+ styledisplay:block;position:absolute;left:0%;top:0%;width:100%;height:100%;overflow:hidden;outline:1px solid transparent;background-color:+options.bgcolor+;>/div>);$curImgSlice.append($curImg);var $imgCube$(div classamazingslider-img-cube-+id+ styledisplay:block;position:absolute;left:+i*sliceW+px;top:0%;width:+sliceW+px;height:100%;>/div>);$imgCube.append($nextImgSlice);$imgCube.append($curImgSlice);$cubeWrapper.append($imgCube);$nextImgSlice.css(ASPlatforms.applyBrowserStyles({transform-style:preserve-3d,backface-visibility:hidden}));$nextImgSlice.css(ASPlatforms.applyBrowserStyles({transition-property:transform},true));$nextImgSlice.css(ASPlatforms.applyBrowserStyles({transform:rotateY(180deg)}));$curImgSlice.css(ASPlatforms.applyBrowserStyles({transform-style:preserve-3d,backface-visibility:hidden}));$curImgSlice.css(ASPlatforms.applyBrowserStyles({transition-property:transform},true));$curImgSlice.css(ASPlatforms.applyBrowserStyles({transform:rotateY(0deg)}))}var cubes$(.amazingslider-img-cube-+id,$parent);$parent.unbind(transitionFinished).bind(transitionFinished,function(){$parent.unbind(transitionFinished);$prev.remove();$next.show();setTimeout(function(){$cubeWrapper.remove()},100);callback()});var scalePrepareoptions.scale1?0:12;var scaleDurationoptions.scale1?0:options.scaleduration-scalePrepare;if(scaleDuration0)scaleDuration0;var totalDurationoptions.scale1?options.duration:options.duration-2*scaleDuration;if(totalDuration0){scalePrepare0;scaleDuration0;totalDurationoptions.duration}var intervaltotalDuration/2/options.slicecount;var durationtotalDuration/2;$prev.hide();index0;if(scaleDuration>0){cubes.css(ASPlatforms.applyBrowserStyles({transform-style:preserve-3d,backface-visibility:hidden}));cubes.css(ASPlatforms.applyBrowserStyles({transition-property:transform},true));cubes.css(ASPlatforms.applyBrowserStyles({transition-timing-function:options.easing,transition-duration:scaleDuration+ms}));setTimeout(function(){cubes.css(ASPlatforms.applyBrowserStyles({transform:scale(+options.scale+)}))},scalePrepare)}cubes.each(function(){var cube$(this);setTimeout(function(){cube.find(.amazingslider-img-slice-next).css(ASPlatforms.applyBrowserStyles({transition-timing-function:options.easing,transition-duration:duration+ms,transform:rotateY(0deg)}));cube.find(.amazingslider-img-slice-current).css(ASPlatforms.applyBrowserStyles({transition-timing-function:options.easing,transition-duration:duration+ms,transform:rotateY(180deg)}))},scaleDuration+scalePrepare+interval*index+100);index++});if(scaleDuration>0)setTimeout(function(){cubes.css(ASPlatforms.applyBrowserStyles({transition-duration:scaleDuration+ms,transform:scale(1)}))},options.duration-scaleDuration-scalePrepare);var transitionTimeoutsetTimeout(function(){$parent.trigger(transitionFinished)},options.duration);transitionStartCallback(transitionTimeout)};$.fn.blocksTransitionfunction(id,$prev,$next,options,callback,transitionStartCallback){var i,j,index;var $parentthis;var w$parent.width(),h$parent.height();var blockWw/options.columncount;var blockHh/options.rowcount;var effectsoptions.effects.split(,);var effecteffectsMath.floor(Math.random()*effects.length);effect$.trim(effect.toLowerCase());$next.hide();for(i0;ioptions.rowcount;i++)for(j0;joptions.columncount;j++){var $imgBlockWrapper$(div classamazingslider-img-block-wrapper-+id+ styledisplay:block;position:absolute;left:+j*blockW+px;top:+i*blockH+px;width:+blockW+px;height:+blockH+px;overflow:hidden;>/div>);var $imgBlock$(div classamazingslider-img-block-+id+ styledisplay:block;position:absolute;left:0%;top:0%;width:100%;height:100%;overflow:hidden;>/div>);var $img$(img,$next).clone();if(Math.abs(options.imgmarginleft)>0){$img.css({margin-left:options.columncount*options.imgmarginleft+%});$img.css({max-width:options.columncount*options.imgmaxwidth+%,left:-+blockW*j+px,top:-+blockH*i+px,width:options.columncount*options.imgmaxwidth+%,height:auto})}else{$img.css({margin-top:options.columncount*options.imgmargintop+%});$img.css({max-width:options.columncount*100+%,left:-+blockW*j+px,top:-+blockH*i+px,width:options.columncount*100+%})}$imgBlock.append($img);$imgBlockWrapper.append($imgBlock);$parent.append($imgBlockWrapper)}var blocks$(.amazingslider-img-block-+id,$parent);$parent.unbind(transitionFinished).bind(transitionFinished,function(){$parent.unbind(transitionFinished);$prev.remove();$next.show();$(.amazingslider-img-block-wrapper-+id,$parent).remove();callback()});if(effectbottomright||effectbottom)blocks$($.makeArray(blocks).reverse());else if(effectrandom)blocks$($.makeArray(blocks).sort(function(){return 0.5-Math.random()}));index0;blocks.each(function(){var block$(this);var row,col;rowMath.floor(index/options.columncount);colindex%options.columncount;block.hide();switch(effect){case topleft:case bottomright:block.delay(options.duration*(row+col)/(options.rowcount+options.columncount)).fadeIn();break;case top:case bottom:case random:block.delay(options.duration*index/(options.rowcount*options.columncount)).fadeIn();break}index++});var transitionTimeoutsetTimeout(function(){$parent.trigger(transitionFinished)},options.duration);transitionStartCallback(transitionTimeout)};$.fn.shuffleTransitionfunction(id,$prev,$next,options,callback,transitionStartCallback){var i,j,index;var $parentthis;var w$parent.width(),h$parent.height();var blockWw/options.columncount;var blockHh/options.rowcount;for(i0;ioptions.rowcount;i++)for(j0;joptions.columncount;j++){var $imgBlockWrapperNext$(div classamazingslider-img-block-wrapper-next-+id+ styledisplay:block;position:absolute;left:+j*blockW+px;top:+i*blockH+px;width:+blockW+px;height:+blockH+px;overflow:hidden;>/div>);var $imgBlockNext$(div classamazingslider-img-block-next-+id+ styledisplay:block;position:absolute;left:0%;top:0%;width:100%;height:100%;overflow:hidden;>/div>);var $imgNext$(img,$next).clone();if(Math.abs(options.imgmarginleft)>0){$imgNext.css({margin-left:options.columncount*options.imgmarginleft+%});$imgNext.css({max-width:options.columncount*options.imgmaxwidth+%,left:-+blockW*j+px,top:-+blockH*i+px,width:options.columncount*options.imgmaxwidth+%,height:auto})}else{$imgNext.css({margin-top:options.columncount*options.imgmargintop+%});$imgNext.css({max-width:options.columncount*100+%,left:-+blockW*j+px,top:-+blockH*i+px,width:options.columncount*100+%})}$imgBlockNext.append($imgNext);$imgBlockWrapperNext.append($imgBlockNext);$parent.append($imgBlockWrapperNext);var $imgBlockWrapperPrev$(div classamazingslider-img-block-wrapper-prev-+id+ styledisplay:block;position:absolute;left:+j*blockW+px;top:+i*blockH+px;width:+blockW+px;height:+blockH+px;overflow:hidden;>/div>);var $imgBlockPrev$(div classamazingslider-img-block-prev-+id+ styledisplay:block;position:absolute;left:0%;top:0%;width:100%;height:100%;overflow:hidden;>/div>);var $imgPrev$(img,$prev).clone();if(Math.abs(options.imgmarginleft)>0){$imgPrev.css({margin-left:options.columncount*options.imgmarginleft+%});$imgPrev.css({max-width:options.columncount*options.imgmaxwidth+%,left:-+blockW*j+px,top:-+blockH*i+px,width:options.columncount*options.imgmaxwidth+%,height:auto})}else{$imgPrev.css({margin-top:options.columncount*options.imgmargintop+%});$imgPrev.css({max-width:options.columncount*100+%,left:-+blockW*j+px,top:-+blockH*i+px,width:options.columncount*100+%})}$imgBlockPrev.append($imgPrev);$imgBlockWrapperPrev.append($imgBlockPrev);$parent.append($imgBlockWrapperPrev)}$next.hide();$prev.hide();var blocksNext$(.amazingslider-img-block-wrapper-next-+id,$parent);var blocksPrev$(.amazingslider-img-block-wrapper-prev-+id,$parent);$parent.unbind(transitionFinished).bind(transitionFinished,function(){$parent.unbind(transitionFinished);$prev.remove();$next.show();$(.amazingslider-img-block-wrapper-next-+id,$parent).remove();$(.amazingslider-img-block-wrapper-prev-+id,$parent).remove();callback()});var offset$parent.offset();var distL-offset.left;var distR$(window).width()-offset.left-$parent.width()/options.columncount;var distT-offset.top*100/$parent.height();var distB$(window).height()-offset.top-$parent.height()/options.rowcount;index0;blocksPrev.each(function(){var block$(this);var posLMath.random()*(distR-distL)+distL;var posTMath.random()*(distB-distT)+distT;block.animate({left:posL+px,top:posT+px,opacity:0},options.duration,options.easing);index++});index0;blocksNext.each(function(){var block$(this);var rowMath.floor(index/options.columncount);var colindex%options.columncount;var posLMath.random()*(distR-distL)+distL;var posTMath.random()*(distB-distT)+distT;block.css({left:posL+px,top:posT+px,opacity:0},options.duration,options.easing);block.animate({left:col*blockW+px,top:row*blockH+px,opacity:1},options.duration,options.easing);index++});var transitionTimeoutsetTimeout(function(){$parent.trigger(transitionFinished)},options.duration);transitionStartCallback(transitionTimeout)}})(jQuery);(function($){$.fn.sliderTouchSwipefunction(options){var defaults{preventWebBrowser:false,swipeLeft:null,swipeRight:null,swipeTop:null,swipeBottom:null};if(options)$.extend(defaults,options);return this.each(function(){var startX-1,startY-1;var curX-1,curY-1;function touchStart(event){var eevent.originalEvent;if(e.targetTouches.length>1){startXe.targetTouches0.pageX;startYe.targetTouches0.pageY}else touchCancel(event)}function touchMove(event){if(defaults.preventWebBrowser)event.preventDefault();var eevent.originalEvent;if(e.targetTouches.length>1){curXe.targetTouches0.pageX;curYe.targetTouches0.pageY}else touchCancel(event)}function touchEnd(event){if(curX>0||curY>0){triggerHandler();touchCancel(event)}else touchCancel(event)}function touchCancel(event){startX-1;startY-1;curX-1;curY-1}function triggerHandler(){if(Math.abs(curX-startX)>Math.abs(curY-startY))if(curX>startX){if(defaults.swipeRight)defaults.swipeRight.call()}else{if(defaults.swipeLeft)defaults.swipeLeft.call()}else if(curY>startY){if(defaults.swipeBottom)defaults.swipeBottom.call()}else if(defaults.swipeTop)defaults.swipeTop.call()}try{$(this).bind(touchstart,touchStart);$(this).bind(touchmove,touchMove);$(this).bind(touchend,touchEnd);$(this).bind(touchcancel,touchCancel)}catch(e){}})}})(jQuery);jQuery.easingjswingjQuery.easingswing;jQuery.extend(jQuery.easing,{def:easeOutQuad,swing:function(x,t,b,c,d){return jQuery.easingjQuery.easing.def(x,t,b,c,d)},easeInQuad:function(x,t,b,c,d){return c*(t/d)*t+b},easeOutQuad:function(x,t,b,c,d){return-c*(t/d)*(t-2)+b},easeInOutQuad:function(x,t,b,c,d){if((t/d/2)1)return c/2*t*t+b;return-c/2*(--t*(t-2)-1)+b},easeInCubic:function(x,t,b,c,d){return c*(t/d)*t*t+b},easeOutCubic:function(x,t,b,c,d){return c*((tt/d-1)*t*t+1)+b},easeInOutCubic:function(x,t,b,c,d){if((t/d/2)1)return c/2*t*t*t+b;return c/2*((t-2)*t*t+2)+b},easeInQuart:function(x,t,b,c,d){return c*(t/d)*t*t*t+b},easeOutQuart:function(x,t,b,c,d){return-c*((tt/d-1)*t*t*t-1)+b},easeInOutQuart:function(x,t,b,c,d){if((t/d/2)1)return c/2*t*t*t*t+b;return-c/2*((t-2)*t*t*t-2)+b},easeInQuint:function(x,t,b,c,d){return c*(t/d)*t*t*t*t+b},easeOutQuint:function(x,t,b,c,d){return c*((tt/d-1)*t*t*t*t+1)+b},easeInOutQuint:function(x,t,b,c,d){if((t/d/2)1)return c/2*t*t*t*t*t+b;return c/2*((t-2)*t*t*t*t+2)+b},easeInSine:function(x,t,b,c,d){return-c*Math.cos(t/d*(Math.PI/2))+c+b},easeOutSine:function(x,t,b,c,d){return c*Math.sin(t/d*(Math.PI/2))+b},easeInOutSine:function(x,t,b,c,d){return-c/2*(Math.cos(Math.PI*t/d)-1)+b},easeInExpo:function(x,t,b,c,d){return t0?b:c*Math.pow(2,10*(t/d-1))+b},easeOutExpo:function(x,t,b,c,d){return td?b+c:c*(-Math.pow(2,-10*t/d)+1)+b},easeInOutExpo:function(x,t,b,c,d){if(t0)return b;if(td)return b+c;if((t/d/2)1)return c/2*Math.pow(2,10*(t-1))+b;return c/2*(-Math.pow(2,-10*--t)+2)+b},easeInCirc:function(x,t,b,c,d){return-c*(Math.sqrt(1-(t/d)*t)-1)+b},easeOutCirc:function(x,t,b,c,d){return c*Math.sqrt(1-(tt/d-1)*t)+b},easeInOutCirc:function(x,t,b,c,d){if((t/d/2)1)return-c/2*(Math.sqrt(1-t*t)-1)+b;return c/2*(Math.sqrt(1-(t-2)*t)+1)+b},easeInElastic:function(x,t,b,c,d){var s1.70158;var p0;var ac;if(t0)return b;if((t/d)1)return b+c;if(!p)pd*0.3;if(aMath.abs(c)){ac;var sp/4}else var sp/(2*Math.PI)*Math.asin(c/a);return-(a*Math.pow(2,10*(t-1))*Math.sin((t*d-s)*2*Math.PI/p))+b},easeOutElastic:function(x,t,b,c,d){var s1.70158;var p0;var ac;if(t0)return b;if((t/d)1)return b+c;if(!p)pd*0.3;if(aMath.abs(c)){ac;var sp/4}else var sp/(2*Math.PI)*Math.asin(c/a);return a*Math.pow(2,-10*t)*Math.sin((t*d-s)*2*Math.PI/p)+c+b},easeInOutElastic:function(x,t,b,c,d){var s1.70158;var p0;var ac;if(t0)return b;if((t/d/2)2)return b+c;if(!p)pd*0.3*1.5;if(aMath.abs(c)){ac;var sp/4}else var sp/(2*Math.PI)*Math.asin(c/a);if(t1)return-0.5*a*Math.pow(2,10*(t-1))*Math.sin((t*d-s)*2*Math.PI/p)+b;return a*Math.pow(2,-10*(t-1))*Math.sin((t*d-s)*2*Math.PI/p)*0.5+c+b},easeInBack:function(x,t,b,c,d,s){if(sundefined)s1.70158;return c*(t/d)*t*((s+1)*t-s)+b},easeOutBack:function(x,t,b,c,d,s){if(sundefined)s1.70158;return c*((tt/d-1)*t*((s+1)*t+s)+1)+b},easeInOutBack:function(x,t,b,c,d,s){if(sundefined)s1.70158;if((t/d/2)1)return c/2*t*t*(((s*1.525)+1)*t-s)+b;return c/2*((t-2)*t*(((s*1.525)+1)*t+s)+2)+b},easeInBounce:function(x,t,b,c,d){return c-jQuery.easing.easeOutBounce(x,d-t,0,c,d)+b},easeOutBounce:function(x,t,b,c,d){if((t/d)1/2.75)return c*7.5625*t*t+b;else if(t2/2.75)return c*(7.5625*(t-1.5/2.75)*t+0.75)+b;else if(t2.5/2.75)return c*(7.5625*(t-2.25/2.75)*t+0.9375)+b;else return c*(7.5625*(t-2.625/2.75)*t+0.984375)+b},easeInOutBounce:function(x,t,b,c,d){if(td/2)return jQuery.easing.easeInBounce(x,t*2,0,c,d)*0.5+b;return jQuery.easing.easeOutBounce(x,t*2-d,0,c,d)*0.5+c*0.5+b}});if(typeof amazingsliderObjectsundefined)var amazingsliderObjectsnew function(){this.objects;this.addObjectfunction(obj){this.objects.push(obj)};this.loadNextfunction(id){for(var i0;ithis.objects.length;i++)if(this.objectsi.idid){this.objectsi.videoPausedfalse;if(!this.objectsi.isPaused)this.objectsi.slideRun(-1)}}};if(typeof ASYouTubeIframeAPIReadyundefined){var ASYouTubeIframeAPIReadyfalse;var ASYouTubeTimeout0;function onYouTubeIframeAPIReady(){ASYouTubeIframeAPIReadytrue}}if(typeof amazingsliderIdundefined)var amazingsliderId0;jQuery(document).ready(function(){ var scripts document.getElementsByTagName(script); var jsFolder ; for (var i 0; i scripts.length; i++) { if( scriptsi.src && scriptsi.src.match(/initslider-1\.js/i)) jsFolder scriptsi.src.substr(0, scriptsi.src.lastIndexOf(/) + 1); } jQuery(#amazingslider-1).amazingslider({ sliderid:1, jsfolder:jsFolder, width:555, height:280, skinsfoldername:, loadimageondemand:false, videohidecontrols:false, watermarktextcss:font:12px Arial,Tahoma,Helvetica,sans-serif;color:#333;padding:2px 4px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;background-color:#fff;opacity:0.9;filter:alpha(opacity90);, watermarkstyle:text, donotresize:true, enabletouchswipe:true, fullscreen:false, autoplayvideo:false, addmargin:true, watermarklinkcss:text-decoration:none;font:12px Arial,Tahoma,Helvetica,sans-serif;color:#333;, watermarktext:amazingslider.com, watermarklink:http://amazingslider.com?sourcewatermark, transitiononfirstslide:false, forceflash:false, isresponsive:true, forceflashonie11:true, forceflashonie10:true, pauseonmouseover:false, playvideoonclickthumb:true, showwatermark:false, slideinterval:7000, watermarkpositioncss:display:block;position:absolute;bottom:4px;right:4px;, watermarkimage:, fullwidth:false, randomplay:false, watermarktarget:_blank, scalemode:fill, loop:0, autoplay:true, navplayvideoimage:play-32-32-0.png, navpreviewheight:60, timerheight:2, descriptioncssresponsive:font-size:12px;, shownumbering:false, skin:Classic, addgooglefonts:false, navshowplaypause:true, navshowplayvideo:false, navshowplaypausestandalonemarginx:8, navshowplaypausestandalonemarginy:8, navbuttonradius:0, navthumbnavigationarrowimageheight:32, navmarginy:16, lightboxshownavigation:false, showshadow:true, navfeaturedarrowimagewidth:16, navpreviewwidth:120, googlefonts:, navborderhighlightcolor:, navcolor:#999999, lightboxdescriptionbottomcss:{color:#333; font-size:12px; font-family:Arial,Helvetica,sans-serif; overflow:hidden; text-align:left; margin:4px 0px 0px; padding: 0px;}, lightboxthumbwidth:80, navthumbnavigationarrowimagewidth:32, navthumbtitlehovercss:text-decoration:underline;, navthumbmediumheight:64, texteffectresponsivesize:600, arrowwidth:32, texteffecteasing:easeOutCubic, texteffect:slide, lightboxthumbheight:60, navspacing:8, navarrowimage:navarrows-28-28-0.png, bordercolor:#aaaaaa, ribbonimage:ribbon_topleft-0.png, navwidth:24, navheight:24, arrowimage:/amazingSlider/arrows-32-32-2.png, timeropacity:0.6, arrowhideonmouseleave:10, navthumbnavigationarrowimage:/amazingSlider/carouselarrows-32-32-0.png, navshowplaypausestandalone:true, texteffect1:slide, navpreviewbordercolor:#ffffff, texteffect2:slide, customcss:, ribbonposition:topleft, navthumbdescriptioncss:display:block;position:relative;padding:2px 4px;text-align:left;font:normal 12px Arial,Helvetica,sans-serif;color:#333;, lightboxtitlebottomcss:{color:#333; font-size:14px; font-family:Armata,sans-serif,Arial; overflow:hidden; text-align:left;}, arrowstyle:mouseover, navthumbmediumsize:800, navthumbtitleheight:20, textpositionmargintop:24, buttoncssresponsive:, navswitchonmouseover:false, playvideoimage:/amazingSlider/playvideo-64-64-0.png, arrowtop:50, textstyle:none, playvideoimageheight:64, navfonthighlightcolor:#666666, showbackgroundimage:false, navpreviewborder:4, navshowplaypausestandaloneheight:20, navdirection:horizontal, navbuttonshowbgimage:true, navbuttonbgimage:navbuttonbgimage-28-28-0.png, textbgcss:display:block; position:absolute; top:0px; left:0px; width:100%; height:100%; background-color:#333333; opacity:0.6; filter:alpha(opacity60);, textpositiondynamic:bottomleft, playvideoimagewidth:64, buttoncss:display:block; position:relative; margin-top:8px;, navborder:4, navshowpreviewontouch:false, bottomshadowimagewidth:96, showtimer:true, navradius:0, navmultirows:false, navshowpreview:true, navpreviewarrowheight:8, navmarginx:16, navfeaturedarrowimage:featuredarrow-16-8-0.png, navthumbsmallsize:480, showribbon:false, navstyle:bullets, textpositionmarginleft:24, descriptioncss:display:block; position:relative; font:12px \Lucida Sans Unicode\,\Lucida Grande\,sans-serif,Arial; color:#fff; margin-top:8px;, navplaypauseimage:/amazingSlider/navplaypause-20-20-0.png, backgroundimagetop:-10, timercolor:#ffffff, numberingformat:%NUM/%TOTAL , navthumbmediumwidth:64, navfontsize:12, navhighlightcolor:#333333, texteffectdelay1:1000, navimage:/amazingSlider/bullet-24-24-0.png, texteffectdelay2:1500, texteffectduration1:600, navshowplaypausestandaloneautohide:true, texteffectduration2:600, navbuttoncolor:#999999, navshowarrow:false, texteffectslidedirection:left, navshowfeaturedarrow:false, lightboxbarheight:64, titlecss:display:block; position:relative; font:bold 14px \Lucida Sans Unicode\,\Lucida Grande\,sans-serif,Arial; color:#fff;, ribbonimagey:0, ribbonimagex:0, navthumbsmallheight:48, texteffectslidedistance1:120, texteffectslidedistance2:120, navrowspacing:8, navshowplaypausestandaloneposition:topright, shadowsize:7, lightboxthumbtopmargin:12, titlecssresponsive:font-size:12px;, navshowplaypausestandalonewidth:20, navthumbresponsive:false, navfeaturedarrowimageheight:8, navopacity:0.8, textpositionmarginright:24, backgroundimagewidth:120, textautohide:true, navthumbtitlewidth:120, navpreviewposition:top, texteffectseparate:false, arrowheight:32, shadowcolor:#000000, arrowmargin:8, texteffectduration:600, bottomshadowimage:bottomshadow-110-95-0.png, border:0, lightboxshowdescription:false, timerposition:bottom, navfontcolor:#333333, navthumbnavigationstyle:arrow, borderradius:0, navbuttonhighlightcolor:#333333, textpositionstatic:bottom, texteffecteasing2:easeOutCubic, navthumbstyle:imageonly, texteffecteasing1:easeOutCubic, textcss:display:block; padding:12px; text-align:left;, navthumbsmallwidth:48, navbordercolor:#ffffff, navpreviewarrowimage:previewarrow-16-8-0.png, navthumbtitlecss:display:block;position:relative;padding:2px 4px;text-align:left;font:bold 14px Arial,Helvetica,sans-serif;color:#333;, showbottomshadow:false, texteffectslidedistance:30, texteffectdelay:500, textpositionmarginstatic:0, backgroundimage:, navposition:bottom, texteffectslidedirection1:right, navpreviewarrowwidth:16, textformat:None, texteffectslidedirection2:right, bottomshadowimagetop:95, texteffectresponsive:true, navshowbuttons:true, lightboxthumbbottommargin:8, textpositionmarginbottom:24, lightboxshowtitle:true, slide: { duration:1000, easing:easeOutCubic, checked:true, effectdirection:0 }, transition:slide, scalemode:fill, isfullscreen:false, textformat: { } });});function loadFrench() { use strict; localStorage.setItem(language, FR); window.open(?pathfrench/home.php, _self);}function loadEnglish() { use strict; localStorage.setItem(language, ENG); window.open(?pathenglish/home.php, _self);}function checkLanguage() { use strict; var lang localStorage.language; loadFrench(); //skip check for english if (lang FR) { loadFrench(); } else if (lang ENG) { loadEnglish(); }}lm document.getElementById(leftMenu);imgList lm.getElementsByTagName(img);for (i0; iimgList.length;i++) { imgListi.src imgListi.src.replace(menus,french/textMenus);}/script>style>/* blue button large */.as-btn-blue-large { display: inline-block; border: none; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; margin: 0; background: #009cde; font-family: Lucida Sans Unicode,Lucida Grande,sans-serif,Arial; color: #fff; cursor: pointer; text-align: center; text-decoration: none; text-shadow: none; text-transform: none; white-space: nowrap; -webkit-font-smoothing: antialiased; padding: 10px 16px; font-size: 24px; font-weight: 300; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px;}.as-btn-blue-large:hover { color: #fff; background: #0285d2;}.as-btn-blue-large:focus { outline: 0;}/* blue button medium */.as-btn-blue-medium { display: inline-block; border: none; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; margin: 0; background: #009cde; font-family: Lucida Sans Unicode,Lucida Grande,sans-serif,Arial; color: #fff; cursor: pointer; text-align: center; text-decoration: none; text-shadow: none; text-transform: none; white-space: nowrap; -webkit-font-smoothing: antialiased; padding: 6px 12px; font-size: 14px; font-weight: normal; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px;}.as-btn-blue-medium:hover { color: #fff; background: #0285d2;}.as-btn-blue-medium:focus { outline: 0;}/* blue button small */.as-btn-blue-small { display: inline-block; border: none; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; margin: 0; background: #009cde; font-family: Lucida Sans Unicode,Lucida Grande,sans-serif,Arial; color: #fff; cursor: pointer; text-align: center; text-decoration: none; text-shadow: none; text-transform: none; white-space: nowrap; -webkit-font-smoothing: antialiased; padding: 5px 10px; font-size: 12px; font-weight: normal; -webkit-border-radius: 0px; -moz-border-radius: 0px; border-radius: 0px;}.as-btn-blue-small:hover { color: #fff; background: #0285d2;}.as-btn-blue-small:focus { outline: 0;}/* blue border large */.as-btn-blueborder-large { display: inline-block; border: 2px solid #009cde; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; margin: 0; background: transparent; font-family: Lucida Sans Unicode,Lucida Grande,sans-serif,Arial; color: #009cde; cursor: pointer; text-align: center; text-decoration: none; text-shadow: none; text-transform: none; vertical-align: baseline; white-space: nowrap; -webkit-font-smoothing: antialiased; padding: 10px 16px; font-size: 24px; font-weight: 300; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px;}.as-btn-blueborder-large:hover { color: #fff; background: #009cde;}.as-btn-blueborder-large:focus { outline: 0;}/* blue border medium */.as-btn-blueborder-medium { display: inline-block; border: 2px solid #009cde; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; margin: 0; background: transparent; font-family: Lucida Sans Unicode,Lucida Grande,sans-serif,Arial; color: #009cde; cursor: pointer; text-align: center; text-decoration: none; text-shadow: none; text-transform: none; vertical-align: baseline; white-space: nowrap; -webkit-font-smoothing: antialiased; padding: 6px 12px; font-size: 14px; font-weight: normal; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px;}.as-btn-blueborder-medium:hover { color: #fff; background: #009cde;}.as-btn-blueborder-medium:focus { outline: 0;}/* blue border small */.as-btn-blueborder-small { display: inline-block; border: 2px solid #009cde; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; margin: 0; background: transparent; font-family: Lucida Sans Unicode,Lucida Grande,sans-serif,Arial; color: #009cde; cursor: pointer; text-align: center; text-decoration: none; text-shadow: none; text-transform: none; vertical-align: baseline; white-space: nowrap; -webkit-font-smoothing: antialiased; padding: 5px 10px; font-size: 12px; font-weight: normal; -webkit-border-radius: 0px; -moz-border-radius: 0px; border-radius: 0px;}.as-btn-blueborder-small:hover { color: #fff; background: #009cde;}.as-btn-blueborder-small:focus { outline: 0;}/* orange button large */.as-btn-orange-large { display: inline-block; border: none; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; margin: 0; background: #f7a020; font-family: Lucida Sans Unicode,Lucida Grande,sans-serif,Arial; color: #fff; cursor: pointer; text-align: center; text-decoration: none; text-shadow: none; text-transform: none; white-space: nowrap; -webkit-font-smoothing: antialiased; padding: 10px 16px; font-size: 24px; font-weight: 300; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px;}.as-btn-orange-large:hover { color: #fff; background: #ffc030;}.as-btn-orange-large:focus { outline: 0;}/* orange button medium */.as-btn-orange-medium { display: inline-block; border: none; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; margin: 0; background: #f7a020; font-family: Lucida Sans Unicode,Lucida Grande,sans-serif,Arial; color: #fff; cursor: pointer; text-align: center; text-decoration: none; text-shadow: none; text-transform: none; white-space: nowrap; -webkit-font-smoothing: antialiased; padding: 6px 12px; font-size: 14px; font-weight: normal; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px;}.as-btn-orange-medium:hover { color: #fff; background: #ffc030;}.as-btn-orange-medium:focus { outline: 0;}/* orange button small */.as-btn-orange-small { display: inline-block; border: none; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; margin: 0; background: #f7a020; font-family: Lucida Sans Unicode,Lucida Grande,sans-serif,Arial; color: #fff; cursor: pointer; text-align: center; text-decoration: none; text-shadow: none; text-transform: none; white-space: nowrap; -webkit-font-smoothing: antialiased; padding: 5px 10px; font-size: 12px; font-weight: normal; -webkit-border-radius: 0px; -moz-border-radius: 0px; border-radius: 0px;}.as-btn-orange-small:hover { color: #fff; background: #ffc030;}.as-btn-orange-small:focus { outline: 0;}/* orange border large */.as-btn-orangeborder-large { display: inline-block; border: 2px solid #f7a020; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; margin: 0; background: transparent; font-family: Lucida Sans Unicode,Lucida Grande,sans-serif,Arial; color: #f7a020; cursor: pointer; text-align: center; text-decoration: none; text-shadow: none; text-transform: none; vertical-align: baseline; white-space: nowrap; -webkit-font-smoothing: antialiased; padding: 10px 16px; font-size: 24px; font-weight: 300; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px;}.as-btn-orangeborder-large:hover { color: #fff; background: #f7a020;}.as-btn-orangeborder-large:focus { outline: 0;}/* orange border medium */.as-btn-orangeborder-medium { display: inline-block; border: 2px solid #f7a020; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; margin: 0; background: transparent; font-family: Lucida Sans Unicode,Lucida Grande,sans-serif,Arial; color: #f7a020; cursor: pointer; text-align: center; text-decoration: none; text-shadow: none; text-transform: none; vertical-align: baseline; white-space: nowrap; -webkit-font-smoothing: antialiased; padding: 6px 12px; font-size: 14px; font-weight: normal; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px;}.as-btn-orangeborder-medium:hover { color: #fff; background: #f7a020;}.as-btn-orangeborder-medium:focus { outline: 0;}/* orange border small */.as-btn-orangeborder-small { display: inline-block; border: 2px solid #f7a020; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; margin: 0; background: transparent; font-family: Lucida Sans Unicode,Lucida Grande,sans-serif,Arial; color: #f7a020; cursor: pointer; text-align: center; text-decoration: none; text-shadow: none; text-transform: none; vertical-align: baseline; white-space: nowrap; -webkit-font-smoothing: antialiased; padding: 5px 10px; font-size: 12px; font-weight: normal; -webkit-border-radius: 0px; -moz-border-radius: 0px; border-radius: 0px;}.as-btn-orangeborder-small:hover { color: #fff; background: #f7a020;}.as-btn-orangeborder-small:focus { outline: 0;}/* white button large */.as-btn-white-large { display: inline-block; border: none; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; margin: 0; background: #fff; font-family: Lucida Sans Unicode,Lucida Grande,sans-serif,Arial; color: #444; cursor: pointer; text-align: center; text-decoration: none; text-shadow: none; text-transform: none; white-space: nowrap; -webkit-font-smoothing: antialiased; padding: 10px 16px; font-size: 24px; font-weight: 300; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px;}.as-btn-white-large:hover { color: #fff; background: #444;}.as-btn-white-large:focus { outline: 0;}/* white button medium */.as-btn-white-medium { display: inline-block; border: none; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; margin: 0; background: #fff; font-family: Lucida Sans Unicode,Lucida Grande,sans-serif,Arial; color: #444; cursor: pointer; text-align: center; text-decoration: none; text-shadow: none; text-transform: none; white-space: nowrap; -webkit-font-smoothing: antialiased; padding: 6px 12px; font-size: 14px; font-weight: normal; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px;}.as-btn-white-medium:hover { color: #fff; background: #444;}.as-btn-white-medium:focus { outline: 0;}/* white button small */.as-btn-white-small { display: inline-block; border: none; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; margin: 0; background: #fff; font-family: Lucida Sans Unicode,Lucida Grande,sans-serif,Arial; color: #444; cursor: pointer; text-align: center; text-decoration: none; text-shadow: none; text-transform: none; white-space: nowrap; -webkit-font-smoothing: antialiased; padding: 5px 10px; font-size: 12px; font-weight: normal; -webkit-border-radius: 0px; -moz-border-radius: 0px; border-radius: 0px;}.as-btn-white-small:hover { color: #fff; background: #444;}.as-btn-white-small:focus { outline: 0;}/* white border large */.as-btn-whiteborder-large { display: inline-block; border: 2px solid #fff; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; margin: 0; background: transparent; font-family: Lucida Sans Unicode,Lucida Grande,sans-serif,Arial; color: #fff; cursor: pointer; text-align: center; text-decoration: none; text-shadow: none; text-transform: none; vertical-align: baseline; white-space: nowrap; -webkit-font-smoothing: antialiased; padding: 10px 16px; font-size: 24px; font-weight: 300; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px;}.as-btn-whiteborder-large:hover { color: #444; background: #fff;}.as-btn-whiteborder-large:focus { outline: 0;}/* white border medium */.as-btn-whiteborder-medium { display: inline-block; border: 2px solid #fff; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; margin: 0; background: transparent; font-family: Lucida Sans Unicode,Lucida Grande,sans-serif,Arial; color: #fff; cursor: pointer; text-align: center; text-decoration: none; text-shadow: none; text-transform: none; vertical-align: baseline; white-space: nowrap; -webkit-font-smoothing: antialiased; padding: 6px 12px; font-size: 14px; font-weight: normal; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px;}.as-btn-whiteborder-medium:hover { color: #444; background: #fff;}.as-btn-whiteborder-medium:focus { outline: 0;}/* white border small */.as-btn-whiteborder-small { display: inline-block; border: 2px solid #fff; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; margin: 0; background: transparent; font-family: Lucida Sans Unicode,Lucida Grande,sans-serif,Arial; color: #fff; cursor: pointer; text-align: center; text-decoration: none; text-shadow: none; text-transform: none; vertical-align: baseline; white-space: nowrap; -webkit-font-smoothing: antialiased; padding: 5px 10px; font-size: 12px; font-weight: normal; -webkit-border-radius: 0px; -moz-border-radius: 0px; border-radius: 0px;}.as-btn-whiteborder-small:hover { color: #444; background: #fff;}.as-btn-whiteborder-small:focus { outline: 0;}/* navy button large */.as-btn-navy-large { display: inline-block; border: none; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; margin: 0; background: #334455; font-family: Lucida Sans Unicode,Lucida Grande,sans-serif,Arial; color: #fff; cursor: pointer; text-align: center; text-decoration: none; text-shadow: none; text-transform: none; white-space: nowrap; -webkit-font-smoothing: antialiased; padding: 10px 16px; font-size: 24px; font-weight: 300; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px;}.as-btn-navy-large:hover { color: #fff; background: #445566;}.as-btn-navy-large:focus { outline: 0;}/* navy button medium */.as-btn-navy-medium { display: inline-block; border: none; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; margin: 0; background: #334455; font-family: Lucida Sans Unicode,Lucida Grande,sans-serif,Arial; color: #fff; cursor: pointer; text-align: center; text-decoration: none; text-shadow: none; text-transform: none; white-space: nowrap; -webkit-font-smoothing: antialiased; padding: 6px 12px; font-size: 14px; font-weight: normal; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px;}.as-btn-navy-medium:hover { color: #fff; background: #445566;}.as-btn-navy-medium:focus { outline: 0;}/* navy button small */.as-btn-navy-small { display: inline-block; border: none; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; margin: 0; background: #334455; font-family: Lucida Sans Unicode,Lucida Grande,sans-serif,Arial; color: #fff; cursor: pointer; text-align: center; text-decoration: none; text-shadow: none; text-transform: none; white-space: nowrap; -webkit-font-smoothing: antialiased; padding: 5px 10px; font-size: 12px; font-weight: normal; -webkit-border-radius: 0px; -moz-border-radius: 0px; border-radius: 0px;}.as-btn-navy-small:hover { color: #fff; background: #445566;}.as-btn-navy-small:focus { outline: 0;}body { background: #CCC url(static/background.png);}.md h1 { text-align: center;}#banner { height: 119px; width: 920px; margin-top: 15px; position: relative; left: 50%; margin-left: -465px; box-shadow: 0px 0px 20px 6px;}#title { text-align: center; padding-top: 20px;}#certification1Button { text-align: center; margin-top: 60px;}#textArea { margin-right: 50px; padding-bottom: 20px; margin-left: 50px; margin-top: 60px; font: 16px Verdana, Geneva, sans-serif; color: #000000;}#textArea a { color: black; text-decoration: none;}#textArea a:hover { color: darkslategrey;}#textWrapper { background: white; width: 920px; position: relative; left: 50%; margin-left: -465px; box-shadow: 0px 0px 20px 6px;}@charset utf-8;* { margin: 0px auto;}body { background: url(static/french/home/space.png);}#BOX { position: relative; min-height: 569px; min-width: 1085px; height: 100%; width: 100%;}#Title { width: 361px; height: 79px; background-image: url(static/french/home/Title.png); background-repeat: no-repeat; position: absolute; left: 50%; top: 5%; margin-left: -181px;}#Earth { width: 335px; height: 335px; background-image: url(static/french/home/planets/EARTH.png); background-repeat: no-repeat; position: absolute; left: 5%; top: 5%;}#Earth:hover~#MainList { visibility: visible;}#Mars { width: 160px; height: 160px; background-image: url(static/french/home/planets/Mars.png); background-repeat: no-repeat; position: absolute; right: 30%; bottom: 20%;}#Mars:hover~#MachList { visibility: visible;}#Mercury { width: 150px; height: 150px; background-image: url(static/french/home/planets/Mercury.png); background-repeat: no-repeat; position: absolute; left: 45%; top: 30%;}#Mercury:hover~#AppList { visibility: visible;}#Neptune { width: 157px; height: 157px; background-image: url(static/french/home/planets/Neptune.png); background-repeat: no-repeat; position: absolute; right: 10%; top: 15%;}#Neptune:hover~#SstList { visibility: visible;}#Venus { width: 153px; height: 153px; background-image: url(static/french/home/planets/Venus.png); background-repeat: no-repeat; position: absolute; left: 10%; top: 65%;}#Venus:hover~#FormList { visibility: visible;}#Empty1 { width: 108px; height: 108px; background-image: url(static/french/home/planets/Empty1.png); background-repeat: no-repeat; position: absolute; right: 30%; top: 25%;}#Empty2 { width: 104px; height: 104px; background-image: url(static/french/home/planets/Empty2.png); background-repeat: no-repeat; position: absolute; left: 35%; top: 35%;}#Empty3 { width: 90px; height: 93px; background-image: url(static/french/home/planets/Empty3.png); background-repeat: no-repeat; position: absolute; right: 15%; bottom: 25%;}#Uranus { width: 163px; height: 163px; background-image: url(static/french/home/planets/Uranus.png); background-repeat: no-repeat; position: absolute; left: 35%; bottom: 15%;}#Uranus:hover~#AgriList { visibility: visible;}#MainList { position: relative; width: 220px; height: 20px; left: -33%; top: 5%; visibility: hidden;}#MainList:hover { visibility: visible;}#AppList { position: relative; width: 200px; height: 20px; left: 1%; top: 15%; visibility: hidden;}#AppList:hover { visibility: visible;}#FormList { position: relative; width: 200px; height: 20px; left: -35%; top: 65%; visibility: hidden;}#FormList:hover { visibility: visible;}#AgriList { position: relative; width: 200px; height: 20px; left: -10%; top: 57%; visibility: hidden;}#AgriList:hover { visibility: visible;}#MachList { position: relative; width: 200px; height: 20px; left: 13%; top: 35%; visibility: hidden;}#MachList:hover { visibility: visible;}#SstList { position: relative; width: 200px; height: 20px; left: 34%; top: -2%; visibility: hidden;}#SstList:hover { visibility: visible;}.PopUp { position: absolute; background-color: rgba(90,187,230,0.9); padding: 10; width: 200;}li{ height: 30px; width: 200px; background-color: rgba(0,0,0,0.7); margin-top: 3px; list-style-type: none; text-align: center; padding-top: 3%}li:hover { cursor: pointer; background-color: rgba(0,0,0,0.85); box-shadow: 0px 0px 5px 5px #000000;}a {font-size: 20; width: 100%; height: 100%; display: block; text-decoration: none; color: aliceblue;}.Navi{ list-style-type: none; background-color: rgba(0, 255, 255, 0.5); margin; 0; padding; 0; position: fixed; bottom: 0%; right: 0%; left: 0%; padding-left: 45%;}.navi li{ display: inline; position: relative; background-color: rgba(0,0,0,0)}.navi li a{ font-size: 17; display: inline}.navi li a:link {color: black;}.navi li a:visited {color: black;}.navi li a:hover {color: black;}.navi li a:active {color: black;}.ENG { cursor: pointer;}li.LANGSELECT { height: 50px; width: 200px; background-color: rgba(0,0,0,0.5); margin-top: 3px; list-style-type: none;}li.LANGSELECT:hover { box-shadow: 0px 0px 0px 0px #000000; cursor: pointer; background-color: rgba(255,0,100,0.5);}ul.LANGSELECT { margin-left: 400; background-color: rgba(90,187,230,0.5); padding: 25; width: 200;}a.LANGSELECT { font-size: 40; width: 100%; height: 100%; display: block; text-decoration: none; color: aliceblue;}/style>link relshortcut icon href/favicon.ico typeimage/x-icon />meta http-equivContent-Type contenttext/html; charsetutf-8>META HTTP-EQUIVContent-Language CONTENTfr>META NAME Classification CONTENT formation, sécurité, santé>meta namecategory contentformation>META NAMErobots CONTENTindex,follow>meta namedistribution contentglobal>meta namecopyright contentMaurice Lando, Touformation, 8527571 Canada Inc.>meta namerevisit-after content14 days>meta nameidentifier-url contenthttp://www.touformation.com>meta nameDate-Creation-yyyymmdd content20150207>META NAMEDescription CONTENTNous offrons des cours dappareils de levage adaptés à votre univers de travail.>META NAMEkeywords CONTENTchariot, élévateur, plateforme, élévatrice, nacelle, pont-roulant, auxiliaire, camion, grue, pelle, hydraulique, mini-pelle, chargeuse, mini-chargeuse, rétrocaveuse, bouteur, cadenassage, espace, clos, prévention, chutes, SIMDUT, TMD, chariot élévateur, plateforme élévatrice, pont, roulant, camion grue auxiliaire, camion grue nacelle, espace clos, prévention des chutes, elevateur, plateforme, elevatrice, retrocaveuse, prevention, chariot elevateur, plateforme elevatrice, prevention des chutes, chariots, élévateurs, plateformes, élévatrices, nacelles, pont-roulants, auxiliaires, camions, grues, pelles, hydrauliques, mini-pelles, chargeuses, mini-chargeusse, rétrocaveusse, bouteurs, cadenassages, espaces, clos, préventions, chute, chariots élévateurs, plateformes élévatrices, ponts, roulants, camions grues auxiliairse, camions grues nacelles, espaces clos, préventions des chutes, elevateurs, plateformes, elevatrices, retrocaveuses, preventiosn, chariots elevateurs, plateformes elevatrices, preventions des chutes>/head>body>div id BOX>div id Title>/div>div id Earth>/div>div id Mars>/div>div id Mercury>/div>div id Neptune>/div>div id Venus>/div>div id Empty1>/div>div id Empty2>/div>div id Empty3>/div>div id Uranus>/div>div id MainList>ul classPopUp> li>a href?pathfrench/information/mission.php>Mission/a>/li> li>a href?pathfrench/information/about.php>À propos/a>/li> li>a href?pathfrench/information/cooperate.php>On coopère/a>/li> li>a href?pathfrench/information/adapt.php>On sadapte/a>/li> li>a href?pathfrench/information/partners.php>Partenaires/a>/li> li>a href?pathfrench/information/contact.php>Contact/a>/li>/ul>/div>div id AppList>ul class PopUp> li>a href?pathfrench/lifting/liftTruck.php>Chariot élévateur/a>/li> li>a href?pathfrench/lifting/aerialLift.php>Plateforme élévatrice/a>/li> li>a href?pathfrench/lifting/mobileCrane.php>Grue mobile/a>/li> li>a href?pathfrench/lifting/overHeadCrane.php>Pont roulant/a>/li> /ul>/div>div id FormList>ul classPopUp> li>a href?pathfrench/training/internalTrainer.php>Formateur interne/a>/li> /ul>/div>div id AgriList>ul classPopUp> li>a href?pathfrench/agriculture/alimentary.php>Salubrité alimentaire/a>/li> li>a href?pathfrench/agriculture/pesticides.php>Pesticides/a>/li> /ul>/div>div id MachList>ul classPopUp> li>a href?pathfrench/machinery/loader.php>Chargeuse/a>/li> li>a href?pathfrench/machinery/miniLoader.php>Mini-chargeuse/a>/li> li>a href?pathfrench/machinery/excavator.php>Pelle hydraulique/a>/li> li>a href?pathfrench/machinery/miniExcavator.php>Mini-pelle/a>/li> li>a href?pathfrench/machinery/backhoe.php>Rétrocaveuse/a>/li> /ul>/div>div id SstList>ul class PopUp> li>a href?pathfrench/sst/lockOutTagOut.php>Cadenassage/a>/li> li>a href?pathfrench/sst/confinedSpaces.php>Espace clos/a>/li> li>a href?pathfrench/sst/fallPrevention.php>Prévention des chutes/a>/li> li>a href?pathfrench/sst/simdut.php>SIMDUT/a>/li> li>a href?pathfrench/sst/tmd.php>TMD/a>/li> /ul>/div>/div>ul classNavi>li>a>Site a également offert en:/a>/li> li>a onclickloadEnglish() classENG>u>English/u>/a>/li>/ul>/body>/html>
Port 443
HTTP/1.1 200 OKContent-Type: text/html; charsetUTF-8Vary: Accept-EncodingX-Cloud-Trace-Context: f4111af7d4e864b451cc6668c37d303eDate: Wed, 30 Oct 2024 18:36:59 GMTServer: Google FrontendContent-Length: 396349 html>head>title>TouFormation/title>script>function loadFrench() { use strict; localStorage.setItem(language, FR); window.open(?pathfrench/home.php, _self);}function loadEnglish() { use strict; localStorage.setItem(language, ENG); window.open(?pathenglish/home.php, _self);}function checkLanguage() { use strict; var lang localStorage.language; loadFrench(); //skip check for english if (lang FR) { loadFrench(); } else if (lang ENG) { loadEnglish(); }}/*! jQuery v1.11.3 | (c) 2005, 2015 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{},l1.11.3,mfunction(a,b){return new m.fn.init(a,b)},n/^\s\uFEFF\xA0+|\s\uFEFF\xA0+$/g,o/^-ms-/,p/-(\da-z)/gi,qfunction(a,b){return b.toUpperCase()};m.fnm.prototype{jquery:l,constructor:m,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 bm.merge(this.constructor(),a);return b.prevObjectthis,b.contextthis.context,b},each:function(a,b){return m.each(this,a,b)},map:function(a){return this.pushStack(m.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},m.extendm.fn.extendfunction(){var a,b,c,d,e,f,garguments0||{},h1,iarguments.length,j!1;for(booleantypeof g&&(jg,gargumentsh||{},h++),objecttypeof g||m.isFunction(g)||(g{}),hi&&(gthis,h--);i>h;h++)if(null!(eargumentsh))for(d in e)agd,ced,g!c&&(j&&c&&(m.isPlainObject(c)||(bm.isArray(c)))?(b?(b!1,fa&&m.isArray(a)?a:):fa&&m.isPlainObject(a)?a:{},gdm.extend(j,f,c)):void 0!c&&(gdc));return g},m.extend({expando:jQuery+(l+Math.random()).replace(/\D/g,),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isFunction:function(a){returnfunctionm.type(a)},isArray:Array.isArray||function(a){returnarraym.type(a)},isWindow:function(a){return null!a&&aa.window},isNumeric:function(a){return!m.isArray(a)&&a-parseFloat(a)+1>0},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},isPlainObject:function(a){var b;if(!a||object!m.type(a)||a.nodeType||m.isWindow(a))return!1;try{if(a.constructor&&!j.call(a,constructor)&&!j.call(a.constructor.prototype,isPrototypeOf))return!1}catch(c){return!1}if(k.ownLast)for(b in a)return j.call(a,b);for(b in a);return void 0b||j.call(a,b)},type:function(a){return nulla?a+:objecttypeof a||functiontypeof a?hi.call(a)||object:typeof a},globalEval:function(b){b&&m.trim(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(o,ms-).replace(p,q)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()b.toLowerCase()},each:function(a,b,c){var d,e0,fa.length,gr(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(n,)},makeArray:function(a,b){var cb||;return null!a&&(r(Object(a))?m.merge(c,stringtypeof a?a:a):f.call(c,a)),c},inArray:function(a,b,c){var d;if(b){if(g)return g.call(b,a,c);for(db.length,cc?0>c?Math.max(0,d+c):c:0;d>c;c++)if(c in b&&bca)return c}return-1},merge:function(a,b){var c+b.length,d0,ea.length;while(c>d)ae++bd++;if(c!c)while(void 0!bd)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,hr(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&&(fab,ba,af),m.isFunction(a)?(cd.call(arguments,2),efunction(){return a.apply(b||this,c.concat(d.call(arguments)))},e.guida.guida.guid||m.guid++,e):void 0},now:function(){return+new Date},support:k}),m.each(Boolean Number String Function Array Date RegExp Object Error.split( ),function(a,b){hobject +b+b.toLowerCase()});function r(a){var blengthin a&&a.length,cm.type(a);returnfunctionc||m.isWindow(a)?!1:1a.nodeType&&b?!0:arrayc||0b||numbertypeof b&&b>0&&b-1 in a}var sfunction(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,yha(),zha(),Aha(),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-+))$/,aa/+~/,ba/|\\/g,canew RegExp(\\\\(\\da-f{1,6}+L+?|(+L+)|.),ig),dafunction(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)},eafunction(){m()};try{H.apply(EI.call(v.childNodes),v.childNodes),Ev.childNodes.length.nodeType}catch(fa){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 ga(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(ba,\\$&):b.setAttribute(id,s),sid+s+ ,lo.length;while(l--)ols+ra(ol);waa.test(a)&&pa(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 ha(){var a;function b(c,e){return a.push(c+ )>d.cacheLength&&delete ba.shift(),bc+ e}return b}function ia(a){return au!0,a}function ja(a){var bn.createElement(div);try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),bnull}}function ka(a,b){var ca.split(|),ea.length;while(e--)d.attrHandleceb}function la(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 ma(a){return function(b){var cb.nodeName.toLowerCase();returninputc&&b.typea}}function na(a){return function(b){var cb.nodeName.toLowerCase();return(inputc||buttonc)&&b.typea}}function oa(a){return ia(function(b){return b+b,ia(function(c,d){var e,fa(,c.length,b),gf.length;while(g--)cefg&&(ce!(dece))})})}function pa(a){return a&&undefined!typeof a.getElementsByTagName&&a}cga.support{},fga.isXMLfunction(a){var ba&&(a.ownerDocument||a).documentElement;return b?HTML!b.nodeName:!1},mga.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,ea,!1):e.attachEvent&&e.attachEvent(onunload,ea)),p!f(g),c.attributesja(function(a){return a.classNamei,!a.getAttribute(className)}),c.getElementsByTagNameja(function(a){return a.appendChild(g.createComment()),!a.getElementsByTagName(*).length}),c.getElementsByClassName$.test(g.getElementsByClassName),c.getByIdja(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(ca,da);return function(a){return a.getAttribute(id)b}}):(delete d.find.ID,d.filter.IDfunction(a){var ba.replace(ca,da);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))&&(ja(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(.#.++~)}),ja(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))&&ja(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 la(a,b);ca;while(cc.parentNode)h.unshift(c);cb;while(cc.parentNode)i.unshift(c);while(hdid)d++;return d?la(hd,id):hdv?-1:idv?1:0},g):n},ga.matchesfunction(a,b){return ga(a,null,null,b)},ga.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 ga(b,n,null,a).length>0},ga.containsfunction(a,b){return(a.ownerDocument||a)!n&&m(a),t(a,b)},ga.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},ga.errorfunction(a){throw new Error(Syntax error, unrecognized expression: +a)},ga.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},ega.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},dga.selectors{cacheLength:50,createPseudo:ia,match:X,attrHandle:{},find:{},relative:{>:{dir:parentNode,first:!0}, :{dir:parentNode},+:{dir:previousSibling,first:!0},~:{dir:previousSibling}},preFilter:{ATTR:function(a){return a1a1.replace(ca,da),a3(a3||a4||a5||).replace(ca,da),~a2&&(a3 +a3+ ),a.slice(0,4)},CHILD:function(a){return a1a1.toLowerCase(),ntha1.slice(0,3)?(a3||ga.error(a0),a4+(a4?a5+(a6||1):2*(evena3||odda3)),a5+(a7+a8||odda3)):a3&&ga.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(ca,da).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 ega.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()||ga.error(unsupported pseudo: +a);return eu?e(b):e.length>1?(ca,a,,b,d.setFilters.hasOwnProperty(a.toLowerCase())?ia(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:ia(function(a){var b,c,dh(a.replace(R,$1));return du?ia(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:ia(function(a){return function(b){return ga(a,b).length>0}}),contains:ia(function(a){return aa.replace(ca,da),function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:ia(function(a){return W.test(a||)||ga.error(unsupported lang: +a),aa.replace(ca,da).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:oa(function(){return0}),last:oa(function(a,b){returnb-1}),eq:oa(function(a,b,c){return0>c?c+b:c}),even:oa(function(a,b){for(var c0;b>c;c+2)a.push(c);return a}),odd:oa(function(a,b){for(var c1;b>c;c+2)a.push(c);return a}),lt:oa(function(a,b,c){for(var d0>c?c+b:c;--d>0;)a.push(d);return a}),gt:oa(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.pseudosbma(b);for(b in{submit:!0,reset:!0})d.pseudosbna(b);function qa(){}qa.prototyped.filtersd.pseudos,d.setFiltersnew qa,gga.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?ga.error(a):z(a,i).slice(0)};function ra(a){for(var b0,ca.length,d;c>b;b++)d+ab.value;return d}function sa(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 ta(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 ua(a,b,c){for(var d0,eb.length;e>d;d++)ga(a,bd,c);return c}function va(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 wa(a,b,c,d,e,f){return d&&!du&&(dwa(d)),e&&!eu&&(ewa(e,f)),ia(function(f,g,h,i){var j,k,l,m,n,og.length,pf||ua(b||*,h.nodeType?h:h,),q!a||!f&&b?p:va(p,m,a,h,i),rc?e||(f?a:o||d)?:g:q;if(c&&c(q,r,h,i),d){jva(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 rva(rg?r.splice(o,r.length):r),e?e(null,g,r,i):H.apply(g,r)})}function xa(a){for(var b,c,e,fa.length,gd.relativea0.type,hg||d.relative ,ig?1:0,ksa(function(a){return ab},h,!0),lsa(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)msa(ta(m),c);else{if(cd.filterai.type.apply(null,ai.matches),cu){for(e++i;f>e;e++)if(d.relativeae.type)break;return wa(i>1&&ta(m),i>1&&ra(a.slice(0,i-1).concat({value: ai-2.type?*:})).replace(R,$1),c,e>i&&xa(a.slice(i,e)),f>e&&xa(aa.slice(e)),f>e&&ra(a))}m.push(c)}return ta(m)}function ya(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));sva(s)}H.apply(i,s),k&&!f&&s.length>0&&p+b.length>1&&ga.uniqueSort(i)}return k&&(wv,jt),r};return c?ia(f):f}return hga.compilefunction(a,b){var c,d,e,fAa+ ;if(!f){b||(bg(a)),cb.length;while(c--)fxa(bc),fu?d.push(f):e.push(f);fA(a,ya(e,d)),f.selectora}return f},iga.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(ca,da),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(ca,da),aa.test(j0.type)&&pa(b.parentNode)||b))){if(j.splice(i,1),af.length&&ra(j),!a)return H.apply(e,f),e;break}}}return(n||h(a,o))(f,b,!p,e,aa.test(a)&&pa(b.parentNode)||b),e},c.sortStableu.split().sort(B).join()u,c.detectDuplicates!!l,m(),c.sortDetachedja(function(a){return 1&a.compareDocumentPosition(n.createElement(div))}),ja(function(a){return a.innerHTMLa href#>/a>,#a.firstChild.getAttribute(href)})||ka(type|href|height|width,function(a,b,c){return c?void 0:a.getAttribute(b,typeb.toLowerCase()?1:2)}),c.attributes&&ja(function(a){return a.innerHTMLinput/>,a.firstChild.setAttribute(value,),a.firstChild.getAttribute(value)})||ka(value,function(a,b,c){return c||input!a.nodeName.toLowerCase()?void 0:a.defaultValue}),ja(function(a){return nulla.getAttribute(disabled)})||ka(K,function(a,b,c){var d;return c?void 0:ab!0?b.toLowerCase():(da.getAttributeNode(b))&&d.specified?d.value:null}),ga}(a);m.finds,m.exprs.selectors,m.expr:m.expr.pseudos,m.uniques.uniqueSort,m.texts.getText,m.isXMLDocs.isXML,m.containss.contains;var tm.expr.match.needsContext,u/^(\w+)\s*\/?>(?:\/\1>|)$/,v/^.^:#\\.,*$/;function w(a,b,c){if(m.isFunction(b))return m.grep(a,function(a,d){return!!b.call(a,d,a)!c});if(b.nodeType)return m.grep(a,function(a){return ab!c});if(stringtypeof b){if(v.test(b))return m.filter(b,a,c);bm.filter(b,a)}return m.grep(a,function(a){return m.inArray(a,b)>0!c})}m.filterfunction(a,b,c){var db0;return c&&(a:not(+a+)),1b.length&&1d.nodeType?m.find.matchesSelector(d,a)?d::m.find.matches(a,m.grep(b,function(a){return 1a.nodeType}))},m.fn.extend({find:function(a){var b,c,dthis,ed.length;if(string!typeof a)return this.pushStack(m(a).filter(function(){for(b0;e>b;b++)if(m.contains(db,this))return!0}));for(b0;e>b;b++)m.find(a,db,c);return cthis.pushStack(e>1?m.unique(c):c),c.selectorthis.selector?this.selector+ +a:a,c},filter:function(a){return this.pushStack(w(this,a||,!1))},not:function(a){return this.pushStack(w(this,a||,!0))},is:function(a){return!!w(this,stringtypeof a&&t.test(a)?m(a):a||,!1).length}});var x,ya.document,z/^(?:\s*(\w\W+>)^>*|#(\w-*))$/,Am.fn.initfunction(a,b){var c,d;if(!a)return this;if(stringtypeof a){if(ca.charAt(0)&&>a.charAt(a.length-1)&&a.length>3?null,a,null:z.exec(a),!c||!c1&&b)return!b||b.jquery?(b||x).find(a):this.constructor(b).find(a);if(c1){if(bb instanceof m?b0:b,m.merge(this,m.parseHTML(c1,b&&b.nodeType?b.ownerDocument||b:y,!0)),u.test(c1)&&m.isPlainObject(b))for(c in b)m.isFunction(thisc)?thisc(bc):this.attr(c,bc);return this}if(dy.getElementById(c2),d&&d.parentNode){if(d.id!c2)return x.find(a);this.length1,this0d}return this.contexty,this.selectora,this}return a.nodeType?(this.contextthis0a,this.length1,this):m.isFunction(a)?undefined!typeof x.ready?x.ready(a):a(m):(void 0!a.selector&&(this.selectora.selector,this.contexta.context),m.makeArray(a,this))};A.prototypem.fn,xm(y);var B/^(?:parents|prev(?:Until|All))/,C{children:!0,contents:!0,next:!0,prev:!0};m.extend({dir:function(a,b,c){var d,eab;while(e&&9!e.nodeType&&(void 0c||1!e.nodeType||!m(e).is(c)))1e.nodeType&&d.push(e),eeb;return d},sibling:function(a,b){for(var c;a;aa.nextSibling)1a.nodeType&&a!b&&c.push(a);return c}}),m.fn.extend({has:function(a){var b,cm(a,this),dc.length;return this.filter(function(){for(b0;d>b;b++)if(m.contains(this,cb))return!0})},closest:function(a,b){for(var c,d0,ethis.length,f,gt.test(a)||string!typeof a?m(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&&m.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?m.unique(f):f)},index:function(a){return a?stringtypeof a?m.inArray(this0,m(a)):m.inArray(a.jquery?a0:a,this):this0&&this0.parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(m.unique(m.merge(this.get(),m(a,b))))},addBack:function(a){return this.add(nulla?this.prevObject:this.prevObject.filter(a))}});function D(a,b){do aab;while(a&&1!a.nodeType);return a}m.each({parent:function(a){var ba.parentNode;return b&&11!b.nodeType?b:null},parents:function(a){return m.dir(a,parentNode)},parentsUntil:function(a,b,c){return m.dir(a,parentNode,c)},next:function(a){return D(a,nextSibling)},prev:function(a){return D(a,previousSibling)},nextAll:function(a){return m.dir(a,nextSibling)},prevAll:function(a){return m.dir(a,previousSibling)},nextUntil:function(a,b,c){return m.dir(a,nextSibling,c)},prevUntil:function(a,b,c){return m.dir(a,previousSibling,c)},siblings:function(a){return m.sibling((a.parentNode||{}).firstChild,a)},children:function(a){return m.sibling(a.firstChild)},contents:function(a){return m.nodeName(a,iframe)?a.contentDocument||a.contentWindow.document:m.merge(,a.childNodes)}},function(a,b){m.fnafunction(c,d){var em.map(this,b,c);returnUntil!a.slice(-5)&&(dc),d&&stringtypeof d&&(em.filter(d,e)),this.length>1&&(Ca||(em.unique(e)),B.test(a)&&(ee.reverse())),this.pushStack(e)}});var E/\S+/g,F{};function G(a){var bFa{};return m.each(a.match(E)||,function(a,c){bc!0}),b}m.Callbacksfunction(a){astringtypeof a?Fa||G(a):m.extend({},a);var b,c,d,e,f,g,h,i!a.once&&,jfunction(l){for(ca.memory&&l,d!0,fg||0,g0,eh.length,b!0;h&&e>f;f++)if(hf.apply(l0,l1)!1&&a.stopOnFalse){c!1;break}b!1,h&&(i?i.length&&j(i.shift()):c?h:k.disable())},k{add:function(){if(h){var dh.length;!function f(b){m.each(b,function(b,c){var dm.type(c);functiond?a.unique&&k.has(c)||h.push(c):c&&c.length&&string!d&&f(c)})}(arguments),b?eh.length:c&&(gd,j(c))}return this},remove:function(){return h&&m.each(arguments,function(a,c){var d;while((dm.inArray(c,h,d))>-1)h.splice(d,1),b&&(e>d&&e--,f>d&&f--)}),this},has:function(a){return a?m.inArray(a,h)>-1:!(!h||!h.length)},empty:function(){return h,e0,this},disable:function(){return hicvoid 0,this},disabled:function(){return!h},lock:function(){return ivoid 0,c||k.disable(),this},locked:function(){return!i},fireWith:function(a,c){return!h||d&&!i||(cc||,ca,c.slice?c.slice():c,b?i.push(c):j(c)),this},fire:function(){return k.fireWith(this,arguments),this},fired:function(){return!!d}};return k},m.extend({Deferred:function(a){var bresolve,done,m.Callbacks(once memory),resolved,reject,fail,m.Callbacks(once memory),rejected,notify,progress,m.Callbacks(memory),cpending,d{state:function(){return c},always:function(){return e.done(arguments).fail(arguments),this},then:function(){var aarguments;return m.Deferred(function(c){m.each(b,function(b,f){var gm.isFunction(ab)&&ab;ef1(function(){var ag&&g.apply(this,arguments);a&&m.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?m.extend(a,d):d}},e{};return d.piped.then,m.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&&m.isFunction(a.promise)?e:0,g1f?a:m.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&&m.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;m.fn.readyfunction(a){return m.ready.promise().done(a),this},m.extend({isReady:!1,readyWait:1,holdReady:function(a){a?m.readyWait++:m.ready(!0)},ready:function(a){if(a!0?!--m.readyWait:!m.isReady){if(!y.body)return setTimeout(m.ready);m.isReady!0,a!!0&&--m.readyWait>0||(H.resolveWith(y,m),m.fn.triggerHandler&&(m(y).triggerHandler(ready),m(y).off(ready)))}}});function I(){y.addEventListener?(y.removeEventListener(DOMContentLoaded,J,!1),a.removeEventListener(load,J,!1)):(y.detachEvent(onreadystatechange,J),a.detachEvent(onload,J))}function J(){(y.addEventListener||loadevent.type||completey.readyState)&&(I(),m.ready())}m.ready.promisefunction(b){if(!H)if(Hm.Deferred(),completey.readyState)setTimeout(m.ready);else if(y.addEventListener)y.addEventListener(DOMContentLoaded,J,!1),a.addEventListener(load,J,!1);else{y.attachEvent(onreadystatechange,J),a.attachEvent(onload,J);var c!1;try{cnulla.frameElement&&y.documentElement}catch(d){}c&&c.doScroll&&!function e(){if(!m.isReady){try{c.doScroll(left)}catch(a){return setTimeout(e,50)}I(),m.ready()}}()}return H.promise(b)};var Kundefined,L;for(L in m(k))break;k.ownLast0!L,k.inlineBlockNeedsLayout!1,m(function(){var a,b,c,d;cy.getElementsByTagName(body)0,c&&c.style&&(by.createElement(div),dy.createElement(div),d.style.cssTextposition:absolute;border:0;width:0;height:0;top:0;left:-9999px,c.appendChild(d).appendChild(b),typeof b.style.zoom!K&&(b.style.cssTextdisplay:inline;margin:0;border:0;padding:1px;width:1px;zoom:1,k.inlineBlockNeedsLayouta3b.offsetWidth,a&&(c.style.zoom1)),c.removeChild(d))}),function(){var ay.createElement(div);if(nullk.deleteExpando){k.deleteExpando!0;try{delete a.test}catch(b){k.deleteExpando!1}}anull}(),m.acceptDatafunction(a){var bm.noData(a.nodeName+ ).toLowerCase(),c+a.nodeType||1;return 1!c&&9!c?!1:!b||b!!0&&a.getAttribute(classid)b};var M/^(?:\{\w\W*\}|\\w\W*\)$/,N/(A-Z)/g;function O(a,b,c){if(void 0c&&1a.nodeType){var ddata-+b.replace(N,-$1).toLowerCase();if(ca.getAttribute(d),stringtypeof c){try{ctruec?!0:falsec?!1:nullc?null:+c+c?+c:M.test(c)?m.parseJSON(c):c}catch(e){}m.data(a,b,c)}else cvoid 0}return c}function P(a){var b;for(b in a)if((data!b||!m.isEmptyObject(ab))&&toJSON!b)return!1;return!0}function Q(a,b,d,e){if(m.acceptData(a)){var f,g,hm.expando,ia.nodeType,ji?m.cache:a,ki?ah:ah&&h;if(k&&jk&&(e||jk.data)||void 0!d||string!typeof b)return k||(ki?ahc.pop()||m.guid++:h),jk||(jki?{}:{toJSON:m.noop}),(objecttypeof b||functiontypeof b)&&(e?jkm.extend(jk,b):jk.datam.extend(jk.data,b)),gjk,e||(g.data||(g.data{}),gg.data),void 0!d&&(gm.camelCase(b)d),stringtypeof b?(fgb,nullf&&(fgm.camelCase(b))):fg,f}}function R(a,b,c){if(m.acceptData(a)){var d,e,fa.nodeType,gf?m.cache:a,hf?am.expando:m.expando;if(gh){if(b&&(dc?gh:gh.data)){m.isArray(b)?bb.concat(m.map(b,m.camelCase)):b in d?bb:(bm.camelCase(b),bb in d?b:b.split( )),eb.length;while(e--)delete dbe;if(c?!P(d):!m.isEmptyObject(d))return}(c||(delete gh.data,P(gh)))&&(f?m.cleanData(a,!0):k.deleteExpando||g!g.window?delete gh:ghnull)}}}m.extend({cache:{},noData:{applet :!0,embed :!0,object :clsid:D27CDB6E-AE6D-11cf-96B8-444553540000},hasData:function(a){return aa.nodeType?m.cacheam.expando:am.expando,!!a&&!P(a)},data:function(a,b,c){return Q(a,b,c)},removeData:function(a,b){return R(a,b)},_data:function(a,b,c){return Q(a,b,c,!0)},_removeData:function(a,b){return R(a,b,!0)}}),m.fn.extend({data:function(a,b){var c,d,e,fthis0,gf&&f.attributes;if(void 0a){if(this.length&&(em.data(f),1f.nodeType&&!m._data(f,parsedAttrs))){cg.length;while(c--)gc&&(dgc.name,0d.indexOf(data-)&&(dm.camelCase(d.slice(5)),O(f,d,ed)));m._data(f,parsedAttrs,!0)}return e}returnobjecttypeof a?this.each(function(){m.data(this,a)}):arguments.length>1?this.each(function(){m.data(this,a,b)}):f?O(f,a,m.data(f,a)):void 0},removeData:function(a){return this.each(function(){m.removeData(this,a)})}}),m.extend({queue:function(a,b,c){var d;return a?(b(b||fx)+queue,dm._data(a,b),c&&(!d||m.isArray(c)?dm._data(a,b,m.makeArray(c)):d.push(c)),d||):void 0},dequeue:function(a,b){bb||fx;var cm.queue(a,b),dc.length,ec.shift(),fm._queueHooks(a,b),gfunction(){m.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 m._data(a,c)||m._data(a,c,{empty:m.Callbacks(once memory).add(function(){m._removeData(a,b+queue),m._removeData(a,c)})})}}),m.fn.extend({queue:function(a,b){var c2;returnstring!typeof a&&(ba,afx,c--),arguments.lengthc?m.queue(this0,a):void 0b?this:this.each(function(){var cm.queue(this,a,b);m._queueHooks(this,a),fxa&&inprogress!c0&&m.dequeue(this,a)})},dequeue:function(a){return this.each(function(){m.dequeue(this,a)})},clearQueue:function(a){return this.queue(a||fx,)},promise:function(a,b){var c,d1,em.Deferred(),fthis,gthis.length,hfunction(){--d||e.resolveWith(f,f)};string!typeof a&&(ba,avoid 0),aa||fx;while(g--)cm._data(fg,a+queueHooks),c&&c.empty&&(d++,c.empty.add(h));return h(),e.promise(b)}});var S/+-?(?:\d*\.|)\d+(?:eE+-?\d+|)/.source,TTop,Right,Bottom,Left,Ufunction(a,b){return ab||a,nonem.css(a,display)||!m.contains(a.ownerDocument,a)},Vm.accessfunction(a,b,c,d,e,f,g){var h0,ia.length,jnullc;if(objectm.type(c)){e!0;for(h in c)m.access(a,b,h,ch,!0,f,g)}else if(void 0!d&&(e!0,m.isFunction(d)||(g!0),j&&(g?(b.call(a,d),bnull):(jb,bfunction(a,b,c){return j.call(m(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},W/^(?:checkbox|radio)$/i;!function(){var ay.createElement(input),by.createElement(div),cy.createDocumentFragment();if(b.innerHTML link/>table>/table>a href/a>a/a>input typecheckbox/>,k.leadingWhitespace3b.firstChild.nodeType,k.tbody!b.getElementsByTagName(tbody).length,k.htmlSerialize!!b.getElementsByTagName(link).length,k.html5Clone:nav>/:nav>!y.createElement(nav).cloneNode(!0).outerHTML,a.typecheckbox,a.checked!0,c.appendChild(a),k.appendCheckeda.checked,b.innerHTMLtextarea>x/textarea>,k.noCloneChecked!!b.cloneNode(!0).lastChild.defaultValue,c.appendChild(b),b.innerHTMLinput typeradio checkedchecked namet/>,k.checkCloneb.cloneNode(!0).cloneNode(!0).lastChild.checked,k.noCloneEvent!0,b.attachEvent&&(b.attachEvent(onclick,function(){k.noCloneEvent!1}),b.cloneNode(!0).click()),nullk.deleteExpando){k.deleteExpando!0;try{delete b.test}catch(d){k.deleteExpando!1}}}(),function(){var b,c,dy.createElement(div);for(b in{submit:!0,change:!0,focusin:!0})con+b,(kb+Bubblesc in a)||(d.setAttribute(c,t),kb+Bubblesd.attributesc.expando!1);dnull}();var X/^(?:input|select|textarea)$/i,Y/^key/,Z/^(?:mouse|pointer|contextmenu)|click/,$/^(?:focusinfocus|focusoutblur)$/,_/^(^.*)(?:\.(.+)|)$/;function aa(){return!0}function ba(){return!1}function ca(){try{return y.activeElement}catch(a){}}m.event{global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,n,o,p,q,rm._data(a);if(r){c.handler&&(ic,ci.handler,ei.selector),c.guid||(c.guidm.guid++),(gr.events)||(gr.events{}),(kr.handle)||(kr.handlefunction(a){return typeof mK||a&&m.event.triggereda.type?void 0:m.event.dispatch.apply(k.elem,arguments)},k.elema),b(b||).match(E)||,hb.length;while(h--)f_.exec(bh)||,oqf1,p(f2||).split(.).sort(),o&&(jm.event.specialo||{},o(e?j.delegateType:j.bindType)||o,jm.event.specialo||{},lm.extend({type:o,origType:q,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&m.expr.match.needsContext.test(e),namespace:p.join(.)},i),(ngo)||(ngo,n.delegateCount0,j.setup&&j.setup.call(a,d,p,k)!!1||(a.addEventListener?a.addEventListener(o,k,!1):a.attachEvent&&a.attachEvent(on+o,k))),j.add&&(j.add.call(a,l),l.handler.guid||(l.handler.guidc.guid)),e?n.splice(n.delegateCount++,0,l):n.push(l),m.event.globalo!0);anull}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,n,o,p,q,rm.hasData(a)&&m._data(a);if(r&&(kr.events)){b(b||).match(E)||,jb.length;while(j--)if(h_.exec(bj)||,oqh1,p(h2||).split(.).sort(),o){lm.event.specialo||{},o(d?l.delegateType:l.bindType)||o,nko||,hh2&&new RegExp((^|\\.)+p.join(\\.(?:.*\\.|))+(\\.|$)),ifn.length;while(f--)gnf,!e&&q!g.origType||c&&c.guid!g.guid||h&&!h.test(g.namespace)||d&&d!g.selector&&(**!d||!g.selector)||(n.splice(f,1),g.selector&&n.delegateCount--,l.remove&&l.remove.call(a,g));i&&!n.length&&(l.teardown&&l.teardown.call(a,p,r.handle)!!1||m.removeEvent(a,o,r.handle),delete ko)}else for(o in k)m.event.remove(a,o+bj,c,d,!0);m.isEmptyObject(k)&&(delete r.handle,m._removeData(a,events))}},trigger:function(b,c,d,e){var f,g,h,i,k,l,n,od||y,pj.call(b,type)?b.type:b,qj.call(b,namespace)?b.namespace.split(.):;if(hldd||y,3!d.nodeType&&8!d.nodeType&&!$.test(p+m.event.triggered)&&(p.indexOf(.)>0&&(qp.split(.),pq.shift(),q.sort()),gp.indexOf(:)0&&on+p,bbm.expando?b:new m.Event(p,objecttypeof b&&b),b.isTriggere?2:3,b.namespaceq.join(.),b.namespace_reb.namespace?new RegExp((^|\\.)+q.join(\\.(?:.*\\.|))+(\\.|$)):null,b.resultvoid 0,b.target||(b.targetd),cnullc?b:m.makeArray(c,b),km.event.specialp||{},e||!k.trigger||k.trigger.apply(d,c)!!1)){if(!e&&!k.noBubble&&!m.isWindow(d)){for(ik.delegateType||p,$.test(i+p)||(hh.parentNode);h;hh.parentNode)o.push(h),lh;l(d.ownerDocument||y)&&o.push(l.defaultView||l.parentWindow||a)}n0;while((hon++)&&!b.isPropagationStopped())b.typen>1?i:k.bindType||p,f(m._data(h,events)||{})b.type&&m._data(h,handle),f&&f.apply(h,c),fg&&hg,f&&f.apply&&m.acceptData(h)&&(b.resultf.apply(h,c),b.result!1&&b.preventDefault());if(b.typep,!e&&!b.isDefaultPrevented()&&(!k._default||k._default.apply(o.pop(),c)!1)&&m.acceptData(d)&&g&&dp&&!m.isWindow(d)){ldg,l&&(dgnull),m.event.triggeredp;try{dp()}catch(r){}m.event.triggeredvoid 0,l&&(dgl)}return b.result}},dispatch:function(a){am.event.fix(a);var b,c,e,f,g,h,id.call(arguments),j(m._data(this,events)||{})a.type||,km.event.speciala.type||{};if(i0a,a.delegateTargetthis,!k.preDispatch||k.preDispatch.call(this,a)!!1){hm.event.handlers.call(this,a,j),b0;while((fhb++)&&!a.isPropagationStopped()){a.currentTargetf.elem,g0;while((ef.handlersg++)&&!a.isImmediatePropagationStopped())(!a.namespace_re||a.namespace_re.test(e.namespace))&&(a.handleObje,a.datae.data,c((m.event.speciale.origType||{}).handle||e.handler).apply(f.elem,i),void 0!c&&(a.resultc)!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(1i.nodeType&&(i.disabled!!0||click!a.type)){for(e,f0;h>f;f++)dbf,cd.selector+ ,void 0ec&&(ecd.needsContext?m(c,this).index(i)>0:m.find(c,this,null,i).length),ec&&e.push(d);e.length&&g.push({elem:i,handlers:e})}return hb.length&&g.push({elem:this,handlers:b.slice(h)}),g},fix:function(a){if(am.expando)return a;var b,c,d,ea.type,fa,gthis.fixHookse;g||(this.fixHooksegZ.test(e)?this.mouseHooks:Y.test(e)?this.keyHooks:{}),dg.props?this.props.concat(g.props):this.props,anew m.Event(f),bd.length;while(b--)cdb,acfc;return a.target||(a.targetf.srcElement||y),3a.target.nodeType&&(a.targeta.target.parentNode),a.metaKey!!a.metaKey,g.filter?g.filter(a,f):a},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 fromElement offsetX offsetY pageX pageY screenX screenY toElement.split( ),filter:function(a,b){var c,d,e,fb.button,gb.fromElement;return nulla.pageX&&null!b.clientX&&(da.target.ownerDocument||y,ed.documentElement,cd.body,a.pageXb.clientX+(e&&e.scrollLeft||c&&c.scrollLeft||0)-(e&&e.clientLeft||c&&c.clientLeft||0),a.pageYb.clientY+(e&&e.scrollTop||c&&c.scrollTop||0)-(e&&e.clientTop||c&&c.clientTop||0)),!a.relatedTarget&&g&&(a.relatedTargetga.target?b.toElement:g),a.which||void 0f||(a.which1&f?1:2&f?3:4&f?2:0),a}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!ca()&&this.focus)try{return this.focus(),!1}catch(a){}},delegateType:focusin},blur:{trigger:function(){return thisca()&&this.blur?(this.blur(),!1):void 0},delegateType:focusout},click:{trigger:function(){return m.nodeName(this,input)&&checkboxthis.type&&this.click?(this.click(),!1):void 0},_default:function(a){return m.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 em.extend(new m.Event,c,{type:a,isSimulated:!0,originalEvent:{}});d?m.event.trigger(e,null,b):m.event.dispatch.call(b,e),e.isDefaultPrevented()&&c.preventDefault()}},m.removeEventy.removeEventListener?function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)}:function(a,b,c){var don+b;a.detachEvent&&(typeof adK&&(adnull),a.detachEvent(d,c))},m.Eventfunction(a,b){return this instanceof m.Event?(a&&a.type?(this.originalEventa,this.typea.type,this.isDefaultPreventeda.defaultPrevented||void 0a.defaultPrevented&&a.returnValue!1?aa:ba):this.typea,b&&m.extend(this,b),this.timeStampa&&a.timeStamp||m.now(),void(thism.expando!0)):new m.Event(a,b)},m.Event.prototype{isDefaultPrevented:ba,isPropagationStopped:ba,isImmediatePropagationStopped:ba,preventDefault:function(){var athis.originalEvent;this.isDefaultPreventedaa,a&&(a.preventDefault?a.preventDefault():a.returnValue!1)},stopPropagation:function(){var athis.originalEvent;this.isPropagationStoppedaa,a&&(a.stopPropagation&&a.stopPropagation(),a.cancelBubble!0)},stopImmediatePropagation:function(){var athis.originalEvent;this.isImmediatePropagationStoppedaa,a&&a.stopImmediatePropagation&&a.stopImmediatePropagation(),this.stopPropagation()}},m.each({mouseenter:mouseover,mouseleave:mouseout,pointerenter:pointerover,pointerleave:pointerout},function(a,b){m.event.speciala{delegateType:b,bindType:b,handle:function(a){var c,dthis,ea.relatedTarget,fa.handleObj;return(!e||e!d&&!m.contains(d,e))&&(a.typef.origType,cf.handler.apply(this,arguments),a.typeb),c}}}),k.submitBubbles||(m.event.special.submit{setup:function(){return m.nodeName(this,form)?!1:void m.event.add(this,click._submit keypress._submit,function(a){var ba.target,cm.nodeName(b,input)||m.nodeName(b,button)?b.form:void 0;c&&!m._data(c,submitBubbles)&&(m.event.add(c,submit._submit,function(a){a._submit_bubble!0}),m._data(c,submitBubbles,!0))})},postDispatch:function(a){a._submit_bubble&&(delete a._submit_bubble,this.parentNode&&!a.isTrigger&&m.event.simulate(submit,this.parentNode,a,!0))},teardown:function(){return m.nodeName(this,form)?!1:void m.event.remove(this,._submit)}}),k.changeBubbles||(m.event.special.change{setup:function(){return X.test(this.nodeName)?((checkboxthis.type||radiothis.type)&&(m.event.add(this,propertychange._change,function(a){checkeda.originalEvent.propertyName&&(this._just_changed!0)}),m.event.add(this,click._change,function(a){this._just_changed&&!a.isTrigger&&(this._just_changed!1),m.event.simulate(change,this,a,!0)})),!1):void m.event.add(this,beforeactivate._change,function(a){var ba.target;X.test(b.nodeName)&&!m._data(b,changeBubbles)&&(m.event.add(b,change._change,function(a){!this.parentNode||a.isSimulated||a.isTrigger||m.event.simulate(change,this.parentNode,a,!0)}),m._data(b,changeBubbles,!0))})},handle:function(a){var ba.target;return this!b||a.isSimulated||a.isTrigger||radio!b.type&&checkbox!b.type?a.handleObj.handler.apply(this,arguments):void 0},teardown:function(){return m.event.remove(this,._change),!X.test(this.nodeName)}}),k.focusinBubbles||m.each({focus:focusin,blur:focusout},function(a,b){var cfunction(a){m.event.simulate(b,a.target,m.event.fix(a),!0)};m.event.specialb{setup:function(){var dthis.ownerDocument||this,em._data(d,b);e||d.addEventListener(a,c,!0),m._data(d,b,(e||0)+1)},teardown:function(){var dthis.ownerDocument||this,em._data(d,b)-1;e?m._data(d,b,e):(d.removeEventListener(a,c,!0),m._removeData(d,b))}}}),m.fn.extend({on:function(a,b,c,d,e){var f,g;if(objecttypeof a){string!typeof b&&(cc||b,bvoid 0);for(f in a)this.on(f,b,c,af,e);return this}if(nullc&&nulld?(db,cbvoid 0):nulld&&(stringtypeof b?(dc,cvoid 0):(dc,cb,bvoid 0)),d!1)dba;else if(!d)return this;return 1e&&(gd,dfunction(a){return m().off(a),g.apply(this,arguments)},d.guidg.guid||(g.guidm.guid++)),this.each(function(){m.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,m(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&&(cba),this.each(function(){m.event.remove(this,a,c,b)})},trigger:function(a,b){return this.each(function(){m.event.trigger(a,b,this)})},triggerHandler:function(a,b){var cthis0;return c?m.event.trigger(a,b,c,!0):void 0}});function da(a){var bea.split(|),ca.createDocumentFragment();if(c.createElement)while(b.length)c.createElement(b.pop());return c}var eaabbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video,fa/ jQuery\d+(?:null|\d+)/g,ganew RegExp((?:+ea+)\\s/>,i),ha/^\s+/,ia/(?!area|br|col|embed|hr|img|input|link|meta|param)((\w:+)^>*)\/>/gi,ja/(\w:+)/,ka/tbody/i,la/|?\w+;/,ma/(?:script|style|link)/i,na/checked\s*(?:^|\s*.checked.)/i,oa/^$|\/(?:java|ecma)script/i,pa/^true\/(.*)/,qa/^\s*!(?:\CDATA\|--)|(?:\\|--)>\s*$/g,ra{option:1,select multiplemultiple>,/select>,legend:1,fieldset>,/fieldset>,area:1,map>,/map>,param:1,object>,/object>,thead:1,table>,/table>,tr:2,table>tbody>,/tbody>/table>,col:2,table>tbody>/tbody>colgroup>,/colgroup>/table>,td:3,table>tbody>tr>,/tr>/tbody>/table>,_default:k.htmlSerialize?0,,:1,Xdiv>,/div>},sada(y),tasa.appendChild(y.createElement(div));ra.optgroupra.option,ra.tbodyra.tfootra.colgroupra.captionra.thead,ra.thra.td;function ua(a,b){var c,d,e0,ftypeof a.getElementsByTagName!K?a.getElementsByTagName(b||*):typeof a.querySelectorAll!K?a.querySelectorAll(b||*):void 0;if(!f)for(f,ca.childNodes||a;null!(dce);e++)!b||m.nodeName(d,b)?f.push(d):m.merge(f,ua(d,b));return void 0b||b&&m.nodeName(a,b)?m.merge(a,f):f}function va(a){W.test(a.type)&&(a.defaultCheckeda.checked)}function wa(a,b){return m.nodeName(a,table)&&m.nodeName(11!b.nodeType?b:b.firstChild,tr)?a.getElementsByTagName(tbody)0||a.appendChild(a.ownerDocument.createElement(tbody)):a}function xa(a){return a.type(null!m.find.attr(a,type))+/+a.type,a}function ya(a){var bpa.exec(a.type);return b?a.typeb1:a.removeAttribute(type),a}function za(a,b){for(var c,d0;null!(cad);d++)m._data(c,globalEval,!b||m._data(bd,globalEval))}function Aa(a,b){if(1b.nodeType&&m.hasData(a)){var c,d,e,fm._data(a),gm._data(b,f),hf.events;if(h){delete g.handle,g.events{};for(c in h)for(d0,ehc.length;e>d;d++)m.event.add(b,c,hcd)}g.data&&(g.datam.extend({},g.data))}}function Ba(a,b){var c,d,e;if(1b.nodeType){if(cb.nodeName.toLowerCase(),!k.noCloneEvent&&bm.expando){em._data(b);for(d in e.events)m.removeEvent(b,d,e.handle);b.removeAttribute(m.expando)}scriptc&&b.text!a.text?(xa(b).texta.text,ya(b)):objectc?(b.parentNode&&(b.outerHTMLa.outerHTML),k.html5Clone&&a.innerHTML&&!m.trim(b.innerHTML)&&(b.innerHTMLa.innerHTML)):inputc&&W.test(a.type)?(b.defaultCheckedb.checkeda.checked,b.value!a.value&&(b.valuea.value)):optionc?b.defaultSelectedb.selecteda.defaultSelected:(inputc||textareac)&&(b.defaultValuea.defaultValue)}}m.extend({clone:function(a,b,c){var d,e,f,g,h,im.contains(a.ownerDocument,a);if(k.html5Clone||m.isXMLDoc(a)||!ga.test(+a.nodeName+>)?fa.cloneNode(!0):(ta.innerHTMLa.outerHTML,ta.removeChild(fta.firstChild)),!(k.noCloneEvent&&k.noCloneChecked||1!a.nodeType&&11!a.nodeType||m.isXMLDoc(a)))for(dua(f),hua(a),g0;null!(ehg);++g)dg&&Ba(e,dg);if(b)if(c)for(hh||ua(a),dd||ua(f),g0;null!(ehg);g++)Aa(e,dg);else Aa(a,f);return dua(f,script),d.length>0&&za(d,!i&&ua(a,script)),dhenull,f},buildFragment:function(a,b,c,d){for(var e,f,g,h,i,j,l,na.length,oda(b),p,q0;n>q;q++)if(faq,f||0f)if(objectm.type(f))m.merge(p,f.nodeType?f:f);else if(la.test(f)){hh||o.appendChild(b.createElement(div)),i(ja.exec(f)||,)1.toLowerCase(),lrai||ra._default,h.innerHTMLl1+f.replace(ia,$1>/$2>)+l2,el0;while(e--)hh.lastChild;if(!k.leadingWhitespace&&ha.test(f)&&p.push(b.createTextNode(ha.exec(f)0)),!k.tbody){ftable!i||ka.test(f)?table>!l1||ka.test(f)?0:h:h.firstChild,ef&&f.childNodes.length;while(e--)m.nodeName(jf.childNodese,tbody)&&!j.childNodes.length&&f.removeChild(j)}m.merge(p,h.childNodes),h.textContent;while(h.firstChild)h.removeChild(h.firstChild);ho.lastChild}else p.push(b.createTextNode(f));h&&o.removeChild(h),k.appendChecked||m.grep(ua(p,input),va),q0;while(fpq++)if((!d||-1m.inArray(f,d))&&(gm.contains(f.ownerDocument,f),hua(o.appendChild(f),script),g&&za(h),c)){e0;while(fhe++)oa.test(f.type||)&&c.push(f)}return hnull,o},cleanData:function(a,b){for(var d,e,f,g,h0,im.expando,jm.cache,lk.deleteExpando,nm.event.special;null!(dah);h++)if((b||m.acceptData(d))&&(fdi,gf&&jf)){if(g.events)for(e in g.events)ne?m.event.remove(d,e):m.removeEvent(d,e,g.handle);jf&&(delete jf,l?delete di:typeof d.removeAttribute!K?d.removeAttribute(i):dinull,c.push(f))}}}),m.fn.extend({text:function(a){return V(this,function(a){return void 0a?m.text(this):this.empty().append((this0&&this0.ownerDocument||y).createTextNode(a))},null,a,arguments.length)},append:function(){return this.domManip(arguments,function(a){if(1this.nodeType||11this.nodeType||9this.nodeType){var bwa(this,a);b.appendChild(a)}})},prepend:function(){return this.domManip(arguments,function(a){if(1this.nodeType||11this.nodeType||9this.nodeType){var bwa(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?m.filter(a,this):this,e0;null!(cde);e++)b||1!c.nodeType||m.cleanData(ua(c)),c.parentNode&&(b&&m.contains(c.ownerDocument,c)&&za(ua(c,script)),c.parentNode.removeChild(c));return this},empty:function(){for(var a,b0;null!(athisb);b++){1a.nodeType&&m.cleanData(ua(a,!1));while(a.firstChild)a.removeChild(a.firstChild);a.options&&m.nodeName(a,select)&&(a.options.length0)}return this},clone:function(a,b){return anulla?!1:a,bnullb?a:b,this.map(function(){return m.clone(this,a,b)})},html:function(a){return V(this,function(a){var bthis0||{},c0,dthis.length;if(void 0a)return 1b.nodeType?b.innerHTML.replace(fa,):void 0;if(!(string!typeof a||ma.test(a)||!k.htmlSerialize&&ga.test(a)||!k.leadingWhitespace&&ha.test(a)||ra(ja.exec(a)||,)1.toLowerCase())){aa.replace(ia,$1>/$2>);try{for(;d>c;c++)bthisc||{},1b.nodeType&&(m.cleanData(ua(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,m.cleanData(ua(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,nthis,ol-1,pa0,qm.isFunction(p);if(q||l>1&&stringtypeof p&&!k.checkClone&&na.test(p))return this.each(function(c){var dn.eq(c);q&&(a0p.call(this,c,d.html())),d.domManip(a,b)});if(l&&(im.buildFragment(a,this0.ownerDocument,!1,this),ci.firstChild,1i.childNodes.length&&(ic),c)){for(gm.map(ua(i,script),xa),fg.length;l>j;j++)di,j!o&&(dm.clone(d,!0,!0),f&&m.merge(g,ua(d,script))),b.call(thisj,d,j);if(f)for(hgg.length-1.ownerDocument,m.map(g,ya),j0;f>j;j++)dgj,oa.test(d.type||)&&!m._data(d,globalEval)&&m.contains(h,d)&&(d.src?m._evalUrl&&m._evalUrl(d.src):m.globalEval((d.text||d.textContent||d.innerHTML||).replace(qa,)));icnull}return this}}),m.each({appendTo:append,prependTo:prepend,insertBefore:before,insertAfter:after,replaceAll:replaceWith},function(a,b){m.fnafunction(a){for(var c,d0,e,gm(a),hg.length-1;h>d;d++)cdh?this:this.clone(!0),m(gd)b(c),f.apply(e,c.get());return this.pushStack(e)}});var Ca,Da{};function Ea(b,c){var d,em(c.createElement(b)).appendTo(c.body),fa.getDefaultComputedStyle&&(da.getDefaultComputedStyle(e0))?d.display:m.css(e0,display);return e.detach(),f}function Fa(a){var by,cDaa;return c||(cEa(a,b),none!c&&c||(Ca(Ca||m(iframe frameborder0 width0 height0/>)).appendTo(b.documentElement),b(Ca0.contentWindow||Ca0.contentDocument).document,b.write(),b.close(),cEa(a,b),Ca.detach()),Daac),c}!function(){var a;k.shrinkWrapBlocksfunction(){if(null!a)return a;a!1;var b,c,d;return cy.getElementsByTagName(body)0,c&&c.style?(by.createElement(div),dy.createElement(div),d.style.cssTextposition:absolute;border:0;width:0;height:0;top:0;left:-9999px,c.appendChild(d).appendChild(b),typeof b.style.zoom!K&&(b.style.cssText-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1,b.appendChild(y.createElement(div)).style.width5px,a3!b.offsetWidth),c.removeChild(d),a):void 0}}();var Ga/^margin/,Hanew RegExp(^(+S+)(?!px)a-z%+$,i),Ia,Ja,Ka/^(top|right|bottom|left)$/;a.getComputedStyle?(Iafunction(b){return b.ownerDocument.defaultView.opener?b.ownerDocument.defaultView.getComputedStyle(b,null):a.getComputedStyle(b,null)},Jafunction(a,b,c){var d,e,f,g,ha.style;return cc||Ia(a),gc?c.getPropertyValue(b)||cb:void 0,c&&(!g||m.contains(a.ownerDocument,a)||(gm.style(a,b)),Ha.test(g)&&Ga.test(b)&&(dh.width,eh.minWidth,fh.maxWidth,h.minWidthh.maxWidthh.widthg,gc.width,h.widthd,h.minWidthe,h.maxWidthf)),void 0g?g:g+}):y.documentElement.currentStyle&&(Iafunction(a){return a.currentStyle},Jafunction(a,b,c){var d,e,f,g,ha.style;return cc||Ia(a),gc?cb:void 0,nullg&&h&&hb&&(ghb),Ha.test(g)&&!Ka.test(b)&&(dh.left,ea.runtimeStyle,fe&&e.left,f&&(e.lefta.currentStyle.left),h.leftfontSizeb?1em:g,gh.pixelLeft+px,h.leftd,f&&(e.leftf)),void 0g?g:g+||auto});function La(a,b){return{get:function(){var ca();if(null!c)return c?void delete this.get:(this.getb).apply(this,arguments)}}}!function(){var b,c,d,e,f,g,h;if(by.createElement(div),b.innerHTML link/>table>/table>a href/a>a/a>input typecheckbox/>,db.getElementsByTagName(a)0,cd&&d.style){c.cssTextfloat:left;opacity:.5,k.opacity0.5c.opacity,k.cssFloat!!c.cssFloat,b.style.backgroundClipcontent-box,b.cloneNode(!0).style.backgroundClip,k.clearCloneStylecontent-boxb.style.backgroundClip,k.boxSizingc.boxSizing||c.MozBoxSizing||c.WebkitBoxSizing,m.extend(k,{reliableHiddenOffsets:function(){return nullg&&i(),g},boxSizingReliable:function(){return nullf&&i(),f},pixelPosition:function(){return nulle&&i(),e},reliableMarginRight:function(){return nullh&&i(),h}});function i(){var b,c,d,i;cy.getElementsByTagName(body)0,c&&c.style&&(by.createElement(div),dy.createElement(div),d.style.cssTextposition:absolute;border:0;width:0;height:0;top:0;left:-9999px,c.appendChild(d).appendChild(b),b.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,ef!1,h!0,a.getComputedStyle&&(e1%!(a.getComputedStyle(b,null)||{}).top,f4px(a.getComputedStyle(b,null)||{width:4px}).width,ib.appendChild(y.createElement(div)),i.style.cssTextb.style.cssText-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0,i.style.marginRighti.style.width0,b.style.width1px,h!parseFloat((a.getComputedStyle(i,null)||{}).marginRight),b.removeChild(i)),b.innerHTMLtable>tr>td>/td>td>t/td>/tr>/table>,ib.getElementsByTagName(td),i0.style.cssTextmargin:0;border:0;padding:0;display:none,g0i0.offsetHeight,g&&(i0.style.display,i1.style.displaynone,g0i0.offsetHeight),c.removeChild(d))}}}(),m.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 Ma/alpha\(^)*\)/i,Na/opacity\s*\s*(^)*)/,Oa/^(none|table(?!-cea).+)/,Panew RegExp(^(+S+)(.*)$,i),Qanew RegExp(^(+-)(+S+),i),Ra{position:absolute,visibility:hidden,display:block},Sa{letterSpacing:0,fontWeight:400},TaWebkit,O,Moz,ms;function Ua(a,b){if(b in a)return b;var cb.charAt(0).toUpperCase()+b.slice(1),db,eTa.length;while(e--)if(bTae+c,b in a)return b;return d}function Va(a,b){for(var c,d,e,f,g0,ha.length;h>g;g++)dag,d.style&&(fgm._data(d,olddisplay),cd.style.display,b?(fg||none!c||(d.style.display),d.style.display&&U(d)&&(fgm._data(d,olddisplay,Fa(d.nodeName)))):(eU(d),(c&&none!c||!e)&&m._data(d,olddisplay,e?c:m.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}function Wa(a,b,c){var dPa.exec(b);return d?Math.max(0,d1-(c||0))+(d2||px):b}function Xa(a,b,c,d,e){for(var fc(d?border:content)?4:widthb?1:0,g0;4>f;f+2)marginc&&(g+m.css(a,c+Tf,!0,e)),d?(contentc&&(g-m.css(a,padding+Tf,!0,e)),margin!c&&(g-m.css(a,border+Tf+Width,!0,e))):(g+m.css(a,padding+Tf,!0,e),padding!c&&(g+m.css(a,border+Tf+Width,!0,e)));return g}function Ya(a,b,c){var d!0,ewidthb?a.offsetWidth:a.offsetHeight,fIa(a),gk.boxSizing&&border-boxm.css(a,boxSizing,!1,f);if(0>e||nulle){if(eJa(a,b,f),(0>e||nulle)&&(ea.styleb),Ha.test(e))return e;dg&&(k.boxSizingReliable()||ea.styleb),eparseFloat(e)||0}return e+Xa(a,b,c||(g?border:content),d,f)+px}m.extend({cssHooks:{opacity:{get:function(a,b){if(b){var cJa(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:k.cssFloat?cssFloat:styleFloat},style:function(a,b,c,d){if(a&&3!a.nodeType&&8!a.nodeType&&a.style){var e,f,g,hm.camelCase(b),ia.style;if(bm.cssPropsh||(m.cssPropshUa(i,h)),gm.cssHooksb||m.cssHooksh,void 0c)return g&&getin g&&void 0!(eg.get(a,!1,d))?e:ib;if(ftypeof c,stringf&&(eQa.exec(c))&&(c(e1+1)*e2+parseFloat(m.css(a,b)),fnumber),null!c&&cc&&(number!f||m.cssNumberh||(c+px),k.clearCloneStyle||!c||0!b.indexOf(background)||(ibinherit),!(g&&setin g&&void 0(cg.set(a,c,d)))))try{ibc}catch(j){}}},css:function(a,b,c,d){var e,f,g,hm.camelCase(b);return bm.cssPropsh||(m.cssPropshUa(a.style,h)),gm.cssHooksb||m.cssHooksh,g&&getin g&&(fg.get(a,!0,c)),void 0f&&(fJa(a,b,d)),normalf&&b in Sa&&(fSab),c||c?(eparseFloat(f),c!0||m.isNumeric(e)?e||0:f):f}}),m.each(height,width,function(a,b){m.cssHooksb{get:function(a,c,d){return c?Oa.test(m.css(a,display))&&0a.offsetWidth?m.swap(a,Ra,function(){return Ya(a,b,d)}):Ya(a,b,d):void 0},set:function(a,c,d){var ed&&Ia(a);return Wa(a,c,d?Xa(a,b,d,k.boxSizing&&border-boxm.css(a,boxSizing,!1,e),e):0)}}}),k.opacity||(m.cssHooks.opacity{get:function(a,b){return Na.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||)?.01*parseFloat(RegExp.$1)+:b?1:},set:function(a,b){var ca.style,da.currentStyle,em.isNumeric(b)?alpha(opacity+100*b+):,fd&&d.filter||c.filter||;c.zoom1,(b>1||b)&&m.trim(f.replace(Ma,))&&c.removeAttribute&&(c.removeAttribute(filter),b||d&&!d.filter)||(c.filterMa.test(f)?f.replace(Ma,e):f+ +e)}}),m.cssHooks.marginRightLa(k.reliableMarginRight,function(a,b){return b?m.swap(a,{display:inline-block},Ja,a,marginRight):void 0}),m.each({margin:,padding:,border:Width},function(a,b){m.cssHooksa+b{expand:function(c){for(var d0,e{},fstringtypeof c?c.split( ):c;4>d;d++)ea+Td+bfd||fd-2||f0;return e}},Ga.test(a)||(m.cssHooksa+b.setWa)}),m.fn.extend({css:function(a,b){return V(this,function(a,b,c){var d,e,f{},g0;if(m.isArray(b)){for(dIa(a),eb.length;e>g;g++)fbgm.css(a,bg,!1,d);return f}return void 0!c?m.style(a,b,c):m.css(a,b)},a,b,arguments.length>1)},show:function(){return Va(this,!0)},hide:function(){return Va(this)},toggle:function(a){returnbooleantypeof a?a?this.show():this.hide():this.each(function(){U(this)?m(this).show():m(this).hide()})}});function Za(a,b,c,d,e){return new Za.prototype.init(a,b,c,d,e)}m.TweenZa,Za.prototype{constructor:Za,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||(m.cssNumberc?:px)},cur:function(){var aZa.propHooksthis.prop;return a&&a.get?a.get(this):Za.propHooks._default.get(this)},run:function(a){var b,cZa.propHooksthis.prop;return this.options.duration?this.posbm.easingthis.easing(a,this.options.duration*a,0,1,this.options.duration):this.posba,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):Za.propHooks._default.set(this),this}},Za.prototype.init.prototypeZa.prototype,Za.propHooks{_default:{get:function(a){var b;return nulla.elema.prop||a.elem.style&&null!a.elem.stylea.prop?(bm.css(a.elem,a.prop,),b&&auto!b?b:0):a.elema.prop},set:function(a){m.fx.stepa.prop?m.fx.stepa.prop(a):a.elem.style&&(null!a.elem.stylem.cssPropsa.prop||m.cssHooksa.prop)?m.style(a.elem,a.prop,a.now+a.unit):a.elema.propa.now}}},Za.propHooks.scrollTopZa.propHooks.scrollLeft{set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elema.propa.now)}},m.easing{linear:function(a){return a},swing:function(a){return.5-Math.cos(a*Math.PI)/2}},m.fxZa.prototype.init,m.fx.step{};var $a,_a,ab/^(?:toggle|show|hide)$/,bbnew RegExp(^(?:(+-)|)(+S+)(a-z%*)$,i),cb/queueHooks$/,dbib,eb{*:function(a,b){var cthis.createTween(a,b),dc.cur(),ebb.exec(b),fe&&e3||(m.cssNumbera?:px),g(m.cssNumbera||px!f&&+d)&&bb.exec(m.css(c.elem,a)),h1,i20;if(g&&g3!f){ff||g3,ee||,g+d||1;do hh||.5,g/h,m.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 fb(){return setTimeout(function(){$avoid 0}),$am.now()}function gb(a,b){var c,d{height:a},e0;for(bb?1:0;4>e;e+2-b)cTe,dmargin+cdpadding+ca;return b&&(d.opacityd.widtha),d}function hb(a,b,c){for(var d,e(ebb||).concat(eb*),f0,ge.length;g>f;f++)if(def.call(c,b,a))return d}function ib(a,b,c){var d,e,f,g,h,i,j,l,nthis,o{},pa.style,qa.nodeType&&U(a),rm._data(a,fxshow);c.queue||(hm._queueHooks(a,fx),nullh.unqueued&&(h.unqueued0,ih.empty.fire,h.empty.firefunction(){h.unqueued||i()}),h.unqueued++,n.always(function(){n.always(function(){h.unqueued--,m.queue(a,fx).length||h.empty.fire()})})),1a.nodeType&&(heightin b||widthin b)&&(c.overflowp.overflow,p.overflowX,p.overflowY,jm.css(a,display),lnonej?m._data(a,olddisplay)||Fa(a.nodeName):j,inlinel&&nonem.css(a,float)&&(k.inlineBlockNeedsLayout&&inline!Fa(a.nodeName)?p.zoom1:p.displayinline-block)),c.overflow&&(p.overflowhidden,k.shrinkWrapBlocks()||n.always(function(){p.overflowc.overflow0,p.overflowXc.overflow1,p.overflowYc.overflow2}));for(d in b)if(ebd,ab.exec(e)){if(delete bd,ff||togglee,e(q?hide:show)){if(show!e||!r||void 0rd)continue;q!0}odr&&rd||m.style(a,d)}else jvoid 0;if(m.isEmptyObject(o))inline(nonej?Fa(a.nodeName):j)&&(p.displayj);else{r?hiddenin r&&(qr.hidden):rm._data(a,fxshow,{}),f&&(r.hidden!q),q?m(a).show():n.done(function(){m(a).hide()}),n.done(function(){var b;m._removeData(a,fxshow);for(b in o)m.style(a,b,ob)});for(d in o)ghb(q?rd:0,d,n),d in r||(rdg.start,q&&(g.endg.start,g.startwidthd||heightd?1:0))}}function jb(a,b){var c,d,e,f,g;for(c in a)if(dm.camelCase(c),ebd,fac,m.isArray(f)&&(ef1,facf0),c!d&&(adf,delete ac),gm.cssHooksd,g&&expandin g){fg.expand(f),delete ad;for(c in f)c in a||(acfc,bce)}else bde}function kb(a,b,c){var d,e,f0,gdb.length,hm.Deferred().always(function(){delete i.elem}),ifunction(){if(e)return!1;for(var b$a||fb(),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:m.extend({},b),opts:m.extend(!0,{specialEasing:{}},c),originalProperties:b,originalOptions:c,startTime:$a||fb(),duration:c.duration,tweens:,createTween:function(b,c){var dm.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(jb(k,j.opts.specialEasing);g>f;f++)if(ddbf.call(j,a,k,j.opts))return d;return m.map(k,hb,j),m.isFunction(j.opts.start)&&j.opts.start.call(a,j),m.fx.timer(m.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)}m.Animationm.extend(kb,{tweener:function(a,b){m.isFunction(a)?(ba,a*):aa.split( );for(var c,d0,ea.length;e>d;d++)cad,ebcebc||,ebc.unshift(b)},prefilter:function(a,b){b?db.unshift(a):db.push(a)}}),m.speedfunction(a,b,c){var da&&objecttypeof a?m.extend({},a):{complete:c||!c&&b||m.isFunction(a)&&a,duration:a,easing:c&&b||b&&!m.isFunction(b)&&b};return d.durationm.fx.off?0:numbertypeof d.duration?d.duration:d.duration in m.fx.speeds?m.fx.speedsd.duration:m.fx.speeds._default,(nulld.queue||d.queue!0)&&(d.queuefx),d.oldd.complete,d.completefunction(){m.isFunction(d.old)&&d.old.call(this),d.queue&&m.dequeue(this,d.queue)},d},m.fn.extend({fadeTo:function(a,b,c,d){return this.filter(U).css(opacity,0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,d){var em.isEmptyObject(a),fm.speed(b,c,d),gfunction(){var bkb(this,m.extend({},a),f);(e||m._data(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,fm.timers,gm._data(this);if(e)ge&&ge.stop&&d(ge);else for(e in g)ge&&ge.stop&&cb.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)&&m.dequeue(this,a)})},finish:function(a){return a!!1&&(aa||fx),this.each(function(){var b,cm._data(this),dca+queue,eca+queueHooks,fm.timers,gd?d.length:0;for(c.finish!0,m.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})}}),m.each(toggle,show,hide,function(a,b){var cm.fnb;m.fnbfunction(a,d,e){return nulla||booleantypeof a?c.apply(this,arguments):this.animate(gb(b,!0),a,d,e)}}),m.each({slideDown:gb(show),slideUp:gb(hide),slideToggle:gb(toggle),fadeIn:{opacity:show},fadeOut:{opacity:hide},fadeToggle:{opacity:toggle}},function(a,b){m.fnafunction(a,c,d){return this.animate(b,a,c,d)}}),m.timers,m.fx.tickfunction(){var a,bm.timers,c0;for($am.now();cb.length;c++)abc,a()||bc!a||b.splice(c--,1);b.length||m.fx.stop(),$avoid 0},m.fx.timerfunction(a){m.timers.push(a),a()?m.fx.start():m.timers.pop()},m.fx.interval13,m.fx.startfunction(){_a||(_asetInterval(m.fx.tick,m.fx.interval))},m.fx.stopfunction(){clearInterval(_a),_anull},m.fx.speeds{slow:600,fast:200,_default:400},m.fn.delayfunction(a,b){return am.fx?m.fx.speedsa||a:a,bb||fx,this.queue(b,function(b,c){var dsetTimeout(b,a);c.stopfunction(){clearTimeout(d)}})},function(){var a,b,c,d,e;by.createElement(div),b.setAttribute(className,t),b.innerHTML link/>table>/table>a href/a>a/a>input typecheckbox/>,db.getElementsByTagName(a)0,cy.createElement(select),ec.appendChild(y.createElement(option)),ab.getElementsByTagName(input)0,d.style.cssTexttop:1px,k.getSetAttributet!b.className,k.style/top/.test(d.getAttribute(style)),k.hrefNormalized/ad.getAttribute(href),k.checkOn!!a.value,k.optSelectede.selected,k.enctype!!y.createElement(form).enctype,c.disabled!0,k.optDisabled!e.disabled,ay.createElement(input),a.setAttribute(value,),k.inputa.getAttribute(value),a.valuet,a.setAttribute(type,radio),k.radioValueta.value}();var lb/\r/g;m.fn.extend({val:function(a){var b,c,d,ethis0;{if(arguments.length)return dm.isFunction(a),this.each(function(c){var e;1this.nodeType&&(ed?a.call(this,c,m(this).val()):a,nulle?e:numbertypeof e?e+:m.isArray(e)&&(em.map(e,function(a){return nulla?:a+})),bm.valHooksthis.type||m.valHooksthis.nodeName.toLowerCase(),b&&setin b&&void 0!b.set(this,e,value)||(this.valuee))});if(e)return bm.valHookse.type||m.valHookse.nodeName.toLowerCase(),b&&getin b&&void 0!(cb.get(e,value))?c:(ce.value,stringtypeof c?c.replace(lb,):nullc?:c)}}}),m.extend({valHooks:{option:{get:function(a){var bm.find.attr(a,value);return null!b?b:m.trim(m.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&&m.nodeName(c.parentNode,optgroup))){if(bm(c).val(),f)return b;g.push(b)}return g},set:function(a,b){var c,d,ea.options,fm.makeArray(b),ge.length;while(g--)if(deg,m.inArray(m.valHooks.option.get(d),f)>0)try{d.selectedc!0}catch(h){d.scrollHeight}else d.selected!1;return c||(a.selectedIndex-1),e}}}}),m.each(radio,checkbox,function(){m.valHooksthis{set:function(a,b){return m.isArray(b)?a.checkedm.inArray(m(a).val(),b)>0:void 0}},k.checkOn||(m.valHooksthis.getfunction(a){return nulla.getAttribute(value)?on:a.value})});var mb,nb,obm.expr.attrHandle,pb/^(?:checked|selected)$/i,qbk.getSetAttribute,rbk.input;m.fn.extend({attr:function(a,b){return V(this,m.attr,a,b,arguments.length>1)},removeAttr:function(a){return this.each(function(){m.removeAttr(this,a)})}}),m.extend({attr:function(a,b,c){var d,e,fa.nodeType;if(a&&3!f&&8!f&&2!f)return typeof a.getAttributeK?m.prop(a,b,c):(1f&&m.isXMLDoc(a)||(bb.toLowerCase(),dm.attrHooksb||(m.expr.match.bool.test(b)?nb:mb)),void 0c?d&&getin d&&null!(ed.get(a,b))?e:(em.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 m.removeAttr(a,b))},removeAttr:function(a,b){var c,d,e0,fb&&b.match(E);if(f&&1a.nodeType)while(cfe++)dm.propFixc||c,m.expr.match.bool.test(c)?rb&&qb||!pb.test(c)?ad!1:am.camelCase(default-+c)ad!1:m.attr(a,c,),a.removeAttribute(qb?c:d)},attrHooks:{type:{set:function(a,b){if(!k.radioValue&&radiob&&m.nodeName(a,input)){var ca.value;return a.setAttribute(type,b),c&&(a.valuec),b}}}}}),nb{set:function(a,b,c){return b!1?m.removeAttr(a,c):rb&&qb||!pb.test(c)?a.setAttribute(!qb&&m.propFixc||c,c):am.camelCase(default-+c)ac!0,c}},m.each(m.expr.match.bool.source.match(/\w+/g),function(a,b){var cobb||m.find.attr;obbrb&&qb||!pb.test(b)?function(a,b,d){var e,f;return d||(fobb,obbe,enull!c(a,b,d)?b.toLowerCase():null,obbf),e}:function(a,b,c){return c?void 0:am.camelCase(default-+b)?b.toLowerCase():null}}),rb&&qb||(m.attrHooks.value{set:function(a,b,c){return m.nodeName(a,input)?void(a.defaultValueb):mb&&mb.set(a,b,c)}}),qb||(mb{set:function(a,b,c){var da.getAttributeNode(c);return d||a.setAttributeNode(da.ownerDocument.createAttribute(c)),d.valueb+,valuec||ba.getAttribute(c)?b:void 0}},ob.idob.nameob.coordsfunction(a,b,c){var d;return c?void 0:(da.getAttributeNode(b))&&!d.value?d.value:null},m.valHooks.button{get:function(a,b){var ca.getAttributeNode(b);return c&&c.specified?c.value:void 0},set:mb.set},m.attrHooks.contenteditable{set:function(a,b,c){mb.set(a,b?!1:b,c)}},m.each(width,height,function(a,b){m.attrHooksb{set:function(a,c){returnc?(a.setAttribute(b,auto),c):void 0}}})),k.style||(m.attrHooks.style{get:function(a){return a.style.cssText||void 0},set:function(a,b){return a.style.cssTextb+}});var sb/^(?:input|select|textarea|button|object)$/i,tb/^(?:a|area)$/i;m.fn.extend({prop:function(a,b){return V(this,m.prop,a,b,arguments.length>1)},removeProp:function(a){return am.propFixa||a,this.each(function(){try{thisavoid 0,delete thisa}catch(b){}})}}),m.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||!m.isXMLDoc(a),f&&(bm.propFixb||b,em.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){var bm.find.attr(a,tabindex);return b?parseInt(b,10):sb.test(a.nodeName)||tb.test(a.nodeName)&&a.href?0:-1}}}}),k.hrefNormalized||m.each(href,src,function(a,b){m.propHooksb{get:function(a){return a.getAttribute(b,4)}}}),k.optSelected||(m.propHooks.selected{get:function(a){var ba.parentNode;return b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex),null}}),m.each(tabIndex,readOnly,maxLength,cellSpacing,cellPadding,rowSpan,colSpan,useMap,frameBorder,contentEditable,function(){m.propFixthis.toLowerCase()this}),k.enctype||(m.propFix.enctypeencoding);var ub/\t\r\n\f/g;m.fn.extend({addClass:function(a){var b,c,d,e,f,g,h0,ithis.length,jstringtypeof a&&a;if(m.isFunction(a))return this.each(function(b){m(this).addClass(a.call(this,b,this.className))});if(j)for(b(a||).match(E)||;i>h;h++)if(cthish,d1c.nodeType&&(c.className?( +c.className+ ).replace(ub, ): )){f0;while(ebf++)d.indexOf( +e+ )0&&(d+e+ );gm.trim(d),c.className!g&&(c.classNameg)}return this},removeClass:function(a){var b,c,d,e,f,g,h0,ithis.length,j0arguments.length||stringtypeof a&&a;if(m.isFunction(a))return this.each(function(b){m(this).removeClass(a.call(this,b,this.className))});if(j)for(b(a||).match(E)||;i>h;h++)if(cthish,d1c.nodeType&&(c.className?( +c.className+ ).replace(ub, ):)){f0;while(ebf++)while(d.indexOf( +e+ )>0)dd.replace( +e+ , );ga?m.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(m.isFunction(a)?function(c){m(this).toggleClass(a.call(this,c,this.className,b),b)}:function(){if(stringc){var b,d0,em(this),fa.match(E)||;while(bfd++)e.hasClass(b)?e.removeClass(b):e.addClass(b)}else(cK||booleanc)&&(this.className&&m._data(this,__className__,this.className),this.classNamethis.className||a!1?:m._data(this,__className__)||)})},hasClass:function(a){for(var b +a+ ,c0,dthis.length;d>c;c++)if(1thisc.nodeType&&( +thisc.className+ ).replace(ub, ).indexOf(b)>0)return!0;return!1}}),m.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){m.fnbfunction(a,c){return arguments.length>0?this.on(b,null,a,c):this.trigger(b)}}),m.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 vbm.now(),wb/\?/,xb/(,)|(\|{)|(}|)|(?:^\\\r\n|\\\\\/bfnrt|\\u\da-fA-F{4})*\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:eE+-?\d+|)/g;m.parseJSONfunction(b){if(a.JSON&&a.JSON.parse)return a.JSON.parse(b+);var c,dnull,em.trim(b+);return e&&!m.trim(e.replace(xb,function(a,b,e,f){return c&&b&&(d0),0d?a:(ce||b,d+!f-!e,)}))?Function(return +e)():m.error(Invalid JSON: +b)},m.parseXMLfunction(b){var c,d;if(!b||string!typeof b)return null;try{a.DOMParser?(dnew DOMParser,cd.parseFromString(b,text/xml)):(cnew ActiveXObject(Microsoft.XMLDOM),c.asyncfalse,c.loadXML(b))}catch(e){cvoid 0}return c&&c.documentElement&&!c.getElementsByTagName(parsererror).length||m.error(Invalid XML: +b),c};var yb,zb,Ab/#.*$/,Bb/(?&)_^&*/,Cb/^(.*?): \t*(^\r\n*)\r?$/gm,Db/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Eb/^(?:GET|HEAD)$/,Fb/^\/\//,Gb/^(\w.+-+:)(?:\/\/(?:^\/?#*@|)(^\/?#:*)(?::(\d+)|)|)/,Hb{},Ib{},Jb*/.concat(*);try{zblocation.href}catch(Kb){zby.createElement(a),zb.href,zbzb.href}ybGb.exec(zb.toLowerCase())||;function Lb(a){return function(b,c){string!typeof b&&(cb,b*);var d,e0,fb.toLowerCase().match(E)||;if(m.isFunction(c))while(dfe++)+d.charAt(0)?(dd.slice(1)||*,(adad||).unshift(c)):(adad||).push(c)}}function Mb(a,b,c,d){var e{},faIb;function g(h){var i;return eh!0,m.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 Nb(a,b){var c,d,em.ajaxSettings.flatOptions||{};for(d in b)void 0!bd&&((ed?a:c||(c{}))dbd);return c&&m.extend(!0,a,c),a}function Ob(a,b,c){var d,e,f,g,ha.contents,ia.dataTypes;while(*i0)i.shift(),void 0e&&(ea.mimeType||b.getResponseHeader(Content-Type));if(e)for(g in h)if(hg&&hg.test(e)){i.unshift(g);break}if(i0in c)fi0;else{for(g in c){if(!i0||a.convertersg+ +i0){fg;break}d||(dg)}ff||d}return f?(f!i0&&i.unshift(f),cf):void 0}function Pb(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}}m.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:zb,type:GET,isLocal:Db.test(yb1),global:!0,processData:!0,async:!0,contentType:application/x-www-form-urlencoded; charsetUTF-8,accepts:{*:Jb,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:m.parseJSON,text xml:m.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,b){return b?Nb(Nb(a,m.ajaxSettings),b):Nb(m.ajaxSettings,a)},ajaxPrefilter:Lb(Hb),ajaxTransport:Lb(Ib),ajax:function(a,b){objecttypeof a&&(ba,avoid 0),bb||{};var c,d,e,f,g,h,i,j,km.ajaxSetup({},b),lk.context||k,nk.context&&(l.nodeType||l.jquery)?m(l):m.event,om.Deferred(),pm.Callbacks(once memory),qk.statusCode||{},r{},s{},t0,ucanceled,v{readyState:0,getResponseHeader:function(a){var b;if(2t){if(!j){j{};while(bCb.exec(f))jb1.toLowerCase()b2}bja.toLowerCase()}return nullb?null:b},getAllResponseHeaders:function(){return 2t?f: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 i&&i.abort(b),x(0,b),this}};if(o.promise(v).completep.add,v.successv.done,v.errorv.fail,k.url((a||k.url||zb)+).replace(Ab,).replace(Fb,yb1+//),k.typeb.method||b.type||k.method||k.type,k.dataTypesm.trim(k.dataType||*).toLowerCase().match(E)||,nullk.crossDomain&&(cGb.exec(k.url.toLowerCase()),k.crossDomain!(!c||c1yb1&&c2yb2&&(c3||(http:c1?80:443))(yb3||(http:yb1?80:443)))),k.data&&k.processData&&string!typeof k.data&&(k.datam.param(k.data,k.traditional)),Mb(Hb,k,b,v),2t)return v;hm.event&&k.global,h&&0m.active++&&m.event.trigger(ajaxStart),k.typek.type.toUpperCase(),k.hasContent!Eb.test(k.type),ek.url,k.hasContent||(k.data&&(ek.url+(wb.test(e)?&:?)+k.data,delete k.data),k.cache!1&&(k.urlBb.test(e)?e.replace(Bb,$1_+vb++):e+(wb.test(e)?&:?)+_+vb++)),k.ifModified&&(m.lastModifiede&&v.setRequestHeader(If-Modified-Since,m.lastModifiede),m.etage&&v.setRequestHeader(If-None-Match,m.etage)),(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?, +Jb+; q0.01:):k.accepts*);for(d in k.headers)v.setRequestHeader(d,k.headersd);if(k.beforeSend&&(k.beforeSend.call(l,v,k)!1||2t))return v.abort();uabort;for(d in{success:1,error:1,complete:1})vd(kd);if(iMb(Ib,k,b,v)){v.readyState1,h&&n.trigger(ajaxSend,v,k),k.async&&k.timeout>0&&(gsetTimeout(function(){v.abort(timeout)},k.timeout));try{t1,i.send(r,x)}catch(w){if(!(2>t))throw w;x(-1,w)}}else x(-1,No Transport);function x(a,b,c,d){var j,r,s,u,w,xb;2!t&&(t2,g&&clearTimeout(g),ivoid 0,fd||,v.readyStatea>0?4:0,ja>200&&300>a||304a,c&&(uOb(k,v,c)),uPb(k,u,v,j),j?(k.ifModified&&(wv.getResponseHeader(Last-Modified),w&&(m.lastModifiedew),wv.getResponseHeader(etag),w&&(m.etagew)),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,h&&n.trigger(j?ajaxSuccess:ajaxError,v,k,j?r:s),p.fireWith(l,v,x),h&&(n.trigger(ajaxComplete,v,k),--m.active||m.event.trigger(ajaxStop)))}return v},getJSON:function(a,b,c){return m.get(a,b,c,json)},getScript:function(a,b){return m.get(a,void 0,b,script)}}),m.each(get,post,function(a,b){mbfunction(a,c,d,e){return m.isFunction(c)&&(ee||d,dc,cvoid 0),m.ajax({url:a,type:b,dataType:e,data:c,success:d})}}),m._evalUrlfunction(a){return m.ajax({url:a,type:GET,dataType:script,async:!1,global:!1,throws:!0})},m.fn.extend({wrapAll:function(a){if(m.isFunction(a))return this.each(function(b){m(this).wrapAll(a.call(this,b))});if(this0){var bm(a,this0.ownerDocument).eq(0).clone(!0);this0.parentNode&&b.insertBefore(this0),b.map(function(){var athis;while(a.firstChild&&1a.firstChild.nodeType)aa.firstChild;return a}).append(this)}return this},wrapInner:function(a){return this.each(m.isFunction(a)?function(b){m(this).wrapInner(a.call(this,b))}:function(){var bm(this),cb.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var bm.isFunction(a);return this.each(function(c){m(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){m.nodeName(this,body)||m(this).replaceWith(this.childNodes)}).end()}}),m.expr.filters.hiddenfunction(a){return a.offsetWidth0&&a.offsetHeight0||!k.reliableHiddenOffsets()&&none(a.style&&a.style.display||m.css(a,display))},m.expr.filters.visiblefunction(a){return!m.expr.filters.hidden(a)};var Qb/%20/g,Rb/\\$/,Sb/\r?\n/g,Tb/^(?:submit|button|image|reset|file)$/i,Ub/^(?:input|select|textarea|keygen)/i;function Vb(a,b,c,d){var e;if(m.isArray(b))m.each(b,function(b,e){c||Rb.test(a)?d(a,e):Vb(a++(objecttypeof e?b:)+,e,c,d)});else if(c||object!m.type(b))d(a,b);else for(e in b)Vb(a++e+,be,c,d)}m.paramfunction(a,b){var c,d,efunction(a,b){bm.isFunction(b)?b():nullb?:b,dd.lengthencodeURIComponent(a)++encodeURIComponent(b)};if(void 0b&&(bm.ajaxSettings&&m.ajaxSettings.traditional),m.isArray(a)||a.jquery&&!m.isPlainObject(a))m.each(a,function(){e(this.name,this.value)});else for(c in a)Vb(c,ac,b,e);return d.join(&).replace(Qb,+)},m.fn.extend({serialize:function(){return m.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var am.prop(this,elements);return a?m.makeArray(a):this}).filter(function(){var athis.type;return this.name&&!m(this).is(:disabled)&&Ub.test(this.nodeName)&&!Tb.test(a)&&(this.checked||!W.test(a))}).map(function(a,b){var cm(this).val();return nullc?null:m.isArray(c)?m.map(c,function(a){return{name:b.name,value:a.replace(Sb,\r\n)}}):{name:b.name,value:c.replace(Sb,\r\n)}}).get()}}),m.ajaxSettings.xhrvoid 0!a.ActiveXObject?function(){return!this.isLocal&&/^(get|post|head|put|delete|options)$/i.test(this.type)&&Zb()||$b()}:Zb;var Wb0,Xb{},Ybm.ajaxSettings.xhr();a.attachEvent&&a.attachEvent(onunload,function(){for(var a in Xb)Xba(void 0,!0)}),k.cors!!Yb&&withCredentialsin Yb,Ybk.ajax!!Yb,Yb&&m.ajaxTransport(function(a){if(!a.crossDomain||k.cors){var b;return{send:function(c,d){var e,fa.xhr(),g++Wb;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)void 0!ce&&f.setRequestHeader(e,ce+);f.send(a.hasContent&&a.data||null),bfunction(c,e){var h,i,j;if(b&&(e||4f.readyState))if(delete Xbg,bvoid 0,f.onreadystatechangem.noop,e)4!f.readyState&&f.abort();else{j{},hf.status,stringtypeof f.responseText&&(j.textf.responseText);try{if.statusText}catch(k){i}h||!a.isLocal||a.crossDomain?1223h&&(h204):hj.text?200:404}j&&d(h,i,j,f.getAllResponseHeaders())},a.async?4f.readyState?setTimeout(b):f.onreadystatechangeXbgb:b()},abort:function(){b&&b(void 0,!0)}}}});function Zb(){try{return new a.XMLHttpRequest}catch(b){}}function $b(){try{return new a.ActiveXObject(Microsoft.XMLHTTP)}catch(b){}}m.ajaxSetup({accepts:{script:text/javascript, application/javascript, application/ecmascript, application/x-ecmascript},contents:{script:/(?:java|ecma)script/},converters:{text script:function(a){return m.globalEval(a),a}}}),m.ajaxPrefilter(script,function(a){void 0a.cache&&(a.cache!1),a.crossDomain&&(a.typeGET,a.global!1)}),m.ajaxTransport(script,function(a){if(a.crossDomain){var b,cy.head||m(head)0||y.documentElement;return{send:function(d,e){by.createElement(script),b.async!0,a.scriptCharset&&(b.charseta.scriptCharset),b.srca.url,b.onloadb.onreadystatechangefunction(a,c){(c||!b.readyState||/loaded|complete/.test(b.readyState))&&(b.onloadb.onreadystatechangenull,b.parentNode&&b.parentNode.removeChild(b),bnull,c||e(200,success))},c.insertBefore(b,c.firstChild)},abort:function(){b&&b.onload(void 0,!0)}}}});var _b,ac/()\?(?&|$)|\?\?/;m.ajaxSetup({jsonp:callback,jsonpCallback:function(){var a_b.pop()||m.expando+_+vb++;return thisa!0,a}}),m.ajaxPrefilter(json jsonp,function(b,c,d){var e,f,g,hb.jsonp!!1&&(ac.test(b.url)?url:stringtypeof b.data&&!(b.contentType||).indexOf(application/x-www-form-urlencoded)&&ac.test(b.data)&&data);return h||jsonpb.dataTypes0?(eb.jsonpCallbackm.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,h?bhbh.replace(ac,$1+e):b.jsonp!!1&&(b.url+(wb.test(b.url)?&:?)+b.jsonp++e),b.convertersscript jsonfunction(){return g||m.error(e+ was not called),g0},b.dataTypes0json,fae,aefunction(){garguments},d.always(function(){aef,be&&(b.jsonpCallbackc.jsonpCallback,_b.push(e)),g&&m.isFunction(f)&&f(g0),gfvoid 0}),script):void 0}),m.parseHTMLfunction(a,b,c){if(!a||string!typeof a)return null;booleantypeof b&&(cb,b!1),bb||y;var du.exec(a),e!c&&;return d?b.createElement(d1):(dm.buildFragment(a,b,e),e&&e.length&&m(e).remove(),m.merge(,d.childNodes))};var bcm.fn.load;m.fn.loadfunction(a,b,c){if(string!typeof a&&bc)return bc.apply(this,arguments);var d,e,f,gthis,ha.indexOf( );return h>0&&(dm.trim(a.slice(h,a.length)),aa.slice(0,h)),m.isFunction(b)?(cb,bvoid 0):b&&objecttypeof b&&(fPOST),g.length>0&&m.ajax({url:a,type:f,dataType:html,data:b}).done(function(a){earguments,g.html(d?m(div>).append(m.parseHTML(a)).find(d):a)}).complete(c&&function(a,b){g.each(c,e||a.responseText,b,a)}),this},m.each(ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend,function(a,b){m.fnbfunction(a){return this.on(b,a)}}),m.expr.filters.animatedfunction(a){return m.grep(m.timers,function(b){return ab.elem}).length};var cca.document.documentElement;function dc(a){return m.isWindow(a)?a:9a.nodeType?a.defaultView||a.parentWindow:!1}m.offset{setOffset:function(a,b,c){var d,e,f,g,h,i,j,km.css(a,position),lm(a),n{};statick&&(a.style.positionrelative),hl.offset(),fm.css(a,top),im.css(a,left),j(absolutek||fixedk)&&m.inArray(auto,f,i)>-1,j?(dl.position(),gd.top,ed.left):(gparseFloat(f)||0,eparseFloat(i)||0),m.isFunction(b)&&(bb.call(a,c,h)),null!b.top&&(n.topb.top-h.top+g),null!b.left&&(n.leftb.left-h.left+e),usingin b?b.using.call(a,n):l.css(n)}},m.fn.extend({offset:function(a){if(arguments.length)return void 0a?this:this.each(function(b){m.offset.setOffset(this,a,b)});var b,c,d{top:0,left:0},ethis0,fe&&e.ownerDocument;if(f)return bf.documentElement,m.contains(b,e)?(typeof e.getBoundingClientRect!K&&(de.getBoundingClientRect()),cdc(f),{top:d.top+(c.pageYOffset||b.scrollTop)-(b.clientTop||0),left:d.left+(c.pageXOffset||b.scrollLeft)-(b.clientLeft||0)}):d},position:function(){if(this0){var a,b,c{top:0,left:0},dthis0;returnfixedm.css(d,position)?bd.getBoundingClientRect():(athis.offsetParent(),bthis.offset(),m.nodeName(a0,html)||(ca.offset()),c.top+m.css(a0,borderTopWidth,!0),c.left+m.css(a0,borderLeftWidth,!0)),{top:b.top-c.top-m.css(d,marginTop,!0),left:b.left-c.left-m.css(d,marginLeft,!0)}}},offsetParent:function(){return this.map(function(){var athis.offsetParent||cc;while(a&&!m.nodeName(a,html)&&staticm.css(a,position))aa.offsetParent;return a||cc})}}),m.each({scrollLeft:pageXOffset,scrollTop:pageYOffset},function(a,b){var c/Y/.test(b);m.fnafunction(d){return V(this,function(a,d,e){var fdc(a);return void 0e?f?b in f?fb:f.document.documentElementd:ad:void(f?f.scrollTo(c?m(f).scrollLeft():e,c?e:m(f).scrollTop()):ade)},a,d,arguments.length,null)}}),m.each(top,left,function(a,b){m.cssHooksbLa(k.pixelPosition,function(a,c){return c?(cJa(a,b),Ha.test(c)?m(a).position()b+px:c):void 0})}),m.each({Height:height,Width:width},function(a,b){m.each({padding:inner+a,content:b,:outer+a},function(c,d){m.fndfunction(d,e){var farguments.length&&(c||boolean!typeof d),gc||(d!0||e!0?margin:border);return V(this,function(b,c,d){var e;return m.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?m.css(b,c,g):m.style(b,c,d,g)},b,f?d:void 0,f,null)}})}),m.fn.sizefunction(){return this.length},m.fn.andSelfm.fn.addBack,functiontypeof define&&define.amd&&define(jquery,,function(){return m});var eca.jQuery,fca.$;return m.noConflictfunction(b){return a.$m&&(a.$fc),b&&a.jQuerym&&(a.jQueryec),m},typeof bK&&(a.jQuerya.$m),m});/** Amazing Slider - Responsive jQuery Slider and Image Scroller\n * Copyright 2015 Magic Hills Pty Ltd All Rights Reserved\n * Website: http://amazingslider.com\n * Version \n */(function($){$.fn.asHTML5VideoControlsfunction(skinFolder,parentInst,hidecontrols,hideplaybutton,defaultvolume){var isTouchontouchstartin window;var eStartisTouch?touchstart:mousedown;var eMoveisTouch?touchmove:mousemove;var eCancelisTouch?touchcancel:mouseup;var eClickclick;var BUTTON_SIZE32;var BAR_HEIGHTisTouch?48:36;var hideControlsTimerIdnull;var hideVolumeBarTimeoutIdnull;var sliderDraggingfalse;var isFullscreenfalse;var userActivetrue;var isIPhonenavigator.userAgent.match(/iPod/i)!null||navigator.userAgent.match(/iPhone/i)!null;var isHd$(this).data(ishd);var hd$(this).data(hd);var src$(this).data(src);var $videoObj$(this);$videoObj.get(0).removeAttribute(controls);if(isIPhone){var h$videoObj.height()-BAR_HEIGHT;$videoObj.css({height:h})}var $videoPlay$(div classhtml5boxVideoPlay>/div>);if(!isIPhone){$videoObj.after($videoPlay);$videoPlay.css({position:absolute,top:50%,left:50%,display:block,cursor:pointer,width:64,height:64,margin-left:-32,margin-top:-32,background-image:url(+skinFolder+html5boxplayer_playvideo.png+),background-position:center center,background-repeat:no-repeat}).bind(eClick,function(){$videoObj.get(0).play()})}var $videoFullscreenBg$(div classhtml5boxVideoFullscreenBg>/div>);var $videoControls$(div classhtml5boxVideoControls>+div classhtml5boxVideoControlsBg>/div>+div classhtml5boxPlayPause>+div classhtml5boxPlay>/div>+div classhtml5boxPause>/div>+/div>+div classhtml5boxTimeCurrent>--:--/div>+div classhtml5boxFullscreen>/div>+div classhtml5boxHD>/div>+div classhtml5boxVolume>+div classhtml5boxVolumeButton>/div>+div classhtml5boxVolumeBar>+div classhtml5boxVolumeBarBg>+div classhtml5boxVolumeBarActive>/div>+/div>+/div>+/div>+div classhtml5boxTimeTotal>--:--/div>+div classhtml5boxSeeker>+div classhtml5boxSeekerBuffer>/div>+div classhtml5boxSeekerPlay>/div>+div classhtml5boxSeekerHandler>/div>+/div>+div styleclear:both;>/div>+/div>);$videoObj.after($videoControls);$videoObj.after($videoFullscreenBg);$videoFullscreenBg.css({display:none,position:fixed,left:0,top:0,bottom:0,right:0,z-index:2147483647});$videoControls.css({display:block,position:absolute,width:100%,height:BAR_HEIGHT,left:0,bottom:0,right:0,max-width:640px,margin:0 auto});var userActivatefunction(){userActivetrue};$videoObj.bind(eClick,function(){userActivetrue}).hover(function(){userActivetrue},function(){userActivefalse});if(!hidecontrols)setInterval(function(){if(userActive){$videoControls.show();userActivefalse;clearTimeout(hideControlsTimerId);hideControlsTimerIdsetTimeout(function(){if(!$videoObj.get(0).paused)$videoControls.fadeOut()},5E3)}},250);$(.html5boxVideoControlsBg,$videoControls).css({display:block,position:absolute,width:100%,height:100%,left:0,top:0,background-color:#000000,opacity:0.7,filter:alpha(opacity70)});$(.html5boxPlayPause,$videoControls).css({display:block,position:relative,width:BUTTON_SIZE+px,height:BUTTON_SIZE+px,margin:Math.floor((BAR_HEIGHT-BUTTON_SIZE)/2),float:left});var $videoBtnPlay$(.html5boxPlay,$videoControls);var $videoBtnPause$(.html5boxPause,$videoControls);$videoBtnPlay.css({display:block,position:absolute,top:0,left:0,width:BUTTON_SIZE+px,height:BUTTON_SIZE+px,cursor:pointer,background-image:url(+skinFolder+html5boxplayer_playpause.png+),background-position:top left}).hover(function(){$(this).css({background-position:bottom left})},function(){$(this).css({background-position:top left})}).bind(eClick,function(){$videoObj.get(0).play()});$videoBtnPause.css({display:none,position:absolute,top:0,left:0,width:BUTTON_SIZE+px,height:BUTTON_SIZE+px,cursor:pointer,background-image:url(+skinFolder+html5boxplayer_playpause.png+),background-position:top right}).hover(function(){$(this).css({background-position:bottom right})},function(){$(this).css({background-position:top right})}).bind(eClick,function(){$videoObj.get(0).pause()});var $videoTimeCurrent$(.html5boxTimeCurrent,$videoControls);var $videoTimeTotal$(.html5boxTimeTotal,$videoControls);var $videoSeeker$(.html5boxSeeker,$videoControls);var $videoSeekerPlay$(.html5boxSeekerPlay,$videoControls);var $videoSeekerBuffer$(.html5boxSeekerBuffer,$videoControls);var $videoSeekerHandler$(.html5boxSeekerHandler,$videoControls);$videoTimeCurrent.css({display:block,position:relative,float:left,line-height:BAR_HEIGHT+px,font-weight:normal,font-size:12px,margin:0 8px,font-family:Arial, Helvetica, sans-serif,color:#fff});$videoTimeTotal.css({display:block,position:relative,float:right,line-height:BAR_HEIGHT+px,font-weight:normal,font-size:12px,margin:0 8px,font-family:Arial, Helvetica, sans-serif,color:#fff});$videoSeeker.css({display:block,cursor:pointer,overflow:hidden,position:relative,height:10px,background-color:#222,margin:Math.floor((BAR_HEIGHT-10)/2)+px 4px}).bind(eStart,function(e){var e0isTouch?e.originalEvent.touches0:e;var pose0.pageX-$videoSeeker.offset().left;$videoSeekerPlay.css({width:pos});$videoObj.get(0).currentTimepos*$videoObj.get(0).duration/$videoSeeker.width();$videoSeeker.bind(eMove,function(e){var e0isTouch?e.originalEvent.touches0:e;var pose0.pageX-$videoSeeker.offset().left;$videoSeekerPlay.css({width:pos});$videoObj.get(0).currentTimepos*$videoObj.get(0).duration/$videoSeeker.width()})}).bind(eCancel,function(){$videoSeeker.unbind(eMove)});$videoSeekerBuffer.css({display:block,position:absolute,left:0,top:0,height:100%,background-color:#444});$videoSeekerPlay.css({display:block,position:absolute,left:0,top:0,height:100%,background-color:#fcc500});if(!isIPhone&&($videoObj.get(0).requestFullscreen||$videoObj.get(0).webkitRequestFullScreen||$videoObj.get(0).mozRequestFullScreen||$videoObj.get(0).webkitEnterFullScreen||$videoObj.get(0).msRequestFullscreen)){var switchScreenfunction(fullscreen){if(fullscreen){if($videoObj.get(0).requestFullscreen)$videoObj.get(0).requestFullscreen();else if($videoObj.get(0).webkitRequestFullScreen)$videoObj.get(0).webkitRequestFullScreen();else if($videoObj.get(0).mozRequestFullScreen)$videoObj.get(0).mozRequestFullScreen();else if($videoObj.get(0).webkitEnterFullScreen)$videoObj.get(0).webkitEnterFullScreen();if($videoObj.get(0).msRequestFullscreen)$videoObj.get(0).msRequestFullscreen()}else if(document.cancelFullScreen)document.cancelFullScreen();else if(document.mozCancelFullScreen)document.mozCancelFullScreen();else if(document.webkitCancelFullScreen)document.webkitCancelFullScreen();else if(document.webkitExitFullscreen)document.webkitExitFullscreen();else if(document.msExitFullscreen)document.msExitFullscreen()};var switchScreenCSSfunction(fullscreen){$videoControls.css({position:fullscreen?fixed:absolute});var backgroundPosY$videoFullscreen.css(background-position)?$videoFullscreen.css(background-position).split( )1:$videoFullscreen.css(background-position-y);$videoFullscreen.css({background-position:(fullscreen?right:left)+ +backgroundPosY});$videoFullscreenBg.css({display:fullscreen?block:none});if(fullscreen){$(document).bind(mousemove,userActivate);$videoControls.css({z-index:2147483647})}else{$(document).unbind(mousemove,userActivate);$videoControls.css({z-index:})}};document.addEventListener(fullscreenchange,function(){isFullscreendocument.fullscreen;switchScreenCSS(document.fullscreen)},false);document.addEventListener(mozfullscreenchange,function(){isFullscreendocument.mozFullScreen;switchScreenCSS(document.mozFullScreen)},false);document.addEventListener(webkitfullscreenchange,function(){isFullscreendocument.webkitIsFullScreen;switchScreenCSS(document.webkitIsFullScreen)},false);$videoObj.get(0).addEventListener(webkitbeginfullscreen,function(){isFullscreentrue},false);$videoObj.get(0).addEventListener(webkitendfullscreen,function(){isFullscreenfalse},false);$(head).append(style typetext/css>video::-webkit-media-controls { display:none !important; }/style>);var $videoFullscreen$(.html5boxFullscreen,$videoControls);$videoFullscreen.css({display:block,position:relative,float:right,width:BUTTON_SIZE+px,height:BUTTON_SIZE+px,margin:Math.floor((BAR_HEIGHT-BUTTON_SIZE)/2),cursor:pointer,background-image:url(+skinFolder+html5boxplayer_fullscreen.png+),background-position:left top}).hover(function(){var backgroundPosX$(this).css(background-position)?$(this).css(background-position).split( )0:$(this).css(background-position-x);$(this).css({background-position:backgroundPosX+ bottom})},function(){var backgroundPosX$(this).css(background-position)?$(this).css(background-position).split( )0:$(this).css(background-position-x);$(this).css({background-position:backgroundPosX+ top})}).bind(eClick,function(){isFullscreen!isFullscreen;switchScreen(isFullscreen)})}if(hd){var $videoHD$(.html5boxHD,$videoControls);$videoHD.css({display:block,position:relative,float:right,width:BUTTON_SIZE+px,height:BUTTON_SIZE+px,margin:Math.floor((BAR_HEIGHT-BUTTON_SIZE)/2),cursor:pointer,background-image:url(+skinFolder+html5boxplayer_hd.png+),background-position:(isHd?right:left)+ center}).bind(eClick,function(){isHd!isHd;$(this).css({background-position:(isHd?right:left)+ center});parentInst.isHdisHd;var isPaused$videoObj.get(0).isPaused;$videoObj.get(0).setAttribute(src,(isHd?hd:src)+#t+$videoObj.get(0).currentTime);if(!isPaused)$videoObj.get(0).play();else if(!isIPhone)$videoObj.get(0).pause()})}$videoObj.get(0).volumedefaultvolume;var volumeSaveddefaultvolume0?1:defaultvolume;var volume$videoObj.get(0).volume;$videoObj.get(0).volumevolume/2+0.1;if($videoObj.get(0).volumevolume/2+0.1){$videoObj.get(0).volumevolume;var $videoVolume$(.html5boxVolume,$videoControls);var $videoVolumeButton$(.html5boxVolumeButton,$videoControls);var $videoVolumeBar$(.html5boxVolumeBar,$videoControls);var $videoVolumeBarBg$(.html5boxVolumeBarBg,$videoControls);var $videoVolumeBarActive$(.html5boxVolumeBarActive,$videoControls);$videoVolume.css({display:block,position:relative,float:right,width:BUTTON_SIZE+px,height:BUTTON_SIZE+px,margin:Math.floor((BAR_HEIGHT-BUTTON_SIZE)/2)}).hover(function(){clearTimeout(hideVolumeBarTimeoutId);var volume$videoObj.get(0).volume;$videoVolumeBarActive.css({height:Math.round(volume*100)+%});$videoVolumeBar.show()},function(){clearTimeout(hideVolumeBarTimeoutId);hideVolumeBarTimeoutIdsetTimeout(function(){$videoVolumeBar.hide()},1E3)});$videoVolumeButton.css({display:block,position:absolute,top:0,left:0,width:BUTTON_SIZE+px,height:BUTTON_SIZE+px,cursor:pointer,background-image:url(+skinFolder+html5boxplayer_volume.png+),background-position:top +(volume>0?left:right)}).hover(function(){var backgroundPosX$(this).css(background-position)?$(this).css(background-position).split( )0:$(this).css(background-position-x);$(this).css({background-position:backgroundPosX+ bottom})},function(){var backgroundPosX$(this).css(background-position)?$(this).css(background-position).split( )0:$(this).css(background-position-x);$(this).css({background-position:backgroundPosX+ top})}).bind(eClick,function(){var volume$videoObj.get(0).volume;if(volume>0){volumeSavedvolume;volume0}else volumevolumeSaved;var backgroundPosY$(this).css(background-position)?$(this).css(background-position).split( )1:$(this).css(background-position-y);$videoVolumeButton.css({background-position:(volume>0?left:right)+ +backgroundPosY});$videoObj.get(0).volumevolume;$videoVolumeBarActive.css({height:Math.round(volume*100)+%})});$videoVolumeBar.css({display:none,position:absolute,left:4,bottom:100%,width:24,height:80,margin-bottom:Math.floor((BAR_HEIGHT-BUTTON_SIZE)/2),background-color:#000000,opacity:0.7,filter:alpha(opacity70)});$videoVolumeBarBg.css({display:block,position:relative,width:10,height:68,margin:7,cursor:pointer,background-color:#222});$videoVolumeBarActive.css({display:block,position:absolute,bottom:0,left:0,width:100%,height:100%,background-color:#fcc500});$videoVolumeBarBg.bind(eStart,function(e){var e0isTouch?e.originalEvent.touches0:e;var vol1-(e0.pageY-$videoVolumeBarBg.offset().top)/$videoVolumeBarBg.height();volvol>1?1:vol0?0:vol;$videoVolumeBarActive.css({height:Math.round(vol*100)+%});$videoVolumeButton.css({background-position:left +(vol>0?top:bottom)});$videoObj.get(0).volumevol;$videoVolumeBarBg.bind(eMove,function(e){var e0isTouch?e.originalEvent.touches0:e;var vol1-(e0.pageY-$videoVolumeBarBg.offset().top)/$videoVolumeBarBg.height();volvol>1?1:vol0?0:vol;$videoVolumeBarActive.css({height:Math.round(vol*100)+%});$videoVolumeButton.css({background-position:left +(vol>0?top:bottom)});$videoObj.get(0).volumevol})}).bind(eCancel,function(){$videoVolumeBarBg.unbind(eMove)})}var calcTimeFormatfunction(seconds){var h0Math.floor(seconds/3600);var hh010?0+h0:h0;var m0Math.floor((seconds-h0*3600)/60);var mm010?0+m0:m0;var s0Math.floor(seconds-(h0*3600+m0*60));var ss010?0+s0:s0;var rm+:+s;if(h0>0)rh+:+r;return r};if(hideplaybutton)$videoPlay.hide();if(hidecontrols)$videoControls.hide();var onVideoPlayfunction(){if(!hideplaybutton)$videoPlay.hide();if(!hidecontrols){$videoBtnPlay.hide();$videoBtnPause.show()}};var onVideoPausefunction(){if(!hideplaybutton)$videoPlay.show();if(!hidecontrols){$videoControls.show();clearTimeout(hideControlsTimerId);$videoBtnPlay.show();$videoBtnPause.hide()}};var onVideoEndedfunction(){$(window).trigger(html5lightbox.videoended);if(!hideplaybutton)$videoPlay.show();if(!hidecontrols){$videoControls.show();clearTimeout(hideControlsTimerId);$videoBtnPlay.show();$videoBtnPause.hide()}};var onVideoUpdatefunction(){var curTime$videoObj.get(0).currentTime;if(curTime){$videoTimeCurrent.text(calcTimeFormat(curTime));var duration$videoObj.get(0).duration;if(duration){$videoTimeTotal.text(calcTimeFormat(duration));if(!sliderDragging){var sliderW$videoSeeker.width();var posMath.round(sliderW*curTime/duration);$videoSeekerPlay.css({width:pos});$videoSeekerHandler.css({left:pos})}}}};var onVideoProgressfunction(){if($videoObj.get(0).buffered&&$videoObj.get(0).buffered.length>0&&!isNaN($videoObj.get(0).buffered.end(0))&&!isNaN($videoObj.get(0).duration)){var sliderW$videoSeeker.width();$videoSeekerBuffer.css({width:Math.round(sliderW*$videoObj.get(0).buffered.end(0)/$videoObj.get(0).duration)})}};try{$videoObj.bind(play,onVideoPlay);$videoObj.bind(pause,onVideoPause);$videoObj.bind(ended,onVideoEnded);$videoObj.bind(timeupdate,onVideoUpdate);$videoObj.bind(progress,onVideoProgress)}catch(e){}}})(jQuery);(function($){$.fn.ashtml5lightboxfunction(options){var instthis;inst.options$.extend({freelink:http://html5box.com/,defaultvideovolume:1,autoclose:false,autoplay:true,loopvideo:false,html5player:true,responsive:true,nativehtml5controls:false,videohidecontrols:false,imagekeepratio:true,useflashonie9:true,useflashonie10:false,useflashonie11:false,googleanalyticsaccount:,arrowloop:true,shownavigation:true,thumbwidth:96,thumbheight:72,thumbgap:4,thumbtopmargin:12,thumbbottommargin:12,thumbborder:1,thumbbordercolor:transparent,thumbhighlightbordercolor:#fff,thumbopacity:1,navbuttonwidth:32,overlaybgcolor:#000,overlayopacity:0.9,bgcolor:#fff,bordersize:8,borderradius:0,bordermargin:16,bordertopmargin:16,bordertopmarginsmall:48,barautoheight:true,barheight:64,responsivebarheight:false,smallscreenheight:415,barheightonsmallheight:64,notkeepratioonsmallheight:false,loadingwidth:64,loadingheight:64,resizespeed:400,fadespeed:400,jsfolder:,skinsfoldername:,loadingimage:lightbox-loading.gif,nextimage:lightbox-next.png,previmage:lightbox-prev.png,closeimage:lightbox-close.png,playvideoimage:lightbox-playvideo.png,titlebgimage:lightbox-titlebg.png,navarrowsprevimage:lightbox-navprev.png,navarrowsnextimage:lightbox-navnext.png,navarrowsalwaysshowontouch:true,navarrowsbottomscreenwidth:479,closeonoverlay:true,alwaysshownavarrows:false,showplaybutton:true,playimage:lightbox-play.png,pauseimage:lightbox-pause.png,fullscreenmode:false,fullscreencloseimage:lightbox-close-fullscreen.png,fullscreennextimage:lightbox-next-fullscreen.png,fullscreenprevimage:lightbox-prev-fullscreen.png,videobgcolor:#000,html5videoposter:,showtitle:true,titlestyle:bottom,titleinsidecss:color:#fff; font-size:16px; font-family:Arial,Helvetica,sans-serif; overflow:hidden; text-align:left;,titlebottomcss:color:#333; font-size:16px; font-family:Arial,Helvetica,sans-serif; overflow:hidden; text-align:left;,showdescription:true,descriptioninsidecss:color:#fff; font-size:12px; font-family:Arial,Helvetica,sans-serif; overflow:hidden; text-align:left; margin:4px 0px 0px; padding: 0px;,descriptionbottomcss:color:#333; font-size:12px; font-family:Arial,Helvetica,sans-serif; overflow:hidden; text-align:left; margin:4px 0px 0px; padding: 0px;,showtitleprefix:true,titleprefix:%NUM / %TOTAL,autoslide:false,slideinterval:5E3,showtimer:true,timerposition:bottom,timerheight:2,timercolor:#dc572e,timeropacity:1,initvimeo:true,inityoutube:true,imagepercentage:75,sidetobottomscreenwidth:479,errorwidth:280,errorheight:48,errorcss:text-align:center; color:#ff0000; font-size:14px; font-family:Arial, sans-serif;,enabletouchswipe:true,supportesckey:true,supportarrowkeys:true,version:3.3,stamp:false,freemark:72,84,77,76,53,32,76,105,103,104,116,98,111,120,32,70,114,101,101,32,86,101,114,115,105,111,110,watermark:,watermarklink:},options);if(typeof html5lightbox_options!undefined&&html5lightbox_options)$.extend(inst.options,html5lightbox_options);if($(div#html5lightbox_options).length)$.each($(div#html5lightbox_options).data(),function(key,value){inst.optionskey.toLowerCase()value});var DEFAULT_WIDTH960,DEFAULT_HEIGHT540;var ELEM_TYPE0,ELEM_HREF1,ELEM_TITLE2,ELEM_GROUP3,ELEM_WIDTH4,ELEM_HEIGHT5,ELEM_HREF_WEBM6,ELEM_HREF_OGG7,ELEM_THUMBNAIL8,ELEM_DESCRIPTION9,ELEM_DIV10;inst.options.typesIMAGE,FLASH,VIDEO,YOUTUBE,VIMEO,PDF,MP3,WEB,FLV,DAILYMOTION,DIV,WISTIA;inst.options.htmlfolderwindow.location.href.substr(0,window.location.href.lastIndexOf(/)+1);inst.options.skinsfolderinst.options.skinsfoldername;if(inst.options.skinsfolder.length>0&&inst.options.skinsfolderinst.options.skinsfolder.length-1!/)inst.options.skinsfolder+/;if(inst.options.skinsfolder.charAt(0)!/&&inst.options.skinsfolder.substring(0,5)!http:&&inst.options.skinsfolder.substring(0,6)!https:)inst.options.skinsfolderinst.options.jsfolder+inst.options.skinsfolder;var i;var l;var mark;var bytesinst.options.freemark.split(,);for(i0;ibytes.length;i++)mark+String.fromCharCode(bytesi);inst.options.freemarkmark;var d0hmtamgli5cboxh.iclolms;for(i1;i5;i++)d0d0.slice(0,i)+d0.slice(i+1);ld0.length;for(i0;i5;i++)d0d0.slice(0,l-9+i)+d0.slice(l-8+i);if(inst.options.htmlfolder.indexOf(d0)!-1)inst.options.stampfalse;inst.options.flashInstalledfalse;try{if(new ActiveXObject(ShockwaveFlash.ShockwaveFlash))inst.options.flashInstalledtrue}catch(e){if(navigator.mimeTypesapplication/x-shockwave-flash)inst.options.flashInstalledtrue}inst.options.html5VideoSupported!!document.createElement(video).canPlayType;inst.options.isChromenavigator.userAgent.match(/Chrome/i)!null;inst.options.isFirefoxnavigator.userAgent.match(/Firefox/i)!null;inst.options.isOperanavigator.userAgent.match(/Opera/i)!null||navigator.userAgent.match(/OPR\//i)!null;inst.options.isSafarinavigator.userAgent.match(/Safari/i)!null;inst.options.isIE11navigator.userAgent.match(/Trident\/7/)!null&&navigator.userAgent.match(/rv:11/)!null;inst.options.isIEnavigator.userAgent.match(/MSIE/i)!null&&!inst.options.isOpera;inst.options.isIE10navigator.userAgent.match(/MSIE 10/i)!null&&!this.options.isOpera;inst.options.isIE9navigator.userAgent.match(/MSIE 9/i)!null&&!inst.options.isOpera;inst.options.isIE8navigator.userAgent.match(/MSIE 8/i)!null&&!inst.options.isOpera;inst.options.isIE7navigator.userAgent.match(/MSIE 7/i)!null&&!inst.options.isOpera;inst.options.isIE6navigator.userAgent.match(/MSIE 6/i)!null&&!inst.options.isOpera;inst.options.isIE678inst.options.isIE6||inst.options.isIE7||inst.options.isIE8;inst.options.isIE6789inst.options.isIE6||inst.options.isIE7||inst.options.isIE8||inst.options.isIE9;inst.options.isAndroidnavigator.userAgent.match(/Android/i)!null;inst.options.isIPadnavigator.userAgent.match(/iPad/i)!null;inst.options.isIPhonenavigator.userAgent.match(/iPod/i)!null||navigator.userAgent.match(/iPhone/i)!null;inst.options.isIOSinst.options.isIPad||inst.options.isIPhone;inst.options.isMobileinst.options.isAndroid||inst.options.isIPad||inst.options.isIPhone;inst.options.isIOSLess5inst.options.isIPad&&inst.options.isIPhone&&(navigator.userAgent.match(/OS 4/i)!null||navigator.userAgent.match(/OS 3/i)!null);inst.options.supportCSSPositionFixed!inst.options.isIE6&&!inst.options.isIOSLess5;inst.options.iequirksmodeinst.options.isIE6789&&document.compatMode!CSS1Compat;inst.options.isTouchontouchstartin window;if(inst.options.isMobile)inst.options.autoplayfalse;inst.options.navheight0;inst.options.thumbgap+2*inst.options.thumbborder;inst.options.resizeTimeout-1;inst.slideTimeoutnull;inst.autoslidingfalse;inst.elemArraynew Array;inst.options.curElem-1;inst.defaultoptions$.extend({},inst.options);if(inst.options.googleanalyticsaccount&&!window._gaq){window._gaqwindow._gaq||;window._gaq.push(_setAccount,inst.options.googleanalyticsaccount);window._gaq.push(_trackPageview);$.getScript(https://ssl.google-analytics.com/ga.js)}if(inst.options.initvimeo){var tagdocument.createElement(script);tag.srcinst.options.jsfolder+froogaloop2.min.js;var firstScriptTagdocument.getElementsByTagName(script)0;firstScriptTag.parentNode.insertBefore(tag,firstScriptTag)}if(inst.options.inityoutube){var tagdocument.createElement(script);tag.srchttps://www.youtube.com/iframe_api;var firstScriptTagdocument.getElementsByTagName(script)0;firstScriptTag.parentNode.insertBefore(tag,firstScriptTag)}inst.showingfalse;inst.supportKeyboardfunction(){$(document).keyup(function(e){if(!inst.showing)return;if(inst.options.supportesckey&&e.keyCode27)inst.finish();else if(inst.options.supportarrowkeys)if(e.keyCode39)inst.gotoSlide(-1);else if(e.keyCode37)inst.gotoSlide(-2)})};inst.supportKeyboard();inst.initfunction(){inst.showingfalse;inst.readData();inst.createMarkup();inst.initSlide()};inst.readDatafunction(){inst.each(function(){if(this.nodeName.toLowerCase()!a&&this.nodeName.toLowerCase()!area)return;var $this$(this);var fileTypemediatypein $this.data()?$this.data(mediatype):inst.checkType($this.attr(href));if(fileType0)return;for(var i0;iinst.elemArray.length;i++)if($this.attr(href)inst.elemArrayiELEM_HREF)return;inst.elemArray.push(new Array(fileType,$this.attr(href),$this.attr(title),$this.data(group),$this.data(width),$this.data(height),$this.data(webm),$this.data(ogg),$this.data(thumbnail),$this.data(description)))})};inst.createMarkupfunction(){inst.options.barheightoriginalinst.options.barheight;if(inst.options.responsivebarheight){var winHwindow.innerHeight?window.innerHeight:$(window).height();if(winHinst.options.smallscreenheight)inst.options.barheightinst.options.barheightonsmallheight}if(!inst.options.titlecss)inst.options.titlecssinst.options.titlestyleinside?inst.options.titleinsidecss:inst.options.titlebottomcss;if(!inst.options.descriptioncss)inst.options.descriptioncssinst.options.titlestyleinside?inst.options.descriptioninsidecss:inst.options.descriptionbottomcss;inst.options.titlecss$.trim(inst.options.titlecss);if(inst.options.titlecss.length>1){if(inst.options.titlecss.charAt(0){)inst.options.titlecssinst.options.titlecss.substring(1);if(inst.options.titlecss.charAt(inst.options.titlecss.length-1)})inst.options.titlecssinst.options.titlecss.substring(0,inst.options.titlecss.length-1)}inst.options.descriptioncss$.trim(inst.options.descriptioncss);if(inst.options.descriptioncss.length>1){if(inst.options.descriptioncss.charAt(0){)inst.options.descriptioncssinst.options.descriptioncss.substring(1);if(inst.options.descriptioncss.charAt(inst.options.descriptioncss.length-1)})inst.options.descriptioncssinst.options.descriptioncss.substring(0,inst.options.descriptioncss.length-1)}inst.options.errorcss$.trim(inst.options.errorcss);if(inst.options.errorcss.length>1){if(inst.options.errorcss.charAt(0){)inst.options.errorcssinst.options.errorcss.substring(1);if(inst.options.errorcss.charAt(inst.options.errorcss.length-1)})inst.options.errorcssinst.options.errorcss.substring(0,inst.options.errorcss.length-1)}var styleCss.html5-hide {display:none !important;} #slider-html5-lightbox #html5-text {+inst.options.titlecss+};styleCss+#slider-html5-lightbox .html5-description {+inst.options.descriptioncss+};styleCss+#slider-html5-lightbox .html5-error {+inst.options.errorcss+};if(inst.options.navarrowsalwaysshowontouch||inst.options.alwaysshownavarrows){styleCss+#slider-html5-lightbox .html5-prev-touch {left:0px;top:50%;margin-top:-16px;margin-left:-32px;} #slider-html5-lightbox .html5-next-touch {right:0px;top:50%;margin-top:-16px;margin-right:-32px;};styleCss+@media (max-width: +inst.options.navarrowsbottomscreenwidth+px) { #slider-html5-lightbox .html5-prev-touch {top:100%;left:0;margin:0;} #slider-html5-lightbox .html5-next-touch {top:100%;right:0;margin:0;} }}styleCss+#slider-html5-lightbox .html5-prev-fullscreen {display:block;} #slider-html5-lightbox .html5-next-fullscreen {display:block;} #slider-html5-lightbox .html5-prev-bottom-fullscreen {display:none;} #slider-html5-lightbox .html5-next-bottom-fullscreen {display:none;};styleCss+@media (max-width: +inst.options.navarrowsbottomscreenwidth+px) {#slider-html5-lightbox .html5-prev-fullscreen {display:none;} #slider-html5-lightbox .html5-next-fullscreen {display:none;} #slider-html5-lightbox .html5-prev-bottom-fullscreen {display:block;} #slider-html5-lightbox .html5-next-bottom-fullscreen {display:block;} };if(inst.options.titlestyleright){styleCss+#slider-html5-lightbox #html5-elem-wrap {width:+inst.options.imagepercentage+%;height:100%;} #slider-html5-lightbox #html5-elem-data-box {min-height:100%;};styleCss+@media (max-width: +inst.options.sidetobottomscreenwidth+px) {#slider-html5-lightbox #html5-elem-wrap {width:100%;height:auto;} #slider-html5-lightbox #html5-elem-data-box {width:100%;height:auto;min-height:0;}}}else if(inst.options.titlestyleleft){styleCss+#slider-html5-lightbox #html5-elem-wrap {height:100%;} #slider-html5-lightbox #html5-elem-data-box {width:+String(100-inst.options.imagepercentage)+%;min-height:100%;};styleCss+@media (max-width: +inst.options.sidetobottomscreenwidth+px) {#slider-html5-lightbox #html5-elem-wrap {width:100%;height:auto;} #slider-html5-lightbox #html5-elem-data-box {width:100%;height:auto;min-height:0;}}}$(head).append(style typetext/css data-creatorslider-html5-lightbox>+styleCss+/style>);inst.$lightbox$(div idslider-html5-lightbox styledisplay:none;top:0px;left:0px;width:100%;height:100%;z-index:9999998;text-align:center;>+div idhtml5-lightbox-overlay styledisplay:block;position:absolute;top:0px;left:0px;width:100%;min-height:100%;background-color:+inst.options.overlaybgcolor+;opacity:+inst.options.overlayopacity+;filter:alpha(opacity+Math.round(inst.options.overlayopacity*100)+);>/div>+div idhtml5-lightbox-box styledisplay:block;position:relative;margin:0px auto;>+div idhtml5-elem-box styledisplay:block;position:relative;width:100%;overflow-x:hidden;overflow-y:auto;height:100%;margin:0px auto;text-align:center;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;>+div idhtml5-elem-wrap styledisplay:block;position:relative;margin:0px auto;text-align:center;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;background-color:+inst.options.bgcolor+;>+div idhtml5-loading styledisplay:none;position:absolute;top:0px;left:0px;text-align:center;width:100%;height:100%;background:url(\+inst.options.skinsfolder+inst.options.loadingimage+\) no-repeat center center;>/div>+div idhtml5-error classhtml5-error styledisplay:none;position:absolute;padding:+inst.options.bordersize+px;text-align:center;width:+inst.options.errorwidth+px;height:+inst.options.errorheight+px;>+The requested content cannot be loaded.br />Please try again later.+/div>+div idhtml5-image styledisplay:none;position:relative;top:0px;left:0px;width:100%;height:100%;+(inst.options.iequirksmode?margin:padding)+:+inst.options.bordersize+px;text-align:center;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;>/div>+/div>+/div>+div idhtml5-watermark styledisplay:none;position:absolute;left:+String(inst.options.bordersize+2)+px;top:+String(inst.options.bordersize+2)+px;>/div>+/div>+/div>);inst.options.positionFixedinst.options.supportCSSPositionFixed&&inst.options.responsive&&!inst.options.iequirksmode;inst.$lightbox.css({position:inst.options.positionFixed?fixed:absolute});inst.$lightbox.appendTo(body);inst.$lightboxBox$(#html5-lightbox-box,inst.$lightbox);inst.$elem$(#html5-elem-box,inst.$lightbox);inst.$elemWrap$(#html5-elem-wrap,inst.$lightbox);inst.$loading$(#html5-loading,inst.$lightbox);inst.$error$(#html5-error,inst.$lightbox);inst.$image$(#html5-image,inst.$lightbox);var elemTextdiv idhtml5-elem-data-box styledisplay:none;box-sizing:border-box;>div idhtml5-text styledisplay:block;overflow:hidden;>/div>/div>;if(inst.options.titlestyleleft)inst.$elem.prepend(elemText);else inst.$elem.append(elemText);inst.$elemData$(#html5-elem-data-box,inst.$lightbox);inst.$text$(#html5-text,inst.$lightbox);if(inst.options.borderradius>0){inst.$elem.css({border-radius:inst.options.borderradius+px,-moz-border-radius:inst.options.borderradius+px,-webkit-border-radius:inst.options.borderradius+px});if(inst.options.titlestyleinside)inst.$elemWrap.css({border-radius:inst.options.borderradius+px,-moz-border-radius:inst.options.borderradius+px,-webkit-border-radius:inst.options.borderradius+px});else if(inst.options.titlestylebottom){inst.$elemWrap.css({border-top-left-radius:inst.options.borderradius+px,-moz-top-left-border-radius:inst.options.borderradius+px,-webkit-top-left-border-radius:inst.options.borderradius+px,border-top-right-radius:inst.options.borderradius+px,-moz-top-right-border-radius:inst.options.borderradius+px,-webkit-top-right-border-radius:inst.options.borderradius+px});inst.$elemData.css({border-bottom-left-radius:inst.options.borderradius+px,-moz-top-bottom-border-radius:inst.options.borderradius+px,-webkit-bottom-left-border-radius:inst.options.borderradius+px,border-bottom-right-radius:inst.options.borderradius+px,-moz-bottom-right-border-radius:inst.options.borderradius+px,-webkit-bottom-right-border-radius:inst.options.borderradius+px})}}if(inst.options.titlestyleright||inst.options.titlestyleleft){inst.$lightboxBox.css({background-color:inst.options.bgcolor});if(inst.options.titlestyleright){inst.$elemWrap.css({position:relative,float:left});inst.$elemData.css({position:relative,overflow:hidden,padding:inst.options.bordersize+px})}else{inst.$elemWrap.css({position:relative,overflow:hidden});inst.$elemData.css({position:relative,float:left,padding:inst.options.bordersize+px})}}else if(inst.options.titlestyleinside){inst.$elemData.css({position:absolute,margin:inst.options.bordersize+px,bottom:0,left:0,background-color:#333,background-color:rgba(51, 51, 51, 0.6)});inst.$text.css({padding:inst.options.bordersize+px +2*inst.options.bordersize+px})}else{inst.$elemData.css({position:relative,width:100%,height:inst.options.barautoheight?auto:inst.options.barheight+px,padding:0 0 +inst.options.bordersize+px+ 0,background-color:inst.options.bgcolor,text-align:left});inst.$text.css({margin:0 +inst.options.bordersize+px})}if(inst.options.fullscreenmode){inst.$lightbox.append(div classhtml5-next-fullscreen stylecursor:pointer;position:absolute;right:+inst.options.bordersize+px;top:50%;margin-top:-16px;>img src+inst.options.skinsfolder+inst.options.fullscreennextimage+>/div>+div classhtml5-prev-fullscreen stylecursor:pointer;position:absolute;left:+inst.options.bordersize+px;top:50%;margin-top:-16px;>img src+inst.options.skinsfolder+inst.options.fullscreenprevimage+>/div>);inst.$next$(.html5-next-fullscreen,inst.$lightbox);inst.$prev$(.html5-prev-fullscreen,inst.$lightbox);inst.$lightboxBox.append(div classhtml5-next-bottom-fullscreen stylecursor:pointer;position:absolute;top:100%;right:0;margin-top:8px;>img src+inst.options.skinsfolder+inst.options.fullscreennextimage+>/div>+div classhtml5-prev-bottom-fullscreen stylecursor:pointer;position:absolute;top:100%;left:0;margin-top:8px;>img src+inst.options.skinsfolder+inst.options.fullscreenprevimage+>/div>);inst.$nextbottom$(.html5-next-bottom-fullscreen,inst.$lightbox);inst.$prevbottom$(.html5-prev-bottom-fullscreen,inst.$lightbox);inst.$nextbottom.click(function(){inst.nextArrowClicked()});inst.$prevbottom.click(function(){inst.prevArrowClicked()});inst.$lightbox.append(div idhtml5-close-fullscreen styledisplay:block;cursor:pointer;position:absolute;top:0;right:0;margin-top:0;margin-right:0;>img src+inst.options.skinsfolder+inst.options.fullscreencloseimage+>/div>);inst.$close$(#html5-close-fullscreen,inst.$lightbox)}else{inst.$elemWrap.append(div idhtml5-next styledisplay:none;cursor:pointer;position:absolute;right:+inst.options.bordersize+px;top:50%;margin-top:-16px;>img src+inst.options.skinsfolder+inst.options.nextimage+>/div>+div idhtml5-prev styledisplay:none;cursor:pointer;position:absolute;left:+inst.options.bordersize+px;top:50%;margin-top:-16px;>img src+inst.options.skinsfolder+inst.options.previmage+>/div>);inst.$next$(#html5-next,inst.$lightbox);inst.$prev$(#html5-prev,inst.$lightbox);if(inst.options.isTouch&&inst.options.navarrowsalwaysshowontouch||inst.options.alwaysshownavarrows){inst.$lightboxBox.append(div classhtml5-next-touch styledisplay:block;cursor:pointer;position:absolute;>img src+inst.options.skinsfolder+inst.options.nextimage+>/div>+div classhtml5-prev-touch styledisplay:block;cursor:pointer;position:absolute;>img src+inst.options.skinsfolder+inst.options.previmage+>/div>);inst.$nexttouch$(.html5-next-touch,inst.$lightbox);inst.$prevtouch$(.html5-prev-touch,inst.$lightbox);inst.$nexttouch.click(function(){inst.nextArrowClicked()});inst.$prevtouch.click(function(){inst.prevArrowClicked()})}inst.$lightboxBox.append(div idhtml5-close styledisplay:none;cursor:pointer;position:absolute;top:0;right:0;margin-top:-16px;margin-right:-16px;>img src+inst.options.skinsfolder+inst.options.closeimage+>/div>);inst.$close$(#html5-close,inst.$lightbox)}inst.$watermark$(#html5-watermark,inst.$lightbox);if(inst.options.stamp)inst.$watermark.html(a href+inst.options.freelink+ styletext-decoration:none; titlejQuery Lightbox>div styledisplay:block;width:170px;height:20px;text-align:center;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;background-color:#fff;color:#333;font:12px Arial,sans-serif;>div styleline-height:20px;>+inst.options.freemark+/div>/div>/a>);else if(inst.options.watermark){var htmlimg src+inst.options.watermark+ styleborder:none; />;if(inst.options.watermarklink)htmla href+inst.options.watermarklink+ target_blank>+html+/a>;inst.$watermark.html(html)}if(inst.options.closeonoverlay)$(#html5-lightbox-overlay,inst.$lightbox).click(inst.finish);inst.$close.click(inst.finish);inst.$next.click(function(){inst.nextArrowClicked()});inst.$prev.click(function(){inst.prevArrowClicked()});$(window).resize(function(){clearTimeout(inst.options.resizeTimeout);inst.options.resizeTimeoutsetTimeout(function(){inst.resizeWindow()},500)});$(window).scroll(function(){inst.scrollBox()});$(window).bind(orientationchange,function(e){if(inst.options.isMobile)inst.resizeWindow()});if(inst.options.isIPhone){inst.options.windowInnerHeightwindow.innerHeight;setInterval(function(){if(inst.options.windowInnerHeight!window.innerHeight){inst.options.windowInnerHeightwindow.innerHeight;inst.resizeWindow()}},500)}if(inst.options.enabletouchswipe)inst.enableSwipe()};inst.slideTimerfunction(interval,callback,updatecallback){var timerInstancethis;timerInstance.timeoutinterval;var updateinterval50;var updateTimerIdnull;var runningTime0;var pausedfalse;var startedfalse;var startedandpausedfalse;this.pausefunction(){if(started){pausedtrue;clearInterval(updateTimerId)}};this.resumefunction(forceresume){if(startedandpaused&&!forceresume)return;startedandpausedfalse;if(started&&paused){pausedfalse;updateTimerIdsetInterval(function(){runningTime+updateinterval;if(runningTime>timerInstance.timeout){clearInterval(updateTimerId);if(callback)callback()}if(updatecallback)updatecallback(runningTime/timerInstance.timeout)},updateinterval)}};this.stopfunction(){clearInterval(updateTimerId);if(updatecallback)updatecallback(-1);runningTime0;pausedfalse;startedfalse};this.startfunction(){runningTime0;pausedfalse;startedtrue;updateTimerIdsetInterval(function(){runningTime+updateinterval;if(runningTime>timerInstance.timeout){clearInterval(updateTimerId);if(callback)callback()}if(updatecallback)updatecallback(runningTime/timerInstance.timeout)},updateinterval)};this.startandpausefunction(){runningTime0;pausedtrue;startedtrue;startedandpausedtrue};return this};inst.updateTimerfunction(percent){var wMath.round(percent*100);if(w>100)w100;if(w0)w0;$(#html5-timer,inst.$lightbox).css({display:block,width:w+%})};inst.initSlidefunction(){inst.autoslidingfalse;inst.slideTimeoutinst.slideTimer(inst.options.slideinterval,function(){inst.gotoSlide(-1)},inst.options.showtimer?function(percent){inst.updateTimer(percent)}:null);if(inst.options.autoslide){inst.slideTimeout.stop();inst.autoslidingtrue}};inst.nextArrowClickedfunction(){if(inst.options.nextEleminst.options.curElem)if(inst.options.onlastarrowclicked&&windowinst.options.onlastarrowclicked&&typeof windowinst.options.onlastarrowclickedfunction)windowinst.options.onlastarrowclicked();inst.gotoSlide(-1)};inst.prevArrowClickedfunction(){if(inst.options.prevElem>inst.options.curElem)if(inst.options.onfirstarrowclicked&&windowinst.options.onfirstarrowclicked&&typeof windowinst.options.onfirstarrowclickedfunction)windowinst.options.onfirstarrowclicked();inst.gotoSlide(-2)};inst.calcNextPrevElemfunction(){inst.options.nextElem-1;inst.options.prevElem-1;inst.options.inGroupfalse;inst.options.groupIndex0;inst.options.groupCount0;var groupinst.elemArrayinst.options.curElemELEM_GROUP;for(var i0;iinst.elemArray.length;i++)if(inst.matchGroup(group,inst.elemArrayiELEM_GROUP)){if(iinst.options.curElem)inst.options.groupIndexinst.options.groupCount;inst.options.groupCount++}var j,curGroupinst.elemArrayinst.options.curElemELEM_GROUP;if(curGroup!undefined&&curGroup!null){for(jinst.options.curElem+1;jinst.elemArray.length;j++)if(inst.matchGroup(curGroup,inst.elemArrayjELEM_GROUP)){inst.options.nextElemj;break}if(inst.options.nextElem0)for(j0;jinst.options.curElem;j++)if(inst.matchGroup(curGroup,inst.elemArrayjELEM_GROUP)){inst.options.nextElemj;break}if(inst.options.nextElem>0){for(jinst.options.curElem-1;j>0;j--)if(inst.matchGroup(curGroup,inst.elemArrayjELEM_GROUP)){inst.options.prevElemj;break}if(inst.options.prevElem0)for(jinst.elemArray.length-1;j>inst.options.curElem;j--)if(inst.matchGroup(curGroup,inst.elemArrayjELEM_GROUP)){inst.options.prevElemj;break}}}if(inst.options.nextElem>0||inst.options.prevElem>0)inst.options.inGrouptrue};inst.calcBoxPositionfunction(initW,initH){var boxWinitW+2*inst.options.bordersize;var boxHinitH+2*inst.options.bordersize;var winHwindow.innerHeight?window.innerHeight:$(window).height();var boxTMath.round((winH-inst.options.navheight)/2-boxH/2);if(inst.options.titlestylebottom)boxT-Math.round(inst.options.barheight/2);var topmargin$(window).width()inst.options.navarrowsbottomscreenwidth?inst.options.bordertopmarginsmall:inst.options.bordertopmargin;if(boxTtopmargin)boxTtopmargin;if(window.self!window.top)if(parent.window.jQuery&&parent.window.jQuery(#+inst.options.iframeid).length){var iframetopparent.window.jQuery(#+inst.options.iframeid).offset().top;var parentscrollparent.window.document.body.scrollTop;boxTtopmargin;boxT+parentscroll>iframetop?parentscroll-iframetop:0}returnboxW,boxH,boxT};inst.hideNavArrowsfunction(){var showPrevfalse;var showNextfalse;if(inst.options.inGroup){if(inst.options.arrowloop||!inst.options.arrowloop&&inst.options.prevEleminst.options.curElem)showPrevtrue;if(inst.options.arrowloop||!inst.options.arrowloop&&inst.options.prevEleminst.options.curElem)showNexttrue}if(showPrev){inst.$prev.removeClass(html5-hide);if(inst.$prevbottom)inst.$prevbottom.removeClass(html5-hide);if(inst.$prevtouch)inst.$prevtouch.removeClass(html5-hide)}else{inst.$prev.addClass(html5-hide);if(inst.$prevbottom)inst.$prevbottom.addClass(html5-hide);if(inst.$prevtouch)inst.$prevtouch.addClass(html5-hide)}if(showNext){inst.$next.removeClass(html5-hide);if(inst.$nextbottom)inst.$nextbottom.removeClass(html5-hide);if(inst.$nexttouch)inst.$nexttouch.removeClass(html5-hide)}else{inst.$next.addClass(html5-hide);if(inst.$nextbottom)inst.$nextbottom.addClass(html5-hide);if(inst.$nexttouch)inst.$nexttouch.addClass(html5-hide)}};inst.clickHandlerfunction(){var $this$(this);var dataoptions{};$.each($this.data(),function(key,value){dataoptionskey.toLowerCase()value});inst.options$.extend(inst.options,inst.defaultoptions,dataoptions);$(window).trigger(html5lightbox.lightboxshow);inst.init();if(inst.elemArray.length0)return true;inst.hideObjects();for(var i0;iinst.elemArray.length;i++)if(inst.elemArrayiELEM_HREF$this.attr(href))break;if(iinst.elemArray.length)return true;inst.options.curElemi;inst.calcNextPrevElem();inst.reset();inst.$lightbox.show();var boxPosinst.calcBoxPosition(inst.options.loadingwidth,inst.options.loadingheight);var boxWboxPos0;var boxHboxPos1;var boxTboxPos2;if(inst.options.iequirksmode)inst.$lightboxBox.css({top:boxT});else inst.$lightboxBox.css({margin-top:boxT});if(!inst.options.positionFixed)inst.$lightboxBox.css(margin-top,$(window).scrollTop()+inst.options.bordertopmargin);if(inst.options.titlestyleleft||inst.options.titlestyleright)inst.$lightboxBox.css({width:boxW,height:boxH});else{inst.$lightboxBox.css({width:boxW,height:auto});inst.$elemWrap.css({width:boxW,height:boxH})}inst.loadCurElem();return false};inst.loadThumbnailfunction(src,index){var imgLoadernew Image;$(imgLoader).load(function(){var style;if(this.width/this.heightinst.options.thumbwidth/inst.options.thumbheight)stylewidth:100%;;else styleheight:100%;;$(.html5-nav-thumb).eq(index).html(img style+style+ src+src+ />)});imgLoader.srcsrc};inst.matchGroupfunction(curGroup,elemGroup){if(!curGroup||!elemGroup)return false;var curscurGroup.split(:);var elemselemGroup.split(:);var resultfalse;for(var i in curs)if($.inArray(cursi,elems)>-1){resulttrue;break}return result};inst.showNavigationfunction(){if(!inst.options.shownavigation)return;if(!inst.currentElem||!inst.currentElemELEM_GROUP)return;var i;var showNavfalse;var groupinst.currentElemELEM_GROUP;for(i0;iinst.elemArray.length;i++)if(inst.matchGroup(group,inst.elemArrayiELEM_GROUP))if(inst.elemArrayiELEM_THUMBNAIL&&inst.elemArrayiELEM_THUMBNAIL.length>0){showNavtrue;break}if(!showNav)return;inst.options.navheightinst.options.thumbheight+inst.options.thumbtopmargin+inst.options.thumbbottommargin;if($(.html5-nav).length>0)return;$(body).append(div classhtml5-nav styledisplay:block;position:fixed;bottom:0;left:0;width:100%;height:+inst.options.navheight+px;z-index:9999999;>+div classhtml5-nav-container styleposition:relative;margin:+inst.options.thumbtopmargin+px auto +inst.options.thumbbottommargin+px;>+div classhtml5-nav-prev styledisplay:block;position:absolute;cursor:pointer;width:+inst.options.navbuttonwidth+px;height:100%;left:0;top:0;background:url(+inst.options.skinsfolder+inst.options.navarrowsprevimage+\) no-repeat left center;>/div>+div classhtml5-nav-mask styledisplay:block;position:relative;margin:0 auto;overflow:hidden;>+div classhtml5-nav-list>/div>+/div>+div classhtml5-nav-next styledisplay:block;position:absolute;cursor:pointer;width:+inst.options.navbuttonwidth+px;height:100%;right:0;top:0;background:url(+inst.options.skinsfolder+inst.options.navarrowsnextimage+\) no-repeat right center;>/div>+/div>+/div>);var index0;for(i0;iinst.elemArray.length;i++)if(inst.matchGroup(group,inst.elemArrayiELEM_GROUP))if(inst.elemArrayiELEM_THUMBNAIL&&inst.elemArrayiELEM_THUMBNAIL.length>0){$(.html5-nav-list).append(div classhtml5-nav-thumb data-arrayindex+i+ stylefloat:left;overflow:hidden;cursor:pointer;opacity:+inst.options.thumbopacity+;margin: 0 +inst.options.thumbgap/2+px;width:+inst.options.thumbwidth+px;height:+inst.options.thumbheight+px;border:+inst.options.thumbborder+px solid +inst.options.thumbbordercolor+;>/div>);this.loadThumbnail(inst.elemArrayiELEM_THUMBNAIL,index);index++}$(.html5-nav-thumb).hover(function(){$(this).css({opacity:1});$(this).css({border:inst.options.thumbborder+px solid +inst.options.thumbhighlightbordercolor})},function(){$(this).css({opacity:inst.options.thumbopacity});$(this).css({border:inst.options.thumbborder+px solid +inst.options.thumbbordercolor})});$(.html5-nav-thumb).click(function(){var index$(this).data(arrayindex);if(index>0)inst.gotoSlide(index)});inst.options.totalwidthindex*(inst.options.thumbgap+inst.options.thumbwidth+2*inst.options.thumbborder);$(.html5-nav-list).css({display:block,position:relative,margin-left:0,width:inst.options.totalwidth+px}).append(div styleclear:both;>/div>);var $navMask$(.html5-nav-mask);var $navPrev$(.html5-nav-prev);var $navNext$(.html5-nav-next);$navPrev.click(function(){var $navList$(.html5-nav-list);var $navNext$(.html5-nav-next);var winWidth$(window).width();var maskWidthwinWidth-2*inst.options.navbuttonwidth;var marginLeftparseInt($navList.css(margin-left))+maskWidth;if(marginLeft>0){marginLeft0;$(this).css({background-position:center left})}else $(this).css({background-position:center right});if(marginLeftmaskWidth-inst.options.totalwidth)$navNext.css({background-position:center left});else $navNext.css({background-position:center right});$navList.animate({margin-left:marginLeft})});$navNext.click(function(){var $navList$(.html5-nav-list);var $navPrev$(.html5-nav-prev);var winWidth$(window).width();var maskWidthwinWidth-2*inst.options.navbuttonwidth;var marginLeftparseInt($navList.css(margin-left))-maskWidth;if(marginLeftmaskWidth-inst.options.totalwidth){marginLeftmaskWidth-inst.options.totalwidth;$(this).css({background-position:center left})}else $(this).css({background-position:center right});if(marginLeft>0)$navPrev.css({background-position:center left});else $navPrev.css({background-position:center right});$navList.animate({margin-left:marginLeft})});var winWidth$(window).width();if(inst.options.totalwidthwinWidth){$navMask.css({width:inst.options.totalwidth+px});$navPrev.hide();$navNext.hide()}else{$navMask.css({width:winWidth-2*inst.options.navbuttonwidth+px});$navPrev.show();$navNext.show()}};inst.loadElemfunction(elem){inst.currentElemelem;inst.showingtrue;inst.showNavigation();inst.$elem.unbind(mouseenter).unbind(mouseleave).unbind(mousemove);inst.$loading.show();if(inst.options.onshowitem&&windowinst.options.onshowitem&&typeof windowinst.options.onshowitemfunction)windowinst.options.onshowitem(elem);switch(elemELEM_TYPE){case 0:var imgLoadernew Image;$(imgLoader).load(function(){inst.showImage(elem,imgLoader.width,imgLoader.height)});$(imgLoader).error(function(){inst.showError()});imgLoader.srcelemELEM_HREF;break;case 1:inst.showSWF(elem);break;case 2:case 8:inst.showVideo(elem);break;case 3:case 4:case 9:case 11:inst.showYoutubeVimeo(elem);break;case 5:inst.showPDF(elem);break;case 6:inst.showMP3(elem);break;case 7:inst.showWeb(elem);break;case 10:inst.showDiv(elem);break}if(inst.options.googleanalyticsaccount&&window._gaq)window._gaq.push(_trackEvent,Lightbox,Open,elemELEM_HREF)};inst.loadCurElemfunction(){inst.loadElem(inst.elemArrayinst.options.curElem)};inst.showErrorfunction(){inst.$loading.hide();inst.resizeLightbox(inst.options.errorwidth,inst.options.errorheight,true,function(){inst.$error.show();inst.$elem.fadeIn(inst.options.fadespeed,function(){inst.showData()})})};inst.calcTextWidthfunction(objW){return objW-36};inst.showTitlefunction(w,t,description){if(inst.options.titlestyleinside)inst.$elemData.css({width:w+px});var text;if(inst.options.showtitle)if(t&&t.length>0)text+t;if(inst.options.inGroup){if(inst.options.showtitleprefix)textinst.options.titleprefix.replace(%NUM,inst.options.groupIndex+1).replace(%TOTAL,inst.options.groupCount)+ +text;if(inst.options.showplaybutton)textdiv idhtml5-playpause styledisplay:inline-block;cursor:pointer;vertical-align:middle;>div idhtml5-play styledisplay:block;>img src+inst.options.skinsfolder+inst.options.playimage+>/div>div idhtml5-pause styledisplay:none;>img src+inst.options.skinsfolder+inst.options.pauseimage+>/div>/div> +text}if(inst.options.showdescription&&description&&description.length>0)text+p classhtml5-description>+description+/p>;inst.$text.html(text);if(inst.options.inGroup&&inst.options.showplaybutton){if(inst.autosliding){$(#html5-play,inst.$lightbox).hide();$(#html5-pause,inst.$lightbox).show()}else{$(#html5-play,inst.$lightbox).show();$(#html5-pause,inst.$lightbox).hide()}$(#html5-play,inst.$lightbox).click(function(){$(#html5-play,inst.$lightbox).hide();$(#html5-pause,inst.$lightbox).show();if(inst.slideTimeout){inst.slideTimeout.stop();inst.slideTimeout.start();inst.autoslidingtrue}});$(#html5-pause,inst.$lightbox).click(function(){$(#html5-play,inst.$lightbox).show();$(#html5-pause,inst.$lightbox).hide();if(inst.slideTimeout){inst.slideTimeout.stop();inst.autoslidingfalse}})}},inst.showImagefunction(elem,imgW,imgH){var elemW,elemH;if(elemELEM_WIDTH)elemWelemELEM_WIDTH;else{elemWimgW;elemELEM_WIDTHimgW}if(elemELEM_HEIGHT)elemHelemELEM_HEIGHT;else{elemHimgH;elemELEM_HEIGHTimgH}var sizeObjinst.calcElemSize({w:elemW,h:elemH},inst.options.imagekeepratio);inst.resizeLightbox(sizeObj.w,sizeObj.h,true,function(){inst.showTitle(sizeObj.w,elemELEM_TITLE,elemELEM_DESCRIPTION);var timercode!inst.options.showtimer||!inst.options.inGroup?:div idhtml5-timer styledisplay:none;position:absolute;+inst.options.timerposition+:0;left:0;width:0;height:+inst.options.timerheight+px;background-color:+inst.options.timercolor+;opacity:+inst.options.timeropacity+;>/div>;inst.$image.show();inst.$image.html(div idhtml5-image-container styledisplay:block;position:relative;width:100%;height:100%;+(inst.options.imagekeepratio?:overflow-x:auto;overflow-y:scroll;-ms-overflow-x:auto;-ms-overflow-y:scroll;)+>img src+elemELEM_HREF+ width100% height+(inst.options.imagekeepratio?100%:auto)+ />+timercode+/div>);inst.$elem.fadeIn(inst.options.fadespeed,function(){inst.showData()});if(inst.autosliding){inst.slideTimeout.stop();inst.slideTimeout.start()}})};inst.showSWFfunction(elem){var dataWelemELEM_WIDTH?elemELEM_WIDTH:DEFAULT_WIDTH;var dataHelemELEM_HEIGHT?elemELEM_HEIGHT:DEFAULT_HEIGHT;var sizeObjinst.calcElemSize({w:dataW,h:dataH},true);dataWsizeObj.w;dataHsizeObj.h;inst.resizeLightbox(dataW,dataH,true,function(){inst.showTitle(sizeObj.w,elemELEM_TITLE,elemELEM_DESCRIPTION);inst.$image.html(div idhtml5lightbox-swf styledisplay:block;width:100%;height:100%;>/div>).show();inst.embedFlash($(#html5lightbox-swf),elemELEM_HREF,window,{width:dataW,height:dataH});inst.$elem.show();inst.showData();if(inst.autosliding){inst.slideTimeout.stop();inst.slideTimeout.start()}})};inst.showVideofunction(elem){inst.slideTimeout.stop();var dataWelemELEM_WIDTH?elemELEM_WIDTH:DEFAULT_WIDTH;var dataHelemELEM_HEIGHT?elemELEM_HEIGHT:DEFAULT_HEIGHT;var sizeObjinst.calcElemSize({w:dataW,h:dataH},true);dataWsizeObj.w;dataHsizeObj.h;inst.resizeLightbox(dataW,dataH,true,function(){inst.showTitle(sizeObj.w,elemELEM_TITLE,elemELEM_DESCRIPTION);inst.$image.html(div idhtml5lightbox-video styledisplay:block;width:100%;height:100%;overflow:hidden;background-color:+inst.options.videobgcolor+;>/div>).show();var isHTML5false;if(inst.options.isIE678||elemELEM_TYPE8||inst.options.isIE9&&inst.options.useflashonie9||inst.options.isIE10&&inst.options.useflashonie10||inst.options.isIE11&&inst.options.useflashonie11)isHTML5false;else if(inst.options.isMobile)isHTML5true;else if((inst.options.html5player||!inst.options.flashInstalled)&&inst.options.html5VideoSupported)if(!inst.options.isFirefox&&!inst.options.isOpera||(inst.options.isFirefox||inst.options.isOpera)&&(elemELEM_HREF_OGG||elemELEM_HREF_WEBM))isHTML5true;if(isHTML5){var videoSrcelemELEM_HREF;if(inst.options.isFirefox||inst.options.isOpera||!videoSrc)videoSrcelemELEM_HREF_WEBM?elemELEM_HREF_WEBM:elemELEM_HREF_OGG;inst.embedHTML5Video($(#html5lightbox-video),videoSrc,inst.options.autoplay,inst.options.loopvideo)}else{var videoFileelemELEM_HREF;if(videoFile.charAt(0)!/&&videoFile.substring(0,5)!http:&&videoFile.substring(0,6)!https:)videoFileinst.options.htmlfolder+videoFile;inst.embedFlash($(#html5lightbox-video),inst.options.jsfolder+html5boxplayer.swf,transparent,{width:dataW,height:dataH,jsobjectname:html5Lightbox,hidecontrols:inst.options.videohidecontrols?1:0,hideplaybutton:0,videofile:videoFile,hdfile:,ishd:0,defaultvolume:inst.options.defaultvideovolume,autoplay:inst.options.autoplay?1:0,loop:inst.options.loopvideo?1:0,errorcss:.html5box-error+inst.options.errorcss,id:0})}inst.$elem.show();inst.showData()})};inst.loadNextfunction(){$(window).trigger(html5lightbox.videofinished);if(inst.autosliding)inst.gotoSlide(-1);else if(inst.options.autoclose)inst.finish()};inst.getYoutubeParamsfunction(href){var result{};if(href.indexOf(?)0)return result;var paramshref.substring(href.indexOf(?)+1).split(&);for(var i0;iparams.length;i++){var valueparamsi.split();if(value&&value.length2&&value0.toLowerCase()!v)resultvalue0.toLowerCase()value1}return result};inst.getYoutubeIdfunction(href){var youtubeId;var regExp/^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\??v??))(^#\&\?*).*/;var matchhref.match(regExp);if(match&&match7&&match7.length11)youtubeIdmatch7;return youtubeId};inst.prepareYoutubeHreffunction(href){var youtubeIdinst.getYoutubeId(href);var protocolhttps:;var resultprotocol+//www.youtube.com/embed/+youtubeId;var paramsthis.getYoutubeParams(href);var firsttrue;for(var key in params){if(first){result+?;firstfalse}else result+&;result+key++paramskey}return result};inst.prepareDailymotionHreffunction(href){if(href.match(/\:\/\/.*(dai\.ly)/i)){var protocolhttps:;var idhref.match(/(dai\.ly\/)(a-zA-Z0-9\-\_+)/)2;hrefprotocol+//www.dailymotion.com/embed/video/+id}return href};inst.showYoutubeVimeofunction(elem){inst.slideTimeout.stop();var dataWelemELEM_WIDTH?elemELEM_WIDTH:DEFAULT_WIDTH;var dataHelemELEM_HEIGHT?elemELEM_HEIGHT:DEFAULT_HEIGHT;var sizeObjinst.calcElemSize({w:dataW,h:dataH},true);dataWsizeObj.w;dataHsizeObj.h;inst.resizeLightbox(dataW,dataH,true,function(){inst.showTitle(sizeObj.w,elemELEM_TITLE,elemELEM_DESCRIPTION);inst.$image.html(div idhtml5lightbox-video styledisplay:block;width:100%;height:100%;overflow:hidden;>/div>).show();var hrefelemELEM_HREF;var youtubeid;if(elemELEM_TYPE3){youtubeidinst.getYoutubeId(href);hrefinst.prepareYoutubeHref(href)}if(elemELEM_TYPE9)hrefinst.prepareDailymotionHref(href);if(inst.options.autoplay){href+href.indexOf(?)0??:&;if(elemELEM_TYPE11)href+autoPlaytrue;else href+autoplay1}if(inst.options.loopvideo){href+href.indexOf(?)0??:&;switch(elemELEM_TYPE){case 3:href+loop1&playlist+youtubeid;break;case 4:case 9:href+loop1;break;case 11:href+endVideoBehaviorloop;break}}if(elemELEM_TYPE3){if(href.indexOf(?)0)href+?wmodetransparent&rel0;else href+&wmodetransparent&rel0;if(inst.options.videohidecontrols)href+&controls0&showinfo0;href+&enablejsapi1&origin+document.location.protocol+//+document.location.hostname}else if(elemELEM_TYPE4){href+href.indexOf(?)0??:&;href+api1&player_idhtml5boxiframevideo}$(#html5lightbox-video).html(iframe idhtml5boxiframevideo width100% height100% src+href+ frameborder0 webkitAllowFullScreen mozallowfullscreen allowFullScreen>/iframe>);inst.$elem.show();inst.showData();if(elemELEM_TYPE3&&typeof YTobject&&typeof YT.Playerfunction)new YT.Player(html5boxiframevideo,{events:{onStateChange:function(event){if(event.dataYT.PlayerState.ENDED){$(window).trigger(html5lightbox.videofinished);if(inst.autosliding)inst.gotoSlide(-1);else if(inst.options.autoclose)inst.finish()}}}});else if(elemELEM_TYPE4&&typeof $ffunction){var vimeoIframe$(#html5boxiframevideo)0;var vimeoPlayer$f(vimeoIframe);vimeoPlayer.addEvent(ready,function(){vimeoPlayer.addEvent(finish,function(id){$(window).trigger(html5lightbox.videofinished);if(inst.autosliding)inst.gotoSlide(-1);else if(inst.options.autoclose)inst.finish()})})}})};inst.showPDFfunction(elem){};inst.showMP3function(elem){};inst.showDivfunction(elem){var winWidth$(window).width();var winHwindow.innerHeight?window.innerHeight:$(window).height();var dataWelemELEM_WIDTH?elemELEM_WIDTH:winWidth;var dataHelemELEM_HEIGHT?elemELEM_HEIGHT:winH-inst.options.navheight;var sizeObjinst.calcElemSize({w:dataW,h:dataH},false);dataWsizeObj.w;dataHsizeObj.h;inst.resizeLightbox(dataW,dataH,true,function(){inst.$loading.hide();inst.showTitle(sizeObj.w,elemELEM_TITLE,elemELEM_DESCRIPTION);inst.$image.html(div idhtml5lightbox-div styledisplay:block;width:100%;height:100%;+(inst.options.isIOS?-webkit-overflow-scrolling:touch;overflow-y:scroll;:overflow:auto;)+>/div>).show();var divIDelemELEM_HREF;if($(divID).length>0)$(#html5lightbox-div).html($(divID).html());else $(#html5lightbox-div).html(div classhtml5-error>The specified div ID does not exist./div>);inst.$elem.show();inst.showData();if(inst.autosliding){inst.slideTimeout.stop();inst.slideTimeout.start()}})};inst.showWebfunction(elem){var winWidth$(window).width();var winHwindow.innerHeight?window.innerHeight:$(window).height();var dataWelemELEM_WIDTH?elemELEM_WIDTH:winWidth;var dataHelemELEM_HEIGHT?elemELEM_HEIGHT:winH-inst.options.navheight;var sizeObjinst.calcElemSize({w:dataW,h:dataH},false);dataWsizeObj.w;dataHsizeObj.h;inst.resizeLightbox(dataW,dataH,true,function(){inst.$loading.hide();inst.showTitle(sizeObj.w,elemELEM_TITLE,elemELEM_DESCRIPTION);inst.$image.html(div idhtml5lightbox-web styledisplay:block;width:100%;height:100%;+(inst.options.isIOS?-webkit-overflow-scrolling:touch;overflow-y:scroll;:)+>/div>).show();$(#html5lightbox-web).html(iframe idhtml5lightbox-web-iframe width100% height100% src+elemELEM_HREF+ frameborder0>/iframe>);inst.$elem.show();inst.showData();if(inst.autosliding){inst.slideTimeout.stop();inst.slideTimeout.start()}})};inst.scrollBoxfunction(){};inst.resizeWindowfunction(){if(!inst.currentElem)return;if(!inst.options.responsive)return;var winWidth$(window).width();var winHwindow.innerHeight?window.innerHeight:$(window).height();if(inst.options.responsivebarheight){if(winHinst.options.smallscreenheight)inst.options.barheightinst.options.barheightonsmallheight;else inst.options.barheightinst.options.barheightoriginal;if(inst.options.titlestylebottom&&inst.options.barautoheight!auto)inst.$elemData.css({height:inst.options.barheight+px,max-height:inst.options.barheight+px})}var elemW,elemH,keepratio;if(inst.currentElemELEM_TYPE0)keepratioinst.options.imagekeepratio;else if(inst.currentElemELEM_TYPE7||inst.currentElemELEM_TYPE10){elemWinst.currentElemELEM_WIDTH?inst.currentElemELEM_WIDTH:winWidth;elemHinst.currentElemELEM_HEIGHT?inst.currentElemELEM_HEIGHT:winH-inst.options.navheight;keepratiofalse}else{elemWinst.currentElemELEM_WIDTH?inst.currentElemELEM_WIDTH:DEFAULT_WIDTH;elemHinst.currentElemELEM_HEIGHT?inst.currentElemELEM_HEIGHT:DEFAULT_HEIGHT;keepratiotrue}var sizeObjinst.calcElemSize({w:elemW,h:elemH},keepratio);var boxPosinst.calcBoxPosition(sizeObj.w,sizeObj.h);var boxWboxPos0;var boxHboxPos1;var boxTboxPos2;inst.$lightboxBox.css({margin-top:boxT});if(!inst.options.positionFixed)inst.$lightboxBox.css(margin-top,$(window).scrollTop()+inst.options.bordertopmargin);if(inst.options.titlestyleleft||inst.options.titlestyleright)inst.$lightboxBox.css({width:boxW,height:boxH});else{inst.$lightboxBox.css({width:boxW,height:auto});inst.$elemWrap.css({width:boxW,height:boxH})}if(inst.options.titlestyleinside)inst.$elemData.css({width:sizeObj.w+px});if($(.html5-nav).length0)return;$(.html5-nav-list).css({margin-left:0});var $navMask$(.html5-nav-mask);var $navPrev$(.html5-nav-prev);var $navNext$(.html5-nav-next);var winWidth$(window).width();if(inst.options.totalwidthwinWidth){$navMask.css({width:inst.options.totalwidth+px});$navPrev.hide();$navNext.hide()}else{$navMask.css({width:winWidth-2*inst.options.navbuttonwidth+px});$navPrev.show();$navNext.show()}};inst.calcElemSizefunction(sizeObj,keepratio){if(!inst.options.responsive)return sizeObj;var winWidth$(window).width();winWidthwinWidth?winWidth:$(document).width();var winHwindow.innerHeight?window.innerHeight:$(window).height();winHwinH?winH:$(document).height();if((inst.options.titlestyleleft||inst.options.titlestyleright)&&winWidth>inst.options.sidetobottomscreenwidth)sizeObj.wsizeObj.w*100/inst.options.imagepercentage;var topmargin$(window).width()inst.options.navarrowsbottomscreenwidth?inst.options.bordertopmarginsmall:inst.options.bordertopmargin;var h0winH-inst.options.navheight-2*inst.options.bordersize-2*topmargin;if(inst.options.titlestylebottom)h0-inst.options.barheight;if((inst.options.titlestyleleft||inst.options.titlestyleright)&&winWidthinst.options.sidetobottomscreenwidth||inst.options.notkeepratioonsmallheight&&winHinst.options.smallscreenheight)keepratiofalse;if(sizeObj.h>h0){if(keepratio)sizeObj.wMath.round(sizeObj.w*h0/sizeObj.h);sizeObj.hh0}var w0winWidth-2*inst.options.bordersize-2*inst.options.bordermargin;if(inst.options.fullscreenmode&&winWidth>inst.options.navarrowsbottomscreenwidth||(inst.options.isTouch&&inst.options.navarrowsalwaysshowontouch||inst.options.alwaysshownavarrows)&&winWidth>inst.options.navarrowsbottomscreenwidth)w0-64;if(sizeObj.w>w0){if(keepratio)sizeObj.hMath.round(sizeObj.h*w0/sizeObj.w);sizeObj.ww0}return sizeObj};inst.showDatafunction(){if(inst.$text.text().length>0)inst.$elemData.show();if(inst.options.titlestylebottom||inst.options.titlestyleinside)inst.$lightboxBox.css({height:auto});if(inst.$text.text().length>0&&inst.options.titlestylebottom)inst.$elemData.css({max-height:inst.options.barheight+px});$(#html5-lightbox-overlay,inst.$lightbox).css({height:Math.max($(window).height(),$(document).height())});$(window).trigger(html5lightbox.lightboxopened)};inst.resizeLightboxfunction(elemW,elemH,bAnimate,onFinish){inst.hideNavArrows();var boxPosinst.calcBoxPosition(elemW,elemH);var boxWboxPos0;var boxHboxPos1;var boxTboxPos2;inst.$loading.hide();inst.$watermark.hide();if(inst.options.nextEleminst.options.curElem)if(inst.options.onlastitem&&windowinst.options.onlastitem&&typeof windowinst.options.onlastitemfunction)windowinst.options.onlastitem(inst.currentElem);if(inst.options.prevElem>inst.options.curElem)if(inst.options.onfirstitem&&windowinst.options.onfirstitem&&typeof windowinst.options.onfirstitemfunction)windowinst.options.onfirstitem(inst.currentElem);if(!inst.options.fullscreenmode&&(!inst.options.isTouch||!inst.options.navarrowsalwaysshowontouch)&&!inst.options.alwaysshownavarrows){inst.$elem.bind(mouseenter mousemove,function(){if(inst.options.arrowloop&&inst.options.prevElem>0||!inst.options.arrowloop&&inst.options.prevElem>0&&inst.options.prevEleminst.options.curElem)inst.$prev.fadeIn();if(inst.options.arrowloop&&inst.options.nextElem>0||!inst.options.arrowloop&&inst.options.nextElem>0&&inst.options.nextElem>inst.options.curElem)inst.$next.fadeIn()});inst.$elem.bind(mouseleave,function(){inst.$next.fadeOut();inst.$prev.fadeOut()})}inst.$lightboxBox.css({margin-top:boxT});if(!inst.options.positionFixed)inst.$lightboxBox.css(margin-top,$(window).scrollTop()+inst.options.bordertopmargin);if(inst.options.titlestyleleft||inst.options.titlestyleright){var speedbAnimate?inst.options.resizespeed:0;if(boxWinst.$lightboxBox.width()&&boxHinst.$lightboxBox.height())speed0;inst.$lightboxBox.animate({width:boxW},speed).animate({height:boxH},speed,function(){inst.onAnimateFinish(onFinish)})}else{var speedbAnimate?inst.options.resizespeed:0;if(boxWinst.$elemWrap.width()&&boxHinst.$elemWrap.height())speed0;inst.$lightboxBox.css({width:boxW,height:auto});inst.$elemWrap.animate({width:boxW},speed).animate({height:boxH},speed,function(){inst.onAnimateFinish(onFinish)})}};inst.onAnimateFinishfunction(onFinish){inst.$loading.show();inst.$watermark.show();inst.$close.show();inst.$elem.css({background-color:inst.options.bgcolor});onFinish()};inst.resetfunction(){if(inst.options.stamp)inst.$watermark.hide();inst.showingfalse;inst.$image.empty();inst.$text.empty();inst.$error.hide();inst.$loading.hide();inst.$image.hide();if(inst.options.titlestylebottom||inst.options.titlestyleinside)inst.$elemData.hide();if(!inst.options.fullscreenmode)inst.$close.hide();inst.$elem.css({background-color:})};inst.resetNavigationfunction(){inst.options.navheight0;$(.html5-nav).remove()};inst.finishfunction(){if($(#html5-lightbox-video,inst.$lightbox).length)$(#html5-lightbox-video,inst.$lightbox).attr(src,);$(head).find(style).each(function(){if($(this).data(creator)slider-html5-lightbox)$(this).remove()});inst.slideTimeout.stop();inst.reset();inst.resetNavigation();inst.$lightbox.remove();inst.showObjects();if(inst.options.oncloselightbox&&windowinst.options.oncloselightbox&&typeof windowinst.options.oncloselightboxfunction)windowinst.options.oncloselightbox(inst.currentElem);if(inst.onLightboxClosed&&typeof inst.onLightboxClosedfunction)inst.onLightboxClosed(inst.currentElem)};inst.pauseSlidefunction(){};inst.playSlidefunction(){};inst.gotoSlidefunction(slide){if(slide-1){if(inst.options.nextElem0)return;inst.options.curEleminst.options.nextElem}else if(slide-2){if(inst.options.prevElem0)return;inst.options.curEleminst.options.prevElem}else if(slide>0)inst.options.curElemslide;if(inst.autosliding)inst.slideTimeout.stop();inst.calcNextPrevElem();inst.reset();inst.loadCurElem()};inst.enableSwipefunction(){inst.$elem.sliderTouchSwipe({preventWebBrowser:false,swipeLeft:function(){inst.gotoSlide(-1)},swipeRight:function(){inst.gotoSlide(-2)}})};inst.hideObjectsfunction(){$(select, embed, object).css({visibility:hidden})};inst.showObjectsfunction(){$(select, embed, object).css({visibility:visible})};inst.embedHTML5Videofunction($container,src,autoplay,loopvideo){$container.html(div styledisplay:block;width:100%;height:100%;position:relative;>video idhtml5-lightbox-video width100% height100%+(inst.options.html5videoposter&&inst.options.html5videoposter.length>0?poster+inst.options.html5videoposter+:)+(autoplay? autoplay:)+(loopvideo? loop:)+(inst.options.nativehtml5controls&&!inst.options.videohidecontrols? controlscontrols:)+ src+src+>/div>);if(!inst.options.nativehtml5controls){$(video,$container).data(src,src);$(video,$container).asHTML5VideoControls(inst.options.skinsfolder,inst,inst.options.videohidecontrols,false,inst.options.defaultvideovolume)}$(video,$container).unbind(ended).bind(ended,function(){$(window).trigger(html5lightbox.videofinished);if(inst.autosliding)inst.gotoSlide(-1);else if(inst.options.autoclose)inst.finish()})};inst.embedFlashfunction($container,src,wmode,flashVars){if(inst.options.flashInstalled){var htmlOptions{pluginspage:http://www.adobe.com/go/getflashplayer,quality:high,allowFullScreen:true,allowScriptAccess:always,type:application/x-shockwave-flash};htmlOptions.width100%;htmlOptions.height100%;htmlOptions.srcsrc;htmlOptions.flashVars$.param(flashVars);htmlOptions.wmodewmode;var htmlString;for(var key in htmlOptions)htmlString+key++htmlOptionskey+ ;$container.html(embed +htmlString+/>)}else $container.html(div classhtml5lightbox-flash-error styledisplay:block; position:relative;text-align:center; width:100%; left:0px; top:40%;>div classhtml5-error>div>The required Adobe Flash Player plugin is not installed/div>br />div styledisplay:block;position:relative;text-align:center;width:112px;height:33px;margin:0px auto;>a hrefhttp://www.adobe.com/go/getflashplayer>img srchttp://www.adobe.com/images/shared/download_buttons/get_flash_player.gif altGet Adobe Flash player width112 height33>/img>/a>/div>/div>)};inst.checkTypefunction(href){if(!href)return-1;if(href.match(/\.(jpg|gif|png|bmp|jpeg)(.*)?$/i))return 0;if(href.match(/^\.\.(swf)\s*$/i))return 1;if(href.match(/\.(mp4|m4v|ogv|ogg|webm)(.*)?$/i))return 2;if(href.match(/\:\/\/.*(youtube\.com)/i)||href.match(/\:\/\/.*(youtu\.be)/i))return 3;if(href.match(/\:\/\/.*(vimeo\.com)/i))return 4;if(href.match(/\:\/\/.*(dailymotion\.com)/i)||href.match(/\:\/\/.*(dai\.ly)/i))return 9;if(href.match(/^\.\.(pdf)\s*$/i))return 5;if(href.match(/^\.\.(mp3)\s*$/i))return 6;if(href.match(/^\.\.(flv)\s*$/i))return 8;if(href.match(/\#\w+/i))return 10;if(href.match(/\:\/\/.*(wistia)/i))return 11;return 7};inst.showLightboxfunction(type,href,title,width,height,webm,ogg,thumbnail,description){inst.options$.extend(inst.options,inst.defaultoptions);$(window).trigger(html5lightbox.lightboxshow);inst.init();inst.reset();inst.$lightbox.show();var boxPosinst.calcBoxPosition(inst.options.loadingwidth,inst.options.loadingheight);var boxWboxPos0;var boxHboxPos1;var boxTboxPos2;inst.$lightboxBox.css({margin-top:boxT});if(!inst.options.positionFixed)inst.$lightboxBox.css(margin-top,$(window).scrollTop()+inst.options.bordertopmargin);if(inst.options.titlestyleleft||inst.options.titlestyleright)inst.$lightboxBox.css({width:boxW,height:boxH});else{inst.$lightboxBox.css({width:boxW,height:auto});inst.$elemWrap.css({width:boxW,height:boxH})}inst.loadElem(new Array(type,href,title,null,width,height,webm,ogg,thumbnail,description))};inst.addItemfunction(href,title,group,width,height,webm,ogg,thumbnail,description,mediatype){typemediatype&&mediatype>0?mediatype:inst.checkType(href);inst.elemArray.push(new Array(type,href,title,group,width,height,webm,ogg,thumbnail,description))};inst.showItemfunction(href){inst.options$.extend(inst.options,inst.defaultoptions);$(window).trigger(html5lightbox.lightboxshow);inst.init();if(inst.elemArray.length0)return true;inst.hideObjects();for(var i0;iinst.elemArray.length;i++)if(inst.elemArrayiELEM_HREFhref)break;if(iinst.elemArray.length)return true;inst.options.curElemi;inst.calcNextPrevElem();inst.reset();inst.$lightbox.show();var boxPosinst.calcBoxPosition(inst.options.loadingwidth,inst.options.loadingheight);var boxWboxPos0;var boxHboxPos1;var boxTboxPos2;inst.$lightboxBox.css({margin-top:boxT});if(!inst.options.positionFixed)inst.$lightboxBox.css(margin-top,$(window).scrollTop()+inst.options.bordertopmargin);if(inst.options.titlestyleleft||inst.options.titlestyleright)inst.$lightboxBox.css({width:boxW,height:boxH});else{inst.$lightboxBox.css({width:boxW,height:auto});inst.$elemWrap.css({width:boxW,height:boxH})}inst.loadCurElem();return false};inst.unbind(click).click(inst.clickHandler);inst.each(function(){var self$(this);if(self.data(autoopen)){setTimeout(function(){self.click()},self.data(autoopendelay)?self.data(autoopendelay):0);return false}});return inst}})(jQuery);function ASliderTimer(interval,callback,updatecallback){var timerInstancethis;timerInstance.timeoutinterval;var updateinterval50;var updateTimerIdnull;var runningTime0;var pausedfalse;var startedfalse;var startedandpausedfalse;this.pausefunction(){if(started){pausedtrue;clearInterval(updateTimerId)}};this.resumefunction(forceresume){if(startedandpaused&&!forceresume)return;startedandpausedfalse;if(started&&paused){pausedfalse;updateTimerIdsetInterval(function(){runningTime+updateinterval;if(runningTime>timerInstance.timeout){clearInterval(updateTimerId);if(callback)callback()}if(updatecallback)updatecallback(runningTime/timerInstance.timeout)},updateinterval)}};this.stopfunction(){clearInterval(updateTimerId);if(updatecallback)updatecallback(-1);runningTime0;pausedfalse;startedfalse};this.startfunction(){runningTime0;pausedfalse;startedtrue;updateTimerIdsetInterval(function(){runningTime+updateinterval;if(runningTime>timerInstance.timeout){clearInterval(updateTimerId);if(callback)callback()}if(updatecallback)updatecallback(runningTime/timerInstance.timeout)},updateinterval)};this.startandpausefunction(){runningTime0;pausedtrue;startedtrue;startedandpausedtrue}}var ASPlatforms{flashInstalled:function(){var flashInstalledfalse;try{if(new ActiveXObject(ShockwaveFlash.ShockwaveFlash))flashInstalledtrue}catch(e){if(navigator.mimeTypesapplication/x-shockwave-flash)flashInstalledtrue}return flashInstalled},html5VideoSupported:function(){return!!document.createElement(video).canPlayType},isChrome:function(){return navigator.userAgent.match(/Chrome/i)!null},isFirefox:function(){return navigator.userAgent.match(/Firefox/i)!null},isOpera:function(){return navigator.userAgent.match(/Opera/i)!null||navigator.userAgent.match(/OPR\//i)!null},isSafari:function(){return navigator.userAgent.match(/Safari/i)!null},isAndroid:function(){return navigator.userAgent.match(/Android/i)!null},isIPad:function(){return navigator.userAgent.match(/iPad/i)!null},isIPhone:function(){return navigator.userAgent.match(/iPod/i)!null||navigator.userAgent.match(/iPhone/i)!null},isIOS:function(){return this.isIPad()||this.isIPhone()},isMobile:function(){return this.isAndroid()||this.isIPad()||this.isIPhone()},isIE11:function(){return navigator.userAgent.match(/Trident\/7/)!null&&navigator.userAgent.match(/rv:11/)!null},isIE:function(){return(navigator.userAgent.match(/MSIE/i)!null||this.isIE11())&&!this.isOpera()},isIE10:function(){return navigator.userAgent.match(/MSIE 10/i)!null&&!this.isOpera()},isIE9:function(){return navigator.userAgent.match(/MSIE 9/i)!null&&!this.isOpera()},isIE8:function(){return navigator.userAgent.match(/MSIE 8/i)!null&&!this.isOpera()},isIE7:function(){return navigator.userAgent.match(/MSIE 7/i)!null&&!this.isOpera()},isIE6:function(){return navigator.userAgent.match(/MSIE 6/i)!null&&!this.isOpera()},isIE678:function(){return this.isIE6()||this.isIE7()||this.isIE8()},isIE6789:function(){return this.isIE6()||this.isIE7()||this.isIE8()||this.isIE9()},isTouch:function(){returnontouchstartin window},css33dTransformSupported:function(){return!this.isIE()&&!this.isOpera()},applyBrowserStyles:function(object,applyToValue){var ret{};for(var key in object){retkeyobjectkey;ret-webkit-+keyapplyToValue?-webkit-+objectkey:objectkey;ret-moz-+keyapplyToValue?-moz-+objectkey:objectkey;ret-ms-+keyapplyToValue?-ms-+objectkey:objectkey;ret-o-+keyapplyToValue?-o-+objectkey:objectkey}return ret}};(function($){$.fn.amazingsliderfunction(options){var ELEM_ID0,ELEM_SRC1,ELEM_TITLE2,ELEM_DESCRIPTION3,ELEM_LINK4,ELEM_TARGET5,ELEM_VIDEO6,ELEM_THUMBNAIL7,ELEM_LIGHTBOX8,ELEM_LIGHTBOXWIDTH9,ELEM_LIGHTBOXHEIGHT10,ELEM_WEBM11,ELEM_OGG12,ELEM_TEXTEFFECT13,ELEM_DURATION14,ELEM_BUTTON15,ELEM_VIDEOTYPE16;var TYPE_IMAGE1,TYPE_SWF2,TYPE_MP33,TYPE_PDF4,TYPE_VIDEO_FLASH5,TYPE_VIDEO_MP46,TYPE_VIDEO_OGG7,TYPE_VIDEO_WEBM8,TYPE_VIDEO_YOUTUBE9,TYPE_VIDEO_VIMEO10,TYPE_IFRAME11;var AmazingSliderfunction(container,options,textoptions,id){this.containercontainer;this.optionsoptions;this.textoptionstextoptions;this.idid;this.transitionTimeoutnull;this.arrowTimeoutnull;this.lightboxArray;this.elemArray;this.container.children().hide();this.container.css({display:block,position:relative});$(.amazingslider-engine).css({display:none});if(ASPlatforms.isMobile()&&!this.options.navshowpreviewontouch)this.options.navshowpreviewfalse;this.initData(this.init)};AmazingSlider.prototype{initData:function(onSuccess){this.readTags();onSuccess(this)},readTags:function(){var instancethis;$(.amazingslider-slides,this.container).find(li).each(function(){var img$(img.amazingsliderimg,$(this));if(img.length0)img$(img,$(this));if(img.length>0){var srcimg.attr(src);var lazytagsinstance.options.lazyloadtags.split(,);for(var i0;ilazytags.length;i++)if(img.data(lazytagsi)&&img.data(lazytagsi).length>0){srcimg.data(lazytagsi);break}var titleimg.attr(title)&&img.attr(title).length>0?img.attr(title):;if(!title&&instance.options.titleusealt)titleimg.attr(alt)&&img.attr(alt).length>0?img.attr(alt):;var descriptionimg.data(description)&&img.data(description).length>0?img.data(description):;var linkimg.parent()&&img.parent().is(a)?img.parent().attr(href):;var targetimg.parent()&&img.parent().is(a)?img.parent().attr(target):;var lightboximg.parent()&&img.parent().is(a)?img.parent().hasClass(html5lightbox):false;var lightboxwidthimg.parent()&&lightbox?img.parent().data(width):0;var lightboxheightimg.parent()&&lightbox?img.parent().data(height):0;var dataWebmimg.parent()&&img.parent().is(a)?img.parent().data(webm):;var dataOggimg.parent()&&img.parent().is(a)?img.parent().data(ogg):;var texteffectimg.data(texteffect)&&img.data(texteffect).length>0?img.data(texteffect):;var durationimg.data(duration)?img.data(duration):0;var button;if($(button,$(this)).length>0)if($(button,$(this)).parent().is(a))button$(button,$(this)).parent().clone().wrapAll(div/>).parent().html();else button$(button,$(this)).clone().wrapAll(div/>).parent().html();var video;var mediaTypelightbox&&img.parent()&&img.parent().data(mediatype)?img.parent().data(mediatype):instance.checkVideoType(link);if($(video,$(this)).length>0){var $video$(video,$(this));var videoSrc$video.attr(src);mediaType$video.data(mediatype)?$video.data(mediatype):instance.checkVideoType($video.attr(src));video.push({href:videoSrc,type:mediaType});if(mediaTypeTYPE_VIDEO_MP4)if($video.data(webm)&&$video.data(webm).length>0)video.push({href:$video.data(webm),type:TYPE_VIDEO_WEBM})}var elemnew Array(instance.elemArray.length,src,title,description,link,target,video,,lightbox,lightboxwidth,lightboxheight,dataWebm,dataOgg,texteffect,duration,button,mediaType);instance.elemArray.push(elem);if(lightbox)instance.lightboxArray.push(elem)}else if($(video,$(this)).length>0){var video;var $video$(video,$(this));var videoSrc$video.attr(src);var mediaType$video.data(mediatype)?$video.data(mediatype):instance.checkVideoType($video.attr(src));video.push({href:videoSrc,type:mediaType});if(mediaTypeTYPE_VIDEO_MP4)if($video.data(webm)&&$video.data(webm).length>0)video.push({href:$video.data(webm),type:TYPE_VIDEO_WEBM});var elemnew Array(instance.elemArray.length,,,,,,video,,false,0,0,,,,0,,mediaType);instance.elemArray.push(elem)}});$(.amazingslider-thumbnails,this.container).find(li).each(function(index){var img$(img.amazingsliderthumbnailimg,$(this));if(img.length0)img$(img,$(this));if(img.length>0&&instance.elemArray.length>index){var srcimg.attr(src);var lazytagsinstance.options.lazyloadtags.split(,);for(var i0;ilazytags.length;i++)if(img.data(lazytagsi)&&img.data(lazytagsi).length>0){srcimg.data(lazytagsi);break}instance.elemArrayindexELEM_THUMBNAILsrc}});if(this.options.shownumbering)for(var i0;ithis.elemArray.length;i++){var prefixthis.options.numberingformat.replace(%NUM,i+1).replace(%TOTAL,this.elemArray.length);this.elemArrayiELEM_TITLEprefix+this.elemArrayiELEM_TITLE}},init:function(instance){if(instance.elemArray.length0)return;var i;var elemLengthinstance.elemArray.length;if(instance.options.randomplay){for(ielemLength-1;i>0;i--){if(i1&&Math.random()0.5)break;var indexMath.floor(Math.random()*i);var tempinstance.elemArrayindex;instance.elemArrayindexinstance.elemArrayi;instance.elemArrayitemp}for(i0;ielemLength;i++)instance.elemArrayiELEM_IDi}instance.isAnimatingfalse;instance.isPaused!instance.options.autoplay;instance.videoPausedfalse;instance.lightboxPausedfalse;instance.initVideoApi();instance.createMarkup();instance.createStyle();instance.createNav();instance.createArrows();instance.createBottomShadow();instance.createBackgroundImage();instance.createText();instance.createSliderTimeout();instance.createWm();instance.createRibbon();instance.initHtml5Lightbox();instance.googleFontsCreatedfalse;instance.curElem-1;instance.prevElem-1;instance.nextElem-1;instance.firstslidetrue;instance.loopCount0;instance.pauseCarouselfalse;instance.curImageMarginTop0;instance.curImageMarginLeft0;instance.curImageMaxWidth100;instance.prevImageMarginTop0;instance.prevImageMarginLeft0;instance.prevImageMaxWidth100;instance.prevtextstyle;instance.html5Volume1;var firstSlide0;var paramsinstance.getParams();var paramValueparseInt(paramsfirstslideid);if(!isNaN(paramValue)&¶mValue>1&¶mValueinstance.elemArray.length)firstSlideparamValue-1;instance.slideRun(firstSlide)},getParams:function(){var result{};var paramswindow.location.search.substring(1).split(&);for(var i0;iparams.length;i++){var valueparamsi.split();if(value&&value.length2)resultvalue0.toLowerCase()unescape(value1)}return result},initHtml5Lightbox:function(){var i;if(this.lightboxArray.length>0){var lightboxskinfolderthis.options.skinsfoldername.length>0?this.options.skinsfoldername+/:;this.html5Lightbox$().ashtml5lightbox({jsfolder:this.options.jsfolder,skinsfoldername:lightboxskinfolder,nativehtml5controls:this.options.nativehtml5controls,barheight:this.options.lightboxbarheight,responsive:this.options.lightboxresponsive,showtitle:this.options.lightboxshowtitle,showdescription:this.options.lightboxshowdescription,shownavigation:this.options.lightboxshownavigation,thumbwidth:this.options.lightboxthumbwidth,thumbheight:this.options.lightboxthumbheight,thumbtopmargin:this.options.lightboxthumbtopmargin,thumbbottommargin:this.options.lightboxthumbbottommargin,titlebottomcss:this.options.lightboxtitlebottomcss,descriptionbottomcss:this.options.lightboxdescriptionbottomcss,fullscreenmode:this.options.lightboxfullscreenmode,closeonoverlay:this.options.lightboxcloseonoverlay,videohidecontrols:this.options.lightboxvideohidecontrols,titlestyle:this.options.lightboxtitlestyle,imagepercentage:this.options.lightboximagepercentage,defaultvideovolume:this.options.lightboxdefaultvideovolume,overlaybgcolor:this.options.lightboxoverlaybgcolor,overlayopacity:this.options.lightboxoverlayopacity,bgcolor:this.options.lightboxbgcolor,titleprefix:this.options.lightboxtitleprefix,titleinsidecss:this.options.lightboxtitleinsidecss,descriptioninsidecss:this.options.lightboxdescriptioninsidecss,autoslide:this.options.lightboxautoslide,slideinterval:this.options.lightboxslideinterval,showtimer:this.options.lightboxshowtimer,timerposition:this.options.lightboxtimerposition,timerheight:this.options.lightboxtimerheight,timercolor:this.options.lightboxtimercolor,timeropacity:this.options.lightboxtimeropacity,showplaybutton:this.options.lightboxshowplaybutton,alwaysshownavarrows:this.options.lightboxalwaysshownavarrows,bordersize:this.options.lightboxbordersize,showtitleprefix:this.options.lightboxshowtitleprefix,borderradius:this.options.lightboxborderradius,html5player:!this.options.forceflash,useflashonie10:this.options.forceflashonie10,useflashonie11:this.options.forceflashonie11,id:this.id});html5Lightboxthis.html5Lightbox;for(i0;ithis.lightboxArray.length;i++)this.html5Lightbox.addItem(this.lightboxArrayiELEM_LINK,this.lightboxArrayiELEM_TITLE,this.options.lightboxnogroup?:amazingslider+this.id,this.lightboxArrayiELEM_LIGHTBOXWIDTH,this.lightboxArrayiELEM_LIGHTBOXHEIGHT,this.lightboxArrayiELEM_WEBM,this.lightboxArrayiELEM_OGG,this.lightboxArrayiELEM_THUMBNAIL,this.lightboxArrayiELEM_DESCRIPTION,this.lightboxArrayiELEM_VIDEOTYPETYPE_IFRAME?9:-1);var instancethis;this.html5Lightbox.onLightboxClosedfunction(){if(instance.lightboxPaused){instance.lightboxPausedfalse;instance.isPausedfalse;instance.sliderTimeout.resume()}}}},createGoogleFonts:function(){this.googleFontsCreatedtrue;if(this.options.previewmode)return;if(this.textoptions.addgooglefonts&&this.textoptions.googlefonts&&this.textoptions.googlefonts.length>0){var fontRefhttps://fonts.googleapis.com/css?family+this.textoptions.googlefonts;var fontLinkdocument.createElement(link);fontLink.setAttribute(rel,stylesheet);fontLink.setAttribute(type,text/css);fontLink.setAttribute(href,fontRef);fontLink.setAttribute(data-creator,amazingslidercreator+this.id);document.getElementsByTagName(head)0.appendChild(fontLink)}},createRibbon:function(){if(!this.options.showribbon||this.options.ribbonimage.length0)return;$(.amazingslider-ribbon-+this.id,this.container).html(img src+this.options.skinsfolder+this.options.ribbonimage+ styleborder:none; />)},createWm:function(){if(!this.options.showwatermark)return;if(this.options.watermarkstyletext&&this.options.watermarktext.length0)return;if(this.options.watermarkstyleimage&&this.options.watermarkimage.length0)return;var html;if(this.options.watermarklink){html+a href+this.options.watermarklink+ style+this.options.watermarklinkcss+;if(this.options.versionmarkAMC+om||this.options.versionmarkAML+ite&&this.options.skin&&$.inArray(this.options.skin,classic,cube,content)>0)html+ classamazingslider-watermark-+this.id+;if(this.options.watermarktitle)html+ title+this.options.watermarktitle+;if(this.options.watermarktarget)html+ target+this.options.watermarktarget+;html+>}if(this.options.watermarkstyletext)html+this.options.watermarktext;else if(this.options.watermarkstyleimage)html+img src+this.options.skinsfolder+this.options.watermarkimage+ styleborder:none; />;if(this.options.watermarklink)html+/a>;var stylecodethis.options.watermarkpositioncss;if(this.options.watermarkstyletext&&this.options.watermarktext.length>0)stylecode+this.options.watermarktextcss;if(this.options.watermarklink)stylecode+cursor:pointer;;$(.amazingslider-box-+this.id,this.container).append(div style+stylecode+>+html+/div>)},initVideoApi:function(){var i,j,videos;var initYoutubefalse,initVimeofalse;for(i0;ithis.elemArray.length;i++){videosthis.elemArrayiELEM_VIDEO;for(j0;jvideos.length;j++)if(videosj.typeTYPE_VIDEO_YOUTUBE)initYoutubetrue;else if(videosj.typeTYPE_VIDEO_VIMEO)initVimeotrue}if(initYoutube){var tagdocument.createElement(script);tag.srchttps://www.youtube.com/iframe_api;var firstScriptTagdocument.getElementsByTagName(script)0;firstScriptTag.parentNode.insertBefore(tag,firstScriptTag)}if(initVimeo){var tagdocument.createElement(script);tag.srcthis.options.jsfolder+froogaloop2.min.js;var firstScriptTagdocument.getElementsByTagName(script)0;firstScriptTag.parentNode.insertBefore(tag,firstScriptTag)}},createSliderTimeout:function(){var instancethis;this.sliderTimeoutnew ASliderTimer(this.options.slideinterval,function(){instance.slideRun(-1)},this.options.showtimer?function(percent){instance.updateTimer(percent)}:null);if(instance.options.pauseonmouseover)$(.amazingslider-slider-+this.id,this.container).hover(function(){if(!instance.isPaused)instance.sliderTimeout.pause()},function(){if(!instance.isPaused)instance.sliderTimeout.resume(false)});if(instance.options.showtimer)$(.amazingslider-timer-+instance.id,instance.container).css({display:block,position:absolute,left:0px,top:instance.options.timerpositionbottom?:0px,bottom:instance.options.timerpositionbottom?0px:,width:0%,height:instance.options.timerheight+px,background-color:instance.options.timercolor,opacity:instance.options.timeropacity,filter:alpha(opacity+Math.round(100*instance.options.timeropacity)+)})},updateTimer:function(percent){wMath.round(percent*100);if(w>100)w100;if(w0)w0;$(.amazingslider-timer-+this.id,this.container).css({width:w+%})},createMarkup:function(){this.$wrapperjQuery(+div classamazingslider-wrapper-+this.id+>+div classamazingslider-background-image-+this.id+>/div>+div classamazingslider-slider-+this.id+>+div classamazingslider-bottom-shadow-+this.id+>/div>+div classamazingslider-box-+this.id+>+div classamazingslider-swipe-box-+this.id+>+div classamazingslider-space-+this.id+>/div>+div classamazingslider-img-box-+this.id+>/div>+div classamazingslider-lightbox-play-+this.id+>/div>+div classamazingslider-timer-+this.id+>/div>+/div>+div classamazingslider-text-box-+this.id+>/div>+/div>+div classamazingslider-play-+this.id+>/div>+div classamazingslider-video-wrapper-+this.id+>/div>+div classamazingslider-ribbon-+this.id+>/div>+div classamazingslider-arrow-left-+this.id+>/div>+div classamazingslider-arrow-right-+this.id+>/div>+/div>+div classamazingslider-nav-+this.id+>div classamazingslider-nav-container-+this.id+>/div>/div>+/div>);this.$wrapper.appendTo(this.container);$(.amazingslider-slider-+this.id,this.container).data(sliderid,this.id);var instancethis;if(this.options.enabletouchswipe)$(.amazingslider-swipe-box-+this.id,this.container).sliderTouchSwipe({preventWebBrowser:false,swipeLeft:function(){instance.slideRun(-1)},swipeRight:function(){instance.slideRun(-2)}});$(.amazingslider-play-+this.id,this.container).click(function(){instance.playVideo(true)})},playVideo:function(autoplay){var videosthis.elemArraythis.curElemELEM_VIDEO;if(videos.length0)return;$(.amazingslider-img-+this.id,this.container).empty();this.sliderTimeout.stop();this.videoPausedtrue;var hrefvideos0.href;var typevideos0.type;if(typeTYPE_VIDEO_YOUTUBE)this.playYoutubeVideo(href,autoplay);else if(typeTYPE_VIDEO_VIMEO)this.playVimeoVideo(href,autoplay);else if(typeTYPE_VIDEO_MP4){var webmhrefvideos.length>1?videos1.href:;this.playMp4Video(href,webmhref,autoplay)}else if(typeTYPE_IFRAME)this.playIframeVideo(href,autoplay)},playMp4Video:function(href,webmhref,autoplay){var $videoWrapper$(.amazingslider-video-wrapper-+this.id,this.container);$videoWrapper.css({display:block,width:100%,height:100%});var isHTML5true;if(this.options.forceflash&&ASPlatforms.flashInstalled())isHTML5false;if(ASPlatforms.isIE6789())isHTML5false;else if((ASPlatforms.isFirefox()||ASPlatforms.isOpera())&&!webmhref)isHTML5false;if(ASPlatforms.isIE10()&&this.options.forceflashonie10||ASPlatforms.isIE11()&&this.options.forceflashonie11)isHTML5false;if(isHTML5){var videoSrcASPlatforms.isFirefox()||ASPlatforms.isOpera()?webmhref:href;this.embedHTML5Video($videoWrapper,videoSrc,autoplay)}else{var videoFilehref;if(videoFile.charAt(0)!/&&videoFile.substring(0,5)!http:&&videoFile.substring(0,6)!https:)videoFilethis.options.htmlfolder+videoFile;this.embedFlash($videoWrapper,100%,100%,this.options.jsfolder+html5boxplayer.swf,transparent,{width:100%,height:100%,jsobjectname:amazingsliderObjects,hidecontrols:this.options.videohidecontrols?1:0,hideplaybutton:this.options.videohideplaybutton?1:0,videofile:videoFile,hdfile:,ishd:0,autoplay:autoplay?1:0,errorcss:.amazingslider-error+this.options.errorcss,id:this.id})}},embedHTML5Video:function($container,src,autoPlay){$container.html(div classamazingslider-video-container-+this.id+ styleposition:relative;display:block;width:100%;height:100%;>video stylewidth:100%;height:100%; +(this.options.videohidecontrols?:controls )+ >/div>);$(video,$container).get(0).setAttribute(src,src);if(autoPlay)$(video,$container).get(0).play();if(!this.options.nativehtml5controls)$(video,$container).asHTML5VideoControls(this.options.skinsfolder,this,this.options.videohidecontrols,this.options.videohideplaybutton,this.options.defaultvideovolume);var instancethis;$(video,$container).unbind(ended).bind(ended,function(){instance.videoPausedfalse;if(!instance.isPaused)instance.slideRun(-1)})},embedFlash:function($container,w,h,src,wmode,flashVars){if(ASPlatforms.flashInstalled()){var htmlOptions{pluginspage:http://www.adobe.com/go/getflashplayer,quality:high,allowFullScreen:true,allowScriptAccess:always,type:application/x-shockwave-flash};htmlOptions.widthw;htmlOptions.heighth;htmlOptions.srcsrc;htmlOptions.wmodewmode;htmlOptions.flashVars$.param(flashVars);var htmlString;for(var key in htmlOptions)htmlString+key++htmlOptionskey+ ;$container.html(embed +htmlString+/>)}else $container.html(div classamazingslider-error-+this.id+ styledisplay:block; position:absolute; text-align:center; width:+this.options.width+px; left:0px; top:+Math.round(this.options.height/2-10)+px;>div>The required Adobe Flash Player plugin is not installed/div>br />div styledisplay:block;position:relative;text-align:center;width:112px;height:33px;margin:0px auto;>a hrefhttp://www.adobe.com/go/getflashplayer>img srchttps://www.adobe.com/images/shared/download_buttons/get_flash_player.gif altGet Adobe Flash player width112 height33>/img>/a>/div>)},playVimeoVideo:function(href,autoplay){var $videoWrapper$(.amazingslider-video-wrapper-+this.id,this.container);$videoWrapper.css({display:block,width:100%,height:100%});if(this.options.previewmode){$videoWrapper.html(div classamazingslider-error-+this.id+>To view Vimeo video, publish the slider then open it in your web browser/div>);return}else{var srchref+(href.indexOf(?)0??:&)+autoplay+(autoplay&&!ASPlatforms.isAndroid()?1:0)+&api1&player_idamazingslider_vimeo_+this.id;$videoWrapper.html(iframe idamazingslider_vimeo_+this.id+ width+this.options.width+ height+this.options.height+ src+src+ frameborder0 webkitAllowFullScreen mozallowfullscreen allowFullScreen>/iframe>);var vimeoIframe$(#amazingslider_vimeo_+this.id)0;var vimeoPlayer$f(vimeoIframe);var instancethis;vimeoPlayer.addEvent(ready,function(){vimeoPlayer.addEvent(finish,function(id){instance.videoPausedfalse;if(!instance.isPaused)instance.slideRun(-1)})})}},playIframeVideo:function(href,autoplay){var $videoWrapper$(.amazingslider-video-wrapper-+this.id,this.container);$videoWrapper.css({display:block,width:100%,height:100%});if(this.options.previewmode){$videoWrapper.html(div classamazingslider-error-+this.id+>To view the video, publish the slider then open it in your web browser/div>);return}else{var srchref;$videoWrapper.html(iframe idamazingslider_iframevideo_+this.id+ width+this.options.width+ height+this.options.height+ src+src+ frameborder0 webkitAllowFullScreen mozallowfullscreen allowFullScreen>/iframe>)}},getYoutubeParams:function(href){var result{};if(href.indexOf(?)0)return result;var paramshref.substring(href.indexOf(?)+1).split(&);for(var i0;iparams.length;i++){var valueparamsi.split();if(value&&value.length2&&value0.toLowerCase()!v)resultvalue0.toLowerCase()value1}return result},playYoutubeVideo:function(href,autoplay){var $videoWrapper$(.amazingslider-video-wrapper-+this.id,this.container);$videoWrapper.css({display:block,width:100%,height:100%});if(this.options.previewmode){$videoWrapper.html(div classamazingslider-error-+this.id+>To view YouTube video, publish the slider then open it in your web browser/div>);return}var instancethis;if(!ASYouTubeIframeAPIReady){ASYouTubeTimeout+100;if(ASYouTubeTimeout3E3){setTimeout(function(){instance.playYoutubeVideo(href,autoplay)},100);return}}if(ASYouTubeIframeAPIReady&&!ASPlatforms.isIE6()&&!ASPlatforms.isIE7()&&!ASPlatforms.isIOS()&&!ASPlatforms.isAndroid()){$videoWrapper.html(div idamazingslider-video-+this.id+ styledisplay:block;>/div>);var paramsthis.getYoutubeParams(href);params$.extend({},params,{html5:1,autoplay:1,rel:0,autohide:1,wmode:transparent});if(instance.options.videohidecontrols)params$.extend({},params,{controls:0,showinfo:0});var idhref.match(/(\?v|\/\d\/|\/embed\/|\/v\/|\.be\/)(a-zA-Z0-9\-\_+)/)2;new YT.Player(amazingslider-video-+this.id,{width:instance.options.width,height:instance.options.height,videoId:id,playerVars:params,events:{onReady:function(event){event.target.playVideo()},onStateChange:function(event){if(event.dataYT.PlayerState.ENDED){instance.videoPausedfalse;if(!instance.isPaused)instance.slideRun(-1)}}}})}else{var srchref+(href.indexOf(?)0??:&)+autoplay1&wmodetransparent&rel0&autohide1;if(instance.options.videohidecontrols)src+&controls0&showinfo0;$videoWrapper.html(iframe width+instance.options.width+ height+instance.options.height+ src+src+ frameborder0 webkitAllowFullScreen mozallowfullscreen allowFullScreen>/iframe>)}},checkVideoType:function(href){if(!href)return-1;if(href.match(/\.(flv)(.*)?$/i))return TYPE_VIDEO_FLASH;if(href.match(/\.(mp4|m4v)(.*)?$/i))return TYPE_VIDEO_MP4;if(href.match(/\.(ogv|ogg)(.*)?$/i))return TYPE_VIDEO_OGG;if(href.match(/\.(webm)(.*)?$/i))return TYPE_VIDEO_WEBM;if(href.match(/\:\/\/.*(youtube\.com)/i)||href.match(/\:\/\/.*(youtu\.be)/i))return TYPE_VIDEO_YOUTUBE;if(href.match(/\:\/\/.*(vimeo\.com)/i))return TYPE_VIDEO_VIMEO;return 0},showTexteffect:function(event){var sliderid$(this).data(sliderid);$(.amazingslider-text-box-+sliderid,this).fadeIn()},hideTexteffect:function(event){var sliderid$(this).data(sliderid);$(.amazingslider-text-box-+sliderid,this).fadeOut()},createText:function(){if(!this.options.showtext||this.textoptions.textstylenone)return;var instancethis;this.container.bind(amazingslider.switchtext,function(event,prev,cur){$(head).find(style).each(function(){if($(this).data(creator)amazingslidercreator+instance.id&&$(this).data(csstype)texteffect)$(this).remove()});var textHeadCssstyle typetext/css data-creatoramazingslidercreator+instance.id+ data-csstypetexteffect>+.amazingslider-text-+instance.id+ {+instance.textoptions.textcss+} +.amazingslider-text-bg-+instance.id+ {+instance.textoptions.textbgcss+} +.amazingslider-title-+instance.id+ {+instance.textoptions.titlecss+} +.amazingslider-description-+instance.id+ {+instance.textoptions.descriptioncss+} +.amazingslider-button-+instance.id+ {+instance.textoptions.buttoncss+} ;if(instance.textoptions.texteffectresponsive)textHeadCss+@media (max-width: +instance.textoptions.texteffectresponsivesize+px) {+.amazingslider-title-+instance.id+ {+instance.textoptions.titlecssresponsive+} +.amazingslider-description-+instance.id+ {+instance.textoptions.descriptioncssresponsive+} +.amazingslider-button-+instance.id+ {+instance.textoptions.buttoncssresponsive+} +} ;textHeadCss+/style>;$(head).append(textHeadCss);var $textBoxWrapper$(.amazingslider-text-box-+instance.id,instance.container);$textBoxWrapper.html(div classamazingslider-text-wrapper-+instance.id+>/div>);$(.amazingslider-slider-+instance.id,instance.container).unbind(mouseenter,instance.showTexteffect).unbind(mouseleave,instance.hideTexteffect);var $textWrapper$(.amazingslider-text-wrapper-+instance.id,instance.container);if(instance.textoptions.textstylestatic){$textWrapper.html(div classamazingslider-text-+instance.id+>+div classamazingslider-text-bg-+instance.id+>/div>+div classamazingslider-title-+instance.id+>/div>+div classamazingslider-description-+instance.id+>/div>+div classamazingslider-button-+instance.id+>/div>+/div>);if(!instance.textoptions.textautohide)$textBoxWrapper.css({display:block});else if(instance.prevtextstyle!static)$textBoxWrapper.css({display:instance.textoptions.textautohide?none:block});$textWrapper.css({width:100%,height:auto,position:absolute});if(instance.textoptions.textautohide)$(.amazingslider-slider-+instance.id,instance.container).hover(instance.showTexteffect,instance.hideTexteffect);switch(instance.textoptions.textpositionstatic){case top:$textWrapper.css({left:0px,top:0px,margin-top:instance.textoptions.textpositionmarginstatic+px});break;case bottom:$textWrapper.css({left:0px,bottom:0px,margin-bottom:instance.textoptions.textpositionmarginstatic+px});break;case topoutside:$textWrapper.css({left:0px,bottom:100%,margin-bottom:instance.textoptions.textpositionmarginstatic+px});break;case bottomoutside:$textWrapper.css({left:0px,top:100%,margin-top:instance.textoptions.textpositionmarginstatic+px});break}}else{$textWrapper.html(div classamazingslider-text-holding-+instance.id+ stylevisibility:hidden;+instance.textoptions.textcss+>+div classamazingslider-text-bg-+instance.id+>/div>+div classamazingslider-title-+instance.id+>/div>+div classamazingslider-description-+instance.id+>/div>+div classamazingslider-button-+instance.id+>/div>+/div>+div classamazingslider-text-+instance.id+ styleposition:absolute;top:0%;left:0%;+(ASPlatforms.isIE678()?opacity:inherit;filter:inherit;:)+>+div classamazingslider-text-bg-+instance.id+>/div>+div classamazingslider-title-+instance.id+>/div>+div classamazingslider-description-+instance.id+>/div>+div classamazingslider-button-+instance.id+>/div>+/div>);$textWrapper.css({display:none,position:absolute})}instance.prevtextstyleinstance.textoptions.textstyle;var $textBg$(.amazingslider-text-bg-+instance.id,instance.container);var $text$(.amazingslider-text-+instance.id,instance.container);var $title$(.amazingslider-title-+instance.id,instance.container);var $description$(.amazingslider-description-+instance.id,instance.container);var $button$(.amazingslider-button-+instance.id,instance.container);if(instance.textoptions.textstylestatic){$title.html(instance.elemArraycurELEM_TITLE);if(instance.elemArraycurELEM_DESCRIPTION.length>0)$description.html(instance.elemArraycurELEM_DESCRIPTION).css({display:block});else $description.css({display:none}).html();if(instance.elemArraycurELEM_BUTTON.length>0)$button.html(instance.elemArraycurELEM_BUTTON).css({display:block});else $button.css({display:none}).html();if(!instance.elemArraycurELEM_TITLE&&!instance.elemArraycurELEM_DESCRIPTION&&!instance.elemArraycurELEM_BUTTON)$textBg.hide();else $textBg.show()}else if(instance.textoptions.textstyledynamic)if(!instance.elemArraycurELEM_TITLE&&!instance.elemArraycurELEM_DESCRIPTION&&!instance.elemArraycurELEM_BUTTON)$textWrapper.fadeOut();else $textWrapper.fadeOut(function(){$title.html(instance.elemArraycurELEM_TITLE);if(instance.elemArraycurELEM_DESCRIPTION.length>0)$description.html(instance.elemArraycurELEM_DESCRIPTION).css({display:block});else $description.css({display:none}).html();if(instance.elemArraycurELEM_BUTTON.length>0)$button.html(instance.elemArraycurELEM_BUTTON).css({display:block});else $button.css({display:none}).html();var posbottomleft;var positionsinstance.textoptions.textpositiondynamic;if(positions){positionspositions.split(,);pospositionsMath.floor(Math.random()*positions.length);pos$.trim(pos.toLowerCase())}switch(pos){case topleft:$textWrapper.css({left:0px,right:,top:0px,bottom:});$textWrapper.css({margin:instance.textoptions.textpositionmargintop+px +instance.textoptions.textpositionmarginleft+px});break;case topright:$textWrapper.css({left:,right:0px,top:0px,bottom:});$textWrapper.css({margin:instance.textoptions.textpositionmargintop+px +instance.textoptions.textpositionmarginright+px});break;case bottomleft:$textWrapper.css({left:0px,right:,top:,bottom:0px});$textWrapper.css({margin:instance.textoptions.textpositionmarginbottom+px +instance.textoptions.textpositionmarginleft+px});break;case bottomright:$textWrapper.css({left:,right:0px,top:,bottom:0px});$textWrapper.css({margin:instance.textoptions.textpositionmarginbottom+px +instance.textoptions.textpositionmarginright+px});break;case topcenter:$text.css({left:0px,right:0px});$textWrapper.css({left:0px,right:0px,top:0px,bottom:});$textWrapper.css({margin:instance.textoptions.textpositionmargintop+px +instance.textoptions.textpositionmarginleft+px});break;case bottomcenter:$text.css({left:0px,right:0px});$textWrapper.css({left:0px,right:0px,top:,bottom:0px});$textWrapper.css({margin:instance.textoptions.textpositionmarginbottom+px +instance.textoptions.textpositionmarginleft+px});break;case centercenter:$text.css({left:0px,right:0px});$textWrapper.css({left:0px,right:0px,top:50%,bottom:});var h$textWrapper.height();$textWrapper.css({margin:-+h/2+px 0px 0px});break}var effect_dirsleft,right,top,bottom;var effectnull;var effectsinstance.textoptions.texteffect;if(effects){effectseffects.split(,);effecteffectsMath.floor(Math.random()*effects.length);effect$.trim(effect.toLowerCase())}var $textBoxinstance.textoptions.texteffectseparate?$(.amazingslider-title-+instance.id,instance.container):$(.amazingslider-text-+instance.id,instance.container);switch(effect){case fade:$textBox.css({opacity:0});$textBox.delay(instance.textoptions.texteffectdelay).fadeTo(instance.textoptions.texteffectduration,1);break;case slide:var effect_dirinstance.textoptions.texteffectslidedirection;if(effect_dirrandom)effect_direffect_dirsMath.floor(Math.random()*effect_dirs.length);if(effect_dirleft){$textBox.css({left:-+instance.textoptions.texteffectslidedistance+px,opacity:0});$textBox.delay(instance.textoptions.texteffectdelay).animate({left:0px,opacity:1},instance.textoptions.texteffectduration,instance.textoptions.texteffecteasing)}else if(effect_dirright){$textBox.css({left:instance.textoptions.texteffectslidedistance+px,opacity:0});$textBox.delay(instance.textoptions.texteffectdelay).animate({left:0px,opacity:1},instance.textoptions.texteffectduration,instance.textoptions.texteffecteasing)}else if(effect_dirtop){$textBox.css({top:-+instance.textoptions.texteffectslidedistance+px,opacity:0});$textBox.delay(instance.textoptions.texteffectdelay).animate({top:0px,opacity:1},instance.textoptions.texteffectduration,instance.textoptions.texteffecteasing)}else if(effect_dirbottom){$textBox.css({top:instance.textoptions.texteffectslidedistance+px,opacity:0});$textBox.delay(instance.textoptions.texteffectdelay).animate({top:0px,opacity:1},instance.textoptions.texteffectduration,instance.textoptions.texteffecteasing)}break;default:$textBox.delay(instance.textoptions.texteffectdelay).show()}if(instance.textoptions.texteffectseparate&&instance.elemArraycurELEM_DESCRIPTION.length>0){var effect1null;var effects1instance.textoptions.texteffect1;if(effects1){effects1effects1.split(,);effect1effects1Math.floor(Math.random()*effects1.length);effect1$.trim(effect1.toLowerCase())}var $textBox1$(.amazingslider-description-+instance.id,instance.container);switch(effect1){case fade:$textBox1.css({opacity:0});$textBox1.delay(instance.textoptions.texteffectdelay1).fadeTo(instance.textoptions.texteffectduration1,1);break;case slide:var effect_dir1instance.textoptions.texteffectslidedirection1;if(effect_dir1random)effect_dir1effect_dirsMath.floor(Math.random()*effect_dirs.length);if(effect_dir1left){$textBox1.css({left:-+instance.textoptions.texteffectslidedistance1+px,opacity:0});$textBox1.delay(instance.textoptions.texteffectdelay1).animate({left:0px,opacity:1},instance.textoptions.texteffectduration1,instance.textoptions.texteffecteasing1)}else if(effect_dir1right){$textBox1.css({left:instance.textoptions.texteffectslidedistance1+px,opacity:0});$textBox1.delay(instance.textoptions.texteffectdelay1).animate({left:0px,opacity:1},instance.textoptions.texteffectduration1,instance.textoptions.texteffecteasing1)}else if(effect_dir1top){$textBox1.css({top:-+instance.textoptions.texteffectslidedistance1+px,opacity:0});$textBox1.delay(instance.textoptions.texteffectdelay1).animate({top:0px,opacity:1},instance.textoptions.texteffectduration1,instance.textoptions.texteffecteasing1)}else if(effect_dir1bottom){$textBox1.css({top:instance.textoptions.texteffectslidedistance1+px,opacity:0});$textBox1.delay(instance.textoptions.texteffectdelay1).animate({top:0px,opacity:1},instance.textoptions.texteffectduration1,instance.textoptions.texteffecteasing1)}break;default:$textBox1.delay(instance.textoptions.texteffectdelay).show()}}if(instance.textoptions.texteffectseparate&&instance.elemArraycurELEM_BUTTON.length>0){var effect2null;var effects2instance.textoptions.texteffect2;if(effects2){effects2effects2.split(,);effect2effects2Math.floor(Math.random()*effects2.length);effect2$.trim(effect2.toLowerCase())}var $textBox2$(.amazingslider-button-+instance.id,instance.container);switch(effect2){case fade:$textBox2.css({opacity:0});$textBox2.delay(instance.textoptions.texteffectdelay2).fadeTo(instance.textoptions.texteffectduration2,1);break;case slide:var effect_dir2instance.textoptions.texteffectslidedirection2;if(effect_dir2random)effect_dir2effect_dirsMath.floor(Math.random()*effect_dirs.length);if(effect_dir2left){$textBox2.css({left:-+instance.textoptions.texteffectslidedistance2+px,opacity:0});$textBox2.delay(instance.textoptions.texteffectdelay2).animate({left:0px,opacity:1},instance.textoptions.texteffectduration2,instance.textoptions.texteffecteasing2)}else if(effect_dir2right){$textBox2.css({left:instance.textoptions.texteffectslidedistance2+px,opacity:0});$textBox2.delay(instance.textoptions.texteffectdelay2).animate({left:0px,opacity:1},instance.textoptions.texteffectduration2,instance.textoptions.texteffecteasing2)}else if(effect_dir2top){$textBox2.css({top:-+instance.textoptions.texteffectslidedistance2+px,opacity:0});$textBox2.delay(instance.textoptions.texteffectdelay2).animate({top:0px,opacity:1},instance.textoptions.texteffectduration2,instance.textoptions.texteffecteasing2)}else if(effect_dir2bottom){$textBox2.css({top:instance.textoptions.texteffectslidedistance2+px,opacity:0});$textBox2.delay(instance.textoptions.texteffectdelay2).animate({top:0px,opacity:1},instance.textoptions.texteffectduration2,instance.textoptions.texteffecteasing2)}break;default:$textBox2.delay(instance.textoptions.texteffectdelay).show()}}$textWrapper.show()});if(!instance.googleFontsCreated)instance.createGoogleFonts()})},resizeFullscreenImage:function($imgElem){if($imgElem.data(originalwidth)0||$imgElem.data(originalheight)0)return;var imgRatio$imgElem.data(originalheight)/$imgElem.data(originalwidth);var sliderRatiothis.options.height/this.options.width;this.prevImageMarginTopthis.curImageMarginTop;this.prevImageMarginLeftthis.curImageMarginLeft;this.prevImageMaxWidththis.curImageMaxWidth;this.curImageMarginTop0;this.curImageMarginLeft0;this.curImageMaxWidth100;if(sliderRatioimgRatio)if(this.options.scalemodefit){this.curImageMaxWidthsliderRatio/imgRatio*100;this.curImageMarginLeft50-this.curImageMaxWidth/2}else this.curImageMarginTop-1*(imgRatio-sliderRatio)*50;else if(this.options.scalemodefit)this.curImageMarginTop(sliderRatio-imgRatio)*50;else{this.curImageMarginLeft-1*(1/imgRatio-1/sliderRatio)*50;this.curImageMaxWidth100-2*this.curImageMarginLeft}if(Math.abs(this.curImageMarginLeft)>0)$imgElem.css({max-width:this.curImageMaxWidth+%,width:this.curImageMaxWidth+%,height:100%,margin-left:this.curImageMarginLeft+%,margin-top:0});else $imgElem.css({max-width:this.curImageMaxWidth+%,width:this.curImageMaxWidth+%,height:auto,margin-left:0,margin-top:this.curImageMarginTop+%})},resizeSlider:function(){if(!this.container.parent()||!this.container.parent().width())return;this.options.widththis.container.parent().width();if(this.options.isfullscreen){this.options.heightthis.container.parent().height();if($(.amazingslider-img-elem-+this.id).length>0)this.resizeFullscreenImage($(.amazingslider-img-elem-+this.id))}else{this.options.heightMath.round(this.options.width*this.options.originalheight/this.options.originalwidth);if(this.options.ratioresponsive){var winWidththis.options.isMobile?Math.max($(window).width(),$(document).width()):$(window).width();if(winWidththis.options.ratiosmallscreen)this.options.height*this.options.ratiosmallheight;else if(winWidththis.options.ratiomediumscreen)this.options.height*this.options.ratiomediumheight}}$(.amazingslider-space-+this.id,this.container).css({width:this.options.width,height:this.options.height});this.container.css({width:this.options.width,height:this.options.navdirectionhorizontal&&this.options.navmultirows?auto:this.options.height});if(this.options.navstylethumbnails&&this.options.navthumbresponsive)this.resizeNavBullets();var $nav$(.amazingslider-nav-+this.id,this.container);var $navContainer$(.amazingslider-nav-container-+this.id,this.container);var $bulletWrapper$(.amazingslider-bullet-wrapper-+this.id,this.container);var $carLeftArrow$(.amazingslider-car-left-arrow-+this.id,this.container);var $carRightArrow$(.amazingslider-car-right-arrow-+this.id,this.container);if(this.options.navdirectionvertical){var lenthis.options.navstylenone?0:this.elemArray.length*this.options.navheight+(this.elemArray.length-1)*this.options.navspacing;if(this.options.navshowbuttons){if(this.options.navshowarrow){len+len>0?this.options.navspacing:0;len+2*this.options.navheight+this.options.navspacing}if(this.options.navshowplaypause&&!this.options.navshowplaypausestandalone){len+len>0?this.options.navspacing:0;len+this.options.navheight}}$bulletWrapper.css({height:len+px,width:auto})}else if(this.options.navmultirows)$bulletWrapper.css({width:100%,height:auto});else{var lenthis.options.navstylenone?0:this.elemArray.length*this.options.navwidth+(this.elemArray.length-1)*this.options.navspacing;if(this.options.navshowbuttons){if(this.options.navshowarrow){len+len>0?this.options.navspacing:0;len+2*this.options.navwidth+this.options.navspacing}if(this.options.navshowplaypause&&!this.options.navshowplaypausestandalone){len+len>0?this.options.navspacing:0;len+this.options.navwidth}}$bulletWrapper.css({width:len+px,height:auto})}if(this.options.navthumbnavigationstyle!auto){if(this.options.navmultirows){if(this.options.navdirectionhorizontal){var nMath.floor($nav.width()/(this.options.navwidth+this.options.navspacing));if(n0)n1;mMath.floor(($nav.width()-n*this.options.navwidth-(n-1)*this.options.navspacing)/2)-2;$navContainer.css({width:100%,margin-left:m+px})}}else if(this.options.navdirectionvertical&&$bulletWrapper.height()>$navContainer.height()||this.options.navdirectionhorizontal&&$bulletWrapper.width()>$navContainer.width()){if(this.options.navthumbnavigationstyle!arrowinside){$carLeftArrow.css({display:block});$carRightArrow.css({display:block})}var l0;if(this.options.navdirectionvertical){lisNaN(parseInt($bulletWrapper.css(margin-top)))?0:parseInt($bulletWrapper.css(margin-top));if(l$navContainer.height()-$bulletWrapper.height())l$navContainer.height()-$bulletWrapper.height();if(l>0)l0;$bulletWrapper.css({margin-top:l})}else{var m0;if(this.options.navthumbnavigationstylearrow){mthis.options.navthumbnavigationarrowimagewidth+this.options.navspacing;if(this.options.navdirectionhorizontal)if(this.options.navmultirows){var nMath.floor($nav.width()/(this.options.navwidth+this.options.navspacing));if(n0)n1;mMath.floor(($nav.width()-n*this.options.navwidth-(n-1)*this.options.navspacing)/2);$navContainer.css({width:100%,margin-left:m+px})}else{var nMath.floor(($nav.width()-2*m+this.options.navspacing)/(this.options.navwidth+this.options.navspacing));if(n0)n1;mMath.floor(($nav.width()-n*this.options.navwidth-(n-1)*this.options.navspacing)/2);$navContainer.css({margin-left:m+px,margin-right:m+px})}else $navContainer.css({margin-top:m+px,margin-bottom:m+px})}lisNaN(parseInt($bulletWrapper.css(margin-left)))?0:parseInt($bulletWrapper.css(margin-left));if(l$navContainer.width()-$bulletWrapper.width())l$navContainer.width()-$bulletWrapper.width();if(l>0)l0;$bulletWrapper.css({margin-left:l})}this.updateCarouselLeftRightArrow(l)}else{$carLeftArrow.css({display:none});$carRightArrow.css({display:none});if(this.options.navdirectionvertical)$bulletWrapper.css({margin-top:0});else $bulletWrapper.css({margin-left:auto})}if(this.options.navstylethumbnails&&this.options.navthumbresponsive){var bulletPos0;var bulletSizethis.options.navdirectionvertical?this.options.navwidth:this.options.navheight;if(this.options.navstylethumbnails&&this.options.navshowfeaturedarrow){bulletSize+this.options.navdirectionvertical?this.options.navfeaturedarrowimagewidth:this.options.navfeaturedarrowimageheight;bulletPosthis.options.navdirectionvertical?this.options.navfeaturedarrowimagewidth:this.options.navfeaturedarrowimageheight}var pthis.options.navdirectionvertical?this.options.navwidth/2-this.options.navthumbnavigationarrowimagewidth/2:this.options.navheight/2-this.options.navthumbnavigationarrowimageheight/2;if(this.options.navpositionbottomleft||this.options.navpositionbottomright||this.options.navpositionbottom||this.options.navpositionright)p+bulletPos;if(this.options.navdirectionvertical){$carLeftArrow.css({top:this.options.navthumbnavigationstylearrowoutside?-+this.options.navthumbnavigationarrowimageheight+px:0px,left:0px,margin-left:p+px});$carRightArrow.css({bottom:this.options.navthumbnavigationstylearrowoutside?-+this.options.navthumbnavigationarrowimageheight+px:0px,left:0px,margin-left:p+px})}else{$carLeftArrow.css({left:this.options.navthumbnavigationstylearrowoutside?-+this.options.navthumbnavigationarrowimagewidth+px:0px,top:0px,margin-top:p+px});$carRightArrow.css({right:this.options.navthumbnavigationstylearrowoutside?-+this.options.navthumbnavigationarrowimagewidth+px:0px,top:0px,margin-top:p+px})}}}if(this.curElem>0&&this.options.navstyle!none&&$(#amazingslider-bullet-+this.id+-+this.curElem,this.container).length>0)this.adjustNav($(#amazingslider-bullet-+this.id+-+this.curElem,this.container))},createStyle:function(){this.options.originalwidththis.options.width;this.options.originalheightthis.options.height;this.options.navoriginalwidththis.options.navwidth;this.options.navoriginalheightthis.options.navheight;this.options.navoriginalthumbtitleheightthis.options.navthumbtitleheight;this.options.navoriginalthumbtitlewidththis.options.navthumbtitlewidth;if(!this.options.isresponsive){$(.amazingslider-space-+this.id,this.container).css({width:this.options.width,height:this.options.height});this.container.css({width:this.options.width,height:this.options.navdirectionhorizontal&&this.options.navmultirows?auto:this.options.height})}else{this.resizeSlider();var instancethis;$(window).resize(function(){setTimeout(function(){instance.resizeSlider()},instance.options.windowresizetimeout)})}var styleCss.amazingslider-wrapper-+this.id+ {display:block;position:relative;width:100%;height:auto;};styleCss+.amazingslider-slider-+this.id+ {display:block;position:relative;left:0px;top:0px;width:100%;height:auto;;if(this.options.showshadow){var b0px 0px +this.options.shadowsize+px +this.options.shadowcolor;styleCss+box-shadow:+b+;-moz-box-shadow:+b+;-webkit-box-shadow:+b+;;if(ASPlatforms.isIE678()||ASPlatforms.isIE9)styleCss+filter:progid:DXImageTransform.Microsoft.Shadow(color+this.options.shadowcolor+,direction135,strength+this.options.shadowsize+);}styleCss+};styleCss+.amazingslider-box-+this.id+ {display:block;position:relative;left:0px;top:0px;width:100%;height:auto;;if(this.options.border>0)styleCss+margin-left:-+this.options.border+px;border-width:+this.options.border+px;border-style:solid;border-color:+this.options.bordercolor+;;styleCss+};styleCss+.amazingslider-swipe-box-+this.id+ {display:block;position:relative;left:0px;top:0px;width:100%;height:auto;};styleCss+.amazingslider-space-+this.id+ {display:block;position:relative;left:0px;top:0px;width:100%;height:auto;visibility:hidden;line-height:0px;font-size:0px;};styleCss+.amazingslider-img-box-+this.id+ {display:block;position:absolute;left:0px;top:0px;width:100%;height:100%;};styleCss+.amazingslider-lightbox-play-+this.id+ {display:none;position:absolute;left:50%;top:50%;cursor:pointer;width:+this.options.playvideoimagewidth+px;height:+this.options.playvideoimageheight+px;margin-top:+-+Math.round(this.options.playvideoimageheight/2)+px;margin-left:+-+Math.round(this.options.playvideoimagewidth/2)+px; background:url(+this.options.playvideoimage+) no-repeat left top;};styleCss+.amazingslider-play-+this.id+ {display:none;position:absolute;left:50%;top:50%;cursor:pointer;width:+this.options.playvideoimagewidth+px;height:+this.options.playvideoimageheight+px;margin-top:+-+Math.round(this.options.playvideoimageheight/2)+px;margin-left:+-+Math.round(this.options.playvideoimagewidth/2)+px; background:url(+this.options.playvideoimage+) no-repeat left top;};styleCss+.amazingslider-video-wrapper-+this.id+ {display:none;position:absolute;left:0px;top:0px;background-color:#000;text-align:center;};styleCss+.amazingslider-error-+this.id+ {display:block;position:relative;margin:0 auto;width:80%;top:50%;color:#fff;font:16px Arial,Tahoma,Helvetica,sans-serif;};if(this.options.showribbon){styleCss+.amazingslider-ribbon-+this.id+ {display:block;position:absolute;;switch(this.options.ribbonposition){case topleft:styleCss+left:+this.options.ribbonimagex+px;top:+this.options.ribbonimagey+px;;break;case topright:styleCss+right:+this.options.ribbonimagex+px;top:+this.options.ribbonimagey+px;;break;case bottomleft:styleCss+left:+this.options.ribbonimagex+px;bottom:+this.options.ribbonimagey+px;;break;case bottomright:styleCss+right:+this.options.ribbonimagex+px;bottom:+this.options.ribbonimagey+px;;break;case top:styleCss+width:100%;height:auto;margin:0 auto;top:+this.options.ribbonimagey+px;;case bottom:styleCss+width:100%;height:auto;text-align:center;bottom:+this.options.ribbonimagey+px;}styleCss+}}styleCss+.amazingslider-video-wrapper-+this.id+ video {max-width:100%;height:auto;};styleCss+.amazingslider-video-wrapper-+this.id+ iframe, +.amazingslider-video-wrapper-+this.id+ object, +.amazingslider-video-wrapper-+this.id+ embed {position:absolute;top:0;left:0;width:100%;height:100%;};if(this.options.navstylethumbnails&&this.options.navthumbstyle!imageonly){styleCss+.amazingslider-nav-thumbnail-tite-+this.id+ {+this.options.navthumbtitlecss+};styleCss+.amazingslider-nav-thumbnail-tite-+this.id+:hover {+this.options.navthumbtitlehovercss+};if(this.options.navthumbstyleimageandtitledescription||this.options.navthumbstyletextonly)styleCss+.amazingslider-nav-thumbnail-description-+this.id+ {+this.options.navthumbdescriptioncss+}}$(head).append(style typetext/css data-creatoramazingslidercreator+this.id+>+styleCss+/style>);if(this.options.customcss&&this.options.customcss.length>0)$(head).append(style typetext/css data-creatoramazingslidercreator+this.id+>+this.options.customcss+/style>)},createBottomShadow:function(){if(!this.options.showbottomshadow)return;var $shadow$(.amazingslider-bottom-shadow-+this.id,this.container);var l(100-this.options.bottomshadowimagewidth)/2;$shadow.css({display:block,position:absolute,left:l+%,top:this.options.bottomshadowimagetop+%,width:this.options.bottomshadowimagewidth+%,height:auto});$shadow.html(img src+this.options.skinsfolder+this.options.bottomshadowimage+ styledisplay:block;position:relative;width:100%;height:auto;max-width:100%; />)},createBackgroundImage:function(){if(!this.options.showbackgroundimage||!this.options.backgroundimage)return;var $background$(.amazingslider-background-image-+this.id,this.container);var l(100-this.options.backgroundimagewidth)/2;$background.css({display:block,position:absolute,left:l+%,top:this.options.backgroundimagetop+%,width:this.options.backgroundimagewidth+%,height:auto});$background.html(img src+this.options.skinsfolder+this.options.backgroundimage+ styledisplay:block;position:relative;width:100%;height:auto; />)},createArrows:function(){if(this.options.arrowstylenone)return;var instancethis;var $leftArrow$(.amazingslider-arrow-left-+this.id,this.container);var $rightArrow$(.amazingslider-arrow-right-+this.id,this.container);$leftArrow.css({overflow:hidden,position:absolute,cursor:pointer,width:this.options.arrowwidth+px,height:this.options.arrowheight+px,left:this.options.arrowmargin+px,top:this.options.arrowtop+%,margin-top:-+this.options.arrowheight/2+px,background:url(+this.options.arrowimage+) no-repeat left top});if(ASPlatforms.isIE678())$leftArrow.css({opacity:inherit,filter:inherit});$leftArrow.hover(function(){$(this).css({background-position:left bottom})},function(){$(this).css({background-position:left top})});$leftArrow.click(function(){instance.slideRun(-2)});$rightArrow.css({overflow:hidden,position:absolute,cursor:pointer,width:this.options.arrowwidth+px,height:this.options.arrowheight+px,right:this.options.arrowmargin+px,top:this.options.arrowtop+%,margin-top:-+this.options.arrowheight/2+px,background:url(+this.options.arrowimage+) no-repeat right top});if(ASPlatforms.isIE678())$rightArrow.css({opacity:inherit,filter:inherit});$rightArrow.hover(function(){$(this).css({background-position:right bottom})},function(){$(this).css({background-position:right top})});$rightArrow.click(function(){instance.slideRun(-1)});if(this.options.arrowstylealways){$leftArrow.css({display:block});$rightArrow.css({display:block})}else{$leftArrow.css({display:none});$rightArrow.css({display:none});$(.amazingslider-slider-+this.id,this.container).hover(function(){clearTimeout(instance.arrowTimeout);if(ASPlatforms.isIE678()){$(.amazingslider-arrow-left-+instance.id,instance.container).show();$(.amazingslider-arrow-right-+instance.id,instance.container).show()}else{$(.amazingslider-arrow-left-+instance.id,instance.container).fadeIn();$(.amazingslider-arrow-right-+instance.id,instance.container).fadeIn()}},function(){instance.arrowTimeoutsetTimeout(function(){if(ASPlatforms.isIE678()){$(.amazingslider-arrow-left-+instance.id,instance.container).hide();$(.amazingslider-arrow-right-+instance.id,instance.container).hide()}else{$(.amazingslider-arrow-left-+instance.id,instance.container).fadeOut();$(.amazingslider-arrow-right-+instance.id,instance.container).fadeOut()}},instance.options.arrowhideonmouseleave)})}},carMoveLeft:function(){var $navContainer$(.amazingslider-nav-container-+this.id,this.container);var $bulletWrapper$(.amazingslider-bullet-wrapper-+this.id,this.container);if($navContainer.width()>$bulletWrapper.width())return;if(this.options.navshowpreview)$(.amazingslider-nav-preview-+this.id,this.container).hide();var dist$navContainer.width()+this.options.navspacing;var l(isNaN(parseInt($bulletWrapper.css(margin-left)))?0:parseInt($bulletWrapper.css(margin-left)))-dist;if(l$navContainer.width()-$bulletWrapper.width())l$navContainer.width()-$bulletWrapper.width();if(l>0)l0;$bulletWrapper.animate({margin-left:l},{queue:false,duration:500,easing:easeOutCirc});if(this.options.navthumbnavigationstyle!auto)this.updateCarouselLeftRightArrow(l)},carMoveRight:function(){var $navContainer$(.amazingslider-nav-container-+this.id,this.container);var $bulletWrapper$(.amazingslider-bullet-wrapper-+this.id,this.container);if($navContainer.width()>$bulletWrapper.width())return;if(this.options.navshowpreview)$(.amazingslider-nav-preview-+this.id,this.container).hide();var dist$navContainer.width()+this.options.navspacing;var l(isNaN(parseInt($bulletWrapper.css(margin-left)))?0:parseInt($bulletWrapper.css(margin-left)))+dist;if(l$navContainer.width()-$bulletWrapper.width())l$navContainer.width()-$bulletWrapper.width();if(l>0)l0;$bulletWrapper.animate({margin-left:l},{queue:false,duration:500,easing:easeOutCirc});if(this.options.navthumbnavigationstyle!auto)this.updateCarouselLeftRightArrow(l)},carMoveBottom:function(){var $navContainer$(.amazingslider-nav-container-+this.id,this.container);var $bulletWrapper$(.amazingslider-bullet-wrapper-+this.id,this.container);if($navContainer.height()>$bulletWrapper.height())return;if(this.options.navshowpreview)$(.amazingslider-nav-preview-+this.id,this.container).hide();var dist$navContainer.height()+this.options.navspacing;var l(isNaN(parseInt($bulletWrapper.css(margin-top)))?0:parseInt($bulletWrapper.css(margin-top)))+dist;if(l$navContainer.height()-$bulletWrapper.height())l$navContainer.height()-$bulletWrapper.height();if(l>0)l0;$bulletWrapper.animate({margin-top:l},{queue:false,duration:500,easing:easeOutCirc});if(this.options.navthumbnavigationstyle!auto)this.updateCarouselLeftRightArrow(l)},carMoveTop:function(){var $navContainer$(.amazingslider-nav-container-+this.id,this.container);var $bulletWrapper$(.amazingslider-bullet-wrapper-+this.id,this.container);if($navContainer.height()>$bulletWrapper.height())return;if(this.options.navshowpreview)$(.amazingslider-nav-preview-+this.id,this.container).hide();var dist$navContainer.height()+this.options.navspacing;var l(isNaN(parseInt($bulletWrapper.css(margin-top)))?0:parseInt($bulletWrapper.css(margin-top)))-dist;if(l$navContainer.height()-$bulletWrapper.height())l$navContainer.height()-$bulletWrapper.height();if(l>0)l0;$bulletWrapper.animate({margin-top:l},{queue:false,duration:500,easing:easeOutCirc});if(this.options.navthumbnavigationstyle!auto)this.updateCarouselLeftRightArrow(l)},updateCarouselLeftRightArrow:function(l){var $navContainer$(.amazingslider-nav-container-+this.id,this.container);var $bulletWrapper$(.amazingslider-bullet-wrapper-+this.id,this.container);if(this.options.navdirectionvertical){if(l0){$(.amazingslider-car-left-arrow-+this.id,this.container).css({background-position:left bottom,cursor:});$(.amazingslider-car-left-arrow-+this.id,this.container).data(disabled,true)}else{$(.amazingslider-car-left-arrow-+this.id,this.container).css({background-position:left top,cursor:pointer});$(.amazingslider-car-left-arrow-+this.id,this.container).data(disabled,false)}if(l$navContainer.height()-$bulletWrapper.height()){$(.amazingslider-car-right-arrow-+this.id,this.container).css({background-position:right bottom,cursor:});$(.amazingslider-car-right-arrow-+this.id,this.container).data(disabled,true)}else{$(.amazingslider-car-right-arrow-+this.id,this.container).css({background-position:right top,cursor:pointer});$(.amazingslider-car-right-arrow-+this.id,this.container).data(disabled,false)}}else{if(l0){$(.amazingslider-car-left-arrow-+this.id,this.container).css({background-position:left bottom,cursor:});$(.amazingslider-car-left-arrow-+this.id,this.container).data(disabled,true)}else{$(.amazingslider-car-left-arrow-+this.id,this.container).css({background-position:left top,cursor:pointer});$(.amazingslider-car-left-arrow-+this.id,this.container).data(disabled,false)}if(l$navContainer.width()-$bulletWrapper.width()){$(.amazingslider-car-right-arrow-+this.id,this.container).css({background-position:right bottom,cursor:});$(.amazingslider-car-right-arrow-+this.id,this.container).data(disabled,true)}else{$(.amazingslider-car-right-arrow-+this.id,this.container).css({background-position:right top,cursor:pointer});$(.amazingslider-car-right-arrow-+this.id,this.container).data(disabled,false)}}},createNav:function(){if(this.options.navstylenone&&!this.options.navshowbuttons)return;var instancethis;var i;var $nav$(.amazingslider-nav-+this.id,this.container);var $navContainer$(.amazingslider-nav-container-+this.id,this.container);var $bulletWrapper$(div classamazingslider-bullet-wrapper-+this.id+ styledisplay:block;position:relative;>/div>);$navContainer.css({overflow:hidden});if(this.options.navstylethumbnails){if(this.options.navthumbresponsive){var winW$(window).width();if(winWthis.options.navthumbsmallsize){this.options.navwidththis.options.navthumbsmallwidth;this.options.navheightthis.options.navthumbsmallheight;this.options.navthumbtitleheightthis.options.navthumbsmalltitleheight;this.options.navthumbtitlewidththis.options.navthumbsmalltitlewidth}else if(winWthis.options.navthumbmediumsize){this.options.navwidththis.options.navthumbmediumwidth;this.options.navheightthis.options.navthumbmediumheight;this.options.navthumbtitleheightthis.options.navthumbmediumtitleheight;this.options.navthumbtitlewidththis.options.navthumbmediumtitlewidth}else{this.options.navwidththis.options.navoriginalwidth;this.options.navheightthis.options.navoriginalheight;this.options.navthumbtitleheightthis.options.navoriginalthumbtitleheight;this.options.navthumbtitlewidththis.options.navoriginalthumbtitlewidth}}this.options.navimagewidththis.options.navwidth-this.options.navborder*2;this.options.navimageheightthis.options.navheight-this.options.navborder*2;if(this.options.navthumbstyleimageandtitle)this.options.navheight+this.options.navthumbtitleheight;else if(this.options.navthumbstyleimageandtitledescription||this.options.navthumbstyletextonly)this.options.navwidth+this.options.navthumbtitlewidth}if(this.options.navdirectionvertical){var lenthis.options.navstylenone?0:this.elemArray.length*this.options.navheight+(this.elemArray.length-1)*this.options.navspacing;if(this.options.navshowbuttons){if(this.options.navshowarrow){len+len>0?this.options.navspacing:0;len+2*this.options.navheight+this.options.navspacing}if(this.options.navshowplaypause&&!this.options.navshowplaypausestandalone){len+len>0?this.options.navspacing:0;len+this.options.navheight}}$bulletWrapper.css({height:len+px,width:auto})}else if(this.options.navmultirows)$bulletWrapper.css({width:100%,height:auto});else{var lenthis.options.navstylenone?0:this.elemArray.length*this.options.navwidth+(this.elemArray.length-1)*this.options.navspacing;if(this.options.navshowbuttons){if(this.options.navshowarrow){len+len>0?this.options.navspacing:0;len+2*this.options.navwidth+this.options.navspacing}if(this.options.navshowplaypause&&!this.options.navshowplaypausestandalone){len+len>0?this.options.navspacing:0;len+this.options.navwidth}}$bulletWrapper.css({width:len+px,height:auto})}$navContainer.append($bulletWrapper);var bulletPos0;var bulletSizethis.options.navdirectionvertical?this.options.navwidth:this.options.navheight;if(this.options.navstylethumbnails&&this.options.navshowfeaturedarrow){bulletSize+this.options.navdirectionvertical?this.options.navfeaturedarrowimagewidth:this.options.navfeaturedarrowimageheight;bulletPosthis.options.navdirectionvertical?this.options.navfeaturedarrowimagewidth:this.options.navfeaturedarrowimageheight}var navmarginXnavmarginxin this.options?this.options.navmarginx:this.options.navmargin;var navmarginYnavmarginyin this.options?this.options.navmarginy:this.options.navmargin;$nav.css({display:block,position:this.options.navdirectionhorizontal&&this.options.navmultirows?relative:absolute,height:auto});switch(this.options.navposition){case top:$bulletWrapper.css({margin-left:auto,margin-right:auto,height:bulletSize+px});$nav.css({width:100%,top:0%,left:0px,margin-top:navmarginY+px});break;case topleft:$bulletWrapper.css({height:bulletSize+px});$nav.css({max-width:100%,top:0px,left:0px,margin-top:navmarginY+px,margin-left:navmarginX+px});break;case topright:$bulletWrapper.css({height:bulletSize+px});$nav.css({max-width:100%,top:0px,right:0px,margin-top:navmarginY+px,margin-right:navmarginX+px});break;case bottom:$bulletWrapper.css({margin-left:auto,margin-right:auto,margin-top:bulletPos+px});$nav.css({width:100%,top:100%,left:0px,margin-top:String(navmarginY-bulletPos)+px});break;case bottomleft:$bulletWrapper.css({margin-top:bulletPos+px});$nav.css({max-width:100%,bottom:0px,left:0px,margin-bottom:navmarginY+px,margin-top:String(navmarginY-bulletPos)+px,margin-left:navmarginX+px});break;case bottomright:$bulletWrapper.css({margin-top:bulletPos+px});$nav.css({max-width:100%,bottom:0px,right:0px,margin-bottom:navmarginY+px,margin-top:String(navmarginY-bulletPos)+px,margin-right:navmarginX+px});break;case left:$bulletWrapper.css({width:bulletSize+px});$nav.css({height:100%,width:bulletSize+px,top:0%,left:0%,margin-left:navmarginX+px});$navContainer.css({display:block,position:absolute,top:0px,bottom:0px,left:0px,right:0px,height:auto});break;case right:$bulletWrapper.css({margin-left:bulletPos+px});$nav.css({height:100%,width:bulletSize+px,top:0%,left:100%,margin-left:String(navmarginX-bulletPos)+px});$navContainer.css({display:block,position:absolute,top:0px,bottom:0px,left:0px,right:0px,height:auto});break}if(this.options.navstyle!none){var $bullet;for(i0;ithis.elemArray.length;i++){$bulletthis.createNavBullet(i);$bulletWrapper.append($bullet)}if(this.options.navmultirows)$bulletWrapper.append(div styleclear:both;>/div>);$nav.mouseenter(function(){instance.pauseCarouseltrue});$nav.mouseleave(function(){instance.pauseCarouselfalse});if(instance.options.navthumbnavigationstyleauto)$nav.mousemove(function(e){if(instance.options.navdirectionvertical){if($nav.height()>$bulletWrapper.height())return;var de.pageY-$nav.offset().top;if(d10)d0;if(d>$nav.height()-10)d$nav.height();var rd/$nav.height();var l($nav.height()-$bulletWrapper.height())*r;$bulletWrapper.animate({margin-top:l},{queue:false,duration:20,easing:easeOutCubic})}else{if($nav.width()>$bulletWrapper.width())return;var de.pageX-$nav.offset().left;if(d10)d0;if(d>$nav.width()-10)d$nav.width();var rd/$nav.width();var l($nav.width()-$bulletWrapper.width())*r;$bulletWrapper.animate({margin-left:l},{queue:false,duration:20,easing:easeOutCubic})}});else{var m0;if(instance.options.navthumbnavigationstylearrow){minstance.options.navthumbnavigationarrowimagewidth+instance.options.navspacing;if(instance.options.navdirectionhorizontal)if(instance.options.navmultirows){var nMath.floor($nav.width()/(instance.options.navwidth+instance.options.navspacing));if(n0)n1;mMath.floor(($nav.width()-n*instance.options.navwidth-(n-1)*instance.options.navspacing)/2);$navContainer.css({width:100%,margin-left:m+px})}else{var nMath.floor(($nav.width()-2*m+instance.options.navspacing)/(instance.options.navwidth+instance.options.navspacing));if(n0)n1;mMath.floor(($nav.width()-n*instance.options.navwidth-(n-1)*instance.options.navspacing)/2);$navContainer.css({margin-left:m+px,margin-right:m+px})}else $navContainer.css({margin-top:m+px,margin-bottom:m+px})}else if(instance.options.navdirectionhorizontal)$navContainer.css({margin-left:0px,margin-right:0px});else $navContainer.css({margin-top:0px,margin-bottom:0px});var $carLeftArrow$(div classamazingslider-car-left-arrow-+instance.id+ styledisplay:none;>/div>);var $carRightArrow$(div classamazingslider-car-right-arrow-+instance.id+ styledisplay:none;>/div>);$nav.append($carLeftArrow);$nav.append($carRightArrow);$carLeftArrow.css({overflow:hidden,position:absolute,cursor:pointer,display:none,width:instance.options.navthumbnavigationarrowimagewidth+px,height:instance.options.navthumbnavigationarrowimageheight+px,background:url(+instance.options.navthumbnavigationarrowimage+) no-repeat left top});$carRightArrow.css({overflow:hidden,position:absolute,cursor:pointer,display:none,width:instance.options.navthumbnavigationarrowimagewidth+px,height:instance.options.navthumbnavigationarrowimageheight+px,background:url(+instance.options.navthumbnavigationarrowimage+) no-repeat right top});var pinstance.options.navdirectionvertical?instance.options.navwidth/2-instance.options.navthumbnavigationarrowimagewidth/2:instance.options.navheight/2-instance.options.navthumbnavigationarrowimageheight/2;if(instance.options.navpositionbottomleft||instance.options.navpositionbottomright||instance.options.navpositionbottom||instance.options.navpositionright)p+bulletPos;if(instance.options.navdirectionvertical){$carLeftArrow.css({top:instance.options.navthumbnavigationstylearrowoutside?-+instance.options.navthumbnavigationarrowimageheight+px:0px,left:0px,margin-left:p+px});$carRightArrow.css({bottom:instance.options.navthumbnavigationstylearrowoutside?-+instance.options.navthumbnavigationarrowimageheight+px:0px,left:0px,margin-left:p+px})}else{$carLeftArrow.css({left:instance.options.navthumbnavigationstylearrowoutside?-+instance.options.navthumbnavigationarrowimagewidth+px:0px,top:0px,margin-top:p+px});$carRightArrow.css({right:instance.options.navthumbnavigationstylearrowoutside?-+instance.options.navthumbnavigationarrowimagewidth+px:0px,top:0px,margin-top:p+px})}if(ASPlatforms.isIE678())$carLeftArrow.css({opacity:inherit,filter:inherit});$carLeftArrow.hover(function(){if(!$(this).data(disabled))$(this).css({background-position:left center})},function(){if(!$(this).data(disabled))$(this).css({background-position:left top})});$carLeftArrow.click(function(){if(instance.options.navdirectionvertical)instance.carMoveBottom();else instance.carMoveRight()});if(ASPlatforms.isIE678())$carRightArrow.css({opacity:inherit,filter:inherit});$carRightArrow.hover(function(){if(!$(this).data(disabled))$(this).css({background-position:right center})},function(){if(!$(this).data(disabled))$(this).css({background-position:right top})});$carRightArrow.click(function(){if(instance.options.navdirectionvertical)instance.carMoveTop();else instance.carMoveLeft()});if(instance.options.navdirectionvertical&&$bulletWrapper.height()>$navContainer.height()||instance.options.navdirectionhorizontal&&$bulletWrapper.width()>$navContainer.width()){$carLeftArrow.css({display:block,background-position:left bottom,cursor:});$carLeftArrow.data(disabled,true);$carRightArrow.css({display:block})}if(instance.options.navthumbnavigationstylearrowinside){$carLeftArrow.hide();$carRightArrow.hide();$nav.hover(function(){if(instance.options.navdirectionvertical&&$bulletWrapper.height()>$navContainer.height()||instance.options.navdirectionhorizontal&&$bulletWrapper.width()>$navContainer.width()){$carLeftArrow.fadeIn();$carRightArrow.fadeIn()}},function(){$carLeftArrow.fadeOut();$carRightArrow.fadeOut()})}}if(instance.options.navdirectionvertical)$nav.sliderTouchSwipe({preventWebBrowser:true,swipeTop:function(data){instance.carMoveTop()},swipeBottom:function(){instance.carMoveBottom()}});else $nav.sliderTouchSwipe({preventWebBrowser:false,swipeLeft:function(data){instance.carMoveLeft()},swipeRight:function(){instance.carMoveRight()}});this.container.bind(amazingslider.switch,function(event,prev,cur){$(#amazingslider-bullet-+instance.id+-+prev,instance.container)bulletNormal+instance.id();$(#amazingslider-bullet-+instance.id+-+cur,instance.container)bulletSelected+instance.id()});if(this.options.navshowpreview){var $preview$(div classamazingslider-nav-preview-+this.id+ styledisplay:none;position:absolute;width:+this.options.navpreviewwidth+px;height:+this.options.navpreviewheight+px;background-color:+this.options.navpreviewbordercolor+;padding:+instance.options.navpreviewborder+px;>/div>);var $previewArrow$(div classamazingslider-nav-preview-arrow-+this.id+ styledisplay:block;position:absolute;width:+this.options.navpreviewarrowwidth+px;height:+this.options.navpreviewarrowheight+px;+background:url(+this.options.skinsfolder+this.options.navpreviewarrowimage+\) no-repeat center center; >/div>);switch(this.options.navpreviewposition){case bottom:$previewArrow.css({left:50%,bottom:100%,margin-left:-+Math.round(this.options.navpreviewarrowwidth/2)+px});break;case top:$previewArrow.css({left:50%,top:100%,margin-left:-+Math.round(this.options.navpreviewarrowwidth/2)+px});break;case left:$previewArrow.css({top:50%,left:100%,margin-top:-+Math.round(this.options.navpreviewarrowheight/2)+px});break;case right:$previewArrow.css({top:50%,right:100%,margin-top:-+Math.round(this.options.navpreviewarrowheight/2)+px});break}var $previewImages$(div classamazingslider-nav-preview-images-+this.id+ styledisplay:block;position:relative;width:100%;height:100%;overflow:hidden; />);$preview.append($previewArrow);$preview.append($previewImages);if(this.options.navshowplayvideo){var $previewPlay$(div classamazingslider-nav-preview-play-+this.id+ styledisplay:none;position:absolute;left:0;top:0;width:100%;height:100%;+background:url(+this.options.navplayvideoimage+) no-repeat center center;+ >/div>);$preview.append($previewPlay)}$(.amazingslider-wrapper-+this.id,this.container).append($preview)}if(this.options.navshowfeaturedarrow)$bulletWrapper.append(div classamazingslider-nav-featuredarrow-+this.id+ styledisplay:none;position:absolute;width:+this.options.navfeaturedarrowimagewidth+px;+height:+this.options.navfeaturedarrowimageheight+px;+background:url(+this.options.skinsfolder+this.options.navfeaturedarrowimage+\) no-repeat center center;>/div>)}if(this.options.navshowbuttons){var floatDirthis.options.navdirectionvertical?top:left;var spacingthis.options.navstylenone?0:this.options.navspacing;if(this.options.navshowarrow){var $navLeft$(div classamazingslider-nav-left-+this.id+ styleposition:relative;float:+floatDir+;margin-+floatDir+:+spacing+px;width:+this.options.navwidth+px;height:+this.options.navheight+px;cursor:pointer;>/div>);$bulletWrapper.append($navLeft);if(this.options.navbuttonradius)$navLeft.css(ASPlatforms.applyBrowserStyles({border-radius:this.options.navbuttonradius+px}));if(this.options.navbuttoncolor)$navLeft.css({background-color:this.options.navbuttoncolor});if(this.options.navarrowimage)$navLeft.css({background-image:url(+this.options.skinsfolder+this.options.navarrowimage+),background-repeat:no-repeat,background-position:left top});$navLeft.hover(function(){if(instance.options.navbuttonhighlightcolor)$(this).css({background-color:instance.options.navbuttonhighlightcolor});if(instance.options.navarrowimage)$(this).css({background-position:left bottom})},function(){if(instance.options.navbuttoncolor)$(this).css({background-color:instance.options.navbuttoncolor});if(instance.options.navarrowimage)$(this).css({background-position:left top})});$navLeft.click(function(){instance.slideRun(-2)});spacingthis.options.navspacing}if(this.options.navshowplaypause){var $navPlay,$navPause;if(this.options.navshowplaypausestandalone){$navPlay$(div classamazingslider-nav-play-+this.id+ styleposition:absolute;width:+this.options.navshowplaypausestandalonewidth+px;height:+this.options.navshowplaypausestandaloneheight+px;>/div>);this.$wrapper.append($navPlay);$navPause$(div classamazingslider-nav-pause-+this.id+ styleposition:absolute;width:+this.options.navshowplaypausestandalonewidth+px;height:+this.options.navshowplaypausestandaloneheight+px;>/div>);this.$wrapper.append($navPause);switch(this.options.navshowplaypausestandaloneposition){case topleft:$navPlay.css({top:0,left:0,margin-left:this.options.navshowplaypausestandalonemarginx+px,margin-top:this.options.navshowplaypausestandalonemarginy+px});$navPause.css({top:0,left:0,margin-left:this.options.navshowplaypausestandalonemarginx+px,margin-top:this.options.navshowplaypausestandalonemarginy+px});break;case topright:$navPlay.css({top:0,right:0,margin-right:this.options.navshowplaypausestandalonemarginx+px,margin-top:this.options.navshowplaypausestandalonemarginy+px});$navPause.css({top:0,right:0,margin-right:this.options.navshowplaypausestandalonemarginx+px,margin-top:this.options.navshowplaypausestandalonemarginy+px});break;case bottomleft:$navPlay.css({bottom:0,left:0,margin-left:this.options.navshowplaypausestandalonemarginx+px,margin-bottom:this.options.navshowplaypausestandalonemarginy+px});$navPause.css({bottom:0,left:0,margin-left:this.options.navshowplaypausestandalonemarginx+px,margin-bottom:this.options.navshowplaypausestandalonemarginy+px});break;case bottomright:$navPlay.css({bottom:0,right:0,margin-right:this.options.navshowplaypausestandalonemarginx+px,margin-bottom:this.options.navshowplaypausestandalonemarginy+px});$navPause.css({bottom:0,right:0,margin-right:this.options.navshowplaypausestandalonemarginx+px,margin-bottom:this.options.navshowplaypausestandalonemarginy+px});break;case center:$navPlay.css({top:50%,left:50%,margin-left:-+Math.round(this.options.navshowplaypausestandalonewidth/2)+px,margin-top:-+Math.round(this.options.navshowplaypausestandaloneheight/2)+px});$navPause.css({top:50%,left:50%,margin-left:-+Math.round(this.options.navshowplaypausestandalonewidth/2)+px,margin-top:-+Math.round(this.options.navshowplaypausestandaloneheight/2)+px});break}}else{$navPlay$(div classamazingslider-nav-play-+this.id+ styleposition:relative;float:+floatDir+;margin-+floatDir+:+spacing+px;width:+this.options.navwidth+px;height:+this.options.navheight+px;cursor:pointer;>/div>);$bulletWrapper.append($navPlay);$navPause$(div classamazingslider-nav-pause-+this.id+ styleposition:relative;float:+floatDir+;margin-+floatDir+:+spacing+px;width:+this.options.navwidth+px;height:+this.options.navheight+px;cursor:pointer;>/div>);$bulletWrapper.append($navPause)}if(this.options.navbuttonradius)$navPlay.css(ASPlatforms.applyBrowserStyles({border-radius:this.options.navbuttonradius+px}));if(this.options.navbuttoncolor)$navPlay.css({background-color:this.options.navbuttoncolor});if(this.options.navarrowimage)$navPlay.css({background-image:url(+this.options.skinsfolder+this.options.navplaypauseimage+),background-repeat:no-repeat,background-position:left top});$navPlay.hover(function(){if(instance.options.navbuttonhighlightcolor)$(this).css({background-color:instance.options.navbuttonhighlightcolor});if(instance.options.navarrowimage)$(this).css({background-position:left bottom})},function(){if(instance.options.navbuttoncolor)$(this).css({background-color:instance.options.navbuttoncolor});if(instance.options.navarrowimage)$(this).css({background-position:left top})});$navPlay.click(function(){instance.isPausedfalse;instance.loopCount0;if(!instance.videoPaused)instance.sliderTimeout.start();$(this).css({display:none});$(.amazingslider-nav-pause-+instance.id,instance.container).css({display:block})});if(this.options.navbuttonradius)$navPause.css(ASPlatforms.applyBrowserStyles({border-radius:this.options.navbuttonradius+px}));if(this.options.navbuttoncolor)$navPause.css({background-color:this.options.navbuttoncolor});if(this.options.navarrowimage)$navPause.css({background-image:url(+this.options.skinsfolder+this.options.navplaypauseimage+),background-repeat:no-repeat,background-position:right top});$navPause.hover(function(){if(instance.options.navbuttonhighlightcolor)$(this).css({background-color:instance.options.navbuttonhighlightcolor});if(instance.options.navarrowimage)$(this).css({background-position:right bottom})},function(){if(instance.options.navbuttoncolor)$(this).css({background-color:instance.options.navbuttoncolor});if(instance.options.navarrowimage)$(this).css({background-position:right top})});$navPause.click(function(){instance.isPausedtrue;instance.sliderTimeout.stop();$(this).css({display:none});$(.amazingslider-nav-play-+instance.id,instance.container).css({display:block})});if(this.options.navshowplaypausestandalone&&this.options.navshowplaypausestandaloneautohide){$navPlay.css({display:none});$navPause.css({display:none});this.$wrapper.hover(function(){if(instance.isPaused){$navPlay.fadeIn();$navPause.css({display:none})}else{$navPlay.css({display:none});$navPause.fadeIn()}},function(){$navPlay.fadeOut();$navPause.fadeOut()})}else{$navPlay.css({display:instance.isPaused?block:none});$navPause.css({display:instance.isPaused?none:block})}}if(this.options.navshowarrow){var $navRight$(div classamazingslider-nav-right-+this.id+ styleposition:relative;float:+floatDir+;margin-+floatDir+:+spacing+px;width:+this.options.navwidth+px;height:+this.options.navheight+px;cursor:pointer;>/div>);$bulletWrapper.append($navRight);if(this.options.navbuttonradius)$navRight.css(ASPlatforms.applyBrowserStyles({border-radius:this.options.navbuttonradius+px}));if(this.options.navbuttoncolor)$navRight.css({background-color:this.options.navbuttoncolor});if(this.options.navarrowimage)$navRight.css({background-image:url(+this.options.skinsfolder+this.options.navarrowimage+),background-repeat:no-repeat,background-position:right top});$navRight.hover(function(){if(instance.options.navbuttonhighlightcolor)$(this).css({background-color:instance.options.navbuttonhighlightcolor});if(instance.options.navarrowimage)$(this).css({background-position:right bottom})},function(){if(instance.options.navbuttoncolor)$(this).css({background-color:instance.options.navbuttoncolor});if(instance.options.navarrowimage)$(this).css({background-position:right top})});$navRight.click(function(){instance.slideRun(-1)})}}},resizeNavBullets:function(){if(this.options.navstyle!thumbnails||!this.options.navthumbresponsive)return;var winW$(window).width();if(winWthis.options.navthumbsmallsize){this.options.navwidththis.options.navthumbsmallwidth;this.options.navheightthis.options.navthumbsmallheight;this.options.navthumbtitleheightthis.options.navthumbsmalltitleheight;this.options.navthumbtitlewidththis.options.navthumbsmalltitlewidth}else if(winWthis.options.navthumbmediumsize){this.options.navwidththis.options.navthumbmediumwidth;this.options.navheightthis.options.navthumbmediumheight;this.options.navthumbtitleheightthis.options.navthumbmediumtitleheight;this.options.navthumbtitlewidththis.options.navthumbmediumtitlewidth}else{this.options.navwidththis.options.navoriginalwidth;this.options.navheightthis.options.navoriginalheight;this.options.navthumbtitleheightthis.options.navoriginalthumbtitleheight;this.options.navthumbtitlewidththis.options.navoriginalthumbtitlewidth}this.options.navimagewidththis.options.navwidth-this.options.navborder*2;this.options.navimageheightthis.options.navheight-this.options.navborder*2;if(this.options.navthumbstyleimageandtitle)this.options.navheight+this.options.navthumbtitleheight;else if(this.options.navthumbstyleimageandtitledescription||this.options.navthumbstyletextonly)this.options.navwidth+this.options.navthumbtitlewidth;var instancethis;$(.amazingslider-bullet-+this.id,this.container).each(function(){var w0$(this).data(originalthumbwidth);var h0$(this).data(originalthumbheight);$(this).css({width:String(instance.options.navwidth-instance.options.navborder*2)+px,height:String(instance.options.navheight-instance.options.navborder*2)+px});if(instance.options.navthumbstyle!textonly){$(.amazingslider-bullet-image-+instance.id,this).css({width:instance.options.navimagewidth+px,height:instance.options.navimageheight+px});if(w0/h0instance.options.navimagewidth/instance.options.navimageheight)$(.amazingslider-bullet-img-+instance.id,this).css({width:100%,height:auto,margin-top:-+Math.floor(h0/w0*instance.options.navimagewidth/2-instance.options.navimageheight/2)+px});else $(.amazingslider-bullet-img-+instance.id,this).css({width:auto,height:100%,margin-left:-+Math.floor(w0/h0*instance.options.navimageheight/2-instance.options.navimagewidth/2)+px})}if(instance.options.navthumbstyle!imageonly)if(instance.options.navthumbstyleimageandtitle)$(.amazingslider-bullet-text-+instance.id,this).css({margin-top:instance.options.navimageheight+px,width:instance.options.navimagewidth+px,height:instance.options.navthumbtitleheight+px});else if(instance.options.navthumbstyleimageandtitledescription)$(.amazingslider-bullet-text-+instance.id,this).css({margin-left:instance.options.navimagewidth+px,width:instance.options.navthumbtitlewidth+px,height:instance.options.navimageheight+px});else if(instance.options.navthumbstyletextonly)$(.amazingslider-bullet-text-+instance.id,this).css({width:String(instance.options.navthumbtitlewidth+instance.options.navimagewidth)+px,height:instance.options.navimageheight+px})})},createNavBullet:function(index){var instancethis;var fthis.options.navdirectionvertical?top:left;var marginFthis.options.navdirectionvertical?bottom:right;var spacingindexthis.elemArray.length-1?0:this.options.navspacing;var wthis.options.navstylethumbnails?this.options.navwidth-this.options.navborder*2:this.options.navwidth;var hthis.options.navstylethumbnails?this.options.navheight-this.options.navborder*2:this.options.navheight;var bthis.options.navdirectionhorizontal&&this.options.navmultirows?margin-bottom:+this.options.navrowspacing+px;:;var $bullet$(div classamazingslider-bullet-+this.id+ idamazingslider-bullet-+this.id+-+index+ styleposition:relative;float:+f+;+b+margin-+marginF+:+spacing+px;width:+w+px;height:+h+px;cursor:pointer;>/div>);$bullet.data(index,index);$bullet.hover(function(){if($(this).data(index)!instance.curElem)$(this)bulletHighlight+instance.id();var bulletIndex$(this).data(index);if(instance.options.navswitchonmouseover)if(bulletIndex!instance.curElem)instance.slideRun(bulletIndex);if(instance.options.navshowpreview){var $preview$(.amazingslider-nav-preview-+instance.id,instance.container);var $previewImages$(.amazingslider-nav-preview-images-+instance.id,$preview);if(instance.options.navshowplayvideo){var $previewPlay$(.amazingslider-nav-preview-play-+instance.id,$preview);if(instance.elemArraybulletIndexELEM_VIDEO.length>0||instance.elemArraybulletIndexELEM_LINK&&instance.elemArraybulletIndexELEM_LIGHTBOX&&instance.elemArraybulletIndexELEM_VIDEOTYPE>0)$previewPlay.show();else $previewPlay.hide()}var $nav$(.amazingslider-nav-+instance.id,instance.container);var $bulletWrapper$(.amazingslider-bullet-wrapper-+instance.id,instance.container);var pos$(this).position();var navPos$nav.position();var bulletWrapperPos$bulletWrapper.position();pos.left+navPos.left+bulletWrapperPos.left;pos.left+isNaN(parseInt($bulletWrapper.css(margin-left)))?0:parseInt($bulletWrapper.css(margin-left));pos.left+isNaN(parseInt($nav.css(margin-left)))?0:parseInt($nav.css(margin-left));pos.top+navPos.top+bulletWrapperPos.top;pos.top+isNaN(parseInt($bulletWrapper.css(margin-top)))?0:parseInt($bulletWrapper.css(margin-top));pos.top+isNaN(parseInt($nav.css(margin-top)))?0:parseInt($nav.css(margin-top));if(instance.options.navdirectionvertical){var $navContainer$(.amazingslider-nav-container-+instance.id,instance.container);pos.top+isNaN(parseInt($navContainer.css(margin-top)))?0:parseInt($navContainer.css(margin-top))}var t,lpos.left+instance.options.navwidth/2-instance.options.navpreviewwidth/2-instance.options.navpreviewborder;var lv,tvpos.top+instance.options.navheight/2-instance.options.navpreviewheight/2-instance.options.navpreviewborder;var p{};switch(instance.options.navpreviewposition){case bottom:tpos.top+instance.options.navheight+instance.options.navpreviewarrowheight;p{left:l+px,top:t+px};break;case top:tpos.top-instance.options.navpreviewheight-2*instance.options.navpreviewborder-instance.options.navpreviewarrowheight;p{left:l+px,top:t+px};break;case left:lvpos.left-instance.options.navpreviewwidth-2*instance.options.navpreviewborder-instance.options.navpreviewarrowwidth;p{left:lv+px,top:tv+px};break;case right:lvpos.left+instance.options.navwidth+instance.options.navpreviewarrowwidth;p{left:lv+px,top:tv+px};break}var imgLoadernew Image;$(imgLoader).load(function(){var style;if(this.width/this.heightinstance.options.navpreviewwidth/instance.options.navpreviewheight)stylewidth:+instance.options.navpreviewwidth+px;max-width:+instance.options.navpreviewwidth+px;height:auto;margin-top:-+Math.floor(this.height/this.width*instance.options.navpreviewwidth/2-instance.options.navpreviewheight/2)+px;;else stylewidth:auto;max-width:none;height:+instance.options.navpreviewheight+px;margin-left:-+Math.floor(this.width/this.height*instance.options.navpreviewheight/2-instance.options.navpreviewwidth/2)+px;;var $prevImg$(.amazingslider-nav-preview-img-+instance.id,$previewImages);if(instance.options.navdirectionvertical){var $curImg$(div classamazingslider-nav-preview-img-+instance.id+ styledisplay:block;position:absolute;overflow:hidden;width:+instance.options.navpreviewwidth+px;height:+instance.options.navpreviewheight+px;left:0px;top:+instance.options.navpreviewheight+px;>img src+instance.elemArraybulletIndexELEM_THUMBNAIL+ styledisplay:block;position:absolute;left:0px;top:0px;+style+ />/div>);$previewImages.append($curImg);if($prevImg.length>0)$prevImg.animate({top:-+instance.options.navpreviewheight+px},function(){$prevImg.remove()});if($preview.is(:visible)){$curImg.animate({top:0px});$preview.stop(true,true).animate(p)}else{$curImg.css({top:0px});$preview.stop(true,true).css(p).fadeIn()}}else{var $curImg$(div classamazingslider-nav-preview-img-+instance.id+ styledisplay:block;position:absolute;overflow:hidden;width:+instance.options.navpreviewwidth+px;height:+instance.options.navpreviewheight+px;left:+instance.options.navpreviewheight+px;top:0px;>img src+instance.elemArraybulletIndexELEM_THUMBNAIL+ styledisplay:block;position:absolute;left:0px;top:0px;+style+ />/div>);$previewImages.append($curImg);if($prevImg.length>0)$prevImg.animate({left:-+instance.options.navpreviewwidth+px},function(){$prevImg.remove()});if($preview.is(:visible)){$curImg.animate({left:0px});$preview.stop(true,true).animate(p)}else{$curImg.css({left:0px});$preview.stop(true,true).css(p).fadeIn()}}});imgLoader.srcinstance.elemArraybulletIndexELEM_THUMBNAIL}},function(){if($(this).data(index)!instance.curElem)$(this)bulletNormal+instance.id();if(instance.options.navshowpreview){var $preview$(.amazingslider-nav-preview-+instance.id,instance.container);$preview.delay(500).fadeOut()}});$bullet.click(function(){instance.slideRun($(this).data(index),instance.options.playvideoonclickthumb)});if(this.options.navstylebullets){$bullet.css({background:url(+this.options.navimage+) no-repeat left top});$.fnbulletNormal+this.idfunction(){$(this).css({background-position:left top})};$.fnbulletHighlight+this.idfunction(){$(this).css({background-position:left bottom})};$.fnbulletSelected+this.idfunction(){$(this).css({background-position:left bottom});instance.adjustNav(this)}}else if(this.options.navstylenumbering){$bullet.text(index+1);$bullet.css({background-color:this.options.navcolor,color:this.options.navfontcolor,font-size:this.options.navfontsize,font-family:this.options.navfont,text-align:center,line-height:this.options.navheight+px});$bullet.css(ASPlatforms.applyBrowserStyles({border-radius:this.options.navradius+px}));if(this.options.navbuttonshowbgimage&&this.options.navbuttonbgimage)$bullet.css({background:url(+this.options.skinsfolder+this.options.navbuttonbgimage+) no-repeat center top});$.fnbulletNormal+this.idfunction(){$(this).css({background-color:instance.options.navcolor,color:instance.options.navfontcolor});if(instance.options.navbuttonshowbgimage&&instance.options.navbuttonbgimage)$(this).css({background-position:center top})};$.fnbulletHighlight+this.idfunction(){$(this).css({background-color:instance.options.navhighlightcolor,color:instance.options.navfonthighlightcolor});if(instance.options.navbuttonshowbgimage&&instance.options.navbuttonbgimage)$(this).css({background-position:center bottom})};$.fnbulletSelected+this.idfunction(){$(this).css({background-color:instance.options.navhighlightcolor,color:instance.options.navfonthighlightcolor});if(instance.options.navbuttonshowbgimage&&instance.options.navbuttonbgimage)$(this).css({background-position:center bottom});instance.adjustNav(this)}}else if(this.options.navstylethumbnails){$bullet.css({padding:this.options.navborder+px,background-color:this.options.navbordercolor});$bullet.css({opacity:this.options.navopacity,filter:alpha(opacity+Math.round(100*this.options.navopacity)+)});var imgLoadernew Image;var instancethis;$(imgLoader).load(function(){$bullet.data(originalthumbwidth,this.width);$bullet.data(originalthumbheight,this.height);if(instance.options.navthumbstyle!textonly){var style;if(this.width/this.heightinstance.options.navimagewidth/instance.options.navimageheight)stylemax-width:none !important;width:100%;height:auto;margin-top:-+Math.floor(this.height/this.width*instance.options.navimagewidth/2-instance.options.navimageheight/2)+px;else stylemax-width:none !important;width:auto;height:100%;margin-left:-+Math.floor(this.width/this.height*instance.options.navimageheight/2-instance.options.navimagewidth/2)+px;$bullet.append(div classamazingslider-bullet-image-+instance.id+ styledisplay:block;position:absolute;width:+instance.options.navimagewidth+px;height:+instance.options.navimageheight+px;overflow:hidden;>img classamazingslider-bullet-img-+instance.id+ src+instance.elemArrayindexELEM_THUMBNAIL+ style+style+ />/div>);if(instance.options.navshowplayvideo&&(instance.elemArrayindexELEM_VIDEO.length>0||instance.elemArrayindexELEM_LINK&&instance.elemArrayindexELEM_LIGHTBOX&&instance.elemArrayindexELEM_VIDEOTYPE>0))$bullet.append(div classamazingslider-bullet-playvideo-+instance.id+ styledisplay:block;position:absolute;margin-left:0;margin-top:0;width:+instance.options.navimagewidth+px;height:+instance.options.navimageheight+px;+background:url(+instance.options.navplayvideoimage+) no-repeat center center;+ >/div>)}if(instance.options.navthumbstyle!imageonly){var thumbtitlediv classamazingslider-bullet-text-+instance.id+ styledisplay:block;position:absolute;overflow:hidden;;if(instance.options.navthumbstyleimageandtitle)thumbtitle+margin-left:0px;margin-top:+instance.options.navimageheight+px;width:+instance.options.navimagewidth+px;height:+instance.options.navthumbtitleheight+px;;else if(instance.options.navthumbstyleimageandtitledescription)thumbtitle+margin-left:+instance.options.navimagewidth+px;margin-top:0px;width:+instance.options.navthumbtitlewidth+px;height:+instance.options.navimageheight+px;;else if(instance.options.navthumbstyletextonly)thumbtitle+margin-left:0px;margin-top:0px;width:+String(instance.options.navthumbtitlewidth+instance.options.navimagewidth)+px;height:+instance.options.navimageheight+px;;thumbtitle+>div classamazingslider-nav-thumbnail-tite-+instance.id+>+instance.elemArrayindexELEM_TITLE+/div>;if(instance.options.navthumbstyleimageandtitledescription||instance.options.navthumbstyletextonly)thumbtitle+div classamazingslider-nav-thumbnail-description-+instance.id+>+instance.elemArrayindexELEM_DESCRIPTION+/div>;thumbtitle+/div>;$bullet.append(thumbtitle)}});imgLoader.srcthis.elemArrayindexELEM_THUMBNAIL;$.fnbulletNormal+this.idfunction(){$(this).css({opacity:instance.options.navopacity,filter:alpha(opacity+Math.round(100*instance.options.navopacity)+)});if(instance.options.navbordercolor)$(this).css({background-color:instance.options.navbordercolor})};$.fnbulletHighlight+this.idfunction(){$(this).css({opacity:1,filter:alpha(opacity100)});if(instance.options.navborderhighlightcolor)$(this).css({background-color:instance.options.navborderhighlightcolor})};$.fnbulletSelected+this.idfunction(){$(this).css({opacity:1,filter:alpha(opacity100)});if(instance.options.navborderhighlightcolor)$(this).css({background-color:instance.options.navborderhighlightcolor});instance.adjustNav(this)}}return $bullet},adjustNav:function(bullet){var instancethis;var pos$(bullet).position();var $navContainer$(.amazingslider-nav-container-+instance.id,instance.container);var $bulletWrapper$(.amazingslider-bullet-wrapper-+instance.id,instance.container);if(instance.options.navdirectionhorizontal){var t,lpos.left+instance.options.navwidth/2-instance.options.navfeaturedarrowimagewidth/2;if(instance.options.navpositiontop||instance.options.navpositiontopleft||instance.options.navpositiontopright)tpos.top+instance.options.navheight;else tpos.top-instance.options.navfeaturedarrowimageheight;if(instance.options.navshowfeaturedarrow){var $featuredarrow$(.amazingslider-nav-featuredarrow-+instance.id,instance.container);$featuredarrow.css({top:t+px});if($featuredarrow.is(:visible))$featuredarrow.stop(true,true).animate({left:l+px});else $featuredarrow.css({display:block,left:l+px})}if($navContainer.width()$bulletWrapper.width()&&!instance.pauseCarousel){var mMath.abs(isNaN(parseInt($bulletWrapper.css(margin-left)))?0:parseInt($bulletWrapper.css(margin-left)));if(pos.leftm||pos.left+instance.options.navwidth>m+$navContainer.width()){var pl-pos.left;if(pl$navContainer.width()-$bulletWrapper.width())pl$navContainer.width()-$bulletWrapper.width();if(pl>0)pl0;$bulletWrapper.animate({margin-left:pl+px},{queue:false,duration:500,easing:easeOutCirc});instance.updateCarouselLeftRightArrow(pl)}}}else{var l,tpos.top+instance.options.navheight/2-instance.options.navfeaturedarrowimageheight/2;if(instance.options.navpositionleft)lpos.left+instance.options.navwidth;else lpos.left-instance.options.navfeaturedarrowimagewidth;if(instance.options.navshowfeaturedarrow){var $featuredarrow$(.amazingslider-nav-featuredarrow-+instance.id,instance.container);$featuredarrow.css({left:l+px});if($featuredarrow.is(:visible))$featuredarrow.stop(true,true).animate({top:t+px});else $featuredarrow.css({display:block,top:t+px})}if($navContainer.height()$bulletWrapper.height()&&!instance.pauseCarousel){var mMath.abs(isNaN(parseInt($bulletWrapper.css(margin-top)))?0:parseInt($bulletWrapper.css(margin-top)));if(pos.topm||pos.top+instance.options.navheight>m+$navContainer.height()){var pl-pos.top;if(pl$navContainer.height()-$bulletWrapper.height())pl$navContainer.height()-$bulletWrapper.height();if(pl>0)pl0;$bulletWrapper.animate({margin-top:pl+px},{queue:false,duration:500,easing:easeOutCirc});instance.updateCarouselLeftRightArrow(pl)}}}},slideRun:function(index,playVideo,transEffect){savedCurthis.curElem;this.calcIndex(index);if(savedCurthis.curElem)return;if(this.isAnimating){if(this.transitionTimeout)clearTimeout(this.transitionTimeout);$(.amazingslider-img-box-+this.id,this.container).unbind(transitionFinished);var imageCodesdiv classamazingslider-img-+this.id+ styledisplay:block;position:absolute;left:0px;top:0px;width:100%;height:100%;overflow:hidden;>;imageCodes+img styleposition:absolute;;if(Math.abs(this.curImageMarginLeft)>0)imageCodes+max-width:+this.curImageMaxWidth+%;width:+this.curImageMaxWidth+%;height:100%;left:0%;top:0%;margin-left:+this.curImageMarginLeft+%;else imageCodes+max-width:+this.curImageMaxWidth+%;width:+this.curImageMaxWidth+%;height:auto;left:0%;top:0%;margin-top:+this.curImageMarginTop+%;;if(this.options.borderradius>0)imageCodes+border-radius:+this.options.borderradius+px;-moz-border-radius:+this.options.borderradius+px;-webkit-border-radius:+this.options.borderradius+px;;imageCodes+ src+this.elemArraysavedCurELEM_SRC+ />/div>;$(.amazingslider-img-box-+this.id,this.container).html(imageCodes);this.isAnimatingfalse}if(this.elemArraythis.curElemELEM_TEXTEFFECT&&this.elemArraythis.curElemELEM_TEXTEFFECT.length>0&&textformatin this.options&&this.elemArraythis.curElemELEM_TEXTEFFECTin this.optionstextformat)this.textoptions$.ASUpdateObject(this.textoptions,this.optionstextformatthis.elemArraythis.curElemELEM_TEXTEFFECT);else this.textoptions$.ASUpdateObject(this.textoptions,this.options);this.sliderTimeout.stop();this.sliderTimeout.timeoutthis.elemArraythis.curElemELEM_DURATION>0?this.elemArraythis.curElemELEM_DURATION:this.options.slideinterval;this.videoPausedfalse;this.container.trigger(amazingslider.switch,savedCur,this.curElem);$(.amazingslider-video-wrapper-+this.id,this.container).find(iframe).each(function(){$(this).attr(src,)});$(.amazingslider-video-wrapper-+this.id,this.container).find(video).each(function(){$(this).attr(src,)});this.container.trigger(amazingslider.switchtext,savedCur,this.curElem);if((playVideo||this.options.autoplayvideo)&&this.elemArraythis.curElemELEM_VIDEO.length>0)this.playVideo(true);else if(!this.elemArraythis.curElemELEM_SRC&&this.elemArraythis.curElemELEM_VIDEO.length>0)this.playVideo(this.options.autoplayvideo);else{$(.amazingslider-video-wrapper-+this.id,this.container).css({display:none}).empty();var slideDirectiontrue;if(index-2)slideDirectionfalse;else if(index-1)slideDirectiontrue;else if(index>0)slideDirectionthis.curElem>savedCur?true:false;this.showImage(slideDirection,transEffect)}(new Image).srcthis.elemArraythis.prevElemELEM_SRC;(new Image).srcthis.elemArraythis.nextElemELEM_SRC;if(this.options.loop>0)if(this.curElemthis.elemArray.length-1){this.loopCount++;if(this.options.loopthis.loopCount)this.isPausedtrue}this.checkMK()},checkMK:function(){if(this.options.versionmark!AMC+om&&!(this.options.versionmarkAML+ite&&this.options.skin&&$.inArray(this.options.skin,classic,cube,content)>0)){var item$(.amazingslider-box-+this.id,this.container);var mklink$(ahref+this.options.watermarklink+,item);if(item.text().indexOf(this.options.watermarktext)0||mklink.length0){var itemtextdiv styledisplay:block !important;position:absolute;top:6px;left:6px;visibility:visible !important;z-index:999999 !important;font:12px Arial,Tahoma,Helvetica,sans-serif;color:#666;padding:2px 4px;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px;background-color:#fff;opacity:0.9;filter:alpha(opacity90);cursor:pointer;>+a href+this.options.watermarklink+ styledisplay:block!important;visibility:visible!important;text-decoration:none;font:12px Arial,Tahoma,Helvetica,sans-serif;color:#333; titleResponsive jQuery Slider target_blank>+this.options.watermarktext+/a>+/div>;item.append(itemtext)}else{var mkdivmklink.parent();if(mklink.css(display)none||mklink.css(visibility)hidden||parseInt(mklink.css(font-size))8||mkdiv.css(display)none||mkdiv.css(visibility)hidden||parseInt(mkdiv.css(font-size))8){mklink.attr({style:(mklink.attr(style)||)+display:block!important;visibility:visible!important;font-size:12px!important;});mkdiv.attr({style:mkdiv.attr(style)+display:block!important;visibility:visible!important;font-size:12px!important;})}}}},showImage:function(slideDirection,transEffect){var instancethis;var imgLoadernew Image;$(imgLoader).load(function(){var $box$(.amazingslider-img-box-+instance.id,instance.container);var $imgPrev$(.amazingslider-img-+instance.id,instance.container);var imgCurCodesdiv classamazingslider-img-+instance.id+ styledisplay:block;position:absolute;left:0px;top:0px;width:100%;height:100%;overflow:hidden;>;imgCurCodes+img classamazingslider-img-elem-+instance.id+ data-originalwidth+this.width+ data-originalheight+this.height+ styleposition:absolute;+(ASPlatforms.isIE678()?opacity:inherit;filter:inherit;:);var sliderRatioinstance.options.height/instance.options.width;var imgRatiothis.height/this.width;instance.prevImageMarginTopinstance.curImageMarginTop;instance.prevImageMarginLeftinstance.curImageMarginLeft;instance.prevImageMaxWidthinstance.curImageMaxWidth;instance.curImageMarginTop0;instance.curImageMarginLeft0;instance.curImageMaxWidth100;if(sliderRatioimgRatio)if(instance.options.scalemodefit){instance.curImageMaxWidthsliderRatio/imgRatio*100;instance.curImageMarginLeft50-instance.curImageMaxWidth/2}else instance.curImageMarginTop-1*(imgRatio-sliderRatio)*50;else if(instance.options.scalemodefit)instance.curImageMarginTop(sliderRatio-imgRatio)*50;else{instance.curImageMarginLeft-1*(1/imgRatio-1/sliderRatio)*50;instance.curImageMaxWidth100-2*instance.curImageMarginLeft}if(Math.abs(instance.curImageMarginLeft)>0)imgCurCodes+max-width:+instance.curImageMaxWidth+%;width:+instance.curImageMaxWidth+%;height:100%;left:0%;top:0%;margin-left:+instance.curImageMarginLeft+%;else imgCurCodes+max-width:+instance.curImageMaxWidth+%;width:+instance.curImageMaxWidth+%;height:auto;left:0%;top:0%;margin-top:+instance.curImageMarginTop+%;;if(instance.options.borderradius>0)imgCurCodes+border-radius:+instance.options.borderradius+px;-moz-border-radius:+instance.options.borderradius+px;-webkit-border-radius:+instance.options.borderradius+px;;imgCurCodes+ src+instance.elemArrayinstance.curElemELEM_SRC+ />;imgCurCodes+/div>;var $imgCur$(imgCurCodes);if($imgPrev.length>0)$imgPrev.before($imgCur);else $box.append($imgCur);var transitioneffectinstance.firstslide&&!instance.options.transitiononfirstslide?:instance.options.transition;if(transEffect&&transEffect in instance.options)transitioneffecttransEffect;instance.firstslidefalse;instance.isAnimatingtrue;$box.amazingsliderTransition(instance.id,$imgPrev,$imgCur,{effect:transitioneffect,direction:slideDirection,duration:instance.options.transitionduration,easing:instance.options.transitioneasing,imgmarginleft:instance.curImageMarginLeft,imgmargintop:instance.curImageMarginTop,imgmaxwidth:instance.curImageMaxWidth,previmgmarginleft:instance.prevImageMarginLeft,previmgmargintop:instance.prevImageMarginTop,previmgmaxwidth:instance.prevImageMaxWidth,crossfade:instance.options.crossfade,kenburns:instance.options.kenburns,fade:instance.options.fade,slide:instance.options.slide,elastic:instance.options.elastic,slice:instance.options.slice,flip:instance.options.flip,flipwithzoom:instance.options.flipwithzoom,blinds:instance.options.blinds,threed:instance.options.threed,threedwithzoom:instance.options.threedwithzoom,threedhorizontal:instance.options.threedhorizontal,threedhorizontalwithzoom:instance.options.threedhorizontalwithzoom,blocks:instance.options.blocks,threedtiles:instance.options.threedtiles,tiles:instance.options.tiles,shuffle:instance.options.shuffle,threedflip:instance.options.threedflip,threedflipwithzoom:instance.options.threedflipwithzoom},function(){instance.isAnimatingfalse;instance.sliderTimeout.resume(true)},function(timeoutid){instance.transitionTimeouttimeoutid;if(!instance.isPaused&&!instance.videoPaused&&instance.elemArray.length>1)instance.sliderTimeout.startandpause()});var $swipeBox$(.amazingslider-swipe-box-+instance.id,instance.container);if(instance.elemArrayinstance.curElemELEM_LINK){$swipeBox.css({cursor:pointer});$swipeBox.unbind(click).bind(click,function(){if(instance.elemArrayinstance.curElemELEM_LIGHTBOX){$(window).trigger(amazingslider.lightboxclicked,instance.options.sliderid,instance.elemArrayinstance.curElemELEM_ID,instance.elemArrayinstance.curElemELEM_SRC,instance.elemArrayinstance.curElemELEM_TITLE,instance.elemArrayinstance.curElemELEM_LINK);if(!instance.isPaused){instance.lightboxPausedtrue;instance.isPausedtrue;instance.sliderTimeout.pause()}instance.html5Lightbox.showItem(instance.elemArrayinstance.curElemELEM_LINK)}else{$(window).trigger(amazingslider.linkclicked,instance.options.sliderid,instance.elemArrayinstance.curElemELEM_ID,instance.elemArrayinstance.curElemELEM_SRC,instance.elemArrayinstance.curElemELEM_TITLE,instance.elemArrayinstance.curElemELEM_LINK);var targetinstance.elemArrayinstance.curElemELEM_TARGET?instance.elemArrayinstance.curElemELEM_TARGET:_self;window.open(instance.elemArrayinstance.curElemELEM_LINK,target)}})}else{$swipeBox.css({cursor:});$swipeBox.unbind(click)}var videoLightboxinstance.elemArrayinstance.curElemELEM_LINK&&instance.elemArrayinstance.curElemELEM_LIGHTBOX&&instance.elemArrayinstance.curElemELEM_VIDEOTYPE>0;$(.amazingslider-lightbox-play-+instance.id,instance.container).css({display:videoLightbox?block:none});$(.amazingslider-play-+instance.id,instance.container).css({display:instance.elemArrayinstance.curElemELEM_VIDEO.length>0?block:none})});imgLoader.srcthis.elemArraythis.curElemELEM_SRC},calcIndex:function(index){var r;if(index-2){this.nextElemthis.curElem;this.curElemthis.prevElem;this.prevElemthis.curElem-10?this.elemArray.length-1:this.curElem-1}else if(index-1){this.prevElemthis.curElem;this.curElemthis.nextElem;this.nextElemthis.curElem+1>this.elemArray.length?0:this.curElem+1}else if(index>0){this.curElemindex;this.prevElemthis.curElem-10?this.elemArray.length-1:this.curElem-1;this.nextElemthis.curElem+1>this.elemArray.length?0:this.curElem+1}}};var asbtsfunction(string){var ret;var bytesstring.split(,);for(var i0;ibytes.length;i++)ret+String.fromCharCode(bytesi);return ret};optionsoptions||{};for(var key in options)if(key.toLowerCase()!key){optionskey.toLowerCase()optionskey;delete optionskey}this.each(function(){if($(this).data(donotinit)&&(!options||!optionsforceinit))return;if($(this).data(inited))return;$(this).data(inited,1);this.options$.extend({},options);this.options.linktitle(Math.random()>0.4?asbts(82,101,115,112,111,110,115,105,118,101,32):)+asbts(106,81,117,101,114,121,32,83,108,105,100,101,114);if($(this).data(textformat)&&typeof AMAZINGSLIDER_TEXT_EFFECT_FORMATS!undefined)if($(this).data(textformat)in AMAZINGSLIDER_TEXT_EFFECT_FORMATS)this.options$.extend({},AMAZINGSLIDER_TEXT_EFFECT_FORMATS$(this).data(textformat),this.options);if($(this).data(skin)&&typeof AMAZINGSLIDER_SKIN_OPTIONS!undefined)if($(this).data(skin)in AMAZINGSLIDER_SKIN_OPTIONS)this.options$.extend({},AMAZINGSLIDER_SKIN_OPTIONS$(this).data(skin),this.options);var instancethis;$.each($(this).data(),function(key,value){instance.optionskey.toLowerCase()value});var searchoptions{};var searchstringwindow.location.search.substring(1).split(&);for(var i0;isearchstring.length;i++){var keyvaluesearchstringi.split();if(keyvalue&&keyvalue.length2){var keykeyvalue0.toLowerCase();var valueunescape(keyvalue1).toLowerCase();if(valuetrue)searchoptionskeytrue;else if(valuefalse)searchoptionskeyfalse;else searchoptionskeyvalue}}this.options$.extend(this.options,searchoptions);var defaultOptions{watermarklinkdefault:http://amazingslider.com,watermarktargetdefault:_blank,previewmode:false,isresponsive:true,isfullscreen:false,windowresizetimeout:0,titleusealt:true,ratioresponsive:false,ratiomediumscreen:800,ratiomediumheight:1.2,ratiosmallscreen:480,ratiosmallheight:1.6,autoplay:false,pauseonmouseover:true,slideinterval:5E3,randomplay:false,loop:0,forceflash:false,forceflashonie10:true,forceflashonie11:true,nativehtml5controls:false,lazyloadtags:lazy-src,lazyload-src,cfsrc,src,lightboxbarheight:64,lightboxresponsive:true,lightboxshowtitle:true,lightboxshowdescription:false,lightboxshownavigation:false,lightboxthumbwidth:80,lightboxthumbheight:60,lightboxthumbtopmargin:12,lightboxthumbbottommargin:4,lightboxtitlebottomcss:color:#333; font-size:14px; font-family:Armata,sans-serif,Arial; overflow:hidden; text-align:left;,lightboxdescriptionbottomcss:color:#333; font-size:12px; font-family:Arial,Helvetica,sans-serif; overflow:hidden; text-align:left; margin:4px 0px 0px; padding: 0px;,lightboxfullscreenmode:false,lightboxcloseonoverlay:true,lightboxvideohidecontrols:false,lightboxtitlestyle:bottom,lightboximagepercentage:75,lightboxdefaultvideovolume:1,lightboxoverlaybgcolor:#000,lightboxoverlayopacity:0.9,lightboxbgcolor:#fff,lightboxtitleprefix:%NUM / %TOTAL,lightboxtitleinsidecss:color:#fff; font-size:16px; font-family:Arial,Helvetica,sans-serif; overflow:hidden; text-align:left;,lightboxdescriptioninsidecss:color:#fff; font-size:12px; font-family:Arial,Helvetica,sans-serif; overflow:hidden; text-align:left; margin:4px 0px 0px; padding: 0px;,lightboxautoslide:false,lightboxslideinterval:5E3,lightboxshowtimer:true,lightboxtimerposition:bottom,lightboxtimerheight:2,lightboxtimercolor:#dc572e,lightboxtimeropacity:1,lightboxshowplaybutton:true,lightboxalwaysshownavarrows:false,lightboxbordersize:8,lightboxshowtitleprefix:true,lightboxborderradius:0,lightboxnogroup:false,scalemode:fill,skinsfoldername:skins,showtimer:true,timerposition:bottom,timercolor:#ffffff,timeropacity:0.6,timerheight:2,autoplayvideo:false,playvideoimage:play-video.png,playvideoimagewidth:64,playvideoimageheight:64,playvideoonclickthumb:false,videohidecontrols:false,videohideplaybutton:false,defaultvideovolume:1,enabletouchswipe:true,border:6,bordercolor:#ffffff,borderradius:0,showshadow:true,shadowsize:5,shadowcolor:#aaaaaa,showbottomshadow:false,bottomshadowimage:bottom-shadow.png,bottomshadowimagewidth:140,bottomshadowimagetop:90,showbackgroundimage:false,backgroundimage:background.png,backgroundimagewidth:120,backgroundimagetop:-10,arrowstyle:mouseover,arrowimage:arrows.png,arrowwidth:32,arrowheight:32,arrowmargin:0,arrowhideonmouseleave:1E3,arrowtop:50,showribbon:false,ribbonimage:ribbon_topleft-0.png,ribbonposition:topleft,ribbonimagex:-11,ribbonimagey:-11,showtext:true,shownumbering:false,numberingformat:%NUM/%TOTAL ,navstyle:thumbnails,navswitchonmouseover:false,navdirection:horizontal,navposition:bottom,navmargin:24,navwidth:64,navheight:60,navspacing:8,navmultirows:false,navrowspacing:8,navshowpreview:true,navshowpreviewontouch:false,navpreviewposition:top,navpreviewarrowimage:preview-arrow.png,navpreviewarrowwidth:20,navpreviewarrowheight:10,navpreviewwidth:120,navpreviewheight:60,navpreviewborder:8,navpreviewbordercolor:#ffff00,navimage:bullets.png,navradius:0,navcolor:,navhighlightcolor:,navfont:Lucida Console, Arial,navfontcolor:#666666,navfonthighlightcolor:#666666,navfontsize:12,navbuttonshowbgimage:true,navbuttonbgimage:navbuttonbgimage.png,navshowbuttons:false,navbuttonradius:2,navbuttoncolor:#999999,navbuttonhighlightcolor:#333333,navshowplaypause:true,navshowarrow:true,navplaypauseimage:nav-play-pause.png,navarrowimage:nav-arrows.png,navshowplaypausestandalone:false,navshowplaypausestandaloneautohide:false,navshowplaypausestandaloneposition:bottomright,navshowplaypausestandalonemarginx:24,navshowplaypausestandalonemarginy:24,navshowplaypausestandalonewidth:32,navshowplaypausestandaloneheight:32,navopacity:0.8,navborder:2,navbordercolor:#ffffff,navborderhighlightcolor:,navshowfeaturedarrow:true,navfeaturedarrowimage:featured-arrow.png,navfeaturedarrowimagewidth:20,navfeaturedarrowimageheight:10,navthumbstyle:imageonly,navthumbtitleheight:20,navthumbtitlewidth:120,navthumbtitlecss:display:block;position:relative;padding:2px 4px;text-align:left;font:bold 14px Arial,Helvetica,sans-serif;color:#333;,navthumbtitlehovercss:text-decoration:underline;,navthumbdescriptioncss:display:block;position:relative;padding:2px 4px;text-align:left;font:normal 12px Arial,Helvetica,sans-serif;color:#333;,navthumbnavigationstyle:arrow,navthumbnavigationarrowimage:carousel-arrows-32-32-0.png,navthumbnavigationarrowimagewidth:32,navthumbnavigationarrowimageheight:32,navthumbresponsive:false,navthumbmediumsize:800,navthumbmediumwidth:64,navthumbmediumheight:64,navthumbmediumtitleheight:20,navthumbmediumtitlewidth:120,navthumbsmallsize:480,navthumbsmallwidth:48,navthumbsmallheight:48,navthumbsmalltitleheight:20,navthumbsmalltitlewidth:120,navshowplayvideo:true,navplayvideoimage:play-32-32-0.png,transitiononfirstslide:false,transition:slide,transitionduration:1E3,transitioneasing:easeOutQuad,slice:{checked:true,effectdirection:0,effects:up,down,updown,slicecount:10,duration:1500,easing:easeOutCubic},blocks:{columncount:5,checked:true,rowcount:5,effects:topleft,bottomright,top,bottom,random,duration:1500,easing:easeOutCubic},threedtiles:{rowcount:3,columncount:5,checked:true,effects:top,bottom,random,duration:2E3,easing:ease-out,depth:20,scale:0.8,scaleduration:400,bgcolor:#333333,perspective:1E3,fallback:tiles,scatter:4,perspectiveorigin:bottom},tiles:{rowcount:3,columncount:5,checked:true,effects:top,bottom,random,duration:2E3,easing:ease-out,scale:0.8,scaleduration:400,bgcolor:#333333,fallback:blocks},slide:{duration:1E3,easing:easeOutCubic,checked:true,effectdirection:0},elastic:{duration:1E3,easing:easeOutElastic,checked:true,effectdirection:0},crossfade:{duration:1E3,easing:easeOutCubic,checked:true},kenburns:{fadeduration:3E3,duration:5E3,effects:zoomin,zoomout,scale:1.1,easing:easeOutCubic,checked:true},threedhorizontal:{checked:true,effectdirection:0,bgcolor:#222222,perspective:1E3,slicecount:1,duration:1500,scale:1,scaleduration:0,easing:ease,fallback:slice,scatter:5,perspectiveorigin:bottom},threedhorizontalwithzoom:{checked:true,effectdirection:0,bgcolor:#222222,perspective:1E3,slicecount:4,duration:2200,scale:0.8,scaleduration:400,easing:ease,fallback:slice,scatter:5,perspectiveorigin:bottom},fade:{duration:1E3,easing:easeOutCubic,checked:true},shuffle:{duration:1500,easing:easeOutCubic,columncount:5,checked:true,rowcount:5},threed:{checked:true,effectdirection:0,scale:1,scaleduration:0,bgcolor:#222222,perspective:1E3,slicecount:5,duration:1500,easing:ease,fallback:slice,scatter:5,perspectiveorigin:right},threedwithzoom:{checked:true,effectdirection:0,bgcolor:#222222,perspective:1E3,slicecount:5,duration:2500,scale:0.8,scaleduration:400,easing:ease,fallback:slice,scatter:5,perspectiveorigin:right},blinds:{duration:1500,easing:easeOutCubic,checked:true,effectdirection:0,slicecount:5},threedflip:{duration:1500,easing:ease-out,depth:20,scale:1,scaleduration:0,checked:true,effectdirection:0,bgcolor:#222222,perspective:1E3,slicecount:5,fallback:flip,scatter:4,perspectiveorigin:bottom},threedflipwithzoom:{duration:2E3,easing:ease-out,depth:20,scale:0.8,scaleduration:400,checked:true,effectdirection:0,bgcolor:#222222,perspective:1E3,slicecount:5,fallback:flipwithzoom,scatter:4,perspectiveorigin:bottom},flip:{checked:true,effectdirection:0,slicecount:5,duration:1500,easing:ease-in,fallback:slice,scale:1,scaleduration:0},flipwithzoom:{checked:true,effectdirection:0,slicecount:5,duration:2E3,easing:ease-in,fallback:slice,scale:0.8,scaleduration:400},versionmark:AMCom,showwdefault:true,wstyledefault:text,wtextdefault:65,109,97,122,105,110,103,32,83,108,105,100,101,114,32,70,114,101,101,32,86,101,114,115,105,111,110,wimagedefault:,wposcss:display:block !important;position:absolute;top:6px;left:6px;visibility:visible !important;z-index:999999 !important;,wtextcssdefault:font:12px Arial,Tahoma,Helvetica,sans-serif;color:#666;padding:2px 4px;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px;background-color:#fff;opacity:0.9;filter:alpha(opacity90);,winkcssdefault:text-decoration:none;font:12px Arial,Tahoma,Helvetica,sans-serif;color:#333;};var defaultTextOptions{textstyle:static,textpositionstatic:bottom,textautohide:false,textpositionmarginstatic:0,textpositiondynamic:topleft,topright,bottomleft,bottomright,topcenter,bottomcenter,textpositionmarginleft:24,textpositionmarginright:24,textpositionmargintop:24,textpositionmarginbottom:24,texteffect:slide,texteffecteasing:easeOutCubic,texteffectduration:600,texteffectslidedirection:left,texteffectslidedistance:120,texteffectdelay:500,texteffectseparate:true,texteffect1:slide,texteffectslidedirection1:right,texteffectslidedistance1:120,texteffecteasing1:easeOutCubic,texteffectduration1:600,texteffectdelay1:1500,texteffect2:slide,texteffectslidedirection2:right,texteffectslidedistance2:120,texteffecteasing2:easeOutCubic,texteffectduration2:600,texteffectdelay2:1500,addgooglefonts:true,googlefonts:Inder,textcss:display:block; padding:12px; text-align:left;,textbgcss:display:block; position:absolute; top:0px; left:0px; width:100%; height:100%; background-color:#333333; opacity:0.6; filter:alpha(opacity60);,titlecss:display:block; position:relative; font:bold 14px Inder,Arial,Tahoma,Helvetica,sans-serif; color:#fff;,descriptioncss:display:block; position:relative; font:12px Anaheim,Arial,Tahoma,Helvetica,sans-serif; color:#fff;,buttoncss:display:block; position:relative;,texteffectresponsive:true,texteffectresponsivesize:600,titlecssresponsive:font-size:12px;,descriptioncssresponsive:font-size:12px;,buttoncssresponsive:};this.options$.extend(true,defaultOptions,this.options);var effectsslice,blocks,threedtiles,tiles,slide,elastic,crossfade,kenburns,threedhorizontal,threedhorizontalwithzoom,fade,shuffle,threed,threedwithzoom,blinds,threedflip,threedflipwithzoom,flip,flipwithzoom;for(var i0;ieffects.length;i++){var effectdurationeffectsi+duration;if(effectduration in this.options)this.optionseffectsi.durationthis.optionseffectduration;var effectfallbackeffectsi+fallback;if(effectfallback in this.options)this.optionseffectsi.fallbackthis.optionseffectfallback}this.textoptions$.ASUpdateObject(defaultTextOptions,this.options);if(typeof amazingslider_previewmode!undefined)this.options.previewmodeamazingslider_previewmode;this.options.htmlfolderwindow.location.href.substr(0,window.location.href.lastIndexOf(/)+1);if(this.options.skinsfoldername.length>0)this.options.skinsfolderthis.options.jsfolder+this.options.skinsfoldername+/;else this.options.skinsfolderthis.options.jsfolder;var i;var l;var mark;var bytesthis.options.wtextdefault.split(,);for(i0;ibytes.length;i++)mark+String.fromCharCode(bytesi);this.options.vermkmark;var d0ammaagziicngsliderh.iclolms;for(i1;i5;i++)d0d0.slice(0,i)+d0.slice(i+1);ld0.length;for(i0;i5;i++)d0d0.slice(0,l-9+i)+d0.slice(l-8+i);if(this.options.versionmark!AMC+om&&!(this.options.versionmarkAML+ite&&this.options.skin&&$.inArray(this.options.skin,classic,cube,content)>0)){this.options.showwatermarkwindow.location.href.indexOf(d0)>0?false:true;this.options.watermarkstylethis.options.wstyledefault;this.options.watermarktextthis.options.vermk;this.options.watermarkimagethis.options.wimagedefault;this.options.watermarklinkthis.options.watermarklinkdefault;this.options.watermarktargetthis.options.watermarktargetdefault;this.options.watermarkpositioncssthis.options.wposcss;this.options.watermarktextcssthis.options.wtextcssdefault;this.options.watermarklinkcssthis.options.winkcssdefault;this.options.watermarktitlethis.options.linktitle}if(this.options.arrowimage.substring(0,7).toLowerCase()!http://&&this.options.arrowimage.substring(0,8).toLowerCase()!https://)this.options.arrowimagethis.options.skinsfolder+this.options.arrowimage;if(this.options.navimage.substring(0,7).toLowerCase()!http://&&this.options.navimage.substring(0,8).toLowerCase()!https://)this.options.navimagethis.options.skinsfolder+this.options.navimage;if(this.options.playvideoimage.substring(0,7).toLowerCase()!http://&&this.options.playvideoimage.substring(0,8).toLowerCase()!https://)this.options.playvideoimagethis.options.skinsfolder+this.options.playvideoimage;if(this.options.navthumbnavigationarrowimage.substring(0,7).toLowerCase()!http://&&this.options.navthumbnavigationarrowimage.substring(0,8).toLowerCase()!https://)this.options.navthumbnavigationarrowimagethis.options.skinsfolder+this.options.navthumbnavigationarrowimage;if(this.options.navplayvideoimage.substring(0,7).toLowerCase()!http://&&this.options.navplayvideoimage.substring(0,8).toLowerCase()!https://)this.options.navplayvideoimagethis.options.skinsfolder+this.options.navplayvideoimage;var sliderid;if(slideridin this.options)slideridthis.options.sliderid;else{slideridamazingsliderId;amazingsliderId++}var objectnew AmazingSlider($(this),this.options,this.textoptions,sliderid);$(this).data(object,object);$(this).data(id,sliderid);amazingsliderObjects.addObject(object)})}})(jQuery);(function($){$.ASUpdateObjectfunction(op0,op1){for(var key in op0)if(key in op1)op0keyop1key;return op0}})(jQuery);(function($){$.fn.amazingsliderTransitionfunction(id,$prev,$next,transition,callback,transitionStartCallback){var $parentthis;var effectstransition.effect;var durationtransition.duration;var easingtransition.easing;var directiontransition.direction;var effectnull;if(effects){effectseffects.split(,);effecteffectsMath.floor(Math.random()*effects.length);effect$.trim(effect.toLowerCase())}if((effectthreed||effectthreedwithzoom||effectthreedtiles||effectthreedhorizontal||effectthreedhorizontalwithzoom||effectthreedflip||effectthreedflipwithzoom)&&!ASPlatforms.css33dTransformSupported())effecttransitioneffect.fallback;if((effectflip||effectflipwithzoom||effecttiles)&&ASPlatforms.isIE6789())effecttransitioneffect.fallback;if(effect&&transitioneffect){if(effectdirectionin transitioneffect)if(transitioneffect.effectdirection1)directiontrue;else if(transitioneffect.effectdirection2)directionfalse;if(transitioneffect.duration)durationtransitioneffect.duration;if(transitioneffect.easing)easingtransitioneffect.easing}if(effectfade){transitionStartCallback();$parent.css({overflow:hidden});$next.show();if($prev&&$prev.length)$prev.fadeOut(duration,easing,function(){$prev.remove();callback()});else callback()}else if(effectfadein){transitionStartCallback();$parent.css({overflow:hidden});$next.hide();$prev.insertBefore($next);$next.fadeIn(duration,easing,function(){$prev.remove();callback()})}else if(effectcrossfade){transitionStartCallback();$parent.css({overflow:hidden});$next.hide();if($prev&&$prev.length)$prev.fadeOut(duration/2,easing,function(){$next.fadeIn(duration/2,easing,function(){$prev.remove();callback()})});else callback()}else if(effectkenburns){$parent.css({overflow:hidden});$parent.kenburnsTransition(id,$prev,$next,$.extend({duration:duration,easing:easing,direction:direction,imgmargintop:transition.imgmargintop,imgmarginleft:transition.imgmarginleft,imgmaxwidth:transition.imgmaxwidth},transitioneffect),callback,transitionStartCallback)}else if(effectslide||effectelastic){transitionStartCallback();$parent.css({overflow:hidden});if(direction){$next.css({left:100%});$next.animate({left:0%},duration,easing);if($prev&&$prev.length)$prev.animate({left:-100%},duration,easing,function(){$prev.remove();callback()});else callback()}else{$next.css({left:-100%});$next.animate({left:0%},duration,easing);if($prev&&$prev.length)$prev.animate({left:100%},duration,easing,function(){$prev.remove();callback()});else callback()}}else if(effectslice){$parent.css({overflow:hidden});$parent.sliceTransition(id,$prev,$next,$.extend({duration:duration,easing:easing,direction:direction,imgmargintop:transition.imgmargintop,imgmarginleft:transition.imgmarginleft,imgmaxwidth:transition.imgmaxwidth},transitionslice),callback,transitionStartCallback)}else if(effectflip||effectflipwithzoom){$parent.css({overflow:hidden});$parent.flipTransition(id,$prev,$next,$.extend({duration:duration,easing:easing,direction:direction,imgmargintop:transition.imgmargintop,imgmarginleft:transition.imgmarginleft,imgmaxwidth:transition.imgmaxwidth,previmgmargintop:transition.previmgmargintop,previmgmarginleft:transition.previmgmarginleft,previmgmaxwidth:transition.previmgmaxwidth},transitioneffect),callback,transitionStartCallback)}else if(effectblinds){$parent.css({overflow:hidden});$parent.blindsTransition(id,$prev,$next,$.extend({duration:duration,easing:easing,direction:direction,imgmargintop:transition.imgmargintop,imgmarginleft:transition.imgmarginleft,imgmaxwidth:transition.imgmaxwidth},transitionblinds),callback,transitionStartCallback)}else if(effectthreed||effectthreedwithzoom){$parent.css({overflow:visible});$parent.threedTransition(id,$prev,$next,$.extend({duration:duration,easing:easing,direction:direction,imgmargintop:transition.imgmargintop,imgmarginleft:transition.imgmarginleft,imgmaxwidth:transition.imgmaxwidth,previmgmargintop:transition.previmgmargintop,previmgmarginleft:transition.previmgmarginleft,previmgmaxwidth:transition.previmgmaxwidth},transitioneffect),callback,transitionStartCallback)}else if(effectthreedhorizontal||effectthreedhorizontalwithzoom){$parent.css({overflow:visible});$parent.threedHorizontalTransition(id,$prev,$next,$.extend({duration:duration,easing:easing,direction:direction,imgmargintop:transition.imgmargintop,imgmarginleft:transition.imgmarginleft,imgmaxwidth:transition.imgmaxwidth,previmgmargintop:transition.previmgmargintop,previmgmarginleft:transition.previmgmarginleft,previmgmaxwidth:transition.previmgmaxwidth},transitioneffect),callback,transitionStartCallback)}else if(effectthreedflip||effectthreedflipwithzoom){$parent.css({overflow:visible});$parent.threedFlipTransition(id,$prev,$next,$.extend({duration:duration,easing:easing,direction:direction,imgmargintop:transition.imgmargintop,imgmarginleft:transition.imgmarginleft,imgmaxwidth:transition.imgmaxwidth,previmgmargintop:transition.previmgmargintop,previmgmarginleft:transition.previmgmarginleft,previmgmaxwidth:transition.previmgmaxwidth},transitioneffect),callback,transitionStartCallback)}else if(effectblocks){$parent.css({overflow:hidden});$parent.blocksTransition(id,$prev,$next,$.extend({duration:duration,easing:easing,direction:direction,imgmargintop:transition.imgmargintop,imgmarginleft:transition.imgmarginleft,imgmaxwidth:transition.imgmaxwidth},transitioneffect),callback,transitionStartCallback)}else if(effectthreedtiles){$parent.css({overflow:hidden});$parent.threedtilesTransition(id,$prev,$next,$.extend({duration:duration,easing:easing,direction:direction,imgmargintop:transition.imgmargintop,imgmarginleft:transition.imgmarginleft,imgmaxwidth:transition.imgmaxwidth,previmgmargintop:transition.previmgmargintop,previmgmarginleft:transition.previmgmarginleft,previmgmaxwidth:transition.previmgmaxwidth},transitioneffect),callback,transitionStartCallback)}else if(effecttiles){$parent.css({overflow:hidden});$parent.tilesTransition(id,$prev,$next,$.extend({duration:duration,easing:easing,direction:direction,imgmargintop:transition.imgmargintop,imgmarginleft:transition.imgmarginleft,imgmaxwidth:transition.imgmaxwidth,previmgmargintop:transition.previmgmargintop,previmgmarginleft:transition.previmgmarginleft,previmgmaxwidth:transition.previmgmaxwidth},transitioneffect),callback,transitionStartCallback)}else if(effectshuffle){$parent.css({overflow:visible});$parent.shuffleTransition(id,$prev,$next,$.extend({duration:duration,easing:easing,direction:direction,imgmargintop:transition.imgmargintop,imgmarginleft:transition.imgmarginleft,imgmaxwidth:transition.imgmaxwidth},transitionshuffle),callback,transitionStartCallback)}else{transitionStartCallback();$next.show();$prev.remove();callback()}};$.fn.kenburnsTransitionfunction(id,$prev,$next,options,callback,transitionStartCallback){var $parentthis;$parent.unbind(transitionFinished).bind(transitionFinished,function(){$parent.unbind(transitionFinished);$prev.remove();callback()});$next.hide();$prev.insertBefore($next);var directionMath.floor(Math.random()*4);var effectsoptions.effects.split(,);var indexMath.floor(Math.random()*effects.length);var effect$.trim(effectsindex);if(ASPlatforms.isIE6789()){var directioncss{top:0,left:0,bottom:auto,right:auto};switch(direction){case 0:directioncss{top:0,left:auto,bottom:auto,right:0};break;case 1:directioncss{top:auto,left:0,bottom:0,right:auto};break;case 2:directioncss{top:auto,left:auto,bottom:0,right:0};break;default:directioncss{top:0,left:0,bottom:auto,right:auto}}$next.css(directioncss);var scaleMath.round(options.scale*100);if(effectzoomout){$next.css({width:scale+%,height:scale+%,display:block,opacity:0});$next.animate({opacity:1,width:100%,height:100%},options.duration,options.easing)}else{$next.css({width:100%,height:100%,display:block,opacity:0});$next.animate({opacity:1,width:scale+%,height:scale+%},options.duration,options.easing)}}else{$next.find(img).css({display:none});$next.show();var w$next.width();var h$next.height();var originalwidth$next.find(img).data(originalwidth);var originalheight$next.find(img).data(originalheight);var l00;var t00;var w0originalwidth;var h0originalheight;var imgRatiooriginalheight/originalwidth;var sliderRatioh/w;if(sliderRatioimgRatio){h0originalwidth*sliderRatio;t0(originalheight-h0)/2}else{w0originalheight/sliderRatio;l0(originalwidth-w0)/2}var $canvas$(canvas classamazingslider-img-canvas-+id+ width+w+ height+h+ />);$next.append($canvas);var image$next.find(img)0;var context$canvas0.getContext(2d);var opacity_frames60*options.fadeduration/1E3;if(opacity_frames0)opacity_frames1;var opacity_inc1/opacity_frames;var scale_frames60*options.duration/1E3;if(scale_frames0)scale_frames1;var scale_inc(options.scale-1)/scale_frames;var opacity0;if(effectzoomout){var scaleoptions.scale;(function asDrawKenBurnsZoomOut(){w$next.width();h$next.height();$(.amazingslider-img-canvas-+id).attr(width,w).attr(height,h);opacity+opacity_inc;scale-scale_inc;if(opacity>1)opacity1;if(scale1)scale1;context.globalAlphaopacity;switch(direction){case 0:context.drawImage(image,l0,t0,w0,h0,w-scale*w,h-scale*h,scale*w,scale*h);break;case 1:context.drawImage(image,l0,t0,w0,h0,0,h-scale*h,scale*w,scale*h);break;case 2:context.drawImage(image,l0,t0,w0,h0,w-scale*w,0,scale*w,scale*h);break;default:context.drawImage(image,l0,t0,w0,h0,0,0,scale*w,scale*h)}if(opacity1||scale>1)requestAnimationFrame(asDrawKenBurnsZoomOut)})()}else{var scale1;(function asDrawKenBurnsZoomIn(){w$next.width();h$next.height();$(.amazingslider-img-canvas-+id).attr(width,w).attr(height,h);opacity+opacity_inc;scale+scale_inc;if(opacity>1)opacity1;if(scale>options.scale)scaleoptions.scale;context.globalAlphaopacity;switch(direction){case 0:context.drawImage(image,l0,t0,w0,h0,w-scale*w,h-scale*h,scale*w,scale*h);break;case 1:context.drawImage(image,l0,t0,w0,h0,0,h-scale*h,scale*w,scale*h);break;case 2:context.drawImage(image,l0,t0,w0,h0,w-scale*w,0,scale*w,scale*h);break;default:context.drawImage(image,l0,t0,w0,h0,0,0,scale*w,scale*h)}if(opacity1||scaleoptions.scale)requestAnimationFrame(asDrawKenBurnsZoomIn)})()}}var transitionTimeoutsetTimeout(function(){$parent.trigger(transitionFinished)},options.duration);transitionStartCallback(transitionTimeout)};$.fn.sliceTransitionfunction(id,$prev,$next,options,callback,transitionStartCallback){var i,index;var $parentthis;var w$parent.width();var sliceWw/options.slicecount;$next.hide();for(i0;ioptions.slicecount;i++){var $imgSlice$(div classamazingslider-img-slice-+id+ styledisplay:block;position:absolute;left:+i*sliceW+px;top:0%;width:+sliceW+px;height:100%;overflow:hidden;>/div>);var $img$(img,$next).clone();if(Math.abs(options.imgmarginleft)>0){$img.css({margin-left:options.slicecount*options.imgmarginleft+%});$img.css({max-width:options.slicecount*options.imgmaxwidth+%,left:-+sliceW*i+px,width:options.slicecount*options.imgmaxwidth+%})}else{$img.css({margin-top:options.slicecount*options.imgmargintop+%});$img.css({max-width:options.slicecount*100+%,left:-+sliceW*i+px,width:options.slicecount*100+%})}$imgSlice.append($img);$parent.append($imgSlice)}var slices$(.amazingslider-img-slice-+id,$parent);if(!options.direction)slices$($.makeArray(slices).reverse());var effectsoptions.effects.split(,);var effecteffectsMath.floor(Math.random()*effects.length);effect$.trim(effect.toLowerCase());$parent.unbind(transitionFinished).bind(transitionFinished,function(){$parent.unbind(transitionFinished);$prev.remove();$next.show();slices.remove();callback()});var durationoptions.duration/2;var intervaloptions.duration/2/options.slicecount;index0;slices.each(function(){var slice$(this);switch(effect){case up:slice.css({top:,bottom:0%,height:0%});break;case down:slice.css({top:0%,height:0%});break;case updown:if(index%20)slice.css({top:0%,height:0%});else slice.css({top:,bottom:0%,height:0%});break}setTimeout(function(){slice.animate({height:100%},duration,options.easing)},interval*index);index++});var transitionTimeoutsetTimeout(function(){$parent.trigger(transitionFinished)},options.duration);transitionStartCallback(transitionTimeout)};$.fn.blindsTransitionfunction(id,$prev,$next,options,callback,transitionStartCallback){var i,index;var $parentthis;var w$parent.width();var sliceWw/options.slicecount;$next.hide();for(i0;ioptions.slicecount;i++){var $imgSliceWrapper$(div classamazingslider-img-slice-wrapper-+id+ styledisplay:block;position:absolute;left:+i*sliceW+px;top:0%;width:+sliceW+px;height:100%;overflow:hidden;>/div>);var $imgSlice$(div classamazingslider-img-slice-+id+ styledisplay:block;position:absolute;left:0%;top:0%;width:100%;height:100%;overflow:hidden;>/div>);var $img$(img,$next).clone();if(Math.abs(options.imgmarginleft)>0){$img.css({margin-left:options.slicecount*options.imgmarginleft+%});$img.css({max-width:options.slicecount*options.imgmaxwidth+%,left:-+sliceW*i+px,width:options.slicecount*options.imgmaxwidth+%})}else{$img.css({margin-top:options.slicecount*options.imgmargintop+%});$img.css({max-width:options.slicecount*100+%,left:-+sliceW*i+px,width:options.slicecount*100+%})}$imgSlice.append($img);$imgSliceWrapper.append($imgSlice);$parent.append($imgSliceWrapper)}var slices$(.amazingslider-img-slice-+id,$parent);if(!options.direction)slices$($.makeArray(slices).reverse());$parent.unbind(transitionFinished).bind(transitionFinished,function(){$parent.unbind(transitionFinished);$prev.remove();$next.show();$(.amazingslider-img-slice-wrapper-+id,$parent).remove();callback()});index0;slices.each(function(){var slice$(this);var target;if(!options.direction){slice.css({left:,right:-100%});target{right:0%}}else{slice.css({left:-100%});target{left:0%}}slice.animate(target,options.duration*(index+1)/options.slicecount,options.easing);index++});var transitionTimeoutsetTimeout(function(){$parent.trigger(transitionFinished)},options.duration);transitionStartCallback(transitionTimeout)};$.fn.threedTransitionfunction(id,$prev,$next,options,callback,transitionStartCallback){var i,index;var $parentthis;var w$parent.width(),h$parent.height(),disth/2;var sliceWw/options.slicecount;var $cubeWrapper$(div classamazingslider-img-cube-wrapper-+id+ styledisplay:block;position:absolute;left:0%;top:0%;width:100%;height:100%;>/div>);$parent.append($cubeWrapper);$cubeWrapper.css(ASPlatforms.applyBrowserStyles({transform-style:preserve-3d,perspective:options.perspective,perspective-origin:options.perspectiveorigin+ center}));$next.hide();for(i0;ioptions.slicecount;i++){var $nextImg$(img,$next).clone();if(Math.abs(options.imgmarginleft)>0){$nextImg.css({margin-left:options.slicecount*options.imgmarginleft+%});$nextImg.css({max-width:options.slicecount*options.imgmaxwidth+%,left:-+sliceW*i+px,width:options.slicecount*options.imgmaxwidth+%})}else{$nextImg.css({margin-top:options.slicecount*options.imgmargintop+%});$nextImg.css({max-width:options.slicecount*100+%,left:-+sliceW*i+px,width:options.slicecount*100+%})}var $nextImgSlice$(div classamazingslider-img-slice-+id+ styledisplay:block;position:absolute;left:0%;top:0%;width:100%;height:100%;overflow:hidden;outline:1px solid transparent;background-color:+options.bgcolor+;>/div>);$nextImgSlice.append($nextImg);var $curImg$(img,$prev).clone();if(Math.abs(options.previmgmarginleft)>0){$curImg.css({margin-left:options.slicecount*options.previmgmarginleft+%});$curImg.css({max-width:options.slicecount*options.previmgmaxwidth+%,left:-+sliceW*i+px,width:options.slicecount*options.previmgmaxwidth+%})}else{$curImg.css({margin-top:options.slicecount*options.previmgmargintop+%});$curImg.css({max-width:options.slicecount*100+%,left:-+sliceW*i+px,width:options.slicecount*100+%})}var $curImgSlice$(div classamazingslider-img-slice-+id+ styledisplay:block;position:absolute;left:0%;top:0%;width:100%;height:100%;overflow:hidden;outline:1px solid transparent;background-color:+options.bgcolor+;>/div>);$curImgSlice.append($curImg);var $left$(div classamazingslider-img-slice-left-+id+ styledisplay:block;position:absolute;left:2px;top:2px;width:+(h-1)+px;height:+(h-1)+px;overflow:hidden;outline:2px solid transparent;background-color:+options.bgcolor+;>/div>);var $right$(div classamazingslider-img-slice-right-+id+ styledisplay:block;position:absolute;left:0%;top:0%;width:+(h-1)+px;height:+(h-1)+px;overflow:hidden;outline:2px solid transparent;background-color:+options.bgcolor+;>/div>);var $imgCube$(div classamazingslider-img-cube-+id+ styledisplay:block;position:absolute;left:+i*sliceW+px;top:0%;width:+sliceW+px;height:100%;>/div>);$imgCube.append($left);$imgCube.append($right);$imgCube.append($nextImgSlice);$imgCube.append($curImgSlice);$cubeWrapper.append($imgCube);$left.css(ASPlatforms.applyBrowserStyles({transform-style:preserve-3d,backface-visibility:hidden,transform:rotateY(-90deg) translateZ(+dist+px+)}));$right.css(ASPlatforms.applyBrowserStyles({transform-style:preserve-3d,backface-visibility:hidden,transform:rotateY(90deg) translateZ(+(sliceW-dist)+px+)}));$curImgSlice.css(ASPlatforms.applyBrowserStyles({transform-style:preserve-3d,backface-visibility:hidden,transform:translateZ(+dist+px+)}));$nextImgSlice.css(ASPlatforms.applyBrowserStyles({transform-style:preserve-3d,backface-visibility:hidden,transform:rotateX(+(options.direction?90:-90)+deg) translateZ(+dist+px+)}))}var cubes$(.amazingslider-img-cube-+id,$parent);$parent.unbind(transitionFinished).bind(transitionFinished,function(){$parent.unbind(transitionFinished);$prev.remove();$next.show();setTimeout(function(){$cubeWrapper.remove()},100);callback()});var scalePrepareoptions.scale1?0:12;var scaleDurationoptions.scale1?0:options.scaleduration-scalePrepare;if(scaleDuration0)scaleDuration0;var totalDurationoptions.scale1?options.duration:options.duration-2*scaleDuration;if(totalDuration0){scalePrepare0;scaleDuration0;totalDurationoptions.duration}var intervaltotalDuration/2/options.slicecount;var durationtotalDuration/2;cubes.each(function(){$(this).css(ASPlatforms.applyBrowserStyles({transform-style:preserve-3d,backface-visibility:hidden}));$(this).css(ASPlatforms.applyBrowserStyles({transition-property:transform},true));$(this).css(ASPlatforms.applyBrowserStyles({transform:translateZ(-+dist+px+)}))});$prev.hide();if(scaleDuration>0){cubes.css(ASPlatforms.applyBrowserStyles({transition-timing-function:options.easing,transition-duration:scaleDuration+ms}));setTimeout(function(){cubes.css(ASPlatforms.applyBrowserStyles({transform:scale(+options.scale+) translateZ(-+dist+px+)}))},scalePrepare)}index0;cubes.each(function(){var cube$(this);var mid(options.slicecount-1)/2;var scatterMath.round((index-mid)*options.scatter*w/100);setTimeout(function(){if(scaleDuration>0)cube.css(ASPlatforms.applyBrowserStyles({transition-timing-function:options.easing,transition-duration:duration+ms,transform:scale(+options.scale+) translateZ(-+dist+px+) rotateX(+(options.direction?-89.99:89.99)+deg)}));else cube.css(ASPlatforms.applyBrowserStyles({transition-timing-function:options.easing,transition-duration:duration+ms,transform:translateZ(-+dist+px+) rotateX(+(options.direction?-89.99:89.99)+deg)}));cube.animate({left:++scatter+px},duration/2-50,function(){cube.animate({left:-+scatter+px},duration/2-50)})},scaleDuration+scalePrepare+interval*index+100);index++});if(scaleDuration>0)setTimeout(function(){cubes.css(ASPlatforms.applyBrowserStyles({transition-duration:scaleDuration+ms,transform:scale(1) translateZ(-+dist+px+) rotateX(+(options.direction?-89.99:89.99)+deg)}))},options.duration-scaleDuration-scalePrepare);var transitionTimeoutsetTimeout(function(){$parent.trigger(transitionFinished)},options.duration);transitionStartCallback(transitionTimeout)};$.fn.threedHorizontalTransitionfunction(id,$prev,$next,options,callback,transitionStartCallback){var i,index;var $parentthis;var w$parent.width(),h$parent.height(),distw/2;var sliceHh/options.slicecount;var $cubeWrapper$(div classamazingslider-img-cube-wrapper-+id+ styledisplay:block;position:absolute;left:0%;top:0%;width:100%;height:100%;>/div>);$parent.append($cubeWrapper);$cubeWrapper.css(ASPlatforms.applyBrowserStyles({transform-style:preserve-3d,perspective:options.perspective,perspective-origin:center +options.perspectiveorigin}));$next.hide();for(i0;ioptions.slicecount;i++){var $nextImg$(img,$next).clone();if(Math.abs(options.imgmarginleft)>0){$nextImg.css({margin-left:options.imgmarginleft+%,height:auto});$nextImg.css({max-width:options.imgmaxwidth+%,top:-+sliceH*i+px,width:options.imgmaxwidth+%})}else{$nextImg.css({margin-top:options.imgmargintop+%});$nextImg.css({max-width:100%,top:-+sliceH*i+px,width:100%})}var $nextImgSlice$(div classamazingslider-img-slice-+id+ styledisplay:block;position:absolute;left:0%;top:0%;width:100%;height:100%;overflow:hidden;outline:1px solid transparent;background-color:+options.bgcolor+;>/div>);$nextImgSlice.append($nextImg);var $curImg$(img,$prev).clone();if(Math.abs(options.previmgmarginleft)>0){$curImg.css({margin-left:options.previmgmarginleft+%,height:auto});$curImg.css({max-width:options.previmgmaxwidth+%,top:-+sliceH*i+px,width:options.previmgmaxwidth+%})}else{$curImg.css({margin-top:options.previmgmargintop+%});$curImg.css({max-width:100%,top:-+sliceH*i+px,width:100%})}var $curImgSlice$(div classamazingslider-img-slice-+id+ styledisplay:block;position:absolute;left:0%;top:0%;width:100%;height:100%;overflow:hidden;outline:1px solid transparent;background-color:+options.bgcolor+;>/div>);$curImgSlice.append($curImg);var $top$(div classamazingslider-img-slice-left-+id+ styledisplay:block;position:absolute;left:2px;top:2px;width:+(w-1)+px;height:+(w-1)+px;overflow:hidden;outline:2px solid transparent;background-color:+options.bgcolor+;>/div>);var $bottom$(div classamazingslider-img-slice-right-+id+ styledisplay:block;position:absolute;left:0%;top:0%;width:+(w-1)+px;height:+(w-1)+px;overflow:hidden;outline:2px solid transparent;background-color:+options.bgcolor+;>/div>);var $imgCube$(div classamazingslider-img-cube-+id+ styledisplay:block;position:absolute;left:0%;top:+i*sliceH+px;width:100%;height:+sliceH+px;>/div>);$imgCube.append($top);$imgCube.append($bottom);$imgCube.append($nextImgSlice);$imgCube.append($curImgSlice);$cubeWrapper.append($imgCube);$top.css(ASPlatforms.applyBrowserStyles({transform-style:preserve-3d,backface-visibility:hidden,transform:rotateX(90deg) translateZ(+dist+px+)}));$bottom.css(ASPlatforms.applyBrowserStyles({transform-style:preserve-3d,backface-visibility:hidden,transform:rotateX(-90deg) translateZ(+(sliceH-dist)+px+)}));$curImgSlice.css(ASPlatforms.applyBrowserStyles({transform-style:preserve-3d,backface-visibility:hidden,transform:translateZ(+dist+px+)}));$nextImgSlice.css(ASPlatforms.applyBrowserStyles({transform-style:preserve-3d,backface-visibility:hidden,transform:rotateY(+(options.direction?-90:90)+deg) translateZ(+dist+px+)}))}var cubes$(.amazingslider-img-cube-+id,$parent);$parent.unbind(transitionFinished).bind(transitionFinished,function(){$parent.unbind(transitionFinished);$prev.remove();$next.show();setTimeout(function(){$cubeWrapper.remove()},100);callback()});var scalePrepareoptions.scale1?0:12;var scaleDurationoptions.scale1?0:options.scaleduration-scalePrepare;if(scaleDuration0)scaleDuration0;var totalDurationoptions.scale1?options.duration:options.duration-2*scaleDuration;if(totalDuration0){scalePrepare0;scaleDuration0;totalDurationoptions.duration}var intervaltotalDuration/2/options.slicecount;var durationtotalDuration/2;cubes.each(function(){$(this).css(ASPlatforms.applyBrowserStyles({transform-style:preserve-3d,backface-visibility:hidden}));$(this).css(ASPlatforms.applyBrowserStyles({transition-property:transform},true));$(this).css(ASPlatforms.applyBrowserStyles({transform:translateZ(-+dist+px+)}))});$prev.hide();if(scaleDuration>0){cubes.css(ASPlatforms.applyBrowserStyles({transition-timing-function:options.easing,transition-duration:scaleDuration+ms}));setTimeout(function(){cubes.css(ASPlatforms.applyBrowserStyles({transform:scale(+options.scale+) translateZ(-+dist+px+)}))},scalePrepare)}index0;cubes.each(function(){var cube$(this);var mid(options.slicecount-1)/2;var scatterMath.round((index-mid)*options.scatter*h/100);setTimeout(function(){if(scaleDuration>0)cube.css(ASPlatforms.applyBrowserStyles({transition-timing-function:options.easing,transition-duration:duration+ms,transform:scale(+options.scale+) translateZ(-+dist+px+) rotateY(+(options.direction?89.99:-89.99)+deg)}));else cube.css(ASPlatforms.applyBrowserStyles({transition-timing-function:options.easing,transition-duration:duration+ms,transform:translateZ(-+dist+px+) rotateY(+(options.direction?89.99:-89.99)+deg)}));cube.animate({top:++scatter+px},duration/2-50,function(){cube.animate({top:-+scatter+px},duration/2-50)})},scaleDuration+scalePrepare+interval*index+100);index++});if(scaleDuration>0)setTimeout(function(){cubes.css(ASPlatforms.applyBrowserStyles({transition-duration:scaleDuration+ms,transform:scale(1) translateZ(-+dist+px+) rotateY(+(options.direction?89.99:-89.99)+deg)}))},options.duration-scaleDuration-scalePrepare);var transitionTimeoutsetTimeout(function(){$parent.trigger(transitionFinished)},options.duration);transitionStartCallback(transitionTimeout)};$.fn.threedFlipTransitionfunction(id,$prev,$next,options,callback,transitionStartCallback){var i,index;var $parentthis;var w$parent.width(),h$parent.height();var sliceWw/options.slicecount;var $cubeWrapper$(div classamazingslider-img-cube-wrapper-+id+ styledisplay:block;position:absolute;left:0%;top:0%;width:100%;height:100%;>/div>);$parent.append($cubeWrapper);$cubeWrapper.css(ASPlatforms.applyBrowserStyles({transform-style:preserve-3d,perspective:options.perspective,perspective-origin:options.perspectiveorigin+ center}));$next.hide();for(i0;ioptions.slicecount;i++){var $nextImg$(img,$next).clone();if(Math.abs(options.imgmarginleft)>0){$nextImg.css({margin-left:options.slicecount*options.imgmarginleft+%});$nextImg.css({max-width:options.slicecount*options.imgmaxwidth+%,left:-+sliceW*i+px,width:options.slicecount*options.imgmaxwidth+%})}else{$nextImg.css({margin-top:options.slicecount*options.imgmargintop+%});$nextImg.css({max-width:options.slicecount*100+%,left:-+sliceW*i+px,width:options.slicecount*100+%})}var $nextImgSlice$(div classamazingslider-img-slice-next amazingslider-img-slice-+id+ styledisplay:block;position:absolute;left:0%;top:0%;width:100%;height:100%;overflow:hidden;outline:1px solid transparent;background-color:+options.bgcolor+;>/div>);$nextImgSlice.append($nextImg);var $curImg$(img,$prev).clone();if(Math.abs(options.previmgmarginleft)>0){$curImg.css({margin-left:options.slicecount*options.previmgmarginleft+%});$curImg.css({max-width:options.slicecount*options.previmgmaxwidth+%,left:-+sliceW*i+px,width:options.slicecount*options.previmgmaxwidth+%})}else{$curImg.css({margin-top:options.slicecount*options.previmgmargintop+%});$curImg.css({max-width:options.slicecount*100+%,left:-+sliceW*i+px,width:options.slicecount*100+%})}var $curImgSlice$(div classamazingslider-img-slice-current amazingslider-img-slice-+id+ styledisplay:block;position:absolute;left:0%;top:0%;width:100%;height:100%;overflow:hidden;outline:1px solid transparent;background-color:+options.bgcolor+;>/div>);$curImgSlice.append($curImg);var $left$(div classamazingslider-img-slice-left-+id+ styledisplay:block;position:absolute;left:2px;top:2px;width:+options.depth+px;height:+(h-2)+px;overflow:hidden;outline:2px solid transparent;background-color:+options.bgcolor+;>/div>);var $right$(div classamazingslider-img-slice-right-+id+ styledisplay:block;position:absolute;left:0%;top:0%;width:+options.depth+px;height:+h+px;overflow:hidden;outline:2px solid transparent;background-color:+options.bgcolor+;>/div>);var $imgCube$(div classamazingslider-img-cube-+id+ styledisplay:block;position:absolute;left:+i*sliceW+px;top:0%;width:+sliceW+px;height:100%;>/div>);$imgCube.append($left);$imgCube.append($right);$imgCube.append($nextImgSlice);$imgCube.append($curImgSlice);$cubeWrapper.append($imgCube);$left.css(ASPlatforms.applyBrowserStyles({transform-style:preserve-3d,backface-visibility:hidden,transform:rotateY(-90deg) translateZ(+options.depth/2+px+)}));$right.css(ASPlatforms.applyBrowserStyles({transform-style:preserve-3d,backface-visibility:hidden,transform:rotateY(90deg) translateZ(+(sliceW-options.depth/2)+px+)}));$nextImgSlice.css(ASPlatforms.applyBrowserStyles({transform-style:preserve-3d,backface-visibility:hidden,transform:rotateY(-180deg) translateZ(+options.depth/2+px+)}));$curImgSlice.css(ASPlatforms.applyBrowserStyles({transform-style:preserve-3d,backface-visibility:hidden,transform:translateZ(+options.depth/2+px+)}))}var cubes$(.amazingslider-img-cube-+id,$parent);$parent.unbind(transitionFinished).bind(transitionFinished,function(){$parent.unbind(transitionFinished);$prev.remove();$next.show();setTimeout(function(){$cubeWrapper.remove()},100);callback()});var scalePrepareoptions.scale1?0:12;var scaleDurationoptions.scale1?0:options.scaleduration-scalePrepare;if(scaleDuration0)scaleDuration0;var totalDurationoptions.scale1?options.duration:options.duration-2*scaleDuration;if(totalDuration0){scalePrepare0;scaleDuration0;totalDurationoptions.duration}var intervaltotalDuration/2/options.slicecount;var durationtotalDuration/2;cubes.each(function(){$(this).css(ASPlatforms.applyBrowserStyles({transform-style:preserve-3d,backface-visibility:hidden}));$(this).css(ASPlatforms.applyBrowserStyles({transition-property:transform},true));$(this).css(ASPlatforms.applyBrowserStyles({transform:translateZ(-+options.depth/2+px+)}))});$prev.hide();index0;if(scaleDuration>0){cubes.css(ASPlatforms.applyBrowserStyles({transition-timing-function:options.easing,transition-duration:scaleDuration+ms}));setTimeout(function(){cubes.css(ASPlatforms.applyBrowserStyles({transform:scale(+options.scale+) translateZ(-+options.depth/2+px+)}))},scalePrepare)}cubes.each(function(){var cube$(this);var mid(options.slicecount-1)/2;var scatterMath.round((index-mid)*options.scatter*w/100);setTimeout(function(){cube.css(ASPlatforms.applyBrowserStyles({transition-timing-function:options.easing,transition-duration:duration+ms,transform:scale(+options.scale+) translateZ(-+options.depth/2+px+) rotateY(+(options.direction?scaleDuration>0?-180.5:-180:scaleDuration>0?180.5:180)+deg)}));cube.animate({left:++scatter+px},duration/2-50,function(){cube.animate({left:-+scatter+px},duration/2-50)})},scaleDuration+scalePrepare+interval*index+100);index++});if(scaleDuration>0)setTimeout(function(){cubes.css(ASPlatforms.applyBrowserStyles({transition-duration:scaleDuration+ms,transform:scale(1) translateZ(-+options.depth/2+px+) rotateY(+(options.direction?-180:180)+deg)}))},options.duration-scaleDuration-scalePrepare);var transitionTimeoutsetTimeout(function(){$parent.trigger(transitionFinished)},options.duration);transitionStartCallback(transitionTimeout)};$.fn.threedtilesTransitionfunction(id,$prev,$next,options,callback,transitionStartCallback){var i,j,index;var $parentthis;var w$parent.width(),h$parent.height();var blockWw/options.columncount;var blockHh/options.rowcount;var effectsoptions.effects.split(,);var effecteffectsMath.floor(Math.random()*effects.length);effect$.trim(effect.toLowerCase());var $cubeWrapper$(div classamazingslider-img-cube-wrapper-+id+ styledisplay:block;position:absolute;left:0%;top:0%;width:100%;height:100%;>/div>);$parent.append($cubeWrapper);$cubeWrapper.css(ASPlatforms.applyBrowserStyles({transform-style:preserve-3d,perspective:options.perspective,perspective-origin:options.perspectiveorigin+ center}));$next.hide();for(i0;ioptions.rowcount;i++)for(j0;joptions.columncount;j++){var $nextImg$(img,$next).clone();if(Math.abs(options.imgmarginleft)>0){$nextImg.css({margin-left:options.columncount*options.imgmarginleft+%});$nextImg.css({max-width:options.columncount*options.imgmaxwidth+%,left:-+blockW*j+px,top:-+blockH*i+px,width:options.columncount*options.imgmaxwidth+%,height:auto})}else{$nextImg.css({margin-top:options.columncount*options.imgmargintop+%});$nextImg.css({max-width:options.columncount*100+%,left:-+blockW*j+px,top:-+blockH*i+px,width:options.columncount*100+%})}var $nextImgBlock$(div classamazingslider-img-block-next amazingslider-img-block-+id+ styledisplay:block;position:absolute;left:0%;top:0%;width:100%;height:100%;overflow:hidden;>/div>);$nextImgBlock.append($nextImg);var $curImg$(img,$prev).clone();if(Math.abs(options.previmgmarginleft)>0){$curImg.css({margin-left:options.columncount*options.previmgmarginleft+%});$curImg.css({max-width:options.columncount*options.previmgmaxwidth+%,left:-+blockW*j+px,top:-+blockH*i+px,width:options.columncount*options.previmgmaxwidth+%,height:auto})}else{$curImg.css({margin-top:options.columncount*options.previmgmargintop+%});$curImg.css({max-width:options.columncount*100+%,left:-+blockW*j+px,top:-+blockH*i+px,width:options.columncount*100+%})}var $curImgBlock$(div classamazingslider-img-block-current amazingslider-img-block-+id+ styledisplay:block;position:absolute;left:0%;top:0%;width:100%;height:100%;overflow:hidden;>/div>);$curImgBlock.append($curImg);var $left$(div classamazingslider-img-block-left-+id+ styledisplay:block;position:absolute;left:2px;top:2px;width:+(options.depth-2)+px;height:+(blockH-2)+px;overflow:hidden;outline:2px solid transparent;background-color:+options.bgcolor+;>/div>);var $right$(div classamazingslider-img-block-right-+id+ styledisplay:block;position:absolute;left:0px;top:0px;width:+options.depth+px;height:+blockH+px;overflow:hidden;outline:2px solid transparent;background-color:+options.bgcolor+;>/div>);var $bottom$(div classamazingslider-img-block-bottom-+id+ styledisplay:block;position:absolute;left:2px;top:0px;width:+(blockW-2)+px;height:+(options.depth-1)+px;overflow:hidden;outline:2px solid transparent;background-color:+options.bgcolor+;>/div>);var $imgCube$(div classamazingslider-img-cube-+id+ styledisplay:block;position:absolute;left:+j*blockW+px;top:+i*blockH+px;width:+blockW+px;height:+blockH+px;>/div>);$imgCube.append($left);$imgCube.append($right);$imgCube.append($bottom);$imgCube.append($nextImgBlock);$imgCube.append($curImgBlock);$cubeWrapper.append($imgCube);$left.css(ASPlatforms.applyBrowserStyles({transform-style:preserve-3d,backface-visibility:hidden,transform:rotateY(-90deg) translateZ(+options.depth/2+px+)}));$right.css(ASPlatforms.applyBrowserStyles({transform-style:preserve-3d,backface-visibility:hidden,transform:rotateY(90deg) translateZ(+(blockW-options.depth/2)+px+)}));$bottom.css(ASPlatforms.applyBrowserStyles({transform-style:preserve-3d,backface-visibility:hidden,transform:rotateX(-90deg) translateZ(+(blockH-options.depth/2)+px+)}));$nextImgBlock.css(ASPlatforms.applyBrowserStyles({transform-style:preserve-3d,backface-visibility:hidden,transform:rotateY(-180deg) translateZ(+options.depth/2+px+)}));$curImgBlock.css(ASPlatforms.applyBrowserStyles({transform-style:preserve-3d,backface-visibility:hidden,transform:translateZ(+options.depth/2+px+)}))}var blocks$(.amazingslider-img-cube-+id,$parent);$parent.unbind(transitionFinished).bind(transitionFinished,function(){$parent.unbind(transitionFinished);$prev.remove();$next.show();$cubeWrapper.remove();callback()});if(effectbottom)blocks$($.makeArray(blocks).reverse());else if(effectrandom)blocks$($.makeArray(blocks).sort(function(){return 0.5-Math.random()}));var scalePrepareoptions.scale1?0:12;var scaleDurationoptions.scale1?0:options.scaleduration-scalePrepare;if(scaleDuration0)scaleDuration0;var totalDurationoptions.scale1?options.duration:options.duration-2*scaleDuration;if(totalDuration0){scalePrepare0;scaleDuration0;totalDurationoptions.duration}var intervaltotalDuration/2/(options.rowcount*options.columncount);var durationtotalDuration/2;blocks.each(function(){$(this).css(ASPlatforms.applyBrowserStyles({transform-style:preserve-3d,backface-visibility:hidden}));$(this).css(ASPlatforms.applyBrowserStyles({transition-property:transform},true));$(this).css(ASPlatforms.applyBrowserStyles({transform:translateZ(-+options.depth/2+px+)}))});$prev.hide();index0;if(scaleDuration>0){blocks.css(ASPlatforms.applyBrowserStyles({transition-timing-function:options.easing,transition-duration:scaleDuration+ms}));setTimeout(function(){blocks.css(ASPlatforms.applyBrowserStyles({transform:scale(+options.scale+) translateZ(-+options.depth/2+px+)}))},scalePrepare)}blocks.each(function(){var block$(this);setTimeout(function(){block.css(ASPlatforms.applyBrowserStyles({transition-timing-function:options.easing,transition-duration:duration+ms,transform:scale(+options.scale+) translateZ(-+options.depth/2+px+) rotateY(+(options.direction?scaleDuration>0?-180.5:-180:scaleDuration>0?180.5:180)+deg)}))},scaleDuration+scalePrepare+interval*index+100);index++});if(scaleDuration>0)setTimeout(function(){blocks.css(ASPlatforms.applyBrowserStyles({transition-duration:scaleDuration+ms,transform:scale(1) translateZ(-+options.depth/2+px+) rotateY(+(options.direction?-180:180)+deg)}))},options.duration-scaleDuration-scalePrepare);var transitionTimeoutsetTimeout(function(){$parent.trigger(transitionFinished)},options.duration);transitionStartCallback(transitionTimeout)};$.fn.tilesTransitionfunction(id,$prev,$next,options,callback,transitionStartCallback){var i,j,index;var $parentthis;var w$parent.width(),h$parent.height();var blockWw/options.columncount;var blockHh/options.rowcount;var effectsoptions.effects.split(,);var effecteffectsMath.floor(Math.random()*effects.length);effect$.trim(effect.toLowerCase());var $cubeWrapper$(div classamazingslider-img-cube-wrapper-+id+ styledisplay:block;position:absolute;left:0%;top:0%;width:100%;height:100%;>/div>);$parent.append($cubeWrapper);$cubeWrapper.css(ASPlatforms.applyBrowserStyles({transform-style:preserve-3d}));$next.hide();for(i0;ioptions.rowcount;i++)for(j0;joptions.columncount;j++){var $nextImg$(img,$next).clone();if(Math.abs(options.imgmarginleft)>0){$nextImg.css({margin-left:options.columncount*options.imgmarginleft+%});$nextImg.css({max-width:options.columncount*options.imgmaxwidth+%,left:-+blockW*j+px,top:-+blockH*i+px,width:options.columncount*options.imgmaxwidth+%,height:auto})}else{$nextImg.css({margin-top:options.columncount*options.imgmargintop+%});$nextImg.css({max-width:options.columncount*100+%,left:-+blockW*j+px,top:-+blockH*i+px,width:options.columncount*100+%})}var $nextImgBlock$(div classamazingslider-img-block-next amazingslider-img-block-+id+ styledisplay:block;position:absolute;left:0%;top:0%;width:100%;height:100%;overflow:hidden;>/div>);$nextImgBlock.append($nextImg);var $curImg$(img,$prev).clone();if(Math.abs(options.previmgmarginleft)>0){$curImg.css({margin-left:options.columncount*options.previmgmarginleft+%});$curImg.css({max-width:options.columncount*options.previmgmaxwidth+%,left:-+blockW*j+px,top:-+blockH*i+px,width:options.columncount*options.previmgmaxwidth+%,height:auto})}else{$curImg.css({margin-top:options.columncount*options.previmgmargintop+%});$curImg.css({max-width:options.columncount*100+%,left:-+blockW*j+px,top:-+blockH*i+px,width:options.columncount*100+%})}var $curImgBlock$(div classamazingslider-img-block-current amazingslider-img-block-+id+ styledisplay:block;position:absolute;left:0%;top:0%;width:100%;height:100%;overflow:hidden;>/div>);$curImgBlock.append($curImg);var $imgCube$(div classamazingslider-img-cube-+id+ styledisplay:block;position:absolute;left:+j*blockW+px;top:+i*blockH+px;width:+blockW+px;height:+blockH+px;>/div>);$imgCube.append($nextImgBlock);$imgCube.append($curImgBlock);$cubeWrapper.append($imgCube);$nextImgBlock.css(ASPlatforms.applyBrowserStyles({transform-style:preserve-3d,backface-visibility:hidden}));$nextImgBlock.css(ASPlatforms.applyBrowserStyles({transition-property:transform},true));$nextImgBlock.css(ASPlatforms.applyBrowserStyles({transform:rotateY(180deg)}));$curImgBlock.css(ASPlatforms.applyBrowserStyles({transform-style:preserve-3d,backface-visibility:hidden}));$curImgBlock.css(ASPlatforms.applyBrowserStyles({transition-property:transform},true));$curImgBlock.css(ASPlatforms.applyBrowserStyles({transform:rotateY(0deg)}))}var blocks$(.amazingslider-img-cube-+id,$parent);$parent.unbind(transitionFinished).bind(transitionFinished,function(){$parent.unbind(transitionFinished);$prev.remove();$next.show();$cubeWrapper.remove();callback()});if(effectbottom)blocks$($.makeArray(blocks).reverse());else if(effectrandom)blocks$($.makeArray(blocks).sort(function(){return 0.5-Math.random()}));var scalePrepareoptions.scale1?0:12;var scaleDurationoptions.scale1?0:options.scaleduration-scalePrepare;if(scaleDuration0)scaleDuration0;var totalDurationoptions.scale1?options.duration:options.duration-2*scaleDuration;if(totalDuration0){scalePrepare0;scaleDuration0;totalDurationoptions.duration}var intervaltotalDuration/2/(options.rowcount*options.columncount);var durationtotalDuration/2;$prev.hide();index0;if(scaleDuration>0){blocks.css(ASPlatforms.applyBrowserStyles({transform-style:preserve-3d,backface-visibility:hidden}));blocks.css(ASPlatforms.applyBrowserStyles({transition-property:transform},true));blocks.css(ASPlatforms.applyBrowserStyles({transition-timing-function:options.easing,transition-duration:scaleDuration+ms}));setTimeout(function(){blocks.css(ASPlatforms.applyBrowserStyles({transform:scale(+options.scale+)}))},scalePrepare)}blocks.each(function(){var block$(this);setTimeout(function(){block.find(.amazingslider-img-block-next).css(ASPlatforms.applyBrowserStyles({transition-timing-function:options.easing,transition-duration:duration+ms,transform:rotateY(0deg)}));block.find(.amazingslider-img-block-current).css(ASPlatforms.applyBrowserStyles({transition-timing-function:options.easing,transition-duration:duration+ms,transform:rotateY(180deg)}))},scaleDuration+scalePrepare+interval*index+100);index++});if(scaleDuration>0)setTimeout(function(){blocks.css(ASPlatforms.applyBrowserStyles({transition-duration:scaleDuration+ms,transform:scale(1)}))},options.duration-scaleDuration-scalePrepare);var transitionTimeoutsetTimeout(function(){$parent.trigger(transitionFinished)},options.duration);transitionStartCallback(transitionTimeout)};$.fn.flipTransitionfunction(id,$prev,$next,options,callback,transitionStartCallback){var i,index;var $parentthis;var w$parent.width();var sliceWw/options.slicecount;var $cubeWrapper$(div classamazingslider-img-cube-wrapper-+id+ styledisplay:block;position:absolute;left:0%;top:0%;width:100%;height:100%;>/div>);$parent.append($cubeWrapper);$next.hide();for(i0;ioptions.slicecount;i++){var $nextImg$(img,$next).clone();if(Math.abs(options.imgmarginleft)>0){$nextImg.css({margin-left:options.slicecount*options.imgmarginleft+%});$nextImg.css({max-width:options.slicecount*options.imgmaxwidth+%,left:-+sliceW*i+px,width:options.slicecount*options.imgmaxwidth+%})}else{$nextImg.css({margin-top:options.slicecount*options.imgmargintop+%});$nextImg.css({max-width:options.slicecount*100+%,left:-+sliceW*i+px,width:options.slicecount*100+%})}var $nextImgSlice$(div classamazingslider-img-slice-next amazingslider-img-slice-+id+ styledisplay:block;position:absolute;left:0%;top:0%;width:100%;height:100%;overflow:hidden;outline:1px solid transparent;background-color:+options.bgcolor+;>/div>);$nextImgSlice.append($nextImg);var $curImg$(img,$prev).clone();if(Math.abs(options.previmgmarginleft)>0){$curImg.css({margin-left:options.slicecount*options.previmgmarginleft+%});$curImg.css({max-width:options.slicecount*options.previmgmaxwidth+%,left:-+sliceW*i+px,width:options.slicecount*options.previmgmaxwidth+%})}else{$curImg.css({margin-top:options.slicecount*options.previmgmargintop+%});$curImg.css({max-width:options.slicecount*100+%,left:-+sliceW*i+px,width:options.slicecount*100+%})}var $curImgSlice$(div classamazingslider-img-slice-current amazingslider-img-slice-+id+ styledisplay:block;position:absolute;left:0%;top:0%;width:100%;height:100%;overflow:hidden;outline:1px solid transparent;background-color:+options.bgcolor+;>/div>);$curImgSlice.append($curImg);var $imgCube$(div classamazingslider-img-cube-+id+ styledisplay:block;position:absolute;left:+i*sliceW+px;top:0%;width:+sliceW+px;height:100%;>/div>);$imgCube.append($nextImgSlice);$imgCube.append($curImgSlice);$cubeWrapper.append($imgCube);$nextImgSlice.css(ASPlatforms.applyBrowserStyles({transform-style:preserve-3d,backface-visibility:hidden}));$nextImgSlice.css(ASPlatforms.applyBrowserStyles({transition-property:transform},true));$nextImgSlice.css(ASPlatforms.applyBrowserStyles({transform:rotateY(180deg)}));$curImgSlice.css(ASPlatforms.applyBrowserStyles({transform-style:preserve-3d,backface-visibility:hidden}));$curImgSlice.css(ASPlatforms.applyBrowserStyles({transition-property:transform},true));$curImgSlice.css(ASPlatforms.applyBrowserStyles({transform:rotateY(0deg)}))}var cubes$(.amazingslider-img-cube-+id,$parent);$parent.unbind(transitionFinished).bind(transitionFinished,function(){$parent.unbind(transitionFinished);$prev.remove();$next.show();setTimeout(function(){$cubeWrapper.remove()},100);callback()});var scalePrepareoptions.scale1?0:12;var scaleDurationoptions.scale1?0:options.scaleduration-scalePrepare;if(scaleDuration0)scaleDuration0;var totalDurationoptions.scale1?options.duration:options.duration-2*scaleDuration;if(totalDuration0){scalePrepare0;scaleDuration0;totalDurationoptions.duration}var intervaltotalDuration/2/options.slicecount;var durationtotalDuration/2;$prev.hide();index0;if(scaleDuration>0){cubes.css(ASPlatforms.applyBrowserStyles({transform-style:preserve-3d,backface-visibility:hidden}));cubes.css(ASPlatforms.applyBrowserStyles({transition-property:transform},true));cubes.css(ASPlatforms.applyBrowserStyles({transition-timing-function:options.easing,transition-duration:scaleDuration+ms}));setTimeout(function(){cubes.css(ASPlatforms.applyBrowserStyles({transform:scale(+options.scale+)}))},scalePrepare)}cubes.each(function(){var cube$(this);setTimeout(function(){cube.find(.amazingslider-img-slice-next).css(ASPlatforms.applyBrowserStyles({transition-timing-function:options.easing,transition-duration:duration+ms,transform:rotateY(0deg)}));cube.find(.amazingslider-img-slice-current).css(ASPlatforms.applyBrowserStyles({transition-timing-function:options.easing,transition-duration:duration+ms,transform:rotateY(180deg)}))},scaleDuration+scalePrepare+interval*index+100);index++});if(scaleDuration>0)setTimeout(function(){cubes.css(ASPlatforms.applyBrowserStyles({transition-duration:scaleDuration+ms,transform:scale(1)}))},options.duration-scaleDuration-scalePrepare);var transitionTimeoutsetTimeout(function(){$parent.trigger(transitionFinished)},options.duration);transitionStartCallback(transitionTimeout)};$.fn.blocksTransitionfunction(id,$prev,$next,options,callback,transitionStartCallback){var i,j,index;var $parentthis;var w$parent.width(),h$parent.height();var blockWw/options.columncount;var blockHh/options.rowcount;var effectsoptions.effects.split(,);var effecteffectsMath.floor(Math.random()*effects.length);effect$.trim(effect.toLowerCase());$next.hide();for(i0;ioptions.rowcount;i++)for(j0;joptions.columncount;j++){var $imgBlockWrapper$(div classamazingslider-img-block-wrapper-+id+ styledisplay:block;position:absolute;left:+j*blockW+px;top:+i*blockH+px;width:+blockW+px;height:+blockH+px;overflow:hidden;>/div>);var $imgBlock$(div classamazingslider-img-block-+id+ styledisplay:block;position:absolute;left:0%;top:0%;width:100%;height:100%;overflow:hidden;>/div>);var $img$(img,$next).clone();if(Math.abs(options.imgmarginleft)>0){$img.css({margin-left:options.columncount*options.imgmarginleft+%});$img.css({max-width:options.columncount*options.imgmaxwidth+%,left:-+blockW*j+px,top:-+blockH*i+px,width:options.columncount*options.imgmaxwidth+%,height:auto})}else{$img.css({margin-top:options.columncount*options.imgmargintop+%});$img.css({max-width:options.columncount*100+%,left:-+blockW*j+px,top:-+blockH*i+px,width:options.columncount*100+%})}$imgBlock.append($img);$imgBlockWrapper.append($imgBlock);$parent.append($imgBlockWrapper)}var blocks$(.amazingslider-img-block-+id,$parent);$parent.unbind(transitionFinished).bind(transitionFinished,function(){$parent.unbind(transitionFinished);$prev.remove();$next.show();$(.amazingslider-img-block-wrapper-+id,$parent).remove();callback()});if(effectbottomright||effectbottom)blocks$($.makeArray(blocks).reverse());else if(effectrandom)blocks$($.makeArray(blocks).sort(function(){return 0.5-Math.random()}));index0;blocks.each(function(){var block$(this);var row,col;rowMath.floor(index/options.columncount);colindex%options.columncount;block.hide();switch(effect){case topleft:case bottomright:block.delay(options.duration*(row+col)/(options.rowcount+options.columncount)).fadeIn();break;case top:case bottom:case random:block.delay(options.duration*index/(options.rowcount*options.columncount)).fadeIn();break}index++});var transitionTimeoutsetTimeout(function(){$parent.trigger(transitionFinished)},options.duration);transitionStartCallback(transitionTimeout)};$.fn.shuffleTransitionfunction(id,$prev,$next,options,callback,transitionStartCallback){var i,j,index;var $parentthis;var w$parent.width(),h$parent.height();var blockWw/options.columncount;var blockHh/options.rowcount;for(i0;ioptions.rowcount;i++)for(j0;joptions.columncount;j++){var $imgBlockWrapperNext$(div classamazingslider-img-block-wrapper-next-+id+ styledisplay:block;position:absolute;left:+j*blockW+px;top:+i*blockH+px;width:+blockW+px;height:+blockH+px;overflow:hidden;>/div>);var $imgBlockNext$(div classamazingslider-img-block-next-+id+ styledisplay:block;position:absolute;left:0%;top:0%;width:100%;height:100%;overflow:hidden;>/div>);var $imgNext$(img,$next).clone();if(Math.abs(options.imgmarginleft)>0){$imgNext.css({margin-left:options.columncount*options.imgmarginleft+%});$imgNext.css({max-width:options.columncount*options.imgmaxwidth+%,left:-+blockW*j+px,top:-+blockH*i+px,width:options.columncount*options.imgmaxwidth+%,height:auto})}else{$imgNext.css({margin-top:options.columncount*options.imgmargintop+%});$imgNext.css({max-width:options.columncount*100+%,left:-+blockW*j+px,top:-+blockH*i+px,width:options.columncount*100+%})}$imgBlockNext.append($imgNext);$imgBlockWrapperNext.append($imgBlockNext);$parent.append($imgBlockWrapperNext);var $imgBlockWrapperPrev$(div classamazingslider-img-block-wrapper-prev-+id+ styledisplay:block;position:absolute;left:+j*blockW+px;top:+i*blockH+px;width:+blockW+px;height:+blockH+px;overflow:hidden;>/div>);var $imgBlockPrev$(div classamazingslider-img-block-prev-+id+ styledisplay:block;position:absolute;left:0%;top:0%;width:100%;height:100%;overflow:hidden;>/div>);var $imgPrev$(img,$prev).clone();if(Math.abs(options.imgmarginleft)>0){$imgPrev.css({margin-left:options.columncount*options.imgmarginleft+%});$imgPrev.css({max-width:options.columncount*options.imgmaxwidth+%,left:-+blockW*j+px,top:-+blockH*i+px,width:options.columncount*options.imgmaxwidth+%,height:auto})}else{$imgPrev.css({margin-top:options.columncount*options.imgmargintop+%});$imgPrev.css({max-width:options.columncount*100+%,left:-+blockW*j+px,top:-+blockH*i+px,width:options.columncount*100+%})}$imgBlockPrev.append($imgPrev);$imgBlockWrapperPrev.append($imgBlockPrev);$parent.append($imgBlockWrapperPrev)}$next.hide();$prev.hide();var blocksNext$(.amazingslider-img-block-wrapper-next-+id,$parent);var blocksPrev$(.amazingslider-img-block-wrapper-prev-+id,$parent);$parent.unbind(transitionFinished).bind(transitionFinished,function(){$parent.unbind(transitionFinished);$prev.remove();$next.show();$(.amazingslider-img-block-wrapper-next-+id,$parent).remove();$(.amazingslider-img-block-wrapper-prev-+id,$parent).remove();callback()});var offset$parent.offset();var distL-offset.left;var distR$(window).width()-offset.left-$parent.width()/options.columncount;var distT-offset.top*100/$parent.height();var distB$(window).height()-offset.top-$parent.height()/options.rowcount;index0;blocksPrev.each(function(){var block$(this);var posLMath.random()*(distR-distL)+distL;var posTMath.random()*(distB-distT)+distT;block.animate({left:posL+px,top:posT+px,opacity:0},options.duration,options.easing);index++});index0;blocksNext.each(function(){var block$(this);var rowMath.floor(index/options.columncount);var colindex%options.columncount;var posLMath.random()*(distR-distL)+distL;var posTMath.random()*(distB-distT)+distT;block.css({left:posL+px,top:posT+px,opacity:0},options.duration,options.easing);block.animate({left:col*blockW+px,top:row*blockH+px,opacity:1},options.duration,options.easing);index++});var transitionTimeoutsetTimeout(function(){$parent.trigger(transitionFinished)},options.duration);transitionStartCallback(transitionTimeout)}})(jQuery);(function($){$.fn.sliderTouchSwipefunction(options){var defaults{preventWebBrowser:false,swipeLeft:null,swipeRight:null,swipeTop:null,swipeBottom:null};if(options)$.extend(defaults,options);return this.each(function(){var startX-1,startY-1;var curX-1,curY-1;function touchStart(event){var eevent.originalEvent;if(e.targetTouches.length>1){startXe.targetTouches0.pageX;startYe.targetTouches0.pageY}else touchCancel(event)}function touchMove(event){if(defaults.preventWebBrowser)event.preventDefault();var eevent.originalEvent;if(e.targetTouches.length>1){curXe.targetTouches0.pageX;curYe.targetTouches0.pageY}else touchCancel(event)}function touchEnd(event){if(curX>0||curY>0){triggerHandler();touchCancel(event)}else touchCancel(event)}function touchCancel(event){startX-1;startY-1;curX-1;curY-1}function triggerHandler(){if(Math.abs(curX-startX)>Math.abs(curY-startY))if(curX>startX){if(defaults.swipeRight)defaults.swipeRight.call()}else{if(defaults.swipeLeft)defaults.swipeLeft.call()}else if(curY>startY){if(defaults.swipeBottom)defaults.swipeBottom.call()}else if(defaults.swipeTop)defaults.swipeTop.call()}try{$(this).bind(touchstart,touchStart);$(this).bind(touchmove,touchMove);$(this).bind(touchend,touchEnd);$(this).bind(touchcancel,touchCancel)}catch(e){}})}})(jQuery);jQuery.easingjswingjQuery.easingswing;jQuery.extend(jQuery.easing,{def:easeOutQuad,swing:function(x,t,b,c,d){return jQuery.easingjQuery.easing.def(x,t,b,c,d)},easeInQuad:function(x,t,b,c,d){return c*(t/d)*t+b},easeOutQuad:function(x,t,b,c,d){return-c*(t/d)*(t-2)+b},easeInOutQuad:function(x,t,b,c,d){if((t/d/2)1)return c/2*t*t+b;return-c/2*(--t*(t-2)-1)+b},easeInCubic:function(x,t,b,c,d){return c*(t/d)*t*t+b},easeOutCubic:function(x,t,b,c,d){return c*((tt/d-1)*t*t+1)+b},easeInOutCubic:function(x,t,b,c,d){if((t/d/2)1)return c/2*t*t*t+b;return c/2*((t-2)*t*t+2)+b},easeInQuart:function(x,t,b,c,d){return c*(t/d)*t*t*t+b},easeOutQuart:function(x,t,b,c,d){return-c*((tt/d-1)*t*t*t-1)+b},easeInOutQuart:function(x,t,b,c,d){if((t/d/2)1)return c/2*t*t*t*t+b;return-c/2*((t-2)*t*t*t-2)+b},easeInQuint:function(x,t,b,c,d){return c*(t/d)*t*t*t*t+b},easeOutQuint:function(x,t,b,c,d){return c*((tt/d-1)*t*t*t*t+1)+b},easeInOutQuint:function(x,t,b,c,d){if((t/d/2)1)return c/2*t*t*t*t*t+b;return c/2*((t-2)*t*t*t*t+2)+b},easeInSine:function(x,t,b,c,d){return-c*Math.cos(t/d*(Math.PI/2))+c+b},easeOutSine:function(x,t,b,c,d){return c*Math.sin(t/d*(Math.PI/2))+b},easeInOutSine:function(x,t,b,c,d){return-c/2*(Math.cos(Math.PI*t/d)-1)+b},easeInExpo:function(x,t,b,c,d){return t0?b:c*Math.pow(2,10*(t/d-1))+b},easeOutExpo:function(x,t,b,c,d){return td?b+c:c*(-Math.pow(2,-10*t/d)+1)+b},easeInOutExpo:function(x,t,b,c,d){if(t0)return b;if(td)return b+c;if((t/d/2)1)return c/2*Math.pow(2,10*(t-1))+b;return c/2*(-Math.pow(2,-10*--t)+2)+b},easeInCirc:function(x,t,b,c,d){return-c*(Math.sqrt(1-(t/d)*t)-1)+b},easeOutCirc:function(x,t,b,c,d){return c*Math.sqrt(1-(tt/d-1)*t)+b},easeInOutCirc:function(x,t,b,c,d){if((t/d/2)1)return-c/2*(Math.sqrt(1-t*t)-1)+b;return c/2*(Math.sqrt(1-(t-2)*t)+1)+b},easeInElastic:function(x,t,b,c,d){var s1.70158;var p0;var ac;if(t0)return b;if((t/d)1)return b+c;if(!p)pd*0.3;if(aMath.abs(c)){ac;var sp/4}else var sp/(2*Math.PI)*Math.asin(c/a);return-(a*Math.pow(2,10*(t-1))*Math.sin((t*d-s)*2*Math.PI/p))+b},easeOutElastic:function(x,t,b,c,d){var s1.70158;var p0;var ac;if(t0)return b;if((t/d)1)return b+c;if(!p)pd*0.3;if(aMath.abs(c)){ac;var sp/4}else var sp/(2*Math.PI)*Math.asin(c/a);return a*Math.pow(2,-10*t)*Math.sin((t*d-s)*2*Math.PI/p)+c+b},easeInOutElastic:function(x,t,b,c,d){var s1.70158;var p0;var ac;if(t0)return b;if((t/d/2)2)return b+c;if(!p)pd*0.3*1.5;if(aMath.abs(c)){ac;var sp/4}else var sp/(2*Math.PI)*Math.asin(c/a);if(t1)return-0.5*a*Math.pow(2,10*(t-1))*Math.sin((t*d-s)*2*Math.PI/p)+b;return a*Math.pow(2,-10*(t-1))*Math.sin((t*d-s)*2*Math.PI/p)*0.5+c+b},easeInBack:function(x,t,b,c,d,s){if(sundefined)s1.70158;return c*(t/d)*t*((s+1)*t-s)+b},easeOutBack:function(x,t,b,c,d,s){if(sundefined)s1.70158;return c*((tt/d-1)*t*((s+1)*t+s)+1)+b},easeInOutBack:function(x,t,b,c,d,s){if(sundefined)s1.70158;if((t/d/2)1)return c/2*t*t*(((s*1.525)+1)*t-s)+b;return c/2*((t-2)*t*(((s*1.525)+1)*t+s)+2)+b},easeInBounce:function(x,t,b,c,d){return c-jQuery.easing.easeOutBounce(x,d-t,0,c,d)+b},easeOutBounce:function(x,t,b,c,d){if((t/d)1/2.75)return c*7.5625*t*t+b;else if(t2/2.75)return c*(7.5625*(t-1.5/2.75)*t+0.75)+b;else if(t2.5/2.75)return c*(7.5625*(t-2.25/2.75)*t+0.9375)+b;else return c*(7.5625*(t-2.625/2.75)*t+0.984375)+b},easeInOutBounce:function(x,t,b,c,d){if(td/2)return jQuery.easing.easeInBounce(x,t*2,0,c,d)*0.5+b;return jQuery.easing.easeOutBounce(x,t*2-d,0,c,d)*0.5+c*0.5+b}});if(typeof amazingsliderObjectsundefined)var amazingsliderObjectsnew function(){this.objects;this.addObjectfunction(obj){this.objects.push(obj)};this.loadNextfunction(id){for(var i0;ithis.objects.length;i++)if(this.objectsi.idid){this.objectsi.videoPausedfalse;if(!this.objectsi.isPaused)this.objectsi.slideRun(-1)}}};if(typeof ASYouTubeIframeAPIReadyundefined){var ASYouTubeIframeAPIReadyfalse;var ASYouTubeTimeout0;function onYouTubeIframeAPIReady(){ASYouTubeIframeAPIReadytrue}}if(typeof amazingsliderIdundefined)var amazingsliderId0;jQuery(document).ready(function(){ var scripts document.getElementsByTagName(script); var jsFolder ; for (var i 0; i scripts.length; i++) { if( scriptsi.src && scriptsi.src.match(/initslider-1\.js/i)) jsFolder scriptsi.src.substr(0, scriptsi.src.lastIndexOf(/) + 1); } jQuery(#amazingslider-1).amazingslider({ sliderid:1, jsfolder:jsFolder, width:555, height:280, skinsfoldername:, loadimageondemand:false, videohidecontrols:false, watermarktextcss:font:12px Arial,Tahoma,Helvetica,sans-serif;color:#333;padding:2px 4px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;background-color:#fff;opacity:0.9;filter:alpha(opacity90);, watermarkstyle:text, donotresize:true, enabletouchswipe:true, fullscreen:false, autoplayvideo:false, addmargin:true, watermarklinkcss:text-decoration:none;font:12px Arial,Tahoma,Helvetica,sans-serif;color:#333;, watermarktext:amazingslider.com, watermarklink:http://amazingslider.com?sourcewatermark, transitiononfirstslide:false, forceflash:false, isresponsive:true, forceflashonie11:true, forceflashonie10:true, pauseonmouseover:false, playvideoonclickthumb:true, showwatermark:false, slideinterval:7000, watermarkpositioncss:display:block;position:absolute;bottom:4px;right:4px;, watermarkimage:, fullwidth:false, randomplay:false, watermarktarget:_blank, scalemode:fill, loop:0, autoplay:true, navplayvideoimage:play-32-32-0.png, navpreviewheight:60, timerheight:2, descriptioncssresponsive:font-size:12px;, shownumbering:false, skin:Classic, addgooglefonts:false, navshowplaypause:true, navshowplayvideo:false, navshowplaypausestandalonemarginx:8, navshowplaypausestandalonemarginy:8, navbuttonradius:0, navthumbnavigationarrowimageheight:32, navmarginy:16, lightboxshownavigation:false, showshadow:true, navfeaturedarrowimagewidth:16, navpreviewwidth:120, googlefonts:, navborderhighlightcolor:, navcolor:#999999, lightboxdescriptionbottomcss:{color:#333; font-size:12px; font-family:Arial,Helvetica,sans-serif; overflow:hidden; text-align:left; margin:4px 0px 0px; padding: 0px;}, lightboxthumbwidth:80, navthumbnavigationarrowimagewidth:32, navthumbtitlehovercss:text-decoration:underline;, navthumbmediumheight:64, texteffectresponsivesize:600, arrowwidth:32, texteffecteasing:easeOutCubic, texteffect:slide, lightboxthumbheight:60, navspacing:8, navarrowimage:navarrows-28-28-0.png, bordercolor:#aaaaaa, ribbonimage:ribbon_topleft-0.png, navwidth:24, navheight:24, arrowimage:/amazingSlider/arrows-32-32-2.png, timeropacity:0.6, arrowhideonmouseleave:10, navthumbnavigationarrowimage:/amazingSlider/carouselarrows-32-32-0.png, navshowplaypausestandalone:true, texteffect1:slide, navpreviewbordercolor:#ffffff, texteffect2:slide, customcss:, ribbonposition:topleft, navthumbdescriptioncss:display:block;position:relative;padding:2px 4px;text-align:left;font:normal 12px Arial,Helvetica,sans-serif;color:#333;, lightboxtitlebottomcss:{color:#333; font-size:14px; font-family:Armata,sans-serif,Arial; overflow:hidden; text-align:left;}, arrowstyle:mouseover, navthumbmediumsize:800, navthumbtitleheight:20, textpositionmargintop:24, buttoncssresponsive:, navswitchonmouseover:false, playvideoimage:/amazingSlider/playvideo-64-64-0.png, arrowtop:50, textstyle:none, playvideoimageheight:64, navfonthighlightcolor:#666666, showbackgroundimage:false, navpreviewborder:4, navshowplaypausestandaloneheight:20, navdirection:horizontal, navbuttonshowbgimage:true, navbuttonbgimage:navbuttonbgimage-28-28-0.png, textbgcss:display:block; position:absolute; top:0px; left:0px; width:100%; height:100%; background-color:#333333; opacity:0.6; filter:alpha(opacity60);, textpositiondynamic:bottomleft, playvideoimagewidth:64, buttoncss:display:block; position:relative; margin-top:8px;, navborder:4, navshowpreviewontouch:false, bottomshadowimagewidth:96, showtimer:true, navradius:0, navmultirows:false, navshowpreview:true, navpreviewarrowheight:8, navmarginx:16, navfeaturedarrowimage:featuredarrow-16-8-0.png, navthumbsmallsize:480, showribbon:false, navstyle:bullets, textpositionmarginleft:24, descriptioncss:display:block; position:relative; font:12px \Lucida Sans Unicode\,\Lucida Grande\,sans-serif,Arial; color:#fff; margin-top:8px;, navplaypauseimage:/amazingSlider/navplaypause-20-20-0.png, backgroundimagetop:-10, timercolor:#ffffff, numberingformat:%NUM/%TOTAL , navthumbmediumwidth:64, navfontsize:12, navhighlightcolor:#333333, texteffectdelay1:1000, navimage:/amazingSlider/bullet-24-24-0.png, texteffectdelay2:1500, texteffectduration1:600, navshowplaypausestandaloneautohide:true, texteffectduration2:600, navbuttoncolor:#999999, navshowarrow:false, texteffectslidedirection:left, navshowfeaturedarrow:false, lightboxbarheight:64, titlecss:display:block; position:relative; font:bold 14px \Lucida Sans Unicode\,\Lucida Grande\,sans-serif,Arial; color:#fff;, ribbonimagey:0, ribbonimagex:0, navthumbsmallheight:48, texteffectslidedistance1:120, texteffectslidedistance2:120, navrowspacing:8, navshowplaypausestandaloneposition:topright, shadowsize:7, lightboxthumbtopmargin:12, titlecssresponsive:font-size:12px;, navshowplaypausestandalonewidth:20, navthumbresponsive:false, navfeaturedarrowimageheight:8, navopacity:0.8, textpositionmarginright:24, backgroundimagewidth:120, textautohide:true, navthumbtitlewidth:120, navpreviewposition:top, texteffectseparate:false, arrowheight:32, shadowcolor:#000000, arrowmargin:8, texteffectduration:600, bottomshadowimage:bottomshadow-110-95-0.png, border:0, lightboxshowdescription:false, timerposition:bottom, navfontcolor:#333333, navthumbnavigationstyle:arrow, borderradius:0, navbuttonhighlightcolor:#333333, textpositionstatic:bottom, texteffecteasing2:easeOutCubic, navthumbstyle:imageonly, texteffecteasing1:easeOutCubic, textcss:display:block; padding:12px; text-align:left;, navthumbsmallwidth:48, navbordercolor:#ffffff, navpreviewarrowimage:previewarrow-16-8-0.png, navthumbtitlecss:display:block;position:relative;padding:2px 4px;text-align:left;font:bold 14px Arial,Helvetica,sans-serif;color:#333;, showbottomshadow:false, texteffectslidedistance:30, texteffectdelay:500, textpositionmarginstatic:0, backgroundimage:, navposition:bottom, texteffectslidedirection1:right, navpreviewarrowwidth:16, textformat:None, texteffectslidedirection2:right, bottomshadowimagetop:95, texteffectresponsive:true, navshowbuttons:true, lightboxthumbbottommargin:8, textpositionmarginbottom:24, lightboxshowtitle:true, slide: { duration:1000, easing:easeOutCubic, checked:true, effectdirection:0 }, transition:slide, scalemode:fill, isfullscreen:false, textformat: { } });});function loadFrench() { use strict; localStorage.setItem(language, FR); window.open(?pathfrench/home.php, _self);}function loadEnglish() { use strict; localStorage.setItem(language, ENG); window.open(?pathenglish/home.php, _self);}function checkLanguage() { use strict; var lang localStorage.language; loadFrench(); //skip check for english if (lang FR) { loadFrench(); } else if (lang ENG) { loadEnglish(); }}lm document.getElementById(leftMenu);imgList lm.getElementsByTagName(img);for (i0; iimgList.length;i++) { imgListi.src imgListi.src.replace(menus,french/textMenus);}/script>style>/* blue button large */.as-btn-blue-large { display: inline-block; border: none; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; margin: 0; background: #009cde; font-family: Lucida Sans Unicode,Lucida Grande,sans-serif,Arial; color: #fff; cursor: pointer; text-align: center; text-decoration: none; text-shadow: none; text-transform: none; white-space: nowrap; -webkit-font-smoothing: antialiased; padding: 10px 16px; font-size: 24px; font-weight: 300; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px;}.as-btn-blue-large:hover { color: #fff; background: #0285d2;}.as-btn-blue-large:focus { outline: 0;}/* blue button medium */.as-btn-blue-medium { display: inline-block; border: none; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; margin: 0; background: #009cde; font-family: Lucida Sans Unicode,Lucida Grande,sans-serif,Arial; color: #fff; cursor: pointer; text-align: center; text-decoration: none; text-shadow: none; text-transform: none; white-space: nowrap; -webkit-font-smoothing: antialiased; padding: 6px 12px; font-size: 14px; font-weight: normal; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px;}.as-btn-blue-medium:hover { color: #fff; background: #0285d2;}.as-btn-blue-medium:focus { outline: 0;}/* blue button small */.as-btn-blue-small { display: inline-block; border: none; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; margin: 0; background: #009cde; font-family: Lucida Sans Unicode,Lucida Grande,sans-serif,Arial; color: #fff; cursor: pointer; text-align: center; text-decoration: none; text-shadow: none; text-transform: none; white-space: nowrap; -webkit-font-smoothing: antialiased; padding: 5px 10px; font-size: 12px; font-weight: normal; -webkit-border-radius: 0px; -moz-border-radius: 0px; border-radius: 0px;}.as-btn-blue-small:hover { color: #fff; background: #0285d2;}.as-btn-blue-small:focus { outline: 0;}/* blue border large */.as-btn-blueborder-large { display: inline-block; border: 2px solid #009cde; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; margin: 0; background: transparent; font-family: Lucida Sans Unicode,Lucida Grande,sans-serif,Arial; color: #009cde; cursor: pointer; text-align: center; text-decoration: none; text-shadow: none; text-transform: none; vertical-align: baseline; white-space: nowrap; -webkit-font-smoothing: antialiased; padding: 10px 16px; font-size: 24px; font-weight: 300; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px;}.as-btn-blueborder-large:hover { color: #fff; background: #009cde;}.as-btn-blueborder-large:focus { outline: 0;}/* blue border medium */.as-btn-blueborder-medium { display: inline-block; border: 2px solid #009cde; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; margin: 0; background: transparent; font-family: Lucida Sans Unicode,Lucida Grande,sans-serif,Arial; color: #009cde; cursor: pointer; text-align: center; text-decoration: none; text-shadow: none; text-transform: none; vertical-align: baseline; white-space: nowrap; -webkit-font-smoothing: antialiased; padding: 6px 12px; font-size: 14px; font-weight: normal; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px;}.as-btn-blueborder-medium:hover { color: #fff; background: #009cde;}.as-btn-blueborder-medium:focus { outline: 0;}/* blue border small */.as-btn-blueborder-small { display: inline-block; border: 2px solid #009cde; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; margin: 0; background: transparent; font-family: Lucida Sans Unicode,Lucida Grande,sans-serif,Arial; color: #009cde; cursor: pointer; text-align: center; text-decoration: none; text-shadow: none; text-transform: none; vertical-align: baseline; white-space: nowrap; -webkit-font-smoothing: antialiased; padding: 5px 10px; font-size: 12px; font-weight: normal; -webkit-border-radius: 0px; -moz-border-radius: 0px; border-radius: 0px;}.as-btn-blueborder-small:hover { color: #fff; background: #009cde;}.as-btn-blueborder-small:focus { outline: 0;}/* orange button large */.as-btn-orange-large { display: inline-block; border: none; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; margin: 0; background: #f7a020; font-family: Lucida Sans Unicode,Lucida Grande,sans-serif,Arial; color: #fff; cursor: pointer; text-align: center; text-decoration: none; text-shadow: none; text-transform: none; white-space: nowrap; -webkit-font-smoothing: antialiased; padding: 10px 16px; font-size: 24px; font-weight: 300; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px;}.as-btn-orange-large:hover { color: #fff; background: #ffc030;}.as-btn-orange-large:focus { outline: 0;}/* orange button medium */.as-btn-orange-medium { display: inline-block; border: none; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; margin: 0; background: #f7a020; font-family: Lucida Sans Unicode,Lucida Grande,sans-serif,Arial; color: #fff; cursor: pointer; text-align: center; text-decoration: none; text-shadow: none; text-transform: none; white-space: nowrap; -webkit-font-smoothing: antialiased; padding: 6px 12px; font-size: 14px; font-weight: normal; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px;}.as-btn-orange-medium:hover { color: #fff; background: #ffc030;}.as-btn-orange-medium:focus { outline: 0;}/* orange button small */.as-btn-orange-small { display: inline-block; border: none; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; margin: 0; background: #f7a020; font-family: Lucida Sans Unicode,Lucida Grande,sans-serif,Arial; color: #fff; cursor: pointer; text-align: center; text-decoration: none; text-shadow: none; text-transform: none; white-space: nowrap; -webkit-font-smoothing: antialiased; padding: 5px 10px; font-size: 12px; font-weight: normal; -webkit-border-radius: 0px; -moz-border-radius: 0px; border-radius: 0px;}.as-btn-orange-small:hover { color: #fff; background: #ffc030;}.as-btn-orange-small:focus { outline: 0;}/* orange border large */.as-btn-orangeborder-large { display: inline-block; border: 2px solid #f7a020; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; margin: 0; background: transparent; font-family: Lucida Sans Unicode,Lucida Grande,sans-serif,Arial; color: #f7a020; cursor: pointer; text-align: center; text-decoration: none; text-shadow: none; text-transform: none; vertical-align: baseline; white-space: nowrap; -webkit-font-smoothing: antialiased; padding: 10px 16px; font-size: 24px; font-weight: 300; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px;}.as-btn-orangeborder-large:hover { color: #fff; background: #f7a020;}.as-btn-orangeborder-large:focus { outline: 0;}/* orange border medium */.as-btn-orangeborder-medium { display: inline-block; border: 2px solid #f7a020; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; margin: 0; background: transparent; font-family: Lucida Sans Unicode,Lucida Grande,sans-serif,Arial; color: #f7a020; cursor: pointer; text-align: center; text-decoration: none; text-shadow: none; text-transform: none; vertical-align: baseline; white-space: nowrap; -webkit-font-smoothing: antialiased; padding: 6px 12px; font-size: 14px; font-weight: normal; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px;}.as-btn-orangeborder-medium:hover { color: #fff; background: #f7a020;}.as-btn-orangeborder-medium:focus { outline: 0;}/* orange border small */.as-btn-orangeborder-small { display: inline-block; border: 2px solid #f7a020; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; margin: 0; background: transparent; font-family: Lucida Sans Unicode,Lucida Grande,sans-serif,Arial; color: #f7a020; cursor: pointer; text-align: center; text-decoration: none; text-shadow: none; text-transform: none; vertical-align: baseline; white-space: nowrap; -webkit-font-smoothing: antialiased; padding: 5px 10px; font-size: 12px; font-weight: normal; -webkit-border-radius: 0px; -moz-border-radius: 0px; border-radius: 0px;}.as-btn-orangeborder-small:hover { color: #fff; background: #f7a020;}.as-btn-orangeborder-small:focus { outline: 0;}/* white button large */.as-btn-white-large { display: inline-block; border: none; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; margin: 0; background: #fff; font-family: Lucida Sans Unicode,Lucida Grande,sans-serif,Arial; color: #444; cursor: pointer; text-align: center; text-decoration: none; text-shadow: none; text-transform: none; white-space: nowrap; -webkit-font-smoothing: antialiased; padding: 10px 16px; font-size: 24px; font-weight: 300; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px;}.as-btn-white-large:hover { color: #fff; background: #444;}.as-btn-white-large:focus { outline: 0;}/* white button medium */.as-btn-white-medium { display: inline-block; border: none; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; margin: 0; background: #fff; font-family: Lucida Sans Unicode,Lucida Grande,sans-serif,Arial; color: #444; cursor: pointer; text-align: center; text-decoration: none; text-shadow: none; text-transform: none; white-space: nowrap; -webkit-font-smoothing: antialiased; padding: 6px 12px; font-size: 14px; font-weight: normal; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px;}.as-btn-white-medium:hover { color: #fff; background: #444;}.as-btn-white-medium:focus { outline: 0;}/* white button small */.as-btn-white-small { display: inline-block; border: none; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; margin: 0; background: #fff; font-family: Lucida Sans Unicode,Lucida Grande,sans-serif,Arial; color: #444; cursor: pointer; text-align: center; text-decoration: none; text-shadow: none; text-transform: none; white-space: nowrap; -webkit-font-smoothing: antialiased; padding: 5px 10px; font-size: 12px; font-weight: normal; -webkit-border-radius: 0px; -moz-border-radius: 0px; border-radius: 0px;}.as-btn-white-small:hover { color: #fff; background: #444;}.as-btn-white-small:focus { outline: 0;}/* white border large */.as-btn-whiteborder-large { display: inline-block; border: 2px solid #fff; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; margin: 0; background: transparent; font-family: Lucida Sans Unicode,Lucida Grande,sans-serif,Arial; color: #fff; cursor: pointer; text-align: center; text-decoration: none; text-shadow: none; text-transform: none; vertical-align: baseline; white-space: nowrap; -webkit-font-smoothing: antialiased; padding: 10px 16px; font-size: 24px; font-weight: 300; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px;}.as-btn-whiteborder-large:hover { color: #444; background: #fff;}.as-btn-whiteborder-large:focus { outline: 0;}/* white border medium */.as-btn-whiteborder-medium { display: inline-block; border: 2px solid #fff; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; margin: 0; background: transparent; font-family: Lucida Sans Unicode,Lucida Grande,sans-serif,Arial; color: #fff; cursor: pointer; text-align: center; text-decoration: none; text-shadow: none; text-transform: none; vertical-align: baseline; white-space: nowrap; -webkit-font-smoothing: antialiased; padding: 6px 12px; font-size: 14px; font-weight: normal; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px;}.as-btn-whiteborder-medium:hover { color: #444; background: #fff;}.as-btn-whiteborder-medium:focus { outline: 0;}/* white border small */.as-btn-whiteborder-small { display: inline-block; border: 2px solid #fff; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; margin: 0; background: transparent; font-family: Lucida Sans Unicode,Lucida Grande,sans-serif,Arial; color: #fff; cursor: pointer; text-align: center; text-decoration: none; text-shadow: none; text-transform: none; vertical-align: baseline; white-space: nowrap; -webkit-font-smoothing: antialiased; padding: 5px 10px; font-size: 12px; font-weight: normal; -webkit-border-radius: 0px; -moz-border-radius: 0px; border-radius: 0px;}.as-btn-whiteborder-small:hover { color: #444; background: #fff;}.as-btn-whiteborder-small:focus { outline: 0;}/* navy button large */.as-btn-navy-large { display: inline-block; border: none; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; margin: 0; background: #334455; font-family: Lucida Sans Unicode,Lucida Grande,sans-serif,Arial; color: #fff; cursor: pointer; text-align: center; text-decoration: none; text-shadow: none; text-transform: none; white-space: nowrap; -webkit-font-smoothing: antialiased; padding: 10px 16px; font-size: 24px; font-weight: 300; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px;}.as-btn-navy-large:hover { color: #fff; background: #445566;}.as-btn-navy-large:focus { outline: 0;}/* navy button medium */.as-btn-navy-medium { display: inline-block; border: none; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; margin: 0; background: #334455; font-family: Lucida Sans Unicode,Lucida Grande,sans-serif,Arial; color: #fff; cursor: pointer; text-align: center; text-decoration: none; text-shadow: none; text-transform: none; white-space: nowrap; -webkit-font-smoothing: antialiased; padding: 6px 12px; font-size: 14px; font-weight: normal; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px;}.as-btn-navy-medium:hover { color: #fff; background: #445566;}.as-btn-navy-medium:focus { outline: 0;}/* navy button small */.as-btn-navy-small { display: inline-block; border: none; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; margin: 0; background: #334455; font-family: Lucida Sans Unicode,Lucida Grande,sans-serif,Arial; color: #fff; cursor: pointer; text-align: center; text-decoration: none; text-shadow: none; text-transform: none; white-space: nowrap; -webkit-font-smoothing: antialiased; padding: 5px 10px; font-size: 12px; font-weight: normal; -webkit-border-radius: 0px; -moz-border-radius: 0px; border-radius: 0px;}.as-btn-navy-small:hover { color: #fff; background: #445566;}.as-btn-navy-small:focus { outline: 0;}body { background: #CCC url(static/background.png);}.md h1 { text-align: center;}#banner { height: 119px; width: 920px; margin-top: 15px; position: relative; left: 50%; margin-left: -465px; box-shadow: 0px 0px 20px 6px;}#title { text-align: center; padding-top: 20px;}#certification1Button { text-align: center; margin-top: 60px;}#textArea { margin-right: 50px; padding-bottom: 20px; margin-left: 50px; margin-top: 60px; font: 16px Verdana, Geneva, sans-serif; color: #000000;}#textArea a { color: black; text-decoration: none;}#textArea a:hover { color: darkslategrey;}#textWrapper { background: white; width: 920px; position: relative; left: 50%; margin-left: -465px; box-shadow: 0px 0px 20px 6px;}@charset utf-8;* { margin: 0px auto;}body { background: url(static/french/home/space.png);}#BOX { position: relative; min-height: 569px; min-width: 1085px; height: 100%; width: 100%;}#Title { width: 361px; height: 79px; background-image: url(static/french/home/Title.png); background-repeat: no-repeat; position: absolute; left: 50%; top: 5%; margin-left: -181px;}#Earth { width: 335px; height: 335px; background-image: url(static/french/home/planets/EARTH.png); background-repeat: no-repeat; position: absolute; left: 5%; top: 5%;}#Earth:hover~#MainList { visibility: visible;}#Mars { width: 160px; height: 160px; background-image: url(static/french/home/planets/Mars.png); background-repeat: no-repeat; position: absolute; right: 30%; bottom: 20%;}#Mars:hover~#MachList { visibility: visible;}#Mercury { width: 150px; height: 150px; background-image: url(static/french/home/planets/Mercury.png); background-repeat: no-repeat; position: absolute; left: 45%; top: 30%;}#Mercury:hover~#AppList { visibility: visible;}#Neptune { width: 157px; height: 157px; background-image: url(static/french/home/planets/Neptune.png); background-repeat: no-repeat; position: absolute; right: 10%; top: 15%;}#Neptune:hover~#SstList { visibility: visible;}#Venus { width: 153px; height: 153px; background-image: url(static/french/home/planets/Venus.png); background-repeat: no-repeat; position: absolute; left: 10%; top: 65%;}#Venus:hover~#FormList { visibility: visible;}#Empty1 { width: 108px; height: 108px; background-image: url(static/french/home/planets/Empty1.png); background-repeat: no-repeat; position: absolute; right: 30%; top: 25%;}#Empty2 { width: 104px; height: 104px; background-image: url(static/french/home/planets/Empty2.png); background-repeat: no-repeat; position: absolute; left: 35%; top: 35%;}#Empty3 { width: 90px; height: 93px; background-image: url(static/french/home/planets/Empty3.png); background-repeat: no-repeat; position: absolute; right: 15%; bottom: 25%;}#Uranus { width: 163px; height: 163px; background-image: url(static/french/home/planets/Uranus.png); background-repeat: no-repeat; position: absolute; left: 35%; bottom: 15%;}#Uranus:hover~#AgriList { visibility: visible;}#MainList { position: relative; width: 220px; height: 20px; left: -33%; top: 5%; visibility: hidden;}#MainList:hover { visibility: visible;}#AppList { position: relative; width: 200px; height: 20px; left: 1%; top: 15%; visibility: hidden;}#AppList:hover { visibility: visible;}#FormList { position: relative; width: 200px; height: 20px; left: -35%; top: 65%; visibility: hidden;}#FormList:hover { visibility: visible;}#AgriList { position: relative; width: 200px; height: 20px; left: -10%; top: 57%; visibility: hidden;}#AgriList:hover { visibility: visible;}#MachList { position: relative; width: 200px; height: 20px; left: 13%; top: 35%; visibility: hidden;}#MachList:hover { visibility: visible;}#SstList { position: relative; width: 200px; height: 20px; left: 34%; top: -2%; visibility: hidden;}#SstList:hover { visibility: visible;}.PopUp { position: absolute; background-color: rgba(90,187,230,0.9); padding: 10; width: 200;}li{ height: 30px; width: 200px; background-color: rgba(0,0,0,0.7); margin-top: 3px; list-style-type: none; text-align: center; padding-top: 3%}li:hover { cursor: pointer; background-color: rgba(0,0,0,0.85); box-shadow: 0px 0px 5px 5px #000000;}a {font-size: 20; width: 100%; height: 100%; display: block; text-decoration: none; color: aliceblue;}.Navi{ list-style-type: none; background-color: rgba(0, 255, 255, 0.5); margin; 0; padding; 0; position: fixed; bottom: 0%; right: 0%; left: 0%; padding-left: 45%;}.navi li{ display: inline; position: relative; background-color: rgba(0,0,0,0)}.navi li a{ font-size: 17; display: inline}.navi li a:link {color: black;}.navi li a:visited {color: black;}.navi li a:hover {color: black;}.navi li a:active {color: black;}.ENG { cursor: pointer;}li.LANGSELECT { height: 50px; width: 200px; background-color: rgba(0,0,0,0.5); margin-top: 3px; list-style-type: none;}li.LANGSELECT:hover { box-shadow: 0px 0px 0px 0px #000000; cursor: pointer; background-color: rgba(255,0,100,0.5);}ul.LANGSELECT { margin-left: 400; background-color: rgba(90,187,230,0.5); padding: 25; width: 200;}a.LANGSELECT { font-size: 40; width: 100%; height: 100%; display: block; text-decoration: none; color: aliceblue;}/style>link relshortcut icon href/favicon.ico typeimage/x-icon />meta http-equivContent-Type contenttext/html; charsetutf-8>META HTTP-EQUIVContent-Language CONTENTfr>META NAME Classification CONTENT formation, sécurité, santé>meta namecategory contentformation>META NAMErobots CONTENTindex,follow>meta namedistribution contentglobal>meta namecopyright contentMaurice Lando, Touformation, 8527571 Canada Inc.>meta namerevisit-after content14 days>meta nameidentifier-url contenthttp://www.touformation.com>meta nameDate-Creation-yyyymmdd content20150207>META NAMEDescription CONTENTNous offrons des cours dappareils de levage adaptés à votre univers de travail.>META NAMEkeywords CONTENTchariot, élévateur, plateforme, élévatrice, nacelle, pont-roulant, auxiliaire, camion, grue, pelle, hydraulique, mini-pelle, chargeuse, mini-chargeuse, rétrocaveuse, bouteur, cadenassage, espace, clos, prévention, chutes, SIMDUT, TMD, chariot élévateur, plateforme élévatrice, pont, roulant, camion grue auxiliaire, camion grue nacelle, espace clos, prévention des chutes, elevateur, plateforme, elevatrice, retrocaveuse, prevention, chariot elevateur, plateforme elevatrice, prevention des chutes, chariots, élévateurs, plateformes, élévatrices, nacelles, pont-roulants, auxiliaires, camions, grues, pelles, hydrauliques, mini-pelles, chargeuses, mini-chargeusse, rétrocaveusse, bouteurs, cadenassages, espaces, clos, préventions, chute, chariots élévateurs, plateformes élévatrices, ponts, roulants, camions grues auxiliairse, camions grues nacelles, espaces clos, préventions des chutes, elevateurs, plateformes, elevatrices, retrocaveuses, preventiosn, chariots elevateurs, plateformes elevatrices, preventions des chutes>/head>body>div id BOX>div id Title>/div>div id Earth>/div>div id Mars>/div>div id Mercury>/div>div id Neptune>/div>div id Venus>/div>div id Empty1>/div>div id Empty2>/div>div id Empty3>/div>div id Uranus>/div>div id MainList>ul classPopUp> li>a href?pathfrench/information/mission.php>Mission/a>/li> li>a href?pathfrench/information/about.php>À propos/a>/li> li>a href?pathfrench/information/cooperate.php>On coopère/a>/li> li>a href?pathfrench/information/adapt.php>On sadapte/a>/li> li>a href?pathfrench/information/partners.php>Partenaires/a>/li> li>a href?pathfrench/information/contact.php>Contact/a>/li>/ul>/div>div id AppList>ul class PopUp> li>a href?pathfrench/lifting/liftTruck.php>Chariot élévateur/a>/li> li>a href?pathfrench/lifting/aerialLift.php>Plateforme élévatrice/a>/li> li>a href?pathfrench/lifting/mobileCrane.php>Grue mobile/a>/li> li>a href?pathfrench/lifting/overHeadCrane.php>Pont roulant/a>/li> /ul>/div>div id FormList>ul classPopUp> li>a href?pathfrench/training/internalTrainer.php>Formateur interne/a>/li> /ul>/div>div id AgriList>ul classPopUp> li>a href?pathfrench/agriculture/alimentary.php>Salubrité alimentaire/a>/li> li>a href?pathfrench/agriculture/pesticides.php>Pesticides/a>/li> /ul>/div>div id MachList>ul classPopUp> li>a href?pathfrench/machinery/loader.php>Chargeuse/a>/li> li>a href?pathfrench/machinery/miniLoader.php>Mini-chargeuse/a>/li> li>a href?pathfrench/machinery/excavator.php>Pelle hydraulique/a>/li> li>a href?pathfrench/machinery/miniExcavator.php>Mini-pelle/a>/li> li>a href?pathfrench/machinery/backhoe.php>Rétrocaveuse/a>/li> /ul>/div>div id SstList>ul class PopUp> li>a href?pathfrench/sst/lockOutTagOut.php>Cadenassage/a>/li> li>a href?pathfrench/sst/confinedSpaces.php>Espace clos/a>/li> li>a href?pathfrench/sst/fallPrevention.php>Prévention des chutes/a>/li> li>a href?pathfrench/sst/simdut.php>SIMDUT/a>/li> li>a href?pathfrench/sst/tmd.php>TMD/a>/li> /ul>/div>/div>ul classNavi>li>a>Site a également offert en:/a>/li> li>a onclickloadEnglish() classENG>u>English/u>/a>/li>/ul>/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
]