lipsiadmin 4.1.8 → 5.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (201) hide show
  1. data/CHANGELOG +41 -2
  2. data/lib/access_control/authentication.rb +1 -1
  3. data/lib/access_control/base.rb +18 -11
  4. data/lib/controller/ext.rb +5 -3
  5. data/lib/controller/pdf_builder.rb +22 -6
  6. data/lib/controller/responds_to_parent.rb +1 -1
  7. data/lib/data_base/attachment_table.rb +0 -1
  8. data/lib/lipsiadmin.rb +7 -0
  9. data/lib/mailer/pdf_builder.rb +23 -9
  10. data/lib/version.rb +3 -3
  11. data/lib/view/helpers/backend_helper.rb +137 -97
  12. data/lib/view/helpers/ext/button.rb +62 -0
  13. data/lib/view/helpers/ext/column_model.rb +29 -23
  14. data/lib/view/helpers/ext/component.rb +52 -40
  15. data/lib/view/helpers/ext/configuration.rb +3 -2
  16. data/lib/view/helpers/ext/grid.rb +38 -40
  17. data/lib/view/helpers/ext/store.rb +12 -12
  18. data/lib/view/helpers/ext/templates/grid_functions.js.erb +14 -9
  19. data/lib/view/helpers/ext/tool_bar.rb +9 -10
  20. data/lib/view/helpers/ext_helper.rb +3 -2
  21. data/lib/view/helpers/pdf_helper.rb +45 -0
  22. data/lipsiadmin_generators/attachment/REMEMBER +0 -4
  23. data/lipsiadmin_generators/attachment/templates/migration.rb +1 -1
  24. data/lipsiadmin_generators/backend/templates/config/config.yml +2 -3
  25. data/lipsiadmin_generators/backend/templates/config/locales/backend/en.yml +2 -0
  26. data/lipsiadmin_generators/backend/templates/config/locales/backend/it.yml +2 -0
  27. data/lipsiadmin_generators/backend/templates/config/locales/models/{en.yml → account/en.yml} +0 -0
  28. data/lipsiadmin_generators/backend/templates/config/locales/models/{it.yml → account/it.yml} +0 -0
  29. data/lipsiadmin_generators/backend/templates/controllers/javascripts_controller.rb +1 -1
  30. data/lipsiadmin_generators/backend/templates/images/backend/association_break.png +0 -0
  31. data/lipsiadmin_generators/backend/templates/images/backend/association_ok.png +0 -0
  32. data/lipsiadmin_generators/backend/templates/images/backend/categories.gif +0 -0
  33. data/lipsiadmin_generators/backend/templates/images/ext/charts.swf +0 -0
  34. data/lipsiadmin_generators/backend/templates/images/ext/{slate/sizer/se-handle.gif → default/button/arrow.gif} +0 -0
  35. data/lipsiadmin_generators/backend/templates/images/ext/default/button/btn.gif +0 -0
  36. data/lipsiadmin_generators/backend/templates/images/ext/default/button/group-cs.gif +0 -0
  37. data/lipsiadmin_generators/backend/templates/images/ext/{slate/grid/grid-blue-split.gif → default/button/group-lr.gif} +0 -0
  38. data/lipsiadmin_generators/backend/templates/images/ext/{slate/grid/arrow-right-white.gif → default/button/group-tb.gif} +0 -0
  39. data/lipsiadmin_generators/backend/templates/images/ext/default/button/s-arrow-b-noline.gif +0 -0
  40. data/lipsiadmin_generators/backend/templates/images/ext/default/button/s-arrow-b.gif +0 -0
  41. data/lipsiadmin_generators/backend/templates/images/ext/default/button/s-arrow-bo.gif +0 -0
  42. data/lipsiadmin_generators/backend/templates/images/ext/{slate/grid/grid3-hrow.gif → default/button/s-arrow-noline.gif} +0 -0
  43. data/lipsiadmin_generators/backend/templates/images/ext/default/button/s-arrow-o.gif +0 -0
  44. data/lipsiadmin_generators/backend/templates/images/ext/default/button/s-arrow.gif +0 -0
  45. data/lipsiadmin_generators/backend/templates/images/ext/default/form/checkbox.gif +0 -0
  46. data/lipsiadmin_generators/backend/templates/images/ext/default/form/radio.gif +0 -0
  47. data/lipsiadmin_generators/backend/templates/images/ext/default/form/trigger.gif +0 -0
  48. data/lipsiadmin_generators/backend/templates/images/ext/default/grid/group-collapse.gif +0 -0
  49. data/lipsiadmin_generators/backend/templates/images/ext/default/grid/group-expand.gif +0 -0
  50. data/lipsiadmin_generators/backend/templates/images/ext/default/grid/refresh.gif +0 -0
  51. data/lipsiadmin_generators/backend/templates/images/ext/default/grid/sort-hd.gif +0 -0
  52. data/lipsiadmin_generators/backend/templates/images/ext/default/panel/tool-sprites.gif +0 -0
  53. data/lipsiadmin_generators/backend/templates/images/ext/default/panel/tools-sprites-trans.gif +0 -0
  54. data/lipsiadmin_generators/backend/templates/images/ext/default/qtip/tip-anchor-sprite.gif +0 -0
  55. data/lipsiadmin_generators/backend/templates/images/ext/default/shadow-c.png +0 -0
  56. data/lipsiadmin_generators/backend/templates/images/ext/default/slider/slider-bg.png +0 -0
  57. data/lipsiadmin_generators/backend/templates/images/ext/default/slider/slider-thumb.png +0 -0
  58. data/lipsiadmin_generators/backend/templates/images/ext/default/slider/slider-v-bg.png +0 -0
  59. data/lipsiadmin_generators/backend/templates/images/ext/default/slider/slider-v-thumb.png +0 -0
  60. data/lipsiadmin_generators/backend/templates/images/ext/{slate/grid/arrow-left-white.gif → default/toolbar/more.gif} +0 -0
  61. data/lipsiadmin_generators/backend/templates/images/ext/default/toolbar/tb-xl-btn-sprite.gif +0 -0
  62. data/lipsiadmin_generators/backend/templates/images/ext/{slate/panel/left-right.gif → default/toolbar/tb-xl-sep.gif} +0 -0
  63. data/lipsiadmin_generators/backend/templates/images/ext/default/window/left-corners.png +0 -0
  64. data/lipsiadmin_generators/backend/templates/images/ext/default/window/left-right.png +0 -0
  65. data/lipsiadmin_generators/backend/templates/images/ext/default/window/left-right.psd +0 -0
  66. data/lipsiadmin_generators/backend/templates/images/ext/default/window/right-corners.png +0 -0
  67. data/lipsiadmin_generators/backend/templates/images/ext/default/window/top-bottom.png +0 -0
  68. data/lipsiadmin_generators/backend/templates/images/ext/default/window/top-bottom.psd +0 -0
  69. data/lipsiadmin_generators/backend/templates/images/ext/expressinstall.swf +0 -0
  70. data/lipsiadmin_generators/backend/templates/javascripts/ext.js +97 -76
  71. data/lipsiadmin_generators/backend/templates/javascripts/prototype.js +14 -12
  72. data/lipsiadmin_generators/backend/templates/models/notifier.rb +1 -1
  73. data/lipsiadmin_generators/backend/templates/stylesheets/backend.css +11 -2
  74. data/lipsiadmin_generators/backend/templates/stylesheets/ext.css +1070 -546
  75. data/lipsiadmin_generators/backend/templates/stylesheets/login.css +1 -0
  76. data/lipsiadmin_generators/backend/templates/views/backend/accounts/index.rjs +1 -0
  77. data/lipsiadmin_generators/backend/templates/views/backend/base/index.html.haml +7 -4
  78. data/lipsiadmin_generators/backend/templates/views/javascripts/backend.js.erb +203 -143
  79. data/lipsiadmin_generators/pdf/pdf_generator.rb +1 -4
  80. data/lipsiadmin_generators/pdf/templates/view.html.haml +11 -6
  81. data/lipsiadmin_generators/state_session/state_session_generator.rb +2 -0
  82. data/resources/javascripts/ux.js +16 -17
  83. data/resources/javascripts/ux.min.js +2 -0
  84. data/resources/pd4ml/ruby/Pd4Ruby.class +0 -0
  85. data/resources/pd4ml/ruby/Pd4Ruby.java +277 -31
  86. data/tasks/lipsiadmin_tasks.rake +18 -1
  87. metadata +32 -124
  88. data/lipsiadmin_generators/backend/templates/images/ext/default/box/tb-slate.gif +0 -0
  89. data/lipsiadmin_generators/backend/templates/images/ext/default/button/btn-arrow.gif +0 -0
  90. data/lipsiadmin_generators/backend/templates/images/ext/default/button/btn-sprite.gif +0 -0
  91. data/lipsiadmin_generators/backend/templates/images/ext/default/grid/Thumbs.db +0 -0
  92. data/lipsiadmin_generators/backend/templates/images/ext/slate/button/btn-arrow.gif +0 -0
  93. data/lipsiadmin_generators/backend/templates/images/ext/slate/button/btn-sprite.gif +0 -0
  94. data/lipsiadmin_generators/backend/templates/images/ext/slate/editor/tb-sprite.gif +0 -0
  95. data/lipsiadmin_generators/backend/templates/images/ext/slate/form/checkbox.gif +0 -0
  96. data/lipsiadmin_generators/backend/templates/images/ext/slate/form/clear-trigger.gif +0 -0
  97. data/lipsiadmin_generators/backend/templates/images/ext/slate/form/date-trigger.gif +0 -0
  98. data/lipsiadmin_generators/backend/templates/images/ext/slate/form/radio.gif +0 -0
  99. data/lipsiadmin_generators/backend/templates/images/ext/slate/form/search-trigger.gif +0 -0
  100. data/lipsiadmin_generators/backend/templates/images/ext/slate/form/trigger-tpl.gif +0 -0
  101. data/lipsiadmin_generators/backend/templates/images/ext/slate/form/trigger.gif +0 -0
  102. data/lipsiadmin_generators/backend/templates/images/ext/slate/gradient-bg.gif +0 -0
  103. data/lipsiadmin_generators/backend/templates/images/ext/slate/grid/col-move-bottom.gif +0 -0
  104. data/lipsiadmin_generators/backend/templates/images/ext/slate/grid/col-move-top.gif +0 -0
  105. data/lipsiadmin_generators/backend/templates/images/ext/slate/grid/footer-bg.gif +0 -0
  106. data/lipsiadmin_generators/backend/templates/images/ext/slate/grid/grid-blue-hd.gif +0 -0
  107. data/lipsiadmin_generators/backend/templates/images/ext/slate/grid/grid-hrow.gif +0 -0
  108. data/lipsiadmin_generators/backend/templates/images/ext/slate/grid/grid-split.gif +0 -0
  109. data/lipsiadmin_generators/backend/templates/images/ext/slate/grid/grid-vista-hd.gif +0 -0
  110. data/lipsiadmin_generators/backend/templates/images/ext/slate/grid/grid3-hd-btn.gif +0 -0
  111. data/lipsiadmin_generators/backend/templates/images/ext/slate/grid/grid3-hrow-over.gif +0 -0
  112. data/lipsiadmin_generators/backend/templates/images/ext/slate/grid/grid3-special-col-bg.gif +0 -0
  113. data/lipsiadmin_generators/backend/templates/images/ext/slate/grid/grid3-special-col-sel-bg.gif +0 -0
  114. data/lipsiadmin_generators/backend/templates/images/ext/slate/grid/group-expand-sprite.gif +0 -0
  115. data/lipsiadmin_generators/backend/templates/images/ext/slate/grid/mso-hd.gif +0 -0
  116. data/lipsiadmin_generators/backend/templates/images/ext/slate/grid/page-first-disabled.gif +0 -0
  117. data/lipsiadmin_generators/backend/templates/images/ext/slate/grid/page-first.gif +0 -0
  118. data/lipsiadmin_generators/backend/templates/images/ext/slate/grid/page-last-disabled.gif +0 -0
  119. data/lipsiadmin_generators/backend/templates/images/ext/slate/grid/page-last.gif +0 -0
  120. data/lipsiadmin_generators/backend/templates/images/ext/slate/grid/page-next-disabled.gif +0 -0
  121. data/lipsiadmin_generators/backend/templates/images/ext/slate/grid/page-next.gif +0 -0
  122. data/lipsiadmin_generators/backend/templates/images/ext/slate/grid/page-prev-disabled.gif +0 -0
  123. data/lipsiadmin_generators/backend/templates/images/ext/slate/grid/page-prev.gif +0 -0
  124. data/lipsiadmin_generators/backend/templates/images/ext/slate/grid/refresh.gif +0 -0
  125. data/lipsiadmin_generators/backend/templates/images/ext/slate/grid/row-over.gif +0 -0
  126. data/lipsiadmin_generators/backend/templates/images/ext/slate/grid/row-sel.gif +0 -0
  127. data/lipsiadmin_generators/backend/templates/images/ext/slate/grid/sort_asc.gif +0 -0
  128. data/lipsiadmin_generators/backend/templates/images/ext/slate/grid/sort_desc.gif +0 -0
  129. data/lipsiadmin_generators/backend/templates/images/ext/slate/menu/checked.gif +0 -0
  130. data/lipsiadmin_generators/backend/templates/images/ext/slate/menu/group-checked.gif +0 -0
  131. data/lipsiadmin_generators/backend/templates/images/ext/slate/menu/item-over - Copy.gif +0 -0
  132. data/lipsiadmin_generators/backend/templates/images/ext/slate/menu/item-over.gif +0 -0
  133. data/lipsiadmin_generators/backend/templates/images/ext/slate/menu/menu-parent.gif +0 -0
  134. data/lipsiadmin_generators/backend/templates/images/ext/slate/menu/menu.gif +0 -0
  135. data/lipsiadmin_generators/backend/templates/images/ext/slate/menu/unchecked.gif +0 -0
  136. data/lipsiadmin_generators/backend/templates/images/ext/slate/panel/corners-sprite.gif +0 -0
  137. data/lipsiadmin_generators/backend/templates/images/ext/slate/panel/light-hd.gif +0 -0
  138. data/lipsiadmin_generators/backend/templates/images/ext/slate/panel/tool-sprite-tpl.gif +0 -0
  139. data/lipsiadmin_generators/backend/templates/images/ext/slate/panel/tool-sprites.gif +0 -0
  140. data/lipsiadmin_generators/backend/templates/images/ext/slate/panel/tools-sprites-trans.gif +0 -0
  141. data/lipsiadmin_generators/backend/templates/images/ext/slate/panel/top-bottom.gif +0 -0
  142. data/lipsiadmin_generators/backend/templates/images/ext/slate/panel/top-bottom.png +0 -0
  143. data/lipsiadmin_generators/backend/templates/images/ext/slate/panel/white-corners-sprite.gif +0 -0
  144. data/lipsiadmin_generators/backend/templates/images/ext/slate/panel/white-left-right.gif +0 -0
  145. data/lipsiadmin_generators/backend/templates/images/ext/slate/panel/white-top-bottom.gif +0 -0
  146. data/lipsiadmin_generators/backend/templates/images/ext/slate/progress/progress-bg.gif +0 -0
  147. data/lipsiadmin_generators/backend/templates/images/ext/slate/qtip/bg.gif +0 -0
  148. data/lipsiadmin_generators/backend/templates/images/ext/slate/qtip/close.gif +0 -0
  149. data/lipsiadmin_generators/backend/templates/images/ext/slate/qtip/tip-sprite.gif +0 -0
  150. data/lipsiadmin_generators/backend/templates/images/ext/slate/s.gif +0 -0
  151. data/lipsiadmin_generators/backend/templates/images/ext/slate/shared/glass-bg.gif +0 -0
  152. data/lipsiadmin_generators/backend/templates/images/ext/slate/shared/hd-sprite.gif +0 -0
  153. data/lipsiadmin_generators/backend/templates/images/ext/slate/shared/left-btn.gif +0 -0
  154. data/lipsiadmin_generators/backend/templates/images/ext/slate/shared/right-btn.gif +0 -0
  155. data/lipsiadmin_generators/backend/templates/images/ext/slate/sizer/e-handle-dark.gif +0 -0
  156. data/lipsiadmin_generators/backend/templates/images/ext/slate/sizer/e-handle.gif +0 -0
  157. data/lipsiadmin_generators/backend/templates/images/ext/slate/sizer/ne-handle-dark.gif +0 -0
  158. data/lipsiadmin_generators/backend/templates/images/ext/slate/sizer/ne-handle.gif +0 -0
  159. data/lipsiadmin_generators/backend/templates/images/ext/slate/sizer/nw-handle-dark.gif +0 -0
  160. data/lipsiadmin_generators/backend/templates/images/ext/slate/sizer/nw-handle.gif +0 -0
  161. data/lipsiadmin_generators/backend/templates/images/ext/slate/sizer/s-handle-dark.gif +0 -0
  162. data/lipsiadmin_generators/backend/templates/images/ext/slate/sizer/s-handle.gif +0 -0
  163. data/lipsiadmin_generators/backend/templates/images/ext/slate/sizer/se-handle-dark.gif +0 -0
  164. data/lipsiadmin_generators/backend/templates/images/ext/slate/sizer/square.gif +0 -0
  165. data/lipsiadmin_generators/backend/templates/images/ext/slate/sizer/sw-handle-dark.gif +0 -0
  166. data/lipsiadmin_generators/backend/templates/images/ext/slate/sizer/sw-handle.gif +0 -0
  167. data/lipsiadmin_generators/backend/templates/images/ext/slate/slider/slider-bg.png +0 -0
  168. data/lipsiadmin_generators/backend/templates/images/ext/slate/slider/slider-thumb.png +0 -0
  169. data/lipsiadmin_generators/backend/templates/images/ext/slate/slider/slider-v-bg.png +0 -0
  170. data/lipsiadmin_generators/backend/templates/images/ext/slate/slider/slider-v-thumb.png +0 -0
  171. data/lipsiadmin_generators/backend/templates/images/ext/slate/tabs/scroll-left.gif +0 -0
  172. data/lipsiadmin_generators/backend/templates/images/ext/slate/tabs/scroll-right.gif +0 -0
  173. data/lipsiadmin_generators/backend/templates/images/ext/slate/tabs/scroller-bg.gif +0 -0
  174. data/lipsiadmin_generators/backend/templates/images/ext/slate/tabs/tab-btm-inactive-left-bg.gif +0 -0
  175. data/lipsiadmin_generators/backend/templates/images/ext/slate/tabs/tab-btm-inactive-right-bg.gif +0 -0
  176. data/lipsiadmin_generators/backend/templates/images/ext/slate/tabs/tab-btm-left-bg.gif +0 -0
  177. data/lipsiadmin_generators/backend/templates/images/ext/slate/tabs/tab-btm-right-bg.gif +0 -0
  178. data/lipsiadmin_generators/backend/templates/images/ext/slate/tabs/tab-close.gif +0 -0
  179. data/lipsiadmin_generators/backend/templates/images/ext/slate/tabs/tab-strip-bg.gif +0 -0
  180. data/lipsiadmin_generators/backend/templates/images/ext/slate/tabs/tab-strip-bg.png +0 -0
  181. data/lipsiadmin_generators/backend/templates/images/ext/slate/tabs/tab-strip-btm-bg.gif +0 -0
  182. data/lipsiadmin_generators/backend/templates/images/ext/slate/tabs/tabs-sprite.gif +0 -0
  183. data/lipsiadmin_generators/backend/templates/images/ext/slate/toolbar/bg-menu.png +0 -0
  184. data/lipsiadmin_generators/backend/templates/images/ext/slate/toolbar/bg.gif +0 -0
  185. data/lipsiadmin_generators/backend/templates/images/ext/slate/toolbar/btn-arrow-light.gif +0 -0
  186. data/lipsiadmin_generators/backend/templates/images/ext/slate/toolbar/btn-arrow.gif +0 -0
  187. data/lipsiadmin_generators/backend/templates/images/ext/slate/toolbar/btn-over-bg.gif +0 -0
  188. data/lipsiadmin_generators/backend/templates/images/ext/slate/toolbar/gray-bg.gif +0 -0
  189. data/lipsiadmin_generators/backend/templates/images/ext/slate/toolbar/tb-bg.gif +0 -0
  190. data/lipsiadmin_generators/backend/templates/images/ext/slate/toolbar/tb-btn-sprite.gif +0 -0
  191. data/lipsiadmin_generators/backend/templates/images/ext/slate/tree/arrows.gif +0 -0
  192. data/lipsiadmin_generators/backend/templates/images/ext/slate/window/icon-error.gif +0 -0
  193. data/lipsiadmin_generators/backend/templates/images/ext/slate/window/icon-info.gif +0 -0
  194. data/lipsiadmin_generators/backend/templates/images/ext/slate/window/icon-question.gif +0 -0
  195. data/lipsiadmin_generators/backend/templates/images/ext/slate/window/icon-warning.gif +0 -0
  196. data/lipsiadmin_generators/backend/templates/images/ext/slate/window/left-corners.png +0 -0
  197. data/lipsiadmin_generators/backend/templates/images/ext/slate/window/left-right.png +0 -0
  198. data/lipsiadmin_generators/backend/templates/images/ext/slate/window/right-corners.png +0 -0
  199. data/lipsiadmin_generators/backend/templates/images/ext/slate/window/top-bottom.png +0 -0
  200. data/lipsiadmin_generators/backend/templates/stylesheets/backend-slate.css +0 -105
  201. data/lipsiadmin_generators/backend/templates/stylesheets/ext-slate.css +0 -241
@@ -1,12 +1,14 @@
1
- var Prototype={Version:"1.6.0.3",Browser:{IE:!!(window.attachEvent&&navigator.userAgent.indexOf("Opera")===-1),Opera:navigator.userAgent.indexOf("Opera")>-1,WebKit:navigator.userAgent.indexOf("AppleWebKit/")>-1,Gecko:navigator.userAgent.indexOf("Gecko")>-1&&navigator.userAgent.indexOf("KHTML")===-1,MobileSafari:!!navigator.userAgent.match(/Apple.*Mobile.*Safari/)},BrowserFeatures:{XPath:!!document.evaluate,SelectorsAPI:!!document.querySelector,ElementExtensions:!!window.HTMLElement,SpecificElementExtensions:document.createElement("div")["__proto__"]&&document.createElement("div")["__proto__"]!==document.createElement("form")["__proto__"]},ScriptFragment:"<script[^>]*>([\\S\\s]*?)<\/script>",JSONFilter:/^\/\*-secure-([\s\S]*)\*\/\s*$/,emptyFunction:function(){},K:function(x){return x}};if(Prototype.Browser.MobileSafari){Prototype.BrowserFeatures.SpecificElementExtensions=false}var Class={create:function(){var parent=null,properties=$A(arguments);if(Object.isFunction(properties[0])){parent=properties.shift()}function klass(){this.initialize.apply(this,arguments)}Object.extend(klass,Class.Methods);klass.superclass=parent;klass.subclasses=[];if(parent){var subclass=function(){};subclass.prototype=parent.prototype;klass.prototype=new subclass;parent.subclasses.push(klass)}for(var i=0;i<properties.length;i++){klass.addMethods(properties[i])}if(!klass.prototype.initialize){klass.prototype.initialize=Prototype.emptyFunction}klass.prototype.constructor=klass;return klass}};Class.Methods={addMethods:function(source){var ancestor=this.superclass&&this.superclass.prototype;var properties=Object.keys(source);if(!Object.keys({toString:true}).length){properties.push("toString","valueOf")}for(var i=0,length=properties.length;i<length;i++){var property=properties[i],value=source[property];if(ancestor&&Object.isFunction(value)&&value.argumentNames().first()=="$super"){var method=value;value=(function(m){return function(){return ancestor[m].apply(this,arguments)}})(property).wrap(method);value.valueOf=method.valueOf.bind(method);value.toString=method.toString.bind(method)}this.prototype[property]=value}return this}};var Abstract={};Object.extend=function(destination,source){for(var property in source){destination[property]=source[property]}return destination};Object.extend(Object,{inspect:function(object){try{if(Object.isUndefined(object)){return"undefined"}if(object===null){return"null"}return object.inspect?object.inspect():String(object)}catch(e){if(e instanceof RangeError){return"..."}throw e}},toJSON:function(object){var type=typeof object;switch(type){case"undefined":case"function":case"unknown":return;case"boolean":return object.toString()}if(object===null){return"null"}if(object.toJSON){return object.toJSON()}if(Object.isElement(object)){return}var results=[];for(var property in object){var value=Object.toJSON(object[property]);if(!Object.isUndefined(value)){results.push(property.toJSON()+": "+value)}}return"{"+results.join(", ")+"}"},toQueryString:function(object){return $H(object).toQueryString()},toHTML:function(object){return object&&object.toHTML?object.toHTML():String.interpret(object)},keys:function(object){var keys=[];for(var property in object){keys.push(property)}return keys},values:function(object){var values=[];for(var property in object){values.push(object[property])}return values},clone:function(object){return Object.extend({},object)},isElement:function(object){return !!(object&&object.nodeType==1)},isArray:function(object){return object!=null&&typeof object=="object"&&"splice" in object&&"join" in object},isHash:function(object){return object instanceof Hash},isFunction:function(object){return typeof object=="function"},isString:function(object){return typeof object=="string"},isNumber:function(object){return typeof object=="number"},isUndefined:function(object){return typeof object=="undefined"}});Object.extend(Function.prototype,{argumentNames:function(){var names=this.toString().match(/^[\s\(]*function[^(]*\(([^\)]*)\)/)[1].replace(/\s+/g,"").split(",");return names.length==1&&!names[0]?[]:names},bind:function(){if(arguments.length<2&&Object.isUndefined(arguments[0])){return this}var __method=this,args=$A(arguments),object=args.shift();return function(){return __method.apply(object,args.concat($A(arguments)))}},bindAsEventListener:function(){var __method=this,args=$A(arguments),object=args.shift();return function(event){return __method.apply(object,[event||window.event].concat(args))}},curry:function(){if(!arguments.length){return this}var __method=this,args=$A(arguments);return function(){return __method.apply(this,args.concat($A(arguments)))}},delay:function(){var __method=this,args=$A(arguments),timeout=args.shift()*1000;return window.setTimeout(function(){return __method.apply(__method,args)},timeout)},defer:function(){var args=[0.01].concat($A(arguments));return this.delay.apply(this,args)},wrap:function(wrapper){var __method=this;return function(){return wrapper.apply(this,[__method.bind(this)].concat($A(arguments)))}},methodize:function(){if(this._methodized){return this._methodized}var __method=this;return this._methodized=function(){return __method.apply(null,[this].concat($A(arguments)))}}});Date.prototype.toJSON=function(){return'"'+this.getUTCFullYear()+"-"+(this.getUTCMonth()+1).toPaddedString(2)+"-"+this.getUTCDate().toPaddedString(2)+"T"+this.getUTCHours().toPaddedString(2)+":"+this.getUTCMinutes().toPaddedString(2)+":"+this.getUTCSeconds().toPaddedString(2)+'Z"'};var Try={these:function(){var returnValue;for(var i=0,length=arguments.length;i<length;i++){var lambda=arguments[i];try{returnValue=lambda();break}catch(e){}}return returnValue}};RegExp.prototype.match=RegExp.prototype.test;RegExp.escape=function(str){return String(str).replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")};var PeriodicalExecuter=Class.create({initialize:function(callback,frequency){this.callback=callback;this.frequency=frequency;this.currentlyExecuting=false;this.registerCallback()},registerCallback:function(){this.timer=setInterval(this.onTimerEvent.bind(this),this.frequency*1000)},execute:function(){this.callback(this)},stop:function(){if(!this.timer){return}clearInterval(this.timer);this.timer=null},onTimerEvent:function(){if(!this.currentlyExecuting){try{this.currentlyExecuting=true;this.execute()}finally{this.currentlyExecuting=false}}}});Object.extend(String,{interpret:function(value){return value==null?"":String(value)},specialChar:{"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","\\":"\\\\"}});Object.extend(String.prototype,{gsub:function(pattern,replacement){var result="",source=this,match;replacement=arguments.callee.prepareReplacement(replacement);while(source.length>0){if(match=source.match(pattern)){result+=source.slice(0,match.index);result+=String.interpret(replacement(match));source=source.slice(match.index+match[0].length)}else{result+=source,source=""}}return result},sub:function(pattern,replacement,count){replacement=this.gsub.prepareReplacement(replacement);count=Object.isUndefined(count)?1:count;return this.gsub(pattern,function(match){if(--count<0){return match[0]}return replacement(match)})},scan:function(pattern,iterator){this.gsub(pattern,iterator);return String(this)},truncate:function(length,truncation){length=length||30;truncation=Object.isUndefined(truncation)?"...":truncation;return this.length>length?this.slice(0,length-truncation.length)+truncation:String(this)},strip:function(){return this.replace(/^\s+/,"").replace(/\s+$/,"")},stripTags:function(){return this.replace(/<\/?[^>]+>/gi,"")},stripScripts:function(){return this.replace(new RegExp(Prototype.ScriptFragment,"img"),"")},extractScripts:function(){var matchAll=new RegExp(Prototype.ScriptFragment,"img");var matchOne=new RegExp(Prototype.ScriptFragment,"im");return(this.match(matchAll)||[]).map(function(scriptTag){return(scriptTag.match(matchOne)||["",""])[1]})},evalScripts:function(){return this.extractScripts().map(function(script){return eval(script)})},escapeHTML:function(){var self=arguments.callee;
2
- self.text.data=this;return self.div.innerHTML},unescapeHTML:function(){var div=new Element("div");div.innerHTML=this.stripTags();return div.childNodes[0]?(div.childNodes.length>1?$A(div.childNodes).inject("",function(memo,node){return memo+node.nodeValue}):div.childNodes[0].nodeValue):""},toQueryParams:function(separator){var match=this.strip().match(/([^?#]*)(#.*)?$/);if(!match){return{}}return match[1].split(separator||"&").inject({},function(hash,pair){if((pair=pair.split("="))[0]){var key=decodeURIComponent(pair.shift());var value=pair.length>1?pair.join("="):pair[0];if(value!=undefined){value=decodeURIComponent(value)}if(key in hash){if(!Object.isArray(hash[key])){hash[key]=[hash[key]]}hash[key].push(value)}else{hash[key]=value}}return hash})},toArray:function(){return this.split("")},succ:function(){return this.slice(0,this.length-1)+String.fromCharCode(this.charCodeAt(this.length-1)+1)},times:function(count){return count<1?"":new Array(count+1).join(this)},camelize:function(){var parts=this.split("-"),len=parts.length;if(len==1){return parts[0]}var camelized=this.charAt(0)=="-"?parts[0].charAt(0).toUpperCase()+parts[0].substring(1):parts[0];for(var i=1;i<len;i++){camelized+=parts[i].charAt(0).toUpperCase()+parts[i].substring(1)}return camelized},capitalize:function(){return this.charAt(0).toUpperCase()+this.substring(1).toLowerCase()},underscore:function(){return this.gsub(/::/,"/").gsub(/([A-Z]+)([A-Z][a-z])/,"#{1}_#{2}").gsub(/([a-z\d])([A-Z])/,"#{1}_#{2}").gsub(/-/,"_").toLowerCase()},dasherize:function(){return this.gsub(/_/,"-")},inspect:function(useDoubleQuotes){var escapedString=this.gsub(/[\x00-\x1f\\]/,function(match){var character=String.specialChar[match[0]];return character?character:"\\u00"+match[0].charCodeAt().toPaddedString(2,16)});if(useDoubleQuotes){return'"'+escapedString.replace(/"/g,'\\"')+'"'}return"'"+escapedString.replace(/'/g,"\\'")+"'"},toJSON:function(){return this.inspect(true)},unfilterJSON:function(filter){return this.sub(filter||Prototype.JSONFilter,"#{1}")},isJSON:function(){var str=this;if(str.blank()){return false}str=this.replace(/\\./g,"@").replace(/"[^"\\\n\r]*"/g,"");return(/^[,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]*$/).test(str)},evalJSON:function(sanitize){var json=this.unfilterJSON();try{if(!sanitize||json.isJSON()){return eval("("+json+")")}}catch(e){}throw new SyntaxError("Badly formed JSON string: "+this.inspect())},include:function(pattern){return this.indexOf(pattern)>-1},startsWith:function(pattern){return this.indexOf(pattern)===0},endsWith:function(pattern){var d=this.length-pattern.length;return d>=0&&this.lastIndexOf(pattern)===d},empty:function(){return this==""},blank:function(){return/^\s*$/.test(this)},interpolate:function(object,pattern){return new Template(this,pattern).evaluate(object)}});if(Prototype.Browser.WebKit||Prototype.Browser.IE){Object.extend(String.prototype,{escapeHTML:function(){return this.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")},unescapeHTML:function(){return this.stripTags().replace(/&amp;/g,"&").replace(/&lt;/g,"<").replace(/&gt;/g,">")}})}String.prototype.gsub.prepareReplacement=function(replacement){if(Object.isFunction(replacement)){return replacement}var template=new Template(replacement);return function(match){return template.evaluate(match)}};String.prototype.parseQuery=String.prototype.toQueryParams;Object.extend(String.prototype.escapeHTML,{div:document.createElement("div"),text:document.createTextNode("")});String.prototype.escapeHTML.div.appendChild(String.prototype.escapeHTML.text);var Template=Class.create({initialize:function(template,pattern){this.template=template.toString();this.pattern=pattern||Template.Pattern},evaluate:function(object){if(Object.isFunction(object.toTemplateReplacements)){object=object.toTemplateReplacements()}return this.template.gsub(this.pattern,function(match){if(object==null){return""}var before=match[1]||"";if(before=="\\"){return match[2]}var ctx=object,expr=match[3];var pattern=/^([^.[]+|\[((?:.*?[^\\])?)\])(\.|\[|$)/;match=pattern.exec(expr);if(match==null){return before}while(match!=null){var comp=match[1].startsWith("[")?match[2].gsub("\\\\]","]"):match[1];ctx=ctx[comp];if(null==ctx||""==match[3]){break}expr=expr.substring("["==match[3]?match[1].length:match[0].length);match=pattern.exec(expr)}return before+String.interpret(ctx)})}});Template.Pattern=/(^|.|\r|\n)(#\{(.*?)\})/;var $break={};var Enumerable={each:function(iterator,context){var index=0;try{this._each(function(value){iterator.call(context,value,index++)})}catch(e){if(e!=$break){throw e}}return this},eachSlice:function(number,iterator,context){var index=-number,slices=[],array=this.toArray();if(number<1){return array}while((index+=number)<array.length){slices.push(array.slice(index,index+number))}return slices.collect(iterator,context)},all:function(iterator,context){iterator=iterator||Prototype.K;var result=true;this.each(function(value,index){result=result&&!!iterator.call(context,value,index);if(!result){throw $break}});return result},any:function(iterator,context){iterator=iterator||Prototype.K;var result=false;this.each(function(value,index){if(result=!!iterator.call(context,value,index)){throw $break}});return result},collect:function(iterator,context){iterator=iterator||Prototype.K;var results=[];this.each(function(value,index){results.push(iterator.call(context,value,index))});return results},detect:function(iterator,context){var result;this.each(function(value,index){if(iterator.call(context,value,index)){result=value;throw $break}});return result},findAll:function(iterator,context){var results=[];this.each(function(value,index){if(iterator.call(context,value,index)){results.push(value)}});return results},grep:function(filter,iterator,context){iterator=iterator||Prototype.K;var results=[];if(Object.isString(filter)){filter=new RegExp(filter)}this.each(function(value,index){if(filter.match(value)){results.push(iterator.call(context,value,index))}});return results},include:function(object){if(Object.isFunction(this.indexOf)){if(this.indexOf(object)!=-1){return true}}var found=false;this.each(function(value){if(value==object){found=true;throw $break}});return found},inGroupsOf:function(number,fillWith){fillWith=Object.isUndefined(fillWith)?null:fillWith;return this.eachSlice(number,function(slice){while(slice.length<number){slice.push(fillWith)}return slice})},inject:function(memo,iterator,context){this.each(function(value,index){memo=iterator.call(context,memo,value,index)});return memo},invoke:function(method){var args=$A(arguments).slice(1);return this.map(function(value){return value[method].apply(value,args)})},max:function(iterator,context){iterator=iterator||Prototype.K;var result;this.each(function(value,index){value=iterator.call(context,value,index);if(result==null||value>=result){result=value}});return result},min:function(iterator,context){iterator=iterator||Prototype.K;var result;this.each(function(value,index){value=iterator.call(context,value,index);if(result==null||value<result){result=value}});return result},partition:function(iterator,context){iterator=iterator||Prototype.K;var trues=[],falses=[];this.each(function(value,index){(iterator.call(context,value,index)?trues:falses).push(value)});return[trues,falses]},pluck:function(property){var results=[];this.each(function(value){results.push(value[property])});return results},reject:function(iterator,context){var results=[];this.each(function(value,index){if(!iterator.call(context,value,index)){results.push(value)}});return results},sortBy:function(iterator,context){return this.map(function(value,index){return{value:value,criteria:iterator.call(context,value,index)}}).sort(function(left,right){var a=left.criteria,b=right.criteria;return a<b?-1:a>b?1:0}).pluck("value")},toArray:function(){return this.map()},zip:function(){var iterator=Prototype.K,args=$A(arguments);if(Object.isFunction(args.last())){iterator=args.pop()}var collections=[this].concat(args).map($A);return this.map(function(value,index){return iterator(collections.pluck(index))
3
- })},size:function(){return this.toArray().length},inspect:function(){return"#<Enumerable:"+this.toArray().inspect()+">"}};Object.extend(Enumerable,{map:Enumerable.collect,find:Enumerable.detect,select:Enumerable.findAll,filter:Enumerable.findAll,member:Enumerable.include,entries:Enumerable.toArray,every:Enumerable.all,some:Enumerable.any});function $A(iterable){if(!iterable){return[]}if(iterable.toArray){return iterable.toArray()}var length=iterable.length||0,results=new Array(length);while(length--){results[length]=iterable[length]}return results}if(Prototype.Browser.WebKit){$A=function(iterable){if(!iterable){return[]}if(!(typeof iterable==="function"&&typeof iterable.length==="number"&&typeof iterable.item==="function")&&iterable.toArray){return iterable.toArray()}var length=iterable.length||0,results=new Array(length);while(length--){results[length]=iterable[length]}return results}}Array.from=$A;Object.extend(Array.prototype,Enumerable);if(!Array.prototype._reverse){Array.prototype._reverse=Array.prototype.reverse}Object.extend(Array.prototype,{_each:function(iterator){for(var i=0,length=this.length;i<length;i++){iterator(this[i])}},clear:function(){this.length=0;return this},first:function(){return this[0]},last:function(){return this[this.length-1]},compact:function(){return this.select(function(value){return value!=null})},flatten:function(){return this.inject([],function(array,value){return array.concat(Object.isArray(value)?value.flatten():[value])})},without:function(){var values=$A(arguments);return this.select(function(value){return !values.include(value)})},reverse:function(inline){return(inline!==false?this:this.toArray())._reverse()},reduce:function(){return this.length>1?this:this[0]},uniq:function(sorted){return this.inject([],function(array,value,index){if(0==index||(sorted?array.last()!=value:!array.include(value))){array.push(value)}return array})},intersect:function(array){return this.uniq().findAll(function(item){return array.detect(function(value){return item===value})})},clone:function(){return[].concat(this)},size:function(){return this.length},inspect:function(){return"["+this.map(Object.inspect).join(", ")+"]"},toJSON:function(){var results=[];this.each(function(object){var value=Object.toJSON(object);if(!Object.isUndefined(value)){results.push(value)}});return"["+results.join(", ")+"]"}});if(Object.isFunction(Array.prototype.forEach)){Array.prototype._each=Array.prototype.forEach}if(!Array.prototype.indexOf){Array.prototype.indexOf=function(item,i){i||(i=0);var length=this.length;if(i<0){i=length+i}for(;i<length;i++){if(this[i]===item){return i}}return -1}}if(!Array.prototype.lastIndexOf){Array.prototype.lastIndexOf=function(item,i){i=isNaN(i)?this.length:(i<0?this.length+i:i)+1;var n=this.slice(0,i).reverse().indexOf(item);return(n<0)?n:i-n-1}}Array.prototype.toArray=Array.prototype.clone;function $w(string){if(!Object.isString(string)){return[]}string=string.strip();return string?string.split(/\s+/):[]}if(Prototype.Browser.Opera){Array.prototype.concat=function(){var array=[];for(var i=0,length=this.length;i<length;i++){array.push(this[i])}for(var i=0,length=arguments.length;i<length;i++){if(Object.isArray(arguments[i])){for(var j=0,arrayLength=arguments[i].length;j<arrayLength;j++){array.push(arguments[i][j])}}else{array.push(arguments[i])}}return array}}Object.extend(Number.prototype,{toColorPart:function(){return this.toPaddedString(2,16)},succ:function(){return this+1},times:function(iterator,context){$R(0,this,true).each(iterator,context);return this},toPaddedString:function(length,radix){var string=this.toString(radix||10);return"0".times(length-string.length)+string},toJSON:function(){return isFinite(this)?this.toString():"null"}});$w("abs round ceil floor").each(function(method){Number.prototype[method]=Math[method].methodize()});function $H(object){return new Hash(object)}var Hash=Class.create(Enumerable,(function(){function toQueryPair(key,value){if(Object.isUndefined(value)){return key}return key+"="+encodeURIComponent(String.interpret(value))}return{initialize:function(object){this._object=Object.isHash(object)?object.toObject():Object.clone(object)},_each:function(iterator){for(var key in this._object){var value=this._object[key],pair=[key,value];pair.key=key;pair.value=value;iterator(pair)}},set:function(key,value){return this._object[key]=value},get:function(key){if(this._object[key]!==Object.prototype[key]){return this._object[key]}},unset:function(key){var value=this._object[key];delete this._object[key];return value},toObject:function(){return Object.clone(this._object)},keys:function(){return this.pluck("key")},values:function(){return this.pluck("value")},index:function(value){var match=this.detect(function(pair){return pair.value===value});return match&&match.key},merge:function(object){return this.clone().update(object)},update:function(object){return new Hash(object).inject(this,function(result,pair){result.set(pair.key,pair.value);return result})},toQueryString:function(){return this.inject([],function(results,pair){var key=encodeURIComponent(pair.key),values=pair.value;if(values&&typeof values=="object"){if(Object.isArray(values)){return results.concat(values.map(toQueryPair.curry(key)))}}else{results.push(toQueryPair(key,values))}return results}).join("&")},inspect:function(){return"#<Hash:{"+this.map(function(pair){return pair.map(Object.inspect).join(": ")}).join(", ")+"}>"},toJSON:function(){return Object.toJSON(this.toObject())},clone:function(){return new Hash(this)}}})());Hash.prototype.toTemplateReplacements=Hash.prototype.toObject;Hash.from=$H;var ObjectRange=Class.create(Enumerable,{initialize:function(start,end,exclusive){this.start=start;this.end=end;this.exclusive=exclusive},_each:function(iterator){var value=this.start;while(this.include(value)){iterator(value);value=value.succ()}},include:function(value){if(value<this.start){return false}if(this.exclusive){return value<this.end}return value<=this.end}});var $R=function(start,end,exclusive){return new ObjectRange(start,end,exclusive)};var Ajax={getTransport:function(){return Try.these(function(){return new XMLHttpRequest()},function(){return new ActiveXObject("Msxml2.XMLHTTP")},function(){return new ActiveXObject("Microsoft.XMLHTTP")})||false},activeRequestCount:0};Ajax.Responders={responders:[],_each:function(iterator){this.responders._each(iterator)},register:function(responder){if(!this.include(responder)){this.responders.push(responder)}},unregister:function(responder){this.responders=this.responders.without(responder)},dispatch:function(callback,request,transport,json){this.each(function(responder){if(Object.isFunction(responder[callback])){try{responder[callback].apply(responder,[request,transport,json])}catch(e){}}})}};Object.extend(Ajax.Responders,Enumerable);Ajax.Responders.register({onCreate:function(){Ajax.activeRequestCount++},onComplete:function(){Ajax.activeRequestCount--}});Ajax.Base=Class.create({initialize:function(options){this.options={method:"post",asynchronous:true,contentType:"application/x-www-form-urlencoded",encoding:"UTF-8",parameters:"",evalJSON:true,evalJS:true};Object.extend(this.options,options||{});this.options.method=this.options.method.toLowerCase();if(Object.isString(this.options.parameters)){this.options.parameters=this.options.parameters.toQueryParams()}else{if(Object.isHash(this.options.parameters)){this.options.parameters=this.options.parameters.toObject()}}}});Ajax.Request=Class.create(Ajax.Base,{_complete:false,initialize:function($super,url,options){$super(options);this.transport=Ajax.getTransport();this.request(url)},request:function(url){this.url=url;this.method=this.options.method;var params=Object.clone(this.options.parameters);if(!["get","post"].include(this.method)){params._method=this.method;this.method="post"}this.parameters=params;if(params=Object.toQueryString(params)){if(this.method=="get"){this.url+=(this.url.include("?")?"&":"?")+params}else{if(/Konqueror|Safari|KHTML/.test(navigator.userAgent)){params+="&_="
4
- }}}try{var response=new Ajax.Response(this);if(this.options.onCreate){this.options.onCreate(response)}Ajax.Responders.dispatch("onCreate",this,response);this.transport.open(this.method.toUpperCase(),this.url,this.options.asynchronous);if(this.options.asynchronous){this.respondToReadyState.bind(this).defer(1)}this.transport.onreadystatechange=this.onStateChange.bind(this);this.setRequestHeaders();this.body=this.method=="post"?(this.options.postBody||params):null;this.transport.send(this.body);if(!this.options.asynchronous&&this.transport.overrideMimeType){this.onStateChange()}}catch(e){this.dispatchException(e)}},onStateChange:function(){var readyState=this.transport.readyState;if(readyState>1&&!((readyState==4)&&this._complete)){this.respondToReadyState(this.transport.readyState)}},setRequestHeaders:function(){var headers={"X-Requested-With":"XMLHttpRequest","X-Prototype-Version":Prototype.Version,Accept:"text/javascript, text/html, application/xml, text/xml, */*"};if(this.method=="post"){headers["Content-type"]=this.options.contentType+(this.options.encoding?"; charset="+this.options.encoding:"");if(this.transport.overrideMimeType&&(navigator.userAgent.match(/Gecko\/(\d{4})/)||[0,2005])[1]<2005){headers.Connection="close"}}if(typeof this.options.requestHeaders=="object"){var extras=this.options.requestHeaders;if(Object.isFunction(extras.push)){for(var i=0,length=extras.length;i<length;i+=2){headers[extras[i]]=extras[i+1]}}else{$H(extras).each(function(pair){headers[pair.key]=pair.value})}}for(var name in headers){this.transport.setRequestHeader(name,headers[name])}},success:function(){var status=this.getStatus();return !status||(status>=200&&status<300)},getStatus:function(){try{return this.transport.status||0}catch(e){return 0}},respondToReadyState:function(readyState){var state=Ajax.Request.Events[readyState],response=new Ajax.Response(this);if(state=="Complete"){try{this._complete=true;(this.options["on"+response.status]||this.options["on"+(this.success()?"Success":"Failure")]||Prototype.emptyFunction)(response,response.headerJSON)}catch(e){this.dispatchException(e)}var contentType=response.getHeader("Content-type");if(this.options.evalJS=="force"||(this.options.evalJS&&this.isSameOrigin()&&contentType&&contentType.match(/^\s*(text|application)\/(x-)?(java|ecma)script(;.*)?\s*$/i))){this.evalResponse()}}try{(this.options["on"+state]||Prototype.emptyFunction)(response,response.headerJSON);Ajax.Responders.dispatch("on"+state,this,response,response.headerJSON)}catch(e){this.dispatchException(e)}if(state=="Complete"){this.transport.onreadystatechange=Prototype.emptyFunction}},isSameOrigin:function(){var m=this.url.match(/^\s*https?:\/\/[^\/]*/);return !m||(m[0]=="#{protocol}//#{domain}#{port}".interpolate({protocol:location.protocol,domain:document.domain,port:location.port?":"+location.port:""}))},getHeader:function(name){try{return this.transport.getResponseHeader(name)||null}catch(e){return null}},evalResponse:function(){try{return eval((this.transport.responseText||"").unfilterJSON())}catch(e){this.dispatchException(e)}},dispatchException:function(exception){(this.options.onException||Prototype.emptyFunction)(this,exception);Ajax.Responders.dispatch("onException",this,exception)}});Ajax.Request.Events=["Uninitialized","Loading","Loaded","Interactive","Complete"];Ajax.Response=Class.create({initialize:function(request){this.request=request;var transport=this.transport=request.transport,readyState=this.readyState=transport.readyState;if((readyState>2&&!Prototype.Browser.IE)||readyState==4){this.status=this.getStatus();this.statusText=this.getStatusText();this.responseText=String.interpret(transport.responseText);this.headerJSON=this._getHeaderJSON()}if(readyState==4){var xml=transport.responseXML;this.responseXML=Object.isUndefined(xml)?null:xml;this.responseJSON=this._getResponseJSON()}},status:0,statusText:"",getStatus:Ajax.Request.prototype.getStatus,getStatusText:function(){try{return this.transport.statusText||""}catch(e){return""}},getHeader:Ajax.Request.prototype.getHeader,getAllHeaders:function(){try{return this.getAllResponseHeaders()}catch(e){return null}},getResponseHeader:function(name){return this.transport.getResponseHeader(name)},getAllResponseHeaders:function(){return this.transport.getAllResponseHeaders()},_getHeaderJSON:function(){var json=this.getHeader("X-JSON");if(!json){return null}json=decodeURIComponent(escape(json));try{return json.evalJSON(this.request.options.sanitizeJSON||!this.request.isSameOrigin())}catch(e){this.request.dispatchException(e)}},_getResponseJSON:function(){var options=this.request.options;if(!options.evalJSON||(options.evalJSON!="force"&&!(this.getHeader("Content-type")||"").include("application/json"))||this.responseText.blank()){return null}try{return this.responseText.evalJSON(options.sanitizeJSON||!this.request.isSameOrigin())}catch(e){this.request.dispatchException(e)}}});Ajax.Updater=Class.create(Ajax.Request,{initialize:function($super,container,url,options){this.container={success:(container.success||container),failure:(container.failure||(container.success?null:container))};options=Object.clone(options);var onComplete=options.onComplete;options.onComplete=(function(response,json){this.updateContent(response.responseText);if(Object.isFunction(onComplete)){onComplete(response,json)}}).bind(this);$super(url,options)},updateContent:function(responseText){var receiver=this.container[this.success()?"success":"failure"],options=this.options;if(!options.evalScripts){responseText=responseText.stripScripts()}if(receiver=$(receiver)){if(options.insertion){if(Object.isString(options.insertion)){var insertion={};insertion[options.insertion]=responseText;receiver.insert(insertion)}else{options.insertion(receiver,responseText)}}else{receiver.update(responseText)}}}});Ajax.PeriodicalUpdater=Class.create(Ajax.Base,{initialize:function($super,container,url,options){$super(options);this.onComplete=this.options.onComplete;this.frequency=(this.options.frequency||2);this.decay=(this.options.decay||1);this.updater={};this.container=container;this.url=url;this.start()},start:function(){this.options.onComplete=this.updateComplete.bind(this);this.onTimerEvent()},stop:function(){this.updater.options.onComplete=undefined;clearTimeout(this.timer);(this.onComplete||Prototype.emptyFunction).apply(this,arguments)},updateComplete:function(response){if(this.options.decay){this.decay=(response.responseText==this.lastText?this.decay*this.options.decay:1);this.lastText=response.responseText}this.timer=this.onTimerEvent.bind(this).delay(this.decay*this.frequency)},onTimerEvent:function(){this.updater=new Ajax.Updater(this.container,this.url,this.options)}});function $(element){if(arguments.length>1){for(var i=0,elements=[],length=arguments.length;i<length;i++){elements.push($(arguments[i]))}return elements}if(Object.isString(element)){element=document.getElementById(element)}return Element.extend(element)}if(Prototype.BrowserFeatures.XPath){document._getElementsByXPath=function(expression,parentElement){var results=[];var query=document.evaluate(expression,$(parentElement)||document,null,XPathResult.ORDERED_NODE_SNAPSHOT_TYPE,null);for(var i=0,length=query.snapshotLength;i<length;i++){results.push(Element.extend(query.snapshotItem(i)))}return results}}if(!window.Node){var Node={}}if(!Node.ELEMENT_NODE){Object.extend(Node,{ELEMENT_NODE:1,ATTRIBUTE_NODE:2,TEXT_NODE:3,CDATA_SECTION_NODE:4,ENTITY_REFERENCE_NODE:5,ENTITY_NODE:6,PROCESSING_INSTRUCTION_NODE:7,COMMENT_NODE:8,DOCUMENT_NODE:9,DOCUMENT_TYPE_NODE:10,DOCUMENT_FRAGMENT_NODE:11,NOTATION_NODE:12})}(function(){var element=this.Element;this.Element=function(tagName,attributes){attributes=attributes||{};tagName=tagName.toLowerCase();var cache=Element.cache;if(Prototype.Browser.IE&&attributes.name){tagName="<"+tagName+' name="'+attributes.name+'">';delete attributes.name;return Element.writeAttribute(document.createElement(tagName),attributes)}if(!cache[tagName]){cache[tagName]=Element.extend(document.createElement(tagName))
5
- }return Element.writeAttribute(cache[tagName].cloneNode(false),attributes)};Object.extend(this.Element,element||{});if(element){this.Element.prototype=element.prototype}}).call(window);Element.cache={};Element.Methods={visible:function(element){return $(element).style.display!="none"},toggle:function(element){element=$(element);Element[Element.visible(element)?"hide":"show"](element);return element},hide:function(element){element=$(element);element.style.display="none";return element},show:function(element){element=$(element);element.style.display="";return element},remove:function(element){element=$(element);element.parentNode.removeChild(element);return element},update:function(element,content){element=$(element);if(content&&content.toElement){content=content.toElement()}if(Object.isElement(content)){return element.update().insert(content)}content=Object.toHTML(content);element.innerHTML=content.stripScripts();content.evalScripts.bind(content).defer();return element},replace:function(element,content){element=$(element);if(content&&content.toElement){content=content.toElement()}else{if(!Object.isElement(content)){content=Object.toHTML(content);var range=element.ownerDocument.createRange();range.selectNode(element);content.evalScripts.bind(content).defer();content=range.createContextualFragment(content.stripScripts())}}element.parentNode.replaceChild(content,element);return element},insert:function(element,insertions){element=$(element);if(Object.isString(insertions)||Object.isNumber(insertions)||Object.isElement(insertions)||(insertions&&(insertions.toElement||insertions.toHTML))){insertions={bottom:insertions}}var content,insert,tagName,childNodes;for(var position in insertions){content=insertions[position];position=position.toLowerCase();insert=Element._insertionTranslations[position];if(content&&content.toElement){content=content.toElement()}if(Object.isElement(content)){insert(element,content);continue}content=Object.toHTML(content);tagName=((position=="before"||position=="after")?element.parentNode:element).tagName.toUpperCase();childNodes=Element._getContentFromAnonymousElement(tagName,content.stripScripts());if(position=="top"||position=="after"){childNodes.reverse()}childNodes.each(insert.curry(element));content.evalScripts.bind(content).defer()}return element},wrap:function(element,wrapper,attributes){element=$(element);if(Object.isElement(wrapper)){$(wrapper).writeAttribute(attributes||{})}else{if(Object.isString(wrapper)){wrapper=new Element(wrapper,attributes)}else{wrapper=new Element("div",wrapper)}}if(element.parentNode){element.parentNode.replaceChild(wrapper,element)}wrapper.appendChild(element);return wrapper},inspect:function(element){element=$(element);var result="<"+element.tagName.toLowerCase();$H({id:"id",className:"class"}).each(function(pair){var property=pair.first(),attribute=pair.last();var value=(element[property]||"").toString();if(value){result+=" "+attribute+"="+value.inspect(true)}});return result+">"},recursivelyCollect:function(element,property){element=$(element);var elements=[];while(element=element[property]){if(element.nodeType==1){elements.push(Element.extend(element))}}return elements},ancestors:function(element){return $(element).recursivelyCollect("parentNode")},descendants:function(element){return $(element).select("*")},firstDescendant:function(element){element=$(element).firstChild;while(element&&element.nodeType!=1){element=element.nextSibling}return $(element)},immediateDescendants:function(element){if(!(element=$(element).firstChild)){return[]}while(element&&element.nodeType!=1){element=element.nextSibling}if(element){return[element].concat($(element).nextSiblings())}return[]},previousSiblings:function(element){return $(element).recursivelyCollect("previousSibling")},nextSiblings:function(element){return $(element).recursivelyCollect("nextSibling")},siblings:function(element){element=$(element);return element.previousSiblings().reverse().concat(element.nextSiblings())},match:function(element,selector){if(Object.isString(selector)){selector=new Selector(selector)}return selector.match($(element))},up:function(element,expression,index){element=$(element);if(arguments.length==1){return $(element.parentNode)}var ancestors=element.ancestors();return Object.isNumber(expression)?ancestors[expression]:Selector.findElement(ancestors,expression,index)},down:function(element,expression,index){element=$(element);if(arguments.length==1){return element.firstDescendant()}return Object.isNumber(expression)?element.descendants()[expression]:Element.select(element,expression)[index||0]},previous:function(element,expression,index){element=$(element);if(arguments.length==1){return $(Selector.handlers.previousElementSibling(element))}var previousSiblings=element.previousSiblings();return Object.isNumber(expression)?previousSiblings[expression]:Selector.findElement(previousSiblings,expression,index)},next:function(element,expression,index){element=$(element);if(arguments.length==1){return $(Selector.handlers.nextElementSibling(element))}var nextSiblings=element.nextSiblings();return Object.isNumber(expression)?nextSiblings[expression]:Selector.findElement(nextSiblings,expression,index)},select:function(){var args=$A(arguments),element=$(args.shift());return Selector.findChildElements(element,args)},adjacent:function(){var args=$A(arguments),element=$(args.shift());return Selector.findChildElements(element.parentNode,args).without(element)},identify:function(element){element=$(element);var id=element.readAttribute("id"),self=arguments.callee;if(id){return id}do{id="anonymous_element_"+self.counter++}while($(id));element.writeAttribute("id",id);return id},readAttribute:function(element,name){element=$(element);if(Prototype.Browser.IE){var t=Element._attributeTranslations.read;if(t.values[name]){return t.values[name](element,name)}if(t.names[name]){name=t.names[name]}if(name.include(":")){return(!element.attributes||!element.attributes[name])?null:element.attributes[name].value}}return element.getAttribute(name)},writeAttribute:function(element,name,value){element=$(element);var attributes={},t=Element._attributeTranslations.write;if(typeof name=="object"){attributes=name}else{attributes[name]=Object.isUndefined(value)?true:value}for(var attr in attributes){name=t.names[attr]||attr;value=attributes[attr];if(t.values[attr]){name=t.values[attr](element,value)}if(value===false||value===null){element.removeAttribute(name)}else{if(value===true){element.setAttribute(name,name)}else{element.setAttribute(name,value)}}}return element},getHeight:function(element){return $(element).getDimensions().height},getWidth:function(element){return $(element).getDimensions().width},classNames:function(element){return new Element.ClassNames(element)},hasClassName:function(element,className){if(!(element=$(element))){return}var elementClassName=element.className;return(elementClassName.length>0&&(elementClassName==className||new RegExp("(^|\\s)"+className+"(\\s|$)").test(elementClassName)))},addClassName:function(element,className){if(!(element=$(element))){return}if(!element.hasClassName(className)){element.className+=(element.className?" ":"")+className}return element},removeClassName:function(element,className){if(!(element=$(element))){return}element.className=element.className.replace(new RegExp("(^|\\s+)"+className+"(\\s+|$)")," ").strip();return element},toggleClassName:function(element,className){if(!(element=$(element))){return}return element[element.hasClassName(className)?"removeClassName":"addClassName"](className)},cleanWhitespace:function(element){element=$(element);var node=element.firstChild;while(node){var nextNode=node.nextSibling;if(node.nodeType==3&&!/\S/.test(node.nodeValue)){element.removeChild(node)}node=nextNode}return element},empty:function(element){return $(element).innerHTML.blank()},descendantOf:function(element,ancestor){element=$(element),ancestor=$(ancestor);if(element.compareDocumentPosition){return(element.compareDocumentPosition(ancestor)&8)===8
6
- }if(ancestor.contains){return ancestor.contains(element)&&ancestor!==element}while(element=element.parentNode){if(element==ancestor){return true}}return false},scrollTo:function(element){element=$(element);var pos=element.cumulativeOffset();window.scrollTo(pos[0],pos[1]);return element},getStyle:function(element,style){element=$(element);style=style=="float"?"cssFloat":style.camelize();var value=element.style[style];if(!value||value=="auto"){var css=document.defaultView.getComputedStyle(element,null);value=css?css[style]:null}if(style=="opacity"){return value?parseFloat(value):1}return value=="auto"?null:value},getOpacity:function(element){return $(element).getStyle("opacity")},setStyle:function(element,styles){element=$(element);var elementStyle=element.style,match;if(Object.isString(styles)){element.style.cssText+=";"+styles;return styles.include("opacity")?element.setOpacity(styles.match(/opacity:\s*(\d?\.?\d*)/)[1]):element}for(var property in styles){if(property=="opacity"){element.setOpacity(styles[property])}else{elementStyle[(property=="float"||property=="cssFloat")?(Object.isUndefined(elementStyle.styleFloat)?"cssFloat":"styleFloat"):property]=styles[property]}}return element},setOpacity:function(element,value){element=$(element);element.style.opacity=(value==1||value==="")?"":(value<0.00001)?0:value;return element},getDimensions:function(element){element=$(element);var display=element.getStyle("display");if(display!="none"&&display!=null){return{width:element.offsetWidth,height:element.offsetHeight}}var els=element.style;var originalVisibility=els.visibility;var originalPosition=els.position;var originalDisplay=els.display;els.visibility="hidden";els.position="absolute";els.display="block";var originalWidth=element.clientWidth;var originalHeight=element.clientHeight;els.display=originalDisplay;els.position=originalPosition;els.visibility=originalVisibility;return{width:originalWidth,height:originalHeight}},makePositioned:function(element){element=$(element);var pos=Element.getStyle(element,"position");if(pos=="static"||!pos){element._madePositioned=true;element.style.position="relative";if(Prototype.Browser.Opera){element.style.top=0;element.style.left=0}}return element},undoPositioned:function(element){element=$(element);if(element._madePositioned){element._madePositioned=undefined;element.style.position=element.style.top=element.style.left=element.style.bottom=element.style.right=""}return element},makeClipping:function(element){element=$(element);if(element._overflow){return element}element._overflow=Element.getStyle(element,"overflow")||"auto";if(element._overflow!=="hidden"){element.style.overflow="hidden"}return element},undoClipping:function(element){element=$(element);if(!element._overflow){return element}element.style.overflow=element._overflow=="auto"?"":element._overflow;element._overflow=null;return element},cumulativeOffset:function(element){var valueT=0,valueL=0;do{valueT+=element.offsetTop||0;valueL+=element.offsetLeft||0;element=element.offsetParent}while(element);return Element._returnOffset(valueL,valueT)},positionedOffset:function(element){var valueT=0,valueL=0;do{valueT+=element.offsetTop||0;valueL+=element.offsetLeft||0;element=element.offsetParent;if(element){if(element.tagName.toUpperCase()=="BODY"){break}var p=Element.getStyle(element,"position");if(p!=="static"){break}}}while(element);return Element._returnOffset(valueL,valueT)},absolutize:function(element){element=$(element);if(element.getStyle("position")=="absolute"){return element}var offsets=element.positionedOffset();var top=offsets[1];var left=offsets[0];var width=element.clientWidth;var height=element.clientHeight;element._originalLeft=left-parseFloat(element.style.left||0);element._originalTop=top-parseFloat(element.style.top||0);element._originalWidth=element.style.width;element._originalHeight=element.style.height;element.style.position="absolute";element.style.top=top+"px";element.style.left=left+"px";element.style.width=width+"px";element.style.height=height+"px";return element},relativize:function(element){element=$(element);if(element.getStyle("position")=="relative"){return element}element.style.position="relative";var top=parseFloat(element.style.top||0)-(element._originalTop||0);var left=parseFloat(element.style.left||0)-(element._originalLeft||0);element.style.top=top+"px";element.style.left=left+"px";element.style.height=element._originalHeight;element.style.width=element._originalWidth;return element},cumulativeScrollOffset:function(element){var valueT=0,valueL=0;do{valueT+=element.scrollTop||0;valueL+=element.scrollLeft||0;element=element.parentNode}while(element);return Element._returnOffset(valueL,valueT)},getOffsetParent:function(element){if(element.offsetParent){return $(element.offsetParent)}if(element==document.body){return $(element)}while((element=element.parentNode)&&element!=document.body){if(Element.getStyle(element,"position")!="static"){return $(element)}}return $(document.body)},viewportOffset:function(forElement){var valueT=0,valueL=0;var element=forElement;do{valueT+=element.offsetTop||0;valueL+=element.offsetLeft||0;if(element.offsetParent==document.body&&Element.getStyle(element,"position")=="absolute"){break}}while(element=element.offsetParent);element=forElement;do{if(!Prototype.Browser.Opera||(element.tagName&&(element.tagName.toUpperCase()=="BODY"))){valueT-=element.scrollTop||0;valueL-=element.scrollLeft||0}}while(element=element.parentNode);return Element._returnOffset(valueL,valueT)},clonePosition:function(element,source){var options=Object.extend({setLeft:true,setTop:true,setWidth:true,setHeight:true,offsetTop:0,offsetLeft:0},arguments[2]||{});source=$(source);var p=source.viewportOffset();element=$(element);var delta=[0,0];var parent=null;if(Element.getStyle(element,"position")=="absolute"){parent=element.getOffsetParent();delta=parent.viewportOffset()}if(parent==document.body){delta[0]-=document.body.offsetLeft;delta[1]-=document.body.offsetTop}if(options.setLeft){element.style.left=(p[0]-delta[0]+options.offsetLeft)+"px"}if(options.setTop){element.style.top=(p[1]-delta[1]+options.offsetTop)+"px"}if(options.setWidth){element.style.width=source.offsetWidth+"px"}if(options.setHeight){element.style.height=source.offsetHeight+"px"}return element}};Element.Methods.identify.counter=1;Object.extend(Element.Methods,{getElementsBySelector:Element.Methods.select,childElements:Element.Methods.immediateDescendants});Element._attributeTranslations={write:{names:{className:"class",htmlFor:"for"},values:{}}};if(Prototype.Browser.Opera){Element.Methods.getStyle=Element.Methods.getStyle.wrap(function(proceed,element,style){switch(style){case"left":case"top":case"right":case"bottom":if(proceed(element,"position")==="static"){return null}case"height":case"width":if(!Element.visible(element)){return null}var dim=parseInt(proceed(element,style),10);if(dim!==element["offset"+style.capitalize()]){return dim+"px"}var properties;if(style==="height"){properties=["border-top-width","padding-top","padding-bottom","border-bottom-width"]}else{properties=["border-left-width","padding-left","padding-right","border-right-width"]}return properties.inject(dim,function(memo,property){var val=proceed(element,property);return val===null?memo:memo-parseInt(val,10)})+"px";default:return proceed(element,style)}});Element.Methods.readAttribute=Element.Methods.readAttribute.wrap(function(proceed,element,attribute){if(attribute==="title"){return element.title}return proceed(element,attribute)})}else{if(Prototype.Browser.IE){Element.Methods.getOffsetParent=Element.Methods.getOffsetParent.wrap(function(proceed,element){element=$(element);try{element.offsetParent}catch(e){return $(document.body)}var position=element.getStyle("position");if(position!=="static"){return proceed(element)}element.setStyle({position:"relative"});var value=proceed(element);element.setStyle({position:position});return value});$w("positionedOffset viewportOffset").each(function(method){Element.Methods[method]=Element.Methods[method].wrap(function(proceed,element){element=$(element);
7
- try{element.offsetParent}catch(e){return Element._returnOffset(0,0)}var position=element.getStyle("position");if(position!=="static"){return proceed(element)}var offsetParent=element.getOffsetParent();if(offsetParent&&offsetParent.getStyle("position")==="fixed"){offsetParent.setStyle({zoom:1})}element.setStyle({position:"relative"});var value=proceed(element);element.setStyle({position:position});return value})});Element.Methods.cumulativeOffset=Element.Methods.cumulativeOffset.wrap(function(proceed,element){try{element.offsetParent}catch(e){return Element._returnOffset(0,0)}return proceed(element)});Element.Methods.getStyle=function(element,style){element=$(element);style=(style=="float"||style=="cssFloat")?"styleFloat":style.camelize();var value=element.style[style];if(!value&&element.currentStyle){value=element.currentStyle[style]}if(style=="opacity"){if(value=(element.getStyle("filter")||"").match(/alpha\(opacity=(.*)\)/)){if(value[1]){return parseFloat(value[1])/100}}return 1}if(value=="auto"){if((style=="width"||style=="height")&&(element.getStyle("display")!="none")){return element["offset"+style.capitalize()]+"px"}return null}return value};Element.Methods.setOpacity=function(element,value){function stripAlpha(filter){return filter.replace(/alpha\([^\)]*\)/gi,"")}element=$(element);var currentStyle=element.currentStyle;if((currentStyle&&!currentStyle.hasLayout)||(!currentStyle&&element.style.zoom=="normal")){element.style.zoom=1}var filter=element.getStyle("filter"),style=element.style;if(value==1||value===""){(filter=stripAlpha(filter))?style.filter=filter:style.removeAttribute("filter");return element}else{if(value<0.00001){value=0}}style.filter=stripAlpha(filter)+"alpha(opacity="+(value*100)+")";return element};Element._attributeTranslations={read:{names:{"class":"className","for":"htmlFor"},values:{_getAttr:function(element,attribute){return element.getAttribute(attribute,2)},_getAttrNode:function(element,attribute){var node=element.getAttributeNode(attribute);return node?node.value:""},_getEv:function(element,attribute){attribute=element.getAttribute(attribute);return attribute?attribute.toString().slice(23,-2):null},_flag:function(element,attribute){return $(element).hasAttribute(attribute)?attribute:null},style:function(element){return element.style.cssText.toLowerCase()},title:function(element){return element.title}}}};Element._attributeTranslations.write={names:Object.extend({cellpadding:"cellPadding",cellspacing:"cellSpacing"},Element._attributeTranslations.read.names),values:{checked:function(element,value){element.checked=!!value},style:function(element,value){element.style.cssText=value?value:""}}};Element._attributeTranslations.has={};$w("colSpan rowSpan vAlign dateTime accessKey tabIndex encType maxLength readOnly longDesc frameBorder").each(function(attr){Element._attributeTranslations.write.names[attr.toLowerCase()]=attr;Element._attributeTranslations.has[attr.toLowerCase()]=attr});(function(v){Object.extend(v,{href:v._getAttr,src:v._getAttr,type:v._getAttr,action:v._getAttrNode,disabled:v._flag,checked:v._flag,readonly:v._flag,multiple:v._flag,onload:v._getEv,onunload:v._getEv,onclick:v._getEv,ondblclick:v._getEv,onmousedown:v._getEv,onmouseup:v._getEv,onmouseover:v._getEv,onmousemove:v._getEv,onmouseout:v._getEv,onfocus:v._getEv,onblur:v._getEv,onkeypress:v._getEv,onkeydown:v._getEv,onkeyup:v._getEv,onsubmit:v._getEv,onreset:v._getEv,onselect:v._getEv,onchange:v._getEv})})(Element._attributeTranslations.read.values)}else{if(Prototype.Browser.Gecko&&/rv:1\.8\.0/.test(navigator.userAgent)){Element.Methods.setOpacity=function(element,value){element=$(element);element.style.opacity=(value==1)?0.999999:(value==="")?"":(value<0.00001)?0:value;return element}}else{if(Prototype.Browser.WebKit){Element.Methods.setOpacity=function(element,value){element=$(element);element.style.opacity=(value==1||value==="")?"":(value<0.00001)?0:value;if(value==1){if(element.tagName.toUpperCase()=="IMG"&&element.width){element.width++;element.width--}else{try{var n=document.createTextNode(" ");element.appendChild(n);element.removeChild(n)}catch(e){}}}return element};Element.Methods.cumulativeOffset=function(element){var valueT=0,valueL=0;do{valueT+=element.offsetTop||0;valueL+=element.offsetLeft||0;if(element.offsetParent==document.body){if(Element.getStyle(element,"position")=="absolute"){break}}element=element.offsetParent}while(element);return Element._returnOffset(valueL,valueT)}}}}}if(Prototype.Browser.IE||Prototype.Browser.Opera){Element.Methods.update=function(element,content){element=$(element);if(content&&content.toElement){content=content.toElement()}if(Object.isElement(content)){return element.update().insert(content)}content=Object.toHTML(content);var tagName=element.tagName.toUpperCase();if(tagName in Element._insertionTranslations.tags){$A(element.childNodes).each(function(node){element.removeChild(node)});Element._getContentFromAnonymousElement(tagName,content.stripScripts()).each(function(node){element.appendChild(node)})}else{element.innerHTML=content.stripScripts()}content.evalScripts.bind(content).defer();return element}}if("outerHTML" in document.createElement("div")){Element.Methods.replace=function(element,content){element=$(element);if(content&&content.toElement){content=content.toElement()}if(Object.isElement(content)){element.parentNode.replaceChild(content,element);return element}content=Object.toHTML(content);var parent=element.parentNode,tagName=parent.tagName.toUpperCase();if(Element._insertionTranslations.tags[tagName]){var nextSibling=element.next();var fragments=Element._getContentFromAnonymousElement(tagName,content.stripScripts());parent.removeChild(element);if(nextSibling){fragments.each(function(node){parent.insertBefore(node,nextSibling)})}else{fragments.each(function(node){parent.appendChild(node)})}}else{element.outerHTML=content.stripScripts()}content.evalScripts.bind(content).defer();return element}}Element._returnOffset=function(l,t){var result=[l,t];result.left=l;result.top=t;return result};Element._getContentFromAnonymousElement=function(tagName,html){var div=new Element("div"),t=Element._insertionTranslations.tags[tagName];if(t){div.innerHTML=t[0]+html+t[1];t[2].times(function(){div=div.firstChild})}else{div.innerHTML=html}return $A(div.childNodes)};Element._insertionTranslations={before:function(element,node){element.parentNode.insertBefore(node,element)},top:function(element,node){element.insertBefore(node,element.firstChild)},bottom:function(element,node){element.appendChild(node)},after:function(element,node){element.parentNode.insertBefore(node,element.nextSibling)},tags:{TABLE:["<table>","</table>",1],TBODY:["<table><tbody>","</tbody></table>",2],TR:["<table><tbody><tr>","</tr></tbody></table>",3],TD:["<table><tbody><tr><td>","</td></tr></tbody></table>",4],SELECT:["<select>","</select>",1]}};(function(){Object.extend(this.tags,{THEAD:this.tags.TBODY,TFOOT:this.tags.TBODY,TH:this.tags.TD})}).call(Element._insertionTranslations);Element.Methods.Simulated={hasAttribute:function(element,attribute){attribute=Element._attributeTranslations.has[attribute]||attribute;var node=$(element).getAttributeNode(attribute);return !!(node&&node.specified)}};Element.Methods.ByTag={};Object.extend(Element,Element.Methods);if(!Prototype.BrowserFeatures.ElementExtensions&&document.createElement("div")["__proto__"]){window.HTMLElement={};window.HTMLElement.prototype=document.createElement("div")["__proto__"];Prototype.BrowserFeatures.ElementExtensions=true}Element.extend=(function(){if(Prototype.BrowserFeatures.SpecificElementExtensions){return Prototype.K}var Methods={},ByTag=Element.Methods.ByTag;var extend=Object.extend(function(element){if(!element||element._extendedByPrototype||element.nodeType!=1||element==window){return element}var methods=Object.clone(Methods),tagName=element.tagName.toUpperCase(),property,value;if(ByTag[tagName]){Object.extend(methods,ByTag[tagName])}for(property in methods){value=methods[property];
8
- if(Object.isFunction(value)&&!(property in element)){element[property]=value.methodize()}}element._extendedByPrototype=Prototype.emptyFunction;return element},{refresh:function(){if(!Prototype.BrowserFeatures.ElementExtensions){Object.extend(Methods,Element.Methods);Object.extend(Methods,Element.Methods.Simulated)}}});extend.refresh();return extend})();Element.hasAttribute=function(element,attribute){if(element.hasAttribute){return element.hasAttribute(attribute)}return Element.Methods.Simulated.hasAttribute(element,attribute)};Element.addMethods=function(methods){var F=Prototype.BrowserFeatures,T=Element.Methods.ByTag;if(!methods){Object.extend(Form,Form.Methods);Object.extend(Form.Element,Form.Element.Methods);Object.extend(Element.Methods.ByTag,{FORM:Object.clone(Form.Methods),INPUT:Object.clone(Form.Element.Methods),SELECT:Object.clone(Form.Element.Methods),TEXTAREA:Object.clone(Form.Element.Methods)})}if(arguments.length==2){var tagName=methods;methods=arguments[1]}if(!tagName){Object.extend(Element.Methods,methods||{})}else{if(Object.isArray(tagName)){tagName.each(extend)}else{extend(tagName)}}function extend(tagName){tagName=tagName.toUpperCase();if(!Element.Methods.ByTag[tagName]){Element.Methods.ByTag[tagName]={}}Object.extend(Element.Methods.ByTag[tagName],methods)}function copy(methods,destination,onlyIfAbsent){onlyIfAbsent=onlyIfAbsent||false;for(var property in methods){var value=methods[property];if(!Object.isFunction(value)){continue}if(!onlyIfAbsent||!(property in destination)){destination[property]=value.methodize()}}}function findDOMClass(tagName){var klass;var trans={OPTGROUP:"OptGroup",TEXTAREA:"TextArea",P:"Paragraph",FIELDSET:"FieldSet",UL:"UList",OL:"OList",DL:"DList",DIR:"Directory",H1:"Heading",H2:"Heading",H3:"Heading",H4:"Heading",H5:"Heading",H6:"Heading",Q:"Quote",INS:"Mod",DEL:"Mod",A:"Anchor",IMG:"Image",CAPTION:"TableCaption",COL:"TableCol",COLGROUP:"TableCol",THEAD:"TableSection",TFOOT:"TableSection",TBODY:"TableSection",TR:"TableRow",TH:"TableCell",TD:"TableCell",FRAMESET:"FrameSet",IFRAME:"IFrame"};if(trans[tagName]){klass="HTML"+trans[tagName]+"Element"}if(window[klass]){return window[klass]}klass="HTML"+tagName+"Element";if(window[klass]){return window[klass]}klass="HTML"+tagName.capitalize()+"Element";if(window[klass]){return window[klass]}window[klass]={};window[klass].prototype=document.createElement(tagName)["__proto__"];return window[klass]}if(F.ElementExtensions){copy(Element.Methods,HTMLElement.prototype);copy(Element.Methods.Simulated,HTMLElement.prototype,true)}if(F.SpecificElementExtensions){for(var tag in Element.Methods.ByTag){var klass=findDOMClass(tag);if(Object.isUndefined(klass)){continue}copy(T[tag],klass.prototype)}}Object.extend(Element,Element.Methods);delete Element.ByTag;if(Element.extend.refresh){Element.extend.refresh()}Element.cache={}};document.viewport={getDimensions:function(){var dimensions={},B=Prototype.Browser;$w("width height").each(function(d){var D=d.capitalize();if(B.WebKit&&!document.evaluate){dimensions[d]=self["inner"+D]}else{if(B.Opera&&parseFloat(window.opera.version())<9.5){dimensions[d]=document.body["client"+D]}else{dimensions[d]=document.documentElement["client"+D]}}});return dimensions},getWidth:function(){return this.getDimensions().width},getHeight:function(){return this.getDimensions().height},getScrollOffsets:function(){return Element._returnOffset(window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft,window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop)}};var Selector=Class.create({initialize:function(expression){this.expression=expression.strip();if(this.shouldUseSelectorsAPI()){this.mode="selectorsAPI"}else{if(this.shouldUseXPath()){this.mode="xpath";this.compileXPathMatcher()}else{this.mode="normal";this.compileMatcher()}}},shouldUseXPath:function(){if(!Prototype.BrowserFeatures.XPath){return false}var e=this.expression;if(Prototype.Browser.WebKit&&(e.include("-of-type")||e.include(":empty"))){return false}if((/(\[[\w-]*?:|:checked)/).test(e)){return false}return true},shouldUseSelectorsAPI:function(){if(!Prototype.BrowserFeatures.SelectorsAPI){return false}if(!Selector._div){Selector._div=new Element("div")}try{Selector._div.querySelector(this.expression)}catch(e){return false}return true},compileMatcher:function(){var e=this.expression,ps=Selector.patterns,h=Selector.handlers,c=Selector.criteria,le,p,m;if(Selector._cache[e]){this.matcher=Selector._cache[e];return}this.matcher=["this.matcher = function(root) {","var r = root, h = Selector.handlers, c = false, n;"];while(e&&le!=e&&(/\S/).test(e)){le=e;for(var i in ps){p=ps[i];if(m=e.match(p)){this.matcher.push(Object.isFunction(c[i])?c[i](m):new Template(c[i]).evaluate(m));e=e.replace(m[0],"");break}}}this.matcher.push("return h.unique(n);\n}");eval(this.matcher.join("\n"));Selector._cache[this.expression]=this.matcher},compileXPathMatcher:function(){var e=this.expression,ps=Selector.patterns,x=Selector.xpath,le,m;if(Selector._cache[e]){this.xpath=Selector._cache[e];return}this.matcher=[".//*"];while(e&&le!=e&&(/\S/).test(e)){le=e;for(var i in ps){if(m=e.match(ps[i])){this.matcher.push(Object.isFunction(x[i])?x[i](m):new Template(x[i]).evaluate(m));e=e.replace(m[0],"");break}}}this.xpath=this.matcher.join("");Selector._cache[this.expression]=this.xpath},findElements:function(root){root=root||document;var e=this.expression,results;switch(this.mode){case"selectorsAPI":if(root!==document){var oldId=root.id,id=$(root).identify();e="#"+id+" "+e}results=$A(root.querySelectorAll(e)).map(Element.extend);root.id=oldId;return results;case"xpath":return document._getElementsByXPath(this.xpath,root);default:return this.matcher(root)}},match:function(element){this.tokens=[];var e=this.expression,ps=Selector.patterns,as=Selector.assertions;var le,p,m;while(e&&le!==e&&(/\S/).test(e)){le=e;for(var i in ps){p=ps[i];if(m=e.match(p)){if(as[i]){this.tokens.push([i,Object.clone(m)]);e=e.replace(m[0],"")}else{return this.findElements(document).include(element)}}}}var match=true,name,matches;for(var i=0,token;token=this.tokens[i];i++){name=token[0],matches=token[1];if(!Selector.assertions[name](element,matches)){match=false;break}}return match},toString:function(){return this.expression},inspect:function(){return"#<Selector:"+this.expression.inspect()+">"}});Object.extend(Selector,{_cache:{},xpath:{descendant:"//*",child:"/*",adjacent:"/following-sibling::*[1]",laterSibling:"/following-sibling::*",tagName:function(m){if(m[1]=="*"){return""}return"[local-name()='"+m[1].toLowerCase()+"' or local-name()='"+m[1].toUpperCase()+"']"},className:"[contains(concat(' ', @class, ' '), ' #{1} ')]",id:"[@id='#{1}']",attrPresence:function(m){m[1]=m[1].toLowerCase();return new Template("[@#{1}]").evaluate(m)},attr:function(m){m[1]=m[1].toLowerCase();m[3]=m[5]||m[6];return new Template(Selector.xpath.operators[m[2]]).evaluate(m)},pseudo:function(m){var h=Selector.xpath.pseudos[m[1]];if(!h){return""}if(Object.isFunction(h)){return h(m)}return new Template(Selector.xpath.pseudos[m[1]]).evaluate(m)},operators:{"=":"[@#{1}='#{3}']","!=":"[@#{1}!='#{3}']","^=":"[starts-with(@#{1}, '#{3}')]","$=":"[substring(@#{1}, (string-length(@#{1}) - string-length('#{3}') + 1))='#{3}']","*=":"[contains(@#{1}, '#{3}')]","~=":"[contains(concat(' ', @#{1}, ' '), ' #{3} ')]","|=":"[contains(concat('-', @#{1}, '-'), '-#{3}-')]"},pseudos:{"first-child":"[not(preceding-sibling::*)]","last-child":"[not(following-sibling::*)]","only-child":"[not(preceding-sibling::* or following-sibling::*)]",empty:"[count(*) = 0 and (count(text()) = 0)]",checked:"[@checked]",disabled:"[(@disabled) and (@type!='hidden')]",enabled:"[not(@disabled) and (@type!='hidden')]",not:function(m){var e=m[6],p=Selector.patterns,x=Selector.xpath,le,v;var exclusion=[];while(e&&le!=e&&(/\S/).test(e)){le=e;for(var i in p){if(m=e.match(p[i])){v=Object.isFunction(x[i])?x[i](m):new Template(x[i]).evaluate(m);exclusion.push("("+v.substring(1,v.length-1)+")");
9
- e=e.replace(m[0],"");break}}}return"[not("+exclusion.join(" and ")+")]"},"nth-child":function(m){return Selector.xpath.pseudos.nth("(count(./preceding-sibling::*) + 1) ",m)},"nth-last-child":function(m){return Selector.xpath.pseudos.nth("(count(./following-sibling::*) + 1) ",m)},"nth-of-type":function(m){return Selector.xpath.pseudos.nth("position() ",m)},"nth-last-of-type":function(m){return Selector.xpath.pseudos.nth("(last() + 1 - position()) ",m)},"first-of-type":function(m){m[6]="1";return Selector.xpath.pseudos["nth-of-type"](m)},"last-of-type":function(m){m[6]="1";return Selector.xpath.pseudos["nth-last-of-type"](m)},"only-of-type":function(m){var p=Selector.xpath.pseudos;return p["first-of-type"](m)+p["last-of-type"](m)},nth:function(fragment,m){var mm,formula=m[6],predicate;if(formula=="even"){formula="2n+0"}if(formula=="odd"){formula="2n+1"}if(mm=formula.match(/^(\d+)$/)){return"["+fragment+"= "+mm[1]+"]"}if(mm=formula.match(/^(-?\d*)?n(([+-])(\d+))?/)){if(mm[1]=="-"){mm[1]=-1}var a=mm[1]?Number(mm[1]):1;var b=mm[2]?Number(mm[2]):0;predicate="[((#{fragment} - #{b}) mod #{a} = 0) and ((#{fragment} - #{b}) div #{a} >= 0)]";return new Template(predicate).evaluate({fragment:fragment,a:a,b:b})}}}},criteria:{tagName:'n = h.tagName(n, r, "#{1}", c); c = false;',className:'n = h.className(n, r, "#{1}", c); c = false;',id:'n = h.id(n, r, "#{1}", c); c = false;',attrPresence:'n = h.attrPresence(n, r, "#{1}", c); c = false;',attr:function(m){m[3]=(m[5]||m[6]);return new Template('n = h.attr(n, r, "#{1}", "#{3}", "#{2}", c); c = false;').evaluate(m)},pseudo:function(m){if(m[6]){m[6]=m[6].replace(/"/g,'\\"')}return new Template('n = h.pseudo(n, "#{1}", "#{6}", r, c); c = false;').evaluate(m)},descendant:'c = "descendant";',child:'c = "child";',adjacent:'c = "adjacent";',laterSibling:'c = "laterSibling";'},patterns:{laterSibling:/^\s*~\s*/,child:/^\s*>\s*/,adjacent:/^\s*\+\s*/,descendant:/^\s/,tagName:/^\s*(\*|[\w\-]+)(\b|$)?/,id:/^#([\w\-\*]+)(\b|$)/,className:/^\.([\w\-\*]+)(\b|$)/,pseudo:/^:((first|last|nth|nth-last|only)(-child|-of-type)|empty|checked|(en|dis)abled|not)(\((.*?)\))?(\b|$|(?=\s|[:+~>]))/,attrPresence:/^\[((?:[\w]+:)?[\w]+)\]/,attr:/\[((?:[\w-]*:)?[\w-]+)\s*(?:([!^$*~|]?=)\s*((['"])([^\4]*?)\4|([^'"][^\]]*?)))?\]/},assertions:{tagName:function(element,matches){return matches[1].toUpperCase()==element.tagName.toUpperCase()},className:function(element,matches){return Element.hasClassName(element,matches[1])},id:function(element,matches){return element.id===matches[1]},attrPresence:function(element,matches){return Element.hasAttribute(element,matches[1])},attr:function(element,matches){var nodeValue=Element.readAttribute(element,matches[1]);return nodeValue&&Selector.operators[matches[2]](nodeValue,matches[5]||matches[6])}},handlers:{concat:function(a,b){for(var i=0,node;node=b[i];i++){a.push(node)}return a},mark:function(nodes){var _true=Prototype.emptyFunction;for(var i=0,node;node=nodes[i];i++){node._countedByPrototype=_true}return nodes},unmark:function(nodes){for(var i=0,node;node=nodes[i];i++){node._countedByPrototype=undefined}return nodes},index:function(parentNode,reverse,ofType){parentNode._countedByPrototype=Prototype.emptyFunction;if(reverse){for(var nodes=parentNode.childNodes,i=nodes.length-1,j=1;i>=0;i--){var node=nodes[i];if(node.nodeType==1&&(!ofType||node._countedByPrototype)){node.nodeIndex=j++}}}else{for(var i=0,j=1,nodes=parentNode.childNodes;node=nodes[i];i++){if(node.nodeType==1&&(!ofType||node._countedByPrototype)){node.nodeIndex=j++}}}},unique:function(nodes){if(nodes.length==0){return nodes}var results=[],n;for(var i=0,l=nodes.length;i<l;i++){if(!(n=nodes[i])._countedByPrototype){n._countedByPrototype=Prototype.emptyFunction;results.push(Element.extend(n))}}return Selector.handlers.unmark(results)},descendant:function(nodes){var h=Selector.handlers;for(var i=0,results=[],node;node=nodes[i];i++){h.concat(results,node.getElementsByTagName("*"))}return results},child:function(nodes){var h=Selector.handlers;for(var i=0,results=[],node;node=nodes[i];i++){for(var j=0,child;child=node.childNodes[j];j++){if(child.nodeType==1&&child.tagName!="!"){results.push(child)}}}return results},adjacent:function(nodes){for(var i=0,results=[],node;node=nodes[i];i++){var next=this.nextElementSibling(node);if(next){results.push(next)}}return results},laterSibling:function(nodes){var h=Selector.handlers;for(var i=0,results=[],node;node=nodes[i];i++){h.concat(results,Element.nextSiblings(node))}return results},nextElementSibling:function(node){while(node=node.nextSibling){if(node.nodeType==1){return node}}return null},previousElementSibling:function(node){while(node=node.previousSibling){if(node.nodeType==1){return node}}return null},tagName:function(nodes,root,tagName,combinator){var uTagName=tagName.toUpperCase();var results=[],h=Selector.handlers;if(nodes){if(combinator){if(combinator=="descendant"){for(var i=0,node;node=nodes[i];i++){h.concat(results,node.getElementsByTagName(tagName))}return results}else{nodes=this[combinator](nodes)}if(tagName=="*"){return nodes}}for(var i=0,node;node=nodes[i];i++){if(node.tagName.toUpperCase()===uTagName){results.push(node)}}return results}else{return root.getElementsByTagName(tagName)}},id:function(nodes,root,id,combinator){var targetNode=$(id),h=Selector.handlers;if(!targetNode){return[]}if(!nodes&&root==document){return[targetNode]}if(nodes){if(combinator){if(combinator=="child"){for(var i=0,node;node=nodes[i];i++){if(targetNode.parentNode==node){return[targetNode]}}}else{if(combinator=="descendant"){for(var i=0,node;node=nodes[i];i++){if(Element.descendantOf(targetNode,node)){return[targetNode]}}}else{if(combinator=="adjacent"){for(var i=0,node;node=nodes[i];i++){if(Selector.handlers.previousElementSibling(targetNode)==node){return[targetNode]}}}else{nodes=h[combinator](nodes)}}}}for(var i=0,node;node=nodes[i];i++){if(node==targetNode){return[targetNode]}}return[]}return(targetNode&&Element.descendantOf(targetNode,root))?[targetNode]:[]},className:function(nodes,root,className,combinator){if(nodes&&combinator){nodes=this[combinator](nodes)}return Selector.handlers.byClassName(nodes,root,className)},byClassName:function(nodes,root,className){if(!nodes){nodes=Selector.handlers.descendant([root])}var needle=" "+className+" ";for(var i=0,results=[],node,nodeClassName;node=nodes[i];i++){nodeClassName=node.className;if(nodeClassName.length==0){continue}if(nodeClassName==className||(" "+nodeClassName+" ").include(needle)){results.push(node)}}return results},attrPresence:function(nodes,root,attr,combinator){if(!nodes){nodes=root.getElementsByTagName("*")}if(nodes&&combinator){nodes=this[combinator](nodes)}var results=[];for(var i=0,node;node=nodes[i];i++){if(Element.hasAttribute(node,attr)){results.push(node)}}return results},attr:function(nodes,root,attr,value,operator,combinator){if(!nodes){nodes=root.getElementsByTagName("*")}if(nodes&&combinator){nodes=this[combinator](nodes)}var handler=Selector.operators[operator],results=[];for(var i=0,node;node=nodes[i];i++){var nodeValue=Element.readAttribute(node,attr);if(nodeValue===null){continue}if(handler(nodeValue,value)){results.push(node)}}return results},pseudo:function(nodes,name,value,root,combinator){if(nodes&&combinator){nodes=this[combinator](nodes)}if(!nodes){nodes=root.getElementsByTagName("*")}return Selector.pseudos[name](nodes,value,root)}},pseudos:{"first-child":function(nodes,value,root){for(var i=0,results=[],node;node=nodes[i];i++){if(Selector.handlers.previousElementSibling(node)){continue}results.push(node)}return results},"last-child":function(nodes,value,root){for(var i=0,results=[],node;node=nodes[i];i++){if(Selector.handlers.nextElementSibling(node)){continue}results.push(node)}return results},"only-child":function(nodes,value,root){var h=Selector.handlers;for(var i=0,results=[],node;node=nodes[i];i++){if(!h.previousElementSibling(node)&&!h.nextElementSibling(node)){results.push(node)}}return results},"nth-child":function(nodes,formula,root){return Selector.pseudos.nth(nodes,formula,root)
10
- },"nth-last-child":function(nodes,formula,root){return Selector.pseudos.nth(nodes,formula,root,true)},"nth-of-type":function(nodes,formula,root){return Selector.pseudos.nth(nodes,formula,root,false,true)},"nth-last-of-type":function(nodes,formula,root){return Selector.pseudos.nth(nodes,formula,root,true,true)},"first-of-type":function(nodes,formula,root){return Selector.pseudos.nth(nodes,"1",root,false,true)},"last-of-type":function(nodes,formula,root){return Selector.pseudos.nth(nodes,"1",root,true,true)},"only-of-type":function(nodes,formula,root){var p=Selector.pseudos;return p["last-of-type"](p["first-of-type"](nodes,formula,root),formula,root)},getIndices:function(a,b,total){if(a==0){return b>0?[b]:[]}return $R(1,total).inject([],function(memo,i){if(0==(i-b)%a&&(i-b)/a>=0){memo.push(i)}return memo})},nth:function(nodes,formula,root,reverse,ofType){if(nodes.length==0){return[]}if(formula=="even"){formula="2n+0"}if(formula=="odd"){formula="2n+1"}var h=Selector.handlers,results=[],indexed=[],m;h.mark(nodes);for(var i=0,node;node=nodes[i];i++){if(!node.parentNode._countedByPrototype){h.index(node.parentNode,reverse,ofType);indexed.push(node.parentNode)}}if(formula.match(/^\d+$/)){formula=Number(formula);for(var i=0,node;node=nodes[i];i++){if(node.nodeIndex==formula){results.push(node)}}}else{if(m=formula.match(/^(-?\d*)?n(([+-])(\d+))?/)){if(m[1]=="-"){m[1]=-1}var a=m[1]?Number(m[1]):1;var b=m[2]?Number(m[2]):0;var indices=Selector.pseudos.getIndices(a,b,nodes.length);for(var i=0,node,l=indices.length;node=nodes[i];i++){for(var j=0;j<l;j++){if(node.nodeIndex==indices[j]){results.push(node)}}}}}h.unmark(nodes);h.unmark(indexed);return results},empty:function(nodes,value,root){for(var i=0,results=[],node;node=nodes[i];i++){if(node.tagName=="!"||node.firstChild){continue}results.push(node)}return results},not:function(nodes,selector,root){var h=Selector.handlers,selectorType,m;var exclusions=new Selector(selector).findElements(root);h.mark(exclusions);for(var i=0,results=[],node;node=nodes[i];i++){if(!node._countedByPrototype){results.push(node)}}h.unmark(exclusions);return results},enabled:function(nodes,value,root){for(var i=0,results=[],node;node=nodes[i];i++){if(!node.disabled&&(!node.type||node.type!=="hidden")){results.push(node)}}return results},disabled:function(nodes,value,root){for(var i=0,results=[],node;node=nodes[i];i++){if(node.disabled){results.push(node)}}return results},checked:function(nodes,value,root){for(var i=0,results=[],node;node=nodes[i];i++){if(node.checked){results.push(node)}}return results}},operators:{"=":function(nv,v){return nv==v},"!=":function(nv,v){return nv!=v},"^=":function(nv,v){return nv==v||nv&&nv.startsWith(v)},"$=":function(nv,v){return nv==v||nv&&nv.endsWith(v)},"*=":function(nv,v){return nv==v||nv&&nv.include(v)},"$=":function(nv,v){return nv.endsWith(v)},"*=":function(nv,v){return nv.include(v)},"~=":function(nv,v){return(" "+nv+" ").include(" "+v+" ")},"|=":function(nv,v){return("-"+(nv||"").toUpperCase()+"-").include("-"+(v||"").toUpperCase()+"-")}},split:function(expression){var expressions=[];expression.scan(/(([\w#:.~>+()\s-]+|\*|\[.*?\])+)\s*(,|$)/,function(m){expressions.push(m[1].strip())});return expressions},matchElements:function(elements,expression){var matches=$$(expression),h=Selector.handlers;h.mark(matches);for(var i=0,results=[],element;element=elements[i];i++){if(element._countedByPrototype){results.push(element)}}h.unmark(matches);return results},findElement:function(elements,expression,index){if(Object.isNumber(expression)){index=expression;expression=false}return Selector.matchElements(elements,expression||"*")[index||0]},findChildElements:function(element,expressions){expressions=Selector.split(expressions.join(","));var results=[],h=Selector.handlers;for(var i=0,l=expressions.length,selector;i<l;i++){selector=new Selector(expressions[i].strip());h.concat(results,selector.findElements(element))}return(l>1)?h.unique(results):results}});if(Prototype.Browser.IE){Object.extend(Selector.handlers,{concat:function(a,b){for(var i=0,node;node=b[i];i++){if(node.tagName!=="!"){a.push(node)}}return a},unmark:function(nodes){for(var i=0,node;node=nodes[i];i++){node.removeAttribute("_countedByPrototype")}return nodes}})}function $$(){return Selector.findChildElements(document,$A(arguments))}var Form={reset:function(form){$(form).reset();return form},serializeElements:function(elements,options){if(typeof options!="object"){options={hash:!!options}}else{if(Object.isUndefined(options.hash)){options.hash=true}}var key,value,submitted=false,submit=options.submit;var data=elements.inject({},function(result,element){if(!element.disabled&&element.name){key=element.name;value=$(element).getValue();if(value!=null&&element.type!="file"&&(element.type!="submit"||(!submitted&&submit!==false&&(!submit||key==submit)&&(submitted=true)))){if(key in result){if(!Object.isArray(result[key])){result[key]=[result[key]]}result[key].push(value)}else{result[key]=value}}}return result});return options.hash?data:Object.toQueryString(data)}};Form.Methods={serialize:function(form,options){return Form.serializeElements(Form.getElements(form),options)},getElements:function(form){return $A($(form).getElementsByTagName("*")).inject([],function(elements,child){if(Form.Element.Serializers[child.tagName.toLowerCase()]){elements.push(Element.extend(child))}return elements})},getInputs:function(form,typeName,name){form=$(form);var inputs=form.getElementsByTagName("input");if(!typeName&&!name){return $A(inputs).map(Element.extend)}for(var i=0,matchingInputs=[],length=inputs.length;i<length;i++){var input=inputs[i];if((typeName&&input.type!=typeName)||(name&&input.name!=name)){continue}matchingInputs.push(Element.extend(input))}return matchingInputs},disable:function(form){form=$(form);Form.getElements(form).invoke("disable");return form},enable:function(form){form=$(form);Form.getElements(form).invoke("enable");return form},findFirstElement:function(form){var elements=$(form).getElements().findAll(function(element){return"hidden"!=element.type&&!element.disabled});var firstByIndex=elements.findAll(function(element){return element.hasAttribute("tabIndex")&&element.tabIndex>=0}).sortBy(function(element){return element.tabIndex}).first();return firstByIndex?firstByIndex:elements.find(function(element){return["input","select","textarea"].include(element.tagName.toLowerCase())})},focusFirstElement:function(form){form=$(form);form.findFirstElement().activate();return form},request:function(form,options){form=$(form),options=Object.clone(options||{});var params=options.parameters,action=form.readAttribute("action")||"";if(action.blank()){action=window.location.href}options.parameters=form.serialize(true);if(params){if(Object.isString(params)){params=params.toQueryParams()}Object.extend(options.parameters,params)}if(form.hasAttribute("method")&&!options.method){options.method=form.method}return new Ajax.Request(action,options)}};Form.Element={focus:function(element){$(element).focus();return element},select:function(element){$(element).select();return element}};Form.Element.Methods={serialize:function(element){element=$(element);if(!element.disabled&&element.name){var value=element.getValue();if(value!=undefined){var pair={};pair[element.name]=value;return Object.toQueryString(pair)}}return""},getValue:function(element){element=$(element);var method=element.tagName.toLowerCase();return Form.Element.Serializers[method](element)},setValue:function(element,value){element=$(element);var method=element.tagName.toLowerCase();Form.Element.Serializers[method](element,value);return element},clear:function(element){$(element).value="";return element},present:function(element){return $(element).value!=""},activate:function(element){element=$(element);try{element.focus();if(element.select&&(element.tagName.toLowerCase()!="input"||!["button","reset","submit"].include(element.type))){element.select()}}catch(e){}return element},disable:function(element){element=$(element);
11
- element.disabled=true;return element},enable:function(element){element=$(element);element.disabled=false;return element}};var Field=Form.Element;var $F=Form.Element.Methods.getValue;Form.Element.Serializers={input:function(element,value){switch(element.type.toLowerCase()){case"checkbox":case"radio":return Form.Element.Serializers.inputSelector(element,value);default:return Form.Element.Serializers.textarea(element,value)}},inputSelector:function(element,value){if(Object.isUndefined(value)){return element.checked?element.value:null}else{element.checked=!!value}},textarea:function(element,value){if(Object.isUndefined(value)){return element.value}else{element.value=value}},select:function(element,value){if(Object.isUndefined(value)){return this[element.type=="select-one"?"selectOne":"selectMany"](element)}else{var opt,currentValue,single=!Object.isArray(value);for(var i=0,length=element.length;i<length;i++){opt=element.options[i];currentValue=this.optionValue(opt);if(single){if(currentValue==value){opt.selected=true;return}}else{opt.selected=value.include(currentValue)}}}},selectOne:function(element){var index=element.selectedIndex;return index>=0?this.optionValue(element.options[index]):null},selectMany:function(element){var values,length=element.length;if(!length){return null}for(var i=0,values=[];i<length;i++){var opt=element.options[i];if(opt.selected){values.push(this.optionValue(opt))}}return values},optionValue:function(opt){return Element.extend(opt).hasAttribute("value")?opt.value:opt.text}};Abstract.TimedObserver=Class.create(PeriodicalExecuter,{initialize:function($super,element,frequency,callback){$super(callback,frequency);this.element=$(element);this.lastValue=this.getValue()},execute:function(){var value=this.getValue();if(Object.isString(this.lastValue)&&Object.isString(value)?this.lastValue!=value:String(this.lastValue)!=String(value)){this.callback(this.element,value);this.lastValue=value}}});Form.Element.Observer=Class.create(Abstract.TimedObserver,{getValue:function(){return Form.Element.getValue(this.element)}});Form.Observer=Class.create(Abstract.TimedObserver,{getValue:function(){return Form.serialize(this.element)}});Abstract.EventObserver=Class.create({initialize:function(element,callback){this.element=$(element);this.callback=callback;this.lastValue=this.getValue();if(this.element.tagName.toLowerCase()=="form"){this.registerFormCallbacks()}else{this.registerCallback(this.element)}},onElementEvent:function(){var value=this.getValue();if(this.lastValue!=value){this.callback(this.element,value);this.lastValue=value}},registerFormCallbacks:function(){Form.getElements(this.element).each(this.registerCallback,this)},registerCallback:function(element){if(element.type){switch(element.type.toLowerCase()){case"checkbox":case"radio":Event.observe(element,"click",this.onElementEvent.bind(this));break;default:Event.observe(element,"change",this.onElementEvent.bind(this));break}}}});Form.Element.EventObserver=Class.create(Abstract.EventObserver,{getValue:function(){return Form.Element.getValue(this.element)}});Form.EventObserver=Class.create(Abstract.EventObserver,{getValue:function(){return Form.serialize(this.element)}});if(!window.Event){var Event={}}Object.extend(Event,{KEY_BACKSPACE:8,KEY_TAB:9,KEY_RETURN:13,KEY_ESC:27,KEY_LEFT:37,KEY_UP:38,KEY_RIGHT:39,KEY_DOWN:40,KEY_DELETE:46,KEY_HOME:36,KEY_END:35,KEY_PAGEUP:33,KEY_PAGEDOWN:34,KEY_INSERT:45,cache:{},relatedTarget:function(event){var element;switch(event.type){case"mouseover":element=event.fromElement;break;case"mouseout":element=event.toElement;break;default:return null}return Element.extend(element)}});Event.Methods=(function(){var isButton;if(Prototype.Browser.IE){var buttonMap={0:1,1:4,2:2};isButton=function(event,code){return event.button==buttonMap[code]}}else{if(Prototype.Browser.WebKit){isButton=function(event,code){switch(code){case 0:return event.which==1&&!event.metaKey;case 1:return event.which==1&&event.metaKey;default:return false}}}else{isButton=function(event,code){return event.which?(event.which===code+1):(event.button===code)}}}return{isLeftClick:function(event){return isButton(event,0)},isMiddleClick:function(event){return isButton(event,1)},isRightClick:function(event){return isButton(event,2)},element:function(event){event=Event.extend(event);var node=event.target,type=event.type,currentTarget=event.currentTarget;if(currentTarget&&currentTarget.tagName){if(type==="load"||type==="error"||(type==="click"&&currentTarget.tagName.toLowerCase()==="input"&&currentTarget.type==="radio")){node=currentTarget}}if(node.nodeType==Node.TEXT_NODE){node=node.parentNode}return Element.extend(node)},findElement:function(event,expression){var element=Event.element(event);if(!expression){return element}var elements=[element].concat(element.ancestors());return Selector.findElement(elements,expression,0)},pointer:function(event){var docElement=document.documentElement,body=document.body||{scrollLeft:0,scrollTop:0};return{x:event.pageX||(event.clientX+(docElement.scrollLeft||body.scrollLeft)-(docElement.clientLeft||0)),y:event.pageY||(event.clientY+(docElement.scrollTop||body.scrollTop)-(docElement.clientTop||0))}},pointerX:function(event){return Event.pointer(event).x},pointerY:function(event){return Event.pointer(event).y},stop:function(event){Event.extend(event);event.preventDefault();event.stopPropagation();event.stopped=true}}})();Event.extend=(function(){var methods=Object.keys(Event.Methods).inject({},function(m,name){m[name]=Event.Methods[name].methodize();return m});if(Prototype.Browser.IE){Object.extend(methods,{stopPropagation:function(){this.cancelBubble=true},preventDefault:function(){this.returnValue=false},inspect:function(){return"[object Event]"}});return function(event){if(!event){return false}if(event._extendedByPrototype){return event}event._extendedByPrototype=Prototype.emptyFunction;var pointer=Event.pointer(event);Object.extend(event,{target:event.srcElement,relatedTarget:Event.relatedTarget(event),pageX:pointer.x,pageY:pointer.y});return Object.extend(event,methods)}}else{Event.prototype=Event.prototype||document.createEvent("HTMLEvents")["__proto__"];Object.extend(Event.prototype,methods);return Prototype.K}})();Object.extend(Event,(function(){var cache=Event.cache;function getEventID(element){if(element._prototypeEventID){return element._prototypeEventID[0]}arguments.callee.id=arguments.callee.id||1;return element._prototypeEventID=[++arguments.callee.id]}function getDOMEventName(eventName){if(eventName&&eventName.include(":")){return"dataavailable"}return eventName}function getCacheForID(id){return cache[id]=cache[id]||{}}function getWrappersForEventName(id,eventName){var c=getCacheForID(id);return c[eventName]=c[eventName]||[]}function createWrapper(element,eventName,handler){var id=getEventID(element);var c=getWrappersForEventName(id,eventName);if(c.pluck("handler").include(handler)){return false}var wrapper=function(event){if(!Event||!Event.extend||(event.eventName&&event.eventName!=eventName)){return false}Event.extend(event);handler.call(element,event)};wrapper.handler=handler;c.push(wrapper);return wrapper}function findWrapper(id,eventName,handler){var c=getWrappersForEventName(id,eventName);return c.find(function(wrapper){return wrapper.handler==handler})}function destroyWrapper(id,eventName,handler){var c=getCacheForID(id);if(!c[eventName]){return false}c[eventName]=c[eventName].without(findWrapper(id,eventName,handler))}function destroyCache(){for(var id in cache){for(var eventName in cache[id]){cache[id][eventName]=null}}}if(window.attachEvent){window.attachEvent("onunload",destroyCache)}if(Prototype.Browser.WebKit){window.addEventListener("unload",Prototype.emptyFunction,false)}return{observe:function(element,eventName,handler){element=$(element);var name=getDOMEventName(eventName);var wrapper=createWrapper(element,eventName,handler);if(!wrapper){return element}if(element.addEventListener){element.addEventListener(name,wrapper,false)}else{element.attachEvent("on"+name,wrapper)
12
- }return element},stopObserving:function(element,eventName,handler){element=$(element);var id=getEventID(element),name=getDOMEventName(eventName);if(!handler&&eventName){getWrappersForEventName(id,eventName).each(function(wrapper){element.stopObserving(eventName,wrapper.handler)});return element}else{if(!eventName){Object.keys(getCacheForID(id)).each(function(eventName){element.stopObserving(eventName)});return element}}var wrapper=findWrapper(id,eventName,handler);if(!wrapper){return element}if(element.removeEventListener){element.removeEventListener(name,wrapper,false)}else{element.detachEvent("on"+name,wrapper)}destroyWrapper(id,eventName,handler);return element},fire:function(element,eventName,memo){element=$(element);if(element==document&&document.createEvent&&!element.dispatchEvent){element=document.documentElement}var event;if(document.createEvent){event=document.createEvent("HTMLEvents");event.initEvent("dataavailable",true,true)}else{event=document.createEventObject();event.eventType="ondataavailable"}event.eventName=eventName;event.memo=memo||{};if(document.createEvent){element.dispatchEvent(event)}else{element.fireEvent(event.eventType,event)}return Event.extend(event)}}})());Object.extend(Event,Event.Methods);Element.addMethods({fire:Event.fire,observe:Event.observe,stopObserving:Event.stopObserving});Object.extend(document,{fire:Element.Methods.fire.methodize(),observe:Element.Methods.observe.methodize(),stopObserving:Element.Methods.stopObserving.methodize(),loaded:false});(function(){var timer;function fireContentLoadedEvent(){if(document.loaded){return}if(timer){window.clearInterval(timer)}document.fire("dom:loaded");document.loaded=true}if(document.addEventListener){if(Prototype.Browser.WebKit){timer=window.setInterval(function(){if(/loaded|complete/.test(document.readyState)){fireContentLoadedEvent()}},0);Event.observe(window,"load",fireContentLoadedEvent)}else{document.addEventListener("DOMContentLoaded",fireContentLoadedEvent,false)}}else{document.write("<script id=__onDOMContentLoaded defer src=//:><\/script>");$("__onDOMContentLoaded").onreadystatechange=function(){if(this.readyState=="complete"){this.onreadystatechange=null;fireContentLoadedEvent()}}}})();Hash.toQueryString=Object.toQueryString;var Toggle={display:Element.toggle};Element.Methods.childOf=Element.Methods.descendantOf;var Insertion={Before:function(element,content){return Element.insert(element,{before:content})},Top:function(element,content){return Element.insert(element,{top:content})},Bottom:function(element,content){return Element.insert(element,{bottom:content})},After:function(element,content){return Element.insert(element,{after:content})}};var $continue=new Error('"throw $continue" is deprecated, use "return" instead');var Position={includeScrollOffsets:false,prepare:function(){this.deltaX=window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0;this.deltaY=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0},within:function(element,x,y){if(this.includeScrollOffsets){return this.withinIncludingScrolloffsets(element,x,y)}this.xcomp=x;this.ycomp=y;this.offset=Element.cumulativeOffset(element);return(y>=this.offset[1]&&y<this.offset[1]+element.offsetHeight&&x>=this.offset[0]&&x<this.offset[0]+element.offsetWidth)},withinIncludingScrolloffsets:function(element,x,y){var offsetcache=Element.cumulativeScrollOffset(element);this.xcomp=x+offsetcache[0]-this.deltaX;this.ycomp=y+offsetcache[1]-this.deltaY;this.offset=Element.cumulativeOffset(element);return(this.ycomp>=this.offset[1]&&this.ycomp<this.offset[1]+element.offsetHeight&&this.xcomp>=this.offset[0]&&this.xcomp<this.offset[0]+element.offsetWidth)},overlap:function(mode,element){if(!mode){return 0}if(mode=="vertical"){return((this.offset[1]+element.offsetHeight)-this.ycomp)/element.offsetHeight}if(mode=="horizontal"){return((this.offset[0]+element.offsetWidth)-this.xcomp)/element.offsetWidth}},cumulativeOffset:Element.Methods.cumulativeOffset,positionedOffset:Element.Methods.positionedOffset,absolutize:function(element){Position.prepare();return Element.absolutize(element)},relativize:function(element){Position.prepare();return Element.relativize(element)},realOffset:Element.Methods.cumulativeScrollOffset,offsetParent:Element.Methods.getOffsetParent,page:Element.Methods.viewportOffset,clone:function(source,target,options){options=options||{};return Element.clonePosition(target,source,options)}};if(!document.getElementsByClassName){document.getElementsByClassName=function(instanceMethods){function iter(name){return name.blank()?null:"[contains(concat(' ', @class, ' '), ' "+name+" ')]"}instanceMethods.getElementsByClassName=Prototype.BrowserFeatures.XPath?function(element,className){className=className.toString().strip();var cond=/\s/.test(className)?$w(className).map(iter).join(""):iter(className);return cond?document._getElementsByXPath(".//*"+cond,element):[]}:function(element,className){className=className.toString().strip();var elements=[],classNames=(/\s/.test(className)?$w(className):null);if(!classNames&&!className){return elements}var nodes=$(element).getElementsByTagName("*");className=" "+className+" ";for(var i=0,child,cn;child=nodes[i];i++){if(child.className&&(cn=" "+child.className+" ")&&(cn.include(className)||(classNames&&classNames.all(function(name){return !name.toString().blank()&&cn.include(" "+name+" ")})))){elements.push(Element.extend(child))}}return elements};return function(className,parentElement){return $(parentElement||document.body).getElementsByClassName(className)}}(Element.Methods)}Element.ClassNames=Class.create();Element.ClassNames.prototype={initialize:function(element){this.element=$(element)},_each:function(iterator){this.element.className.split(/\s+/).select(function(name){return name.length>0})._each(iterator)},set:function(className){this.element.className=className},add:function(classNameToAdd){if(this.include(classNameToAdd)){return}this.set($A(this).concat(classNameToAdd).join(" "))},remove:function(classNameToRemove){if(!this.include(classNameToRemove)){return}this.set($A(this).without(classNameToRemove).join(" "))},toString:function(){return $A(this).join(" ")}};Object.extend(Element.ClassNames.prototype,Enumerable);Element.addMethods();
1
+ var Prototype={Version:"1.6.1_rc3",Browser:(function(){var ua=navigator.userAgent;var isOpera=Object.prototype.toString.call(window.opera)=="[object Opera]";return{IE:!!window.attachEvent&&!isOpera,Opera:isOpera,WebKit:ua.indexOf("AppleWebKit/")>-1,Gecko:ua.indexOf("Gecko")>-1&&ua.indexOf("KHTML")===-1,MobileSafari:/Apple.*Mobile.*Safari/.test(ua)}})(),BrowserFeatures:{XPath:!!document.evaluate,SelectorsAPI:!!document.querySelector,ElementExtensions:(function(){var constructor=window.Element||window.HTMLElement;return !!(constructor&&constructor.prototype)})(),SpecificElementExtensions:(function(){if(typeof window.HTMLDivElement!=="undefined"){return true}var div=document.createElement("div");var form=document.createElement("form");var isSupported=false;if(div.__proto__&&(div.__proto__!==form.__proto__)){isSupported=true}div=form=null;return isSupported})()},ScriptFragment:"<script[^>]*>([\\S\\s]*?)<\/script>",JSONFilter:/^\/\*-secure-([\s\S]*)\*\/\s*$/,emptyFunction:function(){},K:function(x){return x}};if(Prototype.Browser.MobileSafari){Prototype.BrowserFeatures.SpecificElementExtensions=false}var Abstract={};var Try={these:function(){var returnValue;for(var i=0,length=arguments.length;i<length;i++){var lambda=arguments[i];try{returnValue=lambda();break}catch(e){}}return returnValue}};var Class=(function(){function subclass(){}function create(){var parent=null,properties=$A(arguments);if(Object.isFunction(properties[0])){parent=properties.shift()}function klass(){this.initialize.apply(this,arguments)}Object.extend(klass,Class.Methods);klass.superclass=parent;klass.subclasses=[];if(parent){subclass.prototype=parent.prototype;klass.prototype=new subclass;parent.subclasses.push(klass)}for(var i=0;i<properties.length;i++){klass.addMethods(properties[i])}if(!klass.prototype.initialize){klass.prototype.initialize=Prototype.emptyFunction}klass.prototype.constructor=klass;return klass}function addMethods(source){var ancestor=this.superclass&&this.superclass.prototype;var properties=Object.keys(source);if(!Object.keys({toString:true}).length){if(source.toString!=Object.prototype.toString){properties.push("toString")}if(source.valueOf!=Object.prototype.valueOf){properties.push("valueOf")}}for(var i=0,length=properties.length;i<length;i++){var property=properties[i],value=source[property];if(ancestor&&Object.isFunction(value)&&value.argumentNames().first()=="$super"){var method=value;value=(function(m){return function(){return ancestor[m].apply(this,arguments)}})(property).wrap(method);value.valueOf=method.valueOf.bind(method);value.toString=method.toString.bind(method)}this.prototype[property]=value}return this}return{create:create,Methods:{addMethods:addMethods}}})();(function(){function getClass(object){return Object.prototype.toString.call(object).match(/^\[object\s(.*)\]$/)[1]}function extend(destination,source){for(var property in source){destination[property]=source[property]}return destination}function inspect(object){try{if(isUndefined(object)){return"undefined"}if(object===null){return"null"}return object.inspect?object.inspect():String(object)}catch(e){if(e instanceof RangeError){return"..."}throw e}}function toJSON(object){var type=typeof object;switch(type){case"undefined":case"function":case"unknown":return;case"boolean":return object.toString()}if(object===null){return"null"}if(object.toJSON){return object.toJSON()}if(isElement(object)){return}var results=[];for(var property in object){var value=toJSON(object[property]);if(!isUndefined(value)){results.push(property.toJSON()+": "+value)}}return"{"+results.join(", ")+"}"}function toQueryString(object){return $H(object).toQueryString()}function toHTML(object){return object&&object.toHTML?object.toHTML():String.interpret(object)}function keys(object){var results=[];for(var property in object){results.push(property)}return results}function values(object){var results=[];for(var property in object){results.push(object[property])}return results}function clone(object){return extend({},object)}function isElement(object){return !!(object&&object.nodeType==1)}function isArray(object){return getClass(object)==="Array"}function isHash(object){return object instanceof Hash}function isFunction(object){return typeof object==="function"}function isString(object){return getClass(object)==="String"}function isNumber(object){return getClass(object)==="Number"}function isUndefined(object){return typeof object==="undefined"}extend(Object,{extend:extend,inspect:inspect,toJSON:toJSON,toQueryString:toQueryString,toHTML:toHTML,keys:keys,values:values,clone:clone,isElement:isElement,isArray:isArray,isHash:isHash,isFunction:isFunction,isString:isString,isNumber:isNumber,isUndefined:isUndefined})})();Object.extend(Function.prototype,(function(){var slice=Array.prototype.slice;function update(array,args){var arrayLength=array.length,length=args.length;while(length--){array[arrayLength+length]=args[length]}return array}function merge(array,args){array=slice.call(array,0);return update(array,args)}function argumentNames(){var names=this.toString().match(/^[\s\(]*function[^(]*\(([^)]*)\)/)[1].replace(/\/\/.*?[\r\n]|\/\*(?:.|[\r\n])*?\*\//g,"").replace(/\s+/g,"").split(",");return names.length==1&&!names[0]?[]:names}function bind(context){if(arguments.length<2&&Object.isUndefined(arguments[0])){return this}var __method=this,args=slice.call(arguments,1);return function(){var a=merge(args,arguments);return __method.apply(context,a)}}function bindAsEventListener(context){var __method=this,args=slice.call(arguments,1);return function(event){var a=update([event||window.event],args);return __method.apply(context,a)}}function curry(){if(!arguments.length){return this}var __method=this,args=slice.call(arguments,0);return function(){var a=merge(args,arguments);return __method.apply(this,a)}}function delay(timeout){var __method=this,args=slice.call(arguments,1);timeout=timeout*1000;return window.setTimeout(function(){return __method.apply(__method,args)},timeout)}function defer(){var args=update([0.01],arguments);return this.delay.apply(this,args)}function wrap(wrapper){var __method=this;return function(){var a=update([__method.bind(this)],arguments);return wrapper.apply(this,a)}}function methodize(){if(this._methodized){return this._methodized}var __method=this;return this._methodized=function(){var a=update([this],arguments);return __method.apply(null,a)}}return{argumentNames:argumentNames,bind:bind,bindAsEventListener:bindAsEventListener,curry:curry,delay:delay,defer:defer,wrap:wrap,methodize:methodize}})());Date.prototype.toJSON=function(){return'"'+this.getUTCFullYear()+"-"+(this.getUTCMonth()+1).toPaddedString(2)+"-"+this.getUTCDate().toPaddedString(2)+"T"+this.getUTCHours().toPaddedString(2)+":"+this.getUTCMinutes().toPaddedString(2)+":"+this.getUTCSeconds().toPaddedString(2)+'Z"'};RegExp.prototype.match=RegExp.prototype.test;RegExp.escape=function(str){return String(str).replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")};var PeriodicalExecuter=Class.create({initialize:function(callback,frequency){this.callback=callback;this.frequency=frequency;this.currentlyExecuting=false;this.registerCallback()},registerCallback:function(){this.timer=setInterval(this.onTimerEvent.bind(this),this.frequency*1000)},execute:function(){this.callback(this)},stop:function(){if(!this.timer){return}clearInterval(this.timer);this.timer=null},onTimerEvent:function(){if(!this.currentlyExecuting){try{this.currentlyExecuting=true;this.execute()}catch(e){}finally{this.currentlyExecuting=false}}}});Object.extend(String,{interpret:function(value){return value==null?"":String(value)},specialChar:{"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","\\":"\\\\"}});Object.extend(String.prototype,(function(){function prepareReplacement(replacement){if(Object.isFunction(replacement)){return replacement}var template=new Template(replacement);return function(match){return template.evaluate(match)}}function gsub(pattern,replacement){var result="",source=this,match;replacement=prepareReplacement(replacement);
2
+ if(Object.isString(pattern)){pattern=RegExp.escape(pattern)}if(!(pattern.length||pattern.source)){replacement=replacement("");return replacement+source.split("").join(replacement)+replacement}while(source.length>0){if(match=source.match(pattern)){result+=source.slice(0,match.index);result+=String.interpret(replacement(match));source=source.slice(match.index+match[0].length)}else{result+=source,source=""}}return result}function sub(pattern,replacement,count){replacement=prepareReplacement(replacement);count=Object.isUndefined(count)?1:count;return this.gsub(pattern,function(match){if(--count<0){return match[0]}return replacement(match)})}function scan(pattern,iterator){this.gsub(pattern,iterator);return String(this)}function truncate(length,truncation){length=length||30;truncation=Object.isUndefined(truncation)?"...":truncation;return this.length>length?this.slice(0,length-truncation.length)+truncation:String(this)}function strip(){return this.replace(/^\s+/,"").replace(/\s+$/,"")}function stripTags(){return this.replace(/<\w+(\s+("[^"]*"|'[^']*'|[^>])+)?>|<\/\w+>/gi,"")}function stripScripts(){return this.replace(new RegExp(Prototype.ScriptFragment,"img"),"")}function extractScripts(){var matchAll=new RegExp(Prototype.ScriptFragment,"img");var matchOne=new RegExp(Prototype.ScriptFragment,"im");return(this.match(matchAll)||[]).map(function(scriptTag){return(scriptTag.match(matchOne)||["",""])[1]})}function evalScripts(){return this.extractScripts().map(function(script){return eval(script)})}function escapeHTML(){escapeHTML.text.data=this;return escapeHTML.div.innerHTML}function unescapeHTML(){var div=document.createElement("div");div.innerHTML=this.stripTags();return div.childNodes[0]?(div.childNodes.length>1?$A(div.childNodes).inject("",function(memo,node){return memo+node.nodeValue}):div.childNodes[0].nodeValue):""}function toQueryParams(separator){var match=this.strip().match(/([^?#]*)(#.*)?$/);if(!match){return{}}return match[1].split(separator||"&").inject({},function(hash,pair){if((pair=pair.split("="))[0]){var key=decodeURIComponent(pair.shift());var value=pair.length>1?pair.join("="):pair[0];if(value!=undefined){value=decodeURIComponent(value)}if(key in hash){if(!Object.isArray(hash[key])){hash[key]=[hash[key]]}hash[key].push(value)}else{hash[key]=value}}return hash})}function toArray(){return this.split("")}function succ(){return this.slice(0,this.length-1)+String.fromCharCode(this.charCodeAt(this.length-1)+1)}function times(count){return count<1?"":new Array(count+1).join(this)}function camelize(){var parts=this.split("-"),len=parts.length;if(len==1){return parts[0]}var camelized=this.charAt(0)=="-"?parts[0].charAt(0).toUpperCase()+parts[0].substring(1):parts[0];for(var i=1;i<len;i++){camelized+=parts[i].charAt(0).toUpperCase()+parts[i].substring(1)}return camelized}function capitalize(){return this.charAt(0).toUpperCase()+this.substring(1).toLowerCase()}function underscore(){return this.gsub(/::/,"/").gsub(/([A-Z]+)([A-Z][a-z])/,"#{1}_#{2}").gsub(/([a-z\d])([A-Z])/,"#{1}_#{2}").gsub(/-/,"_").toLowerCase()}function dasherize(){return this.gsub(/_/,"-")}function inspect(useDoubleQuotes){var escapedString=this.gsub(/[\x00-\x1f\\]/,function(match){var character=String.specialChar[match[0]];return character?character:"\\u00"+match[0].charCodeAt().toPaddedString(2,16)});if(useDoubleQuotes){return'"'+escapedString.replace(/"/g,'\\"')+'"'}return"'"+escapedString.replace(/'/g,"\\'")+"'"}function toJSON(){return this.inspect(true)}function unfilterJSON(filter){return this.sub(filter||Prototype.JSONFilter,"#{1}")}function isJSON(){var str=this;if(str.blank()){return false}str=this.replace(/\\./g,"@").replace(/"[^"\\\n\r]*"/g,"");return(/^[,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]*$/).test(str)}function evalJSON(sanitize){var json=this.unfilterJSON();try{if(!sanitize||json.isJSON()){return eval("("+json+")")}}catch(e){}throw new SyntaxError("Badly formed JSON string: "+this.inspect())}function include(pattern){return this.indexOf(pattern)>-1}function startsWith(pattern){return this.indexOf(pattern)===0}function endsWith(pattern){var d=this.length-pattern.length;return d>=0&&this.lastIndexOf(pattern)===d}function empty(){return this==""}function blank(){return/^\s*$/.test(this)}function interpolate(object,pattern){return new Template(this,pattern).evaluate(object)}return{gsub:gsub,sub:sub,scan:scan,truncate:truncate,strip:String.prototype.trim?String.prototype.trim:strip,stripTags:stripTags,stripScripts:stripScripts,extractScripts:extractScripts,evalScripts:evalScripts,escapeHTML:escapeHTML,unescapeHTML:unescapeHTML,toQueryParams:toQueryParams,parseQuery:toQueryParams,toArray:toArray,succ:succ,times:times,camelize:camelize,capitalize:capitalize,underscore:underscore,dasherize:dasherize,inspect:inspect,toJSON:toJSON,unfilterJSON:unfilterJSON,isJSON:isJSON,evalJSON:evalJSON,include:include,startsWith:startsWith,endsWith:endsWith,empty:empty,blank:blank,interpolate:interpolate}})());Object.extend(String.prototype.escapeHTML,{div:document.createElement("div"),text:document.createTextNode("")});String.prototype.escapeHTML.div.appendChild(String.prototype.escapeHTML.text);if("<\n>".escapeHTML()!=="&lt;\n&gt;"){String.prototype.escapeHTML=function(){return this.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}}if("&lt;\n&gt;".unescapeHTML()!=="<\n>"){String.prototype.unescapeHTML=function(){return this.stripTags().replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,"&")}}var Template=Class.create({initialize:function(template,pattern){this.template=template.toString();this.pattern=pattern||Template.Pattern},evaluate:function(object){if(object&&Object.isFunction(object.toTemplateReplacements)){object=object.toTemplateReplacements()}return this.template.gsub(this.pattern,function(match){if(object==null){return(match[1]+"")}var before=match[1]||"";if(before=="\\"){return match[2]}var ctx=object,expr=match[3];var pattern=/^([^.[]+|\[((?:.*?[^\\])?)\])(\.|\[|$)/;match=pattern.exec(expr);if(match==null){return before}while(match!=null){var comp=match[1].startsWith("[")?match[2].gsub("\\\\]","]"):match[1];ctx=ctx[comp];if(null==ctx||""==match[3]){break}expr=expr.substring("["==match[3]?match[1].length:match[0].length);match=pattern.exec(expr)}return before+String.interpret(ctx)})}});Template.Pattern=/(^|.|\r|\n)(#\{(.*?)\})/;var $break={};var Enumerable=(function(){function each(iterator,context){var index=0;try{this._each(function(value){iterator.call(context,value,index++)})}catch(e){if(e!=$break){throw e}}return this}function eachSlice(number,iterator,context){var index=-number,slices=[],array=this.toArray();if(number<1){return array}while((index+=number)<array.length){slices.push(array.slice(index,index+number))}return slices.collect(iterator,context)}function all(iterator,context){iterator=iterator||Prototype.K;var result=true;this.each(function(value,index){result=result&&!!iterator.call(context,value,index);if(!result){throw $break}});return result}function any(iterator,context){iterator=iterator||Prototype.K;var result=false;this.each(function(value,index){if(result=!!iterator.call(context,value,index)){throw $break}});return result}function collect(iterator,context){iterator=iterator||Prototype.K;var results=[];this.each(function(value,index){results.push(iterator.call(context,value,index))});return results}function detect(iterator,context){var result;this.each(function(value,index){if(iterator.call(context,value,index)){result=value;throw $break}});return result}function findAll(iterator,context){var results=[];this.each(function(value,index){if(iterator.call(context,value,index)){results.push(value)}});return results}function grep(filter,iterator,context){iterator=iterator||Prototype.K;var results=[];if(Object.isString(filter)){filter=new RegExp(RegExp.escape(filter))}this.each(function(value,index){if(filter.match(value)){results.push(iterator.call(context,value,index))}});return results}function include(object){if(Object.isFunction(this.indexOf)){if(this.indexOf(object)!=-1){return true
3
+ }}var found=false;this.each(function(value){if(value==object){found=true;throw $break}});return found}function inGroupsOf(number,fillWith){fillWith=Object.isUndefined(fillWith)?null:fillWith;return this.eachSlice(number,function(slice){while(slice.length<number){slice.push(fillWith)}return slice})}function inject(memo,iterator,context){this.each(function(value,index){memo=iterator.call(context,memo,value,index)});return memo}function invoke(method){var args=$A(arguments).slice(1);return this.map(function(value){return value[method].apply(value,args)})}function max(iterator,context){iterator=iterator||Prototype.K;var result;this.each(function(value,index){value=iterator.call(context,value,index);if(result==null||value>=result){result=value}});return result}function min(iterator,context){iterator=iterator||Prototype.K;var result;this.each(function(value,index){value=iterator.call(context,value,index);if(result==null||value<result){result=value}});return result}function partition(iterator,context){iterator=iterator||Prototype.K;var trues=[],falses=[];this.each(function(value,index){(iterator.call(context,value,index)?trues:falses).push(value)});return[trues,falses]}function pluck(property){var results=[];this.each(function(value){results.push(value[property])});return results}function reject(iterator,context){var results=[];this.each(function(value,index){if(!iterator.call(context,value,index)){results.push(value)}});return results}function sortBy(iterator,context){return this.map(function(value,index){return{value:value,criteria:iterator.call(context,value,index)}}).sort(function(left,right){var a=left.criteria,b=right.criteria;return a<b?-1:a>b?1:0}).pluck("value")}function toArray(){return this.map()}function zip(){var iterator=Prototype.K,args=$A(arguments);if(Object.isFunction(args.last())){iterator=args.pop()}var collections=[this].concat(args).map($A);return this.map(function(value,index){return iterator(collections.pluck(index))})}function size(){return this.toArray().length}function inspect(){return"#<Enumerable:"+this.toArray().inspect()+">"}return{each:each,eachSlice:eachSlice,all:all,every:all,any:any,some:any,collect:collect,map:collect,detect:detect,findAll:findAll,select:findAll,filter:findAll,grep:grep,include:include,member:include,inGroupsOf:inGroupsOf,inject:inject,invoke:invoke,max:max,min:min,partition:partition,pluck:pluck,reject:reject,sortBy:sortBy,toArray:toArray,entries:toArray,zip:zip,size:size,inspect:inspect,find:detect}})();function $A(iterable){if(!iterable){return[]}if("toArray" in Object(iterable)){return iterable.toArray()}var length=iterable.length||0,results=new Array(length);while(length--){results[length]=iterable[length]}return results}function $w(string){if(!Object.isString(string)){return[]}string=string.strip();return string?string.split(/\s+/):[]}Array.from=$A;(function(){var arrayProto=Array.prototype,slice=arrayProto.slice,_each=arrayProto.forEach;function each(iterator){for(var i=0,length=this.length;i<length;i++){iterator(this[i])}}if(!_each){_each=each}function clear(){this.length=0;return this}function first(){return this[0]}function last(){return this[this.length-1]}function compact(){return this.select(function(value){return value!=null})}function flatten(){return this.inject([],function(array,value){if(Object.isArray(value)){return array.concat(value.flatten())}array.push(value);return array})}function without(){var values=slice.call(arguments,0);return this.select(function(value){return !values.include(value)})}function reverse(inline){return(inline!==false?this:this.toArray())._reverse()}function uniq(sorted){return this.inject([],function(array,value,index){if(0==index||(sorted?array.last()!=value:!array.include(value))){array.push(value)}return array})}function intersect(array){return this.uniq().findAll(function(item){return array.detect(function(value){return item===value})})}function clone(){return slice.call(this,0)}function size(){return this.length}function inspect(){return"["+this.map(Object.inspect).join(", ")+"]"}function toJSON(){var results=[];this.each(function(object){var value=Object.toJSON(object);if(!Object.isUndefined(value)){results.push(value)}});return"["+results.join(", ")+"]"}function indexOf(item,i){i||(i=0);var length=this.length;if(i<0){i=length+i}for(;i<length;i++){if(this[i]===item){return i}}return -1}function lastIndexOf(item,i){i=isNaN(i)?this.length:(i<0?this.length+i:i)+1;var n=this.slice(0,i).reverse().indexOf(item);return(n<0)?n:i-n-1}function concat(){var array=slice.call(this,0),item;for(var i=0,length=arguments.length;i<length;i++){item=arguments[i];if(Object.isArray(item)&&!("callee" in item)){for(var j=0,arrayLength=item.length;j<arrayLength;j++){array.push(item[j])}}else{array.push(item)}}return array}Object.extend(arrayProto,Enumerable);if(!arrayProto._reverse){arrayProto._reverse=arrayProto.reverse}Object.extend(arrayProto,{_each:_each,clear:clear,first:first,last:last,compact:compact,flatten:flatten,without:without,reverse:reverse,uniq:uniq,intersect:intersect,clone:clone,toArray:clone,size:size,inspect:inspect,toJSON:toJSON});var CONCAT_ARGUMENTS_BUGGY=(function(){return[].concat(arguments)[0][0]!==1})(1,2);if(CONCAT_ARGUMENTS_BUGGY){arrayProto.concat=concat}if(!arrayProto.indexOf){arrayProto.indexOf=indexOf}if(!arrayProto.lastIndexOf){arrayProto.lastIndexOf=lastIndexOf}})();function $H(object){return new Hash(object)}var Hash=Class.create(Enumerable,(function(){function initialize(object){this._object=Object.isHash(object)?object.toObject():Object.clone(object)}function _each(iterator){for(var key in this._object){var value=this._object[key],pair=[key,value];pair.key=key;pair.value=value;iterator(pair)}}function set(key,value){return this._object[key]=value}function get(key){if(this._object[key]!==Object.prototype[key]){return this._object[key]}}function unset(key){var value=this._object[key];delete this._object[key];return value}function toObject(){return Object.clone(this._object)}function keys(){return this.pluck("key")}function values(){return this.pluck("value")}function index(value){var match=this.detect(function(pair){return pair.value===value});return match&&match.key}function merge(object){return this.clone().update(object)}function update(object){return new Hash(object).inject(this,function(result,pair){result.set(pair.key,pair.value);return result})}function toQueryPair(key,value){if(Object.isUndefined(value)){return key}return key+"="+encodeURIComponent(String.interpret(value))}function toQueryString(){return this.inject([],function(results,pair){var key=encodeURIComponent(pair.key),values=pair.value;if(values&&typeof values=="object"){if(Object.isArray(values)){return results.concat(values.map(toQueryPair.curry(key)))}}else{results.push(toQueryPair(key,values))}return results}).join("&")}function inspect(){return"#<Hash:{"+this.map(function(pair){return pair.map(Object.inspect).join(": ")}).join(", ")+"}>"}function toJSON(){return Object.toJSON(this.toObject())}function clone(){return new Hash(this)}return{initialize:initialize,_each:_each,set:set,get:get,unset:unset,toObject:toObject,toTemplateReplacements:toObject,keys:keys,values:values,index:index,merge:merge,update:update,toQueryString:toQueryString,inspect:inspect,toJSON:toJSON,clone:clone}})());Hash.from=$H;Object.extend(Number.prototype,(function(){function toColorPart(){return this.toPaddedString(2,16)}function succ(){return this+1}function times(iterator,context){$R(0,this,true).each(iterator,context);return this}function toPaddedString(length,radix){var string=this.toString(radix||10);return"0".times(length-string.length)+string}function toJSON(){return isFinite(this)?this.toString():"null"}function abs(){return Math.abs(this)}function round(){return Math.round(this)}function ceil(){return Math.ceil(this)}function floor(){return Math.floor(this)}return{toColorPart:toColorPart,succ:succ,times:times,toPaddedString:toPaddedString,toJSON:toJSON,abs:abs,round:round,ceil:ceil,floor:floor}
4
+ })());function $R(start,end,exclusive){return new ObjectRange(start,end,exclusive)}var ObjectRange=Class.create(Enumerable,(function(){function initialize(start,end,exclusive){this.start=start;this.end=end;this.exclusive=exclusive}function _each(iterator){var value=this.start;while(this.include(value)){iterator(value);value=value.succ()}}function include(value){if(value<this.start){return false}if(this.exclusive){return value<this.end}return value<=this.end}return{initialize:initialize,_each:_each,include:include}})());var Ajax={getTransport:function(){return Try.these(function(){return new XMLHttpRequest()},function(){return new ActiveXObject("Msxml2.XMLHTTP")},function(){return new ActiveXObject("Microsoft.XMLHTTP")})||false},activeRequestCount:0};Ajax.Responders={responders:[],_each:function(iterator){this.responders._each(iterator)},register:function(responder){if(!this.include(responder)){this.responders.push(responder)}},unregister:function(responder){this.responders=this.responders.without(responder)},dispatch:function(callback,request,transport,json){this.each(function(responder){if(Object.isFunction(responder[callback])){try{responder[callback].apply(responder,[request,transport,json])}catch(e){}}})}};Object.extend(Ajax.Responders,Enumerable);Ajax.Responders.register({onCreate:function(){Ajax.activeRequestCount++},onComplete:function(){Ajax.activeRequestCount--}});Ajax.Base=Class.create({initialize:function(options){this.options={method:"post",asynchronous:true,contentType:"application/x-www-form-urlencoded",encoding:"UTF-8",parameters:"",evalJSON:true,evalJS:true};Object.extend(this.options,options||{});this.options.method=this.options.method.toLowerCase();if(Object.isString(this.options.parameters)){this.options.parameters=this.options.parameters.toQueryParams()}else{if(Object.isHash(this.options.parameters)){this.options.parameters=this.options.parameters.toObject()}}}});Ajax.Request=Class.create(Ajax.Base,{_complete:false,initialize:function($super,url,options){$super(options);this.transport=Ajax.getTransport();this.request(url)},request:function(url){this.url=url;this.method=this.options.method;var params=Object.clone(this.options.parameters);if(!["get","post"].include(this.method)){params._method=this.method;this.method="post"}this.parameters=params;if(params=Object.toQueryString(params)){if(this.method=="get"){this.url+=(this.url.include("?")?"&":"?")+params}else{if(/Konqueror|Safari|KHTML/.test(navigator.userAgent)){params+="&_="}}}try{var response=new Ajax.Response(this);if(this.options.onCreate){this.options.onCreate(response)}Ajax.Responders.dispatch("onCreate",this,response);this.transport.open(this.method.toUpperCase(),this.url,this.options.asynchronous);if(this.options.asynchronous){this.respondToReadyState.bind(this).defer(1)}this.transport.onreadystatechange=this.onStateChange.bind(this);this.setRequestHeaders();this.body=this.method=="post"?(this.options.postBody||params):null;this.transport.send(this.body);if(!this.options.asynchronous&&this.transport.overrideMimeType){this.onStateChange()}}catch(e){this.dispatchException(e)}},onStateChange:function(){var readyState=this.transport.readyState;if(readyState>1&&!((readyState==4)&&this._complete)){this.respondToReadyState(this.transport.readyState)}},setRequestHeaders:function(){var headers={"X-Requested-With":"XMLHttpRequest","X-Prototype-Version":Prototype.Version,Accept:"text/javascript, text/html, application/xml, text/xml, */*"};if(this.method=="post"){headers["Content-type"]=this.options.contentType+(this.options.encoding?"; charset="+this.options.encoding:"");if(this.transport.overrideMimeType&&(navigator.userAgent.match(/Gecko\/(\d{4})/)||[0,2005])[1]<2005){headers.Connection="close"}}if(typeof this.options.requestHeaders=="object"){var extras=this.options.requestHeaders;if(Object.isFunction(extras.push)){for(var i=0,length=extras.length;i<length;i+=2){headers[extras[i]]=extras[i+1]}}else{$H(extras).each(function(pair){headers[pair.key]=pair.value})}}for(var name in headers){this.transport.setRequestHeader(name,headers[name])}},success:function(){var status=this.getStatus();return !status||(status>=200&&status<300)},getStatus:function(){try{return this.transport.status||0}catch(e){return 0}},respondToReadyState:function(readyState){var state=Ajax.Request.Events[readyState],response=new Ajax.Response(this);if(state=="Complete"){try{this._complete=true;(this.options["on"+response.status]||this.options["on"+(this.success()?"Success":"Failure")]||Prototype.emptyFunction)(response,response.headerJSON)}catch(e){this.dispatchException(e)}var contentType=response.getHeader("Content-type");if(this.options.evalJS=="force"||(this.options.evalJS&&this.isSameOrigin()&&contentType&&contentType.match(/^\s*(text|application)\/(x-)?(java|ecma)script(;.*)?\s*$/i))){this.evalResponse()}}try{(this.options["on"+state]||Prototype.emptyFunction)(response,response.headerJSON);Ajax.Responders.dispatch("on"+state,this,response,response.headerJSON)}catch(e){this.dispatchException(e)}if(state=="Complete"){this.transport.onreadystatechange=Prototype.emptyFunction}},isSameOrigin:function(){var m=this.url.match(/^\s*https?:\/\/[^\/]*/);return !m||(m[0]=="#{protocol}//#{domain}#{port}".interpolate({protocol:location.protocol,domain:document.domain,port:location.port?":"+location.port:""}))},getHeader:function(name){try{return this.transport.getResponseHeader(name)||null}catch(e){return null}},evalResponse:function(){try{return eval((this.transport.responseText||"").unfilterJSON())}catch(e){this.dispatchException(e)}},dispatchException:function(exception){(this.options.onException||Prototype.emptyFunction)(this,exception);Ajax.Responders.dispatch("onException",this,exception)}});Ajax.Request.Events=["Uninitialized","Loading","Loaded","Interactive","Complete"];Ajax.Response=Class.create({initialize:function(request){this.request=request;var transport=this.transport=request.transport,readyState=this.readyState=transport.readyState;if((readyState>2&&!Prototype.Browser.IE)||readyState==4){this.status=this.getStatus();this.statusText=this.getStatusText();this.responseText=String.interpret(transport.responseText);this.headerJSON=this._getHeaderJSON()}if(readyState==4){var xml=transport.responseXML;this.responseXML=Object.isUndefined(xml)?null:xml;this.responseJSON=this._getResponseJSON()}},status:0,statusText:"",getStatus:Ajax.Request.prototype.getStatus,getStatusText:function(){try{return this.transport.statusText||""}catch(e){return""}},getHeader:Ajax.Request.prototype.getHeader,getAllHeaders:function(){try{return this.getAllResponseHeaders()}catch(e){return null}},getResponseHeader:function(name){return this.transport.getResponseHeader(name)},getAllResponseHeaders:function(){return this.transport.getAllResponseHeaders()},_getHeaderJSON:function(){var json=this.getHeader("X-JSON");if(!json){return null}json=decodeURIComponent(escape(json));try{return json.evalJSON(this.request.options.sanitizeJSON||!this.request.isSameOrigin())}catch(e){this.request.dispatchException(e)}},_getResponseJSON:function(){var options=this.request.options;if(!options.evalJSON||(options.evalJSON!="force"&&!(this.getHeader("Content-type")||"").include("application/json"))||this.responseText.blank()){return null}try{return this.responseText.evalJSON(options.sanitizeJSON||!this.request.isSameOrigin())}catch(e){this.request.dispatchException(e)}}});Ajax.Updater=Class.create(Ajax.Request,{initialize:function($super,container,url,options){this.container={success:(container.success||container),failure:(container.failure||(container.success?null:container))};options=Object.clone(options);var onComplete=options.onComplete;options.onComplete=(function(response,json){this.updateContent(response.responseText);if(Object.isFunction(onComplete)){onComplete(response,json)}}).bind(this);$super(url,options)},updateContent:function(responseText){var receiver=this.container[this.success()?"success":"failure"],options=this.options;if(!options.evalScripts){responseText=responseText.stripScripts()
5
+ }if(receiver=$(receiver)){if(options.insertion){if(Object.isString(options.insertion)){var insertion={};insertion[options.insertion]=responseText;receiver.insert(insertion)}else{options.insertion(receiver,responseText)}}else{receiver.update(responseText)}}}});Ajax.PeriodicalUpdater=Class.create(Ajax.Base,{initialize:function($super,container,url,options){$super(options);this.onComplete=this.options.onComplete;this.frequency=(this.options.frequency||2);this.decay=(this.options.decay||1);this.updater={};this.container=container;this.url=url;this.start()},start:function(){this.options.onComplete=this.updateComplete.bind(this);this.onTimerEvent()},stop:function(){this.updater.options.onComplete=undefined;clearTimeout(this.timer);(this.onComplete||Prototype.emptyFunction).apply(this,arguments)},updateComplete:function(response){if(this.options.decay){this.decay=(response.responseText==this.lastText?this.decay*this.options.decay:1);this.lastText=response.responseText}this.timer=this.onTimerEvent.bind(this).delay(this.decay*this.frequency)},onTimerEvent:function(){this.updater=new Ajax.Updater(this.container,this.url,this.options)}});function $(element){if(arguments.length>1){for(var i=0,elements=[],length=arguments.length;i<length;i++){elements.push($(arguments[i]))}return elements}if(Object.isString(element)){element=document.getElementById(element)}return Element.extend(element)}if(Prototype.BrowserFeatures.XPath){document._getElementsByXPath=function(expression,parentElement){var results=[];var query=document.evaluate(expression,$(parentElement)||document,null,XPathResult.ORDERED_NODE_SNAPSHOT_TYPE,null);for(var i=0,length=query.snapshotLength;i<length;i++){results.push(Element.extend(query.snapshotItem(i)))}return results}}if(!window.Node){var Node={}}if(!Node.ELEMENT_NODE){Object.extend(Node,{ELEMENT_NODE:1,ATTRIBUTE_NODE:2,TEXT_NODE:3,CDATA_SECTION_NODE:4,ENTITY_REFERENCE_NODE:5,ENTITY_NODE:6,PROCESSING_INSTRUCTION_NODE:7,COMMENT_NODE:8,DOCUMENT_NODE:9,DOCUMENT_TYPE_NODE:10,DOCUMENT_FRAGMENT_NODE:11,NOTATION_NODE:12})}(function(global){var SETATTRIBUTE_IGNORES_NAME=(function(){var elForm=document.createElement("form");var elInput=document.createElement("input");var root=document.documentElement;elInput.setAttribute("name","test");elForm.appendChild(elInput);root.appendChild(elForm);var isBuggy=elForm.elements?(typeof elForm.elements.test=="undefined"):null;root.removeChild(elForm);elForm=elInput=null;return isBuggy})();var element=global.Element;global.Element=function(tagName,attributes){attributes=attributes||{};tagName=tagName.toLowerCase();var cache=Element.cache;if(SETATTRIBUTE_IGNORES_NAME&&attributes.name){tagName="<"+tagName+' name="'+attributes.name+'">';delete attributes.name;return Element.writeAttribute(document.createElement(tagName),attributes)}if(!cache[tagName]){cache[tagName]=Element.extend(document.createElement(tagName))}return Element.writeAttribute(cache[tagName].cloneNode(false),attributes)};Object.extend(global.Element,element||{});if(element){global.Element.prototype=element.prototype}})(this);Element.cache={};Element.idCounter=1;Element.Methods={visible:function(element){return $(element).style.display!="none"},toggle:function(element){element=$(element);Element[Element.visible(element)?"hide":"show"](element);return element},hide:function(element){element=$(element);element.style.display="none";return element},show:function(element){element=$(element);element.style.display="";return element},remove:function(element){element=$(element);element.parentNode.removeChild(element);return element},update:(function(){var SELECT_ELEMENT_INNERHTML_BUGGY=(function(){var el=document.createElement("select"),isBuggy=true;el.innerHTML='<option value="test">test</option>';if(el.options&&el.options[0]){isBuggy=el.options[0].nodeName.toUpperCase()!=="OPTION"}el=null;return isBuggy})();var TABLE_ELEMENT_INNERHTML_BUGGY=(function(){try{var el=document.createElement("table");if(el&&el.tBodies){el.innerHTML="<tbody><tr><td>test</td></tr></tbody>";var isBuggy=typeof el.tBodies[0]=="undefined";el=null;return isBuggy}}catch(e){return true}})();var SCRIPT_ELEMENT_REJECTS_TEXTNODE_APPENDING=(function(){var s=document.createElement("script"),isBuggy=false;try{s.appendChild(document.createTextNode(""));isBuggy=!s.firstChild||s.firstChild&&s.firstChild.nodeType!==3}catch(e){isBuggy=true}s=null;return isBuggy})();function update(element,content){element=$(element);if(content&&content.toElement){content=content.toElement()}if(Object.isElement(content)){return element.update().insert(content)}content=Object.toHTML(content);var tagName=element.tagName.toUpperCase();if(tagName==="SCRIPT"&&SCRIPT_ELEMENT_REJECTS_TEXTNODE_APPENDING){element.text=content;return element}if(SELECT_ELEMENT_INNERHTML_BUGGY||TABLE_ELEMENT_INNERHTML_BUGGY){if(tagName in Element._insertionTranslations.tags){while(element.firstChild){element.removeChild(element.firstChild)}Element._getContentFromAnonymousElement(tagName,content.stripScripts()).each(function(node){element.appendChild(node)})}else{element.innerHTML=content.stripScripts()}}else{element.innerHTML=content.stripScripts()}content.evalScripts.bind(content).defer();return element}return update})(),replace:function(element,content){element=$(element);if(content&&content.toElement){content=content.toElement()}else{if(!Object.isElement(content)){content=Object.toHTML(content);var range=element.ownerDocument.createRange();range.selectNode(element);content.evalScripts.bind(content).defer();content=range.createContextualFragment(content.stripScripts())}}element.parentNode.replaceChild(content,element);return element},insert:function(element,insertions){element=$(element);if(Object.isString(insertions)||Object.isNumber(insertions)||Object.isElement(insertions)||(insertions&&(insertions.toElement||insertions.toHTML))){insertions={bottom:insertions}}var content,insert,tagName,childNodes;for(var position in insertions){content=insertions[position];position=position.toLowerCase();insert=Element._insertionTranslations[position];if(content&&content.toElement){content=content.toElement()}if(Object.isElement(content)){insert(element,content);continue}content=Object.toHTML(content);tagName=((position=="before"||position=="after")?element.parentNode:element).tagName.toUpperCase();childNodes=Element._getContentFromAnonymousElement(tagName,content.stripScripts());if(position=="top"||position=="after"){childNodes.reverse()}childNodes.each(insert.curry(element));content.evalScripts.bind(content).defer()}return element},wrap:function(element,wrapper,attributes){element=$(element);if(Object.isElement(wrapper)){$(wrapper).writeAttribute(attributes||{})}else{if(Object.isString(wrapper)){wrapper=new Element(wrapper,attributes)}else{wrapper=new Element("div",wrapper)}}if(element.parentNode){element.parentNode.replaceChild(wrapper,element)}wrapper.appendChild(element);return wrapper},inspect:function(element){element=$(element);var result="<"+element.tagName.toLowerCase();$H({id:"id",className:"class"}).each(function(pair){var property=pair.first(),attribute=pair.last();var value=(element[property]||"").toString();if(value){result+=" "+attribute+"="+value.inspect(true)}});return result+">"},recursivelyCollect:function(element,property){element=$(element);var elements=[];while(element=element[property]){if(element.nodeType==1){elements.push(Element.extend(element))}}return elements},ancestors:function(element){return Element.recursivelyCollect(element,"parentNode")},descendants:function(element){return Element.select(element,"*")},firstDescendant:function(element){element=$(element).firstChild;while(element&&element.nodeType!=1){element=element.nextSibling}return $(element)},immediateDescendants:function(element){if(!(element=$(element).firstChild)){return[]}while(element&&element.nodeType!=1){element=element.nextSibling}if(element){return[element].concat($(element).nextSiblings())}return[]},previousSiblings:function(element){return Element.recursivelyCollect(element,"previousSibling")
6
+ },nextSiblings:function(element){return Element.recursivelyCollect(element,"nextSibling")},siblings:function(element){element=$(element);return Element.previousSiblings(element).reverse().concat(Element.nextSiblings(element))},match:function(element,selector){if(Object.isString(selector)){selector=new Selector(selector)}return selector.match($(element))},up:function(element,expression,index){element=$(element);if(arguments.length==1){return $(element.parentNode)}var ancestors=Element.ancestors(element);return Object.isNumber(expression)?ancestors[expression]:Selector.findElement(ancestors,expression,index)},down:function(element,expression,index){element=$(element);if(arguments.length==1){return Element.firstDescendant(element)}return Object.isNumber(expression)?Element.descendants(element)[expression]:Element.select(element,expression)[index||0]},previous:function(element,expression,index){element=$(element);if(arguments.length==1){return $(Selector.handlers.previousElementSibling(element))}var previousSiblings=Element.previousSiblings(element);return Object.isNumber(expression)?previousSiblings[expression]:Selector.findElement(previousSiblings,expression,index)},next:function(element,expression,index){element=$(element);if(arguments.length==1){return $(Selector.handlers.nextElementSibling(element))}var nextSiblings=Element.nextSiblings(element);return Object.isNumber(expression)?nextSiblings[expression]:Selector.findElement(nextSiblings,expression,index)},select:function(element){var args=Array.prototype.slice.call(arguments,1);return Selector.findChildElements(element,args)},adjacent:function(element){var args=Array.prototype.slice.call(arguments,1);return Selector.findChildElements(element.parentNode,args).without(element)},identify:function(element){element=$(element);var id=Element.readAttribute(element,"id");if(id){return id}do{id="anonymous_element_"+Element.idCounter++}while($(id));Element.writeAttribute(element,"id",id);return id},readAttribute:function(element,name){element=$(element);if(Prototype.Browser.IE){if(name==="type"&&element.tagName.toUpperCase()=="IFRAME"){return element.getAttribute("type")}var t=Element._attributeTranslations.read;if(t.values[name]){return t.values[name](element,name)}if(t.names[name]){name=t.names[name]}if(name.include(":")){return(!element.attributes||!element.attributes[name])?null:element.attributes[name].value}}return element.getAttribute(name)},writeAttribute:function(element,name,value){element=$(element);var attributes={},t=Element._attributeTranslations.write;if(typeof name=="object"){attributes=name}else{attributes[name]=Object.isUndefined(value)?true:value}for(var attr in attributes){name=t.names[attr]||attr;value=attributes[attr];if(t.values[attr]){name=t.values[attr](element,value)}if(value===false||value===null){element.removeAttribute(name)}else{if(value===true){element.setAttribute(name,name)}else{element.setAttribute(name,value)}}}return element},getHeight:function(element){return Element.getDimensions(element).height},getWidth:function(element){return Element.getDimensions(element).width},classNames:function(element){return new Element.ClassNames(element)},hasClassName:function(element,className){if(!(element=$(element))){return}var elementClassName=element.className;return(elementClassName.length>0&&(elementClassName==className||new RegExp("(^|\\s)"+className+"(\\s|$)").test(elementClassName)))},addClassName:function(element,className){if(!(element=$(element))){return}if(!Element.hasClassName(element,className)){element.className+=(element.className?" ":"")+className}return element},removeClassName:function(element,className){if(!(element=$(element))){return}element.className=element.className.replace(new RegExp("(^|\\s+)"+className+"(\\s+|$)")," ").strip();return element},toggleClassName:function(element,className){if(!(element=$(element))){return}return Element[Element.hasClassName(element,className)?"removeClassName":"addClassName"](element,className)},cleanWhitespace:function(element){element=$(element);var node=element.firstChild;while(node){var nextNode=node.nextSibling;if(node.nodeType==3&&!/\S/.test(node.nodeValue)){element.removeChild(node)}node=nextNode}return element},empty:function(element){return $(element).innerHTML.blank()},descendantOf:function(element,ancestor){element=$(element),ancestor=$(ancestor);if(element.compareDocumentPosition){return(element.compareDocumentPosition(ancestor)&8)===8}if(ancestor.contains){return ancestor.contains(element)&&ancestor!==element}while(element=element.parentNode){if(element==ancestor){return true}}return false},scrollTo:function(element){element=$(element);var pos=Element.cumulativeOffset(element);window.scrollTo(pos[0],pos[1]);return element},getStyle:function(element,style){element=$(element);style=style=="float"?"cssFloat":style.camelize();var value=element.style[style];if(!value||value=="auto"){var css=document.defaultView.getComputedStyle(element,null);value=css?css[style]:null}if(style=="opacity"){return value?parseFloat(value):1}return value=="auto"?null:value},getOpacity:function(element){return $(element).getStyle("opacity")},setStyle:function(element,styles){element=$(element);var elementStyle=element.style,match;if(Object.isString(styles)){element.style.cssText+=";"+styles;return styles.include("opacity")?element.setOpacity(styles.match(/opacity:\s*(\d?\.?\d*)/)[1]):element}for(var property in styles){if(property=="opacity"){element.setOpacity(styles[property])}else{elementStyle[(property=="float"||property=="cssFloat")?(Object.isUndefined(elementStyle.styleFloat)?"cssFloat":"styleFloat"):property]=styles[property]}}return element},setOpacity:function(element,value){element=$(element);element.style.opacity=(value==1||value==="")?"":(value<0.00001)?0:value;return element},getDimensions:function(element){element=$(element);var display=Element.getStyle(element,"display");if(display!="none"&&display!=null){return{width:element.offsetWidth,height:element.offsetHeight}}var els=element.style;var originalVisibility=els.visibility;var originalPosition=els.position;var originalDisplay=els.display;els.visibility="hidden";if(originalPosition!="fixed"){els.position="absolute"}els.display="block";var originalWidth=element.clientWidth;var originalHeight=element.clientHeight;els.display=originalDisplay;els.position=originalPosition;els.visibility=originalVisibility;return{width:originalWidth,height:originalHeight}},makePositioned:function(element){element=$(element);var pos=Element.getStyle(element,"position");if(pos=="static"||!pos){element._madePositioned=true;element.style.position="relative";if(Prototype.Browser.Opera){element.style.top=0;element.style.left=0}}return element},undoPositioned:function(element){element=$(element);if(element._madePositioned){element._madePositioned=undefined;element.style.position=element.style.top=element.style.left=element.style.bottom=element.style.right=""}return element},makeClipping:function(element){element=$(element);if(element._overflow){return element}element._overflow=Element.getStyle(element,"overflow")||"auto";if(element._overflow!=="hidden"){element.style.overflow="hidden"}return element},undoClipping:function(element){element=$(element);if(!element._overflow){return element}element.style.overflow=element._overflow=="auto"?"":element._overflow;element._overflow=null;return element},cumulativeOffset:function(element){var valueT=0,valueL=0;do{valueT+=element.offsetTop||0;valueL+=element.offsetLeft||0;element=element.offsetParent}while(element);return Element._returnOffset(valueL,valueT)},positionedOffset:function(element){var valueT=0,valueL=0;do{valueT+=element.offsetTop||0;valueL+=element.offsetLeft||0;element=element.offsetParent;if(element){if(element.tagName.toUpperCase()=="BODY"){break}var p=Element.getStyle(element,"position");if(p!=="static"){break}}}while(element);return Element._returnOffset(valueL,valueT)},absolutize:function(element){element=$(element);if(Element.getStyle(element,"position")=="absolute"){return element
7
+ }var offsets=Element.positionedOffset(element);var top=offsets[1];var left=offsets[0];var width=element.clientWidth;var height=element.clientHeight;element._originalLeft=left-parseFloat(element.style.left||0);element._originalTop=top-parseFloat(element.style.top||0);element._originalWidth=element.style.width;element._originalHeight=element.style.height;element.style.position="absolute";element.style.top=top+"px";element.style.left=left+"px";element.style.width=width+"px";element.style.height=height+"px";return element},relativize:function(element){element=$(element);if(Element.getStyle(element,"position")=="relative"){return element}element.style.position="relative";var top=parseFloat(element.style.top||0)-(element._originalTop||0);var left=parseFloat(element.style.left||0)-(element._originalLeft||0);element.style.top=top+"px";element.style.left=left+"px";element.style.height=element._originalHeight;element.style.width=element._originalWidth;return element},cumulativeScrollOffset:function(element){var valueT=0,valueL=0;do{valueT+=element.scrollTop||0;valueL+=element.scrollLeft||0;element=element.parentNode}while(element);return Element._returnOffset(valueL,valueT)},getOffsetParent:function(element){if(element.offsetParent){return $(element.offsetParent)}if(element==document.body){return $(element)}while((element=element.parentNode)&&element!=document.body){if(Element.getStyle(element,"position")!="static"){return $(element)}}return $(document.body)},viewportOffset:function(forElement){var valueT=0,valueL=0;var element=forElement;do{valueT+=element.offsetTop||0;valueL+=element.offsetLeft||0;if(element.offsetParent==document.body&&Element.getStyle(element,"position")=="absolute"){break}}while(element=element.offsetParent);element=forElement;do{if(!Prototype.Browser.Opera||(element.tagName&&(element.tagName.toUpperCase()=="BODY"))){valueT-=element.scrollTop||0;valueL-=element.scrollLeft||0}}while(element=element.parentNode);return Element._returnOffset(valueL,valueT)},clonePosition:function(element,source){var options=Object.extend({setLeft:true,setTop:true,setWidth:true,setHeight:true,offsetTop:0,offsetLeft:0},arguments[2]||{});source=$(source);var p=Element.viewportOffset(source);element=$(element);var delta=[0,0];var parent=null;if(Element.getStyle(element,"position")=="absolute"){parent=Element.getOffsetParent(element);delta=Element.viewportOffset(parent)}if(parent==document.body){delta[0]-=document.body.offsetLeft;delta[1]-=document.body.offsetTop}if(options.setLeft){element.style.left=(p[0]-delta[0]+options.offsetLeft)+"px"}if(options.setTop){element.style.top=(p[1]-delta[1]+options.offsetTop)+"px"}if(options.setWidth){element.style.width=source.offsetWidth+"px"}if(options.setHeight){element.style.height=source.offsetHeight+"px"}return element}};Object.extend(Element.Methods,{getElementsBySelector:Element.Methods.select,childElements:Element.Methods.immediateDescendants});Element._attributeTranslations={write:{names:{className:"class",htmlFor:"for"},values:{}}};if(Prototype.Browser.Opera){Element.Methods.getStyle=Element.Methods.getStyle.wrap(function(proceed,element,style){switch(style){case"left":case"top":case"right":case"bottom":if(proceed(element,"position")==="static"){return null}case"height":case"width":if(!Element.visible(element)){return null}var dim=parseInt(proceed(element,style),10);if(dim!==element["offset"+style.capitalize()]){return dim+"px"}var properties;if(style==="height"){properties=["border-top-width","padding-top","padding-bottom","border-bottom-width"]}else{properties=["border-left-width","padding-left","padding-right","border-right-width"]}return properties.inject(dim,function(memo,property){var val=proceed(element,property);return val===null?memo:memo-parseInt(val,10)})+"px";default:return proceed(element,style)}});Element.Methods.readAttribute=Element.Methods.readAttribute.wrap(function(proceed,element,attribute){if(attribute==="title"){return element.title}return proceed(element,attribute)})}else{if(Prototype.Browser.IE){Element.Methods.getOffsetParent=Element.Methods.getOffsetParent.wrap(function(proceed,element){element=$(element);try{element.offsetParent}catch(e){return $(document.body)}var position=element.getStyle("position");if(position!=="static"){return proceed(element)}element.setStyle({position:"relative"});var value=proceed(element);element.setStyle({position:position});return value});$w("positionedOffset viewportOffset").each(function(method){Element.Methods[method]=Element.Methods[method].wrap(function(proceed,element){element=$(element);try{element.offsetParent}catch(e){return Element._returnOffset(0,0)}var position=element.getStyle("position");if(position!=="static"){return proceed(element)}var offsetParent=element.getOffsetParent();if(offsetParent&&offsetParent.getStyle("position")==="fixed"){offsetParent.setStyle({zoom:1})}element.setStyle({position:"relative"});var value=proceed(element);element.setStyle({position:position});return value})});Element.Methods.cumulativeOffset=Element.Methods.cumulativeOffset.wrap(function(proceed,element){try{element.offsetParent}catch(e){return Element._returnOffset(0,0)}return proceed(element)});Element.Methods.getStyle=function(element,style){element=$(element);style=(style=="float"||style=="cssFloat")?"styleFloat":style.camelize();var value=element.style[style];if(!value&&element.currentStyle){value=element.currentStyle[style]}if(style=="opacity"){if(value=(element.getStyle("filter")||"").match(/alpha\(opacity=(.*)\)/)){if(value[1]){return parseFloat(value[1])/100}}return 1}if(value=="auto"){if((style=="width"||style=="height")&&(element.getStyle("display")!="none")){return element["offset"+style.capitalize()]+"px"}return null}return value};Element.Methods.setOpacity=function(element,value){function stripAlpha(filter){return filter.replace(/alpha\([^\)]*\)/gi,"")}element=$(element);var currentStyle=element.currentStyle;if((currentStyle&&!currentStyle.hasLayout)||(!currentStyle&&element.style.zoom=="normal")){element.style.zoom=1}var filter=element.getStyle("filter"),style=element.style;if(value==1||value===""){(filter=stripAlpha(filter))?style.filter=filter:style.removeAttribute("filter");return element}else{if(value<0.00001){value=0}}style.filter=stripAlpha(filter)+"alpha(opacity="+(value*100)+")";return element};Element._attributeTranslations=(function(){var classProp="className";var forProp="for";var el=document.createElement("div");el.setAttribute(classProp,"x");if(el.className!=="x"){el.setAttribute("class","x");if(el.className==="x"){classProp="class"}}el=null;el=document.createElement("label");el.setAttribute(forProp,"x");if(el.htmlFor!=="x"){el.setAttribute("htmlFor","x");if(el.htmlFor==="x"){forProp="htmlFor"}}el=null;return{read:{names:{"class":classProp,className:classProp,"for":forProp,htmlFor:forProp},values:{_getAttr:function(element,attribute){return element.getAttribute(attribute)},_getAttr2:function(element,attribute){return element.getAttribute(attribute,2)},_getAttrNode:function(element,attribute){var node=element.getAttributeNode(attribute);return node?node.value:""},_getEv:(function(){var el=document.createElement("div");el.onclick=Prototype.emptyFunction;var value=el.getAttribute("onclick");var f;if(String(value).indexOf("{")>-1){f=function(element,attribute){attribute=element.getAttribute(attribute);if(!attribute){return null}attribute=attribute.toString();attribute=attribute.split("{")[1];attribute=attribute.split("}")[0];return attribute.strip()}}else{if(value===""){f=function(element,attribute){attribute=element.getAttribute(attribute);if(!attribute){return null}return attribute.strip()}}}el=null;return f})(),_flag:function(element,attribute){return $(element).hasAttribute(attribute)?attribute:null},style:function(element){return element.style.cssText.toLowerCase()},title:function(element){return element.title}}}}})();Element._attributeTranslations.write={names:Object.extend({cellpadding:"cellPadding",cellspacing:"cellSpacing"},Element._attributeTranslations.read.names),values:{checked:function(element,value){element.checked=!!value
8
+ },style:function(element,value){element.style.cssText=value?value:""}}};Element._attributeTranslations.has={};$w("colSpan rowSpan vAlign dateTime accessKey tabIndex encType maxLength readOnly longDesc frameBorder").each(function(attr){Element._attributeTranslations.write.names[attr.toLowerCase()]=attr;Element._attributeTranslations.has[attr.toLowerCase()]=attr});(function(v){Object.extend(v,{href:v._getAttr2,src:v._getAttr2,type:v._getAttr,action:v._getAttrNode,disabled:v._flag,checked:v._flag,readonly:v._flag,multiple:v._flag,onload:v._getEv,onunload:v._getEv,onclick:v._getEv,ondblclick:v._getEv,onmousedown:v._getEv,onmouseup:v._getEv,onmouseover:v._getEv,onmousemove:v._getEv,onmouseout:v._getEv,onfocus:v._getEv,onblur:v._getEv,onkeypress:v._getEv,onkeydown:v._getEv,onkeyup:v._getEv,onsubmit:v._getEv,onreset:v._getEv,onselect:v._getEv,onchange:v._getEv})})(Element._attributeTranslations.read.values);if(Prototype.BrowserFeatures.ElementExtensions){(function(){function _descendants(element){var nodes=element.getElementsByTagName("*"),results=[];for(var i=0,node;node=nodes[i];i++){if(node.tagName!=="!"){results.push(node)}}return results}Element.Methods.down=function(element,expression,index){element=$(element);if(arguments.length==1){return element.firstDescendant()}return Object.isNumber(expression)?_descendants(element)[expression]:Element.select(element,expression)[index||0]}})()}}else{if(Prototype.Browser.Gecko&&/rv:1\.8\.0/.test(navigator.userAgent)){Element.Methods.setOpacity=function(element,value){element=$(element);element.style.opacity=(value==1)?0.999999:(value==="")?"":(value<0.00001)?0:value;return element}}else{if(Prototype.Browser.WebKit){Element.Methods.setOpacity=function(element,value){element=$(element);element.style.opacity=(value==1||value==="")?"":(value<0.00001)?0:value;if(value==1){if(element.tagName.toUpperCase()=="IMG"&&element.width){element.width++;element.width--}else{try{var n=document.createTextNode(" ");element.appendChild(n);element.removeChild(n)}catch(e){}}}return element};Element.Methods.cumulativeOffset=function(element){var valueT=0,valueL=0;do{valueT+=element.offsetTop||0;valueL+=element.offsetLeft||0;if(element.offsetParent==document.body){if(Element.getStyle(element,"position")=="absolute"){break}}element=element.offsetParent}while(element);return Element._returnOffset(valueL,valueT)}}}}}if("outerHTML" in document.documentElement){Element.Methods.replace=function(element,content){element=$(element);if(content&&content.toElement){content=content.toElement()}if(Object.isElement(content)){element.parentNode.replaceChild(content,element);return element}content=Object.toHTML(content);var parent=element.parentNode,tagName=parent.tagName.toUpperCase();if(Element._insertionTranslations.tags[tagName]){var nextSibling=element.next();var fragments=Element._getContentFromAnonymousElement(tagName,content.stripScripts());parent.removeChild(element);if(nextSibling){fragments.each(function(node){parent.insertBefore(node,nextSibling)})}else{fragments.each(function(node){parent.appendChild(node)})}}else{element.outerHTML=content.stripScripts()}content.evalScripts.bind(content).defer();return element}}Element._returnOffset=function(l,t){var result=[l,t];result.left=l;result.top=t;return result};Element._getContentFromAnonymousElement=function(tagName,html){var div=new Element("div"),t=Element._insertionTranslations.tags[tagName];if(t){div.innerHTML=t[0]+html+t[1];t[2].times(function(){div=div.firstChild})}else{div.innerHTML=html}return $A(div.childNodes)};Element._insertionTranslations={before:function(element,node){element.parentNode.insertBefore(node,element)},top:function(element,node){element.insertBefore(node,element.firstChild)},bottom:function(element,node){element.appendChild(node)},after:function(element,node){element.parentNode.insertBefore(node,element.nextSibling)},tags:{TABLE:["<table>","</table>",1],TBODY:["<table><tbody>","</tbody></table>",2],TR:["<table><tbody><tr>","</tr></tbody></table>",3],TD:["<table><tbody><tr><td>","</td></tr></tbody></table>",4],SELECT:["<select>","</select>",1]}};(function(){var tags=Element._insertionTranslations.tags;Object.extend(tags,{THEAD:tags.TBODY,TFOOT:tags.TBODY,TH:tags.TD})})();Element.Methods.Simulated={hasAttribute:function(element,attribute){attribute=Element._attributeTranslations.has[attribute]||attribute;var node=$(element).getAttributeNode(attribute);return !!(node&&node.specified)}};Element.Methods.ByTag={};Object.extend(Element,Element.Methods);(function(div){if(!Prototype.BrowserFeatures.ElementExtensions&&div.__proto__){window.HTMLElement={};window.HTMLElement.prototype=div.__proto__;Prototype.BrowserFeatures.ElementExtensions=true}div=null})(document.createElement("div"));Element.extend=(function(){function checkDeficiency(tagName){if(typeof window.Element!="undefined"){var proto=window.Element.prototype;if(proto){var id="_"+(Math.random()+"").slice(2);var el=document.createElement(tagName);proto[id]="x";var isBuggy=(el[id]!=="x");delete proto[id];el=null;return isBuggy}}return false}function extendElementWith(element,methods){for(var property in methods){var value=methods[property];if(Object.isFunction(value)&&!(property in element)){element[property]=value.methodize()}}}var HTMLOBJECTELEMENT_PROTOTYPE_BUGGY=checkDeficiency("object");var HTMLAPPLETELEMENT_PROTOTYPE_BUGGY=checkDeficiency("applet");if(Prototype.BrowserFeatures.SpecificElementExtensions){if(HTMLOBJECTELEMENT_PROTOTYPE_BUGGY&&HTMLAPPLETELEMENT_PROTOTYPE_BUGGY){return function(element){if(element&&typeof element._extendedByPrototype=="undefined"){var t=element.tagName;if(t&&(/^(?:object|applet|embed)$/i.test(t))){extendElementWith(element,Element.Methods);extendElementWith(element,Element.Methods.Simulated);extendElementWith(element,Element.Methods.ByTag[t.toUpperCase()])}}return element}}return Prototype.K}var Methods={},ByTag=Element.Methods.ByTag;var extend=Object.extend(function(element){if(!element||typeof element._extendedByPrototype!="undefined"||element.nodeType!=1||element==window){return element}var methods=Object.clone(Methods),tagName=element.tagName.toUpperCase();if(ByTag[tagName]){Object.extend(methods,ByTag[tagName])}extendElementWith(element,methods);element._extendedByPrototype=Prototype.emptyFunction;return element},{refresh:function(){if(!Prototype.BrowserFeatures.ElementExtensions){Object.extend(Methods,Element.Methods);Object.extend(Methods,Element.Methods.Simulated)}}});extend.refresh();return extend})();Element.hasAttribute=function(element,attribute){if(element.hasAttribute){return element.hasAttribute(attribute)}return Element.Methods.Simulated.hasAttribute(element,attribute)};Element.addMethods=function(methods){var F=Prototype.BrowserFeatures,T=Element.Methods.ByTag;if(!methods){Object.extend(Form,Form.Methods);Object.extend(Form.Element,Form.Element.Methods);Object.extend(Element.Methods.ByTag,{FORM:Object.clone(Form.Methods),INPUT:Object.clone(Form.Element.Methods),SELECT:Object.clone(Form.Element.Methods),TEXTAREA:Object.clone(Form.Element.Methods)})}if(arguments.length==2){var tagName=methods;methods=arguments[1]}if(!tagName){Object.extend(Element.Methods,methods||{})}else{if(Object.isArray(tagName)){tagName.each(extend)}else{extend(tagName)}}function extend(tagName){tagName=tagName.toUpperCase();if(!Element.Methods.ByTag[tagName]){Element.Methods.ByTag[tagName]={}}Object.extend(Element.Methods.ByTag[tagName],methods)}function copy(methods,destination,onlyIfAbsent){onlyIfAbsent=onlyIfAbsent||false;for(var property in methods){var value=methods[property];if(!Object.isFunction(value)){continue}if(!onlyIfAbsent||!(property in destination)){destination[property]=value.methodize()}}}function findDOMClass(tagName){var klass;var trans={OPTGROUP:"OptGroup",TEXTAREA:"TextArea",P:"Paragraph",FIELDSET:"FieldSet",UL:"UList",OL:"OList",DL:"DList",DIR:"Directory",H1:"Heading",H2:"Heading",H3:"Heading",H4:"Heading",H5:"Heading",H6:"Heading",Q:"Quote",INS:"Mod",DEL:"Mod",A:"Anchor",IMG:"Image",CAPTION:"TableCaption",COL:"TableCol",COLGROUP:"TableCol",THEAD:"TableSection",TFOOT:"TableSection",TBODY:"TableSection",TR:"TableRow",TH:"TableCell",TD:"TableCell",FRAMESET:"FrameSet",IFRAME:"IFrame"};
9
+ if(trans[tagName]){klass="HTML"+trans[tagName]+"Element"}if(window[klass]){return window[klass]}klass="HTML"+tagName+"Element";if(window[klass]){return window[klass]}klass="HTML"+tagName.capitalize()+"Element";if(window[klass]){return window[klass]}var element=document.createElement(tagName);var proto=element.__proto__||element.constructor.prototype;element=null;return proto}var elementPrototype=window.HTMLElement?HTMLElement.prototype:Element.prototype;if(F.ElementExtensions){copy(Element.Methods,elementPrototype);copy(Element.Methods.Simulated,elementPrototype,true)}if(F.SpecificElementExtensions){for(var tag in Element.Methods.ByTag){var klass=findDOMClass(tag);if(Object.isUndefined(klass)){continue}copy(T[tag],klass.prototype)}}Object.extend(Element,Element.Methods);delete Element.ByTag;if(Element.extend.refresh){Element.extend.refresh()}Element.cache={}};document.viewport={getDimensions:function(){return{width:this.getWidth(),height:this.getHeight()}},getScrollOffsets:function(){return Element._returnOffset(window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft,window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop)}};(function(viewport){var B=Prototype.Browser,doc=document,element,property={};function getRootElement(){if(B.WebKit&&!doc.evaluate){return document}if(B.Opera&&window.parseFloat(window.opera.version())<9.5){return document.body}return document.documentElement}function define(D){if(!element){element=getRootElement()}property[D]="client"+D;viewport["get"+D]=function(){return element[property[D]]};return viewport["get"+D]()}viewport.getWidth=define.curry("Width");viewport.getHeight=define.curry("Height")})(document.viewport);Element.Storage={UID:1};Element.addMethods({getStorage:function(element){if(!(element=$(element))){return}var uid;if(element===window){uid=0}else{if(typeof element._prototypeUID==="undefined"){element._prototypeUID=[Element.Storage.UID++]}uid=element._prototypeUID[0]}if(!Element.Storage[uid]){Element.Storage[uid]=$H()}return Element.Storage[uid]},store:function(element,key,value){if(!(element=$(element))){return}if(arguments.length===2){Element.getStorage(element).update(key)}else{Element.getStorage(element).set(key,value)}return element},retrieve:function(element,key,defaultValue){if(!(element=$(element))){return}var hash=Element.getStorage(element),value=hash.get(key);if(Object.isUndefined(value)){hash.set(key,defaultValue);value=defaultValue}return value},clone:function(element,deep){if(!(element=$(element))){return}var clone=element.cloneNode(deep);clone._prototypeUID=void 0;if(deep){var descendants=Element.select(clone,"*"),i=descendants.length;while(i--){descendants[i]._prototypeUID=void 0}}return Element.extend(clone)}});var Selector=Class.create({initialize:function(expression){this.expression=expression.strip();if(this.shouldUseSelectorsAPI()){this.mode="selectorsAPI"}else{if(this.shouldUseXPath()){this.mode="xpath";this.compileXPathMatcher()}else{this.mode="normal";this.compileMatcher()}}},shouldUseXPath:(function(){var IS_DESCENDANT_SELECTOR_BUGGY=(function(){var isBuggy=false;if(document.evaluate&&window.XPathResult){var el=document.createElement("div");el.innerHTML="<ul><li></li></ul><div><ul><li></li></ul></div>";var xpath=".//*[local-name()='ul' or local-name()='UL']//*[local-name()='li' or local-name()='LI']";var result=document.evaluate(xpath,el,null,XPathResult.ORDERED_NODE_SNAPSHOT_TYPE,null);isBuggy=(result.snapshotLength!==2);el=null}return isBuggy})();return function(){if(!Prototype.BrowserFeatures.XPath){return false}var e=this.expression;if(Prototype.Browser.WebKit&&(e.include("-of-type")||e.include(":empty"))){return false}if((/(\[[\w-]*?:|:checked)/).test(e)){return false}if(IS_DESCENDANT_SELECTOR_BUGGY){return false}return true}})(),shouldUseSelectorsAPI:function(){if(!Prototype.BrowserFeatures.SelectorsAPI){return false}if(Selector.CASE_INSENSITIVE_CLASS_NAMES){return false}if(!Selector._div){Selector._div=new Element("div")}try{Selector._div.querySelector(this.expression)}catch(e){return false}return true},compileMatcher:function(){var e=this.expression,ps=Selector.patterns,h=Selector.handlers,c=Selector.criteria,le,p,m,len=ps.length,name;if(Selector._cache[e]){this.matcher=Selector._cache[e];return}this.matcher=["this.matcher = function(root) {","var r = root, h = Selector.handlers, c = false, n;"];while(e&&le!=e&&(/\S/).test(e)){le=e;for(var i=0;i<len;i++){p=ps[i].re;name=ps[i].name;if(m=e.match(p)){this.matcher.push(Object.isFunction(c[name])?c[name](m):new Template(c[name]).evaluate(m));e=e.replace(m[0],"");break}}}this.matcher.push("return h.unique(n);\n}");eval(this.matcher.join("\n"));Selector._cache[this.expression]=this.matcher},compileXPathMatcher:function(){var e=this.expression,ps=Selector.patterns,x=Selector.xpath,le,m,len=ps.length,name;if(Selector._cache[e]){this.xpath=Selector._cache[e];return}this.matcher=[".//*"];while(e&&le!=e&&(/\S/).test(e)){le=e;for(var i=0;i<len;i++){name=ps[i].name;if(m=e.match(ps[i].re)){this.matcher.push(Object.isFunction(x[name])?x[name](m):new Template(x[name]).evaluate(m));e=e.replace(m[0],"");break}}}this.xpath=this.matcher.join("");Selector._cache[this.expression]=this.xpath},findElements:function(root){root=root||document;var e=this.expression,results;switch(this.mode){case"selectorsAPI":if(root!==document){var oldId=root.id,id=$(root).identify();id=id.replace(/[\.:]/g,"\\$1");e="#"+id+" "+e}results=$A(root.querySelectorAll(e)).map(Element.extend);root.id=oldId;return results;case"xpath":return document._getElementsByXPath(this.xpath,root);default:return this.matcher(root)}},match:function(element){this.tokens=[];var e=this.expression,ps=Selector.patterns,as=Selector.assertions;var le,p,m,len=ps.length,name;while(e&&le!==e&&(/\S/).test(e)){le=e;for(var i=0;i<len;i++){p=ps[i].re;name=ps[i].name;if(m=e.match(p)){if(as[name]){this.tokens.push([name,Object.clone(m)]);e=e.replace(m[0],"")}else{return this.findElements(document).include(element)}}}}var match=true,name,matches;for(var i=0,token;token=this.tokens[i];i++){name=token[0],matches=token[1];if(!Selector.assertions[name](element,matches)){match=false;break}}return match},toString:function(){return this.expression},inspect:function(){return"#<Selector:"+this.expression.inspect()+">"}});if(Prototype.BrowserFeatures.SelectorsAPI&&document.compatMode==="BackCompat"){Selector.CASE_INSENSITIVE_CLASS_NAMES=(function(){var div=document.createElement("div"),span=document.createElement("span");div.id="prototype_test_id";span.className="Test";div.appendChild(span);var isIgnored=(div.querySelector("#prototype_test_id .test")!==null);div=span=null;return isIgnored})()}Object.extend(Selector,{_cache:{},xpath:{descendant:"//*",child:"/*",adjacent:"/following-sibling::*[1]",laterSibling:"/following-sibling::*",tagName:function(m){if(m[1]=="*"){return""}return"[local-name()='"+m[1].toLowerCase()+"' or local-name()='"+m[1].toUpperCase()+"']"},className:"[contains(concat(' ', @class, ' '), ' #{1} ')]",id:"[@id='#{1}']",attrPresence:function(m){m[1]=m[1].toLowerCase();return new Template("[@#{1}]").evaluate(m)},attr:function(m){m[1]=m[1].toLowerCase();m[3]=m[5]||m[6];return new Template(Selector.xpath.operators[m[2]]).evaluate(m)},pseudo:function(m){var h=Selector.xpath.pseudos[m[1]];if(!h){return""}if(Object.isFunction(h)){return h(m)}return new Template(Selector.xpath.pseudos[m[1]]).evaluate(m)},operators:{"=":"[@#{1}='#{3}']","!=":"[@#{1}!='#{3}']","^=":"[starts-with(@#{1}, '#{3}')]","$=":"[substring(@#{1}, (string-length(@#{1}) - string-length('#{3}') + 1))='#{3}']","*=":"[contains(@#{1}, '#{3}')]","~=":"[contains(concat(' ', @#{1}, ' '), ' #{3} ')]","|=":"[contains(concat('-', @#{1}, '-'), '-#{3}-')]"},pseudos:{"first-child":"[not(preceding-sibling::*)]","last-child":"[not(following-sibling::*)]","only-child":"[not(preceding-sibling::* or following-sibling::*)]",empty:"[count(*) = 0 and (count(text()) = 0)]",checked:"[@checked]",disabled:"[(@disabled) and (@type!='hidden')]",enabled:"[not(@disabled) and (@type!='hidden')]",not:function(m){var e=m[6],p=Selector.patterns,x=Selector.xpath,le,v,len=p.length,name;
10
+ var exclusion=[];while(e&&le!=e&&(/\S/).test(e)){le=e;for(var i=0;i<len;i++){name=p[i].name;if(m=e.match(p[i].re)){v=Object.isFunction(x[name])?x[name](m):new Template(x[name]).evaluate(m);exclusion.push("("+v.substring(1,v.length-1)+")");e=e.replace(m[0],"");break}}}return"[not("+exclusion.join(" and ")+")]"},"nth-child":function(m){return Selector.xpath.pseudos.nth("(count(./preceding-sibling::*) + 1) ",m)},"nth-last-child":function(m){return Selector.xpath.pseudos.nth("(count(./following-sibling::*) + 1) ",m)},"nth-of-type":function(m){return Selector.xpath.pseudos.nth("position() ",m)},"nth-last-of-type":function(m){return Selector.xpath.pseudos.nth("(last() + 1 - position()) ",m)},"first-of-type":function(m){m[6]="1";return Selector.xpath.pseudos["nth-of-type"](m)},"last-of-type":function(m){m[6]="1";return Selector.xpath.pseudos["nth-last-of-type"](m)},"only-of-type":function(m){var p=Selector.xpath.pseudos;return p["first-of-type"](m)+p["last-of-type"](m)},nth:function(fragment,m){var mm,formula=m[6],predicate;if(formula=="even"){formula="2n+0"}if(formula=="odd"){formula="2n+1"}if(mm=formula.match(/^(\d+)$/)){return"["+fragment+"= "+mm[1]+"]"}if(mm=formula.match(/^(-?\d*)?n(([+-])(\d+))?/)){if(mm[1]=="-"){mm[1]=-1}var a=mm[1]?Number(mm[1]):1;var b=mm[2]?Number(mm[2]):0;predicate="[((#{fragment} - #{b}) mod #{a} = 0) and ((#{fragment} - #{b}) div #{a} >= 0)]";return new Template(predicate).evaluate({fragment:fragment,a:a,b:b})}}}},criteria:{tagName:'n = h.tagName(n, r, "#{1}", c); c = false;',className:'n = h.className(n, r, "#{1}", c); c = false;',id:'n = h.id(n, r, "#{1}", c); c = false;',attrPresence:'n = h.attrPresence(n, r, "#{1}", c); c = false;',attr:function(m){m[3]=(m[5]||m[6]);return new Template('n = h.attr(n, r, "#{1}", "#{3}", "#{2}", c); c = false;').evaluate(m)},pseudo:function(m){if(m[6]){m[6]=m[6].replace(/"/g,'\\"')}return new Template('n = h.pseudo(n, "#{1}", "#{6}", r, c); c = false;').evaluate(m)},descendant:'c = "descendant";',child:'c = "child";',adjacent:'c = "adjacent";',laterSibling:'c = "laterSibling";'},patterns:[{name:"laterSibling",re:/^\s*~\s*/},{name:"child",re:/^\s*>\s*/},{name:"adjacent",re:/^\s*\+\s*/},{name:"descendant",re:/^\s/},{name:"tagName",re:/^\s*(\*|[\w\-]+)(\b|$)?/},{name:"id",re:/^#([\w\-\*]+)(\b|$)/},{name:"className",re:/^\.([\w\-\*]+)(\b|$)/},{name:"pseudo",re:/^:((first|last|nth|nth-last|only)(-child|-of-type)|empty|checked|(en|dis)abled|not)(\((.*?)\))?(\b|$|(?=\s|[:+~>]))/},{name:"attrPresence",re:/^\[((?:[\w-]+:)?[\w-]+)\]/},{name:"attr",re:/\[((?:[\w-]*:)?[\w-]+)\s*(?:([!^$*~|]?=)\s*((['"])([^\4]*?)\4|([^'"][^\]]*?)))?\]/}],assertions:{tagName:function(element,matches){return matches[1].toUpperCase()==element.tagName.toUpperCase()},className:function(element,matches){return Element.hasClassName(element,matches[1])},id:function(element,matches){return element.id===matches[1]},attrPresence:function(element,matches){return Element.hasAttribute(element,matches[1])},attr:function(element,matches){var nodeValue=Element.readAttribute(element,matches[1]);return nodeValue&&Selector.operators[matches[2]](nodeValue,matches[5]||matches[6])}},handlers:{concat:function(a,b){for(var i=0,node;node=b[i];i++){a.push(node)}return a},mark:function(nodes){var _true=Prototype.emptyFunction;for(var i=0,node;node=nodes[i];i++){node._countedByPrototype=_true}return nodes},unmark:(function(){var PROPERTIES_ATTRIBUTES_MAP=(function(){var el=document.createElement("div"),isBuggy=false,propName="_countedByPrototype",value="x";el[propName]=value;isBuggy=(el.getAttribute(propName)===value);el=null;return isBuggy})();return PROPERTIES_ATTRIBUTES_MAP?function(nodes){for(var i=0,node;node=nodes[i];i++){node.removeAttribute("_countedByPrototype")}return nodes}:function(nodes){for(var i=0,node;node=nodes[i];i++){node._countedByPrototype=void 0}return nodes}})(),index:function(parentNode,reverse,ofType){parentNode._countedByPrototype=Prototype.emptyFunction;if(reverse){for(var nodes=parentNode.childNodes,i=nodes.length-1,j=1;i>=0;i--){var node=nodes[i];if(node.nodeType==1&&(!ofType||node._countedByPrototype)){node.nodeIndex=j++}}}else{for(var i=0,j=1,nodes=parentNode.childNodes;node=nodes[i];i++){if(node.nodeType==1&&(!ofType||node._countedByPrototype)){node.nodeIndex=j++}}}},unique:function(nodes){if(nodes.length==0){return nodes}var results=[],n;for(var i=0,l=nodes.length;i<l;i++){if(typeof(n=nodes[i])._countedByPrototype=="undefined"){n._countedByPrototype=Prototype.emptyFunction;results.push(Element.extend(n))}}return Selector.handlers.unmark(results)},descendant:function(nodes){var h=Selector.handlers;for(var i=0,results=[],node;node=nodes[i];i++){h.concat(results,node.getElementsByTagName("*"))}return results},child:function(nodes){var h=Selector.handlers;for(var i=0,results=[],node;node=nodes[i];i++){for(var j=0,child;child=node.childNodes[j];j++){if(child.nodeType==1&&child.tagName!="!"){results.push(child)}}}return results},adjacent:function(nodes){for(var i=0,results=[],node;node=nodes[i];i++){var next=this.nextElementSibling(node);if(next){results.push(next)}}return results},laterSibling:function(nodes){var h=Selector.handlers;for(var i=0,results=[],node;node=nodes[i];i++){h.concat(results,Element.nextSiblings(node))}return results},nextElementSibling:function(node){while(node=node.nextSibling){if(node.nodeType==1){return node}}return null},previousElementSibling:function(node){while(node=node.previousSibling){if(node.nodeType==1){return node}}return null},tagName:function(nodes,root,tagName,combinator){var uTagName=tagName.toUpperCase();var results=[],h=Selector.handlers;if(nodes){if(combinator){if(combinator=="descendant"){for(var i=0,node;node=nodes[i];i++){h.concat(results,node.getElementsByTagName(tagName))}return results}else{nodes=this[combinator](nodes)}if(tagName=="*"){return nodes}}for(var i=0,node;node=nodes[i];i++){if(node.tagName.toUpperCase()===uTagName){results.push(node)}}return results}else{return root.getElementsByTagName(tagName)}},id:function(nodes,root,id,combinator){var targetNode=$(id),h=Selector.handlers;if(root==document){if(!targetNode){return[]}if(!nodes){return[targetNode]}}else{if(!root.sourceIndex||root.sourceIndex<1){var nodes=root.getElementsByTagName("*");for(var j=0,node;node=nodes[j];j++){if(node.id===id){return[node]}}}}if(nodes){if(combinator){if(combinator=="child"){for(var i=0,node;node=nodes[i];i++){if(targetNode.parentNode==node){return[targetNode]}}}else{if(combinator=="descendant"){for(var i=0,node;node=nodes[i];i++){if(Element.descendantOf(targetNode,node)){return[targetNode]}}}else{if(combinator=="adjacent"){for(var i=0,node;node=nodes[i];i++){if(Selector.handlers.previousElementSibling(targetNode)==node){return[targetNode]}}}else{nodes=h[combinator](nodes)}}}}for(var i=0,node;node=nodes[i];i++){if(node==targetNode){return[targetNode]}}return[]}return(targetNode&&Element.descendantOf(targetNode,root))?[targetNode]:[]},className:function(nodes,root,className,combinator){if(nodes&&combinator){nodes=this[combinator](nodes)}return Selector.handlers.byClassName(nodes,root,className)},byClassName:function(nodes,root,className){if(!nodes){nodes=Selector.handlers.descendant([root])}var needle=" "+className+" ";for(var i=0,results=[],node,nodeClassName;node=nodes[i];i++){nodeClassName=node.className;if(nodeClassName.length==0){continue}if(nodeClassName==className||(" "+nodeClassName+" ").include(needle)){results.push(node)}}return results},attrPresence:function(nodes,root,attr,combinator){if(!nodes){nodes=root.getElementsByTagName("*")}if(nodes&&combinator){nodes=this[combinator](nodes)}var results=[];for(var i=0,node;node=nodes[i];i++){if(Element.hasAttribute(node,attr)){results.push(node)}}return results},attr:function(nodes,root,attr,value,operator,combinator){if(!nodes){nodes=root.getElementsByTagName("*")}if(nodes&&combinator){nodes=this[combinator](nodes)}var handler=Selector.operators[operator],results=[];for(var i=0,node;node=nodes[i];i++){var nodeValue=Element.readAttribute(node,attr);
11
+ if(nodeValue===null){continue}if(handler(nodeValue,value)){results.push(node)}}return results},pseudo:function(nodes,name,value,root,combinator){if(nodes&&combinator){nodes=this[combinator](nodes)}if(!nodes){nodes=root.getElementsByTagName("*")}return Selector.pseudos[name](nodes,value,root)}},pseudos:{"first-child":function(nodes,value,root){for(var i=0,results=[],node;node=nodes[i];i++){if(Selector.handlers.previousElementSibling(node)){continue}results.push(node)}return results},"last-child":function(nodes,value,root){for(var i=0,results=[],node;node=nodes[i];i++){if(Selector.handlers.nextElementSibling(node)){continue}results.push(node)}return results},"only-child":function(nodes,value,root){var h=Selector.handlers;for(var i=0,results=[],node;node=nodes[i];i++){if(!h.previousElementSibling(node)&&!h.nextElementSibling(node)){results.push(node)}}return results},"nth-child":function(nodes,formula,root){return Selector.pseudos.nth(nodes,formula,root)},"nth-last-child":function(nodes,formula,root){return Selector.pseudos.nth(nodes,formula,root,true)},"nth-of-type":function(nodes,formula,root){return Selector.pseudos.nth(nodes,formula,root,false,true)},"nth-last-of-type":function(nodes,formula,root){return Selector.pseudos.nth(nodes,formula,root,true,true)},"first-of-type":function(nodes,formula,root){return Selector.pseudos.nth(nodes,"1",root,false,true)},"last-of-type":function(nodes,formula,root){return Selector.pseudos.nth(nodes,"1",root,true,true)},"only-of-type":function(nodes,formula,root){var p=Selector.pseudos;return p["last-of-type"](p["first-of-type"](nodes,formula,root),formula,root)},getIndices:function(a,b,total){if(a==0){return b>0?[b]:[]}return $R(1,total).inject([],function(memo,i){if(0==(i-b)%a&&(i-b)/a>=0){memo.push(i)}return memo})},nth:function(nodes,formula,root,reverse,ofType){if(nodes.length==0){return[]}if(formula=="even"){formula="2n+0"}if(formula=="odd"){formula="2n+1"}var h=Selector.handlers,results=[],indexed=[],m;h.mark(nodes);for(var i=0,node;node=nodes[i];i++){if(!node.parentNode._countedByPrototype){h.index(node.parentNode,reverse,ofType);indexed.push(node.parentNode)}}if(formula.match(/^\d+$/)){formula=Number(formula);for(var i=0,node;node=nodes[i];i++){if(node.nodeIndex==formula){results.push(node)}}}else{if(m=formula.match(/^(-?\d*)?n(([+-])(\d+))?/)){if(m[1]=="-"){m[1]=-1}var a=m[1]?Number(m[1]):1;var b=m[2]?Number(m[2]):0;var indices=Selector.pseudos.getIndices(a,b,nodes.length);for(var i=0,node,l=indices.length;node=nodes[i];i++){for(var j=0;j<l;j++){if(node.nodeIndex==indices[j]){results.push(node)}}}}}h.unmark(nodes);h.unmark(indexed);return results},empty:function(nodes,value,root){for(var i=0,results=[],node;node=nodes[i];i++){if(node.tagName=="!"||node.firstChild){continue}results.push(node)}return results},not:function(nodes,selector,root){var h=Selector.handlers,selectorType,m;var exclusions=new Selector(selector).findElements(root);h.mark(exclusions);for(var i=0,results=[],node;node=nodes[i];i++){if(!node._countedByPrototype){results.push(node)}}h.unmark(exclusions);return results},enabled:function(nodes,value,root){for(var i=0,results=[],node;node=nodes[i];i++){if(!node.disabled&&(!node.type||node.type!=="hidden")){results.push(node)}}return results},disabled:function(nodes,value,root){for(var i=0,results=[],node;node=nodes[i];i++){if(node.disabled){results.push(node)}}return results},checked:function(nodes,value,root){for(var i=0,results=[],node;node=nodes[i];i++){if(node.checked){results.push(node)}}return results}},operators:{"=":function(nv,v){return nv==v},"!=":function(nv,v){return nv!=v},"^=":function(nv,v){return nv==v||nv&&nv.startsWith(v)},"$=":function(nv,v){return nv==v||nv&&nv.endsWith(v)},"*=":function(nv,v){return nv==v||nv&&nv.include(v)},"~=":function(nv,v){return(" "+nv+" ").include(" "+v+" ")},"|=":function(nv,v){return("-"+(nv||"").toUpperCase()+"-").include("-"+(v||"").toUpperCase()+"-")}},split:function(expression){var expressions=[];expression.scan(/(([\w#:.~>+()\s-]+|\*|\[.*?\])+)\s*(,|$)/,function(m){expressions.push(m[1].strip())});return expressions},matchElements:function(elements,expression){var matches=$$(expression),h=Selector.handlers;h.mark(matches);for(var i=0,results=[],element;element=elements[i];i++){if(element._countedByPrototype){results.push(element)}}h.unmark(matches);return results},findElement:function(elements,expression,index){if(Object.isNumber(expression)){index=expression;expression=false}return Selector.matchElements(elements,expression||"*")[index||0]},findChildElements:function(element,expressions){expressions=Selector.split(expressions.join(","));var results=[],h=Selector.handlers;for(var i=0,l=expressions.length,selector;i<l;i++){selector=new Selector(expressions[i].strip());h.concat(results,selector.findElements(element))}return(l>1)?h.unique(results):results}});if(Prototype.Browser.IE){Object.extend(Selector.handlers,{concat:function(a,b){for(var i=0,node;node=b[i];i++){if(node.tagName!=="!"){a.push(node)}}return a}})}function $$(){return Selector.findChildElements(document,$A(arguments))}var Form={reset:function(form){form=$(form);form.reset();return form},serializeElements:function(elements,options){if(typeof options!="object"){options={hash:!!options}}else{if(Object.isUndefined(options.hash)){options.hash=true}}var key,value,submitted=false,submit=options.submit;var data=elements.inject({},function(result,element){if(!element.disabled&&element.name){key=element.name;value=$(element).getValue();if(value!=null&&element.type!="file"&&(element.type!="submit"||(!submitted&&submit!==false&&(!submit||key==submit)&&(submitted=true)))){if(key in result){if(!Object.isArray(result[key])){result[key]=[result[key]]}result[key].push(value)}else{result[key]=value}}}return result});return options.hash?data:Object.toQueryString(data)}};Form.Methods={serialize:function(form,options){return Form.serializeElements(Form.getElements(form),options)},getElements:function(form){var elements=$(form).getElementsByTagName("*"),element,arr=[],serializers=Form.Element.Serializers;for(var i=0;element=elements[i];i++){arr.push(element)}return arr.inject([],function(elements,child){if(serializers[child.tagName.toLowerCase()]){elements.push(Element.extend(child))}return elements})},getInputs:function(form,typeName,name){form=$(form);var inputs=form.getElementsByTagName("input");if(!typeName&&!name){return $A(inputs).map(Element.extend)}for(var i=0,matchingInputs=[],length=inputs.length;i<length;i++){var input=inputs[i];if((typeName&&input.type!=typeName)||(name&&input.name!=name)){continue}matchingInputs.push(Element.extend(input))}return matchingInputs},disable:function(form){form=$(form);Form.getElements(form).invoke("disable");return form},enable:function(form){form=$(form);Form.getElements(form).invoke("enable");return form},findFirstElement:function(form){var elements=$(form).getElements().findAll(function(element){return"hidden"!=element.type&&!element.disabled});var firstByIndex=elements.findAll(function(element){return element.hasAttribute("tabIndex")&&element.tabIndex>=0}).sortBy(function(element){return element.tabIndex}).first();return firstByIndex?firstByIndex:elements.find(function(element){return/^(?:input|select|textarea)$/i.test(element.tagName)})},focusFirstElement:function(form){form=$(form);form.findFirstElement().activate();return form},request:function(form,options){form=$(form),options=Object.clone(options||{});var params=options.parameters,action=form.readAttribute("action")||"";if(action.blank()){action=window.location.href}options.parameters=form.serialize(true);if(params){if(Object.isString(params)){params=params.toQueryParams()}Object.extend(options.parameters,params)}if(form.hasAttribute("method")&&!options.method){options.method=form.method}return new Ajax.Request(action,options)}};Form.Element={focus:function(element){$(element).focus();return element},select:function(element){$(element).select();return element}};Form.Element.Methods={serialize:function(element){element=$(element);
12
+ if(!element.disabled&&element.name){var value=element.getValue();if(value!=undefined){var pair={};pair[element.name]=value;return Object.toQueryString(pair)}}return""},getValue:function(element){element=$(element);var method=element.tagName.toLowerCase();return Form.Element.Serializers[method](element)},setValue:function(element,value){element=$(element);var method=element.tagName.toLowerCase();Form.Element.Serializers[method](element,value);return element},clear:function(element){$(element).value="";return element},present:function(element){return $(element).value!=""},activate:function(element){element=$(element);try{element.focus();if(element.select&&(element.tagName.toLowerCase()!="input"||!(/^(?:button|reset|submit)$/i.test(element.type)))){element.select()}}catch(e){}return element},disable:function(element){element=$(element);element.disabled=true;return element},enable:function(element){element=$(element);element.disabled=false;return element}};var Field=Form.Element;var $F=Form.Element.Methods.getValue;Form.Element.Serializers={input:function(element,value){switch(element.type.toLowerCase()){case"checkbox":case"radio":return Form.Element.Serializers.inputSelector(element,value);default:return Form.Element.Serializers.textarea(element,value)}},inputSelector:function(element,value){if(Object.isUndefined(value)){return element.checked?element.value:null}else{element.checked=!!value}},textarea:function(element,value){if(Object.isUndefined(value)){return element.value}else{element.value=value}},select:function(element,value){if(Object.isUndefined(value)){return this[element.type=="select-one"?"selectOne":"selectMany"](element)}else{var opt,currentValue,single=!Object.isArray(value);for(var i=0,length=element.length;i<length;i++){opt=element.options[i];currentValue=this.optionValue(opt);if(single){if(currentValue==value){opt.selected=true;return}}else{opt.selected=value.include(currentValue)}}}},selectOne:function(element){var index=element.selectedIndex;return index>=0?this.optionValue(element.options[index]):null},selectMany:function(element){var values,length=element.length;if(!length){return null}for(var i=0,values=[];i<length;i++){var opt=element.options[i];if(opt.selected){values.push(this.optionValue(opt))}}return values},optionValue:function(opt){return Element.extend(opt).hasAttribute("value")?opt.value:opt.text}};Abstract.TimedObserver=Class.create(PeriodicalExecuter,{initialize:function($super,element,frequency,callback){$super(callback,frequency);this.element=$(element);this.lastValue=this.getValue()},execute:function(){var value=this.getValue();if(Object.isString(this.lastValue)&&Object.isString(value)?this.lastValue!=value:String(this.lastValue)!=String(value)){this.callback(this.element,value);this.lastValue=value}}});Form.Element.Observer=Class.create(Abstract.TimedObserver,{getValue:function(){return Form.Element.getValue(this.element)}});Form.Observer=Class.create(Abstract.TimedObserver,{getValue:function(){return Form.serialize(this.element)}});Abstract.EventObserver=Class.create({initialize:function(element,callback){this.element=$(element);this.callback=callback;this.lastValue=this.getValue();if(this.element.tagName.toLowerCase()=="form"){this.registerFormCallbacks()}else{this.registerCallback(this.element)}},onElementEvent:function(){var value=this.getValue();if(this.lastValue!=value){this.callback(this.element,value);this.lastValue=value}},registerFormCallbacks:function(){Form.getElements(this.element).each(this.registerCallback,this)},registerCallback:function(element){if(element.type){switch(element.type.toLowerCase()){case"checkbox":case"radio":Event.observe(element,"click",this.onElementEvent.bind(this));break;default:Event.observe(element,"change",this.onElementEvent.bind(this));break}}}});Form.Element.EventObserver=Class.create(Abstract.EventObserver,{getValue:function(){return Form.Element.getValue(this.element)}});Form.EventObserver=Class.create(Abstract.EventObserver,{getValue:function(){return Form.serialize(this.element)}});(function(){var Event={KEY_BACKSPACE:8,KEY_TAB:9,KEY_RETURN:13,KEY_ESC:27,KEY_LEFT:37,KEY_UP:38,KEY_RIGHT:39,KEY_DOWN:40,KEY_DELETE:46,KEY_HOME:36,KEY_END:35,KEY_PAGEUP:33,KEY_PAGEDOWN:34,KEY_INSERT:45,cache:{}};var docEl=document.documentElement;var MOUSEENTER_MOUSELEAVE_EVENTS_SUPPORTED="onmouseenter" in docEl&&"onmouseleave" in docEl;var _isButton;if(Prototype.Browser.IE){var buttonMap={0:1,1:4,2:2};_isButton=function(event,code){return event.button===buttonMap[code]}}else{if(Prototype.Browser.WebKit){_isButton=function(event,code){switch(code){case 0:return event.which==1&&!event.metaKey;case 1:return event.which==1&&event.metaKey;default:return false}}}else{_isButton=function(event,code){return event.which?(event.which===code+1):(event.button===code)}}}function isLeftClick(event){return _isButton(event,0)}function isMiddleClick(event){return _isButton(event,1)}function isRightClick(event){return _isButton(event,2)}function element(event){event=Event.extend(event);var node=event.target,type=event.type,currentTarget=event.currentTarget;if(currentTarget&&currentTarget.tagName){if(type==="load"||type==="error"||(type==="click"&&currentTarget.tagName.toLowerCase()==="input"&&currentTarget.type==="radio")){node=currentTarget}}if(node.nodeType==Node.TEXT_NODE){node=node.parentNode}return Element.extend(node)}function findElement(event,expression){var element=Event.element(event);if(!expression){return element}var elements=[element].concat(element.ancestors());return Selector.findElement(elements,expression,0)}function pointer(event){return{x:pointerX(event),y:pointerY(event)}}function pointerX(event){var docElement=document.documentElement,body=document.body||{scrollLeft:0};return event.pageX||(event.clientX+(docElement.scrollLeft||body.scrollLeft)-(docElement.clientLeft||0))}function pointerY(event){var docElement=document.documentElement,body=document.body||{scrollTop:0};return event.pageY||(event.clientY+(docElement.scrollTop||body.scrollTop)-(docElement.clientTop||0))}function stop(event){Event.extend(event);event.preventDefault();event.stopPropagation();event.stopped=true}Event.Methods={isLeftClick:isLeftClick,isMiddleClick:isMiddleClick,isRightClick:isRightClick,element:element,findElement:findElement,pointer:pointer,pointerX:pointerX,pointerY:pointerY,stop:stop};var methods=Object.keys(Event.Methods).inject({},function(m,name){m[name]=Event.Methods[name].methodize();return m});if(Prototype.Browser.IE){function _relatedTarget(event){var element;switch(event.type){case"mouseover":element=event.fromElement;break;case"mouseout":element=event.toElement;break;default:return null}return Element.extend(element)}Object.extend(methods,{stopPropagation:function(){this.cancelBubble=true},preventDefault:function(){this.returnValue=false},inspect:function(){return"[object Event]"}});Event.extend=function(event,element){if(!event){return false}if(event._extendedByPrototype){return event}event._extendedByPrototype=Prototype.emptyFunction;var pointer=Event.pointer(event);Object.extend(event,{target:event.srcElement||element,relatedTarget:_relatedTarget(event),pageX:pointer.x,pageY:pointer.y});return Object.extend(event,methods)}}else{Event.prototype=window.Event.prototype||document.createEvent("HTMLEvents").__proto__;Object.extend(Event.prototype,methods);Event.extend=Prototype.K}function _createResponder(element,eventName,handler){var registry=Element.retrieve(element,"prototype_event_registry");if(Object.isUndefined(registry)){CACHE.push(element);registry=Element.retrieve(element,"prototype_event_registry",$H())}var respondersForEvent=registry.get(eventName);if(Object.isUndefined(respondersForEvent)){respondersForEvent=[];registry.set(eventName,respondersForEvent)}if(respondersForEvent.pluck("handler").include(handler)){return false}var responder;if(eventName.include(":")){responder=function(event){if(Object.isUndefined(event.eventName)){return false}if(event.eventName!==eventName){return false}Event.extend(event,element);
13
+ handler.call(element,event)}}else{if(!MOUSEENTER_MOUSELEAVE_EVENTS_SUPPORTED&&(eventName==="mouseenter"||eventName==="mouseleave")){if(eventName==="mouseenter"||eventName==="mouseleave"){responder=function(event){Event.extend(event,element);var parent=event.relatedTarget;while(parent&&parent!==element){try{parent=parent.parentNode}catch(e){parent=element}}if(parent===element){return}handler.call(element,event)}}}else{responder=function(event){Event.extend(event,element);handler.call(element,event)}}}responder.handler=handler;respondersForEvent.push(responder);return responder}function _destroyCache(){for(var i=0,length=CACHE.length;i<length;i++){Event.stopObserving(CACHE[i]);CACHE[i]=null}}var CACHE=[];if(Prototype.Browser.IE){window.attachEvent("onunload",_destroyCache)}if(Prototype.Browser.WebKit){window.addEventListener("unload",Prototype.emptyFunction,false)}var _getDOMEventName=Prototype.K;if(!MOUSEENTER_MOUSELEAVE_EVENTS_SUPPORTED){_getDOMEventName=function(eventName){var translations={mouseenter:"mouseover",mouseleave:"mouseout"};return eventName in translations?translations[eventName]:eventName}}function observe(element,eventName,handler){element=$(element);var responder=_createResponder(element,eventName,handler);if(!responder){return element}if(eventName.include(":")){if(element.addEventListener){element.addEventListener("dataavailable",responder,false)}else{element.attachEvent("ondataavailable",responder);element.attachEvent("onfilterchange",responder)}}else{var actualEventName=_getDOMEventName(eventName);if(element.addEventListener){element.addEventListener(actualEventName,responder,false)}else{element.attachEvent("on"+actualEventName,responder)}}return element}function stopObserving(element,eventName,handler){element=$(element);var registry=Element.retrieve(element,"prototype_event_registry");if(Object.isUndefined(registry)){return element}if(eventName&&!handler){var responders=registry.get(eventName);if(Object.isUndefined(responders)){return element}responders.each(function(r){Element.stopObserving(element,eventName,r.handler)});return element}else{if(!eventName){registry.each(function(pair){var eventName=pair.key,responders=pair.value;responders.each(function(r){Element.stopObserving(element,eventName,r.handler)})});return element}}var responders=registry.get(eventName);if(!responders){return}var responder=responders.find(function(r){return r.handler===handler});if(!responder){return element}var actualEventName=_getDOMEventName(eventName);if(eventName.include(":")){if(element.removeEventListener){element.removeEventListener("dataavailable",responder,false)}else{element.detachEvent("ondataavailable",responder);element.detachEvent("onfilterchange",responder)}}else{if(element.removeEventListener){element.removeEventListener(actualEventName,responder,false)}else{element.detachEvent("on"+actualEventName,responder)}}registry.set(eventName,responders.without(responder));return element}function fire(element,eventName,memo,bubble){element=$(element);if(Object.isUndefined(bubble)){bubble=true}if(element==document&&document.createEvent&&!element.dispatchEvent){element=document.documentElement}var event;if(document.createEvent){event=document.createEvent("HTMLEvents");event.initEvent("dataavailable",true,true)}else{event=document.createEventObject();event.eventType=bubble?"ondataavailable":"onfilterchange"}event.eventName=eventName;event.memo=memo||{};if(document.createEvent){element.dispatchEvent(event)}else{element.fireEvent(event.eventType,event)}return Event.extend(event)}Object.extend(Event,Event.Methods);Object.extend(Event,{fire:fire,observe:observe,stopObserving:stopObserving});Element.addMethods({fire:fire,observe:observe,stopObserving:stopObserving});Object.extend(document,{fire:fire.methodize(),observe:observe.methodize(),stopObserving:stopObserving.methodize(),loaded:false});if(window.Event){Object.extend(window.Event,Event)}else{window.Event=Event}})();(function(){var timer;function fireContentLoadedEvent(){if(document.loaded){return}if(timer){window.clearTimeout(timer)}document.loaded=true;document.fire("dom:loaded")}function checkReadyState(){if(document.readyState==="complete"){document.stopObserving("readystatechange",checkReadyState);fireContentLoadedEvent()}}function pollDoScroll(){try{document.documentElement.doScroll("left")}catch(e){timer=pollDoScroll.defer();return}fireContentLoadedEvent()}if(document.addEventListener){document.addEventListener("DOMContentLoaded",fireContentLoadedEvent,false)}else{document.observe("readystatechange",checkReadyState);if(window==top){timer=pollDoScroll.defer()}}Event.observe(window,"load",fireContentLoadedEvent)})();Element.addMethods();Hash.toQueryString=Object.toQueryString;var Toggle={display:Element.toggle};Element.Methods.childOf=Element.Methods.descendantOf;var Insertion={Before:function(element,content){return Element.insert(element,{before:content})},Top:function(element,content){return Element.insert(element,{top:content})},Bottom:function(element,content){return Element.insert(element,{bottom:content})},After:function(element,content){return Element.insert(element,{after:content})}};var $continue=new Error('"throw $continue" is deprecated, use "return" instead');var Position={includeScrollOffsets:false,prepare:function(){this.deltaX=window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0;this.deltaY=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0},within:function(element,x,y){if(this.includeScrollOffsets){return this.withinIncludingScrolloffsets(element,x,y)}this.xcomp=x;this.ycomp=y;this.offset=Element.cumulativeOffset(element);return(y>=this.offset[1]&&y<this.offset[1]+element.offsetHeight&&x>=this.offset[0]&&x<this.offset[0]+element.offsetWidth)},withinIncludingScrolloffsets:function(element,x,y){var offsetcache=Element.cumulativeScrollOffset(element);this.xcomp=x+offsetcache[0]-this.deltaX;this.ycomp=y+offsetcache[1]-this.deltaY;this.offset=Element.cumulativeOffset(element);return(this.ycomp>=this.offset[1]&&this.ycomp<this.offset[1]+element.offsetHeight&&this.xcomp>=this.offset[0]&&this.xcomp<this.offset[0]+element.offsetWidth)},overlap:function(mode,element){if(!mode){return 0}if(mode=="vertical"){return((this.offset[1]+element.offsetHeight)-this.ycomp)/element.offsetHeight}if(mode=="horizontal"){return((this.offset[0]+element.offsetWidth)-this.xcomp)/element.offsetWidth}},cumulativeOffset:Element.Methods.cumulativeOffset,positionedOffset:Element.Methods.positionedOffset,absolutize:function(element){Position.prepare();return Element.absolutize(element)},relativize:function(element){Position.prepare();return Element.relativize(element)},realOffset:Element.Methods.cumulativeScrollOffset,offsetParent:Element.Methods.getOffsetParent,page:Element.Methods.viewportOffset,clone:function(source,target,options){options=options||{};return Element.clonePosition(target,source,options)}};if(!document.getElementsByClassName){document.getElementsByClassName=function(instanceMethods){function iter(name){return name.blank()?null:"[contains(concat(' ', @class, ' '), ' "+name+" ')]"}instanceMethods.getElementsByClassName=Prototype.BrowserFeatures.XPath?function(element,className){className=className.toString().strip();var cond=/\s/.test(className)?$w(className).map(iter).join(""):iter(className);return cond?document._getElementsByXPath(".//*"+cond,element):[]}:function(element,className){className=className.toString().strip();var elements=[],classNames=(/\s/.test(className)?$w(className):null);if(!classNames&&!className){return elements}var nodes=$(element).getElementsByTagName("*");className=" "+className+" ";for(var i=0,child,cn;child=nodes[i];i++){if(child.className&&(cn=" "+child.className+" ")&&(cn.include(className)||(classNames&&classNames.all(function(name){return !name.toString().blank()&&cn.include(" "+name+" ")})))){elements.push(Element.extend(child))}}return elements};return function(className,parentElement){return $(parentElement||document.body).getElementsByClassName(className)
14
+ }}(Element.Methods)}Element.ClassNames=Class.create();Element.ClassNames.prototype={initialize:function(element){this.element=$(element)},_each:function(iterator){this.element.className.split(/\s+/).select(function(name){return name.length>0})._each(iterator)},set:function(className){this.element.className=className},add:function(classNameToAdd){if(this.include(classNameToAdd)){return}this.set($A(this).concat(classNameToAdd).join(" "))},remove:function(classNameToRemove){if(!this.include(classNameToRemove)){return}this.set($A(this).without(classNameToRemove).join(" "))},toString:function(){return $A(this).join(" ")}};Object.extend(Element.ClassNames.prototype,Enumerable);
@@ -3,7 +3,7 @@ class Notifier < ActionMailer::Base
3
3
  recipients account.email
4
4
  from AppConfig.email_from
5
5
  subject "[#{AppConfig.project}] #{I18n.t('backend.emails.registration.object')}"
6
- body :account => account, :url => "http://#{AppConfig.host_addr}/backend"
6
+ body :account => account, :url => "#{AppConfig.host_addr}/backend"
7
7
  end
8
8
 
9
9
  def support_request(account, message)
@@ -6,6 +6,7 @@
6
6
  * http://www.lipsiasoft.com
7
7
  */
8
8
  a{text-decoration:none;color:#15428b;}
9
+ a:visited{text-decoration:none;color:#15428b;}
9
10
  a:hover{text-decoration:none;color:#3764A0;}
10
11
  h3{padding-bottom:5px;color:#3764A0;}
11
12
  /*Custom CSS Form*/
@@ -35,12 +36,20 @@ ul.x-tab-strip-top{background:#C4D2E5 none;}
35
36
  .edit .x-btn-text{background-image:url(/images/backend/edit.gif);}
36
37
  .save .x-btn-text{background-image:url(/images/backend/save.gif);}
37
38
  .duplicate .x-btn-text{background-image:url(/images/backend/plugin.gif);}
38
- .x-toolbar-menu{background-image:url(/images/backend/bg-menu.png);}
39
+ /*Correlations buttons*/
40
+ .up .x-btn-text{background-image:url(/images/backend/arrow_up.png);}
41
+ .down .x-btn-text{background-image:url(/images/backend/arrow_down.png);}
42
+ .join .x-btn-text{background-image:url(/images/backend/arrow_join.png);}
43
+ .divide .x-btn-text{background-image:url(/images/backend/arrow_divide.png);}
44
+ .divide .x-btn-text{background-image:url(/images/backend/arrow_divide.png);}
45
+ .categories .x-btn-text{background-image:url(/images/backend/categories.gif);}
46
+ /*Overrite some defaults*/
39
47
  .x-panel-header{background-image:url(/images/backend/bg-hd.png);background-color:#6f839a; text-align:center; color:#343f4b;}
40
48
  .x-panel-noborder .x-panel-header-noborder { border-bottom:none; }
49
+ .x-html-editor-wrap{border:none;}
41
50
  /*Main Site*/
42
51
  .content{background-color:#FFF;}
43
- .label-title{padding:5px 0px 0px 0px;color:#3764A0;border-bottom:1px dotted #C4D2E5;padding-bottom:3px;margin:5px 10px 5px 10px;font-size:1.2em;font-weight:bold;}
52
+ .label-title{padding:5px 0px 0px 0px;color:#3764A0;border-bottom:1px dotted #C4D2E5;padding-bottom:3px;margin:5px 0px 5px 0px;font-size:1.2em;font-weight:bold;}
44
53
  .label-image{padding:5px 5px 5px 5px;background-color:#DFE8F6;margin:10px 10px 0px 10px;border:1px solid #99BBE8;}
45
54
  .description{padding:10px 0px 5px 0px;font-style:italic;}
46
55
  .label-it{padding:5px 0px 5px 20px;background-image:url(/images/backend/it.gif);background-position:left center;background-repeat:no-repeat;}
@@ -1,11 +1,3 @@
1
- /*
2
- * Ext JS Library 2.1
3
- * Copyright(c) 2006-2008, Ext JS, LLC.
4
- * licensing@extjs.com
5
- *
6
- * http://extjs.com/license
7
- */
8
-
9
1
  html,body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,p,blockquote,th,td{margin:0;padding:0;}
10
2
  img,body,html{border:0;}
11
3
  address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;}
@@ -17,31 +9,33 @@ q:before,q:after{content:'';}
17
9
  #loading{ position:absolute; left:50%; top:50%; padding:2px; z-index:21001; height:auto; width:300; height:60px; margin-top:-30px; margin-left:-150px; text-align:center; }
18
10
  #loading img { vertical-align:middle; margin-bottom:5px; }
19
11
  #loading .loading-indicator{ background:white; color:#555; font:bold 13px tahoma,arial,helvetica; padding:10px; margin:0; text-align:center; height:auto; }.ext-el-mask{z-index:14000;position:absolute;top:0;left:0;-moz-opacity:0.5;opacity:.50;filter:alpha(opacity=50);background-color:#CCC;width:100%;height:100%;zoom:1;}
20
- .ext-el-mask-msg{z-index:14001;position:absolute;top:0;left:0;border:1px solid #6593cf;background:#c3daf9 url(../images/ext/default/box/tb-blue.gif) repeat-x 0 -16px;padding:2px;}
21
- .ext-el-mask-msg div{padding:5px 10px 5px 10px;background:#eee;border:1px solid #a3bad9;color:#222;font:normal 11px tahoma,arial,helvetica,sans-serif;cursor:wait;}
12
+ .ext-el-mask{z-index:100;position:absolute;top:0;left:0;-moz-opacity:0.5;opacity:.50;filter:alpha(opacity=50);width:100%;height:100%;zoom:1;}
13
+ .ext-el-mask-msg{z-index:20001;position:absolute;top:0;left:0;border:1px solid;background:repeat-x 0 -16px;padding:2px;}
14
+ .ext-el-mask-msg div{padding:5px 10px 5px 10px;border:1px solid;cursor:wait;}
22
15
  .ext-shim{position:absolute;visibility:hidden;left:0;top:0;overflow:hidden;}
23
16
  .ext-ie .ext-shim{filter:alpha(opacity=0);}
24
17
  .ext-ie6 .ext-shim{margin-left:5px;margin-top:3px;}
25
- .x-mask-loading div{padding:5px 10px 5px 25px;background:#fbfbfb url( '../images/ext/default/grid/loading.gif' ) no-repeat 5px 5px;line-height:16px;}
26
- .x-hidden,.x-hide-offsets{position:absolute;left:-10000px;top:-10000px;visibility:hidden;}
27
- .x-hide-display{display:none!important;}
28
- .x-hide-visibility{visibility:hidden!important;}
29
- .x-masked{overflow:hidden!important;}
18
+ .x-mask-loading div{padding:5px 10px 5px 25px;background:no-repeat 5px 5px;line-height:16px;}
19
+ .x-hidden,.x-hide-offsets{position:absolute !important;left:-10000px;top:-10000px;visibility:hidden;}
20
+ .x-hide-display{display:none !important;}
21
+ .x-hide-visibility{visibility:hidden !important;}
22
+ .x-masked{overflow:hidden !important;}
23
+ .x-masked-relative{position:relative !important;}
30
24
  .x-masked select,.x-masked object,.x-masked embed{visibility:hidden;}
31
25
  .x-layer{visibility:hidden;}
32
- .x-unselectable,.x-unselectable *{-moz-user-select:none;-khtml-user-select:none;}
26
+ .x-unselectable,.x-unselectable *{-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:ignore;}
33
27
  .x-repaint{zoom:1;background-color:transparent;-moz-outline:none;}
34
- .x-item-disabled{color:gray;cursor:default;opacity:.6;-moz-opacity:.6;filter:alpha(opacity=60);}
35
- .x-item-disabled *{color:gray!important;cursor:default!important;}
36
- .x-splitbar-proxy{position:absolute;visibility:hidden;z-index:20001;background:#aaa;zoom:1;line-height:1px;font-size:1px;overflow:hidden;}
28
+ .x-item-disabled{cursor:default;opacity:.6;-moz-opacity:.6;filter:alpha(opacity=60);}
29
+ .x-item-disabled *{cursor:default !important;}
30
+ .x-splitbar-proxy{position:absolute;visibility:hidden;z-index:20001;zoom:1;line-height:1px;font-size:1px;overflow:hidden;}
37
31
  .x-splitbar-h,.x-splitbar-proxy-h{cursor:e-resize;cursor:col-resize;}
38
32
  .x-splitbar-v,.x-splitbar-proxy-v{cursor:s-resize;cursor:row-resize;}
39
33
  .x-color-palette{width:150px;height:92px;cursor:pointer;}
40
- .x-color-palette a{border:1px solid #fff;float:left;padding:2px;text-decoration:none;-moz-outline:0 none;outline:0 none;cursor:pointer;}
41
- .x-color-palette a:hover,.x-color-palette a.x-color-palette-sel{border:1px solid #8BB8F3;background:#deecfd;}
42
- .x-color-palette em{display:block;border:1px solid #ACA899;}
34
+ .x-color-palette a{border:1px solid;float:left;padding:2px;text-decoration:none;-moz-outline:0 none;outline:0 none;cursor:pointer;}
35
+ .x-color-palette a:hover,.x-color-palette a.x-color-palette-sel{border:1px solid;}
36
+ .x-color-palette em{display:block;border:1px solid;}
43
37
  .x-color-palette em span{cursor:pointer;display:block;height:10px;line-height:10px;width:10px;}
44
- .x-ie-shadow{display:none;position:absolute;overflow:hidden;left:0;top:0;background:#777;zoom:1;}
38
+ .x-ie-shadow{display:none;position:absolute;overflow:hidden;left:0;top:0;zoom:1;}
45
39
  .x-shadow{display:none;position:absolute;overflow:hidden;left:0;top:0;}
46
40
  .x-shadow *{overflow:hidden;}
47
41
  .x-shadow *{padding:0;border:0;margin:0;clear:none;zoom:1;}
@@ -49,46 +43,52 @@ q:before,q:after{content:'';}
49
43
  .x-shadow .xstl,.x-shadow .xstr,.x-shadow .xsbl,.x-shadow .xsbr{width:6px;height:6px;float:left;}
50
44
  .x-shadow .xsc{width:100%;}
51
45
  .x-shadow .xsml,.x-shadow .xsmr{width:6px;float:left;height:100%;}
52
- .x-shadow .xsmc{float:left;height:100%;background:transparent url( ../images/ext/default/shadow-c.png );}
46
+ .x-shadow .xsmc{float:left;height:100%;background:transparent;}
53
47
  .x-shadow .xst,.x-shadow .xsb{height:6px;overflow:hidden;width:100%;}
54
- .x-shadow .xsml{background:transparent url( ../images/ext/default/shadow-lr.png ) repeat-y 0 0;}
55
- .x-shadow .xsmr{background:transparent url( ../images/ext/default/shadow-lr.png ) repeat-y -6px 0;}
56
- .x-shadow .xstl{background:transparent url( ../images/ext/default/shadow.png ) no-repeat 0 0;}
57
- .x-shadow .xstc{background:transparent url( ../images/ext/default/shadow.png ) repeat-x 0 -30px;}
58
- .x-shadow .xstr{background:transparent url( ../images/ext/default/shadow.png ) repeat-x 0 -18px;}
59
- .x-shadow .xsbl{background:transparent url( ../images/ext/default/shadow.png ) no-repeat 0 -12px;}
60
- .x-shadow .xsbc{background:transparent url( ../images/ext/default/shadow.png ) repeat-x 0 -36px;}
61
- .x-shadow .xsbr{background:transparent url( ../images/ext/default/shadow.png ) repeat-x 0 -6px;}
62
- .loading-indicator{font-size:11px;background-image:url(../images/ext/default/grid/loading.gif);background-repeat:no-repeat;background-position:left;padding-left:20px;line-height:16px;margin:3px;}
48
+ .x-shadow .xsml{background:transparent repeat-y 0 0;}
49
+ .x-shadow .xsmr{background:transparent repeat-y -6px 0;}
50
+ .x-shadow .xstl{background:transparent no-repeat 0 0;}
51
+ .x-shadow .xstc{background:transparent repeat-x 0 -30px;}
52
+ .x-shadow .xstr{background:transparent repeat-x 0 -18px;}
53
+ .x-shadow .xsbl{background:transparent no-repeat 0 -12px;}
54
+ .x-shadow .xsbc{background:transparent repeat-x 0 -36px;}
55
+ .x-shadow .xsbr{background:transparent repeat-x 0 -6px;}
56
+ .loading-indicator{background:no-repeat left;padding-left:20px;line-height:16px;margin:3px;}
63
57
  .x-text-resize{position:absolute;left:-1000px;top:-1000px;visibility:hidden;zoom:1;}
64
58
  .x-drag-overlay{width:100%;height:100%;display:none;position:absolute;left:0;top:0;background-image:url(../images/ext/default/s.gif);z-index:20000;}
65
59
  .x-clear{clear:both;height:0;overflow:hidden;line-height:0;font-size:0;}
66
- .x-spotlight{z-index:8999;position:absolute;top:0;left:0;-moz-opacity:0.5;opacity:.50;filter:alpha(opacity=50);background-color:#CCC;width:0;height:0;zoom:1;}
67
-
60
+ .x-spotlight{z-index:8999;position:absolute;top:0;left:0;-moz-opacity:0.5;opacity:.50;filter:alpha(opacity=50);width:0;height:0;zoom:1;}
61
+ #x-history-frame{position:absolute;top:-1px;left:0;width:1px;height:1px;visibility:hidden;}
62
+ #x-history-field{position:absolute;top:0;left:-1px;width:1px;height:1px;visibility:hidden;}
68
63
  .x-tab-panel{overflow:hidden;}
69
- .x-tab-panel-header,.x-tab-panel-footer{background:#deecfd;border:1px solid #8db2e3;overflow:hidden;zoom:1;}
70
- .x-tab-panel-header{border:1px solid #8db2e3;padding-bottom:2px;}
71
- .x-tab-panel-footer{border:1px solid #8db2e3;padding-top:2px;}
64
+ .x-tab-panel-header,.x-tab-panel-footer{border:1px solid;overflow:hidden;zoom:1;}
65
+ .x-tab-panel-header{border:1px solid;padding-bottom:2px;}
66
+ .x-tab-panel-footer{border:1px solid;padding-top:2px;}
72
67
  .x-tab-strip-wrap{width:100%;overflow:hidden;position:relative;zoom:1;}
73
68
  ul.x-tab-strip{display:block;width:5000px;zoom:1;}
74
- ul.x-tab-strip-top{padding-top:1px;background:url(../images/ext/default/tabs/tab-strip-bg.gif) #cedff5 repeat-x bottom;border-bottom:1px solid #8db2e3;}
75
- ul.x-tab-strip-bottom{padding-bottom:1px;background:url(../images/ext/default/tabs/tab-strip-btm-bg.gif) #cedff5 repeat-x top;border-top:1px solid #8db2e3;border-bottom:0 none;}
76
- .x-tab-panel-header-plain .x-tab-strip-top{background:transparent!important;padding-top:0!important;}
77
- .x-tab-panel-header-plain{background:transparent!important;border-width:0!important;padding-bottom:0!important;}
78
- .x-tab-panel-header-plain .x-tab-strip-spacer{border:1px solid #8db2e3;border-top:0 none;height:2px;background:#deecfd;font-size:1px;line-height:1px;}
79
- .ext-border-box .x-tab-panel-header-plain .x-tab-strip-spacer{height:3px;}
69
+ ul.x-tab-strip-top{padding-top:1px;background:repeat-x bottom;border-bottom:1px solid;}
70
+ ul.x-tab-strip-bottom{padding-bottom:1px;background:repeat-x top;border-top:1px solid;border-bottom:0 none;}
71
+ .x-tab-panel-header-plain .x-tab-strip-top{background:transparent !important;padding-top:0 !important;}
72
+ .x-tab-panel-header-plain{background:transparent !important;border-width:0 !important;padding-bottom:0 !important;}
73
+ .x-tab-panel-header-plain .x-tab-strip-spacer,
74
+ .x-tab-panel-footer-plain .x-tab-strip-spacer{border:1px solid;height:2px;font-size:1px;line-height:1px;}
75
+ .x-tab-panel-header-plain .x-tab-strip-spacer{border-top:0 none;}
76
+ .x-tab-panel-footer-plain .x-tab-strip-spacer{border-bottom:0 none;}
77
+ .x-tab-panel-footer-plain .x-tab-strip-bottom{background:transparent !important;padding-bottom:0 !important;}
78
+ .x-tab-panel-footer-plain{background:transparent !important;border-width:0 !important;padding-top:0 !important;}
79
+ .ext-border-box .x-tab-panel-header-plain .x-tab-strip-spacer,
80
+ .ext-border-box .x-tab-panel-footer-plain .x-tab-strip-spacer{height:3px;}
80
81
  ul.x-tab-strip li{float:left;margin-left:2px;}
81
- ul.x-tab-strip li.x-tab-edge{float:left;margin:0!important;padding:0!important;border:0 none!important;font-size:1px!important;line-height:1px!important;overflow:hidden;zoom:1;background:transparent!important;width:1px;}
82
+ ul.x-tab-strip li.x-tab-edge{float:left;margin:0 !important;padding:0 !important;border:0 none !important;font-size:1px !important;line-height:1px !important;overflow:hidden;zoom:1;background:transparent !important;width:1px;}
82
83
  .x-tab-strip a,.x-tab-strip span,.x-tab-strip em{display:block;}
83
- .x-tab-strip a{text-decoration:none!important;-moz-outline:none;outline:none;cursor:pointer;}
84
+ .x-tab-strip a{text-decoration:none !important;-moz-outline:none;outline:none;cursor:pointer;}
84
85
  .x-tab-strip-inner{overflow:hidden;text-overflow:ellipsis;}
85
- .x-tab-strip span.x-tab-strip-text{font:normal 11px tahoma,arial,helvetica;color:#416aa3;white-space:nowrap;cursor:pointer;padding:4px 0;}
86
- .x-tab-strip .x-tab-with-icon .x-tab-right{padding-left:6px;}
86
+ .x-tab-strip span.x-tab-strip-text{white-space:nowrap;cursor:pointer;padding:4px 0;}
87
+ .x-tab-strip-top .x-tab-with-icon .x-tab-right{padding-left:6px;}
87
88
  .x-tab-strip .x-tab-with-icon span.x-tab-strip-text{padding-left:20px;background-position:0 3px;background-repeat:no-repeat;}
88
- .x-tab-strip-over span.x-tab-strip-text{color:#15428b;}
89
- .x-tab-strip-active{cursor:default;}
90
- .x-tab-strip-active span.x-tab-strip-text{cursor:default;color:#15428b;font-weight:bold;}
91
- .x-tab-strip-disabled .x-tabs-text{cursor:default;color:#aaa;}
89
+ .x-tab-strip-active,.x-tab-strip-active a.x-tab-right{cursor:default;}
90
+ .x-tab-strip-active span.x-tab-strip-text{cursor:default;}
91
+ .x-tab-strip-disabled .x-tabs-text{cursor:default;}
92
92
  .x-tab-panel-body{overflow:hidden;}
93
93
  .x-tab-panel-bwrap{overflow:hidden;}
94
94
  .ext-ie .x-tab-strip .x-tab-right{position:relative;}
@@ -96,102 +96,108 @@ ul.x-tab-strip li.x-tab-edge{float:left;margin:0!important;padding:0!important;b
96
96
  .x-tab-strip-top .x-tab-strip-active .x-tab-right span.x-tab-strip-text{padding-bottom:5px;}
97
97
  .x-tab-strip-bottom .x-tab-strip-active .x-tab-right{margin-top:-1px;}
98
98
  .x-tab-strip-bottom .x-tab-strip-active .x-tab-right span.x-tab-strip-text{padding-top:5px;}
99
- .x-tab-strip-top .x-tab-right{background:transparent url(../images/ext/default/tabs/tabs-sprite.gif) no-repeat 0 -51px;padding-left:10px;}
100
- .x-tab-strip-top .x-tab-left{background:transparent url(../images/ext/default/tabs/tabs-sprite.gif) no-repeat right -351px;padding-right:10px;}
101
- .x-tab-strip-top .x-tab-strip-inner{background:transparent url(../images/ext/default/tabs/tabs-sprite.gif) repeat-x 0 -201px;}
99
+ .x-tab-strip-top .x-tab-right{background:transparent no-repeat 0 -51px;padding-left:10px;}
100
+ .x-tab-strip-top .x-tab-left{background:transparent no-repeat right -351px;padding-right:10px;}
101
+ .x-tab-strip-top .x-tab-strip-inner{background:transparent repeat-x 0 -201px;}
102
102
  .x-tab-strip-top .x-tab-strip-over .x-tab-right{background-position:0 -101px;}
103
103
  .x-tab-strip-top .x-tab-strip-over .x-tab-left{background-position:right -401px;}
104
104
  .x-tab-strip-top .x-tab-strip-over .x-tab-strip-inner{background-position:0 -251px;}
105
105
  .x-tab-strip-top .x-tab-strip-active .x-tab-right{background-position:0 0;}
106
106
  .x-tab-strip-top .x-tab-strip-active .x-tab-left{background-position:right -301px;}
107
107
  .x-tab-strip-top .x-tab-strip-active .x-tab-strip-inner{background-position:0 -151px;}
108
- .x-tab-strip-bottom .x-tab-right{background:url(../images/ext/default/tabs/tab-btm-inactive-right-bg.gif) no-repeat bottom right;}
109
- .x-tab-strip-bottom .x-tab-left{background:url(../images/ext/default/tabs/tab-btm-inactive-left-bg.gif) no-repeat bottom left;}
110
- .x-tab-strip-bottom .x-tab-strip-active .x-tab-right{background:url(../images/ext/default/tabs/tab-btm-right-bg.gif) no-repeat bottom left;}
111
- .x-tab-strip-bottom .x-tab-strip-active .x-tab-left{background:url(../images/ext/default/tabs/tab-btm-left-bg.gif) no-repeat bottom right;}
108
+ .x-tab-strip-bottom .x-tab-right{background:no-repeat bottom right;}
109
+ .x-tab-strip-bottom .x-tab-left{background:no-repeat bottom left;}
110
+ .x-tab-strip-bottom .x-tab-strip-active .x-tab-right{background:no-repeat bottom left;}
111
+ .x-tab-strip-bottom .x-tab-strip-active .x-tab-left{background:no-repeat bottom right;}
112
112
  .x-tab-strip-bottom .x-tab-left{padding:0 10px;}
113
113
  .x-tab-strip-bottom .x-tab-right{padding:0;}
114
114
  .x-tab-strip .x-tab-strip-close{display:none;}
115
115
  .x-tab-strip-closable{position:relative;}
116
116
  .x-tab-strip-closable .x-tab-left{padding-right:19px;}
117
- .x-tab-strip .x-tab-strip-closable a.x-tab-strip-close{background-image:url(../images/ext/default/tabs/tab-close.gif);opacity:.6;-moz-opacity:.6;background-repeat:no-repeat;display:block;width:11px;height:11px;position:absolute;top:3px;right:3px;cursor:pointer;z-index:2;}
117
+ .x-tab-strip .x-tab-strip-closable a.x-tab-strip-close{opacity:.6;-moz-opacity:.6;background-repeat:no-repeat;display:block;width:11px;height:11px;position:absolute;top:3px;right:3px;cursor:pointer;z-index:2;}
118
118
  .x-tab-strip .x-tab-strip-active a.x-tab-strip-close{opacity:.8;-moz-opacity:.8;}
119
- .x-tab-strip .x-tab-strip-closable a.x-tab-strip-close:hover{background-image:url(../images/ext/default/tabs/tab-close.gif);opacity:1;-moz-opacity:1;}
120
- .x-tab-panel-body{border:1px solid #8db2e3;background:#fff;}
119
+ .x-tab-strip .x-tab-strip-closable a.x-tab-strip-close:hover{opacity:1;-moz-opacity:1;}
120
+ .x-tab-panel-body{border:1px solid;}
121
121
  .x-tab-panel-body-top{border-top:0 none;}
122
122
  .x-tab-panel-body-bottom{border-bottom:0 none;}
123
- .x-tab-scroller-left{background:transparent url(../images/ext/default/tabs/scroll-left.gif) no-repeat -18px 0;border-bottom:1px solid #8db2e3;width:18px;position:absolute;left:0;top:0;z-index:10;cursor:pointer;}
123
+ .x-tab-scroller-left{background:transparent no-repeat -18px 0;border-bottom:1px solid;width:18px;position:absolute;left:0;top:0;z-index:10;cursor:pointer;}
124
124
  .x-tab-scroller-left-over{background-position:0 0;}
125
125
  .x-tab-scroller-left-disabled{background-position:-18px 0;opacity:.5;-moz-opacity:.5;filter:alpha(opacity=50);cursor:default;}
126
- .x-tab-scroller-right{background:transparent url(../images/ext/default/tabs/scroll-right.gif) no-repeat 0 0;border-bottom:1px solid #8db2e3;width:18px;position:absolute;right:0;top:0;z-index:10;cursor:pointer;}
126
+ .x-tab-scroller-right{background:transparent no-repeat 0 0;border-bottom:1px solid;width:18px;position:absolute;right:0;top:0;z-index:10;cursor:pointer;}
127
127
  .x-tab-scroller-right-over{background-position:-18px 0;}
128
128
  .x-tab-scroller-right-disabled{background-position:0 0;opacity:.5;-moz-opacity:.5;filter:alpha(opacity=50);cursor:default;}
129
+ .x-tab-scrolling-bottom .x-tab-scroller-left,.x-tab-scrolling-bottom .x-tab-scroller-right{margin-top:1px;}
129
130
  .x-tab-scrolling .x-tab-strip-wrap{margin-left:18px;margin-right:18px;}
130
131
  .x-tab-scrolling{position:relative;}
131
- .x-tab-panel-bbar .x-toolbar{border:1px solid #99bbe8;border-top:0 none;overflow:hidden;padding:2px;}
132
- .x-tab-panel-tbar .x-toolbar{border:1px solid #99bbe8;border-top:0 none;overflow:hidden;padding:2px;}
133
-
134
- .x-form-field{margin:0;font:normal 12px tahoma,arial,helvetica,sans-serif;}
135
- .x-form-text,textarea.x-form-field{padding:1px 3px;background:#fff url(../images/ext/default/form/text-bg.gif) repeat-x 0 0;border:1px solid #B5B8C8;}
132
+ .x-tab-panel-bbar .x-toolbar{border:1px solid;border-top:0 none;overflow:hidden;padding:2px;}
133
+ .x-tab-panel-tbar .x-toolbar{border:1px solid;border-top:0 none;overflow:hidden;padding:2px;}
134
+ .x-form-field{margin:0 0 0 0;}
135
+ .ext-webkit *:focus{outline:none !important;}
136
+ .x-form-text,textarea.x-form-field{padding:1px 3px;background:repeat-x 0 0;border:1px solid;}
136
137
  textarea.x-form-field{padding:2px 3px;}
137
- .x-form-text{height:22px;line-height:18px;vertical-align:middle;}
138
- .ext-ie .x-form-text{margin:-1px 0;height:22px;line-height:18px;}
139
- .ext-ie textarea.x-form-field{margin:-1px 0;}
138
+ .x-form-text,.ext-ie .x-form-file{height:22px;line-height:18px;vertical-align:middle;}
139
+ .ext-ie6 .x-form-text,.ext-ie7 .x-form-text{margin:-1px 0;height:22px;line-height:18px;}
140
+ .ext-ie6 textarea.x-form-field,.ext-ie7 textarea.x-form-field{margin:-1px 0;}
140
141
  .ext-strict .x-form-text{height:18px;}
141
- .ext-safari .x-form-text{height:20px;padding:0 3px;}
142
142
  .ext-safari.ext-mac textarea.x-form-field{margin-bottom:-2px;}
143
- .ext-gecko .x-form-text{padding-top:2px;padding-bottom:0;}
143
+ .ext-strict .ext-ie8 .x-form-text,.ext-strict .ext-ie8 textarea.x-form-field{margin-bottom:1px;}
144
+ .ext-gecko .x-form-text,.ext-ie8 .x-form-text{padding-top:2px;padding-bottom:0;}
144
145
  textarea{resize:none;}
145
- .x-form-select-one{height:20px;line-height:18px;vertical-align:middle;background-color:#fff;border:1px solid #B5B8C8;}
146
- .x-form-field-wrap{position:relative;zoom:1;white-space:nowrap;}
147
- .x-editor .x-form-check-wrap{background:#fff;}
148
- .x-form-field-wrap .x-form-trigger{width:17px;height:21px;border:0;background:transparent url(../images/ext/default/form/trigger.gif) no-repeat 0 0;cursor:pointer;border-bottom:1px solid #B5B8C8;position:absolute;top:0;}
149
- .ext-safari .x-form-field-wrap .x-form-trigger{height:21px;}
150
- .x-form-field-wrap .x-form-date-trigger{background-image:url(../images/ext/default/form/date-trigger.gif);cursor:pointer;}
151
- .x-form-field-wrap .x-form-clear-trigger{background-image:url(../images/ext/default/form/clear-trigger.gif);cursor:pointer;}
152
- .x-form-field-wrap .x-form-search-trigger{background-image:url(../images/ext/default/form/search-trigger.gif);cursor:pointer;}
146
+ .x-form-select-one{height:20px;line-height:18px;vertical-align:middle;border:1px solid;}
147
+ .x-form-check-wrap{line-height:18px;}
148
+ .ext-ie .x-form-check-wrap input{width:15px;height:15px;}
149
+ .x-editor .x-form-check-wrap{padding:3px;}
150
+ .x-editor .x-form-checkbox{height:13px;}
151
+ .x-form-check-group-label{border-bottom:1px solid;margin-bottom:5px;padding-left:3px !important;float:none !important;}
152
+ .x-form-field-wrap .x-form-trigger{width:17px;height:21px;border:0;background:transparent no-repeat 0 0;cursor:pointer;border-bottom:1px solid;position:absolute;top:0;}
153
+ .x-form-field-wrap .x-form-date-trigger,.x-form-field-wrap .x-form-clear-trigger,.x-form-field-wrap .x-form-search-trigger{cursor:pointer;}
153
154
  .ext-safari .x-form-field-wrap .x-form-trigger{right:0;}
154
155
  .x-form-field-wrap .x-form-twin-triggers .x-form-trigger{position:static;top:auto;vertical-align:top;}
156
+ .x-form-field-wrap{position:relative;left:0;top:0;zoom:1;white-space:nowrap;}
155
157
  .x-form-field-wrap .x-form-trigger-over{background-position:-17px 0;}
156
158
  .x-form-field-wrap .x-form-trigger-click{background-position:-34px 0;}
157
159
  .x-trigger-wrap-focus .x-form-trigger{background-position:-51px 0;}
158
160
  .x-trigger-wrap-focus .x-form-trigger-over{background-position:-68px 0;}
159
161
  .x-trigger-wrap-focus .x-form-trigger-click{background-position:-85px 0;}
160
- .x-trigger-wrap-focus .x-form-trigger{border-bottom:1px solid #7eadd9;}
161
- .x-item-disabled .x-form-trigger-over{background-position:0 0!important;border-bottom:1px solid #B5B8C8;}
162
- .x-item-disabled .x-form-trigger-click{background-position:0 0!important;border-bottom:1px solid #B5B8C8;}
163
- .x-form-focus,textarea.x-form-focus{border:1px solid #7eadd9;}
164
- .x-form-invalid,textarea.x-form-invalid{background:#fff url(../images/ext/default/grid/invalid_line.gif) repeat-x bottom;border:1px solid #dd7870;}
165
- .ext-safari .x-form-invalid{background-color:#fee;border:1px solid #ff7870;}
162
+ .x-trigger-wrap-focus .x-form-trigger{border-bottom:1px solid;}
163
+ .x-item-disabled .x-form-trigger-over{background-position:0 0 !important;border-bottom:1px solid;}
164
+ .x-item-disabled .x-form-trigger-click{background-position:0 0 !important;border-bottom:1px solid;}
165
+ .x-trigger-noedit{cursor:pointer;}
166
+ .x-form-focus,textarea.x-form-focus{border:1px solid;}
167
+ .x-form-invalid,textarea.x-form-invalid{background:repeat-x bottom;border:1px solid;}
168
+ .ext-safari .x-form-invalid{border:1px solid;}
169
+ .x-form-inner-invalid,textarea.x-form-inner-invalid{background:repeat-x bottom;}
166
170
  .x-editor{visibility:hidden;padding:0;margin:0;}
167
- .x-form-check-wrap{line-height:18px;}
171
+ .x-form-check-wrap{height:22px;line-height:18px;}
168
172
  .ext-ie .x-form-check-wrap input{width:15px;height:15px;}
169
173
  .x-editor .x-form-check-wrap{padding:3px;}
170
174
  .x-editor .x-form-checkbox{height:13px;}
171
- .x-form-grow-sizer{font:normal 12px tahoma,arial,helvetica,sans-serif;left:-10000px;padding:8px 3px;position:absolute;visibility:hidden;top:-10000px;white-space:pre-wrap;white-space:-moz-pre-wrap;white-space:-pre-wrap;white-space:-o-pre-wrap;word-wrap:break-word;zoom:1;}
172
- .x-form-grow-sizer p{margin:0!important;border:0 none!important;padding:0!important;}
173
- .x-form-item{font:normal 12px tahoma,arial,helvetica,sans-serif;display:block;margin-bottom:4px;zoom:1;}
175
+ .x-form-grow-sizer{left:-10000px;padding:8px 3px;position:absolute;visibility:hidden;top:-10000px;white-space:pre-wrap;white-space:-moz-pre-wrap;white-space:-pre-wrap;white-space:-o-pre-wrap;word-wrap:break-word;zoom:1;}
176
+ .x-form-grow-sizer p{margin:0 !important;border:0 none !important;padding:0 !important;}
177
+ .x-form-item{display:block;margin-bottom:4px;zoom:1;}
174
178
  .x-form-item label{display:block;float:left;width:100px;padding:3px;padding-left:0;clear:left;z-index:2;position:relative;}
175
179
  .x-form-element{padding-left:105px;position:relative;}
176
- .x-form-invalid-msg{color:#e00;padding:2px;padding-left:18px;font:normal 11px tahoma,arial,helvetica,sans-serif;background:transparent url(../images/ext/default/shared/warning.gif) no-repeat 0 2px;line-height:16px;width:200px;}
180
+ .x-form-invalid-msg{padding:2px;padding-left:18px;background:transparent no-repeat 0 2px;line-height:16px;width:200px;}
181
+ .x-form-label-left label{text-align:left;}
177
182
  .x-form-label-right label{text-align:right;}
178
183
  .x-form-label-top .x-form-item label{width:auto;float:none;clear:none;display:inline;margin-bottom:4px;position:static;}
179
184
  .x-form-label-top .x-form-element{padding-left:0;padding-top:4px;}
180
185
  .x-form-label-top .x-form-item{padding-bottom:4px;}
181
- .x-form-empty-field{color:gray;}
182
- .x-small-editor .x-form-field{font:normal 11px arial,tahoma,helvetica,sans-serif;}
183
186
  .x-small-editor .x-form-text{height:20px;line-height:16px;vertical-align:middle;}
184
- .ext-ie .x-small-editor .x-form-text{margin-top:-1px!important;margin-bottom:-1px!important;height:20px!important;line-height:16px!important;}
185
- .ext-strict .x-small-editor .x-form-text{height:16px!important;}
186
- .ext-safari .x-small-editor .x-form-field{font:normal 12px arial,tahoma,helvetica,sans-serif;}
187
- .ext-ie .x-small-editor .x-form-text{height:20px;line-height:16px;}
187
+ .ext-ie6 .x-small-editor .x-form-text,.ext-ie7 .x-small-editor .x-form-text{margin-top:-1px !important;margin-bottom:-1px !important;height:20px !important;line-height:16px !important;}
188
+ .ext-strict .x-small-editor .x-form-text{height:16px !important;}
189
+ .ext-ie6 .x-small-editor .x-form-text,.ext-ie7 .x-small-editor .x-form-text{height:20px;line-height:16px;}
188
190
  .ext-border-box .x-small-editor .x-form-text{height:20px;}
189
191
  .x-small-editor .x-form-select-one{height:20px;line-height:16px;vertical-align:middle;}
190
192
  .x-small-editor .x-form-num-field{text-align:right;}
191
193
  .x-small-editor .x-form-field-wrap .x-form-trigger{height:19px;}
194
+ .ext-webkit .x-small-editor .x-form-text{padding-top:3px;font-size:100%;}
192
195
  .x-form-clear{clear:both;height:0;overflow:hidden;line-height:0;font-size:0;}
193
196
  .x-form-clear-left{clear:left;height:0;overflow:hidden;line-height:0;font-size:0;}
194
- .x-form-cb-label{width:'auto'!important;float:none!important;clear:none!important;display:inline!important;margin-left:4px;}
197
+ .x-form-cb-label{width:auto !important;float:none !important;clear:none !important;display:inline !important;margin-left:4px;top:-2px;}
198
+ .ext-gecko2 .x-form-cb-label{top:-1px;}
199
+ .ext-strict .ext-ie8 .x-form-cb-label{top:-3px;}
200
+ .ext-opera .x-form-cb-label,.ext-safari3 .x-form-cb-label,.ext-ie7 .x-form-cb-label,.ext-ie6 .x-form-cb-label{top:0;}
195
201
  .x-form-column{float:left;padding:0;margin:0;width:48%;overflow:hidden;zoom:1;}
196
202
  .x-form .x-form-btns-ct .x-btn{float:right;clear:none;}
197
203
  .x-form .x-form-btns-ct .x-form-btns td{border:0;padding:0;}
@@ -206,102 +212,159 @@ textarea{resize:none;}
206
212
  .x-form .x-form-btns-ct .x-btn-click .x-btn-center{background-position:0 -126px;}
207
213
  .x-form .x-form-btns-ct .x-btn-click .x-btn-right{background-position:0 -84px;}
208
214
  .x-form .x-form-btns-ct .x-btn-click .x-btn-left{background-position:0 -63px;}
209
- .x-form-invalid-icon{width:16px;height:18px;visibility:hidden;position:absolute;left:0;top:0;display:block;background:transparent url(../images/ext/default/form/exclamation.gif) no-repeat 0 2px;}
210
- .x-fieldset{border:1px solid #B5B8C8;padding:10px;margin-bottom:10px;display:block;}
211
- .x-fieldset legend{font:bold 11px tahoma,arial,helvetica,sans-serif;color:#15428b;}
215
+ .x-form-invalid-icon{width:16px;height:18px;visibility:hidden;position:absolute;left:0;top:0;display:block;background:transparent no-repeat 0 2px;}
216
+ .x-fieldset{border:1px solid;padding:10px;margin-bottom:10px;display:block;}
217
+ .ext-webkit .x-fieldset-header{padding-top:1px;}
212
218
  .ext-ie .x-fieldset legend{margin-bottom:10px;}
213
219
  .ext-ie .x-fieldset{padding-top:0;padding-bottom:10px;}
214
- .x-fieldset legend .x-tool-toggle{margin-right:3px;margin-left:0;float:left!important;}
215
- .x-fieldset legend input{margin-right:3px;float:left!important;height:13px;width:13px;}
216
- fieldset.x-panel-collapsed{padding-bottom:0!important;border-width:1px 0 0 0!important;}
220
+ .x-fieldset legend .x-tool-toggle{margin-right:3px;margin-left:0;float:left !important;}
221
+ .x-fieldset legend input{margin-right:3px;float:left !important;height:13px;width:13px;}
222
+ fieldset.x-panel-collapsed{padding-bottom:0 !important;border-width:1px 1px 0 1px !important;border-left-color:transparent;border-right-color:transparent;}
223
+ .ext-ie6 fieldset.x-panel-collapsed{padding-bottom:0 !important;border-width:1px 0 0 0 !important;margin-left:1px;margin-right:1px;}
217
224
  fieldset.x-panel-collapsed .x-fieldset-bwrap{visibility:hidden;position:absolute;left:-1000px;top:-1000px;}
218
225
  .ext-ie .x-fieldset-bwrap{zoom:1;}
219
- .ext-ie td .x-form-text{position:relative;top:-1px;}
220
- .x-fieldset-noborder{border:0 none transparent;}
226
+ .x-fieldset-noborder{border:0px none transparent;}
221
227
  .x-fieldset-noborder legend{margin-left:-3px;}
222
228
  .ext-ie .x-fieldset-noborder legend{position:relative;margin-bottom:23px;}
223
- .ext-ie .x-fieldset-noborder legend span{position:absolute;left:-5px;}
229
+ .ext-ie .x-fieldset-noborder legend span{position:absolute;left:16px;}
224
230
  .ext-gecko .x-window-body .x-form-item{-moz-outline:none;overflow:auto;}
225
231
  .ext-gecko .x-form-item{-moz-outline:none;}
226
232
  .x-hide-label label.x-form-item-label{display:none;}
227
- .x-hide-label .x-form-element{padding-left:0!important;}
233
+ .x-hide-label .x-form-element{padding-left:0 !important;}
228
234
  .x-fieldset{overflow:hidden;}
229
235
  .x-fieldset-bwrap{overflow:hidden;zoom:1;}
230
236
  .x-fieldset-body{overflow:hidden;}
231
-
232
- .x-btn{font:normal 11px tahoma,verdana,helvetica;cursor:pointer;white-space:nowrap;}
233
- .x-btn button{border:0 none;background:transparent;font:normal 11px tahoma,verdana,helvetica;padding-left:3px;padding-right:3px;cursor:pointer;margin:0;overflow:visible;width:auto;-moz-outline:0 none;outline:0 none;}
237
+ .x-btn{cursor:pointer;white-space:nowrap;}
238
+ .x-btn button{border:0 none;background:transparent;padding-left:3px;padding-right:3px;cursor:pointer;margin:0;overflow:visible;width:auto;-moz-outline:0 none;outline:0 none;}
234
239
  * html .ext-ie .x-btn button{width:1px;}
235
240
  .ext-gecko .x-btn button{padding-left:0;padding-right:0;}
241
+ .ext-gecko .x-btn button::-moz-focus-inner{padding:0;}
236
242
  .ext-ie .x-btn button{padding-top:2px;}
237
- .x-btn-icon .x-btn-center .x-btn-text{background-position:center;background-repeat:no-repeat;height:16px;width:16px;cursor:pointer;white-space:nowrap;padding:0;}
238
- .x-btn-icon .x-btn-center{padding:1px;}
239
- .x-btn em{font-style:normal;font-weight:normal;}
240
- .x-btn-text-icon .x-btn-center .x-btn-text{background-position:0 2px;background-repeat:no-repeat;padding-left:18px;padding-top:3px;padding-bottom:2px;padding-right:0;}
241
- .x-btn-left,.x-btn-right{font-size:1px;line-height:1px;}
242
- .x-btn-left{width:3px;height:21px;background:url(../images/ext/default/button/btn-sprite.gif) no-repeat 0 0;}
243
- .x-btn-right{width:3px;height:21px;background:url(../images/ext/default/button/btn-sprite.gif) no-repeat 0 -21px;}
244
- .x-btn-left i,.x-btn-right i{display:block;width:3px;overflow:hidden;font-size:1px;line-height:1px;}
245
- .x-btn-center{background:url(../images/ext/default/button/btn-sprite.gif) repeat-x 0 -42px;vertical-align:middle;text-align:center;padding:0 5px;cursor:pointer;white-space:nowrap;}
246
- .x-btn-over .x-btn-left{background-position:0 -63px;}
247
- .x-btn-over .x-btn-right{background-position:0 -84px;}
248
- .x-btn-over .x-btn-center{background-position:0 -105px;}
249
- .x-btn-click .x-btn-center,.x-btn-menu-active .x-btn-center{background-position:0 -126px;}
250
- .x-btn-disabled *{color:gray!important;cursor:default!important;}
251
- .x-btn-menu-text-wrap .x-btn-center{padding:0 3px;}
252
- .ext-gecko .x-btn-menu-text-wrap .x-btn-center{padding:0 1px;}
253
- .x-btn-menu-arrow-wrap .x-btn-center{padding:0;}
254
- .x-btn-menu-arrow-wrap .x-btn-center button{width:12px!important;height:21px;padding:0!important;display:block;background:transparent url(../images/ext/default/button/btn-arrow.gif) no-repeat left 3px;}
255
- .x-btn-with-menu .x-btn-center{padding-right:2px!important;}
256
- .x-btn-with-menu .x-btn-center em{display:block;background:transparent url(../images/ext/default/toolbar/btn-arrow.gif) no-repeat right 0;padding-right:10px;}
257
- .x-btn-text-icon .x-btn-with-menu .x-btn-center em{display:block;background:transparent url(../images/ext/default/toolbar/btn-arrow.gif) no-repeat right 3px;padding-right:10px;}
258
- .x-btn-pressed .x-btn-left{background:url(../images/ext/default/button/btn-sprite.gif) no-repeat 0 -63px;}
259
- .x-btn-pressed .x-btn-right{background:url(../images/ext/default/button/btn-sprite.gif) no-repeat 0 -84px;}
260
- .x-btn-pressed .x-btn-center{background:url(../images/ext/default/button/btn-sprite.gif) repeat-x 0 -126px;}
261
-
262
- .x-toolbar{border-color:#a9bfd3;border-style:solid;border-width:0 0 1px 0;display:block;padding:2px;background:#d0def0 url(../images/ext/default/toolbar/bg.gif) repeat-x top left;position:relative;zoom:1;}
243
+ .x-btn td{padding:0 !important;}
244
+ .x-btn-text{cursor:pointer;white-space:nowrap;padding:0;}
245
+ .x-btn-noicon .x-btn-small .x-btn-text{height:16px;}
246
+ .x-btn-noicon .x-btn-medium .x-btn-text{height:24px;}
247
+ .x-btn-noicon .x-btn-large .x-btn-text{height:32px;}
248
+ .x-btn-icon .x-btn-text{background-position:center;background-repeat:no-repeat;}
249
+ .x-btn-icon .x-btn-small .x-btn-text{height:16px;width:16px;}
250
+ .x-btn-icon .x-btn-medium .x-btn-text{height:24px;width:24px;}
251
+ .x-btn-icon .x-btn-large .x-btn-text{height:32px;width:32px;}
252
+ .x-btn-text-icon .x-btn-icon-small-left .x-btn-text{background-position:0 center;background-repeat:no-repeat;padding-left:18px;height:16px;}
253
+ .x-btn-text-icon .x-btn-icon-medium-left .x-btn-text{background-position:0 center;background-repeat:no-repeat;padding-left:26px;height:24px;}
254
+ .x-btn-text-icon .x-btn-icon-large-left .x-btn-text{background-position:0 center;background-repeat:no-repeat;padding-left:34px;height:32px;}
255
+ .x-btn-text-icon .x-btn-icon-small-top .x-btn-text{background-position:center 0;background-repeat:no-repeat;padding-top:18px;}
256
+ .x-btn-text-icon .x-btn-icon-medium-top .x-btn-text{background-position:center 0;background-repeat:no-repeat;padding-top:26px;}
257
+ .x-btn-text-icon .x-btn-icon-large-top .x-btn-text{background-position:center 0;background-repeat:no-repeat;padding-top:34px;}
258
+ .x-btn-text-icon .x-btn-icon-small-right .x-btn-text{background-position:right center;background-repeat:no-repeat;padding-right:18px;height:16px;}
259
+ .x-btn-text-icon .x-btn-icon-medium-right .x-btn-text{background-position:right center;background-repeat:no-repeat;padding-right:26px;height:24px;}
260
+ .x-btn-text-icon .x-btn-icon-large-right .x-btn-text{background-position:right center;background-repeat:no-repeat;padding-right:34px;height:32px;}
261
+ .x-btn-text-icon .x-btn-icon-small-bottom .x-btn-text{background-position:center bottom;background-repeat:no-repeat;padding-bottom:18px;}
262
+ .x-btn-text-icon .x-btn-icon-medium-bottom .x-btn-text{background-position:center bottom;background-repeat:no-repeat;padding-bottom:26px;}
263
+ .x-btn-text-icon .x-btn-icon-large-bottom .x-btn-text{background-position:center bottom;background-repeat:no-repeat;padding-bottom:34px;}
264
+ .x-btn-tr i,.x-btn-tl i,.x-btn-mr i,.x-btn-ml i,.x-btn-br i,.x-btn-bl i{font-size:1px;line-height:1px;width:3px;display:block;overflow:hidden;}
265
+ .x-btn-tr i,.x-btn-tl i,.x-btn-br i,.x-btn-bl i{height:3px;}
266
+ .x-btn-tl{width:3px;height:3px;background:no-repeat 0 0;}
267
+ .x-btn-tr{width:3px;height:3px;background:no-repeat -3px 0;}
268
+ .x-btn-tc{height:3px;background:repeat-x 0 -6px;}
269
+ .x-btn-ml{width:3px;background:no-repeat 0 -24px;}
270
+ .x-btn-mr{width:3px;background:no-repeat -3px -24px;}
271
+ .x-btn-mc{background:repeat-x 0 -1096px;vertical-align:middle;text-align:center;padding:0 5px;cursor:pointer;white-space:nowrap;}
272
+ .x-btn-bl{width:3px;height:3px;background:no-repeat 0 -3px;}
273
+ .x-btn-br{width:3px;height:3px;background:no-repeat -3px -3px;}
274
+ .x-btn-bc{height:3px;background:repeat-x 0 -15px;}
275
+ .x-btn-over .x-btn-tl{background-position:-6px 0;}
276
+ .x-btn-over .x-btn-tr{background-position:-9px 0;}
277
+ .x-btn-over .x-btn-tc{background-position:0 -9px;}
278
+ .x-btn-over .x-btn-ml{background-position:-6px -24px;}
279
+ .x-btn-over .x-btn-mr{background-position:-9px -24px;}
280
+ .x-btn-over .x-btn-mc{background-position:0 -2168px;}
281
+ .x-btn-over .x-btn-bl{background-position:-6px -3px;}
282
+ .x-btn-over .x-btn-br{background-position:-9px -3px;}
283
+ .x-btn-over .x-btn-bc{background-position:0 -18px;}
284
+ .x-btn-click .x-btn-tl,.x-btn-menu-active .x-btn-tl,.x-btn-pressed .x-btn-tl{background-position:-12px 0;}
285
+ .x-btn-click .x-btn-tr,.x-btn-menu-active .x-btn-tr,.x-btn-pressed .x-btn-tr{background-position:-15px 0;}
286
+ .x-btn-click .x-btn-tc,.x-btn-menu-active .x-btn-tc,.x-btn-pressed .x-btn-tc{background-position:0 -12px;}
287
+ .x-btn-click .x-btn-ml,.x-btn-menu-active .x-btn-ml,.x-btn-pressed .x-btn-ml{background-position:-12px -24px;}
288
+ .x-btn-click .x-btn-mr,.x-btn-menu-active .x-btn-mr,.x-btn-pressed .x-btn-mr{background-position:-15px -24px;}
289
+ .x-btn-click .x-btn-mc,.x-btn-menu-active .x-btn-mc,.x-btn-pressed .x-btn-mc{background-position:0 -3240px;}
290
+ .x-btn-click .x-btn-bl,.x-btn-menu-active .x-btn-bl,.x-btn-pressed .x-btn-bl{background-position:-12px -3px;}
291
+ .x-btn-click .x-btn-br,.x-btn-menu-active .x-btn-br,.x-btn-pressed .x-btn-br{background-position:-15px -3px;}
292
+ .x-btn-click .x-btn-bc,.x-btn-menu-active .x-btn-bc,.x-btn-pressed .x-btn-bc{background-position:0 -21px;}
293
+ .x-btn-disabled *{cursor:default !important;}
294
+ .x-btn-mc em.x-btn-arrow{display:block;background:transparent no-repeat right center;padding-right:10px;}
295
+ .x-btn-mc em.x-btn-split{display:block;background:transparent no-repeat right center;padding-right:14px;}
296
+ .x-btn-mc em.x-btn-arrow-bottom{display:block;background:transparent no-repeat center bottom;padding-bottom:14px;}
297
+ .x-btn-mc em.x-btn-split-bottom{display:block;background:transparent no-repeat center bottom;padding-bottom:14px;}
298
+ .x-btn-as-arrow .x-btn-mc em{display:block;background:transparent;padding-bottom:14px;}
299
+ .x-btn-group{padding:1px;}
300
+ .x-btn-group-header{padding:2px;text-align:center;}
301
+ .x-btn-group-tc{background:transparent repeat-x 0 0;overflow:hidden;}
302
+ .x-btn-group-tl{background:transparent no-repeat 0 0;padding-left:3px;zoom:1;}
303
+ .x-btn-group-tr{background:transparent no-repeat right 0;zoom:1;padding-right:3px;}
304
+ .x-btn-group-bc{background:transparent repeat-x 0 bottom;zoom:1;}
305
+ .x-btn-group-bc .x-panel-footer{zoom:1;}
306
+ .x-btn-group-bl{background:transparent no-repeat 0 bottom;padding-left:3px;zoom:1;}
307
+ .x-btn-group-br{background:transparent no-repeat right bottom;padding-right:3px;zoom:1;}
308
+ .x-btn-group-mc{border:0 none;padding:1px 0 0 0;margin:0;}
309
+ .x-btn-group-mc .x-btn-group-body{background:transparent;border:0 none;}
310
+ .x-btn-group-ml{background:transparent repeat-y 0 0;padding-left:3px;zoom:1;}
311
+ .x-btn-group-mr{background:transparent repeat-y right 0;padding-right:3px;zoom:1;}
312
+ .x-btn-group-bc .x-btn-group-footer{padding-bottom:6px;}
313
+ .x-panel-nofooter .x-btn-group-bc{height:3px;font-size:0;line-height:0;}
314
+ .x-btn-group-bwrap{overflow:hidden;zoom:1;}
315
+ .x-btn-group-body{overflow:hidden;zoom:1;}
316
+ .x-btn-group-notitle .x-btn-group-tc{background:transparent repeat-x 0 0;overflow:hidden;height:2px;}
317
+ .x-toolbar{border-style:solid;border-width:0 0 1px 0;display:block;padding:2px;background:repeat-x top left;position:relative;left:0;top:0;zoom:1;overflow:hidden;}
263
318
  .x-toolbar .x-item-disabled .x-btn-icon{opacity:.35;-moz-opacity:.35;filter:alpha(opacity=35);}
264
319
  .x-toolbar td{vertical-align:middle;}
265
- .mso .x-toolbar,.x-grid-mso .x-toolbar{border:0 none;background:url(../images/ext/default/grid/mso-hd.gif);}
266
- .x-toolbar td,.x-toolbar span,.x-toolbar input,.x-toolbar div,.x-toolbar select,.x-toolbar label{white-space:nowrap;font:normal 11px tahoma,arial,helvetica,sans-serif;}
267
- .x-toolbar .x-item-disabled{color:gray;cursor:default;opacity:.6;-moz-opacity:.6;filter:alpha(opacity=60);}
268
- .x-toolbar .x-item-disabled *{color:gray;cursor:default;}
269
- .x-toolbar .x-btn-left{background:none;}
270
- .x-toolbar .x-btn-right{background:none;}
271
- .x-toolbar .x-btn-center{background:none;padding:0;}
272
- .x-toolbar .x-btn-menu-text-wrap .x-btn-center button{padding-right:2px;}
273
- .ext-gecko .x-toolbar .x-btn-menu-text-wrap .x-btn-center button{padding-right:0;}
274
- .x-toolbar .x-btn-menu-arrow-wrap .x-btn-center button{padding:0 2px;}
275
- .x-toolbar .x-btn-menu-arrow-wrap .x-btn-center button{width:12px;background:transparent url(../images/ext/default/toolbar/btn-arrow.gif) no-repeat 0 3px;}
276
- .x-toolbar .x-btn-text-icon .x-btn-menu-arrow-wrap .x-btn-center button{width:12px;background:transparent url(../images/ext/default/toolbar/btn-arrow.gif) no-repeat 0 3px;}
277
- .x-toolbar .x-btn-over .x-btn-menu-arrow-wrap .x-btn-center button{background-position:0 -47px;}
278
- .x-toolbar .x-btn-over .x-btn-left{background:url(../images/ext/default/toolbar/tb-btn-sprite.gif) no-repeat 0 0;}
279
- .x-toolbar .x-btn-over .x-btn-right{background:url(../images/ext/default/toolbar/tb-btn-sprite.gif) no-repeat 0 -21px;}
280
- .x-toolbar .x-btn-over .x-btn-center{background:url(../images/ext/default/toolbar/tb-btn-sprite.gif) repeat-x 0 -42px;}
281
- .x-toolbar .x-btn-click .x-btn-left,.x-toolbar .x-btn-pressed .x-btn-left,.x-toolbar .x-btn-menu-active .x-btn-left{background:url(../images/ext/default/toolbar/tb-btn-sprite.gif) no-repeat 0 -63px;}
282
- .x-toolbar .x-btn-click .x-btn-right,.x-toolbar .x-btn-pressed .x-btn-right,.x-toolbar .x-btn-menu-active .x-btn-right{background:url(../images/ext/default/toolbar/tb-btn-sprite.gif) no-repeat 0 -84px;}
283
- .x-toolbar .x-btn-click .x-btn-center,.x-toolbar .x-btn-pressed .x-btn-center,.x-toolbar .x-btn-menu-active .x-btn-center{background:url(../images/ext/default/toolbar/tb-btn-sprite.gif) repeat-x 0 -105px;}
284
- .x-toolbar .x-btn-with-menu .x-btn-center em{padding-right:8px;}
285
- .x-toolbar .ytb-text{padding:2px;}
286
- .x-toolbar .ytb-sep{background-image:url(../images/ext/default/grid/grid-blue-split.gif);background-position:center;background-repeat:no-repeat;display:block;font-size:1px;height:16px;width:4px;overflow:hidden;cursor:default;margin:0 2px 0;border:0;}
287
- .x-toolbar .ytb-spacer{width:2px;}
320
+ .x-toolbar td,.x-toolbar span,.x-toolbar input,.x-toolbar div,.x-toolbar select,.x-toolbar label{white-space:nowrap;}
321
+ .x-toolbar .x-item-disabled{cursor:default;opacity:.6;-moz-opacity:.6;filter:alpha(opacity=60);}
322
+ .x-toolbar .x-item-disabled *{cursor:default;}
323
+ .x-toolbar .x-toolbar-cell{vertical-align:middle;}
324
+ .x-toolbar .x-btn-tl,.x-toolbar .x-btn-tr,.x-toolbar .x-btn-tc,.x-toolbar .x-btn-ml,.x-toolbar .x-btn-mr,
325
+ .x-toolbar .x-btn-mc,.x-toolbar .x-btn-bl,.x-toolbar .x-btn-br,.x-toolbar .x-btn-bc{background-position:500px 500px;}
326
+ .x-toolbar .x-btn-over .x-btn-tl{background-position:-6px 0;}
327
+ .x-toolbar .x-btn-over .x-btn-tr{background-position:-9px 0;}
328
+ .x-toolbar .x-btn-over .x-btn-tc{background-position:0 -9px;}
329
+ .x-toolbar .x-btn-over .x-btn-ml{background-position:-6px -24px;}
330
+ .x-toolbar .x-btn-over .x-btn-mr{background-position:-9px -24px;}
331
+ .x-toolbar .x-btn-over .x-btn-mc{background-position:0 -2168px;}
332
+ .x-toolbar .x-btn-over .x-btn-bl{background-position:-6px -3px;}
333
+ .x-toolbar .x-btn-over .x-btn-br{background-position:-9px -3px;}
334
+ .x-toolbar .x-btn-over .x-btn-bc{background-position:0 -18px;}
335
+ .x-toolbar .x-btn-click .x-btn-tl,.x-toolbar .x-btn-menu-active .x-btn-tl,.x-toolbar .x-btn-pressed .x-btn-tl{background-position:-12px 0;}
336
+ .x-toolbar .x-btn-click .x-btn-tr,.x-toolbar .x-btn-menu-active .x-btn-tr,.x-toolbar .x-btn-pressed .x-btn-tr{background-position:-15px 0;}
337
+ .x-toolbar .x-btn-click .x-btn-tc,.x-toolbar .x-btn-menu-active .x-btn-tc,.x-toolbar .x-btn-pressed .x-btn-tc{background-position:0 -12px;}
338
+ .x-toolbar .x-btn-click .x-btn-ml,.x-toolbar .x-btn-menu-active .x-btn-ml,.x-toolbar .x-btn-pressed .x-btn-ml{background-position:-12px -24px;}
339
+ .x-toolbar .x-btn-click .x-btn-mr,.x-toolbar .x-btn-menu-active .x-btn-mr,.x-toolbar .x-btn-pressed .x-btn-mr{background-position:-15px -24px;}
340
+ .x-toolbar .x-btn-click .x-btn-mc,.x-toolbar .x-btn-menu-active .x-btn-mc,.x-toolbar .x-btn-pressed .x-btn-mc{background-position:0 -3240px;}
341
+ .x-toolbar .x-btn-click .x-btn-bl,.x-toolbar .x-btn-menu-active .x-btn-bl,.x-toolbar .x-btn-pressed .x-btn-bl{background-position:-12px -3px;}
342
+ .x-toolbar .x-btn-click .x-btn-br,.x-toolbar .x-btn-menu-active .x-btn-br,.x-toolbar .x-btn-pressed .x-btn-br{background-position:-15px -3px;}
343
+ .x-toolbar .x-btn-click .x-btn-bc,.x-toolbar .x-btn-menu-active .x-btn-bc,.x-toolbar .x-btn-pressed .x-btn-bc{background-position:0 -21px;}
344
+ .x-toolbar div.xtb-text{padding:2px 2px 0;line-height:16px;display:block;}
345
+ .x-toolbar .xtb-sep{background-position:center;background-repeat:no-repeat;display:block;font-size:1px;height:16px;width:4px;overflow:hidden;cursor:default;margin:0 2px 0;border:0;}
346
+ .x-toolbar .xtb-spacer{width:2px;}
288
347
  .x-tbar-page-number{width:24px;height:14px;}
289
- .x-tbar-page-first{background-image:url(../images/ext/default/grid/page-first.gif)!important;}
290
- .x-tbar-loading{background-image:url(../images/ext/default/grid/done.gif)!important;}
291
- .x-tbar-page-last{background-image:url(../images/ext/default/grid/page-last.gif)!important;}
292
- .x-tbar-page-next{background-image:url(../images/ext/default/grid/page-next.gif)!important;}
293
- .x-tbar-page-prev{background-image:url(../images/ext/default/grid/page-prev.gif)!important;}
294
- .x-item-disabled .x-tbar-loading{background-image:url(../images/ext/default/grid/loading.gif)!important;}
295
- .x-item-disabled .x-tbar-page-first{background-image:url(../images/ext/default/grid/page-first-disabled.gif)!important;}
296
- .x-item-disabled .x-tbar-page-last{background-image:url(../images/ext/default/grid/page-last-disabled.gif)!important;}
297
- .x-item-disabled .x-tbar-page-next{background-image:url(../images/ext/default/grid/page-next-disabled.gif)!important;}
298
- .x-item-disabled .x-tbar-page-prev{background-image:url(../images/ext/default/grid/page-prev-disabled.gif)!important;}
299
- .x-paging-info{position:absolute;top:5px;right:8px;color:#444;}
348
+ .x-paging-info{position:absolute;top:5px;right:8px;}
349
+ .x-toolbar-ct{width:100%;}
350
+ .x-toolbar-right td{text-align:center;}
351
+ .x-panel-tbar,.x-panel-bbar,.x-window-tbar,.x-window-bbar,.x-tab-panel-tbar,.x-tab-panel-bbar,.x-plain-tbar,.x-plain-bbar{overflow:hidden;zoom:1;}
352
+ .x-toolbar-more .x-btn-small .x-btn-text{height:16px;width:12px;}
353
+ .x-toolbar-more em.x-btn-arrow{display:inline;background:transparent;padding-right:0;}
354
+ .x-toolbar-more .x-btn-mc em.x-btn-arrow{background-image:none;}
355
+ div.x-toolbar-no-items{color:gray !important;padding:5px 10px !important;}
356
+ .ext-border-box .x-toolbar-cell .x-form-text{margin-bottom:-1px !important;}
357
+ .ext-border-box .x-toolbar-cell .x-form-field-wrap .x-form-text{margin:0 !important;}
358
+ .ext-ie .x-toolbar-cell .x-form-field-wrap{height:21px;}
359
+ .ext-ie .x-toolbar-cell .x-form-text{position:relative;top:-1px;}
360
+ .ext-ie8 .x-toolbar-cell .x-form-field-trigger-wrap .x-form-text,.ext-strict .ext-ie .x-toolbar-cell .x-form-text{top:0px;}
361
+ .x-toolbar-right td .x-form-field-trigger-wrap{text-align:left;}
362
+ .x-toolbar-cell .x-form-checkbox,.x-toolbar-cell .x-form-radio{vertical-align:top;margin-top:3px;}
363
+ .x-toolbar-cell .x-form-check-wrap label{vertical-align:bottom;}
300
364
  .x-statusbar .x-status-text{height:21px;line-height:21px;padding:0 4px;cursor:default;}
301
- .x-statusbar .x-status-busy{padding-left:25px;background:transparent url(../images/ext/default/grid/loading.gif) no-repeat 3px 3px;}
302
- .x-statusbar .x-status-text-panel{border-top:1px solid #99BBE8;border-right:1px solid #fff;border-bottom:1px solid #fff;border-left:1px solid #99BBE8;padding:2px 8px 2px 5px;}
303
-
304
- .x-resizable-handle{position:absolute;z-index:100;font-size:1px;line-height:6px;overflow:hidden;background:white;filter:alpha(opacity=0);opacity:0;zoom:1;}
365
+ .x-statusbar .x-status-busy{padding-left:25px;background:transparent no-repeat 3px 3px;}
366
+ .x-statusbar .x-status-text-panel{border-top:1px solid;border-right:1px solid;border-bottom:1px solid;border-left:1px solid;padding:2px 8px 2px 5px;}
367
+ .x-resizable-handle{position:absolute;z-index:100;font-size:1px;line-height:6px;overflow:hidden;filter:alpha(opacity=0);opacity:0;zoom:1;}
305
368
  .x-resizable-handle-east{width:6px;cursor:e-resize;right:0;top:0;height:100%;}
306
369
  .ext-ie .x-resizable-handle-east{margin-right:-1px;}
307
370
  .x-resizable-handle-south{width:100%;cursor:s-resize;left:0;bottom:0;height:6px;}
@@ -313,25 +376,25 @@ fieldset.x-panel-collapsed .x-fieldset-bwrap{visibility:hidden;position:absolute
313
376
  .x-resizable-handle-northeast{width:6px;cursor:ne-resize;right:0;top:0;height:6px;z-index:101;}
314
377
  .x-resizable-handle-southwest{width:6px;cursor:sw-resize;left:0;bottom:0;height:6px;z-index:101;}
315
378
  .x-resizable-over .x-resizable-handle,.x-resizable-pinned .x-resizable-handle{filter:alpha(opacity=100);opacity:1;}
316
- .x-resizable-over .x-resizable-handle-east,.x-resizable-pinned .x-resizable-handle-east{background:url(../images/ext/default/sizer/e-handle.gif);background-position:left;}
317
- .x-resizable-over .x-resizable-handle-west,.x-resizable-pinned .x-resizable-handle-west{background:url(../images/ext/default/sizer/e-handle.gif);background-position:left;}
318
- .x-resizable-over .x-resizable-handle-south,.x-resizable-pinned .x-resizable-handle-south{background:url(../images/ext/default/sizer/s-handle.gif);background-position:top;}
319
- .x-resizable-over .x-resizable-handle-north,.x-resizable-pinned .x-resizable-handle-north{background:url(../images/ext/default/sizer/s-handle.gif);background-position:top;}
320
- .x-resizable-over .x-resizable-handle-southeast,.x-resizable-pinned .x-resizable-handle-southeast{background:url(../images/ext/default/sizer/se-handle.gif);background-position:top left;}
321
- .x-resizable-over .x-resizable-handle-northwest,.x-resizable-pinned .x-resizable-handle-northwest{background:url(../images/ext/default/sizer/nw-handle.gif);background-position:bottom right;}
322
- .x-resizable-over .x-resizable-handle-northeast,.x-resizable-pinned .x-resizable-handle-northeast{background:url(../images/ext/default/sizer/ne-handle.gif);background-position:bottom left;}
323
- .x-resizable-over .x-resizable-handle-southwest,.x-resizable-pinned .x-resizable-handle-southwest{background:url(../images/ext/default/sizer/sw-handle.gif);background-position:top right;}
324
- .x-resizable-proxy{border:1px dashed #3b5a82;position:absolute;overflow:hidden;display:none;left:0;top:0;z-index:50000;}
325
- .x-resizable-overlay{width:100%;height:100%;display:none;position:absolute;left:0;top:0;background:white;z-index:200000;-moz-opacity:0;opacity:0;filter:alpha(opacity=0);}
326
-
327
- .x-grid3{position:relative;overflow:hidden;background-color:#fff;}
328
- .x-grid-panel .x-panel-body{overflow:hidden!important;}
329
- .x-grid-panel .x-panel-mc .x-panel-body{border:1px solid #99bbe8;}
379
+ .x-resizable-over .x-resizable-handle-east,.x-resizable-pinned .x-resizable-handle-east,
380
+ .x-resizable-over .x-resizable-handle-west,.x-resizable-pinned .x-resizable-handle-west{background-position:left;}
381
+ .x-resizable-over .x-resizable-handle-south,.x-resizable-pinned .x-resizable-handle-south,
382
+ .x-resizable-over .x-resizable-handle-north,.x-resizable-pinned .x-resizable-handle-north{background-position:top;}
383
+ .x-resizable-over .x-resizable-handle-southeast,.x-resizable-pinned .x-resizable-handle-southeast{background-position:top left;}
384
+ .x-resizable-over .x-resizable-handle-northwest,.x-resizable-pinned .x-resizable-handle-northwest{background-position:bottom right;}
385
+ .x-resizable-over .x-resizable-handle-northeast,.x-resizable-pinned .x-resizable-handle-northeast{background-position:bottom left;}
386
+ .x-resizable-over .x-resizable-handle-southwest,.x-resizable-pinned .x-resizable-handle-southwest{background-position:top right;}
387
+ .x-resizable-proxy{border:1px dashed;position:absolute;overflow:hidden;display:none;left:0;top:0;z-index:50000;}
388
+ .x-resizable-overlay{width:100%;height:100%;display:none;position:absolute;left:0;top:0;z-index:200000;-moz-opacity:0;opacity:0;filter:alpha(opacity=0);}
389
+ .x-grid3{position:relative;overflow:hidden;}
390
+ .x-grid-panel .x-panel-body{overflow:hidden !important;}
391
+ .x-grid-panel .x-panel-mc .x-panel-body{border:1px solid;}
330
392
  .x-grid3 table{table-layout:fixed;}
331
393
  .x-grid3-viewport{overflow:hidden;}
332
- .x-grid3-hd-row td,.x-grid3-row td,.x-grid3-summary-row td{font:normal 11px arial,tahoma,helvetica,sans-serif;-moz-outline:none;-moz-user-focus:normal;}
333
- .x-grid3-row td,.x-grid3-summary-row td{line-height:13px;vertical-align:top;padding-left:1px;padding-right:1px;-moz-user-select:none;}
334
- .x-grid3-hd-row td{line-height:15px;vertical-align:middle;border-left:1px solid #eee;border-right:1px solid #d0d0d0;}
394
+ .x-grid3-hd-row td,.x-grid3-row td,.x-grid3-summary-row td{-moz-outline:none;-moz-user-focus:normal;}
395
+ .x-grid3-row td,.x-grid3-summary-row td{line-height:13px;vertical-align:top;padding-left:1px;padding-right:1px;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:ignore;}
396
+ .x-grid3-cell{-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:ignore;}
397
+ .x-grid3-hd-row td{line-height:15px;vertical-align:middle;border-left:1px solid;border-right:1px solid;}
335
398
  .x-grid3-hd-row .x-grid3-marker-hd{padding:3px;}
336
399
  .x-grid3-row .x-grid3-marker{padding:3px;}
337
400
  .x-grid3-cell-inner,.x-grid3-hd-inner{overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis;padding:3px 3px 3px 5px;white-space:nowrap;}
@@ -340,139 +403,107 @@ fieldset.x-panel-collapsed .x-fieldset-bwrap{visibility:hidden;position:absolute
340
403
  .x-grid3-body-cell{-moz-outline:0 none;outline:0 none;}
341
404
  .ext-ie .x-grid3-cell-inner,.ext-ie .x-grid3-hd-inner{width:100%;}
342
405
  .ext-strict .x-grid3-cell-inner,.ext-strict .x-grid3-hd-inner{width:auto;}
343
- .x-grid-row-loading{background:#fff url(../images/ext/default/shared/loading-balls.gif) no-repeat center center;}
406
+ .x-grid-row-loading{background:no-repeat center center;}
344
407
  .x-grid-page{overflow:hidden;}
345
- .x-grid3-row{cursor:default;border:1px solid #ededed;border-top-color:#fff;width:100%;}
346
- .x-grid3-row-alt{background-color:#fafafa;}
347
- .x-grid3-row-over{border:1px solid #ddd;background:#efefef url(../images/ext/default/grid/row-over.gif) repeat-x left top;}
348
- .x-grid3-resize-proxy{width:1px;left:0;background-color:#777;cursor:e-resize;cursor:col-resize;position:absolute;top:0;height:100px;overflow:hidden;visibility:hidden;border:0 none;z-index:7;}
349
- .x-grid3-resize-marker{width:1px;left:0;background-color:#777;position:absolute;top:0;height:100px;overflow:hidden;visibility:hidden;border:0 none;z-index:7;}
350
- .x-grid3-focus{position:absolute;left:0;top:0;width:1px;height:1px;line-height:1px;font-size:1px;-moz-outline:0 none;outline:0 none;-moz-user-select:normal;-khtml-user-select:normal;}
351
- .x-grid3-header{background:#f9f9f9 url(../images/ext/default/grid/grid3-hrow.gif) repeat-x 0 bottom;cursor:default;zoom:1;padding:1px 0 0 0;}
352
- .x-grid3-header-pop{border-left:1px solid #d0d0d0;float:right;clear:none;}
353
- .x-grid3-header-pop-inner{border-left:1px solid #eee;width:14px;height:19px;background:transparent url(../images/ext/default/grid/hd-pop.gif) no-repeat center center;}
408
+ .x-grid3-row{cursor:default;border:1px solid;width:100%;}
409
+ .x-grid3-row-over{border:1px solid;background:repeat-x left top;}
410
+ .x-grid3-resize-proxy{width:1px;left:0;cursor:e-resize;cursor:col-resize;position:absolute;top:0;height:100px;overflow:hidden;visibility:hidden;border:0 none;z-index:7;}
411
+ .x-grid3-resize-marker{width:1px;left:0;position:absolute;top:0;height:100px;overflow:hidden;visibility:hidden;border:0 none;z-index:7;}
412
+ .x-grid3-focus{position:absolute;left:0;top:0;width:1px;height:1px;line-height:1px;font-size:1px;-moz-outline:0 none;outline:0 none;-moz-user-select:text;-khtml-user-select:text;-webkit-user-select:ignore;}
413
+ .x-grid3-header{background:repeat-x 0 bottom;cursor:default;zoom:1;padding:1px 0 0 0;}
414
+ .x-grid3-header-pop{border-left:1px solid;float:right;clear:none;}
415
+ .x-grid3-header-pop-inner{border-left:1px solid;width:14px;height:19px;background:transparent no-repeat center center;}
354
416
  .ext-ie .x-grid3-header-pop-inner{width:15px;}
355
417
  .ext-strict .x-grid3-header-pop-inner{width:14px;}
356
418
  .x-grid3-header-inner{overflow:hidden;zoom:1;float:left;}
357
- .x-grid3-header-offset{padding-left:1px;width:10000px;}
358
- td.x-grid3-hd-over,td.sort-desc,td.sort-asc,td.x-grid3-hd-menu-open{border-left:1px solid #aaccf6;border-right:1px solid #aaccf6;}
359
- td.x-grid3-hd-over .x-grid3-hd-inner,td.sort-desc .x-grid3-hd-inner,td.sort-asc .x-grid3-hd-inner,td.x-grid3-hd-menu-open .x-grid3-hd-inner{background:#ebf3fd url(../images/ext/default/grid/grid3-hrow-over.gif) repeat-x left bottom;}
419
+ .x-grid3-header-offset{padding-left:1px;}
420
+ td.x-grid3-hd-over,td.sort-desc,td.sort-asc,td.x-grid3-hd-menu-open{border-left:1px solid;border-right:1px solid;}
421
+ td.x-grid3-hd-over .x-grid3-hd-inner,td.sort-desc .x-grid3-hd-inner,td.sort-asc .x-grid3-hd-inner,td.x-grid3-hd-menu-open .x-grid3-hd-inner{background:repeat-x left bottom;}
360
422
  .x-grid3-sort-icon{background-repeat:no-repeat;display:none;height:4px;width:13px;margin-left:3px;vertical-align:middle;}
361
- .sort-asc .x-grid3-sort-icon{background-image:url(../images/ext/default/grid/sort_asc.gif);display:inline;}
362
- .sort-desc .x-grid3-sort-icon{background-image:url(../images/ext/default/grid/sort_desc.gif);display:inline;}
363
- .ext-strict .ext-ie .x-grid3-header-inner{position:relative;}
364
- .ext-strict .ext-ie6 .x-grid3-hd{position:relative;}
423
+ .sort-asc .x-grid3-sort-icon,.sort-desc .x-grid3-sort-icon{display:inline;}
424
+ .ext-strict .ext-ie .x-grid3-header-inner,.ext-strict .ext-ie6 .x-grid3-hd{position:relative;}
365
425
  .ext-strict .ext-ie6 .x-grid3-hd-inner{position:static;}
366
426
  .x-grid3-body{zoom:1;}
367
427
  .x-grid3-scroller{overflow:auto;zoom:1;position:relative;}
368
- .x-grid3-cell-text,.x-grid3-hd-text{display:block;padding:3px 5px 3px 5px;-moz-user-select:none;-khtml-user-select:none;color:black;}
369
- .x-grid3-split{background-image:url(../images/ext/default/grid/grid-split.gif);background-position:center;background-repeat:no-repeat;cursor:e-resize;cursor:col-resize;display:block;font-size:1px;height:16px;overflow:hidden;position:absolute;top:2px;width:6px;z-index:3;}
370
- .x-grid3-hd-text{color:#15428b;}
371
- .x-dd-drag-proxy .x-grid3-hd-inner{background:#ebf3fd url(../images/ext/default/grid/grid3-hrow-over.gif) repeat-x left bottom;width:120px;padding:3px;border:1px solid #aaccf6;overflow:hidden;}
372
- .col-move-top,.col-move-bottom{width:9px;height:9px;position:absolute;top:0;line-height:1px;font-size:1px;overflow:hidden;visibility:hidden;z-index:20000;}
373
- .col-move-top{background:transparent url(../images/ext/default/grid/col-move-top.gif) no-repeat left top;}
374
- .col-move-bottom{background:transparent url(../images/ext/default/grid/col-move-bottom.gif) no-repeat left top;}
375
- .x-grid3-row-selected{background:#DFE8F6!important;border:1px dotted #a3bae9;}
376
- .x-grid3-cell-selected{background-color:#B8CFEE!important;color:black;}
377
- .x-grid3-cell-selected span{color:black!important;}
378
- .x-grid3-cell-selected .x-grid3-cell-text{color:black;}
379
- .x-grid3-locked td.x-grid3-row-marker,.x-grid3-locked .x-grid3-row-selected td.x-grid3-row-marker{background:#ebeadb url(../images/ext/default/grid/grid-hrow.gif) repeat-x 0 bottom!important;vertical-align:middle!important;color:black;padding:0;border-top:1px solid white;border-bottom:none!important;border-right:1px solid #6fa0df!important;text-align:center;}
380
- .x-grid3-locked td.x-grid3-row-marker div,.x-grid3-locked .x-grid3-row-selected td.x-grid3-row-marker div{padding:0 4px;color:#15428b!important;text-align:center;}
381
- .x-grid3-dirty-cell{background:transparent url(../images/ext/default/grid/dirty.gif) no-repeat 0 0;}
382
- .x-grid3-topbar,.x-grid3-bottombar{font:normal 11px arial,tahoma,helvetica,sans-serif;overflow:hidden;display:none;zoom:1;position:relative;}
428
+ .x-grid3-cell-text,.x-grid3-hd-text{display:block;padding:3px 5px 3px 5px;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:ignore;}
429
+ .x-grid3-split{background-position:center;background-repeat:no-repeat;cursor:e-resize;cursor:col-resize;display:block;font-size:1px;height:16px;overflow:hidden;position:absolute;top:2px;width:6px;z-index:3;}
430
+ .x-dd-drag-proxy .x-grid3-hd-inner{background:repeat-x left bottom;width:120px;padding:3px;border:1px solid;overflow:hidden;}
431
+ .col-move-top,.col-move-bottom{width:9px;height:9px;position:absolute;top:0;line-height:1px;font-size:1px;overflow:hidden;visibility:hidden;z-index:20000;background:transparent no-repeat left top;}
432
+ .x-grid3-row-selected{border:1px dotted;}
433
+ .x-grid3-locked td.x-grid3-row-marker,.x-grid3-locked .x-grid3-row-selected td.x-grid3-row-marker{background:repeat-x 0 bottom !important;vertical-align:middle !important;padding:0;border-top:1px solid;border-bottom:none !important;border-right:1px solid !important;text-align:center;}
434
+ .x-grid3-locked td.x-grid3-row-marker div,.x-grid3-locked .x-grid3-row-selected td.x-grid3-row-marker div{padding:0 4px;text-align:center;}
435
+ .x-grid3-dirty-cell{background:transparent no-repeat 0 0;}
436
+ .x-grid3-topbar,.x-grid3-bottombar{overflow:hidden;display:none;zoom:1;position:relative;}
383
437
  .x-grid3-topbar .x-toolbar{border-right:0 none;}
384
- .x-grid3-bottombar .x-toolbar{border-right:0 none;border-bottom:0 none;border-top:1px solid #a9bfd3;}
438
+ .x-grid3-bottombar .x-toolbar{border-right:0 none;border-bottom:0 none;border-top:1px solid;}
385
439
  .x-props-grid .x-grid3-cell{padding:1px;}
386
- .x-props-grid .x-grid3-td-name .x-grid3-cell-inner{background:transparent url(../images/ext/default/grid/grid3-special-col-bg.gif) repeat-y -16px!important;padding-left:12px;color:black!important;}
387
- .x-props-grid .x-grid3-body .x-grid3-td-name{padding:1px;padding-right:0;background:white!important;border:0 none;border-right:1px solid #eee;}
388
- .xg-hmenu-sort-asc .x-menu-item-icon{background-image:url(../images/ext/default/grid/hmenu-asc.gif);}
389
- .xg-hmenu-sort-desc .x-menu-item-icon{background-image:url(../images/ext/default/grid/hmenu-desc.gif);}
390
- .xg-hmenu-lock .x-menu-item-icon{background-image:url(../images/ext/default/grid/hmenu-lock.gif);}
391
- .xg-hmenu-unlock .x-menu-item-icon{background-image:url(../images/ext/default/grid/hmenu-unlock.gif);}
440
+ .x-props-grid .x-grid3-td-name .x-grid3-cell-inner{background:transparent repeat-y -16px !important;padding-left:12px;}
441
+ .x-props-grid .x-grid3-body .x-grid3-td-name{padding:1px;padding-right:0;border:0 none;border-right:1px solid;}
392
442
  .x-grid3-col-dd{border:0 none;padding:0;background:transparent;}
393
443
  .x-dd-drag-ghost .x-grid3-dd-wrap{padding:1px 3px 3px 1px;}
394
- .x-grid3-hd{-moz-user-select:none;}
395
- .x-grid3-hd-btn{display:none;position:absolute;width:14px;background:#c3daf9 url(../images/ext/default/grid/grid3-hd-btn.gif) no-repeat left center;right:0;top:0;z-index:2;cursor:pointer;}
444
+ .x-grid3-hd{-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:ignore;}
445
+ .x-grid3-hd-btn{display:none;position:absolute;width:14px;background:no-repeat left center;right:0;top:0;z-index:2;cursor:pointer;}
396
446
  .x-grid3-hd-over .x-grid3-hd-btn,.x-grid3-hd-menu-open .x-grid3-hd-btn{display:block;}
397
447
  a.x-grid3-hd-btn:hover{background-position:-14px center;}
398
- .x-grid3-body .x-grid3-td-expander{background:transparent url(../images/ext/default/grid/grid3-special-col-bg.gif) repeat-y right;}
399
- .x-grid3-body .x-grid3-td-expander .x-grid3-cell-inner{padding:0!important;height:100%;}
400
- .x-grid3-row-expander{width:100%;height:18px;background-position:4px 2px;background-repeat:no-repeat;background-color:transparent;background-image:url(../images/ext/default/grid/row-expand-sprite.gif);}
448
+ .x-grid3-body .x-grid3-td-expander{background:transparent repeat-y right;}
449
+ .x-grid3-body .x-grid3-td-expander .x-grid3-cell-inner{padding:0 !important;height:100%;}
450
+ .x-grid3-row-expander{width:100%;height:18px;background-position:4px 2px;background-repeat:no-repeat;background-color:transparent;}
401
451
  .x-grid3-row-collapsed .x-grid3-row-expander{background-position:4px 2px;}
402
452
  .x-grid3-row-expanded .x-grid3-row-expander{background-position:-21px 2px;}
403
- .x-grid3-row-collapsed .x-grid3-row-body{display:none!important;}
404
- .x-grid3-row-expanded .x-grid3-row-body{display:block!important;}
405
- .x-grid3-body .x-grid3-td-checker{background:transparent url(../images/ext/default/grid/grid3-special-col-bg.gif) repeat-y right;}
406
- .x-grid3-body .x-grid3-td-checker .x-grid3-cell-inner,.x-grid3-header .x-grid3-td-checker .x-grid3-hd-inner{padding:0!important;height:100%;}
407
- .x-grid3-row-checker,.x-grid3-hd-checker{width:100%;height:18px;background-position:2px 2px;background-repeat:no-repeat;background-color:transparent;background-image:url(../images/ext/default/grid/row-check-sprite.gif);}
453
+ .x-grid3-row-collapsed .x-grid3-row-body{display:none !important;}
454
+ .x-grid3-row-expanded .x-grid3-row-body{display:block !important;}
455
+ .x-grid3-body .x-grid3-td-checker{background:transparent repeat-y right;}
456
+ .x-grid3-body .x-grid3-td-checker .x-grid3-cell-inner,.x-grid3-header .x-grid3-td-checker .x-grid3-hd-inner{padding:0 !important;height:100%;}
457
+ .x-grid3-row-checker,.x-grid3-hd-checker{width:100%;height:18px;background-position:2px 2px;background-repeat:no-repeat;background-color:transparent;}
408
458
  .x-grid3-row .x-grid3-row-checker{background-position:2px 2px;}
409
- .x-grid3-row-selected .x-grid3-row-checker,.x-grid3-hd-checker-on .x-grid3-hd-checker{background-position:-23px 2px;}
459
+ .x-grid3-row-selected .x-grid3-row-checker,.x-grid3-hd-checker-on .x-grid3-hd-checker,.x-grid3-row-checked .x-grid3-row-checker{background-position:-23px 2px;}
410
460
  .x-grid3-hd-checker{background-position:2px 3px;}
411
461
  .x-grid3-hd-checker-on .x-grid3-hd-checker{background-position:-23px 3px;}
412
- .x-grid3-body .x-grid3-td-numberer{background:transparent url(../images/ext/default/grid/grid3-special-col-bg.gif) repeat-y right;}
413
- .x-grid3-body .x-grid3-td-numberer .x-grid3-cell-inner{padding:3px 5px 0 0!important;text-align:right;color:#444;}
414
- .x-grid3-body .x-grid3-row-selected .x-grid3-td-numberer,.x-grid3-body .x-grid3-row-selected .x-grid3-td-checker,.x-grid3-body .x-grid3-row-selected .x-grid3-td-expander{background:transparent url(../images/ext/default/grid/grid3-special-col-sel-bg.gif) repeat-y right;}
415
- .x-grid3-body .x-grid3-check-col-td .x-grid3-cell-inner{padding:1px 0 0 0!important;}
416
- .x-grid3-check-col{width:100%;height:16px;background-position:center center;background-repeat:no-repeat;background-color:transparent;background-image:url(../images/ext/default/menu/unchecked.gif);}
417
- .x-grid3-check-col-on{width:100%;height:16px;background-position:center center;background-repeat:no-repeat;background-color:transparent;background-image:url(../images/ext/default/menu/checked.gif);}
462
+ .x-grid3-body .x-grid3-td-numberer{background:transparent repeat-y right;}
463
+ .x-grid3-body .x-grid3-td-numberer .x-grid3-cell-inner{padding:3px 5px 0 0 !important;text-align:right;}
464
+ .x-grid3-body .x-grid3-td-row-icon{background:transparent repeat-y right;vertical-align:top;text-align:center;}
465
+ .x-grid3-body .x-grid3-td-row-icon .x-grid3-cell-inner{padding:0 !important;background-position:center center;background-repeat:no-repeat;width:16px;height:16px;margin-left:2px;margin-top:3px;}
466
+ .x-grid3-body .x-grid3-row-selected .x-grid3-td-numberer,
467
+ .x-grid3-body .x-grid3-row-selected .x-grid3-td-checker,
468
+ .x-grid3-body .x-grid3-row-selected .x-grid3-td-expander{background:transparent repeat-y right;}
469
+ .x-grid3-body .x-grid3-check-col-td .x-grid3-cell-inner{padding:1px 0 0 0 !important;}
470
+ .x-grid3-check-col{width:100%;height:16px;background-position:center center;background-repeat:no-repeat;background-color:transparent;}
471
+ .x-grid3-check-col-on{width:100%;height:16px;background-position:center center;background-repeat:no-repeat;background-color:transparent;}
418
472
  .x-grid-group,.x-grid-group-body,.x-grid-group-hd{zoom:1;}
419
- .x-grid-group-hd{border-bottom:2px solid #99bbe8;cursor:pointer;padding-top:6px;}
420
- .x-grid-group-hd div{background:transparent url(../images/ext/default/grid/group-expand-sprite.gif) no-repeat 3px -47px;padding:4px 4px 4px 17px;color:#3764a0;font:bold 11px tahoma,arial,helvetica,sans-serif;}
473
+ .x-grid-group-hd{border-bottom:2px solid;cursor:pointer;padding-top:6px;}
474
+ .x-grid-group-hd div{background:transparent no-repeat 3px -47px;padding:4px 4px 4px 17px;}
421
475
  .x-grid-group-collapsed .x-grid-group-hd div{background-position:3px 3px;}
422
476
  .x-grid-group-collapsed .x-grid-group-body{display:none;}
423
- .x-group-by-icon{background-image:url(../images/ext/default/grid/group-by.gif);}
424
- .x-cols-icon{background-image:url(../images/ext/default/grid/columns.gif);}
425
- .x-show-groups-icon{background-image:url(../images/ext/default/grid/group-by.gif);}
426
- .ext-ie .x-grid3 .x-editor .x-form-text{position:relative;top:-1px;}
477
+ .ext-ie6 .x-grid3 .x-editor .x-form-text,.ext-ie7 .x-grid3 .x-editor .x-form-text{position:relative;top:-1px;}
427
478
  .ext-ie .x-props-grid .x-editor .x-form-text{position:static;top:0;}
428
- .x-grid-empty{padding:10px;color:gray;font:normal 11px tahoma,arial,helvetica,sans-serif;}
479
+ .x-grid-empty{padding:10px;}
429
480
  .ext-ie7 .x-grid-panel .x-panel-bbar{position:relative;}
430
-
481
+ .ext-ie6 .x-grid3-header{position:relative;}
482
+ .x-grid-with-col-lines .x-grid3-row td.x-grid3-cell{padding-right:0;border-right:1px solid;}
431
483
  .x-dd-drag-proxy{position:absolute;left:0;top:0;visibility:hidden;z-index:15000;}
432
- .x-dd-drag-ghost{color:black;font:normal 11px arial,helvetica,sans-serif;-moz-opacity:0.85;opacity:.85;filter:alpha(opacity=85);border-top:1px solid #ddd;border-left:1px solid #ddd;border-right:1px solid #bbb;border-bottom:1px solid #bbb;padding:3px;padding-left:20px;background-color:white;white-space:nowrap;}
484
+ .x-dd-drag-ghost{-moz-opacity:0.85;opacity:.85;filter:alpha(opacity=85);border:1px solid;padding:3px;padding-left:20px;white-space:nowrap;}
433
485
  .x-dd-drag-repair .x-dd-drag-ghost{-moz-opacity:0.4;opacity:.4;filter:alpha(opacity=40);border:0 none;padding:0;background-color:transparent;}
434
486
  .x-dd-drag-repair .x-dd-drop-icon{visibility:hidden;}
435
487
  .x-dd-drop-icon{position:absolute;top:3px;left:3px;display:block;width:16px;height:16px;background-color:transparent;background-position:center;background-repeat:no-repeat;z-index:1;}
436
- .x-dd-drop-nodrop .x-dd-drop-icon{background-image:url(../images/ext/default/dd/drop-no.gif);}
437
- .x-dd-drop-ok .x-dd-drop-icon{background-image:url(../images/ext/default/dd/drop-yes.gif);}
438
- .x-dd-drop-ok-add .x-dd-drop-icon{background-image:url(../images/ext/default/dd/drop-add.gif);}
439
- .x-view-selector{position:absolute;left:0;top:0;width:0;background:#c3daf9;border:1px dotted #39b;opacity:.5;-moz-opacity:.5;filter:alpha(opacity=50);zoom:1;}
440
-
441
- .x-tree .x-panel-body{background-color:#fff;}
488
+ .x-view-selector{position:absolute;left:0;top:0;width:0;border:1px dotted;opacity:.5;-moz-opacity:.5;filter:alpha(opacity=50);zoom:1;}
442
489
  .ext-strict .ext-ie .x-tree .x-panel-bwrap{position:relative;overflow:hidden;}
443
490
  .x-tree-icon,.x-tree-ec-icon,.x-tree-elbow-line,.x-tree-elbow,.x-tree-elbow-end,.x-tree-elbow-plus,.x-tree-elbow-minus,.x-tree-elbow-end-plus,.x-tree-elbow-end-minus{border:0 none;height:18px;margin:0;padding:0;vertical-align:top;width:16px;background-repeat:no-repeat;}
444
491
  .x-tree-node-collapsed .x-tree-node-icon,.x-tree-node-expanded .x-tree-node-icon,.x-tree-node-leaf .x-tree-node-icon{border:0 none;height:18px;margin:0;padding:0;vertical-align:top;width:16px;background-position:center;background-repeat:no-repeat;}
445
- .ext-ie .x-tree-node-indent img,.ext-ie .x-tree-node-icon,.ext-ie .x-tree-ec-icon{vertical-align:middle!important;}
446
- .x-tree-node-expanded .x-tree-node-icon{background-image:url(../images/ext/default/tree/folder-open.gif);}
447
- .x-tree-node-leaf .x-tree-node-icon{background-image:url(../images/ext/default/tree/leaf.gif);}
448
- .x-tree-node-collapsed .x-tree-node-icon{background-image:url(../images/ext/default/tree/folder.gif);}
492
+ .ext-ie .x-tree-node-indent img,.ext-ie .x-tree-node-icon,.ext-ie .x-tree-ec-icon{vertical-align:middle !important;}
449
493
  .ext-ie input.x-tree-node-cb{width:15px;height:15px;}
450
494
  input.x-tree-node-cb{margin-left:1px;}
451
495
  .ext-ie input.x-tree-node-cb{margin-left:0;}
452
496
  .x-tree-noicon .x-tree-node-icon{width:0;height:0;}
453
- .x-tree-node-loading .x-tree-node-icon{background-image:url(../images/ext/default/tree/loading.gif)!important;}
454
- .x-tree-node-loading a span{font-style:italic;color:#444;}
455
497
  .ext-ie .x-tree-node-el input{width:15px;height:15px;}
456
- .x-tree-lines .x-tree-elbow{background-image:url(../images/ext/default/tree/elbow.gif);}
457
- .x-tree-lines .x-tree-elbow-plus{background-image:url(../images/ext/default/tree/elbow-plus.gif);}
458
- .x-tree-lines .x-tree-elbow-minus{background-image:url(../images/ext/default/tree/elbow-minus.gif);}
459
- .x-tree-lines .x-tree-elbow-end{background-image:url(../images/ext/default/tree/elbow-end.gif);}
460
- .x-tree-lines .x-tree-elbow-end-plus{background-image:url(../images/ext/default/tree/elbow-end-plus.gif);}
461
- .x-tree-lines .x-tree-elbow-end-minus{background-image:url(../images/ext/default/tree/elbow-end-minus.gif);}
462
- .x-tree-lines .x-tree-elbow-line{background-image:url(../images/ext/default/tree/elbow-line.gif);}
463
498
  .x-tree-no-lines .x-tree-elbow{background:transparent;}
464
- .x-tree-no-lines .x-tree-elbow-plus{background-image:url(../images/ext/default/tree/elbow-plus-nl.gif);}
465
- .x-tree-no-lines .x-tree-elbow-minus{background-image:url(../images/ext/default/tree/elbow-minus-nl.gif);}
466
499
  .x-tree-no-lines .x-tree-elbow-end{background:transparent;}
467
- .x-tree-no-lines .x-tree-elbow-end-plus{background-image:url(../images/ext/default/tree/elbow-end-plus-nl.gif);}
468
- .x-tree-no-lines .x-tree-elbow-end-minus{background-image:url(../images/ext/default/tree/elbow-end-minus-nl.gif);}
469
500
  .x-tree-no-lines .x-tree-elbow-line{background:transparent;}
470
501
  .x-tree-arrows .x-tree-elbow{background:transparent;}
471
- .x-tree-arrows .x-tree-elbow-plus{background:transparent url(../images/ext/default/tree/arrows.gif) no-repeat 0 0;}
472
- .x-tree-arrows .x-tree-elbow-minus{background:transparent url(../images/ext/default/tree/arrows.gif) no-repeat -16px 0;}
502
+ .x-tree-arrows .x-tree-elbow-plus{background:transparent no-repeat 0 0;}
503
+ .x-tree-arrows .x-tree-elbow-minus{background:transparent no-repeat -16px 0;}
473
504
  .x-tree-arrows .x-tree-elbow-end{background:transparent;}
474
- .x-tree-arrows .x-tree-elbow-end-plus{background:transparent url(../images/ext/default/tree/arrows.gif) no-repeat 0 0;}
475
- .x-tree-arrows .x-tree-elbow-end-minus{background:transparent url(../images/ext/default/tree/arrows.gif) no-repeat -16px 0;}
505
+ .x-tree-arrows .x-tree-elbow-end-plus{background:transparent no-repeat 0 0;}
506
+ .x-tree-arrows .x-tree-elbow-end-minus{background:transparent no-repeat -16px 0;}
476
507
  .x-tree-arrows .x-tree-elbow-line{background:transparent;}
477
508
  .x-tree-arrows .x-tree-ec-over .x-tree-elbow-plus{background-position:-32px 0;}
478
509
  .x-tree-arrows .x-tree-ec-over .x-tree-elbow-minus{background-position:-48px 0;}
@@ -480,205 +511,185 @@ input.x-tree-node-cb{margin-left:1px;}
480
511
  .x-tree-arrows .x-tree-ec-over .x-tree-elbow-end-minus{background-position:-48px 0;}
481
512
  .x-tree-elbow-plus,.x-tree-elbow-minus,.x-tree-elbow-end-plus,.x-tree-elbow-end-minus{cursor:pointer;}
482
513
  .ext-ie ul.x-tree-node-ct{font-size:0;line-height:0;zoom:1;}
483
- .x-tree-node{color:black;font:normal 11px arial,tahoma,helvetica,sans-serif;white-space:nowrap;}
514
+ .x-tree-node{white-space:nowrap;}
484
515
  .x-tree-node-el{line-height:18px;cursor:pointer;}
485
- .x-tree-node a,.x-dd-drag-ghost a{text-decoration:none;color:black;-khtml-user-select:none;-moz-user-select:none;-kthml-user-focus:normal;-moz-user-focus:normal;-moz-outline:0 none;outline:0 none;}
486
- .x-tree-node a span,.x-dd-drag-ghost a span{text-decoration:none;color:black;padding:1px 3px 1px 2px;}
487
- .x-tree-node .x-tree-node-disabled a span{color:gray!important;}
516
+ .x-tree-node a,.x-dd-drag-ghost a{text-decoration:none;-khtml-user-select:none;-moz-user-select:none;-webkit-user-select:ignore;-kthml-user-focus:normal;-moz-user-focus:normal;-moz-outline:0 none;outline:0 none;}
517
+ .x-tree-node a span,.x-dd-drag-ghost a span{text-decoration:none;padding:1px 3px 1px 2px;}
488
518
  .x-tree-node .x-tree-node-disabled .x-tree-node-icon{-moz-opacity:0.5;opacity:.5;filter:alpha(opacity=50);}
489
519
  .x-tree-node .x-tree-node-inline-icon{background:transparent;}
490
520
  .x-tree-node a:hover,.x-dd-drag-ghost a:hover{text-decoration:none;}
491
- .x-tree-node div.x-tree-drag-insert-below{border-bottom:1px dotted #36c;}
492
- .x-tree-node div.x-tree-drag-insert-above{border-top:1px dotted #36c;}
521
+ .x-tree-node div.x-tree-drag-insert-below{border-bottom:1px dotted;}
522
+ .x-tree-node div.x-tree-drag-insert-above{border-top:1px dotted;}
493
523
  .x-tree-dd-underline .x-tree-node div.x-tree-drag-insert-below{border-bottom:0 none;}
494
524
  .x-tree-dd-underline .x-tree-node div.x-tree-drag-insert-above{border-top:0 none;}
495
- .x-tree-dd-underline .x-tree-node div.x-tree-drag-insert-below a{border-bottom:2px solid #36c;}
496
- .x-tree-dd-underline .x-tree-node div.x-tree-drag-insert-above a{border-top:2px solid #36c;}
497
- .x-tree-node .x-tree-drag-append a span{background:#ddd;border:1px dotted gray;}
498
- .x-tree-node .x-tree-node-over{background-color:#eee;}
499
- .x-tree-node .x-tree-selected{background-color:#d9e8fb;}
500
- .x-dd-drag-ghost .x-tree-node-indent,.x-dd-drag-ghost .x-tree-ec-icon{display:none!important;}
501
- .x-tree-drop-ok-append .x-dd-drop-icon{background-image:url(../images/ext/default/tree/drop-add.gif);}
502
- .x-tree-drop-ok-above .x-dd-drop-icon{background-image:url(../images/ext/default/tree/drop-over.gif);}
503
- .x-tree-drop-ok-below .x-dd-drop-icon{background-image:url(../images/ext/default/tree/drop-under.gif);}
504
- .x-tree-drop-ok-between .x-dd-drop-icon{background-image:url(../images/ext/default/tree/drop-between.gif);}
525
+ .x-tree-dd-underline .x-tree-node div.x-tree-drag-insert-below a{border-bottom:2px solid;}
526
+ .x-tree-dd-underline .x-tree-node div.x-tree-drag-insert-above a{border-top:2px solid;}
527
+ .x-tree-node .x-tree-drag-append a span{border:1px dotted;}
528
+ .x-dd-drag-ghost .x-tree-node-indent,.x-dd-drag-ghost .x-tree-ec-icon{display:none !important;}
505
529
  .x-tree-root-ct{zoom:1;}
506
-
507
- .x-date-picker{border:1px solid #1b376c;border-top:0 none;background:#fff;position:relative;}
530
+ .x-date-picker{border:1px solid;border-top:0 none;position:relative;}
508
531
  .x-date-picker a{-moz-outline:0 none;outline:0 none;}
509
532
  .x-date-inner,.x-date-inner td,.x-date-inner th{border-collapse:separate;}
510
- .x-date-middle,.x-date-left,.x-date-right{background:url(../images/ext/default/shared/hd-sprite.gif) repeat-x 0 -83px;color:#FFF;font:bold 11px "sans serif",tahoma,verdana,helvetica;overflow:hidden;}
511
- .x-date-middle .x-btn-left,.x-date-middle .x-btn-center,.x-date-middle .x-btn-right{background:transparent!important;vertical-align:middle;}
512
- .x-date-middle .x-btn .x-btn-text{color:#fff;}
513
- .x-date-middle .x-btn-with-menu .x-btn-center em{background:transparent url(../images/ext/default/toolbar/btn-arrow-light.gif) no-repeat right 0;}
533
+ .x-date-middle,.x-date-left,.x-date-right{background:repeat-x 0 -83px;overflow:hidden;}
534
+ .x-date-middle .x-btn-tc,.x-date-middle .x-btn-tl,.x-date-middle .x-btn-tr,
535
+ .x-date-middle .x-btn-mc,.x-date-middle .x-btn-ml,.x-date-middle .x-btn-mr,
536
+ .x-date-middle .x-btn-bc,.x-date-middle .x-btn-bl,.x-date-middle .x-btn-br{background:transparent !important;vertical-align:middle;}
537
+ .x-date-middle .x-btn-mc em.x-btn-arrow{background:transparent no-repeat right 0;}
514
538
  .x-date-right,.x-date-left{width:18px;}
515
539
  .x-date-right{text-align:right;}
516
540
  .x-date-middle{padding-top:2px;padding-bottom:2px;width:130px;}
517
541
  .x-date-right a,.x-date-left a{display:block;width:16px;height:16px;background-position:center;background-repeat:no-repeat;cursor:pointer;-moz-opacity:0.6;opacity:.6;filter:alpha(opacity=60);}
518
542
  .x-date-right a:hover,.x-date-left a:hover{-moz-opacity:1;opacity:1;filter:alpha(opacity=100);}
519
- .x-date-right a{background-image:url(../images/ext/default/shared/right-btn.gif);margin-right:2px;text-decoration:none!important;}
520
- .x-date-left a{background-image:url(../images/ext/default/shared/left-btn.gif);margin-left:2px;text-decoration:none!important;}
543
+ .x-date-right a{margin-right:2px;text-decoration:none !important;}
544
+ .x-date-left a{margin-left:2px;text-decoration:none !important;}
521
545
  table.x-date-inner{width:100%;table-layout:fixed;}
522
546
  .x-date-inner th{width:25px;}
523
- .x-date-inner th{background:#dfecfb url(../images/ext/default/shared/glass-bg.gif) repeat-x left top;text-align:right!important;border-bottom:1px solid #a3bad9;font:normal 10px arial,helvetica,tahoma,sans-serif;color:#233d6d;cursor:default;padding:0;border-collapse:separate;}
547
+ .x-date-inner th{background:repeat-x left top;text-align:right !important;border-bottom:1px solid;cursor:default;padding:0;border-collapse:separate;}
524
548
  .x-date-inner th span{display:block;padding:2px;padding-right:7px;}
525
- .x-date-inner td{border:1px solid #fff;text-align:right;padding:0;}
526
- .x-date-inner a{padding:2px 5px;display:block;font:normal 11px arial,helvetica,tahoma,sans-serif;text-decoration:none;color:black;text-align:right;zoom:1;}
549
+ .x-date-inner td{border:1px solid;text-align:right;padding:0;}
550
+ .x-date-inner a{padding:2px 5px;display:block;text-decoration:none;text-align:right;zoom:1;}
527
551
  .x-date-inner .x-date-active{cursor:pointer;color:black;}
528
- .x-date-inner .x-date-selected a{background:#dfecfb url(../images/ext/default/shared/glass-bg.gif) repeat-x left top;border:1px solid #8db2e3;padding:1px 4px;}
529
- .x-date-inner .x-date-today a{border:1px solid darkred;padding:1px 4px;}
530
- .x-date-inner .x-date-selected span{font-weight:bold;}
531
- .x-date-inner .x-date-prevday a,.x-date-inner .x-date-nextday a{color:#aaa;text-decoration:none!important;}
532
- .x-date-bottom{padding:4px;border-top:1px solid #a3bad9;background:#dfecfb url(../images/ext/default/shared/glass-bg.gif) repeat-x left top;}
533
- .x-date-inner a:hover,.x-date-inner .x-date-disabled a:hover{text-decoration:none!important;color:black;background:#ddecfe;}
534
- .x-date-inner .x-date-disabled a{cursor:default;background:#eee;color:#bbb;}
535
- .x-date-mmenu{background:#eee!important;}
536
- .x-date-mmenu .x-menu-item{font-size:10px;padding:1px 24px 1px 4px;white-space:nowrap;color:#000;}
537
- .x-date-mmenu .x-menu-item .x-menu-item-icon{width:10px;height:10px;margin-right:5px;background-position:center -4px!important;}
538
- .x-date-mp{position:absolute;left:0;top:0;background:white;display:none;}
552
+ .x-date-inner .x-date-selected a{background:repeat-x left top;border:1px solid;padding:1px 4px;}
553
+ .x-date-inner .x-date-today a{border:1px solid;padding:1px 4px;}
554
+ .x-date-inner .x-date-prevday a,.x-date-inner .x-date-nextday a{text-decoration:none !important;}
555
+ .x-date-bottom{padding:4px;border-top:1px solid;background:repeat-x left top;}
556
+ .x-date-inner a:hover,.x-date-inner .x-date-disabled a:hover{text-decoration:none !important;}
557
+ .x-date-inner .x-date-disabled a{cursor:default;}
558
+ .x-date-menu .x-menu-item{padding:1px 24px 1px 4px;white-space:nowrap;}
559
+ .x-date-menu .x-menu-item .x-menu-item-icon{width:10px;height:10px;margin-right:5px;background-position:center -4px !important;}
560
+ .x-date-mp{position:absolute;left:0;top:0;display:none;}
539
561
  .x-date-mp td{padding:2px;font:normal 11px arial,helvetica,tahoma,sans-serif;}
540
562
  td.x-date-mp-month,td.x-date-mp-year,td.x-date-mp-ybtn{border:0 none;text-align:center;vertical-align:middle;width:25%;}
541
563
  .x-date-mp-ok{margin-right:3px;}
542
- .x-date-mp-btns button{text-decoration:none;text-align:center;text-decoration:none!important;background:#083772;color:white;border:1px solid;border-color:#36c #005 #005 #36c;padding:1px 3px 1px;font:normal 11px arial,helvetica,tahoma,sans-serif;cursor:pointer;}
543
- .x-date-mp-btns{background:#dfecfb url(../images/ext/default/shared/glass-bg.gif) repeat-x left top;}
544
- .x-date-mp-btns td{border-top:1px solid #c5d2df;text-align:center;}
545
- td.x-date-mp-month a,td.x-date-mp-year a{display:block;padding:2px 4px;text-decoration:none;text-align:center;color:#15428b;}
546
- td.x-date-mp-month a:hover,td.x-date-mp-year a:hover{color:#15428b;text-decoration:none;cursor:pointer;background:#ddecfe;}
547
- td.x-date-mp-sel a{padding:1px 3px;background:#dfecfb url(../images/ext/default/shared/glass-bg.gif) repeat-x left top;border:1px solid #8db2e3;}
548
- .x-date-mp-ybtn a{overflow:hidden;width:15px;height:15px;cursor:pointer;background:transparent url(../images/ext/default/panel/tool-sprites.gif) no-repeat;display:block;margin:0 auto;}
564
+ .x-date-mp-btns button{text-decoration:none;text-align:center;text-decoration:none !important;border:1px solid;padding:1px 3px 1px;cursor:pointer;}
565
+ .x-date-mp-btns{background:repeat-x left top;}
566
+ .x-date-mp-btns td{border-top:1px solid;text-align:center;}
567
+ td.x-date-mp-month a,td.x-date-mp-year a{display:block;padding:2px 4px;text-decoration:none;text-align:center;}
568
+ td.x-date-mp-month a:hover,td.x-date-mp-year a:hover{text-decoration:none;cursor:pointer;}
569
+ td.x-date-mp-sel a{padding:1px 3px;background:repeat-x left top;border:1px solid;}
570
+ .x-date-mp-ybtn a{overflow:hidden;width:15px;height:15px;cursor:pointer;background:transparent no-repeat;display:block;margin:0 auto;}
549
571
  .x-date-mp-ybtn a.x-date-mp-next{background-position:0 -120px;}
550
572
  .x-date-mp-ybtn a.x-date-mp-next:hover{background-position:-15px -120px;}
551
573
  .x-date-mp-ybtn a.x-date-mp-prev{background-position:0 -105px;}
552
574
  .x-date-mp-ybtn a.x-date-mp-prev:hover{background-position:-15px -105px;}
553
575
  .x-date-mp-ybtn{text-align:center;}
554
- td.x-date-mp-sep{border-right:1px solid #c5d2df;}
555
-
576
+ td.x-date-mp-sep{border-right:1px solid;}
556
577
  .x-tip{position:absolute;top:0;left:0;visibility:hidden;z-index:20000;border:0 none;}
557
- .x-tip .x-tip-close{background-image:url(../images/ext/default/qtip/close.gif);height:15px;float:right;width:15px;margin:0 0 2px 2px;cursor:pointer;display:none;}
558
- .x-tip .x-tip-tc{background:transparent url(../images/ext/default/qtip/tip-sprite.gif) no-repeat 0 -62px;padding-top:3px;overflow:hidden;zoom:1;}
559
- .x-tip .x-tip-tl{background:transparent url(../images/ext/default/qtip/tip-sprite.gif) no-repeat 0 0;padding-left:6px;overflow:hidden;zoom:1;}
560
- .x-tip .x-tip-tr{background:transparent url(../images/ext/default/qtip/tip-sprite.gif) no-repeat right 0;padding-right:6px;overflow:hidden;zoom:1;}
561
- .x-tip .x-tip-bc{background:transparent url(../images/ext/default/qtip/tip-sprite.gif) no-repeat 0 -121px;height:3px;overflow:hidden;}
562
- .x-tip .x-tip-bl{background:transparent url(../images/ext/default/qtip/tip-sprite.gif) no-repeat 0 -59px;padding-left:6px;zoom:1;}
563
- .x-tip .x-tip-br{background:transparent url(../images/ext/default/qtip/tip-sprite.gif) no-repeat right -59px;padding-right:6px;zoom:1;}
564
- .x-tip .x-tip-mc{border:0 none;font:normal 11px tahoma,arial,helvetica,sans-serif;}
565
- .x-tip .x-tip-ml{background:#fff url(../images/ext/default/qtip/tip-sprite.gif) no-repeat 0 -124px;padding-left:6px;zoom:1;}
566
- .x-tip .x-tip-mr{background:transparent url(../images/ext/default/qtip/tip-sprite.gif) no-repeat right -124px;padding-right:6px;zoom:1;}
578
+ .x-tip .x-tip-close{height:15px;float:right;width:15px;margin:0 0 2px 2px;cursor:pointer;display:none;}
579
+ .x-tip .x-tip-tc{background:transparent no-repeat 0 -62px;padding-top:3px;overflow:hidden;zoom:1;}
580
+ .x-tip .x-tip-tl{background:transparent no-repeat 0 0;padding-left:6px;overflow:hidden;zoom:1;}
581
+ .x-tip .x-tip-tr{background:transparent no-repeat right 0;padding-right:6px;overflow:hidden;zoom:1;}
582
+ .x-tip .x-tip-bc{background:transparent no-repeat 0 -121px;height:3px;overflow:hidden;}
583
+ .x-tip .x-tip-bl{background:transparent no-repeat 0 -59px;padding-left:6px;zoom:1;}
584
+ .x-tip .x-tip-br{background:transparent no-repeat right -59px;padding-right:6px;zoom:1;}
585
+ .x-tip .x-tip-mc{border:0 none;}
586
+ .x-tip .x-tip-ml{background:no-repeat 0 -124px;padding-left:6px;zoom:1;}
587
+ .x-tip .x-tip-mr{background:transparent no-repeat right -124px;padding-right:6px;zoom:1;}
567
588
  .ext-ie .x-tip .x-tip-header,.ext-ie .x-tip .x-tip-tc{font-size:0;line-height:0;}
568
- .x-tip .x-tip-header-text{font:bold 11px tahoma,arial,helvetica,sans-serif;padding:0;margin:0 0 2px 0;color:#444;}
569
- .x-tip .x-tip-body{font:normal 11px tahoma,arial,helvetica,sans-serif;margin:0!important;line-height:14px;color:#444;padding:0;}
589
+ .x-tip .x-tip-header-text{padding:0;margin:0 0 2px 0;}
590
+ .x-tip .x-tip-body{margin:0 !important;line-height:14px;padding:0;}
570
591
  .x-tip .x-tip-body .loading-indicator{margin:0;}
571
592
  .x-tip-draggable .x-tip-header,.x-tip-draggable .x-tip-header-text{cursor:move;}
572
- .x-form-invalid-tip .x-tip-tc{background:url(../images/ext/default/form/error-tip-corners.gif) repeat-x 0 -12px;padding-top:6px;}
573
- .x-form-invalid-tip .x-tip-tl{background-image:url(../images/ext/default/form/error-tip-corners.gif);}
574
- .x-form-invalid-tip .x-tip-tr{background-image:url(../images/ext/default/form/error-tip-corners.gif);}
575
- .x-form-invalid-tip .x-tip-bc{background:url(../images/ext/default/form/error-tip-corners.gif) repeat-x 0 -18px;height:6px;}
576
- .x-form-invalid-tip .x-tip-bl{background:url(../images/ext/default/form/error-tip-corners.gif) no-repeat 0 -6px;}
577
- .x-form-invalid-tip .x-tip-br{background:url(../images/ext/default/form/error-tip-corners.gif) no-repeat right -6px;}
578
- .x-form-invalid-tip .x-tip-ml{background-image:url(../images/ext/default/form/error-tip-corners.gif);}
579
- .x-form-invalid-tip .x-tip-mr{background-image:url(../images/ext/default/form/error-tip-corners.gif);}
593
+ .x-form-invalid-tip .x-tip-tc{background:repeat-x 0 -12px;padding-top:6px;}
594
+ .x-form-invalid-tip .x-tip-bc{background:repeat-x 0 -18px;height:6px;}
595
+ .x-form-invalid-tip .x-tip-bl{background:no-repeat 0 -6px;}
596
+ .x-form-invalid-tip .x-tip-br{background:no-repeat right -6px;}
580
597
  .x-form-invalid-tip .x-tip-body{padding:2px;}
581
- .x-form-invalid-tip .x-tip-body{padding-left:24px;background:transparent url(../images/ext/default/form/exclamation.gif) no-repeat 2px 2px;}
582
-
583
- .x-menu{border:1px solid #718bb7;z-index:15000;zoom:1;background:#f0f0f0 url(../images/ext/default/menu/menu.gif) repeat-y;padding:2px;}
584
- .x-menu a{text-decoration:none!important;}
598
+ .x-form-invalid-tip .x-tip-body{padding-left:24px;background:transparent no-repeat 2px 2px;}
599
+ .x-tip-anchor{position:absolute;width:9px;height:10px;overflow:hidden;background:transparent no-repeat 0 0;zoom:1;}
600
+ .x-tip-anchor-bottom{background-position:-9px 0;}
601
+ .x-tip-anchor-right{background-position:-18px 0;width:10px;}
602
+ .x-tip-anchor-left{background-position:-28px 0;width:10px;}
603
+ .x-menu{border:1px solid;z-index:15000;zoom:1;background:repeat-y;}
604
+ .x-menu a{text-decoration:none !important;}
585
605
  .ext-ie .x-menu{zoom:1;overflow:hidden;}
586
- .x-menu-list{background:transparent;border:0 none;}
606
+ .x-menu-list{padding:2px;background:transparent;border:0 none;overflow:hidden;overflow-y:hidden;}
607
+ .ext-strict .ext-ie .x-menu-list{position:relative;}
587
608
  .x-menu li{line-height:100%;}
588
609
  .x-menu li.x-menu-sep-li{font-size:1px;line-height:1px;}
589
- .x-menu-list-item{font:normal 11px tahoma,arial,sans-serif;white-space:nowrap;-moz-user-select:none;-khtml-user-select:none;display:block;padding:1px;}
590
- .x-menu-item-arrow{background:transparent url(../images/ext/default/menu/menu-parent.gif) no-repeat right;}
591
- .x-menu-sep{display:block;font-size:1px;line-height:1px;margin:2px 3px;background-color:#e0e0e0;border-bottom:1px solid #fff;overflow:hidden;}
592
- .x-menu-focus{position:absolute;left:0;top:-5px;width:0;height:0;line-height:1px;}
593
- .x-menu a.x-menu-item{display:block;line-height:16px;padding:3px 21px 3px 3px;white-space:nowrap;text-decoration:none;color:#222;-moz-outline:0 none;outline:0 none;cursor:pointer;}
594
- .x-menu-item-active{background:#ebf3fd url(../images/ext/default/menu/item-over.gif) repeat-x left bottom;border:1px solid #aaccf6;padding:0;}
595
- .x-menu-item-active a.x-menu-item{color:#233d6d;}
596
- .x-menu-item-icon{border:0 none;height:16px;padding:0;vertical-align:top;width:16px;margin:0 8px 0 0;background-position:center;}
597
- .x-menu-check-item .x-menu-item-icon{background:transparent url(../images/ext/default/menu/unchecked.gif) no-repeat center;}
598
- .x-menu-item-checked .x-menu-item-icon{background-image:url(../images/ext/default/menu/checked.gif);}
610
+ .x-menu-list-item{white-space:nowrap;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:ignore;display:block;padding:1px;}
611
+ .x-menu-item-arrow{background:transparent no-repeat right;}
612
+ .x-menu-sep{display:block;font-size:1px;line-height:1px;margin:2px 3px;border-bottom:1px solid;overflow:hidden;}
613
+ .x-menu-focus{position:absolute;left:-1px;top:-1px;width:1px;height:1px;line-height:1px;font-size:1px;-moz-outline:0 none;outline:0 none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:ignore;overflow:hidden;display:block;}
614
+ a.x-menu-item{cursor:pointer;display:block;line-height:16px;outline-color:-moz-use-text-color;outline-style:none;outline-width:0;padding:3px 21px 3px 27px;position:relative;text-decoration:none;white-space:nowrap;}
615
+ .x-menu-item-active{background-repeat:repeat-x;background-position:left bottom;border-style:solid;border-width:1px 0;margin:0 1px;padding:0;}
616
+ .x-menu-item-active a.x-menu-item{border-style:solid;border-width:0 1px;margin:0 -1px;}
617
+ .x-menu-item-icon{border:0 none;height:16px;padding:0;vertical-align:top;width:16px;position:absolute;left:3px;top:3px;margin:0;background-position:center;}
618
+ .ext-ie .x-menu-item-icon{left:-24px;}
619
+ .ext-strict .x-menu-item-icon{left:3px;}
620
+ .ext-ie6 .x-menu-item-icon{left:-24px;}
621
+ .ext-ie .x-menu-item-icon{vertical-align:middle;}
622
+ .x-menu-check-item .x-menu-item-icon{background:transparent no-repeat center;}
599
623
  .x-menu-group-item .x-menu-item-icon{background:transparent;}
600
- .x-menu-item-checked .x-menu-group-item .x-menu-item-icon{background:transparent url(../images/ext/default/menu/group-checked.gif) no-repeat center;}
601
- .x-menu-plain{background:#fff!important;}
624
+ .x-menu-item-checked .x-menu-group-item .x-menu-item-icon{background:transparent no-repeat center;}
625
+ .x-date-menu .x-menu-list{padding:0;}
602
626
  .x-menu-date-item{padding:0;}
603
627
  .x-menu .x-color-palette,.x-menu .x-date-picker{margin-left:26px;margin-right:4px;}
604
- .x-menu .x-date-picker{border:1px solid #a3bad9;margin-top:2px;margin-bottom:2px;}
628
+ .x-menu .x-date-picker{border:1px solid;margin-top:2px;margin-bottom:2px;}
605
629
  .x-menu-plain .x-color-palette,.x-menu-plain .x-date-picker{margin:0;border:0 none;}
606
- .x-date-menu{padding:0!important;}
607
- .x-cycle-menu .x-menu-item-checked{border:1px dotted #a3bae9!important;background:#DFE8F6;padding:0;}
608
-
609
- .x-box-tl{background:transparent url(../images/ext/default/box/corners.gif) no-repeat 0 0;zoom:1;}
610
- .x-box-tc{height:8px;background:transparent url(../images/ext/default/box/tb.gif) repeat-x 0 0;overflow:hidden;}
611
- .x-box-tr{background:transparent url(../images/ext/default/box/corners.gif) no-repeat right -8px;}
612
- .x-box-ml{background:transparent url(../images/ext/default/box/l.gif) repeat-y 0;padding-left:4px;overflow:hidden;zoom:1;}
613
- .x-box-mc{background:#eee url(../images/ext/default/box/tb.gif) repeat-x 0 -16px;padding:4px 10px;font-family:"Myriad Pro","Myriad Web","Tahoma","Helvetica","Arial",sans-serif;color:#393939;font-size:12px;}
614
- .x-box-mc h3{font-size:14px;font-weight:bold;margin:0 0 4px 0;zoom:1;}
615
- .x-box-mr{background:transparent url(../images/ext/default/box/r.gif) repeat-y right;padding-right:4px;overflow:hidden;}
616
- .x-box-bl{background:transparent url(../images/ext/default/box/corners.gif) no-repeat 0 -16px;zoom:1;}
617
- .x-box-bc{background:transparent url(../images/ext/default/box/tb.gif) repeat-x 0 -8px;height:8px;overflow:hidden;}
618
- .x-box-br{background:transparent url(../images/ext/default/box/corners.gif) no-repeat right -24px;}
630
+ .x-date-menu{padding:0 !important;}
631
+ .x-cycle-menu .x-menu-item-checked{border:1px dotted !important;padding:0;}
632
+ .x-menu .x-menu-scroller{width:100%;background-repeat:no-repeat;background-position:center;height:8px;line-height:8px;cursor:pointer;margin:0;padding:0;}
633
+ .x-menu .x-menu-scroller-active{height:6px;line-height:6px;}
634
+ .x-menu-list-item-indent{padding-left:27px;}
635
+ .x-box-tl{background:transparent no-repeat 0 0;zoom:1;}
636
+ .x-box-tc{height:8px;background:transparent repeat-x 0 0;overflow:hidden;}
637
+ .x-box-tr{background:transparent no-repeat right -8px;}
638
+ .x-box-ml{background:transparent repeat-y 0;padding-left:4px;overflow:hidden;zoom:1;}
639
+ .x-box-mc{background:repeat-x 0 -16px;padding:4px 10px;}
640
+ .x-box-mc h3{margin:0 0 4px 0;zoom:1;}
641
+ .x-box-mr{background:transparent repeat-y right;padding-right:4px;overflow:hidden;}
642
+ .x-box-bl{background:transparent no-repeat 0 -16px;zoom:1;}
643
+ .x-box-bc{background:transparent repeat-x 0 -8px;height:8px;overflow:hidden;}
644
+ .x-box-br{background:transparent no-repeat right -24px;}
619
645
  .x-box-tl,.x-box-bl{padding-left:8px;overflow:hidden;}
620
646
  .x-box-tr,.x-box-br{padding-right:8px;overflow:hidden;}
621
- .x-box-blue .x-box-bl,.x-box-blue .x-box-br,.x-box-blue .x-box-tl,.x-box-blue .x-box-tr{background-image:url(../images/ext/default/box/corners-blue.gif);}
622
- .x-box-blue .x-box-bc,.x-box-blue .x-box-mc,.x-box-blue .x-box-tc{background-image:url(../images/ext/default/box/tb-blue.gif);}
623
- .x-box-blue .x-box-mc{background-color:#c3daf9;}
624
- .x-box-blue .x-box-mc h3{color:#17385b;}
625
- .x-box-blue .x-box-ml{background-image:url(../images/ext/default/box/l-blue.gif);}
626
- .x-box-blue .x-box-mr{background-image:url(../images/ext/default/box/r-blue.gif);}
627
-
628
- #x-debug-browser .x-tree .x-tree-node a span{color:#222297;font-size:11px;padding-top:2px;font-family:"monotype","courier new",sans-serif;line-height:18px;}
629
- #x-debug-browser .x-tree a i{color:#FF4545;font-style:normal;}
630
- #x-debug-browser .x-tree a em{color:#999;}
631
- #x-debug-browser .x-tree .x-tree-node .x-tree-selected a span{background:#c3daf9;}
647
+ #x-debug-browser .x-tree .x-tree-node a span{padding-top:2px;line-height:18px;}
632
648
  #x-debug-browser .x-tool-toggle{background-position:0 -75px;}
633
649
  #x-debug-browser .x-tool-toggle-over{background-position:-15px -75px;}
634
650
  #x-debug-browser.x-panel-collapsed .x-tool-toggle{background-position:0 -60px;}
635
651
  #x-debug-browser.x-panel-collapsed .x-tool-toggle-over{background-position:-15px -60px;}
636
-
637
- .x-combo-list{border:1px solid #98c0f4;background:#ddecfe;zoom:1;overflow:hidden;}
638
- .x-combo-list-inner{overflow:auto;background:white;position:relative;zoom:1;overflow-x:hidden;}
639
- .x-combo-list-hd{font:bold 11px tahoma,arial,helvetica,sans-serif;color:#15428b;background-image:url(../images/ext/default/layout/panel-title-light-bg.gif);border-bottom:1px solid #98c0f4;padding:3px;}
640
- .x-resizable-pinned .x-combo-list-inner{border-bottom:1px solid #98c0f4;}
641
- .x-combo-list-item{font:normal 12px tahoma,arial,helvetica,sans-serif;padding:2px;border:1px solid #fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
642
- .x-combo-list .x-combo-selected{border:1px dotted #a3bae9!important;background:#DFE8F6;cursor:pointer;}
643
- .x-combo-noedit{cursor:pointer;}
644
- .x-combo-list .x-toolbar{border-top:1px solid #98c0f4;border-bottom:0 none;}
645
- .x-combo-list-small .x-combo-list-item{font:normal 11px tahoma,arial,helvetica,sans-serif;}
646
-
647
- .x-panel{border-style:solid;border-color:#99bbe8;border-width:0;}
648
- .x-panel-header{overflow:hidden;zoom:1;color:#15428b;font:bold 11px tahoma,arial,verdana,sans-serif;padding:5px 3px 4px 5px;border:1px solid #99bbe8;line-height:15px;background:transparent url(../images/ext/default/panel/white-top-bottom.gif) repeat-x 0 -1px;}
649
- .x-panel-body{border:1px solid #99bbe8;border-top:0 none;overflow:hidden;background:white;position:relative;}
650
- .x-panel-bbar .x-toolbar{border:1px solid #99bbe8;border-top:0 none;overflow:hidden;padding:2px;}
651
- .x-panel-tbar .x-toolbar{border:1px solid #99bbe8;border-top:0 none;overflow:hidden;padding:2px;}
652
- .x-panel-tbar-noheader .x-toolbar,.x-panel-mc .x-panel-tbar .x-toolbar{border-top:1px solid #99bbe8;border-bottom:0 none;}
653
- .x-panel-body-noheader,.x-panel-mc .x-panel-body{border-top:1px solid #99bbe8;}
652
+ .x-combo-list{border:1px solid;zoom:1;overflow:hidden;}
653
+ .x-combo-list-inner{overflow:auto;position:relative;zoom:1;overflow-x:hidden;}
654
+ .x-combo-list-hd{border-bottom:1px solid;padding:3px;}
655
+ .x-resizable-pinned .x-combo-list-inner{border-bottom:1px solid;}
656
+ .x-combo-list-item{padding:2px;border:1px solid;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
657
+ .x-combo-list .x-combo-selected{border:1px dotted !important;cursor:pointer;}
658
+ .x-combo-list .x-toolbar{border-top:1px solid;border-bottom:0 none;}
659
+ .x-panel{border-style:solid;border-width:0;}
660
+ .x-panel-header{overflow:hidden;zoom:1;padding:5px 3px 4px 5px;border:1px solid;line-height:15px;background:transparent repeat-x 0 -1px;}
661
+ .x-panel-body{border:1px solid;border-top:0 none;overflow:hidden;position:relative;}
662
+ .x-panel-bbar .x-toolbar,.x-panel-tbar .x-toolbar{border:1px solid;border-top:0 none;overflow:hidden;padding:2px;}
663
+ .x-panel-tbar-noheader .x-toolbar,.x-panel-mc .x-panel-tbar .x-toolbar{border-top:1px solid;border-bottom:0 none;}
664
+ .x-panel-body-noheader,.x-panel-mc .x-panel-body{border-top:1px solid;}
654
665
  .x-panel-header{overflow:hidden;zoom:1;}
655
- .x-panel-tl .x-panel-header{color:#15428b;font:bold 11px tahoma,arial,verdana,sans-serif;padding:5px 0 4px 0;border:0 none;background:transparent;}
656
- .x-panel-tl .x-panel-icon,.x-window-tl .x-panel-icon{padding-left:20px!important;background-repeat:no-repeat;background-position:0 4px;zoom:1;}
666
+ .x-panel-tl .x-panel-header{padding:5px 0 4px 0;border:0 none;background:transparent;}
667
+ .x-panel-tl .x-panel-icon,.x-window-tl .x-panel-icon{padding-left:20px !important;background-repeat:no-repeat;background-position:0 4px;zoom:1;}
657
668
  .x-panel-inline-icon{width:16px;height:16px;background-repeat:no-repeat;background-position:0 0;vertical-align:middle;margin-right:4px;margin-top:-1px;margin-bottom:-1px;}
658
- .x-panel-tc{background:transparent url(../images/ext/default/panel/top-bottom.gif) repeat-x 0 0;overflow:hidden;}
669
+ .x-panel-tc{background:transparent repeat-x 0 0;overflow:hidden;}
659
670
  .ext-strict .ext-ie7 .x-panel-tc{overflow:visible;}
660
- .x-panel-tl{background:transparent url(../images/ext/default/panel/corners-sprite.gif) no-repeat 0 0;padding-left:6px;zoom:1;border-bottom:1px solid #99bbe8;}
661
- .x-panel-tr{background:transparent url(../images/ext/default/panel/corners-sprite.gif) no-repeat right 0;zoom:1;padding-right:6px;}
662
- .x-panel-bc{background:transparent url(../images/ext/default/panel/top-bottom.gif) repeat-x 0 bottom;zoom:1;}
671
+ .x-panel-tl{background:transparent no-repeat 0 0;padding-left:6px;zoom:1;border-bottom:1px solid;}
672
+ .x-panel-tr{background:transparent no-repeat right 0;zoom:1;padding-right:6px;}
673
+ .x-panel-bc{background:transparent repeat-x 0 bottom;zoom:1;}
663
674
  .x-panel-bc .x-panel-footer{zoom:1;}
664
- .x-panel-bl{background:transparent url(../images/ext/default/panel/corners-sprite.gif) no-repeat 0 bottom;padding-left:6px;zoom:1;}
665
- .x-panel-br{background:transparent url(../images/ext/default/panel/corners-sprite.gif) no-repeat right bottom;padding-right:6px;zoom:1;}
666
- .x-panel-mc{border:0 none;padding:0;margin:0;font:normal 11px tahoma,arial,helvetica,sans-serif;padding-top:6px;background:#dfe8f6;}
675
+ .x-panel-bl{background:transparent no-repeat 0 bottom;padding-left:6px;zoom:1;}
676
+ .x-panel-br{background:transparent no-repeat right bottom;padding-right:6px;zoom:1;}
677
+ .x-panel-mc{border:0 none;padding:0;margin:0;padding-top:6px;}
667
678
  .x-panel-mc .x-panel-body{background:transparent;border:0 none;}
668
- .x-panel-ml{background:#fff url(../images/ext/default/panel/left-right.gif) repeat-y 0 0;padding-left:6px;zoom:1;}
669
- .x-panel-mr{background:transparent url(../images/ext/default/panel/left-right.gif) repeat-y right 0;padding-right:6px;zoom:1;}
679
+ .x-panel-ml{background:repeat-y 0 0;padding-left:6px;zoom:1;}
680
+ .x-panel-mr{background:transparent repeat-y right 0;padding-right:6px;zoom:1;}
670
681
  .x-panel-bc .x-panel-footer{padding-bottom:6px;}
671
682
  .x-panel-nofooter .x-panel-bc,.x-panel-nofooter .x-window-bc{height:6px;font-size:0;line-height:0;}
672
- .x-panel-bwrap{overflow:hidden;zoom:1;}
683
+ .x-panel-bwrap{overflow:hidden;zoom:1;left:0;top:0;}
673
684
  .x-panel-body{overflow:hidden;zoom:1;}
674
685
  .x-panel-collapsed .x-resizable-handle{display:none;}
675
- .ext-gecko .x-panel-animated div{overflow:hidden!important;}
686
+ .ext-gecko .x-panel-animated div{overflow:hidden !important;}
676
687
  .x-plain-body{overflow:hidden;}
677
688
  .x-plain-bbar .x-toolbar{overflow:hidden;padding:2px;}
678
689
  .x-plain-tbar .x-toolbar{overflow:hidden;padding:2px;}
679
690
  .x-plain-bwrap{overflow:hidden;zoom:1;}
680
691
  .x-plain{overflow:hidden;}
681
- .x-tool{overflow:hidden;width:15px;height:15px;float:right;cursor:pointer;background:transparent url(../images/ext/default/panel/tool-sprites.gif) no-repeat;margin-left:2px;}
692
+ .x-tool{overflow:hidden;width:15px;height:15px;float:right;cursor:pointer;background:transparent no-repeat;margin-left:2px;}
682
693
  .x-tool-toggle{background-position:0 -60px;}
683
694
  .x-tool-toggle-over{background-position:-15px -60px;}
684
695
  .x-panel-collapsed .x-tool-toggle{background-position:0 -75px;}
@@ -719,101 +730,214 @@ td.x-date-mp-sep{border-right:1px solid #c5d2df;}
719
730
  .x-tool-help-over{background-position:-15px -300px;}
720
731
  .x-tool-print{background-position:0 -315px;}
721
732
  .x-tool-print-over{background-position:-15px -315px;}
722
- .x-panel-ghost{background:#cbddf3;z-index:12000;overflow:hidden;position:absolute;left:0;top:0;opacity:.65;-moz-opacity:.65;filter:alpha(opacity=65);}
723
- .x-panel-ghost ul{margin:0;padding:0;overflow:hidden;font-size:0;line-height:0;border:1px solid #99bbe8;border-top:0 none;display:block;}
724
- .x-panel-ghost *{cursor:move!important;}
725
- .x-panel-dd-spacer{border:2px dashed #99bbe8;}
726
- .x-panel-btns-ct{padding:5px;}
727
- .x-panel-btns-ct .x-btn{float:right;clear:none;}
728
- .x-panel-btns-ct .x-panel-btns td{border:0;padding:0;}
729
- .x-panel-btns-ct .x-panel-btns-right table{float:right;clear:none;}
730
- .x-panel-btns-ct .x-panel-btns-left table{float:left;clear:none;}
731
- .x-panel-btns-ct .x-panel-btns-center{text-align:center;}
732
- .x-panel-btns-ct .x-panel-btns-center table{margin:0 auto;}
733
- .x-panel-btns-ct table td.x-panel-btn-td{padding:3px;}
734
- .x-panel-btns-ct .x-btn-focus .x-btn-left{background-position:0 -147px;}
735
- .x-panel-btns-ct .x-btn-focus .x-btn-right{background-position:0 -168px;}
736
- .x-panel-btns-ct .x-btn-focus .x-btn-center{background-position:0 -189px;}
737
- .x-panel-btns-ct .x-btn-over .x-btn-left{background-position:0 -63px;}
738
- .x-panel-btns-ct .x-btn-over .x-btn-right{background-position:0 -84px;}
739
- .x-panel-btns-ct .x-btn-over .x-btn-center{background-position:0 -105px;}
740
- .x-panel-btns-ct .x-btn-click .x-btn-center{background-position:0 -126px;}
741
- .x-panel-btns-ct .x-btn-click .x-btn-right{background-position:0 -84px;}
742
- .x-panel-btns-ct .x-btn-click .x-btn-left{background-position:0 -63px;}
743
-
733
+ .x-panel-ghost{z-index:12000;overflow:hidden;position:absolute;left:0;top:0;opacity:.65;-moz-opacity:.65;filter:alpha(opacity=65);}
734
+ .x-panel-ghost ul{margin:0;padding:0;overflow:hidden;font-size:0;line-height:0;border:1px solid;border-top:0 none;display:block;}
735
+ .x-panel-ghost *{cursor:move !important;}
736
+ .x-panel-dd-spacer{border:2px dashed;}
737
+ .x-panel-btns{padding:5px;overflow:hidden;}
738
+ .x-panel-btns-right .x-panel-fbar{float:right;clear:none;}
739
+ .x-panel-btns-left .x-panel-fbar{clear:none;}
740
+ .x-panel-btns-center{text-align:center;}
741
+ .x-panel-btns-center .x-toolbar-ct{margin:0 auto;text-align:left;width:auto;}
742
+ .x-panel-btns td.x-toolbar-cell{padding:3px;}
743
+ .x-panel-btns .x-btn-focus .x-btn-left{background-position:0 -147px;}
744
+ .x-panel-btns .x-btn-focus .x-btn-right{background-position:0 -168px;}
745
+ .x-panel-btns .x-btn-focus .x-btn-center{background-position:0 -189px;}
746
+ .x-panel-btns .x-btn-over .x-btn-left{background-position:0 -63px;}
747
+ .x-panel-btns .x-btn-over .x-btn-right{background-position:0 -84px;}
748
+ .x-panel-btns .x-btn-over .x-btn-center{background-position:0 -105px;}
749
+ .x-panel-btns .x-btn-click .x-btn-center{background-position:0 -126px;}
750
+ .x-panel-btns .x-btn-click .x-btn-right{background-position:0 -84px;}
751
+ .x-panel-btns .x-btn-click .x-btn-left{background-position:0 -63px;}
752
+ .x-panel-fbar td,.x-panel-fbar span,.x-panel-fbar input,.x-panel-fbar div,.x-panel-fbar select,.x-panel-fbar label{white-space:nowrap;}
753
+ .x-panel-reset .x-panel-body html,
754
+ .x-panel-reset .x-panel-body address,
755
+ .x-panel-reset .x-panel-body blockquote,
756
+ .x-panel-reset .x-panel-body body,
757
+ .x-panel-reset .x-panel-body dd,
758
+ .x-panel-reset .x-panel-body div,
759
+ .x-panel-reset .x-panel-body dl,
760
+ .x-panel-reset .x-panel-body dt,
761
+ .x-panel-reset .x-panel-body fieldset,
762
+ .x-panel-reset .x-panel-body form,
763
+ .x-panel-reset .x-panel-body frame,frameset,
764
+ .x-panel-reset .x-panel-body h1,
765
+ .x-panel-reset .x-panel-body h2,
766
+ .x-panel-reset .x-panel-body h3,
767
+ .x-panel-reset .x-panel-body h4,
768
+ .x-panel-reset .x-panel-body h5,
769
+ .x-panel-reset .x-panel-body h6,
770
+ .x-panel-reset .x-panel-body noframes,
771
+ .x-panel-reset .x-panel-body ol,
772
+ .x-panel-reset .x-panel-body p,
773
+ .x-panel-reset .x-panel-body ul,
774
+ .x-panel-reset .x-panel-body center,
775
+ .x-panel-reset .x-panel-body dir,
776
+ .x-panel-reset .x-panel-body hr,
777
+ .x-panel-reset .x-panel-body menu,
778
+ .x-panel-reset .x-panel-body pre{display:block}
779
+ .x-panel-reset .x-panel-body li{display:list-item}
780
+ .x-panel-reset .x-panel-body head{display:none}
781
+ .x-panel-reset .x-panel-body table{display:table}
782
+ .x-panel-reset .x-panel-body tr{display:table-row}
783
+ .x-panel-reset .x-panel-body thead{display:table-header-group}
784
+ .x-panel-reset .x-panel-body tbody{display:table-row-group}
785
+ .x-panel-reset .x-panel-body tfoot{display:table-footer-group}
786
+ .x-panel-reset .x-panel-body col{display:table-column}
787
+ .x-panel-reset .x-panel-body colgroup{display:table-column-group}
788
+ .x-panel-reset .x-panel-body td,
789
+ .x-panel-reset .x-panel-body th{display:table-cell}
790
+ .x-panel-reset .x-panel-body caption{display:table-caption}
791
+ .x-panel-reset .x-panel-body th{font-weight:bolder;text-align:center}
792
+ .x-panel-reset .x-panel-body caption{text-align:center}
793
+ .x-panel-reset .x-panel-body body{margin:8px}
794
+ .x-panel-reset .x-panel-body h1{font-size:2em;margin:.67em 0}
795
+ .x-panel-reset .x-panel-body h2{font-size:1.5em;margin:.75em 0}
796
+ .x-panel-reset .x-panel-body h3{font-size:1.17em;margin:.83em 0}
797
+ .x-panel-reset .x-panel-body h4,
798
+ .x-panel-reset .x-panel-body p,
799
+ .x-panel-reset .x-panel-body blockquote,
800
+ .x-panel-reset .x-panel-body ul,
801
+ .x-panel-reset .x-panel-body fieldset,
802
+ .x-panel-reset .x-panel-body form,
803
+ .x-panel-reset .x-panel-body ol,
804
+ .x-panel-reset .x-panel-body dl,
805
+ .x-panel-reset .x-panel-body dir,
806
+ .x-panel-reset .x-panel-body menu{margin:1.12em 0}
807
+ .x-panel-reset .x-panel-body h5{font-size:.83em;margin:1.5em 0}
808
+ .x-panel-reset .x-panel-body h6{font-size:.75em;margin:1.67em 0}
809
+ .x-panel-reset .x-panel-body h1,
810
+ .x-panel-reset .x-panel-body h2,
811
+ .x-panel-reset .x-panel-body h3,
812
+ .x-panel-reset .x-panel-body h4,
813
+ .x-panel-reset .x-panel-body h5,
814
+ .x-panel-reset .x-panel-body h6,
815
+ .x-panel-reset .x-panel-body b,
816
+ .x-panel-reset .x-panel-body strong{font-weight:bolder}
817
+ .x-panel-reset .x-panel-body blockquote{margin-left:40px;margin-right:40px}
818
+ .x-panel-reset .x-panel-body i,
819
+ .x-panel-reset .x-panel-body cite,
820
+ .x-panel-reset .x-panel-body em,
821
+ .x-panel-reset .x-panel-body var,
822
+ .x-panel-reset .x-panel-body address{font-style:italic}
823
+ .x-panel-reset .x-panel-body pre,
824
+ .x-panel-reset .x-panel-body tt,
825
+ .x-panel-reset .x-panel-body code,
826
+ .x-panel-reset .x-panel-body kbd,
827
+ .x-panel-reset .x-panel-body samp{font-family:monospace}
828
+ .x-panel-reset .x-panel-body pre{white-space:pre}
829
+ .x-panel-reset .x-panel-body button,
830
+ .x-panel-reset .x-panel-body textarea,
831
+ .x-panel-reset .x-panel-body input,
832
+ .x-panel-reset .x-panel-body select{display:inline-block}
833
+ .x-panel-reset .x-panel-body big{font-size:1.17em}
834
+ .x-panel-reset .x-panel-body small,
835
+ .x-panel-reset .x-panel-body sub,
836
+ .x-panel-reset .x-panel-body sup{font-size:.83em}
837
+ .x-panel-reset .x-panel-body sub{vertical-align:sub}
838
+ .x-panel-reset .x-panel-body sup{vertical-align:super}
839
+ .x-panel-reset .x-panel-body table{border-spacing:2px;}
840
+ .x-panel-reset .x-panel-body thead,
841
+ .x-panel-reset .x-panel-body tbody,
842
+ .x-panel-reset .x-panel-body tfoot{vertical-align:middle}
843
+ .x-panel-reset .x-panel-body td,
844
+ .x-panel-reset .x-panel-body th{vertical-align:inherit}
845
+ .x-panel-reset .x-panel-body s,
846
+ .x-panel-reset .x-panel-body strike,
847
+ .x-panel-reset .x-panel-body del{text-decoration:line-through}
848
+ .x-panel-reset .x-panel-body hr{border:1px inset}
849
+ .x-panel-reset .x-panel-body ol,
850
+ .x-panel-reset .x-panel-body ul,
851
+ .x-panel-reset .x-panel-body dir,
852
+ .x-panel-reset .x-panel-body menu,
853
+ .x-panel-reset .x-panel-body dd{margin-left:40px}
854
+ .x-panel-reset .x-panel-body ul,.x-panel-reset .x-panel-body menu,.x-panel-reset .x-panel-body dir{list-style-type:disc;}
855
+ .x-panel-reset .x-panel-body ol{list-style-type:decimal}
856
+ .x-panel-reset .x-panel-body ol ul,
857
+ .x-panel-reset .x-panel-body ul ol,
858
+ .x-panel-reset .x-panel-body ul ul,
859
+ .x-panel-reset .x-panel-body ol ol{margin-top:0;margin-bottom:0}
860
+ .x-panel-reset .x-panel-body u,
861
+ .x-panel-reset .x-panel-body ins{text-decoration:underline}
862
+ .x-panel-reset .x-panel-body br:before{content:"\A"}
863
+ .x-panel-reset .x-panel-body :before,:after{white-space:pre-line}
864
+ .x-panel-reset .x-panel-body center{text-align:center}
865
+ .x-panel-reset .x-panel-body :link,:visited{text-decoration:underline}
866
+ .x-panel-reset .x-panel-body :focus{outline:thin dotted invert}
867
+ .x-panel-reset .x-panel-body BDO[DIR="ltr"]{direction:ltr;unicode-bidi:bidi-override}
868
+ .x-panel-reset .x-panel-body BDO[DIR="rtl"]{direction:rtl;unicode-bidi:bidi-override}
744
869
  .x-window{zoom:1;}
745
870
  .x-window .x-resizable-handle{opacity:0;-moz-opacity:0;filter:alpha(opacity=0);}
746
- .x-window-proxy{background:#C7DFFC;border:1px solid #99bbe8;z-index:12000;overflow:hidden;position:absolute;left:0;top:0;display:none;opacity:.5;-moz-opacity:.5;filter:alpha(opacity=50);}
871
+ .x-window-proxy{border:1px solid;z-index:12000;overflow:hidden;position:absolute;left:0;top:0;display:none;opacity:.5;-moz-opacity:.5;filter:alpha(opacity=50);}
747
872
  .x-window-header{overflow:hidden;zoom:1;}
748
- .x-window-bwrap{z-index:1;position:relative;zoom:1;}
749
- .x-window-tl .x-window-header{color:#15428b;font:bold 11px tahoma,arial,verdana,sans-serif;padding:5px 0 4px 0;}
873
+ .x-window-bwrap{z-index:1;position:relative;zoom:1;left:0;top:0;}
874
+ .x-window-tl .x-window-header{padding:5px 0 4px 0;}
750
875
  .x-window-header-text{cursor:pointer;}
751
- .x-window-tc{background:transparent url(../images/ext/default/window/top-bottom.png) repeat-x 0 0;overflow:hidden;zoom:1;}
752
- .x-window-tl{background:transparent url(../images/ext/default/window/left-corners.png) no-repeat 0 0;padding-left:6px;zoom:1;z-index:1;position:relative;}
753
- .x-window-tr{background:transparent url(../images/ext/default/window/right-corners.png) no-repeat right 0;padding-right:6px;}
754
- .x-window-bc{background:transparent url(../images/ext/default/window/top-bottom.png) repeat-x 0 bottom;zoom:1;}
876
+ .x-window-tc{background:transparent repeat-x 0 0;overflow:hidden;zoom:1;}
877
+ .x-window-tl{background:transparent no-repeat 0 0;padding-left:6px;zoom:1;z-index:1;position:relative;}
878
+ .x-window-tr{background:transparent no-repeat right 0;padding-right:6px;}
879
+ .x-window-bc{background:transparent repeat-x 0 bottom;zoom:1;}
755
880
  .x-window-bc .x-window-footer{padding-bottom:6px;zoom:1;font-size:0;line-height:0;}
756
- .x-window-bl{background:transparent url(../images/ext/default/window/left-corners.png) no-repeat 0 bottom;padding-left:6px;zoom:1;}
757
- .x-window-br{background:transparent url(../images/ext/default/window/right-corners.png) no-repeat right bottom;padding-right:6px;zoom:1;}
758
- .x-window-mc{border:1px solid #99bbe8;padding:0;margin:0;font:normal 11px tahoma,arial,helvetica,sans-serif;background:#dfe8f6;}
759
- .x-window-ml{background:transparent url(../images/ext/default/window/left-right.png) repeat-y 0 0;padding-left:6px;zoom:1;}
760
- .x-window-mr{background:transparent url(../images/ext/default/window/left-right.png) repeat-y right 0;padding-right:6px;zoom:1;}
881
+ .x-window-bl{background:transparent no-repeat 0 bottom;padding-left:6px;zoom:1;}
882
+ .x-window-br{background:transparent no-repeat right bottom;padding-right:6px;zoom:1;}
883
+ .x-window-mc{border:1px solid;padding:0;margin:0;}
884
+ .x-window-ml{background:transparent repeat-y 0 0;padding-left:6px;zoom:1;}
885
+ .x-window-mr{background:transparent repeat-y right 0;padding-right:6px;zoom:1;}
761
886
  .x-window-body{overflow:hidden;}
762
887
  .x-window-bwrap{overflow:hidden;}
763
- .x-window-maximized .x-window-bl,.x-window-maximized .x-window-br,.x-window-maximized .x-window-ml,.x-window-maximized .x-window-mr,.x-window-maximized .x-window-tl,.x-window-maximized .x-window-tr{padding:0;}
888
+ .x-window-maximized .x-window-bl,.x-window-maximized .x-window-br,
889
+ .x-window-maximized .x-window-ml,.x-window-maximized .x-window-mr,
890
+ .x-window-maximized .x-window-tl,.x-window-maximized .x-window-tr{padding:0;}
764
891
  .x-window-maximized .x-window-footer{padding-bottom:0;}
765
- .x-window-maximized .x-window-tc{padding-left:3px;padding-right:3px;background-color:white;}
892
+ .x-window-maximized .x-window-tc{padding-left:3px;padding-right:3px;}
766
893
  .x-window-maximized .x-window-mc{border-left:0 none;border-right:0 none;}
767
894
  .x-window-tbar .x-toolbar,.x-window-bbar .x-toolbar{border-left:0 none;border-right:0 none;}
768
- .x-window-bbar .x-toolbar{border-top:1px solid #99bbe8;border-bottom:0 none;}
895
+ .x-window-bbar .x-toolbar{border-top:1px solid;border-bottom:0 none;}
769
896
  .x-window-draggable,.x-window-draggable .x-window-header-text{cursor:move;}
770
897
  .x-window-maximized .x-window-draggable,.x-window-maximized .x-window-draggable .x-window-header-text{cursor:default;}
771
898
  .x-window-body{background:transparent;}
772
- .x-panel-ghost .x-window-tl{border-bottom:1px solid #99bbe8;}
773
- .x-panel-collapsed .x-window-tl{border-bottom:1px solid #84a0c4;}
899
+ .x-panel-ghost .x-window-tl{border-bottom:1px solid;}
900
+ .x-panel-collapsed .x-window-tl{border-bottom:1px solid;}
774
901
  .x-window-maximized-ct{overflow:hidden;}
775
902
  .x-window-maximized .x-resizable-handle{display:none;}
776
- .x-window-sizing-ghost ul{border:0 none!important;}
903
+ .x-window-sizing-ghost ul{border:0 none !important;}
777
904
  .x-dlg-focus{-moz-outline:0 none;outline:0 none;width:0;height:0;overflow:hidden;position:absolute;top:0;left:0;}
778
- .x-dlg-mask{z-index:10000;display:none;position:absolute;top:0;left:0;-moz-opacity:0.5;opacity:.50;filter:alpha(opacity=50);background-color:#CCC;}
905
+ .ext-webkit .x-dlg-focus{width:1px;height:1px;}
906
+ .x-dlg-mask{z-index:10000;display:none;position:absolute;top:0;left:0;-moz-opacity:0.5;opacity:.50;filter:alpha(opacity=50);}
779
907
  body.ext-ie6.x-body-masked select{visibility:hidden;}
780
908
  body.ext-ie6.x-body-masked .x-window select{visibility:visible;}
781
- .x-window-plain .x-window-mc{background:#CAD9EC;border-right:1px solid #DFE8F6;border-bottom:1px solid #DFE8F6;border-top:1px solid #a3bae9;border-left:1px solid #a3bae9;}
782
- .x-window-plain .x-window-body{border-left:1px solid #DFE8F6;border-top:1px solid #DFE8F6;border-bottom:1px solid #a3bae9;border-right:1px solid #a3bae9;background:transparent!important;}
783
- body.x-body-masked .x-window-plain .x-window-mc{background:#C7D6E9;}
784
-
785
- .x-html-editor-wrap{border:1px solid #a9bfd3;background:white;}
786
- .x-html-editor-tb .x-btn-text{background:transparent url(../images/ext/default/editor/tb-sprite.gif) no-repeat;}
787
- .x-html-editor-tb .x-edit-bold .x-btn-text{background-position:0 0;}
788
- .x-html-editor-tb .x-edit-italic .x-btn-text{background-position:-16px 0;}
789
- .x-html-editor-tb .x-edit-underline .x-btn-text{background-position:-32px 0;}
790
- .x-html-editor-tb .x-edit-forecolor .x-btn-text{background-position:-160px 0;}
791
- .x-html-editor-tb .x-edit-backcolor .x-btn-text{background-position:-176px 0;}
792
- .x-html-editor-tb .x-edit-justifyleft .x-btn-text{background-position:-112px 0;}
793
- .x-html-editor-tb .x-edit-justifycenter .x-btn-text{background-position:-128px 0;}
794
- .x-html-editor-tb .x-edit-justifyright .x-btn-text{background-position:-144px 0;}
795
- .x-html-editor-tb .x-edit-insertorderedlist .x-btn-text{background-position:-80px 0;}
796
- .x-html-editor-tb .x-edit-insertunorderedlist .x-btn-text{background-position:-96px 0;}
797
- .x-html-editor-tb .x-edit-increasefontsize .x-btn-text{background-position:-48px 0;}
798
- .x-html-editor-tb .x-edit-decreasefontsize .x-btn-text{background-position:-64px 0;}
799
- .x-html-editor-tb .x-edit-sourceedit .x-btn-text{background-position:-192px 0;}
800
- .x-html-editor-tb .x-edit-createlink .x-btn-text{background-position:-208px 0;}
909
+ .x-window-plain .x-window-mc{border:1px solid;}
910
+ .x-window-plain .x-window-body{border:1px solid;background:transparent !important;}
911
+ .x-html-editor-wrap{border:1px solid;}
912
+ .x-html-editor-tb .x-btn-text{background:transparent no-repeat;}
913
+ .x-html-editor-tb .x-edit-bold,.x-menu-item .x-edit-bold{background-position:0 0;background-image:url(../images/ext/default/editor/tb-sprite.gif);}
914
+ .x-html-editor-tb .x-edit-italic,.x-menu-item .x-edit-italic{background-position:-16px 0;background-image:url(../images/ext/default/editor/tb-sprite.gif);}
915
+ .x-html-editor-tb .x-edit-underline,.x-menu-item .x-edit-underline{background-position:-32px 0;background-image:url(../images/ext/default/editor/tb-sprite.gif);}
916
+ .x-html-editor-tb .x-edit-forecolor,.x-menu-item .x-edit-forecolor{background-position:-160px 0;background-image:url(../images/ext/default/editor/tb-sprite.gif);}
917
+ .x-html-editor-tb .x-edit-backcolor,.x-menu-item .x-edit-backcolor{background-position:-176px 0;background-image:url(../images/ext/default/editor/tb-sprite.gif);}
918
+ .x-html-editor-tb .x-edit-justifyleft,.x-menu-item .x-edit-justifyleft{background-position:-112px 0;background-image:url(../images/ext/default/editor/tb-sprite.gif);}
919
+ .x-html-editor-tb .x-edit-justifycenter,.x-menu-item .x-edit-justifycenter{background-position:-128px 0;background-image:url(../images/ext/default/editor/tb-sprite.gif);}
920
+ .x-html-editor-tb .x-edit-justifyright,.x-menu-item .x-edit-justifyright{background-position:-144px 0;background-image:url(../images/ext/default/editor/tb-sprite.gif);}
921
+ .x-html-editor-tb .x-edit-insertorderedlist,.x-menu-item .x-edit-insertorderedlist{background-position:-80px 0;background-image:url(../images/ext/default/editor/tb-sprite.gif);}
922
+ .x-html-editor-tb .x-edit-insertunorderedlist,.x-menu-item .x-edit-insertunorderedlist{background-position:-96px 0;background-image:url(../images/ext/default/editor/tb-sprite.gif);}
923
+ .x-html-editor-tb .x-edit-increasefontsize,.x-menu-item .x-edit-increasefontsize{background-position:-48px 0;background-image:url(../images/ext/default/editor/tb-sprite.gif);}
924
+ .x-html-editor-tb .x-edit-decreasefontsize,.x-menu-item .x-edit-decreasefontsize{background-position:-64px 0;background-image:url(../images/ext/default/editor/tb-sprite.gif);}
925
+ .x-html-editor-tb .x-edit-sourceedit,.x-menu-item .x-edit-sourceedit{background-position:-192px 0;background-image:url(../images/ext/default/editor/tb-sprite.gif);}
926
+ .x-html-editor-tb .x-edit-createlink,.x-menu-item .x-edit-createlink{background-position:-208px 0;background-image:url(../images/ext/default/editor/tb-sprite.gif);}
801
927
  .x-html-editor-tip .x-tip-bd .x-tip-bd-inner{padding:5px;padding-bottom:1px;}
802
- .x-html-editor-tb .x-toolbar{position:static!important;}
803
-
928
+ .x-html-editor-tb .x-toolbar{position:static !important;}
804
929
  .x-panel-noborder .x-panel-body-noborder{border-width:0;}
805
- .x-panel-noborder .x-panel-header-noborder{border-width:0;border-bottom:1px solid #99bbe8;}
806
- .x-panel-noborder .x-panel-tbar-noborder .x-toolbar{border-width:0;border-bottom:1px solid #99bbe8;}
807
- .x-panel-noborder .x-panel-bbar-noborder .x-toolbar{border-width:0;border-top:1px solid #99bbe8;}
930
+ .x-panel-noborder .x-panel-header-noborder{border-width:0 0 1px;border-style:solid;}
931
+ .x-panel-noborder .x-panel-tbar-noborder .x-toolbar{border-width:0 0 1px;border-style:solid;}
932
+ .x-panel-noborder .x-panel-bbar-noborder .x-toolbar{border-width:1px 0 0 0;border-style:solid;}
808
933
  .x-window-noborder .x-window-mc{border-width:0;}
809
934
  .x-window-plain .x-window-body-noborder{border-width:0;}
810
935
  .x-tab-panel-noborder .x-tab-panel-body-noborder{border-width:0;}
811
- .x-tab-panel-noborder .x-tab-panel-header-noborder{border-top-width:0;border-left-width:0;border-right-width:0;}
812
- .x-tab-panel-noborder .x-tab-panel-footer-noborder{border-bottom-width:0;border-left-width:0;border-right-width:0;}
813
- .x-tab-panel-bbar-noborder .x-toolbar{border-width:0;border-top:1px solid #99bbe8;}
814
- .x-tab-panel-tbar-noborder .x-toolbar{border-width:0;border-bottom:1px solid #99bbe8;}
815
-
816
- .x-border-layout-ct{background:#dfe8f6;}
936
+ .x-tab-panel-noborder .x-tab-panel-header-noborder{border-width:0 0 1px 0;}
937
+ .x-tab-panel-noborder .x-tab-panel-footer-noborder{border-width:1px 0 0 0;}
938
+ .x-tab-panel-bbar-noborder .x-toolbar{border-width:1px 0 0 0;border-style:solid;}
939
+ .x-tab-panel-tbar-noborder .x-toolbar{border-width:0 0 1px;border-style:solid;}
940
+ .x-border-layout-ct{position:relative;}
817
941
  .x-border-panel{position:absolute;left:0;top:0;}
818
942
  .x-tool-collapse-south{background-position:0 -195px;}
819
943
  .x-tool-collapse-south-over{background-position:-15px -195px;}
@@ -837,68 +961,468 @@ body.x-body-masked .x-window-plain .x-window-mc{background:#C7D6E9;}
837
961
  .x-accordion-hd .x-tool-toggle-over{background-position:-15px -255px;}
838
962
  .x-panel-collapsed .x-accordion-hd .x-tool-toggle{background-position:0 -240px;}
839
963
  .x-panel-collapsed .x-accordion-hd .x-tool-toggle-over{background-position:-15px -240px;}
840
- .x-accordion-hd{color:#222;padding-top:4px;padding-bottom:3px;border-top:0 none;font-weight:normal;background:transparent url(../images/ext/default/panel/light-hd.gif) repeat-x 0 -9px;}
841
- .x-layout-collapsed{position:absolute;left:-10000px;top:-10000px;visibility:hidden;background-color:#d2e0f2;width:20px;height:20px;overflow:hidden;border:1px solid #98c0f4;z-index:20;}
964
+ .x-accordion-hd{padding-top:4px;padding-bottom:3px;border-top:0 none;background:transparent repeat-x 0 -9px;}
965
+ .x-layout-collapsed{position:absolute;left:-10000px;top:-10000px;visibility:hidden;width:20px;height:20px;overflow:hidden;border:1px solid;z-index:20;}
842
966
  .ext-border-box .x-layout-collapsed{width:22px;height:22px;}
843
- .x-layout-collapsed-over{cursor:pointer;background-color:#d9e8fb;}
967
+ .x-layout-collapsed-over{cursor:pointer;}
844
968
  .x-layout-collapsed-west .x-layout-collapsed-tools,.x-layout-collapsed-east .x-layout-collapsed-tools{position:absolute;top:0;left:0;width:20px;height:20px;}
845
969
  .x-layout-split{position:absolute;height:5px;width:5px;line-height:1px;font-size:1px;z-index:3;background-color:transparent;}
970
+ .ext-strict .ext-ie6 .x-layout-split{background-color:#fff !important;filter:alpha(opacity=1);}
846
971
  .x-layout-split-h{background-image:url(../images/ext/default/s.gif);background-position:left;}
847
972
  .x-layout-split-v{background-image:url(../images/ext/default/s.gif);background-position:top;}
848
973
  .x-column-layout-ct{overflow:hidden;zoom:1;}
849
974
  .x-column{float:left;padding:0;margin:0;overflow:hidden;zoom:1;}
975
+ .x-column-inner{overflow:hidden;zoom:1;}
850
976
  .x-layout-mini{position:absolute;top:0;left:0;display:block;width:5px;height:35px;cursor:pointer;opacity:.5;-moz-opacity:.5;filter:alpha(opacity=50);}
851
977
  .x-layout-mini-over,.x-layout-collapsed-over .x-layout-mini{opacity:1;-moz-opacity:1;filter:none;}
852
- .x-layout-split-west .x-layout-mini{top:48%;background-image:url(../images/ext/default/layout/mini-left.gif);}
853
- .x-layout-split-east .x-layout-mini{top:48%;background-image:url(../images/ext/default/layout/mini-right.gif);}
854
- .x-layout-split-north .x-layout-mini{left:48%;height:5px;width:35px;background-image:url(../images/ext/default/layout/mini-top.gif);}
855
- .x-layout-split-south .x-layout-mini{left:48%;height:5px;width:35px;background-image:url(../images/ext/default/layout/mini-bottom.gif);}
856
- .x-layout-cmini-west .x-layout-mini{top:48%;background-image:url(../images/ext/default/layout/mini-right.gif);}
857
- .x-layout-cmini-east .x-layout-mini{top:48%;background-image:url(../images/ext/default/layout/mini-left.gif);}
858
- .x-layout-cmini-north .x-layout-mini{left:48%;height:5px;width:35px;background-image:url(../images/ext/default/layout/mini-bottom.gif);}
859
- .x-layout-cmini-south .x-layout-mini{left:48%;height:5px;width:35px;background-image:url(../images/ext/default/layout/mini-top.gif);}
860
- .x-layout-cmini-west,.x-layout-cmini-east{border:0 none;width:5px!important;padding:0;background:transparent;}
861
- .x-layout-cmini-north,.x-layout-cmini-south{border:0 none;height:5px!important;padding:0;background:transparent;}
978
+ .x-layout-split-west .x-layout-mini{top:48%;}
979
+ .x-layout-split-east .x-layout-mini{top:48%;}
980
+ .x-layout-split-north .x-layout-mini{left:48%;height:5px;width:35px;}
981
+ .x-layout-split-south .x-layout-mini{left:48%;height:5px;width:35px;}
982
+ .x-layout-cmini-west .x-layout-mini{top:48%;}
983
+ .x-layout-cmini-east .x-layout-mini{top:48%;}
984
+ .x-layout-cmini-north .x-layout-mini{left:48%;height:5px;width:35px;}
985
+ .x-layout-cmini-south .x-layout-mini{left:48%;height:5px;width:35px;}
986
+ .x-layout-cmini-west,.x-layout-cmini-east{border:0 none;width:5px !important;padding:0;background:transparent;}
987
+ .x-layout-cmini-north,.x-layout-cmini-south{border:0 none;height:5px !important;padding:0;background:transparent;}
862
988
  .x-viewport,.x-viewport body{margin:0;padding:0;border:0 none;overflow:hidden;height:100%;}
863
989
  .x-abs-layout-item{position:absolute;left:0;top:0;}
864
990
  .ext-ie input.x-abs-layout-item,.ext-ie textarea.x-abs-layout-item{margin:0;}
865
-
866
- .x-progress-wrap{border:1px solid #6593cf;overflow:hidden;}
867
- .x-progress-inner{height:18px;background:#e0e8f3 url(../images/ext/default/qtip/bg.gif) repeat-x;position:relative;}
868
- .x-progress-bar{height:18px;float:left;width:0;background:#9CBFEE url( ../images/ext/default/progress/progress-bg.gif ) repeat-x left center;border-top:1px solid #D1E4FD;border-bottom:1px solid #7FA9E4;border-right:1px solid #7FA9E4;}
869
- .x-progress-text{font-size:11px;font-weight:bold;color:#fff;padding:1px 5px;overflow:hidden;position:absolute;left:0;text-align:center;}
870
- .x-progress-text-back{color:#396095;line-height:16px;}
991
+ .x-box-layout-ct{overflow:hidden;zoom:1;}
992
+ .x-box-inner{overflow:hidden;zoom:1;position:relative;left:0;top:0;}
993
+ .x-box-item{position:absolute;left:0;top:0;}
994
+ .x-progress-wrap{border:1px solid;overflow:hidden;}
995
+ .x-progress-inner{height:18px;background:repeat-x;position:relative;}
996
+ .x-progress-bar{height:18px;float:left;width:0;background:repeat-x left center;border-top:1px solid;border-bottom:1px solid;border-right:1px solid;}
997
+ .x-progress-text{padding:1px 5px;overflow:hidden;position:absolute;left:0;text-align:center;}
998
+ .x-progress-text-back{line-height:16px;}
871
999
  .ext-ie .x-progress-text-back{line-height:15px;}
872
-
873
- .x-window-dlg .x-window-body{border:0 none!important;padding:5px 10px;overflow:hidden!important;}
874
- .x-window-dlg .x-window-mc{border:0 none!important;}
875
- .x-window-dlg .ext-mb-text,.x-window-dlg .x-window-header-text{font-size:12px;}
876
- .x-window-dlg .ext-mb-input{margin-top:4px;width:95%;}
877
- .x-window-dlg .ext-mb-textarea{margin-top:4px;font:normal 12px tahoma,arial,helvetica,sans-serif;}
878
- .x-window-dlg .x-progress-wrap{margin-top:4px;}
879
- .ext-ie .x-window-dlg .x-progress-wrap{margin-top:6px;}
880
- .x-window-dlg .x-msg-box-wait{background:transparent url(../images/ext/default/grid/loading.gif) no-repeat left;display:block;width:300px;padding-left:18px;line-height:18px;}
881
- .x-window-dlg .ext-mb-icon{float:left;width:47px;height:32px;}
882
- .x-window-dlg .ext-mb-icon{float:left;width:47px;height:32px;}
883
- .ext-ie .x-window-dlg .ext-mb-icon{width:44px;}
884
- .x-window-dlg .ext-mb-info{background:transparent url(../images/ext/default/window/icon-info.gif) no-repeat top left;}
885
- .x-window-dlg .ext-mb-warning{background:transparent url(../images/ext/default/window/icon-warning.gif) no-repeat top left;}
886
- .x-window-dlg .ext-mb-question{background:transparent url(../images/ext/default/window/icon-question.gif) no-repeat top left;}
887
- .x-window-dlg .ext-mb-error{background:transparent url(../images/ext/default/window/icon-error.gif) no-repeat top left;}
888
- .ext-gecko .ext-mb-fix-cursor{overflow:auto;}
889
-
1000
+ .x-list-header{background:repeat-x 0 bottom;cursor:default;zoom:1;height:22px;}
1001
+ .x-list-header-inner div{display:block;float:left;overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis;white-space:nowrap;}
1002
+ .x-list-header-inner div em{display:block;border-left:1px solid;padding:4px 4px;overflow:hidden;-moz-user-select:none;-khtml-user-select:none;line-height:14px;}
1003
+ .x-list-body{overflow:auto;overflow-x:hidden;overflow-y:auto;zoom:1;float:left;width:100%;}
1004
+ .x-list-body dl{zoom:1;}
1005
+ .x-list-body dt{display:block;float:left;overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;zoom:1;}
1006
+ .x-list-body dt em{display:block;padding:3px 4px;overflow:hidden;-moz-user-select:none;-khtml-user-select:none;}
1007
+ .x-list-resizer{border-left:1px solid;border-right:1px solid;position:absolute;left:0;top:0;}
1008
+ .x-list-header-inner em.sort-asc{background:transparent no-repeat center 0;border-style:solid;border-width:0 1px 1px;padding-bottom:3px;}
1009
+ .x-list-header-inner em.sort-desc{background:transparent no-repeat center -23px;border-style:solid;border-width:0 1px 1px;padding-bottom:3px;}
890
1010
  .x-slider{zoom:1;}
891
1011
  .x-slider-inner{position:relative;left:0;top:0;overflow:visible;zoom:1;}
892
- .x-slider-focus{position:absolute;left:0;top:0;width:1px;height:1px;line-height:1px;font-size:1px;-moz-outline:0 none;outline:0 none;-moz-user-select:normal;-khtml-user-select:normal;}
893
- .x-slider-horz{padding-left:7px;background:transparent url(../images/ext/default/slider/slider-bg.png) no-repeat 0 -22px;}
894
- .x-slider-horz .x-slider-end{padding-right:7px;zoom:1;background:transparent url(../images/ext/default/slider/slider-bg.png) no-repeat right -44px;}
895
- .x-slider-horz .x-slider-inner{background:transparent url(../images/ext/default/slider/slider-bg.png) repeat-x 0 0;height:22px;}
896
- .x-slider-horz .x-slider-thumb{width:14px;height:15px;position:absolute;left:0;top:3px;background:transparent url(../images/ext/default/slider/slider-thumb.png) no-repeat 0 0;}
1012
+ .x-slider-focus{position:absolute;left:0;top:0;width:1px;height:1px;line-height:1px;font-size:1px;-moz-outline:0 none;outline:0 none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:ignore;display:block;overflow:hidden;}
1013
+ .x-slider-horz{padding-left:7px;background:transparent no-repeat 0 -22px;}
1014
+ .x-slider-horz .x-slider-end{padding-right:7px;zoom:1;background:transparent no-repeat right -44px;}
1015
+ .x-slider-horz .x-slider-inner{background:transparent repeat-x 0 0;height:22px;}
1016
+ .x-slider-horz .x-slider-thumb{width:14px;height:15px;position:absolute;left:0;top:3px;background:transparent no-repeat 0 0;}
897
1017
  .x-slider-horz .x-slider-thumb-over{background-position:-14px -15px;}
898
1018
  .x-slider-horz .x-slider-thumb-drag{background-position:-28px -30px;}
899
- .x-slider-vert{padding-top:7px;background:transparent url(../images/ext/default/slider/slider-v-bg.png) no-repeat -44px 0;width:22px;}
900
- .x-slider-vert .x-slider-end{padding-bottom:7px;zoom:1;background:transparent url(../images/ext/default/slider/slider-v-bg.png) no-repeat -22px bottom;}
901
- .x-slider-vert .x-slider-inner{background:transparent url(../images/ext/default/slider/slider-v-bg.png) repeat-y 0 0;}
902
- .x-slider-vert .x-slider-thumb{width:15px;height:14px;position:absolute;left:3px;bottom:0;background:transparent url(../images/ext/default/slider/slider-v-thumb.png) no-repeat 0 0;}
1019
+ .x-slider-vert{padding-top:7px;background:transparent no-repeat -44px 0;width:22px;}
1020
+ .x-slider-vert .x-slider-end{padding-bottom:7px;zoom:1;background:transparent no-repeat -22px bottom;}
1021
+ .x-slider-vert .x-slider-inner{background:transparent repeat-y 0 0;}
1022
+ .x-slider-vert .x-slider-thumb{width:15px;height:14px;position:absolute;left:3px;bottom:0;background:transparent no-repeat 0 0;}
903
1023
  .x-slider-vert .x-slider-thumb-over{background-position:-15px -14px;}
904
- .x-slider-vert .x-slider-thumb-drag{background-position:-30px -28px;}
1024
+ .x-slider-vert .x-slider-thumb-drag{background-position:-30px -28px;}
1025
+ .x-window-dlg .x-window-body{border:0 none !important;padding:5px 10px;overflow:hidden !important;}
1026
+ .x-window-dlg .x-window-mc{border:0 none !important;}
1027
+ .x-window-dlg .ext-mb-input{margin-top:4px;width:95%;}
1028
+ .x-window-dlg .ext-mb-textarea{margin-top:4px;}
1029
+ .x-window-dlg .x-progress-wrap{margin-top:4px;}
1030
+ .ext-ie .x-window-dlg .x-progress-wrap{margin-top:6px;}
1031
+ .x-window-dlg .x-msg-box-wait{background:transparent no-repeat left;display:block;width:300px;padding-left:18px;line-height:18px;}
1032
+ .x-window-dlg .ext-mb-icon{float:left;width:47px;height:32px;}
1033
+ .ext-ie .x-window-dlg .ext-mb-icon{width:44px;}
1034
+ .x-window-dlg .x-dlg-icon .ext-mb-content{zoom:1;margin-left:47px;}
1035
+ .x-window-dlg .ext-mb-info,.x-window-dlg .ext-mb-warning,.x-window-dlg .ext-mb-question,.x-window-dlg .ext-mb-error{background:transparent no-repeat top left;}
1036
+ .ext-gecko2 .ext-mb-fix-cursor{overflow:auto;}
1037
+ .ext-el-mask{background-color:#ccc;}
1038
+ .ext-el-mask-msg{border-color:#6593cf;background-color:#c3daf9;background-image:url(../images/ext/default/box/tb-blue.gif);}
1039
+ .ext-el-mask-msg div{background-color:#eee;border-color:#a3bad9;color:#222;font:normal 11px tahoma,arial,helvetica,sans-serif;}
1040
+ .x-mask-loading div{background-color:#fbfbfb;background-image:url(../images/ext/default/grid/loading.gif);}
1041
+ .x-item-disabled{color:gray;}
1042
+ .x-item-disabled *{color:gray !important;}
1043
+ .x-splitbar-proxy{background-color:#aaa;}
1044
+ .x-color-palette a{border-color:#fff;}
1045
+ .x-color-palette a:hover,.x-color-palette a.x-color-palette-sel{border-color:#8bb8f3;background-color:#deecfd;}
1046
+ .x-color-palette em{border-color:#aca899;}
1047
+ .x-ie-shadow{background-color:#777;}
1048
+ .x-shadow .xsmc{background-image:url(../images/ext/default/shadow-c.png);}
1049
+ .x-shadow .xsml,.x-shadow .xsmr{background-image:url(../images/ext/default/shadow-lr.png);}
1050
+ .x-shadow .xstl,.x-shadow .xstc,.x-shadow .xstr,.x-shadow .xsbl,.x-shadow .xsbc,.x-shadow .xsbr{background-image:url(../images/ext/default/shadow.png);}
1051
+ .loading-indicator{font-size:11px;background-image:url(../images/ext/default/grid/loading.gif);}
1052
+ .x-spotlight{background-color:#ccc;}
1053
+ .x-tab-panel-header,.x-tab-panel-footer{background-color:#deecfd;border-color:#8db2e3;overflow:hidden;zoom:1;}
1054
+ .x-tab-panel-header,.x-tab-panel-footer{border-color:#8db2e3;}
1055
+ ul.x-tab-strip-top{background-color:#cedff5;background-image:url(../images/ext/default/tabs/tab-strip-bg.gif);border-bottom-color:#8db2e3;}
1056
+ ul.x-tab-strip-bottom{background-color:#cedff5;background-image:url(../images/ext/default/tabs/tab-strip-btm-bg.gif);border-top-color:#8db2e3;}
1057
+ .x-tab-panel-header-plain .x-tab-strip-spacer,
1058
+ .x-tab-panel-footer-plain .x-tab-strip-spacer{border-color:#8db2e3;background-color:#deecfd;}
1059
+ .x-tab-strip span.x-tab-strip-text{font:normal 11px tahoma,arial,helvetica;color:#416aa3;}
1060
+ .x-tab-strip-over span.x-tab-strip-text{color:#15428b;}
1061
+ .x-tab-strip-active span.x-tab-strip-text{color:#15428b;font-weight:bold;}
1062
+ .x-tab-strip-disabled .x-tabs-text{color:#aaaaaa;}
1063
+ .x-tab-strip-top .x-tab-right,.x-tab-strip-top .x-tab-left,.x-tab-strip-top .x-tab-strip-inner{background-image:url(../images/ext/default/tabs/tabs-sprite.gif);}
1064
+ .x-tab-strip-bottom .x-tab-right{background-image:url(../images/ext/default/tabs/tab-btm-inactive-right-bg.gif);}
1065
+ .x-tab-strip-bottom .x-tab-left{background-image:url(../images/ext/default/tabs/tab-btm-inactive-left-bg.gif);}
1066
+ .x-tab-strip-bottom .x-tab-strip-active .x-tab-right{background-image:url(../images/ext/default/tabs/tab-btm-right-bg.gif);}
1067
+ .x-tab-strip-bottom .x-tab-strip-active .x-tab-left{background-image:url(../images/ext/default/tabs/tab-btm-left-bg.gif);}
1068
+ .x-tab-strip .x-tab-strip-closable a.x-tab-strip-close{background-image:url(../images/ext/default/tabs/tab-close.gif);}
1069
+ .x-tab-strip .x-tab-strip-closable a.x-tab-strip-close:hover{background-image:url(../images/ext/default/tabs/tab-close.gif);}
1070
+ .x-tab-panel-body{border-color:#8db2e3;background-color:#fff;}
1071
+ .x-tab-panel-body-top{border-top:0 none;}
1072
+ .x-tab-panel-body-bottom{border-bottom:0 none;}
1073
+ .x-tab-scroller-left{background-image:url(../images/ext/default/tabs/scroll-left.gif);border-bottom-color:#8db2e3;}
1074
+ .x-tab-scroller-left-over{background-position:0 0;}
1075
+ .x-tab-scroller-left-disabled{background-position:-18px 0;opacity:.5;-moz-opacity:.5;filter:alpha(opacity=50);cursor:default;}
1076
+ .x-tab-scroller-right{background-image:url(../images/ext/default/tabs/scroll-right.gif);border-bottom-color:#8db2e3;}
1077
+ .x-tab-panel-bbar .x-toolbar,.x-tab-panel-tbar .x-toolbar{border-color:#99bbe8;}
1078
+ .x-form-field{font:normal 12px tahoma,arial,helvetica,sans-serif;}
1079
+ .x-form-text,textarea.x-form-field{background-color:#fff;background-image:url(../images/ext/default/form/text-bg.gif);border-color:#b5b8c8;}
1080
+ .x-form-select-one{background-color:#fff;border-color:#b5b8c8;}
1081
+ .x-form-check-group-label{border-bottom:1px solid #99bbe8;color:#15428b;}
1082
+ .x-editor .x-form-check-wrap{background-color:#fff;}
1083
+ .x-form-field-wrap .x-form-trigger{background-image:url(../images/ext/default/form/trigger.gif);border-bottom-color:#b5b8c8;}
1084
+ .x-form-field-wrap .x-form-date-trigger{background-image:url(../images/ext/default/form/date-trigger.gif);}
1085
+ .x-form-field-wrap .x-form-clear-trigger{background-image:url(../images/ext/default/form/clear-trigger.gif);}
1086
+ .x-form-field-wrap .x-form-search-trigger{background-image:url(../images/ext/default/form/search-trigger.gif);}
1087
+ .x-trigger-wrap-focus .x-form-trigger{border-bottom-color:#7eadd9;}
1088
+ .x-item-disabled .x-form-trigger-over{border-bottom-color:#b5b8c8;}
1089
+ .x-item-disabled .x-form-trigger-click{border-bottom-color:#b5b8c8;}
1090
+ .x-form-focus,textarea.x-form-focus{border-color:#7eadd9;}
1091
+ .x-form-invalid,textarea.x-form-invalid{background-color:#fff;background-image:url(../images/ext/default/grid/invalid_line.gif);border-color:#c30;}
1092
+ .ext-safari .x-form-invalid{background-color:#fee;border-color:#ff7870;}
1093
+ .x-form-inner-invalid,textarea.x-form-inner-invalid{background-color:#fff;background-image:url(../images/ext/default/grid/invalid_line.gif);}
1094
+ .x-form-grow-sizer{font:normal 12px tahoma,arial,helvetica,sans-serif;}
1095
+ .x-form-item{font:normal 12px tahoma,arial,helvetica,sans-serif;}
1096
+ .x-form-invalid-msg{color:#c0272b;font:normal 11px tahoma,arial,helvetica,sans-serif;background-image:url(../images/ext/default/shared/warning.gif);}
1097
+ .x-form-empty-field{color:gray;}
1098
+ .x-small-editor .x-form-field{font:normal 11px arial,tahoma,helvetica,sans-serif;}
1099
+ .ext-safari .x-small-editor .x-form-field{font:normal 12px arial,tahoma,helvetica,sans-serif;}
1100
+ .x-form-invalid-icon{background-image:url(../images/ext/default/form/exclamation.gif);}
1101
+ .x-fieldset{border-color:#b5b8c8;}
1102
+ .x-fieldset legend{font:bold 11px tahoma,arial,helvetica,sans-serif;color:#15428b;}
1103
+ .x-btn{font:normal 11px tahoma,verdana,helvetica;}
1104
+ .x-btn button{font:normal 11px arial,tahoma,verdana,helvetica;color:#333;}
1105
+ .x-btn em{font-style:normal;font-weight:normal;}
1106
+ .x-btn-tl,.x-btn-tr,.x-btn-tc,.x-btn-ml,.x-btn-mr,.x-btn-mc,.x-btn-bl,.x-btn-br,.x-btn-bc{background-image:url(../images/ext/default/button/btn.gif);}
1107
+ .x-btn-click .x-btn-text,.x-btn-menu-active .x-btn-text,.x-btn-pressed .x-btn-text{color:#000;}
1108
+ .x-btn-disabled *{color:gray !important;}
1109
+ .x-btn-mc em.x-btn-arrow{background-image:url(../images/ext/default/button/arrow.gif);}
1110
+ .x-btn-mc em.x-btn-split{background-image:url(../images/ext/default/button/s-arrow.gif);}
1111
+ .x-btn-over .x-btn-mc em.x-btn-split,.x-btn-click .x-btn-mc em.x-btn-split,.x-btn-menu-active .x-btn-mc em.x-btn-split,.x-btn-pressed .x-btn-mc em.x-btn-split{background-image:url(../images/ext/default/button/s-arrow-o.gif);}
1112
+ .x-btn-mc em.x-btn-arrow-bottom{background-image:url(../images/ext/default/button/s-arrow-b-noline.gif);}
1113
+ .x-btn-mc em.x-btn-split-bottom{background-image:url(../images/ext/default/button/s-arrow-b.gif);}
1114
+ .x-btn-over .x-btn-mc em.x-btn-split-bottom,.x-btn-click .x-btn-mc em.x-btn-split-bottom,.x-btn-menu-active .x-btn-mc em.x-btn-split-bottom,.x-btn-pressed .x-btn-mc em.x-btn-split-bottom{background-image:url(../images/ext/default/button/s-arrow-bo.gif);}
1115
+ .x-btn-group-header{color:#3e6aaa;}
1116
+ .x-btn-group-tc{background-image:url(../images/ext/default/button/group-tb.gif);}
1117
+ .x-btn-group-tl{background-image:url(../images/ext/default/button/group-cs.gif);}
1118
+ .x-btn-group-tr{background-image:url(../images/ext/default/button/group-cs.gif);}
1119
+ .x-btn-group-bc{background-image:url(../images/ext/default/button/group-tb.gif);}
1120
+ .x-btn-group-bl{background-image:url(../images/ext/default/button/group-cs.gif);}
1121
+ .x-btn-group-br{background-image:url(../images/ext/default/button/group-cs.gif);}
1122
+ .x-btn-group-ml{background-image:url(../images/ext/default/button/group-lr.gif);}
1123
+ .x-btn-group-mr{background-image:url(../images/ext/default/button/group-lr.gif);}
1124
+ .x-btn-group-notitle .x-btn-group-tc{background-image:url(../images/ext/default/button/group-tb.gif);}
1125
+ .x-toolbar{border-color:#a9bfd3;background-color:#d0def0;background-image:url(../images/ext/default/toolbar/bg.gif);}
1126
+ .x-toolbar td,.x-toolbar span,.x-toolbar input,.x-toolbar div,.x-toolbar select,.x-toolbar label{font:normal 11px arial,tahoma,helvetica,sans-serif;}
1127
+ .x-toolbar .x-item-disabled{color:gray;}
1128
+ .x-toolbar .x-item-disabled *{color:gray;}
1129
+ .x-toolbar .x-btn-mc em.x-btn-split{background-image:url(../images/ext/default/button/s-arrow-noline.gif);}
1130
+ .x-toolbar .x-btn-over .x-btn-mc em.x-btn-split,.x-toolbar .x-btn-click .x-btn-mc em.x-btn-split,
1131
+ .x-toolbar .x-btn-menu-active .x-btn-mc em.x-btn-split,.x-toolbar .x-btn-pressed .x-btn-mc em.x-btn-split{background-image:url(../images/ext/default/button/s-arrow-o.gif);}
1132
+ .x-toolbar .x-btn-mc em.x-btn-split-bottom{background-image:url(../images/ext/default/button/s-arrow-b-noline.gif);}
1133
+ .x-toolbar .x-btn-over .x-btn-mc em.x-btn-split-bottom,.x-toolbar .x-btn-click .x-btn-mc em.x-btn-split-bottom,
1134
+ .x-toolbar .x-btn-menu-active .x-btn-mc em.x-btn-split-bottom,.x-toolbar .x-btn-pressed .x-btn-mc em.x-btn-split-bottom{background-image:url(../images/ext/default/button/s-arrow-bo.gif);}
1135
+ .x-toolbar .xtb-sep{background-image:url(../images/ext/default/grid/grid-blue-split.gif);}
1136
+ .x-tbar-page-first{background-image:url(../images/ext/default/grid/page-first.gif) !important;}
1137
+ .x-tbar-loading{background-image:url(../images/ext/default/grid/refresh.gif) !important;}
1138
+ .x-tbar-page-last{background-image:url(../images/ext/default/grid/page-last.gif) !important;}
1139
+ .x-tbar-page-next{background-image:url(../images/ext/default/grid/page-next.gif) !important;}
1140
+ .x-tbar-page-prev{background-image:url(../images/ext/default/grid/page-prev.gif) !important;}
1141
+ .x-item-disabled .x-tbar-loading{background-image:url(../images/ext/default/grid/loading.gif) !important;}
1142
+ .x-item-disabled .x-tbar-page-first{background-image:url(../images/ext/default/grid/page-first-disabled.gif) !important;}
1143
+ .x-item-disabled .x-tbar-page-last{background-image:url(../images/ext/default/grid/page-last-disabled.gif) !important;}
1144
+ .x-item-disabled .x-tbar-page-next{background-image:url(../images/ext/default/grid/page-next-disabled.gif) !important;}
1145
+ .x-item-disabled .x-tbar-page-prev{background-image:url(../images/ext/default/grid/page-prev-disabled.gif) !important;}
1146
+ .x-paging-info{color:#444;}
1147
+ .x-toolbar-more-icon{background-image:url(../images/ext/default/toolbar/more.gif) !important;}
1148
+ .x-statusbar .x-status-busy{background-image:url(../images/ext/default/grid/loading.gif);}
1149
+ .x-statusbar .x-status-text-panel{border-color:#99bbe8 #fff #fff #99bbe8;}
1150
+ .x-resizable-handle{background-color:#fff;}
1151
+ .x-resizable-over .x-resizable-handle-east,.x-resizable-pinned .x-resizable-handle-east,
1152
+ .x-resizable-over .x-resizable-handle-west,.x-resizable-pinned .x-resizable-handle-west{background-image:url(../images/ext/default/sizer/e-handle.gif);}
1153
+ .x-resizable-over .x-resizable-handle-south,.x-resizable-pinned .x-resizable-handle-south,
1154
+ .x-resizable-over .x-resizable-handle-north,.x-resizable-pinned .x-resizable-handle-north{background-image:url(../images/ext/default/sizer/s-handle.gif);}
1155
+ .x-resizable-over .x-resizable-handle-north,.x-resizable-pinned .x-resizable-handle-north{background-image:url(../images/ext/default/sizer/s-handle.gif);}
1156
+ .x-resizable-over .x-resizable-handle-southeast,.x-resizable-pinned .x-resizable-handle-southeast{background-image:url(../images/ext/default/sizer/se-handle.gif);}
1157
+ .x-resizable-over .x-resizable-handle-northwest,.x-resizable-pinned .x-resizable-handle-northwest{background-image:url(../images/ext/default/sizer/nw-handle.gif);}
1158
+ .x-resizable-over .x-resizable-handle-northeast,.x-resizable-pinned .x-resizable-handle-northeast{background-image:url(../images/ext/default/sizer/ne-handle.gif);}
1159
+ .x-resizable-over .x-resizable-handle-southwest,.x-resizable-pinned .x-resizable-handle-southwest{background-image:url(../images/ext/default/sizer/sw-handle.gif);}
1160
+ .x-resizable-proxy{border-color:#3b5a82;}
1161
+ .x-resizable-overlay{background-color:#fff;}
1162
+ .x-grid3{background-color:#fff;}
1163
+ .x-grid-panel .x-panel-mc .x-panel-body{border-color:#99bbe8;}
1164
+ .x-grid3-hd-row td,.x-grid3-row td,.x-grid3-summary-row td{font:normal 11px arial,tahoma,helvetica,sans-serif;}
1165
+ .x-grid3-hd-row td{border-left-color:#eee;border-right-color:#d0d0d0;}
1166
+ .x-grid-row-loading{background-color:#fff;background-image:url(../images/ext/default/shared/loading-balls.gif);}
1167
+ .x-grid3-row{border-color:#ededed;border-top-color:#fff;}
1168
+ .x-grid3-row-alt{background-color:#fafafa;}
1169
+ .x-grid3-row-over{border-color:#ddd;background-color:#efefef;background-image:url(../images/ext/default/grid/row-over.gif);}
1170
+ .x-grid3-resize-proxy{background-color:#777;}
1171
+ .x-grid3-resize-marker{background-color:#777;}
1172
+ .x-grid3-header{background-color:#f9f9f9;background-image:url(../images/ext/default/grid/grid3-hrow.gif);}
1173
+ .x-grid3-header-pop{border-left-color:#d0d0d0;}
1174
+ .x-grid3-header-pop-inner{border-left-color:#eee;background-image:url(../images/ext/default/grid/hd-pop.gif);}
1175
+ td.x-grid3-hd-over,td.sort-desc,td.sort-asc,td.x-grid3-hd-menu-open{border-left-color:#aaccf6;border-right-color:#aaccf6;}
1176
+ td.x-grid3-hd-over .x-grid3-hd-inner,td.sort-desc .x-grid3-hd-inner,td.sort-asc .x-grid3-hd-inner,td.x-grid3-hd-menu-open .x-grid3-hd-inner{background-color:#ebf3fd;background-image:url(../images/ext/default/grid/grid3-hrow-over.gif);}
1177
+ .sort-asc .x-grid3-sort-icon{background-image:url(../images/ext/default/grid/sort_asc.gif);}
1178
+ .sort-desc .x-grid3-sort-icon{background-image:url(../images/ext/default/grid/sort_desc.gif);}
1179
+ .x-grid3-cell-text,.x-grid3-hd-text{color:#000;}
1180
+ .x-grid3-split{background-image:url(../images/ext/default/grid/grid-split.gif);}
1181
+ .x-grid3-hd-text{color:#15428b;}
1182
+ .x-dd-drag-proxy .x-grid3-hd-inner{background-color:#ebf3fd;background-image:url(../images/ext/default/grid/grid3-hrow-over.gif);border-color:#aaccf6;}
1183
+ .col-move-top{background-image:url(../images/ext/default/grid/col-move-top.gif);}
1184
+ .col-move-bottom{background-image:url(../images/ext/default/grid/col-move-bottom.gif);}
1185
+ .x-grid3-row-selected{background-color:#dfe8f6 !important;background-image:none;border-color:#a3bae9;}
1186
+ .x-grid3-cell-selected{background-color:#b8cfee !important;color:#000;}
1187
+ .x-grid3-cell-selected span{color:#000 !important;}
1188
+ .x-grid3-cell-selected .x-grid3-cell-text{color:#000;}
1189
+ .x-grid3-locked td.x-grid3-row-marker,.x-grid3-locked .x-grid3-row-selected td.x-grid3-row-marker{background-color:#ebeadb !important;background-image:url(../images/ext/default/grid/grid-hrow.gif) !important;color:#000;border-top-color:#fff;border-right-color:#6fa0df !important;}
1190
+ .x-grid3-locked td.x-grid3-row-marker div,.x-grid3-locked .x-grid3-row-selected td.x-grid3-row-marker div{color:#15428b !important;}
1191
+ .x-grid3-dirty-cell{background-image:url(../images/ext/default/grid/dirty.gif);}
1192
+ .x-grid3-topbar,.x-grid3-bottombar{font:normal 11px arial,tahoma,helvetica,sans-serif;}
1193
+ .x-grid3-bottombar .x-toolbar{border-top-color:#a9bfd3;}
1194
+ .x-props-grid .x-grid3-td-name .x-grid3-cell-inner{background-image:url(../images/ext/default/grid/grid3-special-col-bg.gif) !important;color:#000 !important;}
1195
+ .x-props-grid .x-grid3-body .x-grid3-td-name{background-color:#fff !important;border-right-color:#eee;}
1196
+ .xg-hmenu-sort-asc .x-menu-item-icon{background-image:url(../images/ext/default/grid/hmenu-asc.gif);}
1197
+ .xg-hmenu-sort-desc .x-menu-item-icon{background-image:url(../images/ext/default/grid/hmenu-desc.gif);}
1198
+ .xg-hmenu-lock .x-menu-item-icon{background-image:url(../images/ext/default/grid/hmenu-lock.gif);}
1199
+ .xg-hmenu-unlock .x-menu-item-icon{background-image:url(../images/ext/default/grid/hmenu-unlock.gif);}
1200
+ .x-grid3-hd-btn{background-color:#c3daf9;background-image:url(../images/ext/default/grid/grid3-hd-btn.gif);}
1201
+ .x-grid3-body .x-grid3-td-expander{background-image:url(../images/ext/default/grid/grid3-special-col-bg.gif);}
1202
+ .x-grid3-row-expander{background-image:url(../images/ext/default/grid/row-expand-sprite.gif);}
1203
+ .x-grid3-body .x-grid3-td-checker{background-image:url(../images/ext/default/grid/grid3-special-col-bg.gif);}
1204
+ .x-grid3-row-checker,.x-grid3-hd-checker{background-image:url(../images/ext/default/grid/row-check-sprite.gif);}
1205
+ .x-grid3-body .x-grid3-td-numberer{background-image:url(../images/ext/default/grid/grid3-special-col-bg.gif);}
1206
+ .x-grid3-body .x-grid3-td-numberer .x-grid3-cell-inner{color:#444;}
1207
+ .x-grid3-body .x-grid3-td-row-icon{background-image:url(../images/ext/default/grid/grid3-special-col-bg.gif);}
1208
+ .x-grid3-body .x-grid3-row-selected .x-grid3-td-numberer,
1209
+ .x-grid3-body .x-grid3-row-selected .x-grid3-td-checker,
1210
+ .x-grid3-body .x-grid3-row-selected .x-grid3-td-expander{background-image:url(../images/ext/default/grid/grid3-special-col-sel-bg.gif);}
1211
+ .x-grid3-check-col{background-image:url(../images/ext/default/menu/unchecked.gif);}
1212
+ .x-grid3-check-col-on{background-image:url(../images/ext/default/menu/checked.gif);}
1213
+ .x-grid-group,.x-grid-group-body,.x-grid-group-hd{zoom:1;}
1214
+ .x-grid-group-hd{border-bottom-color:#99bbe8;}
1215
+ .x-grid-group-hd div{background-image:url(../images/ext/default/grid/group-expand-sprite.gif);color:#3764a0;font:bold 11px tahoma,arial,helvetica,sans-serif;}
1216
+ .x-group-by-icon{background-image:url(../images/ext/default/grid/group-by.gif);}
1217
+ .x-cols-icon{background-image:url(../images/ext/default/grid/columns.gif);}
1218
+ .x-show-groups-icon{background-image:url(../images/ext/default/grid/group-by.gif);}
1219
+ .x-grid-empty{color:gray;font:normal 11px tahoma,arial,helvetica,sans-serif;}
1220
+ .x-grid-with-col-lines .x-grid3-row td.x-grid3-cell{border-right-color:#ededed;}
1221
+ .x-grid-with-col-lines .x-grid3-row{border-top-color:#ededed;}
1222
+ .x-grid-with-col-lines .x-grid3-row-selected{border-top-color:#a3bae9;}
1223
+ .x-dd-drag-ghost{color:#000;font:normal 11px arial,helvetica,sans-serif;border-color:#ddd #bbb #bbb #ddd;background-color:#fff;}
1224
+ .x-dd-drop-nodrop .x-dd-drop-icon{background-image:url(../images/ext/default/dd/drop-no.gif);}
1225
+ .x-dd-drop-ok .x-dd-drop-icon{background-image:url(../images/ext/default/dd/drop-yes.gif);}
1226
+ .x-dd-drop-ok-add .x-dd-drop-icon{background-image:url(../images/ext/default/dd/drop-add.gif);}
1227
+ .x-view-selector{background-color:#c3daf9;border-color:#3399bb;}
1228
+ .x-tree-node-expanded .x-tree-node-icon{background-image:url(../images/ext/default/tree/folder-open.gif);}
1229
+ .x-tree-node-leaf .x-tree-node-icon{background-image:url(../images/ext/default/tree/leaf.gif);}
1230
+ .x-tree-node-collapsed .x-tree-node-icon{background-image:url(../images/ext/default/tree/folder.gif);}
1231
+ .x-tree-node-loading .x-tree-node-icon{background-image:url(../images/ext/default/tree/loading.gif) !important;}
1232
+ .x-tree-node .x-tree-node-inline-icon{background-image:none;}
1233
+ .x-tree-node-loading a span{font-style:italic;color:#444444;}
1234
+ .ext-ie .x-tree-node-el input{width:15px;height:15px;}
1235
+ .x-tree-lines .x-tree-elbow{background-image:url(../images/ext/default/tree/elbow.gif);}
1236
+ .x-tree-lines .x-tree-elbow-plus{background-image:url(../images/ext/default/tree/elbow-plus.gif);}
1237
+ .x-tree-lines .x-tree-elbow-minus{background-image:url(../images/ext/default/tree/elbow-minus.gif);}
1238
+ .x-tree-lines .x-tree-elbow-end{background-image:url(../images/ext/default/tree/elbow-end.gif);}
1239
+ .x-tree-lines .x-tree-elbow-end-plus{background-image:url(../images/ext/default/tree/elbow-end-plus.gif);}
1240
+ .x-tree-lines .x-tree-elbow-end-minus{background-image:url(../images/ext/default/tree/elbow-end-minus.gif);}
1241
+ .x-tree-lines .x-tree-elbow-line{background-image:url(../images/ext/default/tree/elbow-line.gif);}
1242
+ .x-tree-no-lines .x-tree-elbow-plus{background-image:url(../images/ext/default/tree/elbow-plus-nl.gif);}
1243
+ .x-tree-no-lines .x-tree-elbow-minus{background-image:url(../images/ext/default/tree/elbow-minus-nl.gif);}
1244
+ .x-tree-no-lines .x-tree-elbow-end-plus{background-image:url(../images/ext/default/tree/elbow-end-plus-nl.gif);}
1245
+ .x-tree-no-lines .x-tree-elbow-end-minus{background-image:url(../images/ext/default/tree/elbow-end-minus-nl.gif);}
1246
+ .x-tree-arrows .x-tree-elbow-plus{background-image:url(../images/ext/default/tree/arrows.gif);}
1247
+ .x-tree-arrows .x-tree-elbow-minus{background-image:url(../images/ext/default/tree/arrows.gif);}
1248
+ .x-tree-arrows .x-tree-elbow-end-plus{background-image:url(../images/ext/default/tree/arrows.gif);}
1249
+ .x-tree-arrows .x-tree-elbow-end-minus{background-image:url(../images/ext/default/tree/arrows.gif);}
1250
+ .x-tree-node{color:#000;font:normal 11px arial,tahoma,helvetica,sans-serif;}
1251
+ .x-tree-node a,.x-dd-drag-ghost a{color:#000;}
1252
+ .x-tree-node a span,.x-dd-drag-ghost a span{color:#000;}
1253
+ .x-tree-node .x-tree-node-disabled a span{color:gray !important;}
1254
+ .x-tree-node div.x-tree-drag-insert-below{border-bottom-color:#36c;}
1255
+ .x-tree-node div.x-tree-drag-insert-above{border-top-color:#36c;}
1256
+ .x-tree-dd-underline .x-tree-node div.x-tree-drag-insert-below a{border-bottom-color:#36c;}
1257
+ .x-tree-dd-underline .x-tree-node div.x-tree-drag-insert-above a{border-top-color:#36c;}
1258
+ .x-tree-node .x-tree-drag-append a span{background-color:#ddd;border-color:gray;}
1259
+ .x-tree-node .x-tree-node-over{background-color:#eee;}
1260
+ .x-tree-node .x-tree-selected{background-color:#d9e8fb;}
1261
+ .x-tree-drop-ok-append .x-dd-drop-icon{background-image:url(../images/ext/default/tree/drop-add.gif);}
1262
+ .x-tree-drop-ok-above .x-dd-drop-icon{background-image:url(../images/ext/default/tree/drop-over.gif);}
1263
+ .x-tree-drop-ok-below .x-dd-drop-icon{background-image:url(../images/ext/default/tree/drop-under.gif);}
1264
+ .x-tree-drop-ok-between .x-dd-drop-icon{background-image:url(../images/ext/default/tree/drop-between.gif);}
1265
+ .x-date-picker{border-color:#1b376c;background-color:#fff;}
1266
+ .x-date-middle,.x-date-left,.x-date-right{background-image:url(../images/ext/default/shared/hd-sprite.gif);color:#fff;font:bold 11px "sans serif",tahoma,verdana,helvetica;}
1267
+ .x-date-middle .x-btn .x-btn-text{color:#fff;}
1268
+ .x-date-middle .x-btn-mc em.x-btn-arrow{background-image:url(../images/ext/default/toolbar/btn-arrow-light.gif);}
1269
+ .x-date-right a{background-image:url(../images/ext/default/shared/right-btn.gif);}
1270
+ .x-date-left a{background-image:url(../images/ext/default/shared/left-btn.gif);}
1271
+ .x-date-inner th{background-color:#dfecfb;background-image:url(../images/ext/default/shared/glass-bg.gif);border-bottom-color:#a3bad9;font:normal 10px arial,helvetica,tahoma,sans-serif;color:#233d6d;}
1272
+ .x-date-inner td{border-color:#fff;}
1273
+ .x-date-inner a{font:normal 11px arial,helvetica,tahoma,sans-serif;color:#000;}
1274
+ .x-date-inner .x-date-active{color:#000;}
1275
+ .x-date-inner .x-date-selected a{background-color:#dfecfb;background-image:url(../images/ext/default/shared/glass-bg.gif);border-color:#8db2e3;}
1276
+ .x-date-inner .x-date-today a{border-color:darkred;}
1277
+ .x-date-inner .x-date-selected span{font-weight:bold;}
1278
+ .x-date-inner .x-date-prevday a,.x-date-inner .x-date-nextday a{color:#aaa;}
1279
+ .x-date-bottom{border-top-color:#a3bad9;background-color:#dfecfb;background-image:url(../images/ext/default/shared/glass-bg.gif);}
1280
+ .x-date-inner a:hover,.x-date-inner .x-date-disabled a:hover{color:#000;background-color:#ddecfe;}
1281
+ .x-date-inner .x-date-disabled a{background-color:#eee;color:#bbb;}
1282
+ .x-date-mmenu{background-color:#eee !important;}
1283
+ .x-date-mmenu .x-menu-item{font-size:10px;color:#000;}
1284
+ .x-date-mp{background-color:#fff;}
1285
+ .x-date-mp td{font:normal 11px arial,helvetica,tahoma,sans-serif;}
1286
+ .x-date-mp-btns button{background-color:#083772;color:#fff;border-color:#3366cc #000055 #000055 #3366cc;font:normal 11px arial,helvetica,tahoma,sans-serif;}
1287
+ .x-date-mp-btns{background-color:#dfecfb;background-image:url(../images/ext/default/shared/glass-bg.gif);}
1288
+ .x-date-mp-btns td{border-top-color:#c5d2df;}
1289
+ td.x-date-mp-month a,td.x-date-mp-year a{color:#15428b;}
1290
+ td.x-date-mp-month a:hover,td.x-date-mp-year a:hover{color:#15428b;background-color:#ddecfe;}
1291
+ td.x-date-mp-sel a{background-color:#dfecfb;background-image:url(../images/ext/default/shared/glass-bg.gif);border-color:#8db2e3;}
1292
+ .x-date-mp-ybtn a{background-image:url(../images/ext/default/panel/tool-sprites.gif);}
1293
+ td.x-date-mp-sep{border-right-color:#c5d2df;}
1294
+ .x-tip .x-tip-close{background-image:url(../images/ext/default/qtip/close.gif);}
1295
+ .x-tip .x-tip-tc,.x-tip .x-tip-tl,.x-tip .x-tip-tr,.x-tip .x-tip-bc,.x-tip .x-tip-bl,.x-tip .x-tip-br,.x-tip .x-tip-ml,.x-tip .x-tip-mr{background-image:url(../images/ext/default/qtip/tip-sprite.gif);}
1296
+ .x-tip .x-tip-mc{font:normal 11px tahoma,arial,helvetica,sans-serif;}
1297
+ .x-tip .x-tip-ml{background-color:#fff;}
1298
+ .x-tip .x-tip-header-text{font:bold 11px tahoma,arial,helvetica,sans-serif;color:#444;}
1299
+ .x-tip .x-tip-body{font:normal 11px tahoma,arial,helvetica,sans-serif;color:#444;}
1300
+ .x-form-invalid-tip .x-tip-tc,.x-form-invalid-tip .x-tip-tl,.x-form-invalid-tip .x-tip-tr,.x-form-invalid-tip .x-tip-bc,
1301
+ .x-form-invalid-tip .x-tip-bl,.x-form-invalid-tip .x-tip-br,.x-form-invalid-tip .x-tip-ml,.x-form-invalid-tip .x-tip-mr{background-image:url(../images/ext/default/form/error-tip-corners.gif);}
1302
+ .x-form-invalid-tip .x-tip-body{background-image:url(../images/ext/default/form/exclamation.gif);}
1303
+ .x-tip-anchor{background-image:url(../images/ext/default/qtip/tip-anchor-sprite.gif);}
1304
+ .x-menu{border-color:#718bb7;background-color:#f0f0f0;background-image:url(../images/ext/default/menu/menu.gif);}
1305
+ .x-menu-nosep{background-image:none;}
1306
+ .x-menu-list-item{font:normal 11px arial,tahoma,sans-serif;}
1307
+ .x-menu-item-arrow{background-image:url(../images/ext/default/menu/menu-parent.gif);}
1308
+ .x-menu-sep{background-color:#e0e0e0;border-bottom-color:#fff;}
1309
+ a.x-menu-item{color:#222;}
1310
+ .x-menu-item-active{background-image:url(../images/ext/default/menu/item-over.gif);background-color:#dbecf4;border-color:#aaccf6;}
1311
+ .x-menu-item-active a.x-menu-item{border-color:#aaccf6;}
1312
+ .x-menu-check-item .x-menu-item-icon{background-image:url(../images/ext/default/menu/unchecked.gif);}
1313
+ .x-menu-item-checked .x-menu-item-icon{background-image:url(../images/ext/default/menu/checked.gif);}
1314
+ .x-menu-item-checked .x-menu-group-item .x-menu-item-icon{background-image:url(../images/ext/default/menu/group-checked.gif);}
1315
+ .x-menu-group-item .x-menu-item-icon{background-image:none;}
1316
+ .x-menu-plain{background-color:#fff !important;}
1317
+ .x-menu .x-date-picker{border-color:#a3bad9;}
1318
+ .x-cycle-menu .x-menu-item-checked{border-color:#a3bae9 !important;background-color:#def8f6;}
1319
+ .x-menu-scroller-top{background-image:url(../images/ext/default/layout/mini-top.gif);}
1320
+ .x-menu-scroller-bottom{background-image:url(../images/ext/default/layout/mini-bottom.gif);}
1321
+ .x-box-tl{background-image:url(../images/ext/default/box/corners.gif);}
1322
+ .x-box-tc{background-image:url(../images/ext/default/box/tb.gif);}
1323
+ .x-box-tr{background-image:url(../images/ext/default/box/corners.gif);}
1324
+ .x-box-ml{background-image:url(../images/ext/default/box/l.gif);}
1325
+ .x-box-mc{background-color:#eee;background-image:url(../images/ext/default/box/tb.gif);font-family:"Myriad Pro","Myriad Web","Tahoma","Helvetica","Arial",sans-serif;color:#393939;font-size:12px;}
1326
+ .x-box-mc h3{font-size:14px;font-weight:bold;}
1327
+ .x-box-mr{background-image:url(../images/ext/default/box/r.gif);}
1328
+ .x-box-bl{background-image:url(../images/ext/default/box/corners.gif);}
1329
+ .x-box-bc{background-image:url(../images/ext/default/box/tb.gif);}
1330
+ .x-box-br{background-image:url(../images/ext/default/box/corners.gif);}
1331
+ .x-box-blue .x-box-bl,.x-box-blue .x-box-br,.x-box-blue .x-box-tl,.x-box-blue .x-box-tr{background-image:url(../images/ext/default/box/corners-blue.gif);}
1332
+ .x-box-blue .x-box-bc,.x-box-blue .x-box-mc,.x-box-blue .x-box-tc{background-image:url(../images/ext/default/box/tb-blue.gif);}
1333
+ .x-box-blue .x-box-mc{background-color:#c3daf9;}
1334
+ .x-box-blue .x-box-mc h3{color:#17385b;}
1335
+ .x-box-blue .x-box-ml{background-image:url(../images/ext/default/box/l-blue.gif);}
1336
+ .x-box-blue .x-box-mr{background-image:url(../images/ext/default/box/r-blue.gif);}
1337
+ #x-debug-browser .x-tree .x-tree-node a span{color:#222297;font-size:11px;font-family:"monotype","courier new",sans-serif;}
1338
+ #x-debug-browser .x-tree a i{color:#ff4545;font-style:normal;}
1339
+ #x-debug-browser .x-tree a em{color:#999;}
1340
+ #x-debug-browser .x-tree .x-tree-node .x-tree-selected a span{background-color:#c3daf9;}
1341
+ .x-combo-list{border-color:#98c0f4;background-color:#ddecfe;font:normal 12px tahoma,arial,helvetica,sans-serif;}
1342
+ .x-combo-list-inner{background-color:#fff;}
1343
+ .x-combo-list-hd{font:bold 11px tahoma,arial,helvetica,sans-serif;color:#15428b;background-image:url(../images/ext/default/layout/panel-title-light-bg.gif);border-bottom-color:#98c0f4;}
1344
+ .x-resizable-pinned .x-combo-list-inner{border-bottom-color:#98c0f4;}
1345
+ .x-combo-list-item{border-color:#fff;}
1346
+ .x-combo-list .x-combo-selected{border-color:#a3bae9 !important;background-color:#dfe8f6;}
1347
+ .x-combo-list .x-toolbar{border-top-color:#98c0f4;}
1348
+ .x-combo-list-small{font:normal 11px tahoma,arial,helvetica,sans-serif;}
1349
+ .x-panel{border-color:#99bbe8;}
1350
+ .x-panel-header{color:#15428b;font-weight:bold;font-size:11px;font-family:tahoma,arial,verdana,sans-serif;border-color:#99bbe8;background-image:url(../images/ext/default/panel/white-top-bottom.gif);}
1351
+ .x-panel-body{border-color:#99bbe8;background-color:#fff;}
1352
+ .x-panel-bbar .x-toolbar,.x-panel-tbar .x-toolbar{border-color:#99bbe8;}
1353
+ .x-panel-tbar-noheader .x-toolbar,.x-panel-mc .x-panel-tbar .x-toolbar{border-top-color:#99bbe8;}
1354
+ .x-panel-body-noheader,.x-panel-mc .x-panel-body{border-top-color:#99bbe8;}
1355
+ .x-panel-tl .x-panel-header{color:#15428b;font:bold 11px tahoma,arial,verdana,sans-serif;}
1356
+ .x-panel-tc{background-image:url(../images/ext/default/panel/top-bottom.gif);}
1357
+ .x-panel-tl,.x-panel-tr,.x-panel-bl,.x-panel-br{background-image:url(../images/ext/default/panel/corners-sprite.gif);border-bottom-color:#99bbe8;}
1358
+ .x-panel-bc{background-image:url(../images/ext/default/panel/top-bottom.gif);}
1359
+ .x-panel-mc{font:normal 11px tahoma,arial,helvetica,sans-serif;background-color:#dfe8f6;}
1360
+ .x-panel-ml{background-color:#fff;background-image:url(../images/ext/default/panel/left-right.gif);}
1361
+ .x-panel-mr{background-image:url(../images/ext/default/panel/left-right.gif);}
1362
+ .x-tool{background-image:url(../images/ext/default/panel/tool-sprites.gif);}
1363
+ .x-panel-ghost{background-color:#cbddf3;}
1364
+ .x-panel-ghost ul{border-color:#99bbe8;}
1365
+ .x-panel-dd-spacer{border-color:#99bbe8;}
1366
+ .x-panel-fbar td,.x-panel-fbar span,.x-panel-fbar input,.x-panel-fbar div,.x-panel-fbar select,.x-panel-fbar label{font:normal 11px arial,tahoma,helvetica,sans-serif;}
1367
+ .x-window-proxy{background-color:#c7dffc;border-color:#99bbe8;}
1368
+ .x-window-tl .x-window-header{color:#15428b;font:bold 11px tahoma,arial,verdana,sans-serif;}
1369
+ .x-window-tc{background-image:url(../images/ext/default/window/top-bottom.png);}
1370
+ .x-window-tl{background-image:url(../images/ext/default/window/left-corners.png);}
1371
+ .x-window-tr{background-image:url(../images/ext/default/window/right-corners.png);}
1372
+ .x-window-bc{background-image:url(../images/ext/default/window/top-bottom.png);}
1373
+ .x-window-bl{background-image:url(../images/ext/default/window/left-corners.png);}
1374
+ .x-window-br{background-image:url(../images/ext/default/window/right-corners.png);}
1375
+ .x-window-mc{border-color:#99bbe8;font:normal 11px tahoma,arial,helvetica,sans-serif;background-color:#dfe8f6;}
1376
+ .x-window-ml{background-image:url(../images/ext/default/window/left-right.png);}
1377
+ .x-window-mr{background-image:url(../images/ext/default/window/left-right.png);}
1378
+ .x-window-maximized .x-window-tc{background-color:#fff;}
1379
+ .x-window-bbar .x-toolbar{border-top-color:#99bbe8;}
1380
+ .x-panel-ghost .x-window-tl{border-bottom-color:#99bbe8;}
1381
+ .x-panel-collapsed .x-window-tl{border-bottom-color:#84a0c4;}
1382
+ .x-dlg-mask{background-color:#ccc;}
1383
+ .x-window-plain .x-window-mc{background-color:#ccd9e8;border-color:#a3bae9 #dfe8f6 #dfe8f6 #a3bae9;}
1384
+ .x-window-plain .x-window-body{border-color:#dfe8f6 #a3bae9 #a3bae9 #dfe8f6;}
1385
+ body.x-body-masked .x-window-plain .x-window-mc{background-color:#ccd9e8;}
1386
+ .x-html-editor-wrap{border-color:#a9bfd3;background-color:#fff;}
1387
+ .x-html-editor-tb .x-btn-text{background-image:url(../images/ext/default/editor/tb-sprite.gif);}
1388
+ .x-panel-noborder .x-panel-header-noborder{border-bottom-color:#99bbe8;}
1389
+ .x-panel-noborder .x-panel-tbar-noborder .x-toolbar{border-bottom-color:#99bbe8;}
1390
+ .x-panel-noborder .x-panel-bbar-noborder .x-toolbar{border-top-color:#99bbe8;}
1391
+ .x-tab-panel-bbar-noborder .x-toolbar{border-top-color:#99bbe8;}
1392
+ .x-tab-panel-tbar-noborder .x-toolbar{border-bottom-color:#99bbe8;}
1393
+ .x-border-layout-ct{background-color:#dfe8f6;}
1394
+ .x-accordion-hd{color:#222;font-weight:normal;background-image:url(../images/ext/default/panel/light-hd.gif);}
1395
+ .x-layout-collapsed{background-color:#d2e0f2;border-color:#98c0f4;}
1396
+ .x-layout-collapsed-over{background-color:#d9e8fb;}
1397
+ .x-layout-split-west .x-layout-mini{background-image:url(../images/ext/default/layout/mini-left.gif);}
1398
+ .x-layout-split-east .x-layout-mini{background-image:url(../images/ext/default/layout/mini-right.gif);}
1399
+ .x-layout-split-north .x-layout-mini{background-image:url(../images/ext/default/layout/mini-top.gif);}
1400
+ .x-layout-split-south .x-layout-mini{background-image:url(../images/ext/default/layout/mini-bottom.gif);}
1401
+ .x-layout-cmini-west .x-layout-mini{background-image:url(../images/ext/default/layout/mini-right.gif);}
1402
+ .x-layout-cmini-east .x-layout-mini{background-image:url(../images/ext/default/layout/mini-left.gif);}
1403
+ .x-layout-cmini-north .x-layout-mini{background-image:url(../images/ext/default/layout/mini-bottom.gif);}
1404
+ .x-layout-cmini-south .x-layout-mini{background-image:url(../images/ext/default/layout/mini-top.gif);}
1405
+ .x-progress-wrap{border-color:#6593cf;}
1406
+ .x-progress-inner{background-color:#e0e8f3;background-image:url(../images/ext/default/qtip/bg.gif);}
1407
+ .x-progress-bar{background-color:#9cbfee;background-image:url(../images/ext/default/progress/progress-bg.gif);border-top-color:#d1e4fd;border-bottom-color:#7fa9e4;border-right-color:#7fa9e4;}
1408
+ .x-progress-text{font-size:11px;font-weight:bold;color:#fff;}
1409
+ .x-progress-text-back{color:#396095;}
1410
+ .x-list-header{background-color:#f9f9f9;background-image:url(../images/ext/default/grid/grid3-hrow.gif);}
1411
+ .x-list-header-inner div em{border-left-color:#ddd;font:normal 11px arial,tahoma,helvetica,sans-serif;}
1412
+ .x-list-body dt em{font:normal 11px arial,tahoma,helvetica,sans-serif;}
1413
+ .x-list-over{background-color:#eee;}
1414
+ .x-list-selected{background-color:#dfe8f6;}
1415
+ .x-list-resizer{border-left-color:#555;border-right-color:#555;}
1416
+ .x-list-header-inner em.sort-asc,.x-list-header-inner em.sort-desc{background-image:url(../images/ext/default/grid/sort-hd.gif);border-color:#99bbe8;}
1417
+ .x-slider-horz,.x-slider-horz .x-slider-end,.x-slider-horz .x-slider-inner{background-image:url(../images/ext/default/slider/slider-bg.png);}
1418
+ .x-slider-horz .x-slider-thumb{background-image:url(../images/ext/default/slider/slider-thumb.png);}
1419
+ .x-slider-vert,.x-slider-vert .x-slider-end,.x-slider-vert .x-slider-inner{background-image:url(../images/ext/default/slider/slider-v-bg.png);}
1420
+ .x-slider-vert .x-slider-thumb{background-image:url(../images/ext/default/slider/slider-v-thumb.png);}
1421
+ .x-window-dlg .ext-mb-text,
1422
+ .x-window-dlg .x-window-header-text{font-size:12px;}
1423
+ .x-window-dlg .ext-mb-textarea{font:normal 12px tahoma,arial,helvetica,sans-serif;}
1424
+ .x-window-dlg .x-msg-box-wait{background-image:url(../images/ext/default/grid/loading.gif);}
1425
+ .x-window-dlg .ext-mb-info{background-image:url(../images/ext/default/window/icon-info.gif);}
1426
+ .x-window-dlg .ext-mb-warning{background-image:url(../images/ext/default/window/icon-warning.gif);}
1427
+ .x-window-dlg .ext-mb-question{background-image:url(../images/ext/default/window/icon-question.gif);}
1428
+ .x-window-dlg .ext-mb-error{background-image:url(../images/ext/default/window/icon-error.gif);}