/*

 jQuery JavaScript Library v1.6.4
 http://jquery.com/

 Copyright 2011, John Resig
 Dual licensed under the MIT or GPL Version 2 licenses.
 http://jquery.org/license

 Includes Sizzle.js
 http://sizzlejs.com/
 Copyright 2011, The Dojo Foundation
 Released under the MIT, BSD, and GPL Licenses.

 Date: Mon Sep 12 18:54:48 2011 -0400

 jQuery UI 1.8.16

 Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
 Dual licensed under the MIT or GPL Version 2 licenses.
 http://jquery.org/license

 http://docs.jquery.com/UI
 Copyright (c) app.telemetry GmbH, Linz, Austria, 2007-2011.

 All rights reserved. All hardware and software names used are registered
 trade names and/or registered trademarks of the respective manufacturers.

 The user of this computer program acknowledges that the above copyright
 notice, which constitutes the Universal Copyright Convention, will be
 attached at the position in the function of the computer program which the
 author has deemed to sufficiently express the reservation of copyright.
 It is prohibited for customers, users and/or third parties to remove,
 modify or move this copyright notice.

 The MIT License

 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to deal
 in the Software without restriction, including without limitation the rights
 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 copies of the Software, and to permit persons to whom the Software is
 furnished to do so, subject to the following conditions:

 The above copyright notice and this permission notice shall be included in
 all copies or substantial portions of the Software.

 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 THE SOFTWARE.
 
 html2canvas v0.30 <http://html2canvas.hertzen.com>
 Copyright (c) 2011 Niklas von Hertzen. All rights reserved.
 http://www.twitter.com/niklasvh 

 Released under MIT License
*/
(function(f,m){function G(a,b,e){if(e===m&&a.nodeType===1)if(e="data-"+b.replace(ea,"-$1").toLowerCase(),e=a.getAttribute(e),typeof e==="string"){try{e=e==="true"?true:e==="false"?false:e==="null"?null:!c.isNaN(e)?parseFloat(e):S.test(e)?c.parseJSON(e):e}catch(g){}c.data(a,b,e)}else e=m;return e}function l(a){for(var b in a)if(b!=="toJSON")return false;return true}function d(a,b,e){var g=b+"defer",i=b+"queue",n=b+"mark",s=c.data(a,g,m,true);s&&(e==="queue"||!c.data(a,i,m,true))&&(e==="mark"||!c.data(a,
n,m,true))&&setTimeout(function(){!c.data(a,i,m,true)&&!c.data(a,n,m,true)&&(c.removeData(a,g,true),s.resolve())},0)}function h(){return false}function k(){return true}function j(a,b,e){var g=c.extend({},e[0]);g.type=a;g.originalEvent={};g.liveFired=m;c.event.handle.call(b,g);g.isDefaultPrevented()&&e[0].preventDefault()}function C(a){var b,e,g,i,n,s,d,f,h,k,m,l=[];i=[];n=c._data(this,"events");if(!(a.liveFired===this||!n||!n.live||a.target.disabled||a.button&&a.type==="click")){a.namespace&&(m=RegExp("(^|\\.)"+
a.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)"));a.liveFired=this;var j=n.live.slice(0);for(d=0;d<j.length;d++)n=j[d],n.origType.replace(ta,"")===a.type?i.push(n.selector):j.splice(d--,1);i=c(a.target).closest(i,a.currentTarget);for(f=0,h=i.length;f<h;f++){k=i[f];for(d=0;d<j.length;d++)if(n=j[d],k.selector===n.selector&&(!m||m.test(n.namespace))&&!k.elem.disabled){s=k.elem;g=null;if(n.preType==="mouseenter"||n.preType==="mouseleave")a.type=n.preType,(g=c(a.relatedTarget).closest(n.selector)[0])&&
c.contains(s,g)&&(g=s);(!g||g!==s)&&l.push({elem:s,handleObj:n,level:k.level})}}for(f=0,h=l.length;f<h;f++){i=l[f];if(e&&i.level>e)break;a.currentTarget=i.elem;a.data=i.handleObj.data;a.handleObj=i.handleObj;m=i.handleObj.origHandler.apply(i.elem,arguments);if(m===false||a.isPropagationStopped())if(e=i.level,m===false&&(b=false),a.isImmediatePropagationStopped())break}return b}}function y(a,b){return(a&&a!=="*"?a+".":"")+b.replace(L,"`").replace(x,"&")}function u(a,b,e){b=b||0;if(c.isFunction(b))return c.grep(a,
function(a,c){return!!b.call(a,c,a)===e});else if(b.nodeType)return c.grep(a,function(a){return a===b===e});else if(typeof b==="string"){var g=c.grep(a,function(a){return a.nodeType===1});if(Ta.test(b))return c.filter(b,g,!e);else b=c.filter(b,g)}return c.grep(a,function(a){return c.inArray(a,b)>=0===e})}function p(a,b){if(b.nodeType===1&&c.hasData(a)){var e=c.expando,g=c.data(a),i=c.data(b,g);if(g=g[e]){var n=g.events,i=i[e]=c.extend({},g);if(n){delete i.handle;i.events={};for(var s in n){e=0;for(g=
n[s].length;e<g;e++)c.event.add(b,s+(n[s][e].namespace?".":"")+n[s][e].namespace,n[s][e],n[s][e].data)}}}}}function q(a,b){var e;if(b.nodeType===1){b.clearAttributes&&b.clearAttributes();b.mergeAttributes&&b.mergeAttributes(a);e=b.nodeName.toLowerCase();if(e==="object")b.outerHTML=a.outerHTML;else if(e==="input"&&(a.type==="checkbox"||a.type==="radio")){if(a.checked)b.defaultChecked=b.checked=a.checked;if(b.value!==a.value)b.value=a.value}else if(e==="option")b.selected=a.defaultSelected;else if(e===
"input"||e==="textarea")b.defaultValue=a.defaultValue;b.removeAttribute(c.expando)}}function J(a){return"getElementsByTagName"in a?a.getElementsByTagName("*"):"querySelectorAll"in a?a.querySelectorAll("*"):[]}function K(a){if(a.type==="checkbox"||a.type==="radio")a.defaultChecked=a.checked}function B(a){c.nodeName(a,"input")?K(a):"getElementsByTagName"in a&&c.grep(a.getElementsByTagName("input"),K)}function X(a,b){b.src?c.ajax({url:b.src,async:false,dataType:"script"}):c.globalEval((b.text||b.textContent||
b.innerHTML||"").replace(Ua,"/*$0*/"));b.parentNode&&b.parentNode.removeChild(b)}function T(a,b,e){var g=b==="width"?a.offsetWidth:a.offsetHeight,i=b==="width"?Va:Wa;if(g>0)return e!=="border"&&c.each(i,function(){e||(g-=parseFloat(c.css(a,"padding"+this))||0);e==="margin"?g+=parseFloat(c.css(a,e+this))||0:g-=parseFloat(c.css(a,"border"+this+"Width"))||0}),g+"px";g=ia(a,b,b);if(g<0||g==null)g=a.style[b]||0;g=parseFloat(g)||0;e&&c.each(i,function(){g+=parseFloat(c.css(a,"padding"+this))||0;e!=="padding"&&
(g+=parseFloat(c.css(a,"border"+this+"Width"))||0);e==="margin"&&(g+=parseFloat(c.css(a,e+this))||0)});return g+"px"}function O(a){return function(b,e){var W;typeof b!=="string"&&(e=b,b="*");if(c.isFunction(e))for(var g=b.toLowerCase().split(Aa),i=0,n=g.length,s,d;i<n;i++)s=g[i],(d=/^\+/.test(s))&&(s=s.substr(1)||"*"),W=a[s]=a[s]||[],s=W,s[d?"unshift":"push"](e)}}function V(a,b,c,g,i,n){i=i||b.dataTypes[0];n=n||{};n[i]=true;for(var i=a[i],s=0,d=i?i.length:0,f=a===ua,h;s<d&&(f||!h);s++)h=i[s](b,c,
g),typeof h==="string"&&(!f||n[h]?h=m:(b.dataTypes.unshift(h),h=V(a,b,c,g,h,n)));if((f||!h)&&!n["*"])h=V(a,b,c,g,"*",n);return h}function v(a,b){var e,g,i=c.ajaxSettings.flatOptions||{};for(e in b)b[e]!==m&&((i[e]?a:g||(g={}))[e]=b[e]);g&&c.extend(true,a,g)}function D(a,b,e,g){if(c.isArray(b))c.each(b,function(b,i){e||Xa.test(a)?g(a,i):D(a+"["+(typeof i==="object"||c.isArray(i)?b:"")+"]",i,e,g)});else if(!e&&b!=null&&typeof b==="object")for(var i in b)D(a+"["+i+"]",b[i],e,g);else g(a,b)}function t(){try{return new f.XMLHttpRequest}catch(a){}}
function E(){setTimeout(z,0);return pa=c.now()}function z(){pa=m}function Y(a,b){var e={};c.each(Ba.concat.apply([],Ba.slice(0,b)),function(){e[this]=a});return e}function o(a){if(!va[a]){var b=r.body,e=c("<"+a+">").appendTo(b),g=e.css("display");e.remove();if(g==="none"||g===""){if(!ba)ba=r.createElement("iframe"),ba.frameBorder=ba.width=ba.height=0;b.appendChild(ba);if(!ja||!ba.createElement)ja=(ba.contentWindow||ba.contentDocument).document,ja.write((r.compatMode==="CSS1Compat"?"<!doctype html>":
"")+"<html><body>"),ja.close();e=ja.createElement(a);ja.body.appendChild(e);g=c.css(e,"display");b.removeChild(ba)}va[a]=g}return va[a]}function I(a){return c.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:false}var r=f.document,Z=f.navigator,U=f.location,c=function(){function a(){if(!b.isReady){try{r.documentElement.doScroll("left")}catch(c){setTimeout(a,1);return}b.ready()}}var b=function(a,c){return new b.fn.init(a,c,i)},c=f.jQuery,g=f.$,i,n=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,
s=/\S/,d=/^\s+/,h=/\s+$/,k=/\d/,l=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,j=/^[\],:{}\s]*$/,F=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,p=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,o=/(?:^|:|,)(?:\s*\[)+/g,q=/(webkit)[ \/]([\w.]+)/,C=/(opera)(?:.*version)?[ \/]([\w.]+)/,u=/(msie) ([\w.]+)/,z=/(mozilla)(?:.*? rv:([\w.]+))?/,W=/-([a-z]|[0-9])/ig,Ya=/^-ms-/,Za=function(a,b){return(b+"").toUpperCase()},na=Z.userAgent,qa,ka,$a=Object.prototype.toString,wa=Object.prototype.hasOwnProperty,y=Array.prototype.push,
v=Array.prototype.slice,aa=String.prototype.trim,O=Array.prototype.indexOf,x={};b.fn=b.prototype={constructor:b,init:function(a,c,e){var g;if(!a)return this;if(a.nodeType)return this.context=this[0]=a,this.length=1,this;if(a==="body"&&!c&&r.body)return this.context=r,this[0]=r.body,this.selector=a,this.length=1,this;if(typeof a==="string")if((g=a.charAt(0)==="<"&&a.charAt(a.length-1)===">"&&a.length>=3?[null,a,null]:n.exec(a))&&(g[1]||!c))if(g[1])return e=(c=c instanceof b?c[0]:c)?c.ownerDocument||
c:r,(a=l.exec(a))?b.isPlainObject(c)?(a=[r.createElement(a[1])],b.fn.attr.call(a,c,true)):a=[e.createElement(a[1])]:(a=b.buildFragment([g[1]],[e]),a=(a.cacheable?b.clone(a.fragment):a.fragment).childNodes),b.merge(this,a);else{if((c=r.getElementById(g[2]))&&c.parentNode){if(c.id!==g[2])return e.find(a);this.length=1;this[0]=c}this.context=r;this.selector=a;return this}else return!c||c.jquery?(c||e).find(a):this.constructor(c).find(a);else if(b.isFunction(a))return e.ready(a);if(a.selector!==m)this.selector=
a.selector,this.context=a.context;return b.makeArray(a,this)},selector:"",jquery:"1.6.4",length:0,size:function(){return this.length},toArray:function(){return v.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,c,e){var g=this.constructor();b.isArray(a)?y.apply(g,a):b.merge(g,a);g.prevObject=this;g.context=this.context;if(c==="find")g.selector=this.selector+(this.selector?" ":"")+e;else if(c)g.selector=this.selector+"."+c+"("+e+")";
return g},each:function(a,c){return b.each(this,a,c)},ready:function(a){b.bindReady();qa.done(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(v.apply(this,arguments),"slice",v.call(arguments).join(","))},map:function(a){return this.pushStack(b.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:y,
sort:[].sort,splice:[].splice};b.fn.init.prototype=b.fn;b.extend=b.fn.extend=function(){var a,c,e,g,i,n=arguments[0]||{},W=1,s=arguments.length,d=false;typeof n==="boolean"&&(d=n,n=arguments[1]||{},W=2);typeof n!=="object"&&!b.isFunction(n)&&(n={});s===W&&(n=this,--W);for(;W<s;W++)if((a=arguments[W])!=null)for(c in a)e=n[c],g=a[c],n!==g&&(d&&g&&(b.isPlainObject(g)||(i=b.isArray(g)))?(i?(i=false,e=e&&b.isArray(e)?e:[]):e=e&&b.isPlainObject(e)?e:{},n[c]=b.extend(d,e,g)):g!==m&&(n[c]=g));return n};b.extend({noConflict:function(a){if(f.$===
b)f.$=g;if(a&&f.jQuery===b)f.jQuery=c;return b},isReady:false,readyWait:1,holdReady:function(a){a?b.readyWait++:b.ready(true)},ready:function(a){if(a===true&&!--b.readyWait||a!==true&&!b.isReady){if(!r.body)return setTimeout(b.ready,1);b.isReady=true;a!==true&&--b.readyWait>0||(qa.resolveWith(r,[b]),b.fn.trigger&&b(r).trigger("ready").unbind("ready"))}},bindReady:function(){if(!qa){qa=b._Deferred();if(r.readyState==="complete")return setTimeout(b.ready,1);if(r.addEventListener)r.addEventListener("DOMContentLoaded",
ka,false),f.addEventListener("load",b.ready,false);else if(r.attachEvent){r.attachEvent("onreadystatechange",ka);f.attachEvent("onload",b.ready);var c=false;try{c=f.frameElement==null}catch(e){}r.documentElement.doScroll&&c&&a()}}},isFunction:function(a){return b.type(a)==="function"},isArray:Array.isArray||function(a){return b.type(a)==="array"},isWindow:function(a){return a&&typeof a==="object"&&"setInterval"in a},isNaN:function(a){return a==null||!k.test(a)||isNaN(a)},type:function(a){return a==
null?String(a):x[$a.call(a)]||"object"},isPlainObject:function(a){if(!a||b.type(a)!=="object"||a.nodeType||b.isWindow(a))return false;try{if(a.constructor&&!wa.call(a,"constructor")&&!wa.call(a.constructor.prototype,"isPrototypeOf"))return false}catch(c){return false}for(var e in a);return e===m||wa.call(a,e)},isEmptyObject:function(a){for(var b in a)return false;return true},error:function(a){throw a;},parseJSON:function(a){if(typeof a!=="string"||!a)return null;a=b.trim(a);if(f.JSON&&f.JSON.parse)return f.JSON.parse(a);
if(j.test(a.replace(F,"@").replace(p,"]").replace(o,"")))return(new Function("return "+a))();b.error("Invalid JSON: "+a)},parseXML:function(a){var c,e;try{f.DOMParser?(e=new DOMParser,c=e.parseFromString(a,"text/xml")):(c=new ActiveXObject("Microsoft.XMLDOM"),c.async="false",c.loadXML(a))}catch(g){c=m}(!c||!c.documentElement||c.getElementsByTagName("parsererror").length)&&b.error("Invalid XML: "+a);return c},noop:function(){},globalEval:function(a){a&&s.test(a)&&(f.execScript||function(a){f.eval.call(f,
a)})(a)},camelCase:function(a){return a.replace(Ya,"ms-").replace(W,Za)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,e){var g,i=0,n=a.length,W=n===m||b.isFunction(a);if(e)if(W)for(g in a){if(c.apply(a[g],e)===false)break}else for(;i<n;){if(c.apply(a[i++],e)===false)break}else if(W)for(g in a){if(c.call(a[g],g,a[g])===false)break}else for(;i<n;)if(c.call(a[i],i,a[i++])===false)break;return a},trim:aa?function(a){return a==null?"":aa.call(a)}:
function(a){return a==null?"":a.toString().replace(d,"").replace(h,"")},makeArray:function(a,c){var e=c||[];if(a!=null){var g=b.type(a);a.length==null||g==="string"||g==="function"||g==="regexp"||b.isWindow(a)?y.call(e,a):b.merge(e,a)}return e},inArray:function(a,b){if(!b)return-1;if(O)return O.call(b,a);for(var c=0,e=b.length;c<e;c++)if(b[c]===a)return c;return-1},merge:function(a,b){var c=a.length,e=0;if(typeof b.length==="number")for(var g=b.length;e<g;e++)a[c++]=b[e];else for(;b[e]!==m;)a[c++]=
b[e++];a.length=c;return a},grep:function(a,b,c){for(var e=[],g,c=!!c,i=0,n=a.length;i<n;i++)g=!!b(a[i],i),c!==g&&e.push(a[i]);return e},map:function(a,c,e){var g,i,n=[],W=0,s=a.length;if(a instanceof b||s!==m&&typeof s==="number"&&(s>0&&a[0]&&a[s-1]||s===0||b.isArray(a)))for(;W<s;W++)g=c(a[W],W,e),g!=null&&(n[n.length]=g);else for(i in a)g=c(a[i],i,e),g!=null&&(n[n.length]=g);return n.concat.apply([],n)},guid:1,proxy:function(a,c){if(typeof c==="string")var e=a[c],c=a,a=e;if(!b.isFunction(a))return m;
var g=v.call(arguments,2),e=function(){return a.apply(c,g.concat(v.call(arguments)))};e.guid=a.guid=a.guid||e.guid||b.guid++;return e},access:function(a,c,e,g,i,n){var W=a.length;if(typeof c==="object"){for(var s in c)b.access(a,s,c[s],g,i,e);return a}if(e!==m){g=!n&&g&&b.isFunction(e);for(s=0;s<W;s++)i(a[s],c,g?e.call(a[s],s,i(a[s],c)):e,n);return a}return W?i(a[0],c):m},now:function(){return(new Date).getTime()},uaMatch:function(a){a=a.toLowerCase();a=q.exec(a)||C.exec(a)||u.exec(a)||a.indexOf("compatible")<
0&&z.exec(a)||[];return{browser:a[1]||"",version:a[2]||"0"}},sub:function(){function a(b,c){return new a.fn.init(b,c)}b.extend(true,a,this);a.superclass=this;a.fn=a.prototype=this();a.fn.constructor=a;a.sub=this.sub;a.fn.init=function(e,g){g&&g instanceof b&&!(g instanceof a)&&(g=a(g));return b.fn.init.call(this,e,g,c)};a.fn.init.prototype=a.fn;var c=a(r);return a},browser:{}});b.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(a,b){x["[object "+b+"]"]=b.toLowerCase()});
na=b.uaMatch(na);if(na.browser)b.browser[na.browser]=true,b.browser.version=na.version;if(b.browser.webkit)b.browser.safari=true;s.test("\u00a0")&&(d=/^[\s\xA0]+/,h=/[\s\xA0]+$/);i=b(r);r.addEventListener?ka=function(){r.removeEventListener("DOMContentLoaded",ka,false);b.ready()}:r.attachEvent&&(ka=function(){r.readyState==="complete"&&(r.detachEvent("onreadystatechange",ka),b.ready())});return b}(),fa="done fail isResolved isRejected promise then always pipe".split(" "),F=[].slice;c.extend({_Deferred:function(){var a=
[],b,e,g,i={done:function(){if(!g){var e=arguments,s,d,f,h,k;b&&(k=b,b=0);for(s=0,d=e.length;s<d;s++)f=e[s],h=c.type(f),h==="array"?i.done.apply(i,f):h==="function"&&a.push(f);k&&i.resolveWith(k[0],k[1])}return this},resolveWith:function(c,i){if(!g&&!b&&!e){i=i||[];e=1;try{for(;a[0];)a.shift().apply(c,i)}finally{b=[c,i],e=0}}return this},resolve:function(){i.resolveWith(this,arguments);return this},isResolved:function(){return!(!e&&!b)},cancel:function(){g=1;a=[];return this}};return i},Deferred:function(a){var b=
c._Deferred(),e=c._Deferred(),g;c.extend(b,{then:function(a,c){b.done(a).fail(c);return this},always:function(){return b.done.apply(b,arguments).fail.apply(this,arguments)},fail:e.done,rejectWith:e.resolveWith,reject:e.resolve,isRejected:e.isResolved,pipe:function(a,e){return c.Deferred(function(g){c.each({done:[a,"resolve"],fail:[e,"reject"]},function(a,e){var i=e[0],n=e[1],d;if(c.isFunction(i))b[a](function(){if((d=i.apply(this,arguments))&&c.isFunction(d.promise))d.promise().then(g.resolve,g.reject);
else g[n+"With"](this===b?g:this,[d])});else b[a](g[n])})}).promise()},promise:function(a){if(a==null){if(g)return g;g=a={}}for(var c=fa.length;c--;)a[fa[c]]=b[fa[c]];return a}});b.done(e.cancel).fail(b.cancel);delete b.cancel;a&&a.call(b,b);return b},when:function(a){function b(a){return function(b){e[a]=arguments.length>1?F.call(arguments,0):b;--n||s.resolveWith(s,F.call(e,0))}}var e=arguments,g=0,i=e.length,n=i,s=i<=1&&a&&c.isFunction(a.promise)?a:c.Deferred();if(i>1){for(;g<i;g++)e[g]&&c.isFunction(e[g].promise)?
e[g].promise().then(b(g),s.reject):--n;n||s.resolveWith(s,e)}else s!==a&&s.resolveWith(s,i?[a]:[]);return s.promise()}});c.support=function(){var a=r.createElement("div"),b=r.documentElement,e,g,i,n,s,d;a.setAttribute("className","t");a.innerHTML="   <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/>";e=a.getElementsByTagName("*");g=a.getElementsByTagName("a")[0];if(!e||!e.length||!g)return{};i=r.createElement("select");n=i.appendChild(r.createElement("option"));
e=a.getElementsByTagName("input")[0];s={leadingWhitespace:a.firstChild.nodeType===3,tbody:!a.getElementsByTagName("tbody").length,htmlSerialize:!!a.getElementsByTagName("link").length,style:/top/.test(g.getAttribute("style")),hrefNormalized:g.getAttribute("href")==="/a",opacity:/^0.55$/.test(g.style.opacity),cssFloat:!!g.style.cssFloat,checkOn:e.value==="on",optSelected:n.selected,getSetAttribute:a.className!=="t",submitBubbles:true,changeBubbles:true,focusinBubbles:false,deleteExpando:true,noCloneEvent:true,
inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableMarginRight:true};e.checked=true;s.noCloneChecked=e.cloneNode(true).checked;i.disabled=true;s.optDisabled=!n.disabled;try{delete a.test}catch(f){s.deleteExpando=false}!a.addEventListener&&a.attachEvent&&a.fireEvent&&(a.attachEvent("onclick",function(){s.noCloneEvent=false}),a.cloneNode(true).fireEvent("onclick"));e=r.createElement("input");e.value="t";e.setAttribute("type","radio");s.radioValue=e.value==="t";e.setAttribute("checked","checked");
a.appendChild(e);g=r.createDocumentFragment();g.appendChild(a.firstChild);s.checkClone=g.cloneNode(true).cloneNode(true).lastChild.checked;a.innerHTML="";a.style.width=a.style.paddingLeft="1px";i=r.getElementsByTagName("body")[0];g=r.createElement(i?"div":"body");n={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"};i&&c.extend(n,{position:"absolute",left:"-1000px",top:"-1000px"});for(d in n)g.style[d]=n[d];g.appendChild(a);b=i||b;b.insertBefore(g,b.firstChild);s.appendChecked=
e.checked;s.boxModel=a.offsetWidth===2;if("zoom"in a.style)a.style.display="inline",a.style.zoom=1,s.inlineBlockNeedsLayout=a.offsetWidth===2,a.style.display="",a.innerHTML="<div style='width:4px;'></div>",s.shrinkWrapBlocks=a.offsetWidth!==2;a.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>";i=a.getElementsByTagName("td");e=i[0].offsetHeight===0;i[0].style.display="";i[1].style.display="none";s.reliableHiddenOffsets=e&&i[0].offsetHeight===0;a.innerHTML=
"";if(r.defaultView&&r.defaultView.getComputedStyle)e=r.createElement("div"),e.style.width="0",e.style.marginRight="0",a.appendChild(e),s.reliableMarginRight=(parseInt((r.defaultView.getComputedStyle(e,null)||{marginRight:0}).marginRight,10)||0)===0;g.innerHTML="";b.removeChild(g);if(a.attachEvent)for(d in{submit:1,change:1,focusin:1})b="on"+d,e=b in a,e||(a.setAttribute(b,"return;"),e=typeof a[b]==="function"),s[d+"Bubbles"]=e;g=g=i=n=i=e=a=e=null;return s}();c.boxModel=c.support.boxModel;var S=
/^(?:\{.*\}|\[.*\])$/,ea=/([A-Z])/g;c.extend({cache:{},uuid:0,expando:"jQuery"+(c.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:true,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:true},hasData:function(a){a=a.nodeType?c.cache[a[c.expando]]:a[c.expando];return!!a&&!l(a)},data:function(a,b,e,g){if(c.acceptData(a)){var i=c.expando,n=typeof b==="string",s=a.nodeType,d=s?c.cache:a,f=s?a[c.expando]:a[c.expando]&&c.expando;if(f&&(!g||!f||!d[f]||d[f][i])||!(n&&e===m)){if(!f)s?a[c.expando]=
f=++c.uuid:f=c.expando;if(!d[f]&&(d[f]={},!s))d[f].toJSON=c.noop;if(typeof b==="object"||typeof b==="function")g?d[f][i]=c.extend(d[f][i],b):d[f]=c.extend(d[f],b);a=d[f];g&&(a[i]||(a[i]={}),a=a[i]);e!==m&&(a[c.camelCase(b)]=e);if(b==="events"&&!a[b])return a[i]&&a[i].events;n?(e=a[b],e==null&&(e=a[c.camelCase(b)])):e=a;return e}}},removeData:function(a,b,e){if(c.acceptData(a)){var g,i=c.expando,n=a.nodeType,d=n?c.cache:a,f=n?a[c.expando]:c.expando;if(d[f]){if(b&&(g=e?d[f][i]:d[f]))if(g[b]||(b=c.camelCase(b)),
delete g[b],!l(g))return;if(e&&(delete d[f][i],!l(d[f])))return;b=d[f][i];c.support.deleteExpando||!d.setInterval?delete d[f]:d[f]=null;if(b){d[f]={};if(!n)d[f].toJSON=c.noop;d[f][i]=b}else n&&(c.support.deleteExpando?delete a[c.expando]:a.removeAttribute?a.removeAttribute(c.expando):a[c.expando]=null)}}},_data:function(a,b,e){return c.data(a,b,e,true)},acceptData:function(a){if(a.nodeName){var b=c.noData[a.nodeName.toLowerCase()];if(b)return!(b===true||a.getAttribute("classid")!==b)}return true}});
c.fn.extend({data:function(a,b){var e=null;if(typeof a==="undefined"){if(this.length&&(e=c.data(this[0]),this[0].nodeType===1))for(var g=this[0].attributes,i,n=0,d=g.length;n<d;n++)i=g[n].name,i.indexOf("data-")===0&&(i=c.camelCase(i.substring(5)),G(this[0],i,e[i]));return e}else if(typeof a==="object")return this.each(function(){c.data(this,a)});var f=a.split(".");f[1]=f[1]?"."+f[1]:"";return b===m?(e=this.triggerHandler("getData"+f[1]+"!",[f[0]]),e===m&&this.length&&(e=c.data(this[0],a),e=G(this[0],
a,e)),e===m&&f[1]?this.data(f[0]):e):this.each(function(){var e=c(this),g=[f[0],b];e.triggerHandler("setData"+f[1]+"!",g);c.data(this,a,b);e.triggerHandler("changeData"+f[1]+"!",g)})},removeData:function(a){return this.each(function(){c.removeData(this,a)})}});c.extend({_mark:function(a,b){a&&(b=(b||"fx")+"mark",c.data(a,b,(c.data(a,b,m,true)||0)+1,true))},_unmark:function(a,b,e){a!==true&&(e=b,b=a,a=false);if(b){var e=e||"fx",g=e+"mark";(a=a?0:(c.data(b,g,m,true)||1)-1)?c.data(b,g,a,true):(c.removeData(b,
g,true),d(b,e,"mark"))}},queue:function(a,b,e){if(a){var b=(b||"fx")+"queue",g=c.data(a,b,m,true);e&&(!g||c.isArray(e)?g=c.data(a,b,c.makeArray(e),true):g.push(e));return g||[]}},dequeue:function(a,b){var b=b||"fx",e=c.queue(a,b),g=e.shift();g==="inprogress"&&(g=e.shift());g&&(b==="fx"&&e.unshift("inprogress"),g.call(a,function(){c.dequeue(a,b)}));e.length||(c.removeData(a,b+"queue",true),d(a,b,"queue"))}});c.fn.extend({queue:function(a,b){typeof a!=="string"&&(b=a,a="fx");return b===m?c.queue(this[0],
a):this.each(function(){var e=c.queue(this,a,b);a==="fx"&&e[0]!=="inprogress"&&c.dequeue(this,a)})},dequeue:function(a){return this.each(function(){c.dequeue(this,a)})},delay:function(a,b){a=c.fx?c.fx.speeds[a]||a:a;b=b||"fx";return this.queue(b,function(){var e=this;setTimeout(function(){c.dequeue(e,b)},a)})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a){function b(){--n||e.resolveWith(g,[g])}typeof a!=="string"&&(a=m);var a=a||"fx",e=c.Deferred(),g=this,i=g.length,n=
1,d=a+"defer",f=a+"queue";a+="mark";for(var h;i--;)if(h=c.data(g[i],d,m,true)||(c.data(g[i],f,m,true)||c.data(g[i],a,m,true))&&c.data(g[i],d,c._Deferred(),true))n++,h.done(b);b();return e.promise()}});var oa=/[\n\t\r]/g,aa=/\s+/,ab=/\r/g,bb=/^(?:button|input)$/i,cb=/^(?:button|input|object|select|textarea)$/i,la=/^a(?:rea)?$/i,ca=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,w,Ca;c.fn.extend({attr:function(a,b){return c.access(this,
a,b,true,c.attr)},removeAttr:function(a){return this.each(function(){c.removeAttr(this,a)})},prop:function(a,b){return c.access(this,a,b,true,c.prop)},removeProp:function(a){a=c.propFix[a]||a;return this.each(function(){try{this[a]=m,delete this[a]}catch(b){}})},addClass:function(a){var b,e,g,i,n,d,f;if(c.isFunction(a))return this.each(function(b){c(this).addClass(a.call(this,b,this.className))});if(a&&typeof a==="string"){b=a.split(aa);for(e=0,g=this.length;e<g;e++)if(i=this[e],i.nodeType===1)if(!i.className&&
b.length===1)i.className=a;else{n=" "+i.className+" ";for(d=0,f=b.length;d<f;d++)~n.indexOf(" "+b[d]+" ")||(n+=b[d]+" ");i.className=c.trim(n)}}return this},removeClass:function(a){var b,e,g,i,n,d,f;if(c.isFunction(a))return this.each(function(b){c(this).removeClass(a.call(this,b,this.className))});if(a&&typeof a==="string"||a===m){b=(a||"").split(aa);for(e=0,g=this.length;e<g;e++)if(i=this[e],i.nodeType===1&&i.className)if(a){n=(" "+i.className+" ").replace(oa," ");for(d=0,f=b.length;d<f;d++)n=n.replace(" "+
b[d]+" "," ");i.className=c.trim(n)}else i.className=""}return this},toggleClass:function(a,b){var e=typeof a,g=typeof b==="boolean";return c.isFunction(a)?this.each(function(e){c(this).toggleClass(a.call(this,e,this.className,b),b)}):this.each(function(){if(e==="string")for(var i,n=0,d=c(this),f=b,h=a.split(aa);i=h[n++];)f=g?f:!d.hasClass(i),d[f?"addClass":"removeClass"](i);else if(e==="undefined"||e==="boolean")this.className&&c._data(this,"__className__",this.className),this.className=this.className||
a===false?"":c._data(this,"__className__")||""})},hasClass:function(a){for(var a=" "+a+" ",b=0,c=this.length;b<c;b++)if(this[b].nodeType===1&&(" "+this[b].className+" ").replace(oa," ").indexOf(a)>-1)return true;return false},val:function(a){var b,e,g=this[0];if(!arguments.length){if(g){if((b=c.valHooks[g.nodeName.toLowerCase()]||c.valHooks[g.type])&&"get"in b&&(e=b.get(g,"value"))!==m)return e;e=g.value;return typeof e==="string"?e.replace(ab,""):e==null?"":e}return m}var i=c.isFunction(a);return this.each(function(e){var g=
c(this);if(this.nodeType===1&&(e=i?a.call(this,e,g.val()):a,e==null?e="":typeof e==="number"?e+="":c.isArray(e)&&(e=c.map(e,function(a){return a==null?"":a+""})),b=c.valHooks[this.nodeName.toLowerCase()]||c.valHooks[this.type],!b||!("set"in b)||b.set(this,e,"value")===m))this.value=e})}});c.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var b,e=a.selectedIndex,g=[],i=a.options,a=a.type==="select-one";if(e<0)return null;
for(var n=a?e:0,d=a?e+1:i.length;n<d;n++)if(b=i[n],b.selected&&(c.support.optDisabled?!b.disabled:b.getAttribute("disabled")===null)&&(!b.parentNode.disabled||!c.nodeName(b.parentNode,"optgroup"))){b=c(b).val();if(a)return b;g.push(b)}return a&&!g.length&&i.length?c(i[e]).val():g},set:function(a,b){var e=c.makeArray(b);c(a).find("option").each(function(){this.selected=c.inArray(c(this).val(),e)>=0});if(!e.length)a.selectedIndex=-1;return e}}},attrFn:{val:true,css:true,html:true,text:true,data:true,
width:true,height:true,offset:true},attrFix:{tabindex:"tabIndex"},attr:function(a,b,e,g){var i=a.nodeType;if(!a||i===3||i===8||i===2)return m;if(g&&b in c.attrFn)return c(a)[b](e);if(!("getAttribute"in a))return c.prop(a,b,e);var n,d;if(g=i!==1||!c.isXMLDoc(a))b=c.attrFix[b]||b,(d=c.attrHooks[b])||(ca.test(b)?d=Ca:w&&(d=w));return e!==m?e===null?(c.removeAttr(a,b),m):d&&"set"in d&&g&&(n=d.set(a,e,b))!==m?n:(a.setAttribute(b,""+e),e):d&&"get"in d&&g&&(n=d.get(a,b))!==null?n:(n=a.getAttribute(b),n===
null?m:n)},removeAttr:function(a,b){var e;if(a.nodeType===1&&(b=c.attrFix[b]||b,c.attr(a,b,""),a.removeAttribute(b),ca.test(b)&&(e=c.propFix[b]||b)in a))a[e]=false},attrHooks:{type:{set:function(a,b){if(bb.test(a.nodeName)&&a.parentNode)c.error("type property can't be changed");else if(!c.support.radioValue&&b==="radio"&&c.nodeName(a,"input")){var e=a.value;a.setAttribute("type",b);if(e)a.value=e;return b}}},value:{get:function(a,b){return w&&c.nodeName(a,"button")?w.get(a,b):b in a?a.value:null},
set:function(a,b,e){if(w&&c.nodeName(a,"button"))return w.set(a,b,e);a.value=b}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(a,b,e){var g=a.nodeType;if(!a||g===3||g===8||g===2)return m;var i,n;if(g!==1||!c.isXMLDoc(a))b=c.propFix[b]||b,n=c.propHooks[b];return e!==
m?n&&"set"in n&&(i=n.set(a,e,b))!==m?i:a[b]=e:n&&"get"in n&&(i=n.get(a,b))!==null?i:a[b]},propHooks:{tabIndex:{get:function(a){var b=a.getAttributeNode("tabindex");return b&&b.specified?parseInt(b.value,10):cb.test(a.nodeName)||la.test(a.nodeName)&&a.href?0:m}}}});c.attrHooks.tabIndex=c.propHooks.tabIndex;Ca={get:function(a,b){var e;return c.prop(a,b)===true||(e=a.getAttributeNode(b))&&e.nodeValue!==false?b.toLowerCase():m},set:function(a,b,e){b===false?c.removeAttr(a,e):(b=c.propFix[e]||e,b in a&&
(a[b]=true),a.setAttribute(e,e.toLowerCase()));return e}};if(!c.support.getSetAttribute)w=c.valHooks.button={get:function(a,b){var c;return(c=a.getAttributeNode(b))&&c.nodeValue!==""?c.nodeValue:m},set:function(a,b,c){var g=a.getAttributeNode(c);g||(g=r.createAttribute(c),a.setAttributeNode(g));return g.nodeValue=b+""}},c.each(["width","height"],function(a,b){c.attrHooks[b]=c.extend(c.attrHooks[b],{set:function(a,c){if(c==="")return a.setAttribute(b,"auto"),c}})});c.support.hrefNormalized||c.each(["href",
"src","width","height"],function(a,b){c.attrHooks[b]=c.extend(c.attrHooks[b],{get:function(a){a=a.getAttribute(b,2);return a===null?m:a}})});if(!c.support.style)c.attrHooks.style={get:function(a){return a.style.cssText.toLowerCase()||m},set:function(a,b){return a.style.cssText=""+b}};if(!c.support.optSelected)c.propHooks.selected=c.extend(c.propHooks.selected,{get:function(){return null}});c.support.checkOn||c.each(["radio","checkbox"],function(){c.valHooks[this]={get:function(a){return a.getAttribute("value")===
null?"on":a.value}}});c.each(["radio","checkbox"],function(){c.valHooks[this]=c.extend(c.valHooks[this],{set:function(a,b){if(c.isArray(b))return a.checked=c.inArray(c(a).val(),b)>=0}})});var ta=/\.(.*)$/,Q=/^(?:textarea|input|select)$/i,L=/\./g,x=/ /g,A=/[^\w\s.|`]/g,P=function(a){return a.replace(A,"\\$&")};c.event={add:function(a,b,e,g){if(!(a.nodeType===3||a.nodeType===8)){if(e===false)e=h;else if(!e)return;var i,n;if(e.handler)i=e,e=i.handler;if(!e.guid)e.guid=c.guid++;if(n=c._data(a)){var d=
n.events,f=n.handle;if(!d)n.events=d={};if(!f)n.handle=f=function(a){return typeof c!=="undefined"&&(!a||c.event.triggered!==a.type)?c.event.handle.apply(f.elem,arguments):m};f.elem=a;for(var b=b.split(" "),k,l=0,j;k=b[l++];){n=i?c.extend({},i):{handler:e,data:g};k.indexOf(".")>-1?(j=k.split("."),k=j.shift(),n.namespace=j.slice(0).sort().join(".")):(j=[],n.namespace="");n.type=k;if(!n.guid)n.guid=e.guid;var F=d[k],p=c.event.special[k]||{};if(!F&&(F=d[k]=[],!p.setup||p.setup.call(a,g,j,f)===false))a.addEventListener?
a.addEventListener(k,f,false):a.attachEvent&&a.attachEvent("on"+k,f);if(p.add&&(p.add.call(a,n),!n.handler.guid))n.handler.guid=e.guid;F.push(n);c.event.global[k]=true}a=null}}},global:{},remove:function(a,b,e,g){if(!(a.nodeType===3||a.nodeType===8)){e===false&&(e=h);var i,n,d=0,f,k,l,j,F,p,r=c.hasData(a)&&c._data(a),o=r&&r.events;if(r&&o){if(b&&b.type)e=b.handler,b=b.type;if(!b||typeof b==="string"&&b.charAt(0)===".")for(i in b=b||"",o)c.event.remove(a,i+b);else{for(b=b.split(" ");i=b[d++];)if(j=
i,f=i.indexOf(".")<0,k=[],f||(k=i.split("."),i=k.shift(),l=RegExp("(^|\\.)"+c.map(k.slice(0).sort(),P).join("\\.(?:.*\\.)?")+"(\\.|$)")),F=o[i])if(e){j=c.event.special[i]||{};for(n=g||0;n<F.length;n++)if(p=F[n],e.guid===p.guid){if(f||l.test(p.namespace))g==null&&F.splice(n--,1),j.remove&&j.remove.call(a,p);if(g!=null)break}if(F.length===0||g!=null&&F.length===1)(!j.teardown||j.teardown.call(a,k)===false)&&c.removeEvent(a,i,r.handle),delete o[i]}else for(n=0;n<F.length;n++)if(p=F[n],f||l.test(p.namespace))c.event.remove(a,
j,p.handler,n),F.splice(n--,1);if(c.isEmptyObject(o)){if(b=r.handle)b.elem=null;delete r.events;delete r.handle;c.isEmptyObject(r)&&c.removeData(a,m,true)}}}}},customEvent:{getData:true,setData:true,changeData:true},trigger:function(a,b,e,g){var i=a.type||a,n=[],d;i.indexOf("!")>=0&&(i=i.slice(0,-1),d=true);i.indexOf(".")>=0&&(n=i.split("."),i=n.shift(),n.sort());if(e&&!c.event.customEvent[i]||c.event.global[i]){a=typeof a==="object"?a[c.expando]?a:new c.Event(i,a):new c.Event(i);a.type=i;a.exclusive=
d;a.namespace=n.join(".");a.namespace_re=RegExp("(^|\\.)"+n.join("\\.(?:.*\\.)?")+"(\\.|$)");if(g||!e)a.preventDefault(),a.stopPropagation();if(e){if(!(e.nodeType===3||e.nodeType===8)){a.result=m;a.target=e;b=b!=null?c.makeArray(b):[];b.unshift(a);n=e;g=i.indexOf(":")<0?"on"+i:"";do{d=c._data(n,"handle");a.currentTarget=n;d&&d.apply(n,b);if(g&&c.acceptData(n)&&n[g]&&n[g].apply(n,b)===false)a.result=false,a.preventDefault();n=n.parentNode||n.ownerDocument||n===a.target.ownerDocument&&f}while(n&&!a.isPropagationStopped());
if(!a.isDefaultPrevented()){var h,n=c.event.special[i]||{};if((!n._default||n._default.call(e.ownerDocument,a)===false)&&!(i==="click"&&c.nodeName(e,"a"))&&c.acceptData(e)){try{if(g&&e[i])(h=e[g])&&(e[g]=null),c.event.triggered=i,e[i]()}catch(k){}h&&(e[g]=h);c.event.triggered=m}}return a.result}}else c.each(c.cache,function(){var e=this[c.expando];e&&e.events&&e.events[i]&&c.event.trigger(a,b,e.handle.elem)})}},handle:function(a){var a=c.event.fix(a||f.event),b=((c._data(this,"events")||{})[a.type]||
[]).slice(0),e=!a.exclusive&&!a.namespace,g=Array.prototype.slice.call(arguments,0);g[0]=a;a.currentTarget=this;for(var i=0,n=b.length;i<n;i++){var d=b[i];if(e||a.namespace_re.test(d.namespace)){a.handler=d.handler;a.data=d.data;a.handleObj=d;d=d.handler.apply(this,g);if(d!==m)a.result=d,d===false&&(a.preventDefault(),a.stopPropagation());if(a.isImmediatePropagationStopped())break}}return a.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),
fix:function(a){if(a[c.expando])return a;for(var b=a,a=c.Event(b),e=this.props.length,g;e;)g=this.props[--e],a[g]=b[g];if(!a.target)a.target=a.srcElement||r;if(a.target.nodeType===3)a.target=a.target.parentNode;if(!a.relatedTarget&&a.fromElement)a.relatedTarget=a.fromElement===a.target?a.toElement:a.fromElement;if(a.pageX==null&&a.clientX!=null)e=a.target.ownerDocument||r,b=e.documentElement,e=e.body,a.pageX=a.clientX+(b&&b.scrollLeft||e&&e.scrollLeft||0)-(b&&b.clientLeft||e&&e.clientLeft||0),a.pageY=
a.clientY+(b&&b.scrollTop||e&&e.scrollTop||0)-(b&&b.clientTop||e&&e.clientTop||0);if(a.which==null&&(a.charCode!=null||a.keyCode!=null))a.which=a.charCode!=null?a.charCode:a.keyCode;if(!a.metaKey&&a.ctrlKey)a.metaKey=a.ctrlKey;if(!a.which&&a.button!==m)a.which=a.button&1?1:a.button&2?3:a.button&4?2:0;return a},guid:1E8,proxy:c.proxy,special:{ready:{setup:c.bindReady,teardown:c.noop},live:{add:function(a){c.event.add(this,y(a.origType,a.selector),c.extend({},a,{handler:C,guid:a.handler.guid}))},remove:function(a){c.event.remove(this,
y(a.origType,a.selector),a)}},beforeunload:{setup:function(a,b,e){if(c.isWindow(this))this.onbeforeunload=e},teardown:function(a,b){if(this.onbeforeunload===b)this.onbeforeunload=null}}}};c.removeEvent=r.removeEventListener?function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,false)}:function(a,b,c){a.detachEvent&&a.detachEvent("on"+b,c)};c.Event=function(a,b){if(!this.preventDefault)return new c.Event(a,b);a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||
a.returnValue===false||a.getPreventDefault&&a.getPreventDefault()?k:h):this.type=a;b&&c.extend(this,b);this.timeStamp=c.now();this[c.expando]=true};c.Event.prototype={preventDefault:function(){this.isDefaultPrevented=k;var a=this.originalEvent;if(a)a.preventDefault?a.preventDefault():a.returnValue=false},stopPropagation:function(){this.isPropagationStopped=k;var a=this.originalEvent;if(a)a.stopPropagation&&a.stopPropagation(),a.cancelBubble=true},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=
k;this.stopPropagation()},isDefaultPrevented:h,isPropagationStopped:h,isImmediatePropagationStopped:h};var M=function(a){var b=a.relatedTarget,e=false,g=a.type;a.type=a.data;if(b!==this&&(b&&(e=c.contains(this,b)),!e))c.event.handle.apply(this,arguments),a.type=g},R=function(a){a.type=a.data;c.event.handle.apply(this,arguments)};c.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){c.event.special[a]={setup:function(e){c.event.add(this,b,e&&e.selector?R:M,a)},teardown:function(a){c.event.remove(this,
b,a&&a.selector?R:M)}}});if(!c.support.submitBubbles)c.event.special.submit={setup:function(){if(c.nodeName(this,"form"))return false;else c.event.add(this,"click.specialSubmit",function(a){var b=a.target,e=c.nodeName(b,"input")||c.nodeName(b,"button")?b.type:"";(e==="submit"||e==="image")&&c(b).closest("form").length&&j("submit",this,arguments)}),c.event.add(this,"keypress.specialSubmit",function(a){var b=a.target,e=c.nodeName(b,"input")||c.nodeName(b,"button")?b.type:"";(e==="text"||e==="password")&&
c(b).closest("form").length&&a.keyCode===13&&j("submit",this,arguments)})},teardown:function(){c.event.remove(this,".specialSubmit")}};if(!c.support.changeBubbles){var N,Da=function(a){var b=c.nodeName(a,"input")?a.type:"",e=a.value;if(b==="radio"||b==="checkbox")e=a.checked;else if(b==="select-multiple")e=a.selectedIndex>-1?c.map(a.options,function(a){return a.selected}).join("-"):"";else if(c.nodeName(a,"select"))e=a.selectedIndex;return e},da=function(a,b){var e=a.target,g,i;if(Q.test(e.nodeName)&&
!e.readOnly&&(g=c._data(e,"_change_data"),i=Da(e),(a.type!=="focusout"||e.type!=="radio")&&c._data(e,"_change_data",i),!(g===m||i===g)))if(g!=null||i)a.type="change",a.liveFired=m,c.event.trigger(a,b,e)};c.event.special.change={filters:{focusout:da,beforedeactivate:da,click:function(a){var b=a.target,e=c.nodeName(b,"input")?b.type:"";(e==="radio"||e==="checkbox"||c.nodeName(b,"select"))&&da.call(this,a)},keydown:function(a){var b=a.target,e=c.nodeName(b,"input")?b.type:"";(a.keyCode===13&&!c.nodeName(b,
"textarea")||a.keyCode===32&&(e==="checkbox"||e==="radio")||e==="select-multiple")&&da.call(this,a)},beforeactivate:function(a){a=a.target;c._data(a,"_change_data",Da(a))}},setup:function(){if(this.type==="file")return false;for(var a in N)c.event.add(this,a+".specialChange",N[a]);return Q.test(this.nodeName)},teardown:function(){c.event.remove(this,".specialChange");return Q.test(this.nodeName)}};N=c.event.special.change.filters;N.focus=N.beforeactivate}c.support.focusinBubbles||c.each({focus:"focusin",
blur:"focusout"},function(a,b){function e(a){var e=c.event.fix(a);e.type=b;e.originalEvent={};c.event.trigger(e,null,e.target);e.isDefaultPrevented()&&a.preventDefault()}var g=0;c.event.special[b]={setup:function(){g++===0&&r.addEventListener(a,e,true)},teardown:function(){--g===0&&r.removeEventListener(a,e,true)}}});c.each(["bind","one"],function(a,b){c.fn[b]=function(a,g,i){var d;if(typeof a==="object"){for(var f in a)this[b](f,g,a[f],i);return this}if(arguments.length===2||g===false)i=g,g=m;b===
"one"?(d=function(a){c(this).unbind(a,d);return i.apply(this,arguments)},d.guid=i.guid||c.guid++):d=i;if(a==="unload"&&b!=="one")this.one(a,g,i);else{f=0;for(var h=this.length;f<h;f++)c.event.add(this[f],a,d,g)}return this}});c.fn.extend({unbind:function(a,b){if(typeof a==="object"&&!a.preventDefault)for(var e in a)this.unbind(e,a[e]);else{e=0;for(var g=this.length;e<g;e++)c.event.remove(this[e],a,b)}return this},delegate:function(a,b,c,g){return this.live(b,c,g,a)},undelegate:function(a,b,c){return arguments.length===
0?this.unbind("live"):this.die(b,null,c,a)},trigger:function(a,b){return this.each(function(){c.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0])return c.event.trigger(a,b,this[0],true)},toggle:function(a){var b=arguments,e=a.guid||c.guid++,g=0,i=function(e){var i=(c.data(this,"lastToggle"+a.guid)||0)%g;c.data(this,"lastToggle"+a.guid,i+1);e.preventDefault();return b[i].apply(this,arguments)||false};for(i.guid=e;g<b.length;)b[g++].guid=e;return this.click(i)},hover:function(a,b){return this.mouseenter(a).mouseleave(b||
a)}});var H={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};c.each(["live","die"],function(a,b){c.fn[b]=function(a,g,i,d){var f=0,k,j,l=d||this.selector,F=d?this:c(this.context);if(typeof a==="object"&&!a.preventDefault){for(k in a)F[b](k,g,a[k],l);return this}if(b==="die"&&!a&&d&&d.charAt(0)===".")return F.unbind(d),this;if(g===false||c.isFunction(g))i=g||h,g=m;for(a=(a||"").split(" ");(d=a[f++])!=null;)if(k=ta.exec(d),j="",k&&(j=k[0],d=d.replace(ta,"")),d==="hover")a.push("mouseenter"+
j,"mouseleave"+j);else if(k=d,H[d]?(a.push(H[d]+j),d+=j):d=(H[d]||d)+j,b==="live"){j=0;for(var p=F.length;j<p;j++)c.event.add(F[j],"live."+y(d,l),{data:g,selector:l,handler:i,origType:d,origHandler:i,preType:k})}else F.unbind("live."+y(d,l),i);return this}});c.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error".split(" "),function(a,b){c.fn[b]=function(a,c){c==
null&&(c=a,a=null);return arguments.length>0?this.bind(b,a,c):this.trigger(b)};c.attrFn&&(c.attrFn[b]=true)});(function(){function a(a,b,c,e,g,i){for(var g=0,d=e.length;g<d;g++){var f=e[g];if(f){for(var n=false,f=f[a];f;){if(f.sizcache===c){n=e[f.sizset];break}if(f.nodeType===1&&!i)f.sizcache=c,f.sizset=g;if(f.nodeName.toLowerCase()===b){n=f;break}f=f[a]}e[g]=n}}}function b(a,b,c,e,g,i){for(var g=0,d=e.length;g<d;g++){var f=e[g];if(f){for(var n=false,f=f[a];f;){if(f.sizcache===c){n=e[f.sizset];break}if(f.nodeType===
1){if(!i)f.sizcache=c,f.sizset=g;if(typeof b!=="string"){if(f===b){n=true;break}}else if(j.filter(b,[f]).length>0){n=f;break}}f=f[a]}e[g]=n}}}var e=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,g=0,i=Object.prototype.toString,d=false,f=true,h=/\\/g,k=/\W/;[0,0].sort(function(){f=false;return 0});var j=function(a,b,c,g){var c=c||[],d=b=b||r;if(b.nodeType!==1&&b.nodeType!==9)return[];if(!a||typeof a!=="string")return c;
var f,n,h,s,k,m=true,p=j.isXML(b),o=[],u=a;do if(e.exec(""),f=e.exec(u))if(u=f[3],o.push(f[1]),f[2]){s=f[3];break}while(f);if(o.length>1&&F.exec(a))if(o.length===2&&l.relative[o[0]])n=v(o[0]+o[1],b);else for(n=l.relative[o[0]]?[b]:j(o.shift(),b);o.length;)a=o.shift(),l.relative[a]&&(a+=o.shift()),n=v(a,n);else if(!g&&o.length>1&&b.nodeType===9&&!p&&l.match.ID.test(o[0])&&!l.match.ID.test(o[o.length-1])&&(f=j.find(o.shift(),b,p),b=f.expr?j.filter(f.expr,f.set)[0]:f.set[0]),b){f=g?{expr:o.pop(),set:q(g)}:
j.find(o.pop(),o.length===1&&(o[0]==="~"||o[0]==="+")&&b.parentNode?b.parentNode:b,p);n=f.expr?j.filter(f.expr,f.set):f.set;for(o.length>0?h=q(n):m=false;o.length;)f=k=o.pop(),l.relative[k]?f=o.pop():k="",f==null&&(f=b),l.relative[k](h,f,p)}else h=[];h||(h=n);h||j.error(k||a);if(i.call(h)==="[object Array]")if(m)if(b&&b.nodeType===1)for(a=0;h[a]!=null;a++)h[a]&&(h[a]===true||h[a].nodeType===1&&j.contains(b,h[a]))&&c.push(n[a]);else for(a=0;h[a]!=null;a++)h[a]&&h[a].nodeType===1&&c.push(n[a]);else c.push.apply(c,
h);else q(h,c);s&&(j(s,d,c,g),j.uniqueSort(c));return c};j.uniqueSort=function(a){if(u&&(d=f,a.sort(u),d))for(var b=1;b<a.length;b++)a[b]===a[b-1]&&a.splice(b--,1);return a};j.matches=function(a,b){return j(a,null,null,b)};j.matchesSelector=function(a,b){return j(b,null,null,[a]).length>0};j.find=function(a,b,c){var e;if(!a)return[];for(var g=0,i=l.order.length;g<i;g++){var d,f=l.order[g];if(d=l.leftMatch[f].exec(a)){var n=d[1];d.splice(1,1);if(n.substr(n.length-1)!=="\\"&&(d[1]=(d[1]||"").replace(h,
""),e=l.find[f](d,b,c),e!=null)){a=a.replace(l.match[f],"");break}}}e||(e=typeof b.getElementsByTagName!=="undefined"?b.getElementsByTagName("*"):[]);return{set:e,expr:a}};j.filter=function(a,b,c,e){for(var g,i,d=a,f=[],n=b,h=b&&b[0]&&j.isXML(b[0]);a&&b.length;){for(var s in l.filter)if((g=l.leftMatch[s].exec(a))!=null&&g[2]){var k,F,o=l.filter[s];F=g[1];i=false;g.splice(1,1);if(F.substr(F.length-1)!=="\\"){n===f&&(f=[]);if(l.preFilter[s])if(g=l.preFilter[s](g,n,c,f,e,h)){if(g===true)continue}else i=
k=true;if(g)for(var p=0;(F=n[p])!=null;p++)if(F){k=o(F,g,p,n);var r=e^!!k;c&&k!=null?r?i=true:n[p]=false:r&&(f.push(F),i=true)}if(k!==m){c||(n=f);a=a.replace(l.match[s],"");if(!i)return[];break}}}if(a===d)if(i==null)j.error(a);else break;d=a}return n};j.error=function(a){throw"Syntax error, unrecognized expression: "+a;};var l=j.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,
ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(a){return a.getAttribute("href")},
type:function(a){return a.getAttribute("type")}},relative:{"+":function(a,b){var c=typeof b==="string",e=c&&!k.test(b),c=c&&!e;e&&(b=b.toLowerCase());for(var e=0,g=a.length,i;e<g;e++)if(i=a[e]){for(;(i=i.previousSibling)&&i.nodeType!==1;);a[e]=c||i&&i.nodeName.toLowerCase()===b?i||false:i===b}c&&j.filter(b,a,true)},">":function(a,b){var c,e=typeof b==="string",g=0,i=a.length;if(e&&!k.test(b))for(b=b.toLowerCase();g<i;g++){if(c=a[g])c=c.parentNode,a[g]=c.nodeName.toLowerCase()===b?c:false}else{for(;g<
i;g++)(c=a[g])&&(a[g]=e?c.parentNode:c.parentNode===b);e&&j.filter(b,a,true)}},"":function(c,e,i){var d,f=g++,n=b;typeof e==="string"&&!k.test(e)&&(d=e=e.toLowerCase(),n=a);n("parentNode",e,f,c,d,i)},"~":function(c,e,i){var d,f=g++,n=b;typeof e==="string"&&!k.test(e)&&(d=e=e.toLowerCase(),n=a);n("previousSibling",e,f,c,d,i)}},find:{ID:function(a,b,c){if(typeof b.getElementById!=="undefined"&&!c)return(a=b.getElementById(a[1]))&&a.parentNode?[a]:[]},NAME:function(a,b){if(typeof b.getElementsByName!==
"undefined"){for(var c=[],e=b.getElementsByName(a[1]),g=0,i=e.length;g<i;g++)e[g].getAttribute("name")===a[1]&&c.push(e[g]);return c.length===0?null:c}},TAG:function(a,b){if(typeof b.getElementsByTagName!=="undefined")return b.getElementsByTagName(a[1])}},preFilter:{CLASS:function(a,b,c,e,g,i){a=" "+a[1].replace(h,"")+" ";if(i)return a;for(var i=0,d;(d=b[i])!=null;i++)d&&(g^(d.className&&(" "+d.className+" ").replace(/[\t\n\r]/g," ").indexOf(a)>=0)?c||e.push(d):c&&(b[i]=false));return false},ID:function(a){return a[1].replace(h,
"")},TAG:function(a){return a[1].replace(h,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||j.error(a[0]);a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0;a[3]=b[3]-0}else a[2]&&j.error(a[0]);a[0]=g++;return a},ATTR:function(a,b,c,e,g,i){b=a[1]=a[1].replace(h,"");!i&&l.attrMap[b]&&(a[1]=l.attrMap[b]);a[4]=(a[4]||a[5]||"").replace(h,"");a[2]==="~="&&(a[4]=" "+a[4]+
" ");return a},PSEUDO:function(a,b,c,g,i){if(a[1]==="not")if((e.exec(a[3])||"").length>1||/^\w/.test(a[3]))a[3]=j(a[3],null,null,b);else return a=j.filter(a[3],b,c,1^i),c||g.push.apply(g,a),false;else if(l.match.POS.test(a[0])||l.match.CHILD.test(a[0]))return true;return a},POS:function(a){a.unshift(true);return a}},filters:{enabled:function(a){return a.disabled===false&&a.type!=="hidden"},disabled:function(a){return a.disabled===true},checked:function(a){return a.checked===true},selected:function(a){return a.selected===
true},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,c){return!!j(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){var b=a.getAttribute("type"),c=a.type;return a.nodeName.toLowerCase()==="input"&&"text"===c&&(b===c||b===null)},radio:function(a){return a.nodeName.toLowerCase()==="input"&&"radio"===a.type},checkbox:function(a){return a.nodeName.toLowerCase()==="input"&&"checkbox"===a.type},file:function(a){return a.nodeName.toLowerCase()===
"input"&&"file"===a.type},password:function(a){return a.nodeName.toLowerCase()==="input"&&"password"===a.type},submit:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"submit"===a.type},image:function(a){return a.nodeName.toLowerCase()==="input"&&"image"===a.type},reset:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"reset"===a.type},button:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&"button"===a.type||b==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)},
focus:function(a){return a===a.ownerDocument.activeElement}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,e){return b===e.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return b<c[3]-0},gt:function(a,b,c){return b>c[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(a,b,c,e){var g=b[1],i=l.filters[g];if(i)return i(a,c,b,e);else if(g==="contains")return(a.textContent||a.innerText||
j.getText([a])||"").indexOf(b[3])>=0;else if(g==="not"){b=b[3];c=0;for(e=b.length;c<e;c++)if(b[c]===a)return false;return true}else j.error(g)},CHILD:function(a,b){var c=b[1],e=a;switch(c){case "only":case "first":for(;e=e.previousSibling;)if(e.nodeType===1)return false;if(c==="first")return true;e=a;case "last":for(;e=e.nextSibling;)if(e.nodeType===1)return false;return true;case "nth":var c=b[2],g=b[3];if(c===1&&g===0)return true;var i=b[0],d=a.parentNode;if(d&&(d.sizcache!==i||!a.nodeIndex)){for(var f=
0,e=d.firstChild;e;e=e.nextSibling)if(e.nodeType===1)e.nodeIndex=++f;d.sizcache=i}e=a.nodeIndex-g;return c===0?e===0:e%c===0&&e/c>=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(a,b){var c=b[1],c=l.attrHandle[c]?l.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),e=c+"",g=b[2],i=b[4];return c==
null?g==="!=":g==="="?e===i:g==="*="?e.indexOf(i)>=0:g==="~="?(" "+e+" ").indexOf(i)>=0:!i?e&&c!==false:g==="!="?e!==i:g==="^="?e.indexOf(i)===0:g==="$="?e.substr(e.length-i.length)===i:g==="|="?e===i||e.substr(0,i.length+1)===i+"-":false},POS:function(a,b,c,e){var g=l.setFilters[b[2]];if(g)return g(a,c,b,e)}}},F=l.match.POS,p=function(a,b){return"\\"+(b-0+1)},o;for(o in l.match)l.match[o]=RegExp(l.match[o].source+/(?![^\[]*\])(?![^\(]*\))/.source),l.leftMatch[o]=RegExp(/(^(?:.|\r|\n)*?)/.source+
l.match[o].source.replace(/\\(\d+)/g,p));var q=function(a,b){a=Array.prototype.slice.call(a,0);return b?(b.push.apply(b,a),b):a};try{Array.prototype.slice.call(r.documentElement.childNodes,0)}catch(C){q=function(a,b){var c=0,e=b||[];if(i.call(a)==="[object Array]")Array.prototype.push.apply(e,a);else if(typeof a.length==="number")for(var g=a.length;c<g;c++)e.push(a[c]);else for(;a[c];c++)e.push(a[c]);return e}}var u,y;r.documentElement.compareDocumentPosition?u=function(a,b){return a===b?(d=true,
0):!a.compareDocumentPosition||!b.compareDocumentPosition?a.compareDocumentPosition?-1:1:a.compareDocumentPosition(b)&4?-1:1}:(u=function(a,b){if(a===b)return d=true,0;else if(a.sourceIndex&&b.sourceIndex)return a.sourceIndex-b.sourceIndex;var c,e,g=[],i=[];c=a.parentNode;e=b.parentNode;var f=c;if(c===e)return y(a,b);else if(c){if(!e)return 1}else return-1;for(;f;)g.unshift(f),f=f.parentNode;for(f=e;f;)i.unshift(f),f=f.parentNode;c=g.length;e=i.length;for(f=0;f<c&&f<e;f++)if(g[f]!==i[f])return y(g[f],
i[f]);return f===c?y(a,i[f],-1):y(g[f],b,1)},y=function(a,b,c){if(a===b)return c;for(a=a.nextSibling;a;){if(a===b)return-1;a=a.nextSibling}return 1});j.getText=function(a){for(var b="",c,e=0;a[e];e++)c=a[e],c.nodeType===3||c.nodeType===4?b+=c.nodeValue:c.nodeType!==8&&(b+=j.getText(c.childNodes));return b};(function(){var a=r.createElement("div"),b="script"+(new Date).getTime(),c=r.documentElement;a.innerHTML="<a name='"+b+"'/>";c.insertBefore(a,c.firstChild);if(r.getElementById(b))l.find.ID=function(a,
b,c){if(typeof b.getElementById!=="undefined"&&!c)return(b=b.getElementById(a[1]))?b.id===a[1]||typeof b.getAttributeNode!=="undefined"&&b.getAttributeNode("id").nodeValue===a[1]?[b]:m:[]},l.filter.ID=function(a,b){var c=typeof a.getAttributeNode!=="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b};c.removeChild(a);c=a=null})();(function(){var a=r.createElement("div");a.appendChild(r.createComment(""));if(a.getElementsByTagName("*").length>0)l.find.TAG=function(a,b){var c=
b.getElementsByTagName(a[1]);if(a[1]==="*"){for(var e=[],g=0;c[g];g++)c[g].nodeType===1&&e.push(c[g]);c=e}return c};a.innerHTML="<a href='#'></a>";if(a.firstChild&&typeof a.firstChild.getAttribute!=="undefined"&&a.firstChild.getAttribute("href")!=="#")l.attrHandle.href=function(a){return a.getAttribute("href",2)};a=null})();r.querySelectorAll&&function(){var a=j,b=r.createElement("div");b.innerHTML="<p class='TEST'></p>";if(!(b.querySelectorAll&&b.querySelectorAll(".TEST").length===0)){j=function(b,
c,e,g){c=c||r;if(!g&&!j.isXML(c)){var i=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(i&&(c.nodeType===1||c.nodeType===9))if(i[1])return q(c.getElementsByTagName(b),e);else if(i[2]&&l.find.CLASS&&c.getElementsByClassName)return q(c.getElementsByClassName(i[2]),e);if(c.nodeType===9){if(b==="body"&&c.body)return q([c.body],e);else if(i&&i[3]){var d=c.getElementById(i[3]);if(d&&d.parentNode){if(d.id===i[3])return q([d],e)}else return q([],e)}try{return q(c.querySelectorAll(b),e)}catch(f){}}else if(c.nodeType===
1&&c.nodeName.toLowerCase()!=="object"){var i=c,n=(d=c.getAttribute("id"))||"__sizzle__",h=c.parentNode,s=/^\s*[+~]/.test(b);d?n=n.replace(/'/g,"\\$&"):c.setAttribute("id",n);if(s&&h)c=c.parentNode;try{if(!s||h)return q(c.querySelectorAll("[id='"+n+"'] "+b),e)}catch(k){}finally{d||i.removeAttribute("id")}}}return a(b,c,e,g)};for(var c in a)j[c]=a[c];b=null}}();(function(){var a=r.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector;if(b){var c=!b.call(r.createElement("div"),
"div"),e=false;try{b.call(r.documentElement,"[test!='']:sizzle")}catch(g){e=true}j.matchesSelector=function(a,g){g=g.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!j.isXML(a))try{if(e||!l.match.PSEUDO.test(g)&&!/!=/.test(g)){var i=b.call(a,g);if(i||!c||a.document&&a.document.nodeType!==11)return i}}catch(d){}return j(g,null,null,[a]).length>0}}})();(function(){var a=r.createElement("div");a.innerHTML="<div class='test e'></div><div class='test'></div>";if(a.getElementsByClassName&&a.getElementsByClassName("e").length!==
0&&(a.lastChild.className="e",a.getElementsByClassName("e").length!==1))l.order.splice(1,0,"CLASS"),l.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!=="undefined"&&!c)return b.getElementsByClassName(a[1])},a=null})();j.contains=r.documentElement.contains?function(a,b){return a!==b&&(a.contains?a.contains(b):true)}:r.documentElement.compareDocumentPosition?function(a,b){return!!(a.compareDocumentPosition(b)&16)}:function(){return false};j.isXML=function(a){return(a=(a?a.ownerDocument||
a:0).documentElement)?a.nodeName!=="HTML":false};var v=function(a,b){for(var c,e=[],g="",i=b.nodeType?[b]:b;c=l.match.PSEUDO.exec(a);)g+=c[0],a=a.replace(l.match.PSEUDO,"");a=l.relative[a]?a+"*":a;c=0;for(var d=i.length;c<d;c++)j(a,i[c],e);return j.filter(g,e)};c.find=j;c.expr=j.selectors;c.expr[":"]=c.expr.filters;c.unique=j.uniqueSort;c.text=j.getText;c.isXMLDoc=j.isXML;c.contains=j.contains})();var db=/Until$/,eb=/^(?:parents|prevUntil|prevAll)/,fb=/,/,Ta=/^.[^:#\[\.,]*$/,gb=Array.prototype.slice,
Ea=c.expr.match.POS,hb={children:true,contents:true,next:true,prev:true};c.fn.extend({find:function(a){var b=this,e,g;if(typeof a!=="string")return c(a).filter(function(){for(e=0,g=b.length;e<g;e++)if(c.contains(b[e],this))return true});var i=this.pushStack("","find",a),d,f,h;for(e=0,g=this.length;e<g;e++)if(d=i.length,c.find(a,this[e],i),e>0)for(f=d;f<i.length;f++)for(h=0;h<d;h++)if(i[h]===i[f]){i.splice(f--,1);break}return i},has:function(a){var b=c(a);return this.filter(function(){for(var a=0,
g=b.length;a<g;a++)if(c.contains(this,b[a]))return true})},not:function(a){return this.pushStack(u(this,a,false),"not",a)},filter:function(a){return this.pushStack(u(this,a,true),"filter",a)},is:function(a){return!!a&&(typeof a==="string"?c.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,b){var e=[],g,i,d=this[0];if(c.isArray(a)){var f,h={},j=1;if(d&&a.length){for(g=0,i=a.length;g<i;g++)f=a[g],h[f]||(h[f]=Ea.test(f)?c(f,b||this.context):f);for(;d&&d.ownerDocument&&d!==b;){for(f in h)g=
h[f],(g.jquery?g.index(d)>-1:c(d).is(g))&&e.push({selector:f,elem:d,level:j});d=d.parentNode;j++}}return e}f=Ea.test(a)||typeof a!=="string"?c(a,b||this.context):0;for(g=0,i=this.length;g<i;g++)for(d=this[g];d;)if(f?f.index(d)>-1:c.find.matchesSelector(d,a)){e.push(d);break}else if(d=d.parentNode,!d||!d.ownerDocument||d===b||d.nodeType===11)break;e=e.length>1?c.unique(e):e;return this.pushStack(e,"closest",a)},index:function(a){return!a?this[0]&&this[0].parentNode?this.prevAll().length:-1:typeof a===
"string"?c.inArray(this[0],c(a)):c.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var e=typeof a==="string"?c(a,b):c.makeArray(a&&a.nodeType?[a]:a),g=c.merge(this.get(),e);return this.pushStack(!e[0]||!e[0].parentNode||e[0].parentNode.nodeType===11||!g[0]||!g[0].parentNode||g[0].parentNode.nodeType===11?g:c.unique(g))},andSelf:function(){return this.add(this.prevObject)}});c.each({parent:function(a){return(a=a.parentNode)&&a.nodeType!==11?a:null},parents:function(a){return c.dir(a,"parentNode")},
parentsUntil:function(a,b,e){return c.dir(a,"parentNode",e)},next:function(a){return c.nth(a,2,"nextSibling")},prev:function(a){return c.nth(a,2,"previousSibling")},nextAll:function(a){return c.dir(a,"nextSibling")},prevAll:function(a){return c.dir(a,"previousSibling")},nextUntil:function(a,b,e){return c.dir(a,"nextSibling",e)},prevUntil:function(a,b,e){return c.dir(a,"previousSibling",e)},siblings:function(a){return c.sibling(a.parentNode.firstChild,a)},children:function(a){return c.sibling(a.firstChild)},
contents:function(a){return c.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:c.makeArray(a.childNodes)}},function(a,b){c.fn[a]=function(e,g){var i=c.map(this,b,e),d=gb.call(arguments);db.test(a)||(g=e);g&&typeof g==="string"&&(i=c.filter(g,i));i=this.length>1&&!hb[a]?c.unique(i):i;if((this.length>1||fb.test(g))&&eb.test(a))i=i.reverse();return this.pushStack(i,a,d.join(","))}});c.extend({filter:function(a,b,e){e&&(a=":not("+a+")");return b.length===1?c.find.matchesSelector(b[0],
a)?[b[0]]:[]:c.find.matches(a,b)},dir:function(a,b,e){for(var g=[],a=a[b];a&&a.nodeType!==9&&(e===m||a.nodeType!==1||!c(a).is(e));)a.nodeType===1&&g.push(a),a=a[b];return g},nth:function(a,b,c){for(var b=b||1,g=0;a;a=a[c])if(a.nodeType===1&&++g===b)break;return a},sibling:function(a,b){for(var c=[];a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var ib=/ jQuery\d+="(?:\d+|null)"/g,xa=/^\s+/,Fa=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,Ga=/<([\w:]+)/,
jb=/<tbody/i,kb=/<|&#?\w+;/,Ha=/<(?:script|object|embed|option|style)/i,Ia=/checked\s*(?:[^=]|=\s*.checked.)/i,lb=/\/(java|ecma)script/i,Ua=/^\s*<!(?:\[CDATA\[|\-\-)/,$={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,"",""]};$.optgroup=
$.option;$.tbody=$.tfoot=$.colgroup=$.caption=$.thead;$.th=$.td;if(!c.support.htmlSerialize)$._default=[1,"div<div>","</div>"];c.fn.extend({text:function(a){return c.isFunction(a)?this.each(function(b){var e=c(this);e.text(a.call(this,b,e.text()))}):typeof a!=="object"&&a!==m?this.empty().append((this[0]&&this[0].ownerDocument||r).createTextNode(a)):c.text(this)},wrapAll:function(a){if(c.isFunction(a))return this.each(function(b){c(this).wrapAll(a.call(this,b))});if(this[0]){var b=c(a,this[0].ownerDocument).eq(0).clone(true);
this[0].parentNode&&b.insertBefore(this[0]);b.map(function(){for(var a=this;a.firstChild&&a.firstChild.nodeType===1;)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){return c.isFunction(a)?this.each(function(b){c(this).wrapInner(a.call(this,b))}):this.each(function(){var b=c(this),e=b.contents();e.length?e.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){c(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){c.nodeName(this,"body")||
c(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(a){this.parentNode.insertBefore(a,this)});else if(arguments.length){var a=c(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,
"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(a){this.parentNode.insertBefore(a,this.nextSibling)});else if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,c(arguments[0]).toArray());return a}},remove:function(a,b){for(var e=0,g;(g=this[e])!=null;e++)if(!a||c.filter(a,[g]).length)!b&&g.nodeType===1&&(c.cleanData(g.getElementsByTagName("*")),c.cleanData([g])),g.parentNode&&g.parentNode.removeChild(g);
return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++)for(b.nodeType===1&&c.cleanData(b.getElementsByTagName("*"));b.firstChild;)b.removeChild(b.firstChild);return this},clone:function(a,b){a=a==null?false:a;b=b==null?a:b;return this.map(function(){return c.clone(this,a,b)})},html:function(a){if(a===m)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(ib,""):null;else if(typeof a==="string"&&!Ha.test(a)&&(c.support.leadingWhitespace||!xa.test(a))&&!$[(Ga.exec(a)||["",""])[1].toLowerCase()]){a=
a.replace(Fa,"<$1></$2>");try{for(var b=0,e=this.length;b<e;b++)if(this[b].nodeType===1)c.cleanData(this[b].getElementsByTagName("*")),this[b].innerHTML=a}catch(g){this.empty().append(a)}}else c.isFunction(a)?this.each(function(b){var e=c(this);e.html(a.call(this,b,e.html()))}):this.empty().append(a);return this},replaceWith:function(a){if(this[0]&&this[0].parentNode){if(c.isFunction(a))return this.each(function(b){var e=c(this),g=e.html();e.replaceWith(a.call(this,b,g))});typeof a!=="string"&&(a=
c(a).detach());return this.each(function(){var b=this.nextSibling,e=this.parentNode;c(this).remove();b?c(b).before(a):c(e).append(a)})}else return this.length?this.pushStack(c(c.isFunction(a)?a():a),"replaceWith",a):this},detach:function(a){return this.remove(a,true)},domManip:function(a,b,e){var g,i,d,f=a[0],h=[];if(!c.support.checkClone&&arguments.length===3&&typeof f==="string"&&Ia.test(f))return this.each(function(){c(this).domManip(a,b,e,true)});if(c.isFunction(f))return this.each(function(g){var i=
c(this);a[0]=f.call(this,g,b?i.html():m);i.domManip(a,b,e)});if(this[0]){g=f&&f.parentNode;g=c.support.parentNode&&g&&g.nodeType===11&&g.childNodes.length===this.length?{fragment:g}:c.buildFragment(a,this,h);d=g.fragment;if(i=d.childNodes.length===1?d=d.firstChild:d.firstChild){b=b&&c.nodeName(i,"tr");i=0;for(var j=this.length,k=j-1;i<j;i++)e.call(b?c.nodeName(this[i],"table")?this[i].getElementsByTagName("tbody")[0]||this[i].appendChild(this[i].ownerDocument.createElement("tbody")):this[i]:this[i],
g.cacheable||j>1&&i<k?c.clone(d,true,true):d)}h.length&&c.each(h,X)}return this}});c.buildFragment=function(a,b,e){var g,i,d,f;b&&b[0]&&(f=b[0].ownerDocument||b[0]);f.createDocumentFragment||(f=r);if(a.length===1&&typeof a[0]==="string"&&a[0].length<512&&f===r&&a[0].charAt(0)==="<"&&!Ha.test(a[0])&&(c.support.checkClone||!Ia.test(a[0])))i=true,(d=c.fragments[a[0]])&&d!==1&&(g=d);g||(g=f.createDocumentFragment(),c.clean(a,f,g,e));i&&(c.fragments[a[0]]=d?g:1);return{fragment:g,cacheable:i}};c.fragments=
{};c.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){c.fn[a]=function(e){var g=[],e=c(e),i=this.length===1&&this[0].parentNode;if(i&&i.nodeType===11&&i.childNodes.length===1&&e.length===1)return e[b](this[0]),this;else{for(var i=0,d=e.length;i<d;i++){var f=(i>0?this.clone(true):this).get();c(e[i])[b](f);g=g.concat(f)}return this.pushStack(g,a,e.selector)}}});c.extend({clone:function(a,b,e){var g=a.cloneNode(true),i,d,f;
if((!c.support.noCloneEvent||!c.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!c.isXMLDoc(a)){q(a,g);i=J(a);d=J(g);for(f=0;i[f];++f)d[f]&&q(i[f],d[f])}if(b&&(p(a,g),e)){i=J(a);d=J(g);for(f=0;i[f];++f)p(i[f],d[f])}return g},clean:function(a,b,e,g){b=b||r;typeof b.createElement==="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||r);for(var i=[],d,f=0,h;(h=a[f])!=null;f++)if(typeof h==="number"&&(h+=""),h){if(typeof h==="string")if(kb.test(h)){h=h.replace(Fa,"<$1></$2>");d=(Ga.exec(h)||
["",""])[1].toLowerCase();var j=$[d]||$._default,k=j[0],l=b.createElement("div");for(l.innerHTML=j[1]+h+j[2];k--;)l=l.lastChild;if(!c.support.tbody){k=jb.test(h);j=d==="table"&&!k?l.firstChild&&l.firstChild.childNodes:j[1]==="<table>"&&!k?l.childNodes:[];for(d=j.length-1;d>=0;--d)c.nodeName(j[d],"tbody")&&!j[d].childNodes.length&&j[d].parentNode.removeChild(j[d])}!c.support.leadingWhitespace&&xa.test(h)&&l.insertBefore(b.createTextNode(xa.exec(h)[0]),l.firstChild);h=l.childNodes}else h=b.createTextNode(h);
var F;if(!c.support.appendChecked)if(h[0]&&typeof(F=h.length)==="number")for(d=0;d<F;d++)B(h[d]);else B(h);h.nodeType?i.push(h):i=c.merge(i,h)}if(e){a=function(a){return!a.type||lb.test(a.type)};for(f=0;i[f];f++)g&&c.nodeName(i[f],"script")&&(!i[f].type||i[f].type.toLowerCase()==="text/javascript")?g.push(i[f].parentNode?i[f].parentNode.removeChild(i[f]):i[f]):(i[f].nodeType===1&&(b=c.grep(i[f].getElementsByTagName("script"),a),i.splice.apply(i,[f+1,0].concat(b))),e.appendChild(i[f]))}return i},cleanData:function(a){for(var b,
e,g=c.cache,i=c.expando,d=c.event.special,f=c.support.deleteExpando,h=0,j;(j=a[h])!=null;h++)if(!j.nodeName||!c.noData[j.nodeName.toLowerCase()])if(e=j[c.expando]){if((b=g[e]&&g[e][i])&&b.events){for(var k in b.events)d[k]?c.event.remove(j,k):c.removeEvent(j,k,b.handle);if(b.handle)b.handle.elem=null}f?delete j[c.expando]:j.removeAttribute&&j.removeAttribute(c.expando);delete g[e]}}});var ya=/alpha\([^)]*\)/i,mb=/opacity=([^)]*)/,nb=/([A-Z]|^ms)/g,Ja=/^-?\d+(?:px)?$/i,ob=/^-?\d/,pb=/^([\-+])=([\-+.\de]+)/,
qb={position:"absolute",visibility:"hidden",display:"block"},Va=["Left","Right"],Wa=["Top","Bottom"],ia,Ka,La;c.fn.css=function(a,b){return arguments.length===2&&b===m?this:c.access(this,a,b,true,function(a,b,i){return i!==m?c.style(a,b,i):c.css(a,b)})};c.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=ia(a,"opacity","opacity");return c===""?"1":c}else return a.style.opacity}}},cssNumber:{fillOpacity:true,fontWeight:true,lineHeight:true,opacity:true,orphans:true,widows:true,zIndex:true,zoom:true},
cssProps:{"float":c.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,b,e,g){if(a&&!(a.nodeType===3||a.nodeType===8||!a.style)){var i,d=c.camelCase(b),f=a.style,h=c.cssHooks[d],b=c.cssProps[d]||d;if(e!==m){g=typeof e;if(g==="string"&&(i=pb.exec(e)))e=+(i[1]+1)*+i[2]+parseFloat(c.css(a,b)),g="number";if(!(e==null||g==="number"&&isNaN(e)))if(g==="number"&&!c.cssNumber[d]&&(e+="px"),!h||!("set"in h)||(e=h.set(a,e))!==m)try{f[b]=e}catch(j){}}else return h&&"get"in h&&(i=h.get(a,false,g))!==m?
i:f[b]}},css:function(a,b,e){var g,i,b=c.camelCase(b);i=c.cssHooks[b];b=c.cssProps[b]||b;b==="cssFloat"&&(b="float");if(i&&"get"in i&&(g=i.get(a,true,e))!==m)return g;else if(ia)return ia(a,b)},swap:function(a,b,c){var g={},i;for(i in b)g[i]=a.style[i],a.style[i]=b[i];c.call(a);for(i in b)a.style[i]=g[i]}});c.curCSS=c.css;c.each(["height","width"],function(a,b){c.cssHooks[b]={get:function(a,g,i){var d;if(g){if(a.offsetWidth!==0)return T(a,b,i);else c.swap(a,qb,function(){d=T(a,b,i)});return d}},set:function(a,
b){if(Ja.test(b)){if(b=parseFloat(b),b>=0)return b+"px"}else return b}}});if(!c.support.opacity)c.cssHooks.opacity={get:function(a,b){return mb.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var e=a.style,g=a.currentStyle,i=c.isNaN(b)?"":"alpha(opacity="+b*100+")",d=g&&g.filter||e.filter||"";e.zoom=1;if(b>=1&&c.trim(d.replace(ya,""))===""&&(e.removeAttribute("filter"),g&&!g.filter))return;e.filter=ya.test(d)?d.replace(ya,
i):d+" "+i}};c(function(){if(!c.support.reliableMarginRight)c.cssHooks.marginRight={get:function(a,b){var e;c.swap(a,{display:"inline-block"},function(){e=b?ia(a,"margin-right","marginRight"):a.style.marginRight});return e}}});r.defaultView&&r.defaultView.getComputedStyle&&(Ka=function(a,b){var e,g,b=b.replace(nb,"-$1").toLowerCase();if(!(g=a.ownerDocument.defaultView))return m;if(g=g.getComputedStyle(a,null))e=g.getPropertyValue(b),e===""&&!c.contains(a.ownerDocument.documentElement,a)&&(e=c.style(a,
b));return e});r.documentElement.currentStyle&&(La=function(a,b){var c,g=a.currentStyle&&a.currentStyle[b],i=a.runtimeStyle&&a.runtimeStyle[b],d=a.style;if(!Ja.test(g)&&ob.test(g)){c=d.left;if(i)a.runtimeStyle.left=a.currentStyle.left;d.left=b==="fontSize"?"1em":g||0;g=d.pixelLeft+"px";d.left=c;if(i)a.runtimeStyle.left=i}return g===""?"auto":g});ia=Ka||La;if(c.expr&&c.expr.filters)c.expr.filters.hidden=function(a){var b=a.offsetHeight;return a.offsetWidth===0&&b===0||!c.support.reliableHiddenOffsets&&
(a.style.display||c.css(a,"display"))==="none"},c.expr.filters.visible=function(a){return!c.expr.filters.hidden(a)};var rb=/%20/g,Xa=/\[\]$/,Ma=/\r?\n/g,sb=/#.*$/,tb=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,ub=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,vb=/^(?:GET|HEAD)$/,wb=/^\/\//,Na=/\?/,xb=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,yb=/^(?:select|textarea)/i,Aa=/\s+/,zb=/([?&])_=[^&]*/,Oa=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,
Pa=c.fn.load,ua={},Qa={},ga,ha,Ra=["*/"]+["*"];try{ga=U.href}catch(Fb){ga=r.createElement("a"),ga.href="",ga=ga.href}ha=Oa.exec(ga.toLowerCase())||[];c.fn.extend({load:function(a,b,e){if(typeof a!=="string"&&Pa)return Pa.apply(this,arguments);else if(!this.length)return this;var g=a.indexOf(" ");if(g>=0)var i=a.slice(g,a.length),a=a.slice(0,g);g="GET";b&&(c.isFunction(b)?(e=b,b=m):typeof b==="object"&&(b=c.param(b,c.ajaxSettings.traditional),g="POST"));var d=this;c.ajax({url:a,type:g,dataType:"html",
data:b,complete:function(a,b,g){g=a.responseText;a.isResolved()&&(a.done(function(a){g=a}),d.html(i?c("<div>").append(g.replace(xb,"")).find(i):g));e&&d.each(e,[g,b,a])}});return this},serialize:function(){return c.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?c.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||yb.test(this.nodeName)||ub.test(this.type))}).map(function(a,b){var e=c(this).val();
return e==null?null:c.isArray(e)?c.map(e,function(a){return{name:b.name,value:a.replace(Ma,"\r\n")}}):{name:b.name,value:e.replace(Ma,"\r\n")}}).get()}});c.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){c.fn[b]=function(a){return this.bind(b,a)}});c.each(["get","post"],function(a,b){c[b]=function(a,g,i,d){c.isFunction(g)&&(d=d||i,i=g,g=m);return c.ajax({type:b,url:a,data:g,success:i,dataType:d})}});c.extend({getScript:function(a,b){return c.get(a,m,
b,"script")},getJSON:function(a,b,e){return c.get(a,b,e,"json")},ajaxSetup:function(a,b){b?v(a,c.ajaxSettings):(b=a,a=c.ajaxSettings);v(a,b);return a},ajaxSettings:{url:ga,isLocal:/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/.test(ha[1]),global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":Ra},contents:{xml:/xml/,html:/html/,
json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":f.String,"text html":true,"text json":c.parseJSON,"text xml":c.parseXML},flatOptions:{context:true,url:true}},ajaxPrefilter:O(ua),ajaxTransport:O(Qa),ajax:function(a,b){function e(a,b,e,l){if(C!==2){C=2;q&&clearTimeout(q);r=m;o=l||"";z.readyState=a>0?4:0;var F,p,u,l=b;if(e){var v=g,aa=z,O=v.contents,x=v.dataTypes,oa=v.responseFields,w,S,K,X;for(S in oa)S in e&&(aa[oa[S]]=e[S]);for(;x[0]==="*";)x.shift(),w===m&&
(w=v.mimeType||aa.getResponseHeader("content-type"));if(w)for(S in O)if(O[S]&&O[S].test(w)){x.unshift(S);break}if(x[0]in e)K=x[0];else{for(S in e){if(!x[0]||v.converters[S+" "+x[0]]){K=S;break}X||(X=S)}K=K||X}K?(K!==x[0]&&x.unshift(K),e=e[K]):e=void 0}else e=m;if(a>=200&&a<300||a===304){if(g.ifModified){if(w=z.getResponseHeader("Last-Modified"))c.lastModified[k]=w;if(w=z.getResponseHeader("Etag"))c.etag[k]=w}if(a===304)l="notmodified",F=true;else try{w=g;w.dataFilter&&(e=w.dataFilter(e,w.dataType));
var A=w.dataTypes;S={};var T,la,E=A.length,B,D=A[0],t,I,V,ca,ea;for(T=1;T<E;T++){if(T===1)for(la in w.converters)typeof la==="string"&&(S[la.toLowerCase()]=w.converters[la]);t=D;D=A[T];if(D==="*")D=t;else if(t!=="*"&&t!==D){I=t+" "+D;V=S[I]||S["* "+D];if(!V)for(ca in ea=m,S)if(B=ca.split(" "),B[0]===t||B[0]==="*")if(ea=S[B[1]+" "+D]){ca=S[ca];ca===true?V=ea:ea===true&&(V=ca);break}!V&&!ea&&c.error("No conversion from "+I.replace(" "," to "));V!==true&&(e=V?V(e):ea(ca(e)))}}p=e;l="success";F=true}catch(H){l=
"parsererror",u=H}}else if(u=l,!l||a)l="error",a<0&&(a=0);z.status=a;z.statusText=""+(b||l);F?f.resolveWith(i,[p,l,z]):f.rejectWith(i,[z,l,u]);z.statusCode(j);j=m;y&&d.trigger("ajax"+(F?"Success":"Error"),[z,g,F?p:u]);h.resolveWith(i,[z,l]);y&&(d.trigger("ajaxComplete",[z,g]),--c.active||c.event.trigger("ajaxStop"))}}typeof a==="object"&&(b=a,a=m);var b=b||{},g=c.ajaxSetup({},b),i=g.context||g,d=i!==g&&(i.nodeType||i instanceof c)?c(i):c.event,f=c.Deferred(),h=c._Deferred(),j=g.statusCode||{},k,l=
{},F={},o,p,r,q,u,C=0,y,v,z={readyState:0,setRequestHeader:function(a,b){if(!C){var c=a.toLowerCase(),a=F[c]=F[c]||a;l[a]=b}return this},getAllResponseHeaders:function(){return C===2?o:null},getResponseHeader:function(a){var b;if(C===2){if(!p)for(p={};b=tb.exec(o);)p[b[1].toLowerCase()]=b[2];b=p[a.toLowerCase()]}return b===m?null:b},overrideMimeType:function(a){if(!C)g.mimeType=a;return this},abort:function(a){a=a||"abort";r&&r.abort(a);e(0,a);return this}};f.promise(z);z.success=z.done;z.error=z.fail;
z.complete=h.done;z.statusCode=function(a){if(a){var b;if(C<2)for(b in a)j[b]=[j[b],a[b]];else b=a[z.status],z.then(b,b)}return this};g.url=((a||g.url)+"").replace(sb,"").replace(wb,ha[1]+"//");g.dataTypes=c.trim(g.dataType||"*").toLowerCase().split(Aa);if(g.crossDomain==null)u=Oa.exec(g.url.toLowerCase()),g.crossDomain=!(!u||!(u[1]!=ha[1]||u[2]!=ha[2]||(u[3]||(u[1]==="http:"?80:443))!=(ha[3]||(ha[1]==="http:"?80:443))));if(g.data&&g.processData&&typeof g.data!=="string")g.data=c.param(g.data,g.traditional);
V(ua,g,b,z);if(C===2)return false;y=g.global;g.type=g.type.toUpperCase();g.hasContent=!vb.test(g.type);y&&c.active++===0&&c.event.trigger("ajaxStart");if(!g.hasContent&&(g.data&&(g.url+=(Na.test(g.url)?"&":"?")+g.data,delete g.data),k=g.url,g.cache===false)){u=c.now();var aa=g.url.replace(zb,"$1_="+u);g.url=aa+(aa===g.url?(Na.test(g.url)?"&":"?")+"_="+u:"")}(g.data&&g.hasContent&&g.contentType!==false||b.contentType)&&z.setRequestHeader("Content-Type",g.contentType);g.ifModified&&(k=k||g.url,c.lastModified[k]&&
z.setRequestHeader("If-Modified-Since",c.lastModified[k]),c.etag[k]&&z.setRequestHeader("If-None-Match",c.etag[k]));z.setRequestHeader("Accept",g.dataTypes[0]&&g.accepts[g.dataTypes[0]]?g.accepts[g.dataTypes[0]]+(g.dataTypes[0]!=="*"?", "+Ra+"; q=0.01":""):g.accepts["*"]);for(v in g.headers)z.setRequestHeader(v,g.headers[v]);if(g.beforeSend&&(g.beforeSend.call(i,z,g)===false||C===2))return z.abort(),false;for(v in{success:1,error:1,complete:1})z[v](g[v]);if(r=V(Qa,g,b,z)){z.readyState=1;y&&d.trigger("ajaxSend",
[z,g]);g.async&&g.timeout>0&&(q=setTimeout(function(){z.abort("timeout")},g.timeout));try{C=1,r.send(l,e)}catch(O){C<2?e(-1,O):c.error(O)}}else e(-1,"No Transport");return z},param:function(a,b){var e=[],g=function(a,b){b=c.isFunction(b)?b():b;e[e.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};if(b===m)b=c.ajaxSettings.traditional;if(c.isArray(a)||a.jquery&&!c.isPlainObject(a))c.each(a,function(){g(this.name,this.value)});else for(var i in a)D(i,a[i],b,g);return e.join("&").replace(rb,"+")}});
c.extend({active:0,lastModified:{},etag:{}});var Ab=c.now(),ra=/(\=)\?(&|$)|\?\?/i;c.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return c.expando+"_"+Ab++}});c.ajaxPrefilter("json jsonp",function(a,b,e){b=a.contentType==="application/x-www-form-urlencoded"&&typeof a.data==="string";if(a.dataTypes[0]==="jsonp"||a.jsonp!==false&&(ra.test(a.url)||b&&ra.test(a.data))){var g,i=a.jsonpCallback=c.isFunction(a.jsonpCallback)?a.jsonpCallback():a.jsonpCallback,d=f[i],h=a.url,j=a.data,k="$1"+i+"$2";
a.jsonp!==false&&(h=h.replace(ra,k),a.url===h&&(b&&(j=j.replace(ra,k)),a.data===j&&(h+=(/\?/.test(h)?"&":"?")+a.jsonp+"="+i)));a.url=h;a.data=j;f[i]=function(a){g=[a]};e.always(function(){f[i]=d;if(g&&c.isFunction(d))f[i](g[0])});a.converters["script json"]=function(){g||c.error(i+" was not called");return g[0]};a.dataTypes[0]="json";return"script"}});c.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},
converters:{"text script":function(a){c.globalEval(a);return a}}});c.ajaxPrefilter("script",function(a){if(a.cache===m)a.cache=false;if(a.crossDomain)a.type="GET",a.global=false});c.ajaxTransport("script",function(a){if(a.crossDomain){var b,c=r.head||r.getElementsByTagName("head")[0]||r.documentElement;return{send:function(g,i){b=r.createElement("script");b.async="async";if(a.scriptCharset)b.charset=a.scriptCharset;b.src=a.url;b.onload=b.onreadystatechange=function(a,g){if(g||!b.readyState||/loaded|complete/.test(b.readyState))b.onload=
b.onreadystatechange=null,c&&b.parentNode&&c.removeChild(b),b=m,g||i(200,"success")};c.insertBefore(b,c.firstChild)},abort:function(){if(b)b.onload(0,1)}}}});var za=f.ActiveXObject?function(){for(var a in ma)ma[a](0,1)}:false,Bb=0,ma;c.ajaxSettings.xhr=f.ActiveXObject?function(){var a;if(!(a=!this.isLocal&&t()))a:{try{a=new f.ActiveXObject("Microsoft.XMLHTTP");break a}catch(b){}a=void 0}return a}:t;(function(a){c.extend(c.support,{ajax:!!a,cors:!!a&&"withCredentials"in a})})(c.ajaxSettings.xhr());
c.support.ajax&&c.ajaxTransport(function(a){if(!a.crossDomain||c.support.cors){var b;return{send:function(e,g){var i=a.xhr(),d,h;a.username?i.open(a.type,a.url,a.async,a.username,a.password):i.open(a.type,a.url,a.async);if(a.xhrFields)for(h in a.xhrFields)i[h]=a.xhrFields[h];a.mimeType&&i.overrideMimeType&&i.overrideMimeType(a.mimeType);!a.crossDomain&&!e["X-Requested-With"]&&(e["X-Requested-With"]="XMLHttpRequest");try{for(h in e)i.setRequestHeader(h,e[h])}catch(j){}i.send(a.hasContent&&a.data||
null);b=function(e,f){var h,j,k,l,F;try{if(b&&(f||i.readyState===4)){b=m;if(d)i.onreadystatechange=c.noop,za&&delete ma[d];if(f)i.readyState!==4&&i.abort();else{h=i.status;k=i.getAllResponseHeaders();l={};if((F=i.responseXML)&&F.documentElement)l.xml=F;l.text=i.responseText;try{j=i.statusText}catch(p){j=""}!h&&a.isLocal&&!a.crossDomain?h=l.text?200:404:h===1223&&(h=204)}}}catch(o){f||g(-1,o)}l&&g(h,j,l,k)};!a.async||i.readyState===4?b():(d=++Bb,za&&(ma||(ma={},c(f).unload(za)),ma[d]=b),i.onreadystatechange=
b)},abort:function(){b&&b(0,1)}}}});var va={},ba,ja,Cb=/^(?:toggle|show|hide)$/,Db=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,sa,Ba=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],pa;c.fn.extend({show:function(a,b,e){if(a||a===0)return this.animate(Y("show",3),a,b,e);else{for(var e=0,g=this.length;e<g;e++)if(a=this[e],a.style){b=a.style.display;if(!c._data(a,"olddisplay")&&b==="none")b=a.style.display="";b===
""&&c.css(a,"display")==="none"&&c._data(a,"olddisplay",o(a.nodeName))}for(e=0;e<g;e++)if(a=this[e],a.style&&(b=a.style.display,b===""||b==="none"))a.style.display=c._data(a,"olddisplay")||"";return this}},hide:function(a,b,e){if(a||a===0)return this.animate(Y("hide",3),a,b,e);else{a=0;for(b=this.length;a<b;a++)this[a].style&&(e=c.css(this[a],"display"),e!=="none"&&!c._data(this[a],"olddisplay")&&c._data(this[a],"olddisplay",e));for(a=0;a<b;a++)if(this[a].style)this[a].style.display="none";return this}},
_toggle:c.fn.toggle,toggle:function(a,b,e){var g=typeof a==="boolean";c.isFunction(a)&&c.isFunction(b)?this._toggle.apply(this,arguments):a==null||g?this.each(function(){var b=g?a:c(this).is(":hidden");c(this)[b?"show":"hide"]()}):this.animate(Y("toggle",3),a,b,e);return this},fadeTo:function(a,b,c,g){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,c,g)},animate:function(a,b,e,g){var i=c.speed(b,e,g);if(c.isEmptyObject(a))return this.each(i.complete,[false]);a=c.extend({},
a);return this[i.queue===false?"each":"queue"](function(){var n;i.queue===false&&c._mark(this);var b=c.extend({},i),e=this.nodeType===1,g=e&&c(this).is(":hidden"),d,f,h,j,k;b.animatedProperties={};for(h in a){d=c.camelCase(h);h!==d&&(a[d]=a[h],delete a[h]);f=a[d];c.isArray(f)?(b.animatedProperties[d]=f[1],n=a[d]=f[0],f=n):b.animatedProperties[d]=b.specialEasing&&b.specialEasing[d]||b.easing||"swing";if(f==="hide"&&g||f==="show"&&!g)return b.complete.call(this);if(e&&(d==="height"||d==="width"))if(b.overflow=
[this.style.overflow,this.style.overflowX,this.style.overflowY],c.css(this,"display")==="inline"&&c.css(this,"float")==="none")c.support.inlineBlockNeedsLayout?(f=o(this.nodeName),f==="inline"?this.style.display="inline-block":(this.style.display="inline",this.style.zoom=1)):this.style.display="inline-block"}if(b.overflow!=null)this.style.overflow="hidden";for(h in a)if(e=new c.fx(this,b,h),f=a[h],Cb.test(f))e[f==="toggle"?g?"show":"hide":f]();else d=Db.exec(f),j=e.cur(),d?(f=parseFloat(d[2]),k=d[3]||
(c.cssNumber[h]?"":"px"),k!=="px"&&(c.style(this,h,(f||1)+k),j*=(f||1)/e.cur(),c.style(this,h,j+k)),d[1]&&(f=(d[1]==="-="?-1:1)*f+j),e.custom(j,f,k)):e.custom(j,f,"");return true})},stop:function(a,b){a&&this.queue([]);this.each(function(){var a=c.timers,g=a.length;for(b||c._unmark(true,this);g--;)if(a[g].elem===this){if(b)a[g](true);a.splice(g,1)}});b||this.dequeue();return this}});c.each({slideDown:Y("show",1),slideUp:Y("hide",1),slideToggle:Y("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},
fadeToggle:{opacity:"toggle"}},function(a,b){c.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}});c.extend({speed:function(a,b,e){var g=a&&typeof a==="object"?c.extend({},a):{complete:e||!e&&b||c.isFunction(a)&&a,duration:a,easing:e&&b||b&&!c.isFunction(b)&&b};g.duration=c.fx.off?0:typeof g.duration==="number"?g.duration:g.duration in c.fx.speeds?c.fx.speeds[g.duration]:c.fx.speeds._default;g.old=g.complete;g.complete=function(a){c.isFunction(g.old)&&g.old.call(this);g.queue!==false?c.dequeue(this):
a!==false&&c._unmark(this)};return g},easing:{linear:function(a,b,c,g){return c+g*a},swing:function(a,b,c,g){return(-Math.cos(a*Math.PI)/2+0.5)*g+c}},timers:[],fx:function(a,b,c){this.options=b;this.elem=a;this.prop=c;b.orig=b.orig||{}}});c.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(c.fx.step[this.prop]||c.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];
var a,b=c.css(this.elem,this.prop);return isNaN(a=parseFloat(b))?!b||b==="auto"?0:b:a},custom:function(a,b,e){function g(a){return d.step(a)}var d=this,f=c.fx;this.startTime=pa||E();this.start=a;this.end=b;this.unit=e||this.unit||(c.cssNumber[this.prop]?"":"px");this.now=this.start;this.pos=this.state=0;g.elem=this.elem;g()&&c.timers.push(g)&&!sa&&(sa=setInterval(f.tick,f.interval))},show:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop===
"width"||this.prop==="height"?1:0,this.cur());c(this.elem).show()},hide:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(a){var b=pa||E(),e=true,g=this.elem,d=this.options,f;if(a||b>=d.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();d.animatedProperties[this.prop]=true;for(f in d.animatedProperties)d.animatedProperties[f]!==true&&(e=false);if(e){d.overflow!=null&&!c.support.shrinkWrapBlocks&&
c.each(["","X","Y"],function(a,b){g.style["overflow"+b]=d.overflow[a]});d.hide&&c(g).hide();if(d.hide||d.show)for(var h in d.animatedProperties)c.style(g,h,d.orig[h]);d.complete.call(g)}return false}else d.duration==Infinity?this.now=b:(a=b-this.startTime,this.state=a/d.duration,this.pos=c.easing[d.animatedProperties[this.prop]](this.state,a,0,1,d.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update();return true}};c.extend(c.fx,{tick:function(){for(var a=c.timers,b=0;b<a.length;++b)a[b]()||
a.splice(b--,1);a.length||c.fx.stop()},interval:13,stop:function(){clearInterval(sa);sa=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){c.style(a.elem,"opacity",a.now)},_default:function(a){a.elem.style&&a.elem.style[a.prop]!=null?a.elem.style[a.prop]=(a.prop==="width"||a.prop==="height"?Math.max(0,a.now):a.now)+a.unit:a.elem[a.prop]=a.now}}});if(c.expr&&c.expr.filters)c.expr.filters.animated=function(a){return c.grep(c.timers,function(b){return a===b.elem}).length};var Eb=
/^t(?:able|d|h)$/i,Sa=/^(?:body|html)$/i;c.fn.offset="getBoundingClientRect"in r.documentElement?function(a){var b=this[0],e;if(a)return this.each(function(b){c.offset.setOffset(this,a,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);try{e=b.getBoundingClientRect()}catch(g){}var d=b.ownerDocument,f=d.documentElement;if(!e||!c.contains(f,b))return e?{top:e.top,left:e.left}:{top:0,left:0};b=d.body;d=I(d);return{top:e.top+(d.pageYOffset||c.support.boxModel&&
f.scrollTop||b.scrollTop)-(f.clientTop||b.clientTop||0),left:e.left+(d.pageXOffset||c.support.boxModel&&f.scrollLeft||b.scrollLeft)-(f.clientLeft||b.clientLeft||0)}}:function(a){var b=this[0];if(a)return this.each(function(b){c.offset.setOffset(this,a,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);c.offset.initialize();var e,g=b.offsetParent,d=b.ownerDocument,f=d.documentElement,h=d.body;e=(d=d.defaultView)?d.getComputedStyle(b,null):b.currentStyle;
for(var j=b.offsetTop,k=b.offsetLeft;(b=b.parentNode)&&b!==h&&b!==f;){if(c.offset.supportsFixedPosition&&e.position==="fixed")break;e=d?d.getComputedStyle(b,null):b.currentStyle;j-=b.scrollTop;k-=b.scrollLeft;if(b===g){j+=b.offsetTop;k+=b.offsetLeft;if(c.offset.doesNotAddBorder&&(!c.offset.doesAddBorderForTableAndCells||!Eb.test(b.nodeName)))j+=parseFloat(e.borderTopWidth)||0,k+=parseFloat(e.borderLeftWidth)||0;g=b.offsetParent}c.offset.subtractsBorderForOverflowNotVisible&&e.overflow!=="visible"&&
(j+=parseFloat(e.borderTopWidth)||0,k+=parseFloat(e.borderLeftWidth)||0)}if(e.position==="relative"||e.position==="static")j+=h.offsetTop,k+=h.offsetLeft;c.offset.supportsFixedPosition&&e.position==="fixed"&&(j+=Math.max(f.scrollTop,h.scrollTop),k+=Math.max(f.scrollLeft,h.scrollLeft));return{top:j,left:k}};c.offset={initialize:function(){var a=r.body,b=r.createElement("div"),e,g,d,f=parseFloat(c.css(a,"marginTop"))||0;c.extend(b.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",
height:"1px",visibility:"hidden"});b.innerHTML="<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";a.insertBefore(b,a.firstChild);e=b.firstChild;g=e.firstChild;d=e.nextSibling.firstChild.firstChild;this.doesNotAddBorder=g.offsetTop!==5;this.doesAddBorderForTableAndCells=
d.offsetTop===5;g.style.position="fixed";g.style.top="20px";this.supportsFixedPosition=g.offsetTop===20||g.offsetTop===15;g.style.position=g.style.top="";e.style.overflow="hidden";e.style.position="relative";this.subtractsBorderForOverflowNotVisible=g.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==f;a.removeChild(b);c.offset.initialize=c.noop},bodyOffset:function(a){var b=a.offsetTop,e=a.offsetLeft;c.offset.initialize();c.offset.doesNotIncludeMarginInBodyOffset&&(b+=parseFloat(c.css(a,
"marginTop"))||0,e+=parseFloat(c.css(a,"marginLeft"))||0);return{top:b,left:e}},setOffset:function(a,b,e){var g=c.css(a,"position");if(g==="static")a.style.position="relative";var d=c(a),f=d.offset(),h=c.css(a,"top"),j=c.css(a,"left"),k={},l={};(g==="absolute"||g==="fixed")&&c.inArray("auto",[h,j])>-1?(l=d.position(),g=l.top,j=l.left):(g=parseFloat(h)||0,j=parseFloat(j)||0);c.isFunction(b)&&(b=b.call(a,e,f));if(b.top!=null)k.top=b.top-f.top+g;if(b.left!=null)k.left=b.left-f.left+j;"using"in b?b.using.call(a,
k):d.css(k)}};c.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),e=this.offset(),g=Sa.test(b[0].nodeName)?{top:0,left:0}:b.offset();e.top-=parseFloat(c.css(a,"marginTop"))||0;e.left-=parseFloat(c.css(a,"marginLeft"))||0;g.top+=parseFloat(c.css(b[0],"borderTopWidth"))||0;g.left+=parseFloat(c.css(b[0],"borderLeftWidth"))||0;return{top:e.top-g.top,left:e.left-g.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||r.body;a&&!Sa.test(a.nodeName)&&
c.css(a,"position")==="static";)a=a.offsetParent;return a})}});c.each(["Left","Top"],function(a,b){var e="scroll"+b;c.fn[e]=function(b){var d,f;if(b===m){d=this[0];return!d?null:(f=I(d))?"pageXOffset"in f?f[a?"pageYOffset":"pageXOffset"]:c.support.boxModel&&f.document.documentElement[e]||f.document.body[e]:d[e]}return this.each(function(){(f=I(this))?f.scrollTo(!a?b:c(f).scrollLeft(),a?b:c(f).scrollTop()):this[e]=b})}});c.each(["Height","Width"],function(a,b){var e=b.toLowerCase();c.fn["inner"+b]=
function(){var a=this[0];return a&&a.style?parseFloat(c.css(a,e,"padding")):null};c.fn["outer"+b]=function(a){var b=this[0];return b&&b.style?parseFloat(c.css(b,e,a?"margin":"border")):null};c.fn[e]=function(a){var d=this[0];if(!d)return a==null?null:this;if(c.isFunction(a))return this.each(function(b){var d=c(this);d[e](a.call(this,b,d[e]()))});if(c.isWindow(d)){var f=d.document.documentElement["client"+b],h=d.document.body;return d.document.compatMode==="CSS1Compat"&&f||h&&h["client"+b]||f}else return d.nodeType===
9?Math.max(d.documentElement["client"+b],d.body["scroll"+b],d.documentElement["scroll"+b],d.body["offset"+b],d.documentElement["offset"+b]):a===m?(d=c.css(d,e),f=parseFloat(d),c.isNaN(f)?d:f):this.css(e,typeof a==="string"?a:a+"px")}});f.jQuery=f.$=c})(window);
(function(f,m){function G(d,h){var k=d.nodeName.toLowerCase();if("area"===k){var k=d.parentNode,j=k.name;if(!d.href||!j||k.nodeName.toLowerCase()!=="map")return false;k=f("img[usemap=#"+j+"]")[0];return!!k&&l(k)}return(/input|select|textarea|button|object/.test(k)?!d.disabled:"a"==k?d.href||h:h)&&l(d)}function l(d){return!f(d).parents().andSelf().filter(function(){return f.curCSS(this,"visibility")==="hidden"||f.expr.filters.hidden(this)}).length}f.ui=f.ui||{};f.ui.version||(f.extend(f.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}}),f.fn.extend({propAttr:f.fn.prop||f.fn.attr,_focus:f.fn.focus,focus:function(d,h){return typeof d==="number"?this.each(function(){var k=
this;setTimeout(function(){f(k).focus();h&&h.call(k)},d)}):this._focus.apply(this,arguments)},scrollParent:function(){var d;d=f.browser.msie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(f.curCSS(this,"position",1))&&/(auto|scroll)/.test(f.curCSS(this,"overflow",1)+f.curCSS(this,"overflow-y",1)+f.curCSS(this,"overflow-x",1))}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(f.curCSS(this,
"overflow",1)+f.curCSS(this,"overflow-y",1)+f.curCSS(this,"overflow-x",1))}).eq(0);return/fixed/.test(this.css("position"))||!d.length?f(document):d},zIndex:function(d){if(d!==m)return this.css("zIndex",d);if(this.length)for(var d=f(this[0]),h;d.length&&d[0]!==document;){h=d.css("position");if(h==="absolute"||h==="relative"||h==="fixed")if(h=parseInt(d.css("zIndex"),10),!isNaN(h)&&h!==0)return h;d=d.parent()}return 0},disableSelection:function(){return this.bind((f.support.selectstart?"selectstart":
"mousedown")+".ui-disableSelection",function(d){d.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}}),f.each(["Width","Height"],function(d,h){function k(d,h,k,l){f.each(j,function(){h-=parseFloat(f.curCSS(d,"padding"+this,true))||0;k&&(h-=parseFloat(f.curCSS(d,"border"+this+"Width",true))||0);l&&(h-=parseFloat(f.curCSS(d,"margin"+this,true))||0)});return h}var j=h==="Width"?["Left","Right"]:["Top","Bottom"],l=h.toLowerCase(),y={innerWidth:f.fn.innerWidth,innerHeight:f.fn.innerHeight,
outerWidth:f.fn.outerWidth,outerHeight:f.fn.outerHeight};f.fn["inner"+h]=function(d){return d===m?y["inner"+h].call(this):this.each(function(){f(this).css(l,k(this,d)+"px")})};f.fn["outer"+h]=function(d,j){return typeof d!=="number"?y["outer"+h].call(this,d):this.each(function(){f(this).css(l,k(this,d,true,j)+"px")})}}),f.extend(f.expr[":"],{data:function(d,h,k){return!!f.data(d,k[3])},focusable:function(d){return G(d,!isNaN(f.attr(d,"tabindex")))},tabbable:function(d){var h=f.attr(d,"tabindex"),
k=isNaN(h);return(k||h>=0)&&G(d,!k)}}),f(function(){var d=document.body,h=d.appendChild(h=document.createElement("div"));f.extend(h.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0});f.support.minHeight=h.offsetHeight===100;f.support.selectstart="onselectstart"in h;d.removeChild(h).style.display="none"}),f.extend(f.ui,{plugin:{add:function(d,h,k){var d=f.ui[d].prototype,j;for(j in k)d.plugins[j]=d.plugins[j]||[],d.plugins[j].push([h,k[j]])},call:function(d,f,k){if((f=d.plugins[f])&&
d.element[0].parentNode)for(var j=0;j<f.length;j++)d.options[f[j][0]]&&f[j][1].apply(d.element,k)}},contains:function(d,f){return document.compareDocumentPosition?d.compareDocumentPosition(f)&16:d!==f&&d.contains(f)},hasScroll:function(d,h){if(f(d).css("overflow")==="hidden")return false;var k=h&&h==="left"?"scrollLeft":"scrollTop",j=false;if(d[k]>0)return true;d[k]=1;j=d[k]>0;d[k]=0;return j},isOverAxis:function(d,f,k){return d>f&&d<f+k},isOver:function(d,h,k,j,l,m){return f.ui.isOverAxis(d,k,l)&&
f.ui.isOverAxis(h,j,m)}}))})(jQuery);
(function(f,m){if(f.cleanData){var G=f.cleanData;f.cleanData=function(d){for(var h=0,k;(k=d[h])!=null;h++)try{f(k).triggerHandler("remove")}catch(j){}G(d)}}else{var l=f.fn.remove;f.fn.remove=function(d,h){return this.each(function(){h||(!d||f.filter(d,[this]).length)&&f("*",this).add([this]).each(function(){try{f(this).triggerHandler("remove")}catch(d){}});return l.call(f(this),d,h)})}}f.widget=function(d,h,k){var j=d.split(".")[0],l,d=d.split(".")[1];l=j+"-"+d;if(!k)k=h,h=f.Widget;f.expr[":"][l]=
function(h){return!!f.data(h,d)};f[j]=f[j]||{};f[j][d]=function(d,f){arguments.length&&this._createWidget(d,f)};h=new h;h.options=f.extend(true,{},h.options);f[j][d].prototype=f.extend(true,h,{namespace:j,widgetName:d,widgetEventPrefix:f[j][d].prototype.widgetEventPrefix||d,widgetBaseClass:l},k);f.widget.bridge(d,f[j][d])};f.widget.bridge=function(d,h){f.fn[d]=function(k){var j=typeof k==="string",l=Array.prototype.slice.call(arguments,1),y=this,k=!j&&l.length?f.extend.apply(null,[true,k].concat(l)):
k;if(j&&k.charAt(0)==="_")return y;j?this.each(function(){var h=f.data(this,d),j=h&&f.isFunction(h[k])?h[k].apply(h,l):h;if(j!==h&&j!==m)return y=j,false}):this.each(function(){var j=f.data(this,d);j?j.option(k||{})._init():f.data(this,d,new h(k,this))});return y}};f.Widget=function(d,f){arguments.length&&this._createWidget(d,f)};f.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:false},_createWidget:function(d,h){f.data(h,this.widgetName,this);this.element=f(h);this.options=
f.extend(true,{},this.options,this._getCreateOptions(),d);var k=this;this.element.bind("remove."+this.widgetName,function(){k.destroy()});this._create();this._trigger("create");this._init()},_getCreateOptions:function(){return f.metadata&&f.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(d,h){var k=d;if(arguments.length===0)return f.extend({},this.options);if(typeof d==="string"){if(h===m)return this.options[d];k={};k[d]=h}this._setOptions(k);return this},_setOptions:function(d){var h=this;f.each(d,function(d,f){h._setOption(d,f)});return this},_setOption:function(d,f){this.options[d]=f;d==="disabled"&&this.widget()[f?"addClass":"removeClass"](this.widgetBaseClass+"-disabled ui-state-disabled").attr("aria-disabled",
f);return this},enable:function(){return this._setOption("disabled",false)},disable:function(){return this._setOption("disabled",true)},_trigger:function(d,h,k){var j=this.options[d],h=f.Event(h);h.type=(d===this.widgetEventPrefix?d:this.widgetEventPrefix+d).toLowerCase();k=k||{};if(h.originalEvent)for(var d=f.event.props.length,l;d;)l=f.event.props[--d],h[l]=h.originalEvent[l];this.element.trigger(h,k);return!(f.isFunction(j)&&j.call(this.element[0],h,k)===false||h.isDefaultPrevented())}}})(jQuery);
(function(f){function m(){var f=[],d=[],h=0,k=0,j=0,m=[];this.out=[];this.wShort=function(d){this.write([d&255,d>>8&255])};this.wInt=function(d){this.write([d&255,d>>8&255,d>>16&255,d>>24&255])};this.write=function(y){var u,p=y.length,q;for(q=0;q<p;++q){u=y[q];switch(h){case 0:d[0]=u&255;j=(d[0]&252)>>2;f[0]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="[j];j=(d[0]&3)<<4;break;case 1:d[1]=u&255;j+=(d[1]&240)>>4;f[1]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="[j];
j=(d[1]&15)<<2;break;case 2:d[2]=u&255,j+=(d[2]&192)>>6,f[2]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="[j],j=u&63,f[3]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="[j]}h=(h+1)%3;if(h==0){u=(k+4)%500;m.push(f.join(""));f=[];if(u==0||u<k)this.out.push(m.join("")),m=[];k=u}}};this.flush=function(){h>0&&(h==1&&(f[1]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="[j]),h<=2&&(f[2]=f[3]="="),m.push(f.join("")));this.out.push(m.join(""))}}
var G=new Image;G.src="data:image/gif;base64,R0lGODlhAQABAIABAP///wAAACwAAAAAAQABAAACAkQBADs=";f.widget("apm.apmfeedbackdialog",{options:{closeOnEscape:true,parentNode:null,closeTitle:"Cancel",buttonText:"Send",poweredBy:"powered by",enableLogoLinkToHomepage:true,dialogTitle:"Send Feedback",dialogText:"Let us know your feedback:",filesTitle:"You can attach the following files to your feedback:",metadataTitle:"Your feedback will include the following information:",dialogTextMinLength:0,dialogTextMaxLength:1E3,
dialogTextTooShort:"The feedback you entered is too short.",description:"",html2canvas:null,enableHTML5Screenshot:true,HTML5ScreenshotPreview:"Preview",HTML5ScreenshotLoading:"loading in progress...",HTML5ScreenshotLabel:"Web Browser Screenshot",HTML5ScreenshotPreviewUnavailable:"N/A",HTML5ScreenshotClosePreviewTitle:"Close",HTML5ScreenshotLoadingTimeout:3E4,h2cProxy:"",imagePath:null,fields:[],files:[],infos:[],_html2canvasPreloadFunctions:null},_create:function(){var l=this,d=l.options,h,k=f(window),
j,C,y,u=d.html2canvas;C=d.imagePath;var p,q=false;try{p=navigator.userAgent,q="createTouch"in document,!q&&navigator&&navigator.userAgent&&(q=p.match(/(iPhone|iPod|iPad|BlackBerry|Android)/))}catch(J){q=false}d.enableHTML5Screenshot&&u&&(j={previewLabel:d.HTML5ScreenshotPreview,previewCallback:function(){var h=j.getContent(),k,m,p=f(document.body),q;if(h)m=p.css("overflow"),p.css("overflow","hidden"),k=f('<div id="apm-feedback-dialog-preview-overlay"><strong></strong></div>'),k.find("strong").append(f('<span class="preview-text"></span>').text(d.HTML5ScreenshotPreview)).append(f('<span id="apm-feedback-dialog-screenshot-preview-filename"></span>').text('"'+
this.label+'"')).append(f('<button class="button-3d" id="apm-feedback-dialog-close-preview"></button>').append('<span class="apm-feedback-icon apm-button-icon apm-ic-cancel"></span>').append(f('<span class="apm-feedback-dialog-button-text"></span>').text(d.HTML5ScreenshotClosePreviewTitle)).bind("click",function(d){k.remove();p.css("overflow",m);d.preventDefault()})),(q=this.imageData)?(k.append("<div><canvas></canvas></div>").appendTo(l.$container),h=k.find("canvas").eq(0).attr({width:q.width,height:q.height})[0].getContext("2d"),
h.putImageData(q,0,0,q.width,q.height)):(k.append("<div><img /></div>").appendTo(l.$container),k.find("img").eq(0).attr("src",h))},getContent:function(){return this.data},filename:"screenshot.jpg",name:"html5screenshot",mimeType:"image/jpeg",label:d.HTML5ScreenshotLabel,checked:true,html5screenshot:true},function(){try{var d=document.createElement("canvas"),f,h;d.height=d.width=10;f=d.getContext("2d");f.fillStyle="#fff";f.fillRect(0,0,10,10);y=(h=d.toDataURL(j.mimeType))&&/^data:image\/(png|jpeg);base64,/.test(h);
y||(h=d.toDataURL(),y=!!h);if(y&&/^data:image\/png;base64,/.test(h))j.filename="screenshot.png",j.mimeType="image/png";y&&(f.drawImage(G,0,0),y=(h=d.toDataURL(j.mimeType))&&/^data:image\/(png|jpeg);base64,/.test(h));if(!y&&h==="data:,")j.filename="screenshot.tiff",j.mimeType="image/tiff",y=true}catch(k){y=false}}(),true===y&&(window.setTimeout(function(){d._html2canvasPreloadFunctions=u.Preload(document.documentElement,{complete:function(h){var k,p,q;l.$container&&(p=l.$container.parent(),l.$container.detach());
try{k=u.Parse(document.documentElement,h)}catch(v){}l.$container&&l.$container.appendTo(p);var C={renderer:"canvas"};window.setTimeout(function(){try{var h=u.Renderer(k,C),l;if(j.mimeType==="image/tiff"){l=h.getContext("2d");j.imageData=l.getImageData(0,0,h.width,h.height);var p,v=j.imageData,o=new m,y=v.data;o.out.push("data:image/tiff;base64,");o.write([73,73]);o.wShort(42);o.wInt(8);o.wShort(13);o.wShort(256);o.wShort(3);o.wInt(1);o.wInt(v.width);o.wShort(257);o.wShort(3);o.wInt(1);o.wInt(v.height);
o.wShort(258);o.wShort(3);o.wInt(4);o.wInt(170);o.wShort(259);o.wShort(3);o.wInt(1);o.wInt(1);o.wShort(262);o.wShort(3);o.wInt(1);o.wInt(2);o.wShort(273);o.wShort(4);o.wInt(1);o.wInt(194);o.wShort(277);o.wShort(3);o.wInt(1);o.wInt(4);o.wShort(278);o.wShort(3);o.wInt(1);o.wInt(v.height);o.wShort(279);o.wShort(4);o.wInt(1);o.wInt(v.width*v.height*4);o.wShort(282);o.wShort(5);o.wInt(1);o.wInt(178);o.wShort(283);o.wShort(5);o.wInt(1);o.wInt(186);o.wShort(296);o.wShort(3);o.wInt(1);o.wInt(2);o.wShort(338);
o.wShort(3);o.wInt(1);o.wInt(2);o.wInt(0);o.wShort(8);o.wShort(8);o.wShort(8);o.wShort(8);o.wInt(72E4);o.wInt(1E4);o.wInt(72E4);o.wInt(1E4);o.write(y);o.flush();p=o.out.join("");j.data=p}else j.data=h.toDataURL(j.mimeType);f("#apm-feedback-dialog-content").find('.apm-dialog-row > div.html5screenshot > a[href="#preview"]').text(d.HTML5ScreenshotPreview);f("#apm-feedback-dialog-content").find(".apm-dialog-row > div.html5screenshot input:not(:checked)").click()}catch(r){}j.data||(f("#apm-feedback-dialog-content").find('.apm-dialog-row > div.html5screenshot > a[href="#preview"]').text(d.HTML5ScreenshotPreviewUnavailable),
f("#apm-feedback-dialog-content").find(".apm-dialog-row > div.html5screenshot input:checked").click());(q=d._html2canvasPreloadFunctions)&&q.renderingDone&&typeof q.renderingDone==="function"&&q.renderingDone()},10)},proxy:d.h2cProxy,timeout:d.HTML5ScreenshotLoadingTimeout})},10),d.files.push(j)));if(C){l.$style=f('<style type="text/css"></style>');p='#apm-feedback-container #apm-feedback-dialog { background-image: url("'+C+'apm-feedback-dialog-background.jpg"); }\n';p+='.apm-feedback-icon, #apm-feedback-container .apm-feedback-icon { background-image: url("'+
C+'apm-feedback-icons.png"); }\n';p+='#apm-feedback-container .apm-button-icon { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="'+C+'apm-feedback-icons.png", sizingMethod="crop" ); }\n';p+='#apm-feedback-container .apm-dialog-header .apm-productlogo { background-image: url("'+C+'apm-feedback-icons.png"); }\n';p+='#apm-feedback-container:not(.touchdevice) label.apm-checklabel > input + span.apm-checkicon { background-image: url("'+C+'apm-feedback-icons.png"); }\n';p+='@media all and (max-width:720px) { #apm-feedback-container #apm-feedback-dialog { background-image: url("'+
C+'apm-feedback-dialog-background-phone.jpg"); } } \n';try{l.$style.text(p)}catch(K){if(l.$style[0].styleSheet)l.$style[0].styleSheet.cssText=p}l.$style.appendTo(document.body)}C=l.$container=f('<div id="apm-feedback-container"></div>');h=l.$dlg=f('<div id="apm-feedback-dialog"></div>').append(f('<div id="apm-feedback-dialog-content"></div>').append(l._generateDialogHeader()).append(f('<div class="apm-feedback-body"></div>').append(l._generateFields()).append(l._generateTextarea()).append(l._generateFilelist()).append(l._generatePropertyList()).append('<div class="apm-dialog-clearfix"></div>'))).append(l._generateDialogFooter()).appendTo(C);
q&&C.addClass("touchdevice");C.appendTo(d.parentNode?d.parentNode:document.body);y&&f("#apm-feedback-dialog-content").find('.apm-dialog-row > div.html5screenshot > a[href="#preview"]').text(d.HTML5ScreenshotLoading);try{document.compatMode!=="CSS1Compat"&&h.width(700)}catch(B){}h.bind("keypress.apm-feedback-dialog",function(d){if(d.keyCode===f.ui.keyCode.TAB){var h=f(":tabbable",this),j=h.filter(":first"),h=h.filter(":last");if(d.target===h[0]&&!d.shiftKey)return j.focus(1),false;else if(d.target===
j[0]&&d.shiftKey)return h.focus(1),false}});k.bind("resize.apm-feedback-dialog",function(){var d=h.offset(),j=f(document).prop("scrollTop"),l=document.body,m=f(l);h.width()>k.width()||h.outerHeight()+d.top>k.height()?(h.css({position:"absolute",top:d.top+j}),void 0===f.data(l,"apm-feedback-dialog-overflow")&&((d=m.attr("style"))&&/(overflow:|overflow-x:|overflow-y:)/i.test(d)?f.data(l,"apm-feedback-dialog-overflow",m.css("overflow")):f.data(l,"apm-feedback-dialog-overflow",""),m.css("overflow","auto"))):
void 0===f.data(l,"apm-feedback-dialog-overflow")&&(m.css("overflow","hidden"),f.data(l,"apm-feedback-dialog-overflow",""))});l._trigger("open");l.overlay=new f.apm.apmfeedbackdialog.overlay(l);l.$container.prepend(l.overlay.$el);f.browser.msie&&parseFloat(f.browser.version)<8&&h.css("position","absolute");$textarea=h.find("textarea");origHeight=h.height();$textarea.css("height",300);newHeight=300-(h.height()-origHeight);$textarea.css("height",newHeight<80?80:newHeight);q||$textarea[0].focus();l.$hidden=
[];f("iframe, object, embed").each(function(d,h){var j=f(h),k="",m;(m=j.attr("style"))&&m.indexOf("visibility")>-1&&(k=j.css("visibility"));try{j.css("visibility","hidden"),l.$hidden.push([j,k])}catch(p){}});k.triggerHandler("resize");k.bind("unload.apm-feedback-dialog",function(d){l.close(d)})},_generateDialogHeader:function(){var l=this.options,d,h;d=f('<div class="apm-dialog-header"></div>').append(h=f("<div></div>").append(f("<span></span>").text(l.poweredBy))).append(f("<strong></strong>").text(l.dialogTitle));
l.enableLogoLinkToHomepage?h.append(f('<a class="apm-productlogo" title="Fabasoft app.telemetry" href="http://www.apptelemetry.com/" target="_blank"></a>')):h.append(f('<div class="apm-productlogo" title="Fabasoft app.telemetry"></div>'));return d},_generateDialogFooter:function(){return f('<div id="apm-feedback-dialog-text-block"></div>').append(f('<button class="button-3d" id="apm-feedback-dialog-submit"></button>').append('<span class="apm-feedback-icon apm-button-icon apm-ic24-next"></span>').append(f('<span class="apm-feedback-dialog-button-text"></span>').text(this.options.buttonText)).bind("click",
f.proxy(this._submitButtonHandler,this))).append(f('<button class="button-3d" id="apm-feedback-dialog-cancel"></button>').append('<span class="apm-feedback-icon apm-button-icon apm-ic24-cancel"></span>').append(f('<span class="apm-feedback-dialog-button-text"></span>').text(this.options.closeTitle)).bind("click",f.proxy(this._closeButtonHandler,this))).append("<em>Copyright &copy; app.telemetry GmbH, Linz, Austria, 2007-2011.</em>").append('<div style="clear:both"></div>')},_generateFields:function(){var l=
this.options.fields||[],d,h="",k,j;if(l.length>0){h=f("<div></div>");for(d=0;d<l.length;++d)k=(k=typeof l[d].value==="function"?l[d].value():l[d].value)||"",j=this._getFieldIdForName("apm-field-",l[d].name),h.append(f("<label></label>").append(f("<strong></strong>").text(l[d].label||l[d].name)).append(f('<input class="apm-feedback-text" type="text" />').val(k).attr("id",j)).data("apm-metadata-obj",l[d]));h=h.children()}return h},_generateTextarea:function(){var l=this.options,d;d=f('<textarea id="apm-report-text"></textarea>');
d.val(l.description);l.dialogTextMaxLength&&d.attr("maxlength",l.dialogTextMaxLength);return f("<label></label>").append(f("<strong></strong>").text(this.options.dialogText)).append(d).data("apm-metadata-obj",{validate:function(d){return d.replace(/^\s*/,"").replace(/\s*$/,"").length<this.minlength?this.errmsg:true},minlength:l.dialogTextMinLength,errmsg:l.dialogTextTooShort})},_generateFilelist:function(){var l=this.options,d=l.files||[],h,k="",j="file";if(d.length>0){k=f('<div class="apm-dialog-row"><strong></strong></div>');
k.find("strong").text(l.filesTitle);for(h=0;h<d.length;++h)d[h].html5screenshot&&(j="html5screenshot"),l=d[h].name?' id="'+this._getFieldIdForName("apm-chk-file-",d[h].name)+'"':"",k.append(f('<div class="'+j+'"><a href="#preview"></a><label class="apm-checklabel"><input type="checkbox"'+l+" /></label></div>").data("apm-metadata-obj",d[h]).find("a").text(d[h].previewLabel).bind("click",this._filePreviewHandler).each(function(){(!d[h].previewCallback||!d[h].previewLabel)&&f(this).hide()}).end().find("label").append('<span class="apm-checkicon"></span>').append(f("<span></span>").text(d[h].label)).find("input")[d[h].checked&&
!d[h].html5screenshot?"attr":"removeAttr"]("checked","checked").end().end())}return k},_generatePropertyList:function(){var l=this.options,d=l.infos||[],h,k="",j,m=0;if(d.length>0){k=f("<ul></ul>");for(h=0;h<d.length;++h)d[h].hidden||(j=typeof d[h].value==="function"?d[h].value():d[h].value,k.append(f("<li></li>").append(f("<em></em>").text(d[h].label||d[h].name).attr("title",d[h].label||d[h].name)).append(" ").append(f("<span></span>").text(j).attr("title",j))),m++);m>0&&(k=f("<strong></strong>").text(l.metadataTitle).add(k))}return k},
_closeButtonHandler:function(f){var d;(d=this.options._html2canvasPreloadFunctions)&&d.cleanupDOM&&typeof d.cleanupDOM==="function"&&window.setTimeout(function(){d.cleanupDOM("dialog closed")},10);this._trigger("cancel",f,this._extractData());this.close(f);return false},_filePreviewHandler:function(){var l=f(this).parent().data("apm-metadata-obj");l&&l.previewCallback&&l.previewCallback(l.filename,l);return false},_submitButtonHandler:function(f){var d=this._extractData();false===d.failed&&false!==
this._trigger("submit",f,d)&&this.close(f);return false},_extractData:function(){var l={fields:[],files:[],failed:false},d=this.$dlg;d.find(".apm-feedback-body > label > input[type=text]").each(function(d,k){var j=f(k),m=j.parents("label:first").data("apm-metadata-obj"),y=null;m.value=j.val();m.validate?true===(y=m.validate(m.name,m.value))?(l.fields.push(m),j.removeClass("apm-feedback-dialog-state-error").parent().find(".apm-feedback-dialog-error-message").remove()):(l.failed=true,j.addClass("apm-feedback-dialog-state-error").parent().find(".apm-feedback-dialog-error-message").remove().end().append(f('<div class="apm-feedback-dialog-error-message"></div>').text(y))):
l.fields.push(m)});d.find(".apm-feedback-body > label > textarea").each(function(d,k){var j=f(k),m=j.parents("label:first").data("apm-metadata-obj"),y=null;l.description=j.val();true===(y=m.validate(l.description))?j.removeClass("apm-feedback-dialog-state-error").parent().find(".apm-feedback-dialog-error-message").remove():(l.failed=true,j.addClass("apm-feedback-dialog-state-error").parent().find(".apm-feedback-dialog-error-message").remove().end().append(f('<div class="apm-feedback-dialog-error-message"></div>').text(y)))});
d.find(".apm-dialog-row > div > label.apm-checklabel :input").each(function(d,k){var j=f(k),m=j.parents("div:first").data("apm-metadata-obj");m.checked=j.is(":checked");l.files.push(m)});l.infos=this.options.infos;return l},_getFieldIdForName:function(f,d){var h;h=d?d.replace(/[^-A-Za-z0-9_]/,""):""+Math.round(Math.random()*1E5);return f+h},destroy:function(){var l,d=document.body;l=f.data(d,"apm-feedback-dialog-overflow");void 0!==l&&null!==l&&(f.removeData(d,"apm-feedback-dialog-overflow"),f(d).css("overflow",
l));f(window).unbind(".apm-feedback-dialog");this.overlay&&this.overlay.destroy();this.$dlg.remove();this.$style&&(this.$style.remove(),delete this.$style);this.$hidden&&(f.each(this.$hidden,function(d,f){try{f[0].css("visibility",f[1])}catch(j){}}),delete this.$hidden);delete this.$dlg;this.$container.remove();delete this.$container;f.Widget.prototype.destroy.call(this)},close:function(f){if(false!==this._trigger("beforeClose",f)){if(this.overlay)this.overlay.destroy(),this.overlay=null;this.$dlg.unbind("keypress.apm-feedback-dialog");
this.$dlg.hide();this._trigger("close",f);this.element.apmfeedbackdialog("destroy");return this}}});f.extend(f.apm.apmfeedbackdialog,{version:"12.0.7",overlay:function(l){this.$el=f.apm.apmfeedbackdialog.overlay.create(l)}})})(jQuery);
(function(f){f.extend(f.apm.apmfeedbackdialog.overlay,{instances:[],oldInstances:[],maxZ:0,events:f.map("focus,mousedown,mouseup,keydown,keypress,click".split(","),function(f){return f+".apm-feedback-dialog-overlay"}).join(" "),create:function(m){this.instances.length===0&&(setTimeout(function(){f.apm.apmfeedbackdialog.overlay.instances.length&&f(document).bind(f.apm.apmfeedbackdialog.overlay.events,function(l){if(f(l.target).zIndex()<f.apm.apmfeedbackdialog.overlay.maxZ)return false})},1),f(document).bind("keydown.apm-feedback-dialog-overlay",
function(l){m.options.closeOnEscape&&!l.isDefaultPrevented()&&l.keyCode&&l.keyCode===f.ui.keyCode.ESCAPE&&(m.close(l),l.preventDefault())}),f(window).bind("resize.apm-feedback-dialog-overlay",f.apm.apmfeedbackdialog.overlay.resize));var G=(this.oldInstances.pop()||f("<div></div>").addClass("apm-feedback-dialog-overlay")).appendTo(document.body).css({width:this.width(),height:this.height()});this.instances.push(G);return G},destroy:function(m){var G=f.inArray(m,this.instances);G!=-1&&this.oldInstances.push(this.instances.splice(G,
1)[0]);this.instances.length===0&&f([document,window]).unbind(".apm-feedback-dialog-overlay");m.remove();var l=0;f.each(this.instances,function(){l=Math.max(l,this.css("z-index"))});this.maxZ=l},height:function(){var m,G;return f.browser.msie&&f.browser.version<7?(m=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight),G=Math.max(document.documentElement.offsetHeight,document.body.offsetHeight),m<G?f(window).height()+"px":m+"px"):f(document).height()+"px"},width:function(){var m,
G;return f.browser.msie?(m=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),G=Math.max(document.documentElement.offsetWidth,document.body.offsetWidth),m<G?f(window).width()+"px":m+"px"):f(document).width()+"px"},resize:function(){var m=f([]);f.each(f.apm.apmfeedbackdialog.overlay.instances,function(){m=m.add(this)});m.css({width:0,height:0}).css({width:f.apm.apmfeedbackdialog.overlay.width(),height:f.apm.apmfeedbackdialog.overlay.height()})}});f.extend(f.apm.apmfeedbackdialog.overlay.prototype,
{destroy:function(){f.apm.apmfeedbackdialog.overlay.destroy(this.$el)}})})(jQuery);(function(f){if(window.apm&&window.apm.cache)window.apm.cache.$jq=f;if(window.__apm)window.__apm.$=f,window.__apm.fbavailable&&window.__apm.fbavailable()})(jQuery);
(function(f,m,G,l){var d={logging:false};d.log=function(f){d.logging&&m.console&&m.console.log&&m.console.log(f)};d.Util={};d.Util.backgroundImage=function(d){if(/data:image\/.*;base64,/i.test(d)||/^(-webkit|-moz|linear-gradient|-o-)/.test(d))return d;d.toLowerCase().substr(0,5)==='url("'?(d=d.substr(5),d=d.substr(0,d.length-2)):(d=d.substr(4),d=d.substr(0,d.length-1));return d};d.Util.Bounds=function(d){var f={};if(d.getBoundingClientRect)return d=d.getBoundingClientRect(),f.top=d.top,f.bottom=d.bottom||
d.top+d.height,f.left=d.left,f.width=d.width,f.height=d.height,f};d.Util.getCSS=function(d,k){return f(d).css(k)};d.Util.Extend=function(d,f){for(var j in d)d.hasOwnProperty(j)&&(f[j]=d[j]);return f};d.Util.Children=function(h){var k;try{k=f(h).contents()}catch(j){d.log("html2canvas.Util.Children failed with exception: "+j.message),k=[]}return k};d.Generate={};d.Generate.Gradient=function(f,k){function j(d){for(var f=-1,h="",j;f++<d.length;)if(j=d.charAt(f),j===")"){h+=j;B.push(h);for(h="";f++<d.length&&
d.charAt(f)!==",";);}else h+=j}var l=G.createElement("canvas"),m=l.getContext("2d"),u,p=0,q=0,J=0,K=0,B=[],X;l.width=k.width;l.height=k.height;if(u=f.match(/-webkit-linear-gradient\((.*)\)/)){X=u[1].split(",",1)[0];j(u[1].substr(X.length+2));X=X.split(" ");for(u=0;u<X.length;u+=1)switch(X[u]){case "top":K=k.height;break;case "right":p=k.width;break;case "bottom":q=k.height;break;case "left":J=k.width}}else if(u=f.match(/-webkit-gradient\(linear, (\d+)[%]{0,1} (\d+)[%]{0,1}, (\d+)[%]{0,1} (\d+)[%]{0,1}, from\((.*)\), to\((.*)\)\)/))p=
u[1]*k.width/100,q=u[2]*k.height/100,J=u[3]*k.width/100,K=u[4]*k.height/100,B.push(u[5]),B.push(u[6]);else if(u=f.match(/-moz-linear-gradient\((\d+)[%]{0,1} (\d+)[%]{0,1}, (.*)\)/))p=u[1]*k.width/100,q=u[2]*k.width/100,J=k.width-p,K=k.height-q,j(u[3]);else return;J=m.createLinearGradient(p,q,J,K);K=1/(B.length-1);for(p=0,q=B.length;p<q;p+=1)try{J.addColorStop(K*p,B[p])}catch(T){d.log([T,B[p]])}m.fillStyle=J;m.fillRect(0,0,k.width,k.height);m=new Image;m.src=l.toDataURL();return m};d.Generate.ListAlpha=
function(d){var f="",j;do j=d%26,f=String.fromCharCode(j+64)+f,d/=26;while(d*26>26);return f};d.Generate.ListRoman=function(d){var f="M,CM,D,CD,C,XC,L,XL,X,IX,V,IV,I".split(","),j=[1E3,900,500,400,100,90,50,40,10,9,5,4,1],l="",m,u=f.length;if(d<=0||d>=4E3)return d;for(m=0;m<u;m+=1)for(;d>=j[m];)d-=j[m],l+=f[m];return l};d.Parse=function(h,k,j){var C,y,u;function p(c,f,h){return h!==l&&h===true?parseInt(d.Util.getCSS(c,f),10):d.Util.getCSS(c,f)}function q(c,d,f,h,j,k){k!=="transparent"&&(c.setVariable("fillStyle",
k),c.fillRect(d,f,h,j),Y+=1)}function J(c,d){switch(d){case "lowercase":return c.toLowerCase();case "capitalize":return c.replace(/(^|\s|:|-|\(|\))([a-z])/g,function(c,d,f){if(c.length>0)return d+f.toUpperCase()});case "uppercase":return c.toUpperCase();default:return c}}function K(c){return c.replace(/^\s*/g,"").replace(/\s*$/g,"")}function B(c,f,h){var h=h.ctx,j=p(c,"fontFamily",false),k=p(c,"fontSize",false),m=p(c,"color",false),r=p(c,"textDecoration",false),v=p(c,"textAlign",false),y=p(c,"letterSpacing",
false),B,w,E=p(c,"fontWeight",false),t=p(c,"fontStyle",false),D=p(c,"fontVariant",false),C=0,x=true,A={};f.nodeValue=J(f.nodeValue,p(c,"textTransform",false));if(K(f.nodeValue).length>0){if(r!=="none")if(o[j+"-"+k]!==l)w=o[j+"-"+k];else{w=I.createElement("div");var A=I.createElement("img"),O=I.createElement("span"),T;w.style.visibility="hidden";w.style.fontFamily=j;w.style.fontSize=k;w.style.margin=0;w.style.padding=0;Z.appendChild(w);A.src="data:image/gif;base64,R0lGODlhAQABAIABAP///wAAACwAAAAAAQABAAACAkQBADs=";
A.width=1;A.height=1;A.style.margin=0;A.style.padding=0;A.style.verticalAlign="baseline";O.style.fontFamily=j;O.style.fontSize=k;O.style.margin=0;O.style.padding=0;O.appendChild(I.createTextNode("Hidden Text"));w.appendChild(O);w.appendChild(A);T=A.offsetTop-O.offsetTop+1;w.removeChild(O);w.appendChild(I.createTextNode("Hidden Text"));w.style.lineHeight="normal";A.style.verticalAlign="super";A={baseline:T,lineWidth:1,middle:A.offsetTop-w.offsetTop+1};o[j+"-"+k]=A;Z.removeChild(w);w=A}v=v.replace(["-webkit-auto"],
["auto"]);v=z.letterRendering===false&&/^(left|right|justify|auto)$/.test(v)&&/^(normal|none)$/.test(y)?f.nodeValue.split(/(\b| )/):f.nodeValue.split("");switch(parseInt(E,10)){case 401:E="bold";break;case 400:E="normal"}h.setVariable("fillStyle",m);h.setVariable("font",D+" "+E+" "+t+" "+k+" "+j);h.setVariable("textAlign","left");A=d.Util.Bounds(c);c=f;for(j=0;j<v.length;j+=1){k=null;if(u){if(r!=="none"||K(v[j]).length!==0)k=v[j],I.createRange?(B=I.createRange(),B.setStart(f,C),B.setEnd(f,C+k.length)):
B=Z.createTextRange(),B=B.getBoundingClientRect()?B.getBoundingClientRect():{};C+=v[j].length}else{if(typeof c.nodeValue!=="string")continue;E=c.splitText(v[j].length);v[j].length>0?(k=c.parentNode,t=I.createElement("wrapper"),D=c.cloneNode(true),t.appendChild(c.cloneNode(true)),k.replaceChild(t,c),B=d.Util.Bounds(t),k.replaceChild(D,t)):B={};k=c.nodeValue;c=E}if(k){x=A;E=B;if(!x||!x.width||!E||!E.width)x=true;else{if(!x.right)x.right=x.left+x.width;x=E.top>=x.top&&E.top<=x.bottom&&E.left>=x.left&&
E.left<=x.right||E.bottom>=x.top&&E.bottom<=x.bottom&&E.right>=x.left&&E.right<=x.right}if(x)E=B.left,t=B.bottom,D=h,K(k).length>0&&(D.fillText(k,E,t),Y+=1)}switch(r){case "underline":q(h,B.left,Math.round(B.top+w.baseline+w.lineWidth),B.width,1,m);break;case "overline":q(h,B.left,B.top,B.width,1,m);break;case "line-through":q(h,B.left,Math.ceil(B.top+w.middle+w.lineWidth),B.width,1,m)}if(!x)break}}}function X(c){return(c=k[c])&&c.succeeded===true?c.img:false}function T(c,d){var f=Math.max(c.left,
d.left),h=Math.max(c.top,d.top),j=Math.min(c.left+c.width,d.left+d.width),k=Math.min(c.top+c.height,d.top+d.height);return{left:f,top:h,width:j-f,height:k-h}}function O(c,f){if(!f)return this.zStack=new d.zContext(0);if(c!=="auto"){var h=new d.zContext(c);f.children.push(h);return h}return f}function V(c,d,f){var h=I.createElement("valuewrap"),j="lineHeight,textAlign,fontFamily,color,fontSize,paddingLeft,paddingTop,width,height,border,borderLeftWidth,borderTopWidth,overflow,whiteSpace".split(","),
k,l,m;for(k=0,l=j.length;k<l;k+=1)m=j[k],h.style[m]=p(c,m,false);h.style.borderColor="black";h.style.borderStyle="solid";h.style.display="block";h.style.position="absolute";if(/^(submit|reset|button|text|password)$/.test(c.type)||c.nodeName==="SELECT")h.style.lineHeight=p(c,"height",false);h.style.top=d.top+"px";h.style.left=d.left+"px";if(c.nodeName==="TEXTAREA")h.style.overflow="auto",h.style.whiteSpace="pre-wrap";d=I.createTextNode(c.nodeName==="SELECT"?c.options[c.selectedIndex].text:c.value);
h.appendChild(d);Z.appendChild(h);B(c,d,f);Z.removeChild(h)}function v(c,d,f,h,j,k,l,m){var p=0,o=0;l-f>0&&(p=l-f);m-h>0&&(o=m-h);c.drawImage(d,p,o,j-p,k-o,f+p,h+o,j-p,k-o);Y+=1}function D(c,d,f,h,j,k,l){var l=Math.min(d.height,l),m,p;f.left-=Math.ceil(f.left/d.width)*d.width;for(p=h+f.left;p<k+h;)m=Math.floor(p+d.width)>k+h?k+h-p:d.width,v(c,d,p,j+f.top,m,l,h,j),p=Math.floor(p+d.width)}function t(h,j){var k,m,o=d.Util.Bounds(h),u=o.left,B=o.top,E=o.width,t=o.height,G,w=p(h,"backgroundColor",false),
J=p(h,"position",false),U,Q=p(h,"opacity",false),L;j===l?(C=Math.max(Math.max(I.body.scrollWidth,I.documentElement.scrollWidth),Math.max(I.body.offsetWidth,I.documentElement.offsetWidth),Math.max(I.body.clientWidth,I.documentElement.clientWidth)),y=Math.max(Math.max(I.body.scrollHeight,I.documentElement.scrollHeight),Math.max(I.body.offsetHeight,I.documentElement.offsetHeight),Math.max(I.body.clientHeight,I.documentElement.clientHeight)),j={opacity:1}):(C=void 0,y=void 0);U=O(p(h,"zIndex",false),
j.zIndex);L={ctx:new d.canvasContext(C||E,y||t),zIndex:U,opacity:Q*j.opacity,cssPosition:J};if(j.clip)L.clip=d.Util.Extend({},j.clip);if(z.useOverflow===true&&/(hidden|scroll|auto)/.test(p(h,"overflow"))===true&&/(BODY)/i.test(h.nodeName)===false)L.clip=L.clip?T(L.clip,o):o;J=U.children.push(L);Q=U.children[J-1].ctx;Q.setVariable("globalAlpha",L.opacity);var x=o.left,A=o.top,P=o.width,M=o.height,R,N,Z,da,H=[];R=["Top","Right","Bottom","Left"];for(N=0;N<4;N+=1)H.push({width:p(h,"border"+R[N]+"Width",
true),color:p(h,"border"+R[N]+"Color",false)});for(R=0;R<4;R+=1)if(N=H[R],N.width>0){Z=x;da=A;k=P;m=M-H[2].width;switch(R){case 0:m=H[0].width;break;case 1:Z=x+P-H[1].width;k=H[1].width;break;case 2:da=da+M-H[2].width;m=H[2].width;break;case 3:k=H[3].width}k>0&&m>0&&q(Q,Z,da,k,m,N.color)}L.borders=H;r.test(h.nodeName)&&z.iframeDefault!=="transparent"&&(w=z.iframeDefault==="default"?"#efefef":z.iframeDefault);E={left:u+H[3].width,top:B+H[0].width,width:E-(H[1].width+H[3].width),height:t-(H[0].width+
H[2].width)};L.clip&&(E=T(E,L.clip));if(E.height>0&&E.width>0&&(q(Q,E.left,E.top,E.width,E.height,w),t=E,A=p(h,"backgroundImage",false),P=p(h,"backgroundRepeat",false).split(",")[0],!/data:image\/.*;base64,/i.test(A)&&!/^(-webkit|-moz|linear-gradient|-o-)/.test(A)&&(A=A.split(",")[0]),typeof A!=="undefined"&&/^(1|none)$/.test(A)===false))if(A=d.Util.backgroundImage(A),w=X(A),x=(p(h,"backgroundPosition").split(",")[0]||"0 0").split(" "),x.length===1&&(M=x,x=[],x[0]=M,x[1]=M),x[0].toString().indexOf("%")!==
-1?(R=parseFloat(x[0])/100,M=t.width*R-w.width*R):M=parseInt(x[0],10),x[1].toString().indexOf("%")!==-1?(R=parseFloat(x[1])/100,x=t.height*R-w.height*R):x=parseInt(x[1],10),x={top:x,left:M},w)switch(P){case "repeat-x":D(Q,w,x,t.left,t.top,t.width,t.height);break;case "repeat-y":A=t.left;P=t.top;M=t.height;R=Math.min(w.width,t.width);x.top-=Math.ceil(x.top/w.height)*w.height;for(N=P+x.top;N<M+P;)t=Math.floor(N+w.height)>M+P?M+P-N:w.height,v(Q,w,A+x.left,N,R,t,A,P),N=Math.floor(N+w.height);break;case "no-repeat":A=
t.width-x.left;N=t.height-x.top;P=x.left;M=x.top;R=x.left+t.left;x=x.top+t.top;P<0?(P=Math.abs(P),R+=P,A=Math.min(t.width,w.width-P)):(A=Math.min(A,w.width),P=0);M<0?(M=Math.abs(M),x+=M,N=Math.min(t.height,w.height-M)):(N=Math.min(N,w.height),M=0);N>0&&A>0&&(Q.drawImage(w,P,M,A,N,R,x,A,N),Y+=1);break;default:x.top-=Math.ceil(x.top/w.height)*w.height;for(A=t.top+x.top;A<t.height+t.top;)P=Math.min(w.height,t.height+t.top-A),P=Math.floor(A+w.height)>P+A?P+A-A:w.height,A<t.top?(M=t.top-A,A=t.top):M=0,
D(Q,w,x,t.left,A,t.width,P),M>0&&(x.top+=M),A=Math.floor(A+w.height)-M}else d.log("html2canvas: Error loading background:"+A);switch(h.nodeName){case "IMG":L=h.getAttribute("src");(G=X(L))?(L=p(h,"paddingLeft",true),E=p(h,"paddingTop",true),w=p(h,"paddingRight",true),t=p(h,"paddingBottom",true),Q.drawImage(G,0,0,G.width,G.height,u+L+H[3].width,B+E+H[0].width,o.width-(H[1].width+H[3].width+L+w),o.height-(H[0].width+H[2].width+E+t)),Y+=1):d.log("html2canvas: Error loading <img>:"+L);break;case "INPUT":/^(text|url|email|submit|button|reset)$/.test(h.type)&&
h.value.length>0&&V(h,o,L);break;case "TEXTAREA":h.value.length>0&&V(h,o,L);break;case "SELECT":h.options.length>0&&V(h,o,L);break;case "LI":o=E;u=p(h,"listStylePosition",false);Q=p(h,"listStyleType",false);B=p(h,"fontWeight");if(/^(decimal|decimal-leading-zero|upper-alpha|upper-latin|upper-roman|lower-alpha|lower-greek|lower-latin|lower-roman)$/i.test(Q)){H=f(h).index()+1;switch(Q){case "decimal":G=H;break;case "decimal-leading-zero":G=H.toString().length===1?"0"+H.toString():H.toString();break;
case "upper-roman":G=d.Generate.ListRoman(H);break;case "lower-roman":G=d.Generate.ListRoman(H).toLowerCase();break;case "lower-alpha":G=d.Generate.ListAlpha(H).toLowerCase();break;case "upper-alpha":G=d.Generate.ListAlpha(H)}G+=". ";L=G;Q=I.createElement("boundelement");Q.style.display="inline";H=h.style.listStyleType;h.style.listStyleType="none";Q.appendChild(I.createTextNode(L));h.insertBefore(Q,h.firstChild);L=d.Util.Bounds(Q);h.removeChild(Q);h.style.listStyleType=H;switch(B){case 401:B="bold";
break;case 400:B="normal"}c.setVariable("fillStyle",p(h,"color",false));c.setVariable("font",p(h,"fontVariant",false)+" "+B+" "+p(h,"fontStyle",false)+" "+p(h,"fontFize",false)+" "+p(h,"fontFamily",false));if(u==="inside")c.setVariable("textAlign","left"),o=o.left,u=L.bottom,B=c,K(G).length>0&&(B.fillText(G,o,u),Y+=1)}break;case "CANVAS":L=p(h,"paddingLeft",true),E=p(h,"paddingTop",true),w=p(h,"paddingRight",true),t=p(h,"paddingBottom",true),Q.drawImage(h,0,0,h.width,h.height,u+L+H[3].width,B+E+H[0].width,
o.width-(H[1].width+H[3].width+L+w),o.height-(H[0].width+H[2].width+E+t)),Y+=1}return U.children[J-1]}function E(f,h){if(p(f,"display")!=="none"&&p(f,"visibility")!=="hidden"&&(h=t(f,h)||h,c=h.ctx,!r.test(f.nodeName))){var j=d.Util.Children(f),k,l,m;for(k=0,m=j.length;k<m;k+=1)l=j[k],l.nodeType===1?E(l,h):l.nodeType===3&&B(f,l,h)}}m.scroll(0,0);j=j||{};if(h===l)h=G.body;u=false;var z={iframeDefault:"default",ignoreElements:"IFRAME|OBJECT|PARAM",useOverflow:true,letterRendering:false},Y=0,o={},I=h.ownerDocument,
r=RegExp("("+z.ignoreElements+")"),Z=I.body,U,c,fa,z=d.Util.Extend(j,z),k=k||{};if(I.createRange&&(U=I.createRange(),U.getBoundingClientRect))j=I.createElement("boundtest"),j.style.height="123px",j.style.display="block",Z.appendChild(j),U.selectNode(j),U=U.getBoundingClientRect(),U=U.height,U===123&&(u=true),Z.removeChild(j);this.log("html2canvas: Parse: starting ... ");j=t(h);for(U=0,fa=h.children,h=fa.length;U<h;U+=1)E(fa[U],j);this.log("html2canvas: Parse: Done.");return j};d.zContext=function(d){return{zindex:d,
children:[]}};d.Preload=function(f,k){function j(d){v.href=d;d=v.protocol+v.host;return":"===d||d===J}function C(){d.log("html2canvas: start: images: "+q.numLoaded+" / "+q.numTotal+" (failed: "+q.numFailed+")");!q.firstRun&&q.numLoaded>=q.numTotal&&(typeof p.complete==="function"&&p.complete(q),d.log("html2canvas: Finished rendering after: "+((new Date).getTime()-t)+" ms."),d.log("html2canvas: Finished loading images: # "+q.numTotal+" (failed: "+q.numFailed+")"))}function y(d,f){var h,j=p.proxy,k,
r=q[d];v.href=d;d=v.href;h="html2canvas_"+X;r.callbackname=h;j+=j.indexOf("?")>-1?"&":"?";j+="url="+encodeURIComponent(d)+"&callback="+h;m[h]=function(d){d.substring(0,6)==="error:"?(r.succeeded=false,q.numLoaded++,q.numFailed++,C()):(f.onload=function(){r.succeeded=true;q.numLoaded++;C()},f.src=d);m[h]=l;try{delete m[h]}catch(j){}k.parentNode.removeChild(k);k=null;r.callbackname=l};X+=1;k=T.createElement("script");k.setAttribute("src",j);k.setAttribute("type","text/javascript");r.script=k;m.document.body.appendChild(k)}
function u(f){var h=d.Util.Children(f),j=h.length,k,m=false;for(k=0;k<j;k+=1)u(h[k]);try{m=f.nodeType}catch(p){m=false,d.log("html2canvas: failed to access some element's nodeType - Exception: "+p.message)}if(m===1||m===l)if((h=d.Util.getCSS(f,"backgroundImage"))&&h!=="1"&&h!=="none")h.substring(0,7)==="-webkit"||h.substring(0,3)==="-o-"||h.substring(0,4)==="-moz"?(f=d.Generate.Gradient(h,d.Util.Bounds(f)),f!==l&&(q[h]={img:f,succeeded:true},q.numTotal++,q.numLoaded++,C())):(f=d.Util.backgroundImage(h.match(/data:image\/.*;base64,/i)?
h:h.split(",")[0]),K.loadImage(f))}var p={proxy:"http://html2canvas.appspot.com/",timeout:0},q={numLoaded:0,numFailed:0,numTotal:0,cleanupDone:false},J,K,B,X=0,T=f.ownerDocument,O=T.images,V=O.length,v=T.createElement("a"),D;v.href=m.location.href;J=v.protocol+v.host;k=k||{};p=d.Util.Extend(k,p);f=f||T.body;K={loadImage:function(d){var f;if(d&&q[d]===l)d.match(/data:image\/.*;base64,/i)?(f=new Image,f.src=d.replace(/url\(['"]{0,}|['"]{0,}\)$/ig,""),q[d]={img:f,succeeded:true},q.numTotal++,q.numLoaded++,
C()):j(d)?(f=new Image,q[d]={img:f},q.numTotal++,f.onload=function(){q.numLoaded++;q[d].succeeded=true;C()},f.onerror=function(){q.numLoaded++;q.numFailed++;q[d].succeeded=false;C()},f.src=d):p.proxy&&(f=new Image,q[d]={img:f},q.numTotal++,y(d,f))},cleanupDOM:function(f){var h;if(!q.cleanupDone){f&&typeof f==="string"?d.log("html2canvas: Cleanup because: "+f):d.log("html2canvas: Cleanup after timeout: "+p.timeout+" ms.");for(src in q)if(q.hasOwnProperty(src)&&(h=q[src],typeof h==="object"&&h.callbackname&&
h.succeeded===l)){m[h.callbackname]=l;try{delete m[h.callbackname]}catch(j){}h.script&&h.script.parentNode&&(h.script.setAttribute("src","about:blank"),h.script.parentNode.removeChild(h.script));q.numLoaded++;q.numFailed++;d.log("html2canvas: Cleaned up failed img: '"+src+"' Steps: "+q.numLoaded+" / "+q.numTotal)}m.stop!==l?m.stop():G.execCommand!==l&&G.execCommand("Stop",false);G.close!==l&&G.close();q.cleanupDone=true;f&&typeof f==="string"||C()}},renderingDone:function(){D&&m.clearTimeout(D)}};
p.timeout>0&&(D=m.setTimeout(K.cleanupDOM,p.timeout));var t=(new Date).getTime();this.log("html2canvas: Preload starts: finding background-images");q.firstRun=true;u(f);this.log("html2canvas: Preload: Finding images");for(B=0;B<V;B+=1)K.loadImage(O[B].getAttribute("src"));q.firstRun=false;this.log("html2canvas: Preload: Done.");q.numTotal===q.numLoaded&&C();return K};d.canvasContext=function(d,f){this.storage=[];this.width=d;this.height=f;this.fillRect=function(){this.storage.push({type:"function",
name:"fillRect",arguments:arguments})};this.drawImage=function(){this.storage.push({type:"function",name:"drawImage",arguments:arguments})};this.fillText=function(){this.storage.push({type:"function",name:"fillText",arguments:arguments})};this.setVariable=function(d,f){this.storage.push({type:"variable",name:d,arguments:f})};return this};d.Renderer=function(f,k){function j(d){var f=[],h=[],d=d.children,k,l,m,q;for(k=0,m=d.length;k<m;k+=1)l=d[k],l.children&&l.children.length>0?(f.push(l),h.push(l.zindex)):
p.push(l);h.sort(function(d,f){return d-f});for(d=0,k=h.length;d<k;d+=1){l=h[d];for(m=0,q=f.length;m<=q;m+=1)if(f[m].zindex===l){l=f.splice(m,1);j(l[0]);break}}}function l(f){j(f.zIndex);var h=q.getContext("2d"),k,m,y,C,v;q.width=u.width||f.ctx.width;q.height=u.height||f.ctx.height;f=h.fillStyle;h.fillStyle="#fff";h.fillRect(0,0,q.width,q.height);h.fillStyle=f;for(k=0,m=p.length;k<m;k+=1){f=p.splice(0,1)[0];f.canvasPosition=f.canvasPosition||{};h.textBaseline="bottom";f.clip&&(h.save(),h.beginPath(),
h.rect(f.clip.left,f.clip.top,f.clip.width,f.clip.height),h.clip());if(f.ctx.storage)for(y=0,C=f.ctx.storage.length;y<C;y+=1)switch(v=f.ctx.storage[y],v.type){case "variable":h[v.name]=v.arguments;break;case "function":v.name==="fillRect"?h.fillRect(v.arguments[0],v.arguments[1],v.arguments[2],v.arguments[3]):v.name==="fillText"?h.fillText(v.arguments[0],v.arguments[1],v.arguments[2]):v.name==="drawImage"&&v.arguments[8]>0&&v.arguments[7]&&h.drawImage(v.arguments[0],v.arguments[1],v.arguments[2],
v.arguments[3],v.arguments[4],v.arguments[5],v.arguments[6],v.arguments[7],v.arguments[8])}f.clip&&h.restore()}d.log("html2canvas: Renderer: Canvas renderer done - returning canvas obj");return q}function m(f){j(f.zIndex);var h=J.createElementNS("http://www.w3.org/2000/svg","svg"),k=J.createElementNS("http://www.w3.org/2000/svg","defs"),l,q,y,v,D,t,E={},z,C=0;h.setAttribute("version","1.1");h.setAttribute("baseProfile","full");h.setAttribute("viewBox","0 0 "+Math.max(f.ctx.width,u.width)+" "+Math.max(f.ctx.height,
u.height));h.setAttribute("width",Math.max(f.ctx.width,u.width)+"px");h.setAttribute("height",Math.max(f.ctx.height,u.height)+"px");h.setAttribute("preserveAspectRatio","none");h.appendChild(k);for(f=0,q=p.length;f<q;f+=1)if(v=p.splice(0,1)[0],v.canvasPosition=v.canvasPosition||{},v.ctx.storage)for(l=0,y=v.ctx.storage.length;l<y;l+=1)switch(D=v.ctx.storage[l],D.type){case "variable":E[D.name]=D.arguments;break;case "function":D.name==="fillRect"?(t=J.createElementNS("http://www.w3.org/2000/svg","rect"),
t.setAttribute("x",D.arguments[0]),t.setAttribute("y",D.arguments[1]),t.setAttribute("width",D.arguments[2]),t.setAttribute("height",D.arguments[3]),t.setAttribute("fill",E.fillStyle),h.appendChild(t)):D.name==="fillText"?(t=J.createElementNS("http://www.w3.org/2000/svg","text"),z=E.font.split(" "),t.style.fontVariant=z.splice(0,1)[0],t.style.fontWeight=z.splice(0,1)[0],t.style.fontStyle=z.splice(0,1)[0],t.style.fontSize=z.splice(0,1)[0],t.setAttribute("x",D.arguments[1]),t.setAttribute("y",D.arguments[2]-
(parseInt(t.style.fontSize,10)+3)),t.setAttribute("fill",E.fillStyle),t.style.dominantBaseline="text-before-edge",t.style.fontFamily=z.join(" "),z=J.createTextNode(D.arguments[0]),t.appendChild(z),h.appendChild(t)):D.name==="drawImage"&&D.arguments[8]>0&&D.arguments[7]&&(t=J.createElementNS("http://www.w3.org/2000/svg","clipPath"),t.setAttribute("id","clipId"+C),z=J.createElementNS("http://www.w3.org/2000/svg","rect"),z.setAttribute("x",D.arguments[5]),z.setAttribute("y",D.arguments[6]),z.setAttribute("width",
D.arguments[3]),z.setAttribute("height",D.arguments[4]),t.appendChild(z),k.appendChild(t),t=J.createElementNS("http://www.w3.org/2000/svg","image"),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",D.arguments[0].src),t.setAttribute("width",D.arguments[0].width),t.setAttribute("height",D.arguments[0].height),t.setAttribute("x",D.arguments[5]-D.arguments[1]),t.setAttribute("y",D.arguments[6]-D.arguments[2]),t.setAttribute("clip-path","url(#clipId"+C+")"),t.setAttribute("preserveAspectRatio",
"none"),h.appendChild(t),C+=1)}d.log("html2canvas: Renderer: SVG Renderer done - returning SVG DOM obj");return h}var u={width:null,height:null,renderer:"canvas"},p=[],q,J=G,u=d.Util.Extend(k,u);switch(u.renderer.toLowerCase()){case "canvas":q=J.createElement("canvas");if(q.getContext)return this.log("html2canvas: Renderer: using canvas renderer"),l(f);break;case "svg":if(J.createElementNS)return this.log("html2canvas: Renderer: using SVG renderer"),m(f)}return this};if(m.__apm)m.__apm.html2canvas=
d;if(m.apm)m.apm.html2canvas=d})(jQuery,window,document);jQuery.noConflict(true);
