/*
* jQueryBS JavaScript Library v1.6.3
* http://jQuery.com/
* modified to namespace to buyshield code, in case we're sharing a page with other jQuery
* Copyright 2011, John Resig
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jQuery.org/license
*
* Includes Sizzle.js
* http://sizzlejs.com/
* Copyright 2011, The Dojo Foundation
* Released under the MIT, BSD, and GPL Licenses.
*
* Date: Wed Aug 31 10:35:15 2011 -0400
*/
(function(o,l){function ra(a,b,d){if(d===l&&a.nodeType===1){if(d="data-"+b.replace(cb,"$1-$2").toLowerCase(),d=a.getAttribute(d),typeof d==="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:!c.isNaN(d)?parseFloat(d):db.test(d)?c.parseJSON(d):d}catch(e){}c.data(a,b,d)}else{d=l}}return d}function ca(a){for(var b in a){if(b!=="toJSON"){return !1}}return !0}function sa(a,b,d){var e=b+"defer",f=b+"queue",g=b+"mark",h=c.data(a,e,l,!0);h&&(d==="queue"||!c.data(a,f,l,!0))&&(d==="mark"||!c.data(a,g,l,!0))&&setTimeout(function(){!c.data(a,f,l,!0)&&!c.data(a,g,l,!0)&&(c.removeData(a,e,!0),h.resolve())},0)}function B(){return !1}function Q(){return !0}function ta(a,b,d){var e=c.extend({},d[0]);e.type=a;e.originalEvent={};e.liveFired=l;c.event.handle.call(b,e);e.isDefaultPrevented()&&d[0].preventDefault()}function eb(a){var b,d,e,f,g,h,i,j,m,n,l,k=[];f=[];g=c._data(this,"events");if(!(a.liveFired===this||!g||!g.live||a.target.disabled||a.button&&a.type==="click")){a.namespace&&(l=RegExp("(^|\\.)"+a.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)"));a.liveFired=this;var p=g.live.slice(0);for(i=0;i<p.length;i++){g=p[i],g.origType.replace(da,"")===a.type?f.push(g.selector):p.splice(i--,1)}f=c(a.target).closest(f,a.currentTarget);for(j=0,m=f.length;j<m;j++){n=f[j];for(i=0;i<p.length;i++){if(g=p[i],n.selector===g.selector&&(!l||l.test(g.namespace))&&!n.elem.disabled){h=n.elem;e=null;if(g.preType==="mouseenter"||g.preType==="mouseleave"){a.type=g.preType,(e=c(a.relatedTarget).closest(g.selector)[0])&&c.contains(h,e)&&(e=h)}(!e||e!==h)&&k.push({elem:h,handleObj:g,level:n.level})}}}for(j=0,m=k.length;j<m;j++){f=k[j];if(d&&f.level>d){break}a.currentTarget=f.elem;a.data=f.handleObj.data;a.handleObj=f.handleObj;l=f.handleObj.origHandler.apply(f.elem,arguments);if(l===!1||a.isPropagationStopped()){if(d=f.level,l===!1&&(b=!1),a.isImmediatePropagationStopped()){break}}}return b}}function V(a,b){return(a&&a!=="*"?a+".":"")+b.replace(fb,"`").replace(gb,"&")}function ua(a,b,d){b=b||0;if(c.isFunction(b)){return c.grep(a,function(a,c){return !!b.call(a,c,a)===d})}else{if(b.nodeType){return c.grep(a,function(a){return a===b===d})}else{if(typeof b==="string"){var e=c.grep(a,function(a){return a.nodeType===1});if(hb.test(b)){return c.filter(b,e,!d)}else{b=c.filter(b,e)}}}}return c.grep(a,function(a){return c.inArray(a,b)>=0===d})}function va(a,b){if(b.nodeType===1&&c.hasData(a)){var d=c.expando,e=c.data(a),f=c.data(b,e);if(e=e[d]){var g=e.events,f=f[d]=c.extend({},e);if(g){delete f.handle;f.events={};for(var h in g){d=0;for(e=g[h].length;d<e;d++){c.event.add(b,h+(g[h][d].namespace?".":"")+g[h][d].namespace,g[h][d],g[h][d].data)}}}}}}function wa(a,b){var d;if(b.nodeType===1){b.clearAttributes&&b.clearAttributes();b.mergeAttributes&&b.mergeAttributes(a);d=b.nodeName.toLowerCase();if(d==="object"){b.outerHTML=a.outerHTML}else{if(d==="input"&&(a.type==="checkbox"||a.type==="radio")){if(a.checked){b.defaultChecked=b.checked=a.checked}if(b.value!==a.value){b.value=a.value}}else{if(d==="option"){b.selected=a.defaultSelected}else{if(d==="input"||d==="textarea"){b.defaultValue=a.defaultValue}}}}b.removeAttribute(c.expando)}}function W(a){return"getElementsByTagName" in a?a.getElementsByTagName("*"):"querySelectorAll" in a?a.querySelectorAll("*"):[]}function xa(a){if(a.type==="checkbox"||a.type==="radio"){a.defaultChecked=a.checked}}function ya(a){c.nodeName(a,"input")?xa(a):"getElementsByTagName" in a&&c.grep(a.getElementsByTagName("input"),xa)}function ib(a,b){b.src?c.ajax({url:b.src,async:!1,dataType:"script"}):c.globalEval((b.text||b.textContent||b.innerHTML||"").replace(jb,"/*$0*/"));b.parentNode&&b.parentNode.removeChild(b)}function za(a,b,d){var e=b==="width"?a.offsetWidth:a.offsetHeight,f=b==="width"?kb:lb;if(e>0){return d!=="border"&&c.each(f,function(){d||(e-=parseFloat(c.css(a,"padding"+this))||0);d==="margin"?e+=parseFloat(c.css(a,d+this))||0:e-=parseFloat(c.css(a,"border"+this+"Width"))||0}),e+"px"}e=G(a,b,b);if(e<0||e==null){e=a.style[b]||0}e=parseFloat(e)||0;d&&c.each(f,function(){e+=parseFloat(c.css(a,"padding"+this))||0;d!=="padding"&&(e+=parseFloat(c.css(a,"border"+this+"Width"))||0);d==="margin"&&(e+=parseFloat(c.css(a,d+this))||0)});return e+"px"}function Aa(a){return function(b,d){var j;typeof b!=="string"&&(d=b,b="*");if(c.isFunction(d)){for(var e=b.toLowerCase().split(Ba),f=0,g=e.length,h,i;f<g;f++){h=e[f],(i=/^\+/.test(h))&&(h=h.substr(1)||"*"),j=a[h]=a[h]||[],h=j,h[i?"unshift":"push"](d)}}}}function X(a,b,c,e,f,g){f=f||b.dataTypes[0];g=g||{};g[f]=!0;for(var f=a[f],h=0,i=f?f.length:0,j=a===ea,m;h<i&&(j||!m);h++){m=f[h](b,c,e),typeof m==="string"&&(!j||g[m]?m=l:(b.dataTypes.unshift(m),m=X(a,b,c,e,m,g)))}if((j||!m)&&!g["*"]){m=X(a,b,c,e,"*",g)}return m}function Ca(a,b){var d,e,f=c.ajaxSettings.flatOptions||{};for(d in b){b[d]!==l&&((f[d]?a:e||(e={}))[d]=b[d])}e&&c.extend(!0,a,e)}function fa(a,b,d,e){if(c.isArray(b)){c.each(b,function(b,f){d||mb.test(a)?e(a,f):fa(a+"["+(typeof f==="object"||c.isArray(f)?b:"")+"]",f,d,e)})}else{if(!d&&b!=null&&typeof b==="object"){for(var f in b){fa(a+"["+f+"]",b[f],d,e)}}else{e(a,b)}}}function Da(){try{return new o.XMLHttpRequest}catch(a){}}function Ea(){setTimeout(nb,0);return Y=c.now()}function nb(){Y=l}function L(a,b){var d={};c.each(Fa.concat.apply([],Fa.slice(0,b)),function(){d[this]=a});return d}function Ga(a){if(!ga[a]){var b=k.body,d=c("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){if(!u){u=k.createElement("iframe"),u.frameBorder=u.width=u.height=0}b.appendChild(u);if(!H||!u.createElement){H=(u.contentWindow||u.contentDocument).document,H.write((k.compatMode==="CSS1Compat"?"<!doctype html>":"")+"<html><body>"),H.close()}d=H.createElement(a);H.body.appendChild(d);e=c.css(d,"display");b.removeChild(u)}ga[a]=e}return ga[a]}function ha(a){return c.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}var k=o.document,ob=o.navigator,pb=o.location,c=function(){function a(){if(!b.isReady){try{k.documentElement.doScroll("left")}catch(c){setTimeout(a,1);return}b.ready()}}var b=function(a,c){return new b.fn.init(a,c,f)},c=o.jQueryBS,e=o.$,f,g=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,h=/\S/,i=/^\s+/,j=/\s+$/,m=/\d/,n=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,F=/^[\],:{}\s]*$/,C=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,p=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,s=/(?:^|:|,)(?:\s*\[)+/g,w=/(webkit)[ \/]([\w.]+)/,v=/(opera)(?:.*version)?[ \/]([\w.]+)/,x=/(msie) ([\w.]+)/,u=/(mozilla)(?:.*? rv:([\w.]+))?/,t=/-([a-z]|[0-9])/ig,q=/^-ms-/,qb=function(a,b){return(b+"").toUpperCase()},z=ob.userAgent,Z,R,rb=Object.prototype.toString,ia=Object.prototype.hasOwnProperty,ja=Array.prototype.push,T=Array.prototype.slice,U=String.prototype.trim,O=Array.prototype.indexOf,r={};b.fn=b.prototype={constructor:b,init:function(a,c,d){var e;if(!a){return this}if(a.nodeType){return this.context=this[0]=a,this.length=1,this}if(a==="body"&&!c&&k.body){return this.context=k,this[0]=k.body,this.selector=a,this.length=1,this}if(typeof a==="string"){if((e=a.charAt(0)==="<"&&a.charAt(a.length-1)===">"&&a.length>=3?[null,a,null]:g.exec(a))&&(e[1]||!c)){if(e[1]){return d=(c=c instanceof b?c[0]:c)?c.ownerDocument||c:k,(a=n.exec(a))?b.isPlainObject(c)?(a=[k.createElement(a[1])],b.fn.attr.call(a,c,!0)):a=[d.createElement(a[1])]:(a=b.buildFragment([e[1]],[d]),a=(a.cacheable?b.clone(a.fragment):a.fragment).childNodes),b.merge(this,a)}else{if((c=k.getElementById(e[2]))&&c.parentNode){if(c.id!==e[2]){return d.find(a)}this.length=1;this[0]=c}this.context=k;this.selector=a;return this}}else{return !c||c.jQueryBS?(c||d).find(a):this.constructor(c).find(a)}}else{if(b.isFunction(a)){return d.ready(a)}}if(a.selector!==l){this.selector=a.selector,this.context=a.context}return b.makeArray(a,this)},selector:"",jQueryBS:"1.6.3",length:0,size:function(){return this.length},toArray:function(){return T.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,c,d){var e=this.constructor();b.isArray(a)?ja.apply(e,a):b.merge(e,a);e.prevObject=this;e.context=this.context;if(c==="find"){e.selector=this.selector+(this.selector?" ":"")+d}else{if(c){e.selector=this.selector+"."+c+"("+d+")"}}return e},each:function(a,c){return b.each(this,a,c)},ready:function(a){b.bindReady();Z.done(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(T.apply(this,arguments),"slice",T.call(arguments).join(","))},map:function(a){return this.pushStack(b.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:ja,sort:[].sort,splice:[].splice};b.fn.init.prototype=b.fn;b.extend=b.fn.extend=function(){var a,c,d,e,f,g=arguments[0]||{},t=1,h=arguments.length,q=!1;typeof g==="boolean"&&(q=g,g=arguments[1]||{},t=2);typeof g!=="object"&&!b.isFunction(g)&&(g={});h===t&&(g=this,--t);for(;t<h;t++){if((a=arguments[t])!=null){for(c in a){d=g[c],e=a[c],g!==e&&(q&&e&&(b.isPlainObject(e)||(f=b.isArray(e)))?(f?(f=!1,d=d&&b.isArray(d)?d:[]):d=d&&b.isPlainObject(d)?d:{},g[c]=b.extend(q,d,e)):e!==l&&(g[c]=e))}}}return g};b.extend({noConflict:function(a){if(o.$===b){o.$=e}if(a&&o.jQueryBS===b){o.jQueryBS=c}return b},isReady:!1,readyWait:1,holdReady:function(a){a?b.readyWait++:b.ready(!0)},ready:function(a){if(a===!0&&!--b.readyWait||a!==!0&&!b.isReady){if(!k.body){return setTimeout(b.ready,1)}b.isReady=!0;a!==!0&&--b.readyWait>0||(Z.resolveWith(k,[b]),b.fn.trigger&&b(k).trigger("ready").unbind("ready"))}},bindReady:function(){if(!Z){Z=b._Deferred();if(k.readyState==="complete"){return setTimeout(b.ready,1)}if(k.addEventListener){k.addEventListener("DOMContentLoaded",R,!1),o.addEventListener("load",b.ready,!1)}else{if(k.attachEvent){k.attachEvent("onreadystatechange",R);o.attachEvent("onload",b.ready);var c=!1;try{c=o.frameElement==null}catch(d){}k.documentElement.doScroll&&c&&a()}}}},isFunction:function(a){return b.type(a)==="function"},isArray:Array.isArray||function(a){return b.type(a)==="array"},isWindow:function(a){return a&&typeof a==="object"&&"setInterval" in a},isNaN:function(a){return a==null||!m.test(a)||isNaN(a)},type:function(a){return a==null?String(a):r[rb.call(a)]||"object"},isPlainObject:function(a){if(!a||b.type(a)!=="object"||a.nodeType||b.isWindow(a)){return !1}try{if(a.constructor&&!ia.call(a,"constructor")&&!ia.call(a.constructor.prototype,"isPrototypeOf")){return !1}}catch(c){return !1}for(var d in a){}return d===l||ia.call(a,d)},isEmptyObject:function(a){for(var b in a){return !1}return !0},error:function(a){throw a},parseJSON:function(a){if(typeof a!=="string"||!a){return null}a=b.trim(a);if(o.JSON&&o.JSON.parse){return o.JSON.parse(a)}if(F.test(a.replace(C,"@").replace(p,"]").replace(s,""))){return(new Function("return "+a))()}b.error("Invalid JSON: "+a)},parseXML:function(a){var c,d;try{o.DOMParser?(d=new DOMParser,c=d.parseFromString(a,"text/xml")):(c=new ActiveXObject("Microsoft.XMLDOM"),c.async="false",c.loadXML(a))}catch(e){c=l}(!c||!c.documentElement||c.getElementsByTagName("parsererror").length)&&b.error("Invalid XML: "+a);return c},noop:function(){},globalEval:function(a){a&&h.test(a)&&(o.execScript||function(a){o.eval.call(o,a)})(a)},camelCase:function(a){return a.replace(q,"ms-").replace(t,qb)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,d){var e,f=0,g=a.length,t=g===l||b.isFunction(a);if(d){if(t){for(e in a){if(c.apply(a[e],d)===!1){break}}}else{for(;f<g;){if(c.apply(a[f++],d)===!1){break}}}}else{if(t){for(e in a){if(c.call(a[e],e,a[e])===!1){break}}}else{for(;f<g;){if(c.call(a[f],f,a[f++])===!1){break}}}}return a},trim:U?function(a){return a==null?"":U.call(a)}:function(a){return a==null?"":a.toString().replace(i,"").replace(j,"")},makeArray:function(a,c){var d=c||[];if(a!=null){var e=b.type(a);a.length==null||e==="string"||e==="function"||e==="regexp"||b.isWindow(a)?ja.call(d,a):b.merge(d,a)}return d},inArray:function(a,b){if(!b){return -1}if(O){return O.call(b,a)}for(var c=0,d=b.length;c<d;c++){if(b[c]===a){return c}}return -1},merge:function(a,b){var c=a.length,d=0;if(typeof b.length==="number"){for(var e=b.length;d<e;d++){a[c++]=b[d]}}else{for(;b[d]!==l;){a[c++]=b[d++]}}a.length=c;return a},grep:function(a,b,c){for(var d=[],e,c=!!c,f=0,g=a.length;f<g;f++){e=!!b(a[f],f),c!==e&&d.push(a[f])}return d},map:function(a,c,d){var e,f,g=[],t=0,h=a.length;if(a instanceof b||h!==l&&typeof h==="number"&&(h>0&&a[0]&&a[h-1]||h===0||b.isArray(a))){for(;t<h;t++){e=c(a[t],t,d),e!=null&&(g[g.length]=e)}}else{for(f in a){e=c(a[f],f,d),e!=null&&(g[g.length]=e)}}return g.concat.apply([],g)},guid:1,proxy:function(a,c){if(typeof c==="string"){var d=a[c],c=a,a=d}if(!b.isFunction(a)){return l}var e=T.call(arguments,2),d=function(){return a.apply(c,e.concat(T.call(arguments)))};d.guid=a.guid=a.guid||d.guid||b.guid++;return d},access:function(a,c,d,e,f,g){var t=a.length;if(typeof c==="object"){for(var h in c){b.access(a,h,c[h],e,f,d)}return a}if(d!==l){e=!g&&e&&b.isFunction(d);for(h=0;h<t;h++){f(a[h],c,e?d.call(a[h],h,f(a[h],c)):d,g)}return a}return t?f(a[0],c):l},now:function(){return(new Date).getTime()},uaMatch:function(a){a=a.toLowerCase();a=w.exec(a)||v.exec(a)||x.exec(a)||a.indexOf("compatible")<0&&u.exec(a)||[];return{browser:a[1]||"",version:a[2]||"0"}},sub:function(){function a(b,c){return new a.fn.init(b,c)}b.extend(!0,a,this);a.superclass=this;a.fn=a.prototype=this();a.fn.constructor=a;a.sub=this.sub;a.fn.init=function(d,e){e&&e instanceof b&&!(e instanceof a)&&(e=a(e));return b.fn.init.call(this,d,e,c)};a.fn.init.prototype=a.fn;var c=a(k);return a},browser:{}});b.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(a,b){r["[object "+b+"]"]=b.toLowerCase()});z=b.uaMatch(z);if(z.browser){b.browser[z.browser]=!0,b.browser.version=z.version}if(b.browser.webkit){b.browser.safari=!0}h.test("\u00a0")&&(i=/^[\s\xA0]+/,j=/[\s\xA0]+$/);f=b(k);k.addEventListener?R=function(){k.removeEventListener("DOMContentLoaded",R,!1);b.ready()}:k.attachEvent&&(R=function(){k.readyState==="complete"&&(k.detachEvent("onreadystatechange",R),b.ready())});return b}(),ka="done fail isResolved isRejected promise then always pipe".split(" "),Ha=[].slice;c.extend({_Deferred:function(){var a=[],b,d,e,f={done:function(){if(!e){var d=arguments,h,i,j,m,n;b&&(n=b,b=0);for(h=0,i=d.length;h<i;h++){j=d[h],m=c.type(j),m==="array"?f.done.apply(f,j):m==="function"&&a.push(j)}n&&f.resolveWith(n[0],n[1])}return this},resolveWith:function(c,f){if(!e&&!b&&!d){f=f||[];d=1;try{for(;a[0];){a.shift().apply(c,f)}}finally{b=[c,f],d=0}}return this},resolve:function(){f.resolveWith(this,arguments);return this},isResolved:function(){return !(!d&&!b)},cancel:function(){e=1;a=[];return this}};return f},Deferred:function(a){var b=c._Deferred(),d=c._Deferred(),e;c.extend(b,{then:function(a,c){b.done(a).fail(c);return this},always:function(){return b.done.apply(b,arguments).fail.apply(this,arguments)},fail:d.done,rejectWith:d.resolveWith,reject:d.resolve,isRejected:d.isResolved,pipe:function(a,d){return c.Deferred(function(e){c.each({done:[a,"resolve"],fail:[d,"reject"]},function(a,d){var f=d[0],g=d[1],l;if(c.isFunction(f)){b[a](function(){if((l=f.apply(this,arguments))&&c.isFunction(l.promise)){l.promise().then(e.resolve,e.reject)}else{e[g+"With"](this===b?e:this,[l])}})}else{b[a](e[g])}})}).promise()},promise:function(a){if(a==null){if(e){return e}e=a={}}for(var c=ka.length;c--;){a[ka[c]]=b[ka[c]]}return a}});b.done(d.cancel).fail(b.cancel);delete b.cancel;a&&a.call(b,b);return b},when:function(a){function b(a){return function(b){d[a]=arguments.length>1?Ha.call(arguments,0):b;--g||h.resolveWith(h,Ha.call(d,0))}}var d=arguments,e=0,f=d.length,g=f,h=f<=1&&a&&c.isFunction(a.promise)?a:c.Deferred();if(f>1){for(;e<f;e++){d[e]&&c.isFunction(d[e].promise)?d[e].promise().then(b(e),h.reject):--g}g||h.resolveWith(h,d)}else{h!==a&&h.resolveWith(h,f?[a]:[])}return h.promise()}});c.support=function(){var a=k.createElement("div"),b=k.documentElement,d,e,f,g,h,i;a.setAttribute("className","t");a.innerHTML=" <link><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type=checkbox>";d=a.getElementsByTagName("*");e=a.getElementsByTagName("a")[0];if(!d||!d.length||!e){return{}}f=k.createElement("select");g=f.appendChild(k.createElement("option"));d=a.getElementsByTagName("input")[0];h={leadingWhitespace:a.firstChild.nodeType===3,tbody:!a.getElementsByTagName("tbody").length,htmlSerialize:!!a.getElementsByTagName("link").length,style:/top/.test(e.getAttribute("style")),hrefNormalized:e.getAttribute("href")==="/a",opacity:/^0.55$/.test(e.style.opacity),cssFloat:!!e.style.cssFloat,checkOn:d.value==="on",optSelected:g.selected,getSetAttribute:a.className!=="t",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0};d.checked=!0;h.noCloneChecked=d.cloneNode(!0).checked;f.disabled=!0;h.optDisabled=!g.disabled;try{delete a.test}catch(j){h.deleteExpando=!1}!a.addEventListener&&a.attachEvent&&a.fireEvent&&(a.attachEvent("onclick",function(){h.noCloneEvent=!1}),a.cloneNode(!0).fireEvent("onclick"));d=k.createElement("input");d.value="t";d.setAttribute("type","radio");h.radioValue=d.value==="t";d.setAttribute("checked","checked");a.appendChild(d);e=k.createDocumentFragment();e.appendChild(a.firstChild);h.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked;a.innerHTML="";a.style.width=a.style.paddingLeft="1px";f=k.getElementsByTagName("body")[0];e=k.createElement(f?"div":"body");g={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"};f&&c.extend(g,{position:"absolute",left:"-1000px",top:"-1000px"});for(i in g){e.style[i]=g[i]}e.appendChild(a);b=f||b;b.insertBefore(e,b.firstChild);h.appendChecked=d.checked;h.boxModel=a.offsetWidth===2;if("zoom" in a.style){a.style.display="inline",a.style.zoom=1,h.inlineBlockNeedsLayout=a.offsetWidth===2,a.style.display="",a.innerHTML="<div style='width:4px;'></div>",h.shrinkWrapBlocks=a.offsetWidth!==2}a.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>";f=a.getElementsByTagName("td");d=f[0].offsetHeight===0;f[0].style.display="";f[1].style.display="none";h.reliableHiddenOffsets=d&&f[0].offsetHeight===0;a.innerHTML="";if(k.defaultView&&k.defaultView.getComputedStyle){d=k.createElement("div"),d.style.width="0",d.style.marginRight="0",a.appendChild(d),h.reliableMarginRight=(parseInt((k.defaultView.getComputedStyle(d,null)||{marginRight:0}).marginRight,10)||0)===0}e.innerHTML="";b.removeChild(e);if(a.attachEvent){for(i in {submit:1,change:1,focusin:1}){b="on"+i,d=b in a,d||(a.setAttribute(b,"return;"),d=typeof a[b]==="function"),h[i+"Bubbles"]=d}}e=e=f=g=f=d=a=d=null;return h}();c.boxModel=c.support.boxModel;var db=/^(?:\{.*\}|\[.*\])$/,cb=/([a-z])([A-Z])/g;c.extend({cache:{},uuid:0,expando:"jQueryBS"+(c.fn.jQueryBS+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?c.cache[a[c.expando]]:a[c.expando];return !!a&&!ca(a)},data:function(a,b,d,e){if(c.acceptData(a)){var f=c.expando,g=typeof b==="string",h=a.nodeType,i=h?c.cache:a,j=h?a[c.expando]:a[c.expando]&&c.expando;if(j&&(!e||!j||!i[j]||i[j][f])||!(g&&d===l)){if(!j){h?a[c.expando]=j=++c.uuid:j=c.expando}if(!i[j]&&(i[j]={},!h)){i[j].toJSON=c.noop}if(typeof b==="object"||typeof b==="function"){e?i[j][f]=c.extend(i[j][f],b):i[j]=c.extend(i[j],b)}a=i[j];e&&(a[f]||(a[f]={}),a=a[f]);d!==l&&(a[c.camelCase(b)]=d);if(b==="events"&&!a[b]){return a[f]&&a[f].events}g?(d=a[b],d==null&&(d=a[c.camelCase(b)])):d=a;return d}}},removeData:function(a,b,d){if(c.acceptData(a)){var e,f=c.expando,g=a.nodeType,h=g?c.cache:a,i=g?a[c.expando]:c.expando;if(h[i]){if(b&&(e=d?h[i][f]:h[i])){if(e[b]||(b=c.camelCase(b)),delete e[b],!ca(e)){return}}if(d&&(delete h[i][f],!ca(h[i]))){return}b=h[i][f];c.support.deleteExpando||!h.setInterval?delete h[i]:h[i]=null;if(b){h[i]={};if(!g){h[i].toJSON=c.noop}h[i][f]=b}else{g&&(c.support.deleteExpando?delete a[c.expando]:a.removeAttribute?a.removeAttribute(c.expando):a[c.expando]=null)}}}},_data:function(a,b,d){return c.data(a,b,d,!0)},acceptData:function(a){if(a.nodeName){var b=c.noData[a.nodeName.toLowerCase()];if(b){return !(b===!0||a.getAttribute("classid")!==b)}}return !0}});c.fn.extend({data:function(a,b){var d=null;if(typeof a==="undefined"){if(this.length&&(d=c.data(this[0]),this[0].nodeType===1)){for(var e=this[0].attributes,f,g=0,h=e.length;g<h;g++){f=e[g].name,f.indexOf("data-")===0&&(f=c.camelCase(f.substring(5)),ra(this[0],f,d[f]))}}return d}else{if(typeof a==="object"){return this.each(function(){c.data(this,a)})}}var i=a.split(".");i[1]=i[1]?"."+i[1]:"";return b===l?(d=this.triggerHandler("getData"+i[1]+"!",[i[0]]),d===l&&this.length&&(d=c.data(this[0],a),d=ra(this[0],a,d)),d===l&&i[1]?this.data(i[0]):d):this.each(function(){var d=c(this),e=[i[0],b];d.triggerHandler("setData"+i[1]+"!",e);c.data(this,a,b);d.triggerHandler("changeData"+i[1]+"!",e)})},removeData:function(a){return this.each(function(){c.removeData(this,a)})}});c.extend({_mark:function(a,b){a&&(b=(b||"fx")+"mark",c.data(a,b,(c.data(a,b,l,!0)||0)+1,!0))},_unmark:function(a,b,d){a!==!0&&(d=b,b=a,a=!1);if(b){var d=d||"fx",e=d+"mark";(a=a?0:(c.data(b,e,l,!0)||1)-1)?c.data(b,e,a,!0):(c.removeData(b,e,!0),sa(b,d,"mark"))}},queue:function(a,b,d){if(a){var b=(b||"fx")+"queue",e=c.data(a,b,l,!0);d&&(!e||c.isArray(d)?e=c.data(a,b,c.makeArray(d),!0):e.push(d));return e||[]}},dequeue:function(a,b){var b=b||"fx",d=c.queue(a,b),e=d.shift();e==="inprogress"&&(e=d.shift());e&&(b==="fx"&&d.unshift("inprogress"),e.call(a,function(){c.dequeue(a,b)}));d.length||(c.removeData(a,b+"queue",!0),sa(a,b,"queue"))}});c.fn.extend({queue:function(a,b){typeof a!=="string"&&(b=a,a="fx");return b===l?c.queue(this[0],a):this.each(function(){var d=c.queue(this,a,b);a==="fx"&&d[0]!=="inprogress"&&c.dequeue(this,a)})},dequeue:function(a){return this.each(function(){c.dequeue(this,a)})},delay:function(a,b){a=c.fx?c.fx.speeds[a]||a:a;b=b||"fx";return this.queue(b,function(){var d=this;setTimeout(function(){c.dequeue(d,b)},a)})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a){function b(){--g||d.resolveWith(e,[e])}typeof a!=="string"&&(a=l);var a=a||"fx",d=c.Deferred(),e=this,f=e.length,g=1,h=a+"defer",i=a+"queue";a+="mark";for(var j;f--;){if(j=c.data(e[f],h,l,!0)||(c.data(e[f],i,l,!0)||c.data(e[f],a,l,!0))&&c.data(e[f],h,c._Deferred(),!0)){g++,j.done(b)}}b();return d.promise()}});var Ia=/[\n\t\r]/g,la=/\s+/,sb=/\r/g,tb=/^(?:button|input)$/i,ub=/^(?:button|input|object|select|textarea)$/i,vb=/^a(?:rea)?$/i,Ja=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,I,Ka;c.fn.extend({attr:function(a,b){return c.access(this,a,b,!0,c.attr)},removeAttr:function(a){return this.each(function(){c.removeAttr(this,a)})},prop:function(a,b){return c.access(this,a,b,!0,c.prop)},removeProp:function(a){a=c.propFix[a]||a;return this.each(function(){try{this[a]=l,delete this[a]}catch(b){}})},addClass:function(a){var b,d,e,f,g,h,i;if(c.isFunction(a)){return this.each(function(b){c(this).addClass(a.call(this,b,this.className))})}if(a&&typeof a==="string"){b=a.split(la);for(d=0,e=this.length;d<e;d++){if(f=this[d],f.nodeType===1){if(!f.className&&b.length===1){f.className=a}else{g=" "+f.className+" ";for(h=0,i=b.length;h<i;h++){~g.indexOf(" "+b[h]+" ")||(g+=b[h]+" ")}f.className=c.trim(g)}}}}return this},removeClass:function(a){var b,d,e,f,g,h,i;if(c.isFunction(a)){return this.each(function(b){c(this).removeClass(a.call(this,b,this.className))})}if(a&&typeof a==="string"||a===l){b=(a||"").split(la);for(d=0,e=this.length;d<e;d++){if(f=this[d],f.nodeType===1&&f.className){if(a){g=(" "+f.className+" ").replace(Ia," ");for(h=0,i=b.length;h<i;h++){g=g.replace(" "+b[h]+" "," ")}f.className=c.trim(g)}else{f.className=""}}}}return this},toggleClass:function(a,b){var d=typeof a,e=typeof b==="boolean";return c.isFunction(a)?this.each(function(d){c(this).toggleClass(a.call(this,d,this.className,b),b)}):this.each(function(){if(d==="string"){for(var f,g=0,h=c(this),i=b,j=a.split(la);f=j[g++];){i=e?i:!h.hasClass(f),h[i?"addClass":"removeClass"](f)}}else{if(d==="undefined"||d==="boolean"){this.className&&c._data(this,"__className__",this.className),this.className=this.className||a===!1?"":c._data(this,"__className__")||""}}})},hasClass:function(a){for(var a=" "+a+" ",b=0,c=this.length;b<c;b++){if(this[b].nodeType===1&&(" "+this[b].className+" ").replace(Ia," ").indexOf(a)>-1){return !0}}return !1},val:function(a){var b,d,e=this[0];if(!arguments.length){if(e){if((b=c.valHooks[e.nodeName.toLowerCase()]||c.valHooks[e.type])&&"get" in b&&(d=b.get(e,"value"))!==l){return d}d=e.value;return typeof d==="string"?d.replace(sb,""):d==null?"":d}return l}var f=c.isFunction(a);return this.each(function(d){var e=c(this);if(this.nodeType===1&&(d=f?a.call(this,d,e.val()):a,d==null?d="":typeof d==="number"?d+="":c.isArray(d)&&(d=c.map(d,function(a){return a==null?"":a+""})),b=c.valHooks[this.nodeName.toLowerCase()]||c.valHooks[this.type],!b||!("set" in b)||b.set(this,d,"value")===l)){this.value=d}})}});c.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return !b||b.specified?a.value:a.text}},select:{get:function(a){var b,d=a.selectedIndex,e=[],f=a.options,a=a.type==="select-one";if(d<0){return null}for(var g=a?d:0,h=a?d+1:f.length;g<h;g++){if(b=f[g],b.selected&&(c.support.optDisabled?!b.disabled:b.getAttribute("disabled")===null)&&(!b.parentNode.disabled||!c.nodeName(b.parentNode,"optgroup"))){b=c(b).val();if(a){return b}e.push(b)}}return a&&!e.length&&f.length?c(f[d]).val():e},set:function(a,b){var d=c.makeArray(b);c(a).find("option").each(function(){this.selected=c.inArray(c(this).val(),d)>=0});if(!d.length){a.selectedIndex=-1}return d}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attrFix:{tabindex:"tabIndex"},attr:function(a,b,d,e){var f=a.nodeType;if(!a||f===3||f===8||f===2){return l}if(e&&b in c.attrFn){return c(a)[b](d)}if(!("getAttribute" in a)){return c.prop(a,b,d)}var g,h;if(e=f!==1||!c.isXMLDoc(a)){b=c.attrFix[b]||b,(h=c.attrHooks[b])||(Ja.test(b)?h=Ka:I&&(h=I))}return d!==l?d===null?(c.removeAttr(a,b),l):h&&"set" in h&&e&&(g=h.set(a,d,b))!==l?g:(a.setAttribute(b,""+d),d):h&&"get" in h&&e&&(g=h.get(a,b))!==null?g:(g=a.getAttribute(b),g===null?l:g)},removeAttr:function(a,b){var d;if(a.nodeType===1&&(b=c.attrFix[b]||b,c.attr(a,b,""),a.removeAttribute(b),Ja.test(b)&&(d=c.propFix[b]||b) in a)){a[d]=!1}},attrHooks:{type:{set:function(a,b){if(tb.test(a.nodeName)&&a.parentNode){c.error("type property can't be changed")}else{if(!c.support.radioValue&&b==="radio"&&c.nodeName(a,"input")){var d=a.value;a.setAttribute("type",b);if(d){a.value=d}return b}}}},value:{get:function(a,b){return I&&c.nodeName(a,"button")?I.get(a,b):b in a?a.value:null},set:function(a,b,d){if(I&&c.nodeName(a,"button")){return I.set(a,b,d)}a.value=b}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(a,b,d){var e=a.nodeType;if(!a||e===3||e===8||e===2){return l}var f,g;if(e!==1||!c.isXMLDoc(a)){b=c.propFix[b]||b,g=c.propHooks[b]}return d!==l?g&&"set" in g&&(f=g.set(a,d,b))!==l?f:a[b]=d:g&&"get" in g&&(f=g.get(a,b))!==null?f:a[b]},propHooks:{tabIndex:{get:function(a){var b=a.getAttributeNode("tabindex");return b&&b.specified?parseInt(b.value,10):ub.test(a.nodeName)||vb.test(a.nodeName)&&a.href?0:l}}}});c.attrHooks.tabIndex=c.propHooks.tabIndex;Ka={get:function(a,b){var d;return c.prop(a,b)===!0||(d=a.getAttributeNode(b))&&d.nodeValue!==!1?b.toLowerCase():l},set:function(a,b,d){b===!1?c.removeAttr(a,d):(b=c.propFix[d]||d,b in a&&(a[b]=!0),a.setAttribute(d,d.toLowerCase()));return d}};if(!c.support.getSetAttribute){I=c.valHooks.button={get:function(a,b){var c;return(c=a.getAttributeNode(b))&&c.nodeValue!==""?c.nodeValue:l},set:function(a,b,c){var e=a.getAttributeNode(c);e||(e=k.createAttribute(c),a.setAttributeNode(e));return e.nodeValue=b+""}},c.each(["width","height"],function(a,b){c.attrHooks[b]=c.extend(c.attrHooks[b],{set:function(a,c){if(c===""){return a.setAttribute(b,"auto"),c}}})})}c.support.hrefNormalized||c.each(["href","src","width","height"],function(a,b){c.attrHooks[b]=c.extend(c.attrHooks[b],{get:function(a){a=a.getAttribute(b,2);return a===null?l:a}})});if(!c.support.style){c.attrHooks.style={get:function(a){return a.style.cssText.toLowerCase()||l},set:function(a,b){return a.style.cssText=""+b}}}if(!c.support.optSelected){c.propHooks.selected=c.extend(c.propHooks.selected,{get:function(){return null}})}c.support.checkOn||c.each(["radio","checkbox"],function(){c.valHooks[this]={get:function(a){return a.getAttribute("value")===null?"on":a.value}}});c.each(["radio","checkbox"],function(){c.valHooks[this]=c.extend(c.valHooks[this],{set:function(a,b){if(c.isArray(b)){return a.checked=c.inArray(c(a).val(),b)>=0}}})});var da=/\.(.*)$/,ma=/^(?:textarea|input|select)$/i,fb=/\./g,gb=/ /g,wb=/[^\w\s.|`]/g,xb=function(a){return a.replace(wb,"\\$&")};c.event={add:function(a,b,d,e){if(!(a.nodeType===3||a.nodeType===8)){if(d===!1){d=B}else{if(!d){return}}var f,g;if(d.handler){f=d,d=f.handler}if(!d.guid){d.guid=c.guid++}if(g=c._data(a)){var h=g.events,i=g.handle;if(!h){g.events=h={}}if(!i){g.handle=i=function(a){return typeof c!=="undefined"&&(!a||c.event.triggered!==a.type)?c.event.handle.apply(i.elem,arguments):l}}i.elem=a;for(var b=b.split(" "),j,m=0,n;j=b[m++];){g=f?c.extend({},f):{handler:d,data:e};j.indexOf(".")>-1?(n=j.split("."),j=n.shift(),g.namespace=n.slice(0).sort().join(".")):(n=[],g.namespace="");g.type=j;if(!g.guid){g.guid=d.guid}var k=h[j],o=c.event.special[j]||{};if(!k&&(k=h[j]=[],!o.setup||o.setup.call(a,e,n,i)===!1)){a.addEventListener?a.addEventListener(j,i,!1):a.attachEvent&&a.attachEvent("on"+j,i)}if(o.add&&(o.add.call(a,g),!g.handler.guid)){g.handler.guid=d.guid}k.push(g);c.event.global[j]=!0}a=null}}},global:{},remove:function(a,b,d,e){if(!(a.nodeType===3||a.nodeType===8)){d===!1&&(d=B);var f,g,h=0,i,j,m,n,k,o,p=c.hasData(a)&&c._data(a),s=p&&p.events;if(p&&s){if(b&&b.type){d=b.handler,b=b.type}if(!b||typeof b==="string"&&b.charAt(0)==="."){for(f in b=b||"",s){c.event.remove(a,f+b)}}else{for(b=b.split(" ");f=b[h++];){if(n=f,i=f.indexOf(".")<0,j=[],i||(j=f.split("."),f=j.shift(),m=RegExp("(^|\\.)"+c.map(j.slice(0).sort(),xb).join("\\.(?:.*\\.)?")+"(\\.|$)")),k=s[f]){if(d){n=c.event.special[f]||{};for(g=e||0;g<k.length;g++){if(o=k[g],d.guid===o.guid){if(i||m.test(o.namespace)){e==null&&k.splice(g--,1),n.remove&&n.remove.call(a,o)}if(e!=null){break}}}if(k.length===0||e!=null&&k.length===1){(!n.teardown||n.teardown.call(a,j)===!1)&&c.removeEvent(a,f,p.handle),delete s[f]}}else{for(g=0;g<k.length;g++){if(o=k[g],i||m.test(o.namespace)){c.event.remove(a,n,o.handler,g),k.splice(g--,1)}}}}}if(c.isEmptyObject(s)){if(b=p.handle){b.elem=null}delete p.events;delete p.handle;c.isEmptyObject(p)&&c.removeData(a,l,!0)}}}}},customEvent:{getData:!0,setData:!0,changeData:!0},trigger:function(a,b,d,e){var f=a.type||a,g=[],h;f.indexOf("!")>=0&&(f=f.slice(0,-1),h=!0);f.indexOf(".")>=0&&(g=f.split("."),f=g.shift(),g.sort());if(d&&!c.event.customEvent[f]||c.event.global[f]){a=typeof a==="object"?a[c.expando]?a:new c.Event(f,a):new c.Event(f);a.type=f;a.exclusive=h;a.namespace=g.join(".");a.namespace_re=RegExp("(^|\\.)"+g.join("\\.(?:.*\\.)?")+"(\\.|$)");if(e||!d){a.preventDefault(),a.stopPropagation()}if(d){if(!(d.nodeType===3||d.nodeType===8)){a.result=l;a.target=d;b=b!=null?c.makeArray(b):[];b.unshift(a);g=d;e=f.indexOf(":")<0?"on"+f:"";do{h=c._data(g,"handle");a.currentTarget=g;h&&h.apply(g,b);if(e&&c.acceptData(g)&&g[e]&&g[e].apply(g,b)===!1){a.result=!1,a.preventDefault()}g=g.parentNode||g.ownerDocument||g===a.target.ownerDocument&&o}while(g&&!a.isPropagationStopped());if(!a.isDefaultPrevented()){var i,g=c.event.special[f]||{};if((!g._default||g._default.call(d.ownerDocument,a)===!1)&&!(f==="click"&&c.nodeName(d,"a"))&&c.acceptData(d)){try{if(e&&d[f]){(i=d[e])&&(d[e]=null),c.event.triggered=f,d[f]()}}catch(j){}i&&(d[e]=i);c.event.triggered=l}}return a.result}}else{c.each(c.cache,function(){var d=this[c.expando];d&&d.events&&d.events[f]&&c.event.trigger(a,b,d.handle.elem)})}}},handle:function(a){var a=c.event.fix(a||o.event),b=((c._data(this,"events")||{})[a.type]||[]).slice(0),d=!a.exclusive&&!a.namespace,e=Array.prototype.slice.call(arguments,0);e[0]=a;a.currentTarget=this;for(var f=0,g=b.length;f<g;f++){var h=b[f];if(d||a.namespace_re.test(h.namespace)){a.handler=h.handler;a.data=h.data;a.handleObj=h;h=h.handler.apply(this,e);if(h!==l){a.result=h,h===!1&&(a.preventDefault(),a.stopPropagation())}if(a.isImmediatePropagationStopped()){break}}}return a.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(a){if(a[c.expando]){return a}for(var b=a,a=c.Event(b),d=this.props.length,e;d;){e=this.props[--d],a[e]=b[e]}if(!a.target){a.target=a.srcElement||k}if(a.target.nodeType===3){a.target=a.target.parentNode}if(!a.relatedTarget&&a.fromElement){a.relatedTarget=a.fromElement===a.target?a.toElement:a.fromElement}if(a.pageX==null&&a.clientX!=null){d=a.target.ownerDocument||k,b=d.documentElement,d=d.body,a.pageX=a.clientX+(b&&b.scrollLeft||d&&d.scrollLeft||0)-(b&&b.clientLeft||d&&d.clientLeft||0),a.pageY=a.clientY+(b&&b.scrollTop||d&&d.scrollTop||0)-(b&&b.clientTop||d&&d.clientTop||0)}if(a.which==null&&(a.charCode!=null||a.keyCode!=null)){a.which=a.charCode!=null?a.charCode:a.keyCode}if(!a.metaKey&&a.ctrlKey){a.metaKey=a.ctrlKey}if(!a.which&&a.button!==l){a.which=a.button&1?1:a.button&2?3:a.button&4?2:0}return a},guid:100000000,proxy:c.proxy,special:{ready:{setup:c.bindReady,teardown:c.noop},live:{add:function(a){c.event.add(this,V(a.origType,a.selector),c.extend({},a,{handler:eb,guid:a.handler.guid}))},remove:function(a){c.event.remove(this,V(a.origType,a.selector),a)}},beforeunload:{setup:function(a,b,d){if(c.isWindow(this)){this.onbeforeunload=d}},teardown:function(a,b){if(this.onbeforeunload===b){this.onbeforeunload=null}}}}};c.removeEvent=k.removeEventListener?function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)}:function(a,b,c){a.detachEvent&&a.detachEvent("on"+b,c)};c.Event=function(a,b){if(!this.preventDefault){return new c.Event(a,b)}a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||a.returnValue===!1||a.getPreventDefault&&a.getPreventDefault()?Q:B):this.type=a;b&&c.extend(this,b);this.timeStamp=c.now();this[c.expando]=!0};c.Event.prototype={preventDefault:function(){this.isDefaultPrevented=Q;var a=this.originalEvent;if(a){a.preventDefault?a.preventDefault():a.returnValue=!1}},stopPropagation:function(){this.isPropagationStopped=Q;var a=this.originalEvent;if(a){a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=Q;this.stopPropagation()},isDefaultPrevented:B,isPropagationStopped:B,isImmediatePropagationStopped:B};var La=function(a){var b=a.relatedTarget,d=!1,e=a.type;a.type=a.data;if(b!==this&&(b&&(d=c.contains(this,b)),!d)){c.event.handle.apply(this,arguments),a.type=e}},Ma=function(a){a.type=a.data;c.event.handle.apply(this,arguments)};c.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){c.event.special[a]={setup:function(d){c.event.add(this,b,d&&d.selector?Ma:La,a)},teardown:function(a){c.event.remove(this,b,a&&a.selector?Ma:La)}}});if(!c.support.submitBubbles){c.event.special.submit={setup:function(){if(c.nodeName(this,"form")){return !1}else{c.event.add(this,"click.specialSubmit",function(a){var b=a.target,d=c.nodeName(b,"input")?b.type:"";(d==="submit"||d==="image")&&c(b).closest("form").length&&ta("submit",this,arguments)}),c.event.add(this,"keypress.specialSubmit",function(a){var b=a.target,d=c.nodeName(b,"input")?b.type:"";(d==="text"||d==="password")&&c(b).closest("form").length&&a.keyCode===13&&ta("submit",this,arguments)})}},teardown:function(){c.event.remove(this,".specialSubmit")}}}if(!c.support.changeBubbles){var K,Na=function(a){var b=c.nodeName(a,"input")?a.type:"",d=a.value;if(b==="radio"||b==="checkbox"){d=a.checked}else{if(b==="select-multiple"){d=a.selectedIndex>-1?c.map(a.options,function(a){return a.selected}).join("-"):""}else{if(c.nodeName(a,"select")){d=a.selectedIndex}}}return d},$=function(a,b){var d=a.target,e,f;if(ma.test(d.nodeName)&&!d.readOnly&&(e=c._data(d,"_change_data"),f=Na(d),(a.type!=="focusout"||d.type!=="radio")&&c._data(d,"_change_data",f),!(e===l||f===e))){if(e!=null||f){a.type="change",a.liveFired=l,c.event.trigger(a,b,d)}}};c.event.special.change={filters:{focusout:$,beforedeactivate:$,click:function(a){var b=a.target,d=c.nodeName(b,"input")?b.type:"";(d==="radio"||d==="checkbox"||c.nodeName(b,"select"))&&$.call(this,a)},keydown:function(a){var b=a.target,d=c.nodeName(b,"input")?b.type:"";(a.keyCode===13&&!c.nodeName(b,"textarea")||a.keyCode===32&&(d==="checkbox"||d==="radio")||d==="select-multiple")&&$.call(this,a)},beforeactivate:function(a){a=a.target;c._data(a,"_change_data",Na(a))}},setup:function(){if(this.type==="file"){return !1}for(var a in K){c.event.add(this,a+".specialChange",K[a])}return ma.test(this.nodeName)},teardown:function(){c.event.remove(this,".specialChange");return ma.test(this.nodeName)}};K=c.event.special.change.filters;K.focus=K.beforeactivate}c.support.focusinBubbles||c.each({focus:"focusin",blur:"focusout"},function(a,b){function d(a){var d=c.event.fix(a);d.type=b;d.originalEvent={};c.event.trigger(d,null,d.target);d.isDefaultPrevented()&&a.preventDefault()}var e=0;c.event.special[b]={setup:function(){e++===0&&k.addEventListener(a,d,!0)},teardown:function(){--e===0&&k.removeEventListener(a,d,!0)}}});c.each(["bind","one"],function(a,b){c.fn[b]=function(a,e,f){var g;if(typeof a==="object"){for(var h in a){this[b](h,e,a[h],f)}return this}if(arguments.length===2||e===!1){f=e,e=l}b==="one"?(g=function(a){c(this).unbind(a,g);return f.apply(this,arguments)},g.guid=f.guid||c.guid++):g=f;if(a==="unload"&&b!=="one"){this.one(a,e,f)}else{h=0;for(var i=this.length;h<i;h++){c.event.add(this[h],a,g,e)}}return this}});c.fn.extend({unbind:function(a,b){if(typeof a==="object"&&!a.preventDefault){for(var d in a){this.unbind(d,a[d])}}else{d=0;for(var e=this.length;d<e;d++){c.event.remove(this[d],a,b)}}return this},delegate:function(a,b,c,e){return this.live(b,c,e,a)},undelegate:function(a,b,c){return arguments.length===0?this.unbind("live"):this.die(b,null,c,a)},trigger:function(a,b){return this.each(function(){c.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0]){return c.event.trigger(a,b,this[0],!0)}},toggle:function(a){var b=arguments,d=a.guid||c.guid++,e=0,f=function(d){var f=(c.data(this,"lastToggle"+a.guid)||0)%e;c.data(this,"lastToggle"+a.guid,f+1);d.preventDefault();return b[f].apply(this,arguments)||!1};for(f.guid=d;e<b.length;){b[e++].guid=d}return this.click(f)},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});var na={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};c.each(["live","die"],function(a,b){c.fn[b]=function(a,e,f,g){var h=0,i,j,m=g||this.selector,n=g?this:c(this.context);if(typeof a==="object"&&!a.preventDefault){for(i in a){n[b](i,e,a[i],m)}return this}if(b==="die"&&!a&&g&&g.charAt(0)==="."){return n.unbind(g),this}if(e===!1||c.isFunction(e)){f=e||B,e=l}for(a=(a||"").split(" ");(g=a[h++])!=null;){if(i=da.exec(g),j="",i&&(j=i[0],g=g.replace(da,"")),g==="hover"){a.push("mouseenter"+j,"mouseleave"+j)}else{if(i=g,na[g]?(a.push(na[g]+j),g+=j):g=(na[g]||g)+j,b==="live"){j=0;for(var k=n.length;j<k;j++){c.event.add(n[j],"live."+V(g,m),{data:e,selector:m,handler:f,origType:g,origHandler:f,preType:i})}}else{n.unbind("live."+V(g,m),f)}}}return this}});c.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error".split(" "),function(a,b){c.fn[b]=function(a,c){c==null&&(c=a,a=null);return arguments.length>0?this.bind(b,a,c):this.trigger(b)};c.attrFn&&(c.attrFn[b]=!0)});(function(){function a(a,b,c,d,e,f){for(var e=0,g=d.length;e<g;e++){var h=d[e];if(h){for(var i=!1,h=h[a];h;){if(h.sizcache===c){i=d[h.sizset];break}if(h.nodeType===1&&!f){h.sizcache=c,h.sizset=e}if(h.nodeName.toLowerCase()===b){i=h;break}h=h[a]}d[e]=i}}}function b(a,b,c,d,e,f){for(var e=0,g=d.length;e<g;e++){var h=d[e];if(h){for(var i=!1,h=h[a];h;){if(h.sizcache===c){i=d[h.sizset];break}if(h.nodeType===1){if(!f){h.sizcache=c,h.sizset=e}if(typeof b!=="string"){if(h===b){i=!0;break}}else{if(m.filter(b,[h]).length>0){i=h;break}}}h=h[a]}d[e]=i}}}var d=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,e=0,f=Object.prototype.toString,g=!1,h=!0,i=/\\/g,j=/\W/;[0,0].sort(function(){h=!1;return 0});var m=function(a,b,c,e){var c=c||[],g=b=b||k;if(b.nodeType!==1&&b.nodeType!==9){return[]}if(!a||typeof a!=="string"){return c}var h,i,j,l,p,U=!0,O=m.isXML(b),r=[],C=a;do{if(d.exec(""),h=d.exec(C)){if(C=h[3],r.push(h[1]),h[2]){l=h[3];break}}}while(h);if(r.length>1&&o.exec(a)){if(r.length===2&&n.relative[r[0]]){i=u(r[0]+r[1],b)}else{for(i=n.relative[r[0]]?[b]:m(r.shift(),b);r.length;){a=r.shift(),n.relative[a]&&(a+=r.shift()),i=u(a,i)}}}else{if(!e&&r.length>1&&b.nodeType===9&&!O&&n.match.ID.test(r[0])&&!n.match.ID.test(r[r.length-1])&&(h=m.find(r.shift(),b,O),b=h.expr?m.filter(h.expr,h.set)[0]:h.set[0]),b){h=e?{expr:r.pop(),set:s(e)}:m.find(r.pop(),r.length===1&&(r[0]==="~"||r[0]==="+")&&b.parentNode?b.parentNode:b,O);i=h.expr?m.filter(h.expr,h.set):h.set;for(r.length>0?j=s(i):U=!1;r.length;){h=p=r.pop(),n.relative[p]?h=r.pop():p="",h==null&&(h=b),n.relative[p](j,h,O)}}else{j=[]}}j||(j=i);j||m.error(p||a);if(f.call(j)==="[object Array]"){if(U){if(b&&b.nodeType===1){for(a=0;j[a]!=null;a++){j[a]&&(j[a]===!0||j[a].nodeType===1&&m.contains(b,j[a]))&&c.push(i[a])}}else{for(a=0;j[a]!=null;a++){j[a]&&j[a].nodeType===1&&c.push(i[a])}}}else{c.push.apply(c,j)}}else{s(j,c)}l&&(m(l,g,c,e),m.uniqueSort(c));return c};m.uniqueSort=function(a){if(v&&(g=h,a.sort(v),g)){for(var b=1;b<a.length;b++){a[b]===a[b-1]&&a.splice(b--,1)}}return a};m.matches=function(a,b){return m(a,null,null,b)};m.matchesSelector=function(a,b){return m(b,null,null,[a]).length>0};m.find=function(a,b,c){var d;if(!a){return[]}for(var e=0,f=n.order.length;e<f;e++){var g,h=n.order[e];if(g=n.leftMatch[h].exec(a)){var j=g[1];g.splice(1,1);if(j.substr(j.length-1)!=="\\"&&(g[1]=(g[1]||"").replace(i,""),d=n.find[h](g,b,c),d!=null)){a=a.replace(n.match[h],"");break}}}d||(d=typeof b.getElementsByTagName!=="undefined"?b.getElementsByTagName("*"):[]);return{set:d,expr:a}};m.filter=function(a,b,c,d){for(var e,f,g=a,h=[],i=b,j=b&&b[0]&&m.isXML(b[0]);a&&b.length;){for(var k in n.filter){if((e=n.leftMatch[k].exec(a))!=null&&e[2]){var o,r,p=n.filter[k];r=e[1];f=!1;e.splice(1,1);if(r.substr(r.length-1)!=="\\"){i===h&&(h=[]);if(n.preFilter[k]){if(e=n.preFilter[k](e,i,c,h,d,j)){if(e===!0){continue}}else{f=o=!0}}if(e){for(var s=0;(r=i[s])!=null;s++){if(r){o=p(r,e,s,i);var C=d^!!o;c&&o!=null?C?f=!0:i[s]=!1:C&&(h.push(r),f=!0)}}}if(o!==l){c||(i=h);a=a.replace(n.match[k],"");if(!f){return[]}break}}}}if(a===g){if(f==null){m.error(a)}else{break}}g=a}return i};m.error=function(a){throw"Syntax error, unrecognized expression: "+a};var n=m.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(a){return a.getAttribute("href")},type:function(a){return a.getAttribute("type")}},relative:{"+":function(a,b){var c=typeof b==="string",d=c&&!j.test(b),c=c&&!d;d&&(b=b.toLowerCase());for(var d=0,e=a.length,f;d<e;d++){if(f=a[d]){for(;(f=f.previousSibling)&&f.nodeType!==1;){}a[d]=c||f&&f.nodeName.toLowerCase()===b?f||!1:f===b}}c&&m.filter(b,a,!0)},">":function(a,b){var c,d=typeof b==="string",e=0,f=a.length;if(d&&!j.test(b)){for(b=b.toLowerCase();e<f;e++){if(c=a[e]){c=c.parentNode,a[e]=c.nodeName.toLowerCase()===b?c:!1}}}else{for(;e<f;e++){(c=a[e])&&(a[e]=d?c.parentNode:c.parentNode===b)}d&&m.filter(b,a,!0)}},"":function(c,d,f){var g,h=e++,i=b;typeof d==="string"&&!j.test(d)&&(g=d=d.toLowerCase(),i=a);i("parentNode",d,h,c,g,f)},"~":function(c,d,f){var g,h=e++,i=b;typeof d==="string"&&!j.test(d)&&(g=d=d.toLowerCase(),i=a);i("previousSibling",d,h,c,g,f)}},find:{ID:function(a,b,c){if(typeof b.getElementById!=="undefined"&&!c){return(a=b.getElementById(a[1]))&&a.parentNode?[a]:[]}},NAME:function(a,b){if(typeof b.getElementsByName!=="undefined"){for(var c=[],d=b.getElementsByName(a[1]),e=0,f=d.length;e<f;e++){d[e].getAttribute("name")===a[1]&&c.push(d[e])}return c.length===0?null:c}},TAG:function(a,b){if(typeof b.getElementsByTagName!=="undefined"){return b.getElementsByTagName(a[1])}}},preFilter:{CLASS:function(a,b,c,d,e,f){a=" "+a[1].replace(i,"")+" ";if(f){return a}for(var f=0,g;(g=b[f])!=null;f++){g&&(e^(g.className&&(" "+g.className+" ").replace(/[\t\n\r]/g," ").indexOf(a)>=0)?c||d.push(g):c&&(b[f]=!1))}return !1},ID:function(a){return a[1].replace(i,"")},TAG:function(a){return a[1].replace(i,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||m.error(a[0]);a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0;a[3]=b[3]-0}else{a[2]&&m.error(a[0])}a[0]=e++;return a},ATTR:function(a,b,c,d,e,f){b=a[1]=a[1].replace(i,"");!f&&n.attrMap[b]&&(a[1]=n.attrMap[b]);a[4]=(a[4]||a[5]||"").replace(i,"");a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(a,b,c,e,f){if(a[1]==="not"){if((d.exec(a[3])||"").length>1||/^\w/.test(a[3])){a[3]=m(a[3],null,null,b)}else{return a=m.filter(a[3],b,c,1^f),c||e.push.apply(e,a),!1}}else{if(n.match.POS.test(a[0])||n.match.CHILD.test(a[0])){return !0}}return a},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){return a.selected===!0},parent:function(a){return !!a.firstChild},empty:function(a){return !a.firstChild},has:function(a,b,c){return !!m(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){var b=a.getAttribute("type"),c=a.type;return a.nodeName.toLowerCase()==="input"&&"text"===c&&(b===c||b===null)},radio:function(a){return a.nodeName.toLowerCase()==="input"&&"radio"===a.type},checkbox:function(a){return a.nodeName.toLowerCase()==="input"&&"checkbox"===a.type},file:function(a){return a.nodeName.toLowerCase()==="input"&&"file"===a.type},password:function(a){return a.nodeName.toLowerCase()==="input"&&"password"===a.type},submit:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"submit"===a.type},image:function(a){return a.nodeName.toLowerCase()==="input"&&"image"===a.type},reset:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"reset"===a.type},button:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&"button"===a.type||b==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)},focus:function(a){return a===a.ownerDocument.activeElement}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return b<c[3]-0},gt:function(a,b,c){return b>c[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(a,b,c,d){var e=b[1],f=n.filters[e];if(f){return f(a,c,b,d)}else{if(e==="contains"){return(a.textContent||a.innerText||m.getText([a])||"").indexOf(b[3])>=0}else{if(e==="not"){b=b[3];c=0;for(d=b.length;c<d;c++){if(b[c]===a){return !1}}return !0}else{m.error(e)}}}},CHILD:function(a,b){var c=b[1],d=a;switch(c){case"only":case"first":for(;d=d.previousSibling;){if(d.nodeType===1){return !1}}if(c==="first"){return !0}d=a;case"last":for(;d=d.nextSibling;){if(d.nodeType===1){return !1}}return !0;case"nth":var c=b[2],e=b[3];if(c===1&&e===0){return !0}var f=b[0],g=a.parentNode;if(g&&(g.sizcache!==f||!a.nodeIndex)){for(var h=0,d=g.firstChild;d;d=d.nextSibling){if(d.nodeType===1){d.nodeIndex=++h}}g.sizcache=f}d=a.nodeIndex-e;return c===0?d===0:d%c===0&&d/c>=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(a,b){var c=b[1],c=n.attrHandle[c]?n.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),d=c+"",e=b[2],f=b[4];return c==null?e==="!=":e==="="?d===f:e==="*="?d.indexOf(f)>=0:e==="~="?(" "+d+" ").indexOf(f)>=0:!f?d&&c!==!1:e==="!="?d!==f:e==="^="?d.indexOf(f)===0:e==="$="?d.substr(d.length-f.length)===f:e==="|="?d===f||d.substr(0,f.length+1)===f+"-":!1},POS:function(a,b,c,d){var e=n.setFilters[b[2]];if(e){return e(a,c,b,d)}}}},o=n.match.POS,C=function(a,b){return"\\"+(b-0+1)},p;for(p in n.match){n.match[p]=RegExp(n.match[p].source+/(?![^\[]*\])(?![^\(]*\))/.source),n.leftMatch[p]=RegExp(/(^(?:.|\r|\n)*?)/.source+n.match[p].source.replace(/\\(\d+)/g,C))}var s=function(a,b){a=Array.prototype.slice.call(a,0);return b?(b.push.apply(b,a),b):a};try{Array.prototype.slice.call(k.documentElement.childNodes,0)}catch(w){s=function(a,b){var c=0,d=b||[];if(f.call(a)==="[object Array]"){Array.prototype.push.apply(d,a)}else{if(typeof a.length==="number"){for(var e=a.length;c<e;c++){d.push(a[c])}}else{for(;a[c];c++){d.push(a[c])}}}return d}}var v,x;k.documentElement.compareDocumentPosition?v=function(a,b){return a===b?(g=!0,0):!a.compareDocumentPosition||!b.compareDocumentPosition?a.compareDocumentPosition?-1:1:a.compareDocumentPosition(b)&4?-1:1}:(v=function(a,b){if(a===b){return g=!0,0}else{if(a.sourceIndex&&b.sourceIndex){return a.sourceIndex-b.sourceIndex}}var c,d,e=[],f=[];c=a.parentNode;d=b.parentNode;var h=c;if(c===d){return x(a,b)}else{if(c){if(!d){return 1}}else{return -1}}for(;h;){e.unshift(h),h=h.parentNode}for(h=d;h;){f.unshift(h),h=h.parentNode}c=e.length;d=f.length;for(h=0;h<c&&h<d;h++){if(e[h]!==f[h]){return x(e[h],f[h])}}return h===c?x(a,f[h],-1):x(e[h],b,1)},x=function(a,b,c){if(a===b){return c}for(a=a.nextSibling;a;){if(a===b){return -1}a=a.nextSibling}return 1});m.getText=function(a){for(var b="",c,d=0;a[d];d++){c=a[d],c.nodeType===3||c.nodeType===4?b+=c.nodeValue:c.nodeType!==8&&(b+=m.getText(c.childNodes))}return b};(function(){var a=k.createElement("div"),b="script"+(new Date).getTime(),c=k.documentElement;a.innerHTML="<a name='"+b+"'/>";c.insertBefore(a,c.firstChild);if(k.getElementById(b)){n.find.ID=function(a,b,c){if(typeof b.getElementById!=="undefined"&&!c){return(b=b.getElementById(a[1]))?b.id===a[1]||typeof b.getAttributeNode!=="undefined"&&b.getAttributeNode("id").nodeValue===a[1]?[b]:l:[]}},n.filter.ID=function(a,b){var c=typeof a.getAttributeNode!=="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b}}c.removeChild(a);c=a=null})();(function(){var a=k.createElement("div");a.appendChild(k.createComment(""));if(a.getElementsByTagName("*").length>0){n.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);if(a[1]==="*"){for(var d=[],e=0;c[e];e++){c[e].nodeType===1&&d.push(c[e])}c=d}return c}}a.innerHTML="<a href='#'></a>";if(a.firstChild&&typeof a.firstChild.getAttribute!=="undefined"&&a.firstChild.getAttribute("href")!=="#"){n.attrHandle.href=function(a){return a.getAttribute("href",2)}}a=null})();k.querySelectorAll&&function(){var a=m,b=k.createElement("div");b.innerHTML="<p class='TEST'></p>";if(!(b.querySelectorAll&&b.querySelectorAll(".TEST").length===0)){m=function(b,c,d,e){c=c||k;if(!e&&!m.isXML(c)){var f=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(f&&(c.nodeType===1||c.nodeType===9)){if(f[1]){return s(c.getElementsByTagName(b),d)}else{if(f[2]&&n.find.CLASS&&c.getElementsByClassName){return s(c.getElementsByClassName(f[2]),d)}}}if(c.nodeType===9){if(b==="body"&&c.body){return s([c.body],d)}else{if(f&&f[3]){var g=c.getElementById(f[3]);if(g&&g.parentNode){if(g.id===f[3]){return s([g],d)}}else{return s([],d)}}}try{return s(c.querySelectorAll(b),d)}catch(h){}}else{if(c.nodeType===1&&c.nodeName.toLowerCase()!=="object"){var f=c,i=(g=c.getAttribute("id"))||"__sizzle__",j=c.parentNode,l=/^\s*[+~]/.test(b);g?i=i.replace(/'/g,"\\$&"):c.setAttribute("id",i);if(l&&j){c=c.parentNode}try{if(!l||j){return s(c.querySelectorAll("[id='"+i+"'] "+b),d)}}catch(q){}finally{g||f.removeAttribute("id")}}}}return a(b,c,d,e)};for(var c in a){m[c]=a[c]}b=null}}();(function(){var a=k.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector;if(b){var c=!b.call(k.createElement("div"),"div"),d=!1;try{b.call(k.documentElement,"[test!='']:sizzle")}catch(e){d=!0}m.matchesSelector=function(a,e){e=e.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!m.isXML(a)){try{if(d||!n.match.PSEUDO.test(e)&&!/!=/.test(e)){var f=b.call(a,e);if(f||!c||a.document&&a.document.nodeType!==11){return f}}}catch(g){}}return m(e,null,null,[a]).length>0}}})();(function(){var a=k.createElement("div");a.innerHTML="<div class='test e'></div><div class='test'></div>";if(a.getElementsByClassName&&a.getElementsByClassName("e").length!==0&&(a.lastChild.className="e",a.getElementsByClassName("e").length!==1)){n.order.splice(1,0,"CLASS"),n.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!=="undefined"&&!c){return b.getElementsByClassName(a[1])}},a=null}})();m.contains=k.documentElement.contains?function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:k.documentElement.compareDocumentPosition?function(a,b){return !!(a.compareDocumentPosition(b)&16)}:function(){return !1};m.isXML=function(a){return(a=(a?a.ownerDocument||a:0).documentElement)?a.nodeName!=="HTML":!1};var u=function(a,b){for(var c,d=[],e="",f=b.nodeType?[b]:b;c=n.match.PSEUDO.exec(a);){e+=c[0],a=a.replace(n.match.PSEUDO,"")}a=n.relative[a]?a+"*":a;c=0;for(var g=f.length;c<g;c++){m(a,f[c],d)}return m.filter(e,d)};c.find=m;c.expr=m.selectors;c.expr[":"]=c.expr.filters;c.unique=m.uniqueSort;c.text=m.getText;c.isXMLDoc=m.isXML;c.contains=m.contains})();var yb=/Until$/,zb=/^(?:parents|prevUntil|prevAll)/,Ab=/,/,hb=/^.[^:#\[\.,]*$/,Bb=Array.prototype.slice,Oa=c.expr.match.POS,Cb={children:!0,contents:!0,next:!0,prev:!0};c.fn.extend({find:function(a){var b=this,d,e;if(typeof a!=="string"){return c(a).filter(function(){for(d=0,e=b.length;d<e;d++){if(c.contains(b[d],this)){return !0}}})}var f=this.pushStack("","find",a),g,h,i;for(d=0,e=this.length;d<e;d++){if(g=f.length,c.find(a,this[d],f),d>0){for(h=g;h<f.length;h++){for(i=0;i<g;i++){if(f[i]===f[h]){f.splice(h--,1);break}}}}}return f},has:function(a){var b=c(a);return this.filter(function(){for(var a=0,e=b.length;a<e;a++){if(c.contains(this,b[a])){return !0}}})},not:function(a){return this.pushStack(ua(this,a,!1),"not",a)},filter:function(a){return this.pushStack(ua(this,a,!0),"filter",a)},is:function(a){return !!a&&(typeof a==="string"?c.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,b){var d=[],e,f,g=this[0];if(c.isArray(a)){var h,i={},j=1;if(g&&a.length){for(e=0,f=a.length;e<f;e++){h=a[e],i[h]||(i[h]=Oa.test(h)?c(h,b||this.context):h)}for(;g&&g.ownerDocument&&g!==b;){for(h in i){e=i[h],(e.jQueryBS?e.index(g)>-1:c(g).is(e))&&d.push({selector:h,elem:g,level:j})}g=g.parentNode;j++}}return d}h=Oa.test(a)||typeof a!=="string"?c(a,b||this.context):0;for(e=0,f=this.length;e<f;e++){for(g=this[e];g;){if(h?h.index(g)>-1:c.find.matchesSelector(g,a)){d.push(g);break}else{if(g=g.parentNode,!g||!g.ownerDocument||g===b||g.nodeType===11){break}}}}d=d.length>1?c.unique(d):d;return this.pushStack(d,"closest",a)},index:function(a){return !a?this[0]&&this[0].parentNode?this.prevAll().length:-1:typeof a==="string"?c.inArray(this[0],c(a)):c.inArray(a.jQueryBS?a[0]:a,this)},add:function(a,b){var d=typeof a==="string"?c(a,b):c.makeArray(a&&a.nodeType?[a]:a),e=c.merge(this.get(),d);return this.pushStack(!d[0]||!d[0].parentNode||d[0].parentNode.nodeType===11||!e[0]||!e[0].parentNode||e[0].parentNode.nodeType===11?e:c.unique(e))},andSelf:function(){return this.add(this.prevObject)}});c.each({parent:function(a){return(a=a.parentNode)&&a.nodeType!==11?a:null},parents:function(a){return c.dir(a,"parentNode")},parentsUntil:function(a,b,d){return c.dir(a,"parentNode",d)},next:function(a){return c.nth(a,2,"nextSibling")},prev:function(a){return c.nth(a,2,"previousSibling")},nextAll:function(a){return c.dir(a,"nextSibling")},prevAll:function(a){return c.dir(a,"previousSibling")},nextUntil:function(a,b,d){return c.dir(a,"nextSibling",d)},prevUntil:function(a,b,d){return c.dir(a,"previousSibling",d)},siblings:function(a){return c.sibling(a.parentNode.firstChild,a)},children:function(a){return c.sibling(a.firstChild)},contents:function(a){return c.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:c.makeArray(a.childNodes)}},function(a,b){c.fn[a]=function(d,e){var f=c.map(this,b,d),g=Bb.call(arguments);yb.test(a)||(e=d);e&&typeof e==="string"&&(f=c.filter(e,f));f=this.length>1&&!Cb[a]?c.unique(f):f;if((this.length>1||Ab.test(e))&&zb.test(a)){f=f.reverse()}return this.pushStack(f,a,g.join(","))}});c.extend({filter:function(a,b,d){d&&(a=":not("+a+")");return b.length===1?c.find.matchesSelector(b[0],a)?[b[0]]:[]:c.find.matches(a,b)},dir:function(a,b,d){for(var e=[],a=a[b];a&&a.nodeType!==9&&(d===l||a.nodeType!==1||!c(a).is(d));){a.nodeType===1&&e.push(a),a=a[b]}return e},nth:function(a,b,c){for(var b=b||1,e=0;a;a=a[c]){if(a.nodeType===1&&++e===b){break}}return a},sibling:function(a,b){for(var c=[];a;a=a.nextSibling){a.nodeType===1&&a!==b&&c.push(a)}return c}});var Db=/ jQueryBS\d+="(?:\d+|null)"/g,oa=/^\s+/,Pa=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,Qa=/<([\w:]+)/,Eb=/<tbody/i,Fb=/<|&#?\w+;/,Ra=/<(?:script|object|embed|option|style)/i,Sa=/checked\s*(?:[^=]|=\s*.checked.)/i,Gb=/\/(java|ecma)script/i,jb=/^\s*<!(?:\[CDATA\[|\-\-)/,w={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,"",""]};w.optgroup=w.option;w.tbody=w.tfoot=w.colgroup=w.caption=w.thead;w.th=w.td;if(!c.support.htmlSerialize){w._default=[1,"div<div>","</div>"]}c.fn.extend({text:function(a){return c.isFunction(a)?this.each(function(b){var d=c(this);d.text(a.call(this,b,d.text()))}):typeof a!=="object"&&a!==l?this.empty().append((this[0]&&this[0].ownerDocument||k).createTextNode(a)):c.text(this)},wrapAll:function(a){if(c.isFunction(a)){return this.each(function(b){c(this).wrapAll(a.call(this,b))})}if(this[0]){var b=c(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]);b.map(function(){for(var a=this;a.firstChild&&a.firstChild.nodeType===1;){a=a.firstChild}return a}).append(this)}return this},wrapInner:function(a){return c.isFunction(a)?this.each(function(b){c(this).wrapInner(a.call(this,b))}):this.each(function(){var b=c(this),d=b.contents();d.length?d.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){c(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){c.nodeName(this,"body")||c(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)})}else{if(arguments.length){var a=c(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}}},after:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)})}else{if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,c(arguments[0]).toArray());return a}}},remove:function(a,b){for(var d=0,e;(e=this[d])!=null;d++){if(!a||c.filter(a,[e]).length){!b&&e.nodeType===1&&(c.cleanData(e.getElementsByTagName("*")),c.cleanData([e])),e.parentNode&&e.parentNode.removeChild(e)}}return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++){for(b.nodeType===1&&c.cleanData(b.getElementsByTagName("*"));b.firstChild;){b.removeChild(b.firstChild)}}return this},clone:function(a,b){a=a==null?!1:a;b=b==null?a:b;return this.map(function(){return c.clone(this,a,b)})},html:function(a){if(a===l){return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(Db,""):null}else{if(typeof a==="string"&&!Ra.test(a)&&(c.support.leadingWhitespace||!oa.test(a))&&!w[(Qa.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Pa,"<$1></$2>");try{for(var b=0,d=this.length;b<d;b++){if(this[b].nodeType===1){c.cleanData(this[b].getElementsByTagName("*")),this[b].innerHTML=a}}}catch(e){this.empty().append(a)}}else{c.isFunction(a)?this.each(function(b){var d=c(this);d.html(a.call(this,b,d.html()))}):this.empty().append(a)}}return this},replaceWith:function(a){if(this[0]&&this[0].parentNode){if(c.isFunction(a)){return this.each(function(b){var d=c(this),e=d.html();d.replaceWith(a.call(this,b,e))})}typeof a!=="string"&&(a=c(a).detach());return this.each(function(){var b=this.nextSibling,d=this.parentNode;c(this).remove();b?c(b).before(a):c(d).append(a)})}else{return this.length?this.pushStack(c(c.isFunction(a)?a():a),"replaceWith",a):this}},detach:function(a){return this.remove(a,!0)},domManip:function(a,b,d){var e,f,g,h=a[0],i=[];if(!c.support.checkClone&&arguments.length===3&&typeof h==="string"&&Sa.test(h)){return this.each(function(){c(this).domManip(a,b,d,!0)})}if(c.isFunction(h)){return this.each(function(e){var f=c(this);a[0]=h.call(this,e,b?f.html():l);f.domManip(a,b,d)})}if(this[0]){e=h&&h.parentNode;e=c.support.parentNode&&e&&e.nodeType===11&&e.childNodes.length===this.length?{fragment:e}:c.buildFragment(a,this,i);g=e.fragment;if(f=g.childNodes.length===1?g=g.firstChild:g.firstChild){b=b&&c.nodeName(f,"tr");f=0;for(var j=this.length,m=j-1;f<j;f++){d.call(b?c.nodeName(this[f],"table")?this[f].getElementsByTagName("tbody")[0]||this[f].appendChild(this[f].ownerDocument.createElement("tbody")):this[f]:this[f],e.cacheable||j>1&&f<m?c.clone(g,!0,!0):g)}}i.length&&c.each(i,ib)}return this}});c.buildFragment=function(a,b,d){var e,f,g,h;b&&b[0]&&(h=b[0].ownerDocument||b[0]);h.createDocumentFragment||(h=k);if(a.length===1&&typeof a[0]==="string"&&a[0].length<512&&h===k&&a[0].charAt(0)==="<"&&!Ra.test(a[0])&&(c.support.checkClone||!Sa.test(a[0]))){f=!0,(g=c.fragments[a[0]])&&g!==1&&(e=g)}e||(e=h.createDocumentFragment(),c.clean(a,h,e,d));f&&(c.fragments[a[0]]=g?e:1);return{fragment:e,cacheable:f}};c.fragments={};c.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){c.fn[a]=function(d){var e=[],d=c(d),f=this.length===1&&this[0].parentNode;if(f&&f.nodeType===11&&f.childNodes.length===1&&d.length===1){return d[b](this[0]),this}else{for(var f=0,g=d.length;f<g;f++){var h=(f>0?this.clone(!0):this).get();c(d[f])[b](h);e=e.concat(h)}return this.pushStack(e,a,d.selector)}}});c.extend({clone:function(a,b,d){var e=a.cloneNode(!0),f,g,h;if((!c.support.noCloneEvent||!c.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!c.isXMLDoc(a)){wa(a,e);f=W(a);g=W(e);for(h=0;f[h];++h){g[h]&&wa(f[h],g[h])}}if(b&&(va(a,e),d)){f=W(a);g=W(e);for(h=0;f[h];++h){va(f[h],g[h])}}return e},clean:function(a,b,d,e){b=b||k;typeof b.createElement==="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||k);for(var f=[],g,h=0,i;(i=a[h])!=null;h++){if(typeof i==="number"&&(i+=""),i){if(typeof i==="string"){if(Fb.test(i)){i=i.replace(Pa,"<$1></$2>");g=(Qa.exec(i)||["",""])[1].toLowerCase();var j=w[g]||w._default,m=j[0],l=b.createElement("div");for(l.innerHTML=j[1]+i+j[2];m--;){l=l.lastChild}if(!c.support.tbody){m=Eb.test(i);j=g==="table"&&!m?l.firstChild&&l.firstChild.childNodes:j[1]==="<table>"&&!m?l.childNodes:[];for(g=j.length-1;g>=0;--g){c.nodeName(j[g],"tbody")&&!j[g].childNodes.length&&j[g].parentNode.removeChild(j[g])}}!c.support.leadingWhitespace&&oa.test(i)&&l.insertBefore(b.createTextNode(oa.exec(i)[0]),l.firstChild);i=l.childNodes}else{i=b.createTextNode(i)}}var o;if(!c.support.appendChecked){if(i[0]&&typeof(o=i.length)==="number"){for(g=0;g<o;g++){ya(i[g])}}else{ya(i)}}i.nodeType?f.push(i):f=c.merge(f,i)}}if(d){a=function(a){return !a.type||Gb.test(a.type)};for(h=0;f[h];h++){e&&c.nodeName(f[h],"script")&&(!f[h].type||f[h].type.toLowerCase()==="text/javascript")?e.push(f[h].parentNode?f[h].parentNode.removeChild(f[h]):f[h]):(f[h].nodeType===1&&(b=c.grep(f[h].getElementsByTagName("script"),a),f.splice.apply(f,[h+1,0].concat(b))),d.appendChild(f[h]))}}return f},cleanData:function(a){for(var b,d,e=c.cache,f=c.expando,g=c.event.special,h=c.support.deleteExpando,i=0,j;(j=a[i])!=null;i++){if(!j.nodeName||!c.noData[j.nodeName.toLowerCase()]){if(d=j[c.expando]){if((b=e[d]&&e[d][f])&&b.events){for(var m in b.events){g[m]?c.event.remove(j,m):c.removeEvent(j,m,b.handle)}if(b.handle){b.handle.elem=null}}h?delete j[c.expando]:j.removeAttribute&&j.removeAttribute(c.expando);delete e[d]}}}}});var pa=/alpha\([^)]*\)/i,Hb=/opacity=([^)]*)/,Ib=/([A-Z]|^ms)/g,Ta=/^-?\d+(?:px)?$/i,Jb=/^-?\d/,Kb=/^([\-+])=([\-+.\de]+)/,Lb={position:"absolute",visibility:"hidden",display:"block"},kb=["Left","Right"],lb=["Top","Bottom"],G,Ua,Va;c.fn.css=function(a,b){return arguments.length===2&&b===l?this:c.access(this,a,b,!0,function(a,b,f){return f!==l?c.style(a,b,f):c.css(a,b)})};c.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=G(a,"opacity","opacity");return c===""?"1":c}else{return a.style.opacity}}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":c.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,b,d,e){if(a&&!(a.nodeType===3||a.nodeType===8||!a.style)){var f,g=c.camelCase(b),h=a.style,i=c.cssHooks[g],b=c.cssProps[g]||g;if(d!==l){e=typeof d;if(e==="string"&&(f=Kb.exec(d))){d=+(f[1]+1)*+f[2]+parseFloat(c.css(a,b)),e="number"}if(!(d==null||e==="number"&&isNaN(d))){if(e==="number"&&!c.cssNumber[g]&&(d+="px"),!i||!("set" in i)||(d=i.set(a,d))!==l){try{h[b]=d}catch(j){}}}}else{return i&&"get" in i&&(f=i.get(a,!1,e))!==l?f:h[b]}}},css:function(a,b,d){var e,f,b=c.camelCase(b);f=c.cssHooks[b];b=c.cssProps[b]||b;b==="cssFloat"&&(b="float");if(f&&"get" in f&&(e=f.get(a,!0,d))!==l){return e}else{if(G){return G(a,b)}}},swap:function(a,b,c){var e={},f;for(f in b){e[f]=a.style[f],a.style[f]=b[f]}c.call(a);for(f in b){a.style[f]=e[f]}}});c.curCSS=c.css;c.each(["height","width"],function(a,b){c.cssHooks[b]={get:function(a,e,f){var g;if(e){if(a.offsetWidth!==0){return za(a,b,f)}else{c.swap(a,Lb,function(){g=za(a,b,f)})}return g}},set:function(a,b){if(Ta.test(b)){if(b=parseFloat(b),b>=0){return b+"px"}}else{return b}}}});if(!c.support.opacity){c.cssHooks.opacity={get:function(a,b){return Hb.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var d=a.style,e=a.currentStyle,f=c.isNaN(b)?"":"alpha(opacity="+b*100+")",g=e&&e.filter||d.filter||"";d.zoom=1;if(b>=1&&c.trim(g.replace(pa,""))===""&&(d.removeAttribute("filter"),e&&!e.filter)){return}d.filter=pa.test(g)?g.replace(pa,f):g+" "+f}}}c(function(){if(!c.support.reliableMarginRight){c.cssHooks.marginRight={get:function(a,b){var d;c.swap(a,{display:"inline-block"},function(){d=b?G(a,"margin-right","marginRight"):a.style.marginRight});return d}}}});k.defaultView&&k.defaultView.getComputedStyle&&(Ua=function(a,b){var d,e,b=b.replace(Ib,"-$1").toLowerCase();if(!(e=a.ownerDocument.defaultView)){return l}if(e=e.getComputedStyle(a,null)){d=e.getPropertyValue(b),d===""&&!c.contains(a.ownerDocument.documentElement,a)&&(d=c.style(a,b))}return d});k.documentElement.currentStyle&&(Va=function(a,b){var c,e=a.currentStyle&&a.currentStyle[b],f=a.runtimeStyle&&a.runtimeStyle[b],g=a.style;if(!Ta.test(e)&&Jb.test(e)){c=g.left;if(f){a.runtimeStyle.left=a.currentStyle.left}g.left=b==="fontSize"?"1em":e||0;e=g.pixelLeft+"px";g.left=c;if(f){a.runtimeStyle.left=f}}return e===""?"auto":e});G=Ua||Va;if(c.expr&&c.expr.filters){c.expr.filters.hidden=function(a){var b=a.offsetHeight;return a.offsetWidth===0&&b===0||!c.support.reliableHiddenOffsets&&(a.style.display||c.css(a,"display"))==="none"},c.expr.filters.visible=function(a){return !c.expr.filters.hidden(a)}}var Mb=/%20/g,mb=/\[\]$/,Wa=/\r?\n/g,Nb=/#.*$/,Ob=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,Pb=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,Qb=/^(?:GET|HEAD)$/,Rb=/^\/\//,Xa=/\?/,Sb=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,Tb=/^(?:select|textarea)/i,Ba=/\s+/,Ub=/([?&])_=[^&]*/,Ya=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,Za=c.fn.load,ea={},$a={},J,D,ab=["*/"]+["*"];try{J=pb.href}catch($b){J=k.createElement("a"),J.href="",J=J.href}D=Ya.exec(J.toLowerCase())||[];c.fn.extend({load:function(a,b,d){if(typeof a!=="string"&&Za){return Za.apply(this,arguments)}else{if(!this.length){return this}}var e=a.indexOf(" ");if(e>=0){var f=a.slice(e,a.length),a=a.slice(0,e)}e="GET";b&&(c.isFunction(b)?(d=b,b=l):typeof b==="object"&&(b=c.param(b,c.ajaxSettings.traditional),e="POST"));var g=this;c.ajax({url:a,type:e,dataType:"html",data:b,complete:function(a,b,e){e=a.responseText;a.isResolved()&&(a.done(function(a){e=a}),g.html(f?c("<div>").append(e.replace(Sb,"")).find(f):e));d&&g.each(d,[e,b,a])}});return this},serialize:function(){return c.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?c.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||Tb.test(this.nodeName)||Pb.test(this.type))}).map(function(a,b){var d=c(this).val();return d==null?null:c.isArray(d)?c.map(d,function(a){return{name:b.name,value:a.replace(Wa,"\r\n")}}):{name:b.name,value:d.replace(Wa,"\r\n")}}).get()}});c.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){c.fn[b]=function(a){return this.bind(b,a)}});c.each(["get","post"],function(a,b){c[b]=function(a,e,f,g){c.isFunction(e)&&(g=g||f,f=e,e=l);return c.ajax({type:b,url:a,data:e,success:f,dataType:g})}});c.extend({getScript:function(a,b){return c.get(a,l,b,"script")},getJSON:function(a,b,d){return c.get(a,b,d,"json")},ajaxSetup:function(a,b){b?Ca(a,c.ajaxSettings):(b=a,a=c.ajaxSettings);Ca(a,b);return a},ajaxSettings:{url:J,isLocal:/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/.test(D[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":ab},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":o.String,"text html":!0,"text json":c.parseJSON,"text xml":c.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:Aa(ea),ajaxTransport:Aa($a),ajax:function(a,b){function d(a,b,d,k){if(x!==2){x=2;w&&clearTimeout(w);s=l;C=k||"";q.readyState=a>0?4:0;var n,o,p,k=b;if(d){var t=e,r=q,v=t.contents,F=t.dataTypes,B=t.responseFields,A,y,z,I;for(y in B){y in d&&(r[B[y]]=d[y])}for(;F[0]==="*";){F.shift(),A===l&&(A=t.mimeType||r.getResponseHeader("content-type"))}if(A){for(y in v){if(v[y]&&v[y].test(A)){F.unshift(y);break}}}if(F[0] in d){z=F[0]}else{for(y in d){if(!F[0]||t.converters[y+" "+F[0]]){z=y;break}I||(I=y)}z=z||I}z?(z!==F[0]&&F.unshift(z),d=d[z]):d=void 0}else{d=l}if(a>=200&&a<300||a===304){if(e.ifModified){if(A=q.getResponseHeader("Last-Modified")){c.lastModified[m]=A}if(A=q.getResponseHeader("Etag")){c.etag[m]=A}}if(a===304){k="notmodified",n=!0}else{try{A=e;A.dataFilter&&(d=A.dataFilter(d,A.dataType));var J=A.dataTypes;y={};var D,G,L=J.length,H,M=J[0],E,K,N,P,S;for(D=1;D<L;D++){if(D===1){for(G in A.converters){typeof G==="string"&&(y[G.toLowerCase()]=A.converters[G])}}E=M;M=J[D];if(M==="*"){M=E}else{if(E!=="*"&&E!==M){K=E+" "+M;N=y[K]||y["* "+M];if(!N){for(P in S=l,y){if(H=P.split(" "),H[0]===E||H[0]==="*"){if(S=y[H[1]+" "+M]){P=y[P];P===!0?N=S:S===!0&&(N=P);break}}}}!N&&!S&&c.error("No conversion from "+K.replace(" "," to "));N!==!0&&(d=N?N(d):S(P(d)))}}}o=d;k="success";n=!0}catch(Q){k="parsererror",p=Q}}}else{if(p=k,!k||a){k="error",a<0&&(a=0)}}q.status=a;q.statusText=""+(b||k);n?h.resolveWith(f,[o,k,q]):h.rejectWith(f,[q,k,p]);q.statusCode(j);j=l;u&&g.trigger("ajax"+(n?"Success":"Error"),[q,e,n?o:p]);i.resolveWith(f,[q,k]);u&&(g.trigger("ajaxComplete",[q,e]),--c.active||c.event.trigger("ajaxStop"))}}typeof a==="object"&&(b=a,a=l);var b=b||{},e=c.ajaxSetup({},b),f=e.context||e,g=f!==e&&(f.nodeType||f instanceof c)?c(f):c.event,h=c.Deferred(),i=c._Deferred(),j=e.statusCode||{},m,k={},o={},C,p,s,w,v,x=0,u,t,q={readyState:0,setRequestHeader:function(a,b){if(!x){var c=a.toLowerCase(),a=o[c]=o[c]||a;k[a]=b}return this},getAllResponseHeaders:function(){return x===2?C:null},getResponseHeader:function(a){var b;if(x===2){if(!p){for(p={};b=Ob.exec(C);){p[b[1].toLowerCase()]=b[2]}}b=p[a.toLowerCase()]}return b===l?null:b},overrideMimeType:function(a){if(!x){e.mimeType=a}return this},abort:function(a){a=a||"abort";s&&s.abort(a);d(0,a);return this}};h.promise(q);q.success=q.done;q.error=q.fail;q.complete=i.done;q.statusCode=function(a){if(a){var b;if(x<2){for(b in a){j[b]=[j[b],a[b]]}}else{b=a[q.status],q.then(b,b)}}return this};e.url=((a||e.url)+"").replace(Nb,"").replace(Rb,D[1]+"//");e.dataTypes=c.trim(e.dataType||"*").toLowerCase().split(Ba);if(e.crossDomain==null){v=Ya.exec(e.url.toLowerCase()),e.crossDomain=!(!v||!(v[1]!=D[1]||v[2]!=D[2]||(v[3]||(v[1]==="http:"?80:443))!=(D[3]||(D[1]==="http:"?80:443))))}if(e.data&&e.processData&&typeof e.data!=="string"){e.data=c.param(e.data,e.traditional)}X(ea,e,b,q);if(x===2){return !1}u=e.global;e.type=e.type.toUpperCase();e.hasContent=!Qb.test(e.type);u&&c.active++===0&&c.event.trigger("ajaxStart");if(!e.hasContent&&(e.data&&(e.url+=(Xa.test(e.url)?"&":"?")+e.data,delete e.data),m=e.url,e.cache===!1)){v=c.now();var B=e.url.replace(Ub,"$1_="+v);e.url=B+(B===e.url?(Xa.test(e.url)?"&":"?")+"_="+v:"")}(e.data&&e.hasContent&&e.contentType!==!1||b.contentType)&&q.setRequestHeader("Content-Type",e.contentType);e.ifModified&&(m=m||e.url,c.lastModified[m]&&q.setRequestHeader("If-Modified-Since",c.lastModified[m]),c.etag[m]&&q.setRequestHeader("If-None-Match",c.etag[m]));q.setRequestHeader("Accept",e.dataTypes[0]&&e.accepts[e.dataTypes[0]]?e.accepts[e.dataTypes[0]]+(e.dataTypes[0]!=="*"?", "+ab+"; q=0.01":""):e.accepts["*"]);for(t in e.headers){q.setRequestHeader(t,e.headers[t])}if(e.beforeSend&&(e.beforeSend.call(f,q,e)===!1||x===2)){return q.abort(),!1}for(t in {success:1,error:1,complete:1}){q[t](e[t])}if(s=X($a,e,b,q)){q.readyState=1;u&&g.trigger("ajaxSend",[q,e]);e.async&&e.timeout>0&&(w=setTimeout(function(){q.abort("timeout")},e.timeout));try{x=1,s.send(k,d)}catch(z){x<2?d(-1,z):c.error(z)}}else{d(-1,"No Transport")}return q},param:function(a,b){var d=[],e=function(a,b){b=c.isFunction(b)?b():b;d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};if(b===l){b=c.ajaxSettings.traditional}if(c.isArray(a)||a.jQueryBS&&!c.isPlainObject(a)){c.each(a,function(){e(this.name,this.value)})}else{for(var f in a){fa(f,a[f],b,e)}}return d.join("&").replace(Mb,"+")}});c.extend({active:0,lastModified:{},etag:{}});var Vb=c.now(),aa=/(\=)\?(&|$)|\?\?/i;c.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return c.expando+"_"+Vb++}});c.ajaxPrefilter("json jsonp",function(a,b,d){b=a.contentType==="application/x-www-form-urlencoded"&&typeof a.data==="string";if(a.dataTypes[0]==="jsonp"||a.jsonp!==!1&&(aa.test(a.url)||b&&aa.test(a.data))){var e,f=a.jsonpCallback=c.isFunction(a.jsonpCallback)?a.jsonpCallback():a.jsonpCallback,g=o[f],h=a.url,i=a.data,j="$1"+f+"$2";a.jsonp!==!1&&(h=h.replace(aa,j),a.url===h&&(b&&(i=i.replace(aa,j)),a.data===i&&(h+=(/\?/.test(h)?"&":"?")+a.jsonp+"="+f)));a.url=h;a.data=i;o[f]=function(a){e=[a]};d.always(function(){o[f]=g;if(e&&c.isFunction(g)){o[f](e[0])}});a.converters["script json"]=function(){e||c.error(f+" was not called");return e[0]};a.dataTypes[0]="json";return"script"}});c.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){c.globalEval(a);return a}}});c.ajaxPrefilter("script",function(a){if(a.cache===l){a.cache=!1}if(a.crossDomain){a.type="GET",a.global=!1}});c.ajaxTransport("script",function(a){if(a.crossDomain){var b,c=k.head||k.getElementsByTagName("head")[0]||k.documentElement;return{send:function(e,f){b=k.createElement("script");b.async="async";if(a.scriptCharset){b.charset=a.scriptCharset}b.src=a.url;b.onload=b.onreadystatechange=function(a,e){if(e||!b.readyState||/loaded|complete/.test(b.readyState)){b.onload=b.onreadystatechange=null,c&&b.parentNode&&c.removeChild(b),b=l,e||f(200,"success")}};c.insertBefore(b,c.firstChild)},abort:function(){if(b){b.onload(0,1)}}}}});var qa=o.ActiveXObject?function(){for(var a in E){E[a](0,1)}}:!1,Wb=0,E;c.ajaxSettings.xhr=o.ActiveXObject?function(){var a;if(!(a=!this.isLocal&&Da())){a:{try{a=new o.ActiveXObject("Microsoft.XMLHTTP");break a}catch(b){}a=void 0}}return a}:Da;(function(a){c.extend(c.support,{ajax:!!a,cors:!!a&&"withCredentials" in a})})(c.ajaxSettings.xhr());c.support.ajax&&c.ajaxTransport(function(a){if(!a.crossDomain||c.support.cors){var b;return{send:function(d,e){var f=a.xhr(),g,h;a.username?f.open(a.type,a.url,a.async,a.username,a.password):f.open(a.type,a.url,a.async);if(a.xhrFields){for(h in a.xhrFields){f[h]=a.xhrFields[h]}}a.mimeType&&f.overrideMimeType&&f.overrideMimeType(a.mimeType);!a.crossDomain&&!d["X-Requested-With"]&&(d["X-Requested-With"]="XMLHttpRequest");try{for(h in d){f.setRequestHeader(h,d[h])}}catch(i){}f.send(a.hasContent&&a.data||null);b=function(d,h){var i,k,o,p,s;try{if(b&&(h||f.readyState===4)){b=l;if(g){f.onreadystatechange=c.noop,qa&&delete E[g]}if(h){f.readyState!==4&&f.abort()}else{i=f.status;o=f.getAllResponseHeaders();p={};if((s=f.responseXML)&&s.documentElement){p.xml=s}p.text=f.responseText;try{k=f.statusText}catch(u){k=""}!i&&a.isLocal&&!a.crossDomain?i=p.text?200:404:i===1223&&(i=204)}}}catch(v){h||e(-1,v)}p&&e(i,k,p,o)};!a.async||f.readyState===4?b():(g=++Wb,qa&&(E||(E={},c(o).unload(qa)),E[g]=b),f.onreadystatechange=b)},abort:function(){b&&b(0,1)}}}});var ga={},u,H,Xb=/^(?:toggle|show|hide)$/,Yb=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,ba,Fa=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],Y;c.fn.extend({show:function(a,b,d){if(a||a===0){return this.animate(L("show",3),a,b,d)}else{for(var d=0,e=this.length;d<e;d++){if(a=this[d],a.style){b=a.style.display;if(!c._data(a,"olddisplay")&&b==="none"){b=a.style.display=""}b===""&&c.css(a,"display")==="none"&&c._data(a,"olddisplay",Ga(a.nodeName))}}for(d=0;d<e;d++){if(a=this[d],a.style&&(b=a.style.display,b===""||b==="none")){a.style.display=c._data(a,"olddisplay")||""}}return this}},hide:function(a,b,d){if(a||a===0){return this.animate(L("hide",3),a,b,d)}else{a=0;for(b=this.length;a<b;a++){this[a].style&&(d=c.css(this[a],"display"),d!=="none"&&!c._data(this[a],"olddisplay")&&c._data(this[a],"olddisplay",d))}for(a=0;a<b;a++){if(this[a].style){this[a].style.display="none"}}return this}},_toggle:c.fn.toggle,toggle:function(a,b,d){var e=typeof a==="boolean";c.isFunction(a)&&c.isFunction(b)?this._toggle.apply(this,arguments):a==null||e?this.each(function(){var b=e?a:c(this).is(":hidden");c(this)[b?"show":"hide"]()}):this.animate(L("toggle",3),a,b,d);return this},fadeTo:function(a,b,c,e){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,c,e)},animate:function(a,b,d,e){var f=c.speed(b,d,e);if(c.isEmptyObject(a)){return this.each(f.complete,[!1])}a=c.extend({},a);return this[f.queue===!1?"each":"queue"](function(){var g;f.queue===!1&&c._mark(this);var b=c.extend({},f),d=this.nodeType===1,e=d&&c(this).is(":hidden"),j,m,k,l,o;b.animatedProperties={};for(k in a){j=c.camelCase(k);k!==j&&(a[j]=a[k],delete a[k]);m=a[j];c.isArray(m)?(b.animatedProperties[j]=m[1],g=a[j]=m[0],m=g):b.animatedProperties[j]=b.specialEasing&&b.specialEasing[j]||b.easing||"swing";if(m==="hide"&&e||m==="show"&&!e){return b.complete.call(this)}if(d&&(j==="height"||j==="width")){if(b.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY],c.css(this,"display")==="inline"&&c.css(this,"float")==="none"){c.support.inlineBlockNeedsLayout?(m=Ga(this.nodeName),m==="inline"?this.style.display="inline-block":(this.style.display="inline",this.style.zoom=1)):this.style.display="inline-block"}}}if(b.overflow!=null){this.style.overflow="hidden"}for(k in a){if(d=new c.fx(this,b,k),m=a[k],Xb.test(m)){d[m==="toggle"?e?"show":"hide":m]()}else{j=Yb.exec(m),l=d.cur(),j?(m=parseFloat(j[2]),o=j[3]||(c.cssNumber[k]?"":"px"),o!=="px"&&(c.style(this,k,(m||1)+o),l*=(m||1)/d.cur(),c.style(this,k,l+o)),j[1]&&(m=(j[1]==="-="?-1:1)*m+l),d.custom(l,m,o)):d.custom(l,m,"")}}return !0})},stop:function(a,b){a&&this.queue([]);this.each(function(){var a=c.timers,e=a.length;for(b||c._unmark(!0,this);e--;){if(a[e].elem===this){if(b){a[e](!0)}a.splice(e,1)}}});b||this.dequeue();return this}});c.each({slideDown:L("show",1),slideUp:L("hide",1),slideToggle:L("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){c.fn[a]=function(a,c,f){return this.animate(b,a,c,f)}});c.extend({speed:function(a,b,d){var e=a&&typeof a==="object"?c.extend({},a):{complete:d||!d&&b||c.isFunction(a)&&a,duration:a,easing:d&&b||b&&!c.isFunction(b)&&b};e.duration=c.fx.off?0:typeof e.duration==="number"?e.duration:e.duration in c.fx.speeds?c.fx.speeds[e.duration]:c.fx.speeds._default;e.old=e.complete;e.complete=function(a){c.isFunction(e.old)&&e.old.call(this);e.queue!==!1?c.dequeue(this):a!==!1&&c._unmark(this)};return e},easing:{linear:function(a,b,c,e){return c+e*a},swing:function(a,b,c,e){return(-Math.cos(a*Math.PI)/2+0.5)*e+c}},timers:[],fx:function(a,b,c){this.options=b;this.elem=a;this.prop=c;b.orig=b.orig||{}}});c.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(c.fx.step[this.prop]||c.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop]}var a,b=c.css(this.elem,this.prop);return isNaN(a=parseFloat(b))?!b||b==="auto"?0:b:a},custom:function(a,b,d){function e(a){return f.step(a)}var f=this,g=c.fx;this.startTime=Y||Ea();this.start=a;this.end=b;this.unit=d||this.unit||(c.cssNumber[this.prop]?"":"px");this.now=this.start;this.pos=this.state=0;e.elem=this.elem;e()&&c.timers.push(e)&&!ba&&(ba=setInterval(g.tick,g.interval))},show:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.show=!0;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());c(this.elem).show()},hide:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.hide=!0;this.custom(this.cur(),0)},step:function(a){var b=Y||Ea(),d=!0,e=this.elem,f=this.options,g;if(a||b>=f.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();f.animatedProperties[this.prop]=!0;for(g in f.animatedProperties){f.animatedProperties[g]!==!0&&(d=!1)}if(d){f.overflow!=null&&!c.support.shrinkWrapBlocks&&c.each(["","X","Y"],function(a,b){e.style["overflow"+b]=f.overflow[a]});f.hide&&c(e).hide();if(f.hide||f.show){for(var h in f.animatedProperties){c.style(e,h,f.orig[h])}}f.complete.call(e)}return !1}else{f.duration==Infinity?this.now=b:(a=b-this.startTime,this.state=a/f.duration,this.pos=c.easing[f.animatedProperties[this.prop]](this.state,a,0,1,f.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update()}return !0}};c.extend(c.fx,{tick:function(){for(var a=c.timers,b=0;b<a.length;++b){a[b]()||a.splice(b--,1)}a.length||c.fx.stop()},interval:13,stop:function(){clearInterval(ba);ba=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){c.style(a.elem,"opacity",a.now)},_default:function(a){a.elem.style&&a.elem.style[a.prop]!=null?a.elem.style[a.prop]=(a.prop==="width"||a.prop==="height"?Math.max(0,a.now):a.now)+a.unit:a.elem[a.prop]=a.now}}});if(c.expr&&c.expr.filters){c.expr.filters.animated=function(a){return c.grep(c.timers,function(b){return a===b.elem}).length}}var Zb=/^t(?:able|d|h)$/i,bb=/^(?:body|html)$/i;c.fn.offset="getBoundingClientRect" in k.documentElement?function(a){var b=this[0],d;if(a){return this.each(function(b){c.offset.setOffset(this,a,b)})}if(!b||!b.ownerDocument){return null}if(b===b.ownerDocument.body){return c.offset.bodyOffset(b)}try{d=b.getBoundingClientRect()}catch(e){}var f=b.ownerDocument,g=f.documentElement;if(!d||!c.contains(g,b)){return d?{top:d.top,left:d.left}:{top:0,left:0}}b=f.body;f=ha(f);return{top:d.top+(f.pageYOffset||c.support.boxModel&&g.scrollTop||b.scrollTop)-(g.clientTop||b.clientTop||0),left:d.left+(f.pageXOffset||c.support.boxModel&&g.scrollLeft||b.scrollLeft)-(g.clientLeft||b.clientLeft||0)}}:function(a){var b=this[0];if(a){return this.each(function(b){c.offset.setOffset(this,a,b)})}if(!b||!b.ownerDocument){return null}if(b===b.ownerDocument.body){return c.offset.bodyOffset(b)}c.offset.initialize();var d,e=b.offsetParent,f=b.ownerDocument,g=f.documentElement,h=f.body;d=(f=f.defaultView)?f.getComputedStyle(b,null):b.currentStyle;for(var i=b.offsetTop,j=b.offsetLeft;(b=b.parentNode)&&b!==h&&b!==g;){if(c.offset.supportsFixedPosition&&d.position==="fixed"){break}d=f?f.getComputedStyle(b,null):b.currentStyle;i-=b.scrollTop;j-=b.scrollLeft;if(b===e){i+=b.offsetTop;j+=b.offsetLeft;if(c.offset.doesNotAddBorder&&(!c.offset.doesAddBorderForTableAndCells||!Zb.test(b.nodeName))){i+=parseFloat(d.borderTopWidth)||0,j+=parseFloat(d.borderLeftWidth)||0}e=b.offsetParent}c.offset.subtractsBorderForOverflowNotVisible&&d.overflow!=="visible"&&(i+=parseFloat(d.borderTopWidth)||0,j+=parseFloat(d.borderLeftWidth)||0)}if(d.position==="relative"||d.position==="static"){i+=h.offsetTop,j+=h.offsetLeft}c.offset.supportsFixedPosition&&d.position==="fixed"&&(i+=Math.max(g.scrollTop,h.scrollTop),j+=Math.max(g.scrollLeft,h.scrollLeft));return{top:i,left:j}};c.offset={initialize:function(){var a=k.body,b=k.createElement("div"),d,e,f,g=parseFloat(c.css(a,"marginTop"))||0;c.extend(b.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"});b.innerHTML="<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";a.insertBefore(b,a.firstChild);d=b.firstChild;e=d.firstChild;f=d.nextSibling.firstChild.firstChild;this.doesNotAddBorder=e.offsetTop!==5;this.doesAddBorderForTableAndCells=f.offsetTop===5;e.style.position="fixed";e.style.top="20px";this.supportsFixedPosition=e.offsetTop===20||e.offsetTop===15;e.style.position=e.style.top="";d.style.overflow="hidden";d.style.position="relative";this.subtractsBorderForOverflowNotVisible=e.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==g;a.removeChild(b);c.offset.initialize=c.noop},bodyOffset:function(a){var b=a.offsetTop,d=a.offsetLeft;c.offset.initialize();c.offset.doesNotIncludeMarginInBodyOffset&&(b+=parseFloat(c.css(a,"marginTop"))||0,d+=parseFloat(c.css(a,"marginLeft"))||0);return{top:b,left:d}},setOffset:function(a,b,d){var e=c.css(a,"position");if(e==="static"){a.style.position="relative"}var f=c(a),g=f.offset(),h=c.css(a,"top"),i=c.css(a,"left"),j={},k={};(e==="absolute"||e==="fixed")&&c.inArray("auto",[h,i])>-1?(k=f.position(),e=k.top,i=k.left):(e=parseFloat(h)||0,i=parseFloat(i)||0);c.isFunction(b)&&(b=b.call(a,d,g));if(b.top!=null){j.top=b.top-g.top+e}if(b.left!=null){j.left=b.left-g.left+i}"using" in b?b.using.call(a,j):f.css(j)}};c.fn.extend({position:function(){if(!this[0]){return null}var a=this[0],b=this.offsetParent(),d=this.offset(),e=bb.test(b[0].nodeName)?{top:0,left:0}:b.offset();d.top-=parseFloat(c.css(a,"marginTop"))||0;d.left-=parseFloat(c.css(a,"marginLeft"))||0;e.top+=parseFloat(c.css(b[0],"borderTopWidth"))||0;e.left+=parseFloat(c.css(b[0],"borderLeftWidth"))||0;return{top:d.top-e.top,left:d.left-e.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||k.body;a&&!bb.test(a.nodeName)&&c.css(a,"position")==="static";){a=a.offsetParent}return a})}});c.each(["Left","Top"],function(a,b){var d="scroll"+b;c.fn[d]=function(b){var f,g;if(b===l){f=this[0];return !f?null:(g=ha(f))?"pageXOffset" in g?g[a?"pageYOffset":"pageXOffset"]:c.support.boxModel&&g.document.documentElement[d]||g.document.body[d]:f[d]}return this.each(function(){(g=ha(this))?g.scrollTo(!a?b:c(g).scrollLeft(),a?b:c(g).scrollTop()):this[d]=b})}});c.each(["Height","Width"],function(a,b){var d=b.toLowerCase();c.fn["inner"+b]=function(){var a=this[0];return a&&a.style?parseFloat(c.css(a,d,"padding")):null};c.fn["outer"+b]=function(a){var b=this[0];return b&&b.style?parseFloat(c.css(b,d,a?"margin":"border")):null};c.fn[d]=function(a){var f=this[0];if(!f){return a==null?null:this}if(c.isFunction(a)){return this.each(function(b){var f=c(this);f[d](a.call(this,b,f[d]()))})}if(c.isWindow(f)){var g=f.document.documentElement["client"+b],h=f.document.body;return f.document.compatMode==="CSS1Compat"&&g||h&&h["client"+b]||g}else{return f.nodeType===9?Math.max(f.documentElement["client"+b],f.body["scroll"+b],f.documentElement["scroll"+b],f.body["offset"+b],f.documentElement["offset"+b]):a===l?(f=c.css(f,d),g=parseFloat(f),c.isNaN(g)?f:g):this.css(d,typeof a==="string"?a:a+"px")}}});o.jQueryBS=c})(window);(function(){jQueryBS.prototype.merge=function(){var a=jQueryBS.merge([],this.get());for(var b=0;b<arguments.length;b++){if(arguments[b].constructor==jQueryBS){jQueryBS.merge(a,arguments[b].get())}else{jQueryBS.merge(a,arguments[b])}}return jQueryBS(a)};jQueryBS.prototype.visible=function(){return this.is(":visible")}})();jQueryBS(function(a){var aj=a.browser.msie&&a.browser.version==7;function ah(t){return a("<div></div>").text(t).html()}function ag(t){return a("<div></div>").html(t).text()}var au=typeof BuyShieldWidgetMessage=="function"?BuyShieldWidgetMessage:az;var at=false;var ap=typeof BuyShieldWidgetSaveQuote=="function"?BuyShieldWidgetSaveQuote:function(aB){if(at){return false}if(aB==null){au("Skipping A Step?","<p>Please go back and get a quote before saving it.</p>");return}else{if(aB=="FAIL"){au("Unable to save quote",'<p>We were unable to save your quote.</p><p>Please refresh the page and try again or <a href="http://www.buyshield.com/Support.aspx">contact support</a> if the problem persists.</p>');return}}var aD=false;var aA=H.children("span");var t=H.find("input:text");var aC=function(aF){aF.preventDefault();aF.stopPropagation();if(aD){return false}var aE=t.val();if(aE==""){H.find("div ~ p").remove();H.append('<p style="color:red;font-weight:bold;margin-top:5px;margin-bottom:0px;padding:0">Please enter an valid email address.</p>')}else{aD=true;t.attr("disabled",true);aB(aE,function(aG){if(aG.Status=="invalid"){H.find(".error").remove();H.append('<p style="color:red;font-weight:bold;margin-top:5px;margin-bottom:0px;padding:0">Please enter an valid email address.</p>')}else{au(aG.Title,aG.Body)}t.attr("disabled",false);aD=false})}return false};aA.bind("click",aC);t.keydown(function(aE){var aF=parseInt(aE.which||aE.keyCode);if(aF==13){aC(aE);return false}else{H.find("div ~ p").remove()}});au("Save This Quote",H,285,function(){H.detach();aA.unbind("click",aC);t.unbind("keydown");t.val("");H.find("div ~ p").remove();t.attr("disabled",false);at=false})};var ai=/^(.*\d)(\d{3}\..*)$/g;function ay(t){if(t==0){return"$0"}return"$"+t.toFixed(2).replace(ai,"$1,$2")}var av=typeof BuyShieldWidgetPriceRanges=="function"?BuyShieldWidgetPriceRanges:function(aA){var t="";a.each(aA,function(){t+='<span style="font-weight:bold">'+ah(this.Name)+':</span><span style="float:right">'+ay(this.Low)+"-"+ay(this.High)+"</span><br />"});az("Price Ranges",t,425)};function ao(aC){var aB=aC||10;var aD="";for(var aA=0;aA<aB;aA++){var t=Math.round(Math.random()*61);if(t<10){t+=48}else{if(t<36){t+=55}else{t+=61}}aD+=String.fromCharCode(t)}return aD}function ad(){var t=ao(12);while(a("#"+t).size()){t+=ao(2)}return t}function ae(){var t=ao(12);while(a("[name="+t+"]").size()){t+=ao(2)}return t}var S="error",U=[{"Name":"TVs & Components","CategoryId":1,"Categories":[{"CategoryId":2,"Name":"LCD/LED TV","WarrantyLengths":[[],[3]]},{"CategoryId":3,"Name":"Rear-Projection TV","WarrantyLengths":null},{"CategoryId":4,"Name":"Plasma TV","WarrantyLengths":null},{"CategoryId":5,"Name":"DVD/Blue-Ray Player","WarrantyLengths":[[],[3]]},{"CategoryId":6,"Name":"Home Theatre System","WarrantyLengths":[[],[3]]},{"CategoryId":72,"Name":"Other TV Component","WarrantyLengths":[[],[3]]}]},{"Name":"Cell Phones","CategoryId":7,"Categories":[{"CategoryId":8,"Name":"iPhone","WarrantyLengths":[[],[12]]},{"CategoryId":9,"Name":"Android","WarrantyLengths":[[],[12]]},{"CategoryId":10,"Name":"Blackberry","WarrantyLengths":[[],[12]]},{"CategoryId":11,"Name":"Windows","WarrantyLengths":[[],[12]]},{"CategoryId":12,"Name":"Other Cell Phone","WarrantyLengths":[[],[12]]}]},{"Name":"iPod/MP3 & Audio","CategoryId":13,"Categories":[{"CategoryId":14,"Name":"iPod/MP3","WarrantyLengths":[[],[3]]},{"CategoryId":15,"Name":"Car Audio","WarrantyLengths":[[],[3]]},{"CategoryId":16,"Name":"Boat Audio","WarrantyLengths":[[],[3]]},{"CategoryId":17,"Name":"Audio Components","WarrantyLengths":[[],[3]]},{"CategoryId":18,"Name":"Speakers","WarrantyLengths":[[],[3]]},{"CategoryId":19,"Name":"Satellite Radios","WarrantyLengths":[[],[3]]}]},{"Name":"Cameras/Camcorders","CategoryId":20,"Categories":[{"CategoryId":21,"Name":"Digital Camera","WarrantyLengths":[[],[12]]},{"CategoryId":22,"Name":"Camcorder","WarrantyLengths":[[],[12]]},{"CategoryId":77,"Name":"Lens","WarrantyLengths":[[],[3]]},{"CategoryId":78,"Name":"Web Cam","WarrantyLengths":[[],[12]]},{"CategoryId":79,"Name":"Other Camera Accessory","WarrantyLengths":[[],[3]]}]},{"Name":"Computer & Peripherals","CategoryId":23,"Categories":[{"CategoryId":24,"Name":"Desktop Computer","WarrantyLengths":null},{"CategoryId":25,"Name":"Laptop/Notebook Computer","WarrantyLengths":[[],[12,3]]},{"CategoryId":26,"Name":"Monitor","WarrantyLengths":[[],[3]]},{"CategoryId":27,"Name":"Storage","WarrantyLengths":[[],[3]]},{"CategoryId":28,"Name":"Printer/Scanner/Fax","WarrantyLengths":[[],[3]]},{"CategoryId":29,"Name":"Drives","WarrantyLengths":[[],[3]]},{"CategoryId":30,"Name":"Accessories","WarrantyLengths":[[],[3]]}]},{"Name":"eReaders & Tablets","CategoryId":31,"Categories":[{"CategoryId":32,"Name":"iPad","WarrantyLengths":[[],[12]]},{"CategoryId":33,"Name":"Kindle","WarrantyLengths":[[],[12]]},{"CategoryId":34,"Name":"XOOM","WarrantyLengths":[[],[12]]},{"CategoryId":35,"Name":"Galaxy","WarrantyLengths":[[],[12]]},{"CategoryId":36,"Name":"Other eReader","WarrantyLengths":[[],[12]]},{"CategoryId":37,"Name":"Other Tablet","WarrantyLengths":[[],[12]]}]},{"Name":"Video Game consoles","CategoryId":39,"Categories":[{"CategoryId":40,"Name":"XBox 360","WarrantyLengths":[[],[3]]},{"CategoryId":41,"Name":"Nintendo Wii","WarrantyLengths":[[],[3]]},{"CategoryId":42,"Name":"Nintendo DS","WarrantyLengths":[[],[3]]},{"CategoryId":43,"Name":"Playstation 3","WarrantyLengths":[[],[3]]},{"CategoryId":44,"Name":"PSP","WarrantyLengths":[[],[3]]},{"CategoryId":45,"Name":"Other Game Console","WarrantyLengths":[[],[3]]}]},{"Name":"Appliances","CategoryId":46,"Categories":[{"CategoryId":47,"Name":"Washer/Dryer","WarrantyLengths":[[],[3]]},{"CategoryId":48,"Name":"Refrigerator","WarrantyLengths":[[],[3]]},{"CategoryId":49,"Name":"Range/Oven","WarrantyLengths":[[],[3]]},{"CategoryId":50,"Name":"Microwave","WarrantyLengths":[[],[3]]},{"CategoryId":51,"Name":"Dishwasher","WarrantyLengths":[[],[3]]},{"CategoryId":52,"Name":"Small Appliance","WarrantyLengths":[[],[3]]},{"CategoryId":80,"Name":"Coffee Maker","WarrantyLengths":[[],[3]]}]},{"Name":"Tools","CategoryId":53,"Categories":[{"CategoryId":59,"Name":"Compressor","WarrantyLengths":[[],[12]]},{"CategoryId":60,"Name":"Pneumatic Tool","WarrantyLengths":[[],[12]]},{"CategoryId":61,"Name":"Generator","WarrantyLengths":[[],[12]]},{"CategoryId":62,"Name":"Flashlight","WarrantyLengths":[[],[3]]},{"CategoryId":63,"Name":"Power Tool","WarrantyLengths":[[],[12]]},{"CategoryId":64,"Name":"Meter/Tester/Probe","WarrantyLengths":[[],[12]]},{"CategoryId":65,"Name":"Welding/Soldering","WarrantyLengths":[[],[12]]},{"CategoryId":66,"Name":"Other Tool","WarrantyLengths":[[],[12]]}]},{"Name":"Watches","CategoryId":54,"Categories":[{"CategoryId":67,"Name":"Pocket Watch","WarrantyLengths":[[],[3]]},{"CategoryId":68,"Name":"Wristwatch","WarrantyLengths":[[],[3]]},{"CategoryId":69,"Name":"Stopwatch","WarrantyLengths":[[],[3]]},{"CategoryId":70,"Name":"Altimeter Watch","WarrantyLengths":[[],[3]]},{"CategoryId":71,"Name":"Other Watch","WarrantyLengths":[[],[3]]}]},{"Name":"Other Electronics","CategoryId":55,"Categories":[{"CategoryId":56,"Name":"Other Electronics","WarrantyLengths":[[],[3]]}]}],T={};if(!U.length){alert("AMT Token error")}var b={priceEl:false,catEl:false,defaultHTML:'<div style="font-family:\'Trebuchet MS\', sans-serif;width:270px;height:35px;background:#FF7B4B;color:#fff;text-align:center;background:transparent url(\'http://www.buyshield.com/Resources/images/all.png?d=20111004\') no-repeat 0 -13px"><h3 style="font-weight:normal;padding:5px 0 0 0;font-size:15px;margin: 0;">Get a Quote, Instantly!</h3></div><div style="font-family:\'Trebuchet MS\', sans-serif;width:270px;height:65px;background:#10485F;color:#fff;text-align:center;border-radius:8px 8px 0 0;-webkit-border-radius:8px 8px 0 0;-moz-border-radius:8px 8px 0 0"><a href=\'http://www.buyshield.com/\' style="width:196px;height:46px;background:transparent url(\'http://www.buyshield.com/Resources/images/all.png?d=20111006\') no-repeat 0 -157px;position:relative;top:9px;margin:0 auto;text-align:right;color:white;text-decoration:none;display:block"><h1 style="margin:0;font-size:28px;line-height:33px;font-weight:700;text-transform:uppercase;display:inline">BuyShield</h1><h2 style="font-size:13px;letter-spacing:1px;line-height:13px;font-weight:400;margin:-4px 0 0 0">extended warranties</h2></a></div><div style="font-family:\'Trebuchet MS\', sans-serif;color:#7D7D7D;width:268px;font-size:12px;z-index:60;padding:0px 1px;background:transparent url(\'http://www.buyshield.com/Resources/images/all.png?d=20111004\') no-repeat left bottom"><div style="display:block;position:relative"><div style="padding:10px 0;display:none"><table style="width:240px;margin:0 14px"><tr><td style="padding:5px 0;text-align:left;border:none;font-size: 12px;color: #7D7D7D;">Item:</td><td style="padding:5px 0 5px 2px;text-align:left;border:none;width:190px;"><select style="width:190px;outline:none;border: 1px solid #999999;"><option value="">Select..</option></select></td></tr><tr style="display:none"><td style="padding:5px 0;text-align:left;border:none"></td><td style="padding:5px 0 5px 2px;text-align:left;border:none;"><select style="width:190px;margin-top:2px;outline:none;border: 1px solid #999999;" /></td></tr><tr style="display:none"><td style="text-align:left;border:none;font-size: 12px;color: #7D7D7D;" colspan="2"> Required Manufacturer Warranty </td></tr><tr style="display:none"><td style="padding:5px 0;text-align:left;border:none"></td><td style="padding:5px 0 5px 2px;text-align:left;border:none;"><select style="width:190px;margin-top:2px;outline:none;border: 1px solid #999999;" /></td></tr><tr><td style="padding:5px 0 5px 0;text-align:left;border:none;font-size: 12px;color: #7D7D7D;">Price:&nbsp;$</td><td style="padding:5px 0 5px 2px;text-align:left;border:none"><input type="text" style="border:1px solid #999;width:60px;outline:none;padding: 2px;color: #444444;" /></td></tr></table><p style="margin:0 0 0 16px;padding:5px 0;text-align:left"> Condition: <span class="radioButton" style="width:15px;height:15px;padding:0;display:inline;vertical-align:text-top;margin:0 0 0 6px"><img src="http://www.buyshield.com/Resources/images/clear.png" alt="radio button" width="15" height="15" style="background:transparent url(http://www.buyshield.com/Resources/images/all.png?d=20111004) no-repeat 0 -97px;padding:0;display:inline;vertical-align:text-top" class="selected" /><input type="radio" value="true" checked="checked" style="position:absolute;left:-9999px" /></span><label> New</label><span class="radioButton" style="width:15px;height:15px;padding:0;display:inline;vertical-align:text-top;margin:0 0 0 6px"><img src="http://www.buyshield.com/Resources/images/clear.png" alt="radio button" width="15" height="15" style="background:transparent url(http://www.buyshield.com/Resources/images/all.png?d=20111004) no-repeat 0 -49px;padding:0;display:inline;vertical-align:text-top" /><input type="radio" value="false" style="position:absolute;left:-9999px" /></span><label> Used/Refurbished</label></p><div style="width:235px;margin:5px auto 0 auto;position:relative"><span style="position:relative;cursor:pointer;text-align:center;background:url(\'http://www.buyshield.com/Resources/images/all.png?d=20111004\') no-repeat scroll 0px -234px transparent;font-size:16px;margin:3px 0;width:235px;height:35px;display:block;line-height:34px;color:#fff;" data-bg-position-change=\'{"def":"0px -234px","over":"0px -270px","down":"0px -306px"}\'> Get A Quote </span></div><div style="width:236px;background:transparent url(resources/images/all.png?a=1) no-repeat -1px -953px;display:none;margin:5px auto 0 auto"><div style="text-align:center"><p style="margin:5px 0"><span>Quote for <span></span> of protection:</span><h2 style="color:#F05B29;font-size:25px;font-weight:bold;letter-spacing:-2px;line-height:20px;padding:0;margin:0"></h2></p></div><span style="position:relative;cursor:pointer;text-align:center;background: url(\'http://www.buyshield.com/Resources/images/all.png?d=20111004\') no-repeat scroll 0 -342px transparent;float:left;font-size:15px;margin-top:9px;width:93px;height:35px;display:block;line-height:34px;color:#fff;" data-bg-position-change=\'{"def":"0px -342px","over":"0px -378px","down":"0px -414px"}\'> Save Quote </span><a href="#" target="_top" style="text-decoration:none"><span style="position:relative;cursor:pointer;text-align:center;background: url(\'http://www.buyshield.com/Resources/images/all.png?d=20111004\') no-repeat scroll -16px -49px transparent;float:right;font-size:15px;margin-top:9px;width:132px;height:35px;display:block;line-height:34px;color:#fff;" data-bg-position-change=\'{"def":"-16px -49px","over":"-16px -85px","down":"-16px -121px"}\'> Warranty Details </span></a><div style="clear: left;"></div></div><div style="clear: left;"></div></div></div></div><div style="font-family:\'Trebuchet MS\', sans-serif;position:relative;z-index:20;color:#7D7D7D;height:30px;width:270px;padding:0;text-align:center;background:transparent url(\'http://www.buyshield.com/Resources/images/all.png?d=20111004\') no-repeat 0 -204px"><div style="display:none"><img src="http://www.buyshield.com/Resources/images/clear.png" alt="$" title="Price Ranges" width="20" height="20" style="background:transparent url(\'http://www.buyshield.com/Resources/images/all.png?d=20111004\') no-repeat -184px -49px;width:20px;height:20px;float:left;margin:3px 0 0 19px;cursor:pointer" data-bg-position-change=\'{"def":"-184px -49px","over":"-184px -70px","down":"-184px -91px"}\'/><a class="link" style="float:right;margin:3px 19px 0 0;color:#7D7D7D;cursor:pointer;text-decoration:underline;font-size:13px">Start Over</a></div><div style="text-align:center;cursor:pointer;font-size:13px;line-height:28px" class="link">Click Here</div></div><div style="width:300px;margin:0px auto 0 auto;text-align:left;font-size:13px;font-family:Trebuchet MS, sans-serif;opacity:1;position: fixed;top: 0;left:0px;z-index: 2000;display:none"><div style="background:transparent url(http://www.buyshield.com/Resources/images/blue_header_middle.png) repeat-x 0 0;padding: 0 15px;color: white;line-height:40px;font-size: 15px;border-radius:10px 10px 0 0;-moz-border-radius:10px 10px 0 0;-webkit-border-radius:10px 10px 0 0;"><span style="line-height:40px">&nbsp;</span><span style="position:absolute;right:12px;top:12px;width:17px;margin:0;padding:0;height:17px;background:transparent url(http://www.buyshield.com/Resources/images/widget-all.png) no-repeat 0 0;cursor:pointer" data-bg-position-change=\'{"def":"0px 0px","over":"-17px 0px","down":"0px 0px"}\'></span></div><div style="color:#555;border:1px solid #B3B3B3;border-top:none;background-color:#fff;padding:15px;border-radius:0 0 10px 10px;-moz-border-radius:0 0 10px 10px;-webkit-border-radius:0 0 10px 10px;line-height:19px"></div></div><div style="display:none;position:absolute;left:0px;top:0px;width:100%;height:100px;text-align:center;z-index:1000;background:transparent url(http://www.buyshield.com/Resources/images/jQueryUI/ui-bg_flat_0_aaaaaa_40x100_widget.png) 50% 50% repeat;opacity:0.40"></div><div><p>To save this quote enter your email address:</p><input type="text" style="border: 1px solid #CCCCCC;margin: 5px 0 0;padding: 1px;width: 150px;float:left" /><span style="color:#FFFFFF;background: url(\'http://www.buyshield.com/Resources/images/buttons/save_your_quote.png\') no-repeat scroll 0 0 transparent;float:right;font-size:11px;margin-top:4px;height:22px;width:92px;cursor:pointer;position:relative;display:block;line-height:22px;text-align:center;" data-bg-position-change=\'{"def":"0px 0px","over":"0px -23px","down":"0px -46px"}\' > Save your quote </span><div style="clear:both"></div></div>',iescroll:0,popItem:"iphone",AMTcat:"",q:null,matcharrayLength:0,scid:null||(typeof scid=="number"?scid:null),pcid:1||(typeof pcid=="number"?pcid:null)||1,priceRanges:[{Name:"Consumer electronics",Low:0,High:4999.99},{Name:"Cell Phones",Low:0,High:699.99},{Name:"Smart Phones and iPhones",Low:175,High:699.99},{Name:"Digital Cameras and Camcorders",Low:0,High:3999.99},{Name:"Plasma TVs",Low:750,High:4999.99},{Name:"DLP/Micro Display and Rear Projection TVs",Low:0,High:4999.99},{Name:"Hand-held power tools",Low:500,High:3999.99},{Name:"Desktop Computers",Low:0,High:4999.99},{Name:"Tablets and eReaders",Low:0,High:999.99},{Name:"Notebook Computers",Low:0,High:4999.99}],level1:null,level2:null,expandInitial:false,showFooter:true,roundTop:false,showLogo:true,openNewWindow:true,getQuoteURL:'http://service.buyshield.com/BSServices/',servicesUrl:'http://www.buyshield.com/Services/',widgetTarget:'#buyshieldwidget',title:'',arrivalMethod:2};var K=a(b.widgetTarget);var O=a(b.defaultHTML).filter("div");if(b.showLogo){if(a.browser.msie&&a.browser.version<=8){K.wrap("<div />").parent().css({width:"100%","text-align":"center"})}O=O.filter("div:gt(0)")}else{O=O.filter("div:not(:eq(1))")}var L=O.filter(":first");var Q=O.filter(":eq(1)").children("div").children("div");var N=Q.children("table").find("tr:first-child select");var d=Q.children("table").find("tr:nth-child(2)");var w=d.find("select");var f=Q.children("table").find("tr:nth-child(3), tr:nth-child(4)");var F=f.find("select");var z=Q.children("table").find("tr:nth-child(5) input:text");var D=Q.find("input:radio");var E=D.closest("span");var C=Q.find("label");var p=D.filter("[value=true]");var r=p.closest("span");var q=Q.find("label:contains(New)");var s=D.filter("[value=false]");var v=s.closest("span");var u=Q.find("label:contains(Used)");var c=Q.children("div:first");var n=c.find("span");var e=Q.children("div:eq(1)");var G=e.children("span");var B=e.find("h2");var P=e.children("a");var l=O.filter(":eq(2)").children("div:first-child");var m=l.parent();var j=O.filter(":eq(2)").children("div:last-child");var J=l.find("a");var A=l.find("img:first");var o=l.find("img:nth(1)");var g=O.filter(":eq(3)");var h=g.find("div:nth-child(1) > span:nth-child(2)");var y=O.filter(":eq(4)");var H=O.filter(":eq(5)");O.find("[data-bg-position-change]").each(function(){var t=a(this);var aA=a.parseJSON(t.attr("data-bg-position-change"));t.removeAttr("data-bg-position-change");t.mouseover(function(){a(this).css("background-position",aA.over)}).mousedown(function(){a(this).css("background-position",aA.down)}).mouseup(function(){a(this).css("background-position",aA.over)}).mouseout(function(){a(this).css("background-position",aA.def)})});if(b.showLogo){j.text("Get a Warranty Quote")}else{if(b.title!=""){L.find("h3").text(b.title)}}if(b.roundTop){L.css({"background-position":"0 -450px"})}if(!b.showFooter){l.remove();l=null;m.css({height:"14px","background-position":"0 -218px","margin-top":"-3px"});Q.css({"padding-bottom":"7px"})}if(b.expandInitial){if(b.showFooter){l.show()}j.hide()}else{j.click(function(){if(aj){Q.show()}else{Q.slideDown(300)}j.fadeOut("fast",l?function(){l.fadeIn("fast");j.remove()}:a.noop)})}if(b.openNewWindow){P.attr("target","_blank")}e.detach();(function(){var t=Q.children("p");var aB=ae();var aA=ad();p.attr({id:aA,name:aB});t.find("label:contains(New)").attr("for",aA);r.find("img").attr("data-radio-id",aA);aA=ad();s.attr({id:aA,name:aB});t.find("label:contains(Used)").attr("for",aA);v.find("img").attr("data-radio-id",aA);E.find("img").mouseover(function(){a(this).next("input:radio").is(":checked")?a(this).css("background-position","0 -113px"):a(this).css("background-position","0 -65px")}).mousedown(function(){a(this).next("input:radio").is(":checked")?a(this).css("background-position","0 -129px"):a(this).css("background-position","0 -81px")}).mouseup(function(){}).mouseout(function(){a(this).next("input:radio").is(":checked")?a(this).css("background-position","0 -97px"):a(this).css("background-position","0 -49px")});C.mouseover(function(){var aC=a(this).attr("for");a("input:radio[id="+aC+"]").is(":checked")?a("img[data-radio-id="+aC+"]").css("background-position","0 -113px"):a("img[data-radio-id="+aC+"]").css("background-position","0 -65px")}).mousedown(function(){var aC=a(this).attr("for");a("input:radio[id="+aC+"]").is(":checked")?a("img[data-radio-id="+aC+"]").css("background-position","0 -129px"):a("img[data-radio-id="+aC+"]").css("background-position","0 -81px")}).mouseup(function(){E.find("img").css("background-position","0 -49px");var aC=a(this).attr("for");a("img[data-radio-id="+aC+"]").css("background-position","0 -113px")}).mouseout(function(){var aC=a(this).attr("for");a("input:radio[id="+aC+"]").is(":checked")?a("img[data-radio-id="+aC+"]").css("background-position","0 -97px"):a("img[data-radio-id="+aC+"]").css("background-position","0 -49px")})})();O.find(".link").each(function(){var t=a(this).removeClass("link");var aA=t.attr("style");t.css({color:"#5D5D5D",cursor:"pointer","text-decoration":"underline"});var aC=t.attr("style");t.attr("style",aA);t.css({color:"#4D4D4D",cursor:"pointer","text-decoration":"underline"});var aB=t.attr("style");t.attr("style",aA);t.mouseover(function(){t.attr("style",aC)}).mousedown(function(){t.attr("style",aB)}).mouseup(function(){t.attr("style",aC)}).mouseout(function(){t.attr("style",aA)})});E.mouseup(function(){var aB=a(this).find("input:radio");var aG=aB.attr("name");var aD=!aB.is(":checked");var aE=a('input:radio[name="'+aG+'"]');var aF=aE.length;for(i=0;i<aF;i++){var aC=aE.eq(i);var aA=aC.get()[0];var t=aB.get()[0];if(aA==t){aC.attr("checked",true);aC.trigger("click");if(aD){aC.trigger("change")}}}for(i=0;i<aF;i++){var aC=aE.eq(i);var aA=aC.get()[0];var t=aB.get()[0];if(aA==t){aC.closest("span").find("img").css("background-position","0 -113px")}else{aC.closest("span").find("img").css("background-position","0 -49px")}}});O=O.filter(":lt(5)");var an={};function ab(){return{price:ac()||"",cat:b.level2||(w.visible()?w.val():""),isNew:p.is(":checked"),reqMfgrWarranty:F.find("option").size()?F.val():"null"}}function aw(t){if(typeof t!="function"){t=a.noop}if(!e.visible()){c.slideUp("fast",function(){c.detach();Q.children("p").after(e);e.slideDown("fast",function(){t(true)})})}t(false)}function af(){if(!c.visible()){e.slideUp("fast",function(){e.detach();Q.children("p").after(c);c.slideDown("fast")})}}function V(){var t=a.param(ab());if(typeof an[t]!="undefined"){var aA=an[t];if(new Date().getTime()-aA.added.getTime()>600000){delete an[t];return false}aq(aA.quote);return true}b.q=null;return false}function aq(aB){b.q=aB;var t=ab();var aA=a.param(t);an[aA]={quote:b.q,added:new Date()};B.text("$"+b.q.QuoteAmount);aw();P.attr("href","https://www.buyshield.com/purchase-extended-care-warranty.aspx?quoteid="+b.q.QuoteID)}function aa(){if(a.browser.msie&&a("div#BuyShield").css("position")=="absolute"){ar();var t=a("div#BuyShield");t.css("top",(t[0].offsetTop+parseInt(document.body.scrollTop))+"px")}return false}function ar(){if(a.browser.msie&&a("div#BuyShield").css("position")=="absolute"){b.iescroll=parseInt(a("div#BuyShield").css("top"))}return false}var Y=null;function az(aC,t,aD,aA){var aB=function(){var aH={width:g.width()};var aG={};if(typeof aD=="number"){aG.width=aD+"px"}g.css(aG);g.find("div:nth-child(1) > span:nth-child(1)").html(aC);if(typeof t=="string"){g.find("div:nth-child(2)").html(t)}else{g.find("div:nth-child(2)").empty().append(t)}var aI=a(window).height();var aF=Math.max((aI/2)-(g.height()/2),0)+"px";var aJ=a(window).width();var aE=Math.max((aJ/2)-(g.width()/2),0)+"px";g.css({top:aF,left:aE});g.find("div:nth-child(1) > span:nth-child(2)").bind("click",function(){g.trigger("close",[aA])});y.css({height:a(document).height()+"px",width:a(document).width()+"px"});a(window).resize(Y=function(){var aM=a(window).height();var aL=Math.max((aM/2)-(g.height()/2),0)+"px";var aN=a(window).width();var aK=Math.max((aN/2)-(g.width()/2),0)+"px";g.css({top:aL,left:aK})});g.fadeIn(200);y.fadeIn(200)};if(g.visible()){g.trigger("close",[aB])}else{aB()}}if(b.priceEl&&a(b.priceEl).length>0){var ax=b.priceEl.text().match(/(\d+|\.)/g);ax=(ax.length>1)?ax.join(""):ax;a("#BuyShieldPrice").val(ax.toFixed(2))}if(b.catEl&&a(b.catEl).length>0){var X=b.catEl.text();a("#BuyShieldCategory option").each(function(aA,t){if(a(t).text()===X){a("#BuyShieldCategory")[0].options[aA].selected=true;return false}})}a.each(U,function(){var t=a('<option value="'+this.CategoryId+'"></option>');t.text(this.Name);N.append(t);T[String(this.CategoryId)]=this;a.each(this.Categories,function(){T[String(this.CategoryId)]=this})});var am=/^([0-9]+(?:\.[0-9]{0,2})?|\.[0-9]{1,2})/;function ac(){var aA=z.val();var t=am.exec(aA);if(t&&t.length){aA=parseFloat(t[1])}else{aA=null}return aA}function W(){f.hide();F.empty();var t=ab();if(t.cat!=""){var aB=T[t.cat];var aA=t.isNew?1:0;if(aB.WarrantyLengths&&aB.WarrantyLengths[aA].length){a.each(aB.WarrantyLengths[aA],function(aD){var aE;if(this>=12&&this%12==0){aE=this/12+"-year Mfgr. Warranty"}else{if(this==3){aE="90-day Mfgr. Warranty"}else{aE=this+"-month Mfgr. Warranty"}}var aC=a("<option></option");aC.val(String(this));aC.text(aE);if(aD==0){aC.attr("selected",true)}F.append(aC)});if(aB.WarrantyLengths[aA].length>1){f.show()}}}}N.change(function(){var t=a(this);var aB=t.val();d.hide();if(aB!=""){var aA=T[aB];w.empty();w.append('<option value="">Select...</option>');a.each(aA.Categories,function(){var aC=a('<option value="'+this.CategoryId+'"></option>');aC.text(this.Name);w.append(aC)});d.show()}af()});w.change(function(){var t=a(this);var aA=t.val();W(aA);if(!V()){af()}});D.change(function(){if(w){if(w.visible()){w.trigger("change")}}else{W(String(ab().cat));if(!V()){af()}}});F.change(function(){if(!V()){af()}});n.click(function(t){t.preventDefault();t.stopPropagation();var aA=ab();if((w&&!w.visible())||aA.cat==""){au("You're Almost There!","Please select a specific item.");return}if(aA.price){z.val(aA.price);ak(aA.price,aA.isNew,aA.cat,aA.reqMfgrWarranty)}else{au("You're Almost There!","Please enter an item price so that we can get your quote for you.");return false}});J.click(function(){z.val("");if(N){N.find("option:first").attr("selected",true);d.hide();f.hide()}else{if(w){w.find("option:first").attr("selected",true);w.trigger("change")}}p.trigger("mouseup");an={};V();af()});z.bind("keyup",function(t){if(!V()){af()}}).bind("keydown",function(t){var aA=parseInt(t.which||t.keyCode);if(aA==13){t.preventDefault();t.stopPropagation();if(!V()){n.click()}}});G.click(function(t){t.preventDefault();t.stopPropagation();if(b.q){ap(function(aB,aC,aA){Z.call(b.q,aB,aC,aA)})}else{au("Skipping A Step?","<p>Please go back and get a quote before saving it.</p>")}});A.click(function(t){var aA=[];a.each(b.priceRanges,function(){aA.push(a.extend({},this))});av(aA)});o.click(function(t){au("A Helpful Hint","Quotes for eBay items are based on the current price, category, and condition of the item.  Please feel free to adjust any of these fields. For example, you can enter the price you believe the auction will close at.")});var al={width:g.width()};g.bind("close",function(t,aA){if(Y){a(window).unbind("resize",Y);Y=null}g.fadeOut(200,function(){g.css(al)});y.fadeOut(200,typeof aA=="function"?aA:a.noop);g.find("div:nth-child(1) > span:nth-child(2)").unbind("click")});a(window).resize(function(){y.css({height:a(document).height()+"px",width:a(document).width()+"px"})});a(window).trigger("resize");function Z(aA,aB,t){if(typeof aB!="function"){aB=a.noop}var aD={quoteID:this.QuoteID,quoteIDs:this.QuoteIDs.toString()};if(t&&typeof t=="object"){aC=a.extend({},t,aD)}else{var aC=aD}var aE=encodeURIComponent(a.param(aC));var aF=b.servicesUrl+"Email/SendQuote?quoteid="+aE+"&email="+encodeURIComponent(aA)+"&callback=?";a.getJSON(aF,function(aG){if(aG.Error){if(aG.Error=="Invalid Email"){aB({Status:"invalid",Title:"Unable to save quote",Body:"<p>Please enter a valid email address</p>"})}else{aB({Status:"failure",Title:"Unable to save quote",Body:'<p>We were unable to save your quote.</p><p>Please try again or <a href="http://www.buyshield.com/Support.aspx">contact support</a> if the problem persists.</p>'})}}else{aB({Status:"success",Title:"We'll Save That For You",Body:"<p>Your quote has been saved!</p><p>You will receive an email shortly with information on how to claim your quote later.</p>"})}}).error(function(aG){aB({Status:"invalid",Title:"Unable to save quote",Body:"<p>Please enter a valid email address</p>"})})}function ak(aC,aB,t,aD){if(t!=""&&aC!=""){try{var aE=b.getQuoteURL+'?RequestQuote={"BuyShieldCategoryId":'+t+',"IsNew":'+aB+',"ItemPrice":'+aC+',"MethodOfArrival":'+b.arrivalMethod+',"ManufacturerWarranty":'+aD+',"SCID":'+(typeof b.scid=="number"?b.scid:"null")+',"PCID":'+(typeof b.pcid=="number"?b.pcid:"null")+"}&callback=?";a.getJSON(aE,function(aG){if(aG.Error){if(aG.Error.ErrorCode&&aG.Error.ErrorCode=="7"){au("There Was an Error...",aG.Error.ErrorDescription);z.val("")}else{au("There Was an Error...","No warranty is available for the specified item.")}}else{function aF(aI){switch(aI){case 1:return"one";case 2:return"two";case 3:return"three";case 4:return"four";case 5:return"five";case 6:return"six";case 7:return"seven";case 8:return"eight";case 9:return"nine";case 10:return"ten";case 11:return"eleven";case 12:return"twelve";default:return string(aI)}}var aH={QuoteIDs:aG.WarrantyQuoteIDs};a(aG.WarrantyQuotes).each(function(aI,aJ){if(aJ.WarrantyType.IsDefaultWarrantyLength){var aK;if((aJ.WarrantyLengthMonths%12)==0){var aL=aJ.WarrantyLengthMonths/12;aK=aF(aL)+(aL>1?" years":" year")}else{aK=aF(aJ.WarrantyLengthMonths)+(aJ.WarrantyLengthMonths>1?" months":" month")}e.find("p span span").text(aK);aH.QuoteAmount=aJ.QuoteAmount;aH.QuoteID=aJ.WarrantyQuoteID}});aq(aH)}})}catch(aA){console.log(aA)}}else{if(b.matcharrayLength==0){a("#BuyShieldPurchase").siblings("h2").remove();a("#bsebayidortitle").siblings("h2").remove().end().after('<h2 class="widgetError">No warranty is available for the item. Check your spelling...</h2>')}}if(typeof $q!="undefined"&&$q&&$q.item&&$q.item.match(/^\d{5,}$/)){b.eBayItemID=""}}BuyShieldWidgetTriggerSaveQuote=function(aF,t,aA){var aG=typeof aF;if(aG=="undefined"||aF==null){aF==b.q||null}if(aF==null){if(typeof aA=="function"){aA(null)}return}if(aG=="object"&&typeof aF.QuoteID=="number"&&aF.QuoteID>0&&aF.QuoteID==parseInt(aF.QuoteID)&&(typeof aF.QuoteIDs=="undefined"||aF.QuoteIDs!=null&&aF.QuoteIDs.constructor.toString().indexOf("Array")!=-1)){var aC=typeof aA=="function";if(typeof aF.QuoteIDs!="undefined"){var aB={};var aH=true;for(var aD in aF.QuoteIDs){var aE=aF.QuoteIDs[aD];if(typeof aE=="number"&&aE>0&&aE==parseInt(aE)&&typeof aB[String(aE)]=="undefined"){aB[String(aE)]=aE}else{aH=false;break}}if(typeof aB[String(aF.QuoteID)]=="number"){if(aC){aA(function(aJ,aK,aI){Z.call(aF,aJ,aK,aI)})}else{ap(function(aI,aJ){Z.call(aF,aI,aJ,t)})}return}}else{if(aC){aA(function(aJ,aK,aI){Z.call(aF,aJ,aK,aI)})}else{ap(function(aI,aJ){Z.call(aF,aI,aJ,t)})}return}}if(typeof aA=="function"){aA("Invalid Quote")}};if(U.length==1){b.level1=U[0].CategoryId;var x=N.find("option[value="+b.level1+"]");x.attr("selected",true);x.trigger("change");var M=N.closest("td");N.remove();N=null;M.append(w);d.remove();d=null;if(U[0].Categories.length==1){b.level2=U[0].Categories[0].CategoryId;x=w.find("option[value="+b.level2+"]");M.closest("tr").remove();M=null;w=null;z.css("width","184px");W();f.eq(0).find("td").css("padding","0px");var I=f.eq(1)}}var R=function(){K.empty().append(O).css("z-index",1900);if(b.expandInitial){if(aj){Q.show()}else{Q.slideDown(300)}}a("body").append(g,y);R=null};var k=K.find("div:nth-child(2) > img");if(k.size()){k.fadeOut(500,R)}else{R()}});jQueryBS.noConflict();delete window.jQueryBS;
