(function(e,t){function n(e){return B.isWindow(e)?e:e.nodeType===9?e.defaultView||e.parentWindow:!1}function r(e){if(!hn[e]){var t=D.body,n=B("<"+e+">").appendTo(t),r=n.css("display");n.remove();if(r==="none"||r===""){pn||(pn=D.createElement("iframe"),pn.frameBorder=pn.width=pn.height=0),t.appendChild(pn);if(!dn||!pn.createElement)dn=(pn.contentWindow||pn.contentDocument).document,dn.write((D.compatMode==="CSS1Compat"?"<!doctype html>":"")+"<html><body>"),dn.close();n=dn.createElement(e),dn.body.appendChild(n),r=B.css(n,"display"),t.removeChild(pn)}hn[e]=r}return hn[e]}function i(e,t){var n={};B.each(yn.concat.apply([],yn.slice(0,t)),function(){n[this]=e});return n}function s(){bn=t}function o(){setTimeout(s,0);return bn=B.now()}function u(){try{return new e.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}function a(){try{return new e.XMLHttpRequest}catch(t){}}function f(e,n){e.dataFilter&&(n=e.dataFilter(n,e.dataType));var r=e.dataTypes,i={},s,o,u=r.length,a,f=r[0],l,c,h,p,d;for(s=1;s<u;s++){if(s===1)for(o in e.converters)typeof o=="string"&&(i[o.toLowerCase()]=e.converters[o]);l=f,f=r[s];if(f==="*")f=l;else if(l!=="*"&&l!==f){c=l+" "+f,h=i[c]||i["* "+f];if(!h){d=t;for(p in i){a=p.split(" ");if(a[0]===l||a[0]==="*"){d=i[a[1]+" "+f];if(d){p=i[p],p===!0?h=d:d===!0&&(h=p);break}}}}!h&&!d&&B.error("No conversion from "+c.replace(" "," to ")),h!==!0&&(n=h?h(n):d(p(n)))}}return n}function l(e,n,r){var i=e.contents,s=e.dataTypes,o=e.responseFields,u,a,f,l;for(a in o)a in r&&(n[o[a]]=r[a]);while(s[0]==="*")s.shift(),u===t&&(u=e.mimeType||n.getResponseHeader("content-type"));if(u)for(a in i)if(i[a]&&i[a].test(u)){s.unshift(a);break}if(s[0]in r)f=s[0];else{for(a in r){if(!s[0]||e.converters[a+" "+s[0]]){f=a;break}l||(l=a)}f=f||l}if(f){f!==s[0]&&s.unshift(f);return r[f]}}function c(e,t,n,r){if(B.isArray(t))B.each(t,function(t,i){n||It.test(e)?r(e,i):c(e+"["+(typeof i=="object"||B.isArray(i)?t:"")+"]",i,n,r)});else if(!n&&t!=null&&typeof t=="object")for(var i in t)c(e+"["+i+"]",t[i],n,r);else r(e,t)}function h(e,n){var r,i,s=B.ajaxSettings.flatOptions||{};for(r in n)n[r]!==t&&((s[r]?e:i||(i={}))[r]=n[r]);i&&B.extend(!0,e,i)}function p(e,n,r,i,s,o){s=s||n.dataTypes[0],o=o||{},o[s]=!0;var u=e[s],a=0,f=u?u.length:0,l=e===en,c;for(;a<f&&(l||!c);a++)c=u[a](n,r,i),typeof c=="string"&&(!l||o[c]?c=t:(n.dataTypes.unshift(c),c=p(e,n,r,i,c,o)));(l||!c)&&!o["*"]&&(c=p(e,n,r,i,"*",o));return c}function d(e){return function(t,n){typeof t!="string"&&(n=t,t="*");if(B.isFunction(n)){var r=t.toLowerCase().split(Qt),i=0,s=r.length,o,u,a;for(;i<s;i++)o=r[i],a=/^\+/.test(o),a&&(o=o.substr(1)||"*"),u=e[o]=e[o]||[],u[a?"unshift":"push"](n)}}}function v(e,t,n){var r=t==="width"?e.offsetWidth:e.offsetHeight,i=t==="width"?Dt:Pt;if(r>0){n!=="border"&&B.each(i,function(){n||(r-=parseFloat(B.css(e,"padding"+this))||0),n==="margin"?r+=parseFloat(B.css(e,n+this))||0:r-=parseFloat(B.css(e,"border"+this+"Width"))||0});return r+"px"}r=Ht(e,t,t);if(r<0||r==null)r=e.style[t]||0;r=parseFloat(r)||0,n&&B.each(i,function(){r+=parseFloat(B.css(e,"padding"+this))||0,n!=="padding"&&(r+=parseFloat(B.css(e,"border"+this+"Width"))||0),n==="margin"&&(r+=parseFloat(B.css(e,n+this))||0)});return r+"px"}function m(e,t){t.src?B.ajax({url:t.src,async:!1,dataType:"script"}):B.globalEval((t.text||t.textContent||t.innerHTML||"").replace(Tt,"/*$0*/")),t.parentNode&&t.parentNode.removeChild(t)}function g(e){B.nodeName(e,"input")?y(e):"getElementsByTagName"in e&&B.grep(e.getElementsByTagName("input"),y)}function y(e){if(e.type==="checkbox"||e.type==="radio")e.defaultChecked=e.checked}function b(e){return"getElementsByTagName"in e?e.getElementsByTagName("*"):"querySelectorAll"in e?e.querySelectorAll("*"):[]}function w(e,t){var n;if(t.nodeType===1){t.clearAttributes&&t.clearAttributes(),t.mergeAttributes&&t.mergeAttributes(e),n=t.nodeName.toLowerCase();if(n==="object")t.outerHTML=e.outerHTML;else if(n!=="input"||e.type!=="checkbox"&&e.type!=="radio"){if(n==="option")t.selected=e.defaultSelected;else if(n==="input"||n==="textarea")t.defaultValue=e.defaultValue}else e.checked&&(t.defaultChecked=t.checked=e.checked),t.value!==e.value&&(t.value=e.value);t.removeAttribute(B.expando)}}function E(e,t){if(t.nodeType===1&&!!B.hasData(e)){var n=B.expando,r=B.data(e),i=B.data(t,r);if(r=r[n]){var s=r.events;i=i[n]=B.extend({},r);if(s){delete i.handle,i.events={};for(var o in s)for(var u=0,a=s[o].length;u<a;u++)B.event.add(t,o+(s[o][u].namespace?".":"")+s[o][u].namespace,s[o][u],s[o][u].data)}}}}function S(e,t){return B.nodeName(e,"table")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function x(e,t,n){t=t||0;if(B.isFunction(t))return B.grep(e,function(e,r){var i=!!t.call(e,r,e);return i===n});if(t.nodeType)return B.grep(e,function(e,r){return e===t===n});if(typeof t=="string"){var r=B.grep(e,function(e){return e.nodeType===1});if(ct.test(t))return B.filter(t,r,!n);t=B.filter(t,r)}return B.grep(e,function(e,r){return B.inArray(e,t)>=0===n})}function T(e){return!e||!e.parentNode||e.parentNode.nodeType===11}function N(e,t){return(e&&e!=="*"?e+".":"")+t.replace(Y,"`").replace(Z,"&")}function C(e){var t,n,r,i,s,o,u,a,f,l,c,h,p,d=[],v=[],m=B._data(this,"events");if(!(e.liveFired===this||!m||!m.live||e.target.disabled||e.button&&e.type==="click")){e.namespace&&(h=new RegExp("(^|\\.)"+e.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)")),e.liveFired=this;var g=m.live.slice(0);for(u=0;u<g.length;u++)s=g[u],s.origType.replace(Q,"")===e.type?v.push(s.selector):g.splice(u--,1);i=B(e.target).closest(v,e.currentTarget);for(a=0,f=i.length;a<f;a++){c=i[a];for(u=0;u<g.length;u++){s=g[u];if(c.selector===s.selector&&(!h||h.test(s.namespace))&&!c.elem.disabled){o=c.elem,r=null;if(s.preType==="mouseenter"||s.preType==="mouseleave")e.type=s.preType,r=B(e.relatedTarget).closest(s.selector)[0],r&&B.contains(o,r)&&(r=o);(!r||r!==o)&&d.push({elem:o,handleObj:s,level:c.level})}}}for(a=0,f=d.length;a<f;a++){i=d[a];if(n&&i.level>n)break;e.currentTarget=i.elem,e.data=i.handleObj.data,e.handleObj=i.handleObj,p=i.handleObj.origHandler.apply(i.elem,arguments);if(p===!1||e.isPropagationStopped()){n=i.level,p===!1&&(t=!1);if(e.isImmediatePropagationStopped())break}}return t}}function k(e,n,r){var i=B.extend({},r[0]);i.type=e,i.originalEvent={},i.liveFired=t,B.event.handle.call(n,i),i.isDefaultPrevented()&&r[0].preventDefault()}function L(){return!0}function A(){return!1}function O(e,n,r){var i=n+"defer",s=n+"queue",o=n+"mark",u=B.data(e,i,t,!0);u&&(r==="queue"||!B.data(e,s,t,!0))&&(r==="mark"||!B.data(e,o,t,!0))&&setTimeout(function(){!B.data(e,s,t,!0)&&!B.data(e,o,t,!0)&&(B.removeData(e,i,!0),u.resolve())},0)}function M(e){for(var t in e)if(t!=="toJSON")return!1;return!0}function _(e,n,r){if(r===t&&e.nodeType===1){var i="data-"+n.replace(q,"-$1").toLowerCase();r=e.getAttribute(i);if(typeof r=="string"){try{r=r==="true"?!0:r==="false"?!1:r==="null"?null:B.isNaN(r)?I.test(r)?B.parseJSON(r):r:parseFloat(r)}catch(s){}B.data(e,n,r)}else r=t}return r}var D=e.document,P=e.navigator,H=e.location,B=function(){function n(){if(!r.isReady){try{D.documentElement.doScroll("left")}catch(e){setTimeout(n,1);return}r.ready()}}var r=function(e,t){return new r.fn.init(e,t,o)},i=e.jQuery,s=e.$,o,u=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,a=/\S/,f=/^\s+/,l=/\s+$/,c=/\d/,h=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,p=/^[\],:{}\s]*$/,d=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,v=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,m=/(?:^|:|,)(?:\s*\[)+/g,g=/(webkit)[ \/]([\w.]+)/,y=/(opera)(?:.*version)?[ \/]([\w.]+)/,b=/(msie) ([\w.]+)/,w=/(mozilla)(?:.*? rv:([\w.]+))?/,E=/-([a-z]|[0-9])/ig,S=/^-ms-/,x=function(e,t){return(t+"").toUpperCase()},T=P.userAgent,N,C,k,L=Object.prototype.toString,A=Object.prototype.hasOwnProperty,O=Array.prototype.push,M=Array.prototype.slice,_=String.prototype.trim,H=Array.prototype.indexOf,B={};r.fn=r.prototype={constructor:r,init:function(e,n,i){var s,o,a,f;if(!e)return this;if(e.nodeType){this.context=this[0]=e,this.length=1;return this}if(e==="body"&&!n&&D.body){this.context=D,this[0]=D.body,this.selector=e,this.length=1;return this}if(typeof e=="string"){e.charAt(0)!=="<"||e.charAt(e.length-1)!==">"||e.length<3?s=u.exec(e):s=[null,e,null];if(s&&(s[1]||!n)){if(s[1]){n=n instanceof r?n[0]:n,f=n?n.ownerDocument||n:D,a=h.exec(e),a?r.isPlainObject(n)?(e=[D.createElement(a[1])],r.fn.attr.call(e,n,!0)):e=[f.createElement(a[1])]:(a=r.buildFragment([s[1]],[f]),e=(a.cacheable?r.clone(a.fragment):a.fragment).childNodes);return r.merge(this,e)}o=D.getElementById(s[2]);if(o&&o.parentNode){if(o.id!==s[2])return i.find(e);this.length=1,this[0]=o}this.context=D,this.selector=e;return this}return!n||n.jquery?(n||i).find(e):this.constructor(n).find(e)}if(r.isFunction(e))return i.ready(e);e.selector!==t&&(this.selector=e.selector,this.context=e.context);return r.makeArray(e,this)},selector:"",jquery:"1.6.4",length:0,size:function(){return this.length},toArray:function(){return M.call(this,0)},get:function(e){return e==null?this.toArray():e<0?this[this.length+e]:this[e]},pushStack:function(e,t,n){var i=this.constructor();r.isArray(e)?O.apply(i,e):r.merge(i,e),i.prevObject=this,i.context=this.context,t==="find"?i.selector=this.selector+(this.selector?" ":"")+n:t&&(i.selector=this.selector+"."+t+"("+n+")");return i},each:function(e,t){return r.each(this,e,t)},ready:function(e){r.bindReady(),C.done(e);return this},eq:function(e){return e===-1?this.slice(e):this.slice(e,+e+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(M.apply(this,arguments),"slice",M.call(arguments).join(","))},map:function(e){return this.pushStack(r.map(this,function(t,n){return e.call(t,n,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:O,sort:[].sort,splice:[].splice},r.fn.init.prototype=r.fn,r.extend=r.fn.extend=function(){var e,n,i,s,o,u,a=arguments[0]||{},f=1,l=arguments.length,c=!1;typeof a=="boolean"&&(c=a,a=arguments[1]||{},f=2),typeof a!="object"&&!r.isFunction(a)&&(a={}),l===f&&(a=this,--f);for(;f<l;f++)if((e=arguments[f])!=null)for(n in e){i=a[n],s=e[n];if(a===s)continue;c&&s&&(r.isPlainObject(s)||(o=r.isArray(s)))?(o?(o=!1,u=i&&r.isArray(i)?i:[]):u=i&&r.isPlainObject(i)?i:{},a[n]=r.extend(c,u,s)):s!==t&&(a[n]=s)}return a},r.extend({noConflict:function(t){e.$===r&&(e.$=s),t&&e.jQuery===r&&(e.jQuery=i);return r},isReady:!1,readyWait:1,holdReady:function(e){e?r.readyWait++:r.ready(!0)},ready:function(e){if(e===!0&&!--r.readyWait||e!==!0&&!r.isReady){if(!D.body)return setTimeout(r.ready,1);r.isReady=!0;if(e!==!0&&--r.readyWait>0)return;C.resolveWith(D,[r]),r.fn.trigger&&r(D).trigger("ready").unbind("ready")}},bindReady:function(){if(!C){C=r._Deferred();if(D.readyState==="complete")return setTimeout(r.ready,1);if(D.addEventListener)D.addEventListener("DOMContentLoaded",k,!1),e.addEventListener("load",r.ready,!1);else if(D.attachEvent){D.attachEvent("onreadystatechange",k),e.attachEvent("onload",r.ready);var t=!1;try{t=e.frameElement==null}catch(i){}D.documentElement.doScroll&&t&&n()}}},isFunction:function(e){return r.type(e)==="function"},isArray:Array.isArray||function(e){return r.type(e)==="array"},isWindow:function(e){return e&&typeof e=="object"&&"setInterval"in e},isNaN:function(e){return e==null||!c.test(e)||isNaN(e)},type:function(e){return e==null?String(e):B[L.call(e)]||"object"},isPlainObject:function(e){if(!e||r.type(e)!=="object"||e.nodeType||r.isWindow(e))return!1;try{if(e.constructor&&!A.call(e,"constructor")&&!A.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(n){return!1}var i;for(i in e);return i===t||A.call(e,i)},isEmptyObject:function(e){for(var t in e)return!1;return!0},error:function(e){throw e},parseJSON:function(t){if(typeof t!="string"||!t)return null;t=r.trim(t);if(e.JSON&&e.JSON.parse)return e.JSON.parse(t);if(p.test(t.replace(d,"@").replace(v,"]").replace(m,"")))return(new Function("return "+t))();r.error("Invalid JSON: "+t)},parseXML:function(n){var i,s;try{e.DOMParser?(s=new DOMParser,i=s.parseFromString(n,"text/xml")):(i=new ActiveXObject("Microsoft.XMLDOM"),i.async="false",i.loadXML(n))}catch(o){i=t}(!i||!i.documentElement||i.getElementsByTagName("parsererror").length)&&r.error("Invalid XML: "+n);return i},noop:function(){},globalEval:function(t){t&&a.test(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(S,"ms-").replace(E,x)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toUpperCase()===t.toUpperCase()},each:function(e,n,i){var s,o=0,u=e.length,a=u===t||r.isFunction(e);if(i){if(a){for(s in e)if(n.apply(e[s],i)===!1)break}else for(;o<u;)if(n.apply(e[o++],i)===!1)break}else if(a){for(s in e)if(n.call(e[s],s,e[s])===!1)break}else for(;o<u;)if(n.call(e[o],o,e[o++])===!1)break;return e},trim:_?function(e){return e==null?"":_.call(e)}:function(e){return e==null?"":(e+"").replace(f,"").replace(l,"")},makeArray:function(e,t){var n=t||[];if(e!=null){var i=r.type(e);e.length==null||i==="string"||i==="function"||i==="regexp"||r.isWindow(e)?O.call(n,e):r.merge(n,e)}return n},inArray:function(e,t){if(!t)return-1;if(H)return H.call(t,e);for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n;return-1},merge:function(e,n){var r=e.length,i=0;if(typeof n.length=="number")for(var s=n.length;i<s;i++)e[r++]=n[i];else while(n[i]!==t)e[r++]=n[i++];e.length=r;return e},grep:function(e,t,n){var r=[],i;n=!!n;for(var s=0,o=e.length;s<o;s++)i=!!t(e[s],s),n!==i&&r.push(e[s]);return r},map:function(e,n,i){var s,o,u=[],a=0,f=e.length,l=e instanceof r||f!==t&&typeof f=="number"&&(f>0&&e[0]&&e[f-1]||f===0||r.isArray(e));if(l)for(;a<f;a++)s=n(e[a],a,i),s!=null&&(u[u.length]=s);else for(o in e)s=n(e[o],o,i),s!=null&&(u[u.length]=s);return u.concat.apply([],u)},guid:1,proxy:function(e,n){if(typeof n=="string"){var i=e[n];n=e,e=i}if(!r.isFunction(e))return t;var s=M.call(arguments,2),o=function(){return e.apply(n,s.concat(M.call(arguments)))};o.guid=e.guid=e.guid||o.guid||r.guid++;return o},access:function(e,n,i,s,o,u){var a=e.length;if(typeof n=="object"){for(var f in n)r.access(e,f,n[f],s,o,i);return e}if(i!==t){s=!u&&s&&r.isFunction(i);for(var l=0;l<a;l++)o(e[l],n,s?i.call(e[l],l,o(e[l],n)):i,u);return e}return a?o(e[0],n):t},now:function(){return(new Date).getTime()},uaMatch:function(e){e=e.toLowerCase();var t=g.exec(e)||y.exec(e)||b.exec(e)||e.indexOf("compatible")<0&&w.exec(e)||[];return{browser:t[1]||"",version:t[2]||"0"}},sub:function(){function e(t,n){return new e.fn.init(t,n)}r.extend(!0,e,this),e.superclass=this,e.fn=e.prototype=this(),e.fn.constructor=e,e.sub=this.sub,e.fn.init=function(n,i){i&&i instanceof r&&!(i instanceof e)&&(i=e(i));return r.fn.init.call(this,n,i,t)},e.fn.init.prototype=e.fn;var t=e(D);return e},browser:{}}),r.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(e,t){B["[object "+t+"]"]=t.toLowerCase()}),N=r.uaMatch(T),N.browser&&(r.browser[N.browser]=!0,r.browser.version=N.version),r.browser.webkit&&(r.browser.safari=!0),a.test(" ")&&(f=/^[\s\xA0]+/,l=/[\s\xA0]+$/),o=r(D),D.addEventListener?k=function(){D.removeEventListener("DOMContentLoaded",k,!1),r.ready()}:D.attachEvent&&(k=function(){D.readyState==="complete"&&(D.detachEvent("onreadystatechange",k),r.ready())});return r}(),j="done fail isResolved isRejected promise then always pipe".split(" "),F=[].slice;B.extend({_Deferred:function(){var e=[],t,n,r,i={done:function(){if(!r){var n=arguments,s,o,u,a,f;t&&(f=t,t=0);for(s=0,o=n.length;s<o;s++)u=n[s],a=B.type(u),a==="array"?i.done.apply(i,u):a==="function"&&e.push(u);f&&i.resolveWith(f[0],f[1])}return this},resolveWith:function(i,s){if(!r&&!t&&!n){s=s||[],n=1;try{while(e[0])e.shift().apply(i,s)}finally{t=[i,s],n=0}}return this},resolve:function(){i.resolveWith(this,arguments);return this},isResolved:function(){return!!n||!!t},cancel:function(){r=1,e=[];return this}};return i},Deferred:function(e){var t=B._Deferred(),n=B._Deferred(),r;B.extend(t,{then:function(e,n){t.done(e).fail(n);return this},always:function(){return t.done.apply(t,arguments).fail.apply(this,arguments)},fail:n.done,rejectWith:n.resolveWith,reject:n.resolve,isRejected:n.isResolved,pipe:function(e,n){return B.Deferred(function(r){B.each({done:[e,"resolve"],fail:[n,"reject"]},function(e,n){var i=n[0],s=n[1],o;B.isFunction(i)?t[e](function(){o=i.apply(this,arguments),o&&B.isFunction(o.promise)?o.promise().then(r.resolve,r.reject):r[s+"With"](this===t?r:this,[o])}):t[e](r[s])})}).promise()},promise:function(e){if(e==null){if(r)return r;r=e={}}var n=j.length;while(n--)e[j[n]]=t[j[n]];return e}}),t.done(n.cancel).fail(t.cancel),delete t.cancel,e&&e.call(t,t);return t},when:function(e){function t(e){return function(t){n[e]=arguments.length>1?F.call(arguments,0):t,--s||o.resolveWith(o,F.call(n,0))}}var n=arguments,r=0,i=n.length,s=i,o=i<=1&&e&&B.isFunction(e.promise)?e:B.Deferred();if(i>1){for(;r<i;r++)n[r]&&B.isFunction(n[r].promise)?n[r].promise().then(t(r),o.reject):--s;s||o.resolveWith(o,n)}else o!==e&&o.resolveWith(o,i?[e]:[]);return o.promise()}}),B.support=function(){var e=D.createElement("div"),t=D.documentElement,n,r,i,s,o,u,a,f,l,c,h,p,d,v,m,g,y;e.setAttribute("className","t"),e.innerHTML="   <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/>",n=e.getElementsByTagName("*"),r=e.getElementsByTagName("a")[0];if(!n||!n.length||!r)return{};i=D.createElement("select"),s=i.appendChild(D.createElement("option")),o=e.getElementsByTagName("input")[0],a={leadingWhitespace:e.firstChild.nodeType===3,tbody:!e.getElementsByTagName("tbody").length,htmlSerialize:!!e.getElementsByTagName("link").length,style:/top/.test(r.getAttribute("style")),hrefNormalized:r.getAttribute("href")==="/a",opacity:/^0.55$/.test(r.style.opacity),cssFloat:!!r.style.cssFloat,checkOn:o.value==="on",optSelected:s.selected,getSetAttribute:e.className!=="t",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0},o.checked=!0,a.noCloneChecked=o.cloneNode(!0).checked,i.disabled=!0,a.optDisabled=!s.disabled;try{delete e.test}catch(b){a.deleteExpando=!1}!e.addEventListener&&e.attachEvent&&e.fireEvent&&(e.attachEvent("onclick",function(){a.noCloneEvent=!1}),e.cloneNode(!0).fireEvent("onclick")),o=D.createElement("input"),o.value="t",o.setAttribute("type","radio"),a.radioValue=o.value==="t",o.setAttribute("checked","checked"),e.appendChild(o),f=D.createDocumentFragment(),f.appendChild(e.firstChild),a.checkClone=f.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="",e.style.width=e.style.paddingLeft="1px",l=D.getElementsByTagName("body")[0],h=D.createElement(l?"div":"body"),p={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"},l&&B.extend(p,{position:"absolute",left:"-1000px",top:"-1000px"});for(g in p)h.style[g]=p[g];h.appendChild(e),c=l||t,c.insertBefore(h,c.firstChild),a.appendChecked=o.checked,a.boxModel=e.offsetWidth===2,"zoom"in e.style&&(e.style.display="inline",e.style.zoom=1,a.inlineBlockNeedsLayout=e.offsetWidth===2,e.style.display="",e.innerHTML="<div style='width:4px;'></div>",a.shrinkWrapBlocks=e.offsetWidth!==2),e.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>",d=e.getElementsByTagName("td"),y=d[0].offsetHeight===0,d[0].style.display="",d[1].style.display="none",a.reliableHiddenOffsets=y&&d[0].offsetHeight===0,e.innerHTML="",D.defaultView&&D.defaultView.getComputedStyle&&(u=D.createElement("div"),u.style.width="0",u.style.marginRight="0",e.appendChild(u),a.reliableMarginRight=(parseInt((D.defaultView.getComputedStyle(u,null)||{marginRight:0}).marginRight,10)||0)===0),h.innerHTML="",c.removeChild(h);if(e.attachEvent)for(g in{submit:1,change:1,focusin:1})m="on"+g,y=m in e,y||(e.setAttribute(m,"return;"),y=typeof e[m]=="function"),a[g+"Bubbles"]=y;h=f=i=s=l=u=e=o=null;return a}(),B.boxModel=B.support.boxModel;var I=/^(?:\{.*\}|\[.*\])$/,q=/([A-Z])/g;B.extend({cache:{},uuid:0,expando:"jQuery"+(B.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(e){e=e.nodeType?B.cache[e[B.expando]]:e[B.expando];return!!e&&!M(e)},data:function(e,n,r,i){if(!!B.acceptData(e)){var s,o,u=B.expando,a=typeof n=="string",f=e.nodeType,l=f?B.cache:e,c=f?e[B.expando]:e[B.expando]&&B.expando;if((!c||i&&c&&l[c]&&!l[c][u])&&a&&r===t)return;c||(f?e[B.expando]=c=++B.uuid:c=B.expando),l[c]||(l[c]={},f||(l[c].toJSON=B.noop));if(typeof n=="object"||typeof n=="function")i?l[c][u]=B.extend(l[c][u],n):l[c]=B.extend(l[c],n);s=l[c],i&&(s[u]||(s[u]={}),s=s[u]),r!==t&&(s[B.camelCase(n)]=r);if(n==="events"&&!s[n])return s[u]&&s[u].events;a?(o=s[n],o==null&&(o=s[B.camelCase(n)])):o=s;return o}},removeData:function(e,t,n){if(!!B.acceptData(e)){var r,i=B.expando,s=e.nodeType,o=s?B.cache:e,u=s?e[B.expando]:B.expando;if(!o[u])return;if(t){r=n?o[u][i]:o[u];if(r){r[t]||(t=B.camelCase(t)),delete r[t];if(!M(r))return}}if(n){delete o[u][i];if(!M(o[u]))return}var a=o[u][i];B.support.deleteExpando||!o.setInterval?delete o[u]:o[u]=null,a?(o[u]={},s||(o[u].toJSON=B.noop),o[u][i]=a):s&&(B.support.deleteExpando?delete e[B.expando]:e.removeAttribute?e.removeAttribute(B.expando):e[B.expando]=null)}},_data:function(e,t,n){return B.data(e,t,n,!0)},acceptData:function(e){if(e.nodeName){var t=B.noData[e.nodeName.toLowerCase()];if(t)return t!==!0&&e.getAttribute("classid")===t}return!0}}),B.fn.extend({data:function(e,n){var r=null;if(typeof e=="undefined"){if(this.length){r=B.data(this[0]);if(this[0].nodeType===1){var i=this[0].attributes,s;for(var o=0,u=i.length;o<u;o++)s=i[o].name,s.indexOf("data-")===0&&(s=B.camelCase(s.substring(5)),_(this[0],s,r[s]))}}return r}if(typeof e=="object")return this.each(function(){B.data(this,e)});var a=e.split(".");a[1]=a[1]?"."+a[1]:"";if(n===t){r=this.triggerHandler("getData"+a[1]+"!",[a[0]]),r===t&&this.length&&(r=B.data(this[0],e),r=_(this[0],e,r));return r===t&&a[1]?this.data(a[0]):r}return this.each(function(){var t=B(this),r=[a[0],n];t.triggerHandler("setData"+a[1]+"!",r),B.data(this,e,n),t.triggerHandler("changeData"+a[1]+"!",r)})},removeData:function(e){return this.each(function(){B.removeData(this,e)})}}),B.extend({_mark:function(e,n){e&&(n=(n||"fx")+"mark",B.data(e,n,(B.data(e,n,t,!0)||0)+1,!0))},_unmark:function(e,n,r){e!==!0&&(r=n,n=e,e=!1);if(n){r=r||"fx";var i=r+"mark",s=e?0:(B.data(n,i,t,!0)||1)-1;s?B.data(n,i,s,!0):(B.removeData(n,i,!0),O(n,r,"mark"))}},queue:function(e,n,r){if(e){n=(n||"fx")+"queue";var i=B.data(e,n,t,!0);r&&(!i||B.isArray(r)?i=B.data(e,n,B.makeArray(r),!0):i.push(r));return i||[]}},dequeue:function(e,t){t=t||"fx";var n=B.queue(e,t),r=n.shift(),i;r==="inprogress"&&(r=n.shift()),r&&(t==="fx"&&n.unshift("inprogress"),r.call(e,function(){B.dequeue(e,t)})),n.length||(B.removeData(e,t+"queue",!0),O(e,t,"queue"))}}),B.fn.extend({queue:function(e,n){typeof e!="string"&&(n=e,e="fx");if(n===t)return B.queue(this[0],e);return this.each(function(){var t=B.queue(this,e,n);e==="fx"&&t[0]!=="inprogress"&&B.dequeue(this,e)})},dequeue:function(e){return this.each(function(){B.dequeue(this,e)})},delay:function(e,t){e=B.fx?B.fx.speeds[e]||e:e,t=t||"fx";return this.queue(t,function(){var n=this;setTimeout(function(){B.dequeue(n,t)},e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,n){function r(){--u||i.resolveWith(s,[s])}typeof e!="string"&&(n=e,e=t),e=e||"fx";var i=B.Deferred(),s=this,o=s.length,u=1,a=e+"defer",f=e+"queue",l=e+"mark",c;while(o--)if(c=B.data(s[o],a,t,!0)||(B.data(s[o],f,t,!0)||B.data(s[o],l,t,!0))&&B.data(s[o],a,B._Deferred(),!0))u++,c.done(r);r();return i.promise()}});var R=/[\n\t\r]/g,U=/\s+/,z=/\r/g,W=/^(?:button|input)$/i,X=/^(?:button|input|object|select|textarea)$/i,V=/^a(?:rea)?$/i,$=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,J,K;B.fn.extend({attr:function(e,t){return B.access(this,e,t,!0,B.attr)},removeAttr:function(e){return this.each(function(){B.removeAttr(this,e)})},prop:function(e,t){return B.access(this,e,t,!0,B.prop)},removeProp:function(e){e=B.propFix[e]||e;return this.each(function(){try{this[e]=t,delete this[e]}catch(n){}})},addClass:function(e){var t,n,r,i,s,o,u;if(B.isFunction(e))return this.each(function(t){B(this).addClass(e.call(this,t,this.className))});if(e&&typeof e=="string"){t=e.split(U);for(n=0,r=this.length;n<r;n++){i=this[n];if(i.nodeType===1)if(!i.className&&t.length===1)i.className=e;else{s=" "+i.className+" ";for(o=0,u=t.length;o<u;o++)~s.indexOf(" "+t[o]+" ")||(s+=t[o]+" ");i.className=B.trim(s)}}}return this},removeClass:function(e){var n,r,i,s,o,u,a;if(B.isFunction(e))return this.each(function(t){B(this).removeClass(e.call(this,t,this.className))});if(e&&typeof e=="string"||e===t){n=(e||"").split(U);for(r=0,i=this.length;r<i;r++){s=this[r];if(s.nodeType===1&&s.className)if(e){o=(" "+s.className+" ").replace(R," ");for(u=0,a=n.length;u<a;u++)o=o.replace(" "+n[u]+" "," ");s.className=B.trim(o)}else s.className=""}}return this},toggleClass:function(e,t){var n=typeof e,r=typeof t=="boolean";if(B.isFunction(e))return this.each(function(n){B(this).toggleClass(e.call(this,n,this.className,t),t)});return this.each(function(){if(n==="string"){var i,s=0,o=B(this),u=t,a=e.split(U);while(i=a[s++])u=r?u:!o.hasClass(i),o[u?"addClass":"removeClass"](i)}else if(n==="undefined"||n==="boolean")this.className&&B._data(this,"__className__",this.className),this.className=this.className||e===!1?"":B._data(this,"__className__")||""})},hasClass:function(e){var t=" "+e+" ";for(var n=0,r=this.length;n<r;n++)if(this[n].nodeType===1&&(" "+this[n].className+" ").replace(R," ").indexOf(t)>-1)return!0;return!1},val:function(e){var n,r,i=this[0];if(!arguments.length){if(i){n=B.valHooks[i.nodeName.toLowerCase()]||B.valHooks[i.type];if(n&&"get"in n&&(r=n.get(i,"value"))!==t)return r;r=i.value;return typeof r=="string"?r.replace(z,""):r==null?"":r}return t}var s=B.isFunction(e);return this.each(function(r){var i=B(this),o;if(this.nodeType===1){s?o=e.call(this,r,i.val()):o=e,o==null?o="":typeof o=="number"?o+="":B.isArray(o)&&(o=B.map(o,function(e){return e==null?"":e+""})),n=B.valHooks[this.nodeName.toLowerCase()]||B.valHooks[this.type];if(!n||!("set"in n)||n.set(this,o,"value")===t)this.value=o}})}}),B.extend({valHooks:{option:{get:function(e){var t=e.attributes.value;return!t||t.specified?e.value:e.text}},select:{get:function(e){var t,n=e.selectedIndex,r=[],i=e.options,s=e.type==="select-one";if(n<0)return null;for(var o=s?n:0,u=s?n+1:i.length;o<u;o++){var a=i[o];if(a.selected&&(B.support.optDisabled?!a.disabled:a.getAttribute("disabled")===null)&&(!a.parentNode.disabled||!B.nodeName(a.parentNode,"optgroup"))){t=B(a).val();if(s)return t;r.push(t)}}if(s&&!r.length&&i.length)return B(i[n]).val();return r},set:function(e,t){var n=B.makeArray(t);B(e).find("option").each(function(){this.selected=B.inArray(B(this).val(),n)>=0}),n.length||(e.selectedIndex=-1);return n}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attrFix:{tabindex:"tabIndex"},attr:function(e,n,r,i){var s=e.nodeType;if(!e||s===3||s===8||s===2)return t;if(i&&n in B.attrFn)return B(e)[n](r);if(!("getAttribute"in e))return B.prop(e,n,r);var o,u,a=s!==1||!B.isXMLDoc(e);a&&(n=B.attrFix[n]||n,u=B.attrHooks[n],u||($.test(n)?u=K:J&&(u=J)));if(r!==t){if(r===null){B.removeAttr(e,n);return t}if(u&&"set"in u&&a&&(o=u.set(e,r,n))!==t)return o;e.setAttribute(n,""+r);return r}if(u&&"get"in u&&a&&(o=u.get(e,n))!==null)return o;o=e.getAttribute(n);return o===null?t:o},removeAttr:function(e,t){var n;e.nodeType===1&&(t=B.attrFix[t]||t,B.attr(e,t,""),e.removeAttribute(t),$.test(t)&&(n=B.propFix[t]||t)in e&&(e[n]=!1))},attrHooks:{type:{set:function(e,t){if(W.test(e.nodeName)&&e.parentNode)B.error("type property can't be changed");else if(!B.support.radioValue&&t==="radio"&&B.nodeName(e,"input")){var n=e.value;e.setAttribute("type",t),n&&(e.value=n);return t}}},value:{get:function(e,t){if(J&&B.nodeName(e,"button"))return J.get(e,t);return t in e?e.value:null},set:function(e,t,n){if(J&&B.nodeName(e,"button"))return J.set(e,t,n);e.value=t}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(e,n,r){var i=e.nodeType;if(!e||i===3||i===8||i===2)return t;var s,o,u=i!==1||!B.isXMLDoc(e);u&&(n=B.propFix[n]||n,o=B.propHooks[n]);return r!==t?o&&"set"in o&&(s=o.set(e,r,n))!==t?s:e[n]=r:o&&"get"in o&&(s=o.get(e,n))!==null?s:e[n]},propHooks:{tabIndex:{get:function(e){var n=e.getAttributeNode("tabindex");return n&&n.specified?parseInt(n.value,10):X.test(e.nodeName)||V.test(e.nodeName)&&e.href?0:t}}}}),B.attrHooks.tabIndex=B.propHooks.tabIndex,K={get:function(e,n){var r;return B.prop(e,n)===!0||(r=e.getAttributeNode(n))&&r.nodeValue!==!1?n.toLowerCase():t},set:function(e,t,n){var r;t===!1?B.removeAttr(e,n):(r=B.propFix[n]||n,r in e&&(e[r]=!0),e.setAttribute(n,n.toLowerCase()));return n}},B.support.getSetAttribute||(J=B.valHooks.button={get:function(e,n){var r;r=e.getAttributeNode(n);return r&&r.nodeValue!==""?r.nodeValue:t},set:function(e,t,n){var r=e.getAttributeNode(n);r||(r=D.createAttribute(n),e.setAttributeNode(r));return r.nodeValue=t+""}},B.each(["width","height"],function(e,t){B.attrHooks[t]=B.extend(B.attrHooks[t],{set:function(e,n){if(n===""){e.setAttribute(t,"auto");return n}}})})),B.support.hrefNormalized||B.each(["href","src","width","height"],function(e,n){B.attrHooks[n]=B.extend(B.attrHooks[n],{get:function(e){var r=e.getAttribute(n,2);return r===null?t:r}})}),B.support.style||(B.attrHooks.style={get:function(e){return e.style.cssText.toLowerCase()||t},set:function(e,t){return e.style.cssText=""+t}}),B.support.optSelected||(B.propHooks.selected=B.extend(B.propHooks.selected,{get:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex);return null}})),B.support.checkOn||B.each(["radio","checkbox"],function(){B.valHooks[this]={get:function(e){return e.getAttribute("value")===null?"on":e.value}}}),B.each(["radio","checkbox"],function(){B.valHooks[this]=B.extend(B.valHooks[this],{set:function(e,t){if(B.isArray(t))return e.checked=B.inArray(B(e).val(),t)>=0}})});var Q=/\.(.*)$/,G=/^(?:textarea|input|select)$/i,Y=/\./g,Z=/ /g,et=/[^\w\s.|`]/g,tt=function(e){return e.replace(et,"\\$&")};B.event={add:function(e,n,r,i){if(e.nodeType!==3&&e.nodeType!==8){if(r===!1)r=A;else if(!r)return;var s,o;r.handler&&(s=r,r=s.handler),r.guid||(r.guid=B.guid++);var u=B._data(e);if(!u)return;var a=u.events,f=u.handle;a||(u.events=a={}),f||(u.handle=f=function(e){return typeof B!="undefined"&&(!e||B.event.triggered!==e.type)?B.event.handle.apply(f.elem,arguments):t}),f.elem=e,n=n.split(" ");var l,c=0,h;while(l=n[c++]){o=s?B.extend({},s):{handler:r,data:i},l.indexOf(".")>-1?(h=l.split("."),l=h.shift(),o.namespace=h.slice(0).sort().join(".")):(h=[],o.namespace=""),o.type=l,o.guid||(o.guid=r.guid);var p=a[l],d=B.event.special[l]||{};if(!p){p=a[l]=[];if(!d.setup||d.setup.call(e,i,h,f)===!1)e.addEventListener?e.addEventListener(l,f,!1):e.attachEvent&&e.attachEvent("on"+l,f)}d.add&&(d.add.call(e,o),o.handler.guid||(o.handler.guid=r.guid)),p.push(o),B.event.global[l]=!0}e=null}},global:{},remove:function(e,n,r,i){if(e.nodeType!==3&&e.nodeType!==8){r===!1&&(r=A);var s,o,u,a,f=0,l,c,h,p,d,v,m,g=B.hasData(e)&&B._data(e),y=g&&g.events;if(!g||!y)return;n&&n.type&&(r=n.handler,n=n.type);if(!n||typeof n=="string"&&n.charAt(0)==="."){n=n||"";for(o in y)B.event.remove(e,o+n);return}n=n.split(" ");while(o=n[f++]){m=o,v=null,l=o.indexOf(".")<0,c=[],l||(c=o.split("."),o=c.shift(),h=new RegExp("(^|\\.)"+B.map(c.slice(0).sort(),tt).join("\\.(?:.*\\.)?")+"(\\.|$)")),d=y[o];if(!d)continue;if(!r){for(a=0;a<d.length;a++){v=d[a];if(l||h.test(v.namespace))B.event.remove(e,m,v.handler,a),d.splice(a--,1)}continue}p=B.event.special[o]||{};for(a=i||0;a<d.length;a++){v=d[a];if(r.guid===v.guid){if(l||h.test(v.namespace))i==null&&d.splice(a--,1),p.remove&&p.remove.call(e,v);if(i!=null)break}}if(d.length===0||i!=null&&d.length===1)(!p.teardown||p.teardown.call(e,c)===!1)&&B.removeEvent(e,o,g.handle),s=null,delete y[o]}if(B.isEmptyObject(y)){var b=g.handle;b&&(b.elem=null),delete g.events,delete g.handle,B.isEmptyObject(g)&&B.removeData(e,t,!0)}}},customEvent:{getData:!0,setData:!0,changeData:!0},trigger:function(n,r,i,s){var o=n.type||n,u=[],a;o.indexOf("!")>=0&&(o=o.slice(0,-1),a=!0),o.indexOf(".")>=0&&(u=o.split("."),o=u.shift(),u.sort());if(!!i&&!B.event.customEvent[o]||!!B.event.global[o]){n=typeof n=="object"?n[B.expando]?n:new B.Event(o,n):new B.Event(o),n.type=o,n.exclusive=a,n.namespace=u.join("."),n.namespace_re=new RegExp("(^|\\.)"+u.join("\\.(?:.*\\.)?")+"(\\.|$)");if(s||!i)n.preventDefault(),n.stopPropagation();if(!i){B.each(B.cache,function(){var e=B.expando,t=this[e];t&&t.events&&t.events[o]&&B.event.trigger(n,r,t.handle.elem)});return}if(i.nodeType===3||i.nodeType===8)return;n.result=t,n.target=i,r=r!=null?B.makeArray(r):[],r.unshift(n);var f=i,l=o.indexOf(":")<0?"on"+o:"";do{var c=B._data(f,"handle");n.currentTarget=f,c&&c.apply(f,r),l&&B.acceptData(f)&&f[l]&&f[l].apply(f,r)===!1&&(n.result=!1,n.preventDefault()),f=f.parentNode||f.ownerDocument||f===n.target.ownerDocument&&e}while(f&&!n.isPropagationStopped());if(!n.isDefaultPrevented()){var h,p=B.event.special[o]||{};if((!p._default||p._default.call(i.ownerDocument,n)===!1)&&(o!=="click"||!B.nodeName(i,"a"))&&B.acceptData(i)){try{l&&i[o]&&(h=i[l],h&&(i[l]=null),B.event.triggered=o,i[o]())}catch(d){}h&&(i[l]=h),B.event.triggered=t}}return n.result}},handle:function(n){n=B.event.fix(n||e.event);var r=((B._data(this,"events")||{})[n.type]||[]).slice(0),i=!n.exclusive&&!n.namespace,s=Array.prototype.slice.call(arguments,0);s[0]=n,n.currentTarget=this;for(var o=0,u=r.length;o<u;o++){var a=r[o];if(i||n.namespace_re.test(a.namespace)){n.handler=a.handler,n.data=a.data,n.handleObj=a;var f=a.handler.apply(this,s);f!==t&&(n.result=f,f===!1&&(n.preventDefault(),n.stopPropagation()));if(n.isImmediatePropagationStopped())break}}return n.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(e){if(e[B.expando])return e;var n=e;e=B.Event(n);for(var r=this.props.length,i;r;)i=this.props[--r],e[i]=n[i];e.target||(e.target=e.srcElement||D),e.target.nodeType===3&&(e.target=e.target.parentNode),!e.relatedTarget&&e.fromElement&&(e.relatedTarget=e.fromElement===e.target?e.toElement:e.fromElement);if(e.pageX==null&&e.clientX!=null){var s=e.target.ownerDocument||D,o=s.documentElement,u=s.body;e.pageX=e.clientX+(o&&o.scrollLeft||u&&u.scrollLeft||0)-(o&&o.clientLeft||u&&u.clientLeft||0),e.pageY=e.clientY+(o&&o.scrollTop||u&&u.scrollTop||0)-(o&&o.clientTop||u&&u.clientTop||0)}e.which==null&&(e.charCode!=null||e.keyCode!=null)&&(e.which=e.charCode!=null?e.charCode:e.keyCode),!e.metaKey&&e.ctrlKey&&(e.metaKey=e.ctrlKey),!e.which&&e.button!==t&&(e.which=e.button&1?1:e.button&2?3:e.button&4?2:0);return e},guid:1e8,proxy:B.proxy,special:{ready:{setup:B.bindReady,teardown:B.noop},live:{add:function(e){B.event.add(this,N(e.origType,e.selector),B.extend({},e,{handler:C,guid:e.handler.guid}))},remove:function(e){B.event.remove(this,N(e.origType,e.selector),e)}},beforeunload:{setup:function(e,t,n){B.isWindow(this)&&(this.onbeforeunload=n)},teardown:function(e,t){this.onbeforeunload===t&&(this.onbeforeunload=null)}}}},B.removeEvent=D.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)}:function(e,t,n){e.detachEvent&&e.detachEvent("on"+t,n)},B.Event=function(e,t){if(!this.preventDefault)return new B.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.returnValue===!1||e.getPreventDefault&&e.getPreventDefault()?L:A):this.type=e,t&&B.extend(this,t),this.timeStamp=B.now(),this[B.expando]=!0},B.Event.prototype={preventDefault:function(){this.isDefaultPrevented=L;var e=this.originalEvent;!e||(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){this.isPropagationStopped=L;var e=this.originalEvent;!e||(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=L,this.stopPropagation()},isDefaultPrevented:A,isPropagationStopped:A,isImmediatePropagationStopped:A};var nt=function(e){var t=e.relatedTarget,n=!1,r=e.type;e.type=e.data,t!==this&&(t&&(n=B.contains(this,t)),n||(B.event.handle.apply(this,arguments),e.type=r))},rt=function(e){e.type=e.data,B.event.handle.apply(this,arguments)};B.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(e,t){B.event.special[e]={setup:function(n){B.event.add(this,t,n&&n.selector?rt:nt,e)},teardown:function(e){B.event.remove(this,t,e&&e.selector?rt:nt)}}}),B.support.submitBubbles||(B.event.special.submit={setup:function(e,t){if(!B.nodeName(this,"form"))B.event.add(this,"click.specialSubmit",function(e){var t=e.target,n=B.nodeName(t,"input")||B.nodeName(t,"button")?t.type:"";(n==="submit"||n==="image")&&B(t).closest("form").length&&k("submit",this,arguments)}),B.event.add(this,"keypress.specialSubmit",function(e){var t=e.target,n=B.nodeName(t,"input")||B.nodeName(t,"button")?t.type:"";(n==="text"||n==="password")&&B(t).closest("form").length&&e.keyCode===13&&k("submit",this,arguments)});else return!1},teardown:function(e){B.event.remove(this,".specialSubmit")}});if(!B.support.changeBubbles){var it,st=function(e){var t=B.nodeName(e,"input")?e.type:"",n=e.value;t==="radio"||t==="checkbox"?n=e.checked:t==="select-multiple"?n=e.selectedIndex>-1?B.map(e.options,function(e){return e.selected}).join("-"):"":B.nodeName(e,"select")&&(n=e.selectedIndex);return n},ot=function(e){var n=e.target,r,i;if(!!G.test(n.nodeName)&&!n.readOnly){r=B._data(n,"_change_data"),i=st(n),(e.type!=="focusout"||n.type!=="radio")&&B._data(n,"_change_data",i);if(r===t||i===r)return;if(r!=null||i)e.type="change",e.liveFired=t,B.event.trigger(e,arguments[1],n)}};B.event.special.change={filters:{focusout:ot,beforedeactivate:ot,click:function(e){var t=e.target,n=B.nodeName(t,"input")?t.type:"";(n==="radio"||n==="checkbox"||B.nodeName(t,"select"))&&ot.call(this,e)},keydown:function(e){var t=e.target,n=B.nodeName(t,"input")?t.type:"";(e.keyCode===13&&!B.nodeName(t,"textarea")||e.keyCode===32&&(n==="checkbox"||n==="radio")||n==="select-multiple")&&ot.call(this,e)},beforeactivate:function(e){var t=e.target;B._data(t,"_change_data",st(t))}},setup:function(e,t){if(this.type==="file")return!1;for(var n in it)B.event.add(this,n+".specialChange",it[n]);return G.test(this.nodeName)},teardown:function(e){B.event.remove(this,".specialChange");return G.test(this.nodeName)}},it=B.event.special.change.filters,it.focus=it.beforeactivate}B.support.focusinBubbles||B.each({focus:"focusin",blur:"focusout"},function(e,t){function n(e){var n=B.event.fix(e);n.type=t,n.originalEvent={},B.event.trigger(n,null,n.target),n.isDefaultPrevented()&&e.preventDefault()}var r=0;B.event.special[t]={setup:function(){r++===0&&D.addEventListener(e,n,!0)},teardown:function(){--r===0&&D.removeEventListener(e,n,!0)}}}),B.each(["bind","one"],function(e,n){B.fn[n]=function(e,r,i){var s;if(typeof e=="object"){for(var o in e)this[n](o,r,e[o],i);return this}if(arguments.length===2||r===!1)i=r,r=t;n==="one"?(s=function(e){B(this).unbind(e,s);return i.apply(this,arguments)},s.guid=i.guid||B.guid++):s=i;if(e==="unload"&&n!=="one")this.one(e,r,i);else for(var u=0,a=this.length;u<a;u++)B.event.add(this[u],e,s,r);return this}}),B.fn.extend({unbind:function(e,t){if(typeof e=="object"&&!e.preventDefault)for(var n in e)this.unbind(n,e[n]);else for(var r=0,i=this.length;r<i;r++)B.event.remove(this[r],e,t);return this},delegate:function(e,t,n,r){return this.live(t,n,r,e)},undelegate:function(e,t,n){return arguments.length===0?this.unbind("live"):this.die(t,null,n,e)},trigger:function(e,t){return this.each(function(){B.event.trigger(e,t,this)})},triggerHandler:function(e,t){if(this[0])return B.event.trigger(e,t,this[0],!0)},toggle:function(e){var t=arguments,n=e.guid||B.guid++,r=0,i=function(n){var i=(B.data(this,"lastToggle"+e.guid)||0)%r;B.data(this,"lastToggle"+e.guid,i+1),n.preventDefault();return t[i].apply(this,arguments)||!1};i.guid=n;while(r<t.length)t[r++].guid=n;return this.click(i)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}});var ut={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};B.each(["live","die"],function(e,n){B.fn[n]=function(e,r,i,s){var o,u=0,a,f,l,c=s||this.selector,h=s?this:B(this.context);if(typeof e=="object"&&!e.preventDefault){for(var p in e)h[n](p,r,e[p],c);return this}if(n==="die"&&!e&&s&&s.charAt(0)==="."){h.unbind(s);return this}if(r===!1||B.isFunction(r))i=r||A,r=t;e=(e||"").split(" ");while((o=e[u++])!=null){a=Q.exec(o),f="",a&&(f=a[0],o=o.replace(Q,""));if(o==="hover"){e.push("mouseenter"+f,"mouseleave"+f);continue}l=o,ut[o]?(e.push(ut[o]+f),o=o+f):o=(ut[o]||o)+f;if(n==="live")for(var d=0,v=h.length;d<v;d++)B.event.add(h[d],"live."+N(o,c),{data:r,selector:c,handler:i,origType:o,origHandler:i,preType:l});else h.unbind("live."+N(o,c),i)}return this}}),B.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(e,t){B.fn[t]=function(e,n){n==null&&(n=e,e=null);return arguments.length>0?this.bind(t,e,n):this.trigger(t)},B.attrFn&&(B.attrFn[t]=!0)}),function(){function e(e,t,n,r,i,s){for(var o=0,u=r.length;o<u;o++){var a=r[o];if(a){var f=!1;a=a[e];while(a){if(a.sizcache===n){f=r[a.sizset];break}if(a.nodeType===1){s||(a.sizcache=n,a.sizset=o);if(typeof t!="string"){if(a===t){f=!0;break}}else if(l.filter(t,[a]).length>0){f=a;break}}a=a[e]}r[o]=f}}}function n(e,t,n,r,i,s){for(var o=0,u=r.length;o<u;o++){var a=r[o];if(a){var f=!1;a=a[e];while(a){if(a.sizcache===n){f=r[a.sizset];break}a.nodeType===1&&!s&&(a.sizcache=n,a.sizset=o);if(a.nodeName.toLowerCase()===t){f=a;break}a=a[e]}r[o]=f}}}var r=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,i=0,s=Object.prototype.toString,o=!1,u=!0,a=/\\/g,f=/\W/;[0,0].sort(function(){u=!1;return 0});var l=function(e,t,n,i){n=n||[],t=t||D;var o=t;if(t.nodeType!==1&&t.nodeType!==9)return[];if(!e||typeof e!="string")return n;var u,a,f,p,d,m,g,y,w=!0,E=l.isXML(t),S=[],x=e;do{r.exec(""),u=r.exec(x);if(u){x=u[3],S.push(u[1]);if(u[2]){p=u[3];break}}}while(u);if(S.length>1&&h.exec(e))if(S.length===2&&c.relative[S[0]])a=b(S[0]+S[1],t);else{a=c.relative[S[0]]?[t]:l(S.shift(),t);while(S.length)e=S.shift(),c.relative[e]&&(e+=S.shift()),a=b(e,a)}else{!i&&S.length>1&&t.nodeType===9&&!E&&c.match.ID.test(S[0])&&!c.match.ID.test(S[S.length-1])&&(d=l.find(S.shift(),t,E),t=d.expr?l.filter(d.expr,d.set)[0]:d.set[0]);if(t){d=i?{expr:S.pop(),set:v(i)}:l.find(S.pop(),S.length===1&&(S[0]==="~"||S[0]==="+")&&t.parentNode?t.parentNode:t,E),a=d.expr?l.filter(d.expr,d.set):d.set,S.length>0?f=v(a):w=!1;while(S.length)m=S.pop(),g=m,c.relative[m]?g=S.pop():m="",g==null&&(g=t),c.relative[m](f,g,E)}else f=S=[]}f||(f=a),f||l.error(m||e);if(s.call(f)==="[object Array]")if(!w)n.push.apply(n,f);else if(t&&t.nodeType===1)for(y=0;f[y]!=null;y++)f[y]&&(f[y]===!0||f[y].nodeType===1&&l.contains(t,f[y]))&&n.push(a[y]);else for(y=0;f[y]!=null;y++)f[y]&&f[y].nodeType===1&&n.push(a[y]);else v(f,n);p&&(l(p,o,n,i),l.uniqueSort(n));return n};l.uniqueSort=function(e){if(g){o=u,e.sort(g);if(o)for(var t=1;t<e.length;t++)e[t]===e[t-1]&&e.splice(t--,1)}return e},l.matches=function(e,t){return l(e,null,null,t)},l.matchesSelector=function(e,t){return l(t,null,null,[e]).length>0},l.find=function(e,t,n){var r;if(!e)return[];for(var i=0,s=c.order.length;i<s;i++){var o,u=c.order[i];if(o=c.leftMatch[u].exec(e)){var f=o[1];o.splice(1,1);if(f.substr(f.length-1)!=="\\"){o[1]=(o[1]||"").replace(a,""),r=c.find[u](o,t,n);if(r!=null){e=e.replace(c.match[u],"");break}}}}r||(r=typeof t.getElementsByTagName!="undefined"?t.getElementsByTagName("*"):[]);return{set:r,expr:e}},l.filter=function(e,n,r,i){var s,o,u=e,a=[],f=n,h=n&&n[0]&&l.isXML(n[0]);while(e&&n.length){for(var p in c.filter)if((s=c.leftMatch[p].exec(e))!=null&&s[2]){var d,v,m=c.filter[p],g=s[1];o=!1,s.splice(1,1);if(g.substr(g.length-1)==="\\")continue;f===a&&(a=[]);if(c.preFilter[p]){s=c.preFilter[p](s,f,r,a,i,h);if(!s)o=d=!0;else if(s===!0)continue}if(s)for(var y=0;(v=f[y])!=null;y++)if(v){d=m(v,s,y,f);var b=i^!!d;r&&d!=null?b?o=!0:f[y]=!1:b&&(a.push(v),o=!0)}if(d!==t){r||(f=a),e=e.replace(c.match[p],"");if(!o)return[];break}}if(e===u)if(o==null)l.error(e);else break;u=e}return f},l.error=function(e){throw"Syntax error, unrecognized expression: "+e};var c=l.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(e){return e.getAttribute("href")},type:function(e){return e.getAttribute("type")}},relative:{"+":function(e,t){var n=typeof t=="string",r=n&&!f.test(t),i=n&&!r;r&&(t=t.toLowerCase());for(var s=0,o=e.length,u;s<o;s++)if(u=e[s]){while((u=u.previousSibling)&&u.nodeType!==1);e[s]=i||u&&u.nodeName.toLowerCase()===t?u||!1:u===t}i&&l.filter(t,e,!0)},">":function(e,t){var n,r=typeof t=="string",i=0,s=e.length;if(r&&!f.test(t)){t=t.toLowerCase();for(;i<s;i++){n=e[i];if(n){var o=n.parentNode;e[i]=o.nodeName.toLowerCase()===t?o:!1}}}else{for(;i<s;i++)n=e[i],n&&(e[i]=r?n.parentNode:n.parentNode===t);r&&l.filter(t,e,!0)}},"":function(t,r,s){var o,u=i++,a=e;typeof r=="string"&&!f.test(r)&&(r=r.toLowerCase(),o=r,a=n),a("parentNode",r,u,t,o,s)},"~":function(t,r,s){var o,u=i++,a=e;typeof r=="string"&&!f.test(r)&&(r=r.toLowerCase(),o=r,a=n),a("previousSibling",r,u,t,o,s)}},find:{ID:function(e,t,n){if(typeof t.getElementById!="undefined"&&!n){var r=t.getElementById(e[1]);return r&&r.parentNode?[r]:[]}},NAME:function(e,t){if(typeof t.getElementsByName!="undefined"){var n=[],r=t.getElementsByName(e[1]);for(var i=0,s=r.length;i<s;i++)r[i].getAttribute("name")===e[1]&&n.push(r[i]);return n.length===0?null:n}},TAG:function(e,t){if(typeof t.getElementsByTagName!="undefined")return t.getElementsByTagName(e[1])}},preFilter:{CLASS:function(e,t,n,r,i,s){e=" "+e[1].replace(a,"")+" ";if(s)return e;for(var o=0,u;(u=t[o])!=null;o++)u&&(i^(u.className&&(" "+u.className+" ").replace(/[\t\n\r]/g," ").indexOf(e)>=0)?n||r.push(u):n&&(t[o]=!1));return!1},ID:function(e){return e[1].replace(a,"")},TAG:function(e,t){return e[1].replace(a,"").toLowerCase()},CHILD:function(e){if(e[1]==="nth"){e[2]||l.error(e[0]),e[2]=e[2].replace(/^\+|\s*/g,"");var t=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(e[2]==="even"&&"2n"||e[2]==="odd"&&"2n+1"||!/\D/.test(e[2])&&"0n+"+e[2]||e[2]);e[2]=t[1]+(t[2]||1)-0,e[3]=t[3]-0}else e[2]&&l.error(e[0]);e[0]=i++;return e},ATTR:function(e,t,n,r,i,s){var o=e[1]=e[1].replace(a,"");!s&&c.attrMap[o]&&(e[1]=c.attrMap[o]),e[4]=(e[4]||e[5]||"").replace(a,""),e[2]==="~="&&(e[4]=" "+e[4]+" ");return e},PSEUDO:function(e,t,n,i,s){if(e[1]==="not")if((r.exec(e[3])||"").length>1||/^\w/.test(e[3]))e[3]=l(e[3],null,null,t);else{var o=l.filter(e[3],t,n,!0^s);n||i.push.apply(i,o);return!1}else if(c.match.POS.test(e[0])||c.match.CHILD.test(e[0]))return!0;return e},POS:function(e){e.unshift(!0);return e}},filters:{enabled:function(e){return e.disabled===!1&&e.type!=="hidden"},disabled:function(e){return e.disabled===!0},checked:function(e){return e.checked===!0},selected:function(e){e.parentNode&&e.parentNode.selectedIndex;return e.selected===!0},parent:function(e){return!!e.firstChild},empty:function(e){return!e.firstChild},has:function(e,t,n){return!!l(n[3],e).length},header:function(e){return/h\d/i.test(e.nodeName)},text:function(e){var t=e.getAttribute("type"),n=e.type;return e.nodeName.toLowerCase()==="input"&&"text"===n&&(t===n||t===null)},radio:function(e){return e.nodeName.toLowerCase()==="input"&&"radio"===e.type},checkbox:function(e){return e.nodeName.toLowerCase()==="input"&&"checkbox"===e.type},file:function(e){return e.nodeName.toLowerCase()==="input"&&"file"===e.type},password:function(e){return e.nodeName.toLowerCase()==="input"&&"password"===e.type},submit:function(e){var t=e.nodeName.toLowerCase();return(t==="input"||t==="button")&&"submit"===e.type},image:function(e){return e.nodeName.toLowerCase()==="input"&&"image"===e.type},reset:function(e){var t=e.nodeName.toLowerCase();return(t==="input"||t==="button")&&"reset"===e.type},button:function(e){var t=e.nodeName.toLowerCase();return t==="input"&&"button"===e.type||t==="button"},input:function(e){return/input|select|textarea|button/i.test(e.nodeName)},focus:function(e){return e===e.ownerDocument.activeElement}},setFilters:{first:function(e,t){return t===0},last:function(e,t,n,r){return t===r.length-1},even:function(e,t){return t%2===0},odd:function(e,t){return t%2===1},lt:function(e,t,n){return t<n[3]-0},gt:function(e,t,n){return t>n[3]-0},nth:function(e,t,n){return n[3]-0===t},eq:function(e,t,n){return n[3]-0===t}},filter:{PSEUDO:function(e,t,n,r){var i=t[1],s=c.filters[i];if(s)return s(e,n,t,r);if(i==="contains")return(e.textContent||e.innerText||l.getText([e])||"").indexOf(t[3])>=0;if(i==="not"){var o=t[3];for(var u=0,a=o.length;u<a;u++)if(o[u]===e)return!1;return!0}l.error(i)},CHILD:function(e,t){var n=t[1],r=e;switch(n){case"only":case"first":while(r=r.previousSibling)if(r.nodeType===1)return!1;if(n==="first")return!0;r=e;case"last":while(r=r.nextSibling)if(r.nodeType===1)return!1;return!0;case"nth":var i=t[2],s=t[3];if(i===1&&s===0)return!0;var o=t[0],u=e.parentNode;if(u&&(u.sizcache!==o||!e.nodeIndex)){var a=0;for(r=u.firstChild;r;r=r.nextSibling)r.nodeType===1&&(r.nodeIndex=++a);u.sizcache=o}var f=e.nodeIndex-s;return i===0?f===0:f%i===0&&f/i>=0}},ID:function(e,t){return e.nodeType===1&&e.getAttribute("id")===t},TAG:function(e,t){return t==="*"&&e.nodeType===1||e.nodeName.toLowerCase()===t},CLASS:function(e,t){return(" "+(e.className||e.getAttribute("class"))+" ").indexOf(t)>-1},ATTR:function(e,t){var n=t[1],r=c.attrHandle[n]?c.attrHandle[n](e):e[n]!=null?e[n]:e.getAttribute(n),i=r+"",s=t[2],o=t[4];return r==null?s==="!=":s==="="?i===o:s==="*="?i.indexOf(o)>=0:s==="~="?(" "+i+" ").indexOf(o)>=0:o?s==="!="?i!==o:s==="^="?i.indexOf(o)===0:s==="$="?i.substr(i.length-o.length)===o:s==="|="?i===o||i.substr(0,o.length+1)===o+"-":!1:i&&r!==!1},POS:function(e,t,n,r){var i=t[2],s=c.setFilters[i];if(s)return s(e,n,t,r)}}},h=c.match.POS,p=function(e,t){return"\\"+(t-0+1)};for(var d in c.match)c.match[d]=new RegExp(c.match[d].source+/(?![^\[]*\])(?![^\(]*\))/.source),c.leftMatch[d]=new RegExp(/(^(?:.|\r|\n)*?)/.source+c.match[d].source.replace(/\\(\d+)/g,p));var v=function(e,t){e=Array.prototype.slice.call(e,0);if(t){t.push.apply(t,e);return t}return e};try{Array.prototype.slice.call(D.documentElement.childNodes,0)[0].nodeType}catch(m){v=function(e,t){var n=0,r=t||[];if(s.call(e)==="[object Array]")Array.prototype.push.apply(r,e);else if(typeof e.length=="number")for(var i=e.length;n<i;n++)r.push(e[n]);else for(;e[n];n++)r.push(e[n]);return r}}var g,y;D.documentElement.compareDocumentPosition?g=function(e,t){if(e===t){o=!0;return 0}if(!e.compareDocumentPosition||!t.compareDocumentPosition)return e.compareDocumentPosition?-1:1;return e.compareDocumentPosition(t)&4?-1:1}:(g=function(e,t){if(e===t){o=!0;return 0}if(e.sourceIndex&&t.sourceIndex)return e.sourceIndex-t.sourceIndex;var n,r,i=[],s=[],u=e.parentNode,a=t.parentNode,f=u;if(u===a)return y(e,t);if(!u)return-1;if(!a)return 1;while(f)i.unshift(f),f=f.parentNode;f=a;while(f)s.unshift(f),f=f.parentNode;n=i.length,r=s.length;for(var l=0;l<n&&l<r;l++)if(i[l]!==s[l])return y(i[l],s[l]);return l===n?y(e,s[l],-1):y(i[l],t,1)},y=function(e,t,n){if(e===t)return n;var r=e.nextSibling;while(r){if(r===t)return-1;r=r.nextSibling}return 1}),l.getText=function(e){var t="",n;for(var r=0;e[r];r++)n=e[r],n.nodeType===3||n.nodeType===4?t+=n.nodeValue:n.nodeType!==8&&(t+=l.getText(n.childNodes));return t},function(){var e=D.createElement("div"),n="script"+(new Date).getTime(),r=D.documentElement;e.innerHTML="<a name='"+n+"'/>",r.insertBefore(e,r.firstChild),D.getElementById(n)&&(c.find.ID=function(e,n,r){if(typeof n.getElementById!="undefined"&&!r){var i=n.getElementById(e[1]);return i?i.id===e[1]||typeof i.getAttributeNode!="undefined"&&i.getAttributeNode("id").nodeValue===e[1]?[i]:t:[]}},c.filter.ID=function(e,t){var n=typeof e.getAttributeNode!="undefined"&&e.getAttributeNode("id");return e.nodeType===1&&n&&n.nodeValue===t}),r.removeChild(e),r=e=null}(),function(){var e=D.createElement("div");e.appendChild(D.createComment("")),e.getElementsByTagName("*").length>0&&(c.find.TAG=function(e,t){var n=t.getElementsByTagName(e[1]);if(e[1]==="*"){var r=[];for(var i=0;n[i];i++)n[i].nodeType===1&&r.push(n[i]);n=r}return n}),e.innerHTML="<a href='#'></a>",e.firstChild&&typeof e.firstChild.getAttribute!="undefined"&&e.firstChild.getAttribute("href")!=="#"&&(c.attrHandle.href=function(e){return e.getAttribute("href",2)}),e=null}(),D.querySelectorAll&&function(){var e=l,t=D.createElement("div"),n="__sizzle__";t.innerHTML="<p class='TEST'></p>";if(!t.querySelectorAll||t.querySelectorAll(".TEST").length!==0){l=function(t,r,i,s){r=r||D;if(!s&&!l.isXML(r)){var o=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(t);if(o&&(r.nodeType===1||r.nodeType===9)){if(o[1])return v(r.getElementsByTagName(t),i);if(o[2]&&c.find.CLASS&&r.getElementsByClassName)return v(r.getElementsByClassName(o[2]),i)}if(r.nodeType===9){if(t==="body"&&r.body)return v([r.body],i);if(o&&o[3]){var u=r.getElementById(o[3]);if(!u||!u.parentNode)return v([],i);if(u.id===o[3])return v([u],i)}try{return v(r.querySelectorAll(t),i)}catch(a){}}else if(r.nodeType===1&&r.nodeName.toLowerCase()!=="object"){var f=r,h=r.getAttribute("id"),p=h||n,d=r.parentNode,m=/^\s*[+~]/.test(t);h?p=p.replace(/'/g,"\\$&"):r.setAttribute("id",p),m&&d&&(r=r.parentNode);try{if(!m||d)return v(r.querySelectorAll("[id='"+p+"'] "+t),i)}catch(g){}finally{h||f.removeAttribute("id")}}}return e(t,r,i,s)};for(var r in e)l[r]=e[r];t=null}}(),function(){var e=D.documentElement,t=e.matchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.msMatchesSelector;if(t){var n=!t.call(D.createElement("div"),"div"),r=!1;try{t.call(D.documentElement,"[test!='']:sizzle")}catch(i){r=!0}l.matchesSelector=function(e,i){i=i.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!l.isXML(e))try{if(r||!c.match.PSEUDO.test(i)&&!/!=/.test(i)){var s=t.call(e,i);if(s||!n||e.document&&e.document.nodeType!==11)return s}}catch(o){}return l(i,null,null,[e]).length>0}}}(),function(){var e=D.createElement("div");e.innerHTML="<div class='test e'></div><div class='test'></div>";if(!!e.getElementsByClassName&&e.getElementsByClassName("e").length!==0){e.lastChild.className="e";if(e.getElementsByClassName("e").length===1)return;c.order.splice(1,0,"CLASS"),c.find.CLASS=function(e,t,n){if(typeof t.getElementsByClassName!="undefined"&&!n)return t.getElementsByClassName(e[1])},e=null}}(),D.documentElement.contains?l.contains=function(e,t){return e!==t&&(e.contains?e.contains(t):!0)}:D.documentElement.compareDocumentPosition?l.contains=function(e,t){return!!(e.compareDocumentPosition(t)&16)}:l.contains=function(){return!1},l.isXML=function(e){var t=(e?e.ownerDocument||e:0).documentElement;return t?t.nodeName!=="HTML":!1};var b=function(e,t){var n,r=[],i="",s=t.nodeType?[t]:t;while(n=c.match.PSEUDO.exec(e))i+=n[0],e=e.replace(c.match.PSEUDO,"");e=c.relative[e]?e+"*":e;for(var o=0,u=s.length;o<u;o++)l(e,s[o],r);return l.filter(i,r)};B.find=l,B.expr=l.selectors,B.expr[":"]=B.expr.filters,B.unique=l.uniqueSort,B.text=l.getText,B.isXMLDoc=l.isXML,B.contains=l.contains}();var at=/Until$/,ft=/^(?:parents|prevUntil|prevAll)/,lt=/,/,ct=/^.[^:#\[\.,]*$/,ht=Array.prototype.slice,pt=B.expr.match.POS,dt={children:!0,contents:!0,next:!0,prev:!0};B.fn.extend({find:function(e){var t=this,n,r;if(typeof e!="string")return B(e).filter(function(){for(n=0,r=t.length;n<r;n++)if(B.contains(t[n],this))return!0});var i=this.pushStack("","find",e),s,o,u;for(n=0,r=this.length;n<r;n++){s=i.length,B.find(e,this[n],i);if(n>0)for(o=s;o<i.length;o++)for(u=0;u<s;u++)if(i[u]===i[o]){i.splice(o--,1);break}}return i},has:function(e){var t=B(e);return this.filter(function(){for(var e=0,n=t.length;e<n;e++)if(B.contains(this,t[e]))return!0})},not:function(e){return this.pushStack(x(this,e,!1),"not",e)},filter:function(e){return this.pushStack(x(this,e,!0),"filter",e)},is:function(e){return!!e&&(typeof e=="string"?B.filter(e,this).length>0:this.filter(e).length>0)},closest:function(e,t){var n=[],r,i,s=this[0];if(B.isArray(e)){var o,u,a={},f=1;if(s&&e.length){for(r=0,i=e.length;r<i;r++)u=e[r],a[u]||(a[u]=pt.test(u)?B(u,t||this.context):u);while(s&&s.ownerDocument&&s!==t){for(u in a)o=a[u],(o.jquery?o.index(s)>-1:B(s).is(o))&&n.push({selector:u,elem:s,level:f});s=s.parentNode,f++}}return n}var l=pt.test(e)||typeof e!="string"?B(e,t||this.context):0;for(r=0,i=this.length;r<i;r++){s=this[r];while(s){if(l?l.index(s)>-1:B.find.matchesSelector(s,e)){n.push(s);break}s=s.parentNode;if(!s||!s.ownerDocument||s===t||s.nodeType===11)break}}n=n.length>1?B.unique(n):n;return this.pushStack(n,"closest",e)},index:function(e){if(!e)return this[0]&&this[0].parentNode?this.prevAll().length:-1;if(typeof e=="string")return B.inArray(this[0],B(e));return B.inArray(e.jquery?e[0]:e,this)},add:function(e,t){var n=typeof e=="string"?B(e,t):B.makeArray(e&&e.nodeType?[e]:e),r=B.merge(this.get(),n);return this.pushStack(T(n[0])||T(r[0])?r:B.unique(r))},andSelf:function(){return this.add(this.prevObject)}}),B.each({parent:function(e){var t=e.parentNode;return t&&t.nodeType!==11?t:null},parents:function(e){return B.dir(e,"parentNode")},parentsUntil:function(e,t,n){return B.dir(e,"parentNode",n)},next:function(e){return B.nth(e,2,"nextSibling")},prev:function(e){return B.nth(e,2,"previousSibling")},nextAll:function(e){return B.dir(e,"nextSibling")},prevAll:function(e){return B.dir(e,"previousSibling")},nextUntil:function(e,t,n){return B.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return B.dir(e,"previousSibling",n)},siblings:function(e){return B.sibling(e.parentNode.firstChild,e)},children:function(e){return B.sibling(e.firstChild)},contents:function(e){return B.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:B.makeArray(e.childNodes)}},function(e,t){B.fn[e]=function(n,r){var i=B.map(this,t,n),s=ht.call(arguments);at.test(e)||(r=n),r&&typeof r=="string"&&(i=B.filter(r,i)),i=this.length>1&&!dt[e]?B.unique(i):i,(this.length>1||lt.test(r))&&ft.test(e)&&(i=i.reverse());return this.pushStack(i,e,s.join(","))}}),B.extend({filter:function(e,t,n){n&&(e=":not("+e+")");return t.length===1?B.find.matchesSelector(t[0],e)?[t[0]]:[]:B.find.matches(e,t)},dir:function(e,n,r){var i=[],s=e[n];while(s&&s.nodeType!==9&&(r===t||s.nodeType!==1||!B(s).is(r)))s.nodeType===1&&i.push(s),s=s[n];return i},nth:function(e,t,n,r){t=t||1;var i=0;for(;e;e=e[n])if(e.nodeType===1&&++i===t)break;return e},sibling:function(e,t){var n=[];for(;e;e=e.nextSibling)e.nodeType===1&&e!==t&&n.push(e);return n}});var vt=/ jQuery\d+="(?:\d+|null)"/g,mt=/^\s+/,gt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,yt=/<([\w:]+)/,bt=/<tbody/i,wt=/<|&#?\w+;/,Et=/<(?:script|object|embed|option|style)/i,St=/checked\s*(?:[^=]|=\s*.checked.)/i,xt=/\/(java|ecma)script/i,Tt=/^\s*<!(?:\[CDATA\[|\-\-)/,Nt={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,"",""]};Nt.optgroup=Nt.option,Nt.tbody=Nt.tfoot=Nt.colgroup=Nt.caption=Nt.thead,Nt.th=Nt.td,B.support.htmlSerialize||(Nt._default=[1,"div<div>","</div>"]),B.fn.extend({text:function(e){if(B.isFunction(e))return this.each(function(t){var n=B(this);n.text(e.call(this,t,n.text()))});if(typeof e!="object"&&e!==t)return this.empty().append((this[0]&&this[0].ownerDocument||D).createTextNode(e));return B.text(this)},wrapAll:function(e){if(B.isFunction(e))return this.each(function(t){B(this).wrapAll(e.call(this,t))});if(this[0]){var t=B(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstChild&&e.firstChild.nodeType===1)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){if(B.isFunction(e))return this.each(function(t){B(this).wrapInner(e.call(this,t))});return this.each(function(){var t=B(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){return this.each(function(){B(this).wrapAll(e)})},unwrap:function(){return this.parent().each(function(){B.nodeName(this,"body")||B(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(e){this.nodeType===1&&this.appendChild(e)})},prepend:function(){return this.domManip(arguments,!0,function(e){this.nodeType===1&&this.insertBefore(e,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this)});if(arguments.length){var e=B(arguments[0]);e.push.apply(e,this.toArray());return this.pushStack(e,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this.nextSibling)});if(arguments.length){var e=this.pushStack(this,"after",arguments);e.push.apply(e,B(arguments[0]).toArray());return e}},remove:function(e,t){for(var n=0,r;(r=this[n])!=null;n++)if(!e||B.filter(e,[r]).length)!t&&r.nodeType===1&&(B.cleanData(r.getElementsByTagName("*")),B.cleanData([r])),r.parentNode&&r.parentNode.removeChild(r);return this},empty:function(){for(var e=0,t;(t=this[e])!=null;e++){t.nodeType===1&&B.cleanData(t.getElementsByTagName("*"));while(t.firstChild)t.removeChild(t.firstChild)}return this},clone:function(e,t){e=e==null?!1:e,t=t==null?e:t;return this.map(function(){return B.clone(this,e,t)})},html:function(e){if(e===t)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(vt,""):null;if(typeof e=="string"&&!Et.test(e)&&(B.support.leadingWhitespace||!mt.test(e))&&!Nt[(yt.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(gt,"<$1></$2>");try{for(var n=0,r=this.length;n<r;n++)this[n].nodeType===1&&(B.cleanData(this[n].getElementsByTagName("*")),this[n].innerHTML=e)}catch(i){this.empty().append(e)}}else B.isFunction(e)?this.each(function(t){var n=B(this);n.html(e.call(this,t,n.html()))}):this.empty().append(e);return this},replaceWith:function(e){if(this[0]&&this[0].parentNode){if(B.isFunction(e))return this.each(function(t){var n=B(this),r=n.html();n.replaceWith(e.call(this,t,r))});typeof e!="string"&&(e=B(e).detach());return this.each(function(){var t=this.nextSibling,n=this.parentNode;B(this).remove(),t?B(t).before(e):B(n).append(e)})}return this.length?this.pushStack(B(B.isFunction(e)?e():e),"replaceWith",e):this},detach:function(e){return this.remove(e,!0)},domManip:function(e,n,r){var i,s,o,u,a=e[0],f=[];if(!B.support.checkClone&&arguments.length===3&&typeof a=="string"&&St.test(a))return this.each(function(){B(this).domManip(e,n,r,!0)});if(B.isFunction(a))return this.each(function(i){var s=B(this);e[0]=a.call(this,i,n?s.html():t),s.domManip(e,n,r)});if(this[0]){u=a&&a.parentNode,B.support.parentNode&&u&&u.nodeType===11&&u.childNodes.length===this.length?i={fragment:u}:i=B.buildFragment(e,this,f),o=i.fragment,o.childNodes.length===1?s=o=o.firstChild:s=o.firstChild;if(s){n=n&&B.nodeName(s,"tr");for(var l=0,c=this.length,h=c-1;l<c;l++)r.call(n?S(this[l],s):this[l],i.cacheable||c>1&&l<h?B.clone(o,!0,!0):o)}f.length&&B.each(f,m)}return this}}),B.buildFragment=function(e,t,n){var r,i,s,o;t&&t[0]&&(o=t[0].ownerDocument||t[0]),o.createDocumentFragment||(o=D),e.length===1&&typeof e[0]=="string"&&e[0].length<512&&o===D&&e[0].charAt(0)==="<"&&!Et.test(e[0])&&(B.support.checkClone||!St.test(e[0]))&&(i=!0,s=B.fragments[e[0]],s&&s!==1&&(r=s)),r||(r=o.createDocumentFragment(),B.clean(e,o,r,n)),i&&(B.fragments[e[0]]=s?r:1);return{fragment:r,cacheable:i}},B.fragments={},B.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){B.fn[e]=function(n){var r=[],i=B(n),s=this.length===1&&this[0].parentNode;if(s&&s.nodeType===11&&s.childNodes.length===1&&i.length===1){i[t](this[0]);return this}for(var o=0,u=i.length;o<u;o++){var a=(o>0?this.clone(!0):this).get();B(i[o])[t](a),r=r.concat(a)}return this.pushStack(r,e,i.selector)}}),B.extend({clone:function(e,t,n){var r=e.cloneNode(!0),i,s,o;if((!B.support.noCloneEvent||!B.support.noCloneChecked)&&(e.nodeType===1||e.nodeType===11)&&!B.isXMLDoc(e)){w(e,r),i=b(e),s=b(r);for(o=0;i[o];++o)s[o]&&w(i[o],s[o])}if(t){E(e,r);if(n){i=b(e),s=b(r);for(o=0;i[o];++o)E(i[o],s[o])}}i=s=null;return r},clean:function(e,t,n,r){var i;t=t||D,typeof t.createElement=="undefined"&&(t=t.ownerDocument||t[0]&&t[0].ownerDocument||D);var s=[],o;for(var u=0,a;(a=e[u])!=null;u++){typeof a=="number"&&(a+="");if(!a)continue;if(typeof a=="string")if(!wt.test(a))a=t.createTextNode(a);else{a=a.replace(gt,"<$1></$2>");var f=(yt.exec(a)||["",""])[1].toLowerCase(),l=Nt[f]||Nt._default,c=l[0],h=t.createElement("div");h.innerHTML=l[1]+a+l[2];while(c--)h=h.lastChild;if(!B.support.tbody){var p=bt.test(a),d=f==="table"&&!p?h.firstChild&&h.firstChild.childNodes:l[1]==="<table>"&&!p?h.childNodes:[];for(o=d.length-1;o>=0;--o)B.nodeName(d[o],"tbody")&&!d[o].childNodes.length&&d[o].parentNode.removeChild(d[o])}!B.support.leadingWhitespace&&mt.test(a)&&h.insertBefore(t.createTextNode(mt.exec(a)[0]),h.firstChild),a=h.childNodes}var v;if(!B.support.appendChecked)if(a[0]&&typeof (v=a.length)=="number")for(o=0;o<v;o++)g(a[o]);else g(a);a.nodeType?s.push(a):s=B.merge(s,a)}if(n){i=function(e){return!e.type||xt.test(e.type)};for(u=0;s[u];u++)if(r&&B.nodeName(s[u],"script")&&(!s[u].type||s[u].type.toLowerCase()==="text/javascript"))r.push(s[u].parentNode?s[u].parentNode.removeChild(s[u]):s[u]);else{if(s[u].nodeType===1){var m=B.grep(s[u].getElementsByTagName("script"),i);s.splice.apply(s,[u+1,0].concat(m))}n.appendChild(s[u])}}return s},cleanData:function(e){var t,n,r=B.cache,i=B.expando,s=B.event.special,o=B.support.deleteExpando;for(var u=0,a;(a=e[u])!=null;u++){if(a.nodeName&&B.noData[a.nodeName.toLowerCase()])continue;n=a[B.expando];if(n){t=r[n]&&r[n][i];if(t&&t.events){for(var f in t.events)s[f]?B.event.remove(a,f):B.removeEvent(a,f,t.handle);t.handle&&(t.handle.elem=null)}o?delete a[B.expando]:a.removeAttribute&&a.removeAttribute(B.expando),delete r[n]}}}});var Ct=/alpha\([^)]*\)/i,kt=/opacity=([^)]*)/,Lt=/([A-Z]|^ms)/g,At=/^-?\d+(?:px)?$/i,Ot=/^-?\d/,Mt=/^([\-+])=([\-+.\de]+)/,_t={position:"absolute",visibility:"hidden",display:"block"},Dt=["Left","Right"],Pt=["Top","Bottom"],Ht,Bt,jt;B.fn.css=function(e,n){if(arguments.length===2&&n===t)return this;return B.access(this,e,n,!0,function(e,n,r){return r!==t?B.style(e,n,r):B.css(e,n)})},B.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Ht(e,"opacity","opacity");return n===""?"1":n}return e.style.opacity}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":B.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,n,r,i){if(!!e&&e.nodeType!==3&&e.nodeType!==8&&!!e.style){var s,o,u=B.camelCase(n),a=e.style,f=B.cssHooks[u];n=B.cssProps[u]||u;if(r===t){if(f&&"get"in f&&(s=f.get(e,!1,i))!==t)return s;return a[n]}o=typeof r,o==="string"&&(s=Mt.exec(r))&&(r=+(s[1]+1)*+s[2]+parseFloat(B.css(e,n)),o="number");if(r==null||o==="number"&&isNaN(r))return;o==="number"&&!B.cssNumber[u]&&(r+="px");if(!f||!("set"in f)||(r=f.set(e,r))!==t)try{a[n]=r}catch(l){}}},css:function(e,n,r){var i,s;n=B.camelCase(n),s=B.cssHooks[n],n=B.cssProps[n]||n,n==="cssFloat"&&(n="float");if(s&&"get"in s&&(i=s.get(e,!0,r))!==t)return i;if(Ht)return Ht(e,n)},swap:function(e,t,n){var r={};for(var i in t)r[i]=e.style[i],e.style[i]=t[i];n.call(e);for(i in t)e.style[i]=r[i]}}),B.curCSS=B.css,B.each(["height","width"],function(e,t){B.cssHooks[t]={get:function(e,n,r){var i;if(n){if(e.offsetWidth!==0)return v(e,t,r);B.swap(e,_t,function(){i=v(e,t,r)});return i}},set:function(e,t){if(!At.test(t))return t;t=parseFloat(t);if(t>=0)return t+"px"}}}),B.support.opacity||(B.cssHooks.opacity={get:function(e,t){return kt.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?parseFloat(RegExp.$1)/100+"":t?"1":""},set:function(e,t){var n=e.style,r=e.currentStyle,i=B.isNaN(t)?"":"alpha(opacity="+t*100+")",s=r&&r.filter||n.filter||"";n.zoom=1;if(t>=1&&B.trim(s.replace(Ct,""))===""){n.removeAttribute("filter");if(r&&!r.filter)return}n.filter=Ct.test(s)?s.replace(Ct,i):s+" "+i}}),B(function(){B.support.reliableMarginRight||(B.cssHooks.marginRight={get:function(e,t){var n;B.swap(e,{display:"inline-block"},function(){t?n=Ht(e,"margin-right","marginRight"):n=e.style.marginRight});return n}})}),D.defaultView&&D.defaultView.getComputedStyle&&(Bt=function(e,n){var r,i,s;n=n.replace(Lt,"-$1").toLowerCase();if(!(i=e.ownerDocument.defaultView))return t;if(s=i.getComputedStyle(e,null))r=s.getPropertyValue(n),r===""&&!B.contains(e.ownerDocument.documentElement,e)&&(r=B.style(e,n));return r}),D.documentElement.currentStyle&&(jt=function(e,t){var n,r=e.currentStyle&&e.currentStyle[t],i=e.runtimeStyle&&e.runtimeStyle[t],s=e.style;!At.test(r)&&Ot.test(r)&&(n=s.left,i&&(e.runtimeStyle.left=e.currentStyle.left),s.left=t==="fontSize"?"1em":r||0,r=s.pixelLeft+"px",s.left=n,i&&(e.runtimeStyle.left=i));return r===""?"auto":r}),Ht=Bt||jt,B.expr&&B.expr.filters&&(B.expr.filters.hidden=function(e){var t=e.offsetWidth,n=e.offsetHeight;return t===0&&n===0||!B.support.reliableHiddenOffsets&&(e.style.display||B.css(e,"display"))==="none"},B.expr.filters.visible=function(e){return!B.expr.filters.hidden(e)});var Ft=/%20/g,It=/\[\]$/,qt=/\r?\n/g,Rt=/#.*$/,Ut=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,zt=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,Wt=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,Xt=/^(?:GET|HEAD)$/,Vt=/^\/\//,$t=/\?/,Jt=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,Kt=/^(?:select|textarea)/i,Qt=/\s+/,Gt=/([?&])_=[^&]*/,Yt=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,Zt=B.fn.load,en={},tn={},nn,rn,sn=["*/"]+["*"];try{nn=H.href}catch(on){nn=D.createElement("a"),nn.href="",nn=nn.href}rn=Yt.exec(nn.toLowerCase())||[],B.fn.extend({load:function(e,n,r){if(typeof e!="string"&&Zt)return Zt.apply(this,arguments);if(!this.length)return this;var i=e.indexOf(" ");if(i>=0){var s=e.slice(i,e.length);e=e.slice(0,i)}var o="GET";n&&(B.isFunction(n)?(r=n,n=t):typeof n=="object"&&(n=B.param(n,B.ajaxSettings.traditional),o="POST"));var u=this;B.ajax({url:e,type:o,dataType:"html",data:n,complete:function(e,t,n){n=e.responseText,e.isResolved()&&(e.done(function(e){n=e}),u.html(s?B("<div>").append(n.replace(Jt,"")).find(s):n)),r&&u.each(r,[n,t,e])}});return this},serialize:function(){return B.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?B.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||Kt.test(this.nodeName)||zt.test(this.type))}).map(function(e,t){var n=B(this).val();return n==null?null:B.isArray(n)?B.map(n,function(e,n){return{name:t.name,value:e.replace(qt,"\r\n")}}):{name:t.name,value:n.replace(qt,"\r\n")}}).get()}}),B.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(e,t){B.fn[t]=function(e){return this.bind(t,e)}}),B.each(["get","post"],function(e,n){B[n]=function(e,r,i,s){B.isFunction(r)&&(s=s||i,i=r,r=t);return B.ajax({type:n,url:e,data:r,success:i,dataType:s})}}),B.extend({getScript:function(e,n){return B.get(e,t,n,"script")},getJSON:function(e,t,n){return B.get(e,t,n,"json")},ajaxSetup:function(e,t){t?h(e,B.ajaxSettings):(t=e,e=B.ajaxSettings),h(e,t);return e},ajaxSettings:{url:nn,isLocal:Wt.test(rn[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","*":sn},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":e.String,"text html":!0,"text json":B.parseJSON,"text xml":B.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:d(en),ajaxTransport:d(tn),ajax:function(e,n){function r(e,n,r,p){if(E!==2){E=2,b&&clearTimeout(b),y=t,m=p||"",T.readyState=e>0?4:0;var d,v,g,w=n,x=r?l(i,T,r):t,N,C;if(e>=200&&e<300||e===304){if(i.ifModified){if(N=T.getResponseHeader("Last-Modified"))B.lastModified[h]=N;if(C=T.getResponseHeader("Etag"))B.etag[h]=C}if(e===304)w="notmodified",d=!0;else try{v=f(i,x),w="success",d=!0}catch(k){w="parsererror",g=k}}else{g=w;if(!w||e)w="error",e<0&&(e=0)}T.status=e,T.statusText=""+(n||w),d?u.resolveWith(s,[v,w,T]):u.rejectWith(s,[T,w,g]),T.statusCode(c),c=t,S&&o.trigger("ajax"+(d?"Success":"Error"),[T,i,d?v:g]),a.resolveWith(s,[T,w]),S&&(o.trigger("ajaxComplete",[T,i]),--B.active||B.event.trigger("ajaxStop"))}}typeof e=="object"&&(n=e,e=t),n=n||{};var i=B.ajaxSetup({},n),s=i.context||i,o=s!==i&&(s.nodeType||s instanceof B)?B(s):B.event,u=B.Deferred(),a=B._Deferred(),c=i.statusCode||{},h,d={},v={},m,g,y,b,w,E=0,S,x,T={readyState:0,setRequestHeader:function(e,t){if(!E){var n=e.toLowerCase();e=v[n]=v[n]||e,d[e]=t}return this},getAllResponseHeaders:function(){return E===2?m:null},getResponseHeader:function(e){var n;if(E===2){if(!g){g={};while(n=Ut.exec(m))g[n[1].toLowerCase()]=n[2]}n=g[e.toLowerCase()]}return n===t?null:n},overrideMimeType:function(e){E||(i.mimeType=e);return this},abort:function(e){e=e||"abort",y&&y.abort(e),r(0,e);return this}};u.promise(T),T.success=T.done,T.error=T.fail,T.complete=a.done,T.statusCode=function(e){if(e){var t;if(E<2)for(t in e)c[t]=[c[t],e[t]];else t=e[T.status],T.then(t,t)}return this},i.url=((e||i.url)+"").replace(Rt,"").replace(Vt,rn[1]+"//"),i.dataTypes=B.trim(i.dataType||"*").toLowerCase().split(Qt),i.crossDomain==null&&(w=Yt.exec(i.url.toLowerCase()),i.crossDomain=!(!w||w[1]==rn[1]&&w[2]==rn[2]&&(w[3]||(w[1]==="http:"?80:443))==(rn[3]||(rn[1]==="http:"?80:443)))),i.data&&i.processData&&typeof i.data!="string"&&(i.data=B.param(i.data,i.traditional)),p(en,i,n,T);if(E===2)return!1;S=i.global,i.type=i.type.toUpperCase(),i.hasContent=!Xt.test(i.type),S&&B.active++===0&&B.event.trigger("ajaxStart");if(!i.hasContent){i.data&&(i.url+=($t.test(i.url)?"&":"?")+i.data,delete i.data),h=i.url;if(i.cache===!1){var N=B.now(),C=i.url.replace(Gt,"$1_="+N);i.url=C+(C===i.url?($t.test(i.url)?"&":"?")+"_="+N:"")}}(i.data&&i.hasContent&&i.contentType!==!1||n.contentType)&&T.setRequestHeader("Content-Type",i.contentType),i.ifModified&&(h=h||i.url,B.lastModified[h]&&T.setRequestHeader("If-Modified-Since",B.lastModified[h]),B.etag[h]&&T.setRequestHeader("If-None-Match",B.etag[h])),T.setRequestHeader("Accept",i.dataTypes[0]&&i.accepts[i.dataTypes[0]]?i.accepts[i.dataTypes[0]]+(i.dataTypes[0]!=="*"?", "+sn+"; q=0.01":""):i.accepts["*"]);for(x in i.headers)T.setRequestHeader(x,i.headers[x]);if(i.beforeSend&&(i.beforeSend.call(s,T,i)===!1||E===2)){T.abort();return!1}for(x in{success:1,error:1,complete:1})T[x](i[x]);y=p(tn,i,n,T);if(!y)r(-1,"No Transport");else{T.readyState=1,S&&o.trigger("ajaxSend",[T,i]),i.async&&i.timeout>0&&(b=setTimeout(function(){T.abort("timeout")},i.timeout));try{E=1,y.send(d,r)}catch(k){E<2?r(-1,k):B.error(k)}}return T},param:function(e,n){var r=[],i=function(e,t){t=B.isFunction(t)?t():t,r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};n===t&&(n=B.ajaxSettings.traditional);if(B.isArray(e)||e.jquery&&!B.isPlainObject(e))B.each(e,function(){i(this.name,this.value)});else for(var s in e)c(s,e[s],n,i);return r.join("&").replace(Ft,"+")}}),B.extend({active:0,lastModified:{},etag:{}});var un=B.now(),an=/(\=)\?(&|$)|\?\?/i;B.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return B.expando+"_"+un++}}),B.ajaxPrefilter("json jsonp",function(t,n,r){var i=t.contentType==="application/x-www-form-urlencoded"&&typeof t.data=="string";if(t.dataTypes[0]==="jsonp"||t.jsonp!==!1&&(an.test(t.url)||i&&an.test(t.data))){var s,o=t.jsonpCallback=B.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,u=e[o],a=t.url,f=t.data,l="$1"+o+"$2";t.jsonp!==!1&&(a=a.replace(an,l),t.url===a&&(i&&(f=f.replace(an,l)),t.data===f&&(a+=(/\?/.test(a)?"&":"?")+t.jsonp+"="+o))),t.url=a,t.data=f,e[o]=function(e){s=[e]},r.always(function(){e[o]=u,s&&B.isFunction(u)&&e[o](s[0])}),t.converters["script json"]=function(){s||B.error(o+" was not called");return s[0]},t.dataTypes[0]="json";return"script"}}),B.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(e){B.globalEval(e);return e}}}),B.ajaxPrefilter("script",function(e){e.cache===t&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),B.ajaxTransport("script",function(e){if(e.crossDomain){var n,r=D.head||D.getElementsByTagName("head")[0]||D.documentElement;return{send:function(i,s){n=D.createElement("script"),n.async="async",e.scriptCharset&&(n.charset=e.scriptCharset),n.src=e.url,n.onload=n.onreadystatechange=function(e,i){if(i||!n.readyState||/loaded|complete/.test(n.readyState))n.onload=n.onreadystatechange=null,r&&n.parentNode&&r.removeChild(n),n=t,i||s(200,"success")},r.insertBefore(n,r.firstChild)},abort:function(){n&&n.onload(0,1)}}}});var fn=e.ActiveXObject?function(){for(var e in cn)cn[e](0,1)}:!1,ln=0,cn;B.ajaxSettings.xhr=e.ActiveXObject?function(){return!this.isLocal&&a()||u()}:a,function(e){B.extend(B.support,{ajax:!!e,cors:!!e&&"withCredentials"in e})}(B.ajaxSettings.xhr()),B.support.ajax&&B.ajaxTransport(function(n){if(!n.crossDomain||B.support.cors){var r;return{send:function(i,s){var o=n.xhr(),u,a;n.username?o.open(n.type,n.url,n.async,n.username,n.password):o.open(n.type,n.url,n.async);if(n.xhrFields)for(a in n.xhrFields)o[a]=n.xhrFields[a];n.mimeType&&o.overrideMimeType&&o.overrideMimeType(n.mimeType),!n.crossDomain&&!i["X-Requested-With"]&&(i["X-Requested-With"]="XMLHttpRequest");try{for(a in i)o.setRequestHeader(a,i[a])}catch(f){}o.send(n.hasContent&&n.data||null),r=function(e,i){var a,f,l,c,h;try{if(r&&(i||o.readyState===4)){r=t,u&&(o.onreadystatechange=B.noop,fn&&delete cn[u]);if(i)o.readyState!==4&&o.abort();else{a=o.status,l=o.getAllResponseHeaders(),c={},h=o.responseXML,h&&h.documentElement&&(c.xml=h),c.text=o.responseText;try{f=o.statusText}catch(p){f=""}!a&&n.isLocal&&!n.crossDomain?a=c.text?200:404:a===1223&&(a=204)}}}catch(d){i||s(-1,d)}c&&s(a,f,c,l)},!n.async||o.readyState===4?r():(u=++ln,fn&&(cn||(cn={},B(e).unload(fn)),cn[u]=r),o.onreadystatechange=r)},abort:function(){r&&r(0,1)}}}});var hn={},pn,dn,vn=/^(?:toggle|show|hide)$/,mn=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,gn,yn=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],bn;B.fn.extend({show:function(e,t,n){var s,o;if(e||e===0)return this.animate(i("show",3),e,t,n);for(var u=0,a=this.length;u<a;u++)s=this[u],s.style&&(o=s.style.display,!B._data(s,"olddisplay")&&o==="none"&&(o=s.style.display=""),o===""&&B.css(s,"display")==="none"&&B._data(s,"olddisplay",r(s.nodeName)));for(u=0;u<a;u++){s=this[u];if(s.style){o=s.style.display;if(o===""||o==="none")s.style.display=B._data(s,"olddisplay")||""}}return this},hide:function(e,t,n){if(e||e===0)return this.animate(i("hide",3),e,t,n);for(var r=0,s=this.length;r<s;r++)if(this[r].style){var o=B.css(this[r],"display");o!=="none"&&!B._data(this[r],"olddisplay")&&B._data(this[r],"olddisplay",o)}for(r=0;r<s;r++)this[r].style&&(this[r].style.display="none");return this},_toggle:B.fn.toggle,toggle:function(e,t,n){var r=typeof e=="boolean";B.isFunction(e)&&B.isFunction(t)?this._toggle.apply(this,arguments):e==null||r?this.each(function(){var t=r?e:B(this).is(":hidden");B(this)[t?"show":"hide"]()}):this.animate(i("toggle",3),e,t,n);return this},fadeTo:function(e,t,n,r){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,i){var s=B.speed(t,n,i);if(B.isEmptyObject(e))return this.each(s.complete,[!1]);e=B.extend({},e);return this[s.queue===!1?"each":"queue"](function(){s.queue===!1&&B._mark(this);var t=B.extend({},s),n=this.nodeType===1,i=n&&B(this).is(":hidden"),o,u,a,f,l,c,h,p,d;t.animatedProperties={};for(a in e){o=B.camelCase(a),a!==o&&(e[o]=e[a],delete e[a]),u=e[o],B.isArray(u)?(t.animatedProperties[o]=u[1],u=e[o]=u[0]):t.animatedProperties[o]=t.specialEasing&&t.specialEasing[o]||t.easing||"swing";if(u==="hide"&&i||u==="show"&&!i)return t.complete.call(this);n&&(o==="height"||o==="width")&&(t.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY],B.css(this,"display")==="inline"&&B.css(this,"float")==="none"&&(B.support.inlineBlockNeedsLayout?(f=r(this.nodeName),f==="inline"?this.style.display="inline-block":(this.style.display="inline",this.style.zoom=1)):this.style.display="inline-block"))}t.overflow!=null&&(this.style.overflow="hidden");for(a in e)l=new B.fx(this,t,a),u=e[a],vn.test(u)?l[u==="toggle"?i?"show":"hide":u]():(c=mn.exec(u),h=l.cur(),c?(p=parseFloat(c[2]),d=c[3]||(B.cssNumber[a]?"":"px"),d!=="px"&&(B.style(this,a,(p||1)+d),h=(p||1)/l.cur()*h,B.style(this,a,h+d)),c[1]&&(p=(c[1]==="-="?-1:1)*p+h),l.custom(h,p,d)):l.custom(h,u,""));return!0})},stop:function(e,t){e&&this.queue([]),this.each(function(){var e=B.timers,n=e.length;t||B._unmark(!0,this);while(n--)e[n].elem===this&&(t&&e[n](!0),e.splice(n,1))}),t||this.dequeue();return this}}),B.each({slideDown:i("show",1),slideUp:i("hide",1),slideToggle:i("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){B.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),B.extend({speed:function(e,t,n){var r=e&&typeof e=="object"?B.extend({},e):{complete:n||!n&&t||B.isFunction(e)&&e,duration:e,easing:n&&t||t&&!B.isFunction(t)&&t};r.duration=B.fx.off?0:typeof r.duration=="number"?r.duration:r.duration in B.fx.speeds?B.fx.speeds[r.duration]:B.fx.speeds._default,r.old=r.complete,r.complete=function(e){B.isFunction(r.old)&&r.old.call(this),r.queue!==!1?B.dequeue(this):e!==!1&&B._unmark(this)};return r},easing:{linear:function(e,t,n,r){return n+r*e},swing:function(e,t,n,r){return(-Math.cos(e*Math.PI)/2+.5)*r+n}},timers:[],fx:function(e,t,n){this.options=t,this.elem=e,this.prop=n,t.orig=t.orig||{}}}),B.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this),(B.fx.step[this.prop]||B.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 e,t=B.css(this.elem,this.prop);return isNaN(e=parseFloat(t))?!t||t==="auto"?0:t:e},custom:function(e,t,n){function r(e){return i.step(e)}var i=this,s=B.fx;this.startTime=bn||o(),this.start=e,this.end=t,this.unit=n||this.unit||(B.cssNumber[this.prop]?"":"px"),this.now=this.start,this.pos=this.state=0,r.elem=this.elem,r()&&B.timers.push(r)&&!gn&&(gn=setInterval(s.tick,s.interval))},show:function(){this.options.orig[this.prop]=B.style(this.elem,this.prop),this.options.show=!0,this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur()),B(this.elem).show()},hide:function(){this.options.orig[this.prop]=B.style(this.elem,this.prop),this.options.hide=!0,this.custom(this.cur(),0)},step:function(e){var t=bn||o(),n=!0,r=this.elem,i=this.options,s,u;if(e||t>=i.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),i.animatedProperties[this.prop]=!0;for(s in i.animatedProperties)i.animatedProperties[s]!==!0&&(n=!1);if(n){i.overflow!=null&&!B.support.shrinkWrapBlocks&&B.each(["","X","Y"],function(e,t){r.style["overflow"+t]=i.overflow[e]}),i.hide&&B(r).hide();if(i.hide||i.show)for(var a in i.animatedProperties)B.style(r,a,i.orig[a]);i.complete.call(r)}return!1}i.duration==Infinity?this.now=t:(u=t-this.startTime,this.state=u/i.duration,this.pos=B.easing[i.animatedProperties[this.prop]](this.state,u,0,1,i.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update();return!0}},B.extend(B.fx,{tick:function(){for(var e=B.timers,t=0;t<e.length;++t)e[t]()||e.splice(t--,1);e.length||B.fx.stop()},interval:13,stop:function(){clearInterval(gn),gn=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(e){B.style(e.elem,"opacity",e.now)},_default:function(e){e.elem.style&&e.elem.style[e.prop]!=null?e.elem.style[e.prop]=(e.prop==="width"||e.prop==="height"?Math.max(0,e.now):e.now)+e.unit:e.elem[e.prop]=e.now}}}),B.expr&&B.expr.filters&&(B.expr.filters.animated=function(e){return B.grep(B.timers,function(t){return e===t.elem}).length});var wn=/^t(?:able|d|h)$/i,En=/^(?:body|html)$/i;"getBoundingClientRect"in D.documentElement?B.fn.offset=function(e){var t=this[0],r;if(e)return this.each(function(t){B.offset.setOffset(this,e,t)});if(!t||!t.ownerDocument)return null;if(t===t.ownerDocument.body)return B.offset.bodyOffset(t);try{r=t.getBoundingClientRect()}catch(i){}var s=t.ownerDocument,o=s.documentElement;if(!r||!B.contains(o,t))return r?{top:r.top,left:r.left}:{top:0,left:0};var u=s.body,a=n(s),f=o.clientTop||u.clientTop||0,l=o.clientLeft||u.clientLeft||0,c=a.pageYOffset||B.support.boxModel&&o.scrollTop||u.scrollTop,h=a.pageXOffset||B.support.boxModel&&o.scrollLeft||u.scrollLeft,p=r.top+c-f,d=r.left+h-l;return{top:p,left:d}}:B.fn.offset=function(e){var t=this[0];if(e)return this.each(function(t){B.offset.setOffset(this,e,t)});if(!t||!t.ownerDocument)return null;if(t===t.ownerDocument.body)return B.offset.bodyOffset(t);B.offset.initialize();var n,r=t.offsetParent,i=t,s=t.ownerDocument,o=s.documentElement,u=s.body,a=s.defaultView,f=a?a.getComputedStyle(t,null):t.currentStyle,l=t.offsetTop,c=t.offsetLeft;while((t=t.parentNode)&&t!==u&&t!==o){if(B.offset.supportsFixedPosition&&f.position==="fixed")break;n=a?a.getComputedStyle(t,null):t.currentStyle,l-=t.scrollTop,c-=t.scrollLeft,t===r&&(l+=t.offsetTop,c+=t.offsetLeft,B.offset.doesNotAddBorder&&(!B.offset.doesAddBorderForTableAndCells||!wn.test(t.nodeName))&&(l+=parseFloat(n.borderTopWidth)||0,c+=parseFloat(n.borderLeftWidth)||0),i=r,r=t.offsetParent),B.offset.subtractsBorderForOverflowNotVisible&&n.overflow!=="visible"&&(l+=parseFloat(n.borderTopWidth)||0,c+=parseFloat(n.borderLeftWidth)||0),f=n}if(f.position==="relative"||f.position==="static")l+=u.offsetTop,c+=u.offsetLeft;B.offset.supportsFixedPosition&&f.position==="fixed"&&(l+=Math.max(o.scrollTop,u.scrollTop),c+=Math.max(o.scrollLeft,u.scrollLeft));return{top:l,left:c}},B.offset={initialize:function(){var e=D.body,t=D.createElement("div"),n,r,i,s,o=parseFloat(B.css(e,"marginTop"))||0,u="<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>";B.extend(t.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"}),t.innerHTML=u,e.insertBefore(t,e.firstChild),n=t.firstChild,r=n.firstChild,s=n.nextSibling.firstChild.firstChild,this.doesNotAddBorder=r.offsetTop!==5,this.doesAddBorderForTableAndCells=s.offsetTop===5,r.style.position="fixed",r.style.top="20px",this.supportsFixedPosition=r.offsetTop===20||r.offsetTop===15,r.style.position=r.style.top="",n.style.overflow="hidden",n.style.position="relative",this.subtractsBorderForOverflowNotVisible=r.offsetTop===-5,this.doesNotIncludeMarginInBodyOffset=e.offsetTop!==o,e.removeChild(t),B.offset.initialize=B.noop},bodyOffset:function(e){var t=e.offsetTop,n=e.offsetLeft;B.offset.initialize(),B.offset.doesNotIncludeMarginInBodyOffset&&(t+=parseFloat(B.css(e,"marginTop"))||0,n+=parseFloat(B.css(e,"marginLeft"))||0);return{top:t,left:n}},setOffset:function(e,t,n){var r=B.css(e,"position");r==="static"&&(e.style.position="relative");var i=B(e),s=i.offset(),o=B.css(e,"top"),u=B.css(e,"left"),a=(r==="absolute"||r==="fixed")&&B.inArray("auto",[o,u])>-1,f={},l={},c,h;a?(l=i.position(),c=l.top,h=l.left):(c=parseFloat(o)||0,h=parseFloat(u)||0),B.isFunction(t)&&(t=t.call(e,n,s)),t.top!=null&&(f.top=t.top-s.top+c),t.left!=null&&(f.left=t.left-s.left+h),"using"in t?t.using.call(e,f):i.css(f)}},B.fn.extend({position:function(){if(!this[0])return null;var e=this[0],t=this.offsetParent(),n=this.offset(),r=En.test(t[0].nodeName)?{top:0,left:0}:t.offset();n.top-=parseFloat(B.css(e,"marginTop"))||0,n.left-=parseFloat(B.css(e,"marginLeft"))||0,r.top+=parseFloat(B.css(t[0],"borderTopWidth"))||0,r.left+=parseFloat(B.css(t[0],"borderLeftWidth"))||0;return{top:n.top-r.top,left:n.left-r.left}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||D.body;while(e&&!En.test(e.nodeName)&&B.css(e,"position")==="static")e=e.offsetParent;return e})}}),B.each(["Left","Top"],function(e,r){var i="scroll"+r;B.fn[i]=function(r){var s,o;if(r===t){s=this[0];if(!s)return null;o=n(s);return o?"pageXOffset"in o?o[e?"pageYOffset":"pageXOffset"]:B.support.boxModel&&o.document.documentElement[i]||o.document.body[i]:s[i]}return this.each(function(){o=n(this),o?o.scrollTo(e?B(o).scrollLeft():r,e?r:B(o).scrollTop()):this[i]=r})}}),B.each(["Height","Width"],function(e,n){var r=n.toLowerCase();B.fn["inner"+n]=function(){var e=this[0];return e&&e.style?parseFloat(B.css(e,r,"padding")):null},B.fn["outer"+n]=function(e){var t=this[0];return t&&t.style?parseFloat(B.css(t,r,e?"margin":"border")):null},B.fn[r]=function(e){var i=this[0];if(!i)return e==null?null:this;if(B.isFunction(e))return this.each(function(t){var n=B(this);n[r](e.call(this,t,n[r]()))});if(B.isWindow(i)){var s=i.document.documentElement["client"+n],o=i.document.body;return i.document.compatMode==="CSS1Compat"&&s||o&&o["client"+n]||s}if(i.nodeType===9)return Math.max(i.documentElement["client"+n],i.body["scroll"+n],i.documentElement["scroll"+n],i.body["offset"+n],i.documentElement["offset"+n]);if(e===t){var u=B.css(i,r),a=parseFloat(u);return B.isNaN(a)?u:a}return this.css(r,typeof e=="string"?e:e+"px")}}),e.jQuery=e.$=B})(window);var scsHeaderJQuery=jQuery.noConflict(true);scsHeaderJQuery.namespace=function(){var a=arguments,o=null,i,j,d,rt;for(i=0;i<a.length;++i){d=a[i].split(".");rt=d[0];eval("if (typeof "+rt+' == "undefined"){'+rt+" = {};} o = "+rt+";");for(j=1;j<d.length;++j){o[d[j]]=o[d[j]]||{};o=o[d[j]]}}};scsHeaderJQuery.namespace("scsHeader");scsHeaderJQuery.cookie=function(e,t,n){if(typeof t!="undefined"){n=n||{};if(t===null){t="";n.expires=-1}var r="";if(n.expires&&(typeof n.expires=="number"||n.expires.toUTCString)){var i;if(typeof n.expires=="number"){i=new Date;i.setTime(i.getTime()+n.expires*24*60*60*1e3)}else{i=n.expires}r="; expires="+i.toUTCString()}var s=n.path?"; path="+n.path:"";var o=n.domain?"; domain="+n.domain:"";var u=n.secure?"; secure":"";document.cookie=[e,"=",encodeURIComponent(t),r,s,o,u].join("")}else{var a=null;if(document.cookie&&document.cookie!=""){var f=document.cookie.split(";");for(var l=0;l<f.length;l++){var c=scsHeaderJQuery.trim(f[l]);if(c.substring(0,e.length+1)==e+"="){a=decodeURIComponent(c.substring(e.length+1));break}}}return a}};(function(e,t){function n(t,n){var i=t.nodeName.toLowerCase();if("area"===i){n=t.parentNode;i=n.name;if(!t.href||!i||n.nodeName.toLowerCase()!=="map")return false;t=e("img[usemap=#"+i+"]")[0];return!!t&&r(t)}return(/input|select|textarea|button|object/.test(i)?!t.disabled:"a"==i?t.href||n:n)&&r(t)}function r(t){return!e(t).parents().andSelf().filter(function(){return e.curCSS(this,"visibility")==="hidden"||e.expr.filters.hidden(this)}).length}e.ui=e.ui||{};if(!e.ui.version){e.extend(e.ui,{version:"1.8.16",keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}});e.fn.extend({propAttr:e.fn.prop||e.fn.attr,_focus:e.fn.focus,focus:function(t,n){return typeof t==="number"?this.each(function(){var r=this;setTimeout(function(){e(r).focus();n&&n.call(r)},t)}):this._focus.apply(this,arguments)},scrollParent:function(){var t;t=e.browser.msie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(e.curCSS(this,"position",1))&&/(auto|scroll)/.test(e.curCSS(this,"overflow",1)+e.curCSS(this,"overflow-y",1)+e.curCSS(this,"overflow-x",1))}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(e.curCSS(this,"overflow",1)+e.curCSS(this,"overflow-y",1)+e.curCSS(this,"overflow-x",1))}).eq(0);return/fixed/.test(this.css("position"))||!t.length?e(document):t},zIndex:function(n){if(n!==t)return this.css("zIndex",n);if(this.length){n=e(this[0]);for(var r;n.length&&n[0]!==document;){r=n.css("position");if(r==="absolute"||r==="relative"||r==="fixed"){r=parseInt(n.css("zIndex"),10);if(!isNaN(r)&&r!==0)return r}n=n.parent()}}return 0},disableSelection:function(){return this.bind((e.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(e){e.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}});e.each(["Width","Height"],function(n,r){function i(t,n,r,i){e.each(s,function(){n-=parseFloat(e.curCSS(t,"padding"+this,true))||0;if(r)n-=parseFloat(e.curCSS(t,"border"+this+"Width",true))||0;if(i)n-=parseFloat(e.curCSS(t,"margin"+this,true))||0});return n}var s=r==="Width"?["Left","Right"]:["Top","Bottom"],o=r.toLowerCase(),u={innerWidth:e.fn.innerWidth,innerHeight:e.fn.innerHeight,outerWidth:e.fn.outerWidth,outerHeight:e.fn.outerHeight};e.fn["inner"+r]=function(n){if(n===t)return u["inner"+r].call(this);return this.each(function(){e(this).css(o,i(this,n)+"px")})};e.fn["outer"+r]=function(t,n){if(typeof t!=="number")return u["outer"+r].call(this,t);return this.each(function(){e(this).css(o,i(this,t,true,n)+"px")})}});e.extend(e.expr[":"],{data:function(t,n,r){return!!e.data(t,r[3])},focusable:function(t){return n(t,!isNaN(e.attr(t,"tabindex")))},tabbable:function(t){var r=e.attr(t,"tabindex"),i=isNaN(r);return(i||r>=0)&&n(t,!i)}});e(function(){var t=document.body,n=t.appendChild(n=document.createElement("div"));e.extend(n.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0});e.support.minHeight=n.offsetHeight===100;e.support.selectstart="onselectstart"in n;t.removeChild(n).style.display="none"});e.extend(e.ui,{plugin:{add:function(t,n,r){t=e.ui[t].prototype;for(var i in r){t.plugins[i]=t.plugins[i]||[];t.plugins[i].push([n,r[i]])}},call:function(e,t,n){if((t=e.plugins[t])&&e.element[0].parentNode)for(var r=0;r<t.length;r++)e.options[t[r][0]]&&t[r][1].apply(e.element,n)}},contains:function(e,t){return document.compareDocumentPosition?e.compareDocumentPosition(t)&16:e!==t&&e.contains(t)},hasScroll:function(t,n){if(e(t).css("overflow")==="hidden")return false;n=n&&n==="left"?"scrollLeft":"scrollTop";var r=false;if(t[n]>0)return true;t[n]=1;r=t[n]>0;t[n]=0;return r},isOverAxis:function(e,t,n){return e>t&&e<t+n},isOver:function(t,n,r,i,s,o){return e.ui.isOverAxis(t,r,s)&&e.ui.isOverAxis(n,i,o)}})}})(scsHeaderJQuery);(function(e,t){if(e.cleanData){var n=e.cleanData;e.cleanData=function(t){for(var r=0,i;(i=t[r])!=null;r++)try{e(i).triggerHandler("remove")}catch(s){}n(t)}}else{var r=e.fn.remove;e.fn.remove=function(t,n){return this.each(function(){if(!n)if(!t||e.filter(t,[this]).length)e("*",this).add([this]).each(function(){try{e(this).triggerHandler("remove")}catch(t){}});return r.call(e(this),t,n)})}}e.widget=function(t,n,r){var i=t.split(".")[0],s;t=t.split(".")[1];s=i+"-"+t;if(!r){r=n;n=e.Widget}e.expr[":"][s]=function(n){return!!e.data(n,t)};e[i]=e[i]||{};e[i][t]=function(e,t){arguments.length&&this._createWidget(e,t)};n=new n;n.options=e.extend(true,{},n.options);e[i][t].prototype=e.extend(true,n,{namespace:i,widgetName:t,widgetEventPrefix:e[i][t].prototype.widgetEventPrefix||t,widgetBaseClass:s},r);e.widget.bridge(t,e[i][t])};e.widget.bridge=function(n,r){e.fn[n]=function(i){var s=typeof i==="string",o=Array.prototype.slice.call(arguments,1),u=this;i=!s&&o.length?e.extend.apply(null,[true,i].concat(o)):i;if(s&&i.charAt(0)==="_")return u;s?this.each(function(){var r=e.data(this,n),s=r&&e.isFunction(r[i])?r[i].apply(r,o):r;if(s!==r&&s!==t){u=s;return false}}):this.each(function(){var t=e.data(this,n);t?t.option(i||{})._init():e.data(this,n,new r(i,this))});return u}};e.Widget=function(e,t){arguments.length&&this._createWidget(e,t)};e.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:false},_createWidget:function(t,n){e.data(n,this.widgetName,this);this.element=e(n);this.options=e.extend(true,{},this.options,this._getCreateOptions(),t);var r=this;this.element.bind("remove."+this.widgetName,function(){r.destroy()});this._create();this._trigger("create");this._init()},_getCreateOptions:function(){return e.metadata&&e.metadata.get(this.element[0])[this.widgetName]},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName);this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled ui-state-disabled")},widget:function(){return this.element},option:function(n,r){var i=n;if(arguments.length===0)return e.extend({},this.options);if(typeof n==="string"){if(r===t)return this.options[n];i={};i[n]=r}this._setOptions(i);return this},_setOptions:function(t){var n=this;e.each(t,function(e,t){n._setOption(e,t)});return this},_setOption:function(e,t){this.options[e]=t;if(e==="disabled")this.widget()[t?"addClass":"removeClass"](this.widgetBaseClass+"-disabled ui-state-disabled").attr("aria-disabled",t);return this},enable:function(){return this._setOption("disabled",false)},disable:function(){return this._setOption("disabled",true)},_trigger:function(t,n,r){var i=this.options[t];n=e.Event(n);n.type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase();r=r||{};if(n.originalEvent){t=e.event.props.length;for(var s;t;){s=e.event.props[--t];n[s]=n.originalEvent[s]}}this.element.trigger(n,r);return!(e.isFunction(i)&&i.call(this.element[0],n,r)===false||n.isDefaultPrevented())}}})(scsHeaderJQuery);(function(e){var t=false;e(document).mouseup(function(){t=false});e.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var t=this;this.element.bind("mousedown."+this.widgetName,function(e){return t._mouseDown(e)}).bind("click."+this.widgetName,function(n){if(true===e.data(n.target,t.widgetName+".preventClickEvent")){e.removeData(n.target,t.widgetName+".preventClickEvent");n.stopImmediatePropagation();return false}});this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName)},_mouseDown:function(n){if(!t){this._mouseStarted&&this._mouseUp(n);this._mouseDownEvent=n;var r=this,i=n.which==1,s=typeof this.options.cancel=="string"&&n.target.nodeName?e(n.target).closest(this.options.cancel).length:false;if(!i||s||!this._mouseCapture(n))return true;this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet)this._mouseDelayTimer=setTimeout(function(){r.mouseDelayMet=true},this.options.delay);if(this._mouseDistanceMet(n)&&this._mouseDelayMet(n)){this._mouseStarted=this._mouseStart(n)!==false;if(!this._mouseStarted){n.preventDefault();return true}}true===e.data(n.target,this.widgetName+".preventClickEvent")&&e.removeData(n.target,this.widgetName+".preventClickEvent");this._mouseMoveDelegate=function(e){return r._mouseMove(e)};this._mouseUpDelegate=function(e){return r._mouseUp(e)};e(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);n.preventDefault();return t=true}},_mouseMove:function(t){if(e.browser.msie&&!(document.documentMode>=9)&&!t.button)return this._mouseUp(t);if(this._mouseStarted){this._mouseDrag(t);return t.preventDefault()}if(this._mouseDistanceMet(t)&&this._mouseDelayMet(t))(this._mouseStarted=this._mouseStart(this._mouseDownEvent,t)!==false)?this._mouseDrag(t):this._mouseUp(t);return!this._mouseStarted},_mouseUp:function(t){e(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;t.target==this._mouseDownEvent.target&&e.data(t.target,this.widgetName+".preventClickEvent",true);this._mouseStop(t)}return false},_mouseDistanceMet:function(e){return Math.max(Math.abs(this._mouseDownEvent.pageX-e.pageX),Math.abs(this._mouseDownEvent.pageY-e.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return true}})})(scsHeaderJQuery);(function(e){e.ui=e.ui||{};var t=/left|center|right/,n=/top|center|bottom/,r=e.fn.position,i=e.fn.offset;e.fn.position=function(i){if(!i||!i.of)return r.apply(this,arguments);i=e.extend({},i);var s=e(i.of),u=s[0],a=(i.collision||"flip").split(" "),f=i.offset?i.offset.split(" "):[0,0],l,h,p;if(u.nodeType===9){l=s.width();h=s.height();p={top:0,left:0}}else if(u.setTimeout){l=s.width();h=s.height();p={top:s.scrollTop(),left:s.scrollLeft()}}else if(u.preventDefault){i.at="left top";l=h=0;p={top:i.of.pageY,left:i.of.pageX}}else{l=s.outerWidth();h=s.outerHeight();p=s.offset()}e.each(["my","at"],function(){var e=(i[this]||"").split(" ");if(e.length===1)e=t.test(e[0])?e.concat(["center"]):n.test(e[0])?["center"].concat(e):["center","center"];e[0]=t.test(e[0])?e[0]:"center";e[1]=n.test(e[1])?e[1]:"center";i[this]=e});if(a.length===1)a[1]=a[0];f[0]=parseInt(f[0],10)||0;if(f.length===1)f[1]=f[0];f[1]=parseInt(f[1],10)||0;if(i.at[0]==="right")p.left+=l;else if(i.at[0]==="center")p.left+=l/2;if(i.at[1]==="bottom")p.top+=h;else if(i.at[1]==="center")p.top+=h/2;p.left+=f[0];p.top+=f[1];return this.each(function(){var t=e(this),n=t.outerWidth(),r=t.outerHeight(),s=parseInt(e.curCSS(this,"marginLeft",true))||0,o=parseInt(e.curCSS(this,"marginTop",true))||0,u=n+s+(parseInt(e.curCSS(this,"marginRight",true))||0),d=r+o+(parseInt(e.curCSS(this,"marginBottom",true))||0),v=e.extend({},p),m;if(i.my[0]==="right")v.left-=n;else if(i.my[0]==="center")v.left-=n/2;if(i.my[1]==="bottom")v.top-=r;else if(i.my[1]==="center")v.top-=r/2;v.left=Math.round(v.left);v.top=Math.round(v.top);m={left:v.left-s,top:v.top-o};e.each(["left","top"],function(t,s){e.ui.position[a[t]]&&e.ui.position[a[t]][s](v,{targetWidth:l,targetHeight:h,elemWidth:n,elemHeight:r,collisionPosition:m,collisionWidth:u,collisionHeight:d,offset:f,my:i.my,at:i.at})});e.fn.bgiframe&&t.bgiframe();t.offset(e.extend(v,{using:i.using}))})};e.ui.position={fit:{left:function(t,n){var r=e(window);r=n.collisionPosition.left+n.collisionWidth-r.width()-r.scrollLeft();t.left=r>0?t.left-r:Math.max(t.left-n.collisionPosition.left,t.left)},top:function(t,n){var r=e(window);r=n.collisionPosition.top+n.collisionHeight-r.height()-r.scrollTop();t.top=r>0?t.top-r:Math.max(t.top-n.collisionPosition.top,t.top)}},flip:{left:function(t,n){if(n.at[0]!=="center"){var r=e(window);r=n.collisionPosition.left+n.collisionWidth-r.width()-r.scrollLeft();var i=n.my[0]==="left"?-n.elemWidth:n.my[0]==="right"?n.elemWidth:0,s=n.at[0]==="left"?n.targetWidth:-n.targetWidth,o=-2*n.offset[0];t.left+=n.collisionPosition.left<0?i+s+o:r>0?i+s+o:0}},top:function(t,n){if(n.at[1]!=="center"){var r=e(window);r=n.collisionPosition.top+n.collisionHeight-r.height()-r.scrollTop();var i=n.my[1]==="top"?-n.elemHeight:n.my[1]==="bottom"?n.elemHeight:0,s=n.at[1]==="top"?n.targetHeight:-n.targetHeight,o=-2*n.offset[1];t.top+=n.collisionPosition.top<0?i+s+o:r>0?i+s+o:0}}}};if(!e.offset.setOffset){e.offset.setOffset=function(t,n){if(/static/.test(e.curCSS(t,"position")))t.style.position="relative";var r=e(t),i=r.offset(),s=parseInt(e.curCSS(t,"top",true),10)||0,o=parseInt(e.curCSS(t,"left",true),10)||0;i={top:n.top-i.top+s,left:n.left-i.left+o};"using"in n?n.using.call(t,i):r.css(i)};e.fn.offset=function(t){var n=this[0];if(!n||!n.ownerDocument)return null;if(t)return this.each(function(){e.offset.setOffset(this,t)});return i.call(this)}}})(scsHeaderJQuery);(function(e,t){var n={buttons:true,height:true,maxHeight:true,maxWidth:true,minHeight:true,minWidth:true,width:true},r={maxHeight:true,maxWidth:true,minHeight:true,minWidth:true},i=e.attrFn||{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true,click:true};e.widget("ui.dialog",{options:{autoOpen:true,buttons:{},closeOnEscape:true,closeText:"close",dialogClass:"",draggable:true,hide:null,height:"auto",maxHeight:false,maxWidth:false,minHeight:150,minWidth:150,modal:false,position:{my:"center",at:"center",collision:"fit",using:function(t){var n=e(this).css(t).offset().top;n<0&&e(this).css("top",t.top-n)}},resizable:true,show:null,stack:true,title:"",width:300,zIndex:1e3},_create:function(){this.originalTitle=this.element.attr("title");if(typeof this.originalTitle!=="string")this.originalTitle="";this.options.title=this.options.title||this.originalTitle;var t=this,n=t.options,r=n.title||"&#160;",i=e.ui.dialog.getTitleId(t.element),s=(t.uiDialog=e("<div></div>")).appendTo(document.body).hide().addClass("ui-dialog ui-widget ui-widget-content ui-corner-all "+n.dialogClass).css({zIndex:n.zIndex}).attr("tabIndex",-1).css("outline",0).keydown(function(r){if(n.closeOnEscape&&!r.isDefaultPrevented()&&r.keyCode&&r.keyCode===e.ui.keyCode.ESCAPE){t.close(r);r.preventDefault()}}).attr({role:"dialog","aria-labelledby":i}).mousedown(function(e){t.moveToTop(false,e)});t.element.show().removeAttr("title").addClass("ui-dialog-content ui-widget-content").appendTo(s);var o=(t.uiDialogTitlebar=e("<div></div>")).addClass("ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix").prependTo(s),u=e('<a href="#"></a>').addClass("ui-dialog-titlebar-close ui-corner-all").attr("role","button").hover(function(){u.addClass("ui-state-hover")},function(){u.removeClass("ui-state-hover")}).focus(function(){u.addClass("ui-state-focus")}).blur(function(){u.removeClass("ui-state-focus")}).click(function(e){t.close(e);return false}).appendTo(o);(t.uiDialogTitlebarCloseText=e("<span></span>")).addClass("ui-icon ui-icon-closethick").text(n.closeText).appendTo(u);e("<span></span>").addClass("ui-dialog-title").attr("id",i).html(r).prependTo(o);if(e.isFunction(n.beforeclose)&&!e.isFunction(n.beforeClose))n.beforeClose=n.beforeclose;o.find("*").add(o).disableSelection();n.draggable&&e.fn.draggable&&t._makeDraggable();n.resizable&&e.fn.resizable&&t._makeResizable();t._createButtons(n.buttons);t._isOpen=false;e.fn.bgiframe&&s.bgiframe()},_init:function(){this.options.autoOpen&&this.open()},destroy:function(){var e=this;e.overlay&&e.overlay.destroy();e.uiDialog.hide();e.element.unbind(".dialog").removeData("dialog").removeClass("ui-dialog-content ui-widget-content").hide().appendTo("body");e.uiDialog.remove();e.originalTitle&&e.element.attr("title",e.originalTitle);return e},widget:function(){return this.uiDialog},close:function(t){var n=this,r,i;if(false!==n._trigger("beforeClose",t)){n.overlay&&n.overlay.destroy();n.uiDialog.unbind("keypress.ui-dialog");n._isOpen=false;if(n.options.hide)n.uiDialog.hide(n.options.hide,function(){n._trigger("close",t)});else{n.uiDialog.hide();n._trigger("close",t)}e.ui.dialog.overlay.resize();if(n.options.modal){r=0;e(".ui-dialog").each(function(){if(this!==n.uiDialog[0]){i=e(this).css("z-index");isNaN(i)||(r=Math.max(r,i))}});e.ui.dialog.maxZ=r}return n}},isOpen:function(){return this._isOpen},moveToTop:function(t,n){var r=this,i=r.options;if(i.modal&&!t||!i.stack&&!i.modal)return r._trigger("focus",n);if(i.zIndex>e.ui.dialog.maxZ)e.ui.dialog.maxZ=i.zIndex;if(r.overlay){e.ui.dialog.maxZ+=1;r.overlay.$el.css("z-index",e.ui.dialog.overlay.maxZ=e.ui.dialog.maxZ)}t={scrollTop:r.element.scrollTop(),scrollLeft:r.element.scrollLeft()};e.ui.dialog.maxZ+=1;r.uiDialog.css("z-index",e.ui.dialog.maxZ);r.element.attr(t);r._trigger("focus",n);return r},open:function(){if(!this._isOpen){var t=this,n=t.options,r=t.uiDialog;t.overlay=n.modal?new e.ui.dialog.overlay(t):null;t._size();t._position(n.position);r.show(n.show);t.moveToTop(true);n.modal&&r.bind("keypress.ui-dialog",function(t){if(t.keyCode===e.ui.keyCode.TAB){var n=e(":tabbable",this),r=n.filter(":first");n=n.filter(":last");if(t.target===n[0]&&!t.shiftKey){r.focus(1);return false}else if(t.target===r[0]&&t.shiftKey){n.focus(1);return false}}});e(t.element.find(":tabbable").get().concat(r.find(".ui-dialog-buttonpane :tabbable").get().concat(r.get()))).eq(0).focus();t._isOpen=true;t._trigger("open");return t}},_createButtons:function(t){var n=this,r=false,s=e("<div></div>").addClass("ui-dialog-buttonpane ui-widget-content ui-helper-clearfix"),u=e("<div></div>").addClass("ui-dialog-buttonset").appendTo(s);n.uiDialog.find(".ui-dialog-buttonpane").remove();typeof t==="object"&&t!==null&&e.each(t,function(){return!(r=true)});if(r){e.each(t,function(t,r){r=e.isFunction(r)?{click:r,text:t}:r;var s=e('<button type="button"></button>').click(function(){r.click.apply(n.element[0],arguments)}).appendTo(u);e.each(r,function(e,t){if(e!=="click")e in i?s[e](t):s.attr(e,t)});e.fn.button&&s.button()});s.appendTo(n.uiDialog)}},_makeDraggable:function(){function t(e){return{position:e.position,offset:e.offset}}var n=this,r=n.options,i=e(document),s;n.uiDialog.draggable({cancel:".ui-dialog-content, .ui-dialog-titlebar-close",handle:".ui-dialog-titlebar",containment:"document",start:function(i,o){s=r.height==="auto"?"auto":e(this).height();e(this).height(e(this).height()).addClass("ui-dialog-dragging");n._trigger("dragStart",i,t(o))},drag:function(e,r){n._trigger("drag",e,t(r))},stop:function(o,u){r.position=[u.position.left-i.scrollLeft(),u.position.top-i.scrollTop()];e(this).removeClass("ui-dialog-dragging").height(s);n._trigger("dragStop",o,t(u));e.ui.dialog.overlay.resize()}})},_makeResizable:function(n){function r(e){return{originalPosition:e.originalPosition,originalSize:e.originalSize,position:e.position,size:e.size}}n=n===t?this.options.resizable:n;var i=this,s=i.options,o=i.uiDialog.css("position");n=typeof n==="string"?n:"n,e,s,w,se,sw,ne,nw";i.uiDialog.resizable({cancel:".ui-dialog-content",containment:"document",alsoResize:i.element,maxWidth:s.maxWidth,maxHeight:s.maxHeight,minWidth:s.minWidth,minHeight:i._minHeight(),handles:n,start:function(t,n){e(this).addClass("ui-dialog-resizing");i._trigger("resizeStart",t,r(n))},resize:function(e,t){i._trigger("resize",e,r(t))},stop:function(t,n){e(this).removeClass("ui-dialog-resizing");s.height=e(this).height();s.width=e(this).width();i._trigger("resizeStop",t,r(n));e.ui.dialog.overlay.resize()}}).css("position",o).find(".ui-resizable-se").addClass("ui-icon ui-icon-grip-diagonal-se")},_minHeight:function(){var e=this.options;return e.height==="auto"?e.minHeight:Math.min(e.minHeight,e.height)},_position:function(t){var n=[],r=[0,0],i;if(t){if(typeof t==="string"||typeof t==="object"&&"0"in t){n=t.split?t.split(" "):[t[0],t[1]];if(n.length===1)n[1]=n[0];e.each(["left","top"],function(e,t){if(+n[e]===n[e]){r[e]=n[e];n[e]=t}});t={my:n.join(" "),at:n.join(" "),offset:r.join(" ")}}t=e.extend({},e.ui.dialog.prototype.options.position,t)}else t=e.ui.dialog.prototype.options.position;(i=this.uiDialog.is(":visible"))||this.uiDialog.show();this.uiDialog.css({top:0,left:0}).position(e.extend({of:window},t));i||this.uiDialog.hide()},_setOptions:function(t){var i=this,s={},o=false;e.each(t,function(e,t){i._setOption(e,t);if(e in n)o=true;if(e in r)s[e]=t});o&&this._size();this.uiDialog.is(":data(resizable)")&&this.uiDialog.resizable("option",s)},_setOption:function(t,n){var r=this,i=r.uiDialog;switch(t){case"beforeclose":t="beforeClose";break;case"buttons":r._createButtons(n);break;case"closeText":r.uiDialogTitlebarCloseText.text(""+n);break;case"dialogClass":i.removeClass(r.options.dialogClass).addClass("ui-dialog ui-widget ui-widget-content ui-corner-all "+n);break;case"disabled":n?i.addClass("ui-dialog-disabled"):i.removeClass("ui-dialog-disabled");break;case"draggable":var s=i.is(":data(draggable)");s&&!n&&i.draggable("destroy");!s&&n&&r._makeDraggable();break;case"position":r._position(n);break;case"resizable":(s=i.is(":data(resizable)"))&&!n&&i.resizable("destroy");s&&typeof n==="string"&&i.resizable("option","handles",n);!s&&n!==false&&r._makeResizable(n);break;case"title":e(".ui-dialog-title",r.uiDialogTitlebar).html(""+(n||"&#160;"));break}e.Widget.prototype._setOption.apply(r,arguments)},_size:function(){var t=this.options,n,r,i=this.uiDialog.is(":visible");this.element.show().css({width:"auto",minHeight:0,height:0});if(t.minWidth>t.width)t.width=t.minWidth;n=this.uiDialog.css({height:"auto",width:t.width}).height();r=Math.max(0,t.minHeight-n);if(t.height==="auto")if(e.support.minHeight)this.element.css({minHeight:r,height:"auto"});else{this.uiDialog.show();t=this.element.css("height","auto").height();i||this.uiDialog.hide();this.element.height(Math.max(t,r))}else this.element.height(Math.max(t.height-n,0));this.uiDialog.is(":data(resizable)")&&this.uiDialog.resizable("option","minHeight",this._minHeight())}});e.extend(e.ui.dialog,{version:"1.8.16",uuid:0,maxZ:0,getTitleId:function(e){e=e.attr("id");if(!e){this.uuid+=1;e=this.uuid}return"ui-dialog-title-"+e},overlay:function(t){this.$el=e.ui.dialog.overlay.create(t)}});e.extend(e.ui.dialog.overlay,{instances:[],oldInstances:[],maxZ:0,events:e.map("focus,mousedown,mouseup,keydown,keypress,click".split(","),function(e){return e+".dialog-overlay"}).join(" "),create:function(t){if(this.instances.length===0){setTimeout(function(){e.ui.dialog.overlay.instances.length&&e(document).bind(e.ui.dialog.overlay.events,function(t){if(e(t.target).zIndex()<e.ui.dialog.overlay.maxZ)return false})},1);e(document).bind("keydown.dialog-overlay",function(n){if(t.options.closeOnEscape&&!n.isDefaultPrevented()&&n.keyCode&&n.keyCode===e.ui.keyCode.ESCAPE){t.close(n);n.preventDefault()}});e(window).bind("resize.dialog-overlay",e.ui.dialog.overlay.resize)}var n=(this.oldInstances.pop()||e("<div></div>").addClass("ui-widget-overlay")).appendTo(document.body).css({width:this.width(),height:this.height()});e.fn.bgiframe&&n.bgiframe();this.instances.push(n);return n},destroy:function(t){var n=e.inArray(t,this.instances);n!=-1&&this.oldInstances.push(this.instances.splice(n,1)[0]);this.instances.length===0&&e([document,window]).unbind(".dialog-overlay");t.remove();var r=0;e.each(this.instances,function(){r=Math.max(r,this.css("z-index"))});this.maxZ=r},height:function(){var t,n;if(e.browser.msie&&e.browser.version<7){t=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);n=Math.max(document.documentElement.offsetHeight,document.body.offsetHeight);return t<n?e(window).height()+"px":t+"px"}else return e(document).height()+"px"},width:function(){var t,n;if(e.browser.msie){t=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth);n=Math.max(document.documentElement.offsetWidth,document.body.offsetWidth);return t<n?e(window).width()+"px":t+"px"}else return e(document).width()+"px"},resize:function(){var t=e([]);e.each(e.ui.dialog.overlay.instances,function(){t=t.add(this)});t.css({width:0,height:0}).css({width:e.ui.dialog.overlay.width(),height:e.ui.dialog.overlay.height()})}});e.extend(e.ui.dialog.overlay.prototype,{destroy:function(){e.ui.dialog.overlay.destroy(this.$el)}})})(scsHeaderJQuery);var scsHeaderDateFormat=function(){var e=/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZ]|"[^"]*"|'[^']*'/g,t=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,n=/[^-+\dA-Z]/g,r=function(e,t){e=String(e);t=t||2;while(e.length<t)e="0"+e;return e};return function(i,s,o){var u=scsHeaderDateFormat;if(arguments.length==1&&Object.prototype.toString.call(i)=="[object String]"&&!/\d/.test(i)){s=i;i=undefined}i=i?new Date(i):new Date;if(isNaN(i))throw SyntaxError("invalid date");s=String(u.masks[s]||s||u.masks["default"]);if(s.slice(0,4)=="UTC:"){s=s.slice(4);o=true}var a=o?"getUTC":"get",f=i[a+"Date"](),l=i[a+"Day"](),c=i[a+"Month"](),h=i[a+"FullYear"](),p=i[a+"Hours"](),d=i[a+"Minutes"](),v=i[a+"Seconds"](),m=i[a+"Milliseconds"](),g=o?0:i.getTimezoneOffset(),y={d:f,dd:r(f),ddd:u.i18n.dayNames[l],dddd:u.i18n.dayNames[l+7],m:c+1,mm:r(c+1),mmm:u.i18n.monthNames[c],mmmm:u.i18n.monthNames[c+12],yy:String(h).slice(2),yyyy:h,h:p%12||12,hh:r(p%12||12),H:p,HH:r(p),M:d,MM:r(d),s:v,ss:r(v),l:r(m,3),L:r(m>99?Math.round(m/10):m),t:p<12?"a":"p",tt:p<12?"am":"pm",T:p<12?"A":"P",TT:p<12?"AM":"PM",Z:o?"UTC":(String(i).match(t)||[""]).pop().replace(n,""),o:(g>0?"-":"+")+r(Math.floor(Math.abs(g)/60)*100+Math.abs(g)%60,4),S:["th","st","nd","rd"][f%10>3?0:(f%100-f%10!=10)*f%10]};return s.replace(e,function(e){return e in y?y[e]:e.slice(1,e.length-1)})}}();scsHeaderDateFormat.masks={"default":"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:ss",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'"};scsHeaderDateFormat.i18n={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"]};scsHeaderJQuery.namespace("scsHeader.commons");scsHeader.commons.callScoped=function(e,t){var n=[].slice.call(arguments,2);return e.apply(t,n)};scsHeaderJQuery(function(e){if(window.PIE){e(".scs-pageheader .scs-pie").each(function(){PIE.attach(this)})}});if(scsHeaderJQuery.browser.msie){var version=scsHeaderJQuery.browser.version.split(".")[0];scsHeaderJQuery("html").addClass("msIe msIe"+version+(version<7?" msIeLt7":""))}(function(){var e=50;var t=310;var n=470;scsHeaderJQuery.ui.dialog.prototype.options.modal=true;scsHeaderJQuery.ui.dialog.prototype.options.draggable=false;scsHeaderJQuery.ui.dialog.prototype.options.resizable=false;scsHeaderJQuery.ui.dialog.prototype.options.width="auto";scsHeaderJQuery.ui.dialog.prototype.options.dialogClass="scs-pageheader-ui-dialog";scsHeaderJQuery.ui.dialog.prototype.options.minHeight=false;scsHeaderJQuery.ui.dialog.prototype.center=function(){this._position()};var r=scsHeaderJQuery.ui.dialog.prototype._create;scsHeaderJQuery.ui.dialog.prototype._create=function(){if(!this.options.width||this.options.width=="auto"){var i=this.element.find("img").length>0;if(!i&&this.options.buttons){for(var s in this.options.buttons){if(s!="length"){i=true;break}}}this.options.width=(i?n:t)-e}if(this.element.parent().length){this.element.data("dialogOriginalClass",this.element.attr("class"));this.element.data("dialogOriginalStyle",this.element.attr("style"))}else{this.element.data("dialogRemoveFromDomAfterClose",true)}scsHeader.commons.callScoped(r,this)};var i=scsHeaderJQuery.ui.dialog.prototype.open;scsHeaderJQuery.ui.dialog.prototype.open=function(){scsHeader.commons.callScoped(i,this);this.overlay.$el.data("myCorrespondingDialog",this.element);if(!jQuery(this.element).data("openedOnce")){SCSC.commons.ensure(this.element);jQuery(this.element).data("openedOnce",true)}}})();scsHeaderJQuery(function(e){e(document).bind("dialogclose",function(t,n){var r=e(t.target);if(SCSR.common||!r.closest(".ui-dialog").is(".scs-pageheader-ui-dialog"))return true;var r=e(t.target);r.dialog("destroy");if(r.data("dialogRemoveFromDomAfterClose")){r.remove()}else{if(r.data("dialogOriginalClass")&&r.data("dialogOriginalClass").length){r.attr("class",r.data("dialogOriginalClass"))}if(r.data("dialogOriginalStyle")&&r.data("dialogOriginalStyle").length){r.attr("style",r.data("dialogOriginalStyle"))}else{r.removeAttr("style")}}});e(".scs-pageheader-ui-dialog + .ui-widget-overlay").live("click",function(t){if(!e(this).data("myCorrespondingDialog"))return true;e(this).data("myCorrespondingDialog").dialog("close")});e(window).bind("resize scroll",function(){e(".scs-pageheader-ui-dialog .ui-dialog-content").each(function(){e(this).dialog("center")})})});scsHeaderJQuery.namespace("scsHeader.profile");scsHeader.profile={USER_ID:"scn",LAST_NAME:"cust_lname",FIRST_NAME:"cust_fname",SEGMENT:"cust_segment",SEGMENT_RES:"res",SEGMENT_SME:"sme",SEGMENT_CBU:"cbu",data:null,init:function(e){var t=this;if(e&&e[t.USER_ID]){t.data=e;scsHeaderJQuery(document).ready(function(){t.initUserbox();scsHeaderJQuery(document).triggerHandler("scs-logged-in")})}},initUserbox:function(){if(this.isLoggedIn()){var e=scsHeaderJQuery("#scs-pageheader-userbox");var t=scsHeaderJQuery("#scs-pageheader-userbox-button");var n=t.find("span.text");if(this.isSegmentSme()){if(!this.getFirstName()){n.text(this.getLastName())}else{n.text(SCSC.o2012.common.i18n["smeGenericCompanyAccount"]);var r=scsHeaderJQuery("#scs-pageheader-userbox-menu");r.prepend(scsHeaderJQuery("<span/>").text(this.getFullName()).addClass("footnote"))}}else if(this.isSegmentCbu()){if(!this.getFirstName()){n.text(this.getLastName())}else{n.text(SCSC.o2012.common.i18n["cbuGenericCompanyAccount"]);var r=scsHeaderJQuery("#scs-pageheader-userbox-menu");r.prepend(scsHeaderJQuery("<span/>").text(this.getFullName()).addClass("footnote"))}}else{n.text(this.getFullName())}e.show();SCSC.commons.ensure(e)}},initUserBoxEvents:function(){var e=scsHeaderJQuery("#scs-pageheader-userbox-menu");if(e.length>0){var t=scsHeaderJQuery("#scs-pageheader-userbox");var n=scsHeaderJQuery("#scs-pageheader-userbox-button");n.click(function(){t.toggleClass("isActive");this.blur()});scsHeaderJQuery(document).click(function(){t.removeClass("isActive")});t.click(function(e){e.stopPropagation()})}},getUserBoxElement:function(){return scsHeaderJQuery("#scs-pageheader-userbox")},getLogoutUrl:function(){return this.getUserBoxElement().data("logout-url")},getLoginUrl:function(){return this.getUserBoxElement().data("login-url")},getSmeShopUrl:function(){return this.getUserBoxElement().data("sme-shop-url")},getSmeShopProductDetailUrl:function(){return this.getUserBoxElement().data("sme-shop-product-detail-url")},getCbuShopUrl:function(){return this.getUserBoxElement().data("cbu-shop-url")},getCbuShopProductDetailUrl:function(){return this.getUserBoxElement().data("cbu-shop-product-detail-url")},isLoggedIn:function(){return this.data!=null},getId:function(){return this.data[this.USER_ID]},getFirstName:function(){if(this.data[this.FIRST_NAME]){return unescape(decodeURIComponent(this.data[this.FIRST_NAME]))}return""},getLastName:function(){if(this.data[this.LAST_NAME]){return unescape(decodeURIComponent(this.data[this.LAST_NAME]))}return""},getFullName:function(){var e=new Array;if(this.getFirstName()!=""){e.push(this.getFirstName())}if(this.getLastName()!=""){e.push(this.getLastName())}return e.join(" ")},getSegment:function(){return this.data[this.SEGMENT]},isSegmentSme:function(){return this.getSegment()==this.SEGMENT_SME},isSegmentCbu:function(){return this.getSegment()==this.SEGMENT_CBU},isSegmentRes:function(){return this.getSegment()==this.SEGMENT_RES}};scsHeaderJQuery(document).ready(function(){scsHeader.profile.initUserBoxEvents()});scsHeaderJQuery(document).bind("scs-logged-in",function(){if(scsHeader.profile.isSegmentSme()&&window.SCSR&&!SCSR.sme.hasClosedCallout()){return}scsHeaderJQuery("<script/>").attr("src","/content/swisscom/"+scsHeaderJQuery("html").attr("lang")+"/header.goinglive.js").appendTo(document.body)});scsHeaderJQuery(function(e){var t=e("#scs-pageheader-topnav li.active");if(t.is(":last-child")){t.after('<li class="dummy">&nbsp;</li>')}t.addClass("bigDevider").next().addClass("bigDevider");var n=250;var r=250;var i=100;var s;var o;var u=false;var a=e("#scs-pageheader-megadropdown");var f=e("ul#scs-pageheader-topnav");var l;var c=f.children(".active:first");var h=[];var p=e("#scs-pageheader-megadropdown-loader");var d=function(){var t=l.data("mdd");var n=e("#scs-pageheader-megadropdown-content-"+t);if("createTouch"in document||n.length<=0){return}c.addClass("active bigDevider").next().addClass("bigDevider");if(l.prev().is(".active")){l.removeClass("bigDevider")}else if(l.is(".active")){l.removeClass("active").add(l.next()).removeClass("bigDevider")}else if(l.next().is(".active")){l.next().removeClass("bigDevider")}f.find(".open").removeClass("open");l.addClass("open").find("a:first").addClass("open");f.addClass("megaDdVisible");var r=h[t];if(!u){a.css("height",0).show()}a.children().hide().attr("aria-hidden","true");var s=(r?n.show():p.show()).height();var o=Math.abs(s-a.height())/100*i;a.animate({height:s},o,function(){if(!r&&h[t]&&t==l.data("mdd")){var e=n.height();var s=Math.abs(-a.height())/100*i;a.animate({height:e},s);p.hide();n.show()}});n.attr("aria-hidden","false");u=true};var v=function(){var t=l.data("mdd");var n=e("#scs-pageheader-megadropdown-content-"+t);u=false;n.attr("aria-hidden","true");f.find(".open").removeClass("open");c.addClass("active bigDevider").next().addClass("bigDevider");a.slideUp(a.height()/100*i,function(){f.removeClass("megaDdVisible")})};f.find("li").bind("mouseenter",function(){e(this).find("a").trigger("focus")});f.find("li").bind("mouseleave",function(){if(e.browser.msie){e(this).find("a").triggerHandler("blur")}else{e(this).find("a").trigger("blur")}});f.find("a").bind("focus",function(){var t=e(this);if(e.browser.msie){t.attr("hideFocus","hidefocus")}l=t.parent("li");window.clearTimeout(s);window.clearTimeout(o);if(u){d()}else{s=window.setTimeout(d,n)}}).bind("blur",function(){window.clearTimeout(s);window.clearTimeout(o);if(u){o=window.setTimeout(v,r)}});a.bind("mouseenter focus",function(){window.clearTimeout(o)}).bind("mouseleave blur",function(){l.find("a").trigger("mouseleave")});e("#scs-pageheader-megadropdown .mdd-content").each(function(t){var n=e(this);var r=n.data("url");if(r){h[t]=false;n.load(r,function(){window.SCSC&&SCSC.commons.ensure(n[0]);n.append('<div class="clear">&nbsp;</div>');var r=false;if(!r){h[t]=true;if(l&&l.data("mdd")==t){d()}e("#scs-pageheader-megadropdown-content-"+t+" a").live("click",function(t){scsHeader.siteCatalyst.trackClick(this,t,e(this).data("trackingTitle"),"MDD")})}else{window.setTimeout(function(){h[t]=true;if(l&&l.data("mdd")==t){d()}},t*2e3);n.append("<br>");for(var i=0;i<=t;i++){n.append("<div>"+t+"</div>")}if(t==0){e("#scs-pageheader-topnav li:first").trigger("mouseover")}}})}else{h[t]=true}})});scsHeaderJQuery(function(e){var t=false;e("#scs-pageheader-language-switch li.active, #scs-pageheader-language-switch li a.active").each(function(){var t=e(this);var n=t.text();var r=t.closest("ul");var i=e("#scs-pageheader-language-switch li").length;if(i>1){r.before('<a href="javascript:void(0)" class="active">'+n+"</a>")}else{r.before(n)}if(this.tagName.toLowerCase()=="a"){t=t.closest("li")}t.remove()});e("#scs-pageheader-language-switch a.active").bind("click",function(n){var r=e("#scs-pageheader-language-switch");t=!r.is(".open");r[t?"addClass":"removeClass"]("open");if(e.browser.msie){var i=e.browser.version.split(".")[0];if(t&&i==7){r.find("li").css("opacity",.99).css("opacity",1)}if(i>=7&&i<=8){r.find("ul").css("behavior","url()").css("behavior","")}}n.preventDefault()});e("body").bind("click",function(n){if(!t||e(n.target).parents("#scs-pageheader-language-switch").length||e(n.target).is("#scs-pageheader-language-switch")){return}e("#scs-pageheader-language-switch a.active").trigger("click")});e(".scs-pageheader-metanav-date").html(scsHeaderDateFormat(new Date,"dd.mm.yyyy"));var n=false;e("#scs-pageheader-junction-switch-selector a.active").bind("click",function(t){var r=e(this);var i=e("#scs-pageheader-junction-switch-dropdown");var s=e("#scs-pageheader-junction-switch-selector");n=!i.is(".open");i[n?"addClass":"removeClass"]("open");s[n?"addClass":"removeClass"]("open");if(e.browser.msie){var o=e.browser.version.split(".")[0];if(n&&o==7){i.find("li").css("opacity",.99).css("opacity",1)}if(o>=7&&o<=8){i.find("ul").css("behavior","url()").css("behavior","")}}t.preventDefault()});e("body").bind("click",function(t){if(!n||e(t.target).parents("#scs-pageheader-junction-switch-selector").length||e(t.target).is("#scs-pageheader-junction-switch-selector")){return}e("#scs-pageheader-junction-switch-selector a.active").trigger("click")});e("#scs-pageheader-junction-switch-dropdown").bind("click",function(e){e.stopPropagation()})});scsHeaderJQuery.namespace("scsHeader.crisis");scsHeader.crisis.init=function(e){var t=scsHeaderJQuery;var n=t("#scs-pageheader-crisis");if(!e||!e.crisis||t.cookie("closedCrisis_"+e.hash)=="1"){n.hide();return}t("#scs-pageheader-crisis-text").html(e.text);if(e.link&&e.link.length){t("#scs-pageheader-crisis-link").attr("href",e.link).attr("target",e.target&&e.target.length?e.target&&e.target:"_self").show()}if(e.styling&&e.styling.length){n.addClass(e.styling)}var r=t("#scs-pageheader-crisis-text");var i=r.html("<p>gÄ</p>").height();r.html(e.text);if(r.height()<=i+3){r.addClass("singleLine")}t("#scs-boxmovingdetails-gradient, .scs-stage-gradient, .scs-stage-background-cropped").css("top","40px");t("#scs-pageheader-crisis-close").bind("click",function(r){t.cookie("closedCrisis_"+e.hash,"1");n.slideUp();t("#scs-boxmovingdetails-gradient, .scs-stage-gradient, .scs-stage-background-cropped").css("top","0");r.preventDefault()});n.show()};scsHeaderJQuery(function(e){var t=e("#scs-pageheader-dropout-dialog");if(t.length>0){var n=e("#scs-pageheader-logo");n.click(function(e){e.preventDefault();t.dialog({title:t.data("title"),buttons:[{text:t.data("continue-title"),"class":"secondary-button",click:function(){t.dialog("close")}},{text:t.data("cancel-title"),"class":"primary-button",click:function(){location.href=n.attr("href")}}]});return false})}});(function(e){var t=-1;var n=88;var r=48;var i=2;var s;var o;var u;var a=1/100;var f=20;var l=3;var c=0;var h=null;var p=null;var d=function(e){var t={x:e.pageX,y:e.pageY};var n=+(new Date);if(n===p){h=t;return}if(h&&p){var r=Math.sqrt(Math.pow(h.x-t.x,2),Math.pow(h.y-t.y));var i=n-p;c=r/i}p=n;h=t};var v=function(){t=(t+1)%n;if(t===0){i--;window.clearInterval(o);o=null;if(i===0){s.attr("src",u).css("marginLeft",0);e(document).unbind("mousemove",d);return}else{a=1/55}}s.css("marginLeft","-"+t*r+"px");var h=a*(1+c*l);h=Math.max(a/f,Math.min(a*f,h));h=1/h;o=window.setTimeout(arguments.callee,h)}})(scsHeaderJQuery)