yui-rails-asset 2.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (398) hide show
  1. data/LICENSE +21 -0
  2. data/README +17 -0
  3. data/lib/yui/rails.rb +29 -0
  4. data/lib/yui/rails/engine.rb +10 -0
  5. data/lib/yui/rails/version.rb +6 -0
  6. data/vendor/assets/javascripts/yui-2.8.1/build/animation/animation-debug.js +1396 -0
  7. data/vendor/assets/javascripts/yui-2.8.1/build/animation/animation-min.js +23 -0
  8. data/vendor/assets/javascripts/yui-2.8.1/build/animation/animation.js +1392 -0
  9. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/ajax-loader.gif +0 -0
  10. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/asc.gif +0 -0
  11. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/autocomplete.css +7 -0
  12. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/back-h.png +0 -0
  13. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/back-v.png +0 -0
  14. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/bar-h.png +0 -0
  15. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/bar-v.png +0 -0
  16. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/bg-h.gif +0 -0
  17. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/bg-v.gif +0 -0
  18. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/blankimage.png +0 -0
  19. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/button.css +7 -0
  20. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/calendar.css +8 -0
  21. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/carousel.css +7 -0
  22. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/check0.gif +0 -0
  23. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/check1.gif +0 -0
  24. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/check2.gif +0 -0
  25. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/colorpicker.css +7 -0
  26. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/container.css +7 -0
  27. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/datatable.css +8 -0
  28. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/desc.gif +0 -0
  29. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/dt-arrow-dn.png +0 -0
  30. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/dt-arrow-up.png +0 -0
  31. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/editor-knob.gif +0 -0
  32. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/editor-sprite-active.gif +0 -0
  33. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/editor-sprite.gif +0 -0
  34. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/editor.css +10 -0
  35. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/header_background.png +0 -0
  36. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/hue_bg.png +0 -0
  37. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/imagecropper.css +7 -0
  38. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/layout.css +7 -0
  39. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/layout_sprite.png +0 -0
  40. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/loading.gif +0 -0
  41. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/logger.css +7 -0
  42. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/menu-button-arrow-disabled.png +0 -0
  43. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/menu-button-arrow.png +0 -0
  44. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/menu.css +7 -0
  45. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/menubaritem_submenuindicator.png +0 -0
  46. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/menubaritem_submenuindicator_disabled.png +0 -0
  47. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/menuitem_checkbox.png +0 -0
  48. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/menuitem_checkbox_disabled.png +0 -0
  49. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/menuitem_submenuindicator.png +0 -0
  50. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/menuitem_submenuindicator_disabled.png +0 -0
  51. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/paginator.css +7 -0
  52. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/picker_mask.png +0 -0
  53. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/profilerviewer.css +7 -0
  54. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/progressbar.css +7 -0
  55. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/resize.css +7 -0
  56. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/simpleeditor.css +10 -0
  57. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/skin.css +36 -0
  58. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/slider.css +7 -0
  59. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/split-button-arrow-active.png +0 -0
  60. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/split-button-arrow-disabled.png +0 -0
  61. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/split-button-arrow-focus.png +0 -0
  62. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/split-button-arrow-hover.png +0 -0
  63. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/split-button-arrow.png +0 -0
  64. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/sprite.png +0 -0
  65. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/sprite.psd +0 -0
  66. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/tabview.css +8 -0
  67. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/treeview-loading.gif +0 -0
  68. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/treeview-sprite.gif +0 -0
  69. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/treeview.css +7 -0
  70. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/wait.gif +0 -0
  71. data/vendor/assets/javascripts/yui-2.8.1/build/assets/skins/sam/yuitest.css +7 -0
  72. data/vendor/assets/javascripts/yui-2.8.1/build/autocomplete/assets/autocomplete-core.css +7 -0
  73. data/vendor/assets/javascripts/yui-2.8.1/build/autocomplete/assets/skins/sam/autocomplete-skin.css +57 -0
  74. data/vendor/assets/javascripts/yui-2.8.1/build/autocomplete/assets/skins/sam/autocomplete.css +7 -0
  75. data/vendor/assets/javascripts/yui-2.8.1/build/autocomplete/autocomplete-debug.js +3009 -0
  76. data/vendor/assets/javascripts/yui-2.8.1/build/autocomplete/autocomplete-min.js +12 -0
  77. data/vendor/assets/javascripts/yui-2.8.1/build/autocomplete/autocomplete.js +2966 -0
  78. data/vendor/assets/javascripts/yui-2.8.1/build/base/base-min.css +7 -0
  79. data/vendor/assets/javascripts/yui-2.8.1/build/base/base.css +131 -0
  80. data/vendor/assets/javascripts/yui-2.8.1/build/button/assets/button-core.css +44 -0
  81. data/vendor/assets/javascripts/yui-2.8.1/build/button/assets/skins/sam/button-skin.css +219 -0
  82. data/vendor/assets/javascripts/yui-2.8.1/build/button/assets/skins/sam/button.css +7 -0
  83. data/vendor/assets/javascripts/yui-2.8.1/build/button/assets/skins/sam/menu-button-arrow-disabled.png +0 -0
  84. data/vendor/assets/javascripts/yui-2.8.1/build/button/assets/skins/sam/menu-button-arrow.png +0 -0
  85. data/vendor/assets/javascripts/yui-2.8.1/build/button/assets/skins/sam/split-button-arrow-active.png +0 -0
  86. data/vendor/assets/javascripts/yui-2.8.1/build/button/assets/skins/sam/split-button-arrow-disabled.png +0 -0
  87. data/vendor/assets/javascripts/yui-2.8.1/build/button/assets/skins/sam/split-button-arrow-focus.png +0 -0
  88. data/vendor/assets/javascripts/yui-2.8.1/build/button/assets/skins/sam/split-button-arrow-hover.png +0 -0
  89. data/vendor/assets/javascripts/yui-2.8.1/build/button/assets/skins/sam/split-button-arrow.png +0 -0
  90. data/vendor/assets/javascripts/yui-2.8.1/build/button/button-debug.js +4694 -0
  91. data/vendor/assets/javascripts/yui-2.8.1/build/button/button-min.js +11 -0
  92. data/vendor/assets/javascripts/yui-2.8.1/build/button/button.js +4633 -0
  93. data/vendor/assets/javascripts/yui-2.8.1/build/calendar/assets/calendar-core.css +132 -0
  94. data/vendor/assets/javascripts/yui-2.8.1/build/calendar/assets/calendar.css +320 -0
  95. data/vendor/assets/javascripts/yui-2.8.1/build/calendar/assets/calgrad.png +0 -0
  96. data/vendor/assets/javascripts/yui-2.8.1/build/calendar/assets/callt.gif +0 -0
  97. data/vendor/assets/javascripts/yui-2.8.1/build/calendar/assets/calrt.gif +0 -0
  98. data/vendor/assets/javascripts/yui-2.8.1/build/calendar/assets/calx.gif +0 -0
  99. data/vendor/assets/javascripts/yui-2.8.1/build/calendar/assets/skins/sam/calendar-skin.css +361 -0
  100. data/vendor/assets/javascripts/yui-2.8.1/build/calendar/assets/skins/sam/calendar.css +8 -0
  101. data/vendor/assets/javascripts/yui-2.8.1/build/calendar/calendar-debug.js +7324 -0
  102. data/vendor/assets/javascripts/yui-2.8.1/build/calendar/calendar-min.js +18 -0
  103. data/vendor/assets/javascripts/yui-2.8.1/build/calendar/calendar.js +7294 -0
  104. data/vendor/assets/javascripts/yui-2.8.1/build/carousel/assets/ajax-loader.gif +0 -0
  105. data/vendor/assets/javascripts/yui-2.8.1/build/carousel/assets/carousel-core.css +88 -0
  106. data/vendor/assets/javascripts/yui-2.8.1/build/carousel/assets/skins/sam/ajax-loader.gif +0 -0
  107. data/vendor/assets/javascripts/yui-2.8.1/build/carousel/assets/skins/sam/carousel-skin.css +142 -0
  108. data/vendor/assets/javascripts/yui-2.8.1/build/carousel/assets/skins/sam/carousel.css +7 -0
  109. data/vendor/assets/javascripts/yui-2.8.1/build/carousel/carousel-debug.js +4390 -0
  110. data/vendor/assets/javascripts/yui-2.8.1/build/carousel/carousel-min.js +12 -0
  111. data/vendor/assets/javascripts/yui-2.8.1/build/carousel/carousel.js +4349 -0
  112. data/vendor/assets/javascripts/yui-2.8.1/build/charts/assets/charts.swf +0 -0
  113. data/vendor/assets/javascripts/yui-2.8.1/build/charts/charts-debug.js +2061 -0
  114. data/vendor/assets/javascripts/yui-2.8.1/build/charts/charts-min.js +9 -0
  115. data/vendor/assets/javascripts/yui-2.8.1/build/charts/charts.js +2060 -0
  116. data/vendor/assets/javascripts/yui-2.8.1/build/colorpicker/assets/colorpicker-core.css +6 -0
  117. data/vendor/assets/javascripts/yui-2.8.1/build/colorpicker/assets/hue_thumb.png +0 -0
  118. data/vendor/assets/javascripts/yui-2.8.1/build/colorpicker/assets/picker_mask.png +0 -0
  119. data/vendor/assets/javascripts/yui-2.8.1/build/colorpicker/assets/picker_thumb.png +0 -0
  120. data/vendor/assets/javascripts/yui-2.8.1/build/colorpicker/assets/skins/sam/colorpicker-skin.css +105 -0
  121. data/vendor/assets/javascripts/yui-2.8.1/build/colorpicker/assets/skins/sam/colorpicker.css +7 -0
  122. data/vendor/assets/javascripts/yui-2.8.1/build/colorpicker/assets/skins/sam/hue_bg.png +0 -0
  123. data/vendor/assets/javascripts/yui-2.8.1/build/colorpicker/assets/skins/sam/picker_mask.png +0 -0
  124. data/vendor/assets/javascripts/yui-2.8.1/build/colorpicker/colorpicker-debug.js +1783 -0
  125. data/vendor/assets/javascripts/yui-2.8.1/build/colorpicker/colorpicker-min.js +9 -0
  126. data/vendor/assets/javascripts/yui-2.8.1/build/colorpicker/colorpicker.js +1763 -0
  127. data/vendor/assets/javascripts/yui-2.8.1/build/connection/connection-debug.js +1576 -0
  128. data/vendor/assets/javascripts/yui-2.8.1/build/connection/connection-min.js +9 -0
  129. data/vendor/assets/javascripts/yui-2.8.1/build/connection/connection.js +1546 -0
  130. data/vendor/assets/javascripts/yui-2.8.1/build/connection/connection.swf +0 -0
  131. data/vendor/assets/javascripts/yui-2.8.1/build/connection/connection_core-debug.js +980 -0
  132. data/vendor/assets/javascripts/yui-2.8.1/build/connection/connection_core-min.js +8 -0
  133. data/vendor/assets/javascripts/yui-2.8.1/build/connection/connection_core.js +957 -0
  134. data/vendor/assets/javascripts/yui-2.8.1/build/container/assets/alrt16_1.gif +0 -0
  135. data/vendor/assets/javascripts/yui-2.8.1/build/container/assets/blck16_1.gif +0 -0
  136. data/vendor/assets/javascripts/yui-2.8.1/build/container/assets/close12_1.gif +0 -0
  137. data/vendor/assets/javascripts/yui-2.8.1/build/container/assets/container-core.css +176 -0
  138. data/vendor/assets/javascripts/yui-2.8.1/build/container/assets/container.css +324 -0
  139. data/vendor/assets/javascripts/yui-2.8.1/build/container/assets/hlp16_1.gif +0 -0
  140. data/vendor/assets/javascripts/yui-2.8.1/build/container/assets/info16_1.gif +0 -0
  141. data/vendor/assets/javascripts/yui-2.8.1/build/container/assets/skins/sam/container-skin.css +242 -0
  142. data/vendor/assets/javascripts/yui-2.8.1/build/container/assets/skins/sam/container.css +7 -0
  143. data/vendor/assets/javascripts/yui-2.8.1/build/container/assets/tip16_1.gif +0 -0
  144. data/vendor/assets/javascripts/yui-2.8.1/build/container/assets/warn16_1.gif +0 -0
  145. data/vendor/assets/javascripts/yui-2.8.1/build/container/container-debug.js +9076 -0
  146. data/vendor/assets/javascripts/yui-2.8.1/build/container/container-min.js +19 -0
  147. data/vendor/assets/javascripts/yui-2.8.1/build/container/container.js +9052 -0
  148. data/vendor/assets/javascripts/yui-2.8.1/build/container/container_core-debug.js +5136 -0
  149. data/vendor/assets/javascripts/yui-2.8.1/build/container/container_core-min.js +14 -0
  150. data/vendor/assets/javascripts/yui-2.8.1/build/container/container_core.js +5126 -0
  151. data/vendor/assets/javascripts/yui-2.8.1/build/cookie/cookie-debug.js +482 -0
  152. data/vendor/assets/javascripts/yui-2.8.1/build/cookie/cookie-min.js +7 -0
  153. data/vendor/assets/javascripts/yui-2.8.1/build/cookie/cookie.js +482 -0
  154. data/vendor/assets/javascripts/yui-2.8.1/build/datasource/datasource-debug.js +3067 -0
  155. data/vendor/assets/javascripts/yui-2.8.1/build/datasource/datasource-min.js +12 -0
  156. data/vendor/assets/javascripts/yui-2.8.1/build/datasource/datasource.js +2996 -0
  157. data/vendor/assets/javascripts/yui-2.8.1/build/datatable/assets/datatable-core.css +93 -0
  158. data/vendor/assets/javascripts/yui-2.8.1/build/datatable/assets/datatable.css +49 -0
  159. data/vendor/assets/javascripts/yui-2.8.1/build/datatable/assets/skins/sam/datatable-skin.css +240 -0
  160. data/vendor/assets/javascripts/yui-2.8.1/build/datatable/assets/skins/sam/datatable.css +8 -0
  161. data/vendor/assets/javascripts/yui-2.8.1/build/datatable/assets/skins/sam/dt-arrow-dn.png +0 -0
  162. data/vendor/assets/javascripts/yui-2.8.1/build/datatable/assets/skins/sam/dt-arrow-up.png +0 -0
  163. data/vendor/assets/javascripts/yui-2.8.1/build/datatable/datatable-debug.js +17360 -0
  164. data/vendor/assets/javascripts/yui-2.8.1/build/datatable/datatable-min.js +29 -0
  165. data/vendor/assets/javascripts/yui-2.8.1/build/datatable/datatable.js +17122 -0
  166. data/vendor/assets/javascripts/yui-2.8.1/build/datemath/datemath-debug.js +408 -0
  167. data/vendor/assets/javascripts/yui-2.8.1/build/datemath/datemath-min.js +7 -0
  168. data/vendor/assets/javascripts/yui-2.8.1/build/datemath/datemath.js +408 -0
  169. data/vendor/assets/javascripts/yui-2.8.1/build/dom/dom-debug.js +1872 -0
  170. data/vendor/assets/javascripts/yui-2.8.1/build/dom/dom-min.js +9 -0
  171. data/vendor/assets/javascripts/yui-2.8.1/build/dom/dom.js +1832 -0
  172. data/vendor/assets/javascripts/yui-2.8.1/build/dragdrop/dragdrop-debug.js +3710 -0
  173. data/vendor/assets/javascripts/yui-2.8.1/build/dragdrop/dragdrop-min.js +10 -0
  174. data/vendor/assets/javascripts/yui-2.8.1/build/dragdrop/dragdrop.js +3601 -0
  175. data/vendor/assets/javascripts/yui-2.8.1/build/editor/assets/editor-core.css +602 -0
  176. data/vendor/assets/javascripts/yui-2.8.1/build/editor/assets/simpleeditor-core.css +602 -0
  177. data/vendor/assets/javascripts/yui-2.8.1/build/editor/assets/skins/sam/blankimage.png +0 -0
  178. data/vendor/assets/javascripts/yui-2.8.1/build/editor/assets/skins/sam/editor-knob.gif +0 -0
  179. data/vendor/assets/javascripts/yui-2.8.1/build/editor/assets/skins/sam/editor-skin.css +711 -0
  180. data/vendor/assets/javascripts/yui-2.8.1/build/editor/assets/skins/sam/editor-sprite-active.gif +0 -0
  181. data/vendor/assets/javascripts/yui-2.8.1/build/editor/assets/skins/sam/editor-sprite.gif +0 -0
  182. data/vendor/assets/javascripts/yui-2.8.1/build/editor/assets/skins/sam/editor.css +10 -0
  183. data/vendor/assets/javascripts/yui-2.8.1/build/editor/assets/skins/sam/simpleeditor-skin.css +711 -0
  184. data/vendor/assets/javascripts/yui-2.8.1/build/editor/assets/skins/sam/simpleeditor.css +10 -0
  185. data/vendor/assets/javascripts/yui-2.8.1/build/editor/editor-debug.js +9557 -0
  186. data/vendor/assets/javascripts/yui-2.8.1/build/editor/editor-min.js +30 -0
  187. data/vendor/assets/javascripts/yui-2.8.1/build/editor/editor.js +9447 -0
  188. data/vendor/assets/javascripts/yui-2.8.1/build/editor/simpleeditor-debug.js +7493 -0
  189. data/vendor/assets/javascripts/yui-2.8.1/build/editor/simpleeditor-min.js +24 -0
  190. data/vendor/assets/javascripts/yui-2.8.1/build/editor/simpleeditor.js +7406 -0
  191. data/vendor/assets/javascripts/yui-2.8.1/build/element-delegate/element-delegate-debug.js +141 -0
  192. data/vendor/assets/javascripts/yui-2.8.1/build/element-delegate/element-delegate-min.js +7 -0
  193. data/vendor/assets/javascripts/yui-2.8.1/build/element-delegate/element-delegate.js +138 -0
  194. data/vendor/assets/javascripts/yui-2.8.1/build/element/element-debug.js +1106 -0
  195. data/vendor/assets/javascripts/yui-2.8.1/build/element/element-min.js +8 -0
  196. data/vendor/assets/javascripts/yui-2.8.1/build/element/element.js +1090 -0
  197. data/vendor/assets/javascripts/yui-2.8.1/build/event-delegate/event-delegate-debug.js +283 -0
  198. data/vendor/assets/javascripts/yui-2.8.1/build/event-delegate/event-delegate-min.js +7 -0
  199. data/vendor/assets/javascripts/yui-2.8.1/build/event-delegate/event-delegate.js +281 -0
  200. data/vendor/assets/javascripts/yui-2.8.1/build/event-mouseenter/event-mouseenter-debug.js +219 -0
  201. data/vendor/assets/javascripts/yui-2.8.1/build/event-mouseenter/event-mouseenter-min.js +7 -0
  202. data/vendor/assets/javascripts/yui-2.8.1/build/event-mouseenter/event-mouseenter.js +219 -0
  203. data/vendor/assets/javascripts/yui-2.8.1/build/event-simulate/event-simulate-debug.js +622 -0
  204. data/vendor/assets/javascripts/yui-2.8.1/build/event-simulate/event-simulate-min.js +7 -0
  205. data/vendor/assets/javascripts/yui-2.8.1/build/event-simulate/event-simulate.js +622 -0
  206. data/vendor/assets/javascripts/yui-2.8.1/build/event/event-debug.js +2524 -0
  207. data/vendor/assets/javascripts/yui-2.8.1/build/event/event-min.js +11 -0
  208. data/vendor/assets/javascripts/yui-2.8.1/build/event/event.js +2500 -0
  209. data/vendor/assets/javascripts/yui-2.8.1/build/fonts/fonts-min.css +7 -0
  210. data/vendor/assets/javascripts/yui-2.8.1/build/fonts/fonts.css +56 -0
  211. data/vendor/assets/javascripts/yui-2.8.1/build/get/get-debug.js +773 -0
  212. data/vendor/assets/javascripts/yui-2.8.1/build/get/get-min.js +7 -0
  213. data/vendor/assets/javascripts/yui-2.8.1/build/get/get.js +755 -0
  214. data/vendor/assets/javascripts/yui-2.8.1/build/grids/grids-min.css +7 -0
  215. data/vendor/assets/javascripts/yui-2.8.1/build/grids/grids.css +467 -0
  216. data/vendor/assets/javascripts/yui-2.8.1/build/history/assets/blank.html +1 -0
  217. data/vendor/assets/javascripts/yui-2.8.1/build/history/history-debug.js +808 -0
  218. data/vendor/assets/javascripts/yui-2.8.1/build/history/history-min.js +7 -0
  219. data/vendor/assets/javascripts/yui-2.8.1/build/history/history.js +808 -0
  220. data/vendor/assets/javascripts/yui-2.8.1/build/imagecropper/assets/imagecropper-core.css +33 -0
  221. data/vendor/assets/javascripts/yui-2.8.1/build/imagecropper/assets/skins/sam/imagecropper-skin.css +16 -0
  222. data/vendor/assets/javascripts/yui-2.8.1/build/imagecropper/assets/skins/sam/imagecropper.css +7 -0
  223. data/vendor/assets/javascripts/yui-2.8.1/build/imagecropper/imagecropper-debug.js +907 -0
  224. data/vendor/assets/javascripts/yui-2.8.1/build/imagecropper/imagecropper-min.js +8 -0
  225. data/vendor/assets/javascripts/yui-2.8.1/build/imagecropper/imagecropper.js +889 -0
  226. data/vendor/assets/javascripts/yui-2.8.1/build/imageloader/imageloader-debug.js +487 -0
  227. data/vendor/assets/javascripts/yui-2.8.1/build/imageloader/imageloader-min.js +7 -0
  228. data/vendor/assets/javascripts/yui-2.8.1/build/imageloader/imageloader.js +481 -0
  229. data/vendor/assets/javascripts/yui-2.8.1/build/json/json-debug.js +538 -0
  230. data/vendor/assets/javascripts/yui-2.8.1/build/json/json-min.js +7 -0
  231. data/vendor/assets/javascripts/yui-2.8.1/build/json/json.js +538 -0
  232. data/vendor/assets/javascripts/yui-2.8.1/build/layout/assets/layout-core.css +158 -0
  233. data/vendor/assets/javascripts/yui-2.8.1/build/layout/assets/skins/sam/layout-skin.css +207 -0
  234. data/vendor/assets/javascripts/yui-2.8.1/build/layout/assets/skins/sam/layout.css +7 -0
  235. data/vendor/assets/javascripts/yui-2.8.1/build/layout/assets/skins/sam/layout_sprite.png +0 -0
  236. data/vendor/assets/javascripts/yui-2.8.1/build/layout/layout-debug.js +2305 -0
  237. data/vendor/assets/javascripts/yui-2.8.1/build/layout/layout-min.js +11 -0
  238. data/vendor/assets/javascripts/yui-2.8.1/build/layout/layout.js +2290 -0
  239. data/vendor/assets/javascripts/yui-2.8.1/build/logger/assets/logger-core.css +7 -0
  240. data/vendor/assets/javascripts/yui-2.8.1/build/logger/assets/logger.css +57 -0
  241. data/vendor/assets/javascripts/yui-2.8.1/build/logger/assets/skins/sam/logger-skin.css +55 -0
  242. data/vendor/assets/javascripts/yui-2.8.1/build/logger/assets/skins/sam/logger.css +7 -0
  243. data/vendor/assets/javascripts/yui-2.8.1/build/logger/logger-debug.js +2104 -0
  244. data/vendor/assets/javascripts/yui-2.8.1/build/logger/logger-min.js +9 -0
  245. data/vendor/assets/javascripts/yui-2.8.1/build/logger/logger.js +2104 -0
  246. data/vendor/assets/javascripts/yui-2.8.1/build/menu/assets/menu-core.css +242 -0
  247. data/vendor/assets/javascripts/yui-2.8.1/build/menu/assets/menu.css +503 -0
  248. data/vendor/assets/javascripts/yui-2.8.1/build/menu/assets/menu_down_arrow.png +0 -0
  249. data/vendor/assets/javascripts/yui-2.8.1/build/menu/assets/menu_down_arrow_disabled.png +0 -0
  250. data/vendor/assets/javascripts/yui-2.8.1/build/menu/assets/menu_up_arrow.png +0 -0
  251. data/vendor/assets/javascripts/yui-2.8.1/build/menu/assets/menu_up_arrow_disabled.png +0 -0
  252. data/vendor/assets/javascripts/yui-2.8.1/build/menu/assets/menubaritem_submenuindicator.png +0 -0
  253. data/vendor/assets/javascripts/yui-2.8.1/build/menu/assets/menubaritem_submenuindicator_disabled.png +0 -0
  254. data/vendor/assets/javascripts/yui-2.8.1/build/menu/assets/menubaritem_submenuindicator_selected.png +0 -0
  255. data/vendor/assets/javascripts/yui-2.8.1/build/menu/assets/menuitem_checkbox.png +0 -0
  256. data/vendor/assets/javascripts/yui-2.8.1/build/menu/assets/menuitem_checkbox_disabled.png +0 -0
  257. data/vendor/assets/javascripts/yui-2.8.1/build/menu/assets/menuitem_checkbox_selected.png +0 -0
  258. data/vendor/assets/javascripts/yui-2.8.1/build/menu/assets/menuitem_submenuindicator.png +0 -0
  259. data/vendor/assets/javascripts/yui-2.8.1/build/menu/assets/menuitem_submenuindicator_disabled.png +0 -0
  260. data/vendor/assets/javascripts/yui-2.8.1/build/menu/assets/menuitem_submenuindicator_selected.png +0 -0
  261. data/vendor/assets/javascripts/yui-2.8.1/build/menu/assets/skins/sam/menu-skin.css +339 -0
  262. data/vendor/assets/javascripts/yui-2.8.1/build/menu/assets/skins/sam/menu.css +7 -0
  263. data/vendor/assets/javascripts/yui-2.8.1/build/menu/assets/skins/sam/menubaritem_submenuindicator.png +0 -0
  264. data/vendor/assets/javascripts/yui-2.8.1/build/menu/assets/skins/sam/menubaritem_submenuindicator_disabled.png +0 -0
  265. data/vendor/assets/javascripts/yui-2.8.1/build/menu/assets/skins/sam/menuitem_checkbox.png +0 -0
  266. data/vendor/assets/javascripts/yui-2.8.1/build/menu/assets/skins/sam/menuitem_checkbox_disabled.png +0 -0
  267. data/vendor/assets/javascripts/yui-2.8.1/build/menu/assets/skins/sam/menuitem_submenuindicator.png +0 -0
  268. data/vendor/assets/javascripts/yui-2.8.1/build/menu/assets/skins/sam/menuitem_submenuindicator_disabled.png +0 -0
  269. data/vendor/assets/javascripts/yui-2.8.1/build/menu/menu-debug.js +9870 -0
  270. data/vendor/assets/javascripts/yui-2.8.1/build/menu/menu-min.js +16 -0
  271. data/vendor/assets/javascripts/yui-2.8.1/build/menu/menu.js +9823 -0
  272. data/vendor/assets/javascripts/yui-2.8.1/build/paginator/assets/paginator-core.css +6 -0
  273. data/vendor/assets/javascripts/yui-2.8.1/build/paginator/assets/skins/sam/paginator-skin.css +78 -0
  274. data/vendor/assets/javascripts/yui-2.8.1/build/paginator/assets/skins/sam/paginator.css +7 -0
  275. data/vendor/assets/javascripts/yui-2.8.1/build/paginator/paginator-debug.js +2393 -0
  276. data/vendor/assets/javascripts/yui-2.8.1/build/paginator/paginator-min.js +10 -0
  277. data/vendor/assets/javascripts/yui-2.8.1/build/paginator/paginator.js +2393 -0
  278. data/vendor/assets/javascripts/yui-2.8.1/build/profiler/profiler-debug.js +557 -0
  279. data/vendor/assets/javascripts/yui-2.8.1/build/profiler/profiler-min.js +7 -0
  280. data/vendor/assets/javascripts/yui-2.8.1/build/profiler/profiler.js +557 -0
  281. data/vendor/assets/javascripts/yui-2.8.1/build/profilerviewer/assets/profilerviewer-core.css +6 -0
  282. data/vendor/assets/javascripts/yui-2.8.1/build/profilerviewer/assets/skins/sam/asc.gif +0 -0
  283. data/vendor/assets/javascripts/yui-2.8.1/build/profilerviewer/assets/skins/sam/desc.gif +0 -0
  284. data/vendor/assets/javascripts/yui-2.8.1/build/profilerviewer/assets/skins/sam/header_background.png +0 -0
  285. data/vendor/assets/javascripts/yui-2.8.1/build/profilerviewer/assets/skins/sam/profilerviewer-skin.css +167 -0
  286. data/vendor/assets/javascripts/yui-2.8.1/build/profilerviewer/assets/skins/sam/profilerviewer.css +7 -0
  287. data/vendor/assets/javascripts/yui-2.8.1/build/profilerviewer/assets/skins/sam/wait.gif +0 -0
  288. data/vendor/assets/javascripts/yui-2.8.1/build/profilerviewer/profilerviewer-debug.js +1229 -0
  289. data/vendor/assets/javascripts/yui-2.8.1/build/profilerviewer/profilerviewer-min.js +9 -0
  290. data/vendor/assets/javascripts/yui-2.8.1/build/profilerviewer/profilerviewer.js +1192 -0
  291. data/vendor/assets/javascripts/yui-2.8.1/build/progressbar/assets/progressbar-core.css +85 -0
  292. data/vendor/assets/javascripts/yui-2.8.1/build/progressbar/assets/skins/sam/back-h.png +0 -0
  293. data/vendor/assets/javascripts/yui-2.8.1/build/progressbar/assets/skins/sam/back-v.png +0 -0
  294. data/vendor/assets/javascripts/yui-2.8.1/build/progressbar/assets/skins/sam/bar-h.png +0 -0
  295. data/vendor/assets/javascripts/yui-2.8.1/build/progressbar/assets/skins/sam/bar-v.png +0 -0
  296. data/vendor/assets/javascripts/yui-2.8.1/build/progressbar/assets/skins/sam/progressbar-skin.css +56 -0
  297. data/vendor/assets/javascripts/yui-2.8.1/build/progressbar/assets/skins/sam/progressbar.css +7 -0
  298. data/vendor/assets/javascripts/yui-2.8.1/build/progressbar/progressbar-debug.js +691 -0
  299. data/vendor/assets/javascripts/yui-2.8.1/build/progressbar/progressbar-min.js +8 -0
  300. data/vendor/assets/javascripts/yui-2.8.1/build/progressbar/progressbar.js +677 -0
  301. data/vendor/assets/javascripts/yui-2.8.1/build/reset-fonts-grids/reset-fonts-grids.css +7 -0
  302. data/vendor/assets/javascripts/yui-2.8.1/build/reset-fonts/reset-fonts.css +7 -0
  303. data/vendor/assets/javascripts/yui-2.8.1/build/reset/reset-min.css +7 -0
  304. data/vendor/assets/javascripts/yui-2.8.1/build/reset/reset.css +142 -0
  305. data/vendor/assets/javascripts/yui-2.8.1/build/resize/assets/resize-core.css +173 -0
  306. data/vendor/assets/javascripts/yui-2.8.1/build/resize/assets/skins/sam/layout_sprite.png +0 -0
  307. data/vendor/assets/javascripts/yui-2.8.1/build/resize/assets/skins/sam/resize-skin.css +142 -0
  308. data/vendor/assets/javascripts/yui-2.8.1/build/resize/assets/skins/sam/resize.css +7 -0
  309. data/vendor/assets/javascripts/yui-2.8.1/build/resize/resize-debug.js +1749 -0
  310. data/vendor/assets/javascripts/yui-2.8.1/build/resize/resize-min.js +10 -0
  311. data/vendor/assets/javascripts/yui-2.8.1/build/resize/resize.js +1689 -0
  312. data/vendor/assets/javascripts/yui-2.8.1/build/selector/selector-debug.js +651 -0
  313. data/vendor/assets/javascripts/yui-2.8.1/build/selector/selector-min.js +8 -0
  314. data/vendor/assets/javascripts/yui-2.8.1/build/selector/selector.js +644 -0
  315. data/vendor/assets/javascripts/yui-2.8.1/build/slider/assets/bg-fader.gif +0 -0
  316. data/vendor/assets/javascripts/yui-2.8.1/build/slider/assets/bg-h.gif +0 -0
  317. data/vendor/assets/javascripts/yui-2.8.1/build/slider/assets/bg-v-e.gif +0 -0
  318. data/vendor/assets/javascripts/yui-2.8.1/build/slider/assets/bg-v.gif +0 -0
  319. data/vendor/assets/javascripts/yui-2.8.1/build/slider/assets/left-thumb.png +0 -0
  320. data/vendor/assets/javascripts/yui-2.8.1/build/slider/assets/right-thumb.png +0 -0
  321. data/vendor/assets/javascripts/yui-2.8.1/build/slider/assets/skins/sam/bg-h.gif +0 -0
  322. data/vendor/assets/javascripts/yui-2.8.1/build/slider/assets/skins/sam/bg-v.gif +0 -0
  323. data/vendor/assets/javascripts/yui-2.8.1/build/slider/assets/skins/sam/slider-skin.css +24 -0
  324. data/vendor/assets/javascripts/yui-2.8.1/build/slider/assets/skins/sam/slider.css +7 -0
  325. data/vendor/assets/javascripts/yui-2.8.1/build/slider/assets/slider-core.css +17 -0
  326. data/vendor/assets/javascripts/yui-2.8.1/build/slider/assets/slider-skin.css +20 -0
  327. data/vendor/assets/javascripts/yui-2.8.1/build/slider/assets/thumb-bar.gif +0 -0
  328. data/vendor/assets/javascripts/yui-2.8.1/build/slider/assets/thumb-e.gif +0 -0
  329. data/vendor/assets/javascripts/yui-2.8.1/build/slider/assets/thumb-fader.gif +0 -0
  330. data/vendor/assets/javascripts/yui-2.8.1/build/slider/assets/thumb-n.gif +0 -0
  331. data/vendor/assets/javascripts/yui-2.8.1/build/slider/assets/thumb-s.gif +0 -0
  332. data/vendor/assets/javascripts/yui-2.8.1/build/slider/assets/thumb-w.gif +0 -0
  333. data/vendor/assets/javascripts/yui-2.8.1/build/slider/slider-debug.js +2114 -0
  334. data/vendor/assets/javascripts/yui-2.8.1/build/slider/slider-min.js +9 -0
  335. data/vendor/assets/javascripts/yui-2.8.1/build/slider/slider.js +2068 -0
  336. data/vendor/assets/javascripts/yui-2.8.1/build/storage/storage-debug.js +1185 -0
  337. data/vendor/assets/javascripts/yui-2.8.1/build/storage/storage-min.js +8 -0
  338. data/vendor/assets/javascripts/yui-2.8.1/build/storage/storage.js +1183 -0
  339. data/vendor/assets/javascripts/yui-2.8.1/build/stylesheet/stylesheet-debug.js +648 -0
  340. data/vendor/assets/javascripts/yui-2.8.1/build/stylesheet/stylesheet-min.js +7 -0
  341. data/vendor/assets/javascripts/yui-2.8.1/build/stylesheet/stylesheet.js +645 -0
  342. data/vendor/assets/javascripts/yui-2.8.1/build/swf/swf-debug.js +269 -0
  343. data/vendor/assets/javascripts/yui-2.8.1/build/swf/swf-min.js +7 -0
  344. data/vendor/assets/javascripts/yui-2.8.1/build/swf/swf.js +268 -0
  345. data/vendor/assets/javascripts/yui-2.8.1/build/swfdetect/swfdetect-debug.js +93 -0
  346. data/vendor/assets/javascripts/yui-2.8.1/build/swfdetect/swfdetect-min.js +7 -0
  347. data/vendor/assets/javascripts/yui-2.8.1/build/swfdetect/swfdetect.js +93 -0
  348. data/vendor/assets/javascripts/yui-2.8.1/build/swfstore/swf.js +238 -0
  349. data/vendor/assets/javascripts/yui-2.8.1/build/swfstore/swfstore-debug.js +470 -0
  350. data/vendor/assets/javascripts/yui-2.8.1/build/swfstore/swfstore-min.js +7 -0
  351. data/vendor/assets/javascripts/yui-2.8.1/build/swfstore/swfstore.js +453 -0
  352. data/vendor/assets/javascripts/yui-2.8.1/build/swfstore/swfstore.swf +0 -0
  353. data/vendor/assets/javascripts/yui-2.8.1/build/tabview/assets/border_tabs.css +54 -0
  354. data/vendor/assets/javascripts/yui-2.8.1/build/tabview/assets/loading.gif +0 -0
  355. data/vendor/assets/javascripts/yui-2.8.1/build/tabview/assets/skin-sam.css +77 -0
  356. data/vendor/assets/javascripts/yui-2.8.1/build/tabview/assets/skins/sam/tabview-skin.css +186 -0
  357. data/vendor/assets/javascripts/yui-2.8.1/build/tabview/assets/skins/sam/tabview.css +8 -0
  358. data/vendor/assets/javascripts/yui-2.8.1/build/tabview/assets/tabview-core.css +133 -0
  359. data/vendor/assets/javascripts/yui-2.8.1/build/tabview/assets/tabview.css +77 -0
  360. data/vendor/assets/javascripts/yui-2.8.1/build/tabview/tabview-debug.js +995 -0
  361. data/vendor/assets/javascripts/yui-2.8.1/build/tabview/tabview-min.js +8 -0
  362. data/vendor/assets/javascripts/yui-2.8.1/build/tabview/tabview.js +987 -0
  363. data/vendor/assets/javascripts/yui-2.8.1/build/treeview/assets/skins/sam/check0.gif +0 -0
  364. data/vendor/assets/javascripts/yui-2.8.1/build/treeview/assets/skins/sam/check1.gif +0 -0
  365. data/vendor/assets/javascripts/yui-2.8.1/build/treeview/assets/skins/sam/check2.gif +0 -0
  366. data/vendor/assets/javascripts/yui-2.8.1/build/treeview/assets/skins/sam/loading.gif +0 -0
  367. data/vendor/assets/javascripts/yui-2.8.1/build/treeview/assets/skins/sam/treeview-loading.gif +0 -0
  368. data/vendor/assets/javascripts/yui-2.8.1/build/treeview/assets/skins/sam/treeview-skin.css +249 -0
  369. data/vendor/assets/javascripts/yui-2.8.1/build/treeview/assets/skins/sam/treeview-sprite.gif +0 -0
  370. data/vendor/assets/javascripts/yui-2.8.1/build/treeview/assets/skins/sam/treeview.css +7 -0
  371. data/vendor/assets/javascripts/yui-2.8.1/build/treeview/assets/treeview-core.css +6 -0
  372. data/vendor/assets/javascripts/yui-2.8.1/build/treeview/treeview-debug.js +4058 -0
  373. data/vendor/assets/javascripts/yui-2.8.1/build/treeview/treeview-min.js +12 -0
  374. data/vendor/assets/javascripts/yui-2.8.1/build/treeview/treeview.js +3989 -0
  375. data/vendor/assets/javascripts/yui-2.8.1/build/uploader/assets/uploader.swf +0 -0
  376. data/vendor/assets/javascripts/yui-2.8.1/build/uploader/uploader-debug.js +1072 -0
  377. data/vendor/assets/javascripts/yui-2.8.1/build/uploader/uploader-min.js +15 -0
  378. data/vendor/assets/javascripts/yui-2.8.1/build/uploader/uploader.js +1069 -0
  379. data/vendor/assets/javascripts/yui-2.8.1/build/utilities/utilities.js +39 -0
  380. data/vendor/assets/javascripts/yui-2.8.1/build/yahoo-dom-event/yahoo-dom-event.js +14 -0
  381. data/vendor/assets/javascripts/yui-2.8.1/build/yahoo/yahoo-debug.js +1075 -0
  382. data/vendor/assets/javascripts/yui-2.8.1/build/yahoo/yahoo-min.js +7 -0
  383. data/vendor/assets/javascripts/yui-2.8.1/build/yahoo/yahoo.js +1075 -0
  384. data/vendor/assets/javascripts/yui-2.8.1/build/yuiloader-dom-event/yuiloader-dom-event.js +17 -0
  385. data/vendor/assets/javascripts/yui-2.8.1/build/yuiloader/yuiloader-debug.js +3879 -0
  386. data/vendor/assets/javascripts/yui-2.8.1/build/yuiloader/yuiloader-min.js +10 -0
  387. data/vendor/assets/javascripts/yui-2.8.1/build/yuiloader/yuiloader.js +3879 -0
  388. data/vendor/assets/javascripts/yui-2.8.1/build/yuitest/assets/skins/sam/yuitest-skin.css +7 -0
  389. data/vendor/assets/javascripts/yui-2.8.1/build/yuitest/assets/skins/sam/yuitest.css +7 -0
  390. data/vendor/assets/javascripts/yui-2.8.1/build/yuitest/assets/testlogger.css +7 -0
  391. data/vendor/assets/javascripts/yui-2.8.1/build/yuitest/assets/yuitest-core.css +7 -0
  392. data/vendor/assets/javascripts/yui-2.8.1/build/yuitest/yuitest-debug.js +2741 -0
  393. data/vendor/assets/javascripts/yui-2.8.1/build/yuitest/yuitest-min.js +10 -0
  394. data/vendor/assets/javascripts/yui-2.8.1/build/yuitest/yuitest.js +2741 -0
  395. data/vendor/assets/javascripts/yui-2.8.1/build/yuitest/yuitest_core-debug.js +1976 -0
  396. data/vendor/assets/javascripts/yui-2.8.1/build/yuitest/yuitest_core-min.js +9 -0
  397. data/vendor/assets/javascripts/yui-2.8.1/build/yuitest/yuitest_core.js +1976 -0
  398. metadata +470 -0
