erp_app 4.0.0 → 4.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1264) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/images/art/desktop-logo.jpg +0 -0
  3. data/app/assets/images/art/desktop-logo.png +0 -0
  4. data/{public → app/assets}/images/btn/left_panel/left_panel_16x16.png +0 -0
  5. data/{public → app/assets}/images/btn/left_right_panel/left_right_panel_16x16.png +0 -0
  6. data/{public → app/assets}/images/btn/right_panel/right_panel_16x16.png +0 -0
  7. data/{public → app/assets}/images/btn/save/save_16x16.png +0 -0
  8. data/{public → app/assets}/images/btn/save_all/save_all_16x16.png +0 -0
  9. data/{public → app/assets}/images/btn_light/add/add_16x16.png +0 -0
  10. data/{public → app/assets}/images/btn_light/left_panel/left_panel_16x16.png +0 -0
  11. data/{public → app/assets}/images/btn_light/left_right_panel/left_right_panel_16x16.png +0 -0
  12. data/{public → app/assets}/images/btn_light/right_panel/right_panel_16x16.png +0 -0
  13. data/{public → app/assets}/images/btn_light/save/save_16x16.png +0 -0
  14. data/{public → app/assets}/images/btn_light/save_all/save_all_16x16.png +0 -0
  15. data/{public → app/assets}/images/checked.gif +0 -0
  16. data/{public → app/assets}/images/erp_app/ajax-loader.gif +0 -0
  17. data/{public → app/assets}/images/erp_app/desktop/applications/file_manager/cancel.png +0 -0
  18. data/{public → app/assets}/images/erp_app/desktop/applications/file_manager/cross.png +0 -0
  19. data/{public → app/assets}/images/erp_app/desktop/applications/file_manager/hourglass.png +0 -0
  20. data/{public → app/assets}/images/erp_app/desktop/applications/file_manager/loading.gif +0 -0
  21. data/{public → app/assets}/images/erp_app/desktop/applications/file_manager/tick.png +0 -0
  22. data/app/assets/images/erp_app/desktop/applications/security_management/manage_capabilities.png +0 -0
  23. data/app/assets/images/erp_app/desktop/applications/security_management/manage_groups.png +0 -0
  24. data/app/assets/images/erp_app/desktop/applications/security_management/manage_roles.png +0 -0
  25. data/app/assets/images/erp_app/desktop/applications/security_management/manage_users.png +0 -0
  26. data/{public → app/assets}/images/erp_app/desktop/compass_logo_start_icon.png +0 -0
  27. data/{public → app/assets}/images/erp_app/desktop/image_add.png +0 -0
  28. data/{public → app/assets}/images/erp_app/desktop/themes.png +0 -0
  29. data/{public → app/assets}/images/erp_app/ext_loading_image.gif +0 -0
  30. data/{public → app/assets}/images/erp_app/mobile/green_light.png +0 -0
  31. data/{public → app/assets}/images/erp_app/mobile/red_light.png +0 -0
  32. data/{public → app/assets}/images/erp_app/mobile/yellow_light.png +0 -0
  33. data/{public → app/assets}/images/erp_app/organizer/applications/crm/business.png +0 -0
  34. data/{public → app/assets}/images/erp_app/organizer/applications/crm/business_64x64.png +0 -0
  35. data/{public → app/assets}/images/erp_app/organizer/applications/crm/customer-contact.png +0 -0
  36. data/{public → app/assets}/images/erp_app/organizer/applications/crm/customer_360_64x64.png +0 -0
  37. data/{public → app/assets}/images/erp_app/organizer/applications/crm/people.png +0 -0
  38. data/{public → app/assets}/images/erp_app/organizer/applications/crm/person.png +0 -0
  39. data/{public → app/assets}/images/erp_app/organizer/applications/crm/toolbar_find.png +0 -0
  40. data/{public → app/assets}/images/erp_app/organizer/applications/crm/vcard.png +0 -0
  41. data/{public → app/assets}/images/help.jpg +0 -0
  42. data/{public → app/assets}/images/icons/accept/accept_16x16.png +0 -0
  43. data/{public → app/assets}/images/icons/accept/accept_24x24.png +0 -0
  44. data/{public → app/assets}/images/icons/accept/accept_32x32.png +0 -0
  45. data/{public → app/assets}/images/icons/add/add_16x16.png +0 -0
  46. data/{public → app/assets}/images/icons/add/add_light_16x16.png +0 -0
  47. data/{public → app/assets}/images/icons/arrow_down_blue/arrow_down_blue_16x16.png +0 -0
  48. data/{public → app/assets}/images/icons/arrow_down_blue/arrow_down_blue_24x24.png +0 -0
  49. data/{public → app/assets}/images/icons/arrow_down_blue/arrow_down_blue_32x32.png +0 -0
  50. data/{public → app/assets}/images/icons/arrow_down_blue/arrow_down_blue_48x48.png +0 -0
  51. data/{public → app/assets}/images/icons/arrow_left_blue/arrow_left_blue_16x16.png +0 -0
  52. data/{public → app/assets}/images/icons/arrow_left_blue/arrow_left_blue_32x32.png +0 -0
  53. data/{public → app/assets}/images/icons/arrow_left_blue/arrow_left_blue_48x48.png +0 -0
  54. data/{public → app/assets}/images/icons/arrow_right_blue/arrow_right_blue_16x16.png +0 -0
  55. data/{public → app/assets}/images/icons/arrow_right_blue/arrow_right_blue_32x32.png +0 -0
  56. data/{public → app/assets}/images/icons/arrow_right_blue/arrow_right_blue_48x48.png +0 -0
  57. data/{public → app/assets}/images/icons/arrow_up_blue/arrow_up_blue_16x16.png +0 -0
  58. data/{public → app/assets}/images/icons/arrow_up_blue/arrow_up_blue_24x24.png +0 -0
  59. data/{public → app/assets}/images/icons/arrow_up_blue/arrow_up_blue_32x32.png +0 -0
  60. data/{public → app/assets}/images/icons/arrow_up_blue/arrow_up_blue_48x48.png +0 -0
  61. data/{public → app/assets}/images/icons/article/article_16x16.png +0 -0
  62. data/app/assets/images/icons/audio/audio_16x16.png +0 -0
  63. data/{public → app/assets}/images/icons/blog/blog_16x16.png +0 -0
  64. data/{public → app/assets}/images/icons/blog/blog_24x24.png +0 -0
  65. data/{public → app/assets}/images/icons/blog/blog_32x32.png +0 -0
  66. data/{public → app/assets}/images/icons/blog/blog_48x48.png +0 -0
  67. data/{public → app/assets}/images/icons/book/book_16x16.png +0 -0
  68. data/{public → app/assets}/images/icons/calendar/calendar_16x16.png +0 -0
  69. data/app/assets/images/icons/calendar/calendar_48x48.png +0 -0
  70. data/{public → app/assets}/images/icons/calendar/calendar_64x64.png +0 -0
  71. data/{public → app/assets}/images/icons/calendar/calendar_light_16x16.png +0 -0
  72. data/{public → app/assets}/images/icons/code/code_16x16.png +0 -0
  73. data/{public → app/assets}/images/icons/console/console_16x16.png +0 -0
  74. data/{public → app/assets}/images/icons/console/console_64x64.png +0 -0
  75. data/{public → app/assets}/images/icons/contact-us/contact-us_48x48.png +0 -0
  76. data/{public → app/assets}/images/icons/content/content_16x16.png +0 -0
  77. data/app/assets/images/icons/control_panel/control_panel_105x105.png +0 -0
  78. data/app/assets/images/icons/control_panel/control_panel_105x105_active.png +0 -0
  79. data/{public → app/assets}/images/icons/control_panel/control_panel_16x16.png +0 -0
  80. data/{public → app/assets}/images/icons/control_panel/control_panel_48x48.png +0 -0
  81. data/{public → app/assets}/images/icons/control_panel/control_panel_64x64.png +0 -0
  82. data/{public → app/assets}/images/icons/copy/copy_16x16.png +0 -0
  83. data/{public → app/assets}/images/icons/creditcards/creditcards_16x16.png +0 -0
  84. data/{public → app/assets}/images/icons/creditcards/creditcards_24x24.png +0 -0
  85. data/{public → app/assets}/images/icons/creditcards/creditcards_32x32.png +0 -0
  86. data/{public → app/assets}/images/icons/creditcards/creditcards_48x48.png +0 -0
  87. data/{public → app/assets}/images/icons/creditcards/creditcards_64x64.png +0 -0
  88. data/{public → app/assets}/images/icons/crm/crm_16x16.png +0 -0
  89. data/{public → app/assets}/images/icons/crm/crm_light_16x16.png +0 -0
  90. data/{public → app/assets}/images/icons/csr/csr_16x16.png +0 -0
  91. data/{public → app/assets}/images/icons/csr/csr_256x256.png +0 -0
  92. data/{public → app/assets}/images/icons/csr/csr_500x500.png +0 -0
  93. data/{public → app/assets}/images/icons/data/data_16x16.png +0 -0
  94. data/{public → app/assets}/images/icons/data/data_32x32.png +0 -0
  95. data/{public → app/assets}/images/icons/data/data_64x64.png +0 -0
  96. data/app/assets/images/icons/database/database_105x105.png +0 -0
  97. data/app/assets/images/icons/database/database_105x105_active.png +0 -0
  98. data/{public → app/assets}/images/icons/database/database_16x16.png +0 -0
  99. data/{public → app/assets}/images/icons/database_column/database_column_16x16.png +0 -0
  100. data/{public → app/assets}/images/icons/db_edit_data/db_edit_data_16x16.png +0 -0
  101. data/{public → app/assets}/images/icons/db_table/db_table_16x16.png +0 -0
  102. data/{public → app/assets}/images/icons/delete/delete_16x16.png +0 -0
  103. data/{public → app/assets}/images/icons/delete/delete_24x24.png +0 -0
  104. data/{public → app/assets}/images/icons/delete/delete_32x32.png +0 -0
  105. data/{public → app/assets}/images/icons/delete/delete_48x48.png +0 -0
  106. data/{public → app/assets}/images/icons/doc_settings/doc_settings_16x16.png +0 -0
  107. data/{public → app/assets}/images/icons/document/document_16x16.png +0 -0
  108. data/{public → app/assets}/images/icons/document/document_24x24.png +0 -0
  109. data/{public → app/assets}/images/icons/document/document_32x32.png +0 -0
  110. data/{public → app/assets}/images/icons/document/document_48x48.png +0 -0
  111. data/{public → app/assets}/images/icons/document_check/document_check_16x16.png +0 -0
  112. data/{public → app/assets}/images/icons/document_check/document_check_24x24.png +0 -0
  113. data/{public → app/assets}/images/icons/document_check/document_check_32x32.png +0 -0
  114. data/{public → app/assets}/images/icons/document_check/document_check_48x48.png +0 -0
  115. data/{public → app/assets}/images/icons/document_down/document_down_16x16.png +0 -0
  116. data/{public → app/assets}/images/icons/document_down/document_down_24x24.png +0 -0
  117. data/{public → app/assets}/images/icons/document_down/document_down_32x32.png +0 -0
  118. data/{public → app/assets}/images/icons/document_down/document_down_48x48.png +0 -0
  119. data/{public → app/assets}/images/icons/document_edit/document_edit_16x16.png +0 -0
  120. data/{public → app/assets}/images/icons/document_edit/document_edit_24x24.png +0 -0
  121. data/{public → app/assets}/images/icons/document_edit/document_edit_32x32.png +0 -0
  122. data/{public → app/assets}/images/icons/document_edit/document_edit_48x48.png +0 -0
  123. data/{public → app/assets}/images/icons/document_info/document_info_16x16.png +0 -0
  124. data/{public → app/assets}/images/icons/document_info/document_info_24x24.png +0 -0
  125. data/{public → app/assets}/images/icons/document_info/document_info_32x32.png +0 -0
  126. data/{public → app/assets}/images/icons/document_info/document_info_48x48.png +0 -0
  127. data/{public → app/assets}/images/icons/document_lock/document_lock_16x16.png +0 -0
  128. data/{public → app/assets}/images/icons/document_lock/document_lock_24x24.png +0 -0
  129. data/{public → app/assets}/images/icons/document_lock/document_lock_32x32.png +0 -0
  130. data/{public → app/assets}/images/icons/document_lock/document_lock_48x48.png +0 -0
  131. data/{public → app/assets}/images/icons/document_ok/document_ok_16x16.png +0 -0
  132. data/{public → app/assets}/images/icons/document_ok/document_ok_24x24.png +0 -0
  133. data/{public → app/assets}/images/icons/document_ok/document_ok_32x32.png +0 -0
  134. data/{public → app/assets}/images/icons/document_ok/document_ok_48x48.png +0 -0
  135. data/{public → app/assets}/images/icons/document_out/document_out_16x16.png +0 -0
  136. data/{public → app/assets}/images/icons/document_out/document_out_24x24.png +0 -0
  137. data/{public → app/assets}/images/icons/document_out/document_out_32x32.png +0 -0
  138. data/{public → app/assets}/images/icons/document_out/document_out_48x48.png +0 -0
  139. data/{public → app/assets}/images/icons/document_pulse/document_pulse_16x16.png +0 -0
  140. data/{public → app/assets}/images/icons/document_pulse/document_pulse_24x24.png +0 -0
  141. data/{public → app/assets}/images/icons/document_pulse/document_pulse_32x32.png +0 -0
  142. data/{public → app/assets}/images/icons/document_pulse/document_pulse_48x48.png +0 -0
  143. data/{public → app/assets}/images/icons/document_pulse/document_pulse_64x64.png +0 -0
  144. data/{public → app/assets}/images/icons/document_up/document_up_16x16.png +0 -0
  145. data/{public → app/assets}/images/icons/document_up/document_up_24x24.png +0 -0
  146. data/{public → app/assets}/images/icons/document_up/document_up_32x32.png +0 -0
  147. data/{public → app/assets}/images/icons/document_up/document_up_48x48.png +0 -0
  148. data/{public → app/assets}/images/icons/documents/documents_16x16.png +0 -0
  149. data/{public → app/assets}/images/icons/documents/documents_24x24.png +0 -0
  150. data/{public → app/assets}/images/icons/documents/documents_32x32.png +0 -0
  151. data/{public → app/assets}/images/icons/documents/documents_48x48.png +0 -0
  152. data/{public → app/assets}/images/icons/edit/edit_16x16.png +0 -0
  153. data/{public → app/assets}/images/icons/edit/edit_24x24.png +0 -0
  154. data/{public → app/assets}/images/icons/edit/edit_32x32.png +0 -0
  155. data/{public → app/assets}/images/icons/edit/edit_48x48.png +0 -0
  156. data/{public → app/assets}/images/icons/exit/exit_16x16.png +0 -0
  157. data/{public → app/assets}/images/icons/exit/exit_24x24.png +0 -0
  158. data/{public → app/assets}/images/icons/exit/exit_32x32.png +0 -0
  159. data/{public → app/assets}/images/icons/exit/exit_48x48.png +0 -0
  160. data/{public → app/assets}/images/icons/eye/eye_16x16.png +0 -0
  161. data/{public → app/assets}/images/icons/eye/eye_24x24.png +0 -0
  162. data/{public → app/assets}/images/icons/eye/eye_32x32.png +0 -0
  163. data/{public → app/assets}/images/icons/eye/eye_48x48.png +0 -0
  164. data/app/assets/images/icons/file-upload/file_upload-light.png +0 -0
  165. data/app/assets/images/icons/file-upload/file_upload_16x16-light.png +0 -0
  166. data/app/assets/images/icons/file-upload/file_upload_16x16.png +0 -0
  167. data/{public → app/assets}/images/icons/file_manager/file_manager_16x16.png +0 -0
  168. data/{public → app/assets}/images/icons/file_manager/file_manager_light_16x16.png +0 -0
  169. data/{public → app/assets}/images/icons/folder/folder_16x16.png +0 -0
  170. data/{public → app/assets}/images/icons/folder/folder_24x24.png +0 -0
  171. data/{public → app/assets}/images/icons/folder/folder_32x32.png +0 -0
  172. data/{public → app/assets}/images/icons/folder/folder_48x48.png +0 -0
  173. data/{public → app/assets}/images/icons/folders/folders_64x64.png +0 -0
  174. data/{public → app/assets}/images/icons/footprints/footprints_16x16.png +0 -0
  175. data/{public → app/assets}/images/icons/footprints/footprints_light_16x16.png +0 -0
  176. data/{public → app/assets}/images/icons/form/form_16x16.png +0 -0
  177. data/{public → app/assets}/images/icons/form/form_light_16x16.png +0 -0
  178. data/{public → app/assets}/images/icons/gantt/gantt_24x24.png +0 -0
  179. data/{public → app/assets}/images/icons/gear/gear_16x16.png +0 -0
  180. data/{public → app/assets}/images/icons/gear/gear_24x24.png +0 -0
  181. data/{public → app/assets}/images/icons/gear/gear_32x32.png +0 -0
  182. data/{public → app/assets}/images/icons/gear/gear_48x48.png +0 -0
  183. data/{public → app/assets}/images/icons/gear/gear_light_16x16.png +0 -0
  184. data/app/assets/images/icons/globe/globe_105x105.png +0 -0
  185. data/app/assets/images/icons/globe/globe_105x105_active.png +0 -0
  186. data/{public → app/assets}/images/icons/globe/globe_16x16.png +0 -0
  187. data/{public → app/assets}/images/icons/globe/globe_64x64.png +0 -0
  188. data/{public → app/assets}/images/icons/globe/globe_light_16x16.png +0 -0
  189. data/{public → app/assets}/images/icons/globe_disconnected/globe_disconnected_16x16.png +0 -0
  190. data/{public → app/assets}/images/icons/globe_disconnected/globe_disconnected_24x24.png +0 -0
  191. data/{public → app/assets}/images/icons/globe_disconnected/globe_disconnected_32x32.png +0 -0
  192. data/{public → app/assets}/images/icons/globe_disconnected/globe_disconnected_48x48.png +0 -0
  193. data/{public → app/assets}/images/icons/google-map/google-map_48x48.png +0 -0
  194. data/{public → app/assets}/images/icons/grid/grid_16x16.png +0 -0
  195. data/{public → app/assets}/images/icons/grid/grid_64x64.png +0 -0
  196. data/app/assets/images/icons/hide/hide_16x16.png +0 -0
  197. data/app/assets/images/icons/hide/hide_32x32.png +0 -0
  198. data/app/assets/images/icons/hide/hide_48x48.png +0 -0
  199. data/{public → app/assets}/images/icons/hierarchy/hierarchy_16x16.png +0 -0
  200. data/{public → app/assets}/images/icons/history/history_16x16.png +0 -0
  201. data/{public → app/assets}/images/icons/history/history_64x64.png +0 -0
  202. data/{public → app/assets}/images/icons/history/history_light_16x16.png +0 -0
  203. data/{public → app/assets}/images/icons/home/home_16x16.png +0 -0
  204. data/{public → app/assets}/images/icons/home/home_48x48.png +0 -0
  205. data/{public → app/assets}/images/icons/ia/ia_16x16.png +0 -0
  206. data/{public → app/assets}/images/icons/index/index_16x16.png +0 -0
  207. data/{public → app/assets}/images/icons/index/index_24x24.png +0 -0
  208. data/{public → app/assets}/images/icons/index/index_32x32.png +0 -0
  209. data/{public → app/assets}/images/icons/index/index_48x48.png +0 -0
  210. data/{public → app/assets}/images/icons/information/information_16x16.png +0 -0
  211. data/app/assets/images/icons/information/information_light_16x16.png +0 -0
  212. data/{public → app/assets}/images/icons/invoicing/invoicing_48x48.png +0 -0
  213. data/{public → app/assets}/images/icons/invoicing/invoicing_64x64.png +0 -0
  214. data/app/assets/images/icons/key/key_105x105.png +0 -0
  215. data/app/assets/images/icons/key/key_105x105_active.png +0 -0
  216. data/app/assets/images/icons/key/key_16x16-light.png +0 -0
  217. data/{public → app/assets}/images/icons/key/key_16x16.png +0 -0
  218. data/{public → app/assets}/images/icons/key/key_64x64.png +0 -0
  219. data/{public → app/assets}/images/icons/knitkit/knitkit_16x16.png +0 -0
  220. data/{public → app/assets}/images/icons/knitkit/knitkit_48x48.png +0 -0
  221. data/{public → app/assets}/images/icons/knitkit/knitkit_light_16x16.png +0 -0
  222. data/app/assets/images/icons/link/link_16x16.png +0 -0
  223. data/app/assets/images/icons/login/login_48x48.png +0 -0
  224. data/{public → app/assets}/images/icons/magnifying-glass/magnifying-glass_48x48.png +0 -0
  225. data/{public → app/assets}/images/icons/mail/mail_16x16.png +0 -0
  226. data/{public → app/assets}/images/icons/mail/mail_24x24.png +0 -0
  227. data/{public → app/assets}/images/icons/mail/mail_32x32.png +0 -0
  228. data/app/assets/images/icons/mail/mail_48x48.png +0 -0
  229. data/app/assets/images/icons/manage_profile/manage_profile_48x48.png +0 -0
  230. data/{public → app/assets}/images/icons/map/map_16x16.png +0 -0
  231. data/{public → app/assets}/images/icons/map/map_24x24.png +0 -0
  232. data/{public → app/assets}/images/icons/map/map_32x32.png +0 -0
  233. data/app/assets/images/icons/map/map_48x48.png +0 -0
  234. data/{public → app/assets}/images/icons/menu/menu_16x16.png +0 -0
  235. data/{public → app/assets}/images/icons/next/next_16x16.png +0 -0
  236. data/{public → app/assets}/images/icons/next/next_24x24.png +0 -0
  237. data/{public → app/assets}/images/icons/next/next_32x32.png +0 -0
  238. data/{public → app/assets}/images/icons/next/next_48x48.png +0 -0
  239. data/{public → app/assets}/images/icons/note/note_16x16.png +0 -0
  240. data/{public → app/assets}/images/icons/note/note_24x24.png +0 -0
  241. data/{public → app/assets}/images/icons/note/note_32x32.png +0 -0
  242. data/{public → app/assets}/images/icons/note/note_48x48.png +0 -0
  243. data/{public → app/assets}/images/icons/ordered_list/ordered_list_16x16.png +0 -0
  244. data/app/assets/images/icons/package/logo.png +0 -0
  245. data/{public → app/assets}/images/icons/package/package_16x16.png +0 -0
  246. data/{public → app/assets}/images/icons/package/package_24x24.png +0 -0
  247. data/{public → app/assets}/images/icons/package/package_32x32.png +0 -0
  248. data/app/assets/images/icons/package/package_48x48.png +0 -0
  249. data/{public → app/assets}/images/icons/package/package_64x64.png +0 -0
  250. data/{public → app/assets}/images/icons/package/package_light_16x16.png +0 -0
  251. data/{public → app/assets}/images/icons/palette/palette_64x64.png +0 -0
  252. data/{public → app/assets}/images/icons/person/person_16x16.png +0 -0
  253. data/{public → app/assets}/images/icons/phone/phone_16x16.png +0 -0
  254. data/{public → app/assets}/images/icons/phone/phone_64x64.png +0 -0
  255. data/{public → app/assets}/images/icons/picture/picture_16x16.png +0 -0
  256. data/{public → app/assets}/images/icons/play/play_16x16.png +0 -0
  257. data/{public → app/assets}/images/icons/preferences/preferences_16x16.png +0 -0
  258. data/{public → app/assets}/images/icons/preferences/preferences_24x24.png +0 -0
  259. data/{public → app/assets}/images/icons/preferences/preferences_32x32.png +0 -0
  260. data/{public → app/assets}/images/icons/preferences/preferences_48x48.png +0 -0
  261. data/{public → app/assets}/images/icons/preview/preview_16x16.png +0 -0
  262. data/{public → app/assets}/images/icons/preview/preview_24x24.png +0 -0
  263. data/{public → app/assets}/images/icons/preview/preview_32x32.png +0 -0
  264. data/{public → app/assets}/images/icons/preview/preview_48x48.png +0 -0
  265. data/{public → app/assets}/images/icons/product/product_16x16.png +0 -0
  266. data/{public → app/assets}/images/icons/product/product_24x24.png +0 -0
  267. data/{public → app/assets}/images/icons/product/product_32x32.png +0 -0
  268. data/app/assets/images/icons/product/product_48x48.png +0 -0
  269. data/{public → app/assets}/images/icons/product/product_64x64.png +0 -0
  270. data/{public → app/assets}/images/icons/product/product_light_16x16.png +0 -0
  271. data/{public → app/assets}/images/icons/properties/properties_16x16.png +0 -0
  272. data/{public → app/assets}/images/icons/properties/properties_24x24.png +0 -0
  273. data/{public → app/assets}/images/icons/properties/properties_32x32.png +0 -0
  274. data/{public → app/assets}/images/icons/properties/properties_48x48.png +0 -0
  275. data/{public → app/assets}/images/icons/query/query_16x16.png +0 -0
  276. data/app/assets/images/icons/recycle/recycle_16x16.png +0 -0
  277. data/{public → app/assets}/images/icons/recycle/recycle_24x24.png +0 -0
  278. data/{public → app/assets}/images/icons/recycle/recycle_32x32.png +0 -0
  279. data/{public → app/assets}/images/icons/recycle/recycle_48x48.png +0 -0
  280. data/{public → app/assets}/images/icons/redo/redo_16x16.png +0 -0
  281. data/{public → app/assets}/images/icons/redo/redo_24x24.png +0 -0
  282. data/{public → app/assets}/images/icons/redo/redo_32x32.png +0 -0
  283. data/{public → app/assets}/images/icons/redo/redo_48x48.png +0 -0
  284. data/{public → app/assets}/images/icons/refresh/refresh_16x16.png +0 -0
  285. data/{public → app/assets}/images/icons/refresh/refresh_24x24.png +0 -0
  286. data/{public → app/assets}/images/icons/refresh/refresh_32x32.png +0 -0
  287. data/{public → app/assets}/images/icons/refresh/refresh_48x48.png +0 -0
  288. data/{public → app/assets}/images/icons/remove/remove_16x16.png +0 -0
  289. data/{public → app/assets}/images/icons/remove/remove_24x24.png +0 -0
  290. data/{public → app/assets}/images/icons/remove/remove_32x32.png +0 -0
  291. data/{public → app/assets}/images/icons/remove/remove_48x48.png +0 -0
  292. data/{public → app/assets}/images/icons/rename/rename_16x16.png +0 -0
  293. data/{public → app/assets}/images/icons/rename/rename_24x24.png +0 -0
  294. data/{public → app/assets}/images/icons/rename/rename_32xr2.png +0 -0
  295. data/{public → app/assets}/images/icons/rename/rename_48x48.png +0 -0
  296. data/{public → app/assets}/images/icons/report/report_16x16.png +0 -0
  297. data/app/assets/images/icons/reset_password/reset_password_48x48.png +0 -0
  298. data/{public → app/assets}/images/icons/rowselect/rowselect_16x16.png +0 -0
  299. data/{public → app/assets}/images/icons/save/save_16x16.png +0 -0
  300. data/{public → app/assets}/images/icons/save/save_24x24.png +0 -0
  301. data/{public → app/assets}/images/icons/save/save_32x32.png +0 -0
  302. data/{public → app/assets}/images/icons/save/save_48x48.png +0 -0
  303. data/{public → app/assets}/images/icons/save_as/save_as_16x16.png +0 -0
  304. data/{public → app/assets}/images/icons/save_as/save_as_24x24.png +0 -0
  305. data/{public → app/assets}/images/icons/save_as/save_as_32x32.png +0 -0
  306. data/{public → app/assets}/images/icons/save_as/save_as_48x48.png +0 -0
  307. data/{public → app/assets}/images/icons/scaffold/scaffold_16x16.png +0 -0
  308. data/{public → app/assets}/images/icons/scaffold/scaffold_light_16x16.png +0 -0
  309. data/{public → app/assets}/images/icons/search/search_16x16.png +0 -0
  310. data/{public → app/assets}/images/icons/search/search_24x24.png +0 -0
  311. data/{public → app/assets}/images/icons/search/search_32x32.png +0 -0
  312. data/app/assets/images/icons/search/search_48x48.png +0 -0
  313. data/{public → app/assets}/images/icons/search/search_light_16x16.png +0 -0
  314. data/{public → app/assets}/images/icons/section/section_16x16.png +0 -0
  315. data/{public → app/assets}/images/icons/section/section_24x24.png +0 -0
  316. data/{public → app/assets}/images/icons/section/section_32x32.png +0 -0
  317. data/{public → app/assets}/images/icons/section/section_48x48.png +0 -0
  318. data/{public → app/assets}/images/icons/section_lock/section_lock_16x16.png +0 -0
  319. data/{public → app/assets}/images/icons/section_lock/section_lock_24x24.png +0 -0
  320. data/{public → app/assets}/images/icons/section_lock/section_lock_32x32.png +0 -0
  321. data/{public → app/assets}/images/icons/section_lock/section_lock_48x48.png +0 -0
  322. data/{public → app/assets}/images/icons/secure/secure_16x16.png +0 -0
  323. data/{public → app/assets}/images/icons/settings/settings_16x16.png +0 -0
  324. data/{public → app/assets}/images/icons/settings/settings_light_16x16.png +0 -0
  325. data/{public → app/assets}/images/icons/shopping_cart/shopping_card_64x64.png +0 -0
  326. data/{public → app/assets}/images/icons/shopping_cart/shopping_cart_32x32.png +0 -0
  327. data/app/assets/images/icons/shopping_cart/shopping_cart_48x48.png +0 -0
  328. data/{public → app/assets}/images/icons/sign_up/sign_up_32x32.png +0 -0
  329. data/app/assets/images/icons/sign_up/sign_up_48x48.png +0 -0
  330. data/{public → app/assets}/images/icons/sign_up/sign_up_64x64.png +0 -0
  331. data/{public → app/assets}/images/icons/simple_arrow/simple_arrow_16x16.png +0 -0
  332. data/{public → app/assets}/images/icons/small_gear/small_gear_16x16.png +0 -0
  333. data/{public → app/assets}/images/icons/sql/sql_16x16.png +0 -0
  334. data/{public → app/assets}/images/icons/tables/tables_16x16.png +0 -0
  335. data/app/assets/images/icons/template/template_16x16.png +0 -0
  336. data/{public → app/assets}/images/icons/theme/theme_16x16.png +0 -0
  337. data/{public → app/assets}/images/icons/theme_upload/theme_upload_16x16.png +0 -0
  338. data/{public → app/assets}/images/icons/ticket/tag_16x16.png +0 -0
  339. data/{public → app/assets}/images/icons/undo/undo_16x16.png +0 -0
  340. data/app/assets/images/icons/unhide/unhide_16x16.png +0 -0
  341. data/app/assets/images/icons/user/user_105x105.png +0 -0
  342. data/app/assets/images/icons/user/user_105x105_active.png +0 -0
  343. data/{public → app/assets}/images/icons/user/user_128x128.png +0 -0
  344. data/{public → app/assets}/images/icons/user/user_16x16.png +0 -0
  345. data/app/assets/images/icons/user/user_48x48.png +0 -0
  346. data/{public → app/assets}/images/icons/user/user_64x64.png +0 -0
  347. data/{public → app/assets}/images/icons/user/user_light_16x16.png +0 -0
  348. data/{public → app/assets}/images/icons/user_mgt/user_mgt_16x16.png +0 -0
  349. data/{public → app/assets}/images/icons/user_mgt/user_mgt_light_16x16.png +0 -0
  350. data/{public → app/assets}/images/icons/vcard/vcard_16x16.png +0 -0
  351. data/{public → app/assets}/images/icons/view/view_16x16.png +0 -0
  352. data/{public → app/assets}/images/icons/view/view_24x24.png +0 -0
  353. data/{public → app/assets}/images/icons/view/view_32x32.png +0 -0
  354. data/{public → app/assets}/images/icons/view/view_48x48.png +0 -0
  355. data/{public → app/assets}/images/icons/warning/waring_16x16.png +0 -0
  356. data/app/assets/images/icons/website/website_105x105.png +0 -0
  357. data/app/assets/images/icons/website/website_105x105_active.png +0 -0
  358. data/{public → app/assets}/images/icons/website/website_16x16.png +0 -0
  359. data/{public → app/assets}/images/icons/website_download/website_download_16x16.png +0 -0
  360. data/{public → app/assets}/images/icons/website_publications/website_publications_16x16.png +0 -0
  361. data/{public → app/assets}/images/icons/website_upload/website_upload_16x16.png +0 -0
  362. data/{public → app/assets}/images/img_blank.png +0 -0
  363. data/{public → app/assets}/images/loading_icon.gif +0 -0
  364. data/app/assets/images/splash/icons/console_icon.png +0 -0
  365. data/app/assets/images/splash/icons/console_icon_active.png +0 -0
  366. data/app/assets/images/splash/icons/db_icon.png +0 -0
  367. data/app/assets/images/splash/icons/db_icon_active.png +0 -0
  368. data/app/assets/images/splash/icons/help_icon.png +0 -0
  369. data/app/assets/images/splash/icons/help_icon_active.png +0 -0
  370. data/{public → app/assets}/images/splash_screen/browse_docs_icon.png +0 -0
  371. data/{public → app/assets}/images/splash_screen/contact_mgt_icon.png +0 -0
  372. data/{public → app/assets}/images/splash_screen/desktop_icon.png +0 -0
  373. data/{public → app/assets}/images/tab/tab-default-close.png +0 -0
  374. data/{public → app/assets}/images/unchecked.gif +0 -0
  375. data/{public → app/assets}/images/wallpaper/truenorth_tech.png +0 -0
  376. data/app/assets/javascripts/codemirror_compassae.js +31 -0
  377. data/app/assets/javascripts/erp_app/authentication/compass_user.js +97 -0
  378. data/app/assets/javascripts/erp_app/desktop/app.js +15 -0
  379. data/app/assets/javascripts/erp_app/desktop/applications/audit_log_viewer/app.js +13 -0
  380. data/app/assets/javascripts/erp_app/desktop/applications/audit_log_viewer/module.js +38 -0
  381. data/app/assets/javascripts/erp_app/desktop/applications/configuration_management/app.js +17 -0
  382. data/{public → app/assets}/javascripts/erp_app/desktop/applications/configuration_management/configuration_options_panel.js +0 -0
  383. data/{public → app/assets}/javascripts/erp_app/desktop/applications/configuration_management/configuration_tree_panel.js +0 -0
  384. data/{public → app/assets}/javascripts/erp_app/desktop/applications/configuration_management/configuration_types_panel.js +0 -0
  385. data/app/assets/javascripts/erp_app/desktop/applications/configuration_management/module.js +96 -0
  386. data/{public/javascripts/erp_app/desktop/applications/configuration_management/stores.0.js → app/assets/javascripts/erp_app/desktop/applications/configuration_management/stores.js} +0 -0
  387. data/app/assets/javascripts/erp_app/desktop/applications/file_manager/app.js +13 -0
  388. data/app/assets/javascripts/erp_app/desktop/applications/file_manager/module.js +134 -0
  389. data/app/assets/javascripts/erp_app/desktop/applications/job_tracker/app.js +14 -0
  390. data/{public → app/assets}/javascripts/erp_app/desktop/applications/job_tracker/jobs_grid.js +0 -0
  391. data/app/assets/javascripts/erp_app/desktop/applications/job_tracker/module.js +44 -0
  392. data/app/assets/javascripts/erp_app/desktop/applications/security_management/app.js +24 -0
  393. data/app/assets/javascripts/erp_app/desktop/applications/security_management/capabilities_panel.js +54 -0
  394. data/app/assets/javascripts/erp_app/desktop/applications/security_management/capabilities_widget.js +245 -0
  395. data/{public → app/assets}/javascripts/erp_app/desktop/applications/security_management/common_widget.js +0 -0
  396. data/app/assets/javascripts/erp_app/desktop/applications/security_management/groups_effective_security.js +80 -0
  397. data/app/assets/javascripts/erp_app/desktop/applications/security_management/groups_panel.js +271 -0
  398. data/app/assets/javascripts/erp_app/desktop/applications/security_management/groups_widget.js +245 -0
  399. data/app/assets/javascripts/erp_app/desktop/applications/security_management/mixins/widget.js +39 -0
  400. data/app/assets/javascripts/erp_app/desktop/applications/security_management/module.js +155 -0
  401. data/app/assets/javascripts/erp_app/desktop/applications/security_management/north_panel.js +23 -0
  402. data/app/assets/javascripts/erp_app/desktop/applications/security_management/roles_panel.js +334 -0
  403. data/app/assets/javascripts/erp_app/desktop/applications/security_management/roles_widget.js +258 -0
  404. data/app/assets/javascripts/erp_app/desktop/applications/security_management/south_panel.js +70 -0
  405. data/app/assets/javascripts/erp_app/desktop/applications/system_management/app.js +15 -0
  406. data/app/assets/javascripts/erp_app/desktop/applications/system_management/form.js +100 -0
  407. data/app/assets/javascripts/erp_app/desktop/applications/system_management/module.js +227 -0
  408. data/app/assets/javascripts/erp_app/desktop/applications/system_management/stores.js +48 -0
  409. data/app/assets/javascripts/erp_app/desktop/applications/tail/app.js +14 -0
  410. data/{public → app/assets}/javascripts/erp_app/desktop/applications/tail/module.js +0 -0
  411. data/{public → app/assets}/javascripts/erp_app/desktop/applications/tail/tail_panel.js +0 -0
  412. data/app/assets/javascripts/erp_app/desktop/applications/user_management/app.js +13 -0
  413. data/app/assets/javascripts/erp_app/desktop/applications/user_management/module.js +454 -0
  414. data/app/assets/javascripts/erp_app/desktop/applications/web_navigator/app.js +13 -0
  415. data/{public → app/assets}/javascripts/erp_app/desktop/applications/web_navigator/module.js +0 -0
  416. data/app/assets/javascripts/erp_app/desktop/ext_ux_desktop_module.js +1016 -0
  417. data/app/assets/javascripts/erp_app/desktop/select_roles_window.js +267 -0
  418. data/app/assets/javascripts/erp_app/ecommerce/credit_card_window.js +343 -0
  419. data/app/assets/javascripts/erp_app/jquery_support.js +45 -0
  420. data/app/assets/javascripts/erp_app/login/ResetPassword.js +128 -0
  421. data/app/assets/javascripts/erp_app/login/mobile.js +77 -0
  422. data/app/assets/javascripts/erp_app/login/window.js +238 -0
  423. data/app/assets/javascripts/erp_app/organizer/app.js +15 -0
  424. data/app/assets/javascripts/erp_app/organizer/applications/crm/app.js +14 -0
  425. data/app/assets/javascripts/erp_app/organizer/applications/crm/base.js +64 -0
  426. data/{public → app/assets}/javascripts/erp_app/organizer/applications/crm/relationship_grid.js +0 -0
  427. data/app/assets/javascripts/erp_app/organizer/layout.js +258 -0
  428. data/{public → app/assets}/javascripts/erp_app/organizer/preference_window.js +0 -0
  429. data/app/assets/javascripts/erp_app/shared/DateTimeField.js +77 -0
  430. data/app/assets/javascripts/erp_app/shared/MoneyField.js +120 -0
  431. data/app/assets/javascripts/erp_app/shared/MultiOptions.js +182 -0
  432. data/app/assets/javascripts/erp_app/shared/Party/AppsInstalledPanel.js +302 -0
  433. data/app/assets/javascripts/erp_app/shared/Party/LoginInfoPanel.js +291 -0
  434. data/app/assets/javascripts/erp_app/shared/Party/SecurityPanel.js +448 -0
  435. data/app/assets/javascripts/erp_app/shared/Party/UserTypePanel.js +198 -0
  436. data/{public → app/assets}/javascripts/erp_app/shared/PartySearchField.js +0 -0
  437. data/app/assets/javascripts/erp_app/shared/TimePickerField.js +189 -0
  438. data/{public → app/assets}/javascripts/erp_app/shared/TransitionCardLayout.js +0 -0
  439. data/app/assets/javascripts/erp_app/shared/TypeSelectionTree.js +510 -0
  440. data/app/assets/javascripts/erp_app/shared/active_ext/active_ext_grid.js +351 -0
  441. data/{public → app/assets}/javascripts/erp_app/shared/active_ext/active_ext_grid_panel.js +0 -0
  442. data/app/assets/javascripts/erp_app/shared/audit_log/GridPanel.js +214 -0
  443. data/{public → app/assets}/javascripts/erp_app/shared/audit_log/ItemGridPanel.js +0 -0
  444. data/app/assets/javascripts/erp_app/shared/audit_log/TabPanel.js +116 -0
  445. data/app/assets/javascripts/erp_app/shared/compass_ckeditor.js +267 -0
  446. data/app/assets/javascripts/erp_app/shared/compass_codemirror.js +464 -0
  447. data/{public → app/assets}/javascripts/erp_app/shared/configuration/configuration_form.js +0 -0
  448. data/app/assets/javascripts/erp_app/shared/configuration/configuration_panel.js +141 -0
  449. data/{public → app/assets}/javascripts/erp_app/shared/coolclock/tray_clock2.js +0 -0
  450. data/app/assets/javascripts/erp_app/shared/crm/ContactMechanismGrid.js +754 -0
  451. data/app/assets/javascripts/erp_app/shared/crm/PartyDetailsPanel.js +344 -0
  452. data/app/assets/javascripts/erp_app/shared/crm/PartyForm.js +321 -0
  453. data/{public → app/assets}/javascripts/erp_app/shared/crm/PartyFormPanel.js +0 -0
  454. data/app/assets/javascripts/erp_app/shared/crm/PartyGrid.js +595 -0
  455. data/app/assets/javascripts/erp_app/shared/crm/UserForm.js +302 -0
  456. data/app/assets/javascripts/erp_app/shared/crm/UsersGrid.js +535 -0
  457. data/app/assets/javascripts/erp_app/shared/dynamic_editable_grid.js +181 -0
  458. data/app/assets/javascripts/erp_app/shared/dynamic_editable_grid_loader_panel.js +65 -0
  459. data/app/assets/javascripts/erp_app/shared/dynamic_form_fields.js +104 -0
  460. data/{public → app/assets}/javascripts/erp_app/shared/encryption/encryption.js +0 -0
  461. data/app/assets/javascripts/erp_app/shared/erp_app_shared.js +13 -0
  462. data/app/assets/javascripts/erp_app/shared/file_manager_tree.js +750 -0
  463. data/app/assets/javascripts/erp_app/shared/file_upload/Ext.ux.panel.UploadPanel.js +581 -0
  464. data/{public → app/assets}/javascripts/erp_app/shared/file_upload/plupload.flash.swf +0 -0
  465. data/{public → app/assets}/javascripts/erp_app/shared/file_upload/plupload.full.js +0 -0
  466. data/{public → app/assets}/javascripts/erp_app/shared/file_upload/plupload.silverlight.xap +0 -0
  467. data/app/assets/javascripts/erp_app/shared/file_upload/upload_window.js +65 -0
  468. data/{public → app/assets}/javascripts/erp_app/shared/google_map_panel.js +0 -0
  469. data/app/assets/javascripts/erp_app/shared/notes_grid.js +338 -0
  470. data/{public → app/assets}/javascripts/erp_app/shared/preferences/application_management_panel.js +0 -0
  471. data/{public → app/assets}/javascripts/erp_app/shared/preferences/form.js +0 -0
  472. data/app/assets/javascripts/erp_app/shared/profile_management_panel.js +140 -0
  473. data/{public → app/assets}/javascripts/erp_app/shared/status_window.js +0 -0
  474. data/app/assets/javascripts/erp_app/utility.js +809 -0
  475. data/app/assets/javascripts/erp_app/widgets.js +122 -0
  476. data/{public → app/assets}/javascripts/jquery_plugins/jquery.address.min.js +0 -0
  477. data/{public → app/assets}/javascripts/jquery_plugins/jquery.loadmask.min.js +0 -0
  478. data/app/assets/stylesheets/codemirror_compassae.css +14 -0
  479. data/app/assets/stylesheets/erp_app/desktop/applications/audit_log_viewer/app.css +11 -0
  480. data/app/assets/stylesheets/erp_app/desktop/applications/configuration_management/app.css +11 -0
  481. data/app/assets/stylesheets/erp_app/desktop/applications/file_manager/app.css +11 -0
  482. data/app/assets/stylesheets/erp_app/desktop/applications/job_tracker/app.css +11 -0
  483. data/app/assets/stylesheets/erp_app/desktop/applications/scaffold/app.css +11 -0
  484. data/app/assets/stylesheets/erp_app/desktop/applications/security_management/app.css +12 -0
  485. data/{public → app/assets}/stylesheets/erp_app/desktop/applications/security_management/styles.css +0 -0
  486. data/app/assets/stylesheets/erp_app/desktop/applications/tail/app.css +11 -0
  487. data/app/assets/stylesheets/erp_app/desktop/applications/user_management/app.css +11 -0
  488. data/app/assets/stylesheets/erp_app/desktop/base.css +262 -0
  489. data/app/assets/stylesheets/erp_app/login/main.css +17 -0
  490. data/app/assets/stylesheets/erp_app/organizer/applications/crm/app.css +12 -0
  491. data/app/assets/stylesheets/erp_app/organizer/base.css +19 -0
  492. data/app/assets/stylesheets/erp_app/shared/compass-ext-all.css +599 -0
  493. data/app/assets/stylesheets/erp_app/shared/crm.css +45 -0
  494. data/app/assets/stylesheets/erp_app/shared/erp_app_shared.css +12 -0
  495. data/{public → app/assets}/stylesheets/erp_app/shared/grid_cell.css +0 -0
  496. data/{public → app/assets}/stylesheets/erp_app/shared/hover_finger.css +0 -0
  497. data/app/assets/stylesheets/jquery_plugins/jquery.loadmask.css +53 -0
  498. data/app/controllers/api/v1/applications_controller.rb +179 -0
  499. data/app/controllers/erp_app/application_controller.rb +7 -1
  500. data/app/controllers/erp_app/desktop/base_controller.rb +0 -1
  501. data/app/controllers/erp_app/desktop/file_manager/base_controller.rb +5 -3
  502. data/app/controllers/erp_app/desktop/system_management/types_controller.rb +126 -0
  503. data/app/controllers/erp_app/desktop/user_management/application_management_controller.rb +68 -36
  504. data/app/controllers/erp_app/desktop/user_management/base_controller.rb +0 -0
  505. data/app/controllers/erp_app/desktop/user_management/role_management_controller.rb +0 -0
  506. data/app/controllers/erp_app/login_controller.rb +30 -2
  507. data/app/controllers/erp_app/organizer/base_controller.rb +3 -30
  508. data/app/controllers/erp_app/organizer/crm/contact_mechanisms_controller.rb +4 -2
  509. data/app/controllers/erp_app/organizer/crm/parties_controller.rb +26 -2
  510. data/app/controllers/erp_app/organizer/crm/users_controller.rb +22 -0
  511. data/app/controllers/erp_app/public_controller.rb +3 -0
  512. data/app/controllers/erp_app/shared/audit_log_controller.rb +1 -1
  513. data/app/controllers/erp_app/shared/configuration_controller.rb +1 -1
  514. data/app/controllers/erp_app/shared/notes_controller.rb +0 -6
  515. data/app/controllers/erp_app/widget_proxy_controller.rb +19 -5
  516. data/app/mailers/crm_mailer.rb +2 -1
  517. data/app/models/application.rb +88 -6
  518. data/app/models/configuration.rb +7 -0
  519. data/app/models/configuration_item.rb +6 -0
  520. data/app/models/extensions/party.rb +9 -0
  521. data/app/models/extensions/user.rb +42 -15
  522. data/app/models/preference_type.rb +1 -1
  523. data/app/views/erp_app/desktop/base/index.erb +253 -203
  524. data/app/views/erp_app/login/index.erb +28 -20
  525. data/app/views/erp_app/login/reset_password.erb +30 -0
  526. data/app/views/erp_app/organizer/base/index.erb +28 -23
  527. data/app/views/erp_app/organizer/crm/parties/details.erb +1 -1
  528. data/config/routes.rb +29 -17
  529. data/db/data_migrations/20110728201729_erp_app_setup.rb +168 -240
  530. data/db/data_migrations/20110728201730_add_system_management_tool.rb +27 -0
  531. data/db/data_migrations/20150929185612_add_applications_to_dba_org.rb +31 -0
  532. data/db/migrate/20080805000096_base_app_framework.rb +36 -44
  533. data/lib/erp_app.rb +2 -2
  534. data/lib/erp_app/config.rb +9 -3
  535. data/lib/erp_app/engine.rb +114 -12
  536. data/lib/erp_app/extensions/compass_ae/erp_tech_svcs/session_controller.rb +27 -0
  537. data/lib/erp_app/extensions/railties/action_view/base.rb +32 -6
  538. data/lib/erp_app/extensions/railties/action_view/helpers/include_helper.rb +37 -30
  539. data/lib/erp_app/version.rb +1 -1
  540. data/lib/erp_app/widgets/base.rb +6 -4
  541. data/lib/erp_app/widgets/loader.rb +1 -1
  542. data/lib/erp_app/widgets/railties/action_view/helpers/widget_helper.rb +12 -12
  543. data/lib/generators/admin_tool/USAGE +23 -0
  544. data/lib/generators/admin_tool/admin_tool_generator.rb +28 -0
  545. data/lib/generators/admin_tool/templates/INSTALL +23 -0
  546. data/lib/generators/{desktop_application/templates/public/module.js.erb → admin_tool/templates/assets/javascripts/Module.js.erb} +0 -0
  547. data/lib/generators/admin_tool/templates/assets/javascripts/app.js.erb +17 -0
  548. data/lib/generators/admin_tool/templates/assets/stylesheets/app.css.erb +11 -0
  549. data/lib/generators/{desktop_application → admin_tool}/templates/controllers/controller_template.erb +0 -0
  550. data/lib/generators/{desktop_application → admin_tool}/templates/migrate/migration_template.erb +0 -0
  551. data/lib/generators/application/USAGE +23 -0
  552. data/lib/generators/application/application_generator.rb +28 -0
  553. data/lib/generators/application/templates/INSTALL +23 -0
  554. data/lib/generators/application/templates/assets/javascripts/Application.js.erb +20 -0
  555. data/lib/generators/application/templates/assets/javascripts/app.js.erb +17 -0
  556. data/lib/generators/application/templates/assets/stylesheets/app.css.erb +11 -0
  557. data/lib/generators/application/templates/controllers/controller_template.erb +9 -0
  558. data/lib/generators/application/templates/migrate/migration_template.erb +21 -0
  559. data/lib/generators/cms_widget/templates/engine/engine_template.erb +2 -2
  560. data/lib/generators/cms_widget/templates/helpers/controller/controller_helper_template.erb +1 -1
  561. data/lib/generators/cms_widget/templates/helpers/view/view_helper_template.erb +1 -1
  562. data/lib/generators/cms_widget/templates/javascript/base.js.erb +1 -1
  563. data/public/javascripts/{erp_app/ckeditor → ckeditor}/ckeditor.js +0 -0
  564. data/public/javascripts/ckeditor/config.js +14 -0
  565. data/public/javascripts/{erp_app/ckeditor → ckeditor}/contents.css +0 -0
  566. data/public/javascripts/{erp_app/ckeditor → ckeditor}/lang/en.js +0 -0
  567. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/a11yhelp.js +0 -0
  568. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/_translationstatus.txt +0 -0
  569. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/ar.js +0 -0
  570. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/bg.js +0 -0
  571. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/ca.js +0 -0
  572. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/cs.js +0 -0
  573. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/cy.js +0 -0
  574. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/da.js +0 -0
  575. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/de.js +0 -0
  576. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/el.js +0 -0
  577. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/en.js +0 -0
  578. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/eo.js +0 -0
  579. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/es.js +0 -0
  580. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/et.js +0 -0
  581. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/fa.js +0 -0
  582. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/fi.js +0 -0
  583. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/fr-ca.js +0 -0
  584. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/fr.js +0 -0
  585. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/gl.js +0 -0
  586. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/gu.js +0 -0
  587. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/he.js +0 -0
  588. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/hi.js +0 -0
  589. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/hr.js +0 -0
  590. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/hu.js +0 -0
  591. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/id.js +0 -0
  592. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/it.js +0 -0
  593. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/ja.js +0 -0
  594. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/km.js +0 -0
  595. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/ku.js +0 -0
  596. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/lt.js +0 -0
  597. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/lv.js +0 -0
  598. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/mk.js +0 -0
  599. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/mn.js +0 -0
  600. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/nb.js +0 -0
  601. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/nl.js +0 -0
  602. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/no.js +0 -0
  603. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/pl.js +0 -0
  604. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/pt-br.js +0 -0
  605. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/pt.js +0 -0
  606. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/ro.js +0 -0
  607. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/ru.js +0 -0
  608. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/si.js +0 -0
  609. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/sk.js +0 -0
  610. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/sl.js +0 -0
  611. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/sq.js +0 -0
  612. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/sr-latn.js +0 -0
  613. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/sr.js +0 -0
  614. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/sv.js +0 -0
  615. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/th.js +0 -0
  616. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/tr.js +0 -0
  617. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/ug.js +0 -0
  618. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/uk.js +0 -0
  619. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/vi.js +0 -0
  620. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/zh-cn.js +0 -0
  621. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/about/dialogs/about.js +0 -0
  622. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/about/dialogs/hidpi/logo_ckeditor.png +0 -0
  623. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/about/dialogs/logo_ckeditor.png +0 -0
  624. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/clipboard/dialogs/paste.js +0 -0
  625. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/codemirror/lang/en.js +0 -0
  626. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/codemirror/plugin.js +0 -0
  627. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/colordialog/dialogs/colordialog.js +0 -0
  628. data/public/javascripts/ckeditor/plugins/compasssave/plugin.js +22 -0
  629. data/public/javascripts/ckeditor/plugins/dialog/dialogDefinition.js +1006 -0
  630. data/public/javascripts/ckeditor/plugins/dialog/plugin.js +3232 -0
  631. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/div/dialogs/div.js +0 -0
  632. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/fakeobjects/images/spacer.gif +0 -0
  633. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/find/dialogs/find.js +0 -0
  634. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/flash/dialogs/flash.js +0 -0
  635. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/flash/images/placeholder.png +0 -0
  636. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/forms/dialogs/button.js +0 -0
  637. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/forms/dialogs/checkbox.js +0 -0
  638. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/forms/dialogs/form.js +0 -0
  639. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/forms/dialogs/hiddenfield.js +0 -0
  640. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/forms/dialogs/radio.js +0 -0
  641. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/forms/dialogs/select.js +0 -0
  642. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/forms/dialogs/textarea.js +0 -0
  643. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/forms/dialogs/textfield.js +0 -0
  644. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/forms/images/hiddenfield.gif +0 -0
  645. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/icons.png +0 -0
  646. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/icons_hidpi.png +0 -0
  647. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/iframe/dialogs/iframe.js +0 -0
  648. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/iframe/images/placeholder.png +0 -0
  649. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/image/dialogs/image.js +0 -0
  650. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/image/images/noimage.png +0 -0
  651. data/public/javascripts/ckeditor/plugins/inlineeditsave/plugin.js +42 -0
  652. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/jwplayer/config.js +0 -0
  653. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/jwplayer/dialogs/jwplayer.js +0 -0
  654. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/jwplayer/help.txt +0 -0
  655. data/public/javascripts/erp_app/ckeditor/plugins/jwplayer/jwplayer/JW Player Quick Start Guide.pdf b/data/public/javascripts/ckeditor/plugins/jwplayer/jwplayer/JW Player Quick Start → Guide.pdf +0 -0
  656. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/jwplayer/jwplayer/jwPlayer.gif +0 -0
  657. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/jwplayer/jwplayer/jwplayer.js +0 -0
  658. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/jwplayer/jwplayer/license.txt +0 -0
  659. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/jwplayer/jwplayer/player.swf +0 -0
  660. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/jwplayer/jwplayer/preview.jpg +0 -0
  661. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/jwplayer/jwplayer/readme.html +0 -0
  662. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/jwplayer/jwplayer/skin/beelden.zip +0 -0
  663. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/jwplayer/jwplayer/skin/glow.zip +0 -0
  664. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/jwplayer/jwplayer/skin/modieus.zip +0 -0
  665. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/jwplayer/jwplayer/skin/simple.zip +0 -0
  666. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/jwplayer/jwplayer/skin/snel.zip +0 -0
  667. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/jwplayer/jwplayer/skin/stijl.zip +0 -0
  668. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/jwplayer/jwplayer/skin/stormtrooper.zip +0 -0
  669. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/jwplayer/jwplayer/swfobject.js +0 -0
  670. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/jwplayer/jwplayer/video.mp4 +0 -0
  671. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/jwplayer/jwplayer/yt.swf +0 -0
  672. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/jwplayer/plugin.js +0 -0
  673. data/public/javascripts/ckeditor/plugins/knitkitthemes/plugin.js +116 -0
  674. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/link/dialogs/anchor.js +0 -0
  675. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/link/dialogs/link.js +0 -0
  676. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/link/images/anchor.png +0 -0
  677. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/link/images/hidpi/anchor.png +0 -0
  678. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/liststyle/dialogs/liststyle.js +0 -0
  679. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/magicline/images/hidpi/icon.png +0 -0
  680. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/magicline/images/icon.png +0 -0
  681. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/pagebreak/images/pagebreak.gif +0 -0
  682. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/pastefromword/filter/default.js +0 -0
  683. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/preview/preview.html +0 -0
  684. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/scayt/LICENSE.md +0 -0
  685. data/public/javascripts/ckeditor/plugins/scayt/README.md +25 -0
  686. data/public/javascripts/ckeditor/plugins/scayt/dialogs/options.js +473 -0
  687. data/public/javascripts/ckeditor/plugins/scayt/dialogs/toolbar.css +71 -0
  688. data/public/javascripts/ckeditor/plugins/scayt/icons/hidpi/scayt.png +0 -0
  689. data/public/javascripts/ckeditor/plugins/scayt/icons/scayt.png +0 -0
  690. data/public/javascripts/ckeditor/plugins/scayt/lang/af.js +34 -0
  691. data/public/javascripts/ckeditor/plugins/scayt/lang/ar.js +34 -0
  692. data/public/javascripts/ckeditor/plugins/scayt/lang/bg.js +34 -0
  693. data/public/javascripts/ckeditor/plugins/scayt/lang/bn.js +34 -0
  694. data/public/javascripts/ckeditor/plugins/scayt/lang/bs.js +34 -0
  695. data/public/javascripts/ckeditor/plugins/scayt/lang/ca.js +34 -0
  696. data/public/javascripts/ckeditor/plugins/scayt/lang/cs.js +34 -0
  697. data/public/javascripts/ckeditor/plugins/scayt/lang/cy.js +34 -0
  698. data/public/javascripts/ckeditor/plugins/scayt/lang/da.js +34 -0
  699. data/public/javascripts/ckeditor/plugins/scayt/lang/de.js +34 -0
  700. data/public/javascripts/ckeditor/plugins/scayt/lang/el.js +34 -0
  701. data/public/javascripts/ckeditor/plugins/scayt/lang/en-au.js +34 -0
  702. data/public/javascripts/ckeditor/plugins/scayt/lang/en-ca.js +34 -0
  703. data/public/javascripts/ckeditor/plugins/scayt/lang/en-gb.js +34 -0
  704. data/public/javascripts/ckeditor/plugins/scayt/lang/en.js +34 -0
  705. data/public/javascripts/ckeditor/plugins/scayt/lang/eo.js +34 -0
  706. data/public/javascripts/ckeditor/plugins/scayt/lang/es.js +34 -0
  707. data/public/javascripts/ckeditor/plugins/scayt/lang/et.js +34 -0
  708. data/public/javascripts/ckeditor/plugins/scayt/lang/eu.js +34 -0
  709. data/public/javascripts/ckeditor/plugins/scayt/lang/fa.js +34 -0
  710. data/public/javascripts/ckeditor/plugins/scayt/lang/fi.js +34 -0
  711. data/public/javascripts/ckeditor/plugins/scayt/lang/fo.js +34 -0
  712. data/public/javascripts/ckeditor/plugins/scayt/lang/fr-ca.js +34 -0
  713. data/public/javascripts/ckeditor/plugins/scayt/lang/fr.js +34 -0
  714. data/public/javascripts/ckeditor/plugins/scayt/lang/gl.js +34 -0
  715. data/public/javascripts/ckeditor/plugins/scayt/lang/gu.js +34 -0
  716. data/public/javascripts/ckeditor/plugins/scayt/lang/he.js +34 -0
  717. data/public/javascripts/ckeditor/plugins/scayt/lang/hi.js +34 -0
  718. data/public/javascripts/ckeditor/plugins/scayt/lang/hr.js +34 -0
  719. data/public/javascripts/ckeditor/plugins/scayt/lang/hu.js +34 -0
  720. data/public/javascripts/ckeditor/plugins/scayt/lang/is.js +34 -0
  721. data/public/javascripts/ckeditor/plugins/scayt/lang/it.js +34 -0
  722. data/public/javascripts/ckeditor/plugins/scayt/lang/ja.js +34 -0
  723. data/public/javascripts/ckeditor/plugins/scayt/lang/ka.js +34 -0
  724. data/public/javascripts/ckeditor/plugins/scayt/lang/km.js +34 -0
  725. data/public/javascripts/ckeditor/plugins/scayt/lang/ko.js +34 -0
  726. data/public/javascripts/ckeditor/plugins/scayt/lang/ku.js +34 -0
  727. data/public/javascripts/ckeditor/plugins/scayt/lang/lt.js +34 -0
  728. data/public/javascripts/ckeditor/plugins/scayt/lang/lv.js +34 -0
  729. data/public/javascripts/ckeditor/plugins/scayt/lang/mk.js +34 -0
  730. data/public/javascripts/ckeditor/plugins/scayt/lang/mn.js +34 -0
  731. data/public/javascripts/ckeditor/plugins/scayt/lang/ms.js +34 -0
  732. data/public/javascripts/ckeditor/plugins/scayt/lang/nb.js +34 -0
  733. data/public/javascripts/ckeditor/plugins/scayt/lang/nl.js +34 -0
  734. data/public/javascripts/ckeditor/plugins/scayt/lang/no.js +34 -0
  735. data/public/javascripts/ckeditor/plugins/scayt/lang/pl.js +34 -0
  736. data/public/javascripts/ckeditor/plugins/scayt/lang/pt-br.js +34 -0
  737. data/public/javascripts/ckeditor/plugins/scayt/lang/pt.js +34 -0
  738. data/public/javascripts/ckeditor/plugins/scayt/lang/ro.js +34 -0
  739. data/public/javascripts/ckeditor/plugins/scayt/lang/ru.js +34 -0
  740. data/public/javascripts/ckeditor/plugins/scayt/lang/sk.js +34 -0
  741. data/public/javascripts/ckeditor/plugins/scayt/lang/sl.js +34 -0
  742. data/public/javascripts/ckeditor/plugins/scayt/lang/sr-latn.js +34 -0
  743. data/public/javascripts/ckeditor/plugins/scayt/lang/sr.js +34 -0
  744. data/public/javascripts/ckeditor/plugins/scayt/lang/sv.js +34 -0
  745. data/public/javascripts/ckeditor/plugins/scayt/lang/th.js +34 -0
  746. data/public/javascripts/ckeditor/plugins/scayt/lang/tr.js +34 -0
  747. data/public/javascripts/ckeditor/plugins/scayt/lang/ug.js +34 -0
  748. data/public/javascripts/ckeditor/plugins/scayt/lang/uk.js +34 -0
  749. data/public/javascripts/ckeditor/plugins/scayt/lang/vi.js +34 -0
  750. data/public/javascripts/ckeditor/plugins/scayt/lang/zh-cn.js +34 -0
  751. data/public/javascripts/ckeditor/plugins/scayt/lang/zh.js +34 -0
  752. data/public/javascripts/ckeditor/plugins/scayt/plugin.js +894 -0
  753. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/showblocks/images/block_address.png +0 -0
  754. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/showblocks/images/block_blockquote.png +0 -0
  755. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/showblocks/images/block_div.png +0 -0
  756. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/showblocks/images/block_h1.png +0 -0
  757. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/showblocks/images/block_h2.png +0 -0
  758. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/showblocks/images/block_h3.png +0 -0
  759. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/showblocks/images/block_h4.png +0 -0
  760. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/showblocks/images/block_h5.png +0 -0
  761. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/showblocks/images/block_h6.png +0 -0
  762. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/showblocks/images/block_p.png +0 -0
  763. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/showblocks/images/block_pre.png +0 -0
  764. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/smiley/dialogs/smiley.js +0 -0
  765. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/smiley/images/angel_smile.gif +0 -0
  766. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/smiley/images/angry_smile.gif +0 -0
  767. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/smiley/images/broken_heart.gif +0 -0
  768. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/smiley/images/confused_smile.gif +0 -0
  769. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/smiley/images/cry_smile.gif +0 -0
  770. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/smiley/images/devil_smile.gif +0 -0
  771. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/smiley/images/embaressed_smile.gif +0 -0
  772. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/smiley/images/embarrassed_smile.gif +0 -0
  773. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/smiley/images/envelope.gif +0 -0
  774. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/smiley/images/heart.gif +0 -0
  775. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/smiley/images/kiss.gif +0 -0
  776. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/smiley/images/lightbulb.gif +0 -0
  777. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/smiley/images/omg_smile.gif +0 -0
  778. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/smiley/images/regular_smile.gif +0 -0
  779. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/smiley/images/sad_smile.gif +0 -0
  780. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/smiley/images/shades_smile.gif +0 -0
  781. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/smiley/images/teeth_smile.gif +0 -0
  782. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/smiley/images/thumbs_down.gif +0 -0
  783. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/smiley/images/thumbs_up.gif +0 -0
  784. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/smiley/images/tongue_smile.gif +0 -0
  785. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/smiley/images/tounge_smile.gif +0 -0
  786. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
  787. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/smiley/images/wink_smile.gif +0 -0
  788. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/_translationstatus.txt +0 -0
  789. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/ar.js +0 -0
  790. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/bg.js +0 -0
  791. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/ca.js +0 -0
  792. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/cs.js +0 -0
  793. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/cy.js +0 -0
  794. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/de.js +0 -0
  795. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/el.js +0 -0
  796. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/en.js +0 -0
  797. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/eo.js +0 -0
  798. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/es.js +0 -0
  799. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/et.js +0 -0
  800. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/fa.js +0 -0
  801. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/fi.js +0 -0
  802. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/fr-ca.js +0 -0
  803. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/fr.js +0 -0
  804. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/gl.js +0 -0
  805. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/he.js +0 -0
  806. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/hr.js +0 -0
  807. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/hu.js +0 -0
  808. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/id.js +0 -0
  809. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/it.js +0 -0
  810. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/ja.js +0 -0
  811. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/ku.js +0 -0
  812. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/lv.js +0 -0
  813. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/nb.js +0 -0
  814. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/nl.js +0 -0
  815. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/no.js +0 -0
  816. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/pl.js +0 -0
  817. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/pt-br.js +0 -0
  818. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/pt.js +0 -0
  819. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/ru.js +0 -0
  820. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/si.js +0 -0
  821. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/sk.js +0 -0
  822. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/sl.js +0 -0
  823. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/sq.js +0 -0
  824. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/sv.js +0 -0
  825. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/th.js +0 -0
  826. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/tr.js +0 -0
  827. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/ug.js +0 -0
  828. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/uk.js +0 -0
  829. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/vi.js +0 -0
  830. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/zh-cn.js +0 -0
  831. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/specialchar.js +0 -0
  832. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/syntaxhighlight/dialogs/syntaxhighlight.js +0 -0
  833. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/syntaxhighlight/icons/syntaxhighlight.png +0 -0
  834. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/syntaxhighlight/lang/de.js +0 -0
  835. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/syntaxhighlight/lang/en.js +0 -0
  836. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/syntaxhighlight/lang/fr.js +0 -0
  837. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/syntaxhighlight/lang/zh-cn.js +0 -0
  838. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/syntaxhighlight/plugin.js +0 -0
  839. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/table/dialogs/table.js +0 -0
  840. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/tabletools/dialogs/tableCell.js +0 -0
  841. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/templates/dialogs/templates.css +0 -0
  842. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/templates/dialogs/templates.js +0 -0
  843. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/templates/templates/default.js +0 -0
  844. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/templates/templates/images/template1.gif +0 -0
  845. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/templates/templates/images/template2.gif +0 -0
  846. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/templates/templates/images/template3.gif +0 -0
  847. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/wsc/LICENSE.md +0 -0
  848. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/wsc/README.md +0 -0
  849. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/wsc/dialogs/ciframe.html +0 -0
  850. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/wsc/dialogs/tmp.html +0 -0
  851. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/wsc/dialogs/tmpFrameset.html +0 -0
  852. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/wsc/dialogs/wsc.css +0 -0
  853. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/wsc/dialogs/wsc.js +0 -0
  854. data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/wsc/dialogs/wsc_ie.js +0 -0
  855. data/public/javascripts/{erp_app/ckeditor → ckeditor}/skins/moono/dialog.css +0 -0
  856. data/public/javascripts/{erp_app/ckeditor → ckeditor}/skins/moono/dialog_ie.css +0 -0
  857. data/public/javascripts/{erp_app/ckeditor → ckeditor}/skins/moono/dialog_ie7.css +0 -0
  858. data/public/javascripts/{erp_app/ckeditor → ckeditor}/skins/moono/dialog_ie8.css +0 -0
  859. data/public/javascripts/{erp_app/ckeditor → ckeditor}/skins/moono/dialog_iequirks.css +0 -0
  860. data/public/javascripts/{erp_app/ckeditor → ckeditor}/skins/moono/dialog_opera.css +0 -0
  861. data/public/javascripts/{erp_app/ckeditor → ckeditor}/skins/moono/editor.css +0 -0
  862. data/public/javascripts/{erp_app/ckeditor → ckeditor}/skins/moono/editor_gecko.css +0 -0
  863. data/public/javascripts/{erp_app/ckeditor → ckeditor}/skins/moono/editor_ie.css +0 -0
  864. data/public/javascripts/{erp_app/ckeditor → ckeditor}/skins/moono/editor_ie7.css +0 -0
  865. data/public/javascripts/{erp_app/ckeditor → ckeditor}/skins/moono/editor_ie8.css +0 -0
  866. data/public/javascripts/{erp_app/ckeditor → ckeditor}/skins/moono/editor_iequirks.css +0 -0
  867. data/public/javascripts/{erp_app/ckeditor → ckeditor}/skins/moono/icons.png +0 -0
  868. data/public/javascripts/{erp_app/ckeditor → ckeditor}/skins/moono/icons_hidpi.png +0 -0
  869. data/public/javascripts/{erp_app/ckeditor → ckeditor}/skins/moono/images/arrow.png +0 -0
  870. data/public/javascripts/{erp_app/ckeditor → ckeditor}/skins/moono/images/close.png +0 -0
  871. data/public/javascripts/{erp_app/ckeditor → ckeditor}/skins/moono/images/hidpi/close.png +0 -0
  872. data/public/javascripts/{erp_app/ckeditor → ckeditor}/skins/moono/images/hidpi/lock-open.png +0 -0
  873. data/public/javascripts/{erp_app/ckeditor → ckeditor}/skins/moono/images/hidpi/lock.png +0 -0
  874. data/public/javascripts/{erp_app/ckeditor → ckeditor}/skins/moono/images/hidpi/refresh.png +0 -0
  875. data/public/javascripts/{erp_app/ckeditor → ckeditor}/skins/moono/images/lock-open.png +0 -0
  876. data/public/javascripts/{erp_app/ckeditor → ckeditor}/skins/moono/images/lock.png +0 -0
  877. data/public/javascripts/{erp_app/ckeditor → ckeditor}/skins/moono/images/refresh.png +0 -0
  878. data/public/javascripts/{erp_app/ckeditor → ckeditor}/skins/moono/readme.md +0 -0
  879. data/public/javascripts/{erp_app/ckeditor → ckeditor}/styles.js +0 -0
  880. data/public/javascripts/{erp_app/highslide/highslide → highslide}/graphics/close.png +0 -0
  881. data/public/javascripts/{erp_app/highslide/highslide → highslide}/graphics/closeX.png +0 -0
  882. data/public/javascripts/{erp_app/highslide/highslide → highslide}/graphics/controlbar-black-border.gif +0 -0
  883. data/public/javascripts/{erp_app/highslide/highslide → highslide}/graphics/controlbar-text-buttons.png +0 -0
  884. data/public/javascripts/{erp_app/highslide/highslide → highslide}/graphics/controlbar-white-small.gif +0 -0
  885. data/public/javascripts/{erp_app/highslide/highslide → highslide}/graphics/controlbar-white.gif +0 -0
  886. data/public/javascripts/{erp_app/highslide/highslide → highslide}/graphics/controlbar2.gif +0 -0
  887. data/public/javascripts/{erp_app/highslide/highslide → highslide}/graphics/controlbar3.gif +0 -0
  888. data/public/javascripts/{erp_app/highslide/highslide → highslide}/graphics/controlbar4-hover.gif +0 -0
  889. data/public/javascripts/{erp_app/highslide/highslide → highslide}/graphics/controlbar4.gif +0 -0
  890. data/public/javascripts/{erp_app/highslide/highslide → highslide}/graphics/fullexpand.gif +0 -0
  891. data/public/javascripts/{erp_app/highslide/highslide → highslide}/graphics/geckodimmer.png +0 -0
  892. data/public/javascripts/{erp_app/highslide/highslide → highslide}/graphics/icon.gif +0 -0
  893. data/public/javascripts/{erp_app/highslide/highslide → highslide}/graphics/loader.gif +0 -0
  894. data/public/javascripts/{erp_app/highslide/highslide → highslide}/graphics/loader.white.gif +0 -0
  895. data/public/javascripts/{erp_app/highslide/highslide → highslide}/graphics/outlines/Outlines.psd +0 -0
  896. data/public/javascripts/{erp_app/highslide/highslide → highslide}/graphics/outlines/beveled.png +0 -0
  897. data/public/javascripts/{erp_app/highslide/highslide → highslide}/graphics/outlines/drop-shadow.png +0 -0
  898. data/public/javascripts/{erp_app/highslide/highslide → highslide}/graphics/outlines/glossy-dark.png +0 -0
  899. data/public/javascripts/{erp_app/highslide/highslide → highslide}/graphics/outlines/outer-glow.png +0 -0
  900. data/public/javascripts/{erp_app/highslide/highslide → highslide}/graphics/outlines/rounded-black.png +0 -0
  901. data/public/javascripts/{erp_app/highslide/highslide → highslide}/graphics/outlines/rounded-white.png +0 -0
  902. data/public/javascripts/{erp_app/highslide/highslide → highslide}/graphics/resize.gif +0 -0
  903. data/public/javascripts/{erp_app/highslide/highslide → highslide}/graphics/scrollarrows.png +0 -0
  904. data/public/javascripts/{erp_app/highslide/highslide → highslide}/graphics/zoomin.cur +0 -0
  905. data/public/javascripts/{erp_app/highslide/highslide → highslide}/graphics/zoomout.cur +0 -0
  906. data/public/javascripts/highslide/highslide-full.js +3320 -0
  907. data/public/javascripts/highslide/highslide-full.min.js +9 -0
  908. data/public/javascripts/highslide/highslide-full.packed.js +9 -0
  909. data/public/javascripts/{erp_app/highslide/highslide → highslide}/highslide-ie6.css +0 -0
  910. data/public/javascripts/highslide/highslide-with-gallery.js +2657 -0
  911. data/public/javascripts/highslide/highslide-with-gallery.min.js +9 -0
  912. data/public/javascripts/highslide/highslide-with-gallery.packed.js +9 -0
  913. data/public/javascripts/highslide/highslide-with-html.js +2481 -0
  914. data/public/javascripts/highslide/highslide-with-html.min.js +9 -0
  915. data/public/javascripts/highslide/highslide-with-html.packed.js +9 -0
  916. data/public/javascripts/highslide/highslide.cfg.js +27 -0
  917. data/public/javascripts/highslide/highslide.css +889 -0
  918. data/public/javascripts/highslide/highslide.js +1891 -0
  919. data/public/javascripts/highslide/highslide.min.js +9 -0
  920. data/public/javascripts/highslide/highslide.packed.js +9 -0
  921. data/spec/models/organizer_application_spec.rb +3 -3
  922. metadata +914 -980
  923. data/app/assets/stylesheets/erp_app/application.css +0 -7
  924. data/app/controllers/erp_app/desktop/scaffold/base_controller.rb +0 -90
  925. data/app/controllers/erp_app/desktop/security_management/base_controller.rb +0 -47
  926. data/app/controllers/erp_app/desktop/security_management/capabilities_controller.rb +0 -125
  927. data/app/controllers/erp_app/desktop/security_management/groups_controller.rb +0 -198
  928. data/app/controllers/erp_app/desktop/security_management/roles_controller.rb +0 -183
  929. data/app/controllers/erp_app/desktop/security_management/users_controller.rb +0 -140
  930. data/app/controllers/erp_app/mobile/base_controller.rb +0 -21
  931. data/app/controllers/erp_app/mobile/login_controller.rb +0 -11
  932. data/app/controllers/erp_app/mobile/user_management/base_controller.rb +0 -20
  933. data/app/models/app_container.rb +0 -31
  934. data/app/models/desktop.rb +0 -72
  935. data/app/models/mobile.rb +0 -9
  936. data/app/models/mobile_application.rb +0 -6
  937. data/app/models/organizer.rb +0 -11
  938. data/app/models/organizer_application.rb +0 -2
  939. data/app/observers/user_app_container_observer.rb +0 -20
  940. data/app/views/erp_app/mobile/base/index.erb +0 -44
  941. data/app/views/erp_app/mobile/login/index.erb +0 -21
  942. data/config/initializers/erp_app.rb +0 -5
  943. data/db/data_migrations/20110728201733_update_preferences.rb +0 -52
  944. data/db/data_migrations/20110816161238_create_desktop_app_audit_log_viewer.rb +0 -23
  945. data/db/data_migrations/20110817160743_add_file_manager_application.rb +0 -31
  946. data/db/data_migrations/20111108183739_add_default_capabilities.rb +0 -22
  947. data/db/data_migrations/20111108183740_add_new_contact_widgets.rb +0 -41
  948. data/db/data_migrations/20120229160222_add_userinfo_widget.rb +0 -28
  949. data/db/data_migrations/20120405193721_create_party_and_role_type_for_communication_events.rb +0 -10
  950. data/db/data_migrations/20120411180756_create_user_management_mobile_application.rb +0 -16
  951. data/db/data_migrations/20120418164215_create_configuration_management_desktop_application.rb +0 -26
  952. data/db/data_migrations/20121018143910_create_job_tracker_desktop_application.rb +0 -22
  953. data/db/data_migrations/20121018172347_created_tracked_jobs.rb +0 -14
  954. data/db/data_migrations/20121130201859_upgrade_remove_system_mgmt_app.rb +0 -15
  955. data/db/data_migrations/20121218175028_create_security_management_desktop_application.rb +0 -28
  956. data/db/data_migrations/20130411200351_add_job_tracker_mobile_app.rb +0 -16
  957. data/db/data_migrations/20130703181549_create_tail_desktop_application.rb +0 -19
  958. data/db/data_migrations/20131102171801_add_customer_role_type.rb +0 -11
  959. data/db/data_migrations/20131108191057_add_customer_employee_reln.rb +0 -26
  960. data/db/data_migrations/20140122205941_remove_theme_preference.rb +0 -21
  961. data/db/migrate/20120920145259_add_job_tracker.rb +0 -19
  962. data/db/migrate/20130410182333_update_mobile_application.rb +0 -27
  963. data/db/migrate/20131112013049_add_erp_app_missing_indexes.rb +0 -31
  964. data/db/migrate/20131129205550_add_precedence_to_configuration_item_types.rb +0 -7
  965. data/lib/active_ext/active_ext.rb +0 -587
  966. data/lib/active_ext/core.rb +0 -105
  967. data/lib/active_ext/data_structures/column.rb +0 -21
  968. data/lib/active_ext/data_structures/columns.rb +0 -69
  969. data/lib/active_ext/data_structures/data_structures.rb +0 -2
  970. data/lib/active_ext/ext_helpers/column_builder.rb +0 -136
  971. data/lib/active_ext/ext_helpers/data_helper.rb +0 -67
  972. data/lib/active_ext/ext_helpers/ext_helpers.rb +0 -5
  973. data/lib/active_ext/ext_helpers/field_builder.rb +0 -146
  974. data/lib/active_ext/ext_helpers/form_builder.rb +0 -49
  975. data/lib/active_ext/ext_helpers/table_builder.rb +0 -77
  976. data/lib/erp_app/application_resource_loader.rb +0 -4
  977. data/lib/erp_app/application_resource_loader/base_loader.rb +0 -17
  978. data/lib/erp_app/application_resource_loader/desktop_organizer_loader.rb +0 -71
  979. data/lib/erp_app/application_resource_loader/mobile_loader.rb +0 -46
  980. data/lib/erp_app/application_resource_loader/shared_loader.rb +0 -26
  981. data/lib/erp_app/extensions/railties/action_view/helpers/active_ext_helper.rb +0 -17
  982. data/lib/erp_app/extensions/railties/action_view/helpers/tag_helper.rb +0 -38
  983. data/lib/generators/active_ext/USAGE +0 -16
  984. data/lib/generators/active_ext/active_ext_generator.rb +0 -43
  985. data/lib/generators/active_ext/templates/INSTALL +0 -11
  986. data/lib/generators/active_ext/templates/controllers/controller_template.erb +0 -23
  987. data/lib/generators/active_ext/templates/public/module.js.erb +0 -16
  988. data/lib/generators/active_ext/templates/views/create.html.erb +0 -19
  989. data/lib/generators/active_ext/templates/views/edit.html.erb +0 -65
  990. data/lib/generators/active_ext/templates/views/new.html.erb +0 -41
  991. data/lib/generators/active_ext/templates/views/show.html.erb +0 -58
  992. data/lib/generators/active_ext/templates/views/update.html.erb +0 -1
  993. data/lib/generators/compass_ae_mobile/USAGE +0 -9
  994. data/lib/generators/compass_ae_mobile/compass_ae_mobile_generator.rb +0 -38
  995. data/lib/generators/compass_ae_mobile/templates/controllers/controller_template.erb +0 -4
  996. data/lib/generators/compass_ae_mobile/templates/javascripts/main_template.erb +0 -29
  997. data/lib/generators/compass_ae_mobile/templates/views/view_template.erb +0 -25
  998. data/lib/generators/desktop_application/USAGE +0 -24
  999. data/lib/generators/desktop_application/desktop_application_generator.rb +0 -25
  1000. data/lib/generators/desktop_application/templates/INSTALL +0 -25
  1001. data/lib/generators/mobile_application/USAGE +0 -24
  1002. data/lib/generators/mobile_application/mobile_application_generator.rb +0 -25
  1003. data/lib/generators/mobile_application/templates/controllers/controller_template.erb +0 -13
  1004. data/lib/generators/mobile_application/templates/migrate/migration_template.erb +0 -14
  1005. data/lib/generators/mobile_application/templates/public/app.js.erb +0 -24
  1006. data/lib/generators/organizer_application/USAGE +0 -27
  1007. data/lib/generators/organizer_application/organizer_application_generator.rb +0 -25
  1008. data/lib/generators/organizer_application/templates/INSTALL +0 -28
  1009. data/lib/generators/organizer_application/templates/controllers/controller_template.erb +0 -12
  1010. data/lib/generators/organizer_application/templates/migrate/migration_template.erb +0 -14
  1011. data/lib/generators/organizer_application/templates/public/base.js.erb +0 -28
  1012. data/public/images/art/compass-ae-logo-reverse-1.png +0 -0
  1013. data/public/images/erp_app/desktop/applications/security_management/manage_capabilities.png +0 -0
  1014. data/public/images/erp_app/desktop/applications/security_management/manage_groups.png +0 -0
  1015. data/public/images/erp_app/desktop/applications/security_management/manage_roles.png +0 -0
  1016. data/public/images/erp_app/desktop/applications/security_management/manage_users.png +0 -0
  1017. data/public/images/icons/fieldtypes/business_party.png +0 -0
  1018. data/public/images/icons/fieldtypes/check.png +0 -0
  1019. data/public/images/icons/fieldtypes/date.png +0 -0
  1020. data/public/images/icons/fieldtypes/display.png +0 -0
  1021. data/public/images/icons/fieldtypes/email.png +0 -0
  1022. data/public/images/icons/fieldtypes/file.png +0 -0
  1023. data/public/images/icons/fieldtypes/file_assets.png +0 -0
  1024. data/public/images/icons/fieldtypes/image.png +0 -0
  1025. data/public/images/icons/fieldtypes/money.png +0 -0
  1026. data/public/images/icons/fieldtypes/number.png +0 -0
  1027. data/public/images/icons/fieldtypes/password.png +0 -0
  1028. data/public/images/icons/fieldtypes/question.png +0 -0
  1029. data/public/images/icons/fieldtypes/radio.png +0 -0
  1030. data/public/images/icons/fieldtypes/select.png +0 -0
  1031. data/public/images/icons/fieldtypes/text.png +0 -0
  1032. data/public/images/icons/fieldtypes/text.psd +0 -0
  1033. data/public/images/icons/fieldtypes/text_area.png +0 -0
  1034. data/public/images/icons/fieldtypes/time.png +0 -0
  1035. data/public/images/icons/fieldtypes/yes_no.png +0 -0
  1036. data/public/images/icons/login/login_48x48.png +0 -0
  1037. data/public/images/icons/mail/mail_48x48.png +0 -0
  1038. data/public/images/icons/manage-profile/manage-profile_48x48.png +0 -0
  1039. data/public/images/icons/map/map_48x48.png +0 -0
  1040. data/public/images/icons/package/package_48x48.png +0 -0
  1041. data/public/images/icons/product/product_48x48.png +0 -0
  1042. data/public/images/icons/recycle/recycle_16x16.png +0 -0
  1043. data/public/images/icons/reset-password/reset-password_48x48.png +0 -0
  1044. data/public/images/icons/search/search_48x48.png +0 -0
  1045. data/public/images/icons/shopping_cart/shopping_cart_48x48.png +0 -0
  1046. data/public/images/icons/sign_up/sign_up_48x48.png +0 -0
  1047. data/public/images/icons/signup/signup_48x48.png +0 -0
  1048. data/public/javascripts/erp_app/authentication/compass_user.js +0 -94
  1049. data/public/javascripts/erp_app/ckeditor/config.js +0 -12
  1050. data/public/javascripts/erp_app/ckeditor/plugins/compasssave/plugin.js +0 -22
  1051. data/public/javascripts/erp_app/ckeditor/plugins/dialog/dialogDefinition.js +0 -4
  1052. data/public/javascripts/erp_app/ckeditor/plugins/inlineeditsave/plugin.js +0 -42
  1053. data/public/javascripts/erp_app/ckeditor/plugins/knitkitthemes/plugin.js +0 -116
  1054. data/public/javascripts/erp_app/ckeditor/plugins/scayt/README.md +0 -25
  1055. data/public/javascripts/erp_app/ckeditor/plugins/scayt/dialogs/options.js +0 -20
  1056. data/public/javascripts/erp_app/ckeditor/plugins/scayt/dialogs/toolbar.css +0 -71
  1057. data/public/javascripts/erp_app/ckeditor_example_config_override.js +0 -45
  1058. data/public/javascripts/erp_app/codemirror/lib/codemirror.css +0 -272
  1059. data/public/javascripts/erp_app/codemirror/lib/codemirror.js +0 -55
  1060. data/public/javascripts/erp_app/codemirror/theme/3024-day.css +0 -34
  1061. data/public/javascripts/erp_app/codemirror/theme/3024-night.css +0 -34
  1062. data/public/javascripts/erp_app/codemirror/theme/ambiance-mobile.css +0 -5
  1063. data/public/javascripts/erp_app/codemirror/theme/ambiance.css +0 -74
  1064. data/public/javascripts/erp_app/codemirror/theme/base16-dark.css +0 -34
  1065. data/public/javascripts/erp_app/codemirror/theme/base16-light.css +0 -34
  1066. data/public/javascripts/erp_app/codemirror/theme/blackboard.css +0 -28
  1067. data/public/javascripts/erp_app/codemirror/theme/cobalt.css +0 -21
  1068. data/public/javascripts/erp_app/codemirror/theme/eclipse.css +0 -23
  1069. data/public/javascripts/erp_app/codemirror/theme/elegant.css +0 -13
  1070. data/public/javascripts/erp_app/codemirror/theme/erlang-dark.css +0 -30
  1071. data/public/javascripts/erp_app/codemirror/theme/lesser-dark.css +0 -43
  1072. data/public/javascripts/erp_app/codemirror/theme/mbo.css +0 -37
  1073. data/public/javascripts/erp_app/codemirror/theme/mdn-like.css +0 -44
  1074. data/public/javascripts/erp_app/codemirror/theme/midnight.css +0 -43
  1075. data/public/javascripts/erp_app/codemirror/theme/monokai.css +0 -29
  1076. data/public/javascripts/erp_app/codemirror/theme/neat.css +0 -12
  1077. data/public/javascripts/erp_app/codemirror/theme/neo.css +0 -40
  1078. data/public/javascripts/erp_app/codemirror/theme/night.css +0 -24
  1079. data/public/javascripts/erp_app/codemirror/theme/paraiso-dark.css +0 -34
  1080. data/public/javascripts/erp_app/codemirror/theme/paraiso-light.css +0 -34
  1081. data/public/javascripts/erp_app/codemirror/theme/pastel-on-dark.css +0 -48
  1082. data/public/javascripts/erp_app/codemirror/theme/rubyblue.css +0 -21
  1083. data/public/javascripts/erp_app/codemirror/theme/solarized.css +0 -167
  1084. data/public/javascripts/erp_app/codemirror/theme/the-matrix.css +0 -26
  1085. data/public/javascripts/erp_app/codemirror/theme/tomorrow-night-eighties.css +0 -34
  1086. data/public/javascripts/erp_app/codemirror/theme/twilight.css +0 -28
  1087. data/public/javascripts/erp_app/codemirror/theme/vibrant-ink.css +0 -30
  1088. data/public/javascripts/erp_app/codemirror/theme/xq-dark.css +0 -49
  1089. data/public/javascripts/erp_app/codemirror/theme/xq-light.css +0 -43
  1090. data/public/javascripts/erp_app/codemirror_highlight.js +0 -17
  1091. data/public/javascripts/erp_app/desktop/applications/audit_log_viewer/module.js +0 -38
  1092. data/public/javascripts/erp_app/desktop/applications/configuration_management/module.js +0 -95
  1093. data/public/javascripts/erp_app/desktop/applications/control_panel/module.js +0 -73
  1094. data/public/javascripts/erp_app/desktop/applications/file_manager/module.js +0 -120
  1095. data/public/javascripts/erp_app/desktop/applications/job_tracker/module.js +0 -44
  1096. data/public/javascripts/erp_app/desktop/applications/scaffold/models_tree_panel.js +0 -86
  1097. data/public/javascripts/erp_app/desktop/applications/scaffold/module.js +0 -62
  1098. data/public/javascripts/erp_app/desktop/applications/security_management/capabilities_panel.js +0 -62
  1099. data/public/javascripts/erp_app/desktop/applications/security_management/capabilities_widget.js +0 -241
  1100. data/public/javascripts/erp_app/desktop/applications/security_management/groups_effective_security.js +0 -94
  1101. data/public/javascripts/erp_app/desktop/applications/security_management/groups_panel.js +0 -298
  1102. data/public/javascripts/erp_app/desktop/applications/security_management/groups_widget.js +0 -241
  1103. data/public/javascripts/erp_app/desktop/applications/security_management/module.js +0 -173
  1104. data/public/javascripts/erp_app/desktop/applications/security_management/north_panel.js +0 -31
  1105. data/public/javascripts/erp_app/desktop/applications/security_management/roles_panel.js +0 -309
  1106. data/public/javascripts/erp_app/desktop/applications/security_management/roles_widget.js +0 -241
  1107. data/public/javascripts/erp_app/desktop/applications/security_management/south_panel.js +0 -126
  1108. data/public/javascripts/erp_app/desktop/applications/security_management/users_effective_security.js +0 -128
  1109. data/public/javascripts/erp_app/desktop/applications/security_management/users_panel.js +0 -59
  1110. data/public/javascripts/erp_app/desktop/applications/security_management/users_widget.js +0 -245
  1111. data/public/javascripts/erp_app/desktop/applications/user_management/module.js +0 -469
  1112. data/public/javascripts/erp_app/desktop/applications/user_management/personal_info_panel.js +0 -117
  1113. data/public/javascripts/erp_app/desktop/applications/user_management/role_management_panel.js +0 -208
  1114. data/public/javascripts/erp_app/desktop/applications/user_management/user_application_mgt_panel.js +0 -206
  1115. data/public/javascripts/erp_app/desktop/ext_ux_desktop_module.js +0 -1014
  1116. data/public/javascripts/erp_app/ecommerce/credit_card_window.js +0 -329
  1117. data/public/javascripts/erp_app/highslide/examples/ajax.html +0 -51
  1118. data/public/javascripts/erp_app/highslide/examples/flash.html +0 -61
  1119. data/public/javascripts/erp_app/highslide/examples/gallery-controls-in-heading.html +0 -89
  1120. data/public/javascripts/erp_app/highslide/examples/gallery-dark.html +0 -93
  1121. data/public/javascripts/erp_app/highslide/examples/gallery-floating-caption.html +0 -91
  1122. data/public/javascripts/erp_app/highslide/examples/gallery-floating-thumbs.html +0 -144
  1123. data/public/javascripts/erp_app/highslide/examples/gallery-horizontal-strip.html +0 -147
  1124. data/public/javascripts/erp_app/highslide/examples/gallery-in-box.html +0 -95
  1125. data/public/javascripts/erp_app/highslide/examples/gallery-in-page.html +0 -221
  1126. data/public/javascripts/erp_app/highslide/examples/gallery-thumbstrip-above.html +0 -142
  1127. data/public/javascripts/erp_app/highslide/examples/gallery-vertical-strip.html +0 -178
  1128. data/public/javascripts/erp_app/highslide/examples/gallery-white.html +0 -90
  1129. data/public/javascripts/erp_app/highslide/examples/headline.html +0 -49
  1130. data/public/javascripts/erp_app/highslide/examples/html.html +0 -67
  1131. data/public/javascripts/erp_app/highslide/examples/iframe.html +0 -44
  1132. data/public/javascripts/erp_app/highslide/examples/image-map.html +0 -49
  1133. data/public/javascripts/erp_app/highslide/examples/includes/Flash.swf +0 -0
  1134. data/public/javascripts/erp_app/highslide/examples/includes/ajax.htm +0 -45
  1135. data/public/javascripts/erp_app/highslide/examples/includes/include-short.htm +0 -40
  1136. data/public/javascripts/erp_app/highslide/examples/inline.html +0 -50
  1137. data/public/javascripts/erp_app/highslide/examples/mini-galleries.html +0 -135
  1138. data/public/javascripts/erp_app/highslide/examples/mini-gallery.html +0 -89
  1139. data/public/javascripts/erp_app/highslide/examples/no-border.html +0 -62
  1140. data/public/javascripts/erp_app/highslide/examples/no-outline.html +0 -52
  1141. data/public/javascripts/erp_app/highslide/examples/outer-glow.html +0 -53
  1142. data/public/javascripts/erp_app/highslide/examples/white-10px.html +0 -51
  1143. data/public/javascripts/erp_app/highslide/examples/white-rounded-outline.html +0 -51
  1144. data/public/javascripts/erp_app/highslide/examples/youtube.html +0 -62
  1145. data/public/javascripts/erp_app/highslide/highslide/highslide-full.js +0 -3302
  1146. data/public/javascripts/erp_app/highslide/highslide/highslide-full.min.js +0 -9
  1147. data/public/javascripts/erp_app/highslide/highslide/highslide-full.packed.js +0 -9
  1148. data/public/javascripts/erp_app/highslide/highslide/highslide-with-gallery.js +0 -2639
  1149. data/public/javascripts/erp_app/highslide/highslide/highslide-with-gallery.min.js +0 -9
  1150. data/public/javascripts/erp_app/highslide/highslide/highslide-with-gallery.packed.js +0 -9
  1151. data/public/javascripts/erp_app/highslide/highslide/highslide-with-html.js +0 -2476
  1152. data/public/javascripts/erp_app/highslide/highslide/highslide-with-html.min.js +0 -9
  1153. data/public/javascripts/erp_app/highslide/highslide/highslide-with-html.packed.js +0 -9
  1154. data/public/javascripts/erp_app/highslide/highslide/highslide.css +0 -886
  1155. data/public/javascripts/erp_app/highslide/highslide/highslide.js +0 -1886
  1156. data/public/javascripts/erp_app/highslide/highslide/highslide.min.js +0 -9
  1157. data/public/javascripts/erp_app/highslide/highslide/highslide.packed.js +0 -9
  1158. data/public/javascripts/erp_app/highslide/images/full-image.jpg +0 -0
  1159. data/public/javascripts/erp_app/highslide/images/full6.jpg +0 -0
  1160. data/public/javascripts/erp_app/highslide/images/gallery1.jpg +0 -0
  1161. data/public/javascripts/erp_app/highslide/images/gallery1.thumb.jpg +0 -0
  1162. data/public/javascripts/erp_app/highslide/images/gallery2.jpg +0 -0
  1163. data/public/javascripts/erp_app/highslide/images/gallery2.thumb.jpg +0 -0
  1164. data/public/javascripts/erp_app/highslide/images/gallery3.jpg +0 -0
  1165. data/public/javascripts/erp_app/highslide/images/gallery3.thumb.jpg +0 -0
  1166. data/public/javascripts/erp_app/highslide/images/nordic.gif +0 -0
  1167. data/public/javascripts/erp_app/highslide/images/thumb6.jpg +0 -0
  1168. data/public/javascripts/erp_app/highslide/images/thumbnail.jpg +0 -0
  1169. data/public/javascripts/erp_app/highslide/images/thumbstrip01.jpg +0 -0
  1170. data/public/javascripts/erp_app/highslide/images/thumbstrip01.thumb.png +0 -0
  1171. data/public/javascripts/erp_app/highslide/images/thumbstrip02.jpg +0 -0
  1172. data/public/javascripts/erp_app/highslide/images/thumbstrip02.thumb.png +0 -0
  1173. data/public/javascripts/erp_app/highslide/images/thumbstrip03.jpg +0 -0
  1174. data/public/javascripts/erp_app/highslide/images/thumbstrip03.thumb.png +0 -0
  1175. data/public/javascripts/erp_app/highslide/images/thumbstrip04.jpg +0 -0
  1176. data/public/javascripts/erp_app/highslide/images/thumbstrip04.thumb.png +0 -0
  1177. data/public/javascripts/erp_app/highslide/images/thumbstrip05.jpg +0 -0
  1178. data/public/javascripts/erp_app/highslide/images/thumbstrip05.thumb.png +0 -0
  1179. data/public/javascripts/erp_app/highslide/images/thumbstrip06.jpg +0 -0
  1180. data/public/javascripts/erp_app/highslide/images/thumbstrip06.thumb.png +0 -0
  1181. data/public/javascripts/erp_app/highslide/images/thumbstrip07.jpg +0 -0
  1182. data/public/javascripts/erp_app/highslide/images/thumbstrip07.thumb.png +0 -0
  1183. data/public/javascripts/erp_app/highslide/images/thumbstrip08.jpg +0 -0
  1184. data/public/javascripts/erp_app/highslide/images/thumbstrip08.thumb.png +0 -0
  1185. data/public/javascripts/erp_app/highslide/images/thumbstrip09.jpg +0 -0
  1186. data/public/javascripts/erp_app/highslide/images/thumbstrip09.thumb.png +0 -0
  1187. data/public/javascripts/erp_app/highslide/images/thumbstrip10.jpg +0 -0
  1188. data/public/javascripts/erp_app/highslide/images/thumbstrip10.thumb.png +0 -0
  1189. data/public/javascripts/erp_app/highslide/images/thumbstrip11.jpg +0 -0
  1190. data/public/javascripts/erp_app/highslide/images/thumbstrip11.thumb.png +0 -0
  1191. data/public/javascripts/erp_app/highslide/images/thumbstrip12.jpg +0 -0
  1192. data/public/javascripts/erp_app/highslide/images/thumbstrip12.thumb.png +0 -0
  1193. data/public/javascripts/erp_app/highslide/images/thumbstrip13.jpg +0 -0
  1194. data/public/javascripts/erp_app/highslide/images/thumbstrip13.thumb.png +0 -0
  1195. data/public/javascripts/erp_app/highslide/images/thumbstrip14.jpg +0 -0
  1196. data/public/javascripts/erp_app/highslide/images/thumbstrip14.thumb.png +0 -0
  1197. data/public/javascripts/erp_app/highslide/images/thumbstrip15.jpg +0 -0
  1198. data/public/javascripts/erp_app/highslide/images/thumbstrip15.thumb.png +0 -0
  1199. data/public/javascripts/erp_app/highslide/images/thumbstrip16.jpg +0 -0
  1200. data/public/javascripts/erp_app/highslide/images/thumbstrip16.thumb.png +0 -0
  1201. data/public/javascripts/erp_app/highslide/images/thumbstrip17.jpg +0 -0
  1202. data/public/javascripts/erp_app/highslide/images/thumbstrip17.thumb.png +0 -0
  1203. data/public/javascripts/erp_app/highslide/images/thumbstrip18.jpg +0 -0
  1204. data/public/javascripts/erp_app/highslide/images/thumbstrip18.thumb.png +0 -0
  1205. data/public/javascripts/erp_app/highslide/images/thumbstrip19.jpg +0 -0
  1206. data/public/javascripts/erp_app/highslide/images/thumbstrip19.thumb.png +0 -0
  1207. data/public/javascripts/erp_app/highslide/images/thumbstrip20.jpg +0 -0
  1208. data/public/javascripts/erp_app/highslide/images/thumbstrip20.thumb.png +0 -0
  1209. data/public/javascripts/erp_app/highslide/images/thumbstrip21.jpg +0 -0
  1210. data/public/javascripts/erp_app/highslide/images/thumbstrip21.thumb.png +0 -0
  1211. data/public/javascripts/erp_app/highslide/images/thumbstrip22.jpg +0 -0
  1212. data/public/javascripts/erp_app/highslide/images/thumbstrip22.thumb.png +0 -0
  1213. data/public/javascripts/erp_app/highslide/images/thumbstrip23.jpg +0 -0
  1214. data/public/javascripts/erp_app/highslide/images/thumbstrip23.thumb.png +0 -0
  1215. data/public/javascripts/erp_app/highslide/images/thumbstrip24.jpg +0 -0
  1216. data/public/javascripts/erp_app/highslide/images/thumbstrip24.thumb.png +0 -0
  1217. data/public/javascripts/erp_app/highslide/index.htm +0 -68
  1218. data/public/javascripts/erp_app/jquery_support.js +0 -31
  1219. data/public/javascripts/erp_app/login/mobile.js +0 -58
  1220. data/public/javascripts/erp_app/login/window.js +0 -124
  1221. data/public/javascripts/erp_app/mobile/app.js +0 -74
  1222. data/public/javascripts/erp_app/mobile/applications/job_tracker/app.js +0 -177
  1223. data/public/javascripts/erp_app/mobile/applications/job_tracker/model/job.js +0 -15
  1224. data/public/javascripts/erp_app/mobile/applications/job_tracker/store/jobs.js +0 -16
  1225. data/public/javascripts/erp_app/mobile/applications/job_tracker/view/templates.js +0 -22
  1226. data/public/javascripts/erp_app/mobile/applications/user_management/app.js +0 -112
  1227. data/public/javascripts/erp_app/mobile/applications/user_management/app/model/user.js +0 -14
  1228. data/public/javascripts/erp_app/mobile/applications/user_management/app/store/users.js +0 -19
  1229. data/public/javascripts/erp_app/mobile/applications/user_management/app/view/templates.js +0 -34
  1230. data/public/javascripts/erp_app/mobile/mobile_base.js +0 -10
  1231. data/public/javascripts/erp_app/organizer/applications/crm/base.js +0 -64
  1232. data/public/javascripts/erp_app/organizer/default_menu_tree_panel.js +0 -69
  1233. data/public/javascripts/erp_app/organizer/layout.js +0 -267
  1234. data/public/javascripts/erp_app/shared/MoneyField.js +0 -119
  1235. data/public/javascripts/erp_app/shared/active_ext/active_ext_grid.js +0 -351
  1236. data/public/javascripts/erp_app/shared/audit_log/GridPanel.js +0 -214
  1237. data/public/javascripts/erp_app/shared/audit_log/TabPanel.js +0 -103
  1238. data/public/javascripts/erp_app/shared/compass_ckeditor.js +0 -264
  1239. data/public/javascripts/erp_app/shared/compass_codemirror.js +0 -466
  1240. data/public/javascripts/erp_app/shared/configuration/configuration_panel.js +0 -128
  1241. data/public/javascripts/erp_app/shared/crm/ContactMechanismGrid.js +0 -812
  1242. data/public/javascripts/erp_app/shared/crm/PartyDetailsPanel.js +0 -344
  1243. data/public/javascripts/erp_app/shared/crm/PartyForm.js +0 -321
  1244. data/public/javascripts/erp_app/shared/crm/PartyGrid.js +0 -591
  1245. data/public/javascripts/erp_app/shared/crm/UserForm.js +0 -307
  1246. data/public/javascripts/erp_app/shared/crm/UsersGrid.js +0 -492
  1247. data/public/javascripts/erp_app/shared/dynamic_editable_grid.js +0 -140
  1248. data/public/javascripts/erp_app/shared/dynamic_editable_grid_loader_panel.js +0 -64
  1249. data/public/javascripts/erp_app/shared/dynamic_form_fields.js +0 -99
  1250. data/public/javascripts/erp_app/shared/file_manager_tree.js +0 -722
  1251. data/public/javascripts/erp_app/shared/file_upload/Ext.ux.panel.UploadPanel.js +0 -580
  1252. data/public/javascripts/erp_app/shared/file_upload/upload_window.js +0 -63
  1253. data/public/javascripts/erp_app/shared/notes_grid.js +0 -338
  1254. data/public/javascripts/erp_app/shared/profile_management_panel.js +0 -137
  1255. data/public/javascripts/erp_app/utility.js +0 -654
  1256. data/public/javascripts/erp_app/widgets.js +0 -82
  1257. data/public/stylesheets/erp_app/desktop/base.css +0 -254
  1258. data/public/stylesheets/erp_app/login/main.css +0 -4
  1259. data/public/stylesheets/erp_app/mobile/applications/user_management/main.css +0 -21
  1260. data/public/stylesheets/erp_app/mobile/mobile.css +0 -47
  1261. data/public/stylesheets/erp_app/organizer/base.css +0 -6
  1262. data/public/stylesheets/erp_app/shared/compass-ext-all.css +0 -547
  1263. data/public/stylesheets/erp_app/shared/crm.css +0 -45
  1264. data/public/stylesheets/jquery_plugins/jquery.loadmask.css +0 -40
@@ -1,9 +0,0 @@
1
- /**
2
- * Name: Highslide JS
3
- * Version: 4.1.12 (2011-03-28)
4
- * Config: default +slideshow +positioning +transitions +viewport +thumbstrip
5
- * Author: Torstein Hønsi
6
- * Support: www.highslide.com/support
7
- * License: www.highslide.com/#license
8
- */
9
- if(!hs){var hs={lang:{cssDirection:"ltr",loadingText:"Loading...",loadingTitle:"Click to cancel",focusTitle:"Click to bring to front",fullExpandTitle:"Expand to actual size (f)",creditsText:"Powered by <i>Highslide JS</i>",creditsTitle:"Go to the Highslide JS homepage",previousText:"Previous",nextText:"Next",moveText:"Move",closeText:"Close",closeTitle:"Close (esc)",resizeTitle:"Resize",playText:"Play",playTitle:"Play slideshow (spacebar)",pauseText:"Pause",pauseTitle:"Pause slideshow (spacebar)",previousTitle:"Previous (arrow left)",nextTitle:"Next (arrow right)",moveTitle:"Move",fullExpandText:"1:1",number:"Image %1 of %2",restoreTitle:"Click to close image, click and drag to move. Use arrow keys for next and previous."},graphicsDir:"highslide/graphics/",expandCursor:"zoomin.cur",restoreCursor:"zoomout.cur",expandDuration:250,restoreDuration:250,marginLeft:15,marginRight:15,marginTop:15,marginBottom:15,zIndexCounter:1001,loadingOpacity:0.75,allowMultipleInstances:true,numberOfImagesToPreload:5,outlineWhileAnimating:2,outlineStartOffset:3,padToMinWidth:false,fullExpandPosition:"bottom right",fullExpandOpacity:1,showCredits:true,creditsHref:"http://highslide.com/",creditsTarget:"_self",enableKeyListener:true,openerTagNames:["a"],transitions:[],transitionDuration:250,dimmingOpacity:0,dimmingDuration:50,anchor:"auto",align:"auto",targetX:null,targetY:null,dragByHeading:true,minWidth:200,minHeight:200,allowSizeReduction:true,outlineType:"drop-shadow",skin:{controls:'<div class="highslide-controls"><ul><li class="highslide-previous"><a href="#" title="{hs.lang.previousTitle}"><span>{hs.lang.previousText}</span></a></li><li class="highslide-play"><a href="#" title="{hs.lang.playTitle}"><span>{hs.lang.playText}</span></a></li><li class="highslide-pause"><a href="#" title="{hs.lang.pauseTitle}"><span>{hs.lang.pauseText}</span></a></li><li class="highslide-next"><a href="#" title="{hs.lang.nextTitle}"><span>{hs.lang.nextText}</span></a></li><li class="highslide-move"><a href="#" title="{hs.lang.moveTitle}"><span>{hs.lang.moveText}</span></a></li><li class="highslide-full-expand"><a href="#" title="{hs.lang.fullExpandTitle}"><span>{hs.lang.fullExpandText}</span></a></li><li class="highslide-close"><a href="#" title="{hs.lang.closeTitle}" ><span>{hs.lang.closeText}</span></a></li></ul></div>'},preloadTheseImages:[],continuePreloading:true,expanders:[],overrides:["allowSizeReduction","useBox","anchor","align","targetX","targetY","outlineType","outlineWhileAnimating","captionId","captionText","captionEval","captionOverlay","headingId","headingText","headingEval","headingOverlay","creditsPosition","dragByHeading","autoplay","numberPosition","transitions","dimmingOpacity","width","height","wrapperClassName","minWidth","minHeight","maxWidth","maxHeight","pageOrigin","slideshowGroup","easing","easingClose","fadeInOut","src"],overlays:[],idCounter:0,oPos:{x:["leftpanel","left","center","right","rightpanel"],y:["above","top","middle","bottom","below"]},mouse:{},headingOverlay:{},captionOverlay:{},timers:[],slideshows:[],pendingOutlines:{},clones:{},onReady:[],uaVersion:/Trident\/4\.0/.test(navigator.userAgent)?8:parseFloat((navigator.userAgent.toLowerCase().match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[0,"0"])[1]),ie:(document.all&&!window.opera),safari:/Safari/.test(navigator.userAgent),geckoMac:/Macintosh.+rv:1\.[0-8].+Gecko/.test(navigator.userAgent),$:function(a){if(a){return document.getElementById(a)}},push:function(a,b){a[a.length]=b},createElement:function(a,f,e,d,c){var b=document.createElement(a);if(f){hs.extend(b,f)}if(c){hs.setStyles(b,{padding:0,border:"none",margin:0})}if(e){hs.setStyles(b,e)}if(d){d.appendChild(b)}return b},extend:function(b,c){for(var a in c){b[a]=c[a]}return b},setStyles:function(b,c){for(var a in c){if(hs.ieLt9&&a=="opacity"){if(c[a]>0.99){b.style.removeAttribute("filter")}else{b.style.filter="alpha(opacity="+(c[a]*100)+")"}}else{b.style[a]=c[a]}}},animate:function(f,a,d){var c,g,j;if(typeof d!="object"||d===null){var i=arguments;d={duration:i[2],easing:i[3],complete:i[4]}}if(typeof d.duration!="number"){d.duration=250}d.easing=Math[d.easing]||Math.easeInQuad;d.curAnim=hs.extend({},a);for(var b in a){var h=new hs.fx(f,d,b);c=parseFloat(hs.css(f,b))||0;g=parseFloat(a[b]);j=b!="opacity"?"px":"";h.custom(c,g,j)}},css:function(a,c){if(a.style[c]){return a.style[c]}else{if(document.defaultView){return document.defaultView.getComputedStyle(a,null).getPropertyValue(c)}else{if(c=="opacity"){c="filter"}var b=a.currentStyle[c.replace(/\-(\w)/g,function(e,d){return d.toUpperCase()})];if(c=="filter"){b=b.replace(/alpha\(opacity=([0-9]+)\)/,function(e,d){return d/100})}return b===""?1:b}}},getPageSize:function(){var f=document,b=window,e=f.compatMode&&f.compatMode!="BackCompat"?f.documentElement:f.body;var c=hs.ieLt9?e.clientWidth:(f.documentElement.clientWidth||self.innerWidth),a=hs.ieLt9?e.clientHeight:self.innerHeight;hs.page={width:c,height:a,scrollLeft:hs.ieLt9?e.scrollLeft:pageXOffset,scrollTop:hs.ieLt9?e.scrollTop:pageYOffset};return hs.page},getPosition:function(a){var b={x:a.offsetLeft,y:a.offsetTop};while(a.offsetParent){a=a.offsetParent;b.x+=a.offsetLeft;b.y+=a.offsetTop;if(a!=document.body&&a!=document.documentElement){b.x-=a.scrollLeft;b.y-=a.scrollTop}}return b},expand:function(b,g,d,c){if(!b){b=hs.createElement("a",null,{display:"none"},hs.container)}if(typeof b.getParams=="function"){return g}try{new hs.Expander(b,g,d);return false}catch(f){return true}},getElementByClass:function(e,c,d){var b=e.getElementsByTagName(c);for(var a=0;a<b.length;a++){if((new RegExp(d)).test(b[a].className)){return b[a]}}return null},replaceLang:function(c){c=c.replace(/\s/g," ");var b=/{hs\.lang\.([^}]+)\}/g,d=c.match(b),e;if(d){for(var a=0;a<d.length;a++){e=d[a].replace(b,"$1");if(typeof hs.lang[e]!="undefined"){c=c.replace(d[a],hs.lang[e])}}}return c},focusTopmost:function(){var c=0,b=-1,a=hs.expanders,e,f;for(var d=0;d<a.length;d++){e=a[d];if(e){f=e.wrapper.style.zIndex;if(f&&f>c){c=f;b=d}}}if(b==-1){hs.focusKey=-1}else{a[b].focus()}},getParam:function(b,d){b.getParams=b.onclick;var c=b.getParams?b.getParams():null;b.getParams=null;return(c&&typeof c[d]!="undefined")?c[d]:(typeof hs[d]!="undefined"?hs[d]:null)},getSrc:function(b){var c=hs.getParam(b,"src");if(c){return c}return b.href},getNode:function(e){var c=hs.$(e),d=hs.clones[e],b={};if(!c&&!d){return null}if(!d){d=c.cloneNode(true);d.id="";hs.clones[e]=d;return c}else{return d.cloneNode(true)}},discardElement:function(a){if(a){hs.garbageBin.appendChild(a)}hs.garbageBin.innerHTML=""},dim:function(b){if(!hs.dimmer){a=true;hs.dimmer=hs.createElement("div",{className:"highslide-dimming highslide-viewport-size",owner:"",onclick:function(){hs.close()}},{visibility:"visible",opacity:0},hs.container,true)}hs.dimmer.style.display="";var a=hs.dimmer.owner=="";hs.dimmer.owner+="|"+b.key;if(a){if(hs.geckoMac&&hs.dimmingGeckoFix){hs.setStyles(hs.dimmer,{background:"url("+hs.graphicsDir+"geckodimmer.png)",opacity:1})}else{hs.animate(hs.dimmer,{opacity:b.dimmingOpacity},hs.dimmingDuration)}}},undim:function(a){if(!hs.dimmer){return}if(typeof a!="undefined"){hs.dimmer.owner=hs.dimmer.owner.replace("|"+a,"")}if((typeof a!="undefined"&&hs.dimmer.owner!="")||(hs.upcoming&&hs.getParam(hs.upcoming,"dimmingOpacity"))){return}if(hs.geckoMac&&hs.dimmingGeckoFix){hs.dimmer.style.display="none"}else{hs.animate(hs.dimmer,{opacity:0},hs.dimmingDuration,null,function(){hs.dimmer.style.display="none"})}},transit:function(a,d){var b=d||hs.getExpander();d=b;if(hs.upcoming){return false}else{hs.last=b}hs.removeEventListener(document,window.opera?"keypress":"keydown",hs.keyHandler);try{hs.upcoming=a;a.onclick()}catch(c){hs.last=hs.upcoming=null}try{if(!a||d.transitions[1]!="crossfade"){d.close()}}catch(c){}return false},previousOrNext:function(a,c){var b=hs.getExpander(a);if(b){return hs.transit(b.getAdjacentAnchor(c),b)}else{return false}},previous:function(a){return hs.previousOrNext(a,-1)},next:function(a){return hs.previousOrNext(a,1)},keyHandler:function(a){if(!a){a=window.event}if(!a.target){a.target=a.srcElement}if(typeof a.target.form!="undefined"){return true}var b=hs.getExpander();var c=null;switch(a.keyCode){case 70:if(b){b.doFullExpand()}return true;case 32:c=2;break;case 34:case 39:case 40:c=1;break;case 8:case 33:case 37:case 38:c=-1;break;case 27:case 13:c=0}if(c!==null){hs.removeEventListener(document,window.opera?"keypress":"keydown",hs.keyHandler);if(!hs.enableKeyListener){return true}if(a.preventDefault){a.preventDefault()}else{a.returnValue=false}if(b){if(c==0){b.close()}else{if(c==2){if(b.slideshow){b.slideshow.hitSpace()}}else{if(b.slideshow){b.slideshow.pause()}hs.previousOrNext(b.key,c)}}return false}}return true},registerOverlay:function(a){hs.push(hs.overlays,hs.extend(a,{hsId:"hsId"+hs.idCounter++}))},addSlideshow:function(b){var d=b.slideshowGroup;if(typeof d=="object"){for(var c=0;c<d.length;c++){var e={};for(var a in b){e[a]=b[a]}e.slideshowGroup=d[c];hs.push(hs.slideshows,e)}}else{hs.push(hs.slideshows,b)}},getWrapperKey:function(c,b){var e,d=/^highslide-wrapper-([0-9]+)$/;e=c;while(e.parentNode){if(e.hsKey!==undefined){return e.hsKey}if(e.id&&d.test(e.id)){return e.id.replace(d,"$1")}e=e.parentNode}if(!b){e=c;while(e.parentNode){if(e.tagName&&hs.isHsAnchor(e)){for(var a=0;a<hs.expanders.length;a++){var f=hs.expanders[a];if(f&&f.a==e){return a}}}e=e.parentNode}}return null},getExpander:function(b,a){if(typeof b=="undefined"){return hs.expanders[hs.focusKey]||null}if(typeof b=="number"){return hs.expanders[b]||null}if(typeof b=="string"){b=hs.$(b)}return hs.expanders[hs.getWrapperKey(b,a)]||null},isHsAnchor:function(b){return(b.onclick&&b.onclick.toString().replace(/\s/g," ").match(/hs.(htmlE|e)xpand/))},reOrder:function(){for(var a=0;a<hs.expanders.length;a++){if(hs.expanders[a]&&hs.expanders[a].isExpanded){hs.focusTopmost()}}},mouseClickHandler:function(d){if(!d){d=window.event}if(d.button>1){return true}if(!d.target){d.target=d.srcElement}var b=d.target;while(b.parentNode&&!(/highslide-(image|move|html|resize)/.test(b.className))){b=b.parentNode}var f=hs.getExpander(b);if(f&&(f.isClosing||!f.isExpanded)){return true}if(f&&d.type=="mousedown"){if(d.target.form){return true}var a=b.className.match(/highslide-(image|move|resize)/);if(a){hs.dragArgs={exp:f,type:a[1],left:f.x.pos,width:f.x.size,top:f.y.pos,height:f.y.size,clickX:d.clientX,clickY:d.clientY};hs.addEventListener(document,"mousemove",hs.dragHandler);if(d.preventDefault){d.preventDefault()}if(/highslide-(image|html)-blur/.test(f.content.className)){f.focus();hs.hasFocused=true}return false}}else{if(d.type=="mouseup"){hs.removeEventListener(document,"mousemove",hs.dragHandler);if(hs.dragArgs){if(hs.styleRestoreCursor&&hs.dragArgs.type=="image"){hs.dragArgs.exp.content.style.cursor=hs.styleRestoreCursor}var c=hs.dragArgs.hasDragged;if(!c&&!hs.hasFocused&&!/(move|resize)/.test(hs.dragArgs.type)){f.close()}else{if(c||(!c&&hs.hasHtmlExpanders)){hs.dragArgs.exp.doShowHide("hidden")}}hs.hasFocused=false;hs.dragArgs=null}else{if(/highslide-image-blur/.test(b.className)){b.style.cursor=hs.styleRestoreCursor}}}}return false},dragHandler:function(c){if(!hs.dragArgs){return true}if(!c){c=window.event}var b=hs.dragArgs,d=b.exp;b.dX=c.clientX-b.clickX;b.dY=c.clientY-b.clickY;var f=Math.sqrt(Math.pow(b.dX,2)+Math.pow(b.dY,2));if(!b.hasDragged){b.hasDragged=(b.type!="image"&&f>0)||(f>(hs.dragSensitivity||5))}if(b.hasDragged&&c.clientX>5&&c.clientY>5){if(b.type=="resize"){d.resize(b)}else{d.moveTo(b.left+b.dX,b.top+b.dY);if(b.type=="image"){d.content.style.cursor="move"}}}return false},wrapperMouseHandler:function(c){try{if(!c){c=window.event}var b=/mouseover/i.test(c.type);if(!c.target){c.target=c.srcElement}if(!c.relatedTarget){c.relatedTarget=b?c.fromElement:c.toElement}var d=hs.getExpander(c.target);if(!d.isExpanded){return}if(!d||!c.relatedTarget||hs.getExpander(c.relatedTarget,true)==d||hs.dragArgs){return}for(var a=0;a<d.overlays.length;a++){(function(){var e=hs.$("hsId"+d.overlays[a]);if(e&&e.hideOnMouseOut){if(b){hs.setStyles(e,{visibility:"visible",display:""})}hs.animate(e,{opacity:b?e.opacity:0},e.dur)}})()}}catch(c){}},addEventListener:function(a,c,b){if(a==document&&c=="ready"){hs.push(hs.onReady,b)}try{a.addEventListener(c,b,false)}catch(d){try{a.detachEvent("on"+c,b);a.attachEvent("on"+c,b)}catch(d){a["on"+c]=b}}},removeEventListener:function(a,c,b){try{a.removeEventListener(c,b,false)}catch(d){try{a.detachEvent("on"+c,b)}catch(d){a["on"+c]=null}}},preloadFullImage:function(b){if(hs.continuePreloading&&hs.preloadTheseImages[b]&&hs.preloadTheseImages[b]!="undefined"){var a=document.createElement("img");a.onload=function(){a=null;hs.preloadFullImage(b+1)};a.src=hs.preloadTheseImages[b]}},preloadImages:function(c){if(c&&typeof c!="object"){hs.numberOfImagesToPreload=c}var a=hs.getAnchors();for(var b=0;b<a.images.length&&b<hs.numberOfImagesToPreload;b++){hs.push(hs.preloadTheseImages,hs.getSrc(a.images[b]))}if(hs.outlineType){new hs.Outline(hs.outlineType,function(){hs.preloadFullImage(0)})}else{hs.preloadFullImage(0)}if(hs.restoreCursor){var d=hs.createElement("img",{src:hs.graphicsDir+hs.restoreCursor})}},init:function(){if(!hs.container){hs.ieLt7=hs.ie&&hs.uaVersion<7;hs.ieLt9=hs.ie&&hs.uaVersion<9;hs.getPageSize();for(var a in hs.langDefaults){if(typeof hs[a]!="undefined"){hs.lang[a]=hs[a]}else{if(typeof hs.lang[a]=="undefined"&&typeof hs.langDefaults[a]!="undefined"){hs.lang[a]=hs.langDefaults[a]}}}hs.container=hs.createElement("div",{className:"highslide-container"},{position:"absolute",left:0,top:0,width:"100%",zIndex:hs.zIndexCounter,direction:"ltr"},document.body,true);hs.loading=hs.createElement("a",{className:"highslide-loading",title:hs.lang.loadingTitle,innerHTML:hs.lang.loadingText,href:"javascript:;"},{position:"absolute",top:"-9999px",opacity:hs.loadingOpacity,zIndex:1},hs.container);hs.garbageBin=hs.createElement("div",null,{display:"none"},hs.container);hs.viewport=hs.createElement("div",{className:"highslide-viewport highslide-viewport-size"},{visibility:(hs.safari&&hs.uaVersion<525)?"visible":"hidden"},hs.container,1);Math.linearTween=function(f,e,h,g){return h*f/g+e};Math.easeInQuad=function(f,e,h,g){return h*(f/=g)*f+e};Math.easeOutQuad=function(f,e,h,g){return -h*(f/=g)*(f-2)+e};hs.hideSelects=hs.ieLt7;hs.hideIframes=((window.opera&&hs.uaVersion<9)||navigator.vendor=="KDE"||(hs.ieLt7&&hs.uaVersion<5.5))}},ready:function(){if(hs.isReady){return}hs.isReady=true;for(var a=0;a<hs.onReady.length;a++){hs.onReady[a]()}},updateAnchors:function(){var a,c,k=[],h=[],b={},l;for(var e=0;e<hs.openerTagNames.length;e++){c=document.getElementsByTagName(hs.openerTagNames[e]);for(var d=0;d<c.length;d++){a=c[d];l=hs.isHsAnchor(a);if(l){hs.push(k,a);if(l[0]=="hs.expand"){hs.push(h,a)}var f=hs.getParam(a,"slideshowGroup")||"none";if(!b[f]){b[f]=[]}hs.push(b[f],a)}}}hs.anchors={all:k,groups:b,images:h};return hs.anchors},getAnchors:function(){return hs.anchors||hs.updateAnchors()},close:function(a){var b=hs.getExpander(a);if(b){b.close()}return false}};hs.fx=function(b,a,c){this.options=a;this.elem=b;this.prop=c;if(!a.orig){a.orig={}}};hs.fx.prototype={update:function(){(hs.fx.step[this.prop]||hs.fx.step._default)(this);if(this.options.step){this.options.step.call(this.elem,this.now,this)}},custom:function(e,d,c){this.startTime=(new Date()).getTime();this.start=e;this.end=d;this.unit=c;this.now=this.start;this.pos=this.state=0;var a=this;function b(f){return a.step(f)}b.elem=this.elem;if(b()&&hs.timers.push(b)==1){hs.timerId=setInterval(function(){var g=hs.timers;for(var f=0;f<g.length;f++){if(!g[f]()){g.splice(f--,1)}}if(!g.length){clearInterval(hs.timerId)}},13)}},step:function(d){var c=(new Date()).getTime();if(d||c>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;var a=true;for(var b in this.options.curAnim){if(this.options.curAnim[b]!==true){a=false}}if(a){if(this.options.complete){this.options.complete.call(this.elem)}}return false}else{var e=c-this.startTime;this.state=e/this.options.duration;this.pos=this.options.easing(e,0,1,this.options.duration);this.now=this.start+((this.end-this.start)*this.pos);this.update()}return true}};hs.extend(hs.fx,{step:{opacity:function(a){hs.setStyles(a.elem,{opacity:a.now})},_default:function(a){try{if(a.elem.style&&a.elem.style[a.prop]!=null){a.elem.style[a.prop]=a.now+a.unit}else{a.elem[a.prop]=a.now}}catch(b){}}}});hs.Outline=function(g,e){this.onLoad=e;this.outlineType=g;var a=hs.uaVersion,f;this.hasAlphaImageLoader=hs.ie&&hs.uaVersion<7;if(!g){if(e){e()}return}hs.init();this.table=hs.createElement("table",{cellSpacing:0},{visibility:"hidden",position:"absolute",borderCollapse:"collapse",width:0},hs.container,true);var b=hs.createElement("tbody",null,null,this.table,1);this.td=[];for(var c=0;c<=8;c++){if(c%3==0){f=hs.createElement("tr",null,{height:"auto"},b,true)}this.td[c]=hs.createElement("td",null,null,f,true);var d=c!=4?{lineHeight:0,fontSize:0}:{position:"relative"};hs.setStyles(this.td[c],d)}this.td[4].className=g+" highslide-outline";this.preloadGraphic()};hs.Outline.prototype={preloadGraphic:function(){var b=hs.graphicsDir+(hs.outlinesDir||"outlines/")+this.outlineType+".png";var a=hs.safari&&hs.uaVersion<525?hs.container:null;this.graphic=hs.createElement("img",null,{position:"absolute",top:"-9999px"},a,true);var c=this;this.graphic.onload=function(){c.onGraphicLoad()};this.graphic.src=b},onGraphicLoad:function(){var d=this.offset=this.graphic.width/4,f=[[0,0],[0,-4],[-2,0],[0,-8],0,[-2,-8],[0,-2],[0,-6],[-2,-2]],c={height:(2*d)+"px",width:(2*d)+"px"};for(var b=0;b<=8;b++){if(f[b]){if(this.hasAlphaImageLoader){var a=(b==1||b==7)?"100%":this.graphic.width+"px";var e=hs.createElement("div",null,{width:"100%",height:"100%",position:"relative",overflow:"hidden"},this.td[b],true);hs.createElement("div",null,{filter:"progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod=scale, src='"+this.graphic.src+"')",position:"absolute",width:a,height:this.graphic.height+"px",left:(f[b][0]*d)+"px",top:(f[b][1]*d)+"px"},e,true)}else{hs.setStyles(this.td[b],{background:"url("+this.graphic.src+") "+(f[b][0]*d)+"px "+(f[b][1]*d)+"px"})}if(window.opera&&(b==3||b==5)){hs.createElement("div",null,c,this.td[b],true)}hs.setStyles(this.td[b],c)}}this.graphic=null;if(hs.pendingOutlines[this.outlineType]){hs.pendingOutlines[this.outlineType].destroy()}hs.pendingOutlines[this.outlineType]=this;if(this.onLoad){this.onLoad()}},setPosition:function(g,e,c,b,f){var d=this.exp,a=d.wrapper.style,e=e||0,g=g||{x:d.x.pos+e,y:d.y.pos+e,w:d.x.get("wsize")-2*e,h:d.y.get("wsize")-2*e};if(c){this.table.style.visibility=(g.h>=4*this.offset)?"visible":"hidden"}hs.setStyles(this.table,{left:(g.x-this.offset)+"px",top:(g.y-this.offset)+"px",width:(g.w+2*this.offset)+"px"});g.w-=2*this.offset;g.h-=2*this.offset;hs.setStyles(this.td[4],{width:g.w>=0?g.w+"px":0,height:g.h>=0?g.h+"px":0});if(this.hasAlphaImageLoader){this.td[3].style.height=this.td[5].style.height=this.td[4].style.height}},destroy:function(a){if(a){this.table.style.visibility="hidden"}else{hs.discardElement(this.table)}}};hs.Dimension=function(b,a){this.exp=b;this.dim=a;this.ucwh=a=="x"?"Width":"Height";this.wh=this.ucwh.toLowerCase();this.uclt=a=="x"?"Left":"Top";this.lt=this.uclt.toLowerCase();this.ucrb=a=="x"?"Right":"Bottom";this.rb=this.ucrb.toLowerCase();this.p1=this.p2=0};hs.Dimension.prototype={get:function(a){switch(a){case"loadingPos":return this.tpos+this.tb+(this.t-hs.loading["offset"+this.ucwh])/2;case"loadingPosXfade":return this.pos+this.cb+this.p1+(this.size-hs.loading["offset"+this.ucwh])/2;case"wsize":return this.size+2*this.cb+this.p1+this.p2;case"fitsize":return this.clientSize-this.marginMin-this.marginMax;case"maxsize":return this.get("fitsize")-2*this.cb-this.p1-this.p2;case"opos":return this.pos-(this.exp.outline?this.exp.outline.offset:0);case"osize":return this.get("wsize")+(this.exp.outline?2*this.exp.outline.offset:0);case"imgPad":return this.imgSize?Math.round((this.size-this.imgSize)/2):0}},calcBorders:function(){this.cb=(this.exp.content["offset"+this.ucwh]-this.t)/2;this.marginMax=hs["margin"+this.ucrb]},calcThumb:function(){this.t=this.exp.el[this.wh]?parseInt(this.exp.el[this.wh]):this.exp.el["offset"+this.ucwh];this.tpos=this.exp.tpos[this.dim];this.tb=(this.exp.el["offset"+this.ucwh]-this.t)/2;if(this.tpos==0||this.tpos==-1){this.tpos=(hs.page[this.wh]/2)+hs.page["scroll"+this.uclt]}},calcExpanded:function(){var a=this.exp;this.justify="auto";if(a.align=="center"){this.justify="center"}else{if(new RegExp(this.lt).test(a.anchor)){this.justify=null}else{if(new RegExp(this.rb).test(a.anchor)){this.justify="max"}}}this.pos=this.tpos-this.cb+this.tb;if(this.maxHeight&&this.dim=="x"){a.maxWidth=Math.min(a.maxWidth||this.full,a.maxHeight*this.full/a.y.full)}this.size=Math.min(this.full,a["max"+this.ucwh]||this.full);this.minSize=a.allowSizeReduction?Math.min(a["min"+this.ucwh],this.full):this.full;if(a.isImage&&a.useBox){this.size=a[this.wh];this.imgSize=this.full}if(this.dim=="x"&&hs.padToMinWidth){this.minSize=a.minWidth}this.target=a["target"+this.dim.toUpperCase()];this.marginMin=hs["margin"+this.uclt];this.scroll=hs.page["scroll"+this.uclt];this.clientSize=hs.page[this.wh]},setSize:function(a){var b=this.exp;if(b.isImage&&(b.useBox||hs.padToMinWidth)){this.imgSize=a;this.size=Math.max(this.size,this.imgSize);b.content.style[this.lt]=this.get("imgPad")+"px"}else{this.size=a}b.content.style[this.wh]=a+"px";b.wrapper.style[this.wh]=this.get("wsize")+"px";if(b.outline){b.outline.setPosition()}if(this.dim=="x"&&b.overlayBox){b.sizeOverlayBox(true)}if(this.dim=="x"&&b.slideshow&&b.isImage){if(a==this.full){b.slideshow.disable("full-expand")}else{b.slideshow.enable("full-expand")}}},setPos:function(a){this.pos=a;this.exp.wrapper.style[this.lt]=a+"px";if(this.exp.outline){this.exp.outline.setPosition()}}};hs.Expander=function(k,f,b,l){if(document.readyState&&hs.ie&&!hs.isReady){hs.addEventListener(document,"ready",function(){new hs.Expander(k,f,b,l)});return}this.a=k;this.custom=b;this.contentType=l||"image";this.isImage=!this.isHtml;hs.continuePreloading=false;this.overlays=[];this.last=hs.last;hs.last=null;hs.init();var m=this.key=hs.expanders.length;for(var g=0;g<hs.overrides.length;g++){var c=hs.overrides[g];this[c]=f&&typeof f[c]!="undefined"?f[c]:hs[c]}if(!this.src){this.src=k.href}var d=(f&&f.thumbnailId)?hs.$(f.thumbnailId):k;d=this.thumb=d.getElementsByTagName("img")[0]||d;this.thumbsUserSetId=d.id||k.id;for(var g=0;g<hs.expanders.length;g++){if(hs.expanders[g]&&hs.expanders[g].a==k&&!(this.last&&this.transitions[1]=="crossfade")){hs.expanders[g].focus();return false}}if(!hs.allowSimultaneousLoading){for(var g=0;g<hs.expanders.length;g++){if(hs.expanders[g]&&hs.expanders[g].thumb!=d&&!hs.expanders[g].onLoadStarted){hs.expanders[g].cancelLoading()}}}hs.expanders[m]=this;if(!hs.allowMultipleInstances&&!hs.upcoming){if(hs.expanders[m-1]){hs.expanders[m-1].close()}if(typeof hs.focusKey!="undefined"&&hs.expanders[hs.focusKey]){hs.expanders[hs.focusKey].close()}}this.el=d;this.tpos=this.pageOrigin||hs.getPosition(d);hs.getPageSize();var j=this.x=new hs.Dimension(this,"x");j.calcThumb();var h=this.y=new hs.Dimension(this,"y");h.calcThumb();this.wrapper=hs.createElement("div",{id:"highslide-wrapper-"+this.key,className:"highslide-wrapper "+this.wrapperClassName},{visibility:"hidden",position:"absolute",zIndex:hs.zIndexCounter+=2},null,true);this.wrapper.onmouseover=this.wrapper.onmouseout=hs.wrapperMouseHandler;if(this.contentType=="image"&&this.outlineWhileAnimating==2){this.outlineWhileAnimating=0}if(!this.outlineType||(this.last&&this.isImage&&this.transitions[1]=="crossfade")){this[this.contentType+"Create"]()}else{if(hs.pendingOutlines[this.outlineType]){this.connectOutline();this[this.contentType+"Create"]()}else{this.showLoading();var e=this;new hs.Outline(this.outlineType,function(){e.connectOutline();e[e.contentType+"Create"]()})}}return true};hs.Expander.prototype={error:function(a){if(hs.debug){alert("Line "+a.lineNumber+": "+a.message)}else{window.location.href=this.src}},connectOutline:function(){var a=this.outline=hs.pendingOutlines[this.outlineType];a.exp=this;a.table.style.zIndex=this.wrapper.style.zIndex-1;hs.pendingOutlines[this.outlineType]=null},showLoading:function(){if(this.onLoadStarted||this.loading){return}this.loading=hs.loading;var c=this;this.loading.onclick=function(){c.cancelLoading()};var c=this,a=this.x.get("loadingPos")+"px",b=this.y.get("loadingPos")+"px";if(!d&&this.last&&this.transitions[1]=="crossfade"){var d=this.last}if(d){a=d.x.get("loadingPosXfade")+"px";b=d.y.get("loadingPosXfade")+"px";this.loading.style.zIndex=hs.zIndexCounter++}setTimeout(function(){if(c.loading){hs.setStyles(c.loading,{left:a,top:b,zIndex:hs.zIndexCounter++})}},100)},imageCreate:function(){var b=this;var a=document.createElement("img");this.content=a;a.onload=function(){if(hs.expanders[b.key]){b.contentLoaded()}};if(hs.blockRightClick){a.oncontextmenu=function(){return false}}a.className="highslide-image";hs.setStyles(a,{visibility:"hidden",display:"block",position:"absolute",maxWidth:"9999px",zIndex:3});a.title=hs.lang.restoreTitle;if(hs.safari&&hs.uaVersion<525){hs.container.appendChild(a)}if(hs.ie&&hs.flushImgSize){a.src=null}a.src=this.src;this.showLoading()},contentLoaded:function(){try{if(!this.content){return}this.content.onload=null;if(this.onLoadStarted){return}else{this.onLoadStarted=true}var j=this.x,g=this.y;if(this.loading){hs.setStyles(this.loading,{top:"-9999px"});this.loading=null}j.full=this.content.width;g.full=this.content.height;hs.setStyles(this.content,{width:j.t+"px",height:g.t+"px"});this.wrapper.appendChild(this.content);hs.container.appendChild(this.wrapper);j.calcBorders();g.calcBorders();hs.setStyles(this.wrapper,{left:(j.tpos+j.tb-j.cb)+"px",top:(g.tpos+j.tb-g.cb)+"px"});this.initSlideshow();this.getOverlays();var f=j.full/g.full;j.calcExpanded();this.justify(j);g.calcExpanded();this.justify(g);if(this.overlayBox){this.sizeOverlayBox(0,1)}if(this.allowSizeReduction){this.correctRatio(f);var k=this.slideshow;if(k&&this.last&&k.controls&&k.fixedControls){var h=k.overlayOptions.position||"",a;for(var c in hs.oPos){for(var b=0;b<5;b++){a=this[c];if(h.match(hs.oPos[c][b])){a.pos=this.last[c].pos+(this.last[c].p1-a.p1)+(this.last[c].size-a.size)*[0,0,0.5,1,1][b];if(k.fixedControls=="fit"){if(a.pos+a.size+a.p1+a.p2>a.scroll+a.clientSize-a.marginMax){a.pos=a.scroll+a.clientSize-a.size-a.marginMin-a.marginMax-a.p1-a.p2}if(a.pos<a.scroll+a.marginMin){a.pos=a.scroll+a.marginMin}}}}}}if(this.isImage&&this.x.full>(this.x.imgSize||this.x.size)){this.createFullExpand();if(this.overlays.length==1){this.sizeOverlayBox()}}}this.show()}catch(d){this.error(d)}},justify:function(f,b){var g,h=f.target,e=f==this.x?"x":"y";if(h&&h.match(/ /)){g=h.split(" ");h=g[0]}if(h&&hs.$(h)){f.pos=hs.getPosition(hs.$(h))[e];if(g&&g[1]&&g[1].match(/^[-]?[0-9]+px$/)){f.pos+=parseInt(g[1])}if(f.size<f.minSize){f.size=f.minSize}}else{if(f.justify=="auto"||f.justify=="center"){var d=false;var a=f.exp.allowSizeReduction;if(f.justify=="center"){f.pos=Math.round(f.scroll+(f.clientSize+f.marginMin-f.marginMax-f.get("wsize"))/2)}else{f.pos=Math.round(f.pos-((f.get("wsize")-f.t)/2))}if(f.pos<f.scroll+f.marginMin){f.pos=f.scroll+f.marginMin;d=true}if(!b&&f.size<f.minSize){f.size=f.minSize;a=false}if(f.pos+f.get("wsize")>f.scroll+f.clientSize-f.marginMax){if(!b&&d&&a){f.size=Math.min(f.size,f.get(e=="y"?"fitsize":"maxsize"))}else{if(f.get("wsize")<f.get("fitsize")){f.pos=f.scroll+f.clientSize-f.marginMax-f.get("wsize")}else{f.pos=f.scroll+f.marginMin;if(!b&&a){f.size=f.get(e=="y"?"fitsize":"maxsize")}}}}if(!b&&f.size<f.minSize){f.size=f.minSize;a=false}}else{if(f.justify=="max"){f.pos=Math.floor(f.pos-f.size+f.t)}}}if(f.pos<f.marginMin){var c=f.pos;f.pos=f.marginMin;if(a&&!b){f.size=f.size-(f.pos-c)}}},correctRatio:function(c){var a=this.x,g=this.y,e=false,d=Math.min(a.full,a.size),b=Math.min(g.full,g.size),f=(this.useBox||hs.padToMinWidth);if(d/b>c){d=b*c;if(d<a.minSize){d=a.minSize;b=d/c}e=true}else{if(d/b<c){b=d/c;e=true}}if(hs.padToMinWidth&&a.full<a.minSize){a.imgSize=a.full;g.size=g.imgSize=g.full}else{if(this.useBox){a.imgSize=d;g.imgSize=b}else{a.size=d;g.size=b}}e=this.fitOverlayBox(this.useBox?null:c,e);if(f&&g.size<g.imgSize){g.imgSize=g.size;a.imgSize=g.size*c}if(e||f){a.pos=a.tpos-a.cb+a.tb;a.minSize=a.size;this.justify(a,true);g.pos=g.tpos-g.cb+g.tb;g.minSize=g.size;this.justify(g,true);if(this.overlayBox){this.sizeOverlayBox()}}},fitOverlayBox:function(b,c){var a=this.x,d=this.y;if(this.overlayBox){while(d.size>this.minHeight&&a.size>this.minWidth&&d.get("wsize")>d.get("fitsize")){d.size-=10;if(b){a.size=d.size*b}this.sizeOverlayBox(0,1);c=true}}return c},show:function(){var a=this.x,b=this.y;this.doShowHide("hidden");if(this.slideshow&&this.slideshow.thumbstrip){this.slideshow.thumbstrip.selectThumb()}this.changeSize(1,{wrapper:{width:a.get("wsize"),height:b.get("wsize"),left:a.pos,top:b.pos},content:{left:a.p1+a.get("imgPad"),top:b.p1+b.get("imgPad"),width:a.imgSize||a.size,height:b.imgSize||b.size}},hs.expandDuration)},changeSize:function(d,i,b){var k=this.transitions,e=d?(this.last?this.last.a:null):hs.upcoming,j=(k[1]&&e&&hs.getParam(e,"transitions")[1]==k[1])?k[1]:k[0];if(this[j]&&j!="expand"){this[j](d,i);return}if(this.outline&&!this.outlineWhileAnimating){if(d){this.outline.setPosition()}else{this.outline.destroy()}}if(!d){this.destroyOverlays()}var c=this,h=c.x,g=c.y,f=this.easing;if(!d){f=this.easingClose||f}var a=d?function(){if(c.outline){c.outline.table.style.visibility="visible"}setTimeout(function(){c.afterExpand()},50)}:function(){c.afterClose()};if(d){hs.setStyles(this.wrapper,{width:h.t+"px",height:g.t+"px"})}if(this.fadeInOut){hs.setStyles(this.wrapper,{opacity:d?0:1});hs.extend(i.wrapper,{opacity:d})}hs.animate(this.wrapper,i.wrapper,{duration:b,easing:f,step:function(n,l){if(c.outline&&c.outlineWhileAnimating&&l.prop=="top"){var m=d?l.pos:1-l.pos;var o={w:h.t+(h.get("wsize")-h.t)*m,h:g.t+(g.get("wsize")-g.t)*m,x:h.tpos+(h.pos-h.tpos)*m,y:g.tpos+(g.pos-g.tpos)*m};c.outline.setPosition(o,0,1)}}});hs.animate(this.content,i.content,b,f,a);if(d){this.wrapper.style.visibility="visible";this.content.style.visibility="visible";this.a.className+=" highslide-active-anchor"}},fade:function(f,h){this.outlineWhileAnimating=false;var c=this,j=f?hs.expandDuration:0;if(f){hs.animate(this.wrapper,h.wrapper,0);hs.setStyles(this.wrapper,{opacity:0,visibility:"visible"});hs.animate(this.content,h.content,0);this.content.style.visibility="visible";hs.animate(this.wrapper,{opacity:1},j,null,function(){c.afterExpand()})}if(this.outline){this.outline.table.style.zIndex=this.wrapper.style.zIndex;var b=f||-1,d=this.outline.offset,a=f?3:d,g=f?d:3;for(var e=a;b*e<=b*g;e+=b,j+=25){(function(){var i=f?g-e:a-e;setTimeout(function(){c.outline.setPosition(0,i,1)},j)})()}}if(f){}else{setTimeout(function(){if(c.outline){c.outline.destroy(c.preserveContent)}c.destroyOverlays();hs.animate(c.wrapper,{opacity:0},hs.restoreDuration,null,function(){c.afterClose()})},j)}},crossfade:function(g,m,o){if(!g){return}var f=this,p=this.last,l=this.x,k=this.y,d=p.x,b=p.y,a=this.wrapper,i=this.content,c=this.overlayBox;hs.removeEventListener(document,"mousemove",hs.dragHandler);hs.setStyles(i,{width:(l.imgSize||l.size)+"px",height:(k.imgSize||k.size)+"px"});if(c){c.style.overflow="visible"}this.outline=p.outline;if(this.outline){this.outline.exp=f}p.outline=null;var h=hs.createElement("div",{className:"highslide-"+this.contentType},{position:"absolute",zIndex:4,overflow:"hidden",display:"none"});var j={oldImg:p,newImg:this};for(var e in j){this[e]=j[e].content.cloneNode(1);hs.setStyles(this[e],{position:"absolute",border:0,visibility:"visible"});h.appendChild(this[e])}a.appendChild(h);if(c){c.className="";a.appendChild(c)}h.style.display="";p.content.style.display="none";if(hs.safari&&hs.uaVersion<525){this.wrapper.style.visibility="visible"}hs.animate(a,{width:l.size},{duration:hs.transitionDuration,step:function(u,r){var x=r.pos,q=1-x;var w,s={},t=["pos","size","p1","p2"];for(var v in t){w=t[v];s["x"+w]=Math.round(q*d[w]+x*l[w]);s["y"+w]=Math.round(q*b[w]+x*k[w]);s.ximgSize=Math.round(q*(d.imgSize||d.size)+x*(l.imgSize||l.size));s.ximgPad=Math.round(q*d.get("imgPad")+x*l.get("imgPad"));s.yimgSize=Math.round(q*(b.imgSize||b.size)+x*(k.imgSize||k.size));s.yimgPad=Math.round(q*b.get("imgPad")+x*k.get("imgPad"))}if(f.outline){f.outline.setPosition({x:s.xpos,y:s.ypos,w:s.xsize+s.xp1+s.xp2+2*l.cb,h:s.ysize+s.yp1+s.yp2+2*k.cb})}p.wrapper.style.clip="rect("+(s.ypos-b.pos)+"px, "+(s.xsize+s.xp1+s.xp2+s.xpos+2*d.cb-d.pos)+"px, "+(s.ysize+s.yp1+s.yp2+s.ypos+2*b.cb-b.pos)+"px, "+(s.xpos-d.pos)+"px)";hs.setStyles(i,{top:(s.yp1+k.get("imgPad"))+"px",left:(s.xp1+l.get("imgPad"))+"px",marginTop:(k.pos-s.ypos)+"px",marginLeft:(l.pos-s.xpos)+"px"});hs.setStyles(a,{top:s.ypos+"px",left:s.xpos+"px",width:(s.xp1+s.xp2+s.xsize+2*l.cb)+"px",height:(s.yp1+s.yp2+s.ysize+2*k.cb)+"px"});hs.setStyles(h,{width:(s.ximgSize||s.xsize)+"px",height:(s.yimgSize||s.ysize)+"px",left:(s.xp1+s.ximgPad)+"px",top:(s.yp1+s.yimgPad)+"px",visibility:"visible"});hs.setStyles(f.oldImg,{top:(b.pos-s.ypos+b.p1-s.yp1+b.get("imgPad")-s.yimgPad)+"px",left:(d.pos-s.xpos+d.p1-s.xp1+d.get("imgPad")-s.ximgPad)+"px"});hs.setStyles(f.newImg,{opacity:x,top:(k.pos-s.ypos+k.p1-s.yp1+k.get("imgPad")-s.yimgPad)+"px",left:(l.pos-s.xpos+l.p1-s.xp1+l.get("imgPad")-s.ximgPad)+"px"});if(c){hs.setStyles(c,{width:s.xsize+"px",height:s.ysize+"px",left:(s.xp1+l.cb)+"px",top:(s.yp1+k.cb)+"px"})}},complete:function(){a.style.visibility=i.style.visibility="visible";i.style.display="block";hs.discardElement(h);f.afterExpand();p.afterClose();f.last=null}})},reuseOverlay:function(d,c){if(!this.last){return false}for(var b=0;b<this.last.overlays.length;b++){var a=hs.$("hsId"+this.last.overlays[b]);if(a&&a.hsId==d.hsId){this.genOverlayBox();a.reuse=this.key;hs.push(this.overlays,this.last.overlays[b]);return true}}return false},afterExpand:function(){this.isExpanded=true;this.focus();if(this.dimmingOpacity){hs.dim(this)}if(hs.upcoming&&hs.upcoming==this.a){hs.upcoming=null}this.prepareNextOutline();var c=hs.page,b=hs.mouse.x+c.scrollLeft,a=hs.mouse.y+c.scrollTop;this.mouseIsOver=this.x.pos<b&&b<this.x.pos+this.x.get("wsize")&&this.y.pos<a&&a<this.y.pos+this.y.get("wsize");if(this.overlayBox){this.showOverlays()}},prepareNextOutline:function(){var a=this.key;var b=this.outlineType;new hs.Outline(b,function(){try{hs.expanders[a].preloadNext()}catch(c){}})},preloadNext:function(){var b=this.getAdjacentAnchor(1);if(b&&b.onclick.toString().match(/hs\.expand/)){var a=hs.createElement("img",{src:hs.getSrc(b)})}},getAdjacentAnchor:function(c){var b=this.getAnchorIndex(),a=hs.anchors.groups[this.slideshowGroup||"none"];if(a&&!a[b+c]&&this.slideshow&&this.slideshow.repeat){if(c==1){return a[0]}else{if(c==-1){return a[a.length-1]}}}return(a&&a[b+c])||null},getAnchorIndex:function(){var a=hs.getAnchors().groups[this.slideshowGroup||"none"];if(a){for(var b=0;b<a.length;b++){if(a[b]==this.a){return b}}}return null},getNumber:function(){if(this[this.numberPosition]){var a=hs.anchors.groups[this.slideshowGroup||"none"];if(a){var b=hs.lang.number.replace("%1",this.getAnchorIndex()+1).replace("%2",a.length);this[this.numberPosition].innerHTML='<div class="highslide-number">'+b+"</div>"+this[this.numberPosition].innerHTML}}},initSlideshow:function(){if(!this.last){for(var c=0;c<hs.slideshows.length;c++){var b=hs.slideshows[c],d=b.slideshowGroup;if(typeof d=="undefined"||d===null||d===this.slideshowGroup){this.slideshow=new hs.Slideshow(this.key,b)}}}else{this.slideshow=this.last.slideshow}var b=this.slideshow;if(!b){return}var a=b.expKey=this.key;b.checkFirstAndLast();b.disable("full-expand");if(b.controls){this.createOverlay(hs.extend(b.overlayOptions||{},{overlayId:b.controls,hsId:"controls",zIndex:5}))}if(b.thumbstrip){b.thumbstrip.add(this)}if(!this.last&&this.autoplay){b.play(true)}if(b.autoplay){b.autoplay=setTimeout(function(){hs.next(a)},(b.interval||500))}},cancelLoading:function(){hs.discardElement(this.wrapper);hs.expanders[this.key]=null;if(hs.upcoming==this.a){hs.upcoming=null}hs.undim(this.key);if(this.loading){hs.loading.style.left="-9999px"}},writeCredits:function(){if(this.credits){return}this.credits=hs.createElement("a",{href:hs.creditsHref,target:hs.creditsTarget,className:"highslide-credits",innerHTML:hs.lang.creditsText,title:hs.lang.creditsTitle});this.createOverlay({overlayId:this.credits,position:this.creditsPosition||"top left",hsId:"credits"})},getInline:function(types,addOverlay){for(var i=0;i<types.length;i++){var type=types[i],s=null;if(!this[type+"Id"]&&this.thumbsUserSetId){this[type+"Id"]=type+"-for-"+this.thumbsUserSetId}if(this[type+"Id"]){this[type]=hs.getNode(this[type+"Id"])}if(!this[type]&&!this[type+"Text"]&&this[type+"Eval"]){try{s=eval(this[type+"Eval"])}catch(e){}}if(!this[type]&&this[type+"Text"]){s=this[type+"Text"]}if(!this[type]&&!s){this[type]=hs.getNode(this.a["_"+type+"Id"]);if(!this[type]){var next=this.a.nextSibling;while(next&&!hs.isHsAnchor(next)){if((new RegExp("highslide-"+type)).test(next.className||null)){if(!next.id){this.a["_"+type+"Id"]=next.id="hsId"+hs.idCounter++}this[type]=hs.getNode(next.id);break}next=next.nextSibling}}}if(!this[type]&&!s&&this.numberPosition==type){s="\n"}if(!this[type]&&s){this[type]=hs.createElement("div",{className:"highslide-"+type,innerHTML:s})}if(addOverlay&&this[type]){var o={position:(type=="heading")?"above":"below"};for(var x in this[type+"Overlay"]){o[x]=this[type+"Overlay"][x]}o.overlayId=this[type];this.createOverlay(o)}}},doShowHide:function(a){if(hs.hideSelects){this.showHideElements("SELECT",a)}if(hs.hideIframes){this.showHideElements("IFRAME",a)}if(hs.geckoMac){this.showHideElements("*",a)}},showHideElements:function(c,b){var e=document.getElementsByTagName(c);var a=c=="*"?"overflow":"visibility";for(var f=0;f<e.length;f++){if(a=="visibility"||(document.defaultView.getComputedStyle(e[f],"").getPropertyValue("overflow")=="auto"||e[f].getAttribute("hidden-by")!=null)){var h=e[f].getAttribute("hidden-by");if(b=="visible"&&h){h=h.replace("["+this.key+"]","");e[f].setAttribute("hidden-by",h);if(!h){e[f].style[a]=e[f].origProp}}else{if(b=="hidden"){var k=hs.getPosition(e[f]);k.w=e[f].offsetWidth;k.h=e[f].offsetHeight;if(!this.dimmingOpacity){var j=(k.x+k.w<this.x.get("opos")||k.x>this.x.get("opos")+this.x.get("osize"));var g=(k.y+k.h<this.y.get("opos")||k.y>this.y.get("opos")+this.y.get("osize"))}var d=hs.getWrapperKey(e[f]);if(!j&&!g&&d!=this.key){if(!h){e[f].setAttribute("hidden-by","["+this.key+"]");e[f].origProp=e[f].style[a];e[f].style[a]="hidden"}else{if(h.indexOf("["+this.key+"]")==-1){e[f].setAttribute("hidden-by",h+"["+this.key+"]")}}}else{if((h=="["+this.key+"]"||hs.focusKey==d)&&d!=this.key){e[f].setAttribute("hidden-by","");e[f].style[a]=e[f].origProp||""}else{if(h&&h.indexOf("["+this.key+"]")>-1){e[f].setAttribute("hidden-by",h.replace("["+this.key+"]",""))}}}}}}}},focus:function(){this.wrapper.style.zIndex=hs.zIndexCounter+=2;for(var a=0;a<hs.expanders.length;a++){if(hs.expanders[a]&&a==hs.focusKey){var b=hs.expanders[a];b.content.className+=" highslide-"+b.contentType+"-blur";b.content.style.cursor=hs.ieLt7?"hand":"pointer";b.content.title=hs.lang.focusTitle}}if(this.outline){this.outline.table.style.zIndex=this.wrapper.style.zIndex-1}this.content.className="highslide-"+this.contentType;this.content.title=hs.lang.restoreTitle;if(hs.restoreCursor){hs.styleRestoreCursor=window.opera?"pointer":"url("+hs.graphicsDir+hs.restoreCursor+"), pointer";if(hs.ieLt7&&hs.uaVersion<6){hs.styleRestoreCursor="hand"}this.content.style.cursor=hs.styleRestoreCursor}hs.focusKey=this.key;hs.addEventListener(document,window.opera?"keypress":"keydown",hs.keyHandler)},moveTo:function(a,b){this.x.setPos(a);this.y.setPos(b)},resize:function(d){var a,b,c=d.width/d.height;a=Math.max(d.width+d.dX,Math.min(this.minWidth,this.x.full));if(this.isImage&&Math.abs(a-this.x.full)<12){a=this.x.full}b=a/c;if(b<Math.min(this.minHeight,this.y.full)){b=Math.min(this.minHeight,this.y.full);if(this.isImage){a=b*c}}this.resizeTo(a,b)},resizeTo:function(a,b){this.y.setSize(b);this.x.setSize(a);this.wrapper.style.height=this.y.get("wsize")+"px"},close:function(){if(this.isClosing||!this.isExpanded){return}if(this.transitions[1]=="crossfade"&&hs.upcoming){hs.getExpander(hs.upcoming).cancelLoading();hs.upcoming=null}this.isClosing=true;if(this.slideshow&&!hs.upcoming){this.slideshow.pause()}hs.removeEventListener(document,window.opera?"keypress":"keydown",hs.keyHandler);try{this.content.style.cursor="default";this.changeSize(0,{wrapper:{width:this.x.t,height:this.y.t,left:this.x.tpos-this.x.cb+this.x.tb,top:this.y.tpos-this.y.cb+this.y.tb},content:{left:0,top:0,width:this.x.t,height:this.y.t}},hs.restoreDuration)}catch(a){this.afterClose()}},createOverlay:function(e){var d=e.overlayId,a=(e.relativeTo=="viewport"&&!/panel$/.test(e.position));if(typeof d=="string"){d=hs.getNode(d)}if(e.html){d=hs.createElement("div",{innerHTML:e.html})}if(!d||typeof d=="string"){return}d.style.display="block";e.hsId=e.hsId||e.overlayId;if(this.transitions[1]=="crossfade"&&this.reuseOverlay(e,d)){return}this.genOverlayBox();var c=e.width&&/^[0-9]+(px|%)$/.test(e.width)?e.width:"auto";if(/^(left|right)panel$/.test(e.position)&&!/^[0-9]+px$/.test(e.width)){c="200px"}var b=hs.createElement("div",{id:"hsId"+hs.idCounter++,hsId:e.hsId},{position:"absolute",visibility:"hidden",width:c,direction:hs.lang.cssDirection||"",opacity:0},a?hs.viewport:this.overlayBox,true);if(a){b.hsKey=this.key}b.appendChild(d);hs.extend(b,{opacity:1,offsetX:0,offsetY:0,dur:(e.fade===0||e.fade===false||(e.fade==2&&hs.ie))?0:250});hs.extend(b,e);if(this.gotOverlays){this.positionOverlay(b);if(!b.hideOnMouseOut||this.mouseIsOver){hs.animate(b,{opacity:b.opacity},b.dur)}}hs.push(this.overlays,hs.idCounter-1)},positionOverlay:function(e){var f=e.position||"middle center",c=(e.relativeTo=="viewport"),b=e.offsetX,a=e.offsetY;if(c){hs.viewport.style.display="block";e.hsKey=this.key;if(e.offsetWidth>e.parentNode.offsetWidth){e.style.width="100%"}}else{if(e.parentNode!=this.overlayBox){this.overlayBox.appendChild(e)}}if(/left$/.test(f)){e.style.left=b+"px"}if(/center$/.test(f)){hs.setStyles(e,{left:"50%",marginLeft:(b-Math.round(e.offsetWidth/2))+"px"})}if(/right$/.test(f)){e.style.right=-b+"px"}if(/^leftpanel$/.test(f)){hs.setStyles(e,{right:"100%",marginRight:this.x.cb+"px",top:-this.y.cb+"px",bottom:-this.y.cb+"px",overflow:"auto"});this.x.p1=e.offsetWidth}else{if(/^rightpanel$/.test(f)){hs.setStyles(e,{left:"100%",marginLeft:this.x.cb+"px",top:-this.y.cb+"px",bottom:-this.y.cb+"px",overflow:"auto"});this.x.p2=e.offsetWidth}}var d=e.parentNode.offsetHeight;e.style.height="auto";if(c&&e.offsetHeight>d){e.style.height=hs.ieLt7?d+"px":"100%"}if(/^top/.test(f)){e.style.top=a+"px"}if(/^middle/.test(f)){hs.setStyles(e,{top:"50%",marginTop:(a-Math.round(e.offsetHeight/2))+"px"})}if(/^bottom/.test(f)){e.style.bottom=-a+"px"}if(/^above$/.test(f)){hs.setStyles(e,{left:(-this.x.p1-this.x.cb)+"px",right:(-this.x.p2-this.x.cb)+"px",bottom:"100%",marginBottom:this.y.cb+"px",width:"auto"});this.y.p1=e.offsetHeight}else{if(/^below$/.test(f)){hs.setStyles(e,{position:"relative",left:(-this.x.p1-this.x.cb)+"px",right:(-this.x.p2-this.x.cb)+"px",top:"100%",marginTop:this.y.cb+"px",width:"auto"});this.y.p2=e.offsetHeight;e.style.position="absolute"}}},getOverlays:function(){this.getInline(["heading","caption"],true);this.getNumber();if(this.heading&&this.dragByHeading){this.heading.className+=" highslide-move"}if(hs.showCredits){this.writeCredits()}for(var a=0;a<hs.overlays.length;a++){var d=hs.overlays[a],e=d.thumbnailId,b=d.slideshowGroup;if((!e&&!b)||(e&&e==this.thumbsUserSetId)||(b&&b===this.slideshowGroup)){this.createOverlay(d)}}var c=[];for(var a=0;a<this.overlays.length;a++){var d=hs.$("hsId"+this.overlays[a]);if(/panel$/.test(d.position)){this.positionOverlay(d)}else{hs.push(c,d)}}for(var a=0;a<c.length;a++){this.positionOverlay(c[a])}this.gotOverlays=true},genOverlayBox:function(){if(!this.overlayBox){this.overlayBox=hs.createElement("div",{className:this.wrapperClassName},{position:"absolute",width:(this.x.size||(this.useBox?this.width:null)||this.x.full)+"px",height:(this.y.size||this.y.full)+"px",visibility:"hidden",overflow:"hidden",zIndex:hs.ie?4:"auto"},hs.container,true)}},sizeOverlayBox:function(f,d){var c=this.overlayBox,a=this.x,h=this.y;hs.setStyles(c,{width:a.size+"px",height:h.size+"px"});if(f||d){for(var e=0;e<this.overlays.length;e++){var g=hs.$("hsId"+this.overlays[e]);var b=(hs.ieLt7||document.compatMode=="BackCompat");if(g&&/^(above|below)$/.test(g.position)){if(b){g.style.width=(c.offsetWidth+2*a.cb+a.p1+a.p2)+"px"}h[g.position=="above"?"p1":"p2"]=g.offsetHeight}if(g&&b&&/^(left|right)panel$/.test(g.position)){g.style.height=(c.offsetHeight+2*h.cb)+"px"}}}if(f){hs.setStyles(this.content,{top:h.p1+"px"});hs.setStyles(c,{top:(h.p1+h.cb)+"px"})}},showOverlays:function(){var a=this.overlayBox;a.className="";hs.setStyles(a,{top:(this.y.p1+this.y.cb)+"px",left:(this.x.p1+this.x.cb)+"px",overflow:"visible"});if(hs.safari){a.style.visibility="visible"}this.wrapper.appendChild(a);for(var c=0;c<this.overlays.length;c++){var d=hs.$("hsId"+this.overlays[c]);d.style.zIndex=d.zIndex||4;if(!d.hideOnMouseOut||this.mouseIsOver){d.style.visibility="visible";hs.setStyles(d,{visibility:"visible",display:""});hs.animate(d,{opacity:d.opacity},d.dur)}}},destroyOverlays:function(){if(!this.overlays.length){return}if(this.slideshow){var d=this.slideshow.controls;if(d&&hs.getExpander(d)==this){d.parentNode.removeChild(d)}}for(var a=0;a<this.overlays.length;a++){var b=hs.$("hsId"+this.overlays[a]);if(b&&b.parentNode==hs.viewport&&hs.getExpander(b)==this){hs.discardElement(b)}}hs.discardElement(this.overlayBox)},createFullExpand:function(){if(this.slideshow&&this.slideshow.controls){this.slideshow.enable("full-expand");return}this.fullExpandLabel=hs.createElement("a",{href:"javascript:hs.expanders["+this.key+"].doFullExpand();",title:hs.lang.fullExpandTitle,className:"highslide-full-expand"});this.createOverlay({overlayId:this.fullExpandLabel,position:hs.fullExpandPosition,hideOnMouseOut:true,opacity:hs.fullExpandOpacity})},doFullExpand:function(){try{if(this.fullExpandLabel){hs.discardElement(this.fullExpandLabel)}this.focus();var b=this.x.size;this.resizeTo(this.x.full,this.y.full);var a=this.x.pos-(this.x.size-b)/2;if(a<hs.marginLeft){a=hs.marginLeft}this.moveTo(a,this.y.pos);this.doShowHide("hidden")}catch(c){this.error(c)}},afterClose:function(){this.a.className=this.a.className.replace("highslide-active-anchor","");this.doShowHide("visible");if(this.outline&&this.outlineWhileAnimating){this.outline.destroy()}hs.discardElement(this.wrapper);this.destroyOverlays();if(!hs.viewport.childNodes.length){hs.viewport.style.display="none"}if(this.dimmingOpacity){hs.undim(this.key)}hs.expanders[this.key]=null;hs.reOrder()}};hs.Slideshow=function(c,b){if(hs.dynamicallyUpdateAnchors!==false){hs.updateAnchors()}this.expKey=c;for(var a in b){this[a]=b[a]}if(this.useControls){this.getControls()}if(this.thumbstrip){this.thumbstrip=hs.Thumbstrip(this)}};hs.Slideshow.prototype={getControls:function(){this.controls=hs.createElement("div",{innerHTML:hs.replaceLang(hs.skin.controls)},null,hs.container);var b=["play","pause","previous","next","move","full-expand","close"];this.btn={};var c=this;for(var a=0;a<b.length;a++){this.btn[b[a]]=hs.getElementByClass(this.controls,"li","highslide-"+b[a]);this.enable(b[a])}this.btn.pause.style.display="none"},checkFirstAndLast:function(){if(this.repeat||!this.controls){return}var c=hs.expanders[this.expKey],b=c.getAnchorIndex(),a=/disabled$/;if(b==0){this.disable("previous")}else{if(a.test(this.btn.previous.getElementsByTagName("a")[0].className)){this.enable("previous")}}if(b+1==hs.anchors.groups[c.slideshowGroup||"none"].length){this.disable("next");this.disable("play")}else{if(a.test(this.btn.next.getElementsByTagName("a")[0].className)){this.enable("next");this.enable("play")}}},enable:function(d){if(!this.btn){return}var c=this,b=this.btn[d].getElementsByTagName("a")[0],e=/disabled$/;b.onclick=function(){c[d]();return false};if(e.test(b.className)){b.className=b.className.replace(e,"")}},disable:function(c){if(!this.btn){return}var b=this.btn[c].getElementsByTagName("a")[0];b.onclick=function(){return false};if(!/disabled$/.test(b.className)){b.className+=" disabled"}},hitSpace:function(){if(this.autoplay){this.pause()}else{this.play()}},play:function(a){if(this.btn){this.btn.play.style.display="none";this.btn.pause.style.display=""}this.autoplay=true;if(!a){hs.next(this.expKey)}},pause:function(){if(this.btn){this.btn.pause.style.display="none";this.btn.play.style.display=""}clearTimeout(this.autoplay);this.autoplay=null},previous:function(){this.pause();hs.previous(this.btn.previous)},next:function(){this.pause();hs.next(this.btn.next)},move:function(){},"full-expand":function(){hs.getExpander().doFullExpand()},close:function(){hs.close(this.btn.close)}};hs.Thumbstrip=function(k){function p(i){hs.extend(f||{},{overlayId:r,hsId:"thumbstrip",className:"highslide-thumbstrip-"+m+"-overlay "+(f.className||"")});if(hs.ieLt7){f.fade=0}i.createOverlay(f);hs.setStyles(r.parentNode,{overflow:"hidden"})}function c(i){d(undefined,Math.round(i*r[h?"offsetWidth":"offsetHeight"]*0.7))}function d(L,M){if(L===undefined){for(var K=0;K<j.length;K++){if(j[K]==hs.expanders[k.expKey].a){L=K;break}}}if(L===undefined){return}var G=r.getElementsByTagName("a"),z=G[L],w=z.parentNode,y=h?"Left":"Top",N=h?"Right":"Bottom",I=h?"Width":"Height",B="offset"+y,H="offset"+I,x=n.parentNode.parentNode[H],F=x-s[H],v=parseInt(s.style[h?"left":"top"])||0,C=v,D=20;if(M!==undefined){C=v-M;if(F>0){F=0}if(C>0){C=0}if(C<F){C=F}}else{for(var K=0;K<G.length;K++){G[K].className=""}z.className="highslide-active-anchor";var J=L>0?G[L-1].parentNode[B]:w[B],A=w[B]+w[H]+(G[L+1]?G[L+1].parentNode[H]:0);if(A>x-v){C=x-A}else{if(J<-v){C=-J}}}var E=w[B]+(w[H]-g[H])/2+C;hs.animate(s,h?{left:C}:{top:C},null,"easeOutQuad");hs.animate(g,h?{left:E}:{top:E},null,"easeOutQuad");l.style.display=C<0?"block":"none";t.style.display=(C>F)?"block":"none"}var j=hs.anchors.groups[hs.expanders[k.expKey].slideshowGroup||"none"],f=k.thumbstrip,m=f.mode||"horizontal",u=(m=="float"),o=u?["div","ul","li","span"]:["table","tbody","tr","td"],h=(m=="horizontal"),r=hs.createElement("div",{className:"highslide-thumbstrip highslide-thumbstrip-"+m,innerHTML:'<div class="highslide-thumbstrip-inner"><'+o[0]+"><"+o[1]+"></"+o[1]+"></"+o[0]+'></div><div class="highslide-scroll-up"><div></div></div><div class="highslide-scroll-down"><div></div></div><div class="highslide-marker"><div></div></div>'},{display:"none"},hs.container),e=r.childNodes,n=e[0],l=e[1],t=e[2],g=e[3],s=n.firstChild,a=r.getElementsByTagName(o[1])[0],b;for(var q=0;q<j.length;q++){if(q==0||!h){b=hs.createElement(o[2],null,null,a)}(function(){var v=j[q],i=hs.createElement(o[3],null,null,b),w=q;hs.createElement("a",{href:v.href,onclick:function(){if(/highslide-active-anchor/.test(this.className)){return false}hs.getExpander(this).focus();return hs.transit(v)},innerHTML:hs.stripItemFormatter?hs.stripItemFormatter(v):v.innerHTML},null,i)})()}if(!u){l.onclick=function(){c(-1)};t.onclick=function(){c(1)};hs.addEventListener(a,document.onmousewheel!==undefined?"mousewheel":"DOMMouseScroll",function(i){var v=0;i=i||window.event;if(i.wheelDelta){v=i.wheelDelta/120;if(hs.opera){v=-v}}else{if(i.detail){v=-i.detail/3}}if(v){c(-v*0.2)}if(i.preventDefault){i.preventDefault()}i.returnValue=false})}return{add:p,selectThumb:d}};hs.langDefaults=hs.lang;var HsExpander=hs.Expander;if(hs.ie&&window==window.top){(function(){try{document.documentElement.doScroll("left")}catch(a){setTimeout(arguments.callee,50);return}hs.ready()})()}hs.addEventListener(document,"DOMContentLoaded",hs.ready);hs.addEventListener(window,"load",hs.ready);hs.addEventListener(document,"ready",function(){if(hs.expandCursor||hs.dimmingOpacity){var c=hs.createElement("style",{type:"text/css"},null,document.getElementsByTagName("HEAD")[0]);function b(e,f){if(hs.ie&&hs.uaVersion<9){var d=document.styleSheets[document.styleSheets.length-1];if(typeof(d.addRule)=="object"){d.addRule(e,f)}}else{c.appendChild(document.createTextNode(e+" {"+f+"}"))}}function a(d){return"expression( ( ( ignoreMe = document.documentElement."+d+" ? document.documentElement."+d+" : document.body."+d+" ) ) + 'px' );"}if(hs.expandCursor){b(".highslide img","cursor: url("+hs.graphicsDir+hs.expandCursor+"), pointer !important;")}b(".highslide-viewport-size",hs.ie&&(hs.uaVersion<7||document.compatMode=="BackCompat")?"position: absolute; left:"+a("scrollLeft")+"top:"+a("scrollTop")+"width:"+a("clientWidth")+"height:"+a("clientHeight"):"position: fixed; width: 100%; height: 100%; left: 0; top: 0")}});hs.addEventListener(window,"resize",function(){hs.getPageSize();if(hs.viewport){for(var a=0;a<hs.viewport.childNodes.length;a++){var b=hs.viewport.childNodes[a],c=hs.getExpander(b);c.positionOverlay(b);if(b.hsId=="thumbstrip"){c.slideshow.thumbstrip.selectThumb()}}}});hs.addEventListener(document,"mousemove",function(a){hs.mouse={x:a.clientX,y:a.clientY}});hs.addEventListener(document,"mousedown",hs.mouseClickHandler);hs.addEventListener(document,"mouseup",hs.mouseClickHandler);hs.addEventListener(document,"ready",hs.getAnchors);hs.addEventListener(window,"load",hs.preloadImages)};
@@ -1,9 +0,0 @@
1
- /**
2
- * Name: Highslide JS
3
- * Version: 4.1.12 (2011-03-28)
4
- * Config: default +slideshow +positioning +transitions +viewport +thumbstrip +packed
5
- * Author: Torstein Hønsi
6
- * Support: www.highslide.com/support
7
- * License: www.highslide.com/#license
8
- */
9
- eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('q(!m){u m={18:{9w:\'8G\',8L:\'be...\',8H:\'8n 1M bh\',aG:\'8n 1M b7 1M b5\',7o:\'b4 1M b9 B (f)\',ae:\'b1 by <i>9V 9U</i>\',af:\'b8 1M bd 9V 9U bc\',9c:\'9L\',aO:\'9M\',aR:\'9W\',aN:\'9O\',aS:\'9O (bl)\',bk:\'bj\',9B:\'9J\',9d:\'9J 1g (9K)\',ac:\'9I\',9D:\'9I 1g (9K)\',98:\'9L (80 11)\',aq:\'9M (80 2M)\',aQ:\'9W\',aT:\'1:1\',3k:\'bV %1 bL %2\',7V:\'8n 1M 1V 2T, bM a8 bK 1M 3i. bG 80 bH K 1o a8 31.\'},4r:\'L/bI/\',5X:\'bN.4F\',57:\'bO.4F\',7q:4Z,6Z:4Z,4m:15,9s:15,6F:15,9y:15,4n:bT,8M:0.75,8C:J,6K:5,3N:2,bU:3,4L:1e,9h:\'3O 2M\',9m:1,9A:J,ah:\'bP://L.bo/\',ag:\'bp\',93:J,87:[\'a\'],3a:[],ar:4Z,3s:0,7Y:50,3I:\'2n\',8l:\'2n\',aH:H,aI:H,79:J,4X:9a,54:9a,4U:J,1A:\'bv-bw\',9i:{2C:\'<W 2o="L-2C"><7K>\'+\'<1U 2o="L-31">\'+\'<a 26="#" 2r="{m.18.98}">\'+\'<21>{m.18.9c}</21></a>\'+\'</1U>\'+\'<1U 2o="L-3d">\'+\'<a 26="#" 2r="{m.18.9d}">\'+\'<21>{m.18.9B}</21></a>\'+\'</1U>\'+\'<1U 2o="L-2P">\'+\'<a 26="#" 2r="{m.18.9D}">\'+\'<21>{m.18.ac}</21></a>\'+\'</1U>\'+\'<1U 2o="L-1o">\'+\'<a 26="#" 2r="{m.18.aq}">\'+\'<21>{m.18.aO}</21></a>\'+\'</1U>\'+\'<1U 2o="L-3i">\'+\'<a 26="#" 2r="{m.18.aQ}">\'+\'<21>{m.18.aR}</21></a>\'+\'</1U>\'+\'<1U 2o="L-19-2D">\'+\'<a 26="#" 2r="{m.18.7o}">\'+\'<21>{m.18.aT}</21></a>\'+\'</1U>\'+\'<1U 2o="L-1V">\'+\'<a 26="#" 2r="{m.18.aS}" >\'+\'<21>{m.18.aN}</21></a>\'+\'</1U>\'+\'</7K></W>\'},5t:[],7x:J,V:[],7a:[\'4U\',\'35\',\'3I\',\'8l\',\'aH\',\'aI\',\'1A\',\'3N\',\'bq\',\'bs\',\'bt\',\'at\',\'bQ\',\'bR\',\'bS\',\'aA\',\'aj\',\'79\',\'3w\',\'4K\',\'3a\',\'3s\',\'M\',\'1c\',\'7b\',\'4X\',\'54\',\'5F\',\'8b\',\'8r\',\'2m\',\'2t\',\'aP\',\'aK\',\'1H\'],1y:[],52:0,73:{x:[\'9r\',\'11\',\'3Q\',\'2M\',\'9x\'],y:[\'5b\',\'14\',\'88\',\'3O\',\'6A\']},6g:{},aA:{},at:{},3u:[],59:[],3S:{},74:{},5R:[],2g:/b3\\/4\\.0/.1a(5k.6c)?8:7N((5k.6c.6q().2U(/.+(?:8U|ba|bf|2y)[\\/: ]([\\d.]+)/)||[0,\'0\'])[1]),2y:(U.5q&&!1D.3b),4o:/bi/.1a(5k.6c),5I:/aZ.+8U:1\\.[0-8].+bn/.1a(5k.6c),$:z(1N){q(1N)D U.bF(1N)},2u:z(2s,3f){2s[2s.S]=3f},1b:z(8R,4H,3D,8k,8I){u C=U.1b(8R);q(4H)m.30(C,4H);q(8I)m.Y(C,{br:0,ai:\'1G\',83:0});q(3D)m.Y(C,3D);q(8k)8k.2z(C);D C},30:z(C,4H){K(u x 2J 4H)C[x]=4H[x];D C},Y:z(C,3D){K(u x 2J 3D){q(m.4l&&x==\'1k\'){q(3D[x]>0.99)C.G.bC(\'5w\');I C.G.5w=\'8W(1k=\'+(3D[x]*2a)+\')\'}I C.G[x]=3D[x]}},23:z(C,X,2Z){u 4e,4C,3T;q(1s 2Z!=\'6j\'||2Z===H){u 2W=9H;2Z={3J:2W[2],2t:2W[3],60:2W[4]}}q(1s 2Z.3J!=\'3k\')2Z.3J=4Z;2Z.2t=1d[2Z.2t]||1d.8N;2Z.5K=m.30({},X);K(u 2Y 2J X){u e=22 m.1F(C,2Z,2Y);4e=7N(m.76(C,2Y))||0;4C=7N(X[2Y]);3T=2Y!=\'1k\'?\'F\':\'\';e.3C(4e,4C,3T)}},76:z(C,X){q(C.G[X]){D C.G[X]}I q(U.7R){D U.7R.aW(C,H).aX(X)}I{q(X==\'1k\')X=\'5w\';u 3f=C.bD[X.2c(/\\-(\\w)/g,z(a,b){D b.8T()})];q(X==\'5w\')3f=3f.2c(/8W\\(1k=([0-9]+)\\)/,z(a,b){D b/2a});D 3f===\'\'?1:3f}},64:z(){u d=U,w=1D,53=d.66&&d.66!=\'7w\'?d.4h:d.61;u M=m.4l?53.7u:(d.4h.7u||5C.bA),1c=m.4l?53.9T:5C.bx;m.47={M:M,1c:1c,5i:m.4l?53.5i:bz,5s:m.4l?53.5s:bB};D m.47},5z:z(C){u p={x:C.45,y:C.8u};4i(C.8B){C=C.8B;p.x+=C.45;p.y+=C.8u;q(C!=U.61&&C!=U.4h){p.x-=C.5i;p.y-=C.5s}}D p},2D:z(a,2N,3C,R){q(!a)a=m.1b(\'a\',H,{1u:\'1G\'},m.24);q(1s a.5v==\'z\')D 2N;1X{22 m.5f(a,2N,3C);D 1e}1Y(e){D J}},9j:z(C,4B,T){u 1i=C.2S(4B);K(u i=0;i<1i.S;i++){q((22 5E(T)).1a(1i[i].T)){D 1i[i]}}D H},9k:z(s){s=s.2c(/\\s/g,\' \');u 1S=/{m\\.18\\.([^}]+)\\}/g,4O=s.2U(1S),18;q(4O)K(u i=0;i<4O.S;i++){18=4O[i].2c(1S,"$1");q(1s m.18[18]!=\'1C\')s=s.2c(4O[i],m.18[18])}D s},96:z(){u 7l=0,5A=-1,V=m.V,A,1r;K(u i=0;i<V.S;i++){A=V[i];q(A){1r=A.Q.G.1r;q(1r&&1r>7l){7l=1r;5A=i}}}q(5A==-1)m.3F=-1;I V[5A].41()},4P:z(a,5u){a.5v=a.2x;u p=a.5v?a.5v():H;a.5v=H;D(p&&1s p[5u]!=\'1C\')?p[5u]:(1s m[5u]!=\'1C\'?m[5u]:H)},6U:z(a){u 1H=m.4P(a,\'1H\');q(1H)D 1H;D a.26},4R:z(1N){u 3E=m.$(1N),3U=m.74[1N],a={};q(!3E&&!3U)D H;q(!3U){3U=3E.7i(J);3U.1N=\'\';m.74[1N]=3U;D 3E}I{D 3U.7i(J)}},3L:z(d){q(d)m.78.2z(d);m.78.2V=\'\'},1n:z(A){q(!m.2i){7I=J;m.2i=m.1b(\'W\',{T:\'L-bu L-29-B\',4u:\'\',2x:z(){m.1V()}},{1f:\'1B\',1k:0},m.24,J)}m.2i.G.1u=\'\';u 7I=m.2i.4u==\'\';m.2i.4u+=\'|\'+A.P;q(7I){q(m.5I&&m.8w)m.Y(m.2i,{8E:\'5Z(\'+m.4r+\'bE.94)\',1k:1});I m.23(m.2i,{1k:A.3s},m.7Y)}},7c:z(P){q(!m.2i)D;q(1s P!=\'1C\')m.2i.4u=m.2i.4u.2c(\'|\'+P,\'\');q((1s P!=\'1C\'&&m.2i.4u!=\'\')||(m.1R&&m.4P(m.1R,\'3s\')))D;q(m.5I&&m.8w)m.2i.G.1u=\'1G\';I m.23(m.2i,{1k:0},m.7Y,H,z(){m.2i.G.1u=\'1G\'})},82:z(5T,A){u Z=A||m.2f();A=Z;q(m.1R)D 1e;I m.Z=Z;m.46(U,1D.3b?\'5N\':\'5O\',m.56);1X{m.1R=5T;5T.2x()}1Y(e){m.Z=m.1R=H}1X{q(!5T||A.3a[1]!=\'3Y\')A.1V()}1Y(e){}D 1e},5G:z(C,1P){u A=m.2f(C);q(A)D m.82(A.6V(1P),A);I D 1e},31:z(C){D m.5G(C,-1)},1o:z(C){D m.5G(C,1)},56:z(e){q(!e)e=1D.1W;q(!e.2d)e.2d=e.7C;q(1s e.2d.8x!=\'1C\')D J;u A=m.2f();u 1P=H;8Q(e.bJ){1I 70:q(A)A.6E();D J;1I 32:1P=2;5e;1I 34:1I 39:1I 40:1P=1;5e;1I 8:1I 33:1I 37:1I 38:1P=-1;5e;1I 27:1I 13:1P=0}q(1P!==H){m.46(U,1D.3b?\'5N\':\'5O\',m.56);q(!m.93)D J;q(e.4w)e.4w();I e.9N=1e;q(A){q(1P==0){A.1V()}I q(1P==2){q(A.1g)A.1g.a3()}I{q(A.1g)A.1g.2P();m.5G(A.P,1P)}D 1e}}D J},b0:z(O){m.2u(m.1y,m.30(O,{1E:\'1E\'+m.52++}))},b6:z(1h){u 2B=1h.2m;q(1s 2B==\'6j\'){K(u i=0;i<2B.S;i++){u o={};K(u x 2J 1h)o[x]=1h[x];o.2m=2B[i];m.2u(m.59,o)}}I{m.2u(m.59,1h)}},7M:z(71,6h){u C,1S=/^L-Q-([0-9]+)$/;C=71;4i(C.1O){q(C.6r!==1C)D C.6r;q(C.1N&&1S.1a(C.1N))D C.1N.2c(1S,"$1");C=C.1O}q(!6h){C=71;4i(C.1O){q(C.4B&&m.6m(C)){K(u P=0;P<m.V.S;P++){u A=m.V[P];q(A&&A.a==C)D P}}C=C.1O}}D H},2f:z(C,6h){q(1s C==\'1C\')D m.V[m.3F]||H;q(1s C==\'3k\')D m.V[C]||H;q(1s C==\'6S\')C=m.$(C);D m.V[m.7M(C,6h)]||H},6m:z(a){D(a.2x&&a.2x.av().2c(/\\s/g,\' \').2U(/m.(bm|e)b2/))},9n:z(){K(u i=0;i<m.V.S;i++)q(m.V[i]&&m.V[i].5a)m.96()},7n:z(e){q(!e)e=1D.1W;q(e.bb>1)D J;q(!e.2d)e.2d=e.7C;u C=e.2d;4i(C.1O&&!(/L-(2T|3i|6G|4b)/.1a(C.T))){C=C.1O}u A=m.2f(C);q(A&&(A.89||!A.5a))D J;q(A&&e.R==\'9S\'){q(e.2d.8x)D J;u 2U=C.T.2U(/L-(2T|3i|4b)/);q(2U){m.2K={A:A,R:2U[1],11:A.x.E,M:A.x.B,14:A.y.E,1c:A.y.B,8q:e.5D,8t:e.5V};m.28(U,\'6i\',m.5W);q(e.4w)e.4w();q(/L-(2T|6G)-7X/.1a(A.17.T)){A.41();m.7U=J}D 1e}}I q(e.R==\'9Q\'){m.46(U,\'6i\',m.5W);q(m.2K){q(m.4k&&m.2K.R==\'2T\')m.2K.A.17.G.4f=m.4k;u 3H=m.2K.3H;q(!3H&&!m.7U&&!/(3i|4b)/.1a(m.2K.R)){A.1V()}I q(3H||(!3H&&m.bg)){m.2K.A.5c(\'1q\')}m.7U=1e;m.2K=H}I q(/L-2T-7X/.1a(C.T)){C.G.4f=m.4k}}D 1e},5W:z(e){q(!m.2K)D J;q(!e)e=1D.1W;u a=m.2K,A=a.A;a.5U=e.5D-a.8q;a.7r=e.5V-a.8t;u 7k=1d.c5(1d.8D(a.5U,2)+1d.8D(a.7r,2));q(!a.3H)a.3H=(a.R!=\'2T\'&&7k>0)||(7k>(m.cU||5));q(a.3H&&e.5D>5&&e.5V>5){q(a.R==\'4b\')A.4b(a);I{A.7D(a.11+a.5U,a.14+a.7r);q(a.R==\'2T\')A.17.G.4f=\'3i\'}}D 1e},8V:z(e){1X{q(!e)e=1D.1W;u 62=/cT/i.1a(e.R);q(!e.2d)e.2d=e.7C;q(!e.65)e.65=62?e.cS:e.cV;u A=m.2f(e.2d);q(!A.5a)D;q(!A||!e.65||m.2f(e.65,J)==A||m.2K)D;K(u i=0;i<A.1y.S;i++)(z(){u o=m.$(\'1E\'+A.1y[i]);q(o&&o.6z){q(62)m.Y(o,{1f:\'1B\',1u:\'\'});m.23(o,{1k:62?o.1k:0},o.3A)}})()}1Y(e){}},28:z(C,1W,3n){q(C==U&&1W==\'3x\'){m.2u(m.5R,3n)}1X{C.28(1W,3n,1e)}1Y(e){1X{C.92(\'5d\'+1W,3n);C.cW(\'5d\'+1W,3n)}1Y(e){C[\'5d\'+1W]=3n}}},46:z(C,1W,3n){1X{C.46(1W,3n,1e)}1Y(e){1X{C.92(\'5d\'+1W,3n)}1Y(e){C[\'5d\'+1W]=H}}},6l:z(i){q(m.7x&&m.5t[i]&&m.5t[i]!=\'1C\'){u 1x=U.1b(\'1x\');1x.6f=z(){1x=H;m.6l(i+1)};1x.1H=m.5t[i]}},aY:z(3k){q(3k&&1s 3k!=\'6j\')m.6K=3k;u 2s=m.5Q();K(u i=0;i<2s.4A.S&&i<m.6K;i++){m.2u(m.5t,m.6U(2s.4A[i]))}q(m.1A)22 m.4N(m.1A,z(){m.6l(0)});I m.6l(0);q(m.57)u 4F=m.1b(\'1x\',{1H:m.4r+m.57})},8f:z(){q(!m.24){m.3z=m.2y&&m.2g<7;m.4l=m.2y&&m.2g<9;m.64();K(u x 2J m.6b){q(1s m[x]!=\'1C\')m.18[x]=m[x];I q(1s m.18[x]==\'1C\'&&1s m.6b[x]!=\'1C\')m.18[x]=m.6b[x]}m.24=m.1b(\'W\',{T:\'L-24\'},{1j:\'2k\',11:0,14:0,M:\'2a%\',1r:m.4n,9v:\'8G\'},U.61,J);m.1Q=m.1b(\'a\',{T:\'L-1Q\',2r:m.18.8H,2V:m.18.8L,26:\'9g:;\'},{1j:\'2k\',14:\'-55\',1k:m.8M,1r:1},m.24);m.78=m.1b(\'W\',H,{1u:\'1G\'},m.24);m.29=m.1b(\'W\',{T:\'L-29 L-29-B\'},{1f:(m.4o&&m.2g<6k)?\'1B\':\'1q\'},m.24,1);1d.cZ=z(t,b,c,d){D c*t/d+b};1d.8N=z(t,b,c,d){D c*(t/=d)*t+b};1d.7Q=z(t,b,c,d){D-c*(t/=d)*(t-2)+b};m.am=m.3z;m.aE=((1D.3b&&m.2g<9)||5k.cY==\'cX\'||(m.3z&&m.2g<5.5))}},3x:z(){q(m.7P)D;m.7P=J;K(u i=0;i<m.5R.S;i++)m.5R[i]()},6P:z(){u C,1i,5q=[],4A=[],2Q={},1S;K(u i=0;i<m.87.S;i++){1i=U.2S(m.87[i]);K(u j=0;j<1i.S;j++){C=1i[j];1S=m.6m(C);q(1S){m.2u(5q,C);q(1S[0]==\'m.2D\')m.2u(4A,C);u g=m.4P(C,\'2m\')||\'1G\';q(!2Q[g])2Q[g]=[];m.2u(2Q[g],C)}}}m.49={5q:5q,2Q:2Q,4A:4A};D m.49},5Q:z(){D m.49||m.6P()},1V:z(C){u A=m.2f(C);q(A)A.1V();D 1e}};m.1F=z(2F,1h,X){k.1h=1h;k.2F=2F;k.X=X;q(!1h.8K)1h.8K={}};m.1F.5l={7f:z(){(m.1F.3g[k.X]||m.1F.3g.91)(k);q(k.1h.3g)k.1h.3g.95(k.2F,k.3W,k)},3C:z(7d,1M,3T){k.7z=(22 8z()).8p();k.4e=7d;k.4C=1M;k.3T=3T;k.3W=k.4e;k.E=k.7h=0;u 5C=k;z t(5L){D 5C.3g(5L)}t.2F=k.2F;q(t()&&m.3u.2u(t)==1){m.8s=cR(z(){u 3u=m.3u;K(u i=0;i<3u.S;i++)q(!3u[i]())3u.d1(i--,1);q(!3u.S){cM(m.8s)}},13)}},3g:z(5L){u t=(22 8z()).8p();q(5L||t>=k.1h.3J+k.7z){k.3W=k.4C;k.E=k.7h=1;k.7f();k.1h.5K[k.X]=J;u 7H=J;K(u i 2J k.1h.5K)q(k.1h.5K[i]!==J)7H=1e;q(7H){q(k.1h.60)k.1h.60.95(k.2F)}D 1e}I{u n=t-k.7z;k.7h=n/k.1h.3J;k.E=k.1h.2t(n,0,1,k.1h.3J);k.3W=k.4e+((k.4C-k.4e)*k.E);k.7f()}D J}};m.30(m.1F,{3g:{1k:z(1F){m.Y(1F.2F,{1k:1F.3W})},91:z(1F){1X{q(1F.2F.G&&1F.2F.G[1F.X]!=H)1F.2F.G[1F.X]=1F.3W+1F.3T;I 1F.2F[1F.X]=1F.3W}1Y(e){}}}});m.4N=z(1A,3V){k.3V=3V;k.1A=1A;u v=m.2g,3B;k.6J=m.2y&&m.2g<7;q(!1A){q(3V)3V();D}m.8f();k.1T=m.1b(\'1T\',{cO:0},{1f:\'1q\',1j:\'2k\',cN:\'d0\',M:0},m.24,J);u 4d=m.1b(\'4d\',H,H,k.1T,1);k.2b=[];K(u i=0;i<=8;i++){q(i%3==0)3B=m.1b(\'3B\',H,{1c:\'2n\'},4d,J);k.2b[i]=m.1b(\'2b\',H,H,3B,J);u G=i!=4?{d9:0,dc:0}:{1j:\'72\'};m.Y(k.2b[i],G)}k.2b[4].T=1A+\' L-16\';k.8S()};m.4N.5l={8S:z(){u 1H=m.4r+(m.dd||"de/")+k.1A+".94";u 8F=m.4o&&m.2g<6k?m.24:H;k.3l=m.1b(\'1x\',H,{1j:\'2k\',14:\'-55\'},8F,J);u 7Z=k;k.3l.6f=z(){7Z.8A()};k.3l.1H=1H},8A:z(){u o=k.1m=k.3l.M/4,E=[[0,0],[0,-4],[-2,0],[0,-8],0,[-2,-8],[0,-2],[0,-6],[-2,-2]],1n={1c:(2*o)+\'F\',M:(2*o)+\'F\'};K(u i=0;i<=8;i++){q(E[i]){q(k.6J){u w=(i==1||i==7)?\'2a%\':k.3l.M+\'F\';u W=m.1b(\'W\',H,{M:\'2a%\',1c:\'2a%\',1j:\'72\',2X:\'1q\'},k.2b[i],J);m.1b(\'W\',H,{5w:"dg:db.d5.d7(da=d8, 1H=\'"+k.3l.1H+"\')",1j:\'2k\',M:w,1c:k.3l.1c+\'F\',11:(E[i][0]*o)+\'F\',14:(E[i][1]*o)+\'F\'},W,J)}I{m.Y(k.2b[i],{8E:\'5Z(\'+k.3l.1H+\') \'+(E[i][0]*o)+\'F \'+(E[i][1]*o)+\'F\'})}q(1D.3b&&(i==3||i==5))m.1b(\'W\',H,1n,k.2b[i],J);m.Y(k.2b[i],1n)}}k.3l=H;q(m.3S[k.1A])m.3S[k.1A].5h();m.3S[k.1A]=k;q(k.3V)k.3V()},42:z(E,1m,90,3A,2t){u A=k.A,d6=A.Q.G,1m=1m||0,E=E||{x:A.x.E+1m,y:A.y.E+1m,w:A.x.N(\'1L\')-2*1m,h:A.y.N(\'1L\')-2*1m};q(90)k.1T.G.1f=(E.h>=4*k.1m)?\'1B\':\'1q\';m.Y(k.1T,{11:(E.x-k.1m)+\'F\',14:(E.y-k.1m)+\'F\',M:(E.w+2*k.1m)+\'F\'});E.w-=2*k.1m;E.h-=2*k.1m;m.Y(k.2b[4],{M:E.w>=0?E.w+\'F\':0,1c:E.h>=0?E.h+\'F\':0});q(k.6J)k.2b[3].G.1c=k.2b[5].G.1c=k.2b[4].G.1c},5h:z(8J){q(8J)k.1T.G.1f=\'1q\';I m.3L(k.1T)}};m.5S=z(A,1n){k.A=A;k.1n=1n;k.3c=1n==\'x\'?\'aa\':\'ab\';k.3G=k.3c.6q();k.51=1n==\'x\'?\'9Y\':\'9Z\';k.6u=k.51.6q();k.6X=1n==\'x\'?\'a4\':\'a5\';k.8O=k.6X.6q();k.1p=k.2A=0};m.5S.5l={N:z(P){8Q(P){1I\'8h\':D k.1K+k.3h+(k.t-m.1Q[\'1m\'+k.3c])/2;1I\'8i\':D k.E+k.cb+k.1p+(k.B-m.1Q[\'1m\'+k.3c])/2;1I\'1L\':D k.B+2*k.cb+k.1p+k.2A;1I\'4q\':D k.3R-k.2R-k.43;1I\'6R\':D k.N(\'4q\')-2*k.cb-k.1p-k.2A;1I\'4Y\':D k.E-(k.A.16?k.A.16.1m:0);1I\'7L\':D k.N(\'1L\')+(k.A.16?2*k.A.16.1m:0);1I\'2e\':D k.1z?1d.2G((k.B-k.1z)/2):0}},6Y:z(){k.cb=(k.A.17[\'1m\'+k.3c]-k.t)/2;k.43=m[\'83\'+k.6X]},84:z(){k.t=k.A.C[k.3G]?6N(k.A.C[k.3G]):k.A.C[\'1m\'+k.3c];k.1K=k.A.1K[k.1n];k.3h=(k.A.C[\'1m\'+k.3c]-k.t)/2;q(k.1K==0||k.1K==-1){k.1K=(m.47[k.3G]/2)+m.47[\'1J\'+k.51]}},6W:z(){u A=k.A;k.2w=\'2n\';q(A.8l==\'3Q\')k.2w=\'3Q\';I q(22 5E(k.6u).1a(A.3I))k.2w=H;I q(22 5E(k.8O).1a(A.3I))k.2w=\'4W\';k.E=k.1K-k.cb+k.3h;q(k.8b&&k.1n==\'x\')A.5F=1d.36(A.5F||k.19,A.8b*k.19/A.y.19);k.B=1d.36(k.19,A[\'4W\'+k.3c]||k.19);k.2v=A.4U?1d.36(A[\'36\'+k.3c],k.19):k.19;q(A.3M&&A.35){k.B=A[k.3G];k.1z=k.19}q(k.1n==\'x\'&&m.4L)k.2v=A.4X;k.2d=A[\'2d\'+k.1n.8T()];k.2R=m[\'83\'+k.51];k.1J=m.47[\'1J\'+k.51];k.3R=m.47[k.3G]},8d:z(i){u A=k.A;q(A.3M&&(A.35||m.4L)){k.1z=i;k.B=1d.4W(k.B,k.1z);A.17.G[k.6u]=k.N(\'2e\')+\'F\'}I k.B=i;A.17.G[k.3G]=i+\'F\';A.Q.G[k.3G]=k.N(\'1L\')+\'F\';q(A.16)A.16.42();q(k.1n==\'x\'&&A.1l)A.4s(J);q(k.1n==\'x\'&&A.1g&&A.3M){q(i==k.19)A.1g.4y(\'19-2D\');I A.1g.3X(\'19-2D\')}},7J:z(i){k.E=i;k.A.Q.G[k.6u]=i+\'F\';q(k.A.16)k.A.16.42()}};m.5f=z(a,2N,3C,2I){q(U.d2&&m.2y&&!m.7P){m.28(U,\'3x\',z(){22 m.5f(a,2N,3C,2I)});D}k.a=a;k.3C=3C;k.2I=2I||\'2T\';k.3M=!k.d3;m.7x=1e;k.1y=[];k.Z=m.Z;m.Z=H;m.8f();u P=k.P=m.V.S;K(u i=0;i<m.7a.S;i++){u 2Y=m.7a[i];k[2Y]=2N&&1s 2N[2Y]!=\'1C\'?2N[2Y]:m[2Y]}q(!k.1H)k.1H=a.26;u C=(2N&&2N.6H)?m.$(2N.6H):a;C=k.8v=C.2S(\'1x\')[0]||C;k.6C=C.1N||a.1N;K(u i=0;i<m.V.S;i++){q(m.V[i]&&m.V[i].a==a&&!(k.Z&&k.3a[1]==\'3Y\')){m.V[i].41();D 1e}}q(!m.d4)K(u i=0;i<m.V.S;i++){q(m.V[i]&&m.V[i].8v!=C&&!m.V[i].6e){m.V[i].5M()}}m.V[P]=k;q(!m.8C&&!m.1R){q(m.V[P-1])m.V[P-1].1V();q(1s m.3F!=\'1C\'&&m.V[m.3F])m.V[m.3F].1V()}k.C=C;k.1K=k.8r||m.5z(C);m.64();u x=k.x=22 m.5S(k,\'x\');x.84();u y=k.y=22 m.5S(k,\'y\');y.84();k.Q=m.1b(\'W\',{1N:\'L-Q-\'+k.P,T:\'L-Q \'+k.7b},{1f:\'1q\',1j:\'2k\',1r:m.4n+=2},H,J);k.Q.df=k.Q.cL=m.8V;q(k.2I==\'2T\'&&k.3N==2)k.3N=0;q(!k.1A||(k.Z&&k.3M&&k.3a[1]==\'3Y\')){k[k.2I+\'7T\']()}I q(m.3S[k.1A]){k.85();k[k.2I+\'7T\']()}I{k.8o();u A=k;22 m.4N(k.1A,z(){A.85();A[A.2I+\'7T\']()})}D J};m.5f.5l={7v:z(e){q(m.cG)cd(\'cc \'+e.cH+\': \'+e.ca);I 1D.ce.26=k.1H},85:z(){u 16=k.16=m.3S[k.1A];16.A=k;16.1T.G.1r=k.Q.G.1r-1;m.3S[k.1A]=H},8o:z(){q(k.6e||k.1Q)D;k.1Q=m.1Q;u A=k;k.1Q.2x=z(){A.5M()};u A=k,l=k.x.N(\'8h\')+\'F\',t=k.y.N(\'8h\')+\'F\';q(!2p&&k.Z&&k.3a[1]==\'3Y\')u 2p=k.Z;q(2p){l=2p.x.N(\'8i\')+\'F\';t=2p.y.N(\'8i\')+\'F\';k.1Q.G.1r=m.4n++}4p(z(){q(A.1Q)m.Y(A.1Q,{11:l,14:t,1r:m.4n++})},2a)},ci:z(){u A=k;u 1x=U.1b(\'1x\');k.17=1x;1x.6f=z(){q(m.V[A.P])A.8Z()};q(m.ch)1x.cg=z(){D 1e};1x.T=\'L-2T\';m.Y(1x,{1f:\'1q\',1u:\'4x\',1j:\'2k\',5F:\'55\',1r:3});1x.2r=m.18.7V;q(m.4o&&m.2g<6k)m.24.2z(1x);q(m.2y&&m.c8)1x.1H=H;1x.1H=k.1H;k.8o()},8Z:z(){1X{q(!k.17)D;k.17.6f=H;q(k.6e)D;I k.6e=J;u x=k.x,y=k.y;q(k.1Q){m.Y(k.1Q,{14:\'-55\'});k.1Q=H}x.19=k.17.M;y.19=k.17.1c;m.Y(k.17,{M:x.t+\'F\',1c:y.t+\'F\'});k.Q.2z(k.17);m.24.2z(k.Q);x.6Y();y.6Y();m.Y(k.Q,{11:(x.1K+x.3h-x.cb)+\'F\',14:(y.1K+x.3h-y.cb)+\'F\'});k.az();k.9E();u 2q=x.19/y.19;x.6W();k.2w(x);y.6W();k.2w(y);q(k.1l)k.4s(0,1);q(k.4U){k.8Y(2q);u 1t=k.1g;q(1t&&k.Z&&1t.2C&&1t.8P){u E=1t.aB.1j||\'\',p;K(u 1n 2J m.73)K(u i=0;i<5;i++){p=k[1n];q(E.2U(m.73[1n][i])){p.E=k.Z[1n].E+(k.Z[1n].1p-p.1p)+(k.Z[1n].B-p.B)*[0,0,.5,1,1][i];q(1t.8P==\'c7\'){q(p.E+p.B+p.1p+p.2A>p.1J+p.3R-p.43)p.E=p.1J+p.3R-p.B-p.2R-p.43-p.1p-p.2A;q(p.E<p.1J+p.2R)p.E=p.1J+p.2R}}}}q(k.3M&&k.x.19>(k.x.1z||k.x.B)){k.9b();q(k.1y.S==1)k.4s()}}k.9e()}1Y(e){k.7v(e)}},2w:z(p,4I){u 3P,2p=p.2d,1n=p==k.x?\'x\':\'y\';q(2p&&2p.2U(/ /)){3P=2p.c0(\' \');2p=3P[0]}q(2p&&m.$(2p)){p.E=m.5z(m.$(2p))[1n];q(3P&&3P[1]&&3P[1].2U(/^[-]?[0-9]+F$/))p.E+=6N(3P[1]);q(p.B<p.2v)p.B=p.2v}I q(p.2w==\'2n\'||p.2w==\'3Q\'){u 6L=1e;u 4D=p.A.4U;q(p.2w==\'3Q\')p.E=1d.2G(p.1J+(p.3R+p.2R-p.43-p.N(\'1L\'))/2);I p.E=1d.2G(p.E-((p.N(\'1L\')-p.t)/2));q(p.E<p.1J+p.2R){p.E=p.1J+p.2R;6L=J}q(!4I&&p.B<p.2v){p.B=p.2v;4D=1e}q(p.E+p.N(\'1L\')>p.1J+p.3R-p.43){q(!4I&&6L&&4D){p.B=1d.36(p.B,p.N(1n==\'y\'?\'4q\':\'6R\'))}I q(p.N(\'1L\')<p.N(\'4q\')){p.E=p.1J+p.3R-p.43-p.N(\'1L\')}I{p.E=p.1J+p.2R;q(!4I&&4D)p.B=p.N(1n==\'y\'?\'4q\':\'6R\')}}q(!4I&&p.B<p.2v){p.B=p.2v;4D=1e}}I q(p.2w==\'4W\'){p.E=1d.bZ(p.E-p.B+p.t)}q(p.E<p.2R){u 8X=p.E;p.E=p.2R;q(4D&&!4I)p.B=p.B-(p.E-8X)}},8Y:z(2q){u x=k.x,y=k.y,3o=1e,2E=1d.36(x.19,x.B),3r=1d.36(y.19,y.B),35=(k.35||m.4L);q(2E/3r>2q){ 2E=3r*2q;q(2E<x.2v){2E=x.2v;3r=2E/2q}3o=J}I q(2E/3r<2q){ 3r=2E/2q;3o=J}q(m.4L&&x.19<x.2v){x.1z=x.19;y.B=y.1z=y.19}I q(k.35){x.1z=2E;y.1z=3r}I{x.B=2E;y.B=3r}3o=k.8y(k.35?H:2q,3o);q(35&&y.B<y.1z){y.1z=y.B;x.1z=y.B*2q}q(3o||35){x.E=x.1K-x.cb+x.3h;x.2v=x.B;k.2w(x,J);y.E=y.1K-y.cb+y.3h;y.2v=y.B;k.2w(y,J);q(k.1l)k.4s()}},8y:z(2q,3o){u x=k.x,y=k.y;q(k.1l){4i(y.B>k.54&&x.B>k.4X&&y.N(\'1L\')>y.N(\'4q\')){y.B-=10;q(2q)x.B=y.B*2q;k.4s(0,1);3o=J}}D 3o},9e:z(){u x=k.x,y=k.y;k.5c(\'1q\');q(k.1g&&k.1g.2h)k.1g.2h.4z();k.7y(1,{Q:{M:x.N(\'1L\'),1c:y.N(\'1L\'),11:x.E,14:y.E},17:{11:x.1p+x.N(\'2e\'),14:y.1p+y.N(\'2e\'),M:x.1z||x.B,1c:y.1z||y.B}},m.7q)},7y:z(1w,1M,3A){u 4T=k.3a,7m=1w?(k.Z?k.Z.a:H):m.1R,t=(4T[1]&&7m&&m.4P(7m,\'3a\')[1]==4T[1])?4T[1]:4T[0];q(k[t]&&t!=\'2D\'){k[t](1w,1M);D}q(k.16&&!k.3N){q(1w)k.16.42();I k.16.5h()}q(!1w)k.6B();u A=k,x=A.x,y=A.y,2t=k.2t;q(!1w)2t=k.aP||2t;u aF=1w?z(){q(A.16)A.16.1T.G.1f="1B";4p(z(){A.6a()},50)}:z(){A.5j()};q(1w)m.Y(k.Q,{M:x.t+\'F\',1c:y.t+\'F\'});q(k.aK){m.Y(k.Q,{1k:1w?0:1});m.30(1M.Q,{1k:1w})}m.23(k.Q,1M.Q,{3J:3A,2t:2t,3g:z(3f,2W){q(A.16&&A.3N&&2W.X==\'14\'){u 4J=1w?2W.E:1-2W.E;u E={w:x.t+(x.N(\'1L\')-x.t)*4J,h:y.t+(y.N(\'1L\')-y.t)*4J,x:x.1K+(x.E-x.1K)*4J,y:y.1K+(y.E-y.1K)*4J};A.16.42(E,0,1)}}});m.23(k.17,1M.17,3A,2t,aF);q(1w){k.Q.G.1f=\'1B\';k.17.G.1f=\'1B\';k.a.T+=\' L-48-3I\'}},5n:z(1w,1M){k.3N=1e;u A=k,t=1w?m.7q:0;q(1w){m.23(k.Q,1M.Q,0);m.Y(k.Q,{1k:0,1f:\'1B\'});m.23(k.17,1M.17,0);k.17.G.1f=\'1B\';m.23(k.Q,{1k:1},t,H,z(){A.6a()})}q(k.16){k.16.1T.G.1r=k.Q.G.1r;u 5H=1w||-1,1m=k.16.1m,7e=1w?3:1m,7j=1w?1m:3;K(u i=7e;5H*i<=5H*7j;i+=5H,t+=25){(z(){u o=1w?7j-i:7e-i;4p(z(){A.16.42(0,o,1)},t)})()}}q(1w){}I{4p(z(){q(A.16)A.16.5h(A.bX);A.6B();m.23(A.Q,{1k:0},m.6Z,H,z(){A.5j()})},t)}},3Y:z(1w,1M,7d){q(!1w)D;u A=k,Z=k.Z,x=k.x,y=k.y,2O=Z.x,2L=Z.y,Q=k.Q,17=k.17,1l=k.1l;m.46(U,\'6i\',m.5W);m.Y(17,{M:(x.1z||x.B)+\'F\',1c:(y.1z||y.B)+\'F\'});q(1l)1l.G.2X=\'1B\';k.16=Z.16;q(k.16)k.16.A=A;Z.16=H;u 4v=m.1b(\'W\',{T:\'L-\'+k.2I},{1j:\'2k\',1r:4,2X:\'1q\',1u:\'1G\'});u 7g={ay:Z,au:k};K(u n 2J 7g){k[n]=7g[n].17.7i(1);m.Y(k[n],{1j:\'2k\',ai:0,1f:\'1B\'});4v.2z(k[n])}Q.2z(4v);q(1l){1l.T=\'\';Q.2z(1l)}4v.G.1u=\'\';Z.17.G.1u=\'1G\';q(m.4o&&m.2g<6k){k.Q.G.1f=\'1B\'}m.23(Q,{M:x.B},{3J:m.ar,3g:z(3f,2W){u E=2W.E,4c=1-E;u X,B={},7B=[\'E\',\'B\',\'1p\',\'2A\'];K(u n 2J 7B){X=7B[n];B[\'x\'+X]=1d.2G(4c*2O[X]+E*x[X]);B[\'y\'+X]=1d.2G(4c*2L[X]+E*y[X]);B.aC=1d.2G(4c*(2O.1z||2O.B)+E*(x.1z||x.B));B.63=1d.2G(4c*2O.N(\'2e\')+E*x.N(\'2e\'));B.aD=1d.2G(4c*(2L.1z||2L.B)+E*(y.1z||y.B));B.68=1d.2G(4c*2L.N(\'2e\')+E*y.N(\'2e\'))}q(A.16)A.16.42({x:B.2H,y:B.44,w:B.4V+B.3t+B.7F+2*x.cb,h:B.4S+B.3v+B.7A+2*y.cb});Z.Q.G.c1=\'c2(\'+(B.44-2L.E)+\'F, \'+(B.4V+B.3t+B.7F+B.2H+2*2O.cb-2O.E)+\'F, \'+(B.4S+B.3v+B.7A+B.44+2*2L.cb-2L.E)+\'F, \'+(B.2H-2O.E)+\'F)\';m.Y(17,{14:(B.3v+y.N(\'2e\'))+\'F\',11:(B.3t+x.N(\'2e\'))+\'F\',6F:(y.E-B.44)+\'F\',4m:(x.E-B.2H)+\'F\'});m.Y(Q,{14:B.44+\'F\',11:B.2H+\'F\',M:(B.3t+B.7F+B.4V+2*x.cb)+\'F\',1c:(B.3v+B.7A+B.4S+2*y.cb)+\'F\'});m.Y(4v,{M:(B.aC||B.4V)+\'F\',1c:(B.aD||B.4S)+\'F\',11:(B.3t+B.63)+\'F\',14:(B.3v+B.68)+\'F\',1f:\'1B\'});m.Y(A.ay,{14:(2L.E-B.44+2L.1p-B.3v+2L.N(\'2e\')-B.68)+\'F\',11:(2O.E-B.2H+2O.1p-B.3t+2O.N(\'2e\')-B.63)+\'F\'});m.Y(A.au,{1k:E,14:(y.E-B.44+y.1p-B.3v+y.N(\'2e\')-B.68)+\'F\',11:(x.E-B.2H+x.1p-B.3t+x.N(\'2e\')-B.63)+\'F\'});q(1l)m.Y(1l,{M:B.4V+\'F\',1c:B.4S+\'F\',11:(B.3t+x.cb)+\'F\',14:(B.3v+y.cb)+\'F\'})},60:z(){Q.G.1f=17.G.1f=\'1B\';17.G.1u=\'4x\';m.3L(4v);A.6a();Z.5j();A.Z=H}})},97:z(o,C){q(!k.Z)D 1e;K(u i=0;i<k.Z.1y.S;i++){u 69=m.$(\'1E\'+k.Z.1y[i]);q(69&&69.1E==o.1E){k.6Q();69.c6=k.P;m.2u(k.1y,k.Z.1y[i]);D J}}D 1e},6a:z(){k.5a=J;k.41();q(k.3s)m.1n(k);q(m.1R&&m.1R==k.a)m.1R=H;k.ax();u p=m.47,6O=m.6g.x+p.5i,6M=m.6g.y+p.5s;k.7p=k.x.E<6O&&6O<k.x.E+k.x.N(\'1L\')&&k.y.E<6M&&6M<k.y.E+k.y.N(\'1L\');q(k.1l)k.9f()},ax:z(){u P=k.P;u 1A=k.1A;22 m.4N(1A,z(){1X{m.V[P].aw()}1Y(e){}})},aw:z(){u 1o=k.6V(1);q(1o&&1o.2x.av().2U(/m\\.2D/))u 1x=m.1b(\'1x\',{1H:m.6U(1o)})},6V:z(1P){u 77=k.6s(),as=m.49.2Q[k.2m||\'1G\'];q(as&&!as[77+1P]&&k.1g&&k.1g.9G){q(1P==1)D as[0];I q(1P==-1)D as[as.S-1]}D(as&&as[77+1P])||H},6s:z(){u 2s=m.5Q().2Q[k.2m||\'1G\'];q(2s)K(u i=0;i<2s.S;i++){q(2s[i]==k.a)D i}D H},9z:z(){q(k[k.4K]){u 2s=m.49.2Q[k.2m||\'1G\'];q(2s){u s=m.18.3k.2c(\'%1\',k.6s()+1).2c(\'%2\',2s.S);k[k.4K].2V=\'<W 2o="L-3k">\'+s+\'</W>\'+k[k.4K].2V}}},az:z(){q(!k.Z){K(u i=0;i<m.59.S;i++){u 1t=m.59[i],2B=1t.2m;q(1s 2B==\'1C\'||2B===H||2B===k.2m)k.1g=22 m.8g(k.P,1t)}}I{k.1g=k.Z.1g}u 1t=k.1g;q(!1t)D;u P=1t.3q=k.P;1t.9F();1t.4y(\'19-2D\');q(1t.2C){k.4g(m.30(1t.aB||{},{3Z:1t.2C,1E:\'2C\',1r:5}))}q(1t.2h)1t.2h.6d(k);q(!k.Z&&k.3w)1t.3d(J);q(1t.3w){1t.3w=4p(z(){m.1o(P)},(1t.c4||c3))}},5M:z(){m.3L(k.Q);m.V[k.P]=H;q(m.1R==k.a)m.1R=H;m.7c(k.P);q(k.1Q)m.1Q.G.11=\'-55\'},9p:z(){q(k.58)D;k.58=m.1b(\'a\',{26:m.ah,2d:m.ag,T:\'L-58\',2V:m.18.ae,2r:m.18.af});k.4g({3Z:k.58,1j:k.aj||\'14 11\',1E:\'58\'})},9C:z(7G,an){K(u i=0;i<7G.S;i++){u R=7G[i],s=H;q(!k[R+\'4E\']&&k.6C)k[R+\'4E\']=R+\'-K-\'+k.6C;q(k[R+\'4E\'])k[R]=m.4R(k[R+\'4E\']);q(!k[R]&&!k[R+\'8j\']&&k[R+\'ak\'])1X{s=cj(k[R+\'ak\'])}1Y(e){}q(!k[R]&&k[R+\'8j\']){s=k[R+\'8j\']}q(!k[R]&&!s){k[R]=m.4R(k.a[\'ap\'+R+\'4E\']);q(!k[R]){u 1o=k.a.ao;4i(1o&&!m.6m(1o)){q((22 5E(\'L-\'+R)).1a(1o.T||H)){q(!1o.1N)k.a[\'ap\'+R+\'4E\']=1o.1N=\'1E\'+m.52++;k[R]=m.4R(1o.1N);5e}1o=1o.ao}}}q(!k[R]&&!s&&k.4K==R)s=\'\\n\';q(!k[R]&&s)k[R]=m.1b(\'W\',{T:\'L-\'+R,2V:s});q(an&&k[R]){u o={1j:(R==\'6v\')?\'5b\':\'6A\'};K(u x 2J k[R+\'al\'])o[x]=k[R+\'al\'][x];o.3Z=k[R];k.4g(o)}}},5c:z(1f){q(m.am)k.5B(\'cz\',1f);q(m.aE)k.5B(\'bW\',1f);q(m.5I)k.5B(\'*\',1f)},5B:z(4B,1f){u 1i=U.2S(4B);u X=4B==\'*\'?\'2X\':\'1f\';K(u i=0;i<1i.S;i++){q(X==\'1f\'||(U.7R.aW(1i[i],"").aX(\'2X\')==\'2n\'||1i[i].aU(\'1q-by\')!=H)){u 2j=1i[i].aU(\'1q-by\');q(1f==\'1B\'&&2j){2j=2j.2c(\'[\'+k.P+\']\',\'\');1i[i].4Q(\'1q-by\',2j);q(!2j)1i[i].G[X]=1i[i].81}I q(1f==\'1q\'){u 3j=m.5z(1i[i]);3j.w=1i[i].1Z;3j.h=1i[i].3e;q(!k.3s){u aL=(3j.x+3j.w<k.x.N(\'4Y\')||3j.x>k.x.N(\'4Y\')+k.x.N(\'7L\'));u aV=(3j.y+3j.h<k.y.N(\'4Y\')||3j.y>k.y.N(\'4Y\')+k.y.N(\'7L\'))}u 6n=m.7M(1i[i]);q(!aL&&!aV&&6n!=k.P){q(!2j){1i[i].4Q(\'1q-by\',\'[\'+k.P+\']\');1i[i].81=1i[i].G[X];1i[i].G[X]=\'1q\'}I q(2j.aJ(\'[\'+k.P+\']\')==-1){1i[i].4Q(\'1q-by\',2j+\'[\'+k.P+\']\')}}I q((2j==\'[\'+k.P+\']\'||m.3F==6n)&&6n!=k.P){1i[i].4Q(\'1q-by\',\'\');1i[i].G[X]=1i[i].81||\'\'}I q(2j&&2j.aJ(\'[\'+k.P+\']\')>-1){1i[i].4Q(\'1q-by\',2j.2c(\'[\'+k.P+\']\',\'\'))}}}}},41:z(){k.Q.G.1r=m.4n+=2;K(u i=0;i<m.V.S;i++){q(m.V[i]&&i==m.3F){u 4M=m.V[i];4M.17.T+=\' L-\'+4M.2I+\'-7X\';4M.17.G.4f=m.3z?\'aM\':\'5Y\';4M.17.2r=m.18.aG}}q(k.16)k.16.1T.G.1r=k.Q.G.1r-1;k.17.T=\'L-\'+k.2I;k.17.2r=m.18.7V;q(m.57){m.4k=1D.3b?\'5Y\':\'5Z(\'+m.4r+m.57+\'), 5Y\';q(m.3z&&m.2g<6)m.4k=\'aM\';k.17.G.4f=m.4k}m.3F=k.P;m.28(U,1D.3b?\'5N\':\'5O\',m.56)},7D:z(x,y){k.x.7J(x);k.y.7J(y)},4b:z(e){u w,h,r=e.M/e.1c;w=1d.4W(e.M+e.5U,1d.36(k.4X,k.x.19));q(k.3M&&1d.cx(w-k.x.19)<12)w=k.x.19;h=w/r;q(h<1d.36(k.54,k.y.19)){h=1d.36(k.54,k.y.19);q(k.3M)w=h*r}k.7s(w,h)},7s:z(w,h){k.y.8d(h);k.x.8d(w);k.Q.G.1c=k.y.N(\'1L\')+\'F\'},1V:z(){q(k.89||!k.5a)D;q(k.3a[1]==\'3Y\'&&m.1R){m.2f(m.1R).5M();m.1R=H}k.89=J;q(k.1g&&!m.1R)k.1g.2P();m.46(U,1D.3b?\'5N\':\'5O\',m.56);1X{k.17.G.4f=\'cE\';k.7y(0,{Q:{M:k.x.t,1c:k.y.t,11:k.x.1K-k.x.cb+k.x.3h,14:k.y.1K-k.y.cb+k.y.3h},17:{11:0,14:0,M:k.x.t,1c:k.y.t}},m.6Z)}1Y(e){k.5j()}},4g:z(o){u C=o.3Z,4j=(o.9u==\'29\'&&!/6x$/.1a(o.1j));q(1s C==\'6S\')C=m.4R(C);q(o.6G)C=m.1b(\'W\',{2V:o.6G});q(!C||1s C==\'6S\')D;C.G.1u=\'4x\';o.1E=o.1E||o.3Z;q(k.3a[1]==\'3Y\'&&k.97(o,C))D;k.6Q();u M=o.M&&/^[0-9]+(F|%)$/.1a(o.M)?o.M:\'2n\';q(/^(11|2M)6x$/.1a(o.1j)&&!/^[0-9]+F$/.1a(o.M))M=\'cw\';u O=m.1b(\'W\',{1N:\'1E\'+m.52++,1E:o.1E},{1j:\'2k\',1f:\'1q\',M:M,9v:m.18.9w||\'\',1k:0},4j?m.29:k.1l,J);q(4j)O.6r=k.P;O.2z(C);m.30(O,{1k:1,9t:0,9q:0,3A:(o.5n===0||o.5n===1e||(o.5n==2&&m.2y))?0:4Z});m.30(O,o);q(k.9o){k.5x(O);q(!O.6z||k.7p)m.23(O,{1k:O.1k},O.3A)}m.2u(k.1y,m.52-1)},5x:z(O){u p=O.1j||\'88 3Q\',4j=(O.9u==\'29\'),6o=O.9t,6p=O.9q;q(4j){m.29.G.1u=\'4x\';O.6r=k.P;q(O.1Z>O.1O.1Z)O.G.M=\'2a%\'}I q(O.1O!=k.1l)k.1l.2z(O);q(/11$/.1a(p))O.G.11=6o+\'F\';q(/3Q$/.1a(p))m.Y(O,{11:\'50%\',4m:(6o-1d.2G(O.1Z/2))+\'F\'});q(/2M$/.1a(p))O.G.2M=-6o+\'F\';q(/^9r$/.1a(p)){m.Y(O,{2M:\'2a%\',9s:k.x.cb+\'F\',14:-k.y.cb+\'F\',3O:-k.y.cb+\'F\',2X:\'2n\'});k.x.1p=O.1Z}I q(/^9x$/.1a(p)){m.Y(O,{11:\'2a%\',4m:k.x.cb+\'F\',14:-k.y.cb+\'F\',3O:-k.y.cb+\'F\',2X:\'2n\'});k.x.2A=O.1Z}u 8e=O.1O.3e;O.G.1c=\'2n\';q(4j&&O.3e>8e)O.G.1c=m.3z?8e+\'F\':\'2a%\';q(/^14/.1a(p))O.G.14=6p+\'F\';q(/^88/.1a(p))m.Y(O,{14:\'50%\',6F:(6p-1d.2G(O.3e/2))+\'F\'});q(/^3O/.1a(p))O.G.3O=-6p+\'F\';q(/^5b$/.1a(p)){m.Y(O,{11:(-k.x.1p-k.x.cb)+\'F\',2M:(-k.x.2A-k.x.cb)+\'F\',3O:\'2a%\',9y:k.y.cb+\'F\',M:\'2n\'});k.y.1p=O.3e}I q(/^6A$/.1a(p)){m.Y(O,{1j:\'72\',11:(-k.x.1p-k.x.cb)+\'F\',2M:(-k.x.2A-k.x.cb)+\'F\',14:\'2a%\',6F:k.y.cb+\'F\',M:\'2n\'});k.y.2A=O.3e;O.G.1j=\'2k\'}},9E:z(){k.9C([\'6v\',\'cv\'],J);k.9z();q(k.6v&&k.79)k.6v.T+=\' L-3i\';q(m.9A)k.9p();K(u i=0;i<m.1y.S;i++){u o=m.1y[i],6w=o.6H,2B=o.2m;q((!6w&&!2B)||(6w&&6w==k.6C)||(2B&&2B===k.2m)){k.4g(o)}}u 6D=[];K(u i=0;i<k.1y.S;i++){u o=m.$(\'1E\'+k.1y[i]);q(/6x$/.1a(o.1j))k.5x(o);I m.2u(6D,o)}K(u i=0;i<6D.S;i++)k.5x(6D[i]);k.9o=J},6Q:z(){q(!k.1l)k.1l=m.1b(\'W\',{T:k.7b},{1j:\'2k\',M:(k.x.B||(k.35?k.M:H)||k.x.19)+\'F\',1c:(k.y.B||k.y.19)+\'F\',1f:\'1q\',2X:\'1q\',1r:m.2y?4:\'2n\'},m.24,J)},4s:z(7E,ad){u 1l=k.1l,x=k.x,y=k.y;m.Y(1l,{M:x.B+\'F\',1c:y.B+\'F\'});q(7E||ad){K(u i=0;i<k.1y.S;i++){u o=m.$(\'1E\'+k.1y[i]);u 7t=(m.3z||U.66==\'7w\');q(o&&/^(5b|6A)$/.1a(o.1j)){q(7t){o.G.M=(1l.1Z+2*x.cb+x.1p+x.2A)+\'F\'}y[o.1j==\'5b\'?\'1p\':\'2A\']=o.3e}q(o&&7t&&/^(11|2M)6x$/.1a(o.1j)){o.G.1c=(1l.3e+2*y.cb)+\'F\'}}}q(7E){m.Y(k.17,{14:y.1p+\'F\'});m.Y(1l,{14:(y.1p+y.cb)+\'F\'})}},9f:z(){u b=k.1l;b.T=\'\';m.Y(b,{14:(k.y.1p+k.y.cb)+\'F\',11:(k.x.1p+k.x.cb)+\'F\',2X:\'1B\'});q(m.4o)b.G.1f=\'1B\';k.Q.2z(b);K(u i=0;i<k.1y.S;i++){u o=m.$(\'1E\'+k.1y[i]);o.G.1r=o.1r||4;q(!o.6z||k.7p){o.G.1f=\'1B\';m.Y(o,{1f:\'1B\',1u:\'\'});m.23(o,{1k:o.1k},o.3A)}}},6B:z(){q(!k.1y.S)D;q(k.1g){u c=k.1g.2C;q(c&&m.2f(c)==k)c.1O.cl(c)}K(u i=0;i<k.1y.S;i++){u o=m.$(\'1E\'+k.1y[i]);q(o&&o.1O==m.29&&m.2f(o)==k)m.3L(o)}m.3L(k.1l)},9b:z(){q(k.1g&&k.1g.2C){k.1g.3X(\'19-2D\');D}k.6y=m.1b(\'a\',{26:\'9g:m.V[\'+k.P+\'].6E();\',2r:m.18.7o,T:\'L-19-2D\'});k.4g({3Z:k.6y,1j:m.9h,6z:J,1k:m.9m})},6E:z(){1X{q(k.6y)m.3L(k.6y);k.41();u 2E=k.x.B;k.7s(k.x.19,k.y.19);u 2H=k.x.E-(k.x.B-2E)/2;q(2H<m.4m)2H=m.4m;k.7D(2H,k.y.E);k.5c(\'1q\')}1Y(e){k.7v(e)}},5j:z(){k.a.T=k.a.T.2c(\'L-48-3I\',\'\');k.5c(\'1B\');q(k.16&&k.3N)k.16.5h();m.3L(k.Q);k.6B();q(!m.29.67.S)m.29.G.1u=\'1G\';q(k.3s)m.7c(k.P);m.V[k.P]=H;m.9n()}};m.8g=z(3q,1h){q(m.cu!==1e)m.6P();k.3q=3q;K(u x 2J 1h)k[x]=1h[x];q(k.ct)k.9l();q(k.2h)k.2h=m.a0(k)};m.8g.5l={9l:z(){k.2C=m.1b(\'W\',{2V:m.9k(m.9i.2C)},H,m.24);u 5o=[\'3d\',\'2P\',\'31\',\'1o\',\'3i\',\'19-2D\',\'1V\'];k.1v={};u 7Z=k;K(u i=0;i<5o.S;i++){k.1v[5o[i]]=m.9j(k.2C,\'1U\',\'L-\'+5o[i]);k.3X(5o[i])}k.1v.2P.G.1u=\'1G\'},9F:z(){q(k.9G||!k.2C)D;u A=m.V[k.3q],4F=A.6s(),1S=/6t$/;q(4F==0)k.4y(\'31\');I q(1S.1a(k.1v.31.2S(\'a\')[0].T))k.3X(\'31\');q(4F+1==m.49.2Q[A.2m||\'1G\'].S){k.4y(\'1o\');k.4y(\'3d\')}I q(1S.1a(k.1v.1o.2S(\'a\')[0].T)){k.3X(\'1o\');k.3X(\'3d\')}},3X:z(1v){q(!k.1v)D;u a2=k,a=k.1v[1v].2S(\'a\')[0],1S=/6t$/;a.2x=z(){a2[1v]();D 1e};q(1S.1a(a.T))a.T=a.T.2c(1S,\'\')},4y:z(1v){q(!k.1v)D;u a=k.1v[1v].2S(\'a\')[0];a.2x=z(){D 1e};q(!/6t$/.1a(a.T))a.T+=\' 6t\'},a3:z(){q(k.3w)k.2P();I k.3d()},3d:z(a1){q(k.1v){k.1v.3d.G.1u=\'1G\';k.1v.2P.G.1u=\'\'}k.3w=J;q(!a1)m.1o(k.3q)},2P:z(){q(k.1v){k.1v.2P.G.1u=\'1G\';k.1v.3d.G.1u=\'\'}cs(k.3w);k.3w=H},31:z(){k.2P();m.31(k.1v.31)},1o:z(){k.2P();m.1o(k.1v.1o)},3i:z(){},\'19-2D\':z(){m.2f().6E()},1V:z(){m.1V(k.1v.1V)}};m.a0=z(1g){z 6d(A){m.30(1h||{},{3Z:4a,1E:\'2h\',T:\'L-2h-\'+4t+\'-O \'+(1h.T||\'\')});q(m.3z)1h.5n=0;A.4g(1h);m.Y(4a.1O,{2X:\'1q\'})};z 1J(3p){4z(1C,1d.2G(3p*4a[3m?\'1Z\':\'3e\']*0.7))};z 4z(i,7W){q(i===1C)K(u j=0;j<5r.S;j++){q(5r[j]==m.V[1g.3q].a){i=j;5e}}q(i===1C)D;u as=4a.2S(\'a\'),48=as[i],3K=48.1O,11=3m?\'9Y\':\'9Z\',2M=3m?\'a4\':\'a5\',M=3m?\'aa\':\'ab\',45=\'1m\'+11,1Z=\'1m\'+M,5P=W.1O.1O[1Z],4G=5P-1T[1Z],5m=6N(1T.G[3m?\'11\':\'14\'])||0,2l=5m,cr=20;q(7W!==1C){2l=5m-7W;q(4G>0)4G=0;q(2l>0)2l=0;q(2l<4G)2l=4G}I{K(u j=0;j<as.S;j++)as[j].T=\'\';48.T=\'L-48-3I\';u 8m=i>0?as[i-1].1O[45]:3K[45],8c=3K[45]+3K[1Z]+(as[i+1]?as[i+1].1O[1Z]:0);q(8c>5P-5m)2l=5P-8c;I q(8m<-5m)2l=-8m}u 8a=3K[45]+(3K[1Z]-5J[1Z])/2+2l;m.23(1T,3m?{11:2l}:{14:2l},H,\'7Q\');m.23(5J,3m?{11:8a}:{14:8a},H,\'7Q\');7S.G.1u=2l<0?\'4x\':\'1G\';86.G.1u=(2l>4G)?\'4x\':\'1G\'};u 5r=m.49.2Q[m.V[1g.3q].2m||\'1G\'],1h=1g.2h,4t=1h.4t||\'a9\',7O=(4t==\'cq\'),3y=7O?[\'W\',\'7K\',\'1U\',\'21\']:[\'1T\',\'4d\',\'3B\',\'2b\'],3m=(4t==\'a9\'),4a=m.1b(\'W\',{T:\'L-2h L-2h-\'+4t,2V:\'<W 2o="L-2h-cp">\'+\'<\'+3y[0]+\'><\'+3y[1]+\'></\'+3y[1]+\'></\'+3y[0]+\'></W>\'+\'<W 2o="L-1J-1w"><W></W></W>\'+\'<W 2o="L-1J-cm"><W></W></W>\'+\'<W 2o="L-5J"><W></W></W>\'},{1u:\'1G\'},m.24),5p=4a.67,W=5p[0],7S=5p[1],86=5p[2],5J=5p[3],1T=W.cn,4d=4a.2S(3y[1])[0],3B;K(u i=0;i<5r.S;i++){q(i==0||!3m)3B=m.1b(3y[2],H,H,4d);(z(){u a=5r[i],3K=m.1b(3y[3],H,H,3B),co=i;m.1b(\'a\',{26:a.26,2x:z(){q(/L-48-3I/.1a(k.T))D 1e;m.2f(k).41();D m.82(a)},2V:m.a6?m.a6(a):a.2V},H,3K)})()}q(!7O){7S.2x=z(){1J(-1)};86.2x=z(){1J(1)};m.28(4d,U.cD!==1C?\'cF\':\'cC\',z(e){u 3p=0;e=e||1D.1W;q(e.a7){3p=e.a7/cB;q(m.3b)3p=-3p}I q(e.9X){3p=-e.9X/3}q(3p)1J(-3p*0.2);q(e.4w)e.4w();e.9N=1e})}D{6d:6d,4z:4z}};m.6b=m.18;u cy=m.5f;q(m.2y&&1D==1D.14){(z(){1X{U.4h.cA(\'11\')}1Y(e){4p(9H.ck,50);D}m.3x()})()}m.28(U,\'bY\',m.3x);m.28(1D,\'9R\',m.3x);m.28(U,\'3x\',z(){q(m.5X||m.3s){u G=m.1b(\'G\',{R:\'cf/76\'},H,U.2S(\'c9\')[0]);z 5g(6I,6T){q(m.2y&&m.2g<9){u Z=U.9P[U.9P.S-1];q(1s(Z.5g)=="6j")Z.5g(6I,6T)}I{G.2z(U.cP(6I+" {"+6T+"}"))}}z 5y(X){D\'cI( ( ( cJ = U.4h.\'+X+\' ? U.4h.\'+X+\' : U.61.\'+X+\' ) ) + \\\'F\\\' );\'}q(m.5X)5g(\'.L 1x\',\'4f: 5Z(\'+m.4r+m.5X+\'), 5Y !cK;\');5g(\'.L-29-B\',m.2y&&(m.2g<7||U.66==\'7w\')?\'1j: 2k; \'+\'11:\'+5y(\'5i\')+\'14:\'+5y(\'5s\')+\'M:\'+5y(\'7u\')+\'1c:\'+5y(\'9T\'):\'1j: cQ; M: 2a%; 1c: 2a%; 11: 0; 14: 0\')}});m.28(1D,\'4b\',z(){m.64();q(m.29)K(u i=0;i<m.29.67.S;i++){u 3E=m.29.67[i],A=m.2f(3E);A.5x(3E);q(3E.1E==\'2h\')A.1g.2h.4z()}});m.28(U,\'6i\',z(e){m.6g={x:e.5D,y:e.5V}});m.28(U,\'9S\',m.7n);m.28(U,\'9Q\',m.7n);m.28(U,\'3x\',m.5Q);m.28(1D,\'9R\',m.aY)}',62,823,'||||||||||||||||||||this||hs||||if||||var|||||function|exp|size|el|return|pos|px|style|null|else|true|for|highslide|width|get|overlay|key|wrapper|type|length|className|document|expanders|div|prop|setStyles|last||left|||top||outline|content|lang|full|test|createElement|height|Math|false|visibility|slideshow|options|els|position|opacity|overlayBox|offset|dim|next|p1|hidden|zIndex|typeof|ss|display|btn|up|img|overlays|imgSize|outlineType|visible|undefined|window|hsId|fx|none|src|case|scroll|tpos|wsize|to|id|parentNode|op|loading|upcoming|re|table|li|close|event|try|catch|offsetWidth||span|new|animate|container||href||addEventListener|viewport|100|td|replace|target|imgPad|getExpander|uaVersion|thumbstrip|dimmer|hiddenBy|absolute|tblPos|slideshowGroup|auto|class|tgt|ratio|title|arr|easing|push|minSize|justify|onclick|ie|appendChild|p2|sg|controls|expand|xSize|elem|round|xpos|contentType|in|dragArgs|lastY|right|params|lastX|pause|groups|marginMin|getElementsByTagName|image|match|innerHTML|args|overflow|name|opt|extend|previous||||useBox|min||||transitions|opera|ucwh|play|offsetHeight|val|step|tb|move|elPos|number|graphic|isX|func|changed|delta|expKey|ySize|dimmingOpacity|xp1|timers|yp1|autoplay|ready|tree|ieLt7|dur|tr|custom|styles|node|focusKey|wh|hasDragged|anchor|duration|cell|discardElement|isImage|outlineWhileAnimating|bottom|tgtArr|center|clientSize|pendingOutlines|unit|clone|onLoad|now|enable|crossfade|overlayId||focus|setPosition|marginMax|ypos|offsetLeft|removeEventListener|page|active|anchors|dom|resize|invPos|tbody|start|cursor|createOverlay|documentElement|while|relToVP|styleRestoreCursor|ieLt9|marginLeft|zIndexCounter|safari|setTimeout|fitsize|graphicsDir|sizeOverlayBox|mode|owner|fadeBox|preventDefault|block|disable|selectThumb|images|tagName|end|allowReduce|Id|cur|minTblPos|attribs|moveOnly|fac|numberPosition|padToMinWidth|blurExp|Outline|matches|getParam|setAttribute|getNode|ysize|trans|allowSizeReduction|xsize|max|minWidth|opos|250||uclt|idCounter|iebody|minHeight|9999px|keyHandler|restoreCursor|credits|slideshows|isExpanded|above|doShowHide|on|break|Expander|addRule|destroy|scrollLeft|afterClose|navigator|prototype|curTblPos|fade|buttons|domCh|all|group|scrollTop|preloadTheseImages|param|getParams|filter|positionOverlay|fix|getPosition|topmostKey|showHideElements|self|clientX|RegExp|maxWidth|previousOrNext|dir|geckoMac|marker|curAnim|gotoEnd|cancelLoading|keypress|keydown|overlayWidth|getAnchors|onReady|Dimension|adj|dX|clientY|dragHandler|expandCursor|pointer|url|complete|body|over|ximgPad|getPageSize|relatedTarget|compatMode|childNodes|yimgPad|oDiv|afterExpand|langDefaults|userAgent|add|onLoadStarted|onload|mouse|expOnly|mousemove|object|525|preloadFullImage|isHsAnchor|wrapperKey|offX|offY|toLowerCase|hsKey|getAnchorIndex|disabled|lt|heading|tId|panel|fullExpandLabel|hideOnMouseOut|below|destroyOverlays|thumbsUserSetId|os|doFullExpand|marginTop|html|thumbnailId|sel|hasAlphaImageLoader|numberOfImagesToPreload|hasMovedMin|mY|parseInt|mX|updateAnchors|genOverlayBox|maxsize|string|dec|getSrc|getAdjacentAnchor|calcExpanded|ucrb|calcBorders|restoreDuration||element|relative|oPos|clones||css|current|garbageBin|dragByHeading|overrides|wrapperClassName|undim|from|startOff|update|names|state|cloneNode|endOff|distance|topZ|other|mouseClickHandler|fullExpandTitle|mouseIsOver|expandDuration|dY|resizeTo|ie6|clientWidth|error|BackCompat|continuePreloading|changeSize|startTime|yp2|props|srcElement|moveTo|doWrapper|xp2|types|done|isNew|setPos|ul|osize|getWrapperKey|parseFloat|floatMode|isReady|easeOutQuad|defaultView|scrollUp|Create|hasFocused|restoreTitle|scrollBy|blur|dimmingDuration|pThis|arrow|origProp|transit|margin|calcThumb|connectOutline|scrollDown|openerTagNames|middle|isClosing|markerPos|maxHeight|activeRight|setSize|parOff|init|Slideshow|loadingPos|loadingPosXfade|Text|parent|align|activeLeft|Click|showLoading|getTime|clickX|pageOrigin|timerId|clickY|offsetTop|thumb|dimmingGeckoFix|form|fitOverlayBox|Date|onGraphicLoad|offsetParent|allowMultipleInstances|pow|background|appendTo|ltr|loadingTitle|nopad|hide|orig|loadingText|loadingOpacity|easeInQuad|rb|fixedControls|switch|tag|preloadGraphic|toUpperCase|rv|wrapperMouseHandler|alpha|tmpMin|correctRatio|contentLoaded|vis|_default|detachEvent|enableKeyListener|png|call|focusTopmost|reuseOverlay|previousTitle||200|createFullExpand|previousText|playTitle|show|showOverlays|javascript|fullExpandPosition|skin|getElementByClass|replaceLang|getControls|fullExpandOpacity|reOrder|gotOverlays|writeCredits|offsetY|leftpanel|marginRight|offsetX|relativeTo|direction|cssDirection|rightpanel|marginBottom|getNumber|showCredits|playText|getInline|pauseTitle|getOverlays|checkFirstAndLast|repeat|arguments|Pause|Play|spacebar|Previous|Next|returnValue|Close|styleSheets|mouseup|load|mousedown|clientHeight|JS|Highslide|Move|detail|Left|Top|Thumbstrip|wait|sls|hitSpace|Right|Bottom|stripItemFormatter|wheelDelta|and|horizontal|Width|Height|pauseText|doPanels|creditsText|creditsTitle|creditsTarget|creditsHref|border|creditsPosition|Eval|Overlay|hideSelects|addOverlay|nextSibling|_|nextTitle|transitionDuration||captionOverlay|newImg|toString|preloadNext|prepareNextOutline|oldImg|initSlideshow|headingOverlay|overlayOptions|ximgSize|yimgSize|hideIframes|after|focusTitle|targetX|targetY|indexOf|fadeInOut|clearsX|hand|closeText|nextText|easingClose|moveTitle|moveText|closeTitle|fullExpandText|getAttribute|clearsY|getComputedStyle|getPropertyValue|preloadImages|Macintosh|registerOverlay|Powered|xpand|Trident|Expand|front|addSlideshow|bring|Go|actual|it|button|homepage|the|Loading|ra|hasHtmlExpanders|cancel|Safari|Resize|resizeTitle|esc|htmlE|Gecko|com|_self|captionId|padding|captionText|captionEval|dimming|drop|shadow|innerHeight||pageXOffset|innerWidth|pageYOffset|removeAttribute|currentStyle|geckodimmer|getElementById|Use|keys|graphics|keyCode|drag|of|click|zoomin|zoomout|http|headingId|headingText|headingEval|1001|outlineStartOffset|Image|IFRAME|preserveContent|DOMContentLoaded|floor|split|clip|rect|500|interval|sqrt|reuse|fit|flushImgSize|HEAD|message||Line|alert|location|text|oncontextmenu|blockRightClick|imageCreate|eval|callee|removeChild|down|firstChild|pI|inner|float|mgnRight|clearTimeout|useControls|dynamicallyUpdateAnchors|caption|200px|abs|HsExpander|SELECT|doScroll|120|DOMMouseScroll|onmousewheel|default|mousewheel|debug|lineNumber|expression|ignoreMe|important|onmouseout|clearInterval|borderCollapse|cellSpacing|createTextNode|fixed|setInterval|fromElement|mouseover|dragSensitivity|toElement|attachEvent|KDE|vendor|linearTween|collapse|splice|readyState|isHtml|allowSimultaneousLoading|Microsoft|stl|AlphaImageLoader|scale|lineHeight|sizingMethod|DXImageTransform|fontSize|outlinesDir|outlines|onmouseover|progid'.split('|'),0,{}))
@@ -1,2476 +0,0 @@
1
- /**
2
- * Name: Highslide JS
3
- * Version: 4.1.12 (2011-03-28)
4
- * Config: default +inline +ajax +iframe +flash
5
- * Author: Torstein Hønsi
6
- * Support: www.highslide.com/support
7
- * License: www.highslide.com/#license
8
- */
9
- if (!hs) { var hs = {
10
- // Language strings
11
- lang : {
12
- cssDirection: 'ltr',
13
- loadingText : 'Loading...',
14
- loadingTitle : 'Click to cancel',
15
- focusTitle : 'Click to bring to front',
16
- fullExpandTitle : 'Expand to actual size (f)',
17
- creditsText : 'Powered by <i>Highslide JS</i>',
18
- creditsTitle : 'Go to the Highslide JS homepage',
19
- previousText : 'Previous',
20
- nextText : 'Next',
21
- moveText : 'Move',
22
- closeText : 'Close',
23
- closeTitle : 'Close (esc)',
24
- resizeTitle : 'Resize',
25
- playText : 'Play',
26
- playTitle : 'Play slideshow (spacebar)',
27
- pauseText : 'Pause',
28
- pauseTitle : 'Pause slideshow (spacebar)',
29
- previousTitle : 'Previous (arrow left)',
30
- nextTitle : 'Next (arrow right)',
31
- moveTitle : 'Move',
32
- fullExpandText : '1:1',
33
- restoreTitle : 'Click to close image, click and drag to move. Use arrow keys for next and previous.'
34
- },
35
- // See http://highslide.com/ref for examples of settings
36
- graphicsDir : '/javascripts/erp_app/highslide/highslide/graphics/',
37
- expandCursor : 'zoomin.cur', // null disables
38
- restoreCursor : 'zoomout.cur', // null disables
39
- expandDuration : 250, // milliseconds
40
- restoreDuration : 250,
41
- marginLeft : 15,
42
- marginRight : 15,
43
- marginTop : 15,
44
- marginBottom : 15,
45
- zIndexCounter : 1001, // adjust to other absolutely positioned elements
46
- loadingOpacity : 0.75,
47
- allowMultipleInstances: true,
48
- numberOfImagesToPreload : 5,
49
- outlineWhileAnimating : 2, // 0 = never, 1 = always, 2 = HTML only
50
- outlineStartOffset : 3, // ends at 10
51
- padToMinWidth : false, // pad the popup width to make room for wide caption
52
- fullExpandPosition : 'bottom right',
53
- fullExpandOpacity : 1,
54
- showCredits : true, // you can set this to false if you want
55
- creditsHref : 'http://highslide.com/',
56
- creditsTarget : '_self',
57
- enableKeyListener : true,
58
- openerTagNames : ['a'], // Add more to allow slideshow indexing
59
-
60
- allowWidthReduction : false,
61
- allowHeightReduction : true,
62
- preserveContent : true, // Preserve changes made to the content and position of HTML popups.
63
- objectLoadTime : 'before', // Load iframes 'before' or 'after' expansion.
64
- cacheAjax : true, // Cache ajax popups for instant display. Can be overridden for each popup.
65
- dragByHeading: true,
66
- minWidth: 200,
67
- minHeight: 200,
68
- allowSizeReduction: true, // allow the image to reduce to fit client size. If false, this overrides minWidth and minHeight
69
- outlineType : 'drop-shadow', // set null to disable outlines
70
- skin : {
71
- contentWrapper:
72
- '<div class="highslide-header"><ul>'+
73
- '<li class="highslide-previous">'+
74
- '<a href="#" title="{hs.lang.previousTitle}" onclick="return hs.previous(this)">'+
75
- '<span>{hs.lang.previousText}</span></a>'+
76
- '</li>'+
77
- '<li class="highslide-next">'+
78
- '<a href="#" title="{hs.lang.nextTitle}" onclick="return hs.next(this)">'+
79
- '<span>{hs.lang.nextText}</span></a>'+
80
- '</li>'+
81
- '<li class="highslide-move">'+
82
- '<a href="#" title="{hs.lang.moveTitle}" onclick="return false">'+
83
- '<span>{hs.lang.moveText}</span></a>'+
84
- '</li>'+
85
- '<li class="highslide-close">'+
86
- '<a href="#" title="{hs.lang.closeTitle}" onclick="return hs.close(this)">'+
87
- '<span>{hs.lang.closeText}</span></a>'+
88
- '</li>'+
89
- '</ul></div>'+
90
- '<div class="highslide-body"></div>'+
91
- '<div class="highslide-footer"><div>'+
92
- '<span class="highslide-resize" title="{hs.lang.resizeTitle}"><span></span></span>'+
93
- '</div></div>'
94
- },
95
- // END OF YOUR SETTINGS
96
-
97
-
98
- // declare internal properties
99
- preloadTheseImages : [],
100
- continuePreloading: true,
101
- expanders : [],
102
- overrides : [
103
- 'allowSizeReduction',
104
- 'useBox',
105
- 'outlineType',
106
- 'outlineWhileAnimating',
107
- 'captionId',
108
- 'captionText',
109
- 'captionEval',
110
- 'captionOverlay',
111
- 'headingId',
112
- 'headingText',
113
- 'headingEval',
114
- 'headingOverlay',
115
- 'creditsPosition',
116
- 'dragByHeading',
117
-
118
- 'width',
119
- 'height',
120
-
121
- 'contentId',
122
- 'allowWidthReduction',
123
- 'allowHeightReduction',
124
- 'preserveContent',
125
- 'maincontentId',
126
- 'maincontentText',
127
- 'maincontentEval',
128
- 'objectType',
129
- 'cacheAjax',
130
- 'objectWidth',
131
- 'objectHeight',
132
- 'objectLoadTime',
133
- 'swfOptions',
134
- 'wrapperClassName',
135
- 'minWidth',
136
- 'minHeight',
137
- 'maxWidth',
138
- 'maxHeight',
139
- 'pageOrigin',
140
- 'slideshowGroup',
141
- 'easing',
142
- 'easingClose',
143
- 'fadeInOut',
144
- 'src'
145
- ],
146
- overlays : [],
147
- idCounter : 0,
148
- oPos : {
149
- x: ['leftpanel', 'left', 'center', 'right', 'rightpanel'],
150
- y: ['above', 'top', 'middle', 'bottom', 'below']
151
- },
152
- mouse: {},
153
- headingOverlay: {},
154
- captionOverlay: {},
155
- swfOptions: { flashvars: {}, params: {}, attributes: {} },
156
- timers : [],
157
-
158
- pendingOutlines : {},
159
- sleeping : [],
160
- preloadTheseAjax : [],
161
- cacheBindings : [],
162
- cachedGets : {},
163
- clones : {},
164
- onReady: [],
165
- uaVersion: /Trident\/4\.0/.test(navigator.userAgent) ? 8 :
166
- parseFloat((navigator.userAgent.toLowerCase().match( /.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/ ) || [0,'0'])[1]),
167
- ie : (document.all && !window.opera),
168
- //ie : navigator && /MSIE [678]/.test(navigator.userAgent), // ie9 compliant?
169
- safari : /Safari/.test(navigator.userAgent),
170
- geckoMac : /Macintosh.+rv:1\.[0-8].+Gecko/.test(navigator.userAgent),
171
-
172
- $ : function (id) {
173
- if (id) return document.getElementById(id);
174
- },
175
-
176
- push : function (arr, val) {
177
- arr[arr.length] = val;
178
- },
179
-
180
- createElement : function (tag, attribs, styles, parent, nopad) {
181
- var el = document.createElement(tag);
182
- if (attribs) hs.extend(el, attribs);
183
- if (nopad) hs.setStyles(el, {padding: 0, border: 'none', margin: 0});
184
- if (styles) hs.setStyles(el, styles);
185
- if (parent) parent.appendChild(el);
186
- return el;
187
- },
188
-
189
- extend : function (el, attribs) {
190
- for (var x in attribs) el[x] = attribs[x];
191
- return el;
192
- },
193
-
194
- setStyles : function (el, styles) {
195
- for (var x in styles) {
196
- if (hs.ieLt9 && x == 'opacity') {
197
- if (styles[x] > 0.99) el.style.removeAttribute('filter');
198
- else el.style.filter = 'alpha(opacity='+ (styles[x] * 100) +')';
199
- }
200
- else el.style[x] = styles[x];
201
- }
202
- },
203
- animate: function(el, prop, opt) {
204
- var start,
205
- end,
206
- unit;
207
- if (typeof opt != 'object' || opt === null) {
208
- var args = arguments;
209
- opt = {
210
- duration: args[2],
211
- easing: args[3],
212
- complete: args[4]
213
- };
214
- }
215
- if (typeof opt.duration != 'number') opt.duration = 250;
216
- opt.easing = Math[opt.easing] || Math.easeInQuad;
217
- opt.curAnim = hs.extend({}, prop);
218
- for (var name in prop) {
219
- var e = new hs.fx(el, opt , name );
220
-
221
- start = parseFloat(hs.css(el, name)) || 0;
222
- end = parseFloat(prop[name]);
223
- unit = name != 'opacity' ? 'px' : '';
224
-
225
- e.custom( start, end, unit );
226
- }
227
- },
228
- css: function(el, prop) {
229
- if (el.style[prop]) {
230
- return el.style[prop];
231
- } else if (document.defaultView) {
232
- return document.defaultView.getComputedStyle(el, null).getPropertyValue(prop);
233
-
234
- } else {
235
- if (prop == 'opacity') prop = 'filter';
236
- var val = el.currentStyle[prop.replace(/\-(\w)/g, function (a, b){ return b.toUpperCase(); })];
237
- if (prop == 'filter')
238
- val = val.replace(/alpha\(opacity=([0-9]+)\)/,
239
- function (a, b) { return b / 100 });
240
- return val === '' ? 1 : val;
241
- }
242
- },
243
-
244
- getPageSize : function () {
245
- var d = document, w = window, iebody = d.compatMode && d.compatMode != 'BackCompat'
246
- ? d.documentElement : d.body;
247
-
248
- var width = hs.ieLt9 ? iebody.clientWidth :
249
- (d.documentElement.clientWidth || self.innerWidth),
250
- height = hs.ieLt9 ? iebody.clientHeight : self.innerHeight;
251
-
252
- hs.page = {
253
- width: width,
254
- height: height,
255
- scrollLeft: hs.ieLt9 ? iebody.scrollLeft : pageXOffset,
256
- scrollTop: hs.ieLt9 ? iebody.scrollTop : pageYOffset
257
- };
258
- return hs.page;
259
- },
260
-
261
- getPosition : function(el) {
262
- var p = { x: el.offsetLeft, y: el.offsetTop };
263
- while (el.offsetParent) {
264
- el = el.offsetParent;
265
- p.x += el.offsetLeft;
266
- p.y += el.offsetTop;
267
- if (el != document.body && el != document.documentElement) {
268
- p.x -= el.scrollLeft;
269
- p.y -= el.scrollTop;
270
- }
271
- }
272
- return p;
273
- },
274
-
275
- expand : function(a, params, custom, type) {
276
- if (!a) a = hs.createElement('a', null, { display: 'none' }, hs.container);
277
- if (typeof a.getParams == 'function') return params;
278
- if (type == 'html') {
279
- for (var i = 0; i < hs.sleeping.length; i++) {
280
- if (hs.sleeping[i] && hs.sleeping[i].a == a) {
281
- hs.sleeping[i].awake();
282
- hs.sleeping[i] = null;
283
- return false;
284
- }
285
- }
286
- hs.hasHtmlExpanders = true;
287
- }
288
- try {
289
- new hs.Expander(a, params, custom, type);
290
- return false;
291
- } catch (e) { return true; }
292
- },
293
-
294
- htmlExpand : function(a, params, custom) {
295
- return hs.expand(a, params, custom, 'html');
296
- },
297
-
298
- getSelfRendered : function() {
299
- return hs.createElement('div', {
300
- className: 'highslide-html-content',
301
- innerHTML: hs.replaceLang(hs.skin.contentWrapper)
302
- });
303
- },
304
- getElementByClass : function (el, tagName, className) {
305
- var els = el.getElementsByTagName(tagName);
306
- for (var i = 0; i < els.length; i++) {
307
- if ((new RegExp(className)).test(els[i].className)) {
308
- return els[i];
309
- }
310
- }
311
- return null;
312
- },
313
- replaceLang : function(s) {
314
- s = s.replace(/\s/g, ' ');
315
- var re = /{hs\.lang\.([^}]+)\}/g,
316
- matches = s.match(re),
317
- lang;
318
- if (matches) for (var i = 0; i < matches.length; i++) {
319
- lang = matches[i].replace(re, "$1");
320
- if (typeof hs.lang[lang] != 'undefined') s = s.replace(matches[i], hs.lang[lang]);
321
- }
322
- return s;
323
- },
324
-
325
-
326
- getCacheBinding : function (a) {
327
- for (var i = 0; i < hs.cacheBindings.length; i++) {
328
- if (hs.cacheBindings[i][0] == a) {
329
- var c = hs.cacheBindings[i][1];
330
- hs.cacheBindings[i][1] = c.cloneNode(1);
331
- return c;
332
- }
333
- }
334
- return null;
335
- },
336
-
337
- preloadAjax : function (e) {
338
- var arr = hs.getAnchors();
339
- for (var i = 0; i < arr.htmls.length; i++) {
340
- var a = arr.htmls[i];
341
- if (hs.getParam(a, 'objectType') == 'ajax' && hs.getParam(a, 'cacheAjax'))
342
- hs.push(hs.preloadTheseAjax, a);
343
- }
344
-
345
- hs.preloadAjaxElement(0);
346
- },
347
-
348
- preloadAjaxElement : function (i) {
349
- if (!hs.preloadTheseAjax[i]) return;
350
- var a = hs.preloadTheseAjax[i];
351
- var cache = hs.getNode(hs.getParam(a, 'contentId'));
352
- if (!cache) cache = hs.getSelfRendered();
353
- var ajax = new hs.Ajax(a, cache, 1);
354
- ajax.onError = function () { };
355
- ajax.onLoad = function () {
356
- hs.push(hs.cacheBindings, [a, cache]);
357
- hs.preloadAjaxElement(i + 1);
358
- };
359
- ajax.run();
360
- },
361
-
362
- focusTopmost : function() {
363
- var topZ = 0,
364
- topmostKey = -1,
365
- expanders = hs.expanders,
366
- exp,
367
- zIndex;
368
- for (var i = 0; i < expanders.length; i++) {
369
- exp = expanders[i];
370
- if (exp) {
371
- zIndex = exp.wrapper.style.zIndex;
372
- if (zIndex && zIndex > topZ) {
373
- topZ = zIndex;
374
- topmostKey = i;
375
- }
376
- }
377
- }
378
- if (topmostKey == -1) hs.focusKey = -1;
379
- else expanders[topmostKey].focus();
380
- },
381
-
382
- getParam : function (a, param) {
383
- a.getParams = a.onclick;
384
- var p = a.getParams ? a.getParams() : null;
385
- a.getParams = null;
386
-
387
- return (p && typeof p[param] != 'undefined') ? p[param] :
388
- (typeof hs[param] != 'undefined' ? hs[param] : null);
389
- },
390
-
391
- getSrc : function (a) {
392
- var src = hs.getParam(a, 'src');
393
- if (src) return src;
394
- return a.href;
395
- },
396
-
397
- getNode : function (id) {
398
- var node = hs.$(id), clone = hs.clones[id], a = {};
399
- if (!node && !clone) return null;
400
- if (!clone) {
401
- clone = node.cloneNode(true);
402
- clone.id = '';
403
- hs.clones[id] = clone;
404
- return node;
405
- } else {
406
- return clone.cloneNode(true);
407
- }
408
- },
409
-
410
- discardElement : function(d) {
411
- if (d) hs.garbageBin.appendChild(d);
412
- hs.garbageBin.innerHTML = '';
413
- },
414
- transit : function (adj, exp) {
415
- var last = exp || hs.getExpander();
416
- exp = last;
417
- if (hs.upcoming) return false;
418
- else hs.last = last;
419
- hs.removeEventListener(document, window.opera ? 'keypress' : 'keydown', hs.keyHandler);
420
- try {
421
- hs.upcoming = adj;
422
- adj.onclick();
423
- } catch (e){
424
- hs.last = hs.upcoming = null;
425
- }
426
- try {
427
- exp.close();
428
- } catch (e) {}
429
- return false;
430
- },
431
-
432
- previousOrNext : function (el, op) {
433
- var exp = hs.getExpander(el);
434
- if (exp) return hs.transit(exp.getAdjacentAnchor(op), exp);
435
- else return false;
436
- },
437
-
438
- previous : function (el) {
439
- return hs.previousOrNext(el, -1);
440
- },
441
-
442
- next : function (el) {
443
- return hs.previousOrNext(el, 1);
444
- },
445
-
446
- keyHandler : function(e) {
447
- if (!e) e = window.event;
448
- if (!e.target) e.target = e.srcElement; // ie
449
- if (typeof e.target.form != 'undefined') return true; // form element has focus
450
- var exp = hs.getExpander();
451
-
452
- var op = null;
453
- switch (e.keyCode) {
454
- case 70: // f
455
- if (exp) exp.doFullExpand();
456
- return true;
457
- case 32: // Space
458
- case 34: // Page Down
459
- case 39: // Arrow right
460
- case 40: // Arrow down
461
- op = 1;
462
- break;
463
- case 8: // Backspace
464
- case 33: // Page Up
465
- case 37: // Arrow left
466
- case 38: // Arrow up
467
- op = -1;
468
- break;
469
- case 27: // Escape
470
- case 13: // Enter
471
- op = 0;
472
- }
473
- if (op !== null) {
474
- hs.removeEventListener(document, window.opera ? 'keypress' : 'keydown', hs.keyHandler);
475
- if (!hs.enableKeyListener) return true;
476
-
477
- if (e.preventDefault) e.preventDefault();
478
- else e.returnValue = false;
479
- if (exp) {
480
- if (op == 0) {
481
- exp.close();
482
- } else {
483
- hs.previousOrNext(exp.key, op);
484
- }
485
- return false;
486
- }
487
- }
488
- return true;
489
- },
490
-
491
-
492
- registerOverlay : function (overlay) {
493
- hs.push(hs.overlays, hs.extend(overlay, { hsId: 'hsId'+ hs.idCounter++ } ));
494
- },
495
-
496
-
497
- getWrapperKey : function (element, expOnly) {
498
- var el, re = /^highslide-wrapper-([0-9]+)$/;
499
- // 1. look in open expanders
500
- el = element;
501
- while (el.parentNode) {
502
- if (el.id && re.test(el.id)) return el.id.replace(re, "$1");
503
- el = el.parentNode;
504
- }
505
- // 2. look in thumbnail
506
- if (!expOnly) {
507
- el = element;
508
- while (el.parentNode) {
509
- if (el.tagName && hs.isHsAnchor(el)) {
510
- for (var key = 0; key < hs.expanders.length; key++) {
511
- var exp = hs.expanders[key];
512
- if (exp && exp.a == el) return key;
513
- }
514
- }
515
- el = el.parentNode;
516
- }
517
- }
518
- return null;
519
- },
520
-
521
- getExpander : function (el, expOnly) {
522
- if (typeof el == 'undefined') return hs.expanders[hs.focusKey] || null;
523
- if (typeof el == 'number') return hs.expanders[el] || null;
524
- if (typeof el == 'string') el = hs.$(el);
525
- return hs.expanders[hs.getWrapperKey(el, expOnly)] || null;
526
- },
527
-
528
- isHsAnchor : function (a) {
529
- return (a.onclick && a.onclick.toString().replace(/\s/g, ' ').match(/hs.(htmlE|e)xpand/));
530
- },
531
-
532
- reOrder : function () {
533
- for (var i = 0; i < hs.expanders.length; i++)
534
- if (hs.expanders[i] && hs.expanders[i].isExpanded) hs.focusTopmost();
535
- },
536
-
537
- mouseClickHandler : function(e)
538
- {
539
- if (!e) e = window.event;
540
- if (e.button > 1) return true;
541
- if (!e.target) e.target = e.srcElement;
542
-
543
- var el = e.target;
544
- while (el.parentNode
545
- && !(/highslide-(image|move|html|resize)/.test(el.className)))
546
- {
547
- el = el.parentNode;
548
- }
549
- var exp = hs.getExpander(el);
550
- if (exp && (exp.isClosing || !exp.isExpanded)) return true;
551
-
552
- if (exp && e.type == 'mousedown') {
553
- if (e.target.form) return true;
554
- var match = el.className.match(/highslide-(image|move|resize)/);
555
- if (match) {
556
- hs.dragArgs = {
557
- exp: exp ,
558
- type: match[1],
559
- left: exp.x.pos,
560
- width: exp.x.size,
561
- top: exp.y.pos,
562
- height: exp.y.size,
563
- clickX: e.clientX,
564
- clickY: e.clientY
565
- };
566
-
567
-
568
- hs.addEventListener(document, 'mousemove', hs.dragHandler);
569
- if (e.preventDefault) e.preventDefault(); // FF
570
-
571
- if (/highslide-(image|html)-blur/.test(exp.content.className)) {
572
- exp.focus();
573
- hs.hasFocused = true;
574
- }
575
- return false;
576
- }
577
- else if (/highslide-html/.test(el.className) && hs.focusKey != exp.key) {
578
- exp.focus();
579
- exp.doShowHide('hidden');
580
- }
581
- } else if (e.type == 'mouseup') {
582
-
583
- hs.removeEventListener(document, 'mousemove', hs.dragHandler);
584
-
585
- if (hs.dragArgs) {
586
- if (hs.styleRestoreCursor && hs.dragArgs.type == 'image')
587
- hs.dragArgs.exp.content.style.cursor = hs.styleRestoreCursor;
588
- var hasDragged = hs.dragArgs.hasDragged;
589
-
590
- if (!hasDragged &&!hs.hasFocused && !/(move|resize)/.test(hs.dragArgs.type)) {
591
- exp.close();
592
- }
593
- else if (hasDragged || (!hasDragged && hs.hasHtmlExpanders)) {
594
- hs.dragArgs.exp.doShowHide('hidden');
595
- }
596
-
597
- if (hs.dragArgs.exp.releaseMask)
598
- hs.dragArgs.exp.releaseMask.style.display = 'none';
599
- hs.hasFocused = false;
600
- hs.dragArgs = null;
601
-
602
- } else if (/highslide-image-blur/.test(el.className)) {
603
- el.style.cursor = hs.styleRestoreCursor;
604
- }
605
- }
606
- return false;
607
- },
608
-
609
- dragHandler : function(e)
610
- {
611
- if (!hs.dragArgs) return true;
612
- if (!e) e = window.event;
613
- var a = hs.dragArgs, exp = a.exp;
614
- if (exp.iframe) {
615
- if (!exp.releaseMask) exp.releaseMask = hs.createElement('div', null,
616
- { position: 'absolute', width: exp.x.size+'px', height: exp.y.size+'px',
617
- left: exp.x.cb+'px', top: exp.y.cb+'px', zIndex: 4, background: (hs.ieLt9 ? 'white' : 'none'),
618
- opacity: 0.01 },
619
- exp.wrapper, true);
620
- if (exp.releaseMask.style.display == 'none')
621
- exp.releaseMask.style.display = '';
622
- }
623
-
624
- a.dX = e.clientX - a.clickX;
625
- a.dY = e.clientY - a.clickY;
626
-
627
- var distance = Math.sqrt(Math.pow(a.dX, 2) + Math.pow(a.dY, 2));
628
- if (!a.hasDragged) a.hasDragged = (a.type != 'image' && distance > 0)
629
- || (distance > (hs.dragSensitivity || 5));
630
-
631
- if (a.hasDragged && e.clientX > 5 && e.clientY > 5) {
632
-
633
- if (a.type == 'resize') exp.resize(a);
634
- else {
635
- exp.moveTo(a.left + a.dX, a.top + a.dY);
636
- if (a.type == 'image') exp.content.style.cursor = 'move';
637
- }
638
- }
639
- return false;
640
- },
641
-
642
- wrapperMouseHandler : function (e) {
643
- try {
644
- if (!e) e = window.event;
645
- var over = /mouseover/i.test(e.type);
646
- if (!e.target) e.target = e.srcElement; // ie
647
- if (!e.relatedTarget) e.relatedTarget =
648
- over ? e.fromElement : e.toElement; // ie
649
- var exp = hs.getExpander(e.target);
650
- if (!exp.isExpanded) return;
651
- if (!exp || !e.relatedTarget || hs.getExpander(e.relatedTarget, true) == exp
652
- || hs.dragArgs) return;
653
- for (var i = 0; i < exp.overlays.length; i++) (function() {
654
- var o = hs.$('hsId'+ exp.overlays[i]);
655
- if (o && o.hideOnMouseOut) {
656
- if (over) hs.setStyles(o, { visibility: 'visible', display: '' });
657
- hs.animate(o, { opacity: over ? o.opacity : 0 }, o.dur);
658
- }
659
- })();
660
- } catch (e) {}
661
- },
662
- addEventListener : function (el, event, func) {
663
- if (el == document && event == 'ready') {
664
- hs.push(hs.onReady, func);
665
- }
666
- try {
667
- el.addEventListener(event, func, false);
668
- } catch (e) {
669
- try {
670
- el.detachEvent('on'+ event, func);
671
- el.attachEvent('on'+ event, func);
672
- } catch (e) {
673
- el['on'+ event] = func;
674
- }
675
- }
676
- },
677
-
678
- removeEventListener : function (el, event, func) {
679
- try {
680
- el.removeEventListener(event, func, false);
681
- } catch (e) {
682
- try {
683
- el.detachEvent('on'+ event, func);
684
- } catch (e) {
685
- el['on'+ event] = null;
686
- }
687
- }
688
- },
689
-
690
- preloadFullImage : function (i) {
691
- if (hs.continuePreloading && hs.preloadTheseImages[i] && hs.preloadTheseImages[i] != 'undefined') {
692
- var img = document.createElement('img');
693
- img.onload = function() {
694
- img = null;
695
- hs.preloadFullImage(i + 1);
696
- };
697
- img.src = hs.preloadTheseImages[i];
698
- }
699
- },
700
- preloadImages : function (number) {
701
- if (number && typeof number != 'object') hs.numberOfImagesToPreload = number;
702
-
703
- var arr = hs.getAnchors();
704
- for (var i = 0; i < arr.images.length && i < hs.numberOfImagesToPreload; i++) {
705
- hs.push(hs.preloadTheseImages, hs.getSrc(arr.images[i]));
706
- }
707
-
708
- // preload outlines
709
- if (hs.outlineType) new hs.Outline(hs.outlineType, function () { hs.preloadFullImage(0)} );
710
- else
711
-
712
- hs.preloadFullImage(0);
713
-
714
- // preload cursor
715
- if (hs.restoreCursor) var cur = hs.createElement('img', { src: hs.graphicsDir + hs.restoreCursor });
716
- },
717
-
718
-
719
- init : function () {
720
- if (!hs.container) {
721
-
722
- hs.ieLt7 = hs.ie && hs.uaVersion < 7;
723
- hs.ieLt9 = hs.ie && hs.uaVersion < 9;
724
-
725
- hs.getPageSize();
726
- hs.ie6SSL = hs.ieLt7 && location.protocol == 'https:';
727
- for (var x in hs.langDefaults) {
728
- if (typeof hs[x] != 'undefined') hs.lang[x] = hs[x];
729
- else if (typeof hs.lang[x] == 'undefined' && typeof hs.langDefaults[x] != 'undefined')
730
- hs.lang[x] = hs.langDefaults[x];
731
- }
732
-
733
- hs.container = hs.createElement('div', {
734
- className: 'highslide-container'
735
- }, {
736
- position: 'absolute',
737
- left: 0,
738
- top: 0,
739
- width: '100%',
740
- zIndex: hs.zIndexCounter,
741
- direction: 'ltr'
742
- },
743
- document.body,
744
- true
745
- );
746
- hs.loading = hs.createElement('a', {
747
- className: 'highslide-loading',
748
- title: hs.lang.loadingTitle,
749
- innerHTML: hs.lang.loadingText,
750
- href: 'javascript:;'
751
- }, {
752
- position: 'absolute',
753
- top: '-9999px',
754
- opacity: hs.loadingOpacity,
755
- zIndex: 1
756
- }, hs.container
757
- );
758
- hs.garbageBin = hs.createElement('div', null, { display: 'none' }, hs.container);
759
- hs.clearing = hs.createElement('div', null,
760
- { clear: 'both', paddingTop: '1px' }, null, true);
761
-
762
- // http://www.robertpenner.com/easing/
763
- Math.linearTween = function (t, b, c, d) {
764
- return c*t/d + b;
765
- };
766
- Math.easeInQuad = function (t, b, c, d) {
767
- return c*(t/=d)*t + b;
768
- };
769
-
770
- hs.hideSelects = hs.ieLt7;
771
- hs.hideIframes = ((window.opera && hs.uaVersion < 9) || navigator.vendor == 'KDE'
772
- || (hs.ieLt7 && hs.uaVersion < 5.5));
773
- }
774
- },
775
- ready : function() {
776
- if (hs.isReady) return;
777
- hs.isReady = true;
778
- for (var i = 0; i < hs.onReady.length; i++) hs.onReady[i]();
779
- },
780
-
781
- updateAnchors : function() {
782
- var el, els, all = [], images = [], htmls = [],groups = {}, re;
783
-
784
- for (var i = 0; i < hs.openerTagNames.length; i++) {
785
- els = document.getElementsByTagName(hs.openerTagNames[i]);
786
- for (var j = 0; j < els.length; j++) {
787
- el = els[j];
788
- re = hs.isHsAnchor(el);
789
- if (re) {
790
- hs.push(all, el);
791
- if (re[0] == 'hs.expand') hs.push(images, el);
792
- else if (re[0] == 'hs.htmlExpand') hs.push(htmls, el);
793
- var g = hs.getParam(el, 'slideshowGroup') || 'none';
794
- if (!groups[g]) groups[g] = [];
795
- hs.push(groups[g], el);
796
- }
797
- }
798
- }
799
- hs.anchors = { all: all, groups: groups, images: images, htmls: htmls };
800
- return hs.anchors;
801
-
802
- },
803
-
804
- getAnchors : function() {
805
- return hs.anchors || hs.updateAnchors();
806
- },
807
-
808
-
809
- close : function(el) {
810
- var exp = hs.getExpander(el);
811
- if (exp) exp.close();
812
- return false;
813
- }
814
- }; // end hs object
815
- hs.fx = function( elem, options, prop ){
816
- this.options = options;
817
- this.elem = elem;
818
- this.prop = prop;
819
-
820
- if (!options.orig) options.orig = {};
821
- };
822
- hs.fx.prototype = {
823
- update: function(){
824
- (hs.fx.step[this.prop] || hs.fx.step._default)(this);
825
-
826
- if (this.options.step)
827
- this.options.step.call(this.elem, this.now, this);
828
-
829
- },
830
- custom: function(from, to, unit){
831
- this.startTime = (new Date()).getTime();
832
- this.start = from;
833
- this.end = to;
834
- this.unit = unit;// || this.unit || "px";
835
- this.now = this.start;
836
- this.pos = this.state = 0;
837
-
838
- var self = this;
839
- function t(gotoEnd){
840
- return self.step(gotoEnd);
841
- }
842
-
843
- t.elem = this.elem;
844
-
845
- if ( t() && hs.timers.push(t) == 1 ) {
846
- hs.timerId = setInterval(function(){
847
- var timers = hs.timers;
848
-
849
- for ( var i = 0; i < timers.length; i++ )
850
- if ( !timers[i]() )
851
- timers.splice(i--, 1);
852
-
853
- if ( !timers.length ) {
854
- clearInterval(hs.timerId);
855
- }
856
- }, 13);
857
- }
858
- },
859
- step: function(gotoEnd){
860
- var t = (new Date()).getTime();
861
- if ( gotoEnd || t >= this.options.duration + this.startTime ) {
862
- this.now = this.end;
863
- this.pos = this.state = 1;
864
- this.update();
865
-
866
- this.options.curAnim[ this.prop ] = true;
867
-
868
- var done = true;
869
- for ( var i in this.options.curAnim )
870
- if ( this.options.curAnim[i] !== true )
871
- done = false;
872
-
873
- if ( done ) {
874
- if (this.options.complete) this.options.complete.call(this.elem);
875
- }
876
- return false;
877
- } else {
878
- var n = t - this.startTime;
879
- this.state = n / this.options.duration;
880
- this.pos = this.options.easing(n, 0, 1, this.options.duration);
881
- this.now = this.start + ((this.end - this.start) * this.pos);
882
- this.update();
883
- }
884
- return true;
885
- }
886
-
887
- };
888
-
889
- hs.extend( hs.fx, {
890
- step: {
891
-
892
- opacity: function(fx){
893
- hs.setStyles(fx.elem, { opacity: fx.now });
894
- },
895
-
896
- _default: function(fx){
897
- try {
898
- if ( fx.elem.style && fx.elem.style[ fx.prop ] != null )
899
- fx.elem.style[ fx.prop ] = fx.now + fx.unit;
900
- else
901
- fx.elem[ fx.prop ] = fx.now;
902
- } catch (e) {}
903
- }
904
- }
905
- });
906
-
907
- hs.Outline = function (outlineType, onLoad) {
908
- this.onLoad = onLoad;
909
- this.outlineType = outlineType;
910
- var v = hs.uaVersion, tr;
911
-
912
- this.hasAlphaImageLoader = hs.ie && hs.uaVersion < 7;
913
- if (!outlineType) {
914
- if (onLoad) onLoad();
915
- return;
916
- }
917
-
918
- hs.init();
919
- this.table = hs.createElement(
920
- 'table', {
921
- cellSpacing: 0
922
- }, {
923
- visibility: 'hidden',
924
- position: 'absolute',
925
- borderCollapse: 'collapse',
926
- width: 0
927
- },
928
- hs.container,
929
- true
930
- );
931
- var tbody = hs.createElement('tbody', null, null, this.table, 1);
932
-
933
- this.td = [];
934
- for (var i = 0; i <= 8; i++) {
935
- if (i % 3 == 0) tr = hs.createElement('tr', null, { height: 'auto' }, tbody, true);
936
- this.td[i] = hs.createElement('td', null, null, tr, true);
937
- var style = i != 4 ? { lineHeight: 0, fontSize: 0} : { position : 'relative' };
938
- hs.setStyles(this.td[i], style);
939
- }
940
- this.td[4].className = outlineType +' highslide-outline';
941
-
942
- this.preloadGraphic();
943
- };
944
-
945
- hs.Outline.prototype = {
946
- preloadGraphic : function () {
947
- var src = hs.graphicsDir + (hs.outlinesDir || "outlines/")+ this.outlineType +".png";
948
-
949
- var appendTo = hs.safari && hs.uaVersion < 525 ? hs.container : null;
950
- this.graphic = hs.createElement('img', null, { position: 'absolute',
951
- top: '-9999px' }, appendTo, true); // for onload trigger
952
-
953
- var pThis = this;
954
- this.graphic.onload = function() { pThis.onGraphicLoad(); };
955
-
956
- this.graphic.src = src;
957
- },
958
-
959
- onGraphicLoad : function () {
960
- var o = this.offset = this.graphic.width / 4,
961
- pos = [[0,0],[0,-4],[-2,0],[0,-8],0,[-2,-8],[0,-2],[0,-6],[-2,-2]],
962
- dim = { height: (2*o) +'px', width: (2*o) +'px' };
963
- for (var i = 0; i <= 8; i++) {
964
- if (pos[i]) {
965
- if (this.hasAlphaImageLoader) {
966
- var w = (i == 1 || i == 7) ? '100%' : this.graphic.width +'px';
967
- var div = hs.createElement('div', null, { width: '100%', height: '100%', position: 'relative', overflow: 'hidden'}, this.td[i], true);
968
- hs.createElement ('div', null, {
969
- filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod=scale, src='"+ this.graphic.src + "')",
970
- position: 'absolute',
971
- width: w,
972
- height: this.graphic.height +'px',
973
- left: (pos[i][0]*o)+'px',
974
- top: (pos[i][1]*o)+'px'
975
- },
976
- div,
977
- true);
978
- } else {
979
- hs.setStyles(this.td[i], { background: 'url('+ this.graphic.src +') '+ (pos[i][0]*o)+'px '+(pos[i][1]*o)+'px'});
980
- }
981
-
982
- if (window.opera && (i == 3 || i ==5))
983
- hs.createElement('div', null, dim, this.td[i], true);
984
-
985
- hs.setStyles (this.td[i], dim);
986
- }
987
- }
988
- this.graphic = null;
989
- if (hs.pendingOutlines[this.outlineType]) hs.pendingOutlines[this.outlineType].destroy();
990
- hs.pendingOutlines[this.outlineType] = this;
991
- if (this.onLoad) this.onLoad();
992
- },
993
-
994
- setPosition : function (pos, offset, vis, dur, easing) {
995
- var exp = this.exp,
996
- stl = exp.wrapper.style,
997
- offset = offset || 0,
998
- pos = pos || {
999
- x: exp.x.pos + offset,
1000
- y: exp.y.pos + offset,
1001
- w: exp.x.get('wsize') - 2 * offset,
1002
- h: exp.y.get('wsize') - 2 * offset
1003
- };
1004
- if (vis) this.table.style.visibility = (pos.h >= 4 * this.offset)
1005
- ? 'visible' : 'hidden';
1006
- hs.setStyles(this.table, {
1007
- left: (pos.x - this.offset) +'px',
1008
- top: (pos.y - this.offset) +'px',
1009
- width: (pos.w + 2 * this.offset) +'px'
1010
- });
1011
-
1012
- pos.w -= 2 * this.offset;
1013
- pos.h -= 2 * this.offset;
1014
- hs.setStyles (this.td[4], {
1015
- width: pos.w >= 0 ? pos.w +'px' : 0,
1016
- height: pos.h >= 0 ? pos.h +'px' : 0
1017
- });
1018
- if (this.hasAlphaImageLoader) this.td[3].style.height
1019
- = this.td[5].style.height = this.td[4].style.height;
1020
-
1021
- },
1022
-
1023
- destroy : function(hide) {
1024
- if (hide) this.table.style.visibility = 'hidden';
1025
- else hs.discardElement(this.table);
1026
- }
1027
- };
1028
-
1029
- hs.Dimension = function(exp, dim) {
1030
- this.exp = exp;
1031
- this.dim = dim;
1032
- this.ucwh = dim == 'x' ? 'Width' : 'Height';
1033
- this.wh = this.ucwh.toLowerCase();
1034
- this.uclt = dim == 'x' ? 'Left' : 'Top';
1035
- this.lt = this.uclt.toLowerCase();
1036
- this.ucrb = dim == 'x' ? 'Right' : 'Bottom';
1037
- this.rb = this.ucrb.toLowerCase();
1038
- this.p1 = this.p2 = 0;
1039
- };
1040
- hs.Dimension.prototype = {
1041
- get : function(key) {
1042
- switch (key) {
1043
- case 'loadingPos':
1044
- return this.tpos + this.tb + (this.t - hs.loading['offset'+ this.ucwh]) / 2;
1045
- case 'wsize':
1046
- return this.size + 2 * this.cb + this.p1 + this.p2;
1047
- case 'fitsize':
1048
- return this.clientSize - this.marginMin - this.marginMax;
1049
- case 'maxsize':
1050
- return this.get('fitsize') - 2 * this.cb - this.p1 - this.p2 ;
1051
- case 'opos':
1052
- return this.pos - (this.exp.outline ? this.exp.outline.offset : 0);
1053
- case 'osize':
1054
- return this.get('wsize') + (this.exp.outline ? 2*this.exp.outline.offset : 0);
1055
- case 'imgPad':
1056
- return this.imgSize ? Math.round((this.size - this.imgSize) / 2) : 0;
1057
-
1058
- }
1059
- },
1060
- calcBorders: function() {
1061
- // correct for borders
1062
- this.cb = (this.exp.content['offset'+ this.ucwh] - this.t) / 2;
1063
-
1064
- this.marginMax = hs['margin'+ this.ucrb];
1065
- },
1066
- calcThumb: function() {
1067
- this.t = this.exp.el[this.wh] ? parseInt(this.exp.el[this.wh]) :
1068
- this.exp.el['offset'+ this.ucwh];
1069
- this.tpos = this.exp.tpos[this.dim];
1070
- this.tb = (this.exp.el['offset'+ this.ucwh] - this.t) / 2;
1071
- if (this.tpos == 0 || this.tpos == -1) {
1072
- this.tpos = (hs.page[this.wh] / 2) + hs.page['scroll'+ this.uclt];
1073
- };
1074
- },
1075
- calcExpanded: function() {
1076
- var exp = this.exp;
1077
- this.justify = 'auto';
1078
-
1079
-
1080
- // size and position
1081
- this.pos = this.tpos - this.cb + this.tb;
1082
-
1083
- if (this.maxHeight && this.dim == 'x')
1084
- exp.maxWidth = Math.min(exp.maxWidth || this.full, exp.maxHeight * this.full / exp.y.full);
1085
-
1086
- this.size = Math.min(this.full, exp['max'+ this.ucwh] || this.full);
1087
- this.minSize = exp.allowSizeReduction ?
1088
- Math.min(exp['min'+ this.ucwh], this.full) :this.full;
1089
- if (exp.isImage && exp.useBox) {
1090
- this.size = exp[this.wh];
1091
- this.imgSize = this.full;
1092
- }
1093
- if (this.dim == 'x' && hs.padToMinWidth) this.minSize = exp.minWidth;
1094
- this.marginMin = hs['margin'+ this.uclt];
1095
- this.scroll = hs.page['scroll'+ this.uclt];
1096
- this.clientSize = hs.page[this.wh];
1097
- },
1098
- setSize: function(i) {
1099
- var exp = this.exp;
1100
- if (exp.isImage && (exp.useBox || hs.padToMinWidth)) {
1101
- this.imgSize = i;
1102
- this.size = Math.max(this.size, this.imgSize);
1103
- exp.content.style[this.lt] = this.get('imgPad')+'px';
1104
- } else
1105
- this.size = i;
1106
-
1107
- exp.content.style[this.wh] = i +'px';
1108
- exp.wrapper.style[this.wh] = this.get('wsize') +'px';
1109
- if (exp.outline) exp.outline.setPosition();
1110
- if (exp.releaseMask) exp.releaseMask.style[this.wh] = i +'px';
1111
- if (this.dim == 'y' && exp.iDoc && exp.body.style.height != 'auto') try {
1112
- exp.iDoc.body.style.overflow = 'auto';
1113
- } catch (e) {}
1114
- if (exp.isHtml) {
1115
- var d = exp.scrollerDiv;
1116
- if (this.sizeDiff === undefined)
1117
- this.sizeDiff = exp.innerContent['offset'+ this.ucwh] - d['offset'+ this.ucwh];
1118
- d.style[this.wh] = (this.size - this.sizeDiff) +'px';
1119
-
1120
- if (this.dim == 'x') exp.mediumContent.style.width = 'auto';
1121
- if (exp.body) exp.body.style[this.wh] = 'auto';
1122
- }
1123
- if (this.dim == 'x' && exp.overlayBox) exp.sizeOverlayBox(true);
1124
- },
1125
- setPos: function(i) {
1126
- this.pos = i;
1127
- this.exp.wrapper.style[this.lt] = i +'px';
1128
-
1129
- if (this.exp.outline) this.exp.outline.setPosition();
1130
-
1131
- }
1132
- };
1133
-
1134
- hs.Expander = function(a, params, custom, contentType) {
1135
- if (document.readyState && hs.ie && !hs.isReady) {
1136
- hs.addEventListener(document, 'ready', function() {
1137
- new hs.Expander(a, params, custom, contentType);
1138
- });
1139
- return;
1140
- }
1141
- this.a = a;
1142
- this.custom = custom;
1143
- this.contentType = contentType || 'image';
1144
- this.isHtml = (contentType == 'html');
1145
- this.isImage = !this.isHtml;
1146
-
1147
- hs.continuePreloading = false;
1148
- this.overlays = [];
1149
- hs.init();
1150
- var key = this.key = hs.expanders.length;
1151
- // override inline parameters
1152
- for (var i = 0; i < hs.overrides.length; i++) {
1153
- var name = hs.overrides[i];
1154
- this[name] = params && typeof params[name] != 'undefined' ?
1155
- params[name] : hs[name];
1156
- }
1157
- if (!this.src) this.src = a.href;
1158
-
1159
- // get thumb
1160
- var el = (params && params.thumbnailId) ? hs.$(params.thumbnailId) : a;
1161
- el = this.thumb = el.getElementsByTagName('img')[0] || el;
1162
- this.thumbsUserSetId = el.id || a.id;
1163
-
1164
- // check if already open
1165
- for (var i = 0; i < hs.expanders.length; i++) {
1166
- if (hs.expanders[i] && hs.expanders[i].a == a) {
1167
- hs.expanders[i].focus();
1168
- return false;
1169
- }
1170
- }
1171
-
1172
- // cancel other
1173
- if (!hs.allowSimultaneousLoading) for (var i = 0; i < hs.expanders.length; i++) {
1174
- if (hs.expanders[i] && hs.expanders[i].thumb != el && !hs.expanders[i].onLoadStarted) {
1175
- hs.expanders[i].cancelLoading();
1176
- }
1177
- }
1178
- hs.expanders[key] = this;
1179
- if (!hs.allowMultipleInstances && !hs.upcoming) {
1180
- if (hs.expanders[key-1]) hs.expanders[key-1].close();
1181
- if (typeof hs.focusKey != 'undefined' && hs.expanders[hs.focusKey])
1182
- hs.expanders[hs.focusKey].close();
1183
- }
1184
-
1185
- // initiate metrics
1186
- this.el = el;
1187
- this.tpos = this.pageOrigin || hs.getPosition(el);
1188
- hs.getPageSize();
1189
- var x = this.x = new hs.Dimension(this, 'x');
1190
- x.calcThumb();
1191
- var y = this.y = new hs.Dimension(this, 'y');
1192
- y.calcThumb();
1193
- this.wrapper = hs.createElement(
1194
- 'div', {
1195
- id: 'highslide-wrapper-'+ this.key,
1196
- className: 'highslide-wrapper '+ this.wrapperClassName
1197
- }, {
1198
- visibility: 'hidden',
1199
- position: 'absolute',
1200
- zIndex: hs.zIndexCounter += 2
1201
- }, null, true );
1202
-
1203
- this.wrapper.onmouseover = this.wrapper.onmouseout = hs.wrapperMouseHandler;
1204
- if (this.contentType == 'image' && this.outlineWhileAnimating == 2)
1205
- this.outlineWhileAnimating = 0;
1206
-
1207
- // get the outline
1208
- if (!this.outlineType) {
1209
- this[this.contentType +'Create']();
1210
-
1211
- } else if (hs.pendingOutlines[this.outlineType]) {
1212
- this.connectOutline();
1213
- this[this.contentType +'Create']();
1214
-
1215
- } else {
1216
- this.showLoading();
1217
- var exp = this;
1218
- new hs.Outline(this.outlineType,
1219
- function () {
1220
- exp.connectOutline();
1221
- exp[exp.contentType +'Create']();
1222
- }
1223
- );
1224
- }
1225
- return true;
1226
- };
1227
-
1228
- hs.Expander.prototype = {
1229
- error : function(e) {
1230
- if (hs.debug) alert ('Line '+ e.lineNumber +': '+ e.message);
1231
- else window.location.href = this.src;
1232
- },
1233
-
1234
- connectOutline : function() {
1235
- var outline = this.outline = hs.pendingOutlines[this.outlineType];
1236
- outline.exp = this;
1237
- outline.table.style.zIndex = this.wrapper.style.zIndex - 1;
1238
- hs.pendingOutlines[this.outlineType] = null;
1239
- },
1240
-
1241
- showLoading : function() {
1242
- if (this.onLoadStarted || this.loading) return;
1243
-
1244
- this.loading = hs.loading;
1245
- var exp = this;
1246
- this.loading.onclick = function() {
1247
- exp.cancelLoading();
1248
- };
1249
- var exp = this,
1250
- l = this.x.get('loadingPos') +'px',
1251
- t = this.y.get('loadingPos') +'px';
1252
- setTimeout(function () {
1253
- if (exp.loading) hs.setStyles(exp.loading, { left: l, top: t, zIndex: hs.zIndexCounter++ })}
1254
- , 100);
1255
- },
1256
-
1257
- imageCreate : function() {
1258
- var exp = this;
1259
-
1260
- var img = document.createElement('img');
1261
- this.content = img;
1262
- img.onload = function () {
1263
- if (hs.expanders[exp.key]) exp.contentLoaded();
1264
- };
1265
- if (hs.blockRightClick) img.oncontextmenu = function() { return false; };
1266
- img.className = 'highslide-image';
1267
- hs.setStyles(img, {
1268
- visibility: 'hidden',
1269
- display: 'block',
1270
- position: 'absolute',
1271
- maxWidth: '9999px',
1272
- zIndex: 3
1273
- });
1274
- img.title = hs.lang.restoreTitle;
1275
- if (hs.safari && hs.uaVersion < 525) hs.container.appendChild(img);
1276
- if (hs.ie && hs.flushImgSize) img.src = null;
1277
- img.src = this.src;
1278
-
1279
- this.showLoading();
1280
- },
1281
-
1282
- htmlCreate : function () {
1283
-
1284
- this.content = hs.getCacheBinding(this.a);
1285
- if (!this.content)
1286
- this.content = hs.getNode(this.contentId);
1287
- if (!this.content)
1288
- this.content = hs.getSelfRendered();
1289
- this.getInline(['maincontent']);
1290
- if (this.maincontent) {
1291
- var body = hs.getElementByClass(this.content, 'div', 'highslide-body');
1292
- if (body) body.appendChild(this.maincontent);
1293
- this.maincontent.style.display = 'block';
1294
- }
1295
-
1296
- var innerContent = this.innerContent = this.content;
1297
-
1298
- if (/(swf|iframe)/.test(this.objectType)) this.setObjContainerSize(innerContent);
1299
-
1300
- // the content tree
1301
- hs.container.appendChild(this.wrapper);
1302
- hs.setStyles( this.wrapper, {
1303
- position: 'static',
1304
- padding: '0 '+ hs.marginRight +'px 0 '+ hs.marginLeft +'px'
1305
- });
1306
- this.content = hs.createElement(
1307
- 'div', {
1308
- className: 'highslide-html'
1309
- }, {
1310
- position: 'relative',
1311
- zIndex: 3,
1312
- height: 0,
1313
- overflow: 'hidden'
1314
- },
1315
- this.wrapper
1316
- );
1317
- this.mediumContent = hs.createElement('div', null, null, this.content, 1);
1318
- this.mediumContent.appendChild(innerContent);
1319
-
1320
- hs.setStyles (innerContent, {
1321
- position: 'relative',
1322
- display: 'block',
1323
- direction: hs.lang.cssDirection || ''
1324
- });
1325
- if (this.width) innerContent.style.width = this.width +'px';
1326
- if (this.height) hs.setStyles(innerContent, {
1327
- height: this.height +'px',
1328
- overflow: 'hidden'
1329
- });
1330
- if (innerContent.offsetWidth < this.minWidth)
1331
- innerContent.style.width = this.minWidth +'px';
1332
-
1333
-
1334
-
1335
- if (this.objectType == 'ajax' && !hs.getCacheBinding(this.a)) {
1336
- this.showLoading();
1337
- var exp = this;
1338
- var ajax = new hs.Ajax(this.a, innerContent);
1339
- ajax.src = this.src;
1340
- ajax.onLoad = function () { if (hs.expanders[exp.key]) exp.contentLoaded(); };
1341
- ajax.onError = function () { location.href = exp.src; };
1342
- ajax.run();
1343
- }
1344
- else
1345
-
1346
- if (this.objectType == 'iframe' && this.objectLoadTime == 'before') {
1347
- this.writeExtendedContent();
1348
- }
1349
- else
1350
- this.contentLoaded();
1351
- },
1352
-
1353
- contentLoaded : function() {
1354
- try {
1355
- if (!this.content) return;
1356
- this.content.onload = null;
1357
- if (this.onLoadStarted) return;
1358
- else this.onLoadStarted = true;
1359
-
1360
- var x = this.x, y = this.y;
1361
-
1362
- if (this.loading) {
1363
- hs.setStyles(this.loading, { top: '-9999px' });
1364
- this.loading = null;
1365
- }
1366
- if (this.isImage) {
1367
- x.full = this.content.width;
1368
- y.full = this.content.height;
1369
-
1370
- hs.setStyles(this.content, {
1371
- width: x.t +'px',
1372
- height: y.t +'px'
1373
- });
1374
- this.wrapper.appendChild(this.content);
1375
- hs.container.appendChild(this.wrapper);
1376
- } else if (this.htmlGetSize) this.htmlGetSize();
1377
-
1378
- x.calcBorders();
1379
- y.calcBorders();
1380
-
1381
- hs.setStyles (this.wrapper, {
1382
- left: (x.tpos + x.tb - x.cb) +'px',
1383
- top: (y.tpos + x.tb - y.cb) +'px'
1384
- });
1385
- this.getOverlays();
1386
-
1387
- var ratio = x.full / y.full;
1388
- x.calcExpanded();
1389
- this.justify(x);
1390
-
1391
- y.calcExpanded();
1392
- this.justify(y);
1393
- if (this.isHtml) this.htmlSizeOperations();
1394
- if (this.overlayBox) this.sizeOverlayBox(0, 1);
1395
-
1396
-
1397
- if (this.allowSizeReduction) {
1398
- if (this.isImage)
1399
- this.correctRatio(ratio);
1400
- else this.fitOverlayBox();
1401
- if (this.isImage && this.x.full > (this.x.imgSize || this.x.size)) {
1402
- this.createFullExpand();
1403
- if (this.overlays.length == 1) this.sizeOverlayBox();
1404
- }
1405
- }
1406
- this.show();
1407
-
1408
- } catch (e) {
1409
- this.error(e);
1410
- }
1411
- },
1412
-
1413
-
1414
- setObjContainerSize : function(parent, auto) {
1415
- var c = hs.getElementByClass(parent, 'DIV', 'highslide-body');
1416
- if (/(iframe|swf)/.test(this.objectType)) {
1417
- if (this.objectWidth) c.style.width = this.objectWidth +'px';
1418
- if (this.objectHeight) c.style.height = this.objectHeight +'px';
1419
- }
1420
- },
1421
-
1422
- writeExtendedContent : function () {
1423
- if (this.hasExtendedContent) return;
1424
- var exp = this;
1425
- this.body = hs.getElementByClass(this.innerContent, 'DIV', 'highslide-body');
1426
- if (this.objectType == 'iframe') {
1427
- this.showLoading();
1428
- var ruler = hs.clearing.cloneNode(1);
1429
- this.body.appendChild(ruler);
1430
- this.newWidth = this.innerContent.offsetWidth;
1431
- if (!this.objectWidth) this.objectWidth = ruler.offsetWidth;
1432
- var hDiff = this.innerContent.offsetHeight - this.body.offsetHeight,
1433
- h = this.objectHeight || hs.page.height - hDiff - hs.marginTop - hs.marginBottom,
1434
- onload = this.objectLoadTime == 'before' ?
1435
- ' onload="if (hs.expanders['+ this.key +']) hs.expanders['+ this.key +'].contentLoaded()" ' : '';
1436
- this.body.innerHTML += '<iframe name="hs'+ (new Date()).getTime() +'" frameborder="0" key="'+ this.key +'" '
1437
- +' style="width:'+ this.objectWidth +'px; height:'+ h +'px" '
1438
- + onload +' src="'+ this.src +'" ></iframe>';
1439
- this.ruler = this.body.getElementsByTagName('div')[0];
1440
- this.iframe = this.body.getElementsByTagName('iframe')[0];
1441
-
1442
- if (this.objectLoadTime == 'after') this.correctIframeSize();
1443
-
1444
- }
1445
- if (this.objectType == 'swf') {
1446
- this.body.id = this.body.id || 'hs-flash-id-' + this.key;
1447
- var a = this.swfOptions;
1448
- if (!a.params) a.params = {};
1449
- if (typeof a.params.wmode == 'undefined') a.params.wmode = 'transparent';
1450
- if (swfobject) swfobject.embedSWF(this.src, this.body.id, this.objectWidth, this.objectHeight,
1451
- a.version || '7', a.expressInstallSwfurl, a.flashvars, a.params, a.attributes);
1452
- }
1453
- this.hasExtendedContent = true;
1454
- },
1455
- htmlGetSize : function() {
1456
- if (this.iframe && !this.objectHeight) { // loadtime before
1457
- this.iframe.style.height = this.body.style.height = this.getIframePageHeight() +'px';
1458
- }
1459
- this.innerContent.appendChild(hs.clearing);
1460
- if (!this.x.full) this.x.full = this.innerContent.offsetWidth;
1461
- this.y.full = this.innerContent.offsetHeight;
1462
- this.innerContent.removeChild(hs.clearing);
1463
- if (hs.ie && this.newHeight > parseInt(this.innerContent.currentStyle.height)) { // ie css bug
1464
- this.newHeight = parseInt(this.innerContent.currentStyle.height);
1465
- }
1466
- hs.setStyles( this.wrapper, { position: 'absolute', padding: '0'});
1467
- hs.setStyles( this.content, { width: this.x.t +'px', height: this.y.t +'px'});
1468
-
1469
- },
1470
-
1471
- getIframePageHeight : function() {
1472
- var h;
1473
- try {
1474
- var doc = this.iDoc = this.iframe.contentDocument || this.iframe.contentWindow.document;
1475
- var clearing = doc.createElement('div');
1476
- clearing.style.clear = 'both';
1477
- doc.body.appendChild(clearing);
1478
- h = clearing.offsetTop;
1479
- if (hs.ie) h += parseInt(doc.body.currentStyle.marginTop)
1480
- + parseInt(doc.body.currentStyle.marginBottom) - 1;
1481
- } catch (e) { // other domain
1482
- h = 300;
1483
- }
1484
- return h;
1485
- },
1486
- correctIframeSize : function () {
1487
- var wDiff = this.innerContent.offsetWidth - this.ruler.offsetWidth;
1488
- hs.discardElement(this.ruler);
1489
- if (wDiff < 0) wDiff = 0;
1490
-
1491
- var hDiff = this.innerContent.offsetHeight - this.iframe.offsetHeight;
1492
- if (this.iDoc && !this.objectHeight && !this.height && this.y.size == this.y.full) try {
1493
- this.iDoc.body.style.overflow = 'hidden';
1494
- } catch (e) {}
1495
- hs.setStyles(this.iframe, {
1496
- width: Math.abs(this.x.size - wDiff) +'px',
1497
- height: Math.abs(this.y.size - hDiff) +'px'
1498
- });
1499
- hs.setStyles(this.body, {
1500
- width: this.iframe.style.width,
1501
- height: this.iframe.style.height
1502
- });
1503
-
1504
- this.scrollingContent = this.iframe;
1505
- this.scrollerDiv = this.scrollingContent;
1506
-
1507
- },
1508
- htmlSizeOperations : function () {
1509
-
1510
- this.setObjContainerSize(this.innerContent);
1511
-
1512
-
1513
- if (this.objectType == 'swf' && this.objectLoadTime == 'before') this.writeExtendedContent();
1514
-
1515
- // handle minimum size
1516
- if (this.x.size < this.x.full && !this.allowWidthReduction) this.x.size = this.x.full;
1517
- if (this.y.size < this.y.full && !this.allowHeightReduction) this.y.size = this.y.full;
1518
- this.scrollerDiv = this.innerContent;
1519
- hs.setStyles(this.mediumContent, {
1520
- position: 'relative',
1521
- width: this.x.size +'px'
1522
- });
1523
- hs.setStyles(this.innerContent, {
1524
- border: 'none',
1525
- width: 'auto',
1526
- height: 'auto'
1527
- });
1528
- var node = hs.getElementByClass(this.innerContent, 'DIV', 'highslide-body');
1529
- if (node && !/(iframe|swf)/.test(this.objectType)) {
1530
- var cNode = node; // wrap to get true size
1531
- node = hs.createElement(cNode.nodeName, null, {overflow: 'hidden'}, null, true);
1532
- cNode.parentNode.insertBefore(node, cNode);
1533
- node.appendChild(hs.clearing); // IE6
1534
- node.appendChild(cNode);
1535
-
1536
- var wDiff = this.innerContent.offsetWidth - node.offsetWidth;
1537
- var hDiff = this.innerContent.offsetHeight - node.offsetHeight;
1538
- node.removeChild(hs.clearing);
1539
-
1540
- var kdeBugCorr = hs.safari || navigator.vendor == 'KDE' ? 1 : 0; // KDE repainting bug
1541
- hs.setStyles(node, {
1542
- width: (this.x.size - wDiff - kdeBugCorr) +'px',
1543
- height: (this.y.size - hDiff) +'px',
1544
- overflow: 'auto',
1545
- position: 'relative'
1546
- }
1547
- );
1548
- if (kdeBugCorr && cNode.offsetHeight > node.offsetHeight) {
1549
- node.style.width = (parseInt(node.style.width) + kdeBugCorr) + 'px';
1550
- }
1551
- this.scrollingContent = node;
1552
- this.scrollerDiv = this.scrollingContent;
1553
- }
1554
- if (this.iframe && this.objectLoadTime == 'before') this.correctIframeSize();
1555
- if (!this.scrollingContent && this.y.size < this.mediumContent.offsetHeight) this.scrollerDiv = this.content;
1556
-
1557
- if (this.scrollerDiv == this.content && !this.allowWidthReduction && !/(iframe|swf)/.test(this.objectType)) {
1558
- this.x.size += 17; // room for scrollbars
1559
- }
1560
- if (this.scrollerDiv && this.scrollerDiv.offsetHeight > this.scrollerDiv.parentNode.offsetHeight) {
1561
- setTimeout("try { hs.expanders["+ this.key +"].scrollerDiv.style.overflow = 'auto'; } catch(e) {}",
1562
- hs.expandDuration);
1563
- }
1564
- },
1565
-
1566
- justify : function (p, moveOnly) {
1567
- var tgtArr, tgt = p.target, dim = p == this.x ? 'x' : 'y';
1568
-
1569
- var hasMovedMin = false;
1570
-
1571
- var allowReduce = p.exp.allowSizeReduction;
1572
- p.pos = Math.round(p.pos - ((p.get('wsize') - p.t) / 2));
1573
- if (p.pos < p.scroll + p.marginMin) {
1574
- p.pos = p.scroll + p.marginMin;
1575
- hasMovedMin = true;
1576
- }
1577
- if (!moveOnly && p.size < p.minSize) {
1578
- p.size = p.minSize;
1579
- allowReduce = false;
1580
- }
1581
- if (p.pos + p.get('wsize') > p.scroll + p.clientSize - p.marginMax) {
1582
- if (!moveOnly && hasMovedMin && allowReduce) {
1583
- p.size = Math.min(p.size, p.get(dim == 'y' ? 'fitsize' : 'maxsize'));
1584
- } else if (p.get('wsize') < p.get('fitsize')) {
1585
- p.pos = p.scroll + p.clientSize - p.marginMax - p.get('wsize');
1586
- } else { // image larger than viewport
1587
- p.pos = p.scroll + p.marginMin;
1588
- if (!moveOnly && allowReduce) p.size = p.get(dim == 'y' ? 'fitsize' : 'maxsize');
1589
- }
1590
- }
1591
-
1592
- if (!moveOnly && p.size < p.minSize) {
1593
- p.size = p.minSize;
1594
- allowReduce = false;
1595
- }
1596
-
1597
-
1598
-
1599
- if (p.pos < p.marginMin) {
1600
- var tmpMin = p.pos;
1601
- p.pos = p.marginMin;
1602
-
1603
- if (allowReduce && !moveOnly) p.size = p.size - (p.pos - tmpMin);
1604
-
1605
- }
1606
- },
1607
-
1608
- correctRatio : function(ratio) {
1609
- var x = this.x,
1610
- y = this.y,
1611
- changed = false,
1612
- xSize = Math.min(x.full, x.size),
1613
- ySize = Math.min(y.full, y.size),
1614
- useBox = (this.useBox || hs.padToMinWidth);
1615
-
1616
- if (xSize / ySize > ratio) { // width greater
1617
- xSize = ySize * ratio;
1618
- if (xSize < x.minSize) { // below minWidth
1619
- xSize = x.minSize;
1620
- ySize = xSize / ratio;
1621
- }
1622
- changed = true;
1623
-
1624
- } else if (xSize / ySize < ratio) { // height greater
1625
- ySize = xSize / ratio;
1626
- changed = true;
1627
- }
1628
-
1629
- if (hs.padToMinWidth && x.full < x.minSize) {
1630
- x.imgSize = x.full;
1631
- y.size = y.imgSize = y.full;
1632
- } else if (this.useBox) {
1633
- x.imgSize = xSize;
1634
- y.imgSize = ySize;
1635
- } else {
1636
- x.size = xSize;
1637
- y.size = ySize;
1638
- }
1639
- changed = this.fitOverlayBox(this.useBox ? null : ratio, changed);
1640
- if (useBox && y.size < y.imgSize) {
1641
- y.imgSize = y.size;
1642
- x.imgSize = y.size * ratio;
1643
- }
1644
- if (changed || useBox) {
1645
- x.pos = x.tpos - x.cb + x.tb;
1646
- x.minSize = x.size;
1647
- this.justify(x, true);
1648
-
1649
- y.pos = y.tpos - y.cb + y.tb;
1650
- y.minSize = y.size;
1651
- this.justify(y, true);
1652
- if (this.overlayBox) this.sizeOverlayBox();
1653
- }
1654
-
1655
-
1656
- },
1657
- fitOverlayBox : function(ratio, changed) {
1658
- var x = this.x, y = this.y;
1659
- if (this.overlayBox && (this.isImage || this.allowHeightReduction)) {
1660
- while (y.size > this.minHeight && x.size > this.minWidth
1661
- && y.get('wsize') > y.get('fitsize')) {
1662
- y.size -= 10;
1663
- if (ratio) x.size = y.size * ratio;
1664
- this.sizeOverlayBox(0, 1);
1665
- changed = true;
1666
- }
1667
- }
1668
- return changed;
1669
- },
1670
-
1671
- show : function () {
1672
- var x = this.x, y = this.y;
1673
- this.doShowHide('hidden');
1674
-
1675
- // Apply size change
1676
- this.changeSize(
1677
- 1, {
1678
- wrapper: {
1679
- width : x.get('wsize'),
1680
- height : y.get('wsize'),
1681
- left: x.pos,
1682
- top: y.pos
1683
- },
1684
- content: {
1685
- left: x.p1 + x.get('imgPad'),
1686
- top: y.p1 + y.get('imgPad'),
1687
- width:x.imgSize ||x.size,
1688
- height:y.imgSize ||y.size
1689
- }
1690
- },
1691
- hs.expandDuration
1692
- );
1693
- },
1694
-
1695
- changeSize : function(up, to, dur) {
1696
-
1697
- if (this.outline && !this.outlineWhileAnimating) {
1698
- if (up) this.outline.setPosition();
1699
- else this.outline.destroy(
1700
- (this.isHtml && this.preserveContent));
1701
- }
1702
-
1703
-
1704
- if (!up) this.destroyOverlays();
1705
-
1706
- var exp = this,
1707
- x = exp.x,
1708
- y = exp.y,
1709
- easing = this.easing;
1710
- if (!up) easing = this.easingClose || easing;
1711
- var after = up ?
1712
- function() {
1713
-
1714
- if (exp.outline) exp.outline.table.style.visibility = "visible";
1715
- setTimeout(function() {
1716
- exp.afterExpand();
1717
- }, 50);
1718
- } :
1719
- function() {
1720
- exp.afterClose();
1721
- };
1722
- if (up) hs.setStyles( this.wrapper, {
1723
- width: x.t +'px',
1724
- height: y.t +'px'
1725
- });
1726
- if (up && this.isHtml) {
1727
- hs.setStyles(this.wrapper, {
1728
- left: (x.tpos - x.cb + x.tb) +'px',
1729
- top: (y.tpos - y.cb + y.tb) +'px'
1730
- });
1731
- }
1732
- if (this.fadeInOut) {
1733
- hs.setStyles(this.wrapper, { opacity: up ? 0 : 1 });
1734
- hs.extend(to.wrapper, { opacity: up });
1735
- }
1736
- hs.animate( this.wrapper, to.wrapper, {
1737
- duration: dur,
1738
- easing: easing,
1739
- step: function(val, args) {
1740
- if (exp.outline && exp.outlineWhileAnimating && args.prop == 'top') {
1741
- var fac = up ? args.pos : 1 - args.pos;
1742
- var pos = {
1743
- w: x.t + (x.get('wsize') - x.t) * fac,
1744
- h: y.t + (y.get('wsize') - y.t) * fac,
1745
- x: x.tpos + (x.pos - x.tpos) * fac,
1746
- y: y.tpos + (y.pos - y.tpos) * fac
1747
- };
1748
- exp.outline.setPosition(pos, 0, 1);
1749
- }
1750
- if (exp.isHtml) {
1751
- if (args.prop == 'left')
1752
- exp.mediumContent.style.left = (x.pos - val) +'px';
1753
- if (args.prop == 'top')
1754
- exp.mediumContent.style.top = (y.pos - val) +'px';
1755
- }
1756
- }
1757
- });
1758
- hs.animate( this.content, to.content, dur, easing, after);
1759
- if (up) {
1760
- this.wrapper.style.visibility = 'visible';
1761
- this.content.style.visibility = 'visible';
1762
- if (this.isHtml) this.innerContent.style.visibility = 'visible';
1763
- this.a.className += ' highslide-active-anchor';
1764
- }
1765
- },
1766
-
1767
-
1768
-
1769
-
1770
- afterExpand : function() {
1771
- this.isExpanded = true;
1772
- this.focus();
1773
-
1774
- if (this.isHtml && this.objectLoadTime == 'after') this.writeExtendedContent();
1775
- if (this.iframe) {
1776
- try {
1777
- var exp = this,
1778
- doc = this.iframe.contentDocument || this.iframe.contentWindow.document;
1779
- hs.addEventListener(doc, 'mousedown', function () {
1780
- if (hs.focusKey != exp.key) exp.focus();
1781
- });
1782
- } catch(e) {}
1783
- if (hs.ie && typeof this.isClosing != 'boolean') // first open
1784
- this.iframe.style.width = (this.objectWidth - 1) +'px'; // hasLayout
1785
- }
1786
- if (hs.upcoming && hs.upcoming == this.a) hs.upcoming = null;
1787
- this.prepareNextOutline();
1788
- var p = hs.page, mX = hs.mouse.x + p.scrollLeft, mY = hs.mouse.y + p.scrollTop;
1789
- this.mouseIsOver = this.x.pos < mX && mX < this.x.pos + this.x.get('wsize')
1790
- && this.y.pos < mY && mY < this.y.pos + this.y.get('wsize');
1791
- if (this.overlayBox) this.showOverlays();
1792
-
1793
- },
1794
-
1795
-
1796
- prepareNextOutline : function() {
1797
- var key = this.key;
1798
- var outlineType = this.outlineType;
1799
- new hs.Outline(outlineType,
1800
- function () { try { hs.expanders[key].preloadNext(); } catch (e) {} });
1801
- },
1802
-
1803
-
1804
- preloadNext : function() {
1805
- var next = this.getAdjacentAnchor(1);
1806
- if (next && next.onclick.toString().match(/hs\.expand/))
1807
- var img = hs.createElement('img', { src: hs.getSrc(next) });
1808
- },
1809
-
1810
-
1811
- getAdjacentAnchor : function(op) {
1812
- var current = this.getAnchorIndex(), as = hs.anchors.groups[this.slideshowGroup || 'none'];
1813
- return (as && as[current + op]) || null;
1814
- },
1815
-
1816
- getAnchorIndex : function() {
1817
- var arr = hs.getAnchors().groups[this.slideshowGroup || 'none'];
1818
- if (arr) for (var i = 0; i < arr.length; i++) {
1819
- if (arr[i] == this.a) return i;
1820
- }
1821
- return null;
1822
- },
1823
-
1824
-
1825
- cancelLoading : function() {
1826
- hs.discardElement (this.wrapper);
1827
- hs.expanders[this.key] = null;
1828
- if (this.loading) hs.loading.style.left = '-9999px';
1829
- },
1830
-
1831
- writeCredits : function () {
1832
- this.credits = hs.createElement('a', {
1833
- href: hs.creditsHref,
1834
- target: hs.creditsTarget,
1835
- className: 'highslide-credits',
1836
- innerHTML: hs.lang.creditsText,
1837
- title: hs.lang.creditsTitle
1838
- });
1839
- this.createOverlay({
1840
- overlayId: this.credits,
1841
- position: this.creditsPosition || 'top left'
1842
- });
1843
- },
1844
-
1845
- getInline : function(types, addOverlay) {
1846
- for (var i = 0; i < types.length; i++) {
1847
- var type = types[i], s = null;
1848
- if (!this[type +'Id'] && this.thumbsUserSetId)
1849
- this[type +'Id'] = type +'-for-'+ this.thumbsUserSetId;
1850
- if (this[type +'Id']) this[type] = hs.getNode(this[type +'Id']);
1851
- if (!this[type] && !this[type +'Text'] && this[type +'Eval']) try {
1852
- s = eval(this[type +'Eval']);
1853
- } catch (e) {}
1854
- if (!this[type] && this[type +'Text']) {
1855
- s = this[type +'Text'];
1856
- }
1857
- if (!this[type] && !s) {
1858
- this[type] = hs.getNode(this.a['_'+ type + 'Id']);
1859
- if (!this[type]) {
1860
- var next = this.a.nextSibling;
1861
- while (next && !hs.isHsAnchor(next)) {
1862
- if ((new RegExp('highslide-'+ type)).test(next.className || null)) {
1863
- if (!next.id) this.a['_'+ type + 'Id'] = next.id = 'hsId'+ hs.idCounter++;
1864
- this[type] = hs.getNode(next.id);
1865
- break;
1866
- }
1867
- next = next.nextSibling;
1868
- }
1869
- }
1870
- }
1871
-
1872
- if (!this[type] && s) this[type] = hs.createElement('div',
1873
- { className: 'highslide-'+ type, innerHTML: s } );
1874
-
1875
- if (addOverlay && this[type]) {
1876
- var o = { position: (type == 'heading') ? 'above' : 'below' };
1877
- for (var x in this[type+'Overlay']) o[x] = this[type+'Overlay'][x];
1878
- o.overlayId = this[type];
1879
- this.createOverlay(o);
1880
- }
1881
- }
1882
- },
1883
-
1884
-
1885
- // on end move and resize
1886
- doShowHide : function(visibility) {
1887
- if (hs.hideSelects) this.showHideElements('SELECT', visibility);
1888
- if (hs.hideIframes) this.showHideElements('IFRAME', visibility);
1889
- if (hs.geckoMac) this.showHideElements('*', visibility);
1890
- },
1891
- showHideElements : function (tagName, visibility) {
1892
- var els = document.getElementsByTagName(tagName);
1893
- var prop = tagName == '*' ? 'overflow' : 'visibility';
1894
- for (var i = 0; i < els.length; i++) {
1895
- if (prop == 'visibility' || (document.defaultView.getComputedStyle(
1896
- els[i], "").getPropertyValue('overflow') == 'auto'
1897
- || els[i].getAttribute('hidden-by') != null)) {
1898
- var hiddenBy = els[i].getAttribute('hidden-by');
1899
- if (visibility == 'visible' && hiddenBy) {
1900
- hiddenBy = hiddenBy.replace('['+ this.key +']', '');
1901
- els[i].setAttribute('hidden-by', hiddenBy);
1902
- if (!hiddenBy) els[i].style[prop] = els[i].origProp;
1903
- } else if (visibility == 'hidden') { // hide if behind
1904
- var elPos = hs.getPosition(els[i]);
1905
- elPos.w = els[i].offsetWidth;
1906
- elPos.h = els[i].offsetHeight;
1907
-
1908
-
1909
- var clearsX = (elPos.x + elPos.w < this.x.get('opos')
1910
- || elPos.x > this.x.get('opos') + this.x.get('osize'));
1911
- var clearsY = (elPos.y + elPos.h < this.y.get('opos')
1912
- || elPos.y > this.y.get('opos') + this.y.get('osize'));
1913
- var wrapperKey = hs.getWrapperKey(els[i]);
1914
- if (!clearsX && !clearsY && wrapperKey != this.key) { // element falls behind image
1915
- if (!hiddenBy) {
1916
- els[i].setAttribute('hidden-by', '['+ this.key +']');
1917
- els[i].origProp = els[i].style[prop];
1918
- els[i].style[prop] = 'hidden';
1919
-
1920
- } else if (hiddenBy.indexOf('['+ this.key +']') == -1) {
1921
- els[i].setAttribute('hidden-by', hiddenBy + '['+ this.key +']');
1922
- }
1923
- } else if ((hiddenBy == '['+ this.key +']' || hs.focusKey == wrapperKey)
1924
- && wrapperKey != this.key) { // on move
1925
- els[i].setAttribute('hidden-by', '');
1926
- els[i].style[prop] = els[i].origProp || '';
1927
- } else if (hiddenBy && hiddenBy.indexOf('['+ this.key +']') > -1) {
1928
- els[i].setAttribute('hidden-by', hiddenBy.replace('['+ this.key +']', ''));
1929
- }
1930
-
1931
- }
1932
- }
1933
- }
1934
- },
1935
-
1936
- focus : function() {
1937
- this.wrapper.style.zIndex = hs.zIndexCounter += 2;
1938
- // blur others
1939
- for (var i = 0; i < hs.expanders.length; i++) {
1940
- if (hs.expanders[i] && i == hs.focusKey) {
1941
- var blurExp = hs.expanders[i];
1942
- blurExp.content.className += ' highslide-'+ blurExp.contentType +'-blur';
1943
- if (blurExp.isImage) {
1944
- blurExp.content.style.cursor = hs.ieLt7 ? 'hand' : 'pointer';
1945
- blurExp.content.title = hs.lang.focusTitle;
1946
- }
1947
- }
1948
- }
1949
-
1950
- // focus this
1951
- if (this.outline) this.outline.table.style.zIndex
1952
- = this.wrapper.style.zIndex - 1;
1953
- this.content.className = 'highslide-'+ this.contentType;
1954
- if (this.isImage) {
1955
- this.content.title = hs.lang.restoreTitle;
1956
-
1957
- if (hs.restoreCursor) {
1958
- hs.styleRestoreCursor = window.opera ? 'pointer' : 'url('+ hs.graphicsDir + hs.restoreCursor +'), pointer';
1959
- if (hs.ieLt7 && hs.uaVersion < 6) hs.styleRestoreCursor = 'hand';
1960
- this.content.style.cursor = hs.styleRestoreCursor;
1961
- }
1962
- }
1963
- hs.focusKey = this.key;
1964
- hs.addEventListener(document, window.opera ? 'keypress' : 'keydown', hs.keyHandler);
1965
- },
1966
- moveTo: function(x, y) {
1967
- this.x.setPos(x);
1968
- this.y.setPos(y);
1969
- },
1970
- resize : function (e) {
1971
- var w, h, r = e.width / e.height;
1972
- w = Math.max(e.width + e.dX, Math.min(this.minWidth, this.x.full));
1973
- if (this.isImage && Math.abs(w - this.x.full) < 12) w = this.x.full;
1974
- h = this.isHtml ? e.height + e.dY : w / r;
1975
- if (h < Math.min(this.minHeight, this.y.full)) {
1976
- h = Math.min(this.minHeight, this.y.full);
1977
- if (this.isImage) w = h * r;
1978
- }
1979
- this.resizeTo(w, h);
1980
- },
1981
- resizeTo: function(w, h) {
1982
- this.y.setSize(h);
1983
- this.x.setSize(w);
1984
- this.wrapper.style.height = this.y.get('wsize') +'px';
1985
- },
1986
-
1987
- close : function() {
1988
- if (this.isClosing || !this.isExpanded) return;
1989
- this.isClosing = true;
1990
-
1991
- hs.removeEventListener(document, window.opera ? 'keypress' : 'keydown', hs.keyHandler);
1992
-
1993
- try {
1994
- if (this.isHtml) this.htmlPrepareClose();
1995
- this.content.style.cursor = 'default';
1996
- this.changeSize(
1997
- 0, {
1998
- wrapper: {
1999
- width : this.x.t,
2000
- height : this.y.t,
2001
- left: this.x.tpos - this.x.cb + this.x.tb,
2002
- top: this.y.tpos - this.y.cb + this.y.tb
2003
- },
2004
- content: {
2005
- left: 0,
2006
- top: 0,
2007
- width: this.x.t,
2008
- height: this.y.t
2009
- }
2010
- }, hs.restoreDuration
2011
- );
2012
- } catch (e) { this.afterClose(); }
2013
- },
2014
-
2015
- htmlPrepareClose : function() {
2016
- if (hs.geckoMac) { // bad redraws
2017
- if (!hs.mask) hs.mask = hs.createElement('div', null,
2018
- { position: 'absolute' }, hs.container);
2019
- hs.setStyles(hs.mask, { width: this.x.size +'px', height: this.y.size +'px',
2020
- left: this.x.pos +'px', top: this.y.pos +'px', display: 'block' });
2021
- }
2022
- if (this.objectType == 'swf') try { hs.$(this.body.id).StopPlay(); } catch (e) {}
2023
-
2024
- if (this.objectLoadTime == 'after' && !this.preserveContent) this.destroyObject();
2025
- if (this.scrollerDiv && this.scrollerDiv != this.scrollingContent)
2026
- this.scrollerDiv.style.overflow = 'hidden';
2027
- },
2028
-
2029
- destroyObject : function () {
2030
- if (hs.ie && this.iframe)
2031
- try { this.iframe.contentWindow.document.body.innerHTML = ''; } catch (e) {}
2032
- if (this.objectType == 'swf') swfobject.removeSWF(this.body.id);
2033
- this.body.innerHTML = '';
2034
- },
2035
-
2036
- sleep : function() {
2037
- if (this.outline) this.outline.table.style.display = 'none';
2038
- this.releaseMask = null;
2039
- this.wrapper.style.display = 'none';
2040
- this.isExpanded = false;
2041
- hs.push(hs.sleeping, this);
2042
- },
2043
-
2044
- awake : function() {try {
2045
-
2046
- hs.expanders[this.key] = this;
2047
-
2048
- if (!hs.allowMultipleInstances &&hs.focusKey != this.key) {
2049
- try { hs.expanders[hs.focusKey].close(); } catch (e){}
2050
- }
2051
-
2052
- var z = hs.zIndexCounter++, stl = { display: '', zIndex: z };
2053
- hs.setStyles (this.wrapper, stl);
2054
- this.isClosing = false;
2055
-
2056
- var o = this.outline || 0;
2057
- if (o) {
2058
- if (!this.outlineWhileAnimating) stl.visibility = 'hidden';
2059
- hs.setStyles (o.table, stl);
2060
- }
2061
-
2062
- this.show();
2063
- } catch (e) {}
2064
-
2065
-
2066
- },
2067
-
2068
- createOverlay : function (o) {
2069
- var el = o.overlayId;
2070
- if (typeof el == 'string') el = hs.getNode(el);
2071
- if (o.html) el = hs.createElement('div', { innerHTML: o.html });
2072
- if (!el || typeof el == 'string') return;
2073
- el.style.display = 'block';
2074
- this.genOverlayBox();
2075
- var width = o.width && /^[0-9]+(px|%)$/.test(o.width) ? o.width : 'auto';
2076
- if (/^(left|right)panel$/.test(o.position) && !/^[0-9]+px$/.test(o.width)) width = '200px';
2077
- var overlay = hs.createElement(
2078
- 'div', {
2079
- id: 'hsId'+ hs.idCounter++,
2080
- hsId: o.hsId
2081
- }, {
2082
- position: 'absolute',
2083
- visibility: 'hidden',
2084
- width: width,
2085
- direction: hs.lang.cssDirection || '',
2086
- opacity: 0
2087
- },this.overlayBox,
2088
- true
2089
- );
2090
-
2091
- overlay.appendChild(el);
2092
- hs.extend(overlay, {
2093
- opacity: 1,
2094
- offsetX: 0,
2095
- offsetY: 0,
2096
- dur: (o.fade === 0 || o.fade === false || (o.fade == 2 && hs.ie)) ? 0 : 250
2097
- });
2098
- hs.extend(overlay, o);
2099
-
2100
-
2101
- if (this.gotOverlays) {
2102
- this.positionOverlay(overlay);
2103
- if (!overlay.hideOnMouseOut || this.mouseIsOver)
2104
- hs.animate(overlay, { opacity: overlay.opacity }, overlay.dur);
2105
- }
2106
- hs.push(this.overlays, hs.idCounter - 1);
2107
- },
2108
- positionOverlay : function(overlay) {
2109
- var p = overlay.position || 'middle center',
2110
- offX = overlay.offsetX,
2111
- offY = overlay.offsetY;
2112
- if (overlay.parentNode != this.overlayBox) this.overlayBox.appendChild(overlay);
2113
- if (/left$/.test(p)) overlay.style.left = offX +'px';
2114
-
2115
- if (/center$/.test(p)) hs.setStyles (overlay, {
2116
- left: '50%',
2117
- marginLeft: (offX - Math.round(overlay.offsetWidth / 2)) +'px'
2118
- });
2119
-
2120
- if (/right$/.test(p)) overlay.style.right = - offX +'px';
2121
-
2122
- if (/^leftpanel$/.test(p)) {
2123
- hs.setStyles(overlay, {
2124
- right: '100%',
2125
- marginRight: this.x.cb +'px',
2126
- top: - this.y.cb +'px',
2127
- bottom: - this.y.cb +'px',
2128
- overflow: 'auto'
2129
- });
2130
- this.x.p1 = overlay.offsetWidth;
2131
-
2132
- } else if (/^rightpanel$/.test(p)) {
2133
- hs.setStyles(overlay, {
2134
- left: '100%',
2135
- marginLeft: this.x.cb +'px',
2136
- top: - this.y.cb +'px',
2137
- bottom: - this.y.cb +'px',
2138
- overflow: 'auto'
2139
- });
2140
- this.x.p2 = overlay.offsetWidth;
2141
- }
2142
-
2143
- if (/^top/.test(p)) overlay.style.top = offY +'px';
2144
- if (/^middle/.test(p)) hs.setStyles (overlay, {
2145
- top: '50%',
2146
- marginTop: (offY - Math.round(overlay.offsetHeight / 2)) +'px'
2147
- });
2148
- if (/^bottom/.test(p)) overlay.style.bottom = - offY +'px';
2149
- if (/^above$/.test(p)) {
2150
- hs.setStyles(overlay, {
2151
- left: (- this.x.p1 - this.x.cb) +'px',
2152
- right: (- this.x.p2 - this.x.cb) +'px',
2153
- bottom: '100%',
2154
- marginBottom: this.y.cb +'px',
2155
- width: 'auto'
2156
- });
2157
- this.y.p1 = overlay.offsetHeight;
2158
-
2159
- } else if (/^below$/.test(p)) {
2160
- hs.setStyles(overlay, {
2161
- position: 'relative',
2162
- left: (- this.x.p1 - this.x.cb) +'px',
2163
- right: (- this.x.p2 - this.x.cb) +'px',
2164
- top: '100%',
2165
- marginTop: this.y.cb +'px',
2166
- width: 'auto'
2167
- });
2168
- this.y.p2 = overlay.offsetHeight;
2169
- overlay.style.position = 'absolute';
2170
- }
2171
- },
2172
-
2173
- getOverlays : function() {
2174
- this.getInline(['heading', 'caption'], true);
2175
- if (this.heading && this.dragByHeading) this.heading.className += ' highslide-move';
2176
- if (hs.showCredits) this.writeCredits();
2177
- for (var i = 0; i < hs.overlays.length; i++) {
2178
- var o = hs.overlays[i], tId = o.thumbnailId, sg = o.slideshowGroup;
2179
- if ((!tId && !sg) || (tId && tId == this.thumbsUserSetId)
2180
- || (sg && sg === this.slideshowGroup)) {
2181
- if (this.isImage || (this.isHtml && o.useOnHtml))
2182
- this.createOverlay(o);
2183
- }
2184
- }
2185
- var os = [];
2186
- for (var i = 0; i < this.overlays.length; i++) {
2187
- var o = hs.$('hsId'+ this.overlays[i]);
2188
- if (/panel$/.test(o.position)) this.positionOverlay(o);
2189
- else hs.push(os, o);
2190
- }
2191
- for (var i = 0; i < os.length; i++) this.positionOverlay(os[i]);
2192
- this.gotOverlays = true;
2193
- },
2194
- genOverlayBox : function() {
2195
- if (!this.overlayBox) this.overlayBox = hs.createElement (
2196
- 'div', {
2197
- className: this.wrapperClassName
2198
- }, {
2199
- position : 'absolute',
2200
- width: (this.x.size || (this.useBox ? this.width : null)
2201
- || this.x.full) +'px',
2202
- height: (this.y.size || this.y.full) +'px',
2203
- visibility : 'hidden',
2204
- overflow : 'hidden',
2205
- zIndex : hs.ie ? 4 : 'auto'
2206
- },
2207
- hs.container,
2208
- true
2209
- );
2210
- },
2211
- sizeOverlayBox : function(doWrapper, doPanels) {
2212
- var overlayBox = this.overlayBox,
2213
- x = this.x,
2214
- y = this.y;
2215
- hs.setStyles( overlayBox, {
2216
- width: x.size +'px',
2217
- height: y.size +'px'
2218
- });
2219
- if (doWrapper || doPanels) {
2220
- for (var i = 0; i < this.overlays.length; i++) {
2221
- var o = hs.$('hsId'+ this.overlays[i]);
2222
- var ie6 = (hs.ieLt7 || document.compatMode == 'BackCompat');
2223
- if (o && /^(above|below)$/.test(o.position)) {
2224
- if (ie6) {
2225
- o.style.width = (overlayBox.offsetWidth + 2 * x.cb
2226
- + x.p1 + x.p2) +'px';
2227
- }
2228
- y[o.position == 'above' ? 'p1' : 'p2'] = o.offsetHeight;
2229
- }
2230
- if (o && ie6 && /^(left|right)panel$/.test(o.position)) {
2231
- o.style.height = (overlayBox.offsetHeight + 2* y.cb) +'px';
2232
- }
2233
- }
2234
- }
2235
- if (doWrapper) {
2236
- hs.setStyles(this.content, {
2237
- top: y.p1 +'px'
2238
- });
2239
- hs.setStyles(overlayBox, {
2240
- top: (y.p1 + y.cb) +'px'
2241
- });
2242
- }
2243
- },
2244
-
2245
- showOverlays : function() {
2246
- var b = this.overlayBox;
2247
- b.className = '';
2248
- hs.setStyles(b, {
2249
- top: (this.y.p1 + this.y.cb) +'px',
2250
- left: (this.x.p1 + this.x.cb) +'px',
2251
- overflow : 'visible'
2252
- });
2253
- if (hs.safari) b.style.visibility = 'visible';
2254
- this.wrapper.appendChild (b);
2255
- for (var i = 0; i < this.overlays.length; i++) {
2256
- var o = hs.$('hsId'+ this.overlays[i]);
2257
- o.style.zIndex = o.zIndex || 4;
2258
- if (!o.hideOnMouseOut || this.mouseIsOver) {
2259
- o.style.visibility = 'visible';
2260
- hs.setStyles(o, { visibility: 'visible', display: '' });
2261
- hs.animate(o, { opacity: o.opacity }, o.dur);
2262
- }
2263
- }
2264
- },
2265
-
2266
- destroyOverlays : function() {
2267
- if (!this.overlays.length) return;
2268
- if (this.isHtml && this.preserveContent) {
2269
- this.overlayBox.style.top = '-9999px';
2270
- hs.container.appendChild(this.overlayBox);
2271
- } else
2272
- hs.discardElement(this.overlayBox);
2273
- },
2274
-
2275
-
2276
-
2277
- createFullExpand : function () {
2278
- this.fullExpandLabel = hs.createElement(
2279
- 'a', {
2280
- href: 'javascript:hs.expanders['+ this.key +'].doFullExpand();',
2281
- title: hs.lang.fullExpandTitle,
2282
- className: 'highslide-full-expand'
2283
- }
2284
- );
2285
-
2286
- this.createOverlay({
2287
- overlayId: this.fullExpandLabel,
2288
- position: hs.fullExpandPosition,
2289
- hideOnMouseOut: true,
2290
- opacity: hs.fullExpandOpacity
2291
- });
2292
- },
2293
-
2294
- doFullExpand : function () {
2295
- try {
2296
- if (this.fullExpandLabel) hs.discardElement(this.fullExpandLabel);
2297
-
2298
- this.focus();
2299
- var xSize = this.x.size;
2300
- this.resizeTo(this.x.full, this.y.full);
2301
-
2302
- var xpos = this.x.pos - (this.x.size - xSize) / 2;
2303
- if (xpos < hs.marginLeft) xpos = hs.marginLeft;
2304
-
2305
- this.moveTo(xpos, this.y.pos);
2306
- this.doShowHide('hidden');
2307
-
2308
- } catch (e) {
2309
- this.error(e);
2310
- }
2311
- },
2312
-
2313
-
2314
- afterClose : function () {
2315
- this.a.className = this.a.className.replace('highslide-active-anchor', '');
2316
-
2317
- this.doShowHide('visible');
2318
-
2319
- if (this.isHtml && this.preserveContent) {
2320
- this.sleep();
2321
- } else {
2322
- if (this.outline && this.outlineWhileAnimating) this.outline.destroy();
2323
-
2324
- hs.discardElement(this.wrapper);
2325
- }
2326
- if (hs.mask) hs.mask.style.display = 'none';
2327
-
2328
- hs.expanders[this.key] = null;
2329
- hs.reOrder();
2330
- }
2331
-
2332
- };
2333
-
2334
-
2335
- // hs.Ajax object prototype
2336
- hs.Ajax = function (a, content, pre) {
2337
- this.a = a;
2338
- this.content = content;
2339
- this.pre = pre;
2340
- };
2341
-
2342
- hs.Ajax.prototype = {
2343
- run : function () {
2344
- var xhr;
2345
- if (!this.src) this.src = hs.getSrc(this.a);
2346
- if (this.src.match('#')) {
2347
- var arr = this.src.split('#');
2348
- this.src = arr[0];
2349
- this.id = arr[1];
2350
- }
2351
- if (hs.cachedGets[this.src]) {
2352
- this.cachedGet = hs.cachedGets[this.src];
2353
- if (this.id) this.getElementContent();
2354
- else this.loadHTML();
2355
- return;
2356
- }
2357
- try { xhr = new XMLHttpRequest(); }
2358
- catch (e) {
2359
- try { xhr = new ActiveXObject("Msxml2.XMLHTTP"); }
2360
- catch (e) {
2361
- try { xhr = new ActiveXObject("Microsoft.XMLHTTP"); }
2362
- catch (e) { this.onError(); }
2363
- }
2364
- }
2365
- var pThis = this;
2366
- xhr.onreadystatechange = function() {
2367
- if(pThis.xhr.readyState == 4) {
2368
- if (pThis.id) pThis.getElementContent();
2369
- else pThis.loadHTML();
2370
- }
2371
- };
2372
- var src = this.src;
2373
- this.xhr = xhr;
2374
- if (hs.forceAjaxReload)
2375
- src = src.replace(/$/, (/\?/.test(src) ? '&' : '?') +'dummy='+ (new Date()).getTime());
2376
- xhr.open('GET', src, true);
2377
- xhr.setRequestHeader('X-Requested-With', 'XMLHttpRequest');
2378
- xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
2379
- xhr.send(null);
2380
- },
2381
-
2382
- getElementContent : function() {
2383
- hs.init();
2384
- var attribs = window.opera || hs.ie6SSL ? { src: 'about:blank' } : null;
2385
-
2386
- this.iframe = hs.createElement('iframe', attribs,
2387
- { position: 'absolute', top: '-9999px' }, hs.container);
2388
-
2389
- this.loadHTML();
2390
- },
2391
-
2392
- loadHTML : function() {
2393
- var s = this.cachedGet || this.xhr.responseText,
2394
- regBody;
2395
- if (this.pre) hs.cachedGets[this.src] = s;
2396
- if (!hs.ie || hs.uaVersion >= 5.5) {
2397
- s = s.replace(new RegExp('<link[^>]*>', 'gi'), '')
2398
- .replace(new RegExp('<script[^>]*>.*?</script>', 'gi'), '');
2399
- if (this.iframe) {
2400
- var doc = this.iframe.contentDocument;
2401
- if (!doc && this.iframe.contentWindow) doc = this.iframe.contentWindow.document;
2402
- if (!doc) { // Opera
2403
- var pThis = this;
2404
- setTimeout(function() { pThis.loadHTML(); }, 25);
2405
- return;
2406
- }
2407
- doc.open();
2408
- doc.write(s);
2409
- doc.close();
2410
- try { s = doc.getElementById(this.id).innerHTML; } catch (e) {
2411
- try { s = this.iframe.document.getElementById(this.id).innerHTML; } catch (e) {} // opera
2412
- }
2413
- hs.discardElement(this.iframe);
2414
- } else {
2415
- regBody = /(<body[^>]*>|<\/body>)/ig;
2416
- if (regBody.test(s)) s = s.split(regBody)[hs.ieLt9 ? 1 : 2];
2417
-
2418
- }
2419
- }
2420
- hs.getElementByClass(this.content, 'DIV', 'highslide-body').innerHTML = s;
2421
- this.onLoad();
2422
- for (var x in this) this[x] = null;
2423
- }
2424
- };
2425
- hs.langDefaults = hs.lang;
2426
- // history
2427
- var HsExpander = hs.Expander;
2428
- if (hs.ie && window == window.top) {
2429
- (function () {
2430
- try {
2431
- document.documentElement.doScroll('left');
2432
- } catch (e) {
2433
- setTimeout(arguments.callee, 50);
2434
- return;
2435
- }
2436
- hs.ready();
2437
- })();
2438
- }
2439
- hs.addEventListener(document, 'DOMContentLoaded', hs.ready);
2440
- hs.addEventListener(window, 'load', hs.ready);
2441
-
2442
- // set handlers
2443
- hs.addEventListener(document, 'ready', function() {
2444
- if (hs.expandCursor) {
2445
- var style = hs.createElement('style', { type: 'text/css' }, null,
2446
- document.getElementsByTagName('HEAD')[0]);
2447
-
2448
- function addRule(sel, dec) {
2449
- if (hs.ie && hs.uaVersion < 9) {
2450
- var last = document.styleSheets[document.styleSheets.length - 1];
2451
- if (typeof(last.addRule) == "object") last.addRule(sel, dec);
2452
- } else {
2453
- style.appendChild(document.createTextNode(sel + " {" + dec + "}"));
2454
- }
2455
- }
2456
- function fix(prop) {
2457
- return 'expression( ( ( ignoreMe = document.documentElement.'+ prop +
2458
- ' ? document.documentElement.'+ prop +' : document.body.'+ prop +' ) ) + \'px\' );';
2459
- }
2460
- if (hs.expandCursor) addRule ('.highslide img',
2461
- 'cursor: url('+ hs.graphicsDir + hs.expandCursor +'), pointer !important;');
2462
- }
2463
- });
2464
- hs.addEventListener(window, 'resize', function() {
2465
- hs.getPageSize();
2466
- });
2467
- hs.addEventListener(document, 'mousemove', function(e) {
2468
- hs.mouse = { x: e.clientX, y: e.clientY };
2469
- });
2470
- hs.addEventListener(document, 'mousedown', hs.mouseClickHandler);
2471
- hs.addEventListener(document, 'mouseup', hs.mouseClickHandler);
2472
-
2473
- hs.addEventListener(document, 'ready', hs.getAnchors);
2474
- hs.addEventListener(window, 'load', hs.preloadImages);
2475
- hs.addEventListener(window, 'load', hs.preloadAjax);
2476
- }