function getCookie(n){for(var r=n+"=",u=r.length,f=document.cookie.length,t=0,i;t<f;){if(i=t+u,document.cookie.substring(t,i)==r)return getCookieVal(i);if(t=document.cookie.indexOf(" ",t)+1,t==0)break}return""}function setCookie(n,t){var r=setCookie.arguments,i=setCookie.arguments.length,e=2<i?r[2]:null,f=3<i?r[3]:null,u=4<i?r[4]:"vancl.com",o=5<i?r[5]:null;document.cookie=n+"="+escape(t)+(e==null?" ":";expires ="+e.toGMTString())+(f==null?"  ":";path = "+f)+(u==null?" ":";domain ="+u)+(o==!0?";secure":" ")}function delCookie(n){var t=new Date;t.setTime(t.getTime()-1e5),document.cookie=n+"=;expires="+t.toGMTString()+";domain=vancl.com;path=/"}function deleteMyCookie(n){var t=new Date;t.setTime(t.getTime()-1e5),document.cookie=n+"=;expires="+t.toGMTString()+";domain=vancl.com;path=/"}function getCookieVal(n){var t=document.cookie.indexOf(";",n);return t==-1&&(t=document.cookie.length),document.cookie.substring(n,t)}function vShop(n){var i,t,r;if(n=n||"",i=v$("clotheCode"+n).value,t=v$("errordiv"+n),i=="")return t.style.display="",t.innerHTML="请选择尺码!",typeof autoHeight!="undefined"&&autoHeight(),!1;t.style.display="none",typeof autoHeight!="undefined"&&autoHeight(),r=v$("buycount"+n).value,$.ajax({data:{clotheCode:i,num:r,sync:!0},url:"ShoppingCar/add2cart",dataType:"json",success:function(n){n.y==1?vAlert(n.text,btns):vAlert(n.text,{})},error:function(){vAlert("加入失败",{})}})}function vAlert(n,t){vBlockBox({title:"",cancle:!0,centent:n,buttons:t})}
/*!
 * jQuery JavaScript Library v1.8.2
 * http://jquery.com/
 *
 * Includes Sizzle.js
 * http://sizzlejs.com/
 *
 * Copyright 2012 jQuery Foundation and other contributors
 * Released under the MIT license
 * http://jquery.org/license
 *
 * Date: Thu Sep 20 2012 21:13:05 GMT-0400 (Eastern Daylight Time)
 */
