compass-jquery-plugin 0.3.0.beta.21 → 0.3.0.beta.22

Sign up to get free protection for your applications and to get access to all the features.
Files changed (130) hide show
  1. data/README.textile +212 -211
  2. data/VERSION.yml +5 -5
  3. data/compass-jquery-plugin.gemspec +25 -2
  4. data/gem_tasks/jqtouch.rake +221 -201
  5. data/gem_tasks/jrails.rake +322 -311
  6. data/lib/compiler.jar +0 -0
  7. data/lib/jquery/flash_messages.rb +45 -45
  8. data/lib/jquery/gridify/grid.rb +147 -147
  9. data/lib/jquery/gridify/grid_column.rb +134 -134
  10. data/lib/jquery/gridify/grid_finder.rb +223 -211
  11. data/lib/jquery/gridify/grid_options.rb +279 -279
  12. data/lib/jquery/gridify/grid_view.rb +435 -436
  13. data/lib/jquery/gridify.rb +42 -42
  14. data/templates/dynatree/jquery.dynatree.min.js +1 -1
  15. data/templates/jqgrid/i18n/jqgrid/locale-bg.min.js +6 -15
  16. data/templates/jqgrid/i18n/jqgrid/locale-bg1251.min.js +6 -15
  17. data/templates/jqgrid/i18n/jqgrid/locale-cat.min.js +5 -6
  18. data/templates/jqgrid/i18n/jqgrid/locale-cn.min.js +5 -8
  19. data/templates/jqgrid/i18n/jqgrid/locale-cs.min.js +6 -8
  20. data/templates/jqgrid/i18n/jqgrid/locale-da.min.js +6 -6
  21. data/templates/jqgrid/i18n/jqgrid/locale-de.min.js +7 -7
  22. data/templates/jqgrid/i18n/jqgrid/locale-el.min.js +7 -13
  23. data/templates/jqgrid/i18n/jqgrid/locale-es.min.js +7 -7
  24. data/templates/jqgrid/i18n/jqgrid/locale-fa.min.js +6 -12
  25. data/templates/jqgrid/i18n/jqgrid/locale-fr.min.js +7 -7
  26. data/templates/jqgrid/i18n/jqgrid/locale-gl.min.js +7 -7
  27. data/templates/jqgrid/i18n/jqgrid/locale-he.min.js +6 -13
  28. data/templates/jqgrid/i18n/jqgrid/locale-hu.min.js +6 -8
  29. data/templates/jqgrid/i18n/jqgrid/locale-is.min.js +6 -7
  30. data/templates/jqgrid/i18n/jqgrid/locale-it.min.js +4 -4
  31. data/templates/jqgrid/i18n/jqgrid/locale-ja.min.js +5 -10
  32. data/templates/jqgrid/i18n/jqgrid/locale-no.min.js +6 -6
  33. data/templates/jqgrid/i18n/jqgrid/locale-pl.min.js +6 -7
  34. data/templates/jqgrid/i18n/jqgrid/locale-pt-br.min.js +6 -7
  35. data/templates/jqgrid/i18n/jqgrid/locale-pt.min.js +4 -5
  36. data/templates/jqgrid/i18n/jqgrid/locale-ro.min.js +7 -8
  37. data/templates/jqgrid/i18n/jqgrid/locale-ru.min.js +7 -16
  38. data/templates/jqgrid/i18n/jqgrid/locale-sk.min.js +6 -8
  39. data/templates/jqgrid/i18n/jqgrid/locale-sv.min.js +6 -7
  40. data/templates/jqgrid/i18n/jqgrid/locale-tr.min.js +6 -7
  41. data/templates/jqgrid/i18n/jqgrid/locale-ua.min.js +7 -16
  42. data/templates/jqgrid/jquery.jqGrid.js +11567 -11565
  43. data/templates/jqgrid/jquery.jqGrid.min.js +472 -472
  44. data/templates/jqical/jquery.jqical.js +5 -9
  45. data/templates/jqical/jquery.jqical.min.js +44 -44
  46. data/templates/jqical/jquery.ui/jqical.scss +1 -1
  47. data/templates/jqtouch/config/initializers/jqtouch.rb +5 -4
  48. data/templates/jqtouch/jqtouch/apple/activeButton.png +0 -0
  49. data/templates/jqtouch/jqtouch/default/backButton.png +0 -0
  50. data/templates/jqtouch/jqtouch/default/backButtonActive.png +0 -0
  51. data/templates/jqtouch/jqtouch/default/bigButton.png +0 -0
  52. data/templates/jqtouch/jqtouch/default/bigButtonActive.png +0 -0
  53. data/templates/jqtouch/jqtouch/default/button.png +0 -0
  54. data/templates/jqtouch/jqtouch/default/buttonActive.png +0 -0
  55. data/templates/jqtouch/jqtouch/default/chevron.png +0 -0
  56. data/templates/jqtouch/jqtouch/default/chevronActive.png +0 -0
  57. data/templates/jqtouch/jqtouch/default/chevronCircle.png +0 -0
  58. data/templates/jqtouch/jqtouch/default/chevronCircleActive.png +0 -0
  59. data/templates/jqtouch/jqtouch/default/loading.gif +0 -0
  60. data/templates/jqtouch/jqtouch/default/toggleSwitch.png +0 -0
  61. data/templates/jqtouch/jqtouch/default/toolbarBackground.png +0 -0
  62. data/templates/jqtouch/jqtouch/jqt/back_button_clicked.png +0 -0
  63. data/templates/jqtouch/jqtouch/jqt.apple.scss +24 -11
  64. data/templates/jqtouch/jqtouch/jqt.default.scss +537 -0
  65. data/templates/jqtouch/jqtouch/jqt.jqt.scss +20 -6
  66. data/templates/jqtouch/jqtouch/jqtouch.scss +173 -1
  67. data/templates/jqtouch/jqtouch/photo/btnBack.png +0 -0
  68. data/templates/jqtouch/jqtouch/photo/loading.gif +0 -0
  69. data/templates/jqtouch/jqtouch/photo/navNext.png +0 -0
  70. data/templates/jqtouch/jqtouch/photo/navPause.png +0 -0
  71. data/templates/jqtouch/jqtouch/photo/navPlay.png +0 -0
  72. data/templates/jqtouch/jqtouch/photo/navPrev.png +0 -0
  73. data/templates/jqtouch/jqtouch/photo/toolbar.png +0 -0
  74. data/templates/jqtouch/jquery.jqtouch.js +8219 -632
  75. data/templates/jqtouch/jquery.jqtouch.min.js +60 -1
  76. data/templates/jqtouch/manifest.rb +21 -0
  77. data/templates/jrails/config/initializers/jrails.rb +1 -0
  78. data/templates/jrails/haml.js +2 -2
  79. data/templates/jrails/i18n/jquery.ui/datepicker-ar.min.js +2 -4
  80. data/templates/jrails/i18n/jquery.ui/datepicker-az.min.js +2 -2
  81. data/templates/jrails/i18n/jquery.ui/datepicker-bg.min.js +2 -4
  82. data/templates/jrails/i18n/jquery.ui/datepicker-bs.min.js +2 -2
  83. data/templates/jrails/i18n/jquery.ui/datepicker-cs.min.js +2 -2
  84. data/templates/jrails/i18n/jquery.ui/datepicker-da.min.js +2 -2
  85. data/templates/jrails/i18n/jquery.ui/datepicker-de.min.js +2 -2
  86. data/templates/jrails/i18n/jquery.ui/datepicker-el.min.js +2 -4
  87. data/templates/jrails/i18n/jquery.ui/datepicker-eo.min.js +2 -2
  88. data/templates/jrails/i18n/jquery.ui/datepicker-et.min.js +2 -2
  89. data/templates/jrails/i18n/jquery.ui/datepicker-fa.min.js +2 -3
  90. data/templates/jrails/i18n/jquery.ui/datepicker-fo.min.js +2 -2
  91. data/templates/jrails/i18n/jquery.ui/datepicker-fr-CH.min.js +2 -2
  92. data/templates/jrails/i18n/jquery.ui/datepicker-fr.min.js +2 -2
  93. data/templates/jrails/i18n/jquery.ui/datepicker-he.min.js +2 -3
  94. data/templates/jrails/i18n/jquery.ui/datepicker-hr.min.js +2 -2
  95. data/templates/jrails/i18n/jquery.ui/datepicker-hu.min.js +2 -2
  96. data/templates/jrails/i18n/jquery.ui/datepicker-hy.min.js +2 -4
  97. data/templates/jrails/i18n/jquery.ui/datepicker-ja.min.js +2 -2
  98. data/templates/jrails/i18n/jquery.ui/datepicker-ko.min.js +2 -2
  99. data/templates/jrails/i18n/jquery.ui/datepicker-kz.min.js +2 -4
  100. data/templates/jrails/i18n/jquery.ui/datepicker-lt.min.js +2 -2
  101. data/templates/jrails/i18n/jquery.ui/datepicker-lv.min.js +2 -2
  102. data/templates/jrails/i18n/jquery.ui/datepicker-nl.min.js +2 -2
  103. data/templates/jrails/i18n/jquery.ui/datepicker-no.min.js +2 -2
  104. data/templates/jrails/i18n/jquery.ui/datepicker-pl.min.js +2 -2
  105. data/templates/jrails/i18n/jquery.ui/datepicker-ro.min.js +2 -2
  106. data/templates/jrails/i18n/jquery.ui/datepicker-ru.min.js +2 -4
  107. data/templates/jrails/i18n/jquery.ui/datepicker-sk.min.js +2 -2
  108. data/templates/jrails/i18n/jquery.ui/datepicker-sq.min.js +2 -2
  109. data/templates/jrails/i18n/jquery.ui/datepicker-sr-SR.min.js +2 -2
  110. data/templates/jrails/i18n/jquery.ui/datepicker-sr.min.js +2 -4
  111. data/templates/jrails/i18n/jquery.ui/datepicker-sv.min.js +2 -2
  112. data/templates/jrails/i18n/jquery.ui/datepicker-ta.min.js +2 -4
  113. data/templates/jrails/i18n/jquery.ui/datepicker-th.min.js +2 -4
  114. data/templates/jrails/i18n/jquery.ui/datepicker-tr.min.js +2 -2
  115. data/templates/jrails/i18n/jquery.ui/datepicker-uk.min.js +2 -4
  116. data/templates/jrails/i18n/jquery.ui/datepicker-vi.min.js +2 -2
  117. data/templates/jrails/i18n/jquery.ui/datepicker-zh-CN.min.js +2 -2
  118. data/templates/jrails/i18n/jquery.ui/datepicker-zh-HK.min.js +2 -2
  119. data/templates/jrails/i18n/jquery.ui/datepicker-zh-TW.min.js +2 -2
  120. data/templates/jrails/jquery-1.4.2.min.js +156 -156
  121. data/templates/jrails/jquery-ui-1.8.5.js +23753 -23341
  122. data/templates/jrails/jquery-ui-1.8.5.min.js +823 -808
  123. data/templates/jrails/jquery.contextMenu.min.js +1 -1
  124. data/templates/jrails/jquery.sparkline.js +1050 -0
  125. data/templates/jrails/jquery.sparkline.min.js +31 -0
  126. data/templates/jrails/jquery.ui/_theme.scss +1699 -1634
  127. data/templates/jrails/manifest.rb +13 -11
  128. data/templates/jstree/jquery.jstree.min.js +10 -10
  129. data/templates/ribbon/jquery.ribbon.min.js +6 -6
  130. metadata +27 -4
