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.
- checksums.yaml +4 -4
- data/app/assets/images/art/desktop-logo.jpg +0 -0
- data/app/assets/images/art/desktop-logo.png +0 -0
- data/{public → app/assets}/images/btn/left_panel/left_panel_16x16.png +0 -0
- data/{public → app/assets}/images/btn/left_right_panel/left_right_panel_16x16.png +0 -0
- data/{public → app/assets}/images/btn/right_panel/right_panel_16x16.png +0 -0
- data/{public → app/assets}/images/btn/save/save_16x16.png +0 -0
- data/{public → app/assets}/images/btn/save_all/save_all_16x16.png +0 -0
- data/{public → app/assets}/images/btn_light/add/add_16x16.png +0 -0
- data/{public → app/assets}/images/btn_light/left_panel/left_panel_16x16.png +0 -0
- data/{public → app/assets}/images/btn_light/left_right_panel/left_right_panel_16x16.png +0 -0
- data/{public → app/assets}/images/btn_light/right_panel/right_panel_16x16.png +0 -0
- data/{public → app/assets}/images/btn_light/save/save_16x16.png +0 -0
- data/{public → app/assets}/images/btn_light/save_all/save_all_16x16.png +0 -0
- data/{public → app/assets}/images/checked.gif +0 -0
- data/{public → app/assets}/images/erp_app/ajax-loader.gif +0 -0
- data/{public → app/assets}/images/erp_app/desktop/applications/file_manager/cancel.png +0 -0
- data/{public → app/assets}/images/erp_app/desktop/applications/file_manager/cross.png +0 -0
- data/{public → app/assets}/images/erp_app/desktop/applications/file_manager/hourglass.png +0 -0
- data/{public → app/assets}/images/erp_app/desktop/applications/file_manager/loading.gif +0 -0
- data/{public → app/assets}/images/erp_app/desktop/applications/file_manager/tick.png +0 -0
- data/app/assets/images/erp_app/desktop/applications/security_management/manage_capabilities.png +0 -0
- data/app/assets/images/erp_app/desktop/applications/security_management/manage_groups.png +0 -0
- data/app/assets/images/erp_app/desktop/applications/security_management/manage_roles.png +0 -0
- data/app/assets/images/erp_app/desktop/applications/security_management/manage_users.png +0 -0
- data/{public → app/assets}/images/erp_app/desktop/compass_logo_start_icon.png +0 -0
- data/{public → app/assets}/images/erp_app/desktop/image_add.png +0 -0
- data/{public → app/assets}/images/erp_app/desktop/themes.png +0 -0
- data/{public → app/assets}/images/erp_app/ext_loading_image.gif +0 -0
- data/{public → app/assets}/images/erp_app/mobile/green_light.png +0 -0
- data/{public → app/assets}/images/erp_app/mobile/red_light.png +0 -0
- data/{public → app/assets}/images/erp_app/mobile/yellow_light.png +0 -0
- data/{public → app/assets}/images/erp_app/organizer/applications/crm/business.png +0 -0
- data/{public → app/assets}/images/erp_app/organizer/applications/crm/business_64x64.png +0 -0
- data/{public → app/assets}/images/erp_app/organizer/applications/crm/customer-contact.png +0 -0
- data/{public → app/assets}/images/erp_app/organizer/applications/crm/customer_360_64x64.png +0 -0
- data/{public → app/assets}/images/erp_app/organizer/applications/crm/people.png +0 -0
- data/{public → app/assets}/images/erp_app/organizer/applications/crm/person.png +0 -0
- data/{public → app/assets}/images/erp_app/organizer/applications/crm/toolbar_find.png +0 -0
- data/{public → app/assets}/images/erp_app/organizer/applications/crm/vcard.png +0 -0
- data/{public → app/assets}/images/help.jpg +0 -0
- data/{public → app/assets}/images/icons/accept/accept_16x16.png +0 -0
- data/{public → app/assets}/images/icons/accept/accept_24x24.png +0 -0
- data/{public → app/assets}/images/icons/accept/accept_32x32.png +0 -0
- data/{public → app/assets}/images/icons/add/add_16x16.png +0 -0
- data/{public → app/assets}/images/icons/add/add_light_16x16.png +0 -0
- data/{public → app/assets}/images/icons/arrow_down_blue/arrow_down_blue_16x16.png +0 -0
- data/{public → app/assets}/images/icons/arrow_down_blue/arrow_down_blue_24x24.png +0 -0
- data/{public → app/assets}/images/icons/arrow_down_blue/arrow_down_blue_32x32.png +0 -0
- data/{public → app/assets}/images/icons/arrow_down_blue/arrow_down_blue_48x48.png +0 -0
- data/{public → app/assets}/images/icons/arrow_left_blue/arrow_left_blue_16x16.png +0 -0
- data/{public → app/assets}/images/icons/arrow_left_blue/arrow_left_blue_32x32.png +0 -0
- data/{public → app/assets}/images/icons/arrow_left_blue/arrow_left_blue_48x48.png +0 -0
- data/{public → app/assets}/images/icons/arrow_right_blue/arrow_right_blue_16x16.png +0 -0
- data/{public → app/assets}/images/icons/arrow_right_blue/arrow_right_blue_32x32.png +0 -0
- data/{public → app/assets}/images/icons/arrow_right_blue/arrow_right_blue_48x48.png +0 -0
- data/{public → app/assets}/images/icons/arrow_up_blue/arrow_up_blue_16x16.png +0 -0
- data/{public → app/assets}/images/icons/arrow_up_blue/arrow_up_blue_24x24.png +0 -0
- data/{public → app/assets}/images/icons/arrow_up_blue/arrow_up_blue_32x32.png +0 -0
- data/{public → app/assets}/images/icons/arrow_up_blue/arrow_up_blue_48x48.png +0 -0
- data/{public → app/assets}/images/icons/article/article_16x16.png +0 -0
- data/app/assets/images/icons/audio/audio_16x16.png +0 -0
- data/{public → app/assets}/images/icons/blog/blog_16x16.png +0 -0
- data/{public → app/assets}/images/icons/blog/blog_24x24.png +0 -0
- data/{public → app/assets}/images/icons/blog/blog_32x32.png +0 -0
- data/{public → app/assets}/images/icons/blog/blog_48x48.png +0 -0
- data/{public → app/assets}/images/icons/book/book_16x16.png +0 -0
- data/{public → app/assets}/images/icons/calendar/calendar_16x16.png +0 -0
- data/app/assets/images/icons/calendar/calendar_48x48.png +0 -0
- data/{public → app/assets}/images/icons/calendar/calendar_64x64.png +0 -0
- data/{public → app/assets}/images/icons/calendar/calendar_light_16x16.png +0 -0
- data/{public → app/assets}/images/icons/code/code_16x16.png +0 -0
- data/{public → app/assets}/images/icons/console/console_16x16.png +0 -0
- data/{public → app/assets}/images/icons/console/console_64x64.png +0 -0
- data/{public → app/assets}/images/icons/contact-us/contact-us_48x48.png +0 -0
- data/{public → app/assets}/images/icons/content/content_16x16.png +0 -0
- data/app/assets/images/icons/control_panel/control_panel_105x105.png +0 -0
- data/app/assets/images/icons/control_panel/control_panel_105x105_active.png +0 -0
- data/{public → app/assets}/images/icons/control_panel/control_panel_16x16.png +0 -0
- data/{public → app/assets}/images/icons/control_panel/control_panel_48x48.png +0 -0
- data/{public → app/assets}/images/icons/control_panel/control_panel_64x64.png +0 -0
- data/{public → app/assets}/images/icons/copy/copy_16x16.png +0 -0
- data/{public → app/assets}/images/icons/creditcards/creditcards_16x16.png +0 -0
- data/{public → app/assets}/images/icons/creditcards/creditcards_24x24.png +0 -0
- data/{public → app/assets}/images/icons/creditcards/creditcards_32x32.png +0 -0
- data/{public → app/assets}/images/icons/creditcards/creditcards_48x48.png +0 -0
- data/{public → app/assets}/images/icons/creditcards/creditcards_64x64.png +0 -0
- data/{public → app/assets}/images/icons/crm/crm_16x16.png +0 -0
- data/{public → app/assets}/images/icons/crm/crm_light_16x16.png +0 -0
- data/{public → app/assets}/images/icons/csr/csr_16x16.png +0 -0
- data/{public → app/assets}/images/icons/csr/csr_256x256.png +0 -0
- data/{public → app/assets}/images/icons/csr/csr_500x500.png +0 -0
- data/{public → app/assets}/images/icons/data/data_16x16.png +0 -0
- data/{public → app/assets}/images/icons/data/data_32x32.png +0 -0
- data/{public → app/assets}/images/icons/data/data_64x64.png +0 -0
- data/app/assets/images/icons/database/database_105x105.png +0 -0
- data/app/assets/images/icons/database/database_105x105_active.png +0 -0
- data/{public → app/assets}/images/icons/database/database_16x16.png +0 -0
- data/{public → app/assets}/images/icons/database_column/database_column_16x16.png +0 -0
- data/{public → app/assets}/images/icons/db_edit_data/db_edit_data_16x16.png +0 -0
- data/{public → app/assets}/images/icons/db_table/db_table_16x16.png +0 -0
- data/{public → app/assets}/images/icons/delete/delete_16x16.png +0 -0
- data/{public → app/assets}/images/icons/delete/delete_24x24.png +0 -0
- data/{public → app/assets}/images/icons/delete/delete_32x32.png +0 -0
- data/{public → app/assets}/images/icons/delete/delete_48x48.png +0 -0
- data/{public → app/assets}/images/icons/doc_settings/doc_settings_16x16.png +0 -0
- data/{public → app/assets}/images/icons/document/document_16x16.png +0 -0
- data/{public → app/assets}/images/icons/document/document_24x24.png +0 -0
- data/{public → app/assets}/images/icons/document/document_32x32.png +0 -0
- data/{public → app/assets}/images/icons/document/document_48x48.png +0 -0
- data/{public → app/assets}/images/icons/document_check/document_check_16x16.png +0 -0
- data/{public → app/assets}/images/icons/document_check/document_check_24x24.png +0 -0
- data/{public → app/assets}/images/icons/document_check/document_check_32x32.png +0 -0
- data/{public → app/assets}/images/icons/document_check/document_check_48x48.png +0 -0
- data/{public → app/assets}/images/icons/document_down/document_down_16x16.png +0 -0
- data/{public → app/assets}/images/icons/document_down/document_down_24x24.png +0 -0
- data/{public → app/assets}/images/icons/document_down/document_down_32x32.png +0 -0
- data/{public → app/assets}/images/icons/document_down/document_down_48x48.png +0 -0
- data/{public → app/assets}/images/icons/document_edit/document_edit_16x16.png +0 -0
- data/{public → app/assets}/images/icons/document_edit/document_edit_24x24.png +0 -0
- data/{public → app/assets}/images/icons/document_edit/document_edit_32x32.png +0 -0
- data/{public → app/assets}/images/icons/document_edit/document_edit_48x48.png +0 -0
- data/{public → app/assets}/images/icons/document_info/document_info_16x16.png +0 -0
- data/{public → app/assets}/images/icons/document_info/document_info_24x24.png +0 -0
- data/{public → app/assets}/images/icons/document_info/document_info_32x32.png +0 -0
- data/{public → app/assets}/images/icons/document_info/document_info_48x48.png +0 -0
- data/{public → app/assets}/images/icons/document_lock/document_lock_16x16.png +0 -0
- data/{public → app/assets}/images/icons/document_lock/document_lock_24x24.png +0 -0
- data/{public → app/assets}/images/icons/document_lock/document_lock_32x32.png +0 -0
- data/{public → app/assets}/images/icons/document_lock/document_lock_48x48.png +0 -0
- data/{public → app/assets}/images/icons/document_ok/document_ok_16x16.png +0 -0
- data/{public → app/assets}/images/icons/document_ok/document_ok_24x24.png +0 -0
- data/{public → app/assets}/images/icons/document_ok/document_ok_32x32.png +0 -0
- data/{public → app/assets}/images/icons/document_ok/document_ok_48x48.png +0 -0
- data/{public → app/assets}/images/icons/document_out/document_out_16x16.png +0 -0
- data/{public → app/assets}/images/icons/document_out/document_out_24x24.png +0 -0
- data/{public → app/assets}/images/icons/document_out/document_out_32x32.png +0 -0
- data/{public → app/assets}/images/icons/document_out/document_out_48x48.png +0 -0
- data/{public → app/assets}/images/icons/document_pulse/document_pulse_16x16.png +0 -0
- data/{public → app/assets}/images/icons/document_pulse/document_pulse_24x24.png +0 -0
- data/{public → app/assets}/images/icons/document_pulse/document_pulse_32x32.png +0 -0
- data/{public → app/assets}/images/icons/document_pulse/document_pulse_48x48.png +0 -0
- data/{public → app/assets}/images/icons/document_pulse/document_pulse_64x64.png +0 -0
- data/{public → app/assets}/images/icons/document_up/document_up_16x16.png +0 -0
- data/{public → app/assets}/images/icons/document_up/document_up_24x24.png +0 -0
- data/{public → app/assets}/images/icons/document_up/document_up_32x32.png +0 -0
- data/{public → app/assets}/images/icons/document_up/document_up_48x48.png +0 -0
- data/{public → app/assets}/images/icons/documents/documents_16x16.png +0 -0
- data/{public → app/assets}/images/icons/documents/documents_24x24.png +0 -0
- data/{public → app/assets}/images/icons/documents/documents_32x32.png +0 -0
- data/{public → app/assets}/images/icons/documents/documents_48x48.png +0 -0
- data/{public → app/assets}/images/icons/edit/edit_16x16.png +0 -0
- data/{public → app/assets}/images/icons/edit/edit_24x24.png +0 -0
- data/{public → app/assets}/images/icons/edit/edit_32x32.png +0 -0
- data/{public → app/assets}/images/icons/edit/edit_48x48.png +0 -0
- data/{public → app/assets}/images/icons/exit/exit_16x16.png +0 -0
- data/{public → app/assets}/images/icons/exit/exit_24x24.png +0 -0
- data/{public → app/assets}/images/icons/exit/exit_32x32.png +0 -0
- data/{public → app/assets}/images/icons/exit/exit_48x48.png +0 -0
- data/{public → app/assets}/images/icons/eye/eye_16x16.png +0 -0
- data/{public → app/assets}/images/icons/eye/eye_24x24.png +0 -0
- data/{public → app/assets}/images/icons/eye/eye_32x32.png +0 -0
- data/{public → app/assets}/images/icons/eye/eye_48x48.png +0 -0
- data/app/assets/images/icons/file-upload/file_upload-light.png +0 -0
- data/app/assets/images/icons/file-upload/file_upload_16x16-light.png +0 -0
- data/app/assets/images/icons/file-upload/file_upload_16x16.png +0 -0
- data/{public → app/assets}/images/icons/file_manager/file_manager_16x16.png +0 -0
- data/{public → app/assets}/images/icons/file_manager/file_manager_light_16x16.png +0 -0
- data/{public → app/assets}/images/icons/folder/folder_16x16.png +0 -0
- data/{public → app/assets}/images/icons/folder/folder_24x24.png +0 -0
- data/{public → app/assets}/images/icons/folder/folder_32x32.png +0 -0
- data/{public → app/assets}/images/icons/folder/folder_48x48.png +0 -0
- data/{public → app/assets}/images/icons/folders/folders_64x64.png +0 -0
- data/{public → app/assets}/images/icons/footprints/footprints_16x16.png +0 -0
- data/{public → app/assets}/images/icons/footprints/footprints_light_16x16.png +0 -0
- data/{public → app/assets}/images/icons/form/form_16x16.png +0 -0
- data/{public → app/assets}/images/icons/form/form_light_16x16.png +0 -0
- data/{public → app/assets}/images/icons/gantt/gantt_24x24.png +0 -0
- data/{public → app/assets}/images/icons/gear/gear_16x16.png +0 -0
- data/{public → app/assets}/images/icons/gear/gear_24x24.png +0 -0
- data/{public → app/assets}/images/icons/gear/gear_32x32.png +0 -0
- data/{public → app/assets}/images/icons/gear/gear_48x48.png +0 -0
- data/{public → app/assets}/images/icons/gear/gear_light_16x16.png +0 -0
- data/app/assets/images/icons/globe/globe_105x105.png +0 -0
- data/app/assets/images/icons/globe/globe_105x105_active.png +0 -0
- data/{public → app/assets}/images/icons/globe/globe_16x16.png +0 -0
- data/{public → app/assets}/images/icons/globe/globe_64x64.png +0 -0
- data/{public → app/assets}/images/icons/globe/globe_light_16x16.png +0 -0
- data/{public → app/assets}/images/icons/globe_disconnected/globe_disconnected_16x16.png +0 -0
- data/{public → app/assets}/images/icons/globe_disconnected/globe_disconnected_24x24.png +0 -0
- data/{public → app/assets}/images/icons/globe_disconnected/globe_disconnected_32x32.png +0 -0
- data/{public → app/assets}/images/icons/globe_disconnected/globe_disconnected_48x48.png +0 -0
- data/{public → app/assets}/images/icons/google-map/google-map_48x48.png +0 -0
- data/{public → app/assets}/images/icons/grid/grid_16x16.png +0 -0
- data/{public → app/assets}/images/icons/grid/grid_64x64.png +0 -0
- data/app/assets/images/icons/hide/hide_16x16.png +0 -0
- data/app/assets/images/icons/hide/hide_32x32.png +0 -0
- data/app/assets/images/icons/hide/hide_48x48.png +0 -0
- data/{public → app/assets}/images/icons/hierarchy/hierarchy_16x16.png +0 -0
- data/{public → app/assets}/images/icons/history/history_16x16.png +0 -0
- data/{public → app/assets}/images/icons/history/history_64x64.png +0 -0
- data/{public → app/assets}/images/icons/history/history_light_16x16.png +0 -0
- data/{public → app/assets}/images/icons/home/home_16x16.png +0 -0
- data/{public → app/assets}/images/icons/home/home_48x48.png +0 -0
- data/{public → app/assets}/images/icons/ia/ia_16x16.png +0 -0
- data/{public → app/assets}/images/icons/index/index_16x16.png +0 -0
- data/{public → app/assets}/images/icons/index/index_24x24.png +0 -0
- data/{public → app/assets}/images/icons/index/index_32x32.png +0 -0
- data/{public → app/assets}/images/icons/index/index_48x48.png +0 -0
- data/{public → app/assets}/images/icons/information/information_16x16.png +0 -0
- data/app/assets/images/icons/information/information_light_16x16.png +0 -0
- data/{public → app/assets}/images/icons/invoicing/invoicing_48x48.png +0 -0
- data/{public → app/assets}/images/icons/invoicing/invoicing_64x64.png +0 -0
- data/app/assets/images/icons/key/key_105x105.png +0 -0
- data/app/assets/images/icons/key/key_105x105_active.png +0 -0
- data/app/assets/images/icons/key/key_16x16-light.png +0 -0
- data/{public → app/assets}/images/icons/key/key_16x16.png +0 -0
- data/{public → app/assets}/images/icons/key/key_64x64.png +0 -0
- data/{public → app/assets}/images/icons/knitkit/knitkit_16x16.png +0 -0
- data/{public → app/assets}/images/icons/knitkit/knitkit_48x48.png +0 -0
- data/{public → app/assets}/images/icons/knitkit/knitkit_light_16x16.png +0 -0
- data/app/assets/images/icons/link/link_16x16.png +0 -0
- data/app/assets/images/icons/login/login_48x48.png +0 -0
- data/{public → app/assets}/images/icons/magnifying-glass/magnifying-glass_48x48.png +0 -0
- data/{public → app/assets}/images/icons/mail/mail_16x16.png +0 -0
- data/{public → app/assets}/images/icons/mail/mail_24x24.png +0 -0
- data/{public → app/assets}/images/icons/mail/mail_32x32.png +0 -0
- data/app/assets/images/icons/mail/mail_48x48.png +0 -0
- data/app/assets/images/icons/manage_profile/manage_profile_48x48.png +0 -0
- data/{public → app/assets}/images/icons/map/map_16x16.png +0 -0
- data/{public → app/assets}/images/icons/map/map_24x24.png +0 -0
- data/{public → app/assets}/images/icons/map/map_32x32.png +0 -0
- data/app/assets/images/icons/map/map_48x48.png +0 -0
- data/{public → app/assets}/images/icons/menu/menu_16x16.png +0 -0
- data/{public → app/assets}/images/icons/next/next_16x16.png +0 -0
- data/{public → app/assets}/images/icons/next/next_24x24.png +0 -0
- data/{public → app/assets}/images/icons/next/next_32x32.png +0 -0
- data/{public → app/assets}/images/icons/next/next_48x48.png +0 -0
- data/{public → app/assets}/images/icons/note/note_16x16.png +0 -0
- data/{public → app/assets}/images/icons/note/note_24x24.png +0 -0
- data/{public → app/assets}/images/icons/note/note_32x32.png +0 -0
- data/{public → app/assets}/images/icons/note/note_48x48.png +0 -0
- data/{public → app/assets}/images/icons/ordered_list/ordered_list_16x16.png +0 -0
- data/app/assets/images/icons/package/logo.png +0 -0
- data/{public → app/assets}/images/icons/package/package_16x16.png +0 -0
- data/{public → app/assets}/images/icons/package/package_24x24.png +0 -0
- data/{public → app/assets}/images/icons/package/package_32x32.png +0 -0
- data/app/assets/images/icons/package/package_48x48.png +0 -0
- data/{public → app/assets}/images/icons/package/package_64x64.png +0 -0
- data/{public → app/assets}/images/icons/package/package_light_16x16.png +0 -0
- data/{public → app/assets}/images/icons/palette/palette_64x64.png +0 -0
- data/{public → app/assets}/images/icons/person/person_16x16.png +0 -0
- data/{public → app/assets}/images/icons/phone/phone_16x16.png +0 -0
- data/{public → app/assets}/images/icons/phone/phone_64x64.png +0 -0
- data/{public → app/assets}/images/icons/picture/picture_16x16.png +0 -0
- data/{public → app/assets}/images/icons/play/play_16x16.png +0 -0
- data/{public → app/assets}/images/icons/preferences/preferences_16x16.png +0 -0
- data/{public → app/assets}/images/icons/preferences/preferences_24x24.png +0 -0
- data/{public → app/assets}/images/icons/preferences/preferences_32x32.png +0 -0
- data/{public → app/assets}/images/icons/preferences/preferences_48x48.png +0 -0
- data/{public → app/assets}/images/icons/preview/preview_16x16.png +0 -0
- data/{public → app/assets}/images/icons/preview/preview_24x24.png +0 -0
- data/{public → app/assets}/images/icons/preview/preview_32x32.png +0 -0
- data/{public → app/assets}/images/icons/preview/preview_48x48.png +0 -0
- data/{public → app/assets}/images/icons/product/product_16x16.png +0 -0
- data/{public → app/assets}/images/icons/product/product_24x24.png +0 -0
- data/{public → app/assets}/images/icons/product/product_32x32.png +0 -0
- data/app/assets/images/icons/product/product_48x48.png +0 -0
- data/{public → app/assets}/images/icons/product/product_64x64.png +0 -0
- data/{public → app/assets}/images/icons/product/product_light_16x16.png +0 -0
- data/{public → app/assets}/images/icons/properties/properties_16x16.png +0 -0
- data/{public → app/assets}/images/icons/properties/properties_24x24.png +0 -0
- data/{public → app/assets}/images/icons/properties/properties_32x32.png +0 -0
- data/{public → app/assets}/images/icons/properties/properties_48x48.png +0 -0
- data/{public → app/assets}/images/icons/query/query_16x16.png +0 -0
- data/app/assets/images/icons/recycle/recycle_16x16.png +0 -0
- data/{public → app/assets}/images/icons/recycle/recycle_24x24.png +0 -0
- data/{public → app/assets}/images/icons/recycle/recycle_32x32.png +0 -0
- data/{public → app/assets}/images/icons/recycle/recycle_48x48.png +0 -0
- data/{public → app/assets}/images/icons/redo/redo_16x16.png +0 -0
- data/{public → app/assets}/images/icons/redo/redo_24x24.png +0 -0
- data/{public → app/assets}/images/icons/redo/redo_32x32.png +0 -0
- data/{public → app/assets}/images/icons/redo/redo_48x48.png +0 -0
- data/{public → app/assets}/images/icons/refresh/refresh_16x16.png +0 -0
- data/{public → app/assets}/images/icons/refresh/refresh_24x24.png +0 -0
- data/{public → app/assets}/images/icons/refresh/refresh_32x32.png +0 -0
- data/{public → app/assets}/images/icons/refresh/refresh_48x48.png +0 -0
- data/{public → app/assets}/images/icons/remove/remove_16x16.png +0 -0
- data/{public → app/assets}/images/icons/remove/remove_24x24.png +0 -0
- data/{public → app/assets}/images/icons/remove/remove_32x32.png +0 -0
- data/{public → app/assets}/images/icons/remove/remove_48x48.png +0 -0
- data/{public → app/assets}/images/icons/rename/rename_16x16.png +0 -0
- data/{public → app/assets}/images/icons/rename/rename_24x24.png +0 -0
- data/{public → app/assets}/images/icons/rename/rename_32xr2.png +0 -0
- data/{public → app/assets}/images/icons/rename/rename_48x48.png +0 -0
- data/{public → app/assets}/images/icons/report/report_16x16.png +0 -0
- data/app/assets/images/icons/reset_password/reset_password_48x48.png +0 -0
- data/{public → app/assets}/images/icons/rowselect/rowselect_16x16.png +0 -0
- data/{public → app/assets}/images/icons/save/save_16x16.png +0 -0
- data/{public → app/assets}/images/icons/save/save_24x24.png +0 -0
- data/{public → app/assets}/images/icons/save/save_32x32.png +0 -0
- data/{public → app/assets}/images/icons/save/save_48x48.png +0 -0
- data/{public → app/assets}/images/icons/save_as/save_as_16x16.png +0 -0
- data/{public → app/assets}/images/icons/save_as/save_as_24x24.png +0 -0
- data/{public → app/assets}/images/icons/save_as/save_as_32x32.png +0 -0
- data/{public → app/assets}/images/icons/save_as/save_as_48x48.png +0 -0
- data/{public → app/assets}/images/icons/scaffold/scaffold_16x16.png +0 -0
- data/{public → app/assets}/images/icons/scaffold/scaffold_light_16x16.png +0 -0
- data/{public → app/assets}/images/icons/search/search_16x16.png +0 -0
- data/{public → app/assets}/images/icons/search/search_24x24.png +0 -0
- data/{public → app/assets}/images/icons/search/search_32x32.png +0 -0
- data/app/assets/images/icons/search/search_48x48.png +0 -0
- data/{public → app/assets}/images/icons/search/search_light_16x16.png +0 -0
- data/{public → app/assets}/images/icons/section/section_16x16.png +0 -0
- data/{public → app/assets}/images/icons/section/section_24x24.png +0 -0
- data/{public → app/assets}/images/icons/section/section_32x32.png +0 -0
- data/{public → app/assets}/images/icons/section/section_48x48.png +0 -0
- data/{public → app/assets}/images/icons/section_lock/section_lock_16x16.png +0 -0
- data/{public → app/assets}/images/icons/section_lock/section_lock_24x24.png +0 -0
- data/{public → app/assets}/images/icons/section_lock/section_lock_32x32.png +0 -0
- data/{public → app/assets}/images/icons/section_lock/section_lock_48x48.png +0 -0
- data/{public → app/assets}/images/icons/secure/secure_16x16.png +0 -0
- data/{public → app/assets}/images/icons/settings/settings_16x16.png +0 -0
- data/{public → app/assets}/images/icons/settings/settings_light_16x16.png +0 -0
- data/{public → app/assets}/images/icons/shopping_cart/shopping_card_64x64.png +0 -0
- data/{public → app/assets}/images/icons/shopping_cart/shopping_cart_32x32.png +0 -0
- data/app/assets/images/icons/shopping_cart/shopping_cart_48x48.png +0 -0
- data/{public → app/assets}/images/icons/sign_up/sign_up_32x32.png +0 -0
- data/app/assets/images/icons/sign_up/sign_up_48x48.png +0 -0
- data/{public → app/assets}/images/icons/sign_up/sign_up_64x64.png +0 -0
- data/{public → app/assets}/images/icons/simple_arrow/simple_arrow_16x16.png +0 -0
- data/{public → app/assets}/images/icons/small_gear/small_gear_16x16.png +0 -0
- data/{public → app/assets}/images/icons/sql/sql_16x16.png +0 -0
- data/{public → app/assets}/images/icons/tables/tables_16x16.png +0 -0
- data/app/assets/images/icons/template/template_16x16.png +0 -0
- data/{public → app/assets}/images/icons/theme/theme_16x16.png +0 -0
- data/{public → app/assets}/images/icons/theme_upload/theme_upload_16x16.png +0 -0
- data/{public → app/assets}/images/icons/ticket/tag_16x16.png +0 -0
- data/{public → app/assets}/images/icons/undo/undo_16x16.png +0 -0
- data/app/assets/images/icons/unhide/unhide_16x16.png +0 -0
- data/app/assets/images/icons/user/user_105x105.png +0 -0
- data/app/assets/images/icons/user/user_105x105_active.png +0 -0
- data/{public → app/assets}/images/icons/user/user_128x128.png +0 -0
- data/{public → app/assets}/images/icons/user/user_16x16.png +0 -0
- data/app/assets/images/icons/user/user_48x48.png +0 -0
- data/{public → app/assets}/images/icons/user/user_64x64.png +0 -0
- data/{public → app/assets}/images/icons/user/user_light_16x16.png +0 -0
- data/{public → app/assets}/images/icons/user_mgt/user_mgt_16x16.png +0 -0
- data/{public → app/assets}/images/icons/user_mgt/user_mgt_light_16x16.png +0 -0
- data/{public → app/assets}/images/icons/vcard/vcard_16x16.png +0 -0
- data/{public → app/assets}/images/icons/view/view_16x16.png +0 -0
- data/{public → app/assets}/images/icons/view/view_24x24.png +0 -0
- data/{public → app/assets}/images/icons/view/view_32x32.png +0 -0
- data/{public → app/assets}/images/icons/view/view_48x48.png +0 -0
- data/{public → app/assets}/images/icons/warning/waring_16x16.png +0 -0
- data/app/assets/images/icons/website/website_105x105.png +0 -0
- data/app/assets/images/icons/website/website_105x105_active.png +0 -0
- data/{public → app/assets}/images/icons/website/website_16x16.png +0 -0
- data/{public → app/assets}/images/icons/website_download/website_download_16x16.png +0 -0
- data/{public → app/assets}/images/icons/website_publications/website_publications_16x16.png +0 -0
- data/{public → app/assets}/images/icons/website_upload/website_upload_16x16.png +0 -0
- data/{public → app/assets}/images/img_blank.png +0 -0
- data/{public → app/assets}/images/loading_icon.gif +0 -0
- data/app/assets/images/splash/icons/console_icon.png +0 -0
- data/app/assets/images/splash/icons/console_icon_active.png +0 -0
- data/app/assets/images/splash/icons/db_icon.png +0 -0
- data/app/assets/images/splash/icons/db_icon_active.png +0 -0
- data/app/assets/images/splash/icons/help_icon.png +0 -0
- data/app/assets/images/splash/icons/help_icon_active.png +0 -0
- data/{public → app/assets}/images/splash_screen/browse_docs_icon.png +0 -0
- data/{public → app/assets}/images/splash_screen/contact_mgt_icon.png +0 -0
- data/{public → app/assets}/images/splash_screen/desktop_icon.png +0 -0
- data/{public → app/assets}/images/tab/tab-default-close.png +0 -0
- data/{public → app/assets}/images/unchecked.gif +0 -0
- data/{public → app/assets}/images/wallpaper/truenorth_tech.png +0 -0
- data/app/assets/javascripts/codemirror_compassae.js +31 -0
- data/app/assets/javascripts/erp_app/authentication/compass_user.js +97 -0
- data/app/assets/javascripts/erp_app/desktop/app.js +15 -0
- data/app/assets/javascripts/erp_app/desktop/applications/audit_log_viewer/app.js +13 -0
- data/app/assets/javascripts/erp_app/desktop/applications/audit_log_viewer/module.js +38 -0
- data/app/assets/javascripts/erp_app/desktop/applications/configuration_management/app.js +17 -0
- data/{public → app/assets}/javascripts/erp_app/desktop/applications/configuration_management/configuration_options_panel.js +0 -0
- data/{public → app/assets}/javascripts/erp_app/desktop/applications/configuration_management/configuration_tree_panel.js +0 -0
- data/{public → app/assets}/javascripts/erp_app/desktop/applications/configuration_management/configuration_types_panel.js +0 -0
- data/app/assets/javascripts/erp_app/desktop/applications/configuration_management/module.js +96 -0
- 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
- data/app/assets/javascripts/erp_app/desktop/applications/file_manager/app.js +13 -0
- data/app/assets/javascripts/erp_app/desktop/applications/file_manager/module.js +134 -0
- data/app/assets/javascripts/erp_app/desktop/applications/job_tracker/app.js +14 -0
- data/{public → app/assets}/javascripts/erp_app/desktop/applications/job_tracker/jobs_grid.js +0 -0
- data/app/assets/javascripts/erp_app/desktop/applications/job_tracker/module.js +44 -0
- data/app/assets/javascripts/erp_app/desktop/applications/security_management/app.js +24 -0
- data/app/assets/javascripts/erp_app/desktop/applications/security_management/capabilities_panel.js +54 -0
- data/app/assets/javascripts/erp_app/desktop/applications/security_management/capabilities_widget.js +245 -0
- data/{public → app/assets}/javascripts/erp_app/desktop/applications/security_management/common_widget.js +0 -0
- data/app/assets/javascripts/erp_app/desktop/applications/security_management/groups_effective_security.js +80 -0
- data/app/assets/javascripts/erp_app/desktop/applications/security_management/groups_panel.js +271 -0
- data/app/assets/javascripts/erp_app/desktop/applications/security_management/groups_widget.js +245 -0
- data/app/assets/javascripts/erp_app/desktop/applications/security_management/mixins/widget.js +39 -0
- data/app/assets/javascripts/erp_app/desktop/applications/security_management/module.js +155 -0
- data/app/assets/javascripts/erp_app/desktop/applications/security_management/north_panel.js +23 -0
- data/app/assets/javascripts/erp_app/desktop/applications/security_management/roles_panel.js +334 -0
- data/app/assets/javascripts/erp_app/desktop/applications/security_management/roles_widget.js +258 -0
- data/app/assets/javascripts/erp_app/desktop/applications/security_management/south_panel.js +70 -0
- data/app/assets/javascripts/erp_app/desktop/applications/system_management/app.js +15 -0
- data/app/assets/javascripts/erp_app/desktop/applications/system_management/form.js +100 -0
- data/app/assets/javascripts/erp_app/desktop/applications/system_management/module.js +227 -0
- data/app/assets/javascripts/erp_app/desktop/applications/system_management/stores.js +48 -0
- data/app/assets/javascripts/erp_app/desktop/applications/tail/app.js +14 -0
- data/{public → app/assets}/javascripts/erp_app/desktop/applications/tail/module.js +0 -0
- data/{public → app/assets}/javascripts/erp_app/desktop/applications/tail/tail_panel.js +0 -0
- data/app/assets/javascripts/erp_app/desktop/applications/user_management/app.js +13 -0
- data/app/assets/javascripts/erp_app/desktop/applications/user_management/module.js +454 -0
- data/app/assets/javascripts/erp_app/desktop/applications/web_navigator/app.js +13 -0
- data/{public → app/assets}/javascripts/erp_app/desktop/applications/web_navigator/module.js +0 -0
- data/app/assets/javascripts/erp_app/desktop/ext_ux_desktop_module.js +1016 -0
- data/app/assets/javascripts/erp_app/desktop/select_roles_window.js +267 -0
- data/app/assets/javascripts/erp_app/ecommerce/credit_card_window.js +343 -0
- data/app/assets/javascripts/erp_app/jquery_support.js +45 -0
- data/app/assets/javascripts/erp_app/login/ResetPassword.js +128 -0
- data/app/assets/javascripts/erp_app/login/mobile.js +77 -0
- data/app/assets/javascripts/erp_app/login/window.js +238 -0
- data/app/assets/javascripts/erp_app/organizer/app.js +15 -0
- data/app/assets/javascripts/erp_app/organizer/applications/crm/app.js +14 -0
- data/app/assets/javascripts/erp_app/organizer/applications/crm/base.js +64 -0
- data/{public → app/assets}/javascripts/erp_app/organizer/applications/crm/relationship_grid.js +0 -0
- data/app/assets/javascripts/erp_app/organizer/layout.js +258 -0
- data/{public → app/assets}/javascripts/erp_app/organizer/preference_window.js +0 -0
- data/app/assets/javascripts/erp_app/shared/DateTimeField.js +77 -0
- data/app/assets/javascripts/erp_app/shared/MoneyField.js +120 -0
- data/app/assets/javascripts/erp_app/shared/MultiOptions.js +182 -0
- data/app/assets/javascripts/erp_app/shared/Party/AppsInstalledPanel.js +302 -0
- data/app/assets/javascripts/erp_app/shared/Party/LoginInfoPanel.js +291 -0
- data/app/assets/javascripts/erp_app/shared/Party/SecurityPanel.js +448 -0
- data/app/assets/javascripts/erp_app/shared/Party/UserTypePanel.js +198 -0
- data/{public → app/assets}/javascripts/erp_app/shared/PartySearchField.js +0 -0
- data/app/assets/javascripts/erp_app/shared/TimePickerField.js +189 -0
- data/{public → app/assets}/javascripts/erp_app/shared/TransitionCardLayout.js +0 -0
- data/app/assets/javascripts/erp_app/shared/TypeSelectionTree.js +510 -0
- data/app/assets/javascripts/erp_app/shared/active_ext/active_ext_grid.js +351 -0
- data/{public → app/assets}/javascripts/erp_app/shared/active_ext/active_ext_grid_panel.js +0 -0
- data/app/assets/javascripts/erp_app/shared/audit_log/GridPanel.js +214 -0
- data/{public → app/assets}/javascripts/erp_app/shared/audit_log/ItemGridPanel.js +0 -0
- data/app/assets/javascripts/erp_app/shared/audit_log/TabPanel.js +116 -0
- data/app/assets/javascripts/erp_app/shared/compass_ckeditor.js +267 -0
- data/app/assets/javascripts/erp_app/shared/compass_codemirror.js +464 -0
- data/{public → app/assets}/javascripts/erp_app/shared/configuration/configuration_form.js +0 -0
- data/app/assets/javascripts/erp_app/shared/configuration/configuration_panel.js +141 -0
- data/{public → app/assets}/javascripts/erp_app/shared/coolclock/tray_clock2.js +0 -0
- data/app/assets/javascripts/erp_app/shared/crm/ContactMechanismGrid.js +754 -0
- data/app/assets/javascripts/erp_app/shared/crm/PartyDetailsPanel.js +344 -0
- data/app/assets/javascripts/erp_app/shared/crm/PartyForm.js +321 -0
- data/{public → app/assets}/javascripts/erp_app/shared/crm/PartyFormPanel.js +0 -0
- data/app/assets/javascripts/erp_app/shared/crm/PartyGrid.js +595 -0
- data/app/assets/javascripts/erp_app/shared/crm/UserForm.js +302 -0
- data/app/assets/javascripts/erp_app/shared/crm/UsersGrid.js +535 -0
- data/app/assets/javascripts/erp_app/shared/dynamic_editable_grid.js +181 -0
- data/app/assets/javascripts/erp_app/shared/dynamic_editable_grid_loader_panel.js +65 -0
- data/app/assets/javascripts/erp_app/shared/dynamic_form_fields.js +104 -0
- data/{public → app/assets}/javascripts/erp_app/shared/encryption/encryption.js +0 -0
- data/app/assets/javascripts/erp_app/shared/erp_app_shared.js +13 -0
- data/app/assets/javascripts/erp_app/shared/file_manager_tree.js +750 -0
- data/app/assets/javascripts/erp_app/shared/file_upload/Ext.ux.panel.UploadPanel.js +581 -0
- data/{public → app/assets}/javascripts/erp_app/shared/file_upload/plupload.flash.swf +0 -0
- data/{public → app/assets}/javascripts/erp_app/shared/file_upload/plupload.full.js +0 -0
- data/{public → app/assets}/javascripts/erp_app/shared/file_upload/plupload.silverlight.xap +0 -0
- data/app/assets/javascripts/erp_app/shared/file_upload/upload_window.js +65 -0
- data/{public → app/assets}/javascripts/erp_app/shared/google_map_panel.js +0 -0
- data/app/assets/javascripts/erp_app/shared/notes_grid.js +338 -0
- data/{public → app/assets}/javascripts/erp_app/shared/preferences/application_management_panel.js +0 -0
- data/{public → app/assets}/javascripts/erp_app/shared/preferences/form.js +0 -0
- data/app/assets/javascripts/erp_app/shared/profile_management_panel.js +140 -0
- data/{public → app/assets}/javascripts/erp_app/shared/status_window.js +0 -0
- data/app/assets/javascripts/erp_app/utility.js +809 -0
- data/app/assets/javascripts/erp_app/widgets.js +122 -0
- data/{public → app/assets}/javascripts/jquery_plugins/jquery.address.min.js +0 -0
- data/{public → app/assets}/javascripts/jquery_plugins/jquery.loadmask.min.js +0 -0
- data/app/assets/stylesheets/codemirror_compassae.css +14 -0
- data/app/assets/stylesheets/erp_app/desktop/applications/audit_log_viewer/app.css +11 -0
- data/app/assets/stylesheets/erp_app/desktop/applications/configuration_management/app.css +11 -0
- data/app/assets/stylesheets/erp_app/desktop/applications/file_manager/app.css +11 -0
- data/app/assets/stylesheets/erp_app/desktop/applications/job_tracker/app.css +11 -0
- data/app/assets/stylesheets/erp_app/desktop/applications/scaffold/app.css +11 -0
- data/app/assets/stylesheets/erp_app/desktop/applications/security_management/app.css +12 -0
- data/{public → app/assets}/stylesheets/erp_app/desktop/applications/security_management/styles.css +0 -0
- data/app/assets/stylesheets/erp_app/desktop/applications/tail/app.css +11 -0
- data/app/assets/stylesheets/erp_app/desktop/applications/user_management/app.css +11 -0
- data/app/assets/stylesheets/erp_app/desktop/base.css +262 -0
- data/app/assets/stylesheets/erp_app/login/main.css +17 -0
- data/app/assets/stylesheets/erp_app/organizer/applications/crm/app.css +12 -0
- data/app/assets/stylesheets/erp_app/organizer/base.css +19 -0
- data/app/assets/stylesheets/erp_app/shared/compass-ext-all.css +599 -0
- data/app/assets/stylesheets/erp_app/shared/crm.css +45 -0
- data/app/assets/stylesheets/erp_app/shared/erp_app_shared.css +12 -0
- data/{public → app/assets}/stylesheets/erp_app/shared/grid_cell.css +0 -0
- data/{public → app/assets}/stylesheets/erp_app/shared/hover_finger.css +0 -0
- data/app/assets/stylesheets/jquery_plugins/jquery.loadmask.css +53 -0
- data/app/controllers/api/v1/applications_controller.rb +179 -0
- data/app/controllers/erp_app/application_controller.rb +7 -1
- data/app/controllers/erp_app/desktop/base_controller.rb +0 -1
- data/app/controllers/erp_app/desktop/file_manager/base_controller.rb +5 -3
- data/app/controllers/erp_app/desktop/system_management/types_controller.rb +126 -0
- data/app/controllers/erp_app/desktop/user_management/application_management_controller.rb +68 -36
- data/app/controllers/erp_app/desktop/user_management/base_controller.rb +0 -0
- data/app/controllers/erp_app/desktop/user_management/role_management_controller.rb +0 -0
- data/app/controllers/erp_app/login_controller.rb +30 -2
- data/app/controllers/erp_app/organizer/base_controller.rb +3 -30
- data/app/controllers/erp_app/organizer/crm/contact_mechanisms_controller.rb +4 -2
- data/app/controllers/erp_app/organizer/crm/parties_controller.rb +26 -2
- data/app/controllers/erp_app/organizer/crm/users_controller.rb +22 -0
- data/app/controllers/erp_app/public_controller.rb +3 -0
- data/app/controllers/erp_app/shared/audit_log_controller.rb +1 -1
- data/app/controllers/erp_app/shared/configuration_controller.rb +1 -1
- data/app/controllers/erp_app/shared/notes_controller.rb +0 -6
- data/app/controllers/erp_app/widget_proxy_controller.rb +19 -5
- data/app/mailers/crm_mailer.rb +2 -1
- data/app/models/application.rb +88 -6
- data/app/models/configuration.rb +7 -0
- data/app/models/configuration_item.rb +6 -0
- data/app/models/extensions/party.rb +9 -0
- data/app/models/extensions/user.rb +42 -15
- data/app/models/preference_type.rb +1 -1
- data/app/views/erp_app/desktop/base/index.erb +253 -203
- data/app/views/erp_app/login/index.erb +28 -20
- data/app/views/erp_app/login/reset_password.erb +30 -0
- data/app/views/erp_app/organizer/base/index.erb +28 -23
- data/app/views/erp_app/organizer/crm/parties/details.erb +1 -1
- data/config/routes.rb +29 -17
- data/db/data_migrations/20110728201729_erp_app_setup.rb +168 -240
- data/db/data_migrations/20110728201730_add_system_management_tool.rb +27 -0
- data/db/data_migrations/20150929185612_add_applications_to_dba_org.rb +31 -0
- data/db/migrate/20080805000096_base_app_framework.rb +36 -44
- data/lib/erp_app.rb +2 -2
- data/lib/erp_app/config.rb +9 -3
- data/lib/erp_app/engine.rb +114 -12
- data/lib/erp_app/extensions/compass_ae/erp_tech_svcs/session_controller.rb +27 -0
- data/lib/erp_app/extensions/railties/action_view/base.rb +32 -6
- data/lib/erp_app/extensions/railties/action_view/helpers/include_helper.rb +37 -30
- data/lib/erp_app/version.rb +1 -1
- data/lib/erp_app/widgets/base.rb +6 -4
- data/lib/erp_app/widgets/loader.rb +1 -1
- data/lib/erp_app/widgets/railties/action_view/helpers/widget_helper.rb +12 -12
- data/lib/generators/admin_tool/USAGE +23 -0
- data/lib/generators/admin_tool/admin_tool_generator.rb +28 -0
- data/lib/generators/admin_tool/templates/INSTALL +23 -0
- data/lib/generators/{desktop_application/templates/public/module.js.erb → admin_tool/templates/assets/javascripts/Module.js.erb} +0 -0
- data/lib/generators/admin_tool/templates/assets/javascripts/app.js.erb +17 -0
- data/lib/generators/admin_tool/templates/assets/stylesheets/app.css.erb +11 -0
- data/lib/generators/{desktop_application → admin_tool}/templates/controllers/controller_template.erb +0 -0
- data/lib/generators/{desktop_application → admin_tool}/templates/migrate/migration_template.erb +0 -0
- data/lib/generators/application/USAGE +23 -0
- data/lib/generators/application/application_generator.rb +28 -0
- data/lib/generators/application/templates/INSTALL +23 -0
- data/lib/generators/application/templates/assets/javascripts/Application.js.erb +20 -0
- data/lib/generators/application/templates/assets/javascripts/app.js.erb +17 -0
- data/lib/generators/application/templates/assets/stylesheets/app.css.erb +11 -0
- data/lib/generators/application/templates/controllers/controller_template.erb +9 -0
- data/lib/generators/application/templates/migrate/migration_template.erb +21 -0
- data/lib/generators/cms_widget/templates/engine/engine_template.erb +2 -2
- data/lib/generators/cms_widget/templates/helpers/controller/controller_helper_template.erb +1 -1
- data/lib/generators/cms_widget/templates/helpers/view/view_helper_template.erb +1 -1
- data/lib/generators/cms_widget/templates/javascript/base.js.erb +1 -1
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/ckeditor.js +0 -0
- data/public/javascripts/ckeditor/config.js +14 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/contents.css +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/lang/en.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/a11yhelp.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/_translationstatus.txt +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/ar.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/bg.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/ca.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/cs.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/cy.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/da.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/de.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/el.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/en.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/eo.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/es.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/et.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/fa.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/fi.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/fr-ca.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/fr.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/gl.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/gu.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/he.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/hi.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/hr.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/hu.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/id.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/it.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/ja.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/km.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/ku.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/lt.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/lv.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/mk.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/mn.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/nb.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/nl.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/no.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/pl.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/pt-br.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/pt.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/ro.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/ru.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/si.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/sk.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/sl.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/sq.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/sr-latn.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/sr.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/sv.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/th.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/tr.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/ug.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/uk.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/vi.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/a11yhelp/dialogs/lang/zh-cn.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/about/dialogs/about.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/about/dialogs/hidpi/logo_ckeditor.png +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/about/dialogs/logo_ckeditor.png +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/clipboard/dialogs/paste.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/codemirror/lang/en.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/codemirror/plugin.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/colordialog/dialogs/colordialog.js +0 -0
- data/public/javascripts/ckeditor/plugins/compasssave/plugin.js +22 -0
- data/public/javascripts/ckeditor/plugins/dialog/dialogDefinition.js +1006 -0
- data/public/javascripts/ckeditor/plugins/dialog/plugin.js +3232 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/div/dialogs/div.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/fakeobjects/images/spacer.gif +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/find/dialogs/find.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/flash/dialogs/flash.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/flash/images/placeholder.png +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/forms/dialogs/button.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/forms/dialogs/checkbox.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/forms/dialogs/form.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/forms/dialogs/hiddenfield.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/forms/dialogs/radio.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/forms/dialogs/select.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/forms/dialogs/textarea.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/forms/dialogs/textfield.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/forms/images/hiddenfield.gif +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/icons.png +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/icons_hidpi.png +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/iframe/dialogs/iframe.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/iframe/images/placeholder.png +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/image/dialogs/image.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/image/images/noimage.png +0 -0
- data/public/javascripts/ckeditor/plugins/inlineeditsave/plugin.js +42 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/jwplayer/config.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/jwplayer/dialogs/jwplayer.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/jwplayer/help.txt +0 -0
- 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
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/jwplayer/jwplayer/jwPlayer.gif +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/jwplayer/jwplayer/jwplayer.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/jwplayer/jwplayer/license.txt +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/jwplayer/jwplayer/player.swf +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/jwplayer/jwplayer/preview.jpg +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/jwplayer/jwplayer/readme.html +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/jwplayer/jwplayer/skin/beelden.zip +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/jwplayer/jwplayer/skin/glow.zip +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/jwplayer/jwplayer/skin/modieus.zip +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/jwplayer/jwplayer/skin/simple.zip +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/jwplayer/jwplayer/skin/snel.zip +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/jwplayer/jwplayer/skin/stijl.zip +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/jwplayer/jwplayer/skin/stormtrooper.zip +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/jwplayer/jwplayer/swfobject.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/jwplayer/jwplayer/video.mp4 +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/jwplayer/jwplayer/yt.swf +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/jwplayer/plugin.js +0 -0
- data/public/javascripts/ckeditor/plugins/knitkitthemes/plugin.js +116 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/link/dialogs/anchor.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/link/dialogs/link.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/link/images/anchor.png +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/link/images/hidpi/anchor.png +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/liststyle/dialogs/liststyle.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/magicline/images/hidpi/icon.png +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/magicline/images/icon.png +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/pagebreak/images/pagebreak.gif +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/pastefromword/filter/default.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/preview/preview.html +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/scayt/LICENSE.md +0 -0
- data/public/javascripts/ckeditor/plugins/scayt/README.md +25 -0
- data/public/javascripts/ckeditor/plugins/scayt/dialogs/options.js +473 -0
- data/public/javascripts/ckeditor/plugins/scayt/dialogs/toolbar.css +71 -0
- data/public/javascripts/ckeditor/plugins/scayt/icons/hidpi/scayt.png +0 -0
- data/public/javascripts/ckeditor/plugins/scayt/icons/scayt.png +0 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/af.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/ar.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/bg.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/bn.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/bs.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/ca.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/cs.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/cy.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/da.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/de.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/el.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/en-au.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/en-ca.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/en-gb.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/en.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/eo.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/es.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/et.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/eu.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/fa.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/fi.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/fo.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/fr-ca.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/fr.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/gl.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/gu.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/he.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/hi.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/hr.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/hu.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/is.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/it.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/ja.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/ka.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/km.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/ko.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/ku.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/lt.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/lv.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/mk.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/mn.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/ms.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/nb.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/nl.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/no.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/pl.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/pt-br.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/pt.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/ro.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/ru.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/sk.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/sl.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/sr-latn.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/sr.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/sv.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/th.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/tr.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/ug.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/uk.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/vi.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/zh-cn.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/lang/zh.js +34 -0
- data/public/javascripts/ckeditor/plugins/scayt/plugin.js +894 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/showblocks/images/block_address.png +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/showblocks/images/block_blockquote.png +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/showblocks/images/block_div.png +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/showblocks/images/block_h1.png +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/showblocks/images/block_h2.png +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/showblocks/images/block_h3.png +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/showblocks/images/block_h4.png +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/showblocks/images/block_h5.png +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/showblocks/images/block_h6.png +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/showblocks/images/block_p.png +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/showblocks/images/block_pre.png +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/smiley/dialogs/smiley.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/smiley/images/angel_smile.gif +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/smiley/images/angry_smile.gif +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/smiley/images/broken_heart.gif +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/smiley/images/confused_smile.gif +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/smiley/images/cry_smile.gif +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/smiley/images/devil_smile.gif +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/smiley/images/embaressed_smile.gif +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/smiley/images/embarrassed_smile.gif +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/smiley/images/envelope.gif +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/smiley/images/heart.gif +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/smiley/images/kiss.gif +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/smiley/images/lightbulb.gif +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/smiley/images/omg_smile.gif +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/smiley/images/regular_smile.gif +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/smiley/images/sad_smile.gif +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/smiley/images/shades_smile.gif +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/smiley/images/teeth_smile.gif +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/smiley/images/thumbs_down.gif +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/smiley/images/thumbs_up.gif +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/smiley/images/tongue_smile.gif +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/smiley/images/tounge_smile.gif +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/smiley/images/wink_smile.gif +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/_translationstatus.txt +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/ar.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/bg.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/ca.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/cs.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/cy.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/de.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/el.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/en.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/eo.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/es.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/et.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/fa.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/fi.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/fr-ca.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/fr.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/gl.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/he.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/hr.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/hu.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/id.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/it.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/ja.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/ku.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/lv.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/nb.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/nl.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/no.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/pl.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/pt-br.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/pt.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/ru.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/si.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/sk.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/sl.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/sq.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/sv.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/th.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/tr.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/ug.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/uk.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/vi.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/lang/zh-cn.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/specialchar/dialogs/specialchar.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/syntaxhighlight/dialogs/syntaxhighlight.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/syntaxhighlight/icons/syntaxhighlight.png +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/syntaxhighlight/lang/de.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/syntaxhighlight/lang/en.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/syntaxhighlight/lang/fr.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/syntaxhighlight/lang/zh-cn.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/syntaxhighlight/plugin.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/table/dialogs/table.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/tabletools/dialogs/tableCell.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/templates/dialogs/templates.css +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/templates/dialogs/templates.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/templates/templates/default.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/templates/templates/images/template1.gif +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/templates/templates/images/template2.gif +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/templates/templates/images/template3.gif +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/wsc/LICENSE.md +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/wsc/README.md +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/wsc/dialogs/ciframe.html +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/wsc/dialogs/tmp.html +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/wsc/dialogs/tmpFrameset.html +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/wsc/dialogs/wsc.css +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/wsc/dialogs/wsc.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/plugins/wsc/dialogs/wsc_ie.js +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/skins/moono/dialog.css +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/skins/moono/dialog_ie.css +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/skins/moono/dialog_ie7.css +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/skins/moono/dialog_ie8.css +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/skins/moono/dialog_iequirks.css +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/skins/moono/dialog_opera.css +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/skins/moono/editor.css +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/skins/moono/editor_gecko.css +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/skins/moono/editor_ie.css +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/skins/moono/editor_ie7.css +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/skins/moono/editor_ie8.css +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/skins/moono/editor_iequirks.css +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/skins/moono/icons.png +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/skins/moono/icons_hidpi.png +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/skins/moono/images/arrow.png +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/skins/moono/images/close.png +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/skins/moono/images/hidpi/close.png +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/skins/moono/images/hidpi/lock-open.png +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/skins/moono/images/hidpi/lock.png +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/skins/moono/images/hidpi/refresh.png +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/skins/moono/images/lock-open.png +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/skins/moono/images/lock.png +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/skins/moono/images/refresh.png +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/skins/moono/readme.md +0 -0
- data/public/javascripts/{erp_app/ckeditor → ckeditor}/styles.js +0 -0
- data/public/javascripts/{erp_app/highslide/highslide → highslide}/graphics/close.png +0 -0
- data/public/javascripts/{erp_app/highslide/highslide → highslide}/graphics/closeX.png +0 -0
- data/public/javascripts/{erp_app/highslide/highslide → highslide}/graphics/controlbar-black-border.gif +0 -0
- data/public/javascripts/{erp_app/highslide/highslide → highslide}/graphics/controlbar-text-buttons.png +0 -0
- data/public/javascripts/{erp_app/highslide/highslide → highslide}/graphics/controlbar-white-small.gif +0 -0
- data/public/javascripts/{erp_app/highslide/highslide → highslide}/graphics/controlbar-white.gif +0 -0
- data/public/javascripts/{erp_app/highslide/highslide → highslide}/graphics/controlbar2.gif +0 -0
- data/public/javascripts/{erp_app/highslide/highslide → highslide}/graphics/controlbar3.gif +0 -0
- data/public/javascripts/{erp_app/highslide/highslide → highslide}/graphics/controlbar4-hover.gif +0 -0
- data/public/javascripts/{erp_app/highslide/highslide → highslide}/graphics/controlbar4.gif +0 -0
- data/public/javascripts/{erp_app/highslide/highslide → highslide}/graphics/fullexpand.gif +0 -0
- data/public/javascripts/{erp_app/highslide/highslide → highslide}/graphics/geckodimmer.png +0 -0
- data/public/javascripts/{erp_app/highslide/highslide → highslide}/graphics/icon.gif +0 -0
- data/public/javascripts/{erp_app/highslide/highslide → highslide}/graphics/loader.gif +0 -0
- data/public/javascripts/{erp_app/highslide/highslide → highslide}/graphics/loader.white.gif +0 -0
- data/public/javascripts/{erp_app/highslide/highslide → highslide}/graphics/outlines/Outlines.psd +0 -0
- data/public/javascripts/{erp_app/highslide/highslide → highslide}/graphics/outlines/beveled.png +0 -0
- data/public/javascripts/{erp_app/highslide/highslide → highslide}/graphics/outlines/drop-shadow.png +0 -0
- data/public/javascripts/{erp_app/highslide/highslide → highslide}/graphics/outlines/glossy-dark.png +0 -0
- data/public/javascripts/{erp_app/highslide/highslide → highslide}/graphics/outlines/outer-glow.png +0 -0
- data/public/javascripts/{erp_app/highslide/highslide → highslide}/graphics/outlines/rounded-black.png +0 -0
- data/public/javascripts/{erp_app/highslide/highslide → highslide}/graphics/outlines/rounded-white.png +0 -0
- data/public/javascripts/{erp_app/highslide/highslide → highslide}/graphics/resize.gif +0 -0
- data/public/javascripts/{erp_app/highslide/highslide → highslide}/graphics/scrollarrows.png +0 -0
- data/public/javascripts/{erp_app/highslide/highslide → highslide}/graphics/zoomin.cur +0 -0
- data/public/javascripts/{erp_app/highslide/highslide → highslide}/graphics/zoomout.cur +0 -0
- data/public/javascripts/highslide/highslide-full.js +3320 -0
- data/public/javascripts/highslide/highslide-full.min.js +9 -0
- data/public/javascripts/highslide/highslide-full.packed.js +9 -0
- data/public/javascripts/{erp_app/highslide/highslide → highslide}/highslide-ie6.css +0 -0
- data/public/javascripts/highslide/highslide-with-gallery.js +2657 -0
- data/public/javascripts/highslide/highslide-with-gallery.min.js +9 -0
- data/public/javascripts/highslide/highslide-with-gallery.packed.js +9 -0
- data/public/javascripts/highslide/highslide-with-html.js +2481 -0
- data/public/javascripts/highslide/highslide-with-html.min.js +9 -0
- data/public/javascripts/highslide/highslide-with-html.packed.js +9 -0
- data/public/javascripts/highslide/highslide.cfg.js +27 -0
- data/public/javascripts/highslide/highslide.css +889 -0
- data/public/javascripts/highslide/highslide.js +1891 -0
- data/public/javascripts/highslide/highslide.min.js +9 -0
- data/public/javascripts/highslide/highslide.packed.js +9 -0
- data/spec/models/organizer_application_spec.rb +3 -3
- metadata +914 -980
- data/app/assets/stylesheets/erp_app/application.css +0 -7
- data/app/controllers/erp_app/desktop/scaffold/base_controller.rb +0 -90
- data/app/controllers/erp_app/desktop/security_management/base_controller.rb +0 -47
- data/app/controllers/erp_app/desktop/security_management/capabilities_controller.rb +0 -125
- data/app/controllers/erp_app/desktop/security_management/groups_controller.rb +0 -198
- data/app/controllers/erp_app/desktop/security_management/roles_controller.rb +0 -183
- data/app/controllers/erp_app/desktop/security_management/users_controller.rb +0 -140
- data/app/controllers/erp_app/mobile/base_controller.rb +0 -21
- data/app/controllers/erp_app/mobile/login_controller.rb +0 -11
- data/app/controllers/erp_app/mobile/user_management/base_controller.rb +0 -20
- data/app/models/app_container.rb +0 -31
- data/app/models/desktop.rb +0 -72
- data/app/models/mobile.rb +0 -9
- data/app/models/mobile_application.rb +0 -6
- data/app/models/organizer.rb +0 -11
- data/app/models/organizer_application.rb +0 -2
- data/app/observers/user_app_container_observer.rb +0 -20
- data/app/views/erp_app/mobile/base/index.erb +0 -44
- data/app/views/erp_app/mobile/login/index.erb +0 -21
- data/config/initializers/erp_app.rb +0 -5
- data/db/data_migrations/20110728201733_update_preferences.rb +0 -52
- data/db/data_migrations/20110816161238_create_desktop_app_audit_log_viewer.rb +0 -23
- data/db/data_migrations/20110817160743_add_file_manager_application.rb +0 -31
- data/db/data_migrations/20111108183739_add_default_capabilities.rb +0 -22
- data/db/data_migrations/20111108183740_add_new_contact_widgets.rb +0 -41
- data/db/data_migrations/20120229160222_add_userinfo_widget.rb +0 -28
- data/db/data_migrations/20120405193721_create_party_and_role_type_for_communication_events.rb +0 -10
- data/db/data_migrations/20120411180756_create_user_management_mobile_application.rb +0 -16
- data/db/data_migrations/20120418164215_create_configuration_management_desktop_application.rb +0 -26
- data/db/data_migrations/20121018143910_create_job_tracker_desktop_application.rb +0 -22
- data/db/data_migrations/20121018172347_created_tracked_jobs.rb +0 -14
- data/db/data_migrations/20121130201859_upgrade_remove_system_mgmt_app.rb +0 -15
- data/db/data_migrations/20121218175028_create_security_management_desktop_application.rb +0 -28
- data/db/data_migrations/20130411200351_add_job_tracker_mobile_app.rb +0 -16
- data/db/data_migrations/20130703181549_create_tail_desktop_application.rb +0 -19
- data/db/data_migrations/20131102171801_add_customer_role_type.rb +0 -11
- data/db/data_migrations/20131108191057_add_customer_employee_reln.rb +0 -26
- data/db/data_migrations/20140122205941_remove_theme_preference.rb +0 -21
- data/db/migrate/20120920145259_add_job_tracker.rb +0 -19
- data/db/migrate/20130410182333_update_mobile_application.rb +0 -27
- data/db/migrate/20131112013049_add_erp_app_missing_indexes.rb +0 -31
- data/db/migrate/20131129205550_add_precedence_to_configuration_item_types.rb +0 -7
- data/lib/active_ext/active_ext.rb +0 -587
- data/lib/active_ext/core.rb +0 -105
- data/lib/active_ext/data_structures/column.rb +0 -21
- data/lib/active_ext/data_structures/columns.rb +0 -69
- data/lib/active_ext/data_structures/data_structures.rb +0 -2
- data/lib/active_ext/ext_helpers/column_builder.rb +0 -136
- data/lib/active_ext/ext_helpers/data_helper.rb +0 -67
- data/lib/active_ext/ext_helpers/ext_helpers.rb +0 -5
- data/lib/active_ext/ext_helpers/field_builder.rb +0 -146
- data/lib/active_ext/ext_helpers/form_builder.rb +0 -49
- data/lib/active_ext/ext_helpers/table_builder.rb +0 -77
- data/lib/erp_app/application_resource_loader.rb +0 -4
- data/lib/erp_app/application_resource_loader/base_loader.rb +0 -17
- data/lib/erp_app/application_resource_loader/desktop_organizer_loader.rb +0 -71
- data/lib/erp_app/application_resource_loader/mobile_loader.rb +0 -46
- data/lib/erp_app/application_resource_loader/shared_loader.rb +0 -26
- data/lib/erp_app/extensions/railties/action_view/helpers/active_ext_helper.rb +0 -17
- data/lib/erp_app/extensions/railties/action_view/helpers/tag_helper.rb +0 -38
- data/lib/generators/active_ext/USAGE +0 -16
- data/lib/generators/active_ext/active_ext_generator.rb +0 -43
- data/lib/generators/active_ext/templates/INSTALL +0 -11
- data/lib/generators/active_ext/templates/controllers/controller_template.erb +0 -23
- data/lib/generators/active_ext/templates/public/module.js.erb +0 -16
- data/lib/generators/active_ext/templates/views/create.html.erb +0 -19
- data/lib/generators/active_ext/templates/views/edit.html.erb +0 -65
- data/lib/generators/active_ext/templates/views/new.html.erb +0 -41
- data/lib/generators/active_ext/templates/views/show.html.erb +0 -58
- data/lib/generators/active_ext/templates/views/update.html.erb +0 -1
- data/lib/generators/compass_ae_mobile/USAGE +0 -9
- data/lib/generators/compass_ae_mobile/compass_ae_mobile_generator.rb +0 -38
- data/lib/generators/compass_ae_mobile/templates/controllers/controller_template.erb +0 -4
- data/lib/generators/compass_ae_mobile/templates/javascripts/main_template.erb +0 -29
- data/lib/generators/compass_ae_mobile/templates/views/view_template.erb +0 -25
- data/lib/generators/desktop_application/USAGE +0 -24
- data/lib/generators/desktop_application/desktop_application_generator.rb +0 -25
- data/lib/generators/desktop_application/templates/INSTALL +0 -25
- data/lib/generators/mobile_application/USAGE +0 -24
- data/lib/generators/mobile_application/mobile_application_generator.rb +0 -25
- data/lib/generators/mobile_application/templates/controllers/controller_template.erb +0 -13
- data/lib/generators/mobile_application/templates/migrate/migration_template.erb +0 -14
- data/lib/generators/mobile_application/templates/public/app.js.erb +0 -24
- data/lib/generators/organizer_application/USAGE +0 -27
- data/lib/generators/organizer_application/organizer_application_generator.rb +0 -25
- data/lib/generators/organizer_application/templates/INSTALL +0 -28
- data/lib/generators/organizer_application/templates/controllers/controller_template.erb +0 -12
- data/lib/generators/organizer_application/templates/migrate/migration_template.erb +0 -14
- data/lib/generators/organizer_application/templates/public/base.js.erb +0 -28
- data/public/images/art/compass-ae-logo-reverse-1.png +0 -0
- data/public/images/erp_app/desktop/applications/security_management/manage_capabilities.png +0 -0
- data/public/images/erp_app/desktop/applications/security_management/manage_groups.png +0 -0
- data/public/images/erp_app/desktop/applications/security_management/manage_roles.png +0 -0
- data/public/images/erp_app/desktop/applications/security_management/manage_users.png +0 -0
- data/public/images/icons/fieldtypes/business_party.png +0 -0
- data/public/images/icons/fieldtypes/check.png +0 -0
- data/public/images/icons/fieldtypes/date.png +0 -0
- data/public/images/icons/fieldtypes/display.png +0 -0
- data/public/images/icons/fieldtypes/email.png +0 -0
- data/public/images/icons/fieldtypes/file.png +0 -0
- data/public/images/icons/fieldtypes/file_assets.png +0 -0
- data/public/images/icons/fieldtypes/image.png +0 -0
- data/public/images/icons/fieldtypes/money.png +0 -0
- data/public/images/icons/fieldtypes/number.png +0 -0
- data/public/images/icons/fieldtypes/password.png +0 -0
- data/public/images/icons/fieldtypes/question.png +0 -0
- data/public/images/icons/fieldtypes/radio.png +0 -0
- data/public/images/icons/fieldtypes/select.png +0 -0
- data/public/images/icons/fieldtypes/text.png +0 -0
- data/public/images/icons/fieldtypes/text.psd +0 -0
- data/public/images/icons/fieldtypes/text_area.png +0 -0
- data/public/images/icons/fieldtypes/time.png +0 -0
- data/public/images/icons/fieldtypes/yes_no.png +0 -0
- data/public/images/icons/login/login_48x48.png +0 -0
- data/public/images/icons/mail/mail_48x48.png +0 -0
- data/public/images/icons/manage-profile/manage-profile_48x48.png +0 -0
- data/public/images/icons/map/map_48x48.png +0 -0
- data/public/images/icons/package/package_48x48.png +0 -0
- data/public/images/icons/product/product_48x48.png +0 -0
- data/public/images/icons/recycle/recycle_16x16.png +0 -0
- data/public/images/icons/reset-password/reset-password_48x48.png +0 -0
- data/public/images/icons/search/search_48x48.png +0 -0
- data/public/images/icons/shopping_cart/shopping_cart_48x48.png +0 -0
- data/public/images/icons/sign_up/sign_up_48x48.png +0 -0
- data/public/images/icons/signup/signup_48x48.png +0 -0
- data/public/javascripts/erp_app/authentication/compass_user.js +0 -94
- data/public/javascripts/erp_app/ckeditor/config.js +0 -12
- data/public/javascripts/erp_app/ckeditor/plugins/compasssave/plugin.js +0 -22
- data/public/javascripts/erp_app/ckeditor/plugins/dialog/dialogDefinition.js +0 -4
- data/public/javascripts/erp_app/ckeditor/plugins/inlineeditsave/plugin.js +0 -42
- data/public/javascripts/erp_app/ckeditor/plugins/knitkitthemes/plugin.js +0 -116
- data/public/javascripts/erp_app/ckeditor/plugins/scayt/README.md +0 -25
- data/public/javascripts/erp_app/ckeditor/plugins/scayt/dialogs/options.js +0 -20
- data/public/javascripts/erp_app/ckeditor/plugins/scayt/dialogs/toolbar.css +0 -71
- data/public/javascripts/erp_app/ckeditor_example_config_override.js +0 -45
- data/public/javascripts/erp_app/codemirror/lib/codemirror.css +0 -272
- data/public/javascripts/erp_app/codemirror/lib/codemirror.js +0 -55
- data/public/javascripts/erp_app/codemirror/theme/3024-day.css +0 -34
- data/public/javascripts/erp_app/codemirror/theme/3024-night.css +0 -34
- data/public/javascripts/erp_app/codemirror/theme/ambiance-mobile.css +0 -5
- data/public/javascripts/erp_app/codemirror/theme/ambiance.css +0 -74
- data/public/javascripts/erp_app/codemirror/theme/base16-dark.css +0 -34
- data/public/javascripts/erp_app/codemirror/theme/base16-light.css +0 -34
- data/public/javascripts/erp_app/codemirror/theme/blackboard.css +0 -28
- data/public/javascripts/erp_app/codemirror/theme/cobalt.css +0 -21
- data/public/javascripts/erp_app/codemirror/theme/eclipse.css +0 -23
- data/public/javascripts/erp_app/codemirror/theme/elegant.css +0 -13
- data/public/javascripts/erp_app/codemirror/theme/erlang-dark.css +0 -30
- data/public/javascripts/erp_app/codemirror/theme/lesser-dark.css +0 -43
- data/public/javascripts/erp_app/codemirror/theme/mbo.css +0 -37
- data/public/javascripts/erp_app/codemirror/theme/mdn-like.css +0 -44
- data/public/javascripts/erp_app/codemirror/theme/midnight.css +0 -43
- data/public/javascripts/erp_app/codemirror/theme/monokai.css +0 -29
- data/public/javascripts/erp_app/codemirror/theme/neat.css +0 -12
- data/public/javascripts/erp_app/codemirror/theme/neo.css +0 -40
- data/public/javascripts/erp_app/codemirror/theme/night.css +0 -24
- data/public/javascripts/erp_app/codemirror/theme/paraiso-dark.css +0 -34
- data/public/javascripts/erp_app/codemirror/theme/paraiso-light.css +0 -34
- data/public/javascripts/erp_app/codemirror/theme/pastel-on-dark.css +0 -48
- data/public/javascripts/erp_app/codemirror/theme/rubyblue.css +0 -21
- data/public/javascripts/erp_app/codemirror/theme/solarized.css +0 -167
- data/public/javascripts/erp_app/codemirror/theme/the-matrix.css +0 -26
- data/public/javascripts/erp_app/codemirror/theme/tomorrow-night-eighties.css +0 -34
- data/public/javascripts/erp_app/codemirror/theme/twilight.css +0 -28
- data/public/javascripts/erp_app/codemirror/theme/vibrant-ink.css +0 -30
- data/public/javascripts/erp_app/codemirror/theme/xq-dark.css +0 -49
- data/public/javascripts/erp_app/codemirror/theme/xq-light.css +0 -43
- data/public/javascripts/erp_app/codemirror_highlight.js +0 -17
- data/public/javascripts/erp_app/desktop/applications/audit_log_viewer/module.js +0 -38
- data/public/javascripts/erp_app/desktop/applications/configuration_management/module.js +0 -95
- data/public/javascripts/erp_app/desktop/applications/control_panel/module.js +0 -73
- data/public/javascripts/erp_app/desktop/applications/file_manager/module.js +0 -120
- data/public/javascripts/erp_app/desktop/applications/job_tracker/module.js +0 -44
- data/public/javascripts/erp_app/desktop/applications/scaffold/models_tree_panel.js +0 -86
- data/public/javascripts/erp_app/desktop/applications/scaffold/module.js +0 -62
- data/public/javascripts/erp_app/desktop/applications/security_management/capabilities_panel.js +0 -62
- data/public/javascripts/erp_app/desktop/applications/security_management/capabilities_widget.js +0 -241
- data/public/javascripts/erp_app/desktop/applications/security_management/groups_effective_security.js +0 -94
- data/public/javascripts/erp_app/desktop/applications/security_management/groups_panel.js +0 -298
- data/public/javascripts/erp_app/desktop/applications/security_management/groups_widget.js +0 -241
- data/public/javascripts/erp_app/desktop/applications/security_management/module.js +0 -173
- data/public/javascripts/erp_app/desktop/applications/security_management/north_panel.js +0 -31
- data/public/javascripts/erp_app/desktop/applications/security_management/roles_panel.js +0 -309
- data/public/javascripts/erp_app/desktop/applications/security_management/roles_widget.js +0 -241
- data/public/javascripts/erp_app/desktop/applications/security_management/south_panel.js +0 -126
- data/public/javascripts/erp_app/desktop/applications/security_management/users_effective_security.js +0 -128
- data/public/javascripts/erp_app/desktop/applications/security_management/users_panel.js +0 -59
- data/public/javascripts/erp_app/desktop/applications/security_management/users_widget.js +0 -245
- data/public/javascripts/erp_app/desktop/applications/user_management/module.js +0 -469
- data/public/javascripts/erp_app/desktop/applications/user_management/personal_info_panel.js +0 -117
- data/public/javascripts/erp_app/desktop/applications/user_management/role_management_panel.js +0 -208
- data/public/javascripts/erp_app/desktop/applications/user_management/user_application_mgt_panel.js +0 -206
- data/public/javascripts/erp_app/desktop/ext_ux_desktop_module.js +0 -1014
- data/public/javascripts/erp_app/ecommerce/credit_card_window.js +0 -329
- data/public/javascripts/erp_app/highslide/examples/ajax.html +0 -51
- data/public/javascripts/erp_app/highslide/examples/flash.html +0 -61
- data/public/javascripts/erp_app/highslide/examples/gallery-controls-in-heading.html +0 -89
- data/public/javascripts/erp_app/highslide/examples/gallery-dark.html +0 -93
- data/public/javascripts/erp_app/highslide/examples/gallery-floating-caption.html +0 -91
- data/public/javascripts/erp_app/highslide/examples/gallery-floating-thumbs.html +0 -144
- data/public/javascripts/erp_app/highslide/examples/gallery-horizontal-strip.html +0 -147
- data/public/javascripts/erp_app/highslide/examples/gallery-in-box.html +0 -95
- data/public/javascripts/erp_app/highslide/examples/gallery-in-page.html +0 -221
- data/public/javascripts/erp_app/highslide/examples/gallery-thumbstrip-above.html +0 -142
- data/public/javascripts/erp_app/highslide/examples/gallery-vertical-strip.html +0 -178
- data/public/javascripts/erp_app/highslide/examples/gallery-white.html +0 -90
- data/public/javascripts/erp_app/highslide/examples/headline.html +0 -49
- data/public/javascripts/erp_app/highslide/examples/html.html +0 -67
- data/public/javascripts/erp_app/highslide/examples/iframe.html +0 -44
- data/public/javascripts/erp_app/highslide/examples/image-map.html +0 -49
- data/public/javascripts/erp_app/highslide/examples/includes/Flash.swf +0 -0
- data/public/javascripts/erp_app/highslide/examples/includes/ajax.htm +0 -45
- data/public/javascripts/erp_app/highslide/examples/includes/include-short.htm +0 -40
- data/public/javascripts/erp_app/highslide/examples/inline.html +0 -50
- data/public/javascripts/erp_app/highslide/examples/mini-galleries.html +0 -135
- data/public/javascripts/erp_app/highslide/examples/mini-gallery.html +0 -89
- data/public/javascripts/erp_app/highslide/examples/no-border.html +0 -62
- data/public/javascripts/erp_app/highslide/examples/no-outline.html +0 -52
- data/public/javascripts/erp_app/highslide/examples/outer-glow.html +0 -53
- data/public/javascripts/erp_app/highslide/examples/white-10px.html +0 -51
- data/public/javascripts/erp_app/highslide/examples/white-rounded-outline.html +0 -51
- data/public/javascripts/erp_app/highslide/examples/youtube.html +0 -62
- data/public/javascripts/erp_app/highslide/highslide/highslide-full.js +0 -3302
- data/public/javascripts/erp_app/highslide/highslide/highslide-full.min.js +0 -9
- data/public/javascripts/erp_app/highslide/highslide/highslide-full.packed.js +0 -9
- data/public/javascripts/erp_app/highslide/highslide/highslide-with-gallery.js +0 -2639
- data/public/javascripts/erp_app/highslide/highslide/highslide-with-gallery.min.js +0 -9
- data/public/javascripts/erp_app/highslide/highslide/highslide-with-gallery.packed.js +0 -9
- data/public/javascripts/erp_app/highslide/highslide/highslide-with-html.js +0 -2476
- data/public/javascripts/erp_app/highslide/highslide/highslide-with-html.min.js +0 -9
- data/public/javascripts/erp_app/highslide/highslide/highslide-with-html.packed.js +0 -9
- data/public/javascripts/erp_app/highslide/highslide/highslide.css +0 -886
- data/public/javascripts/erp_app/highslide/highslide/highslide.js +0 -1886
- data/public/javascripts/erp_app/highslide/highslide/highslide.min.js +0 -9
- data/public/javascripts/erp_app/highslide/highslide/highslide.packed.js +0 -9
- data/public/javascripts/erp_app/highslide/images/full-image.jpg +0 -0
- data/public/javascripts/erp_app/highslide/images/full6.jpg +0 -0
- data/public/javascripts/erp_app/highslide/images/gallery1.jpg +0 -0
- data/public/javascripts/erp_app/highslide/images/gallery1.thumb.jpg +0 -0
- data/public/javascripts/erp_app/highslide/images/gallery2.jpg +0 -0
- data/public/javascripts/erp_app/highslide/images/gallery2.thumb.jpg +0 -0
- data/public/javascripts/erp_app/highslide/images/gallery3.jpg +0 -0
- data/public/javascripts/erp_app/highslide/images/gallery3.thumb.jpg +0 -0
- data/public/javascripts/erp_app/highslide/images/nordic.gif +0 -0
- data/public/javascripts/erp_app/highslide/images/thumb6.jpg +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbnail.jpg +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip01.jpg +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip01.thumb.png +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip02.jpg +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip02.thumb.png +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip03.jpg +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip03.thumb.png +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip04.jpg +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip04.thumb.png +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip05.jpg +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip05.thumb.png +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip06.jpg +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip06.thumb.png +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip07.jpg +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip07.thumb.png +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip08.jpg +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip08.thumb.png +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip09.jpg +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip09.thumb.png +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip10.jpg +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip10.thumb.png +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip11.jpg +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip11.thumb.png +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip12.jpg +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip12.thumb.png +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip13.jpg +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip13.thumb.png +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip14.jpg +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip14.thumb.png +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip15.jpg +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip15.thumb.png +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip16.jpg +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip16.thumb.png +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip17.jpg +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip17.thumb.png +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip18.jpg +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip18.thumb.png +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip19.jpg +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip19.thumb.png +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip20.jpg +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip20.thumb.png +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip21.jpg +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip21.thumb.png +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip22.jpg +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip22.thumb.png +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip23.jpg +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip23.thumb.png +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip24.jpg +0 -0
- data/public/javascripts/erp_app/highslide/images/thumbstrip24.thumb.png +0 -0
- data/public/javascripts/erp_app/highslide/index.htm +0 -68
- data/public/javascripts/erp_app/jquery_support.js +0 -31
- data/public/javascripts/erp_app/login/mobile.js +0 -58
- data/public/javascripts/erp_app/login/window.js +0 -124
- data/public/javascripts/erp_app/mobile/app.js +0 -74
- data/public/javascripts/erp_app/mobile/applications/job_tracker/app.js +0 -177
- data/public/javascripts/erp_app/mobile/applications/job_tracker/model/job.js +0 -15
- data/public/javascripts/erp_app/mobile/applications/job_tracker/store/jobs.js +0 -16
- data/public/javascripts/erp_app/mobile/applications/job_tracker/view/templates.js +0 -22
- data/public/javascripts/erp_app/mobile/applications/user_management/app.js +0 -112
- data/public/javascripts/erp_app/mobile/applications/user_management/app/model/user.js +0 -14
- data/public/javascripts/erp_app/mobile/applications/user_management/app/store/users.js +0 -19
- data/public/javascripts/erp_app/mobile/applications/user_management/app/view/templates.js +0 -34
- data/public/javascripts/erp_app/mobile/mobile_base.js +0 -10
- data/public/javascripts/erp_app/organizer/applications/crm/base.js +0 -64
- data/public/javascripts/erp_app/organizer/default_menu_tree_panel.js +0 -69
- data/public/javascripts/erp_app/organizer/layout.js +0 -267
- data/public/javascripts/erp_app/shared/MoneyField.js +0 -119
- data/public/javascripts/erp_app/shared/active_ext/active_ext_grid.js +0 -351
- data/public/javascripts/erp_app/shared/audit_log/GridPanel.js +0 -214
- data/public/javascripts/erp_app/shared/audit_log/TabPanel.js +0 -103
- data/public/javascripts/erp_app/shared/compass_ckeditor.js +0 -264
- data/public/javascripts/erp_app/shared/compass_codemirror.js +0 -466
- data/public/javascripts/erp_app/shared/configuration/configuration_panel.js +0 -128
- data/public/javascripts/erp_app/shared/crm/ContactMechanismGrid.js +0 -812
- data/public/javascripts/erp_app/shared/crm/PartyDetailsPanel.js +0 -344
- data/public/javascripts/erp_app/shared/crm/PartyForm.js +0 -321
- data/public/javascripts/erp_app/shared/crm/PartyGrid.js +0 -591
- data/public/javascripts/erp_app/shared/crm/UserForm.js +0 -307
- data/public/javascripts/erp_app/shared/crm/UsersGrid.js +0 -492
- data/public/javascripts/erp_app/shared/dynamic_editable_grid.js +0 -140
- data/public/javascripts/erp_app/shared/dynamic_editable_grid_loader_panel.js +0 -64
- data/public/javascripts/erp_app/shared/dynamic_form_fields.js +0 -99
- data/public/javascripts/erp_app/shared/file_manager_tree.js +0 -722
- data/public/javascripts/erp_app/shared/file_upload/Ext.ux.panel.UploadPanel.js +0 -580
- data/public/javascripts/erp_app/shared/file_upload/upload_window.js +0 -63
- data/public/javascripts/erp_app/shared/notes_grid.js +0 -338
- data/public/javascripts/erp_app/shared/profile_management_panel.js +0 -137
- data/public/javascripts/erp_app/utility.js +0 -654
- data/public/javascripts/erp_app/widgets.js +0 -82
- data/public/stylesheets/erp_app/desktop/base.css +0 -254
- data/public/stylesheets/erp_app/login/main.css +0 -4
- data/public/stylesheets/erp_app/mobile/applications/user_management/main.css +0 -21
- data/public/stylesheets/erp_app/mobile/mobile.css +0 -47
- data/public/stylesheets/erp_app/organizer/base.css +0 -6
- data/public/stylesheets/erp_app/shared/compass-ext-all.css +0 -547
- data/public/stylesheets/erp_app/shared/crm.css +0 -45
- 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 +events +unobtrusive +imagemap +slideshow +positioning +transitions +viewport +thumbstrip +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={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","area"],transitions:[],transitionDuration:250,dimmingOpacity:0,dimmingDuration:50,allowWidthReduction:false,allowHeightReduction:true,preserveContent:true,objectLoadTime:"before",cacheAjax:true,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>',contentWrapper:'<div class="highslide-header"><ul><li class="highslide-previous"><a href="#" title="{hs.lang.previousTitle}" onclick="return hs.previous(this)"><span>{hs.lang.previousText}</span></a></li><li class="highslide-next"><a href="#" title="{hs.lang.nextTitle}" onclick="return hs.next(this)"><span>{hs.lang.nextText}</span></a></li><li class="highslide-move"><a href="#" title="{hs.lang.moveTitle}" onclick="return false"><span>{hs.lang.moveText}</span></a></li><li class="highslide-close"><a href="#" title="{hs.lang.closeTitle}" onclick="return hs.close(this)"><span>{hs.lang.closeText}</span></a></li></ul></div><div class="highslide-body"></div><div class="highslide-footer"><div><span class="highslide-resize" title="{hs.lang.resizeTitle}"><span></span></span></div></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","contentId","allowWidthReduction","allowHeightReduction","preserveContent","maincontentId","maincontentText","maincontentEval","objectType","cacheAjax","objectWidth","objectHeight","objectLoadTime","swfOptions","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:{},swfOptions:{flashvars:{},params:{},attributes:{}},timers:[],slideshows:[],pendingOutlines:{},sleeping:[],preloadTheseAjax:[],cacheBindings:[],cachedGets:{},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(c){if(/area/i.test(c.tagName)){var e=document.getElementsByTagName("img");for(var b=0;b<e.length;b++){var a=e[b].useMap;if(a&&a.replace(/^.*?#/,"")==c.parentNode.name){c=e[b];break}}}var d={x:c.offsetLeft,y:c.offsetTop};while(c.offsetParent){c=c.offsetParent;d.x+=c.offsetLeft;d.y+=c.offsetTop;if(c!=document.body&&c!=document.documentElement){d.x-=c.scrollLeft;d.y-=c.scrollTop}}return d},expand:function(b,h,f,d){if(!b){b=hs.createElement("a",null,{display:"none"},hs.container)}if(typeof b.getParams=="function"){return h}if(d=="html"){for(var c=0;c<hs.sleeping.length;c++){if(hs.sleeping[c]&&hs.sleeping[c].a==b){hs.sleeping[c].awake();hs.sleeping[c]=null;return false}}hs.hasHtmlExpanders=true}try{new hs.Expander(b,h,f,d);return false}catch(g){return true}},htmlExpand:function(b,d,c){return hs.expand(b,d,c,"html")},getSelfRendered:function(){return hs.createElement("div",{className:"highslide-html-content",innerHTML:hs.replaceLang(hs.skin.contentWrapper)})},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},setClickEvents:function(){var b=document.getElementsByTagName("a");for(var a=0;a<b.length;a++){var c=hs.isUnobtrusiveAnchor(b[a]);if(c&&!b[a].hsHasSetClick){(function(){var d=c;if(hs.fireEvent(hs,"onSetClickEvent",{element:b[a],type:d})){b[a].onclick=(c=="image")?function(){return hs.expand(this)}:function(){return hs.htmlExpand(this,{objectType:d})}}})();b[a].hsHasSetClick=true}}hs.getAnchors()},isUnobtrusiveAnchor:function(a){if(a.rel=="highslide"){return"image"}else{if(a.rel=="highslide-ajax"){return"ajax"}else{if(a.rel=="highslide-iframe"){return"iframe"}else{if(a.rel=="highslide-swf"){return"swf"}}}}},getCacheBinding:function(b){for(var d=0;d<hs.cacheBindings.length;d++){if(hs.cacheBindings[d][0]==b){var e=hs.cacheBindings[d][1];hs.cacheBindings[d][1]=e.cloneNode(1);return e}}return null},preloadAjax:function(f){var b=hs.getAnchors();for(var d=0;d<b.htmls.length;d++){var c=b.htmls[d];if(hs.getParam(c,"objectType")=="ajax"&&hs.getParam(c,"cacheAjax")){hs.push(hs.preloadTheseAjax,c)}}hs.preloadAjaxElement(0)},preloadAjaxElement:function(d){if(!hs.preloadTheseAjax[d]){return}var b=hs.preloadTheseAjax[d];var c=hs.getNode(hs.getParam(b,"contentId"));if(!c){c=hs.getSelfRendered()}var e=new hs.Ajax(b,c,1);e.onError=function(){};e.onLoad=function(){hs.push(hs.cacheBindings,[b,c]);hs.preloadAjaxElement(d+1)};e.run()},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(){if(hs.fireEvent(hs,"onDimmerClick")){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}if(!hs.fireEvent(hs,"onKeyDown",a)){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()}}},fireEvent:function(c,a,b){return c&&c[a]?(c[a](c,b)!==false):true},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(/highslide-html/.test(b.className)&&hs.focusKey!=f.key){f.focus();f.doShowHide("hidden")}}}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)){if(hs.fireEvent(f,"onImageClick")){f.close()}}else{if(c||(!c&&hs.hasHtmlExpanders)){hs.dragArgs.exp.doShowHide("hidden")}}if(hs.dragArgs.exp.releaseMask){hs.dragArgs.exp.releaseMask.style.display="none"}if(c){hs.fireEvent(hs.dragArgs.exp,"onDrop",hs.dragArgs)}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;if(d.iframe){if(!d.releaseMask){d.releaseMask=hs.createElement("div",null,{position:"absolute",width:d.x.size+"px",height:d.y.size+"px",left:d.x.cb+"px",top:d.y.cb+"px",zIndex:4,background:(hs.ieLt9?"white":"none"),opacity:0.01},d.wrapper,true)}if(d.releaseMask.style.display=="none"){d.releaseMask.style.display=""}}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(!hs.fireEvent(d,"onDrag",b)){return false}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}hs.fireEvent(d,b?"onMouseOver":"onMouseOut",c);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();hs.ie6SSL=hs.ieLt7&&location.protocol=="https:";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);hs.clearing=hs.createElement("div",null,{clear:"both",paddingTop:"1px"},null,true);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));hs.fireEvent(this,"onActivate")}},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,d,l=[],h=[],k=[],b={},m;for(var e=0;e<hs.openerTagNames.length;e++){d=document.getElementsByTagName(hs.openerTagNames[e]);for(var c=0;c<d.length;c++){a=d[c];m=hs.isHsAnchor(a);if(m){hs.push(l,a);if(m[0]=="hs.expand"){hs.push(h,a)}else{if(m[0]=="hs.htmlExpand"){hs.push(k,a)}}var f=hs.getParam(a,"slideshowGroup")||"none";if(!b[f]){b[f]=[]}hs.push(b[f],a)}}}hs.anchors={all:l,groups:b,images:h,htmls:k};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 f=this.exp;if(f.isImage&&(f.useBox||hs.padToMinWidth)){this.imgSize=a;this.size=Math.max(this.size,this.imgSize);f.content.style[this.lt]=this.get("imgPad")+"px"}else{this.size=a}f.content.style[this.wh]=a+"px";f.wrapper.style[this.wh]=this.get("wsize")+"px";if(f.outline){f.outline.setPosition()}if(f.releaseMask){f.releaseMask.style[this.wh]=a+"px"}if(this.dim=="y"&&f.iDoc&&f.body.style.height!="auto"){try{f.iDoc.body.style.overflow="auto"}catch(b){}}if(f.isHtml){var c=f.scrollerDiv;if(this.sizeDiff===undefined){this.sizeDiff=f.innerContent["offset"+this.ucwh]-c["offset"+this.ucwh]}c.style[this.wh]=(this.size-this.sizeDiff)+"px";if(this.dim=="x"){f.mediumContent.style.width="auto"}if(f.body){f.body.style[this.wh]="auto"}}if(this.dim=="x"&&f.overlayBox){f.sizeOverlayBox(true)}if(this.dim=="x"&&f.slideshow&&f.isImage){if(a==this.full){f.slideshow.disable("full-expand")}else{f.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.isHtml=(l=="html");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;if(!hs.fireEvent(this,"onInit")){return true}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();if(/area/i.test(d.tagName)){this.getImageMapAreaCorrection(d)}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()};if(!hs.fireEvent(this,"onShowLoading")){return}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()},htmlCreate:function(){if(!hs.fireEvent(this,"onBeforeGetContent")){return}this.content=hs.getCacheBinding(this.a);if(!this.content){this.content=hs.getNode(this.contentId)}if(!this.content){this.content=hs.getSelfRendered()}this.getInline(["maincontent"]);if(this.maincontent){var a=hs.getElementByClass(this.content,"div","highslide-body");if(a){a.appendChild(this.maincontent)}this.maincontent.style.display="block"}hs.fireEvent(this,"onAfterGetContent");var d=this.innerContent=this.content;if(/(swf|iframe)/.test(this.objectType)){this.setObjContainerSize(d)}hs.container.appendChild(this.wrapper);hs.setStyles(this.wrapper,{position:"static",padding:"0 "+hs.marginRight+"px 0 "+hs.marginLeft+"px"});this.content=hs.createElement("div",{className:"highslide-html"},{position:"relative",zIndex:3,height:0,overflow:"hidden"},this.wrapper);this.mediumContent=hs.createElement("div",null,null,this.content,1);this.mediumContent.appendChild(d);hs.setStyles(d,{position:"relative",display:"block",direction:hs.lang.cssDirection||""});if(this.width){d.style.width=this.width+"px"}if(this.height){hs.setStyles(d,{height:this.height+"px",overflow:"hidden"})}if(d.offsetWidth<this.minWidth){d.style.width=this.minWidth+"px"}if(this.objectType=="ajax"&&!hs.getCacheBinding(this.a)){this.showLoading();var c=this;var b=new hs.Ajax(this.a,d);b.src=this.src;b.onLoad=function(){if(hs.expanders[c.key]){c.contentLoaded()}};b.onError=function(){location.href=c.src};b.run()}else{if(this.objectType=="iframe"&&this.objectLoadTime=="before"){this.writeExtendedContent()}else{this.contentLoaded()}}},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;hs.fireEvent(this,"onHideLoading")}if(this.isImage){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)}else{if(this.htmlGetSize){this.htmlGetSize()}}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.isHtml){this.htmlSizeOperations()}if(this.overlayBox){this.sizeOverlayBox(0,1)}if(this.allowSizeReduction){if(this.isImage){this.correctRatio(f)}else{this.fitOverlayBox()}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)}},setObjContainerSize:function(a,d){var b=hs.getElementByClass(a,"DIV","highslide-body");if(/(iframe|swf)/.test(this.objectType)){if(this.objectWidth){b.style.width=this.objectWidth+"px"}if(this.objectHeight){b.style.height=this.objectHeight+"px"}}},writeExtendedContent:function(){if(this.hasExtendedContent){return}var f=this;this.body=hs.getElementByClass(this.innerContent,"DIV","highslide-body");if(this.objectType=="iframe"){this.showLoading();var g=hs.clearing.cloneNode(1);this.body.appendChild(g);this.newWidth=this.innerContent.offsetWidth;if(!this.objectWidth){this.objectWidth=g.offsetWidth}var c=this.innerContent.offsetHeight-this.body.offsetHeight,d=this.objectHeight||hs.page.height-c-hs.marginTop-hs.marginBottom,e=this.objectLoadTime=="before"?' onload="if (hs.expanders['+this.key+"]) hs.expanders["+this.key+'].contentLoaded()" ':"";this.body.innerHTML+='<iframe name="hs'+(new Date()).getTime()+'" frameborder="0" key="'+this.key+'" style="width:'+this.objectWidth+"px; height:"+d+'px" '+e+' src="'+this.src+'" ></iframe>';this.ruler=this.body.getElementsByTagName("div")[0];this.iframe=this.body.getElementsByTagName("iframe")[0];if(this.objectLoadTime=="after"){this.correctIframeSize()}}if(this.objectType=="swf"){this.body.id=this.body.id||"hs-flash-id-"+this.key;var b=this.swfOptions;if(!b.params){b.params={}}if(typeof b.params.wmode=="undefined"){b.params.wmode="transparent"}if(swfobject){swfobject.embedSWF(this.src,this.body.id,this.objectWidth,this.objectHeight,b.version||"7",b.expressInstallSwfurl,b.flashvars,b.params,b.attributes)}}this.hasExtendedContent=true},htmlGetSize:function(){if(this.iframe&&!this.objectHeight){this.iframe.style.height=this.body.style.height=this.getIframePageHeight()+"px"}this.innerContent.appendChild(hs.clearing);if(!this.x.full){this.x.full=this.innerContent.offsetWidth}this.y.full=this.innerContent.offsetHeight;this.innerContent.removeChild(hs.clearing);if(hs.ie&&this.newHeight>parseInt(this.innerContent.currentStyle.height)){this.newHeight=parseInt(this.innerContent.currentStyle.height)}hs.setStyles(this.wrapper,{position:"absolute",padding:"0"});hs.setStyles(this.content,{width:this.x.t+"px",height:this.y.t+"px"})},getIframePageHeight:function(){var a;try{var d=this.iDoc=this.iframe.contentDocument||this.iframe.contentWindow.document;var b=d.createElement("div");b.style.clear="both";d.body.appendChild(b);a=b.offsetTop;if(hs.ie){a+=parseInt(d.body.currentStyle.marginTop)+parseInt(d.body.currentStyle.marginBottom)-1}}catch(c){a=300}return a},correctIframeSize:function(){var b=this.innerContent.offsetWidth-this.ruler.offsetWidth;hs.discardElement(this.ruler);if(b<0){b=0}var a=this.innerContent.offsetHeight-this.iframe.offsetHeight;if(this.iDoc&&!this.objectHeight&&!this.height&&this.y.size==this.y.full){try{this.iDoc.body.style.overflow="hidden"}catch(c){}}hs.setStyles(this.iframe,{width:Math.abs(this.x.size-b)+"px",height:Math.abs(this.y.size-a)+"px"});hs.setStyles(this.body,{width:this.iframe.style.width,height:this.iframe.style.height});this.scrollingContent=this.iframe;this.scrollerDiv=this.scrollingContent},htmlSizeOperations:function(){this.setObjContainerSize(this.innerContent);if(this.objectType=="swf"&&this.objectLoadTime=="before"){this.writeExtendedContent()}if(this.x.size<this.x.full&&!this.allowWidthReduction){this.x.size=this.x.full}if(this.y.size<this.y.full&&!this.allowHeightReduction){this.y.size=this.y.full}this.scrollerDiv=this.innerContent;hs.setStyles(this.mediumContent,{position:"relative",width:this.x.size+"px"});hs.setStyles(this.innerContent,{border:"none",width:"auto",height:"auto"});var e=hs.getElementByClass(this.innerContent,"DIV","highslide-body");if(e&&!/(iframe|swf)/.test(this.objectType)){var b=e;e=hs.createElement(b.nodeName,null,{overflow:"hidden"},null,true);b.parentNode.insertBefore(e,b);e.appendChild(hs.clearing);e.appendChild(b);var c=this.innerContent.offsetWidth-e.offsetWidth;var a=this.innerContent.offsetHeight-e.offsetHeight;e.removeChild(hs.clearing);var d=hs.safari||navigator.vendor=="KDE"?1:0;hs.setStyles(e,{width:(this.x.size-c-d)+"px",height:(this.y.size-a)+"px",overflow:"auto",position:"relative"});if(d&&b.offsetHeight>e.offsetHeight){e.style.width=(parseInt(e.style.width)+d)+"px"}this.scrollingContent=e;this.scrollerDiv=this.scrollingContent}if(this.iframe&&this.objectLoadTime=="before"){this.correctIframeSize()}if(!this.scrollingContent&&this.y.size<this.mediumContent.offsetHeight){this.scrollerDiv=this.content}if(this.scrollerDiv==this.content&&!this.allowWidthReduction&&!/(iframe|swf)/.test(this.objectType)){this.x.size+=17}if(this.scrollerDiv&&this.scrollerDiv.offsetHeight>this.scrollerDiv.parentNode.offsetHeight){setTimeout("try { hs.expanders["+this.key+"].scrollerDiv.style.overflow = 'auto'; } catch(e) {}",hs.expandDuration)}},getImageMapAreaCorrection:function(d){var h=d.coords.split(",");for(var b=0;b<h.length;b++){h[b]=parseInt(h[b])}if(d.shape.toLowerCase()=="circle"){this.x.tpos+=h[0]-h[2];this.y.tpos+=h[1]-h[2];this.x.t=this.y.t=2*h[2]}else{var f,e,a=f=h[0],g=e=h[1];for(var b=0;b<h.length;b++){if(b%2==0){a=Math.min(a,h[b]);f=Math.max(f,h[b])}else{g=Math.min(g,h[b]);e=Math.max(e,h[b])}}this.x.tpos+=a;this.x.t=f-a;this.y.tpos+=g;this.y.t=e-g}},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&&(this.isImage||this.allowHeightReduction)){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},reflow:function(){if(this.scrollerDiv){var a=/iframe/i.test(this.scrollerDiv.tagName)?(this.getIframePageHeight()+1)+"px":"auto";if(this.body){this.body.style.height=a}this.scrollerDiv.style.height=a;this.y.setSize(this.innerContent.offsetHeight)}},show:function(){var a=this.x,b=this.y;this.doShowHide("hidden");hs.fireEvent(this,"onBeforeExpand");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((this.isHtml&&this.preserveContent))}}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(d&&this.isHtml){hs.setStyles(this.wrapper,{left:(h.tpos-h.cb+h.tb)+"px",top:(g.tpos-g.cb+g.tb)+"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)}if(c.isHtml){if(l.prop=="left"){c.mediumContent.style.left=(h.pos-n)+"px"}if(l.prop=="top"){c.mediumContent.style.top=(g.pos-n)+"px"}}}});hs.animate(this.content,i.content,b,f,a);if(d){this.wrapper.style.visibility="visible";this.content.style.visibility="visible";if(this.isHtml){this.innerContent.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(this.isHtml){hs.setStyles(this.mediumContent,{left:0,top:0})}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.isHtml&&this.objectLoadTime=="after"){this.writeExtendedContent()}if(this.iframe){try{var g=this,f=this.iframe.contentDocument||this.iframe.contentWindow.document;hs.addEventListener(f,"mousedown",function(){if(hs.focusKey!=g.key){g.focus()}})}catch(d){}if(hs.ie&&typeof this.isClosing!="boolean"){this.iframe.style.width=(this.objectWidth-1)+"px"}}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()}hs.fireEvent(this,"onAfterExpand")},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"}hs.fireEvent(this,"onHideLoading")},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(type=="caption"&&!hs.fireEvent(this,"onBeforeGetCaption")){return}else{if(type=="heading"&&!hs.fireEvent(this,"onBeforeGetHeading")){return}}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";if(b.isImage){b.content.style.cursor=hs.ieLt7?"hand":"pointer";b.content.title=hs.lang.focusTitle}hs.fireEvent(b,"onBlur")}}if(this.outline){this.outline.table.style.zIndex=this.wrapper.style.zIndex-1}this.content.className="highslide-"+this.contentType;if(this.isImage){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);hs.fireEvent(this,"onFocus")},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=this.isHtml?d.height+d.dY: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}if(!hs.fireEvent(this,"onBeforeClose")){return}this.isClosing=true;if(this.slideshow&&!hs.upcoming){this.slideshow.pause()}hs.removeEventListener(document,window.opera?"keypress":"keydown",hs.keyHandler);try{if(this.isHtml){this.htmlPrepareClose()}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()}},htmlPrepareClose:function(){if(hs.geckoMac){if(!hs.mask){hs.mask=hs.createElement("div",null,{position:"absolute"},hs.container)}hs.setStyles(hs.mask,{width:this.x.size+"px",height:this.y.size+"px",left:this.x.pos+"px",top:this.y.pos+"px",display:"block"})}if(this.objectType=="swf"){try{hs.$(this.body.id).StopPlay()}catch(a){}}if(this.objectLoadTime=="after"&&!this.preserveContent){this.destroyObject()}if(this.scrollerDiv&&this.scrollerDiv!=this.scrollingContent){this.scrollerDiv.style.overflow="hidden"}},destroyObject:function(){if(hs.ie&&this.iframe){try{this.iframe.contentWindow.document.body.innerHTML=""}catch(a){}}if(this.objectType=="swf"){swfobject.removeSWF(this.body.id)}this.body.innerHTML=""},sleep:function(){if(this.outline){this.outline.table.style.display="none"}this.releaseMask=null;this.wrapper.style.display="none";this.isExpanded=false;hs.push(hs.sleeping,this)},awake:function(){try{hs.expanders[this.key]=this;if(!hs.allowMultipleInstances&&hs.focusKey!=this.key){try{hs.expanders[hs.focusKey].close()}catch(b){}}var d=hs.zIndexCounter++,a={display:"",zIndex:d};hs.setStyles(this.wrapper,a);this.isClosing=false;var c=this.outline||0;if(c){if(!this.outlineWhileAnimating){a.visibility="hidden"}hs.setStyles(c.table,a)}if(this.slideshow){this.initSlideshow()}this.show()}catch(b){}},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}if(!hs.fireEvent(this,"onCreateOverlay",{overlay:d})){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.caption){hs.fireEvent(this,"onAfterGetCaption")}if(this.heading){hs.fireEvent(this,"onAfterGetHeading")}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)){if(this.isImage||(this.isHtml&&d.useOnHtml)){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)}}if(this.isHtml&&this.preserveContent){this.overlayBox.style.top="-9999px";hs.container.appendChild(this.overlayBox)}else{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"});if(!hs.fireEvent(this,"onCreateFullExpand")){return}this.createOverlay({overlayId:this.fullExpandLabel,position:hs.fullExpandPosition,hideOnMouseOut:true,opacity:hs.fullExpandOpacity})},doFullExpand:function(){try{if(!hs.fireEvent(this,"onDoFullExpand")){return}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.isHtml&&this.preserveContent&&this.transitions[1]!="crossfade"){this.sleep()}else{if(this.outline&&this.outlineWhileAnimating){this.outline.destroy()}hs.discardElement(this.wrapper)}if(hs.mask){hs.mask.style.display="none"}this.destroyOverlays();if(!hs.viewport.childNodes.length){hs.viewport.style.display="none"}if(this.dimmingOpacity){hs.undim(this.key)}hs.fireEvent(this,"onAfterClose");hs.expanders[this.key]=null;hs.reOrder()}};hs.Ajax=function(b,c,d){this.a=b;this.content=c;this.pre=d};hs.Ajax.prototype={run:function(){var d;if(!this.src){this.src=hs.getSrc(this.a)}if(this.src.match("#")){var a=this.src.split("#");this.src=a[0];this.id=a[1]}if(hs.cachedGets[this.src]){this.cachedGet=hs.cachedGets[this.src];if(this.id){this.getElementContent()}else{this.loadHTML()}return}try{d=new XMLHttpRequest()}catch(b){try{d=new ActiveXObject("Msxml2.XMLHTTP")}catch(b){try{d=new ActiveXObject("Microsoft.XMLHTTP")}catch(b){this.onError()}}}var f=this;d.onreadystatechange=function(){if(f.xhr.readyState==4){if(f.id){f.getElementContent()}else{f.loadHTML()}}};var c=this.src;this.xhr=d;if(hs.forceAjaxReload){c=c.replace(/$/,(/\?/.test(c)?"&":"?")+"dummy="+(new Date()).getTime())}d.open("GET",c,true);d.setRequestHeader("X-Requested-With","XMLHttpRequest");d.setRequestHeader("Content-Type","application/x-www-form-urlencoded");d.send(null)},getElementContent:function(){hs.init();var a=window.opera||hs.ie6SSL?{src:"about:blank"}:null;this.iframe=hs.createElement("iframe",a,{position:"absolute",top:"-9999px"},hs.container);this.loadHTML()},loadHTML:function(){var c=this.cachedGet||this.xhr.responseText,b;if(this.pre){hs.cachedGets[this.src]=c}if(!hs.ie||hs.uaVersion>=5.5){c=c.replace(new RegExp("<link[^>]*>","gi"),"").replace(new RegExp("<script[^>]*>.*?<\/script>","gi"),"");if(this.iframe){var f=this.iframe.contentDocument;if(!f&&this.iframe.contentWindow){f=this.iframe.contentWindow.document}if(!f){var g=this;setTimeout(function(){g.loadHTML()},25);return}f.open();f.write(c);f.close();try{c=f.getElementById(this.id).innerHTML}catch(d){try{c=this.iframe.document.getElementById(this.id).innerHTML}catch(d){}}hs.discardElement(this.iframe)}else{b=/(<body[^>]*>|<\/body>)/ig;if(b.test(c)){c=c.split(b)[hs.ieLt9?1:2]}}}hs.getElementByClass(this.content,"DIV","highslide-body").innerHTML=c;this.onLoad();for(var a in this){this[a]=null}}};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.setClickEvents);hs.addEventListener(window,"load",hs.preloadImages);hs.addEventListener(window,"load",hs.preloadAjax)};
|
@@ -1,9 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Name: Highslide JS
|
3
|
-
* Version: 4.1.12 (2011-03-28)
|
4
|
-
* Config: default +events +unobtrusive +imagemap +slideshow +positioning +transitions +viewport +thumbstrip +inline +ajax +iframe +flash +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){A m={11:{9u:\'aV\',bb:\'dG...\',aW:\'8D 2d dH\',bm:\'8D 2d dF 2d dE\',9o:\'dB 2d dC D (f)\',cL:\'dD by <i>ab a9</i>\',cJ:\'dI 2d dJ ab a9 dO\',8U:\'an\',8S:\'am\',8V:\'al\',8Y:\'av\',8Z:\'av (dP)\',aX:\'dN\',af:\'aw\',ar:\'aw 1p (ah)\',bh:\'ao\',ae:\'ao 1p (ah)\',8q:\'an (8t 1a)\',8T:\'am (8t 3k)\',8R:\'al\',b3:\'1:1\',3L:\'dK %1 dL %2\',9N:\'8D 2d 2b 2V, dA aj dz 2d 3z. dp 8t dq O 1E aj 3d.\'},55:\'K/dn/\',7u:\'dk.5m\',6f:\'dl.5m\',6A:5H,96:5H,4z:15,9c:15,5s:15,6B:15,4F:dm,ba:0.75,9w:L,9H:5,3U:2,dr:3,6u:1j,bp:\'4H 3k\',bk:1,bZ:L,cl:\'ds://K.dx/\',ck:\'dy\',aP:L,97:[\'a\',\'52\'],3g:[],cz:5H,3Z:0,81:50,6D:1j,6C:L,4r:L,3N:\'6t\',7Z:L,42:\'1P\',9s:\'1P\',b0:I,b6:I,9Z:L,4E:aq,6c:aq,6e:L,1V:\'dv-dt\',8g:{3c:\'<P 1Z="K-3c"><5P>\'+\'<1H 1Z="K-3d">\'+\'<a 23="#" 2i="{m.11.8q}">\'+\'<1C>{m.11.8U}</1C></a>\'+\'</1H>\'+\'<1H 1Z="K-3H">\'+\'<a 23="#" 2i="{m.11.ar}">\'+\'<1C>{m.11.af}</1C></a>\'+\'</1H>\'+\'<1H 1Z="K-3j">\'+\'<a 23="#" 2i="{m.11.ae}">\'+\'<1C>{m.11.bh}</1C></a>\'+\'</1H>\'+\'<1H 1Z="K-1E">\'+\'<a 23="#" 2i="{m.11.8T}">\'+\'<1C>{m.11.8S}</1C></a>\'+\'</1H>\'+\'<1H 1Z="K-3z">\'+\'<a 23="#" 2i="{m.11.8R}">\'+\'<1C>{m.11.8V}</1C></a>\'+\'</1H>\'+\'<1H 1Z="K-19-2J">\'+\'<a 23="#" 2i="{m.11.9o}">\'+\'<1C>{m.11.b3}</1C></a>\'+\'</1H>\'+\'<1H 1Z="K-2b">\'+\'<a 23="#" 2i="{m.11.8Z}" >\'+\'<1C>{m.11.8Y}</1C></a>\'+\'</1H>\'+\'</5P></P>\',b9:\'<P 1Z="K-dR"><5P>\'+\'<1H 1Z="K-3d">\'+\'<a 23="#" 2i="{m.11.8q}" 2j="E m.3d(k)">\'+\'<1C>{m.11.8U}</1C></a>\'+\'</1H>\'+\'<1H 1Z="K-1E">\'+\'<a 23="#" 2i="{m.11.8T}" 2j="E m.1E(k)">\'+\'<1C>{m.11.8S}</1C></a>\'+\'</1H>\'+\'<1H 1Z="K-3z">\'+\'<a 23="#" 2i="{m.11.8R}" 2j="E 1j">\'+\'<1C>{m.11.8V}</1C></a>\'+\'</1H>\'+\'<1H 1Z="K-2b">\'+\'<a 23="#" 2i="{m.11.8Z}" 2j="E m.2b(k)">\'+\'<1C>{m.11.8Y}</1C></a>\'+\'</1H>\'+\'</5P></P>\'+\'<P 1Z="K-1g"></P>\'+\'<P 1Z="K-ed"><P>\'+\'<1C 1Z="K-4c" 2i="{m.11.aX}"><1C></1C></1C>\'+\'</P></P>\'},6n:[],a1:L,16:[],9Y:[\'6e\',\'3s\',\'42\',\'9s\',\'b0\',\'b6\',\'1V\',\'3U\',\'ei\',\'ej\',\'ep\',\'b7\',\'eq\',\'eo\',\'en\',\'az\',\'cK\',\'9Z\',\'3W\',\'6r\',\'3g\',\'3Z\',\'M\',\'N\',\'a0\',\'6D\',\'6C\',\'4r\',\'ek\',\'em\',\'ea\',\'2K\',\'7Z\',\'43\',\'4v\',\'3N\',\'8b\',\'9g\',\'4E\',\'6c\',\'6J\',\'9x\',\'aC\',\'2S\',\'2Q\',\'cu\',\'cv\',\'1e\'],1U:[],5J:0,82:{x:[\'bX\',\'1a\',\'4t\',\'3k\',\'bW\'],y:[\'5C\',\'Y\',\'9i\',\'4H\',\'7R\']},7z:{},az:{},b7:{},8b:{aK:{},26:{},aD:{}},47:[],5W:[],4l:{},4x:[],7d:[],5p:[],7c:{},8e:{},76:[],2u:/dj\\/4\\.0/.18(5i.7n)?8:8K((5i.7n.6k().3b(/.+(?:be|e0|dW|2l)[\\/: ]([\\d.]+)/)||[0,\'0\'])[1]),2l:(W.5A&&!1S.3u),4n:/dV/.18(5i.7n),5B:/dS.+be:1\\.[0-8].+dT/.18(5i.7n),$:C(1y){q(1y)E W.9X(1y)},2n:C(24,3r){24[24.V]=3r},1c:C(bf,48,4f,6s,bg){A el=W.1c(bf);q(48)m.3v(el,48);q(bg)m.R(el,{7U:0,8E:\'1B\',9y:0});q(4f)m.R(el,4f);q(6s)6s.1Y(el);E el},3v:C(el,48){O(A x 2Y 48)el[x]=48[x];E el},R:C(el,4f){O(A x 2Y 4f){q(m.45&&x==\'1z\'){q(4f[x]>0.99)el.G.e7(\'5y\');J el.G.5y=\'bd(1z=\'+(4f[x]*2A)+\')\'}J el.G[x]=4f[x]}},2x:C(el,1d,3C){A 4p,5d,4o;q(1G 3C!=\'7g\'||3C===I){A 2I=bj;3C={3Y:2I[2],2Q:2I[3],6Y:2I[4]}}q(1G 3C.3Y!=\'3L\')3C.3Y=5H;3C.2Q=1h[3C.2Q]||1h.bc;3C.78=m.3v({},1d);O(A 31 2Y 1d){A e=1I m.fx(el,3C,31);4p=8K(m.8F(el,31))||0;5d=8K(1d[31]);4o=31!=\'1z\'?\'F\':\'\';e.3B(4p,5d,4o)}},8F:C(el,1d){q(el.G[1d]){E el.G[1d]}J q(W.8J){E W.8J.cd(el,I).bx(1d)}J{q(1d==\'1z\')1d=\'5y\';A 3r=el.5N[1d.2f(/\\-(\\w)/g,C(a,b){E b.b1()})];q(1d==\'5y\')3r=3r.2f(/bd\\(1z=([0-9]+)\\)/,C(a,b){E b/2A});E 3r===\'\'?1:3r}},7S:C(){A d=W,w=1S,5Y=d.7N&&d.7N!=\'8u\'?d.5g:d.1g;A M=m.45?5Y.8B:(d.5g.8B||7s.e5),N=m.45?5Y.cA:7s.e3;m.46={M:M,N:N,66:m.45?5Y.66:e4,5X:m.45?5Y.5X:cO};E m.46},6I:C(el){q(/52/i.18(el.3V)){A 7f=W.2B(\'1Q\');O(A i=0;i<7f.V;i++){A u=7f[i].cX;q(u&&u.2f(/^.*?#/,\'\')==el.21.31){el=7f[i];5w}}}A p={x:el.4I,y:el.7W};5t(el.b8){el=el.b8;p.x+=el.4I;p.y+=el.7W;q(el!=W.1g&&el!=W.5g){p.x-=el.66;p.y-=el.5X}}E p},2J:C(a,26,3B,U){q(!a)a=m.1c(\'a\',I,{1o:\'1B\'},m.28);q(1G a.5U==\'C\')E 26;q(U==\'3w\'){O(A i=0;i<m.4x.V;i++){q(m.4x[i]&&m.4x[i].a==a){m.4x[i].bY();m.4x[i]=I;E 1j}}m.aN=L}1v{1I m.61(a,26,3B,U);E 1j}1u(e){E L}},9b:C(a,26,3B){E m.2J(a,26,3B,\'3w\')},9z:C(){E m.1c(\'P\',{1b:\'K-3w-S\',2c:m.89(m.8g.b9)})},4u:C(el,3V,1b){A 1m=el.2B(3V);O(A i=0;i<1m.V;i++){q((1I 4Y(1b)).18(1m[i].1b)){E 1m[i]}}E I},89:C(s){s=s.2f(/\\s/g,\' \');A 2k=/{m\\.11\\.([^}]+)\\}/g,5Q=s.3b(2k),11;q(5Q)O(A i=0;i<5Q.V;i++){11=5Q[i].2f(2k,"$1");q(1G m.11[11]!=\'1T\')s=s.2f(5Q[i],m.11[11])}E s},cx:C(){A 1m=W.2B(\'a\');O(A i=0;i<1m.V;i++){A U=m.aF(1m[i]);q(U&&!1m[i].aI){(C(){A t=U;q(m.1A(m,\'cV\',{7y:1m[i],U:t})){1m[i].2j=(U==\'2V\')?C(){E m.2J(k)}:C(){E m.9b(k,{2K:t})}}})();1m[i].aI=L}}m.5R()},aF:C(el){q(el.7i==\'K\')E\'2V\';J q(el.7i==\'K-2W\')E\'2W\';J q(el.7i==\'K-1k\')E\'1k\';J q(el.7i==\'K-3t\')E\'3t\'},86:C(a){O(A i=0;i<m.5p.V;i++){q(m.5p[i][0]==a){A c=m.5p[i][1];m.5p[i][1]=c.63(1);E c}}E I},bw:C(e){A 24=m.5R();O(A i=0;i<24.4Z.V;i++){A a=24.4Z[i];q(m.44(a,\'2K\')==\'2W\'&&m.44(a,\'7Z\'))m.2n(m.7d,a)}m.8d(0)},8d:C(i){q(!m.7d[i])E;A a=m.7d[i];A 5K=m.4C(m.44(a,\'a0\'));q(!5K)5K=m.9z();A 2W=1I m.7k(a,5K,1);2W.93=C(){};2W.3x=C(){m.2n(m.5p,[a,5K]);m.8d(i+1)};2W.9a()},aO:C(){A 8c=0,7p=-1,16=m.16,B,1D;O(A i=0;i<16.V;i++){B=16[i];q(B){1D=B.T.G.1D;q(1D&&1D>8c){8c=1D;7p=i}}}q(7p==-1)m.30=-1;J 16[7p].3K()},44:C(a,5S){a.5U=a.2j;A p=a.5U?a.5U():I;a.5U=I;E(p&&1G p[5S]!=\'1T\')?p[5S]:(1G m[5S]!=\'1T\'?m[5S]:I)},7t:C(a){A 1e=m.44(a,\'1e\');q(1e)E 1e;E a.23},4C:C(1y){A 1N=m.$(1y),4q=m.8e[1y],a={};q(!1N&&!4q)E I;q(!4q){4q=1N.63(L);4q.1y=\'\';m.8e[1y]=4q;E 1N}J{E 4q.63(L)}},3A:C(d){q(d)m.9j.1Y(d);m.9j.2c=\'\'},1t:C(B){q(!m.2G){80=L;m.2G=m.1c(\'P\',{1b:\'K-d8 K-2w-D\',5l:\'\',2j:C(){q(m.1A(m,\'de\'))m.2b()}},{1n:\'1W\',1z:0},m.28,L)}m.2G.G.1o=\'\';A 80=m.2G.5l==\'\';m.2G.5l+=\'|\'+B.Q;q(80){q(m.5B&&m.aQ)m.R(m.2G,{9k:\'7v(\'+m.55+\'d6.ax)\',1z:1});J m.2x(m.2G,{1z:B.3Z},m.81)}},9n:C(Q){q(!m.2G)E;q(1G Q!=\'1T\')m.2G.5l=m.2G.5l.2f(\'|\'+Q,\'\');q((1G Q!=\'1T\'&&m.2G.5l!=\'\')||(m.2r&&m.44(m.2r,\'3Z\')))E;q(m.5B&&m.aQ)m.2G.G.1o=\'1B\';J m.2x(m.2G,{1z:0},m.81,I,C(){m.2G.G.1o=\'1B\'})},8G:C(7L,B){A 1i=B||m.2F();B=1i;q(m.2r)E 1j;J m.1i=1i;m.4s(W,1S.3u?\'6O\':\'6N\',m.5O);1v{m.2r=7L;7L.2j()}1u(e){m.1i=m.2r=I}1v{q(!7L||B.3g[1]!=\'4i\')B.2b()}1u(e){}E 1j},7x:C(el,2s){A B=m.2F(el);q(B)E m.8G(B.7Y(2s),B);J E 1j},3d:C(el){E m.7x(el,-1)},1E:C(el){E m.7x(el,1)},5O:C(e){q(!e)e=1S.2t;q(!e.2E)e.2E=e.a2;q(1G e.2E.9O!=\'1T\')E L;q(!m.1A(m,\'cZ\',e))E L;A B=m.2F();A 2s=I;ad(e.d3){2a 70:q(B)B.7q();E L;2a 32:2s=2;5w;2a 34:2a 39:2a 40:2s=1;5w;2a 8:2a 33:2a 37:2a 38:2s=-1;5w;2a 27:2a 13:2s=0}q(2s!==I){m.4s(W,1S.3u?\'6O\':\'6N\',m.5O);q(!m.aP)E L;q(e.5h)e.5h();J e.bo=1j;q(B){q(2s==0){B.2b()}J q(2s==2){q(B.1p)B.1p.bt()}J{q(B.1p)B.1p.3j();m.7x(B.Q,2s)}E 1j}}E L},df:C(14){m.2n(m.1U,m.3v(14,{22:\'22\'+m.5J++}))},dh:C(1r){A 2X=1r.2S;q(1G 2X==\'7g\'){O(A i=0;i<2X.V;i++){A o={};O(A x 2Y 1r)o[x]=1r[x];o.2S=2X[i];m.2n(m.5W,o)}}J{m.2n(m.5W,1r)}},a5:C(7y,7P){A el,2k=/^K-T-([0-9]+)$/;el=7y;5t(el.21){q(el.6U!==1T)E el.6U;q(el.1y&&2k.18(el.1y))E el.1y.2f(2k,"$1");el=el.21}q(!7P){el=7y;5t(el.21){q(el.3V&&m.6Z(el)){O(A Q=0;Q<m.16.V;Q++){A B=m.16[Q];q(B&&B.a==el)E Q}}el=el.21}}E I},2F:C(el,7P){q(1G el==\'1T\')E m.16[m.30]||I;q(1G el==\'3L\')E m.16[el]||I;q(1G el==\'9r\')el=m.$(el);E m.16[m.a5(el,7P)]||I},6Z:C(a){E(a.2j&&a.2j.cB().2f(/\\s/g,\' \').3b(/m.(da|e)d5/))},bF:C(){O(A i=0;i<m.16.V;i++)q(m.16[i]&&m.16[i].5j)m.aO()},1A:C(6g,9R,2I){E 6g&&6g[9R]?(6g[9R](6g,2I)!==1j):L},8x:C(e){q(!e)e=1S.2t;q(e.d7>1)E L;q(!e.2E)e.2E=e.a2;A el=e.2E;5t(el.21&&!(/K-(2V|3z|3w|4c)/.18(el.1b))){el=el.21}A B=m.2F(el);q(B&&(B.5D||!B.5j))E L;q(B&&e.U==\'8w\'){q(e.2E.9O)E L;A 3b=el.1b.3b(/K-(2V|3z|4c)/);q(3b){m.2z={B:B,U:3b[1],1a:B.x.H,M:B.x.D,Y:B.y.H,N:B.y.D,aR:e.7w,aT:e.7C};m.2o(W,\'7B\',m.73);q(e.5h)e.5h();q(/K-(2V|3w)-9Q/.18(B.S.1b)){B.3K();m.9T=L}E 1j}J q(/K-3w/.18(el.1b)&&m.30!=B.Q){B.3K();B.5o(\'1q\')}}J q(e.U==\'cg\'){m.4s(W,\'7B\',m.73);q(m.2z){q(m.4X&&m.2z.U==\'2V\')m.2z.B.S.G.4D=m.4X;A 3Q=m.2z.3Q;q(!3Q&&!m.9T&&!/(3z|4c)/.18(m.2z.U)){q(m.1A(B,\'db\'))B.2b()}J q(3Q||(!3Q&&m.aN)){m.2z.B.5o(\'1q\')}q(m.2z.B.3M)m.2z.B.3M.G.1o=\'1B\';q(3Q)m.1A(m.2z.B,\'dg\',m.2z);m.9T=1j;m.2z=I}J q(/K-2V-9Q/.18(el.1b)){el.G.4D=m.4X}}E 1j},73:C(e){q(!m.2z)E L;q(!e)e=1S.2t;A a=m.2z,B=a.B;q(B.1k){q(!B.3M)B.3M=m.1c(\'P\',I,{1l:\'2m\',M:B.x.D+\'F\',N:B.y.D+\'F\',1a:B.x.cb+\'F\',Y:B.y.cb+\'F\',1D:4,9k:(m.45?\'di\':\'1B\'),1z:0.cS},B.T,L);q(B.3M.G.1o==\'1B\')B.3M.G.1o=\'\'}a.dX=e.7w-a.aR;a.dY=e.7C-a.aT;A 9U=1h.d0(1h.aS(a.dX,2)+1h.aS(a.dY,2));q(!a.3Q)a.3Q=(a.U!=\'2V\'&&9U>0)||(9U>(m.cQ||5));q(a.3Q&&e.7w>5&&e.7C>5){q(!m.1A(B,\'eD\',a))E 1j;q(a.U==\'4c\')B.4c(a);J{B.9E(a.1a+a.dX,a.Y+a.dY);q(a.U==\'2V\')B.S.G.4D=\'3z\'}}E 1j},aU:C(e){1v{q(!e)e=1S.2t;A 6h=/fQ/i.18(e.U);q(!e.2E)e.2E=e.a2;q(!e.7e)e.7e=6h?e.fT:e.fP;A B=m.2F(e.2E);q(!B.5j)E;q(!B||!e.7e||m.2F(e.7e,L)==B||m.2z)E;m.1A(B,6h?\'fX\':\'fm\',e);O(A i=0;i<B.1U.V;i++)(C(){A o=m.$(\'22\'+B.1U[i]);q(o&&o.7r){q(6h)m.R(o,{1n:\'1W\',1o:\'\'});m.2x(o,{1z:6h?o.1z:0},o.41)}})()}1u(e){}},2o:C(el,2t,3T){q(el==W&&2t==\'4a\'){m.2n(m.76,3T)}1v{el.2o(2t,3T,1j)}1u(e){1v{el.aH(\'6i\'+2t,3T);el.fw(\'6i\'+2t,3T)}1u(e){el[\'6i\'+2t]=3T}}},4s:C(el,2t,3T){1v{el.4s(2t,3T,1j)}1u(e){1v{el.aH(\'6i\'+2t,3T)}1u(e){el[\'6i\'+2t]=I}}},7M:C(i){q(m.a1&&m.6n[i]&&m.6n[i]!=\'1T\'){A 1Q=W.1c(\'1Q\');1Q.4Q=C(){1Q=I;m.7M(i+1)};1Q.1e=m.6n[i]}},cy:C(3L){q(3L&&1G 3L!=\'7g\')m.9H=3L;A 24=m.5R();O(A i=0;i<24.4W.V&&i<m.9H;i++){m.2n(m.6n,m.7t(24.4W[i]))}q(m.1V)1I m.5M(m.1V,C(){m.7M(0)});J m.7M(0);q(m.6f)A 5m=m.1c(\'1Q\',{1e:m.55+m.6f})},7m:C(){q(!m.28){m.3J=m.2l&&m.2u<7;m.45=m.2l&&m.2u<9;m.7S();m.ct=m.3J&&87.fA==\'fz:\';O(A x 2Y m.7j){q(1G m[x]!=\'1T\')m.11[x]=m[x];J q(1G m.11[x]==\'1T\'&&1G m.7j[x]!=\'1T\')m.11[x]=m.7j[x]}m.28=m.1c(\'P\',{1b:\'K-28\'},{1l:\'2m\',1a:0,Y:0,M:\'2A%\',1D:m.4F,9h:\'aV\'},W.1g,L);m.2q=m.1c(\'a\',{1b:\'K-2q\',2i:m.11.aW,2c:m.11.bb,23:\'bq:;\'},{1l:\'2m\',Y:\'-4w\',1z:m.ba,1D:1},m.28);m.9j=m.1c(\'P\',I,{1o:\'1B\'},m.28);m.2w=m.1c(\'P\',{1b:\'K-2w K-2w-D\'},{1n:(m.4n&&m.2u<6V)?\'1W\':\'1q\'},m.28,1);m.3D=m.1c(\'P\',I,{aJ:\'aG\',fp:\'fn\'},I,L);1h.fZ=C(t,b,c,d){E c*t/d+b};1h.bc=C(t,b,c,d){E c*(t/=d)*t+b};1h.8L=C(t,b,c,d){E-c*(t/=d)*(t-2)+b};m.cc=m.3J;m.bC=((1S.3u&&m.2u<9)||5i.b4==\'at\'||(m.3J&&m.2u<5.5));m.1A(k,\'g0\')}},4a:C(){q(m.9G)E;m.9G=L;O(A i=0;i<m.76.V;i++)m.76[i]()},88:C(){A el,1m,5A=[],4W=[],4Z=[],3l={},2k;O(A i=0;i<m.97.V;i++){1m=W.2B(m.97[i]);O(A j=0;j<1m.V;j++){el=1m[j];2k=m.6Z(el);q(2k){m.2n(5A,el);q(2k[0]==\'m.2J\')m.2n(4W,el);J q(2k[0]==\'m.9b\')m.2n(4Z,el);A g=m.44(el,\'2S\')||\'1B\';q(!3l[g])3l[g]=[];m.2n(3l[g],el)}}}m.4G={5A:5A,3l:3l,4W:4W,4Z:4Z};E m.4G},5R:C(){E m.4G||m.88()},2b:C(el){A B=m.2F(el);q(B)B.2b();E 1j}};m.fx=C(3e,1r,1d){k.1r=1r;k.3e=3e;k.1d=1d;q(!1r.aY)1r.aY={}};m.fx.5q={9f:C(){(m.fx.3I[k.1d]||m.fx.3I.ak)(k);q(k.1r.3I)k.1r.3I.aa(k.3e,k.4K,k)},3B:C(8s,2d,4o){k.9C=(1I 7T()).7A();k.4p=8s;k.5d=2d;k.4o=4o;k.4K=k.4p;k.H=k.94=0;A 7s=k;C t(7h){E 7s.3I(7h)}t.3e=k.3e;q(t()&&m.47.2n(t)==1){m.b5=fV(C(){A 47=m.47;O(A i=0;i<47.V;i++)q(!47[i]())47.fU(i--,1);q(!47.V){fN(m.b5)}},13)}},3I:C(7h){A t=(1I 7T()).7A();q(7h||t>=k.1r.3Y+k.9C){k.4K=k.5d;k.H=k.94=1;k.9f();k.1r.78[k.1d]=L;A 9t=L;O(A i 2Y k.1r.78)q(k.1r.78[i]!==L)9t=1j;q(9t){q(k.1r.6Y)k.1r.6Y.aa(k.3e)}E 1j}J{A n=t-k.9C;k.94=n/k.1r.3Y;k.H=k.1r.2Q(n,0,1,k.1r.3Y);k.4K=k.4p+((k.5d-k.4p)*k.H);k.9f()}E L}};m.3v(m.fx,{3I:{1z:C(fx){m.R(fx.3e,{1z:fx.4K})},ak:C(fx){1v{q(fx.3e.G&&fx.3e.G[fx.1d]!=I)fx.3e.G[fx.1d]=fx.4K+fx.4o;J fx.3e[fx.1d]=fx.4K}1u(e){}}}});m.5M=C(1V,3x){k.3x=3x;k.1V=1V;A v=m.2u,4k;k.9A=m.2l&&m.2u<7;q(!1V){q(3x)3x();E}m.7m();k.2h=m.1c(\'2h\',{fk:0},{1n:\'1q\',1l:\'2m\',eL:\'fl\',M:0},m.28,L);A 4J=m.1c(\'4J\',I,I,k.2h,1);k.2L=[];O(A i=0;i<=8;i++){q(i%3==0)4k=m.1c(\'4k\',I,{N:\'1P\'},4J,L);k.2L[i]=m.1c(\'2L\',I,I,4k,L);A G=i!=4?{eH:0,eM:0}:{1l:\'4A\'};m.R(k.2L[i],G)}k.2L[4].1b=1V+\' K-1f\';k.ay()};m.5M.5q={ay:C(){A 1e=m.55+(m.eS||"eQ/")+k.1V+".ax";A ap=m.4n&&m.2u<6V?m.28:I;k.3G=m.1c(\'1Q\',I,{1l:\'2m\',Y:\'-4w\'},ap,L);A 3y=k;k.3G.4Q=C(){3y.ai()};k.3G.1e=1e},ai:C(){A o=k.1x=k.3G.M/4,H=[[0,0],[0,-4],[-2,0],[0,-8],0,[-2,-8],[0,-2],[0,-6],[-2,-2]],1t={N:(2*o)+\'F\',M:(2*o)+\'F\'};O(A i=0;i<=8;i++){q(H[i]){q(k.9A){A w=(i==1||i==7)?\'2A%\':k.3G.M+\'F\';A P=m.1c(\'P\',I,{M:\'2A%\',N:\'2A%\',1l:\'4A\',2e:\'1q\'},k.2L[i],L);m.1c(\'P\',I,{5y:"eF:ex.bz.ew(ev=et, 1e=\'"+k.3G.1e+"\')",1l:\'2m\',M:w,N:k.3G.N+\'F\',1a:(H[i][0]*o)+\'F\',Y:(H[i][1]*o)+\'F\'},P,L)}J{m.R(k.2L[i],{9k:\'7v(\'+k.3G.1e+\') \'+(H[i][0]*o)+\'F \'+(H[i][1]*o)+\'F\'})}q(1S.3u&&(i==3||i==5))m.1c(\'P\',I,1t,k.2L[i],L);m.R(k.2L[i],1t)}}k.3G=I;q(m.4l[k.1V])m.4l[k.1V].5E();m.4l[k.1V]=k;q(k.3x)k.3x()},4O:C(H,1x,ag,41,2Q){A B=k.B,5F=B.T.G,1x=1x||0,H=H||{x:B.x.H+1x,y:B.y.H+1x,w:B.x.Z(\'2g\')-2*1x,h:B.y.Z(\'2g\')-2*1x};q(ag)k.2h.G.1n=(H.h>=4*k.1x)?\'1W\':\'1q\';m.R(k.2h,{1a:(H.x-k.1x)+\'F\',Y:(H.y-k.1x)+\'F\',M:(H.w+2*k.1x)+\'F\'});H.w-=2*k.1x;H.h-=2*k.1x;m.R(k.2L[4],{M:H.w>=0?H.w+\'F\':0,N:H.h>=0?H.h+\'F\':0});q(k.9A)k.2L[3].G.N=k.2L[5].G.N=k.2L[4].G.N},5E:C(au){q(au)k.2h.G.1n=\'1q\';J m.3A(k.2h)}};m.6L=C(B,1t){k.B=B;k.1t=1t;k.3m=1t==\'x\'?\'bP\':\'bM\';k.3p=k.3m.6k();k.5x=1t==\'x\'?\'c4\':\'c5\';k.6P=k.5x.6k();k.9v=1t==\'x\'?\'ca\':\'bQ\';k.b2=k.9v.6k();k.1F=k.35=0};m.6L.5q={Z:C(Q){ad(Q){2a\'9J\':E k.1K+k.3q+(k.t-m.2q[\'1x\'+k.3m])/2;2a\'a7\':E k.H+k.cb+k.1F+(k.D-m.2q[\'1x\'+k.3m])/2;2a\'2g\':E k.D+2*k.cb+k.1F+k.35;2a\'5v\':E k.4V-k.3h-k.4L;2a\'8z\':E k.Z(\'5v\')-2*k.cb-k.1F-k.35;2a\'6y\':E k.H-(k.B.1f?k.B.1f.1x:0);2a\'a8\':E k.Z(\'2g\')+(k.B.1f?2*k.B.1f.1x:0);2a\'2H\':E k.1X?1h.36((k.D-k.1X)/2):0}},91:C(){k.cb=(k.B.S[\'1x\'+k.3m]-k.t)/2;k.4L=m[\'9y\'+k.9v]},9I:C(){k.t=k.B.el[k.3p]?3F(k.B.el[k.3p]):k.B.el[\'1x\'+k.3m];k.1K=k.B.1K[k.1t];k.3q=(k.B.el[\'1x\'+k.3m]-k.t)/2;q(k.1K==0||k.1K==-1){k.1K=(m.46[k.3p]/2)+m.46[\'29\'+k.5x]}},84:C(){A B=k.B;k.2P=\'1P\';q(B.9s==\'4t\')k.2P=\'4t\';J q(1I 4Y(k.6P).18(B.42))k.2P=I;J q(1I 4Y(k.b2).18(B.42))k.2P=\'4U\';k.H=k.1K-k.cb+k.3q;q(k.9x&&k.1t==\'x\')B.6J=1h.2Z(B.6J||k.19,B.9x*k.19/B.y.19);k.D=1h.2Z(k.19,B[\'4U\'+k.3m]||k.19);k.2O=B.6e?1h.2Z(B[\'2Z\'+k.3m],k.19):k.19;q(B.2C&&B.3s){k.D=B[k.3p];k.1X=k.19}q(k.1t==\'x\'&&m.6u)k.2O=B.4E;k.2E=B[\'2E\'+k.1t.b1()];k.3h=m[\'9y\'+k.5x];k.29=m.46[\'29\'+k.5x];k.4V=m.46[k.3p]},6M:C(i){A B=k.B;q(B.2C&&(B.3s||m.6u)){k.1X=i;k.D=1h.4U(k.D,k.1X);B.S.G[k.6P]=k.Z(\'2H\')+\'F\'}J k.D=i;B.S.G[k.3p]=i+\'F\';B.T.G[k.3p]=k.Z(\'2g\')+\'F\';q(B.1f)B.1f.4O();q(B.3M)B.3M.G[k.3p]=i+\'F\';q(k.1t==\'y\'&&B.5Z&&B.1g.G.N!=\'1P\')1v{B.5Z.1g.G.2e=\'1P\'}1u(e){}q(B.2y){A d=B.2p;q(k.92===1T)k.92=B.1s[\'1x\'+k.3m]-d[\'1x\'+k.3m];d.G[k.3p]=(k.D-k.92)+\'F\';q(k.1t==\'x\')B.3X.G.M=\'1P\';q(B.1g)B.1g.G[k.3p]=\'1P\'}q(k.1t==\'x\'&&B.1w)B.53(L);q(k.1t==\'x\'&&B.1p&&B.2C){q(i==k.19)B.1p.5r(\'19-2J\');J B.1p.4m(\'19-2J\')}},9M:C(i){k.H=i;k.B.T.G[k.6P]=i+\'F\';q(k.B.1f)k.B.1f.4O()}};m.61=C(a,26,3B,3a){q(W.cF&&m.2l&&!m.9G){m.2o(W,\'4a\',C(){1I m.61(a,26,3B,3a)});E}k.a=a;k.3B=3B;k.3a=3a||\'2V\';k.2y=(3a==\'3w\');k.2C=!k.2y;m.a1=1j;k.1U=[];k.1i=m.1i;m.1i=I;m.7m();A Q=k.Q=m.16.V;O(A i=0;i<m.9Y.V;i++){A 31=m.9Y[i];k[31]=26&&1G 26[31]!=\'1T\'?26[31]:m[31]}q(!k.1e)k.1e=a.23;A el=(26&&26.85)?m.$(26.85):a;el=k.aA=el.2B(\'1Q\')[0]||el;k.7E=el.1y||a.1y;q(!m.1A(k,\'f9\'))E L;O(A i=0;i<m.16.V;i++){q(m.16[i]&&m.16[i].a==a&&!(k.1i&&k.3g[1]==\'4i\')){m.16[i].3K();E 1j}}q(!m.fa)O(A i=0;i<m.16.V;i++){q(m.16[i]&&m.16[i].aA!=el&&!m.16[i].6S){m.16[i].6Q()}}m.16[Q]=k;q(!m.9w&&!m.2r){q(m.16[Q-1])m.16[Q-1].2b();q(1G m.30!=\'1T\'&&m.16[m.30])m.16[m.30].2b()}k.el=el;k.1K=k.aC||m.6I(el);m.7S();A x=k.x=1I m.6L(k,\'x\');x.9I();A y=k.y=1I m.6L(k,\'y\');y.9I();q(/52/i.18(el.3V))k.ac(el);k.T=m.1c(\'P\',{1y:\'K-T-\'+k.Q,1b:\'K-T \'+k.9g},{1n:\'1q\',1l:\'2m\',1D:m.4F+=2},I,L);k.T.fj=k.T.fi=m.aU;q(k.3a==\'2V\'&&k.3U==2)k.3U=0;q(!k.1V||(k.1i&&k.2C&&k.3g[1]==\'4i\')){k[k.3a+\'9S\']()}J q(m.4l[k.1V]){k.9P();k[k.3a+\'9S\']()}J{k.6a();A B=k;1I m.5M(k.1V,C(){B.9P();B[B.3a+\'9S\']()})}E L};m.61.5q={9B:C(e){q(m.eZ)eY(\'eX \'+e.eV+\': \'+e.eW);J 1S.87.23=k.1e},9P:C(){A 1f=k.1f=m.4l[k.1V];1f.B=k;1f.2h.G.1D=k.T.G.1D-1;m.4l[k.1V]=I},6a:C(){q(k.6S||k.2q)E;k.2q=m.2q;A B=k;k.2q.2j=C(){B.6Q()};q(!m.1A(k,\'f6\'))E;A B=k,l=k.x.Z(\'9J\')+\'F\',t=k.y.Z(\'9J\')+\'F\';q(!2M&&k.1i&&k.3g[1]==\'4i\')A 2M=k.1i;q(2M){l=2M.x.Z(\'a7\')+\'F\';t=2M.y.Z(\'a7\')+\'F\';k.2q.G.1D=m.4F++}4b(C(){q(B.2q)m.R(B.2q,{1a:l,Y:t,1D:m.4F++})},2A)},f4:C(){A B=k;A 1Q=W.1c(\'1Q\');k.S=1Q;1Q.4Q=C(){q(m.16[B.Q])B.6b()};q(m.f3)1Q.f2=C(){E 1j};1Q.1b=\'K-2V\';m.R(1Q,{1n:\'1q\',1o:\'3P\',1l:\'2m\',6J:\'4w\',1D:3});1Q.2i=m.11.9N;q(m.4n&&m.2u<6V)m.28.1Y(1Q);q(m.2l&&m.f5)1Q.1e=I;1Q.1e=k.1e;k.6a()},f1:C(){q(!m.1A(k,\'f0\'))E;k.S=m.86(k.a);q(!k.S)k.S=m.4C(k.a0);q(!k.S)k.S=m.9z();k.a3([\'6R\']);q(k.6R){A 1g=m.4u(k.S,\'P\',\'K-1g\');q(1g)1g.1Y(k.6R);k.6R.G.1o=\'3P\'}m.1A(k,\'fg\');A 1s=k.1s=k.S;q(/(3t|1k)/.18(k.2K))k.8P(1s);m.28.1Y(k.T);m.R(k.T,{1l:\'fh\',7U:\'0 \'+m.9c+\'F 0 \'+m.4z+\'F\'});k.S=m.1c(\'P\',{1b:\'K-3w\'},{1l:\'4A\',1D:3,N:0,2e:\'1q\'},k.T);k.3X=m.1c(\'P\',I,I,k.S,1);k.3X.1Y(1s);m.R(1s,{1l:\'4A\',1o:\'3P\',9h:m.11.9u||\'\'});q(k.M)1s.G.M=k.M+\'F\';q(k.N)m.R(1s,{N:k.N+\'F\',2e:\'1q\'});q(1s.1O<k.4E)1s.G.M=k.4E+\'F\';q(k.2K==\'2W\'&&!m.86(k.a)){k.6a();A B=k;A 2W=1I m.7k(k.a,1s);2W.1e=k.1e;2W.3x=C(){q(m.16[B.Q])B.6b()};2W.93=C(){87.23=B.1e};2W.9a()}J q(k.2K==\'1k\'&&k.3N==\'6t\'){k.6G()}J k.6b()},6b:C(){1v{q(!k.S)E;k.S.4Q=I;q(k.6S)E;J k.6S=L;A x=k.x,y=k.y;q(k.2q){m.R(k.2q,{Y:\'-4w\'});k.2q=I;m.1A(k,\'cm\')}q(k.2C){x.19=k.S.M;y.19=k.S.N;m.R(k.S,{M:x.t+\'F\',N:y.t+\'F\'});k.T.1Y(k.S);m.28.1Y(k.T)}J q(k.8i)k.8i();x.91();y.91();m.R(k.T,{1a:(x.1K+x.3q-x.cb)+\'F\',Y:(y.1K+x.3q-y.cb)+\'F\'});k.9q();k.bU();A 2R=x.19/y.19;x.84();k.2P(x);y.84();k.2P(y);q(k.2y)k.aZ();q(k.1w)k.53(0,1);q(k.6e){q(k.2C)k.cr(2R);J k.8C();A 1M=k.1p;q(1M&&k.1i&&1M.3c&&1M.aM){A H=1M.cj.1l||\'\',p;O(A 1t 2Y m.82)O(A i=0;i<5;i++){p=k[1t];q(H.3b(m.82[1t][i])){p.H=k.1i[1t].H+(k.1i[1t].1F-p.1F)+(k.1i[1t].D-p.D)*[0,0,.5,1,1][i];q(1M.aM==\'fb\'){q(p.H+p.D+p.1F+p.35>p.29+p.4V-p.4L)p.H=p.29+p.4V-p.D-p.3h-p.4L-p.1F-p.35;q(p.H<p.29+p.3h)p.H=p.29+p.3h}}}}q(k.2C&&k.x.19>(k.x.1X||k.x.D)){k.br();q(k.1U.V==1)k.53()}}k.9p()}1u(e){k.9B(e)}},8P:C(6s,1P){A c=m.4u(6s,\'7D\',\'K-1g\');q(/(1k|3t)/.18(k.2K)){q(k.43)c.G.M=k.43+\'F\';q(k.4v)c.G.N=k.4v+\'F\'}},6G:C(){q(k.aB)E;A B=k;k.1g=m.4u(k.1s,\'7D\',\'K-1g\');q(k.2K==\'1k\'){k.6a();A 54=m.3D.63(1);k.1g.1Y(54);k.eT=k.1s.1O;q(!k.43)k.43=54.1O;A 5k=k.1s.1R-k.1g.1R,h=k.4v||m.46.N-5k-m.5s-m.6B,4Q=k.3N==\'6t\'?\' 4Q="q (m.16[\'+k.Q+\']) m.16[\'+k.Q+\'].6b()" \':\'\';k.1g.2c+=\'<1k 31="m\'+(1I 7T()).7A()+\'" eu="0" Q="\'+k.Q+\'" \'+\' G="M:\'+k.43+\'F; N:\'+h+\'F" \'+4Q+\' 1e="\'+k.1e+\'" ></1k>\';k.54=k.1g.2B(\'P\')[0];k.1k=k.1g.2B(\'1k\')[0];q(k.3N==\'5G\')k.8A()}q(k.2K==\'3t\'){k.1g.1y=k.1g.1y||\'m-eG-1y-\'+k.Q;A a=k.8b;q(!a.26)a.26={};q(1G a.26.aL==\'1T\')a.26.aL=\'eP\';q(9F)9F.eR(k.1e,k.1g.1y,k.43,k.4v,a.eI||\'7\',a.eJ,a.aK,a.26,a.aD)}k.aB=L},8i:C(){q(k.1k&&!k.4v){k.1k.G.N=k.1g.G.N=k.8n()+\'F\'}k.1s.1Y(m.3D);q(!k.x.19)k.x.19=k.1s.1O;k.y.19=k.1s.1R;k.1s.9m(m.3D);q(m.2l&&k.aE>3F(k.1s.5N.N)){k.aE=3F(k.1s.5N.N)}m.R(k.T,{1l:\'2m\',7U:\'0\'});m.R(k.S,{M:k.x.t+\'F\',N:k.y.t+\'F\'})},8n:C(){A h;1v{A 2v=k.5Z=k.1k.9V||k.1k.6v.W;A 3D=2v.1c(\'P\');3D.G.aJ=\'aG\';2v.1g.1Y(3D);h=3D.7W;q(m.2l)h+=3F(2v.1g.5N.5s)+3F(2v.1g.5N.6B)-1}1u(e){h=fW}E h},8A:C(){A 5e=k.1s.1O-k.54.1O;m.3A(k.54);q(5e<0)5e=0;A 5k=k.1s.1R-k.1k.1R;q(k.5Z&&!k.4v&&!k.N&&k.y.D==k.y.19)1v{k.5Z.1g.G.2e=\'1q\'}1u(e){}m.R(k.1k,{M:1h.a6(k.x.D-5e)+\'F\',N:1h.a6(k.y.D-5k)+\'F\'});m.R(k.1g,{M:k.1k.G.M,N:k.1k.G.N});k.51=k.1k;k.2p=k.51},aZ:C(){k.8P(k.1s);q(k.2K==\'3t\'&&k.3N==\'6t\')k.6G();q(k.x.D<k.x.19&&!k.6D)k.x.D=k.x.19;q(k.y.D<k.y.19&&!k.6C)k.y.D=k.y.19;k.2p=k.1s;m.R(k.3X,{1l:\'4A\',M:k.x.D+\'F\'});m.R(k.1s,{8E:\'1B\',M:\'1P\',N:\'1P\'});A 1N=m.4u(k.1s,\'7D\',\'K-1g\');q(1N&&!/(1k|3t)/.18(k.2K)){A 58=1N;1N=m.1c(58.fI,I,{2e:\'1q\'},I,L);58.21.fs(1N,58);1N.1Y(m.3D);1N.1Y(58);A 5e=k.1s.1O-1N.1O;A 5k=k.1s.1R-1N.1R;1N.9m(m.3D);A 6F=m.4n||5i.b4==\'at\'?1:0;m.R(1N,{M:(k.x.D-5e-6F)+\'F\',N:(k.y.D-5k)+\'F\',2e:\'1P\',1l:\'4A\'});q(6F&&58.1R>1N.1R){1N.G.M=(3F(1N.G.M)+6F)+\'F\'}k.51=1N;k.2p=k.51}q(k.1k&&k.3N==\'6t\')k.8A();q(!k.51&&k.y.D<k.3X.1R)k.2p=k.S;q(k.2p==k.S&&!k.6D&&!/(1k|3t)/.18(k.2K)){k.x.D+=17}q(k.2p&&k.2p.1R>k.2p.21.1R){4b("1v { m.16["+k.Q+"].2p.G.2e = \'1P\'; } 1u(e) {}",m.6A)}},ac:C(52){A c=52.fG.7H(\',\');O(A i=0;i<c.V;i++)c[i]=3F(c[i]);q(52.fC.6k()==\'fB\'){k.x.1K+=c[0]-c[2];k.y.1K+=c[1]-c[2];k.x.t=k.y.t=2*c[2]}J{A 6j,6m,6l=6j=c[0],6d=6m=c[1];O(A i=0;i<c.V;i++){q(i%2==0){6l=1h.2Z(6l,c[i]);6j=1h.4U(6j,c[i])}J{6d=1h.2Z(6d,c[i]);6m=1h.4U(6m,c[i])}}k.x.1K+=6l;k.x.t=6j-6l;k.y.1K+=6d;k.y.t=6m-6d}},2P:C(p,5f){A 4M,2M=p.2E,1t=p==k.x?\'x\':\'y\';q(2M&&2M.3b(/ /)){4M=2M.7H(\' \');2M=4M[0]}q(2M&&m.$(2M)){p.H=m.6I(m.$(2M))[1t];q(4M&&4M[1]&&4M[1].3b(/^[-]?[0-9]+F$/))p.H+=3F(4M[1]);q(p.D<p.2O)p.D=p.2O}J q(p.2P==\'1P\'||p.2P==\'4t\'){A 8v=1j;A 56=p.B.6e;q(p.2P==\'4t\')p.H=1h.36(p.29+(p.4V+p.3h-p.4L-p.Z(\'2g\'))/2);J p.H=1h.36(p.H-((p.Z(\'2g\')-p.t)/2));q(p.H<p.29+p.3h){p.H=p.29+p.3h;8v=L}q(!5f&&p.D<p.2O){p.D=p.2O;56=1j}q(p.H+p.Z(\'2g\')>p.29+p.4V-p.4L){q(!5f&&8v&&56){p.D=1h.2Z(p.D,p.Z(1t==\'y\'?\'5v\':\'8z\'))}J q(p.Z(\'2g\')<p.Z(\'5v\')){p.H=p.29+p.4V-p.4L-p.Z(\'2g\')}J{p.H=p.29+p.3h;q(!5f&&56)p.D=p.Z(1t==\'y\'?\'5v\':\'8z\')}}q(!5f&&p.D<p.2O){p.D=p.2O;56=1j}}J q(p.2P==\'4U\'){p.H=1h.fy(p.H-p.D+p.t)}q(p.H<p.3h){A cs=p.H;p.H=p.3h;q(56&&!5f)p.D=p.D-(p.H-cs)}},cr:C(2R){A x=k.x,y=k.y,3E=1j,3f=1h.2Z(x.19,x.D),4d=1h.2Z(y.19,y.D),3s=(k.3s||m.6u);q(3f/4d>2R){ 3f=4d*2R;q(3f<x.2O){3f=x.2O;4d=3f/2R}3E=L}J q(3f/4d<2R){ 4d=3f/2R;3E=L}q(m.6u&&x.19<x.2O){x.1X=x.19;y.D=y.1X=y.19}J q(k.3s){x.1X=3f;y.1X=4d}J{x.D=3f;y.D=4d}3E=k.8C(k.3s?I:2R,3E);q(3s&&y.D<y.1X){y.1X=y.D;x.1X=y.D*2R}q(3E||3s){x.H=x.1K-x.cb+x.3q;x.2O=x.D;k.2P(x,L);y.H=y.1K-y.cb+y.3q;y.2O=y.D;k.2P(y,L);q(k.1w)k.53()}},8C:C(2R,3E){A x=k.x,y=k.y;q(k.1w&&(k.2C||k.6C)){5t(y.D>k.6c&&x.D>k.4E&&y.Z(\'2g\')>y.Z(\'5v\')){y.D-=10;q(2R)x.D=y.D*2R;k.53(0,1);3E=L}}E 3E},fq:C(){q(k.2p){A h=/1k/i.18(k.2p.3V)?(k.8n()+1)+\'F\':\'1P\';q(k.1g)k.1g.G.N=h;k.2p.G.N=h;k.y.6M(k.1s.1R)}},9p:C(){A x=k.x,y=k.y;k.5o(\'1q\');m.1A(k,\'fv\');q(k.1p&&k.1p.2D)k.1p.2D.5c();k.9d(1,{T:{M:x.Z(\'2g\'),N:y.Z(\'2g\'),1a:x.H,Y:y.H},S:{1a:x.1F+x.Z(\'2H\'),Y:y.1F+y.Z(\'2H\'),M:x.1X||x.D,N:y.1X||y.D}},m.6A)},9d:C(1J,2d,41){A 60=k.3g,8m=1J?(k.1i?k.1i.a:I):m.2r,t=(60[1]&&8m&&m.44(8m,\'3g\')[1]==60[1])?60[1]:60[0];q(k[t]&&t!=\'2J\'){k[t](1J,2d);E}q(k.1f&&!k.3U){q(1J)k.1f.4O();J k.1f.5E((k.2y&&k.4r))}q(!1J)k.74();A B=k,x=B.x,y=B.y,2Q=k.2Q;q(!1J)2Q=k.cu||2Q;A 5G=1J?C(){q(B.1f)B.1f.2h.G.1n="1W";4b(C(){B.71()},50)}:C(){B.5I()};q(1J)m.R(k.T,{M:x.t+\'F\',N:y.t+\'F\'});q(1J&&k.2y){m.R(k.T,{1a:(x.1K-x.cb+x.3q)+\'F\',Y:(y.1K-y.cb+y.3q)+\'F\'})}q(k.cv){m.R(k.T,{1z:1J?0:1});m.3v(2d.T,{1z:1J})}m.2x(k.T,2d.T,{3Y:41,2Q:2Q,3I:C(3r,2I){q(B.1f&&B.3U&&2I.1d==\'Y\'){A 62=1J?2I.H:1-2I.H;A H={w:x.t+(x.Z(\'2g\')-x.t)*62,h:y.t+(y.Z(\'2g\')-y.t)*62,x:x.1K+(x.H-x.1K)*62,y:y.1K+(y.H-y.1K)*62};B.1f.4O(H,0,1)}q(B.2y){q(2I.1d==\'1a\')B.3X.G.1a=(x.H-3r)+\'F\';q(2I.1d==\'Y\')B.3X.G.Y=(y.H-3r)+\'F\'}}});m.2x(k.S,2d.S,41,2Q,5G);q(1J){k.T.G.1n=\'1W\';k.S.G.1n=\'1W\';q(k.2y)k.1s.G.1n=\'1W\';k.a.1b+=\' K-4B-42\'}},5V:C(1J,2d){k.3U=1j;A B=k,t=1J?m.6A:0;q(1J){m.2x(k.T,2d.T,0);m.R(k.T,{1z:0,1n:\'1W\'});m.2x(k.S,2d.S,0);k.S.G.1n=\'1W\';m.2x(k.T,{1z:1},t,I,C(){B.71()})}q(k.1f){k.1f.2h.G.1D=k.T.G.1D;A 6z=1J||-1,1x=k.1f.1x,8p=1J?3:1x,8o=1J?1x:3;O(A i=8p;6z*i<=6z*8o;i+=6z,t+=25){(C(){A o=1J?8o-i:8p-i;4b(C(){B.1f.4O(0,o,1)},t)})()}}q(1J){}J{4b(C(){q(B.1f)B.1f.5E(B.4r);B.74();m.2x(B.T,{1z:0},m.96,I,C(){B.5I()})},t)}},4i:C(1J,2d,8s){q(!1J)E;A B=k,1i=k.1i,x=k.x,y=k.y,3n=1i.x,3o=1i.y,T=k.T,S=k.S,1w=k.1w;m.4s(W,\'7B\',m.73);m.R(S,{M:(x.1X||x.D)+\'F\',N:(y.1X||y.D)+\'F\'});q(1w)1w.G.2e=\'1W\';k.1f=1i.1f;q(k.1f)k.1f.B=B;1i.1f=I;A 5b=m.1c(\'P\',{1b:\'K-\'+k.3a},{1l:\'2m\',1D:4,2e:\'1q\',1o:\'1B\'});A 8r={co:1i,ch:k};O(A n 2Y 8r){k[n]=8r[n].S.63(1);m.R(k[n],{1l:\'2m\',8E:0,1n:\'1W\'});5b.1Y(k[n])}T.1Y(5b);q(k.2y)m.R(k.3X,{1a:0,Y:0});q(1w){1w.1b=\'\';T.1Y(1w)}5b.G.1o=\'\';1i.S.G.1o=\'1B\';q(m.4n&&m.2u<6V){k.T.G.1n=\'1W\'}m.2x(T,{M:x.D},{3Y:m.cz,3I:C(3r,2I){A H=2I.H,4N=1-H;A 1d,D={},8W=[\'H\',\'D\',\'1F\',\'35\'];O(A n 2Y 8W){1d=8W[n];D[\'x\'+1d]=1h.36(4N*3n[1d]+H*x[1d]);D[\'y\'+1d]=1h.36(4N*3o[1d]+H*y[1d]);D.cw=1h.36(4N*(3n.1X||3n.D)+H*(x.1X||x.D));D.6X=1h.36(4N*3n.Z(\'2H\')+H*x.Z(\'2H\'));D.cp=1h.36(4N*(3o.1X||3o.D)+H*(y.1X||y.D));D.6T=1h.36(4N*3o.Z(\'2H\')+H*y.Z(\'2H\'))}q(B.1f)B.1f.4O({x:D.3i,y:D.4T,w:D.65+D.4h+D.8X+2*x.cb,h:D.69+D.4e+D.8Q+2*y.cb});1i.T.G.fu=\'ft(\'+(D.4T-3o.H)+\'F, \'+(D.65+D.4h+D.8X+D.3i+2*3n.cb-3n.H)+\'F, \'+(D.69+D.4e+D.8Q+D.4T+2*3o.cb-3o.H)+\'F, \'+(D.3i-3n.H)+\'F)\';m.R(S,{Y:(D.4e+y.Z(\'2H\'))+\'F\',1a:(D.4h+x.Z(\'2H\'))+\'F\',5s:(y.H-D.4T)+\'F\',4z:(x.H-D.3i)+\'F\'});m.R(T,{Y:D.4T+\'F\',1a:D.3i+\'F\',M:(D.4h+D.8X+D.65+2*x.cb)+\'F\',N:(D.4e+D.8Q+D.69+2*y.cb)+\'F\'});m.R(5b,{M:(D.cw||D.65)+\'F\',N:(D.cp||D.69)+\'F\',1a:(D.4h+D.6X)+\'F\',Y:(D.4e+D.6T)+\'F\',1n:\'1W\'});m.R(B.co,{Y:(3o.H-D.4T+3o.1F-D.4e+3o.Z(\'2H\')-D.6T)+\'F\',1a:(3n.H-D.3i+3n.1F-D.4h+3n.Z(\'2H\')-D.6X)+\'F\'});m.R(B.ch,{1z:H,Y:(y.H-D.4T+y.1F-D.4e+y.Z(\'2H\')-D.6T)+\'F\',1a:(x.H-D.3i+x.1F-D.4h+x.Z(\'2H\')-D.6X)+\'F\'});q(1w)m.R(1w,{M:D.65+\'F\',N:D.69+\'F\',1a:(D.4h+x.cb)+\'F\',Y:(D.4e+y.cb)+\'F\'})},6Y:C(){T.G.1n=S.G.1n=\'1W\';S.G.1o=\'3P\';m.3A(5b);B.71();1i.5I();B.1i=I}})},bO:C(o,el){q(!k.1i)E 1j;O(A i=0;i<k.1i.1U.V;i++){A 72=m.$(\'22\'+k.1i.1U[i]);q(72&&72.22==o.22){k.a4();72.fJ=k.Q;m.2n(k.1U,k.1i.1U[i]);E L}}E 1j},71:C(){k.5j=L;k.3K();q(k.2y&&k.3N==\'5G\')k.6G();q(k.1k){1v{A B=k,2v=k.1k.9V||k.1k.6v.W;m.2o(2v,\'8w\',C(){q(m.30!=B.Q)B.3K()})}1u(e){}q(m.2l&&1G k.5D!=\'g1\')k.1k.G.M=(k.43-1)+\'F\'}q(k.3Z)m.1t(k);q(m.2r&&m.2r==k.a)m.2r=I;k.ce();A p=m.46,90=m.7z.x+p.66,8h=m.7z.y+p.5X;k.98=k.x.H<90&&90<k.x.H+k.x.Z(\'2g\')&&k.y.H<8h&&8h<k.y.H+k.y.Z(\'2g\');q(k.1w)k.c2();m.1A(k,\'fM\')},ce:C(){A Q=k.Q;A 1V=k.1V;1I m.5M(1V,C(){1v{m.16[Q].ci()}1u(e){}})},ci:C(){A 1E=k.7Y(1);q(1E&&1E.2j.cB().3b(/m\\.2J/))A 1Q=m.1c(\'1Q\',{1e:m.7t(1E)})},7Y:C(2s){A 7X=k.79(),as=m.4G.3l[k.2S||\'1B\'];q(as&&!as[7X+2s]&&k.1p&&k.1p.bl){q(2s==1)E as[0];J q(2s==-1)E as[as.V-1]}E(as&&as[7X+2s])||I},79:C(){A 24=m.5R().3l[k.2S||\'1B\'];q(24)O(A i=0;i<24.V;i++){q(24[i]==k.a)E i}E I},bA:C(){q(k[k.6r]){A 24=m.4G.3l[k.2S||\'1B\'];q(24){A s=m.11.3L.2f(\'%1\',k.79()+1).2f(\'%2\',24.V);k[k.6r].2c=\'<P 1Z="K-3L">\'+s+\'</P>\'+k[k.6r].2c}}},9q:C(){q(!k.1i){O(A i=0;i<m.5W.V;i++){A 1M=m.5W[i],2X=1M.2S;q(1G 2X==\'1T\'||2X===I||2X===k.2S)k.1p=1I m.83(k.Q,1M)}}J{k.1p=k.1i.1p}A 1M=k.1p;q(!1M)E;A Q=1M.49=k.Q;1M.bG();1M.5r(\'19-2J\');q(1M.3c){k.4S(m.3v(1M.cj||{},{4R:1M.3c,22:\'3c\',1D:5}))}q(1M.2D)1M.2D.7l(k);q(!k.1i&&k.3W)1M.3H(L);q(1M.3W){1M.3W=4b(C(){m.1E(Q)},(1M.fr||eK))}},6Q:C(){m.3A(k.T);m.16[k.Q]=I;q(m.2r==k.a)m.2r=I;m.9n(k.Q);q(k.2q)m.2q.G.1a=\'-4w\';m.1A(k,\'cm\')},c6:C(){q(k.5T)E;k.5T=m.1c(\'a\',{23:m.cl,2E:m.ck,1b:\'K-5T\',2c:m.11.cL,2i:m.11.cJ});k.4S({4R:k.5T,1l:k.cK||\'Y 1a\',22:\'5T\'})},a3:C(8f,cI){O(A i=0;i<8f.V;i++){A U=8f[i],s=I;q(U==\'9K\'&&!m.1A(k,\'ey\'))E;J q(U==\'5u\'&&!m.1A(k,\'eB\'))E;q(!k[U+\'5n\']&&k.7E)k[U+\'5n\']=U+\'-O-\'+k.7E;q(k[U+\'5n\'])k[U]=m.4C(k[U+\'5n\']);q(!k[U]&&!k[U+\'8a\']&&k[U+\'cG\'])1v{s=fc(k[U+\'cG\'])}1u(e){}q(!k[U]&&k[U+\'8a\']){s=k[U+\'8a\']}q(!k[U]&&!s){k[U]=m.4C(k.a[\'cH\'+U+\'5n\']);q(!k[U]){A 1E=k.a.cD;5t(1E&&!m.6Z(1E)){q((1I 4Y(\'K-\'+U)).18(1E.1b||I)){q(!1E.1y)k.a[\'cH\'+U+\'5n\']=1E.1y=\'22\'+m.5J++;k[U]=m.4C(1E.1y);5w}1E=1E.cD}}}q(!k[U]&&!s&&k.6r==U)s=\'\\n\';q(!k[U]&&s)k[U]=m.1c(\'P\',{1b:\'K-\'+U,2c:s});q(cI&&k[U]){A o={1l:(U==\'5u\')?\'5C\':\'7R\'};O(A x 2Y k[U+\'cE\'])o[x]=k[U+\'cE\'][x];o.4R=k[U];k.4S(o)}}},5o:C(1n){q(m.cc)k.6K(\'fe\',1n);q(m.bC)k.6K(\'f8\',1n);q(m.5B)k.6K(\'*\',1n)},6K:C(3V,1n){A 1m=W.2B(3V);A 1d=3V==\'*\'?\'2e\':\'1n\';O(A i=0;i<1m.V;i++){q(1d==\'1n\'||(W.8J.cd(1m[i],"").bx(\'2e\')==\'1P\'||1m[i].bE(\'1q-by\')!=I)){A 2N=1m[i].bE(\'1q-by\');q(1n==\'1W\'&&2N){2N=2N.2f(\'[\'+k.Q+\']\',\'\');1m[i].6p(\'1q-by\',2N);q(!2N)1m[i].G[1d]=1m[i].9L}J q(1n==\'1q\'){A 3S=m.6I(1m[i]);3S.w=1m[i].1O;3S.h=1m[i].1R;q(!k.3Z){A bJ=(3S.x+3S.w<k.x.Z(\'6y\')||3S.x>k.x.Z(\'6y\')+k.x.Z(\'a8\'));A bi=(3S.y+3S.h<k.y.Z(\'6y\')||3S.y>k.y.Z(\'6y\')+k.y.Z(\'a8\'))}A 6H=m.a5(1m[i]);q(!bJ&&!bi&&6H!=k.Q){q(!2N){1m[i].6p(\'1q-by\',\'[\'+k.Q+\']\');1m[i].9L=1m[i].G[1d];1m[i].G[1d]=\'1q\'}J q(2N.bv(\'[\'+k.Q+\']\')==-1){1m[i].6p(\'1q-by\',2N+\'[\'+k.Q+\']\')}}J q((2N==\'[\'+k.Q+\']\'||m.30==6H)&&6H!=k.Q){1m[i].6p(\'1q-by\',\'\');1m[i].G[1d]=1m[i].9L||\'\'}J q(2N&&2N.bv(\'[\'+k.Q+\']\')>-1){1m[i].6p(\'1q-by\',2N.2f(\'[\'+k.Q+\']\',\'\'))}}}}},3K:C(){k.T.G.1D=m.4F+=2;O(A i=0;i<m.16.V;i++){q(m.16[i]&&i==m.30){A 4P=m.16[i];4P.S.1b+=\' K-\'+4P.3a+\'-9Q\';q(4P.2C){4P.S.G.4D=m.3J?\'bs\':\'7O\';4P.S.2i=m.11.bm}m.1A(4P,\'f7\')}}q(k.1f)k.1f.2h.G.1D=k.T.G.1D-1;k.S.1b=\'K-\'+k.3a;q(k.2C){k.S.2i=m.11.9N;q(m.6f){m.4X=1S.3u?\'7O\':\'7v(\'+m.55+m.6f+\'), 7O\';q(m.3J&&m.2u<6)m.4X=\'bs\';k.S.G.4D=m.4X}}m.30=k.Q;m.2o(W,1S.3u?\'6O\':\'6N\',m.5O);m.1A(k,\'ff\')},9E:C(x,y){k.x.9M(x);k.y.9M(y)},4c:C(e){A w,h,r=e.M/e.N;w=1h.4U(e.M+e.dX,1h.2Z(k.4E,k.x.19));q(k.2C&&1h.a6(w-k.x.19)<12)w=k.x.19;h=k.2y?e.N+e.dY:w/r;q(h<1h.2Z(k.6c,k.y.19)){h=1h.2Z(k.6c,k.y.19);q(k.2C)w=h*r}k.9D(w,h)},9D:C(w,h){k.y.6M(h);k.x.6M(w);k.T.G.N=k.y.Z(\'2g\')+\'F\'},2b:C(){q(k.5D||!k.5j)E;q(k.3g[1]==\'4i\'&&m.2r){m.2F(m.2r).6Q();m.2r=I}q(!m.1A(k,\'fd\'))E;k.5D=L;q(k.1p&&!m.2r)k.1p.3j();m.4s(W,1S.3u?\'6O\':\'6N\',m.5O);1v{q(k.2y)k.c9();k.S.G.4D=\'eU\';k.9d(0,{T:{M:k.x.t,N:k.y.t,1a:k.x.1K-k.x.cb+k.x.3q,Y:k.y.1K-k.y.cb+k.y.3q},S:{1a:0,Y:0,M:k.x.t,N:k.y.t}},m.96)}1u(e){k.5I()}},c9:C(){q(m.5B){q(!m.5z)m.5z=m.1c(\'P\',I,{1l:\'2m\'},m.28);m.R(m.5z,{M:k.x.D+\'F\',N:k.y.D+\'F\',1a:k.x.H+\'F\',Y:k.y.H+\'F\',1o:\'3P\'})}q(k.2K==\'3t\')1v{m.$(k.1g.1y).eA()}1u(e){}q(k.3N==\'5G\'&&!k.4r)k.c7();q(k.2p&&k.2p!=k.51)k.2p.G.2e=\'1q\'},c7:C(){q(m.2l&&k.1k)1v{k.1k.6v.W.1g.2c=\'\'}1u(e){}q(k.2K==\'3t\')9F.eC(k.1g.1y);k.1g.2c=\'\'},bn:C(){q(k.1f)k.1f.2h.G.1o=\'1B\';k.3M=I;k.T.G.1o=\'1B\';k.5j=1j;m.2n(m.4x,k)},bY:C(){1v{m.16[k.Q]=k;q(!m.9w&&m.30!=k.Q){1v{m.16[m.30].2b()}1u(e){}}A z=m.4F++,5F={1o:\'\',1D:z};m.R(k.T,5F);k.5D=1j;A o=k.1f||0;q(o){q(!k.3U)5F.1n=\'1q\';m.R(o.2h,5F)}q(k.1p){k.9q()}k.9p()}1u(e){}},4S:C(o){A el=o.4R,5a=(o.bN==\'2w\'&&!/7Q$/.18(o.1l));q(1G el==\'9r\')el=m.4C(el);q(o.3w)el=m.1c(\'P\',{2c:o.3w});q(!el||1G el==\'9r\')E;q(!m.1A(k,\'eE\',{14:el}))E;el.G.1o=\'3P\';o.22=o.22||o.4R;q(k.3g[1]==\'4i\'&&k.bO(o,el))E;k.a4();A M=o.M&&/^[0-9]+(F|%)$/.18(o.M)?o.M:\'1P\';q(/^(1a|3k)7Q$/.18(o.1l)&&!/^[0-9]+F$/.18(o.M))M=\'ez\';A 14=m.1c(\'P\',{1y:\'22\'+m.5J++,22:o.22},{1l:\'2m\',1n:\'1q\',M:M,9h:m.11.9u||\'\',1z:0},5a?m.2w:k.1w,L);q(5a)14.6U=k.Q;14.1Y(el);m.3v(14,{1z:1,bR:0,bS:0,41:(o.5V===0||o.5V===1j||(o.5V==2&&m.2l))?0:5H});m.3v(14,o);q(k.c1){k.6x(14);q(!14.7r||k.98)m.2x(14,{1z:14.1z},14.41)}m.2n(k.1U,m.5J-1)},6x:C(14){A p=14.1l||\'9i 4t\',5a=(14.bN==\'2w\'),6W=14.bR,6E=14.bS;q(5a){m.2w.G.1o=\'3P\';14.6U=k.Q;q(14.1O>14.21.1O)14.G.M=\'2A%\'}J q(14.21!=k.1w)k.1w.1Y(14);q(/1a$/.18(p))14.G.1a=6W+\'F\';q(/4t$/.18(p))m.R(14,{1a:\'50%\',4z:(6W-1h.36(14.1O/2))+\'F\'});q(/3k$/.18(p))14.G.3k=-6W+\'F\';q(/^bX$/.18(p)){m.R(14,{3k:\'2A%\',9c:k.x.cb+\'F\',Y:-k.y.cb+\'F\',4H:-k.y.cb+\'F\',2e:\'1P\'});k.x.1F=14.1O}J q(/^bW$/.18(p)){m.R(14,{1a:\'2A%\',4z:k.x.cb+\'F\',Y:-k.y.cb+\'F\',4H:-k.y.cb+\'F\',2e:\'1P\'});k.x.35=14.1O}A 9l=14.21.1R;14.G.N=\'1P\';q(5a&&14.1R>9l)14.G.N=m.3J?9l+\'F\':\'2A%\';q(/^Y/.18(p))14.G.Y=6E+\'F\';q(/^9i/.18(p))m.R(14,{Y:\'50%\',5s:(6E-1h.36(14.1R/2))+\'F\'});q(/^4H/.18(p))14.G.4H=-6E+\'F\';q(/^5C$/.18(p)){m.R(14,{1a:(-k.x.1F-k.x.cb)+\'F\',3k:(-k.x.35-k.x.cb)+\'F\',4H:\'2A%\',6B:k.y.cb+\'F\',M:\'1P\'});k.y.1F=14.1R}J q(/^7R$/.18(p)){m.R(14,{1l:\'4A\',1a:(-k.x.1F-k.x.cb)+\'F\',3k:(-k.x.35-k.x.cb)+\'F\',Y:\'2A%\',5s:k.y.cb+\'F\',M:\'1P\'});k.y.35=14.1R;14.G.1l=\'2m\'}},bU:C(){k.a3([\'5u\',\'9K\'],L);k.bA();q(k.9K)m.1A(k,\'eO\');q(k.5u)m.1A(k,\'eN\');q(k.5u&&k.9Z)k.5u.1b+=\' K-3z\';q(m.bZ)k.c6();O(A i=0;i<m.1U.V;i++){A o=m.1U[i],7F=o.85,2X=o.2S;q((!7F&&!2X)||(7F&&7F==k.7E)||(2X&&2X===k.2S)){q(k.2C||(k.2y&&o.fS))k.4S(o)}}A 7G=[];O(A i=0;i<k.1U.V;i++){A o=m.$(\'22\'+k.1U[i]);q(/7Q$/.18(o.1l))k.6x(o);J m.2n(7G,o)}O(A i=0;i<7G.V;i++)k.6x(7G[i]);k.c1=L},a4:C(){q(!k.1w)k.1w=m.1c(\'P\',{1b:k.9g},{1l:\'2m\',M:(k.x.D||(k.3s?k.M:I)||k.x.19)+\'F\',N:(k.y.D||k.y.19)+\'F\',1n:\'1q\',2e:\'1q\',1D:m.2l?4:\'1P\'},m.28,L)},53:C(95,c0){A 1w=k.1w,x=k.x,y=k.y;m.R(1w,{M:x.D+\'F\',N:y.D+\'F\'});q(95||c0){O(A i=0;i<k.1U.V;i++){A o=m.$(\'22\'+k.1U[i]);A 9e=(m.3J||W.7N==\'8u\');q(o&&/^(5C|7R)$/.18(o.1l)){q(9e){o.G.M=(1w.1O+2*x.cb+x.1F+x.35)+\'F\'}y[o.1l==\'5C\'?\'1F\':\'35\']=o.1R}q(o&&9e&&/^(1a|3k)7Q$/.18(o.1l)){o.G.N=(1w.1R+2*y.cb)+\'F\'}}}q(95){m.R(k.S,{Y:y.1F+\'F\'});m.R(1w,{Y:(y.1F+y.cb)+\'F\'})}},c2:C(){A b=k.1w;b.1b=\'\';m.R(b,{Y:(k.y.1F+k.y.cb)+\'F\',1a:(k.x.1F+k.x.cb)+\'F\',2e:\'1W\'});q(m.4n)b.G.1n=\'1W\';k.T.1Y(b);O(A i=0;i<k.1U.V;i++){A o=m.$(\'22\'+k.1U[i]);o.G.1D=o.1D||4;q(!o.7r||k.98){o.G.1n=\'1W\';m.R(o,{1n:\'1W\',1o:\'\'});m.2x(o,{1z:o.1z},o.41)}}},74:C(){q(!k.1U.V)E;q(k.1p){A c=k.1p.3c;q(c&&m.2F(c)==k)c.21.9m(c)}O(A i=0;i<k.1U.V;i++){A o=m.$(\'22\'+k.1U[i]);q(o&&o.21==m.2w&&m.2F(o)==k)m.3A(o)}q(k.2y&&k.4r){k.1w.G.Y=\'-4w\';m.28.1Y(k.1w)}J m.3A(k.1w)},br:C(){q(k.1p&&k.1p.3c){k.1p.4m(\'19-2J\');E}k.7o=m.1c(\'a\',{23:\'bq:m.16[\'+k.Q+\'].7q();\',2i:m.11.9o,1b:\'K-19-2J\'});q(!m.1A(k,\'fL\'))E;k.4S({4R:k.7o,1l:m.bp,7r:L,1z:m.bk})},7q:C(){1v{q(!m.1A(k,\'g2\'))E;q(k.7o)m.3A(k.7o);k.3K();A 3f=k.x.D;k.9D(k.x.19,k.y.19);A 3i=k.x.H-(k.x.D-3f)/2;q(3i<m.4z)3i=m.4z;k.9E(3i,k.y.H);k.5o(\'1q\')}1u(e){k.9B(e)}},5I:C(){k.a.1b=k.a.1b.2f(\'K-4B-42\',\'\');k.5o(\'1W\');q(k.2y&&k.4r&&k.3g[1]!=\'4i\'){k.bn()}J{q(k.1f&&k.3U)k.1f.5E();m.3A(k.T)}q(m.5z)m.5z.G.1o=\'1B\';k.74();q(!m.2w.7K.V)m.2w.G.1o=\'1B\';q(k.3Z)m.9n(k.Q);m.1A(k,\'g3\');m.16[k.Q]=I;m.bF()}};m.7k=C(a,S,77){k.a=a;k.S=S;k.77=77};m.7k.5q={9a:C(){A 2T;q(!k.1e)k.1e=m.7t(k.a);q(k.1e.3b(\'#\')){A 24=k.1e.7H(\'#\');k.1e=24[0];k.1y=24[1]}q(m.7c[k.1e]){k.cq=m.7c[k.1e];q(k.1y)k.9W();J k.6w();E}1v{2T=1I cn()}1u(e){1v{2T=1I bD("g4.bB")}1u(e){1v{2T=1I bD("bz.bB")}1u(e){k.93()}}}A 3y=k;2T.fY=C(){q(3y.2T.cF==4){q(3y.1y)3y.9W();J 3y.6w()}};A 1e=k.1e;k.2T=2T;q(m.fF)1e=1e.2f(/$/,(/\\?/.18(1e)?\'&\':\'?\')+\'fH=\'+(1I 7T()).7A());2T.cC(\'fD\',1e,L);2T.cf(\'X-es-g5\',\'cn\');2T.cf(\'fE-fo\',\'fK/x-fO-9O-fR\');2T.dZ(I)},9W:C(){m.7m();A 48=1S.3u||m.ct?{1e:\'cY:cT\'}:I;k.1k=m.1c(\'1k\',48,{1l:\'2m\',Y:\'-4w\'},m.28);k.6w()},6w:C(){A s=k.cq||k.2T.dd,7I;q(k.77)m.7c[k.1e]=s;q(!m.2l||m.2u>=5.5){s=s.2f(1I 4Y(\'<d9[^>]*>\',\'cN\'),\'\').2f(1I 4Y(\'<cM[^>]*>.*?</cM>\',\'cN\'),\'\');q(k.1k){A 2v=k.1k.9V;q(!2v&&k.1k.6v)2v=k.1k.6v.W;q(!2v){A 3y=k;4b(C(){3y.6w()},25);E}2v.cC();2v.dc(s);2v.2b();1v{s=2v.9X(k.1y).2c}1u(e){1v{s=k.1k.W.9X(k.1y).2c}1u(e){}}m.3A(k.1k)}J{7I=/(<1g[^>]*>|<\\/1g>)/cR;q(7I.18(s))s=s.7H(7I)[m.45?1:2]}}m.4u(k.S,\'7D\',\'K-1g\').2c=s;k.3x();O(A x 2Y k)k[x]=I}};m.83=C(49,1r){q(m.cU!==1j)m.88();k.49=49;O(A x 2Y 1r)k[x]=1r[x];q(k.d2)k.bI();q(k.2D)k.2D=m.bL(k)};m.83.5q={bI:C(){k.3c=m.1c(\'P\',{2c:m.89(m.8g.3c)},I,m.28);A 6o=[\'3H\',\'3j\',\'3d\',\'1E\',\'3z\',\'19-2J\',\'2b\'];k.1L={};A 3y=k;O(A i=0;i<6o.V;i++){k.1L[6o[i]]=m.4u(k.3c,\'1H\',\'K-\'+6o[i]);k.4m(6o[i])}k.1L.3j.G.1o=\'1B\'},bG:C(){q(k.bl||!k.3c)E;A B=m.16[k.49],5m=B.79(),2k=/7a$/;q(5m==0)k.5r(\'3d\');J q(2k.18(k.1L.3d.2B(\'a\')[0].1b))k.4m(\'3d\');q(5m+1==m.4G.3l[B.2S||\'1B\'].V){k.5r(\'1E\');k.5r(\'3H\')}J q(2k.18(k.1L.1E.2B(\'a\')[0].1b)){k.4m(\'1E\');k.4m(\'3H\')}},4m:C(1L){q(!k.1L)E;A bu=k,a=k.1L[1L].2B(\'a\')[0],2k=/7a$/;a.2j=C(){bu[1L]();E 1j};q(2k.18(a.1b))a.1b=a.1b.2f(2k,\'\')},5r:C(1L){q(!k.1L)E;A a=k.1L[1L].2B(\'a\')[0];a.2j=C(){E 1j};q(!/7a$/.18(a.1b))a.1b+=\' 7a\'},bt:C(){q(k.3W)k.3j();J k.3H()},3H:C(bK){q(k.1L){k.1L.3H.G.1o=\'1B\';k.1L.3j.G.1o=\'\'}k.3W=L;q(!bK)m.1E(k.49)},3j:C(){q(k.1L){k.1L.3j.G.1o=\'1B\';k.1L.3H.G.1o=\'\'}d4(k.3W);k.3W=I},3d:C(){k.3j();m.3d(k.1L.3d)},1E:C(){k.3j();m.1E(k.1L.1E)},3z:C(){},\'19-2J\':C(){m.2F().7q()},2b:C(){m.2b(k.1L.2b)}};m.bL=C(1p){C 7l(B){m.3v(1r||{},{4R:4y,22:\'2D\',1b:\'K-2D-\'+57+\'-14 \'+(1r.1b||\'\')});q(m.3J)1r.5V=0;B.4S(1r);m.R(4y.21,{2e:\'1q\'})};C 29(3O){5c(1T,1h.36(3O*4y[3R?\'1O\':\'1R\']*0.7))};C 5c(i,7V){q(i===1T)O(A j=0;j<68.V;j++){q(68[j]==m.16[1p.49].a){i=j;5w}}q(i===1T)E;A as=4y.2B(\'a\'),4B=as[i],4g=4B.21,1a=3R?\'c4\':\'c5\',3k=3R?\'ca\':\'bQ\',M=3R?\'bP\':\'bM\',4I=\'1x\'+1a,1O=\'1x\'+M,7J=P.21.21[1O],59=7J-2h[1O],5L=3F(2h.G[3R?\'1a\':\'Y\'])||0,2U=5L,cP=20;q(7V!==1T){2U=5L-7V;q(59>0)59=0;q(2U>0)2U=0;q(2U<59)2U=59}J{O(A j=0;j<as.V;j++)as[j].1b=\'\';4B.1b=\'K-4B-42\';A 8N=i>0?as[i-1].21[4I]:4g[4I],8M=4g[4I]+4g[1O]+(as[i+1]?as[i+1].21[1O]:0);q(8M>7J-5L)2U=7J-8M;J q(8N<-5L)2U=-8N}A 8O=4g[4I]+(4g[1O]-7b[1O])/2+2U;m.2x(2h,3R?{1a:2U}:{Y:2U},I,\'8L\');m.2x(7b,3R?{1a:8O}:{Y:8O},I,\'8L\');8I.G.1o=2U<0?\'3P\':\'1B\';8j.G.1o=(2U>59)?\'3P\':\'1B\'};A 68=m.4G.3l[m.16[1p.49].2S||\'1B\'],1r=1p.2D,57=1r.57||\'bT\',8H=(57==\'cW\'),4j=8H?[\'P\',\'5P\',\'1H\',\'1C\']:[\'2h\',\'4J\',\'4k\',\'2L\'],3R=(57==\'bT\'),4y=m.1c(\'P\',{1b:\'K-2D K-2D-\'+57,2c:\'<P 1Z="K-2D-d1">\'+\'<\'+4j[0]+\'><\'+4j[1]+\'></\'+4j[1]+\'></\'+4j[0]+\'></P>\'+\'<P 1Z="K-29-1J"><P></P></P>\'+\'<P 1Z="K-29-er"><P></P></P>\'+\'<P 1Z="K-7b"><P></P></P>\'},{1o:\'1B\'},m.28),67=4y.7K,P=67[0],8I=67[1],8j=67[2],7b=67[3],2h=P.e6,4J=4y.2B(4j[1])[0],4k;O(A i=0;i<68.V;i++){q(i==0||!3R)4k=m.1c(4j[2],I,I,4J);(C(){A a=68[i],4g=m.1c(4j[3],I,I,4k),e8=i;m.1c(\'a\',{23:a.23,2j:C(){q(/K-4B-42/.18(k.1b))E 1j;m.2F(k).3K();E m.8G(a)},2c:m.bV?m.bV(a):a.2c},I,4g)})()}q(!8H){8I.2j=C(){29(-1)};8j.2j=C(){29(1)};m.2o(4J,W.e2!==1T?\'e1\':\'dU\',C(e){A 3O=0;e=e||1S.2t;q(e.c8){3O=e.c8/e9;q(m.3u)3O=-3O}J q(e.c3){3O=-e.c3/3}q(3O)29(-3O*0.2);q(e.5h)e.5h();e.bo=1j})}E{7l:7l,5c:5c}};m.7j=m.11;A ec=m.61;q(m.2l&&1S==1S.Y){(C(){1v{W.5g.eb(\'1a\')}1u(e){4b(bj.ee,50);E}m.4a()})()}m.2o(W,\'ef\',m.4a);m.2o(1S,\'8y\',m.4a);m.2o(W,\'4a\',C(){q(m.7u||m.3Z){A G=m.1c(\'G\',{U:\'eh/8F\'},I,W.2B(\'eg\')[0]);C 64(8k,8l){q(m.2l&&m.2u<9){A 1i=W.bH[W.bH.V-1];q(1G(1i.64)=="7g")1i.64(8k,8l)}J{G.1Y(W.dQ(8k+" {"+8l+"}"))}}C 6q(1d){E\'du( ( ( dw = W.5g.\'+1d+\' ? W.5g.\'+1d+\' : W.1g.\'+1d+\' ) ) + \\\'F\\\' );\'}q(m.7u)64(\'.K 1Q\',\'4D: 7v(\'+m.55+m.7u+\'), 7O !do;\');64(\'.K-2w-D\',m.2l&&(m.2u<7||W.7N==\'8u\')?\'1l: 2m; \'+\'1a:\'+6q(\'66\')+\'Y:\'+6q(\'5X\')+\'M:\'+6q(\'8B\')+\'N:\'+6q(\'cA\'):\'1l: dM; M: 2A%; N: 2A%; 1a: 0; Y: 0\')}});m.2o(1S,\'4c\',C(){m.7S();q(m.2w)O(A i=0;i<m.2w.7K.V;i++){A 1N=m.2w.7K[i],B=m.2F(1N);B.6x(1N);q(1N.22==\'2D\')B.1p.2D.5c()}});m.2o(W,\'7B\',C(e){m.7z={x:e.7w,y:e.7C}});m.2o(W,\'8w\',m.8x);m.2o(W,\'cg\',m.8x);m.2o(W,\'4a\',m.cx);m.2o(1S,\'8y\',m.cy);m.2o(1S,\'8y\',m.bw)}',62,998,'||||||||||||||||||||this||hs||||if||||||||||var|exp|function|size|return|px|style|pos|null|else|highslide|true|width|height|for|div|key|setStyles|content|wrapper|type|length|document||top|get||lang|||overlay||expanders||test|full|left|className|createElement|prop|src|outline|body|Math|last|false|iframe|position|els|visibility|display|slideshow|hidden|options|innerContent|dim|catch|try|overlayBox|offset|id|opacity|fireEvent|none|span|zIndex|next|p1|typeof|li|new|up|tpos|btn|ss|node|offsetWidth|auto|img|offsetHeight|window|undefined|overlays|outlineType|visible|imgSize|appendChild|class||parentNode|hsId|href|arr||params||container|scroll|case|close|innerHTML|to|overflow|replace|wsize|table|title|onclick|re|ie|absolute|push|addEventListener|scrollerDiv|loading|upcoming|op|event|uaVersion|doc|viewport|animate|isHtml|dragArgs|100|getElementsByTagName|isImage|thumbstrip|target|getExpander|dimmer|imgPad|args|expand|objectType|td|tgt|hiddenBy|minSize|justify|easing|ratio|slideshowGroup|xhr|tblPos|image|ajax|sg|in|min|focusKey|name||||p2|round||||contentType|match|controls|previous|elem|xSize|transitions|marginMin|xpos|pause|right|groups|ucwh|lastX|lastY|wh|tb|val|useBox|swf|opera|extend|html|onLoad|pThis|move|discardElement|custom|opt|clearing|changed|parseInt|graphic|play|step|ieLt7|focus|number|releaseMask|objectLoadTime|delta|block|hasDragged|isX|elPos|func|outlineWhileAnimating|tagName|autoplay|mediumContent|duration|dimmingOpacity||dur|anchor|objectWidth|getParam|ieLt9|page|timers|attribs|expKey|ready|setTimeout|resize|ySize|yp1|styles|cell|xp1|crossfade|tree|tr|pendingOutlines|enable|safari|unit|start|clone|preserveContent|removeEventListener|center|getElementByClass|objectHeight|9999px|sleeping|dom|marginLeft|relative|active|getNode|cursor|minWidth|zIndexCounter|anchors|bottom|offsetLeft|tbody|now|marginMax|tgtArr|invPos|setPosition|blurExp|onload|overlayId|createOverlay|ypos|max|clientSize|images|styleRestoreCursor|RegExp|htmls||scrollingContent|area|sizeOverlayBox|ruler|graphicsDir|allowReduce|mode|cNode|minTblPos|relToVP|fadeBox|selectThumb|end|wDiff|moveOnly|documentElement|preventDefault|navigator|isExpanded|hDiff|owner|cur|Id|doShowHide|cacheBindings|prototype|disable|marginTop|while|heading|fitsize|break|uclt|filter|mask|all|geckoMac|above|isClosing|destroy|stl|after|250|afterClose|idCounter|cache|curTblPos|Outline|currentStyle|keyHandler|ul|matches|getAnchors|param|credits|getParams|fade|slideshows|scrollTop|iebody|iDoc|trans|Expander|fac|cloneNode|addRule|xsize|scrollLeft|domCh|group|ysize|showLoading|contentLoaded|minHeight|minY|allowSizeReduction|restoreCursor|obj|over|on|maxX|toLowerCase|minX|maxY|preloadTheseImages|buttons|setAttribute|fix|numberPosition|parent|before|padToMinWidth|contentWindow|loadHTML|positionOverlay|opos|dir|expandDuration|marginBottom|allowHeightReduction|allowWidthReduction|offY|kdeBugCorr|writeExtendedContent|wrapperKey|getPosition|maxWidth|showHideElements|Dimension|setSize|keydown|keypress|lt|cancelLoading|maincontent|onLoadStarted|yimgPad|hsKey|525|offX|ximgPad|complete|isHsAnchor||afterExpand|oDiv|dragHandler|destroyOverlays||onReady|pre|curAnim|getAnchorIndex|disabled|marker|cachedGets|preloadTheseAjax|relatedTarget|imgs|object|gotoEnd|rel|langDefaults|Ajax|add|init|userAgent|fullExpandLabel|topmostKey|doFullExpand|hideOnMouseOut|self|getSrc|expandCursor|url|clientX|previousOrNext|element|mouse|getTime|mousemove|clientY|DIV|thumbsUserSetId|tId|os|split|regBody|overlayWidth|childNodes|adj|preloadFullImage|compatMode|pointer|expOnly|panel|below|getPageSize|Date|padding|scrollBy|offsetTop|current|getAdjacentAnchor|cacheAjax|isNew|dimmingDuration|oPos|Slideshow|calcExpanded|thumbnailId|getCacheBinding|location|updateAnchors|replaceLang|Text|swfOptions|topZ|preloadAjaxElement|clones|types|skin|mY|htmlGetSize|scrollDown|sel|dec|other|getIframePageHeight|endOff|startOff|previousTitle|names|from|arrow|BackCompat|hasMovedMin|mousedown|mouseClickHandler|load|maxsize|correctIframeSize|clientWidth|fitOverlayBox|Click|border|css|transit|floatMode|scrollUp|defaultView|parseFloat|easeOutQuad|activeRight|activeLeft|markerPos|setObjContainerSize|yp2|moveTitle|nextText|nextTitle|previousText|moveText|props|xp2|closeText|closeTitle|mX|calcBorders|sizeDiff|onError|state|doWrapper|restoreDuration|openerTagNames|mouseIsOver||run|htmlExpand|marginRight|changeSize|ie6|update|wrapperClassName|direction|middle|garbageBin|background|parOff|removeChild|undim|fullExpandTitle|show|initSlideshow|string|align|done|cssDirection|ucrb|allowMultipleInstances|maxHeight|margin|getSelfRendered|hasAlphaImageLoader|error|startTime|resizeTo|moveTo|swfobject|isReady|numberOfImagesToPreload|calcThumb|loadingPos|caption|origProp|setPos|restoreTitle|form|connectOutline|blur|evt|Create|hasFocused|distance|contentDocument|getElementContent|getElementById|overrides|dragByHeading|contentId|continuePreloading|srcElement|getInline|genOverlayBox|getWrapperKey|abs|loadingPosXfade|osize|JS|call|Highslide|getImageMapAreaCorrection|switch|pauseTitle|playText|vis|spacebar|onGraphicLoad|and|_default|Move|Next|Previous|Pause|appendTo|200|playTitle||KDE|hide|Close|Play|png|preloadGraphic|headingOverlay|thumb|hasExtendedContent|pageOrigin|attributes|newHeight|isUnobtrusiveAnchor|both|detachEvent|hsHasSetClick|clear|flashvars|wmode|fixedControls|hasHtmlExpanders|focusTopmost|enableKeyListener|dimmingGeckoFix|clickX|pow|clickY|wrapperMouseHandler|ltr|loadingTitle|resizeTitle|orig|htmlSizeOperations|targetX|toUpperCase|rb|fullExpandText|vendor|timerId|targetY|captionOverlay|offsetParent|contentWrapper|loadingOpacity|loadingText|easeInQuad|alpha|rv|tag|nopad|pauseText|clearsY|arguments|fullExpandOpacity|repeat|focusTitle|sleep|returnValue|fullExpandPosition|javascript|createFullExpand|hand|hitSpace|sls|indexOf|preloadAjax|getPropertyValue||Microsoft|getNumber|XMLHTTP|hideIframes|ActiveXObject|getAttribute|reOrder|checkFirstAndLast|styleSheets|getControls|clearsX|wait|Thumbstrip|Height|relativeTo|reuseOverlay|Width|Bottom|offsetX|offsetY|horizontal|getOverlays|stripItemFormatter|rightpanel|leftpanel|awake|showCredits|doPanels|gotOverlays|showOverlays|detail|Left|Top|writeCredits|destroyObject|wheelDelta|htmlPrepareClose|Right||hideSelects|getComputedStyle|prepareNextOutline|setRequestHeader|mouseup|newImg|preloadNext|overlayOptions|creditsTarget|creditsHref|onHideLoading|XMLHttpRequest|oldImg|yimgSize|cachedGet|correctRatio|tmpMin|ie6SSL|easingClose|fadeInOut|ximgSize|setClickEvents|preloadImages|transitionDuration|clientHeight|toString|open|nextSibling|Overlay|readyState|Eval|_|addOverlay|creditsTitle|creditsPosition|creditsText|script|gi|pageYOffset|mgnRight|dragSensitivity|ig|01|blank|dynamicallyUpdateAnchors|onSetClickEvent|float|useMap|about|onKeyDown|sqrt|inner|useControls|keyCode|clearTimeout|xpand|geckodimmer|button|dimming|link|htmlE|onImageClick|write|responseText|onDimmerClick|registerOverlay|onDrop|addSlideshow|white|Trident|zoomin|zoomout|1001|graphics|important|Use|keys|outlineStartOffset|http|shadow|expression|drop|ignoreMe|com|_self|drag|click|Expand|actual|Powered|front|bring|Loading|cancel|Go|the|Image|of|fixed|Resize|homepage|esc|createTextNode|header|Macintosh|Gecko|DOMMouseScroll|Safari|ra|||send|it|mousewheel|onmousewheel|innerHeight|pageXOffset|innerWidth|firstChild|removeAttribute|pI|120|maincontentEval|doScroll|HsExpander|footer|callee|DOMContentLoaded|HEAD|text|captionId|captionText|maincontentId||maincontentText|headingEval|headingText|captionEval|headingId|down|Requested|scale|frameborder|sizingMethod|AlphaImageLoader|DXImageTransform|onBeforeGetCaption|200px|StopPlay|onBeforeGetHeading|removeSWF|onDrag|onCreateOverlay|progid|flash|lineHeight|version|expressInstallSwfurl|500|borderCollapse|fontSize|onAfterGetHeading|onAfterGetCaption|transparent|outlines|embedSWF|outlinesDir|newWidth|default|lineNumber|message|Line|alert|debug|onBeforeGetContent|htmlCreate|oncontextmenu|blockRightClick|imageCreate|flushImgSize|onShowLoading|onBlur|IFRAME|onInit|allowSimultaneousLoading|fit|eval|onBeforeClose|SELECT|onFocus|onAfterGetContent|static|onmouseout|onmouseover|cellSpacing|collapse|onMouseOut|1px|Type|paddingTop|reflow|interval|insertBefore|rect|clip|onBeforeExpand|attachEvent||floor|https|protocol|circle|shape|GET|Content|forceAjaxReload|coords|dummy|nodeName|reuse|application|onCreateFullExpand|onAfterExpand|clearInterval|www|toElement|mouseover|urlencoded|useOnHtml|fromElement|splice|setInterval|300|onMouseOver|onreadystatechange|linearTween|onActivate|boolean|onDoFullExpand|onAfterClose|Msxml2|With'.split('|'),0,{}))
|
@@ -1,2639 +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 = {
|
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
|
-
number: 'Image %1 of %2',
|
34
|
-
restoreTitle : 'Click to close image, click and drag to move. Use arrow keys for next and previous.'
|
35
|
-
},
|
36
|
-
// See http://highslide.com/ref for examples of settings
|
37
|
-
graphicsDir : '/javascripts/erp_app/highslide/highslide/graphics/',
|
38
|
-
expandCursor : 'zoomin.cur', // null disables
|
39
|
-
restoreCursor : 'zoomout.cur', // null disables
|
40
|
-
expandDuration : 250, // milliseconds
|
41
|
-
restoreDuration : 250,
|
42
|
-
marginLeft : 15,
|
43
|
-
marginRight : 15,
|
44
|
-
marginTop : 15,
|
45
|
-
marginBottom : 15,
|
46
|
-
zIndexCounter : 1001, // adjust to other absolutely positioned elements
|
47
|
-
loadingOpacity : 0.75,
|
48
|
-
allowMultipleInstances: true,
|
49
|
-
numberOfImagesToPreload : 5,
|
50
|
-
outlineWhileAnimating : 2, // 0 = never, 1 = always, 2 = HTML only
|
51
|
-
outlineStartOffset : 3, // ends at 10
|
52
|
-
padToMinWidth : false, // pad the popup width to make room for wide caption
|
53
|
-
fullExpandPosition : 'bottom right',
|
54
|
-
fullExpandOpacity : 1,
|
55
|
-
showCredits : true, // you can set this to false if you want
|
56
|
-
creditsHref : 'http://highslide.com/',
|
57
|
-
creditsTarget : '_self',
|
58
|
-
enableKeyListener : true,
|
59
|
-
openerTagNames : ['a'], // Add more to allow slideshow indexing
|
60
|
-
transitions : [],
|
61
|
-
transitionDuration: 250,
|
62
|
-
dimmingOpacity: 0, // Lightbox style dimming background
|
63
|
-
dimmingDuration: 50, // 0 for instant dimming
|
64
|
-
|
65
|
-
anchor : 'auto', // where the image expands from
|
66
|
-
align : 'auto', // position in the client (overrides anchor)
|
67
|
-
targetX: null, // the id of a target element
|
68
|
-
targetY: null,
|
69
|
-
dragByHeading: true,
|
70
|
-
minWidth: 200,
|
71
|
-
minHeight: 200,
|
72
|
-
allowSizeReduction: true, // allow the image to reduce to fit client size. If false, this overrides minWidth and minHeight
|
73
|
-
outlineType : 'drop-shadow', // set null to disable outlines
|
74
|
-
skin : {
|
75
|
-
controls:
|
76
|
-
'<div class="highslide-controls"><ul>'+
|
77
|
-
'<li class="highslide-previous">'+
|
78
|
-
'<a href="#" title="{hs.lang.previousTitle}">'+
|
79
|
-
'<span>{hs.lang.previousText}</span></a>'+
|
80
|
-
'</li>'+
|
81
|
-
'<li class="highslide-play">'+
|
82
|
-
'<a href="#" title="{hs.lang.playTitle}">'+
|
83
|
-
'<span>{hs.lang.playText}</span></a>'+
|
84
|
-
'</li>'+
|
85
|
-
'<li class="highslide-pause">'+
|
86
|
-
'<a href="#" title="{hs.lang.pauseTitle}">'+
|
87
|
-
'<span>{hs.lang.pauseText}</span></a>'+
|
88
|
-
'</li>'+
|
89
|
-
'<li class="highslide-next">'+
|
90
|
-
'<a href="#" title="{hs.lang.nextTitle}">'+
|
91
|
-
'<span>{hs.lang.nextText}</span></a>'+
|
92
|
-
'</li>'+
|
93
|
-
'<li class="highslide-move">'+
|
94
|
-
'<a href="#" title="{hs.lang.moveTitle}">'+
|
95
|
-
'<span>{hs.lang.moveText}</span></a>'+
|
96
|
-
'</li>'+
|
97
|
-
'<li class="highslide-full-expand">'+
|
98
|
-
'<a href="#" title="{hs.lang.fullExpandTitle}">'+
|
99
|
-
'<span>{hs.lang.fullExpandText}</span></a>'+
|
100
|
-
'</li>'+
|
101
|
-
'<li class="highslide-close">'+
|
102
|
-
'<a href="#" title="{hs.lang.closeTitle}" >'+
|
103
|
-
'<span>{hs.lang.closeText}</span></a>'+
|
104
|
-
'</li>'+
|
105
|
-
'</ul></div>'
|
106
|
-
},
|
107
|
-
// END OF YOUR SETTINGS
|
108
|
-
|
109
|
-
|
110
|
-
// declare internal properties
|
111
|
-
preloadTheseImages : [],
|
112
|
-
continuePreloading: true,
|
113
|
-
expanders : [],
|
114
|
-
overrides : [
|
115
|
-
'allowSizeReduction',
|
116
|
-
'useBox',
|
117
|
-
'anchor',
|
118
|
-
'align',
|
119
|
-
'targetX',
|
120
|
-
'targetY',
|
121
|
-
'outlineType',
|
122
|
-
'outlineWhileAnimating',
|
123
|
-
'captionId',
|
124
|
-
'captionText',
|
125
|
-
'captionEval',
|
126
|
-
'captionOverlay',
|
127
|
-
'headingId',
|
128
|
-
'headingText',
|
129
|
-
'headingEval',
|
130
|
-
'headingOverlay',
|
131
|
-
'creditsPosition',
|
132
|
-
'dragByHeading',
|
133
|
-
'autoplay',
|
134
|
-
'numberPosition',
|
135
|
-
'transitions',
|
136
|
-
'dimmingOpacity',
|
137
|
-
|
138
|
-
'width',
|
139
|
-
'height',
|
140
|
-
|
141
|
-
'wrapperClassName',
|
142
|
-
'minWidth',
|
143
|
-
'minHeight',
|
144
|
-
'maxWidth',
|
145
|
-
'maxHeight',
|
146
|
-
'pageOrigin',
|
147
|
-
'slideshowGroup',
|
148
|
-
'easing',
|
149
|
-
'easingClose',
|
150
|
-
'fadeInOut',
|
151
|
-
'src'
|
152
|
-
],
|
153
|
-
overlays : [],
|
154
|
-
idCounter : 0,
|
155
|
-
oPos : {
|
156
|
-
x: ['leftpanel', 'left', 'center', 'right', 'rightpanel'],
|
157
|
-
y: ['above', 'top', 'middle', 'bottom', 'below']
|
158
|
-
},
|
159
|
-
mouse: {},
|
160
|
-
headingOverlay: {},
|
161
|
-
captionOverlay: {},
|
162
|
-
timers : [],
|
163
|
-
|
164
|
-
slideshows : [],
|
165
|
-
|
166
|
-
pendingOutlines : {},
|
167
|
-
clones : {},
|
168
|
-
onReady: [],
|
169
|
-
uaVersion: /Trident\/4\.0/.test(navigator.userAgent) ? 8 :
|
170
|
-
parseFloat((navigator.userAgent.toLowerCase().match( /.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/ ) || [0,'0'])[1]),
|
171
|
-
ie : (document.all && !window.opera),
|
172
|
-
//ie : navigator && /MSIE [678]/.test(navigator.userAgent), // ie9 compliant?
|
173
|
-
safari : /Safari/.test(navigator.userAgent),
|
174
|
-
geckoMac : /Macintosh.+rv:1\.[0-8].+Gecko/.test(navigator.userAgent),
|
175
|
-
|
176
|
-
$ : function (id) {
|
177
|
-
if (id) return document.getElementById(id);
|
178
|
-
},
|
179
|
-
|
180
|
-
push : function (arr, val) {
|
181
|
-
arr[arr.length] = val;
|
182
|
-
},
|
183
|
-
|
184
|
-
createElement : function (tag, attribs, styles, parent, nopad) {
|
185
|
-
var el = document.createElement(tag);
|
186
|
-
if (attribs) hs.extend(el, attribs);
|
187
|
-
if (nopad) hs.setStyles(el, {padding: 0, border: 'none', margin: 0});
|
188
|
-
if (styles) hs.setStyles(el, styles);
|
189
|
-
if (parent) parent.appendChild(el);
|
190
|
-
return el;
|
191
|
-
},
|
192
|
-
|
193
|
-
extend : function (el, attribs) {
|
194
|
-
for (var x in attribs) el[x] = attribs[x];
|
195
|
-
return el;
|
196
|
-
},
|
197
|
-
|
198
|
-
setStyles : function (el, styles) {
|
199
|
-
for (var x in styles) {
|
200
|
-
if (hs.ieLt9 && x == 'opacity') {
|
201
|
-
if (styles[x] > 0.99) el.style.removeAttribute('filter');
|
202
|
-
else el.style.filter = 'alpha(opacity='+ (styles[x] * 100) +')';
|
203
|
-
}
|
204
|
-
else el.style[x] = styles[x];
|
205
|
-
}
|
206
|
-
},
|
207
|
-
animate: function(el, prop, opt) {
|
208
|
-
var start,
|
209
|
-
end,
|
210
|
-
unit;
|
211
|
-
if (typeof opt != 'object' || opt === null) {
|
212
|
-
var args = arguments;
|
213
|
-
opt = {
|
214
|
-
duration: args[2],
|
215
|
-
easing: args[3],
|
216
|
-
complete: args[4]
|
217
|
-
};
|
218
|
-
}
|
219
|
-
if (typeof opt.duration != 'number') opt.duration = 250;
|
220
|
-
opt.easing = Math[opt.easing] || Math.easeInQuad;
|
221
|
-
opt.curAnim = hs.extend({}, prop);
|
222
|
-
for (var name in prop) {
|
223
|
-
var e = new hs.fx(el, opt , name );
|
224
|
-
|
225
|
-
start = parseFloat(hs.css(el, name)) || 0;
|
226
|
-
end = parseFloat(prop[name]);
|
227
|
-
unit = name != 'opacity' ? 'px' : '';
|
228
|
-
|
229
|
-
e.custom( start, end, unit );
|
230
|
-
}
|
231
|
-
},
|
232
|
-
css: function(el, prop) {
|
233
|
-
if (el.style[prop]) {
|
234
|
-
return el.style[prop];
|
235
|
-
} else if (document.defaultView) {
|
236
|
-
return document.defaultView.getComputedStyle(el, null).getPropertyValue(prop);
|
237
|
-
|
238
|
-
} else {
|
239
|
-
if (prop == 'opacity') prop = 'filter';
|
240
|
-
var val = el.currentStyle[prop.replace(/\-(\w)/g, function (a, b){ return b.toUpperCase(); })];
|
241
|
-
if (prop == 'filter')
|
242
|
-
val = val.replace(/alpha\(opacity=([0-9]+)\)/,
|
243
|
-
function (a, b) { return b / 100 });
|
244
|
-
return val === '' ? 1 : val;
|
245
|
-
}
|
246
|
-
},
|
247
|
-
|
248
|
-
getPageSize : function () {
|
249
|
-
var d = document, w = window, iebody = d.compatMode && d.compatMode != 'BackCompat'
|
250
|
-
? d.documentElement : d.body;
|
251
|
-
|
252
|
-
var width = hs.ieLt9 ? iebody.clientWidth :
|
253
|
-
(d.documentElement.clientWidth || self.innerWidth),
|
254
|
-
height = hs.ieLt9 ? iebody.clientHeight : self.innerHeight;
|
255
|
-
|
256
|
-
hs.page = {
|
257
|
-
width: width,
|
258
|
-
height: height,
|
259
|
-
scrollLeft: hs.ieLt9 ? iebody.scrollLeft : pageXOffset,
|
260
|
-
scrollTop: hs.ieLt9 ? iebody.scrollTop : pageYOffset
|
261
|
-
};
|
262
|
-
return hs.page;
|
263
|
-
},
|
264
|
-
|
265
|
-
getPosition : function(el) {
|
266
|
-
var p = { x: el.offsetLeft, y: el.offsetTop };
|
267
|
-
while (el.offsetParent) {
|
268
|
-
el = el.offsetParent;
|
269
|
-
p.x += el.offsetLeft;
|
270
|
-
p.y += el.offsetTop;
|
271
|
-
if (el != document.body && el != document.documentElement) {
|
272
|
-
p.x -= el.scrollLeft;
|
273
|
-
p.y -= el.scrollTop;
|
274
|
-
}
|
275
|
-
}
|
276
|
-
return p;
|
277
|
-
},
|
278
|
-
|
279
|
-
expand : function(a, params, custom, type) {
|
280
|
-
if (!a) a = hs.createElement('a', null, { display: 'none' }, hs.container);
|
281
|
-
if (typeof a.getParams == 'function') return params;
|
282
|
-
try {
|
283
|
-
new hs.Expander(a, params, custom);
|
284
|
-
return false;
|
285
|
-
} catch (e) { return true; }
|
286
|
-
},
|
287
|
-
getElementByClass : function (el, tagName, className) {
|
288
|
-
var els = el.getElementsByTagName(tagName);
|
289
|
-
for (var i = 0; i < els.length; i++) {
|
290
|
-
if ((new RegExp(className)).test(els[i].className)) {
|
291
|
-
return els[i];
|
292
|
-
}
|
293
|
-
}
|
294
|
-
return null;
|
295
|
-
},
|
296
|
-
replaceLang : function(s) {
|
297
|
-
s = s.replace(/\s/g, ' ');
|
298
|
-
var re = /{hs\.lang\.([^}]+)\}/g,
|
299
|
-
matches = s.match(re),
|
300
|
-
lang;
|
301
|
-
if (matches) for (var i = 0; i < matches.length; i++) {
|
302
|
-
lang = matches[i].replace(re, "$1");
|
303
|
-
if (typeof hs.lang[lang] != 'undefined') s = s.replace(matches[i], hs.lang[lang]);
|
304
|
-
}
|
305
|
-
return s;
|
306
|
-
},
|
307
|
-
|
308
|
-
|
309
|
-
focusTopmost : function() {
|
310
|
-
var topZ = 0,
|
311
|
-
topmostKey = -1,
|
312
|
-
expanders = hs.expanders,
|
313
|
-
exp,
|
314
|
-
zIndex;
|
315
|
-
for (var i = 0; i < expanders.length; i++) {
|
316
|
-
exp = expanders[i];
|
317
|
-
if (exp) {
|
318
|
-
zIndex = exp.wrapper.style.zIndex;
|
319
|
-
if (zIndex && zIndex > topZ) {
|
320
|
-
topZ = zIndex;
|
321
|
-
topmostKey = i;
|
322
|
-
}
|
323
|
-
}
|
324
|
-
}
|
325
|
-
if (topmostKey == -1) hs.focusKey = -1;
|
326
|
-
else expanders[topmostKey].focus();
|
327
|
-
},
|
328
|
-
|
329
|
-
getParam : function (a, param) {
|
330
|
-
a.getParams = a.onclick;
|
331
|
-
var p = a.getParams ? a.getParams() : null;
|
332
|
-
a.getParams = null;
|
333
|
-
|
334
|
-
return (p && typeof p[param] != 'undefined') ? p[param] :
|
335
|
-
(typeof hs[param] != 'undefined' ? hs[param] : null);
|
336
|
-
},
|
337
|
-
|
338
|
-
getSrc : function (a) {
|
339
|
-
var src = hs.getParam(a, 'src');
|
340
|
-
if (src) return src;
|
341
|
-
return a.href;
|
342
|
-
},
|
343
|
-
|
344
|
-
getNode : function (id) {
|
345
|
-
var node = hs.$(id), clone = hs.clones[id], a = {};
|
346
|
-
if (!node && !clone) return null;
|
347
|
-
if (!clone) {
|
348
|
-
clone = node.cloneNode(true);
|
349
|
-
clone.id = '';
|
350
|
-
hs.clones[id] = clone;
|
351
|
-
return node;
|
352
|
-
} else {
|
353
|
-
return clone.cloneNode(true);
|
354
|
-
}
|
355
|
-
},
|
356
|
-
|
357
|
-
discardElement : function(d) {
|
358
|
-
if (d) hs.garbageBin.appendChild(d);
|
359
|
-
hs.garbageBin.innerHTML = '';
|
360
|
-
},
|
361
|
-
dim : function(exp) {
|
362
|
-
if (!hs.dimmer) {
|
363
|
-
isNew = true;
|
364
|
-
hs.dimmer = hs.createElement ('div', {
|
365
|
-
className: 'highslide-dimming highslide-viewport-size',
|
366
|
-
owner: '',
|
367
|
-
onclick: function() {
|
368
|
-
|
369
|
-
hs.close();
|
370
|
-
}
|
371
|
-
}, {
|
372
|
-
visibility: 'visible',
|
373
|
-
opacity: 0
|
374
|
-
}, hs.container, true);
|
375
|
-
}
|
376
|
-
hs.dimmer.style.display = '';
|
377
|
-
|
378
|
-
var isNew = hs.dimmer.owner == '';
|
379
|
-
hs.dimmer.owner += '|'+ exp.key;
|
380
|
-
|
381
|
-
if (isNew) {
|
382
|
-
if (hs.geckoMac && hs.dimmingGeckoFix)
|
383
|
-
hs.setStyles(hs.dimmer, {
|
384
|
-
background: 'url('+ hs.graphicsDir + 'geckodimmer.png)',
|
385
|
-
opacity: 1
|
386
|
-
});
|
387
|
-
else
|
388
|
-
hs.animate(hs.dimmer, { opacity: exp.dimmingOpacity }, hs.dimmingDuration);
|
389
|
-
}
|
390
|
-
},
|
391
|
-
undim : function(key) {
|
392
|
-
if (!hs.dimmer) return;
|
393
|
-
if (typeof key != 'undefined') hs.dimmer.owner = hs.dimmer.owner.replace('|'+ key, '');
|
394
|
-
|
395
|
-
if (
|
396
|
-
(typeof key != 'undefined' && hs.dimmer.owner != '')
|
397
|
-
|| (hs.upcoming && hs.getParam(hs.upcoming, 'dimmingOpacity'))
|
398
|
-
) return;
|
399
|
-
|
400
|
-
if (hs.geckoMac && hs.dimmingGeckoFix) hs.dimmer.style.display = 'none';
|
401
|
-
else hs.animate(hs.dimmer, { opacity: 0 }, hs.dimmingDuration, null, function() {
|
402
|
-
hs.dimmer.style.display = 'none';
|
403
|
-
});
|
404
|
-
},
|
405
|
-
transit : function (adj, exp) {
|
406
|
-
var last = exp || hs.getExpander();
|
407
|
-
exp = last;
|
408
|
-
if (hs.upcoming) return false;
|
409
|
-
else hs.last = last;
|
410
|
-
hs.removeEventListener(document, window.opera ? 'keypress' : 'keydown', hs.keyHandler);
|
411
|
-
try {
|
412
|
-
hs.upcoming = adj;
|
413
|
-
adj.onclick();
|
414
|
-
} catch (e){
|
415
|
-
hs.last = hs.upcoming = null;
|
416
|
-
}
|
417
|
-
try {
|
418
|
-
if (!adj || exp.transitions[1] != 'crossfade')
|
419
|
-
exp.close();
|
420
|
-
} catch (e) {}
|
421
|
-
return false;
|
422
|
-
},
|
423
|
-
|
424
|
-
previousOrNext : function (el, op) {
|
425
|
-
var exp = hs.getExpander(el);
|
426
|
-
if (exp) return hs.transit(exp.getAdjacentAnchor(op), exp);
|
427
|
-
else return false;
|
428
|
-
},
|
429
|
-
|
430
|
-
previous : function (el) {
|
431
|
-
return hs.previousOrNext(el, -1);
|
432
|
-
},
|
433
|
-
|
434
|
-
next : function (el) {
|
435
|
-
return hs.previousOrNext(el, 1);
|
436
|
-
},
|
437
|
-
|
438
|
-
keyHandler : function(e) {
|
439
|
-
if (!e) e = window.event;
|
440
|
-
if (!e.target) e.target = e.srcElement; // ie
|
441
|
-
if (typeof e.target.form != 'undefined') return true; // form element has focus
|
442
|
-
var exp = hs.getExpander();
|
443
|
-
|
444
|
-
var op = null;
|
445
|
-
switch (e.keyCode) {
|
446
|
-
case 70: // f
|
447
|
-
if (exp) exp.doFullExpand();
|
448
|
-
return true;
|
449
|
-
case 32: // Space
|
450
|
-
op = 2;
|
451
|
-
break;
|
452
|
-
case 34: // Page Down
|
453
|
-
case 39: // Arrow right
|
454
|
-
case 40: // Arrow down
|
455
|
-
op = 1;
|
456
|
-
break;
|
457
|
-
case 8: // Backspace
|
458
|
-
case 33: // Page Up
|
459
|
-
case 37: // Arrow left
|
460
|
-
case 38: // Arrow up
|
461
|
-
op = -1;
|
462
|
-
break;
|
463
|
-
case 27: // Escape
|
464
|
-
case 13: // Enter
|
465
|
-
op = 0;
|
466
|
-
}
|
467
|
-
if (op !== null) {
|
468
|
-
hs.removeEventListener(document, window.opera ? 'keypress' : 'keydown', hs.keyHandler);
|
469
|
-
if (!hs.enableKeyListener) return true;
|
470
|
-
|
471
|
-
if (e.preventDefault) e.preventDefault();
|
472
|
-
else e.returnValue = false;
|
473
|
-
if (exp) {
|
474
|
-
if (op == 0) {
|
475
|
-
exp.close();
|
476
|
-
} else if (op == 2) {
|
477
|
-
if (exp.slideshow) exp.slideshow.hitSpace();
|
478
|
-
} else {
|
479
|
-
if (exp.slideshow) exp.slideshow.pause();
|
480
|
-
hs.previousOrNext(exp.key, op);
|
481
|
-
}
|
482
|
-
return false;
|
483
|
-
}
|
484
|
-
}
|
485
|
-
return true;
|
486
|
-
},
|
487
|
-
|
488
|
-
|
489
|
-
registerOverlay : function (overlay) {
|
490
|
-
hs.push(hs.overlays, hs.extend(overlay, { hsId: 'hsId'+ hs.idCounter++ } ));
|
491
|
-
},
|
492
|
-
|
493
|
-
|
494
|
-
addSlideshow : function (options) {
|
495
|
-
var sg = options.slideshowGroup;
|
496
|
-
if (typeof sg == 'object') {
|
497
|
-
for (var i = 0; i < sg.length; i++) {
|
498
|
-
var o = {};
|
499
|
-
for (var x in options) o[x] = options[x];
|
500
|
-
o.slideshowGroup = sg[i];
|
501
|
-
hs.push(hs.slideshows, o);
|
502
|
-
}
|
503
|
-
} else {
|
504
|
-
hs.push(hs.slideshows, options);
|
505
|
-
}
|
506
|
-
},
|
507
|
-
|
508
|
-
getWrapperKey : function (element, expOnly) {
|
509
|
-
var el, re = /^highslide-wrapper-([0-9]+)$/;
|
510
|
-
// 1. look in open expanders
|
511
|
-
el = element;
|
512
|
-
while (el.parentNode) {
|
513
|
-
if (el.hsKey !== undefined) return el.hsKey;
|
514
|
-
if (el.id && re.test(el.id)) return el.id.replace(re, "$1");
|
515
|
-
el = el.parentNode;
|
516
|
-
}
|
517
|
-
// 2. look in thumbnail
|
518
|
-
if (!expOnly) {
|
519
|
-
el = element;
|
520
|
-
while (el.parentNode) {
|
521
|
-
if (el.tagName && hs.isHsAnchor(el)) {
|
522
|
-
for (var key = 0; key < hs.expanders.length; key++) {
|
523
|
-
var exp = hs.expanders[key];
|
524
|
-
if (exp && exp.a == el) return key;
|
525
|
-
}
|
526
|
-
}
|
527
|
-
el = el.parentNode;
|
528
|
-
}
|
529
|
-
}
|
530
|
-
return null;
|
531
|
-
},
|
532
|
-
|
533
|
-
getExpander : function (el, expOnly) {
|
534
|
-
if (typeof el == 'undefined') return hs.expanders[hs.focusKey] || null;
|
535
|
-
if (typeof el == 'number') return hs.expanders[el] || null;
|
536
|
-
if (typeof el == 'string') el = hs.$(el);
|
537
|
-
return hs.expanders[hs.getWrapperKey(el, expOnly)] || null;
|
538
|
-
},
|
539
|
-
|
540
|
-
isHsAnchor : function (a) {
|
541
|
-
return (a.onclick && a.onclick.toString().replace(/\s/g, ' ').match(/hs.(htmlE|e)xpand/));
|
542
|
-
},
|
543
|
-
|
544
|
-
reOrder : function () {
|
545
|
-
for (var i = 0; i < hs.expanders.length; i++)
|
546
|
-
if (hs.expanders[i] && hs.expanders[i].isExpanded) hs.focusTopmost();
|
547
|
-
},
|
548
|
-
|
549
|
-
mouseClickHandler : function(e)
|
550
|
-
{
|
551
|
-
if (!e) e = window.event;
|
552
|
-
if (e.button > 1) return true;
|
553
|
-
if (!e.target) e.target = e.srcElement;
|
554
|
-
|
555
|
-
var el = e.target;
|
556
|
-
while (el.parentNode
|
557
|
-
&& !(/highslide-(image|move|html|resize)/.test(el.className)))
|
558
|
-
{
|
559
|
-
el = el.parentNode;
|
560
|
-
}
|
561
|
-
var exp = hs.getExpander(el);
|
562
|
-
if (exp && (exp.isClosing || !exp.isExpanded)) return true;
|
563
|
-
|
564
|
-
if (exp && e.type == 'mousedown') {
|
565
|
-
if (e.target.form) return true;
|
566
|
-
var match = el.className.match(/highslide-(image|move|resize)/);
|
567
|
-
if (match) {
|
568
|
-
hs.dragArgs = {
|
569
|
-
exp: exp ,
|
570
|
-
type: match[1],
|
571
|
-
left: exp.x.pos,
|
572
|
-
width: exp.x.size,
|
573
|
-
top: exp.y.pos,
|
574
|
-
height: exp.y.size,
|
575
|
-
clickX: e.clientX,
|
576
|
-
clickY: e.clientY
|
577
|
-
};
|
578
|
-
|
579
|
-
|
580
|
-
hs.addEventListener(document, 'mousemove', hs.dragHandler);
|
581
|
-
if (e.preventDefault) e.preventDefault(); // FF
|
582
|
-
|
583
|
-
if (/highslide-(image|html)-blur/.test(exp.content.className)) {
|
584
|
-
exp.focus();
|
585
|
-
hs.hasFocused = true;
|
586
|
-
}
|
587
|
-
return false;
|
588
|
-
}
|
589
|
-
} else if (e.type == 'mouseup') {
|
590
|
-
|
591
|
-
hs.removeEventListener(document, 'mousemove', hs.dragHandler);
|
592
|
-
|
593
|
-
if (hs.dragArgs) {
|
594
|
-
if (hs.styleRestoreCursor && hs.dragArgs.type == 'image')
|
595
|
-
hs.dragArgs.exp.content.style.cursor = hs.styleRestoreCursor;
|
596
|
-
var hasDragged = hs.dragArgs.hasDragged;
|
597
|
-
|
598
|
-
if (!hasDragged &&!hs.hasFocused && !/(move|resize)/.test(hs.dragArgs.type)) {
|
599
|
-
exp.close();
|
600
|
-
}
|
601
|
-
else if (hasDragged || (!hasDragged && hs.hasHtmlExpanders)) {
|
602
|
-
hs.dragArgs.exp.doShowHide('hidden');
|
603
|
-
}
|
604
|
-
hs.hasFocused = false;
|
605
|
-
hs.dragArgs = null;
|
606
|
-
|
607
|
-
} else if (/highslide-image-blur/.test(el.className)) {
|
608
|
-
el.style.cursor = hs.styleRestoreCursor;
|
609
|
-
}
|
610
|
-
}
|
611
|
-
return false;
|
612
|
-
},
|
613
|
-
|
614
|
-
dragHandler : function(e)
|
615
|
-
{
|
616
|
-
if (!hs.dragArgs) return true;
|
617
|
-
if (!e) e = window.event;
|
618
|
-
var a = hs.dragArgs, exp = a.exp;
|
619
|
-
|
620
|
-
a.dX = e.clientX - a.clickX;
|
621
|
-
a.dY = e.clientY - a.clickY;
|
622
|
-
|
623
|
-
var distance = Math.sqrt(Math.pow(a.dX, 2) + Math.pow(a.dY, 2));
|
624
|
-
if (!a.hasDragged) a.hasDragged = (a.type != 'image' && distance > 0)
|
625
|
-
|| (distance > (hs.dragSensitivity || 5));
|
626
|
-
|
627
|
-
if (a.hasDragged && e.clientX > 5 && e.clientY > 5) {
|
628
|
-
|
629
|
-
if (a.type == 'resize') exp.resize(a);
|
630
|
-
else {
|
631
|
-
exp.moveTo(a.left + a.dX, a.top + a.dY);
|
632
|
-
if (a.type == 'image') exp.content.style.cursor = 'move';
|
633
|
-
}
|
634
|
-
}
|
635
|
-
return false;
|
636
|
-
},
|
637
|
-
|
638
|
-
wrapperMouseHandler : function (e) {
|
639
|
-
try {
|
640
|
-
if (!e) e = window.event;
|
641
|
-
var over = /mouseover/i.test(e.type);
|
642
|
-
if (!e.target) e.target = e.srcElement; // ie
|
643
|
-
if (!e.relatedTarget) e.relatedTarget =
|
644
|
-
over ? e.fromElement : e.toElement; // ie
|
645
|
-
var exp = hs.getExpander(e.target);
|
646
|
-
if (!exp.isExpanded) return;
|
647
|
-
if (!exp || !e.relatedTarget || hs.getExpander(e.relatedTarget, true) == exp
|
648
|
-
|| hs.dragArgs) return;
|
649
|
-
for (var i = 0; i < exp.overlays.length; i++) (function() {
|
650
|
-
var o = hs.$('hsId'+ exp.overlays[i]);
|
651
|
-
if (o && o.hideOnMouseOut) {
|
652
|
-
if (over) hs.setStyles(o, { visibility: 'visible', display: '' });
|
653
|
-
hs.animate(o, { opacity: over ? o.opacity : 0 }, o.dur);
|
654
|
-
}
|
655
|
-
})();
|
656
|
-
} catch (e) {}
|
657
|
-
},
|
658
|
-
addEventListener : function (el, event, func) {
|
659
|
-
if (el == document && event == 'ready') {
|
660
|
-
hs.push(hs.onReady, func);
|
661
|
-
}
|
662
|
-
try {
|
663
|
-
el.addEventListener(event, func, false);
|
664
|
-
} catch (e) {
|
665
|
-
try {
|
666
|
-
el.detachEvent('on'+ event, func);
|
667
|
-
el.attachEvent('on'+ event, func);
|
668
|
-
} catch (e) {
|
669
|
-
el['on'+ event] = func;
|
670
|
-
}
|
671
|
-
}
|
672
|
-
},
|
673
|
-
|
674
|
-
removeEventListener : function (el, event, func) {
|
675
|
-
try {
|
676
|
-
el.removeEventListener(event, func, false);
|
677
|
-
} catch (e) {
|
678
|
-
try {
|
679
|
-
el.detachEvent('on'+ event, func);
|
680
|
-
} catch (e) {
|
681
|
-
el['on'+ event] = null;
|
682
|
-
}
|
683
|
-
}
|
684
|
-
},
|
685
|
-
|
686
|
-
preloadFullImage : function (i) {
|
687
|
-
if (hs.continuePreloading && hs.preloadTheseImages[i] && hs.preloadTheseImages[i] != 'undefined') {
|
688
|
-
var img = document.createElement('img');
|
689
|
-
img.onload = function() {
|
690
|
-
img = null;
|
691
|
-
hs.preloadFullImage(i + 1);
|
692
|
-
};
|
693
|
-
img.src = hs.preloadTheseImages[i];
|
694
|
-
}
|
695
|
-
},
|
696
|
-
preloadImages : function (number) {
|
697
|
-
if (number && typeof number != 'object') hs.numberOfImagesToPreload = number;
|
698
|
-
|
699
|
-
var arr = hs.getAnchors();
|
700
|
-
for (var i = 0; i < arr.images.length && i < hs.numberOfImagesToPreload; i++) {
|
701
|
-
hs.push(hs.preloadTheseImages, hs.getSrc(arr.images[i]));
|
702
|
-
}
|
703
|
-
|
704
|
-
// preload outlines
|
705
|
-
if (hs.outlineType) new hs.Outline(hs.outlineType, function () { hs.preloadFullImage(0)} );
|
706
|
-
else
|
707
|
-
|
708
|
-
hs.preloadFullImage(0);
|
709
|
-
|
710
|
-
// preload cursor
|
711
|
-
if (hs.restoreCursor) var cur = hs.createElement('img', { src: hs.graphicsDir + hs.restoreCursor });
|
712
|
-
},
|
713
|
-
|
714
|
-
|
715
|
-
init : function () {
|
716
|
-
if (!hs.container) {
|
717
|
-
|
718
|
-
hs.ieLt7 = hs.ie && hs.uaVersion < 7;
|
719
|
-
hs.ieLt9 = hs.ie && hs.uaVersion < 9;
|
720
|
-
|
721
|
-
hs.getPageSize();
|
722
|
-
for (var x in hs.langDefaults) {
|
723
|
-
if (typeof hs[x] != 'undefined') hs.lang[x] = hs[x];
|
724
|
-
else if (typeof hs.lang[x] == 'undefined' && typeof hs.langDefaults[x] != 'undefined')
|
725
|
-
hs.lang[x] = hs.langDefaults[x];
|
726
|
-
}
|
727
|
-
|
728
|
-
hs.container = hs.createElement('div', {
|
729
|
-
className: 'highslide-container'
|
730
|
-
}, {
|
731
|
-
position: 'absolute',
|
732
|
-
left: 0,
|
733
|
-
top: 0,
|
734
|
-
width: '100%',
|
735
|
-
zIndex: hs.zIndexCounter,
|
736
|
-
direction: 'ltr'
|
737
|
-
},
|
738
|
-
document.body,
|
739
|
-
true
|
740
|
-
);
|
741
|
-
hs.loading = hs.createElement('a', {
|
742
|
-
className: 'highslide-loading',
|
743
|
-
title: hs.lang.loadingTitle,
|
744
|
-
innerHTML: hs.lang.loadingText,
|
745
|
-
href: 'javascript:;'
|
746
|
-
}, {
|
747
|
-
position: 'absolute',
|
748
|
-
top: '-9999px',
|
749
|
-
opacity: hs.loadingOpacity,
|
750
|
-
zIndex: 1
|
751
|
-
}, hs.container
|
752
|
-
);
|
753
|
-
hs.garbageBin = hs.createElement('div', null, { display: 'none' }, hs.container);
|
754
|
-
hs.viewport = hs.createElement('div', {
|
755
|
-
className: 'highslide-viewport highslide-viewport-size'
|
756
|
-
}, {
|
757
|
-
visibility: (hs.safari && hs.uaVersion < 525) ? 'visible' : 'hidden'
|
758
|
-
}, hs.container, 1
|
759
|
-
);
|
760
|
-
|
761
|
-
// http://www.robertpenner.com/easing/
|
762
|
-
Math.linearTween = function (t, b, c, d) {
|
763
|
-
return c*t/d + b;
|
764
|
-
};
|
765
|
-
Math.easeInQuad = function (t, b, c, d) {
|
766
|
-
return c*(t/=d)*t + b;
|
767
|
-
};
|
768
|
-
Math.easeOutQuad = function (t, b, c, d) {
|
769
|
-
return -c *(t/=d)*(t-2) + b;
|
770
|
-
};
|
771
|
-
|
772
|
-
hs.hideSelects = hs.ieLt7;
|
773
|
-
hs.hideIframes = ((window.opera && hs.uaVersion < 9) || navigator.vendor == 'KDE'
|
774
|
-
|| (hs.ieLt7 && hs.uaVersion < 5.5));
|
775
|
-
}
|
776
|
-
},
|
777
|
-
ready : function() {
|
778
|
-
if (hs.isReady) return;
|
779
|
-
hs.isReady = true;
|
780
|
-
for (var i = 0; i < hs.onReady.length; i++) hs.onReady[i]();
|
781
|
-
},
|
782
|
-
|
783
|
-
updateAnchors : function() {
|
784
|
-
var el, els, all = [], images = [],groups = {}, re;
|
785
|
-
|
786
|
-
for (var i = 0; i < hs.openerTagNames.length; i++) {
|
787
|
-
els = document.getElementsByTagName(hs.openerTagNames[i]);
|
788
|
-
for (var j = 0; j < els.length; j++) {
|
789
|
-
el = els[j];
|
790
|
-
re = hs.isHsAnchor(el);
|
791
|
-
if (re) {
|
792
|
-
hs.push(all, el);
|
793
|
-
if (re[0] == 'hs.expand') hs.push(images, el);
|
794
|
-
var g = hs.getParam(el, 'slideshowGroup') || 'none';
|
795
|
-
if (!groups[g]) groups[g] = [];
|
796
|
-
hs.push(groups[g], el);
|
797
|
-
}
|
798
|
-
}
|
799
|
-
}
|
800
|
-
hs.anchors = { all: all, groups: groups, images: images };
|
801
|
-
return hs.anchors;
|
802
|
-
|
803
|
-
},
|
804
|
-
|
805
|
-
getAnchors : function() {
|
806
|
-
return hs.anchors || hs.updateAnchors();
|
807
|
-
},
|
808
|
-
|
809
|
-
|
810
|
-
close : function(el) {
|
811
|
-
var exp = hs.getExpander(el);
|
812
|
-
if (exp) exp.close();
|
813
|
-
return false;
|
814
|
-
}
|
815
|
-
}; // end hs object
|
816
|
-
hs.fx = function( elem, options, prop ){
|
817
|
-
this.options = options;
|
818
|
-
this.elem = elem;
|
819
|
-
this.prop = prop;
|
820
|
-
|
821
|
-
if (!options.orig) options.orig = {};
|
822
|
-
};
|
823
|
-
hs.fx.prototype = {
|
824
|
-
update: function(){
|
825
|
-
(hs.fx.step[this.prop] || hs.fx.step._default)(this);
|
826
|
-
|
827
|
-
if (this.options.step)
|
828
|
-
this.options.step.call(this.elem, this.now, this);
|
829
|
-
|
830
|
-
},
|
831
|
-
custom: function(from, to, unit){
|
832
|
-
this.startTime = (new Date()).getTime();
|
833
|
-
this.start = from;
|
834
|
-
this.end = to;
|
835
|
-
this.unit = unit;// || this.unit || "px";
|
836
|
-
this.now = this.start;
|
837
|
-
this.pos = this.state = 0;
|
838
|
-
|
839
|
-
var self = this;
|
840
|
-
function t(gotoEnd){
|
841
|
-
return self.step(gotoEnd);
|
842
|
-
}
|
843
|
-
|
844
|
-
t.elem = this.elem;
|
845
|
-
|
846
|
-
if ( t() && hs.timers.push(t) == 1 ) {
|
847
|
-
hs.timerId = setInterval(function(){
|
848
|
-
var timers = hs.timers;
|
849
|
-
|
850
|
-
for ( var i = 0; i < timers.length; i++ )
|
851
|
-
if ( !timers[i]() )
|
852
|
-
timers.splice(i--, 1);
|
853
|
-
|
854
|
-
if ( !timers.length ) {
|
855
|
-
clearInterval(hs.timerId);
|
856
|
-
}
|
857
|
-
}, 13);
|
858
|
-
}
|
859
|
-
},
|
860
|
-
step: function(gotoEnd){
|
861
|
-
var t = (new Date()).getTime();
|
862
|
-
if ( gotoEnd || t >= this.options.duration + this.startTime ) {
|
863
|
-
this.now = this.end;
|
864
|
-
this.pos = this.state = 1;
|
865
|
-
this.update();
|
866
|
-
|
867
|
-
this.options.curAnim[ this.prop ] = true;
|
868
|
-
|
869
|
-
var done = true;
|
870
|
-
for ( var i in this.options.curAnim )
|
871
|
-
if ( this.options.curAnim[i] !== true )
|
872
|
-
done = false;
|
873
|
-
|
874
|
-
if ( done ) {
|
875
|
-
if (this.options.complete) this.options.complete.call(this.elem);
|
876
|
-
}
|
877
|
-
return false;
|
878
|
-
} else {
|
879
|
-
var n = t - this.startTime;
|
880
|
-
this.state = n / this.options.duration;
|
881
|
-
this.pos = this.options.easing(n, 0, 1, this.options.duration);
|
882
|
-
this.now = this.start + ((this.end - this.start) * this.pos);
|
883
|
-
this.update();
|
884
|
-
}
|
885
|
-
return true;
|
886
|
-
}
|
887
|
-
|
888
|
-
};
|
889
|
-
|
890
|
-
hs.extend( hs.fx, {
|
891
|
-
step: {
|
892
|
-
|
893
|
-
opacity: function(fx){
|
894
|
-
hs.setStyles(fx.elem, { opacity: fx.now });
|
895
|
-
},
|
896
|
-
|
897
|
-
_default: function(fx){
|
898
|
-
try {
|
899
|
-
if ( fx.elem.style && fx.elem.style[ fx.prop ] != null )
|
900
|
-
fx.elem.style[ fx.prop ] = fx.now + fx.unit;
|
901
|
-
else
|
902
|
-
fx.elem[ fx.prop ] = fx.now;
|
903
|
-
} catch (e) {}
|
904
|
-
}
|
905
|
-
}
|
906
|
-
});
|
907
|
-
|
908
|
-
hs.Outline = function (outlineType, onLoad) {
|
909
|
-
this.onLoad = onLoad;
|
910
|
-
this.outlineType = outlineType;
|
911
|
-
var v = hs.uaVersion, tr;
|
912
|
-
|
913
|
-
this.hasAlphaImageLoader = hs.ie && hs.uaVersion < 7;
|
914
|
-
if (!outlineType) {
|
915
|
-
if (onLoad) onLoad();
|
916
|
-
return;
|
917
|
-
}
|
918
|
-
|
919
|
-
hs.init();
|
920
|
-
this.table = hs.createElement(
|
921
|
-
'table', {
|
922
|
-
cellSpacing: 0
|
923
|
-
}, {
|
924
|
-
visibility: 'hidden',
|
925
|
-
position: 'absolute',
|
926
|
-
borderCollapse: 'collapse',
|
927
|
-
width: 0
|
928
|
-
},
|
929
|
-
hs.container,
|
930
|
-
true
|
931
|
-
);
|
932
|
-
var tbody = hs.createElement('tbody', null, null, this.table, 1);
|
933
|
-
|
934
|
-
this.td = [];
|
935
|
-
for (var i = 0; i <= 8; i++) {
|
936
|
-
if (i % 3 == 0) tr = hs.createElement('tr', null, { height: 'auto' }, tbody, true);
|
937
|
-
this.td[i] = hs.createElement('td', null, null, tr, true);
|
938
|
-
var style = i != 4 ? { lineHeight: 0, fontSize: 0} : { position : 'relative' };
|
939
|
-
hs.setStyles(this.td[i], style);
|
940
|
-
}
|
941
|
-
this.td[4].className = outlineType +' highslide-outline';
|
942
|
-
|
943
|
-
this.preloadGraphic();
|
944
|
-
};
|
945
|
-
|
946
|
-
hs.Outline.prototype = {
|
947
|
-
preloadGraphic : function () {
|
948
|
-
var src = hs.graphicsDir + (hs.outlinesDir || "outlines/")+ this.outlineType +".png";
|
949
|
-
|
950
|
-
var appendTo = hs.safari && hs.uaVersion < 525 ? hs.container : null;
|
951
|
-
this.graphic = hs.createElement('img', null, { position: 'absolute',
|
952
|
-
top: '-9999px' }, appendTo, true); // for onload trigger
|
953
|
-
|
954
|
-
var pThis = this;
|
955
|
-
this.graphic.onload = function() { pThis.onGraphicLoad(); };
|
956
|
-
|
957
|
-
this.graphic.src = src;
|
958
|
-
},
|
959
|
-
|
960
|
-
onGraphicLoad : function () {
|
961
|
-
var o = this.offset = this.graphic.width / 4,
|
962
|
-
pos = [[0,0],[0,-4],[-2,0],[0,-8],0,[-2,-8],[0,-2],[0,-6],[-2,-2]],
|
963
|
-
dim = { height: (2*o) +'px', width: (2*o) +'px' };
|
964
|
-
for (var i = 0; i <= 8; i++) {
|
965
|
-
if (pos[i]) {
|
966
|
-
if (this.hasAlphaImageLoader) {
|
967
|
-
var w = (i == 1 || i == 7) ? '100%' : this.graphic.width +'px';
|
968
|
-
var div = hs.createElement('div', null, { width: '100%', height: '100%', position: 'relative', overflow: 'hidden'}, this.td[i], true);
|
969
|
-
hs.createElement ('div', null, {
|
970
|
-
filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod=scale, src='"+ this.graphic.src + "')",
|
971
|
-
position: 'absolute',
|
972
|
-
width: w,
|
973
|
-
height: this.graphic.height +'px',
|
974
|
-
left: (pos[i][0]*o)+'px',
|
975
|
-
top: (pos[i][1]*o)+'px'
|
976
|
-
},
|
977
|
-
div,
|
978
|
-
true);
|
979
|
-
} else {
|
980
|
-
hs.setStyles(this.td[i], { background: 'url('+ this.graphic.src +') '+ (pos[i][0]*o)+'px '+(pos[i][1]*o)+'px'});
|
981
|
-
}
|
982
|
-
|
983
|
-
if (window.opera && (i == 3 || i ==5))
|
984
|
-
hs.createElement('div', null, dim, this.td[i], true);
|
985
|
-
|
986
|
-
hs.setStyles (this.td[i], dim);
|
987
|
-
}
|
988
|
-
}
|
989
|
-
this.graphic = null;
|
990
|
-
if (hs.pendingOutlines[this.outlineType]) hs.pendingOutlines[this.outlineType].destroy();
|
991
|
-
hs.pendingOutlines[this.outlineType] = this;
|
992
|
-
if (this.onLoad) this.onLoad();
|
993
|
-
},
|
994
|
-
|
995
|
-
setPosition : function (pos, offset, vis, dur, easing) {
|
996
|
-
var exp = this.exp,
|
997
|
-
stl = exp.wrapper.style,
|
998
|
-
offset = offset || 0,
|
999
|
-
pos = pos || {
|
1000
|
-
x: exp.x.pos + offset,
|
1001
|
-
y: exp.y.pos + offset,
|
1002
|
-
w: exp.x.get('wsize') - 2 * offset,
|
1003
|
-
h: exp.y.get('wsize') - 2 * offset
|
1004
|
-
};
|
1005
|
-
if (vis) this.table.style.visibility = (pos.h >= 4 * this.offset)
|
1006
|
-
? 'visible' : 'hidden';
|
1007
|
-
hs.setStyles(this.table, {
|
1008
|
-
left: (pos.x - this.offset) +'px',
|
1009
|
-
top: (pos.y - this.offset) +'px',
|
1010
|
-
width: (pos.w + 2 * this.offset) +'px'
|
1011
|
-
});
|
1012
|
-
|
1013
|
-
pos.w -= 2 * this.offset;
|
1014
|
-
pos.h -= 2 * this.offset;
|
1015
|
-
hs.setStyles (this.td[4], {
|
1016
|
-
width: pos.w >= 0 ? pos.w +'px' : 0,
|
1017
|
-
height: pos.h >= 0 ? pos.h +'px' : 0
|
1018
|
-
});
|
1019
|
-
if (this.hasAlphaImageLoader) this.td[3].style.height
|
1020
|
-
= this.td[5].style.height = this.td[4].style.height;
|
1021
|
-
|
1022
|
-
},
|
1023
|
-
|
1024
|
-
destroy : function(hide) {
|
1025
|
-
if (hide) this.table.style.visibility = 'hidden';
|
1026
|
-
else hs.discardElement(this.table);
|
1027
|
-
}
|
1028
|
-
};
|
1029
|
-
|
1030
|
-
hs.Dimension = function(exp, dim) {
|
1031
|
-
this.exp = exp;
|
1032
|
-
this.dim = dim;
|
1033
|
-
this.ucwh = dim == 'x' ? 'Width' : 'Height';
|
1034
|
-
this.wh = this.ucwh.toLowerCase();
|
1035
|
-
this.uclt = dim == 'x' ? 'Left' : 'Top';
|
1036
|
-
this.lt = this.uclt.toLowerCase();
|
1037
|
-
this.ucrb = dim == 'x' ? 'Right' : 'Bottom';
|
1038
|
-
this.rb = this.ucrb.toLowerCase();
|
1039
|
-
this.p1 = this.p2 = 0;
|
1040
|
-
};
|
1041
|
-
hs.Dimension.prototype = {
|
1042
|
-
get : function(key) {
|
1043
|
-
switch (key) {
|
1044
|
-
case 'loadingPos':
|
1045
|
-
return this.tpos + this.tb + (this.t - hs.loading['offset'+ this.ucwh]) / 2;
|
1046
|
-
case 'loadingPosXfade':
|
1047
|
-
return this.pos + this.cb+ this.p1 + (this.size - hs.loading['offset'+ this.ucwh]) / 2;
|
1048
|
-
case 'wsize':
|
1049
|
-
return this.size + 2 * this.cb + this.p1 + this.p2;
|
1050
|
-
case 'fitsize':
|
1051
|
-
return this.clientSize - this.marginMin - this.marginMax;
|
1052
|
-
case 'maxsize':
|
1053
|
-
return this.get('fitsize') - 2 * this.cb - this.p1 - this.p2 ;
|
1054
|
-
case 'opos':
|
1055
|
-
return this.pos - (this.exp.outline ? this.exp.outline.offset : 0);
|
1056
|
-
case 'osize':
|
1057
|
-
return this.get('wsize') + (this.exp.outline ? 2*this.exp.outline.offset : 0);
|
1058
|
-
case 'imgPad':
|
1059
|
-
return this.imgSize ? Math.round((this.size - this.imgSize) / 2) : 0;
|
1060
|
-
|
1061
|
-
}
|
1062
|
-
},
|
1063
|
-
calcBorders: function() {
|
1064
|
-
// correct for borders
|
1065
|
-
this.cb = (this.exp.content['offset'+ this.ucwh] - this.t) / 2;
|
1066
|
-
|
1067
|
-
this.marginMax = hs['margin'+ this.ucrb];
|
1068
|
-
},
|
1069
|
-
calcThumb: function() {
|
1070
|
-
this.t = this.exp.el[this.wh] ? parseInt(this.exp.el[this.wh]) :
|
1071
|
-
this.exp.el['offset'+ this.ucwh];
|
1072
|
-
this.tpos = this.exp.tpos[this.dim];
|
1073
|
-
this.tb = (this.exp.el['offset'+ this.ucwh] - this.t) / 2;
|
1074
|
-
if (this.tpos == 0 || this.tpos == -1) {
|
1075
|
-
this.tpos = (hs.page[this.wh] / 2) + hs.page['scroll'+ this.uclt];
|
1076
|
-
};
|
1077
|
-
},
|
1078
|
-
calcExpanded: function() {
|
1079
|
-
var exp = this.exp;
|
1080
|
-
this.justify = 'auto';
|
1081
|
-
|
1082
|
-
// get alignment
|
1083
|
-
if (exp.align == 'center') this.justify = 'center';
|
1084
|
-
else if (new RegExp(this.lt).test(exp.anchor)) this.justify = null;
|
1085
|
-
else if (new RegExp(this.rb).test(exp.anchor)) this.justify = 'max';
|
1086
|
-
|
1087
|
-
|
1088
|
-
// size and position
|
1089
|
-
this.pos = this.tpos - this.cb + this.tb;
|
1090
|
-
|
1091
|
-
if (this.maxHeight && this.dim == 'x')
|
1092
|
-
exp.maxWidth = Math.min(exp.maxWidth || this.full, exp.maxHeight * this.full / exp.y.full);
|
1093
|
-
|
1094
|
-
this.size = Math.min(this.full, exp['max'+ this.ucwh] || this.full);
|
1095
|
-
this.minSize = exp.allowSizeReduction ?
|
1096
|
-
Math.min(exp['min'+ this.ucwh], this.full) :this.full;
|
1097
|
-
if (exp.isImage && exp.useBox) {
|
1098
|
-
this.size = exp[this.wh];
|
1099
|
-
this.imgSize = this.full;
|
1100
|
-
}
|
1101
|
-
if (this.dim == 'x' && hs.padToMinWidth) this.minSize = exp.minWidth;
|
1102
|
-
this.target = exp['target'+ this.dim.toUpperCase()];
|
1103
|
-
this.marginMin = hs['margin'+ this.uclt];
|
1104
|
-
this.scroll = hs.page['scroll'+ this.uclt];
|
1105
|
-
this.clientSize = hs.page[this.wh];
|
1106
|
-
},
|
1107
|
-
setSize: function(i) {
|
1108
|
-
var exp = this.exp;
|
1109
|
-
if (exp.isImage && (exp.useBox || hs.padToMinWidth)) {
|
1110
|
-
this.imgSize = i;
|
1111
|
-
this.size = Math.max(this.size, this.imgSize);
|
1112
|
-
exp.content.style[this.lt] = this.get('imgPad')+'px';
|
1113
|
-
} else
|
1114
|
-
this.size = i;
|
1115
|
-
|
1116
|
-
exp.content.style[this.wh] = i +'px';
|
1117
|
-
exp.wrapper.style[this.wh] = this.get('wsize') +'px';
|
1118
|
-
if (exp.outline) exp.outline.setPosition();
|
1119
|
-
if (this.dim == 'x' && exp.overlayBox) exp.sizeOverlayBox(true);
|
1120
|
-
if (this.dim == 'x' && exp.slideshow && exp.isImage) {
|
1121
|
-
if (i == this.full) exp.slideshow.disable('full-expand');
|
1122
|
-
else exp.slideshow.enable('full-expand');
|
1123
|
-
}
|
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.isImage = !this.isHtml;
|
1145
|
-
|
1146
|
-
hs.continuePreloading = false;
|
1147
|
-
this.overlays = [];
|
1148
|
-
this.last = hs.last;
|
1149
|
-
hs.last = null;
|
1150
|
-
hs.init();
|
1151
|
-
var key = this.key = hs.expanders.length;
|
1152
|
-
// override inline parameters
|
1153
|
-
for (var i = 0; i < hs.overrides.length; i++) {
|
1154
|
-
var name = hs.overrides[i];
|
1155
|
-
this[name] = params && typeof params[name] != 'undefined' ?
|
1156
|
-
params[name] : hs[name];
|
1157
|
-
}
|
1158
|
-
if (!this.src) this.src = a.href;
|
1159
|
-
|
1160
|
-
// get thumb
|
1161
|
-
var el = (params && params.thumbnailId) ? hs.$(params.thumbnailId) : a;
|
1162
|
-
el = this.thumb = el.getElementsByTagName('img')[0] || el;
|
1163
|
-
this.thumbsUserSetId = el.id || a.id;
|
1164
|
-
|
1165
|
-
// check if already open
|
1166
|
-
for (var i = 0; i < hs.expanders.length; i++) {
|
1167
|
-
if (hs.expanders[i] && hs.expanders[i].a == a
|
1168
|
-
&& !(this.last && this.transitions[1] == 'crossfade')) {
|
1169
|
-
hs.expanders[i].focus();
|
1170
|
-
return false;
|
1171
|
-
}
|
1172
|
-
}
|
1173
|
-
|
1174
|
-
// cancel other
|
1175
|
-
if (!hs.allowSimultaneousLoading) for (var i = 0; i < hs.expanders.length; i++) {
|
1176
|
-
if (hs.expanders[i] && hs.expanders[i].thumb != el && !hs.expanders[i].onLoadStarted) {
|
1177
|
-
hs.expanders[i].cancelLoading();
|
1178
|
-
}
|
1179
|
-
}
|
1180
|
-
hs.expanders[key] = this;
|
1181
|
-
if (!hs.allowMultipleInstances && !hs.upcoming) {
|
1182
|
-
if (hs.expanders[key-1]) hs.expanders[key-1].close();
|
1183
|
-
if (typeof hs.focusKey != 'undefined' && hs.expanders[hs.focusKey])
|
1184
|
-
hs.expanders[hs.focusKey].close();
|
1185
|
-
}
|
1186
|
-
|
1187
|
-
// initiate metrics
|
1188
|
-
this.el = el;
|
1189
|
-
this.tpos = this.pageOrigin || hs.getPosition(el);
|
1190
|
-
hs.getPageSize();
|
1191
|
-
var x = this.x = new hs.Dimension(this, 'x');
|
1192
|
-
x.calcThumb();
|
1193
|
-
var y = this.y = new hs.Dimension(this, 'y');
|
1194
|
-
y.calcThumb();
|
1195
|
-
this.wrapper = hs.createElement(
|
1196
|
-
'div', {
|
1197
|
-
id: 'highslide-wrapper-'+ this.key,
|
1198
|
-
className: 'highslide-wrapper '+ this.wrapperClassName
|
1199
|
-
}, {
|
1200
|
-
visibility: 'hidden',
|
1201
|
-
position: 'absolute',
|
1202
|
-
zIndex: hs.zIndexCounter += 2
|
1203
|
-
}, null, true );
|
1204
|
-
|
1205
|
-
this.wrapper.onmouseover = this.wrapper.onmouseout = hs.wrapperMouseHandler;
|
1206
|
-
if (this.contentType == 'image' && this.outlineWhileAnimating == 2)
|
1207
|
-
this.outlineWhileAnimating = 0;
|
1208
|
-
|
1209
|
-
// get the outline
|
1210
|
-
if (!this.outlineType
|
1211
|
-
|| (this.last && this.isImage && this.transitions[1] == 'crossfade')) {
|
1212
|
-
this[this.contentType +'Create']();
|
1213
|
-
|
1214
|
-
} else if (hs.pendingOutlines[this.outlineType]) {
|
1215
|
-
this.connectOutline();
|
1216
|
-
this[this.contentType +'Create']();
|
1217
|
-
|
1218
|
-
} else {
|
1219
|
-
this.showLoading();
|
1220
|
-
var exp = this;
|
1221
|
-
new hs.Outline(this.outlineType,
|
1222
|
-
function () {
|
1223
|
-
exp.connectOutline();
|
1224
|
-
exp[exp.contentType +'Create']();
|
1225
|
-
}
|
1226
|
-
);
|
1227
|
-
}
|
1228
|
-
return true;
|
1229
|
-
};
|
1230
|
-
|
1231
|
-
hs.Expander.prototype = {
|
1232
|
-
error : function(e) {
|
1233
|
-
if (hs.debug) alert ('Line '+ e.lineNumber +': '+ e.message);
|
1234
|
-
else window.location.href = this.src;
|
1235
|
-
},
|
1236
|
-
|
1237
|
-
connectOutline : function() {
|
1238
|
-
var outline = this.outline = hs.pendingOutlines[this.outlineType];
|
1239
|
-
outline.exp = this;
|
1240
|
-
outline.table.style.zIndex = this.wrapper.style.zIndex - 1;
|
1241
|
-
hs.pendingOutlines[this.outlineType] = null;
|
1242
|
-
},
|
1243
|
-
|
1244
|
-
showLoading : function() {
|
1245
|
-
if (this.onLoadStarted || this.loading) return;
|
1246
|
-
|
1247
|
-
this.loading = hs.loading;
|
1248
|
-
var exp = this;
|
1249
|
-
this.loading.onclick = function() {
|
1250
|
-
exp.cancelLoading();
|
1251
|
-
};
|
1252
|
-
var exp = this,
|
1253
|
-
l = this.x.get('loadingPos') +'px',
|
1254
|
-
t = this.y.get('loadingPos') +'px';
|
1255
|
-
if (!tgt && this.last && this.transitions[1] == 'crossfade')
|
1256
|
-
var tgt = this.last;
|
1257
|
-
if (tgt) {
|
1258
|
-
l = tgt.x.get('loadingPosXfade') +'px';
|
1259
|
-
t = tgt.y.get('loadingPosXfade') +'px';
|
1260
|
-
this.loading.style.zIndex = hs.zIndexCounter++;
|
1261
|
-
}
|
1262
|
-
setTimeout(function () {
|
1263
|
-
if (exp.loading) hs.setStyles(exp.loading, { left: l, top: t, zIndex: hs.zIndexCounter++ })}
|
1264
|
-
, 100);
|
1265
|
-
},
|
1266
|
-
|
1267
|
-
imageCreate : function() {
|
1268
|
-
var exp = this;
|
1269
|
-
|
1270
|
-
var img = document.createElement('img');
|
1271
|
-
this.content = img;
|
1272
|
-
img.onload = function () {
|
1273
|
-
if (hs.expanders[exp.key]) exp.contentLoaded();
|
1274
|
-
};
|
1275
|
-
if (hs.blockRightClick) img.oncontextmenu = function() { return false; };
|
1276
|
-
img.className = 'highslide-image';
|
1277
|
-
hs.setStyles(img, {
|
1278
|
-
visibility: 'hidden',
|
1279
|
-
display: 'block',
|
1280
|
-
position: 'absolute',
|
1281
|
-
maxWidth: '9999px',
|
1282
|
-
zIndex: 3
|
1283
|
-
});
|
1284
|
-
img.title = hs.lang.restoreTitle;
|
1285
|
-
if (hs.safari && hs.uaVersion < 525) hs.container.appendChild(img);
|
1286
|
-
if (hs.ie && hs.flushImgSize) img.src = null;
|
1287
|
-
img.src = this.src;
|
1288
|
-
|
1289
|
-
this.showLoading();
|
1290
|
-
},
|
1291
|
-
|
1292
|
-
contentLoaded : function() {
|
1293
|
-
try {
|
1294
|
-
if (!this.content) return;
|
1295
|
-
this.content.onload = null;
|
1296
|
-
if (this.onLoadStarted) return;
|
1297
|
-
else this.onLoadStarted = true;
|
1298
|
-
|
1299
|
-
var x = this.x, y = this.y;
|
1300
|
-
|
1301
|
-
if (this.loading) {
|
1302
|
-
hs.setStyles(this.loading, { top: '-9999px' });
|
1303
|
-
this.loading = null;
|
1304
|
-
}
|
1305
|
-
x.full = this.content.width;
|
1306
|
-
y.full = this.content.height;
|
1307
|
-
|
1308
|
-
hs.setStyles(this.content, {
|
1309
|
-
width: x.t +'px',
|
1310
|
-
height: y.t +'px'
|
1311
|
-
});
|
1312
|
-
this.wrapper.appendChild(this.content);
|
1313
|
-
hs.container.appendChild(this.wrapper);
|
1314
|
-
|
1315
|
-
x.calcBorders();
|
1316
|
-
y.calcBorders();
|
1317
|
-
|
1318
|
-
hs.setStyles (this.wrapper, {
|
1319
|
-
left: (x.tpos + x.tb - x.cb) +'px',
|
1320
|
-
top: (y.tpos + x.tb - y.cb) +'px'
|
1321
|
-
});
|
1322
|
-
|
1323
|
-
|
1324
|
-
this.initSlideshow();
|
1325
|
-
this.getOverlays();
|
1326
|
-
|
1327
|
-
var ratio = x.full / y.full;
|
1328
|
-
x.calcExpanded();
|
1329
|
-
this.justify(x);
|
1330
|
-
|
1331
|
-
y.calcExpanded();
|
1332
|
-
this.justify(y);
|
1333
|
-
if (this.overlayBox) this.sizeOverlayBox(0, 1);
|
1334
|
-
|
1335
|
-
|
1336
|
-
if (this.allowSizeReduction) {
|
1337
|
-
this.correctRatio(ratio);
|
1338
|
-
var ss = this.slideshow;
|
1339
|
-
if (ss && this.last && ss.controls && ss.fixedControls) {
|
1340
|
-
var pos = ss.overlayOptions.position || '', p;
|
1341
|
-
for (var dim in hs.oPos) for (var i = 0; i < 5; i++) {
|
1342
|
-
p = this[dim];
|
1343
|
-
if (pos.match(hs.oPos[dim][i])) {
|
1344
|
-
p.pos = this.last[dim].pos
|
1345
|
-
+ (this.last[dim].p1 - p.p1)
|
1346
|
-
+ (this.last[dim].size - p.size) * [0, 0, .5, 1, 1][i];
|
1347
|
-
if (ss.fixedControls == 'fit') {
|
1348
|
-
if (p.pos + p.size + p.p1 + p.p2 > p.scroll + p.clientSize - p.marginMax)
|
1349
|
-
p.pos = p.scroll + p.clientSize - p.size - p.marginMin - p.marginMax - p.p1 - p.p2;
|
1350
|
-
if (p.pos < p.scroll + p.marginMin) p.pos = p.scroll + p.marginMin;
|
1351
|
-
}
|
1352
|
-
}
|
1353
|
-
}
|
1354
|
-
}
|
1355
|
-
if (this.isImage && this.x.full > (this.x.imgSize || this.x.size)) {
|
1356
|
-
this.createFullExpand();
|
1357
|
-
if (this.overlays.length == 1) this.sizeOverlayBox();
|
1358
|
-
}
|
1359
|
-
}
|
1360
|
-
this.show();
|
1361
|
-
|
1362
|
-
} catch (e) {
|
1363
|
-
this.error(e);
|
1364
|
-
}
|
1365
|
-
},
|
1366
|
-
|
1367
|
-
justify : function (p, moveOnly) {
|
1368
|
-
var tgtArr, tgt = p.target, dim = p == this.x ? 'x' : 'y';
|
1369
|
-
|
1370
|
-
if (tgt && tgt.match(/ /)) {
|
1371
|
-
tgtArr = tgt.split(' ');
|
1372
|
-
tgt = tgtArr[0];
|
1373
|
-
}
|
1374
|
-
if (tgt && hs.$(tgt)) {
|
1375
|
-
p.pos = hs.getPosition(hs.$(tgt))[dim];
|
1376
|
-
if (tgtArr && tgtArr[1] && tgtArr[1].match(/^[-]?[0-9]+px$/))
|
1377
|
-
p.pos += parseInt(tgtArr[1]);
|
1378
|
-
if (p.size < p.minSize) p.size = p.minSize;
|
1379
|
-
|
1380
|
-
} else if (p.justify == 'auto' || p.justify == 'center') {
|
1381
|
-
|
1382
|
-
var hasMovedMin = false;
|
1383
|
-
|
1384
|
-
var allowReduce = p.exp.allowSizeReduction;
|
1385
|
-
if (p.justify == 'center')
|
1386
|
-
p.pos = Math.round(p.scroll + (p.clientSize + p.marginMin - p.marginMax - p.get('wsize')) / 2);
|
1387
|
-
else
|
1388
|
-
p.pos = Math.round(p.pos - ((p.get('wsize') - p.t) / 2));
|
1389
|
-
if (p.pos < p.scroll + p.marginMin) {
|
1390
|
-
p.pos = p.scroll + p.marginMin;
|
1391
|
-
hasMovedMin = true;
|
1392
|
-
}
|
1393
|
-
if (!moveOnly && p.size < p.minSize) {
|
1394
|
-
p.size = p.minSize;
|
1395
|
-
allowReduce = false;
|
1396
|
-
}
|
1397
|
-
if (p.pos + p.get('wsize') > p.scroll + p.clientSize - p.marginMax) {
|
1398
|
-
if (!moveOnly && hasMovedMin && allowReduce) {
|
1399
|
-
p.size = Math.min(p.size, p.get(dim == 'y' ? 'fitsize' : 'maxsize'));
|
1400
|
-
} else if (p.get('wsize') < p.get('fitsize')) {
|
1401
|
-
p.pos = p.scroll + p.clientSize - p.marginMax - p.get('wsize');
|
1402
|
-
} else { // image larger than viewport
|
1403
|
-
p.pos = p.scroll + p.marginMin;
|
1404
|
-
if (!moveOnly && allowReduce) p.size = p.get(dim == 'y' ? 'fitsize' : 'maxsize');
|
1405
|
-
}
|
1406
|
-
}
|
1407
|
-
|
1408
|
-
if (!moveOnly && p.size < p.minSize) {
|
1409
|
-
p.size = p.minSize;
|
1410
|
-
allowReduce = false;
|
1411
|
-
}
|
1412
|
-
|
1413
|
-
|
1414
|
-
} else if (p.justify == 'max') {
|
1415
|
-
p.pos = Math.floor(p.pos - p.size + p.t);
|
1416
|
-
}
|
1417
|
-
|
1418
|
-
|
1419
|
-
if (p.pos < p.marginMin) {
|
1420
|
-
var tmpMin = p.pos;
|
1421
|
-
p.pos = p.marginMin;
|
1422
|
-
|
1423
|
-
if (allowReduce && !moveOnly) p.size = p.size - (p.pos - tmpMin);
|
1424
|
-
|
1425
|
-
}
|
1426
|
-
},
|
1427
|
-
|
1428
|
-
correctRatio : function(ratio) {
|
1429
|
-
var x = this.x,
|
1430
|
-
y = this.y,
|
1431
|
-
changed = false,
|
1432
|
-
xSize = Math.min(x.full, x.size),
|
1433
|
-
ySize = Math.min(y.full, y.size),
|
1434
|
-
useBox = (this.useBox || hs.padToMinWidth);
|
1435
|
-
|
1436
|
-
if (xSize / ySize > ratio) { // width greater
|
1437
|
-
xSize = ySize * ratio;
|
1438
|
-
if (xSize < x.minSize) { // below minWidth
|
1439
|
-
xSize = x.minSize;
|
1440
|
-
ySize = xSize / ratio;
|
1441
|
-
}
|
1442
|
-
changed = true;
|
1443
|
-
|
1444
|
-
} else if (xSize / ySize < ratio) { // height greater
|
1445
|
-
ySize = xSize / ratio;
|
1446
|
-
changed = true;
|
1447
|
-
}
|
1448
|
-
|
1449
|
-
if (hs.padToMinWidth && x.full < x.minSize) {
|
1450
|
-
x.imgSize = x.full;
|
1451
|
-
y.size = y.imgSize = y.full;
|
1452
|
-
} else if (this.useBox) {
|
1453
|
-
x.imgSize = xSize;
|
1454
|
-
y.imgSize = ySize;
|
1455
|
-
} else {
|
1456
|
-
x.size = xSize;
|
1457
|
-
y.size = ySize;
|
1458
|
-
}
|
1459
|
-
changed = this.fitOverlayBox(this.useBox ? null : ratio, changed);
|
1460
|
-
if (useBox && y.size < y.imgSize) {
|
1461
|
-
y.imgSize = y.size;
|
1462
|
-
x.imgSize = y.size * ratio;
|
1463
|
-
}
|
1464
|
-
if (changed || useBox) {
|
1465
|
-
x.pos = x.tpos - x.cb + x.tb;
|
1466
|
-
x.minSize = x.size;
|
1467
|
-
this.justify(x, true);
|
1468
|
-
|
1469
|
-
y.pos = y.tpos - y.cb + y.tb;
|
1470
|
-
y.minSize = y.size;
|
1471
|
-
this.justify(y, true);
|
1472
|
-
if (this.overlayBox) this.sizeOverlayBox();
|
1473
|
-
}
|
1474
|
-
|
1475
|
-
|
1476
|
-
},
|
1477
|
-
fitOverlayBox : function(ratio, changed) {
|
1478
|
-
var x = this.x, y = this.y;
|
1479
|
-
if (this.overlayBox) {
|
1480
|
-
while (y.size > this.minHeight && x.size > this.minWidth
|
1481
|
-
&& y.get('wsize') > y.get('fitsize')) {
|
1482
|
-
y.size -= 10;
|
1483
|
-
if (ratio) x.size = y.size * ratio;
|
1484
|
-
this.sizeOverlayBox(0, 1);
|
1485
|
-
changed = true;
|
1486
|
-
}
|
1487
|
-
}
|
1488
|
-
return changed;
|
1489
|
-
},
|
1490
|
-
|
1491
|
-
show : function () {
|
1492
|
-
var x = this.x, y = this.y;
|
1493
|
-
this.doShowHide('hidden');
|
1494
|
-
if (this.slideshow && this.slideshow.thumbstrip) this.slideshow.thumbstrip.selectThumb();
|
1495
|
-
|
1496
|
-
// Apply size change
|
1497
|
-
this.changeSize(
|
1498
|
-
1, {
|
1499
|
-
wrapper: {
|
1500
|
-
width : x.get('wsize'),
|
1501
|
-
height : y.get('wsize'),
|
1502
|
-
left: x.pos,
|
1503
|
-
top: y.pos
|
1504
|
-
},
|
1505
|
-
content: {
|
1506
|
-
left: x.p1 + x.get('imgPad'),
|
1507
|
-
top: y.p1 + y.get('imgPad'),
|
1508
|
-
width:x.imgSize ||x.size,
|
1509
|
-
height:y.imgSize ||y.size
|
1510
|
-
}
|
1511
|
-
},
|
1512
|
-
hs.expandDuration
|
1513
|
-
);
|
1514
|
-
},
|
1515
|
-
|
1516
|
-
changeSize : function(up, to, dur) {
|
1517
|
-
// transition
|
1518
|
-
var trans = this.transitions,
|
1519
|
-
other = up ? (this.last ? this.last.a : null) : hs.upcoming,
|
1520
|
-
t = (trans[1] && other
|
1521
|
-
&& hs.getParam(other, 'transitions')[1] == trans[1]) ?
|
1522
|
-
trans[1] : trans[0];
|
1523
|
-
|
1524
|
-
if (this[t] && t != 'expand') {
|
1525
|
-
this[t](up, to);
|
1526
|
-
return;
|
1527
|
-
}
|
1528
|
-
|
1529
|
-
if (this.outline && !this.outlineWhileAnimating) {
|
1530
|
-
if (up) this.outline.setPosition();
|
1531
|
-
else this.outline.destroy();
|
1532
|
-
}
|
1533
|
-
|
1534
|
-
|
1535
|
-
if (!up) this.destroyOverlays();
|
1536
|
-
|
1537
|
-
var exp = this,
|
1538
|
-
x = exp.x,
|
1539
|
-
y = exp.y,
|
1540
|
-
easing = this.easing;
|
1541
|
-
if (!up) easing = this.easingClose || easing;
|
1542
|
-
var after = up ?
|
1543
|
-
function() {
|
1544
|
-
|
1545
|
-
if (exp.outline) exp.outline.table.style.visibility = "visible";
|
1546
|
-
setTimeout(function() {
|
1547
|
-
exp.afterExpand();
|
1548
|
-
}, 50);
|
1549
|
-
} :
|
1550
|
-
function() {
|
1551
|
-
exp.afterClose();
|
1552
|
-
};
|
1553
|
-
if (up) hs.setStyles( this.wrapper, {
|
1554
|
-
width: x.t +'px',
|
1555
|
-
height: y.t +'px'
|
1556
|
-
});
|
1557
|
-
if (this.fadeInOut) {
|
1558
|
-
hs.setStyles(this.wrapper, { opacity: up ? 0 : 1 });
|
1559
|
-
hs.extend(to.wrapper, { opacity: up });
|
1560
|
-
}
|
1561
|
-
hs.animate( this.wrapper, to.wrapper, {
|
1562
|
-
duration: dur,
|
1563
|
-
easing: easing,
|
1564
|
-
step: function(val, args) {
|
1565
|
-
if (exp.outline && exp.outlineWhileAnimating && args.prop == 'top') {
|
1566
|
-
var fac = up ? args.pos : 1 - args.pos;
|
1567
|
-
var pos = {
|
1568
|
-
w: x.t + (x.get('wsize') - x.t) * fac,
|
1569
|
-
h: y.t + (y.get('wsize') - y.t) * fac,
|
1570
|
-
x: x.tpos + (x.pos - x.tpos) * fac,
|
1571
|
-
y: y.tpos + (y.pos - y.tpos) * fac
|
1572
|
-
};
|
1573
|
-
exp.outline.setPosition(pos, 0, 1);
|
1574
|
-
}
|
1575
|
-
}
|
1576
|
-
});
|
1577
|
-
hs.animate( this.content, to.content, dur, easing, after);
|
1578
|
-
if (up) {
|
1579
|
-
this.wrapper.style.visibility = 'visible';
|
1580
|
-
this.content.style.visibility = 'visible';
|
1581
|
-
this.a.className += ' highslide-active-anchor';
|
1582
|
-
}
|
1583
|
-
},
|
1584
|
-
|
1585
|
-
|
1586
|
-
|
1587
|
-
fade : function(up, to) {
|
1588
|
-
this.outlineWhileAnimating = false;
|
1589
|
-
var exp = this, t = up ? hs.expandDuration : 0;
|
1590
|
-
|
1591
|
-
if (up) {
|
1592
|
-
hs.animate(this.wrapper, to.wrapper, 0);
|
1593
|
-
hs.setStyles(this.wrapper, { opacity: 0, visibility: 'visible' });
|
1594
|
-
hs.animate(this.content, to.content, 0);
|
1595
|
-
this.content.style.visibility = 'visible';
|
1596
|
-
|
1597
|
-
hs.animate(this.wrapper, { opacity: 1 }, t, null,
|
1598
|
-
function() { exp.afterExpand(); });
|
1599
|
-
}
|
1600
|
-
|
1601
|
-
if (this.outline) {
|
1602
|
-
this.outline.table.style.zIndex = this.wrapper.style.zIndex;
|
1603
|
-
var dir = up || -1,
|
1604
|
-
offset = this.outline.offset,
|
1605
|
-
startOff = up ? 3 : offset,
|
1606
|
-
endOff = up? offset : 3;
|
1607
|
-
for (var i = startOff; dir * i <= dir * endOff; i += dir, t += 25) {
|
1608
|
-
(function() {
|
1609
|
-
var o = up ? endOff - i : startOff - i;
|
1610
|
-
setTimeout(function() {
|
1611
|
-
exp.outline.setPosition(0, o, 1);
|
1612
|
-
}, t);
|
1613
|
-
})();
|
1614
|
-
}
|
1615
|
-
}
|
1616
|
-
|
1617
|
-
|
1618
|
-
if (up) {}//setTimeout(function() { exp.afterExpand(); }, t+50);
|
1619
|
-
else {
|
1620
|
-
setTimeout( function() {
|
1621
|
-
if (exp.outline) exp.outline.destroy(exp.preserveContent);
|
1622
|
-
|
1623
|
-
exp.destroyOverlays();
|
1624
|
-
|
1625
|
-
hs.animate( exp.wrapper, { opacity: 0 }, hs.restoreDuration, null, function(){
|
1626
|
-
exp.afterClose();
|
1627
|
-
});
|
1628
|
-
}, t);
|
1629
|
-
}
|
1630
|
-
},
|
1631
|
-
crossfade : function (up, to, from) {
|
1632
|
-
if (!up) return;
|
1633
|
-
var exp = this,
|
1634
|
-
last = this.last,
|
1635
|
-
x = this.x,
|
1636
|
-
y = this.y,
|
1637
|
-
lastX = last.x,
|
1638
|
-
lastY = last.y,
|
1639
|
-
wrapper = this.wrapper,
|
1640
|
-
content = this.content,
|
1641
|
-
overlayBox = this.overlayBox;
|
1642
|
-
hs.removeEventListener(document, 'mousemove', hs.dragHandler);
|
1643
|
-
|
1644
|
-
hs.setStyles(content, {
|
1645
|
-
width: (x.imgSize || x.size) +'px',
|
1646
|
-
height: (y.imgSize || y.size) +'px'
|
1647
|
-
});
|
1648
|
-
if (overlayBox) overlayBox.style.overflow = 'visible';
|
1649
|
-
this.outline = last.outline;
|
1650
|
-
if (this.outline) this.outline.exp = exp;
|
1651
|
-
last.outline = null;
|
1652
|
-
var fadeBox = hs.createElement('div', {
|
1653
|
-
className: 'highslide-'+ this.contentType
|
1654
|
-
}, {
|
1655
|
-
position: 'absolute',
|
1656
|
-
zIndex: 4,
|
1657
|
-
overflow: 'hidden',
|
1658
|
-
display: 'none'
|
1659
|
-
}
|
1660
|
-
);
|
1661
|
-
var names = { oldImg: last, newImg: this };
|
1662
|
-
for (var n in names) {
|
1663
|
-
this[n] = names[n].content.cloneNode(1);
|
1664
|
-
hs.setStyles(this[n], {
|
1665
|
-
position: 'absolute',
|
1666
|
-
border: 0,
|
1667
|
-
visibility: 'visible'
|
1668
|
-
});
|
1669
|
-
fadeBox.appendChild(this[n]);
|
1670
|
-
}
|
1671
|
-
wrapper.appendChild(fadeBox);
|
1672
|
-
if (overlayBox) {
|
1673
|
-
overlayBox.className = '';
|
1674
|
-
wrapper.appendChild(overlayBox);
|
1675
|
-
}
|
1676
|
-
fadeBox.style.display = '';
|
1677
|
-
last.content.style.display = 'none';
|
1678
|
-
|
1679
|
-
|
1680
|
-
if (hs.safari && hs.uaVersion < 525) {
|
1681
|
-
this.wrapper.style.visibility = 'visible';
|
1682
|
-
}
|
1683
|
-
hs.animate(wrapper, {
|
1684
|
-
width: x.size
|
1685
|
-
}, {
|
1686
|
-
duration: hs.transitionDuration,
|
1687
|
-
step: function(val, args) {
|
1688
|
-
var pos = args.pos,
|
1689
|
-
invPos = 1 - pos;
|
1690
|
-
var prop,
|
1691
|
-
size = {},
|
1692
|
-
props = ['pos', 'size', 'p1', 'p2'];
|
1693
|
-
for (var n in props) {
|
1694
|
-
prop = props[n];
|
1695
|
-
size['x'+ prop] = Math.round(invPos * lastX[prop] + pos * x[prop]);
|
1696
|
-
size['y'+ prop] = Math.round(invPos * lastY[prop] + pos * y[prop]);
|
1697
|
-
size.ximgSize = Math.round(
|
1698
|
-
invPos * (lastX.imgSize || lastX.size) + pos * (x.imgSize || x.size));
|
1699
|
-
size.ximgPad = Math.round(invPos * lastX.get('imgPad') + pos * x.get('imgPad'));
|
1700
|
-
size.yimgSize = Math.round(
|
1701
|
-
invPos * (lastY.imgSize || lastY.size) + pos * (y.imgSize || y.size));
|
1702
|
-
size.yimgPad = Math.round(invPos * lastY.get('imgPad') + pos * y.get('imgPad'));
|
1703
|
-
}
|
1704
|
-
if (exp.outline) exp.outline.setPosition({
|
1705
|
-
x: size.xpos,
|
1706
|
-
y: size.ypos,
|
1707
|
-
w: size.xsize + size.xp1 + size.xp2 + 2 * x.cb,
|
1708
|
-
h: size.ysize + size.yp1 + size.yp2 + 2 * y.cb
|
1709
|
-
});
|
1710
|
-
last.wrapper.style.clip = 'rect('
|
1711
|
-
+ (size.ypos - lastY.pos)+'px, '
|
1712
|
-
+ (size.xsize + size.xp1 + size.xp2 + size.xpos + 2 * lastX.cb - lastX.pos) +'px, '
|
1713
|
-
+ (size.ysize + size.yp1 + size.yp2 + size.ypos + 2 * lastY.cb - lastY.pos) +'px, '
|
1714
|
-
+ (size.xpos - lastX.pos)+'px)';
|
1715
|
-
|
1716
|
-
hs.setStyles(content, {
|
1717
|
-
top: (size.yp1 + y.get('imgPad')) +'px',
|
1718
|
-
left: (size.xp1 + x.get('imgPad')) +'px',
|
1719
|
-
marginTop: (y.pos - size.ypos) +'px',
|
1720
|
-
marginLeft: (x.pos - size.xpos) +'px'
|
1721
|
-
});
|
1722
|
-
hs.setStyles(wrapper, {
|
1723
|
-
top: size.ypos +'px',
|
1724
|
-
left: size.xpos +'px',
|
1725
|
-
width: (size.xp1 + size.xp2 + size.xsize + 2 * x.cb)+ 'px',
|
1726
|
-
height: (size.yp1 + size.yp2 + size.ysize + 2 * y.cb) + 'px'
|
1727
|
-
});
|
1728
|
-
hs.setStyles(fadeBox, {
|
1729
|
-
width: (size.ximgSize || size.xsize) + 'px',
|
1730
|
-
height: (size.yimgSize || size.ysize) +'px',
|
1731
|
-
left: (size.xp1 + size.ximgPad) +'px',
|
1732
|
-
top: (size.yp1 + size.yimgPad) +'px',
|
1733
|
-
visibility: 'visible'
|
1734
|
-
});
|
1735
|
-
|
1736
|
-
hs.setStyles(exp.oldImg, {
|
1737
|
-
top: (lastY.pos - size.ypos + lastY.p1 - size.yp1 + lastY.get('imgPad') - size.yimgPad)+'px',
|
1738
|
-
left: (lastX.pos - size.xpos + lastX.p1 - size.xp1 + lastX.get('imgPad') - size.ximgPad)+'px'
|
1739
|
-
});
|
1740
|
-
|
1741
|
-
hs.setStyles(exp.newImg, {
|
1742
|
-
opacity: pos,
|
1743
|
-
top: (y.pos - size.ypos + y.p1 - size.yp1 + y.get('imgPad') - size.yimgPad) +'px',
|
1744
|
-
left: (x.pos - size.xpos + x.p1 - size.xp1 + x.get('imgPad') - size.ximgPad) +'px'
|
1745
|
-
});
|
1746
|
-
if (overlayBox) hs.setStyles(overlayBox, {
|
1747
|
-
width: size.xsize + 'px',
|
1748
|
-
height: size.ysize +'px',
|
1749
|
-
left: (size.xp1 + x.cb) +'px',
|
1750
|
-
top: (size.yp1 + y.cb) +'px'
|
1751
|
-
});
|
1752
|
-
},
|
1753
|
-
complete: function () {
|
1754
|
-
wrapper.style.visibility = content.style.visibility = 'visible';
|
1755
|
-
content.style.display = 'block';
|
1756
|
-
hs.discardElement(fadeBox);
|
1757
|
-
exp.afterExpand();
|
1758
|
-
last.afterClose();
|
1759
|
-
exp.last = null;
|
1760
|
-
}
|
1761
|
-
|
1762
|
-
});
|
1763
|
-
},
|
1764
|
-
reuseOverlay : function(o, el) {
|
1765
|
-
if (!this.last) return false;
|
1766
|
-
for (var i = 0; i < this.last.overlays.length; i++) {
|
1767
|
-
var oDiv = hs.$('hsId'+ this.last.overlays[i]);
|
1768
|
-
if (oDiv && oDiv.hsId == o.hsId) {
|
1769
|
-
this.genOverlayBox();
|
1770
|
-
oDiv.reuse = this.key;
|
1771
|
-
hs.push(this.overlays, this.last.overlays[i]);
|
1772
|
-
return true;
|
1773
|
-
}
|
1774
|
-
}
|
1775
|
-
return false;
|
1776
|
-
},
|
1777
|
-
|
1778
|
-
|
1779
|
-
afterExpand : function() {
|
1780
|
-
this.isExpanded = true;
|
1781
|
-
this.focus();
|
1782
|
-
if (this.dimmingOpacity) hs.dim(this);
|
1783
|
-
if (hs.upcoming && hs.upcoming == this.a) hs.upcoming = null;
|
1784
|
-
this.prepareNextOutline();
|
1785
|
-
var p = hs.page, mX = hs.mouse.x + p.scrollLeft, mY = hs.mouse.y + p.scrollTop;
|
1786
|
-
this.mouseIsOver = this.x.pos < mX && mX < this.x.pos + this.x.get('wsize')
|
1787
|
-
&& this.y.pos < mY && mY < this.y.pos + this.y.get('wsize');
|
1788
|
-
if (this.overlayBox) this.showOverlays();
|
1789
|
-
|
1790
|
-
},
|
1791
|
-
|
1792
|
-
|
1793
|
-
prepareNextOutline : function() {
|
1794
|
-
var key = this.key;
|
1795
|
-
var outlineType = this.outlineType;
|
1796
|
-
new hs.Outline(outlineType,
|
1797
|
-
function () { try { hs.expanders[key].preloadNext(); } catch (e) {} });
|
1798
|
-
},
|
1799
|
-
|
1800
|
-
|
1801
|
-
preloadNext : function() {
|
1802
|
-
var next = this.getAdjacentAnchor(1);
|
1803
|
-
if (next && next.onclick.toString().match(/hs\.expand/))
|
1804
|
-
var img = hs.createElement('img', { src: hs.getSrc(next) });
|
1805
|
-
},
|
1806
|
-
|
1807
|
-
|
1808
|
-
getAdjacentAnchor : function(op) {
|
1809
|
-
var current = this.getAnchorIndex(), as = hs.anchors.groups[this.slideshowGroup || 'none'];
|
1810
|
-
if (as && !as[current + op] && this.slideshow && this.slideshow.repeat) {
|
1811
|
-
if (op == 1) return as[0];
|
1812
|
-
else if (op == -1) return as[as.length-1];
|
1813
|
-
}
|
1814
|
-
return (as && as[current + op]) || null;
|
1815
|
-
},
|
1816
|
-
|
1817
|
-
getAnchorIndex : function() {
|
1818
|
-
var arr = hs.getAnchors().groups[this.slideshowGroup || 'none'];
|
1819
|
-
if (arr) for (var i = 0; i < arr.length; i++) {
|
1820
|
-
if (arr[i] == this.a) return i;
|
1821
|
-
}
|
1822
|
-
return null;
|
1823
|
-
},
|
1824
|
-
|
1825
|
-
|
1826
|
-
getNumber : function() {
|
1827
|
-
if (this[this.numberPosition]) {
|
1828
|
-
var arr = hs.anchors.groups[this.slideshowGroup || 'none'];
|
1829
|
-
if (arr) {
|
1830
|
-
var s = hs.lang.number.replace('%1', this.getAnchorIndex() + 1).replace('%2', arr.length);
|
1831
|
-
this[this.numberPosition].innerHTML =
|
1832
|
-
'<div class="highslide-number">'+ s +'</div>'+ this[this.numberPosition].innerHTML;
|
1833
|
-
}
|
1834
|
-
}
|
1835
|
-
},
|
1836
|
-
initSlideshow : function() {
|
1837
|
-
if (!this.last) {
|
1838
|
-
for (var i = 0; i < hs.slideshows.length; i++) {
|
1839
|
-
var ss = hs.slideshows[i], sg = ss.slideshowGroup;
|
1840
|
-
if (typeof sg == 'undefined' || sg === null || sg === this.slideshowGroup)
|
1841
|
-
this.slideshow = new hs.Slideshow(this.key, ss);
|
1842
|
-
}
|
1843
|
-
} else {
|
1844
|
-
this.slideshow = this.last.slideshow;
|
1845
|
-
}
|
1846
|
-
var ss = this.slideshow;
|
1847
|
-
if (!ss) return;
|
1848
|
-
var key = ss.expKey = this.key;
|
1849
|
-
|
1850
|
-
ss.checkFirstAndLast();
|
1851
|
-
ss.disable('full-expand');
|
1852
|
-
if (ss.controls) {
|
1853
|
-
this.createOverlay(hs.extend(ss.overlayOptions || {}, {
|
1854
|
-
overlayId: ss.controls,
|
1855
|
-
hsId: 'controls',
|
1856
|
-
zIndex: 5
|
1857
|
-
}));
|
1858
|
-
}
|
1859
|
-
if (ss.thumbstrip) ss.thumbstrip.add(this);
|
1860
|
-
if (!this.last && this.autoplay) ss.play(true);
|
1861
|
-
if (ss.autoplay) {
|
1862
|
-
ss.autoplay = setTimeout(function() {
|
1863
|
-
hs.next(key);
|
1864
|
-
}, (ss.interval || 500));
|
1865
|
-
}
|
1866
|
-
},
|
1867
|
-
|
1868
|
-
cancelLoading : function() {
|
1869
|
-
hs.discardElement (this.wrapper);
|
1870
|
-
hs.expanders[this.key] = null;
|
1871
|
-
if (hs.upcoming == this.a) hs.upcoming = null;
|
1872
|
-
hs.undim(this.key);
|
1873
|
-
if (this.loading) hs.loading.style.left = '-9999px';
|
1874
|
-
},
|
1875
|
-
|
1876
|
-
writeCredits : function () {
|
1877
|
-
if (this.credits) return;
|
1878
|
-
this.credits = hs.createElement('a', {
|
1879
|
-
href: hs.creditsHref,
|
1880
|
-
target: hs.creditsTarget,
|
1881
|
-
className: 'highslide-credits',
|
1882
|
-
innerHTML: hs.lang.creditsText,
|
1883
|
-
title: hs.lang.creditsTitle
|
1884
|
-
});
|
1885
|
-
this.createOverlay({
|
1886
|
-
overlayId: this.credits,
|
1887
|
-
position: this.creditsPosition || 'top left',
|
1888
|
-
hsId: 'credits'
|
1889
|
-
});
|
1890
|
-
},
|
1891
|
-
|
1892
|
-
getInline : function(types, addOverlay) {
|
1893
|
-
for (var i = 0; i < types.length; i++) {
|
1894
|
-
var type = types[i], s = null;
|
1895
|
-
if (!this[type +'Id'] && this.thumbsUserSetId)
|
1896
|
-
this[type +'Id'] = type +'-for-'+ this.thumbsUserSetId;
|
1897
|
-
if (this[type +'Id']) this[type] = hs.getNode(this[type +'Id']);
|
1898
|
-
if (!this[type] && !this[type +'Text'] && this[type +'Eval']) try {
|
1899
|
-
s = eval(this[type +'Eval']);
|
1900
|
-
} catch (e) {}
|
1901
|
-
if (!this[type] && this[type +'Text']) {
|
1902
|
-
s = this[type +'Text'];
|
1903
|
-
}
|
1904
|
-
if (!this[type] && !s) {
|
1905
|
-
this[type] = hs.getNode(this.a['_'+ type + 'Id']);
|
1906
|
-
if (!this[type]) {
|
1907
|
-
var next = this.a.nextSibling;
|
1908
|
-
while (next && !hs.isHsAnchor(next)) {
|
1909
|
-
if ((new RegExp('highslide-'+ type)).test(next.className || null)) {
|
1910
|
-
if (!next.id) this.a['_'+ type + 'Id'] = next.id = 'hsId'+ hs.idCounter++;
|
1911
|
-
this[type] = hs.getNode(next.id);
|
1912
|
-
break;
|
1913
|
-
}
|
1914
|
-
next = next.nextSibling;
|
1915
|
-
}
|
1916
|
-
}
|
1917
|
-
}
|
1918
|
-
if (!this[type] && !s && this.numberPosition == type) s = '\n';
|
1919
|
-
|
1920
|
-
if (!this[type] && s) this[type] = hs.createElement('div',
|
1921
|
-
{ className: 'highslide-'+ type, innerHTML: s } );
|
1922
|
-
|
1923
|
-
if (addOverlay && this[type]) {
|
1924
|
-
var o = { position: (type == 'heading') ? 'above' : 'below' };
|
1925
|
-
for (var x in this[type+'Overlay']) o[x] = this[type+'Overlay'][x];
|
1926
|
-
o.overlayId = this[type];
|
1927
|
-
this.createOverlay(o);
|
1928
|
-
}
|
1929
|
-
}
|
1930
|
-
},
|
1931
|
-
|
1932
|
-
|
1933
|
-
// on end move and resize
|
1934
|
-
doShowHide : function(visibility) {
|
1935
|
-
if (hs.hideSelects) this.showHideElements('SELECT', visibility);
|
1936
|
-
if (hs.hideIframes) this.showHideElements('IFRAME', visibility);
|
1937
|
-
if (hs.geckoMac) this.showHideElements('*', visibility);
|
1938
|
-
},
|
1939
|
-
showHideElements : function (tagName, visibility) {
|
1940
|
-
var els = document.getElementsByTagName(tagName);
|
1941
|
-
var prop = tagName == '*' ? 'overflow' : 'visibility';
|
1942
|
-
for (var i = 0; i < els.length; i++) {
|
1943
|
-
if (prop == 'visibility' || (document.defaultView.getComputedStyle(
|
1944
|
-
els[i], "").getPropertyValue('overflow') == 'auto'
|
1945
|
-
|| els[i].getAttribute('hidden-by') != null)) {
|
1946
|
-
var hiddenBy = els[i].getAttribute('hidden-by');
|
1947
|
-
if (visibility == 'visible' && hiddenBy) {
|
1948
|
-
hiddenBy = hiddenBy.replace('['+ this.key +']', '');
|
1949
|
-
els[i].setAttribute('hidden-by', hiddenBy);
|
1950
|
-
if (!hiddenBy) els[i].style[prop] = els[i].origProp;
|
1951
|
-
} else if (visibility == 'hidden') { // hide if behind
|
1952
|
-
var elPos = hs.getPosition(els[i]);
|
1953
|
-
elPos.w = els[i].offsetWidth;
|
1954
|
-
elPos.h = els[i].offsetHeight;
|
1955
|
-
if (!this.dimmingOpacity) { // hide all if dimming
|
1956
|
-
|
1957
|
-
var clearsX = (elPos.x + elPos.w < this.x.get('opos')
|
1958
|
-
|| elPos.x > this.x.get('opos') + this.x.get('osize'));
|
1959
|
-
var clearsY = (elPos.y + elPos.h < this.y.get('opos')
|
1960
|
-
|| elPos.y > this.y.get('opos') + this.y.get('osize'));
|
1961
|
-
}
|
1962
|
-
var wrapperKey = hs.getWrapperKey(els[i]);
|
1963
|
-
if (!clearsX && !clearsY && wrapperKey != this.key) { // element falls behind image
|
1964
|
-
if (!hiddenBy) {
|
1965
|
-
els[i].setAttribute('hidden-by', '['+ this.key +']');
|
1966
|
-
els[i].origProp = els[i].style[prop];
|
1967
|
-
els[i].style[prop] = 'hidden';
|
1968
|
-
|
1969
|
-
} else if (hiddenBy.indexOf('['+ this.key +']') == -1) {
|
1970
|
-
els[i].setAttribute('hidden-by', hiddenBy + '['+ this.key +']');
|
1971
|
-
}
|
1972
|
-
} else if ((hiddenBy == '['+ this.key +']' || hs.focusKey == wrapperKey)
|
1973
|
-
&& wrapperKey != this.key) { // on move
|
1974
|
-
els[i].setAttribute('hidden-by', '');
|
1975
|
-
els[i].style[prop] = els[i].origProp || '';
|
1976
|
-
} else if (hiddenBy && hiddenBy.indexOf('['+ this.key +']') > -1) {
|
1977
|
-
els[i].setAttribute('hidden-by', hiddenBy.replace('['+ this.key +']', ''));
|
1978
|
-
}
|
1979
|
-
|
1980
|
-
}
|
1981
|
-
}
|
1982
|
-
}
|
1983
|
-
},
|
1984
|
-
|
1985
|
-
focus : function() {
|
1986
|
-
this.wrapper.style.zIndex = hs.zIndexCounter += 2;
|
1987
|
-
// blur others
|
1988
|
-
for (var i = 0; i < hs.expanders.length; i++) {
|
1989
|
-
if (hs.expanders[i] && i == hs.focusKey) {
|
1990
|
-
var blurExp = hs.expanders[i];
|
1991
|
-
blurExp.content.className += ' highslide-'+ blurExp.contentType +'-blur';
|
1992
|
-
blurExp.content.style.cursor = hs.ieLt7 ? 'hand' : 'pointer';
|
1993
|
-
blurExp.content.title = hs.lang.focusTitle;
|
1994
|
-
}
|
1995
|
-
}
|
1996
|
-
|
1997
|
-
// focus this
|
1998
|
-
if (this.outline) this.outline.table.style.zIndex
|
1999
|
-
= this.wrapper.style.zIndex - 1;
|
2000
|
-
this.content.className = 'highslide-'+ this.contentType;
|
2001
|
-
this.content.title = hs.lang.restoreTitle;
|
2002
|
-
|
2003
|
-
if (hs.restoreCursor) {
|
2004
|
-
hs.styleRestoreCursor = window.opera ? 'pointer' : 'url('+ hs.graphicsDir + hs.restoreCursor +'), pointer';
|
2005
|
-
if (hs.ieLt7 && hs.uaVersion < 6) hs.styleRestoreCursor = 'hand';
|
2006
|
-
this.content.style.cursor = hs.styleRestoreCursor;
|
2007
|
-
}
|
2008
|
-
|
2009
|
-
hs.focusKey = this.key;
|
2010
|
-
hs.addEventListener(document, window.opera ? 'keypress' : 'keydown', hs.keyHandler);
|
2011
|
-
},
|
2012
|
-
moveTo: function(x, y) {
|
2013
|
-
this.x.setPos(x);
|
2014
|
-
this.y.setPos(y);
|
2015
|
-
},
|
2016
|
-
resize : function (e) {
|
2017
|
-
var w, h, r = e.width / e.height;
|
2018
|
-
w = Math.max(e.width + e.dX, Math.min(this.minWidth, this.x.full));
|
2019
|
-
if (this.isImage && Math.abs(w - this.x.full) < 12) w = this.x.full;
|
2020
|
-
h = w / r;
|
2021
|
-
if (h < Math.min(this.minHeight, this.y.full)) {
|
2022
|
-
h = Math.min(this.minHeight, this.y.full);
|
2023
|
-
if (this.isImage) w = h * r;
|
2024
|
-
}
|
2025
|
-
this.resizeTo(w, h);
|
2026
|
-
},
|
2027
|
-
resizeTo: function(w, h) {
|
2028
|
-
this.y.setSize(h);
|
2029
|
-
this.x.setSize(w);
|
2030
|
-
this.wrapper.style.height = this.y.get('wsize') +'px';
|
2031
|
-
},
|
2032
|
-
|
2033
|
-
close : function() {
|
2034
|
-
if (this.isClosing || !this.isExpanded) return;
|
2035
|
-
if (this.transitions[1] == 'crossfade' && hs.upcoming) {
|
2036
|
-
hs.getExpander(hs.upcoming).cancelLoading();
|
2037
|
-
hs.upcoming = null;
|
2038
|
-
}
|
2039
|
-
this.isClosing = true;
|
2040
|
-
if (this.slideshow && !hs.upcoming) this.slideshow.pause();
|
2041
|
-
|
2042
|
-
hs.removeEventListener(document, window.opera ? 'keypress' : 'keydown', hs.keyHandler);
|
2043
|
-
|
2044
|
-
try {
|
2045
|
-
this.content.style.cursor = 'default';
|
2046
|
-
this.changeSize(
|
2047
|
-
0, {
|
2048
|
-
wrapper: {
|
2049
|
-
width : this.x.t,
|
2050
|
-
height : this.y.t,
|
2051
|
-
left: this.x.tpos - this.x.cb + this.x.tb,
|
2052
|
-
top: this.y.tpos - this.y.cb + this.y.tb
|
2053
|
-
},
|
2054
|
-
content: {
|
2055
|
-
left: 0,
|
2056
|
-
top: 0,
|
2057
|
-
width: this.x.t,
|
2058
|
-
height: this.y.t
|
2059
|
-
}
|
2060
|
-
}, hs.restoreDuration
|
2061
|
-
);
|
2062
|
-
} catch (e) { this.afterClose(); }
|
2063
|
-
},
|
2064
|
-
|
2065
|
-
createOverlay : function (o) {
|
2066
|
-
var el = o.overlayId,
|
2067
|
-
relToVP = (o.relativeTo == 'viewport' && !/panel$/.test(o.position));
|
2068
|
-
if (typeof el == 'string') el = hs.getNode(el);
|
2069
|
-
if (o.html) el = hs.createElement('div', { innerHTML: o.html });
|
2070
|
-
if (!el || typeof el == 'string') return;
|
2071
|
-
el.style.display = 'block';
|
2072
|
-
o.hsId = o.hsId || o.overlayId;
|
2073
|
-
if (this.transitions[1] == 'crossfade' && this.reuseOverlay(o, el)) return;
|
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
|
-
},
|
2088
|
-
relToVP ? hs.viewport :this.overlayBox,
|
2089
|
-
true
|
2090
|
-
);
|
2091
|
-
if (relToVP) overlay.hsKey = this.key;
|
2092
|
-
|
2093
|
-
overlay.appendChild(el);
|
2094
|
-
hs.extend(overlay, {
|
2095
|
-
opacity: 1,
|
2096
|
-
offsetX: 0,
|
2097
|
-
offsetY: 0,
|
2098
|
-
dur: (o.fade === 0 || o.fade === false || (o.fade == 2 && hs.ie)) ? 0 : 250
|
2099
|
-
});
|
2100
|
-
hs.extend(overlay, o);
|
2101
|
-
|
2102
|
-
|
2103
|
-
if (this.gotOverlays) {
|
2104
|
-
this.positionOverlay(overlay);
|
2105
|
-
if (!overlay.hideOnMouseOut || this.mouseIsOver)
|
2106
|
-
hs.animate(overlay, { opacity: overlay.opacity }, overlay.dur);
|
2107
|
-
}
|
2108
|
-
hs.push(this.overlays, hs.idCounter - 1);
|
2109
|
-
},
|
2110
|
-
positionOverlay : function(overlay) {
|
2111
|
-
var p = overlay.position || 'middle center',
|
2112
|
-
relToVP = (overlay.relativeTo == 'viewport'),
|
2113
|
-
offX = overlay.offsetX,
|
2114
|
-
offY = overlay.offsetY;
|
2115
|
-
if (relToVP) {
|
2116
|
-
hs.viewport.style.display = 'block';
|
2117
|
-
overlay.hsKey = this.key;
|
2118
|
-
if (overlay.offsetWidth > overlay.parentNode.offsetWidth)
|
2119
|
-
overlay.style.width = '100%';
|
2120
|
-
} else
|
2121
|
-
if (overlay.parentNode != this.overlayBox) this.overlayBox.appendChild(overlay);
|
2122
|
-
if (/left$/.test(p)) overlay.style.left = offX +'px';
|
2123
|
-
|
2124
|
-
if (/center$/.test(p)) hs.setStyles (overlay, {
|
2125
|
-
left: '50%',
|
2126
|
-
marginLeft: (offX - Math.round(overlay.offsetWidth / 2)) +'px'
|
2127
|
-
});
|
2128
|
-
|
2129
|
-
if (/right$/.test(p)) overlay.style.right = - offX +'px';
|
2130
|
-
|
2131
|
-
if (/^leftpanel$/.test(p)) {
|
2132
|
-
hs.setStyles(overlay, {
|
2133
|
-
right: '100%',
|
2134
|
-
marginRight: this.x.cb +'px',
|
2135
|
-
top: - this.y.cb +'px',
|
2136
|
-
bottom: - this.y.cb +'px',
|
2137
|
-
overflow: 'auto'
|
2138
|
-
});
|
2139
|
-
this.x.p1 = overlay.offsetWidth;
|
2140
|
-
|
2141
|
-
} else if (/^rightpanel$/.test(p)) {
|
2142
|
-
hs.setStyles(overlay, {
|
2143
|
-
left: '100%',
|
2144
|
-
marginLeft: this.x.cb +'px',
|
2145
|
-
top: - this.y.cb +'px',
|
2146
|
-
bottom: - this.y.cb +'px',
|
2147
|
-
overflow: 'auto'
|
2148
|
-
});
|
2149
|
-
this.x.p2 = overlay.offsetWidth;
|
2150
|
-
}
|
2151
|
-
var parOff = overlay.parentNode.offsetHeight;
|
2152
|
-
overlay.style.height = 'auto';
|
2153
|
-
if (relToVP && overlay.offsetHeight > parOff)
|
2154
|
-
overlay.style.height = hs.ieLt7 ? parOff +'px' : '100%';
|
2155
|
-
|
2156
|
-
if (/^top/.test(p)) overlay.style.top = offY +'px';
|
2157
|
-
if (/^middle/.test(p)) hs.setStyles (overlay, {
|
2158
|
-
top: '50%',
|
2159
|
-
marginTop: (offY - Math.round(overlay.offsetHeight / 2)) +'px'
|
2160
|
-
});
|
2161
|
-
if (/^bottom/.test(p)) overlay.style.bottom = - offY +'px';
|
2162
|
-
if (/^above$/.test(p)) {
|
2163
|
-
hs.setStyles(overlay, {
|
2164
|
-
left: (- this.x.p1 - this.x.cb) +'px',
|
2165
|
-
right: (- this.x.p2 - this.x.cb) +'px',
|
2166
|
-
bottom: '100%',
|
2167
|
-
marginBottom: this.y.cb +'px',
|
2168
|
-
width: 'auto'
|
2169
|
-
});
|
2170
|
-
this.y.p1 = overlay.offsetHeight;
|
2171
|
-
|
2172
|
-
} else if (/^below$/.test(p)) {
|
2173
|
-
hs.setStyles(overlay, {
|
2174
|
-
position: 'relative',
|
2175
|
-
left: (- this.x.p1 - this.x.cb) +'px',
|
2176
|
-
right: (- this.x.p2 - this.x.cb) +'px',
|
2177
|
-
top: '100%',
|
2178
|
-
marginTop: this.y.cb +'px',
|
2179
|
-
width: 'auto'
|
2180
|
-
});
|
2181
|
-
this.y.p2 = overlay.offsetHeight;
|
2182
|
-
overlay.style.position = 'absolute';
|
2183
|
-
}
|
2184
|
-
},
|
2185
|
-
|
2186
|
-
getOverlays : function() {
|
2187
|
-
this.getInline(['heading', 'caption'], true);
|
2188
|
-
this.getNumber();
|
2189
|
-
if (this.heading && this.dragByHeading) this.heading.className += ' highslide-move';
|
2190
|
-
if (hs.showCredits) this.writeCredits();
|
2191
|
-
for (var i = 0; i < hs.overlays.length; i++) {
|
2192
|
-
var o = hs.overlays[i], tId = o.thumbnailId, sg = o.slideshowGroup;
|
2193
|
-
if ((!tId && !sg) || (tId && tId == this.thumbsUserSetId)
|
2194
|
-
|| (sg && sg === this.slideshowGroup)) {
|
2195
|
-
this.createOverlay(o);
|
2196
|
-
}
|
2197
|
-
}
|
2198
|
-
var os = [];
|
2199
|
-
for (var i = 0; i < this.overlays.length; i++) {
|
2200
|
-
var o = hs.$('hsId'+ this.overlays[i]);
|
2201
|
-
if (/panel$/.test(o.position)) this.positionOverlay(o);
|
2202
|
-
else hs.push(os, o);
|
2203
|
-
}
|
2204
|
-
for (var i = 0; i < os.length; i++) this.positionOverlay(os[i]);
|
2205
|
-
this.gotOverlays = true;
|
2206
|
-
},
|
2207
|
-
genOverlayBox : function() {
|
2208
|
-
if (!this.overlayBox) this.overlayBox = hs.createElement (
|
2209
|
-
'div', {
|
2210
|
-
className: this.wrapperClassName
|
2211
|
-
}, {
|
2212
|
-
position : 'absolute',
|
2213
|
-
width: (this.x.size || (this.useBox ? this.width : null)
|
2214
|
-
|| this.x.full) +'px',
|
2215
|
-
height: (this.y.size || this.y.full) +'px',
|
2216
|
-
visibility : 'hidden',
|
2217
|
-
overflow : 'hidden',
|
2218
|
-
zIndex : hs.ie ? 4 : 'auto'
|
2219
|
-
},
|
2220
|
-
hs.container,
|
2221
|
-
true
|
2222
|
-
);
|
2223
|
-
},
|
2224
|
-
sizeOverlayBox : function(doWrapper, doPanels) {
|
2225
|
-
var overlayBox = this.overlayBox,
|
2226
|
-
x = this.x,
|
2227
|
-
y = this.y;
|
2228
|
-
hs.setStyles( overlayBox, {
|
2229
|
-
width: x.size +'px',
|
2230
|
-
height: y.size +'px'
|
2231
|
-
});
|
2232
|
-
if (doWrapper || doPanels) {
|
2233
|
-
for (var i = 0; i < this.overlays.length; i++) {
|
2234
|
-
var o = hs.$('hsId'+ this.overlays[i]);
|
2235
|
-
var ie6 = (hs.ieLt7 || document.compatMode == 'BackCompat');
|
2236
|
-
if (o && /^(above|below)$/.test(o.position)) {
|
2237
|
-
if (ie6) {
|
2238
|
-
o.style.width = (overlayBox.offsetWidth + 2 * x.cb
|
2239
|
-
+ x.p1 + x.p2) +'px';
|
2240
|
-
}
|
2241
|
-
y[o.position == 'above' ? 'p1' : 'p2'] = o.offsetHeight;
|
2242
|
-
}
|
2243
|
-
if (o && ie6 && /^(left|right)panel$/.test(o.position)) {
|
2244
|
-
o.style.height = (overlayBox.offsetHeight + 2* y.cb) +'px';
|
2245
|
-
}
|
2246
|
-
}
|
2247
|
-
}
|
2248
|
-
if (doWrapper) {
|
2249
|
-
hs.setStyles(this.content, {
|
2250
|
-
top: y.p1 +'px'
|
2251
|
-
});
|
2252
|
-
hs.setStyles(overlayBox, {
|
2253
|
-
top: (y.p1 + y.cb) +'px'
|
2254
|
-
});
|
2255
|
-
}
|
2256
|
-
},
|
2257
|
-
|
2258
|
-
showOverlays : function() {
|
2259
|
-
var b = this.overlayBox;
|
2260
|
-
b.className = '';
|
2261
|
-
hs.setStyles(b, {
|
2262
|
-
top: (this.y.p1 + this.y.cb) +'px',
|
2263
|
-
left: (this.x.p1 + this.x.cb) +'px',
|
2264
|
-
overflow : 'visible'
|
2265
|
-
});
|
2266
|
-
if (hs.safari) b.style.visibility = 'visible';
|
2267
|
-
this.wrapper.appendChild (b);
|
2268
|
-
for (var i = 0; i < this.overlays.length; i++) {
|
2269
|
-
var o = hs.$('hsId'+ this.overlays[i]);
|
2270
|
-
o.style.zIndex = o.zIndex || 4;
|
2271
|
-
if (!o.hideOnMouseOut || this.mouseIsOver) {
|
2272
|
-
o.style.visibility = 'visible';
|
2273
|
-
hs.setStyles(o, { visibility: 'visible', display: '' });
|
2274
|
-
hs.animate(o, { opacity: o.opacity }, o.dur);
|
2275
|
-
}
|
2276
|
-
}
|
2277
|
-
},
|
2278
|
-
|
2279
|
-
destroyOverlays : function() {
|
2280
|
-
if (!this.overlays.length) return;
|
2281
|
-
if (this.slideshow) {
|
2282
|
-
var c = this.slideshow.controls;
|
2283
|
-
if (c && hs.getExpander(c) == this) c.parentNode.removeChild(c);
|
2284
|
-
}
|
2285
|
-
for (var i = 0; i < this.overlays.length; i++) {
|
2286
|
-
var o = hs.$('hsId'+ this.overlays[i]);
|
2287
|
-
if (o && o.parentNode == hs.viewport && hs.getExpander(o) == this) hs.discardElement(o);
|
2288
|
-
}
|
2289
|
-
hs.discardElement(this.overlayBox);
|
2290
|
-
},
|
2291
|
-
|
2292
|
-
|
2293
|
-
|
2294
|
-
createFullExpand : function () {
|
2295
|
-
if (this.slideshow && this.slideshow.controls) {
|
2296
|
-
this.slideshow.enable('full-expand');
|
2297
|
-
return;
|
2298
|
-
}
|
2299
|
-
this.fullExpandLabel = hs.createElement(
|
2300
|
-
'a', {
|
2301
|
-
href: 'javascript:hs.expanders['+ this.key +'].doFullExpand();',
|
2302
|
-
title: hs.lang.fullExpandTitle,
|
2303
|
-
className: 'highslide-full-expand'
|
2304
|
-
}
|
2305
|
-
);
|
2306
|
-
|
2307
|
-
this.createOverlay({
|
2308
|
-
overlayId: this.fullExpandLabel,
|
2309
|
-
position: hs.fullExpandPosition,
|
2310
|
-
hideOnMouseOut: true,
|
2311
|
-
opacity: hs.fullExpandOpacity
|
2312
|
-
});
|
2313
|
-
},
|
2314
|
-
|
2315
|
-
doFullExpand : function () {
|
2316
|
-
try {
|
2317
|
-
if (this.fullExpandLabel) hs.discardElement(this.fullExpandLabel);
|
2318
|
-
|
2319
|
-
this.focus();
|
2320
|
-
var xSize = this.x.size;
|
2321
|
-
this.resizeTo(this.x.full, this.y.full);
|
2322
|
-
|
2323
|
-
var xpos = this.x.pos - (this.x.size - xSize) / 2;
|
2324
|
-
if (xpos < hs.marginLeft) xpos = hs.marginLeft;
|
2325
|
-
|
2326
|
-
this.moveTo(xpos, this.y.pos);
|
2327
|
-
this.doShowHide('hidden');
|
2328
|
-
|
2329
|
-
} catch (e) {
|
2330
|
-
this.error(e);
|
2331
|
-
}
|
2332
|
-
},
|
2333
|
-
|
2334
|
-
|
2335
|
-
afterClose : function () {
|
2336
|
-
this.a.className = this.a.className.replace('highslide-active-anchor', '');
|
2337
|
-
|
2338
|
-
this.doShowHide('visible');
|
2339
|
-
if (this.outline && this.outlineWhileAnimating) this.outline.destroy();
|
2340
|
-
|
2341
|
-
hs.discardElement(this.wrapper);
|
2342
|
-
this.destroyOverlays();
|
2343
|
-
if (!hs.viewport.childNodes.length) hs.viewport.style.display = 'none';
|
2344
|
-
|
2345
|
-
if (this.dimmingOpacity) hs.undim(this.key);
|
2346
|
-
hs.expanders[this.key] = null;
|
2347
|
-
hs.reOrder();
|
2348
|
-
}
|
2349
|
-
|
2350
|
-
};
|
2351
|
-
|
2352
|
-
|
2353
|
-
hs.Slideshow = function (expKey, options) {
|
2354
|
-
if (hs.dynamicallyUpdateAnchors !== false) hs.updateAnchors();
|
2355
|
-
this.expKey = expKey;
|
2356
|
-
for (var x in options) this[x] = options[x];
|
2357
|
-
if (this.useControls) this.getControls();
|
2358
|
-
if (this.thumbstrip) this.thumbstrip = hs.Thumbstrip(this);
|
2359
|
-
};
|
2360
|
-
hs.Slideshow.prototype = {
|
2361
|
-
getControls: function() {
|
2362
|
-
this.controls = hs.createElement('div', { innerHTML: hs.replaceLang(hs.skin.controls) },
|
2363
|
-
null, hs.container);
|
2364
|
-
|
2365
|
-
var buttons = ['play', 'pause', 'previous', 'next', 'move', 'full-expand', 'close'];
|
2366
|
-
this.btn = {};
|
2367
|
-
var pThis = this;
|
2368
|
-
for (var i = 0; i < buttons.length; i++) {
|
2369
|
-
this.btn[buttons[i]] = hs.getElementByClass(this.controls, 'li', 'highslide-'+ buttons[i]);
|
2370
|
-
this.enable(buttons[i]);
|
2371
|
-
}
|
2372
|
-
this.btn.pause.style.display = 'none';
|
2373
|
-
//this.disable('full-expand');
|
2374
|
-
},
|
2375
|
-
checkFirstAndLast: function() {
|
2376
|
-
if (this.repeat || !this.controls) return;
|
2377
|
-
var exp = hs.expanders[this.expKey],
|
2378
|
-
cur = exp.getAnchorIndex(),
|
2379
|
-
re = /disabled$/;
|
2380
|
-
if (cur == 0)
|
2381
|
-
this.disable('previous');
|
2382
|
-
else if (re.test(this.btn.previous.getElementsByTagName('a')[0].className))
|
2383
|
-
this.enable('previous');
|
2384
|
-
if (cur + 1 == hs.anchors.groups[exp.slideshowGroup || 'none'].length) {
|
2385
|
-
this.disable('next');
|
2386
|
-
this.disable('play');
|
2387
|
-
} else if (re.test(this.btn.next.getElementsByTagName('a')[0].className)) {
|
2388
|
-
this.enable('next');
|
2389
|
-
this.enable('play');
|
2390
|
-
}
|
2391
|
-
},
|
2392
|
-
enable: function(btn) {
|
2393
|
-
if (!this.btn) return;
|
2394
|
-
var sls = this, a = this.btn[btn].getElementsByTagName('a')[0], re = /disabled$/;
|
2395
|
-
a.onclick = function() {
|
2396
|
-
sls[btn]();
|
2397
|
-
return false;
|
2398
|
-
};
|
2399
|
-
if (re.test(a.className)) a.className = a.className.replace(re, '');
|
2400
|
-
},
|
2401
|
-
disable: function(btn) {
|
2402
|
-
if (!this.btn) return;
|
2403
|
-
var a = this.btn[btn].getElementsByTagName('a')[0];
|
2404
|
-
a.onclick = function() { return false; };
|
2405
|
-
if (!/disabled$/.test(a.className)) a.className += ' disabled';
|
2406
|
-
},
|
2407
|
-
hitSpace: function() {
|
2408
|
-
if (this.autoplay) this.pause();
|
2409
|
-
else this.play();
|
2410
|
-
},
|
2411
|
-
play: function(wait) {
|
2412
|
-
if (this.btn) {
|
2413
|
-
this.btn.play.style.display = 'none';
|
2414
|
-
this.btn.pause.style.display = '';
|
2415
|
-
}
|
2416
|
-
|
2417
|
-
this.autoplay = true;
|
2418
|
-
if (!wait) hs.next(this.expKey);
|
2419
|
-
},
|
2420
|
-
pause: function() {
|
2421
|
-
if (this.btn) {
|
2422
|
-
this.btn.pause.style.display = 'none';
|
2423
|
-
this.btn.play.style.display = '';
|
2424
|
-
}
|
2425
|
-
|
2426
|
-
clearTimeout(this.autoplay);
|
2427
|
-
this.autoplay = null;
|
2428
|
-
},
|
2429
|
-
previous: function() {
|
2430
|
-
this.pause();
|
2431
|
-
hs.previous(this.btn.previous);
|
2432
|
-
},
|
2433
|
-
next: function() {
|
2434
|
-
this.pause();
|
2435
|
-
hs.next(this.btn.next);
|
2436
|
-
},
|
2437
|
-
move: function() {},
|
2438
|
-
'full-expand': function() {
|
2439
|
-
hs.getExpander().doFullExpand();
|
2440
|
-
},
|
2441
|
-
close: function() {
|
2442
|
-
hs.close(this.btn.close);
|
2443
|
-
}
|
2444
|
-
};
|
2445
|
-
hs.Thumbstrip = function(slideshow) {
|
2446
|
-
function add (exp) {
|
2447
|
-
hs.extend(options || {}, {
|
2448
|
-
overlayId: dom,
|
2449
|
-
hsId: 'thumbstrip',
|
2450
|
-
className: 'highslide-thumbstrip-'+ mode +'-overlay ' + (options.className || '')
|
2451
|
-
});
|
2452
|
-
if (hs.ieLt7) options.fade = 0;
|
2453
|
-
exp.createOverlay(options);
|
2454
|
-
hs.setStyles(dom.parentNode, { overflow: 'hidden' });
|
2455
|
-
};
|
2456
|
-
|
2457
|
-
function scroll (delta) {
|
2458
|
-
selectThumb(undefined, Math.round(delta * dom[isX ? 'offsetWidth' : 'offsetHeight'] * 0.7));
|
2459
|
-
};
|
2460
|
-
|
2461
|
-
function selectThumb (i, scrollBy) {
|
2462
|
-
if (i === undefined) for (var j = 0; j < group.length; j++) {
|
2463
|
-
if (group[j] == hs.expanders[slideshow.expKey].a) {
|
2464
|
-
i = j;
|
2465
|
-
break;
|
2466
|
-
}
|
2467
|
-
}
|
2468
|
-
if (i === undefined) return;
|
2469
|
-
var as = dom.getElementsByTagName('a'),
|
2470
|
-
active = as[i],
|
2471
|
-
cell = active.parentNode,
|
2472
|
-
left = isX ? 'Left' : 'Top',
|
2473
|
-
right = isX ? 'Right' : 'Bottom',
|
2474
|
-
width = isX ? 'Width' : 'Height',
|
2475
|
-
offsetLeft = 'offset' + left,
|
2476
|
-
offsetWidth = 'offset' + width,
|
2477
|
-
overlayWidth = div.parentNode.parentNode[offsetWidth],
|
2478
|
-
minTblPos = overlayWidth - table[offsetWidth],
|
2479
|
-
curTblPos = parseInt(table.style[isX ? 'left' : 'top']) || 0,
|
2480
|
-
tblPos = curTblPos,
|
2481
|
-
mgnRight = 20;
|
2482
|
-
if (scrollBy !== undefined) {
|
2483
|
-
tblPos = curTblPos - scrollBy;
|
2484
|
-
|
2485
|
-
if (minTblPos > 0) minTblPos = 0;
|
2486
|
-
if (tblPos > 0) tblPos = 0;
|
2487
|
-
if (tblPos < minTblPos) tblPos = minTblPos;
|
2488
|
-
|
2489
|
-
|
2490
|
-
} else {
|
2491
|
-
for (var j = 0; j < as.length; j++) as[j].className = '';
|
2492
|
-
active.className = 'highslide-active-anchor';
|
2493
|
-
var activeLeft = i > 0 ? as[i - 1].parentNode[offsetLeft] : cell[offsetLeft],
|
2494
|
-
activeRight = cell[offsetLeft] + cell[offsetWidth] +
|
2495
|
-
(as[i + 1] ? as[i + 1].parentNode[offsetWidth] : 0);
|
2496
|
-
if (activeRight > overlayWidth - curTblPos) tblPos = overlayWidth - activeRight;
|
2497
|
-
else if (activeLeft < -curTblPos) tblPos = -activeLeft;
|
2498
|
-
}
|
2499
|
-
var markerPos = cell[offsetLeft] + (cell[offsetWidth] - marker[offsetWidth]) / 2 + tblPos;
|
2500
|
-
hs.animate(table, isX ? { left: tblPos } : { top: tblPos }, null, 'easeOutQuad');
|
2501
|
-
hs.animate(marker, isX ? { left: markerPos } : { top: markerPos }, null, 'easeOutQuad');
|
2502
|
-
scrollUp.style.display = tblPos < 0 ? 'block' : 'none';
|
2503
|
-
scrollDown.style.display = (tblPos > minTblPos) ? 'block' : 'none';
|
2504
|
-
|
2505
|
-
};
|
2506
|
-
|
2507
|
-
|
2508
|
-
// initialize
|
2509
|
-
var group = hs.anchors.groups[hs.expanders[slideshow.expKey].slideshowGroup || 'none'],
|
2510
|
-
options = slideshow.thumbstrip,
|
2511
|
-
mode = options.mode || 'horizontal',
|
2512
|
-
floatMode = (mode == 'float'),
|
2513
|
-
tree = floatMode ? ['div', 'ul', 'li', 'span'] : ['table', 'tbody', 'tr', 'td'],
|
2514
|
-
isX = (mode == 'horizontal'),
|
2515
|
-
dom = hs.createElement('div', {
|
2516
|
-
className: 'highslide-thumbstrip highslide-thumbstrip-'+ mode,
|
2517
|
-
innerHTML:
|
2518
|
-
'<div class="highslide-thumbstrip-inner">'+
|
2519
|
-
'<'+ tree[0] +'><'+ tree[1] +'></'+ tree[1] +'></'+ tree[0] +'></div>'+
|
2520
|
-
'<div class="highslide-scroll-up"><div></div></div>'+
|
2521
|
-
'<div class="highslide-scroll-down"><div></div></div>'+
|
2522
|
-
'<div class="highslide-marker"><div></div></div>'
|
2523
|
-
}, {
|
2524
|
-
display: 'none'
|
2525
|
-
}, hs.container),
|
2526
|
-
domCh = dom.childNodes,
|
2527
|
-
div = domCh[0],
|
2528
|
-
scrollUp = domCh[1],
|
2529
|
-
scrollDown = domCh[2],
|
2530
|
-
marker = domCh[3],
|
2531
|
-
table = div.firstChild,
|
2532
|
-
tbody = dom.getElementsByTagName(tree[1])[0],
|
2533
|
-
tr;
|
2534
|
-
for (var i = 0; i < group.length; i++) {
|
2535
|
-
if (i == 0 || !isX) tr = hs.createElement(tree[2], null, null, tbody);
|
2536
|
-
(function(){
|
2537
|
-
var a = group[i],
|
2538
|
-
cell = hs.createElement(tree[3], null, null, tr),
|
2539
|
-
pI = i;
|
2540
|
-
hs.createElement('a', {
|
2541
|
-
href: a.href,
|
2542
|
-
onclick: function() {
|
2543
|
-
if (/highslide-active-anchor/.test(this.className)) return false;
|
2544
|
-
hs.getExpander(this).focus();
|
2545
|
-
return hs.transit(a);
|
2546
|
-
},
|
2547
|
-
innerHTML: hs.stripItemFormatter ? hs.stripItemFormatter(a) : a.innerHTML
|
2548
|
-
}, null, cell);
|
2549
|
-
})();
|
2550
|
-
}
|
2551
|
-
if (!floatMode) {
|
2552
|
-
scrollUp.onclick = function () { scroll(-1); };
|
2553
|
-
scrollDown.onclick = function() { scroll(1); };
|
2554
|
-
hs.addEventListener(tbody, document.onmousewheel !== undefined ?
|
2555
|
-
'mousewheel' : 'DOMMouseScroll', function(e) {
|
2556
|
-
var delta = 0;
|
2557
|
-
e = e || window.event;
|
2558
|
-
if (e.wheelDelta) {
|
2559
|
-
delta = e.wheelDelta/120;
|
2560
|
-
if (hs.opera) delta = -delta;
|
2561
|
-
} else if (e.detail) {
|
2562
|
-
delta = -e.detail/3;
|
2563
|
-
}
|
2564
|
-
if (delta) scroll(-delta * 0.2);
|
2565
|
-
if (e.preventDefault) e.preventDefault();
|
2566
|
-
e.returnValue = false;
|
2567
|
-
});
|
2568
|
-
}
|
2569
|
-
|
2570
|
-
return {
|
2571
|
-
add: add,
|
2572
|
-
selectThumb: selectThumb
|
2573
|
-
}
|
2574
|
-
};
|
2575
|
-
hs.langDefaults = hs.lang;
|
2576
|
-
// history
|
2577
|
-
var HsExpander = hs.Expander;
|
2578
|
-
if (hs.ie && window == window.top) {
|
2579
|
-
(function () {
|
2580
|
-
try {
|
2581
|
-
document.documentElement.doScroll('left');
|
2582
|
-
} catch (e) {
|
2583
|
-
setTimeout(arguments.callee, 50);
|
2584
|
-
return;
|
2585
|
-
}
|
2586
|
-
hs.ready();
|
2587
|
-
})();
|
2588
|
-
}
|
2589
|
-
hs.addEventListener(document, 'DOMContentLoaded', hs.ready);
|
2590
|
-
hs.addEventListener(window, 'load', hs.ready);
|
2591
|
-
|
2592
|
-
// set handlers
|
2593
|
-
hs.addEventListener(document, 'ready', function() {
|
2594
|
-
if (hs.expandCursor || hs.dimmingOpacity) {
|
2595
|
-
var style = hs.createElement('style', { type: 'text/css' }, null,
|
2596
|
-
document.getElementsByTagName('HEAD')[0]);
|
2597
|
-
|
2598
|
-
function addRule(sel, dec) {
|
2599
|
-
if (hs.ie && hs.uaVersion < 9) {
|
2600
|
-
var last = document.styleSheets[document.styleSheets.length - 1];
|
2601
|
-
if (typeof(last.addRule) == "object") last.addRule(sel, dec);
|
2602
|
-
} else {
|
2603
|
-
style.appendChild(document.createTextNode(sel + " {" + dec + "}"));
|
2604
|
-
}
|
2605
|
-
}
|
2606
|
-
function fix(prop) {
|
2607
|
-
return 'expression( ( ( ignoreMe = document.documentElement.'+ prop +
|
2608
|
-
' ? document.documentElement.'+ prop +' : document.body.'+ prop +' ) ) + \'px\' );';
|
2609
|
-
}
|
2610
|
-
if (hs.expandCursor) addRule ('.highslide img',
|
2611
|
-
'cursor: url('+ hs.graphicsDir + hs.expandCursor +'), pointer !important;');
|
2612
|
-
addRule ('.highslide-viewport-size',
|
2613
|
-
hs.ie && (hs.uaVersion < 7 || document.compatMode == 'BackCompat') ?
|
2614
|
-
'position: absolute; '+
|
2615
|
-
'left:'+ fix('scrollLeft') +
|
2616
|
-
'top:'+ fix('scrollTop') +
|
2617
|
-
'width:'+ fix('clientWidth') +
|
2618
|
-
'height:'+ fix('clientHeight') :
|
2619
|
-
'position: fixed; width: 100%; height: 100%; left: 0; top: 0');
|
2620
|
-
}
|
2621
|
-
});
|
2622
|
-
hs.addEventListener(window, 'resize', function() {
|
2623
|
-
hs.getPageSize();
|
2624
|
-
if (hs.viewport) for (var i = 0; i < hs.viewport.childNodes.length; i++) {
|
2625
|
-
var node = hs.viewport.childNodes[i],
|
2626
|
-
exp = hs.getExpander(node);
|
2627
|
-
exp.positionOverlay(node);
|
2628
|
-
if (node.hsId == 'thumbstrip') exp.slideshow.thumbstrip.selectThumb();
|
2629
|
-
}
|
2630
|
-
});
|
2631
|
-
hs.addEventListener(document, 'mousemove', function(e) {
|
2632
|
-
hs.mouse = { x: e.clientX, y: e.clientY };
|
2633
|
-
});
|
2634
|
-
hs.addEventListener(document, 'mousedown', hs.mouseClickHandler);
|
2635
|
-
hs.addEventListener(document, 'mouseup', hs.mouseClickHandler);
|
2636
|
-
|
2637
|
-
hs.addEventListener(document, 'ready', hs.getAnchors);
|
2638
|
-
hs.addEventListener(window, 'load', hs.preloadImages);
|
2639
|
-
}
|