(function(n,t){function te(n){var t=ti[n]={};return i.each(n.split(l),function(n,i){t[i]=!0}),t}function au(n,r,u){if(u===t&&n.nodeType===1){var f="data-"+r.replace(ci,"-$1").toLowerCase();if(u=n.getAttribute(f),typeof u=="string"){try{u=u==="true"?!0:u==="false"?!1:u==="null"?null:+u+""===u?+u:ai.test(u)?i.parseJSON(u):u}catch(e){}i.data(n,r,u)}else u=t}return u}function ri(n){var t;for(t in n)if((t!=="data"||!i.isEmptyObject(n[t]))&&t!=="toJSON")return!1;return!0}function p(){return!1}function d(){return!0}function k(n){return!n||!n.parentNode||n.parentNode.nodeType===11}function uu(n,t){do n=n[t];while(n&&n.nodeType!==1);return n}function lu(n,t,r){if(t=t||0,i.isFunction(t))return i.grep(n,function(n,i){var u=!!t.call(n,i,n);return u===r});if(t.nodeType)return i.grep(n,function(n){return n===t===r});if(typeof t=="string"){var u=i.grep(n,function(n){return n.nodeType===1});if(le.test(t))return i.filter(t,u,!r);t=i.filter(t,u)}return i.grep(n,function(n){return i.inArray(n,t)>=0===r})}function vu(n){var i=hu.split("|"),t=n.createDocumentFragment();if(t.createElement)while(i.length)t.createElement(i.pop());return t}function re(n,t){return n.getElementsByTagName(t)[0]||n.appendChild(n.ownerDocument.createElement(t))}function yi(n,t){if(t.nodeType===1&&i.hasData(n)){var e,f,o,s=i._data(n),r=i._data(t,s),u=s.events;if(u){delete r.handle,r.events={};for(e in u)for(f=0,o=u[e].length;f<o;f++)i.event.add(t,e,u[e][f])}r.data&&(r.data=i.extend({},r.data))}}function si(n,t){var r;t.nodeType===1&&(t.clearAttributes&&t.clearAttributes(),t.mergeAttributes&&t.mergeAttributes(n),r=t.nodeName.toLowerCase(),r==="object"?(t.parentNode&&(t.outerHTML=n.outerHTML),i.support.html5Clone&&n.innerHTML&&!i.trim(t.innerHTML)&&(t.innerHTML=n.innerHTML)):r==="input"&&ar.test(n.type)?(t.defaultChecked=t.checked=n.checked,t.value!==n.value&&(t.value=n.value)):r==="option"?t.selected=n.defaultSelected:r==="input"||r==="textarea"?t.defaultValue=n.defaultValue:r==="script"&&t.text!==n.text&&(t.text=n.text),t.removeAttribute(i.expando))}function rt(n){return typeof n.getElementsByTagName!="undefined"?n.getElementsByTagName("*"):typeof n.querySelectorAll!="undefined"?n.querySelectorAll("*"):[]}function ui(n){ar.test(n.type)&&(n.defaultChecked=n.checked)}function lr(n,t){if(t in n)return t;for(var r=t.charAt(0).toUpperCase()+t.slice(1),u=t,i=ou.length;i--;)if(t=ou[i]+r,t in n)return t;return u}function st(n,t){return n=t||n,i.css(n,"display")==="none"||!i.contains(n.ownerDocument,n)}function sr(n,t){for(var r,o,e=[],f=0,s=n.length;f<s;f++)(r=n[f],r.style)&&(e[f]=i._data(r,"olddisplay"),t?(e[f]||r.style.display!=="none"||(r.style.display=""),r.style.display===""&&st(r)&&(e[f]=i._data(r,"olddisplay",bi(r.nodeName)))):(o=u(r,"display"),e[f]||o==="none"||i._data(r,"olddisplay",o)));for(f=0;f<s;f++)(r=n[f],r.style)&&(t&&r.style.display!=="none"&&r.style.display!==""||(r.style.display=t?e[f]||"":"none"));return n}function hr(n,t,i){var r=eo.exec(t);return r?Math.max(0,r[1]-(i||0))+(r[2]||"px"):t}function di(n,t,r,f){for(var e=r===(f?"border":"content")?4:t==="width"?1:0,o=0;e<4;e+=2)r==="margin"&&(o+=i.css(n,r+h[e],!0)),f?(r==="content"&&(o-=parseFloat(u(n,"padding"+h[e]))||0),r!=="margin"&&(o-=parseFloat(u(n,"border"+h[e]+"Width"))||0)):(o+=parseFloat(u(n,"padding"+h[e]))||0,r!=="padding"&&(o+=parseFloat(u(n,"border"+h[e]+"Width"))||0));return o}function gi(n,t,r){var f=t==="width"?n.offsetWidth:n.offsetHeight,o=!0,e=i.support.boxSizing&&i.css(n,"boxSizing")==="border-box";if(f<=0||f==null){if(f=u(n,t),(f<0||f==null)&&(f=n.style[t]),g.test(f))return f;o=e&&(i.support.boxSizingReliable||f===n.style[t]),f=parseFloat(f)||0}return f+di(n,t,r||(e?"border":"content"),o)+"px"}function bi(n){if(bt[n])return bt[n];var f=i("<"+n+">").appendTo(r.body),t=f.css("display");return f.remove(),(t==="none"||t==="")&&(v=r.body.appendChild(v||i.extend(r.createElement("iframe"),{frameBorder:0,width:0,height:0})),y&&v.createElement||(y=(v.contentWindow||v.contentDocument).document,y.write("<!doctype html><html><body>"),y.close()),f=y.body.appendChild(y.createElement(n)),t=u(f,"display"),r.body.removeChild(v)),bt[n]=t,t}function pt(n,t,r,u){var f;if(i.isArray(t))i.each(t,function(t,i){r||be.test(n)?u(n,i):pt(n+"["+(typeof i=="object"?t:"")+"]",i,r,u)});else if(r||i.type(t)!=="object")u(n,t);else for(f in t)pt(n+"["+f+"]",t[f],r,u)}function ur(n){return function(t,r){typeof t!="string"&&(r=t,t="*");var u,s,f,o=t.toLowerCase().split(l),e=0,h=o.length;if(i.isFunction(r))for(;e<h;e++)u=o[e],f=/^\+/.test(u),f&&(u=u.substr(1)||"*"),s=n[u]=n[u]||[],s[f?"unshift":"push"](r)}}function ot(n,i,r,u,f,e){f=f||i.dataTypes[0],e=e||{},e[f]=!0;for(var o,c=n[f],h=0,l=c?c.length:0,s=n===gt;h<l&&(s||!o);h++)o=c[h](i,r,u),typeof o=="string"&&(!s||e[o]?o=t:(i.dataTypes.unshift(o),o=ot(n,i,r,u,o,e)));return!s&&o||e["*"]||(o=ot(n,i,r,u,"*",e)),o}function er(n,r){var u,f,e=i.ajaxSettings.flatOptions||{};for(u in r)r[u]!==t&&((e[u]?n:f||(f={}))[u]=r[u]);f&&i.extend(!0,n,f)}function vf(n,i,r){var o,u,e,h,s=n.contents,f=n.dataTypes,c=n.responseFields;for(u in c)u in r&&(i[c[u]]=r[u]);while(f[0]==="*")f.shift(),o===t&&(o=n.mimeType||i.getResponseHeader("content-type"));if(o)for(u in s)if(s[u]&&s[u].test(o)){f.unshift(u);break}if(f[0]in r)e=f[0];else{for(u in r){if(!f[0]||n.converters[u+" "+f[0]]){e=u;break}h||(h=u)}e=e||h}if(e)return e!==f[0]&&f.unshift(e),r[e]}function wf(n,t){var i,o,r,e,s=n.dataTypes.slice(),f=s[0],u={},h=0;if(n.dataFilter&&(t=n.dataFilter(t,n.dataType)),s[1])for(i in n.converters)u[i.toLowerCase()]=n.converters[i];for(;r=s[++h];)if(r!=="*"){if(f!=="*"&&f!==r){if(i=u[f+" "+r]||u["* "+r],!i)for(o in u)if(e=o.split(" "),e[1]===r&&(i=u[f+" "+e[0]]||u["* "+e[0]],i)){i===!0?i=u[o]:u[o]!==!0&&(r=e[0],s.splice(h--,0,r));break}if(i!==!0)if(i&&n.throws)t=i(t);else try{t=i(t)}catch(c){return{state:"parsererror",error:i?c:"No conversion from "+f+" to "+r}}}f=r}return{state:"success",data:t}}function pi(){try{return new n.XMLHttpRequest}catch(t){}}function of(){try{return new n.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}function yr(){return setTimeout(function(){ht=t},0),ht=i.now()}function cf(n,t){i.each(t,function(t,i){for(var u=(b[t]||[]).concat(b["*"]),r=0,f=u.length;r<f;r++)if(u[r].call(n,t,i))return})}function iu(n,t,r){var o,s=0,l=0,c=ft.length,f=i.Deferred().always(function(){delete h.elem}),h=function(){for(var o=ht||yr(),i=Math.max(0,u.startTime+u.duration-o),r=1-(i/u.duration||0),t=0,e=u.tweens.length;t<e;t++)u.tweens[t].run(r);return f.notifyWith(n,[u,r,i]),r<1&&e?i:(f.resolveWith(n,[u]),!1)},u=f.promise({elem:n,props:i.extend({},t),opts:i.extend(!0,{specialEasing:{}},r),originalProperties:t,originalOptions:r,startTime:ht||yr(),duration:r.duration,tweens:[],createTween:function(t,r){var e=i.Tween(n,u.opts,t,r,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(e),e},stop:function(t){for(var i=0,r=t?u.tweens.length:0;i<r;i++)u.tweens[i].run(1);return t?f.resolveWith(n,[u,t]):f.rejectWith(n,[u,t]),this}}),e=u.props;for(tf(e,u.opts.specialEasing);s<c;s++)if(o=ft[s].call(u,n,e,u.opts),o)return o;return cf(u,e),i.isFunction(u.opts.start)&&u.opts.start.call(n,u),i.fx.timer(i.extend(h,{anim:u,queue:u.opts.queue,elem:n})),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always)}function tf(n,t){var r,f,o,u,e;for(r in n)if(f=i.camelCase(r),o=t[f],u=n[r],i.isArray(u)&&(o=u[1],u=n[r]=u[0]),r!==f&&(n[f]=u,delete n[r]),e=i.cssHooks[f],e&&"expand"in e){u=e.expand(u),delete n[f];for(r in u)r in n||(n[r]=u[r],t[r]=o)}else t[f]=o}function wu(n,t,r){var o,u,v,p,c,h,e,w,s=this,f=n.style,y={},a=[],l=n.nodeType&&st(n);r.queue||(e=i._queueHooks(n,"fx"),e.unqueued==null&&(e.unqueued=0,w=e.empty.fire,e.empty.fire=function(){e.unqueued||w()}),e.unqueued++,s.always(function(){s.always(function(){e.unqueued--,i.queue(n,"fx").length||e.empty.fire()})})),n.nodeType===1&&("height"in t||"width"in t)&&(r.overflow=[f.overflow,f.overflowX,f.overflowY],i.css(n,"display")==="inline"&&i.css(n,"float")==="none"&&(i.support.inlineBlockNeedsLayout&&bi(n.nodeName)!=="inline"?f.zoom=1:f.display="inline-block")),r.overflow&&(f.overflow="hidden",i.support.shrinkWrapBlocks||s.done(function(){f.overflow=r.overflow[0],f.overflowX=r.overflow[1],f.overflowY=r.overflow[2]}));for(o in t)if(v=t[o],sf.exec(v)){if(delete t[o],v===(l?"hide":"show"))continue;a.push(o)}if(p=a.length,p)for(c=i._data(n,"fxshow")||i._data(n,"fxshow",{}),l?i(n).show():s.done(function(){i(n).hide()}),s.done(function(){var t;i.removeData(n,"fxshow",!0);for(t in y)i.style(n,t,y[t])}),o=0;o<p;o++)u=a[o],h=s.createTween(u,l?c[u]:0),y[u]=c[u]||i.style(n,u),u in c||(c[u]=h.start,l&&(h.end=h.start,h.start=u==="width"||u==="height"?1:0))}function f(n,t,i,r,u){return new f.prototype.init(n,t,i,r,u)}function nt(n,t){var u,i={height:n},r=0;for(t=t?1:0;r<4;r+=2-t)u=h[r],i["margin"+u]=i["padding"+u]=n;return t&&(i.opacity=i.width=n),i}function cu(n){return i.isWindow(n)?n:n.nodeType===9?n.defaultView||n.parentWindow:!1}var br,tt,r=n.document,du=n.location,nf=n.navigator,yf=n.jQuery,rf=n.$,su=Array.prototype.push,o=Array.prototype.slice,li=Array.prototype.indexOf,uf=Object.prototype.toString,ni=Object.prototype.hasOwnProperty,ii=String.prototype.trim,i=function(n,t){return new i.fn.init(n,t,br)},et=/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,lf=/\S/,l=/\s+/,af=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,ro=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,tr=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,fo=/^[\],:{}\s]*$/,no=/(?:^|:|,)(?:\s*\[)+/g,lo=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,po=/"[^"\\\r\n]*"|true|false|null|-?(?:\d\d*\.|)\d+(?:[eE][\-+]?\d+|)/g,oo=/^-ms-/,we=/-([\da-z])/gi,ie=function(n,t){return(t+"").toUpperCase()},it=function(){r.addEventListener?(r.removeEventListener("DOMContentLoaded",it,!1),i.ready()):r.readyState==="complete"&&(r.detachEvent("onreadystatechange",it),i.ready())},ei={},ti,ai,ci,w,ct,fi,yt;i.fn=i.prototype={constructor:i,init:function(n,u,f){var e,o,h,s;if(!n)return this;if(n.nodeType)return this.context=this[0]=n,this.length=1,this;if(typeof n=="string"){if(e=n.charAt(0)==="<"&&n.charAt(n.length-1)===">"&&n.length>=3?[null,n,null]:ro.exec(n),e&&(e[1]||!u)){if(e[1])return u=u instanceof i?u[0]:u,s=u&&u.nodeType?u.ownerDocument||u:r,n=i.parseHTML(e[1],s,!0),tr.test(e[1])&&i.isPlainObject(u)&&this.attr.call(n,u,!0),i.merge(this,n);if(o=r.getElementById(e[2]),o&&o.parentNode){if(o.id!==e[2])return f.find(n);this.length=1,this[0]=o}return this.context=r,this.selector=n,this}return!u||u.jquery?(u||f).find(n):this.constructor(u).find(n)}return i.isFunction(n)?f.ready(n):(n.selector!==t&&(this.selector=n.selector,this.context=n.context),i.makeArray(n,this))},selector:"",jquery:"1.8.2",length:0,size:function(){return this.length},toArray:function(){return o.call(this)},get:function(n){return n==null?this.toArray():n<0?this[this.length+n]:this[n]},pushStack:function(n,t,r){var u=i.merge(this.constructor(),n);return u.prevObject=this,u.context=this.context,t==="find"?u.selector=this.selector+(this.selector?" ":"")+r:t&&(u.selector=this.selector+"."+t+"("+r+")"),u},each:function(n,t){return i.each(this,n,t)},ready:function(n){return i.ready.promise().done(n),this},eq:function(n){return n=+n,n===-1?this.slice(n):this.slice(n,n+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(o.apply(this,arguments),"slice",o.call(arguments).join(","))},map:function(n){return this.pushStack(i.map(this,function(t,i){return n.call(t,i,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:su,sort:[].sort,splice:[].splice},i.fn.init.prototype=i.fn,i.extend=i.fn.extend=function(){var s,e,u,r,h,c,n=arguments[0]||{},f=1,l=arguments.length,o=!1;for(typeof n=="boolean"&&(o=n,n=arguments[1]||{},f=2),typeof n=="object"||i.isFunction(n)||(n={}),l===f&&(n=this,--f);f<l;f++)if((s=arguments[f])!=null)for(e in s)(u=n[e],r=s[e],n!==r)&&(o&&r&&(i.isPlainObject(r)||(h=i.isArray(r)))?(h?(h=!1,c=u&&i.isArray(u)?u:[]):c=u&&i.isPlainObject(u)?u:{},n[e]=i.extend(o,c,r)):r!==t&&(n[e]=r));return n},i.extend({noConflict:function(t){return n.$===i&&(n.$=rf),t&&n.jQuery===i&&(n.jQuery=yf),i},isReady:!1,readyWait:1,holdReady:function(n){n?i.readyWait++:i.ready(!0)},ready:function(n){if(n===!0?!--i.readyWait:!i.isReady){if(!r.body)return setTimeout(i.ready,1);(i.isReady=!0,n!==!0&&--i.readyWait>0)||(tt.resolveWith(r,[i]),i.fn.trigger&&i(r).trigger("ready").off("ready"))}},isFunction:function(n){return i.type(n)==="function"},isArray:Array.isArray||function(n){return i.type(n)==="array"},isWindow:function(n){return n!=null&&n==n.window},isNumeric:function(n){return!isNaN(parseFloat(n))&&isFinite(n)},type:function(n){return n==null?String(n):ei[uf.call(n)]||"object"},isPlainObject:function(n){if(!n||i.type(n)!=="object"||n.nodeType||i.isWindow(n))return!1;try{if(n.constructor&&!ni.call(n,"constructor")&&!ni.call(n.constructor.prototype,"isPrototypeOf"))return!1}catch(u){return!1}var r;for(r in n);return r===t||ni.call(n,r)},isEmptyObject:function(n){var t;for(t in n)return!1;return!0},error:function(n){throw new Error(n);},parseHTML:function(n,t,u){var f;return!n||typeof n!="string"?null:(typeof t=="boolean"&&(u=t,t=0),t=t||r,f=tr.exec(n))?[t.createElement(f[1])]:(f=i.buildFragment([n],t,u?null:[]),i.merge([],(f.cacheable?i.clone(f.fragment):f.fragment).childNodes))},parseJSON:function(t){if(!t||typeof t!="string")return null;if(t=i.trim(t),n.JSON&&n.JSON.parse)return n.JSON.parse(t);if(fo.test(t.replace(lo,"@").replace(po,"]").replace(no,"")))return new Function("return "+t)();i.error("Invalid JSON: "+t)},parseXML:function(r){var u,f;if(!r||typeof r!="string")return null;try{n.DOMParser?(f=new DOMParser,u=f.parseFromString(r,"text/xml")):(u=new ActiveXObject("Microsoft.XMLDOM"),u.async="false",u.loadXML(r))}catch(e){u=t}return u&&u.documentElement&&!u.getElementsByTagName("parsererror").length||i.error("Invalid XML: "+r),u},noop:function(){},globalEval:function(t){t&&lf.test(t)&&(n.execScript||function(t){n.eval.call(n,t)})(t)},camelCase:function(n){return n.replace(oo,"ms-").replace(we,ie)},nodeName:function(n,t){return n.nodeName&&n.nodeName.toLowerCase()===t.toLowerCase()},each:function(n,r,u){var e,f=0,o=n.length,s=o===t||i.isFunction(n);if(u){if(s){for(e in n)if(r.apply(n[e],u)===!1)break}else for(;f<o;)if(r.apply(n[f++],u)===!1)break}else if(s){for(e in n)if(r.call(n[e],e,n[e])===!1)break}else for(;f<o;)if(r.call(n[f],f,n[f++])===!1)break;return n},trim:ii&&!ii.call("﻿ ")?function(n){return n==null?"":ii.call(n)}:function(n){return n==null?"":(n+"").replace(af,"")},makeArray:function(n,t){var r,u=t||[];return n!=null&&(r=i.type(n),n.length==null||r==="string"||r==="function"||r==="regexp"||i.isWindow(n)?su.call(u,n):i.merge(u,n)),u},inArray:function(n,t,i){var r;if(t){if(li)return li.call(t,n,i);for(r=t.length,i=i?i<0?Math.max(0,r+i):i:0;i<r;i++)if(i in t&&t[i]===n)return i}return-1},merge:function(n,i){var f=i.length,u=n.length,r=0;if(typeof f=="number")for(;r<f;r++)n[u++]=i[r];else while(i[r]!==t)n[u++]=i[r++];return n.length=u,n},grep:function(n,t,i){var f,u=[],r=0,e=n.length;for(i=!!i;r<e;r++)f=!!t(n[r],r),i!==f&&u.push(n[r]);return u},map:function(n,r,u){var o,h,f=[],s=0,e=n.length,c=n instanceof i||e!==t&&typeof e=="number"&&(e>0&&n[0]&&n[e-1]||e===0||i.isArray(n));if(c)for(;s<e;s++)o=r(n[s],s,u),o!=null&&(f[f.length]=o);else for(h in n)o=r(n[h],h,u),o!=null&&(f[f.length]=o);return f.concat.apply([],f)},guid:1,proxy:function(n,r){var f,e,u;return(typeof r=="string"&&(f=n[r],r=n,n=f),!i.isFunction(n))?t:(e=o.call(arguments,2),u=function(){return n.apply(r,e.concat(o.call(arguments)))},u.guid=n.guid=n.guid||i.guid++,u)},access:function(n,r,u,f,e,o,s){var c,a=u==null,h=0,l=n.length;if(u&&typeof u=="object"){for(h in u)i.access(n,r,h,u[h],1,o,f);e=1}else if(f!==t){if(c=s===t&&i.isFunction(f),a&&(c?(c=r,r=function(n,t,r){return c.call(i(n),r)}):(r.call(n,f),r=null)),r)for(;h<l;h++)r(n[h],u,c?f.call(n[h],h,r(n[h],u)):f,s);e=1}return e?n:a?r.call(n):l?r(n[0],u):o},now:function(){return+new Date}}),i.ready.promise=function(t){if(!tt)if(tt=i.Deferred(),r.readyState==="complete")setTimeout(i.ready,1);else if(r.addEventListener)r.addEventListener("DOMContentLoaded",it,!1),n.addEventListener("load",i.ready,!1);else{r.attachEvent("onreadystatechange",it),n.attachEvent("onload",i.ready);var u=!1;try{u=n.frameElement==null&&r.documentElement}catch(e){}u&&u.doScroll&&function f(){if(!i.isReady){try{u.doScroll("left")}catch(n){return setTimeout(f,50)}i.ready()}}()}return tt.promise(t)},i.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(n,t){ei["[object "+t+"]"]=t.toLowerCase()}),br=i(r),ti={},i.Callbacks=function(n){n=typeof n=="string"?ti[n]||te(n):i.extend({},n);var f,c,s,a,h,e,r=[],u=!n.once&&[],l=function(t){for(f=n.memory&&t,c=!0,e=a||0,a=0,h=r.length,s=!0;r&&e<h;e++)if(r[e].apply(t[0],t[1])===!1&&n.stopOnFalse){f=!1;break}s=!1,r&&(u?u.length&&l(u.shift()):f?r=[]:o.disable())},o={add:function(){if(r){var u=r.length;(function t(u){i.each(u,function(u,f){var e=i.type(f);e!=="function"||n.unique&&o.has(f)?f&&f.length&&e!=="string"&&t(f):r.push(f)})})(arguments),s?h=r.length:f&&(a=u,l(f))}return this},remove:function(){return r&&i.each(arguments,function(n,t){for(var u;(u=i.inArray(t,r,u))>-1;)r.splice(u,1),s&&(u<=h&&h--,u<=e&&e--)}),this},has:function(n){return i.inArray(n,r)>-1},empty:function(){return r=[],this},disable:function(){return r=u=f=t,this},disabled:function(){return!r},lock:function(){return u=t,f||o.disable(),this},locked:function(){return!u},fireWith:function(n,t){return t=t||[],t=[n,t.slice?t.slice():t],r&&(!c||u)&&(s?u.push(t):l(t)),this},fire:function(){return o.fireWith(this,arguments),this},fired:function(){return!!c}};return o},i.extend({Deferred:function(n){var u=[["resolve","done",i.Callbacks("once memory"),"resolved"],["reject","fail",i.Callbacks("once memory"),"rejected"],["notify","progress",i.Callbacks("memory")]],f="pending",r={state:function(){return f},always:function(){return t.done(arguments).fail(arguments),this},then:function(){var n=arguments;return i.Deferred(function(r){i.each(u,function(u,f){var o=f[0],e=n[u];t[f[1]](i.isFunction(e)?function(){var n=e.apply(this,arguments);n&&i.isFunction(n.promise)?n.promise().done(r.resolve).fail(r.reject).progress(r.notify):r[o+"With"](this===t?r:this,[n])}:r[o])}),n=null}).promise()},promise:function(n){return n!=null?i.extend(n,r):r}},t={};return r.pipe=r.then,i.each(u,function(n,i){var e=i[2],o=i[3];r[i[1]]=e.add,o&&e.add(function(){f=o},u[n^1][2].disable,u[2][2].lock),t[i[0]]=e.fire,t[i[0]+"With"]=e.fireWith}),r.promise(t),n&&n.call(t,t),t},when:function(n){var r=0,u=o.call(arguments),t=u.length,e=t!==1||n&&i.isFunction(n.promise)?t:0,f=e===1?n:i.Deferred(),c=function(n,t,i){return function(r){t[n]=this,i[n]=arguments.length>1?o.call(arguments):r,i===h?f.notifyWith(t,i):--e||f.resolveWith(t,i)}},h,l,s;if(t>1)for(h=new Array(t),l=new Array(t),s=new Array(t);r<t;r++)u[r]&&i.isFunction(u[r].promise)?u[r].promise().done(c(r,s,u)).fail(f.reject).progress(c(r,l,h)):--e;return e||f.resolveWith(s,u),f.promise()}}),i.support=function(){var u,h,o,l,c,f,e,a,v,s,y,t=r.createElement("div");if(t.setAttribute("className","t"),t.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",h=t.getElementsByTagName("*"),o=t.getElementsByTagName("a")[0],o.style.cssText="top:1px;float:left;opacity:.5",!h||!h.length)return{};l=r.createElement("select"),c=l.appendChild(r.createElement("option")),f=t.getElementsByTagName("input")[0],u={leadingWhitespace:t.firstChild.nodeType===3,tbody:!t.getElementsByTagName("tbody").length,htmlSerialize:!!t.getElementsByTagName("link").length,style:/top/.test(o.getAttribute("style")),hrefNormalized:o.getAttribute("href")==="/a",opacity:/^0.5/.test(o.style.opacity),cssFloat:!!o.style.cssFloat,checkOn:f.value==="on",optSelected:c.selected,getSetAttribute:t.className!=="t",enctype:!!r.createElement("form").enctype,html5Clone:r.createElement("nav").cloneNode(!0).outerHTML!=="<:nav></:nav>",boxModel:r.compatMode==="CSS1Compat",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,boxSizingReliable:!0,pixelPosition:!1},f.checked=!0,u.noCloneChecked=f.cloneNode(!0).checked,l.disabled=!0,u.optDisabled=!c.disabled;try{delete t.test}catch(p){u.deleteExpando=!1}if(!t.addEventListener&&t.attachEvent&&t.fireEvent&&(t.attachEvent("onclick",y=function(){u.noCloneEvent=!1}),t.cloneNode(!0).fireEvent("onclick"),t.detachEvent("onclick",y)),f=r.createElement("input"),f.value="t",f.setAttribute("type","radio"),u.radioValue=f.value==="t",f.setAttribute("checked","checked"),f.setAttribute("name","t"),t.appendChild(f),e=r.createDocumentFragment(),e.appendChild(t.lastChild),u.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,u.appendChecked=f.checked,e.removeChild(f),e.appendChild(t),t.attachEvent)for(v in{submit:!0,change:!0,focusin:!0})a="on"+v,s=a in t,s||(t.setAttribute(a,"return;"),s=typeof t[a]=="function"),u[v+"Bubbles"]=s;return i(function(){var e,t,f,i,h="padding:0;margin:0;border:0;display:block;overflow:hidden;",o=r.getElementsByTagName("body")[0];o&&(e=r.createElement("div"),e.style.cssText="visibility:hidden;border:0;width:0;height:0;position:static;top:0;margin-top:1px",o.insertBefore(e,o.firstChild),t=r.createElement("div"),e.appendChild(t),t.innerHTML="<table><tr><td></td><td>t</td></tr></table>",f=t.getElementsByTagName("td"),f[0].style.cssText="padding:0;margin:0;border:0;display:none",s=f[0].offsetHeight===0,f[0].style.display="",f[1].style.display="none",u.reliableHiddenOffsets=s&&f[0].offsetHeight===0,t.innerHTML="",t.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",u.boxSizing=t.offsetWidth===4,u.doesNotIncludeMarginInBodyOffset=o.offsetTop!==1,n.getComputedStyle&&(u.pixelPosition=(n.getComputedStyle(t,null)||{}).top!=="1%",u.boxSizingReliable=(n.getComputedStyle(t,null)||{width:"4px"}).width==="4px",i=r.createElement("div"),i.style.cssText=t.style.cssText=h,i.style.marginRight=i.style.width="0",t.style.width="1px",t.appendChild(i),u.reliableMarginRight=!parseFloat((n.getComputedStyle(i,null)||{}).marginRight)),typeof t.style.zoom!="undefined"&&(t.innerHTML="",t.style.cssText=h+"width:1px;padding:1px;display:inline;zoom:1",u.inlineBlockNeedsLayout=t.offsetWidth===3,t.style.display="block",t.style.overflow="visible",t.innerHTML="<div></div>",t.firstChild.style.width="5px",u.shrinkWrapBlocks=t.offsetWidth!==3,e.style.zoom=1),o.removeChild(e),e=t=f=i=null)}),e.removeChild(t),h=o=l=c=f=e=t=null,u}(),ai=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,ci=/([A-Z])/g,i.extend({cache:{},deletedIds:[],uuid:0,expando:"jQuery"+(i.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(n){return n=n.nodeType?i.cache[n[i.expando]]:n[i.expando],!!n&&!ri(n)},data:function(n,r,u,f){if(i.acceptData(n)){var s,h,c=i.expando,a=typeof r=="string",l=n.nodeType,o=l?i.cache:n,e=l?n[c]:n[c]&&c;if(e&&o[e]&&(f||o[e].data)||!a||u!==t)return e||(l?n[c]=e=i.deletedIds.pop()||i.guid++:e=c),o[e]||(o[e]={},l||(o[e].toJSON=i.noop)),(typeof r=="object"||typeof r=="function")&&(f?o[e]=i.extend(o[e],r):o[e].data=i.extend(o[e].data,r)),s=o[e],f||(s.data||(s.data={}),s=s.data),u!==t&&(s[i.camelCase(r)]=u),a?(h=s[r],h==null&&(h=s[i.camelCase(r)])):h=s,h}},removeData:function(n,t,r){if(i.acceptData(n)){var e,o,h,s=n.nodeType,u=s?i.cache:n,f=s?n[i.expando]:i.expando;if(u[f]){if(t&&(e=r?u[f]:u[f].data,e)){for(i.isArray(t)||(t in e?t=[t]:(t=i.camelCase(t),t=t in e?[t]:t.split(" "))),o=0,h=t.length;o<h;o++)delete e[t[o]];if(!(r?ri:i.isEmptyObject)(e))return}(r||(delete u[f].data,ri(u[f])))&&(s?i.cleanData([n],!0):i.support.deleteExpando||u!=u.window?delete u[f]:u[f]=null)}}},_data:function(n,t,r){return i.data(n,t,r,!0)},acceptData:function(n){var t=n.nodeName&&i.noData[n.nodeName.toLowerCase()];return!t||t!==!0&&n.getAttribute("classid")===t}}),i.fn.extend({data:function(n,r){var u,s,c,o,l,e=this[0],h=0,f=null;if(n===t){if(this.length&&(f=i.data(e),e.nodeType===1&&!i._data(e,"parsedAttrs"))){for(c=e.attributes,l=c.length;h<l;h++)o=c[h].name,o.indexOf("data-")||(o=i.camelCase(o.substring(5)),au(e,o,f[o]));i._data(e,"parsedAttrs",!0)}return f}return typeof n=="object"?this.each(function(){i.data(this,n)}):(u=n.split(".",2),u[1]=u[1]?"."+u[1]:"",s=u[1]+"!",i.access(this,function(r){if(r===t)return f=this.triggerHandler("getData"+s,[u[0]]),f===t&&e&&(f=i.data(e,n),f=au(e,n,f)),f===t&&u[1]?this.data(u[0]):f;u[1]=r,this.each(function(){var t=i(this);t.triggerHandler("setData"+s,u),i.data(this,n,r),t.triggerHandler("changeData"+s,u)})},null,r,arguments.length>1,null,!1))},removeData:function(n){return this.each(function(){i.removeData(this,n)})}}),i.extend({queue:function(n,t,r){var u;if(n)return t=(t||"fx")+"queue",u=i._data(n,t),r&&(!u||i.isArray(r)?u=i._data(n,t,i.makeArray(r)):u.push(r)),u||[]},dequeue:function(n,t){t=t||"fx";var f=i.queue(n,t),e=f.length,r=f.shift(),u=i._queueHooks(n,t),o=function(){i.dequeue(n,t)};r==="inprogress"&&(r=f.shift(),e--),r&&(t==="fx"&&f.unshift("inprogress"),delete u.stop,r.call(n,o,u)),!e&&u&&u.empty.fire()},_queueHooks:function(n,t){var r=t+"queueHooks";return i._data(n,r)||i._data(n,r,{empty:i.Callbacks("once memory").add(function(){i.removeData(n,t+"queue",!0),i.removeData(n,r,!0)})})}}),i.fn.extend({queue:function(n,r){var u=2;return(typeof n!="string"&&(r=n,n="fx",u--),arguments.length<u)?i.queue(this[0],n):r===t?this:this.each(function(){var t=i.queue(this,n,r);i._queueHooks(this,n),n==="fx"&&t[0]!=="inprogress"&&i.dequeue(this,n)})},dequeue:function(n){return this.each(function(){i.dequeue(this,n)})},delay:function(n,t){return n=i.fx?i.fx.speeds[n]||n:n,t=t||"fx",this.queue(t,function(t,i){var r=setTimeout(t,n);i.stop=function(){clearTimeout(r)}})},clearQueue:function(n){return this.queue(n||"fx",[])},promise:function(n,r){var u,s=1,h=i.Deferred(),f=this,o=this.length,e=function(){--s||h.resolveWith(f,[f])};for(typeof n!="string"&&(r=n,n=t),n=n||"fx";o--;)u=i._data(f[o],n+"queueHooks"),u&&u.empty&&(s++,u.empty.add(e));return e(),h.promise(r)}});var s,wr,ru,dr=/[\t\r\n]/g,se=/\r/g,ao=/^(?:button|input)$/i,he=/^(?:button|input|object|select|textarea)$/i,ce=/^a(?:rea|)$/i,kr=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,pr=i.support.getSetAttribute;i.fn.extend({attr:function(n,t){return i.access(this,i.attr,n,t,arguments.length>1)},removeAttr:function(n){return this.each(function(){i.removeAttr(this,n)})},prop:function(n,t){return i.access(this,i.prop,n,t,arguments.length>1)},removeProp:function(n){return n=i.propFix[n]||n,this.each(function(){try{this[n]=t,delete this[n]}catch(i){}})},addClass:function(n){var u,e,s,t,f,r,o;if(i.isFunction(n))return this.each(function(t){i(this).addClass(n.call(this,t,this.className))});if(n&&typeof n=="string")for(u=n.split(l),e=0,s=this.length;e<s;e++)if(t=this[e],t.nodeType===1)if(t.className||u.length!==1){for(f=" "+t.className+" ",r=0,o=u.length;r<o;r++)f.indexOf(" "+u[r]+" ")<0&&(f+=u[r]+" ");t.className=i.trim(f)}else t.className=n;return this},removeClass:function(n){var o,f,r,u,h,e,s;if(i.isFunction(n))return this.each(function(t){i(this).removeClass(n.call(this,t,this.className))});if(n&&typeof n=="string"||n===t)for(o=(n||"").split(l),e=0,s=this.length;e<s;e++)if(r=this[e],r.nodeType===1&&r.className){for(f=(" "+r.className+" ").replace(dr," "),u=0,h=o.length;u<h;u++)while(f.indexOf(" "+o[u]+" ")>=0)f=f.replace(" "+o[u]+" "," ");r.className=n?i.trim(f):""}return this},toggleClass:function(n,t){var r=typeof n,u=typeof t=="boolean";return i.isFunction(n)?this.each(function(r){i(this).toggleClass(n.call(this,r,this.className,t),t)}):this.each(function(){if(r==="string")for(var e,h=0,o=i(this),f=t,s=n.split(l);e=s[h++];)f=u?f:!o.hasClass(e),o[f?"addClass":"removeClass"](e);else(r==="undefined"||r==="boolean")&&(this.className&&i._data(this,"__className__",this.className),this.className=this.className||n===!1?"":i._data(this,"__className__")||"")})},hasClass:function(n){for(var r=" "+n+" ",t=0,i=this.length;t<i;t++)if(this[t].nodeType===1&&(" "+this[t].className+" ").replace(dr," ").indexOf(r)>=0)return!0;return!1},val:function(n){var r,u,e,f=this[0];return arguments.length?(e=i.isFunction(n),this.each(function(u){var f,o=i(this);this.nodeType===1&&(f=e?n.call(this,u,o.val()):n,f==null?f="":typeof f=="number"?f+="":i.isArray(f)&&(f=i.map(f,function(n){return n==null?"":n+""})),r=i.valHooks[this.type]||i.valHooks[this.nodeName.toLowerCase()],r&&"set"in r&&r.set(this,f,"value")!==t||(this.value=f))})):f?(r=i.valHooks[f.type]||i.valHooks[f.nodeName.toLowerCase()],r&&"get"in r&&(u=r.get(f,"value"))!==t)?u:(u=f.value,typeof u=="string"?u.replace(se,""):u==null?"":u):void 0}}),i.extend({valHooks:{option:{get:function(n){var t=n.attributes.value;return!t||t.specified?n.value:n.text}},select:{get:function(n){var o,e,h,t,r=n.selectedIndex,s=[],u=n.options,f=n.type==="select-one";if(r<0)return null;for(e=f?r:0,h=f?r+1:u.length;e<h;e++)if(t=u[e],t.selected&&(i.support.optDisabled?!t.disabled:t.getAttribute("disabled")===null)&&(!t.parentNode.disabled||!i.nodeName(t.parentNode,"optgroup"))){if(o=i(t).val(),f)return o;s.push(o)}return f&&!s.length&&u.length?i(u[r]).val():s},set:function(n,t){var r=i.makeArray(t);return i(n).find("option").each(function(){this.selected=i.inArray(i(this).val(),r)>=0}),r.length||(n.selectedIndex=-1),r}}},attrFn:{},attr:function(n,r,u,f){var o,e,c,h=n.nodeType;if(n&&h!==3&&h!==8&&h!==2){if(f&&i.isFunction(i.fn[r]))return i(n)[r](u);if(typeof n.getAttribute=="undefined")return i.prop(n,r,u);if(c=h!==1||!i.isXMLDoc(n),c&&(r=r.toLowerCase(),e=i.attrHooks[r]||(kr.test(r)?wr:s)),u!==t){if(u===null){i.removeAttr(n,r);return}return e&&"set"in e&&c&&(o=e.set(n,u,r))!==t?o:(n.setAttribute(r,u+""),u)}return e&&"get"in e&&c&&(o=e.get(n,r))!==null?o:(o=n.getAttribute(r),o===null?t:o)}},removeAttr:function(n,t){var u,o,r,e,f=0;if(t&&n.nodeType===1)for(o=t.split(l);f<o.length;f++)r=o[f],r&&(u=i.propFix[r]||r,e=kr.test(r),e||i.attr(n,r,""),n.removeAttribute(pr?r:u),e&&u in n&&(n[u]=!1))},attrHooks:{type:{set:function(n,t){if(ao.test(n.nodeName)&&n.parentNode)i.error("type property can't be changed");else if(!i.support.radioValue&&t==="radio"&&i.nodeName(n,"input")){var r=n.value;return n.setAttribute("type",t),r&&(n.value=r),t}}},value:{get:function(n,t){return s&&i.nodeName(n,"button")?s.get(n,t):t in n?n.value:null},set:function(n,t,r){if(s&&i.nodeName(n,"button"))return s.set(n,t,r);n.value=t}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(n,r,u){var o,f,s,e=n.nodeType;if(n&&e!==3&&e!==8&&e!==2)return s=e!==1||!i.isXMLDoc(n),s&&(r=i.propFix[r]||r,f=i.propHooks[r]),u!==t?f&&"set"in f&&(o=f.set(n,u,r))!==t?o:n[r]=u:f&&"get"in f&&(o=f.get(n,r))!==null?o:n[r]},propHooks:{tabIndex:{get:function(n){var i=n.getAttributeNode("tabindex");return i&&i.specified?parseInt(i.value,10):he.test(n.nodeName)||ce.test(n.nodeName)&&n.href?0:t}}}}),wr={get:function(n,r){var f,u=i.prop(n,r);return u===!0||typeof u!="boolean"&&(f=n.getAttributeNode(r))&&f.nodeValue!==!1?r.toLowerCase():t},set:function(n,t,r){var u;return t===!1?i.removeAttr(n,r):(u=i.propFix[r]||r,u in n&&(n[u]=!0),n.setAttribute(r,r.toLowerCase())),r}},pr||(ru={name:!0,id:!0,coords:!0},s=i.valHooks.button={get:function(n,i){var r;return r=n.getAttributeNode(i),r&&(ru[i]?r.value!=="":r.specified)?r.value:t},set:function(n,t,i){var u=n.getAttributeNode(i);return u||(u=r.createAttribute(i),n.setAttributeNode(u)),u.value=t+""}},i.each(["width","height"],function(n,t){i.attrHooks[t]=i.extend(i.attrHooks[t],{set:function(n,i){if(i==="")return n.setAttribute(t,"auto"),i}})}),i.attrHooks.contenteditable={get:s.get,set:function(n,t,i){t===""&&(t="false"),s.set(n,t,i)}}),i.support.hrefNormalized||i.each(["href","src","width","height"],function(n,r){i.attrHooks[r]=i.extend(i.attrHooks[r],{get:function(n){var i=n.getAttribute(r,2);return i===null?t:i}})}),i.support.style||(i.attrHooks.style={get:function(n){return n.style.cssText.toLowerCase()||t},set:function(n,t){return n.style.cssText=t+""}}),i.support.optSelected||(i.propHooks.selected=i.extend(i.propHooks.selected,{get:function(n){var t=n.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}})),i.support.enctype||(i.propFix.enctype="encoding"),i.support.checkOn||i.each(["radio","checkbox"],function(){i.valHooks[this]={get:function(n){return n.getAttribute("value")===null?"on":n.value}}}),i.each(["radio","checkbox"],function(){i.valHooks[this]=i.extend(i.valHooks[this],{set:function(n,t){if(i.isArray(t))return n.checked=i.inArray(i(n).val(),t)>=0}})});var vt=/^(?:textarea|input|select)$/i,tu=/^([^\.]*|)(?:\.(.+)|)$/,ee=/(?:^|\s)hover(\.\S+|)\b/,oe=/^key/,ye=/^(?:mouse|contextmenu)|click/,nu=/^(?:focusinfocus|focusoutblur)$/,gr=function(n){return i.event.special.hover?n:n.replace(ee,"mouseenter$1 mouseleave$1")};i.event={add:function(n,r,u,f,e){var v,h,a,y,w,o,b,l,p,c,s;if(n.nodeType!==3&&n.nodeType!==8&&r&&u&&(v=i._data(n))){for(u.handler&&(p=u,u=p.handler,e=p.selector),u.guid||(u.guid=i.guid++),a=v.events,a||(v.events=a={}),h=v.handle,h||(v.handle=h=function(n){return typeof i!="undefined"&&(!n||i.event.triggered!==n.type)?i.event.dispatch.apply(h.elem,arguments):t},h.elem=n),r=i.trim(gr(r)).split(" "),y=0;y<r.length;y++)w=tu.exec(r[y])||[],o=w[1],b=(w[2]||"").split(".").sort(),s=i.event.special[o]||{},o=(e?s.delegateType:s.bindType)||o,s=i.event.special[o]||{},l=i.extend({type:o,origType:w[1],data:f,handler:u,guid:u.guid,selector:e,needsContext:e&&i.expr.match.needsContext.test(e),namespace:b.join(".")},p),c=a[o],c||(c=a[o]=[],c.delegateCount=0,s.setup&&s.setup.call(n,f,b,h)!==!1||(n.addEventListener?n.addEventListener(o,h,!1):n.attachEvent&&n.attachEvent("on"+o,h))),s.add&&(s.add.call(n,l),l.handler.guid||(l.handler.guid=u.guid)),e?c.splice(c.delegateCount++,0,l):c.push(l),i.event.global[o]=!0;n=null}},global:{},remove:function(n,t,r,u,f){var v,p,e,w,h,b,a,l,c,o,s,y=i.hasData(n)&&i._data(n);if(y&&(l=y.events)){for(t=i.trim(gr(t||"")).split(" "),v=0;v<t.length;v++){if(p=tu.exec(t[v])||[],e=w=p[1],h=p[2],!e){for(e in l)i.event.remove(n,e+t[v],r,u,!0);continue}for(c=i.event.special[e]||{},e=(u?c.delegateType:c.bindType)||e,o=l[e]||[],b=o.length,h=h?new RegExp("(^|\\.)"+h.split(".").sort().join("\\.(?:.*\\.|)")+"(\\.|$)"):null,a=0;a<o.length;a++)s=o[a],(f||w===s.origType)&&(!r||r.guid===s.guid)&&(!h||h.test(s.namespace))&&(!u||u===s.selector||u==="**"&&s.selector)&&(o.splice(a--,1),s.selector&&o.delegateCount--,c.remove&&c.remove.call(n,s));o.length===0&&b!==o.length&&(c.teardown&&c.teardown.call(n,h,y.handle)!==!1||i.removeEvent(n,e,y.handle),delete l[e])}i.isEmptyObject(l)&&(delete y.handle,i.removeData(n,"events",!0))}},customEvent:{getData:!0,setData:!0,changeData:!0},trigger:function(u,f,e,o){if(!e||e.nodeType!==3&&e.nodeType!==8){var w,d,l,h,c,y,a,v,p,k,s=u.type||u,b=[];if(!nu.test(s+i.event.triggered)&&(s.indexOf("!")>=0&&(s=s.slice(0,-1),d=!0),s.indexOf(".")>=0&&(b=s.split("."),s=b.shift(),b.sort()),e&&!i.event.customEvent[s]||i.event.global[s])){if(u=typeof u=="object"?u[i.expando]?u:new i.Event(s,u):new i.Event(s),u.type=s,u.isTrigger=!0,u.exclusive=d,u.namespace=b.join("."),u.namespace_re=u.namespace?new RegExp("(^|\\.)"+b.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,y=s.indexOf(":")<0?"on"+s:"",!e){w=i.cache;for(l in w)w[l].events&&w[l].events[s]&&i.event.trigger(u,f,w[l].handle.elem,!0);return}if(u.result=t,u.target||(u.target=e),f=f!=null?i.makeArray(f):[],f.unshift(u),a=i.event.special[s]||{},!a.trigger||a.trigger.apply(e,f)!==!1){if(p=[[e,a.bindType||s]],!o&&!a.noBubble&&!i.isWindow(e)){for(k=a.delegateType||s,h=nu.test(k+s)?e:e.parentNode,c=e;h;h=h.parentNode)p.push([h,k]),c=h;c===(e.ownerDocument||r)&&p.push([c.defaultView||c.parentWindow||n,k])}for(l=0;l<p.length&&!u.isPropagationStopped();l++)h=p[l][0],u.type=p[l][1],v=(i._data(h,"events")||{})[u.type]&&i._data(h,"handle"),v&&v.apply(h,f),v=y&&h[y],v&&i.acceptData(h)&&v.apply&&v.apply(h,f)===!1&&u.preventDefault();return u.type=s,o||u.isDefaultPrevented()||a._default&&a._default.apply(e.ownerDocument,f)!==!1||s==="click"&&i.nodeName(e,"a")||!i.acceptData(e)||y&&e[s]&&(s!=="focus"&&s!=="blur"||u.target.offsetWidth!==0)&&!i.isWindow(e)&&(c=e[y],c&&(e[y]=null),i.event.triggered=s,e[s](),i.event.triggered=t,c&&(e[y]=c)),u.result}}}},dispatch:function(r){r=i.event.fix(r||n.event);var f,b,e,w,p,h,y,u,s,g,c=(i._data(this,"events")||{})[r.type]||[],l=c.delegateCount,k=o.call(arguments),d=!r.exclusive&&!r.namespace,v=i.event.special[r.type]||{},a=[];if(k[0]=r,r.delegateTarget=this,!v.preDispatch||v.preDispatch.call(this,r)!==!1){if(l&&!(r.button&&r.type==="click"))for(e=r.target;e!=this;e=e.parentNode||this)if(e.disabled!==!0||r.type!=="click"){for(p={},y=[],f=0;f<l;f++)u=c[f],s=u.selector,p[s]===t&&(p[s]=u.needsContext?i(s,this).index(e)>=0:i.find(s,this,null,[e]).length),p[s]&&y.push(u);y.length&&a.push({elem:e,matches:y})}for(c.length>l&&a.push({elem:this,matches:c.slice(l)}),f=0;f<a.length&&!r.isPropagationStopped();f++)for(h=a[f],r.currentTarget=h.elem,b=0;b<h.matches.length&&!r.isImmediatePropagationStopped();b++)u=h.matches[b],(d||!r.namespace&&!u.namespace||r.namespace_re&&r.namespace_re.test(u.namespace))&&(r.data=u.data,r.handleObj=u,w=((i.event.special[u.origType]||{}).handle||u.handler).apply(h.elem,k),w!==t&&(r.result=w,w===!1&&(r.preventDefault(),r.stopPropagation())));return v.postDispatch&&v.postDispatch.call(this,r),r.result}},props:"attrChange attrName relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(n,t){return n.which==null&&(n.which=t.charCode!=null?t.charCode:t.keyCode),n}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(n,i){var s,f,u,e=i.button,o=i.fromElement;return n.pageX==null&&i.clientX!=null&&(s=n.target.ownerDocument||r,f=s.documentElement,u=s.body,n.pageX=i.clientX+(f&&f.scrollLeft||u&&u.scrollLeft||0)-(f&&f.clientLeft||u&&u.clientLeft||0),n.pageY=i.clientY+(f&&f.scrollTop||u&&u.scrollTop||0)-(f&&f.clientTop||u&&u.clientTop||0)),!n.relatedTarget&&o&&(n.relatedTarget=o===n.target?i.toElement:o),n.which||e===t||(n.which=e&1?1:e&2?3:e&4?2:0),n}},fix:function(n){if(n[i.expando])return n;var f,e,t=n,u=i.event.fixHooks[n.type]||{},o=u.props?this.props.concat(u.props):this.props;for(n=i.Event(t),f=o.length;f;)e=o[--f],n[e]=t[e];return n.target||(n.target=t.srcElement||r),n.target.nodeType===3&&(n.target=n.target.parentNode),n.metaKey=!!n.metaKey,u.filter?u.filter(n,t):n},special:{load:{noBubble:!0},focus:{delegateType:"focusin"},blur:{delegateType:"focusout"},beforeunload:{setup:function(n,t,r){i.isWindow(this)&&(this.onbeforeunload=r)},teardown:function(n,t){this.onbeforeunload===t&&(this.onbeforeunload=null)}}},simulate:function(n,t,r,u){var f=i.extend(new i.Event,r,{type:n,isSimulated:!0,originalEvent:{}});u?i.event.trigger(f,null,t):i.event.dispatch.call(t,f),f.isDefaultPrevented()&&r.preventDefault()}},i.event.handle=i.event.dispatch,i.removeEvent=r.removeEventListener?function(n,t,i){n.removeEventListener&&n.removeEventListener(t,i,!1)}:function(n,t,i){var r="on"+t;n.detachEvent&&(typeof n[r]=="undefined"&&(n[r]=null),n.detachEvent(r,i))},i.Event=function(n,t){if(!(this instanceof i.Event))return new i.Event(n,t);n&&n.type?(this.originalEvent=n,this.type=n.type,this.isDefaultPrevented=n.defaultPrevented||n.returnValue===!1||n.getPreventDefault&&n.getPreventDefault()?d:p):this.type=n,t&&i.extend(this,t),this.timeStamp=n&&n.timeStamp||i.now(),this[i.expando]=!0},i.Event.prototype={preventDefault:function(){this.isDefaultPrevented=d;var n=this.originalEvent;n&&(n.preventDefault?n.preventDefault():n.returnValue=!1)},stopPropagation:function(){this.isPropagationStopped=d;var n=this.originalEvent;n&&(n.stopPropagation&&n.stopPropagation(),n.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=d,this.stopPropagation()},isDefaultPrevented:p,isPropagationStopped:p,isImmediatePropagationStopped:p},i.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(n,t){i.event.special[n]={delegateType:t,bindType:t,handle:function(n){var f,e=this,r=n.relatedTarget,u=n.handleObj,o=u.selector;return r&&(r===e||i.contains(e,r))||(n.type=u.origType,f=u.handler.apply(this,arguments),n.type=t),f}}}),i.support.submitBubbles||(i.event.special.submit={setup:function(){if(i.nodeName(this,"form"))return!1;i.event.add(this,"click._submit keypress._submit",function(n){var u=n.target,r=i.nodeName(u,"input")||i.nodeName(u,"button")?u.form:t;r&&!i._data(r,"_submit_attached")&&(i.event.add(r,"submit._submit",function(n){n._submit_bubble=!0}),i._data(r,"_submit_attached",!0))})},postDispatch:function(n){n._submit_bubble&&(delete n._submit_bubble,this.parentNode&&!n.isTrigger&&i.event.simulate("submit",this.parentNode,n,!0))},teardown:function(){if(i.nodeName(this,"form"))return!1;i.event.remove(this,"._submit")}}),i.support.changeBubbles||(i.event.special.change={setup:function(){if(vt.test(this.nodeName))return(this.type==="checkbox"||this.type==="radio")&&(i.event.add(this,"propertychange._change",function(n){n.originalEvent.propertyName==="checked"&&(this._just_changed=!0)}),i.event.add(this,"click._change",function(n){this._just_changed&&!n.isTrigger&&(this._just_changed=!1),i.event.simulate("change",this,n,!0)})),!1;i.event.add(this,"beforeactivate._change",function(n){var t=n.target;vt.test(t.nodeName)&&!i._data(t,"_change_attached")&&(i.event.add(t,"change._change",function(n){!this.parentNode||n.isSimulated||n.isTrigger||i.event.simulate("change",this.parentNode,n,!0)}),i._data(t,"_change_attached",!0))})},handle:function(n){var t=n.target;if(this!==t||n.isSimulated||n.isTrigger||t.type!=="radio"&&t.type!=="checkbox")return n.handleObj.handler.apply(this,arguments)},teardown:function(){return i.event.remove(this,"._change"),!vt.test(this.nodeName)}}),i.support.focusinBubbles||i.each({focus:"focusin",blur:"focusout"},function(n,t){var f=0,u=function(n){i.event.simulate(t,n.target,i.event.fix(n),!0)};i.event.special[t]={setup:function(){f++==0&&r.addEventListener(n,u,!0)},teardown:function(){--f==0&&r.removeEventListener(n,u,!0)}}}),i.fn.extend({on:function(n,r,u,f,e){var o,s;if(typeof n=="object"){typeof r!="string"&&(u=u||r,r=t);for(s in n)this.on(s,r,u,n[s],e);return this}if(u==null&&f==null?(f=r,u=r=t):f==null&&(typeof r=="string"?(f=u,u=t):(f=u,u=r,r=t)),f===!1)f=p;else if(!f)return this;return e===1&&(o=f,f=function(n){return i().off(n),o.apply(this,arguments)},f.guid=o.guid||(o.guid=i.guid++)),this.each(function(){i.event.add(this,n,f,u,r)})},one:function(n,t,i,r){return this.on(n,t,i,r,1)},off:function(n,r,u){var f,e;if(n&&n.preventDefault&&n.handleObj)return f=n.handleObj,i(n.delegateTarget).off(f.namespace?f.origType+"."+f.namespace:f.origType,f.selector,f.handler),this;if(typeof n=="object"){for(e in n)this.off(e,r,n[e]);return this}return(r===!1||typeof r=="function")&&(u=r,r=t),u===!1&&(u=p),this.each(function(){i.event.remove(this,n,u,r)})},bind:function(n,t,i){return this.on(n,null,t,i)},unbind:function(n,t){return this.off(n,null,t)},live:function(n,t,r){i(this.context).on(n,this.selector,t,r);return this},die:function(n,t){return i(this.context).off(n,this.selector||"**",t),this},delegate:function(n,t,i,r){return this.on(t,n,i,r)},undelegate:function(n,t,i){return arguments.length===1?this.off(n,"**"):this.off(t,n||"**",i)},trigger:function(n,t){return this.each(function(){i.event.trigger(n,t,this)})},triggerHandler:function(n,t){if(this[0])return i.event.trigger(n,t,this[0],!0)},toggle:function(n){var r=arguments,f=n.guid||i.guid++,t=0,u=function(u){var f=(i._data(this,"lastToggle"+n.guid)||0)%t;return i._data(this,"lastToggle"+n.guid,f+1),u.preventDefault(),r[f].apply(this,arguments)||!1};for(u.guid=f;t<r.length;)r[t++].guid=f;return this.click(u)},hover:function(n,t){return this.mouseenter(n).mouseleave(t||n)}}),i.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(n,t){i.fn[t]=function(n,i){return i==null&&(i=n,n=null),arguments.length>0?this.on(t,null,n,i):this.trigger(t)},oe.test(t)&&(i.event.fixHooks[t]=i.event.keyHooks),ye.test(t)&&(i.event.fixHooks[t]=i.event.mouseHooks)});
/*!
 * Sizzle CSS Selector Engine
 * Copyright 2012 jQuery Foundation and other contributors
 * Released under the MIT license
 * http://sizzlejs.com/
 */
(function(n,t){function r(n,t,i,r){i=i||[],t=t||h;var e,u,s,f,o=t.nodeType;if(!n||typeof n!="string")return i;if(o!==1&&o!==9)return[];if(s=it(t),!s&&!r&&(e=pi.exec(n)))if(f=e[1]){if(o===9)if(u=t.getElementById(f),u&&u.parentNode){if(u.id===f)return i.push(u),i}else return i;else if(t.ownerDocument&&(u=t.ownerDocument.getElementById(f))&&oi(t,u)&&u.id===f)return i.push(u),i}else{if(e[2])return p.apply(i,w.call(t.getElementsByTagName(n),0)),i;if((f=e[3])&&ui&&t.getElementsByClassName)return p.apply(i,w.call(t.getElementsByClassName(f),0)),i}return ht(n.replace(rt,"$1"),t,i,r,s)}function b(n){return function(t){var i=t.nodeName.toLowerCase();return i==="input"&&t.type===n}}function ri(n){return function(t){var i=t.nodeName.toLowerCase();return(i==="input"||i==="button")&&t.type===n}}function a(n){return s(function(t){return t=+t,s(function(i,r){for(var u,e=n([],i.length,t),f=e.length;f--;)i[u=e[f]]&&(i[u]=!(r[u]=i[u]))})})}function ut(n,t,i){if(n===t)return i;for(var r=n.nextSibling;r;){if(r===t)return-1;r=r.nextSibling}return 1}function ft(n,t){var o,f,a,s,i,l,c,v=dt[e][n];if(v)return t?0:v.slice(0);for(i=n,l=[],c=u.preFilter;i;){(!o||(f=ki.exec(i)))&&(f&&(i=i.slice(f[0].length)),l.push(a=[])),o=!1,(f=di.exec(i))&&(a.push(o=new si(f.shift())),i=i.slice(o.length),o.type=f[0].replace(rt," "));for(s in u.filter)(f=nt[s].exec(i))&&(!c[s]||(f=c[s](f,h,!0)))&&(a.push(o=new si(f.shift())),i=i.slice(o.length),o.type=s,o.matches=f);if(!o)break}return t?i.length:i?r.error(n):dt(n,l).slice(0)}function lt(n,t,i){var u=t.dir,r=i&&t.dir==="parentNode",f=ai++;return t.first?function(t,i,f){while(t=t[u])if(r||t.nodeType===1)return n(t,i,f)}:function(t,i,o){if(o){while(t=t[u])if((r||t.nodeType===1)&&n(t,i,o))return t}else for(var s,c=d+" "+f+" ",h=c+bt;t=t[u];)if(r||t.nodeType===1){if((s=t[e])===h)return t.sizset;if(typeof s=="string"&&s.indexOf(c)===0){if(t.sizset)return t}else{if(t[e]=h,n(t,i,o))return t.sizset=!0,t;t.sizset=!1}}}}function vt(n){return n.length>1?function(t,i,r){for(var u=n.length;u--;)if(!n[u](t,i,r))return!1;return!0}:n[0]}function et(n,t,i,r,u){for(var e,o=[],f=0,h=n.length,s=t!=null;f<h;f++)(e=n[f])&&(!i||i(e,r,u))&&(o.push(e),s&&t.push(f));return o}function ct(n,t,i,r,u,f){return r&&!r[e]&&(r=ct(r)),u&&!u[e]&&(u=ct(u,f)),s(function(f,e,o,s){if(!f||!u){var c,a,l,w=[],y=[],b=e.length,k=f||li(t||"*",o.nodeType?[o]:o,[],f),v=n&&(f||!t)?et(k,w,n,o,s):k,h=i?u||(f?n:b||r)?[]:e:v;if(i&&i(v,h,o,s),r)for(l=et(h,y),r(l,[],o,s),c=l.length;c--;)(a=l[c])&&(h[y[c]]=!(v[y[c]]=a));if(f)for(c=n&&h.length;c--;)(a=h[c])&&(f[w[c]]=!(e[w[c]]=a));else h=et(h===e?h.splice(b,h.length):h),u?u(null,e,h,s):p.apply(e,h)}})}function at(n){for(var h,r,i,o=n.length,s=u.relative[n[0].type],c=s||u.relative[" "],t=s?1:0,l=lt(function(n){return n===h},c,!0),a=lt(function(n){return ti.call(h,n)>-1},c,!0),f=[function(n,t,i){return!s&&(i||t!==tt)||((h=t).nodeType?l(n,t,i):a(n,t,i))}];t<o;t++)if(r=u.relative[n[t].type])f=[lt(vt(f),r)];else{if(r=u.filter[n[t].type].apply(null,n[t].matches),r[e]){for(i=++t;i<o;i++)if(u.relative[n[i].type])break;return ct(t>1&&vt(f),t>1&&n.slice(0,t-1).join("").replace(rt,"$1"),r,t<i&&at(n.slice(t,i)),i<o&&at(n=n.slice(i)),i<o&&n.join(""))}f.push(r)}return vt(f)}function vi(n,t){var f=t.length>0,e=n.length>0,i=function(o,s,c,l,a){var w,b,g,y=[],k=0,v="0",it=o&&[],nt=a!=null,ut=tt,ft=o||e&&u.find.TAG("*",a&&s.parentNode||s),rt=d+=ut==null?1:Math.E;for(nt&&(tt=s!==h&&s,bt=i.el);(w=ft[v])!=null;v++){if(e&&w){for(b=0;g=n[b];b++)if(g(w,s,c)){l.push(w);break}nt&&(d=rt,bt=++i.el)}f&&((w=!g&&w)&&k--,o&&it.push(w))}if(k+=v,f&&v!==k){for(b=0;g=t[b];b++)g(it,y,s,c);if(o){if(k>0)while(v--)it[v]||y[v]||(y[v]=ci.call(l));y=et(y)}p.apply(l,y),nt&&!o&&y.length>0&&k+t.length>1&&r.uniqueSort(l)}return nt&&(d=rt,tt=ut),it};return i.el=0,f?s(i):i}function li(n,t,i,u){for(var f=0,e=t.length;f<e;f++)r(n,t[f],i,u);return i}function ht(n,t,i,r,f){var h,e,s,l,c,o=ft(n),a=o.length;if(!r&&o.length===1){if(e=o[0]=o[0].slice(0),e.length>2&&(s=e[0]).type==="ID"&&t.nodeType===9&&!f&&u.relative[e[1].type]){if(t=u.find.ID(s.matches[0].replace(v,""),t,f)[0],!t)return i;n=n.slice(e.shift().length)}for(h=nt.POS.test(n)?-1:e.length-1;h>=0;h--){if(s=e[h],u.relative[l=s.type])break;if((c=u.find[l])&&(r=c(s.matches[0].replace(v,""),st.test(e[0].type)&&t.parentNode||t,f))){if(e.splice(h,1),n=r.length&&e.join(""),!n)return p.apply(i,w.call(r,0)),i;break}}}return pt(n,o)(r,t,f,i,st.test(n)),i}function ei(){}var bt,wt,u,g,it,oi,pt,yt,k,tt,hi=!0,c="undefined",e=("sizcache"+Math.random()).replace(".",""),si=String,h=n.document,o=h.documentElement,d=0,ai=0,ci=[].pop,p=[].push,w=[].slice,ti=[].indexOf||function(n){for(var t=0,i=this.length;t<i;t++)if(this[t]===n)return t;return-1},s=function(n,t){return n[e]=t==null||t,n},kt=function(){var n={},t=[];return s(function(i,r){return t.push(i)>u.cacheLength&&delete n[t.shift()],n[i]=r},n)},ni=kt(),dt=kt(),gt=kt(),f="[\\x20\\t\\r\\n\\f]",y="(?:\\\\.|[-\\w]|[^\\x00-\\xa0])+",wi=y.replace("w","w#"),bi="([*^$|!~]?=)",ii="\\["+f+"*("+y+")"+f+"*(?:"+bi+f+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+wi+")|)|)"+f+"*\\]",ot=":("+y+")(?:\\((?:(['\"])((?:\\\\.|[^\\\\])*?)\\2|([^()[\\]]*|(?:(?:"+ii+")|[^:]|\\\\.)*|.*))\\)|)",fi=":(even|odd|eq|gt|lt|nth|first|last)(?:\\("+f+"*((?:-\\d)?\\d*)"+f+"*\\)|)(?=[^-]|$)",rt=new RegExp("^"+f+"+|((?:^|[^\\\\])(?:\\\\.)*)"+f+"+$","g"),ki=new RegExp("^"+f+"*,"+f+"*"),di=new RegExp("^"+f+"*([\\x20\\t\\r\\n\\f>+~])"+f+"*"),yi=new RegExp(ot),pi=/^(?:#([\w\-]+)|(\w+)|\.([\w\-]+))$/,er=/^:not/,st=/[\x20\t\r\n\f]*[+~]/,or=/:not\($/,ur=/h\d/i,ir=/input|select|textarea|button/i,v=/\\(?!\\)/g,nt={ID:new RegExp("^#("+y+")"),CLASS:new RegExp("^\\.("+y+")"),NAME:new RegExp("^\\[name=['\"]?("+y+")['\"]?\\]"),TAG:new RegExp("^("+y.replace("w","w*")+")"),ATTR:new RegExp("^"+ii),PSEUDO:new RegExp("^"+ot),POS:new RegExp(fi,"i"),CHILD:new RegExp("^:(only|nth|first|last)-child(?:\\("+f+"*(even|odd|(([+-]|)(\\d*)n|)"+f+"*(?:([+-]|)"+f+"*(\\d+)|))"+f+"*\\)|)","i"),needsContext:new RegExp("^"+f+"*[>+~]|"+fi,"i")},l=function(n){var t=h.createElement("div");try{return n(t)}catch(i){return!1}finally{t=null}},rr=l(function(n){return n.appendChild(h.createComment("")),!n.getElementsByTagName("*").length}),nr=l(function(n){return n.innerHTML="<a href='#'></a>",n.firstChild&&typeof n.firstChild.getAttribute!==c&&n.firstChild.getAttribute("href")==="#"}),tr=l(function(n){n.innerHTML="<select></select>";var t=typeof n.lastChild.getAttribute("multiple");return t!=="boolean"&&t!=="string"}),ui=l(function(n){return(n.innerHTML="<div class='hidden e'></div><div class='hidden'></div>",!n.getElementsByClassName||!n.getElementsByClassName("e").length)?!1:(n.lastChild.className="e",n.getElementsByClassName("e").length===2)}),gi=l(function(n){n.id=e+0,n.innerHTML="<a name='"+e+"'></a><div name='"+e+"'></div>",o.insertBefore(n,o.firstChild);var t=h.getElementsByName&&h.getElementsByName(e).length===2+h.getElementsByName(e+0).length;return wt=!h.getElementById(e),o.removeChild(n),t});try{w.call(o.childNodes,0)[0].nodeType}catch(fr){w=function(n){for(var i,t=[];i=this[n];n++)t.push(i);return t}}r.matches=function(n,t){return r(n,null,null,t)},r.matchesSelector=function(n,t){return r(t,null,null,[n]).length>0},g=r.getText=function(n){var r,i="",u=0,t=n.nodeType;if(t){if(t===1||t===9||t===11){if(typeof n.textContent=="string")return n.textContent;for(n=n.firstChild;n;n=n.nextSibling)i+=g(n)}else if(t===3||t===4)return n.nodeValue}else for(;r=n[u];u++)i+=g(r);return i},it=r.isXML=function(n){var t=n&&(n.ownerDocument||n).documentElement;return t?t.nodeName!=="HTML":!1},oi=r.contains=o.contains?function(n,t){var r=n.nodeType===9?n.documentElement:n,i=t&&t.parentNode;return n===i||!!(i&&i.nodeType===1&&r.contains&&r.contains(i))}:o.compareDocumentPosition?function(n,t){return t&&!!(n.compareDocumentPosition(t)&16)}:function(n,t){while(t=t.parentNode)if(t===n)return!0;return!1},r.attr=function(n,t){var i,r=it(n);return(r||(t=t.toLowerCase()),i=u.attrHandle[t])?i(n):r||tr?n.getAttribute(t):(i=n.getAttributeNode(t),i?typeof n[t]=="boolean"?n[t]?t:null:i.specified?i.value:null:null)},u=r.selectors={cacheLength:50,createPseudo:s,match:nt,attrHandle:nr?{}:{href:function(n){return n.getAttribute("href",2)},type:function(n){return n.getAttribute("type")}},find:{ID:wt?function(n,t,i){if(typeof t.getElementById!==c&&!i){var r=t.getElementById(n);return r&&r.parentNode?[r]:[]}}:function(n,i,r){if(typeof i.getElementById!==c&&!r){var u=i.getElementById(n);return u?u.id===n||typeof u.getAttributeNode!==c&&u.getAttributeNode("id").value===n?[u]:t:[]}},TAG:rr?function(n,t){if(typeof t.getElementsByTagName!==c)return t.getElementsByTagName(n)}:function(n,t){var f=t.getElementsByTagName(n),r,i,u;if(n==="*"){for(i=[],u=0;r=f[u];u++)r.nodeType===1&&i.push(r);return i}return f},NAME:gi&&function(n,t){if(typeof t.getElementsByName!==c)return t.getElementsByName(name)},CLASS:ui&&function(n,t,i){if(typeof t.getElementsByClassName!==c&&!i)return t.getElementsByClassName(n)}},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(n){return n[1]=n[1].replace(v,""),n[3]=(n[4]||n[5]||"").replace(v,""),n[2]==="~="&&(n[3]=" "+n[3]+" "),n.slice(0,4)},CHILD:function(n){return n[1]=n[1].toLowerCase(),n[1]==="nth"?(n[2]||r.error(n[0]),n[3]=+(n[3]?n[4]+(n[5]||1):2*(n[2]==="even"||n[2]==="odd")),n[4]=+(n[6]+n[7]||n[2]==="odd")):n[2]&&r.error(n[0]),n},PSEUDO:function(n){var t,i;return nt.CHILD.test(n[0])?null:(n[3]?n[2]=n[3]:(t=n[4])&&(yi.test(t)&&(i=ft(t,!0))&&(i=t.indexOf(")",t.length-i)-t.length)&&(t=t.slice(0,i),n[0]=n[0].slice(0,i)),n[2]=t),n.slice(0,3))}},filter:{ID:wt?function(n){return n=n.replace(v,""),function(t){return t.getAttribute("id")===n}}:function(n){return n=n.replace(v,""),function(t){var i=typeof t.getAttributeNode!==c&&t.getAttributeNode("id");return i&&i.value===n}},TAG:function(n){return n==="*"?function(){return!0}:(n=n.replace(v,"").toLowerCase(),function(t){return t.nodeName&&t.nodeName.toLowerCase()===n})},CLASS:function(n){var t=ni[e][n];return t||(t=ni(n,new RegExp("(^|"+f+")"+n+"("+f+"|$)"))),function(n){return t.test(n.className||typeof n.getAttribute!==c&&n.getAttribute("class")||"")}},ATTR:function(n,t,i){return function(u){var e=r.attr(u,n);return e==null?t==="!=":t?(e+="",t==="="?e===i:t==="!="?e!==i:t==="^="?i&&e.indexOf(i)===0:t==="*="?i&&e.indexOf(i)>-1:t==="$="?i&&e.substr(e.length-i.length)===i:t==="~="?(" "+e+" ").indexOf(i)>-1:t==="|="?e===i||e.substr(0,i.length+1)===i+"-":!1):!0}},CHILD:function(n,t,i,r){return n==="nth"?function(n){var u,t,f=n.parentNode;if(i===1&&r===0)return!0;if(f)for(t=0,u=f.firstChild;u;u=u.nextSibling)if(u.nodeType===1&&(t++,n===u))break;return t-=r,t===i||t%i==0&&t/i>=0}:function(t){var i=t;switch(n){case"only":case"first":while(i=i.previousSibling)if(i.nodeType===1)return!1;if(n==="first")return!0;i=t;case"last":while(i=i.nextSibling)if(i.nodeType===1)return!1;return!0}}},PSEUDO:function(n,t){var f,i=u.pseudos[n]||u.setFilters[n.toLowerCase()]||r.error("unsupported pseudo: "+n);return i[e]?i(t):i.length>1?(f=[n,n,"",t],u.setFilters.hasOwnProperty(n.toLowerCase())?s(function(n,r){for(var e,f=i(n,t),u=f.length;u--;)e=ti.call(n,f[u]),n[e]=!(r[e]=f[u])}):function(n){return i(n,0,f)}):i}},pseudos:{not:s(function(n){var i=[],r=[],t=pt(n.replace(rt,"$1"));return t[e]?s(function(n,i,r,u){for(var e,o=t(n,null,u,[]),f=n.length;f--;)(e=o[f])&&(n[f]=!(i[f]=e))}):function(n,u,f){return i[0]=n,t(i,null,f,r),!r.pop()}}),has:s(function(n){return function(t){return r(n,t).length>0}}),contains:s(function(n){return function(t){return(t.textContent||t.innerText||g(t)).indexOf(n)>-1}}),enabled:function(n){return n.disabled===!1},disabled:function(n){return n.disabled===!0},checked:function(n){var t=n.nodeName.toLowerCase();return t==="input"&&!!n.checked||t==="option"&&!!n.selected},selected:function(n){return n.parentNode&&n.parentNode.selectedIndex,n.selected===!0},parent:function(n){return!u.pseudos.empty(n)},empty:function(n){var t;for(n=n.firstChild;n;){if(n.nodeName>"@"||(t=n.nodeType)===3||t===4)return!1;n=n.nextSibling}return!0},header:function(n){return ur.test(n.nodeName)},text:function(n){var i,t;return n.nodeName.toLowerCase()==="input"&&(i=n.type)==="text"&&((t=n.getAttribute("type"))==null||t.toLowerCase()===i)},radio:b("radio"),checkbox:b("checkbox"),file:b("file"),password:b("password"),image:b("image"),submit:ri("submit"),reset:ri("reset"),button:function(n){var t=n.nodeName.toLowerCase();return t==="input"&&n.type==="button"||t==="button"},input:function(n){return ir.test(n.nodeName)},focus:function(n){var t=n.ownerDocument;return n===t.activeElement&&(!t.hasFocus||t.hasFocus())&&!!(n.type||n.href)},active:function(n){return n===n.ownerDocument.activeElement},first:a(function(){return[0]}),last:a(function(n,t){return[t-1]}),eq:a(function(n,t,i){return[i<0?i+t:i]}),even:a(function(n,t){for(var r=0;r<t;r+=2)n.push(r);return n}),odd:a(function(n,t){for(var r=1;r<t;r+=2)n.push(r);return n}),lt:a(function(n,t,i){for(var r=i<0?i+t:i;--r>=0;)n.push(r);return n}),gt:a(function(n,t,i){for(var r=i<0?i+t:i;++r<t;)n.push(r);return n})}},yt=o.compareDocumentPosition?function(n,t){return n===t?(k=!0,0):(!n.compareDocumentPosition||!t.compareDocumentPosition?n.compareDocumentPosition:n.compareDocumentPosition(t)&4)?-1:1}:function(n,t){var i;if(n===t)return k=!0,0;if(n.sourceIndex&&t.sourceIndex)return n.sourceIndex-t.sourceIndex;var o,h,f=[],u=[],s=n.parentNode,e=t.parentNode,r=s;if(s===e)return ut(n,t);if(s){if(!e)return 1}else return-1;while(r)f.unshift(r),r=r.parentNode;for(r=e;r;)u.unshift(r),r=r.parentNode;for(o=f.length,h=u.length,i=0;i<o&&i<h;i++)if(f[i]!==u[i])return ut(f[i],u[i]);return i===o?ut(n,u[i],-1):ut(f[i],t,1)},[0,0].sort(yt),hi=!k,r.uniqueSort=function(n){var i,t=1;if(k=hi,n.sort(yt),k)for(;i=n[t];t++)i===n[t-1]&&n.splice(t--,1);return n},r.error=function(n){throw new Error("Syntax error, unrecognized expression: "+n);},pt=r.compile=function(n,t){var r,u=[],f=[],i=gt[e][n];if(!i){for(t||(t=ft(n)),r=t.length;r--;)i=at(t[r]),i[e]?u.push(i):f.push(i);i=gt(n,vi(f,u))}return i},h.querySelectorAll&&function(){var u,h=ht,c=/'|\\/g,s=/\=[\x20\t\r\n\f]*([^'"\]]*)[\x20\t\r\n\f]*\]/g,n=[":focus"],i=[":active",":focus"],t=o.matchesSelector||o.mozMatchesSelector||o.webkitMatchesSelector||o.oMatchesSelector||o.msMatchesSelector;l(function(t){t.innerHTML="<select><option selected=''></option></select>",t.querySelectorAll("[selected]").length||n.push("\\["+f+"*(?:checked|disabled|ismap|multiple|readonly|selected|value)"),t.querySelectorAll(":checked").length||n.push(":checked")}),l(function(t){t.innerHTML="<p test=''></p>",t.querySelectorAll("[test^='']").length&&n.push("[*^$]="+f+"*(?:\"\"|'')"),t.innerHTML="<input type='hidden'/>",t.querySelectorAll(":enabled").length||n.push(":enabled",":disabled")}),n=new RegExp(n.join("|")),ht=function(t,i,r,u,f){if(!u&&!f&&(!n||!n.test(t))){var s,l,v=!0,o=e,y=i,a=i.nodeType===9&&t;if(i.nodeType===1&&i.nodeName.toLowerCase()!=="object"){for(s=ft(t),(v=i.getAttribute("id"))?o=v.replace(c,"\\$&"):i.setAttribute("id",o),o="[id='"+o+"'] ",l=s.length;l--;)s[l]=o+s[l].join("");y=st.test(t)&&i.parentNode||i,a=s.join(",")}if(a)try{return p.apply(r,w.call(y.querySelectorAll(a),0)),r}catch(b){}finally{v||i.removeAttribute("id")}}return h(t,i,r,u,f)},t&&(l(function(n){u=t.call(n,"div");try{t.call(n,"[test!='']:sizzle"),i.push("!=",ot)}catch(r){}}),i=new RegExp(i.join("|")),r.matchesSelector=function(f,e){if(e=e.replace(s,"='$1']"),!it(f)&&!i.test(e)&&(!n||!n.test(e)))try{var o=t.call(f,e);if(o||u||f.document&&f.document.nodeType!==11)return o}catch(h){}return r(e,null,null,[f]).length>0})}(),u.pseudos.nth=u.pseudos.eq,u.filters=ei.prototype=u.pseudos,u.setFilters=new ei,r.attr=i.attr,i.find=r,i.expr=r.selectors,i.expr[":"]=i.expr.pseudos,i.unique=r.uniqueSort,i.text=r.getText,i.isXMLDoc=r.isXML,i.contains=r.contains})(n);var pe=/Until$/,ve=/^(?:parents|prev(?:Until|All))/,le=/^.[^:#\[\.,]*$/,vr=i.expr.match.needsContext,ae={children:!0,contents:!0,next:!0,prev:!0};i.fn.extend({find:function(n){var t,e,o,u,f,r,s=this;if(typeof n!="string")return i(n).filter(function(){for(t=0,e=s.length;t<e;t++)if(i.contains(s[t],this))return!0});for(r=this.pushStack("","find",n),t=0,e=this.length;t<e;t++)if(o=r.length,i.find(n,this[t],r),t>0)for(u=o;u<r.length;u++)for(f=0;f<o;f++)if(r[f]===r[u]){r.splice(u--,1);break}return r},has:function(n){var t,r=i(n,this),u=r.length;return this.filter(function(){for(t=0;t<u;t++)if(i.contains(this,r[t]))return!0})},not:function(n){return this.pushStack(lu(this,n,!1),"not",n)},filter:function(n){return this.pushStack(lu(this,n,!0),"filter",n)},is:function(n){return!!n&&(typeof n=="string"?vr.test(n)?i(n,this.context).index(this[0])>=0:i.filter(n,this).length>0:this.filter(n).length>0)},closest:function(n,t){for(var r,f=0,o=this.length,u=[],e=vr.test(n)||typeof n!="string"?i(n,t||this.context):0;f<o;f++)for(r=this[f];r&&r.ownerDocument&&r!==t&&r.nodeType!==11;){if(e?e.index(r)>-1:i.find.matchesSelector(r,n)){u.push(r);break}r=r.parentNode}return u=u.length>1?i.unique(u):u,this.pushStack(u,"closest",n)},index:function(n){return n?typeof n=="string"?i.inArray(this[0],i(n)):i.inArray(n.jquery?n[0]:n,this):this[0]&&this[0].parentNode?this.prevAll().length:-1},add:function(n,t){var u=typeof n=="string"?i(n,t):i.makeArray(n&&n.nodeType?[n]:n),r=i.merge(this.get(),u);return this.pushStack(k(u[0])||k(r[0])?r:i.unique(r))},addBack:function(n){return this.add(n==null?this.prevObject:this.prevObject.filter(n))}}),i.fn.andSelf=i.fn.addBack,i.each({parent:function(n){var t=n.parentNode;return t&&t.nodeType!==11?t:null},parents:function(n){return i.dir(n,"parentNode")},parentsUntil:function(n,t,r){return i.dir(n,"parentNode",r)},next:function(n){return uu(n,"nextSibling")},prev:function(n){return uu(n,"previousSibling")},nextAll:function(n){return i.dir(n,"nextSibling")},prevAll:function(n){return i.dir(n,"previousSibling")},nextUntil:function(n,t,r){return i.dir(n,"nextSibling",r)},prevUntil:function(n,t,r){return i.dir(n,"previousSibling",r)},siblings:function(n){return i.sibling((n.parentNode||{}).firstChild,n)},children:function(n){return i.sibling(n.firstChild)},contents:function(n){return i.nodeName(n,"iframe")?n.contentDocument||n.contentWindow.document:i.merge([],n.childNodes)}},function(n,t){i.fn[n]=function(r,u){var f=i.map(this,t,r);return pe.test(n)||(u=r),u&&typeof u=="string"&&(f=i.filter(u,f)),f=this.length>1&&!ae[n]?i.unique(f):f,this.length>1&&ve.test(n)&&(f=f.reverse()),this.pushStack(f,n,o.call(arguments).join(","))}}),i.extend({filter:function(n,t,r){return r&&(n=":not("+n+")"),t.length===1?i.find.matchesSelector(t[0],n)?[t[0]]:[]:i.find.matches(n,t)},dir:function(n,r,u){for(var e=[],f=n[r];f&&f.nodeType!==9&&(u===t||f.nodeType!==1||!i(f).is(u));)f.nodeType===1&&e.push(f),f=f[r];return e},sibling:function(n,t){for(var i=[];n;n=n.nextSibling)n.nodeType===1&&n!==t&&i.push(n);return i}});var hu="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",gf=/ jQuery\d+="(?:null|\d+)"/g,at=/^\s+/,eu=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,fu=/<([\w:]+)/,ne=/<tbody/i,df=/<|&#?\w+;/,bf=/<(?:script|style|link)/i,kf=/<(?:script|object|embed|option|style)/i,kt=new RegExp("<(?:"+hu+")[\\s/>]","i"),ar=/^(?:checkbox|radio)$/,vi=/checked\s*(?:[^=]|=\s*.checked.)/i,ue=/\/(java|ecma)script/i,fe=/^\s*<!(?:\[CDATA\[|\-\-)|[\]\-]{2}>\s*$/g,e={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]},hi=vu(r),dt=hi.appendChild(r.createElement("div"));e.optgroup=e.option,e.tbody=e.tfoot=e.colgroup=e.caption=e.thead,e.th=e.td,i.support.htmlSerialize||(e._default=[1,"X<div>","</div>"]),i.fn.extend({text:function(n){return i.access(this,function(n){return n===t?i.text(this):this.empty().append((this[0]&&this[0].ownerDocument||r).createTextNode(n))},null,n,arguments.length)},wrapAll:function(n){if(i.isFunction(n))return this.each(function(t){i(this).wrapAll(n.call(this,t))});if(this[0]){var t=i(n,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var n=this;n.firstChild&&n.firstChild.nodeType===1;)n=n.firstChild;return n}).append(this)}return this},wrapInner:function(n){return i.isFunction(n)?this.each(function(t){i(this).wrapInner(n.call(this,t))}):this.each(function(){var r=i(this),t=r.contents();t.length?t.wrapAll(n):r.append(n)})},wrap:function(n){var t=i.isFunction(n);return this.each(function(r){i(this).wrapAll(t?n.call(this,r):n)})},unwrap:function(){return this.parent().each(function(){i.nodeName(this,"body")||i(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(n){(this.nodeType===1||this.nodeType===11)&&this.appendChild(n)})},prepend:function(){return this.domManip(arguments,!0,function(n){(this.nodeType===1||this.nodeType===11)&&this.insertBefore(n,this.firstChild)})},before:function(){if(!k(this[0]))return this.domManip(arguments,!1,function(n){this.parentNode.insertBefore(n,this)});if(arguments.length){var n=i.clean(arguments);return this.pushStack(i.merge(n,this),"before",this.selector)}},after:function(){if(!k(this[0]))return this.domManip(arguments,!1,function(n){this.parentNode.insertBefore(n,this.nextSibling)});if(arguments.length){var n=i.clean(arguments);return this.pushStack(i.merge(this,n),"after",this.selector)}},remove:function(n,t){for(var r,u=0;(r=this[u])!=null;u++)(!n||i.filter(n,[r]).length)&&(t||r.nodeType!==1||(i.cleanData(r.getElementsByTagName("*")),i.cleanData([r])),r.parentNode&&r.parentNode.removeChild(r));return this},empty:function(){for(var n,t=0;(n=this[t])!=null;t++)for(n.nodeType===1&&i.cleanData(n.getElementsByTagName("*"));n.firstChild;)n.removeChild(n.firstChild);return this},clone:function(n,t){return n=n==null?!1:n,t=t==null?n:t,this.map(function(){return i.clone(this,n,t)})},html:function(n){return i.access(this,function(n){var r=this[0]||{},u=0,f=this.length;if(n===t)return r.nodeType===1?r.innerHTML.replace(gf,""):t;if(typeof n=="string"&&!bf.test(n)&&(i.support.htmlSerialize||!kt.test(n))&&(i.support.leadingWhitespace||!at.test(n))&&!e[(fu.exec(n)||["",""])[1].toLowerCase()]){n=n.replace(eu,"<$1></$2>");try{for(;u<f;u++)r=this[u]||{},r.nodeType===1&&(i.cleanData(r.getElementsByTagName("*")),r.innerHTML=n);r=0}catch(o){}}r&&this.empty().append(n)},null,n,arguments.length)},replaceWith:function(n){return k(this[0])?this.length?this.pushStack(i(i.isFunction(n)?n():n),"replaceWith",n):this:i.isFunction(n)?this.each(function(t){var r=i(this),u=r.html();r.replaceWith(n.call(this,t,u))}):(typeof n!="string"&&(n=i(n).detach()),this.each(function(){var t=this.nextSibling,r=this.parentNode;i(this).remove(),t?i(t).before(n):i(r).append(n)}))},detach:function(n){return this.remove(n,!0)},domManip:function(n,r,u){n=[].concat.apply([],n);var l,o,f,a,e=0,s=n[0],h=[],c=this.length;if(!i.support.checkClone&&c>1&&typeof s=="string"&&vi.test(s))return this.each(function(){i(this).domManip(n,r,u)});if(i.isFunction(s))return this.each(function(f){var e=i(this);n[0]=s.call(this,f,r?e.html():t),e.domManip(n,r,u)});if(this[0]){if(l=i.buildFragment(n,this,h),f=l.fragment,o=f.firstChild,f.childNodes.length===1&&(f=o),o)for(r=r&&i.nodeName(o,"tr"),a=l.cacheable||c-1;e<c;e++)u.call(r&&i.nodeName(this[e],"table")?re(this[e],"tbody"):this[e],e===a?f:i.clone(f,!0,!0));f=o=null,h.length&&i.each(h,function(n,t){t.src?i.ajax?i.ajax({url:t.src,type:"GET",dataType:"script",async:!1,global:!1,throws:!0}):i.error("no ajax"):i.globalEval((t.text||t.textContent||t.innerHTML||"").replace(fe,"")),t.parentNode&&t.parentNode.removeChild(t)})}return this}}),i.buildFragment=function(n,u,f){var o,s,h,e=n[0];return u=u||r,u=!u.nodeType&&u[0]||u,u=u.ownerDocument||u,n.length===1&&typeof e=="string"&&e.length<512&&u===r&&e.charAt(0)==="<"&&!kf.test(e)&&(i.support.checkClone||!vi.test(e))&&(i.support.html5Clone||!kt.test(e))&&(s=!0,o=i.fragments[e],h=o!==t),o||(o=u.createDocumentFragment(),i.clean(n,u,o,f),s&&(i.fragments[e]=h&&o)),{fragment:o,cacheable:s}},i.fragments={},i.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(n,t){i.fn[n]=function(r){var s,e=0,o=[],f=i(r),h=f.length,u=this.length===1&&this[0].parentNode;if((u==null||u&&u.nodeType===11&&u.childNodes.length===1)&&h===1)return f[t](this[0]),this;for(;e<h;e++)s=(e>0?this.clone(!0):this).get(),i(f[e])[t](s),o=o.concat(s);return this.pushStack(o,n,f.selector)}}),i.extend({clone:function(n,t,r){var e,o,u,f;if(i.support.html5Clone||i.isXMLDoc(n)||!kt.test("<"+n.nodeName+">")?f=n.cloneNode(!0):(dt.innerHTML=n.outerHTML,dt.removeChild(f=dt.firstChild)),(!i.support.noCloneEvent||!i.support.noCloneChecked)&&(n.nodeType===1||n.nodeType===11)&&!i.isXMLDoc(n))for(si(n,f),e=rt(n),o=rt(f),u=0;e[u];++u)o[u]&&si(e[u],o[u]);if(t&&(yi(n,f),r))for(e=rt(n),o=rt(f),u=0;e[u];++u)yi(e[u],o[u]);return e=o=null,f},clean:function(n,t,u,f){var h,l,o,w,v,d,s,k,a,g,b,p,y=t===r&&hi,c=[];for(t&&typeof t.createDocumentFragment!="undefined"||(t=r),h=0;(o=n[h])!=null;h++)if(typeof o=="number"&&(o+=""),o){if(typeof o=="string")if(df.test(o)){for(y=y||vu(t),s=t.createElement("div"),y.appendChild(s),o=o.replace(eu,"<$1></$2>"),w=(fu.exec(o)||["",""])[1].toLowerCase(),v=e[w]||e._default,d=v[0],s.innerHTML=v[1]+o+v[2];d--;)s=s.lastChild;if(!i.support.tbody)for(k=ne.test(o),a=w==="table"&&!k?s.firstChild&&s.firstChild.childNodes:v[1]==="<table>"&&!k?s.childNodes:[],l=a.length-1;l>=0;--l)i.nodeName(a[l],"tbody")&&!a[l].childNodes.length&&a[l].parentNode.removeChild(a[l]);!i.support.leadingWhitespace&&at.test(o)&&s.insertBefore(t.createTextNode(at.exec(o)[0]),s.firstChild),o=s.childNodes,s.parentNode.removeChild(s)}else o=t.createTextNode(o);o.nodeType?c.push(o):i.merge(c,o)}if(s&&(o=s=y=null),!i.support.appendChecked)for(h=0;(o=c[h])!=null;h++)i.nodeName(o,"input")?ui(o):typeof o.getElementsByTagName!="undefined"&&i.grep(o.getElementsByTagName("input"),ui);if(u)for(b=function(n){if(!n.type||ue.test(n.type))return f?f.push(n.parentNode?n.parentNode.removeChild(n):n):u.appendChild(n)},h=0;(o=c[h])!=null;h++)i.nodeName(o,"script")&&b(o)||(u.appendChild(o),typeof o.getElementsByTagName!="undefined"&&(p=i.grep(i.merge([],o.getElementsByTagName("script")),b),c.splice.apply(c,[h+1,0].concat(p)),h+=p.length));return c},cleanData:function(n,t){for(var f,u,r,o,h=0,e=i.expando,s=i.cache,l=i.support.deleteExpando,c=i.event.special;(r=n[h])!=null;h++)if((t||i.acceptData(r))&&(u=r[e],f=u&&s[u],f)){if(f.events)for(o in f.events)c[o]?i.event.remove(r,o):i.removeEvent(r,o,f.handle);s[u]&&(delete s[u],l?delete r[e]:r.removeAttribute?r.removeAttribute(e):r[e]=null,i.deletedIds.push(u))}}}),function(){var t,n;i.uaMatch=function(n){n=n.toLowerCase();var t=/(chrome)[ \/]([\w.]+)/.exec(n)||/(webkit)[ \/]([\w.]+)/.exec(n)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(n)||/(msie) ([\w.]+)/.exec(n)||n.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(n)||[];return{browser:t[1]||"",version:t[2]||"0"}},t=i.uaMatch(nf.userAgent),n={},t.browser&&(n[t.browser]=!0,n.version=t.version),n.chrome?n.webkit=!0:n.webkit&&(n.safari=!0),i.browser=n,i.sub=function(){function n(t,i){return new n.fn.init(t,i)}i.extend(!0,n,this),n.superclass=this,n.fn=n.prototype=this(),n.fn.constructor=n,n.sub=this.sub,n.fn.init=function(r,u){return u&&u instanceof i&&!(u instanceof n)&&(u=n(u)),i.fn.init.call(this,r,u,t)},n.fn.init.prototype=n.fn;var t=n(r);return n}}();var u,v,y,wt=/alpha\([^)]*\)/i,ho=/opacity=([^)]*)/,co=/^(top|right|bottom|left)$/,so=/^(none|table(?!-c[ea]).+)/,oi=/^margin/,eo=new RegExp("^("+et+")(.*)$","i"),g=new RegExp("^("+et+")(?!px)[a-z%]+$","i"),yo=new RegExp("^([-+])=("+et+")","i"),bt={},vo={position:"absolute",visibility:"hidden",display:"block"},or={letterSpacing:0,fontWeight:400},h=["Top","Right","Bottom","Left"],ou=["Webkit","O","Moz","ms"],ge=i.fn.toggle;i.fn.extend({css:function(n,r){return i.access(this,function(n,r,u){return u!==t?i.style(n,r,u):i.css(n,r)},n,r,arguments.length>1)},show:function(){return sr(this,!0)},hide:function(){return sr(this)},toggle:function(n,t){var r=typeof n=="boolean";return i.isFunction(n)&&i.isFunction(t)?ge.apply(this,arguments):this.each(function(){(r?n:st(this))?i(this).show():i(this).hide()})}}),i.extend({cssHooks:{opacity:{get:function(n,t){if(t){var i=u(n,"opacity");return i===""?"1":i}}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:i.support.cssFloat?"cssFloat":"styleFloat"},style:function(n,r,u,f){if(n&&n.nodeType!==3&&n.nodeType!==8&&n.style){var s,h,e,o=i.camelCase(r),c=n.style;if(r=i.cssProps[o]||(i.cssProps[o]=lr(c,o)),e=i.cssHooks[r]||i.cssHooks[o],u!==t){if(h=typeof u,h==="string"&&(s=yo.exec(u))&&(u=(s[1]+1)*s[2]+parseFloat(i.css(n,r)),h="number"),u==null||h==="number"&&isNaN(u))return;if(h!=="number"||i.cssNumber[o]||(u+="px"),!e||!("set"in e)||(u=e.set(n,u,f))!==t)try{c[r]=u}catch(l){}}else return e&&"get"in e&&(s=e.get(n,!1,f))!==t?s:c[r]}},css:function(n,r,f,e){var o,c,s,h=i.camelCase(r);return(r=i.cssProps[h]||(i.cssProps[h]=lr(n.style,h)),s=i.cssHooks[r]||i.cssHooks[h],s&&"get"in s&&(o=s.get(n,!0,e)),o===t&&(o=u(n,r)),o==="normal"&&r in or&&(o=or[r]),f||e!==t)?(c=parseFloat(o),f||i.isNumeric(c)?c||0:o):o},swap:function(n,t,i){var f,r,u={};for(r in t)u[r]=n.style[r],n.style[r]=t[r];f=i.call(n);for(r in t)n.style[r]=u[r];return f}}),n.getComputedStyle?u=function(t,r){var f,o,s,h,e=n.getComputedStyle(t,null),u=t.style;return e&&(f=e[r],f!==""||i.contains(t.ownerDocument,t)||(f=i.style(t,r)),g.test(f)&&oi.test(r)&&(o=u.width,s=u.minWidth,h=u.maxWidth,u.minWidth=u.maxWidth=u.width=f,f=e.width,u.width=o,u.minWidth=s,u.maxWidth=h)),f}:r.documentElement.currentStyle&&(u=function(n,t){var f,u,i=n.currentStyle&&n.currentStyle[t],r=n.style;return i==null&&r&&r[t]&&(i=r[t]),g.test(i)&&!co.test(t)&&(f=r.left,u=n.runtimeStyle&&n.runtimeStyle.left,u&&(n.runtimeStyle.left=n.currentStyle.left),r.left=t==="fontSize"?"1em":i,i=r.pixelLeft+"px",r.left=f,u&&(n.runtimeStyle.left=u)),i===""?"auto":i}),i.each(["height","width"],function(n,t){i.cssHooks[t]={get:function(n,r,f){if(r)return n.offsetWidth===0&&so.test(u(n,"display"))?i.swap(n,vo,function(){return gi(n,t,f)}):gi(n,t,f)},set:function(n,r,u){return hr(n,r,u?di(n,t,u,i.support.boxSizing&&i.css(n,"boxSizing")==="border-box"):0)}}}),i.support.opacity||(i.cssHooks.opacity={get:function(n,t){return ho.test((t&&n.currentStyle?n.currentStyle.filter:n.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(n,t){var r=n.style,f=n.currentStyle,e=i.isNumeric(t)?"alpha(opacity="+t*100+")":"",u=f&&f.filter||r.filter||"";(r.zoom=1,t>=1&&i.trim(u.replace(wt,""))===""&&r.removeAttribute&&(r.removeAttribute("filter"),f&&!f.filter))||(r.filter=wt.test(u)?u.replace(wt,e):u+" "+e)}}),i(function(){i.support.reliableMarginRight||(i.cssHooks.marginRight={get:function(n,t){return i.swap(n,{display:"inline-block"},function(){if(t)return u(n,"marginRight")})}}),!i.support.pixelPosition&&i.fn.position&&i.each(["top","left"],function(n,t){i.cssHooks[t]={get:function(n,r){if(r){var f=u(n,t);return g.test(f)?i(n).position()[t]+"px":f}}}})}),i.expr&&i.expr.filters&&(i.expr.filters.hidden=function(n){return n.offsetWidth===0&&n.offsetHeight===0||!i.support.reliableHiddenOffsets&&(n.style&&n.style.display||u(n,"display"))==="none"},i.expr.filters.visible=function(n){return!i.expr.filters.hidden(n)}),i.each({margin:"",padding:"",border:"Width"},function(n,t){i.cssHooks[n+t]={expand:function(i){for(var u=typeof i=="string"?i.split(" "):[i],f={},r=0;r<4;r++)f[n+h[r]+t]=u[r]||u[r-2]||u[0];return f}},oi.test(n)||(i.cssHooks[n+t].set=hr)});var de=/%20/g,be=/\[\]$/,rr=/\r?\n/g,ke=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,uo=/^(?:select|textarea)/i;i.fn.extend({serialize:function(){return i.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?i.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||uo.test(this.nodeName)||ke.test(this.type))}).map(function(n,t){var r=i(this).val();return r==null?null:i.isArray(r)?i.map(r,function(n){return{name:t.name,value:n.replace(rr,"\r\n")}}):{name:t.name,value:r.replace(rr,"\r\n")}}).get()}}),i.param=function(n,r){var f,u=[],e=function(n,t){t=i.isFunction(t)?t():t==null?"":t,u[u.length]=encodeURIComponent(n)+"="+encodeURIComponent(t)};if(r===t&&(r=i.ajaxSettings&&i.ajaxSettings.traditional),i.isArray(n)||n.jquery&&!i.isPlainObject(n))i.each(n,function(){e(this.name,this.value)});else for(f in n)pt(f,n[f],r,e);return u.join("&").replace(de,"+")};var a,c,to=/#.*$/,io=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,pu=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,yu=/^(?:GET|HEAD)$/,gu=/^\/\//,nr=/\?/,ku=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,bu=/([?&])_=[^&]*/,ir=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,ki=i.fn.load,gt={},cr={},fr=["*/"]+["*"];try{c=du.href}catch(wo){c=r.createElement("a"),c.href="",c=c.href}a=ir.exec(c.toLowerCase())||[],i.fn.load=function(n,r,u){if(typeof n!="string"&&ki)return ki.apply(this,arguments);if(!this.length)return this;var e,o,h,s=this,f=n.indexOf(" ");return f>=0&&(e=n.slice(f,n.length),n=n.slice(0,f)),i.isFunction(r)?(u=r,r=t):r&&typeof r=="object"&&(o="POST"),i.ajax({url:n,type:o,dataType:"html",data:r,complete:function(n,t){u&&s.each(u,h||[n.responseText,t,n])}}).done(function(n){h=arguments,s.html(e?i("<div>").append(n.replace(ku,"")).find(e):n)}),this},i.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(n,t){i.fn[t]=function(n){return this.on(t,n)}}),i.each(["get","post"],function(n,r){i[r]=function(n,u,f,e){return i.isFunction(u)&&(e=e||f,f=u,u=t),i.ajax({type:r,url:n,data:u,success:f,dataType:e})}}),i.extend({getScript:function(n,r){return i.get(n,t,r,"script")},getJSON:function(n,t,r){return i.get(n,t,r,"json")},ajaxSetup:function(n,t){return t?er(n,i.ajaxSettings):(t=n,n=i.ajaxSettings),er(n,t),n},ajaxSettings:{url:c,isLocal:pu.test(a[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded; charset=UTF-8",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":fr},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":n.String,"text html":!0,"text json":i.parseJSON,"text xml":i.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:ur(gt),ajaxTransport:ur(cr),ajax:function(n,r){function b(n,r,h,l){var v,k,b,d,p,a=r;e!==2&&(e=2,g&&clearTimeout(g),c=t,it=l||"",f.readyState=n>0?4:0,h&&(d=vf(u,f,h)),n>=200&&n<300||n===304?(u.ifModified&&(p=f.getResponseHeader("Last-Modified"),p&&(i.lastModified[o]=p),p=f.getResponseHeader("Etag"),p&&(i.etag[o]=p)),n===304?(a="notmodified",v=!0):(v=wf(u,d),a=v.state,k=v.data,b=v.error,v=!b)):(b=a,(!a||n)&&(a="error",n<0&&(n=0))),f.status=n,f.statusText=(r||a)+"",v?tt.resolveWith(s,[k,a,f]):tt.rejectWith(s,[f,a,b]),f.statusCode(w),w=t,y&&nt.trigger("ajax"+(v?"Success":"Error"),[f,u,v?k:b]),ft.fireWith(s,[f,a]),y&&(nt.trigger("ajaxComplete",[f,u]),--i.active||i.event.trigger("ajaxStop")))}var k,d;typeof n=="object"&&(r=n,n=t),r=r||{};var o,it,p,c,g,v,y,h,u=i.ajaxSetup({},r),s=u.context||u,nt=s!==u&&(s.nodeType||s instanceof i)?i(s):i.event,tt=i.Deferred(),ft=i.Callbacks("once memory"),w=u.statusCode||{},rt={},ut={},e=0,et="canceled",f={readyState:0,setRequestHeader:function(n,t){if(!e){var i=n.toLowerCase();n=ut[i]=ut[i]||n,rt[n]=t}return this},getAllResponseHeaders:function(){return e===2?it:null},getResponseHeader:function(n){var i;if(e===2){if(!p)for(p={};i=io.exec(it);)p[i[1].toLowerCase()]=i[2];i=p[n.toLowerCase()]}return i===t?null:i},overrideMimeType:function(n){return e||(u.mimeType=n),this},abort:function(n){return n=n||et,c&&c.abort(n),b(0,n),this}};if(tt.promise(f),f.success=f.done,f.error=f.fail,f.complete=ft.add,f.statusCode=function(n){if(n){var t;if(e<2)for(t in n)w[t]=[w[t],n[t]];else t=n[f.status],f.always(t)}return this},u.url=((n||u.url)+"").replace(to,"").replace(gu,a[1]+"//"),u.dataTypes=i.trim(u.dataType||"*").toLowerCase().split(l),u.crossDomain==null&&(v=ir.exec(u.url.toLowerCase())||!1,u.crossDomain=v&&v.join(":")+(v[3]?"":v[1]==="http:"?80:443)!==a.join(":")+(a[3]?"":a[1]==="http:"?80:443)),u.data&&u.processData&&typeof u.data!="string"&&(u.data=i.param(u.data,u.traditional)),ot(gt,u,r,f),e===2)return f;y=u.global,u.type=u.type.toUpperCase(),u.hasContent=!yu.test(u.type),y&&i.active++==0&&i.event.trigger("ajaxStart"),u.hasContent||(u.data&&(u.url+=(nr.test(u.url)?"&":"?")+u.data,delete u.data),o=u.url,u.cache===!1&&(k=i.now(),d=u.url.replace(bu,"$1_="+k),u.url=d+(d===u.url?(nr.test(u.url)?"&":"?")+"_="+k:""))),(u.data&&u.hasContent&&u.contentType!==!1||r.contentType)&&f.setRequestHeader("Content-Type",u.contentType),u.ifModified&&(o=o||u.url,i.lastModified[o]&&f.setRequestHeader("If-Modified-Since",i.lastModified[o]),i.etag[o]&&f.setRequestHeader("If-None-Match",i.etag[o])),f.setRequestHeader("Accept",u.dataTypes[0]&&u.accepts[u.dataTypes[0]]?u.accepts[u.dataTypes[0]]+(u.dataTypes[0]!=="*"?", "+fr+"; q=0.01":""):u.accepts["*"]);for(h in u.headers)f.setRequestHeader(h,u.headers[h]);if(u.beforeSend&&(u.beforeSend.call(s,f,u)===!1||e===2))return f.abort();et="abort";for(h in{success:1,error:1,complete:1})f[h](u[h]);if(c=ot(cr,u,r,f),c){f.readyState=1,y&&nt.trigger("ajaxSend",[f,u]),u.async&&u.timeout>0&&(g=setTimeout(function(){f.abort("timeout")},u.timeout));try{e=1,c.send(rt,b)}catch(st){if(e<2)b(-1,st);else throw st;}}else b(-1,"No Transport");return f},active:0,lastModified:{},etag:{}});var wi=[],pf=/\?/,lt=/(=)\?(?=&|$)|\?\?/,ff=i.now();i.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var n=wi.pop()||i.expando+"_"+ff++;return this[n]=!0,n}}),i.ajaxPrefilter("json jsonp",function(r,u,f){var e,s,o,l=r.data,a=r.url,h=r.jsonp!==!1,c=h&&lt.test(a),v=h&&!c&&typeof l=="string"&&!(r.contentType||"").indexOf("application/x-www-form-urlencoded")&&lt.test(l);if(r.dataTypes[0]==="jsonp"||c||v)return e=r.jsonpCallback=i.isFunction(r.jsonpCallback)?r.jsonpCallback():r.jsonpCallback,s=n[e],c?r.url=a.replace(lt,"$1"+e):v?r.data=l.replace(lt,"$1"+e):h&&(r.url+=(pf.test(a)?"&":"?")+r.jsonp+"="+e),r.converters["script json"]=function(){return o||i.error(e+" was not called"),o[0]},r.dataTypes[0]="json",n[e]=function(){o=arguments},f.always(function(){n[e]=s,r[e]&&(r.jsonpCallback=u.jsonpCallback,wi.push(e)),o&&i.isFunction(s)&&s(o[0]),o=s=t}),"script"}),i.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(n){return i.globalEval(n),n}}}),i.ajaxPrefilter("script",function(n){n.cache===t&&(n.cache=!1),n.crossDomain&&(n.type="GET",n.global=!1)}),i.ajaxTransport("script",function(n){if(n.crossDomain){var i,u=r.head||r.getElementsByTagName("head")[0]||r.documentElement;return{send:function(f,e){i=r.createElement("script"),i.async="async",n.scriptCharset&&(i.charset=n.scriptCharset),i.src=n.url,i.onload=i.onreadystatechange=function(n,r){(r||!i.readyState||/loaded|complete/.test(i.readyState))&&(i.onload=i.onreadystatechange=null,u&&i.parentNode&&u.removeChild(i),i=t,r||e(200,"success"))},u.insertBefore(i,u.firstChild)},abort:function(){if(i)i.onload(0,1)}}}}),ct=n.ActiveXObject?function(){for(var n in w)w[n](0,1)}:!1,fi=0,i.ajaxSettings.xhr=n.ActiveXObject?function(){return!this.isLocal&&pi()||of()}:pi,function(n){i.extend(i.support,{ajax:!!n,cors:!!n&&"withCredentials"in n})}(i.ajaxSettings.xhr()),i.support.ajax&&i.ajaxTransport(function(r){if(!r.crossDomain||i.support.cors){var u;return{send:function(f,e){var h,s,o=r.xhr();if(r.username?o.open(r.type,r.url,r.async,r.username,r.password):o.open(r.type,r.url,r.async),r.xhrFields)for(s in r.xhrFields)o[s]=r.xhrFields[s];r.mimeType&&o.overrideMimeType&&o.overrideMimeType(r.mimeType),r.crossDomain||f["X-Requested-With"]||(f["X-Requested-With"]="XMLHttpRequest");try{for(s in f)o.setRequestHeader(s,f[s])}catch(c){}o.send(r.hasContent&&r.data||null),u=function(n,f){var c,a,v,s,l;try{if(u&&(f||o.readyState===4))if(u=t,h&&(o.onreadystatechange=i.noop,ct&&delete w[h]),f)o.readyState!==4&&o.abort();else{c=o.status,v=o.getAllResponseHeaders(),s={},l=o.responseXML,l&&l.documentElement&&(s.xml=l);try{s.text=o.responseText}catch(n){}try{a=o.statusText}catch(p){a=""}c||!r.isLocal||r.crossDomain?c===1223&&(c=204):c=s.text?200:404}}catch(y){f||e(-1,y)}s&&e(c,a,s,v)},r.async?o.readyState===4?setTimeout(u,0):(h=++fi,ct&&(w||(w={},i(n).unload(ct)),w[h]=u),o.onreadystatechange=u):u()},abort:function(){u&&u(0,1)}}}});var ht,ut,sf=/^(?:toggle|show|hide)$/,hf=new RegExp("^(?:([-+])=|)("+et+")([a-z%]*)$","i"),ef=/queueHooks$/,ft=[wu],b={"*":[function(n,t){var s,o,r=this.createTween(n,t),e=hf.exec(t),h=r.cur(),u=+h||0,f=1,c=20;if(e){if(s=+e[2],o=e[3]||(i.cssNumber[n]?"":"px"),o!=="px"&&u){u=i.css(r.elem,n,!0)||s||1;do f=f||".5",u=u/f,i.style(r.elem,n,u+o);while(f!==(f=r.cur()/h)&&f!==1&&--c)}r.unit=o,r.start=u,r.end=e[1]?u+(e[1]+1)*s:s}return r}]};i.Animation=i.extend(iu,{tweener:function(n,t){i.isFunction(n)?(t=n,n=["*"]):n=n.split(" ");for(var r,u=0,f=n.length;u<f;u++)r=n[u],b[r]=b[r]||[],b[r].unshift(t)},prefilter:function(n,t){t?ft.unshift(n):ft.push(n)}}),i.Tween=f,f.prototype={constructor:f,init:function(n,t,r,u,f,e){this.elem=n,this.prop=r,this.easing=f||"swing",this.options=t,this.start=this.now=this.cur(),this.end=u,this.unit=e||(i.cssNumber[r]?"":"px")},cur:function(){var n=f.propHooks[this.prop];return n&&n.get?n.get(this):f.propHooks._default.get(this)},run:function(n){var r,t=f.propHooks[this.prop];return this.pos=this.options.duration?r=i.easing[this.easing](n,this.options.duration*n,0,1,this.options.duration):r=n,this.now=(this.end-this.start)*r+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),t&&t.set?t.set(this):f.propHooks._default.set(this),this}},f.prototype.init.prototype=f.prototype,f.propHooks={_default:{get:function(n){var t;return n.elem[n.prop]!=null&&(!n.elem.style||n.elem.style[n.prop]==null)?n.elem[n.prop]:(t=i.css(n.elem,n.prop,!1,""),!t||t==="auto"?0:t)},set:function(n){i.fx.step[n.prop]?i.fx.step[n.prop](n):n.elem.style&&(n.elem.style[i.cssProps[n.prop]]!=null||i.cssHooks[n.prop])?i.style(n.elem,n.prop,n.now+n.unit):n.elem[n.prop]=n.now}}},f.propHooks.scrollTop=f.propHooks.scrollLeft={set:function(n){n.elem.nodeType&&n.elem.parentNode&&(n.elem[n.prop]=n.now)}},i.each(["toggle","show","hide"],function(n,t){var r=i.fn[t];i.fn[t]=function(u,f,e){return u==null||typeof u=="boolean"||!n&&i.isFunction(u)&&i.isFunction(f)?r.apply(this,arguments):this.animate(nt(t,!0),u,f,e)}}),i.fn.extend({fadeTo:function(n,t,i,r){return this.filter(st).css("opacity",0).show().end().animate({opacity:t},n,i,r)},animate:function(n,t,r,u){var o=i.isEmptyObject(n),f=i.speed(t,r,u),e=function(){var t=iu(this,i.extend({},n),f);o&&t.stop(!0)};return o||f.queue===!1?this.each(e):this.queue(f.queue,e)},stop:function(n,r,u){var f=function(n){var t=n.stop;delete n.stop,t(u)};return typeof n!="string"&&(u=r,r=n,n=t),r&&n!==!1&&this.queue(n||"fx",[]),this.each(function(){var o=!0,t=n!=null&&n+"queueHooks",e=i.timers,r=i._data(this);if(t)r[t]&&r[t].stop&&f(r[t]);else for(t in r)r[t]&&r[t].stop&&ef.test(t)&&f(r[t]);for(t=e.length;t--;)e[t].elem===this&&(n==null||e[t].queue===n)&&(e[t].anim.stop(u),o=!1,e.splice(t,1));(o||!u)&&i.dequeue(this,n)})}}),i.each({slideDown:nt("show"),slideUp:nt("hide"),slideToggle:nt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(n,t){i.fn[n]=function(n,i,r){return this.animate(t,n,i,r)}}),i.speed=function(n,t,r){var u=n&&typeof n=="object"?i.extend({},n):{complete:r||!r&&t||i.isFunction(n)&&n,duration:n,easing:r&&t||t&&!i.isFunction(t)&&t};return u.duration=i.fx.off?0:typeof u.duration=="number"?u.duration:u.duration in i.fx.speeds?i.fx.speeds[u.duration]:i.fx.speeds._default,(u.queue==null||u.queue===!0)&&(u.queue="fx"),u.old=u.complete,u.complete=function(){i.isFunction(u.old)&&u.old.call(this),u.queue&&i.dequeue(this,u.queue)},u},i.easing={linear:function(n){return n},swing:function(n){return.5-Math.cos(n*Math.PI)/2}},i.timers=[],i.fx=f.prototype.init,i.fx.tick=function(){for(var r,t=i.timers,n=0;n<t.length;n++)r=t[n],r()||t[n]!==r||t.splice(n--,1);t.length||i.fx.stop()},i.fx.timer=function(n){n()&&i.timers.push(n)&&!ut&&(ut=setInterval(i.fx.tick,i.fx.interval))},i.fx.interval=13,i.fx.stop=function(){clearInterval(ut),ut=null},i.fx.speeds={slow:600,fast:200,_default:400},i.fx.step={},i.expr&&i.expr.filters&&(i.expr.filters.animated=function(n){return i.grep(i.timers,function(t){return n===t.elem}).length}),yt=/^(?:body|html)$/i,i.fn.offset=function(n){if(arguments.length)return n===t?this:this.each(function(t){i.offset.setOffset(this,n,t)});var u,s,o,c,h,l,a,e={top:0,left:0},r=this[0],f=r&&r.ownerDocument;if(f)return(s=f.body)===r?i.offset.bodyOffset(r):(u=f.documentElement,!i.contains(u,r))?e:(typeof r.getBoundingClientRect!="undefined"&&(e=r.getBoundingClientRect()),o=cu(f),c=u.clientTop||s.clientTop||0,h=u.clientLeft||s.clientLeft||0,l=o.pageYOffset||u.scrollTop,a=o.pageXOffset||u.scrollLeft,{top:e.top+l-c,left:e.left+a-h})},i.offset={bodyOffset:function(n){var r=n.offsetTop,t=n.offsetLeft;return i.support.doesNotIncludeMarginInBodyOffset&&(r+=parseFloat(i.css(n,"marginTop"))||0,t+=parseFloat(i.css(n,"marginLeft"))||0),{top:r,left:t}},setOffset:function(n,t,r){var s=i.css(n,"position");s==="static"&&(n.style.position="relative");var h=i(n),c=h.offset(),l=i.css(n,"top"),a=i.css(n,"left"),v=(s==="absolute"||s==="fixed")&&i.inArray("auto",[l,a])>-1,u={},e={},f,o;v?(e=h.position(),f=e.top,o=e.left):(f=parseFloat(l)||0,o=parseFloat(a)||0),i.isFunction(t)&&(t=t.call(n,r,c)),t.top!=null&&(u.top=t.top-c.top+f),t.left!=null&&(u.left=t.left-c.left+o),"using"in t?t.using.call(n,u):h.css(u)}},i.fn.extend({position:function(){if(this[0]){var u=this[0],r=this.offsetParent(),n=this.offset(),t=yt.test(r[0].nodeName)?{top:0,left:0}:r.offset();return n.top-=parseFloat(i.css(u,"marginTop"))||0,n.left-=parseFloat(i.css(u,"marginLeft"))||0,t.top+=parseFloat(i.css(r[0],"borderTopWidth"))||0,t.left+=parseFloat(i.css(r[0],"borderLeftWidth"))||0,{top:n.top-t.top,left:n.left-t.left}}},offsetParent:function(){return this.map(function(){for(var n=this.offsetParent||r.body;n&&!yt.test(n.nodeName)&&i.css(n,"position")==="static";)n=n.offsetParent;return n||r.body})}}),i.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(n,r){var u=/Y/.test(r);i.fn[n]=function(f){return i.access(this,function(n,f,e){var o=cu(n);if(e===t)return o?r in o?o[r]:o.document.documentElement[f]:n[f];o?o.scrollTo(u?i(o).scrollLeft():e,u?e:i(o).scrollTop()):n[f]=e},n,f,arguments.length,null)}}),i.each({Height:"height",Width:"width"},function(n,r){i.each({padding:"inner"+n,content:r,"":"outer"+n},function(u,f){i.fn[f]=function(f,e){var s=arguments.length&&(u||typeof f!="boolean"),o=u||(f===!0||e===!0?"margin":"border");return i.access(this,function(r,u,f){var e;return i.isWindow(r)?r.document.documentElement["client"+n]:r.nodeType===9?(e=r.documentElement,Math.max(r.body["scroll"+n],e["scroll"+n],r.body["offset"+n],e["offset"+n],e["client"+n])):f===t?i.css(r,u,f,o):i.style(r,u,f,o)},r,s?f:t,s,null)}})}),n.jQuery=n.$=i,typeof define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return i})})(window),function(n){function h(e,o){var a=e==window,h=o&&o.message!==undefined?o.message:undefined,ot,st,d,w,ht,lt,ct,ut;o=n.extend({},n.blockUI.defaults,o||{}),o.overlayCSS=n.extend({},n.blockUI.defaults.overlayCSS,o.overlayCSS||{}),ot=n.extend({},n.blockUI.defaults.css,o.css||{}),st=n.extend({},n.blockUI.defaults.themedCSS,o.themedCSS||{}),h=h===undefined?o.message:h,a&&i&&u(window,{fadeOut:0}),h&&typeof h!="string"&&(h.parentNode||h.jquery)&&(d=h.jquery?h[0]:h,w={},n(e).data("blockUI.history",w),w.el=d,w.parent=d.parentNode,w.display=d.style.display,w.position=d.style.position,w.parent&&w.parent.removeChild(d)),n(e).data("blockUI.onUnblock",o.onUnblock);var b=o.baseZ,nt=n.browser.msie||o.forceIframe?n('<iframe class="blockUI" style="z-index:'+b+++';display:none;border:none;margin:0;padding:0;position:absolute;width:100%;height:100%;top:0;left:0" src="'+o.iframeSrc+'"></iframe>'):n('<div class="blockUI" style="display:none"></div>'),k=o.theme?n('<div class="blockUI blockOverlay ui-widget-overlay" style="z-index:'+b+++';display:none"></div>'):n('<div class="blockUI blockOverlay" style="z-index:'+b+++';display:none;border:none;margin:0;padding:0;width:100%;height:100%;top:0;left:0"></div>'),p,g;if(g=o.theme&&a?'<div class="blockUI '+o.blockMsgClass+' blockPage ui-dialog ui-widget ui-corner-all" style="z-index:'+(b+10)+';display:none;position:fixed"><div class="ui-widget-header ui-dialog-titlebar ui-corner-all blockTitle">'+(o.title||"&nbsp;")+'</div><div class="ui-widget-content ui-dialog-content"></div></div>':o.theme?'<div class="blockUI '+o.blockMsgClass+' blockElement ui-dialog ui-widget ui-corner-all" style="z-index:'+(b+10)+';display:none;position:absolute"><div class="ui-widget-header ui-dialog-titlebar ui-corner-all blockTitle">'+(o.title||"&nbsp;")+'</div><div class="ui-widget-content ui-dialog-content"></div></div>':a?'<div class="blockUI '+o.blockMsgClass+' blockPage" style="z-index:'+(b+10)+';display:none;position:fixed"></div>':'<div class="blockUI '+o.blockMsgClass+' blockElement" style="z-index:'+(b+10)+';display:none;position:absolute"></div>',p=n(g),h&&(o.theme?(p.css(st),p.addClass("ui-widget-content")):p.css(ot)),!o.theme&&(!o.applyPlatformOpacityRules||!(n.browser.mozilla&&/Linux/.test(navigator.platform)))&&k.css(o.overlayCSS),k.css("position",a?"fixed":"absolute"),(n.browser.msie||o.forceIframe)&&nt.css("opacity",0),ht=[nt,k,p],lt=a?n("body"):n(e),n.each(ht,function(){this.appendTo(lt)}),o.theme&&o.draggable&&n.fn.draggable&&p.draggable({handle:".ui-dialog-titlebar",cancel:"li"}),ct=v&&(!n.boxModel||n("object,embed",a?null:e).length>0),l||ct){if(a&&o.allowBodyStretch&&n.boxModel&&n("html,body").css("height","100%"),(l||!n.boxModel)&&!a)var et=r(e,"borderTopWidth"),tt=r(e,"borderLeftWidth"),it=et?"(0 - "+et+")":0,rt=tt?"(0 - "+tt+")":0;n.each([nt,k,p],function(n,t){var i=t[0].style,u,r;i.position="absolute",n<2?(a?i.setExpression("height","Math.max(document.body.scrollHeight, document.body.offsetHeight) - (jQuery.boxModel?0:"+o.quirksmodeOffsetHack+') + "px"'):i.setExpression("height",'this.parentNode.offsetHeight + "px"'),a?i.setExpression("width",'jQuery.boxModel && document.documentElement.clientWidth || document.body.clientWidth + "px"'):i.setExpression("width",'this.parentNode.offsetWidth + "px"'),rt&&i.setExpression("left",rt),it&&i.setExpression("top",it)):o.centerY?(a&&i.setExpression("top",'(document.documentElement.clientHeight || document.body.clientHeight) / 2 - (this.offsetHeight / 2) + (blah = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"'),i.marginTop=0):!o.centerY&&a&&(u=o.css&&o.css.top?parseInt(o.css.top):0,r="((document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "+u+') + "px"',i.setExpression("top",r))})}if(h&&(o.theme?p.find(".ui-widget-content").append(h):p.append(h),(h.jquery||h.nodeType)&&n(h).show()),(n.browser.msie||o.forceIframe)&&o.showOverlay&&nt.show(),o.fadeIn){var ft=o.onBlock?o.onBlock:f,at=o.showOverlay&&!h?ft:f,vt=h?ft:f;o.showOverlay&&k._fadeIn(o.fadeIn,at),h&&p._fadeIn(o.fadeIn,vt)}else o.showOverlay&&k.show(),h&&p.show(),o.onBlock&&o.onBlock();c(1,e,o),a?(i=p[0],t=n(":input:enabled:visible",i),o.focusInput&&setTimeout(s,20)):y(p[0],o.centerX,o.centerY),o.timeout&&(ut=setTimeout(function(){a?n.unblockUI(o):n(e).unblock(o)},o.timeout),n(e).data("blockUI.timeout",ut))}function u(r,u){var o=r==window,e=n(r),h=e.data("blockUI.history"),s=e.data("blockUI.timeout"),f;s&&(clearTimeout(s),e.removeData("blockUI.timeout")),u=n.extend({},n.blockUI.defaults,u||{}),c(0,r,u),u.onUnblock===null&&(u.onUnblock=e.data("blockUI.onUnblock"),e.removeData("blockUI.onUnblock")),f=o?n("body").children().filter(".blockUI").add("body > .blockUI"):n(".blockUI",r),o&&(i=t=null),u.fadeOut?(f.fadeOut(u.fadeOut),setTimeout(function(){a(f,h,u,r)},u.fadeOut)):a(f,h,u,r)}function a(t,i,r,u){if(t.each(function(){this.parentNode&&this.parentNode.removeChild(this)}),i&&i.el&&(i.el.style.display=i.display,i.el.style.position=i.position,i.parent&&i.parent.appendChild(i.el),n(u).removeData("blockUI.history")),typeof r.onUnblock=="function")r.onUnblock(u,r)}function c(t,r,u){var e=r==window,s=n(r),f;(t||(!e||i)&&(e||s.data("blockUI.isBlocked")))&&(!e&&s.data("blockUI.isBlocked",t),u.bindEvents&&(!t||u.showOverlay))&&(f="mousedown mouseup keydown keypress",t?n(document).bind(f,u,o):n(document).unbind(f,o))}function o(r){var e;if(r.keyCode&&r.keyCode==9&&i&&r.data.constrainTabKey){var u=t,o=!r.shiftKey&&r.target===u[u.length-1],f=r.shiftKey&&r.target===u[0];if(o||f)return setTimeout(function(){s(f)},10),!1}return e=r.data,n(r.target).parents("div."+e.blockMsgClass).length>0?!0:n(r.target).parents().children().filter("div.blockUI").length==0}function s(n){if(t){var i=t[n===!0?t.length-1:0];i&&i.focus()}}function y(n,t,i){var u=n.parentNode,o=n.style,e=(u.offsetWidth-n.offsetWidth)/2-r(u,"borderLeftWidth"),f=(u.offsetHeight-n.offsetHeight)/2-r(u,"borderTopWidth");t&&(o.left=e>0?e+"px":"0"),i&&(o.top=f>0?f+"px":"0")}function r(t,i){return parseInt(n.css(t,i))||0}var i,t;if(/1\.(0|1|2)\.(0|1|2)/.test(n.fn.jquery)||/^1.1/.test(n.fn.jquery)){alert("blockUI requires jQuery v1.2.3 or later!  You are using v"+n.fn.jquery);return}n.fn._fadeIn=n.fn.fadeIn;var f=function(){},e=document.documentMode||0,v=n.browser.msie&&(n.browser.version<8&&!e||e<8),l=n.browser.msie&&/MSIE 6.0/.test(navigator.userAgent)&&!e;n.blockUI=function(n){h(window,n)},n.unblockUI=function(n){u(window,n)},n.growlUI=function(t,i,r,u){var f=n('<div class="growlUI"></div>');t&&f.append("<h1>"+t+"</h1>"),i&&f.append("<h2>"+i+"</h2>"),r==undefined&&(r=3e3),n.blockUI({message:f,fadeIn:700,fadeOut:1e3,centerY:!1,timeout:r,showOverlay:!1,onUnblock:u,css:n.blockUI.defaults.growlCSS})},n.fn.block=function(t){return this.unblock({fadeOut:0}).each(function(){n.css(this,"position")=="static"&&(this.style.position="relative"),n.browser.msie&&(this.style.zoom=1),h(this,t)})},n.fn.unblock=function(n){return this.each(function(){u(this,n)})},n.blockUI.version=2.39,n.blockUI.defaults={message:"<h1>Please wait...</h1>",title:null,draggable:!0,theme:!1,css:{padding:0,margin:0,width:"30%",top:"40%",left:"35%",textAlign:"center",color:"#000",border:"3px solid #aaa",backgroundColor:"#fff",cursor:"wait"},themedCSS:{width:"30%",top:"40%",left:"35%"},overlayCSS:{backgroundColor:"#000",opacity:.6,cursor:"wait"},growlCSS:{width:"350px",top:"10px",left:"",right:"10px",border:"none",padding:"5px",opacity:.6,cursor:"default",color:"#fff",backgroundColor:"#000","-webkit-border-radius":"10px","-moz-border-radius":"10px","border-radius":"10px"},iframeSrc:/^https/i.test(window.location.href||"")?"javascript:false":"about:blank",forceIframe:!1,baseZ:1e3,centerX:!0,centerY:!0,allowBodyStretch:!0,bindEvents:!0,constrainTabKey:!0,fadeIn:200,fadeOut:400,timeout:0,showOverlay:!0,focusInput:!0,applyPlatformOpacityRules:!0,onBlock:null,onUnblock:null,quirksmodeOffsetHack:4,blockMsgClass:"blockMsg"},i=null,t=[]}(jQuery),function(n,t){var i=n(t);n.fn.lazyload=function(r){function e(){var t=0;f.each(function(){var i=n(this);if((!u.skip_invisible||i.is(":visible"))&&!n.abovethetop(this,u)&&!n.leftofbegin(this,u))if(n.belowthefold(this,u)||n.rightoffold(this,u)){if(++t>u.failure_limit)return!1}else i.trigger("appear"),t=0})}var f=this,o,u={threshold:0,failure_limit:0,event:"scroll",effect:"show",container:t,data_attribute:"original",skip_invisible:!0,appear:null,load:null};return r&&(undefined!==r.failurelimit&&(r.failure_limit=r.failurelimit,delete r.failurelimit),undefined!==r.effectspeed&&(r.effect_speed=r.effectspeed,delete r.effectspeed),n.extend(u,r)),o=u.container===undefined||u.container===t?i:n(u.container),0===u.event.indexOf("scroll")&&o.bind(u.event,function(){return e()}),this.each(function(){var i=this,t=n(i);i.loaded=!1;t.one("appear",function(){if(!this.loaded){if(u.appear){var r=f.length;u.appear.call(i,r,u)}n("<img />").bind("load",function(){var e,r;t.hide().attr("src",t.data(u.data_attribute))[u.effect](u.effect_speed),i.loaded=!0,e=n.grep(f,function(n){return!n.loaded}),f=n(e),u.load&&(r=f.length,u.load.call(i,r,u))}).attr("src",t.data(u.data_attribute))}});0!==u.event.indexOf("scroll")&&t.bind(u.event,function(){i.loaded||t.trigger("appear")})}),i.bind("resize",function(){e()}),n(document).ready(function(){e()}),this},n.belowthefold=function(r,u){var f;return f=u.container===undefined||u.container===t?i.height()+i.scrollTop():n(u.container).offset().top+n(u.container).height(),f<=n(r).offset().top-u.threshold},n.rightoffold=function(r,u){var f;return f=u.container===undefined||u.container===t?i.width()+i.scrollLeft():n(u.container).offset().left+n(u.container).width(),f<=n(r).offset().left-u.threshold},n.abovethetop=function(r,u){var f;return f=u.container===undefined||u.container===t?i.scrollTop():n(u.container).offset().top,f>=n(r).offset().top+u.threshold+n(r).height()},n.leftofbegin=function(r,u){var f;return f=u.container===undefined||u.container===t?i.scrollLeft():n(u.container).offset().left,f>=n(r).offset().left+u.threshold+n(r).width()},n.inviewport=function(t,i){return!n.rightoffold(t,i)&&!n.leftofbegin(t,i)&&!n.belowthefold(t,i)&&!n.abovethetop(t,i)},n.extend(n.expr[":"],{"below-the-fold":function(t){return n.belowthefold(t,{threshold:0})},"above-the-top":function(t){return!n.belowthefold(t,{threshold:0})},"right-of-screen":function(t){return n.rightoffold(t,{threshold:0})},"left-of-screen":function(t){return!n.rightoffold(t,{threshold:0})},"in-viewport":function(t){return n.inviewport(t,{threshold:0})},"above-the-fold":function(t){return!n.belowthefold(t,{threshold:0})},"right-of-fold":function(t){return n.rightoffold(t,{threshold:0})},"left-of-fold":function(t){return!n.rightoffold(t,{threshold:0})}})}(jQuery,window),function(n){n.fn.slides=function(t){return t=n.extend({},n.fn.slides.option,t),this.each(function(){function c(f,c,a){if(!l&&g){l=!0;switch(f){case"next":s=e,u=e+1,u=h===u?0:u,d=o*2,f=-o*2,e=u;break;case"prev":s=e,u=e-1,u=u===-1?h-1:u,d=0,f=0,e=u;break;case"pagination":u=parseInt(a,10),s=e,u>s?(d=o*2,f=-o*2):(d=0,f=0),e=u}t.animationStart(e+1),c==="fade"?t.crossfade?i.children(":eq("+u+")",r).css({zIndex:10}).fadeIn(t.fadeSpeed,t.fadeEasing,function(){t.autoHeight?i.animate({height:i.children(":eq("+u+")",r).outerHeight()},t.autoHeightSpeed,function(){i.children(":eq("+s+")",r).css({display:"none",zIndex:0}),i.children(":eq("+u+")",r).css({zIndex:0}),t.animationComplete(u+1),l=!1}):(i.children(":eq("+s+")",r).css({display:"none",zIndex:0}),i.children(":eq("+u+")",r).css({zIndex:0}),t.animationComplete(u+1),l=!1)}):i.children(":eq("+s+")",r).fadeOut(t.fadeSpeed,t.fadeEasing,function(){t.autoHeight?i.animate({height:i.children(":eq("+u+")",r).outerHeight()},t.autoHeightSpeed,function(){i.children(":eq("+u+")",r).fadeIn(t.fadeSpeed,t.fadeEasing)}):i.children(":eq("+u+")",r).fadeIn(t.fadeSpeed,t.fadeEasing,function(){n.browser.msie&&n(this).get(0).style.removeAttribute("filter")}),t.animationComplete(u+1),l=!1}):(i.children(":eq("+u+")").css({left:d,display:"block"}),t.autoHeight?i.animate({left:f,height:i.children(":eq("+u+")").outerHeight()},t.slideSpeed,t.slideEasing,function(){i.css({left:-o}),i.children(":eq("+u+")").css({left:o,zIndex:5}),i.children(":eq("+s+")").css({left:o,display:"none",zIndex:0}),t.animationComplete(u+1),l=!1}):i.animate({left:f},t.slideSpeed,t.slideEasing,function(){i.css({left:-o}),i.children(":eq("+u+")").css({left:o,zIndex:5}),i.children(":eq("+s+")").css({left:o,display:"none",zIndex:0}),t.animationComplete(u+1),l=!1})),t.pagination&&(n("."+t.paginationClass+" li."+t.currentClass,r).removeClass(t.currentClass),n("."+t.paginationClass+" li:eq("+u+")",r).addClass(t.currentClass))}}function ot(){clearInterval(r.data("interval"))}function y(){t.pause?(clearTimeout(r.data("pause")),clearInterval(r.data("interval")),rt=setTimeout(function(){clearTimeout(r.data("pause")),nt=setInterval(function(){c("next",v)},t.play),r.data("interval",nt)},t.pause),r.data("pause",rt)):ot()}var et;n("."+t.container,n(this)).children().wrapAll('<div class="slides_control"/>');var r=n(this),i=n(".slides_control",r),h=i.children().size(),o=i.children().outerWidth(),st=i.children().outerHeight(),f=t.start-1,v=t.effect.indexOf(",")<0?t.effect:t.effect.replace(" ","").split(",")[0],ft=t.effect.indexOf(",")<0?v:t.effect.replace(" ","").split(",")[1],u=0,s=0,b=0,e=0,g,l,a,d,yt,it,rt,nt,ht=/hp-tablet/gi.test(navigator.appVersion),p="ontouchstart"in window&&!ht,vt=p?"touchstart":"mousedown",at=p?"touchmove":"mousemove",pt=p?"touchend":"mouseup",w=0,tt=0,ct=0,lt=0,ut=0,k=!1;i.on("touchstart",function(n){k=!1;var r=n.originalEvent,t=p?r.changedTouches[0]:n;w=t.pageX,ct=t.clientY,ut=t.pageY;i.on("touchmove",function(n){var r=n.originalEvent,t=p?r.changedTouches[0]:n;Math.abs((t.pageY-ut)/(t.pageX-w))<.5?(k=!0,n.preventDefault(),i.off("touchmove")):(k=!1,i.off("touchmove"))})}).on("touchend",function(n){var f,u,r;i.off("touchmove"),t.play&&y(),f=n.originalEvent,u=p?f.changedTouches[0]:n,tt=u.pageX,lt=u.clientY,k&&Math.abs(tt-w)>t.delay&&(k=!1,r=e,tt>w?r--:tt<w&&r++,r=r===-1?h-1:h===r?0:r,c("pagination","fade",r))});if(h<2)return n("."+t.container,n(this)).fadeIn(t.fadeSpeed,t.fadeEasing,function(){g=!0,t.slidesLoaded()}),n("."+t.next+", ."+t.prev).fadeOut(0),!0;h<2||(f<0&&(f=0),f>h&&(f=h-1),t.start&&(e=f),t.randomize&&i.randomize(),n("."+t.container,r).css({overflow:"hidden",position:"relative"}),i.children().css({position:"absolute",top:0,left:i.children().outerWidth(),zIndex:0,display:"none"}),i.css({position:"relative",width:o*3,height:st,left:-o}),n("."+t.container,r).css({display:"block"}),t.autoHeight&&(i.children().css({height:"auto"}),i.animate({height:i.children(":eq("+f+")").outerHeight()},t.autoHeightSpeed)),t.preload&&i.find("img:eq("+f+")").length?(n("."+t.container,r).css({background:"url("+t.preloadImage+") no-repeat 50% 50%"}),et=i.find("img:eq("+f+")").attr("src")+"?"+ +new Date,it=n("img",r).parent().attr("class")!="slides_control"?i.children(":eq(0)")[0].tagName.toLowerCase():i.find("img:eq("+f+")"),i.find("img:eq("+f+")").attr("src",et).load(function(){i.find(it+":eq("+f+")").show(0,function(){n(this).css({zIndex:5}),n("."+t.container,r).css({background:""}),g=!0,t.slidesLoaded()})})):i.children(":eq("+f+")").show(0,function(){g=!0,t.slidesLoaded()}),t.bigTarget&&(i.children().css({cursor:"pointer"}),i.children().click(function(){return c("next",v),!1})),t.hoverPause&&t.play&&(i.bind("mouseover",function(){ot()}),i.bind("mouseleave",function(){y()})),t.generateNextPrev&&(n("."+t.container,r).after('<a href="#" class="'+t.prev+'">Prev</a>'),n("."+t.prev,r).after('<a href="#" class="'+t.next+'">Next</a>')),n("."+t.next,r).click(function(n){n.preventDefault(),t.play&&y(),c("next",v)}),n("."+t.prev,r).click(function(n){n.preventDefault(),t.play&&y(),c("prev",v)}),t.generatePagination?(t.prependPagination?r.prepend("<ul class="+t.paginationClass+"></ul>"):r.append("<ul class="+t.paginationClass+"></ul>"),i.children().each(function(){n("."+t.paginationClass,r).append('<li><a href="#'+b+'">'+(b+1)+"</a></li>"),b++})):n("."+t.paginationClass+" li a",r).each(function(){n(this).attr("href","#"+b),b++}),n("."+t.paginationClass+" li:eq("+f+")",r).addClass(t.currentClass),n("."+t.paginationClass+" li a",r).click(function(){return t.play&&y(),a=n(this).attr("href").match("[^#/]+$"),e!=a&&c("pagination",ft,a),!1}),n("a.link",r).click(function(){return t.play&&y(),a=n(this).attr("href").match("[^#/]+$")-1,e!=a&&c("pagination",ft,a),!1}),t.play&&(nt=setInterval(function(){c("next",v)},t.play),r.data("interval",nt)))})},n.fn.slides.option={preload:!1,preloadImage:"/img/loading.gif",container:"slides_container",generateNextPrev:!1,next:"vNext",prev:"vPrev",pagination:!0,generatePagination:!1,prependPagination:!1,paginationClass:"pagination",currentClass:"current",fadeSpeed:350,fadeEasing:"",slideSpeed:350,slideEasing:"",start:1,effect:"fade",crossfade:!1,randomize:!1,play:0,pause:0,hoverPause:!1,autoHeight:!1,autoHeightSpeed:350,bigTarget:!1,animationStart:function(){},animationComplete:function(){},slidesLoaded:function(){},delay:10},n.fn.randomize=function(t){function r(){return Math.round(Math.random())-.5}return n(this).each(function(){var e=n(this),f=e.children(),o=f.length,u;if(o>1){for(f.hide(),u=[],i=0;i<o;i++)u[u.length]=i;u=u.sort(r),n.each(u,function(n,i){var r=f.eq(i),u=r.clone(!0);u.show().appendTo(e),t!==undefined&&t(r,u),r.remove()})}})}}(jQuery);
/*!
 * jQuery Form Plugin
 * version: 2.87 (20-OCT-2011)
 * @requires jQuery v1.3.2 or later
 *
 * Examples and documentation at: http://malsup.com/jquery/form/
 * Dual licensed under the MIT and GPL licenses:
 *   http://www.opensource.org/licenses/mit-license.php
 *   http://www.gnu.org/licenses/gpl.html
 */
(function(n){function t(){if(n.fn.ajaxSubmit.debug){var t="[jquery.form] "+Array.prototype.join.call(arguments,"");window.console&&window.console.log?window.console.log(t):window.opera&&window.opera.postError&&window.opera.postError(t)}}n.fn.ajaxSubmit=function(i){function w(u){function ut(n){return n.contentWindow?n.contentWindow.document:n.contentDocument?n.contentDocument:n.document}function ft(){function a(){try{var n=ut(l).readyState;t("state = "+n),n.toLowerCase()=="uninitialized"&&setTimeout(a,50)}catch(i){t("Server abort: ",i," (",i.name,")"),p(d),b&&clearTimeout(b),b=undefined}}var o=r.attr("target"),s=r.attr("action"),i,u;h.setAttribute("target",k),e||h.setAttribute("method","POST"),s!=f.url&&h.setAttribute("action",f.url),f.skipEncodingOverride||e&&!/post/i.test(e)||r.attr({encoding:"multipart/form-data",enctype:"multipart/form-data"}),f.timeout&&(b=setTimeout(function(){nt=!0,p(tt)},f.timeout)),i=[];try{if(f.extraData)for(u in f.extraData)i.push(n('<input type="hidden" name="'+u+'" />').attr("value",f.extraData[u]).appendTo(h)[0]);f.iframeTarget||(c.appendTo("body"),l.attachEvent?l.attachEvent("onload",p):l.addEventListener("load",p,!1)),setTimeout(a,15),h.submit()}finally{h.setAttribute("action",s),o?h.setAttribute("target",o):r.removeAttr("target"),n(i).remove()}}function p(i){var r,e,w,u,k,g,h,a,v;if(!o.aborted&&!it){try{s=ut(l)}catch(ft){t("cannot access response document: ",ft),i=d}if(i===tt&&o){o.abort("timeout");return}if(i==d&&o){o.abort("server abort");return}if(s&&s.location.href!=f.iframeSrc||nt){l.detachEvent?l.detachEvent("onload",p):l.removeEventListener("load",p,!1),r="success";try{if(nt)throw"timeout";if(w=f.dataType=="xml"||s.XMLDocument||n.isXMLDoc(s),t("isXml="+w),!w&&window.opera&&(s.body==null||s.body.innerHTML=="")&&--rt){t("requeing onLoad callback, DOM not available"),setTimeout(p,250);return}u=s.body?s.body:s.documentElement,o.responseText=u?u.innerHTML:null,o.responseXML=s.XMLDocument?s.XMLDocument:s,w&&(f.dataType="xml"),o.getResponseHeader=function(n){var t={"content-type":f.dataType};return t[n]},u&&(o.status=Number(u.getAttribute("status"))||o.status,o.statusText=u.getAttribute("statusText")||o.statusText),k=(f.dataType||"").toLowerCase(),g=/(json|script|text)/.test(k),g||f.textarea?(h=s.getElementsByTagName("textarea")[0],h?(o.responseText=h.value,o.status=Number(h.getAttribute("status"))||o.status,o.statusText=h.getAttribute("statusText")||o.statusText):g&&(a=s.getElementsByTagName("pre")[0],v=s.getElementsByTagName("body")[0],a?o.responseText=a.textContent?a.textContent:a.innerText:v&&(o.responseText=v.textContent?v.textContent:v.innerText))):k!="xml"||o.responseXML||o.responseText==null||(o.responseXML=ct(o.responseText));try{et=st(o,k,f)}catch(i){r="parsererror",o.error=e=i||r}}catch(i){t("error caught: ",i),r="error",o.error=e=i||r}o.aborted&&(t("upload aborted"),r=null),o.status&&(r=o.status>=200&&o.status<300||o.status===304?"success":"error"),r==="success"?(f.success&&f.success.call(f.context,et,"success",o),y&&n.event.trigger("ajaxSuccess",[o,f])):r&&(e==undefined&&(e=o.statusText),f.error&&f.error.call(f.context,o,r,e),y&&n.event.trigger("ajaxError",[o,f,e])),y&&n.event.trigger("ajaxComplete",[o,f]),y&&!--n.active&&n.event.trigger("ajaxStop"),f.complete&&f.complete.call(f.context,o,r),it=!0,f.timeout&&clearTimeout(b),setTimeout(function(){f.iframeTarget||c.remove(),o.responseXML=null},100)}}}var h=r[0],g,v,f,y,k,c,l,o,w,a,nt,b,ht=!!n.fn.prop,tt,d,et,s,rt,it;if(u)if(ht)for(v=0;v<u.length;v++)g=n(h[u[v].name]),g.prop("disabled",!1);else for(v=0;v<u.length;v++)g=n(h[u[v].name]),g.removeAttr("disabled");if(n(":input[name=submit],:input[id=submit]",h).length){alert('Error: Form elements must not have name or id of "submit".');return}if(f=n.extend(!0,{},n.ajaxSettings,i),f.context=f.context||f,k="jqFormIO"+ +new Date,f.iframeTarget?(c=n(f.iframeTarget),a=c.attr("name"),a==null?c.attr("name",k):k=a):(c=n('<iframe name="'+k+'" src="'+f.iframeSrc+'" />'),c.css({position:"absolute",top:"-1000px",left:"-1000px"})),l=c[0],o={aborted:0,responseText:null,responseXML:null,status:0,statusText:"n/a",getAllResponseHeaders:function(){},getResponseHeader:function(){},setRequestHeader:function(){},abort:function(i){var r=i==="timeout"?"timeout":"aborted";t("aborting upload... "+r),this.aborted=1,c.attr("src",f.iframeSrc),o.error=r,f.error&&f.error.call(f.context,o,r,i),y&&n.event.trigger("ajaxError",[o,f,r]),f.complete&&f.complete.call(f.context,o,r)}},y=f.global,y&&!n.active++&&n.event.trigger("ajaxStart"),y&&n.event.trigger("ajaxSend",[o,f]),f.beforeSend&&f.beforeSend.call(f.context,o,f)===!1){f.global&&n.active--;return}if(!o.aborted){w=h.clk,w&&(a=w.name,a&&!w.disabled&&(f.extraData=f.extraData||{},f.extraData[a]=w.value,w.type=="image"&&(f.extraData[a+".x"]=h.clk_x,f.extraData[a+".y"]=h.clk_y))),tt=1,d=2,f.forceSync?ft():setTimeout(ft,10),rt=50;var ct=n.parseXML||function(n,t){return window.ActiveXObject?(t=new ActiveXObject("Microsoft.XMLDOM"),t.async="false",t.loadXML(n)):t=(new DOMParser).parseFromString(n,"text/xml"),t&&t.documentElement&&t.documentElement.nodeName!="parsererror"?t:null},ot=n.parseJSON||function(n){return window.eval("("+n+")")},st=function(t,i,r){var f=t.getResponseHeader("content-type")||"",e=i==="xml"||!i&&f.indexOf("xml")>=0,u=e?t.responseXML:t.responseText;return e&&u.documentElement.nodeName==="parsererror"&&n.error&&n.error("parsererror"),r&&r.dataFilter&&(u=r.dataFilter(u,i)),typeof u=="string"&&(i==="json"||!i&&f.indexOf("json")>=0?u=ot(u):(i==="script"||!i&&f.indexOf("javascript")>=0)&&n.globalEval(u)),u}}}var e,a,f,r,c,h,l,g,d,s,o,u,p,v;if(!this.length)return t("ajaxSubmit: skipping submit process - no element selected"),this;if(r=this,typeof i=="function"&&(i={success:i}),e=this.attr("method"),a=this.attr("action"),f=typeof a=="string"?n.trim(a):"",f=f||window.location.href||"",f&&(f=(f.match(/^([^#]+)/)||[])[1]),i=n.extend(!0,{url:f,success:n.ajaxSettings.success,type:e||"GET",iframeSrc:/^https/i.test(window.location.href||"")?"javascript:false":"about:blank"},i),c={},this.trigger("form-pre-serialize",[this,i,c]),c.veto)return t("ajaxSubmit: submit vetoed via form-pre-serialize trigger"),this;if(i.beforeSerialize&&i.beforeSerialize(this,i)===!1)return t("ajaxSubmit: submit aborted via beforeSerialize callback"),this;if(h=i.traditional,h===undefined&&(h=n.ajaxSettings.traditional),s=this.formToArray(i.semantic),i.data&&(i.extraData=i.data,l=n.param(i.data,h)),i.beforeSubmit&&i.beforeSubmit(s,this,i)===!1)return t("ajaxSubmit: submit aborted via beforeSubmit callback"),this;if(this.trigger("form-submit-validate",[s,this,i,c]),c.veto)return t("ajaxSubmit: submit vetoed via form-submit-validate trigger"),this;o=n.param(s,h),l&&(o=o?o+"&"+l:l),i.type.toUpperCase()=="GET"?(i.url+=(i.url.indexOf("?")>=0?"&":"?")+o,i.data=null):i.data=o,u=[],i.resetForm&&u.push(function(){r.resetForm()}),i.clearForm&&u.push(function(){r.clearForm(i.includeHidden)}),!i.dataType&&i.target?(p=i.success||function(){},u.push(function(t){var r=i.replaceTarget?"replaceWith":"html";n(i.target)[r](t).each(p,arguments)})):i.success&&u.push(i.success),i.success=function(n,t,f){for(var s=i.context||i,e=0,o=u.length;e<o;e++)u[e].apply(s,[n,t,f||r,r])};var k=n("input:file",this).length>0,y="multipart/form-data",b=r.attr("enctype")==y||r.attr("encoding")==y;return i.iframe!==!1&&(k||i.iframe||b)?i.closeKeepAlive?n.get(i.closeKeepAlive,function(){w(s)}):w(s):(n.browser.msie&&e=="get"&&typeof i.type=="undefined"&&(v=r[0].getAttribute("method"),typeof v=="string"&&(i.type=v)),n.ajax(i)),this.trigger("form-submit-notify",[this,i]),this},n.fn.ajaxForm=function(i){if(this.length===0){var r={s:this.selector,c:this.context};return!n.isReady&&r.s?(t("DOM not ready, queuing ajaxForm"),n(function(){n(r.s,r.c).ajaxForm(i)}),this):(t("terminating; zero elements found by selector"+(n.isReady?"":" (DOM not ready)")),this)}return this.ajaxFormUnbind().bind("submit.form-plugin",function(t){t.isDefaultPrevented()||(t.preventDefault(),n(this).ajaxSubmit(i))}).bind("click.form-plugin",function(t){var r=t.target,f=n(r),e,i,u;if(!f.is(":submit,input:image")){if(e=f.closest(":submit"),e.length==0)return;r=e[0]}i=this,i.clk=r,r.type=="image"&&(t.offsetX!=undefined?(i.clk_x=t.offsetX,i.clk_y=t.offsetY):typeof n.fn.offset=="function"?(u=f.offset(),i.clk_x=t.pageX-u.left,i.clk_y=t.pageY-u.top):(i.clk_x=t.pageX-r.offsetLeft,i.clk_y=t.pageY-r.offsetTop)),setTimeout(function(){i.clk=i.clk_x=i.clk_y=null},100)})},n.fn.ajaxFormUnbind=function(){return this.unbind("submit.form-plugin click.form-plugin")},n.fn.formToArray=function(t){var u=[],r,c,h,o,i,f,e,v,a,l,s;if(this.length===0||(r=this[0],c=t?r.getElementsByTagName("*"):r.elements,!c))return u;for(h=0,v=c.length;h<v;h++)if(e=c[h],i=e.name,i){if(t&&r.clk&&e.type=="image"){e.disabled||r.clk!=e||(u.push({name:i,value:n(e).val()}),u.push({name:i+".x",value:r.clk_x},{name:i+".y",value:r.clk_y}));continue}if(f=n.fieldValue(e,!0),f&&f.constructor==Array)for(o=0,a=f.length;o<a;o++)u.push({name:i,value:f[o]});else f!==null&&typeof f!="undefined"&&u.push({name:i,value:f})}return!t&&r.clk&&(l=n(r.clk),s=l[0],i=s.name,i&&!s.disabled&&s.type=="image"&&(u.push({name:i,value:l.val()}),u.push({name:i+".x",value:r.clk_x},{name:i+".y",value:r.clk_y}))),u},n.fn.formSerialize=function(t){return n.param(this.formToArray(t))},n.fn.fieldSerialize=function(t){var i=[];return this.each(function(){var e=this.name,r,u,f;if(e)if(r=n.fieldValue(this,t),r&&r.constructor==Array)for(u=0,f=r.length;u<f;u++)i.push({name:e,value:r[u]});else r!==null&&typeof r!="undefined"&&i.push({name:this.name,value:r})}),n.param(i)},n.fn.fieldValue=function(t){for(var f,i,u=[],r=0,e=this.length;r<e;r++)(f=this[r],i=n.fieldValue(f,t),i!==null&&typeof i!="undefined"&&(i.constructor!=Array||i.length))&&(i.constructor==Array?n.merge(u,i):u.push(i));return u},n.fieldValue=function(t,i){var v=t.name,u=t.type,h=t.tagName.toLowerCase(),o,e,r,f;if(i===undefined&&(i=!0),i&&(!v||t.disabled||u=="reset"||u=="button"||(u=="checkbox"||u=="radio")&&!t.checked||(u=="submit"||u=="image")&&t.form&&t.form.clk!=t||h=="select"&&t.selectedIndex==-1))return null;if(h=="select"){if(o=t.selectedIndex,o<0)return null;var c=[],l=t.options,s=u=="select-one",a=s?o+1:l.length;for(e=s?o:0;e<a;e++)if(r=l[e],r.selected){if(f=r.value,f||(f=r.attributes&&r.attributes.value&&!r.attributes.value.specified?r.text:r.value),s)return f;c.push(f)}return c}return n(t).val()},n.fn.clearForm=function(t){return this.each(function(){n("input,select,textarea",this).clearFields(t)})},n.fn.clearFields=n.fn.clearInputs=function(n){var t=/^(?:color|date|datetime|email|month|number|password|range|search|tel|text|time|url|week)$/i;return this.each(function(){var i=this.type,r=this.tagName.toLowerCase();t.test(i)||r=="textarea"||n&&/hidden/.test(i)?this.value="":i=="checkbox"||i=="radio"?this.checked=!1:r=="select"&&(this.selectedIndex=-1)})},n.fn.resetForm=function(){return this.each(function(){typeof this.reset!="function"&&(typeof this.reset!="object"||this.reset.nodeType)||this.reset()})},n.fn.enable=function(n){return n===undefined&&(n=!0),this.each(function(){this.disabled=!n})},n.fn.selected=function(t){return t===undefined&&(t=!0),this.each(function(){var r=this.type,i;r=="checkbox"||r=="radio"?this.checked=t:this.tagName.toLowerCase()=="option"&&(i=n(this).parent("select"),t&&i[0]&&i[0].type=="select-one"&&i.find("option").selected(!1),this.selected=t)})},n.fn.ajaxSubmit.debug=!1})(jQuery),function(){var n={isLogin:function(){$.ajax({url:"user/UserIsLogin",success:function(n){typeof n=="object"&&n.v==!0?userIsLogin.callBackFn(n):userIsLogin.showLoginBox(n)}})},showLoginBox:function(){var t=$("#loginBlock");t.length<=0&&(userIsLogin.loadLoginBox(),t=$("#loginBlock")),vBlockBox({title:"",cancle:!0,centent:t})},loadLoginBox:function(){$.ajax({url:"user/UserLoginBox",async:!1,success:function(n){$(n).appendTo($("body"))}})},callBackFn:function(){},loginAction:function(){var n=$("#vBlockBox012345 #errortel").css("display");n!="none"&&$("#vBlockBox012345 #errortel").fadeOut(),$.ajax({url:"user/UserLogin",data:{UserName:$("#vBlockBox012345 #uName").val(),Password:$("#vBlockBox012345 #uPwd").val(),sync:!0},dataType:"json",type:"post",success:function(n){n.v?vBlockBox.hideBox(function(){if(userIsLogin.callBackFn(n),$("#loginInfo").length>0){var t='<a href="user/usercenterindex">'+n.uname+'</a> | <a href="user/UserLoginOut">退出</a><a href="user/userregister" class="top"></a>';$("#loginInfo").html(t)}}):$("#vBlockBox012345 #errortel").fadeIn()},error:function(){}})}};window.userIsLogin=function(){typeof arguments[0]=="undefined"&&(arguments[0]=!1),typeof arguments[1]=="undefined"&&(arguments[1]=!1);var n=arguments[0]==!0||arguments[1]==!0;$.isFunction(arguments[0])?userIsLogin.callBackFn=arguments[0]:$.isFunction(arguments[1])&&(userIsLogin.callBackFn=arguments[1]),n?userIsLogin.showLoginBox():userIsLogin.isLogin()},$.extend(userIsLogin,n)}(jQuery),function(n){function i(){var t=arguments&&arguments.length>0?arguments[0]:{};n("#vBlockBox012345").length>0?i.hideBox(function(){i.init(t)}):i.init(t)}if(!window.vBlockBox){var r={title:"",cancle:!1,subBtnFn:null,buttons:{},centent:"",marginTop:"50px"},t={};n.extend(t,r),n.extend(i,{init:function(u){var f,a,o,s,l,c,h,e;n.extend(t,r,u),f=[],f.push('<div class="modal" style="display:none" id="vBlockBox012345" ontouchmove="preventDefault(event);">'),f.push('<div class="eject_box '),t.title!=""||t.cancle||t.subBtn?(f.push('  "  style="margin-top:'+t.marginTop+'; display: none;padding-bottom:10px">'),f.push("<h2>"),t.cancle&&f.push('<a href="javascript:void(0)" class="return" style="padding:5px" ></a>'),t.title!=""&&f.push(t.title),t.subBtnFn&&f.push('<a href="javascript:void(0)"  class="fix"></a>'),f.push("</h2>")):f.push('   p_b " style="margin-top:'+t.marginTop+'; display: none"'),typeof t.centent=="string"?(a=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]+)$)/,a.test(t.centent)?f.push(t.centent):f.push('<div class="t_cen red f_bold p_b">',t.centent,"</div>")):typeof t.centent=="object"&&f.push(n(t.centent).clone().show(0).get(0).outerHTML),o=0;for(e in t.buttons)typeof s=="undefined"?(s=e,l=t.buttons[e]):typeof c=="undefined"&&(c=e,h=t.buttons[e]),o++;o>0&&(o==1?(f.push('<div class="t_cen p_b">'),f.push('<span class="ercen ">'),f.push('<a href="javascript:void(0)" class="public_bt" id="blockBoxBtn1">'+s+"</a>"),f.push("</span>"),f.push("</div>")):o==2&&(f.push('<div class="clearfix p_b">'),f.push('<span class="ercen fl"><span class="sub_bt" id="blockBoxBtn1">'+s+"</span></span>"),f.push('<span class="ercen fr"><span class="sub_bt" id="blockBoxBtn2">'+c+"</span></span>"),f.push("</div>"))),f.push("</div>"),f.push("</div>"),n(f.join("")).appendTo(n("body")),l&&n("#blockBoxBtn1").click(function(){l()}),h&&n("#blockBoxBtn2").click(function(){h()}),t.cancle&&n(".return").click(i.hideBox),t.subBtnFn&&n(".fix").click(t.subBtnFn),this.showBox()},showBox:function(){var i=n("#vBlockBox012345"),r=i.find(".eject_box").innerHeight();n(".eject_box",i).css("margin-top",-1*r+"px").animate({"margin-top":t.marginTop,opacity:"toggle"}),i.fadeIn(),typeof vFixed!="undefined"&&vFixed(i)},preventDefault:function(n){n.preventDefault()},hideBox:function(t){var i=n("#vBlockBox012345"),r=i.find(".eject_box").innerHeight();n(".eject_box",i).animate({"margin-top":-1*r+"px",opacity:"toggle"}),i.fadeOut(function(){i.remove(),n.isFunction(t)&&t()})}}),window.vBlockBox=i}}(jQuery),$(function(){window.ontouchmove=function(){},$("a[href='#']").attr("href","javascript:void(0)"),$("a[href*='../m.vancl.com/']").each(function(){var n=$(this),t=n.attr("href");n.attr("href",t.replace("../m.vancl.com/",""))}),$("img").error(function(){$(this).attr("src","../img.jianke.net/mobile/images/nopicture.png")}),$.blockUI.defaults.message="<img src='Content/Html5/Images/loading.gif' width='32' height='32' />",$.blockUI.defaults.overlayCSS.opacity=.3,$.blockUI.defaults.css.border=null,$.blockUI.defaults.css.backgroundColor=null;try{$(document).touch({animate:!1,sticky:!1,dragx:!0,dragy:!0,rotate:!1,resort:!0,scale:!1})}catch(n){}}),function(n){function t(i){fixedParam.isFixed||i.each(function(){var t=n(this),r=t.css("position"),u,i,f;r.toLowerCase()=="fixed"&&(t.css("position","absolute"),u=function(){var r=t.css("top"),i;return typeof r!="undefined"&&r!="auto"?parseInt(r):(i=t.css("bottom"),typeof i!="undefined"&&i!="auto")?parseInt(n(window).height())-parseInt(i)-parseInt(t.height()):0},i=parseFloat(u(),10),isNaN(i)&&(i=0),f=/iphone|ipad/gi.test(navigator.appVersion),r=function(){var u=n(window).scrollTop(),r=i+u;t.css("top",r+"px")},r(),n(window).scroll(function(){r()}))}),window.vFixed=t}n(function(){var i,r;if(window.fixedParam={isDetect:!1,isFixed:!0},n(window).scrollTop(0),i=n("#divnav"),i.length==0)return!1;r=i.offset().top,n(window).bind("scroll",function(){setTimeout(function(){var f=n(window).scrollTop(),u;f>100&&(fixedParam.isDetect||(fixedParam.isDetect=!0,n(window).unbind("scroll"),u=i.offset().top,fixedParam.isFixed=u!==r,fixedParam.isFixed||t(n("*"))))},500)})})}(jQuery),typeof window.v$=="undefined"&&(window.v$=function(n){return document.getElementById(n)});var btns={"查看购物车":function(){window.location="/shoppingCar/GetShoppingCarts"},"再逛逛":function(){vBlockBox.hideBox()}};(function(n){function i(n){this.a=[1,3,5,7,8,10,12],this.b=[4,6,9,11],this.c=["日","一","二","三","四","五","六"],this.controls=n,this.opts={year:null,month:null,sign:[],next:".RNext",prev:".RPrev",ismove:!1,minYear:null,minMonth:null,maxYear:null,maxMonth:null},this.imgUrl="../mimages.vancl.com/wap/html5v3/default.htm"}var t=i.prototype;t.MonthDay=function(n,t){return this.a.indexOf(t)!=-1?31:this.b.indexOf(t)!=-1?30:t==2?n%4==0?29:28:0},t.rlShow=function(){var n=[],t;for(n.push('<table cellpadding="0" cellspacing="0" width="320px" class="qdRl" >'),n.push("<tr>"),n.push("<tr>"),n.push("<td>"),n.push('<table cellpadding="0" cellspacing="0" width="320px"  style=" border-bottom:solid 1px red">'),n.push("<tr>"),n.push('<td  align="center" style="padding:5px 0">'),n.push('<a href="javascript:void(0)" class="RPrev"><img src="../mimages.vancl.com/wap/html5v3/lefttrue.png" style="border:0px;width:23px;"/>  </a>'),n.push(" </td>"),n.push('<td colspan="5" class="sDateInfo" align="center">'),n.push("</td>"),n.push('<td  align="center">'),n.push('<a href="javascript:void(0)" class="RNext"><img src="../mimages.vancl.com/wap/html5v3/righttrue.png" style="border:0px;width:23px;"/> </a>'),n.push(" </td>"),n.push(" </tr>"),n.push("<tr>"),t=0;t<7;t++)n.push('<td align="center" width="40px">'),n.push(this.c[t]),n.push("</td>");return n.push(" </tr>"),n.push(" </table>"),n.push(" </td>"),n.push("</tr>"),n.push(" <tr>"),n.push('<td style="position:absolute; overflow:hidden; width:320px; height:140px; padding:0px; margin:0px;">'),n.push('<div style="width:940px; overflow:hidden; height:140px;position: absolute;margin-left:-320px" class="rlContent">'),n.push(" </div>"),n.push("</td>"),n.push(" </tr>"),n.push("</table>"),n.join("")},t.MonthAllDay=function(n,t,i){var u=[],e=7-(t-n+1)%7+t,f,r;if(n==1)for(r=i-6;r<=i;r++)u.push(r);for(r=n;r<=e;r++)r<=0?u.push(i+r):r>t?u.push(r-t):u.push(r);if(u.length==35)for(f=u[34],r=0;r<7;r++)f++,u.push(f);return u},t.createDate=function(){var t=new Date,n,l,s,u,o,h,f,e;this.opts.month=this.opts.month||t.getMonth()+1,this.opts.year=this.opts.year||t.getFullYear(),n=[],l=this.MonthDay(this.opts.year,this.opts.month),s=this.opts.month==1?this.MonthDay(this.opts.year-1,12):this.MonthDay(this.opts.year,this.opts.month-1);var w=new Date(this.opts.year,this.opts.month-1,1),p=w.getDay(),y=1-p,c=this.MonthAllDay(y,l,s),v=c.length/7;n.push('<table style="width: 320px; height: 110px; padding:0px;margin:0px; float:left" >');var i="#999999",a=this.opts.month==1?this.opts.year-1:this.opts.year,r=this.opts.month==1?12:this.opts.month-1;for(u=0;u<v;u++){for(o=u*7,h=o+6,n.push("<tr>"),f=o;f<=h;f++)t=c[f],t==1&&i!="#000000"?i="#000000":t==1&&i=="#000000"&&(i="#999999"),t==1&&(r==12?(a++,r=1):r++),n.push("<td align='center' width='40px' height='22px' style='color:"+i+";'>"),e=this.opts.sign.indexOf(a+"-"+r+"-"+t)>-1,e&&n.push('<span style="border:solid 1px red; border-radius:10px; width:18px; display:block; background-color:red;color:#fff">'),n.push(t),e&&n.push("</span>"),n.push("</td>");n.push("</tr>")}return n.push("</table>"),n.join("")},t.dateSlide=function(n){var i=this,t=i.controls.find(".rlContent"),r=i.createDate();i.controls.find(".sDateInfo").html(i.opts.year+"年"+i.opts.month+"月"),n>0?t.append(r).find("table:first").animate({"margin-left":"0px"},function(){t.find("table:first").remove(),t.find("table").css("margin-left","320px"),i.opts.ismove=!1}):n<0?(t.find("table").css("margin-left","0px"),t.prepend(r).find("table:first").animate({"margin-left":"320px"},function(){t.find("table:last").remove(),i.opts.ismove=!1})):(t.html(r),t.find("table").css("margin-left","320px"),i.opts.ismove=!1),this.slideEnd()},t.setBtnImg=function(n,t){var r=this.controls.find(this.opts.next+":first").find("img"),i;t&&r.attr("src").indexOf(t)==-1&&r.attr("src",this.imgUrl+t),i=this.controls.find(this.opts.prev+":first").find("img"),n&&i.attr("src").indexOf(n)==-1&&i.attr("src",this.imgUrl+n)},t.isMaxYear=function(){var n=this.opts,t=new Date,r,i;return n.maxYear?(r=n.maxYear=="now"?t.getFullYear():n.maxYear,i=n.maxMonth?n.maxMonth=="now"?t.getMonth()+1:n.maxMonth:t.getMonth()+1,r<=n.year&&n.month>=i):!1},t.isMinYear=function(){var n=this.opts,r=new Date,i,t;return n.minYear?(i=n.minYear=="now"?r.getFullYear():n.minYear,t=n.minMonth?n.minMonth=="now"?r.getMonth()+1:n.minMonth:1,n.year<=i&&n.month<=t):!1},t.slideEnd=function(){this.isMaxYear()?this.setBtnImg(null,"rightfalse.png"):this.setBtnImg(null,"righttrue.png"),this.isMinYear()?this.setBtnImg("leftfalse.png"):this.setBtnImg("lefttrue.png")},t.Toggle=function(n){var t=this.opts,i;if(!t.ismove){if(t.ismove=!0,i=new Date,n>0){if(this.isMaxYear()){t.ismove=!1;return}t.month=t.month==12?1:t.month+1,t.year=t.month==1?t.year+1:t.year}else if(n<0){if(this.isMinYear()){t.ismove=!1;return}t.month=t.month==1?12:t.month-1,t.year=t.month==12?t.year-1:t.year}this.dateSlide(n)}},n.fn.vSign=function(t){var u=n(this),r=u.data("objSign");return typeof u.data("objSign")=="undefined"&&(r=new i(u),u.data("objSign",r)),"touchwipe"in u&&u.touchwipe({preventY:!1,wipeLeft:function(){r.Toggle(1)},wipeRight:function(){r.Toggle(-1)}}),t=="next"?r.Toggle(1):t=="prev"?r.Toggle(-1):(r.opts=n.extend(r.opts,t),u.find(".qdRl").length==0&&(u.html(r.rlShow()),u.find(r.opts.next).bind("click",function(){r.Toggle(1)}),u.find(r.opts.prev).bind("click",function(){r.Toggle(-1)})),r.dateSlide()),u}})(jQuery);
/*!
 * jQuery Cycle Plugin (with Transition Definitions)
 * Examples and documentation at: http://jquery.malsup.com/cycle/
 * Copyright (c) 2007-2010 M. Alsup
 * Version: 2.9999.8 (26-OCT-2012)
 * Dual licensed under the MIT and GPL licenses.
 * http://jquery.malsup.com/license.html
 * Requires: jQuery v1.3.2 or later
 */
(function(n,t){"use strict";function u(t){n.fn.cycle.debug&&i(t)}function i(){window.console&&console.log&&console.log("[cycle] "+Array.prototype.join.call(arguments," "))}function f(t,i,r){var u=n(t).data("cycle.opts"),f;u&&(f=!!t.cyclePause,f&&u.paused?u.paused(t,u,i,r):!f&&u.resumed&&u.resumed(t,u,i,r))}function l(u,e,o){function c(t,u,f){if(!t&&u===!0){var e=n(f).data("cycle.opts");if(!e)return i("options not found, can not resume"),!1;f.cycleTimeout&&(clearTimeout(f.cycleTimeout),f.cycleTimeout=0),r(e.elements,e,1,!e.backwards)}}var s,h;if(u.cycleStop===t&&(u.cycleStop=0),(e===t||e===null)&&(e={}),e.constructor==String){switch(e){case"destroy":case"stop":return(s=n(u).data("cycle.opts"),!s)?!1:(u.cycleStop++,u.cycleTimeout&&clearTimeout(u.cycleTimeout),u.cycleTimeout=0,s.elements&&n(s.elements).stop(),n(u).removeData("cycle.opts"),e=="destroy"&&a(u,s),!1);case"toggle":return u.cyclePause=u.cyclePause===1?0:1,c(u.cyclePause,o,u),f(u),!1;case"pause":return u.cyclePause=1,f(u),!1;case"resume":return u.cyclePause=0,c(!1,o,u),f(u),!1;case"prev":case"next":return(s=n(u).data("cycle.opts"),!s)?(i('options not found, "prev/next" ignored'),!1):(n.fn.cycle[e](s),!1);default:e={fx:e}}return e}return e.constructor==Number?(h=e,e=n(u).data("cycle.opts"),!e)?(i("options not found, can not advance slide"),!1):h<0||h>=e.elements.length?(i("invalid slide index: "+h),!1):(e.nextSlide=h,u.cycleTimeout&&(clearTimeout(u.cycleTimeout),u.cycleTimeout=0),typeof o=="string"&&(e.oneTimeFx=o),r(e.elements,e,1,h>=e.currSlide),!1):e}function h(t,i){if(!n.support.opacity&&i.cleartype&&t.style.filter)try{t.style.removeAttribute("filter")}catch(r){}}function a(t,i){i.next&&n(i.next).unbind(i.prevNextEvent),i.prev&&n(i.prev).unbind(i.prevNextEvent),(i.pager||i.pagerAnchorBuilder)&&n.each(i.pagerAnchors||[],function(){this.unbind().remove()}),i.pagerAnchors=null,n(t).unbind("mouseenter.cycle mouseleave.cycle"),i.destroy&&i.destroy(i)}function w(u,o,c,l,a){var at,w=n.extend({},n.fn.cycle.defaults,l||{},n.metadata?u.metadata():n.meta?u.data():{}),yt=n.isFunction(u.data)?u.data(w.metaAttr):null,ot,rt,it,k,vt,nt,d,st,lt,ct,pt,ht,g;if(yt&&(w=n.extend(w,yt)),w.autostop&&(w.countdown=w.autostopCount||c.length),ot=u[0],u.data("cycle.opts",w),w.$cont=u,w.stopCount=ot.cycleStop,w.elements=c,w.before=w.before?[w.before]:[],w.after=w.after?[w.after]:[],!n.support.opacity&&w.cleartype&&w.after.push(function(){h(this,w)}),w.continuous&&w.after.push(function(){r(c,w,0,!w.backwards)}),p(w),n.support.opacity||!w.cleartype||w.cleartypeNoBg||s(o),u.css("position")=="static"&&u.css("position","relative"),w.width&&u.width(w.width),w.height&&w.height!="auto"&&u.height(w.height),w.startingSlide!==t?(w.startingSlide=parseInt(w.startingSlide,10),w.startingSlide>=c.length||w.startSlide<0?w.startingSlide=0:at=!0):w.startingSlide=w.backwards?c.length-1:0,w.random){for(w.randomMap=[],rt=0;rt<c.length;rt++)w.randomMap.push(rt);if(w.randomMap.sort(function(){return Math.random()-.5}),at)for(it=0;it<c.length;it++)w.startingSlide==w.randomMap[it]&&(w.randomIndex=it);else w.randomIndex=1,w.startingSlide=w.randomMap[1]}else w.startingSlide>=c.length&&(w.startingSlide=0);if(w.currSlide=w.startingSlide||0,k=w.startingSlide,o.css({position:"absolute",top:0,left:0}).hide().each(function(t){var i;i=w.backwards?k?t<=k?c.length+(t-k):k-t:c.length-t:k?t>=k?c.length-(t-k):k-t:c.length-t,n(this).css("z-index",i)}),n(c[k]).css("opacity",1).show(),h(c[k],w),w.fit&&(w.aspect?o.each(function(){var t=n(this),i=w.aspect===!0?t.width()/t.height():w.aspect;w.width&&t.width()!=w.width&&(t.width(w.width),t.height(w.width/i)),w.height&&t.height()<w.height&&(t.height(w.height),t.width(w.height*i))}):(w.width&&o.width(w.width),w.height&&w.height!="auto"&&o.height(w.height))),w.center&&(!w.fit||w.aspect)&&o.each(function(){var t=n(this);t.css({"margin-left":w.width?(w.width-t.width())/2+"px":0,"margin-top":w.height?(w.height-t.height())/2+"px":0})}),!w.center||w.fit||w.slideResize||o.each(function(){var t=n(this);t.css({"margin-left":w.width?(w.width-t.width())/2+"px":0,"margin-top":w.height?(w.height-t.height())/2+"px":0})}),vt=(w.containerResize||w.containerResizeHeight)&&!u.innerHeight(),vt){for(nt=0,d=0,st=0;st<c.length;st++){var tt=n(c[st]),ut=tt[0],et=tt.outerWidth(),ft=tt.outerHeight();et||(et=ut.offsetWidth||ut.width||tt.attr("width")),ft||(ft=ut.offsetHeight||ut.height||tt.attr("height")),nt=et>nt?et:nt,d=ft>d?ft:d}w.containerResize&&nt>0&&d>0&&u.css({width:nt+"px",height:d+"px"}),w.containerResizeHeight&&d>0&&u.css({height:d+"px"})}if((lt=!1,w.pause&&u.bind("mouseenter.cycle",function(){lt=!0,this.cyclePause++,f(ot,!0)}).bind("mouseleave.cycle",function(){lt&&this.cyclePause--,f(ot,!0)}),y(w)===!1)||(ct=!1,l.requeueAttempts=l.requeueAttempts||0,o.each(function(){var t=n(this);if(this.cycleH=w.fit&&w.height?w.height:t.height()||this.offsetHeight||this.height||t.attr("height")||0,this.cycleW=w.fit&&w.width?w.width:t.width()||this.offsetWidth||this.width||t.attr("width")||0,t.is("img")){var f=n.browser.msie&&this.cycleW==28&&this.cycleH==30&&!this.complete,e=n.browser.mozilla&&this.cycleW==34&&this.cycleH==19&&!this.complete,r=n.browser.opera&&(this.cycleW==42&&this.cycleH==19||this.cycleW==37&&this.cycleH==17)&&!this.complete,u=this.cycleH===0&&this.cycleW===0&&!this.complete;if(f||e||r||u){if(a.s&&w.requeueOnImageNotLoaded&&++l.requeueAttempts<100)return i(l.requeueAttempts," - img slide not loaded, requeuing slideshow: ",this.src,this.cycleW,this.cycleH),setTimeout(function(){n(a.s,a.c).cycle(l)},w.requeueTimeout),ct=!0,!1;i("could not determine size of image: "+this.src,this.cycleW,this.cycleH)}}return!0}),ct))return!1;if(w.cssBefore=w.cssBefore||{},w.cssAfter=w.cssAfter||{},w.cssFirst=w.cssFirst||{},w.animIn=w.animIn||{},w.animOut=w.animOut||{},o.not(":eq("+k+")").css(w.cssBefore),n(o[k]).css(w.cssFirst),w.timeout)for(w.timeout=parseInt(w.timeout,10),w.speed.constructor==String&&(w.speed=n.fx.speeds[w.speed]||parseInt(w.speed,10)),w.sync||(w.speed=w.speed/2),pt=w.fx=="none"?0:w.fx=="shuffle"?500:250;w.timeout-w.speed<pt;)w.timeout+=w.speed;if(w.easing&&(w.easeIn=w.easeOut=w.easing),w.speedIn||(w.speedIn=w.speed),w.speedOut||(w.speedOut=w.speed),w.slideCount=c.length,w.currSlide=w.lastSlide=k,w.random?(++w.randomIndex==c.length&&(w.randomIndex=0),w.nextSlide=w.randomMap[w.randomIndex]):w.nextSlide=w.backwards?w.startingSlide===0?c.length-1:w.startingSlide-1:w.startingSlide>=c.length-1?0:w.startingSlide+1,!w.multiFx)if(ht=n.fn.cycle.transitions[w.fx],n.isFunction(ht))ht(u,o,w);else if(w.fx!="custom"&&!w.multiFx)return i("unknown transition: "+w.fx,"; slideshow terminating"),!1;return g=o[k],w.skipInitializationCallbacks||(w.before.length&&w.before[0].apply(g,[g,g,w,!0]),w.after.length&&w.after[0].apply(g,[g,g,w,!0])),w.next&&n(w.next).bind(w.prevNextEvent,function(){return e(w,1)}),w.prev&&n(w.prev).bind(w.prevNextEvent,function(){return e(w,0)}),(w.pager||w.pagerAnchorBuilder)&&v(c,w),b(w,c),w}function p(t){t.original={before:[],after:[]},t.original.cssBefore=n.extend({},t.cssBefore),t.original.cssAfter=n.extend({},t.cssAfter),t.original.animIn=n.extend({},t.animIn),t.original.animOut=n.extend({},t.animOut),n.each(t.before,function(){t.original.before.push(this)}),n.each(t.after,function(){t.original.after.push(this)})}function y(t){var r,o,f=n.fn.cycle.transitions,s,e,c,h;if(t.fx.indexOf(",")>0){for(t.multiFx=!0,t.fxs=t.fx.replace(/\s*/g,"").split(","),r=0;r<t.fxs.length;r++)s=t.fxs[r],o=f[s],o&&f.hasOwnProperty(s)&&n.isFunction(o)||(i("discarding unknown transition: ",s),t.fxs.splice(r,1),r--);if(!t.fxs.length)return i("No valid transitions named; slideshow terminating."),!1}else if(t.fx=="all"){t.multiFx=!0,t.fxs=[];for(e in f)f.hasOwnProperty(e)&&(o=f[e],f.hasOwnProperty(e)&&n.isFunction(o)&&t.fxs.push(e))}if(t.multiFx&&t.randomizeEffects){for(c=Math.floor(Math.random()*20)+30,r=0;r<c;r++)h=Math.floor(Math.random()*t.fxs.length),t.fxs.push(t.fxs.splice(h,1)[0]);u("randomized fx sequence: ",t.fxs)}return!0}function b(t,i){t.addSlide=function(r,u){var f=n(r),e=f[0];if(t.autostopCount||t.countdown++,i[u?"unshift":"push"](e),t.els&&t.els[u?"unshift":"push"](e),t.slideCount=i.length,t.random&&(t.randomMap.push(t.slideCount-1),t.randomMap.sort(function(){return Math.random()-.5})),f.css("position","absolute"),f[u?"prependTo":"appendTo"](t.$cont),u&&(t.currSlide++,t.nextSlide++),n.support.opacity||!t.cleartype||t.cleartypeNoBg||s(f),t.fit&&t.width&&f.width(t.width),t.fit&&t.height&&t.height!="auto"&&f.height(t.height),e.cycleH=t.fit&&t.height?t.height:f.height(),e.cycleW=t.fit&&t.width?t.width:f.width(),f.css(t.cssBefore),(t.pager||t.pagerAnchorBuilder)&&n.fn.cycle.createPagerAnchor(i.length-1,e,n(t.pager),i,t),n.isFunction(t.onAddSlide))t.onAddSlide(f);else f.hide()}}function r(i,f,e,s){function w(){var n=0,t=f.timeout;f.timeout&&!f.continuous?(n=o(i[f.currSlide],i[f.nextSlide],f,s),f.fx=="shuffle"&&(n-=f.speedOut)):f.continuous&&l.cyclePause&&(n=10),n>0&&(l.cycleTimeout=setTimeout(function(){r(i,f,0,!f.backwards)},n))}var l=f.$cont[0],c=i[f.currSlide],h=i[f.nextSlide],y,v,p,a;if(e&&f.busy&&f.manualTrump&&(u("manualTrump in go(), stopping active transition"),n(i).stop(!0,!0),f.busy=0,clearTimeout(l.cycleTimeout)),f.busy){u("transition active, ignoring new tx request");return}if(l.cycleStop==f.stopCount&&(l.cycleTimeout!==0||e)){if(!e&&!l.cyclePause&&!f.bounce&&(f.autostop&&--f.countdown<=0||f.nowrap&&!f.random&&f.nextSlide<f.currSlide)){f.end&&f.end(f);return}y=!1,(e||!l.cyclePause)&&f.nextSlide!=f.currSlide?(y=!0,v=f.fx,c.cycleH=c.cycleH||n(c).height(),c.cycleW=c.cycleW||n(c).width(),h.cycleH=h.cycleH||n(h).height(),h.cycleW=h.cycleW||n(h).width(),f.multiFx&&(s&&(f.lastFx===t||++f.lastFx>=f.fxs.length)?f.lastFx=0:!s&&(f.lastFx===t||--f.lastFx<0)&&(f.lastFx=f.fxs.length-1),v=f.fxs[f.lastFx]),f.oneTimeFx&&(v=f.oneTimeFx,f.oneTimeFx=null),n.fn.cycle.resetState(f,v),f.before.length&&n.each(f.before,function(n,t){l.cycleStop==f.stopCount&&t.apply(h,[c,h,f,s])}),p=function(){f.busy=0,n.each(f.after,function(n,t){l.cycleStop==f.stopCount&&t.apply(h,[c,h,f,s])}),l.cycleStop||w()},u("tx firing("+v+"); currSlide: "+f.currSlide+"; nextSlide: "+f.nextSlide),f.busy=1,f.fxFn?f.fxFn(c,h,f,p,s,e&&f.fastOnEvent):n.isFunction(n.fn.cycle[f.fx])?n.fn.cycle[f.fx](c,h,f,p,s,e&&f.fastOnEvent):n.fn.cycle.custom(c,h,f,p,s,e&&f.fastOnEvent)):w(),(y||f.nextSlide==f.currSlide)&&(f.lastSlide=f.currSlide,f.random?(f.currSlide=f.nextSlide,++f.randomIndex==i.length&&(f.randomIndex=0,f.randomMap.sort(function(){return Math.random()-.5})),f.nextSlide=f.randomMap[f.randomIndex],f.nextSlide==f.currSlide&&(f.nextSlide=f.currSlide==f.slideCount-1?0:f.currSlide+1)):f.backwards?(a=f.nextSlide-1<0,a&&f.bounce?(f.backwards=!f.backwards,f.nextSlide=1,f.currSlide=0):(f.nextSlide=a?i.length-1:f.nextSlide-1,f.currSlide=a?0:f.nextSlide+1)):(a=f.nextSlide+1==i.length,a&&f.bounce?(f.backwards=!f.backwards,f.nextSlide=i.length-2,f.currSlide=i.length-1):(f.nextSlide=a?0:f.nextSlide+1,f.currSlide=a?i.length-1:f.nextSlide-1))),y&&f.pager&&f.updateActivePagerLink(f.pager,f.currSlide,f.activePagerClass)}}function o(n,t,i,r){if(i.timeoutFn){for(var f=i.timeoutFn.call(n,n,t,i,r);i.fx!="none"&&f-i.speed<250;)f+=i.speed;if(u("calculated timeout: "+f+"; speed: "+i.speed),f!==!1)return f}return i.timeout}function e(t,i){var e=i?1:-1,u=t.elements,o=t.$cont[0],s=o.cycleTimeout,f;if(s&&(clearTimeout(s),o.cycleTimeout=0),t.random&&e<0)t.randomIndex--,--t.randomIndex==-2?t.randomIndex=u.length-2:t.randomIndex==-1&&(t.randomIndex=u.length-1),t.nextSlide=t.randomMap[t.randomIndex];else if(t.random)t.nextSlide=t.randomMap[t.randomIndex];else if(t.nextSlide=t.currSlide+e,t.nextSlide<0){if(t.nowrap)return!1;t.nextSlide=u.length-1}else if(t.nextSlide>=u.length){if(t.nowrap)return!1;t.nextSlide=0}return f=t.onPrevNextEvent||t.prevNextClick,n.isFunction(f)&&f(e>0,t.nextSlide,u[t.nextSlide]),r(u,t,1,i),!1}function v(t,i){var e=n(i.pager),f=function(u,f){var s,o,e;u.preventDefault(),i.nextSlide=f,s=i.$cont[0],o=s.cycleTimeout,o&&(clearTimeout(o),s.cycleTimeout=0),e=i.onPagerEvent||i.pagerClick,n.isFunction(e)&&e(i.nextSlide,t[i.nextSlide]),r(t,i,1,i.currSlide<f)},u=e.children();u.length>0?u.each(function(t){var u=n(this);u.bind("click.cycle",function(){return!1}),/mouseenter|mouseover/i.test(i.pagerEvent)?u.hover(function(n){f(n,t)},function(){}):u.bind(i.pagerEvent,function(n){f(n,t)}),/^click/.test(i.pagerEvent)||i.allowPagerClickBubble||u.bind("click.cycle",function(){return!1})}):n.each(t,function(r,u){n.fn.cycle.createPagerAnchor(r,u,e,t,i)}),i.updateActivePagerLink(i.pager,i.startingSlide,i.activePagerClass)}function s(t){function i(n){return n=parseInt(n,10).toString(16),n.length<2?"0"+n:n}function r(t){for(var r,u;t&&t.nodeName.toLowerCase()!="html";t=t.parentNode){if(r=n.css(t,"background-color"),r&&r.indexOf("rgb")>=0)return u=r.match(/\d+/g),"#"+i(u[0])+i(u[1])+i(u[2]);if(r&&r!="transparent")return r}return"#ffffff"}u("applying clearType background-color hack"),t.each(function(){n(this).css("background-color",r(this))})}var c="2.9999.8";n.support===t&&(n.support={opacity:!n.browser.msie}),n.expr[":"].paused=function(n){return n.cyclePause},n.fn.cycle=function(t,f){var e={s:this.selector,c:this.context};return this.length===0&&t!="stop"?!n.isReady&&e.s?(i("DOM not ready, queuing slideshow"),n(function(){n(e.s,e.c).cycle(t,f)}),this):(i("terminating; zero elements found by selector"+(n.isReady?"":" (DOM not ready)")),this):this.each(function(){var s=l(this,t,f),h,c;if(s!==!1){s.updateActivePagerLink=s.updateActivePagerLink||n.fn.cycle.updateActivePagerLink,this.cycleTimeout&&clearTimeout(this.cycleTimeout),this.cycleTimeout=this.cyclePause=0,this.cycleStop=0;var y=n(this),v=s.slideExpr?n(s.slideExpr,this):y.children(),a=v.get();if(a.length<2){s.next&&n(s.next).hide(),s.prev&&n(s.prev).hide(),i("terminating; too few slides: "+a.length);return}(h=w(y,v,a,s,e),h!==!1)&&(c=h.continuous?10:o(a[h.currSlide],a[h.nextSlide],h,!h.backwards),c&&(c+=h.delay||0,c<10&&(c=10),u("first timeout: "+c),this.cycleTimeout=setTimeout(function(){r(a,h,0,!s.backwards)},c)))}})},n.fn.cycle.resetState=function(t,i){i=i||t.fx,t.before=[],t.after=[],t.cssBefore=n.extend({},t.original.cssBefore),t.cssAfter=n.extend({},t.original.cssAfter),t.animIn=n.extend({},t.original.animIn),t.animOut=n.extend({},t.original.animOut),t.fxFn=null,n.each(t.original.before,function(){t.before.push(this)}),n.each(t.original.after,function(){t.after.push(this)});var r=n.fn.cycle.transitions[i];n.isFunction(r)&&r(t.$cont,n(t.elements),t)},n.fn.cycle.updateActivePagerLink=function(t,i,r){n(t).each(function(){n(this).children().removeClass(r).eq(i).addClass(r)})},n.fn.cycle.next=function(n){e(n,1)},n.fn.cycle.prev=function(n){e(n,0)},n.fn.cycle.createPagerAnchor=function(t,i,e,o,s){var y=function(i){var e,f,u;i.preventDefault(),s.nextSlide=t,e=s.$cont[0],f=e.cycleTimeout,f&&(clearTimeout(f),e.cycleTimeout=0),u=s.onPagerEvent||s.pagerClick,n.isFunction(u)&&u(s.nextSlide,o[s.nextSlide]),r(o,s,1,s.currSlide<t)},l,h,a,c,v;(n.isFunction(s.pagerAnchorBuilder)?(l=s.pagerAnchorBuilder(t,i),u("pagerAnchorBuilder("+t+", el) returned: "+l)):l='<a href="#">'+(t+1)+"</a>",l)&&(h=n(l),h.parents("body").length===0&&(a=[],e.length>1?(e.each(function(){var t=h.clone(!0);n(this).append(t),a.push(t[0])}),h=n(a)):h.appendTo(e)),s.pagerAnchors=s.pagerAnchors||[],s.pagerAnchors.push(h),/mouseenter|mouseover/i.test(s.pagerEvent)?h.hover(y,function(){}):h.bind(s.pagerEvent,y),/^click/.test(s.pagerEvent)||s.allowPagerClickBubble||h.bind("click.cycle",function(){return!1}),c=s.$cont[0],v=!1,s.pauseOnPagerHover&&h.hover(function(){v=!0,c.cyclePause++,f(c,!0,!0)},function(){v&&c.cyclePause--,f(c,!0,!0)}))},n.fn.cycle.hopsFromLast=function(n,t){var u,i=n.lastSlide,r=n.currSlide;return u=t?r>i?r-i:n.slideCount-i:r<i?i-r:i+n.slideCount-r},n.fn.cycle.commonReset=function(t,i,r,u,f,e){n(r.elements).not(t).hide(),typeof r.cssBefore.opacity=="undefined"&&(r.cssBefore.opacity=1),r.cssBefore.display="block",r.slideResize&&u!==!1&&i.cycleW>0&&(r.cssBefore.width=i.cycleW),r.slideResize&&f!==!1&&i.cycleH>0&&(r.cssBefore.height=i.cycleH),r.cssAfter=r.cssAfter||{},r.cssAfter.display="none",n(t).css("zIndex",r.slideCount+(e===!0?1:0)),n(i).css("zIndex",r.slideCount+(e===!0?0:1))},n.fn.cycle.custom=function(t,i,r,u,f,e){var l=n(t),a=n(i),o=r.speedIn,s=r.speedOut,v=r.easeIn,c=r.easeOut,h;a.css(r.cssBefore),e&&(o=typeof e=="number"?s=e:s=1,v=c=null),h=function(){a.animate(r.animIn,o,v,function(){u()})},l.animate(r.animOut,s,c,function(){l.css(r.cssAfter),r.sync||h()}),r.sync&&h()},n.fn.cycle.transitions={fade:function(t,i,r){i.not(":eq("+r.currSlide+")").css("opacity",0),r.before.push(function(t,i,r){n.fn.cycle.commonReset(t,i,r),r.cssBefore.opacity=0}),r.animIn={opacity:1},r.animOut={opacity:0},r.cssBefore={top:0,left:0}}},n.fn.cycle.ver=function(){return c},n.fn.cycle.defaults={activePagerClass:"activeSlide",after:null,allowPagerClickBubble:!1,animIn:null,animOut:null,aspect:!1,autostop:0,autostopCount:0,backwards:!1,before:null,center:null,cleartype:!n.support.opacity,cleartypeNoBg:!1,containerResize:1,containerResizeHeight:0,continuous:0,cssAfter:null,cssBefore:null,delay:0,easeIn:null,easeOut:null,easing:null,end:null,fastOnEvent:0,fit:0,fx:"fade",fxFn:null,height:"auto",manualTrump:!0,metaAttr:"cycle",next:null,nowrap:0,onPagerEvent:null,onPrevNextEvent:null,pager:null,pagerAnchorBuilder:null,pagerEvent:"click.cycle",pause:0,pauseOnPagerHover:0,prev:null,prevNextEvent:"click.cycle",random:0,randomizeEffects:1,requeueOnImageNotLoaded:!0,requeueTimeout:250,rev:0,shuffle:null,skipInitializationCallbacks:!1,slideExpr:null,slideResize:1,speed:350,speedIn:null,speedOut:null,startingSlide:t,sync:1,timeout:4e3,timeoutFn:null,updateActivePagerLink:null,width:null,showPageNum:!1}})(jQuery);
/*!
 * jQuery Cycle Plugin Transition Definitions
 * This script is a plugin for the jQuery Cycle Plugin
 * Examples and documentation at: http://malsup.com/jquery/cycle/
 * Copyright (c) 2007-2010 M. Alsup
 * Version:	 2.73
 * Dual licensed under the MIT and GPL licenses:
 * http://www.opensource.org/licenses/mit-license.php
 * http://www.gnu.org/licenses/gpl.html
 */
(function(n){"use strict";n.fn.cycle.transitions.none=function(t,i,r){r.fxFn=function(t,i,r,u){n(i).show(),n(t).hide(),u()}},n.fn.cycle.transitions.fadeout=function(t,i,r){i.not(":eq("+r.currSlide+")").css({display:"block",opacity:1}),r.before.push(function(t,i,r,u,f,e){n(t).css("zIndex",r.slideCount+(e!==!0?1:0)),n(i).css("zIndex",r.slideCount+(e!==!0?0:1))}),r.animIn.opacity=1,r.animOut.opacity=0,r.cssBefore.opacity=1,r.cssBefore.display="block",r.cssAfter.zIndex=0},n.fn.cycle.transitions.scrollUp=function(t,i,r){t.css("overflow","hidden"),r.before.push(n.fn.cycle.commonReset);var u=t.height();r.cssBefore.top=u,r.cssBefore.left=0,r.cssFirst.top=0,r.animIn.top=0,r.animOut.top=-u},n.fn.cycle.transitions.scrollDown=function(t,i,r){t.css("overflow","hidden"),r.before.push(n.fn.cycle.commonReset);var u=t.height();r.cssFirst.top=0,r.cssBefore.top=-u,r.cssBefore.left=0,r.animIn.top=0,r.animOut.top=u},n.fn.cycle.transitions.scrollLeft=function(t,i,r){t.css("overflow","hidden"),r.before.push(n.fn.cycle.commonReset);var u=t.width();r.cssFirst.left=0,r.cssBefore.left=u,r.cssBefore.top=0,r.animIn.left=0,r.animOut.left=0-u},n.fn.cycle.transitions.scrollRight=function(t,i,r){t.css("overflow","hidden"),r.before.push(n.fn.cycle.commonReset);var u=t.width();r.cssFirst.left=0,r.cssBefore.left=-u,r.cssBefore.top=0,r.animIn.left=0,r.animOut.left=u},n.fn.cycle.transitions.scrollHorz=function(t,i,r){t.css("overflow","hidden").width(),r.before.push(function(t,i,r,u){r.rev&&(u=!u),n.fn.cycle.commonReset(t,i,r),r.cssBefore.left=u?i.cycleW-1:1-i.cycleW,r.animOut.left=u?-t.cycleW:t.cycleW}),r.cssFirst.left=0,r.cssBefore.top=0,r.animIn.left=0,r.animOut.top=0},n.fn.cycle.transitions.scrollVert=function(t,i,r){t.css("overflow","hidden"),r.before.push(function(t,i,r,u){r.rev&&(u=!u),n.fn.cycle.commonReset(t,i,r),r.cssBefore.top=u?1-i.cycleH:i.cycleH-1,r.animOut.top=u?t.cycleH:-t.cycleH}),r.cssFirst.top=0,r.cssBefore.left=0,r.animIn.top=0,r.animOut.left=0},n.fn.cycle.transitions.slideX=function(t,i,r){r.before.push(function(t,i,r){n(r.elements).not(t).hide(),n.fn.cycle.commonReset(t,i,r,!1,!0),r.animIn.width=i.cycleW}),r.cssBefore.left=0,r.cssBefore.top=0,r.cssBefore.width=0,r.animIn.width="show",r.animOut.width=0},n.fn.cycle.transitions.slideY=function(t,i,r){r.before.push(function(t,i,r){n(r.elements).not(t).hide(),n.fn.cycle.commonReset(t,i,r,!0,!1),r.animIn.height=i.cycleH}),r.cssBefore.left=0,r.cssBefore.top=0,r.cssBefore.height=0,r.animIn.height="show",r.animOut.height=0},n.fn.cycle.transitions.shuffle=function(t,i,r){var u,f=t.css("overflow","visible").width();for(i.css({left:0,top:0}),r.before.push(function(t,i,r){n.fn.cycle.commonReset(t,i,r,!0,!0,!0)}),r.speedAdjusted||(r.speed=r.speed/2,r.speedAdjusted=!0),r.random=0,r.shuffle=r.shuffle||{left:-f,top:15},r.els=[],u=0;u<i.length;u++)r.els.push(i[u]);for(u=0;u<r.currSlide;u++)r.els.push(r.els.shift());r.fxFn=function(t,i,r,u,f){var e,o;r.rev&&(f=!f),e=f?n(t):n(i),n(i).css(r.cssBefore),o=r.slideCount,e.animate(r.shuffle,r.speedIn,r.easeIn,function(){for(var l=n.fn.cycle.hopsFromLast(r,f),i,s,c,h=0;h<l;h++)f?r.els.push(r.els.shift()):r.els.unshift(r.els.pop());if(f)for(i=0,s=r.els.length;i<s;i++)n(r.els[i]).css("z-index",s-i+o);else c=n(t).css("z-index"),e.css("z-index",parseInt(c,10)+1+o);e.animate({left:0,top:0},r.speedOut,r.easeOut,function(){n(f?this:t).hide(),u&&u()})})},n.extend(r.cssBefore,{display:"block",opacity:1,top:0,left:0})},n.fn.cycle.transitions.turnUp=function(t,i,r){r.before.push(function(t,i,r){n.fn.cycle.commonReset(t,i,r,!0,!1),r.cssBefore.top=i.cycleH,r.animIn.height=i.cycleH,r.animOut.width=i.cycleW}),r.cssFirst.top=0,r.cssBefore.left=0,r.cssBefore.height=0,r.animIn.top=0,r.animOut.height=0},n.fn.cycle.transitions.turnDown=function(t,i,r){r.before.push(function(t,i,r){n.fn.cycle.commonReset(t,i,r,!0,!1),r.animIn.height=i.cycleH,r.animOut.top=t.cycleH}),r.cssFirst.top=0,r.cssBefore.left=0,r.cssBefore.top=0,r.cssBefore.height=0,r.animOut.height=0},n.fn.cycle.transitions.turnLeft=function(t,i,r){r.before.push(function(t,i,r){n.fn.cycle.commonReset(t,i,r,!1,!0),r.cssBefore.left=i.cycleW,r.animIn.width=i.cycleW}),r.cssBefore.top=0,r.cssBefore.width=0,r.animIn.left=0,r.animOut.width=0},n.fn.cycle.transitions.turnRight=function(t,i,r){r.before.push(function(t,i,r){n.fn.cycle.commonReset(t,i,r,!1,!0),r.animIn.width=i.cycleW,r.animOut.left=t.cycleW}),n.extend(r.cssBefore,{top:0,left:0,width:0}),r.animIn.left=0,r.animOut.width=0},n.fn.cycle.transitions.zoom=function(t,i,r){r.before.push(function(t,i,r){n.fn.cycle.commonReset(t,i,r,!1,!1,!0),r.cssBefore.top=i.cycleH/2,r.cssBefore.left=i.cycleW/2,n.extend(r.animIn,{top:0,left:0,width:i.cycleW,height:i.cycleH}),n.extend(r.animOut,{width:0,height:0,top:t.cycleH/2,left:t.cycleW/2})}),r.cssFirst.top=0,r.cssFirst.left=0,r.cssBefore.width=0,r.cssBefore.height=0},n.fn.cycle.transitions.fadeZoom=function(t,i,r){r.before.push(function(t,i,r){n.fn.cycle.commonReset(t,i,r,!1,!1),r.cssBefore.left=i.cycleW/2,r.cssBefore.top=i.cycleH/2,n.extend(r.animIn,{top:0,left:0,width:i.cycleW,height:i.cycleH})}),r.cssBefore.width=0,r.cssBefore.height=0,r.animOut.opacity=0},n.fn.cycle.transitions.blindX=function(t,i,r){var u=t.css("overflow","hidden").width();r.before.push(function(t,i,r){n.fn.cycle.commonReset(t,i,r),r.animIn.width=i.cycleW,r.animOut.left=t.cycleW}),r.cssBefore.left=u,r.cssBefore.top=0,r.animIn.left=0,r.animOut.left=u},n.fn.cycle.transitions.blindY=function(t,i,r){var u=t.css("overflow","hidden").height();r.before.push(function(t,i,r){n.fn.cycle.commonReset(t,i,r),r.animIn.height=i.cycleH,r.animOut.top=t.cycleH}),r.cssBefore.top=u,r.cssBefore.left=0,r.animIn.top=0,r.animOut.top=u},n.fn.cycle.transitions.blindZ=function(t,i,r){var f=t.css("overflow","hidden").height(),u=t.width();r.before.push(function(t,i,r){n.fn.cycle.commonReset(t,i,r),r.animIn.height=i.cycleH,r.animOut.top=t.cycleH}),r.cssBefore.top=f,r.cssBefore.left=u,r.animIn.top=0,r.animIn.left=0,r.animOut.top=f,r.animOut.left=u},n.fn.cycle.transitions.growX=function(t,i,r){r.before.push(function(t,i,r){n.fn.cycle.commonReset(t,i,r,!1,!0),r.cssBefore.left=this.cycleW/2,r.animIn.left=0,r.animIn.width=this.cycleW,r.animOut.left=0}),r.cssBefore.top=0,r.cssBefore.width=0},n.fn.cycle.transitions.growY=function(t,i,r){r.before.push(function(t,i,r){n.fn.cycle.commonReset(t,i,r,!0,!1),r.cssBefore.top=this.cycleH/2,r.animIn.top=0,r.animIn.height=this.cycleH,r.animOut.top=0}),r.cssBefore.height=0,r.cssBefore.left=0},n.fn.cycle.transitions.curtainX=function(t,i,r){r.before.push(function(t,i,r){n.fn.cycle.commonReset(t,i,r,!1,!0,!0),r.cssBefore.left=i.cycleW/2,r.animIn.left=0,r.animIn.width=this.cycleW,r.animOut.left=t.cycleW/2,r.animOut.width=0}),r.cssBefore.top=0,r.cssBefore.width=0},n.fn.cycle.transitions.curtainY=function(t,i,r){r.before.push(function(t,i,r){n.fn.cycle.commonReset(t,i,r,!0,!1,!0),r.cssBefore.top=i.cycleH/2,r.animIn.top=0,r.animIn.height=i.cycleH,r.animOut.top=t.cycleH/2,r.animOut.height=0}),r.cssBefore.height=0,r.cssBefore.left=0},n.fn.cycle.transitions.cover=function(t,i,r){var u=r.direction||"left",e=t.css("overflow","hidden").width(),f=t.height();r.before.push(function(t,i,r){n.fn.cycle.commonReset(t,i,r),r.cssAfter.display="",u=="right"?r.cssBefore.left=-e:u=="up"?r.cssBefore.top=f:u=="down"?r.cssBefore.top=-f:r.cssBefore.left=e}),r.animIn.left=0,r.animIn.top=0,r.cssBefore.top=0,r.cssBefore.left=0},n.fn.cycle.transitions.uncover=function(t,i,r){var u=r.direction||"left",e=t.css("overflow","hidden").width(),f=t.height();r.before.push(function(t,i,r){n.fn.cycle.commonReset(t,i,r,!0,!0,!0),u=="right"?r.animOut.left=e:u=="up"?r.animOut.top=-f:u=="down"?r.animOut.top=f:r.animOut.left=-e}),r.animIn.left=0,r.animIn.top=0,r.cssBefore.top=0,r.cssBefore.left=0},n.fn.cycle.transitions.toss=function(t,i,r){var f=t.css("overflow","visible").width(),u=t.height();r.before.push(function(t,i,r){n.fn.cycle.commonReset(t,i,r,!0,!0,!0),r.animOut.left||r.animOut.top?r.animOut.opacity=0:n.extend(r.animOut,{left:f*2,top:-u/2,opacity:0})}),r.cssBefore.left=0,r.cssBefore.top=0,r.animIn.left=0},n.fn.cycle.transitions.wipe=function(t,i,r){var f=t.css("overflow","hidden").width(),u=t.height(),e,l,a;r.cssBefore=r.cssBefore||{},r.clip&&(/l2r/.test(r.clip)?e="rect(0px 0px "+u+"px 0px)":r2l/.test(r.clip)@e="rect(0px "+f+"px "+u+"px "+f+"px)":/t2b/.test(r.clip)?e="rect(0px "+f+"px 0px 0px)":b2t/.test(r.clip)@e="rect("+u+"px "+f+"px "+u+"px 0px)":/zoom/.test(r.clip)&&(l=parseInt(u/2,10),a=parseInt(f/2,10),e="rect("+l+"px "+a+"px "+l+"px "+a+"px)")),r.cssBefore.clip=r.cssBefore.clip||e||"rect(0px 0px 0px 0px)";var o=r.cssBefore.clip.match(/(\d+)/g),v=parseInt(o[0],10),s=parseInt(o[1],10),c=parseInt(o[2],10),h=parseInt(o[3],10);r.before.push(function(t,i,r){var l,a,e,o;t!=i&&(l=n(t),a=n(i),n.fn.cycle.commonReset(t,i,r,!0,!0,!1),r.cssAfter.display="block",e=1,o=parseInt(r.speedIn/13,10)-1,function y(){var i=v?v-parseInt(e*(v/o),10):0,r=h?h-parseInt(e*(h/o),10):0,n=c<u?c+parseInt(e*((u-c)/o||1),10):u,t=s<f?s+parseInt(e*((f-s)/o||1),10):f;a.css({clip:"rect("+i+"px "+t+"px "+n+"px "+r+"px)"}),e++<=o?setTimeout(y,13):l.css("display","none")}())}),n.extend(r.cssBefore,{display:"block",opacity:1,top:0,left:0}),r.animIn={left:0},r.animOut={left:0}}})(jQuery),function(n){n.fn.touchwipe=function(t){var i={min_move_x:20,min_move_y:20,wipeLeft:function(){},wipeRight:function(){},wipeUp:function(){},wipeDown:function(){},preventX:!0,preventY:!0,globleX:!1};return t&&n.extend(i,t),this.each(function(){function t(){this.removeEventListener("touchmove",f),n=null,u=!1}function f(f){var o,e,h,s;if(i.preventX&&i.preventY&&f.preventDefault(),u){if(o=f.touches[0].pageX,e=f.touches[0].pageY,i.preventX)if(Math.abs((e-r)/(o-n))<.5||i.globleX)f.preventDefault();else return t(),!1;else if(i.preventY)if(Math.abs((e-r)/(o-n))>.5)f.preventDefault();else return t(),!1;h=n-o,s=r-e,Math.abs(h)>=i.min_move_x?(t(),h>0?i.wipeLeft():i.wipeRight()):Math.abs(s)>=i.min_move_y&&(t(),s>0?i.wipeDown():i.wipeUp())}}function e(t){t.touches.length==1&&(n=t.touches[0].pageX,r=t.touches[0].pageY,u=!0,this.addEventListener("touchmove",f,!1))}var n,r,u=!1;"ontouchstart"in document.documentElement&&this.addEventListener("touchstart",e,!1)}),this}}(jQuery),function(n){var t=n.fn.vcycle;typeof t=="undefined"&&(n.fn.vcycle=function(t,i){var r={cycle:{fx:"scrollHorz",timeout:4e3}};return t=t||r.cycle,typeof t!="string"&&(t=n.extend(r.cycle,t)),i=i||!1,this.each(function(){var r=n(this);r.cycle(t),r.touchwipe({preventY:!1,wipeLeft:function(){r.cycle("next")},wipeRight:function(){r.cycle("prev")},globleX:i}),t.next||t.prev||t.pager||r.find("a").length!=0||r.bind("click",function(t){var u=t.clientX,i=n(window).width();u<i/2?r.cycle("prev"):r.cycle("next")})})})}(jQuery);