@@ -1,169 +1,169 @@
1
- (function(q,D){function v(){if(!d.isReady){try{C.documentElement.doScroll("left")}catch(b){setTimeout(v,1);return}d.ready()}}function P(b,c){c.src?d.ajax({url:c.src,async:false,dataType:"script"}):d.globalEval(c.text||c.textContent||c.innerHTML||"");c.parentNode&&c.parentNode.removeChild(c)}function L(b,c,e,f,g,l){var m=b.length;if(typeof c==="object"){for(var w in c)L(b,w,c[w],f,g,e);return b}if(e!==D){f=!l&&f&&d.isFunction(e);for(w=0;w<m;w++)g(b[w],c,f?e.call(b[w],w,g(b[w],c)):e,l);return b}return m?
2
- g(b[0],c):D}function M(){return(new Date).getTime()}function O(){return false}function ea(){return true}function U(b,c,e){e[0].type=b;return d.event.handle.apply(c,e)}function K(b){var c,e=[],f=[],g=arguments,l,m,w,s,x,F;m=d.data(this,"events");if(!(b.liveFired===this||!m||!m.live||b.button&&b.type==="click")){b.liveFired=this;var V=m.live.slice(0);for(s=0;s<V.length;s++){m=V[s];m.origType.replace(za,"")===b.type?f.push(m.selector):V.splice(s--,1)}l=d(b.target).closest(f,b.currentTarget);x=0;for(F=
3
- l.length;x<F;x++)for(s=0;s<V.length;s++){m=V[s];if(l[x].selector===m.selector){w=l[x].elem;f=null;if(m.preType==="mouseenter"||m.preType==="mouseleave")f=d(b.relatedTarget).closest(m.selector)[0];if(!f||f!==w)e.push({elem:w,handleObj:m})}}x=0;for(F=e.length;x<F;x++){l=e[x];b.currentTarget=l.elem;b.data=l.handleObj.data;b.handleObj=l.handleObj;if(l.handleObj.origHandler.apply(l.elem,g)===false){c=false;break}}return c}}function la(b,c){return"live."+(b&&b!=="*"?b+".":"")+c.replace(/\./g,"`").replace(/ /g,
4
- "&")}function R(b,c){var e=0;c.each(function(){if(this.nodeName===(b[e]&&b[e].nodeName)){var f=d.data(b[e++]),g=d.data(this,f);if(f=f&&f.events){delete g.handle;g.events={};for(var l in f)for(var m in f[l])d.event.add(this,l,f[l][m],f[l][m].data)}}})}function Aa(b,c,e){var f,g,l;c=c&&c[0]?c[0].ownerDocument||c[0]:C;if(b.length===1&&typeof b[0]==="string"&&b[0].length<512&&c===C&&!E.test(b[0])&&(d.support.checkClone||!I.test(b[0]))){g=true;if(l=d.fragments[b[0]])if(l!==1)f=l}if(!f){f=c.createDocumentFragment();
5
- d.clean(b,c,f,e)}if(g)d.fragments[b[0]]=l?f:1;return{fragment:f,cacheable:g}}function ca(b,c){var e={};d.each(jb.concat.apply([],jb.slice(0,c)),function(){e[this]=b});return e}function Y(b){return"scrollTo"in b&&b.document?b:b.nodeType===9?b.defaultView||b.parentWindow:false}var d=function(b,c){return new d.fn.init(b,c)},Na=q.jQuery,xa=q.$,C=q.document,W,ha=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,pa=/^.[^:#\[\.,]*$/,ma=/\S/,sa=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,Ea=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,ka=navigator.userAgent,
6
- ia=false,fa=[],na,Fa=Object.prototype.toString,Ga=Object.prototype.hasOwnProperty,Oa=Array.prototype.push,Ba=Array.prototype.slice,ab=Array.prototype.indexOf;d.fn=d.prototype={init:function(b,c){var e,f,g;if(!b)return this;if(b.nodeType){this.context=this[0]=b;this.length=1;return this}if(b==="body"&&!c){this.context=C;this[0]=C.body;this.selector="body";this.length=1;return this}if(typeof b==="string")if((e=ha.exec(b))&&(e[1]||!c))if(e[1]){g=c?c.ownerDocument||c:C;if(f=Ea.exec(b))if(d.isPlainObject(c)){b=
7
- [C.createElement(f[1])];d.fn.attr.call(b,c,true)}else b=[g.createElement(f[1])];else{f=Aa([e[1]],[g]);b=(f.cacheable?f.fragment.cloneNode(true):f.fragment).childNodes}return d.merge(this,b)}else{if(f=C.getElementById(e[2])){if(f.id!==e[2])return W.find(b);this.length=1;this[0]=f}this.context=C;this.selector=b;return this}else if(!c&&/^\w+$/.test(b)){this.selector=b;this.context=C;b=C.getElementsByTagName(b);return d.merge(this,b)}else return!c||c.jquery?(c||W).find(b):d(c).find(b);else if(d.isFunction(b))return W.ready(b);
8
- if(b.selector!==D){this.selector=b.selector;this.context=b.context}return d.makeArray(b,this)},selector:"",jquery:"1.4.2",length:0,size:function(){return this.length},toArray:function(){return Ba.call(this,0)},get:function(b){return b==null?this.toArray():b<0?this.slice(b)[0]:this[b]},pushStack:function(b,c,e){var f=d();d.isArray(b)?Oa.apply(f,b):d.merge(f,b);f.prevObject=this;f.context=this.context;if(c==="find")f.selector=this.selector+(this.selector?" ":"")+e;else if(c)f.selector=this.selector+
9
- "."+c+"("+e+")";return f},each:function(b,c){return d.each(this,b,c)},ready:function(b){d.bindReady();if(d.isReady)b.call(C,d);else fa&&fa.push(b);return this},eq:function(b){return b===-1?this.slice(b):this.slice(b,+b+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(Ba.apply(this,arguments),"slice",Ba.call(arguments).join(","))},map:function(b){return this.pushStack(d.map(this,function(c,e){return b.call(c,e,c)}))},end:function(){return this.prevObject||
10
- d(null)},push:Oa,sort:[].sort,splice:[].splice};d.fn.init.prototype=d.fn;d.extend=d.fn.extend=function(){var b=arguments[0]||{},c=1,e=arguments.length,f=false,g,l,m,w;if(typeof b==="boolean"){f=b;b=arguments[1]||{};c=2}if(typeof b!=="object"&&!d.isFunction(b))b={};if(e===c){b=this;--c}for(;c<e;c++)if((g=arguments[c])!=null)for(l in g){m=b[l];w=g[l];if(b!==w)if(f&&w&&(d.isPlainObject(w)||d.isArray(w))){m=m&&(d.isPlainObject(m)||d.isArray(m))?m:d.isArray(w)?[]:{};b[l]=d.extend(f,m,w)}else if(w!==D)b[l]=
11
- w}return b};d.extend({noConflict:function(b){q.$=xa;if(b)q.jQuery=Na;return d},isReady:false,ready:function(){if(!d.isReady){if(!C.body)return setTimeout(d.ready,13);d.isReady=true;if(fa){for(var b,c=0;b=fa[c++];)b.call(C,d);fa=null}d.fn.triggerHandler&&d(C).triggerHandler("ready")}},bindReady:function(){if(!ia){ia=true;if(C.readyState==="complete")return d.ready();if(C.addEventListener){C.addEventListener("DOMContentLoaded",na,false);q.addEventListener("load",d.ready,false)}else if(C.attachEvent){C.attachEvent("onreadystatechange",
12
- na);q.attachEvent("onload",d.ready);var b=false;try{b=q.frameElement==null}catch(c){}C.documentElement.doScroll&&b&&v()}}},isFunction:function(b){return Fa.call(b)==="[object Function]"},isArray:function(b){return Fa.call(b)==="[object Array]"},isPlainObject:function(b){if(!b||Fa.call(b)!=="[object Object]"||b.nodeType||b.setInterval)return false;if(b.constructor&&!Ga.call(b,"constructor")&&!Ga.call(b.constructor.prototype,"isPrototypeOf"))return false;var c;for(c in b);return c===D||Ga.call(b,c)},
1
+ (function(q,D){function w(){if(!d.isReady){try{C.documentElement.doScroll("left")}catch(b){setTimeout(w,1);return}d.ready()}}function P(b,c){c.src?d.ajax({url:c.src,async:false,dataType:"script"}):d.globalEval(c.text||c.textContent||c.innerHTML||"");c.parentNode&&c.parentNode.removeChild(c)}function L(b,c,e,g,f,l){var m=b.length;if(typeof c==="object"){for(var v in c)L(b,v,c[v],g,f,e);return b}if(e!==D){g=!l&&g&&d.isFunction(e);for(v=0;v<m;v++)f(b[v],c,g?e.call(b[v],v,f(b[v],c)):e,l);return b}return m?
2
+ f(b[0],c):D}function M(){return(new Date).getTime()}function O(){return false}function ea(){return true}function V(b,c,e){e[0].type=b;return d.event.handle.apply(c,e)}function K(b){var c,e=[],g=[],f=arguments,l,m,v,s,x,F;m=d.data(this,"events");if(!(b.liveFired===this||!m||!m.live||b.button&&b.type==="click")){b.liveFired=this;var U=m.live.slice(0);for(s=0;s<U.length;s++){m=U[s];m.origType.replace(za,"")===b.type?g.push(m.selector):U.splice(s--,1)}l=d(b.target).closest(g,b.currentTarget);x=0;for(F=
3
+ l.length;x<F;x++)for(s=0;s<U.length;s++){m=U[s];if(l[x].selector===m.selector){v=l[x].elem;g=null;if(m.preType==="mouseenter"||m.preType==="mouseleave")g=d(b.relatedTarget).closest(m.selector)[0];if(!g||g!==v)e.push({elem:v,handleObj:m})}}x=0;for(F=e.length;x<F;x++){l=e[x];b.currentTarget=l.elem;b.data=l.handleObj.data;b.handleObj=l.handleObj;if(l.handleObj.origHandler.apply(l.elem,f)===false){c=false;break}}return c}}function la(b,c){return"live."+(b&&b!=="*"?b+".":"")+c.replace(/\./g,"`").replace(/ /g,
4
+ "&")}function R(b,c){var e=0;c.each(function(){if(this.nodeName===(b[e]&&b[e].nodeName)){var g=d.data(b[e++]),f=d.data(this,g);if(g=g&&g.events){delete f.handle;f.events={};for(var l in g)for(var m in g[l])d.event.add(this,l,g[l][m],g[l][m].data)}}})}function Aa(b,c,e){var g,f,l;c=c&&c[0]?c[0].ownerDocument||c[0]:C;if(b.length===1&&typeof b[0]==="string"&&b[0].length<512&&c===C&&!E.test(b[0])&&(d.support.checkClone||!I.test(b[0]))){f=true;if(l=d.fragments[b[0]])if(l!==1)g=l}if(!g){g=c.createDocumentFragment();
5
+ d.clean(b,c,g,e)}if(f)d.fragments[b[0]]=l?g:1;return{fragment:g,cacheable:f}}function ca(b,c){var e={};d.each(jb.concat.apply([],jb.slice(0,c)),function(){e[this]=b});return e}function Y(b){return"scrollTo"in b&&b.document?b:b.nodeType===9?b.defaultView||b.parentWindow:false}var d=function(b,c){return new d.fn.init(b,c)},Na=q.jQuery,xa=q.$,C=q.document,W,ha=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,pa=/^.[^:#\[\.,]*$/,ma=/\S/,sa=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,Ea=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,ka=navigator.userAgent,
6
+ ia=false,fa=[],na,Fa=Object.prototype.toString,Ga=Object.prototype.hasOwnProperty,Oa=Array.prototype.push,Ba=Array.prototype.slice,ab=Array.prototype.indexOf;d.fn=d.prototype={init:function(b,c){var e,g,f;if(!b)return this;if(b.nodeType){this.context=this[0]=b;this.length=1;return this}if(b==="body"&&!c){this.context=C;this[0]=C.body;this.selector="body";this.length=1;return this}if(typeof b==="string")if((e=ha.exec(b))&&(e[1]||!c))if(e[1]){f=c?c.ownerDocument||c:C;if(g=Ea.exec(b))if(d.isPlainObject(c)){b=
7
+ [C.createElement(g[1])];d.fn.attr.call(b,c,true)}else b=[f.createElement(g[1])];else{g=Aa([e[1]],[f]);b=(g.cacheable?g.fragment.cloneNode(true):g.fragment).childNodes}return d.merge(this,b)}else{if(g=C.getElementById(e[2])){if(g.id!==e[2])return W.find(b);this.length=1;this[0]=g}this.context=C;this.selector=b;return this}else if(!c&&/^\w+$/.test(b)){this.selector=b;this.context=C;b=C.getElementsByTagName(b);return d.merge(this,b)}else return!c||c.jquery?(c||W).find(b):d(c).find(b);else if(d.isFunction(b))return W.ready(b);
8
+ if(b.selector!==D){this.selector=b.selector;this.context=b.context}return d.makeArray(b,this)},selector:"",jquery:"1.4.2",length:0,size:function(){return this.length},toArray:function(){return Ba.call(this,0)},get:function(b){return b==null?this.toArray():b<0?this.slice(b)[0]:this[b]},pushStack:function(b,c,e){var g=d();d.isArray(b)?Oa.apply(g,b):d.merge(g,b);g.prevObject=this;g.context=this.context;if(c==="find")g.selector=this.selector+(this.selector?" ":"")+e;else if(c)g.selector=this.selector+
9
+ "."+c+"("+e+")";return g},each:function(b,c){return d.each(this,b,c)},ready:function(b){d.bindReady();if(d.isReady)b.call(C,d);else fa&&fa.push(b);return this},eq:function(b){return b===-1?this.slice(b):this.slice(b,+b+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(Ba.apply(this,arguments),"slice",Ba.call(arguments).join(","))},map:function(b){return this.pushStack(d.map(this,function(c,e){return b.call(c,e,c)}))},end:function(){return this.prevObject||
10
+ d(null)},push:Oa,sort:[].sort,splice:[].splice};d.fn.init.prototype=d.fn;d.extend=d.fn.extend=function(){var b=arguments[0]||{},c=1,e=arguments.length,g=false,f,l,m,v;if(typeof b==="boolean"){g=b;b=arguments[1]||{};c=2}if(typeof b!=="object"&&!d.isFunction(b))b={};if(e===c){b=this;--c}for(;c<e;c++)if((f=arguments[c])!=null)for(l in f){m=b[l];v=f[l];if(b!==v)if(g&&v&&(d.isPlainObject(v)||d.isArray(v))){m=m&&(d.isPlainObject(m)||d.isArray(m))?m:d.isArray(v)?[]:{};b[l]=d.extend(g,m,v)}else if(v!==D)b[l]=
11
+ v}return b};d.extend({noConflict:function(b){q.$=xa;if(b)q.jQuery=Na;return d},isReady:false,ready:function(){if(!d.isReady){if(!C.body)return setTimeout(d.ready,13);d.isReady=true;if(fa){for(var b,c=0;b=fa[c++];)b.call(C,d);fa=null}d.fn.triggerHandler&&d(C).triggerHandler("ready")}},bindReady:function(){if(!ia){ia=true;if(C.readyState==="complete")return d.ready();if(C.addEventListener){C.addEventListener("DOMContentLoaded",na,false);q.addEventListener("load",d.ready,false)}else if(C.attachEvent){C.attachEvent("onreadystatechange",
12
+ na);q.attachEvent("onload",d.ready);var b=false;try{b=q.frameElement==null}catch(c){}C.documentElement.doScroll&&b&&w()}}},isFunction:function(b){return Fa.call(b)==="[object Function]"},isArray:function(b){return Fa.call(b)==="[object Array]"},isPlainObject:function(b){if(!b||Fa.call(b)!=="[object Object]"||b.nodeType||b.setInterval)return false;if(b.constructor&&!Ga.call(b,"constructor")&&!Ga.call(b.constructor.prototype,"isPrototypeOf"))return false;for(var c in b);return c===D||Ga.call(b,c)},
13
13
  isEmptyObject:function(b){for(var c in b)return false;return true},error:function(b){throw b;},parseJSON:function(b){if(typeof b!=="string"||!b)return null;b=d.trim(b);if(/^[\],:{}\s]*$/.test(b.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return q.JSON&&q.JSON.parse?q.JSON.parse(b):(new Function("return "+b))();else d.error("Invalid JSON: "+b)},noop:function(){},globalEval:function(b){if(b&&
14
- ma.test(b)){var c=C.getElementsByTagName("head")[0]||C.documentElement,e=C.createElement("script");e.type="text/javascript";if(d.support.scriptEval)e.appendChild(C.createTextNode(b));else e.text=b;c.insertBefore(e,c.firstChild);c.removeChild(e)}},nodeName:function(b,c){return b.nodeName&&b.nodeName.toUpperCase()===c.toUpperCase()},each:function(b,c,e){var f,g=0,l=b.length,m=l===D||d.isFunction(b);if(e)if(m)for(f in b){if(c.apply(b[f],e)===false)break}else for(;g<l;){if(c.apply(b[g++],e)===false)break}else if(m)for(f in b){if(c.call(b[f],
15
- f,b[f])===false)break}else for(e=b[0];g<l&&c.call(e,g,e)!==false;e=b[++g]);return b},trim:function(b){return(b||"").replace(sa,"")},makeArray:function(b,c){var e=c||[];if(b!=null)b.length==null||typeof b==="string"||d.isFunction(b)||typeof b!=="function"&&b.setInterval?Oa.call(e,b):d.merge(e,b);return e},inArray:function(b,c){if(c.indexOf)return c.indexOf(b);for(var e=0,f=c.length;e<f;e++)if(c[e]===b)return e;return-1},merge:function(b,c){var e=b.length,f=0;if(typeof c.length==="number")for(var g=
16
- c.length;f<g;f++)b[e++]=c[f];else for(;c[f]!==D;)b[e++]=c[f++];b.length=e;return b},grep:function(b,c,e){for(var f=[],g=0,l=b.length;g<l;g++)!e!==!c(b[g],g)&&f.push(b[g]);return f},map:function(b,c,e){for(var f=[],g,l=0,m=b.length;l<m;l++){g=c(b[l],l,e);if(g!=null)f[f.length]=g}return f.concat.apply([],f)},guid:1,proxy:function(b,c,e){if(arguments.length===2)if(typeof c==="string"){e=b;b=e[c];c=D}else if(c&&!d.isFunction(c)){e=c;c=D}if(!c&&b)c=function(){return b.apply(e||this,arguments)};if(b)c.guid=
14
+ ma.test(b)){var c=C.getElementsByTagName("head")[0]||C.documentElement,e=C.createElement("script");e.type="text/javascript";if(d.support.scriptEval)e.appendChild(C.createTextNode(b));else e.text=b;c.insertBefore(e,c.firstChild);c.removeChild(e)}},nodeName:function(b,c){return b.nodeName&&b.nodeName.toUpperCase()===c.toUpperCase()},each:function(b,c,e){var g,f=0,l=b.length,m=l===D||d.isFunction(b);if(e)if(m)for(g in b){if(c.apply(b[g],e)===false)break}else for(;f<l;){if(c.apply(b[f++],e)===false)break}else if(m)for(g in b){if(c.call(b[g],
15
+ g,b[g])===false)break}else for(e=b[0];f<l&&c.call(e,f,e)!==false;e=b[++f]);return b},trim:function(b){return(b||"").replace(sa,"")},makeArray:function(b,c){var e=c||[];if(b!=null)b.length==null||typeof b==="string"||d.isFunction(b)||typeof b!=="function"&&b.setInterval?Oa.call(e,b):d.merge(e,b);return e},inArray:function(b,c){if(c.indexOf)return c.indexOf(b);for(var e=0,g=c.length;e<g;e++)if(c[e]===b)return e;return-1},merge:function(b,c){var e=b.length,g=0;if(typeof c.length==="number")for(var f=
16
+ c.length;g<f;g++)b[e++]=c[g];else for(;c[g]!==D;)b[e++]=c[g++];b.length=e;return b},grep:function(b,c,e){for(var g=[],f=0,l=b.length;f<l;f++)!e!==!c(b[f],f)&&g.push(b[f]);return g},map:function(b,c,e){for(var g=[],f,l=0,m=b.length;l<m;l++){f=c(b[l],l,e);if(f!=null)g[g.length]=f}return g.concat.apply([],g)},guid:1,proxy:function(b,c,e){if(arguments.length===2)if(typeof c==="string"){e=b;b=e[c];c=D}else if(c&&!d.isFunction(c)){e=c;c=D}if(!c&&b)c=function(){return b.apply(e||this,arguments)};if(b)c.guid=
17
17
  b.guid=b.guid||c.guid||d.guid++;return c},uaMatch:function(b){b=b.toLowerCase();b=/(webkit)[ \/]([\w.]+)/.exec(b)||/(opera)(?:.*version)?[ \/]([\w.]+)/.exec(b)||/(msie) ([\w.]+)/.exec(b)||!/compatible/.test(b)&&/(mozilla)(?:.*? rv:([\w.]+))?/.exec(b)||[];return{browser:b[1]||"",version:b[2]||"0"}},browser:{}});ka=d.uaMatch(ka);if(ka.browser){d.browser[ka.browser]=true;d.browser.version=ka.version}if(d.browser.webkit)d.browser.safari=true;if(ab)d.inArray=function(b,c){return ab.call(c,b)};W=d(C);if(C.addEventListener)na=
18
- function(){C.removeEventListener("DOMContentLoaded",na,false);d.ready()};else if(C.attachEvent)na=function(){if(C.readyState==="complete"){C.detachEvent("onreadystatechange",na);d.ready()}};(function(){d.support={};var b=C.documentElement,c=C.createElement("script"),e=C.createElement("div"),f="script"+M();e.style.display="none";e.innerHTML=" <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";var g=e.getElementsByTagName("*"),l=e.getElementsByTagName("a")[0];
19
- if(!(!g||!g.length||!l)){d.support={leadingWhitespace:e.firstChild.nodeType===3,tbody:!e.getElementsByTagName("tbody").length,htmlSerialize:!!e.getElementsByTagName("link").length,style:/red/.test(l.getAttribute("style")),hrefNormalized:l.getAttribute("href")==="/a",opacity:/^0.55$/.test(l.style.opacity),cssFloat:!!l.style.cssFloat,checkOn:e.getElementsByTagName("input")[0].value==="on",optSelected:C.createElement("select").appendChild(C.createElement("option")).selected,parentNode:e.removeChild(e.appendChild(C.createElement("div"))).parentNode===
20
- null,deleteExpando:true,checkClone:false,scriptEval:false,noCloneEvent:true,boxModel:null};c.type="text/javascript";try{c.appendChild(C.createTextNode("window."+f+"=1;"))}catch(m){}b.insertBefore(c,b.firstChild);if(q[f]){d.support.scriptEval=true;delete q[f]}try{delete c.test}catch(w){d.support.deleteExpando=false}b.removeChild(c);if(e.attachEvent&&e.fireEvent){e.attachEvent("onclick",function s(){d.support.noCloneEvent=false;e.detachEvent("onclick",s)});e.cloneNode(true).fireEvent("onclick")}e=C.createElement("div");
18
+ function(){C.removeEventListener("DOMContentLoaded",na,false);d.ready()};else if(C.attachEvent)na=function(){if(C.readyState==="complete"){C.detachEvent("onreadystatechange",na);d.ready()}};(function(){d.support={};var b=C.documentElement,c=C.createElement("script"),e=C.createElement("div"),g="script"+M();e.style.display="none";e.innerHTML=" <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";var f=e.getElementsByTagName("*"),l=e.getElementsByTagName("a")[0];
19
+ if(!(!f||!f.length||!l)){d.support={leadingWhitespace:e.firstChild.nodeType===3,tbody:!e.getElementsByTagName("tbody").length,htmlSerialize:!!e.getElementsByTagName("link").length,style:/red/.test(l.getAttribute("style")),hrefNormalized:l.getAttribute("href")==="/a",opacity:/^0.55$/.test(l.style.opacity),cssFloat:!!l.style.cssFloat,checkOn:e.getElementsByTagName("input")[0].value==="on",optSelected:C.createElement("select").appendChild(C.createElement("option")).selected,parentNode:e.removeChild(e.appendChild(C.createElement("div"))).parentNode===
20
+ null,deleteExpando:true,checkClone:false,scriptEval:false,noCloneEvent:true,boxModel:null};c.type="text/javascript";try{c.appendChild(C.createTextNode("window."+g+"=1;"))}catch(m){}b.insertBefore(c,b.firstChild);if(q[g]){d.support.scriptEval=true;delete q[g]}try{delete c.test}catch(v){d.support.deleteExpando=false}b.removeChild(c);if(e.attachEvent&&e.fireEvent){e.attachEvent("onclick",function s(){d.support.noCloneEvent=false;e.detachEvent("onclick",s)});e.cloneNode(true).fireEvent("onclick")}e=C.createElement("div");
21
21
  e.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";b=C.createDocumentFragment();b.appendChild(e.firstChild);d.support.checkClone=b.cloneNode(true).cloneNode(true).lastChild.checked;d(function(){var s=C.createElement("div");s.style.width=s.style.paddingLeft="1px";C.body.appendChild(s);d.boxModel=d.support.boxModel=s.offsetWidth===2;C.body.removeChild(s).style.display="none"});b=function(s){var x=C.createElement("div");s="on"+s;var F=s in x;if(!F){x.setAttribute(s,"return;");F=typeof x[s]===
22
- "function"}return F};d.support.submitBubbles=b("submit");d.support.changeBubbles=b("change");b=c=e=g=l=null}})();d.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};var ya="jQuery"+M(),Va=0,Pa={};d.extend({cache:{},expando:ya,noData:{embed:true,object:true,applet:true},data:function(b,c,e){if(!(b.nodeName&&d.noData[b.nodeName.toLowerCase()])){b=
23
- b==q?Pa:b;var f=b[ya],g=d.cache;if(!f&&typeof c==="string"&&e===D)return null;f||(f=++Va);if(typeof c==="object"){b[ya]=f;g[f]=d.extend(true,{},c)}else if(!g[f]){b[ya]=f;g[f]={}}b=g[f];if(e!==D)b[c]=e;return typeof c==="string"?b[c]:b}},removeData:function(b,c){if(!(b.nodeName&&d.noData[b.nodeName.toLowerCase()])){b=b==q?Pa:b;var e=b[ya],f=d.cache,g=f[e];if(c){if(g){delete g[c];d.isEmptyObject(g)&&d.removeData(b)}}else{if(d.support.deleteExpando)delete b[d.expando];else b.removeAttribute&&b.removeAttribute(d.expando);
24
- delete f[e]}}}});d.fn.extend({data:function(b,c){if(typeof b==="undefined"&&this.length)return d.data(this[0]);else if(typeof b==="object")return this.each(function(){d.data(this,b)});var e=b.split(".");e[1]=e[1]?"."+e[1]:"";if(c===D){var f=this.triggerHandler("getData"+e[1]+"!",[e[0]]);if(f===D&&this.length)f=d.data(this[0],b);return f===D&&e[1]?this.data(e[0]):f}else return this.trigger("setData"+e[1]+"!",[e[0],c]).each(function(){d.data(this,b,c)})},removeData:function(b){return this.each(function(){d.removeData(this,
25
- b)})}});d.extend({queue:function(b,c,e){if(b){c=(c||"fx")+"queue";var f=d.data(b,c);if(!e)return f||[];if(!f||d.isArray(e))f=d.data(b,c,d.makeArray(e));else f.push(e);return f}},dequeue:function(b,c){c=c||"fx";var e=d.queue(b,c),f=e.shift();if(f==="inprogress")f=e.shift();if(f){c==="fx"&&e.unshift("inprogress");f.call(b,function(){d.dequeue(b,c)})}}});d.fn.extend({queue:function(b,c){if(typeof b!=="string"){c=b;b="fx"}if(c===D)return d.queue(this[0],b);return this.each(function(){var e=d.queue(this,
22
+ "function"}return F};d.support.submitBubbles=b("submit");d.support.changeBubbles=b("change");b=c=e=f=l=null}})();d.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};var ya="jQuery"+M(),Va=0,Pa={};d.extend({cache:{},expando:ya,noData:{embed:true,object:true,applet:true},data:function(b,c,e){if(!(b.nodeName&&d.noData[b.nodeName.toLowerCase()])){b=
23
+ b==q?Pa:b;var g=b[ya],f=d.cache;if(!g&&typeof c==="string"&&e===D)return null;g||(g=++Va);if(typeof c==="object"){b[ya]=g;f[g]=d.extend(true,{},c)}else if(!f[g]){b[ya]=g;f[g]={}}b=f[g];if(e!==D)b[c]=e;return typeof c==="string"?b[c]:b}},removeData:function(b,c){if(!(b.nodeName&&d.noData[b.nodeName.toLowerCase()])){b=b==q?Pa:b;var e=b[ya],g=d.cache,f=g[e];if(c){if(f){delete f[c];d.isEmptyObject(f)&&d.removeData(b)}}else{if(d.support.deleteExpando)delete b[d.expando];else b.removeAttribute&&b.removeAttribute(d.expando);
24
+ delete g[e]}}}});d.fn.extend({data:function(b,c){if(typeof b==="undefined"&&this.length)return d.data(this[0]);else if(typeof b==="object")return this.each(function(){d.data(this,b)});var e=b.split(".");e[1]=e[1]?"."+e[1]:"";if(c===D){var g=this.triggerHandler("getData"+e[1]+"!",[e[0]]);if(g===D&&this.length)g=d.data(this[0],b);return g===D&&e[1]?this.data(e[0]):g}else return this.trigger("setData"+e[1]+"!",[e[0],c]).each(function(){d.data(this,b,c)})},removeData:function(b){return this.each(function(){d.removeData(this,
25
+ b)})}});d.extend({queue:function(b,c,e){if(b){c=(c||"fx")+"queue";var g=d.data(b,c);if(!e)return g||[];if(!g||d.isArray(e))g=d.data(b,c,d.makeArray(e));else g.push(e);return g}},dequeue:function(b,c){c=c||"fx";var e=d.queue(b,c),g=e.shift();if(g==="inprogress")g=e.shift();if(g){c==="fx"&&e.unshift("inprogress");g.call(b,function(){d.dequeue(b,c)})}}});d.fn.extend({queue:function(b,c){if(typeof b!=="string"){c=b;b="fx"}if(c===D)return d.queue(this[0],b);return this.each(function(){var e=d.queue(this,
26
26
  b,c);b==="fx"&&e[0]!=="inprogress"&&d.dequeue(this,b)})},dequeue:function(b){return this.each(function(){d.dequeue(this,b)})},delay:function(b,c){b=d.fx?d.fx.speeds[b]||b:b;c=c||"fx";return this.queue(c,function(){var e=this;setTimeout(function(){d.dequeue(e,c)},b)})},clearQueue:function(b){return this.queue(b||"fx",[])}});var Qa=/[\n\t]/g,va=/\s+/,Ca=/\r/g,Sa=/href|src|style/,Wa=/(button|input)/i,Xa=/(button|input|object|select|textarea)/i,db=/^(a|area)$/i,Ya=/radio|checkbox/;d.fn.extend({attr:function(b,
27
- c){return L(this,b,c,true,d.attr)},removeAttr:function(b){return this.each(function(){d.attr(this,b,"");this.nodeType===1&&this.removeAttribute(b)})},addClass:function(b){if(d.isFunction(b))return this.each(function(x){var F=d(this);F.addClass(b.call(this,x,F.attr("class")))});if(b&&typeof b==="string")for(var c=(b||"").split(va),e=0,f=this.length;e<f;e++){var g=this[e];if(g.nodeType===1)if(g.className){for(var l=" "+g.className+" ",m=g.className,w=0,s=c.length;w<s;w++)if(l.indexOf(" "+c[w]+" ")<
28
- 0)m+=" "+c[w];g.className=d.trim(m)}else g.className=b}return this},removeClass:function(b){if(d.isFunction(b))return this.each(function(s){var x=d(this);x.removeClass(b.call(this,s,x.attr("class")))});if(b&&typeof b==="string"||b===D)for(var c=(b||"").split(va),e=0,f=this.length;e<f;e++){var g=this[e];if(g.nodeType===1&&g.className)if(b){for(var l=(" "+g.className+" ").replace(Qa," "),m=0,w=c.length;m<w;m++)l=l.replace(" "+c[m]+" "," ");g.className=d.trim(l)}else g.className=""}return this},toggleClass:function(b,
29
- c){var e=typeof b,f=typeof c==="boolean";if(d.isFunction(b))return this.each(function(g){var l=d(this);l.toggleClass(b.call(this,g,l.attr("class"),c),c)});return this.each(function(){if(e==="string")for(var g,l=0,m=d(this),w=c,s=b.split(va);g=s[l++];){w=f?w:!m.hasClass(g);m[w?"addClass":"removeClass"](g)}else if(e==="undefined"||e==="boolean"){this.className&&d.data(this,"__className__",this.className);this.className=this.className||b===false?"":d.data(this,"__className__")||""}})},hasClass:function(b){b=
30
- " "+b+" ";for(var c=0,e=this.length;c<e;c++)if((" "+this[c].className+" ").replace(Qa," ").indexOf(b)>-1)return true;return false},val:function(b){if(b===D){var c=this[0];if(c){if(d.nodeName(c,"option"))return(c.attributes.value||{}).specified?c.value:c.text;if(d.nodeName(c,"select")){var e=c.selectedIndex,f=[],g=c.options;c=c.type==="select-one";if(e<0)return null;var l=c?e:0;for(e=c?e+1:g.length;l<e;l++){var m=g[l];if(m.selected){b=d(m).val();if(c)return b;f.push(b)}}return f}if(Ya.test(c.type)&&
31
- !d.support.checkOn)return c.getAttribute("value")===null?"on":c.value;return(c.value||"").replace(Ca,"")}return D}var w=d.isFunction(b);return this.each(function(s){var x=d(this),F=b;if(this.nodeType===1){if(w)F=b.call(this,s,x.val());if(typeof F==="number")F+="";if(d.isArray(F)&&Ya.test(this.type))this.checked=d.inArray(x.val(),F)>=0;else if(d.nodeName(this,"select")){var V=d.makeArray(F);d("option",this).each(function(){this.selected=d.inArray(d(this).val(),V)>=0});if(!V.length)this.selectedIndex=
32
- -1}else this.value=F}})}});d.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(b,c,e,f){if(!b||b.nodeType===3||b.nodeType===8)return D;if(f&&c in d.attrFn)return d(b)[c](e);f=b.nodeType!==1||!d.isXMLDoc(b);var g=e!==D;c=f&&d.props[c]||c;if(b.nodeType===1){var l=Sa.test(c);if(c in b&&f&&!l){if(g){c==="type"&&Wa.test(b.nodeName)&&b.parentNode&&d.error("type property can't be changed");b[c]=e}if(d.nodeName(b,"form")&&b.getAttributeNode(c))return b.getAttributeNode(c).nodeValue;
33
- if(c==="tabIndex")return(c=b.getAttributeNode("tabIndex"))&&c.specified?c.value:Xa.test(b.nodeName)||db.test(b.nodeName)&&b.href?0:D;return b[c]}if(!d.support.style&&f&&c==="style"){if(g)b.style.cssText=""+e;return b.style.cssText}g&&b.setAttribute(c,""+e);b=!d.support.hrefNormalized&&f&&l?b.getAttribute(c,2):b.getAttribute(c);return b===null?D:b}return d.style(b,c,e)}});var za=/\.(.*)$/,Da=function(b){return b.replace(/[^\w\s\.\|`]/g,function(c){return"\\"+c})};d.event={add:function(b,c,e,f){if(!(b.nodeType===
34
- 3||b.nodeType===8)){if(b.setInterval&&b!==q&&!b.frameElement)b=q;var g,l;if(e.handler){g=e;e=g.handler}if(!e.guid)e.guid=d.guid++;if(l=d.data(b)){var m=l.events=l.events||{},w=l.handle;if(!w)l.handle=w=function(){return typeof d!=="undefined"&&!d.event.triggered?d.event.handle.apply(w.elem,arguments):D};w.elem=b;c=c.split(" ");for(var s,x=0,F;s=c[x++];){l=g?d.extend({},g):{handler:e,data:f};if(s.indexOf(".")>-1){F=s.split(".");s=F.shift();l.namespace=F.slice(0).sort().join(".")}else{F=[];l.namespace=
35
- ""}l.type=s;l.guid=e.guid;var V=m[s],ba=d.event.special[s]||{};if(!V){V=m[s]=[];if(!ba.setup||ba.setup.call(b,f,F,w)===false)if(b.addEventListener)b.addEventListener(s,w,false);else b.attachEvent&&b.attachEvent("on"+s,w)}if(ba.add){ba.add.call(b,l);if(!l.handler.guid)l.handler.guid=e.guid}V.push(l);d.event.global[s]=true}b=null}}},global:{},remove:function(b,c,e,f){if(!(b.nodeType===3||b.nodeType===8)){var g,l=0,m,w,s,x,F,V,ba=d.data(b),ga=ba&&ba.events;if(ba&&ga){if(c&&c.type){e=c.handler;c=c.type}if(!c||
36
- typeof c==="string"&&c.charAt(0)==="."){c=c||"";for(g in ga)d.event.remove(b,g+c)}else{for(c=c.split(" ");g=c[l++];){x=g;m=g.indexOf(".")<0;w=[];if(!m){w=g.split(".");g=w.shift();s=RegExp("(^|\\.)"+d.map(w.slice(0).sort(),Da).join("\\.(?:.*\\.)?")+"(\\.|$)")}if(F=ga[g])if(e){x=d.event.special[g]||{};for(da=f||0;da<F.length;da++){V=F[da];if(e.guid===V.guid){if(m||s.test(V.namespace)){f==null&&F.splice(da--,1);x.remove&&x.remove.call(b,V)}if(f!=null)break}}if(F.length===0||f!=null&&F.length===1){if(!x.teardown||
37
- x.teardown.call(b,w)===false)Ha(b,g,ba.handle);delete ga[g]}}else for(var da=0;da<F.length;da++){V=F[da];if(m||s.test(V.namespace)){d.event.remove(b,x,V.handler,da);F.splice(da--,1)}}}if(d.isEmptyObject(ga)){if(c=ba.handle)c.elem=null;delete ba.events;delete ba.handle;d.isEmptyObject(ba)&&d.removeData(b)}}}}},trigger:function(b,c,e,f){var g=b.type||b;if(!f){b=typeof b==="object"?b[ya]?b:d.extend(d.Event(g),b):d.Event(g);if(g.indexOf("!")>=0){b.type=g=g.slice(0,-1);b.exclusive=true}if(!e){b.stopPropagation();
38
- d.event.global[g]&&d.each(d.cache,function(){this.events&&this.events[g]&&d.event.trigger(b,c,this.handle.elem)})}if(!e||e.nodeType===3||e.nodeType===8)return D;b.result=D;b.target=e;c=d.makeArray(c);c.unshift(b)}b.currentTarget=e;(f=d.data(e,"handle"))&&f.apply(e,c);f=e.parentNode||e.ownerDocument;try{if(!(e&&e.nodeName&&d.noData[e.nodeName.toLowerCase()]))if(e["on"+g]&&e["on"+g].apply(e,c)===false)b.result=false}catch(l){}if(!b.isPropagationStopped()&&f)d.event.trigger(b,c,f,true);else if(!b.isDefaultPrevented()){f=
39
- b.target;var m,w=d.nodeName(f,"a")&&g==="click",s=d.event.special[g]||{};if((!s._default||s._default.call(e,b)===false)&&!w&&!(f&&f.nodeName&&d.noData[f.nodeName.toLowerCase()])){try{if(f[g]){if(m=f["on"+g])f["on"+g]=null;d.event.triggered=true;f[g]()}}catch(x){}if(m)f["on"+g]=m;d.event.triggered=false}}},handle:function(b){var c,e,f,g;b=arguments[0]=d.event.fix(b||q.event);b.currentTarget=this;c=b.type.indexOf(".")<0&&!b.exclusive;if(!c){e=b.type.split(".");b.type=e.shift();f=RegExp("(^|\\.)"+e.slice(0).sort().join("\\.(?:.*\\.)?")+
40
- "(\\.|$)")}g=d.data(this,"events");e=g[b.type];if(g&&e){e=e.slice(0);g=0;for(var l=e.length;g<l;g++){var m=e[g];if(c||f.test(m.namespace)){b.handler=m.handler;b.data=m.data;b.handleObj=m;m=m.handler.apply(this,arguments);if(m!==D){b.result=m;if(m===false){b.preventDefault();b.stopPropagation()}}if(b.isImmediatePropagationStopped())break}}}return b.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 originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),
41
- fix:function(b){if(b[ya])return b;var c=b;b=d.Event(c);for(var e=this.props.length,f;e;){f=this.props[--e];b[f]=c[f]}if(!b.target)b.target=b.srcElement||C;if(b.target.nodeType===3)b.target=b.target.parentNode;if(!b.relatedTarget&&b.fromElement)b.relatedTarget=b.fromElement===b.target?b.toElement:b.fromElement;if(b.pageX==null&&b.clientX!=null){c=C.documentElement;e=C.body;b.pageX=b.clientX+(c&&c.scrollLeft||e&&e.scrollLeft||0)-(c&&c.clientLeft||e&&e.clientLeft||0);b.pageY=b.clientY+(c&&c.scrollTop||
27
+ c){return L(this,b,c,true,d.attr)},removeAttr:function(b){return this.each(function(){d.attr(this,b,"");this.nodeType===1&&this.removeAttribute(b)})},addClass:function(b){if(d.isFunction(b))return this.each(function(x){var F=d(this);F.addClass(b.call(this,x,F.attr("class")))});if(b&&typeof b==="string")for(var c=(b||"").split(va),e=0,g=this.length;e<g;e++){var f=this[e];if(f.nodeType===1)if(f.className){for(var l=" "+f.className+" ",m=f.className,v=0,s=c.length;v<s;v++)if(l.indexOf(" "+c[v]+" ")<
28
+ 0)m+=" "+c[v];f.className=d.trim(m)}else f.className=b}return this},removeClass:function(b){if(d.isFunction(b))return this.each(function(s){var x=d(this);x.removeClass(b.call(this,s,x.attr("class")))});if(b&&typeof b==="string"||b===D)for(var c=(b||"").split(va),e=0,g=this.length;e<g;e++){var f=this[e];if(f.nodeType===1&&f.className)if(b){for(var l=(" "+f.className+" ").replace(Qa," "),m=0,v=c.length;m<v;m++)l=l.replace(" "+c[m]+" "," ");f.className=d.trim(l)}else f.className=""}return this},toggleClass:function(b,
29
+ c){var e=typeof b,g=typeof c==="boolean";if(d.isFunction(b))return this.each(function(f){var l=d(this);l.toggleClass(b.call(this,f,l.attr("class"),c),c)});return this.each(function(){if(e==="string")for(var f,l=0,m=d(this),v=c,s=b.split(va);f=s[l++];){v=g?v:!m.hasClass(f);m[v?"addClass":"removeClass"](f)}else if(e==="undefined"||e==="boolean"){this.className&&d.data(this,"__className__",this.className);this.className=this.className||b===false?"":d.data(this,"__className__")||""}})},hasClass:function(b){b=
30
+ " "+b+" ";for(var c=0,e=this.length;c<e;c++)if((" "+this[c].className+" ").replace(Qa," ").indexOf(b)>-1)return true;return false},val:function(b){if(b===D){var c=this[0];if(c){if(d.nodeName(c,"option"))return(c.attributes.value||{}).specified?c.value:c.text;if(d.nodeName(c,"select")){var e=c.selectedIndex,g=[],f=c.options;c=c.type==="select-one";if(e<0)return null;var l=c?e:0;for(e=c?e+1:f.length;l<e;l++){var m=f[l];if(m.selected){b=d(m).val();if(c)return b;g.push(b)}}return g}if(Ya.test(c.type)&&
31
+ !d.support.checkOn)return c.getAttribute("value")===null?"on":c.value;return(c.value||"").replace(Ca,"")}return D}var v=d.isFunction(b);return this.each(function(s){var x=d(this),F=b;if(this.nodeType===1){if(v)F=b.call(this,s,x.val());if(typeof F==="number")F+="";if(d.isArray(F)&&Ya.test(this.type))this.checked=d.inArray(x.val(),F)>=0;else if(d.nodeName(this,"select")){var U=d.makeArray(F);d("option",this).each(function(){this.selected=d.inArray(d(this).val(),U)>=0});if(!U.length)this.selectedIndex=
32
+ -1}else this.value=F}})}});d.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(b,c,e,g){if(!b||b.nodeType===3||b.nodeType===8)return D;if(g&&c in d.attrFn)return d(b)[c](e);g=b.nodeType!==1||!d.isXMLDoc(b);var f=e!==D;c=g&&d.props[c]||c;if(b.nodeType===1){var l=Sa.test(c);if(c in b&&g&&!l){if(f){c==="type"&&Wa.test(b.nodeName)&&b.parentNode&&d.error("type property can't be changed");b[c]=e}if(d.nodeName(b,"form")&&b.getAttributeNode(c))return b.getAttributeNode(c).nodeValue;
33
+ if(c==="tabIndex")return(c=b.getAttributeNode("tabIndex"))&&c.specified?c.value:Xa.test(b.nodeName)||db.test(b.nodeName)&&b.href?0:D;return b[c]}if(!d.support.style&&g&&c==="style"){if(f)b.style.cssText=""+e;return b.style.cssText}f&&b.setAttribute(c,""+e);b=!d.support.hrefNormalized&&g&&l?b.getAttribute(c,2):b.getAttribute(c);return b===null?D:b}return d.style(b,c,e)}});var za=/\.(.*)$/,Da=function(b){return b.replace(/[^\w\s\.\|`]/g,function(c){return"\\"+c})};d.event={add:function(b,c,e,g){if(!(b.nodeType===
34
+ 3||b.nodeType===8)){if(b.setInterval&&b!==q&&!b.frameElement)b=q;var f,l;if(e.handler){f=e;e=f.handler}if(!e.guid)e.guid=d.guid++;if(l=d.data(b)){var m=l.events=l.events||{},v=l.handle;if(!v)l.handle=v=function(){return typeof d!=="undefined"&&!d.event.triggered?d.event.handle.apply(v.elem,arguments):D};v.elem=b;c=c.split(" ");for(var s,x=0,F;s=c[x++];){l=f?d.extend({},f):{handler:e,data:g};if(s.indexOf(".")>-1){F=s.split(".");s=F.shift();l.namespace=F.slice(0).sort().join(".")}else{F=[];l.namespace=
35
+ ""}l.type=s;l.guid=e.guid;var U=m[s],ba=d.event.special[s]||{};if(!U){U=m[s]=[];if(!ba.setup||ba.setup.call(b,g,F,v)===false)if(b.addEventListener)b.addEventListener(s,v,false);else b.attachEvent&&b.attachEvent("on"+s,v)}if(ba.add){ba.add.call(b,l);if(!l.handler.guid)l.handler.guid=e.guid}U.push(l);d.event.global[s]=true}b=null}}},global:{},remove:function(b,c,e,g){if(!(b.nodeType===3||b.nodeType===8)){var f,l=0,m,v,s,x,F,U,ba=d.data(b),ga=ba&&ba.events;if(ba&&ga){if(c&&c.type){e=c.handler;c=c.type}if(!c||
36
+ typeof c==="string"&&c.charAt(0)==="."){c=c||"";for(f in ga)d.event.remove(b,f+c)}else{for(c=c.split(" ");f=c[l++];){x=f;m=f.indexOf(".")<0;v=[];if(!m){v=f.split(".");f=v.shift();s=RegExp("(^|\\.)"+d.map(v.slice(0).sort(),Da).join("\\.(?:.*\\.)?")+"(\\.|$)")}if(F=ga[f])if(e){x=d.event.special[f]||{};for(da=g||0;da<F.length;da++){U=F[da];if(e.guid===U.guid){if(m||s.test(U.namespace)){g==null&&F.splice(da--,1);x.remove&&x.remove.call(b,U)}if(g!=null)break}}if(F.length===0||g!=null&&F.length===1){if(!x.teardown||
37
+ x.teardown.call(b,v)===false)Ha(b,f,ba.handle);delete ga[f]}}else for(var da=0;da<F.length;da++){U=F[da];if(m||s.test(U.namespace)){d.event.remove(b,x,U.handler,da);F.splice(da--,1)}}}if(d.isEmptyObject(ga)){if(c=ba.handle)c.elem=null;delete ba.events;delete ba.handle;d.isEmptyObject(ba)&&d.removeData(b)}}}}},trigger:function(b,c,e,g){var f=b.type||b;if(!g){b=typeof b==="object"?b[ya]?b:d.extend(d.Event(f),b):d.Event(f);if(f.indexOf("!")>=0){b.type=f=f.slice(0,-1);b.exclusive=true}if(!e){b.stopPropagation();
38
+ d.event.global[f]&&d.each(d.cache,function(){this.events&&this.events[f]&&d.event.trigger(b,c,this.handle.elem)})}if(!e||e.nodeType===3||e.nodeType===8)return D;b.result=D;b.target=e;c=d.makeArray(c);c.unshift(b)}b.currentTarget=e;(g=d.data(e,"handle"))&&g.apply(e,c);g=e.parentNode||e.ownerDocument;try{if(!(e&&e.nodeName&&d.noData[e.nodeName.toLowerCase()]))if(e["on"+f]&&e["on"+f].apply(e,c)===false)b.result=false}catch(l){}if(!b.isPropagationStopped()&&g)d.event.trigger(b,c,g,true);else if(!b.isDefaultPrevented()){g=
39
+ b.target;var m,v=d.nodeName(g,"a")&&f==="click",s=d.event.special[f]||{};if((!s._default||s._default.call(e,b)===false)&&!v&&!(g&&g.nodeName&&d.noData[g.nodeName.toLowerCase()])){try{if(g[f]){if(m=g["on"+f])g["on"+f]=null;d.event.triggered=true;g[f]()}}catch(x){}if(m)g["on"+f]=m;d.event.triggered=false}}},handle:function(b){var c,e,g,f;b=arguments[0]=d.event.fix(b||q.event);b.currentTarget=this;c=b.type.indexOf(".")<0&&!b.exclusive;if(!c){e=b.type.split(".");b.type=e.shift();g=RegExp("(^|\\.)"+e.slice(0).sort().join("\\.(?:.*\\.)?")+
40
+ "(\\.|$)")}f=d.data(this,"events");e=f[b.type];if(f&&e){e=e.slice(0);f=0;for(var l=e.length;f<l;f++){var m=e[f];if(c||g.test(m.namespace)){b.handler=m.handler;b.data=m.data;b.handleObj=m;m=m.handler.apply(this,arguments);if(m!==D){b.result=m;if(m===false){b.preventDefault();b.stopPropagation()}}if(b.isImmediatePropagationStopped())break}}}return b.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 originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),
41
+ fix:function(b){if(b[ya])return b;var c=b;b=d.Event(c);for(var e=this.props.length,g;e;){g=this.props[--e];b[g]=c[g]}if(!b.target)b.target=b.srcElement||C;if(b.target.nodeType===3)b.target=b.target.parentNode;if(!b.relatedTarget&&b.fromElement)b.relatedTarget=b.fromElement===b.target?b.toElement:b.fromElement;if(b.pageX==null&&b.clientX!=null){c=C.documentElement;e=C.body;b.pageX=b.clientX+(c&&c.scrollLeft||e&&e.scrollLeft||0)-(c&&c.clientLeft||e&&e.clientLeft||0);b.pageY=b.clientY+(c&&c.scrollTop||
42
42
  e&&e.scrollTop||0)-(c&&c.clientTop||e&&e.clientTop||0)}if(!b.which&&(b.charCode||b.charCode===0?b.charCode:b.keyCode))b.which=b.charCode||b.keyCode;if(!b.metaKey&&b.ctrlKey)b.metaKey=b.ctrlKey;if(!b.which&&b.button!==D)b.which=b.button&1?1:b.button&2?3:b.button&4?2:0;return b},guid:1E8,proxy:d.proxy,special:{ready:{setup:d.bindReady,teardown:d.noop},live:{add:function(b){d.event.add(this,b.origType,d.extend({},b,{handler:K}))},remove:function(b){var c=true,e=b.origType.replace(za,"");d.each(d.data(this,
43
43
  "events").live||[],function(){if(e===this.origType.replace(za,""))return c=false});c&&d.event.remove(this,b.origType,K)}},beforeunload:{setup:function(b,c,e){if(this.setInterval)this.onbeforeunload=e;return false},teardown:function(b,c){if(this.onbeforeunload===c)this.onbeforeunload=null}}}};var Ha=C.removeEventListener?function(b,c,e){b.removeEventListener(c,e,false)}:function(b,c,e){b.detachEvent("on"+c,e)};d.Event=function(b){if(!this.preventDefault)return new d.Event(b);if(b&&b.type){this.originalEvent=
44
44
  b;this.type=b.type}else this.type=b;this.timeStamp=M();this[ya]=true};d.Event.prototype={preventDefault:function(){this.isDefaultPrevented=ea;var b=this.originalEvent;if(b){b.preventDefault&&b.preventDefault();b.returnValue=false}},stopPropagation:function(){this.isPropagationStopped=ea;var b=this.originalEvent;if(b){b.stopPropagation&&b.stopPropagation();b.cancelBubble=true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=ea;this.stopPropagation()},isDefaultPrevented:O,isPropagationStopped:O,
45
45
  isImmediatePropagationStopped:O};var Ia=function(b){var c=b.relatedTarget;try{for(;c&&c!==this;)c=c.parentNode;if(c!==this){b.type=b.data;d.event.handle.apply(this,arguments)}}catch(e){}},Za=function(b){b.type=b.data;d.event.handle.apply(this,arguments)};d.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(b,c){d.event.special[b]={setup:function(e){d.event.add(this,c,e&&e.selector?Za:Ia,b)},teardown:function(e){d.event.remove(this,c,e&&e.selector?Za:Ia)}}});if(!d.support.submitBubbles)d.event.special.submit=
46
- {setup:function(){if(this.nodeName.toLowerCase()!=="form"){d.event.add(this,"click.specialSubmit",function(b){var c=b.target,e=c.type;if((e==="submit"||e==="image")&&d(c).closest("form").length)return U("submit",this,arguments)});d.event.add(this,"keypress.specialSubmit",function(b){var c=b.target,e=c.type;if((e==="text"||e==="password")&&d(c).closest("form").length&&b.keyCode===13)return U("submit",this,arguments)})}else return false},teardown:function(){d.event.remove(this,".specialSubmit")}};if(!d.support.changeBubbles){var oa=
47
- /textarea|input|select/i,X,Ja=function(b){var c=b.type,e=b.value;if(c==="radio"||c==="checkbox")e=b.checked;else if(c==="select-multiple")e=b.selectedIndex>-1?d.map(b.options,function(f){return f.selected}).join("-"):"";else if(b.nodeName.toLowerCase()==="select")e=b.selectedIndex;return e},qa=function(b,c){var e=b.target,f,g;if(!(!oa.test(e.nodeName)||e.readOnly)){f=d.data(e,"_change_data");g=Ja(e);if(b.type!=="focusout"||e.type!=="radio")d.data(e,"_change_data",g);if(!(f===D||g===f))if(f!=null||
48
- g){b.type="change";return d.event.trigger(b,c,e)}}};d.event.special.change={filters:{focusout:qa,click:function(b){var c=b.target,e=c.type;if(e==="radio"||e==="checkbox"||c.nodeName.toLowerCase()==="select")return qa.call(this,b)},keydown:function(b){var c=b.target,e=c.type;if(b.keyCode===13&&c.nodeName.toLowerCase()!=="textarea"||b.keyCode===32&&(e==="checkbox"||e==="radio")||e==="select-multiple")return qa.call(this,b)},beforeactivate:function(b){b=b.target;d.data(b,"_change_data",Ja(b))}},setup:function(){if(this.type===
49
- "file")return false;for(var b in X)d.event.add(this,b+".specialChange",X[b]);return oa.test(this.nodeName)},teardown:function(){d.event.remove(this,".specialChange");return oa.test(this.nodeName)}};X=d.event.special.change.filters}C.addEventListener&&d.each({focus:"focusin",blur:"focusout"},function(b,c){function e(f){f=d.event.fix(f);f.type=c;return d.event.handle.call(this,f)}d.event.special[c]={setup:function(){this.addEventListener(b,e,true)},teardown:function(){this.removeEventListener(b,e,true)}}});
50
- d.each(["bind","one"],function(b,c){d.fn[c]=function(e,f,g){if(typeof e==="object"){for(var l in e)this[c](l,f,e[l],g);return this}if(d.isFunction(f)){g=f;f=D}var m=c==="one"?d.proxy(g,function(s){d(this).unbind(s,m);return g.apply(this,arguments)}):g;if(e==="unload"&&c!=="one")this.one(e,f,g);else{l=0;for(var w=this.length;l<w;l++)d.event.add(this[l],e,m,f)}return this}});d.fn.extend({unbind:function(b,c){if(typeof b==="object"&&!b.preventDefault)for(var e in b)this.unbind(e,b[e]);else{e=0;for(var f=
51
- this.length;e<f;e++)d.event.remove(this[e],b,c)}return this},delegate:function(b,c,e,f){return this.live(c,e,f,b)},undelegate:function(b,c,e){return arguments.length===0?this.unbind("live"):this.die(c,null,e,b)},trigger:function(b,c){return this.each(function(){d.event.trigger(b,c,this)})},triggerHandler:function(b,c){if(this[0]){var e=d.Event(b);e.preventDefault();e.stopPropagation();d.event.trigger(e,c,this[0]);return e.result}},toggle:function(b){for(var c=arguments,e=1;e<c.length;)d.proxy(b,c[e++]);
52
- return this.click(d.proxy(b,function(f){var g=(d.data(this,"lastToggle"+b.guid)||0)%e;d.data(this,"lastToggle"+b.guid,g+1);f.preventDefault();return c[g].apply(this,arguments)||false}))},hover:function(b,c){return this.mouseenter(b).mouseleave(c||b)}});var Ka={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};d.each(["live","die"],function(b,c){d.fn[c]=function(e,f,g,l){var m,w=0,s,x,F=l||this.selector,V=l?this:d(this.context);if(d.isFunction(f)){g=f;f=D}for(e=(e||"").split(" ");(m=
53
- e[w++])!=null;){l=za.exec(m);s="";if(l){s=l[0];m=m.replace(za,"")}if(m==="hover")e.push("mouseenter"+s,"mouseleave"+s);else{x=m;if(m==="focus"||m==="blur"){e.push(Ka[m]+s);m+=s}else m=(Ka[m]||m)+s;c==="live"?V.each(function(){d.event.add(this,la(m,F),{data:f,selector:F,handler:g,origType:m,origHandler:g,preType:x})}):V.unbind(la(m,F),g)}}return this}});d.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(" "),
46
+ {setup:function(){if(this.nodeName.toLowerCase()!=="form"){d.event.add(this,"click.specialSubmit",function(b){var c=b.target,e=c.type;if((e==="submit"||e==="image")&&d(c).closest("form").length)return V("submit",this,arguments)});d.event.add(this,"keypress.specialSubmit",function(b){var c=b.target,e=c.type;if((e==="text"||e==="password")&&d(c).closest("form").length&&b.keyCode===13)return V("submit",this,arguments)})}else return false},teardown:function(){d.event.remove(this,".specialSubmit")}};if(!d.support.changeBubbles){var oa=
47
+ /textarea|input|select/i,X,Ja=function(b){var c=b.type,e=b.value;if(c==="radio"||c==="checkbox")e=b.checked;else if(c==="select-multiple")e=b.selectedIndex>-1?d.map(b.options,function(g){return g.selected}).join("-"):"";else if(b.nodeName.toLowerCase()==="select")e=b.selectedIndex;return e},qa=function(b,c){var e=b.target,g,f;if(!(!oa.test(e.nodeName)||e.readOnly)){g=d.data(e,"_change_data");f=Ja(e);if(b.type!=="focusout"||e.type!=="radio")d.data(e,"_change_data",f);if(!(g===D||f===g))if(g!=null||
48
+ f){b.type="change";return d.event.trigger(b,c,e)}}};d.event.special.change={filters:{focusout:qa,click:function(b){var c=b.target,e=c.type;if(e==="radio"||e==="checkbox"||c.nodeName.toLowerCase()==="select")return qa.call(this,b)},keydown:function(b){var c=b.target,e=c.type;if(b.keyCode===13&&c.nodeName.toLowerCase()!=="textarea"||b.keyCode===32&&(e==="checkbox"||e==="radio")||e==="select-multiple")return qa.call(this,b)},beforeactivate:function(b){b=b.target;d.data(b,"_change_data",Ja(b))}},setup:function(){if(this.type===
49
+ "file")return false;for(var b in X)d.event.add(this,b+".specialChange",X[b]);return oa.test(this.nodeName)},teardown:function(){d.event.remove(this,".specialChange");return oa.test(this.nodeName)}};X=d.event.special.change.filters}C.addEventListener&&d.each({focus:"focusin",blur:"focusout"},function(b,c){function e(g){g=d.event.fix(g);g.type=c;return d.event.handle.call(this,g)}d.event.special[c]={setup:function(){this.addEventListener(b,e,true)},teardown:function(){this.removeEventListener(b,e,true)}}});
50
+ d.each(["bind","one"],function(b,c){d.fn[c]=function(e,g,f){if(typeof e==="object"){for(var l in e)this[c](l,g,e[l],f);return this}if(d.isFunction(g)){f=g;g=D}var m=c==="one"?d.proxy(f,function(s){d(this).unbind(s,m);return f.apply(this,arguments)}):f;if(e==="unload"&&c!=="one")this.one(e,g,f);else{l=0;for(var v=this.length;l<v;l++)d.event.add(this[l],e,m,g)}return this}});d.fn.extend({unbind:function(b,c){if(typeof b==="object"&&!b.preventDefault)for(var e in b)this.unbind(e,b[e]);else{e=0;for(var g=
51
+ this.length;e<g;e++)d.event.remove(this[e],b,c)}return this},delegate:function(b,c,e,g){return this.live(c,e,g,b)},undelegate:function(b,c,e){return arguments.length===0?this.unbind("live"):this.die(c,null,e,b)},trigger:function(b,c){return this.each(function(){d.event.trigger(b,c,this)})},triggerHandler:function(b,c){if(this[0]){var e=d.Event(b);e.preventDefault();e.stopPropagation();d.event.trigger(e,c,this[0]);return e.result}},toggle:function(b){for(var c=arguments,e=1;e<c.length;)d.proxy(b,c[e++]);
52
+ return this.click(d.proxy(b,function(g){var f=(d.data(this,"lastToggle"+b.guid)||0)%e;d.data(this,"lastToggle"+b.guid,f+1);g.preventDefault();return c[f].apply(this,arguments)||false}))},hover:function(b,c){return this.mouseenter(b).mouseleave(c||b)}});var Ka={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};d.each(["live","die"],function(b,c){d.fn[c]=function(e,g,f,l){var m,v=0,s,x,F=l||this.selector,U=l?this:d(this.context);if(d.isFunction(g)){f=g;g=D}for(e=(e||"").split(" ");(m=
53
+ e[v++])!=null;){l=za.exec(m);s="";if(l){s=l[0];m=m.replace(za,"")}if(m==="hover")e.push("mouseenter"+s,"mouseleave"+s);else{x=m;if(m==="focus"||m==="blur"){e.push(Ka[m]+s);m+=s}else m=(Ka[m]||m)+s;c==="live"?U.each(function(){d.event.add(this,la(m,F),{data:g,selector:F,handler:f,origType:m,origHandler:f,preType:x})}):U.unbind(la(m,F),f)}}return this}});d.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(" "),
54
54
  function(b,c){d.fn[c]=function(e){return e?this.bind(c,e):this.trigger(c)};if(d.attrFn)d.attrFn[c]=true});q.attachEvent&&!q.addEventListener&&q.attachEvent("onunload",function(){for(var b in d.cache)if(d.cache[b].handle)try{d.event.remove(d.cache[b].handle.elem)}catch(c){}});(function(){function b(i){for(var n="",t,u=0;i[u];u++){t=i[u];if(t.nodeType===3||t.nodeType===4)n+=t.nodeValue;else if(t.nodeType!==8)n+=b(t.childNodes)}return n}function c(i,n,t,u,z,y){z=0;for(var Q=u.length;z<Q;z++){var N=u[z];
55
- if(N){N=N[i];for(var Z=false;N;){if(N.sizcache===t){Z=u[N.sizset];break}if(N.nodeType===1&&!y){N.sizcache=t;N.sizset=z}if(N.nodeName.toLowerCase()===n){Z=N;break}N=N[i]}u[z]=Z}}}function e(i,n,t,u,z,y){z=0;for(var Q=u.length;z<Q;z++){var N=u[z];if(N){N=N[i];for(var Z=false;N;){if(N.sizcache===t){Z=u[N.sizset];break}if(N.nodeType===1){if(!y){N.sizcache=t;N.sizset=z}if(typeof n!=="string"){if(N===n){Z=true;break}}else if(s.filter(n,[N]).length>0){Z=N;break}}N=N[i]}u[z]=Z}}}var f=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,
56
- g=0,l=Object.prototype.toString,m=false,w=true;[0,0].sort(function(){w=false;return 0});var s=function(i,n,t,u){t=t||[];var z=n=n||C;if(n.nodeType!==1&&n.nodeType!==9)return[];if(!i||typeof i!=="string")return t;for(var y=[],Q,N,Z,$a,La=true,Ta=S(n),Ma=i;(f.exec(""),Q=f.exec(Ma))!==null;){Ma=Q[3];y.push(Q[1]);if(Q[2]){$a=Q[3];break}}if(y.length>1&&F.exec(i))if(y.length===2&&x.relative[y[0]])N=eb(y[0]+y[1],n);else for(N=x.relative[y[0]]?[n]:s(y.shift(),n);y.length;){i=y.shift();if(x.relative[i])i+=
55
+ if(N){N=N[i];for(var Z=false;N;){if(N.sizcache===t){Z=u[N.sizset];break}if(N.nodeType===1&&!y){N.sizcache=t;N.sizset=z}if(N.nodeName.toLowerCase()===n){Z=N;break}N=N[i]}u[z]=Z}}}function e(i,n,t,u,z,y){z=0;for(var Q=u.length;z<Q;z++){var N=u[z];if(N){N=N[i];for(var Z=false;N;){if(N.sizcache===t){Z=u[N.sizset];break}if(N.nodeType===1){if(!y){N.sizcache=t;N.sizset=z}if(typeof n!=="string"){if(N===n){Z=true;break}}else if(s.filter(n,[N]).length>0){Z=N;break}}N=N[i]}u[z]=Z}}}var g=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,
56
+ f=0,l=Object.prototype.toString,m=false,v=true;[0,0].sort(function(){v=false;return 0});var s=function(i,n,t,u){t=t||[];var z=n=n||C;if(n.nodeType!==1&&n.nodeType!==9)return[];if(!i||typeof i!=="string")return t;for(var y=[],Q,N,Z,$a,La=true,Ta=S(n),Ma=i;(g.exec(""),Q=g.exec(Ma))!==null;){Ma=Q[3];y.push(Q[1]);if(Q[2]){$a=Q[3];break}}if(y.length>1&&F.exec(i))if(y.length===2&&x.relative[y[0]])N=eb(y[0]+y[1],n);else for(N=x.relative[y[0]]?[n]:s(y.shift(),n);y.length;){i=y.shift();if(x.relative[i])i+=
57
57
  y.shift();N=eb(i,N)}else{if(!u&&y.length>1&&n.nodeType===9&&!Ta&&x.match.ID.test(y[0])&&!x.match.ID.test(y[y.length-1])){Q=s.find(y.shift(),n,Ta);n=Q.expr?s.filter(Q.expr,Q.set)[0]:Q.set[0]}if(n){Q=u?{expr:y.pop(),set:ba(u)}:s.find(y.pop(),y.length===1&&(y[0]==="~"||y[0]==="+")&&n.parentNode?n.parentNode:n,Ta);N=Q.expr?s.filter(Q.expr,Q.set):Q.set;if(y.length>0)Z=ba(N);else La=false;for(;y.length;){var ua=y.pop();Q=ua;if(x.relative[ua])Q=y.pop();else ua="";if(Q==null)Q=n;x.relative[ua](Z,Q,Ta)}}else Z=
58
- []}Z||(Z=N);Z||s.error(ua||i);if(l.call(Z)==="[object Array]")if(La)if(n&&n.nodeType===1)for(i=0;Z[i]!=null;i++){if(Z[i]&&(Z[i]===true||Z[i].nodeType===1&&ta(n,Z[i])))t.push(N[i])}else for(i=0;Z[i]!=null;i++)Z[i]&&Z[i].nodeType===1&&t.push(N[i]);else t.push.apply(t,Z);else ba(Z,t);if($a){s($a,z,t,u);s.uniqueSort(t)}return t};s.uniqueSort=function(i){if(da){m=w;i.sort(da);if(m)for(var n=1;n<i.length;n++)i[n]===i[n-1]&&i.splice(n--,1)}return i};s.matches=function(i,n){return s(i,null,null,n)};s.find=
58
+ []}Z||(Z=N);Z||s.error(ua||i);if(l.call(Z)==="[object Array]")if(La)if(n&&n.nodeType===1)for(i=0;Z[i]!=null;i++){if(Z[i]&&(Z[i]===true||Z[i].nodeType===1&&ta(n,Z[i])))t.push(N[i])}else for(i=0;Z[i]!=null;i++)Z[i]&&Z[i].nodeType===1&&t.push(N[i]);else t.push.apply(t,Z);else ba(Z,t);if($a){s($a,z,t,u);s.uniqueSort(t)}return t};s.uniqueSort=function(i){if(da){m=v;i.sort(da);if(m)for(var n=1;n<i.length;n++)i[n]===i[n-1]&&i.splice(n--,1)}return i};s.matches=function(i,n){return s(i,null,null,n)};s.find=
59
59
  function(i,n,t){var u,z;if(!i)return[];for(var y=0,Q=x.order.length;y<Q;y++){var N=x.order[y];if(z=x.leftMatch[N].exec(i)){var Z=z[1];z.splice(1,1);if(Z.substr(Z.length-1)!=="\\"){z[1]=(z[1]||"").replace(/\\/g,"");u=x.find[N](z,n,t);if(u!=null){i=i.replace(x.match[N],"");break}}}}u||(u=n.getElementsByTagName("*"));return{set:u,expr:i}};s.filter=function(i,n,t,u){for(var z=i,y=[],Q=n,N,Z,$a=n&&n[0]&&S(n[0]);i&&n.length;){for(var La in x.filter)if((N=x.leftMatch[La].exec(i))!=null&&N[2]){var Ta=x.filter[La],
60
60
  Ma,ua;ua=N[1];Z=false;N.splice(1,1);if(ua.substr(ua.length-1)!=="\\"){if(Q===y)y=[];if(x.preFilter[La])if(N=x.preFilter[La](N,Q,t,y,u,$a)){if(N===true)continue}else Z=Ma=true;if(N)for(var bb=0;(ua=Q[bb])!=null;bb++)if(ua){Ma=Ta(ua,N,bb,Q);var kb=u^!!Ma;if(t&&Ma!=null)if(kb)Z=true;else Q[bb]=false;else if(kb){y.push(ua);Z=true}}if(Ma!==D){t||(Q=y);i=i.replace(x.match[La],"");if(!Z)return[];break}}}if(i===z)if(Z==null)s.error(i);else break;z=i}return Q};s.error=function(i){throw"Syntax error, unrecognized expression: "+
61
61
  i;};var x=s.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|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},
62
62
  leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(i){return i.getAttribute("href")}},relative:{"+":function(i,n){var t=typeof n==="string",u=t&&!/\W/.test(n);t=t&&!u;if(u)n=n.toLowerCase();u=0;for(var z=i.length,y;u<z;u++)if(y=i[u]){for(;(y=y.previousSibling)&&y.nodeType!==1;);i[u]=t||y&&y.nodeName.toLowerCase()===n?y||false:y===n}t&&s.filter(n,i,true)},">":function(i,n){var t=typeof n==="string";if(t&&!/\W/.test(n)){n=n.toLowerCase();for(var u=0,z=i.length;u<z;u++){var y=
63
- i[u];if(y){t=y.parentNode;i[u]=t.nodeName.toLowerCase()===n?t:false}}}else{u=0;for(z=i.length;u<z;u++)if(y=i[u])i[u]=t?y.parentNode:y.parentNode===n;t&&s.filter(n,i,true)}},"":function(i,n,t){var u=g++,z=e;if(typeof n==="string"&&!/\W/.test(n)){var y=n=n.toLowerCase();z=c}z("parentNode",n,u,i,y,t)},"~":function(i,n,t){var u=g++,z=e;if(typeof n==="string"&&!/\W/.test(n)){var y=n=n.toLowerCase();z=c}z("previousSibling",n,u,i,y,t)}},find:{ID:function(i,n,t){if(typeof n.getElementById!=="undefined"&&
63
+ i[u];if(y){t=y.parentNode;i[u]=t.nodeName.toLowerCase()===n?t:false}}}else{u=0;for(z=i.length;u<z;u++)if(y=i[u])i[u]=t?y.parentNode:y.parentNode===n;t&&s.filter(n,i,true)}},"":function(i,n,t){var u=f++,z=e;if(typeof n==="string"&&!/\W/.test(n)){var y=n=n.toLowerCase();z=c}z("parentNode",n,u,i,y,t)},"~":function(i,n,t){var u=f++,z=e;if(typeof n==="string"&&!/\W/.test(n)){var y=n=n.toLowerCase();z=c}z("previousSibling",n,u,i,y,t)}},find:{ID:function(i,n,t){if(typeof n.getElementById!=="undefined"&&
64
64
  !t)return(i=n.getElementById(i[1]))?[i]:[]},NAME:function(i,n){if(typeof n.getElementsByName!=="undefined"){for(var t=[],u=n.getElementsByName(i[1]),z=0,y=u.length;z<y;z++)u[z].getAttribute("name")===i[1]&&t.push(u[z]);return t.length===0?null:t}},TAG:function(i,n){return n.getElementsByTagName(i[1])}},preFilter:{CLASS:function(i,n,t,u,z,y){i=" "+i[1].replace(/\\/g,"")+" ";if(y)return i;y=0;for(var Q;(Q=n[y])!=null;y++)if(Q)if(z^(Q.className&&(" "+Q.className+" ").replace(/[\t\n]/g," ").indexOf(i)>=
65
- 0))t||u.push(Q);else if(t)n[y]=false;return false},ID:function(i){return i[1].replace(/\\/g,"")},TAG:function(i){return i[1].toLowerCase()},CHILD:function(i){if(i[1]==="nth"){var n=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(i[2]==="even"&&"2n"||i[2]==="odd"&&"2n+1"||!/\D/.test(i[2])&&"0n+"+i[2]||i[2]);i[2]=n[1]+(n[2]||1)-0;i[3]=n[3]-0}i[0]=g++;return i},ATTR:function(i,n,t,u,z,y){n=i[1].replace(/\\/g,"");if(!y&&x.attrMap[n])i[1]=x.attrMap[n];if(i[2]==="~=")i[4]=" "+i[4]+" ";return i},PSEUDO:function(i,n,t,u,
66
- z){if(i[1]==="not")if((f.exec(i[3])||"").length>1||/^\w/.test(i[3]))i[3]=s(i[3],null,null,n);else{i=s.filter(i[3],n,t,true^z);t||u.push.apply(u,i);return false}else if(x.match.POS.test(i[0])||x.match.CHILD.test(i[0]))return true;return i},POS:function(i){i.unshift(true);return i}},filters:{enabled:function(i){return i.disabled===false&&i.type!=="hidden"},disabled:function(i){return i.disabled===true},checked:function(i){return i.checked===true},selected:function(i){return i.selected===true},parent:function(i){return!!i.firstChild},
65
+ 0))t||u.push(Q);else if(t)n[y]=false;return false},ID:function(i){return i[1].replace(/\\/g,"")},TAG:function(i){return i[1].toLowerCase()},CHILD:function(i){if(i[1]==="nth"){var n=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(i[2]==="even"&&"2n"||i[2]==="odd"&&"2n+1"||!/\D/.test(i[2])&&"0n+"+i[2]||i[2]);i[2]=n[1]+(n[2]||1)-0;i[3]=n[3]-0}i[0]=f++;return i},ATTR:function(i,n,t,u,z,y){n=i[1].replace(/\\/g,"");if(!y&&x.attrMap[n])i[1]=x.attrMap[n];if(i[2]==="~=")i[4]=" "+i[4]+" ";return i},PSEUDO:function(i,n,t,u,
66
+ z){if(i[1]==="not")if((g.exec(i[3])||"").length>1||/^\w/.test(i[3]))i[3]=s(i[3],null,null,n);else{i=s.filter(i[3],n,t,true^z);t||u.push.apply(u,i);return false}else if(x.match.POS.test(i[0])||x.match.CHILD.test(i[0]))return true;return i},POS:function(i){i.unshift(true);return i}},filters:{enabled:function(i){return i.disabled===false&&i.type!=="hidden"},disabled:function(i){return i.disabled===true},checked:function(i){return i.checked===true},selected:function(i){return i.selected===true},parent:function(i){return!!i.firstChild},
67
67
  empty:function(i){return!i.firstChild},has:function(i,n,t){return!!s(t[3],i).length},header:function(i){return/h\d/i.test(i.nodeName)},text:function(i){return"text"===i.type},radio:function(i){return"radio"===i.type},checkbox:function(i){return"checkbox"===i.type},file:function(i){return"file"===i.type},password:function(i){return"password"===i.type},submit:function(i){return"submit"===i.type},image:function(i){return"image"===i.type},reset:function(i){return"reset"===i.type},button:function(i){return"button"===
68
68
  i.type||i.nodeName.toLowerCase()==="button"},input:function(i){return/input|select|textarea|button/i.test(i.nodeName)}},setFilters:{first:function(i,n){return n===0},last:function(i,n,t,u){return n===u.length-1},even:function(i,n){return n%2===0},odd:function(i,n){return n%2===1},lt:function(i,n,t){return n<t[3]-0},gt:function(i,n,t){return n>t[3]-0},nth:function(i,n,t){return t[3]-0===n},eq:function(i,n,t){return t[3]-0===n}},filter:{PSEUDO:function(i,n,t,u){var z=n[1],y=x.filters[z];if(y)return y(i,
69
69
  t,n,u);else if(z==="contains")return(i.textContent||i.innerText||b([i])||"").indexOf(n[3])>=0;else if(z==="not"){n=n[3];t=0;for(u=n.length;t<u;t++)if(n[t]===i)return false;return true}else s.error("Syntax error, unrecognized expression: "+z)},CHILD:function(i,n){var t=n[1],u=i;switch(t){case "only":case "first":for(;u=u.previousSibling;)if(u.nodeType===1)return false;if(t==="first")return true;u=i;case "last":for(;u=u.nextSibling;)if(u.nodeType===1)return false;return true;case "nth":t=n[2];var z=
70
70
  n[3];if(t===1&&z===0)return true;var y=n[0],Q=i.parentNode;if(Q&&(Q.sizcache!==y||!i.nodeIndex)){var N=0;for(u=Q.firstChild;u;u=u.nextSibling)if(u.nodeType===1)u.nodeIndex=++N;Q.sizcache=y}u=i.nodeIndex-z;return t===0?u===0:u%t===0&&u/t>=0}},ID:function(i,n){return i.nodeType===1&&i.getAttribute("id")===n},TAG:function(i,n){return n==="*"&&i.nodeType===1||i.nodeName.toLowerCase()===n},CLASS:function(i,n){return(" "+(i.className||i.getAttribute("class"))+" ").indexOf(n)>-1},ATTR:function(i,n){var t=
71
- n[1];t=x.attrHandle[t]?x.attrHandle[t](i):i[t]!=null?i[t]:i.getAttribute(t);var u=t+"",z=n[2],y=n[4];return t==null?z==="!=":z==="="?u===y:z==="*="?u.indexOf(y)>=0:z==="~="?(" "+u+" ").indexOf(y)>=0:!y?u&&t!==false:z==="!="?u!==y:z==="^="?u.indexOf(y)===0:z==="$="?u.substr(u.length-y.length)===y:z==="|="?u===y||u.substr(0,y.length+1)===y+"-":false},POS:function(i,n,t,u){var z=x.setFilters[n[2]];if(z)return z(i,t,n,u)}}},F=x.match.POS;for(var V in x.match){x.match[V]=RegExp(x.match[V].source+/(?![^\[]*\])(?![^\(]*\))/.source);
72
- x.leftMatch[V]=RegExp(/(^(?:.|\r|\n)*?)/.source+x.match[V].source.replace(/\\(\d+)/g,function(i,n){return"\\"+(n-0+1)}))}var ba=function(i,n){i=Array.prototype.slice.call(i,0);if(n){n.push.apply(n,i);return n}return i};try{Array.prototype.slice.call(C.documentElement.childNodes,0)}catch(ga){ba=function(i,n){var t=n||[];if(l.call(i)==="[object Array]")Array.prototype.push.apply(t,i);else if(typeof i.length==="number")for(var u=0,z=i.length;u<z;u++)t.push(i[u]);else for(u=0;i[u];u++)t.push(i[u]);return t}}var da;
71
+ n[1];t=x.attrHandle[t]?x.attrHandle[t](i):i[t]!=null?i[t]:i.getAttribute(t);var u=t+"",z=n[2],y=n[4];return t==null?z==="!=":z==="="?u===y:z==="*="?u.indexOf(y)>=0:z==="~="?(" "+u+" ").indexOf(y)>=0:!y?u&&t!==false:z==="!="?u!==y:z==="^="?u.indexOf(y)===0:z==="$="?u.substr(u.length-y.length)===y:z==="|="?u===y||u.substr(0,y.length+1)===y+"-":false},POS:function(i,n,t,u){var z=x.setFilters[n[2]];if(z)return z(i,t,n,u)}}},F=x.match.POS,U;for(U in x.match){x.match[U]=RegExp(x.match[U].source+/(?![^\[]*\])(?![^\(]*\))/.source);
72
+ x.leftMatch[U]=RegExp(/(^(?:.|\r|\n)*?)/.source+x.match[U].source.replace(/\\(\d+)/g,function(i,n){return"\\"+(n-0+1)}))}var ba=function(i,n){i=Array.prototype.slice.call(i,0);if(n){n.push.apply(n,i);return n}return i};try{Array.prototype.slice.call(C.documentElement.childNodes,0)}catch(ga){ba=function(i,n){var t=n||[];if(l.call(i)==="[object Array]")Array.prototype.push.apply(t,i);else if(typeof i.length==="number")for(var u=0,z=i.length;u<z;u++)t.push(i[u]);else for(u=0;i[u];u++)t.push(i[u]);return t}}var da;
73
73
  if(C.documentElement.compareDocumentPosition)da=function(i,n){if(!i.compareDocumentPosition||!n.compareDocumentPosition){if(i==n)m=true;return i.compareDocumentPosition?-1:1}var t=i.compareDocumentPosition(n)&4?-1:i===n?0:1;if(t===0)m=true;return t};else if("sourceIndex"in C.documentElement)da=function(i,n){if(!i.sourceIndex||!n.sourceIndex){if(i==n)m=true;return i.sourceIndex?-1:1}var t=i.sourceIndex-n.sourceIndex;if(t===0)m=true;return t};else if(C.createRange)da=function(i,n){if(!i.ownerDocument||
74
74
  !n.ownerDocument){if(i==n)m=true;return i.ownerDocument?-1:1}var t=i.ownerDocument.createRange(),u=n.ownerDocument.createRange();t.setStart(i,0);t.setEnd(i,0);u.setStart(n,0);u.setEnd(n,0);t=t.compareBoundaryPoints(Range.START_TO_END,u);if(t===0)m=true;return t};(function(){var i=C.createElement("div"),n="script"+(new Date).getTime();i.innerHTML="<a name='"+n+"'/>";var t=C.documentElement;t.insertBefore(i,t.firstChild);if(C.getElementById(n)){x.find.ID=function(u,z,y){if(typeof z.getElementById!==
75
75
  "undefined"&&!y)return(z=z.getElementById(u[1]))?z.id===u[1]||typeof z.getAttributeNode!=="undefined"&&z.getAttributeNode("id").nodeValue===u[1]?[z]:D:[]};x.filter.ID=function(u,z){var y=typeof u.getAttributeNode!=="undefined"&&u.getAttributeNode("id");return u.nodeType===1&&y&&y.nodeValue===z}}t.removeChild(i);t=i=null})();(function(){var i=C.createElement("div");i.appendChild(C.createComment(""));if(i.getElementsByTagName("*").length>0)x.find.TAG=function(n,t){var u=t.getElementsByTagName(n[1]);
76
76
  if(n[1]==="*"){for(var z=[],y=0;u[y];y++)u[y].nodeType===1&&z.push(u[y]);u=z}return u};i.innerHTML="<a href='#'></a>";if(i.firstChild&&typeof i.firstChild.getAttribute!=="undefined"&&i.firstChild.getAttribute("href")!=="#")x.attrHandle.href=function(n){return n.getAttribute("href",2)};i=null})();C.querySelectorAll&&function(){var i=s,n=C.createElement("div");n.innerHTML="<p class='TEST'></p>";if(!(n.querySelectorAll&&n.querySelectorAll(".TEST").length===0)){s=function(u,z,y,Q){z=z||C;if(!Q&&z.nodeType===
77
77
  9&&!S(z))try{return ba(z.querySelectorAll(u),y)}catch(N){}return i(u,z,y,Q)};for(var t in i)s[t]=i[t];n=null}}();(function(){var i=C.createElement("div");i.innerHTML="<div class='test e'></div><div class='test'></div>";if(!(!i.getElementsByClassName||i.getElementsByClassName("e").length===0)){i.lastChild.className="e";if(i.getElementsByClassName("e").length!==1){x.order.splice(1,0,"CLASS");x.find.CLASS=function(n,t,u){if(typeof t.getElementsByClassName!=="undefined"&&!u)return t.getElementsByClassName(n[1])};
78
78
  i=null}}})();var ta=C.compareDocumentPosition?function(i,n){return!!(i.compareDocumentPosition(n)&16)}:function(i,n){return i!==n&&(i.contains?i.contains(n):true)},S=function(i){return(i=(i?i.ownerDocument||i:0).documentElement)?i.nodeName!=="HTML":false},eb=function(i,n){for(var t=[],u="",z,y=n.nodeType?[n]:n;z=x.match.PSEUDO.exec(i);){u+=z[0];i=i.replace(x.match.PSEUDO,"")}i=x.relative[i]?i+"*":i;z=0;for(var Q=y.length;z<Q;z++)s(i,y[z],t);return s.filter(u,t)};d.find=s;d.expr=s.selectors;d.expr[":"]=
