diff --git a/about.php b/about.php new file mode 100644 index 0000000..e4f3e71 --- /dev/null +++ b/about.php @@ -0,0 +1,137 @@ + + + +
+
+ +
+ +
+ +
+ +
+
Designing for the full range of human diversity
+ + +

Overview

+

The Inclusive Design Institute (IDI) is a generative hub of applied research that addresses the challenge of designing our information and communication systems (ICT) so that they work for all potential users, including users with disabilities, varying language needs and diverse cultural preferences. The IDI is Canada’s first research hub focused on digital inclusion.

+ +

Led by Jutta Treviranus, centred at OCAD University, with eight postsecondary partner institutions and over 100 collaborating organizations, the Inclusive Design Institute bears witness to Ontario’s and Canada’s commitment to inclusion. The IDI is a regional centre of expertise networked to local infrastructure at each participating institution, and supportive of distributed collaboration and proactive design and development of inclusive ICT.

+ +

This regional centre of expertise will prepare Ontario to respond to the increased demand worldwide for accessible ICT, a demand that is intensified by an aging population and the adoption of accessibility legislation by all major trading partners. The IDI will help Ontario play a leadership role in producing ICT, digital media and information services that meet this growing demand as well as highly qualified personnel to fuel ongoing innovation in inclusive design.

+ +

Inclusion and diversity are not only values or rights to be protected, but also catalysts for new ideas, design principles that lead to better design, business strategies that make good business sense and potential economic drivers with ubiquitous social benefits. Inclusion and diversity are Ontario’s richest untapped resources. Research at the IDI will help Ontario sustain and develop this resource and foster the inherent potential to create a vibrant, productive generator of innovative, inclusively designed information and communication systems and services.

+ +

Drawing upon long-standing collaborative partnerships between world-class researchers in a variety of disciplines, the IDI infrastructure supports research to develop: +

+ needed to facilitate ubiquitous inclusive ICT design and development.

+ + +

The regional research hub includes: +

    +
  1. networked collaboration and research applications that are designed to be accessible to researchers and research participants with disabilities,
  2. +
  3. usability and accessibility labs (including facilities for remote testing) that support evaluation of transformable interfaces, extremely diverse users and a wide range of contexts,
  4. +
  5. infrastructure to research inclusive cultural performances,
  6. +
  7. modal translation facilities that enable translation between sensory modalities in both two and three dimensions,
  8. +
  9. facilities to support research in innovative real-time and post production captioning and description,
  10. +
  11. collaborative facilities to explore language and cultural interpretation, and
  12. +
  13. a research platform to study context-aware location-aware technologies, intelligent environments and ubiquitous Web applications.
  14. +
+

+ +

The IDI is an essential building block for establishing the “innovative, creative and inclusive society” discussed in Ontario’s Innovation Agenda. It will spur innovation by eliciting “an openness on the part of people to new ways of thinking and doing that bring about improvements, whether to an individual business, an industry, government, the economy or society as a whole.”

+ + +

Leadership & Governance

+ +

The Inclusive Design Institute (IDI) is organized and maintained through an interlocking series of administrative structures designed to ensure that: +

+

+ +

Steering Committee

+

Led by Jutta Treviranus and consisting of users representing supporting institutions, end-user communities, and the broad research themes, the Steering Committee develops policies and plans for equitable use, resource sharing, risk management, network communication, and infrastructure maintenance and upgrade.

+ + +

Advisory Committee

+

Providing ongoing guidance to the Steering Committee and IDI community at large, the Advisory Committee represents end-user communities, implementers of the products of research (including industry, government, public institutions and not-for-profit organizations), and senior national thought and policy leaders.

+ + +

Technical Committee

+

Led by Robert Luke, the Technical Committee consists of a designated technical administrative staff member from each participant institution. This committee ensures that resources and skills are shared among all participants, and that infrastructure is effectively designed, developed, maintained and is optimally interoperable.

+ + +

Quality Management Committee

+

Representing researchers, consumer organizations, industry, and the public sector, the Quality Management Committee is responsible for quality assurance and monitoring of continuous quality improvement. It will conduct at minimum annual assessments of the research and infrastructure program and will set up an open feedback mechanism for participants in research and broader stakeholders.

+ + +

Project Manager

+

Within the Inclusive Design Research Centre, the Project Manager, supports the Steering Committee, coordinates communication, liaises with regional research teams, plans the maintenance and renewal of the network, and facilitates dissemination of research results.

+ + +

Research Clusters

+ +

IDI research and development projects are grouped into the following strategic clusters: +

    +
  1. Design and Development
  2. +
  3. Implementation and Information Practices, with subgroups: +
      +
    1. Inclusive Education
    2. +
    3. Health
    4. +
    5. Civic Engagement
    6. +
    7. Culture and the Arts
    8. +
    +
  4. +
  5. Business Case, Policies, Standards and Legislation
  6. +
  7. Mobile and Pervasive Computing
  8. +
+

+ +

Capacity Building

+ +

The Inclusive Design Institute is committed to building a knowledge community that can address the important goal of digital inclusion within Ontario, throughout Canada and globally. There are several associated programs that help to develop the human capacity to sustain this important agenda: +

+

+ + +

Implementation and Sustainability

+ +

In addition to the many companies collaborating in the research and implementing the outcomes of the research, the Inclusive Design Institute has generated a number of new businesses that support digital inclusion within Ontario.

+ + +
+ +
+ + diff --git a/category.php b/category.php deleted file mode 100644 index 21355c1..0000000 --- a/category.php +++ /dev/null @@ -1,49 +0,0 @@ - - -
- - - - -

Archive for the ‘’ Category:

- -

Posts Tagged ‘

- -

Archive for :

- -

Archive for :

- -

Archive for :

- -

Author Archive

- -

Blog Archives

- - -
-

- -
- - - - -
- -
- - - - - - - -
- - - \ No newline at end of file diff --git a/cluster-description-design.php b/cluster-description-design.php new file mode 100644 index 0000000..b4b0f3f --- /dev/null +++ b/cluster-description-design.php @@ -0,0 +1,4 @@ +

Recognizing the needs and realities of Information and Communication Technology (ICT) designers, developers and implementers, + IDI research addresses the full ICT life-cycle. The goal is to create tools, strategies, resources and exemplars + that address all stages of ICT production and use.

+ diff --git a/cluster-description-extra-mobile.php b/cluster-description-extra-mobile.php new file mode 100644 index 0000000..0646580 --- /dev/null +++ b/cluster-description-extra-mobile.php @@ -0,0 +1,22 @@ +

At the heart of this research are the complimentary goals of providing (a) the ability to access services and information in a variety of settings, activities and environments and (b) the ability to transform these environments and tools to reduce disability brought on by a mismatch with the needs of the individual. These two goals entail theoretical and applied research into four related areas: Context-aware Services and Cognition, Smart Interfaces, Participatory Material Culture, and Adaptive Games and Inclusive Play. +

+ +

Area # 1: Context-aware Services and Cognition

+

+Context-aware services are of particular importance to those with cognitive disabilities and/or neurological impairments that affect communication. Persons diagnosed with aphasia, autism spectrum disorders, pervasive developmental disorders, and those with other mild intellectual disabilities are enabled by mobile devices with context-aware services that offer visual information as cues to improve their understanding of their spatial environment. In these research projects users, parents/caregivers, therapists, and teachers are actively engaged in the design of the services, data collection, analysis, and in developing feedback for redesign. It is this participatory action element that delivers tangible improvements to the development of services in timeframes that are acceptable to those who benefit most from these mobile systems. +

+ +

Area #2: Smart Interfaces

+

+The interfaces to information and information systems can be made more adaptable and customizable based on context. One avenue for exploring these challenges is via rapid prototyping of both hardware and software. Digital and material interfaces can now be quickly designed and constructed in non-industrial settings, by non-professionals, thus empowering individuals to modify or create entirely new interfaces and devices, while simultaneously exploring the material and environmental ramifications of their designs. This presents interesting research challenges in the areas of Human-Computer Interaction (HCI) and system design (for example, with respect to requirements engineering or the design of prototyping technologies themselves). +

+ +

Area #3: Participatory Material Culture

+

+In keeping with increasing autonomy, mobile computing devices allow not only the retrieval of context-specific information, but also the active participation of users in the co-construction of information that is tied to particular places and objects and potentially shared across a community of users. Social tagging/bookmarking is already a common practice on the Web and, with mobile devices, is being extended to real places and objects. Rapid prototyping and “3-d printing” technologies, combined with a variety of smart cheap sensors, can be used in this area as well to empower individuals to personalize and customize their environments and thus reduce the “mismatch” with their own abilities that leads to the experience of disability. Such solutions, as well as the design process, can be shared across open-source communities, but more research is needed into economically sustainable infrastructure models to facilitate this sharing as well as support the digitally-mediated, knowledge-sharing communities on which it rests. +

+ +

Area #4: Adaptive Games and Inclusive Play

+

+There is growing evidence that digital games can fulfill a number of important functions in the lives of disabled children and adults. Games that draw upon geolocation data, physical movement and other non-traditional forms of user interaction are especially promising in this regard, as suggested by recent studies demonstrating how kinetic game systems such as the Nintendo Wii can facilitate entry into gaming for disabled players, both as a novel and entertaining leisure activity, as well as an innovative approach to rehabilitation and exercise. Ongoing developments within gaming technologies and design, such as the introduction of WYSIWYG tools for creating, modifying or heavily customizing games at the level of design, suggest additional opportunities for improving the lives of users with disabilities and other special needs. +

diff --git a/cluster-description-implementation.php b/cluster-description-implementation.php new file mode 100644 index 0000000..5c52c3e --- /dev/null +++ b/cluster-description-implementation.php @@ -0,0 +1,4 @@ +

Researchers are working to answer questions such as: + How can inclusive ICT enable greater access in education, health, culture and civic engagement? + What supports are needed to facilitate inclusively designed implementation within these domains? + What domain-specific inclusive design strategies must be considered in the other areas of research?

\ No newline at end of file diff --git a/cluster-description-mobile.php b/cluster-description-mobile.php new file mode 100644 index 0000000..fd5f050 --- /dev/null +++ b/cluster-description-mobile.php @@ -0,0 +1,3 @@ +

+ In the age of affordable smart phones, Bluetooth enabled personal area networks, portable devices with ubiquitous Internet access, cloud computing for convenient access to files and vast storage from anywhere, smart environments enabled by things like cheap customizable sensor technology and RFID tagging, there are many innovative opportunities to provide users, including especially those who experience disabilities, with greater mobility, autonomy and independence.

+ diff --git a/cluster-description-policies.php b/cluster-description-policies.php new file mode 100644 index 0000000..e3b46fd --- /dev/null +++ b/cluster-description-policies.php @@ -0,0 +1,3 @@ +

The IDI is developing the business case for inclusive design through market and labour trend research and the study of the relationship between inclusive design and innovation. + We are bringing together consumers and researchers with disabilities, alternative language and cultural needs and industry leaders to engage legislators, specifications bodies, + advocacy groups and consumer communities in inclusive design research.

\ No newline at end of file diff --git a/cluster-leads-design.php b/cluster-leads-design.php new file mode 100644 index 0000000..efc77e7 --- /dev/null +++ b/cluster-leads-design.php @@ -0,0 +1,12 @@ +
+ David Humphrey + Seneca College +
Professor, School of Computer Studies
+
+ +
+ Jutta Treviranus + OCAD University +
Director, Inclusive Design Research Centre
+
+ diff --git a/cluster-leads-implementation.php b/cluster-leads-implementation.php new file mode 100644 index 0000000..b6061f1 --- /dev/null +++ b/cluster-leads-implementation.php @@ -0,0 +1,11 @@ +
+ Catherine Frazee + Ryerson University +
Professor of Distinction, Disability Studies
+
+ +
+ Robert Luke + George Brown College +
Director, Applied Research and Innovation
+
diff --git a/cluster-leads-mobile.php b/cluster-leads-mobile.php new file mode 100644 index 0000000..a7e730b --- /dev/null +++ b/cluster-leads-mobile.php @@ -0,0 +1,17 @@ +
+ Matt Ratto + University of Toronto +
Professor, Faculty of Information
+
+ +
+ Sara Grimes + University of Toronto +
Assistant Professor, Faculty of Information
+
+ +
+ Rhonda McEwen + University of Toronto +
Assistant Professor, University of Toronto Mississauga
+
diff --git a/cluster-leads-policies.php b/cluster-leads-policies.php new file mode 100644 index 0000000..8193326 --- /dev/null +++ b/cluster-leads-policies.php @@ -0,0 +1,11 @@ +
+ Marcia Rioux + York University +
Chair and Professor, School of Health Policy and Management
+
+ +
+ Kevin Stolarick + University of Toronto +
Research Director, Rotman School of Management
+
diff --git a/cluster-projects-design.php b/cluster-projects-design.php new file mode 100644 index 0000000..b1639f0 --- /dev/null +++ b/cluster-projects-design.php @@ -0,0 +1,46 @@ +
+
+
+ +
+

Fluid

+ Fluid is an open-source software community that designs user interfaces, builds Web tools, teaches inclusive design and integrates interface components into open source applications . +
+
+
+ +
+

AChecker

+

This tool checks single HTML pages for conformance with accessibility standards to ensure the content can be accessed by everyone.

+
+
+
+
+
+ +
+

Floe Project

+ Through the Open Education Resources community, Floe makes tools that help transform, augment, and personalize the learning experience. +
+
+
+ +
+

Open Virtual Usability Lab

+ OpenVULab is an open source tool designed for remote accessibility and usability testing. The tool is designed to capture remote users’ interactions with their computer screens as well as their microphone audio. +
+
+
+
diff --git a/cluster-projects-implementation.php b/cluster-projects-implementation.php new file mode 100644 index 0000000..7a25f68 --- /dev/null +++ b/cluster-projects-implementation.php @@ -0,0 +1,120 @@ +
+
+
+ +
+

Decapod

+ Decapod is a project focused on building a low-cost digitization solution that will allow for rare materials, materials held in collections without large budgets, and other scholarly content to be digitized into a high-quality PDF format. This project will work to incorporate the hardware and software necessary to accomplish this goal. +
+
+
+ +
+

Compareware

+ Compareware is a game for 5-7 year olds that attempts to assist those with reading difficulties to 'level up' their vocabulary and their analytical skills in determining similarities and differences between two objects. +
+
+
+ +
+

CollectionSpace

+ CollectionSpace is an open-source collections management application that meets the needs of museums, historical societies, and other collection-holding organizations. CollectionSpace is designed to be configurable to each organization’s needs, serving as a gateway to digital and physical assets across an institution. +
+
+
+ +
+

Accessible Video Conferencing and Streamed Video

+ This project will research and evaluate accessible video conferencing and streamed video, identifying online learning barriers and working with experts and practitioners to overcome them and improve accessibility. +
+
+
+ +
+

Alternative Audio Description

+ Alternative audio description focuses on making the process of creating audio description inclusive from the beginning of the design process. +
+
+
+ +
+

Enhanced Captioning

+ Enhanced captioning focuses on improving upon the existing captioning standards, specifically including colour and kinetic text for television shows and movies. +
+
+
+
+
+ +
+

LiveDescribe

+ LiveDescribe is an open source amateur audio description tool that allows users to create custom audio description and upload it to the LiveDescribe wiki. The program automatically detects non-dialogue areas of the media and highlights them to indicate optimal areas for description. +
+
+
+ +
+

EnACT

+ EnACT (Enhanced and Affective Captioning Tool) is an open source captioning tool that allows users to create custom kinetic captions with colors that indicate emotions. +
+
+
+ +
+

ATutor

+ ATutor is an Open Source Web-based Learning Management System (LMS) used to develop and deliver online courses. +
+
+
+ +
+

GPII

+ The Global Public Inclusive Infrastructure will combine cloud computing with web and platform services to make accessibility available everywhere. +
+
+
+ +
+

Which Hand?

+ Many students with different needs have trouble with judging handedness; they don't know left from right. This project will design a game that reinforces the concepts of left/right that is fun and accessible to readers and non-readers. +
+
+
+ +
+

Accessibility Features for Big Blue Button

+ Big Blue Button is an open source web conferencing system developed primarily for distance education. This project will apply inclusive design in Big Blue Button as HTML5 features are added. +
+
+
+
diff --git a/cluster-projects-mobile.php b/cluster-projects-mobile.php new file mode 100644 index 0000000..12fda59 --- /dev/null +++ b/cluster-projects-mobile.php @@ -0,0 +1,65 @@ +
+
+
+ +
+

Digital Economy Trading Zones

+ This Research Project examines novel forms of cross-disciplinary and cross-sector partnerships necessary for creating world class academic research on digital media. It also intends to provide novel insight for private industry and for commercialization, as well as new venues for the innovative work of artistic and cultural organizations. +
+
+
+ +
+

Pervasive Computing and Intelligent Device Control using ARM Devices

+ ARM systems are extremely popular, cost-effective, and very energy-efficient computers. These systems help realize the vision of pervasive computing, through connected mobile, embedded, and back-end cloud systems. +
+
+
+ +
+

Tecla

+ Tecla is a set of open software and hardware tools that facilitate switch access to electronic devices for people with mobility impairments.
+
+
+
+
+ +
+

ThingTank Lab

+ The ThingTank Lab is an open, community based collaborative ideation lab: a place where the exploration, experimentation, and exchange of ideas are developed towards the building of internet enabled “things”. +
+
+
+ +
+

Accessibility for mobile devices for NexJ Connected Wellness Platform

+ This project will develop a platform to deliver interactive health information and education which will function across diverse mobile devices. +
+
+
+ +
+

EILab

+ The Educational Informatics Lab at the University of Ontario Institute of Technology is specifically designed to examine interactions in a learning relationship when it happens through any form of digital interface. +
+
+
+
diff --git a/cluster-projects-policies.php b/cluster-projects-policies.php new file mode 100644 index 0000000..d8abe3f --- /dev/null +++ b/cluster-projects-policies.php @@ -0,0 +1,44 @@ +
+
+
+ +
+

GPII

+ The Global Public Inclusive Infrastructure will combine cloud computing with web and platform services to make accessibility available everywhere. +
+
+
+ +
+

Cloud4all

+ Cloud4all aims to develop a complete new paradigm in accessibility, by replacing adaptation of individual products and services for a person with automatic-personalisation of any mainstream product or service, using cloud technologies to activate and augment any natural (built-in) accessibility the product or service has, based on a profile of the user’s needs. +
+
+
+
+
+ +
+

Technologies and Tools for the Open Web

+ This project is working with the Mozilla Foundation to develop technologies that will expand the inclusiveness of the open web, and to develop tools to enable a broad range of developers to utilize these technologies. +
+
+
+ +
+

ÆGIS (Ontario)

+ The ÆGIS (Ontario) project will explore inclusive design approaches to develop an Open Accessibility Framework to address the design, development and deployment of sustainable, needs-based, accessible mainstream ICT. +
+
+
+
diff --git a/cluster.php b/cluster.php new file mode 100644 index 0000000..e47d0a2 --- /dev/null +++ b/cluster.php @@ -0,0 +1,47 @@ + + + +
+
+ + + +
+
+ + +
+

+ +
+ post_name); ?> +
+ + post_name); ?> + +
+ post_name); ?> +
+
+
+
+ +
+ + + diff --git a/comments.php b/comments.php deleted file mode 100644 index 5937ff8..0000000 --- a/comments.php +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/contact-info.php b/contact-info.php new file mode 100644 index 0000000..17d8275 --- /dev/null +++ b/contact-info.php @@ -0,0 +1,19 @@ +
+

Contact us!

+
+
+ Inclusive Design Institute
+ + 205 Richmond St. West
+ 2nd Floor
+ Toronto, ON M5V 1V3
+ Canada +
+
+ (416) 977-6000, x3968 +
+ +
+
diff --git a/contact.php b/contact.php new file mode 100644 index 0000000..1e4f849 --- /dev/null +++ b/contact.php @@ -0,0 +1,12 @@ + + + +
+ This is the Contact page. +
+ + diff --git a/fonts/Lato-Black.woff b/fonts/Lato-Black.woff new file mode 100644 index 0000000..5282c2e Binary files /dev/null and b/fonts/Lato-Black.woff differ diff --git a/fonts/Lato-Bold.woff b/fonts/Lato-Bold.woff new file mode 100644 index 0000000..68729b7 Binary files /dev/null and b/fonts/Lato-Bold.woff differ diff --git a/fonts/Lato-BoldItalic.woff b/fonts/Lato-BoldItalic.woff new file mode 100644 index 0000000..6f396fc Binary files /dev/null and b/fonts/Lato-BoldItalic.woff differ diff --git a/fonts/Lato-Italic.woff b/fonts/Lato-Italic.woff new file mode 100644 index 0000000..03c8be2 Binary files /dev/null and b/fonts/Lato-Italic.woff differ diff --git a/fonts/Lato-Light.woff b/fonts/Lato-Light.woff new file mode 100644 index 0000000..13d8c9e Binary files /dev/null and b/fonts/Lato-Light.woff differ diff --git a/fonts/Lato-LightItalic.woff b/fonts/Lato-LightItalic.woff new file mode 100644 index 0000000..dfe88b4 Binary files /dev/null and b/fonts/Lato-LightItalic.woff differ diff --git a/footer-content.php b/footer-content.php new file mode 100644 index 0000000..e0f9eff --- /dev/null +++ b/footer-content.php @@ -0,0 +1,12 @@ + + diff --git a/footer.php b/footer.php deleted file mode 100644 index 948cd97..0000000 --- a/footer.php +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/front-page.php b/front-page.php index 381cc42..48ffb53 100644 --- a/front-page.php +++ b/front-page.php @@ -1,100 +1,82 @@ + + - - - -
-
-

Join the IDI mailing list

-
-
- - -
-
-
-
-

Visit our wiki space

-

wiki.inclusivedesign.ca

-
-
- -
-

Research Clusters

- -
- -
- + +
+ 2) ); while ($the_query->have_posts()): $the_query->the_post(); global $more; $more = 0; - - - ?> -
- '; - the_time('F jS, Y'); - echo '
'; - echo '

'; - the_title(); - echo '

'; - remove_filter (�the_content�, �wpautop�); - the_content("read more"); ?> -
+
+
+ +
+

+
+
+ +
+
+
+
-
- -
+
+ + + +
+ +
+ + +
+
+ +
+
+ + +
+
+
+
- + + \ No newline at end of file diff --git a/functions.php b/functions.php index a65bc6f..2f1b2cd 100644 --- a/functions.php +++ b/functions.php @@ -1,39 +1,110 @@ __( 'Main Sidebar', 'idi_theme' ), - 'id' => 'sidebar-1', - 'before_widget' => "" - ) ); +/** + * Add IDI-specific JS files to the header + */ +function add_idi_files() { + $baseurl = get_stylesheet_directory_uri(); + + // The font fix for Chrome and Firefox on windows + // Lato font is too light to read with chrome on windows, use arial/helvetica instead + $userAgent = strtolower($_SERVER['HTTP_USER_AGENT']); + if (strpos($userAgent, "windows") && (strpos($userAgent, "chrome") || strpos($userAgent, "firefox"))) { + echo ''. "\n"; + } + + echo '' . "\n"; + echo '' . "\n"; + echo '' . "\n"; - register_sidebar( array( - 'name' => __( 'Footer Area One', 'idi_theme' ), - 'id' => 'sidebar-3', - 'description' => __( 'An optional widget area for your site footer', 'idi_theme' ), - 'before_widget' => "", - 'after_widget' => "" - ) ); - - register_sidebar( array( - 'name' => __( 'Footer Area Two', 'idi_theme' ), - 'id' => 'sidebar-4', - 'description' => __( 'An optional widget area for your site footer', 'idi_theme' ) - ) ); } -?> \ No newline at end of file +add_action('wp_head', 'add_idi_files'); + +/** + * Customize the 'more' link at the end of a post excerpt + */ +function idi_excerpt_more($more) { + global $post; + return '

read article

'; + +} +add_filter('excerpt_more', 'idi_excerpt_more'); + +/** + * Brand the login page with IDI-specific styling + */ +function brand_login_page() { + echo ''; + echo ''; + echo ''; +} +add_action('login_head', 'brand_login_page'); + +/** + * Taken from the Wordpress Codex documentation for conditional tags + * Determines if the current page or post is a descendent of the given page + */ +function is_tree($pid) { // $pid = The ID of the page we're looking for pages underneath + global $post; // load details about this page + $anc = get_post_ancestors( $post->ID ); + foreach($anc as $ancestor) { + if(is_page() && $ancestor == $pid) { + return true; + } + } + if(is_page()&&(is_page($pid))) + return true; // we're at the page or at a sub page + else + return false; // we're elsewhere +}; + +function idi_generate_top_nav() { + $pages = get_pages( array ('parent' => '0', 'sort_column' => 'menu_order')); + $out = ""; + + echo $out; +} + +/** + * Removed the attribute id="content" that's inherited from the parent theme "wordpress-fss-theme" + * if the idi-theme template needs to have "skip to content" link leads to a more specific content + * section. + */ +function remove_parent_contentID() { + echo '' . "\n"; +} + +?> diff --git a/header.php b/header.php deleted file mode 100644 index 48ddfe2..0000000 --- a/header.php +++ /dev/null @@ -1,88 +0,0 @@ - -> - - - <?php wp_title ( '|', true,'right' ); ?><?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- -
-
- -
-
-
-
- - - -
- -
-
-

- - -
- -
- -
-
\ No newline at end of file diff --git a/archive.php b/idi-ltie8.js similarity index 100% rename from archive.php rename to idi-ltie8.js diff --git a/idi.js b/idi.js index 28fa29d..c250e68 100644 --- a/idi.js +++ b/idi.js @@ -1,5 +1,5 @@ /* -Copyright 2011 OCAD University +Copyright 2012 OCAD University Licensed under the Educational Community License (ECL), Version 2.0 or the New BSD license. You may not use this file except in compliance with one these @@ -10,47 +10,135 @@ https://github.com/fluid-project/infusion/raw/master/Infusion-LICENSE.txt */ // Declare dependencies -/*global idi:true, fluid, jQuery*/ +/*global idi:true, fluid, jQuery, window*/ // JSLint options /*jslint white: true, funcinvoke: true, undef: true, newcap: true, nomen: true, regexp: true, bitwise: true, browser: true, forin: true, maxerr: 100, indent: 4 */ var idi = idi || {}; + (function ($) { + idi.makeTopNavSticky = function () { + var theWindow = $(window); -/* fluid.demands("fluid.uiOptions.templatePath", "fluid.fatPanelUIOptions", { - options: { - value: "{fatPanelUIOptions}.options.prefix" + var topNavEl = $('.fl-site-nav-main'); + var topNavHeight = topNavEl.css('height'); + var paddingString = $('.fl-site-nav-main ul').css('padding-top'); + var padding = parseInt(paddingString.substring(0, paddingString.length - 2), 10); + var topNavTop = topNavEl.offset().top - padding; + var spacerEl = $("
"); + spacerEl.css("height", topNavHeight); + spacerEl.insertBefore(topNavEl); + + theWindow.scroll(function () { + var windowTop = theWindow.scrollTop(); + spacerEl.toggle(windowTop > topNavTop); + topNavEl.toggleClass('sticky', windowTop > topNavTop); + }); + }; + + idi.closeOpenedPanel = function (toClose, toggleBtn) { + if (toClose.is(":visible") && (toClose.height() > 0)) { + toggleBtn.click(); } - }); - - fluid.demands("fluid.renderIframe", ["fluid.fatPanelUIOptions"], { - options: { - markupProps: { - src: "http://dev.inclusivedesign.ca/wordpress/wp-content/themes/idi_theme/webapp/components/uiOptions/html/FatPanelUIOptionsFrame.html" + }; + + idi.selectors = { + UIOiFrame: ".flc-iframe", + loginContainer: ".flc-uiOptions-fatPanel", + loginPanel: ".idi-slidingPanel-panel", + loginToggleBtn: ".idi-slidingPanel-toggleButton", + UIOToggleButton: '.flc-slidingPanel-toggleButton', + loginForm: ".idi-login-form", + mailingList: { + form: ".idi-mailing-list-signup", + loading: ".idi-loading", + listForm: "#idiMailingListSignup", + listEmail: "#listEmail", + success: ".idi-signup-success", + emailed: ".idi-email-signedup", + error: ".idi-signup-error", + warning: ".idi-invalid-email-warning" + } + }; + + idi.setUpLoginOutPanel = function () { + fluid.slidingPanel(idi.selectors.loginContainer, { + selectors: { + panel: idi.selectors.loginPanel, + toggleButton: idi.selectors.loginToggleBtn + }, + strings: { + showText: "Login", + hideText: "Login" + }, + listeners: { + onPanelShow: function () { + // close UIO panel if it was open + idi.closeOpenedPanel($(idi.selectors.UIOiFrame), $(idi.selectors.UIOToggleButton)); + } } + }); + $(idi.selectors.loginPanel).hide(); + $(idi.selectors.loginForm).show(); + }; + + idi.mailingListSignup = function () { + var form = $(idi.selectors.mailingList.form); + var loading = $(idi.selectors.mailingList.loading); + form.hide(); + loading.show(); + + var listForm = $(idi.selectors.mailingList.listForm); + var listEmail = $(idi.selectors.mailingList.listEmail).val(); + var success = $(idi.selectors.mailingList.success); + var emailed = $(idi.selectors.mailingList.emailed); + var error = $(idi.selectors.mailingList.error); + var warning = $(idi.selectors.mailingList.warning); + warning.hide(); + + //validate for non-html5 browsers + var reg = /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/; + if (reg.test(listEmail) === false) { + warning.show(); + } else { + $.ajax({ + url: listForm.attr('action'), + type: listForm.attr('method'), + data: {email: listEmail}, + success: function (email) { + loading.hide(); + emailed.text(listEmail); + success.show(); + }, + error: function () { + loading.hide(); + error.show(); + } + }); } + return false; + }; + + idi.keyboardA11y = function () { + // Pull repetitive links out of the tab order. + // Each of these links has another link adjacent to it that goes to the same place. + $(".idi-no-tab-focus").attr("tabindex", "-1"); + }; + + $(document).ready(function () { + idi.setUpLoginOutPanel(); + idi.makeTopNavSticky(); + idi.keyboardA11y(); }); - // Supply the table of contents' template URL - fluid.demands("fluid.tableOfContents.levels", "fluid.tableOfContents", { + fluid.demands("fluid.slidingPanel", ["fluid.uiOptions", "fluid.uiEnhancer"], { options: { - resources: { - template: { - forceCache: true, - url: "http://dev.inclusivedesign.ca/wordpress/wp-content/themes/idi_theme/webapp/components/tableOfContents/html/TableOfContents.html" + listeners: { + afterPanelShow: function () { + // close login panel if it was open + idi.closeOpenedPanel($(idi.selectors.loginPanel), $(idi.selectors.loginToggleBtn)); } } } - });*/ - - idi.init = function () { - fluid.pageEnhancer({ - //tocTemplate: "/infusion/components/tableOfContents/html/TableOfContents.html" - tocTemplate: "http://dev.inclusivedesign.ca/wordpress/wp-content/themes/idi_theme/infusion/components/tableOfContents/html/TableOfContents.html" - }); - - fluid.uiOptions.fatPanel(".flc-uiOptions-fatPanel", { - prefix: "http://dev.inclusivedesign.ca/wordpress/wp-content/themes/idi_theme/infusion/components/uiOptions/html/" - }); - }; + }); })(jQuery); \ No newline at end of file diff --git a/images/_idi_logo.png b/images/_idi_logo.png deleted file mode 100644 index c86b03b..0000000 Binary files a/images/_idi_logo.png and /dev/null differ diff --git a/images/arrows-small/arrow-black.gif b/images/arrows-small/arrow-black.gif new file mode 100644 index 0000000..d048645 Binary files /dev/null and b/images/arrows-small/arrow-black.gif differ diff --git a/images/arrows-small/arrow-hover-black.gif b/images/arrows-small/arrow-hover-black.gif new file mode 100644 index 0000000..19621a6 Binary files /dev/null and b/images/arrows-small/arrow-hover-black.gif differ diff --git a/images/arrows-small/arrow-hover-white.gif b/images/arrows-small/arrow-hover-white.gif new file mode 100644 index 0000000..cebba90 Binary files /dev/null and b/images/arrows-small/arrow-hover-white.gif differ diff --git a/images/arrows-small/arrow-hover-yellow.gif b/images/arrows-small/arrow-hover-yellow.gif new file mode 100644 index 0000000..575e811 Binary files /dev/null and b/images/arrows-small/arrow-hover-yellow.gif differ diff --git a/images/arrows-small/arrow-hover.gif b/images/arrows-small/arrow-hover.gif new file mode 100644 index 0000000..42cc129 Binary files /dev/null and b/images/arrows-small/arrow-hover.gif differ diff --git a/images/arrows-small/arrow-left-black.gif b/images/arrows-small/arrow-left-black.gif new file mode 100644 index 0000000..f477e51 Binary files /dev/null and b/images/arrows-small/arrow-left-black.gif differ diff --git a/images/arrows-small/arrow-left-hover-black.gif b/images/arrows-small/arrow-left-hover-black.gif new file mode 100644 index 0000000..b68282d Binary files /dev/null and b/images/arrows-small/arrow-left-hover-black.gif differ diff --git a/images/arrows-small/arrow-left-hover-white.gif b/images/arrows-small/arrow-left-hover-white.gif new file mode 100644 index 0000000..6e05dc7 Binary files /dev/null and b/images/arrows-small/arrow-left-hover-white.gif differ diff --git a/images/arrows-small/arrow-left-hover-yellow.gif b/images/arrows-small/arrow-left-hover-yellow.gif new file mode 100644 index 0000000..093cea6 Binary files /dev/null and b/images/arrows-small/arrow-left-hover-yellow.gif differ diff --git a/images/arrows-small/arrow-left-hover.gif b/images/arrows-small/arrow-left-hover.gif new file mode 100644 index 0000000..ddf0e5b Binary files /dev/null and b/images/arrows-small/arrow-left-hover.gif differ diff --git a/images/arrows-small/arrow-left-white.gif b/images/arrows-small/arrow-left-white.gif new file mode 100644 index 0000000..f50013f Binary files /dev/null and b/images/arrows-small/arrow-left-white.gif differ diff --git a/images/arrows-small/arrow-left-yellow.gif b/images/arrows-small/arrow-left-yellow.gif new file mode 100644 index 0000000..6429da6 Binary files /dev/null and b/images/arrows-small/arrow-left-yellow.gif differ diff --git a/images/arrows-small/arrow-left.gif b/images/arrows-small/arrow-left.gif new file mode 100644 index 0000000..3cc2b6f Binary files /dev/null and b/images/arrows-small/arrow-left.gif differ diff --git a/images/arrows-small/arrow-white.gif b/images/arrows-small/arrow-white.gif new file mode 100644 index 0000000..128743f Binary files /dev/null and b/images/arrows-small/arrow-white.gif differ diff --git a/images/arrows-small/arrow-yellow.gif b/images/arrows-small/arrow-yellow.gif new file mode 100644 index 0000000..438c1a8 Binary files /dev/null and b/images/arrows-small/arrow-yellow.gif differ diff --git a/images/arrows-small/arrow.gif b/images/arrows-small/arrow.gif new file mode 100644 index 0000000..3d399a1 Binary files /dev/null and b/images/arrows-small/arrow.gif differ diff --git a/images/arrows-small/arrow1-black.gif b/images/arrows-small/arrow1-black.gif new file mode 100644 index 0000000..f7966f8 Binary files /dev/null and b/images/arrows-small/arrow1-black.gif differ diff --git a/images/arrows-small/arrow1-hover.gif b/images/arrows-small/arrow1-hover.gif new file mode 100644 index 0000000..64b9a53 Binary files /dev/null and b/images/arrows-small/arrow1-hover.gif differ diff --git a/images/arrows-small/arrow1-left-black.gif b/images/arrows-small/arrow1-left-black.gif new file mode 100644 index 0000000..df3abe4 Binary files /dev/null and b/images/arrows-small/arrow1-left-black.gif differ diff --git a/images/arrows-small/arrow1-left-hover.gif b/images/arrows-small/arrow1-left-hover.gif new file mode 100644 index 0000000..7f010ab Binary files /dev/null and b/images/arrows-small/arrow1-left-hover.gif differ diff --git a/images/arrows-small/arrow1-left-white.gif b/images/arrows-small/arrow1-left-white.gif new file mode 100644 index 0000000..e55db6e Binary files /dev/null and b/images/arrows-small/arrow1-left-white.gif differ diff --git a/images/arrows-small/arrow1-left-yellow.gif b/images/arrows-small/arrow1-left-yellow.gif new file mode 100644 index 0000000..b8b999d Binary files /dev/null and b/images/arrows-small/arrow1-left-yellow.gif differ diff --git a/images/arrows-small/arrow1-left.gif b/images/arrows-small/arrow1-left.gif new file mode 100644 index 0000000..9445b13 Binary files /dev/null and b/images/arrows-small/arrow1-left.gif differ diff --git a/images/arrows-small/arrow1-white.gif b/images/arrows-small/arrow1-white.gif new file mode 100644 index 0000000..027946a Binary files /dev/null and b/images/arrows-small/arrow1-white.gif differ diff --git a/images/arrows-small/arrow1-yellow.gif b/images/arrows-small/arrow1-yellow.gif new file mode 100644 index 0000000..1270372 Binary files /dev/null and b/images/arrows-small/arrow1-yellow.gif differ diff --git a/images/arrows-small/arrow1.gif b/images/arrows-small/arrow1.gif new file mode 100644 index 0000000..4265241 Binary files /dev/null and b/images/arrows-small/arrow1.gif differ diff --git a/images/arrows/arrow-black.gif b/images/arrows/arrow-black.gif new file mode 100644 index 0000000..8df6a4f Binary files /dev/null and b/images/arrows/arrow-black.gif differ diff --git a/images/arrows/arrow-hover-black.gif b/images/arrows/arrow-hover-black.gif new file mode 100644 index 0000000..0c80ab5 Binary files /dev/null and b/images/arrows/arrow-hover-black.gif differ diff --git a/images/arrows/arrow-hover-white.gif b/images/arrows/arrow-hover-white.gif new file mode 100644 index 0000000..f69f391 Binary files /dev/null and b/images/arrows/arrow-hover-white.gif differ diff --git a/images/arrows/arrow-hover-yellow.gif b/images/arrows/arrow-hover-yellow.gif new file mode 100644 index 0000000..ef58b48 Binary files /dev/null and b/images/arrows/arrow-hover-yellow.gif differ diff --git a/images/arrows/arrow-hover.gif b/images/arrows/arrow-hover.gif new file mode 100644 index 0000000..2145176 Binary files /dev/null and b/images/arrows/arrow-hover.gif differ diff --git a/images/arrows/arrow-left-black.gif b/images/arrows/arrow-left-black.gif new file mode 100644 index 0000000..4c4f663 Binary files /dev/null and b/images/arrows/arrow-left-black.gif differ diff --git a/images/arrows/arrow-left-hover-black.gif b/images/arrows/arrow-left-hover-black.gif new file mode 100644 index 0000000..753a58f Binary files /dev/null and b/images/arrows/arrow-left-hover-black.gif differ diff --git a/images/arrows/arrow-left-hover-white.gif b/images/arrows/arrow-left-hover-white.gif new file mode 100644 index 0000000..6fe71cd Binary files /dev/null and b/images/arrows/arrow-left-hover-white.gif differ diff --git a/images/arrows/arrow-left-hover-yellow.gif b/images/arrows/arrow-left-hover-yellow.gif new file mode 100644 index 0000000..bcf0bb0 Binary files /dev/null and b/images/arrows/arrow-left-hover-yellow.gif differ diff --git a/images/arrows/arrow-left-hover.gif b/images/arrows/arrow-left-hover.gif new file mode 100644 index 0000000..966d1b9 Binary files /dev/null and b/images/arrows/arrow-left-hover.gif differ diff --git a/images/arrows/arrow-left-white.gif b/images/arrows/arrow-left-white.gif new file mode 100644 index 0000000..3c2e624 Binary files /dev/null and b/images/arrows/arrow-left-white.gif differ diff --git a/images/arrows/arrow-left-yellow.gif b/images/arrows/arrow-left-yellow.gif new file mode 100644 index 0000000..35e9eac Binary files /dev/null and b/images/arrows/arrow-left-yellow.gif differ diff --git a/images/arrows/arrow-left.gif b/images/arrows/arrow-left.gif new file mode 100644 index 0000000..9f40a07 Binary files /dev/null and b/images/arrows/arrow-left.gif differ diff --git a/images/arrows/arrow-white.gif b/images/arrows/arrow-white.gif new file mode 100644 index 0000000..c5fcd05 Binary files /dev/null and b/images/arrows/arrow-white.gif differ diff --git a/images/arrows/arrow-yellow.gif b/images/arrows/arrow-yellow.gif new file mode 100644 index 0000000..0f8e95b Binary files /dev/null and b/images/arrows/arrow-yellow.gif differ diff --git a/images/arrows/arrow.gif b/images/arrows/arrow.gif new file mode 100644 index 0000000..d221584 Binary files /dev/null and b/images/arrows/arrow.gif differ diff --git a/images/arrows/arrow1-black.gif b/images/arrows/arrow1-black.gif new file mode 100644 index 0000000..b1333ca Binary files /dev/null and b/images/arrows/arrow1-black.gif differ diff --git a/images/arrows/arrow1-hover.gif b/images/arrows/arrow1-hover.gif new file mode 100644 index 0000000..ea5357c Binary files /dev/null and b/images/arrows/arrow1-hover.gif differ diff --git a/images/arrows/arrow1-white.gif b/images/arrows/arrow1-white.gif new file mode 100644 index 0000000..d5f2d75 Binary files /dev/null and b/images/arrows/arrow1-white.gif differ diff --git a/images/arrows/arrow1-yellow.gif b/images/arrows/arrow1-yellow.gif new file mode 100644 index 0000000..cde8bbc Binary files /dev/null and b/images/arrows/arrow1-yellow.gif differ diff --git a/images/arrows/arrow1.gif b/images/arrows/arrow1.gif new file mode 100644 index 0000000..c17a1fb Binary files /dev/null and b/images/arrows/arrow1.gif differ diff --git a/images/arrows/arrowresearch-black.png b/images/arrows/arrowresearch-black.png new file mode 100644 index 0000000..3c98e03 Binary files /dev/null and b/images/arrows/arrowresearch-black.png differ diff --git a/images/arrows/arrowresearch-blackflip.png b/images/arrows/arrowresearch-blackflip.png new file mode 100644 index 0000000..2f55c46 Binary files /dev/null and b/images/arrows/arrowresearch-blackflip.png differ diff --git a/images/arrows/arrowresearch-blue.png b/images/arrows/arrowresearch-blue.png new file mode 100644 index 0000000..2c1747f Binary files /dev/null and b/images/arrows/arrowresearch-blue.png differ diff --git a/images/arrows/arrowresearch-green.png b/images/arrows/arrowresearch-green.png new file mode 100644 index 0000000..1fa8106 Binary files /dev/null and b/images/arrows/arrowresearch-green.png differ diff --git a/images/arrows/arrowresearch-orange.png b/images/arrows/arrowresearch-orange.png new file mode 100644 index 0000000..ea24ea0 Binary files /dev/null and b/images/arrows/arrowresearch-orange.png differ diff --git a/images/arrows/arrowresearch-red.png b/images/arrows/arrowresearch-red.png new file mode 100644 index 0000000..c44240f Binary files /dev/null and b/images/arrows/arrowresearch-red.png differ diff --git a/images/arrows/arrowresearch-white.png b/images/arrows/arrowresearch-white.png new file mode 100644 index 0000000..9accf88 Binary files /dev/null and b/images/arrows/arrowresearch-white.png differ diff --git a/images/arrows/arrowresearch-whiteflip.png b/images/arrows/arrowresearch-whiteflip.png new file mode 100644 index 0000000..cdc9a8f Binary files /dev/null and b/images/arrows/arrowresearch-whiteflip.png differ diff --git a/images/arrows/arrowresearch-yellow.png b/images/arrows/arrowresearch-yellow.png new file mode 100644 index 0000000..47217fc Binary files /dev/null and b/images/arrows/arrowresearch-yellow.png differ diff --git a/images/arrows/arrowresearch-yellowflip.png b/images/arrows/arrowresearch-yellowflip.png new file mode 100644 index 0000000..d1ece21 Binary files /dev/null and b/images/arrows/arrowresearch-yellowflip.png differ diff --git a/images/bg-mailinglist.png b/images/bg-mailinglist.png new file mode 100644 index 0000000..1a50528 Binary files /dev/null and b/images/bg-mailinglist.png differ diff --git a/images/bg.png b/images/bg.png new file mode 100644 index 0000000..dff2743 Binary files /dev/null and b/images/bg.png differ diff --git a/images/circles-gif/circle-black.gif b/images/circles-gif/circle-black.gif new file mode 100644 index 0000000..3ae6d0a Binary files /dev/null and b/images/circles-gif/circle-black.gif differ diff --git a/images/circles-gif/circle-black100.gif b/images/circles-gif/circle-black100.gif new file mode 100644 index 0000000..0b058ac Binary files /dev/null and b/images/circles-gif/circle-black100.gif differ diff --git a/images/circles-gif/circle-black106.gif b/images/circles-gif/circle-black106.gif new file mode 100644 index 0000000..7dc1d98 Binary files /dev/null and b/images/circles-gif/circle-black106.gif differ diff --git a/images/circles-gif/circle-black120.gif b/images/circles-gif/circle-black120.gif new file mode 100644 index 0000000..d181eda Binary files /dev/null and b/images/circles-gif/circle-black120.gif differ diff --git a/images/circles-gif/circle-black140.gif b/images/circles-gif/circle-black140.gif new file mode 100644 index 0000000..2af5d75 Binary files /dev/null and b/images/circles-gif/circle-black140.gif differ diff --git a/images/circles-gif/circle-black147.gif b/images/circles-gif/circle-black147.gif new file mode 100644 index 0000000..2540c44 Binary files /dev/null and b/images/circles-gif/circle-black147.gif differ diff --git a/images/circles-gif/circle-black160.gif b/images/circles-gif/circle-black160.gif new file mode 100644 index 0000000..f50b5ca Binary files /dev/null and b/images/circles-gif/circle-black160.gif differ diff --git a/images/circles-gif/circle-black166.gif b/images/circles-gif/circle-black166.gif new file mode 100644 index 0000000..a5f0e56 Binary files /dev/null and b/images/circles-gif/circle-black166.gif differ diff --git a/images/circles-gif/circle-black70.gif b/images/circles-gif/circle-black70.gif new file mode 100644 index 0000000..7f4e388 Binary files /dev/null and b/images/circles-gif/circle-black70.gif differ diff --git a/images/circles-gif/circle-black76.gif b/images/circles-gif/circle-black76.gif new file mode 100644 index 0000000..93fe6bc Binary files /dev/null and b/images/circles-gif/circle-black76.gif differ diff --git a/images/circles-gif/circle-black90.gif b/images/circles-gif/circle-black90.gif new file mode 100644 index 0000000..09d2e27 Binary files /dev/null and b/images/circles-gif/circle-black90.gif differ diff --git a/images/circles-gif/circle-blue-hover.gif b/images/circles-gif/circle-blue-hover.gif new file mode 100644 index 0000000..7cb9576 Binary files /dev/null and b/images/circles-gif/circle-blue-hover.gif differ diff --git a/images/circles-gif/circle-blue.gif b/images/circles-gif/circle-blue.gif new file mode 100644 index 0000000..445c968 Binary files /dev/null and b/images/circles-gif/circle-blue.gif differ diff --git a/images/circles-gif/circle-green-hover.gif b/images/circles-gif/circle-green-hover.gif new file mode 100644 index 0000000..13c0fc9 Binary files /dev/null and b/images/circles-gif/circle-green-hover.gif differ diff --git a/images/circles-gif/circle-green.gif b/images/circles-gif/circle-green.gif new file mode 100644 index 0000000..73c2aba Binary files /dev/null and b/images/circles-gif/circle-green.gif differ diff --git a/images/circles-gif/circle-orange-hover.gif b/images/circles-gif/circle-orange-hover.gif new file mode 100644 index 0000000..cad9d8b Binary files /dev/null and b/images/circles-gif/circle-orange-hover.gif differ diff --git a/images/circles-gif/circle-orange.gif b/images/circles-gif/circle-orange.gif new file mode 100644 index 0000000..3766fdd Binary files /dev/null and b/images/circles-gif/circle-orange.gif differ diff --git a/images/circles-gif/circle-red-hover.gif b/images/circles-gif/circle-red-hover.gif new file mode 100644 index 0000000..326a5aa Binary files /dev/null and b/images/circles-gif/circle-red-hover.gif differ diff --git a/images/circles-gif/circle-red.gif b/images/circles-gif/circle-red.gif new file mode 100644 index 0000000..25a72e7 Binary files /dev/null and b/images/circles-gif/circle-red.gif differ diff --git a/images/circles-gif/circle-white.gif b/images/circles-gif/circle-white.gif new file mode 100644 index 0000000..aba401e Binary files /dev/null and b/images/circles-gif/circle-white.gif differ diff --git a/images/circles-gif/circle-white100.gif b/images/circles-gif/circle-white100.gif new file mode 100644 index 0000000..391c2b4 Binary files /dev/null and b/images/circles-gif/circle-white100.gif differ diff --git a/images/circles-gif/circle-white106.gif b/images/circles-gif/circle-white106.gif new file mode 100644 index 0000000..0e452ed Binary files /dev/null and b/images/circles-gif/circle-white106.gif differ diff --git a/images/circles-gif/circle-white120.gif b/images/circles-gif/circle-white120.gif new file mode 100644 index 0000000..e28da3d Binary files /dev/null and b/images/circles-gif/circle-white120.gif differ diff --git a/images/circles-gif/circle-white140.gif b/images/circles-gif/circle-white140.gif new file mode 100644 index 0000000..a9e3e1e Binary files /dev/null and b/images/circles-gif/circle-white140.gif differ diff --git a/images/circles-gif/circle-white147.gif b/images/circles-gif/circle-white147.gif new file mode 100644 index 0000000..b25ec4d Binary files /dev/null and b/images/circles-gif/circle-white147.gif differ diff --git a/images/circles-gif/circle-white160.gif b/images/circles-gif/circle-white160.gif new file mode 100644 index 0000000..8149f6b Binary files /dev/null and b/images/circles-gif/circle-white160.gif differ diff --git a/images/circles-gif/circle-white166.gif b/images/circles-gif/circle-white166.gif new file mode 100644 index 0000000..abdb974 Binary files /dev/null and b/images/circles-gif/circle-white166.gif differ diff --git a/images/circles-gif/circle-white180.gif b/images/circles-gif/circle-white180.gif new file mode 100644 index 0000000..99adbec Binary files /dev/null and b/images/circles-gif/circle-white180.gif differ diff --git a/images/circles-gif/circle-white70.gif b/images/circles-gif/circle-white70.gif new file mode 100644 index 0000000..e4ba9e7 Binary files /dev/null and b/images/circles-gif/circle-white70.gif differ diff --git a/images/circles-gif/circle-white76.gif b/images/circles-gif/circle-white76.gif new file mode 100644 index 0000000..cb0f31e Binary files /dev/null and b/images/circles-gif/circle-white76.gif differ diff --git a/images/circles-gif/circle-white90.gif b/images/circles-gif/circle-white90.gif new file mode 100644 index 0000000..20146e5 Binary files /dev/null and b/images/circles-gif/circle-white90.gif differ diff --git a/images/circles-gif/circle-yellow.gif b/images/circles-gif/circle-yellow.gif new file mode 100644 index 0000000..38ee10b Binary files /dev/null and b/images/circles-gif/circle-yellow.gif differ diff --git a/images/circles-gif/circle-yellow100.gif b/images/circles-gif/circle-yellow100.gif new file mode 100644 index 0000000..560423a Binary files /dev/null and b/images/circles-gif/circle-yellow100.gif differ diff --git a/images/circles-gif/circle-yellow106.gif b/images/circles-gif/circle-yellow106.gif new file mode 100644 index 0000000..27060a5 Binary files /dev/null and b/images/circles-gif/circle-yellow106.gif differ diff --git a/images/circles-gif/circle-yellow120.gif b/images/circles-gif/circle-yellow120.gif new file mode 100644 index 0000000..ec724d9 Binary files /dev/null and b/images/circles-gif/circle-yellow120.gif differ diff --git a/images/circles-gif/circle-yellow140.gif b/images/circles-gif/circle-yellow140.gif new file mode 100644 index 0000000..45696e6 Binary files /dev/null and b/images/circles-gif/circle-yellow140.gif differ diff --git a/images/circles-gif/circle-yellow147.gif b/images/circles-gif/circle-yellow147.gif new file mode 100644 index 0000000..3224025 Binary files /dev/null and b/images/circles-gif/circle-yellow147.gif differ diff --git a/images/circles-gif/circle-yellow160.gif b/images/circles-gif/circle-yellow160.gif new file mode 100644 index 0000000..cfa1d51 Binary files /dev/null and b/images/circles-gif/circle-yellow160.gif differ diff --git a/images/circles-gif/circle-yellow166.gif b/images/circles-gif/circle-yellow166.gif new file mode 100644 index 0000000..0a8cebd Binary files /dev/null and b/images/circles-gif/circle-yellow166.gif differ diff --git a/images/circles-gif/circle-yellow180.gif b/images/circles-gif/circle-yellow180.gif new file mode 100644 index 0000000..2b4695a Binary files /dev/null and b/images/circles-gif/circle-yellow180.gif differ diff --git a/images/circles-gif/circle-yellow70.gif b/images/circles-gif/circle-yellow70.gif new file mode 100644 index 0000000..6dd29c0 Binary files /dev/null and b/images/circles-gif/circle-yellow70.gif differ diff --git a/images/circles-gif/circle-yellow76.gif b/images/circles-gif/circle-yellow76.gif new file mode 100644 index 0000000..3cf8aa8 Binary files /dev/null and b/images/circles-gif/circle-yellow76.gif differ diff --git a/images/circles-gif/circle-yellow90.gif b/images/circles-gif/circle-yellow90.gif new file mode 100644 index 0000000..e99ee49 Binary files /dev/null and b/images/circles-gif/circle-yellow90.gif differ diff --git a/images/circles/circle-black100.png b/images/circles/circle-black100.png new file mode 100644 index 0000000..4d4e90f Binary files /dev/null and b/images/circles/circle-black100.png differ diff --git a/images/circles/circle-black106.png b/images/circles/circle-black106.png new file mode 100644 index 0000000..6a6d81c Binary files /dev/null and b/images/circles/circle-black106.png differ diff --git a/images/circles/circle-black120.png b/images/circles/circle-black120.png new file mode 100644 index 0000000..c28b4ce Binary files /dev/null and b/images/circles/circle-black120.png differ diff --git a/images/circles/circle-black140.png b/images/circles/circle-black140.png new file mode 100644 index 0000000..d59e4f3 Binary files /dev/null and b/images/circles/circle-black140.png differ diff --git a/images/circles/circle-black147.png b/images/circles/circle-black147.png new file mode 100644 index 0000000..e6c12bc Binary files /dev/null and b/images/circles/circle-black147.png differ diff --git a/images/circles/circle-black160.png b/images/circles/circle-black160.png new file mode 100644 index 0000000..c793ac2 Binary files /dev/null and b/images/circles/circle-black160.png differ diff --git a/images/circles/circle-black166.png b/images/circles/circle-black166.png new file mode 100644 index 0000000..02dae75 Binary files /dev/null and b/images/circles/circle-black166.png differ diff --git a/images/circles/circle-black70.png b/images/circles/circle-black70.png new file mode 100644 index 0000000..91166de Binary files /dev/null and b/images/circles/circle-black70.png differ diff --git a/images/circles/circle-black76.png b/images/circles/circle-black76.png new file mode 100644 index 0000000..f9a1617 Binary files /dev/null and b/images/circles/circle-black76.png differ diff --git a/images/circles/circle-black90.png b/images/circles/circle-black90.png new file mode 100644 index 0000000..8a3ae32 Binary files /dev/null and b/images/circles/circle-black90.png differ diff --git a/images/circles/circle-blue-hover.png b/images/circles/circle-blue-hover.png new file mode 100644 index 0000000..59f7c8c Binary files /dev/null and b/images/circles/circle-blue-hover.png differ diff --git a/images/circles/circle-blue.png b/images/circles/circle-blue.png new file mode 100644 index 0000000..5c3c107 Binary files /dev/null and b/images/circles/circle-blue.png differ diff --git a/images/circles/circle-green-hover.png b/images/circles/circle-green-hover.png new file mode 100644 index 0000000..b5edea3 Binary files /dev/null and b/images/circles/circle-green-hover.png differ diff --git a/images/circles/circle-green.png b/images/circles/circle-green.png new file mode 100644 index 0000000..4954831 Binary files /dev/null and b/images/circles/circle-green.png differ diff --git a/images/circles/circle-orange-hover.png b/images/circles/circle-orange-hover.png new file mode 100644 index 0000000..de93405 Binary files /dev/null and b/images/circles/circle-orange-hover.png differ diff --git a/images/circles/circle-orange.png b/images/circles/circle-orange.png new file mode 100644 index 0000000..7e550bd Binary files /dev/null and b/images/circles/circle-orange.png differ diff --git a/images/circles/circle-red-hover.png b/images/circles/circle-red-hover.png new file mode 100644 index 0000000..0eb3995 Binary files /dev/null and b/images/circles/circle-red-hover.png differ diff --git a/images/circles/circle-red.png b/images/circles/circle-red.png new file mode 100644 index 0000000..e23b552 Binary files /dev/null and b/images/circles/circle-red.png differ diff --git a/images/circles/circle-white100.png b/images/circles/circle-white100.png new file mode 100644 index 0000000..28655dc Binary files /dev/null and b/images/circles/circle-white100.png differ diff --git a/images/circles/circle-white106.png b/images/circles/circle-white106.png new file mode 100644 index 0000000..a2441f3 Binary files /dev/null and b/images/circles/circle-white106.png differ diff --git a/images/circles/circle-white120.png b/images/circles/circle-white120.png new file mode 100644 index 0000000..69f10c6 Binary files /dev/null and b/images/circles/circle-white120.png differ diff --git a/images/circles/circle-white140.png b/images/circles/circle-white140.png new file mode 100644 index 0000000..9faa9fc Binary files /dev/null and b/images/circles/circle-white140.png differ diff --git a/images/circles/circle-white147.png b/images/circles/circle-white147.png new file mode 100644 index 0000000..56a47a3 Binary files /dev/null and b/images/circles/circle-white147.png differ diff --git a/images/circles/circle-white160.png b/images/circles/circle-white160.png new file mode 100644 index 0000000..ef56b57 Binary files /dev/null and b/images/circles/circle-white160.png differ diff --git a/images/circles/circle-white166.png b/images/circles/circle-white166.png new file mode 100644 index 0000000..f7ba67d Binary files /dev/null and b/images/circles/circle-white166.png differ diff --git a/images/circles/circle-white180.png b/images/circles/circle-white180.png new file mode 100644 index 0000000..19a1075 Binary files /dev/null and b/images/circles/circle-white180.png differ diff --git a/images/circles/circle-white70.png b/images/circles/circle-white70.png new file mode 100644 index 0000000..0a841d2 Binary files /dev/null and b/images/circles/circle-white70.png differ diff --git a/images/circles/circle-white76.png b/images/circles/circle-white76.png new file mode 100644 index 0000000..5b28d20 Binary files /dev/null and b/images/circles/circle-white76.png differ diff --git a/images/circles/circle-white90.png b/images/circles/circle-white90.png new file mode 100644 index 0000000..219acee Binary files /dev/null and b/images/circles/circle-white90.png differ diff --git a/images/circles/circle-yellow100.png b/images/circles/circle-yellow100.png new file mode 100644 index 0000000..1c30aec Binary files /dev/null and b/images/circles/circle-yellow100.png differ diff --git a/images/circles/circle-yellow106.png b/images/circles/circle-yellow106.png new file mode 100644 index 0000000..e4c6e33 Binary files /dev/null and b/images/circles/circle-yellow106.png differ diff --git a/images/circles/circle-yellow120.png b/images/circles/circle-yellow120.png new file mode 100644 index 0000000..6658ddf Binary files /dev/null and b/images/circles/circle-yellow120.png differ diff --git a/images/circles/circle-yellow140.png b/images/circles/circle-yellow140.png new file mode 100644 index 0000000..2c47abb Binary files /dev/null and b/images/circles/circle-yellow140.png differ diff --git a/images/circles/circle-yellow147.png b/images/circles/circle-yellow147.png new file mode 100644 index 0000000..ca9f5e9 Binary files /dev/null and b/images/circles/circle-yellow147.png differ diff --git a/images/circles/circle-yellow160.png b/images/circles/circle-yellow160.png new file mode 100644 index 0000000..84bb0c2 Binary files /dev/null and b/images/circles/circle-yellow160.png differ diff --git a/images/circles/circle-yellow166.png b/images/circles/circle-yellow166.png new file mode 100644 index 0000000..e2c9042 Binary files /dev/null and b/images/circles/circle-yellow166.png differ diff --git a/images/circles/circle-yellow180.png b/images/circles/circle-yellow180.png new file mode 100644 index 0000000..2d0a8c5 Binary files /dev/null and b/images/circles/circle-yellow180.png differ diff --git a/images/circles/circle-yellow70.png b/images/circles/circle-yellow70.png new file mode 100644 index 0000000..8b407b7 Binary files /dev/null and b/images/circles/circle-yellow70.png differ diff --git a/images/circles/circle-yellow76.png b/images/circles/circle-yellow76.png new file mode 100644 index 0000000..558c31b Binary files /dev/null and b/images/circles/circle-yellow76.png differ diff --git a/images/circles/circle-yellow90.png b/images/circles/circle-yellow90.png new file mode 100644 index 0000000..5eefddb Binary files /dev/null and b/images/circles/circle-yellow90.png differ diff --git a/images/clusters-small/businesscase-black.png b/images/clusters-small/businesscase-black.png new file mode 100644 index 0000000..a1414b1 Binary files /dev/null and b/images/clusters-small/businesscase-black.png differ diff --git a/images/clusters-small/businesscase-hover.png b/images/clusters-small/businesscase-hover.png new file mode 100644 index 0000000..2a7b642 Binary files /dev/null and b/images/clusters-small/businesscase-hover.png differ diff --git a/images/clusters-small/businesscase-white.png b/images/clusters-small/businesscase-white.png new file mode 100644 index 0000000..e067808 Binary files /dev/null and b/images/clusters-small/businesscase-white.png differ diff --git a/images/clusters-small/businesscase-yellow.png b/images/clusters-small/businesscase-yellow.png new file mode 100644 index 0000000..05a4e5d Binary files /dev/null and b/images/clusters-small/businesscase-yellow.png differ diff --git a/images/clusters-small/businesscase.png b/images/clusters-small/businesscase.png new file mode 100644 index 0000000..7dc1ab5 Binary files /dev/null and b/images/clusters-small/businesscase.png differ diff --git a/images/clusters-small/design&development-black.png b/images/clusters-small/design&development-black.png new file mode 100644 index 0000000..d5a6b3d Binary files /dev/null and b/images/clusters-small/design&development-black.png differ diff --git a/images/clusters-small/design&development-hover.png b/images/clusters-small/design&development-hover.png new file mode 100644 index 0000000..af6f4d6 Binary files /dev/null and b/images/clusters-small/design&development-hover.png differ diff --git a/images/clusters-small/design&development-white.png b/images/clusters-small/design&development-white.png new file mode 100644 index 0000000..11141c9 Binary files /dev/null and b/images/clusters-small/design&development-white.png differ diff --git a/images/clusters-small/design&development-yellow.png b/images/clusters-small/design&development-yellow.png new file mode 100644 index 0000000..ab92674 Binary files /dev/null and b/images/clusters-small/design&development-yellow.png differ diff --git a/images/clusters-small/design&development.png b/images/clusters-small/design&development.png new file mode 100644 index 0000000..51d7d05 Binary files /dev/null and b/images/clusters-small/design&development.png differ diff --git a/images/clusters-small/implementation-black.png b/images/clusters-small/implementation-black.png new file mode 100644 index 0000000..8d89ca8 Binary files /dev/null and b/images/clusters-small/implementation-black.png differ diff --git a/images/clusters-small/implementation-hover.png b/images/clusters-small/implementation-hover.png new file mode 100644 index 0000000..9938a6f Binary files /dev/null and b/images/clusters-small/implementation-hover.png differ diff --git a/images/clusters-small/implementation-white.png b/images/clusters-small/implementation-white.png new file mode 100644 index 0000000..65cf8e6 Binary files /dev/null and b/images/clusters-small/implementation-white.png differ diff --git a/images/clusters-small/implementation-yellow.png b/images/clusters-small/implementation-yellow.png new file mode 100644 index 0000000..33185d2 Binary files /dev/null and b/images/clusters-small/implementation-yellow.png differ diff --git a/images/clusters-small/implementation.png b/images/clusters-small/implementation.png new file mode 100644 index 0000000..8eacc29 Binary files /dev/null and b/images/clusters-small/implementation.png differ diff --git a/images/clusters-small/mobile-black.png b/images/clusters-small/mobile-black.png new file mode 100644 index 0000000..888523b Binary files /dev/null and b/images/clusters-small/mobile-black.png differ diff --git a/images/clusters-small/mobile-hover.png b/images/clusters-small/mobile-hover.png new file mode 100644 index 0000000..8935277 Binary files /dev/null and b/images/clusters-small/mobile-hover.png differ diff --git a/images/clusters-small/mobile-white.png b/images/clusters-small/mobile-white.png new file mode 100644 index 0000000..0b830ae Binary files /dev/null and b/images/clusters-small/mobile-white.png differ diff --git a/images/clusters-small/mobile-yellow.png b/images/clusters-small/mobile-yellow.png new file mode 100644 index 0000000..26e9859 Binary files /dev/null and b/images/clusters-small/mobile-yellow.png differ diff --git a/images/clusters-small/mobile.png b/images/clusters-small/mobile.png new file mode 100644 index 0000000..bad066c Binary files /dev/null and b/images/clusters-small/mobile.png differ diff --git a/images/clusters/businesscase-bg-ltie9.png b/images/clusters/businesscase-bg-ltie9.png new file mode 100644 index 0000000..0455880 Binary files /dev/null and b/images/clusters/businesscase-bg-ltie9.png differ diff --git a/images/clusters/businesscase-bg-white.png b/images/clusters/businesscase-bg-white.png new file mode 100644 index 0000000..e05a161 Binary files /dev/null and b/images/clusters/businesscase-bg-white.png differ diff --git a/images/clusters/businesscase-bg-yellow.png b/images/clusters/businesscase-bg-yellow.png new file mode 100644 index 0000000..1871b74 Binary files /dev/null and b/images/clusters/businesscase-bg-yellow.png differ diff --git a/images/clusters/businesscase-bg.png b/images/clusters/businesscase-bg.png new file mode 100644 index 0000000..29577f3 Binary files /dev/null and b/images/clusters/businesscase-bg.png differ diff --git a/images/clusters/businesscase-black.png b/images/clusters/businesscase-black.png new file mode 100644 index 0000000..26f1e4b Binary files /dev/null and b/images/clusters/businesscase-black.png differ diff --git a/images/clusters/businesscase-hover.png b/images/clusters/businesscase-hover.png new file mode 100644 index 0000000..b4c2712 Binary files /dev/null and b/images/clusters/businesscase-hover.png differ diff --git a/images/clusters/businesscase-white.png b/images/clusters/businesscase-white.png new file mode 100644 index 0000000..a421190 Binary files /dev/null and b/images/clusters/businesscase-white.png differ diff --git a/images/clusters/businesscase-yellow.png b/images/clusters/businesscase-yellow.png new file mode 100644 index 0000000..bf45ce2 Binary files /dev/null and b/images/clusters/businesscase-yellow.png differ diff --git a/images/clusters/businesscase.png b/images/clusters/businesscase.png new file mode 100644 index 0000000..e22c30f Binary files /dev/null and b/images/clusters/businesscase.png differ diff --git a/images/clusters/design&development-bg-ltie9.png b/images/clusters/design&development-bg-ltie9.png new file mode 100644 index 0000000..4b756f8 Binary files /dev/null and b/images/clusters/design&development-bg-ltie9.png differ diff --git a/images/clusters/design&development-bg-white.png b/images/clusters/design&development-bg-white.png new file mode 100644 index 0000000..5b60845 Binary files /dev/null and b/images/clusters/design&development-bg-white.png differ diff --git a/images/clusters/design&development-bg-yellow.png b/images/clusters/design&development-bg-yellow.png new file mode 100644 index 0000000..c43797c Binary files /dev/null and b/images/clusters/design&development-bg-yellow.png differ diff --git a/images/clusters/design&development-bg.png b/images/clusters/design&development-bg.png new file mode 100644 index 0000000..e0e9e31 Binary files /dev/null and b/images/clusters/design&development-bg.png differ diff --git a/images/clusters/design&development-black.png b/images/clusters/design&development-black.png new file mode 100644 index 0000000..48a6fe8 Binary files /dev/null and b/images/clusters/design&development-black.png differ diff --git a/images/clusters/design&development-hover.png b/images/clusters/design&development-hover.png new file mode 100644 index 0000000..f5cd70e Binary files /dev/null and b/images/clusters/design&development-hover.png differ diff --git a/images/clusters/design&development-white.png b/images/clusters/design&development-white.png new file mode 100644 index 0000000..22c4169 Binary files /dev/null and b/images/clusters/design&development-white.png differ diff --git a/images/clusters/design&development-yellow.png b/images/clusters/design&development-yellow.png new file mode 100644 index 0000000..70b0e72 Binary files /dev/null and b/images/clusters/design&development-yellow.png differ diff --git a/images/clusters/design&development.png b/images/clusters/design&development.png new file mode 100644 index 0000000..c4c265a Binary files /dev/null and b/images/clusters/design&development.png differ diff --git a/images/clusters/implementation-bg-ltie9.png b/images/clusters/implementation-bg-ltie9.png new file mode 100644 index 0000000..9f29626 Binary files /dev/null and b/images/clusters/implementation-bg-ltie9.png differ diff --git a/images/clusters/implementation-bg-white.png b/images/clusters/implementation-bg-white.png new file mode 100644 index 0000000..5a473e5 Binary files /dev/null and b/images/clusters/implementation-bg-white.png differ diff --git a/images/clusters/implementation-bg-yellow.png b/images/clusters/implementation-bg-yellow.png new file mode 100644 index 0000000..a73f406 Binary files /dev/null and b/images/clusters/implementation-bg-yellow.png differ diff --git a/images/clusters/implementation-bg.png b/images/clusters/implementation-bg.png new file mode 100644 index 0000000..d7dbc71 Binary files /dev/null and b/images/clusters/implementation-bg.png differ diff --git a/images/clusters/implementation-black.png b/images/clusters/implementation-black.png new file mode 100644 index 0000000..6996ba8 Binary files /dev/null and b/images/clusters/implementation-black.png differ diff --git a/images/clusters/implementation-hover.png b/images/clusters/implementation-hover.png new file mode 100644 index 0000000..cc65ab2 Binary files /dev/null and b/images/clusters/implementation-hover.png differ diff --git a/images/clusters/implementation-white.png b/images/clusters/implementation-white.png new file mode 100644 index 0000000..a885637 Binary files /dev/null and b/images/clusters/implementation-white.png differ diff --git a/images/clusters/implementation-yellow.png b/images/clusters/implementation-yellow.png new file mode 100644 index 0000000..cc23bdf Binary files /dev/null and b/images/clusters/implementation-yellow.png differ diff --git a/images/clusters/implementation.png b/images/clusters/implementation.png new file mode 100644 index 0000000..edb9f57 Binary files /dev/null and b/images/clusters/implementation.png differ diff --git a/images/clusters/mobile-bg-ltie9.png b/images/clusters/mobile-bg-ltie9.png new file mode 100644 index 0000000..aa26a61 Binary files /dev/null and b/images/clusters/mobile-bg-ltie9.png differ diff --git a/images/clusters/mobile-bg-white.png b/images/clusters/mobile-bg-white.png new file mode 100644 index 0000000..032dbc9 Binary files /dev/null and b/images/clusters/mobile-bg-white.png differ diff --git a/images/clusters/mobile-bg-yellow.png b/images/clusters/mobile-bg-yellow.png new file mode 100644 index 0000000..3cdd2ff Binary files /dev/null and b/images/clusters/mobile-bg-yellow.png differ diff --git a/images/clusters/mobile-bg.png b/images/clusters/mobile-bg.png new file mode 100644 index 0000000..1b16878 Binary files /dev/null and b/images/clusters/mobile-bg.png differ diff --git a/images/clusters/mobile-black.png b/images/clusters/mobile-black.png new file mode 100644 index 0000000..f80a3c7 Binary files /dev/null and b/images/clusters/mobile-black.png differ diff --git a/images/clusters/mobile-hover.png b/images/clusters/mobile-hover.png new file mode 100644 index 0000000..8f29880 Binary files /dev/null and b/images/clusters/mobile-hover.png differ diff --git a/images/clusters/mobile-white.png b/images/clusters/mobile-white.png new file mode 100644 index 0000000..db2eb29 Binary files /dev/null and b/images/clusters/mobile-white.png differ diff --git a/images/clusters/mobile-yellow.png b/images/clusters/mobile-yellow.png new file mode 100644 index 0000000..b9c0db3 Binary files /dev/null and b/images/clusters/mobile-yellow.png differ diff --git a/images/clusters/mobile.png b/images/clusters/mobile.png new file mode 100644 index 0000000..80ce5a9 Binary files /dev/null and b/images/clusters/mobile.png differ diff --git a/images/clusters/researchclusters-bg-black.png b/images/clusters/researchclusters-bg-black.png new file mode 100644 index 0000000..15a2d0e Binary files /dev/null and b/images/clusters/researchclusters-bg-black.png differ diff --git a/images/clusters/researchclusters-bg-white.png b/images/clusters/researchclusters-bg-white.png new file mode 100644 index 0000000..f55f638 Binary files /dev/null and b/images/clusters/researchclusters-bg-white.png differ diff --git a/images/clusters/researchclusters-bg-yellow.png b/images/clusters/researchclusters-bg-yellow.png new file mode 100644 index 0000000..1d24c08 Binary files /dev/null and b/images/clusters/researchclusters-bg-yellow.png differ diff --git a/images/clusters/researchclusters-bg.png b/images/clusters/researchclusters-bg.png new file mode 100644 index 0000000..1aba123 Binary files /dev/null and b/images/clusters/researchclusters-bg.png differ diff --git a/images/contact-small/location-black.png b/images/contact-small/location-black.png new file mode 100644 index 0000000..76faaaa Binary files /dev/null and b/images/contact-small/location-black.png differ diff --git a/images/contact-small/location-blue.png b/images/contact-small/location-blue.png new file mode 100644 index 0000000..8cba403 Binary files /dev/null and b/images/contact-small/location-blue.png differ diff --git a/images/contact-small/location-white.png b/images/contact-small/location-white.png new file mode 100644 index 0000000..db4c8d2 Binary files /dev/null and b/images/contact-small/location-white.png differ diff --git a/images/contact-small/location-yellow.png b/images/contact-small/location-yellow.png new file mode 100644 index 0000000..16ac90b Binary files /dev/null and b/images/contact-small/location-yellow.png differ diff --git a/images/contact-small/location.png b/images/contact-small/location.png new file mode 100644 index 0000000..669acd5 Binary files /dev/null and b/images/contact-small/location.png differ diff --git a/images/contact-small/mail-black.png b/images/contact-small/mail-black.png new file mode 100644 index 0000000..88a398f Binary files /dev/null and b/images/contact-small/mail-black.png differ diff --git a/images/contact-small/mail-white.png b/images/contact-small/mail-white.png new file mode 100644 index 0000000..c978780 Binary files /dev/null and b/images/contact-small/mail-white.png differ diff --git a/images/contact-small/mail-yellow.png b/images/contact-small/mail-yellow.png new file mode 100644 index 0000000..a73746f Binary files /dev/null and b/images/contact-small/mail-yellow.png differ diff --git a/images/contact-small/mail.png b/images/contact-small/mail.png new file mode 100644 index 0000000..4a68b90 Binary files /dev/null and b/images/contact-small/mail.png differ diff --git a/images/contact-small/phone-black.png b/images/contact-small/phone-black.png new file mode 100644 index 0000000..19037c7 Binary files /dev/null and b/images/contact-small/phone-black.png differ diff --git a/images/contact-small/phone-white.png b/images/contact-small/phone-white.png new file mode 100644 index 0000000..9148867 Binary files /dev/null and b/images/contact-small/phone-white.png differ diff --git a/images/contact-small/phone-yellow.png b/images/contact-small/phone-yellow.png new file mode 100644 index 0000000..4e0d5d4 Binary files /dev/null and b/images/contact-small/phone-yellow.png differ diff --git a/images/contact-small/phone.png b/images/contact-small/phone.png new file mode 100644 index 0000000..e5f3921 Binary files /dev/null and b/images/contact-small/phone.png differ diff --git a/images/contact/location-black.png b/images/contact/location-black.png new file mode 100644 index 0000000..272dc96 Binary files /dev/null and b/images/contact/location-black.png differ diff --git a/images/contact/location-blue.png b/images/contact/location-blue.png new file mode 100644 index 0000000..0edee32 Binary files /dev/null and b/images/contact/location-blue.png differ diff --git a/images/contact/location-white.png b/images/contact/location-white.png new file mode 100644 index 0000000..0713306 Binary files /dev/null and b/images/contact/location-white.png differ diff --git a/images/contact/location-yellow.png b/images/contact/location-yellow.png new file mode 100644 index 0000000..9c5aace Binary files /dev/null and b/images/contact/location-yellow.png differ diff --git a/images/contact/location.png b/images/contact/location.png new file mode 100644 index 0000000..12dc7c0 Binary files /dev/null and b/images/contact/location.png differ diff --git a/images/contact/mail-black.png b/images/contact/mail-black.png new file mode 100644 index 0000000..a9523e9 Binary files /dev/null and b/images/contact/mail-black.png differ diff --git a/images/contact/mail-white.png b/images/contact/mail-white.png new file mode 100644 index 0000000..282a527 Binary files /dev/null and b/images/contact/mail-white.png differ diff --git a/images/contact/mail-yellow.png b/images/contact/mail-yellow.png new file mode 100644 index 0000000..b23c9bc Binary files /dev/null and b/images/contact/mail-yellow.png differ diff --git a/images/contact/mail.png b/images/contact/mail.png new file mode 100644 index 0000000..afc106f Binary files /dev/null and b/images/contact/mail.png differ diff --git a/images/contact/phone-black.png b/images/contact/phone-black.png new file mode 100644 index 0000000..b12d23f Binary files /dev/null and b/images/contact/phone-black.png differ diff --git a/images/contact/phone-white.png b/images/contact/phone-white.png new file mode 100644 index 0000000..9511166 Binary files /dev/null and b/images/contact/phone-white.png differ diff --git a/images/contact/phone-yellow.png b/images/contact/phone-yellow.png new file mode 100644 index 0000000..7fb7551 Binary files /dev/null and b/images/contact/phone-yellow.png differ diff --git a/images/contact/phone.png b/images/contact/phone.png new file mode 100644 index 0000000..9cbd13b Binary files /dev/null and b/images/contact/phone.png differ diff --git a/images/divider-footer-ltie9.png b/images/divider-footer-ltie9.png new file mode 100644 index 0000000..69ef758 Binary files /dev/null and b/images/divider-footer-ltie9.png differ diff --git a/images/divider-footer.png b/images/divider-footer.png new file mode 100644 index 0000000..69ef758 Binary files /dev/null and b/images/divider-footer.png differ diff --git a/images/divider-stickynav-ltie9.png b/images/divider-stickynav-ltie9.png new file mode 100644 index 0000000..8c19e3b Binary files /dev/null and b/images/divider-stickynav-ltie9.png differ diff --git a/images/divider-stickynav.png b/images/divider-stickynav.png new file mode 100644 index 0000000..8c19e3b Binary files /dev/null and b/images/divider-stickynav.png differ diff --git a/images/envelope.png b/images/envelope.png deleted file mode 100644 index 8a2dac6..0000000 Binary files a/images/envelope.png and /dev/null differ diff --git a/images/externalpage-black-hover.gif b/images/externalpage-black-hover.gif new file mode 100644 index 0000000..b72ed66 Binary files /dev/null and b/images/externalpage-black-hover.gif differ diff --git a/images/externalpage-black.gif b/images/externalpage-black.gif new file mode 100644 index 0000000..20cc88b Binary files /dev/null and b/images/externalpage-black.gif differ diff --git a/images/externalpage-hover.gif b/images/externalpage-hover.gif new file mode 100644 index 0000000..2654e76 Binary files /dev/null and b/images/externalpage-hover.gif differ diff --git a/images/externalpage-white-hover.gif b/images/externalpage-white-hover.gif new file mode 100644 index 0000000..3fdce55 Binary files /dev/null and b/images/externalpage-white-hover.gif differ diff --git a/images/externalpage-white.gif b/images/externalpage-white.gif new file mode 100644 index 0000000..5dc60d7 Binary files /dev/null and b/images/externalpage-white.gif differ diff --git a/images/externalpage-yellow-hover.gif b/images/externalpage-yellow-hover.gif new file mode 100644 index 0000000..6aafc25 Binary files /dev/null and b/images/externalpage-yellow-hover.gif differ diff --git a/images/externalpage-yellow.gif b/images/externalpage-yellow.gif new file mode 100644 index 0000000..da98531 Binary files /dev/null and b/images/externalpage-yellow.gif differ diff --git a/images/externalpage.png b/images/externalpage.png new file mode 100644 index 0000000..80bc070 Binary files /dev/null and b/images/externalpage.png differ diff --git a/images/footer_sep.png b/images/footer_sep.png deleted file mode 100644 index dd2b206..0000000 Binary files a/images/footer_sep.png and /dev/null differ diff --git a/images/idi_logo_bg.png b/images/idi_logo_bg.png deleted file mode 100644 index f7a9f93..0000000 Binary files a/images/idi_logo_bg.png and /dev/null differ diff --git a/images/loading-black.gif b/images/loading-black.gif new file mode 100644 index 0000000..e26f6d6 Binary files /dev/null and b/images/loading-black.gif differ diff --git a/images/loading-white.gif b/images/loading-white.gif new file mode 100644 index 0000000..9733c4a Binary files /dev/null and b/images/loading-white.gif differ diff --git a/images/loading-yellow.gif b/images/loading-yellow.gif new file mode 100644 index 0000000..6b5fff5 Binary files /dev/null and b/images/loading-yellow.gif differ diff --git a/images/loading.gif b/images/loading.gif new file mode 100644 index 0000000..10aefa0 Binary files /dev/null and b/images/loading.gif differ diff --git a/images/loginandpreferences/login-black.png b/images/loginandpreferences/login-black.png new file mode 100644 index 0000000..bc7861b Binary files /dev/null and b/images/loginandpreferences/login-black.png differ diff --git a/images/loginandpreferences/login-white.png b/images/loginandpreferences/login-white.png new file mode 100644 index 0000000..ff2b24b Binary files /dev/null and b/images/loginandpreferences/login-white.png differ diff --git a/images/loginandpreferences/login-yellow.png b/images/loginandpreferences/login-yellow.png new file mode 100644 index 0000000..7cf1288 Binary files /dev/null and b/images/loginandpreferences/login-yellow.png differ diff --git a/images/loginandpreferences/login.png b/images/loginandpreferences/login.png new file mode 100644 index 0000000..e7c6a75 Binary files /dev/null and b/images/loginandpreferences/login.png differ diff --git a/images/loginandpreferences/preferences-black.png b/images/loginandpreferences/preferences-black.png new file mode 100644 index 0000000..fca3d05 Binary files /dev/null and b/images/loginandpreferences/preferences-black.png differ diff --git a/images/loginandpreferences/preferences-white.png b/images/loginandpreferences/preferences-white.png new file mode 100644 index 0000000..a05f037 Binary files /dev/null and b/images/loginandpreferences/preferences-white.png differ diff --git a/images/loginandpreferences/preferences-yellow.png b/images/loginandpreferences/preferences-yellow.png new file mode 100644 index 0000000..50b1150 Binary files /dev/null and b/images/loginandpreferences/preferences-yellow.png differ diff --git a/images/loginandpreferences/preferences.png b/images/loginandpreferences/preferences.png new file mode 100644 index 0000000..17912e2 Binary files /dev/null and b/images/loginandpreferences/preferences.png differ diff --git a/images/logoplaceholder/logoplaceholder-black.png b/images/logoplaceholder/logoplaceholder-black.png new file mode 100644 index 0000000..e446ccc Binary files /dev/null and b/images/logoplaceholder/logoplaceholder-black.png differ diff --git a/images/logoplaceholder/logoplaceholder-white.png b/images/logoplaceholder/logoplaceholder-white.png new file mode 100644 index 0000000..ae9ca2c Binary files /dev/null and b/images/logoplaceholder/logoplaceholder-white.png differ diff --git a/images/logoplaceholder/logoplaceholder-yellow.png b/images/logoplaceholder/logoplaceholder-yellow.png new file mode 100644 index 0000000..d6bdd25 Binary files /dev/null and b/images/logoplaceholder/logoplaceholder-yellow.png differ diff --git a/images/logoplaceholder/logoplaceholder.png b/images/logoplaceholder/logoplaceholder.png new file mode 100644 index 0000000..d67a4dd Binary files /dev/null and b/images/logoplaceholder/logoplaceholder.png differ diff --git a/images/logos/logo-black.gif b/images/logos/logo-black.gif new file mode 100644 index 0000000..5b29a26 Binary files /dev/null and b/images/logos/logo-black.gif differ diff --git a/images/logos/logo-black.png b/images/logos/logo-black.png new file mode 100644 index 0000000..faf4015 Binary files /dev/null and b/images/logos/logo-black.png differ diff --git a/images/logos/logo-hover.gif b/images/logos/logo-hover.gif new file mode 100644 index 0000000..662e35b Binary files /dev/null and b/images/logos/logo-hover.gif differ diff --git a/images/logos/logo-white.gif b/images/logos/logo-white.gif new file mode 100644 index 0000000..fc031b2 Binary files /dev/null and b/images/logos/logo-white.gif differ diff --git a/images/logos/logo-white.png b/images/logos/logo-white.png new file mode 100644 index 0000000..e54ea68 Binary files /dev/null and b/images/logos/logo-white.png differ diff --git a/images/logos/logo-yellow.gif b/images/logos/logo-yellow.gif new file mode 100644 index 0000000..86b6932 Binary files /dev/null and b/images/logos/logo-yellow.gif differ diff --git a/images/logos/logo-yellow.png b/images/logos/logo-yellow.png new file mode 100644 index 0000000..c948e96 Binary files /dev/null and b/images/logos/logo-yellow.png differ diff --git a/images/logos/logo.gif b/images/logos/logo.gif new file mode 100644 index 0000000..12dfdb1 Binary files /dev/null and b/images/logos/logo.gif differ diff --git a/images/logos/logo.png b/images/logos/logo.png new file mode 100644 index 0000000..ea0b735 Binary files /dev/null and b/images/logos/logo.png differ diff --git a/images/navigation-small/about-active.png b/images/navigation-small/about-active.png new file mode 100644 index 0000000..aa961a3 Binary files /dev/null and b/images/navigation-small/about-active.png differ diff --git a/images/navigation-small/about-black.png b/images/navigation-small/about-black.png new file mode 100644 index 0000000..7c84385 Binary files /dev/null and b/images/navigation-small/about-black.png differ diff --git a/images/navigation-small/about-hover.png b/images/navigation-small/about-hover.png new file mode 100644 index 0000000..e01bfc9 Binary files /dev/null and b/images/navigation-small/about-hover.png differ diff --git a/images/navigation-small/about-white.png b/images/navigation-small/about-white.png new file mode 100644 index 0000000..27bb480 Binary files /dev/null and b/images/navigation-small/about-white.png differ diff --git a/images/navigation-small/about-yellow.png b/images/navigation-small/about-yellow.png new file mode 100644 index 0000000..84e2294 Binary files /dev/null and b/images/navigation-small/about-yellow.png differ diff --git a/images/navigation-small/about.png b/images/navigation-small/about.png new file mode 100644 index 0000000..a877431 Binary files /dev/null and b/images/navigation-small/about.png differ diff --git a/images/navigation-small/education-active.png b/images/navigation-small/education-active.png new file mode 100644 index 0000000..ab5a943 Binary files /dev/null and b/images/navigation-small/education-active.png differ diff --git a/images/navigation-small/education-black.png b/images/navigation-small/education-black.png new file mode 100644 index 0000000..634b0ca Binary files /dev/null and b/images/navigation-small/education-black.png differ diff --git a/images/navigation-small/education-hover.png b/images/navigation-small/education-hover.png new file mode 100644 index 0000000..63d0d2b Binary files /dev/null and b/images/navigation-small/education-hover.png differ diff --git a/images/navigation-small/education-white.png b/images/navigation-small/education-white.png new file mode 100644 index 0000000..413cccb Binary files /dev/null and b/images/navigation-small/education-white.png differ diff --git a/images/navigation-small/education-yellow.png b/images/navigation-small/education-yellow.png new file mode 100644 index 0000000..dc2ffda Binary files /dev/null and b/images/navigation-small/education-yellow.png differ diff --git a/images/navigation-small/education.png b/images/navigation-small/education.png new file mode 100644 index 0000000..cc5eb5c Binary files /dev/null and b/images/navigation-small/education.png differ diff --git a/images/navigation-small/home-active.png b/images/navigation-small/home-active.png new file mode 100644 index 0000000..49fb548 Binary files /dev/null and b/images/navigation-small/home-active.png differ diff --git a/images/navigation-small/home-black.png b/images/navigation-small/home-black.png new file mode 100644 index 0000000..e2c51dd Binary files /dev/null and b/images/navigation-small/home-black.png differ diff --git a/images/navigation-small/home-hover.png b/images/navigation-small/home-hover.png new file mode 100644 index 0000000..7915346 Binary files /dev/null and b/images/navigation-small/home-hover.png differ diff --git a/images/navigation-small/home-white.png b/images/navigation-small/home-white.png new file mode 100644 index 0000000..3ebab1a Binary files /dev/null and b/images/navigation-small/home-white.png differ diff --git a/images/navigation-small/home-yellow.png b/images/navigation-small/home-yellow.png new file mode 100644 index 0000000..fd4d73c Binary files /dev/null and b/images/navigation-small/home-yellow.png differ diff --git a/images/navigation-small/home.png b/images/navigation-small/home.png new file mode 100644 index 0000000..9941c20 Binary files /dev/null and b/images/navigation-small/home.png differ diff --git a/images/navigation-small/infrastructure-active.png b/images/navigation-small/infrastructure-active.png new file mode 100644 index 0000000..5c0bbc5 Binary files /dev/null and b/images/navigation-small/infrastructure-active.png differ diff --git a/images/navigation-small/infrastructure-black.png b/images/navigation-small/infrastructure-black.png new file mode 100644 index 0000000..847c86d Binary files /dev/null and b/images/navigation-small/infrastructure-black.png differ diff --git a/images/navigation-small/infrastructure-hover.png b/images/navigation-small/infrastructure-hover.png new file mode 100644 index 0000000..ad130f6 Binary files /dev/null and b/images/navigation-small/infrastructure-hover.png differ diff --git a/images/navigation-small/infrastructure-white.png b/images/navigation-small/infrastructure-white.png new file mode 100644 index 0000000..3eea17a Binary files /dev/null and b/images/navigation-small/infrastructure-white.png differ diff --git a/images/navigation-small/infrastructure-yellow.png b/images/navigation-small/infrastructure-yellow.png new file mode 100644 index 0000000..2fd5e2f Binary files /dev/null and b/images/navigation-small/infrastructure-yellow.png differ diff --git a/images/navigation-small/infrastructure.png b/images/navigation-small/infrastructure.png new file mode 100644 index 0000000..9e14c1f Binary files /dev/null and b/images/navigation-small/infrastructure.png differ diff --git a/images/navigation-small/news-active.png b/images/navigation-small/news-active.png new file mode 100644 index 0000000..785e07e Binary files /dev/null and b/images/navigation-small/news-active.png differ diff --git a/images/navigation-small/news-black.png b/images/navigation-small/news-black.png new file mode 100644 index 0000000..dab5cc2 Binary files /dev/null and b/images/navigation-small/news-black.png differ diff --git a/images/navigation-small/news-hover.png b/images/navigation-small/news-hover.png new file mode 100644 index 0000000..fbe9d90 Binary files /dev/null and b/images/navigation-small/news-hover.png differ diff --git a/images/navigation-small/news-white.png b/images/navigation-small/news-white.png new file mode 100644 index 0000000..6b79ef6 Binary files /dev/null and b/images/navigation-small/news-white.png differ diff --git a/images/navigation-small/news-yellow.png b/images/navigation-small/news-yellow.png new file mode 100644 index 0000000..7d6669c Binary files /dev/null and b/images/navigation-small/news-yellow.png differ diff --git a/images/navigation-small/news.png b/images/navigation-small/news.png new file mode 100644 index 0000000..0f646eb Binary files /dev/null and b/images/navigation-small/news.png differ diff --git a/images/navigation-small/people-active.png b/images/navigation-small/people-active.png new file mode 100644 index 0000000..aa961a3 Binary files /dev/null and b/images/navigation-small/people-active.png differ diff --git a/images/navigation-small/people-black.png b/images/navigation-small/people-black.png new file mode 100644 index 0000000..d4a88d1 Binary files /dev/null and b/images/navigation-small/people-black.png differ diff --git a/images/navigation-small/people-hover.png b/images/navigation-small/people-hover.png new file mode 100644 index 0000000..f186ea0 Binary files /dev/null and b/images/navigation-small/people-hover.png differ diff --git a/images/navigation-small/people-white.png b/images/navigation-small/people-white.png new file mode 100644 index 0000000..6edace8 Binary files /dev/null and b/images/navigation-small/people-white.png differ diff --git a/images/navigation-small/people-yellow.png b/images/navigation-small/people-yellow.png new file mode 100644 index 0000000..d7ef4f0 Binary files /dev/null and b/images/navigation-small/people-yellow.png differ diff --git a/images/navigation-small/people.png b/images/navigation-small/people.png new file mode 100644 index 0000000..8f9c314 Binary files /dev/null and b/images/navigation-small/people.png differ diff --git a/images/navigation-small/research-active.png b/images/navigation-small/research-active.png new file mode 100644 index 0000000..3bb205d Binary files /dev/null and b/images/navigation-small/research-active.png differ diff --git a/images/navigation-small/research-black.png b/images/navigation-small/research-black.png new file mode 100644 index 0000000..d5be702 Binary files /dev/null and b/images/navigation-small/research-black.png differ diff --git a/images/navigation-small/research-hover.png b/images/navigation-small/research-hover.png new file mode 100644 index 0000000..a900afd Binary files /dev/null and b/images/navigation-small/research-hover.png differ diff --git a/images/navigation-small/research-white.png b/images/navigation-small/research-white.png new file mode 100644 index 0000000..13a9050 Binary files /dev/null and b/images/navigation-small/research-white.png differ diff --git a/images/navigation-small/research-yellow.png b/images/navigation-small/research-yellow.png new file mode 100644 index 0000000..85aa4e0 Binary files /dev/null and b/images/navigation-small/research-yellow.png differ diff --git a/images/navigation-small/research.png b/images/navigation-small/research.png new file mode 100644 index 0000000..a0d297a Binary files /dev/null and b/images/navigation-small/research.png differ diff --git a/images/navigation/about-active.png b/images/navigation/about-active.png new file mode 100644 index 0000000..6805b5b Binary files /dev/null and b/images/navigation/about-active.png differ diff --git a/images/navigation/about-black.png b/images/navigation/about-black.png new file mode 100644 index 0000000..f499bf6 Binary files /dev/null and b/images/navigation/about-black.png differ diff --git a/images/navigation/about-hover.png b/images/navigation/about-hover.png new file mode 100644 index 0000000..eb8e4bd Binary files /dev/null and b/images/navigation/about-hover.png differ diff --git a/images/navigation/about-white.png b/images/navigation/about-white.png new file mode 100644 index 0000000..ccd40d0 Binary files /dev/null and b/images/navigation/about-white.png differ diff --git a/images/navigation/about-yellow.png b/images/navigation/about-yellow.png new file mode 100644 index 0000000..9cd6133 Binary files /dev/null and b/images/navigation/about-yellow.png differ diff --git a/images/navigation/about.png b/images/navigation/about.png new file mode 100644 index 0000000..ec832d9 Binary files /dev/null and b/images/navigation/about.png differ diff --git a/images/navigation/education-active.png b/images/navigation/education-active.png new file mode 100644 index 0000000..05a415e Binary files /dev/null and b/images/navigation/education-active.png differ diff --git a/images/navigation/education-black.png b/images/navigation/education-black.png new file mode 100644 index 0000000..8d47498 Binary files /dev/null and b/images/navigation/education-black.png differ diff --git a/images/navigation/education-hover.png b/images/navigation/education-hover.png new file mode 100644 index 0000000..6222f5a Binary files /dev/null and b/images/navigation/education-hover.png differ diff --git a/images/navigation/education-white.png b/images/navigation/education-white.png new file mode 100644 index 0000000..fcd585d Binary files /dev/null and b/images/navigation/education-white.png differ diff --git a/images/navigation/education-yellow.png b/images/navigation/education-yellow.png new file mode 100644 index 0000000..1551d72 Binary files /dev/null and b/images/navigation/education-yellow.png differ diff --git a/images/navigation/education.png b/images/navigation/education.png new file mode 100644 index 0000000..dea1d0f Binary files /dev/null and b/images/navigation/education.png differ diff --git a/images/navigation/home-active.png b/images/navigation/home-active.png new file mode 100644 index 0000000..7d884b0 Binary files /dev/null and b/images/navigation/home-active.png differ diff --git a/images/navigation/home-black.png b/images/navigation/home-black.png new file mode 100644 index 0000000..f673e42 Binary files /dev/null and b/images/navigation/home-black.png differ diff --git a/images/navigation/home-hover.png b/images/navigation/home-hover.png new file mode 100644 index 0000000..f963374 Binary files /dev/null and b/images/navigation/home-hover.png differ diff --git a/images/navigation/home-white.png b/images/navigation/home-white.png new file mode 100644 index 0000000..04570ef Binary files /dev/null and b/images/navigation/home-white.png differ diff --git a/images/navigation/home-yellow.png b/images/navigation/home-yellow.png new file mode 100644 index 0000000..94595db Binary files /dev/null and b/images/navigation/home-yellow.png differ diff --git a/images/navigation/home.png b/images/navigation/home.png new file mode 100644 index 0000000..6fc7be8 Binary files /dev/null and b/images/navigation/home.png differ diff --git a/images/navigation/infrastructure-active.png b/images/navigation/infrastructure-active.png new file mode 100644 index 0000000..2c5bdd1 Binary files /dev/null and b/images/navigation/infrastructure-active.png differ diff --git a/images/navigation/infrastructure-black.png b/images/navigation/infrastructure-black.png new file mode 100644 index 0000000..4fb2929 Binary files /dev/null and b/images/navigation/infrastructure-black.png differ diff --git a/images/navigation/infrastructure-hover.png b/images/navigation/infrastructure-hover.png new file mode 100644 index 0000000..4c0ccc1 Binary files /dev/null and b/images/navigation/infrastructure-hover.png differ diff --git a/images/navigation/infrastructure-white.png b/images/navigation/infrastructure-white.png new file mode 100644 index 0000000..03c8ff8 Binary files /dev/null and b/images/navigation/infrastructure-white.png differ diff --git a/images/navigation/infrastructure-yellow.png b/images/navigation/infrastructure-yellow.png new file mode 100644 index 0000000..1670993 Binary files /dev/null and b/images/navigation/infrastructure-yellow.png differ diff --git a/images/navigation/infrastructure.png b/images/navigation/infrastructure.png new file mode 100644 index 0000000..ddc2d15 Binary files /dev/null and b/images/navigation/infrastructure.png differ diff --git a/images/navigation/news-active.png b/images/navigation/news-active.png new file mode 100644 index 0000000..28a8af2 Binary files /dev/null and b/images/navigation/news-active.png differ diff --git a/images/navigation/news-black.png b/images/navigation/news-black.png new file mode 100644 index 0000000..a8ba9c7 Binary files /dev/null and b/images/navigation/news-black.png differ diff --git a/images/navigation/news-hover.png b/images/navigation/news-hover.png new file mode 100644 index 0000000..9ed6472 Binary files /dev/null and b/images/navigation/news-hover.png differ diff --git a/images/navigation/news-white.png b/images/navigation/news-white.png new file mode 100644 index 0000000..0e5c7df Binary files /dev/null and b/images/navigation/news-white.png differ diff --git a/images/navigation/news-yellow.png b/images/navigation/news-yellow.png new file mode 100644 index 0000000..f16c041 Binary files /dev/null and b/images/navigation/news-yellow.png differ diff --git a/images/navigation/news.png b/images/navigation/news.png new file mode 100644 index 0000000..edb7956 Binary files /dev/null and b/images/navigation/news.png differ diff --git a/images/navigation/people-active.png b/images/navigation/people-active.png new file mode 100644 index 0000000..6805b5b Binary files /dev/null and b/images/navigation/people-active.png differ diff --git a/images/navigation/people-black.png b/images/navigation/people-black.png new file mode 100644 index 0000000..33cb387 Binary files /dev/null and b/images/navigation/people-black.png differ diff --git a/images/navigation/people-hover.png b/images/navigation/people-hover.png new file mode 100644 index 0000000..b28d322 Binary files /dev/null and b/images/navigation/people-hover.png differ diff --git a/images/navigation/people-white.png b/images/navigation/people-white.png new file mode 100644 index 0000000..99abbad Binary files /dev/null and b/images/navigation/people-white.png differ diff --git a/images/navigation/people-yellow.png b/images/navigation/people-yellow.png new file mode 100644 index 0000000..904ef10 Binary files /dev/null and b/images/navigation/people-yellow.png differ diff --git a/images/navigation/people.png b/images/navigation/people.png new file mode 100644 index 0000000..a24676d Binary files /dev/null and b/images/navigation/people.png differ diff --git a/images/navigation/research-active.png b/images/navigation/research-active.png new file mode 100644 index 0000000..cb54eeb Binary files /dev/null and b/images/navigation/research-active.png differ diff --git a/images/navigation/research-black.png b/images/navigation/research-black.png new file mode 100644 index 0000000..a8a67d8 Binary files /dev/null and b/images/navigation/research-black.png differ diff --git a/images/navigation/research-hover.png b/images/navigation/research-hover.png new file mode 100644 index 0000000..ab4920e Binary files /dev/null and b/images/navigation/research-hover.png differ diff --git a/images/navigation/research-white.png b/images/navigation/research-white.png new file mode 100644 index 0000000..9a9c50b Binary files /dev/null and b/images/navigation/research-white.png differ diff --git a/images/navigation/research-yellow.png b/images/navigation/research-yellow.png new file mode 100644 index 0000000..c391a90 Binary files /dev/null and b/images/navigation/research-yellow.png differ diff --git a/images/navigation/research.png b/images/navigation/research.png new file mode 100644 index 0000000..01708bb Binary files /dev/null and b/images/navigation/research.png differ diff --git a/images/news-tweet-small/news-blackandwhite.png b/images/news-tweet-small/news-blackandwhite.png new file mode 100644 index 0000000..07c36fb Binary files /dev/null and b/images/news-tweet-small/news-blackandwhite.png differ diff --git a/images/news-tweet-small/news-blackandyellow.png b/images/news-tweet-small/news-blackandyellow.png new file mode 100644 index 0000000..95b1954 Binary files /dev/null and b/images/news-tweet-small/news-blackandyellow.png differ diff --git a/images/news-tweet-small/news-blue.png b/images/news-tweet-small/news-blue.png new file mode 100644 index 0000000..9903dd8 Binary files /dev/null and b/images/news-tweet-small/news-blue.png differ diff --git a/images/news-tweet-small/tweet-black.png b/images/news-tweet-small/tweet-black.png new file mode 100644 index 0000000..4adee41 Binary files /dev/null and b/images/news-tweet-small/tweet-black.png differ diff --git a/images/news-tweet-small/tweet-hover.png b/images/news-tweet-small/tweet-hover.png new file mode 100644 index 0000000..700c14c Binary files /dev/null and b/images/news-tweet-small/tweet-hover.png differ diff --git a/images/news-tweet-small/tweet-white.png b/images/news-tweet-small/tweet-white.png new file mode 100644 index 0000000..29386ed Binary files /dev/null and b/images/news-tweet-small/tweet-white.png differ diff --git a/images/news-tweet-small/tweet-yellow.png b/images/news-tweet-small/tweet-yellow.png new file mode 100644 index 0000000..b6849e5 Binary files /dev/null and b/images/news-tweet-small/tweet-yellow.png differ diff --git a/images/news-tweet-small/tweet.png b/images/news-tweet-small/tweet.png new file mode 100644 index 0000000..da535bf Binary files /dev/null and b/images/news-tweet-small/tweet.png differ diff --git a/images/news-tweet/news-blackandwhite.png b/images/news-tweet/news-blackandwhite.png new file mode 100644 index 0000000..54c968e Binary files /dev/null and b/images/news-tweet/news-blackandwhite.png differ diff --git a/images/news-tweet/news-blackandyellow.png b/images/news-tweet/news-blackandyellow.png new file mode 100644 index 0000000..b1fa6b0 Binary files /dev/null and b/images/news-tweet/news-blackandyellow.png differ diff --git a/images/news-tweet/news-blue.png b/images/news-tweet/news-blue.png new file mode 100644 index 0000000..614cc3c Binary files /dev/null and b/images/news-tweet/news-blue.png differ diff --git a/images/news-tweet/tweet-black.png b/images/news-tweet/tweet-black.png new file mode 100644 index 0000000..2f74481 Binary files /dev/null and b/images/news-tweet/tweet-black.png differ diff --git a/images/news-tweet/tweet-hover.png b/images/news-tweet/tweet-hover.png new file mode 100644 index 0000000..aecc25c Binary files /dev/null and b/images/news-tweet/tweet-hover.png differ diff --git a/images/news-tweet/tweet-white.png b/images/news-tweet/tweet-white.png new file mode 100644 index 0000000..e90db68 Binary files /dev/null and b/images/news-tweet/tweet-white.png differ diff --git a/images/news-tweet/tweet-yellow.png b/images/news-tweet/tweet-yellow.png new file mode 100644 index 0000000..eb90a0a Binary files /dev/null and b/images/news-tweet/tweet-yellow.png differ diff --git a/images/news-tweet/tweet.png b/images/news-tweet/tweet.png new file mode 100644 index 0000000..b36679e Binary files /dev/null and b/images/news-tweet/tweet.png differ diff --git a/images/people/Baecker.gif b/images/people/Baecker.gif new file mode 100644 index 0000000..ed65ed5 Binary files /dev/null and b/images/people/Baecker.gif differ diff --git a/images/people/CantwellSmith.jpg b/images/people/CantwellSmith.jpg new file mode 100644 index 0000000..7cba30d Binary files /dev/null and b/images/people/CantwellSmith.jpg differ diff --git a/images/people/Carroll.jpg b/images/people/Carroll.jpg new file mode 100644 index 0000000..4d26336 Binary files /dev/null and b/images/people/Carroll.jpg differ diff --git a/images/people/Chau.jpg b/images/people/Chau.jpg new file mode 100644 index 0000000..512e2e0 Binary files /dev/null and b/images/people/Chau.jpg differ diff --git a/images/people/Church.jpg b/images/people/Church.jpg new file mode 100644 index 0000000..f7601aa Binary files /dev/null and b/images/people/Church.jpg differ diff --git a/images/people/Desjardins.jpg b/images/people/Desjardins.jpg new file mode 100644 index 0000000..ff1a33e Binary files /dev/null and b/images/people/Desjardins.jpg differ diff --git a/images/people/Diamond.jpg b/images/people/Diamond.jpg new file mode 100644 index 0000000..ae2591d Binary files /dev/null and b/images/people/Diamond.jpg differ diff --git a/images/people/Fels.jpg b/images/people/Fels.jpg new file mode 100644 index 0000000..41c3380 Binary files /dev/null and b/images/people/Fels.jpg differ diff --git a/images/people/Florida.jpg b/images/people/Florida.jpg new file mode 100644 index 0000000..7a2103b Binary files /dev/null and b/images/people/Florida.jpg differ diff --git a/images/people/Frazee.jpg b/images/people/Frazee.jpg new file mode 100644 index 0000000..20c6cbb Binary files /dev/null and b/images/people/Frazee.jpg differ diff --git a/images/people/Grimes.jpg b/images/people/Grimes.jpg new file mode 100644 index 0000000..4ba958d Binary files /dev/null and b/images/people/Grimes.jpg differ diff --git a/images/people/Helliker.jpg b/images/people/Helliker.jpg new file mode 100644 index 0000000..185ccb4 Binary files /dev/null and b/images/people/Helliker.jpg differ diff --git a/images/people/Hockema.jpg b/images/people/Hockema.jpg new file mode 100644 index 0000000..227bb3a Binary files /dev/null and b/images/people/Hockema.jpg differ diff --git a/images/people/Humphrey.jpg b/images/people/Humphrey.jpg new file mode 100644 index 0000000..589d6e7 Binary files /dev/null and b/images/people/Humphrey.jpg differ diff --git a/images/people/Jadad.jpg b/images/people/Jadad.jpg new file mode 100644 index 0000000..ee80183 Binary files /dev/null and b/images/people/Jadad.jpg differ diff --git a/images/people/Jones.jpg b/images/people/Jones.jpg new file mode 100644 index 0000000..d9710aa Binary files /dev/null and b/images/people/Jones.jpg differ diff --git a/images/people/Katzman.jpg b/images/people/Katzman.jpg new file mode 100644 index 0000000..a536f51 Binary files /dev/null and b/images/people/Katzman.jpg differ diff --git a/images/people/Lawless.jpg b/images/people/Lawless.jpg new file mode 100644 index 0000000..b747de3 Binary files /dev/null and b/images/people/Lawless.jpg differ diff --git a/images/people/Luke.jpg b/images/people/Luke.jpg new file mode 100644 index 0000000..438d80e Binary files /dev/null and b/images/people/Luke.jpg differ diff --git a/images/people/McEwen.jpg b/images/people/McEwen.jpg new file mode 100644 index 0000000..e1bc8dc Binary files /dev/null and b/images/people/McEwen.jpg differ diff --git a/images/people/Mercer.jpg b/images/people/Mercer.jpg new file mode 100644 index 0000000..7e8315c Binary files /dev/null and b/images/people/Mercer.jpg differ diff --git a/images/people/Michalko.jpg b/images/people/Michalko.jpg new file mode 100644 index 0000000..f137d15 Binary files /dev/null and b/images/people/Michalko.jpg differ diff --git a/images/people/Mihailidis.jpg b/images/people/Mihailidis.jpg new file mode 100644 index 0000000..8175f5e Binary files /dev/null and b/images/people/Mihailidis.jpg differ diff --git a/images/people/Muirhead.jpg b/images/people/Muirhead.jpg new file mode 100644 index 0000000..0b3233e Binary files /dev/null and b/images/people/Muirhead.jpg differ diff --git a/images/people/Owston.jpg b/images/people/Owston.jpg new file mode 100644 index 0000000..833bc13 Binary files /dev/null and b/images/people/Owston.jpg differ diff --git a/images/people/Pennefather.jpg b/images/people/Pennefather.jpg new file mode 100644 index 0000000..4adbd9b Binary files /dev/null and b/images/people/Pennefather.jpg differ diff --git a/images/people/Ratto.jpg b/images/people/Ratto.jpg new file mode 100644 index 0000000..f2bbc17 Binary files /dev/null and b/images/people/Ratto.jpg differ diff --git a/images/people/Rioux.jpg b/images/people/Rioux.jpg new file mode 100644 index 0000000..eb00d1f Binary files /dev/null and b/images/people/Rioux.jpg differ diff --git a/images/people/Scardamalia.jpg b/images/people/Scardamalia.jpg new file mode 100644 index 0000000..d8cc323 Binary files /dev/null and b/images/people/Scardamalia.jpg differ diff --git a/images/people/Slotta.jpg b/images/people/Slotta.jpg new file mode 100644 index 0000000..8288cd9 Binary files /dev/null and b/images/people/Slotta.jpg differ diff --git a/images/people/Stolarick.jpg b/images/people/Stolarick.jpg new file mode 100644 index 0000000..ef94c3d Binary files /dev/null and b/images/people/Stolarick.jpg differ diff --git a/images/people/Titchkosky.jpg b/images/people/Titchkosky.jpg new file mode 100644 index 0000000..552c406 Binary files /dev/null and b/images/people/Titchkosky.jpg differ diff --git a/images/people/Treviranus.jpg b/images/people/Treviranus.jpg new file mode 100644 index 0000000..223561a Binary files /dev/null and b/images/people/Treviranus.jpg differ diff --git a/images/people/Tyler.jpg b/images/people/Tyler.jpg new file mode 100644 index 0000000..a0bdeed Binary files /dev/null and b/images/people/Tyler.jpg differ diff --git a/images/people/Weaver.jpg b/images/people/Weaver.jpg new file mode 100644 index 0000000..74afcbb Binary files /dev/null and b/images/people/Weaver.jpg differ diff --git a/images/people/peopleplaceholder-black.png b/images/people/peopleplaceholder-black.png new file mode 100644 index 0000000..6d987f7 Binary files /dev/null and b/images/people/peopleplaceholder-black.png differ diff --git a/images/people/peopleplaceholder-white.png b/images/people/peopleplaceholder-white.png new file mode 100644 index 0000000..de7bf34 Binary files /dev/null and b/images/people/peopleplaceholder-white.png differ diff --git a/images/people/peopleplaceholder-yellow.png b/images/people/peopleplaceholder-yellow.png new file mode 100644 index 0000000..f88418d Binary files /dev/null and b/images/people/peopleplaceholder-yellow.png differ diff --git a/images/people/peopleplaceholder.png b/images/people/peopleplaceholder.png new file mode 100644 index 0000000..21a4188 Binary files /dev/null and b/images/people/peopleplaceholder.png differ diff --git a/images/projects/AT_Logo_1_sm.png b/images/projects/AT_Logo_1_sm.png new file mode 100644 index 0000000..30bb469 Binary files /dev/null and b/images/projects/AT_Logo_1_sm.png differ diff --git a/images/projects/Bigbluebutton.png b/images/projects/Bigbluebutton.png new file mode 100644 index 0000000..8c4d361 Binary files /dev/null and b/images/projects/Bigbluebutton.png differ diff --git a/images/projects/CollectionSpace.png b/images/projects/CollectionSpace.png new file mode 100644 index 0000000..b90d6ef Binary files /dev/null and b/images/projects/CollectionSpace.png differ diff --git a/images/projects/DETZ.png b/images/projects/DETZ.png new file mode 100644 index 0000000..e6ea635 Binary files /dev/null and b/images/projects/DETZ.png differ diff --git a/images/projects/Decapod.png b/images/projects/Decapod.png new file mode 100644 index 0000000..bdf044c Binary files /dev/null and b/images/projects/Decapod.png differ diff --git a/images/projects/Nexj-logo.jpg b/images/projects/Nexj-logo.jpg new file mode 100644 index 0000000..c9cd714 Binary files /dev/null and b/images/projects/Nexj-logo.jpg differ diff --git a/images/projects/ThingTank.png b/images/projects/ThingTank.png new file mode 100644 index 0000000..4362ad9 Binary files /dev/null and b/images/projects/ThingTank.png differ diff --git a/images/projects/aegis_logo.png b/images/projects/aegis_logo.png new file mode 100644 index 0000000..be96b25 Binary files /dev/null and b/images/projects/aegis_logo.png differ diff --git a/images/projects/cloud4all.png b/images/projects/cloud4all.png new file mode 100644 index 0000000..d1fb3a6 Binary files /dev/null and b/images/projects/cloud4all.png differ diff --git a/images/projects/floe-logo.png b/images/projects/floe-logo.png new file mode 100644 index 0000000..ce692df Binary files /dev/null and b/images/projects/floe-logo.png differ diff --git a/images/projects/fluid_logo.png b/images/projects/fluid_logo.png new file mode 100644 index 0000000..67262cd Binary files /dev/null and b/images/projects/fluid_logo.png differ diff --git a/images/projects/gpii_logo.png b/images/projects/gpii_logo.png new file mode 100644 index 0000000..68a3edb Binary files /dev/null and b/images/projects/gpii_logo.png differ diff --git a/images/projects/peptalk.png b/images/projects/peptalk.png new file mode 100644 index 0000000..4dd11d7 Binary files /dev/null and b/images/projects/peptalk.png differ diff --git a/images/projects/seasr-logo.png b/images/projects/seasr-logo.png new file mode 100644 index 0000000..c3cc05f Binary files /dev/null and b/images/projects/seasr-logo.png differ diff --git a/images/projects/tecla_logo_h48.png b/images/projects/tecla_logo_h48.png new file mode 100644 index 0000000..b1b7236 Binary files /dev/null and b/images/projects/tecla_logo_h48.png differ diff --git a/index.php b/index.php index 7890639..af14ab4 100644 --- a/index.php +++ b/index.php @@ -3,19 +3,6 @@
- - 'title-content-widgets', - 'before_title' => '

', - 'after_title' => '

', - 'before_content' => '', - 'after_content' => ''); - $sidebar = trim(coresidebar($sboptions)); - - if (!empty($sidebar)) { - echo $sidebar; - } ?>
diff --git a/infrastructure.php b/infrastructure.php new file mode 100644 index 0000000..130e79f --- /dev/null +++ b/infrastructure.php @@ -0,0 +1,186 @@ + + + +
+
+
+
+

Equipment and space booking, calendaring, and more coming soon.

+
+
+ + + +
+
+
+

Facilities

+ +
+
+
+ +

205 Richmond St. W.
Toronto, Canada

+
+ +
+
+

Collaboration Room

+ +

Booking coming soon

+

The hub of the Distributed Collaboration Network, enabling distributed participation by research team members, supporting resource sharing, collaborative development and both ongoing casual and scheduled communication in multiple modalities.

+
+
+ +
+
+

Networked usability and accessibility labs

+ +

Booking coming soon

+

A lab offering a full set of assistive technologies and sophisticated synthesis and analysis tools. It is networked to similar facilities at the other 8 institutions as well as to VULab for remote usability testing in real life contexts.

+
+
+
+
+ +
+
+ +

230 Richmond St. W.
Toronto, Canada

+
+
+
+

Sensory Mode Translation and Media Access Facility

+ +

Booking coming soon

+

An audio/video recording suite enabling research in captioning and description: Supports both post-production and real time captioning and description.

+
+
+ +
+
+

Experimental Inclusive Meeting Facility

+ +

Booking coming soon

+

An optimally accessible meeting room that supports remote and on-site multi-lingual translation, real time captioning and description, sign language interpretation and a variety of assistive listening devices.

+
+
+
+
+ +
+
+ +

130 St. George St.
Toronto, Canada

+
+ +
+
+

Ubiquitous Web Facility

+ +

Booking coming soon

+

A facility housing the Mobile and Pervasive Computing research platform, which includes sensors, receivers, transmitters, and a range of both open source or uniquely innovative mobile hardware kits and devices.

+
+
+ +
+ +
+ +

49 McCaul St.
Toronto, Canada

+
+ +
+
+

Accessible Performance Space

+ +

Booking coming soon

+

A fully accessible performance space, equipped to enable accessible live performances. The space has support for real-time captioning, description, sign translation and fm listening assistance.

+
+
+ +
+
+

Participatory Inclusive Design Lab

+ +

Booking coming soon

+

A lab that provides the collaborative technologies and applications needed to engage diverse design participants with a variety of accessibility needs.

+
+
+
+
+
+
+ +
+
+
+

Equipment

+ +
+
+
+
+

Accessible Gaming Platform

+ +

Booking coming soon

+

A range of gaming consoles and peripherals to support researchers in exploring how gaming interfaces can be repurposed to provide more affordable alternative access for individuals with mobility impairments.

+
+
+
+ +
+
+
+

Alternative Input Hardware

+ +

Booking coming soon

+

Various alternative input devices such as touch screens, enhanced keyboards, key guards, specialized pointing devices, tablets, switch interfaces and joysticks.

+
+
+
+
+
+ +
+ + diff --git a/infusion/MyInfusion.js b/infusion/MyInfusion.js deleted file mode 100644 index ff5b1b4..0000000 --- a/infusion/MyInfusion.js +++ /dev/null @@ -1,72 +0,0 @@ -/* - * jQuery JavaScript Library v1.6.1 - * http://jquery.com/ - * - * Copyright 2011, John Resig - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * Includes Sizzle.js - * http://sizzlejs.com/ - * Copyright 2011, The Dojo Foundation - * Released under the MIT, BSD, and GPL Licenses. - * - * Date: Thu May 12 15:04:36 2011 -0400 - */ -(function(window,undefined){var document=window.document,navigator=window.navigator,location=window.location;var jQuery=(function(){var jQuery=function(selector,context){return new jQuery.fn.init(selector,context,rootjQuery)},_jQuery=window.jQuery,_$=window.$,rootjQuery,quickExpr=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,rnotwhite=/\S/,trimLeft=/^\s+/,trimRight=/\s+$/,rdigit=/\d/,rsingleTag=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,rvalidchars=/^[\],:{}\s]*$/,rvalidescape=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,rvalidtokens=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,rvalidbraces=/(?:^|:|,)(?:\s*\[)+/g,rwebkit=/(webkit)[ \/]([\w.]+)/,ropera=/(opera)(?:.*version)?[ \/]([\w.]+)/,rmsie=/(msie) ([\w.]+)/,rmozilla=/(mozilla)(?:.*? rv:([\w.]+))?/,userAgent=navigator.userAgent,browserMatch,readyList,DOMContentLoaded,toString=Object.prototype.toString,hasOwn=Object.prototype.hasOwnProperty,push=Array.prototype.push,slice=Array.prototype.slice,trim=String.prototype.trim,indexOf=Array.prototype.indexOf,class2type={};jQuery.fn=jQuery.prototype={constructor:jQuery,init:function(selector,context,rootjQuery){var match,elem,ret,doc;if(!selector){return this}if(selector.nodeType){this.context=this[0]=selector;this.length=1;return this}if(selector==="body"&&!context&&document.body){this.context=document;this[0]=document.body;this.selector=selector;this.length=1;return this}if(typeof selector==="string"){if(selector.charAt(0)==="<"&&selector.charAt(selector.length-1)===">"&&selector.length>=3){match=[null,selector,null]}else{match=quickExpr.exec(selector)}if(match&&(match[1]||!context)){if(match[1]){context=context instanceof jQuery?context[0]:context;doc=(context?context.ownerDocument||context:document);ret=rsingleTag.exec(selector);if(ret){if(jQuery.isPlainObject(context)){selector=[document.createElement(ret[1])];jQuery.fn.attr.call(selector,context,true)}else{selector=[doc.createElement(ret[1])]}}else{ret=jQuery.buildFragment([match[1]],[doc]);selector=(ret.cacheable?jQuery.clone(ret.fragment):ret.fragment).childNodes}return jQuery.merge(this,selector)}else{elem=document.getElementById(match[2]);if(elem&&elem.parentNode){if(elem.id!==match[2]){return rootjQuery.find(selector)}this.length=1;this[0]=elem}this.context=document;this.selector=selector;return this}}else{if(!context||context.jquery){return(context||rootjQuery).find(selector)}else{return this.constructor(context).find(selector)}}}else{if(jQuery.isFunction(selector)){return rootjQuery.ready(selector)}}if(selector.selector!==undefined){this.selector=selector.selector;this.context=selector.context}return jQuery.makeArray(selector,this)},selector:"",jquery:"1.6.1",length:0,size:function(){return this.length},toArray:function(){return slice.call(this,0)},get:function(num){return num==null?this.toArray():(num<0?this[this.length+num]:this[num])},pushStack:function(elems,name,selector){var ret=this.constructor();if(jQuery.isArray(elems)){push.apply(ret,elems)}else{jQuery.merge(ret,elems)}ret.prevObject=this;ret.context=this.context;if(name==="find"){ret.selector=this.selector+(this.selector?" ":"")+selector}else{if(name){ret.selector=this.selector+"."+name+"("+selector+")"}}return ret},each:function(callback,args){return jQuery.each(this,callback,args)},ready:function(fn){jQuery.bindReady();readyList.done(fn);return this},eq:function(i){return i===-1?this.slice(i):this.slice(i,+i+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(slice.apply(this,arguments),"slice",slice.call(arguments).join(","))},map:function(callback){return this.pushStack(jQuery.map(this,function(elem,i){return callback.call(elem,i,elem)}))},end:function(){return this.prevObject||this.constructor(null)},push:push,sort:[].sort,splice:[].splice};jQuery.fn.init.prototype=jQuery.fn;jQuery.extend=jQuery.fn.extend=function(){var options,name,src,copy,copyIsArray,clone,target=arguments[0]||{},i=1,length=arguments.length,deep=false;if(typeof target==="boolean"){deep=target;target=arguments[1]||{};i=2}if(typeof target!=="object"&&!jQuery.isFunction(target)){target={}}if(length===i){target=this;--i}for(;i0){return }readyList.resolveWith(document,[jQuery]);if(jQuery.fn.trigger){jQuery(document).trigger("ready").unbind("ready")}}},bindReady:function(){if(readyList){return }readyList=jQuery._Deferred();if(document.readyState==="complete"){return setTimeout(jQuery.ready,1)}if(document.addEventListener){document.addEventListener("DOMContentLoaded",DOMContentLoaded,false);window.addEventListener("load",jQuery.ready,false)}else{if(document.attachEvent){document.attachEvent("onreadystatechange",DOMContentLoaded);window.attachEvent("onload",jQuery.ready);var toplevel=false;try{toplevel=window.frameElement==null}catch(e){}if(document.documentElement.doScroll&&toplevel){doScrollCheck()}}}},isFunction:function(obj){return jQuery.type(obj)==="function"},isArray:Array.isArray||function(obj){return jQuery.type(obj)==="array"},isWindow:function(obj){return obj&&typeof obj==="object"&&"setInterval" in obj},isNaN:function(obj){return obj==null||!rdigit.test(obj)||isNaN(obj)},type:function(obj){return obj==null?String(obj):class2type[toString.call(obj)]||"object"},isPlainObject:function(obj){if(!obj||jQuery.type(obj)!=="object"||obj.nodeType||jQuery.isWindow(obj)){return false}if(obj.constructor&&!hasOwn.call(obj,"constructor")&&!hasOwn.call(obj.constructor.prototype,"isPrototypeOf")){return false}var key;for(key in obj){}return key===undefined||hasOwn.call(obj,key)},isEmptyObject:function(obj){for(var name in obj){return false}return true},error:function(msg){throw msg},parseJSON:function(data){if(typeof data!=="string"||!data){return null}data=jQuery.trim(data);if(window.JSON&&window.JSON.parse){return window.JSON.parse(data)}if(rvalidchars.test(data.replace(rvalidescape,"@").replace(rvalidtokens,"]").replace(rvalidbraces,""))){return(new Function("return "+data))()}jQuery.error("Invalid JSON: "+data)},parseXML:function(data,xml,tmp){if(window.DOMParser){tmp=new DOMParser();xml=tmp.parseFromString(data,"text/xml")}else{xml=new ActiveXObject("Microsoft.XMLDOM");xml.async="false";xml.loadXML(data)}tmp=xml.documentElement;if(!tmp||!tmp.nodeName||tmp.nodeName==="parsererror"){jQuery.error("Invalid XML: "+data)}return xml},noop:function(){},globalEval:function(data){if(data&&rnotwhite.test(data)){(window.execScript||function(data){window.eval.call(window,data)})(data)}},nodeName:function(elem,name){return elem.nodeName&&elem.nodeName.toUpperCase()===name.toUpperCase()},each:function(object,callback,args){var name,i=0,length=object.length,isObj=length===undefined||jQuery.isFunction(object);if(args){if(isObj){for(name in object){if(callback.apply(object[name],args)===false){break}}}else{for(;i0&&elems[0]&&elems[length-1])||length===0||jQuery.isArray(elems));if(isArray){for(;i1?sliceDeferred.call(arguments,0):value;if(!(--count)){deferred.resolveWith(deferred,sliceDeferred.call(args,0))}}}if(length>1){for(;i
a";all=div.getElementsByTagName("*");a=div.getElementsByTagName("a")[0];if(!all||!all.length||!a){return{}}select=document.createElement("select");opt=select.appendChild(document.createElement("option"));input=div.getElementsByTagName("input")[0];support={leadingWhitespace:(div.firstChild.nodeType===3),tbody:!div.getElementsByTagName("tbody").length,htmlSerialize:!!div.getElementsByTagName("link").length,style:/top/.test(a.getAttribute("style")),hrefNormalized:(a.getAttribute("href")==="/a"),opacity:/^0.55$/.test(a.style.opacity),cssFloat:!!a.style.cssFloat,checkOn:(input.value==="on"),optSelected:opt.selected,getSetAttribute:div.className!=="t",submitBubbles:true,changeBubbles:true,focusinBubbles:false,deleteExpando:true,noCloneEvent:true,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableMarginRight:true};input.checked=true;support.noCloneChecked=input.cloneNode(true).checked;select.disabled=true;support.optDisabled=!opt.disabled;try{delete div.test}catch(e){support.deleteExpando=false}if(!div.addEventListener&&div.attachEvent&&div.fireEvent){div.attachEvent("onclick",function click(){support.noCloneEvent=false;div.detachEvent("onclick",click)});div.cloneNode(true).fireEvent("onclick")}input=document.createElement("input");input.value="t";input.setAttribute("type","radio");support.radioValue=input.value==="t";input.setAttribute("checked","checked");div.appendChild(input);fragment=document.createDocumentFragment();fragment.appendChild(div.firstChild);support.checkClone=fragment.cloneNode(true).cloneNode(true).lastChild.checked;div.innerHTML="";div.style.width=div.style.paddingLeft="1px";body=document.createElement("body");bodyStyle={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"};for(i in bodyStyle){body.style[i]=bodyStyle[i]}body.appendChild(div);documentElement.insertBefore(body,documentElement.firstChild);support.appendChecked=input.checked;support.boxModel=div.offsetWidth===2;if("zoom" in div.style){div.style.display="inline";div.style.zoom=1;support.inlineBlockNeedsLayout=(div.offsetWidth===2);div.style.display="";div.innerHTML="
";support.shrinkWrapBlocks=(div.offsetWidth!==2)}div.innerHTML="
t
";tds=div.getElementsByTagName("td");isSupported=(tds[0].offsetHeight===0);tds[0].style.display="";tds[1].style.display="none";support.reliableHiddenOffsets=isSupported&&(tds[0].offsetHeight===0);div.innerHTML="";if(document.defaultView&&document.defaultView.getComputedStyle){marginDiv=document.createElement("div");marginDiv.style.width="0";marginDiv.style.marginRight="0";div.appendChild(marginDiv);support.reliableMarginRight=(parseInt((document.defaultView.getComputedStyle(marginDiv,null)||{marginRight:0}).marginRight,10)||0)===0}body.innerHTML="";documentElement.removeChild(body);if(div.attachEvent){for(i in {submit:1,change:1,focusin:1}){eventName="on"+i;isSupported=(eventName in div);if(!isSupported){div.setAttribute(eventName,"return;");isSupported=(typeof div[eventName]==="function")}support[i+"Bubbles"]=isSupported}}return support})();jQuery.boxModel=jQuery.support.boxModel;var rbrace=/^(?:\{.*\}|\[.*\])$/,rmultiDash=/([a-z])([A-Z])/g;jQuery.extend({cache:{},uuid:0,expando:"jQuery"+(jQuery.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:true,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:true},hasData:function(elem){elem=elem.nodeType?jQuery.cache[elem[jQuery.expando]]:elem[jQuery.expando];return !!elem&&!isEmptyDataObject(elem)},data:function(elem,name,data,pvt){if(!jQuery.acceptData(elem)){return }var internalKey=jQuery.expando,getByName=typeof name==="string",thisCache,isNode=elem.nodeType,cache=isNode?jQuery.cache:elem,id=isNode?elem[jQuery.expando]:elem[jQuery.expando]&&jQuery.expando;if((!id||(pvt&&id&&!cache[id][internalKey]))&&getByName&&data===undefined){return }if(!id){if(isNode){elem[jQuery.expando]=id=++jQuery.uuid}else{id=jQuery.expando}}if(!cache[id]){cache[id]={};if(!isNode){cache[id].toJSON=jQuery.noop}}if(typeof name==="object"||typeof name==="function"){if(pvt){cache[id][internalKey]=jQuery.extend(cache[id][internalKey],name)}else{cache[id]=jQuery.extend(cache[id],name)}}thisCache=cache[id];if(pvt){if(!thisCache[internalKey]){thisCache[internalKey]={}}thisCache=thisCache[internalKey]}if(data!==undefined){thisCache[jQuery.camelCase(name)]=data}if(name==="events"&&!thisCache[name]){return thisCache[internalKey]&&thisCache[internalKey].events}return getByName?thisCache[jQuery.camelCase(name)]:thisCache},removeData:function(elem,name,pvt){if(!jQuery.acceptData(elem)){return }var internalKey=jQuery.expando,isNode=elem.nodeType,cache=isNode?jQuery.cache:elem,id=isNode?elem[jQuery.expando]:jQuery.expando;if(!cache[id]){return }if(name){var thisCache=pvt?cache[id][internalKey]:cache[id];if(thisCache){delete thisCache[name];if(!isEmptyDataObject(thisCache)){return }}}if(pvt){delete cache[id][internalKey];if(!isEmptyDataObject(cache[id])){return }}var internalCache=cache[id][internalKey];if(jQuery.support.deleteExpando||cache!=window){delete cache[id]}else{cache[id]=null}if(internalCache){cache[id]={};if(!isNode){cache[id].toJSON=jQuery.noop}cache[id][internalKey]=internalCache}else{if(isNode){if(jQuery.support.deleteExpando){delete elem[jQuery.expando]}else{if(elem.removeAttribute){elem.removeAttribute(jQuery.expando)}else{elem[jQuery.expando]=null}}}}},_data:function(elem,name,data){return jQuery.data(elem,name,data,true)},acceptData:function(elem){if(elem.nodeName){var match=jQuery.noData[elem.nodeName.toLowerCase()];if(match){return !(match===true||elem.getAttribute("classid")!==match)}}return true}});jQuery.fn.extend({data:function(key,value){var data=null;if(typeof key==="undefined"){if(this.length){data=jQuery.data(this[0]);if(this[0].nodeType===1){var attr=this[0].attributes,name;for(var i=0,l=attr.length;i-1){return true}}return false},val:function(value){var hooks,ret,elem=this[0];if(!arguments.length){if(elem){hooks=jQuery.valHooks[elem.nodeName.toLowerCase()]||jQuery.valHooks[elem.type];if(hooks&&"get" in hooks&&(ret=hooks.get(elem,"value"))!==undefined){return ret}return(elem.value||"").replace(rreturn,"")}return undefined}var isFunction=jQuery.isFunction(value);return this.each(function(i){var self=jQuery(this),val;if(this.nodeType!==1){return }if(isFunction){val=value.call(this,i,self.val())}else{val=value}if(val==null){val=""}else{if(typeof val==="number"){val+=""}else{if(jQuery.isArray(val)){val=jQuery.map(val,function(value){return value==null?"":value+""})}}}hooks=jQuery.valHooks[this.nodeName.toLowerCase()]||jQuery.valHooks[this.type];if(!hooks||!("set" in hooks)||hooks.set(this,val,"value")===undefined){this.value=val}})}});jQuery.extend({valHooks:{option:{get:function(elem){var val=elem.attributes.value;return !val||val.specified?elem.value:elem.text}},select:{get:function(elem){var value,index=elem.selectedIndex,values=[],options=elem.options,one=elem.type==="select-one";if(index<0){return null}for(var i=one?index:0,max=one?index+1:options.length;i=0});if(!values.length){elem.selectedIndex=-1}return values}}},attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attrFix:{tabindex:"tabIndex"},attr:function(elem,name,value,pass){var nType=elem.nodeType;if(!elem||nType===3||nType===8||nType===2){return undefined}if(pass&&name in jQuery.attrFn){return jQuery(elem)[name](value)}if(!("getAttribute" in elem)){return jQuery.prop(elem,name,value)}var ret,hooks,notxml=nType!==1||!jQuery.isXMLDoc(elem);name=notxml&&jQuery.attrFix[name]||name;hooks=jQuery.attrHooks[name];if(!hooks){if(rboolean.test(name)&&(typeof value==="boolean"||value===undefined||value.toLowerCase()===name.toLowerCase())){hooks=boolHook}else{if(formHook&&(jQuery.nodeName(elem,"form")||rinvalidChar.test(name))){hooks=formHook}}}if(value!==undefined){if(value===null){jQuery.removeAttr(elem,name);return undefined}else{if(hooks&&"set" in hooks&¬xml&&(ret=hooks.set(elem,value,name))!==undefined){return ret}else{elem.setAttribute(name,""+value);return value}}}else{if(hooks&&"get" in hooks&¬xml){return hooks.get(elem,name)}else{ret=elem.getAttribute(name);return ret===null?undefined:ret}}},removeAttr:function(elem,name){var propName;if(elem.nodeType===1){name=jQuery.attrFix[name]||name;if(jQuery.support.getSetAttribute){elem.removeAttribute(name)}else{jQuery.attr(elem,name,"");elem.removeAttributeNode(elem.getAttributeNode(name))}if(rboolean.test(name)&&(propName=jQuery.propFix[name]||name) in elem){elem[propName]=false}}},attrHooks:{type:{set:function(elem,value){if(rtype.test(elem.nodeName)&&elem.parentNode){jQuery.error("type property can't be changed")}else{if(!jQuery.support.radioValue&&value==="radio"&&jQuery.nodeName(elem,"input")){var val=elem.value;elem.setAttribute("type",value);if(val){elem.value=val}return value}}}},tabIndex:{get:function(elem){var attributeNode=elem.getAttributeNode("tabIndex");return attributeNode&&attributeNode.specified?parseInt(attributeNode.value,10):rfocusable.test(elem.nodeName)||rclickable.test(elem.nodeName)&&elem.href?0:undefined}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(elem,name,value){var nType=elem.nodeType;if(!elem||nType===3||nType===8||nType===2){return undefined}var ret,hooks,notxml=nType!==1||!jQuery.isXMLDoc(elem);name=notxml&&jQuery.propFix[name]||name;hooks=jQuery.propHooks[name];if(value!==undefined){if(hooks&&"set" in hooks&&(ret=hooks.set(elem,value,name))!==undefined){return ret}else{return(elem[name]=value)}}else{if(hooks&&"get" in hooks&&(ret=hooks.get(elem,name))!==undefined){return ret}else{return elem[name]}}},propHooks:{}});boolHook={get:function(elem,name){return elem[jQuery.propFix[name]||name]?name.toLowerCase():undefined},set:function(elem,value,name){var propName;if(value===false){jQuery.removeAttr(elem,name)}else{propName=jQuery.propFix[name]||name;if(propName in elem){elem[propName]=value}elem.setAttribute(name,name.toLowerCase())}return name}};jQuery.attrHooks.value={get:function(elem,name){if(formHook&&jQuery.nodeName(elem,"button")){return formHook.get(elem,name)}return elem.value},set:function(elem,value,name){if(formHook&&jQuery.nodeName(elem,"button")){return formHook.set(elem,value,name)}elem.value=value}};if(!jQuery.support.getSetAttribute){jQuery.attrFix=jQuery.propFix;formHook=jQuery.attrHooks.name=jQuery.valHooks.button={get:function(elem,name){var ret;ret=elem.getAttributeNode(name);return ret&&ret.nodeValue!==""?ret.nodeValue:undefined},set:function(elem,value,name){var ret=elem.getAttributeNode(name);if(ret){ret.nodeValue=value;return value}}};jQuery.each(["width","height"],function(i,name){jQuery.attrHooks[name]=jQuery.extend(jQuery.attrHooks[name],{set:function(elem,value){if(value===""){elem.setAttribute(name,"auto");return value}}})})}if(!jQuery.support.hrefNormalized){jQuery.each(["href","src","width","height"],function(i,name){jQuery.attrHooks[name]=jQuery.extend(jQuery.attrHooks[name],{get:function(elem){var ret=elem.getAttribute(name,2);return ret===null?undefined:ret}})})}if(!jQuery.support.style){jQuery.attrHooks.style={get:function(elem){return elem.style.cssText.toLowerCase()||undefined},set:function(elem,value){return(elem.style.cssText=""+value)}}}if(!jQuery.support.optSelected){jQuery.propHooks.selected=jQuery.extend(jQuery.propHooks.selected,{get:function(elem){var parent=elem.parentNode;if(parent){parent.selectedIndex;if(parent.parentNode){parent.parentNode.selectedIndex}}}})}if(!jQuery.support.checkOn){jQuery.each(["radio","checkbox"],function(){jQuery.valHooks[this]={get:function(elem){return elem.getAttribute("value")===null?"on":elem.value}}})}jQuery.each(["radio","checkbox"],function(){jQuery.valHooks[this]=jQuery.extend(jQuery.valHooks[this],{set:function(elem,value){if(jQuery.isArray(value)){return(elem.checked=jQuery.inArray(jQuery(elem).val(),value)>=0)}}})});var hasOwn=Object.prototype.hasOwnProperty,rnamespaces=/\.(.*)$/,rformElems=/^(?:textarea|input|select)$/i,rperiod=/\./g,rspaces=/ /g,rescape=/[^\w\s.|`]/g,fcleanup=function(nm){return nm.replace(rescape,"\\$&")};jQuery.event={add:function(elem,types,handler,data){if(elem.nodeType===3||elem.nodeType===8){return }if(handler===false){handler=returnFalse}else{if(!handler){return }}var handleObjIn,handleObj;if(handler.handler){handleObjIn=handler;handler=handleObjIn.handler}if(!handler.guid){handler.guid=jQuery.guid++}var elemData=jQuery._data(elem);if(!elemData){return }var events=elemData.events,eventHandle=elemData.handle;if(!events){elemData.events=events={}}if(!eventHandle){elemData.handle=eventHandle=function(e){return typeof jQuery!=="undefined"&&(!e||jQuery.event.triggered!==e.type)?jQuery.event.handle.apply(eventHandle.elem,arguments):undefined}}eventHandle.elem=elem;types=types.split(" ");var type,i=0,namespaces;while((type=types[i++])){handleObj=handleObjIn?jQuery.extend({},handleObjIn):{handler:handler,data:data};if(type.indexOf(".")>-1){namespaces=type.split(".");type=namespaces.shift();handleObj.namespace=namespaces.slice(0).sort().join(".")}else{namespaces=[];handleObj.namespace=""}handleObj.type=type;if(!handleObj.guid){handleObj.guid=handler.guid}var handlers=events[type],special=jQuery.event.special[type]||{};if(!handlers){handlers=events[type]=[];if(!special.setup||special.setup.call(elem,data,namespaces,eventHandle)===false){if(elem.addEventListener){elem.addEventListener(type,eventHandle,false)}else{if(elem.attachEvent){elem.attachEvent("on"+type,eventHandle)}}}}if(special.add){special.add.call(elem,handleObj);if(!handleObj.handler.guid){handleObj.handler.guid=handler.guid}}handlers.push(handleObj);jQuery.event.global[type]=true}elem=null},global:{},remove:function(elem,types,handler,pos){if(elem.nodeType===3||elem.nodeType===8){return }if(handler===false){handler=returnFalse}var ret,type,fn,j,i=0,all,namespaces,namespace,special,eventType,handleObj,origType,elemData=jQuery.hasData(elem)&&jQuery._data(elem),events=elemData&&elemData.events;if(!elemData||!events){return }if(types&&types.type){handler=types.handler;types=types.type}if(!types||typeof types==="string"&&types.charAt(0)==="."){types=types||"";for(type in events){jQuery.event.remove(elem,type+types)}return }types=types.split(" ");while((type=types[i++])){origType=type;handleObj=null;all=type.indexOf(".")<0;namespaces=[];if(!all){namespaces=type.split(".");type=namespaces.shift();namespace=new RegExp("(^|\\.)"+jQuery.map(namespaces.slice(0).sort(),fcleanup).join("\\.(?:.*\\.)?")+"(\\.|$)")}eventType=events[type];if(!eventType){continue}if(!handler){for(j=0;j=0){type=type.slice(0,-1);exclusive=true}if(type.indexOf(".")>=0){namespaces=type.split(".");type=namespaces.shift();namespaces.sort()}if((!elem||jQuery.event.customEvent[type])&&!jQuery.event.global[type]){return }event=typeof event==="object"?event[jQuery.expando]?event:new jQuery.Event(type,event):new jQuery.Event(type);event.type=type;event.exclusive=exclusive;event.namespace=namespaces.join(".");event.namespace_re=new RegExp("(^|\\.)"+namespaces.join("\\.(?:.*\\.)?")+"(\\.|$)");if(onlyHandlers||!elem){event.preventDefault();event.stopPropagation()}if(!elem){jQuery.each(jQuery.cache,function(){var internalKey=jQuery.expando,internalCache=this[internalKey];if(internalCache&&internalCache.events&&internalCache.events[type]){jQuery.event.trigger(event,data,internalCache.handle.elem)}});return }if(elem.nodeType===3||elem.nodeType===8){return }event.result=undefined;event.target=elem;data=data?jQuery.makeArray(data):[];data.unshift(event);var cur=elem,ontype=type.indexOf(":")<0?"on"+type:"";do{var handle=jQuery._data(cur,"handle");event.currentTarget=cur;if(handle){handle.apply(cur,data)}if(ontype&&jQuery.acceptData(cur)&&cur[ontype]&&cur[ontype].apply(cur,data)===false){event.result=false;event.preventDefault()}cur=cur.parentNode||cur.ownerDocument||cur===event.target.ownerDocument&&window}while(cur&&!event.isPropagationStopped());if(!event.isDefaultPrevented()){var old,special=jQuery.event.special[type]||{};if((!special._default||special._default.call(elem.ownerDocument,event)===false)&&!(type==="click"&&jQuery.nodeName(elem,"a"))&&jQuery.acceptData(elem)){try{if(ontype&&elem[type]){old=elem[ontype];if(old){elem[ontype]=null}jQuery.event.triggered=type;elem[type]()}}catch(ieError){}if(old){elem[ontype]=old}jQuery.event.triggered=undefined}}return event.result},handle:function(event){event=jQuery.event.fix(event||window.event);var handlers=((jQuery._data(this,"events")||{})[event.type]||[]).slice(0),run_all=!event.exclusive&&!event.namespace,args=Array.prototype.slice.call(arguments,0);args[0]=event;event.currentTarget=this;for(var j=0,l=handlers.length;j-1?jQuery.map(elem.options,function(elem){return elem.selected}).join("-"):""}else{if(jQuery.nodeName(elem,"select")){val=elem.selectedIndex}}}return val},testChange=function testChange(e){var elem=e.target,data,val;if(!rformElems.test(elem.nodeName)||elem.readOnly){return }data=jQuery._data(elem,"_change_data");val=getVal(elem);if(e.type!=="focusout"||elem.type!=="radio"){jQuery._data(elem,"_change_data",val)}if(data===undefined||val===data){return }if(data!=null||val){e.type="change";e.liveFired=undefined;jQuery.event.trigger(e,arguments[1],elem)}};jQuery.event.special.change={filters:{focusout:testChange,beforedeactivate:testChange,click:function(e){var elem=e.target,type=jQuery.nodeName(elem,"input")?elem.type:"";if(type==="radio"||type==="checkbox"||jQuery.nodeName(elem,"select")){testChange.call(this,e)}},keydown:function(e){var elem=e.target,type=jQuery.nodeName(elem,"input")?elem.type:"";if((e.keyCode===13&&!jQuery.nodeName(elem,"textarea"))||(e.keyCode===32&&(type==="checkbox"||type==="radio"))||type==="select-multiple"){testChange.call(this,e)}},beforeactivate:function(e){var elem=e.target;jQuery._data(elem,"_change_data",getVal(elem))}},setup:function(data,namespaces){if(this.type==="file"){return false}for(var type in changeFilters){jQuery.event.add(this,type+".specialChange",changeFilters[type])}return rformElems.test(this.nodeName)},teardown:function(namespaces){jQuery.event.remove(this,".specialChange");return rformElems.test(this.nodeName)}};changeFilters=jQuery.event.special.change.filters;changeFilters.focus=changeFilters.beforeactivate}function trigger(type,elem,args){var event=jQuery.extend({},args[0]);event.type=type;event.originalEvent={};event.liveFired=undefined;jQuery.event.handle.call(elem,event);if(event.isDefaultPrevented()){args[0].preventDefault()}}if(!jQuery.support.focusinBubbles){jQuery.each({focus:"focusin",blur:"focusout"},function(orig,fix){var attaches=0;jQuery.event.special[fix]={setup:function(){if(attaches++===0){document.addEventListener(orig,handler,true)}},teardown:function(){if(--attaches===0){document.removeEventListener(orig,handler,true)}}};function handler(donor){var e=jQuery.event.fix(donor);e.type=fix;e.originalEvent={};jQuery.event.trigger(e,null,e.target);if(e.isDefaultPrevented()){donor.preventDefault()}}})}jQuery.each(["bind","one"],function(i,name){jQuery.fn[name]=function(type,data,fn){var handler;if(typeof type==="object"){for(var key in type){this[name](key,data,type[key],fn)}return this}if(arguments.length===2||data===false){fn=data;data=undefined}if(name==="one"){handler=function(event){jQuery(this).unbind(event,handler);return fn.apply(this,arguments)};handler.guid=fn.guid||jQuery.guid++}else{handler=fn}if(type==="unload"&&name!=="one"){this.one(type,data,fn)}else{for(var i=0,l=this.length;imaxLevel){break}event.currentTarget=match.elem;event.data=match.handleObj.data;event.handleObj=match.handleObj;ret=match.handleObj.origHandler.apply(match.elem,arguments);if(ret===false||event.isPropagationStopped()){maxLevel=match.level;if(ret===false){stop=false}if(event.isImmediatePropagationStopped()){break}}}return stop}function liveConvert(type,selector){return(type&&type!=="*"?type+".":"")+selector.replace(rperiod,"`").replace(rspaces,"&")}jQuery.each(("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error").split(" "),function(i,name){jQuery.fn[name]=function(data,fn){if(fn==null){fn=data;data=null}return arguments.length>0?this.bind(name,data,fn):this.trigger(name)};if(jQuery.attrFn){jQuery.attrFn[name]=true}}); -/* - * Sizzle CSS Selector Engine - * Copyright 2011, The Dojo Foundation - * Released under the MIT, BSD, and GPL Licenses. - * More information: http://sizzlejs.com/ - */ -(function(){var chunker=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,done=0,toString=Object.prototype.toString,hasDuplicate=false,baseHasDuplicate=true,rBackslash=/\\/g,rNonWord=/\W/;[0,0].sort(function(){baseHasDuplicate=false;return 0});var Sizzle=function(selector,context,results,seed){results=results||[];context=context||document;var origContext=context;if(context.nodeType!==1&&context.nodeType!==9){return[]}if(!selector||typeof selector!=="string"){return results}var m,set,checkSet,extra,ret,cur,pop,i,prune=true,contextXML=Sizzle.isXML(context),parts=[],soFar=selector;do{chunker.exec("");m=chunker.exec(soFar);if(m){soFar=m[3];parts.push(m[1]);if(m[2]){extra=m[3];break}}}while(m);if(parts.length>1&&origPOS.exec(selector)){if(parts.length===2&&Expr.relative[parts[0]]){set=posProcess(parts[0]+parts[1],context)}else{set=Expr.relative[parts[0]]?[context]:Sizzle(parts.shift(),context);while(parts.length){selector=parts.shift();if(Expr.relative[selector]){selector+=parts.shift()}set=posProcess(selector,set)}}}else{if(!seed&&parts.length>1&&context.nodeType===9&&!contextXML&&Expr.match.ID.test(parts[0])&&!Expr.match.ID.test(parts[parts.length-1])){ret=Sizzle.find(parts.shift(),context,contextXML);context=ret.expr?Sizzle.filter(ret.expr,ret.set)[0]:ret.set[0]}if(context){ret=seed?{expr:parts.pop(),set:makeArray(seed)}:Sizzle.find(parts.pop(),parts.length===1&&(parts[0]==="~"||parts[0]==="+")&&context.parentNode?context.parentNode:context,contextXML);set=ret.expr?Sizzle.filter(ret.expr,ret.set):ret.set;if(parts.length>0){checkSet=makeArray(set)}else{prune=false}while(parts.length){cur=parts.pop();pop=cur;if(!Expr.relative[cur]){cur=""}else{pop=parts.pop()}if(pop==null){pop=context}Expr.relative[cur](checkSet,pop,contextXML)}}else{checkSet=parts=[]}}if(!checkSet){checkSet=set}if(!checkSet){Sizzle.error(cur||selector)}if(toString.call(checkSet)==="[object Array]"){if(!prune){results.push.apply(results,checkSet)}else{if(context&&context.nodeType===1){for(i=0;checkSet[i]!=null;i++){if(checkSet[i]&&(checkSet[i]===true||checkSet[i].nodeType===1&&Sizzle.contains(context,checkSet[i]))){results.push(set[i])}}}else{for(i=0;checkSet[i]!=null;i++){if(checkSet[i]&&checkSet[i].nodeType===1){results.push(set[i])}}}}}else{makeArray(checkSet,results)}if(extra){Sizzle(extra,origContext,results,seed);Sizzle.uniqueSort(results)}return results};Sizzle.uniqueSort=function(results){if(sortOrder){hasDuplicate=baseHasDuplicate;results.sort(sortOrder);if(hasDuplicate){for(var i=1;i0};Sizzle.find=function(expr,context,isXML){var set;if(!expr){return[]}for(var i=0,l=Expr.order.length;i":function(checkSet,part){var elem,isPartStr=typeof part==="string",i=0,l=checkSet.length;if(isPartStr&&!rNonWord.test(part)){part=part.toLowerCase();for(;i=0)){if(!inplace){result.push(elem)}}else{if(inplace){curLoop[i]=false}}}}return false},ID:function(match){return match[1].replace(rBackslash,"")},TAG:function(match,curLoop){return match[1].replace(rBackslash,"").toLowerCase()},CHILD:function(match){if(match[1]==="nth"){if(!match[2]){Sizzle.error(match[0])}match[2]=match[2].replace(/^\+|\s*/g,"");var test=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(match[2]==="even"&&"2n"||match[2]==="odd"&&"2n+1"||!/\D/.test(match[2])&&"0n+"+match[2]||match[2]);match[2]=(test[1]+(test[2]||1))-0;match[3]=test[3]-0}else{if(match[2]){Sizzle.error(match[0])}}match[0]=done++;return match},ATTR:function(match,curLoop,inplace,result,not,isXML){var name=match[1]=match[1].replace(rBackslash,"");if(!isXML&&Expr.attrMap[name]){match[1]=Expr.attrMap[name]}match[4]=(match[4]||match[5]||"").replace(rBackslash,"");if(match[2]==="~="){match[4]=" "+match[4]+" "}return match},PSEUDO:function(match,curLoop,inplace,result,not){if(match[1]==="not"){if((chunker.exec(match[3])||"").length>1||/^\w/.test(match[3])){match[3]=Sizzle(match[3],null,null,curLoop)}else{var ret=Sizzle.filter(match[3],curLoop,inplace,true^not);if(!inplace){result.push.apply(result,ret)}return false}}else{if(Expr.match.POS.test(match[0])||Expr.match.CHILD.test(match[0])){return true}}return match},POS:function(match){match.unshift(true);return match}},filters:{enabled:function(elem){return elem.disabled===false&&elem.type!=="hidden"},disabled:function(elem){return elem.disabled===true},checked:function(elem){return elem.checked===true},selected:function(elem){if(elem.parentNode){elem.parentNode.selectedIndex}return elem.selected===true},parent:function(elem){return !!elem.firstChild},empty:function(elem){return !elem.firstChild},has:function(elem,i,match){return !!Sizzle(match[3],elem).length},header:function(elem){return(/h\d/i).test(elem.nodeName)},text:function(elem){var attr=elem.getAttribute("type"),type=elem.type;return elem.nodeName.toLowerCase()==="input"&&"text"===type&&(attr===type||attr===null)},radio:function(elem){return elem.nodeName.toLowerCase()==="input"&&"radio"===elem.type},checkbox:function(elem){return elem.nodeName.toLowerCase()==="input"&&"checkbox"===elem.type},file:function(elem){return elem.nodeName.toLowerCase()==="input"&&"file"===elem.type},password:function(elem){return elem.nodeName.toLowerCase()==="input"&&"password"===elem.type},submit:function(elem){var name=elem.nodeName.toLowerCase();return(name==="input"||name==="button")&&"submit"===elem.type},image:function(elem){return elem.nodeName.toLowerCase()==="input"&&"image"===elem.type},reset:function(elem){var name=elem.nodeName.toLowerCase();return(name==="input"||name==="button")&&"reset"===elem.type},button:function(elem){var name=elem.nodeName.toLowerCase();return name==="input"&&"button"===elem.type||name==="button"},input:function(elem){return(/input|select|textarea|button/i).test(elem.nodeName)},focus:function(elem){return elem===elem.ownerDocument.activeElement}},setFilters:{first:function(elem,i){return i===0},last:function(elem,i,match,array){return i===array.length-1},even:function(elem,i){return i%2===0},odd:function(elem,i){return i%2===1},lt:function(elem,i,match){return imatch[3]-0},nth:function(elem,i,match){return match[3]-0===i},eq:function(elem,i,match){return match[3]-0===i}},filter:{PSEUDO:function(elem,match,i,array){var name=match[1],filter=Expr.filters[name];if(filter){return filter(elem,i,match,array)}else{if(name==="contains"){return(elem.textContent||elem.innerText||Sizzle.getText([elem])||"").indexOf(match[3])>=0}else{if(name==="not"){var not=match[3];for(var j=0,l=not.length;j=0)}}},ID:function(elem,match){return elem.nodeType===1&&elem.getAttribute("id")===match},TAG:function(elem,match){return(match==="*"&&elem.nodeType===1)||elem.nodeName.toLowerCase()===match},CLASS:function(elem,match){return(" "+(elem.className||elem.getAttribute("class"))+" ").indexOf(match)>-1},ATTR:function(elem,match){var name=match[1],result=Expr.attrHandle[name]?Expr.attrHandle[name](elem):elem[name]!=null?elem[name]:elem.getAttribute(name),value=result+"",type=match[2],check=match[4];return result==null?type==="!=":type==="="?value===check:type==="*="?value.indexOf(check)>=0:type==="~="?(" "+value+" ").indexOf(check)>=0:!check?value&&result!==false:type==="!="?value!==check:type==="^="?value.indexOf(check)===0:type==="$="?value.substr(value.length-check.length)===check:type==="|="?value===check||value.substr(0,check.length+1)===check+"-":false},POS:function(elem,match,i,array){var name=match[2],filter=Expr.setFilters[name];if(filter){return filter(elem,i,match,array)}}}};var origPOS=Expr.match.POS,fescape=function(all,num){return"\\"+(num-0+1)};for(var type in Expr.match){Expr.match[type]=new RegExp(Expr.match[type].source+(/(?![^\[]*\])(?![^\(]*\))/.source));Expr.leftMatch[type]=new RegExp(/(^(?:.|\r|\n)*?)/.source+Expr.match[type].source.replace(/\\(\d+)/g,fescape))}var makeArray=function(array,results){array=Array.prototype.slice.call(array,0);if(results){results.push.apply(results,array);return results}return array};try{Array.prototype.slice.call(document.documentElement.childNodes,0)[0].nodeType}catch(e){makeArray=function(array,results){var i=0,ret=results||[];if(toString.call(array)==="[object Array]"){Array.prototype.push.apply(ret,array)}else{if(typeof array.length==="number"){for(var l=array.length;i";root.insertBefore(form,root.firstChild);if(document.getElementById(id)){Expr.find.ID=function(match,context,isXML){if(typeof context.getElementById!=="undefined"&&!isXML){var m=context.getElementById(match[1]);return m?m.id===match[1]||typeof m.getAttributeNode!=="undefined"&&m.getAttributeNode("id").nodeValue===match[1]?[m]:undefined:[]}};Expr.filter.ID=function(elem,match){var node=typeof elem.getAttributeNode!=="undefined"&&elem.getAttributeNode("id");return elem.nodeType===1&&node&&node.nodeValue===match}}root.removeChild(form);root=form=null})();(function(){var div=document.createElement("div");div.appendChild(document.createComment(""));if(div.getElementsByTagName("*").length>0){Expr.find.TAG=function(match,context){var results=context.getElementsByTagName(match[1]);if(match[1]==="*"){var tmp=[];for(var i=0;results[i];i++){if(results[i].nodeType===1){tmp.push(results[i])}}results=tmp}return results}}div.innerHTML="";if(div.firstChild&&typeof div.firstChild.getAttribute!=="undefined"&&div.firstChild.getAttribute("href")!=="#"){Expr.attrHandle.href=function(elem){return elem.getAttribute("href",2)}}div=null})();if(document.querySelectorAll){(function(){var oldSizzle=Sizzle,div=document.createElement("div"),id="__sizzle__";div.innerHTML="

";if(div.querySelectorAll&&div.querySelectorAll(".TEST").length===0){return }Sizzle=function(query,context,extra,seed){context=context||document;if(!seed&&!Sizzle.isXML(context)){var match=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(query);if(match&&(context.nodeType===1||context.nodeType===9)){if(match[1]){return makeArray(context.getElementsByTagName(query),extra)}else{if(match[2]&&Expr.find.CLASS&&context.getElementsByClassName){return makeArray(context.getElementsByClassName(match[2]),extra)}}}if(context.nodeType===9){if(query==="body"&&context.body){return makeArray([context.body],extra)}else{if(match&&match[3]){var elem=context.getElementById(match[3]);if(elem&&elem.parentNode){if(elem.id===match[3]){return makeArray([elem],extra)}}else{return makeArray([],extra)}}}try{return makeArray(context.querySelectorAll(query),extra)}catch(qsaError){}}else{if(context.nodeType===1&&context.nodeName.toLowerCase()!=="object"){var oldContext=context,old=context.getAttribute("id"),nid=old||id,hasParent=context.parentNode,relativeHierarchySelector=/^\s*[+~]/.test(query);if(!old){context.setAttribute("id",nid)}else{nid=nid.replace(/'/g,"\\$&")}if(relativeHierarchySelector&&hasParent){context=context.parentNode}try{if(!relativeHierarchySelector||hasParent){return makeArray(context.querySelectorAll("[id='"+nid+"'] "+query),extra)}}catch(pseudoError){}finally{if(!old){oldContext.removeAttribute("id")}}}}}return oldSizzle(query,context,extra,seed)};for(var prop in oldSizzle){Sizzle[prop]=oldSizzle[prop]}div=null})()}(function(){var html=document.documentElement,matches=html.matchesSelector||html.mozMatchesSelector||html.webkitMatchesSelector||html.msMatchesSelector;if(matches){var disconnectedMatch=!matches.call(document.createElement("div"),"div"),pseudoWorks=false;try{matches.call(document.documentElement,"[test!='']:sizzle")}catch(pseudoError){pseudoWorks=true}Sizzle.matchesSelector=function(node,expr){expr=expr.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!Sizzle.isXML(node)){try{if(pseudoWorks||!Expr.match.PSEUDO.test(expr)&&!/!=/.test(expr)){var ret=matches.call(node,expr);if(ret||!disconnectedMatch||node.document&&node.document.nodeType!==11){return ret}}}catch(e){}}return Sizzle(expr,null,null,[node]).length>0}}})();(function(){var div=document.createElement("div");div.innerHTML="
";if(!div.getElementsByClassName||div.getElementsByClassName("e").length===0){return }div.lastChild.className="e";if(div.getElementsByClassName("e").length===1){return }Expr.order.splice(1,0,"CLASS");Expr.find.CLASS=function(match,context,isXML){if(typeof context.getElementsByClassName!=="undefined"&&!isXML){return context.getElementsByClassName(match[1])}};div=null})();function dirNodeCheck(dir,cur,doneName,checkSet,nodeCheck,isXML){for(var i=0,l=checkSet.length;i0){match=elem;break}}}elem=elem[dir]}checkSet[i]=match}}}if(document.documentElement.contains){Sizzle.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):true)}}else{if(document.documentElement.compareDocumentPosition){Sizzle.contains=function(a,b){return !!(a.compareDocumentPosition(b)&16)}}else{Sizzle.contains=function(){return false}}}Sizzle.isXML=function(elem){var documentElement=(elem?elem.ownerDocument||elem:0).documentElement;return documentElement?documentElement.nodeName!=="HTML":false};var posProcess=function(selector,context){var match,tmpSet=[],later="",root=context.nodeType?[context]:context;while((match=Expr.match.PSEUDO.exec(selector))){later+=match[0];selector=selector.replace(Expr.match.PSEUDO,"")}selector=Expr.relative[selector]?selector+"*":selector;for(var i=0,l=root.length;i0){for(n=length;n0:this.filter(selector).length>0)},closest:function(selectors,context){var ret=[],i,l,cur=this[0];if(jQuery.isArray(selectors)){var match,selector,matches={},level=1;if(cur&&selectors.length){for(i=0,l=selectors.length;i-1:jQuery(cur).is(match)){ret.push({selector:selector,elem:cur,level:level})}}cur=cur.parentNode;level++}}return ret}var pos=POS.test(selectors)||typeof selectors!=="string"?jQuery(selectors,context||this.context):0;for(i=0,l=this.length;i-1:jQuery.find.matchesSelector(cur,selectors)){ret.push(cur);break}else{cur=cur.parentNode;if(!cur||!cur.ownerDocument||cur===context||cur.nodeType===11){break}}}}ret=ret.length>1?jQuery.unique(ret):ret;return this.pushStack(ret,"closest",selectors)},index:function(elem){if(!elem||typeof elem==="string"){return jQuery.inArray(this[0],elem?jQuery(elem):this.parent().children())}return jQuery.inArray(elem.jquery?elem[0]:elem,this)},add:function(selector,context){var set=typeof selector==="string"?jQuery(selector,context):jQuery.makeArray(selector&&selector.nodeType?[selector]:selector),all=jQuery.merge(this.get(),set);return this.pushStack(isDisconnected(set[0])||isDisconnected(all[0])?all:jQuery.unique(all))},andSelf:function(){return this.add(this.prevObject)}});function isDisconnected(node){return !node||!node.parentNode||node.parentNode.nodeType===11}jQuery.each({parent:function(elem){var parent=elem.parentNode;return parent&&parent.nodeType!==11?parent:null},parents:function(elem){return jQuery.dir(elem,"parentNode")},parentsUntil:function(elem,i,until){return jQuery.dir(elem,"parentNode",until)},next:function(elem){return jQuery.nth(elem,2,"nextSibling")},prev:function(elem){return jQuery.nth(elem,2,"previousSibling")},nextAll:function(elem){return jQuery.dir(elem,"nextSibling")},prevAll:function(elem){return jQuery.dir(elem,"previousSibling")},nextUntil:function(elem,i,until){return jQuery.dir(elem,"nextSibling",until)},prevUntil:function(elem,i,until){return jQuery.dir(elem,"previousSibling",until)},siblings:function(elem){return jQuery.sibling(elem.parentNode.firstChild,elem)},children:function(elem){return jQuery.sibling(elem.firstChild)},contents:function(elem){return jQuery.nodeName(elem,"iframe")?elem.contentDocument||elem.contentWindow.document:jQuery.makeArray(elem.childNodes)}},function(name,fn){jQuery.fn[name]=function(until,selector){var ret=jQuery.map(this,fn,until),args=slice.call(arguments);if(!runtil.test(name)){selector=until}if(selector&&typeof selector==="string"){ret=jQuery.filter(selector,ret)}ret=this.length>1&&!guaranteedUnique[name]?jQuery.unique(ret):ret;if((this.length>1||rmultiselector.test(selector))&&rparentsprev.test(name)){ret=ret.reverse()}return this.pushStack(ret,name,args.join(","))}});jQuery.extend({filter:function(expr,elems,not){if(not){expr=":not("+expr+")"}return elems.length===1?jQuery.find.matchesSelector(elems[0],expr)?[elems[0]]:[]:jQuery.find.matches(expr,elems)},dir:function(elem,dir,until){var matched=[],cur=elem[dir];while(cur&&cur.nodeType!==9&&(until===undefined||cur.nodeType!==1||!jQuery(cur).is(until))){if(cur.nodeType===1){matched.push(cur)}cur=cur[dir]}return matched},nth:function(cur,result,dir,elem){result=result||1;var num=0;for(;cur;cur=cur[dir]){if(cur.nodeType===1&&++num===result){break}}return cur},sibling:function(n,elem){var r=[];for(;n;n=n.nextSibling){if(n.nodeType===1&&n!==elem){r.push(n)}}return r}});function winnow(elements,qualifier,keep){qualifier=qualifier||0;if(jQuery.isFunction(qualifier)){return jQuery.grep(elements,function(elem,i){var retVal=!!qualifier.call(elem,i,elem);return retVal===keep})}else{if(qualifier.nodeType){return jQuery.grep(elements,function(elem,i){return(elem===qualifier)===keep})}else{if(typeof qualifier==="string"){var filtered=jQuery.grep(elements,function(elem){return elem.nodeType===1});if(isSimple.test(qualifier)){return jQuery.filter(qualifier,filtered,!keep)}else{qualifier=jQuery.filter(qualifier,filtered)}}}}return jQuery.grep(elements,function(elem,i){return(jQuery.inArray(elem,qualifier)>=0)===keep})}var rinlinejQuery=/ jQuery\d+="(?:\d+|null)"/g,rleadingWhitespace=/^\s+/,rxhtmlTag=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,rtagName=/<([\w:]+)/,rtbody=/",""],legend:[1,"
","
"],thead:[1,"","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"","
"],area:[1,"",""],_default:[0,"",""]};wrapMap.optgroup=wrapMap.option;wrapMap.tbody=wrapMap.tfoot=wrapMap.colgroup=wrapMap.caption=wrapMap.thead;wrapMap.th=wrapMap.td;if(!jQuery.support.htmlSerialize){wrapMap._default=[1,"div
","
"]}jQuery.fn.extend({text:function(text){if(jQuery.isFunction(text)){return this.each(function(i){var self=jQuery(this);self.text(text.call(this,i,self.text()))})}if(typeof text!=="object"&&text!==undefined){return this.empty().append((this[0]&&this[0].ownerDocument||document).createTextNode(text))}return jQuery.text(this)},wrapAll:function(html){if(jQuery.isFunction(html)){return this.each(function(i){jQuery(this).wrapAll(html.call(this,i))})}if(this[0]){var wrap=jQuery(html,this[0].ownerDocument).eq(0).clone(true);if(this[0].parentNode){wrap.insertBefore(this[0])}wrap.map(function(){var elem=this;while(elem.firstChild&&elem.firstChild.nodeType===1){elem=elem.firstChild}return elem}).append(this)}return this},wrapInner:function(html){if(jQuery.isFunction(html)){return this.each(function(i){jQuery(this).wrapInner(html.call(this,i))})}return this.each(function(){var self=jQuery(this),contents=self.contents();if(contents.length){contents.wrapAll(html)}else{self.append(html)}})},wrap:function(html){return this.each(function(){jQuery(this).wrapAll(html)})},unwrap:function(){return this.parent().each(function(){if(!jQuery.nodeName(this,"body")){jQuery(this).replaceWith(this.childNodes)}}).end()},append:function(){return this.domManip(arguments,true,function(elem){if(this.nodeType===1){this.appendChild(elem)}})},prepend:function(){return this.domManip(arguments,true,function(elem){if(this.nodeType===1){this.insertBefore(elem,this.firstChild)}})},before:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(elem){this.parentNode.insertBefore(elem,this)})}else{if(arguments.length){var set=jQuery(arguments[0]);set.push.apply(set,this.toArray());return this.pushStack(set,"before",arguments)}}},after:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(elem){this.parentNode.insertBefore(elem,this.nextSibling)})}else{if(arguments.length){var set=this.pushStack(this,"after",arguments);set.push.apply(set,jQuery(arguments[0]).toArray());return set}}},remove:function(selector,keepData){for(var i=0,elem;(elem=this[i])!=null;i++){if(!selector||jQuery.filter(selector,[elem]).length){if(!keepData&&elem.nodeType===1){jQuery.cleanData(elem.getElementsByTagName("*"));jQuery.cleanData([elem])}if(elem.parentNode){elem.parentNode.removeChild(elem)}}}return this},empty:function(){for(var i=0,elem;(elem=this[i])!=null;i++){if(elem.nodeType===1){jQuery.cleanData(elem.getElementsByTagName("*"))}while(elem.firstChild){elem.removeChild(elem.firstChild)}}return this},clone:function(dataAndEvents,deepDataAndEvents){dataAndEvents=dataAndEvents==null?false:dataAndEvents;deepDataAndEvents=deepDataAndEvents==null?dataAndEvents:deepDataAndEvents;return this.map(function(){return jQuery.clone(this,dataAndEvents,deepDataAndEvents)})},html:function(value){if(value===undefined){return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(rinlinejQuery,""):null}else{if(typeof value==="string"&&!rnocache.test(value)&&(jQuery.support.leadingWhitespace||!rleadingWhitespace.test(value))&&!wrapMap[(rtagName.exec(value)||["",""])[1].toLowerCase()]){value=value.replace(rxhtmlTag,"<$1>");try{for(var i=0,l=this.length;i1&&i0?this.clone(true):this).get();jQuery(insert[i])[original](elems);ret=ret.concat(elems)}return this.pushStack(ret,name,insert.selector)}}});function getAll(elem){if("getElementsByTagName" in elem){return elem.getElementsByTagName("*")}else{if("querySelectorAll" in elem){return elem.querySelectorAll("*")}else{return[]}}}function fixDefaultChecked(elem){if(elem.type==="checkbox"||elem.type==="radio"){elem.defaultChecked=elem.checked}}function findInputs(elem){if(jQuery.nodeName(elem,"input")){fixDefaultChecked(elem)}else{if(elem.getElementsByTagName){jQuery.grep(elem.getElementsByTagName("input"),fixDefaultChecked)}}}jQuery.extend({clone:function(elem,dataAndEvents,deepDataAndEvents){var clone=elem.cloneNode(true),srcElements,destElements,i;if((!jQuery.support.noCloneEvent||!jQuery.support.noCloneChecked)&&(elem.nodeType===1||elem.nodeType===11)&&!jQuery.isXMLDoc(elem)){cloneFixAttributes(elem,clone);srcElements=getAll(elem);destElements=getAll(clone);for(i=0;srcElements[i];++i){cloneFixAttributes(srcElements[i],destElements[i])}}if(dataAndEvents){cloneCopyEvent(elem,clone);if(deepDataAndEvents){srcElements=getAll(elem);destElements=getAll(clone);for(i=0;srcElements[i];++i){cloneCopyEvent(srcElements[i],destElements[i])}}}return clone},clean:function(elems,context,fragment,scripts){var checkScriptType;context=context||document;if(typeof context.createElement==="undefined"){context=context.ownerDocument||context[0]&&context[0].ownerDocument||document}var ret=[],j;for(var i=0,elem;(elem=elems[i])!=null;i++){if(typeof elem==="number"){elem+=""}if(!elem){continue}if(typeof elem==="string"){if(!rhtml.test(elem)){elem=context.createTextNode(elem)}else{elem=elem.replace(rxhtmlTag,"<$1>");var tag=(rtagName.exec(elem)||["",""])[1].toLowerCase(),wrap=wrapMap[tag]||wrapMap._default,depth=wrap[0],div=context.createElement("div");div.innerHTML=wrap[1]+elem+wrap[2];while(depth--){div=div.lastChild}if(!jQuery.support.tbody){var hasBody=rtbody.test(elem),tbody=tag==="table"&&!hasBody?div.firstChild&&div.firstChild.childNodes:wrap[1]===""&&!hasBody?div.childNodes:[];for(j=tbody.length-1;j>=0;--j){if(jQuery.nodeName(tbody[j],"tbody")&&!tbody[j].childNodes.length){tbody[j].parentNode.removeChild(tbody[j])}}}if(!jQuery.support.leadingWhitespace&&rleadingWhitespace.test(elem)){div.insertBefore(context.createTextNode(rleadingWhitespace.exec(elem)[0]),div.firstChild)}elem=div.childNodes}}var len;if(!jQuery.support.appendChecked){if(elem[0]&&typeof (len=elem.length)==="number"){for(j=0;j=0){return value+"px"}}else{return value}}}});if(!jQuery.support.opacity){jQuery.cssHooks.opacity={get:function(elem,computed){return ropacity.test((computed&&elem.currentStyle?elem.currentStyle.filter:elem.style.filter)||"")?(parseFloat(RegExp.$1)/100)+"":computed?"1":""},set:function(elem,value){var style=elem.style,currentStyle=elem.currentStyle;style.zoom=1;var opacity=jQuery.isNaN(value)?"":"alpha(opacity="+value*100+")",filter=currentStyle&¤tStyle.filter||style.filter||"";style.filter=ralpha.test(filter)?filter.replace(ralpha,opacity):filter+" "+opacity}}}jQuery(function(){if(!jQuery.support.reliableMarginRight){jQuery.cssHooks.marginRight={get:function(elem,computed){var ret;jQuery.swap(elem,{display:"inline-block"},function(){if(computed){ret=curCSS(elem,"margin-right","marginRight")}else{ret=elem.style.marginRight}});return ret}}}});if(document.defaultView&&document.defaultView.getComputedStyle){getComputedStyle=function(elem,name){var ret,defaultView,computedStyle;name=name.replace(rupper,"-$1").toLowerCase();if(!(defaultView=elem.ownerDocument.defaultView)){return undefined}if((computedStyle=defaultView.getComputedStyle(elem,null))){ret=computedStyle.getPropertyValue(name);if(ret===""&&!jQuery.contains(elem.ownerDocument.documentElement,elem)){ret=jQuery.style(elem,name)}}return ret}}if(document.documentElement.currentStyle){currentStyle=function(elem,name){var left,ret=elem.currentStyle&&elem.currentStyle[name],rsLeft=elem.runtimeStyle&&elem.runtimeStyle[name],style=elem.style;if(!rnumpx.test(ret)&&rnum.test(ret)){left=style.left;if(rsLeft){elem.runtimeStyle.left=elem.currentStyle.left}style.left=name==="fontSize"?"1em":(ret||0);ret=style.pixelLeft+"px";style.left=left;if(rsLeft){elem.runtimeStyle.left=rsLeft}}return ret===""?"auto":ret}}curCSS=getComputedStyle||currentStyle;function getWH(elem,name,extra){var which=name==="width"?cssWidth:cssHeight,val=name==="width"?elem.offsetWidth:elem.offsetHeight;if(extra==="border"){return val}jQuery.each(which,function(){if(!extra){val-=parseFloat(jQuery.css(elem,"padding"+this))||0}if(extra==="margin"){val+=parseFloat(jQuery.css(elem,"margin"+this))||0}else{val-=parseFloat(jQuery.css(elem,"border"+this+"Width"))||0}});return val}if(jQuery.expr&&jQuery.expr.filters){jQuery.expr.filters.hidden=function(elem){var width=elem.offsetWidth,height=elem.offsetHeight;return(width===0&&height===0)||(!jQuery.support.reliableHiddenOffsets&&(elem.style.display||jQuery.css(elem,"display"))==="none")};jQuery.expr.filters.visible=function(elem){return !jQuery.expr.filters.hidden(elem)}}var r20=/%20/g,rbracket=/\[\]$/,rCRLF=/\r?\n/g,rhash=/#.*$/,rheaders=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,rinput=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,rlocalProtocol=/^(?:about|app|app\-storage|.+\-extension|file|widget):$/,rnoContent=/^(?:GET|HEAD)$/,rprotocol=/^\/\//,rquery=/\?/,rscript=/)<[^<]*)*<\/script>/gi,rselectTextarea=/^(?:select|textarea)/i,rspacesAjax=/\s+/,rts=/([?&])_=[^&]*/,rurl=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,_load=jQuery.fn.load,prefilters={},transports={},ajaxLocation,ajaxLocParts;try{ajaxLocation=location.href}catch(e){ajaxLocation=document.createElement("a");ajaxLocation.href="";ajaxLocation=ajaxLocation.href}ajaxLocParts=rurl.exec(ajaxLocation.toLowerCase())||[];function addToPrefiltersOrTransports(structure){return function(dataTypeExpression,func){if(typeof dataTypeExpression!=="string"){func=dataTypeExpression;dataTypeExpression="*"}if(jQuery.isFunction(func)){var dataTypes=dataTypeExpression.toLowerCase().split(rspacesAjax),i=0,length=dataTypes.length,dataType,list,placeBefore;for(;i=0){var selector=url.slice(off,url.length);url=url.slice(0,off)}var type="GET";if(params){if(jQuery.isFunction(params)){callback=params;params=undefined}else{if(typeof params==="object"){params=jQuery.param(params,jQuery.ajaxSettings.traditional);type="POST"}}}var self=this;jQuery.ajax({url:url,type:type,dataType:"html",data:params,complete:function(jqXHR,status,responseText){responseText=jqXHR.responseText;if(jqXHR.isResolved()){jqXHR.done(function(r){responseText=r});self.html(selector?jQuery("
").append(responseText.replace(rscript,"")).find(selector):responseText)}if(callback){self.each(callback,[responseText,status,jqXHR])}}});return this},serialize:function(){return jQuery.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?jQuery.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||rselectTextarea.test(this.nodeName)||rinput.test(this.type))}).map(function(i,elem){var val=jQuery(this).val();return val==null?null:jQuery.isArray(val)?jQuery.map(val,function(val,i){return{name:elem.name,value:val.replace(rCRLF,"\r\n")}}):{name:elem.name,value:val.replace(rCRLF,"\r\n")}}).get()}});jQuery.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(i,o){jQuery.fn[o]=function(f){return this.bind(o,f)}});jQuery.each(["get","post"],function(i,method){jQuery[method]=function(url,data,callback,type){if(jQuery.isFunction(data)){type=type||callback;callback=data;data=undefined}return jQuery.ajax({type:method,url:url,data:data,success:callback,dataType:type})}});jQuery.extend({getScript:function(url,callback){return jQuery.get(url,undefined,callback,"script")},getJSON:function(url,data,callback){return jQuery.get(url,data,callback,"json")},ajaxSetup:function(target,settings){if(!settings){settings=target;target=jQuery.extend(true,jQuery.ajaxSettings,settings)}else{jQuery.extend(true,target,jQuery.ajaxSettings,settings)}for(var field in {context:1,url:1}){if(field in settings){target[field]=settings[field]}else{if(field in jQuery.ajaxSettings){target[field]=jQuery.ajaxSettings[field]}}}return target},ajaxSettings:{url:ajaxLocation,isLocal:rlocalProtocol.test(ajaxLocParts[1]),global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":"*/*"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":window.String,"text html":true,"text json":jQuery.parseJSON,"text xml":jQuery.parseXML}},ajaxPrefilter:addToPrefiltersOrTransports(prefilters),ajaxTransport:addToPrefiltersOrTransports(transports),ajax:function(url,options){if(typeof url==="object"){options=url;url=undefined}options=options||{};var s=jQuery.ajaxSetup({},options),callbackContext=s.context||s,globalEventContext=callbackContext!==s&&(callbackContext.nodeType||callbackContext instanceof jQuery)?jQuery(callbackContext):jQuery.event,deferred=jQuery.Deferred(),completeDeferred=jQuery._Deferred(),statusCode=s.statusCode||{},ifModifiedKey,requestHeaders={},requestHeadersNames={},responseHeadersString,responseHeaders,transport,timeoutTimer,parts,state=0,fireGlobals,i,jqXHR={readyState:0,setRequestHeader:function(name,value){if(!state){var lname=name.toLowerCase();name=requestHeadersNames[lname]=requestHeadersNames[lname]||name;requestHeaders[name]=value}return this},getAllResponseHeaders:function(){return state===2?responseHeadersString:null},getResponseHeader:function(key){var match;if(state===2){if(!responseHeaders){responseHeaders={};while((match=rheaders.exec(responseHeadersString))){responseHeaders[match[1].toLowerCase()]=match[2]}}match=responseHeaders[key.toLowerCase()]}return match===undefined?null:match},overrideMimeType:function(type){if(!state){s.mimeType=type}return this},abort:function(statusText){statusText=statusText||"abort";if(transport){transport.abort(statusText)}done(0,statusText);return this}};function done(status,statusText,responses,headers){if(state===2){return }state=2;if(timeoutTimer){clearTimeout(timeoutTimer)}transport=undefined;responseHeadersString=headers||"";jqXHR.readyState=status?4:0;var isSuccess,success,error,response=responses?ajaxHandleResponses(s,jqXHR,responses):undefined,lastModified,etag;if(status>=200&&status<300||status===304){if(s.ifModified){if((lastModified=jqXHR.getResponseHeader("Last-Modified"))){jQuery.lastModified[ifModifiedKey]=lastModified}if((etag=jqXHR.getResponseHeader("Etag"))){jQuery.etag[ifModifiedKey]=etag}}if(status===304){statusText="notmodified";isSuccess=true}else{try{success=ajaxConvert(s,response);statusText="success";isSuccess=true}catch(e){statusText="parsererror";error=e}}}else{error=statusText;if(!statusText||status){statusText="error";if(status<0){status=0}}}jqXHR.status=status;jqXHR.statusText=statusText;if(isSuccess){deferred.resolveWith(callbackContext,[success,statusText,jqXHR])}else{deferred.rejectWith(callbackContext,[jqXHR,statusText,error])}jqXHR.statusCode(statusCode);statusCode=undefined;if(fireGlobals){globalEventContext.trigger("ajax"+(isSuccess?"Success":"Error"),[jqXHR,s,isSuccess?success:error])}completeDeferred.resolveWith(callbackContext,[jqXHR,statusText]);if(fireGlobals){globalEventContext.trigger("ajaxComplete",[jqXHR,s]);if(!(--jQuery.active)){jQuery.event.trigger("ajaxStop")}}}deferred.promise(jqXHR);jqXHR.success=jqXHR.done;jqXHR.error=jqXHR.fail;jqXHR.complete=completeDeferred.done;jqXHR.statusCode=function(map){if(map){var tmp;if(state<2){for(tmp in map){statusCode[tmp]=[statusCode[tmp],map[tmp]]}}else{tmp=map[jqXHR.status];jqXHR.then(tmp,tmp)}}return this};s.url=((url||s.url)+"").replace(rhash,"").replace(rprotocol,ajaxLocParts[1]+"//");s.dataTypes=jQuery.trim(s.dataType||"*").toLowerCase().split(rspacesAjax);if(s.crossDomain==null){parts=rurl.exec(s.url.toLowerCase());s.crossDomain=!!(parts&&(parts[1]!=ajaxLocParts[1]||parts[2]!=ajaxLocParts[2]||(parts[3]||(parts[1]==="http:"?80:443))!=(ajaxLocParts[3]||(ajaxLocParts[1]==="http:"?80:443))))}if(s.data&&s.processData&&typeof s.data!=="string"){s.data=jQuery.param(s.data,s.traditional)}inspectPrefiltersOrTransports(prefilters,s,options,jqXHR);if(state===2){return false}fireGlobals=s.global;s.type=s.type.toUpperCase();s.hasContent=!rnoContent.test(s.type);if(fireGlobals&&jQuery.active++===0){jQuery.event.trigger("ajaxStart")}if(!s.hasContent){if(s.data){s.url+=(rquery.test(s.url)?"&":"?")+s.data}ifModifiedKey=s.url;if(s.cache===false){var ts=jQuery.now(),ret=s.url.replace(rts,"$1_="+ts);s.url=ret+((ret===s.url)?(rquery.test(s.url)?"&":"?")+"_="+ts:"")}}if(s.data&&s.hasContent&&s.contentType!==false||options.contentType){jqXHR.setRequestHeader("Content-Type",s.contentType)}if(s.ifModified){ifModifiedKey=ifModifiedKey||s.url;if(jQuery.lastModified[ifModifiedKey]){jqXHR.setRequestHeader("If-Modified-Since",jQuery.lastModified[ifModifiedKey])}if(jQuery.etag[ifModifiedKey]){jqXHR.setRequestHeader("If-None-Match",jQuery.etag[ifModifiedKey])}}jqXHR.setRequestHeader("Accept",s.dataTypes[0]&&s.accepts[s.dataTypes[0]]?s.accepts[s.dataTypes[0]]+(s.dataTypes[0]!=="*"?", */*; q=0.01":""):s.accepts["*"]);for(i in s.headers){jqXHR.setRequestHeader(i,s.headers[i])}if(s.beforeSend&&(s.beforeSend.call(callbackContext,jqXHR,s)===false||state===2)){jqXHR.abort();return false}for(i in {success:1,error:1,complete:1}){jqXHR[i](s[i])}transport=inspectPrefiltersOrTransports(transports,s,options,jqXHR);if(!transport){done(-1,"No Transport")}else{jqXHR.readyState=1;if(fireGlobals){globalEventContext.trigger("ajaxSend",[jqXHR,s])}if(s.async&&s.timeout>0){timeoutTimer=setTimeout(function(){jqXHR.abort("timeout")},s.timeout)}try{state=1;transport.send(requestHeaders,done)}catch(e){if(status<2){done(-1,e)}else{jQuery.error(e)}}}return jqXHR},param:function(a,traditional){var s=[],add=function(key,value){value=jQuery.isFunction(value)?value():value;s[s.length]=encodeURIComponent(key)+"="+encodeURIComponent(value)};if(traditional===undefined){traditional=jQuery.ajaxSettings.traditional}if(jQuery.isArray(a)||(a.jquery&&!jQuery.isPlainObject(a))){jQuery.each(a,function(){add(this.name,this.value)})}else{for(var prefix in a){buildParams(prefix,a[prefix],traditional,add)}}return s.join("&").replace(r20,"+")}});function buildParams(prefix,obj,traditional,add){if(jQuery.isArray(obj)){jQuery.each(obj,function(i,v){if(traditional||rbracket.test(prefix)){add(prefix,v)}else{buildParams(prefix+"["+(typeof v==="object"||jQuery.isArray(v)?i:"")+"]",v,traditional,add)}})}else{if(!traditional&&obj!=null&&typeof obj==="object"){for(var name in obj){buildParams(prefix+"["+name+"]",obj[name],traditional,add)}}else{add(prefix,obj)}}}jQuery.extend({active:0,lastModified:{},etag:{}});function ajaxHandleResponses(s,jqXHR,responses){var contents=s.contents,dataTypes=s.dataTypes,responseFields=s.responseFields,ct,type,finalDataType,firstDataType;for(type in responseFields){if(type in responses){jqXHR[responseFields[type]]=responses[type]}}while(dataTypes[0]==="*"){dataTypes.shift();if(ct===undefined){ct=s.mimeType||jqXHR.getResponseHeader("content-type")}}if(ct){for(type in contents){if(contents[type]&&contents[type].test(ct)){dataTypes.unshift(type);break}}}if(dataTypes[0] in responses){finalDataType=dataTypes[0]}else{for(type in responses){if(!dataTypes[0]||s.converters[type+" "+dataTypes[0]]){finalDataType=type;break}if(!firstDataType){firstDataType=type}}finalDataType=finalDataType||firstDataType}if(finalDataType){if(finalDataType!==dataTypes[0]){dataTypes.unshift(finalDataType)}return responses[finalDataType]}}function ajaxConvert(s,response){if(s.dataFilter){response=s.dataFilter(response,s.dataType)}var dataTypes=s.dataTypes,converters={},i,key,length=dataTypes.length,tmp,current=dataTypes[0],prev,conversion,conv,conv1,conv2;for(i=1;i=options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();options.animatedProperties[this.prop]=true;for(i in options.animatedProperties){if(options.animatedProperties[i]!==true){done=false}}if(done){if(options.overflow!=null&&!jQuery.support.shrinkWrapBlocks){jQuery.each(["","X","Y"],function(index,value){elem.style["overflow"+value]=options.overflow[index]})}if(options.hide){jQuery(elem).hide()}if(options.hide||options.show){for(var p in options.animatedProperties){jQuery.style(elem,p,options.orig[p])}}options.complete.call(elem)}return false}else{if(options.duration==Infinity){this.now=t}else{n=t-this.startTime;this.state=n/options.duration;this.pos=jQuery.easing[options.animatedProperties[this.prop]](this.state,n,0,1,options.duration);this.now=this.start+((this.end-this.start)*this.pos)}this.update()}return true}};jQuery.extend(jQuery.fx,{tick:function(){for(var timers=jQuery.timers,i=0;i").appendTo("body"),display=elem.css("display");elem.remove();if(display==="none"||display===""){if(!iframe){iframe=document.createElement("iframe");iframe.frameBorder=iframe.width=iframe.height=0}document.body.appendChild(iframe);if(!iframeDoc||!iframe.createElement){iframeDoc=(iframe.contentWindow||iframe.contentDocument).document;iframeDoc.write("")}elem=iframeDoc.createElement(nodeName);iframeDoc.body.appendChild(elem);display=jQuery.css(elem,"display");document.body.removeChild(iframe)}elemdisplay[nodeName]=display}return elemdisplay[nodeName]}var rtable=/^t(?:able|d|h)$/i,rroot=/^(?:body|html)$/i;if("getBoundingClientRect" in document.documentElement){jQuery.fn.offset=function(options){var elem=this[0],box;if(options){return this.each(function(i){jQuery.offset.setOffset(this,options,i)})}if(!elem||!elem.ownerDocument){return null}if(elem===elem.ownerDocument.body){return jQuery.offset.bodyOffset(elem)}try{box=elem.getBoundingClientRect()}catch(e){}var doc=elem.ownerDocument,docElem=doc.documentElement;if(!box||!jQuery.contains(docElem,elem)){return box?{top:box.top,left:box.left}:{top:0,left:0}}var body=doc.body,win=getWindow(doc),clientTop=docElem.clientTop||body.clientTop||0,clientLeft=docElem.clientLeft||body.clientLeft||0,scrollTop=win.pageYOffset||jQuery.support.boxModel&&docElem.scrollTop||body.scrollTop,scrollLeft=win.pageXOffset||jQuery.support.boxModel&&docElem.scrollLeft||body.scrollLeft,top=box.top+scrollTop-clientTop,left=box.left+scrollLeft-clientLeft;return{top:top,left:left}}}else{jQuery.fn.offset=function(options){var elem=this[0];if(options){return this.each(function(i){jQuery.offset.setOffset(this,options,i)})}if(!elem||!elem.ownerDocument){return null}if(elem===elem.ownerDocument.body){return jQuery.offset.bodyOffset(elem)}jQuery.offset.initialize();var computedStyle,offsetParent=elem.offsetParent,prevOffsetParent=elem,doc=elem.ownerDocument,docElem=doc.documentElement,body=doc.body,defaultView=doc.defaultView,prevComputedStyle=defaultView?defaultView.getComputedStyle(elem,null):elem.currentStyle,top=elem.offsetTop,left=elem.offsetLeft;while((elem=elem.parentNode)&&elem!==body&&elem!==docElem){if(jQuery.offset.supportsFixedPosition&&prevComputedStyle.position==="fixed"){break}computedStyle=defaultView?defaultView.getComputedStyle(elem,null):elem.currentStyle;top-=elem.scrollTop;left-=elem.scrollLeft;if(elem===offsetParent){top+=elem.offsetTop;left+=elem.offsetLeft;if(jQuery.offset.doesNotAddBorder&&!(jQuery.offset.doesAddBorderForTableAndCells&&rtable.test(elem.nodeName))){top+=parseFloat(computedStyle.borderTopWidth)||0;left+=parseFloat(computedStyle.borderLeftWidth)||0}prevOffsetParent=offsetParent;offsetParent=elem.offsetParent}if(jQuery.offset.subtractsBorderForOverflowNotVisible&&computedStyle.overflow!=="visible"){top+=parseFloat(computedStyle.borderTopWidth)||0;left+=parseFloat(computedStyle.borderLeftWidth)||0}prevComputedStyle=computedStyle}if(prevComputedStyle.position==="relative"||prevComputedStyle.position==="static"){top+=body.offsetTop;left+=body.offsetLeft}if(jQuery.offset.supportsFixedPosition&&prevComputedStyle.position==="fixed"){top+=Math.max(docElem.scrollTop,body.scrollTop);left+=Math.max(docElem.scrollLeft,body.scrollLeft)}return{top:top,left:left}}}jQuery.offset={initialize:function(){var body=document.body,container=document.createElement("div"),innerDiv,checkDiv,table,td,bodyMarginTop=parseFloat(jQuery.css(body,"marginTop"))||0,html="
";jQuery.extend(container.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"});container.innerHTML=html;body.insertBefore(container,body.firstChild);innerDiv=container.firstChild;checkDiv=innerDiv.firstChild;td=innerDiv.nextSibling.firstChild.firstChild;this.doesNotAddBorder=(checkDiv.offsetTop!==5);this.doesAddBorderForTableAndCells=(td.offsetTop===5);checkDiv.style.position="fixed";checkDiv.style.top="20px";this.supportsFixedPosition=(checkDiv.offsetTop===20||checkDiv.offsetTop===15);checkDiv.style.position=checkDiv.style.top="";innerDiv.style.overflow="hidden";innerDiv.style.position="relative";this.subtractsBorderForOverflowNotVisible=(checkDiv.offsetTop===-5);this.doesNotIncludeMarginInBodyOffset=(body.offsetTop!==bodyMarginTop);body.removeChild(container);jQuery.offset.initialize=jQuery.noop},bodyOffset:function(body){var top=body.offsetTop,left=body.offsetLeft;jQuery.offset.initialize();if(jQuery.offset.doesNotIncludeMarginInBodyOffset){top+=parseFloat(jQuery.css(body,"marginTop"))||0;left+=parseFloat(jQuery.css(body,"marginLeft"))||0}return{top:top,left:left}},setOffset:function(elem,options,i){var position=jQuery.css(elem,"position");if(position==="static"){elem.style.position="relative"}var curElem=jQuery(elem),curOffset=curElem.offset(),curCSSTop=jQuery.css(elem,"top"),curCSSLeft=jQuery.css(elem,"left"),calculatePosition=(position==="absolute"||position==="fixed")&&jQuery.inArray("auto",[curCSSTop,curCSSLeft])>-1,props={},curPosition={},curTop,curLeft;if(calculatePosition){curPosition=curElem.position();curTop=curPosition.top;curLeft=curPosition.left}else{curTop=parseFloat(curCSSTop)||0;curLeft=parseFloat(curCSSLeft)||0}if(jQuery.isFunction(options)){options=options.call(elem,i,curOffset)}if(options.top!=null){props.top=(options.top-curOffset.top)+curTop}if(options.left!=null){props.left=(options.left-curOffset.left)+curLeft}if("using" in options){options.using.call(elem,props)}else{curElem.css(props)}}};jQuery.fn.extend({position:function(){if(!this[0]){return null}var elem=this[0],offsetParent=this.offsetParent(),offset=this.offset(),parentOffset=rroot.test(offsetParent[0].nodeName)?{top:0,left:0}:offsetParent.offset();offset.top-=parseFloat(jQuery.css(elem,"marginTop"))||0;offset.left-=parseFloat(jQuery.css(elem,"marginLeft"))||0;parentOffset.top+=parseFloat(jQuery.css(offsetParent[0],"borderTopWidth"))||0;parentOffset.left+=parseFloat(jQuery.css(offsetParent[0],"borderLeftWidth"))||0;return{top:offset.top-parentOffset.top,left:offset.left-parentOffset.left}},offsetParent:function(){return this.map(function(){var offsetParent=this.offsetParent||document.body;while(offsetParent&&(!rroot.test(offsetParent.nodeName)&&jQuery.css(offsetParent,"position")==="static")){offsetParent=offsetParent.offsetParent}return offsetParent})}});jQuery.each(["Left","Top"],function(i,name){var method="scroll"+name;jQuery.fn[method]=function(val){var elem,win;if(val===undefined){elem=this[0];if(!elem){return null}win=getWindow(elem);return win?("pageXOffset" in win)?win[i?"pageYOffset":"pageXOffset"]:jQuery.support.boxModel&&win.document.documentElement[method]||win.document.body[method]:elem[method]}return this.each(function(){win=getWindow(this);if(win){win.scrollTo(!i?val:jQuery(win).scrollLeft(),i?val:jQuery(win).scrollTop())}else{this[method]=val}})}});function getWindow(elem){return jQuery.isWindow(elem)?elem:elem.nodeType===9?elem.defaultView||elem.parentWindow:false}jQuery.each(["Height","Width"],function(i,name){var type=name.toLowerCase();jQuery.fn["inner"+name]=function(){return this[0]?parseFloat(jQuery.css(this[0],type,"padding")):null};jQuery.fn["outer"+name]=function(margin){return this[0]?parseFloat(jQuery.css(this[0],type,margin?"margin":"border")):null};jQuery.fn[type]=function(size){var elem=this[0];if(!elem){return size==null?null:this}if(jQuery.isFunction(size)){return this.each(function(i){var self=jQuery(this);self[type](size.call(this,i,self[type]()))})}if(jQuery.isWindow(elem)){var docElemProp=elem.document.documentElement["client"+name];return elem.document.compatMode==="CSS1Compat"&&docElemProp||elem.document.body["client"+name]||docElemProp}else{if(elem.nodeType===9){return Math.max(elem.documentElement["client"+name],elem.body["scroll"+name],elem.documentElement["scroll"+name],elem.body["offset"+name],elem.documentElement["offset"+name])}else{if(size===undefined){var orig=jQuery.css(elem,type),ret=parseFloat(orig);return jQuery.isNaN(ret)?orig:ret}else{return this.css(type,typeof size==="string"?size:size+"px")}}}}});window.jQuery=window.$=jQuery})(window);/* - * jQuery UI 1.8.12 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI - */ -(function($,undefined){$.ui=$.ui||{};if($.ui.version){return }$.extend($.ui,{version:"1.8.12",keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}});$.fn.extend({_focus:$.fn.focus,focus:function(delay,fn){return typeof delay==="number"?this.each(function(){var elem=this;setTimeout(function(){$(elem).focus();if(fn){fn.call(elem)}},delay)}):this._focus.apply(this,arguments)},scrollParent:function(){var scrollParent;if(($.browser.msie&&(/(static|relative)/).test(this.css("position")))||(/absolute/).test(this.css("position"))){scrollParent=this.parents().filter(function(){return(/(relative|absolute|fixed)/).test($.curCSS(this,"position",1))&&(/(auto|scroll)/).test($.curCSS(this,"overflow",1)+$.curCSS(this,"overflow-y",1)+$.curCSS(this,"overflow-x",1))}).eq(0)}else{scrollParent=this.parents().filter(function(){return(/(auto|scroll)/).test($.curCSS(this,"overflow",1)+$.curCSS(this,"overflow-y",1)+$.curCSS(this,"overflow-x",1))}).eq(0)}return(/fixed/).test(this.css("position"))||!scrollParent.length?$(document):scrollParent},zIndex:function(zIndex){if(zIndex!==undefined){return this.css("zIndex",zIndex)}if(this.length){var elem=$(this[0]),position,value;while(elem.length&&elem[0]!==document){position=elem.css("position");if(position==="absolute"||position==="relative"||position==="fixed"){value=parseInt(elem.css("zIndex"),10);if(!isNaN(value)&&value!==0){return value}}elem=elem.parent()}}return 0},disableSelection:function(){return this.bind(($.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(event){event.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}});$.each(["Width","Height"],function(i,name){var side=name==="Width"?["Left","Right"]:["Top","Bottom"],type=name.toLowerCase(),orig={innerWidth:$.fn.innerWidth,innerHeight:$.fn.innerHeight,outerWidth:$.fn.outerWidth,outerHeight:$.fn.outerHeight};function reduce(elem,size,border,margin){$.each(side,function(){size-=parseFloat($.curCSS(elem,"padding"+this,true))||0;if(border){size-=parseFloat($.curCSS(elem,"border"+this+"Width",true))||0}if(margin){size-=parseFloat($.curCSS(elem,"margin"+this,true))||0}});return size}$.fn["inner"+name]=function(size){if(size===undefined){return orig["inner"+name].call(this)}return this.each(function(){$(this).css(type,reduce(this,size)+"px")})};$.fn["outer"+name]=function(size,margin){if(typeof size!=="number"){return orig["outer"+name].call(this,size)}return this.each(function(){$(this).css(type,reduce(this,size,true,margin)+"px")})}});function visible(element){return !$(element).parents().andSelf().filter(function(){return $.curCSS(this,"visibility")==="hidden"||$.expr.filters.hidden(this)}).length}$.extend($.expr[":"],{data:function(elem,i,match){return !!$.data(elem,match[3])},focusable:function(element){var nodeName=element.nodeName.toLowerCase(),tabIndex=$.attr(element,"tabindex");if("area"===nodeName){var map=element.parentNode,mapName=map.name,img;if(!element.href||!mapName||map.nodeName.toLowerCase()!=="map"){return false}img=$("img[usemap=#"+mapName+"]")[0];return !!img&&visible(img)}return(/input|select|textarea|button|object/.test(nodeName)?!element.disabled:"a"==nodeName?element.href||!isNaN(tabIndex):!isNaN(tabIndex))&&visible(element)},tabbable:function(element){var tabIndex=$.attr(element,"tabindex");return(isNaN(tabIndex)||tabIndex>=0)&&$(element).is(":focusable")}});$(function(){var body=document.body,div=body.appendChild(div=document.createElement("div"));$.extend(div.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0});$.support.minHeight=div.offsetHeight===100;$.support.selectstart="onselectstart" in div;body.removeChild(div).style.display="none"});$.extend($.ui,{plugin:{add:function(module,option,set){var proto=$.ui[module].prototype;for(var i in set){proto.plugins[i]=proto.plugins[i]||[];proto.plugins[i].push([option,set[i]])}},call:function(instance,name,args){var set=instance.plugins[name];if(!set||!instance.element[0].parentNode){return }for(var i=0;i0){return true}el[scroll]=1;has=(el[scroll]>0);el[scroll]=0;return has},isOverAxis:function(x,reference,size){return(x>reference)&&(x<(reference+size))},isOver:function(y,x,top,left,height,width){return $.ui.isOverAxis(y,top,height)&&$.ui.isOverAxis(x,left,width)}})})(jQuery);/* - * jQuery UI Widget 1.8.12 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Widget - */ -(function($,undefined){if($.cleanData){var _cleanData=$.cleanData;$.cleanData=function(elems){for(var i=0,elem;(elem=elems[i])!=null;i++){$(elem).triggerHandler("remove")}_cleanData(elems)}}else{var _remove=$.fn.remove;$.fn.remove=function(selector,keepData){return this.each(function(){if(!keepData){if(!selector||$.filter(selector,[this]).length){$("*",this).add([this]).each(function(){$(this).triggerHandler("remove")})}}return _remove.call($(this),selector,keepData)})}}$.widget=function(name,base,prototype){var namespace=name.split(".")[0],fullName;name=name.split(".")[1];fullName=namespace+"-"+name;if(!prototype){prototype=base;base=$.Widget}$.expr[":"][fullName]=function(elem){return !!$.data(elem,name)};$[namespace]=$[namespace]||{};$[namespace][name]=function(options,element){if(arguments.length){this._createWidget(options,element)}};var basePrototype=new base();basePrototype.options=$.extend(true,{},basePrototype.options);$[namespace][name].prototype=$.extend(true,basePrototype,{namespace:namespace,widgetName:name,widgetEventPrefix:$[namespace][name].prototype.widgetEventPrefix||name,widgetBaseClass:fullName},prototype);$.widget.bridge(name,$[namespace][name])};$.widget.bridge=function(name,object){$.fn[name]=function(options){var isMethodCall=typeof options==="string",args=Array.prototype.slice.call(arguments,1),returnValue=this;options=!isMethodCall&&args.length?$.extend.apply(null,[true,options].concat(args)):options;if(isMethodCall&&options.charAt(0)==="_"){return returnValue}if(isMethodCall){this.each(function(){var instance=$.data(this,name),methodValue=instance&&$.isFunction(instance[options])?instance[options].apply(instance,args):instance;if(methodValue!==instance&&methodValue!==undefined){returnValue=methodValue;return false}})}else{this.each(function(){var instance=$.data(this,name);if(instance){instance.option(options||{})._init()}else{$.data(this,name,new object(options,this))}})}return returnValue}};$.Widget=function(options,element){if(arguments.length){this._createWidget(options,element)}};$.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:false},_createWidget:function(options,element){$.data(element,this.widgetName,this);this.element=$(element);this.options=$.extend(true,{},this.options,this._getCreateOptions(),options);var self=this;this.element.bind("remove."+this.widgetName,function(){self.destroy()});this._create();this._trigger("create");this._init()},_getCreateOptions:function(){return $.metadata&&$.metadata.get(this.element[0])[this.widgetName]},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName);this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled ui-state-disabled")},widget:function(){return this.element},option:function(key,value){var options=key;if(arguments.length===0){return $.extend({},this.options)}if(typeof key==="string"){if(value===undefined){return this.options[key]}options={};options[key]=value}this._setOptions(options);return this},_setOptions:function(options){var self=this;$.each(options,function(key,value){self._setOption(key,value)});return this},_setOption:function(key,value){this.options[key]=value;if(key==="disabled"){this.widget()[value?"addClass":"removeClass"](this.widgetBaseClass+"-disabled ui-state-disabled").attr("aria-disabled",value)}return this},enable:function(){return this._setOption("disabled",false)},disable:function(){return this._setOption("disabled",true)},_trigger:function(type,event,data){var callback=this.options[type];event=$.Event(event);event.type=(type===this.widgetEventPrefix?type:this.widgetEventPrefix+type).toLowerCase();data=data||{};if(event.originalEvent){for(var i=$.event.props.length,prop;i;){prop=$.event.props[--i];event[prop]=event.originalEvent[prop]}}this.element.trigger(event,data);return !($.isFunction(callback)&&callback.call(this.element[0],event,data)===false||event.isDefaultPrevented())}}})(jQuery);/* - * jQuery UI Mouse 1.8.12 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Mouse - * - * Depends: - * jquery.ui.widget.js - */ -(function($,undefined){$.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var self=this;this.element.bind("mousedown."+this.widgetName,function(event){return self._mouseDown(event)}).bind("click."+this.widgetName,function(event){if(true===$.data(event.target,self.widgetName+".preventClickEvent")){$.removeData(event.target,self.widgetName+".preventClickEvent");event.stopImmediatePropagation();return false}});this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName)},_mouseDown:function(event){event.originalEvent=event.originalEvent||{};if(event.originalEvent.mouseHandled){return }(this._mouseStarted&&this._mouseUp(event));this._mouseDownEvent=event;var self=this,btnIsLeft=(event.which==1),elIsCancel=(typeof this.options.cancel=="string"?$(event.target).parents().add(event.target).filter(this.options.cancel).length:false);if(!btnIsLeft||elIsCancel||!this._mouseCapture(event)){return true}this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet){this._mouseDelayTimer=setTimeout(function(){self.mouseDelayMet=true},this.options.delay)}if(this._mouseDistanceMet(event)&&this._mouseDelayMet(event)){this._mouseStarted=(this._mouseStart(event)!==false);if(!this._mouseStarted){event.preventDefault();return true}}if(true===$.data(event.target,this.widgetName+".preventClickEvent")){$.removeData(event.target,this.widgetName+".preventClickEvent")}this._mouseMoveDelegate=function(event){return self._mouseMove(event)};this._mouseUpDelegate=function(event){return self._mouseUp(event)};$(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);event.preventDefault();event.originalEvent.mouseHandled=true;return true},_mouseMove:function(event){if($.browser.msie&&!(document.documentMode>=9)&&!event.button){return this._mouseUp(event)}if(this._mouseStarted){this._mouseDrag(event);return event.preventDefault()}if(this._mouseDistanceMet(event)&&this._mouseDelayMet(event)){this._mouseStarted=(this._mouseStart(this._mouseDownEvent,event)!==false);(this._mouseStarted?this._mouseDrag(event):this._mouseUp(event))}return !this._mouseStarted},_mouseUp:function(event){$(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;if(event.target==this._mouseDownEvent.target){$.data(event.target,this.widgetName+".preventClickEvent",true)}this._mouseStop(event)}return false},_mouseDistanceMet:function(event){return(Math.max(Math.abs(this._mouseDownEvent.pageX-event.pageX),Math.abs(this._mouseDownEvent.pageY-event.pageY))>=this.options.distance)},_mouseDelayMet:function(event){return this.mouseDelayMet},_mouseStart:function(event){},_mouseDrag:function(event){},_mouseStop:function(event){},_mouseCapture:function(event){return true}})})(jQuery);(function($,undefined){$.ui=$.ui||{};var horizontalPositions=/left|center|right/,verticalPositions=/top|center|bottom/,center="center",_position=$.fn.position,_offset=$.fn.offset;$.fn.position=function(options){if(!options||!options.of){return _position.apply(this,arguments)}options=$.extend({},options);var target=$(options.of),targetElem=target[0],collision=(options.collision||"flip").split(" "),offset=options.offset?options.offset.split(" "):[0,0],targetWidth,targetHeight,basePosition;if(targetElem.nodeType===9){targetWidth=target.width();targetHeight=target.height();basePosition={top:0,left:0}}else{if(targetElem.setTimeout){targetWidth=target.width();targetHeight=target.height();basePosition={top:target.scrollTop(),left:target.scrollLeft()}}else{if(targetElem.preventDefault){options.at="left top";targetWidth=targetHeight=0;basePosition={top:options.of.pageY,left:options.of.pageX}}else{targetWidth=target.outerWidth();targetHeight=target.outerHeight();basePosition=target.offset()}}}$.each(["my","at"],function(){var pos=(options[this]||"").split(" ");if(pos.length===1){pos=horizontalPositions.test(pos[0])?pos.concat([center]):verticalPositions.test(pos[0])?[center].concat(pos):[center,center]}pos[0]=horizontalPositions.test(pos[0])?pos[0]:center;pos[1]=verticalPositions.test(pos[1])?pos[1]:center;options[this]=pos});if(collision.length===1){collision[1]=collision[0]}offset[0]=parseInt(offset[0],10)||0;if(offset.length===1){offset[1]=offset[0]}offset[1]=parseInt(offset[1],10)||0;if(options.at[0]==="right"){basePosition.left+=targetWidth}else{if(options.at[0]===center){basePosition.left+=targetWidth/2}}if(options.at[1]==="bottom"){basePosition.top+=targetHeight}else{if(options.at[1]===center){basePosition.top+=targetHeight/2}}basePosition.left+=offset[0];basePosition.top+=offset[1];return this.each(function(){var elem=$(this),elemWidth=elem.outerWidth(),elemHeight=elem.outerHeight(),marginLeft=parseInt($.curCSS(this,"marginLeft",true))||0,marginTop=parseInt($.curCSS(this,"marginTop",true))||0,collisionWidth=elemWidth+marginLeft+(parseInt($.curCSS(this,"marginRight",true))||0),collisionHeight=elemHeight+marginTop+(parseInt($.curCSS(this,"marginBottom",true))||0),position=$.extend({},basePosition),collisionPosition;if(options.my[0]==="right"){position.left-=elemWidth}else{if(options.my[0]===center){position.left-=elemWidth/2}}if(options.my[1]==="bottom"){position.top-=elemHeight}else{if(options.my[1]===center){position.top-=elemHeight/2}}position.left=Math.round(position.left);position.top=Math.round(position.top);collisionPosition={left:position.left-marginLeft,top:position.top-marginTop};$.each(["left","top"],function(i,dir){if($.ui.position[collision[i]]){$.ui.position[collision[i]][dir](position,{targetWidth:targetWidth,targetHeight:targetHeight,elemWidth:elemWidth,elemHeight:elemHeight,collisionPosition:collisionPosition,collisionWidth:collisionWidth,collisionHeight:collisionHeight,offset:offset,my:options.my,at:options.at})}});if($.fn.bgiframe){elem.bgiframe()}elem.offset($.extend(position,{using:options.using}))})};$.ui.position={fit:{left:function(position,data){var win=$(window),over=data.collisionPosition.left+data.collisionWidth-win.width()-win.scrollLeft();position.left=over>0?position.left-over:Math.max(position.left-data.collisionPosition.left,position.left)},top:function(position,data){var win=$(window),over=data.collisionPosition.top+data.collisionHeight-win.height()-win.scrollTop();position.top=over>0?position.top-over:Math.max(position.top-data.collisionPosition.top,position.top)}},flip:{left:function(position,data){if(data.at[0]===center){return }var win=$(window),over=data.collisionPosition.left+data.collisionWidth-win.width()-win.scrollLeft(),myOffset=data.my[0]==="left"?-data.elemWidth:data.my[0]==="right"?data.elemWidth:0,atOffset=data.at[0]==="left"?data.targetWidth:-data.targetWidth,offset=-2*data.offset[0];position.left+=data.collisionPosition.left<0?myOffset+atOffset+offset:over>0?myOffset+atOffset+offset:0},top:function(position,data){if(data.at[1]===center){return }var win=$(window),over=data.collisionPosition.top+data.collisionHeight-win.height()-win.scrollTop(),myOffset=data.my[1]==="top"?-data.elemHeight:data.my[1]==="bottom"?data.elemHeight:0,atOffset=data.at[1]==="top"?data.targetHeight:-data.targetHeight,offset=-2*data.offset[1];position.top+=data.collisionPosition.top<0?myOffset+atOffset+offset:over>0?myOffset+atOffset+offset:0}}};if(!$.offset.setOffset){$.offset.setOffset=function(elem,options){if(/static/.test($.curCSS(elem,"position"))){elem.style.position="relative"}var curElem=$(elem),curOffset=curElem.offset(),curTop=parseInt($.curCSS(elem,"top",true),10)||0,curLeft=parseInt($.curCSS(elem,"left",true),10)||0,props={top:(options.top-curOffset.top)+curTop,left:(options.left-curOffset.left)+curLeft};if("using" in options){options.using.call(elem,props)}else{curElem.css(props)}};$.fn.offset=function(options){var elem=this[0];if(!elem||!elem.ownerDocument){return null}if(options){return this.each(function(){$.offset.setOffset(this,options)})}return _offset.call(this)}}}(jQuery));/* - * Fluid Infusion v1.4 - * - * Infusion is distributed under the Educational Community License 2.0 and new BSD licenses: - * http://wiki.fluidproject.org/display/fluid/Fluid+Licensing - * - * For information on copyright, see the individual Infusion source code files: - * https://github.com/fluid-project/infusion/ - */ -var fluid_1_4=fluid_1_4||{};var fluid=fluid||fluid_1_4;(function($,fluid){fluid.version="Infusion 1.4";fluid.environment={fluid:fluid};var globalObject=window||{};var softFailure=[true];fluid.describeActivity=function(){return[]};fluid.fail=function(message){fluid.setLogging(true);fluid.log.apply(null,["ASSERTION FAILED: "].concat(fluid.makeArray(arguments)).concat(fluid.describeActivity()));if(softFailure[0]){throw new Error(message)}else{message.fail()}};fluid.pushSoftFailure=function(condition){if(typeof (condition)==="boolean"){softFailure.unshift(condition)}else{if(condition===-1){softFailure.shift()}}};fluid.notrycatch=false;fluid.tryCatch=function(tryfun,catchfun,finallyfun){finallyfun=finallyfun||fluid.identity;if(fluid.notrycatch){var togo=tryfun();finallyfun();return togo}else{try{return tryfun()}catch(e){if(catchfun){catchfun(e)}else{throw (e)}}finally{finallyfun()}}};fluid.expect=function(name,members,target){fluid.transform(fluid.makeArray(members),function(key){if(typeof target[key]==="undefined"){fluid.fail(name+" missing required parameter "+key)}})};var logging;fluid.isLogging=function(){return logging};fluid.setLogging=function(enabled){if(typeof enabled==="boolean"){logging=enabled}else{logging=false}};fluid.applyHostFunction=function(obj,func,args){if(func.apply){func.apply(obj,args)}else{var applier=Function.prototype.bind.call(func,obj);applier.apply(obj,args)}};fluid.log=function(message){if(logging){var arg0=fluid.renderTimestamp(new Date())+": ";var args=[arg0].concat(fluid.makeArray(arguments));var str=args.join("");if(typeof (console)!=="undefined"){if(console.debug){fluid.applyHostFunction(console,console.debug,args)}else{if(typeof (console.log)==="function"){fluid.applyHostFunction(console,console.log,args)}else{console.log(str)}}}else{if(typeof (YAHOO)!=="undefined"){YAHOO.log(str)}else{if(typeof (opera)!=="undefined"){opera.postError(str)}}}}};fluid.wrap=function(obj){return((!obj||obj.jquery)?obj:$(obj))};fluid.unwrap=function(obj){return obj&&obj.jquery&&obj.length===1?obj[0]:obj};fluid.identity=function(arg){return arg};fluid.isValue=function(value){return value!==undefined&&value!==null};fluid.isPrimitive=function(value){var valueType=typeof (value);return !value||valueType==="string"||valueType==="boolean"||valueType==="number"||valueType==="function"};fluid.isDOMNode=function(obj){return obj&&typeof (obj.nodeType)==="number"};fluid.isArrayable=function(totest){return totest&&!fluid.isPrimitive(totest)&&typeof (totest.length)==="number"};fluid.freshContainer=function(tocopy){return fluid.isArrayable(tocopy)?[]:{}};fluid.copy=function(tocopy){if(fluid.isPrimitive(tocopy)){return tocopy}return $.extend(true,fluid.freshContainer(tocopy),tocopy)};fluid.makeArray=function(arg){if(arg===null||arg===undefined){return[]}else{return $.makeArray(arg)}};function transformInternal(source,togo,key,args){var transit=source[key];for(var j=0;j=0;--i){if(extraArgs[i]&&extraArgs[i].transformOptions){return extraArgs[i].transformOptions}}};fluid.mergeComponentOptions=function(that,componentName,userOptions,localOptions){var defaults=fluid.defaults(componentName);var mergePolicy=$.extend({},fluid.rootMergePolicy,defaults?defaults.mergePolicy:{});var defaultGrades=defaults&&defaults.gradeNames;var mergeArgs;if(!defaultGrades){defaults=fluid.censorKeys(defaults,fluid.keys(fluid.lifecycleFunctions));mergeArgs=[mergePolicy,localOptions]}else{mergeArgs=[mergePolicy]}var extraArgs;if(fluid.expandComponentOptions){extraArgs=fluid.expandComponentOptions(defaults,userOptions,that)}else{extraArgs=[defaults,userOptions]}var transRec=fluid.lastTransformationRecord(extraArgs);if(transRec){extraArgs=fluid.transformOptions(extraArgs,transRec)}mergeArgs=mergeArgs.concat(extraArgs);that.options=fluid.merge.apply(null,mergeArgs)};fluid.COMPONENT_OPTIONS={type:"fluid.marker",value:"COMPONENT_OPTIONS"};fluid.emptySubcomponent=function(options){var that={};options=$.makeArray(options);var empty=function(){};for(var i=0;i1?"More than one ("+count+") container elements were":"No container element was")+" found for selector "+containerSpec)}if(!fluid.isDOMNode(container[0])){fluid.fail("fluid.container was supplied a non-jQueryable element")}return container};fluid.createDomBinder=function(container,selectors){var cache={},that={};function cacheKey(name,thisContainer){return fluid.allocateSimpleId(thisContainer)+"-"+name}function record(name,thisContainer,result){cache[cacheKey(name,thisContainer)]=result}that.locate=function(name,localContainer){var selector,thisContainer,togo;selector=selectors[name];thisContainer=localContainer?localContainer:container;if(!thisContainer){fluid.fail("DOM binder invoked for selector "+name+" without container")}if(!selector){return thisContainer}if(typeof (selector)==="function"){togo=$(selector.call(null,fluid.unwrap(thisContainer)))}else{togo=$(selector,thisContainer)}if(togo.get(0)===document){togo=[]}if(!togo.selector){togo.selector=selector;togo.context=thisContainer}togo.selectorName=name;record(name,thisContainer,togo);return togo};that.fastLocate=function(name,localContainer){var thisContainer=localContainer?localContainer:container;var key=cacheKey(name,thisContainer);var togo=cache[key];return togo?togo:that.locate(name,localContainer)};that.clear=function(){cache={}};that.refresh=function(names,localContainer){var thisContainer=localContainer?localContainer:container;if(typeof names==="string"){names=[names]}if(thisContainer.length===undefined){thisContainer=[thisContainer]}for(var i=0;i=0&¤tNode.depth1){node=node[0];multiple=true}if("input"!==node.nodeName.toLowerCase()||!/radio|checkbox/.test(node.type)){return newValue===undefined?$(node).val():$(node).val(newValue)}var name=node.name;if(name===undefined){fluid.fail("Cannot acquire value from node "+fluid.dumpEl(node)+" which does not have name attribute set")}var elements;if(multiple){elements=nodeIn}else{elements=document.getElementsByName(name);var scope=fluid.findForm(node);elements=$.grep(elements,function(element){if(element.name!==name){return false}return !scope||fluid.dom.isContainer(scope,element)})}if(newValue!==undefined){if(typeof (newValue)==="boolean"){newValue=(newValue?"true":"false")}$.each(elements,function(){this.checked=(newValue instanceof Array?$.inArray(this.value,newValue)!==-1:newValue===this.value)})}else{var checked=$.map(elements,function(element){return element.checked?element.value:null});return node.type==="radio"?checked[0]:checked}};fluid.applyChange=function(node,newValue,applier){node=fluid.unwrap(node);if(newValue===undefined){newValue=fluid.value(node)}if(node.nodeType===undefined&&node.length>0){node=node[0]}var root=fluid.findData(node,fluid.BINDING_ROOT_KEY);if(!root){fluid.fail("Bound data could not be discovered in any node above "+fluid.dumpEl(node))}var name=node.name;var fossil=root.fossils[name];if(!fossil){fluid.fail("No fossil discovered for name "+name+" in fossil record above "+fluid.dumpEl(node))}if(typeof (fossil.oldvalue)==="boolean"){newValue=newValue[0]?true:false}var EL=root.fossils[name].EL;if(applier){applier.fireChangeRequest({path:EL,value:newValue,source:node.id})}else{fluid.set(root.data,EL,newValue)}};fluid.pathUtil={};var getPathSegmentImpl=function(accept,path,i){var segment=null;if(accept){segment=""}var escaped=false;var limit=path.length;for(;i0){var ation=that.initiate();ation.fireChangeRequest(changeRequest,guardFireSpec);ation.commit()}else{if(!defeatGuards){var prevent=fireFromSpec("guards",guardFireSpec,[model,changeRequest,bareApplier],"listeners");if(prevent===false){return false}}var oldModel=model;if(!options.thin){oldModel={};fluid.model.copyModel(oldModel,model)}fluid.model.applyChangeRequest(model,changeRequest,options.resolverSetConfig);fireEvent("modelChanged",changeRequest.path,[model,oldModel,[changeRequest]])}};bindRequestChange(that);function fireAgglomerated(eventName,formName,changes,args,accpos){var fireSpec=makeFireSpec();for(var i=0;i=elements.length){sc_that.activeItemIndex=0}if(sc_that.activeItemIndex<0&&sc_that.activeItemIndex!==NO_SELECTION){sc_that.activeItemIndex=elements.length-1}if(sc_that.activeItemIndex>=0){fluid.focus(elements[sc_that.activeItemIndex])}};var prepareShift=function(selectionContext){var selElm=selectionContext.selectedElement();if(selElm){fluid.blur(selElm)}unselectElement(selectionContext.selectedElement(),selectionContext);if(selectionContext.activeItemIndex===NO_SELECTION){selectionContext.activeItemIndex=-1}};var focusNextElement=function(selectionContext){prepareShift(selectionContext);++selectionContext.activeItemIndex;reifyIndex(selectionContext)};var focusPreviousElement=function(selectionContext){prepareShift(selectionContext);--selectionContext.activeItemIndex;reifyIndex(selectionContext)};var arrowKeyHandler=function(selectionContext,keyMap,userHandlers){return function(evt){if(evt.which===keyMap.next){focusNextElement(selectionContext);evt.preventDefault()}else{if(evt.which===keyMap.previous){focusPreviousElement(selectionContext);evt.preventDefault()}}}};var getKeyMapForDirection=function(direction){var keyMap;if(direction===fluid.a11y.orientation.HORIZONTAL){keyMap=LEFT_RIGHT_KEYMAP}else{if(direction===fluid.a11y.orientation.VERTICAL){keyMap=UP_DOWN_KEYMAP}}return keyMap};var tabKeyHandler=function(selectionContext){return function(evt){if(evt.which!==$.ui.keyCode.TAB){return }cleanUpWhenLeavingContainer(selectionContext);if(evt.shiftKey){selectionContext.focusIsLeavingContainer=true}}};var containerFocusHandler=function(selectionContext){return function(evt){var shouldOrig=selectionContext.options.autoSelectFirstItem;var shouldSelect=typeof (shouldOrig)==="function"?shouldOrig():shouldOrig;if(selectionContext.focusIsLeavingContainer){shouldSelect=false}if(shouldSelect&&evt.target===selectionContext.container.get(0)){if(selectionContext.activeItemIndex===NO_SELECTION){selectionContext.activeItemIndex=0}fluid.focus(selectionContext.selectables[selectionContext.activeItemIndex])}return evt.stopPropagation()}};var containerBlurHandler=function(selectionContext){return function(evt){selectionContext.focusIsLeavingContainer=false;return evt.stopPropagation()}};var makeElementsSelectable=function(container,defaults,userOptions){var options=$.extend(true,{},defaults,userOptions);var keyMap=getKeyMapForDirection(options.direction);var selectableElements=options.selectableElements?options.selectableElements:container.find(options.selectableSelector);var that={container:container,activeItemIndex:NO_SELECTION,selectables:selectableElements,focusIsLeavingContainer:false,options:options};that.selectablesUpdated=function(focusedItem){if(typeof (that.options.selectablesTabindex)==="number"){that.selectables.fluid("tabindex",that.options.selectablesTabindex)}that.selectables.unbind("focus."+CONTEXT_KEY);that.selectables.unbind("blur."+CONTEXT_KEY);that.selectables.bind("focus."+CONTEXT_KEY,selectableFocusHandler(that));that.selectables.bind("blur."+CONTEXT_KEY,selectableBlurHandler(that));if(keyMap&&that.options.noBubbleListeners){that.selectables.unbind("keydown."+CONTEXT_KEY);that.selectables.bind("keydown."+CONTEXT_KEY,arrowKeyHandler(that,keyMap))}if(focusedItem){selectElement(focusedItem,that)}else{reifyIndex(that)}};that.refresh=function(){if(!that.options.selectableSelector){throw ("Cannot refresh selectable context which was not initialised by a selector")}that.selectables=container.find(options.selectableSelector);that.selectablesUpdated()};that.selectedElement=function(){return that.activeItemIndex<0?null:that.selectables[that.activeItemIndex]};if(keyMap&&!that.options.noBubbleListeners){container.keydown(arrowKeyHandler(that,keyMap))}container.keydown(tabKeyHandler(that));container.focus(containerFocusHandler(that));container.blur(containerBlurHandler(that));that.selectablesUpdated();return that};fluid.selectable=function(target,options){target=$(target);var that=makeElementsSelectable(target,fluid.selectable.defaults,options);fluid.setScopedData(target,CONTEXT_KEY,that);return that};fluid.selectable.select=function(target,toSelect){fluid.focus(toSelect)};fluid.selectable.selectNext=function(target){target=$(target);focusNextElement(fluid.getScopedData(target,CONTEXT_KEY))};fluid.selectable.selectPrevious=function(target){target=$(target);focusPreviousElement(fluid.getScopedData(target,CONTEXT_KEY))};fluid.selectable.currentSelection=function(target){target=$(target);var that=fluid.getScopedData(target,CONTEXT_KEY);return $(that.selectedElement())};fluid.selectable.defaults={direction:fluid.a11y.orientation.VERTICAL,selectablesTabindex:-1,autoSelectFirstItem:true,rememberSelectionState:true,selectableSelector:".selectable",selectableElements:null,onSelect:null,onUnselect:null,onLeaveContainer:null};var checkForModifier=function(binding,evt){if(!binding.modifier){return true}var modifierKey=binding.modifier;var isCtrlKeyPresent=modifierKey&&evt.ctrlKey;var isAltKeyPresent=modifierKey&&evt.altKey;var isShiftKeyPresent=modifierKey&&evt.shiftKey;return isCtrlKeyPresent||isAltKeyPresent||isShiftKeyPresent};var makeActivationHandler=function(binding){return function(evt){var target=evt.target;if(!fluid.enabled(evt.target)){return }var code=evt.which?evt.which:evt.keyCode;if(code===binding.key&&binding.activateHandler&&checkForModifier(binding,evt)){var event=$.Event("fluid-activate");$(evt.target).trigger(event,[binding.activateHandler]);if(event.isDefaultPrevented()){evt.preventDefault()}}}};var makeElementsActivatable=function(elements,onActivateHandler,defaultKeys,options){var bindings=[];$(defaultKeys).each(function(index,key){bindings.push({modifier:null,key:key,activateHandler:onActivateHandler})});if(options&&options.additionalBindings){bindings=bindings.concat(options.additionalBindings)}fluid.initEnablement(elements);for(var i=0;i
',liveRegionId:"fluid-ariaLabeller-liveRegion",invokers:{generateLiveElement:{funcName:"fluid.ariaLabeller.generateLiveElement",args:["{ariaLabeller}"]}}});fluid.ariaLabeller=function(element,options){var that=fluid.initView("fluid.ariaLabeller",element,options);fluid.initDependents(that);that.update=function(newOptions){newOptions=newOptions||that.options;that.container.attr(that.options.labelAttribute,newOptions.text);if(newOptions.dynamicLabel){var live=fluid.jById(that.options.liveRegionId);if(live.length===0){live=that.generateLiveElement()}live.text(newOptions.text)}};that.update();return that};fluid.ariaLabeller.generateLiveElement=function(that){var liveEl=$(that.options.liveRegionMarkup);liveEl.prop("id",that.options.liveRegionId);$("body").append(liveEl);return liveEl};var LABEL_KEY="aria-labelling";fluid.getAriaLabeller=function(element){element=$(element);var that=fluid.getScopedData(element,LABEL_KEY);return that};fluid.updateAriaLabel=function(element,text,options){options=$.extend({},options||{},{text:text});var that=fluid.getAriaLabeller(element);if(!that){that=fluid.ariaLabeller(element,options);fluid.setScopedData(element,LABEL_KEY,that)}else{that.update(options)}return that};fluid.deadMansBlur=function(control,options){var that=fluid.initLittleComponent("fluid.deadMansBlur",options);that.blurPending=false;that.lastCancel=0;$(control).bind("focusout",function(event){fluid.log("Starting blur timer for element "+fluid.dumpEl(event.target));var now=new Date().getTime();fluid.log("back delay: "+(now-that.lastCancel));if(now-that.lastCancel>that.options.backDelay){that.blurPending=true}setTimeout(function(){if(that.blurPending){that.options.handler(control)}},that.options.delay)});that.canceller=function(event){fluid.log("Cancellation through "+event.type+" on "+fluid.dumpEl(event.target));that.lastCancel=new Date().getTime();that.blurPending=false};fluid.each(that.options.exclusions,function(exclusion){exclusion=$(exclusion);fluid.each(exclusion,function(excludeEl){$(excludeEl).bind("focusin",that.canceller).bind("fluid-focus",that.canceller).click(that.canceller).mousedown(that.canceller)})});return that};fluid.defaults("fluid.deadMansBlur",{delay:150,backDelay:100})})(jQuery,fluid_1_4);var fluid_1_4=fluid_1_4||{};(function($,fluid){var inCreationMarker="__CURRENTLY_IN_CREATION__";fluid.isFireBreak=function(component){return component.options&&component.options["fluid.visitComponents.fireBreak"]};fluid.visitComponentChildren=function(that,visitor,options,up,down){options=options||{};for(var name in that){var component=that[name];if(!component||!component.typeName||(component.id&&options.visited&&options.visited[component.id])){continue}if(options.visited){options.visited[component.id]=true}if(visitor(component,name,options,up,down)){return true}if(!fluid.isFireBreak(component)&&!options.flat){fluid.visitComponentChildren(component,visitor,options,up,down+1)}}};var visitComponents=function(thatStack,visitor,options){options=options||{visited:{},flat:true};var up=0;for(var i=thatStack.length-1;i>=0;--i){var that=thatStack[i];if(fluid.isFireBreak(that)){return }if(that.typeName){options.visited[that.id]=true;if(visitor(that,"",options,0,0)){return }}if(fluid.visitComponentChildren(that,visitor,options,up,1)){return }++up}};function makeGingerStrategy(instantiator,that,thatStack){return function(component,thisSeg){var atval=component[thisSeg];if(atval===undefined){var parentPath=instantiator.idToPath[component.id];atval=instantiator.pathToComponent[fluid.composePath(parentPath,thisSeg)];if(atval){atval[inCreationMarker]=true}}if(atval!==undefined){if(atval[inCreationMarker]){fluid.fail("Component "+fluid.dumpThat(atval)+' at path "'+thisSeg+'" of parent '+fluid.dumpThat(component)+" cannot be used for lookup since it is still in creation. Please reorganise your dependencies so that they no longer contain circular references")}}else{if(fluid.get(component,fluid.path("options","components",thisSeg,"type"))){fluid.initDependent(component,thisSeg);atval=component[thisSeg]}}return atval}}fluid.dumpThat=function(that,instantiator){return'{ typeName: "'+that.typeName+'" id: '+that.id+"}"};fluid.dumpThatStack=function(thatStack,instantiator){var togo=fluid.transform(thatStack,function(that){var path=instantiator.idToPath[that.id];return fluid.dumpThat(that)+(path?(" - path: "+path):"")});return togo.join("\n")};fluid.describeActivity=function(){return fluid.threadLocal().activityStack||[]};fluid.pushActivity=function(func,message){if(!message){return func()}var root=fluid.threadLocal();if(!root.activityStack){root.activityStack=[]}var frames=fluid.makeArray(message);frames.push("\n");frames.unshift("\n");root.activityStack=frames.concat(root.activityStack);return fluid.tryCatch(func,null,function(){root.activityStack=root.activityStack.slice(frames.length)})};fluid.wrapActivity=function(func,messageSpec){return function(){var args=fluid.makeArray(arguments);var message=fluid.transform(fluid.makeArray(messageSpec),function(specEl){if(specEl.indexOf("arguments.")===0){var el=specEl.substring("arguments.".length);return fluid.get(args,el)}else{return specEl}});return fluid.pushActivity(function(){return func.apply(null,args)},message)}};var localRecordExpected=/arguments|options|container/;function makeStackFetcher(instantiator,parentThat,localRecord,expandOptions){expandOptions=expandOptions||{};var thatStack=instantiator.getFullStack(parentThat);var fetchStrategies=[fluid.model.funcResolverStrategy,makeGingerStrategy(instantiator,parentThat,thatStack)];var fetcher=function(parsed){var context=parsed.context;if(localRecord&&localRecordExpected.test(context)){var fetched=fluid.get(localRecord[context],parsed.path);return(context==="arguments"||expandOptions.direct)?fetched:{marker:context==="options"?fluid.EXPAND:fluid.EXPAND_NOW,value:fetched}}var foundComponent;visitComponents(thatStack,function(component,name,options,up,down){if(context===name||context===component.typeName||context===component.nickName){foundComponent=component;if(down>1){fluid.log("***WARNING: value resolution for context "+context+" found at depth "+down+": this may not be supported in future")}return true}if(fluid.get(component,fluid.path("options","components",context,"type"))&&!component[context]){foundComponent=fluid.get(component,context,{strategies:fetchStrategies});return true}});if(!foundComponent&&parsed.path!==""){var ref=fluid.renderContextReference(parsed);fluid.log("Failed to resolve reference "+ref+": thatStack contains\n"+fluid.dumpThatStack(thatStack,instantiator));fluid.fail("Failed to resolve reference "+ref+" - could not match context with name "+context+" from component root of type "+thatStack[0].typeName,"\ninstantiator contents: ",instantiator)}return fluid.get(foundComponent,parsed.path,fetchStrategies)};return fetcher}function makeStackResolverOptions(instantiator,parentThat,localRecord,expandOptions){return $.extend({},fluid.defaults("fluid.resolveEnvironment"),{fetcher:makeStackFetcher(instantiator,parentThat,localRecord,expandOptions)})}fluid.instantiator=function(freeInstantiator){var preThat={options:{"fluid.visitComponents.fireBreak":true},idToPath:{},pathToComponent:{},stackCount:0,nickName:"instantiator"};var that=fluid.typeTag("fluid.instantiator");that=$.extend(that,preThat);that.stack=function(count){return that.stackCount+=count};that.getThatStack=function(component){var path=that.idToPath[component.id]||"";var parsed=fluid.model.parseEL(path);var togo=fluid.transform(parsed,function(value,i){var parentPath=fluid.model.composeSegments.apply(null,parsed.slice(0,i+1));return that.pathToComponent[parentPath]});var root=that.pathToComponent[""];if(root){togo.unshift(root)}return togo};that.getEnvironmentalStack=function(){var togo=[fluid.staticEnvironment];if(!freeInstantiator){togo.push(fluid.threadLocal())}return togo};that.getFullStack=function(component){var thatStack=component?that.getThatStack(component):[];return that.getEnvironmentalStack().concat(thatStack)};function recordComponent(component,path){that.idToPath[component.id]=path;if(that.pathToComponent[path]){fluid.fail("Error during instantiation - path "+path+" which has just created component "+fluid.dumpThat(component)+" has already been used for component "+fluid.dumpThat(that.pathToComponent[path])+" - this is a circular instantiation or other oversight. Please clear the component using instantiator.clearComponent() before reusing the path.")}that.pathToComponent[path]=component}that.recordRoot=function(component){if(component&&component.id&&!that.pathToComponent[""]){recordComponent(component,"")}};that.pushUpcomingInstantiation=function(parent,name){that.expectedParent=parent;that.expectedName=name};that.recordComponent=function(component){if(that.expectedName){that.recordKnownComponent(that.expectedParent,component,that.expectedName);delete that.expectedName;delete that.expectedParent}else{that.recordRoot(component)}};that.clearComponent=function(component,name,child,options,noModTree){options=options||{visited:{},flat:true};child=child||component[name];fluid.visitComponentChildren(child,function(gchild,gchildname){that.clearComponent(child,gchildname,null,options,noModTree)},options);var path=that.idToPath[child.id];delete that.idToPath[child.id];delete that.pathToComponent[path];if(!noModTree){delete component[name]}};that.recordKnownComponent=function(parent,component,name){var parentPath=that.idToPath[parent.id]||"";var path=fluid.model.composePath(parentPath,name);recordComponent(component,path)};return that};fluid.freeInstantiator=fluid.instantiator(true);fluid.argMapToDemands=function(argMap){var togo=[];fluid.each(argMap,function(value,key){togo[value]="{"+key+"}"});return togo};fluid.makePassArgsSpec=function(initArgs){return fluid.transform(initArgs,function(arg,index){return"{arguments}."+index})};function mergeToMergeAll(options){if(options&&options.mergeOptions){options.mergeAllOptions=["{options}"].concat(fluid.makeArray(options.mergeOptions))}}function upgradeMergeOptions(demandspec){mergeToMergeAll(demandspec);if(demandspec.mergeAllOptions){if(demandspec.options){fluid.fail("demandspec ",demandspec," is invalid - cannot specify literal options together with mergeOptions or mergeAllOptions")}demandspec.options={mergeAllOptions:demandspec.mergeAllOptions}}if(demandspec.options){delete demandspec.options.mergeOptions}}fluid.embodyDemands=function(instantiator,parentThat,demandspec,initArgs,options){options=options||{};upgradeMergeOptions(demandspec);var oldOptions=fluid.get(options,"componentRecord.options");options.componentRecord=$.extend(true,{},options.componentRecord,fluid.censorKeys(demandspec,["args","funcName","registeredFrom"]));var mergeAllZero=fluid.get(options,"componentRecord.options.mergeAllOptions.0");if(mergeAllZero==="{options}"){fluid.set(options,"componentRecord.options.mergeAllOptions.0",oldOptions)}var demands=$.makeArray(demandspec.args);var upDefaults=fluid.defaults(demandspec.funcName);var argMap=upDefaults?upDefaults.argumentMap:null;var inferMap=false;if(!argMap&&(upDefaults||(options&&options.componentRecord))&&!options.passArgs){inferMap=true;if(demands.length<2){argMap=fluid.rawDefaults("fluid.littleComponent").argumentMap}else{argMap={options:demands.length-1}}}options=options||{};if(demands.length===0){if(options.componentRecord&&argMap){demands=fluid.argMapToDemands(argMap)}else{if(options.passArgs){demands=fluid.makePassArgsSpec(initArgs)}}}var localRecord=$.extend({arguments:initArgs},fluid.censorKeys(options.componentRecord,["type"]));fluid.each(argMap,function(index,name){if(initArgs.length>0){localRecord[name]=localRecord.arguments[index]}if(demandspec[name]!==undefined&&localRecord[name]===undefined){localRecord[name]=demandspec[name]}});mergeToMergeAll(localRecord.options);mergeToMergeAll(argMap&&demands[argMap.options]);var upstreamLocalRecord=$.extend({},localRecord);if(options.componentRecord.options!==undefined){upstreamLocalRecord.options=options.componentRecord.options}var expandOptions=makeStackResolverOptions(instantiator,parentThat,localRecord);var args=[];if(demands){for(var i=0;i",iB);if(iE==-1){return fluid.XMLP._setErr(that,fluid.XMLP.ERR_CLOSE_CDATA)}fluid.XMLP._setContent(that,fluid.XMLP._CONT_XML,iB,iE);that.m_iP=iE+3;return fluid.XMLP._CDATA};fluid.XMLP._parseComment=function(that,iB){var iE=that.m_xml.indexOf("-->",iB);if(iE==-1){return fluid.XMLP._setErr(that,fluid.XMLP.ERR_CLOSE_COMMENT)}fluid.XMLP._setContent(that,fluid.XMLP._CONT_XML,iB-4,iE+3);that.m_iP=iE+3;return fluid.XMLP._COMMENT};fluid.XMLP._parseDTD=function(that,iB){var iE,strClose,iInt,iLast;iE=that.m_xml.indexOf(">",iB);if(iE==-1){return fluid.XMLP._setErr(that,fluid.XMLP.ERR_CLOSE_DTD)}iInt=that.m_xml.indexOf("[",iB);strClose=((iInt!=-1)&&(iInt":">";while(true){if(iE==iLast){return fluid.XMLP._setErr(that,fluid.XMLP.ERR_INFINITELOOP)}iLast=iE;iE=that.m_xml.indexOf(strClose,iB);if(iE==-1){return fluid.XMLP._setErr(that,fluid.XMLP.ERR_CLOSE_DTD)}if(that.m_xml.substring(iE-1,iE+2)!="]]>"){break}}that.m_iP=iE+strClose.length;return fluid.XMLP._DTD};fluid.XMLP._parsePI=function(that,iB){var iE,iTB,iTE,iCB,iCE;iE=that.m_xml.indexOf("?>",iB);if(iE==-1){return fluid.XMLP._setErr(that,fluid.XMLP.ERR_CLOSE_PI)}iTB=fluid.SAXStrings.indexOfNonWhitespace(that.m_xml,iB,iE);if(iTB==-1){return fluid.XMLP._setErr(that,fluid.XMLP.ERR_PI_TARGET)}iTE=fluid.SAXStrings.indexOfWhitespace(that.m_xml,iTB,iE);if(iTE==-1){iTE=iE}iCB=fluid.SAXStrings.indexOfNonWhitespace(that.m_xml,iTE,iE);if(iCB==-1){iCB=iE}iCE=fluid.SAXStrings.lastIndexOfNonWhitespace(that.m_xml,iCB,iE);if(iCE==-1){iCE=iE-1}that.m_name=that.m_xml.substring(iTB,iTE);fluid.XMLP._setContent(that,fluid.XMLP._CONT_XML,iCB,iCE+1);that.m_iP=iE+2;return fluid.XMLP._PI};fluid.XMLP._parseText=function(that,iB){var iE=that.m_xml.indexOf("<",iB);if(iE==-1){iE=that.m_xml.length}fluid.XMLP._setContent(that,fluid.XMLP._CONT_XML,iB,iE);that.m_iP=iE;return fluid.XMLP._TEXT};fluid.XMLP._setContent=function(that,iSrc){var args=arguments;if(fluid.XMLP._CONT_XML==iSrc){that.m_cAlt=null;that.m_cB=args[2];that.m_cE=args[3]}else{that.m_cAlt=args[2];that.m_cB=0;that.m_cE=args[2].length}that.m_cSrc=iSrc};fluid.XMLP._setErr=function(that,iErr){var strErr=fluid.XMLP._errs[iErr];that.m_cAlt=strErr;that.m_cB=0;that.m_cE=strErr.length;that.m_cSrc=fluid.XMLP._CONT_ALT;return fluid.XMLP._ERROR};fluid.XMLP._parseElement=function(that,iB){var iE,iDE,iRet;var iType,strN,iLast;iDE=iE=that.m_xml.indexOf(">",iB);if(iE==-1){return that._setErr(that,fluid.XMLP.ERR_CLOSE_ELM)}if(that.m_xml.charAt(iB)=="/"){iType=fluid.XMLP._ELM_E;iB++}else{iType=fluid.XMLP._ELM_B}if(that.m_xml.charAt(iE-1)=="/"){if(iType==fluid.XMLP._ELM_E){return fluid.XMLP._setErr(that,fluid.XMLP.ERR_ELM_EMPTY)}iType=fluid.XMLP._ELM_EMP;iDE--}that.nameRegex.lastIndex=iB;var nameMatch=that.nameRegex.exec(that.m_xml);if(!nameMatch){return fluid.XMLP._setErr(that,fluid.XMLP.ERR_ELM_NAME)}strN=nameMatch[1].toLowerCase();if("li"===strN&&iType!==fluid.XMLP._ELM_E&&that.m_stack.length>0&&that.m_stack[that.m_stack.length-1]==="li"&&!that.m_emitSynthetic){that.m_name="li";that.m_emitSynthetic=true;return fluid.XMLP._ELM_E}that.m_attributes={};that.m_cAlt="";if(that.nameRegex.lastIndex]+)/g;that.attrStartRegex=/\s*([\w:_][\w:_\-\.]*)/gm;that.attrValRegex=/\"([^\"]*)\"\s*/gm;that.attrValIERegex=/([^\>\s]+)\s*/gm;that.closeRegex=/\s*<\//g;return that};fluid.SAXStrings={};fluid.SAXStrings.WHITESPACE=" \t\n\r";fluid.SAXStrings.QUOTES="\"'";fluid.SAXStrings.getColumnNumber=function(strD,iP){if(!strD){return -1}iP=iP||strD.length;var arrD=strD.substring(0,iP).split("\n");arrD.length--;var iLinePos=arrD.join("\n").length;return iP-iLinePos};fluid.SAXStrings.getLineNumber=function(strD,iP){if(!strD){return -1}iP=iP||strD.length;return strD.substring(0,iP).split("\n").length};fluid.SAXStrings.indexOfNonWhitespace=function(strD,iB,iE){if(!strD){return -1}iB=iB||0;iE=iE||strD.length;for(var i=iB;i=iB;i--){if(fluid.SAXStrings.WHITESPACE.indexOf(strD.charAt(i))==-1){return i}}return -1};fluid.SAXStrings.replace=function(strD,iB,iE,strF,strR){if(!strD){return""}iB=iB||0;iE=iE||strD.length;return strD.substring(iB,iE).split(strF).join(strR)}})(jQuery,fluid_1_4);fluid_1_4=fluid_1_4||{};(function($,fluid){fluid.parseTemplate=function(template,baseURL,scanStart,cutpoints_in,opts){opts=opts||{};if(!template){fluid.fail("empty template supplied to fluid.parseTemplate")}var t;var parser;var tagstack;var lumpindex=0;var nestingdepth=0;var justended=false;var defstart=-1;var defend=-1;var debugMode=false;var cutpoints=[];var simpleClassCutpoints={};var cutstatus=[];var XMLLump=function(lumpindex,nestingdepth){return{nestingdepth:nestingdepth,lumpindex:lumpindex,parent:t}};function isSimpleClassCutpoint(tree){return tree.length===1&&tree[0].predList.length===1&&tree[0].predList[0].clazz}function init(baseURLin,debugModeIn,cutpointsIn){t.rootlump=XMLLump(0,-1);tagstack=[t.rootlump];lumpindex=0;nestingdepth=0;justended=false;defstart=-1;defend=-1;baseURL=baseURLin;debugMode=debugModeIn;if(cutpointsIn){for(var i=0;i=0;--i){var lump=tagstack[i];if(lump.rsfID!==undefined){return lump}}return t.rootlump}function newLump(){var togo=XMLLump(lumpindex,nestingdepth);if(debugMode){togo.line=parser.getLineNumber();togo.column=parser.getColumnNumber()}t.lumps[lumpindex]=togo;++lumpindex;return togo}function addLump(mmap,ID,lump){var list=mmap[ID];if(!list){list=[];mmap[ID]=list}list[list.length]=lump}function checkContribute(ID,lump){if(ID.indexOf("scr=contribute-")!==-1){var scr=ID.substring("scr=contribute-".length);addLump(t.collectmap,scr,lump)}}function debugLump(lump){return"<"+lump.tagname+">"}function hasCssClass(clazz,totest){if(!totest){return false}return(" "+totest+" ").indexOf(" "+clazz+" ")!==-1}function matchNode(term,headlump,headclazz){if(term.predList){for(var i=0;i0){if(cut.tree[nextterm-1].child&&cutstat[nextterm-1]!==headlump.nestingdepth-1){continue}}var isMatch=matchNode(term,headlump,headclazz);if(isMatch){cutstat[cutstat.length]=headlump.nestingdepth;if(cutstat.length===cut.tree.length){if(togo!==undefined){fluid.fail("Cutpoint specification error - node "+debugLump(headlump)+" has already matched with rsf:id of "+togo)}if(cut.id===undefined||cut.id===null){fluid.fail("Error in cutpoints list - entry at position "+i+" does not have an id set")}togo=cut.id}}}}return togo}function tagEndCut(){if(cutpoints){for(var i=0;i0&&cutstat[cutstat.length-1]===nestingdepth){cutstat.length--}}}}function processTagEnd(){tagEndCut();var endlump=newLump();--nestingdepth;endlump.text="";var oldtop=tagstack[tagstack.length-1];oldtop.close_tag=t.lumps[lumpindex-1];tagstack.length--;justended=true}function processTagStart(isempty,text){++nestingdepth;if(justended){justended=false;var backlump=newLump();backlump.nestingdepth--}if(t.firstdocumentindex===-1){t.firstdocumentindex=lumpindex}var headlump=newLump();var stacktop=tagstack[tagstack.length-1];headlump.uplump=stacktop;var tagname=parser.getName();headlump.tagname=tagname;var attrs=headlump.attributemap=parser.m_attributes;var ID=attrs[fluid.ID_ATTRIBUTE];if(ID===undefined){ID=tagStartCut(headlump)}for(var attrname in attrs){if(ID===undefined){if(/href|src|codebase|action/.test(attrname)){ID="scr=rewrite-url"}else{if(ID===undefined&&/for|headers/.test(attrname)){ID="scr=null"}}}}if(ID){if(ID.charCodeAt(0)===126){ID=ID.substring(1);headlump.elide=true}checkContribute(ID,headlump);headlump.rsfID=ID;var downreg=findTopContainer();if(!downreg.downmap){downreg.downmap={}}while(downreg){if(downreg.downmap){addLump(downreg.downmap,ID,headlump)}downreg=downreg.uplump}addLump(t.globalmap,ID,headlump);var colpos=ID.indexOf(":");if(colpos!==-1){var prefix=ID.substring(0,colpos);if(!stacktop.finallump){stacktop.finallump={}}stacktop.finallump[prefix]=headlump}}headlump.text="<"+tagname+fluid.dumpAttributes(attrs)+(isempty&&!ID?"/>":">");tagstack[tagstack.length]=headlump;if(isempty){if(ID){processTagEnd()}else{--nestingdepth;tagstack.length--}}}function processDefaultTag(){if(defstart!==-1){if(t.firstdocumentindex===-1){t.firstdocumentindex=lumpindex}var text=parser.getContent().substr(defstart,defend-defstart);justended=false;var newlump=newLump();newlump.text=text;defstart=-1}}t=fluid.XMLViewTemplate();init(baseURL,opts.debugMode,cutpoints_in);var idpos=template.indexOf(fluid.ID_ATTRIBUTE);if(scanStart){var brackpos=template.indexOf(">",idpos);parser=fluid.XMLP(template.substring(brackpos+1))}else{parser=fluid.XMLP(template)}parseloop:while(true){var iEvent=parser.next();switch(iEvent){case fluid.XMLP._ELM_B:processDefaultTag();processTagStart(false,"");break;case fluid.XMLP._ELM_E:processDefaultTag();processTagEnd();break;case fluid.XMLP._ELM_EMP:processDefaultTag();processTagStart(true,"");break;case fluid.XMLP._PI:case fluid.XMLP._DTD:defstart=-1;continue;case fluid.XMLP._TEXT:case fluid.XMLP._ENTITY:case fluid.XMLP._CDATA:case fluid.XMLP._COMMENT:if(defstart===-1){defstart=parser.m_cB}defend=parser.m_cE;break;case fluid.XMLP._ERROR:fluid.setLogging(true);var message="Error parsing template: "+parser.m_cAlt+" at line "+parser.getLineNumber();fluid.log(message);fluid.log("Just read: "+parser.m_xml.substring(parser.m_iP-30,parser.m_iP));fluid.log("Still to read: "+parser.m_xml.substring(parser.m_iP,parser.m_iP+30));fluid.fail(message);break parseloop;case fluid.XMLP._NONE:break parseloop}}processDefaultTag();var excess=tagstack.length-1;if(excess){fluid.fail("Error parsing template - unclosed tag(s) of depth "+(excess)+": "+fluid.transform(tagstack.splice(1,excess),function(lump){return debugLump(lump)}).join(", "))}return t};fluid.debugLump=function(lump){var togo=lump.text;togo+=" at ";togo+="lump line "+lump.line+" column "+lump.column+" index "+lump.lumpindex;togo+=lump.parent.href===null?"":" in file "+lump.parent.href;return togo};fluid.ID_ATTRIBUTE="rsf:id";fluid.getPrefix=function(id){var colpos=id.indexOf(":");return colpos===-1?id:id.substring(0,colpos)};fluid.SplitID=function(id){var that={};var colpos=id.indexOf(":");if(colpos===-1){that.prefix=id}else{that.prefix=id.substring(0,colpos);that.suffix=id.substring(colpos+1)}return that};fluid.XMLViewTemplate=function(){return{globalmap:{},collectmap:{},lumps:[],firstdocumentindex:-1}};fluid.XMLEncode=function(text){return text.replace(/&/g,"&").replace(//g,">").replace(/\"/g,""")};fluid.dumpAttributes=function(attrcopy){var togo="";for(var attrname in attrcopy){var attrvalue=attrcopy[attrname];if(attrvalue!==null&&attrvalue!==undefined){togo+=" "+attrname+'="'+attrvalue+'"'}}return togo};fluid.aggregateMMap=function(target,source){for(var key in source){var targhas=target[key];if(!targhas){target[key]=[]}target[key]=target[key].concat(source[key])}};fluid.parseTemplates=function(resourceSpec,templateList,opts){var togo=[];opts=opts||{};togo.globalmap={};for(var i=0;i)?\\s*","g");fluid.parseSelector=function(selstring){var togo=[];selstring=$.trim(selstring);quickClass.lastIndex=0;var lastIndex=0;while(true){var atNode=[];while(true){var segMatch=quickClass.exec(selstring);if(!segMatch||segMatch.index!==lastIndex){break}var thisNode={};var text=segMatch[2];if(segMatch[1]===""){thisNode.tag=text}else{if(segMatch[1]==="#"){thisNode.id=text}else{if(segMatch[1]==="."){thisNode.clazz=text}}}atNode[atNode.length]=thisNode;lastIndex=quickClass.lastIndex}childSeg.lastIndex=lastIndex;var fullAtNode={predList:atNode};var childMatch=childSeg.exec(selstring);if(!childMatch||childMatch.index!==lastIndex){var remainder=selstring.substring(lastIndex);fluid.fail("Error in selector string - can not match child selector expression at "+remainder)}if(childMatch[1]===">"){fullAtNode.child=true}togo[togo.length]=fullAtNode;if(childSeg.lastIndex>=selstring.length){break}lastIndex=childSeg.lastIndex;quickClass.lastIndex=childSeg.lastIndex}return togo}})(jQuery,fluid_1_4);fluid_1_4=fluid_1_4||{};(function($,fluid){function debugPosition(component){return"as child of "+(component.parent.fullID?"component with full ID "+component.parent.fullID:"root")}function computeFullID(component){var togo="";var move=component;if(component.children===undefined){togo=component.ID+(component.localID!==undefined?component.localID:"");move=component.parent}while(move.parent){var parent=move.parent;if(move.fullID!==undefined){togo=move.fullID+togo;return togo}if(move.noID===undefined){var ID=move.ID;if(ID===undefined){fluid.fail("Error in component tree - component found with no ID "+debugPosition(parent)+": please check structure")}var colpos=ID.indexOf(":");var prefix=colpos===-1?ID:ID.substring(0,colpos);togo=prefix+":"+(move.localID===undefined?"":move.localID)+":"+togo}move=parent}return togo}var renderer={};renderer.isBoundPrimitive=function(value){return fluid.isPrimitive(value)||value instanceof Array&&(value.length===0||typeof (value[0])==="string")};var unzipComponent;function processChild(value,key){if(renderer.isBoundPrimitive(value)){return{componentType:"UIBound",value:value,ID:key}}else{var unzip=unzipComponent(value);if(unzip.ID){return{ID:key,componentType:"UIContainer",children:[unzip]}}else{unzip.ID=key;return unzip}}}function fixChildren(children){if(!(children instanceof Array)){var togo=[];for(var key in children){var value=children[key];if(value instanceof Array){for(var i=0;ibasedepth+(closeparent?0:1)){fluid.log("Error in component tree - leaf component found to contain further components - at "+lump.toString())}else{break}}++renderindex}if(!closeparent&&(renderindex===lumps.length||!lumps[renderindex].rsfID)){--renderindex}dumpTillLump(lumps,start,renderindex);return renderindex}function isPlaceholder(value){return false}function isValue(value){return value!==null&&value!==undefined&&!isPlaceholder(value)}var trc={};function openTag(){if(!trc.iselide){out+="<"+trc.uselump.tagname}}function closeTag(){if(!trc.iselide){out+=""}}function renderUnchanged(){dumpTillLump(trc.uselump.parent.lumps,trc.uselump.lumpindex+1,trc.close.lumpindex+(trc.iselide?0:1))}function isSelfClose(){return trc.endopen.lumpindex===trc.close.lumpindex&&fluid.XMLP.closedTags[trc.uselump.tagname]}function dumpTemplateBody(){if(isSelfClose()){if(!trc.iselide){out+="/>"}}else{if(!trc.iselide){out+=">"}dumpTillLump(trc.uselump.parent.lumps,trc.endopen.lumpindex,trc.close.lumpindex+(trc.iselide?0:1))}}function replaceAttributes(){if(!trc.iselide){out+=fluid.dumpAttributes(trc.attrcopy)}dumpTemplateBody()}function replaceAttributesOpen(){if(trc.iselide){replaceAttributes()}else{out+=fluid.dumpAttributes(trc.attrcopy);var selfClose=isSelfClose();out+=selfClose?"/>":">";trc.nextpos=selfClose?trc.close.lumpindex+1:trc.endopen.lumpindex}}function replaceBody(value){out+=fluid.dumpAttributes(trc.attrcopy);if(!trc.iselide){out+=">"}out+=fluid.XMLEncode(value.toString());closeTag()}function rewriteLeaf(value){if(isValue(value)){replaceBody(value)}else{replaceAttributes()}}function rewriteLeafOpen(value){if(trc.iselide){rewriteLeaf(trc.value)}else{if(isValue(value)){replaceBody(value)}else{replaceAttributesOpen()}}}function rewriteUrl(template,url){if(renderOptions.urlRewriter){var rewritten=renderOptions.urlRewriter(url);if(rewritten){return rewritten}}if(!renderOptions.rebaseURLs){return url}var protpos=url.indexOf(":/");if(url.charAt(0)==="/"||protpos!==-1&&protpos<7){return url}else{return renderOptions.baseURL+url}}function dumpHiddenField(todump){out+='\n"}var outDecoratorsImpl;function applyAutoBind(torender,finalID){if(!finalID){return }var tagname=trc.uselump.tagname;var applier=renderOptions.applier;function applyFunc(){fluid.applyChange(fluid.byId(finalID),undefined,applier)}if(renderOptions.autoBind&&/input|select|textarea/.test(tagname)&&!renderedbindings[finalID]){var decorators=[{jQuery:["change",applyFunc]}];if($.browser.msie&&tagname==="input"&&/radio|checkbox/.test(trc.attrcopy.type)){decorators.push({jQuery:["click",applyFunc]})}if($.browser.safari&&tagname==="input"&&trc.attrcopy.type==="radio"){decorators.push({jQuery:["keyup",applyFunc]})}outDecoratorsImpl(torender,decorators,trc.attrcopy,finalID)}}function dumpBoundFields(torender,parent){if(torender){var holder=parent?parent:torender;if(directFossils&&holder.valuebinding){var fossilKey=holder.submittingname||torender.finalID;directFossils[fossilKey]={name:fossilKey,EL:holder.valuebinding,oldvalue:holder.value};applyAutoBind(torender,torender.finalID)}if(torender.fossilizedbinding){dumpHiddenField(torender.fossilizedbinding)}if(torender.fossilizedshaper){dumpHiddenField(torender.fossilizedshaper)}}}function dumpSelectionBindings(uiselect){if(!renderedbindings[uiselect.selection.fullID]){renderedbindings[uiselect.selection.fullID]=true;dumpBoundFields(uiselect.selection);dumpBoundFields(uiselect.optionlist);dumpBoundFields(uiselect.optionnames)}}function isSelectedValue(torender,value){var selection=torender.selection;return selection.value&&typeof (selection.value)!=="string"&&typeof (selection.value.length)==="number"?$.inArray(value,selection.value,value)!==-1:selection.value===value}function getRelativeComponent(component,relativeID){component=component.parent;while(relativeID.indexOf("..::")===0){relativeID=relativeID.substring(4);component=component.parent}return component.childmap[relativeID]}function adjustForID(attrcopy,component,late,forceID){if(!late){delete attrcopy["rsf:id"]}if(component.finalID!==undefined){attrcopy.id=component.finalID}else{if(forceID!==undefined){attrcopy.id=forceID}else{if(attrcopy.id||late){attrcopy.id=component.fullID}}}var count=1;var baseid=attrcopy.id;while(renderOptions.document.getElementById(attrcopy.id)||usedIDs[attrcopy.id]){attrcopy.id=baseid+"-"+(count++)}component.finalID=attrcopy.id;return attrcopy.id}function assignSubmittingName(attrcopy,component,parent){var submitting=parent||component;adjustForID(attrcopy,component,true,component.fullID);if(submitting.submittingname===undefined&&submitting.willinput!==false){submitting.submittingname=submitting.finalID||submitting.fullID}return submitting.submittingname}function explodeDecorators(decorators){var togo=[];if(decorators.type){togo[0]=decorators}else{for(var key in decorators){if(key==="$"){key="jQuery"}var value=decorators[key];var decorator={type:key};if(key==="jQuery"){decorator.func=value[0];decorator.args=value.slice(1)}else{if(key==="addClass"||key==="removeClass"){decorator.classes=value}else{if(key==="attrs"){decorator.attributes=value}else{if(key==="identify"){decorator.key=value}}}}togo[togo.length]=decorator}}return togo}outDecoratorsImpl=function(torender,decorators,attrcopy,finalID){renderOptions.idMap=renderOptions.idMap||{};for(var i=0;i"}function resolveArgs(args){if(!args){return args}return fluid.transform(args,function(arg,index){upgradeBound(args,index,renderOptions.model,renderOptions.resolverGetConfig);return args[index].value})}function degradeMessage(torender){if(torender.componentType==="UIMessage"){torender.componentType="UIBound";if(!renderOptions.messageLocator){torender.value="[No messageLocator is configured in options - please consult documentation on options.messageSource]"}else{upgradeBound(torender,"messagekey",renderOptions.model,renderOptions.resolverGetConfig);var resArgs=resolveArgs(torender.args);torender.value=renderOptions.messageLocator(torender.messagekey.value,resArgs)}}}function renderComponent(torender){var attrcopy=trc.attrcopy;degradeMessage(torender);var componentType=torender.componentType;var tagname=trc.uselump.tagname;outDecorators(torender,attrcopy);function makeFail(torender,end){fluid.fail("Error in component tree - UISelectChoice with id "+torender.fullID+end)}if(componentType==="UIBound"||componentType==="UISelectChoice"){var parent;if(torender.choiceindex!==undefined){if(torender.parentRelativeID!==undefined){parent=getRelativeComponent(torender,torender.parentRelativeID);if(!parent){makeFail(torender," has parentRelativeID of "+torender.parentRelativeID+" which cannot be resolved")}}else{makeFail(torender," does not have parentRelativeID set")}assignSubmittingName(attrcopy,torender,parent.selection);dumpSelectionBindings(parent)}var submittingname=parent?parent.selection.submittingname:torender.submittingname;if(!parent&&torender.valuebinding){submittingname=assignSubmittingName(attrcopy,torender)}if(tagname==="input"||tagname==="textarea"){if(submittingname!==undefined){attrcopy.name=submittingname}}dumpBoundFields(torender,parent?parent.selection:null);if(typeof (torender.value)==="boolean"||attrcopy.type==="radio"||attrcopy.type==="checkbox"){var underlyingValue;var directValue=torender.value;if(torender.choiceindex!==undefined){if(!parent.optionlist.value){fluid.fail("Error in component tree - selection control with full ID "+parent.fullID+" has no values")}underlyingValue=parent.optionlist.value[torender.choiceindex];directValue=isSelectedValue(parent,underlyingValue)}if(isValue(directValue)){if(directValue){attrcopy.checked="checked"}else{delete attrcopy.checked}}attrcopy.value=fluid.XMLEncode(underlyingValue?underlyingValue:"true");rewriteLeaf(null)}else{if(torender.value instanceof Array){renderUnchanged()}else{var value=parent?parent[tagname==="textarea"||tagname==="input"?"optionlist":"optionnames"].value[torender.choiceindex]:torender.value;if(tagname==="textarea"){if(isPlaceholder(value)&&torender.willinput){value=""}rewriteLeaf(value)}else{if(tagname==="input"){if(torender.willinput||isValue(value)){attrcopy.value=fluid.XMLEncode(String(value))}rewriteLeaf(null)}else{delete attrcopy.name;rewriteLeafOpen(value)}}}}}else{if(componentType==="UISelect"){var ishtmlselect=tagname==="select";var ismultiple=false;if(torender.selection.value instanceof Array){ismultiple=true;if(ishtmlselect){attrcopy.multiple="multiple"}}var oldid=attrcopy.id;assignSubmittingName(attrcopy,torender.selection);if(oldid!==undefined){attrcopy.id=oldid}if(ishtmlselect){if(torender.selection.willinput!==false){attrcopy.name=torender.selection.submittingname}applyAutoBind(torender,attrcopy.id)}out+=fluid.dumpAttributes(attrcopy);if(ishtmlselect){out+=">";var values=torender.optionlist.value;var names=torender.optionnames===null||torender.optionnames===undefined||!torender.optionnames.value?values:torender.optionnames.value;if(!names||!names.length){fluid.fail("Error in component tree - UISelect component with fullID "+torender.fullID+" does not have optionnames set")}for(var i=0;i';out+=fluid.XMLEncode(names[i]);out+="\n"}closeTag()}else{dumpTemplateBody()}dumpSelectionBindings(torender)}else{if(componentType==="UILink"){var attrname=LINK_ATTRIBUTES[tagname];if(attrname){degradeMessage(torender.target);var target=torender.target.value;if(!isValue(target)){target=attrcopy[attrname]}target=rewriteUrl(trc.uselump.parent,target);attrcopy[attrname]=fluid.XMLEncode(target)}var value;if(torender.linktext){degradeMessage(torender.linktext);value=torender.linktext.value}if(!isValue(value)){replaceAttributesOpen()}else{rewriteLeaf(value)}}else{if(torender.markup!==undefined){degradeMessage(torender.markup);var rendered=torender.markup.value;if(rendered===null){out+=fluid.dumpAttributes(attrcopy);out+=">";renderUnchanged()}else{if(!trc.iselide){out+=fluid.dumpAttributes(attrcopy);out+=">"}out+=rendered;closeTag()}}}}}if(attrcopy.id!==undefined){usedIDs[attrcopy.id]=true}}function rewriteIDRelation(context){var attrname;var attrval=trc.attrcopy["for"];if(attrval!==undefined){attrname="for"}else{attrval=trc.attrcopy.headers;if(attrval!==undefined){attrname="headers"}}if(!attrname){return }var tagname=trc.uselump.tagname;if(attrname==="for"&&tagname!=="label"){return }if(attrname==="headers"&&tagname!=="td"&&tagname!=="th"){return }var rewritten=rewritemap[getRewriteKey(trc.uselump.parent,context,attrval)];if(rewritten!==undefined){trc.attrcopy[attrname]=rewritten}}function renderComment(message){out+=("")}function renderDebugMessage(message){out+='';out+=message;out+="
"}function reportPath(branch){var path=branch.fullID;return !path?"component tree root":"full path "+path}function renderComponentSystem(context,torendero,lump){var lumpindex=lump.lumpindex;var lumps=lump.parent.lumps;var nextpos=-1;var outerendopen=lumps[lumpindex+1];var outerclose=lump.close_tag;nextpos=outerclose.lumpindex+1;var payloadlist=lump.downmap?lump.downmap["payload-component"]:null;var payload=payloadlist?payloadlist[0]:null;var iselide=lump.rsfID.charCodeAt(0)===126;var endopen=outerendopen;var close=outerclose;var uselump=lump;var attrcopy={};$.extend(true,attrcopy,(payload===null?lump:payload).attributemap);trc.attrcopy=attrcopy;trc.uselump=uselump;trc.endopen=endopen;trc.close=close;trc.nextpos=nextpos;trc.iselide=iselide;rewriteIDRelation(context);if(torendero===null){if(lump.rsfID.indexOf("scr=")===(iselide?1:0)){var scrname=lump.rsfID.substring(4+(iselide?1:0));if(scrname==="ignore"){nextpos=trc.close.lumpindex+1}else{if(scrname==="rewrite-url"){torendero={componentType:"UILink",target:{}}}else{openTag();replaceAttributesOpen();nextpos=trc.endopen.lumpindex}}}}if(torendero!==null){if(payload){trc.endopen=lumps[payload.lumpindex+1];trc.close=payload.close_tag;trc.uselump=payload;dumpTillLump(lumps,lumpindex,payload.lumpindex);lumpindex=payload.lumpindex}adjustForID(attrcopy,torendero);openTag();renderComponent(torendero);if(payload!==null){if(trc.nextpos===nextpos){dumpTillLump(lumps,trc.close.lumpindex+1,outerclose.lumpindex+1)}}nextpos=trc.nextpos}return nextpos}var renderRecurse;function renderContainer(child,targetlump){var t2=targetlump.parent;var firstchild=t2.lumps[targetlump.lumpindex+1];if(child.children!==undefined){dumpBranchHead(child,targetlump)}else{renderComponentSystem(child.parent,child,targetlump)}renderRecurse(child,targetlump,firstchild)}fetchComponent=function(basecontainer,id,lump){if(id.indexOf("msg=")===0){var key=id.substring(4);return{componentType:"UIMessage",messagekey:key}}while(basecontainer){var togo=basecontainer.childmap[id];if(togo){return togo}basecontainer=basecontainer.parent}return null};function fetchComponents(basecontainer,id){var togo;while(basecontainer){togo=basecontainer.childmap[id];if(togo){break}basecontainer=basecontainer.parent}return togo}function findChild(sourcescope,child){var split=fluid.SplitID(child.ID);var headlumps=sourcescope.downmap[child.ID];if(!headlumps){headlumps=sourcescope.downmap[split.prefix+":"]}return headlumps?headlumps[0]:null}renderRecurse=function(basecontainer,parentlump,baselump){var renderindex=baselump.lumpindex;var basedepth=parentlump.nestingdepth;var t1=parentlump.parent;var rendered;if(debugMode){rendered={}}while(true){renderindex=dumpScan(t1.lumps,renderindex,basedepth,!parentlump.elide,false);if(renderindex===t1.lumps.length){break}var lump=t1.lumps[renderindex];var id=lump.rsfID;if(lump.nestingdepth=targetlump.nestingdepth;var newbase=child.children?child:basecontainer;if(wasopentag){renderRecurse(newbase,targetlump,t1.lumps[renderend]);renderend=targetlump.close_tag.lumpindex+1}if(i!==children.length-1){if(renderend")}if(options.model){fluid.bindFossils(node,options.model,fossils)}if($.browser.msie){$(node).html(rendered)}else{node.innerHTML=rendered}renderer.processDecoratorQueue();if(lastId){var element=fluid.byId(lastId);if(element){$(element).focus()}}return templates};function findNodeValue(rootNode){var node=fluid.dom.iterateDom(rootNode,function(node){return node.nodeType===8||node.nodeType===4?"stop":null},true);var value=node.nodeValue;if(value.indexOf("[CDATA[")===0){return value.substring(6,value.length-2)}else{return value}}fluid.extractTemplate=function(node,armouring){if(!armouring){return node.innerHTML}else{return findNodeValue(node)}};fluid.render=function(source,target,tree,options){options=options||{};var template=source;if(typeof (source)==="object"){template=fluid.extractTemplate(fluid.unwrap(source.node),source.armouring)}target=fluid.unwrap(target);var resourceSpec={base:{resourceText:template,href:".",resourceKey:".",cutpoints:options.cutpoints}};var templates=fluid.parseTemplates(resourceSpec,["base"],options);return fluid.reRender(templates,target,tree,options)};fluid.selfRender=function(node,tree,options){options=options||{};return fluid.render({node:node,armouring:options.armouring},node,tree,options)}})(jQuery,fluid_1_4);fluid_1_4=fluid_1_4||{};(function($,fluid){if(!fluid.renderer){fluid.fail("fluidRenderer.js is a necessary dependency of RendererUtilities")}fluid.iota=function(count,first){first=first||0;var togo=[];for(var i=0;i0){expanded.push({children:expandrow})}}else{if(expandrow!==fluid.renderer.NO_COMPONENT){expanded.push(expandrow)}}});var repeatID=options.repeatID;if(repeatID.indexOf(":")===-1){repeatID=repeatID+":"}fluid.each(expanded,function(entry){entry.ID=repeatID});return expanded};fluid.renderer.condition=function(options,container,key,config){fluid.expect("Selection to condition expander",["condition"],options);var condition;if(options.condition.funcName){var args=config.expandLight(options.condition.args);condition=fluid.invoke(options.condition.funcName,args)}else{if(options.condition.expander){condition=config.expander(options.condition)}else{condition=config.expandLight(options.condition)}}var tree=(condition?options.trueTree:options.falseTree);if(!tree){tree=fluid.renderer.NO_COMPONENT}return config.expander(tree)};fluid.extractContextualPath=function(string,options,env){var parsed=fluid.extractELWithContext(string,options);if(parsed){if(parsed.context){var fetched=env[parsed.context];if(typeof (fetched)!=="string"){fluid.fail("Could not look up context path named "+parsed.context+" to string value")}return fluid.model.composePath(fetched,parsed.path)}else{return parsed.path}}};fluid.renderer.makeProtoExpander=function(expandOptions){var options=$.extend({ELstyle:"${}"},expandOptions);options.fetcher=fluid.makeEnvironmentFetcher("rendererEnvironment",options.model);var IDescape=options.IDescape||"\\";function fetchEL(string){var env=fluid.threadLocal().rendererEnvironment;return fluid.extractContextualPath(string,options,env)}var expandLight=function(source){return fluid.resolveEnvironment(source,options)};var expandBound=function(value,concrete){if(value.messagekey!==undefined){return{componentType:"UIMessage",messagekey:expandBound(value.messagekey),args:expandLight(value.args)}}var proto;if(!fluid.isPrimitive(value)&&!fluid.isArrayable(value)){proto=$.extend({},value);if(proto.decorators){proto.decorators=expandLight(proto.decorators)}value=proto.value;delete proto.value}else{proto={}}var EL=typeof (value)==="string"?fetchEL(value):null;if(EL){proto.valuebinding=EL}else{if(value!==undefined){proto.value=value}}if(options.model&&proto.valuebinding&&proto.value===undefined){proto.value=fluid.get(options.model,proto.valuebinding,options.resolverGetConfig)}if(concrete){proto.componentType="UIBound"}return proto};options.filter=fluid.expander.lightFilter;var expandCond;var expandLeafOrCond;var expandEntry=function(entry){var comp=[];expandCond(entry,comp);return{children:comp}};var expandExternal=function(entry){if(entry===fluid.renderer.NO_COMPONENT){return entry}var singleTarget;var target=[];var pusher=function(comp){singleTarget=comp};expandLeafOrCond(entry,target,pusher);return singleTarget||target};var expandConfig={model:options.model,resolverGetConfig:options.resolverGetConfig,resolverSetConfig:options.resolverSetConfig,expander:expandExternal,expandLight:expandLight};var expandLeaf=function(leaf,componentType){var togo={componentType:componentType};var map=fluid.renderer.boundMap[componentType]||{};for(var key in leaf){if(/decorators|args/.test(key)){togo[key]=expandLight(leaf[key]);continue}else{if(map[key]){togo[key]=expandBound(leaf[key])}else{togo[key]=leaf[key]}}}return togo};var expandChildren=function(entry,pusher){var children=entry.children;for(var i=0;icond transition")}expandCond(entry,target)}};expandCond=function(proto,target){for(var key in proto){var entry=proto[key];if(key.charAt(0)===IDescape){key=key.substring(1)}if(key==="expander"){var expanders=fluid.makeArray(entry);fluid.each(expanders,function(expander){var expanded=fluid.invokeGlobalFunction(expander.type,[expander,proto,key,expandConfig]);if(expanded!==fluid.renderer.NO_COMPONENT){fluid.each(expanded,function(el){target[target.length]=el})}})}else{if(entry){var condPusher=function(comp){comp.ID=key;target[target.length]=comp};if(entry.children){if(key.indexOf(":")===-1){key=key+":"}expandChildren(entry,condPusher)}else{if(fluid.renderer.isBoundPrimitive(entry)){condPusher(expandBound(entry,true))}else{expandLeafOrCond(entry,null,condPusher)}}}}}};return function(entry){var initEnvironment=$.extend({},options.envAdd);return fluid.withEnvironment({rendererEnvironment:initEnvironment},function(){return expandEntry(entry)})}}})(jQuery,fluid_1_4);(function($,undefined){$.widget("ui.draggable",$.ui.mouse,{widgetEventPrefix:"drag",options:{addClasses:true,appendTo:"parent",axis:false,connectToSortable:false,containment:false,cursor:"auto",cursorAt:false,grid:false,handle:false,helper:"original",iframeFix:false,opacity:false,refreshPositions:false,revert:false,revertDuration:500,scope:"default",scroll:true,scrollSensitivity:20,scrollSpeed:20,snap:false,snapMode:"both",snapTolerance:20,stack:false,zIndex:false},_create:function(){if(this.options.helper=="original"&&!(/^(?:r|a|f)/).test(this.element.css("position"))){this.element[0].style.position="relative"}(this.options.addClasses&&this.element.addClass("ui-draggable"));(this.options.disabled&&this.element.addClass("ui-draggable-disabled"));this._mouseInit()},destroy:function(){if(!this.element.data("draggable")){return }this.element.removeData("draggable").unbind(".draggable").removeClass("ui-draggable ui-draggable-dragging ui-draggable-disabled");this._mouseDestroy();return this},_mouseCapture:function(event){var o=this.options;if(this.helper||o.disabled||$(event.target).is(".ui-resizable-handle")){return false}this.handle=this._getHandle(event);if(!this.handle){return false}return true},_mouseStart:function(event){var o=this.options;this.helper=this._createHelper(event);this._cacheHelperProportions();if($.ui.ddmanager){$.ui.ddmanager.current=this}this._cacheMargins();this.cssPosition=this.helper.css("position");this.scrollParent=this.helper.scrollParent();this.offset=this.positionAbs=this.element.offset();this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left};$.extend(this.offset,{click:{left:event.pageX-this.offset.left,top:event.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()});this.originalPosition=this.position=this._generatePosition(event);this.originalPageX=event.pageX;this.originalPageY=event.pageY;(o.cursorAt&&this._adjustOffsetFromHelper(o.cursorAt));if(o.containment){this._setContainment()}if(this._trigger("start",event)===false){this._clear();return false}this._cacheHelperProportions();if($.ui.ddmanager&&!o.dropBehaviour){$.ui.ddmanager.prepareOffsets(this,event)}this.helper.addClass("ui-draggable-dragging");this._mouseDrag(event,true);return true},_mouseDrag:function(event,noPropagation){this.position=this._generatePosition(event);this.positionAbs=this._convertPositionTo("absolute");if(!noPropagation){var ui=this._uiHash();if(this._trigger("drag",event,ui)===false){this._mouseUp({});return false}this.position=ui.position}if(!this.options.axis||this.options.axis!="y"){this.helper[0].style.left=this.position.left+"px"}if(!this.options.axis||this.options.axis!="x"){this.helper[0].style.top=this.position.top+"px"}if($.ui.ddmanager){$.ui.ddmanager.drag(this,event)}return false},_mouseStop:function(event){var dropped=false;if($.ui.ddmanager&&!this.options.dropBehaviour){dropped=$.ui.ddmanager.drop(this,event)}if(this.dropped){dropped=this.dropped;this.dropped=false}if((!this.element[0]||!this.element[0].parentNode)&&this.options.helper=="original"){return false}if((this.options.revert=="invalid"&&!dropped)||(this.options.revert=="valid"&&dropped)||this.options.revert===true||($.isFunction(this.options.revert)&&this.options.revert.call(this.element,dropped))){var self=this;$(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){if(self._trigger("stop",event)!==false){self._clear()}})}else{if(this._trigger("stop",event)!==false){this._clear()}}return false},cancel:function(){if(this.helper.is(".ui-draggable-dragging")){this._mouseUp({})}else{this._clear()}return this},_getHandle:function(event){var handle=!this.options.handle||!$(this.options.handle,this.element).length?true:false;$(this.options.handle,this.element).find("*").andSelf().each(function(){if(this==event.target){handle=true}});return handle},_createHelper:function(event){var o=this.options;var helper=$.isFunction(o.helper)?$(o.helper.apply(this.element[0],[event])):(o.helper=="clone"?this.element.clone():this.element);if(!helper.parents("body").length){helper.appendTo((o.appendTo=="parent"?this.element[0].parentNode:o.appendTo))}if(helper[0]!=this.element[0]&&!(/(fixed|absolute)/).test(helper.css("position"))){helper.css("position","absolute")}return helper},_adjustOffsetFromHelper:function(obj){if(typeof obj=="string"){obj=obj.split(" ")}if($.isArray(obj)){obj={left:+obj[0],top:+obj[1]||0}}if("left" in obj){this.offset.click.left=obj.left+this.margins.left}if("right" in obj){this.offset.click.left=this.helperProportions.width-obj.right+this.margins.left}if("top" in obj){this.offset.click.top=obj.top+this.margins.top}if("bottom" in obj){this.offset.click.top=this.helperProportions.height-obj.bottom+this.margins.top}},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var po=this.offsetParent.offset();if(this.cssPosition=="absolute"&&this.scrollParent[0]!=document&&$.ui.contains(this.scrollParent[0],this.offsetParent[0])){po.left+=this.scrollParent.scrollLeft();po.top+=this.scrollParent.scrollTop()}if((this.offsetParent[0]==document.body)||(this.offsetParent[0].tagName&&this.offsetParent[0].tagName.toLowerCase()=="html"&&$.browser.msie)){po={top:0,left:0}}return{top:po.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:po.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if(this.cssPosition=="relative"){var p=this.element.position();return{top:p.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:p.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}else{return{top:0,left:0}}},_cacheMargins:function(){this.margins={left:(parseInt(this.element.css("marginLeft"),10)||0),top:(parseInt(this.element.css("marginTop"),10)||0),right:(parseInt(this.element.css("marginRight"),10)||0),bottom:(parseInt(this.element.css("marginBottom"),10)||0)}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var o=this.options;if(o.containment=="parent"){o.containment=this.helper[0].parentNode}if(o.containment=="document"||o.containment=="window"){this.containment=[(o.containment=="document"?0:$(window).scrollLeft())-this.offset.relative.left-this.offset.parent.left,(o.containment=="document"?0:$(window).scrollTop())-this.offset.relative.top-this.offset.parent.top,(o.containment=="document"?0:$(window).scrollLeft())+$(o.containment=="document"?document:window).width()-this.helperProportions.width-this.margins.left,(o.containment=="document"?0:$(window).scrollTop())+($(o.containment=="document"?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]}if(!(/^(document|window|parent)$/).test(o.containment)&&o.containment.constructor!=Array){var ce=$(o.containment)[0];if(!ce){return }var co=$(o.containment).offset();var over=($(ce).css("overflow")!="hidden");this.containment=[co.left+(parseInt($(ce).css("borderLeftWidth"),10)||0)+(parseInt($(ce).css("paddingLeft"),10)||0),co.top+(parseInt($(ce).css("borderTopWidth"),10)||0)+(parseInt($(ce).css("paddingTop"),10)||0),co.left+(over?Math.max(ce.scrollWidth,ce.offsetWidth):ce.offsetWidth)-(parseInt($(ce).css("borderLeftWidth"),10)||0)-(parseInt($(ce).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,co.top+(over?Math.max(ce.scrollHeight,ce.offsetHeight):ce.offsetHeight)-(parseInt($(ce).css("borderTopWidth"),10)||0)-(parseInt($(ce).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom]}else{if(o.containment.constructor==Array){this.containment=o.containment}}},_convertPositionTo:function(d,pos){if(!pos){pos=this.position}var mod=d=="absolute"?1:-1;var o=this.options,scroll=this.cssPosition=="absolute"&&!(this.scrollParent[0]!=document&&$.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,scrollIsRootNode=(/(html|body)/i).test(scroll[0].tagName);return{top:(pos.top+this.offset.relative.top*mod+this.offset.parent.top*mod-($.browser.safari&&$.browser.version<526&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollTop():(scrollIsRootNode?0:scroll.scrollTop()))*mod)),left:(pos.left+this.offset.relative.left*mod+this.offset.parent.left*mod-($.browser.safari&&$.browser.version<526&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():scrollIsRootNode?0:scroll.scrollLeft())*mod))}},_generatePosition:function(event){var o=this.options,scroll=this.cssPosition=="absolute"&&!(this.scrollParent[0]!=document&&$.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,scrollIsRootNode=(/(html|body)/i).test(scroll[0].tagName);var pageX=event.pageX;var pageY=event.pageY;if(this.originalPosition){if(this.containment){if(event.pageX-this.offset.click.leftthis.containment[2]){pageX=this.containment[2]+this.offset.click.left}if(event.pageY-this.offset.click.top>this.containment[3]){pageY=this.containment[3]+this.offset.click.top}}if(o.grid){var top=this.originalPageY+Math.round((pageY-this.originalPageY)/o.grid[1])*o.grid[1];pageY=this.containment?(!(top-this.offset.click.topthis.containment[3])?top:(!(top-this.offset.click.topthis.containment[2])?left:(!(left-this.offset.click.left
').css({width:this.offsetWidth+"px",height:this.offsetHeight+"px",position:"absolute",opacity:"0.001",zIndex:1000}).css($(this).offset()).appendTo("body")})},stop:function(event,ui){$("div.ui-draggable-iframeFix").each(function(){this.parentNode.removeChild(this)})}});$.ui.plugin.add("draggable","opacity",{start:function(event,ui){var t=$(ui.helper),o=$(this).data("draggable").options;if(t.css("opacity")){o._opacity=t.css("opacity")}t.css("opacity",o.opacity)},stop:function(event,ui){var o=$(this).data("draggable").options;if(o._opacity){$(ui.helper).css("opacity",o._opacity)}}});$.ui.plugin.add("draggable","scroll",{start:function(event,ui){var i=$(this).data("draggable");if(i.scrollParent[0]!=document&&i.scrollParent[0].tagName!="HTML"){i.overflowOffset=i.scrollParent.offset()}},drag:function(event,ui){var i=$(this).data("draggable"),o=i.options,scrolled=false;if(i.scrollParent[0]!=document&&i.scrollParent[0].tagName!="HTML"){if(!o.axis||o.axis!="x"){if((i.overflowOffset.top+i.scrollParent[0].offsetHeight)-event.pageY=0;i--){var l=inst.snapElements[i].left,r=l+inst.snapElements[i].width,t=inst.snapElements[i].top,b=t+inst.snapElements[i].height;if(!((l-d
")).appendTo(document.body).hide().addClass(uiDialogClasses+options.dialogClass).css({zIndex:options.zIndex}).attr("tabIndex",-1).css("outline",0).keydown(function(event){if(options.closeOnEscape&&event.keyCode&&event.keyCode===$.ui.keyCode.ESCAPE){self.close(event);event.preventDefault()}}).attr({role:"dialog","aria-labelledby":titleId}).mousedown(function(event){self.moveToTop(false,event)}),uiDialogContent=self.element.show().removeAttr("title").addClass("ui-dialog-content ui-widget-content").appendTo(uiDialog),uiDialogTitlebar=(self.uiDialogTitlebar=$("
")).addClass("ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix").prependTo(uiDialog),uiDialogTitlebarClose=$('').addClass("ui-dialog-titlebar-close ui-corner-all").attr("role","button").hover(function(){uiDialogTitlebarClose.addClass("ui-state-hover")},function(){uiDialogTitlebarClose.removeClass("ui-state-hover")}).focus(function(){uiDialogTitlebarClose.addClass("ui-state-focus")}).blur(function(){uiDialogTitlebarClose.removeClass("ui-state-focus")}).click(function(event){self.close(event);return false}).appendTo(uiDialogTitlebar),uiDialogTitlebarCloseText=(self.uiDialogTitlebarCloseText=$("")).addClass("ui-icon ui-icon-closethick").text(options.closeText).appendTo(uiDialogTitlebarClose),uiDialogTitle=$("").addClass("ui-dialog-title").attr("id",titleId).html(title).prependTo(uiDialogTitlebar);if($.isFunction(options.beforeclose)&&!$.isFunction(options.beforeClose)){options.beforeClose=options.beforeclose}uiDialogTitlebar.find("*").add(uiDialogTitlebar).disableSelection();if(options.draggable&&$.fn.draggable){self._makeDraggable()}if(options.resizable&&$.fn.resizable){self._makeResizable()}self._createButtons(options.buttons);self._isOpen=false;if($.fn.bgiframe){uiDialog.bgiframe()}},_init:function(){if(this.options.autoOpen){this.open()}},destroy:function(){var self=this;if(self.overlay){self.overlay.destroy()}self.uiDialog.hide();self.element.unbind(".dialog").removeData("dialog").removeClass("ui-dialog-content ui-widget-content").hide().appendTo("body");self.uiDialog.remove();if(self.originalTitle){self.element.attr("title",self.originalTitle)}return self},widget:function(){return this.uiDialog},close:function(event){var self=this,maxZ,thisZ;if(false===self._trigger("beforeClose",event)){return }if(self.overlay){self.overlay.destroy()}self.uiDialog.unbind("keypress.ui-dialog");self._isOpen=false;if(self.options.hide){self.uiDialog.hide(self.options.hide,function(){self._trigger("close",event)})}else{self.uiDialog.hide();self._trigger("close",event)}$.ui.dialog.overlay.resize();if(self.options.modal){maxZ=0;$(".ui-dialog").each(function(){if(this!==self.uiDialog[0]){thisZ=$(this).css("z-index");if(!isNaN(thisZ)){maxZ=Math.max(maxZ,thisZ)}}});$.ui.dialog.maxZ=maxZ}return self},isOpen:function(){return this._isOpen},moveToTop:function(force,event){var self=this,options=self.options,saveScroll;if((options.modal&&!force)||(!options.stack&&!options.modal)){return self._trigger("focus",event)}if(options.zIndex>$.ui.dialog.maxZ){$.ui.dialog.maxZ=options.zIndex}if(self.overlay){$.ui.dialog.maxZ+=1;self.overlay.$el.css("z-index",$.ui.dialog.overlay.maxZ=$.ui.dialog.maxZ)}saveScroll={scrollTop:self.element.attr("scrollTop"),scrollLeft:self.element.attr("scrollLeft")};$.ui.dialog.maxZ+=1;self.uiDialog.css("z-index",$.ui.dialog.maxZ);self.element.attr(saveScroll);self._trigger("focus",event);return self},open:function(){if(this._isOpen){return }var self=this,options=self.options,uiDialog=self.uiDialog;self.overlay=options.modal?new $.ui.dialog.overlay(self):null;self._size();self._position(options.position);uiDialog.show(options.show);self.moveToTop(true);if(options.modal){uiDialog.bind("keypress.ui-dialog",function(event){if(event.keyCode!==$.ui.keyCode.TAB){return }var tabbables=$(":tabbable",this),first=tabbables.filter(":first"),last=tabbables.filter(":last");if(event.target===last[0]&&!event.shiftKey){first.focus(1);return false}else{if(event.target===first[0]&&event.shiftKey){last.focus(1);return false}}})}$(self.element.find(":tabbable").get().concat(uiDialog.find(".ui-dialog-buttonpane :tabbable").get().concat(uiDialog.get()))).eq(0).focus();self._isOpen=true;self._trigger("open");return self},_createButtons:function(buttons){var self=this,hasButtons=false,uiDialogButtonPane=$("
").addClass("ui-dialog-buttonpane ui-widget-content ui-helper-clearfix"),uiButtonSet=$("
").addClass("ui-dialog-buttonset").appendTo(uiDialogButtonPane);self.uiDialog.find(".ui-dialog-buttonpane").remove();if(typeof buttons==="object"&&buttons!==null){$.each(buttons,function(){return !(hasButtons=true)})}if(hasButtons){$.each(buttons,function(name,props){props=$.isFunction(props)?{click:props,text:name}:props;var button=$('').click(function(){props.click.apply(self.element[0],arguments)}).appendTo(uiButtonSet);$.each(props,function(key,value){if(key==="click"){return }if(key in attrFn){button[key](value)}else{button.attr(key,value)}});if($.fn.button){button.button()}});uiDialogButtonPane.appendTo(self.uiDialog)}},_makeDraggable:function(){var self=this,options=self.options,doc=$(document),heightBeforeDrag;function filteredUi(ui){return{position:ui.position,offset:ui.offset}}self.uiDialog.draggable({cancel:".ui-dialog-content, .ui-dialog-titlebar-close",handle:".ui-dialog-titlebar",containment:"document",start:function(event,ui){heightBeforeDrag=options.height==="auto"?"auto":$(this).height();$(this).height($(this).height()).addClass("ui-dialog-dragging");self._trigger("dragStart",event,filteredUi(ui))},drag:function(event,ui){self._trigger("drag",event,filteredUi(ui))},stop:function(event,ui){options.position=[ui.position.left-doc.scrollLeft(),ui.position.top-doc.scrollTop()];$(this).removeClass("ui-dialog-dragging").height(heightBeforeDrag);self._trigger("dragStop",event,filteredUi(ui));$.ui.dialog.overlay.resize()}})},_makeResizable:function(handles){handles=(handles===undefined?this.options.resizable:handles);var self=this,options=self.options,position=self.uiDialog.css("position"),resizeHandles=(typeof handles==="string"?handles:"n,e,s,w,se,sw,ne,nw");function filteredUi(ui){return{originalPosition:ui.originalPosition,originalSize:ui.originalSize,position:ui.position,size:ui.size}}self.uiDialog.resizable({cancel:".ui-dialog-content",containment:"document",alsoResize:self.element,maxWidth:options.maxWidth,maxHeight:options.maxHeight,minWidth:options.minWidth,minHeight:self._minHeight(),handles:resizeHandles,start:function(event,ui){$(this).addClass("ui-dialog-resizing");self._trigger("resizeStart",event,filteredUi(ui))},resize:function(event,ui){self._trigger("resize",event,filteredUi(ui))},stop:function(event,ui){$(this).removeClass("ui-dialog-resizing");options.height=$(this).height();options.width=$(this).width();self._trigger("resizeStop",event,filteredUi(ui));$.ui.dialog.overlay.resize()}}).css("position",position).find(".ui-resizable-se").addClass("ui-icon ui-icon-grip-diagonal-se")},_minHeight:function(){var options=this.options;if(options.height==="auto"){return options.minHeight}else{return Math.min(options.minHeight,options.height)}},_position:function(position){var myAt=[],offset=[0,0],isVisible;if(position){if(typeof position==="string"||(typeof position==="object"&&"0" in position)){myAt=position.split?position.split(" "):[position[0],position[1]];if(myAt.length===1){myAt[1]=myAt[0]}$.each(["left","top"],function(i,offsetPosition){if(+myAt[i]===myAt[i]){offset[i]=myAt[i];myAt[i]=offsetPosition}});position={my:myAt.join(" "),at:myAt.join(" "),offset:offset.join(" ")}}position=$.extend({},$.ui.dialog.prototype.options.position,position)}else{position=$.ui.dialog.prototype.options.position}isVisible=this.uiDialog.is(":visible");if(!isVisible){this.uiDialog.show()}this.uiDialog.css({top:0,left:0}).position($.extend({of:window},position));if(!isVisible){this.uiDialog.hide()}},_setOptions:function(options){var self=this,resizableOptions={},resize=false;$.each(options,function(key,value){self._setOption(key,value);if(key in sizeRelatedOptions){resize=true}if(key in resizableRelatedOptions){resizableOptions[key]=value}});if(resize){this._size()}if(this.uiDialog.is(":data(resizable)")){this.uiDialog.resizable("option",resizableOptions)}},_setOption:function(key,value){var self=this,uiDialog=self.uiDialog;switch(key){case"beforeclose":key="beforeClose";break;case"buttons":self._createButtons(value);break;case"closeText":self.uiDialogTitlebarCloseText.text(""+value);break;case"dialogClass":uiDialog.removeClass(self.options.dialogClass).addClass(uiDialogClasses+value);break;case"disabled":if(value){uiDialog.addClass("ui-dialog-disabled")}else{uiDialog.removeClass("ui-dialog-disabled")}break;case"draggable":var isDraggable=uiDialog.is(":data(draggable)");if(isDraggable&&!value){uiDialog.draggable("destroy")}if(!isDraggable&&value){self._makeDraggable()}break;case"position":self._position(value);break;case"resizable":var isResizable=uiDialog.is(":data(resizable)");if(isResizable&&!value){uiDialog.resizable("destroy")}if(isResizable&&typeof value==="string"){uiDialog.resizable("option","handles",value)}if(!isResizable&&value!==false){self._makeResizable(value)}break;case"title":$(".ui-dialog-title",self.uiDialogTitlebar).html(""+(value||" "));break}$.Widget.prototype._setOption.apply(self,arguments)},_size:function(){var options=this.options,nonContentHeight,minContentHeight,isVisible=this.uiDialog.is(":visible");this.element.show().css({width:"auto",minHeight:0,height:0});if(options.minWidth>options.width){options.width=options.minWidth}nonContentHeight=this.uiDialog.css({height:"auto",width:options.width}).height();minContentHeight=Math.max(0,options.minHeight-nonContentHeight);if(options.height==="auto"){if($.support.minHeight){this.element.css({minHeight:minContentHeight,height:"auto"})}else{this.uiDialog.show();var autoHeight=this.element.css("height","auto").height();if(!isVisible){this.uiDialog.hide()}this.element.height(Math.max(autoHeight,minContentHeight))}}else{this.element.height(Math.max(options.height-nonContentHeight,0))}if(this.uiDialog.is(":data(resizable)")){this.uiDialog.resizable("option","minHeight",this._minHeight())}}});$.extend($.ui.dialog,{version:"1.8.12",uuid:0,maxZ:0,getTitleId:function($el){var id=$el.attr("id");if(!id){this.uuid+=1;id=this.uuid}return"ui-dialog-title-"+id},overlay:function(dialog){this.$el=$.ui.dialog.overlay.create(dialog)}});$.extend($.ui.dialog.overlay,{instances:[],oldInstances:[],maxZ:0,events:$.map("focus,mousedown,mouseup,keydown,keypress,click".split(","),function(event){return event+".dialog-overlay"}).join(" "),create:function(dialog){if(this.instances.length===0){setTimeout(function(){if($.ui.dialog.overlay.instances.length){$(document).bind($.ui.dialog.overlay.events,function(event){if($(event.target).zIndex()<$.ui.dialog.overlay.maxZ){return false}})}},1);$(document).bind("keydown.dialog-overlay",function(event){if(dialog.options.closeOnEscape&&event.keyCode&&event.keyCode===$.ui.keyCode.ESCAPE){dialog.close(event);event.preventDefault()}});$(window).bind("resize.dialog-overlay",$.ui.dialog.overlay.resize)}var $el=(this.oldInstances.pop()||$("
").addClass("ui-widget-overlay")).appendTo(document.body).css({width:this.width(),height:this.height()});if($.fn.bgiframe){$el.bgiframe()}this.instances.push($el);return $el},destroy:function($el){var indexOf=$.inArray($el,this.instances);if(indexOf!=-1){this.oldInstances.push(this.instances.splice(indexOf,1)[0])}if(this.instances.length===0){$([document,window]).unbind(".dialog-overlay")}$el.remove();var maxZ=0;$.each(this.instances,function(){maxZ=Math.max(maxZ,this.css("z-index"))});this.maxZ=maxZ},height:function(){var scrollHeight,offsetHeight;if($.browser.msie&&$.browser.version<7){scrollHeight=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);offsetHeight=Math.max(document.documentElement.offsetHeight,document.body.offsetHeight);if(scrollHeight
");if(!o.values){o.values=[this._valueMin(),this._valueMin()]}if(o.values.length&&o.values.length!==2){o.values=[o.values[0],o.values[0]]}}else{this.range=$("
")}this.range.appendTo(this.element).addClass("ui-slider-range");if(o.range==="min"||o.range==="max"){this.range.addClass("ui-slider-range-"+o.range)}this.range.addClass("ui-widget-header")}if($(".ui-slider-handle",this.element).length===0){$("").appendTo(this.element).addClass("ui-slider-handle")}if(o.values&&o.values.length){while($(".ui-slider-handle",this.element).length").appendTo(this.element).addClass("ui-slider-handle")}}this.handles=$(".ui-slider-handle",this.element).addClass("ui-state-default ui-corner-all");this.handle=this.handles.eq(0);this.handles.add(this.range).filter("a").click(function(event){event.preventDefault()}).hover(function(){if(!o.disabled){$(this).addClass("ui-state-hover")}},function(){$(this).removeClass("ui-state-hover")}).focus(function(){if(!o.disabled){$(".ui-slider .ui-state-focus").removeClass("ui-state-focus");$(this).addClass("ui-state-focus")}else{$(this).blur()}}).blur(function(){$(this).removeClass("ui-state-focus")});this.handles.each(function(i){$(this).data("index.ui-slider-handle",i)});this.handles.keydown(function(event){var ret=true,index=$(this).data("index.ui-slider-handle"),allowed,curVal,newVal,step;if(self.options.disabled){return }switch(event.keyCode){case $.ui.keyCode.HOME:case $.ui.keyCode.END:case $.ui.keyCode.PAGE_UP:case $.ui.keyCode.PAGE_DOWN:case $.ui.keyCode.UP:case $.ui.keyCode.RIGHT:case $.ui.keyCode.DOWN:case $.ui.keyCode.LEFT:ret=false;if(!self._keySliding){self._keySliding=true;$(this).addClass("ui-state-active");allowed=self._start(event,index);if(allowed===false){return }}break}step=self.options.step;if(self.options.values&&self.options.values.length){curVal=newVal=self.values(index)}else{curVal=newVal=self.value()}switch(event.keyCode){case $.ui.keyCode.HOME:newVal=self._valueMin();break;case $.ui.keyCode.END:newVal=self._valueMax();break;case $.ui.keyCode.PAGE_UP:newVal=self._trimAlignValue(curVal+((self._valueMax()-self._valueMin())/numPages));break;case $.ui.keyCode.PAGE_DOWN:newVal=self._trimAlignValue(curVal-((self._valueMax()-self._valueMin())/numPages));break;case $.ui.keyCode.UP:case $.ui.keyCode.RIGHT:if(curVal===self._valueMax()){return }newVal=self._trimAlignValue(curVal+step);break;case $.ui.keyCode.DOWN:case $.ui.keyCode.LEFT:if(curVal===self._valueMin()){return }newVal=self._trimAlignValue(curVal-step);break}self._slide(event,index,newVal);return ret}).keyup(function(event){var index=$(this).data("index.ui-slider-handle");if(self._keySliding){self._keySliding=false;self._stop(event,index);self._change(event,index);$(this).removeClass("ui-state-active")}});this._refreshValue();this._animateOff=false},destroy:function(){this.handles.remove();this.range.remove();this.element.removeClass("ui-slider ui-slider-horizontal ui-slider-vertical ui-slider-disabled ui-widget ui-widget-content ui-corner-all").removeData("slider").unbind(".slider");this._mouseDestroy();return this},_mouseCapture:function(event){var o=this.options,position,normValue,distance,closestHandle,self,index,allowed,offset,mouseOverHandle;if(o.disabled){return false}this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()};this.elementOffset=this.element.offset();position={x:event.pageX,y:event.pageY};normValue=this._normValueFromMouse(position);distance=this._valueMax()-this._valueMin()+1;self=this;this.handles.each(function(i){var thisDistance=Math.abs(normValue-self.values(i));if(distance>thisDistance){distance=thisDistance;closestHandle=$(this);index=i}});if(o.range===true&&this.values(1)===o.min){index+=1;closestHandle=$(this.handles[index])}allowed=this._start(event,index);if(allowed===false){return false}this._mouseSliding=true;self._handleIndex=index;closestHandle.addClass("ui-state-active").focus();offset=closestHandle.offset();mouseOverHandle=!$(event.target).parents().andSelf().is(".ui-slider-handle");this._clickOffset=mouseOverHandle?{left:0,top:0}:{left:event.pageX-offset.left-(closestHandle.width()/2),top:event.pageY-offset.top-(closestHandle.height()/2)-(parseInt(closestHandle.css("borderTopWidth"),10)||0)-(parseInt(closestHandle.css("borderBottomWidth"),10)||0)+(parseInt(closestHandle.css("marginTop"),10)||0)};if(!this.handles.hasClass("ui-state-hover")){this._slide(event,index,normValue)}this._animateOff=true;return true},_mouseStart:function(event){return true},_mouseDrag:function(event){var position={x:event.pageX,y:event.pageY},normValue=this._normValueFromMouse(position);this._slide(event,this._handleIndex,normValue);return false},_mouseStop:function(event){this.handles.removeClass("ui-state-active");this._mouseSliding=false;this._stop(event,this._handleIndex);this._change(event,this._handleIndex);this._handleIndex=null;this._clickOffset=null;this._animateOff=false;return false},_detectOrientation:function(){this.orientation=(this.options.orientation==="vertical")?"vertical":"horizontal"},_normValueFromMouse:function(position){var pixelTotal,pixelMouse,percentMouse,valueTotal,valueMouse;if(this.orientation==="horizontal"){pixelTotal=this.elementSize.width;pixelMouse=position.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)}else{pixelTotal=this.elementSize.height;pixelMouse=position.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)}percentMouse=(pixelMouse/pixelTotal);if(percentMouse>1){percentMouse=1}if(percentMouse<0){percentMouse=0}if(this.orientation==="vertical"){percentMouse=1-percentMouse}valueTotal=this._valueMax()-this._valueMin();valueMouse=this._valueMin()+percentMouse*valueTotal;return this._trimAlignValue(valueMouse)},_start:function(event,index){var uiHash={handle:this.handles[index],value:this.value()};if(this.options.values&&this.options.values.length){uiHash.value=this.values(index);uiHash.values=this.values()}return this._trigger("start",event,uiHash)},_slide:function(event,index,newVal){var otherVal,newValues,allowed;if(this.options.values&&this.options.values.length){otherVal=this.values(index?0:1);if((this.options.values.length===2&&this.options.range===true)&&((index===0&&newVal>otherVal)||(index===1&&newVal1){this.options.values[index]=this._trimAlignValue(newValue);this._refreshValue();this._change(null,index);return }if(arguments.length){if($.isArray(arguments[0])){vals=this.options.values;newValues=arguments[0];for(i=0;i=this._valueMax()){return this._valueMax()}var step=(this.options.step>0)?this.options.step:1,valModStep=(val-this._valueMin())%step;alignValue=val-valModStep;if(Math.abs(valModStep)*2>=step){alignValue+=(valModStep>0)?step:(-step)}return parseFloat(alignValue.toFixed(5))},_valueMin:function(){return this.options.min},_valueMax:function(){return this.options.max},_refreshValue:function(){var oRange=this.options.range,o=this.options,self=this,animate=(!this._animateOff)?o.animate:false,valPercent,_set={},lastValPercent,value,valueMin,valueMax;if(this.options.values&&this.options.values.length){this.handles.each(function(i,j){valPercent=(self.values(i)-self._valueMin())/(self._valueMax()-self._valueMin())*100;_set[self.orientation==="horizontal"?"left":"bottom"]=valPercent+"%";$(this).stop(1,1)[animate?"animate":"css"](_set,o.animate);if(self.options.range===true){if(self.orientation==="horizontal"){if(i===0){self.range.stop(1,1)[animate?"animate":"css"]({left:valPercent+"%"},o.animate)}if(i===1){self.range[animate?"animate":"css"]({width:(valPercent-lastValPercent)+"%"},{queue:false,duration:o.animate})}}else{if(i===0){self.range.stop(1,1)[animate?"animate":"css"]({bottom:(valPercent)+"%"},o.animate)}if(i===1){self.range[animate?"animate":"css"]({height:(valPercent-lastValPercent)+"%"},{queue:false,duration:o.animate})}}}lastValPercent=valPercent})}else{value=this.value();valueMin=this._valueMin();valueMax=this._valueMax();valPercent=(valueMax!==valueMin)?(value-valueMin)/(valueMax-valueMin)*100:0;_set[self.orientation==="horizontal"?"left":"bottom"]=valPercent+"%";this.handle.stop(1,1)[animate?"animate":"css"](_set,o.animate);if(oRange==="min"&&this.orientation==="horizontal"){this.range.stop(1,1)[animate?"animate":"css"]({width:valPercent+"%"},o.animate)}if(oRange==="max"&&this.orientation==="horizontal"){this.range[animate?"animate":"css"]({width:(100-valPercent)+"%"},{queue:false,duration:o.animate})}if(oRange==="min"&&this.orientation==="vertical"){this.range.stop(1,1)[animate?"animate":"css"]({height:valPercent+"%"},o.animate)}if(oRange==="max"&&this.orientation==="vertical"){this.range[animate?"animate":"css"]({height:(100-valPercent)+"%"},{queue:false,duration:o.animate})}}}});$.extend($.ui.slider,{version:"1.8.12"})}(jQuery));(function($,undefined){var tabId=0,listId=0;function getNextTabId(){return ++tabId}function getNextListId(){return ++listId}$.widget("ui.tabs",{options:{add:null,ajaxOptions:null,cache:false,cookie:null,collapsible:false,disable:null,disabled:[],enable:null,event:"click",fx:null,idPrefix:"ui-tabs-",load:null,panelTemplate:"
",remove:null,select:null,show:null,spinner:"Loading…",tabTemplate:"
  • #{label}
  • "},_create:function(){this._tabify(true)},_setOption:function(key,value){if(key=="selected"){if(this.options.collapsible&&value==this.options.selected){return }this.select(value)}else{this.options[key]=value;this._tabify()}},_tabId:function(a){return a.title&&a.title.replace(/\s/g,"_").replace(/[^\w\u00c0-\uFFFF-]/g,"")||this.options.idPrefix+getNextTabId()},_sanitizeSelector:function(hash){return hash.replace(/:/g,"\\:")},_cookie:function(){var cookie=this.cookie||(this.cookie=this.options.cookie.name||"ui-tabs-"+getNextListId());return $.cookie.apply(null,[cookie].concat($.makeArray(arguments)))},_ui:function(tab,panel){return{tab:tab,panel:panel,index:this.anchors.index(tab)}},_cleanup:function(){this.lis.filter(".ui-state-processing").removeClass("ui-state-processing").find("span:data(label.tabs)").each(function(){var el=$(this);el.html(el.data("label.tabs")).removeData("label.tabs")})},_tabify:function(init){var self=this,o=this.options,fragmentId=/^#.+/;this.list=this.element.find("ol,ul").eq(0);this.lis=$(" > li:has(a[href])",this.list);this.anchors=this.lis.map(function(){return $("a",this)[0]});this.panels=$([]);this.anchors.each(function(i,a){var href=$(a).attr("href");var hrefBase=href.split("#")[0],baseEl;if(hrefBase&&(hrefBase===location.toString().split("#")[0]||(baseEl=$("base")[0])&&hrefBase===baseEl.href)){href=a.hash;a.href=href}if(fragmentId.test(href)){self.panels=self.panels.add(self.element.find(self._sanitizeSelector(href)))}else{if(href&&href!=="#"){$.data(a,"href.tabs",href);$.data(a,"load.tabs",href.replace(/#.*$/,""));var id=self._tabId(a);a.href="#"+id;var $panel=self.element.find("#"+id);if(!$panel.length){$panel=$(o.panelTemplate).attr("id",id).addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").insertAfter(self.panels[i-1]||self.list);$panel.data("destroy.tabs",true)}self.panels=self.panels.add($panel)}else{o.disabled.push(i)}}});if(init){this.element.addClass("ui-tabs ui-widget ui-widget-content ui-corner-all");this.list.addClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all");this.lis.addClass("ui-state-default ui-corner-top");this.panels.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom");if(o.selected===undefined){if(location.hash){this.anchors.each(function(i,a){if(a.hash==location.hash){o.selected=i;return false}})}if(typeof o.selected!=="number"&&o.cookie){o.selected=parseInt(self._cookie(),10)}if(typeof o.selected!=="number"&&this.lis.filter(".ui-tabs-selected").length){o.selected=this.lis.index(this.lis.filter(".ui-tabs-selected"))}o.selected=o.selected||(this.lis.length?0:-1)}else{if(o.selected===null){o.selected=-1}}o.selected=((o.selected>=0&&this.anchors[o.selected])||o.selected<0)?o.selected:0;o.disabled=$.unique(o.disabled.concat($.map(this.lis.filter(".ui-state-disabled"),function(n,i){return self.lis.index(n)}))).sort();if($.inArray(o.selected,o.disabled)!=-1){o.disabled.splice($.inArray(o.selected,o.disabled),1)}this.panels.addClass("ui-tabs-hide");this.lis.removeClass("ui-tabs-selected ui-state-active");if(o.selected>=0&&this.anchors.length){self.element.find(self._sanitizeSelector(self.anchors[o.selected].hash)).removeClass("ui-tabs-hide");this.lis.eq(o.selected).addClass("ui-tabs-selected ui-state-active");self.element.queue("tabs",function(){self._trigger("show",null,self._ui(self.anchors[o.selected],self.element.find(self._sanitizeSelector(self.anchors[o.selected].hash))[0]))});this.load(o.selected)}$(window).bind("unload",function(){self.lis.add(self.anchors).unbind(".tabs");self.lis=self.anchors=self.panels=null})}else{o.selected=this.lis.index(this.lis.filter(".ui-tabs-selected"))}this.element[o.collapsible?"addClass":"removeClass"]("ui-tabs-collapsible");if(o.cookie){this._cookie(o.selected,o.cookie)}for(var i=0,li;(li=this.lis[i]);i++){$(li)[$.inArray(i,o.disabled)!=-1&&!$(li).hasClass("ui-tabs-selected")?"addClass":"removeClass"]("ui-state-disabled")}if(o.cache===false){this.anchors.removeData("cache.tabs")}this.lis.add(this.anchors).unbind(".tabs");if(o.event!=="mouseover"){var addState=function(state,el){if(el.is(":not(.ui-state-disabled)")){el.addClass("ui-state-"+state)}};var removeState=function(state,el){el.removeClass("ui-state-"+state)};this.lis.bind("mouseover.tabs",function(){addState("hover",$(this))});this.lis.bind("mouseout.tabs",function(){removeState("hover",$(this))});this.anchors.bind("focus.tabs",function(){addState("focus",$(this).closest("li"))});this.anchors.bind("blur.tabs",function(){removeState("focus",$(this).closest("li"))})}var hideFx,showFx;if(o.fx){if($.isArray(o.fx)){hideFx=o.fx[0];showFx=o.fx[1]}else{hideFx=showFx=o.fx}}function resetStyle($el,fx){$el.css("display","");if(!$.support.opacity&&fx.opacity){$el[0].style.removeAttribute("filter")}}var showTab=showFx?function(clicked,$show){$(clicked).closest("li").addClass("ui-tabs-selected ui-state-active");$show.hide().removeClass("ui-tabs-hide").animate(showFx,showFx.duration||"normal",function(){resetStyle($show,showFx);self._trigger("show",null,self._ui(clicked,$show[0]))})}:function(clicked,$show){$(clicked).closest("li").addClass("ui-tabs-selected ui-state-active");$show.removeClass("ui-tabs-hide");self._trigger("show",null,self._ui(clicked,$show[0]))};var hideTab=hideFx?function(clicked,$hide){$hide.animate(hideFx,hideFx.duration||"normal",function(){self.lis.removeClass("ui-tabs-selected ui-state-active");$hide.addClass("ui-tabs-hide");resetStyle($hide,hideFx);self.element.dequeue("tabs")})}:function(clicked,$hide,$show){self.lis.removeClass("ui-tabs-selected ui-state-active");$hide.addClass("ui-tabs-hide");self.element.dequeue("tabs")};this.anchors.bind(o.event+".tabs",function(){var el=this,$li=$(el).closest("li"),$hide=self.panels.filter(":not(.ui-tabs-hide)"),$show=self.element.find(self._sanitizeSelector(el.hash));if(($li.hasClass("ui-tabs-selected")&&!o.collapsible)||$li.hasClass("ui-state-disabled")||$li.hasClass("ui-state-processing")||self.panels.filter(":animated").length||self._trigger("select",null,self._ui(this,$show[0]))===false){this.blur();return false}o.selected=self.anchors.index(this);self.abort();if(o.collapsible){if($li.hasClass("ui-tabs-selected")){o.selected=-1;if(o.cookie){self._cookie(o.selected,o.cookie)}self.element.queue("tabs",function(){hideTab(el,$hide)}).dequeue("tabs");this.blur();return false}else{if(!$hide.length){if(o.cookie){self._cookie(o.selected,o.cookie)}self.element.queue("tabs",function(){showTab(el,$show)});self.load(self.anchors.index(this));this.blur();return false}}}if(o.cookie){self._cookie(o.selected,o.cookie)}if($show.length){if($hide.length){self.element.queue("tabs",function(){hideTab(el,$hide)})}self.element.queue("tabs",function(){showTab(el,$show)});self.load(self.anchors.index(this))}else{throw"jQuery UI Tabs: Mismatching fragment identifier."}if($.browser.msie){this.blur()}});this.anchors.bind("click.tabs",function(){return false})},_getIndex:function(index){if(typeof index=="string"){index=this.anchors.index(this.anchors.filter("[href$="+index+"]"))}return index},destroy:function(){var o=this.options;this.abort();this.element.unbind(".tabs").removeClass("ui-tabs ui-widget ui-widget-content ui-corner-all ui-tabs-collapsible").removeData("tabs");this.list.removeClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all");this.anchors.each(function(){var href=$.data(this,"href.tabs");if(href){this.href=href}var $this=$(this).unbind(".tabs");$.each(["href","load","cache"],function(i,prefix){$this.removeData(prefix+".tabs")})});this.lis.unbind(".tabs").add(this.panels).each(function(){if($.data(this,"destroy.tabs")){$(this).remove()}else{$(this).removeClass(["ui-state-default","ui-corner-top","ui-tabs-selected","ui-state-active","ui-state-hover","ui-state-focus","ui-state-disabled","ui-tabs-panel","ui-widget-content","ui-corner-bottom","ui-tabs-hide"].join(" "))}});if(o.cookie){this._cookie(null,o.cookie)}return this},add:function(url,label,index){if(index===undefined){index=this.anchors.length}var self=this,o=this.options,$li=$(o.tabTemplate.replace(/#\{href\}/g,url).replace(/#\{label\}/g,label)),id=!url.indexOf("#")?url.replace("#",""):this._tabId($("a",$li)[0]);$li.addClass("ui-state-default ui-corner-top").data("destroy.tabs",true);var $panel=self.element.find("#"+id);if(!$panel.length){$panel=$(o.panelTemplate).attr("id",id).data("destroy.tabs",true)}$panel.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide");if(index>=this.lis.length){$li.appendTo(this.list);$panel.appendTo(this.list[0].parentNode)}else{$li.insertBefore(this.lis[index]);$panel.insertBefore(this.panels[index])}o.disabled=$.map(o.disabled,function(n,i){return n>=index?++n:n});this._tabify();if(this.anchors.length==1){o.selected=0;$li.addClass("ui-tabs-selected ui-state-active");$panel.removeClass("ui-tabs-hide");this.element.queue("tabs",function(){self._trigger("show",null,self._ui(self.anchors[0],self.panels[0]))});this.load(0)}this._trigger("add",null,this._ui(this.anchors[index],this.panels[index]));return this},remove:function(index){index=this._getIndex(index);var o=this.options,$li=this.lis.eq(index).remove(),$panel=this.panels.eq(index).remove();if($li.hasClass("ui-tabs-selected")&&this.anchors.length>1){this.select(index+(index+1=index?--n:n});this._tabify();this._trigger("remove",null,this._ui($li.find("a")[0],$panel[0]));return this},enable:function(index){index=this._getIndex(index);var o=this.options;if($.inArray(index,o.disabled)==-1){return }this.lis.eq(index).removeClass("ui-state-disabled");o.disabled=$.grep(o.disabled,function(n,i){return n!=index});this._trigger("enable",null,this._ui(this.anchors[index],this.panels[index]));return this},disable:function(index){index=this._getIndex(index);var self=this,o=this.options;if(index!=o.selected){this.lis.eq(index).addClass("ui-state-disabled");o.disabled.push(index);o.disabled.sort();this._trigger("disable",null,this._ui(this.anchors[index],this.panels[index]))}return this},select:function(index){index=this._getIndex(index);if(index==-1){if(this.options.collapsible&&this.options.selected!=-1){index=this.options.selected}else{return this}}this.anchors.eq(index).trigger(this.options.event+".tabs");return this},load:function(index){index=this._getIndex(index);var self=this,o=this.options,a=this.anchors.eq(index)[0],url=$.data(a,"load.tabs");this.abort();if(!url||this.element.queue("tabs").length!==0&&$.data(a,"cache.tabs")){this.element.dequeue("tabs");return }this.lis.eq(index).addClass("ui-state-processing");if(o.spinner){var span=$("span",a);span.data("label.tabs",span.html()).html(o.spinner)}this.xhr=$.ajax($.extend({},o.ajaxOptions,{url:url,success:function(r,s){self.element.find(self._sanitizeSelector(a.hash)).html(r);self._cleanup();if(o.cache){$.data(a,"cache.tabs",true)}self._trigger("load",null,self._ui(self.anchors[index],self.panels[index]));try{o.ajaxOptions.success(r,s)}catch(e){}},error:function(xhr,s,e){self._cleanup();self._trigger("load",null,self._ui(self.anchors[index],self.panels[index]));try{o.ajaxOptions.error(xhr,s,index,a)}catch(e){}}}));self.element.dequeue("tabs");return this},abort:function(){this.element.queue([]);this.panels.stop(false,true);this.element.queue("tabs",this.element.queue("tabs").splice(-2,2));if(this.xhr){this.xhr.abort();delete this.xhr}this._cleanup();return this},url:function(index,url){this.anchors.eq(index).removeData("cache.tabs").data("load.tabs",url);return this},length:function(){return this.anchors.length}});$.extend($.ui.tabs,{version:"1.8.12"});$.extend($.ui.tabs.prototype,{rotation:null,rotate:function(ms,continuing){var self=this,o=this.options;var rotate=self._rotate||(self._rotate=function(e){clearTimeout(self.rotation);self.rotation=setTimeout(function(){var t=o.selected;self.select(++tform #virtualBufferForm").parent().remove();this._original_destroy()},_updateVirtualBuffer:function(){var form=$("body>form #virtualBufferForm");if(form.length){if(form.val()=="1"){form.val("0")}else{form.val("1")}if(form.hasClass("ui-accessibility-odd")){form.addClass("ui-accessibility-even").removeClass("ui-accessibility-odd")}else{form.addClass("ui-accessibility-odd").removeClass("ui-accessibility-even")}}else{$("body").append('
    ')}}})})(jQuery);var fluid_1_4=fluid_1_4||{};(function($,fluid){fluid.defaults("fluid.tabs",{gradeNames:["fluid.viewComponent","autoInit"],tabOptions:{},events:{tabsselect:"preventable",tabsload:null,tabsshow:null},finalInitFunction:"fluid.tabs.finalInit"});fluid.tabs.finalInit=function(that){that.container.tabs(that.options.tabOptions);fluid.each(that.options.events,function(value,eventName){that.container.bind(eventName,function(event,ui){return that.events[eventName].fire(that,event,ui)})})}})(jQuery,fluid_1_4);var fluid_1_4=fluid_1_4||{};(function($,fluid){fluid.registerNamespace("fluid.tableOfContents");fluid.tableOfContents.insertAnchor=function(name,element){var anchor=$("",element.ownerDocument);anchor.prop({name:name,id:name});anchor.insertBefore(element)};fluid.tableOfContents.generateGUID=function(){return fluid.allocateSimpleId()};fluid.tableOfContents.filterHeadings=function(headings){return headings.filter(":visible")};fluid.tableOfContents.finalInit=function(that){var headings=that.filterHeadings(that.locate("headings"));that.headingTextToAnchor=function(heading){var guid=that.generateGUID();var anchorInfo={id:guid,url:"#"+guid};that.insertAnchor(anchorInfo.id,heading);return anchorInfo};that.anchorInfo=fluid.transform(headings,function(heading){return that.headingTextToAnchor(heading)});that.hide=function(){that.locate("tocContainer").hide()};that.show=function(){that.locate("tocContainer").show()};that.model=that.modelBuilder.assembleModel(headings,that.anchorInfo);that.events.onReady.fire()};fluid.defaults("fluid.tableOfContents",{gradeNames:["fluid.viewComponent","autoInit"],finalInitFunction:"fluid.tableOfContents.finalInit",components:{levels:{type:"fluid.tableOfContents.levels",container:"{tableOfContents}.dom.tocContainer",createOnEvent:"onReady",options:{model:{headings:"{tableOfContents}.model"},events:{afterRender:"{tableOfContents}.events.afterRender"}}},modelBuilder:{type:"fluid.tableOfContents.modelBuilder"}},invokers:{insertAnchor:"fluid.tableOfContents.insertAnchor",generateGUID:"fluid.tableOfContents.generateGUID",filterHeadings:"fluid.tableOfContents.filterHeadings"},selectors:{headings:":header",tocContainer:".flc-toc-tocContainer"},events:{onReady:null,afterRender:null}});fluid.registerNamespace("fluid.tableOfContents.modelBuilder");fluid.tableOfContents.modelBuilder.toModel=function(headingInfo,modelLevelFn){var headings=fluid.copy(headingInfo);var buildModelLevel=function(headings,level){var modelLevel=[];while(headings.length>0){var heading=headings[0];if(heading.levellevel){var subHeadings=buildModelLevel(headings,level+1);if(modelLevel.length>0){modelLevel[modelLevel.length-1].headings=subHeadings}else{modelLevel=modelLevelFn(modelLevel,subHeadings)}}if(heading.level===level){modelLevel.push(heading);headings.shift()}}return modelLevel};return buildModelLevel(headings,1)};fluid.tableOfContents.modelBuilder.gradualModelLevelFn=function(modelLevel,subHeadings){var subHeadingsClone=fluid.copy(subHeadings);subHeadingsClone[0].level--;return subHeadingsClone};fluid.tableOfContents.modelBuilder.skippedModelLevelFn=function(modelLevel,subHeadings){modelLevel.push({headings:subHeadings});return modelLevel};fluid.tableOfContents.modelBuilder.finalInit=function(that){that.convertToHeadingObjects=function(headings,anchorInfo){headings=$(headings);return fluid.transform(headings,function(heading,index){return{level:that.headingCalculator.getHeadingLevel(heading),text:$(heading).text(),url:anchorInfo[index].url}})};that.assembleModel=function(headings,anchorInfo){var headingInfo=that.convertToHeadingObjects(headings,anchorInfo);return that.toModel(headingInfo)}};fluid.defaults("fluid.tableOfContents.modelBuilder",{gradeNames:["fluid.littleComponent","autoInit"],finalInitFunction:"fluid.tableOfContents.modelBuilder.finalInit",components:{headingCalculator:{type:"fluid.tableOfContents.modelBuilder.headingCalculator"}},invokers:{toModel:{funcName:"fluid.tableOfContents.modelBuilder.toModel",args:["{arguments}.0","{modelBuilder}.modelLevelFn"]},modelLevelFn:"fluid.tableOfContents.modelBuilder.gradualModelLevelFn"}});fluid.registerNamespace("fluid.tableOfContents.modelBuilder.headingCalculator");fluid.tableOfContents.modelBuilder.headingCalculator.finalInit=function(that){that.getHeadingLevel=function(heading){return $.inArray(heading.tagName,that.options.levels)+1}};fluid.defaults("fluid.tableOfContents.modelBuilder.headingCalculator",{gradeNames:["fluid.littleComponent","autoInit"],finalInitFunction:"fluid.tableOfContents.modelBuilder.headingCalculator.finalInit",levels:["H1","H2","H3","H4","H5","H6"]});fluid.registerNamespace("fluid.tableOfContents.levels");fluid.tableOfContents.levels.finalInit=function(that){fluid.fetchResources(that.options.resources,function(){that.container.append(that.options.resources.template.resourceText);that.refreshView()})};fluid.tableOfContents.levels.objModel=function(type,ID){var objModel={ID:type+ID+":",children:[]};return objModel};fluid.tableOfContents.levels.handleEmptyItemObj=function(itemObj){itemObj.decorators=[{type:"addClass",classes:"fl-tableOfContents-hide-bullet"}]};fluid.tableOfContents.levels.generateTree=function(headingsModel,currentLevel){currentLevel=currentLevel||0;var levelObj=fluid.tableOfContents.levels.objModel("level",currentLevel);if(headingsModel.headings.length===0){return[]}if(currentLevel===0){var tree={children:[fluid.tableOfContents.levels.generateTree(headingsModel,currentLevel+1)]};return tree}$.each(headingsModel.headings,function(index,model){var itemObj=fluid.tableOfContents.levels.objModel("items",currentLevel);var linkObj={ID:"link"+currentLevel,target:model.url,linktext:model.text};if(!model.level){fluid.tableOfContents.levels.handleEmptyItemObj(itemObj)}else{itemObj.children.push(linkObj)}if(model.headings){itemObj.children.push(fluid.tableOfContents.levels.generateTree(model,currentLevel+1))}levelObj.children.push(itemObj)});return levelObj};fluid.tableOfContents.levels.produceTree=function(that){return fluid.tableOfContents.levels.generateTree(that.model)};fluid.defaults("fluid.tableOfContents.levels",{gradeNames:["fluid.rendererComponent","autoInit"],finalInitFunction:"fluid.tableOfContents.levels.finalInit",produceTree:"fluid.tableOfContents.levels.produceTree",selectors:{level1:".flc-toc-levels-level1",level2:".flc-toc-levels-level2",level3:".flc-toc-levels-level3",level4:".flc-toc-levels-level4",level5:".flc-toc-levels-level5",level6:".flc-toc-levels-level6",items1:".flc-toc-levels-items1",items2:".flc-toc-levels-items2",items3:".flc-toc-levels-items3",items4:".flc-toc-levels-items4",items5:".flc-toc-levels-items5",items6:".flc-toc-levels-items6",link1:".flc-toc-levels-link1",link2:".flc-toc-levels-link2",link3:".flc-toc-levels-link3",link4:".flc-toc-levels-link4",link5:".flc-toc-levels-link5",link6:".flc-toc-levels-link6"},repeatingSelectors:["level1","level2","level3","level4","level5","level6","items1","items2","items3","items4","items5","items6"],model:{headings:[]},resources:{template:{forceCache:true,url:"../html/TableOfContents.html"}},rendererFnOptions:{noexpand:true},rendererOptions:{debugMode:false}})})(jQuery,fluid_1_4);if(!this.JSON){JSON=function(){function f(n){return n<10?"0"+n:n}Date.prototype.toJSON=function(){return this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z"};var m={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};function stringify(value,whitelist){var a,i,k,l,r=/["\\\x00-\x1f\x7f-\x9f]/g,v;switch(typeof value){case"string":return r.test(value)?'"'+value.replace(r,function(a){var c=m[a];if(c){return c}c=a.charCodeAt();return"\\u00"+Math.floor(c/16).toString(16)+(c%16).toString(16)})+'"':'"'+value+'"';case"number":return isFinite(value)?String(value):"null";case"boolean":case"null":return String(value);case"object":if(!value){return"null"}if(typeof value.toJSON==="function"){return stringify(value.toJSON())}a=[];if(typeof value.length==="number"&&!(value.propertyIsEnumerable("length"))){l=value.length;for(i=0;i0){var top=segs.length-1;var dotpos=segs[top].indexOf(".");if(dotpos!==-1){togo.extension=segs[top].substring(dotpos+1);segs[top]=segs[top].substring(0,dotpos)}}togo.pathInfo=segs;return togo};fluid.url.parsePathInfoTrim=function(pathInfo){var togo=fluid.url.parsePathInfo(pathInfo);if(togo.pathInfo[togo.pathInfo.length-1]===""){togo.pathInfo.length--}return togo};fluid.url.collapseSegs=function(segs,from,to){var togo="";if(from===undefined){from=0}if(to===undefined){to=segs.length}for(var i=from;ifrom){togo+=segs[to-1]}return togo};fluid.url.makeRelPath=function(parsed,index){var togo=fluid.kettle.collapseSegs(parsed.pathInfo,index);if(parsed.extension){togo+="."+parsed.extension}return togo};fluid.url.cononocolosePath=function(pathInfo){var consume=0;for(var i=0;i0){startIndex=cookie.indexOf(cookiePrefix);if(startIndex>-1){startIndex=startIndex+cookiePrefix.length;endIndex=cookie.indexOf(";",startIndex);if(endIndexmodel.max){newValue=model.max}}changeRequest.value=newValue}else{changeRequest.value=oldValue}};fluid.textfieldSlider.textfield.finalInit=function(that){that.applier.guards.addListener({path:"value",transactional:true},fluid.textfieldSlider.validateValue);that.container.change(function(source){that.applier.requestChange("value",source.target.value)})};fluid.defaults("fluid.textfieldSlider.slider",{gradeNames:["fluid.viewComponent","autoInit"],finalInitFunction:"fluid.textfieldSlider.slider.finalInit",selectors:{thumb:".ui-slider-handle"}});var initSliderAria=function(thumb,opts){var ariaDefaults={role:"slider","aria-valuenow":opts.value,"aria-valuemin":opts.min,"aria-valuemax":opts.max};thumb.attr(ariaDefaults)};fluid.textfieldSlider.slider.finalInit=function(that){that.slider=that.container.slider(that.model);that.initSlider=function(sliderOptions){var slider=that.slider.slider(sliderOptions);initSliderAria(that.locate("thumb"),sliderOptions)};that.setSliderValue=function(value){that.slider.slider("value",value)};that.setSliderAria=function(value){that.locate("thumb").attr("aria-valuenow",value)};that.slider.bind("slide",function(e,ui){that.applier.requestChange("value",ui.value)})}})(jQuery,fluid_1_4);(function($,fluid){fluid.registerNamespace("fluid.uiOptions.inline");fluid.defaults("fluid.uiOptions.inline",{gradeNames:["fluid.viewComponent"],mergePolicy:{uiOptionsTransform:"noexpand",derivedDefaults:"noexpand"},components:{uiOptionsLoader:{type:"fluid.uiOptions.loader"},templateLoader:{priority:"first",type:"fluid.uiOptions.templateLoader"}},uiOptionsTransform:{transformer:"fluid.uiOptions.mapOptions",config:{"*.templateLoader":"templateLoader","*.templateLoader.*.templatePath.options.value":"prefix","*.uiOptionsLoader":"uiOptionsLoader","*.uiOptionsLoader.container":"container","*.uiOptionsLoader.*.uiOptions":"uiOptions","*.uiOptionsLoader.*.uiOptions.*.textControls":"textControls","*.uiOptionsLoader.*.uiOptions.*.layoutControls":"layoutControls","*.uiOptionsLoader.*.uiOptions.*.linksControls":"linksControls","*.uiOptionsLoader.*.uiOptions.*.preview":"preview","*.uiOptionsLoader.*.uiOptions.*.preview.*.enhancer":"previewEnhancer"}},derivedDefaults:{uiOptions:{options:{components:{settingsStore:"{uiEnhancer}.settingsStore"},listeners:{onUIOptionsRefresh:"{uiEnhancer}.updateFromSettingsStore"}}}}});fluid.uiOptions.inline.makeCreator=function(componentName,processor){fluid.setGlobalValue(componentName,function(container,options){var defaults=fluid.defaults(componentName);options.container=container;options=processor(options);var mappedOptions=fluid.uiOptions.mapOptions(options,defaults.uiOptionsTransform.config,defaults.mergePolicy,fluid.copy(defaults.derivedDefaults));var that=fluid.initView(componentName,container,mappedOptions);fluid.diagnoseFailedView(componentName,that,fluid.defaults(componentName),[componentName,container,mappedOptions]);fluid.initDependents(that);return that})};fluid.uiOptions.sortByKeyLength=function(inObject){var keys=[];for(var k in inObject){keys.push(k)}keys.sort(function(a,b){return a.length-b.length});return keys};fluid.uiOptions.mapOptionsRecord=function(options,sortedConfigKeys,config){var opRecs=[{},{},options||{}];var appliers=fluid.transform(opRecs,function(opRec){return fluid.makeChangeApplier(opRec)});fluid.each(sortedConfigKeys,function(origDest){var source=config[origDest];var dest=fluid.uiOptions.expandShortPath(origDest);var applier=appliers[origDest.charAt(0)==="!"?0:1];var value=fluid.get(options,source);if(value){applier.requestChange(dest,value,"ADD");appliers[2].requestChange(source,value,"DELETE")}});return opRecs};fluid.uiOptions.mapOptions=function(options,config,mergePolicy,derivedDefaults){var sortedConfigKeys=fluid.uiOptions.sortByKeyLength(config);var optrecs=fluid.uiOptions.mapOptionsRecord(options,sortedConfigKeys,config);var devrecs=fluid.uiOptions.mapOptionsRecord(derivedDefaults,sortedConfigKeys,config);var mergeOpts=[mergePolicy].concat(devrecs).concat(optrecs);return fluid.merge.apply(null,mergeOpts)};fluid.uiOptions.expandShortPath=function(path){if(path.charAt(0)==="!"){path=path.substring(1)}var strToreplaceFirst="components";var strToreplaceRest="options.components";var newPath=(path.charAt(0)==="*")?path.replace("*",strToreplaceFirst):path;newPath=newPath.replace(/\*/g,strToreplaceRest);return newPath};fluid.defaults("fluid.uiOptions.templateLoader",{gradeNames:["fluid.eventedComponent","autoInit"],finalInitFunction:"fluid.uiOptions.templateLoader.resolveTemplates",templates:{uiOptions:"%prefix/FatPanelUIOptions.html",textControls:"%prefix/UIOptionsTemplate-text.html",layoutControls:"%prefix/UIOptionsTemplate-layout.html",linksControls:"%prefix/UIOptionsTemplate-links.html"},components:{templatePath:{type:"fluid.uiOptions.templatePath"}},invokers:{transformURL:{funcName:"fluid.stringTemplate",args:["{arguments}.0",{"prefix/":"{templateLoader}.templatePath.options.value"}]}}});fluid.uiOptions.templateLoader.resolveTemplates=function(that){var mapped=fluid.transform(that.options.templates,that.transformURL);that.resources=fluid.transform(mapped,function(url){return{url:url,forceCache:true}})};fluid.defaults("fluid.uiOptions.templatePath",{gradeNames:["fluid.littleComponent","autoInit"],value:"../html/"});fluid.demands("fluid.uiOptions.textControls",["fluid.uiOptions"],{options:{classnameMap:"{uiEnhancer}.options.classnameMap"}});fluid.demands("fluid.uiOptions.layoutControls",["fluid.uiOptions"],{options:{classnameMap:"{uiEnhancer}.options.classnameMap"}});fluid.demands("fluid.uiOptions.linksControls",["fluid.uiOptions"],{options:{classnameMap:"{uiEnhancer}.options.classnameMap"}});fluid.uiOptions.onReadyFirer=function(uiOptionsLoader,uiOptions){uiOptionsLoader.events.onReady.fire(uiOptionsLoader,uiOptions)};fluid.defaults("fluid.uiOptions.loader",{gradeNames:["fluid.viewComponent","autoInit"],resources:"{templateLoader}.resources",finalInitFunction:"fluid.uiOptions.loader.finalInit",events:{onUIOptionsTemplateReady:null,onUIOptionsComponentReady:null,onUIOptionsReadyBridge:{event:"onUIOptionsComponentReady",args:["{fluid.uiOptions.loader}","{arguments}.0"]},onReady:null},listeners:{onUIOptionsReadyBridge:{listener:fluid.uiOptions.onReadyFirer,priority:"last"}},components:{uiOptions:{type:"fluid.uiOptions",container:"{loader}.container",createOnEvent:"onUIOptionsTemplateReady",options:{events:{onUIOptionsComponentReady:"{loader}.events.onUIOptionsComponentReady"}}}}});fluid.uiOptions.loader.finalInit=function(that){fluid.fetchResources(that.options.resources,function(){that.events.onUIOptionsTemplateReady.fire()})};fluid.defaults("fluid.uiOptions",{gradeNames:["fluid.viewComponent","autoInit"],components:{textControls:{type:"fluid.uiOptions.textControls",container:"{uiOptions}.dom.textControls",createOnEvent:"onUIOptionsComponentReady",options:{model:"{uiOptions}.model",applier:"{uiOptions}.applier",events:{onUIOptionsRefresh:"{uiOptions}.events.onUIOptionsRefresh"}}},layoutControls:{type:"fluid.uiOptions.layoutControls",container:"{uiOptions}.dom.layoutControls",createOnEvent:"onUIOptionsComponentReady",options:{model:"{uiOptions}.model",applier:"{uiOptions}.applier",events:{onUIOptionsRefresh:"{uiOptions}.events.onUIOptionsRefresh"}}},linksControls:{type:"fluid.uiOptions.linksControls",container:"{uiOptions}.dom.linksControls",createOnEvent:"onUIOptionsComponentReady",options:{model:"{uiOptions}.model",applier:"{uiOptions}.applier",events:{onUIOptionsRefresh:"{uiOptions}.events.onUIOptionsRefresh"}}},preview:{type:"fluid.uiOptions.preview",createOnEvent:"onUIOptionsComponentReady",container:"{uiOptions}.dom.previewFrame"},eventBinder:{type:"fluid.uiOptions.eventBinder"}},selectors:{textControls:".flc-uiOptions-text-controls",layoutControls:".flc-uiOptions-layout-controls",linksControls:".flc-uiOptions-links-controls",cancel:".flc-uiOptions-cancel",reset:".flc-uiOptions-reset",save:".flc-uiOptions-save",previewFrame:".flc-uiOptions-preview-frame"},events:{onSave:null,onCancel:null,onReset:null,onAutoSave:null,modelChanged:null,onUIOptionsRefresh:null,onUIOptionsComponentReady:null},finalInitFunction:"fluid.uiOptions.finalInit",resources:{template:"{templateLoader}.resources.uiOptions"},autoSave:false});fluid.uiOptions.finalInit=function(that){that.applier.requestChange("selections",fluid.copy(that.settingsStore.fetch()));that.save=function(){that.events.onSave.fire(that.model.selections);var savedSelections=fluid.copy(that.model.selections);that.settingsStore.save(savedSelections)};that.saveAndApply=function(){that.save();that.events.onUIOptionsRefresh.fire()};that.reset=function(){that.updateModel(fluid.copy(that.settingsStore.options.defaultSiteSettings));that.events.onReset.fire(that);that.events.onUIOptionsRefresh.fire()};that.cancel=function(){that.events.onCancel.fire();that.updateModel(that.settingsStore.fetch());that.events.onUIOptionsRefresh.fire()};that.updateModel=function(newModel){that.applier.requestChange("selections",newModel)};that.applier.modelChanged.addListener("selections",function(newModel,oldModel,changeRequest){that.events.modelChanged.fire(newModel,oldModel,changeRequest.source);if(that.options.autoSave){that.events.onAutoSave.fire()}});var bindHandlers=function(that){var saveButton=that.locate("save");if(saveButton.length>0){saveButton.click(that.saveAndApply);var form=fluid.findForm(saveButton);$(form).submit(function(){that.saveAndApply()})}that.locate("reset").click(that.reset);that.locate("cancel").click(that.cancel)};var bindEventHandlers=function(that){that.events.onAutoSave.addListener(function(){that.save()})};fluid.fetchResources(that.options.resources,function(){setTimeout(function(){that.container.append(that.options.resources.template.resourceText);bindHandlers(that);bindEventHandlers(that);that.events.onUIOptionsComponentReady.fire(that)},1)})};fluid.defaults("fluid.uiOptions.eventBinder",{gradeNames:["fluid.eventedComponent","autoInit"]});var initModel=function(that){fluid.each(that.options.controlValues,function(item,key){that.applier.requestChange("labelMap."+key,{values:that.options.controlValues[key],names:that.options.strings[key],classes:that.options.classnameMap[key]})})};var createSliderNode=function(that,item){return{decorators:{type:"fluid",func:"fluid.textfieldSlider",options:{listeners:{modelChanged:function(value){that.applier.requestChange("selections."+item,value)}},model:{min:that.options[item].min,max:that.options[item].max,value:that.model.selections[item]}}}}};fluid.uiOptions.controlsFinalInit=function(that){initModel(that);that.refreshView()};fluid.uiOptions.lateRefreshViewBinder=function(that){that.refreshView=function(){that.renderer.refreshView()}};fluid.defaults("fluid.uiOptions.textControls",{gradeNames:["fluid.rendererComponent","autoInit"],strings:{textFont:["Default","Times New Roman","Comic Sans","Arial","Verdana"],theme:["Default","Black on white","White on black","Black on yellow","Yellow on black"]},controlValues:{textFont:["default","times","comic","arial","verdana"],theme:["default","bw","wb","by","yb"]},textSize:{min:1,max:2},lineSpacing:{min:1,max:2},selectors:{textFont:".flc-uiOptions-text-font",theme:".flc-uiOptions-theme",textSize:".flc-uiOptions-min-text-size",lineSpacing:".flc-uiOptions-line-spacing"},events:{onUIOptionsRefresh:null},listeners:{onUIOptionsRefresh:"{textControls}.refreshView"},preInitFunction:"fluid.uiOptions.lateRefreshViewBinder",finalInitFunction:"fluid.uiOptions.controlsFinalInit",produceTree:"fluid.uiOptions.textControls.produceTree",resources:{template:"{templateLoader}.resources.textControls"}});fluid.uiOptions.textControls.produceTree=function(that){var tree={};for(var item in that.model.selections){if(item==="textFont"||item==="theme"){tree[item]={optionnames:"${labelMap."+item+".names}",optionlist:"${labelMap."+item+".values}",selection:"${selections."+item+"}",decorators:{type:"fluid",func:"fluid.uiOptions.selectDecorator",options:{styles:that.options.classnameMap[item]}}}}else{if(item==="textSize"||item==="lineSpacing"){tree[item]=createSliderNode(that,item)}}}return tree};fluid.demands("fluid.uiOptions.selectDecorator","fluid.uiOptions",{container:"{arguments}.0"});fluid.defaults("fluid.uiOptions.selectDecorator",{gradeNames:["fluid.viewComponent","autoInit"],finalInitFunction:"fluid.uiOptions.selectDecorator.finalInit",styles:{preview:"fl-preview-theme"}});fluid.uiOptions.selectDecorator.finalInit=function(that){fluid.each($("option",that.container),function(option){var styles=that.options.styles;$(option).addClass(styles.preview+" "+styles[fluid.value(option)])})};fluid.defaults("fluid.uiOptions.layoutControls",{gradeNames:["fluid.rendererComponent","autoInit"],selectors:{layout:".flc-uiOptions-layout",toc:".flc-uiOptions-toc"},events:{onUIOptionsRefresh:null},listeners:{onUIOptionsRefresh:"{layoutControls}.refreshView"},preInitFunction:"fluid.uiOptions.lateRefreshViewBinder",finalInitFunction:"fluid.uiOptions.controlsFinalInit",produceTree:"fluid.uiOptions.layoutControls.produceTree",resources:{template:"{templateLoader}.resources.layoutControls"}});fluid.uiOptions.layoutControls.produceTree=function(that){var tree={};for(var item in that.model.selections){if(item==="layout"||item==="toc"){tree[item]="${selections."+item+"}"}}return tree};fluid.defaults("fluid.uiOptions.linksControls",{gradeNames:["fluid.rendererComponent","autoInit"],selectors:{links:".flc-uiOptions-links",inputsLarger:".flc-uiOptions-inputs-larger"},events:{onUIOptionsRefresh:null},listeners:{onUIOptionsRefresh:"{linksControls}.refreshView"},preInitFunction:"fluid.uiOptions.lateRefreshViewBinder",finalInitFunction:"fluid.uiOptions.controlsFinalInit",produceTree:"fluid.uiOptions.linksControls.produceTree",resources:{template:"{templateLoader}.resources.linksControls"}});fluid.uiOptions.linksControls.produceTree=function(that){var tree={};for(var item in that.model.selections){if(item==="links"||item==="inputsLarger"){tree[item]="${selections."+item+"}"}}return tree};fluid.defaults("fluid.uiOptions.preview",{gradeNames:["fluid.viewComponent","autoInit"],components:{enhancer:{type:"fluid.uiEnhancer",createOnEvent:"onReady",options:{settingsStore:{type:"fluid.uiEnhancer.tempStore"}}},eventBinder:{type:"fluid.uiOptions.preview.eventBinder",createOnEvent:"onReady"},templateLoader:"{templateLoader}"},invokers:{updateModel:{funcName:"fluid.uiOptions.preview.updateModel",args:["{preview}","{uiOptions}.model.selections"]}},finalInitFunction:"fluid.uiOptions.preview.finalInit",events:{onReady:null},templateUrl:"%prefix/UIOptionsPreview.html"});fluid.uiOptions.preview.updateModel=function(that,selections){setTimeout(function(){if(that.enhancer){that.enhancer.updateModel(selections)}},0)};fluid.uiOptions.preview.finalInit=function(that){var templateUrl=that.templateLoader.transformURL(that.options.templateUrl);that.container.load(function(){that.enhancerContainer=$("body",that.container.contents());that.events.onReady.fire()});that.container.attr("src",templateUrl)};fluid.demands("fluid.uiEnhancer","fluid.uiOptions.preview",{funcName:"fluid.uiEnhancer",args:["{preview}.enhancerContainer","{options}"]});fluid.defaults("fluid.uiOptions.preview.eventBinder",{gradeNames:["fluid.eventedComponent","autoInit"]});fluid.demands("fluid.uiOptions.preview.eventBinder",["fluid.uiOptions.preview","fluid.uiOptions"],{options:{listeners:{"{uiOptions}.events.modelChanged":"{preview}.updateModel"}}})})(jQuery,fluid_1_4);var fluid_1_4=fluid_1_4||{};(function($,fluid){fluid.defaults("fluid.uiOptions.fatPanelEventBinder",{gradeNames:["fluid.eventedComponent","autoInit"],finalInitFunction:"fluid.uiOptions.fatPanelEventBinder.finalInit",components:{uiOptionsLoader:{type:"fluid.uiOptions.loader"},slidingPanel:{type:"fluid.slidingPanel"}}});fluid.defaults("fluid.uiOptions.fatPanelEventBinder.binder",{gradeNames:["fluid.eventedComponent","autoInit"]});fluid.registerNamespace("fluid.dom");fluid.dom.getDocumentHeight=function(dokkument){var body=$("body",dokkument)[0];return body.offsetHeight};fluid.uiOptions.fatPanelEventBinder.updateView=function(uiOptions){uiOptions.uiEnhancer.updateFromSettingsStore();uiOptions.events.onSignificantDOMChange.fire()};fluid.uiOptions.fatPanelEventBinder.bindLateEvents=function(uiOptions,eventBinder,fatPanel){eventBinder.uiOptions=uiOptions;uiOptions.events.modelChanged.addListener(function(model){eventBinder.uiEnhancer.updateModel(model.selections);uiOptions.save()});uiOptions.events.onReset.addListener(function(uiOptions){fluid.uiOptions.fatPanelEventBinder.updateView(uiOptions)});uiOptions.events.onSignificantDOMChange.addListener(function(){var dokkument=uiOptions.container[0].ownerDocument;var height=fluid.dom.getDocumentHeight(dokkument);var iframe=fatPanel.markupRenderer.iframe;var attrs={height:height+15};iframe.animate(attrs,400)});fatPanel.slidingPanel.events.afterPanelHide.addListener(function(){fatPanel.markupRenderer.iframe.height(0)})};fluid.uiOptions.fatPanelEventBinder.finalInit=function(that){that.slidingPanel.events.afterPanelShow.addListener(function(){fluid.uiOptions.fatPanelEventBinder.updateView(that.uiOptions)})};fluid.uiOptions.fatPanelEventBinder.showPanel=function(panel,callback){panel.show();setTimeout(callback,1)};fluid.defaults("fluid.uiOptions.fatPanel",{gradeNames:["fluid.viewComponent"],selectors:{iframe:".flc-uiOptions-iframe"},relativePrefix:"./",components:{slidingPanel:{type:"fluid.slidingPanel",container:"{fatPanel}.container",options:{invokers:{operateShow:{funcName:"fluid.uiOptions.fatPanelEventBinder.showPanel"}}},createOnEvent:"afterRender"},markupRenderer:{type:"fluid.uiOptions.renderIframe",container:"{fatPanel}.dom.iframe",options:{markupProps:{src:"%prefix/FatPanelUIOptionsFrame.html"},events:{afterRender:"{fatPanel}.events.afterRender"}}},uiEnhancer:"{uiEnhancer}",eventBinder:{type:"fluid.uiOptions.fatPanelEventBinder",options:{components:{uiEnhancer:"{fatPanel}.uiEnhancer",uiOptionsLoader:"{fatPanel}.bridge.uiOptionsLoader",slidingPanel:"{fatPanel}.slidingPanel",binder:{type:"fluid.uiOptions.fatPanelEventBinder.binder",priority:"last",options:{events:{onUIOptionsComponentReady:{event:"{uiOptionsLoader}.events.onUIOptionsComponentReady",args:["{arguments}.0","{fluid.uiOptions.fatPanelEventBinder}","{fatPanel}"]}},listeners:{onUIOptionsComponentReady:fluid.uiOptions.fatPanelEventBinder.bindLateEvents}}}}},createOnEvent:"afterRender",priority:"last"},bridge:{type:"fluid.uiOptions.bridge",createOnEvent:"afterRender",priority:"first",options:{components:{uiEnhancer:"{fatPanel}.uiEnhancer",markupRenderer:"{fatPanel}.markupRenderer"}}}},uiOptionsTransform:{transformer:"fluid.uiOptions.mapOptions",config:{"*.slidingPanel":"slidingPanel","*.markupRenderer":"markupRenderer","*.markupRenderer.options.prefix":"prefix","*.eventBinder":"eventBinder","selectors.iframe":"iframe","*.bridge.options.templateLoader":"templateLoader","*.bridge.options.prefix":"relativePrefix","*.bridge.options.uiOptionsLoader":"uiOptionsLoader","*.bridge.options.uiOptions":"uiOptions","*.bridge.options.textControls":"textControls","*.bridge.options.layoutControls":"layoutControls","*.bridge.options.linksControls":"linksControls","*.bridge.options.uiEnhancer":"uiEnhancer"}},events:{afterRender:null}});fluid.defaults("fluid.uiOptions.renderIframe",{gradeNames:["fluid.viewComponent","autoInit"],finalInitFunction:"fluid.uiOptions.renderIframe.finalInit",events:{afterRender:null},styles:{containerFlex:"fl-container-flex",container:"fl-uiOptions-fatPanel-iframe"},prefix:"./",markupProps:{style:"overflow-x:hidden; overflow-y:auto;","class":"flc-iframe",src:"%prefix/uiOptionsIframe.html"}});fluid.uiOptions.renderIframe.finalInit=function(that){var styles=that.options.styles;that.options.markupProps.src=fluid.stringTemplate(that.options.markupProps.src,{"prefix/":that.options.prefix});that.iframeSrc=that.options.markupProps.src;that.iframe=$(" - -
    - - - -
    - - - diff --git a/infusion/components/uiOptions/html/UIOptionsTemplate-layout.html b/infusion/components/uiOptions/html/UIOptionsTemplate-layout.html deleted file mode 100644 index 63db740..0000000 --- a/infusion/components/uiOptions/html/UIOptionsTemplate-layout.html +++ /dev/null @@ -1,9 +0,0 @@ -
      -
    • - -
      - -

      Adds a table of contents to the top of the page

      -
      -
    • -
    diff --git a/infusion/components/uiOptions/html/UIOptionsTemplate-links.html b/infusion/components/uiOptions/html/UIOptionsTemplate-links.html deleted file mode 100644 index 83f90fd..0000000 --- a/infusion/components/uiOptions/html/UIOptionsTemplate-links.html +++ /dev/null @@ -1,16 +0,0 @@ -
      -
    • - -
      - -

      Makes links larger, bold, and underlined

      -
      -
    • -
    • - -
      - -

      Makes buttons, drop-down menus, text-fields, and other inputs larger

      -
      -
    • -
    diff --git a/infusion/components/uiOptions/html/UIOptionsTemplate-text.html b/infusion/components/uiOptions/html/UIOptionsTemplate-text.html deleted file mode 100644 index cf54dcc..0000000 --- a/infusion/components/uiOptions/html/UIOptionsTemplate-text.html +++ /dev/null @@ -1,35 +0,0 @@ -
      -
    • - -
      -
      -
      icon of a small capital letter 'A'
      -
      -
      icon of a large capital letter 'A'
      -
      -
      times
      - -
      -
    • -
    • - - -
    • -
    • - -
      -
      -
      icon of 3 horizontal lines with narrow spacing
      -
      -
      icon of 3 horizontal lines with wide spacing
      -
      -
      times
      - -
      -
    • -
    • - - -
    • -
    \ No newline at end of file diff --git a/infusion/components/uiOptions/images/bw/uio_icon_bigA_hc_20x20.png b/infusion/components/uiOptions/images/bw/uio_icon_bigA_hc_20x20.png deleted file mode 100644 index b3a9708..0000000 Binary files a/infusion/components/uiOptions/images/bw/uio_icon_bigA_hc_20x20.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/bw/uio_icon_cancel_hc_13x13.png b/infusion/components/uiOptions/images/bw/uio_icon_cancel_hc_13x13.png deleted file mode 100644 index 23b8411..0000000 Binary files a/infusion/components/uiOptions/images/bw/uio_icon_cancel_hc_13x13.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/bw/uio_icon_layoutandnavigation_hcInverted_16x16.png b/infusion/components/uiOptions/images/bw/uio_icon_layoutandnavigation_hcInverted_16x16.png deleted file mode 100644 index efc12d1..0000000 Binary files a/infusion/components/uiOptions/images/bw/uio_icon_layoutandnavigation_hcInverted_16x16.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/bw/uio_icon_layoutandnavigation_hc_16x16.png b/infusion/components/uiOptions/images/bw/uio_icon_layoutandnavigation_hc_16x16.png deleted file mode 100644 index 23df916..0000000 Binary files a/infusion/components/uiOptions/images/bw/uio_icon_layoutandnavigation_hc_16x16.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/bw/uio_icon_layoutandnavigation_hc_18x18.png b/infusion/components/uiOptions/images/bw/uio_icon_layoutandnavigation_hc_18x18.png deleted file mode 100644 index 493bd1a..0000000 Binary files a/infusion/components/uiOptions/images/bw/uio_icon_layoutandnavigation_hc_18x18.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/bw/uio_icon_linesNarrow_hc_16x12.png b/infusion/components/uiOptions/images/bw/uio_icon_linesNarrow_hc_16x12.png deleted file mode 100644 index 07b2346..0000000 Binary files a/infusion/components/uiOptions/images/bw/uio_icon_linesNarrow_hc_16x12.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/bw/uio_icon_linesWide_hc_16x21.png b/infusion/components/uiOptions/images/bw/uio_icon_linesWide_hc_16x21.png deleted file mode 100644 index 6610544..0000000 Binary files a/infusion/components/uiOptions/images/bw/uio_icon_linesWide_hc_16x21.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/bw/uio_icon_linksandbuttons_hcInverted_16x16.png b/infusion/components/uiOptions/images/bw/uio_icon_linksandbuttons_hcInverted_16x16.png deleted file mode 100644 index c682024..0000000 Binary files a/infusion/components/uiOptions/images/bw/uio_icon_linksandbuttons_hcInverted_16x16.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/bw/uio_icon_linksandbuttons_hc_16x16.png b/infusion/components/uiOptions/images/bw/uio_icon_linksandbuttons_hc_16x16.png deleted file mode 100644 index 679d5ba..0000000 Binary files a/infusion/components/uiOptions/images/bw/uio_icon_linksandbuttons_hc_16x16.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/bw/uio_icon_linksandbuttons_hc_18x18.png b/infusion/components/uiOptions/images/bw/uio_icon_linksandbuttons_hc_18x18.png deleted file mode 100644 index e4d42d9..0000000 Binary files a/infusion/components/uiOptions/images/bw/uio_icon_linksandbuttons_hc_18x18.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/bw/uio_icon_reset_hcInverted_16x16.png b/infusion/components/uiOptions/images/bw/uio_icon_reset_hcInverted_16x16.png deleted file mode 100644 index b05d4b8..0000000 Binary files a/infusion/components/uiOptions/images/bw/uio_icon_reset_hcInverted_16x16.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/bw/uio_icon_save_hc_13x13.png b/infusion/components/uiOptions/images/bw/uio_icon_save_hc_13x13.png deleted file mode 100644 index d98216f..0000000 Binary files a/infusion/components/uiOptions/images/bw/uio_icon_save_hc_13x13.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/bw/uio_icon_smallA_hc_10x10.png b/infusion/components/uiOptions/images/bw/uio_icon_smallA_hc_10x10.png deleted file mode 100644 index 6cda764..0000000 Binary files a/infusion/components/uiOptions/images/bw/uio_icon_smallA_hc_10x10.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/bw/uio_icon_textanddisplay_hcInverted_16x16.png b/infusion/components/uiOptions/images/bw/uio_icon_textanddisplay_hcInverted_16x16.png deleted file mode 100644 index 5ffae8c..0000000 Binary files a/infusion/components/uiOptions/images/bw/uio_icon_textanddisplay_hcInverted_16x16.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/bw/uio_icon_textanddisplay_hc_16x16.png b/infusion/components/uiOptions/images/bw/uio_icon_textanddisplay_hc_16x16.png deleted file mode 100644 index aef4db2..0000000 Binary files a/infusion/components/uiOptions/images/bw/uio_icon_textanddisplay_hc_16x16.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/bw/uio_icon_textanddisplay_hc_18x18.png b/infusion/components/uiOptions/images/bw/uio_icon_textanddisplay_hc_18x18.png deleted file mode 100644 index e44fef2..0000000 Binary files a/infusion/components/uiOptions/images/bw/uio_icon_textanddisplay_hc_18x18.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/by/uio_icon_bigA_blackYellow_20x20.png b/infusion/components/uiOptions/images/by/uio_icon_bigA_blackYellow_20x20.png deleted file mode 100644 index b3a9708..0000000 Binary files a/infusion/components/uiOptions/images/by/uio_icon_bigA_blackYellow_20x20.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/by/uio_icon_cancel_blackYellow_13x13.png b/infusion/components/uiOptions/images/by/uio_icon_cancel_blackYellow_13x13.png deleted file mode 100644 index 23b8411..0000000 Binary files a/infusion/components/uiOptions/images/by/uio_icon_cancel_blackYellow_13x13.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/by/uio_icon_layoutandnavigation_blackYellowInverted_16x16.png b/infusion/components/uiOptions/images/by/uio_icon_layoutandnavigation_blackYellowInverted_16x16.png deleted file mode 100644 index 93df10b..0000000 Binary files a/infusion/components/uiOptions/images/by/uio_icon_layoutandnavigation_blackYellowInverted_16x16.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/by/uio_icon_layoutandnavigation_blackYellow_16x16.png b/infusion/components/uiOptions/images/by/uio_icon_layoutandnavigation_blackYellow_16x16.png deleted file mode 100644 index 23df916..0000000 Binary files a/infusion/components/uiOptions/images/by/uio_icon_layoutandnavigation_blackYellow_16x16.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/by/uio_icon_layoutandnavigation_blackYellow_18x18.png b/infusion/components/uiOptions/images/by/uio_icon_layoutandnavigation_blackYellow_18x18.png deleted file mode 100644 index 493bd1a..0000000 Binary files a/infusion/components/uiOptions/images/by/uio_icon_layoutandnavigation_blackYellow_18x18.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/by/uio_icon_linesNarrow_blackYellow_16x12.png b/infusion/components/uiOptions/images/by/uio_icon_linesNarrow_blackYellow_16x12.png deleted file mode 100644 index 07b2346..0000000 Binary files a/infusion/components/uiOptions/images/by/uio_icon_linesNarrow_blackYellow_16x12.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/by/uio_icon_linesWide_blackYellow_16x21.png b/infusion/components/uiOptions/images/by/uio_icon_linesWide_blackYellow_16x21.png deleted file mode 100644 index 6610544..0000000 Binary files a/infusion/components/uiOptions/images/by/uio_icon_linesWide_blackYellow_16x21.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/by/uio_icon_linksandbuttons_blackYellowInverted_16x16.png b/infusion/components/uiOptions/images/by/uio_icon_linksandbuttons_blackYellowInverted_16x16.png deleted file mode 100644 index dd7d093..0000000 Binary files a/infusion/components/uiOptions/images/by/uio_icon_linksandbuttons_blackYellowInverted_16x16.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/by/uio_icon_linksandbuttons_blackYellow_16x16.png b/infusion/components/uiOptions/images/by/uio_icon_linksandbuttons_blackYellow_16x16.png deleted file mode 100644 index 679d5ba..0000000 Binary files a/infusion/components/uiOptions/images/by/uio_icon_linksandbuttons_blackYellow_16x16.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/by/uio_icon_linksandbuttons_blackYellow_18x18.png b/infusion/components/uiOptions/images/by/uio_icon_linksandbuttons_blackYellow_18x18.png deleted file mode 100644 index e4d42d9..0000000 Binary files a/infusion/components/uiOptions/images/by/uio_icon_linksandbuttons_blackYellow_18x18.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/by/uio_icon_reset_blackYellowInverted_16x16.png b/infusion/components/uiOptions/images/by/uio_icon_reset_blackYellowInverted_16x16.png deleted file mode 100644 index ab00ef8..0000000 Binary files a/infusion/components/uiOptions/images/by/uio_icon_reset_blackYellowInverted_16x16.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/by/uio_icon_save_blackYellow_13x13.png b/infusion/components/uiOptions/images/by/uio_icon_save_blackYellow_13x13.png deleted file mode 100644 index d98216f..0000000 Binary files a/infusion/components/uiOptions/images/by/uio_icon_save_blackYellow_13x13.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/by/uio_icon_smallA_blackYellow_10x10.png b/infusion/components/uiOptions/images/by/uio_icon_smallA_blackYellow_10x10.png deleted file mode 100644 index 6cda764..0000000 Binary files a/infusion/components/uiOptions/images/by/uio_icon_smallA_blackYellow_10x10.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/by/uio_icon_textanddisplay_blackYellowInverted_16x16.png b/infusion/components/uiOptions/images/by/uio_icon_textanddisplay_blackYellowInverted_16x16.png deleted file mode 100644 index 2fcd45a..0000000 Binary files a/infusion/components/uiOptions/images/by/uio_icon_textanddisplay_blackYellowInverted_16x16.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/by/uio_icon_textanddisplay_blackYellow_16x16.png b/infusion/components/uiOptions/images/by/uio_icon_textanddisplay_blackYellow_16x16.png deleted file mode 100644 index aef4db2..0000000 Binary files a/infusion/components/uiOptions/images/by/uio_icon_textanddisplay_blackYellow_16x16.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/by/uio_icon_textanddisplay_blackYellow_18x18.png b/infusion/components/uiOptions/images/by/uio_icon_textanddisplay_blackYellow_18x18.png deleted file mode 100644 index e44fef2..0000000 Binary files a/infusion/components/uiOptions/images/by/uio_icon_textanddisplay_blackYellow_18x18.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/default/uio_icon_bigA_default_20x20.png b/infusion/components/uiOptions/images/default/uio_icon_bigA_default_20x20.png deleted file mode 100644 index d08173d..0000000 Binary files a/infusion/components/uiOptions/images/default/uio_icon_bigA_default_20x20.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/default/uio_icon_cancel_default_13x13.png b/infusion/components/uiOptions/images/default/uio_icon_cancel_default_13x13.png deleted file mode 100644 index ebdfe67..0000000 Binary files a/infusion/components/uiOptions/images/default/uio_icon_cancel_default_13x13.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/default/uio_icon_layoutandnavigation_defaultInverted_16x16.png b/infusion/components/uiOptions/images/default/uio_icon_layoutandnavigation_defaultInverted_16x16.png deleted file mode 100644 index efc12d1..0000000 Binary files a/infusion/components/uiOptions/images/default/uio_icon_layoutandnavigation_defaultInverted_16x16.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/default/uio_icon_layoutandnavigation_default_16x16.png b/infusion/components/uiOptions/images/default/uio_icon_layoutandnavigation_default_16x16.png deleted file mode 100644 index c2d1897..0000000 Binary files a/infusion/components/uiOptions/images/default/uio_icon_layoutandnavigation_default_16x16.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/default/uio_icon_layoutandnavigation_default_18x18.png b/infusion/components/uiOptions/images/default/uio_icon_layoutandnavigation_default_18x18.png deleted file mode 100644 index 0cf45d5..0000000 Binary files a/infusion/components/uiOptions/images/default/uio_icon_layoutandnavigation_default_18x18.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/default/uio_icon_linesNarrow_default_16x12.png b/infusion/components/uiOptions/images/default/uio_icon_linesNarrow_default_16x12.png deleted file mode 100644 index 3b36275..0000000 Binary files a/infusion/components/uiOptions/images/default/uio_icon_linesNarrow_default_16x12.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/default/uio_icon_linesWide_default_16x21.png b/infusion/components/uiOptions/images/default/uio_icon_linesWide_default_16x21.png deleted file mode 100644 index 6acaaba..0000000 Binary files a/infusion/components/uiOptions/images/default/uio_icon_linesWide_default_16x21.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/default/uio_icon_linksandbuttons_defaultInverted_16x16.png b/infusion/components/uiOptions/images/default/uio_icon_linksandbuttons_defaultInverted_16x16.png deleted file mode 100644 index c682024..0000000 Binary files a/infusion/components/uiOptions/images/default/uio_icon_linksandbuttons_defaultInverted_16x16.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/default/uio_icon_linksandbuttons_default_16x16.png b/infusion/components/uiOptions/images/default/uio_icon_linksandbuttons_default_16x16.png deleted file mode 100644 index b0635f5..0000000 Binary files a/infusion/components/uiOptions/images/default/uio_icon_linksandbuttons_default_16x16.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/default/uio_icon_linksandbuttons_default_18x18.png b/infusion/components/uiOptions/images/default/uio_icon_linksandbuttons_default_18x18.png deleted file mode 100644 index 14bf71b..0000000 Binary files a/infusion/components/uiOptions/images/default/uio_icon_linksandbuttons_default_18x18.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/default/uio_icon_reset_defaultInverted_16x16.png b/infusion/components/uiOptions/images/default/uio_icon_reset_defaultInverted_16x16.png deleted file mode 100644 index b05d4b8..0000000 Binary files a/infusion/components/uiOptions/images/default/uio_icon_reset_defaultInverted_16x16.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/default/uio_icon_save_default_13x13.png b/infusion/components/uiOptions/images/default/uio_icon_save_default_13x13.png deleted file mode 100644 index cc15e4d..0000000 Binary files a/infusion/components/uiOptions/images/default/uio_icon_save_default_13x13.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/default/uio_icon_sliderhandle.png b/infusion/components/uiOptions/images/default/uio_icon_sliderhandle.png deleted file mode 100644 index e6697c0..0000000 Binary files a/infusion/components/uiOptions/images/default/uio_icon_sliderhandle.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/default/uio_icon_smallA_default_10x10.png b/infusion/components/uiOptions/images/default/uio_icon_smallA_default_10x10.png deleted file mode 100644 index 98ed6ad..0000000 Binary files a/infusion/components/uiOptions/images/default/uio_icon_smallA_default_10x10.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/default/uio_icon_textanddisplay_defaultInverted_16x16.png b/infusion/components/uiOptions/images/default/uio_icon_textanddisplay_defaultInverted_16x16.png deleted file mode 100644 index 5ffae8c..0000000 Binary files a/infusion/components/uiOptions/images/default/uio_icon_textanddisplay_defaultInverted_16x16.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/default/uio_icon_textanddisplay_default_16x16.png b/infusion/components/uiOptions/images/default/uio_icon_textanddisplay_default_16x16.png deleted file mode 100644 index 96f78ac..0000000 Binary files a/infusion/components/uiOptions/images/default/uio_icon_textanddisplay_default_16x16.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/default/uio_icon_textanddisplay_default_18x18.png b/infusion/components/uiOptions/images/default/uio_icon_textanddisplay_default_18x18.png deleted file mode 100644 index fe880f5..0000000 Binary files a/infusion/components/uiOptions/images/default/uio_icon_textanddisplay_default_18x18.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/wb/uio_icon_bigA_hci_20x20.png b/infusion/components/uiOptions/images/wb/uio_icon_bigA_hci_20x20.png deleted file mode 100644 index e8b6a79..0000000 Binary files a/infusion/components/uiOptions/images/wb/uio_icon_bigA_hci_20x20.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/wb/uio_icon_cancel_hci_13x13.png b/infusion/components/uiOptions/images/wb/uio_icon_cancel_hci_13x13.png deleted file mode 100644 index 269ccfa..0000000 Binary files a/infusion/components/uiOptions/images/wb/uio_icon_cancel_hci_13x13.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/wb/uio_icon_layoutandnavigation_hciInverted_16x16.png b/infusion/components/uiOptions/images/wb/uio_icon_layoutandnavigation_hciInverted_16x16.png deleted file mode 100644 index 23df916..0000000 Binary files a/infusion/components/uiOptions/images/wb/uio_icon_layoutandnavigation_hciInverted_16x16.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/wb/uio_icon_layoutandnavigation_hci_16x16.png b/infusion/components/uiOptions/images/wb/uio_icon_layoutandnavigation_hci_16x16.png deleted file mode 100644 index efc12d1..0000000 Binary files a/infusion/components/uiOptions/images/wb/uio_icon_layoutandnavigation_hci_16x16.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/wb/uio_icon_layoutandnavigation_hci_18x18.png b/infusion/components/uiOptions/images/wb/uio_icon_layoutandnavigation_hci_18x18.png deleted file mode 100644 index 30e4c17..0000000 Binary files a/infusion/components/uiOptions/images/wb/uio_icon_layoutandnavigation_hci_18x18.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/wb/uio_icon_linesNarrow_hci_16x12.png b/infusion/components/uiOptions/images/wb/uio_icon_linesNarrow_hci_16x12.png deleted file mode 100644 index 7dbcc65..0000000 Binary files a/infusion/components/uiOptions/images/wb/uio_icon_linesNarrow_hci_16x12.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/wb/uio_icon_linesWide_hci_16x21.png b/infusion/components/uiOptions/images/wb/uio_icon_linesWide_hci_16x21.png deleted file mode 100644 index b77835f..0000000 Binary files a/infusion/components/uiOptions/images/wb/uio_icon_linesWide_hci_16x21.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/wb/uio_icon_linksandbuttons_hciInverted_16x16.png b/infusion/components/uiOptions/images/wb/uio_icon_linksandbuttons_hciInverted_16x16.png deleted file mode 100644 index 679d5ba..0000000 Binary files a/infusion/components/uiOptions/images/wb/uio_icon_linksandbuttons_hciInverted_16x16.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/wb/uio_icon_linksandbuttons_hci_16x16.png b/infusion/components/uiOptions/images/wb/uio_icon_linksandbuttons_hci_16x16.png deleted file mode 100644 index c682024..0000000 Binary files a/infusion/components/uiOptions/images/wb/uio_icon_linksandbuttons_hci_16x16.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/wb/uio_icon_linksandbuttons_hci_18x18.png b/infusion/components/uiOptions/images/wb/uio_icon_linksandbuttons_hci_18x18.png deleted file mode 100644 index c81d34a..0000000 Binary files a/infusion/components/uiOptions/images/wb/uio_icon_linksandbuttons_hci_18x18.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/wb/uio_icon_reset_hciInverted_16x16.png b/infusion/components/uiOptions/images/wb/uio_icon_reset_hciInverted_16x16.png deleted file mode 100644 index fd6dd74..0000000 Binary files a/infusion/components/uiOptions/images/wb/uio_icon_reset_hciInverted_16x16.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/wb/uio_icon_reset_hci_16x16.png b/infusion/components/uiOptions/images/wb/uio_icon_reset_hci_16x16.png deleted file mode 100644 index b05d4b8..0000000 Binary files a/infusion/components/uiOptions/images/wb/uio_icon_reset_hci_16x16.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/wb/uio_icon_save_hci_13x13.png b/infusion/components/uiOptions/images/wb/uio_icon_save_hci_13x13.png deleted file mode 100644 index ea09152..0000000 Binary files a/infusion/components/uiOptions/images/wb/uio_icon_save_hci_13x13.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/wb/uio_icon_smallA_hci_10x10.png b/infusion/components/uiOptions/images/wb/uio_icon_smallA_hci_10x10.png deleted file mode 100644 index 4fd3fdf..0000000 Binary files a/infusion/components/uiOptions/images/wb/uio_icon_smallA_hci_10x10.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/wb/uio_icon_textanddisplay_hciInverted_16x16.png b/infusion/components/uiOptions/images/wb/uio_icon_textanddisplay_hciInverted_16x16.png deleted file mode 100644 index aef4db2..0000000 Binary files a/infusion/components/uiOptions/images/wb/uio_icon_textanddisplay_hciInverted_16x16.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/wb/uio_icon_textanddisplay_hci_16x16.png b/infusion/components/uiOptions/images/wb/uio_icon_textanddisplay_hci_16x16.png deleted file mode 100644 index 5ffae8c..0000000 Binary files a/infusion/components/uiOptions/images/wb/uio_icon_textanddisplay_hci_16x16.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/wb/uio_icon_textanddisplay_hci_18x18.png b/infusion/components/uiOptions/images/wb/uio_icon_textanddisplay_hci_18x18.png deleted file mode 100644 index bcc9d8b..0000000 Binary files a/infusion/components/uiOptions/images/wb/uio_icon_textanddisplay_hci_18x18.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/yb/uio_icon_bigA_yellowBlack_20x20.png b/infusion/components/uiOptions/images/yb/uio_icon_bigA_yellowBlack_20x20.png deleted file mode 100644 index 0f6684c..0000000 Binary files a/infusion/components/uiOptions/images/yb/uio_icon_bigA_yellowBlack_20x20.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/yb/uio_icon_cancel_yellowBlack_13x13.png b/infusion/components/uiOptions/images/yb/uio_icon_cancel_yellowBlack_13x13.png deleted file mode 100644 index 7973014..0000000 Binary files a/infusion/components/uiOptions/images/yb/uio_icon_cancel_yellowBlack_13x13.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/yb/uio_icon_layoutandnavigation_yellowBlackInverted_16x16.png b/infusion/components/uiOptions/images/yb/uio_icon_layoutandnavigation_yellowBlackInverted_16x16.png deleted file mode 100644 index 23df916..0000000 Binary files a/infusion/components/uiOptions/images/yb/uio_icon_layoutandnavigation_yellowBlackInverted_16x16.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/yb/uio_icon_layoutandnavigation_yellowBlack_16x16.png b/infusion/components/uiOptions/images/yb/uio_icon_layoutandnavigation_yellowBlack_16x16.png deleted file mode 100644 index 93df10b..0000000 Binary files a/infusion/components/uiOptions/images/yb/uio_icon_layoutandnavigation_yellowBlack_16x16.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/yb/uio_icon_layoutandnavigation_yellowBlack_18x18.png b/infusion/components/uiOptions/images/yb/uio_icon_layoutandnavigation_yellowBlack_18x18.png deleted file mode 100644 index 260fa63..0000000 Binary files a/infusion/components/uiOptions/images/yb/uio_icon_layoutandnavigation_yellowBlack_18x18.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/yb/uio_icon_linesNarrow_yellowBlack_16x12.png b/infusion/components/uiOptions/images/yb/uio_icon_linesNarrow_yellowBlack_16x12.png deleted file mode 100644 index 244e2d4..0000000 Binary files a/infusion/components/uiOptions/images/yb/uio_icon_linesNarrow_yellowBlack_16x12.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/yb/uio_icon_linesWide_yellowBlack_16x21.png b/infusion/components/uiOptions/images/yb/uio_icon_linesWide_yellowBlack_16x21.png deleted file mode 100644 index 21cbe31..0000000 Binary files a/infusion/components/uiOptions/images/yb/uio_icon_linesWide_yellowBlack_16x21.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/yb/uio_icon_linksandbuttons_yellowBlackInverted_16x16.png b/infusion/components/uiOptions/images/yb/uio_icon_linksandbuttons_yellowBlackInverted_16x16.png deleted file mode 100644 index 679d5ba..0000000 Binary files a/infusion/components/uiOptions/images/yb/uio_icon_linksandbuttons_yellowBlackInverted_16x16.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/yb/uio_icon_linksandbuttons_yellowBlack_16x16.png b/infusion/components/uiOptions/images/yb/uio_icon_linksandbuttons_yellowBlack_16x16.png deleted file mode 100644 index dd7d093..0000000 Binary files a/infusion/components/uiOptions/images/yb/uio_icon_linksandbuttons_yellowBlack_16x16.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/yb/uio_icon_linksandbuttons_yellowBlack_18x18.png b/infusion/components/uiOptions/images/yb/uio_icon_linksandbuttons_yellowBlack_18x18.png deleted file mode 100644 index 94e64fc..0000000 Binary files a/infusion/components/uiOptions/images/yb/uio_icon_linksandbuttons_yellowBlack_18x18.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/yb/uio_icon_reset_yellowBlackInverted_16x16.png b/infusion/components/uiOptions/images/yb/uio_icon_reset_yellowBlackInverted_16x16.png deleted file mode 100644 index fd6dd74..0000000 Binary files a/infusion/components/uiOptions/images/yb/uio_icon_reset_yellowBlackInverted_16x16.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/yb/uio_icon_save_yellowBlack_13x13.png b/infusion/components/uiOptions/images/yb/uio_icon_save_yellowBlack_13x13.png deleted file mode 100644 index e196505..0000000 Binary files a/infusion/components/uiOptions/images/yb/uio_icon_save_yellowBlack_13x13.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/yb/uio_icon_smallA_yellowBlack_10x10.png b/infusion/components/uiOptions/images/yb/uio_icon_smallA_yellowBlack_10x10.png deleted file mode 100644 index 513f0f2..0000000 Binary files a/infusion/components/uiOptions/images/yb/uio_icon_smallA_yellowBlack_10x10.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/yb/uio_icon_textanddisplay_yellowBlackInverted_16x16.png b/infusion/components/uiOptions/images/yb/uio_icon_textanddisplay_yellowBlackInverted_16x16.png deleted file mode 100644 index aef4db2..0000000 Binary files a/infusion/components/uiOptions/images/yb/uio_icon_textanddisplay_yellowBlackInverted_16x16.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/yb/uio_icon_textanddisplay_yellowBlack_16x16.png b/infusion/components/uiOptions/images/yb/uio_icon_textanddisplay_yellowBlack_16x16.png deleted file mode 100644 index 2fcd45a..0000000 Binary files a/infusion/components/uiOptions/images/yb/uio_icon_textanddisplay_yellowBlack_16x16.png and /dev/null differ diff --git a/infusion/components/uiOptions/images/yb/uio_icon_textanddisplay_yellowBlack_18x18.png b/infusion/components/uiOptions/images/yb/uio_icon_textanddisplay_yellowBlack_18x18.png deleted file mode 100644 index 3430819..0000000 Binary files a/infusion/components/uiOptions/images/yb/uio_icon_textanddisplay_yellowBlack_18x18.png and /dev/null differ diff --git a/infusion/components/uiOptions/js/FatPanelUIOptions.js b/infusion/components/uiOptions/js/FatPanelUIOptions.js deleted file mode 100644 index 2156a48..0000000 --- a/infusion/components/uiOptions/js/FatPanelUIOptions.js +++ /dev/null @@ -1 +0,0 @@ -var fluid_1_4=fluid_1_4||{};(function($,fluid){fluid.defaults("fluid.uiOptions.fatPanelEventBinder",{gradeNames:["fluid.eventedComponent","autoInit"],finalInitFunction:"fluid.uiOptions.fatPanelEventBinder.finalInit",components:{uiOptionsLoader:{type:"fluid.uiOptions.loader"},slidingPanel:{type:"fluid.slidingPanel"}}});fluid.defaults("fluid.uiOptions.fatPanelEventBinder.binder",{gradeNames:["fluid.eventedComponent","autoInit"]});fluid.registerNamespace("fluid.dom");fluid.dom.getDocumentHeight=function(dokkument){var body=$("body",dokkument)[0];return body.offsetHeight};fluid.uiOptions.fatPanelEventBinder.updateView=function(uiOptions){uiOptions.uiEnhancer.updateFromSettingsStore();uiOptions.events.onSignificantDOMChange.fire()};fluid.uiOptions.fatPanelEventBinder.bindLateEvents=function(uiOptions,eventBinder,fatPanel){eventBinder.uiOptions=uiOptions;uiOptions.events.modelChanged.addListener(function(model){eventBinder.uiEnhancer.updateModel(model.selections);uiOptions.save()});uiOptions.events.onReset.addListener(function(uiOptions){fluid.uiOptions.fatPanelEventBinder.updateView(uiOptions)});uiOptions.events.onSignificantDOMChange.addListener(function(){var dokkument=uiOptions.container[0].ownerDocument;var height=fluid.dom.getDocumentHeight(dokkument);var iframe=fatPanel.markupRenderer.iframe;var attrs={height:height+15};iframe.animate(attrs,400)});fatPanel.slidingPanel.events.afterPanelHide.addListener(function(){fatPanel.markupRenderer.iframe.height(0)})};fluid.uiOptions.fatPanelEventBinder.finalInit=function(that){that.slidingPanel.events.afterPanelShow.addListener(function(){fluid.uiOptions.fatPanelEventBinder.updateView(that.uiOptions)})};fluid.uiOptions.fatPanelEventBinder.showPanel=function(panel,callback){panel.show();setTimeout(callback,1)};fluid.defaults("fluid.uiOptions.fatPanel",{gradeNames:["fluid.viewComponent"],selectors:{iframe:".flc-uiOptions-iframe"},relativePrefix:"./",components:{slidingPanel:{type:"fluid.slidingPanel",container:"{fatPanel}.container",options:{invokers:{operateShow:{funcName:"fluid.uiOptions.fatPanelEventBinder.showPanel"}}},createOnEvent:"afterRender"},markupRenderer:{type:"fluid.uiOptions.renderIframe",container:"{fatPanel}.dom.iframe",options:{markupProps:{src:"%prefix/FatPanelUIOptionsFrame.html"},events:{afterRender:"{fatPanel}.events.afterRender"}}},uiEnhancer:"{uiEnhancer}",eventBinder:{type:"fluid.uiOptions.fatPanelEventBinder",options:{components:{uiEnhancer:"{fatPanel}.uiEnhancer",uiOptionsLoader:"{fatPanel}.bridge.uiOptionsLoader",slidingPanel:"{fatPanel}.slidingPanel",binder:{type:"fluid.uiOptions.fatPanelEventBinder.binder",priority:"last",options:{events:{onUIOptionsComponentReady:{event:"{uiOptionsLoader}.events.onUIOptionsComponentReady",args:["{arguments}.0","{fluid.uiOptions.fatPanelEventBinder}","{fatPanel}"]}},listeners:{onUIOptionsComponentReady:fluid.uiOptions.fatPanelEventBinder.bindLateEvents}}}}},createOnEvent:"afterRender",priority:"last"},bridge:{type:"fluid.uiOptions.bridge",createOnEvent:"afterRender",priority:"first",options:{components:{uiEnhancer:"{fatPanel}.uiEnhancer",markupRenderer:"{fatPanel}.markupRenderer"}}}},uiOptionsTransform:{transformer:"fluid.uiOptions.mapOptions",config:{"*.slidingPanel":"slidingPanel","*.markupRenderer":"markupRenderer","*.markupRenderer.options.prefix":"prefix","*.eventBinder":"eventBinder","selectors.iframe":"iframe","*.bridge.options.templateLoader":"templateLoader","*.bridge.options.prefix":"relativePrefix","*.bridge.options.uiOptionsLoader":"uiOptionsLoader","*.bridge.options.uiOptions":"uiOptions","*.bridge.options.textControls":"textControls","*.bridge.options.layoutControls":"layoutControls","*.bridge.options.linksControls":"linksControls","*.bridge.options.uiEnhancer":"uiEnhancer"}},events:{afterRender:null}});fluid.defaults("fluid.uiOptions.renderIframe",{gradeNames:["fluid.viewComponent","autoInit"],finalInitFunction:"fluid.uiOptions.renderIframe.finalInit",events:{afterRender:null},styles:{containerFlex:"fl-container-flex",container:"fl-uiOptions-fatPanel-iframe"},prefix:"./",markupProps:{style:"overflow-x:hidden; overflow-y:auto;","class":"flc-iframe",src:"%prefix/uiOptionsIframe.html"}});fluid.uiOptions.renderIframe.finalInit=function(that){var styles=that.options.styles;that.options.markupProps.src=fluid.stringTemplate(that.options.markupProps.src,{"prefix/":that.options.prefix});that.iframeSrc=that.options.markupProps.src;that.iframe=$("