@@ -0,0 +1,15 @@
1
+ /*
2
+ Copyright (c) 2010, Yahoo! Inc. All rights reserved.
3
+ Code licensed under the BSD License:
4
+ http://developer.yahoo.com/yui/license.html
5
+ version: 2.8.1
6
+ */
7
+ /*
8
+ * SWFObject v1.5: Flash Player detection and embed - http://blog.deconcept.com/swfobject/
9
+ *
10
+ * SWFObject is (c) 2007 Geoff Stearns and is released under the MIT License:
11
+ * http://www.opensource.org/licenses/mit-license.php
12
+ * @namespace YAHOO
13
+ */
14
+ YAHOO.namespace("deconcept");YAHOO.deconcept=YAHOO.deconcept||{};if(typeof YAHOO.deconcept.util=="undefined"||!YAHOO.deconcept.util){YAHOO.deconcept.util={};}if(typeof YAHOO.deconcept.SWFObjectUtil=="undefined"||!YAHOO.deconcept.SWFObjectUtil){YAHOO.deconcept.SWFObjectUtil={};}YAHOO.deconcept.SWFObject=function(E,C,K,F,H,J,L,G,A,D){if(!document.getElementById){return;}this.DETECT_KEY=D?D:"detectflash";this.skipDetect=YAHOO.deconcept.util.getRequestParameter(this.DETECT_KEY);this.params={};this.variables={};this.attributes=[];if(E){this.setAttribute("swf",E);}if(C){this.setAttribute("id",C);}if(K){this.setAttribute("width",K);}if(F){this.setAttribute("height",F);}if(H){this.setAttribute("version",new YAHOO.deconcept.PlayerVersion(H.toString().split(".")));}this.installedVer=YAHOO.deconcept.SWFObjectUtil.getPlayerVersion();if(!window.opera&&document.all&&this.installedVer.major>7){YAHOO.deconcept.SWFObject.doPrepUnload=true;}if(J){this.addParam("bgcolor",J);}var B=L?L:"high";this.addParam("quality",B);this.setAttribute("useExpressInstall",false);this.setAttribute("doExpressInstall",false);var I=(G)?G:window.location;this.setAttribute("xiRedirectUrl",I);this.setAttribute("redirectUrl","");if(A){this.setAttribute("redirectUrl",A);}};YAHOO.deconcept.SWFObject.prototype={useExpressInstall:function(A){this.xiSWFPath=!A?"expressinstall.swf":A;this.setAttribute("useExpressInstall",true);},setAttribute:function(A,B){this.attributes[A]=B;},getAttribute:function(A){return this.attributes[A];},addParam:function(A,B){this.params[A]=B;},getParams:function(){return this.params;},addVariable:function(A,B){this.variables[A]=B;},getVariable:function(A){return this.variables[A];},getVariables:function(){return this.variables;},getVariablePairs:function(){var A=[];var B;var C=this.getVariables();for(B in C){if(C.hasOwnProperty(B)){A[A.length]=B+"="+C[B];}}return A;},getSWFHTML:function(){var D="";var C={};var A="";var B="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn");this.setAttribute("swf",this.xiSWFPath);}D='<embed type="application/x-shockwave-flash" src="'+this.getAttribute("swf")+'" width="'+this.getAttribute("width")+'" height="'+this.getAttribute("height")+'" style="'+this.getAttribute("style")+'"';D+=' id="'+this.getAttribute("id")+'" name="'+this.getAttribute("id")+'" ';C=this.getParams();for(A in C){if(C.hasOwnProperty(A)){D+=[A]+'="'+C[A]+'" ';}}B=this.getVariablePairs().join("&");if(B.length>0){D+='flashvars="'+B+'"';}D+="/>";}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");this.setAttribute("swf",this.xiSWFPath);}D='<object id="'+this.getAttribute("id")+'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+this.getAttribute("width")+'" height="'+this.getAttribute("height")+'" style="'+this.getAttribute("style")+'">';D+='<param name="movie" value="'+this.getAttribute("swf")+'" />';C=this.getParams();for(A in C){if(C.hasOwnProperty(A)){D+='<param name="'+A+'" value="'+C[A]+'" />';}}B=this.getVariablePairs().join("&");if(B.length>0){D+='<param name="flashvars" value="'+B+'" />';}D+="</object>";}return D;},write:function(A){if(this.getAttribute("useExpressInstall")){var B=new YAHOO.deconcept.PlayerVersion([6,0,65]);if(this.installedVer.versionIsValid(B)&&!this.installedVer.versionIsValid(this.getAttribute("version"))){this.setAttribute("doExpressInstall",true);this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl")));document.title=document.title.slice(0,47)+" - Flash Player Installation";this.addVariable("MMdoctitle",document.title);}}if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){var C=(typeof A=="string")?document.getElementById(A):A;C.innerHTML=this.getSWFHTML();return true;}else{if(this.getAttribute("redirectUrl")!==""){document.location.replace(this.getAttribute("redirectUrl"));}}return false;}};YAHOO.deconcept.SWFObjectUtil.getPlayerVersion=function(){var D=null;var C=new YAHOO.deconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var A=navigator.plugins["Shockwave Flash"];if(A&&A.description){C=new YAHOO.deconcept.PlayerVersion(A.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."));}}else{if(navigator.userAgent&&navigator.userAgent.indexOf("Windows CE")>=0){var B=3;while(D){try{B++;D=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+B);C=new YAHOO.deconcept.PlayerVersion([B,0,0]);}catch(E){D=null;}}}else{try{D=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");}catch(E){try{D=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");C=new YAHOO.deconcept.PlayerVersion([6,0,21]);D.AllowScriptAccess="always";}catch(E){if(C.major==6){return C;}}try{D=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");}catch(E){}}if(D!==null){C=new YAHOO.deconcept.PlayerVersion(D.GetVariable("$version").split(" ")[1].split(","));}}}return C;};YAHOO.deconcept.PlayerVersion=function(A){this.major=A[0]!==null?parseInt(A[0],0):0;this.minor=A[1]!==null?parseInt(A[1],0):0;this.rev=A[2]!==null?parseInt(A[2],0):0;};YAHOO.deconcept.PlayerVersion.prototype.versionIsValid=function(A){if(this.major<A.major){return false;}if(this.major>A.major){return true;}if(this.minor<A.minor){return false;}if(this.minor>A.minor){return true;}if(this.rev<A.rev){return false;}return true;};YAHOO.deconcept.util={getRequestParameter:function(D){var C=document.location.search||document.location.hash;if(D===null){return C;}if(C){var B=C.substring(1).split("&");for(var A=0;A<B.length;A++){if(B[A].substring(0,B[A].indexOf("="))==D){return B[A].substring((B[A].indexOf("=")+1));}}}return"";
15
+ }};YAHOO.deconcept.SWFObjectUtil.cleanupSWFs=function(){var C=document.getElementsByTagName("OBJECT");for(var B=C.length-1;B>=0;B--){C[B].style.display="none";for(var A in C[B]){if(typeof C[B][A]=="function"){C[B][A]=function(){};}}}};if(YAHOO.deconcept.SWFObject.doPrepUnload){if(!YAHOO.deconcept.unloadSet){YAHOO.deconcept.SWFObjectUtil.prepUnload=function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){};window.attachEvent("onunload",YAHOO.deconcept.SWFObjectUtil.cleanupSWFs);};window.attachEvent("onbeforeunload",YAHOO.deconcept.SWFObjectUtil.prepUnload);YAHOO.deconcept.unloadSet=true;}}if(!document.getElementById&&document.all){document.getElementById=function(A){return document.all[A];};}YAHOO.widget.FlashAdapter=function(E,A,B,C){this._queue=this._queue||[];this._events=this._events||{};this._configs=this._configs||{};B=B||{};this._id=B.id=B.id||YAHOO.util.Dom.generateId(null,"yuigen");B.version=B.version||"9.0.45";B.backgroundColor=B.backgroundColor||"#ffffff";this._attributes=B;this._swfURL=E;this._containerID=A;this._embedSWF(this._swfURL,this._containerID,B.id,B.version,B.backgroundColor,B.expressInstall,B.wmode,C);try{this.createEvent("contentReady");}catch(D){}};YAHOO.widget.FlashAdapter.owners=YAHOO.widget.FlashAdapter.owners||{};YAHOO.extend(YAHOO.widget.FlashAdapter,YAHOO.util.AttributeProvider,{_swfURL:null,_containerID:null,_swf:null,_id:null,_initialized:false,_attributes:null,toString:function(){return"FlashAdapter "+this._id;},destroy:function(){if(this._swf){var B=YAHOO.util.Dom.get(this._containerID);B.removeChild(this._swf);}var A=this._id;for(var C in this){if(YAHOO.lang.hasOwnProperty(this,C)){this[C]=null;}}},_embedSWF:function(J,I,E,C,F,G,B,H){var D=new YAHOO.deconcept.SWFObject(J,E,"100%","100%",C,F);if(G){D.useExpressInstall(G);}D.addParam("allowScriptAccess","always");if(B){D.addParam("wmode",B);}D.addParam("menu","false");D.addVariable("allowedDomain",document.location.hostname);D.addVariable("YUISwfId",E);D.addVariable("YUIBridgeCallback","YAHOO.widget.FlashAdapter.eventHandler");if(H){D.addVariable("buttonSkin",H);}var A=YAHOO.util.Dom.get(I);var K=D.write(A);if(K){this._swf=YAHOO.util.Dom.get(E);YAHOO.widget.FlashAdapter.owners[E]=this;}else{}},_eventHandler:function(B){var A=B.type;switch(A){case"swfReady":this._loadHandler();return;case"log":return;}this.fireEvent(A,B);},_loadHandler:function(){this._initialized=false;this._initAttributes(this._attributes);this.setAttributes(this._attributes,true);this._initialized=true;this.fireEvent("contentReady");},set:function(A,B){this._attributes[A]=B;YAHOO.widget.FlashAdapter.superclass.set.call(this,A,B);},_initAttributes:function(A){this.getAttributeConfig("altText",{method:this._getAltText});this.setAttributeConfig("altText",{method:this._setAltText});this.getAttributeConfig("swfURL",{method:this._getSWFURL});},_getSWFURL:function(){return this._swfURL;},_getAltText:function(){return this._swf.getAltText();},_setAltText:function(A){return this._swf.setAltText(A);}});YAHOO.widget.FlashAdapter.eventHandler=function(A,B){if(!YAHOO.widget.FlashAdapter.owners[A]){setTimeout(function(){YAHOO.widget.FlashAdapter.eventHandler(A,B);},0);}else{YAHOO.widget.FlashAdapter.owners[A]._eventHandler(B);}};YAHOO.widget.FlashAdapter.proxyFunctionCount=0;YAHOO.widget.FlashAdapter.createProxyFunction=function(B){var A=YAHOO.widget.FlashAdapter.proxyFunctionCount;YAHOO.widget.FlashAdapter["proxyFunction"+A]=function(){return B.apply(null,arguments);};YAHOO.widget.FlashAdapter.proxyFunctionCount++;return"YAHOO.widget.FlashAdapter.proxyFunction"+A.toString();};YAHOO.widget.FlashAdapter.removeProxyFunction=function(A){if(!A||A.indexOf("YAHOO.widget.FlashAdapter.proxyFunction")<0){return;}A=A.substr(26);YAHOO.widget.FlashAdapter[A]=null;};YAHOO.widget.Uploader=function(A,B,D){var C="window";if(!(B)||(B&&D)){C="transparent";}YAHOO.widget.Uploader.superclass.constructor.call(this,YAHOO.widget.Uploader.SWFURL,A,{wmode:C},B);this.createEvent("mouseDown");this.createEvent("mouseUp");this.createEvent("rollOver");this.createEvent("rollOut");this.createEvent("click");this.createEvent("fileSelect");this.createEvent("uploadStart");this.createEvent("uploadProgress");this.createEvent("uploadCancel");this.createEvent("uploadComplete");this.createEvent("uploadCompleteData");this.createEvent("uploadError");};YAHOO.widget.Uploader.SWFURL="assets/uploader.swf";YAHOO.extend(YAHOO.widget.Uploader,YAHOO.widget.FlashAdapter,{upload:function(A,B,E,C,D){this._swf.upload(A,B,E,C,D);},uploadThese:function(B,A,E,C,D){this._swf.uploadThese(B,A,E,C,D);},uploadAll:function(A,D,B,C){this._swf.uploadAll(A,D,B,C);},cancel:function(A){this._swf.cancel(A);},clearFileList:function(){this._swf.clearFileList();},removeFile:function(A){this._swf.removeFile(A);},setAllowLogging:function(A){this._swf.setAllowLogging(A);},setSimUploadLimit:function(A){this._swf.setSimUploadLimit(A);},setAllowMultipleFiles:function(A){this._swf.setAllowMultipleFiles(A);},setFileFilters:function(A){this._swf.setFileFilters(A);},enable:function(){this._swf.enable();},disable:function(){this._swf.disable();}});YAHOO.register("uploader",YAHOO.widget.Uploader,{version:"2.8.1",build:"19"});
@@ -0,0 +1,1069 @@
1
+ /*
2
+ Copyright (c) 2010, Yahoo! Inc. All rights reserved.
3
+ Code licensed under the BSD License:
4
+ http://developer.yahoo.com/yui/license.html
5
+ version: 2.8.1
6
+ */
7
+ /*extern ActiveXObject, __flash_unloadHandler, __flash_savedUnloadHandler */
8
+ /*!
9
+ * SWFObject v1.5: Flash Player detection and embed - http://blog.deconcept.com/swfobject/
10
+ *
11
+ * SWFObject is (c) 2007 Geoff Stearns and is released under the MIT License:
12
+ * http://www.opensource.org/licenses/mit-license.php
13
+ * @namespace YAHOO
14
+ */
15
+
16
+ YAHOO.namespace("deconcept");
17
+
18
+ YAHOO.deconcept = YAHOO.deconcept || {};
19
+
20
+ if(typeof YAHOO.deconcept.util == "undefined" || !YAHOO.deconcept.util)
21
+ {
22
+ YAHOO.deconcept.util = {};
23
+ }
24
+
25
+ if(typeof YAHOO.deconcept.SWFObjectUtil == "undefined" || !YAHOO.deconcept.SWFObjectUtil)
26
+ {
27
+ YAHOO.deconcept.SWFObjectUtil = {};
28
+ }
29
+
30
+ YAHOO.deconcept.SWFObject = function(swf, id, w, h, ver, c, quality, xiRedirectUrl, redirectUrl, detectKey)
31
+ {
32
+ if(!document.getElementById) { return; }
33
+ this.DETECT_KEY = detectKey ? detectKey : 'detectflash';
34
+ this.skipDetect = YAHOO.deconcept.util.getRequestParameter(this.DETECT_KEY);
35
+ this.params = {};
36
+ this.variables = {};
37
+ this.attributes = [];
38
+ if(swf) { this.setAttribute('swf', swf); }
39
+ if(id) { this.setAttribute('id', id); }
40
+ if(w) { this.setAttribute('width', w); }
41
+ if(h) { this.setAttribute('height', h); }
42
+ if(ver) { this.setAttribute('version', new YAHOO.deconcept.PlayerVersion(ver.toString().split("."))); }
43
+ this.installedVer = YAHOO.deconcept.SWFObjectUtil.getPlayerVersion();
44
+ if (!window.opera && document.all && this.installedVer.major > 7)
45
+ {
46
+ // only add the onunload cleanup if the Flash Player version supports External Interface and we are in IE
47
+ YAHOO.deconcept.SWFObject.doPrepUnload = true;
48
+ }
49
+ if(c)
50
+ {
51
+ this.addParam('bgcolor', c);
52
+ }
53
+ var q = quality ? quality : 'high';
54
+ this.addParam('quality', q);
55
+ this.setAttribute('useExpressInstall', false);
56
+ this.setAttribute('doExpressInstall', false);
57
+ var xir = (xiRedirectUrl) ? xiRedirectUrl : window.location;
58
+ this.setAttribute('xiRedirectUrl', xir);
59
+ this.setAttribute('redirectUrl', '');
60
+ if(redirectUrl)
61
+ {
62
+ this.setAttribute('redirectUrl', redirectUrl);
63
+ }
64
+ };
65
+
66
+ YAHOO.deconcept.SWFObject.prototype =
67
+ {
68
+ useExpressInstall: function(path)
69
+ {
70
+ this.xiSWFPath = !path ? "expressinstall.swf" : path;
71
+ this.setAttribute('useExpressInstall', true);
72
+ },
73
+ setAttribute: function(name, value){
74
+ this.attributes[name] = value;
75
+ },
76
+ getAttribute: function(name){
77
+ return this.attributes[name];
78
+ },
79
+ addParam: function(name, value){
80
+ this.params[name] = value;
81
+ },
82
+ getParams: function(){
83
+ return this.params;
84
+ },
85
+ addVariable: function(name, value){
86
+ this.variables[name] = value;
87
+ },
88
+ getVariable: function(name){
89
+ return this.variables[name];
90
+ },
91
+ getVariables: function(){
92
+ return this.variables;
93
+ },
94
+ getVariablePairs: function(){
95
+ var variablePairs = [];
96
+ var key;
97
+ var variables = this.getVariables();
98
+ for(key in variables)
99
+ {
100
+ if(variables.hasOwnProperty(key))
101
+ {
102
+ variablePairs[variablePairs.length] = key +"="+ variables[key];
103
+ }
104
+ }
105
+ return variablePairs;
106
+ },
107
+ getSWFHTML: function() {
108
+ var swfNode = "";
109
+ var params = {};
110
+ var key = "";
111
+ var pairs = "";
112
+ if (navigator.plugins && navigator.mimeTypes && navigator.mimeTypes.length) { // netscape plugin architecture
113
+ if (this.getAttribute("doExpressInstall")) {
114
+ this.addVariable("MMplayerType", "PlugIn");
115
+ this.setAttribute('swf', this.xiSWFPath);
116
+ }
117
+ swfNode = '<embed type="application/x-shockwave-flash" src="'+ this.getAttribute('swf') +'" width="'+ this.getAttribute('width') +'" height="'+ this.getAttribute('height') +'" style="'+ this.getAttribute('style') +'"';
118
+ swfNode += ' id="'+ this.getAttribute('id') +'" name="'+ this.getAttribute('id') +'" ';
119
+ params = this.getParams();
120
+ for(key in params)
121
+ {
122
+ if(params.hasOwnProperty(key))
123
+ {
124
+ swfNode += [key] +'="'+ params[key] +'" ';
125
+ }
126
+ }
127
+ pairs = this.getVariablePairs().join("&");
128
+ if (pairs.length > 0){ swfNode += 'flashvars="'+ pairs +'"'; }
129
+ swfNode += '/>';
130
+ } else { // PC IE
131
+ if (this.getAttribute("doExpressInstall")) {
132
+ this.addVariable("MMplayerType", "ActiveX");
133
+ this.setAttribute('swf', this.xiSWFPath);
134
+ }
135
+ swfNode = '<object id="'+ this.getAttribute('id') +'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+ this.getAttribute('width') +'" height="'+ this.getAttribute('height') +'" style="'+ this.getAttribute('style') +'">';
136
+ swfNode += '<param name="movie" value="'+ this.getAttribute('swf') +'" />';
137
+ params = this.getParams();
138
+ for(key in params)
139
+ {
140
+ if(params.hasOwnProperty(key))
141
+ {
142
+ swfNode += '<param name="'+ key +'" value="'+ params[key] +'" />';
143
+ }
144
+ }
145
+ pairs = this.getVariablePairs().join("&");
146
+ if(pairs.length > 0) {swfNode += '<param name="flashvars" value="'+ pairs +'" />';}
147
+ swfNode += "</object>";
148
+ }
149
+ return swfNode;
150
+ },
151
+ write: function(elementId)
152
+ {
153
+ if(this.getAttribute('useExpressInstall')) {
154
+ // check to see if we need to do an express install
155
+ var expressInstallReqVer = new YAHOO.deconcept.PlayerVersion([6,0,65]);
156
+ if (this.installedVer.versionIsValid(expressInstallReqVer) && !this.installedVer.versionIsValid(this.getAttribute('version'))) {
157
+ this.setAttribute('doExpressInstall', true);
158
+ this.addVariable("MMredirectURL", escape(this.getAttribute('xiRedirectUrl')));
159
+ document.title = document.title.slice(0, 47) + " - Flash Player Installation";
160
+ this.addVariable("MMdoctitle", document.title);
161
+ }
162
+ }
163
+ if(this.skipDetect || this.getAttribute('doExpressInstall') || this.installedVer.versionIsValid(this.getAttribute('version')))
164
+ {
165
+ var n = (typeof elementId == 'string') ? document.getElementById(elementId) : elementId;
166
+ n.innerHTML = this.getSWFHTML();
167
+ return true;
168
+ }
169
+ else
170
+ {
171
+ if(this.getAttribute('redirectUrl') !== "")
172
+ {
173
+ document.location.replace(this.getAttribute('redirectUrl'));
174
+ }
175
+ }
176
+ return false;
177
+ }
178
+ };
179
+
180
+ /* ---- detection functions ---- */
181
+ YAHOO.deconcept.SWFObjectUtil.getPlayerVersion = function()
182
+ {
183
+ var axo = null;
184
+ var PlayerVersion = new YAHOO.deconcept.PlayerVersion([0,0,0]);
185
+ if(navigator.plugins && navigator.mimeTypes.length)
186
+ {
187
+ var x = navigator.plugins["Shockwave Flash"];
188
+ if(x && x.description)
189
+ {
190
+ PlayerVersion = new YAHOO.deconcept.PlayerVersion(x.description.replace(/([a-zA-Z]|\s)+/, "").replace(/(\s+r|\s+b[0-9]+)/, ".").split("."));
191
+ }
192
+ }
193
+ else if (navigator.userAgent && navigator.userAgent.indexOf("Windows CE") >= 0)
194
+ { // if Windows CE
195
+ var counter = 3;
196
+ while(axo)
197
+ {
198
+ try
199
+ {
200
+ counter++;
201
+ axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+ counter);
202
+ // document.write("player v: "+ counter);
203
+ PlayerVersion = new YAHOO.deconcept.PlayerVersion([counter,0,0]);
204
+ }
205
+ catch(e)
206
+ {
207
+ axo = null;
208
+ }
209
+ }
210
+ }
211
+ else
212
+ { // Win IE (non mobile)
213
+ // do minor version lookup in IE, but avoid fp6 crashing issues
214
+ // see http://blog.deconcept.com/2006/01/11/getvariable-setvariable-crash-internet-explorer-flash-6/
215
+ try
216
+ {
217
+ axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");
218
+ }
219
+ catch(e)
220
+ {
221
+ try
222
+ {
223
+ axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");
224
+ PlayerVersion = new YAHOO.deconcept.PlayerVersion([6,0,21]);
225
+ axo.AllowScriptAccess = "always"; // error if player version < 6.0.47 (thanks to Michael Williams @ Adobe for this code)
226
+ }
227
+ catch(e)
228
+ {
229
+ if(PlayerVersion.major == 6)
230
+ {
231
+ return PlayerVersion;
232
+ }
233
+ }
234
+ try
235
+ {
236
+ axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash");
237
+ }
238
+ catch(e) {}
239
+ }
240
+
241
+ if(axo !== null)
242
+ {
243
+ PlayerVersion = new YAHOO.deconcept.PlayerVersion(axo.GetVariable("$version").split(" ")[1].split(","));
244
+ }
245
+ }
246
+ return PlayerVersion;
247
+ };
248
+
249
+ YAHOO.deconcept.PlayerVersion = function(arrVersion)
250
+ {
251
+ this.major = arrVersion[0] !== null ? parseInt(arrVersion[0], 0) : 0;
252
+ this.minor = arrVersion[1] !== null ? parseInt(arrVersion[1], 0) : 0;
253
+ this.rev = arrVersion[2] !== null ? parseInt(arrVersion[2], 0) : 0;
254
+ };
255
+
256
+ YAHOO.deconcept.PlayerVersion.prototype.versionIsValid = function(fv)
257
+ {
258
+ if(this.major < fv.major)
259
+ {
260
+ return false;
261
+ }
262
+ if(this.major > fv.major)
263
+ {
264
+ return true;
265
+ }
266
+ if(this.minor < fv.minor)
267
+ {
268
+ return false;
269
+ }
270
+ if(this.minor > fv.minor)
271
+ {
272
+ return true;
273
+ }
274
+ if(this.rev < fv.rev)
275
+ {
276
+ return false;
277
+ }
278
+ return true;
279
+ };
280
+
281
+ /* ---- get value of query string param ---- */
282
+ YAHOO.deconcept.util =
283
+ {
284
+ getRequestParameter: function(param)
285
+ {
286
+ var q = document.location.search || document.location.hash;
287
+ if(param === null) { return q; }
288
+ if(q)
289
+ {
290
+ var pairs = q.substring(1).split("&");
291
+ for(var i=0; i < pairs.length; i++)
292
+ {
293
+ if (pairs[i].substring(0, pairs[i].indexOf("=")) == param)
294
+ {
295
+ return pairs[i].substring((pairs[i].indexOf("=") + 1));
296
+ }
297
+ }
298
+ }
299
+ return "";
300
+ }
301
+ };
302
+
303
+ /* fix for video streaming bug */
304
+ YAHOO.deconcept.SWFObjectUtil.cleanupSWFs = function()
305
+ {
306
+ var objects = document.getElementsByTagName("OBJECT");
307
+ for(var i = objects.length - 1; i >= 0; i--)
308
+ {
309
+ objects[i].style.display = 'none';
310
+ for(var x in objects[i])
311
+ {
312
+ if(typeof objects[i][x] == 'function')
313
+ {
314
+ objects[i][x] = function(){};
315
+ }
316
+ }
317
+ }
318
+ };
319
+
320
+ // fixes bug in some fp9 versions see http://blog.deconcept.com/2006/07/28/swfobject-143-released/
321
+ if(YAHOO.deconcept.SWFObject.doPrepUnload)
322
+ {
323
+ if(!YAHOO.deconcept.unloadSet)
324
+ {
325
+ YAHOO.deconcept.SWFObjectUtil.prepUnload = function()
326
+ {
327
+ __flash_unloadHandler = function(){};
328
+ __flash_savedUnloadHandler = function(){};
329
+ window.attachEvent("onunload", YAHOO.deconcept.SWFObjectUtil.cleanupSWFs);
330
+ };
331
+ window.attachEvent("onbeforeunload", YAHOO.deconcept.SWFObjectUtil.prepUnload);
332
+ YAHOO.deconcept.unloadSet = true;
333
+ }
334
+ }
335
+
336
+ /* add document.getElementById if needed (mobile IE < 5) */
337
+ if(!document.getElementById && document.all)
338
+ {
339
+ document.getElementById = function(id) { return document.all[id]; };
340
+ }
341
+ /**
342
+ * Wraps Flash embedding functionality and allows communication with SWF through
343
+ * attributes.
344
+ *
345
+ * @namespace YAHOO.widget
346
+ * @class FlashAdapter
347
+ * @uses YAHOO.util.AttributeProvider
348
+ */
349
+ YAHOO.widget.FlashAdapter = function(swfURL, containerID, attributes, buttonSkin)
350
+ {
351
+
352
+ this._queue = this._queue || [];
353
+ this._events = this._events || {};
354
+ this._configs = this._configs || {};
355
+ attributes = attributes || {};
356
+
357
+ //the Flash Player external interface code from Adobe doesn't play nicely
358
+ //with the default value, yui-gen, in IE
359
+ this._id = attributes.id = attributes.id || YAHOO.util.Dom.generateId(null, "yuigen");
360
+ attributes.version = attributes.version || "9.0.45";
361
+ attributes.backgroundColor = attributes.backgroundColor || "#ffffff";
362
+
363
+ //we can't use the initial attributes right away
364
+ //so save them for once the SWF finishes loading
365
+ this._attributes = attributes;
366
+
367
+ this._swfURL = swfURL;
368
+ this._containerID = containerID;
369
+
370
+ //embed the SWF file in the page
371
+ this._embedSWF(this._swfURL, this._containerID, attributes.id, attributes.version,
372
+ attributes.backgroundColor, attributes.expressInstall, attributes.wmode, buttonSkin);
373
+
374
+ /**
375
+ * Fires when the SWF is initialized and communication is possible.
376
+ * @event contentReady
377
+ */
378
+ //Fix for iframe cross-domain issue with FF2x
379
+ try
380
+ {
381
+ this.createEvent("contentReady");
382
+ }
383
+ catch(e){}
384
+ };
385
+
386
+ YAHOO.widget.FlashAdapter.owners = YAHOO.widget.FlashAdapter.owners || {};
387
+
388
+ YAHOO.extend(YAHOO.widget.FlashAdapter, YAHOO.util.AttributeProvider,
389
+ {
390
+ /**
391
+ * The URL of the SWF file.
392
+ * @property _swfURL
393
+ * @type String
394
+ * @private
395
+ */
396
+ _swfURL: null,
397
+
398
+ /**
399
+ * The ID of the containing DIV.
400
+ * @property _containerID
401
+ * @type String
402
+ * @private
403
+ */
404
+ _containerID: null,
405
+
406
+ /**
407
+ * A reference to the embedded SWF file.
408
+ * @property _swf
409
+ * @private
410
+ */
411
+ _swf: null,
412
+
413
+ /**
414
+ * The id of this instance.
415
+ * @property _id
416
+ * @type String
417
+ * @private
418
+ */
419
+ _id: null,
420
+
421
+ /**
422
+ * Indicates whether the SWF has been initialized and is ready
423
+ * to communicate with JavaScript
424
+ * @property _initialized
425
+ * @type Boolean
426
+ * @private
427
+ */
428
+ _initialized: false,
429
+
430
+ /**
431
+ * The initializing attributes are stored here until the SWF is ready.
432
+ * @property _attributes
433
+ * @type Object
434
+ * @private
435
+ */
436
+ _attributes: null, //the intializing attributes
437
+
438
+ /**
439
+ * Public accessor to the unique name of the FlashAdapter instance.
440
+ *
441
+ * @method toString
442
+ * @return {String} Unique name of the FlashAdapter instance.
443
+ */
444
+ toString: function()
445
+ {
446
+ return "FlashAdapter " + this._id;
447
+ },
448
+
449
+ /**
450
+ * Nulls out the entire FlashAdapter instance and related objects and removes attached
451
+ * event listeners and clears out DOM elements inside the container. After calling
452
+ * this method, the instance reference should be expliclitly nulled by implementer,
453
+ * as in myChart = null. Use with caution!
454
+ *
455
+ * @method destroy
456
+ */
457
+ destroy: function()
458
+ {
459
+ //kill the Flash Player instance
460
+ if(this._swf)
461
+ {
462
+ var container = YAHOO.util.Dom.get(this._containerID);
463
+ container.removeChild(this._swf);
464
+ }
465
+
466
+ var instanceName = this._id;
467
+
468
+ //null out properties
469
+ for(var prop in this)
470
+ {
471
+ if(YAHOO.lang.hasOwnProperty(this, prop))
472
+ {
473
+ this[prop] = null;
474
+ }
475
+ }
476
+
477
+ },
478
+
479
+ /**
480
+ * Embeds the SWF in the page and associates it with this instance.
481
+ *
482
+ * @method _embedSWF
483
+ * @private
484
+ */
485
+ _embedSWF: function(swfURL, containerID, swfID, version, backgroundColor, expressInstall, wmode, buttonSkin)
486
+ {
487
+ //standard SWFObject embed
488
+ var swfObj = new YAHOO.deconcept.SWFObject(swfURL, swfID, "100%", "100%", version, backgroundColor);
489
+
490
+ if(expressInstall)
491
+ {
492
+ swfObj.useExpressInstall(expressInstall);
493
+ }
494
+
495
+ //make sure we can communicate with ExternalInterface
496
+ swfObj.addParam("allowScriptAccess", "always");
497
+
498
+ if(wmode)
499
+ {
500
+ swfObj.addParam("wmode", wmode);
501
+ }
502
+
503
+ swfObj.addParam("menu", "false");
504
+
505
+ //again, a useful ExternalInterface trick
506
+ swfObj.addVariable("allowedDomain", document.location.hostname);
507
+
508
+ //tell the SWF which HTML element it is in
509
+ swfObj.addVariable("YUISwfId", swfID);
510
+
511
+ // set the name of the function to call when the swf has an event
512
+ swfObj.addVariable("YUIBridgeCallback", "YAHOO.widget.FlashAdapter.eventHandler");
513
+ if (buttonSkin) {
514
+ swfObj.addVariable("buttonSkin", buttonSkin);
515
+ }
516
+ var container = YAHOO.util.Dom.get(containerID);
517
+ var result = swfObj.write(container);
518
+ if(result)
519
+ {
520
+ this._swf = YAHOO.util.Dom.get(swfID);
521
+ YAHOO.widget.FlashAdapter.owners[swfID] = this;
522
+ }
523
+ else
524
+ {
525
+ }
526
+ },
527
+
528
+ /**
529
+ * Handles or re-dispatches events received from the SWF.
530
+ *
531
+ * @method _eventHandler
532
+ * @private
533
+ */
534
+ _eventHandler: function(event)
535
+ {
536
+ var type = event.type;
537
+ switch(type)
538
+ {
539
+ case "swfReady":
540
+ this._loadHandler();
541
+ return;
542
+ case "log":
543
+ return;
544
+ }
545
+
546
+
547
+ //be sure to return after your case or the event will automatically fire!
548
+ this.fireEvent(type, event);
549
+ },
550
+
551
+ /**
552
+ * Called when the SWF has been initialized.
553
+ *
554
+ * @method _loadHandler
555
+ * @private
556
+ */
557
+ _loadHandler: function()
558
+ {
559
+ this._initialized = false;
560
+ this._initAttributes(this._attributes);
561
+ this.setAttributes(this._attributes, true);
562
+
563
+ this._initialized = true;
564
+ this.fireEvent("contentReady");
565
+ },
566
+
567
+ set: function(name, value)
568
+ {
569
+ //save all the attributes in case the swf reloads
570
+ //so that we can pass them in again
571
+ this._attributes[name] = value;
572
+ YAHOO.widget.FlashAdapter.superclass.set.call(this, name, value);
573
+ },
574
+
575
+ /**
576
+ * Initializes the attributes.
577
+ *
578
+ * @method _initAttributes
579
+ * @private
580
+ */
581
+ _initAttributes: function(attributes)
582
+ {
583
+ //should be overridden if other attributes need to be set up
584
+
585
+ /**
586
+ * @attribute wmode
587
+ * @description Sets the window mode of the Flash Player control. May be
588
+ * "window", "opaque", or "transparent". Only available in the constructor
589
+ * because it may not be set after Flash Player has been embedded in the page.
590
+ * @type String
591
+ */
592
+
593
+ /**
594
+ * @attribute expressInstall
595
+ * @description URL pointing to a SWF file that handles Flash Player's express
596
+ * install feature. Only available in the constructor because it may not be
597
+ * set after Flash Player has been embedded in the page.
598
+ * @type String
599
+ */
600
+
601
+ /**
602
+ * @attribute version
603
+ * @description Minimum required version for the SWF file. Only available in the constructor because it may not be
604
+ * set after Flash Player has been embedded in the page.
605
+ * @type String
606
+ */
607
+
608
+ /**
609
+ * @attribute backgroundColor
610
+ * @description The background color of the SWF. Only available in the constructor because it may not be
611
+ * set after Flash Player has been embedded in the page.
612
+ * @type String
613
+ */
614
+
615
+ /**
616
+ * @attribute altText
617
+ * @description The alternative text to provide for screen readers and other assistive technology.
618
+ * @type String
619
+ */
620
+ this.getAttributeConfig("altText",
621
+ {
622
+ method: this._getAltText
623
+ });
624
+ this.setAttributeConfig("altText",
625
+ {
626
+ method: this._setAltText
627
+ });
628
+
629
+ /**
630
+ * @attribute swfURL
631
+ * @description Absolute or relative URL to the SWF displayed by the FlashAdapter. Only available in the constructor because it may not be
632
+ * set after Flash Player has been embedded in the page.
633
+ * @type String
634
+ */
635
+ this.getAttributeConfig("swfURL",
636
+ {
637
+ method: this._getSWFURL
638
+ });
639
+ },
640
+
641
+ /**
642
+ * Getter for swfURL attribute.
643
+ *
644
+ * @method _getSWFURL
645
+ * @private
646
+ */
647
+ _getSWFURL: function()
648
+ {
649
+ return this._swfURL;
650
+ },
651
+
652
+ /**
653
+ * Getter for altText attribute.
654
+ *
655
+ * @method _getAltText
656
+ * @private
657
+ */
658
+ _getAltText: function()
659
+ {
660
+ return this._swf.getAltText();
661
+ },
662
+
663
+ /**
664
+ * Setter for altText attribute.
665
+ *
666
+ * @method _setAltText
667
+ * @private
668
+ */
669
+ _setAltText: function(value)
670
+ {
671
+ return this._swf.setAltText(value);
672
+ }
673
+ });
674
+
675
+
676
+ /**
677
+ * Receives event messages from SWF and passes them to the correct instance
678
+ * of FlashAdapter.
679
+ *
680
+ * @method YAHOO.widget.FlashAdapter.eventHandler
681
+ * @static
682
+ * @private
683
+ */
684
+ YAHOO.widget.FlashAdapter.eventHandler = function(elementID, event)
685
+ {
686
+
687
+ if(!YAHOO.widget.FlashAdapter.owners[elementID])
688
+ {
689
+ //fix for ie: if owner doesn't exist yet, try again in a moment
690
+ setTimeout(function() { YAHOO.widget.FlashAdapter.eventHandler( elementID, event ); }, 0);
691
+ }
692
+ else
693
+ {
694
+ YAHOO.widget.FlashAdapter.owners[elementID]._eventHandler(event);
695
+ }
696
+ };
697
+
698
+ /**
699
+ * The number of proxy functions that have been created.
700
+ * @static
701
+ * @private
702
+ */
703
+ YAHOO.widget.FlashAdapter.proxyFunctionCount = 0;
704
+
705
+ /**
706
+ * Creates a globally accessible function that wraps a function reference.
707
+ * Returns the proxy function's name as a string for use by the SWF through
708
+ * ExternalInterface.
709
+ *
710
+ * @method YAHOO.widget.FlashAdapter.createProxyFunction
711
+ * @static
712
+ * @private
713
+ */
714
+ YAHOO.widget.FlashAdapter.createProxyFunction = function(func)
715
+ {
716
+ var index = YAHOO.widget.FlashAdapter.proxyFunctionCount;
717
+ YAHOO.widget.FlashAdapter["proxyFunction" + index] = function()
718
+ {
719
+ return func.apply(null, arguments);
720
+ };
721
+ YAHOO.widget.FlashAdapter.proxyFunctionCount++;
722
+ return "YAHOO.widget.FlashAdapter.proxyFunction" + index.toString();
723
+ };
724
+
725
+ /**
726
+ * Removes a function created with createProxyFunction()
727
+ *
728
+ * @method YAHOO.widget.FlashAdapter.removeProxyFunction
729
+ * @static
730
+ * @private
731
+ */
732
+ YAHOO.widget.FlashAdapter.removeProxyFunction = function(funcName)
733
+ {
734
+ //quick error check
735
+ if(!funcName || funcName.indexOf("YAHOO.widget.FlashAdapter.proxyFunction") < 0)
736
+ {
737
+ return;
738
+ }
739
+
740
+ funcName = funcName.substr(26);
741
+ YAHOO.widget.FlashAdapter[funcName] = null;
742
+ };
743
+ /**
744
+ * The YUI Uploader Control
745
+ * @module uploader
746
+ * @description <p>YUI Uploader provides file upload functionality that goes beyond the basic browser-based methods.
747
+ * Specifically, the YUI Uploader allows for:
748
+ * <ol>
749
+ * <li> Multiple file selection in a single "Open File" dialog.</li>
750
+ * <li> File extension filters to facilitate the user's selection.</li>
751
+ * <li> Progress tracking for file uploads.</li>
752
+ * <li> A range of file metadata: filename, size, date created, date modified, and author.</li>
753
+ * <li> A set of events dispatched on various aspects of the file upload process: file selection, upload progress, upload completion, etc.</li>
754
+ * <li> Inclusion of additional data in the file upload POST request.</li>
755
+ * <li> Faster file upload on broadband connections due to the modified SEND buffer size.</li>
756
+ * <li> Same-page server response upon completion of the file upload.</li>
757
+ * </ol>
758
+ * </p>
759
+ * @title Uploader
760
+ * @namespace YAHOO.widget
761
+ * @requires yahoo, dom, element, event
762
+ */
763
+ /**
764
+ * Uploader class for the YUI Uploader component.
765
+ *
766
+ * @namespace YAHOO.widget
767
+ * @class Uploader
768
+ * @uses YAHOO.widget.FlashAdapter
769
+ * @constructor
770
+ * @param containerId {HTMLElement} Container element for the Flash Player instance.
771
+ * @param buttonSkin {String} [optional]. If defined, the uploader is
772
+ * rendered as a button. This parameter must provide the URL of a button
773
+ * skin sprite image. Acceptable types are: jpg, gif, png and swf. The
774
+ * sprite is divided evenly into four sections along its height (e.g., if
775
+ * the sprite is 200 px tall, it's divided into four sections 50px each).
776
+ * Each section is used as a skin for a specific state of the button: top
777
+ * section is "up", second section is "over", third section is "down", and
778
+ * fourth section is "disabled".
779
+ * If the parameter is not supplied, the uploader is rendered transparent,
780
+ * and it's the developer's responsibility to create a visible UI below it.
781
+ * @param forceTransparent {Boolean} This parameter, if true, forces the Flash
782
+ * UI to be rendered with wmode set to "transparent". This behavior is useful
783
+ * in conjunction with non-rectangular button skins with PNG transparency.
784
+ * The parameter is false by default, and ignored if no buttonSkin is defined.
785
+ */
786
+ YAHOO.widget.Uploader = function(containerId, buttonSkin, forceTransparent)
787
+ {
788
+ var newWMode = "window";
789
+
790
+ if (!(buttonSkin) || (buttonSkin && forceTransparent)) {
791
+ newWMode = "transparent";
792
+ }
793
+
794
+
795
+ YAHOO.widget.Uploader.superclass.constructor.call(this, YAHOO.widget.Uploader.SWFURL, containerId, {wmode:newWMode}, buttonSkin);
796
+
797
+ /**
798
+ * Fires when the mouse is pressed over the Uploader.
799
+ * Only fires when the Uploader UI is enabled and
800
+ * the render type is 'transparent'.
801
+ *
802
+ * @event mouseDown
803
+ * @param event.type {String} The event type
804
+ */
805
+ this.createEvent("mouseDown");
806
+
807
+ /**
808
+ * Fires when the mouse is released over the Uploader.
809
+ * Only fires when the Uploader UI is enabled and
810
+ * the render type is 'transparent'.
811
+ *
812
+ * @event mouseUp
813
+ * @param event.type {String} The event type
814
+ */
815
+ this.createEvent("mouseUp");
816
+
817
+ /**
818
+ * Fires when the mouse rolls over the Uploader.
819
+ *
820
+ * @event rollOver
821
+ * @param event.type {String} The event type
822
+ */
823
+ this.createEvent("rollOver");
824
+
825
+ /**
826
+ * Fires when the mouse rolls out of the Uploader.
827
+ *
828
+ * @event rollOut
829
+ * @param event.type {String} The event type
830
+ */
831
+ this.createEvent("rollOut");
832
+
833
+ /**
834
+ * Fires when the uploader is clicked.
835
+ *
836
+ * @event click
837
+ * @param event.type {String} The event type
838
+ */
839
+ this.createEvent("click");
840
+
841
+ /**
842
+ * Fires when the user has finished selecting files in the "Open File" dialog.
843
+ *
844
+ * @event fileSelect
845
+ * @param event.type {String} The event type
846
+ * @param event.fileList {Object} A dictionary of objects with file information
847
+ * @param event.fileList[].size {Number} File size in bytes for a specific file in fileList
848
+ * @param event.fileList[].cDate {Date} Creation date for a specific file in fileList
849
+ * @param event.fileList[].mDate {Date} Modification date for a specific file in fileList
850
+ * @param event.fileList[].name {String} File name for a specific file in fileList
851
+ * @param event.fileList[].id {String} Unique file id of a specific file in fileList
852
+ */
853
+ this.createEvent("fileSelect");
854
+
855
+ /**
856
+ * Fires when an upload of a specific file has started.
857
+ *
858
+ * @event uploadStart
859
+ * @param event.type {String} The event type
860
+ * @param event.id {String} The id of the file that's started to upload
861
+ */
862
+ this.createEvent("uploadStart");
863
+
864
+ /**
865
+ * Fires when new information about the upload progress for a specific file is available.
866
+ *
867
+ * @event uploadProgress
868
+ * @param event.type {String} The event type
869
+ * @param event.id {String} The id of the file with which the upload progress data is associated
870
+ * @param bytesLoaded {Number} The number of bytes of the file uploaded so far
871
+ * @param bytesTotal {Number} The total size of the file
872
+ */
873
+ this.createEvent("uploadProgress");
874
+
875
+ /**
876
+ * Fires when an upload for a specific file is cancelled.
877
+ *
878
+ * @event uploadCancel
879
+ * @param event.type {String} The event type
880
+ * @param event.id {String} The id of the file with which the upload has been cancelled.
881
+ */
882
+ this.createEvent("uploadCancel");
883
+
884
+ /**
885
+ * Fires when an upload for a specific file is complete.
886
+ *
887
+ * @event uploadComplete
888
+ * @param event.type {String} The event type
889
+ * @param event.id {String} The id of the file for which the upload has been completed.
890
+ */
891
+ this.createEvent("uploadComplete");
892
+
893
+ /**
894
+ * Fires when the server sends data in response to a completed upload.
895
+ *
896
+ * @event uploadCompleteData
897
+ * @param event.type {String} The event type
898
+ * @param event.id {String} The id of the file for which the upload has been completed.
899
+ * @param event.data {String} The raw data returned by the server in response to the upload.
900
+ */
901
+ this.createEvent("uploadCompleteData");
902
+
903
+ /**
904
+ * Fires when an upload error occurs.
905
+ *
906
+ * @event uploadError
907
+ * @param event.type {String} The event type
908
+ * @param event.id {String} The id of the file that was being uploaded when the error has occurred.
909
+ * @param event.status {String} The status message associated with the error.
910
+ */
911
+ this.createEvent("uploadError");
912
+ }
913
+
914
+ /**
915
+ * Location of the Uploader SWF
916
+ *
917
+ * @property Chart.SWFURL
918
+ * @private
919
+ * @static
920
+ * @final
921
+ * @default "assets/uploader.swf"
922
+ */
923
+ YAHOO.widget.Uploader.SWFURL = "assets/uploader.swf";
924
+
925
+ YAHOO.extend(YAHOO.widget.Uploader, YAHOO.widget.FlashAdapter,
926
+ {
927
+ /**
928
+ * Starts the upload of the file specified by fileID to the location specified by uploadScriptPath.
929
+ *
930
+ * @param fileID {String} The id of the file to start uploading.
931
+ * @param uploadScriptPath {String} The URL of the upload location.
932
+ * @param method {String} Either "GET" or "POST", specifying how the variables accompanying the file upload POST request should be submitted. "GET" by default.
933
+ * @param vars {Object} The object containing variables to be sent in the same request as the file upload.
934
+ * @param fieldName {String} The name of the variable in the POST request containing the file data. "Filedata" by default.
935
+ * </code>
936
+ */
937
+ upload: function(fileID, uploadScriptPath, method, vars, fieldName)
938
+ {
939
+ this._swf.upload(fileID, uploadScriptPath, method, vars, fieldName);
940
+ },
941
+
942
+ /**
943
+ * Starts the upload of the files specified by fileIDs, or adds them to a currently running queue. The upload queue is automatically managed.
944
+ *
945
+ * @param fileIDs {Array} The ids of the files to start uploading.
946
+ * @param uploadScriptPath {String} The URL of the upload location.
947
+ * @param method {String} Either "GET" or "POST", specifying how the variables accompanying the file upload POST request should be submitted. "GET" by default.
948
+ * @param vars {Object} The object containing variables to be sent in the same request as the file upload.
949
+ * @param fieldName {String} The name of the variable in the POST request containing the file data. "Filedata" by default.
950
+ * </code>
951
+ */
952
+ uploadThese: function(fileIDs, uploadScriptPath, method, vars, fieldName)
953
+ {
954
+ this._swf.uploadThese(fileIDs, uploadScriptPath, method, vars, fieldName);
955
+ },
956
+
957
+ /**
958
+ * Starts uploading all files in the queue. If this function is called, the upload queue is automatically managed.
959
+ *
960
+ * @param uploadScriptPath {String} The URL of the upload location.
961
+ * @param method {String} Either "GET" or "POST", specifying how the variables accompanying the file upload POST request should be submitted. "GET" by default.
962
+ * @param vars {Object} The object containing variables to be sent in the same request as the file upload.
963
+ * @param fieldName {String} The name of the variable in the POST request containing the file data. "Filedata" by default.
964
+ * </code>
965
+ */
966
+ uploadAll: function(uploadScriptPath, method, vars, fieldName)
967
+ {
968
+ this._swf.uploadAll(uploadScriptPath, method, vars, fieldName);
969
+ },
970
+
971
+ /**
972
+ * Cancels the upload of a specified file. If no file id is specified, all ongoing uploads are cancelled.
973
+ *
974
+ * @param fileID {String} The ID of the file whose upload should be cancelled.
975
+ */
976
+ cancel: function(fileID)
977
+ {
978
+ this._swf.cancel(fileID);
979
+ },
980
+
981
+ /**
982
+ * Clears the list of files queued for upload.
983
+ *
984
+ */
985
+ clearFileList: function()
986
+ {
987
+ this._swf.clearFileList();
988
+ },
989
+
990
+ /**
991
+ * Removes the specified file from the upload queue.
992
+ *
993
+ * @param fileID {String} The id of the file to remove from the upload queue.
994
+ */
995
+ removeFile: function (fileID)
996
+ {
997
+ this._swf.removeFile(fileID);
998
+ },
999
+
1000
+ /**
1001
+ * Turns the logging functionality on.
1002
+ * Uses Flash internal trace logging, as well as YUI Logger, if available.
1003
+ *
1004
+ * @param allowLogging {Boolean} If true, logs are output; otherwise, no logs are produced.
1005
+ */
1006
+ setAllowLogging: function (allowLogging)
1007
+ {
1008
+ this._swf.setAllowLogging(allowLogging);
1009
+ },
1010
+
1011
+ /**
1012
+ * Sets the number of simultaneous uploads when using uploadAll()
1013
+ * The minimum value is 1, and maximum value is 5. The default value is 2.
1014
+ *
1015
+ * @param simUploadLimit {int} Number of simultaneous uploads, between 1 and 5.
1016
+ */
1017
+ setSimUploadLimit : function (simUploadLimit)
1018
+ {
1019
+ this._swf.setSimUploadLimit(simUploadLimit);
1020
+ },
1021
+
1022
+ /**
1023
+ * Sets the flag allowing users to select multiple files for the upload.
1024
+ *
1025
+ * @param allowMultipleFiles {Boolean} If true, multiple files can be selected. False by default.
1026
+ */
1027
+ setAllowMultipleFiles : function (allowMultipleFiles)
1028
+ {
1029
+ this._swf.setAllowMultipleFiles(allowMultipleFiles);
1030
+ },
1031
+
1032
+ /**
1033
+ * Sets the file filters for the "Browse" dialog.
1034
+ *
1035
+ * @param newFilterArray An array of sets of key-value pairs of the form
1036
+ * {extensions: extensionString, description: descriptionString, [optional]macType: macTypeString}
1037
+ * The extensions string is a semicolon-delimited list of elements of the form "*.xxx",
1038
+ * e.g. "*.jpg;*.gif;*.png".
1039
+ */
1040
+ setFileFilters : function (fileFilters)
1041
+ {
1042
+ this._swf.setFileFilters(fileFilters);
1043
+ },
1044
+
1045
+ /**
1046
+ * Enables the mouse events on the Uploader.
1047
+ * If the uploader is being rendered as a button,
1048
+ * then the button's skin is set to "up"
1049
+ * (first section of the button skin sprite).
1050
+ *
1051
+ */
1052
+ enable : function ()
1053
+ {
1054
+ this._swf.enable();
1055
+ },
1056
+
1057
+ /**
1058
+ * Disables the mouse events on the Uploader.
1059
+ * If the uploader is being rendered as a button,
1060
+ * then the button's skin is set to "disabled"
1061
+ * (fourth section of the button skin sprite).
1062
+ *
1063
+ */
1064
+ disable : function ()
1065
+ {
1066
+ this._swf.disable();
1067
+ }
1068
+ });
1069
+ YAHOO.register("uploader", YAHOO.widget.Uploader, {version: "2.8.1", build: "19"});