79
- d.expr.filters;d.unique=s.uniqueSort;d.text=b;d.isXMLDoc=S;d.contains=ta})();var H=/Until$/,T=/^(?:parents|prevUntil|prevAll)/,h=/,/;Ba=Array.prototype.slice;var j=function(b,c,e){if(d.isFunction(c))return d.grep(b,function(g,l){return!!c.call(g,l,g)===e});else if(c.nodeType)return d.grep(b,function(g){return g===c===e});else if(typeof c==="string"){var f=d.grep(b,function(g){return g.nodeType===1});if(pa.test(c))return d.filter(c,f,!e);else c=d.filter(c,f)}return d.grep(b,function(g){return d.inArray(g,
80
- c)>=0===e})};d.fn.extend({find:function(b){for(var c=this.pushStack("","find",b),e=0,f=0,g=this.length;f<g;f++){e=c.length;d.find(b,this[f],c);if(f>0)for(var l=e;l<c.length;l++)for(var m=0;m<e;m++)if(c[m]===c[l]){c.splice(l--,1);break}}return c},has:function(b){var c=d(b);return this.filter(function(){for(var e=0,f=c.length;e<f;e++)if(d.contains(this,c[e]))return true})},not:function(b){return this.pushStack(j(this,b,false),"not",b)},filter:function(b){return this.pushStack(j(this,b,true),"filter",
81
- b)},is:function(b){return!!b&&d.filter(b,this).length>0},closest:function(b,c){if(d.isArray(b)){var e=[],f=this[0],g,l={},m;if(f&&b.length){g=0;for(var w=b.length;g<w;g++){m=b[g];l[m]||(l[m]=d.expr.match.POS.test(m)?d(m,c||this.context):m)}for(;f&&f.ownerDocument&&f!==c;){for(m in l){g=l[m];if(g.jquery?g.index(f)>-1:d(f).is(g)){e.push({selector:m,elem:f});delete l[m]}}f=f.parentNode}}return e}var s=d.expr.match.POS.test(b)?d(b,c||this.context):null;return this.map(function(x,F){for(;F&&F.ownerDocument&&
82
- F!==c;){if(s?s.index(F)>-1:d(F).is(b))return F;F=F.parentNode}return null})},index:function(b){if(!b||typeof b==="string")return d.inArray(this[0],b?d(b):this.parent().children());return d.inArray(b.jquery?b[0]:b,this)},add:function(b,c){var e=typeof b==="string"?d(b,c||this.context):d.makeArray(b),f=d.merge(this.get(),e);return this.pushStack(!e[0]||!e[0].parentNode||e[0].parentNode.nodeType===11||!f[0]||!f[0].parentNode||f[0].parentNode.nodeType===11?f:d.unique(f))},andSelf:function(){return this.add(this.prevObject)}});
79
+ d.expr.filters;d.unique=s.uniqueSort;d.text=b;d.isXMLDoc=S;d.contains=ta})();var H=/Until$/,T=/^(?:parents|prevUntil|prevAll)/,h=/,/;Ba=Array.prototype.slice;var j=function(b,c,e){if(d.isFunction(c))return d.grep(b,function(f,l){return!!c.call(f,l,f)===e});else if(c.nodeType)return d.grep(b,function(f){return f===c===e});else if(typeof c==="string"){var g=d.grep(b,function(f){return f.nodeType===1});if(pa.test(c))return d.filter(c,g,!e);else c=d.filter(c,g)}return d.grep(b,function(f){return d.inArray(f,
80
+ c)>=0===e})};d.fn.extend({find:function(b){for(var c=this.pushStack("","find",b),e=0,g=0,f=this.length;g<f;g++){e=c.length;d.find(b,this[g],c);if(g>0)for(var l=e;l<c.length;l++)for(var m=0;m<e;m++)if(c[m]===c[l]){c.splice(l--,1);break}}return c},has:function(b){var c=d(b);return this.filter(function(){for(var e=0,g=c.length;e<g;e++)if(d.contains(this,c[e]))return true})},not:function(b){return this.pushStack(j(this,b,false),"not",b)},filter:function(b){return this.pushStack(j(this,b,true),"filter",
81
+ b)},is:function(b){return!!b&&d.filter(b,this).length>0},closest:function(b,c){if(d.isArray(b)){var e=[],g=this[0],f,l={},m;if(g&&b.length){f=0;for(var v=b.length;f<v;f++){m=b[f];l[m]||(l[m]=d.expr.match.POS.test(m)?d(m,c||this.context):m)}for(;g&&g.ownerDocument&&g!==c;){for(m in l){f=l[m];if(f.jquery?f.index(g)>-1:d(g).is(f)){e.push({selector:m,elem:g});delete l[m]}}g=g.parentNode}}return e}var s=d.expr.match.POS.test(b)?d(b,c||this.context):null;return this.map(function(x,F){for(;F&&F.ownerDocument&&
82
+ F!==c;){if(s?s.index(F)>-1:d(F).is(b))return F;F=F.parentNode}return null})},index:function(b){if(!b||typeof b==="string")return d.inArray(this[0],b?d(b):this.parent().children());return d.inArray(b.jquery?b[0]:b,this)},add:function(b,c){var e=typeof b==="string"?d(b,c||this.context):d.makeArray(b),g=d.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:d.unique(g))},andSelf:function(){return this.add(this.prevObject)}});
83
83
  d.each({parent:function(b){return(b=b.parentNode)&&b.nodeType!==11?b:null},parents:function(b){return d.dir(b,"parentNode")},parentsUntil:function(b,c,e){return d.dir(b,"parentNode",e)},next:function(b){return d.nth(b,2,"nextSibling")},prev:function(b){return d.nth(b,2,"previousSibling")},nextAll:function(b){return d.dir(b,"nextSibling")},prevAll:function(b){return d.dir(b,"previousSibling")},nextUntil:function(b,c,e){return d.dir(b,"nextSibling",e)},prevUntil:function(b,c,e){return d.dir(b,"previousSibling",
84
- e)},siblings:function(b){return d.sibling(b.parentNode.firstChild,b)},children:function(b){return d.sibling(b.firstChild)},contents:function(b){return d.nodeName(b,"iframe")?b.contentDocument||b.contentWindow.document:d.makeArray(b.childNodes)}},function(b,c){d.fn[b]=function(e,f){var g=d.map(this,c,e);H.test(b)||(f=e);if(f&&typeof f==="string")g=d.filter(f,g);g=this.length>1?d.unique(g):g;if((this.length>1||h.test(f))&&T.test(b))g=g.reverse();return this.pushStack(g,b,Ba.call(arguments).join(","))}});
85
- d.extend({filter:function(b,c,e){if(e)b=":not("+b+")";return d.find.matches(b,c)},dir:function(b,c,e){var f=[];for(b=b[c];b&&b.nodeType!==9&&(e===D||b.nodeType!==1||!d(b).is(e));){b.nodeType===1&&f.push(b);b=b[c]}return f},nth:function(b,c,e){c=c||1;for(var f=0;b;b=b[e])if(b.nodeType===1&&++f===c)break;return b},sibling:function(b,c){for(var e=[];b;b=b.nextSibling)b.nodeType===1&&b!==c&&e.push(b);return e}});var k=/ jQuery\d+="(?:\d+|null)"/g,p=/^\s+/,r=/(<([\w:]+)[^>]*?)\/>/g,A=/^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i,
84
+ e)},siblings:function(b){return d.sibling(b.parentNode.firstChild,b)},children:function(b){return d.sibling(b.firstChild)},contents:function(b){return d.nodeName(b,"iframe")?b.contentDocument||b.contentWindow.document:d.makeArray(b.childNodes)}},function(b,c){d.fn[b]=function(e,g){var f=d.map(this,c,e);H.test(b)||(g=e);if(g&&typeof g==="string")f=d.filter(g,f);f=this.length>1?d.unique(f):f;if((this.length>1||h.test(g))&&T.test(b))f=f.reverse();return this.pushStack(f,b,Ba.call(arguments).join(","))}});
85
+ d.extend({filter:function(b,c,e){if(e)b=":not("+b+")";return d.find.matches(b,c)},dir:function(b,c,e){var g=[];for(b=b[c];b&&b.nodeType!==9&&(e===D||b.nodeType!==1||!d(b).is(e));){b.nodeType===1&&g.push(b);b=b[c]}return g},nth:function(b,c,e){c=c||1;for(var g=0;b;b=b[e])if(b.nodeType===1&&++g===c)break;return b},sibling:function(b,c){for(var e=[];b;b=b.nextSibling)b.nodeType===1&&b!==c&&e.push(b);return e}});var k=/ jQuery\d+="(?:\d+|null)"/g,p=/^\s+/,r=/(<([\w:]+)[^>]*?)\/>/g,A=/^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i,
86
86
  G=/<([\w:]+)/,B=/<tbody/i,J=/<|&#?\w+;/,E=/<script|<object|<embed|<option|<style/i,I=/checked\s*(?:[^=]|=\s*.checked.)/i,$=function(b,c,e){return A.test(e)?b:c+"></"+e+">"},aa={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,"",
87
87
  ""]};aa.optgroup=aa.option;aa.tbody=aa.tfoot=aa.colgroup=aa.caption=aa.thead;aa.th=aa.td;if(!d.support.htmlSerialize)aa._default=[1,"div<div>","</div>"];d.fn.extend({text:function(b){if(d.isFunction(b))return this.each(function(c){var e=d(this);e.text(b.call(this,c,e.text()))});if(typeof b!=="object"&&b!==D)return this.empty().append((this[0]&&this[0].ownerDocument||C).createTextNode(b));return d.text(this)},wrapAll:function(b){if(d.isFunction(b))return this.each(function(e){d(this).wrapAll(b.call(this,
88
88
  e))});if(this[0]){var c=d(b,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&c.insertBefore(this[0]);c.map(function(){for(var e=this;e.firstChild&&e.firstChild.nodeType===1;)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(b){if(d.isFunction(b))return this.each(function(c){d(this).wrapInner(b.call(this,c))});return this.each(function(){var c=d(this),e=c.contents();e.length?e.wrapAll(b):c.append(b)})},wrap:function(b){return this.each(function(){d(this).wrapAll(b)})},
89
89
  unwrap:function(){return this.parent().each(function(){d.nodeName(this,"body")||d(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,true,function(b){this.nodeType===1&&this.appendChild(b)})},prepend:function(){return this.domManip(arguments,true,function(b){this.nodeType===1&&this.insertBefore(b,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(c){this.parentNode.insertBefore(c,this)});else if(arguments.length){var b=
90
- d(arguments[0]);b.push.apply(b,this.toArray());return this.pushStack(b,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(c){this.parentNode.insertBefore(c,this.nextSibling)});else if(arguments.length){var b=this.pushStack(this,"after",arguments);b.push.apply(b,d(arguments[0]).toArray());return b}},remove:function(b,c){for(var e=0,f;(f=this[e])!=null;e++)if(!b||d.filter(b,[f]).length){if(!c&&f.nodeType===1){d.cleanData(f.getElementsByTagName("*"));
91
- d.cleanData([f])}f.parentNode&&f.parentNode.removeChild(f)}return this},empty:function(){for(var b=0,c;(c=this[b])!=null;b++)for(c.nodeType===1&&d.cleanData(c.getElementsByTagName("*"));c.firstChild;)c.removeChild(c.firstChild);return this},clone:function(b){var c=this.map(function(){if(!d.support.noCloneEvent&&!d.isXMLDoc(this)){var e=this.outerHTML,f=this.ownerDocument;if(!e){e=f.createElement("div");e.appendChild(this.cloneNode(true));e=e.innerHTML}return d.clean([e.replace(k,"").replace(/=([^="'>\s]+\/)>/g,
92
- '="$1">').replace(p,"")],f)[0]}else return this.cloneNode(true)});if(b===true){R(this,c);R(this.find("*"),c.find("*"))}return c},html:function(b){if(b===D)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(k,""):null;else if(typeof b==="string"&&!E.test(b)&&(d.support.leadingWhitespace||!p.test(b))&&!aa[(G.exec(b)||["",""])[1].toLowerCase()]){b=b.replace(r,$);try{for(var c=0,e=this.length;c<e;c++)if(this[c].nodeType===1){d.cleanData(this[c].getElementsByTagName("*"));this[c].innerHTML=
93
- b}}catch(f){this.empty().append(b)}}else d.isFunction(b)?this.each(function(g){var l=d(this),m=l.html();l.empty().append(function(){return b.call(this,g,m)})}):this.empty().append(b);return this},replaceWith:function(b){if(this[0]&&this[0].parentNode){if(d.isFunction(b))return this.each(function(c){var e=d(this),f=e.html();e.replaceWith(b.call(this,c,f))});if(typeof b!=="string")b=d(b).detach();return this.each(function(){var c=this.nextSibling,e=this.parentNode;d(this).remove();c?d(c).before(b):
94
- d(e).append(b)})}else return this.pushStack(d(d.isFunction(b)?b():b),"replaceWith",b)},detach:function(b){return this.remove(b,true)},domManip:function(b,c,e){var f,g,l=b[0],m=[],w;if(!d.support.checkClone&&arguments.length===3&&typeof l==="string"&&I.test(l))return this.each(function(){d(this).domManip(b,c,e,true)});if(d.isFunction(l))return this.each(function(x){var F=d(this);b[0]=l.call(this,x,c?F.html():D);F.domManip(b,c,e)});if(this[0]){f=l&&l.parentNode;f=d.support.parentNode&&f&&f.nodeType===
95
- 11&&f.childNodes.length===this.length?{fragment:f}:Aa(b,this,m);w=f.fragment;if(g=w.childNodes.length===1?w=w.firstChild:w.firstChild){c=c&&d.nodeName(g,"tr");g=0;for(var s=this.length;g<s;g++)e.call(c?d.nodeName(this[g],"table")?this[g].getElementsByTagName("tbody")[0]||this[g].appendChild(this[g].ownerDocument.createElement("tbody")):this[g]:this[g],g>0||f.cacheable||this.length>1?w.cloneNode(true):w)}m.length&&d.each(m,P)}return this}});d.fragments={};d.each({appendTo:"append",prependTo:"prepend",
96
- insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(b,c){d.fn[b]=function(e){var f=[];e=d(e);var g=this.length===1&&this[0].parentNode;if(g&&g.nodeType===11&&g.childNodes.length===1&&e.length===1){e[c](this[0]);return this}else{g=0;for(var l=e.length;g<l;g++){var m=(g>0?this.clone(true):this).get();d.fn[c].apply(d(e[g]),m);f=f.concat(m)}return this.pushStack(f,b,e.selector)}}});d.extend({clean:function(b,c,e,f){c=c||C;if(typeof c.createElement==="undefined")c=c.ownerDocument||
97
- c[0]&&c[0].ownerDocument||C;for(var g=[],l=0,m;(m=b[l])!=null;l++){if(typeof m==="number")m+="";if(m){if(typeof m==="string"&&!J.test(m))m=c.createTextNode(m);else if(typeof m==="string"){m=m.replace(r,$);var w=(G.exec(m)||["",""])[1].toLowerCase(),s=aa[w]||aa._default,x=s[0],F=c.createElement("div");for(F.innerHTML=s[1]+m+s[2];x--;)F=F.lastChild;if(!d.support.tbody){x=B.test(m);w=w==="table"&&!x?F.firstChild&&F.firstChild.childNodes:s[1]==="<table>"&&!x?F.childNodes:[];for(s=w.length-1;s>=0;--s)d.nodeName(w[s],
98
- "tbody")&&!w[s].childNodes.length&&w[s].parentNode.removeChild(w[s])}!d.support.leadingWhitespace&&p.test(m)&&F.insertBefore(c.createTextNode(p.exec(m)[0]),F.firstChild);m=F.childNodes}if(m.nodeType)g.push(m);else g=d.merge(g,m)}}if(e)for(l=0;g[l];l++)if(f&&d.nodeName(g[l],"script")&&(!g[l].type||g[l].type.toLowerCase()==="text/javascript"))f.push(g[l].parentNode?g[l].parentNode.removeChild(g[l]):g[l]);else{g[l].nodeType===1&&g.splice.apply(g,[l+1,0].concat(d.makeArray(g[l].getElementsByTagName("script"))));
99
- e.appendChild(g[l])}return g},cleanData:function(b){for(var c,e,f=d.cache,g=d.event.special,l=d.support.deleteExpando,m=0,w;(w=b[m])!=null;m++)if(e=w[d.expando]){c=f[e];if(c.events)for(var s in c.events)g[s]?d.event.remove(w,s):Ha(w,s,c.handle);if(l)delete w[d.expando];else w.removeAttribute&&w.removeAttribute(d.expando);delete f[e]}}});var ja=/z-?index|font-?weight|opacity|zoom|line-?height/i,ra=/alpha\([^)]*\)/,wa=/opacity=([^)]*)/,Ra=/float/i,fb=/-([a-z])/ig,mb=/([A-Z])/g,nb=/^-?\d+(?:px)?$/i,
100
- ob=/^-?\d/,pb={position:"absolute",visibility:"hidden",display:"block"},qb=["Left","Right"],rb=["Top","Bottom"],sb=C.defaultView&&C.defaultView.getComputedStyle,lb=d.support.cssFloat?"cssFloat":"styleFloat",gb=function(b,c){return c.toUpperCase()};d.fn.css=function(b,c){return L(this,b,c,true,function(e,f,g){if(g===D)return d.curCSS(e,f);if(typeof g==="number"&&!ja.test(f))g+="px";d.style(e,f,g)})};d.extend({style:function(b,c,e){if(!b||b.nodeType===3||b.nodeType===8)return D;if((c==="width"||c===
101
- "height")&&parseFloat(e)<0)e=D;var f=b.style||b,g=e!==D;if(!d.support.opacity&&c==="opacity"){if(g){f.zoom=1;c=parseInt(e,10)+""==="NaN"?"":"alpha(opacity="+e*100+")";b=f.filter||d.curCSS(b,"filter")||"";f.filter=ra.test(b)?b.replace(ra,c):c}return f.filter&&f.filter.indexOf("opacity=")>=0?parseFloat(wa.exec(f.filter)[1])/100+"":""}if(Ra.test(c))c=lb;c=c.replace(fb,gb);if(g)f[c]=e;return f[c]},css:function(b,c,e,f){if(c==="width"||c==="height"){var g,l=c==="width"?qb:rb;e=function(){g=c==="width"?
102
- b.offsetWidth:b.offsetHeight;f!=="border"&&d.each(l,function(){f||(g-=parseFloat(d.curCSS(b,"padding"+this,true))||0);if(f==="margin")g+=parseFloat(d.curCSS(b,"margin"+this,true))||0;else g-=parseFloat(d.curCSS(b,"border"+this+"Width",true))||0})};b.offsetWidth!==0?e():d.swap(b,pb,e);return Math.max(0,Math.round(g))}return d.curCSS(b,c,e)},curCSS:function(b,c,e){var f,g=b.style;if(!d.support.opacity&&c==="opacity"&&b.currentStyle){f=wa.test(b.currentStyle.filter||"")?parseFloat(RegExp.$1)/100+"":
103
- "";return f===""?"1":f}if(Ra.test(c))c=lb;if(!e&&g&&g[c])f=g[c];else if(sb){if(Ra.test(c))c="float";c=c.replace(mb,"-$1").toLowerCase();g=b.ownerDocument.defaultView;if(!g)return null;if(b=g.getComputedStyle(b,null))f=b.getPropertyValue(c);if(c==="opacity"&&f==="")f="1"}else if(b.currentStyle){e=c.replace(fb,gb);f=b.currentStyle[c]||b.currentStyle[e];if(!nb.test(f)&&ob.test(f)){c=g.left;var l=b.runtimeStyle.left;b.runtimeStyle.left=b.currentStyle.left;g.left=e==="fontSize"?"1em":f||0;f=g.pixelLeft+
104
- "px";g.left=c;b.runtimeStyle.left=l}}return f},swap:function(b,c,e){var f={};for(var g in c){f[g]=b.style[g];b.style[g]=c[g]}e.call(b);for(g in c)b.style[g]=f[g]}});if(d.expr&&d.expr.filters){d.expr.filters.hidden=function(b){var c=b.offsetWidth,e=b.offsetHeight,f=b.nodeName.toLowerCase()==="tr";return c===0&&e===0&&!f?true:c>0&&e>0&&!f?false:d.curCSS(b,"display")==="none"};d.expr.filters.visible=function(b){return!d.expr.filters.hidden(b)}}var tb=M(),ub=/<script(.|\s)*?\/script>/gi,vb=/select|textarea/i,
105
- wb=/color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week/i,Ua=/=\?(&|$)/,hb=/\?/,xb=/(\?|&)_=.*?(&|$)/,yb=/^(\w+:)?\/\/([^\/?#]+)/,zb=/%20/g,Ab=d.fn.load;d.fn.extend({load:function(b,c,e){if(typeof b!=="string")return Ab.call(this,b);else if(!this.length)return this;var f=b.indexOf(" ");if(f>=0){var g=b.slice(f,b.length);b=b.slice(0,f)}f="GET";if(c)if(d.isFunction(c)){e=c;c=null}else if(typeof c==="object"){c=d.param(c,d.ajaxSettings.traditional);f="POST"}var l=
106
- this;d.ajax({url:b,type:f,dataType:"html",data:c,complete:function(m,w){if(w==="success"||w==="notmodified")l.html(g?d("<div />").append(m.responseText.replace(ub,"")).find(g):m.responseText);e&&l.each(e,[m.responseText,w,m])}});return this},serialize:function(){return d.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?d.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||vb.test(this.nodeName)||
107
- wb.test(this.type))}).map(function(b,c){var e=d(this).val();return e==null?null:d.isArray(e)?d.map(e,function(f){return{name:c.name,value:f}}):{name:c.name,value:e}}).get()}});d.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(b,c){d.fn[c]=function(e){return this.bind(c,e)}});d.extend({get:function(b,c,e,f){if(d.isFunction(c)){f=f||e;e=c;c=null}return d.ajax({type:"GET",url:b,data:c,success:e,dataType:f})},getScript:function(b,c){return d.get(b,null,c,"script")},
108
- getJSON:function(b,c,e){return d.get(b,c,e,"json")},post:function(b,c,e,f){if(d.isFunction(c)){f=f||e;e=c;c={}}return d.ajax({type:"POST",url:b,data:c,success:e,dataType:f})},ajaxSetup:function(b){d.extend(d.ajaxSettings,b)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:q.XMLHttpRequest&&(q.location.protocol!=="file:"||!q.ActiveXObject)?function(){return new q.XMLHttpRequest}:function(){try{return new q.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}},
109
- accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},etag:{},ajax:function(b){function c(){g.success&&g.success.call(s,w,m,S);g.global&&f("ajaxSuccess",[S,g])}function e(){g.complete&&g.complete.call(s,S,m);g.global&&f("ajaxComplete",[S,g]);g.global&&!--d.active&&d.event.trigger("ajaxStop")}function f(z,y){(g.context?d(g.context):d.event).trigger(z,y)}var g=
110
- d.extend(true,{},d.ajaxSettings,b),l,m,w,s=b&&b.context||g,x=g.type.toUpperCase();if(g.data&&g.processData&&typeof g.data!=="string")g.data=d.param(g.data,g.traditional);if(g.dataType==="jsonp"){if(x==="GET")Ua.test(g.url)||(g.url+=(hb.test(g.url)?"&":"?")+(g.jsonp||"callback")+"=?");else if(!g.data||!Ua.test(g.data))g.data=(g.data?g.data+"&":"")+(g.jsonp||"callback")+"=?";g.dataType="json"}if(g.dataType==="json"&&(g.data&&Ua.test(g.data)||Ua.test(g.url))){l=g.jsonpCallback||"jsonp"+tb++;if(g.data)g.data=
111
- (g.data+"").replace(Ua,"="+l+"$1");g.url=g.url.replace(Ua,"="+l+"$1");g.dataType="script";q[l]=q[l]||function(z){w=z;c();e();q[l]=D;try{delete q[l]}catch(y){}ba&&ba.removeChild(ga)}}if(g.dataType==="script"&&g.cache===null)g.cache=false;if(g.cache===false&&x==="GET"){var F=M(),V=g.url.replace(xb,"$1_="+F+"$2");g.url=V+(V===g.url?(hb.test(g.url)?"&":"?")+"_="+F:"")}if(g.data&&x==="GET")g.url+=(hb.test(g.url)?"&":"?")+g.data;g.global&&!d.active++&&d.event.trigger("ajaxStart");F=(F=yb.exec(g.url))&&
112
- (F[1]&&F[1]!==location.protocol||F[2]!==location.host);if(g.dataType==="script"&&x==="GET"&&F){var ba=C.getElementsByTagName("head")[0]||C.documentElement,ga=C.createElement("script");ga.src=g.url;if(g.scriptCharset)ga.charset=g.scriptCharset;if(!l){var da=false;ga.onload=ga.onreadystatechange=function(){if(!da&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){da=true;c();e();ga.onload=ga.onreadystatechange=null;ba&&ga.parentNode&&ba.removeChild(ga)}}}ba.insertBefore(ga,
113
- ba.firstChild);return D}var ta=false,S=g.xhr();if(S){g.username?S.open(x,g.url,g.async,g.username,g.password):S.open(x,g.url,g.async);try{if(g.data||b&&b.contentType)S.setRequestHeader("Content-Type",g.contentType);if(g.ifModified){d.lastModified[g.url]&&S.setRequestHeader("If-Modified-Since",d.lastModified[g.url]);d.etag[g.url]&&S.setRequestHeader("If-None-Match",d.etag[g.url])}F||S.setRequestHeader("X-Requested-With","XMLHttpRequest");S.setRequestHeader("Accept",g.dataType&&g.accepts[g.dataType]?
114
- g.accepts[g.dataType]+", */*":g.accepts._default)}catch(eb){}if(g.beforeSend&&g.beforeSend.call(s,S,g)===false){g.global&&!--d.active&&d.event.trigger("ajaxStop");S.abort();return false}g.global&&f("ajaxSend",[S,g]);var i=S.onreadystatechange=function(z){if(!S||S.readyState===0||z==="abort"){ta||e();ta=true;if(S)S.onreadystatechange=d.noop}else if(!ta&&S&&(S.readyState===4||z==="timeout")){ta=true;S.onreadystatechange=d.noop;m=z==="timeout"?"timeout":!d.httpSuccess(S)?"error":g.ifModified&&d.httpNotModified(S,
115
- g.url)?"notmodified":"success";var y;if(m==="success")try{w=d.httpData(S,g.dataType,g)}catch(Q){m="parsererror";y=Q}if(m==="success"||m==="notmodified")l||c();else d.handleError(g,S,m,y);e();z==="timeout"&&S.abort();if(g.async)S=null}};try{var n=S.abort;S.abort=function(){S&&n.call(S);i("abort")}}catch(t){}g.async&&g.timeout>0&&setTimeout(function(){S&&!ta&&i("timeout")},g.timeout);try{S.send(x==="POST"||x==="PUT"||x==="DELETE"?g.data:null)}catch(u){d.handleError(g,S,null,u);e()}g.async||i();return S}},
116
- handleError:function(b,c,e,f){if(b.error)b.error.call(b.context||b,c,e,f);if(b.global)(b.context?d(b.context):d.event).trigger("ajaxError",[c,b,f])},active:0,httpSuccess:function(b){try{return!b.status&&location.protocol==="file:"||b.status>=200&&b.status<300||b.status===304||b.status===1223||b.status===0}catch(c){}return false},httpNotModified:function(b,c){var e=b.getResponseHeader("Last-Modified"),f=b.getResponseHeader("Etag");if(e)d.lastModified[c]=e;if(f)d.etag[c]=f;return b.status===304||b.status===
117
- 0},httpData:function(b,c,e){var f=b.getResponseHeader("content-type")||"",g=c==="xml"||!c&&f.indexOf("xml")>=0;b=g?b.responseXML:b.responseText;g&&b.documentElement.nodeName==="parsererror"&&d.error("parsererror");if(e&&e.dataFilter)b=e.dataFilter(b,c);if(typeof b==="string")if(c==="json"||!c&&f.indexOf("json")>=0)b=d.parseJSON(b);else if(c==="script"||!c&&f.indexOf("javascript")>=0)d.globalEval(b);return b},param:function(b,c){function e(m,w){if(d.isArray(w))d.each(w,function(s,x){c||/\[\]$/.test(m)?
118
- f(m,x):e(m+"["+(typeof x==="object"||d.isArray(x)?s:"")+"]",x)});else!c&&w!=null&&typeof w==="object"?d.each(w,function(s,x){e(m+"["+s+"]",x)}):f(m,w)}function f(m,w){w=d.isFunction(w)?w():w;g[g.length]=encodeURIComponent(m)+"="+encodeURIComponent(w)}var g=[];if(c===D)c=d.ajaxSettings.traditional;if(d.isArray(b)||b.jquery)d.each(b,function(){f(this.name,this.value)});else for(var l in b)e(l,b[l]);return g.join("&").replace(zb,"+")}});var ib={},Bb=/toggle|show|hide/,Cb=/^([+-]=)?([\d+-.]+)(.*)$/,cb,
119
- jb=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];d.fn.extend({show:function(b,c){if(b||b===0)return this.animate(ca("show",3),b,c);else{for(var e=0,f=this.length;e<f;e++){var g=d.data(this[e],"olddisplay");this[e].style.display=g||"";if(d.css(this[e],"display")==="none"){g=this[e].nodeName;var l;if(ib[g])l=ib[g];else{var m=d("<"+g+" />").appendTo("body");l=m.css("display");if(l==="none")l="block";
120
- m.remove();ib[g]=l}d.data(this[e],"olddisplay",l)}}e=0;for(f=this.length;e<f;e++)this[e].style.display=d.data(this[e],"olddisplay")||"";return this}},hide:function(b,c){if(b||b===0)return this.animate(ca("hide",3),b,c);else{for(var e=0,f=this.length;e<f;e++){var g=d.data(this[e],"olddisplay");!g&&g!=="none"&&d.data(this[e],"olddisplay",d.css(this[e],"display"))}e=0;for(f=this.length;e<f;e++)this[e].style.display="none";return this}},_toggle:d.fn.toggle,toggle:function(b,c){var e=typeof b==="boolean";
121
- if(d.isFunction(b)&&d.isFunction(c))this._toggle.apply(this,arguments);else b==null||e?this.each(function(){var f=e?b:d(this).is(":hidden");d(this)[f?"show":"hide"]()}):this.animate(ca("toggle",3),b,c);return this},fadeTo:function(b,c,e){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:c},b,e)},animate:function(b,c,e,f){var g=d.speed(c,e,f);if(d.isEmptyObject(b))return this.each(g.complete);return this[g.queue===false?"each":"queue"](function(){var l=d.extend({},g),m,w=
122
- this.nodeType===1&&d(this).is(":hidden"),s=this;for(m in b){var x=m.replace(fb,gb);if(m!==x){b[x]=b[m];delete b[m];m=x}if(b[m]==="hide"&&w||b[m]==="show"&&!w)return l.complete.call(this);if((m==="height"||m==="width")&&this.style){l.display=d.css(this,"display");l.overflow=this.style.overflow}if(d.isArray(b[m])){(l.specialEasing=l.specialEasing||{})[m]=b[m][1];b[m]=b[m][0]}}if(l.overflow!=null)this.style.overflow="hidden";l.curAnim=d.extend({},b);d.each(b,function(F,V){var ba=new d.fx(s,l,F);if(Bb.test(V))ba[V===
123
- "toggle"?w?"show":"hide":V](b);else{var ga=Cb.exec(V),da=ba.cur(true)||0;if(ga){var ta=parseFloat(ga[2]),S=ga[3]||"px";if(S!=="px"){s.style[F]=(ta||1)+S;da=(ta||1)/ba.cur(true)*da;s.style[F]=da+S}if(ga[1])ta=(ga[1]==="-="?-1:1)*ta+da;ba.custom(da,ta,S)}else ba.custom(da,V,"")}});return true})},stop:function(b,c){var e=d.timers;b&&this.queue([]);this.each(function(){for(var f=e.length-1;f>=0;f--)if(e[f].elem===this){c&&e[f](true);e.splice(f,1)}});c||this.dequeue();return this}});d.each({slideDown:ca("show",
124
- 1),slideUp:ca("hide",1),slideToggle:ca("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(b,c){d.fn[b]=function(e,f){return this.animate(c,e,f)}});d.extend({speed:function(b,c,e){var f=b&&typeof b==="object"?b:{complete:e||!e&&c||d.isFunction(b)&&b,duration:b,easing:e&&c||c&&!d.isFunction(c)&&c};f.duration=d.fx.off?0:typeof f.duration==="number"?f.duration:d.fx.speeds[f.duration]||d.fx.speeds._default;f.old=f.complete;f.complete=function(){f.queue!==false&&d(this).dequeue();d.isFunction(f.old)&&
125
- f.old.call(this)};return f},easing:{linear:function(b,c,e,f){return e+f*b},swing:function(b,c,e,f){return(-Math.cos(b*Math.PI)/2+0.5)*f+e}},timers:[],fx:function(b,c,e){this.options=c;this.elem=b;this.prop=e;if(!c.orig)c.orig={}}});d.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(d.fx.step[this.prop]||d.fx.step._default)(this);if((this.prop==="height"||this.prop==="width")&&this.elem.style)this.elem.style.display="block"},cur:function(b){if(this.elem[this.prop]!=
126
- null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];return(b=parseFloat(d.css(this.elem,this.prop,b)))&&b>-10000?b:parseFloat(d.curCSS(this.elem,this.prop))||0},custom:function(b,c,e){function f(l){return g.step(l)}this.startTime=M();this.start=b;this.end=c;this.unit=e||this.unit||"px";this.now=this.start;this.pos=this.state=0;var g=this;f.elem=this.elem;if(f()&&d.timers.push(f)&&!cb)cb=setInterval(d.fx.tick,13)},show:function(){this.options.orig[this.prop]=d.style(this.elem,
127
- this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());d(this.elem).show()},hide:function(){this.options.orig[this.prop]=d.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(b){var c=M(),e=true;if(b||c>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;for(var f in this.options.curAnim)if(this.options.curAnim[f]!==true)e=false;if(e){if(this.options.display!=
128
- null){this.elem.style.overflow=this.options.overflow;b=d.data(this.elem,"olddisplay");this.elem.style.display=b?b:this.options.display;if(d.css(this.elem,"display")==="none")this.elem.style.display="block"}this.options.hide&&d(this.elem).hide();if(this.options.hide||this.options.show)for(var g in this.options.curAnim)d.style(this.elem,g,this.options.orig[g]);this.options.complete.call(this.elem)}return false}else{g=c-this.startTime;this.state=g/this.options.duration;b=this.options.easing||(d.easing.swing?
129
- "swing":"linear");this.pos=d.easing[this.options.specialEasing&&this.options.specialEasing[this.prop]||b](this.state,g,0,1,this.options.duration);this.now=this.start+(this.end-this.start)*this.pos;this.update()}return true}};d.extend(d.fx,{tick:function(){for(var b=d.timers,c=0;c<b.length;c++)b[c]()||b.splice(c--,1);b.length||d.fx.stop()},stop:function(){clearInterval(cb);cb=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(b){d.style(b.elem,"opacity",b.now)},_default:function(b){if(b.elem.style&&
130
- b.elem.style[b.prop]!=null)b.elem.style[b.prop]=(b.prop==="width"||b.prop==="height"?Math.max(0,b.now):b.now)+b.unit;else b.elem[b.prop]=b.now}}});if(d.expr&&d.expr.filters)d.expr.filters.animated=function(b){return d.grep(d.timers,function(c){return b===c.elem}).length};d.fn.offset="getBoundingClientRect"in C.documentElement?function(b){var c=this[0];if(b)return this.each(function(g){d.offset.setOffset(this,b,g)});if(!c||!c.ownerDocument)return null;if(c===c.ownerDocument.body)return d.offset.bodyOffset(c);
131
- var e=c.getBoundingClientRect(),f=c.ownerDocument;c=f.body;f=f.documentElement;return{top:e.top+(self.pageYOffset||d.support.boxModel&&f.scrollTop||c.scrollTop)-(f.clientTop||c.clientTop||0),left:e.left+(self.pageXOffset||d.support.boxModel&&f.scrollLeft||c.scrollLeft)-(f.clientLeft||c.clientLeft||0)}}:function(b){var c=this[0];if(b)return this.each(function(F){d.offset.setOffset(this,b,F)});if(!c||!c.ownerDocument)return null;if(c===c.ownerDocument.body)return d.offset.bodyOffset(c);d.offset.initialize();
132
- var e=c.offsetParent,f=c,g=c.ownerDocument,l,m=g.documentElement,w=g.body;f=(g=g.defaultView)?g.getComputedStyle(c,null):c.currentStyle;for(var s=c.offsetTop,x=c.offsetLeft;(c=c.parentNode)&&c!==w&&c!==m;){if(d.offset.supportsFixedPosition&&f.position==="fixed")break;l=g?g.getComputedStyle(c,null):c.currentStyle;s-=c.scrollTop;x-=c.scrollLeft;if(c===e){s+=c.offsetTop;x+=c.offsetLeft;if(d.offset.doesNotAddBorder&&!(d.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(c.nodeName))){s+=parseFloat(l.borderTopWidth)||
133
- 0;x+=parseFloat(l.borderLeftWidth)||0}f=e;e=c.offsetParent}if(d.offset.subtractsBorderForOverflowNotVisible&&l.overflow!=="visible"){s+=parseFloat(l.borderTopWidth)||0;x+=parseFloat(l.borderLeftWidth)||0}f=l}if(f.position==="relative"||f.position==="static"){s+=w.offsetTop;x+=w.offsetLeft}if(d.offset.supportsFixedPosition&&f.position==="fixed"){s+=Math.max(m.scrollTop,w.scrollTop);x+=Math.max(m.scrollLeft,w.scrollLeft)}return{top:s,left:x}};d.offset={initialize:function(){var b=C.body,c=C.createElement("div"),
134
- e,f,g,l=parseFloat(d.curCSS(b,"marginTop",true))||0;d.extend(c.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"});c.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>";b.insertBefore(c,b.firstChild);
135
- e=c.firstChild;f=e.firstChild;g=e.nextSibling.firstChild.firstChild;this.doesNotAddBorder=f.offsetTop!==5;this.doesAddBorderForTableAndCells=g.offsetTop===5;f.style.position="fixed";f.style.top="20px";this.supportsFixedPosition=f.offsetTop===20||f.offsetTop===15;f.style.position=f.style.top="";e.style.overflow="hidden";e.style.position="relative";this.subtractsBorderForOverflowNotVisible=f.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=b.offsetTop!==l;b.removeChild(c);d.offset.initialize=d.noop},
136
- bodyOffset:function(b){var c=b.offsetTop,e=b.offsetLeft;d.offset.initialize();if(d.offset.doesNotIncludeMarginInBodyOffset){c+=parseFloat(d.curCSS(b,"marginTop",true))||0;e+=parseFloat(d.curCSS(b,"marginLeft",true))||0}return{top:c,left:e}},setOffset:function(b,c,e){if(/static/.test(d.curCSS(b,"position")))b.style.position="relative";var f=d(b),g=f.offset(),l=parseInt(d.curCSS(b,"top",true),10)||0,m=parseInt(d.curCSS(b,"left",true),10)||0;if(d.isFunction(c))c=c.call(b,e,g);e={top:c.top-g.top+l,left:c.left-
137
- g.left+m};"using"in c?c.using.call(b,e):f.css(e)}};d.fn.extend({position:function(){if(!this[0])return null;var b=this[0],c=this.offsetParent(),e=this.offset(),f=/^body|html$/i.test(c[0].nodeName)?{top:0,left:0}:c.offset();e.top-=parseFloat(d.curCSS(b,"marginTop",true))||0;e.left-=parseFloat(d.curCSS(b,"marginLeft",true))||0;f.top+=parseFloat(d.curCSS(c[0],"borderTopWidth",true))||0;f.left+=parseFloat(d.curCSS(c[0],"borderLeftWidth",true))||0;return{top:e.top-f.top,left:e.left-f.left}},offsetParent:function(){return this.map(function(){for(var b=
138
- this.offsetParent||C.body;b&&!/^body|html$/i.test(b.nodeName)&&d.css(b,"position")==="static";)b=b.offsetParent;return b})}});d.each(["Left","Top"],function(b,c){var e="scroll"+c;d.fn[e]=function(f){var g=this[0],l;if(!g)return null;if(f!==D)return this.each(function(){if(l=Y(this))l.scrollTo(!b?f:d(l).scrollLeft(),b?f:d(l).scrollTop());else this[e]=f});else return(l=Y(g))?"pageXOffset"in l?l[b?"pageYOffset":"pageXOffset"]:d.support.boxModel&&l.document.documentElement[e]||l.document.body[e]:g[e]}});
139
- d.each(["Height","Width"],function(b,c){var e=c.toLowerCase();d.fn["inner"+c]=function(){return this[0]?d.css(this[0],e,false,"padding"):null};d.fn["outer"+c]=function(f){return this[0]?d.css(this[0],e,false,f?"margin":"border"):null};d.fn[e]=function(f){var g=this[0];if(!g)return f==null?null:this;if(d.isFunction(f))return this.each(function(l){var m=d(this);m[e](f.call(this,l,m[e]()))});return"scrollTo"in g&&g.document?g.document.compatMode==="CSS1Compat"&&g.document.documentElement["client"+c]||
140
- g.document.body["client"+c]:g.nodeType===9?Math.max(g.documentElement["client"+c],g.body["scroll"+c],g.documentElement["scroll"+c],g.body["offset"+c],g.documentElement["offset"+c]):f===D?d.css(g,e):this.css(e,typeof f==="string"?f:f+"px")}});q.jQuery=q.$=d})(window);
141
- jQuery.cookie=function(q,D,v){if(arguments.length>1&&(D===null||typeof D!=="object")){v=jQuery.extend({},v);if(D===null)v.expires=-1;if(typeof v.expires==="number"){var P=v.expires,L=v.expires=new Date;L.setDate(L.getDate()+P)}return document.cookie=[encodeURIComponent(q),"=",v.raw?String(D):encodeURIComponent(String(D)),v.expires?"; expires="+v.expires.toUTCString():"",v.path?"; path="+v.path:"",v.domain?"; domain="+v.domain:"",v.secure?"; secure":""].join("")}v=D||{};L=v.raw?function(M){return M}:
90
+ d(arguments[0]);b.push.apply(b,this.toArray());return this.pushStack(b,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(c){this.parentNode.insertBefore(c,this.nextSibling)});else if(arguments.length){var b=this.pushStack(this,"after",arguments);b.push.apply(b,d(arguments[0]).toArray());return b}},remove:function(b,c){for(var e=0,g;(g=this[e])!=null;e++)if(!b||d.filter(b,[g]).length){if(!c&&g.nodeType===1){d.cleanData(g.getElementsByTagName("*"));
91
+ d.cleanData([g])}g.parentNode&&g.parentNode.removeChild(g)}return this},empty:function(){for(var b=0,c;(c=this[b])!=null;b++)for(c.nodeType===1&&d.cleanData(c.getElementsByTagName("*"));c.firstChild;)c.removeChild(c.firstChild);return this},clone:function(b){var c=this.map(function(){if(!d.support.noCloneEvent&&!d.isXMLDoc(this)){var e=this.outerHTML,g=this.ownerDocument;if(!e){e=g.createElement("div");e.appendChild(this.cloneNode(true));e=e.innerHTML}return d.clean([e.replace(k,"").replace(/=([^="'>\s]+\/)>/g,
92
+ '="$1">').replace(p,"")],g)[0]}else return this.cloneNode(true)});if(b===true){R(this,c);R(this.find("*"),c.find("*"))}return c},html:function(b){if(b===D)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(k,""):null;else if(typeof b==="string"&&!E.test(b)&&(d.support.leadingWhitespace||!p.test(b))&&!aa[(G.exec(b)||["",""])[1].toLowerCase()]){b=b.replace(r,$);try{for(var c=0,e=this.length;c<e;c++)if(this[c].nodeType===1){d.cleanData(this[c].getElementsByTagName("*"));this[c].innerHTML=
93
+ b}}catch(g){this.empty().append(b)}}else d.isFunction(b)?this.each(function(f){var l=d(this),m=l.html();l.empty().append(function(){return b.call(this,f,m)})}):this.empty().append(b);return this},replaceWith:function(b){if(this[0]&&this[0].parentNode){if(d.isFunction(b))return this.each(function(c){var e=d(this),g=e.html();e.replaceWith(b.call(this,c,g))});if(typeof b!=="string")b=d(b).detach();return this.each(function(){var c=this.nextSibling,e=this.parentNode;d(this).remove();c?d(c).before(b):
94
+ d(e).append(b)})}else return this.pushStack(d(d.isFunction(b)?b():b),"replaceWith",b)},detach:function(b){return this.remove(b,true)},domManip:function(b,c,e){var g,f,l=b[0],m=[],v;if(!d.support.checkClone&&arguments.length===3&&typeof l==="string"&&I.test(l))return this.each(function(){d(this).domManip(b,c,e,true)});if(d.isFunction(l))return this.each(function(x){var F=d(this);b[0]=l.call(this,x,c?F.html():D);F.domManip(b,c,e)});if(this[0]){g=l&&l.parentNode;g=d.support.parentNode&&g&&g.nodeType===
95
+ 11&&g.childNodes.length===this.length?{fragment:g}:Aa(b,this,m);v=g.fragment;if(f=v.childNodes.length===1?v=v.firstChild:v.firstChild){c=c&&d.nodeName(f,"tr");f=0;for(var s=this.length;f<s;f++)e.call(c?d.nodeName(this[f],"table")?this[f].getElementsByTagName("tbody")[0]||this[f].appendChild(this[f].ownerDocument.createElement("tbody")):this[f]:this[f],f>0||g.cacheable||this.length>1?v.cloneNode(true):v)}m.length&&d.each(m,P)}return this}});d.fragments={};d.each({appendTo:"append",prependTo:"prepend",
96
+ insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(b,c){d.fn[b]=function(e){var g=[];e=d(e);var f=this.length===1&&this[0].parentNode;if(f&&f.nodeType===11&&f.childNodes.length===1&&e.length===1){e[c](this[0]);return this}else{f=0;for(var l=e.length;f<l;f++){var m=(f>0?this.clone(true):this).get();d.fn[c].apply(d(e[f]),m);g=g.concat(m)}return this.pushStack(g,b,e.selector)}}});d.extend({clean:function(b,c,e,g){c=c||C;if(typeof c.createElement==="undefined")c=c.ownerDocument||
97
+ c[0]&&c[0].ownerDocument||C;for(var f=[],l=0,m;(m=b[l])!=null;l++){if(typeof m==="number")m+="";if(m){if(typeof m==="string"&&!J.test(m))m=c.createTextNode(m);else if(typeof m==="string"){m=m.replace(r,$);var v=(G.exec(m)||["",""])[1].toLowerCase(),s=aa[v]||aa._default,x=s[0],F=c.createElement("div");for(F.innerHTML=s[1]+m+s[2];x--;)F=F.lastChild;if(!d.support.tbody){x=B.test(m);v=v==="table"&&!x?F.firstChild&&F.firstChild.childNodes:s[1]==="<table>"&&!x?F.childNodes:[];for(s=v.length-1;s>=0;--s)d.nodeName(v[s],
98
+ "tbody")&&!v[s].childNodes.length&&v[s].parentNode.removeChild(v[s])}!d.support.leadingWhitespace&&p.test(m)&&F.insertBefore(c.createTextNode(p.exec(m)[0]),F.firstChild);m=F.childNodes}if(m.nodeType)f.push(m);else f=d.merge(f,m)}}if(e)for(l=0;f[l];l++)if(g&&d.nodeName(f[l],"script")&&(!f[l].type||f[l].type.toLowerCase()==="text/javascript"))g.push(f[l].parentNode?f[l].parentNode.removeChild(f[l]):f[l]);else{f[l].nodeType===1&&f.splice.apply(f,[l+1,0].concat(d.makeArray(f[l].getElementsByTagName("script"))));
99
+ e.appendChild(f[l])}return f},cleanData:function(b){for(var c,e,g=d.cache,f=d.event.special,l=d.support.deleteExpando,m=0,v;(v=b[m])!=null;m++)if(e=v[d.expando]){c=g[e];if(c.events)for(var s in c.events)f[s]?d.event.remove(v,s):Ha(v,s,c.handle);if(l)delete v[d.expando];else v.removeAttribute&&v.removeAttribute(d.expando);delete g[e]}}});var ja=/z-?index|font-?weight|opacity|zoom|line-?height/i,ra=/alpha\([^)]*\)/,wa=/opacity=([^)]*)/,Ra=/float/i,fb=/-([a-z])/ig,mb=/([A-Z])/g,nb=/^-?\d+(?:px)?$/i,
100
+ ob=/^-?\d/,pb={position:"absolute",visibility:"hidden",display:"block"},qb=["Left","Right"],rb=["Top","Bottom"],sb=C.defaultView&&C.defaultView.getComputedStyle,lb=d.support.cssFloat?"cssFloat":"styleFloat",gb=function(b,c){return c.toUpperCase()};d.fn.css=function(b,c){return L(this,b,c,true,function(e,g,f){if(f===D)return d.curCSS(e,g);if(typeof f==="number"&&!ja.test(g))f+="px";d.style(e,g,f)})};d.extend({style:function(b,c,e){if(!b||b.nodeType===3||b.nodeType===8)return D;if((c==="width"||c===
101
+ "height")&&parseFloat(e)<0)e=D;var g=b.style||b,f=e!==D;if(!d.support.opacity&&c==="opacity"){if(f){g.zoom=1;c=parseInt(e,10)+""==="NaN"?"":"alpha(opacity="+e*100+")";b=g.filter||d.curCSS(b,"filter")||"";g.filter=ra.test(b)?b.replace(ra,c):c}return g.filter&&g.filter.indexOf("opacity=")>=0?parseFloat(wa.exec(g.filter)[1])/100+"":""}if(Ra.test(c))c=lb;c=c.replace(fb,gb);if(f)g[c]=e;return g[c]},css:function(b,c,e,g){if(c==="width"||c==="height"){var f,l=c==="width"?qb:rb;e=function(){f=c==="width"?
102
+ b.offsetWidth:b.offsetHeight;g!=="border"&&d.each(l,function(){g||(f-=parseFloat(d.curCSS(b,"padding"+this,true))||0);if(g==="margin")f+=parseFloat(d.curCSS(b,"margin"+this,true))||0;else f-=parseFloat(d.curCSS(b,"border"+this+"Width",true))||0})};b.offsetWidth!==0?e():d.swap(b,pb,e);return Math.max(0,Math.round(f))}return d.curCSS(b,c,e)},curCSS:function(b,c,e){var g,f=b.style;if(!d.support.opacity&&c==="opacity"&&b.currentStyle){g=wa.test(b.currentStyle.filter||"")?parseFloat(RegExp.$1)/100+"":
103
+ "";return g===""?"1":g}if(Ra.test(c))c=lb;if(!e&&f&&f[c])g=f[c];else if(sb){if(Ra.test(c))c="float";c=c.replace(mb,"-$1").toLowerCase();f=b.ownerDocument.defaultView;if(!f)return null;if(b=f.getComputedStyle(b,null))g=b.getPropertyValue(c);if(c==="opacity"&&g==="")g="1"}else if(b.currentStyle){e=c.replace(fb,gb);g=b.currentStyle[c]||b.currentStyle[e];if(!nb.test(g)&&ob.test(g)){c=f.left;var l=b.runtimeStyle.left;b.runtimeStyle.left=b.currentStyle.left;f.left=e==="fontSize"?"1em":g||0;g=f.pixelLeft+
104
+ "px";f.left=c;b.runtimeStyle.left=l}}return g},swap:function(b,c,e){var g={},f;for(f in c){g[f]=b.style[f];b.style[f]=c[f]}e.call(b);for(f in c)b.style[f]=g[f]}});if(d.expr&&d.expr.filters){d.expr.filters.hidden=function(b){var c=b.offsetWidth,e=b.offsetHeight,g=b.nodeName.toLowerCase()==="tr";return c===0&&e===0&&!g?true:c>0&&e>0&&!g?false:d.curCSS(b,"display")==="none"};d.expr.filters.visible=function(b){return!d.expr.filters.hidden(b)}}var tb=M(),ub=/<script(.|\s)*?\/script>/gi,vb=/select|textarea/i,
105
+ wb=/color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week/i,Ua=/=\?(&|$)/,hb=/\?/,xb=/(\?|&)_=.*?(&|$)/,yb=/^(\w+:)?\/\/([^\/?#]+)/,zb=/%20/g,Ab=d.fn.load;d.fn.extend({load:function(b,c,e){if(typeof b!=="string")return Ab.call(this,b);else if(!this.length)return this;var g=b.indexOf(" ");if(g>=0){var f=b.slice(g,b.length);b=b.slice(0,g)}g="GET";if(c)if(d.isFunction(c)){e=c;c=null}else if(typeof c==="object"){c=d.param(c,d.ajaxSettings.traditional);g="POST"}var l=
106
+ this;d.ajax({url:b,type:g,dataType:"html",data:c,complete:function(m,v){if(v==="success"||v==="notmodified")l.html(f?d("<div />").append(m.responseText.replace(ub,"")).find(f):m.responseText);e&&l.each(e,[m.responseText,v,m])}});return this},serialize:function(){return d.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?d.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||vb.test(this.nodeName)||
107
+ wb.test(this.type))}).map(function(b,c){var e=d(this).val();return e==null?null:d.isArray(e)?d.map(e,function(g){return{name:c.name,value:g}}):{name:c.name,value:e}}).get()}});d.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(b,c){d.fn[c]=function(e){return this.bind(c,e)}});d.extend({get:function(b,c,e,g){if(d.isFunction(c)){g=g||e;e=c;c=null}return d.ajax({type:"GET",url:b,data:c,success:e,dataType:g})},getScript:function(b,c){return d.get(b,null,c,"script")},
108
+ getJSON:function(b,c,e){return d.get(b,c,e,"json")},post:function(b,c,e,g){if(d.isFunction(c)){g=g||e;e=c;c={}}return d.ajax({type:"POST",url:b,data:c,success:e,dataType:g})},ajaxSetup:function(b){d.extend(d.ajaxSettings,b)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:q.XMLHttpRequest&&(q.location.protocol!=="file:"||!q.ActiveXObject)?function(){return new q.XMLHttpRequest}:function(){try{return new q.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}},
109
+ accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},etag:{},ajax:function(b){function c(){f.success&&f.success.call(s,v,m,S);f.global&&g("ajaxSuccess",[S,f])}function e(){f.complete&&f.complete.call(s,S,m);f.global&&g("ajaxComplete",[S,f]);f.global&&!--d.active&&d.event.trigger("ajaxStop")}function g(z,y){(f.context?d(f.context):d.event).trigger(z,y)}var f=
110
+ d.extend(true,{},d.ajaxSettings,b),l,m,v,s=b&&b.context||f,x=f.type.toUpperCase();if(f.data&&f.processData&&typeof f.data!=="string")f.data=d.param(f.data,f.traditional);if(f.dataType==="jsonp"){if(x==="GET")Ua.test(f.url)||(f.url+=(hb.test(f.url)?"&":"?")+(f.jsonp||"callback")+"=?");else if(!f.data||!Ua.test(f.data))f.data=(f.data?f.data+"&":"")+(f.jsonp||"callback")+"=?";f.dataType="json"}if(f.dataType==="json"&&(f.data&&Ua.test(f.data)||Ua.test(f.url))){l=f.jsonpCallback||"jsonp"+tb++;if(f.data)f.data=
111
+ (f.data+"").replace(Ua,"="+l+"$1");f.url=f.url.replace(Ua,"="+l+"$1");f.dataType="script";q[l]=q[l]||function(z){v=z;c();e();q[l]=D;try{delete q[l]}catch(y){}ba&&ba.removeChild(ga)}}if(f.dataType==="script"&&f.cache===null)f.cache=false;if(f.cache===false&&x==="GET"){var F=M(),U=f.url.replace(xb,"$1_="+F+"$2");f.url=U+(U===f.url?(hb.test(f.url)?"&":"?")+"_="+F:"")}if(f.data&&x==="GET")f.url+=(hb.test(f.url)?"&":"?")+f.data;f.global&&!d.active++&&d.event.trigger("ajaxStart");F=(F=yb.exec(f.url))&&
112
+ (F[1]&&F[1]!==location.protocol||F[2]!==location.host);if(f.dataType==="script"&&x==="GET"&&F){var ba=C.getElementsByTagName("head")[0]||C.documentElement,ga=C.createElement("script");ga.src=f.url;if(f.scriptCharset)ga.charset=f.scriptCharset;if(!l){var da=false;ga.onload=ga.onreadystatechange=function(){if(!da&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){da=true;c();e();ga.onload=ga.onreadystatechange=null;ba&&ga.parentNode&&ba.removeChild(ga)}}}ba.insertBefore(ga,
113
+ ba.firstChild);return D}var ta=false,S=f.xhr();if(S){f.username?S.open(x,f.url,f.async,f.username,f.password):S.open(x,f.url,f.async);try{if(f.data||b&&b.contentType)S.setRequestHeader("Content-Type",f.contentType);if(f.ifModified){d.lastModified[f.url]&&S.setRequestHeader("If-Modified-Since",d.lastModified[f.url]);d.etag[f.url]&&S.setRequestHeader("If-None-Match",d.etag[f.url])}F||S.setRequestHeader("X-Requested-With","XMLHttpRequest");S.setRequestHeader("Accept",f.dataType&&f.accepts[f.dataType]?
114
+ f.accepts[f.dataType]+", */*":f.accepts._default)}catch(eb){}if(f.beforeSend&&f.beforeSend.call(s,S,f)===false){f.global&&!--d.active&&d.event.trigger("ajaxStop");S.abort();return false}f.global&&g("ajaxSend",[S,f]);var i=S.onreadystatechange=function(z){if(!S||S.readyState===0||z==="abort"){ta||e();ta=true;if(S)S.onreadystatechange=d.noop}else if(!ta&&S&&(S.readyState===4||z==="timeout")){ta=true;S.onreadystatechange=d.noop;m=z==="timeout"?"timeout":!d.httpSuccess(S)?"error":f.ifModified&&d.httpNotModified(S,
115
+ f.url)?"notmodified":"success";var y;if(m==="success")try{v=d.httpData(S,f.dataType,f)}catch(Q){m="parsererror";y=Q}if(m==="success"||m==="notmodified")l||c();else d.handleError(f,S,m,y);e();z==="timeout"&&S.abort();if(f.async)S=null}};try{var n=S.abort;S.abort=function(){S&&n.call(S);i("abort")}}catch(t){}f.async&&f.timeout>0&&setTimeout(function(){S&&!ta&&i("timeout")},f.timeout);try{S.send(x==="POST"||x==="PUT"||x==="DELETE"?f.data:null)}catch(u){d.handleError(f,S,null,u);e()}f.async||i();return S}},
116
+ handleError:function(b,c,e,g){if(b.error)b.error.call(b.context||b,c,e,g);if(b.global)(b.context?d(b.context):d.event).trigger("ajaxError",[c,b,g])},active:0,httpSuccess:function(b){try{return!b.status&&location.protocol==="file:"||b.status>=200&&b.status<300||b.status===304||b.status===1223||b.status===0}catch(c){}return false},httpNotModified:function(b,c){var e=b.getResponseHeader("Last-Modified"),g=b.getResponseHeader("Etag");if(e)d.lastModified[c]=e;if(g)d.etag[c]=g;return b.status===304||b.status===
117
+ 0},httpData:function(b,c,e){var g=b.getResponseHeader("content-type")||"",f=c==="xml"||!c&&g.indexOf("xml")>=0;b=f?b.responseXML:b.responseText;f&&b.documentElement.nodeName==="parsererror"&&d.error("parsererror");if(e&&e.dataFilter)b=e.dataFilter(b,c);if(typeof b==="string")if(c==="json"||!c&&g.indexOf("json")>=0)b=d.parseJSON(b);else if(c==="script"||!c&&g.indexOf("javascript")>=0)d.globalEval(b);return b},param:function(b,c){function e(m,v){if(d.isArray(v))d.each(v,function(s,x){c||/\[\]$/.test(m)?
118
+ g(m,x):e(m+"["+(typeof x==="object"||d.isArray(x)?s:"")+"]",x)});else!c&&v!=null&&typeof v==="object"?d.each(v,function(s,x){e(m+"["+s+"]",x)}):g(m,v)}function g(m,v){v=d.isFunction(v)?v():v;f[f.length]=encodeURIComponent(m)+"="+encodeURIComponent(v)}var f=[];if(c===D)c=d.ajaxSettings.traditional;if(d.isArray(b)||b.jquery)d.each(b,function(){g(this.name,this.value)});else for(var l in b)e(l,b[l]);return f.join("&").replace(zb,"+")}});var ib={},Bb=/toggle|show|hide/,Cb=/^([+-]=)?([\d+-.]+)(.*)$/,cb,
119
+ jb=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];d.fn.extend({show:function(b,c){if(b||b===0)return this.animate(ca("show",3),b,c);else{for(var e=0,g=this.length;e<g;e++){var f=d.data(this[e],"olddisplay");this[e].style.display=f||"";if(d.css(this[e],"display")==="none"){f=this[e].nodeName;var l;if(ib[f])l=ib[f];else{var m=d("<"+f+" />").appendTo("body");l=m.css("display");if(l==="none")l="block";
120
+ m.remove();ib[f]=l}d.data(this[e],"olddisplay",l)}}e=0;for(g=this.length;e<g;e++)this[e].style.display=d.data(this[e],"olddisplay")||"";return this}},hide:function(b,c){if(b||b===0)return this.animate(ca("hide",3),b,c);else{for(var e=0,g=this.length;e<g;e++){var f=d.data(this[e],"olddisplay");!f&&f!=="none"&&d.data(this[e],"olddisplay",d.css(this[e],"display"))}e=0;for(g=this.length;e<g;e++)this[e].style.display="none";return this}},_toggle:d.fn.toggle,toggle:function(b,c){var e=typeof b==="boolean";
121
+ if(d.isFunction(b)&&d.isFunction(c))this._toggle.apply(this,arguments);else b==null||e?this.each(function(){var g=e?b:d(this).is(":hidden");d(this)[g?"show":"hide"]()}):this.animate(ca("toggle",3),b,c);return this},fadeTo:function(b,c,e){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:c},b,e)},animate:function(b,c,e,g){var f=d.speed(c,e,g);if(d.isEmptyObject(b))return this.each(f.complete);return this[f.queue===false?"each":"queue"](function(){var l=d.extend({},f),m,v=
122
+ this.nodeType===1&&d(this).is(":hidden"),s=this;for(m in b){var x=m.replace(fb,gb);if(m!==x){b[x]=b[m];delete b[m];m=x}if(b[m]==="hide"&&v||b[m]==="show"&&!v)return l.complete.call(this);if((m==="height"||m==="width")&&this.style){l.display=d.css(this,"display");l.overflow=this.style.overflow}if(d.isArray(b[m])){(l.specialEasing=l.specialEasing||{})[m]=b[m][1];b[m]=b[m][0]}}if(l.overflow!=null)this.style.overflow="hidden";l.curAnim=d.extend({},b);d.each(b,function(F,U){var ba=new d.fx(s,l,F);if(Bb.test(U))ba[U===
123
+ "toggle"?v?"show":"hide":U](b);else{var ga=Cb.exec(U),da=ba.cur(true)||0;if(ga){var ta=parseFloat(ga[2]),S=ga[3]||"px";if(S!=="px"){s.style[F]=(ta||1)+S;da=(ta||1)/ba.cur(true)*da;s.style[F]=da+S}if(ga[1])ta=(ga[1]==="-="?-1:1)*ta+da;ba.custom(da,ta,S)}else ba.custom(da,U,"")}});return true})},stop:function(b,c){var e=d.timers;b&&this.queue([]);this.each(function(){for(var g=e.length-1;g>=0;g--)if(e[g].elem===this){c&&e[g](true);e.splice(g,1)}});c||this.dequeue();return this}});d.each({slideDown:ca("show",
124
+ 1),slideUp:ca("hide",1),slideToggle:ca("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(b,c){d.fn[b]=function(e,g){return this.animate(c,e,g)}});d.extend({speed:function(b,c,e){var g=b&&typeof b==="object"?b:{complete:e||!e&&c||d.isFunction(b)&&b,duration:b,easing:e&&c||c&&!d.isFunction(c)&&c};g.duration=d.fx.off?0:typeof g.duration==="number"?g.duration:d.fx.speeds[g.duration]||d.fx.speeds._default;g.old=g.complete;g.complete=function(){g.queue!==false&&d(this).dequeue();d.isFunction(g.old)&&
125
+ g.old.call(this)};return g},easing:{linear:function(b,c,e,g){return e+g*b},swing:function(b,c,e,g){return(-Math.cos(b*Math.PI)/2+0.5)*g+e}},timers:[],fx:function(b,c,e){this.options=c;this.elem=b;this.prop=e;if(!c.orig)c.orig={}}});d.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(d.fx.step[this.prop]||d.fx.step._default)(this);if((this.prop==="height"||this.prop==="width")&&this.elem.style)this.elem.style.display="block"},cur:function(b){if(this.elem[this.prop]!=
126
+ null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];return(b=parseFloat(d.css(this.elem,this.prop,b)))&&b>-1E4?b:parseFloat(d.curCSS(this.elem,this.prop))||0},custom:function(b,c,e){function g(l){return f.step(l)}this.startTime=M();this.start=b;this.end=c;this.unit=e||this.unit||"px";this.now=this.start;this.pos=this.state=0;var f=this;g.elem=this.elem;if(g()&&d.timers.push(g)&&!cb)cb=setInterval(d.fx.tick,13)},show:function(){this.options.orig[this.prop]=d.style(this.elem,
127
+ this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());d(this.elem).show()},hide:function(){this.options.orig[this.prop]=d.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(b){var c=M(),e=true;if(b||c>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;for(var g in this.options.curAnim)if(this.options.curAnim[g]!==true)e=false;if(e){if(this.options.display!=
128
+ null){this.elem.style.overflow=this.options.overflow;b=d.data(this.elem,"olddisplay");this.elem.style.display=b?b:this.options.display;if(d.css(this.elem,"display")==="none")this.elem.style.display="block"}this.options.hide&&d(this.elem).hide();if(this.options.hide||this.options.show)for(var f in this.options.curAnim)d.style(this.elem,f,this.options.orig[f]);this.options.complete.call(this.elem)}return false}else{f=c-this.startTime;this.state=f/this.options.duration;b=this.options.easing||(d.easing.swing?
129
+ "swing":"linear");this.pos=d.easing[this.options.specialEasing&&this.options.specialEasing[this.prop]||b](this.state,f,0,1,this.options.duration);this.now=this.start+(this.end-this.start)*this.pos;this.update()}return true}};d.extend(d.fx,{tick:function(){for(var b=d.timers,c=0;c<b.length;c++)b[c]()||b.splice(c--,1);b.length||d.fx.stop()},stop:function(){clearInterval(cb);cb=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(b){d.style(b.elem,"opacity",b.now)},_default:function(b){if(b.elem.style&&
130
+ b.elem.style[b.prop]!=null)b.elem.style[b.prop]=(b.prop==="width"||b.prop==="height"?Math.max(0,b.now):b.now)+b.unit;else b.elem[b.prop]=b.now}}});if(d.expr&&d.expr.filters)d.expr.filters.animated=function(b){return d.grep(d.timers,function(c){return b===c.elem}).length};d.fn.offset="getBoundingClientRect"in C.documentElement?function(b){var c=this[0];if(b)return this.each(function(f){d.offset.setOffset(this,b,f)});if(!c||!c.ownerDocument)return null;if(c===c.ownerDocument.body)return d.offset.bodyOffset(c);
131
+ var e=c.getBoundingClientRect(),g=c.ownerDocument;c=g.body;g=g.documentElement;return{top:e.top+(self.pageYOffset||d.support.boxModel&&g.scrollTop||c.scrollTop)-(g.clientTop||c.clientTop||0),left:e.left+(self.pageXOffset||d.support.boxModel&&g.scrollLeft||c.scrollLeft)-(g.clientLeft||c.clientLeft||0)}}:function(b){var c=this[0];if(b)return this.each(function(x){d.offset.setOffset(this,b,x)});if(!c||!c.ownerDocument)return null;if(c===c.ownerDocument.body)return d.offset.bodyOffset(c);d.offset.initialize();
132
+ var e=c.offsetParent,g=c.ownerDocument,f,l=g.documentElement,m=g.body;f=(g=g.defaultView)?g.getComputedStyle(c,null):c.currentStyle;for(var v=c.offsetTop,s=c.offsetLeft;(c=c.parentNode)&&c!==m&&c!==l;){if(d.offset.supportsFixedPosition&&f.position==="fixed")break;f=g?g.getComputedStyle(c,null):c.currentStyle;v-=c.scrollTop;s-=c.scrollLeft;if(c===e){v+=c.offsetTop;s+=c.offsetLeft;if(d.offset.doesNotAddBorder&&!(d.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(c.nodeName))){v+=parseFloat(f.borderTopWidth)||
133
+ 0;s+=parseFloat(f.borderLeftWidth)||0}e=c.offsetParent}if(d.offset.subtractsBorderForOverflowNotVisible&&f.overflow!=="visible"){v+=parseFloat(f.borderTopWidth)||0;s+=parseFloat(f.borderLeftWidth)||0}f=f}if(f.position==="relative"||f.position==="static"){v+=m.offsetTop;s+=m.offsetLeft}if(d.offset.supportsFixedPosition&&f.position==="fixed"){v+=Math.max(l.scrollTop,m.scrollTop);s+=Math.max(l.scrollLeft,m.scrollLeft)}return{top:v,left:s}};d.offset={initialize:function(){var b=C.body,c=C.createElement("div"),
134
+ e,g,f,l=parseFloat(d.curCSS(b,"marginTop",true))||0;d.extend(c.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"});c.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>";b.insertBefore(c,b.firstChild);
135
+ e=c.firstChild;g=e.firstChild;f=e.nextSibling.firstChild.firstChild;this.doesNotAddBorder=g.offsetTop!==5;this.doesAddBorderForTableAndCells=f.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=b.offsetTop!==l;b.removeChild(c);d.offset.initialize=d.noop},
136
+ bodyOffset:function(b){var c=b.offsetTop,e=b.offsetLeft;d.offset.initialize();if(d.offset.doesNotIncludeMarginInBodyOffset){c+=parseFloat(d.curCSS(b,"marginTop",true))||0;e+=parseFloat(d.curCSS(b,"marginLeft",true))||0}return{top:c,left:e}},setOffset:function(b,c,e){if(/static/.test(d.curCSS(b,"position")))b.style.position="relative";var g=d(b),f=g.offset(),l=parseInt(d.curCSS(b,"top",true),10)||0,m=parseInt(d.curCSS(b,"left",true),10)||0;if(d.isFunction(c))c=c.call(b,e,f);e={top:c.top-f.top+l,left:c.left-
137
+ f.left+m};"using"in c?c.using.call(b,e):g.css(e)}};d.fn.extend({position:function(){if(!this[0])return null;var b=this[0],c=this.offsetParent(),e=this.offset(),g=/^body|html$/i.test(c[0].nodeName)?{top:0,left:0}:c.offset();e.top-=parseFloat(d.curCSS(b,"marginTop",true))||0;e.left-=parseFloat(d.curCSS(b,"marginLeft",true))||0;g.top+=parseFloat(d.curCSS(c[0],"borderTopWidth",true))||0;g.left+=parseFloat(d.curCSS(c[0],"borderLeftWidth",true))||0;return{top:e.top-g.top,left:e.left-g.left}},offsetParent:function(){return this.map(function(){for(var b=
138
+ this.offsetParent||C.body;b&&!/^body|html$/i.test(b.nodeName)&&d.css(b,"position")==="static";)b=b.offsetParent;return b})}});d.each(["Left","Top"],function(b,c){var e="scroll"+c;d.fn[e]=function(g){var f=this[0],l;if(!f)return null;if(g!==D)return this.each(function(){if(l=Y(this))l.scrollTo(!b?g:d(l).scrollLeft(),b?g:d(l).scrollTop());else this[e]=g});else return(l=Y(f))?"pageXOffset"in l?l[b?"pageYOffset":"pageXOffset"]:d.support.boxModel&&l.document.documentElement[e]||l.document.body[e]:f[e]}});
139
+ d.each(["Height","Width"],function(b,c){var e=c.toLowerCase();d.fn["inner"+c]=function(){return this[0]?d.css(this[0],e,false,"padding"):null};d.fn["outer"+c]=function(g){return this[0]?d.css(this[0],e,false,g?"margin":"border"):null};d.fn[e]=function(g){var f=this[0];if(!f)return g==null?null:this;if(d.isFunction(g))return this.each(function(l){var m=d(this);m[e](g.call(this,l,m[e]()))});return"scrollTo"in f&&f.document?f.document.compatMode==="CSS1Compat"&&f.document.documentElement["client"+c]||
140
+ f.document.body["client"+c]:f.nodeType===9?Math.max(f.documentElement["client"+c],f.body["scroll"+c],f.documentElement["scroll"+c],f.body["offset"+c],f.documentElement["offset"+c]):g===D?d.css(f,e):this.css(e,typeof g==="string"?g:g+"px")}});q.jQuery=q.$=d})(window);
141
+ jQuery.cookie=function(q,D,w){if(arguments.length>1&&(D===null||typeof D!=="object")){w=jQuery.extend({},w);if(D===null)w.expires=-1;if(typeof w.expires==="number"){var P=w.expires,L=w.expires=new Date;L.setDate(L.getDate()+P)}return document.cookie=[encodeURIComponent(q),"=",w.raw?String(D):encodeURIComponent(String(D)),w.expires?"; expires="+w.expires.toUTCString():"",w.path?"; path="+w.path:"",w.domain?"; domain="+w.domain:"",w.secure?"; secure":""].join("")}w=D||{};L=w.raw?function(M){return M}:
142
142
  decodeURIComponent;return(P=RegExp("(?:^|; )"+encodeURIComponent(q)+"=([^;]*)").exec(document.cookie))?L(P[1]):null};
143
- (function(q){function D(){q.fn.ajaxSubmit.debug&&window.console&&window.console.log&&window.console.log("[jquery.form] "+Array.prototype.join.call(arguments,""))}q.fn.ajaxSubmit=function(v){function P(){function R(){if(!pa++){C.detachEvent?C.detachEvent("onload",R):C.removeEventListener("load",R,false);var ka=true;try{if(ma)throw"timeout";var ia,fa;fa=C.contentWindow?C.contentWindow.document:C.contentDocument?C.contentDocument:C.document;var na=Y.dataType=="xml"||fa.XMLDocument||q.isXMLDoc(fa);D("isXml="+
143
+ (function(q){function D(){q.fn.ajaxSubmit.debug&&window.console&&window.console.log&&window.console.log("[jquery.form] "+Array.prototype.join.call(arguments,""))}q.fn.ajaxSubmit=function(w){function P(){function R(){if(!pa++){C.detachEvent?C.detachEvent("onload",R):C.removeEventListener("load",R,false);var ka=true;try{if(ma)throw"timeout";var ia,fa;fa=C.contentWindow?C.contentWindow.document:C.contentDocument?C.contentDocument:C.document;var na=Y.dataType=="xml"||fa.XMLDocument||q.isXMLDoc(fa);D("isXml="+
144
144
  na);if(!na&&(fa.body==null||fa.body.innerHTML=="")){if(--Ea){pa=0;setTimeout(R,100);return}D("Could not access iframe DOM after 50 tries.");return}W.responseText=fa.body?fa.body.innerHTML:null;W.responseXML=fa.XMLDocument?fa.XMLDocument:fa;W.getResponseHeader=function(Ba){return{"content-type":Y.dataType}[Ba]};if(Y.dataType=="json"||Y.dataType=="script"){var Fa=fa.getElementsByTagName("textarea")[0];if(Fa)W.responseText=Fa.value;else{var Ga=fa.getElementsByTagName("pre")[0];if(Ga)W.responseText=Ga.innerHTML}}else if(Y.dataType==
145
145
  "xml"&&!W.responseXML&&W.responseText!=null)W.responseXML=Aa(W.responseText);ia=q.httpData(W,Y.dataType)}catch(Oa){ka=false;q.handleError(Y,W,"error",Oa)}if(ka){Y.success(ia,"success");ha&&q.event.trigger("ajaxSuccess",[W,Y])}ha&&q.event.trigger("ajaxComplete",[W,Y]);ha&&!--q.active&&q.event.trigger("ajaxStop");if(Y.complete)Y.complete(W,ka?"success":"error");setTimeout(function(){xa.remove();W.responseXML=null},100)}}function Aa(ka,ia){if(window.ActiveXObject){ia=new ActiveXObject("Microsoft.XMLDOM");
146
- ia.async="false";ia.loadXML(ka)}else ia=(new DOMParser).parseFromString(ka,"text/xml");return ia&&ia.documentElement&&ia.documentElement.tagName!="parsererror"?ia:null}var ca=U[0];if(q(":input[name=submit]",ca).length)alert('Error: Form elements must not be named "submit".');else{var Y=q.extend({},q.ajaxSettings,v),d=q.extend(true,{},q.extend(true,{},q.ajaxSettings),Y),Na="jqFormIO"+(new Date).getTime(),xa=q('<iframe id="'+Na+'" name="'+Na+'" src="'+Y.iframeSrc+'" />'),C=xa[0];xa.css({position:"absolute",
147
- top:"-1000px",left:"-1000px"});var W={aborted:0,responseText:null,responseXML:null,status:0,statusText:"n/a",getAllResponseHeaders:function(){},getResponseHeader:function(){},setRequestHeader:function(){},abort:function(){this.aborted=1;xa.attr("src",Y.iframeSrc)}},ha=Y.global;ha&&!q.active++&&q.event.trigger("ajaxStart");ha&&q.event.trigger("ajaxSend",[W,Y]);if(d.beforeSend&&d.beforeSend(W,d)===false)d.global&&q.active--;else if(!W.aborted){var pa=0,ma=0;if(d=ca.clk){var sa=d.name;if(sa&&!d.disabled){v.extraData=
148
- v.extraData||{};v.extraData[sa]=d.value;if(d.type=="image"){v.extraData[name+".x"]=ca.clk_x;v.extraData[name+".y"]=ca.clk_y}}}setTimeout(function(){var ka=U.attr("target"),ia=U.attr("action");ca.setAttribute("target",Na);ca.getAttribute("method")!="POST"&&ca.setAttribute("method","POST");ca.getAttribute("action")!=Y.url&&ca.setAttribute("action",Y.url);v.skipEncodingOverride||U.attr({encoding:"multipart/form-data",enctype:"multipart/form-data"});Y.timeout&&setTimeout(function(){ma=true;R()},Y.timeout);
149
- var fa=[];try{if(v.extraData)for(var na in v.extraData)fa.push(q('<input type="hidden" name="'+na+'" value="'+v.extraData[na]+'" />').appendTo(ca)[0]);xa.appendTo("body");C.attachEvent?C.attachEvent("onload",R):C.addEventListener("load",R,false);ca.submit()}finally{ca.setAttribute("action",ia);ka?ca.setAttribute("target",ka):U.removeAttr("target");q(fa).remove()}},10);var Ea=50}}}if(!this.length){D("ajaxSubmit: skipping submit process - no element selected");return this}if(typeof v=="function")v=
150
- {success:v};var L=q.trim(this.attr("action"));if(L)L=(L.match(/^([^#]+)/)||[])[1];L=L||window.location.href||"";v=q.extend({url:L,type:this.attr("method")||"GET",iframeSrc:/^https/i.test(window.location.href||"")?"javascript:false":"about:blank"},v||{});L={};this.trigger("form-pre-serialize",[this,v,L]);if(L.veto){D("ajaxSubmit: submit vetoed via form-pre-serialize trigger");return this}if(v.beforeSerialize&&v.beforeSerialize(this,v)===false){D("ajaxSubmit: submit aborted via beforeSerialize callback");
151
- return this}var M=this.formToArray(v.semantic);if(v.data){v.extraData=v.data;for(var O in v.data)if(v.data[O]instanceof Array)for(var ea in v.data[O])M.push({name:O,value:v.data[O][ea]});else M.push({name:O,value:v.data[O]})}if(v.beforeSubmit&&v.beforeSubmit(M,this,v)===false){D("ajaxSubmit: submit aborted via beforeSubmit callback");return this}this.trigger("form-submit-validate",[M,this,v,L]);if(L.veto){D("ajaxSubmit: submit vetoed via form-submit-validate trigger");return this}O=q.param(M);if(v.type.toUpperCase()==
152
- "GET"){v.url+=(v.url.indexOf("?")>=0?"&":"?")+O;v.data=null}else v.data=O;var U=this,K=[];v.resetForm&&K.push(function(){U.resetForm()});v.clearForm&&K.push(function(){U.clearForm()});if(!v.dataType&&v.target){var la=v.success||function(){};K.push(function(R){q(v.target).html(R).each(la,arguments)})}else v.success&&K.push(v.success);v.success=function(R,Aa){for(var ca=0,Y=K.length;ca<Y;ca++)K[ca].apply(v,[R,Aa,U])};O=q("input:file",this).fieldValue();ea=false;for(L=0;L<O.length;L++)if(O[L])ea=true;
153
- if(O.length&&v.iframe!==false||v.iframe||ea||0)v.closeKeepAlive?q.get(v.closeKeepAlive,P):P();else q.ajax(v);this.trigger("form-submit-notify",[this,v]);return this};q.fn.ajaxForm=function(v){return this.ajaxFormUnbind().bind("submit.form-plugin",function(){q(this).ajaxSubmit(v);return false}).bind("click.form-plugin",function(P){var L=P.target,M=q(L);if(!M.is(":submit,input:image")){L=M.closest(":submit");if(L.length==0)return;L=L[0]}var O=this;O.clk=L;if(L.type=="image")if(P.offsetX!=undefined){O.clk_x=
154
- P.offsetX;O.clk_y=P.offsetY}else if(typeof q.fn.offset=="function"){M=M.offset();O.clk_x=P.pageX-M.left;O.clk_y=P.pageY-M.top}else{O.clk_x=P.pageX-L.offsetLeft;O.clk_y=P.pageY-L.offsetTop}setTimeout(function(){O.clk=O.clk_x=O.clk_y=null},100)})};q.fn.ajaxFormUnbind=function(){return this.unbind("submit.form-plugin click.form-plugin")};q.fn.formToArray=function(v){var P=[];if(this.length==0)return P;var L=this[0],M=v?L.getElementsByTagName("*"):L.elements;if(!M)return P;for(var O=0,ea=M.length;O<ea;O++){var U=
155
- M[O],K=U.name;if(K)if(v&&L.clk&&U.type=="image"){if(!U.disabled&&L.clk==U){P.push({name:K,value:q(U).val()});P.push({name:K+".x",value:L.clk_x},{name:K+".y",value:L.clk_y})}}else if((U=q.fieldValue(U,true))&&U.constructor==Array)for(var la=0,R=U.length;la<R;la++)P.push({name:K,value:U[la]});else U!==null&&typeof U!="undefined"&&P.push({name:K,value:U})}if(!v&&L.clk){v=q(L.clk);M=v[0];if((K=M.name)&&!M.disabled&&M.type=="image"){P.push({name:K,value:v.val()});P.push({name:K+".x",value:L.clk_x},{name:K+
156
- ".y",value:L.clk_y})}}return P};q.fn.formSerialize=function(v){return q.param(this.formToArray(v))};q.fn.fieldSerialize=function(v){var P=[];this.each(function(){var L=this.name;if(L){var M=q.fieldValue(this,v);if(M&&M.constructor==Array)for(var O=0,ea=M.length;O<ea;O++)P.push({name:L,value:M[O]});else M!==null&&typeof M!="undefined"&&P.push({name:this.name,value:M})}});return q.param(P)};q.fn.fieldValue=function(v){for(var P=[],L=0,M=this.length;L<M;L++){var O=q.fieldValue(this[L],v);O===null||typeof O==
157
- "undefined"||O.constructor==Array&&!O.length||(O.constructor==Array?q.merge(P,O):P.push(O))}return P};q.fieldValue=function(v,P){var L=v.name,M=v.type,O=v.tagName.toLowerCase();if(typeof P=="undefined")P=true;if(P&&(!L||v.disabled||M=="reset"||M=="button"||(M=="checkbox"||M=="radio")&&!v.checked||(M=="submit"||M=="image")&&v.form&&v.form.clk!=v||O=="select"&&v.selectedIndex==-1))return null;if(O=="select"){var ea=v.selectedIndex;if(ea<0)return null;L=[];O=v.options;var U=(M=M=="select-one")?ea+1:
158
- O.length;for(ea=M?ea:0;ea<U;ea++){var K=O[ea];if(K.selected){var la=K.value;la||(la=K.attributes&&K.attributes.value&&!K.attributes.value.specified?K.text:K.value);if(M)return la;L.push(la)}}return L}return v.value};q.fn.clearForm=function(){return this.each(function(){q("input,select,textarea",this).clearFields()})};q.fn.clearFields=q.fn.clearInputs=function(){return this.each(function(){var v=this.type,P=this.tagName.toLowerCase();if(v=="text"||v=="password"||P=="textarea")this.value="";else if(v==
159
- "checkbox"||v=="radio")this.checked=false;else if(P=="select")this.selectedIndex=-1})};q.fn.resetForm=function(){return this.each(function(){if(typeof this.reset=="function"||typeof this.reset=="object"&&!this.reset.nodeType)this.reset()})};q.fn.enable=function(v){if(v==undefined)v=true;return this.each(function(){this.disabled=!v})};q.fn.selected=function(v){if(v==undefined)v=true;return this.each(function(){var P=this.type;if(P=="checkbox"||P=="radio")this.checked=v;else if(this.tagName.toLowerCase()==
160
- "option"){P=q(this).parent("select");v&&P[0]&&P[0].type=="select-one"&&P.find("option").selected(false);this.selected=v}})}})(jQuery);
161
- (function(q){q.fn.layout=function(D){function v(h){if(!h)return true;var j=h.keyCode;if(j<33)return true;var k={38:"north",40:"south",37:"west",39:"east"},p=j>=37&&j<=40,r=h.shiftKey,A=h.ctrlKey,G=false,B,J,E;if(!A&&!r)return true;else if(p&&K[k[j]].enableCursorHotkey)G=k[j];else q.each(H.borderPanes.split(","),function(I,$){B=K[$];J=B.customHotkey;E=B.customHotkeyModifier;if(r&&E=="SHIFT"||A&&E=="CTRL"||A&&r)if(J&&j==(isNaN(J)||J<=9?J.toUpperCase().charCodeAt(0):J)){G=$;return false}});if(!G)return true;
146
+ ia.async="false";ia.loadXML(ka)}else ia=(new DOMParser).parseFromString(ka,"text/xml");return ia&&ia.documentElement&&ia.documentElement.tagName!="parsererror"?ia:null}var ca=V[0];if(q(":input[name=submit]",ca).length)alert('Error: Form elements must not be named "submit".');else{var Y=q.extend({},q.ajaxSettings,w),d=q.extend(true,{},q.extend(true,{},q.ajaxSettings),Y),Na="jqFormIO"+(new Date).getTime(),xa=q('<iframe id="'+Na+'" name="'+Na+'" src="'+Y.iframeSrc+'" />'),C=xa[0];xa.css({position:"absolute",
147
+ top:"-1000px",left:"-1000px"});var W={aborted:0,responseText:null,responseXML:null,status:0,statusText:"n/a",getAllResponseHeaders:function(){},getResponseHeader:function(){},setRequestHeader:function(){},abort:function(){this.aborted=1;xa.attr("src",Y.iframeSrc)}},ha=Y.global;ha&&!q.active++&&q.event.trigger("ajaxStart");ha&&q.event.trigger("ajaxSend",[W,Y]);if(d.beforeSend&&d.beforeSend(W,d)===false)d.global&&q.active--;else if(!W.aborted){var pa=0,ma=0;if(d=ca.clk){var sa=d.name;if(sa&&!d.disabled){w.extraData=
148
+ w.extraData||{};w.extraData[sa]=d.value;if(d.type=="image"){w.extraData[name+".x"]=ca.clk_x;w.extraData[name+".y"]=ca.clk_y}}}setTimeout(function(){var ka=V.attr("target"),ia=V.attr("action");ca.setAttribute("target",Na);ca.getAttribute("method")!="POST"&&ca.setAttribute("method","POST");ca.getAttribute("action")!=Y.url&&ca.setAttribute("action",Y.url);w.skipEncodingOverride||V.attr({encoding:"multipart/form-data",enctype:"multipart/form-data"});Y.timeout&&setTimeout(function(){ma=true;R()},Y.timeout);
149
+ var fa=[];try{if(w.extraData)for(var na in w.extraData)fa.push(q('<input type="hidden" name="'+na+'" value="'+w.extraData[na]+'" />').appendTo(ca)[0]);xa.appendTo("body");C.attachEvent?C.attachEvent("onload",R):C.addEventListener("load",R,false);ca.submit()}finally{ca.setAttribute("action",ia);ka?ca.setAttribute("target",ka):V.removeAttr("target");q(fa).remove()}},10);var Ea=50}}}if(!this.length){D("ajaxSubmit: skipping submit process - no element selected");return this}if(typeof w=="function")w=
150
+ {success:w};var L=q.trim(this.attr("action"));if(L)L=(L.match(/^([^#]+)/)||[])[1];L=L||window.location.href||"";w=q.extend({url:L,type:this.attr("method")||"GET",iframeSrc:/^https/i.test(window.location.href||"")?"javascript:false":"about:blank"},w||{});L={};this.trigger("form-pre-serialize",[this,w,L]);if(L.veto){D("ajaxSubmit: submit vetoed via form-pre-serialize trigger");return this}if(w.beforeSerialize&&w.beforeSerialize(this,w)===false){D("ajaxSubmit: submit aborted via beforeSerialize callback");
151
+ return this}var M=this.formToArray(w.semantic);if(w.data){w.extraData=w.data;for(var O in w.data)if(w.data[O]instanceof Array)for(var ea in w.data[O])M.push({name:O,value:w.data[O][ea]});else M.push({name:O,value:w.data[O]})}if(w.beforeSubmit&&w.beforeSubmit(M,this,w)===false){D("ajaxSubmit: submit aborted via beforeSubmit callback");return this}this.trigger("form-submit-validate",[M,this,w,L]);if(L.veto){D("ajaxSubmit: submit vetoed via form-submit-validate trigger");return this}O=q.param(M);if(w.type.toUpperCase()==
152
+ "GET"){w.url+=(w.url.indexOf("?")>=0?"&":"?")+O;w.data=null}else w.data=O;var V=this,K=[];w.resetForm&&K.push(function(){V.resetForm()});w.clearForm&&K.push(function(){V.clearForm()});if(!w.dataType&&w.target){var la=w.success||function(){};K.push(function(R){q(w.target).html(R).each(la,arguments)})}else w.success&&K.push(w.success);w.success=function(R,Aa){for(var ca=0,Y=K.length;ca<Y;ca++)K[ca].apply(w,[R,Aa,V])};O=q("input:file",this).fieldValue();ea=false;for(L=0;L<O.length;L++)if(O[L])ea=true;
153
+ if(O.length&&w.iframe!==false||w.iframe||ea||0)w.closeKeepAlive?q.get(w.closeKeepAlive,P):P();else q.ajax(w);this.trigger("form-submit-notify",[this,w]);return this};q.fn.ajaxForm=function(w){return this.ajaxFormUnbind().bind("submit.form-plugin",function(){q(this).ajaxSubmit(w);return false}).bind("click.form-plugin",function(P){var L=P.target,M=q(L);if(!M.is(":submit,input:image")){L=M.closest(":submit");if(L.length==0)return;L=L[0]}var O=this;O.clk=L;if(L.type=="image")if(P.offsetX!=undefined){O.clk_x=
154
+ P.offsetX;O.clk_y=P.offsetY}else if(typeof q.fn.offset=="function"){M=M.offset();O.clk_x=P.pageX-M.left;O.clk_y=P.pageY-M.top}else{O.clk_x=P.pageX-L.offsetLeft;O.clk_y=P.pageY-L.offsetTop}setTimeout(function(){O.clk=O.clk_x=O.clk_y=null},100)})};q.fn.ajaxFormUnbind=function(){return this.unbind("submit.form-plugin click.form-plugin")};q.fn.formToArray=function(w){var P=[];if(this.length==0)return P;var L=this[0],M=w?L.getElementsByTagName("*"):L.elements;if(!M)return P;for(var O=0,ea=M.length;O<ea;O++){var V=
155
+ M[O],K=V.name;if(K)if(w&&L.clk&&V.type=="image"){if(!V.disabled&&L.clk==V){P.push({name:K,value:q(V).val()});P.push({name:K+".x",value:L.clk_x},{name:K+".y",value:L.clk_y})}}else if((V=q.fieldValue(V,true))&&V.constructor==Array)for(var la=0,R=V.length;la<R;la++)P.push({name:K,value:V[la]});else V!==null&&typeof V!="undefined"&&P.push({name:K,value:V})}if(!w&&L.clk){w=q(L.clk);M=w[0];if((K=M.name)&&!M.disabled&&M.type=="image"){P.push({name:K,value:w.val()});P.push({name:K+".x",value:L.clk_x},{name:K+
156
+ ".y",value:L.clk_y})}}return P};q.fn.formSerialize=function(w){return q.param(this.formToArray(w))};q.fn.fieldSerialize=function(w){var P=[];this.each(function(){var L=this.name;if(L){var M=q.fieldValue(this,w);if(M&&M.constructor==Array)for(var O=0,ea=M.length;O<ea;O++)P.push({name:L,value:M[O]});else M!==null&&typeof M!="undefined"&&P.push({name:this.name,value:M})}});return q.param(P)};q.fn.fieldValue=function(w){for(var P=[],L=0,M=this.length;L<M;L++){var O=q.fieldValue(this[L],w);O===null||typeof O==
157
+ "undefined"||O.constructor==Array&&!O.length||(O.constructor==Array?q.merge(P,O):P.push(O))}return P};q.fieldValue=function(w,P){var L=w.name,M=w.type,O=w.tagName.toLowerCase();if(typeof P=="undefined")P=true;if(P&&(!L||w.disabled||M=="reset"||M=="button"||(M=="checkbox"||M=="radio")&&!w.checked||(M=="submit"||M=="image")&&w.form&&w.form.clk!=w||O=="select"&&w.selectedIndex==-1))return null;if(O=="select"){var ea=w.selectedIndex;if(ea<0)return null;L=[];O=w.options;var V=(M=M=="select-one")?ea+1:
158
+ O.length;for(ea=M?ea:0;ea<V;ea++){var K=O[ea];if(K.selected){var la=K.value;la||(la=K.attributes&&K.attributes.value&&!K.attributes.value.specified?K.text:K.value);if(M)return la;L.push(la)}}return L}return w.value};q.fn.clearForm=function(){return this.each(function(){q("input,select,textarea",this).clearFields()})};q.fn.clearFields=q.fn.clearInputs=function(){return this.each(function(){var w=this.type,P=this.tagName.toLowerCase();if(w=="text"||w=="password"||P=="textarea")this.value="";else if(w==
159
+ "checkbox"||w=="radio")this.checked=false;else if(P=="select")this.selectedIndex=-1})};q.fn.resetForm=function(){return this.each(function(){if(typeof this.reset=="function"||typeof this.reset=="object"&&!this.reset.nodeType)this.reset()})};q.fn.enable=function(w){if(w==undefined)w=true;return this.each(function(){this.disabled=!w})};q.fn.selected=function(w){if(w==undefined)w=true;return this.each(function(){var P=this.type;if(P=="checkbox"||P=="radio")this.checked=w;else if(this.tagName.toLowerCase()==
160
+ "option"){P=q(this).parent("select");w&&P[0]&&P[0].type=="select-one"&&P.find("option").selected(false);this.selected=w}})}})(jQuery);
161
+ (function(q){q.fn.layout=function(D){function w(h){if(!h)return true;var j=h.keyCode;if(j<33)return true;var k={38:"north",40:"south",37:"west",39:"east"},p=j>=37&&j<=40,r=h.shiftKey,A=h.ctrlKey,G=false,B,J,E;if(!A&&!r)return true;else if(p&&K[k[j]].enableCursorHotkey)G=k[j];else q.each(H.borderPanes.split(","),function(I,$){B=K[$];J=B.customHotkey;E=B.customHotkeyModifier;if(r&&E=="SHIFT"||A&&E=="CTRL"||A&&r)if(J&&j==(isNaN(J)||J<=9?J.toUpperCase().charCodeAt(0):J)){G=$;return false}});if(!G)return true;
162
162
  B=K[G];k=R[G];if(!B.enableCursorHotkey||k.isHidden||!X[G])return true;if((k=h.target||h.srcElement)&&r&&p&&(k.tagName=="TEXTAREA"||k.tagName=="INPUT"&&(j==37||j==39)))return true;Qa(G);h.stopPropagation();return h.returnValue=false}function P(h){if(this&&this.tagName)h=this;h=typeof h=="string"?X[h]:q(h).attr("pane")?q(h):q(h).parents("div[pane]:first");if(h.length){var j=h.attr("pane"),k=R[j];k.cssSaved&&L(j);if(k.isSliding||k.isResizing||k.isClosed)k.cssSaved=false;else{var p={zIndex:H.zIndex.pane_normal+
163
163
  1},r={},A=h.css("overflow"),G=h.css("overflowX"),B=h.css("overflowY");if(A!="visible"){r.overflow=A;p.overflow="visible"}if(G&&G!="visible"&&G!="auto"){r.overflowX=G;p.overflowX="visible"}if(B&&B!="visible"&&B!="auto"){r.overflowY=G;p.overflowY="visible"}k.cssSaved=r;h.css(p);q.each(H.allPanes.split(","),function(J,E){E!=j&&L(E)})}}}function L(h){if(this&&this.tagName)h=this;h=typeof h=="string"?X[h]:q(h).hasClass("ui-layout-pane")?q(h):q(h).parents("div[pane]:first");if(h.length){var j=h.attr("pane");
164
164
  j=R[j];var k=j.cssSaved||{};!j.isSliding&&!j.isResizing&&h.css("zIndex",H.zIndex.pane_normal);h.css(k);j.cssSaved=false}}function M(h,j,k){var p=q(h);if(p.length)if(H.borderPanes.indexOf(j)==-1)alert("Error Adding Button \n\nInvalid pane: "+j);else{h=K[j].buttonClass+"-"+k;p.addClass(h+" "+h+"-"+j);return p}else alert("Error Adding Button \n\nInvalid selector: "+h);return false}function O(h,j){q.each(H[h].pins,function(k,p){ea(q(p),h,j)})}function ea(h,j,k){var p=h.attr("pin");if(!(p&&k==(p=="down"))){var r=
165
- K[j].buttonClass+"-pin",A=r+"-"+j;j=r+"-up";p=A+"-up";r=r+"-down";A=A+"-down";h.attr("pin",k?"down":"up").attr("title",k?"Un-Pin":"Pin").removeClass(k?j:r).removeClass(k?p:A).addClass(k?r:j).addClass(k?A:p)}}var U={paneClass:"ui-layout-pane",resizerClass:"ui-layout-resizer",togglerClass:"ui-layout-toggler",togglerInnerClass:"ui-layout-",buttonClass:"ui-layout-button",contentSelector:".ui-layout-content",contentIgnoreSelector:".ui-layout-ignore"},K={name:"",scrollToBookmarkOnLoad:true,defaults:{applyDefaultStyles:false,
166
- closable:true,resizable:true,slidable:true,contentSelector:U.contentSelector,contentIgnoreSelector:U.contentIgnoreSelector,paneClass:U.paneClass,resizerClass:U.resizerClass,togglerClass:U.togglerClass,buttonClass:U.buttonClass,resizerDragOpacity:1,maskIframesOnResize:true,minSize:0,maxSize:0,spacing_open:6,spacing_closed:6,togglerLength_open:50,togglerLength_closed:50,togglerAlign_open:"center",togglerAlign_closed:"center",togglerTip_open:"Close",togglerTip_closed:"Open",resizerTip:"Resize",sliderTip:"Slide Open",
165
+ K[j].buttonClass+"-pin",A=r+"-"+j;j=r+"-up";p=A+"-up";r=r+"-down";A=A+"-down";h.attr("pin",k?"down":"up").attr("title",k?"Un-Pin":"Pin").removeClass(k?j:r).removeClass(k?p:A).addClass(k?r:j).addClass(k?A:p)}}var V={paneClass:"ui-layout-pane",resizerClass:"ui-layout-resizer",togglerClass:"ui-layout-toggler",togglerInnerClass:"ui-layout-",buttonClass:"ui-layout-button",contentSelector:".ui-layout-content",contentIgnoreSelector:".ui-layout-ignore"},K={name:"",scrollToBookmarkOnLoad:true,defaults:{applyDefaultStyles:false,
166
+ closable:true,resizable:true,slidable:true,contentSelector:V.contentSelector,contentIgnoreSelector:V.contentIgnoreSelector,paneClass:V.paneClass,resizerClass:V.resizerClass,togglerClass:V.togglerClass,buttonClass:V.buttonClass,resizerDragOpacity:1,maskIframesOnResize:true,minSize:0,maxSize:0,spacing_open:6,spacing_closed:6,togglerLength_open:50,togglerLength_closed:50,togglerAlign_open:"center",togglerAlign_closed:"center",togglerTip_open:"Close",togglerTip_closed:"Open",resizerTip:"Resize",sliderTip:"Slide Open",
167
167
  sliderCursor:"pointer",slideTrigger_open:"click",slideTrigger_close:"mouseout",hideTogglerOnSlide:false,togglerContent_open:"",togglerContent_closed:"",showOverflowOnHover:false,enableCursorHotkey:true,customHotkeyModifier:"SHIFT",fxName:"slide",fxSpeed:null,fxSettings:{},initClosed:false,initHidden:false},north:{paneSelector:".ui-layout-north",size:"auto",resizerCursor:"n-resize"},south:{paneSelector:".ui-layout-south",size:"auto",resizerCursor:"s-resize"},east:{paneSelector:".ui-layout-east",size:200,
168
168
  resizerCursor:"e-resize"},west:{paneSelector:".ui-layout-west",size:200,resizerCursor:"w-resize"},center:{paneSelector:".ui-layout-center"}},la={slide:{all:{duration:"fast"},north:{direction:"up"},south:{direction:"down"},east:{direction:"right"},west:{direction:"left"}},drop:{all:{duration:"slow"},north:{direction:"up"},south:{direction:"down"},east:{direction:"right"},west:{direction:"left"}},scale:{all:{duration:"fast"}}},R={id:Math.floor(Math.random()*1E4),container:{},north:{},south:{},east:{},
169
169
  west:{},center:{}},Aa={north:"south",south:"north",east:"west",west:"east"},ca=function(h){if(typeof h=="string")return true;else if(typeof h=="object")try{return h.constructor.toString().match(/string/i)!==null}catch(j){}return false},Y=function(h){return typeof h=="string"||ca(h)?q.trim(h):h},d=function(h,j){return Math.max(h,j)},Na=function(h){var j={defaults:{fxSettings:{}},north:{fxSettings:{}},south:{fxSettings:{}},east:{fxSettings:{}},west:{fxSettings:{}},center:{fxSettings:{}}};h=h||{};if(h.effects||
@@ -172,39 +172,39 @@ if(h.doCallback&&h.callback){h.doCallback=false;var j=h.callback.split(","),k=j[
172
172
  ha=function(h,j){var k=0,p=false,r="";if(!q.browser.msie)if(q.curCSS(h[0],"display",true)=="none"){p=true;r=q.curCSS(h[0],"visibility",true);h.css({display:"block",visibility:"hidden"})}k=parseInt(q.curCSS(h[0],j,true),10)||0;if(p){h.css({display:"none"});r&&r!="hidden"&&h.css({visibility:r})}return k},pa=function(h,j){var k;if(ca(h)){h=Y(h);k=X[h]}else k=q(h);if(j<=0)return 0;else j>0||(j=ca(h)?sa(h):k.outerWidth());return q.boxModel?j-ha(k,"paddingLeft")-ha(k,"paddingRight")-(q.curCSS(k[0],"borderLeftStyle",
173
173
  true)=="none"?0:ha(k,"borderLeftWidth"))-(q.curCSS(k[0],"borderRightStyle",true)=="none"?0:ha(k,"borderRightWidth")):j},ma=function(h,j){var k;if(ca(h)){h=Y(h);k=X[h]}else k=q(h);if(j<=0)return 0;else j>0||(j=ca(h)?sa(h):k.outerHeight());return q.boxModel?j-ha(k,"paddingTop")-ha(k,"paddingBottom")-(q.curCSS(k[0],"borderTopStyle",true)=="none"?0:ha(k,"borderTopWidth"))-(q.curCSS(k[0],"borderBottomStyle",true)=="none"?0:ha(k,"borderBottomWidth")):j},sa=function(h,j){var k=X[h],p=K[h],r=R[h],A=j?p.spacing_open:
174
174
  0;p=j?p.spacing_closed:0;return!k||r.isHidden?0:r.isClosed||r.isSliding&&j?p:H[h].dir=="horz"?k.outerHeight()+A:k.outerWidth()+A},Ea=function(h){var j=T,k=H[h].dir,p=R[h],r=X[Aa[h]],A=K[h].spacing_open,G=K[Aa[h]].spacing_open,B=!r?0:k=="horz"?r.outerHeight():r.outerWidth();r=p.minSize||0;k=Math.min(p.maxSize||9999,(k=="horz"?j.innerHeight:j.innerWidth)-A-B-G);var J,E;switch(h){case "north":J=j.offsetTop+r;E=j.offsetTop+k;break;case "west":J=j.offsetLeft+r;E=j.offsetLeft+k;break;case "south":J=j.offsetTop+
175
- j.innerHeight-k;E=j.offsetTop+j.innerHeight-r;break;case "east":J=j.offsetLeft+j.innerWidth-k;E=j.offsetLeft+j.innerWidth-r;break}q.extend(p,{minSize:r,maxSize:k,minPosition:J,maxPosition:E})},ka=function(){var h={top:sa("north",true),bottom:sa("south",true),left:sa("west",true),right:sa("east",true),width:0,height:0};with(h){width=T.innerWidth-left-right;height=T.innerHeight-bottom-top;top+=T.top;bottom+=T.bottom;left+=T.left;right+=T.right}return h},ia=function(h){var j={},k,p,r;q.each("Left,Right,Top,Bottom".split(","),
175
+ j.innerHeight-k;E=j.offsetTop+j.innerHeight-r;break;case "east":J=j.offsetLeft+j.innerWidth-k;E=j.offsetLeft+j.innerWidth-r}q.extend(p,{minSize:r,maxSize:k,minPosition:J,maxPosition:E})},ka=function(){var h={top:sa("north",true),bottom:sa("south",true),left:sa("west",true),right:sa("east",true),width:0,height:0};with(h){width=T.innerWidth-left-right;height=T.innerHeight-bottom-top;top+=T.top;bottom+=T.bottom;left+=T.left;right+=T.right}return h},ia=function(h){var j={},k,p,r;q.each("Left,Right,Top,Bottom".split(","),
176
176
  function(){k=Y(this);p=j["border"+k]=ha(h,"border"+k+"Width");r=j["padding"+k]=ha(h,"padding"+k);j["offset"+k]=p+r;if(h==oa)j[k.toLowerCase()]=q.boxModel?r:0});j.innerWidth=j.outerWidth=h.outerWidth();j.innerHeight=j.outerHeight=h.outerHeight();if(q.boxModel){j.innerWidth-=j.offsetLeft+j.offsetRight;j.innerHeight-=j.offsetTop+j.offsetBottom}return j},fa=function(h,j,k,p){var r=window.layout=window.layout||{};r=r.timers=r.timers||{};h="layout_"+R.id+"_"+h+"_"+j;r[h]||(r[h]=setTimeout(k,p))},na=function(h,
177
177
  j){var k=window.layout=window.layout||{};k=k.timers=k.timers||{};var p="layout_"+R.id+"_"+h+"_"+j;if(k[p]){clearTimeout(k[p]);delete k[p];return true}else return false},Fa=function(){try{if(oa[0].tagName=="BODY"){q("html").css({height:"100%",overflow:"hidden"});q("body").css({position:"relative",height:"100%",overflow:"hidden",margin:0,padding:0,border:"none"})}else{var h={overflow:"hidden"},j=oa.css("position"),k=oa.css("height");if(!oa.hasClass("ui-layout-pane")){if(!j||"fixed,absolute,relative".indexOf(j)<
178
- 0)h.position="relative";if(!k||k=="auto")h.height="100%"}oa.css(h)}}catch(p){}T=R.container=ia(oa)},Ga=function(){q.each(H.borderPanes.split(","),function(h,j){var k=K[j];if(k.enableCursorHotkey||k.customHotkey){q(document).keydown(v);return false}})},Oa=function(){D=Na(D);if(D.effects){q.extend(la,D.effects);delete D.effects}q.each("name,scrollToBookmarkOnLoad".split(","),function(k,p){if(D[p]!==undefined)K[p]=D[p];else if(D.defaults[p]!==undefined){K[p]=D.defaults[p];delete D.defaults[p]}});q.each("paneSelector,resizerCursor,customHotkey".split(","),
178
+ 0)h.position="relative";if(!k||k=="auto")h.height="100%"}oa.css(h)}}catch(p){}T=R.container=ia(oa)},Ga=function(){q.each(H.borderPanes.split(","),function(h,j){var k=K[j];if(k.enableCursorHotkey||k.customHotkey){q(document).keydown(w);return false}})},Oa=function(){D=Na(D);if(D.effects){q.extend(la,D.effects);delete D.effects}q.each("name,scrollToBookmarkOnLoad".split(","),function(k,p){if(D[p]!==undefined)K[p]=D[p];else if(D.defaults[p]!==undefined){K[p]=D.defaults[p];delete D.defaults[p]}});q.each("paneSelector,resizerCursor,customHotkey".split(","),
179
179
  function(k,p){delete D.defaults[p]});q.extend(K.defaults,D.defaults);H.center=q.extend(true,{},H.defaults,H.center);q.extend(K.center,D.center);var h=q.extend(true,{},K.defaults,D.defaults,K.center);q.each("paneClass,contentSelector,contentIgnoreSelector,applyDefaultStyles,showOverflowOnHover".split(","),function(k,p){K.center[p]=h[p]});var j=K.defaults;q.each(H.borderPanes.split(","),function(k,p){H[p]=q.extend(true,{},H.defaults,H[p]);o=K[p]=q.extend(true,{},K.defaults,K[p],D.defaults,D[p]);if(!o.paneClass)o.paneClass=
180
- U.paneClass;if(!o.resizerClass)o.resizerClass=U.resizerClass;if(!o.togglerClass)o.togglerClass=U.togglerClass;q.each(["_open","_close",""],function(r,A){var G="fxName"+A,B="fxSpeed"+A,J="fxSettings"+A;o[G]=D[p][G]||D[p].fxName||D.defaults[G]||D.defaults.fxName||o[G]||o.fxName||j[G]||j.fxName||"none";var E=o[G];if(E=="none"||!q.effects||!q.effects[E]||!la[E]&&!o[J]&&!o.fxSettings)E=o[G]="none";E=la[E]||{};G=E.all||{};E=E[p]||{};o[J]=q.extend({},G,E,j.fxSettings||{},j[J]||{},o.fxSettings,o[J],D.defaults.fxSettings,
180
+ V.paneClass;if(!o.resizerClass)o.resizerClass=V.resizerClass;if(!o.togglerClass)o.togglerClass=V.togglerClass;q.each(["_open","_close",""],function(r,A){var G="fxName"+A,B="fxSpeed"+A,J="fxSettings"+A;o[G]=D[p][G]||D[p].fxName||D.defaults[G]||D.defaults.fxName||o[G]||o.fxName||j[G]||j.fxName||"none";var E=o[G];if(E=="none"||!q.effects||!q.effects[E]||!la[E]&&!o[J]&&!o.fxSettings)E=o[G]="none";E=la[E]||{};G=E.all||{};E=E[p]||{};o[J]=q.extend({},G,E,j.fxSettings||{},j[J]||{},o.fxSettings,o[J],D.defaults.fxSettings,
181
181
  D.defaults[J]||{},D[p].fxSettings,D[p][J]||{});o[B]=D[p][B]||D[p].fxSpeed||D.defaults[B]||D.defaults.fxSpeed||o[B]||o[J].duration||o.fxSpeed||o.fxSettings.duration||j.fxSpeed||j.fxSettings.duration||E.duration||G.duration||"normal"})})},Ba=function(){q.each(H.allPanes.split(","),function(){var h=Y(this),j=K[h],k=R[h],p=H[h].dir,r=j.size=="auto"||isNaN(j.size)?0:j.size,A=j.minSize||1,G=j.maxSize||9999,B=j.spacing_open||0,J=j.paneSelector,E={},I;Ja[h]=false;if(J.substr(0,1)==="#")I=X[h]=oa.find(J+":first");
182
182
  else{I=X[h]=oa.children(J+":first");I.length||(I=X[h]=oa.children("form:first").children(J+":first"))}if(!I.length){X[h]=false;return true}I.attr("pane",h).addClass(j.paneClass+" "+j.paneClass+"-"+h);if(h!="center"){k.isClosed=false;k.isSliding=false;k.isResizing=false;k.isHidden=false;k.noRoom=false;H[h].pins=[]}E=q.extend({visibility:"visible",display:"block"},H.defaults.cssReq,H[h].cssReq);j.applyDefaultStyles&&q.extend(E,H.defaults.cssDef,H[h].cssDef);I.css(E);E={};switch(h){case "north":E.top=
183
- T.top;E.left=T.left;E.right=T.right;break;case "south":E.bottom=T.bottom;E.left=T.left;E.right=T.right;break;case "west":E.left=T.left;break;case "east":E.right=T.right;break;case "center":}if(p=="horz"){if(r===0||r=="auto"){I.css({height:"auto"});r=I.outerHeight()}r=d(r,A);r=Math.min(r,G);r=Math.min(r,T.innerHeight-B);E.height=d(1,ma(h,r));k.size=r;k.maxSize=G;k.minSize=d(A,r-E.height+1);I.css(E)}else if(p=="vert"){if(r===0||r=="auto"){I.css({width:"auto","float":"left"});r=I.outerWidth();I.css({"float":"none"})}r=
184
- d(r,A);r=Math.min(r,G);r=Math.min(r,T.innerWidth-B);E.width=d(1,pa(h,r));k.size=r;k.maxSize=G;k.minSize=d(A,r-E.width+1);I.css(E);Da(h,null,true)}else if(h=="center"){I.css(E);Da("center",null,true)}if(j.initClosed&&j.closable){I.hide().addClass("closed");k.isClosed=true}else if(j.initHidden||j.initClosed){Va(h,true);k.isHidden=true}else I.addClass("open");j.showOverflowOnHover&&I.hover(P,L);if(j.contentSelector){k=Ja[h]=I.children(j.contentSelector+":first");if(!k.length){Ja[h]=false;return true}k.css(H.content.cssReq);
183
+ T.top;E.left=T.left;E.right=T.right;break;case "south":E.bottom=T.bottom;E.left=T.left;E.right=T.right;break;case "west":E.left=T.left;break;case "east":E.right=T.right}if(p=="horz"){if(r===0||r=="auto"){I.css({height:"auto"});r=I.outerHeight()}r=d(r,A);r=Math.min(r,G);r=Math.min(r,T.innerHeight-B);E.height=d(1,ma(h,r));k.size=r;k.maxSize=G;k.minSize=d(A,r-E.height+1);I.css(E)}else if(p=="vert"){if(r===0||r=="auto"){I.css({width:"auto","float":"left"});r=I.outerWidth();I.css({"float":"none"})}r=d(r,
184
+ A);r=Math.min(r,G);r=Math.min(r,T.innerWidth-B);E.width=d(1,pa(h,r));k.size=r;k.maxSize=G;k.minSize=d(A,r-E.width+1);I.css(E);Da(h,null,true)}else if(h=="center"){I.css(E);Da("center",null,true)}if(j.initClosed&&j.closable){I.hide().addClass("closed");k.isClosed=true}else if(j.initHidden||j.initClosed){Va(h,true);k.isHidden=true}else I.addClass("open");j.showOverflowOnHover&&I.hover(P,L);if(j.contentSelector){k=Ja[h]=I.children(j.contentSelector+":first");if(!k.length){Ja[h]=false;return true}k.css(H.content.cssReq);
185
185
  j.applyDefaultStyles&&k.css(H.content.cssDef);I.css({overflow:"hidden"})}})},ab=function(){q.each(H.borderPanes.split(","),function(){var h=Y(this),j=K[h],k=R[h],p=j.resizerClass,r=j.togglerClass,A=X[h];qa[h]=false;Ka[h]=false;if(!(!A||!j.closable&&!j.resizable)){var G=H[h].edge;A=A.is(":visible");var B="-"+h,J=A?"-open":"-closed",E;E=qa[h]=q("<span></span>");A&&j.resizable||!A&&j.slidable&&E.attr("title",j.sliderTip).css("cursor",j.sliderCursor);E.attr("id",j.paneSelector.substr(0,1)=="#"?j.paneSelector.substr(1)+
186
186
  "-resizer":"").attr("resizer",h).css(H.resizers.cssReq).css(G,T[G]+sa(h)).addClass(p+" "+p+B+" "+p+J+" "+p+B+J).appendTo(oa);j.applyDefaultStyles&&E.css(H.resizers.cssDef);if(j.closable){p=Ka[h]=q("<div></div>");p.attr("id",j.paneSelector.substr(0,1)=="#"?j.paneSelector.substr(1)+"-toggler":"").css(H.togglers.cssReq).attr("title",A?j.togglerTip_open:j.togglerTip_closed).click(function(I){Qa(h);I.stopPropagation()}).mouseover(function(I){I.stopPropagation()}).addClass(r+" "+r+B+" "+r+J+" "+r+B+J).appendTo(E);
187
187
  if(j.togglerContent_open)q("<span>"+j.togglerContent_open+"</span>").addClass("content content-open").css("display",k.isClosed?"none":"block").appendTo(p);if(j.togglerContent_closed)q("<span>"+j.togglerContent_closed+"</span>").addClass("content content-closed").css("display",k.isClosed?"block":"none").appendTo(p);j.applyDefaultStyles&&p.css(H.togglers.cssDef);A||Wa(h,true)}}});Ia("all",true)},ya=function(){var h=typeof q.fn.draggable=="function",j;q.each(H.borderPanes.split(","),function(){var k=
188
188
  Y(this),p=K[k],r=R[k];if(!h||!X[k]||!p.resizable){p.resizable=false;return true}var A=p.resizerClass,G=A+"-drag",B=A+"-"+k+"-drag",J=A+"-dragging",E=A+"-"+k+"-dragging",I=false,$=qa[k];r.isClosed||$.attr("title",p.resizerTip).css("cursor",p.resizerCursor);$.draggable({containment:oa[0],axis:H[k].dir=="horz"?"y":"x",delay:200,distance:1,helper:"clone",opacity:p.resizerDragOpacity,zIndex:H.zIndex.resizing,start:function(){if(false===W(k,p.onresize_start))return false;r.isResizing=true;na(k,"closeSlider");
189
189
  $.addClass(G+" "+B);I=false;var aa=k=="east"||k=="south"?p.spacing_open:0;Ea(k);r.minPosition-=aa;r.maxPosition-=aa;j=H[k].dir=="horz"?"top":"left";q(p.maskIframesOnResize===true?"iframe":p.maskIframesOnResize).each(function(){q('<div class="ui-layout-mask"/>').css({background:"#fff",opacity:"0.001",zIndex:9,position:"absolute",width:this.offsetWidth+"px",height:this.offsetHeight+"px"}).css(q(this).offset()).appendTo(this.parentNode)})},drag:function(aa,ja){if(!I){q(".ui-draggable-dragging").addClass(J+
190
- " "+E).children().css("visibility","hidden");I=true;r.isSliding&&X[k].css("zIndex",H.zIndex.sliding)}if(ja.position[j]<r.minPosition)ja.position[j]=r.minPosition;else if(ja.position[j]>r.maxPosition)ja.position[j]=r.maxPosition},stop:function(aa,ja){var ra=ja.position,wa;$.removeClass(G+" "+B);switch(k){case "north":wa=ra.top;break;case "west":wa=ra.left;break;case "south":wa=T.outerHeight-ra.top-$.outerHeight();break;case "east":wa=T.outerWidth-ra.left-$.outerWidth();break}za(k,wa-T[H[k].edge]);
191
- q("div.ui-layout-mask").remove();r.isResizing=false}})})},Va=function(h,j){var k=K[h],p=R[h],r=X[h],A=qa[h];if(!(!r||p.isHidden))if(false!==W(h,k.onhide_start)){p.isSliding=false;A&&A.hide();if(j||p.isClosed){p.isClosed=true;p.isHidden=true;r.hide();Da(H[h].dir=="horz"?"all":"center");W(h,k.onhide_end||k.onhide)}else{p.isHiding=true;va(h,false)}}},Pa=function(h,j){var k=K[h],p=R[h],r=qa[h];if(X[h]&&p.isHidden)if(false!==W(h,k.onshow_start)){p.isSliding=false;p.isShowing=true;r&&k.spacing_open>0&&
192
- r.show();j===false?va(h,true):Ca(h)}},Qa=function(h){var j=R[h];if(j.isHidden)Pa(h);else j.isClosed?Ca(h):va(h)},va=function(h,j,k){function p(){Wa(h,true);ja||W(h,B.onclose_end||B.onclose);if(ja)W(h,B.onshow_end||B.onshow);if(ra)W(h,B.onhide_end||B.onhide);C(h)}var r=X[h],A=qa[h],G=Ka[h],B=K[h],J=R[h];k=!k&&!J.isClosed&&B.fxName_close!="none";var E=H[h].edge,I=B.resizerClass,$=B.togglerClass,aa="-"+h,ja=J.isShowing,ra=J.isHiding;delete J.isShowing;delete J.isHiding;if(!(!r||!B.resizable&&!B.closable))if(!(!j&&
193
- J.isClosed&&!ja))if(H.isLayoutBusy)xa("close",h,j);else if(!(!ja&&false===W(h,B.onclose_start))){H[h].isMoving=true;H.isLayoutBusy=true;J.isClosed=true;if(ra)J.isHidden=true;else if(ja)J.isHidden=false;O(h,false);J.isSliding||Da(H[h].dir=="horz"?"all":"center");if(A){A.css(E,T[E]).removeClass(I+"-open "+I+aa+"-open").removeClass(I+"-sliding "+I+aa+"-sliding").addClass(I+"-closed "+I+aa+"-closed");B.resizable&&A.draggable("disable").css("cursor","default").attr("title","");G&&G.removeClass($+"-open "+
194
- $+aa+"-open").addClass($+"-closed "+$+aa+"-closed").attr("title",B.togglerTip_closed);Ia()}if(k){Sa(h,true);r.hide(B.fxName_close,B.fxSettings_close,B.fxSpeed_close,function(){Sa(h,false);J.isClosed&&p()})}else{r.hide();p()}}},Ca=function(h,j,k){function p(){J.isSliding||Da(H[h].dir=="vert"?"center":"all");if(A){A.css(E,T[E]+sa(h)).removeClass(I+ra+" "+I+aa+ra).addClass(I+ja+" "+I+aa+ja).addClass(!J.isSliding?"":I+wa+" "+I+aa+wa);B.resizable?A.draggable("enable").css("cursor",B.resizerCursor).attr("title",
195
- B.resizerTip):A.css("cursor","default");G&&G.removeClass($+ra+" "+$+aa+ra).addClass($+ja+" "+$+aa+ja).attr("title",B.togglerTip_open);Ia("all")}Ha(h);O(h,!J.isSliding);W(h,B.onopen_end||B.onopen);if(Ra)W(h,B.onshow_end||B.onshow);C(h)}var r=X[h],A=qa[h],G=Ka[h],B=K[h],J=R[h];k=!k&&J.isClosed&&B.fxName_open!="none";var E=H[h].edge,I=B.resizerClass,$=B.togglerClass,aa="-"+h,ja="-open",ra="-closed",wa="-sliding",Ra=J.isShowing;delete J.isShowing;if(!(!r||!B.resizable&&!B.closable))if(J.isClosed||J.isSliding)if(J.isHidden&&
196
- !Ra)Pa(h,true);else if(H.isLayoutBusy)xa("open",h,j);else if(false!==W(h,B.onopen_start)){H[h].isMoving=true;H.isLayoutBusy=true;J.isSliding&&!j&&Xa(h,false);J.isClosed=false;if(Ra)J.isHidden=false;Ea(h);J.size>J.maxSize&&r.css(H[h].sizeType,d(1,H[h].dir=="horz"?ma(h,J.maxSize):pa(h,J.maxSize)));Wa(h,false);if(k){Sa(h,true);r.show(B.fxName_open,B.fxSettings_open,B.fxSpeed_open,function(){Sa(h,false);J.isClosed||p()})}else{r.show();p()}}},Sa=function(h,j){var k=X[h];if(j){k.css({zIndex:H.zIndex.animation});
197
- if(h=="south")k.css({top:T.top+T.innerHeight-k.outerHeight()});else h=="east"&&k.css({left:T.left+T.innerWidth-k.outerWidth()})}else{R[h].isSliding||k.css({zIndex:H.zIndex.pane_normal});if(h=="south")k.css({top:"auto"});else h=="east"&&k.css({left:"auto"})}},Wa=function(h,j){var k=K[h],p=qa[h],r=k.slideTrigger_open;if(p&&k.slidable){if(r!="click"&&r!="dblclick"&&r!="mouseover")r="click";p[j?"bind":"unbind"](r,db).css("cursor",j?k.sliderCursor:"default").attr("title",j?k.sliderTip:"")}},Xa=function(h,
198
- j){function k(G){na(h,"closeSlider");G.stopPropagation()}var p=K[h].slideTrigger_close,r=X[h],A=qa[h];R[h].isSliding=j;na(h,"closeSlider");r.css({zIndex:j?H.zIndex.sliding:H.zIndex.pane_normal});A.css({zIndex:j?H.zIndex.sliding:H.zIndex.resizer_normal});if(p!="click"&&p!="mouseout")p="mouseout";if(j){r.bind(p,Ya);A.bind(p,Ya);if(p="mouseout"){r.bind("mouseover",k);A.bind("mouseover",k)}}else{r.unbind(p);A.unbind(p);if(p="mouseout"){r.unbind("mouseover");A.unbind("mouseover");na(h,"closeSlider")}}},
199
- db=function(){var h=q(this).attr("resizer");if(R[h].isClosed){Xa(h,true);Ca(h,true)}},Ya=function(){function h(){Xa(k,false);p.isClosed||va(k)}var j=q(this),k=j.attr("pane")||j.attr("resizer");j=K[k];var p=R[k];p.isClosed||p.isResizing||(j.slideTrigger_close=="click"?h():fa(k,"closeSlider",h,300))},za=function(h,j){var k=H[h].edge,p=H[h].dir,r=K[h],A=R[h],G=X[h],B=qa[h];Ea(h);A.minSize=d(A.minSize,r.minSize);if(r.maxSize>0)A.maxSize=Math.min(A.maxSize,r.maxSize);j=d(j,A.minSize);j=Math.min(j,A.maxSize);
200
- A.size=j;B.css(k,j+T[k]);G.css(H[h].sizeType,d(1,H[h].dir=="horz"?ma(h,j):pa(h,j)));A.isSliding||Da(p=="horz"?"all":"center");Ia();Ha(h);W(h,r.onresize_end||r.onresize)},Da=function(h,j,k){if(!h||h=="all")h="east,west,center";var p=ka();j&&q.extend(p,j);q.each(h.split(","),function(){if(X[this]){var r=Y(this),A=K[r],G=R[r],B=X[r],J=qa[r],E=true,I={};if(r=="center"){p=ka();I=q.extend({},p);I.width=d(1,pa(r,I.width));I.height=d(1,ma(r,I.height));E=I.width>1&&I.height>1;if(q.browser.msie&&(!q.boxModel||
201
- q.browser.version<7)){X.north&&X.north.css({width:pa(X.north,T.innerWidth)});X.south&&X.south.css({width:pa(X.south,T.innerWidth)})}}else{I.top=p.top;I.bottom=p.bottom;I.height=d(1,ma(r,p.height));E=I.height>1}if(E){B.css(I);if(G.noRoom){G.noRoom=false;if(G.isHidden)return;else Pa(r,!G.isClosed)}if(!k){Ha(r);W(r,A.onresize_end||A.onresize)}}else if(!G.noRoom){G.noRoom=true;if(!G.isHidden)if(k){B.hide();J&&J.hide()}else Va(r)}}})},Ha=function(h){if(!h||h=="all")h=H.allPanes;q.each(h.split(","),function(){if(Ja[this]){var j=
202
- Y(this),k=K[j].contentIgnoreSelector,p=X[j];j=Ja[j];var r=j[0],A=ma(p);p.children().each(function(){if(this!=r){var G=q(this);if(!k||!G.is(k))A-=G.outerHeight()}});if(A>0)A=ma(j,A);A<1?j.hide():j.css({height:A}).show()}})},Ia=function(h,j){if(!h||h=="all")h=H.borderPanes;q.each(h.split(","),function(){var k=Y(this),p=K[k],r=R[k],A=X[k],G=qa[k],B=Ka[k];if(!(!A||!G||!p.resizable&&!p.closable)){var J=H[k].dir,E=r.isClosed?"_closed":"_open";k=p["spacing"+E];var I=p["togglerAlign"+E];E=p["togglerLength"+
203
- E];var $;if(k==0)G.hide();else{!r.noRoom&&!r.isHidden&&G.show();if(J=="horz"){$=A.outerWidth();G.css({width:d(1,pa(G,$)),height:d(1,ma(G,k)),left:ha(A,"left")})}else{$=A.outerHeight();G.css({height:d(1,ma(G,$)),width:d(1,pa(G,k)),top:T.top+sa("north",true)})}if(B){if(E==0||r.isSliding&&p.hideTogglerOnSlide){B.hide();return}else B.show();if(!(E>0)||E=="100%"||E>$){E=$;A=0}else if(typeof I=="string")switch(I){case "top":case "left":A=0;break;case "bottom":case "right":A=$-E;break;case "middle":case "center":default:A=
204
- Math.floor(($-E)/2)}else{A=parseInt(I);A=I>=0?A:$-E+A}$=p.togglerContent_open?B.children(".content-open"):false;var aa=p.togglerContent_closed?B.children(".content-closed"):false;I=r.isClosed?aa:$;if($)$.css("display",r.isClosed?"none":"block");if(aa)aa.css("display",r.isClosed?"block":"none");if(J=="horz"){r=pa(B,E);B.css({width:d(0,r),height:d(1,ma(B,k)),left:A});I&&I.css("marginLeft",Math.floor((r-I.outerWidth())/2))}else{r=ma(B,E);B.css({height:d(0,r),width:d(1,pa(B,k)),top:A});I&&I.css("marginTop",
205
- Math.floor((r-I.outerHeight())/2))}}if(j&&p.initHidden){G.hide();B&&B.hide()}}}})},Za=function(){var h=T.innerWidth,j=T.innerHeight;T=R.container=ia(oa);var k=T.innerHeight<j,p=T.innerWidth<h,r,A;if(k||p)q.each(["south","north","east","west"],function(G,B){r=R[B];A=H[B].dir;if(!r.isClosed&&(k&&A=="horz"||p&&A=="vert")){Ea(B);r.size>r.maxSize&&za(B,r.maxSize)}});Da("all");Ia("all")},oa=q(this).css({overflow:"hidden"}),X={},Ja={},qa={},Ka={},H={allPanes:"north,south,east,west,center",borderPanes:"north,south,east,west",
206
- zIndex:{resizer_normal:1,pane_normal:2,mask:4,sliding:100,resizing:1E4,animation:1E4},resizers:{cssReq:{position:"absolute",padding:0,margin:0,fontSize:"1px",textAlign:"left",overflow:"hidden",zIndex:1},cssDef:{background:"#DDD",border:"none"}},togglers:{cssReq:{position:"absolute",display:"block",padding:0,margin:0,overflow:"hidden",textAlign:"center",fontSize:"1px",cursor:"pointer",zIndex:1},cssDef:{background:"#AAA"}},content:{cssReq:{overflow:"auto"},cssDef:{}},defaults:{cssReq:{position:"absolute",
207
- margin:0,zIndex:2},cssDef:{padding:"10px",background:"#FFF",border:"1px solid #BBB",overflow:"auto"}},north:{edge:"top",sizeType:"height",dir:"horz",cssReq:{top:0,bottom:"auto",left:0,right:0,width:"auto"}},south:{edge:"bottom",sizeType:"height",dir:"horz",cssReq:{top:"auto",bottom:0,left:0,right:0,width:"auto"}},east:{edge:"right",sizeType:"width",dir:"vert",cssReq:{left:"auto",right:0,top:"auto",bottom:"auto",height:"auto"}},west:{edge:"left",sizeType:"width",dir:"vert",cssReq:{left:0,right:"auto",
208
- top:"auto",bottom:"auto",height:"auto"}},center:{dir:"center",cssReq:{left:"auto",right:"auto",top:"auto",bottom:"auto",height:"auto",width:"auto"}}},T=R.container;(function(){Oa();Fa();Ba();ab();ya();Ha("all");if(K.scrollToBookmarkOnLoad)with(self.location)hash&&replace(hash);Ga();q(window).resize(function(){var h="timerLayout_"+R.id;window[h]&&clearTimeout(window[h]);window[h]=null;window[h]=setTimeout(Za,100)})})();return{options:K,state:R,panes:X,toggle:Qa,open:Ca,close:va,hide:Va,show:Pa,resizeContent:Ha,
209
- sizePane:za,resizeAll:Za,addToggleBtn:function(h,j){var k=M(h,j,"toggle");if(k)k.attr("title",R[j].isClosed?"Open":"Close").click(function(p){Qa(j);p.stopPropagation()})},addOpenBtn:function(h,j){var k=M(h,j,"open");k&&k.attr("title","Open").click(function(p){Ca(j);p.stopPropagation()})},addCloseBtn:function(h,j){var k=M(h,j,"close");k&&k.attr("title","Close").click(function(p){va(j);p.stopPropagation()})},addPinBtn:function(h,j){var k=M(h,j,"pin");if(k){var p=R[j];k.click(function(r){ea(q(this),
210
- j,p.isSliding||p.isClosed);p.isSliding||p.isClosed?Ca(j):va(j);r.stopPropagation()});ea(k,j,!p.isClosed&&!p.isSliding);H[j].pins.push(h)}},allowOverflow:P,resetOverflow:L,cssWidth:pa,cssHeight:ma}}})(jQuery);
190
+ " "+E).children().css("visibility","hidden");I=true;r.isSliding&&X[k].css("zIndex",H.zIndex.sliding)}if(ja.position[j]<r.minPosition)ja.position[j]=r.minPosition;else if(ja.position[j]>r.maxPosition)ja.position[j]=r.maxPosition},stop:function(aa,ja){var ra=ja.position,wa;$.removeClass(G+" "+B);switch(k){case "north":wa=ra.top;break;case "west":wa=ra.left;break;case "south":wa=T.outerHeight-ra.top-$.outerHeight();break;case "east":wa=T.outerWidth-ra.left-$.outerWidth()}za(k,wa-T[H[k].edge]);q("div.ui-layout-mask").remove();
191
+ r.isResizing=false}})})},Va=function(h,j){var k=K[h],p=R[h],r=X[h],A=qa[h];if(!(!r||p.isHidden))if(false!==W(h,k.onhide_start)){p.isSliding=false;A&&A.hide();if(j||p.isClosed){p.isClosed=true;p.isHidden=true;r.hide();Da(H[h].dir=="horz"?"all":"center");W(h,k.onhide_end||k.onhide)}else{p.isHiding=true;va(h,false)}}},Pa=function(h,j){var k=K[h],p=R[h],r=qa[h];if(X[h]&&p.isHidden)if(false!==W(h,k.onshow_start)){p.isSliding=false;p.isShowing=true;r&&k.spacing_open>0&&r.show();j===false?va(h,true):Ca(h)}},
192
+ Qa=function(h){var j=R[h];if(j.isHidden)Pa(h);else j.isClosed?Ca(h):va(h)},va=function(h,j,k){function p(){Wa(h,true);ja||W(h,B.onclose_end||B.onclose);if(ja)W(h,B.onshow_end||B.onshow);if(ra)W(h,B.onhide_end||B.onhide);C(h)}var r=X[h],A=qa[h],G=Ka[h],B=K[h],J=R[h];k=!k&&!J.isClosed&&B.fxName_close!="none";var E=H[h].edge,I=B.resizerClass,$=B.togglerClass,aa="-"+h,ja=J.isShowing,ra=J.isHiding;delete J.isShowing;delete J.isHiding;if(!(!r||!B.resizable&&!B.closable))if(!(!j&&J.isClosed&&!ja))if(H.isLayoutBusy)xa("close",
193
+ h,j);else if(!(!ja&&false===W(h,B.onclose_start))){H[h].isMoving=true;H.isLayoutBusy=true;J.isClosed=true;if(ra)J.isHidden=true;else if(ja)J.isHidden=false;O(h,false);J.isSliding||Da(H[h].dir=="horz"?"all":"center");if(A){A.css(E,T[E]).removeClass(I+"-open "+I+aa+"-open").removeClass(I+"-sliding "+I+aa+"-sliding").addClass(I+"-closed "+I+aa+"-closed");B.resizable&&A.draggable("disable").css("cursor","default").attr("title","");G&&G.removeClass($+"-open "+$+aa+"-open").addClass($+"-closed "+$+aa+"-closed").attr("title",
194
+ B.togglerTip_closed);Ia()}if(k){Sa(h,true);r.hide(B.fxName_close,B.fxSettings_close,B.fxSpeed_close,function(){Sa(h,false);J.isClosed&&p()})}else{r.hide();p()}}},Ca=function(h,j,k){function p(){J.isSliding||Da(H[h].dir=="vert"?"center":"all");if(A){A.css(E,T[E]+sa(h)).removeClass(I+ra+" "+I+aa+ra).addClass(I+ja+" "+I+aa+ja).addClass(!J.isSliding?"":I+wa+" "+I+aa+wa);B.resizable?A.draggable("enable").css("cursor",B.resizerCursor).attr("title",B.resizerTip):A.css("cursor","default");G&&G.removeClass($+
195
+ ra+" "+$+aa+ra).addClass($+ja+" "+$+aa+ja).attr("title",B.togglerTip_open);Ia("all")}Ha(h);O(h,!J.isSliding);W(h,B.onopen_end||B.onopen);if(Ra)W(h,B.onshow_end||B.onshow);C(h)}var r=X[h],A=qa[h],G=Ka[h],B=K[h],J=R[h];k=!k&&J.isClosed&&B.fxName_open!="none";var E=H[h].edge,I=B.resizerClass,$=B.togglerClass,aa="-"+h,ja="-open",ra="-closed",wa="-sliding",Ra=J.isShowing;delete J.isShowing;if(!(!r||!B.resizable&&!B.closable))if(J.isClosed||J.isSliding)if(J.isHidden&&!Ra)Pa(h,true);else if(H.isLayoutBusy)xa("open",
196
+ h,j);else if(false!==W(h,B.onopen_start)){H[h].isMoving=true;H.isLayoutBusy=true;J.isSliding&&!j&&Xa(h,false);J.isClosed=false;if(Ra)J.isHidden=false;Ea(h);J.size>J.maxSize&&r.css(H[h].sizeType,d(1,H[h].dir=="horz"?ma(h,J.maxSize):pa(h,J.maxSize)));Wa(h,false);if(k){Sa(h,true);r.show(B.fxName_open,B.fxSettings_open,B.fxSpeed_open,function(){Sa(h,false);J.isClosed||p()})}else{r.show();p()}}},Sa=function(h,j){var k=X[h];if(j){k.css({zIndex:H.zIndex.animation});if(h=="south")k.css({top:T.top+T.innerHeight-
197
+ k.outerHeight()});else h=="east"&&k.css({left:T.left+T.innerWidth-k.outerWidth()})}else{R[h].isSliding||k.css({zIndex:H.zIndex.pane_normal});if(h=="south")k.css({top:"auto"});else h=="east"&&k.css({left:"auto"})}},Wa=function(h,j){var k=K[h],p=qa[h],r=k.slideTrigger_open;if(p&&k.slidable){if(r!="click"&&r!="dblclick"&&r!="mouseover")r="click";p[j?"bind":"unbind"](r,db).css("cursor",j?k.sliderCursor:"default").attr("title",j?k.sliderTip:"")}},Xa=function(h,j){function k(G){na(h,"closeSlider");G.stopPropagation()}
198
+ var p=K[h].slideTrigger_close,r=X[h],A=qa[h];R[h].isSliding=j;na(h,"closeSlider");r.css({zIndex:j?H.zIndex.sliding:H.zIndex.pane_normal});A.css({zIndex:j?H.zIndex.sliding:H.zIndex.resizer_normal});if(p!="click"&&p!="mouseout")p="mouseout";if(j){r.bind(p,Ya);A.bind(p,Ya);p="mouseout";r.bind("mouseover",k);A.bind("mouseover",k)}else{r.unbind(p);A.unbind(p);p="mouseout";r.unbind("mouseover");A.unbind("mouseover");na(h,"closeSlider")}},db=function(){var h=q(this).attr("resizer");if(R[h].isClosed){Xa(h,
199
+ true);Ca(h,true)}},Ya=function(){function h(){Xa(k,false);p.isClosed||va(k)}var j=q(this),k=j.attr("pane")||j.attr("resizer");j=K[k];var p=R[k];p.isClosed||p.isResizing||(j.slideTrigger_close=="click"?h():fa(k,"closeSlider",h,300))},za=function(h,j){var k=H[h].edge,p=H[h].dir,r=K[h],A=R[h],G=X[h],B=qa[h];Ea(h);A.minSize=d(A.minSize,r.minSize);if(r.maxSize>0)A.maxSize=Math.min(A.maxSize,r.maxSize);j=d(j,A.minSize);j=Math.min(j,A.maxSize);A.size=j;B.css(k,j+T[k]);G.css(H[h].sizeType,d(1,H[h].dir=="horz"?
200
+ ma(h,j):pa(h,j)));A.isSliding||Da(p=="horz"?"all":"center");Ia();Ha(h);W(h,r.onresize_end||r.onresize)},Da=function(h,j,k){if(!h||h=="all")h="east,west,center";var p=ka();j&&q.extend(p,j);q.each(h.split(","),function(){if(X[this]){var r=Y(this),A=K[r],G=R[r],B=X[r],J=qa[r],E=true,I={};if(r=="center"){p=ka();I=q.extend({},p);I.width=d(1,pa(r,I.width));I.height=d(1,ma(r,I.height));E=I.width>1&&I.height>1;if(q.browser.msie&&(!q.boxModel||q.browser.version<7)){X.north&&X.north.css({width:pa(X.north,T.innerWidth)});
201
+ X.south&&X.south.css({width:pa(X.south,T.innerWidth)})}}else{I.top=p.top;I.bottom=p.bottom;I.height=d(1,ma(r,p.height));E=I.height>1}if(E){B.css(I);if(G.noRoom){G.noRoom=false;if(G.isHidden)return;else Pa(r,!G.isClosed)}if(!k){Ha(r);W(r,A.onresize_end||A.onresize)}}else if(!G.noRoom){G.noRoom=true;if(!G.isHidden)if(k){B.hide();J&&J.hide()}else Va(r)}}})},Ha=function(h){if(!h||h=="all")h=H.allPanes;q.each(h.split(","),function(){if(Ja[this]){var j=Y(this),k=K[j].contentIgnoreSelector,p=X[j];j=Ja[j];
202
+ var r=j[0],A=ma(p);p.children().each(function(){if(this!=r){var G=q(this);if(!k||!G.is(k))A-=G.outerHeight()}});if(A>0)A=ma(j,A);A<1?j.hide():j.css({height:A}).show()}})},Ia=function(h,j){if(!h||h=="all")h=H.borderPanes;q.each(h.split(","),function(){var k=Y(this),p=K[k],r=R[k],A=X[k],G=qa[k],B=Ka[k];if(!(!A||!G||!p.resizable&&!p.closable)){var J=H[k].dir,E=r.isClosed?"_closed":"_open";k=p["spacing"+E];var I=p["togglerAlign"+E];E=p["togglerLength"+E];var $;if(k==0)G.hide();else{!r.noRoom&&!r.isHidden&&
203
+ G.show();if(J=="horz"){$=A.outerWidth();G.css({width:d(1,pa(G,$)),height:d(1,ma(G,k)),left:ha(A,"left")})}else{$=A.outerHeight();G.css({height:d(1,ma(G,$)),width:d(1,pa(G,k)),top:T.top+sa("north",true)})}if(B){if(E==0||r.isSliding&&p.hideTogglerOnSlide){B.hide();return}else B.show();if(!(E>0)||E=="100%"||E>$){E=$;A=0}else if(typeof I=="string")switch(I){case "top":case "left":A=0;break;case "bottom":case "right":A=$-E;break;default:A=Math.floor(($-E)/2)}else{A=parseInt(I);A=I>=0?A:$-E+A}$=p.togglerContent_open?
204
+ B.children(".content-open"):false;var aa=p.togglerContent_closed?B.children(".content-closed"):false;I=r.isClosed?aa:$;if($)$.css("display",r.isClosed?"none":"block");if(aa)aa.css("display",r.isClosed?"block":"none");if(J=="horz"){r=pa(B,E);B.css({width:d(0,r),height:d(1,ma(B,k)),left:A});I&&I.css("marginLeft",Math.floor((r-I.outerWidth())/2))}else{r=ma(B,E);B.css({height:d(0,r),width:d(1,pa(B,k)),top:A});I&&I.css("marginTop",Math.floor((r-I.outerHeight())/2))}}if(j&&p.initHidden){G.hide();B&&B.hide()}}}})},
205
+ Za=function(){var h=T.innerWidth,j=T.innerHeight;T=R.container=ia(oa);var k=T.innerHeight<j,p=T.innerWidth<h,r,A;if(k||p)q.each(["south","north","east","west"],function(G,B){r=R[B];A=H[B].dir;if(!r.isClosed&&(k&&A=="horz"||p&&A=="vert")){Ea(B);r.size>r.maxSize&&za(B,r.maxSize)}});Da("all");Ia("all")},oa=q(this).css({overflow:"hidden"}),X={},Ja={},qa={},Ka={},H={allPanes:"north,south,east,west,center",borderPanes:"north,south,east,west",zIndex:{resizer_normal:1,pane_normal:2,mask:4,sliding:100,resizing:1E4,
206
+ animation:1E4},resizers:{cssReq:{position:"absolute",padding:0,margin:0,fontSize:"1px",textAlign:"left",overflow:"hidden",zIndex:1},cssDef:{background:"#DDD",border:"none"}},togglers:{cssReq:{position:"absolute",display:"block",padding:0,margin:0,overflow:"hidden",textAlign:"center",fontSize:"1px",cursor:"pointer",zIndex:1},cssDef:{background:"#AAA"}},content:{cssReq:{overflow:"auto"},cssDef:{}},defaults:{cssReq:{position:"absolute",margin:0,zIndex:2},cssDef:{padding:"10px",background:"#FFF",border:"1px solid #BBB",
207
+ overflow:"auto"}},north:{edge:"top",sizeType:"height",dir:"horz",cssReq:{top:0,bottom:"auto",left:0,right:0,width:"auto"}},south:{edge:"bottom",sizeType:"height",dir:"horz",cssReq:{top:"auto",bottom:0,left:0,right:0,width:"auto"}},east:{edge:"right",sizeType:"width",dir:"vert",cssReq:{left:"auto",right:0,top:"auto",bottom:"auto",height:"auto"}},west:{edge:"left",sizeType:"width",dir:"vert",cssReq:{left:0,right:"auto",top:"auto",bottom:"auto",height:"auto"}},center:{dir:"center",cssReq:{left:"auto",
208
+ right:"auto",top:"auto",bottom:"auto",height:"auto",width:"auto"}}},T=R.container;(function(){Oa();Fa();Ba();ab();ya();Ha("all");if(K.scrollToBookmarkOnLoad)with(self.location)hash&&replace(hash);Ga();q(window).resize(function(){var h="timerLayout_"+R.id;window[h]&&clearTimeout(window[h]);window[h]=null;window[h]=setTimeout(Za,100)})})();return{options:K,state:R,panes:X,toggle:Qa,open:Ca,close:va,hide:Va,show:Pa,resizeContent:Ha,sizePane:za,resizeAll:Za,addToggleBtn:function(h,j){var k=M(h,j,"toggle");
209
+ if(k)k.attr("title",R[j].isClosed?"Open":"Close").click(function(p){Qa(j);p.stopPropagation()})},addOpenBtn:function(h,j){var k=M(h,j,"open");k&&k.attr("title","Open").click(function(p){Ca(j);p.stopPropagation()})},addCloseBtn:function(h,j){var k=M(h,j,"close");k&&k.attr("title","Close").click(function(p){va(j);p.stopPropagation()})},addPinBtn:function(h,j){var k=M(h,j,"pin");if(k){var p=R[j];k.click(function(r){ea(q(this),j,p.isSliding||p.isClosed);p.isSliding||p.isClosed?Ca(j):va(j);r.stopPropagation()});
210
+ ea(k,j,!p.isClosed&&!p.isSliding);H[j].pins.push(h)}},allowOverflow:P,resetOverflow:L,cssWidth:pa,cssHeight:ma}}})(jQuery);