From 1497e961199fbe95ea8de1c17e14cdfe95443f24 2011-07-21 03:42:32
From: Brian Granger <ellisonbg@gmail.com>
Date: 2011-07-21 03:42:32
Subject: [PATCH] Updating jquery UI and themes.

---

diff --git a/IPython/frontend/html/notebook/static/jquery/css/jquery.wijmo-open.1.1.3.css b/IPython/frontend/html/notebook/static/jquery/css/jquery.wijmo-open.1.1.3.css
deleted file mode 100755
index c8a9fb1..0000000
--- a/IPython/frontend/html/notebook/static/jquery/css/jquery.wijmo-open.1.1.3.css
+++ /dev/null
@@ -1,1760 +0,0 @@
-.ui-helper-horizontal > DIV,
-.ui-helper-horizontal > LI,
-.ui-helper-horizontal > SPAN,
-.ui-helper-horizontal > LABEL,
-.ui-helper-horizontal > H1,
-.ui-helper-horizontal > H2,
-.ui-helper-horizontal > H3,
-.ui-helper-horizontal > H4
-{
-    float: left;
-    clear: none;
-    display: block;
-}  /* WijSlider  horizontal
-----------------------------------*/
-.wijmo-wijslider-horizontal
-{
-	position: relative;
-}     
-        
-.wijmo-wijslider-horizontal .wijmo-wijslider-track
-{
-    
-}
-        
-.wijmo-wijslider-horizontal .wijmo-wijslider-decbutton
-{
-    position: absolute;
-    left: 0px;
-    right: auto;
-    cursor:pointer;
-}
-
-.wijmo-wijslider-horizontal .wijmo-wijslider-incbutton
-{
-    position: absolute;
-    left: auto;
-    right: 0px;
-    cursor:pointer;
-}
-
-  /* WijSlider  vertical
-----------------------------------*/
-.wijmo-wijslider-vertical
-{
-	position: relative;
-}     
-        
-.wijmo-wijslider-vertical .wijmo-wijslider-track
-{
-    
-}
-        
-.wijmo-wijslider-vertical .wijmo-wijslider-decbutton
-{
-    position: absolute;
-    top: 0px;
-    bottom: auto;
-    cursor:pointer;
-}
-
-.wijmo-wijslider-vertical .wijmo-wijslider-incbutton
-{
-    position: absolute;
-    top: auto;
-    bottom: 0px;
-    cursor:pointer;
-}/* WijSplitter
-----------------------------------*/
-
-.wijmo-wijsplitter-vertical
-{
-    overflow: hidden; 
-    /* fixed bug for IE6.7 */
-    position: relative;
-}
-.wijmo-wijsplitter-v-panel1
-{
-    float: left;
-    position: relative;
-}
-.wijmo-wijsplitter-v-panel1-content
-{
-    position: relative;
-}
-.wijmo-wijsplitter-v-bar
-{
-    float: left;
-    position: relative;
-    font-size: 1px;
-    width: 2px;
-    z-index:99;
-}
-
-.wijmo-wijsplitter-vertical .ui-resizable-e
-{
-	right:-7px;
-	width:10px;
-	z-index:999;
-	display:block;
-	background-color:white;
-	filter:alpha(opacity=0);
-	-moz-opacity:0;
-	opacity: 0;
-}
-
-*html .wijmo-wijsplitter-vertical .ui-resizable-e
-{
-	right:-4px;
-}
-
-*+html .wijmo-wijsplitter-vertical .ui-resizable-e
-{
-	right:-4px;
-}
-
-.wijmo-wijsplitter-v-expander
-{
-    position: absolute;
-    z-index: 999;
-}
-
-.wijmo-wijsplitter-v-expanded .wijmo-wijsplitter-v-expander
-{
-        left: -18px;
-        z-index: 999;
-}
-
-.wijmo-wijsplitter-v-collapsed .wijmo-wijsplitter-v-expander
-{
-        right: -18px;
-        z-index: 999;
-}
-
-.wijmo-wijsplitter-v-panel2
-{
-    float: left;
-}
-.wijmo-wijsplitter-v-panel2-content
-{
-    position: relative;
-}
-.wijmo-wijsplitter-v-resize-hepler
-{
-    border-right: dotted 1px black;
-    overflow: hidden;
-    border-bottom: dotted 0 black;
-}
-
-.wijmo-wijsplitter-horizontal
-{
-    overflow: hidden;
-    /* fixed bug for IE6.7 */
-    position: relative;
-}
-.wijmo-wijsplitter-h-panel1
-{
-    position: relative;
-}
-.wijmo-wijsplitter-h-panel1-content
-{
-    overflow: auto;
-    position: relative;
-}
-.wijmo-wijsplitter-h-bar
-{
-    position: relative;
-    font-size: 1px;
-    height: 2px;
-    z-index:999;
-}
-
-.wijmo-wijsplitter-horizontal .ui-resizable-s
-{
-	bottom:-7px;
-	height:10px;
-	z-index:999;
-	display:block;
-	background-color:white;
-	filter:alpha(opacity=0);
-	-moz-opacity:0;
-	opacity: 0;
-}
-
-*html .wijmo-wijsplitter-horizontal .ui-resizable-s
-{
-	bottom:-4px;
-}
-
-*+html .wijmo-wijsplitter-horizontal .ui-resizable-s
-{
-	bottom:-4px;
-}
-
-.wijmo-wijsplitter-h-expander
-{
-    position: absolute;
-    z-index: 999;
-}
-
-
-.wijmo-wijsplitter-h-expanded .wijmo-wijsplitter-h-expander
-{
-        top: -18px;
-}
-
-.wijmo-wijsplitter-h-collapsed .wijmo-wijsplitter-h-expander
-{
-        bottom: -18px;
-}
-
-.wijmo-wijsplitter-h-panel2
-{
-}
-.wijmo-wijsplitter-h-panel2-content
-{
-    overflow: auto;
-    position: relative;
-}
-.wijmo-wijsplitter-h-resize-hepler
-{
-    border-bottom: dotted 1px black;
-    overflow: hidden;
-    border-right: dotted 0 black;
-}
-
-
-
-.wijmo-wijprogressbar
-{
-    moz-user-select: none;
-    text-align: left;
-    float: left;
-    position: relative;
-    overflow: hidden;
-}
-
-.wijmo-wijprogressbar .ui-progressbar-value
-{
-    position: absolute;
-    border-width: 0;
-    margin: 0;
-}
-
-div.wijmo-wijprogressbar-east
-{
-    width: 200px;
-    height: 1.1em;
-}
-div.wijmo-wijprogressbar-west
-{
-    width: 200px;
-    height: 1.1em;
-}
-div.wijmo-wijprogressbar-south
-{
-    height: 200px;
-    width: 1.1em;
-    line-height: 100%;
-}
-
-div.wijmo-wijprogressbar-north
-{
-    height: 200px;
-    width: 1.1em;
-    line-height: 100%;
-}
-
-.wijmo-wijprogressbar-east .ui-progressbar-value
-{
-    left: 0;
-    height: 100%;
-}
-.wijmo-wijprogressbar-west .ui-progressbar-value
-{
-    right: 0;
-    height: 100%;
-}
-.wijmo-wijprogressbar-south .ui-progressbar-value
-{
-    top: 0;
-    width: 100%;
-}
-
-.wijmo-wijprogressbar-north .ui-progressbar-value
-{
-    bottom: 0;
-    width: 100%;
-}
-
-.wijmo-wijprogressbar .lb_west, .wijmo-wijprogressbar .lb_east, .wijmo-wijprogressbar .lb_south, .wijmo-wijprogressbar .lb_north, .wijmo-wijprogressbar .lb_center
-{
-    display: block; position:absolute; 
-}
-
-.wijmo-wijprogressbar .lb_west
-{
-    text-align: left;
-}
-.wijmo-wijprogressbar .lb_east
-{
-    text-align: right;
-}
-.wijmo-wijprogressbar .lb_south
-{
-    width: 100%;
-    text-align: center;
-    position: absolute;
-    bottom: 0;
-}
-.wijmo-wijprogressbar .lb_north
-{
-    width: 100%;
-    text-align: center;
-    top: 0;
-}
-.wijmo-wijprogressbar .lb_center
-{
-    width: 100%;
-    text-align: center;
-}
-.wijmo-wijprogressbar .lb_running
-{
-    position: absolute;
-    left: auto;
-    top: auto;
-}
-
-.wijmo-wijprogressbar-east .lb_running, .wijmo-wijprogressbar-west .lb_running
-{
-    width: auto;
-    height: 100%;
-}
-.wijmo-wijprogressbar-south .lb_running, .wijmo-wijprogressbar-north .lb_running
-{
-    width: 100%;
-    height: auto;
-    text-align: center;
-    -webkit-transform: rotate(-90deg);
-    -moz-transform: rotate(-90deg);    
-}
-
-.wijmo-wijprogressbar-west .ui-progressbar-label
-{
-    position: absolute;
-    right: 0;
-}
-.wijmo-wijprogressbar-north .ui-progressbar-label, .wijmo-wijprogressbar-south .ui-progressbar-label
-{
-    position: absolute;
-    -webkit-transform: rotate(-90deg);
-    -moz-transform: rotate(-90deg);
-}
-.wijmo-wijdialog-captionbutton { 
-	height:18px;
-	padding:1px;
-	width:19px;
-	display: inline-block;
-	margin-right:.2em;
-	outline:none;
-	text-align: left;
-}
-.wijmo-wijdialog-captionbutton:hover,
-.wijmo-wijdialog-captionbutton .ui-state-focus { 
-	padding: 0;
-}
-.wijmo-wijdialog-captionbutton .ui-icon{
-	margin:1px;
-}
-.wijmo-wijdialog .wijmo-wijdialog-hasframe{
-	padding: 0;
-}
-.wijmo-wijdialog-defaultdockingzone { position:fixed; bottom: 0px;left:0px; }
-
-.ui-dialog-titlebar {/* extend jquery.ui.dialog.css*/
-	text-align: right;
-}
-
-/* for ie 6 minimize*/
-* html .wijmo-wijdialog-defaultdockingzone .ui-dialog-titlebar {
-	float:left;
-}
-/*.wijmo-wijaccordion.ui-helper-horizontal > .ui-widget-content
-{
-    width: 200px;
-    height: 200px;  
-    padding-top:0;
-    padding-bottom:0;  
-    margin-top:0;
-    margin-bottom:0;    
-}
-
-.wijmo-wijaccordion.ui-helper-horizontal > .ui-accordion-header
-{
-    height: 200px;	
-    padding-top:0;
-    padding-bottom:0;
-    margin-top:0;
-    margin-bottom:0;    
-}*/
-
-
-.ui-accordion a
-{
-    outline: none;
-}
-
-/* RIGHT */
-
-.ui-accordion-right .ui-accordion-header
-{
-    margin-top: 0;
-    margin-left: 1px;
-    width: 2em;
-    height: 12em;
-    overflow: hidden;
-}
-
-.ui-accordion-right .ui-accordion-content
-{
-    margin: 0;
-    height: 200px;
-    width: 36em;
-    height: 12em;
-    padding: 0 2.2em;
-}
-.ui-accordion-right .ui-accordion-content
-{
-    top: 0;
-    margin-left: -2px;
-    padding: 1px;
-    border: none;
-}
-
-
-.ui-accordion-right .ui-state-active
-{
-    border-right: none;
-}
-
-.ui-accordion-right .ui-accordion-header a
-{
-    padding: 2.2em 0 0 0;
-    text-align: center;
-}
-
-
-.ui-accordion-right .ui-accordion-header .ui-icon
-{
-    top: 10%;
-}
-
-
-/* LEFT */
-
-.ui-accordion-left .ui-accordion-header
-{
-    margin-top: 0;
-    margin-right: 1px;
-    width: 2em;
-    height: 12em;
-    overflow: hidden;
-}
-
-.ui-accordion-left .ui-accordion-content
-{
-    margin: 0;
-    height: 200px;
-    width: 36em;
-    height: 12em;
-    padding: 0 2.2em;
-}
-.ui-accordion-left .ui-accordion-content
-{
-    border: none;
-    padding: 1px;
-    top: 0;
-    margin-right: -2px;
-}
-
-
-.ui-accordion-left .ui-state-active
-{
-    border-left: none;
-}
-
-.ui-accordion-left .ui-accordion-header a
-{
-    padding: 2.2em 0 0 0;
-    text-align: center;
-}
-
-
-.ui-accordion-left .ui-accordion-header .ui-icon
-{
-    top: 10%;
-}
-/* SuperPanel
-----------------------------------*/
-.wijmo-wijsuperpanel
-{
-    overflow: hidden;
-    outline: none;
-    background-image: none;
-}
-.wijmo-wijsuperpanel-statecontainer
-{
-    overflow: hidden;
-    position: relative;
-    zoom:1;
-}
-.wijmo-wijsuperpanel-contentwrapper
-{
-    position: absolute;
-    overflow: hidden;
-
-}
-.wijmo-wijsuperpanel-hbarcontainer, .wijmo-wijsuperpanel-vbarcontainer
-{
-    font-size: 0px;
-    border:0;
-}
-.wijmo-wijsuperpanel-templateouterwrapper
-{
-    position: relative; 
-/*    overflow:auto; */
-    zoom: 1;
-}
-
-.wijmo-wijsuperpanel-vbarcontainer .ui-state-default, .wijmo-wijsuperpanel-hbarcontainer .ui-state-default
-{
-    width: 16px;
-    height: 16px;
-    position: absolute;
-}
-.wijmo-wijsuperpanel .wijmo-wijsuperpanel-vbarcontainer
-{
-    position: absolute;
-    width: 18px;
-    padding-top: 18px;
-    padding-bottom: 18px;
-    border: none;
-}
-.wijmo-wijsuperpanel .wijmo-wijsuperpanel-hbarcontainer
-{
-    position: absolute;
-    height: 18px;
-    padding-left: 18px;
-    padding-right: 18px;
-    border: none;
-}
-.wijmo-wijsuperpanel-handle
-{
-    position: absolute;
-    font-size:0px;
-    overflow:hidden;
-}
-.wijmo-wijsuperpanel-handle *
-{
-    font-size:0px;
-}
-.wijmo-wijsuperpanel-helper
-{
-    border-style: dotted;
-    background: transparent;
-}
-
-.wijmo-wijsuperpanel-button
-{
-    position: absolute;
-    padding: 4px;
-}
-.wijmo-wijsuperpanel .ui-icon-gripsmall-diagonal-se
-{
-    background: none;
-    width: 7px;
-    height: 7px;
-}
-.wijmo-wijsuperpanel-hbar-buttonleft
-{
-    left: 0;
-}
-.wijmo-wijsuperpanel-hbar-buttonright
-{
-    right: 0;
-}
-.wijmo-wijsuperpanel-vbar-buttontop
-{
-    top: 0;
-}
-.wijmo-wijsuperpanel-vbar-buttonbottom
-{
-    bottom: 0;
-}
-.wijmo-wijtextbox
-{
-	outline:none;
-	margin: 0;
-	padding:5px;
-}
-
-.wijmo-wijdropdown
-{
-    display: inline-block;
-    position: relative;
-    width: auto;
-    zoom: 1;
-    *display: inline;
-    width:200px;
-    /*z-index: 101;*/
-}
-
-
-
-
-.wijmo-wijdropdown div.wijmo-dropdown-trigger
-{
-    border-right: none;
-    border-top: none;
-    border-bottom: none;
-    cursor: pointer;
-    width: 16px;
-    height: 100%;
-    position: absolute;
-    right: 0;
-    top: 0;
-    padding: 0 3px;
-}
-
-.wijmo-wijdropdown .wijmo-dropdown-trigger .ui-icon
-{
-    margin-top: 3px;
-}
-
-.wijmo-wijdropdown label.wijmo-dropdown-label
-{
-    display: block;
-    padding: 3px 26px 3px 5px;
-    width: auto;
-    border: none;
-}
-
-.wijmo-wijdropdown .wijmo-dropdown
-{
-    position: absolute; height:250px;
-}
-
-.wijmo-wijdropdown .wijmo-dropdown .wijmo-dropdown-list
-{
-    padding: 0.4em;
-    border: 0 none;
-}
-
-.wijmo-wijdropdown .wijmo-dropdown .wijmo-dropdown-item
-{
-border:1px solid transparent;
-cursor:pointer;
-font-weight:normal;
-margin:1px 0;
-padding:3px 5px;
-text-align:left;
-*border-color: white;
-*filter: chroma(color=white);
-
-}
-
-/*
-.wijmo-wijdropdown .wijmo-dropdown .wijmo-dropdown-optgroup .wijmo-dropdown-items
-{
-    margin-left: 15%;
-}*/
-
-.wijmo-wijdropdown .wijmo-dropdown .wijmo-dropdown-optgroup .wijmo-dropdown-items li
-{
-    padding-left: 10%;
-}
-
-.wijmo-wijdropdown .wijmo-dropdown .wijmo-optgroup-header
-{
-    font-style: italic;
-}
-.wijmo-checkbox
-{
-    position: relative; /*float: left;*/
-    margin: 3px 0;
-    line-height: 16px;
-    width: 16px;
-}
-.wijmo-checkbox .wijmo-checkbox-inputwrapper
-{
-    width: 0;
-    height: 0;
-    overflow: hidden;
-}
-.wijmo-checkbox label
-{
-    display: block;
-    position: relative;
-    margin: 0;
-    cursor: pointer;
-    z-index: 1;
-    padding: 0 0 0 1.4em;
-    outline: none;
-    margin: 0 3px;
-    width: 8em;
-}
-.wijmo-checkbox .wijmo-checkbox-box
-{
-    position: absolute;
-    bottom: 0;
-    left: 0;
-    width: 16px;
-    height: 16px;
-    -moz-border-radius: 2px;
-    -webkit-border-radius: 2px;
-    border-radius: 2px;
-    margin-right: 3px;
-}
-
-.wijmo-checkbox .wijmo-checkbox-relative
-{
-    position: relative;
-    float: left;
-    margin-right: 3px;    
-}
-.wijmo-wijradio
-{
-    position: relative; /*float: left;*/
-    margin: 3px 0;
-    width: 16px;
-    line-height: 16px;
-}
-.wijmo-wijradio .wijmo-wijradio-inputwrapper
-{
-    width: 0;
-    height: 0;
-    overflow: hidden;
-}
-.wijmo-wijradio label
-{
-    display: block;
-    position: relative;
-    margin: 0;
-    cursor: pointer;
-    z-index: 1;
-    padding: 0 0 0 1.4em;
-    outline: none;
-    margin: 0 3px;
-    width: 8em;
-}
-.wijmo-wijradio .wijmo-wijradio-box
-{
-    position: absolute;
-    bottom: 0;
-    left: 0;
-    width: 16px;
-    height: 16px;
-    line-height: 16px;
-    -moz-border-radius: 10px;
-    -webkit-border-radius: 10px;
-    border-radius: 10px;
-}
-.wijmo-wijradio .wijmo-wijradio-relative
-{
-    position: relative;
-    float: left;
-    margin-right: 3px;   
-}
-
-.wijmo-wijlist-list
-{
-    cursor: default;
-    overflow: hidden;
-}
-.wijmo-wijlist-ul
-{
-    list-style: none;
-    padding: 2px;
-    margin: 0;
-    display: block;
-    border: 0px;
-    overflow: hidden;
-}
-.wijmo-wijlist-ul .wijmo-wijlist-item
-{
-    margin: 1px 0;
-    padding: 3px 5px;
-    /*white-space: nowrap;*/
-    cursor: pointer;
-    text-align: left;
-    font-weight: normal;
-    border: solid 1px transparent;
-}
-.wijmo-wijlist-ul .wijmo-wijlist-item.ui-state-hover
-{
-    font-weight: normal;
-}
-
-.wijmo-wijlist .ui-resizable-se
-{
-    width: 7px;
-    height: 7px;
-    background: none;
-}
-.wijmo-wijcalendar
-{
-    -webkit-user-select: none;
-    -moz-user-select: none;
-    display:block;
-}
-
-.wijmo-wijcalendar-header
-{
-    position: relative;
-}
-
-.wijmo-wijcalendar-header-inner
-{
-    margin: 0 1.8em;
-    line-height: 1.8em;
-}
-
-.wijmo-wijcalendar .ui-datepicker-header
-{
-    padding: 1px;
-}
-
-.wijmo-wijcalendar .ui-datepicker-header .ui-state-default
-{
-    border-color: transparent;
-    background: none;
-    color: inherit;
-}
-
-.wijmo-wijcalendar .wijmo-wijcalendar-table
-{
-    table-layout: fixed;
-}
-
-.wijmo-wijcalendar-prevpreview-button, .wijmo-wijcalendar-nextpreview-button
-{
-    width: 16px;
-    margin-top: 35%;
-    float: left;
-}
-
-.wijmo-wijcalendar-nextpreview-button
-{
-    float: right;
-}
-
-.wijmo-wijcalendar-preview-wrapper .wijmo-wijcalendar
-{
-    float: left;
-    width: 18em;
-}
-
-.wijmo-wijcalendar-preview-wrapper .wijmo-wijcalendar .ui-datepicker-calendar
-{
-    width: 80%;
-    float: left;
-}
-
-.wijmo-wijcalendar-title, .wijmo-wijcalendar-selectable
-{
-    cursor: pointer;
-}
-
-.ui-datepicker-other-month
-{
-    text-align: right;
-}
-
-.wijmo-wijcalendar-mygrid td span, .wijmo-wijcalendar-mygrid td a
-{
-    display: block;
-    text-align: center;
-    text-decoration: none;
-    padding: 0;
-}
-
-.wijmo-wijcalendar-mygrid .ui-state-default a, .wijmo-wijcalendar-mygrid .ui-state-default a:hover, .wijmo-wijcalendar-mygrid .ui-state-hover a, .wijmo-wijcalendar-mygrid .ui-state-hover a:hover
-{
-    color: inherit;
-}
-
-.ui-header-custom img, .ui-footer-custom img
-{
-    width: 100%;
-}
-
-.wijmo-wijcalendar table.wijmo-wijcalendar-mygrid
-{
-    margin-top: 2px;
-    border-collapse: separate;
-    table-layout: fixed;
-}
-
-.wijmo-wijcalendar table.wijmo-wijcalendar-mygrid .ui-datepicker-week-day
-{
-    cursor: pointer;
-}
-
-.wijmo-wijcalendar-aniwrapper
-{
-    position: relative;
-    left: 0;
-    top: 0;
-}
-
-.wijmo-wijcalendar-multi-aniwrapper
-{
-    position: absolute;
-    overflow: hidden;
-}
-
-.ui-datepicker-rtl .ui-datepicker-prev .ui-icon, .ui-datepicker-rtl .ui-datepicker-next .ui-icon
-{
-    direction: rtl;
-}
-.wijmo-wijexpander
-{
-    margin: 1px;
-    padding: 0;
-    display: block;
-}
-
-.wijmo-wijexpander a
-{
-    outline: none;
-}
-
-.wijmo-wijexpander .ui-expander-header
-{
-    cursor: pointer;
-    margin-top: 1px;
-    position: relative;
-}
-/*.wijmo-wijexpander.ui-helper-horizontal > .ui-expander-header
-{
-    cursor: pointer;
-    width: 20px;
-    height: 200px;
-}
-.wijmo-wijexpander.ui-state-disabled > .ui-expander-header
-{
-    cursor: default;
-}
-.wijmo-wijexpander > .ui-widget-content
-{
-    height: 100px;
-    overflow: auto;
-}
-.wijmo-wijexpander.ui-state-disabled > .ui-widget-content
-{
-}*/
-
-
-.ui-expander .ui-expander-content
-{
-    border-top: 0 none;
-    display: none;
-    margin-bottom: 2px;
-    margin-top: -2px;
-    overflow: auto;
-    padding: 1em 2.2em;
-    position: relative;
-    top: 1px;
-}
-
-
-.wijmo-wijexpander .ui-expander-header a
-{
-    display: block;
-    font-size: 1em;
-    padding: 0.5em 0.5em 0.5em 0.7em;
-}
-
-.wijmo-wijexpander .ui-expander-header .ui-icon
-{
-    left: 0.5em;
-    margin-top: -8px;
-    position: absolute;
-    top: 50%;
-}
-
-.wijmo-wijexpander .ui-expander-content-active
-{
-    display: block;
-    border-top: 0 none;
-    padding: 1em 2.2em;
-}
-
-
-.wijmo-wijexpander .ui-expander-header > a
-{
-    padding-left: 2.2em;
-}
-
-.ui-helper-horizontal.wijmo-wijexpander .ui-expander-header .ui-icon
-{
-    left: inherit;
-    margin-top: inherit;
-    margin-left: -8px;
-    position: absolute;
-    top: 0.5em;
-    left: 50%;
-}
-
-.ui-helper-horizontal.wijmo-wijexpander .ui-expander-header > a
-{
-    padding-left: inherit;
-    padding-top: 2.2em;
-    display: inline-block;
-}
-
-
-/* RIGHT */
-
-.ui-expander-right .ui-expander-header
-{
-    margin: 0 1px;
-    width: 2em;
-    height: 12em;
-    overflow: hidden;
-}
-
-.ui-expander-right .ui-expander-content
-{
-    margin: 0;
-    height: 200px;
-    width: 12em;
-    height: 12em;
-    padding: 0 2.2em;
-}
-.ui-expander-right .ui-expander-content
-{
-    top: 0;
-    margin-left: -2px;
-    padding: 1px;
-    border: none;
-    margin-right: 1px;
-}
-
-
-.ui-expander-right .ui-state-active
-{
-    border-right: none;
-}
-
-.ui-expander-right .ui-expander-header a
-{
-    padding: 2.2em 0 0 0;
-}
-
-
-.ui-expander-right .ui-expander-header .ui-icon
-{
-    top: 10%;
-}
-
-
-/* LEFT */
-
-.ui-expander-left .ui-expander-header
-{
-    margin: 0 1px;
-    width: 2em;
-    height: 12em;
-    overflow: hidden;
-}
-
-.ui-expander-left .ui-expander-content
-{
-    margin: 0;
-    height: 200px;
-    width: 12em;
-    height: 12em;
-    padding: 0 2.2em;
-}
-.ui-expander-left .ui-expander-content
-{
-    border: none;
-    padding: 1px;
-    top: 0;
-    margin-right: -2px;
-    margin-left: 1px;
-}
-
-
-.ui-expander-left .ui-state-active
-{
-    border-left: none;
-}
-
-.ui-expander-left .ui-expander-header a
-{
-    padding: 2.2em 0 0 0;
-}
-
-
-.ui-expander-left .ui-expander-header .ui-icon
-{
-    top: 10%;
-}
-
-.ui-tabs .ui-tabs-nav li
-{
-    top: 1px;
-}
-
-/* BOTTOM */
-
-.ui-tabs-bottom .ui-tabs-nav li
-{
-    top: -3px;
-    padding: 0;
-    margin: 1px .2em 0 0;
-}
-
-.ui-tabs-bottom .ui-tabs-nav li.ui-tabs-selected
-{
-    margin-top: -1px;
-    padding-bottom: 2px;
-}
-
-.ui-tabs .ui-tabs-nav li
-{
-    border: none;
-}
-
-/* LEFT */
-.ui-tabs-left .ui-tabs-nav
-{
-    float: left;
-    overflow: hidden;
-}
-
-.ui-tabs-left .ui-tabs-nav li
-{
-    white-space: normal;
-    float: right;
-    display: block;
-    width: 98%;
-}
-
-.ui-tabs-left .ui-tabs-nav li a, .ui-tabs-right .ui-tabs-nav li a
-{
-    float: none;
-    display: block;
-}
-
-.ui-tabs-left .ui-tabs-nav li
-{
-    top: -1px;
-    left: 3px;
-    margin-bottom: 2px;
-}
-
-.ui-tabs-left .ui-tabs-panel
-{
-    padding: 1.6em;
-}
-
-.ui-tabs-left .ui-tabs-nav li.ui-tabs-selected
-{
-    border-right: medium none;
-    margin-bottom: 2px;
-}
-.ui-tabs-left .ui-tabs-nav
-{
-    padding: 0.2em 0 0 0;
-}
-
-.ui-tabs-left .wijmo-wijtabs-content
-{
-    float: right;
-    width: 75%;
-    overflow: hidden;
-}
-
-.ui-tabs-left .ui-tabs-nav
-{
-    min-height: 300px;
-    width: 23%;
-    height: 100%;
-}
-
-/* RIGHT */
-
-.ui-tabs-right .ui-tabs-nav
-{
-    float: right;
-    overflow: hidden;
-}
-
-.ui-tabs-right .ui-tabs-nav li
-{
-    white-space: normal;
-    float: left;
-    display: block;
-    width: 98%;
-}
-
-.ui-tabs-right .ui-tabs-nav li
-{
-    top: -1px;
-    left: 0;
-    margin-bottom: 2px;
-}
-
-.ui-tabs-right .ui-tabs-panel
-{
-    padding: 1.6em;
-}
-
-.ui-tabs-right .ui-tabs-nav li.ui-tabs-selected
-{
-    border-left: medium none;
-    margin-bottom: 2px;
-}
-.ui-tabs-right .ui-tabs-nav
-{
-    padding: 0.2em 0 0 0;
-}
-
-.ui-tabs-right .wijmo-wijtabs-content
-{
-    float: left;
-    width: 75%;
-    overflow: hidden;
-}
-
-.ui-tabs-right .ui-tabs-nav
-{
-    min-height: 300px;
-    width: 23%;
-}
-
-
-.ui-tabs-left .ui-tabs-nav li.ui-tabs-selected
-{
-    margin-right: 2px;
-    padding-right: 1px;
-}
-
-.ui-tabs-right .ui-tabs-nav li.ui-tabs-selected
-{
-    margin-left: -1px;
-    padding-left: 1px;
-}
-.wijmo-wijtooltip {
-    position: absolute;
-    z-index: 9999;
-    margin:0;
-}
-
-
-.wijmo-wijtooltip .wijmo-wijtooltip-close
-{
-    background:none repeat scroll 0 0 transparent;
-border:medium none;
-display:block;
-height:16px;
-position:absolute;
-right:3px;
-top:3px;
-width:16px;
-    }
-
-.wijmo-wijtooltip .wijmo-wijtooltip-title
-{
-    background:none repeat scroll 0 0 transparent;
-border:medium none;
-color:inherit;
-padding:0.4em;
-}
-.wijmo-wijtooltip .wijmo-wijtooltip-container
-{
-    padding: 1em;
-    overflow: hidden;
-}
-
-.wijmo-wijtooltip {
-    border-width: 2px;
-}
-
-.wijmo-wijtooltip .wijmo-wijtooltip-pointer, .wijmo-wijtooltip .wijmo-wijtooltip-pointer-inner {
-    background: none;
-    height: 0;
-    position: absolute;
-    width: 0;
-}
-
-.wijmo-wijtooltip-arrow-tr .wijmo-wijtooltip-pointer, .wijmo-wijtooltip-arrow-tc .wijmo-wijtooltip-pointer, .wijmo-wijtooltip-arrow-tl .wijmo-wijtooltip-pointer {
-    border-bottom-width: 14px;
-    border-top: 0 none;
-    top: -14px;
-	
-}
-
-.wijmo-wijtooltip-arrow-tr .wijmo-wijtooltip-pointer {
-    border-left: 18px solid transparent;
-    border-right: 0 none;
-    right: 10px;
-}
-
-.wijmo-wijtooltip-arrow-tc .wijmo-wijtooltip-pointer {
-    border-left: 10px solid transparent;
-    border-right: 10px solid transparent;
-    left: 50%;
-    margin-left: -10px;
-}
-
-.wijmo-wijtooltip-arrow-tl .wijmo-wijtooltip-pointer {
-    border-left: 0 none;
-    border-right: 18px solid transparent;
-    left: 10px;
-}
-
-.wijmo-wijtooltip-arrow-tr .wijmo-wijtooltip-pointer-inner, .wijmo-wijtooltip-arrow-tc .wijmo-wijtooltip-pointer-inner, .wijmo-wijtooltip-arrow-tl .wijmo-wijtooltip-pointer-inner {
-    border-bottom-color: inherit;
-    border-bottom-style: solid;
-    border-bottom-width: 10px;
-    bottom: -14px;
-	*font-size:0;line-height:0;
-}
-
-.wijmo-wijtooltip-arrow-tr .wijmo-wijtooltip-pointer-inner {
-    border-left: 12px solid transparent;
-    border-right: 0 none;
-    right: 2px;
-}
-
-.wijmo-wijtooltip-arrow-tc .wijmo-wijtooltip-pointer-inner {
-    border-left: 8px solid transparent;
-    border-right: 8px solid transparent;
-    left: -8px;
-}
-
-.wijmo-wijtooltip-arrow-tl .wijmo-wijtooltip-pointer-inner {
-    border-left: 0 none;
-    border-right-style: solid;
-    border-right-color: inherit;
-    border-right-width: 12px;
-    left: 2px;
-}
-
-.wijmo-wijtooltip-arrow-rb .wijmo-wijtooltip-pointer, .wijmo-wijtooltip-arrow-rc .wijmo-wijtooltip-pointer, .wijmo-wijtooltip-arrow-rt .wijmo-wijtooltip-pointer {
-    border-left-width: 14px;
-    border-right: 0 none;
-    right: -14px;
-}
-
-.wijmo-wijtooltip-arrow-rb .wijmo-wijtooltip-pointer {
-    border-bottom: 0 none;
-    border-top: 18px solid transparent;
-    bottom: 10px;
-}
-
-.wijmo-wijtooltip-arrow-rc .wijmo-wijtooltip-pointer {
-    border-bottom: 10px solid transparent;
-    border-top: 10px solid transparent;
-    bottom: 50%;
-    margin-bottom: -10px;
-}
-
-.wijmo-wijtooltip-arrow-rt .wijmo-wijtooltip-pointer {
-    border-bottom: 18px solid transparent;
-    border-top: 0 none;
-    top: 10px;
-}
-
-.wijmo-wijtooltip-arrow-rb .wijmo-wijtooltip-pointer-inner, .wijmo-wijtooltip-arrow-rc .wijmo-wijtooltip-pointer-inner, .wijmo-wijtooltip-arrow-rt .wijmo-wijtooltip-pointer-inner {
-    border-left-color: inherit;
-    border-left-style: solid;
-    border-left-width: 10px;
-    left: -14px;
-	*font-size:0;line-height:0;
-}
-
-
-.wijmo-wijtooltip-arrow-rb .wijmo-wijtooltip-pointer-inner {
-    border-bottom: 0 none;
-    border-top-style: solid;
-    border-top-color: inherit;
-    border-top-width: 12px;
-    bottom: 2px;
-}
-
-.wijmo-wijtooltip-arrow-rc .wijmo-wijtooltip-pointer-inner {
-    border-bottom: 8px solid transparent;
-    border-top: 8px solid transparent;
-    bottom: -8px;
-}
-
-.wijmo-wijtooltip-arrow-rt .wijmo-wijtooltip-pointer-inner {
-        border-bottom-style: solid;
-    border-bottom-color: inherit;
-    border-bottom-width: 12px;
-    border-top: 0 none;
-    top: 2px;
-}
-
-.wijmo-wijtooltip-arrow-br .wijmo-wijtooltip-pointer, .wijmo-wijtooltip-arrow-bc .wijmo-wijtooltip-pointer, .wijmo-wijtooltip-arrow-bl .wijmo-wijtooltip-pointer {
-    border-bottom: 0 none;
-    border-top-width: 14px;
-    bottom: -14px;
-	
-}
-
-.wijmo-wijtooltip-arrow-br .wijmo-wijtooltip-pointer {
-    border-left: 18px solid transparent;
-    border-right: 0 none;
-    right: 10px;
-}
-
-.wijmo-wijtooltip-arrow-bc .wijmo-wijtooltip-pointer {
-    border-left: 10px solid transparent;
-    border-right: 10px solid transparent;
-    left: 50%;
-    margin-left: -10px;
-}
-
-.wijmo-wijtooltip-arrow-bl .wijmo-wijtooltip-pointer {
-    border-left: 0 none;
-    border-right: 18px solid transparent;
-    left: 10px;
-}
-
-.wijmo-wijtooltip-arrow-br .wijmo-wijtooltip-pointer-inner, .wijmo-wijtooltip-arrow-bc .wijmo-wijtooltip-pointer-inner, .wijmo-wijtooltip-arrow-bl .wijmo-wijtooltip-pointer-inner {
-    border-top-color: inherit;
-    border-top-style: solid;
-    border-top-width: 10px;
-    top: -14px;
-	*font-size:0;line-height:0;
-}
-
-.wijmo-wijtooltip-arrow-br .wijmo-wijtooltip-pointer-inner {
-    border-left: 12px solid transparent;
-    border-right: 0 none;
-    right: 2px;
-}
-
-.wijmo-wijtooltip-arrow-bc .wijmo-wijtooltip-pointer-inner {
-    border-left: 8px solid transparent;
-    border-right: 8px solid transparent;
-    left: -8px;
-}
-
-.wijmo-wijtooltip-arrow-bl .wijmo-wijtooltip-pointer-inner {
-    border-left: 0 none;
-    border-right: 12px solid transparent;
-    left: 2px;
-}
-
-.wijmo-wijtooltip-arrow-lb .wijmo-wijtooltip-pointer, .wijmo-wijtooltip-arrow-lc .wijmo-wijtooltip-pointer, .wijmo-wijtooltip-arrow-lt .wijmo-wijtooltip-pointer {
-    border-left: 0 none;
-    border-right-width: 14px;
-    left: -14px;
-}
-
-.wijmo-wijtooltip-arrow-lb .wijmo-wijtooltip-pointer {
-    border-bottom: 0 none;
-    border-top: 18px solid transparent;
-    bottom: 10px;
-}
-
-.wijmo-wijtooltip-arrow-lc .wijmo-wijtooltip-pointer {
-    border-bottom: 10px solid transparent;
-    border-top: 10px solid transparent;
-    bottom: 50%;
-    margin-bottom: -10px;
-}
-
-.wijmo-wijtooltip-arrow-lt .wijmo-wijtooltip-pointer {
-    border-bottom: 18px solid transparent;
-    border-top: 0 none;
-    top: 10px;
-}
-
-.wijmo-wijtooltip-arrow-lb .wijmo-wijtooltip-pointer-inner, .wijmo-wijtooltip-arrow-lc .wijmo-wijtooltip-pointer-inner, .wijmo-wijtooltip-arrow-lt .wijmo-wijtooltip-pointer-inner {
-    border-right-color: inherit;
-    border-right-style: solid;
-    border-right-width: 10px;
-    right: -14px;
-	*font-size:0;line-height:0;
-}
-
-.wijmo-wijtooltip-arrow-lb .wijmo-wijtooltip-pointer-inner {
-    border-bottom: 0 none;
-    border-top: 12px solid transparent;
-    bottom: 2px;
-}
-
-.wijmo-wijtooltip-arrow-lc .wijmo-wijtooltip-pointer-inner {
-    border-bottom: 8px solid transparent;
-    border-top: 8px solid transparent;
-    bottom: -8px;
-}
-
-.wijmo-wijtooltip-arrow-lt .wijmo-wijtooltip-pointer-inner {
-    border-bottom-style: solid;
-    border-bottom-color: inherit;
-    border-bottom-width: 12px;
-    border-top: 0 none;
-    top: 2px;
-}
-.wijmo-wijmenu {
-width:150px;
-padding:0.3em;
-position:relative;
-}
-
-.wijmo-wijmenu .wijmo-wijsuperpanel {
-border:none;
-background: inherit;
-padding:0;
-}
-
-.wijmo-wijmenu-list {
-position:static;
-}
-
-.wijmo-wijmenu .wijmo-wijmenu-parent .wijmo-wijmenu-child {
-display:none;
-width:150px;
-padding:0.3em;
-}
-
-.wijmo-wijmenu .wijmo-wijmenu-parent {
-position:relative;
-}
-
-.wijmo-wijmenu .wijmo-wijmenu-child {
-position:relative;
-left:150px;
-top:0;
-}
-
-.wijmo-wijmenu .wijmo-wijmenu-item {
-width:100%;
-float:left;
-clear:both;
-margin:1px 0;
-padding:0;
-}
-
-.wijmo-wijmenu .wijmo-wijmenu-list .wijmo-wijmenu-item {
-background:none;
-border:none;
-}
-
-.wijmo-wijmenu .wijmo-wijmenu-link {
-display:block;
-width:92%;
-outline:none;
-text-decoration:none;
-font-weight:400;
-border:solid 1px transparent;
-float:left;
-line-height:16px;
-padding:0.3em;
-}
-
-.wijmo-wijmenu-horizontal {
-width:auto;
-}
-
-.wijmo-wijmenu-horizontal .wijmo-wijmenu-item {
-width:auto;
-clear:none;
-margin-right:3px;
-}
-
-.wijmo-wijmenu-horizontal .wijmo-wijmenu-child .wijmo-wijmenu-item {
-width:100%;
-}
-
-.wijmo-wijmenu-horizontal .wijmo-wijmenu-child {
-top:25px;
-left:0;
-}
-
-.wijmo-wijmenu-horizontal .wijmo-wijmenu-link {
-width:auto;
-padding:0.4em 0.3em;
-}
-
-.wijmo-wijmenu-horizontal .wijmo-wijmenu-child .wijmo-wijmenu-link {
-width:92%;
-}
-
-.wijmo-wijmenu .wijmo-wijmenu-list .ui-widget-header {
-clear:both;
-float:left;
-width:98%;
-font-size:12px;
-margin:1px 0;
-}
-
-.wijmo-wijmenu-horizontal .ui-widget-header {
-clear:none;
-width:auto;
-margin:0 3px 0 0;
-}
-
-.wijmo-wijmenu .ui-widget-header h1,.wijmo-wijmenu .ui-widget-header h2,.wijmo-wijmenu .ui-widget-header h3,.wijmo-wijmenu .ui-widget-header h4,.wijmo-wijmenu .ui-widget-header h5,.wijmo-wijmenu .ui-widget-header h6 {
-float:left;
-display:block;
-font-size:1em;
-margin:0 auto;
-padding:0.3em 3%;
-}
-
-.wijmo-wijmenu-horizontal .ui-widget-header h1,.wijmo-wijmenu-horizontal .ui-widget-header h2,.wijmo-wijmenu-horizontal .ui-widget-header h3,.wijmo-wijmenu-horizontal .ui-widget-header h4,.wijmo-wijmenu-horizontal .ui-widget-header h5,.wijmo-wijmenu-horizontal .ui-widget-header h6 {
-padding:0.4em 0.3em;
-}
-
-.wijmo-wijmenu a.ui-state-default:link,.wijmo-wijmenu a.ui-state-default:visited,.wijmo-wijmenu a.ui-state-default:hover,.wijmo-wijmenu a.ui-state-default:active,.wijmo-wijmenu a.ui-state-hover:link,.wijmo-wijmenu a.ui-state-hover:visited,.wijmo-wijmenu a.ui-state-hover:hover,.wijmo-wijmenu a.ui-state-hover:active,.wijmo-wijmenu a.ui-state-active:link,.wijmo-wijmenu a.ui-state-active:visited,.wijmo-wijmenu a.ui-state-active:hover,.wijmo-wijmenu a.ui-state-active:active {
-font-weight:400;
-border-style:solid;
-}
-
-.wijmo-wijmenu .wijmo-wijmenu-child .ui-state-hover {
-font-weight:400;
-}
-
-.wijmo-wijmenu .wijmo-wijmenu-separator {
-clear:both;
-float:left;
-height:1px;
-text-indent:-9999px;
-width:98%;
-margin:1px 0;
-font-size:0;
-}
-
-.wijmo-wijmenu-horizontal .wijmo-wijmenu-separator {
-height:auto;
-clear:none;
-width:1px;
-text-indent:-9999px;
-margin:0 3px 0 0;
-padding:0.4em 0;
-}
-
-.wijmo-wijmenu-horizontal .wijmo-wijmenu-child .wijmo-wijmenu-separator {
-clear:both;
-float:left;
-height:1px;
-text-indent:-9999px;
-width:98%;
-margin:1px 0;
-padding:0;
-}
-
-.wijmo-wijmenu .wijmo-wijmenu-group {
-clear:both;
-float:left;
-width:98%;
-margin:3px 0;
-padding:0 0.4em;
-}
-
-.wijmo-wijmenu-ipod {
-width:180px;
-}
-
-.wijmo-wijmenu-container {
-overflow:hidden;
-}
-
-.wijmo-wijmenu-ipod .wijmo-wijmenu-list {
-background:inherit;
-position:absolute;
-border-width:0;
--moz-box-shadow: none;
--webkit-box-shadow:none;
-}
-
-.wijmo-wijmenu-breadcrumb {
-margin:0;
-padding:0;
-}
-
-.wijmo-wijmenu-footer {
-margin-top:3px;
-}
-
-.wijmo-wijmenu-footer .ui-icon {
-margin:3px 0;
-}
-
-.wijmo-wijmenu-header {
-margin-bottom:3px;
-}
-
-.wijmo-wijmenu-breadcrumb li {
-float:left;
-list-style:none;
-font-size:.9em;
-margin:0;
-padding:0 .2em;
-}
-
-.wijmo-wijmenu-breadcrumb li.wijmo-wijmenu-prev-list,.wijmo-wijmenu-breadcrumb li.wijmo-wijmenu-current-crumb {
-clear:left;
-float:none;
-opacity:1;
-}
-
-.wijmo-wijmenu-breadcrumb li.wijmo-wijmenu-current-crumb {
-padding-top:.2em;
-}
-
-.wijmo-wijmenu-footer a:link,.wijmo-wijmenu-footer a:visited {
-float:left;
-width:100%;
-text-decoration:none;
-}
-
-.wijmo-wijmenu-footer a span {
-float:left;
-cursor:pointer;
-}
-
-.wijmo-wijmenu-breadcrumb .wijmo-wijmenu-prev-list a:link,.wijmo-wijmenu-breadcrumb .wijmo-wijmenu-prev-list a:visited,.wijmo-wijmenu-breadcrumb .wijmo-wijmenu-prev-list a:hover,.wijmo-wijmenu-breadcrumb .wijmo-wijmenu-prev-list a:active {
-background-image:none;
-text-decoration:none;
-}
-
-.wijmo-wijmenu-breadcrumb .wijmo-wijmenu-prev-list a {
-float:left;
-padding-right:.4em;
-}
-
-.wijmo-wijmenu-breadcrumb .wijmo-wijmenu-current-crumb a:link,.wijmo-wijmenu-breadcrumb .wijmo-wijmenu-current-crumb a:visited,.wijmo-wijmenu-breadcrumb .wijmo-wijmenu-current-crumb a:hover,.wijmo-wijmenu-breadcrumb .wijmo-wijmenu-current-crumb a:active {
-display:block;
-background-image:none;
-font-size:1.3em;
-text-decoration:none;
-}
-
-.wijmo-wijmenu .wijmo-wijmenu-parent .ui-icon,.wijmo-wijmenu-horizontal .wijmo-wijmenu-child .ui-icon,.wijmo-wijmenu-ipod .ui-icon-triangle-1-e {
-float:right;
-}
-
-.wijmo-wijmenu .wijmo-wijmenu-item .wijmo-wijmenu-text,.wijmo-wijmenu-horizontal .wijmo-wijmenu-parent .ui-icon,.wijmo-wijmenu-breadcrumb a,.wijmo-wijmenu-breadcrumb span,.wijmo-wijmenu-breadcrumb .wijmo-wijmenu-prev-list a .ui-icon {
-float:left;
-}
-
-.wijmo-wijmenu .wijmo-wijmenu-link .wijmo-wijmenu-icon-left {
-display:inline-block;
-float:left;
-}
-
-.wijmo-wijmenu .wijmo-wijmenu-link .wijmo-wijmenu-icon-right {
-display:inline-block;
-float:right;
-}
\ No newline at end of file
diff --git a/IPython/frontend/html/notebook/static/jquery/css/themes/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png b/IPython/frontend/html/notebook/static/jquery/css/themes/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png
similarity index 52%
rename from IPython/frontend/html/notebook/static/jquery/css/themes/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png
rename to IPython/frontend/html/notebook/static/jquery/css/themes/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png
index 359397acffdd84bd102f0e8a951c9d744f278db5..5b5dab2ab7b1c50dea9cfe73dc5a269a92d2d4b4 100755
GIT binary patch
literal 180
zc%17D@N?(olHy`uVBq!ia0vp^8bF-F!3HG1q!d*FscKIb$B>N1x91EQ4=4yQ7#`R^
z$vje}<irI&an_s0pV!D+$FtuP31JO&3=I&aE+u|=5A)Hv$*VMh&S3C#^>bP0l+XkK
DSH>_4

literal 129
zc%17D@N?(olHy`uVBq!ia0vp^j6j^i!3HGVb)pi0l!vE_V~E7mtNjN#8yp0f)nD%C
z{k^&2ZZH4W#qke67#j$%IepV*`yn{#P|600IVRJjChwXe(ssyZ>xPQ=F85a&M@g_{
d|GeK{$Y5lo%PMu^>wln`44$rjF6*2UngE4^EGqy2

diff --git a/IPython/frontend/html/notebook/static/jquery/css/themes/ui-lightness/images/ui-bg_flat_10_000000_40x100.png b/IPython/frontend/html/notebook/static/jquery/css/themes/smoothness/images/ui-bg_flat_75_ffffff_40x100.png
similarity index 80%
rename from IPython/frontend/html/notebook/static/jquery/css/themes/ui-lightness/images/ui-bg_flat_10_000000_40x100.png
rename to IPython/frontend/html/notebook/static/jquery/css/themes/smoothness/images/ui-bg_flat_75_ffffff_40x100.png
index abdc01082bf3534eafecc5819d28c9574d44ea89..ac8b229af950c29356abf64a6c4aa894575445f0 100755
GIT binary patch
literal 178
zc%17D@N?(olHy`uVBq!ia0vp^8bF-F!3HG1q!d*FsY*{5$B>N1x91EQ4=4yQYz+E8
zPo9&<{J;c_6SHRil>2s{Zw^OT)6@jj2u|u!(plXsM>LJD`vD!n;OXk;vd$@?2>^GI
BH@yG=

literal 178
zc%17D@N?(olHy`uVBq!ia0vp^8bF-F!3HG1q!d*FsY*{5$B>N1x91EQ4=4yQY-ImG
zFPf9b{J;c_6SHRK%WcbN_hZpM=(Ry;4Rxv2@@2Y=$K57eF$X$=!PC{xWt~$(69B)$
BI)4BF

diff --git a/IPython/frontend/html/notebook/static/jquery/css/themes/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png b/IPython/frontend/html/notebook/static/jquery/css/themes/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png
new file mode 100755
index 0000000000000000000000000000000000000000..ad3d6346e00f246102f72f2e026ed0491988b394
GIT binary patch
literal 120
zc%17D@N?(olHy`uVBq!ia0vp^j6gJjgAK^akKnour0hLi978O6-<~(*I$*%ybaDOn
z{W;e!B}_MSUQoPXhYd^Y6RUoS1yepnPx`2Kz)7OXQG!!=-jY=F+d2OOy?#DnJ32>z
UEim$g7SJdLPgg&ebxsLQ09~*s;{X5v

literal 0
Hc$@<O00001

diff --git a/IPython/frontend/html/notebook/static/jquery/css/themes/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png b/IPython/frontend/html/notebook/static/jquery/css/themes/smoothness/images/ui-bg_glass_65_ffffff_1x400.png
similarity index 100%
rename from IPython/frontend/html/notebook/static/jquery/css/themes/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png
rename to IPython/frontend/html/notebook/static/jquery/css/themes/smoothness/images/ui-bg_glass_65_ffffff_1x400.png
Binary files a/IPython/frontend/html/notebook/static/jquery/css/themes/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png and b/IPython/frontend/html/notebook/static/jquery/css/themes/smoothness/images/ui-bg_glass_65_ffffff_1x400.png differ
diff --git a/IPython/frontend/html/notebook/static/jquery/css/themes/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png b/IPython/frontend/html/notebook/static/jquery/css/themes/smoothness/images/ui-bg_glass_75_dadada_1x400.png
similarity index 80%
rename from IPython/frontend/html/notebook/static/jquery/css/themes/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png
rename to IPython/frontend/html/notebook/static/jquery/css/themes/smoothness/images/ui-bg_glass_75_dadada_1x400.png
index a23baad25b1d1ff36e17361eab24271f2e9b7326..5a46b47cb16631068aee9e0bd61269fc4e95e5cd 100755
GIT binary patch
delta 80
zc$}-vpP=Gx=IP=XV$qvi@#)FQdNnpSwzj~eDH5t}x*y-(HrME$I8m@UAt}izO>xJK
kj>hk2Gz`6Zgl=#!98c!Fv*71LMg}18boFyt=akR{04q%(HUIzs

delta 94
zc$~|xouCrw;_2cTV$qxY<M-!>^=fQvY;A!_QzTT|^glk=Wfo>;R_;kiNlHjcNB|Kj
vZmEWcQxk=HIF1T1v)wUXd_=?0D?yP#Y6~ahu_IHiFaUw4tDnm{r-UW|e77NF

diff --git a/IPython/frontend/html/notebook/static/jquery/css/themes/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png b/IPython/frontend/html/notebook/static/jquery/css/themes/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png
similarity index 69%
rename from IPython/frontend/html/notebook/static/jquery/css/themes/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png
rename to IPython/frontend/html/notebook/static/jquery/css/themes/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png
index 9b383f4d2eab09c0f2a739d6b232c32934bc620b..86c2baa655eac8539db34f8d9adb69ec1226201c 100755
GIT binary patch
delta 79
zc$~|~o1o%l>gnPbV$u8dv>_LRf&lZuy?_3%t~?NWD}tkGtH-Rw*+;(#IB-0S-c=nM
j`nHtaVN#!Y%Lf_ZRwmAmH(aK>F#v(5tDnm{r-UW|I^G~v

delta 73
zc$~}2n4sdK@9E+gV$u8d_(om^1%bl{TK<avQ)-%~#H{e-SxR==w@E4tKc=aCzxD3+
dDqRMf<BXjxT>R|X3j!E`z|+;wWt~$(698|`9V-9;

diff --git a/IPython/frontend/html/notebook/static/jquery/css/themes/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png b/IPython/frontend/html/notebook/static/jquery/css/themes/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png
new file mode 100755
index 0000000000000000000000000000000000000000..4443fdc1a156babad4336f004eaf5ca5dfa0f9ab
GIT binary patch
literal 119
zc%17D@N?(olHy`uVBq!ia0vp^j6gJjgAK^akKnour0hIh978O6-<~(*YA|4MzBvER
z|7}eQtdCVXoUc2b{PaWeaIKu7gJx>{vDV26o)#~38&#8k_!`W=^oo1w6ixmPC4R1b
Tyd6G3lNdZ*{an^LB{Ts5`idse

literal 0
Hc$@<O00001

diff --git a/IPython/frontend/html/notebook/static/jquery/css/themes/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png b/IPython/frontend/html/notebook/static/jquery/css/themes/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png
similarity index 73%
rename from IPython/frontend/html/notebook/static/jquery/css/themes/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png
rename to IPython/frontend/html/notebook/static/jquery/css/themes/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png
index f1273672d253263b7564e9e21d69d7d9d0b337d9..7c9fa6c6edcfcdd3e5b77e6f547b719e6fc66e30 100755
GIT binary patch
delta 70
zc$|w$ouJ~V<LTlUA~7|&;>(MR^=fQvY;B4zfByfM_gYYRv7`R~KSBM|2M#cZIw$j5
aGcinGVWs8VdB~pu2s~Z=T-G@yGywqjiW?;W

delta 59
zc$`a(nxJB)=;`7ZA~7}j$H&LV>($uU*xD3b{`~(hZ#`W|tgiE+3j@QH1xgcGIVRs_
O00K`}KbLh*2~7a40Tspo

diff --git a/IPython/frontend/html/notebook/static/jquery/css/themes/ui-lightness/images/ui-icons_222222_256x240.png b/IPython/frontend/html/notebook/static/jquery/css/themes/smoothness/images/ui-icons_222222_256x240.png
similarity index 100%
rename from IPython/frontend/html/notebook/static/jquery/css/themes/ui-lightness/images/ui-icons_222222_256x240.png
rename to IPython/frontend/html/notebook/static/jquery/css/themes/smoothness/images/ui-icons_222222_256x240.png
Binary files a/IPython/frontend/html/notebook/static/jquery/css/themes/ui-lightness/images/ui-icons_222222_256x240.png and b/IPython/frontend/html/notebook/static/jquery/css/themes/smoothness/images/ui-icons_222222_256x240.png differ
diff --git a/IPython/frontend/html/notebook/static/jquery/css/themes/ui-lightness/images/ui-icons_228ef1_256x240.png b/IPython/frontend/html/notebook/static/jquery/css/themes/smoothness/images/ui-icons_2e83ff_256x240.png
similarity index 95%
rename from IPython/frontend/html/notebook/static/jquery/css/themes/ui-lightness/images/ui-icons_228ef1_256x240.png
rename to IPython/frontend/html/notebook/static/jquery/css/themes/smoothness/images/ui-icons_2e83ff_256x240.png
index a641a371afa0fbb08ba599dc7ddf14b9bfc3c84f..09d1cdc856c292c4ab6dd818c7543ac0828bd616 100755
GIT binary patch
delta 267
uc$}N4G*M}SX1z|+pMga6^tJEwnhCxP3=DoHL4Lsu5&}jno7EX#@dE(31B}lA

delta 267
tc$}N4G*M}SX1z+^mw`m}^tI1XVa7uS1_r;9AirP+2>~OP&FYM=_yPTVix~g_

diff --git a/IPython/frontend/html/notebook/static/jquery/css/themes/ui-lightness/images/ui-icons_ef8c08_256x240.png b/IPython/frontend/html/notebook/static/jquery/css/themes/smoothness/images/ui-icons_454545_256x240.png
similarity index 95%
rename from IPython/frontend/html/notebook/static/jquery/css/themes/ui-lightness/images/ui-icons_ef8c08_256x240.png
rename to IPython/frontend/html/notebook/static/jquery/css/themes/smoothness/images/ui-icons_454545_256x240.png
index 85e63e9f604ce042d59eb06a8428eeb7cb7896c9..59bd45b907c4fd965697774ce8c5fc6b2fd9c105 100755
GIT binary patch
delta 267
tc$}N4G*M}SX1$A>%Rr)f`r0R-``?Ozfx)jN$S;^dLcoY+vpVA|egI&^NL&B_

delta 267
tc$}N4G*M}SX8oH!o`FR5^tCTq>C8+91_r;9AirP+2>~OP&FYM=_yG>qfk6NO

diff --git a/IPython/frontend/html/notebook/static/jquery/css/themes/ui-lightness/images/ui-icons_ffd27a_256x240.png b/IPython/frontend/html/notebook/static/jquery/css/themes/smoothness/images/ui-icons_888888_256x240.png
similarity index 95%
rename from IPython/frontend/html/notebook/static/jquery/css/themes/ui-lightness/images/ui-icons_ffd27a_256x240.png
rename to IPython/frontend/html/notebook/static/jquery/css/themes/smoothness/images/ui-icons_888888_256x240.png
index e117effa3dca24e7978cfc5f8b967f661e81044f..6d02426c114be4b57aabc0a80b8a63d9e56b9eb6 100755
GIT binary patch
delta 267
tc$}N4G*M}SW_?dr&p@Jj`r3E$Sff7!1A|{lkY6x^gn$vtW_89_`~aK`iedl&

delta 267
uc$}N4G*M}SX8oT_H3Nz2>1*GU<MZz^FfjO)1o;IsNC+6QY*uG{#SZ{}lfMH1

diff --git a/IPython/frontend/html/notebook/static/jquery/css/themes/smoothness/images/ui-icons_cd0a0a_256x240.png b/IPython/frontend/html/notebook/static/jquery/css/themes/smoothness/images/ui-icons_cd0a0a_256x240.png
new file mode 100755
index 0000000000000000000000000000000000000000..2ab019b73ec11a485fa09378f3a0e155194f6a5d
GIT binary patch
literal 4369
zc%0>!`8O0$|Ho$xGmLE*`#M>&Z`mr_kcwz5Nh&gy7G+<u4l}Z3uT-`eLPXXiYeupr
zL^75cG?B*G8I0{)J>TcAcwXn8dq3}A?m6#!-k)>txe3;&^PEr-C;$N9G&eJ~1pt75
zO28^B=+8_vzp(pfS+cgYJKGQC_}>|eT<6^W7)J%#qAmf1U?-Sat=k@CsY==TB5$EZ
zc)xHU^aV`JE=XKEu5POws}+yyxZ69}ebQ8{wK1anU2)3minsCyc$pO_m?^E$^;toc
z=XCBlL+{APckT?E9RL8_vF4`6b|Ej8oKjpT>v_PvW@U3RPgKG^XxA)G-`;rQd2h_S
zB3tG4NTB)H7Wv2zjAiySLLko8%1rLKTNpCQEE`I+>j9oV>+9(ug7~ay*J5*D0*C?N
z@Ag&LJIDAkftNy?W7N5sL1*8qW6T;AR8|FM<^=-T?_rmGj;6{ie7T=8^Epb|4h-fa
zuq&#fuxDqJbXg19pxH2m3=Tzmy~s`Lo8%vyCLz_litBJ?1DUY6Vu&dp@dG3Vwgh@9
zA@&Br0CZlcX`NgF4L6K81KMKhqXdbkmctQGAOEAKyJ5}Dx7!bP1^H=R>VzB^xXO&5
zgiCV6KqicZ>%}tpSOn5;X4Ip}Y*g*%tm}C3DTYq^v4SWEikTnU^lVYLqU`|SIktim
zV#aNM3@<xA!Ak+gzSJ99|F+t`JTfcwa*aU&u0zK?Bp-D-wXwVZKQyjImc!m5t<e2<
z@HB01#AcevCR>87E2L2jDgX3j_7vab8TWX4XW0;`ph|fPX@^64v>XiaxH2dB`>DI&
zJh>c>ZSvJao-(S%^Q(Ll=r@~`*%qe_v|RbFAX>tUpxV_HU%KAh35q1hN41OC2qxY@
z;wT%Md=m!CFMkV2#kwB-)Ru5K!zYToAo(~qwc$*BSrG$k_q%e1Nw+16p_BEW1M+jO
zIjsGr-NEr1sqD|zS<w5s%ygq%q1q0#7LjN5B9;$12em?}@Qh~l9rUs>muwe5`SIvr
z39^3O8%ZPD0$U2Q95(sPy+BE%Bza)MyV-(sh(6>~qncF%buw>0t8b9y<4nEV5;DWH
zNS%TAF`I(W7z+>tEz)-YG8}4aMj-DXMhoZmc`e{Dd#pDPKX0d$%PXn!H1=Itm}j&o
zQWbbVK}HR?diloYcNoWcK}gSOAVeCSi_U+7zy?LXu?w_#%_ByRoDu6x>bRCq+SL}b
zYiUc6{eF+O6+)=Qr}g&yg?Mj@=Hv)gq}hxUByu>FhvSo2h8IoZ%CxlDC#)PSzC^Gj
zhDHzEe$dzsQ*wr1ERq)h?RgG;IGe|16~n+m5ghh1dv+Qo4qIEmCqUPiDv1$BNW`~W
z8>1%E4*oNASvllzqcM|XlX=~2;{|0*9M;6dZFa*EY!6-Q^G|6nDP+APKkO7}-b1@l
zCcME@fSKy<6!sYyd*#FN;gaS9HYvTr!EH!i7OaW(wcQmn#hWWNUCjpL&KOq+ca?eE
z`bq#;+$H&gay}RqO!|=gm*$l9=hHn*F7YqOu2SSx1^UW}9nv>D_MG!ge;wF``$MIr
zOtW;Zb}6p~a>bjAD(!f8-3_YF)1eS-RaMOAY8|GLVm;;_TC7^t7(Jbq3_}}Q_%mBO
zexeIhJ2N+oFWv}B){sq~wBl#jMPIC~SWvCOG%`P51=vVx&a+b2u=T2<DB@elPYMQ5
z&LdW!(3-Joh}~w{`+2DHBN&IyNTX)BJlKI{bO^L51%%2_us?x)f#UHy846RVH?C3V
z{?K(`a`Q*b-CYJZScKafC7D=Y@2!<Qx}(g~*lrA0+{$uT`=L0{4blb+l|zaQ$0^oH
z@nz@dW2r9e^$#@JBu2MjEa7w?lZTv1$MyL(pITmLFZo19xv3^)Rdm!(c^C+FpaB%1
z4Kl$!y6PP#^h=z1X{V}r`C^kNfmN7?2?jzt2F_g9M=&p(k@N^G&^pOY*wyM)0fYPr
zK#tTjB?5E*t+zzl;~H?Z$s_C;6NJ#nSMWtM9GeGUQ4C&aGZer9#AL=z8WMWH_=gm&
zC6Eq2!F?mbcJxdLl<qWsy;;|qpsFN)rsM;>8&jzTt{%@2(hAH6ONwrW5gu!Z$DNN9
z%db70=0T^X#SybRc0p8&nO=AVTmMr-7Dnr2L2Z?l41svGO52EJg4P@RC?pm#6|4J(
zg+W^}05K16-9aW`Z-fV}XKYGn9N*iY@;d2#y4~#-*Mu=IGC;Sfop+T*0-tFqN!@Nr
z1CSA7*Yd$?s;Y$M(p4<=&dF~+hrHGPMnFN%3C>O-R5#^R@|vc}0`IVBq>nR^43t9?
zSOGtPaG$6c?6R+wO6F(I(@YHzyYm9ed~Cv&l6srnx*{pvBqua&LK4nYZSn;BO&0q(
z$FO=?F__t|u65b>q8I@GT0))Mj06_N91rApwf=s2;D*M-?{Zdt8~z|U!U^m0F9l_<
z1e897i75w~Uy+lGxGCoS?eJgB4Z7dnUR$^A_kw3$N3GXi+6~;c2+v^*CwSG8=7{O`
zd4YR61--MwwYE`c#<#C~*#q?`;&IF*-GuG(oUl-q{JOvXre6=vKGc7R#ot&_v5iEm
zf`P(rgLFnrrE_Z7STdgHY<#_HorA8VEiV<%-j5#q9f1AS9|@Pw4coiuNxs<@5!Ari
z&$n;WCgBpRh{;p3!}oL6g0PJACflg4-6aQhHz_4WJO}EL=O!Mt$H#oft?gVOSG+z-
zNlyi{KumTB9DgQ*E$+y_@#4>3_fz9i6qlwW336u%&NEdE?T=vUutvJydO-jMsED^^
znM9MV2A<IKPVsDkq(ihu#k4-+L~BkhNaruHw7eNSoSw<LVm6r;M;n${ea5(UK;l+#
zQs-_!OZc|y=f9iIZ5PQ#m3{WP8a}NxteYFHlhxe_$}}WQW*ndC+!c&x@YlDceA58R
z5^dz<qFAP>V@5ALCpyL&o+%wK^bbF{+kkoupQ&xG<j$Yh+E?J1_}qamMFD>$C1X`v
z*(awf9_BM6cJ~*%3%if@E1#uJ&2nX=mu%7${MhPF2;hyjYu66ETQtqEu0x{zJLnY*
zjELCIsQ7rOiheG%wgnc)G15wCzJ6CV_HHscyY7vCUJ2UP-95aig!;1Oe2y*{S5K0s
zn&Rx>5B8P0W;)20To{n0WuE`uu9vlTQd2}tE>FlpVlhM`*)4W2F$7_1?3({CE8^&f
zkXIMwA%Znj-Ilr`)LGM&Nd5bcY_iImdrZ^WYQWfRe24E&2luMD?Jpj3R3upK24Q@v
z*RwTN)Z3TBncJ@$*ejZr)1@xL<qQWmw3hRzk9La`dcw6p>=G$>M$e)%_=sMx;9AP9
z&fk0S%D}6;<C0$M)WwCNn&IA5yqG66!v7`{g{5Vl!kO4p4nv!$)Wz434)61;dMxbD
zr`Y<CLojhrszToQEb}8-X*8s8C_3I&`wYK0u&GQq&6v66L_knOd#p=q8em3*HQ;Kf
zX7ewDyDm3<qRba{@saCW6{;cyzWiWMV=!rY;K55Mn%63KP=N+aXS-2lm^XMa>^IvG
zT}g|%OZZo>iG#apYRAQ}!_W7>JX{2QcsDY*T3>EG<{ou20q*<eNMFaOl6aB`Lp_GT
z4irPSs0*WFs?DGeIuj{6=K<ST$qL%Jxodl^I7)1%0*M5FW%awam+e^ou4m_^lz@W~
zo}oK$7nVTt0Rg}n)asV+$qBR^YaO>bT}>a<b(mdL7*M$KdK$CFs>%bJM|PJ^20YLm
z_)uasiML+{n=%+!7j68YOR6y7zUb7Z(@djq<`!f1o0mq`4p4~%qT+`&0Y5tqLKk#a
zC-b*hlkyCa(?QzmK;A_jg7rke(Nrf8ryX4c(lF>+<TWUP_#V7ODB?a^*n^)550_6x
zr;JjtB+3q{*-Zu|DO{-qNs(tbH2R;AmX>x?;aH<Cyv17zZj6i%)QuaGK`kpWc&Dnp
z4KD2o)jXj9eBH;Z0o@uaWXLV`4!wOjSbr%$_!T_!>f!C*i8&v`(~+kHcV^gjhDOmY
zXXH~$4P;%ZIG>pl{rv{w6>((m7wbhDJ8XAf#7mgqpZJuvUXl^;7TKlDNayDAfALBO
zkU*Jy3<HlBRP}baTi?V=iC_w;=WuA4<Z-H#j``*zX&yVy#a2q%t@NYV#b-OM1Fp!b
zcF^Nl<r6*=W9Oa1CLLEp(xA8Aj?<-_e5%Lff_R61mcPplOuQFPxUXlt2>5bF^Lt!y
z9yYktHcHZ2db`G<nH$DImJcb}9!^s8ldXsIF6>?rZD21w>}1X9?iZc9<Gb|fp0ha}
z=#aSEE$3R&%TT-JAV5B>wGgL!)JaMIg%W3T#<InO@Q~$1;O_;_nHg-KcG{bIOMp6*
z6<Gh~6F=3)gKWl<enKyF*p6!Db5B5T?4=NmW4s={)gfTZlwFIu9UfK}+QM`UkYT|T
zQp@_XmgoI17B8BSv8X)o{!ZcL;mG9b0WTIyf;<}Tqjt=D{RmQ2?Zxeoh*kMxZ4Z!|
zyA8blfgOu*?+(Tp5WFeaf9=1QvJ>DQEIt>-zaN(R-J2>uw=RLPstir#i>&y%!9iho
z%>bc-Ijbv14wuP#$}>^ffLMDuCHNjY7#n4eKfWS*p~03qcFk$Fq(ZRdbYbz}SlAh`
z9Oz&~WjYStlt=18&f!8i=~^un6G0mpha4#-X#2@@NH7dYFaMe-y?qd7jkL++L>Zn?
zJ30t|<>;f3N`DGi1d3eQNzRFM!D)tA5`sBT3p(47^^$1@zKP#k7Tg0_OFAT&mL26z
zf*YDzK9V9e#bz(rT2G1>Oz3p2Z0&|dDdDpR|Gr`!ME7^GPx}RJDio_G$W8vxe=_6i
zf936=Sx@0CwIavMH{P`d&B^R+044W<FCx5LI~MJ|pAS#02j_A)+PBV0M(oCu>HMaj
zza*mUQFHUK!_askf-WGJ#`SVyd}i^UzTS&6wa;fUMrS1y|J=W`RtQGvbmU&j!tKKs
zYNy)3l@dCcee=}TTTr)HQ;aM};@E9wnJt^;_viC;={~7g1qN3W09Y`1nd3se<m#hL
zNT!cy7D(9&$>3F={=jb|zqC&H$%ljK<+*M(z7ft0-b$YtgfO4h9%Eyml7nptbB8Ex
zqWL;KRL<hFxDlqd5q$bog4cA{_tun3#gdvO<Si2N?&VV{Uh%byal_?(!vBG%4%d;=
z8_rEX0*$PT%K&~b6EiX}^d<Lm*dIrmzHMJ4WRID;pMy2LH_STNYsQ?XW5cH*Q`^nR
zbN}diWiyp$hG>NHmW>KF3DAx}OPbJULqTjzJG&n)(tSRH8d~4?MN)zHLz^)LUi^E(
zVfsYfE&gXK-jdd*cKo}p+&fxY!vz`Szpko|D5p7(fxKG}7RfAOw6?bxBop~?k^(a4
kc3|o9-p+Yk^J~YbcRoN&Qa{N0?~jN1S(Is|2|D`!0ExOMGynhq

literal 0
Hc$@<O00001

diff --git a/IPython/frontend/html/notebook/static/jquery/css/themes/ui-lightness/jquery-ui-1.8.10.custom.css b/IPython/frontend/html/notebook/static/jquery/css/themes/smoothness/jquery-ui-1.8.11.custom.css
similarity index 82%
rename from IPython/frontend/html/notebook/static/jquery/css/themes/ui-lightness/jquery-ui-1.8.10.custom.css
rename to IPython/frontend/html/notebook/static/jquery/css/themes/smoothness/jquery-ui-1.8.11.custom.css
index 1706e22..b2f72e9 100755
--- a/IPython/frontend/html/notebook/static/jquery/css/themes/ui-lightness/jquery-ui-1.8.10.custom.css
+++ b/IPython/frontend/html/notebook/static/jquery/css/themes/smoothness/jquery-ui-1.8.11.custom.css
@@ -1,5 +1,5 @@
 /*
- * jQuery UI CSS Framework 1.8.10
+ * jQuery UI CSS Framework 1.8.11
  *
  * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
  * Dual licensed under the MIT or GPL Version 2 licenses.
@@ -42,7 +42,7 @@
 
 
 /*
- * jQuery UI CSS Framework 1.8.10
+ * jQuery UI CSS Framework 1.8.11
  *
  * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
  * Dual licensed under the MIT or GPL Version 2 licenses.
@@ -50,37 +50,37 @@
  *
  * http://docs.jquery.com/UI/Theming/API
  *
- * To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Trebuchet%20MS,%20Tahoma,%20Verdana,%20Arial,%20sans-serif&fwDefault=bold&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=f6a828&bgTextureHeader=12_gloss_wave.png&bgImgOpacityHeader=35&borderColorHeader=e78f08&fcHeader=ffffff&iconColorHeader=ffffff&bgColorContent=eeeeee&bgTextureContent=03_highlight_soft.png&bgImgOpacityContent=100&borderColorContent=dddddd&fcContent=333333&iconColorContent=222222&bgColorDefault=f6f6f6&bgTextureDefault=02_glass.png&bgImgOpacityDefault=100&borderColorDefault=cccccc&fcDefault=1c94c4&iconColorDefault=ef8c08&bgColorHover=fdf5ce&bgTextureHover=02_glass.png&bgImgOpacityHover=100&borderColorHover=fbcb09&fcHover=c77405&iconColorHover=ef8c08&bgColorActive=ffffff&bgTextureActive=02_glass.png&bgImgOpacityActive=65&borderColorActive=fbd850&fcActive=eb8f00&iconColorActive=ef8c08&bgColorHighlight=ffe45c&bgTextureHighlight=03_highlight_soft.png&bgImgOpacityHighlight=75&borderColorHighlight=fed22f&fcHighlight=363636&iconColorHighlight=228ef1&bgColorError=b81900&bgTextureError=08_diagonals_thick.png&bgImgOpacityError=18&borderColorError=cd0a0a&fcError=ffffff&iconColorError=ffd27a&bgColorOverlay=666666&bgTextureOverlay=08_diagonals_thick.png&bgImgOpacityOverlay=20&opacityOverlay=50&bgColorShadow=000000&bgTextureShadow=01_flat.png&bgImgOpacityShadow=10&opacityShadow=20&thicknessShadow=5px&offsetTopShadow=-5px&offsetLeftShadow=-5px&cornerRadiusShadow=5px
+ * To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Verdana,Arial,sans-serif&fwDefault=normal&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=cccccc&bgTextureHeader=03_highlight_soft.png&bgImgOpacityHeader=75&borderColorHeader=aaaaaa&fcHeader=222222&iconColorHeader=222222&bgColorContent=ffffff&bgTextureContent=01_flat.png&bgImgOpacityContent=75&borderColorContent=aaaaaa&fcContent=222222&iconColorContent=222222&bgColorDefault=e6e6e6&bgTextureDefault=02_glass.png&bgImgOpacityDefault=75&borderColorDefault=d3d3d3&fcDefault=555555&iconColorDefault=888888&bgColorHover=dadada&bgTextureHover=02_glass.png&bgImgOpacityHover=75&borderColorHover=999999&fcHover=212121&iconColorHover=454545&bgColorActive=ffffff&bgTextureActive=02_glass.png&bgImgOpacityActive=65&borderColorActive=aaaaaa&fcActive=212121&iconColorActive=454545&bgColorHighlight=fbf9ee&bgTextureHighlight=02_glass.png&bgImgOpacityHighlight=55&borderColorHighlight=fcefa1&fcHighlight=363636&iconColorHighlight=2e83ff&bgColorError=fef1ec&bgTextureError=02_glass.png&bgImgOpacityError=95&borderColorError=cd0a0a&fcError=cd0a0a&iconColorError=cd0a0a&bgColorOverlay=aaaaaa&bgTextureOverlay=01_flat.png&bgImgOpacityOverlay=0&opacityOverlay=30&bgColorShadow=aaaaaa&bgTextureShadow=01_flat.png&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=8px&offsetTopShadow=-8px&offsetLeftShadow=-8px&cornerRadiusShadow=8px
  */
 
 
 /* Component containers
 ----------------------------------*/
-.ui-widget { font-family: Trebuchet MS, Tahoma, Verdana, Arial, sans-serif; font-size: 1.1em; }
+.ui-widget { font-family: Verdana,Arial,sans-serif; font-size: 1.1em; }
 .ui-widget .ui-widget { font-size: 1em; }
-.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Trebuchet MS, Tahoma, Verdana, Arial, sans-serif; font-size: 1em; }
-.ui-widget-content { border: 1px solid #dddddd; background: #eeeeee url(images/ui-bg_highlight-soft_100_eeeeee_1x100.png) 50% top repeat-x; color: #333333; }
-.ui-widget-content a { color: #333333; }
-.ui-widget-header { border: 1px solid #e78f08; background: #f6a828 url(images/ui-bg_gloss-wave_35_f6a828_500x100.png) 50% 50% repeat-x; color: #ffffff; font-weight: bold; }
-.ui-widget-header a { color: #ffffff; }
+.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Verdana,Arial,sans-serif; font-size: 1em; }
+.ui-widget-content { border: 1px solid #aaaaaa; background: #ffffff url(images/ui-bg_flat_75_ffffff_40x100.png) 50% 50% repeat-x; color: #222222; }
+.ui-widget-content a { color: #222222; }
+.ui-widget-header { border: 1px solid #aaaaaa; background: #cccccc url(images/ui-bg_highlight-soft_75_cccccc_1x100.png) 50% 50% repeat-x; color: #222222; font-weight: bold; }
+.ui-widget-header a { color: #222222; }
 
 /* Interaction states
 ----------------------------------*/
-.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { border: 1px solid #cccccc; background: #f6f6f6 url(images/ui-bg_glass_100_f6f6f6_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #1c94c4; }
-.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #1c94c4; text-decoration: none; }
-.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: 1px solid #fbcb09; background: #fdf5ce url(images/ui-bg_glass_100_fdf5ce_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #c77405; }
-.ui-state-hover a, .ui-state-hover a:hover { color: #c77405; text-decoration: none; }
-.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: 1px solid #fbd850; background: #ffffff url(images/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #eb8f00; }
-.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #eb8f00; text-decoration: none; }
+.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { border: 1px solid #d3d3d3; background: #e6e6e6 url(images/ui-bg_glass_75_e6e6e6_1x400.png) 50% 50% repeat-x; font-weight: normal; color: #555555; }
+.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #555555; text-decoration: none; }
+.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: 1px solid #999999; background: #dadada url(images/ui-bg_glass_75_dadada_1x400.png) 50% 50% repeat-x; font-weight: normal; color: #212121; }
+.ui-state-hover a, .ui-state-hover a:hover { color: #212121; text-decoration: none; }
+.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: 1px solid #aaaaaa; background: #ffffff url(images/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x; font-weight: normal; color: #212121; }
+.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #212121; text-decoration: none; }
 .ui-widget :active { outline: none; }
 
 /* Interaction Cues
 ----------------------------------*/
-.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight  {border: 1px solid #fed22f; background: #ffe45c url(images/ui-bg_highlight-soft_75_ffe45c_1x100.png) 50% top repeat-x; color: #363636; }
+.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight  {border: 1px solid #fcefa1; background: #fbf9ee url(images/ui-bg_glass_55_fbf9ee_1x400.png) 50% 50% repeat-x; color: #363636; }
 .ui-state-highlight a, .ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a { color: #363636; }
-.ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error {border: 1px solid #cd0a0a; background: #b81900 url(images/ui-bg_diagonals-thick_18_b81900_40x40.png) 50% 50% repeat; color: #ffffff; }
-.ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a { color: #ffffff; }
-.ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text { color: #ffffff; }
+.ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error {border: 1px solid #cd0a0a; background: #fef1ec url(images/ui-bg_glass_95_fef1ec_1x400.png) 50% 50% repeat-x; color: #cd0a0a; }
+.ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a { color: #cd0a0a; }
+.ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text { color: #cd0a0a; }
 .ui-priority-primary, .ui-widget-content .ui-priority-primary, .ui-widget-header .ui-priority-primary { font-weight: bold; }
 .ui-priority-secondary, .ui-widget-content .ui-priority-secondary,  .ui-widget-header .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; }
 .ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; }
@@ -91,12 +91,12 @@
 /* states and images */
 .ui-icon { width: 16px; height: 16px; background-image: url(images/ui-icons_222222_256x240.png); }
 .ui-widget-content .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); }
-.ui-widget-header .ui-icon {background-image: url(images/ui-icons_ffffff_256x240.png); }
-.ui-state-default .ui-icon { background-image: url(images/ui-icons_ef8c08_256x240.png); }
-.ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(images/ui-icons_ef8c08_256x240.png); }
-.ui-state-active .ui-icon {background-image: url(images/ui-icons_ef8c08_256x240.png); }
-.ui-state-highlight .ui-icon {background-image: url(images/ui-icons_228ef1_256x240.png); }
-.ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(images/ui-icons_ffd27a_256x240.png); }
+.ui-widget-header .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); }
+.ui-state-default .ui-icon { background-image: url(images/ui-icons_888888_256x240.png); }
+.ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(images/ui-icons_454545_256x240.png); }
+.ui-state-active .ui-icon {background-image: url(images/ui-icons_454545_256x240.png); }
+.ui-state-highlight .ui-icon {background-image: url(images/ui-icons_2e83ff_256x240.png); }
+.ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(images/ui-icons_cd0a0a_256x240.png); }
 
 /* positioning */
 .ui-icon-carat-1-n { background-position: 0 0; }
@@ -291,9 +291,9 @@
 .ui-corner-all { -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px; }
 
 /* Overlays */
-.ui-widget-overlay { background: #666666 url(images/ui-bg_diagonals-thick_20_666666_40x40.png) 50% 50% repeat; opacity: .50;filter:Alpha(Opacity=50); }
-.ui-widget-shadow { margin: -5px 0 0 -5px; padding: 5px; background: #000000 url(images/ui-bg_flat_10_000000_40x100.png) 50% 50% repeat-x; opacity: .20;filter:Alpha(Opacity=20); -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; }/*
- * jQuery UI Resizable 1.8.10
+.ui-widget-overlay { background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); }
+.ui-widget-shadow { margin: -8px 0 0 -8px; padding: 8px; background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); -moz-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px; }/*
+ * jQuery UI Resizable 1.8.11
  *
  * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
  * Dual licensed under the MIT or GPL Version 2 licenses.
@@ -312,7 +312,7 @@
 .ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; }
 .ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; }
 .ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}/*
- * jQuery UI Selectable 1.8.10
+ * jQuery UI Selectable 1.8.11
  *
  * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
  * Dual licensed under the MIT or GPL Version 2 licenses.
@@ -322,7 +322,7 @@
  */
 .ui-selectable-helper { position: absolute; z-index: 100; border:1px dotted black; }
 /*
- * jQuery UI Accordion 1.8.10
+ * jQuery UI Accordion 1.8.11
  *
  * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
  * Dual licensed under the MIT or GPL Version 2 licenses.
@@ -341,7 +341,7 @@
 .ui-accordion .ui-accordion-content { padding: 1em 2.2em; border-top: 0; margin-top: -2px; position: relative; top: 1px; margin-bottom: 2px; overflow: auto; display: none; zoom: 1; }
 .ui-accordion .ui-accordion-content-active { display: block; }
 /*
- * jQuery UI Autocomplete 1.8.10
+ * jQuery UI Autocomplete 1.8.11
  *
  * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
  * Dual licensed under the MIT or GPL Version 2 licenses.
@@ -355,7 +355,7 @@
 * html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */
 
 /*
- * jQuery UI Menu 1.8.10
+ * jQuery UI Menu 1.8.11
  *
  * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
  * Dual licensed under the MIT or GPL Version 2 licenses.
@@ -394,7 +394,7 @@
 	margin: -1px;
 }
 /*
- * jQuery UI Button 1.8.10
+ * jQuery UI Button 1.8.11
  *
  * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
  * Dual licensed under the MIT or GPL Version 2 licenses.
@@ -432,7 +432,7 @@ input.ui-button { padding: .4em 1em; }
 /* workarounds */
 button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra padding in Firefox */
 /*
- * jQuery UI Dialog 1.8.10
+ * jQuery UI Dialog 1.8.11
  *
  * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
  * Dual licensed under the MIT or GPL Version 2 licenses.
@@ -453,7 +453,7 @@ button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra pad
 .ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; }
 .ui-draggable .ui-dialog-titlebar { cursor: move; }
 /*
- * jQuery UI Slider 1.8.10
+ * jQuery UI Slider 1.8.11
  *
  * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
  * Dual licensed under the MIT or GPL Version 2 licenses.
@@ -476,7 +476,7 @@ button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra pad
 .ui-slider-vertical .ui-slider-range { left: 0; width: 100%; }
 .ui-slider-vertical .ui-slider-range-min { bottom: 0; }
 .ui-slider-vertical .ui-slider-range-max { top: 0; }/*
- * jQuery UI Tabs 1.8.10
+ * jQuery UI Tabs 1.8.11
  *
  * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
  * Dual licensed under the MIT or GPL Version 2 licenses.
@@ -494,7 +494,7 @@ button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra pad
 .ui-tabs .ui-tabs-panel { display: block; border-width: 0; padding: 1em 1.4em; background: none; }
 .ui-tabs .ui-tabs-hide { display: none !important; }
 /*
- * jQuery UI Datepicker 1.8.10
+ * jQuery UI Datepicker 1.8.11
  *
  * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
  * Dual licensed under the MIT or GPL Version 2 licenses.
@@ -561,7 +561,7 @@ button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra pad
     width: 200px; /*must have*/
     height: 200px; /*must have*/
 }/*
- * jQuery UI Progressbar 1.8.10
+ * jQuery UI Progressbar 1.8.11
  *
  * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
  * Dual licensed under the MIT or GPL Version 2 licenses.
diff --git a/IPython/frontend/html/notebook/static/jquery/css/themes/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png b/IPython/frontend/html/notebook/static/jquery/css/themes/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png
deleted file mode 100755
index 954e22dbd99e8c6dd7091335599abf2d10bf8003..0000000000000000000000000000000000000000
GIT binary patch
literal 0
Hc$@<O00001

literal 260
zc%17D@N?(olHy`uVBq!ia0vp^8X(NU1|)m_?Z^dEr#)R9Ln2z=UU%d=WFXS=@V?HT
z#xG*`>Yvsgk=}99w^d^D^d*@m74oMo<%#FcopJf?u00-~YVKV2wzrI*_R6;UORMea
zBFVSEnN~eiVA6V&z`E)YLz5Aok^D)In}Yn=OzDpgR5Wv0XfT8pOkmV{sKAJ-PO9#T
zZK}IXj&Q-V!U)!LcB_3K<j6=ku*!%uXjy#leKdQ?`ZvP&RiaPVOzxQ$`O)`M(6sLS
yN%J;Y?DO0<r7?ff#!c6LsA*2U`f2*?C%gsKpMo6zvorv`#o+1c=d#Wzp$Py>0&C*{

diff --git a/IPython/frontend/html/notebook/static/jquery/css/themes/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png b/IPython/frontend/html/notebook/static/jquery/css/themes/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png
deleted file mode 100755
index 64ece5707d91a6edf9fad4bfcce0c4dbcafcf58d..0000000000000000000000000000000000000000
GIT binary patch
literal 0
Hc$@<O00001

literal 251
zc$@+I00jSuP)<h;3K|Lk000e1NJLTq001Ze001Zm1^@s6jQ+T70002ONkl<ZScUD^
zT?&IR7(~(AY#^)6!n1<<Vj)fQYm^M-n@5r1C}@~h2;ohZ7-N3vC*J$+J$LlEJIhL0
z?fU|%;UEDj;@||T;sBg74hkR1O4$<++XU{$LE{Z7;GhCj!9fA2go6yIhJysCh=UWT
ziUV-UI2ia*&y+p!utUI|$6*(^`>bvPcjKS|RKP(6sDcCAB(_QB%0978a<$Ah$!b|E
zwn;|HO0i8cQ<lay$(1s&O|n)t8rvkbvR?jjlN@>j@~)s!ajF0S002ovPDHLkV1oEp
BYH0uf

diff --git a/IPython/frontend/html/notebook/static/jquery/css/themes/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png b/IPython/frontend/html/notebook/static/jquery/css/themes/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png
deleted file mode 100755
index 39d5824d6af5456f1e89fc7847ea3599ea5fd815..0000000000000000000000000000000000000000
GIT binary patch
literal 0
Hc$@<O00001

literal 3762
zc$}?PYgiK4)~3@mooTw9nMM;$eWu2m#PU%G&Ac7QOv^6gctJ3vM8!lUG!aCxuV%(k
zNi$PJQ&LJz0Y?x^5jisjc>}@=3SKC$c~1}w6*=0OALo1K`}zIZd+p2GYrSjlwcefi
z!$qGxyG(Zh0DwJbeNX=g0Bl>{lq3HB>1KQV)gNg9z+S@H)1HC&hx4VOIcD51{@Gry
z&A;=BuZ*(e8)$HA_?sgRT^YmJOHF05+7K`5c9X+-n(!t6d(BoWb%yoX=*@H9KPBk;
zwrvXkO8WNQW@q+K&z%6k0ASat&8bg+c)hvgc=Og?0N}T6U)=xzZti*XXgdH93)o=}
z09@Jr|Ecmunx6E@7Bb*S`Cs<GH$gUx@Zo3sEpqKfjvdtR^f7!rEAL)@9RCe5$8)t%
z+kgiXP3@0#CUb_f;hnd^d(pdt56T7}yP-E6oH@cuU0!{3>yws(185N*Ss%gpfJy?l
z*r7=cysM0}XbF_CGI?J8#Z`f6DM)s*;RBEJR^F>P?$T#M)6;dunGQ(hsb>yo;mk9!
z6_8d%n`n1gV{6*7j-7(ET!yW^?x>n{sJY~CuAcPFnKGylhNYtC&6}wH74X7m;V*z)
zVPjuz38;+Z|BA*<A9ZW~Ffnm$A4PVfiM&Bh?OU)m%gCv88N_W^Ts_kNV}G|a9PVsc
z2-iIaE2o^rzK&VPXo-;vtVT959M_dMlEs0GGOLO-aT<;zUwM46R&tjsZuXTarWlOD
zqhWh%Nz8G#(A?m@3fZLiwGp~JK}N+t=TRQHQf6L8PSnM}g#O21a3-yyR?wW_Zo>^q
z54%`v7kPu(1(#{hkFebBQ$R8t_-G%2t|%3BBhr2uN|JfAK-#9tqWWhkOvpQCR+50?
zIMx~Cr&#xYO+?3~8cKE@dYZW45uTMA5gUVRc;E`PEj)L^RjhtJC?SD8>^IIG1QIR@
zvsUo&@+H+VJ=FOwT07Icl)$(Hg7wH&YZlCHC)-fpB~whIgcL!?g#d-*6pVl5=zOHM
z$3~XYyB<Q6bz&nDWsQ}ga5I0zkzo1Ay;BJ!UOg%T3<nus8|*0UcjWHl)jL)#j?XTM
zv5|*wEIHk)9jF`VRXDh#(gO2v6;mvRsn3~_{Pves8hAaB@kE|9=C-18XSYW6`{B%^
z)&tdnKvd!R_^5ubsPsC;vpmL}qJ}<Aj@86gizoW@?(7Uy0+8|Z%t(I(Z%Fje(#Rtp
z`L^=pRvP^F`Krkhr$ntOQS;g4j9$sh^7fc|d}9Ni=8icZmMR0w$keU}kKK-+03rN`
zD6{^QgU}{zEV`*X7G~#7xWm+?%r+&YflS#>n8M2qVGZuH*l|R*hr%h$RSL@y&Iqo`
zyH^=W{}3R)hN1miE3m;UwO}QXDl6{Yh*^TF!ZsX`?DYtw^aj1@{TvM0-Vo|uGiE~5
z)TJBLFVF4R^b&O|cj#j_KH*47>pdq|psXK{tbzvZ9Us$|>*PJ*WMMG}E$@j9MP{qs
zO&l}59jWv(^NV6WQTi%Xk<+2G-=jN8Z|+m}$t~u$i*i<4nn|uysfm5P_Xd~}jlts>
zC*Al3yjp!e7N#oP)A?*ll4VDmEp?K%L{0u~RupBcLJ1xc;syD@+yk^{9u-*c)nKv=
zZ@)HhFT3C1g<k$D6^eclV%El<osL+ho6uUJTp%A3>zyDEsSuU)Q78fPgd{qUPq91G
zXwL%bC{vW}GIXt0LVnt8>&DGnls_ceOJPl;FY@c&L9|{G+|4&_7c>f6YWdRVMrEMZ
z2P~mHU^dFp`TvQ<|0-rD_37`Xlv0;6rzdg0k}jNSglakHZNc1MP(7xS|2aTCaJ!(0
zCNfQr=w~se3H;AY{M(7by25mjWnQaMenYvwFI+23dBi{+KZE8`lX&2KPPyQlS7sc7
zdkeT`eleO3b2W8HEWP^ka4pdh<^`l{E?<ojSA;wco2Z{ebml?)=no_M{Q{G%QQ7w;
zAKE+o)^<vDD`h<wuzlGdv_I=E6NC6M4zsp2GkH@*$#kwT!3q^d>|6Xn0qM$&@|w+F
zC(P%~Wf9=@Ojeu&wrf0Iqo^}xa}y98YMy8Sdi8J&RRoPfNFL@o5N%89I)KKd$IJL#
z(341?MjcLXh}$zmmI?7Z!3_*1u4_F!s9;IPG`BgrS_H<~sP%rwx<?QSu7PC?xU%1(
zRy@xkFM11RNa(}+Kj1IuFK*yFjoyr~5>`Bqtx~uN_Qf0Fk5@)u{TL6RXkk|W<f#-k
z4*=}wO@8;n<|o>o+SjJ1kS&~eBjr-cnv1wVMpbe44Yj5B$>dfgL2KGuo~;k?hW0<A
z=S$Bo@_5`=1qVI@@Xd3VUh#W#C=O^r5ca0B)b0%0E8Xtu%qMzYIwAe3Cn@W-0KJy1
zSA4!35YmB<Tg0(a)i#o!5)CGCWC*i-`}$t;l4+pc<D7Q2Gna-W%T}}Xf4kB!mT>#m
zry3aoUk;%D<m7)n6s^P*uR?>3r(`7S*JBKAh1>Q`;_7I7@on?I2JJK)f&esZc=M7c
z*GIqa$OvhEe~_FPa+$`N97^mfP9r3fsV6?meP_WuI{AB$BLIJb>^0Q<Y--*kd1vo0
zSQ_ndr{94>9)@~pTn|!F9;6UMQ$%XKrzXH=jL}}92+hTWSzs)2RX#EaikX?)J3I;i
z@EzLgDuP>C&8ucBwKsz0qSea3F>X^yJGMyX)pGLnP0o39?Tz_IE_%QBBh6Y&9#5mm
z4f34T{Of19_nqhP_I-o9Bk8jA5C^2om_ydrSrS&$A!e4rSH>FNrDfY24R@^vPen|?
zoCjkWt;Q%BCaMlzPZNymT8P6`y`^1X;tzMmVupfSUa5^pj3f+05G%GOo?!zS*U)Kj
z=T~f$vWvj#NZw)Pq)oO-8LhXX))TyiJ<?@vk5hKTgy3#FqPIw3mM-+c9W<i&R{b%z
zX>dGekr_DY*;68II@h3t(C4|~3<WRLy_-Kq3@Xf>(UoPE|7cbLo)<Wmtjx)s63gf+
zH?(>U>7MYBf#b8bZ-rqeVs>-*Vf|0||HrT7JqNs%?|+7Az(c?F5u<+k=P`eFq+@%x
z)bSY~D@5+^;H?^QN#eK2(2SQZK%0DDvBu=oCASwo!s`S1=@5miOgW7z(AU5*=2UeF
zl<3c_STZNI5O_%2AgzjhS9Afla0np{;}&}WtF$en{XKWe&>OWW$rJ4=2&WY2_c%bx
z`#f&051)dW_YbP9R*q#?v<erxem7~q3{?6Y&_KETdqz_)&VTV-eT6C~CL3u$DMlrr
zN7V?IDxJb~3(WO^gMUTnYU(k$iQ@gVPP-RAV&WvsZG2bR)O8`LFin)vhbvqew@2P>
zv;l%9$#EbOXr$(HlxtWkozU5K%?^e=-O93yQpM(NmV(^WgLi^L4;KuDV13Qw;IMih
zB=g?V+v(_Zi8e}Xfe}S(4<jfJ9WbXn-i-5ox9uqLX;E3SFcMik7hr2FuM|8e(4@AJ
z{FI?<g<(+!pN(55*Z2l))#omo-UG_EVfW}Ez1p`Q%+I8Mg{oBM14pq(Y>T^mm%UHr
zU0xnyA@6`@B{MziLHz}ei_#Aj1J;QT%x9O@V`8Q1j#I@VP9;Vs>3U{`oWCYX{{}T3
zHN|HAQnS`JldZa2Pt(;ctn3~!X&Ly=tac^N>eHwD<#~zUl?=v`>>X1>JKzianLTTL
zFY01!?@`)2QJ@(%);kT9)r{&_kIA3cR-@ynPpkb(jl751)11g<Ye&>nxoJSsqU1v>
z%fM>2*K)M*?B+g*D9*7F?On?KZ;DZ-ccwM0AP_EPmY8{N_Yvo1+6J3E8K8JqfymEa
zf+7U@_QkDMN8`@Hj|YqDCNAYbR`XJdFZf*&9+}`YaS~!Rq4)&Y#g-6`vnu>ISy4mW
zL?F9dP^HtTMj4(Ul8E{wpRylw0TMxP^qq>%6&qv7a&WbvW<JT*T|Oniw4XIlcoP#x
zJ8nB2fO4f}CkGi1;V2hr*stP4K(2AgT(&q`RJUv{@OMjOX+$bJasTVcD_(?$x>SDm
zqK^LZ>p=(X864XYY;G%Ti?YH=5E025H62k~SIj-XyFgPQ-^nH&rh@bllaV+o{k`S<
za8~Y|>GFC?F3lZOI0H@A(5uJeh4HvWNf~!!EXxq1Bva>f4*AO1H1=Sk!P#$dzI!DI
zH5Zh|%&G4%GFX1WUB<3ExkJ`dus+D{(Wc_tP&0YR!ow<V>WEQd5{a7WBBmNeXagLX
zAflS~^ko1v86>`4&{U&vqe|Pc9<iDGYma&$G1`p3lZ+ti>8IzU`$FiyLF*0DCHk)u
zVnTE06x<FnwL*D5whr~w?z|Q(PcgP$3X~0JsjoybYj7Zya?O&qTyM1bKwS?HO?<pf
zTgLRtj<U>Eb_%?qeX20twk>7D+8#b#WJhR~G#Bc>jX#dayAy4rs*Ch6Ei$h4!R1(^
z8DEYWtwAOwY;%U&Ea9tAu<?bFne5Symp6W%vFKf86Z*%GQ~giaqdCpuLwu<TTi4kU
z5#BL_N_gv*BZQjg263&44v7{ajV+CA{;RplHhbcg$RwJ!+IAM*SnXpMm;^DpIVWs;
zc|WgiV9mzc4T%;gvLmc_Mivfdr#um<H2&UhwI%awyS?4eF9!QT+09k#nrg{Fk;F2t
h<<k>e<RRBtUY_fX56y7fy*UJ&^}cwT`Tdn!{|2}0rtSa$

diff --git a/IPython/frontend/html/notebook/static/jquery/css/themes/ui-lightness/images/ui-icons_ffffff_256x240.png b/IPython/frontend/html/notebook/static/jquery/css/themes/ui-lightness/images/ui-icons_ffffff_256x240.png
deleted file mode 100755
index 42f8f992c727ddaa617da224a522e463df690387..0000000000000000000000000000000000000000
GIT binary patch
literal 0
Hc$@<O00001

literal 4369
zc%0>!`8O2a|Ho%xhOrG}UnfiUEn8(9QW1?MNxjLC7G+<u4l}Z3uT-`eLPXXiYeupr
zL^75cG?B*G8I0}QyU+LYS9~7lo_k-<U+y{2d!Daz@3{#!=<{4KQ5XOK;Ic3`vjYHt
ze@ehA8~D#mvbeDOXIZkbvOl|jxc|R1syU)s{uoCG+MzE2gyAPx*lgM!WT{Ep`=V}P
zMESmOA`Jvh%`Zq^JFa1;6004L@3`AL*nQGWytOf+{9SR%>x#Du2L#y_7zC77==Q9j
z%5ysRoRN3r<2!eT%?|(oo>&Vr6Z?=COU@~7ll8oiUh}fKm?x^?9`tLLr*CgO@w_+Y
zU6HN&dL+<dY>RT_2f?xU86%NrYh@>Q+%1hjvdc!2?fQVH&-!|LNML>&`nA~HmjF@#
z<hw%^?#?m(OyH%^<`@kg7Vz2k8d&p2Mb%ZonR&rLj(fNzpQEWVOJAO+Ec{MVb_0X?
zNZg8=82s7UBt5o*Hdr=XF@sadK|gZS<|gF_muW~fpVB%)#ZWdZt{7^@Px=6jfiHny
zN{YWhG69_zYFZ~(z{3sW&49L;`Y0jNspW9w)5m|Q>26pv_wDwBUqO9Zmp&m60j{zT
zCJ|CRaIh(J;h$pJd>j&GKQrplWIn3?bJlIV_!Lt&{a8ViBh}mwV|KQvTgh$!@Eljc
z1vTe!I7W~gpWvecV_)hIt$$l>Umls2e!0e^0@q>V9#W6GoZC3u{~tQ{BI{xAkap<)
zJ4Bie4{|e2bdx>7&JEfqj#7AfGJA@D@{D^tqqA&?Tu`Mlg|f$^JX#Khc->eM{QWds
z@t)j{$2R%vp--9B68TlW35=UfD(s8XhT3lYSCB2?MKGP}iZ5Mn?gT{=6{6ZjZG{rA
zqwv%XE&d6^<(Iz&rDNTWe(Fd%p5YfmU66X5o7!+DzO0Cev;SSW0@7=VV(Mo7=YafN
zY7T3^>2z?uMydF-cNX-%E;HLGSFE-NuSMipzlh~W&B3hEs=T9FeFwelEG65;PkuZ)
zSc0zq<Bg(|?0_u=S&p0h7GB^aa*_ft;oWS(Ib<K|sd3G!p$3I7pUpSO>T#z2ZAsbT
zS(NU;`<P83Sd1kYiV^KQ02>XpH6u}XkfVij`+SxNxC73cSAefm+Vz!mc^b#A9NaTn
z45bFVpCGG_U%h;N^E;gLyb!eKG!QC-$;IS9LE?g<-`EFQzUCFDM9zqJCUsoPC-3Tr
z+qbkO$bG*@-wGjC64H8m{)KdJitg+LQKH+96D4!FREFb|Scex)<I1$PIVP+fEx$yt
zCWb~2+<ws54p(+TTr5%$1n+qceK?!PZ5_kJ!;qW~vU~QLrjA=%z$ZYrm#T>o#wg^s
zTN|UM(~kZ#3^{q!aH9#xsmY>lw()`rHV$WMdSiCO3E}`->+?@(FDYcZqcH3oXwgHz
zUM8}^TY#PF?iBGE7<=Wz`Qeh*19oZs!oh85UlzQH{<Yl=JH?kPJzdQX=gAmX40n@#
z-1<roSllJ`gL*y~9!&m_{4dQZ>(8fqK(6sGC~ne}RYk_ih&{?TJNBH*O@CeZh5JLL
zrJz{`ce}LL0;S^3Mb&nKyWR#(_vugwuBs~LbG0sLq*$M&haRh5HO5G%C&MvDmi{a@
zPM;Wp)h;Xz<BQjWk~QVhC#?mT_R$w>D;Cshu#GIwR{^$CTJvnQHC(-#7@G7J`jd(U
zl=F%gD7I#-8sWBC_kJF#{s_inGSX-nt`BzL86ARc$^oIWRNPNsU!X+%PKM$X`i)!E
zxj%FrnBM#mb9a}?0}<u%MoT3YICyI(kM5}OHny7}l(w=Q*M2Asbc1yu!sXB+qj9QD
zQheF@`B<7ONBsjWcFEB#IBPh=$Mhjr(s2X+&8JrXaFl$apl_%pWmR<4Pk9&$cVGZi
zpe-uFJ-X^07wk)%MQNv+MfqZrCy`Br7X$}moC0V5F+j2`oRRVfEYLp5L)_KwRfT~4
zi9pWOG-V=7|E;$q`r{f%wCN+<8B?V2$XCckb3D5Te^CrUcrz5h3B+c`O&Sq<zxam~
zttF5TJ|TP~!glmciPY{i0sUFGnxLvAe^BxP;RdMG5?@bX3Tp@EL!`tu!-$VHCF0IU
zis#oJPV-_?)8a_k9lKzf<xDRkg1!H#5i7HGvY@ugT9!yUTBUD9f?)L~K8lHjpkfW*
zurOFF79j2csXNF7?2YhZ^i9l&jpKX!Q(h;%Pq*K=#XVudhYHYZYUf*Jl_X?ZNzt~O
z(f|~s__ch9x|$lXxpWmryL0lJ&mmv6zcEmVYl5p&7~M@hmAs~9y1+Lq7U|<cq5$PF
zL^i+=Ai^gq2Dj{Mt(y6n>olkVYJXmEnV((6N=kpTTTe8lo9v9CPe>s^)uvBy-{f$g
zbBwB&m4aF9>spt6FNy;QuO&5j%*hZj?D0U(SL^SW2d-;A{4Q_px8V<#C!Vk=|58x)
zN>KSzn7B%y#T9w^h@0Zx-wyxA+_3xY?X`8gelJAkKj`)POS^&Fmf<<f;RLT*@*FAM
zAun)Gx1e`+xYjNT!~FJjFMFUKO*)R9WSFvFo)ZzyQdsvl*!1hcJB0cVvHF`RDYcPF
zRd8_FZLsc$nM_U%J8Q=CoQ<znZE`S`^yQ`E+56FhzXNc;`XdnvxnX-3Jt;TaB7z#&
z`uX>5+az6Mm9Tlr_Jn?}S}=~8-eecmwY%iVaYI^JiNJ||<he;e@A0$TxzTnmkUQQ0
zt*oz#T_7bp297_I#T9qtUw`puuluQSDN0Mzkwp2kM3<Q=rp`wQZCEqiZ@nOZ3REK4
zu})$r)&ox%d8c@{z%n7)qvF~h@nSWn7G(05SX<r<9!}3>T``|bi=z)qu0CU4J0SBY
zI&1JWU?hFp4f5Yj=eCPxqsu<~Tn(Sr9@fi^*3If}1ZNr%Co_)EbnXhpGX?6~Qod;d
z<w&;j@=>hQv@zoso)aBo4bPO17y5@E+-*QVM$FVUSMub~Yws&^PJHgbl%j#Zl9F+1
ztsIln6%X@Skh}Yf-G$vp`<2hqre?V_(n~h!ihk^MCj<$`+qG*4-Yr_@IJY6O{vFH;
z7EVHLXH<MVRKq+MUfY65;F)P9bYH)#ntL}vE^d3HpI3sm^>z<$Dx<$_xtwDN#nqD)
zXl8hO#Djem?wJmX6*m@aWtHc@x9er2lhhPZlgk^jkXQ`WOuiAjml%RHGjYrRn-vMn
zL+GoE3Q(aMnqEuY5c;gyN~FPkCw4iN%{|a`wmL92o6zCA)4{VUVfTxd5)}zizfK&V
z>h)}m74!C`a^?2x1@?-i<#cI?a=RcP4Xx$88l&B!g`Nm)Fo$Fcf!VX@0y$z7EVz~O
zXbALPyfX0W?zoiKI&E=bsAjk~l_2g3i}1e*qO!KkQ@Ij*%HbGO)w=i^^5J~}HIIee
z`4l@JN(eR%MpMiipJjO@Cxd|&4n@b?>6{Ue05+A0q?xd^oCpYNXpePmO#{q`vISfX
z)oT7_c-Qr&Pn5-?9wBmlt3pk*z*hj`X#ycn4?K7Y!|++>4l2@t>Fn35jPeFAhW%zA
zVkm2~bcy`xHFb1XOYOKAcKG@Jmxqhs5AQ|>SL@4d#@wS$CLny@92w{uSCUSW;ONIt
z_<>T$7HwfvT&)@WL3biW_dH-5Csjc|H+OBX6;F-rR3wuTudILf_Oc(#-}UUgloD_-
z!aH>5?ZOgxJ|F-%gI?Y8Jvo7qXRG7UV5l2_yAHF93IhsPUQc7!*wlEz^Qi99$$$rX
z10PDPCkYPA5Hltd=c+>(bWIfj+!veLbe?Gx$=qVDe)H1I+5sw)!8F3K7T{;cLFj_+
z>SX>FTT-48YC1?q1IV|?OSG8?IGXAN;&q~nz?z0#i+qM9P~U@>NG1G7O9#j^k>T>G
z=#)_^j!fMlH{Xy&ONmr!LsJx(j*b2&WMpJ+sB*5+7Tyx9gf>RT2kOR+DBzZr7=m-v
z-UheMgj$|(0HN;V)qrlz6$<p0Mu+~sJiNbD0P+fvdG+x2@5G#s;pwPTLOV0;J42%w
z*E0&KrG|2DG`!EuiT-{=iHbOi_lxx+%^mi;FXAOl2~T`VTQA89dW-H-XJm471-^Kt
z1IXY^ex{+v3z|kd;zr-ZN{LVkx#w_bnCx+?lY#x_BV`dg&dpv*-mUbb+Q(-*uLG{g
zsdX^o*%T5!lVazc!zP_pL(*Wk-i|Y*oqeju<b(KzewM$>4NSZjPQ0&gvIzKcM(cZA
za2_tW)GkWOMP|Fkv6%<XNl^$X*&a?(_mitf@Gb0K5o_QmJ?v!5>FyVsy5qa_>7I)P
z1L&Bz+b!=_(#ur8<tRuwthJP2c+^SD{0lYC_Ka1F2k{~6iNN0rTr)GcKAp5T^;Q54
z7#pzu%_jkxtp~-NHT{Hs=&(J_+UK62{@6=lI_G#jW~)Qc4wPMsz8xM`7uo_k2FS1k
zh19aWtmS?Gi`9#6Y$B!ryuVX;c{nn;dccd-il~4=_^2QAUO$2sReSL`CgN28Sla`n
z=57Q3`M`lgx_1ZT4T;`V+~4-!OW6r<50;pV64(z*{q9Xum|K^`T33dq@<&#D-Qc7$
zy=H(gp`6tfW5>%BeU+K0Y(T7oyfR{s1A>ckARJ#2yU<`q8@uK_TT&rZa=Ng1a4hT$
zL>_!FqB<RiXv!n^pyu$QTnz1&iix0&j6=?p5{$!SIy4v#WR!nRl-WKAvq9Nra-oe*
zs2?4KzjE?XOl3R;ECNNZ>?G$zy5hA$tcbx}r-fW>Df-EDL*K;jEeq~}Y$Y9%pk*id
zlaPj{mXG8}E%Dh)b~cj|1rxemD_gsvQObnu!GB+|j$-?}xTpO>wiQZM6O<-@*k76P
z^}q7=(5$COmU@xX<?HWSgXUy+Hh@z5z!wo-ZXJsb-p_|8)`N37og7-{q#}0XDGUL#
z&tDSJ4(Pdg_+e<gFi{VXOXq$$F+Q_+&p`i0nfm9mSmU#jN`LO(S!*P-bUJb`W#RVW
z3-wcNkV;A2%)WVA>n+%gSTn2~XX4mx7TGP^<@e|F^cX&=I7KFR698B+c$xD;z0~TX
zOlYQ$SQc2t8pY((nEoJOtFW|A{K=1p>*u*`HNFwa4Bkqg8HBQ&))`}GqLYK|h;xT%
z9g@X5BUIk<vxG6Wwh?mrRD#!Z*Z0<xN~MyTCDbi4>h9%JDPHlli*du{eIoyXw+`Qt
z(i_ghI0BEXOUMF#u#hq`u#6@5bGRQzo4##dBjk>mxu1hKyf?}^*lWg~XW+u8p;Oz<
zsB?emdSyG6XO3)y@s*7VH3`y>z)M=NXG1~kpq<?h7a2Yu!40kN`yy$;`=QO)0xyBR
z;4lM{-j=|#6>lk<Q#<}$SMD7xt>J?V^Iun0N0ifD#=zdK2a6QeFnZftEDA(9oTP#+
kcpO=~yti{6*ZkTs?wt=1mof;l`S-`e;w;*%(i9W@e+7cev;Y7A

diff --git a/IPython/frontend/html/notebook/static/jquery/css/themes/wijmo/jquery.wijmo.wijprogressbar.css b/IPython/frontend/html/notebook/static/jquery/css/themes/wijmo/jquery.wijmo.wijprogressbar.css
index ec2faa3..2987336 100755
--- a/IPython/frontend/html/notebook/static/jquery/css/themes/wijmo/jquery.wijmo.wijprogressbar.css
+++ b/IPython/frontend/html/notebook/static/jquery/css/themes/wijmo/jquery.wijmo.wijprogressbar.css
@@ -61,66 +61,55 @@ div.wijmo-wijprogressbar-north
     width: 100%;
 }
 
-.wijmo-wijprogressbar .lb_west, .wijmo-wijprogressbar .lb_east, .wijmo-wijprogressbar .lb_south, .wijmo-wijprogressbar .lb_north, .wijmo-wijprogressbar .lb_center
+.wijmo-wijprogressbar .ui-progressbar-label
 {
-    display: block; position:absolute; 
+    display: block;
+    position:absolute;
+    text-align: center;
+    width: 100%;
+    height:100%;
 }
 
-.wijmo-wijprogressbar .lb_west
+.wijmo-wijprogressbar .wijmo-wijprogressbar-lb-west
 {
-    text-align: left;
+    left:0;
+    width:auto;
 }
-.wijmo-wijprogressbar .lb_east
+
+.wijmo-wijprogressbar .wijmo-wijprogressbar-lb-east
 {
-    text-align: right;
+    right:0;
+    width:auto;
 }
-.wijmo-wijprogressbar .lb_south
+
+.wijmo-wijprogressbar .wijmo-wijprogressbar-lb-south
 {
-    width: 100%;
-    text-align: center;
-    position: absolute;
     bottom: 0;
+    height:auto;
 }
-.wijmo-wijprogressbar .lb_north
+
+.wijmo-wijprogressbar .wijmo-wijprogressbar-lb-north
 {
-    width: 100%;
-    text-align: center;
     top: 0;
-}
-.wijmo-wijprogressbar .lb_center
-{
-    width: 100%;
-    text-align: center;
-}
-.wijmo-wijprogressbar .lb_running
-{
-    position: absolute;
-    left: auto;
-    top: auto;
+    height:auto;
 }
 
-.wijmo-wijprogressbar-east .lb_running, .wijmo-wijprogressbar-west .lb_running
+.wijmo-wijprogressbar-east .wijmo-wijprogressbar-lb-running,
+.wijmo-wijprogressbar-west .wijmo-wijprogressbar-lb-running
 {
-    width: auto;
-    height: 100%;
-}
-.wijmo-wijprogressbar-south .lb_running, .wijmo-wijprogressbar-north .lb_running
-{
-    width: 100%;
-    height: auto;
-    text-align: center;
-    -webkit-transform: rotate(-90deg);
-    -moz-transform: rotate(-90deg);    
+    display:inline;
+    width:auto;
 }
 
-.wijmo-wijprogressbar-west .ui-progressbar-label
+.wijmo-wijprogressbar-north .wijmo-wijprogressbar-lb-running,
+.wijmo-wijprogressbar-south .wijmo-wijprogressbar-lb-running
 {
-    position: absolute;
-    right: 0;
+    height:auto;
 }
-.wijmo-wijprogressbar-north .ui-progressbar-label, .wijmo-wijprogressbar-south .ui-progressbar-label
+
+.wijmo-wijprogressbar-north .ui-progressbar-label,
+.wijmo-wijprogressbar-south .ui-progressbar-label
 {
-    position: absolute;
     -webkit-transform: rotate(-90deg);
     -moz-transform: rotate(-90deg);
-}
+}
\ No newline at end of file
diff --git a/IPython/frontend/html/notebook/static/jquery/css/themes/wijmo/jquery.wijmo.wijsplitter.css b/IPython/frontend/html/notebook/static/jquery/css/themes/wijmo/jquery.wijmo.wijsplitter.css
index 186b0d9..355eadd 100755
--- a/IPython/frontend/html/notebook/static/jquery/css/themes/wijmo/jquery.wijmo.wijsplitter.css
+++ b/IPython/frontend/html/notebook/static/jquery/css/themes/wijmo/jquery.wijmo.wijsplitter.css
@@ -3,8 +3,7 @@
 
 .wijmo-wijsplitter-vertical
 {
-    overflow: hidden; 
-    /* fixed bug for IE6.7 */
+    overflow: hidden; /* fixed bug for IE6.7 */
     position: relative;
 }
 .wijmo-wijsplitter-v-panel1
@@ -22,29 +21,29 @@
     position: relative;
     font-size: 1px;
     width: 2px;
-    z-index:99;
+    z-index: 99;
 }
 
 .wijmo-wijsplitter-vertical .ui-resizable-e
 {
-	right:-7px;
-	width:10px;
-	z-index:999;
-	display:block;
-	background-color:white;
-	filter:alpha(opacity=0);
-	-moz-opacity:0;
-	opacity: 0;
+    right: -7px;
+    width: 10px;
+    z-index: 999;
+    display: block;
+    background-color: white;
+    filter: alpha(opacity=0);
+    -moz-opacity: 0;
+    opacity: 0;
 }
 
 *html .wijmo-wijsplitter-vertical .ui-resizable-e
 {
-	right:-4px;
+    right: -4px;
 }
 
-*+html .wijmo-wijsplitter-vertical .ui-resizable-e
+* + html .wijmo-wijsplitter-vertical .ui-resizable-e
 {
-	right:-4px;
+    right: -4px;
 }
 
 .wijmo-wijsplitter-v-expander
@@ -55,14 +54,30 @@
 
 .wijmo-wijsplitter-v-expanded .wijmo-wijsplitter-v-expander
 {
-        left: -18px;
-        z-index: 999;
+    border-right: medium none;
+    overflow: hidden;
+    padding: 12px 0;
+    left: -8px;
+    width: 6px;
+    z-index: 999;
+}
+.wijmo-wijsplitter-v-expanded .wijmo-wijsplitter-v-expander .ui-icon
+{
+    margin-left: -6px;
 }
 
 .wijmo-wijsplitter-v-collapsed .wijmo-wijsplitter-v-expander
 {
-        right: -18px;
-        z-index: 999;
+    border-left: medium none;
+    overflow: hidden;
+    padding: 12px 0;
+    right: -8px;
+    width: 6px;
+    z-index: 999;
+}
+.wijmo-wijsplitter-v-collapsed .wijmo-wijsplitter-v-expander .ui-icon
+{
+    margin-left: -6px;
 }
 
 .wijmo-wijsplitter-v-panel2
@@ -73,7 +88,7 @@
 {
     position: relative;
 }
-.wijmo-wijsplitter-v-resize-hepler
+.wijmo-wijsplitter-v-resize-helper
 {
     border-right: dotted 1px black;
     overflow: hidden;
@@ -82,8 +97,7 @@
 
 .wijmo-wijsplitter-horizontal
 {
-    overflow: hidden;
-    /* fixed bug for IE6.7 */
+    overflow: hidden; /* fixed bug for IE6.7 */
     position: relative;
 }
 .wijmo-wijsplitter-h-panel1
@@ -100,29 +114,29 @@
     position: relative;
     font-size: 1px;
     height: 2px;
-    z-index:999;
+    z-index: 999;
 }
 
 .wijmo-wijsplitter-horizontal .ui-resizable-s
 {
-	bottom:-7px;
-	height:10px;
-	z-index:999;
-	display:block;
-	background-color:white;
-	filter:alpha(opacity=0);
-	-moz-opacity:0;
-	opacity: 0;
+    bottom: -7px;
+    height: 10px;
+    z-index: 999;
+    display: block;
+    background-color: white;
+    filter: alpha(opacity=0);
+    -moz-opacity: 0;
+    opacity: 0;
 }
 
 *html .wijmo-wijsplitter-horizontal .ui-resizable-s
 {
-	bottom:-4px;
+    bottom: -4px;
 }
 
-*+html .wijmo-wijsplitter-horizontal .ui-resizable-s
+* + html .wijmo-wijsplitter-horizontal .ui-resizable-s
 {
-	bottom:-4px;
+    bottom: -4px;
 }
 
 .wijmo-wijsplitter-h-expander
@@ -134,14 +148,32 @@
 
 .wijmo-wijsplitter-h-expanded .wijmo-wijsplitter-h-expander
 {
-        top: -18px;
+    border-bottom: none;
+    height: 8px;
+    overflow: hidden;
+    padding: 0 10px;
+    top: -10px;
+    z-index: 999;
 }
 
-.wijmo-wijsplitter-h-collapsed .wijmo-wijsplitter-h-expander
+.wijmo-wijsplitter-h-expanded .wijmo-wijsplitter-h-expander .ui-icon
 {
-        bottom: -18px;
+    margin-top: -4px;
 }
 
+.wijmo-wijsplitter-h-collapsed .wijmo-wijsplitter-h-expander
+{
+    border-top: none;
+    height: 8px;
+    overflow: hidden;
+    padding: 0 10px;
+    bottom: -10px;
+    z-index: 999;
+}
+.wijmo-wijsplitter-h-collapsed .wijmo-wijsplitter-h-expander .ui-icon
+{
+    margin-top: -4px;
+}
 .wijmo-wijsplitter-h-panel2
 {
 }
@@ -150,7 +182,7 @@
     overflow: auto;
     position: relative;
 }
-.wijmo-wijsplitter-h-resize-hepler
+.wijmo-wijsplitter-h-resize-helper
 {
     border-bottom: dotted 1px black;
     overflow: hidden;
diff --git a/IPython/frontend/html/notebook/static/jquery/css/themes/wijmo/jquery.wijmo.wijtooltip.css b/IPython/frontend/html/notebook/static/jquery/css/themes/wijmo/jquery.wijmo.wijtooltip.css
index 343ae4b..0199d97 100755
--- a/IPython/frontend/html/notebook/static/jquery/css/themes/wijmo/jquery.wijmo.wijtooltip.css
+++ b/IPython/frontend/html/notebook/static/jquery/css/themes/wijmo/jquery.wijmo.wijtooltip.css
@@ -70,7 +70,7 @@ padding:0.4em;
 .wijmo-wijtooltip-arrow-tr .wijmo-wijtooltip-pointer-inner, .wijmo-wijtooltip-arrow-tc .wijmo-wijtooltip-pointer-inner, .wijmo-wijtooltip-arrow-tl .wijmo-wijtooltip-pointer-inner {
     border-bottom-color: inherit;
     border-bottom-style: solid;
-    border-bottom-width: 10px;
+    border-bottom-width: 10px;    
     bottom: -14px;
 	*font-size:0;line-height:0;
 }
@@ -78,12 +78,16 @@ padding:0.4em;
 .wijmo-wijtooltip-arrow-tr .wijmo-wijtooltip-pointer-inner {
     border-left: 12px solid transparent;
     border-right: 0 none;
+    +border-style:dashed;
+    _border-style:dashed;
     right: 2px;
 }
 
 .wijmo-wijtooltip-arrow-tc .wijmo-wijtooltip-pointer-inner {
     border-left: 8px solid transparent;
     border-right: 8px solid transparent;
+    +border-style:dashed;
+    _border-style:dashed;
     left: -8px;
 }
 
@@ -92,6 +96,8 @@ padding:0.4em;
     border-right-style: solid;
     border-right-color: inherit;
     border-right-width: 12px;
+    +border-style:dashed;
+    _border-style:dashed;
     left: 2px;
 }
 
@@ -134,19 +140,25 @@ padding:0.4em;
     border-top-style: solid;
     border-top-color: inherit;
     border-top-width: 12px;
+    +border-style:dashed;
+    _border-style:dashed;
     bottom: 2px;
 }
 
 .wijmo-wijtooltip-arrow-rc .wijmo-wijtooltip-pointer-inner {
     border-bottom: 8px solid transparent;
     border-top: 8px solid transparent;
+    +border-style:dashed;
+    _border-style:dashed;
     bottom: -8px;
 }
 
 .wijmo-wijtooltip-arrow-rt .wijmo-wijtooltip-pointer-inner {
-        border-bottom-style: solid;
+    border-bottom-style: solid;
     border-bottom-color: inherit;
     border-bottom-width: 12px;
+    +border-style:dashed;
+    _border-style:dashed;
     border-top: 0 none;
     top: 2px;
 }
@@ -187,6 +199,8 @@ padding:0.4em;
 
 .wijmo-wijtooltip-arrow-br .wijmo-wijtooltip-pointer-inner {
     border-left: 12px solid transparent;
+    +border-style:dashed;
+    _border-style:dashed;
     border-right: 0 none;
     right: 2px;
 }
@@ -194,12 +208,16 @@ padding:0.4em;
 .wijmo-wijtooltip-arrow-bc .wijmo-wijtooltip-pointer-inner {
     border-left: 8px solid transparent;
     border-right: 8px solid transparent;
+    +border-style:dashed;
+    _border-style:dashed;
     left: -8px;
 }
 
 .wijmo-wijtooltip-arrow-bl .wijmo-wijtooltip-pointer-inner {
     border-left: 0 none;
     border-right: 12px solid transparent;
+    +border-style:dashed;
+    _border-style:dashed;
     left: 2px;
 }
 
@@ -239,12 +257,16 @@ padding:0.4em;
 .wijmo-wijtooltip-arrow-lb .wijmo-wijtooltip-pointer-inner {
     border-bottom: 0 none;
     border-top: 12px solid transparent;
+    +border-style:dashed;
+    _border-style:dashed;
     bottom: 2px;
 }
 
 .wijmo-wijtooltip-arrow-lc .wijmo-wijtooltip-pointer-inner {
     border-bottom: 8px solid transparent;
     border-top: 8px solid transparent;
+    +border-style:dashed;
+    _border-style:dashed;
     bottom: -8px;
 }
 
@@ -252,6 +274,8 @@ padding:0.4em;
     border-bottom-style: solid;
     border-bottom-color: inherit;
     border-bottom-width: 12px;
+    +border-style:dashed;
+    _border-style:dashed;
     border-top: 0 none;
     top: 2px;
 }
diff --git a/IPython/frontend/html/notebook/static/jquery/js/autoresize.jquery.js b/IPython/frontend/html/notebook/static/jquery/js/autoresize.jquery.js
deleted file mode 100644
index 2c1af21..0000000
--- a/IPython/frontend/html/notebook/static/jquery/js/autoresize.jquery.js
+++ /dev/null
@@ -1,95 +0,0 @@
-/*
- * jQuery autoResize (textarea auto-resizer)
- * @copyright James Padolsey http://james.padolsey.com
- * @version 1.04
- */
-
-(function($){
-    
-    $.fn.autoResize = function(options) {
-        
-        // Just some abstracted details,
-        // to make plugin users happy:
-        var settings = $.extend({
-            onResize : function(){},
-            animate : true,
-            animateDuration : 150,
-            animateCallback : function(){},
-            extraSpace : 20,
-            limit: 1000
-        }, options);
-        
-        // Only textarea's auto-resize:
-        this.filter('textarea').each(function(){
-            console.log("Hi")
-                // Get rid of scrollbars and disable WebKit resizing:
-            var textarea = $(this).css({resize:'none','overflow-y':'hidden'}),
-            
-                // Cache original height, for use later:
-                origHeight = textarea.height(),
-                
-                // Need clone of textarea, hidden off screen:
-                clone = (function(){
-                    
-                    // Properties which may effect space taken up by chracters:
-                    var props = ['height','width','lineHeight','textDecoration','letterSpacing'],
-                        propOb = {};
-                        
-                    // Create object of styles to apply:
-                    $.each(props, function(i, prop){
-                        propOb[prop] = textarea.css(prop);
-                    });
-                    
-                    // Clone the actual textarea removing unique properties
-                    // and insert before original textarea:
-                    return textarea.clone().removeAttr('id').removeAttr('name').css({
-                        position: 'absolute',
-                        top: 0,
-                        left: -9999
-                    }).css(propOb).attr('tabIndex','-1').insertBefore(textarea);
-					
-                })(),
-                lastScrollTop = null,
-                updateSize = function() {
-					
-                    // Prepare the clone:
-                    clone.height(0).val($(this).val()).scrollTop(10000);
-					
-                    // Find the height of text:
-                    var scrollTop = Math.max(clone.scrollTop(), origHeight) + settings.extraSpace,
-                        toChange = $(this).add(clone);
-						
-                    // Don't do anything if scrollTip hasen't changed:
-                    if (lastScrollTop === scrollTop) { return; }
-                    lastScrollTop = scrollTop;
-					
-                    // Check for limit:
-                    if ( scrollTop >= settings.limit ) {
-                        $(this).css('overflow-y','');
-                        return;
-                    }
-                    // Fire off callback:
-                    settings.onResize.call(this);
-					
-                    // Either animate or directly apply height:
-                    settings.animate && textarea.css('display') === 'block' ?
-                        toChange.stop().animate({height:scrollTop}, settings.animateDuration, settings.animateCallback)
-                        : toChange.height(scrollTop);
-                };
-            
-            // Bind namespaced handlers to appropriate events:
-            textarea
-                .unbind('.dynSiz')
-                .bind('keyup.dynSiz', updateSize)
-                .bind('keydown.dynSiz', updateSize)
-                .bind('change.dynSiz', updateSize);            
-        });
-        
-        // Chain:
-        return this;
-        
-    };
-    
-    
-    
-})(jQuery);
\ No newline at end of file
diff --git a/IPython/frontend/html/notebook/static/jquery/js/jquery-ui-1.8.10.custom.min.js b/IPython/frontend/html/notebook/static/jquery/js/jquery-ui-1.8.11.custom.min.js
similarity index 65%
rename from IPython/frontend/html/notebook/static/jquery/js/jquery-ui-1.8.10.custom.min.js
rename to IPython/frontend/html/notebook/static/jquery/js/jquery-ui-1.8.11.custom.min.js
index 7d4ff1c..f8709e0 100755
--- a/IPython/frontend/html/notebook/static/jquery/js/jquery-ui-1.8.10.custom.min.js
+++ b/IPython/frontend/html/notebook/static/jquery/js/jquery-ui-1.8.11.custom.min.js
@@ -1,5 +1,5 @@
 /*!
- * jQuery UI 1.8.10
+ * jQuery UI 1.8.11
  *
  * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
  * Dual licensed under the MIT or GPL Version 2 licenses.
@@ -7,7 +7,7 @@
  *
  * http://docs.jquery.com/UI
  */
-(function(c,j){function k(a){return!c(a).parents().andSelf().filter(function(){return c.curCSS(this,"visibility")==="hidden"||c.expr.filters.hidden(this)}).length}c.ui=c.ui||{};if(!c.ui.version){c.extend(c.ui,{version:"1.8.10",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,
+(function(c,j){function k(a){return!c(a).parents().andSelf().filter(function(){return c.curCSS(this,"visibility")==="hidden"||c.expr.filters.hidden(this)}).length}c.ui=c.ui||{};if(!c.ui.version){c.extend(c.ui,{version:"1.8.11",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}});c.fn.extend({_focus:c.fn.focus,focus:function(a,b){return typeof a==="number"?this.each(function(){var d=this;setTimeout(function(){c(d).focus();b&&b.call(d)},a)}):this._focus.apply(this,arguments)},scrollParent:function(){var a;a=c.browser.msie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(c.curCSS(this,
 "position",1))&&/(auto|scroll)/.test(c.curCSS(this,"overflow",1)+c.curCSS(this,"overflow-y",1)+c.curCSS(this,"overflow-x",1))}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(c.curCSS(this,"overflow",1)+c.curCSS(this,"overflow-y",1)+c.curCSS(this,"overflow-x",1))}).eq(0);return/fixed/.test(this.css("position"))||!a.length?c(document):a},zIndex:function(a){if(a!==j)return this.css("zIndex",a);if(this.length){a=c(this[0]);for(var b;a.length&&a[0]!==document;){b=a.css("position");
 if(b==="absolute"||b==="relative"||b==="fixed"){b=parseInt(a.css("zIndex"),10);if(!isNaN(b)&&b!==0)return b}a=a.parent()}}return 0},disableSelection:function(){return this.bind((c.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(a){a.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}});c.each(["Width","Height"],function(a,b){function d(f,g,l,m){c.each(e,function(){g-=parseFloat(c.curCSS(f,"padding"+this,true))||0;if(l)g-=parseFloat(c.curCSS(f,
@@ -16,7 +16,7 @@ d(this,f,true,g)+"px")})}});c.extend(c.expr[":"],{data:function(a,b,d){return!!c
 c(function(){var a=document.body,b=a.appendChild(b=document.createElement("div"));c.extend(b.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0});c.support.minHeight=b.offsetHeight===100;c.support.selectstart="onselectstart"in b;a.removeChild(b).style.display="none"});c.extend(c.ui,{plugin:{add:function(a,b,d){a=c.ui[a].prototype;for(var e in d){a.plugins[e]=a.plugins[e]||[];a.plugins[e].push([b,d[e]])}},call:function(a,b,d){if((b=a.plugins[b])&&a.element[0].parentNode)for(var e=0;e<b.length;e++)a.options[b[e][0]]&&
 b[e][1].apply(a.element,d)}},contains:function(a,b){return document.compareDocumentPosition?a.compareDocumentPosition(b)&16:a!==b&&a.contains(b)},hasScroll:function(a,b){if(c(a).css("overflow")==="hidden")return false;b=b&&b==="left"?"scrollLeft":"scrollTop";var d=false;if(a[b]>0)return true;a[b]=1;d=a[b]>0;a[b]=0;return d},isOverAxis:function(a,b,d){return a>b&&a<b+d},isOver:function(a,b,d,e,h,i){return c.ui.isOverAxis(a,d,h)&&c.ui.isOverAxis(b,e,i)}})}})(jQuery);
 ;/*!
- * jQuery UI Widget 1.8.10
+ * jQuery UI Widget 1.8.11
  *
  * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
  * Dual licensed under the MIT or GPL Version 2 licenses.
@@ -31,7 +31,7 @@ this._getCreateOptions(),a);var d=this;this.element.bind("remove."+this.widgetNa
 widget:function(){return this.element},option:function(a,c){var d=a;if(arguments.length===0)return b.extend({},this.options);if(typeof a==="string"){if(c===j)return this.options[a];d={};d[a]=c}this._setOptions(d);return this},_setOptions:function(a){var c=this;b.each(a,function(d,e){c._setOption(d,e)});return this},_setOption:function(a,c){this.options[a]=c;if(a==="disabled")this.widget()[c?"addClass":"removeClass"](this.widgetBaseClass+"-disabled ui-state-disabled").attr("aria-disabled",c);return this},
 enable:function(){return this._setOption("disabled",false)},disable:function(){return this._setOption("disabled",true)},_trigger:function(a,c,d){var e=this.options[a];c=b.Event(c);c.type=(a===this.widgetEventPrefix?a:this.widgetEventPrefix+a).toLowerCase();d=d||{};if(c.originalEvent){a=b.event.props.length;for(var f;a;){f=b.event.props[--a];c[f]=c.originalEvent[f]}}this.element.trigger(c,d);return!(b.isFunction(e)&&e.call(this.element[0],c,d)===false||c.isDefaultPrevented())}}})(jQuery);
 ;/*!
- * jQuery UI Mouse 1.8.10
+ * jQuery UI Mouse 1.8.11
  *
  * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
  * Dual licensed under the MIT or GPL Version 2 licenses.
@@ -42,13 +42,13 @@ enable:function(){return this._setOption("disabled",false)},disable:function(){r
  * Depends:
  *	jquery.ui.widget.js
  */
-(function(c){c.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var a=this;this.element.bind("mousedown."+this.widgetName,function(b){return a._mouseDown(b)}).bind("click."+this.widgetName,function(b){if(true===c.data(b.target,a.widgetName+".preventClickEvent")){c.removeData(b.target,a.widgetName+".preventClickEvent");b.stopImmediatePropagation();return false}});this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName)},_mouseDown:function(a){a.originalEvent=
-a.originalEvent||{};if(!a.originalEvent.mouseHandled){this._mouseStarted&&this._mouseUp(a);this._mouseDownEvent=a;var b=this,e=a.which==1,f=typeof this.options.cancel=="string"?c(a.target).parents().add(a.target).filter(this.options.cancel).length:false;if(!e||f||!this._mouseCapture(a))return true;this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet)this._mouseDelayTimer=setTimeout(function(){b.mouseDelayMet=true},this.options.delay);if(this._mouseDistanceMet(a)&&this._mouseDelayMet(a)){this._mouseStarted=
-this._mouseStart(a)!==false;if(!this._mouseStarted){a.preventDefault();return true}}this._mouseMoveDelegate=function(d){return b._mouseMove(d)};this._mouseUpDelegate=function(d){return b._mouseUp(d)};c(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);a.preventDefault();return a.originalEvent.mouseHandled=true}},_mouseMove:function(a){if(c.browser.msie&&!(document.documentMode>=9)&&!a.button)return this._mouseUp(a);if(this._mouseStarted){this._mouseDrag(a);
-return a.preventDefault()}if(this._mouseDistanceMet(a)&&this._mouseDelayMet(a))(this._mouseStarted=this._mouseStart(this._mouseDownEvent,a)!==false)?this._mouseDrag(a):this._mouseUp(a);return!this._mouseStarted},_mouseUp:function(a){c(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;a.target==this._mouseDownEvent.target&&c.data(a.target,this.widgetName+".preventClickEvent",
-true);this._mouseStop(a)}return false},_mouseDistanceMet:function(a){return Math.max(Math.abs(this._mouseDownEvent.pageX-a.pageX),Math.abs(this._mouseDownEvent.pageY-a.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return true}})})(jQuery);
+(function(b){b.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var a=this;this.element.bind("mousedown."+this.widgetName,function(c){return a._mouseDown(c)}).bind("click."+this.widgetName,function(c){if(true===b.data(c.target,a.widgetName+".preventClickEvent")){b.removeData(c.target,a.widgetName+".preventClickEvent");c.stopImmediatePropagation();return false}});this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName)},_mouseDown:function(a){a.originalEvent=
+a.originalEvent||{};if(!a.originalEvent.mouseHandled){this._mouseStarted&&this._mouseUp(a);this._mouseDownEvent=a;var c=this,e=a.which==1,f=typeof this.options.cancel=="string"?b(a.target).parents().add(a.target).filter(this.options.cancel).length:false;if(!e||f||!this._mouseCapture(a))return true;this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet)this._mouseDelayTimer=setTimeout(function(){c.mouseDelayMet=true},this.options.delay);if(this._mouseDistanceMet(a)&&this._mouseDelayMet(a)){this._mouseStarted=
+this._mouseStart(a)!==false;if(!this._mouseStarted){a.preventDefault();return true}}true===b.data(a.target,this.widgetName+".preventClickEvent")&&b.removeData(a.target,this.widgetName+".preventClickEvent");this._mouseMoveDelegate=function(d){return c._mouseMove(d)};this._mouseUpDelegate=function(d){return c._mouseUp(d)};b(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);a.preventDefault();return a.originalEvent.mouseHandled=
+true}},_mouseMove:function(a){if(b.browser.msie&&!(document.documentMode>=9)&&!a.button)return this._mouseUp(a);if(this._mouseStarted){this._mouseDrag(a);return a.preventDefault()}if(this._mouseDistanceMet(a)&&this._mouseDelayMet(a))(this._mouseStarted=this._mouseStart(this._mouseDownEvent,a)!==false)?this._mouseDrag(a):this._mouseUp(a);return!this._mouseStarted},_mouseUp:function(a){b(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);
+if(this._mouseStarted){this._mouseStarted=false;a.target==this._mouseDownEvent.target&&b.data(a.target,this.widgetName+".preventClickEvent",true);this._mouseStop(a)}return false},_mouseDistanceMet:function(a){return Math.max(Math.abs(this._mouseDownEvent.pageX-a.pageX),Math.abs(this._mouseDownEvent.pageY-a.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return true}})})(jQuery);
 ;/*
- * jQuery UI Position 1.8.10
+ * jQuery UI Position 1.8.11
  *
  * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
  * Dual licensed under the MIT or GPL Version 2 licenses.
@@ -64,7 +64,7 @@ d>0?b.left-d:Math.max(b.left-a.collisionPosition.left,b.left)},top:function(b,a)
 a.collisionPosition.left<0?g+e+h:d>0?g+e+h:0}},top:function(b,a){if(a.at[1]!=="center"){var d=c(window);d=a.collisionPosition.top+a.collisionHeight-d.height()-d.scrollTop();var g=a.my[1]==="top"?-a.elemHeight:a.my[1]==="bottom"?a.elemHeight:0,e=a.at[1]==="top"?a.targetHeight:-a.targetHeight,h=-2*a.offset[1];b.top+=a.collisionPosition.top<0?g+e+h:d>0?g+e+h:0}}}};if(!c.offset.setOffset){c.offset.setOffset=function(b,a){if(/static/.test(c.curCSS(b,"position")))b.style.position="relative";var d=c(b),
 g=d.offset(),e=parseInt(c.curCSS(b,"top",true),10)||0,h=parseInt(c.curCSS(b,"left",true),10)||0;g={top:a.top-g.top+e,left:a.left-g.left+h};"using"in a?a.using.call(b,g):d.css(g)};c.fn.offset=function(b){var a=this[0];if(!a||!a.ownerDocument)return null;if(b)return this.each(function(){c.offset.setOffset(this,b)});return u.call(this)}}})(jQuery);
 ;/*
- * jQuery UI Draggable 1.8.10
+ * jQuery UI Draggable 1.8.11
  *
  * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
  * Dual licensed under the MIT or GPL Version 2 licenses.
@@ -87,34 +87,34 @@ this.options.revert.call(this.element,b)){var c=this;d(this.helper).animate(this
 a.target)b=true});return b},_createHelper:function(a){var b=this.options;a=d.isFunction(b.helper)?d(b.helper.apply(this.element[0],[a])):b.helper=="clone"?this.element.clone():this.element;a.parents("body").length||a.appendTo(b.appendTo=="parent"?this.element[0].parentNode:b.appendTo);a[0]!=this.element[0]&&!/(fixed|absolute)/.test(a.css("position"))&&a.css("position","absolute");return a},_adjustOffsetFromHelper:function(a){if(typeof a=="string")a=a.split(" ");if(d.isArray(a))a={left:+a[0],top:+a[1]||
 0};if("left"in a)this.offset.click.left=a.left+this.margins.left;if("right"in a)this.offset.click.left=this.helperProportions.width-a.right+this.margins.left;if("top"in a)this.offset.click.top=a.top+this.margins.top;if("bottom"in a)this.offset.click.top=this.helperProportions.height-a.bottom+this.margins.top},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var a=this.offsetParent.offset();if(this.cssPosition=="absolute"&&this.scrollParent[0]!=document&&d.ui.contains(this.scrollParent[0],
 this.offsetParent[0])){a.left+=this.scrollParent.scrollLeft();a.top+=this.scrollParent.scrollTop()}if(this.offsetParent[0]==document.body||this.offsetParent[0].tagName&&this.offsetParent[0].tagName.toLowerCase()=="html"&&d.browser.msie)a={top:0,left:0};return{top:a.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:a.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if(this.cssPosition=="relative"){var a=this.element.position();return{top:a.top-
-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:a.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}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var a=this.options;if(a.containment==
-"parent")a.containment=this.helper[0].parentNode;if(a.containment=="document"||a.containment=="window")this.containment=[(a.containment=="document"?0:d(window).scrollLeft())-this.offset.relative.left-this.offset.parent.left,(a.containment=="document"?0:d(window).scrollTop())-this.offset.relative.top-this.offset.parent.top,(a.containment=="document"?0:d(window).scrollLeft())+d(a.containment=="document"?document:window).width()-this.helperProportions.width-this.margins.left,(a.containment=="document"?
-0:d(window).scrollTop())+(d(a.containment=="document"?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top];if(!/^(document|window|parent)$/.test(a.containment)&&a.containment.constructor!=Array){var b=d(a.containment)[0];if(b){a=d(a.containment).offset();var c=d(b).css("overflow")!="hidden";this.containment=[a.left+(parseInt(d(b).css("borderLeftWidth"),10)||0)+(parseInt(d(b).css("paddingLeft"),10)||0)-this.margins.left,a.top+(parseInt(d(b).css("borderTopWidth"),
-10)||0)+(parseInt(d(b).css("paddingTop"),10)||0)-this.margins.top,a.left+(c?Math.max(b.scrollWidth,b.offsetWidth):b.offsetWidth)-(parseInt(d(b).css("borderLeftWidth"),10)||0)-(parseInt(d(b).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,a.top+(c?Math.max(b.scrollHeight,b.offsetHeight):b.offsetHeight)-(parseInt(d(b).css("borderTopWidth"),10)||0)-(parseInt(d(b).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top]}}else if(a.containment.constructor==
-Array)this.containment=a.containment},_convertPositionTo:function(a,b){if(!b)b=this.position;a=a=="absolute"?1:-1;var c=this.cssPosition=="absolute"&&!(this.scrollParent[0]!=document&&d.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,f=/(html|body)/i.test(c[0].tagName);return{top:b.top+this.offset.relative.top*a+this.offset.parent.top*a-(d.browser.safari&&d.browser.version<526&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollTop():
-f?0:c.scrollTop())*a),left:b.left+this.offset.relative.left*a+this.offset.parent.left*a-(d.browser.safari&&d.browser.version<526&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():f?0:c.scrollLeft())*a)}},_generatePosition:function(a){var b=this.options,c=this.cssPosition=="absolute"&&!(this.scrollParent[0]!=document&&d.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,f=/(html|body)/i.test(c[0].tagName),e=a.pageX,g=a.pageY;
-if(this.originalPosition){if(this.containment){if(a.pageX-this.offset.click.left<this.containment[0])e=this.containment[0]+this.offset.click.left;if(a.pageY-this.offset.click.top<this.containment[1])g=this.containment[1]+this.offset.click.top;if(a.pageX-this.offset.click.left>this.containment[2])e=this.containment[2]+this.offset.click.left;if(a.pageY-this.offset.click.top>this.containment[3])g=this.containment[3]+this.offset.click.top}if(b.grid){g=this.originalPageY+Math.round((g-this.originalPageY)/
-b.grid[1])*b.grid[1];g=this.containment?!(g-this.offset.click.top<this.containment[1]||g-this.offset.click.top>this.containment[3])?g:!(g-this.offset.click.top<this.containment[1])?g-b.grid[1]:g+b.grid[1]:g;e=this.originalPageX+Math.round((e-this.originalPageX)/b.grid[0])*b.grid[0];e=this.containment?!(e-this.offset.click.left<this.containment[0]||e-this.offset.click.left>this.containment[2])?e:!(e-this.offset.click.left<this.containment[0])?e-b.grid[0]:e+b.grid[0]:e}}return{top:g-this.offset.click.top-
-this.offset.relative.top-this.offset.parent.top+(d.browser.safari&&d.browser.version<526&&this.cssPosition=="fixed"?0:this.cssPosition=="fixed"?-this.scrollParent.scrollTop():f?0:c.scrollTop()),left:e-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+(d.browser.safari&&d.browser.version<526&&this.cssPosition=="fixed"?0:this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():f?0:c.scrollLeft())}},_clear:function(){this.helper.removeClass("ui-draggable-dragging");this.helper[0]!=
-this.element[0]&&!this.cancelHelperRemoval&&this.helper.remove();this.helper=null;this.cancelHelperRemoval=false},_trigger:function(a,b,c){c=c||this._uiHash();d.ui.plugin.call(this,a,[b,c]);if(a=="drag")this.positionAbs=this._convertPositionTo("absolute");return d.Widget.prototype._trigger.call(this,a,b,c)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}});d.extend(d.ui.draggable,{version:"1.8.10"});
-d.ui.plugin.add("draggable","connectToSortable",{start:function(a,b){var c=d(this).data("draggable"),f=c.options,e=d.extend({},b,{item:c.element});c.sortables=[];d(f.connectToSortable).each(function(){var g=d.data(this,"sortable");if(g&&!g.options.disabled){c.sortables.push({instance:g,shouldRevert:g.options.revert});g._refreshItems();g._trigger("activate",a,e)}})},stop:function(a,b){var c=d(this).data("draggable"),f=d.extend({},b,{item:c.element});d.each(c.sortables,function(){if(this.instance.isOver){this.instance.isOver=
-0;c.cancelHelperRemoval=true;this.instance.cancelHelperRemoval=false;if(this.shouldRevert)this.instance.options.revert=true;this.instance._mouseStop(a);this.instance.options.helper=this.instance.options._helper;c.options.helper=="original"&&this.instance.currentItem.css({top:"auto",left:"auto"})}else{this.instance.cancelHelperRemoval=false;this.instance._trigger("deactivate",a,f)}})},drag:function(a,b){var c=d(this).data("draggable"),f=this;d.each(c.sortables,function(){this.instance.positionAbs=
-c.positionAbs;this.instance.helperProportions=c.helperProportions;this.instance.offset.click=c.offset.click;if(this.instance._intersectsWith(this.instance.containerCache)){if(!this.instance.isOver){this.instance.isOver=1;this.instance.currentItem=d(f).clone().appendTo(this.instance.element).data("sortable-item",true);this.instance.options._helper=this.instance.options.helper;this.instance.options.helper=function(){return b.helper[0]};a.target=this.instance.currentItem[0];this.instance._mouseCapture(a,
-true);this.instance._mouseStart(a,true,true);this.instance.offset.click.top=c.offset.click.top;this.instance.offset.click.left=c.offset.click.left;this.instance.offset.parent.left-=c.offset.parent.left-this.instance.offset.parent.left;this.instance.offset.parent.top-=c.offset.parent.top-this.instance.offset.parent.top;c._trigger("toSortable",a);c.dropped=this.instance.element;c.currentItem=c.element;this.instance.fromOutside=c}this.instance.currentItem&&this.instance._mouseDrag(a)}else if(this.instance.isOver){this.instance.isOver=
-0;this.instance.cancelHelperRemoval=true;this.instance.options.revert=false;this.instance._trigger("out",a,this.instance._uiHash(this.instance));this.instance._mouseStop(a,true);this.instance.options.helper=this.instance.options._helper;this.instance.currentItem.remove();this.instance.placeholder&&this.instance.placeholder.remove();c._trigger("fromSortable",a);c.dropped=false}})}});d.ui.plugin.add("draggable","cursor",{start:function(){var a=d("body"),b=d(this).data("draggable").options;if(a.css("cursor"))b._cursor=
-a.css("cursor");a.css("cursor",b.cursor)},stop:function(){var a=d(this).data("draggable").options;a._cursor&&d("body").css("cursor",a._cursor)}});d.ui.plugin.add("draggable","iframeFix",{start:function(){var a=d(this).data("draggable").options;d(a.iframeFix===true?"iframe":a.iframeFix).each(function(){d('<div class="ui-draggable-iframeFix" style="background: #fff;"></div>').css({width:this.offsetWidth+"px",height:this.offsetHeight+"px",position:"absolute",opacity:"0.001",zIndex:1E3}).css(d(this).offset()).appendTo("body")})},
-stop:function(){d("div.ui-draggable-iframeFix").each(function(){this.parentNode.removeChild(this)})}});d.ui.plugin.add("draggable","opacity",{start:function(a,b){a=d(b.helper);b=d(this).data("draggable").options;if(a.css("opacity"))b._opacity=a.css("opacity");a.css("opacity",b.opacity)},stop:function(a,b){a=d(this).data("draggable").options;a._opacity&&d(b.helper).css("opacity",a._opacity)}});d.ui.plugin.add("draggable","scroll",{start:function(){var a=d(this).data("draggable");if(a.scrollParent[0]!=
-document&&a.scrollParent[0].tagName!="HTML")a.overflowOffset=a.scrollParent.offset()},drag:function(a){var b=d(this).data("draggable"),c=b.options,f=false;if(b.scrollParent[0]!=document&&b.scrollParent[0].tagName!="HTML"){if(!c.axis||c.axis!="x")if(b.overflowOffset.top+b.scrollParent[0].offsetHeight-a.pageY<c.scrollSensitivity)b.scrollParent[0].scrollTop=f=b.scrollParent[0].scrollTop+c.scrollSpeed;else if(a.pageY-b.overflowOffset.top<c.scrollSensitivity)b.scrollParent[0].scrollTop=f=b.scrollParent[0].scrollTop-
-c.scrollSpeed;if(!c.axis||c.axis!="y")if(b.overflowOffset.left+b.scrollParent[0].offsetWidth-a.pageX<c.scrollSensitivity)b.scrollParent[0].scrollLeft=f=b.scrollParent[0].scrollLeft+c.scrollSpeed;else if(a.pageX-b.overflowOffset.left<c.scrollSensitivity)b.scrollParent[0].scrollLeft=f=b.scrollParent[0].scrollLeft-c.scrollSpeed}else{if(!c.axis||c.axis!="x")if(a.pageY-d(document).scrollTop()<c.scrollSensitivity)f=d(document).scrollTop(d(document).scrollTop()-c.scrollSpeed);else if(d(window).height()-
-(a.pageY-d(document).scrollTop())<c.scrollSensitivity)f=d(document).scrollTop(d(document).scrollTop()+c.scrollSpeed);if(!c.axis||c.axis!="y")if(a.pageX-d(document).scrollLeft()<c.scrollSensitivity)f=d(document).scrollLeft(d(document).scrollLeft()-c.scrollSpeed);else if(d(window).width()-(a.pageX-d(document).scrollLeft())<c.scrollSensitivity)f=d(document).scrollLeft(d(document).scrollLeft()+c.scrollSpeed)}f!==false&&d.ui.ddmanager&&!c.dropBehaviour&&d.ui.ddmanager.prepareOffsets(b,a)}});d.ui.plugin.add("draggable",
-"snap",{start:function(){var a=d(this).data("draggable"),b=a.options;a.snapElements=[];d(b.snap.constructor!=String?b.snap.items||":data(draggable)":b.snap).each(function(){var c=d(this),f=c.offset();this!=a.element[0]&&a.snapElements.push({item:this,width:c.outerWidth(),height:c.outerHeight(),top:f.top,left:f.left})})},drag:function(a,b){for(var c=d(this).data("draggable"),f=c.options,e=f.snapTolerance,g=b.offset.left,n=g+c.helperProportions.width,m=b.offset.top,o=m+c.helperProportions.height,h=
-c.snapElements.length-1;h>=0;h--){var i=c.snapElements[h].left,k=i+c.snapElements[h].width,j=c.snapElements[h].top,l=j+c.snapElements[h].height;if(i-e<g&&g<k+e&&j-e<m&&m<l+e||i-e<g&&g<k+e&&j-e<o&&o<l+e||i-e<n&&n<k+e&&j-e<m&&m<l+e||i-e<n&&n<k+e&&j-e<o&&o<l+e){if(f.snapMode!="inner"){var p=Math.abs(j-o)<=e,q=Math.abs(l-m)<=e,r=Math.abs(i-n)<=e,s=Math.abs(k-g)<=e;if(p)b.position.top=c._convertPositionTo("relative",{top:j-c.helperProportions.height,left:0}).top-c.margins.top;if(q)b.position.top=c._convertPositionTo("relative",
-{top:l,left:0}).top-c.margins.top;if(r)b.position.left=c._convertPositionTo("relative",{top:0,left:i-c.helperProportions.width}).left-c.margins.left;if(s)b.position.left=c._convertPositionTo("relative",{top:0,left:k}).left-c.margins.left}var t=p||q||r||s;if(f.snapMode!="outer"){p=Math.abs(j-m)<=e;q=Math.abs(l-o)<=e;r=Math.abs(i-g)<=e;s=Math.abs(k-n)<=e;if(p)b.position.top=c._convertPositionTo("relative",{top:j,left:0}).top-c.margins.top;if(q)b.position.top=c._convertPositionTo("relative",{top:l-c.helperProportions.height,
-left:0}).top-c.margins.top;if(r)b.position.left=c._convertPositionTo("relative",{top:0,left:i}).left-c.margins.left;if(s)b.position.left=c._convertPositionTo("relative",{top:0,left:k-c.helperProportions.width}).left-c.margins.left}if(!c.snapElements[h].snapping&&(p||q||r||s||t))c.options.snap.snap&&c.options.snap.snap.call(c.element,a,d.extend(c._uiHash(),{snapItem:c.snapElements[h].item}));c.snapElements[h].snapping=p||q||r||s||t}else{c.snapElements[h].snapping&&c.options.snap.release&&c.options.snap.release.call(c.element,
-a,d.extend(c._uiHash(),{snapItem:c.snapElements[h].item}));c.snapElements[h].snapping=false}}}});d.ui.plugin.add("draggable","stack",{start:function(){var a=d(this).data("draggable").options;a=d.makeArray(d(a.stack)).sort(function(c,f){return(parseInt(d(c).css("zIndex"),10)||0)-(parseInt(d(f).css("zIndex"),10)||0)});if(a.length){var b=parseInt(a[0].style.zIndex)||0;d(a).each(function(c){this.style.zIndex=b+c});this[0].style.zIndex=b+a.length}}});d.ui.plugin.add("draggable","zIndex",{start:function(a,
-b){a=d(b.helper);b=d(this).data("draggable").options;if(a.css("zIndex"))b._zIndex=a.css("zIndex");a.css("zIndex",b.zIndex)},stop:function(a,b){a=d(this).data("draggable").options;a._zIndex&&d(b.helper).css("zIndex",a._zIndex)}})})(jQuery);
+(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:a.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 a=this.options;if(a.containment=="parent")a.containment=this.helper[0].parentNode;if(a.containment=="document"||a.containment=="window")this.containment=[(a.containment=="document"?0:d(window).scrollLeft())-this.offset.relative.left-this.offset.parent.left,(a.containment=="document"?0:d(window).scrollTop())-this.offset.relative.top-this.offset.parent.top,(a.containment=="document"?0:d(window).scrollLeft())+d(a.containment=="document"?
+document:window).width()-this.helperProportions.width-this.margins.left,(a.containment=="document"?0:d(window).scrollTop())+(d(a.containment=="document"?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top];if(!/^(document|window|parent)$/.test(a.containment)&&a.containment.constructor!=Array){var b=d(a.containment)[0];if(b){a=d(a.containment).offset();var c=d(b).css("overflow")!="hidden";this.containment=[a.left+(parseInt(d(b).css("borderLeftWidth"),
+10)||0)+(parseInt(d(b).css("paddingLeft"),10)||0),a.top+(parseInt(d(b).css("borderTopWidth"),10)||0)+(parseInt(d(b).css("paddingTop"),10)||0),a.left+(c?Math.max(b.scrollWidth,b.offsetWidth):b.offsetWidth)-(parseInt(d(b).css("borderLeftWidth"),10)||0)-(parseInt(d(b).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,a.top+(c?Math.max(b.scrollHeight,b.offsetHeight):b.offsetHeight)-(parseInt(d(b).css("borderTopWidth"),10)||0)-(parseInt(d(b).css("paddingBottom"),
+10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom]}}else if(a.containment.constructor==Array)this.containment=a.containment},_convertPositionTo:function(a,b){if(!b)b=this.position;a=a=="absolute"?1:-1;var c=this.cssPosition=="absolute"&&!(this.scrollParent[0]!=document&&d.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,f=/(html|body)/i.test(c[0].tagName);return{top:b.top+this.offset.relative.top*a+this.offset.parent.top*a-(d.browser.safari&&
+d.browser.version<526&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollTop():f?0:c.scrollTop())*a),left:b.left+this.offset.relative.left*a+this.offset.parent.left*a-(d.browser.safari&&d.browser.version<526&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():f?0:c.scrollLeft())*a)}},_generatePosition:function(a){var b=this.options,c=this.cssPosition=="absolute"&&!(this.scrollParent[0]!=document&&d.ui.contains(this.scrollParent[0],
+this.offsetParent[0]))?this.offsetParent:this.scrollParent,f=/(html|body)/i.test(c[0].tagName),e=a.pageX,g=a.pageY;if(this.originalPosition){if(this.containment){if(a.pageX-this.offset.click.left<this.containment[0])e=this.containment[0]+this.offset.click.left;if(a.pageY-this.offset.click.top<this.containment[1])g=this.containment[1]+this.offset.click.top;if(a.pageX-this.offset.click.left>this.containment[2])e=this.containment[2]+this.offset.click.left;if(a.pageY-this.offset.click.top>this.containment[3])g=
+this.containment[3]+this.offset.click.top}if(b.grid){g=this.originalPageY+Math.round((g-this.originalPageY)/b.grid[1])*b.grid[1];g=this.containment?!(g-this.offset.click.top<this.containment[1]||g-this.offset.click.top>this.containment[3])?g:!(g-this.offset.click.top<this.containment[1])?g-b.grid[1]:g+b.grid[1]:g;e=this.originalPageX+Math.round((e-this.originalPageX)/b.grid[0])*b.grid[0];e=this.containment?!(e-this.offset.click.left<this.containment[0]||e-this.offset.click.left>this.containment[2])?
+e:!(e-this.offset.click.left<this.containment[0])?e-b.grid[0]:e+b.grid[0]:e}}return{top:g-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+(d.browser.safari&&d.browser.version<526&&this.cssPosition=="fixed"?0:this.cssPosition=="fixed"?-this.scrollParent.scrollTop():f?0:c.scrollTop()),left:e-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+(d.browser.safari&&d.browser.version<526&&this.cssPosition=="fixed"?0:this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():
+f?0:c.scrollLeft())}},_clear:function(){this.helper.removeClass("ui-draggable-dragging");this.helper[0]!=this.element[0]&&!this.cancelHelperRemoval&&this.helper.remove();this.helper=null;this.cancelHelperRemoval=false},_trigger:function(a,b,c){c=c||this._uiHash();d.ui.plugin.call(this,a,[b,c]);if(a=="drag")this.positionAbs=this._convertPositionTo("absolute");return d.Widget.prototype._trigger.call(this,a,b,c)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,
+offset:this.positionAbs}}});d.extend(d.ui.draggable,{version:"1.8.11"});d.ui.plugin.add("draggable","connectToSortable",{start:function(a,b){var c=d(this).data("draggable"),f=c.options,e=d.extend({},b,{item:c.element});c.sortables=[];d(f.connectToSortable).each(function(){var g=d.data(this,"sortable");if(g&&!g.options.disabled){c.sortables.push({instance:g,shouldRevert:g.options.revert});g.refreshPositions();g._trigger("activate",a,e)}})},stop:function(a,b){var c=d(this).data("draggable"),f=d.extend({},
+b,{item:c.element});d.each(c.sortables,function(){if(this.instance.isOver){this.instance.isOver=0;c.cancelHelperRemoval=true;this.instance.cancelHelperRemoval=false;if(this.shouldRevert)this.instance.options.revert=true;this.instance._mouseStop(a);this.instance.options.helper=this.instance.options._helper;c.options.helper=="original"&&this.instance.currentItem.css({top:"auto",left:"auto"})}else{this.instance.cancelHelperRemoval=false;this.instance._trigger("deactivate",a,f)}})},drag:function(a,b){var c=
+d(this).data("draggable"),f=this;d.each(c.sortables,function(){this.instance.positionAbs=c.positionAbs;this.instance.helperProportions=c.helperProportions;this.instance.offset.click=c.offset.click;if(this.instance._intersectsWith(this.instance.containerCache)){if(!this.instance.isOver){this.instance.isOver=1;this.instance.currentItem=d(f).clone().appendTo(this.instance.element).data("sortable-item",true);this.instance.options._helper=this.instance.options.helper;this.instance.options.helper=function(){return b.helper[0]};
+a.target=this.instance.currentItem[0];this.instance._mouseCapture(a,true);this.instance._mouseStart(a,true,true);this.instance.offset.click.top=c.offset.click.top;this.instance.offset.click.left=c.offset.click.left;this.instance.offset.parent.left-=c.offset.parent.left-this.instance.offset.parent.left;this.instance.offset.parent.top-=c.offset.parent.top-this.instance.offset.parent.top;c._trigger("toSortable",a);c.dropped=this.instance.element;c.currentItem=c.element;this.instance.fromOutside=c}this.instance.currentItem&&
+this.instance._mouseDrag(a)}else if(this.instance.isOver){this.instance.isOver=0;this.instance.cancelHelperRemoval=true;this.instance.options.revert=false;this.instance._trigger("out",a,this.instance._uiHash(this.instance));this.instance._mouseStop(a,true);this.instance.options.helper=this.instance.options._helper;this.instance.currentItem.remove();this.instance.placeholder&&this.instance.placeholder.remove();c._trigger("fromSortable",a);c.dropped=false}})}});d.ui.plugin.add("draggable","cursor",
+{start:function(){var a=d("body"),b=d(this).data("draggable").options;if(a.css("cursor"))b._cursor=a.css("cursor");a.css("cursor",b.cursor)},stop:function(){var a=d(this).data("draggable").options;a._cursor&&d("body").css("cursor",a._cursor)}});d.ui.plugin.add("draggable","iframeFix",{start:function(){var a=d(this).data("draggable").options;d(a.iframeFix===true?"iframe":a.iframeFix).each(function(){d('<div class="ui-draggable-iframeFix" style="background: #fff;"></div>').css({width:this.offsetWidth+
+"px",height:this.offsetHeight+"px",position:"absolute",opacity:"0.001",zIndex:1E3}).css(d(this).offset()).appendTo("body")})},stop:function(){d("div.ui-draggable-iframeFix").each(function(){this.parentNode.removeChild(this)})}});d.ui.plugin.add("draggable","opacity",{start:function(a,b){a=d(b.helper);b=d(this).data("draggable").options;if(a.css("opacity"))b._opacity=a.css("opacity");a.css("opacity",b.opacity)},stop:function(a,b){a=d(this).data("draggable").options;a._opacity&&d(b.helper).css("opacity",
+a._opacity)}});d.ui.plugin.add("draggable","scroll",{start:function(){var a=d(this).data("draggable");if(a.scrollParent[0]!=document&&a.scrollParent[0].tagName!="HTML")a.overflowOffset=a.scrollParent.offset()},drag:function(a){var b=d(this).data("draggable"),c=b.options,f=false;if(b.scrollParent[0]!=document&&b.scrollParent[0].tagName!="HTML"){if(!c.axis||c.axis!="x")if(b.overflowOffset.top+b.scrollParent[0].offsetHeight-a.pageY<c.scrollSensitivity)b.scrollParent[0].scrollTop=f=b.scrollParent[0].scrollTop+
+c.scrollSpeed;else if(a.pageY-b.overflowOffset.top<c.scrollSensitivity)b.scrollParent[0].scrollTop=f=b.scrollParent[0].scrollTop-c.scrollSpeed;if(!c.axis||c.axis!="y")if(b.overflowOffset.left+b.scrollParent[0].offsetWidth-a.pageX<c.scrollSensitivity)b.scrollParent[0].scrollLeft=f=b.scrollParent[0].scrollLeft+c.scrollSpeed;else if(a.pageX-b.overflowOffset.left<c.scrollSensitivity)b.scrollParent[0].scrollLeft=f=b.scrollParent[0].scrollLeft-c.scrollSpeed}else{if(!c.axis||c.axis!="x")if(a.pageY-d(document).scrollTop()<
+c.scrollSensitivity)f=d(document).scrollTop(d(document).scrollTop()-c.scrollSpeed);else if(d(window).height()-(a.pageY-d(document).scrollTop())<c.scrollSensitivity)f=d(document).scrollTop(d(document).scrollTop()+c.scrollSpeed);if(!c.axis||c.axis!="y")if(a.pageX-d(document).scrollLeft()<c.scrollSensitivity)f=d(document).scrollLeft(d(document).scrollLeft()-c.scrollSpeed);else if(d(window).width()-(a.pageX-d(document).scrollLeft())<c.scrollSensitivity)f=d(document).scrollLeft(d(document).scrollLeft()+
+c.scrollSpeed)}f!==false&&d.ui.ddmanager&&!c.dropBehaviour&&d.ui.ddmanager.prepareOffsets(b,a)}});d.ui.plugin.add("draggable","snap",{start:function(){var a=d(this).data("draggable"),b=a.options;a.snapElements=[];d(b.snap.constructor!=String?b.snap.items||":data(draggable)":b.snap).each(function(){var c=d(this),f=c.offset();this!=a.element[0]&&a.snapElements.push({item:this,width:c.outerWidth(),height:c.outerHeight(),top:f.top,left:f.left})})},drag:function(a,b){for(var c=d(this).data("draggable"),
+f=c.options,e=f.snapTolerance,g=b.offset.left,n=g+c.helperProportions.width,m=b.offset.top,o=m+c.helperProportions.height,h=c.snapElements.length-1;h>=0;h--){var i=c.snapElements[h].left,k=i+c.snapElements[h].width,j=c.snapElements[h].top,l=j+c.snapElements[h].height;if(i-e<g&&g<k+e&&j-e<m&&m<l+e||i-e<g&&g<k+e&&j-e<o&&o<l+e||i-e<n&&n<k+e&&j-e<m&&m<l+e||i-e<n&&n<k+e&&j-e<o&&o<l+e){if(f.snapMode!="inner"){var p=Math.abs(j-o)<=e,q=Math.abs(l-m)<=e,r=Math.abs(i-n)<=e,s=Math.abs(k-g)<=e;if(p)b.position.top=
+c._convertPositionTo("relative",{top:j-c.helperProportions.height,left:0}).top-c.margins.top;if(q)b.position.top=c._convertPositionTo("relative",{top:l,left:0}).top-c.margins.top;if(r)b.position.left=c._convertPositionTo("relative",{top:0,left:i-c.helperProportions.width}).left-c.margins.left;if(s)b.position.left=c._convertPositionTo("relative",{top:0,left:k}).left-c.margins.left}var t=p||q||r||s;if(f.snapMode!="outer"){p=Math.abs(j-m)<=e;q=Math.abs(l-o)<=e;r=Math.abs(i-g)<=e;s=Math.abs(k-n)<=e;if(p)b.position.top=
+c._convertPositionTo("relative",{top:j,left:0}).top-c.margins.top;if(q)b.position.top=c._convertPositionTo("relative",{top:l-c.helperProportions.height,left:0}).top-c.margins.top;if(r)b.position.left=c._convertPositionTo("relative",{top:0,left:i}).left-c.margins.left;if(s)b.position.left=c._convertPositionTo("relative",{top:0,left:k-c.helperProportions.width}).left-c.margins.left}if(!c.snapElements[h].snapping&&(p||q||r||s||t))c.options.snap.snap&&c.options.snap.snap.call(c.element,a,d.extend(c._uiHash(),
+{snapItem:c.snapElements[h].item}));c.snapElements[h].snapping=p||q||r||s||t}else{c.snapElements[h].snapping&&c.options.snap.release&&c.options.snap.release.call(c.element,a,d.extend(c._uiHash(),{snapItem:c.snapElements[h].item}));c.snapElements[h].snapping=false}}}});d.ui.plugin.add("draggable","stack",{start:function(){var a=d(this).data("draggable").options;a=d.makeArray(d(a.stack)).sort(function(c,f){return(parseInt(d(c).css("zIndex"),10)||0)-(parseInt(d(f).css("zIndex"),10)||0)});if(a.length){var b=
+parseInt(a[0].style.zIndex)||0;d(a).each(function(c){this.style.zIndex=b+c});this[0].style.zIndex=b+a.length}}});d.ui.plugin.add("draggable","zIndex",{start:function(a,b){a=d(b.helper);b=d(this).data("draggable").options;if(a.css("zIndex"))b._zIndex=a.css("zIndex");a.css("zIndex",b.zIndex)},stop:function(a,b){a=d(this).data("draggable").options;a._zIndex&&d(b.helper).css("zIndex",a._zIndex)}})})(jQuery);
 ;/*
- * jQuery UI Droppable 1.8.10
+ * jQuery UI Droppable 1.8.11
  *
  * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
  * Dual licensed under the MIT or GPL Version 2 licenses.
@@ -133,14 +133,14 @@ a.addClasses&&this.element.addClass("ui-droppable")},destroy:function(){for(var 
 this.element.addClass(this.options.activeClass);b&&this._trigger("activate",a,this.ui(b))},_deactivate:function(a){var b=d.ui.ddmanager.current;this.options.activeClass&&this.element.removeClass(this.options.activeClass);b&&this._trigger("deactivate",a,this.ui(b))},_over:function(a){var b=d.ui.ddmanager.current;if(!(!b||(b.currentItem||b.element)[0]==this.element[0]))if(this.accept.call(this.element[0],b.currentItem||b.element)){this.options.hoverClass&&this.element.addClass(this.options.hoverClass);
 this._trigger("over",a,this.ui(b))}},_out:function(a){var b=d.ui.ddmanager.current;if(!(!b||(b.currentItem||b.element)[0]==this.element[0]))if(this.accept.call(this.element[0],b.currentItem||b.element)){this.options.hoverClass&&this.element.removeClass(this.options.hoverClass);this._trigger("out",a,this.ui(b))}},_drop:function(a,b){var c=b||d.ui.ddmanager.current;if(!c||(c.currentItem||c.element)[0]==this.element[0])return false;var e=false;this.element.find(":data(droppable)").not(".ui-draggable-dragging").each(function(){var g=
 d.data(this,"droppable");if(g.options.greedy&&!g.options.disabled&&g.options.scope==c.options.scope&&g.accept.call(g.element[0],c.currentItem||c.element)&&d.ui.intersect(c,d.extend(g,{offset:g.element.offset()}),g.options.tolerance)){e=true;return false}});if(e)return false;if(this.accept.call(this.element[0],c.currentItem||c.element)){this.options.activeClass&&this.element.removeClass(this.options.activeClass);this.options.hoverClass&&this.element.removeClass(this.options.hoverClass);this._trigger("drop",
-a,this.ui(c));return this.element}return false},ui:function(a){return{draggable:a.currentItem||a.element,helper:a.helper,position:a.position,offset:a.positionAbs}}});d.extend(d.ui.droppable,{version:"1.8.10"});d.ui.intersect=function(a,b,c){if(!b.offset)return false;var e=(a.positionAbs||a.position.absolute).left,g=e+a.helperProportions.width,f=(a.positionAbs||a.position.absolute).top,h=f+a.helperProportions.height,i=b.offset.left,k=i+b.proportions.width,j=b.offset.top,l=j+b.proportions.height;
+a,this.ui(c));return this.element}return false},ui:function(a){return{draggable:a.currentItem||a.element,helper:a.helper,position:a.position,offset:a.positionAbs}}});d.extend(d.ui.droppable,{version:"1.8.11"});d.ui.intersect=function(a,b,c){if(!b.offset)return false;var e=(a.positionAbs||a.position.absolute).left,g=e+a.helperProportions.width,f=(a.positionAbs||a.position.absolute).top,h=f+a.helperProportions.height,i=b.offset.left,k=i+b.proportions.width,j=b.offset.top,l=j+b.proportions.height;
 switch(c){case "fit":return i<=e&&g<=k&&j<=f&&h<=l;case "intersect":return i<e+a.helperProportions.width/2&&g-a.helperProportions.width/2<k&&j<f+a.helperProportions.height/2&&h-a.helperProportions.height/2<l;case "pointer":return d.ui.isOver((a.positionAbs||a.position.absolute).top+(a.clickOffset||a.offset.click).top,(a.positionAbs||a.position.absolute).left+(a.clickOffset||a.offset.click).left,j,i,b.proportions.height,b.proportions.width);case "touch":return(f>=j&&f<=l||h>=j&&h<=l||f<j&&h>l)&&(e>=
 i&&e<=k||g>=i&&g<=k||e<i&&g>k);default:return false}};d.ui.ddmanager={current:null,droppables:{"default":[]},prepareOffsets:function(a,b){var c=d.ui.ddmanager.droppables[a.options.scope]||[],e=b?b.type:null,g=(a.currentItem||a.element).find(":data(droppable)").andSelf(),f=0;a:for(;f<c.length;f++)if(!(c[f].options.disabled||a&&!c[f].accept.call(c[f].element[0],a.currentItem||a.element))){for(var h=0;h<g.length;h++)if(g[h]==c[f].element[0]){c[f].proportions.height=0;continue a}c[f].visible=c[f].element.css("display")!=
-"none";if(c[f].visible){c[f].offset=c[f].element.offset();c[f].proportions={width:c[f].element[0].offsetWidth,height:c[f].element[0].offsetHeight};e=="mousedown"&&c[f]._activate.call(c[f],b)}}},drop:function(a,b){var c=false;d.each(d.ui.ddmanager.droppables[a.options.scope]||[],function(){if(this.options){if(!this.options.disabled&&this.visible&&d.ui.intersect(a,this,this.options.tolerance))c=c||this._drop.call(this,b);if(!this.options.disabled&&this.visible&&this.accept.call(this.element[0],a.currentItem||
+"none";if(c[f].visible){e=="mousedown"&&c[f]._activate.call(c[f],b);c[f].offset=c[f].element.offset();c[f].proportions={width:c[f].element[0].offsetWidth,height:c[f].element[0].offsetHeight}}}},drop:function(a,b){var c=false;d.each(d.ui.ddmanager.droppables[a.options.scope]||[],function(){if(this.options){if(!this.options.disabled&&this.visible&&d.ui.intersect(a,this,this.options.tolerance))c=c||this._drop.call(this,b);if(!this.options.disabled&&this.visible&&this.accept.call(this.element[0],a.currentItem||
 a.element)){this.isout=1;this.isover=0;this._deactivate.call(this,b)}}});return c},drag:function(a,b){a.options.refreshPositions&&d.ui.ddmanager.prepareOffsets(a,b);d.each(d.ui.ddmanager.droppables[a.options.scope]||[],function(){if(!(this.options.disabled||this.greedyChild||!this.visible)){var c=d.ui.intersect(a,this,this.options.tolerance);if(c=!c&&this.isover==1?"isout":c&&this.isover==0?"isover":null){var e;if(this.options.greedy){var g=this.element.parents(":data(droppable):eq(0)");if(g.length){e=
 d.data(g[0],"droppable");e.greedyChild=c=="isover"?1:0}}if(e&&c=="isover"){e.isover=0;e.isout=1;e._out.call(e,b)}this[c]=1;this[c=="isout"?"isover":"isout"]=0;this[c=="isover"?"_over":"_out"].call(this,b);if(e&&c=="isout"){e.isout=0;e.isover=1;e._over.call(e,b)}}}})}}})(jQuery);
 ;/*
- * jQuery UI Resizable 1.8.10
+ * jQuery UI Resizable 1.8.11
  *
  * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
  * Dual licensed under the MIT or GPL Version 2 licenses.
@@ -173,7 +173,7 @@ this.size.height,k=/sw|nw|w/.test(c);c=/nw|ne|n/.test(c);if(g&&k)b.left=i-a.minW
 this.options;this.elementOffset=this.element.offset();if(this._helper){this.helper=this.helper||e('<div style="overflow:hidden;"></div>');var a=e.browser.msie&&e.browser.version<7,c=a?1:0;a=a?2:-1;this.helper.addClass(this._helper).css({width:this.element.outerWidth()+a,height:this.element.outerHeight()+a,position:"absolute",left:this.elementOffset.left-c+"px",top:this.elementOffset.top-c+"px",zIndex:++b.zIndex});this.helper.appendTo("body").disableSelection()}else this.helper=this.element},_change:{e:function(b,
 a){return{width:this.originalSize.width+a}},w:function(b,a){return{left:this.originalPosition.left+a,width:this.originalSize.width-a}},n:function(b,a,c){return{top:this.originalPosition.top+c,height:this.originalSize.height-c}},s:function(b,a,c){return{height:this.originalSize.height+c}},se:function(b,a,c){return e.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[b,a,c]))},sw:function(b,a,c){return e.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[b,a,
 c]))},ne:function(b,a,c){return e.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[b,a,c]))},nw:function(b,a,c){return e.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[b,a,c]))}},_propagate:function(b,a){e.ui.plugin.call(this,b,[a,this.ui()]);b!="resize"&&this._trigger(b,a,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,
-originalPosition:this.originalPosition}}});e.extend(e.ui.resizable,{version:"1.8.10"});e.ui.plugin.add("resizable","alsoResize",{start:function(){var b=e(this).data("resizable").options,a=function(c){e(c).each(function(){var d=e(this);d.data("resizable-alsoresize",{width:parseInt(d.width(),10),height:parseInt(d.height(),10),left:parseInt(d.css("left"),10),top:parseInt(d.css("top"),10),position:d.css("position")})})};if(typeof b.alsoResize=="object"&&!b.alsoResize.parentNode)if(b.alsoResize.length){b.alsoResize=
+originalPosition:this.originalPosition}}});e.extend(e.ui.resizable,{version:"1.8.11"});e.ui.plugin.add("resizable","alsoResize",{start:function(){var b=e(this).data("resizable").options,a=function(c){e(c).each(function(){var d=e(this);d.data("resizable-alsoresize",{width:parseInt(d.width(),10),height:parseInt(d.height(),10),left:parseInt(d.css("left"),10),top:parseInt(d.css("top"),10),position:d.css("position")})})};if(typeof b.alsoResize=="object"&&!b.alsoResize.parentNode)if(b.alsoResize.length){b.alsoResize=
 b.alsoResize[0];a(b.alsoResize)}else e.each(b.alsoResize,function(c){a(c)});else a(b.alsoResize)},resize:function(b,a){var c=e(this).data("resizable");b=c.options;var d=c.originalSize,f=c.originalPosition,g={height:c.size.height-d.height||0,width:c.size.width-d.width||0,top:c.position.top-f.top||0,left:c.position.left-f.left||0},h=function(i,j){e(i).each(function(){var k=e(this),q=e(this).data("resizable-alsoresize"),p={},r=j&&j.length?j:k.parents(a.originalElement[0]).length?["width","height"]:["width",
 "height","top","left"];e.each(r,function(n,o){if((n=(q[o]||0)+(g[o]||0))&&n>=0)p[o]=n||null});if(e.browser.opera&&/relative/.test(k.css("position"))){c._revertToRelativePosition=true;k.css({position:"absolute",top:"auto",left:"auto"})}k.css(p)})};typeof b.alsoResize=="object"&&!b.alsoResize.nodeType?e.each(b.alsoResize,function(i,j){h(i,j)}):h(b.alsoResize)},stop:function(){var b=e(this).data("resizable"),a=b.options,c=function(d){e(d).each(function(){var f=e(this);f.css({position:f.data("resizable-alsoresize").position})})};
 if(b._revertToRelativePosition){b._revertToRelativePosition=false;typeof a.alsoResize=="object"&&!a.alsoResize.nodeType?e.each(a.alsoResize,function(d){c(d)}):c(a.alsoResize)}e(this).removeData("resizable-alsoresize")}});e.ui.plugin.add("resizable","animate",{stop:function(b){var a=e(this).data("resizable"),c=a.options,d=a._proportionallyResizeElements,f=d.length&&/textarea/i.test(d[0].nodeName),g=f&&e.ui.hasScroll(d[0],"left")?0:a.sizeDiff.height;f={width:a.size.width-(f?0:a.sizeDiff.width),height:a.size.height-
@@ -187,7 +187,7 @@ a.size.width/a.aspectRatio}if(d+a.size.height>=a.parentData.height){a.size.heigh
 b.ghost&&b.ghost.css({position:"relative",height:b.size.height,width:b.size.width})},stop:function(){var b=e(this).data("resizable");b.ghost&&b.helper&&b.helper.get(0).removeChild(b.ghost.get(0))}});e.ui.plugin.add("resizable","grid",{resize:function(){var b=e(this).data("resizable"),a=b.options,c=b.size,d=b.originalSize,f=b.originalPosition,g=b.axis;a.grid=typeof a.grid=="number"?[a.grid,a.grid]:a.grid;var h=Math.round((c.width-d.width)/(a.grid[0]||1))*(a.grid[0]||1);a=Math.round((c.height-d.height)/
 (a.grid[1]||1))*(a.grid[1]||1);if(/^(se|s|e)$/.test(g)){b.size.width=d.width+h;b.size.height=d.height+a}else if(/^(ne)$/.test(g)){b.size.width=d.width+h;b.size.height=d.height+a;b.position.top=f.top-a}else{if(/^(sw)$/.test(g)){b.size.width=d.width+h;b.size.height=d.height+a}else{b.size.width=d.width+h;b.size.height=d.height+a;b.position.top=f.top-a}b.position.left=f.left-h}}});var m=function(b){return parseInt(b,10)||0},l=function(b){return!isNaN(parseInt(b,10))}})(jQuery);
 ;/*
- * jQuery UI Selectable 1.8.10
+ * jQuery UI Selectable 1.8.11
  *
  * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
  * Dual licensed under the MIT or GPL Version 2 licenses.
@@ -207,9 +207,9 @@ c,{unselecting:b.element})}});e(c.target).parents().andSelf().each(function(){va
 this.options,b=this.opos[0],g=this.opos[1],h=c.pageX,i=c.pageY;if(b>h){var j=h;h=b;b=j}if(g>i){j=i;i=g;g=j}this.helper.css({left:b,top:g,width:h-b,height:i-g});this.selectees.each(function(){var a=e.data(this,"selectable-item");if(!(!a||a.element==f.element[0])){var k=false;if(d.tolerance=="touch")k=!(a.left>h||a.right<b||a.top>i||a.bottom<g);else if(d.tolerance=="fit")k=a.left>b&&a.right<h&&a.top>g&&a.bottom<i;if(k){if(a.selected){a.$element.removeClass("ui-selected");a.selected=false}if(a.unselecting){a.$element.removeClass("ui-unselecting");
 a.unselecting=false}if(!a.selecting){a.$element.addClass("ui-selecting");a.selecting=true;f._trigger("selecting",c,{selecting:a.element})}}else{if(a.selecting)if(c.metaKey&&a.startselected){a.$element.removeClass("ui-selecting");a.selecting=false;a.$element.addClass("ui-selected");a.selected=true}else{a.$element.removeClass("ui-selecting");a.selecting=false;if(a.startselected){a.$element.addClass("ui-unselecting");a.unselecting=true}f._trigger("unselecting",c,{unselecting:a.element})}if(a.selected)if(!c.metaKey&&
 !a.startselected){a.$element.removeClass("ui-selected");a.selected=false;a.$element.addClass("ui-unselecting");a.unselecting=true;f._trigger("unselecting",c,{unselecting:a.element})}}}});return false}},_mouseStop:function(c){var f=this;this.dragged=false;e(".ui-unselecting",this.element[0]).each(function(){var d=e.data(this,"selectable-item");d.$element.removeClass("ui-unselecting");d.unselecting=false;d.startselected=false;f._trigger("unselected",c,{unselected:d.element})});e(".ui-selecting",this.element[0]).each(function(){var d=
-e.data(this,"selectable-item");d.$element.removeClass("ui-selecting").addClass("ui-selected");d.selecting=false;d.selected=true;d.startselected=true;f._trigger("selected",c,{selected:d.element})});this._trigger("stop",c);this.helper.remove();return false}});e.extend(e.ui.selectable,{version:"1.8.10"})})(jQuery);
+e.data(this,"selectable-item");d.$element.removeClass("ui-selecting").addClass("ui-selected");d.selecting=false;d.selected=true;d.startselected=true;f._trigger("selected",c,{selected:d.element})});this._trigger("stop",c);this.helper.remove();return false}});e.extend(e.ui.selectable,{version:"1.8.11"})})(jQuery);
 ;/*
- * jQuery UI Sortable 1.8.10
+ * jQuery UI Sortable 1.8.11
  *
  * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
  * Dual licensed under the MIT or GPL Version 2 licenses.
@@ -223,29 +223,29 @@ e.data(this,"selectable-item");d.$element.removeClass("ui-selecting").addClass("
  *	jquery.ui.widget.js
  */
 (function(d){d.widget("ui.sortable",d.ui.mouse,{widgetEventPrefix:"sort",options:{appendTo:"parent",axis:false,connectWith:false,containment:false,cursor:"auto",cursorAt:false,dropOnEmpty:true,forcePlaceholderSize:false,forceHelperSize:false,grid:false,handle:false,helper:"original",items:"> *",opacity:false,placeholder:false,revert:false,scroll:true,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1E3},_create:function(){this.containerCache={};this.element.addClass("ui-sortable");
-this.refresh();this.floating=this.items.length?/left|right/.test(this.items[0].item.css("float")):false;this.offset=this.element.offset();this._mouseInit()},destroy:function(){this.element.removeClass("ui-sortable ui-sortable-disabled").removeData("sortable").unbind(".sortable");this._mouseDestroy();for(var a=this.items.length-1;a>=0;a--)this.items[a].item.removeData("sortable-item");return this},_setOption:function(a,b){if(a==="disabled"){this.options[a]=b;this.widget()[b?"addClass":"removeClass"]("ui-sortable-disabled")}else d.Widget.prototype._setOption.apply(this,
-arguments)},_mouseCapture:function(a,b){if(this.reverting)return false;if(this.options.disabled||this.options.type=="static")return false;this._refreshItems(a);var c=null,e=this;d(a.target).parents().each(function(){if(d.data(this,"sortable-item")==e){c=d(this);return false}});if(d.data(a.target,"sortable-item")==e)c=d(a.target);if(!c)return false;if(this.options.handle&&!b){var f=false;d(this.options.handle,c).find("*").andSelf().each(function(){if(this==a.target)f=true});if(!f)return false}this.currentItem=
-c;this._removeCurrentsFromItems();return true},_mouseStart:function(a,b,c){b=this.options;var e=this;this.currentContainer=this;this.refreshPositions();this.helper=this._createHelper(a);this._cacheHelperProportions();this._cacheMargins();this.scrollParent=this.helper.scrollParent();this.offset=this.currentItem.offset();this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left};this.helper.css("position","absolute");this.cssPosition=this.helper.css("position");d.extend(this.offset,
-{click:{left:a.pageX-this.offset.left,top:a.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()});this.originalPosition=this._generatePosition(a);this.originalPageX=a.pageX;this.originalPageY=a.pageY;b.cursorAt&&this._adjustOffsetFromHelper(b.cursorAt);this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]};this.helper[0]!=this.currentItem[0]&&this.currentItem.hide();this._createPlaceholder();b.containment&&this._setContainment();
-if(b.cursor){if(d("body").css("cursor"))this._storedCursor=d("body").css("cursor");d("body").css("cursor",b.cursor)}if(b.opacity){if(this.helper.css("opacity"))this._storedOpacity=this.helper.css("opacity");this.helper.css("opacity",b.opacity)}if(b.zIndex){if(this.helper.css("zIndex"))this._storedZIndex=this.helper.css("zIndex");this.helper.css("zIndex",b.zIndex)}if(this.scrollParent[0]!=document&&this.scrollParent[0].tagName!="HTML")this.overflowOffset=this.scrollParent.offset();this._trigger("start",
-a,this._uiHash());this._preserveHelperProportions||this._cacheHelperProportions();if(!c)for(c=this.containers.length-1;c>=0;c--)this.containers[c]._trigger("activate",a,e._uiHash(this));if(d.ui.ddmanager)d.ui.ddmanager.current=this;d.ui.ddmanager&&!b.dropBehaviour&&d.ui.ddmanager.prepareOffsets(this,a);this.dragging=true;this.helper.addClass("ui-sortable-helper");this._mouseDrag(a);return true},_mouseDrag:function(a){this.position=this._generatePosition(a);this.positionAbs=this._convertPositionTo("absolute");
-if(!this.lastPositionAbs)this.lastPositionAbs=this.positionAbs;if(this.options.scroll){var b=this.options,c=false;if(this.scrollParent[0]!=document&&this.scrollParent[0].tagName!="HTML"){if(this.overflowOffset.top+this.scrollParent[0].offsetHeight-a.pageY<b.scrollSensitivity)this.scrollParent[0].scrollTop=c=this.scrollParent[0].scrollTop+b.scrollSpeed;else if(a.pageY-this.overflowOffset.top<b.scrollSensitivity)this.scrollParent[0].scrollTop=c=this.scrollParent[0].scrollTop-b.scrollSpeed;if(this.overflowOffset.left+
-this.scrollParent[0].offsetWidth-a.pageX<b.scrollSensitivity)this.scrollParent[0].scrollLeft=c=this.scrollParent[0].scrollLeft+b.scrollSpeed;else if(a.pageX-this.overflowOffset.left<b.scrollSensitivity)this.scrollParent[0].scrollLeft=c=this.scrollParent[0].scrollLeft-b.scrollSpeed}else{if(a.pageY-d(document).scrollTop()<b.scrollSensitivity)c=d(document).scrollTop(d(document).scrollTop()-b.scrollSpeed);else if(d(window).height()-(a.pageY-d(document).scrollTop())<b.scrollSensitivity)c=d(document).scrollTop(d(document).scrollTop()+
-b.scrollSpeed);if(a.pageX-d(document).scrollLeft()<b.scrollSensitivity)c=d(document).scrollLeft(d(document).scrollLeft()-b.scrollSpeed);else if(d(window).width()-(a.pageX-d(document).scrollLeft())<b.scrollSensitivity)c=d(document).scrollLeft(d(document).scrollLeft()+b.scrollSpeed)}c!==false&&d.ui.ddmanager&&!b.dropBehaviour&&d.ui.ddmanager.prepareOffsets(this,a)}this.positionAbs=this._convertPositionTo("absolute");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";for(b=this.items.length-1;b>=0;b--){c=this.items[b];var e=c.item[0],f=this._intersectsWithPointer(c);if(f)if(e!=this.currentItem[0]&&this.placeholder[f==1?"next":"prev"]()[0]!=e&&!d.ui.contains(this.placeholder[0],e)&&(this.options.type=="semi-dynamic"?!d.ui.contains(this.element[0],e):true)){this.direction=f==1?"down":"up";if(this.options.tolerance=="pointer"||this._intersectsWithSides(c))this._rearrange(a,
-c);else break;this._trigger("change",a,this._uiHash());break}}this._contactContainers(a);d.ui.ddmanager&&d.ui.ddmanager.drag(this,a);this._trigger("sort",a,this._uiHash());this.lastPositionAbs=this.positionAbs;return false},_mouseStop:function(a,b){if(a){d.ui.ddmanager&&!this.options.dropBehaviour&&d.ui.ddmanager.drop(this,a);if(this.options.revert){var c=this;b=c.placeholder.offset();c.reverting=true;d(this.helper).animate({left:b.left-this.offset.parent.left-c.margins.left+(this.offsetParent[0]==
-document.body?0:this.offsetParent[0].scrollLeft),top:b.top-this.offset.parent.top-c.margins.top+(this.offsetParent[0]==document.body?0:this.offsetParent[0].scrollTop)},parseInt(this.options.revert,10)||500,function(){c._clear(a)})}else this._clear(a,b);return false}},cancel:function(){var a=this;if(this.dragging){this._mouseUp({target:null});this.options.helper=="original"?this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper"):this.currentItem.show();for(var b=this.containers.length-
-1;b>=0;b--){this.containers[b]._trigger("deactivate",null,a._uiHash(this));if(this.containers[b].containerCache.over){this.containers[b]._trigger("out",null,a._uiHash(this));this.containers[b].containerCache.over=0}}}if(this.placeholder){this.placeholder[0].parentNode&&this.placeholder[0].parentNode.removeChild(this.placeholder[0]);this.options.helper!="original"&&this.helper&&this.helper[0].parentNode&&this.helper.remove();d.extend(this,{helper:null,dragging:false,reverting:false,_noFinalSort:null});
-this.domPosition.prev?d(this.domPosition.prev).after(this.currentItem):d(this.domPosition.parent).prepend(this.currentItem)}return this},serialize:function(a){var b=this._getItemsAsjQuery(a&&a.connected),c=[];a=a||{};d(b).each(function(){var e=(d(a.item||this).attr(a.attribute||"id")||"").match(a.expression||/(.+)[-=_](.+)/);if(e)c.push((a.key||e[1]+"[]")+"="+(a.key&&a.expression?e[1]:e[2]))});!c.length&&a.key&&c.push(a.key+"=");return c.join("&")},toArray:function(a){var b=this._getItemsAsjQuery(a&&
-a.connected),c=[];a=a||{};b.each(function(){c.push(d(a.item||this).attr(a.attribute||"id")||"")});return c},_intersectsWith:function(a){var b=this.positionAbs.left,c=b+this.helperProportions.width,e=this.positionAbs.top,f=e+this.helperProportions.height,g=a.left,h=g+a.width,i=a.top,k=i+a.height,j=this.offset.click.top,l=this.offset.click.left;j=e+j>i&&e+j<k&&b+l>g&&b+l<h;return this.options.tolerance=="pointer"||this.options.forcePointerForContainers||this.options.tolerance!="pointer"&&this.helperProportions[this.floating?
-"width":"height"]>a[this.floating?"width":"height"]?j:g<b+this.helperProportions.width/2&&c-this.helperProportions.width/2<h&&i<e+this.helperProportions.height/2&&f-this.helperProportions.height/2<k},_intersectsWithPointer:function(a){var b=d.ui.isOverAxis(this.positionAbs.top+this.offset.click.top,a.top,a.height);a=d.ui.isOverAxis(this.positionAbs.left+this.offset.click.left,a.left,a.width);b=b&&a;a=this._getDragVerticalDirection();var c=this._getDragHorizontalDirection();if(!b)return false;return this.floating?
-c&&c=="right"||a=="down"?2:1:a&&(a=="down"?2:1)},_intersectsWithSides:function(a){var b=d.ui.isOverAxis(this.positionAbs.top+this.offset.click.top,a.top+a.height/2,a.height);a=d.ui.isOverAxis(this.positionAbs.left+this.offset.click.left,a.left+a.width/2,a.width);var c=this._getDragVerticalDirection(),e=this._getDragHorizontalDirection();return this.floating&&e?e=="right"&&a||e=="left"&&!a:c&&(c=="down"&&b||c=="up"&&!b)},_getDragVerticalDirection:function(){var a=this.positionAbs.top-this.lastPositionAbs.top;
-return a!=0&&(a>0?"down":"up")},_getDragHorizontalDirection:function(){var a=this.positionAbs.left-this.lastPositionAbs.left;return a!=0&&(a>0?"right":"left")},refresh:function(a){this._refreshItems(a);this.refreshPositions();return this},_connectWith:function(){var a=this.options;return a.connectWith.constructor==String?[a.connectWith]:a.connectWith},_getItemsAsjQuery:function(a){var b=[],c=[],e=this._connectWith();if(e&&a)for(a=e.length-1;a>=0;a--)for(var f=d(e[a]),g=f.length-1;g>=0;g--){var h=
-d.data(f[g],"sortable");if(h&&h!=this&&!h.options.disabled)c.push([d.isFunction(h.options.items)?h.options.items.call(h.element):d(h.options.items,h.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),h])}c.push([d.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):d(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]);for(a=c.length-1;a>=0;a--)c[a][0].each(function(){b.push(this)});
-return d(b)},_removeCurrentsFromItems:function(){for(var a=this.currentItem.find(":data(sortable-item)"),b=0;b<this.items.length;b++)for(var c=0;c<a.length;c++)a[c]==this.items[b].item[0]&&this.items.splice(b,1)},_refreshItems:function(a){this.items=[];this.containers=[this];var b=this.items,c=[[d.isFunction(this.options.items)?this.options.items.call(this.element[0],a,{item:this.currentItem}):d(this.options.items,this.element),this]],e=this._connectWith();if(e)for(var f=e.length-1;f>=0;f--)for(var g=
-d(e[f]),h=g.length-1;h>=0;h--){var i=d.data(g[h],"sortable");if(i&&i!=this&&!i.options.disabled){c.push([d.isFunction(i.options.items)?i.options.items.call(i.element[0],a,{item:this.currentItem}):d(i.options.items,i.element),i]);this.containers.push(i)}}for(f=c.length-1;f>=0;f--){a=c[f][1];e=c[f][0];h=0;for(g=e.length;h<g;h++){i=d(e[h]);i.data("sortable-item",a);b.push({item:i,instance:a,width:0,height:0,left:0,top:0})}}},refreshPositions:function(a){if(this.offsetParent&&this.helper)this.offset.parent=
-this._getParentOffset();for(var b=this.items.length-1;b>=0;b--){var c=this.items[b],e=this.options.toleranceElement?d(this.options.toleranceElement,c.item):c.item;if(!a){c.width=e.outerWidth();c.height=e.outerHeight()}e=e.offset();c.left=e.left;c.top=e.top}if(this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(b=this.containers.length-1;b>=0;b--){e=this.containers[b].element.offset();this.containers[b].containerCache.left=e.left;this.containers[b].containerCache.top=
-e.top;this.containers[b].containerCache.width=this.containers[b].element.outerWidth();this.containers[b].containerCache.height=this.containers[b].element.outerHeight()}return this},_createPlaceholder:function(a){var b=a||this,c=b.options;if(!c.placeholder||c.placeholder.constructor==String){var e=c.placeholder;c.placeholder={element:function(){var f=d(document.createElement(b.currentItem[0].nodeName)).addClass(e||b.currentItem[0].className+" ui-sortable-placeholder").removeClass("ui-sortable-helper")[0];
+this.refresh();this.floating=this.items.length?/left|right/.test(this.items[0].item.css("float"))||/inline|table-cell/.test(this.items[0].item.css("display")):false;this.offset=this.element.offset();this._mouseInit()},destroy:function(){this.element.removeClass("ui-sortable ui-sortable-disabled").removeData("sortable").unbind(".sortable");this._mouseDestroy();for(var a=this.items.length-1;a>=0;a--)this.items[a].item.removeData("sortable-item");return this},_setOption:function(a,b){if(a==="disabled"){this.options[a]=
+b;this.widget()[b?"addClass":"removeClass"]("ui-sortable-disabled")}else d.Widget.prototype._setOption.apply(this,arguments)},_mouseCapture:function(a,b){if(this.reverting)return false;if(this.options.disabled||this.options.type=="static")return false;this._refreshItems(a);var c=null,e=this;d(a.target).parents().each(function(){if(d.data(this,"sortable-item")==e){c=d(this);return false}});if(d.data(a.target,"sortable-item")==e)c=d(a.target);if(!c)return false;if(this.options.handle&&!b){var f=false;
+d(this.options.handle,c).find("*").andSelf().each(function(){if(this==a.target)f=true});if(!f)return false}this.currentItem=c;this._removeCurrentsFromItems();return true},_mouseStart:function(a,b,c){b=this.options;var e=this;this.currentContainer=this;this.refreshPositions();this.helper=this._createHelper(a);this._cacheHelperProportions();this._cacheMargins();this.scrollParent=this.helper.scrollParent();this.offset=this.currentItem.offset();this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-
+this.margins.left};this.helper.css("position","absolute");this.cssPosition=this.helper.css("position");d.extend(this.offset,{click:{left:a.pageX-this.offset.left,top:a.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()});this.originalPosition=this._generatePosition(a);this.originalPageX=a.pageX;this.originalPageY=a.pageY;b.cursorAt&&this._adjustOffsetFromHelper(b.cursorAt);this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]};
+this.helper[0]!=this.currentItem[0]&&this.currentItem.hide();this._createPlaceholder();b.containment&&this._setContainment();if(b.cursor){if(d("body").css("cursor"))this._storedCursor=d("body").css("cursor");d("body").css("cursor",b.cursor)}if(b.opacity){if(this.helper.css("opacity"))this._storedOpacity=this.helper.css("opacity");this.helper.css("opacity",b.opacity)}if(b.zIndex){if(this.helper.css("zIndex"))this._storedZIndex=this.helper.css("zIndex");this.helper.css("zIndex",b.zIndex)}if(this.scrollParent[0]!=
+document&&this.scrollParent[0].tagName!="HTML")this.overflowOffset=this.scrollParent.offset();this._trigger("start",a,this._uiHash());this._preserveHelperProportions||this._cacheHelperProportions();if(!c)for(c=this.containers.length-1;c>=0;c--)this.containers[c]._trigger("activate",a,e._uiHash(this));if(d.ui.ddmanager)d.ui.ddmanager.current=this;d.ui.ddmanager&&!b.dropBehaviour&&d.ui.ddmanager.prepareOffsets(this,a);this.dragging=true;this.helper.addClass("ui-sortable-helper");this._mouseDrag(a);
+return true},_mouseDrag:function(a){this.position=this._generatePosition(a);this.positionAbs=this._convertPositionTo("absolute");if(!this.lastPositionAbs)this.lastPositionAbs=this.positionAbs;if(this.options.scroll){var b=this.options,c=false;if(this.scrollParent[0]!=document&&this.scrollParent[0].tagName!="HTML"){if(this.overflowOffset.top+this.scrollParent[0].offsetHeight-a.pageY<b.scrollSensitivity)this.scrollParent[0].scrollTop=c=this.scrollParent[0].scrollTop+b.scrollSpeed;else if(a.pageY-this.overflowOffset.top<
+b.scrollSensitivity)this.scrollParent[0].scrollTop=c=this.scrollParent[0].scrollTop-b.scrollSpeed;if(this.overflowOffset.left+this.scrollParent[0].offsetWidth-a.pageX<b.scrollSensitivity)this.scrollParent[0].scrollLeft=c=this.scrollParent[0].scrollLeft+b.scrollSpeed;else if(a.pageX-this.overflowOffset.left<b.scrollSensitivity)this.scrollParent[0].scrollLeft=c=this.scrollParent[0].scrollLeft-b.scrollSpeed}else{if(a.pageY-d(document).scrollTop()<b.scrollSensitivity)c=d(document).scrollTop(d(document).scrollTop()-
+b.scrollSpeed);else if(d(window).height()-(a.pageY-d(document).scrollTop())<b.scrollSensitivity)c=d(document).scrollTop(d(document).scrollTop()+b.scrollSpeed);if(a.pageX-d(document).scrollLeft()<b.scrollSensitivity)c=d(document).scrollLeft(d(document).scrollLeft()-b.scrollSpeed);else if(d(window).width()-(a.pageX-d(document).scrollLeft())<b.scrollSensitivity)c=d(document).scrollLeft(d(document).scrollLeft()+b.scrollSpeed)}c!==false&&d.ui.ddmanager&&!b.dropBehaviour&&d.ui.ddmanager.prepareOffsets(this,
+a)}this.positionAbs=this._convertPositionTo("absolute");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";for(b=this.items.length-1;b>=0;b--){c=this.items[b];var e=c.item[0],f=this._intersectsWithPointer(c);if(f)if(e!=this.currentItem[0]&&this.placeholder[f==1?"next":"prev"]()[0]!=e&&!d.ui.contains(this.placeholder[0],e)&&(this.options.type=="semi-dynamic"?!d.ui.contains(this.element[0],
+e):true)){this.direction=f==1?"down":"up";if(this.options.tolerance=="pointer"||this._intersectsWithSides(c))this._rearrange(a,c);else break;this._trigger("change",a,this._uiHash());break}}this._contactContainers(a);d.ui.ddmanager&&d.ui.ddmanager.drag(this,a);this._trigger("sort",a,this._uiHash());this.lastPositionAbs=this.positionAbs;return false},_mouseStop:function(a,b){if(a){d.ui.ddmanager&&!this.options.dropBehaviour&&d.ui.ddmanager.drop(this,a);if(this.options.revert){var c=this;b=c.placeholder.offset();
+c.reverting=true;d(this.helper).animate({left:b.left-this.offset.parent.left-c.margins.left+(this.offsetParent[0]==document.body?0:this.offsetParent[0].scrollLeft),top:b.top-this.offset.parent.top-c.margins.top+(this.offsetParent[0]==document.body?0:this.offsetParent[0].scrollTop)},parseInt(this.options.revert,10)||500,function(){c._clear(a)})}else this._clear(a,b);return false}},cancel:function(){var a=this;if(this.dragging){this._mouseUp({target:null});this.options.helper=="original"?this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper"):
+this.currentItem.show();for(var b=this.containers.length-1;b>=0;b--){this.containers[b]._trigger("deactivate",null,a._uiHash(this));if(this.containers[b].containerCache.over){this.containers[b]._trigger("out",null,a._uiHash(this));this.containers[b].containerCache.over=0}}}if(this.placeholder){this.placeholder[0].parentNode&&this.placeholder[0].parentNode.removeChild(this.placeholder[0]);this.options.helper!="original"&&this.helper&&this.helper[0].parentNode&&this.helper.remove();d.extend(this,{helper:null,
+dragging:false,reverting:false,_noFinalSort:null});this.domPosition.prev?d(this.domPosition.prev).after(this.currentItem):d(this.domPosition.parent).prepend(this.currentItem)}return this},serialize:function(a){var b=this._getItemsAsjQuery(a&&a.connected),c=[];a=a||{};d(b).each(function(){var e=(d(a.item||this).attr(a.attribute||"id")||"").match(a.expression||/(.+)[-=_](.+)/);if(e)c.push((a.key||e[1]+"[]")+"="+(a.key&&a.expression?e[1]:e[2]))});!c.length&&a.key&&c.push(a.key+"=");return c.join("&")},
+toArray:function(a){var b=this._getItemsAsjQuery(a&&a.connected),c=[];a=a||{};b.each(function(){c.push(d(a.item||this).attr(a.attribute||"id")||"")});return c},_intersectsWith:function(a){var b=this.positionAbs.left,c=b+this.helperProportions.width,e=this.positionAbs.top,f=e+this.helperProportions.height,g=a.left,h=g+a.width,i=a.top,k=i+a.height,j=this.offset.click.top,l=this.offset.click.left;j=e+j>i&&e+j<k&&b+l>g&&b+l<h;return this.options.tolerance=="pointer"||this.options.forcePointerForContainers||
+this.options.tolerance!="pointer"&&this.helperProportions[this.floating?"width":"height"]>a[this.floating?"width":"height"]?j:g<b+this.helperProportions.width/2&&c-this.helperProportions.width/2<h&&i<e+this.helperProportions.height/2&&f-this.helperProportions.height/2<k},_intersectsWithPointer:function(a){var b=d.ui.isOverAxis(this.positionAbs.top+this.offset.click.top,a.top,a.height);a=d.ui.isOverAxis(this.positionAbs.left+this.offset.click.left,a.left,a.width);b=b&&a;a=this._getDragVerticalDirection();
+var c=this._getDragHorizontalDirection();if(!b)return false;return this.floating?c&&c=="right"||a=="down"?2:1:a&&(a=="down"?2:1)},_intersectsWithSides:function(a){var b=d.ui.isOverAxis(this.positionAbs.top+this.offset.click.top,a.top+a.height/2,a.height);a=d.ui.isOverAxis(this.positionAbs.left+this.offset.click.left,a.left+a.width/2,a.width);var c=this._getDragVerticalDirection(),e=this._getDragHorizontalDirection();return this.floating&&e?e=="right"&&a||e=="left"&&!a:c&&(c=="down"&&b||c=="up"&&!b)},
+_getDragVerticalDirection:function(){var a=this.positionAbs.top-this.lastPositionAbs.top;return a!=0&&(a>0?"down":"up")},_getDragHorizontalDirection:function(){var a=this.positionAbs.left-this.lastPositionAbs.left;return a!=0&&(a>0?"right":"left")},refresh:function(a){this._refreshItems(a);this.refreshPositions();return this},_connectWith:function(){var a=this.options;return a.connectWith.constructor==String?[a.connectWith]:a.connectWith},_getItemsAsjQuery:function(a){var b=[],c=[],e=this._connectWith();
+if(e&&a)for(a=e.length-1;a>=0;a--)for(var f=d(e[a]),g=f.length-1;g>=0;g--){var h=d.data(f[g],"sortable");if(h&&h!=this&&!h.options.disabled)c.push([d.isFunction(h.options.items)?h.options.items.call(h.element):d(h.options.items,h.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),h])}c.push([d.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):d(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),
+this]);for(a=c.length-1;a>=0;a--)c[a][0].each(function(){b.push(this)});return d(b)},_removeCurrentsFromItems:function(){for(var a=this.currentItem.find(":data(sortable-item)"),b=0;b<this.items.length;b++)for(var c=0;c<a.length;c++)a[c]==this.items[b].item[0]&&this.items.splice(b,1)},_refreshItems:function(a){this.items=[];this.containers=[this];var b=this.items,c=[[d.isFunction(this.options.items)?this.options.items.call(this.element[0],a,{item:this.currentItem}):d(this.options.items,this.element),
+this]],e=this._connectWith();if(e)for(var f=e.length-1;f>=0;f--)for(var g=d(e[f]),h=g.length-1;h>=0;h--){var i=d.data(g[h],"sortable");if(i&&i!=this&&!i.options.disabled){c.push([d.isFunction(i.options.items)?i.options.items.call(i.element[0],a,{item:this.currentItem}):d(i.options.items,i.element),i]);this.containers.push(i)}}for(f=c.length-1;f>=0;f--){a=c[f][1];e=c[f][0];h=0;for(g=e.length;h<g;h++){i=d(e[h]);i.data("sortable-item",a);b.push({item:i,instance:a,width:0,height:0,left:0,top:0})}}},refreshPositions:function(a){if(this.offsetParent&&
+this.helper)this.offset.parent=this._getParentOffset();for(var b=this.items.length-1;b>=0;b--){var c=this.items[b],e=this.options.toleranceElement?d(this.options.toleranceElement,c.item):c.item;if(!a){c.width=e.outerWidth();c.height=e.outerHeight()}e=e.offset();c.left=e.left;c.top=e.top}if(this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(b=this.containers.length-1;b>=0;b--){e=this.containers[b].element.offset();this.containers[b].containerCache.left=
+e.left;this.containers[b].containerCache.top=e.top;this.containers[b].containerCache.width=this.containers[b].element.outerWidth();this.containers[b].containerCache.height=this.containers[b].element.outerHeight()}return this},_createPlaceholder:function(a){var b=a||this,c=b.options;if(!c.placeholder||c.placeholder.constructor==String){var e=c.placeholder;c.placeholder={element:function(){var f=d(document.createElement(b.currentItem[0].nodeName)).addClass(e||b.currentItem[0].className+" ui-sortable-placeholder").removeClass("ui-sortable-helper")[0];
 if(!e)f.style.visibility="hidden";return f},update:function(f,g){if(!(e&&!c.forcePlaceholderSize)){g.height()||g.height(b.currentItem.innerHeight()-parseInt(b.currentItem.css("paddingTop")||0,10)-parseInt(b.currentItem.css("paddingBottom")||0,10));g.width()||g.width(b.currentItem.innerWidth()-parseInt(b.currentItem.css("paddingLeft")||0,10)-parseInt(b.currentItem.css("paddingRight")||0,10))}}}}b.placeholder=d(c.placeholder.element.call(b.element,b.currentItem));b.currentItem.after(b.placeholder);
 c.placeholder.update(b,b.placeholder)},_contactContainers:function(a){for(var b=null,c=null,e=this.containers.length-1;e>=0;e--)if(!d.ui.contains(this.currentItem[0],this.containers[e].element[0]))if(this._intersectsWith(this.containers[e].containerCache)){if(!(b&&d.ui.contains(this.containers[e].element[0],b.element[0]))){b=this.containers[e];c=e}}else if(this.containers[e].containerCache.over){this.containers[e]._trigger("out",a,this._uiHash(this));this.containers[e].containerCache.over=0}if(b)if(this.containers.length===
 1){this.containers[c]._trigger("over",a,this._uiHash(this));this.containers[c].containerCache.over=1}else if(this.currentContainer!=this.containers[c]){b=1E4;e=null;for(var f=this.positionAbs[this.containers[c].floating?"left":"top"],g=this.items.length-1;g>=0;g--)if(d.ui.contains(this.containers[c].element[0],this.items[g].item[0])){var h=this.items[g][this.containers[c].floating?"left":"top"];if(Math.abs(h-f)<b){b=Math.abs(h-f);e=this.items[g]}}if(e||this.options.dropOnEmpty){this.currentContainer=
@@ -267,9 +267,9 @@ this.fromOutside&&!b&&c.push(function(f){this._trigger("receive",f,this._uiHash(
 this.currentItem[0])&&!b){c.push(function(f){return function(g){f._trigger("receive",g,this._uiHash(this))}}.call(this,this.containers[e]));c.push(function(f){return function(g){f._trigger("update",g,this._uiHash(this))}}.call(this,this.containers[e]))}}for(e=this.containers.length-1;e>=0;e--){b||c.push(function(f){return function(g){f._trigger("deactivate",g,this._uiHash(this))}}.call(this,this.containers[e]));if(this.containers[e].containerCache.over){c.push(function(f){return function(g){f._trigger("out",
 g,this._uiHash(this))}}.call(this,this.containers[e]));this.containers[e].containerCache.over=0}}this._storedCursor&&d("body").css("cursor",this._storedCursor);this._storedOpacity&&this.helper.css("opacity",this._storedOpacity);if(this._storedZIndex)this.helper.css("zIndex",this._storedZIndex=="auto"?"":this._storedZIndex);this.dragging=false;if(this.cancelHelperRemoval){if(!b){this._trigger("beforeStop",a,this._uiHash());for(e=0;e<c.length;e++)c[e].call(this,a);this._trigger("stop",a,this._uiHash())}return false}b||
 this._trigger("beforeStop",a,this._uiHash());this.placeholder[0].parentNode.removeChild(this.placeholder[0]);this.helper[0]!=this.currentItem[0]&&this.helper.remove();this.helper=null;if(!b){for(e=0;e<c.length;e++)c[e].call(this,a);this._trigger("stop",a,this._uiHash())}this.fromOutside=false;return true},_trigger:function(){d.Widget.prototype._trigger.apply(this,arguments)===false&&this.cancel()},_uiHash:function(a){var b=a||this;return{helper:b.helper,placeholder:b.placeholder||d([]),position:b.position,
-originalPosition:b.originalPosition,offset:b.positionAbs,item:b.currentItem,sender:a?a.element:null}}});d.extend(d.ui.sortable,{version:"1.8.10"})})(jQuery);
+originalPosition:b.originalPosition,offset:b.positionAbs,item:b.currentItem,sender:a?a.element:null}}});d.extend(d.ui.sortable,{version:"1.8.11"})})(jQuery);
 ;/*
- * jQuery UI Accordion 1.8.10
+ * jQuery UI Accordion 1.8.11
  *
  * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
  * Dual licensed under the MIT or GPL Version 2 licenses.
@@ -284,8 +284,8 @@ originalPosition:b.originalPosition,offset:b.positionAbs,item:b.currentItem,send
 (function(c){c.widget("ui.accordion",{options:{active:0,animated:"slide",autoHeight:true,clearStyle:false,collapsible:false,event:"click",fillSpace:false,header:"> li > :first-child,> :not(li):even",icons:{header:"ui-icon-triangle-1-e",headerSelected:"ui-icon-triangle-1-s"},navigation:false,navigationFilter:function(){return this.href.toLowerCase()===location.href.toLowerCase()}},_create:function(){var a=this,b=a.options;a.running=0;a.element.addClass("ui-accordion ui-widget ui-helper-reset").children("li").addClass("ui-accordion-li-fix");
 a.headers=a.element.find(b.header).addClass("ui-accordion-header ui-helper-reset ui-state-default ui-corner-all").bind("mouseenter.accordion",function(){b.disabled||c(this).addClass("ui-state-hover")}).bind("mouseleave.accordion",function(){b.disabled||c(this).removeClass("ui-state-hover")}).bind("focus.accordion",function(){b.disabled||c(this).addClass("ui-state-focus")}).bind("blur.accordion",function(){b.disabled||c(this).removeClass("ui-state-focus")});a.headers.next().addClass("ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom");
 if(b.navigation){var d=a.element.find("a").filter(b.navigationFilter).eq(0);if(d.length){var h=d.closest(".ui-accordion-header");a.active=h.length?h:d.closest(".ui-accordion-content").prev()}}a.active=a._findActive(a.active||b.active).addClass("ui-state-default ui-state-active").toggleClass("ui-corner-all").toggleClass("ui-corner-top");a.active.next().addClass("ui-accordion-content-active");a._createIcons();a.resize();a.element.attr("role","tablist");a.headers.attr("role","tab").bind("keydown.accordion",
-function(f){return a._keydown(f)}).next().attr("role","tabpanel");a.headers.not(a.active||"").attr({"aria-expanded":"false",tabIndex:-1}).next().hide();a.active.length?a.active.attr({"aria-expanded":"true",tabIndex:0}):a.headers.eq(0).attr("tabIndex",0);c.browser.safari||a.headers.find("a").attr("tabIndex",-1);b.event&&a.headers.bind(b.event.split(" ").join(".accordion ")+".accordion",function(f){a._clickHandler.call(a,f,this);f.preventDefault()})},_createIcons:function(){var a=this.options;if(a.icons){c("<span></span>").addClass("ui-icon "+
-a.icons.header).prependTo(this.headers);this.active.children(".ui-icon").toggleClass(a.icons.header).toggleClass(a.icons.headerSelected);this.element.addClass("ui-accordion-icons")}},_destroyIcons:function(){this.headers.children(".ui-icon").remove();this.element.removeClass("ui-accordion-icons")},destroy:function(){var a=this.options;this.element.removeClass("ui-accordion ui-widget ui-helper-reset").removeAttr("role");this.headers.unbind(".accordion").removeClass("ui-accordion-header ui-accordion-disabled ui-helper-reset ui-state-default ui-corner-all ui-state-active ui-state-disabled ui-corner-top").removeAttr("role").removeAttr("aria-expanded").removeAttr("tabIndex");
+function(f){return a._keydown(f)}).next().attr("role","tabpanel");a.headers.not(a.active||"").attr({"aria-expanded":"false","aria-selected":"false",tabIndex:-1}).next().hide();a.active.length?a.active.attr({"aria-expanded":"true","aria-selected":"true",tabIndex:0}):a.headers.eq(0).attr("tabIndex",0);c.browser.safari||a.headers.find("a").attr("tabIndex",-1);b.event&&a.headers.bind(b.event.split(" ").join(".accordion ")+".accordion",function(f){a._clickHandler.call(a,f,this);f.preventDefault()})},_createIcons:function(){var a=
+this.options;if(a.icons){c("<span></span>").addClass("ui-icon "+a.icons.header).prependTo(this.headers);this.active.children(".ui-icon").toggleClass(a.icons.header).toggleClass(a.icons.headerSelected);this.element.addClass("ui-accordion-icons")}},_destroyIcons:function(){this.headers.children(".ui-icon").remove();this.element.removeClass("ui-accordion-icons")},destroy:function(){var a=this.options;this.element.removeClass("ui-accordion ui-widget ui-helper-reset").removeAttr("role");this.headers.unbind(".accordion").removeClass("ui-accordion-header ui-accordion-disabled ui-helper-reset ui-state-default ui-corner-all ui-state-active ui-state-disabled ui-corner-top").removeAttr("role").removeAttr("aria-expanded").removeAttr("aria-selected").removeAttr("tabIndex");
 this.headers.find("a").removeAttr("tabIndex");this._destroyIcons();var b=this.headers.next().css("display","").removeAttr("role").removeClass("ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content ui-accordion-content-active ui-accordion-disabled ui-state-disabled");if(a.autoHeight||a.fillHeight)b.css("height","");return c.Widget.prototype.destroy.call(this)},_setOption:function(a,b){c.Widget.prototype._setOption.apply(this,arguments);a=="active"&&this.activate(b);if(a=="icons"){this._destroyIcons();
 b&&this._createIcons()}if(a=="disabled")this.headers.add(this.headers.next())[b?"addClass":"removeClass"]("ui-accordion-disabled ui-state-disabled")},_keydown:function(a){if(!(this.options.disabled||a.altKey||a.ctrlKey)){var b=c.ui.keyCode,d=this.headers.length,h=this.headers.index(a.target),f=false;switch(a.keyCode){case b.RIGHT:case b.DOWN:f=this.headers[(h+1)%d];break;case b.LEFT:case b.UP:f=this.headers[(h-1+d)%d];break;case b.SPACE:case b.ENTER:this._clickHandler({target:a.target},a.target);
 a.preventDefault()}if(f){c(a.target).attr("tabIndex",-1);c(f).attr("tabIndex",0);f.focus();return false}return true}},resize:function(){var a=this.options,b;if(a.fillSpace){if(c.browser.msie){var d=this.element.parent().css("overflow");this.element.parent().css("overflow","hidden")}b=this.element.parent().height();c.browser.msie&&this.element.parent().css("overflow",d);this.headers.each(function(){b-=c(this).outerHeight(true)});this.headers.next().each(function(){c(this).height(Math.max(0,b-c(this).innerHeight()+
@@ -294,12 +294,12 @@ if(!d.disabled)if(a.target){a=c(a.currentTarget||b);b=a[0]===this.active[0];d.ac
 if(!b){a.removeClass("ui-state-default ui-corner-all").addClass("ui-state-active ui-corner-top").children(".ui-icon").removeClass(d.icons.header).addClass(d.icons.headerSelected);a.next().addClass("ui-accordion-content-active")}}}else if(d.collapsible){this.active.removeClass("ui-state-active ui-corner-top").addClass("ui-state-default ui-corner-all").children(".ui-icon").removeClass(d.icons.headerSelected).addClass(d.icons.header);this.active.next().addClass("ui-accordion-content-active");var g=this.active.next(),
 e={options:d,newHeader:c([]),oldHeader:d.active,newContent:c([]),oldContent:g},j=this.active=c([]);this._toggle(j,g,e)}},_toggle:function(a,b,d,h,f){var g=this,e=g.options;g.toShow=a;g.toHide=b;g.data=d;var j=function(){if(g)return g._completed.apply(g,arguments)};g._trigger("changestart",null,g.data);g.running=b.size()===0?a.size():b.size();if(e.animated){d={};d=e.collapsible&&h?{toShow:c([]),toHide:b,complete:j,down:f,autoHeight:e.autoHeight||e.fillSpace}:{toShow:a,toHide:b,complete:j,down:f,autoHeight:e.autoHeight||
 e.fillSpace};if(!e.proxied)e.proxied=e.animated;if(!e.proxiedDuration)e.proxiedDuration=e.duration;e.animated=c.isFunction(e.proxied)?e.proxied(d):e.proxied;e.duration=c.isFunction(e.proxiedDuration)?e.proxiedDuration(d):e.proxiedDuration;h=c.ui.accordion.animations;var i=e.duration,k=e.animated;if(k&&!h[k]&&!c.easing[k])k="slide";h[k]||(h[k]=function(l){this.slide(l,{easing:k,duration:i||700})});h[k](d)}else{if(e.collapsible&&h)a.toggle();else{b.hide();a.show()}j(true)}b.prev().attr({"aria-expanded":"false",
-tabIndex:-1}).blur();a.prev().attr({"aria-expanded":"true",tabIndex:0}).focus()},_completed:function(a){this.running=a?0:--this.running;if(!this.running){this.options.clearStyle&&this.toShow.add(this.toHide).css({height:"",overflow:""});this.toHide.removeClass("ui-accordion-content-active");if(this.toHide.length)this.toHide.parent()[0].className=this.toHide.parent()[0].className;this._trigger("change",null,this.data)}}});c.extend(c.ui.accordion,{version:"1.8.10",animations:{slide:function(a,b){a=
-c.extend({easing:"swing",duration:300},a,b);if(a.toHide.size())if(a.toShow.size()){var d=a.toShow.css("overflow"),h=0,f={},g={},e;b=a.toShow;e=b[0].style.width;b.width(parseInt(b.parent().width(),10)-parseInt(b.css("paddingLeft"),10)-parseInt(b.css("paddingRight"),10)-(parseInt(b.css("borderLeftWidth"),10)||0)-(parseInt(b.css("borderRightWidth"),10)||0));c.each(["height","paddingTop","paddingBottom"],function(j,i){g[i]="hide";j=(""+c.css(a.toShow[0],i)).match(/^([\d+-.]+)(.*)$/);f[i]={value:j[1],
-unit:j[2]||"px"}});a.toShow.css({height:0,overflow:"hidden"}).show();a.toHide.filter(":hidden").each(a.complete).end().filter(":visible").animate(g,{step:function(j,i){if(i.prop=="height")h=i.end-i.start===0?0:(i.now-i.start)/(i.end-i.start);a.toShow[0].style[i.prop]=h*f[i.prop].value+f[i.prop].unit},duration:a.duration,easing:a.easing,complete:function(){a.autoHeight||a.toShow.css("height","");a.toShow.css({width:e,overflow:d});a.complete()}})}else a.toHide.animate({height:"hide",paddingTop:"hide",
-paddingBottom:"hide"},a);else a.toShow.animate({height:"show",paddingTop:"show",paddingBottom:"show"},a)},bounceslide:function(a){this.slide(a,{easing:a.down?"easeOutBounce":"swing",duration:a.down?1E3:200})}}})})(jQuery);
+"aria-selected":"false",tabIndex:-1}).blur();a.prev().attr({"aria-expanded":"true","aria-selected":"true",tabIndex:0}).focus()},_completed:function(a){this.running=a?0:--this.running;if(!this.running){this.options.clearStyle&&this.toShow.add(this.toHide).css({height:"",overflow:""});this.toHide.removeClass("ui-accordion-content-active");if(this.toHide.length)this.toHide.parent()[0].className=this.toHide.parent()[0].className;this._trigger("change",null,this.data)}}});c.extend(c.ui.accordion,{version:"1.8.11",
+animations:{slide:function(a,b){a=c.extend({easing:"swing",duration:300},a,b);if(a.toHide.size())if(a.toShow.size()){var d=a.toShow.css("overflow"),h=0,f={},g={},e;b=a.toShow;e=b[0].style.width;b.width(parseInt(b.parent().width(),10)-parseInt(b.css("paddingLeft"),10)-parseInt(b.css("paddingRight"),10)-(parseInt(b.css("borderLeftWidth"),10)||0)-(parseInt(b.css("borderRightWidth"),10)||0));c.each(["height","paddingTop","paddingBottom"],function(j,i){g[i]="hide";j=(""+c.css(a.toShow[0],i)).match(/^([\d+-.]+)(.*)$/);
+f[i]={value:j[1],unit:j[2]||"px"}});a.toShow.css({height:0,overflow:"hidden"}).show();a.toHide.filter(":hidden").each(a.complete).end().filter(":visible").animate(g,{step:function(j,i){if(i.prop=="height")h=i.end-i.start===0?0:(i.now-i.start)/(i.end-i.start);a.toShow[0].style[i.prop]=h*f[i.prop].value+f[i.prop].unit},duration:a.duration,easing:a.easing,complete:function(){a.autoHeight||a.toShow.css("height","");a.toShow.css({width:e,overflow:d});a.complete()}})}else a.toHide.animate({height:"hide",
+paddingTop:"hide",paddingBottom:"hide"},a);else a.toShow.animate({height:"show",paddingTop:"show",paddingBottom:"show"},a)},bounceslide:function(a){this.slide(a,{easing:a.down?"easeOutBounce":"swing",duration:a.down?1E3:200})}}})})(jQuery);
 ;/*
- * jQuery UI Autocomplete 1.8.10
+ * jQuery UI Autocomplete 1.8.11
  *
  * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
  * Dual licensed under the MIT or GPL Version 2 licenses.
@@ -312,17 +312,18 @@ paddingBottom:"hide"},a);else a.toShow.animate({height:"show",paddingTop:"show",
  *	jquery.ui.widget.js
  *	jquery.ui.position.js
  */
-(function(d){var e=0;d.widget("ui.autocomplete",{options:{appendTo:"body",delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null},pending:0,_create:function(){var a=this,b=this.element[0].ownerDocument,g;this.element.addClass("ui-autocomplete-input").attr("autocomplete","off").attr({role:"textbox","aria-autocomplete":"list","aria-haspopup":"true"}).bind("keydown.autocomplete",function(c){if(!(a.options.disabled||a.element.attr("readonly"))){g=false;var f=d.ui.keyCode;
-switch(c.keyCode){case f.PAGE_UP:a._move("previousPage",c);break;case f.PAGE_DOWN:a._move("nextPage",c);break;case f.UP:a._move("previous",c);c.preventDefault();break;case f.DOWN:a._move("next",c);c.preventDefault();break;case f.ENTER:case f.NUMPAD_ENTER:if(a.menu.active){g=true;c.preventDefault()}case f.TAB:if(!a.menu.active)return;a.menu.select(c);break;case f.ESCAPE:a.element.val(a.term);a.close(c);break;default:clearTimeout(a.searching);a.searching=setTimeout(function(){if(a.term!=a.element.val()){a.selectedItem=
-null;a.search(null,c)}},a.options.delay);break}}}).bind("keypress.autocomplete",function(c){if(g){g=false;c.preventDefault()}}).bind("focus.autocomplete",function(){if(!a.options.disabled){a.selectedItem=null;a.previous=a.element.val()}}).bind("blur.autocomplete",function(c){if(!a.options.disabled){clearTimeout(a.searching);a.closing=setTimeout(function(){a.close(c);a._change(c)},150)}});this._initSource();this.response=function(){return a._response.apply(a,arguments)};this.menu=d("<ul></ul>").addClass("ui-autocomplete").appendTo(d(this.options.appendTo||
-"body",b)[0]).mousedown(function(c){var f=a.menu.element[0];d(c.target).closest(".ui-menu-item").length||setTimeout(function(){d(document).one("mousedown",function(h){h.target!==a.element[0]&&h.target!==f&&!d.ui.contains(f,h.target)&&a.close()})},1);setTimeout(function(){clearTimeout(a.closing)},13)}).menu({focus:function(c,f){f=f.item.data("item.autocomplete");false!==a._trigger("focus",c,{item:f})&&/^key/.test(c.originalEvent.type)&&a.element.val(f.value)},selected:function(c,f){var h=f.item.data("item.autocomplete"),
-i=a.previous;if(a.element[0]!==b.activeElement){a.element.focus();a.previous=i;setTimeout(function(){a.previous=i;a.selectedItem=h},1)}false!==a._trigger("select",c,{item:h})&&a.element.val(h.value);a.term=a.element.val();a.close(c);a.selectedItem=h},blur:function(){a.menu.element.is(":visible")&&a.element.val()!==a.term&&a.element.val(a.term)}}).zIndex(this.element.zIndex()+1).css({top:0,left:0}).hide().data("menu");d.fn.bgiframe&&this.menu.element.bgiframe()},destroy:function(){this.element.removeClass("ui-autocomplete-input").removeAttr("autocomplete").removeAttr("role").removeAttr("aria-autocomplete").removeAttr("aria-haspopup");
-this.menu.element.remove();d.Widget.prototype.destroy.call(this)},_setOption:function(a,b){d.Widget.prototype._setOption.apply(this,arguments);a==="source"&&this._initSource();if(a==="appendTo")this.menu.element.appendTo(d(b||"body",this.element[0].ownerDocument)[0]);a==="disabled"&&b&&this.xhr&&this.xhr.abort()},_initSource:function(){var a=this,b,g;if(d.isArray(this.options.source)){b=this.options.source;this.source=function(c,f){f(d.ui.autocomplete.filter(b,c.term))}}else if(typeof this.options.source===
-"string"){g=this.options.source;this.source=function(c,f){a.xhr&&a.xhr.abort();a.xhr=d.ajax({url:g,data:c,dataType:"json",autocompleteRequest:++e,success:function(h){this.autocompleteRequest===e&&f(h)},error:function(){this.autocompleteRequest===e&&f([])}})}}else this.source=this.options.source},search:function(a,b){a=a!=null?a:this.element.val();this.term=this.element.val();if(a.length<this.options.minLength)return this.close(b);clearTimeout(this.closing);if(this._trigger("search",b)!==false)return this._search(a)},
-_search:function(a){this.pending++;this.element.addClass("ui-autocomplete-loading");this.source({term:a},this.response)},_response:function(a){if(!this.options.disabled&&a&&a.length){a=this._normalize(a);this._suggest(a);this._trigger("open")}else this.close();this.pending--;this.pending||this.element.removeClass("ui-autocomplete-loading")},close:function(a){clearTimeout(this.closing);if(this.menu.element.is(":visible")){this.menu.element.hide();this.menu.deactivate();this._trigger("close",a)}},_change:function(a){this.previous!==
-this.element.val()&&this._trigger("change",a,{item:this.selectedItem})},_normalize:function(a){if(a.length&&a[0].label&&a[0].value)return a;return d.map(a,function(b){if(typeof b==="string")return{label:b,value:b};return d.extend({label:b.label||b.value,value:b.value||b.label},b)})},_suggest:function(a){var b=this.menu.element.empty().zIndex(this.element.zIndex()+1);this._renderMenu(b,a);this.menu.deactivate();this.menu.refresh();b.show();this._resizeMenu();b.position(d.extend({of:this.element},this.options.position))},
-_resizeMenu:function(){var a=this.menu.element;a.outerWidth(Math.max(a.width("").outerWidth(),this.element.outerWidth()))},_renderMenu:function(a,b){var g=this;d.each(b,function(c,f){g._renderItem(a,f)})},_renderItem:function(a,b){return d("<li></li>").data("item.autocomplete",b).append(d("<a></a>").text(b.label)).appendTo(a)},_move:function(a,b){if(this.menu.element.is(":visible"))if(this.menu.first()&&/^previous/.test(a)||this.menu.last()&&/^next/.test(a)){this.element.val(this.term);this.menu.deactivate()}else this.menu[a](b);
-else this.search(null,b)},widget:function(){return this.menu.element}});d.extend(d.ui.autocomplete,{escapeRegex:function(a){return a.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")},filter:function(a,b){var g=new RegExp(d.ui.autocomplete.escapeRegex(b),"i");return d.grep(a,function(c){return g.test(c.label||c.value||c)})}})})(jQuery);
+(function(d){var e=0;d.widget("ui.autocomplete",{options:{appendTo:"body",autoFocus:false,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null},pending:0,_create:function(){var a=this,b=this.element[0].ownerDocument,g;this.element.addClass("ui-autocomplete-input").attr("autocomplete","off").attr({role:"textbox","aria-autocomplete":"list","aria-haspopup":"true"}).bind("keydown.autocomplete",function(c){if(!(a.options.disabled||a.element.attr("readonly"))){g=
+false;var f=d.ui.keyCode;switch(c.keyCode){case f.PAGE_UP:a._move("previousPage",c);break;case f.PAGE_DOWN:a._move("nextPage",c);break;case f.UP:a._move("previous",c);c.preventDefault();break;case f.DOWN:a._move("next",c);c.preventDefault();break;case f.ENTER:case f.NUMPAD_ENTER:if(a.menu.active){g=true;c.preventDefault()}case f.TAB:if(!a.menu.active)return;a.menu.select(c);break;case f.ESCAPE:a.element.val(a.term);a.close(c);break;default:clearTimeout(a.searching);a.searching=setTimeout(function(){if(a.term!=
+a.element.val()){a.selectedItem=null;a.search(null,c)}},a.options.delay);break}}}).bind("keypress.autocomplete",function(c){if(g){g=false;c.preventDefault()}}).bind("focus.autocomplete",function(){if(!a.options.disabled){a.selectedItem=null;a.previous=a.element.val()}}).bind("blur.autocomplete",function(c){if(!a.options.disabled){clearTimeout(a.searching);a.closing=setTimeout(function(){a.close(c);a._change(c)},150)}});this._initSource();this.response=function(){return a._response.apply(a,arguments)};
+this.menu=d("<ul></ul>").addClass("ui-autocomplete").appendTo(d(this.options.appendTo||"body",b)[0]).mousedown(function(c){var f=a.menu.element[0];d(c.target).closest(".ui-menu-item").length||setTimeout(function(){d(document).one("mousedown",function(h){h.target!==a.element[0]&&h.target!==f&&!d.ui.contains(f,h.target)&&a.close()})},1);setTimeout(function(){clearTimeout(a.closing)},13)}).menu({focus:function(c,f){f=f.item.data("item.autocomplete");false!==a._trigger("focus",c,{item:f})&&/^key/.test(c.originalEvent.type)&&
+a.element.val(f.value)},selected:function(c,f){var h=f.item.data("item.autocomplete"),i=a.previous;if(a.element[0]!==b.activeElement){a.element.focus();a.previous=i;setTimeout(function(){a.previous=i;a.selectedItem=h},1)}false!==a._trigger("select",c,{item:h})&&a.element.val(h.value);a.term=a.element.val();a.close(c);a.selectedItem=h},blur:function(){a.menu.element.is(":visible")&&a.element.val()!==a.term&&a.element.val(a.term)}}).zIndex(this.element.zIndex()+1).css({top:0,left:0}).hide().data("menu");
+d.fn.bgiframe&&this.menu.element.bgiframe()},destroy:function(){this.element.removeClass("ui-autocomplete-input").removeAttr("autocomplete").removeAttr("role").removeAttr("aria-autocomplete").removeAttr("aria-haspopup");this.menu.element.remove();d.Widget.prototype.destroy.call(this)},_setOption:function(a,b){d.Widget.prototype._setOption.apply(this,arguments);a==="source"&&this._initSource();if(a==="appendTo")this.menu.element.appendTo(d(b||"body",this.element[0].ownerDocument)[0]);a==="disabled"&&
+b&&this.xhr&&this.xhr.abort()},_initSource:function(){var a=this,b,g;if(d.isArray(this.options.source)){b=this.options.source;this.source=function(c,f){f(d.ui.autocomplete.filter(b,c.term))}}else if(typeof this.options.source==="string"){g=this.options.source;this.source=function(c,f){a.xhr&&a.xhr.abort();a.xhr=d.ajax({url:g,data:c,dataType:"json",autocompleteRequest:++e,success:function(h){this.autocompleteRequest===e&&f(h)},error:function(){this.autocompleteRequest===e&&f([])}})}}else this.source=
+this.options.source},search:function(a,b){a=a!=null?a:this.element.val();this.term=this.element.val();if(a.length<this.options.minLength)return this.close(b);clearTimeout(this.closing);if(this._trigger("search",b)!==false)return this._search(a)},_search:function(a){this.pending++;this.element.addClass("ui-autocomplete-loading");this.source({term:a},this.response)},_response:function(a){if(!this.options.disabled&&a&&a.length){a=this._normalize(a);this._suggest(a);this._trigger("open")}else this.close();
+this.pending--;this.pending||this.element.removeClass("ui-autocomplete-loading")},close:function(a){clearTimeout(this.closing);if(this.menu.element.is(":visible")){this.menu.element.hide();this.menu.deactivate();this._trigger("close",a)}},_change:function(a){this.previous!==this.element.val()&&this._trigger("change",a,{item:this.selectedItem})},_normalize:function(a){if(a.length&&a[0].label&&a[0].value)return a;return d.map(a,function(b){if(typeof b==="string")return{label:b,value:b};return d.extend({label:b.label||
+b.value,value:b.value||b.label},b)})},_suggest:function(a){var b=this.menu.element.empty().zIndex(this.element.zIndex()+1);this._renderMenu(b,a);this.menu.deactivate();this.menu.refresh();b.show();this._resizeMenu();b.position(d.extend({of:this.element},this.options.position));this.options.autoFocus&&this.menu.next(new d.Event("mouseover"))},_resizeMenu:function(){var a=this.menu.element;a.outerWidth(Math.max(a.width("").outerWidth(),this.element.outerWidth()))},_renderMenu:function(a,b){var g=this;
+d.each(b,function(c,f){g._renderItem(a,f)})},_renderItem:function(a,b){return d("<li></li>").data("item.autocomplete",b).append(d("<a></a>").text(b.label)).appendTo(a)},_move:function(a,b){if(this.menu.element.is(":visible"))if(this.menu.first()&&/^previous/.test(a)||this.menu.last()&&/^next/.test(a)){this.element.val(this.term);this.menu.deactivate()}else this.menu[a](b);else this.search(null,b)},widget:function(){return this.menu.element}});d.extend(d.ui.autocomplete,{escapeRegex:function(a){return a.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,
+"\\$&")},filter:function(a,b){var g=new RegExp(d.ui.autocomplete.escapeRegex(b),"i");return d.grep(a,function(c){return g.test(c.label||c.value||c)})}})})(jQuery);
 (function(d){d.widget("ui.menu",{_create:function(){var e=this;this.element.addClass("ui-menu ui-widget ui-widget-content ui-corner-all").attr({role:"listbox","aria-activedescendant":"ui-active-menuitem"}).click(function(a){if(d(a.target).closest(".ui-menu-item a").length){a.preventDefault();e.select(a)}});this.refresh()},refresh:function(){var e=this;this.element.children("li:not(.ui-menu-item):has(a)").addClass("ui-menu-item").attr("role","menuitem").children("a").addClass("ui-corner-all").attr("tabindex",
 -1).mouseenter(function(a){e.activate(a,d(this).parent())}).mouseleave(function(){e.deactivate()})},activate:function(e,a){this.deactivate();if(this.hasScroll()){var b=a.offset().top-this.element.offset().top,g=this.element.attr("scrollTop"),c=this.element.height();if(b<0)this.element.attr("scrollTop",g+b);else b>=c&&this.element.attr("scrollTop",g+b-c+a.height())}this.active=a.eq(0).children("a").addClass("ui-state-hover").attr("id","ui-active-menuitem").end();this._trigger("focus",e,{item:a})},
 deactivate:function(){if(this.active){this.active.children("a").removeClass("ui-state-hover").removeAttr("id");this._trigger("blur");this.active=null}},next:function(e){this.move("next",".ui-menu-item:first",e)},previous:function(e){this.move("prev",".ui-menu-item:last",e)},first:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},last:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},move:function(e,a,b){if(this.active){e=this.active[e+"All"](".ui-menu-item").eq(0);
@@ -330,7 +331,7 @@ e.length?this.activate(b,e):this.activate(b,this.element.children(a))}else this.
 g)}else this.activate(e,this.element.children(".ui-menu-item").filter(!this.active||this.last()?":first":":last"))},previousPage:function(e){if(this.hasScroll())if(!this.active||this.first())this.activate(e,this.element.children(".ui-menu-item:last"));else{var a=this.active.offset().top,b=this.element.height();result=this.element.children(".ui-menu-item").filter(function(){var g=d(this).offset().top-a+b-d(this).height();return g<10&&g>-10});result.length||(result=this.element.children(".ui-menu-item:first"));
 this.activate(e,result)}else this.activate(e,this.element.children(".ui-menu-item").filter(!this.active||this.first()?":last":":first"))},hasScroll:function(){return this.element.height()<this.element.attr("scrollHeight")},select:function(e){this._trigger("selected",e,{item:this.active})}})})(jQuery);
 ;/*
- * jQuery UI Button 1.8.10
+ * jQuery UI Button 1.8.11
  *
  * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
  * Dual licensed under the MIT or GPL Version 2 licenses.
@@ -347,16 +348,15 @@ i);if(typeof this.options.disabled!=="boolean")this.options.disabled=this.elemen
 function(){if(!c.disabled){a(this).addClass("ui-state-hover");this===g&&a(this).addClass("ui-state-active")}}).bind("mouseleave.button",function(){c.disabled||a(this).removeClass(f)}).bind("focus.button",function(){a(this).addClass("ui-state-focus")}).bind("blur.button",function(){a(this).removeClass("ui-state-focus")});d&&this.element.bind("change.button",function(){b.refresh()});if(this.type==="checkbox")this.buttonElement.bind("click.button",function(){if(c.disabled)return false;a(this).toggleClass("ui-state-active");
 b.buttonElement.attr("aria-pressed",b.element[0].checked)});else if(this.type==="radio")this.buttonElement.bind("click.button",function(){if(c.disabled)return false;a(this).addClass("ui-state-active");b.buttonElement.attr("aria-pressed",true);var e=b.element[0];h(e).not(e).map(function(){return a(this).button("widget")[0]}).removeClass("ui-state-active").attr("aria-pressed",false)});else{this.buttonElement.bind("mousedown.button",function(){if(c.disabled)return false;a(this).addClass("ui-state-active");
 g=this;a(document).one("mouseup",function(){g=null})}).bind("mouseup.button",function(){if(c.disabled)return false;a(this).removeClass("ui-state-active")}).bind("keydown.button",function(e){if(c.disabled)return false;if(e.keyCode==a.ui.keyCode.SPACE||e.keyCode==a.ui.keyCode.ENTER)a(this).addClass("ui-state-active")}).bind("keyup.button",function(){a(this).removeClass("ui-state-active")});this.buttonElement.is("a")&&this.buttonElement.keyup(function(e){e.keyCode===a.ui.keyCode.SPACE&&a(this).click()})}this._setOption("disabled",
-c.disabled)},_determineButtonType:function(){this.type=this.element.is(":checkbox")?"checkbox":this.element.is(":radio")?"radio":this.element.is("input")?"input":"button";if(this.type==="checkbox"||this.type==="radio"){this.buttonElement=this.element.parents().last().find("label[for="+this.element.attr("id")+"]");this.element.addClass("ui-helper-hidden-accessible");var b=this.element.is(":checked");b&&this.buttonElement.addClass("ui-state-active");this.buttonElement.attr("aria-pressed",b)}else this.buttonElement=
-this.element},widget:function(){return this.buttonElement},destroy:function(){this.element.removeClass("ui-helper-hidden-accessible");this.buttonElement.removeClass("ui-button ui-widget ui-state-default ui-corner-all ui-state-hover ui-state-active  ui-button-icons-only ui-button-icon-only ui-button-text-icons ui-button-text-icon-primary ui-button-text-icon-secondary ui-button-text-only").removeAttr("role").removeAttr("aria-pressed").html(this.buttonElement.find(".ui-button-text").html());this.hasTitle||
-this.buttonElement.removeAttr("title");a.Widget.prototype.destroy.call(this)},_setOption:function(b,c){a.Widget.prototype._setOption.apply(this,arguments);if(b==="disabled")c?this.element.attr("disabled",true):this.element.removeAttr("disabled");this._resetButton()},refresh:function(){var b=this.element.is(":disabled");b!==this.options.disabled&&this._setOption("disabled",b);if(this.type==="radio")h(this.element[0]).each(function(){a(this).is(":checked")?a(this).button("widget").addClass("ui-state-active").attr("aria-pressed",
+c.disabled)},_determineButtonType:function(){this.type=this.element.is(":checkbox")?"checkbox":this.element.is(":radio")?"radio":this.element.is("input")?"input":"button";if(this.type==="checkbox"||this.type==="radio"){var b=this.element.parents().filter(":last"),c="label[for="+this.element.attr("id")+"]";this.buttonElement=b.find(c);if(!this.buttonElement.length){b=b.length?b.siblings():this.element.siblings();this.buttonElement=b.filter(c);if(!this.buttonElement.length)this.buttonElement=b.find(c)}this.element.addClass("ui-helper-hidden-accessible");
+(b=this.element.is(":checked"))&&this.buttonElement.addClass("ui-state-active");this.buttonElement.attr("aria-pressed",b)}else this.buttonElement=this.element},widget:function(){return this.buttonElement},destroy:function(){this.element.removeClass("ui-helper-hidden-accessible");this.buttonElement.removeClass("ui-button ui-widget ui-state-default ui-corner-all ui-state-hover ui-state-active  ui-button-icons-only ui-button-icon-only ui-button-text-icons ui-button-text-icon-primary ui-button-text-icon-secondary ui-button-text-only").removeAttr("role").removeAttr("aria-pressed").html(this.buttonElement.find(".ui-button-text").html());
+this.hasTitle||this.buttonElement.removeAttr("title");a.Widget.prototype.destroy.call(this)},_setOption:function(b,c){a.Widget.prototype._setOption.apply(this,arguments);if(b==="disabled")c?this.element.attr("disabled",true):this.element.removeAttr("disabled");this._resetButton()},refresh:function(){var b=this.element.is(":disabled");b!==this.options.disabled&&this._setOption("disabled",b);if(this.type==="radio")h(this.element[0]).each(function(){a(this).is(":checked")?a(this).button("widget").addClass("ui-state-active").attr("aria-pressed",
 true):a(this).button("widget").removeClass("ui-state-active").attr("aria-pressed",false)});else if(this.type==="checkbox")this.element.is(":checked")?this.buttonElement.addClass("ui-state-active").attr("aria-pressed",true):this.buttonElement.removeClass("ui-state-active").attr("aria-pressed",false)},_resetButton:function(){if(this.type==="input")this.options.label&&this.element.val(this.options.label);else{var b=this.buttonElement.removeClass("ui-button-icons-only ui-button-icon-only ui-button-text-icons ui-button-text-icon-primary ui-button-text-icon-secondary ui-button-text-only"),
-c=a("<span></span>").addClass("ui-button-text").html(this.options.label).appendTo(b.empty()).text(),d=this.options.icons,f=d.primary&&d.secondary,e=[];if(d.primary||d.secondary){e.push("ui-button-text-icon"+(f?"s":d.primary?"-primary":"-secondary"));d.primary&&b.prepend("<span class='ui-button-icon-primary ui-icon "+d.primary+"'></span>");d.secondary&&b.append("<span class='ui-button-icon-secondary ui-icon "+d.secondary+"'></span>");if(!this.options.text){e.push(f?"ui-button-icons-only":"ui-button-icon-only");
-b.removeClass("ui-button-text-icons ui-button-text-icon-primary ui-button-text-icon-secondary");this.hasTitle||b.attr("title",c)}}else e.push("ui-button-text-only");b.addClass(e.join(" "))}}});a.widget("ui.buttonset",{options:{items:":button, :submit, :reset, :checkbox, :radio, a, :data(button)"},_create:function(){this.element.addClass("ui-buttonset")},_init:function(){this.refresh()},_setOption:function(b,c){b==="disabled"&&this.buttons.button("option",b,c);a.Widget.prototype._setOption.apply(this,
-arguments)},refresh:function(){this.buttons=this.element.find(this.options.items).filter(":ui-button").button("refresh").end().not(":ui-button").button().end().map(function(){return a(this).button("widget")[0]}).removeClass("ui-corner-all ui-corner-left ui-corner-right").filter(":first").addClass("ui-corner-left").end().filter(":last").addClass("ui-corner-right").end().end()},destroy:function(){this.element.removeClass("ui-buttonset");this.buttons.map(function(){return a(this).button("widget")[0]}).removeClass("ui-corner-left ui-corner-right").end().button("destroy");
-a.Widget.prototype.destroy.call(this)}})})(jQuery);
+c=a("<span></span>").addClass("ui-button-text").html(this.options.label).appendTo(b.empty()).text(),d=this.options.icons,f=d.primary&&d.secondary,e=[];if(d.primary||d.secondary){if(this.options.text)e.push("ui-button-text-icon"+(f?"s":d.primary?"-primary":"-secondary"));d.primary&&b.prepend("<span class='ui-button-icon-primary ui-icon "+d.primary+"'></span>");d.secondary&&b.append("<span class='ui-button-icon-secondary ui-icon "+d.secondary+"'></span>");if(!this.options.text){e.push(f?"ui-button-icons-only":
+"ui-button-icon-only");this.hasTitle||b.attr("title",c)}}else e.push("ui-button-text-only");b.addClass(e.join(" "))}}});a.widget("ui.buttonset",{options:{items:":button, :submit, :reset, :checkbox, :radio, a, :data(button)"},_create:function(){this.element.addClass("ui-buttonset")},_init:function(){this.refresh()},_setOption:function(b,c){b==="disabled"&&this.buttons.button("option",b,c);a.Widget.prototype._setOption.apply(this,arguments)},refresh:function(){this.buttons=this.element.find(this.options.items).filter(":ui-button").button("refresh").end().not(":ui-button").button().end().map(function(){return a(this).button("widget")[0]}).removeClass("ui-corner-all ui-corner-left ui-corner-right").filter(":first").addClass("ui-corner-left").end().filter(":last").addClass("ui-corner-right").end().end()},
+destroy:function(){this.element.removeClass("ui-buttonset");this.buttons.map(function(){return a(this).button("widget")[0]}).removeClass("ui-corner-left ui-corner-right").end().button("destroy");a.Widget.prototype.destroy.call(this)}})})(jQuery);
 ;/*
- * jQuery UI Dialog 1.8.10
+ * jQuery UI Dialog 1.8.11
  *
  * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
  * Dual licensed under the MIT or GPL Version 2 licenses.
@@ -390,13 +390,13 @@ h){c(this).removeClass("ui-dialog-resizing");e.height=c(this).height();e.width=c
 l)d[g]=f});e&&this._size();this.uiDialog.is(":data(resizable)")&&this.uiDialog.resizable("option",d)},_setOption:function(a,b){var d=this,e=d.uiDialog;switch(a){case "beforeclose":a="beforeClose";break;case "buttons":d._createButtons(b);break;case "closeText":d.uiDialogTitlebarCloseText.text(""+b);break;case "dialogClass":e.removeClass(d.options.dialogClass).addClass("ui-dialog ui-widget ui-widget-content ui-corner-all "+b);break;case "disabled":b?e.addClass("ui-dialog-disabled"):e.removeClass("ui-dialog-disabled");
 break;case "draggable":var g=e.is(":data(draggable)");g&&!b&&e.draggable("destroy");!g&&b&&d._makeDraggable();break;case "position":d._position(b);break;case "resizable":(g=e.is(":data(resizable)"))&&!b&&e.resizable("destroy");g&&typeof b==="string"&&e.resizable("option","handles",b);!g&&b!==false&&d._makeResizable(b);break;case "title":c(".ui-dialog-title",d.uiDialogTitlebar).html(""+(b||"&#160;"));break}c.Widget.prototype._setOption.apply(d,arguments)},_size:function(){var a=this.options,b,d,e=
 this.uiDialog.is(":visible");this.element.show().css({width:"auto",minHeight:0,height:0});if(a.minWidth>a.width)a.width=a.minWidth;b=this.uiDialog.css({height:"auto",width:a.width}).height();d=Math.max(0,a.minHeight-b);if(a.height==="auto")if(c.support.minHeight)this.element.css({minHeight:d,height:"auto"});else{this.uiDialog.show();a=this.element.css("height","auto").height();e||this.uiDialog.hide();this.element.height(Math.max(a,d))}else this.element.height(Math.max(a.height-b,0));this.uiDialog.is(":data(resizable)")&&
-this.uiDialog.resizable("option","minHeight",this._minHeight())}});c.extend(c.ui.dialog,{version:"1.8.10",uuid:0,maxZ:0,getTitleId:function(a){a=a.attr("id");if(!a){this.uuid+=1;a=this.uuid}return"ui-dialog-title-"+a},overlay:function(a){this.$el=c.ui.dialog.overlay.create(a)}});c.extend(c.ui.dialog.overlay,{instances:[],oldInstances:[],maxZ:0,events:c.map("focus,mousedown,mouseup,keydown,keypress,click".split(","),function(a){return a+".dialog-overlay"}).join(" "),create:function(a){if(this.instances.length===
+this.uiDialog.resizable("option","minHeight",this._minHeight())}});c.extend(c.ui.dialog,{version:"1.8.11",uuid:0,maxZ:0,getTitleId:function(a){a=a.attr("id");if(!a){this.uuid+=1;a=this.uuid}return"ui-dialog-title-"+a},overlay:function(a){this.$el=c.ui.dialog.overlay.create(a)}});c.extend(c.ui.dialog.overlay,{instances:[],oldInstances:[],maxZ:0,events:c.map("focus,mousedown,mouseup,keydown,keypress,click".split(","),function(a){return a+".dialog-overlay"}).join(" "),create:function(a){if(this.instances.length===
 0){setTimeout(function(){c.ui.dialog.overlay.instances.length&&c(document).bind(c.ui.dialog.overlay.events,function(d){if(c(d.target).zIndex()<c.ui.dialog.overlay.maxZ)return false})},1);c(document).bind("keydown.dialog-overlay",function(d){if(a.options.closeOnEscape&&d.keyCode&&d.keyCode===c.ui.keyCode.ESCAPE){a.close(d);d.preventDefault()}});c(window).bind("resize.dialog-overlay",c.ui.dialog.overlay.resize)}var b=(this.oldInstances.pop()||c("<div></div>").addClass("ui-widget-overlay")).appendTo(document.body).css({width:this.width(),
 height:this.height()});c.fn.bgiframe&&b.bgiframe();this.instances.push(b);return b},destroy:function(a){var b=c.inArray(a,this.instances);b!=-1&&this.oldInstances.push(this.instances.splice(b,1)[0]);this.instances.length===0&&c([document,window]).unbind(".dialog-overlay");a.remove();var d=0;c.each(this.instances,function(){d=Math.max(d,this.css("z-index"))});this.maxZ=d},height:function(){var a,b;if(c.browser.msie&&c.browser.version<7){a=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);
 b=Math.max(document.documentElement.offsetHeight,document.body.offsetHeight);return a<b?c(window).height()+"px":a+"px"}else return c(document).height()+"px"},width:function(){var a,b;if(c.browser.msie&&c.browser.version<7){a=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth);b=Math.max(document.documentElement.offsetWidth,document.body.offsetWidth);return a<b?c(window).width()+"px":a+"px"}else return c(document).width()+"px"},resize:function(){var a=c([]);c.each(c.ui.dialog.overlay.instances,
 function(){a=a.add(this)});a.css({width:0,height:0}).css({width:c.ui.dialog.overlay.width(),height:c.ui.dialog.overlay.height()})}});c.extend(c.ui.dialog.overlay.prototype,{destroy:function(){c.ui.dialog.overlay.destroy(this.$el)}})})(jQuery);
 ;/*
- * jQuery UI Slider 1.8.10
+ * jQuery UI Slider 1.8.11
  *
  * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
  * Dual licensed under the MIT or GPL Version 2 licenses.
@@ -427,9 +427,9 @@ this.element.removeClass("ui-slider-horizontal ui-slider-vertical").addClass("ui
 return a=this._trimAlignValue(a)}else{a=this.options.values.slice();for(c=0;c<a.length;c+=1)a[c]=this._trimAlignValue(a[c]);return a}},_trimAlignValue:function(b){if(b<=this._valueMin())return this._valueMin();if(b>=this._valueMax())return this._valueMax();var a=this.options.step>0?this.options.step:1,c=(b-this._valueMin())%a;alignValue=b-c;if(Math.abs(c)*2>=a)alignValue+=c>0?a:-a;return parseFloat(alignValue.toFixed(5))},_valueMin:function(){return this.options.min},_valueMax:function(){return this.options.max},
 _refreshValue:function(){var b=this.options.range,a=this.options,c=this,e=!this._animateOff?a.animate:false,f,h={},g,i,j,l;if(this.options.values&&this.options.values.length)this.handles.each(function(k){f=(c.values(k)-c._valueMin())/(c._valueMax()-c._valueMin())*100;h[c.orientation==="horizontal"?"left":"bottom"]=f+"%";d(this).stop(1,1)[e?"animate":"css"](h,a.animate);if(c.options.range===true)if(c.orientation==="horizontal"){if(k===0)c.range.stop(1,1)[e?"animate":"css"]({left:f+"%"},a.animate);
 if(k===1)c.range[e?"animate":"css"]({width:f-g+"%"},{queue:false,duration:a.animate})}else{if(k===0)c.range.stop(1,1)[e?"animate":"css"]({bottom:f+"%"},a.animate);if(k===1)c.range[e?"animate":"css"]({height:f-g+"%"},{queue:false,duration:a.animate})}g=f});else{i=this.value();j=this._valueMin();l=this._valueMax();f=l!==j?(i-j)/(l-j)*100:0;h[c.orientation==="horizontal"?"left":"bottom"]=f+"%";this.handle.stop(1,1)[e?"animate":"css"](h,a.animate);if(b==="min"&&this.orientation==="horizontal")this.range.stop(1,
-1)[e?"animate":"css"]({width:f+"%"},a.animate);if(b==="max"&&this.orientation==="horizontal")this.range[e?"animate":"css"]({width:100-f+"%"},{queue:false,duration:a.animate});if(b==="min"&&this.orientation==="vertical")this.range.stop(1,1)[e?"animate":"css"]({height:f+"%"},a.animate);if(b==="max"&&this.orientation==="vertical")this.range[e?"animate":"css"]({height:100-f+"%"},{queue:false,duration:a.animate})}}});d.extend(d.ui.slider,{version:"1.8.10"})})(jQuery);
+1)[e?"animate":"css"]({width:f+"%"},a.animate);if(b==="max"&&this.orientation==="horizontal")this.range[e?"animate":"css"]({width:100-f+"%"},{queue:false,duration:a.animate});if(b==="min"&&this.orientation==="vertical")this.range.stop(1,1)[e?"animate":"css"]({height:f+"%"},a.animate);if(b==="max"&&this.orientation==="vertical")this.range[e?"animate":"css"]({height:100-f+"%"},{queue:false,duration:a.animate})}}});d.extend(d.ui.slider,{version:"1.8.11"})})(jQuery);
 ;/*
- * jQuery UI Tabs 1.8.10
+ * jQuery UI Tabs 1.8.11
  *
  * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
  * Dual licensed under the MIT or GPL Version 2 licenses.
@@ -461,10 +461,10 @@ if(a.hasClass("ui-tabs-selected")&&this.anchors.length>1)this.select(b+(b+1<this
 this._ui(this.anchors[b],this.panels[b]));return this}},disable:function(b){b=this._getIndex(b);var e=this.options;if(b!=e.selected){this.lis.eq(b).addClass("ui-state-disabled");e.disabled.push(b);e.disabled.sort();this._trigger("disable",null,this._ui(this.anchors[b],this.panels[b]))}return this},select:function(b){b=this._getIndex(b);if(b==-1)if(this.options.collapsible&&this.options.selected!=-1)b=this.options.selected;else return this;this.anchors.eq(b).trigger(this.options.event+".tabs");return this},
 load:function(b){b=this._getIndex(b);var e=this,a=this.options,c=this.anchors.eq(b)[0],h=d.data(c,"load.tabs");this.abort();if(!h||this.element.queue("tabs").length!==0&&d.data(c,"cache.tabs"))this.element.dequeue("tabs");else{this.lis.eq(b).addClass("ui-state-processing");if(a.spinner){var j=d("span",c);j.data("label.tabs",j.html()).html(a.spinner)}this.xhr=d.ajax(d.extend({},a.ajaxOptions,{url:h,success:function(k,n){e.element.find(e._sanitizeSelector(c.hash)).html(k);e._cleanup();a.cache&&d.data(c,
 "cache.tabs",true);e._trigger("load",null,e._ui(e.anchors[b],e.panels[b]));try{a.ajaxOptions.success(k,n)}catch(m){}},error:function(k,n){e._cleanup();e._trigger("load",null,e._ui(e.anchors[b],e.panels[b]));try{a.ajaxOptions.error(k,n,b,c)}catch(m){}}}));e.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(b,e){this.anchors.eq(b).removeData("cache.tabs").data("load.tabs",e);return this},length:function(){return this.anchors.length}});d.extend(d.ui.tabs,{version:"1.8.10"});d.extend(d.ui.tabs.prototype,{rotation:null,rotate:function(b,e){var a=this,c=this.options,h=a._rotate||(a._rotate=function(j){clearTimeout(a.rotation);a.rotation=setTimeout(function(){var k=c.selected;a.select(++k<a.anchors.length?k:0)},b);j&&j.stopPropagation()});e=a._unrotate||(a._unrotate=!e?function(j){j.clientX&&
+url:function(b,e){this.anchors.eq(b).removeData("cache.tabs").data("load.tabs",e);return this},length:function(){return this.anchors.length}});d.extend(d.ui.tabs,{version:"1.8.11"});d.extend(d.ui.tabs.prototype,{rotation:null,rotate:function(b,e){var a=this,c=this.options,h=a._rotate||(a._rotate=function(j){clearTimeout(a.rotation);a.rotation=setTimeout(function(){var k=c.selected;a.select(++k<a.anchors.length?k:0)},b);j&&j.stopPropagation()});e=a._unrotate||(a._unrotate=!e?function(j){j.clientX&&
 a.rotate(null)}:function(){t=c.selected;h()});if(b){this.element.bind("tabsshow",h);this.anchors.bind(c.event+".tabs",e);h()}else{clearTimeout(a.rotation);this.element.unbind("tabsshow",h);this.anchors.unbind(c.event+".tabs",e);delete this._rotate;delete this._unrotate}return this}})})(jQuery);
 ;/*
- * jQuery UI Datepicker 1.8.10
+ * jQuery UI Datepicker 1.8.11
  *
  * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
  * Dual licensed under the MIT or GPL Version 2 licenses.
@@ -475,51 +475,52 @@ a.rotate(null)}:function(){t=c.selected;h()});if(b){this.element.bind("tabsshow"
  * Depends:
  *	jquery.ui.core.js
  */
-(function(d,G){function K(){this.debug=false;this._curInst=null;this._keyEvent=false;this._disabledInputs=[];this._inDialog=this._datepickerShowing=false;this._mainDivId="ui-datepicker-div";this._inlineClass="ui-datepicker-inline";this._appendClass="ui-datepicker-append";this._triggerClass="ui-datepicker-trigger";this._dialogClass="ui-datepicker-dialog";this._disableClass="ui-datepicker-disabled";this._unselectableClass="ui-datepicker-unselectable";this._currentClass="ui-datepicker-current-day";this._dayOverClass=
+(function(d,A){function K(){this.debug=false;this._curInst=null;this._keyEvent=false;this._disabledInputs=[];this._inDialog=this._datepickerShowing=false;this._mainDivId="ui-datepicker-div";this._inlineClass="ui-datepicker-inline";this._appendClass="ui-datepicker-append";this._triggerClass="ui-datepicker-trigger";this._dialogClass="ui-datepicker-dialog";this._disableClass="ui-datepicker-disabled";this._unselectableClass="ui-datepicker-unselectable";this._currentClass="ui-datepicker-current-day";this._dayOverClass=
 "ui-datepicker-days-cell-over";this.regional=[];this.regional[""]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su",
 "Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"mm/dd/yy",firstDay:0,isRTL:false,showMonthAfterYear:false,yearSuffix:""};this._defaults={showOn:"focus",showAnim:"fadeIn",showOptions:{},defaultDate:null,appendText:"",buttonText:"...",buttonImage:"",buttonImageOnly:false,hideIfNoPrevNext:false,navigationAsDateFormat:false,gotoCurrent:false,changeMonth:false,changeYear:false,yearRange:"c-10:c+10",showOtherMonths:false,selectOtherMonths:false,showWeek:false,calculateWeek:this.iso8601Week,shortYearCutoff:"+10",
-minDate:null,maxDate:null,duration:"fast",beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:"",altFormat:"",constrainInput:true,showButtonPanel:false,autoSize:false};d.extend(this._defaults,this.regional[""]);this.dpDiv=d('<div id="'+this._mainDivId+'" class="ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all"></div>')}function E(a,b){d.extend(a,b);for(var c in b)if(b[c]==
-null||b[c]==G)a[c]=b[c];return a}d.extend(d.ui,{datepicker:{version:"1.8.10"}});var y=(new Date).getTime();d.extend(K.prototype,{markerClassName:"hasDatepicker",log:function(){this.debug&&console.log.apply("",arguments)},_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(a){E(this._defaults,a||{});return this},_attachDatepicker:function(a,b){var c=null;for(var e in this._defaults){var f=a.getAttribute("date:"+e);if(f){c=c||{};try{c[e]=eval(f)}catch(h){c[e]=f}}}e=a.nodeName.toLowerCase();
+minDate:null,maxDate:null,duration:"fast",beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:"",altFormat:"",constrainInput:true,showButtonPanel:false,autoSize:false};d.extend(this._defaults,this.regional[""]);this.dpDiv=d('<div id="'+this._mainDivId+'" class="ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all"></div>')}function F(a,b){d.extend(a,b);for(var c in b)if(b[c]==
+null||b[c]==A)a[c]=b[c];return a}d.extend(d.ui,{datepicker:{version:"1.8.11"}});var y=(new Date).getTime();d.extend(K.prototype,{markerClassName:"hasDatepicker",log:function(){this.debug&&console.log.apply("",arguments)},_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(a){F(this._defaults,a||{});return this},_attachDatepicker:function(a,b){var c=null;for(var e in this._defaults){var f=a.getAttribute("date:"+e);if(f){c=c||{};try{c[e]=eval(f)}catch(h){c[e]=f}}}e=a.nodeName.toLowerCase();
 f=e=="div"||e=="span";if(!a.id){this.uuid+=1;a.id="dp"+this.uuid}var i=this._newInst(d(a),f);i.settings=d.extend({},b||{},c||{});if(e=="input")this._connectDatepicker(a,i);else f&&this._inlineDatepicker(a,i)},_newInst:function(a,b){return{id:a[0].id.replace(/([^A-Za-z0-9_-])/g,"\\\\$1"),input:a,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:b,dpDiv:!b?this.dpDiv:d('<div class="'+this._inlineClass+' ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all"></div>')}},
 _connectDatepicker:function(a,b){var c=d(a);b.append=d([]);b.trigger=d([]);if(!c.hasClass(this.markerClassName)){this._attachments(c,b);c.addClass(this.markerClassName).keydown(this._doKeyDown).keypress(this._doKeyPress).keyup(this._doKeyUp).bind("setData.datepicker",function(e,f,h){b.settings[f]=h}).bind("getData.datepicker",function(e,f){return this._get(b,f)});this._autoSize(b);d.data(a,"datepicker",b)}},_attachments:function(a,b){var c=this._get(b,"appendText"),e=this._get(b,"isRTL");b.append&&
 b.append.remove();if(c){b.append=d('<span class="'+this._appendClass+'">'+c+"</span>");a[e?"before":"after"](b.append)}a.unbind("focus",this._showDatepicker);b.trigger&&b.trigger.remove();c=this._get(b,"showOn");if(c=="focus"||c=="both")a.focus(this._showDatepicker);if(c=="button"||c=="both"){c=this._get(b,"buttonText");var f=this._get(b,"buttonImage");b.trigger=d(this._get(b,"buttonImageOnly")?d("<img/>").addClass(this._triggerClass).attr({src:f,alt:c,title:c}):d('<button type="button"></button>').addClass(this._triggerClass).html(f==
 ""?c:d("<img/>").attr({src:f,alt:c,title:c})));a[e?"before":"after"](b.trigger);b.trigger.click(function(){d.datepicker._datepickerShowing&&d.datepicker._lastInput==a[0]?d.datepicker._hideDatepicker():d.datepicker._showDatepicker(a[0]);return false})}},_autoSize:function(a){if(this._get(a,"autoSize")&&!a.inline){var b=new Date(2009,11,20),c=this._get(a,"dateFormat");if(c.match(/[DM]/)){var e=function(f){for(var h=0,i=0,g=0;g<f.length;g++)if(f[g].length>h){h=f[g].length;i=g}return i};b.setMonth(e(this._get(a,
 c.match(/MM/)?"monthNames":"monthNamesShort")));b.setDate(e(this._get(a,c.match(/DD/)?"dayNames":"dayNamesShort"))+20-b.getDay())}a.input.attr("size",this._formatDate(a,b).length)}},_inlineDatepicker:function(a,b){var c=d(a);if(!c.hasClass(this.markerClassName)){c.addClass(this.markerClassName).append(b.dpDiv).bind("setData.datepicker",function(e,f,h){b.settings[f]=h}).bind("getData.datepicker",function(e,f){return this._get(b,f)});d.data(a,"datepicker",b);this._setDate(b,this._getDefaultDate(b),
-true);this._updateDatepicker(b);this._updateAlternate(b);b.dpDiv.show()}},_dialogDatepicker:function(a,b,c,e,f){a=this._dialogInst;if(!a){this.uuid+=1;this._dialogInput=d('<input type="text" id="'+("dp"+this.uuid)+'" style="position: absolute; top: -100px; width: 0px; z-index: -10;"/>');this._dialogInput.keydown(this._doKeyDown);d("body").append(this._dialogInput);a=this._dialogInst=this._newInst(this._dialogInput,false);a.settings={};d.data(this._dialogInput[0],"datepicker",a)}E(a.settings,e||{});
+true);this._updateDatepicker(b);this._updateAlternate(b);b.dpDiv.show()}},_dialogDatepicker:function(a,b,c,e,f){a=this._dialogInst;if(!a){this.uuid+=1;this._dialogInput=d('<input type="text" id="'+("dp"+this.uuid)+'" style="position: absolute; top: -100px; width: 0px; z-index: -10;"/>');this._dialogInput.keydown(this._doKeyDown);d("body").append(this._dialogInput);a=this._dialogInst=this._newInst(this._dialogInput,false);a.settings={};d.data(this._dialogInput[0],"datepicker",a)}F(a.settings,e||{});
 b=b&&b.constructor==Date?this._formatDate(a,b):b;this._dialogInput.val(b);this._pos=f?f.length?f:[f.pageX,f.pageY]:null;if(!this._pos)this._pos=[document.documentElement.clientWidth/2-100+(document.documentElement.scrollLeft||document.body.scrollLeft),document.documentElement.clientHeight/2-150+(document.documentElement.scrollTop||document.body.scrollTop)];this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px");a.settings.onSelect=c;this._inDialog=true;this.dpDiv.addClass(this._dialogClass);
 this._showDatepicker(this._dialogInput[0]);d.blockUI&&d.blockUI(this.dpDiv);d.data(this._dialogInput[0],"datepicker",a);return this},_destroyDatepicker:function(a){var b=d(a),c=d.data(a,"datepicker");if(b.hasClass(this.markerClassName)){var e=a.nodeName.toLowerCase();d.removeData(a,"datepicker");if(e=="input"){c.append.remove();c.trigger.remove();b.removeClass(this.markerClassName).unbind("focus",this._showDatepicker).unbind("keydown",this._doKeyDown).unbind("keypress",this._doKeyPress).unbind("keyup",
 this._doKeyUp)}else if(e=="div"||e=="span")b.removeClass(this.markerClassName).empty()}},_enableDatepicker:function(a){var b=d(a),c=d.data(a,"datepicker");if(b.hasClass(this.markerClassName)){var e=a.nodeName.toLowerCase();if(e=="input"){a.disabled=false;c.trigger.filter("button").each(function(){this.disabled=false}).end().filter("img").css({opacity:"1.0",cursor:""})}else if(e=="div"||e=="span")b.children("."+this._inlineClass).children().removeClass("ui-state-disabled");this._disabledInputs=d.map(this._disabledInputs,
 function(f){return f==a?null:f})}},_disableDatepicker:function(a){var b=d(a),c=d.data(a,"datepicker");if(b.hasClass(this.markerClassName)){var e=a.nodeName.toLowerCase();if(e=="input"){a.disabled=true;c.trigger.filter("button").each(function(){this.disabled=true}).end().filter("img").css({opacity:"0.5",cursor:"default"})}else if(e=="div"||e=="span")b.children("."+this._inlineClass).children().addClass("ui-state-disabled");this._disabledInputs=d.map(this._disabledInputs,function(f){return f==a?null:
 f});this._disabledInputs[this._disabledInputs.length]=a}},_isDisabledDatepicker:function(a){if(!a)return false;for(var b=0;b<this._disabledInputs.length;b++)if(this._disabledInputs[b]==a)return true;return false},_getInst:function(a){try{return d.data(a,"datepicker")}catch(b){throw"Missing instance data for this datepicker";}},_optionDatepicker:function(a,b,c){var e=this._getInst(a);if(arguments.length==2&&typeof b=="string")return b=="defaults"?d.extend({},d.datepicker._defaults):e?b=="all"?d.extend({},
-e.settings):this._get(e,b):null;var f=b||{};if(typeof b=="string"){f={};f[b]=c}if(e){this._curInst==e&&this._hideDatepicker();var h=this._getDateDatepicker(a,true);E(e.settings,f);this._attachments(d(a),e);this._autoSize(e);this._setDateDatepicker(a,h);this._updateDatepicker(e)}},_changeDatepicker:function(a,b,c){this._optionDatepicker(a,b,c)},_refreshDatepicker:function(a){(a=this._getInst(a))&&this._updateDatepicker(a)},_setDateDatepicker:function(a,b){if(a=this._getInst(a)){this._setDate(a,b);
-this._updateDatepicker(a);this._updateAlternate(a)}},_getDateDatepicker:function(a,b){(a=this._getInst(a))&&!a.inline&&this._setDateFromField(a,b);return a?this._getDate(a):null},_doKeyDown:function(a){var b=d.datepicker._getInst(a.target),c=true,e=b.dpDiv.is(".ui-datepicker-rtl");b._keyEvent=true;if(d.datepicker._datepickerShowing)switch(a.keyCode){case 9:d.datepicker._hideDatepicker();c=false;break;case 13:c=d("td."+d.datepicker._dayOverClass+":not(."+d.datepicker._currentClass+")",b.dpDiv);c[0]?
-d.datepicker._selectDay(a.target,b.selectedMonth,b.selectedYear,c[0]):d.datepicker._hideDatepicker();return false;case 27:d.datepicker._hideDatepicker();break;case 33:d.datepicker._adjustDate(a.target,a.ctrlKey?-d.datepicker._get(b,"stepBigMonths"):-d.datepicker._get(b,"stepMonths"),"M");break;case 34:d.datepicker._adjustDate(a.target,a.ctrlKey?+d.datepicker._get(b,"stepBigMonths"):+d.datepicker._get(b,"stepMonths"),"M");break;case 35:if(a.ctrlKey||a.metaKey)d.datepicker._clearDate(a.target);c=a.ctrlKey||
-a.metaKey;break;case 36:if(a.ctrlKey||a.metaKey)d.datepicker._gotoToday(a.target);c=a.ctrlKey||a.metaKey;break;case 37:if(a.ctrlKey||a.metaKey)d.datepicker._adjustDate(a.target,e?+1:-1,"D");c=a.ctrlKey||a.metaKey;if(a.originalEvent.altKey)d.datepicker._adjustDate(a.target,a.ctrlKey?-d.datepicker._get(b,"stepBigMonths"):-d.datepicker._get(b,"stepMonths"),"M");break;case 38:if(a.ctrlKey||a.metaKey)d.datepicker._adjustDate(a.target,-7,"D");c=a.ctrlKey||a.metaKey;break;case 39:if(a.ctrlKey||a.metaKey)d.datepicker._adjustDate(a.target,
-e?-1:+1,"D");c=a.ctrlKey||a.metaKey;if(a.originalEvent.altKey)d.datepicker._adjustDate(a.target,a.ctrlKey?+d.datepicker._get(b,"stepBigMonths"):+d.datepicker._get(b,"stepMonths"),"M");break;case 40:if(a.ctrlKey||a.metaKey)d.datepicker._adjustDate(a.target,+7,"D");c=a.ctrlKey||a.metaKey;break;default:c=false}else if(a.keyCode==36&&a.ctrlKey)d.datepicker._showDatepicker(this);else c=false;if(c){a.preventDefault();a.stopPropagation()}},_doKeyPress:function(a){var b=d.datepicker._getInst(a.target);if(d.datepicker._get(b,
-"constrainInput")){b=d.datepicker._possibleChars(d.datepicker._get(b,"dateFormat"));var c=String.fromCharCode(a.charCode==G?a.keyCode:a.charCode);return a.ctrlKey||a.metaKey||c<" "||!b||b.indexOf(c)>-1}},_doKeyUp:function(a){a=d.datepicker._getInst(a.target);if(a.input.val()!=a.lastVal)try{if(d.datepicker.parseDate(d.datepicker._get(a,"dateFormat"),a.input?a.input.val():null,d.datepicker._getFormatConfig(a))){d.datepicker._setDateFromField(a);d.datepicker._updateAlternate(a);d.datepicker._updateDatepicker(a)}}catch(b){d.datepicker.log(b)}return true},
-_showDatepicker:function(a){a=a.target||a;if(a.nodeName.toLowerCase()!="input")a=d("input",a.parentNode)[0];if(!(d.datepicker._isDisabledDatepicker(a)||d.datepicker._lastInput==a)){var b=d.datepicker._getInst(a);d.datepicker._curInst&&d.datepicker._curInst!=b&&d.datepicker._curInst.dpDiv.stop(true,true);var c=d.datepicker._get(b,"beforeShow");E(b.settings,c?c.apply(a,[a,b]):{});b.lastVal=null;d.datepicker._lastInput=a;d.datepicker._setDateFromField(b);if(d.datepicker._inDialog)a.value="";if(!d.datepicker._pos){d.datepicker._pos=
-d.datepicker._findPos(a);d.datepicker._pos[1]+=a.offsetHeight}var e=false;d(a).parents().each(function(){e|=d(this).css("position")=="fixed";return!e});if(e&&d.browser.opera){d.datepicker._pos[0]-=document.documentElement.scrollLeft;d.datepicker._pos[1]-=document.documentElement.scrollTop}c={left:d.datepicker._pos[0],top:d.datepicker._pos[1]};d.datepicker._pos=null;b.dpDiv.empty();b.dpDiv.css({position:"absolute",display:"block",top:"-1000px"});d.datepicker._updateDatepicker(b);c=d.datepicker._checkOffset(b,
-c,e);b.dpDiv.css({position:d.datepicker._inDialog&&d.blockUI?"static":e?"fixed":"absolute",display:"none",left:c.left+"px",top:c.top+"px"});if(!b.inline){c=d.datepicker._get(b,"showAnim");var f=d.datepicker._get(b,"duration"),h=function(){d.datepicker._datepickerShowing=true;var i=b.dpDiv.find("iframe.ui-datepicker-cover");if(i.length){var g=d.datepicker._getBorders(b.dpDiv);i.css({left:-g[0],top:-g[1],width:b.dpDiv.outerWidth(),height:b.dpDiv.outerHeight()})}};b.dpDiv.zIndex(d(a).zIndex()+1);d.effects&&
-d.effects[c]?b.dpDiv.show(c,d.datepicker._get(b,"showOptions"),f,h):b.dpDiv[c||"show"](c?f:null,h);if(!c||!f)h();b.input.is(":visible")&&!b.input.is(":disabled")&&b.input.focus();d.datepicker._curInst=b}}},_updateDatepicker:function(a){var b=this,c=d.datepicker._getBorders(a.dpDiv);a.dpDiv.empty().append(this._generateHTML(a));var e=a.dpDiv.find("iframe.ui-datepicker-cover");e.length&&e.css({left:-c[0],top:-c[1],width:a.dpDiv.outerWidth(),height:a.dpDiv.outerHeight()});a.dpDiv.find("button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a").bind("mouseout",
-function(){d(this).removeClass("ui-state-hover");this.className.indexOf("ui-datepicker-prev")!=-1&&d(this).removeClass("ui-datepicker-prev-hover");this.className.indexOf("ui-datepicker-next")!=-1&&d(this).removeClass("ui-datepicker-next-hover")}).bind("mouseover",function(){if(!b._isDisabledDatepicker(a.inline?a.dpDiv.parent()[0]:a.input[0])){d(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover");d(this).addClass("ui-state-hover");this.className.indexOf("ui-datepicker-prev")!=
--1&&d(this).addClass("ui-datepicker-prev-hover");this.className.indexOf("ui-datepicker-next")!=-1&&d(this).addClass("ui-datepicker-next-hover")}}).end().find("."+this._dayOverClass+" a").trigger("mouseover").end();c=this._getNumberOfMonths(a);e=c[1];e>1?a.dpDiv.addClass("ui-datepicker-multi-"+e).css("width",17*e+"em"):a.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width("");a.dpDiv[(c[0]!=1||c[1]!=1?"add":"remove")+"Class"]("ui-datepicker-multi");a.dpDiv[(this._get(a,
-"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl");a==d.datepicker._curInst&&d.datepicker._datepickerShowing&&a.input&&a.input.is(":visible")&&!a.input.is(":disabled")&&a.input[0]!=document.activeElement&&a.input.focus();if(a.yearshtml){var f=a.yearshtml;setTimeout(function(){f===a.yearshtml&&a.dpDiv.find("select.ui-datepicker-year:first").replaceWith(a.yearshtml);f=a.yearshtml=null},0)}},_getBorders:function(a){var b=function(c){return{thin:1,medium:2,thick:3}[c]||c};return[parseFloat(b(a.css("border-left-width"))),
-parseFloat(b(a.css("border-top-width")))]},_checkOffset:function(a,b,c){var e=a.dpDiv.outerWidth(),f=a.dpDiv.outerHeight(),h=a.input?a.input.outerWidth():0,i=a.input?a.input.outerHeight():0,g=document.documentElement.clientWidth+d(document).scrollLeft(),j=document.documentElement.clientHeight+d(document).scrollTop();b.left-=this._get(a,"isRTL")?e-h:0;b.left-=c&&b.left==a.input.offset().left?d(document).scrollLeft():0;b.top-=c&&b.top==a.input.offset().top+i?d(document).scrollTop():0;b.left-=Math.min(b.left,
-b.left+e>g&&g>e?Math.abs(b.left+e-g):0);b.top-=Math.min(b.top,b.top+f>j&&j>f?Math.abs(f+i):0);return b},_findPos:function(a){for(var b=this._get(this._getInst(a),"isRTL");a&&(a.type=="hidden"||a.nodeType!=1||d.expr.filters.hidden(a));)a=a[b?"previousSibling":"nextSibling"];a=d(a).offset();return[a.left,a.top]},_hideDatepicker:function(a){var b=this._curInst;if(!(!b||a&&b!=d.data(a,"datepicker")))if(this._datepickerShowing){a=this._get(b,"showAnim");var c=this._get(b,"duration"),e=function(){d.datepicker._tidyDialog(b);
-this._curInst=null};d.effects&&d.effects[a]?b.dpDiv.hide(a,d.datepicker._get(b,"showOptions"),c,e):b.dpDiv[a=="slideDown"?"slideUp":a=="fadeIn"?"fadeOut":"hide"](a?c:null,e);a||e();if(a=this._get(b,"onClose"))a.apply(b.input?b.input[0]:null,[b.input?b.input.val():"",b]);this._datepickerShowing=false;this._lastInput=null;if(this._inDialog){this._dialogInput.css({position:"absolute",left:"0",top:"-100px"});if(d.blockUI){d.unblockUI();d("body").append(this.dpDiv)}}this._inDialog=false}},_tidyDialog:function(a){a.dpDiv.removeClass(this._dialogClass).unbind(".ui-datepicker-calendar")},
-_checkExternalClick:function(a){if(d.datepicker._curInst){a=d(a.target);a[0].id!=d.datepicker._mainDivId&&a.parents("#"+d.datepicker._mainDivId).length==0&&!a.hasClass(d.datepicker.markerClassName)&&!a.hasClass(d.datepicker._triggerClass)&&d.datepicker._datepickerShowing&&!(d.datepicker._inDialog&&d.blockUI)&&d.datepicker._hideDatepicker()}},_adjustDate:function(a,b,c){a=d(a);var e=this._getInst(a[0]);if(!this._isDisabledDatepicker(a[0])){this._adjustInstDate(e,b+(c=="M"?this._get(e,"showCurrentAtPos"):
-0),c);this._updateDatepicker(e)}},_gotoToday:function(a){a=d(a);var b=this._getInst(a[0]);if(this._get(b,"gotoCurrent")&&b.currentDay){b.selectedDay=b.currentDay;b.drawMonth=b.selectedMonth=b.currentMonth;b.drawYear=b.selectedYear=b.currentYear}else{var c=new Date;b.selectedDay=c.getDate();b.drawMonth=b.selectedMonth=c.getMonth();b.drawYear=b.selectedYear=c.getFullYear()}this._notifyChange(b);this._adjustDate(a)},_selectMonthYear:function(a,b,c){a=d(a);var e=this._getInst(a[0]);e._selectingMonthYear=
-false;e["selected"+(c=="M"?"Month":"Year")]=e["draw"+(c=="M"?"Month":"Year")]=parseInt(b.options[b.selectedIndex].value,10);this._notifyChange(e);this._adjustDate(a)},_clickMonthYear:function(a){var b=this._getInst(d(a)[0]);b.input&&b._selectingMonthYear&&setTimeout(function(){b.input.focus()},0);b._selectingMonthYear=!b._selectingMonthYear},_selectDay:function(a,b,c,e){var f=d(a);if(!(d(e).hasClass(this._unselectableClass)||this._isDisabledDatepicker(f[0]))){f=this._getInst(f[0]);f.selectedDay=f.currentDay=
-d("a",e).html();f.selectedMonth=f.currentMonth=b;f.selectedYear=f.currentYear=c;this._selectDate(a,this._formatDate(f,f.currentDay,f.currentMonth,f.currentYear))}},_clearDate:function(a){a=d(a);this._getInst(a[0]);this._selectDate(a,"")},_selectDate:function(a,b){a=this._getInst(d(a)[0]);b=b!=null?b:this._formatDate(a);a.input&&a.input.val(b);this._updateAlternate(a);var c=this._get(a,"onSelect");if(c)c.apply(a.input?a.input[0]:null,[b,a]);else a.input&&a.input.trigger("change");if(a.inline)this._updateDatepicker(a);
-else{this._hideDatepicker();this._lastInput=a.input[0];typeof a.input[0]!="object"&&a.input.focus();this._lastInput=null}},_updateAlternate:function(a){var b=this._get(a,"altField");if(b){var c=this._get(a,"altFormat")||this._get(a,"dateFormat"),e=this._getDate(a),f=this.formatDate(c,e,this._getFormatConfig(a));d(b).each(function(){d(this).val(f)})}},noWeekends:function(a){a=a.getDay();return[a>0&&a<6,""]},iso8601Week:function(a){a=new Date(a.getTime());a.setDate(a.getDate()+4-(a.getDay()||7));var b=
-a.getTime();a.setMonth(0);a.setDate(1);return Math.floor(Math.round((b-a)/864E5)/7)+1},parseDate:function(a,b,c){if(a==null||b==null)throw"Invalid arguments";b=typeof b=="object"?b.toString():b+"";if(b=="")return null;var e=(c?c.shortYearCutoff:null)||this._defaults.shortYearCutoff;e=typeof e!="string"?e:(new Date).getFullYear()%100+parseInt(e,10);for(var f=(c?c.dayNamesShort:null)||this._defaults.dayNamesShort,h=(c?c.dayNames:null)||this._defaults.dayNames,i=(c?c.monthNamesShort:null)||this._defaults.monthNamesShort,
-g=(c?c.monthNames:null)||this._defaults.monthNames,j=c=-1,l=-1,u=-1,k=false,o=function(p){(p=z+1<a.length&&a.charAt(z+1)==p)&&z++;return p},m=function(p){var v=o(p);p=new RegExp("^\\d{1,"+(p=="@"?14:p=="!"?20:p=="y"&&v?4:p=="o"?3:2)+"}");p=b.substring(s).match(p);if(!p)throw"Missing number at position "+s;s+=p[0].length;return parseInt(p[0],10)},n=function(p,v,H){p=o(p)?H:v;for(v=0;v<p.length;v++)if(b.substr(s,p[v].length).toLowerCase()==p[v].toLowerCase()){s+=p[v].length;return v+1}throw"Unknown name at position "+
+e.settings):this._get(e,b):null;var f=b||{};if(typeof b=="string"){f={};f[b]=c}if(e){this._curInst==e&&this._hideDatepicker();var h=this._getDateDatepicker(a,true),i=this._getMinMaxDate(e,"min"),g=this._getMinMaxDate(e,"max");F(e.settings,f);if(i!==null&&f.dateFormat!==A&&f.minDate===A)e.settings.minDate=this._formatDate(e,i);if(g!==null&&f.dateFormat!==A&&f.maxDate===A)e.settings.maxDate=this._formatDate(e,g);this._attachments(d(a),e);this._autoSize(e);this._setDateDatepicker(a,h);this._updateDatepicker(e)}},
+_changeDatepicker:function(a,b,c){this._optionDatepicker(a,b,c)},_refreshDatepicker:function(a){(a=this._getInst(a))&&this._updateDatepicker(a)},_setDateDatepicker:function(a,b){if(a=this._getInst(a)){this._setDate(a,b);this._updateDatepicker(a);this._updateAlternate(a)}},_getDateDatepicker:function(a,b){(a=this._getInst(a))&&!a.inline&&this._setDateFromField(a,b);return a?this._getDate(a):null},_doKeyDown:function(a){var b=d.datepicker._getInst(a.target),c=true,e=b.dpDiv.is(".ui-datepicker-rtl");
+b._keyEvent=true;if(d.datepicker._datepickerShowing)switch(a.keyCode){case 9:d.datepicker._hideDatepicker();c=false;break;case 13:c=d("td."+d.datepicker._dayOverClass+":not(."+d.datepicker._currentClass+")",b.dpDiv);c[0]?d.datepicker._selectDay(a.target,b.selectedMonth,b.selectedYear,c[0]):d.datepicker._hideDatepicker();return false;case 27:d.datepicker._hideDatepicker();break;case 33:d.datepicker._adjustDate(a.target,a.ctrlKey?-d.datepicker._get(b,"stepBigMonths"):-d.datepicker._get(b,"stepMonths"),
+"M");break;case 34:d.datepicker._adjustDate(a.target,a.ctrlKey?+d.datepicker._get(b,"stepBigMonths"):+d.datepicker._get(b,"stepMonths"),"M");break;case 35:if(a.ctrlKey||a.metaKey)d.datepicker._clearDate(a.target);c=a.ctrlKey||a.metaKey;break;case 36:if(a.ctrlKey||a.metaKey)d.datepicker._gotoToday(a.target);c=a.ctrlKey||a.metaKey;break;case 37:if(a.ctrlKey||a.metaKey)d.datepicker._adjustDate(a.target,e?+1:-1,"D");c=a.ctrlKey||a.metaKey;if(a.originalEvent.altKey)d.datepicker._adjustDate(a.target,a.ctrlKey?
+-d.datepicker._get(b,"stepBigMonths"):-d.datepicker._get(b,"stepMonths"),"M");break;case 38:if(a.ctrlKey||a.metaKey)d.datepicker._adjustDate(a.target,-7,"D");c=a.ctrlKey||a.metaKey;break;case 39:if(a.ctrlKey||a.metaKey)d.datepicker._adjustDate(a.target,e?-1:+1,"D");c=a.ctrlKey||a.metaKey;if(a.originalEvent.altKey)d.datepicker._adjustDate(a.target,a.ctrlKey?+d.datepicker._get(b,"stepBigMonths"):+d.datepicker._get(b,"stepMonths"),"M");break;case 40:if(a.ctrlKey||a.metaKey)d.datepicker._adjustDate(a.target,
++7,"D");c=a.ctrlKey||a.metaKey;break;default:c=false}else if(a.keyCode==36&&a.ctrlKey)d.datepicker._showDatepicker(this);else c=false;if(c){a.preventDefault();a.stopPropagation()}},_doKeyPress:function(a){var b=d.datepicker._getInst(a.target);if(d.datepicker._get(b,"constrainInput")){b=d.datepicker._possibleChars(d.datepicker._get(b,"dateFormat"));var c=String.fromCharCode(a.charCode==A?a.keyCode:a.charCode);return a.ctrlKey||a.metaKey||c<" "||!b||b.indexOf(c)>-1}},_doKeyUp:function(a){a=d.datepicker._getInst(a.target);
+if(a.input.val()!=a.lastVal)try{if(d.datepicker.parseDate(d.datepicker._get(a,"dateFormat"),a.input?a.input.val():null,d.datepicker._getFormatConfig(a))){d.datepicker._setDateFromField(a);d.datepicker._updateAlternate(a);d.datepicker._updateDatepicker(a)}}catch(b){d.datepicker.log(b)}return true},_showDatepicker:function(a){a=a.target||a;if(a.nodeName.toLowerCase()!="input")a=d("input",a.parentNode)[0];if(!(d.datepicker._isDisabledDatepicker(a)||d.datepicker._lastInput==a)){var b=d.datepicker._getInst(a);
+d.datepicker._curInst&&d.datepicker._curInst!=b&&d.datepicker._curInst.dpDiv.stop(true,true);var c=d.datepicker._get(b,"beforeShow");F(b.settings,c?c.apply(a,[a,b]):{});b.lastVal=null;d.datepicker._lastInput=a;d.datepicker._setDateFromField(b);if(d.datepicker._inDialog)a.value="";if(!d.datepicker._pos){d.datepicker._pos=d.datepicker._findPos(a);d.datepicker._pos[1]+=a.offsetHeight}var e=false;d(a).parents().each(function(){e|=d(this).css("position")=="fixed";return!e});if(e&&d.browser.opera){d.datepicker._pos[0]-=
+document.documentElement.scrollLeft;d.datepicker._pos[1]-=document.documentElement.scrollTop}c={left:d.datepicker._pos[0],top:d.datepicker._pos[1]};d.datepicker._pos=null;b.dpDiv.empty();b.dpDiv.css({position:"absolute",display:"block",top:"-1000px"});d.datepicker._updateDatepicker(b);c=d.datepicker._checkOffset(b,c,e);b.dpDiv.css({position:d.datepicker._inDialog&&d.blockUI?"static":e?"fixed":"absolute",display:"none",left:c.left+"px",top:c.top+"px"});if(!b.inline){c=d.datepicker._get(b,"showAnim");
+var f=d.datepicker._get(b,"duration"),h=function(){d.datepicker._datepickerShowing=true;var i=b.dpDiv.find("iframe.ui-datepicker-cover");if(i.length){var g=d.datepicker._getBorders(b.dpDiv);i.css({left:-g[0],top:-g[1],width:b.dpDiv.outerWidth(),height:b.dpDiv.outerHeight()})}};b.dpDiv.zIndex(d(a).zIndex()+1);d.effects&&d.effects[c]?b.dpDiv.show(c,d.datepicker._get(b,"showOptions"),f,h):b.dpDiv[c||"show"](c?f:null,h);if(!c||!f)h();b.input.is(":visible")&&!b.input.is(":disabled")&&b.input.focus();d.datepicker._curInst=
+b}}},_updateDatepicker:function(a){var b=this,c=d.datepicker._getBorders(a.dpDiv);a.dpDiv.empty().append(this._generateHTML(a));var e=a.dpDiv.find("iframe.ui-datepicker-cover");e.length&&e.css({left:-c[0],top:-c[1],width:a.dpDiv.outerWidth(),height:a.dpDiv.outerHeight()});a.dpDiv.find("button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a").bind("mouseout",function(){d(this).removeClass("ui-state-hover");this.className.indexOf("ui-datepicker-prev")!=-1&&d(this).removeClass("ui-datepicker-prev-hover");
+this.className.indexOf("ui-datepicker-next")!=-1&&d(this).removeClass("ui-datepicker-next-hover")}).bind("mouseover",function(){if(!b._isDisabledDatepicker(a.inline?a.dpDiv.parent()[0]:a.input[0])){d(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover");d(this).addClass("ui-state-hover");this.className.indexOf("ui-datepicker-prev")!=-1&&d(this).addClass("ui-datepicker-prev-hover");this.className.indexOf("ui-datepicker-next")!=-1&&d(this).addClass("ui-datepicker-next-hover")}}).end().find("."+
+this._dayOverClass+" a").trigger("mouseover").end();c=this._getNumberOfMonths(a);e=c[1];e>1?a.dpDiv.addClass("ui-datepicker-multi-"+e).css("width",17*e+"em"):a.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width("");a.dpDiv[(c[0]!=1||c[1]!=1?"add":"remove")+"Class"]("ui-datepicker-multi");a.dpDiv[(this._get(a,"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl");a==d.datepicker._curInst&&d.datepicker._datepickerShowing&&a.input&&a.input.is(":visible")&&!a.input.is(":disabled")&&
+a.input[0]!=document.activeElement&&a.input.focus();if(a.yearshtml){var f=a.yearshtml;setTimeout(function(){f===a.yearshtml&&a.dpDiv.find("select.ui-datepicker-year:first").replaceWith(a.yearshtml);f=a.yearshtml=null},0)}},_getBorders:function(a){var b=function(c){return{thin:1,medium:2,thick:3}[c]||c};return[parseFloat(b(a.css("border-left-width"))),parseFloat(b(a.css("border-top-width")))]},_checkOffset:function(a,b,c){var e=a.dpDiv.outerWidth(),f=a.dpDiv.outerHeight(),h=a.input?a.input.outerWidth():
+0,i=a.input?a.input.outerHeight():0,g=document.documentElement.clientWidth+d(document).scrollLeft(),j=document.documentElement.clientHeight+d(document).scrollTop();b.left-=this._get(a,"isRTL")?e-h:0;b.left-=c&&b.left==a.input.offset().left?d(document).scrollLeft():0;b.top-=c&&b.top==a.input.offset().top+i?d(document).scrollTop():0;b.left-=Math.min(b.left,b.left+e>g&&g>e?Math.abs(b.left+e-g):0);b.top-=Math.min(b.top,b.top+f>j&&j>f?Math.abs(f+i):0);return b},_findPos:function(a){for(var b=this._get(this._getInst(a),
+"isRTL");a&&(a.type=="hidden"||a.nodeType!=1||d.expr.filters.hidden(a));)a=a[b?"previousSibling":"nextSibling"];a=d(a).offset();return[a.left,a.top]},_hideDatepicker:function(a){var b=this._curInst;if(!(!b||a&&b!=d.data(a,"datepicker")))if(this._datepickerShowing){a=this._get(b,"showAnim");var c=this._get(b,"duration"),e=function(){d.datepicker._tidyDialog(b);this._curInst=null};d.effects&&d.effects[a]?b.dpDiv.hide(a,d.datepicker._get(b,"showOptions"),c,e):b.dpDiv[a=="slideDown"?"slideUp":a=="fadeIn"?
+"fadeOut":"hide"](a?c:null,e);a||e();if(a=this._get(b,"onClose"))a.apply(b.input?b.input[0]:null,[b.input?b.input.val():"",b]);this._datepickerShowing=false;this._lastInput=null;if(this._inDialog){this._dialogInput.css({position:"absolute",left:"0",top:"-100px"});if(d.blockUI){d.unblockUI();d("body").append(this.dpDiv)}}this._inDialog=false}},_tidyDialog:function(a){a.dpDiv.removeClass(this._dialogClass).unbind(".ui-datepicker-calendar")},_checkExternalClick:function(a){if(d.datepicker._curInst){a=
+d(a.target);a[0].id!=d.datepicker._mainDivId&&a.parents("#"+d.datepicker._mainDivId).length==0&&!a.hasClass(d.datepicker.markerClassName)&&!a.hasClass(d.datepicker._triggerClass)&&d.datepicker._datepickerShowing&&!(d.datepicker._inDialog&&d.blockUI)&&d.datepicker._hideDatepicker()}},_adjustDate:function(a,b,c){a=d(a);var e=this._getInst(a[0]);if(!this._isDisabledDatepicker(a[0])){this._adjustInstDate(e,b+(c=="M"?this._get(e,"showCurrentAtPos"):0),c);this._updateDatepicker(e)}},_gotoToday:function(a){a=
+d(a);var b=this._getInst(a[0]);if(this._get(b,"gotoCurrent")&&b.currentDay){b.selectedDay=b.currentDay;b.drawMonth=b.selectedMonth=b.currentMonth;b.drawYear=b.selectedYear=b.currentYear}else{var c=new Date;b.selectedDay=c.getDate();b.drawMonth=b.selectedMonth=c.getMonth();b.drawYear=b.selectedYear=c.getFullYear()}this._notifyChange(b);this._adjustDate(a)},_selectMonthYear:function(a,b,c){a=d(a);var e=this._getInst(a[0]);e._selectingMonthYear=false;e["selected"+(c=="M"?"Month":"Year")]=e["draw"+(c==
+"M"?"Month":"Year")]=parseInt(b.options[b.selectedIndex].value,10);this._notifyChange(e);this._adjustDate(a)},_clickMonthYear:function(a){var b=this._getInst(d(a)[0]);b.input&&b._selectingMonthYear&&setTimeout(function(){b.input.focus()},0);b._selectingMonthYear=!b._selectingMonthYear},_selectDay:function(a,b,c,e){var f=d(a);if(!(d(e).hasClass(this._unselectableClass)||this._isDisabledDatepicker(f[0]))){f=this._getInst(f[0]);f.selectedDay=f.currentDay=d("a",e).html();f.selectedMonth=f.currentMonth=
+b;f.selectedYear=f.currentYear=c;this._selectDate(a,this._formatDate(f,f.currentDay,f.currentMonth,f.currentYear))}},_clearDate:function(a){a=d(a);this._getInst(a[0]);this._selectDate(a,"")},_selectDate:function(a,b){a=this._getInst(d(a)[0]);b=b!=null?b:this._formatDate(a);a.input&&a.input.val(b);this._updateAlternate(a);var c=this._get(a,"onSelect");if(c)c.apply(a.input?a.input[0]:null,[b,a]);else a.input&&a.input.trigger("change");if(a.inline)this._updateDatepicker(a);else{this._hideDatepicker();
+this._lastInput=a.input[0];typeof a.input[0]!="object"&&a.input.focus();this._lastInput=null}},_updateAlternate:function(a){var b=this._get(a,"altField");if(b){var c=this._get(a,"altFormat")||this._get(a,"dateFormat"),e=this._getDate(a),f=this.formatDate(c,e,this._getFormatConfig(a));d(b).each(function(){d(this).val(f)})}},noWeekends:function(a){a=a.getDay();return[a>0&&a<6,""]},iso8601Week:function(a){a=new Date(a.getTime());a.setDate(a.getDate()+4-(a.getDay()||7));var b=a.getTime();a.setMonth(0);
+a.setDate(1);return Math.floor(Math.round((b-a)/864E5)/7)+1},parseDate:function(a,b,c){if(a==null||b==null)throw"Invalid arguments";b=typeof b=="object"?b.toString():b+"";if(b=="")return null;var e=(c?c.shortYearCutoff:null)||this._defaults.shortYearCutoff;e=typeof e!="string"?e:(new Date).getFullYear()%100+parseInt(e,10);for(var f=(c?c.dayNamesShort:null)||this._defaults.dayNamesShort,h=(c?c.dayNames:null)||this._defaults.dayNames,i=(c?c.monthNamesShort:null)||this._defaults.monthNamesShort,g=(c?
+c.monthNames:null)||this._defaults.monthNames,j=c=-1,l=-1,u=-1,k=false,o=function(p){(p=z+1<a.length&&a.charAt(z+1)==p)&&z++;return p},m=function(p){var v=o(p);p=new RegExp("^\\d{1,"+(p=="@"?14:p=="!"?20:p=="y"&&v?4:p=="o"?3:2)+"}");p=b.substring(s).match(p);if(!p)throw"Missing number at position "+s;s+=p[0].length;return parseInt(p[0],10)},n=function(p,v,H){p=o(p)?H:v;for(v=0;v<p.length;v++)if(b.substr(s,p[v].length).toLowerCase()==p[v].toLowerCase()){s+=p[v].length;return v+1}throw"Unknown name at position "+
 s;},r=function(){if(b.charAt(s)!=a.charAt(z))throw"Unexpected literal at position "+s;s++},s=0,z=0;z<a.length;z++)if(k)if(a.charAt(z)=="'"&&!o("'"))k=false;else r();else switch(a.charAt(z)){case "d":l=m("d");break;case "D":n("D",f,h);break;case "o":u=m("o");break;case "m":j=m("m");break;case "M":j=n("M",i,g);break;case "y":c=m("y");break;case "@":var w=new Date(m("@"));c=w.getFullYear();j=w.getMonth()+1;l=w.getDate();break;case "!":w=new Date((m("!")-this._ticksTo1970)/1E4);c=w.getFullYear();j=w.getMonth()+
 1;l=w.getDate();break;case "'":if(o("'"))r();else k=true;break;default:r()}if(c==-1)c=(new Date).getFullYear();else if(c<100)c+=(new Date).getFullYear()-(new Date).getFullYear()%100+(c<=e?0:-100);if(u>-1){j=1;l=u;do{e=this._getDaysInMonth(c,j-1);if(l<=e)break;j++;l-=e}while(1)}w=this._daylightSavingAdjust(new Date(c,j-1,l));if(w.getFullYear()!=c||w.getMonth()+1!=j||w.getDate()!=l)throw"Invalid date";return w},ATOM:"yy-mm-dd",COOKIE:"D, dd M yy",ISO_8601:"yy-mm-dd",RFC_822:"D, d M y",RFC_850:"DD, dd-M-y",
 RFC_1036:"D, d M y",RFC_1123:"D, d M yy",RFC_2822:"D, d M yy",RSS:"D, d M y",TICKS:"!",TIMESTAMP:"@",W3C:"yy-mm-dd",_ticksTo1970:(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925))*24*60*60*1E7,formatDate:function(a,b,c){if(!b)return"";var e=(c?c.dayNamesShort:null)||this._defaults.dayNamesShort,f=(c?c.dayNames:null)||this._defaults.dayNames,h=(c?c.monthNamesShort:null)||this._defaults.monthNamesShort;c=(c?c.monthNames:null)||this._defaults.monthNames;var i=function(o){(o=k+1<a.length&&
 a.charAt(k+1)==o)&&k++;return o},g=function(o,m,n){m=""+m;if(i(o))for(;m.length<n;)m="0"+m;return m},j=function(o,m,n,r){return i(o)?r[m]:n[m]},l="",u=false;if(b)for(var k=0;k<a.length;k++)if(u)if(a.charAt(k)=="'"&&!i("'"))u=false;else l+=a.charAt(k);else switch(a.charAt(k)){case "d":l+=g("d",b.getDate(),2);break;case "D":l+=j("D",b.getDay(),e,f);break;case "o":l+=g("o",(b.getTime()-(new Date(b.getFullYear(),0,0)).getTime())/864E5,3);break;case "m":l+=g("m",b.getMonth()+1,2);break;case "M":l+=j("M",
 b.getMonth(),h,c);break;case "y":l+=i("y")?b.getFullYear():(b.getYear()%100<10?"0":"")+b.getYear()%100;break;case "@":l+=b.getTime();break;case "!":l+=b.getTime()*1E4+this._ticksTo1970;break;case "'":if(i("'"))l+="'";else u=true;break;default:l+=a.charAt(k)}return l},_possibleChars:function(a){for(var b="",c=false,e=function(h){(h=f+1<a.length&&a.charAt(f+1)==h)&&f++;return h},f=0;f<a.length;f++)if(c)if(a.charAt(f)=="'"&&!e("'"))c=false;else b+=a.charAt(f);else switch(a.charAt(f)){case "d":case "m":case "y":case "@":b+=
-"0123456789";break;case "D":case "M":return null;case "'":if(e("'"))b+="'";else c=true;break;default:b+=a.charAt(f)}return b},_get:function(a,b){return a.settings[b]!==G?a.settings[b]:this._defaults[b]},_setDateFromField:function(a,b){if(a.input.val()!=a.lastVal){var c=this._get(a,"dateFormat"),e=a.lastVal=a.input?a.input.val():null,f,h;f=h=this._getDefaultDate(a);var i=this._getFormatConfig(a);try{f=this.parseDate(c,e,i)||h}catch(g){this.log(g);e=b?"":e}a.selectedDay=f.getDate();a.drawMonth=a.selectedMonth=
+"0123456789";break;case "D":case "M":return null;case "'":if(e("'"))b+="'";else c=true;break;default:b+=a.charAt(f)}return b},_get:function(a,b){return a.settings[b]!==A?a.settings[b]:this._defaults[b]},_setDateFromField:function(a,b){if(a.input.val()!=a.lastVal){var c=this._get(a,"dateFormat"),e=a.lastVal=a.input?a.input.val():null,f,h;f=h=this._getDefaultDate(a);var i=this._getFormatConfig(a);try{f=this.parseDate(c,e,i)||h}catch(g){this.log(g);e=b?"":e}a.selectedDay=f.getDate();a.drawMonth=a.selectedMonth=
 f.getMonth();a.drawYear=a.selectedYear=f.getFullYear();a.currentDay=e?f.getDate():0;a.currentMonth=e?f.getMonth():0;a.currentYear=e?f.getFullYear():0;this._adjustInstDate(a)}},_getDefaultDate:function(a){return this._restrictMinMax(a,this._determineDate(a,this._get(a,"defaultDate"),new Date))},_determineDate:function(a,b,c){var e=function(h){var i=new Date;i.setDate(i.getDate()+h);return i},f=function(h){try{return d.datepicker.parseDate(d.datepicker._get(a,"dateFormat"),h,d.datepicker._getFormatConfig(a))}catch(i){}var g=
 (h.toLowerCase().match(/^c/)?d.datepicker._getDate(a):null)||new Date,j=g.getFullYear(),l=g.getMonth();g=g.getDate();for(var u=/([+-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,k=u.exec(h);k;){switch(k[2]||"d"){case "d":case "D":g+=parseInt(k[1],10);break;case "w":case "W":g+=parseInt(k[1],10)*7;break;case "m":case "M":l+=parseInt(k[1],10);g=Math.min(g,d.datepicker._getDaysInMonth(j,l));break;case "y":case "Y":j+=parseInt(k[1],10);g=Math.min(g,d.datepicker._getDaysInMonth(j,l));break}k=u.exec(h)}return new Date(j,
 l,g)};if(b=(b=b==null||b===""?c:typeof b=="string"?f(b):typeof b=="number"?isNaN(b)?c:e(b):new Date(b.getTime()))&&b.toString()=="Invalid Date"?c:b){b.setHours(0);b.setMinutes(0);b.setSeconds(0);b.setMilliseconds(0)}return this._daylightSavingAdjust(b)},_daylightSavingAdjust:function(a){if(!a)return null;a.setHours(a.getHours()>12?a.getHours()+2:0);return a},_setDate:function(a,b,c){var e=!b,f=a.selectedMonth,h=a.selectedYear;b=this._restrictMinMax(a,this._determineDate(a,b,new Date));a.selectedDay=
@@ -529,12 +530,12 @@ this._daylightSavingAdjust(new Date(o.getFullYear(),o.getMonth()-i[0]*i[1]+1,o.g
 (c?"e":"w")+'">'+n+"</span></a>":f?"":'<a class="ui-datepicker-prev ui-corner-all ui-state-disabled" title="'+n+'"><span class="ui-icon ui-icon-circle-triangle-'+(c?"e":"w")+'">'+n+"</span></a>";var r=this._get(a,"nextText");r=!h?r:this.formatDate(r,this._daylightSavingAdjust(new Date(m,g+j,1)),this._getFormatConfig(a));f=this._canAdjustMonth(a,+1,m,g)?'<a class="ui-datepicker-next ui-corner-all" onclick="DP_jQuery_'+y+".datepicker._adjustDate('#"+a.id+"', +"+j+", 'M');\" title=\""+r+'"><span class="ui-icon ui-icon-circle-triangle-'+
 (c?"w":"e")+'">'+r+"</span></a>":f?"":'<a class="ui-datepicker-next ui-corner-all ui-state-disabled" title="'+r+'"><span class="ui-icon ui-icon-circle-triangle-'+(c?"w":"e")+'">'+r+"</span></a>";j=this._get(a,"currentText");r=this._get(a,"gotoCurrent")&&a.currentDay?u:b;j=!h?j:this.formatDate(j,r,this._getFormatConfig(a));h=!a.inline?'<button type="button" class="ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all" onclick="DP_jQuery_'+y+'.datepicker._hideDatepicker();">'+this._get(a,
 "closeText")+"</button>":"";e=e?'<div class="ui-datepicker-buttonpane ui-widget-content">'+(c?h:"")+(this._isInRange(a,r)?'<button type="button" class="ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all" onclick="DP_jQuery_'+y+".datepicker._gotoToday('#"+a.id+"');\">"+j+"</button>":"")+(c?"":h)+"</div>":"";h=parseInt(this._get(a,"firstDay"),10);h=isNaN(h)?0:h;j=this._get(a,"showWeek");r=this._get(a,"dayNames");this._get(a,"dayNamesShort");var s=this._get(a,"dayNamesMin"),z=
-this._get(a,"monthNames"),w=this._get(a,"monthNamesShort"),p=this._get(a,"beforeShowDay"),v=this._get(a,"showOtherMonths"),H=this._get(a,"selectOtherMonths");this._get(a,"calculateWeek");for(var L=this._getDefaultDate(a),I="",C=0;C<i[0];C++){for(var M="",D=0;D<i[1];D++){var N=this._daylightSavingAdjust(new Date(m,g,a.selectedDay)),t=" ui-corner-all",x="";if(l){x+='<div class="ui-datepicker-group';if(i[1]>1)switch(D){case 0:x+=" ui-datepicker-group-first";t=" ui-corner-"+(c?"right":"left");break;case i[1]-
-1:x+=" ui-datepicker-group-last";t=" ui-corner-"+(c?"left":"right");break;default:x+=" ui-datepicker-group-middle";t="";break}x+='">'}x+='<div class="ui-datepicker-header ui-widget-header ui-helper-clearfix'+t+'">'+(/all|left/.test(t)&&C==0?c?f:n:"")+(/all|right/.test(t)&&C==0?c?n:f:"")+this._generateMonthYearHeader(a,g,m,k,o,C>0||D>0,z,w)+'</div><table class="ui-datepicker-calendar"><thead><tr>';var A=j?'<th class="ui-datepicker-week-col">'+this._get(a,"weekHeader")+"</th>":"";for(t=0;t<7;t++){var q=
-(t+h)%7;A+="<th"+((t+h+6)%7>=5?' class="ui-datepicker-week-end"':"")+'><span title="'+r[q]+'">'+s[q]+"</span></th>"}x+=A+"</tr></thead><tbody>";A=this._getDaysInMonth(m,g);if(m==a.selectedYear&&g==a.selectedMonth)a.selectedDay=Math.min(a.selectedDay,A);t=(this._getFirstDayOfMonth(m,g)-h+7)%7;A=l?6:Math.ceil((t+A)/7);q=this._daylightSavingAdjust(new Date(m,g,1-t));for(var O=0;O<A;O++){x+="<tr>";var P=!j?"":'<td class="ui-datepicker-week-col">'+this._get(a,"calculateWeek")(q)+"</td>";for(t=0;t<7;t++){var F=
-p?p.apply(a.input?a.input[0]:null,[q]):[true,""],B=q.getMonth()!=g,J=B&&!H||!F[0]||k&&q<k||o&&q>o;P+='<td class="'+((t+h+6)%7>=5?" ui-datepicker-week-end":"")+(B?" ui-datepicker-other-month":"")+(q.getTime()==N.getTime()&&g==a.selectedMonth&&a._keyEvent||L.getTime()==q.getTime()&&L.getTime()==N.getTime()?" "+this._dayOverClass:"")+(J?" "+this._unselectableClass+" ui-state-disabled":"")+(B&&!v?"":" "+F[1]+(q.getTime()==u.getTime()?" "+this._currentClass:"")+(q.getTime()==b.getTime()?" ui-datepicker-today":
-""))+'"'+((!B||v)&&F[2]?' title="'+F[2]+'"':"")+(J?"":' onclick="DP_jQuery_'+y+".datepicker._selectDay('#"+a.id+"',"+q.getMonth()+","+q.getFullYear()+', this);return false;"')+">"+(B&&!v?"&#xa0;":J?'<span class="ui-state-default">'+q.getDate()+"</span>":'<a class="ui-state-default'+(q.getTime()==b.getTime()?" ui-state-highlight":"")+(q.getTime()==u.getTime()?" ui-state-active":"")+(B?" ui-priority-secondary":"")+'" href="#">'+q.getDate()+"</a>")+"</td>";q.setDate(q.getDate()+1);q=this._daylightSavingAdjust(q)}x+=
-P+"</tr>"}g++;if(g>11){g=0;m++}x+="</tbody></table>"+(l?"</div>"+(i[0]>0&&D==i[1]-1?'<div class="ui-datepicker-row-break"></div>':""):"");M+=x}I+=M}I+=e+(d.browser.msie&&parseInt(d.browser.version,10)<7&&!a.inline?'<iframe src="javascript:false;" class="ui-datepicker-cover" frameborder="0"></iframe>':"");a._keyEvent=false;return I},_generateMonthYearHeader:function(a,b,c,e,f,h,i,g){var j=this._get(a,"changeMonth"),l=this._get(a,"changeYear"),u=this._get(a,"showMonthAfterYear"),k='<div class="ui-datepicker-title">',
+this._get(a,"monthNames"),w=this._get(a,"monthNamesShort"),p=this._get(a,"beforeShowDay"),v=this._get(a,"showOtherMonths"),H=this._get(a,"selectOtherMonths");this._get(a,"calculateWeek");for(var L=this._getDefaultDate(a),I="",D=0;D<i[0];D++){for(var M="",E=0;E<i[1];E++){var N=this._daylightSavingAdjust(new Date(m,g,a.selectedDay)),t=" ui-corner-all",x="";if(l){x+='<div class="ui-datepicker-group';if(i[1]>1)switch(E){case 0:x+=" ui-datepicker-group-first";t=" ui-corner-"+(c?"right":"left");break;case i[1]-
+1:x+=" ui-datepicker-group-last";t=" ui-corner-"+(c?"left":"right");break;default:x+=" ui-datepicker-group-middle";t="";break}x+='">'}x+='<div class="ui-datepicker-header ui-widget-header ui-helper-clearfix'+t+'">'+(/all|left/.test(t)&&D==0?c?f:n:"")+(/all|right/.test(t)&&D==0?c?n:f:"")+this._generateMonthYearHeader(a,g,m,k,o,D>0||E>0,z,w)+'</div><table class="ui-datepicker-calendar"><thead><tr>';var B=j?'<th class="ui-datepicker-week-col">'+this._get(a,"weekHeader")+"</th>":"";for(t=0;t<7;t++){var q=
+(t+h)%7;B+="<th"+((t+h+6)%7>=5?' class="ui-datepicker-week-end"':"")+'><span title="'+r[q]+'">'+s[q]+"</span></th>"}x+=B+"</tr></thead><tbody>";B=this._getDaysInMonth(m,g);if(m==a.selectedYear&&g==a.selectedMonth)a.selectedDay=Math.min(a.selectedDay,B);t=(this._getFirstDayOfMonth(m,g)-h+7)%7;B=l?6:Math.ceil((t+B)/7);q=this._daylightSavingAdjust(new Date(m,g,1-t));for(var O=0;O<B;O++){x+="<tr>";var P=!j?"":'<td class="ui-datepicker-week-col">'+this._get(a,"calculateWeek")(q)+"</td>";for(t=0;t<7;t++){var G=
+p?p.apply(a.input?a.input[0]:null,[q]):[true,""],C=q.getMonth()!=g,J=C&&!H||!G[0]||k&&q<k||o&&q>o;P+='<td class="'+((t+h+6)%7>=5?" ui-datepicker-week-end":"")+(C?" ui-datepicker-other-month":"")+(q.getTime()==N.getTime()&&g==a.selectedMonth&&a._keyEvent||L.getTime()==q.getTime()&&L.getTime()==N.getTime()?" "+this._dayOverClass:"")+(J?" "+this._unselectableClass+" ui-state-disabled":"")+(C&&!v?"":" "+G[1]+(q.getTime()==u.getTime()?" "+this._currentClass:"")+(q.getTime()==b.getTime()?" ui-datepicker-today":
+""))+'"'+((!C||v)&&G[2]?' title="'+G[2]+'"':"")+(J?"":' onclick="DP_jQuery_'+y+".datepicker._selectDay('#"+a.id+"',"+q.getMonth()+","+q.getFullYear()+', this);return false;"')+">"+(C&&!v?"&#xa0;":J?'<span class="ui-state-default">'+q.getDate()+"</span>":'<a class="ui-state-default'+(q.getTime()==b.getTime()?" ui-state-highlight":"")+(q.getTime()==u.getTime()?" ui-state-active":"")+(C?" ui-priority-secondary":"")+'" href="#">'+q.getDate()+"</a>")+"</td>";q.setDate(q.getDate()+1);q=this._daylightSavingAdjust(q)}x+=
+P+"</tr>"}g++;if(g>11){g=0;m++}x+="</tbody></table>"+(l?"</div>"+(i[0]>0&&E==i[1]-1?'<div class="ui-datepicker-row-break"></div>':""):"");M+=x}I+=M}I+=e+(d.browser.msie&&parseInt(d.browser.version,10)<7&&!a.inline?'<iframe src="javascript:false;" class="ui-datepicker-cover" frameborder="0"></iframe>':"");a._keyEvent=false;return I},_generateMonthYearHeader:function(a,b,c,e,f,h,i,g){var j=this._get(a,"changeMonth"),l=this._get(a,"changeYear"),u=this._get(a,"showMonthAfterYear"),k='<div class="ui-datepicker-title">',
 o="";if(h||!j)o+='<span class="ui-datepicker-month">'+i[b]+"</span>";else{i=e&&e.getFullYear()==c;var m=f&&f.getFullYear()==c;o+='<select class="ui-datepicker-month" onchange="DP_jQuery_'+y+".datepicker._selectMonthYear('#"+a.id+"', this, 'M');\" onclick=\"DP_jQuery_"+y+".datepicker._clickMonthYear('#"+a.id+"');\">";for(var n=0;n<12;n++)if((!i||n>=e.getMonth())&&(!m||n<=f.getMonth()))o+='<option value="'+n+'"'+(n==b?' selected="selected"':"")+">"+g[n]+"</option>";o+="</select>"}u||(k+=o+(h||!(j&&
 l)?"&#xa0;":""));a.yearshtml="";if(h||!l)k+='<span class="ui-datepicker-year">'+c+"</span>";else{g=this._get(a,"yearRange").split(":");var r=(new Date).getFullYear();i=function(s){s=s.match(/c[+-].*/)?c+parseInt(s.substring(1),10):s.match(/[+-].*/)?r+parseInt(s,10):parseInt(s,10);return isNaN(s)?r:s};b=i(g[0]);g=Math.max(b,i(g[1]||""));b=e?Math.max(b,e.getFullYear()):b;g=f?Math.min(g,f.getFullYear()):g;for(a.yearshtml+='<select class="ui-datepicker-year" onchange="DP_jQuery_'+y+".datepicker._selectMonthYear('#"+
 a.id+"', this, 'Y');\" onclick=\"DP_jQuery_"+y+".datepicker._clickMonthYear('#"+a.id+"');\">";b<=g;b++)a.yearshtml+='<option value="'+b+'"'+(b==c?' selected="selected"':"")+">"+b+"</option>";a.yearshtml+="</select>";if(d.browser.mozilla)k+='<select class="ui-datepicker-year"><option value="'+c+'" selected="selected">'+c+"</option></select>";else{k+=a.yearshtml;a.yearshtml=null}}k+=this._get(a,"yearSuffix");if(u)k+=(h||!(j&&l)?"&#xa0;":"")+o;k+="</div>";return k},_adjustInstDate:function(a,b,c){var e=
@@ -543,9 +544,9 @@ a.drawYear+(c=="Y"?b:0),f=a.drawMonth+(c=="M"?b:0);b=Math.min(a.selectedDay,this
 c=this._daylightSavingAdjust(new Date(c,e+(b<0?b:f[0]*f[1]),1));b<0&&c.setDate(this._getDaysInMonth(c.getFullYear(),c.getMonth()));return this._isInRange(a,c)},_isInRange:function(a,b){var c=this._getMinMaxDate(a,"min");a=this._getMinMaxDate(a,"max");return(!c||b.getTime()>=c.getTime())&&(!a||b.getTime()<=a.getTime())},_getFormatConfig:function(a){var b=this._get(a,"shortYearCutoff");b=typeof b!="string"?b:(new Date).getFullYear()%100+parseInt(b,10);return{shortYearCutoff:b,dayNamesShort:this._get(a,
 "dayNamesShort"),dayNames:this._get(a,"dayNames"),monthNamesShort:this._get(a,"monthNamesShort"),monthNames:this._get(a,"monthNames")}},_formatDate:function(a,b,c,e){if(!b){a.currentDay=a.selectedDay;a.currentMonth=a.selectedMonth;a.currentYear=a.selectedYear}b=b?typeof b=="object"?b:this._daylightSavingAdjust(new Date(e,c,b)):this._daylightSavingAdjust(new Date(a.currentYear,a.currentMonth,a.currentDay));return this.formatDate(this._get(a,"dateFormat"),b,this._getFormatConfig(a))}});d.fn.datepicker=
 function(a){if(!this.length)return this;if(!d.datepicker.initialized){d(document).mousedown(d.datepicker._checkExternalClick).find("body").append(d.datepicker.dpDiv);d.datepicker.initialized=true}var b=Array.prototype.slice.call(arguments,1);if(typeof a=="string"&&(a=="isDisabled"||a=="getDate"||a=="widget"))return d.datepicker["_"+a+"Datepicker"].apply(d.datepicker,[this[0]].concat(b));if(a=="option"&&arguments.length==2&&typeof arguments[1]=="string")return d.datepicker["_"+a+"Datepicker"].apply(d.datepicker,
-[this[0]].concat(b));return this.each(function(){typeof a=="string"?d.datepicker["_"+a+"Datepicker"].apply(d.datepicker,[this].concat(b)):d.datepicker._attachDatepicker(this,a)})};d.datepicker=new K;d.datepicker.initialized=false;d.datepicker.uuid=(new Date).getTime();d.datepicker.version="1.8.10";window["DP_jQuery_"+y]=d})(jQuery);
+[this[0]].concat(b));return this.each(function(){typeof a=="string"?d.datepicker["_"+a+"Datepicker"].apply(d.datepicker,[this].concat(b)):d.datepicker._attachDatepicker(this,a)})};d.datepicker=new K;d.datepicker.initialized=false;d.datepicker.uuid=(new Date).getTime();d.datepicker.version="1.8.11";window["DP_jQuery_"+y]=d})(jQuery);
 ;/*
- * jQuery UI Progressbar 1.8.10
+ * jQuery UI Progressbar 1.8.11
  *
  * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
  * Dual licensed under the MIT or GPL Version 2 licenses.
@@ -559,9 +560,9 @@ function(a){if(!this.length)return this;if(!d.datepicker.initialized){d(document
  */
 (function(b,d){b.widget("ui.progressbar",{options:{value:0,max:100},min:0,_create:function(){this.element.addClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").attr({role:"progressbar","aria-valuemin":this.min,"aria-valuemax":this.options.max,"aria-valuenow":this._value()});this.valueDiv=b("<div class='ui-progressbar-value ui-widget-header ui-corner-left'></div>").appendTo(this.element);this.oldValue=this._value();this._refreshValue()},destroy:function(){this.element.removeClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").removeAttr("role").removeAttr("aria-valuemin").removeAttr("aria-valuemax").removeAttr("aria-valuenow");
 this.valueDiv.remove();b.Widget.prototype.destroy.apply(this,arguments)},value:function(a){if(a===d)return this._value();this._setOption("value",a);return this},_setOption:function(a,c){if(a==="value"){this.options.value=c;this._refreshValue();this._value()===this.options.max&&this._trigger("complete")}b.Widget.prototype._setOption.apply(this,arguments)},_value:function(){var a=this.options.value;if(typeof a!=="number")a=0;return Math.min(this.options.max,Math.max(this.min,a))},_percentage:function(){return 100*
-this._value()/this.options.max},_refreshValue:function(){var a=this.value(),c=this._percentage();if(this.oldValue!==a){this.oldValue=a;this._trigger("change")}this.valueDiv.toggleClass("ui-corner-right",a===this.options.max).width(c.toFixed(0)+"%");this.element.attr("aria-valuenow",a)}});b.extend(b.ui.progressbar,{version:"1.8.10"})})(jQuery);
+this._value()/this.options.max},_refreshValue:function(){var a=this.value(),c=this._percentage();if(this.oldValue!==a){this.oldValue=a;this._trigger("change")}this.valueDiv.toggleClass("ui-corner-right",a===this.options.max).width(c.toFixed(0)+"%");this.element.attr("aria-valuenow",a)}});b.extend(b.ui.progressbar,{version:"1.8.11"})})(jQuery);
 ;/*
- * jQuery UI Effects 1.8.10
+ * jQuery UI Effects 1.8.11
  *
  * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
  * Dual licensed under the MIT or GPL Version 2 licenses.
@@ -578,7 +579,7 @@ a;b=null;a=c;c=a.effect}if(f.isFunction(a)){d=a;b=null;a={}}if(typeof a=="number
 211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0],transparent:[255,255,255]},r=["add","remove","toggle"],t={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};f.effects.animateClass=function(c,a,b,
 d){if(f.isFunction(b)){d=b;b=null}return this.queue("fx",function(){var e=f(this),g=e.attr("style")||" ",h=q(p.call(this)),l,v=e.attr("className");f.each(r,function(w,i){c[i]&&e[i+"Class"](c[i])});l=q(p.call(this));e.attr("className",v);e.animate(u(h,l),a,b,function(){f.each(r,function(w,i){c[i]&&e[i+"Class"](c[i])});if(typeof e.attr("style")=="object"){e.attr("style").cssText="";e.attr("style").cssText=g}else e.attr("style",g);d&&d.apply(this,arguments)});h=f.queue(this);l=h.splice(h.length-1,1)[0];
 h.splice(1,0,l);f.dequeue(this)})};f.fn.extend({_addClass:f.fn.addClass,addClass:function(c,a,b,d){return a?f.effects.animateClass.apply(this,[{add:c},a,b,d]):this._addClass(c)},_removeClass:f.fn.removeClass,removeClass:function(c,a,b,d){return a?f.effects.animateClass.apply(this,[{remove:c},a,b,d]):this._removeClass(c)},_toggleClass:f.fn.toggleClass,toggleClass:function(c,a,b,d,e){return typeof a=="boolean"||a===j?b?f.effects.animateClass.apply(this,[a?{add:c}:{remove:c},b,d,e]):this._toggleClass(c,
-a):f.effects.animateClass.apply(this,[{toggle:c},a,b,d])},switchClass:function(c,a,b,d,e){return f.effects.animateClass.apply(this,[{add:a,remove:c},b,d,e])}});f.extend(f.effects,{version:"1.8.10",save:function(c,a){for(var b=0;b<a.length;b++)a[b]!==null&&c.data("ec.storage."+a[b],c[0].style[a[b]])},restore:function(c,a){for(var b=0;b<a.length;b++)a[b]!==null&&c.css(a[b],c.data("ec.storage."+a[b]))},setMode:function(c,a){if(a=="toggle")a=c.is(":hidden")?"show":"hide";return a},getBaseline:function(c,
+a):f.effects.animateClass.apply(this,[{toggle:c},a,b,d])},switchClass:function(c,a,b,d,e){return f.effects.animateClass.apply(this,[{add:a,remove:c},b,d,e])}});f.extend(f.effects,{version:"1.8.11",save:function(c,a){for(var b=0;b<a.length;b++)a[b]!==null&&c.data("ec.storage."+a[b],c[0].style[a[b]])},restore:function(c,a){for(var b=0;b<a.length;b++)a[b]!==null&&c.css(a[b],c.data("ec.storage."+a[b]))},setMode:function(c,a){if(a=="toggle")a=c.is(":hidden")?"show":"hide";return a},getBaseline:function(c,
 a){var b;switch(c[0]){case "top":b=0;break;case "middle":b=0.5;break;case "bottom":b=1;break;default:b=c[0]/a.height}switch(c[1]){case "left":c=0;break;case "center":c=0.5;break;case "right":c=1;break;default:c=c[1]/a.width}return{x:c,y:b}},createWrapper:function(c){if(c.parent().is(".ui-effects-wrapper"))return c.parent();var a={width:c.outerWidth(true),height:c.outerHeight(true),"float":c.css("float")},b=f("<div></div>").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",
 border:"none",margin:0,padding:0});c.wrap(b);b=c.parent();if(c.css("position")=="static"){b.css({position:"relative"});c.css({position:"relative"})}else{f.extend(a,{position:c.css("position"),zIndex:c.css("z-index")});f.each(["top","left","bottom","right"],function(d,e){a[e]=c.css(e);if(isNaN(parseInt(a[e],10)))a[e]="auto"});c.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})}return b.css(a).show()},removeWrapper:function(c){if(c.parent().is(".ui-effects-wrapper"))return c.parent().replaceWith(c);
 return c},setTransition:function(c,a,b,d){d=d||{};f.each(a,function(e,g){unit=c.cssUnit(g);if(unit[0]>0)d[g]=unit[0]*b+unit[1]});return d}});f.fn.extend({effect:function(c){var a=k.apply(this,arguments),b={options:a[1],duration:a[2],callback:a[3]};a=b.options.mode;var d=f.effects[c];if(f.fx.off||!d)return a?this[a](b.duration,b.callback):this.each(function(){b.callback&&b.callback.call(this)});return d.call(this,b)},_show:f.fn.show,show:function(c){if(m(c))return this._show.apply(this,arguments);
@@ -591,7 +592,7 @@ g/(2*Math.PI)*Math.asin(d/h);return-(h*Math.pow(2,10*(a-=1))*Math.sin((a*e-c)*2*
 h);if(a<1)return-0.5*h*Math.pow(2,10*(a-=1))*Math.sin((a*e-c)*2*Math.PI/g)+b;return h*Math.pow(2,-10*(a-=1))*Math.sin((a*e-c)*2*Math.PI/g)*0.5+d+b},easeInBack:function(c,a,b,d,e,g){if(g==j)g=1.70158;return d*(a/=e)*a*((g+1)*a-g)+b},easeOutBack:function(c,a,b,d,e,g){if(g==j)g=1.70158;return d*((a=a/e-1)*a*((g+1)*a+g)+1)+b},easeInOutBack:function(c,a,b,d,e,g){if(g==j)g=1.70158;if((a/=e/2)<1)return d/2*a*a*(((g*=1.525)+1)*a-g)+b;return d/2*((a-=2)*a*(((g*=1.525)+1)*a+g)+2)+b},easeInBounce:function(c,
 a,b,d,e){return d-f.easing.easeOutBounce(c,e-a,0,d,e)+b},easeOutBounce:function(c,a,b,d,e){return(a/=e)<1/2.75?d*7.5625*a*a+b:a<2/2.75?d*(7.5625*(a-=1.5/2.75)*a+0.75)+b:a<2.5/2.75?d*(7.5625*(a-=2.25/2.75)*a+0.9375)+b:d*(7.5625*(a-=2.625/2.75)*a+0.984375)+b},easeInOutBounce:function(c,a,b,d,e){if(a<e/2)return f.easing.easeInBounce(c,a*2,0,d,e)*0.5+b;return f.easing.easeOutBounce(c,a*2-e,0,d,e)*0.5+d*0.5+b}})}(jQuery);
 ;/*
- * jQuery UI Effects Blind 1.8.10
+ * jQuery UI Effects Blind 1.8.11
  *
  * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
  * Dual licensed under the MIT or GPL Version 2 licenses.
@@ -605,7 +606,7 @@ a,b,d,e){return d-f.easing.easeOutBounce(c,e-a,0,d,e)+b},easeOutBounce:function(
 (function(b){b.effects.blind=function(c){return this.queue(function(){var a=b(this),g=["position","top","bottom","left","right"],f=b.effects.setMode(a,c.options.mode||"hide"),d=c.options.direction||"vertical";b.effects.save(a,g);a.show();var e=b.effects.createWrapper(a).css({overflow:"hidden"}),h=d=="vertical"?"height":"width";d=d=="vertical"?e.height():e.width();f=="show"&&e.css(h,0);var i={};i[h]=f=="show"?d:0;e.animate(i,c.duration,c.options.easing,function(){f=="hide"&&a.hide();b.effects.restore(a,
 g);b.effects.removeWrapper(a);c.callback&&c.callback.apply(a[0],arguments);a.dequeue()})})}})(jQuery);
 ;/*
- * jQuery UI Effects Bounce 1.8.10
+ * jQuery UI Effects Bounce 1.8.11
  *
  * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
  * Dual licensed under the MIT or GPL Version 2 licenses.
@@ -620,7 +621,7 @@ g);b.effects.removeWrapper(a);c.callback&&c.callback.apply(a[0],arguments);a.deq
 3);if(h=="show")a.css("opacity",0).css(f,d=="pos"?-c:c);if(h=="hide")c/=m*2;h!="hide"&&m--;if(h=="show"){var g={opacity:1};g[f]=(d=="pos"?"+=":"-=")+c;a.animate(g,i/2,b.options.easing);c/=2;m--}for(g=0;g<m;g++){var j={},k={};j[f]=(d=="pos"?"-=":"+=")+c;k[f]=(d=="pos"?"+=":"-=")+c;a.animate(j,i/2,b.options.easing).animate(k,i/2,b.options.easing);c=h=="hide"?c*2:c/2}if(h=="hide"){g={opacity:0};g[f]=(d=="pos"?"-=":"+=")+c;a.animate(g,i/2,b.options.easing,function(){a.hide();e.effects.restore(a,l);e.effects.removeWrapper(a);
 b.callback&&b.callback.apply(this,arguments)})}else{j={};k={};j[f]=(d=="pos"?"-=":"+=")+c;k[f]=(d=="pos"?"+=":"-=")+c;a.animate(j,i/2,b.options.easing).animate(k,i/2,b.options.easing,function(){e.effects.restore(a,l);e.effects.removeWrapper(a);b.callback&&b.callback.apply(this,arguments)})}a.queue("fx",function(){a.dequeue()});a.dequeue()})}})(jQuery);
 ;/*
- * jQuery UI Effects Clip 1.8.10
+ * jQuery UI Effects Clip 1.8.11
  *
  * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
  * Dual licensed under the MIT or GPL Version 2 licenses.
@@ -634,7 +635,7 @@ b.callback&&b.callback.apply(this,arguments)})}else{j={};k={};j[f]=(d=="pos"?"-=
 (function(b){b.effects.clip=function(e){return this.queue(function(){var a=b(this),i=["position","top","bottom","left","right","height","width"],f=b.effects.setMode(a,e.options.mode||"hide"),c=e.options.direction||"vertical";b.effects.save(a,i);a.show();var d=b.effects.createWrapper(a).css({overflow:"hidden"});d=a[0].tagName=="IMG"?d:a;var g={size:c=="vertical"?"height":"width",position:c=="vertical"?"top":"left"};c=c=="vertical"?d.height():d.width();if(f=="show"){d.css(g.size,0);d.css(g.position,
 c/2)}var h={};h[g.size]=f=="show"?c:0;h[g.position]=f=="show"?0:c/2;d.animate(h,{queue:false,duration:e.duration,easing:e.options.easing,complete:function(){f=="hide"&&a.hide();b.effects.restore(a,i);b.effects.removeWrapper(a);e.callback&&e.callback.apply(a[0],arguments);a.dequeue()}})})}})(jQuery);
 ;/*
- * jQuery UI Effects Drop 1.8.10
+ * jQuery UI Effects Drop 1.8.11
  *
  * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
  * Dual licensed under the MIT or GPL Version 2 licenses.
@@ -648,7 +649,7 @@ c/2)}var h={};h[g.size]=f=="show"?c:0;h[g.position]=f=="show"?0:c/2;d.animate(h,
 (function(c){c.effects.drop=function(d){return this.queue(function(){var a=c(this),h=["position","top","bottom","left","right","opacity"],e=c.effects.setMode(a,d.options.mode||"hide"),b=d.options.direction||"left";c.effects.save(a,h);a.show();c.effects.createWrapper(a);var f=b=="up"||b=="down"?"top":"left";b=b=="up"||b=="left"?"pos":"neg";var g=d.options.distance||(f=="top"?a.outerHeight({margin:true})/2:a.outerWidth({margin:true})/2);if(e=="show")a.css("opacity",0).css(f,b=="pos"?-g:g);var i={opacity:e==
 "show"?1:0};i[f]=(e=="show"?b=="pos"?"+=":"-=":b=="pos"?"-=":"+=")+g;a.animate(i,{queue:false,duration:d.duration,easing:d.options.easing,complete:function(){e=="hide"&&a.hide();c.effects.restore(a,h);c.effects.removeWrapper(a);d.callback&&d.callback.apply(this,arguments);a.dequeue()}})})}})(jQuery);
 ;/*
- * jQuery UI Effects Explode 1.8.10
+ * jQuery UI Effects Explode 1.8.11
  *
  * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
  * Dual licensed under the MIT or GPL Version 2 licenses.
@@ -663,7 +664,7 @@ c/2)}var h={};h[g.size]=f=="show"?c:0;h[g.position]=f=="show"?0:c/2;d.animate(h,
 0;f<d;f++)b.clone().appendTo("body").wrap("<div></div>").css({position:"absolute",visibility:"visible",left:-f*(h/d),top:-e*(i/c)}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:h/d,height:i/c,left:g.left+f*(h/d)+(a.options.mode=="show"?(f-Math.floor(d/2))*(h/d):0),top:g.top+e*(i/c)+(a.options.mode=="show"?(e-Math.floor(c/2))*(i/c):0),opacity:a.options.mode=="show"?0:1}).animate({left:g.left+f*(h/d)+(a.options.mode=="show"?0:(f-Math.floor(d/2))*(h/d)),top:g.top+
 e*(i/c)+(a.options.mode=="show"?0:(e-Math.floor(c/2))*(i/c)),opacity:a.options.mode=="show"?1:0},a.duration||500);setTimeout(function(){a.options.mode=="show"?b.css({visibility:"visible"}):b.css({visibility:"visible"}).hide();a.callback&&a.callback.apply(b[0]);b.dequeue();j("div.ui-effects-explode").remove()},a.duration||500)})}})(jQuery);
 ;/*
- * jQuery UI Effects Fade 1.8.10
+ * jQuery UI Effects Fade 1.8.11
  *
  * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
  * Dual licensed under the MIT or GPL Version 2 licenses.
@@ -676,7 +677,7 @@ e*(i/c)+(a.options.mode=="show"?0:(e-Math.floor(c/2))*(i/c)),opacity:a.options.m
  */
 (function(b){b.effects.fade=function(a){return this.queue(function(){var c=b(this),d=b.effects.setMode(c,a.options.mode||"hide");c.animate({opacity:d},{queue:false,duration:a.duration,easing:a.options.easing,complete:function(){a.callback&&a.callback.apply(this,arguments);c.dequeue()}})})}})(jQuery);
 ;/*
- * jQuery UI Effects Fold 1.8.10
+ * jQuery UI Effects Fold 1.8.11
  *
  * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
  * Dual licensed under the MIT or GPL Version 2 licenses.
@@ -690,7 +691,7 @@ e*(i/c)+(a.options.mode=="show"?0:(e-Math.floor(c/2))*(i/c)),opacity:a.options.m
 (function(c){c.effects.fold=function(a){return this.queue(function(){var b=c(this),j=["position","top","bottom","left","right"],d=c.effects.setMode(b,a.options.mode||"hide"),g=a.options.size||15,h=!!a.options.horizFirst,k=a.duration?a.duration/2:c.fx.speeds._default/2;c.effects.save(b,j);b.show();var e=c.effects.createWrapper(b).css({overflow:"hidden"}),f=d=="show"!=h,l=f?["width","height"]:["height","width"];f=f?[e.width(),e.height()]:[e.height(),e.width()];var i=/([0-9]+)%/.exec(g);if(i)g=parseInt(i[1],
 10)/100*f[d=="hide"?0:1];if(d=="show")e.css(h?{height:0,width:g}:{height:g,width:0});h={};i={};h[l[0]]=d=="show"?f[0]:g;i[l[1]]=d=="show"?f[1]:0;e.animate(h,k,a.options.easing).animate(i,k,a.options.easing,function(){d=="hide"&&b.hide();c.effects.restore(b,j);c.effects.removeWrapper(b);a.callback&&a.callback.apply(b[0],arguments);b.dequeue()})})}})(jQuery);
 ;/*
- * jQuery UI Effects Highlight 1.8.10
+ * jQuery UI Effects Highlight 1.8.11
  *
  * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
  * Dual licensed under the MIT or GPL Version 2 licenses.
@@ -704,7 +705,7 @@ e*(i/c)+(a.options.mode=="show"?0:(e-Math.floor(c/2))*(i/c)),opacity:a.options.m
 (function(b){b.effects.highlight=function(c){return this.queue(function(){var a=b(this),e=["backgroundImage","backgroundColor","opacity"],d=b.effects.setMode(a,c.options.mode||"show"),f={backgroundColor:a.css("backgroundColor")};if(d=="hide")f.opacity=0;b.effects.save(a,e);a.show().css({backgroundImage:"none",backgroundColor:c.options.color||"#ffff99"}).animate(f,{queue:false,duration:c.duration,easing:c.options.easing,complete:function(){d=="hide"&&a.hide();b.effects.restore(a,e);d=="show"&&!b.support.opacity&&
 this.style.removeAttribute("filter");c.callback&&c.callback.apply(this,arguments);a.dequeue()}})})}})(jQuery);
 ;/*
- * jQuery UI Effects Pulsate 1.8.10
+ * jQuery UI Effects Pulsate 1.8.11
  *
  * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
  * Dual licensed under the MIT or GPL Version 2 licenses.
@@ -718,7 +719,7 @@ this.style.removeAttribute("filter");c.callback&&c.callback.apply(this,arguments
 (function(d){d.effects.pulsate=function(a){return this.queue(function(){var b=d(this),c=d.effects.setMode(b,a.options.mode||"show");times=(a.options.times||5)*2-1;duration=a.duration?a.duration/2:d.fx.speeds._default/2;isVisible=b.is(":visible");animateTo=0;if(!isVisible){b.css("opacity",0).show();animateTo=1}if(c=="hide"&&isVisible||c=="show"&&!isVisible)times--;for(c=0;c<times;c++){b.animate({opacity:animateTo},duration,a.options.easing);animateTo=(animateTo+1)%2}b.animate({opacity:animateTo},duration,
 a.options.easing,function(){animateTo==0&&b.hide();a.callback&&a.callback.apply(this,arguments)});b.queue("fx",function(){b.dequeue()}).dequeue()})}})(jQuery);
 ;/*
- * jQuery UI Effects Scale 1.8.10
+ * jQuery UI Effects Scale 1.8.11
  *
  * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
  * Dual licensed under the MIT or GPL Version 2 licenses.
@@ -738,7 +739,7 @@ a.css("overflow","hidden").css(a.from);if(m=="content"||m=="both"){f=f.concat(["
 child.to=c.effects.setTransition(child,f,d.to.y,child.to)}if(d.from.x!=d.to.x){child.from=c.effects.setTransition(child,k,d.from.x,child.from);child.to=c.effects.setTransition(child,k,d.to.x,child.to)}child.css(child.from);child.animate(child.to,b.duration,b.options.easing,function(){n&&c.effects.restore(child,h)})})}a.animate(a.to,{queue:false,duration:b.duration,easing:b.options.easing,complete:function(){a.to.opacity===0&&a.css("opacity",a.from.opacity);p=="hide"&&a.hide();c.effects.restore(a,
 n?e:g);c.effects.removeWrapper(a);b.callback&&b.callback.apply(this,arguments);a.dequeue()}})})}})(jQuery);
 ;/*
- * jQuery UI Effects Shake 1.8.10
+ * jQuery UI Effects Shake 1.8.11
  *
  * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
  * Dual licensed under the MIT or GPL Version 2 licenses.
@@ -752,7 +753,7 @@ n?e:g);c.effects.removeWrapper(a);b.callback&&b.callback.apply(this,arguments);a
 (function(d){d.effects.shake=function(a){return this.queue(function(){var b=d(this),j=["position","top","bottom","left","right"];d.effects.setMode(b,a.options.mode||"effect");var c=a.options.direction||"left",e=a.options.distance||20,l=a.options.times||3,f=a.duration||a.options.duration||140;d.effects.save(b,j);b.show();d.effects.createWrapper(b);var g=c=="up"||c=="down"?"top":"left",h=c=="up"||c=="left"?"pos":"neg";c={};var i={},k={};c[g]=(h=="pos"?"-=":"+=")+e;i[g]=(h=="pos"?"+=":"-=")+e*2;k[g]=
 (h=="pos"?"-=":"+=")+e*2;b.animate(c,f,a.options.easing);for(e=1;e<l;e++)b.animate(i,f,a.options.easing).animate(k,f,a.options.easing);b.animate(i,f,a.options.easing).animate(c,f/2,a.options.easing,function(){d.effects.restore(b,j);d.effects.removeWrapper(b);a.callback&&a.callback.apply(this,arguments)});b.queue("fx",function(){b.dequeue()});b.dequeue()})}})(jQuery);
 ;/*
- * jQuery UI Effects Slide 1.8.10
+ * jQuery UI Effects Slide 1.8.11
  *
  * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
  * Dual licensed under the MIT or GPL Version 2 licenses.
@@ -766,7 +767,7 @@ n?e:g);c.effects.removeWrapper(a);b.callback&&b.callback.apply(this,arguments);a
 (function(c){c.effects.slide=function(d){return this.queue(function(){var a=c(this),h=["position","top","bottom","left","right"],f=c.effects.setMode(a,d.options.mode||"show"),b=d.options.direction||"left";c.effects.save(a,h);a.show();c.effects.createWrapper(a).css({overflow:"hidden"});var g=b=="up"||b=="down"?"top":"left";b=b=="up"||b=="left"?"pos":"neg";var e=d.options.distance||(g=="top"?a.outerHeight({margin:true}):a.outerWidth({margin:true}));if(f=="show")a.css(g,b=="pos"?isNaN(e)?"-"+e:-e:e);
 var i={};i[g]=(f=="show"?b=="pos"?"+=":"-=":b=="pos"?"-=":"+=")+e;a.animate(i,{queue:false,duration:d.duration,easing:d.options.easing,complete:function(){f=="hide"&&a.hide();c.effects.restore(a,h);c.effects.removeWrapper(a);d.callback&&d.callback.apply(this,arguments);a.dequeue()}})})}})(jQuery);
 ;/*
- * jQuery UI Effects Transfer 1.8.10
+ * jQuery UI Effects Transfer 1.8.11
  *
  * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
  * Dual licensed under the MIT or GPL Version 2 licenses.
diff --git a/IPython/frontend/html/notebook/static/jquery/js/jquery.autogrow-textarea.js b/IPython/frontend/html/notebook/static/jquery/js/jquery.autogrow-textarea.js
deleted file mode 100644
index 31925aa..0000000
--- a/IPython/frontend/html/notebook/static/jquery/js/jquery.autogrow-textarea.js
+++ /dev/null
@@ -1,54 +0,0 @@
-(function($) {
-
-    /*
-     * Auto-growing textareas; technique ripped from Facebook
-     */
-    $.fn.autogrow = function(options) {
-        
-        this.filter('textarea').each(function() {
-            
-            var $this       = $(this),
-                minHeight   = $this.height(),
-                lineHeight  = $this.css('lineHeight');
-            
-            var shadow = $('<div></div>').css({
-                position:   'absolute',
-                top:        -10000,
-                left:       -10000,
-                width:      $(this).width() - parseInt($this.css('paddingLeft')) - parseInt($this.css('paddingRight')),
-                fontSize:   $this.css('fontSize'),
-                fontFamily: $this.css('fontFamily'),
-                lineHeight: $this.css('lineHeight'),
-                resize:     'none'
-            }).appendTo(document.body);
-            
-            var update = function() {
-    
-                var times = function(string, number) {
-                    for (var i = 0, r = ''; i < number; i ++) r += string;
-                    return r;
-                };
-                
-                var val = this.value.replace(/</g, '&lt;')
-                                    .replace(/>/g, '&gt;')
-                                    .replace(/&/g, '&amp;')
-                                    .replace(/\n$/, '<br/>&nbsp;')
-                                    .replace(/\n/g, '<br/>')
-                                    .replace(/ {2,}/g, function(space) { return times('&nbsp;', space.length -1) + ' ' });
-                
-                shadow.html(val);
-                $(this).css('height', Math.max(shadow.height() + 20, minHeight)); // 20- was default
-            
-            }
-            
-            $(this).change(update).keyup(update).keydown(update);
-            
-            update.apply(this);
-            
-        });
-        
-        return this;
-        
-    }
-    
-})(jQuery);
\ No newline at end of file
diff --git a/IPython/frontend/html/notebook/static/jquery/js/jquery.wijmo-open.1.1.3.min.js b/IPython/frontend/html/notebook/static/jquery/js/jquery.wijmo-open.1.1.3.min.js
deleted file mode 100755
index ca31904..0000000
--- a/IPython/frontend/html/notebook/static/jquery/js/jquery.wijmo-open.1.1.3.min.js
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- *
- * Wijmo Library 1.1.3
- * http://wijmo.com/
- *
- * Copyright(c) ComponentOne, LLC.  All rights reserved.
- * 
- * Dual licensed under the MIT or GPL Version 2 licenses.
- * licensing@wijmo.com
- * http://www.wijmo.com/license
- *
- **/
-(function(a){a.fn.extend({wijContent:function(a){return this.each(function(){this.innerHTML='<iframe frameborder="0" style="width: 100%; height: 100%;" src="'+a+'">"'})}});var b=function(a){return isNaN(a)?0:a};a.fn.leftBorderWidth=function(){var d=parseFloat(a(this).css("borderLeftWidth")),e=parseFloat(a(this).css("padding-left")),c=0;if(a(this).css("margin-left")!="auto")c=parseFloat(a(this).css("margin-left"));return b(d)+b(e)+b(c)};a.fn.rightBorderWidth=function(){var d=parseFloat(a(this).css("borderRightWidth")),e=parseFloat(a(this).css("padding-right")),c=0;if(a(this).css("margin-right")!="auto")c=parseFloat(a(this).css("margin-right"));return b(d)+b(e)+b(c)};a.fn.topBorderWidth=function(){var d=parseFloat(a(this).css("borderTopWidth")),e=parseFloat(a(this).css("padding-top")),c=0;if(a(this).css("margin-top")!="auto")c=parseFloat(a(this).css("margin-top"));return b(d)+b(e)+b(c)};a.fn.bottomBorderWidth=function(){var d=parseFloat(a(this).css("borderBottomWidth")),e=parseFloat(a(this).css("padding-bottom")),c=0;if(a(this).css("margin-bottom")!="auto")c=parseFloat(a(this).css("margin-bottom"));return b(d)+b(e)+b(c)};a.fn.borderSize=function(){var c=a(this).leftBorderWidth()+a(this).rightBorderWidth(),b=a(this).topBorderWidth()+a(this).bottomBorderWidth(),d={width:c,height:b};return d};a.fn.setOutWidth=function(b){var c=a(this).leftBorderWidth()+a(this).rightBorderWidth();a(this).width(b-c);return this};a.fn.setOutHeight=function(b){var c=a(this).topBorderWidth()+a(this).bottomBorderWidth();a(this).height(b-c);return this};a.fn.getWidget=function(){var a=this.data("widgetName");return a&&a!=""?this.data(a):null};a.fn.wijshow=function(b,e,g,f,d){var c=b.animated||false,h=b.duration||400,i=b.easing,j=b.option||{};f&&a.isFunction(f)&&f.call(this);if(c){if(a.effects&&a.effects[c]){this.show(c,a.extend(j,{easing:i}),h,d);return}if(e&&e[c]){e[c](b,a.extend(g,{complete:d}));return}}this.show();d&&a.isFunction(d)&&d.call(this)};a.fn.wijhide=function(d,e,g,f,c){var b=d.animated||false,h=d.duration||400,i=d.easing,j=d.option||{};f&&a.isFunction(f)&&f.call(this);if(b){if(a.effects&&a.effects[b]){this.hide(b,a.extend(j,{easing:i}),h,c);return}if(e&&e[b]){e[b](newAnimations,a.extend(g,{complete:c}));return}}this.hide();c&&a.isFunction(c)&&c.call(this)};var c=function(){};a.extend(c.prototype,{_UTFPunctuationsString:" ! \" # % & ' ( ) * , - . / : ; ? @ [ \\ ] { } \u00a1 \u00ab \u00ad \u00b7 \u00bb \u00bf \u037e \u0387 \u055a \u055b \u055c \u055d \u055e \u055f \u0589 \u058a \u05be \u05c0 \u05c3 \u05f3 \u05f4 \u060c \u061b \u061f \u066a \u066b \u066c \u066d \u06d4 \u0700 \u0701 \u0702 \u0703 \u0704 \u0705 \u0706 \u0707 \u0708 \u0709 \u070a \u070b \u070c \u070d \u0964 \u0965 \u0970 \u0df4 \u0e4f \u0e5a \u0e5b \u0f04 \u0f05 \u0f06 \u0f07 \u0f08 \u0f09 \u0f0a \u0f0b \u0f0c \u0f0d \u0f0e \u0f0f \u0f10 \u0f11 \u0f12 \u0f3a \u0f3b \u0f3c \u0f3d \u0f85 \u104a \u104b \u104c \u104d \u104e \u104f \u10fb \u1361 \u1362 \u1363 \u1364 \u1365 \u1366 \u1367 \u1368 \u166d \u166e \u169b \u169c \u16eb \u16ec \u16ed \u17d4 \u17d5 \u17d6 \u17d7 \u17d8 \u17d9 \u17da \u17dc \u1800 \u1801 \u1802 \u1803 \u1804 \u1805 \u1806 \u1807 \u1808 \u1809 \u180a \u2010 \u2011 \u2012 \u2013 \u2014 \u2015 \u2016 \u2017 \u2018 \u2019 \u201a \u201b \u201c \u201d \u201e \u201f \u2020 \u2021 \u2022 \u2023 \u2024 \u2025 \u2026 \u2027 \u2030 \u2031 \u2032 \u2033 \u2034 \u2035 \u2036 \u2037 \u2038 \u2039 \u203a \u203b \u203c \u203d \u203e \u2041 \u2042 \u2043 \u2045 \u2046 \u2048 \u2049 \u204a \u204b \u204c \u204d \u207d \u207e \u208d \u208e \u2329 \u232a \u3001 \u3002 \u3003 \u3008 \u3009 \u300a \u300b \u300c \u300d \u300e \u300f \u3010 \u3011 \u3014 \u3015 \u3016 \u3017 \u3018 \u3019 \u301a \u301b \u301c \u301d \u301e \u301f \u3030 \ufd3e \ufd3f \ufe30 \ufe31 \ufe32 \ufe35 \ufe36 \ufe37 \ufe38 \ufe39 \ufe3a \ufe3b \ufe3c \ufe3d \ufe3e \ufe3f \ufe40 \ufe41 \ufe42 \ufe43 \ufe44 \ufe49 \ufe4a \ufe4b \ufe4c \ufe50 \ufe51 \ufe52 \ufe54 \ufe55 \ufe56 \ufe57 \ufe58 \ufe59 \ufe5a \ufe5b \ufe5c \ufe5d \ufe5e \ufe5f \ufe60 \ufe61 \ufe63 \ufe68 \ufe6a \ufe6b \uff01 \uff02 \uff03 \uff05 \uff06 \uff07 \uff08 \uff09 \uff0a \uff0c \uff0d \uff0e \uff0f \uff1a \uff1b \uff1f \uff20 \uff3b \uff3c \uff3d \uff5b \uff5d \uff61 \uff62 \uff63 \uff64';this.UTFWhitespacesString_='\t \13 \f \37   \u00a0 \u1680 \u2000 \u2001 \u2002 \u2003 \u2004 \u2005 \u2006 \u2007 \u2008 \u2009 \u200a \u200b \u2028 \u202f \u3000",isDigit:function(a){return a>="0"&&a<="9"},isLetter:function(a){return!!(a+"").match(new RegExp("[A-Za-z\u00aa\u00b5\u00ba\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u021f\u0222-\u0233\u0250-\u02ad\u02b0-\u02b8\u02bb-\u02c1\u02d0\u02d1\u02e0-\u02e4\u02ee\u037a\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03ce\u03d0-\u03d7\u03da-\u03f3\u0400-\u0481\u048c-\u04c4\u04c7\u04c8\u04cb\u04cc\u04d0-\u04f5\u04f8\u04f9\u0531-\u0556\u0559\u0561-\u0587\u05d0-\u05ea\u05f0-\u05f2\u0621-\u063a\u0640-\u064a\u0671-\u06d3\u06d5\u06e5\u06e6\u06fa-\u06fc\u0710\u0712-\u072c\u0780-\u07a5\u0905-\u0939\u093d\u0950\u0958-\u0961\u0985-\u098c\u098f\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09dc\u09dd\u09df-\u09e1\u09f0\u09f1\u0a05-\u0a0a\u0a0f\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8b\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0\u0b05-\u0b0c\u0b0f\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32\u0b33\u0b36-\u0b39\u0b3d\u0b5c\u0b5d\u0b5f-\u0b61\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99\u0b9a\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8-\u0baa\u0bae-\u0bb5\u0bb7-\u0bb9\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c33\u0c35-\u0c39\u0c60\u0c61\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cde\u0ce0\u0ce1\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d28\u0d2a-\u0d39\u0d60\u0d61\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32\u0e33\u0e40-\u0e46\u0e81\u0e82\u0e84\u0e87\u0e88\u0e8a\u0e8d\u0e94-\u0e97\u0e99-\u0e9f\u0ea1-\u0ea3\u0ea5\u0ea7\u0eaa\u0eab\u0ead-\u0eb0\u0eb2\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0edc\u0edd\u0f00\u0f40-\u0f47\u0f49-\u0f6a\u0f88-\u0f8b\u1000-\u1021\u1023-\u1027\u1029\u102a\u1050-\u1055\u10a0-\u10c5\u10d0-\u10f6\u1100-\u1159\u115f-\u11a2\u11a8-\u11f9\u1200-\u1206\u1208-\u1246\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1286\u1288\u128a-\u128d\u1290-\u12ae\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12ce\u12d0-\u12d6\u12d8-\u12ee\u12f0-\u130e\u1310\u1312-\u1315\u1318-\u131e\u1320-\u1346\u1348-\u135a\u13a0-\u13f4\u1401-\u166c\u166f-\u1676\u1681-\u169a\u16a0-\u16ea\u1780-\u17b3\u1820-\u1877\u1880-\u18a8\u1e00-\u1e9b\u1ea0-\u1ef9\u1f00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u207f\u2102\u2107\u210a-\u2113\u2115\u2119-\u211d\u2124\u2126\u2128\u212a-\u212d\u212f-\u2131\u2133-\u2139\u3005\u3006\u3031-\u3035\u3041-\u3094\u309d\u309e\u30a1-\u30fa\u30fc-\u30fe\u3105-\u312c\u3131-\u318e\u31a0-\u31b7\u3400-\u4db5\u4e00-\u9fa5\ua000-\ua48c\uac00-\ud7a3\uf900-\ufa2d\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40\ufb41\ufb43\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe72\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc]"))},isLetterOrDigit:function(a){return this.isLetter(a)||this.isDigit(a)},isSymbol:function(b){var a=new RegExp("[$+<->^`|~\u00a2-\u00a9\u00ac\u00ae-\u00b1\u00b4\u00b6\u00b8\u00d7\u00f7\u02b9\u02ba\u02c2-\u02cf\u02d2-\u02df\u02e5-\u02ed\u0374\u0375\u0384\u0385\u0482\u06e9\u06fd\u06fe\u09f2\u09f3\u09fa\u0b70\u0e3f\u0f01-\u0f03\u0f13-\u0f17\u0f1a-\u0f1f\u0f34\u0f36\u0f38\u0fbe-\u0fc5\u0fc7-\u0fcc\u0fcf\u17db\u1fbd\u1fbf-\u1fc1\u1fcd-\u1fcf\u1fdd-\u1fdf\u1fed-\u1fef\u1ffd\u1ffe\u2044\u207a-\u207c\u208a-\u208c\u20a0-\u20af\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211e-\u2123\u2125\u2127\u2129\u212e\u2132\u213a\u2190-\u21f3\u2200-\u22f1\u2300-\u2328\u232b-\u237b\u237d-\u239a\u2400-\u2426\u2440-\u244a\u249c-\u24e9\u2500-\u2595\u25a0-\u25f7\u2600-\u2613\u2619-\u2671\u2701-\u2704\u2706-\u2709\u270c-\u2727\u2729-\u274b\u274d\u274f-\u2752\u2756\u2758-\u275e\u2761-\u2767\u2794\u2798-\u27af\u27b1-\u27be\u2800-\u28ff\u2e80-\u2e99\u2e9b-\u2ef3\u2f00-\u2fd5\u2ff0-\u2ffb\u3004\u3012\u3013\u3020\u3036\u3037\u303e\u303f\u309b\u309c\u3190\u3191\u3196-\u319f\u3200-\u321c\u322a-\u3243\u3260-\u327b\u327f\u328a-\u32b0\u32c0-\u32cb\u32d0-\u32fe\u3300-\u3376\u337b-\u33dd\u33e0-\u33fe\ua490-\ua4a1\ua4a4-\ua4b3\ua4b5-\ua4c0\ua4c2-\ua4c4\ua4c6\ufb29\ufe62\ufe64-\ufe66\ufe69\uff04\uff0b\uff1c-\uff1e\uff3e\uff40\uff5c\uff5e\uffe0-\uffe6\uffe8-\uffee\ufffc\ufffd]");return a.test(b+"")},isPunctuation:function(a){return this._UTFPunctuationsString.indexOf(a)>=0},isPrintableChar:function(a){return!this.isLetterOrDigit(a)&&!this.isPunctuation(a)&&!this.isSymbol(a)?a===" ":true},isAscii:function(a){return a>="!"&&a<="~"},isAsciiLetter:function(a){return a>="A"&&a<="Z"||a>="a"&&a<="z"},isUpper:function(a){return a.toUpperCase()===a},isLower:function(a){return a.toLowerCase()===a},isAlphanumeric:function(a){return!this.isLetter(a)?this.isDigit(a):true},isAciiAlphanumeric:function(a){return(a<"0"||a>"9")&&(a<"A"||a>"Z")?a>="a"?a<="z":false:true},setChar:function(a,c,b){return b>=a.length||b<0?a:""||a.substr(0,b)+c+a.substr(b+1)}});!a.wij&&a.extend({wij:{charValidator:new c}})})(jQuery);__wijReadOptionEvents=function(c,b){for(var a=0;a<c.length;a++)b.options[c[a]]!=null&&b.element.bind(c[a],b.options[c[a]]);for(a in b.options)if(a.indexOf(" ")!=-1)for(var e=a.split(" "),d=0;d<e.length;d++)e[d].length>0&&b.element.bind(e[d],b.options[a])};
-(function(a){"use strict";var g="@wijtp@",b="wijmo-wijtooltip",e=b+"-arrow-",c=parseFloat,i=window,d=document,j=Math,h=j.max,f={};a.widget("wijmo.wijtooltip",{options:{content:"",title:"",closeBehavior:"auto",mouseTrailing:false,triggers:"hover",position:{my:"left bottom",at:"right top",offset:null},showCallout:true,animation:{animated:"fade",duration:500,easing:null},showAnimation:{},hideAnimation:{},showDelay:150,hideDelay:150,calloutAnimation:{duration:1e3,disabled:false,easing:null},calloutFilled:true,modal:false,group:null,ajaxCallback:false,showing:null,shown:null,hiding:null,hidden:null},_setOption:function(f,c){var b=this,e="_set_"+f,d=b.options[f];if(a.isPlainObject(c))c=a.extend({},d,c);a.Widget.prototype._setOption.apply(b,arguments);b[e]&&b[e](d)},_set_content:function(){var a=this;if(a._isAjaxCallback){a._callbacked=true;a.show();a._callbacked=false}},_create:function(){var c=this,i=c.options,e=c.element,h=e&&e.attr("id"),d="",f=i.group||g,b=a.wijmo.wijtooltip._getTooltip(f);if(b)b.count++;else{b=c._createTooltip();b.count=0;a.wijmo.wijtooltip._tooltips[f]=b}i.position.of=c.element;c._bindLiveEvents();c._tooltip=b;if(h!==""){d=b.attr("aria-describedby");d=d===undefined?"":d+" ";b.attr("aria-describedby",d+h)}},destroy:function(){var b=this,c=b.element,d=b.options.group||g;c.unbind(".tooltip");c.attr("title",b._content);a.wijmo.wijtooltip._removeTooltip(d);a.Widget.prototype.destroy.apply(b)},widget:function(){return this._tooltip},show:function(){var b=this,c=b._tooltip,d=b.options;if(!c)return;if(c._hideAnimationTimer){clearTimeout(c._hideAnimationTimer);c._hideAnimationTimer=null}c.stop(true,true);if(d.ajaxCallback&&a.isFunction(d.ajaxCallback)&&!b._callbacked){b._isAjaxCallback=true;d.ajaxCallback.call(b.element);return}c._showAnimationTimer=setTimeout(function(){b._setText();f=c.offset();b._setPosition();b._showTooltip()},b.options.showDelay)},showAt:function(a){var e=this,b=e._tooltip,n=b&&b._callout,m={},k=0,l=0,o={},g,h,c,d,j,i;if(!b||!n)return;b.stop(true,true);b._showAnimataionTimer=setTimeout(function(){e._setText();f=b.offset();b.offset({left:0,top:0}).show();m=n.position();k=m.left;l=m.top;h=e._getBorder(n);c=h.left||h.right;d=h.top||h.bottom;j=b.width();i=b.height();g=e._getCalloutShape();o=({rt:{left:a.x-j-c,top:a.y-l},rc:{left:a.x-j-c,top:a.y-i/2},rb:{left:a.x-j-c,top:a.y-l-d},lt:{left:a.x+c,top:a.y-l},lc:{left:a.x+c,top:a.y-i/2},lb:{left:a.x+c,top:a.y-l-d},tl:{left:a.x-k,top:a.y+d},tc:{left:a.x-j/2,top:a.y+d},tr:{left:a.x-k-c,top:a.y+d},bl:{left:a.x-k,top:a.y-i-d},bc:{left:a.x-j/2,top:a.y-i-d},br:{left:a.x-k-c,top:a.y-i-d}})[g];g=e._flipTooltip(o,g,h);e._setUnfilledCallout(g);b.offset(o).hide();e._calloutShape=g;e._showTooltip()},e.options.showDelay)},hide:function(){var b=this,c=b._tooltip;if(!c)return;clearTimeout(c._showAnimationTimer);c._hideAnimationTimer=setTimeout(a.proxy(b._hideTooltip,b),b.options.hideDelay)},_createTooltip:function(){var j=this,d="ui-corner-all",f="ui-widget-content",k="ui-state-default",l="ui-widget-header",c=a("<div class = '"+b+" ui-widget "+f+" "+d+"'></div>"),g=a("<div class='"+b+"-container'></div>"),h=a("<div class='"+f+" "+b+"-pointer '><div class='"+b+"-pointer-inner'></div></div>"),i=a("<div class = '"+b+"-title "+l+" "+d+"'></title>"),e=a("<a href='#' class = '"+b+"-close "+k+" "+d+"'></a>");e.append(a("<span class = 'ui-icon ui-icon-close'></span>")).bind("click",a.proxy(j._onClickCloseBtn,j));c.append(i).append(e).append(g).append(h).css("position","absolute").attr("role","tooltip").appendTo("body").hide();c._container=g;c._callout=h;c._closeBtn=e;c._title=i;return c},_bindLiveEvents:function(){var b=this,d=b.options,c=b.element;if(b._content===undefined){b._content=c.attr("title");c.attr("title","")}c.unbind(".tooltip");d.mouseTrailing&&c.bind("mousemove.tooltip",a.proxy(b.show,b));switch(d.triggers){case"hover":c.bind("mouseover.tooltip",a.proxy(b.show,b)).bind("mouseout.tooltip",a.proxy(b._hideIfNeeded,b));break;case"click":c.bind("click.tooltip",a.proxy(b.show,b));break;case"focus":c.bind("focus.tooltip",a.proxy(b.show,b)).bind("blur.tooltip",a.proxy(b._hideIfNeeded,b));break;case"rightClick":c.bind("contextmenu.tooltip",function(a){b.show();a.preventDefault()})}},_hideIfNeeded:function(){var b=this,c=b.options,a=c.closeBehavior;if(a==="sticky"||c.modal||a==="none")return;b.hide()},_flipTooltip:function(c,i,d){var h=this,e=h._tooltip,b=h._flipCallout(c,i),a=b&&b.flip,g,f;if(!e||!b||!a.h&&!a.v)return b.calloutShape;g=e.width();f=e.height();if(a.h==="l")c.left-=g+d.right*2+1;else if(a.h==="r")c.left+=g+d.left*2+1;else if(a.v==="t")c.top-=f+d.bottom*2+1;else if(a.v==="b")c.top+=f+d.top*2+1;return b.calloutShape},_flipCallout:function(h,b){var j=this,k=j.options,f=j._tooltip,c={h:false,v:false},g=a(i),d=(k.position.collision||"flip").split(" ");if(d.length===1)d[1]=d[0];if(!f||d[0]!=="flip"&&d[1]!=="flip")return{flip:c};if(d[0]==="flip")if(h.left<0||h.left+f.width()>g.width()+g.scrollLeft())c.h=true;if(d[0]==="flip")if(h.top<0||h.top+f.height()>g.height()+g.scrollTop())c.v=true;if(c.h)if(b.indexOf("l")>-1){b=b.replace(/l/,"r");c.h="l"}else if(b.indexOf("r")>-1){b=b.replace(/r/,"l");c.h="r"}if(c.v)if(b.indexOf("t")>-1){b=b.replace(/t/,"b");c.v="t"}else if(b.indexOf("b")>-1){b=b.replace(/b/,"t");c.v="b"}if(c.h||c.v){j._removeCalloutCss();f.addClass(e+b)}return{flip:c,calloutShape:b}},_set_position:function(b){var a=this,d=a.options,c=d.position;if(d.showCallout){(b.my!==c.my||b.at!==c.at)&&a._setPosition();a._setCalloutOffset(true)}},_set_showCallOut:function(d){var c=this,b=c._tooltip,a=b&&b._callout;if(!b||!a)return;if(d){c._setCalloutCss();a.show()}else a.hide()},_set_closeBehavior:function(){var c=this,b=c._tooltip,a=b&&b._closeBtn;a&&a[c.options.closeBehavior==="sticky"?"show":"hide"]()},_set_triggers:function(){this._bindLiveEvents()},_set_mouseTrailing:function(){this._bindLiveEvents()},_getCalloutShape:function(){var g=this,e=g.options.position,f=function(b){return a.map(b,function(a){return a.substr(0,1)})},c=f(e.my.split(" ")),d=f(e.at.split(" ")),b=[];if(c.length===2)b=c;if(c[0]===d[0])(c[1]==="t"&&d[1]==="b"||c[1]==="b"&&d[1]==="t")&&b.reverse();else d[0]==="c"&&b.reverse();b[0]==="c"&&b.reverse();return b.join("")},_setCalloutCss:function(){var a=this,f=a.options,d=a._tooltip,c="",b="";if(!f.showCallout)return;a._removeCalloutCss();b=a._getCalloutShape();c=e+b;d&&d.addClass(c);return b},_removeCalloutCss:function(){var b=this._tooltip;b&&a.each(["tl","tc","tr","bl","bc","br","rt","rc","rb","lt","lc","lb"],function(d,c){var a=e+c;if(b.hasClass(a)){b.removeClass(a);return false}})},_getBorder:function(d){var b={};a.each(["top","right","left","bottom"],function(e,a){b[a]=c(d.css("border-"+a+"-width"))});return b},_setPosition:function(){var e=this,m=e.options,d=m.position,a=e._tooltip,o=a.is(":hidden"),f=e._setCalloutCss(),b=[0,0],h="",g=a._callout,i,l,q,p,j,n,k;o&&a.show();a.css({left:0,top:0});if(m.showCallout){i=e._getBorder(g);q=c(g.css("left"));l=c(g.css("top"));p=c(g.css("right"));j=c(g.css("bottom"));switch(f[0]){case"l":b[0]=i.right;break;case"r":b[0]=-i.left;break;case"b":b[1]=j;break;case"t":b[1]=-l}switch(f[1]){case"t":b[1]=-l;break;case"b":b[1]=j;break;case"r":b[0]=p;break;case"l":b[0]=-q}h=b.join(" ")}a.position({my:d.my,at:d.at,of:d.of,offset:h,collision:"none none"});n=e._flipCallout(a.offset(),f);k=n.flip;if(k.h||k.v){a.css({left:0,top:0});a.position({my:d.my,at:d.at,of:d.of,offset:h,collision:d.collision})}m.showCallout&&e._setUnfilledCallout(f);e._calloutShape=f;o&&a.hide()},_setCalloutOffset:function(h){var g=this,k=g.options,j=g._tooltip,e=j&&j._callout,l=g._calloutShape,d=false,f=k.position.offset,c="",b=[],i=k.calloutAnimation;if(!e)return;if(!f||f.length===0)return;e.stop(true,true);a.each(["tr","tc","tl","bl","bc","br"],function(b,a){if(l===a){d=true;return false}});if(f){b=f.split(" ");if(b.length===2)c=d?b[0]:b[1];else if(b.length===1)c=b[0]}if(c!=="")if(h&&!h.disabled)e.animate(d?{left:c}:{top:c},i.duration,i.easing);else e.css(d?"left":"top",c)},_setUnfilledCallout:function(f){var e=this,c=e._tooltip,d=c&&c._callout,a=d&&d.children(),b=c&&c.css("background-color");if(!a)return;a.css({"border-left-color":"","border-top-color":"","border-bottom-color":"","border-right-color":""});if(e.options.calloutFilled)switch(f[0]){case"l":a.css("border-right-color",b);break;case"t":a.css("border-bottom-color",b);break;case"r":a.css("border-left-color",b);break;case"b":a.css("border-top-color",b)}},_showTooltip:function(){var c=this,d=c.options,b=c._tooltip,e,g,j,h=b&&b._closeBtn,i=b&&b._callout;if(!b)return;if(c._trigger("showing",null,c)===false)return;h&&h[d.closeBehavior==="sticky"?"show":"hide"]();i&&i[d.showCallout?"show":"hide"]();c._showModalLayer();b.css("z-index",99999);if(!d.mouseTrailing&&a.fn.wijshow){g={show:true,context:b};e=a.extend({},d.animation,d.showAnimation);if(b.is(":visible")){j=b.offset();b.offset(f);a.extend(g,{pos:j});e.animated="tooltipSlide"}b.wijshow(e,a.wijmo.wijtooltip.animations,g,null,function(){c._trigger("shown")})}else{b.show();c._trigger("shown")}c._setCalloutOffset(false)},_hideTooltip:function(){var b=this,d=b.options,c=b._tooltip,f=a.extend({},d.animation,d.hideAnimation),e;if(!c)return;if(b._trigger("hiding",null,b)===false)return;b._hideModalLayer();if(!d.mouseTrailing&&a.fn.wijhide){e={show:true,context:c};c.wijhide(f,a.wijmo.wijtooltip.animations,e,null,function(){b._trigger("hidden");c.css("z-index","")})}else{c.hide();b._trigger("hidden");c.css("z-index","")}},_getContent:function(b){var c={data:""},d;if(a.isFunction(b)){d=b.call(this.element,c);return c.data!==""?c.data:d}return b},_setText:function(){var b=this,f=b.options,c=b._tooltip,a="",d="",e=c&&c._title;if(!c)return;a=b._getContent(f.content);a=a===""?b._content:a;c._container.html(a);d=b._getContent(f.title);if(d!=="")e.html(d).show();else e.hide()},_showModalLayer:function(){var b=this,c=null;if(b.options.modal){c=a("<div>").addClass("ui-widget-overlay").css("z-index",99000).width(b._getDocSize("Width")).height(b._getDocSize("Height")).appendTo("body");b._modalLayer=c}},_hideModalLayer:function(){var b=this,a=b._modalLayer;a&&a.css("z-index","").remove()},_getDocSize:function(b){var c,e,g="docuemntElement",f="body";if(a.browser.msie&&a.browser.version<7){c=h(d[g]["scroll"+b],d[f]["scroll"+b]);e=h(d[g]["offset"+b],d[f]["offset"+b]);return c<e?a(i)[b.toLowerCase()]()+"px":c+"px"}else return a(d)[b.toLowerCase()]()+"px"},_onClickCloseBtn:function(a){this.hide();a.preventDefault()}});a.extend(a.wijmo.wijtooltip,{animations:{fade:function(b,c){b=a.extend({duration:300,easing:"swing"},b,c);b.context.stop(true,true).animate(b.show?{opacity:"show"}:{opacity:"hide"},b)},tooltipSlide:function(b,c){b=a.extend({duration:300,easing:"swing"},b,c);b.context.stop(true,true).animate({left:b.pos.left,top:b.pos.top},b)}},_tooltips:{},_getTooltip:function(b){return a.wijmo.wijtooltip._tooltips[b]},_removeTooltip:function(c){var b=a.wijmo.wijtooltip._tooltips[c];if(b){b.count--;b.count<=0&&b.remove();a.wijmo.wijtooltip._tooltips[c]=null}}})})(jQuery);
-(function(a){"use strict";a.widget("wijmo.wijslider",a.ui.slider,{options:{buttonmouseover:null,buttonmouseout:null,buttonmousedown:null,buttonmouseup:null,buttonclick:null,dragFill:true},_setOption:function(b,a){this.options[b]=a;return this},_create:function(){var d,b,c,q,r,h,g,l,k,o,n,m,u,v,s,t,i,p,e,f,j;if(this.element.is(":input")){i=a("<div></div>");i.width(this.element.width());i.appendTo(document.body);p=this.element.val();if(p!=="")try{e=p.split(";");if(e.length>0){j=[];for(f=0;f<e.length;f++)j[f]=parseInt(e[f]);if(e.length==1)this.options.value=j[0];else this.options.values=j}}catch(w){}this.element.data(this.widgetName,i.wijslider(this.options));this.element.after(a(document.body).children("div:last"));this.element.css("display","none");return}a.ui.slider.prototype._create.apply(this,arguments);this.element.data("originalStyle",this.element.attr("style"));this.element.data("originalContent",this.element.html());d=this.element.width();b=this.element.height();c=a("<div></div>");if(this.options.orientation==="horizontal")c.addClass("wijmo-wijslider-horizontal");else c.addClass("wijmo-wijslider-vertical");c.width(d);c.height(b);q=a('<a class="wijmo-wijslider-decbutton"><span></span></a>');r=a('<a class="wijmo-wijslider-incbutton"><span></span></a>');this.element.wrap(c);this.element.before(q);this.element.after(r);this._attachClass();h=this._getDecreBtn().outerWidth();g=this._getDecreBtn().outerHeight();l=this._getIncreBtn().outerWidth();k=this._getIncreBtn().outerHeight();o=this.element.find(".ui-slider-handle");n=o.outerWidth();m=o.outerHeight();this.element.removeAttr("style");if(this.options.orientation==="horizontal"){u=b/2-g/2;this._getDecreBtn().css("top",u).css("left",0);v=b/2-k/2;this._getIncreBtn().css("top",v).css("right",0);this.element.css("left",h+n/2-1).css("top",b/2-this.element.outerHeight()/2).width(d-h-l-n-2)}else{s=d/2-h/2;this._getDecreBtn().css("left",s).css("top",0);t=d/2-l/2;this._getIncreBtn().css("left",t).css("bottom",0);this.element.css("left",d/2-this.element.outerWidth()/2).css("top",g+m/2+1).height(b-g-k-m-2)}this._bindEvents()},destroy:function(){var d=this,b,c;b=this._getDecreBtn();c=this._getIncreBtn();b.unbind("."+d.widgetName);c.unbind("."+d.widgetName);a.ui.slider.prototype.destroy.apply(this,arguments);this.element.parent().removeAttr("class");this.element.parent().html("")},_getDecreBtn:function(){return this.element.parent().find(".wijmo-wijslider-decbutton")},_getIncreBtn:function(){return this.element.parent().find(".wijmo-wijslider-incbutton")},_attachClass:function(){this._getDecreBtn().addClass("ui-corner-all ui-state-default").attr("role","button");this._getIncreBtn().addClass("ui-corner-all ui-state-default").attr("role","button");this.element.parent().attr("role","slider").attr("aria-valuemin",this.options.min).attr("aria-valuenow","0").attr("aria-valuemax",this.options.max);if(this.options.orientation==="horizontal"){this.element.parent().addClass("wijmo-wijslider-horizontal");this._getDecreBtn().find("> span").addClass("ui-icon ui-icon-triangle-1-w");this._getIncreBtn().find("> span").addClass("ui-icon ui-icon-triangle-1-e")}else{this.element.parent().addClass("wijmo-wijslider-vertical");this._getDecreBtn().find("> span").addClass("ui-icon ui-icon-triangle-1-n");this._getIncreBtn().find("> span").addClass("ui-icon ui-icon-triangle-1-s")}},_bindEvents:function(){var a=this,b,c;b=this._getDecreBtn();c=this._getIncreBtn();b.bind("click."+a.widgetName,a,a._decreBtnClick);c.bind("click."+a.widgetName,a,a._increBtnClick);b.bind("mouseover."+a.widgetName,a,a._decreBtnMouseOver);b.bind("mouseout."+a.widgetName,a,a._decreBtnMouseOut);b.bind("mousedown."+a.widgetName,a,a._decreBtnMouseDown);b.bind("mouseup."+a.widgetName,a,a._decreBtnMouseUp);c.bind("mouseover."+a.widgetName,a,a._increBtnMouseOver);c.bind("mouseout."+a.widgetName,a,a._increBtnMouseOut);c.bind("mousedown."+a.widgetName,a,a._increBtnMouseDown);c.bind("mouseup."+a.widgetName,a,a._increBtnMouseUp)},_decreBtnMouseOver:function(d){var c=d.data,b,a;b={buttonType:"decreButton"};c._trigger("buttonmouseover",d,b);a=c._getDecreBtn();a.addClass("ui-state-hover")},_increBtnMouseOver:function(d){var c=d.data,b,a;b={buttonType:"increButton"};c._trigger("buttonmouseover",d,b);a=c._getIncreBtn();a.addClass("ui-state-hover")},_decreBtnMouseOut:function(d){var c=d.data,b,a;b={buttonType:"decreButton"};c._trigger("buttonmouseout",d,b);a=c._getDecreBtn();a.removeClass("ui-state-hover ui-state-active")},_increBtnMouseOut:function(d){var c=d.data,b,a;b={buttonType:"increButton"};c._trigger("buttonmouseout",d,b);a=c._getIncreBtn();a.removeClass("ui-state-hover ui-state-active")},_decreBtnMouseDown:function(d){var a=d.data,c,b;c={buttonType:"decreButton"};a._trigger("buttonmousedown",d,c);b=a._getDecreBtn();b.addClass("ui-state-active");a._intervalID=window.setInterval(function(){a._decreBtnHandle(a)},200)},_intervalID:null,_increBtnMouseDown:function(d){var a=d.data,c,b;c={buttonType:"increButton"};a._trigger("buttonmousedown",d,c);b=a._getIncreBtn();b.addClass("ui-state-active");a._intervalID=window.setInterval(function(){a._increBtnHandle(a)},200)},_decreBtnMouseUp:function(d){var a=d.data,c,b;c={buttonType:"decreButton"};a._trigger("buttonmouseup",d,c);b=a._getDecreBtn();b.removeClass("ui-state-active");window.clearInterval(a._intervalID)},_increBtnMouseUp:function(d){var a=d.data,c,b;c={buttonType:"increButton"};a._trigger("buttonmouseup",d,c);b=a._getIncreBtn();b.removeClass("ui-state-active");window.clearInterval(a._intervalID)},_decreBtnHandle:function(a){if(a.options.orientation==="horizontal")a._decre();else a._incre()},_decreBtnClick:function(c){var a=c.data,b;b={buttonType:"decreButton"};a._decreBtnHandle(a);a._trigger("buttonclick",c,b)},_increBtnHandle:function(a){if(a.options.orientation==="horizontal")a._incre();else a._decre()},_increBtnClick:function(c){var a=c.data,b;b={buttonType:"increButton"};a._increBtnHandle(a);a._trigger("buttonclick",c,b)},_decre:function(){var a=this.value();if(!this.options.range&&!this.options.values){a=this.value();if(a<=this.options.min)this.value(this.options.min);else this.value(a-this.options.step)}else{a=this.values(0);if(a<=this.options.min)this.values(0,this.options.min);else this.values(0,a-this.options.step)}this.element.parent().attr("aria-valuenow",this.value())},_incre:function(){var a=this.value();if(!this.options.range&&!this.options.values){a=this.value();if(a>=this.options.max)this.value(this.options.max);else this.value(a+this.options.step)}else{a=this.values(1);if(a>=this.options.max)this.values(1,this.options.max);else this.values(1,a+this.options.step)}this.element.parent().attr("aria-valuenow",this.value())},_mouseInit:function(){var b=this;if(this.options.dragFill){this._preventClickEvent=false;this.element.bind("click",function(){if(b._dragFillStart>0)b._dragFillStart=0;else a.ui.slider.prototype._mouseCapture.apply(b,arguments)})}a.ui.mouse.prototype._mouseInit.apply(this,arguments)},_mouseCapture:function(b){this.element.parent().attr("aria-valuenow",this.value());if(this.options.dragFill)if(b.target.className==="ui-slider-range ui-widget-header"){this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()};this.elementOffset=this.element.offset();return true}else return a.ui.slider.prototype._mouseCapture.apply(this,arguments);else return a.ui.slider.prototype._mouseCapture.apply(this,arguments)},_dragFillTarget:false,_dragFillStart:0,_rangeValue:0,_oldValue1:0,_oldValue2:0,_oldX:0,_oldY:0,_mouseStart:function(a){if(this.options.dragFill){if(a.target)if(a.target.className==="ui-slider-range ui-widget-header"){this._dragFillTarget=true;this._rangeValue=this.values(1)-this.values(0);this._oldValue1=this.values(0);this._oldValue2=this.values(1);this._oldX=a.pageX;this._oldY=a.pageY;return true}this._dragFillTarget=false}return true},_mouseDrag:function(f){var d,c,e,b,g,h;if(this.options.dragFill){d=f.pageX-this._oldX;c=this.element.outerWidth();if(this.options.orientation==="vertical"){c=this.element.outerHeight();d=-(f.pageY-this._oldY)}e=(this.options.max-this.options.min)/c*d;if(this._dragFillTarget){if(this.options.orientation==="vertical")a(document.documentElement).css("cursor","s-resize");else a(document.documentElement).css("cursor","w-resize");if(this._dragFillStart>0){b=this._rangeValue;this.values(0,this._oldValue1+e);this.values(1,this._oldValue1+e+b);g=this.values(0);h=this.values(1);g+b>this.options.max&&this.values(0,this.options.max-b);h-b<this.options.min&&this.values(1,this.options.min+b)}this._dragFillStart++;return false}else return a.ui.slider.prototype._mouseDrag.apply(this,arguments)}else return a.ui.slider.prototype._mouseDrag.apply(this,arguments)},_mouseStop:function(){var b=a.ui.slider.prototype._mouseStop.apply(this,arguments);if(this.options.dragFill){a(document.documentElement).css("cursor","default");window.setTimeout(function(){this._dragFillTarget=false;this._dragFillStart=0},500)}return b}})})(jQuery);
-(function(a){"use strict";a.widget("wijmo.wijsplitter",{options:{sizing:null,sized:null,expand:null,collapse:null,expanded:null,collapsed:null,barZIndex:-1,showExpander:true,splitterDistance:100,orientation:"vertical",fullSplit:false,resizeSettings:{animationOptions:{duration:100,easing:"swing",disabled:false},ghost:false},panel1:{minSize:1,collapsed:false,scrollBars:"auto"},panel2:{minSize:1,collapsed:false,scrollBars:"auto"}},getOptionsCopy:function(){return this.options},setOption:function(b,a){this.options[b]=a;return this},_create:function(){var b=this.element.height();this._setStructure();this._attachClass();this._checkFullSplitMode();this._initElements();this.refresh();a(this.element).trigger("load");this._bindEvents();this._initResizer();if(window.navigator.userAgent.indexOf("MSIE 6.0")>-1||window.navigator.userAgent.indexOf("MSIE 7.0")>-1)this.options.orientation==="vertical"&&a(".ui-resizable-handle",this.element).height(b)},destroy:function(){var b=this,e,d,c;if(b._getPanel1())b._getPanel1().is(":ui-resizable")&&b._getPanel1().resizable("destroy");e=this._getExpander();e.unbind("."+b.widgetName);a(window).unbind("."+b.widgetName);d=this.element.data("originalContent");this.element.html(d);c=this.element.data("originalStyle");this.element.removeAttr("class");if(c===undefined)this.element.removeAttr("style");else this.element.attr("style",c)},_setStructure:function(){var d,g,b,c,e,j,f,h,i;b=this.element.find("> div").get();if(b.length===1)d=b[0];else if(b.length>=2){d=b[0];g=b[1]}this.element.data("originalStyle",this.element.attr("style"));this.element.data("originalContent",this.element.html());c=a('<div class="wijmo-splitter-wrapper"></div>');this.element.append(c);e=a("<div></div>");c.append(e);if(d)e.append(d);else{h=a("<div></div>");e.append(h)}j=a("<div><div><span></span></div></div>");c.append(j);f=a("<div></div>");c.append(f);if(g)f.append(g);else{i=a("<div></div>");f.append(i)}},_attachClass:function(){if(this.options.orientation==="vertical"){this.element.addClass("wijmo-wijsplitter-vertical");this._getPanel1().addClass("wijmo-wijsplitter-v-panel1");this._getPanel1Content().addClass("wijmo-wijsplitter-v-panel1-content ui-widget-content");this._getBar().addClass("wijmo-wijsplitter-v-bar ui-widget-header");this._getExpander().addClass("wijmo-wijsplitter-v-expander ui-state-default").addClass("ui-corner-tl ui-corner-bl");this._getExpander().find("> span").addClass("ui-icon ui-icon-arrowthickstop-1-w");this._getPanel2().addClass("wijmo-wijsplitter-v-panel2");this._getPanel2Content().addClass("wijmo-wijsplitter-v-panel2-content ui-widget-content")}else{this.element.addClass("wijmo-wijsplitter-horizontal");this._getPanel1().addClass("wijmo-wijsplitter-h-panel1");this._getPanel1Content().addClass("wijmo-wijsplitter-h-panel1-content ui-widget-content");this._getBar().addClass("wijmo-wijsplitter-h-bar ui-widget-header");this._getExpander().addClass("wijmo-wijsplitter-h-expander ui-state-default").addClass("ui-corner-tl ui-corner-tr");this._getExpander().find("> span").addClass("ui-icon ui-icon-arrowthickstop-1-n");this._getPanel2().addClass("wijmo-wijsplitter-h-panel2");this._getPanel2Content().addClass("wijmo-wijsplitter-h-panel2-content ui-widget-content")}this._getExpander().attr("role","button");this.options.barZIndex!=-1&&this._getBar().css("z-index",this.options.barZIndex)},_getPanel1:function(){return this.element.find("> div > div:eq(0)")},_getPanel1Content:function(){return this._getPanel1().find("> div:eq(0)")},_getBar:function(){return this.element.find("> div > div:eq(1)")},_getExpander:function(){return this._getBar().find("> div")},_getPanel2:function(){return this.element.find("> div > div:eq(2)")},_getPanel2Content:function(){return this._getPanel2().find("> div:eq(0)")},_getContainer:function(){return this.element.find("> div")},_initElements:function(){var a,c,b,d,g,k,i,j,f,e,h;this._getContainer().height(this.element.height());this._setPanelsScrollMode();a=this.options.splitterDistance;c=this.element.width();b=this.element.height();if(this.options.orientation==="vertical"){d=this._getBar().outerWidth();if(a>c-d)a=c-d;g=this._getExpander().height();this._getContainer().width(c*2);if(this.options.panel2.collapsed&&!this.options.panel1.collapsed)a=c-d;this._getPanel1().height(b);this._getPanel1().width(a);if(window.navigator.userAgent.indexOf("Safari")>-1){k=this._getPanel1Content().borderSize().width;i=this._getPanel1Content().borderSize().height;this._getPanel1Content().css("float","none").css("height",b-i).css("width",a-k).css("float","left")}else{this._getPanel1Content().setOutHeight(b);this._getPanel1Content().setOutWidth(a)}if(this.options.panel1.collapsed){this.element.addClass("wijmo-wijsplitter-v-collapsed");this._getPanel1().css("display","none");a=0}else{this.element.addClass("wijmo-wijsplitter-v-expanded");this._getPanel1().css("display","")}if(window.navigator.userAgent.indexOf("Safari")>-1){j=this._getBar().borderSize().height;this._getBar().css("float","none").height(b-j).css("float","left")}else this._getBar().setOutHeight(b);this._getPanel2().height(b);this._getPanel2().width(c-a-d);if(window.navigator.userAgent.indexOf("Safari")>-1){f=this._getPanel2Content().borderSize().width;this._getPanel2Content().css("float","none").height(b-f).width(c-a-d-f).css("float","left")}else{this._getPanel2Content().setOutHeight(b);this._getPanel2Content().setOutWidth(c-a-d)}this._getExpander().css("cursor","pointer");this._getExpander().css("top",b/2-g/2)}else{e=this._getBar().outerHeight();if(a>b-e)a=b-e;h=this._getExpander().width();if(this.options.panel2.collapsed&&!this.options.panel1.collapsed)a=b-e;this._getPanel1().width(c).height(a);this._getPanel1Content().setOutWidth(c);this._getPanel1Content().setOutHeight(a);if(this.options.panel1.collapsed){this.element.addClass("wijmo-wijsplitter-h-collapsed");this._getPanel1().css("display","none");a=0}else{this.element.addClass("wijmo-wijsplitter-h-expanded");this._getPanel1().css("display","")}this._getBar().setOutWidth(c);this._getPanel2().width(c).height(b-a-e);this._getPanel2Content().setOutWidth(c);this._getPanel2Content().setOutHeight(b-a-e);this._getExpander().css("cursor","pointer");this._getExpander().css("left",c/2-h/2)}if(this.options.showExpander)this._getExpander().css("display","");else this._getExpander().css("display","none")},_bindEvents:function(){var b=this,d,c;d=this._getBar();c=this._getExpander();c.bind("mouseup."+b.widgetName,b,b._expanderMouseUp);c.bind("mouseover."+b.widgetName,b,b._expanderMouseOver);c.bind("mousedown."+b.widgetName,b,b._expanderMouseDown);c.bind("mouseout."+b.widgetName,b,b._expanderMouseOut);d.bind("mouseover."+b.widgetName,b,b._barMouseOver);d.bind("mouseout."+b.widgetName,b,b._barMouseOut);a(window).bind("resize."+b.widgetName,b,b._documentResize)},_barMouseOver:function(b){a(b.currentTarget).addClass("ui-state-hover")},_barMouseOut:function(b){a(b.currentTarget).removeClass("ui-state-hover")},_documentResize:function(b){var a=b.data;a.refresh()},_expanderMouseOver:function(b){a(b.currentTarget).addClass("ui-state-hover")},_expanderMouseDown:function(b){a(b.currentTarget).addClass("ui-state-active")},_expanderMouseOut:function(b){a(b.currentTarget).removeClass("ui-state-hover ui-state-active")},_expanderMouseUp:function(c){var b=c.data;a(c.currentTarget).removeClass("ui-state-active");if(!b.options.panel1.collapsed&&b.options.panel2.collapsed){b.options.panel2.collapsed=false;b._initElements();return}if(b.options.panel1.collapsed){if(b._trigger("expand",c,null)===false)return}else if(b._trigger("collapse",c,null)===false)return;b.options.panel1.collapsed=!b.options.panel1.collapsed;b._initElements();if(b.options.orientation==="vertical"){b.element.removeClass("wijmo-wijsplitter-v-expanded wijmo-wijsplitter-v-collapsed");b._getExpander().removeClass("ui-corner-tl ui-corner-bl ui-corner-tr ui-corner-br");b._getExpander().find("span").removeClass("ui-icon-arrowthickstop-1-w ui-icon-arrowthickstop-1-e");if(b.options.panel1.collapsed){b.element.addClass("wijmo-wijsplitter-v-collapsed");b._getExpander().addClass("ui-corner-tr ui-corner-br");b._getExpander().find("span").addClass("ui-icon-arrowthickstop-1-e")}else{b.element.addClass("wijmo-wijsplitter-v-expanded");b._getExpander().addClass("ui-corner-tl ui-corner-bl");b._getExpander().find("span").addClass("ui-icon-arrowthickstop-1-w")}}else{b.element.removeClass("wijmo-wijsplitter-h-expanded wijmo-wijsplitter-h-collapsed");b._getExpander().removeClass("ui-corner-tl ui-corner-tr ui-corner-bl ui-corner-br");b._getExpander().find("span").removeClass("ui-icon-arrowthickstop-1-n ui-icon-arrowthickstop-1-s");if(b.options.panel1.collapsed){b.element.addClass("wijmo-wijsplitter-h-collapsed");b._getExpander().addClass("ui-corner-bl ui-corner-br");b._getExpander().find("span").addClass("ui-icon-arrowthickstop-1-s")}else{b.element.addClass("wijmo-wijsplitter-h-expanded");b._getExpander().addClass("ui-corner-tl ui-corner-tr");b._getExpander().find("span").addClass("ui-icon-arrowthickstop-1-n")}}if(b.options.panel1.collapsed)b._trigger("collapsed",c,null);else b._trigger("expanded",c,null)},_initResizer:function(){var b=this,i,h,g,k,d,f,j,c,e;e=b.options.resizeSettings.animationOptions.duration;if(b.options.resizeSettings.animationOptions.disabled===true)e=0;i=this.element.width();h=this.element.height();if(this.options.orientation==="vertical"){g=this._getBar().outerWidth();k=i-g-this.options.panel2.minSize;d=this.options.panel1.minSize;if(d<2)d=2;b._getPanel1().resizable({wijanimate:true,minWidth:d,maxWidth:k,handles:"e",helper:"wijmo-wijsplitter-v-resize-hepler",animateDuration:e,animateEasing:b.options.resizeSettings.animationOptions.easing,ghost:b.options.ghost,stop:function(a){b._resizeStop(a,b)}});b._getPanel1().bind("animating",function(a){b._animating(a,b)});b._getPanel1().bind("animated",function(a){b._animated(a,b)})}else{f=this._getBar().outerHeight();j=h-f-this.options.panel2.minSize;c=this.options.panel1.minSize;if(c<2)c=2;b._getPanel1().resizable({wijanimate:true,minHeight:c,maxHeight:j,handles:"s",helper:"wijmo-wijsplitter-h-resize-hepler",animateDuration:e,animateEasing:b.options.resizeSettings.animationOptions.easing,ghost:b.options.ghost,stop:function(a){b._resizeStop(a,b)}});b._getPanel1().bind("animating",function(a){b._animating(a,b)});b._getPanel1().bind("animated",function(a){b._animated(a,b)})}a(".ui-resizable-handle",this.element).bind("mouseover",function(a){b._handlemouseover(a,b)});a(".ui-resizable-handle",this.element).bind("mouseout",function(a){b._handlemouseout(a,b)})},_handlemouseover:function(c,b){if(b.options.orientation==="vertical")a(".wijmo-wijsplitter-v-bar",this.element).addClass("ui-state-hover");else a(".wijmo-wijsplitter-h-bar",this.element).addClass("ui-state-hover")},_handlemouseout:function(c,b){if(b.options.orientation==="vertical")a(".wijmo-wijsplitter-v-bar",this.element).removeClass("ui-state-hover");else a(".wijmo-wijsplitter-h-bar",this.element).removeClass("ui-state-hover")},_animated:function(b,a){a._adjustLayout(a);a._trigger("sized",b,null)},_animating:function(b,a){a._adjustLayout(a);a._trigger("sizing",b,null)},_adjustLayout:function(a){if(a.options.orientation==="vertical"){a.options.splitterDistance=a._getPanel1().width();a._initElements()}else{a.options.splitterDistance=a._getPanel1().height();a._initElements()}},_resizeStop:function(b,a){a._adjustLayout(a)},_checkFullSplitMode:function(){if(this.element.css("width")==="100%"&&this.element.css("height")==="100%")this.options.fullSplit=true},_setPanelsScrollMode:function(){var a,b;a=this._getPanel1Content();b=this._getPanel2Content();if(this.options.panel1.scrollBars==="auto")a.css("overflow","auto");else if(this.options.panel1.scrollBars==="both")a.css("overflow","scroll");else if(this.options.panel1.scrollBars==="none")a.css("overflow","hidden");else if(this.options.panel1.scrollBars==="horizontal")a.css("overflow-x","scroll").css("overflow-y","hidden");else this.options.panel1.scrollBars==="vertical"&&a.css("overflow-x","hidden").css("overflow-y","scroll");if(this.options.panel2.scrollBars==="auto")b.css("overflow","auto");else if(this.options.panel2.scrollBars==="both")b.css("overflow","scroll");else if(this.options.panel2.scrollBars==="none")b.css("overflow","hidden");else if(this.options.panel2.scrollBars==="horizontal")b.css("overflow-x","scroll").css("overflow-y","hidden");else this.options.panel2.scrollBars==="vertical"&&b.css("overflow-x","hidden").css("overflow-y","scroll")},_setFullSplitMode:function(){this.element.css("width","100%").css("height","100%")},invalidate:function(){this._initElements()},refresh:function(){if(this.options.fullSplit){this._setFullSplitMode();this._initElements();this._adjustPanelContentsForChrome()}},_adjustPanelContentsForChrome:function(){var b;if(window.navigator.userAgent.indexOf("Chrome")>-1)if(this.options.orientation==="horizontal"){b=a(".wijmo-wijsplitter-h-panel1",this.element).width();a(".wijmo-wijsplitter-h-panel1",this.element).children("div").outerWidth(b);a(".wijmo-wijsplitter-h-panel2",this.element).children("div").outerWidth(b);a(".wijmo-wijsplitter-h-bar",this.element).outerWidth(b)}}})})(jQuery);(function(a){"use strict";a.ui.plugin.add("resizable","wijanimate",{stop:function(l){var b=a(this).data("resizable"),i=b.options,c=b.element,d=b._proportionallyResizeElements,h=d.length&&/textarea/i.test(d[0].nodeName),j=h&&a.ui.hasScroll(d[0],"left")?0:b.sizeDiff.height,k=h?0:b.sizeDiff.width,g,e,f;c.css("width",b.originalSize.width);c.css("height",b.originalSize.height);g={width:b.size.width-k,height:b.size.height-j};e=parseInt(c.css("left"),10)+(b.position.left-b.originalPosition.left)||null;f=parseInt(c.css("top"),10)+(b.position.top-b.originalPosition.top)||null;c.animate(a.extend(g,f&&e?{top:f,left:e}:{}),{duration:i.animateDuration,easing:i.animateEasing,step:function(){var e={width:parseInt(c.css("width"),10),height:parseInt(c.css("height"),10),top:parseInt(c.css("top"),10),left:parseInt(c.css("left"),10)};d&&d.length&&a(d[0]).css({width:e.width,height:e.height});b._updateCache(e);b._propagate("resize",l);c.trigger("animating")},complete:function(){c.trigger("animated")}})}})})(jQuery);
-(function(a){"use strict";a.widget("wijmo.wijprogressbar",a.ui.progressbar,{options:{labelAlign:"center",maxValue:100,minValue:0,fillDirection:"east",labelFormatString:"{1}%",toolTipFormatString:"{1}%",indicatorIncrement:1,indicatorImage:"",animationDelay:0,animationOptions:{disabled:false,easing:null,duration:500},progressChanging:null,beforeProgressChanging:null,progressChanged:null},_setOption:function(d,c){var e,b=this;switch(d){case"value":e=parseInt(c,10);b.options[d]=e;b._refreshValue(e);break;case"maxValue":case"minValue":e=parseInt(c,10);b.options[d]=e;b[d==="maxValue"?"max":"min"]=e;b._refreshValue();break;case"labelFormatString":case"toolTipFormatString":b.options[d]=c;b._refreshValue();break;case"orientation":case"fillDirection":case"labelAlign":case"indicatorImage":b.options[d]=c;b._initElements();b._refreshValue();break;case"indicatorIncrement":c=c===0?1:c;b.options[d]=c;b._initElements();b._refreshValue()}a.Widget.prototype._setOption.apply(b,arguments)},_create:function(){var b=this;b.min=b.options.minValue;b.max=b.options.maxValue;b.element.addClass("wijmo-wijprogressbar");a.ui.progressbar.prototype._create.apply(b,arguments);b.label=a("<span>").addClass("ui-progressbar-label ui-corner-left").appendTo(b.element);b._initElements();b._isInit=true;b._refreshValue()},_triggerEvent:function(a,c,b){var d={oldValue:c,newValue:b};return this._trigger(a,null,d)===false},_refreshValue:function(){var b=this,c,d,e,f;if(!b._isInit)return;c=b.value();d=(c-b.min)/(b.max-b.min)*100;e=b.options;if(b._triggerEvent("beforeProgressChanging",b.element.attr("aria-valuenow"),c))return;b.valueDiv.css({width:"",height:""});if(!e.animationOptions.disabled&&e.animationOptions.duration>0)setTimeout(a.proxy(function(){var e={content:b.valueDiv,complete:a.proxy(function(){b._triggerEvent("progressChanged",b.element.attr("aria-valuenow"),c)},b),step:a.proxy(function(a){b._performAnimating(a)},b),processValue:d},f=a.wijmo.wijprogressbar.animations,g="progress";f[g](e,b.options.animationOptions)},b),b.options.animationDelay);else{f=b.element.attr("aria-valuenow");b._refreshProgress(d);b._triggerEvent("progressChanged",f,c)}},_setLabelSide:function(){var a=this,b=a.options.labelAlign;if(a._isHorizontal())if(b==="west"||b==="east"||b==="center")a.label.css("width",a.element.width()+"px");else if(b==="running")a.label.css("width","auto");else{a.element.css("line-height","normal");a.valueDiv.css("line-height","normal");a.label.css("height",b==="north"?a.element.height()+"px":"auto")}else if(b==="west"||b==="east"||b==="center")a.label.css({"line-height":a.element.height()+"px",width:a.element.width()+"px"});else if(b==="running")a.label.css({height:"auto",width:a.element.width()+"px"});else{a.element.css("line-height","normal");a.valueDiv.css("line-height","normal")}},_isHorizontal:function(){return this.options.fillDirection==="west"||this.options.fillDirection==="east"},startTask:function(){if(a(":animated",this.element).length===0){var b=this.value();this._refreshValue(b)}},stopTask:function(){this.valueDiv.stop()},_initElements:function(){var a=this,c=a.options,b;a.element.removeClass("wijmo-wijprogressbar-west wijmo-wijprogressbar-east wijmo-wijprogressbar-north wijmo-wijprogressbar-south").addClass("wijmo-wijprogressbar-"+c.fillDirection);b=a.element.height();a.valueDiv.css("line-height","");a.label.removeClass("lb_west lb_east lb_south lb_north lb_center lb_running").addClass("lb_"+c.labelAlign).css("line-height","").css({left:"",right:"",top:"",bottom:""});if(a._isHorizontal())a.valueDiv.height(b).css("line-height",b+"px");else a.valueDiv.width(a.element.width());a._setLabelSide();a.options.indicatorImage!==""&&a.valueDiv.css("background","transparent url("+a.options.indicatorImage+") repeat fixed")},_refreshProgress:function(b){var a=this,c=a.options,f,e,d=b*(a.max-a.min)/100+a.min;if(a._triggerEvent("progressChanging",a.element.attr("aria-valuenow"),d))return;if(a._isHorizontal())a.valueDiv.toggleClass(c.fillDirection==="east"?"ui-corner-right":"ui-corner-left",b===a.max).width(b+"%");else a.valueDiv.toggleClass(c.fillDirection==="south"?"ui-corner-bottom":"ui-corner-top",b===a.max).height(b+"%");a.element.attr("aria-valuenow",d);f=a._getFormatString(c.labelFormatString,b);a._setLabelsText(f);e=a._getFormatString(c.toolTipFormatString,b);a.element.attr("title",e)},_performAnimating:function(b){var a=this,i=a.options,k,d,f,h,j,c,e,g,l;if(a.options.indicatorIncrement!==1){k=Math.floor(b/a.options.indicatorIncrement);b=k*a.options.indicatorIncrement}else b=Math.round(b);a._refreshProgress(b);if(i.labelAlign==="running")if(a._isHorizontal()){d=a.element.width();f=a.label.outerWidth();h=a.valueDiv.outerWidth();j=d===h?d-f:b*d/100-f+f*(d-h)/d;a.label.css(i.fillDirection==="east"?"left":"right",j)}else{c=a.element.height();e=a.label.outerHeight();g=a.valueDiv.outerHeight();l=c===g?c-e:b*c/100-e+e*(c-g)/c;a.label.css(i.fillDirection==="south"?"top":"bottom",l)}},_setLabelsText:function(a){if(!this._isHorizontal()&&this.options.labelAlign==="rightOrBottom"){this.label.html("<span style='position:absolute;bottom:0px;text-align:center;width:"+this.element.width()+"px;'>"+a+"</span>");return}this.label.html(a)},_getFormatString:function(a,h){var c=this,d=parseInt(c.element.attr("aria-valuenow"),10),f=c.max-d,g=h,e=100-h,b=/\{0\}/g;a=a.replace(b,d.toString());b=/\{ProgressValue\}/g;a=a.replace(b,d.toString());b=/\{1\}/g;a=a.replace(b,g.toString());b=/\{PercentProgress\}/g;a=a.replace(b,g.toString());b=/\{2\}/g;a=a.replace(b,f.toString());b=/\{RemainingProgress\}/g;a=a.replace(b,f.toString());b=/\{3\}/g;a=a.replace(b,e.toString());b=/\{PercentageRemaining\}/g;a=a.replace(b,e.toString());b=/\{4\}/g;a=a.replace(b,c.min);b=/\{Min\}/g;a=a.replace(b,c.min);b=/\{5\}/g;a=a.replace(b,c.max);b=/\{Max\}/g;a=a.replace(b,c.max);return a},destroy:function(){this.element.empty().attr("aria-valuemax","").attr("aria-valuemin","").attr("aria-valuenow","");this.element.removeClass("wijmo-wijprogressbar ui-widget ui-widget-content ui-corner-all wijmo-wijprogressbar-h").attr("title","").attr("role","");a.Widget.prototype.destroy.apply(this,arguments)}});a.extend(a.wijmo.wijprogressbar,{animations:{progress:function(b,c){b=a.extend({easing:"swing",duration:1e3},b,c);b.content.stop(true,true).animate({widthvalue:b.processValue},b)}}})})(jQuery);
-(function(a){"use strict";var b="ui-state-hover",c="wijmo-wijdialog-defaultdockingzone";a.widget("wijmo.wijdialog",a.ui.dialog,{options:{captionButtons:{},collapsingAnimation:null,expandingAnimation:null,contentUrl:"",minimizeZoneElementId:"",buttoncreating:null},_create:function(){var b=this;a.ui.dialog.prototype._create.apply(b,arguments);b.uiDialog.addClass("wjimo-wijdialog");b._initWijWindow();b._bindWindowResize()},_initWijWindow:function(){var b=this;b._createCaptionButtons();b._checkUrl();b.uiDialogButtonPane=a(".ui-dialog-buttonpane",b.uiDialog)},_checkUrl:function(){var b=this,e=b.options,d=e.contentUrl,c=a('<iframe style="width:100%;height:99%;" frameborder="0"></iframe>');if(typeof d==="string"&&d.length>0){b.element.addClass("wijmo-wijdialog-hasframe");c.attr("src",d);b.element.append(c);b.innerFrame=c}b.contentWrapper=b.element},_createCaptionButtons:function(){var c=[],b=this,h=b.options,d,g={pin:{visible:true,click:b.pin,iconClassOn:"ui-icon-pin-w",iconClassOff:"ui-icon-pin-s"},refresh:{visible:true,click:b.refresh,iconClassOn:"ui-icon-refresh"},toggle:{visible:true,click:b.toggle,iconClassOn:"ui-icon-carat-1-n",iconClassOff:"ui-icon-carat-1-s"},minimize:{visible:true,click:b.minimize,iconClassOn:"ui-icon-minus"},maximize:{visible:true,click:b.maximize,iconClassOn:"ui-icon-extlink"},close:{visible:true,click:b.close,iconClassOn:"ui-icon-close"}},e=h.captionButtons,f=b.uiDialogTitlebar;f.children(".ui-dialog-titlebar-close, .wijmo-wijdialog-captionbutton").remove();a.each(g,function(b,d){e&&e[b]&&a.extend(d,e[b]);c.push({button:b,info:d})});b._trigger("buttoncreating",null,c);for(d=0;d<c.length;d++)b._createCaptionButton(c[d],f)},_createCaptionButton:function(f,g,k){var j=this,d,h="wijmo-wijdialog-titlebar-"+f.button,i=g.children("."+h),c=f.info,e=a("<span></span>");if(c.visible){if(i.size()===0){e.addClass("ui-icon "+c.iconClassOn).text(f.button);d=a('<a href="#"></a>').append(e).addClass(h+" ui-corner-all wijmo-wijdialog-captionbutton").attr("role","button").hover(function(){d.addClass(b)},function(){d.removeClass(b)}).click(function(){if(e.hasClass(c.iconClassOff))e.removeClass(c.iconClassOff);else e.addClass(c.iconClassOff);a.isFunction(c.click)&&c.click.apply(j,arguments);return false});if(k)return d;else d.appendTo(g)}j[f.button+"Button"]=d}else i.remove()},pin:function(){var a=this.uiDialog,b=a.draggable("option","disabled");a.draggable({disabled:!b});!b&&a.removeClass("ui-state-disabled")},refresh:function(){var a=this.innerFrame;a!==undefined&&a.attr("src",a.attr("src"))},toggle:function(){var a=this,b=a.toggleButton.children("span");if(!a.minimized)if(a.collapsed===undefined||!a.collapsed){a.collapsed=true;!b.hasClass("ui-icon-carat-1-s")&&b.addClass("ui-icon-carat-1-s");a._collapseDialogContent(true)}else{a.collapsed=false;b.hasClass("ui-icon-carat-1-s")&&b.removeClass("ui-icon-carat-1-s");a._expandDialogContent(true)}},_expandDialogContent:function(d){var b=this,e=b.options,c=e.expandingAnimation;b.uiDialog.height("auto");if(d&&c!==null)b.contentWrapper.show(c.animated,c.options,c.duration,function(d){b.uiDialog.css("height",b._toggleHeight);a.isFunction(c.callback)&&c.callback(d);b._enableDisableResizer(false)});else{b.contentWrapper.show();b._enableDisableResizer(false);b.uiDialog.css("height",b.toggleHeight)}},_collapseDialogContent:function(c){var a=this,d=a.options,b=d.collapsingAnimation;a._enableDisableResizer(true);a._toggleHeight=a.uiDialog[0].style.height;a.uiDialog.height("auto");if(c&&b!==null)a.contentWrapper.hide(b.animated,b.options,b.duration);else a.contentWrapper.hide()},_enableDisableResizer:function(a){var b=this.uiDialog;b.resizable({disabled:a});a&&b.removeClass("ui-state-disabled")},_enableDisableDragger:function(a){var b=this.uiDialog;b.draggable({disabled:a});a&&b.removeClass("ui-state-disabled")},minimize:function(){var b=this,k=b.uiDialog,p=b.options,f=null,h=a("<div></div>"),j=a("<div></div>"),e,m,o,l,g={},n,i={},d="uiDialog";if(!b.minimized){l=b.uiDialog.position();g.width=b.uiDialog.width();g.height=b.uiDialog.height();if(b.maximized){b.maximized=false;b.restoreButton.remove();a(window).unbind(".onWinResize")}else{b.collapsed&&b._expandDialogContent(false);b._saveNormalState()}b._enableDisableResizer(true);b.collapsed&&b._collapseDialogContent(false);h.appendTo(document.body).css({top:b.uiDialog.offset().top,left:b.uiDialog.offset().left,height:b.uiDialog.innerHeight(),width:b.uiDialog.innerWidth(),position:"absolute"});b.contentWrapper.hide();b.uiDialogButtonPane.length&&b.uiDialogButtonPane.hide();k.height("auto");k.width("auto");b._doButtonAction(b.minimizeButton,"hide");b._restoreButton(true,b.minimizeButton,"After");b._doButtonAction(b.pinButton,"hide");b._doButtonAction(b.refreshButton,"hide");b._doButtonAction(b.toggleButton,"hide");b._doButtonAction(b.maximizeButton,"show");a.browser.webkit&&a(".wijmo-wijdialog-captionbutton",b.uiDialog).css("float","left");if(b.innerFrame){d="copy";b[d]=b.uiDialog.clone();b[d].empty();b.uiDialogTitlebar.appendTo(b[d])}if(p.minimizeZoneElementId.length>0)f=a("#"+p.minimizeZoneElementId);if(f!==null&&f.size()>0)f.append(b[d]);else{e=a("."+c);if(e.size()===0){e=a('<div class="'+c+'"></div>');a(document.body).append(e)}e.append(b[d]).css("z-index",k.css("z-index"))}b[d].css("position","static");b[d].css("float","left");if(a.browser.msie&&a.browser.version==="6.0"){m=a(document).scrollTop();o=document.documentElement.clientHeight-e.height()+m;e.css({position:"absolute",left:"0px",top:o})}j.appendTo(document.body).css({top:b[d].offset().top,left:b[d].offset().left,height:b[d].innerHeight(),width:b[d].innerWidth(),position:"absolute"});b.uiDialog.hide();b.innerFrame&&b[d].hide();h.effect("transfer",{to:j,className:"ui-widget-content"},100,function(){h.remove();j.remove();b[d].show();n=b.uiDialog.position();i.width=b.uiDialog.width();i.height=b.uiDialog.height();b._trigger("resize",null,{originalPosition:l,originalSize:g,position:n,size:i})});b.minimized=true}},_doButtonAction:function(a,c){if(a!==undefined){a.removeClass(b);a[c]()}},maximize:function(){var b=this,g=a(window),e,c={},f,d={};if(!b.maximized){b.maximized=true;e=b.uiDialog.position();c.width=b.uiDialog.width();c.height=b.uiDialog.height();if(b.minimized)b.restore();else{b.collapsed&&b._expandDialogContent(false);b._saveNormalState()}if(b.maximizeButton!==undefined){b.maximizeButton.hide();b._restoreButton(true,b.maximizeButton,"Before")}a.browser.webkit&&a(".wijmo-wijdialog-captionbutton").css("float","");b._onWinResize(b,g);b.collapsed&&b._collapseDialogContent(false);b._enableDisableDragger(true);b.uiDialog.resizable({disabled:true});b.uiDialog.removeClass("ui-state-disabled");f=b.uiDialog.position();d.width=b.uiDialog.width();d.height=b.uiDialog.height();b._trigger("resize",null,{originalPosition:e,originalSize:c,position:f,size:d})}},_bindWindowResize:function(){var b=this,d=a(window),f,e,c;d.resize(function(){b.maximized&&b._onWinResize(b,d)});a.browser.msie&&a.browser.version==="6.0"&&d.bind("scroll.wijdialog resize.wijdialog",function(){if(b.minimized){e=a(document).scrollTop();c=b.uiDialog.parent();f=document.documentElement.clientHeight-c.height()+e;c.css({top:f})}})},_saveNormalState:function(){var a=this,b=a.uiDialog,c=a.element;a.normalWidth=b.css("width");a.normalLeft=b.css("left");a.normalTop=b.css("top");a.normalHeight=b.css("height");a.normalInnerHeight=c.css("height");a.normalInnerWidth=c.css("width");a.normalInnerMinWidth=c.css("min-width");a.normalInnerMinHeight=c.css("min-height")},_onWinResize:function(a,b){a.uiDialog.css("top",b.scrollTop());a.uiDialog.css("left",b.scrollLeft());a.uiDialog.setOutWidth(b.width());a.uiDialog.setOutHeight(b.height());a._resizeDialog(a)},_restoreButton:function(c,f,e){var a=this,d={button:"restore",info:{visible:c,click:a.restore,iconClassOn:"ui-icon-newwin"}},b=a._createCaptionButton(d,a.uiDialogTitlebar,true);if(c){b["insert"+e](f);a.restoreButton=b}},restore:function(){var b=this,f=b.uiDialog,g,d={},h,e={},i=a("<div></div>"),j=a("<div></div>"),c="uiDialog";if(b.minimized){b.minimized=false;if(b.innerFrame){c="copy";if(!b[c])c="uiDialog"}g=b[c].position();d.width=b[c].width();d.height=b[c].height();i.appendTo(document.body).css({top:b[c].offset().top,left:b[c].offset().left,height:b[c].innerHeight(),width:b[c].innerWidth(),position:"absolute"});f.css("position","absolute");f.css("float","");if(!b.innerFrame)f.appendTo(document.body);else{b.uiDialogTitlebar.prependTo(f);f.show()}b._enableDisableResizer(false);b._enableDisableDragger(false);b._restoreToNormal();b.contentWrapper.show();b.uiDialogButtonPane.length&&b.uiDialogButtonPane.show();j.appendTo(document.body).css({top:b.uiDialog.offset().top,left:b.uiDialog.offset().left,height:b.uiDialog.innerHeight(),width:b.uiDialog.innerWidth(),position:"absolute"});b.uiDialog.hide();i.effect("transfer",{to:j,className:"ui-widget-content"},150,function(){b.uiDialog.show();h=b.uiDialog.position();e.width=b.uiDialog.width();e.height=b.uiDialog.height();b._trigger("resize",null,{originalPosition:g,originalSize:d,position:h,size:e});i.remove();j.remove();b.copy&&b.copy.remove()});b.collapsed&&b._collapseDialogContent();b._doButtonAction(b.minimizeButton,"show");b._doButtonAction(b.restoreButton,"remove");b._doButtonAction(b.pinButton,"show");b._doButtonAction(b.refreshButton,"show");b._doButtonAction(b.toggleButton,"show");a.browser.webkit&&a(".wijmo-wijdialog-captionbutton").css("float","")}else if(b.maximized){b.maximized=false;g=b.uiDialog.position();d.width=b.uiDialog.width();d.height=b.uiDialog.height();a(window).unbind(".onWinResize");b.collapsed&&b._expandDialogContent();b._enableDisableResizer(false);b._enableDisableDragger(false);b._restoreToNormal();b.contentWrapper.show();b.collapsed&&b._collapseDialogContent();if(b.maximizeButton!==undefined){b.maximizeButton.show();b._restoreButton(false,b.maximizeButton,"before")}h=b.uiDialog.position();e.width=b.uiDialog.width();e.height=b.uiDialog.height();b._trigger("resize",null,{originalPosition:g,originalSize:d,position:h,size:e})}},open:function(){var b=this;if(!b.minimized){a.ui.dialog.prototype.open.apply(b,arguments);!b.maximized&&b._restoreToNormal()}else b.uiDialog.show();b.collapsed&&b._collapseDialogContent()},_resizeDialog:function(a){a.options.width=a.uiDialog.width();a.options.height=a.uiDialog.height();a._size()},_restoreToNormal:function(){var a=this,b=a.uiDialog,c=a.element;b.css("width",a.normalWidth);b.css("left",a.normalLeft);b.css("top",a.normalTop);b.css("height",a.normalHeight);c.css("height",a.normalInnerHeight);c.css("width",a.normalInnerWidth);c.css("min-width",a.normalInnerMinWidth);c.css("min-height",a.normalInnerMinHeight);a.options.width=a.uiDialog.width();a.options.height=a.uiDialog.height()}})})(jQuery);
-(function(a){"use strict";a.widget("wijmo.wijaccordion",{options:{animated:"slide",duration:null,event:"click",disabled:false,expandDirection:"bottom",header:"> li > :first-child,> :not(li):even",requireOpenedPane:true,selectedIndex:0},_setOption:function(d,b){var c=this.options;if(c[d]!==b)switch(d){case"selectedIndex":this.activate(b);break;case"disabled":if(b)this.element.addClass("ui-state-disabled");else this.element.removeClass("ui-state-disabled");break;case"event":this._unbindLiveEvents();this.options.event=b;this._bindLiveEvents();break;case"header":this._handleHeaderChange(b,c.header);break;case"expandDirection":this._onDirectionChange(b,true,c.expandDirection)}a.Widget.prototype._setOption.apply(this,arguments)},_handleHeaderChange:function(b,a){var c=this.element.find(a);c.removeClass("ui-accordion-header ui-helper-reset ui-state-active "+this._triangleIconOpened).siblings(".ui-accordion-content").removeClass("ui-accordion-content ui-helper-reset ui-widget-content ui-accordion-content-active");this._initHeaders(b)},_initHeaders:function(a){var b=this.options;a=a?a:b.header;this.headers=this.element.find(a);this.headers.each(jQuery.proxy(this._initHeader,this))},_initHeader:function(e,f){var g=this.options,d=this.element.data("rightToLeft"),b=a(f),c=a(d?b.prev()[0]:b.next()[0]);if(d){c.remove();c.appendBefore(b)}b.addClass("ui-accordion-header ui-helper-reset").attr("role","tab");c.attr("role","tabpanel");b.find("> a").length===0&&b.wrapInner('<a href="#"></a>');b.find("> .ui-icon").length===0&&a('<span class="ui-icon"></span>').insertBefore(a("> a",b)[0]);if(e===g.selectedIndex){b.addClass("ui-state-active").addClass(this._headerCornerOpened).attr({"aria-expanded":"true",tabIndex:0}).find("> .ui-icon").addClass(this._triangleIconOpened);c.addClass("ui-accordion-content-active").addClass(this._contentCornerOpened)}else{b.addClass("ui-state-default ui-corner-all").attr({"aria-expanded":"false",tabIndex:-1}).find("> .ui-icon").addClass(this._triangleIconClosed);c.hide()}c.addClass("ui-accordion-content ui-helper-reset ui-widget-content")},_create:function(){this.element.addClass("wijmo-wijaccordion ui-accordion ui-widget ui-helper-reset ui-accordion-icons");var a=this.options;a.disabled&&this.element.addClass("ui-state-disabled");this._onDirectionChange(a.expandDirection,false);this._initHeaders();this.element.attr("role","tablist")},_init:function(){__wijReadOptionEvents(["beforeselectedindexchanged","selectedindexchanged"],this);this._bindLiveEvents()},destroy:function(){this._unbindLiveEvents();this.element.removeClass("wijmo-wijaccordion ui-accordion ui-widget ui-helper-reset ui-accordion-icons").removeAttr("role");a.Widget.prototype.destroy.apply(this,arguments)},activate:function(e){var b,c=this.options,n=this.element.children(".ui-accordion-header"),f=this.element.find(".ui-accordion-header.ui-state-active"),q=this.element.data("rightToLeft"),i,m,g,h,p,k,o,l,j,r,d,s;if(typeof e==="number")b=a(n[e]);else if(typeof e==="string"){e=parseInt(e,0);b=a(n[e])}else{b=a(e);e=n.index(e)}if(b.hasClass("ui-state-active")){if(c.requireOpenedPane)return false;f=b;b=a(null)}else if(!c.requireOpenedPane)f=a(null);i=a(".ui-accordion-header",this.element).index(b);m=a(".ui-accordion-header",this.element).index(f);g=q?b.prev(".ui-accordion-content"):b.next(".ui-accordion-content");h=q?f.prev(".ui-accordion-content"):f.next(".ui-accordion-content");if(f.length===0&&b.length===0)return false;p=jQuery.Event("beforeselectedindexchanged");this.element.trigger(p,[i,m]);if(p.isDefaultPrevented())return false;f.removeClass("ui-state-active").removeClass(this._headerCornerOpened).addClass("ui-state-default ui-corner-all").attr({"aria-expanded":"false",tabIndex:-1}).find("> .ui-icon").removeClass(this._triangleIconOpened).addClass(this._triangleIconClosed);b.removeClass("ui-state-default ui-corner-all").addClass("ui-state-active").addClass(this._headerCornerOpened).attr({"aria-expanded":"true",tabIndex:0}).find("> .ui-icon").removeClass(this._triangleIconClosed).addClass(this._triangleIconOpened);if(c.animated){k={toShow:g,toHide:h,complete:jQuery.proxy(function(){h.removeClass("ui-accordion-content-active");g.addClass("ui-accordion-content-active");h.css("display","");g.css("display","");if(a.fn.wijlinechart){h.find(".wijmo-wijlinechart").wijlinechart("redraw");g.find(".wijmo-wijlinechart").wijlinechart("redraw")}var b=jQuery.Event("selectedindexchanged");this.element.trigger(b,i)},this),horizontal:this.element.hasClass("ui-helper-horizontal"),rightToLeft:this.element.data("rightToLeft"),down:i>m,autoHeight:c.autoHeight||c.fillSpace};o=c.animated;l=c.duration;if(a.isFunction(o))c.animated=o(k);if(a.isFunction(l))c.duration=l(k);j=a.wijmo.wijaccordion.animations;r=c.duration;d=c.animated;if(d&&!j[d]&&!a.easing[d])d="slide";if(!j[d])j[d]=function(a){this.slide(a,{easing:d,duration:r||700})};j[d](k)}else{f.length>0&&h.hide().removeClass("ui-accordion-content-active");b.length>0&&g.show().addClass("ui-accordion-content-active").addClass(this._contentCornerOpened);if(a.fn.wijlinechart){h.find(".wijmo-wijlinechart").wijlinechart("redraw");g.find(".wijmo-wijlinechart").wijlinechart("redraw")}s=jQuery.Event("selectedindexchanged");this.element.trigger(s,i)}this.options.selectedIndex=i},_bindLiveEvents:function(){this.element.find(".ui-accordion-header").live(this.options.event+".wijaccordion",jQuery.proxy(this._onHeaderClick,this)).live("mouseenter.wijaccordion",function(){a(this).addClass("ui-state-hover")}).live("mouseleave.wijaccordion",function(){a(this).removeClass("ui-state-hover")}).live("focus.wijaccordion",function(){a(this).addClass("ui-state-focus")}).live("blur.wijaccordion",function(){a(this).removeClass("ui-state-focus")})},_unbindLiveEvents:function(){this.element.find(".ui-accordion-header").die("wijaccordion")},_onHeaderClick:function(a){this.activate(a.currentTarget);return false},_onDirectionChange:function(j,e,i){var b,g,f,d,c,h;if(e){g=this.element.find(".ui-accordion-header."+this._headerCornerOpened);g.removeClass(this._headerCornerOpened);f=this.element.find(".ui-accordion-content."+this._contentCornerOpened);f.removeClass(this._contentCornerOpened);d=this.element.find("."+this._triangleIconOpened);c=this.element.find("."+this._triangleIconClosed);d.removeClass(this._triangleIconOpened);c.removeClass(this._triangleIconClosed)}i!==null&&this.element.removeClass("ui-accordion-"+i);switch(j){case"top":this._headerCornerOpened="ui-corner-bottom";this._contentCornerOpened="ui-corner-top";this._triangleIconOpened="ui-icon-triangle-1-n";this._triangleIconClosed="ui-icon-triangle-1-e";b=true;this.element.removeClass("ui-helper-horizontal");this.element.addClass("ui-accordion-top");break;case"right":this._headerCornerOpened="ui-corner-left";this._contentCornerOpened="ui-corner-right";this._triangleIconOpened="ui-icon-triangle-1-e";this._triangleIconClosed="ui-icon-triangle-1-s";b=false;this.element.addClass("ui-helper-horizontal");this.element.addClass("ui-accordion-right");break;case"left":this._headerCornerOpened="ui-corner-right";this._contentCornerOpened="ui-corner-left";this._triangleIconOpened="ui-icon-triangle-1-w";this._triangleIconClosed="ui-icon-triangle-1-s";b=true;this.element.addClass("ui-helper-horizontal");this.element.addClass("ui-accordion-left");break;default:this._headerCornerOpened="ui-corner-top";this._contentCornerOpened="ui-corner-bottom";this._triangleIconOpened="ui-icon-triangle-1-s";this._triangleIconClosed="ui-icon-triangle-1-e";b=false;this.element.removeClass("ui-helper-horizontal");this.element.addClass("ui-accordion-bottom")}h=this.element.data("rightToLeft");this.element.data("rightToLeft",b);if(e){d.addClass(this._triangleIconOpened);c.addClass(this._triangleIconClosed);g.addClass(this._headerCornerOpened);f.addClass(this._contentCornerOpened)}e&&b!==h&&this.element.children(".ui-accordion-header").each(function(){var c=a(this),d;if(b){d=c.next(".ui-accordion-content");c.remove();c.insertAfter(d)}else{d=c.prev(".ui-accordion-content");c.remove();c.insertBefore(d)}})}});a.extend(a.wijmo.wijaccordion,{animations:{slide:function(b,h){b=a.extend({easing:"swing",duration:300},b,h);if(!b.toHide.size()){b.toShow.stop(true,true).animate(b.horizontal?{width:"show"}:{height:"show"},b);return}if(!b.toShow.size()){b.toHide.stop(true,true).animate(b.horizontal?{width:"hide"}:{height:"hide"},b);return}var i=b.toShow.css("overflow"),f=0,e={},g={},j=b.horizontal?["width","paddingLeft","paddingRight"]:["height","paddingTop","paddingBottom"],d,c=b.toShow;if(b.horizontal){d=c[0].style.height;c.height(parseInt(c.parent().height(),10)-parseInt(c.css("paddingTop"),10)-parseInt(c.css("paddingBottom"),10)-(parseInt(c.css("borderTopWidth"),10)||0)-(parseInt(c.css("borderBottomWidth"),10)||0))}else{d=c[0].style.width;c.width(parseInt(c.parent().width(),10)-parseInt(c.css("paddingLeft"),10)-parseInt(c.css("paddingRight"),10)-(parseInt(c.css("borderLeftWidth"),10)||0)-(parseInt(c.css("borderRightWidth"),10)||0))}a.each(j,function(f,d){g[d]="hide";var c=(""+a.css(b.toShow[0],d)).match(/^([\d+-.]+)(.*)$/);e[d]={value:c?c[1]:0,unit:c?c[2]||"px":"px"}});b.toShow.css(b.horizontal?{width:0,overflow:"hidden"}:{height:0,overflow:"hidden"}).stop(true,true).show();b.toHide.filter(":hidden").each(b.complete).end().filter(":visible").stop(true,true).animate(g,{step:function(c,a){if(a.prop===b.horizontal?"width":"height")f=a.end-a.start===0?0:(a.now-a.start)/(a.end-a.start);b.toShow[0].style[a.prop]=f*e[a.prop].value+e[a.prop].unit},duration:b.duration,easing:b.easing,complete:function(){!b.autoHeight&&b.toShow.css(b.horizontal?"width":"height","");b.toShow.css(b.horizontal?"height":"width",d);b.toShow.css({overflow:i});b.complete()}})},bounceslide:function(a){this.slide(a,{easing:a.down?"easeOutBounce":"swing",duration:a.down?1e3:200})}}})})(jQuery);
-(function(a){"use strict";a.fn.extend({getBounds:function(){return a.extend({},a(this).offset(),{width:a(this).outerWidth(true),height:a(this).outerHeight(true)})},setBounds:function(b){a(this).css({left:b.left,top:b.top}).width(b.width).height(b.height);return this},getMaxZIndex:function(){var b=(a(this).css("z-index")=="auto"?0:a(this).css("z-index"))*1;a(this).siblings().each(function(d,c){b=Math.max(b,(a(c).css("z-index")=="auto"?0:a(c).css("z-index"))*1)});return b}});a.widget("wijmo.wijpopup",{options:{ensureOutermost:false,showEffect:"show",showOptions:{},showDuration:300,hideEffect:"hide",hideOptions:{},hideDuration:100,autoHide:false,position:{at:"left bottom",my:"left top"},showing:null,shown:null,hiding:null,hidden:null,posChanged:null},_create:function(){},_init:function(){if(!!this.options.ensureOutermost){var b=a("form");if(b.length===0)b=a(document.body);this.element.appendTo(b)}this.element.data("visible.wijpopup",false);this.element.css("position","absolute");this.element.position({of:a(document.body)});this.element.hide()},_setOption:function(c){a.Widget.prototype._setOption.apply(this,arguments);if(c==="autoHide"){var b=this.isVisible();this.hide();b&&this.show()}},destroy:function(){a.Widget.prototype.destroy.apply(this,arguments);this.isVisible()&&this.hide();if(a.browser.msie&&a.browser.version<7){jFrame=this.element.data("backframe.wijpopup");!jFrame&&jFrame.remove()}var b=this;this.element.unbind(".wijpopup");a.each(["visible","backframe","animating","width"],function(c,a){b.element.removeData(a+".wijpopup")})},isVisible:function(){return!!this.element.data("visible.wijpopup")&&this.element.is(":visible")},isAnimating:function(){return!!this.element.data("animating.wijpopup")},show:function(d){this._setPosition(d);if(this.isVisible())return;if(this._trigger("showing")===false)return;this.options.autoHide&&a(document.body).bind("mouseup.wijpopup",a.proxy(this._onDocMouseUp,this));var b=this.options.showEffect||"show",c=this.options.showDuration||300,e=this.options.showOptions||{};this.element.data("animating.wijpopup",true);if(a.effects&&a.effects[b])this.element.show(b,e,c,a.proxy(this._showCompleted,this));else this.element[b](b==="show"?null:c,a.proxy(this._showCompleted,this));(!b||!c||b==="show"||c<=0)&&this._showCompleted()},_showCompleted:function(){this.element.removeData("animating.wijpopup");this.element.data("visible.wijpopup",true);this._trigger("shown")},showAt:function(a,b){this.show({my:"left top",at:"left top",of:document.body,offset:""+a+" "+b})},hide:function(){if(!this.isVisible())return;if(this._trigger("hiding")===false)return;a(document.body).unbind("mouseup.wijpopup");var b=this.options.hideEffect||"hide",c=this.options.hideDuration||300,d=this.options.hideOptions||{};this.element.data("animating.wijpopup",true);if(a.effects&&a.effects[b])this.element.hide(b,d,c,a.proxy(this._hideCompleted,this));else this.element[b](b==="hide"?null:c,a.proxy(this._hideCompleted,this));(!b||!c||b==="hide"||c<=0)&&this._hideCompleted()},_hideCompleted:function(){if(this.element.data("width.wijpopup")!==undefined){this.element.width(this.element.data("width.wijpopup"));this.element.removeData("width.wijpopup")}this.element.unbind("move.wijpopup");this.element.removeData("animating.wijpopup");if(a.browser.msie&&a.browser.version<7){var b=this.element.data("backframe.wijpopup");b&&b.hide()}this._trigger("hidden")},_onDocMouseUp:function(b){var c=b.target?b.target:b.srcElement;if(this.isVisible()&&!!this.options.autoHide)c!=this.element.get(0)&&a(c).parents().index(this.element)<0&&this.hide()},_onMove:function(){var a=this.element.data("backframe.wijpopup");if(a){this.element.before(a);a.css({top:this.element.css("top"),left:this.element.css("left")})}},_addBackgroundIFrame:function(){if(a.browser.msie&&a.browser.version<7){var b=this.element.data("backframe.wijpopup");if(!b){b=jQuery("<iframe/>").css({position:"absolute",display:"none",filter:"progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0)"}).attr({src:"javascript:'<html></html>';",scrolling:"no",frameborder:"0","tabIndex ":-1});this.element.before(b);this.element.data("backframe.wijpopup",b);this.element.bind("move.wijpopup",a.proxy(this._onMove,this))}b.setBounds(this.element.getBounds());document.title=this.element.css("display");b.css({display:"block",left:this.element.css("left"),top:this.element.css("top"),"z-index":this.element.css("z-index")-1})}},_setZIndex:function(b){this.element.css("z-index",b);var a=this.element.data("backframe.wijpopup");a&&a.css("z-index",this.element.css("z-index")-1)},_setPosition:function(c){var d=this.element.is(":visible");this.element.show();this.element.position(a.extend({},this.options.position,c?c:{}));!d&&this.element.hide();this._addBackgroundIFrame();var b=1e3;if(this.options.position.of)b=Math.max(b,a(this.options.position.of).getMaxZIndex());this._setZIndex(b+10);this._trigger("posChanged")}})})(jQuery);
-(function(a){"use strict";var i="wijmo-wijsuperpanel ui-widget ui-widget-content",h="ui-corner-all",b="ui-state-disabled",f="ui-state-hover",g="ui-state-active",e="ui-state-default",c="wijmo-wijsuperpanel-handle",d="wijmo-wijsuperpanel-hbarcontainer",j="wijmo-wijsuperpanel-vbarcontainer",l="<div class='wijmo-wijsuperpanel-statecontainer'><div class='wijmo-wijsuperpanel-contentwrapper'><div class='wijmo-wijsuperpanel-templateouterwrapper'></div></div></div>",k="<div class='wijmo-wijsuperpanel-hbarcontainer ui-widget-header'><div class='wijmo-wijsuperpanel-handle ui-state-default ui-corner-all'><span class='ui-icon ui-icon-grip-solid-vertical'></span></div><div class='wijmo-wijsuperpanel-hbar-buttonleft ui-state-default ui-corner-bl'><span class='ui-icon ui-icon-triangle-1-w'></span></div><div class='wijmo-wijsuperpanel-hbar-buttonright ui-state-default ui-corner-br'><span class='ui-icon ui-icon-triangle-1-e'></span></div></div>",n="<div class='wijmo-wijsuperpanel-vbarcontainer ui-widget-header'><div class='wijmo-wijsuperpanel-handle ui-state-default ui-corner-all'><span class='ui-icon ui-icon-grip-solid-horizontal'></span></div><div class='wijmo-wijsuperpanel-vbar-buttontop ui-state-default ui-corner-tr'><span class='ui-icon ui-icon-triangle-1-n'></span></div><div class='wijmo-wijsuperpanel-vbar-buttonbottom ui-state-default ui-corner-br'><span class='ui-icon ui-icon-triangle-1-s'></span></div></div>",m="<div class='ui-state-default wijmo-wijsuperpanel-button wijmo-wijsuperpanel-buttonleft'><span class='ui-icon ui-icon-carat-1-w'></span></div><div class='ui-state-default wijmo-wijsuperpanel-button wijmo-wijsuperpanel-buttonright'><span class='ui-icon ui-icon-carat-1-e'></span></div>",o="<div class='ui-state-default wijmo-wijsuperpanel-button wijmo-wijsuperpanel-buttontop'><span class='ui-icon ui-icon-carat-1-n'></span></div><div class='ui-state-default wijmo-wijsuperpanel-button wijmo-wijsuperpanel-buttonbottom'><span class='ui-icon ui-icon-carat-1-s'></span></div>";a.widget("wijmo.wijsuperpanel",{options:{allowResize:false,autoRefresh:false,animationOptions:{queue:false,duration:250,easing:undefined},hScrollerActivating:null,hScroller:{scrollBarPosition:"bottom",scrollBarVisibility:"auto",scrollMode:"scrollbar",scrollValue:null,scrollMax:100,scrollMin:0,scrollLargeChange:null,scrollSmallChange:null,scrollMinDragLength:6,increaseButtonPosition:null,decreaseButtonPosition:null,hoverEdgeSpan:20,firstStepChangeFix:0},keyboardSupport:false,keyDownInterval:100,mouseWheelSupport:true,bubbleScrollingEvent:true,resizableOptions:{handles:"all",helper:"ui-widget-content wijmo-wijsuperpanel-helper"},resized:null,dragstop:null,painted:null,scrolling:null,scrolled:null,showRounder:true,vScrollerActivating:null,vScroller:{scrollBarPosition:"right",scrollBarVisibility:"auto",scrollMode:"scrollbar",scrollValue:null,scrollMax:100,scrollMin:0,scrollLargeChange:null,scrollSmallChange:null,scrollMinDragLength:6,increaseButtonPosition:null,decreaseButtonPosition:null,hoverEdgeSpan:20,firstStepChangeFix:0}},_setOption:function(d,b){var c=this,h=c.options,g=c._fields(),e=g.hbarDrag,f=g.vbarDrag,i=g.resizer;if(d==="animationOptions")b=a.extend(h.animationOptions,b);else if(d==="hScroller"){if(b.scrollLargeChange!==undefined&&b.scrollLargeChange!==null)c._autoHLarge=false;b=a.extend(h.hScroller,b)}else if(d==="vScroller"){if(b.scrollLargeChange!==undefined&&b.scrollLargeChange!==null)c._autoVLarge=false;b=a.extend(h.vScroller,b)}else if(d==="resizableOptions")b=a.extend(c.resizableOptions,b);a.Widget.prototype._setOption.apply(c,arguments);switch(d){case"allowResize":c._initResizer();break;case"disabled":if(b){e!==undefined&&e.draggable("disable");f!==undefined&&f.draggable("disable");i!==undefined&&i.resizable("disable")}else{e!==undefined&&e.draggable("enable");f!==undefined&&f.draggable("enable");i!==undefined&&i.resizable("enable")}break;case"mouseWheelSupport":case"keyboardSupport":c._bindElementEvents(c,g,c.element,h)}return c},_create:function(){var a=this,b=a.options;b.vScroller.dir="v";b.hScroller.dir="h";a.paintPanel();a._initResizer();a.options.disabled&&a.disable();a._detectAutoRefresh()},_detectAutoRefresh:function(){var c=this,b=a.wijmo.wijsuperpanel.panels;if(b===undefined){b=[];a.wijmo.wijsuperpanel.panels=b}b.push(c);if(c.options.autoRefresh)if(!a.wijmo.wijsuperpanel.setAutoRefreshInterval){a.wijmo.wijsuperpanel.setAutoRefreshInterval=c._setAutoRefreshInterval;a.wijmo.wijsuperpanel.setAutoRefreshInterval()}},_setAutoRefreshInterval:function(){var b=a.wijmo.wijsuperpanel.autoRereshInterval,c=a.wijmo.wijsuperpanel.panels,d=window.setInterval(function(){window.clearInterval(d);for(var k=c.length,j=false,b,g,i,f,e,h=0;h<k;h++){b=c[h];g=b.element[0];i=b.options.autoRefresh;if(i)j=true;f=b.getContentElement();e=b._paintedMark;b.options.autoRefresh&&f.is(":visible")&&(e===undefined||e.width!==f[0].offsetWidth||e.height!==f[0].offsetHeight||e.mainWidth!==g.offsetWidth||e.mainHeight!==g.offsetHeight)&&b.paintPanel()}j&&window.setTimeout(a.wijmo.wijsuperpanel.setAutoRefreshInterval,0)},b===undefined?500:b)},destroy:function(){var c=this,b=c._fields(),d=c.element,f,e;a.wijmo.wijsuperpanel.panels=a.grep(a.wijmo.wijsuperpanel.panels,function(a){return a!==c});if(!b.initialized)return;c._radiusKey&&c.element.css(c._radiusKey,"");if(b.intervalID!==undefined){window.clearInterval(b.intervalID);b.intervalID=undefined}b.resizer!==undefined&&b.resizer.resizable("destroy");if(b.hbarContainer!==undefined){b.hbarDrag.remove();b.hbarContainer.unbind("."+c.widgetName)}if(b.vbarContainer!==undefined){b.vbarDrag.remove();b.vbarContainer.unbind("."+c.widgetName)}d.unbind("."+c.widgetName);b.contentWrapper.unbind("."+c.widgetName);f=b.stateContainer.find(">.wijmo-wijsuperpanel-button");f.unbind("."+c.widgetName);e=b.templateWrapper;e.contents().each(function(b,a){d.append(a)});b.stateContainer.remove();b.tabindex&&d.removeAttr("tabindex");d.removeClass(i+" "+h);a.Widget.prototype.destroy.apply(c,arguments)},_fields:function(){var b=this,c=b.element,d=b.widgetName+"-fields",a=b._fieldsStore;if(a===undefined){a={};c.data(d,a);b._fieldsStore=a}return a},_hasMode:function(c,d){var b=c.scrollMode.split(",");b=a.map(b,function(b){return a.trim(b)});return a.inArray(d,b)>-1},_bindElementEvents:function(a,g,b,d){var e=a._hasMode(d.hScroller,"edge"),f=a._hasMode(d.vScroller,"edge"),c=a.widgetName;if(e||f){if(a._mousemoveBind===undefined){a._mousemoveBind=true;b.bind("mousemove."+c,a,a._contentMouseMove);b.bind("mouseleave."+c,null,function(){a._clearInterval()})}}else{b.unbind("mousemove",a._contentMouseMove);a._mousemoveBind=undefined}if(d.mouseWheelSupport){if(a._mouseWheelBind===undefined){a._mouseWheelBind=true;b.bind("mousewheel."+c,a,a._panelMouseWheel)}}else{a.element.unbind("mousewheel",a._panelMouseWheel);a._mouseWheelBind=undefined}if(d.keyboardSupport){if(a._keyboardBind===undefined){a._keyboardBind=true;b.bind("keydown."+c,a,a._panelKeyDown)}}else{b.unbind("keydown",a._panelKeyDown);a._keyboardBind=undefined}},_dragStop:function(d,b,c){var a={dragHandle:c};b._trigger("dragstop",d,a)},_contentMouseMove:function(g){var b=g.data,n=b.options,i,j,f,s,q,r,h,m,d,e,k,l,o,p,c;if(n.disabled)return;i=n.hScroller;j=n.vScroller;f=a(g.currentTarget);s=b._fields();q=b._hasMode(i,"edge");r=b._hasMode(j,"edge");b._clearInterval();h={X:g.pageX,Y:g.pageY};m=f.offset();d=m.left;e=m.top;d=h.X-d;e=h.Y-e;k=i.hoverEdgeSpan;l=j.hoverEdgeSpan;o=f.innerHeight();p=f.innerWidth();c="";if(q){if(d<k)c="left";if(d>p-k)c="right"}if(r){if(e<l)c="top";if(e>o-l)c="bottom"}b._setScrollingInterval(s,c,b,false)},_setScrollingInterval:function(d,b,a,c){var e=a.options;if(b.length>0)d.internalFuncID=window.setInterval(function(){a._doScrolling(b,a,c)},e.keyDownInterval)},_scrollButtonMouseOver:function(e){var c=e.data,d;if(c.options.disabled)return;d=a(e.currentTarget);if(!d.hasClass(b)){d.bind("mouseout."+c.widgetName,c,c._buttonMouseOut).bind("mousedown."+c.widgetName,c,c._buttonMouseDown).bind("mouseup."+c.widgetName,c,c._buttonMouseUp).addClass(f);c._buttonScroll(d,c,"buttonshover")}},_buttonScroll:function(c,a,f){var b="",g=a.options,h=a._fields(),d=a._hasMode(g.hScroller,f),e=a._hasMode(g.vScroller,f);if(c.hasClass("wijmo-wijsuperpanel-buttonleft")&&d)b="left";else if(c.hasClass("wijmo-wijsuperpanel-buttonright")&&d)b="right";else if(c.hasClass("wijmo-wijsuperpanel-buttontop")&&e)b="top";else if(c.hasClass("wijmo-wijsuperpanel-buttonbottom")&&e)b="bottom";if(b.length>0){a._clearInterval();a._doScrolling(b,a,true);a._setScrollingInterval(h,b,a,true)}},_buttonMouseDown:function(e){var d=e.data,c;if(d.options.disabled)return;c=a(e.currentTarget);if(!c.hasClass(b)){c.addClass(g);d._buttonScroll(c,d,"buttons")}},_buttonMouseUp:function(b){var d=b.data,c=a(b.currentTarget);c.removeClass("ui-state-active");d._clearInterval()},_buttonMouseOut:function(c){var b=c.data,d=a(c.currentTarget);d.unbind("mouseout",b._buttonMouseOut).unbind("mousedown",b._buttonMouseDown).unbind("mouseup",b._buttonMouseUp).removeClass(f).removeClass(g);b._clearInterval()},_panelKeyDown:function(e){var b=e.data,f=b.options,d,c;if(!f.keyboardSupport||f.disabled)return;d=e.shiftKey;c=e.keyCode;if(c===a.ui.keyCode.LEFT)b._doScrolling("left",b,d);else if(c===a.ui.keyCode.RIGHT)b._doScrolling("right",b,d);else if(c===a.ui.keyCode.UP)b._doScrolling("top",b,d);else c===a.ui.keyCode.DOWN&&b._doScrolling("bottom",b,d);e.stopPropagation();e.preventDefault()},_draggingInternal:function(c,a,f){var d=a.dir,i=d==="h",h=i?"left":"top",l=parseFloat(f[0].style[h].replace("px",""))-c._getScrollContainerPadding(h),k=c._getTrackLen(d)-f[i?"outerWidth":"outerHeight"](),j=l/k,e=a.scrollMax-a.scrollLargeChange+1,b=j*e,g;if(b<a.scrollMin)b=a.scrollMin;if(b>e)b=e;g={oldValue:a.scrollValue,newValue:b,dir:d};if(!c._scrolling(true,c,g))return;a.scrollValue=b;c._setDragAndContentPosition(true,false,d,"dragging")},_dragging:function(f,b){var e=b.options,c=a(f.target),g=c.parent();if(g.hasClass(d))b._draggingInternal(b,e.hScroller,c);else b._draggingInternal(b,e.vScroller,c)},_panelMouseWheel:function(h,l){var c=h.data,i=c.options,k,b,j,f,g,e;if(!i.mouseWheelSupport||i.disabled)return;k=a(h.srcElement||h.originalEvent.target);b="";j=k.closest("."+d,c.element).size()>0;f=i.hScroller;g=i.vScroller;if(l>0)b=j?"left":"top";else b=j?"right":"bottom";b.length>0&&c._doScrolling(b,c);e=false;if(b==="left")e=!c.hNeedScrollBar||Math.abs(f.scrollValue-f.scrollMin)<.001;if(b==="right")e=!c.hNeedScrollBar||Math.abs(f.scrollValue-(f.scrollMax-c._getHScrollBarLargeChange()+1))<.001;if(b==="top")e=!c.vNeedScrollBar||Math.abs(g.scrollValue-g.scrollMin)<.001;if(b==="bottom")e=!c.vNeedScrollBar||Math.abs(g.scrollValue-(g.scrollMax-c._getVScrollBarLargeChange()+1))<.001;if(!e||!i.bubbleScrollingEvent||b==="left"||b==="right"){h.stopPropagation();h.preventDefault()}},_documentMouseUp:function(c){var b=c.data.self,d=c.data.ele;d.removeClass(g);b._clearInterval();a(document).unbind("mouseup",b._documentMouseUp)},_scrollerMouseOver:function(i){var b=i.data,g,c,h;if(b.options.disabled)return;g=a(i.srcElement||i.originalEvent.target);c=null;h=false;if(g.hasClass(e)){c=g;h=true}else if(g.parent().hasClass(e)){c=g.parent();h=true}else if(g.hasClass(j)||g.hasClass(d))c=g;if(c!==undefined){h&&c.addClass(f);c.bind("mouseout."+b.widgetName,b,b._elementMouseOut);c.bind("mousedown."+b.widgetName,b,b._elementMouseDown);c.bind("mouseup."+b.widgetName,b,b._elementMouseUp)}},_elementMouseUp:function(c){var b=a(c.currentTarget);b.removeClass("ui-state-active")},_elementMouseDown:function(i){var b=a(i.currentTarget),f=i.data,e,h,g,k,n,l,m,o;if(f.options.disabled)return;e="";h=false;g=false;if(b.hasClass("wijmo-wijsuperpanel-vbar-buttontop")){e="top";g=true}else if(b.hasClass("wijmo-wijsuperpanel-vbar-buttonbottom")){e="bottom";g=true}else if(b.hasClass("wijmo-wijsuperpanel-hbar-buttonleft")){e="left";g=true}else if(b.hasClass("wijmo-wijsuperpanel-hbar-buttonright")){e="right";g=true}else if(b.hasClass(c)){b.addClass("ui-state-active");return}else if(b.hasClass(d)){k=b.find("."+c);n=k.offset();if(i.pageX<n.left)e="left";else e="right";h=true}else if(b.hasClass(j)){l=b.find("."+c);m=l.offset();if(i.pageY<m.top)e="top";else e="bottom";h=true}f._clearInterval();f._doScrolling(e,f,h);o=f._fields();f._setScrollingInterval(o,e,f,h);g&&b.addClass("ui-state-active");a(document).bind("mouseup."+f.widgetName,{self:f,ele:b},f._documentMouseUp)},doScrolling:function(b,a){this._doScrolling(b,this,a)},_setScrollerValue:function(n,b,l,h,m,i,e){var f=b.scrollMin,j=i?h:l,c=b.scrollValue,a,d,g,k;if(!c)c=f;a=0;if(m){d=b.scrollMax-h+1;if(Math.abs(c-d)<.001){e._clearInterval();return false}g=b.firstStepChangeFix;a=c+j;if(!i&&Math.abs(c-f)<1e-4&&!isNaN(g))a+=g;if(a>d)a=d}else{if(Math.abs(c-f)<.001){e._clearInterval();return false}a=c-j;if(a<0)a=f}k={oldValue:b.scrollValue,newValue:a,direction:n,dir:b.dir};if(!e._scrolling(true,e,k))return false;b.scrollValue=a;return true},_doScrolling:function(a,b,c){var d=b.options,f=d.vScroller,e=d.hScroller,j=b._getVScrollBarSmallChange(),i=b._getVScrollBarLargeChange(),g=b._getHScrollBarLargeChange(),h=b._getHScrollBarSmallChange();if(a==="top"||a==="bottom"){if(!b._setScrollerValue(a,f,j,i,a==="bottom",c,b))return;a="v"}else if(a==="left"||a==="right"){if(!b._setScrollerValue(a,e,h,g,a==="right",c,b))return;a="h"}b._setDragAndContentPosition(true,true,a)},_disableButtonIfNeeded:function(h){var a=h._fields(),c,f,j,g,i,m,o,d,k,n,p,e,l;a.intervalID>0&&window.clearInterval(a.intervalID);c=h.options;f=a.buttonLeft;j=a.buttonRight;g=a.buttonTop;i=a.buttonBottom;if(f!==undefined){m=h._getHScrollBarLargeChange();o=c.hScroller.scrollMax-m+1;d=c.hScroller.scrollValue;k=c.hScroller.scrollMin;if(d===undefined)d=k;if(Math.abs(d-k)<.001||!a.hScrolling)f.addClass(b);else f.removeClass(b);if(Math.abs(d-o)<.001||!a.hScrolling)j.addClass(b);else j.removeClass(b)}if(g!==undefined){n=h._getVScrollBarLargeChange();p=c.vScroller.scrollMax-n+1;e=c.vScroller.scrollValue;l=c.vScroller.scrollMin;if(e===undefined)e=l;if(Math.abs(e-l)<.001||!a.vScrolling)g.addClass(b);else g.removeClass(b);if(Math.abs(e-p)<.001||!a.vScrolling)i.addClass(b);else i.removeClass(b)}},_clearInterval:function(){var b=this._fields(),a=b.internalFuncID;if(a>0){window.clearInterval(a);b.internalFuncID=-1}},_elementMouseOut:function(d){var b=a(d.currentTarget),c=d.data;b.unbind("mouseout",c._elementMouseOut);b.unbind("mousedown",c._elementMouseDown);b.unbind("mouseup",c._elementMouseUp);b.removeClass(f)},scrollChildIntoView:function(k){var f=a(k),i,d,j,g,h,b,e,c;if(f.size()===0)return;i=this._fields();d=i.contentWrapper;j=i.templateWrapper;b=f.offset();e=j.offset();b.leftWidth=b.left+f.outerWidth();b.topHeight=b.top+f.outerHeight();c=d.offset();c.leftWidth=c.left+d.outerWidth();c.topHeight=c.top+d.outerHeight();if(b.left<c.left)g=b.left-e.left;else if(b.leftWidth>c.leftWidth)g=b.leftWidth-e.left-d.innerWidth();if(b.top<c.top)h=b.top-e.top;else if(b.topHeight>c.topHeight)h=b.topHeight-e.top-d.innerHeight();g!==undefined&&this.hScrollTo(g);h!==undefined&&this.vScrollTo(h)},hScrollTo:function(b){var a=this.options;a.hScroller.scrollValue=this.scrollPxToValue(b,"h");this._setDragAndContentPosition(false,true,"h","nonestop")},vScrollTo:function(b){var a=this.options;a.vScroller.scrollValue=this.scrollPxToValue(b,"v");this._setDragAndContentPosition(false,true,"v","nonestop")},scrollPxToValue:function(o,b){var g=this.options,p=b==="h"?"outerWidth":"outerHeight",n=b==="h"?"contentWidth":"contentHeight",e=b==="h"?"hScroller":"vScroller",f=this._fields(),j=f.contentWrapper,l=f[n],h=j[p](),d=g[e].scrollMin,m=g[e].scrollMax,k=m-d,i=b==="h"?this._getHScrollBarLargeChange():this._getVScrollBarLargeChange(),c=k-i+1,a=c*(o/(l-h));if(a<d)a=d;if(a>c)a=c;return a},scrollTo:function(a,b){this.hScrollTo(a);this.vScrollTo(b)},paintPanel:function(){var b=this,e=b.element,g,f,c,d;if(e.is(":visible")){g=document.activeElement;f=b.options;c=b._fields();!c.initialized&&b._initialize(c,e,b);b._resetLargeChange(b,c,f);b._bindElementEvents(b,c,e,f);d=c.templateWrapper;d.css({"float":"left",left:"0px",top:"0px",width:"auto",height:"auto"});d.hide();d.show();c.contentWidth=d.width();c.contentHeight=d.height();d.css("float","");b._setRounder(b,e);b._setInnerElementsSize(c,e);if(b._testScroll(b,c,f)===false)return false;b._initScrollBars(b,c,f);b._initScrollButtons(b,c,f);b._trigger("painted");b._paintedMark={date:new Date,mainWidth:e[0].offsetWidth,mainHeight:e[0].offsetHeight,width:c.contentWidth,height:c.contentWidth};g!==undefined&&a(g).focus();return true}return false},_resetLargeChange:function(b,a,c){if(b._autoVLarge)c.vScroller.scrollLargeChange=null;if(b._autoHLarge)c.hScroller.scrollLargeChange=null;a.vTrackLen=undefined;a.hTrackLen=undefined;if(a.vbarContainer){a.vbarContainer.remove();a.vbarContainer=undefined}if(a.hbarContainer){a.hbarContainer.remove();a.hbarContainer=undefined}},_initialize:function(b,a,c){b.initialized=true;a.addClass(i);b.oldHeight=a.css("height");var d=a.css("overflow");a.css("overflow","");a.height(a.height());a.css("overflow",d);c._createAdditionalDom(c,b,a)},getContentElement:function(){return this._fields().templateWrapper},_setButtonPosition:function(f,s,g,r,n,d,k){var b=r==="h",q="mouseover."+f.widgetName,i=b?"buttonLeft":"buttonTop",j=b?"buttonRight":"buttonBottom",e=d[i],h=d[j],p,l,c;if(f._hasMode(g,"buttons")||f._hasMode(g,"buttonshover")){p=b?m:o;if(e===undefined){l=a(p).appendTo(k);l.bind(q,f,f._scrollButtonMouseOver);d[i]=e=k.children(b?".wijmo-wijsuperpanel-buttonleft":".wijmo-wijsuperpanel-buttontop");d[j]=h=k.children(b?".wijmo-wijsuperpanel-buttonright":".wijmo-wijsuperpanel-buttonbottom")}c={my:b?"left":"top",of:n,at:b?"left":"top",collision:"none"};a.extend(c,g.decreaseButtonPosition);e.position(c);c={my:b?"right":"bottom",of:n,at:b?"right":"bottom",collision:"none"};a.extend(c,g.increaseButtonPosition);h.position(c)}else if(e!==undefined){e.remove();h.remove();d[i]=d[j]=undefined}},_initScrollButtons:function(a,b,c){var e=b.contentWrapper,d=b.stateContainer;a._setButtonPosition(a,c,c.hScroller,"h",e,b,d);a._setButtonPosition(a,c,c.vScroller,"v",e,b,d)},_getVScrollBarSmallChange:function(){var a=this.options,b;if(!a.vScroller.scrollSmallChange){b=this._getVScrollBarLargeChange();a.vScroller.scrollSmallChange=b/2}return a.vScroller.scrollSmallChange},_getVScrollBarLargeChange:function(){return this._getLargeChange("v")},_getLargeChange:function(q){var f=this,m=f.options,l=f._fields(),c=q==="v",a=c?m.vScroller:m.hScroller,n=c?"clientHeight":"clientWidth",o=c?"contentHeight":"contentWidth",p=c?"_autoVLarge":"_autoHLarge",j,k,i,h,d,g,e,b;if(a.scrollLargeChange)return a.scrollLargeChange;j=a.scrollMax;k=a.scrollMin;i=j-k;h=l.contentWrapper;d=h[0][n];g=l[o];e=d/(g-d);b=(i+1)*e/(1+e);if(isNaN(b))b=0;a.scrollLargeChange=b;f[p]=true;return a.scrollLargeChange},_getHScrollBarSmallChange:function(){var a=this.options,b;if(!a.hScroller.scrollSmallChange){b=this._getHScrollBarLargeChange();a.hScroller.scrollSmallChange=b/2}return a.hScroller.scrollSmallChange},_getHScrollBarLargeChange:function(){return this._getLargeChange("h")},_initScrollBars:function(c,q,d){var o=d.hScroller,t=o.scrollMax,u=o.scrollMin,r=t-u,p=d.vScroller,v=p.scrollMax,w=p.scrollMin,s=v-w,a=q.hbarDrag,b=q.vbarDrag,k,i,f,n,j,l,g,e,m,h;if(c.hNeedScrollBar&&a.is(":visible")){k=c._getHScrollBarLargeChange();i=c._getTrackLen("h");f=c._getDragLength(r,k,i,d.hScroller.scrollMinDragLength);a.width(f);n=a.outerWidth()-a.width();a.width(f-n);j=a.children("span");j.css("margin-left",(a.width()-j[0].offsetWidth)/2);if(i<=a.outerWidth())a.hide();else a.show()}if(c.vNeedScrollBar&&b.is(":visible")){l=c._getVScrollBarLargeChange();g=c._getTrackLen("v");e=c._getDragLength(s,l,g,d.vScroller.scrollMinDragLength);b.height(e);m=b.outerHeight()-b.height();b.height(e-m);h=b.children("span");h.css("margin-top",(b.height()-h[0].offsetHeight)/2);if(g<=b.outerHeight())b.hide();else b.show()}c._setDragAndContentPosition(false,false,"both")},_getTrackLen:function(f){var e=this,a=e._fields(),d=f+"TrackLen",g,h,c,b;if(a[d]!==undefined)return a[d];g=a.hbarContainer;h=a.vbarContainer;c=0;b=0;if(f==="h"){b=e._getScrollContainerPadding("h");c=g.innerWidth()}if(f==="v"){b=e._getScrollContainerPadding("v");c=h.innerHeight()}a[d]=c-b;return a[d]},_getScrollContainerPadding:function(b){var c=this,d=c._fields(),a=0,f,e;if(b==="h")a=c._getScrollContainerPadding("left")+c._getScrollContainerPadding("right");else if(b==="v")a=c._getScrollContainerPadding("top")+c._getScrollContainerPadding("bottom");else{if(b==="left"||b==="right")f=d.hbarContainer;else f=d.vbarContainer;e=b+"Padding";if(d[e]!==undefined){a=d[e];return a}a=parseFloat(f.css("padding-"+b).replace("px",""));d[e]=a}return a},_contentDragAnimate:function(h,p,C,g,A,t,w){var b=this,f=b.options,d=h==="v",j=d?f.vScroller:f.hScroller,H=d?"outerHeight":"outerWidth",I=d?"innerHeight":"innerWidth",E=d?"contentHeight":"contentWidth",F=d?"top":"left",q=j.scrollMin,K=j.scrollMax,J=K-q,k=j.scrollValue===undefined?q:j.scrollValue-q,D=b._getLargeChange(h),l=J-D+1,s=b._fields(),G=s.contentWrapper,i=s.templateWrapper,c,e,y,z,B,x,n,v,m,o,u,r;if(k>l)k=l;c=(s[E]-G[I]())*(k/l);if(Math.abs(c)<.001)c=0;c=Math.round(c);e=-1;if(C!==undefined){p&&g.is(":animated")&&A!=="nonestop"&&g.stop(true,false);y=b._getTrackLen(h);z=g[H]();B=y-z;x=b._getScrollContainerPadding(F);e=k/l*B+x}if(p&&f.animationOptions){if(e>=0&&w!=="dragging"){n=a.extend({},f.animationOptions);n.complete=undefined;v=d?{top:e}:{left:e};g.animate(v,n)}m=a.extend({},f.animationOptions);o=f.animationOptions.complete;m.complete=function(){b._scrollEnd(t,b,h);a.isFunction(o)&&o(arguments)};p&&i.is(":animated")&&A!=="nonestop"&&i.stop(true,false);u=d?{top:-c}:{left:-c};i.animate(u,m)}else{r=d?"top":"left";if(e>=0&&w!=="dragging")g[0].style[r]=e+"px";i[0].style[r]=-c+"px";b._scrollEnd(t,b,h)}},_setDragAndContentPosition:function(d,e,c,g,f){var b=this,a=b._fields(),h=a.hbarContainer,j=a.hbarDrag,i=a.vbarContainer,k=a.vbarDrag;(c==="both"||c==="h")&&a.hScrolling&&b._contentDragAnimate("h",e,h,j,g,d,f);(c==="both"||c==="v")&&a.vScrolling&&b._contentDragAnimate("v",e,i,k,g,d,f);a.intervalID>0&&window.clearInterval(a.intervalID);a.intervalID=window.setInterval(function(){b._disableButtonIfNeeded(b)},500)},_scrolling:function(d,a,b){var c=true;if(d){b.beforePosition=a.getContentElement().position();a._beforePosition=b.beforePosition;c=a._trigger("scrolling",null,b)}return c},_scrollEnd:function(b,a,c){b&&window.setTimeout(function(){var e=a.getContentElement(),b,d;if(!e.is(":visible"))return;b=a.getContentElement().position();d={dir:c,beforePosition:a._beforePosition,afterPosition:b};a._trigger("scrolled",null,d)},0)},_getDragLength:function(f,d,b,g){var e=f/d,a=b/e,c=g;if(a<c)a=c;else if(a+1>=b)a=b-1;return Math.round(a)},_needScrollbar:function(b,e){var d=this._hasMode(b,"scrollbar"),a=b.scrollBarVisibility,c=d&&(a==="visible"||a==="auto"&&e);return c},_bindBarEvent:function(d,e,c){var b=this;d.bind("mouseover."+b.widgetName,b,b._scrollerMouseOver);e.draggable({axis:c==="h"?"x":"y",drag:function(a){b._dragging(a,b)},containment:"parent",stop:function(d){b._dragStop(d,b,c);a(d.target).removeClass("ui-state-active")}})},_createBarIfNeeded:function(o,m,f,q,i){if(o){var e=this,r=e.options,j,l=e._fields(),n=f+"barContainer",p=f+"barDrag",b=f==="h",d=i[0][b?"clientHeight":"clientWidth"],g=l[n]=a(q),h,k;m.append(g);h=g[0][b?"offsetHeight":"offsetWidth"];d=d-h;j={direction:b?"horizontal":"vertical",targetBarLen:h,contentLength:d};if(e._trigger(b?"hScrollerActivating":"vScrollerActivating",null,j)===false)return false;k=l[p]=g.find("."+c);e._bindBarEvent(g,k,f);i[b?"height":"width"](d)}},_setScrollbarPosition:function(u,p,f,a,s,r,h,q,c,g,t){var b=g==="h",e,m,i,n,j,o,k,l,d;if(r){e=a[0][b?"offsetHeight":"offsetWidth"];m=p._getScrollContainerPadding(g);i=b?"top":"left";n=b?{top:"0px",bottom:"auto",left:"auto",right:"auto"}:{left:"0px",right:"auto",top:"auto",bottom:"auto"};j=b?{top:e+"px"}:{left:e+"px"};o=b?{top:"auto",right:"auto",left:"auto",bottom:"0px"}:{left:"auto",right:"0px",top:"auto",bottom:"auto"};k=b?{top:""}:{left:""};l=f[0][b?"clientWidth":"clientHeight"];if(q===i){a.css(n);f.css(j);if(b){a.children(".wijmo-wijsuperpanel-hbar-buttonleft").removeClass("ui-corner-bl").addClass("ui-corner-tl");a.children(".wijmo-wijsuperpanel-hbar-buttonright").removeClass("ui-corner-br").addClass("ui-corner-tr");a.removeClass("ui-corner-bottom").addClass("ui-corner-top")}else{a.children(".wijmo-wijsuperpanel-vbar-buttontop").removeClass("ui-corner-tr").addClass("ui-corner-tl");a.children(".wijmo-wijsuperpanel-vbar-buttonbottom").removeClass("ui-corner-br").addClass("ui-corner-bl");a.removeClass("ui-corner-right").addClass("ui-corner-left")}}else{a.css(o);f.css(k);if(b){a.children(".wijmo-wijsuperpanel-hbar-buttonleft").removeClass("ui-corner-tl").addClass("ui-corner-bl");a.children(".wijmo-wijsuperpanel-hbar-buttonright").removeClass("ui-corner-bl").addClass("ui-corner-br");a.removeClass("ui-corner-top").addClass("ui-corner-bottom")}else{a.children(".wijmo-wijsuperpanel-vbar-buttontop").removeClass("ui-corner-tl").addClass("ui-corner-tr");a.children(".wijmo-wijsuperpanel-vbar-buttonbottom").removeClass("ui-corner-bl").addClass("ui-corner-br");a.removeClass("ui-corner-left").addClass("ui-corner-right")}}d=0;if(h){d=s[0][b?"offsetWidth":"offsetHeight"];if(c==="left")a.css("right","0px");else if(c==="right")a.css("left","0px");else if(c==="top")a.css("bottom","0px");else c==="bottom"&&a.css("top","0px")}if(!b&&h)d=0;a[b?"width":"height"](l-m);p._enableDisableScrollBar(g,a,!t)}else u.css(b?"left":"top","")},_testScroll:function(b,a,g){var d=a.templateWrapper,e=a.contentWrapper,h=a.stateContainer,p=e.innerWidth(),o=e.innerHeight(),r=a.contentWidth,q=a.contentHeight,c,f,i,j,l,m;a.hScrolling=r>p;a.vScrolling=q>o;c=b.hNeedScrollBar=b._needScrollbar(g.hScroller,a.hScrolling);if(b._createBarIfNeeded(c,h,"h",k,e)===false)return false;if(c&&!a.vScrolling){d.css("float","left");a.contentHeight=d.height();a.vScrolling=a.contentHeight>o-a.hbarContainer[0].offsetHeight;d.css("float","")}f=b.vNeedScrollBar=b._needScrollbar(g.vScroller,a.vScrolling);if(b._createBarIfNeeded(f,h,"v",n,e)===false)return false;if(f&&!a.hScrolling){d.css("float","left");a.contentWidth=d.width();a.hScrolling=a.contentWidth>p-a.vbarContainer[0].offsetWidth;d.css("float","");if(a.hScrolling&&!c){c=b.hNeedScrollBar=b._needScrollbar(g.hScroller,a.hScrolling);if(b._createBarIfNeeded(c,h,"h",k,e)===false)return false}}i=a.hbarContainer;j=a.vbarContainer;l=g.hScroller.scrollBarPosition;m=g.vScroller.scrollBarPosition;b._setScrollbarPosition(d,b,e,i,j,c,f,l,m,"h",a.hScrolling);b._setScrollbarPosition(d,b,e,j,i,f,c,m,l,"v",a.vScrolling)},_enableDisableScrollBar:function(f,a,d){if(f==="v"){a[d?"addClass":"removeClass"]("wijmo-wijsuperpanel-vbarcontainer-disabled");a.find("."+e)[d?"addClass":"removeClass"](b)}else if(f==="h"){a[d?"addClass":"removeClass"]("wijmo-wijsuperpanel-hbarcontainer-disabled");a.find("."+e)[d?"addClass":"removeClass"](b)}a.children("."+c)[d?"hide":"show"]()},_initResizer:function(){var b=this,g=b.options,d=b._fields(),f=d.resizer,c,e;if(!f&&g.allowResize){c=g.resizableOptions;e=c.stop;c.stop=function(c){b._resizeStop(c,b);a.isFunction(e)&&e(c)};d.resizer=f=b.element.resizable(c)}if(!g.allowResize&&d.resizer){f.resizable("destroy");d.resizer=null}},_resizeStop:function(b,a){!this.options.autoRefresh&&a.paintPanel();a._trigger("resized")},_createAdditionalDom:function(f,b,c){if(!c.attr("tabindex")){c.attr("tabindex","-1");b.tabindex=true}var d=b.stateContainer=a(l),e;b.contentWrapper=d.children();e=b.templateWrapper=b.contentWrapper.children();c.contents().each(function(f,d){var c=a(d);if(c.hasClass("wijmo-wijsuperpanel-header")){b.header=c;return}if(c.hasClass("wijmo-wijsuperpanel-footer")){b.footer=c;return}e[0].appendChild(d)});b.header!==undefined&&c.prepend(b.header);c[0].appendChild(d[0]);b.footer!==undefined&&b.footer.insertAfter(d)},_setRounder:function(e,d){if(this.options.showRounder){d.addClass(h);if(e._rounderAdded)return;if(a.browser.msie)return;var b,c,g,f;b=c="";if(a.browser.webkit){c="WebkitBorderTopLeftRadius";b="WebkitBorderRadius"}else if(a.browser.mozilla){c="MozBorderRadiusBottomleft";b="MozBorderRadius"}else{c="border-top-left-radius";b="border-radius"}g=d.css(c);f=parseInt(g,10);d.css(b,f+1);e._rounderAdded=true;e._radiusKey=b}else d.removeClass(h)},_setInnerElementsSize:function(a,g){var i=a.stateContainer,h=a.contentWrapper,e=0,b,c,d,f;if(a.header!==undefined)e+=a.header.outerHeight();if(a.footer!==undefined)e+=a.footer.outerHeight();b=i[0].style;c=g[0].clientHeight-e;d=g[0].clientWidth;b.display="none";b.height=c+"px";b.width=d+"px";f=h[0].style;f.height=c+"px";f.width=d+"px";b.display=""}})})(jQuery);
-(function(a){"use strict";a.widget("wijmo.wijtextbox",{options:{},_create:function(){var a=this,b=a.element;if(!(a.element.attr("tagName").toLowerCase()==="input"||a.element.attr("tagName").toLowerCase()==="textarea"))return;if(!(a.element.attr("type").toLowerCase()==="text"||a.element.attr("type").toLowerCase()==="password"))if(a.element.attr("tagName").toLowerCase()==="input")return;b.addClass("wijmo-wijtextbox ui-widget ui-state-default ui-corner-all");a.element.bind("mouseover."+a.widgetName,function(){b.addClass("ui-state-hover")}).bind("mouseout."+a.widgetName,function(){b.removeClass("ui-state-hover")}).bind("mousedown."+a.widgetName,function(){b.addClass("ui-state-active")}).bind("mouseup."+a.widgetName,function(){b.removeClass("ui-state-active")}).bind("focus."+a.widgetName,function(){b.addClass("ui-state-focus")}).bind("blur."+a.widgetName,function(){b.removeClass("ui-state-focus")})},destroy:function(){var b=this;b.element.removeClass("ui-widget ui-state-default ui-corner-all ui-state-hover ui-state-active wijmo-wijtextbox").unbind("."+b.widgetName);a.Widget.prototype.destroy.apply(b)}})})(jQuery);
-(function(a){"use strict";a.widget("wijmo.wijdropdown",{options:{zIndex:1e3,showingAnimation:{effect:"blind"},hidingAnimation:{effect:"blind"}},hoverClass:"ui-state-hover",activeClass:"ui-state-active",focusClass:"ui-state-focus",_setOption:function(){a.Widget.prototype._setOption.apply(this,arguments)},_create:function(){var a=this,b=a.element;if(b.attr("tagName").toLowerCase()!=="select"&&b.attr("size")<2)return;a._activeItem=null;a._createSelect();a._bindEvents()},_createSelect:function(){var b=this,e=b.element,g=e.width(),f=e.height(),i=e.wrap("<div></div>").parent().addClass("ui-helper-hidden"),k=i.wrap("<div></div>").parent().attr("role","select").addClass("wijmo-wijdropdown ui-widget ui-widwijmo-wijdropdownt-content ui-state-default ui-corner-all ui-helper-clearfix"),l=a('<label class="wijmo-dropdown-label ui-corner-all"></label>').attr("id",e.attr("id")+"_select").attr("name",e.attr("name")),h=a("<div></div>").addClass("wijmo-dropdown-trigger ui-state-default ui-corner-right"),j=a('<a href="#"></a>'),c=a("<div>").addClass("wijmo-dropdown"),d=a("<ul></ul>").addClass("wijmo-dropdown-list ui-widget-content ui-widget ui-corner-all ui-helper-reset").appendTo(c);a("<span></span>").addClass("ui-icon ui-icon-triangle-1-s").appendTo(h);g=Math.max(g,k.width());j.append(l);k.append(i).append(j).append(h).append(c).width(g);e.children().each(function(i,h){var c=a(h),f,g,e;if(c.is("option"))d.append(b._buildItem(c));else{f=a('<li class="wijmo-dropdown-optgroup"></li>');g=a("<span>"+c.attr("label")+"</span>").addClass("wijmo-optgroup-header ui-priority-primary");e=a("<ul></ul>").addClass("ui-helper-reset wijmo-dropdown-items");c.children("option").each(function(){e.append(b._buildItem(a(this)))});f.append(g).append(e);d.append(f)}});f=c.height();f=d.outerHeight()<f?d.outerHeight():f;c.css({height:f,width:g});b.superpanel=c.wijsuperpanel().data("wijsuperpanel");a.fn.bgiframe&&b.superpanel.element.bgiframe();d.setOutWidth(d.parent().parent().innerWidth());c.hide();b._rightTrigger=h;b._label=l;b._listContainer=c;b._list=d;b._value=e.val();b._selectWrap=i;b._labelWrap=j},_handelEvents:function(d){var a=this,b="."+a.widgetName,c=a.element;d.bind("click"+b,function(b){if(a._listContainer.is(":hidden"))a._show();else a._hide();c.click();if(d.get(0)===a._label.get(0))b.preventDefault();else a._labelWrap.focus()}).bind("mouseover"+b,function(){a._label.addClass(a.hoverClass);a._rightTrigger.addClass(a.hoverClass);c.trigger("mouseover")}).bind("mouseout"+b,function(){a._label.removeClass(a.hoverClass);a._rightTrigger.removeClass(a.hoverClass);c.trigger("mouseout")}).bind("mousedown"+b,function(){a._label.addClass(a.activeClass);a._rightTrigger.addClass(a.activeClass);c.trigger("mousedown")}).bind("mouseup"+b,function(){a._label.removeClass(a.activeClass);a._rightTrigger.removeClass(a.activeClass);c.trigger("mouseup")})},_bindEvents:function(){var b=this,d="."+b.widgetName,h=b._label,g=b._rightTrigger,i=b._labelWrap,e=b._listContainer,c=b.element,f;b._handelEvents(b._label);b._handelEvents(b._rightTrigger);a(document.body).bind("click"+d,function(a){if(e.is(":hidden"))return;f=e.offset();if(a.target===h.get(0)||a.target===g.get(0)||a.target===g.children().get(0))return;(a.pageX<f.left||a.pageX>f.left+e.width()||a.pageY<f.top||a.pageY>f.top+e.height())&&b._hide()});e.bind("click"+d,function(f){var d=a(f.target);if(d.closest("li.wijmo-dropdown-item",a(this)).length>0){b._setValue();e.hide();b.oldVal=c.val();c.val(b._value);b.oldVal!==b._value&&c.trigger("change")}c.click()});i.bind("keydown"+d,function(e){var d=a.ui.keyCode;switch(e.which){case d.UP:case d.LEFT:b.previous();b._setValue();break;case d.DOWN:case d.RIGHT:b.next();b._setValue();break;case d.PAGE_DOWN:b.nextPage();b._setValue();break;case d.PAGE_UP:b.previousPage();b._setValue();break;case d.ENTER:case d.NUMPAD_ENTER:b._setValue();b._listContainer.hide();b.oldVal=c.val();c.val(b._value);b.oldVal!==b._value&&c.trigger("change")}e.which!==d.TAB&&e.preventDefault();c.trigger("keydown")}).bind("focus"+d,function(){h.addClass(b.focusClass);g.addClass(b.focusClass);c.focus()}).bind("blur"+d,function(){h.removeClass(b.focusClass);g.removeClass(b.focusClass);c.trigger("blur")}).bind("keypress"+d,function(){c.trigger("keypress")}).bind("keyup"+d,function(){c.trigger("keyup")})},_init:function(){var a=this;a._initActiveItem();a._activeItem&&a._label.text(a._activeItem.text())},_buildItem:function(d){var f=d.val(),b=d.text(),e=this,c;if(b==="")b="&nbsp;";c=a('<li class="wijmo-dropdown-item ui-corner-all"><span>'+b+"</span></li>").mousemove(function(b){var c=a(b.target).closest(".wijmo-dropdown-item");c!==this.last&&e._activate(a(this));this.last=a(b.target).closest(".wijmo-dropdown-item")}).attr("role","option");c.data("value",f);return c},_show:function(){var d=this,c=d._listContainer,b=d.options.showingAnimation;c.css("z-index","100000");a.browser.msie&&/^[6,7]\.[0-9]+/.test(a.browser.version)&&c.parent().css("z-index","99999");if(b)c.stop().show(b.effect,b.options,b.speed,function(){d._initActiveItem()});else c.show()},_hide:function(){var d=this,b=d._listContainer,c=d.options.hidingAnimation;if(b.is(":hidden"))return;if(c)b.stop(false,true).hide(c.effect,c.options,c.speed,function(){a.isFunction(c.callback)&&c.callback.apply(d,arguments);a.browser.msie&&/^[6,7]\.[0-9]+/.test(a.browser.version)&&b.parent().css("z-index","");b.css("z-index","")});else{a.browser.msie&&a.browser.version==="6.0"&&b.parent().css("z-index","");b.css("z-index","");b.hide()}},_setValue:function(){var a=this,b=a._listContainer,c,d;if(a._activeItem){a._label.text(a._activeItem.text());a._value=a._activeItem.data("value");if(a.superpanel.vNeedScrollBar){c=a._activeItem.offset().top;d=a._activeItem.outerHeight();if(b.offset().top>c)b.wijsuperpanel("scrollTo",0,c-a._list.offset().top);else b.offset().top<c+d-b.innerHeight()&&b.wijsuperpanel("scrollTo",0,c+d-b.height()-a._list.offset().top)}}},_initActiveItem:function(){var b=this;b._value!==undefined&&b._list.find("li.wijmo-dropdown-item").each(function(){a(this).data("value")===b._value&&b._activate(a(this))})},_activate:function(b){var a=this;a._deactivate();a._activeItem=b;a._activeItem.addClass(a.hoverClass).attr("aria-selected",true)},_deactivate:function(){var a=this;a._activeItem&&a._activeItem.removeClass(a.hoverClass).attr("aria-selected",false)},next:function(){this._move("next","first")},previous:function(){this._move("prev","last")},nextPage:function(){this._movePage("first")},previousPage:function(){this._movePage("last")},_move:function(c,d){var a=this,e,b;if(!a._activeItem){a._activate(a._list.find(".wijmo-dropdown-item:"+d));return}e=a._activeItem[c]().eq(0);if(e.length)b=a._getNextItem(e,c,d);else if(a._activeItem.closest(".wijmo-dropdown-optgroup").length)b=a._getNextItem(a._activeItem.closest(".wijmo-dropdown-optgroup")[c](),c,d);if(b&&b.length)a._activate(b);else a._activate(a._list.find(".wijmo-dropdown-item:"+d))},_movePage:function(d){var b=this,g,e,c,f=d==="first"?"last":"first";if(b.superpanel.vNeedScrollBar){g=b._activeItem.offset().top;e=b.options.height;c=b._list.find(".wijmo-dropdown-item").filter(function(){var c=a(this).offset().top-g+(d==="first"?-e:e)+a(this).height(),b=a(this).height();return c<b&&c>-b});if(!c.length)c=b._list.find(".wijmo-dropdown-item:"+f);b._activate(c)}else b._activate(b._list.find(".wijmo-dropdown-item:"+(!b._activeItem?d:f)))},_getNextItem:function(a,b,c){if(a.length)if(a.is(".wijmo-dropdown-optgroup"))if(!!a.find(">ul>li.wijmo-dropdown-item").length)return a.find(">ul>li.wijmo-dropdown-item:"+c).eq(0);else this._getNextItem(a[b]().eq(0));else return a},destroy:function(){this.element.closest(".wijmo-wijdropdown").find(">div.wijmo-dropdown-trigger,>div.wijmo-dropdown,>a").remove();this.element.unwrap().unwrap().removeData("maxZIndex");a.Widget.prototype.destroy.apply(this)}})})(jQuery);
-(function(a){"use strict";var b=0;a.widget("wijmo.wijcheckbox",{_csspre:"wijmo-checkbox",_init:function(){var c=this,d=c.element,f,h,g,e,i;if(d.is(":checkbox")){if(!d.attr("id")){d.attr("id",c._csspre+b);b+=1}if(d.parent().is("label")){f=d.parent().wrap("<div class='"+c._csspre+"-inputwrapper'></div>").parent().wrap("<div></div>").parent().addClass(c._csspre+" ui-widget");h=d.parent();h.attr("for",d.attr("id"));f.find("."+c._csspre+"-inputwrapper").append(d);f.append(h)}else f=d.wrap("<div class='"+c._csspre+"-inputwrapper'></div>").parent().wrap("<div></div>").parent().addClass(c._csspre+" ui-widget");g=a("label[for='"+d.attr("id")+"']");if(g.length>0){f.append(g);g.attr("labelsign","C1")}e=a("<div class='"+c._csspre+"-box ui-widget ui-state-default ui-corner-all'><span class='"+c._csspre+"-icon'></span></div>");i=e.children("."+c._csspre+"-icon");f.append(e);d.data("iconElement",i);d.data("boxElement",e);d.is(":disabled")&&c._setOption("disabled",true);e.removeClass(c._csspre+"-relative").attr("role","checkbox").bind("mouseover",function(){d.mouseover()}).bind("mouseout",function(){d.mouseout()});(g.length===0||g.html()==="")&&e.addClass(c._csspre+"-relative");d.bind("click.checkbox",function(){c.refresh()}).bind("focus.checkbox",function(){if(c.options.disabled)return;e.removeClass("ui-state-default").addClass("ui-state-focus")}).bind("blur.checkbox",function(){if(c.options.disabled)return;e.removeClass("ui-state-focus").not(".ui-state-hover").addClass("ui-state-default")}).bind("keydown.checkbox",function(a){if(a.keyCode===32){d.attr("checked",!d.attr("checked"));c.refresh()}});f.click(function(){d.attr("checked",!d.attr("checked"));d.focus().change();c.refresh()});c.refresh();f.bind("mouseover.checkbox",function(){if(c.options.disabled)return;e.removeClass("ui-state-default").addClass("ui-state-hover")}).bind("mouseout.checkbox",function(){if(c.options.disabled)return;e.removeClass("ui-state-hover").not(".ui-state-focus").addClass("ui-state-default")})}},refresh:function(){var a=this;a.element.data("iconElement").toggleClass("ui-icon ui-icon-check",a.element.is(":checked"));a.element.data("boxElement").toggleClass("ui-state-active",a.element.is(":checked")).attr("aria-checked",a.element.is(":checked"))},destroy:function(){var b=this,c=b.element.parent().parent();c.children("div."+b._csspre+"-box").remove();b.element.unwrap();b.element.unwrap();a.Widget.prototype.destroy.apply(b)}})})(jQuery);
-(function(a){"use strict";var b=0;a.widget("wijmo.wijradio",{_radiobuttonPre:"wijmo-wijradio",_create:function(){var c=this,d=c.element,f,i,g,e,h;if(d.is(":radio")){if(!d.attr("id")){d.attr("id","wijmo-radio-"+b);b+=1}if(d.parent().is("label")){f=d.parent().wrap("<div class='"+c._radiobuttonPre+"-inputwrapper'></div>").parent().wrap("<div></div>").parent().addClass(c._radiobuttonPre+" ui-widget");i=d.parent();i.attr("for",d.attr("id"));f.find("."+c._radiobuttonPre+"-inputwrapper").append(d);f.append(i)}else f=d.wrap("<div class='"+c._radiobuttonPre+"-inputwrapper'></div>").parent().wrap("<div></div>").parent().addClass(c._radiobuttonPre+" ui-widget");g=a("label[for='"+d.attr("id")+"']");if(g.length>0){f.append(g);g.attr("labelsign","wij")}e=a("<div class='"+c._radiobuttonPre+"-box ui-widget ui-state-default ui-corner-all'><span class='"+c._radiobuttonPre+"-icon'></span></div>");h=e.children("."+c._radiobuttonPre+"-icon");f.append(e);h.addClass("ui-icon ui-icon-radio-on");d.data("iconElement",h);d.data("boxElement",e);d.is(":disabled")&&c._setOption("disabled",true);e.removeClass(c._radiobuttonPre+"-relative").attr("role","radio").bind("mouseover",function(){d.mouseover()}).bind("mouseout",function(){d.mouseout()});(g.length===0||g.html()==="")&&e.addClass(c._radiobuttonPre+"-relative");c._setDefaul();d.bind("click.checkbox",function(){d.focus();c._refresh()}).bind("focus.checkbox",function(){if(c.options.disabled)return;e.removeClass("ui-state-default").addClass("ui-state-focus")}).bind("blur.checkbox",function(){if(c.options.disabled)return;e.removeClass("ui-state-focus").not(".ui-state-hover").addClass("ui-state-default")});f.click(function(){if(g.length===0||g.html()===""){d.attr("checked",true).focus();c._refresh();d.change()}});f.bind("mouseover.checkbox",function(){if(c.options.disabled)return;e.removeClass("ui-state-default").addClass("ui-state-hover")}).bind("mouseout.checkbox",function(){if(c.options.disabled)return;e.removeClass("ui-state-hover").not(".ui-state-focus").addClass("ui-state-default")})}},_setDefaul:function(){if(this.element.attr("checked")){this.element.parents(".wijmo-wijradio").find("."+this._radiobuttonPre+"-box").children().removeClass("ui-icon-radio-on ui-icon-radio-off").addClass("ui-icon-radio-off");this.element.data("boxElement").removeClass("ui-state-default").addClass("ui-state-active").attr("aria-checked",true)}},_refresh:function(){var c=this.element.attr("name"),b=this;a("[name="+c+"]").each(function(d,c){a(c).parents(".wijmo-wijradio").find("."+b._radiobuttonPre+"-box").children().removeClass("ui-icon-radio-on ui-icon-radio-off").addClass("ui-icon-radio-on");a(c).parents(".wijmo-wijradio").find("."+b._radiobuttonPre+"-box").removeClass("ui-state-active").addClass("ui-state-default").attr("aria-checked",false)});if(b.element.is(":checked")){b.element.data("iconElement").removeClass("ui-icon-radio-on").addClass("ui-icon-radio-off");b.element.data("boxElement").removeClass("ui-state-default").addClass("ui-state-active").attr("aria-checked",true)}},destroy:function(){var b=this,c=b.element.parent().parent();c.children("div."+b._radiobuttonPre+"-box").remove();b.element.unwrap();b.element.unwrap();a.Widget.prototype.destroy.apply(b)}})})(jQuery);
-(function(a){"use strict";var g="ui-widget ui-widget-content ui-corner-all wijmo-wijlist",c="wijmo-wijlist-item",h=c+"-alternate",i=c+"-selected",j=c+"-first",k=c+"-last",f="ui-state-hover",l="ui-state-active",e="wijmo-wijlistitem-active",b=i+" "+l,d="item.wijlist";a.widget("wijmo.wijlist",{options:{listItems:[],selected:null,selectionMode:"single",autoSize:false,maxItemsCount:5,addHoverItemClass:true,superPanelOptions:null,disabled:false,focusing:null,focus:null,blur:null,itemrendering:null,itemrendered:null,listrendered:null,keepHightlightOnMouseLeave:false},_create:function(){var b=this,d=this.element,c=this.options;d.addClass(g).attr({role:"listbox","aria-activedescendant":e,"aria-multiselectable":c.selectionMode==="multiple"}).bind("click."+b.widgetName,b,b._onListClick);b.ul=a("<ul class='wijmo-wijlist-ul'></ul>").appendTo(d);c.disabled&&b.disable();if(c.listItems!=null)if(c.listItems.length>0){b.setItems(c.listItems);b.renderList();b.refreshSuperPanel()}},setItems:function(d){var b=this,c;b.items=d;c=a.grep(d,function(a){return a.selected});if(b.options.selectionMode==="single"){b.selectedItems=[];b.selectedItem=c.length>0?c[0]:undefined}else b.selectedItems=c},getList:function(){return this.ul},_onListClick:function(b){if(!a(b.target).closest(".wijmo-wijlist-item").length)return;var c=b.data;c.select(b)},destroy:function(){var b=this,c=this.element;b.superPanel!==undefined&&b.superPanel.destroy();c.removeClass(g).removeAttr("role").removeAttr("aria-activedescendant").unbind("."+b.widgetName);b.ul.remove();a.Widget.prototype.destroy.apply(b,arguments)},activate:function(d,b,g){var a=this,h,c;a.deactivate();if(b===null||b===undefined)return;if(a._trigger("focusing",d,b)===false)return;h=a.active=b;c=b.element;a.options.addHoverItemClass&&c.addClass(f);c.attr("id",e);g&&a.superPanel!==undefined&&a.superPanel.scrollChildIntoView(c);a._trigger("focus",d,b)},deactivate:function(){var a=this,b=a.active,c;if(!b)return;c=b.element;a._trigger("blur",null,b);c.removeClass(f).removeAttr("id");a.active=undefined},next:function(a){this.move("next","."+c+":first",a)},nextPage:function(){this.superPanel.doScrolling("bottom",true)},previous:function(a){this.move("prev","."+c+":last",a)},previousPage:function(){this.superPanel.doScrolling("top",true)},first:function(){return this.active&&!this.active.element.prev().length},last:function(){return this.active&&!this.active.element.next().length},move:function(h,f,b){var a=this,g,e;if(!a.active){g=a.ul.children(f).data(d);a.activate(b,g,true);return}e=a.active.element[h+"All"]("."+c).eq(0);if(e.length)a.activate(b,e.data(d),true);else a.activate(b,a.element.children(f).data(d),true)},select:function(i,j){var e=this,g=e.active.element,c,h,f;if(g===undefined)return;c=g.data(d);h=e.options.selectionMode==="single";if(h){f=e.selectedItem;g.addClass(b).attr("aria-selected","true");c.selected=true;if(f!==undefined&&c!==f){f.selected=false;f.element.removeClass(b).removeAttr("aria-selected")}e.selectedItem=c;e._trigger("selected",i,{item:c,previousItem:f,data:j})}else{c.selected=!c.selected;if(c.selected)g.addClass(b).attr("aria-selected","true");else g.removeClass(b).removeAttr("aria-selected","true");e.selectedItems=a.grep(e.items,function(a){return a.selected});e._trigger("selected",i,{item:c,selectedItems:e.selectedItems})}},_findItemsByValues:function(c){var b,d=[];d=a.grep(this.items,function(d){b=false;for(var a=0;a<c.length;a++)if(d.value===c[a])b=true;return b});return d},_findItemsByIndices:function(c){var d=this,e=this.items.length,b=[];a.each(c,function(c,a){a>=0&&a<e&&b.push(d.items[a])});return b},getItems:function(b){var g=this,f,c,d,e;c=a.isArray(b);f=!c&&!isNaN(b)||c&&!isNaN(b[0]);d=c?b:[b];e=f?g._findItemsByIndices(d):g._findItemsByValues(d);return e},selectItems:function(i,g){var c=this,h=this.options.selectionMode==="single",e,d,f;f=c.getItems(i);if(h){if(f.length>0){e=f[0];e.selected=true;e.element.addClass(b)}d=c.selectedItem;if(d){d.selected=false;d.element.removeClass(b)}c.selectedItem=e;g&&c._trigger("selected",null,{item:e,previousItem:d})}else{a.each(f,function(c,a){a.selected=true;a.element.addClass(b)});c.selectedItems=a.grep(c.items,function(a){return a.selected});g&&c._trigger("selected",null,{selectedItems:c.selectedItems})}},unselectItems:function(f){var c=this,g=this.options.selectionMode,d,e;if(g==="single"){d=c.selectedItem;if(d){d.selected=false;d.element.removeClass(b);c.selectedItem=undefined}}else{e=c.getItems(f);a.each(e,function(c,a){a.selected=false;a.element.removeClass(b)});c.selectedItems=a.grep(c.items,function(a){return a.selected})}},renderList:function(){var d=this,g=this.ul,h=this.options,a,c,e,b,f;g.empty();a=d.items;if(a===undefined)return;c=a.length;if(a===undefined||a===null&&c===0)return;e=h.selectionMode==="single";for(b=0;b<c;b++){f=a[b];d._renderItem(g,f,b,e)}a[0].element.addClass(j);a[c-1].element.addClass(k);d._trigger("listrendered",null,d)},_renderItem:function(k,c,j){var e=this,f=a("<li role='option' class='wijmo-wijlist-item ui-corner-all'></li>"),g,i;c.element=f;c.list=e;if(e._trigger("itemrendering",null,c)===false)return;g=c.label;if(c.text!==undefined)g=c.text;f.mouseenter(function(a){e.activate(a,c,false)}).mouseleave(function(){!e.options.keepHightlightOnMouseLeave&&e.deactivate()}).data(d,c).append(g).appendTo(k);i=c.imageUrl;i!==undefined&&i.length>0&&f.prepend("<img src='"+c.imageUrl+"'>");if(c.selected){e.activate(null,c,false);f.addClass(b)}j%2===1&&f.addClass(h);e._trigger("itemrendered",null,c)},refreshSuperPanel:function(){var d=this,f=this.element,m=this.options,b=this.ul,n=b.children(".wijmo-wijlist-item:first"),h=null,g,j,k,c,e,i,l;if(!f.is(":visible"))return false;if(m.autoSize)h=n.outerHeight(true)*m.maxItemsCount;h!==null&&f.height(Math.min(h,b.outerHeight()));g=f.innerHeight();j=g/(b.outerHeight()-g);e=101*j/(1+j);k=n.outerHeight()/(b.outerHeight()-g)*(101-e);if(d.superPanel===undefined){i={allowResize:false,keyboardSupport:false,bubbleScrollingEvent:true,hScroller:{scrollBarVisibility:"hidden"},vScroller:{scrollSmallChange:k,scrollLargeChange:e}};a.extend(i,m.superPanelOptions);d.superPanel=f.wijsuperpanel(i).data("wijsuperpanel")}else{c=d.superPanel.options.vScroller;c.scrollLargeChange=e;c.scrollSmallChange=k;d.superPanel.paintPanel()}l=b.css("padding-top");if(l.length>0){c=d.superPanel.options.vScroller;c.firstStepChangeFix=d.superPanel.scrollPxToValue(parseFloat(l),"v")}else c.firstStepChangeFix=0;b.setOutWidth(b.parent().parent().innerWidth())}})})(jQuery);
-(function(a){"use strict";var c={general:0,weekEnd:1,otherMonth:2,outOfRange:4,today:8,custom:16,disabled:32,selected:64,gap:128};a.widget("wijmo.wijcalendar",{options:{culture:"",monthCols:1,monthRows:1,titleFormat:"MMMM yyyy",showTitle:true,displayDate:undefined,dayRows:6,dayCols:7,weekDayFormat:"short",showWeekDays:true,showWeekNumbers:false,calendarWeekRule:"firstDay",minDate:new Date(1900,0,1),maxDate:new Date(2099,11,31),showOtherMonthDays:true,showDayPadding:false,selectionMode:{day:true,days:true},allowPreview:false,allowQuickPick:true,toolTipFormat:"dddd, MMMM dd, yyyy",prevTooltip:"Previous",nextTooltip:"Next",quickPrevTooltip:"Quick Previous",quickNextTooltip:"Quick Next",prevPreviewTooltip:"",nextPreviewTooltip:"",navButtons:"default",quickNavStep:12,direction:"horizontal",duration:250,easing:"easeInQuad",popupMode:false,autoHide:true,customizeDate:null,title:null,beforeSlide:null,afterSlide:null,beforeSelect:null,afterSelect:null,selectedDatesChanged:null},_create:function(){this.element.addClass("wijmo-wijcalendar ui-datepicker-inline ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all").attr("role","grid");this._previewWrapper(this.options.allowPreview);this.element.data("preview.wijcalendar",false)},_init:function(){if(this.options.popupMode){var a={autoHide:!!this.options.autoHide};if(this.options.beforePopup)a.showing=this.options.beforePopup;if(this.options.afterPopup)a.shown=this.options.afterPopup;if(this.options.beforeClose)a.hiding=this.options.beforeClose;var b=this;a.hidden=function(a){b.element.removeData("lastdate.wijcalendar");b.options.afterClose&&b.options.afterClose.call(a)};this.element.wijpopup(a)}this._getSelectedDates();this._getDisabledDates();this._resetWidth();this.refresh();this.element.width(this.element.width()+2)},destroy:function(){a.Widget.prototype.destroy.apply(this,arguments);this.close();this.element.html("");this.element.removeClass("wijmo-wijcalendar ui-datepicker-inline ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all ui-datepicker-multi").removeAttr("role");var b=this;a.each(["preview","disableddates","selecteddates","dragging","lastdate","animating"],function(c,a){b.element.removeData(a+".wijcalendar")});this._previewWrapper(false)},_setOption:function(c,b){a.Widget.prototype._setOption.apply(this,arguments);switch(c){case"showWeekDays":case"showWeekNumbers":case"showTitle":case"showOtherMonthDays":case"selectionMode":this.unSelectAll();this._resetWidth();this.refresh();break;case"culture":this.refresh();break;case"allowPreview":this._previewWrapper(b);this.refresh();break;case"monthCols":this._resetWidth();this.refresh();break;case"autoHide":this.element.wijpopup({autoHide:this.options.autoHide});break;case"selectedDates":this._getSelectedDates().setDates(b);this.refresh();break;case"disabledDates":this._getDisabledDates().setDates(b);this.refresh()}},_previewWrapper:function(a){if(a)!this.element.parent().hasClass("wijmo-wijcalendar-preview-wrapper")&&this.element.wrap("<div class='wijmo-wijcalendar-preview-wrapper ui-helper-clearfix'></div>");else this.element.parent().hasClass("wijmo-wijcalendar-preview-wrapper")&&this.element.unwrap()},_isRTL:function(){return!!this._getCulture().isRTL},refresh:function(){this.element.empty().append(this._createCalendar());this.element[(this._isRTL()?"add":"remove")+"Class"]("ui-datepicker-rtl");this._bindEvents()},refreshDate:function(b){if(!this._monthViews)return;if(b<this._groupStartDate||b>this._groupEndDate)return;a.each(this._monthViews,function(){this._refreshDate(b)})},getDisplayDate:function(){var a=this.options.displayDate?this.options.displayDate:new Date;if(b.isSameDate(a,new Date(1900,0,1)))a=new Date;return a},getSelectedDate:function(){var a=this.options.selectedDates;return!a||a.length===0?null:a[0]},selectDate:function(a){a=new Date(a);if(this._getDisabledDates().contains(a))return;if(a<this.options.minDate||a>this.options.maxDate)return;this._getSelectedDates().add(a);this.refreshDate(a)},unSelectDate:function(a){a=new Date(a);if(this._getDisabledDates().contains(a))return;if(a<this.options.minDate||a>this.options.maxDate)return;this._getSelectedDates().remove(a);this.refreshDate(a)},unSelectAll:function(){var a=this.options.selectedDates;if(a&&a.length>0){this._getSelectedDates().clear();for(var b=0;b<a.length;b++)this.refreshDate(a[b])}},_slideToDate:function(a){if(b.isSameMonth(this.getDisplayDate(),a))return;var c=this.element.is(":visible");if(!c)this.options.displayDate=a;else{if(this._trigger("beforeSlide")===false)return;if(this._isSingleMonth())this._playSlideAnimation(a);else this._playMmSlideAnimation(a)}},isPopupShowing:function(){return!!this.options.popupMode?this.element.wijpopup("isVisible"):false},popup:function(a){this.refresh();this.element.wijpopup("show",a)},popupAt:function(a,b){this.refresh();this.element.wijpopup("showAt",a,b)},close:function(){this.isPopupShowing()&&this.element.wijpopup("hide")},_getCulture:function(b){return a.findClosestCulture(b||this.options.culture)},_getDates:function(b){var c=b.toLowerCase()+".wijcalendar",a=this.element.data(c);if(a===undefined){a=new f(this,b);this.element.data(c,a)}return a},_getDisabledDates:function(){return this._getDates("disabledDates")},_getSelectedDates:function(){return this._getDates("selectedDates")},onDayMouseDown:function(b){b.preventDefault();b.stopPropagation();var d=this.options,f=this;if(b.which!=1)return;var c=this._getCellDate(b.currentTarget);if(c===undefined)return;if(!d.selectionMode.day)return;var e={date:c};if(this._trigger("beforeSelect",null,e)===false)return;(!d.selectionMode.days||!b.metaKey&&!b.shiftKey)&&this.unSelectAll();if(!!d.selectionMode.days&&b.shiftKey&&this.element.data("lastdate.wijcalendar"))this._selectRange(this.element.data("lastdate.wijcalendar"),c);else{this.element.data("lastdate.wijcalendar",c);this.selectDate(c)}this._trigger("afterSelect",null,e);this._trigger("selectedDatesChanged",null,{dates:[c]});if(!!d.selectionMode.days){this.element.data("dragging.wijcalendar",true);a(document.body).bind("mouseup."+this.widgetName,function(){a(document.body).unbind("mouseup."+f.widgetName);f.element.data("dragging.wijcalendar",false)})}},onDayClicked:function(c){var b=this._getCellDate(c.currentTarget);if(b===undefined)return false;if(!this.options.selectionMode.day)return false;if(this.isPopupShowing())this.close();else a(c.currentTarget).hasClass("ui-datepicker-other-month")&&this._slideToDate(b);return false},onDayMouseEnter:function(a){a.currentTarget.state="hover";this._refreshDayCell(a.currentTarget);if(!!this.element.data("dragging.wijcalendar")){var b=this._getCellDate(a.currentTarget);if(b===undefined)return;this.unSelectAll();this._selectRange(this.element.data("lastdate.wijcalendar"),b,true)}},onDayMouseLeave:function(a){a.currentTarget.state="normal";this._refreshDayCell(a.currentTarget)},_selectRange:function(a,d,f){if(a!==undefined&&a!==new Date(1900,1,1)){var c=a,e=d;if(a>d){e=a;c=d}while(true){if(c>e)break;this.selectDate(c);c=b.addDays(c,1)}!f&&this.element.removeData("lastdate.wijcalendar")}else this.selectDate(a)},_getCellDate:function(c){var b=a(c).attr("date");return b===undefined?b:new Date(b)},_getParentTable:function(c){var b=a(c).parents("table");return b.length===0?undefined:b.get(0)},_initMonthSelector:function(d){if(a(d).data("cells")!==undefined)return;var c=d.id.split("_");if(c[c.length-1]!=="ms")throw Error.create("not a monthview");var k=c.slice(0,c.length-1).join("_"),b=this._getParentTable(d),f=[];if(b){if(b.id!==k)throw Error.create("not a monthview");for(var g=0;g<b.rows.length;g++)for(var i=b.rows[g],h=0;h<i.cells.length;h++){var e=i.cells[h];if(e){var j=a(e).attr("daytype");if(j===undefined)continue;if(a(e).find("a").hasClass("ui-priority-secondary"))continue;if(this._isSelectable(parseInt(j,10)))f[f.length]=e}}}a(d).data("cells",f)},onMonthSelectorClicked:function(g){this._initMonthSelector(g.currentTarget);var d=a(g.currentTarget).data("cells");this.element.removeData("lastdate.wijcalendar");this.unSelectAll();for(var b=[],c=0;c<d.length;c++){var h=d[c],f=a(h).attr("date");if(f===undefined)continue;var e=new Date(f);this.selectDate(e);b[b.length]=e}this._trigger("selectedDatesChanged",null,{dates:b});this.isPopupShowing()&&this.close();return false},onMonthSelectorMouseEnter:function(b){this._initMonthSelector(b.currentTarget);for(var d=a(b.currentTarget).data("cells"),c=0;c<d.length;c++){b.currentTarget=d[c];this.onDayMouseEnter(b)}},onMonthSelectorMouseLeave:function(b){this._initMonthSelector(b.currentTarget);for(var d=a(b.currentTarget).data("cells"),c=0;c<d.length;c++){b.currentTarget=d[c];this.onDayMouseLeave(b)}},_initWeekDaySelector:function(f){if(a(f).data("cells")!==undefined)return;var b=f.id.split("_");if(b[b.length-2]!=="cs")throw Error.create("not a column");var h=parseInt(b[b.length-1],10),k=b.slice(0,b.length-2).join("_"),d=this._getParentTable(f),g=[];if(d){if(d.id!==k)throw Error.create("not a column");var c=0;if(!this._isSingleMonth())c++;if(this.options.showWeekDays)c++;for(;c<d.rows.length;c++){var j=d.rows[c];if(h<j.cells.length){var e=j.cells[h];if(e){var i=a(e).attr("daytype");if(i===undefined)continue;if(a(e).find("a").hasClass("ui-priority-secondary"))continue;if(this._isSelectable(parseInt(i,10)))g[g.length]=e}}}}a(f).data("cells",g)},onWeekDayClicked:function(g){this._initWeekDaySelector(g.currentTarget);var d=a(g.currentTarget).data("cells");this.unSelectAll();for(var b=[],c=0;c<d.length;c++){var h=a(d[c]),f=h.attr("date");if(f===undefined)continue;var e=new Date(f);this.selectDate(e);b[b.length]=e}this._trigger("selectedDatesChanged",null,{dates:b});this.isPopupShowing()&&this.close();return false},onWeekDayMouseEnter:function(b){this._initWeekDaySelector(b.currentTarget);for(var d=a(b.currentTarget).data("cells"),c=0;c<d.length;c++){b.currentTarget=d[c];this.onDayMouseEnter(b)}},onWeekDayMouseLeave:function(b){this._initWeekDaySelector(b.currentTarget);for(var d=a(b.currentTarget).data("cells"),c=0;c<d.length;c++){b.currentTarget=d[c];this.onDayMouseLeave(b)}},_initWeekNumberSelector:function(d){if(a(d).data("cells")!==undefined)return;var b=d.id.split("_");if(b[b.length-2]!=="rs")throw Error.create("not a row");var j=parseInt(b[b.length-1],10),k=b.slice(0,b.length-2).join("_"),f=this._getParentTable(d),g=[];if(f){if(f.id!==k)throw Error.create("not a row");var h=f.rows[j];if(h){var e=0;if(this.options.showWeekNumbers)e++;for(;e<h.cells.length;e++){var c=h.cells[e];if(c){var i=a(c).attr("daytype");if(i===undefined)continue;if(a(c).find("a").hasClass("ui-priority-secondary"))continue;if(this._isSelectable(parseInt(i,10)))g[g.length]=c}}}}a(d).data("cells",g)},onWeekNumberClicked:function(g){this._initWeekNumberSelector(g.currentTarget);var d=a(g.currentTarget).data("cells");this.unSelectAll();for(var b=[],c=0;c<d.length;c++){var h=a(d[c]),f=h.attr("date");if(f===undefined)continue;var e=new Date(f);this.selectDate(e);b[b.length]=e}this._trigger("selectedDatesChanged",null,{dates:b});this.isPopupShowing()&&this.close();return false},onWeekNumberMouseEnter:function(b){this._initWeekNumberSelector(b.currentTarget);for(var d=a(b.currentTarget).data("cells"),c=0;c<d.length;c++){b.currentTarget=d[c];this.onDayMouseEnter(b)}},onWeekNumberMouseLeave:function(b){this._initWeekNumberSelector(b.currentTarget);for(var d=a(b.currentTarget).data("cells"),c=0;c<d.length;c++){b.currentTarget=d[c];this.onDayMouseLeave(b)}},_isAnimating:function(){return!!this.element.data("animating.wijcalendar")},onPreviewMouseEnter:function(h){if(!!this.element.data("previewContainer"))return;if(this._isAnimating())return;var g=a(h.currentTarget),d=g.attr("id");if(d===undefined)return;var f=this.getDisplayDate(),e=this.options.monthCols*this.options.monthRows;if(d==="prevPreview")e=-e;this.options.displayDate=b.addMonths(f,e);this.element.data("preview.wijcalendar",true);var c=a("<div/>");c.appendTo(document.body);c.hide();c.addClass("wijmo-wijcalendar ui-datepicker-inline ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all");c.append(this._createCalendar());this.options.displayDate=f;this.element.data("preview.wijcalendar",false);this._createMonthViews();c.wijpopup({showEffect:"slide",showOptions:{direction:d==="prevPreview"?"right":"left"},hideEffect:"slide",hideOptions:{direction:d==="prevPreview"?"right":"left"}});c.wijpopup("show",{my:d==="prevPreview"?"right top":"left top",at:d==="prevPreview"?"left top":"right top",of:g});this.element.data("previewContainer",c)},onPreviewMouseLeave:function(c){var f=a(c.currentTarget),d=f.attr("id");if(d===undefined)return;var b=this.element.data("previewContainer");if(b)if(b.wijpopup("isAnimating")){var e=this;window.setTimeout(function(){e.onPreviewMouseLeave(c)},200)}else{b.wijpopup("hide");this.element.removeData("previewContainer")}},_resetWidth:function(){if(!this._myGrid){this.element.css("height","");if(this.options.monthCols>1){this.element.css("width",17*this.options.monthCols+"em");this.element.addClass("ui-datepicker-multi")}else{this.element.css("width","");this.element.removeClass("ui-datepicker-multi")}}},_playMmSlideAnimation:function(f){var i=this.element.width(),g=this.element.height();this.element.height(g);var h=this.getDisplayDate();this.element.wrapInner("<div class='wijmo-wijcalendar-multi-aniwrapper'></div>");var d=this.element.find(">:first-child").width(i).height(g),a=d.clone(false);a.hide();this.options.displayDate=f;this._createMonthViews();a.empty().append(this._createMonthGroup());a.appendTo(this.element);var e=this.options.direction||"horizontal",c=f>h,b=this;this.element.data("animating.wijcalendar",true);d.effect("slide",{mode:"hide",direction:e=="horizontal"?c?"left":"right":c?"up":"down",easing:this.options.easing||"easeOutBack",duration:this.options.duration},function(){d.remove()});a.effect("slide",{direction:e=="horizontal"?c?"right":"left":c?"down":"up",easing:this.options.easing||"easeOutBack",duration:this.options.duration},function(){while(a.parent().is(".wijmo-wijcalendar-multi-aniwrapper"))a.parent().replaceWith(a);a.replaceWith(a.contents());b.element.height("");b._bindEvents();b.element.data("animating.wijcalendar",false);b._trigger("afterSlide")})},_playSlideAnimation:function(m){if(!this._isSingleMonth())return;var f=this,n=this.getDisplayDate(),c=this.element.find(".ui-datepicker-calendar"),b,k;if(c.parent().is(".wijmo-wijcalendar-aniwrapper"))b=c.parent();else{b=a.effects.createWrapper(c).css({overflow:"hidden"});b.removeClass("ui-effects-wrapper");b.addClass("wijmo-wijcalendar-aniwrapper")}if(b.parent().is(".wijmo-wijcalendar-aniwrapper"))k=b.parent();else{k=a.effects.createWrapper(b).css({overflow:"hidden"});k.removeClass("ui-effects-wrapper");k.addClass("wijmo-wijcalendar-aniwrapper")}var l=1;if(this._myGrid)switch(this._myGrid.gridType){case"month":l=1;break;case"year":l=10;break;case"decade":l=100}var i=this.options.direction||"horizontal",g=m>n,d=[];d[d.length]=m;var h=c.outerWidth(),j=c.outerHeight();if(i=="horizontal"){c.width(h).css("float",g?"left":"right");b.width((d.length+1)*h);b.css("left",g?0:-d.length*h).css("position","absolute")}else{b.width(h);b.css("top",g?0:-d.length*j).css("position","absolute");b.height((d.length+1)*j)}a.each(d,function(k,c){if(f._myGrid===undefined){var d=new e(f,c);$view=f._customize(d.getHtml(true));if(i=="horizontal")$view.width(h).css("float",g?"left":"right").appendTo(b);else $view.appendTo(b)}else if(i=="horizontal")a(f._myGrid.getHtml(c,true)).width(h).height(j).css("float",g?"left":"right").appendTo(b);else a(f._myGrid.getHtml(c,true)).height(j).appendTo(b)});this.options.displayDate=m;this._myGrid===undefined&&this._createMonthViews();this._refreshTitle();this.element.data("animating.wijcalendar",true);b.effect("slide",{mode:"hide",direction:i=="horizontal"?g?"left":"right":g?"up":"down",easing:this.options.easing||"easeOutBack",distance:(i=="horizontal"?h:j)*d.length,duration:this.options.duration},function(){c=b.children(":last");while(c.parent().is(".wijmo-wijcalendar-aniwrapper"))c.parent().replaceWith(c);c.css({"float":"",width:""});f._bindEvents();f.element.data("animating.wijcalendar",false);f._trigger("afterSlide")})},onTitleClicked:function(){if(!this.options.allowQuickPick||!this._isSingleMonth())return;if(this._isAnimating())return;if(this._myGrid===undefined)this._myGrid=new g(this);else switch(this._myGrid.gridType){case"month":this._myGrid.gridType="year";break;case"year":this._myGrid.gridType="decade";break;case"decade":return}this._refreshTitle();this.element.width(this.element.width()).height(this.element.height());var c=this.element.find(".ui-datepicker-calendar"),b,e,m=c.outerWidth(),f=c.outerHeight();if(c.parent().is(".wijmo-wijcalendar-aniwrapper"))b=c.parent();else b=a.effects.createWrapper(c).css({overflow:"hidden"}).removeClass("ui-effects-wrapper").addClass("wijmo-wijcalendar-aniwrapper");if(b.parent().is(".wijmo-wijcalendar-aniwrapper"))e=b.parent();else e=a.effects.createWrapper(b).css({overflow:"hidden"}).removeClass("ui-effects-wrapper").addClass("wijmo-wijcalendar-aniwrapper").width(m).height(f);var d=a(this._myGrid.getHtml(true)).css({position:"absolute",top:0,left:0,opacity:0}).appendTo(e).height(f),i=this._myGrid.getSelectedIndex(),l=Math.floor(i/4),o=i-l*4,k=m/4,j=f/3,n={left:k*o,top:j*l,width:k,height:j};c.width("100%").height("100%");b.css({border:"solid 1px #cccccc"});this.element.data("animating.wijcalendar",true);var h=this;b.effect("size",{to:n,duration:this.options.duration||500},function(){b.remove()});d.animate({opacity:1},this.options.duration||500,function(){d.css({position:"",top:"",left:"",filter:""});while(d.parent().is(".wijmo-wijcalendar-aniwrapper"))d.parent().replaceWith(d);h._bindEvents();h.element.data("animating.wijcalendar",false)})},onMyGridClicked:function(o){if(this._myGrid===undefined)return false;if(this._isAnimating())return false;var c=a(o.currentTarget),h=parseInt(c.attr("index"),10);if(this._myGrid.gridType!=="month")if(!h||h===11)return false;!c.hasClass("ui-state-active")&&this._myGrid.select(h);if(this._myGrid.gridType==="decade")this._myGrid.gridType="year";else if(this._myGrid.gridType==="year")this._myGrid.gridType="month";else this._myGrid=undefined;this._refreshTitle();var b=this.element.find(".ui-datepicker-calendar"),j,f,k=b.outerWidth(),i=b.outerHeight();if(b.parent().is(".wijmo-wijcalendar-aniwrapper"))f=b.parent();else f=a.effects.createWrapper(b).css({overflow:"hidden"}).removeClass("ui-effects-wrapper").addClass("wijmo-wijcalendar-aniwrapper").width(k).height(i);var l=a.extend({},c.position(),{width:c.width(),height:c.height()}),g;if(this._myGrid===undefined){this._createMonthViews();var m=this.getDisplayDate(),n=this._getMonthView(m);g=this._customize(n.getHtml(true))}else g=a(this._myGrid.getHtml(true));var d=g.height(i).appendTo(f);j=a.effects.createWrapper(d).css({overflow:"hidden"}).removeClass("ui-effects-wrapper").addClass("wijmo-wijcalendar-aniwrapper").css(a.extend(l,{border:"solid 1px #cccccc",position:"absolute"}));var e=this;this.element.data("animating.wijcalendar",true);j.animate({left:0,top:0,width:k,height:i},this.options.duration||500,function(){});b.animate({opacity:0},this.options.duration||500,function(){b.remove();while(d.parent().is(".wijmo-wijcalendar-aniwrapper"))d.parent().replaceWith(d);e._myGrid===undefined&&e.element.width("").height("");e._bindEvents();e.element.data("animating.wijcalendar",false)});return false},onMyGridMouseEnter:function(d){if(this._myGrid===undefined)return;var c=a(d.currentTarget),b=parseInt(c.attr("index"),10);if(this._myGrid.gridType!=="month"&&(b<0||b>11))return;c.addClass("ui-state-hover")},onMyGridMouseLeave:function(d){if(this._myGrid===undefined)return;var c=a(d.currentTarget),b=parseInt(c.attr("index"),10);if(this._myGrid.gridType!=="month"&&(b<0||b>11))return;c.removeClass("ui-state-hover")},_bindEvents:function(){if(!this.element.data("preview.wijcalendar")&&!this.options.disabled){this.element.find("div .wijmo-wijcalendar-navbutton").unbind().bind("mouseout",function(){var b=a(this);b.removeClass("ui-state-hover");if(b.hasClass("ui-datepicker-next-hover"))b.removeClass("ui-datepicker-next-hover");else b.hasClass("ui-datepicker-prev-hover")&&b.removeClass("ui-datepicker-prev-hover")}).bind("mouseover",function(){var b=a(this);b.addClass("ui-state-hover");if(b.hasClass("ui-datepicker-next"))b.addClass("ui-datepicker-next-hover");else b.hasClass("ui-datepicker-prev")&&b.addClass("ui-datepicker-prev-hover")}).bind("click",a.proxy(this.onNavButtonClicked,this));this.element.find(".ui-datepicker-title").unbind().bind("mouseout",function(){a(this).removeClass("ui-state-hover")}).bind("mouseover",function(){a(this).addClass("ui-state-hover")}).bind("click",a.proxy(this.onTitleClicked,this));this.element.find(".wijmo-wijcalendar-prevpreview-button, .wijmo-wijcalendar-nextpreview-button").unbind("mouseenter").unbind("mouseleave").bind({mouseenter:a.proxy(this.onPreviewMouseEnter,this),mouseleave:a.proxy(this.onPreviewMouseLeave,this)});if(this._myGrid===undefined){this.element.find(".wijmo-wijcalendar-day-selectable").unbind().bind({click:a.proxy(this.onDayClicked,this),mouseenter:a.proxy(this.onDayMouseEnter,this),mouseleave:a.proxy(this.onDayMouseLeave,this),mousedown:a.proxy(this.onDayMouseDown,this)});!!this.options.selectionMode.month&&this.element.find(".wijmo-wijcalendar-monthselector").unbind().bind({click:a.proxy(this.onMonthSelectorClicked,this),mouseenter:a.proxy(this.onMonthSelectorMouseEnter,this),mouseleave:a.proxy(this.onMonthSelectorMouseLeave,this)});!!this.options.selectionMode.weekDay&&this.element.find(".ui-datepicker-week-day").unbind().bind({click:a.proxy(this.onWeekDayClicked,this),mouseenter:a.proxy(this.onWeekDayMouseEnter,this),mouseleave:a.proxy(this.onWeekDayMouseLeave,this)});!!this.options.selectionMode.weekNumber&&this.element.find(".wijmo-wijcalendar-week-num").unbind().bind({click:a.proxy(this.onWeekNumberClicked,this),mouseenter:a.proxy(this.onWeekNumberMouseEnter,this),mouseleave:a.proxy(this.onWeekNumberMouseLeave,this)})}else this.element.find(".wijmo-wijcalendar-day-selectable").unbind().bind({click:a.proxy(this.onMyGridClicked,this),mouseenter:a.proxy(this.onMyGridMouseEnter,this),mouseleave:a.proxy(this.onMyGridMouseLeave,this)})}},_isSelectable:function(a){return!(a&(c.outOfRange|c.disabled))},_getCellClassName:function(b,h,e){var f=this.options,a="",d="ui-state-default",g=!!f.selectionMode.day||!!f.selectionMode.days;e=e||false;if(!e&&!f.disabled&&g&&this._isSelectable(b))a+=" wijmo-wijcalendar-day-selectable";if(b&c.weekEnd)a+=" ui-datepicker-week-end";if(b&c.otherMonth){a+=" ui-datepicker-other-month";d+=" ui-priority-secondary"}if(b&c.outOfRange){a+=" wijmo-wijcalendar-outofrangeday";d+=" ui-priority-secondary"}if(b&c.gap)a+=" wijmo-wijcalendar-gap";else{if(b&c.disabled){a+=" ui-datepicker-unselectable";d+=" ui-state-disabled"}if(b&c.today){a+=" ui-datepicker-days-cell-over ui-datepicker-today";d+=" ui-state-highlight"}if(b&c.selected&&(b&(c.outOfRange|c.disabled))===0){a+=" ui-datepicker-current-day";d+=" ui-state-active"}if(b&c.gap)a+=" wijmo-wijcalendar-gap";if(b&c.custom)a+=" wijmo-wijcalendar-customday"}return{cssCell:a,cssText:d}},onNavButtonClicked:function(g){if(this._isAnimating())return false;var c=1,f=a(g.currentTarget).attr("id"),e=this.getDisplayDate(),d=e;if(this._myGrid===undefined){c=f.indexOf("quick")>=0?this.options.quickNavStep:1;c=f.indexOf("next")>=0?c*1:c*-1;c=c*this.options.monthRows*this.options.monthCols;d=b.addMonths(e,c)}else{c=f.indexOf("next")>=0?1:-1;switch(this._myGrid.gridType){case"month":d=b.addYears(e,c);break;case"year":d=b.addYears(e,c*10);break;case"decade":d=b.addYears(e,c*100)}}this._slideToDate(d);return false},_getMonthGroupHtml:function(){var e=this.getDisplayDate(),c;if(this._isSingleMonth()){c=this._getMonthView(e);c.showPreview=this.options.allowPreview&&!this.element.data("preview.wijcalendar")&&!this.options.disabled;return c.getHtml()}for(var h=100/this.options.monthCols+"%",a=new d,g=0;g<this.options.monthRows;g++){for(var f=0;f<this.options.monthCols;f++){a.writeBeginTag("div");a.writeAttribute("class","ui-datepicker-group"+(f===0?" ui-datepicker-group-first":"")+(f==this.options.monthCols-1?" ui-datepicker-group-last":""));a.writeAttribute("style","width:"+h);a.writeTagRightChar();c=this._getMonthView(e);c.showPreview=false;a.write(c.getHtml());a.writeEndTag("div");e=b.addMonths(e,1)}a.writeBeginTag("div");a.writeAttribute("class","ui-datepicker-row-break");a.writeTagRightChar();a.writeEndTag("div")}return a.toString()},_getCalendarHtml:function(){this._createMonthViews();var a=new d;a.write(this._getMonthGroupHtml());return a.toString()},_customizeDayCell:function(a){a.attr("state")===undefined&&a.attr("state","normal");if(a.attr("daytype")===undefined)return;if(a.attr("date")===undefined)return;var b=parseInt(a.attr("daytype"),10),d=new Date(a.attr("date")),c=a.attr("state")==="hover";this.options.customizeDate(a,d,b,c)},_customize:function(c){var e=this.options,d=this,b=a(c);if(!a.isFunction(e.customizeDate))return b;a.each(b.find(".wijmo-wijcalendar-day-selectable"),function(c,b){d._customizeDayCell(a(b))});return b},_createCalendar:function(){return this._customize(a(this._getCalendarHtml()))},_createMonthGroup:function(){return this._customize(a(this._getMonthGroupHtml()))},_getMonthID:function(a){return a.getFullYear()+"_"+(a.getMonth()+1)},_createMonthViews:function(){this._monthViews={};for(var c="",a=this.getDisplayDate(),g=0;g<this.options.monthRows;g++)for(var f=0;f<this.options.monthCols;f++){c=this._getMonthID(a);this._monthViews[c]=new e(this,a);if(g===0){if(f===0)this._monthViews[c].isFirst=true;if(f==this.options.monthCols-1)this._monthViews[c].isLast=true}a=b.addMonths(a,1)}a=this.getDisplayDate();c=this._getMonthID(a);var d=this._monthViews[c];if(d)this._groupStartDate=d.getStartDate();var h=this.options.monthRows*this.options.monthCols;if(h>1){a=b.addMonths(a,h-1);c=this._getMonthID(a);d=this._monthViews[c]}if(d)this._groupEndDate=d.getEndDate()},_getMonthView:function(b){var a=this._getMonthID(b);return this._monthViews[a]},_getId:function(){return this.element.attr("id")},_getChildElement:function(b){var a=this.element.find("[id*='"+b+"']");return a.length===0?undefined:a},_refreshDayCell:function(f){var b=a(f),i=this.options;b.attr("state")===undefined&&b.attr("state","normal");if(b.attr("daytype")===undefined)return;if(b.attr("date")===undefined)return;var d=parseInt(b.attr("daytype"),10),h=new Date(b.attr("date")),g=b.attr("state")==="hover";b.attr("className",this._getCellClassName(d,h).cssCell);b.removeAttr("aria-selected");d&c.selected&&b.attr("aria-selected",true);if(a.isFunction(i.customizeDate))if(this._customizeDayCell(b))return;var e=b.find("a");if(e.length>0){e.toggleClass("ui-state-hover",g);e.toggleClass("ui-state-active",(d&c.selected)!==0)}},_isSingleMonth:function(){return this.options.monthCols*this.options.monthRows===1},_splitString:function(f,e,b){if(b===undefined)return f.split(e);for(var c=[],d=f.split(e),a=0;a<d.length;a++)if(a>=b)c[b-1]=c[b-1]+e+d[a];else c.push(d[a]);return c},_getNavButtonHtml:function(f,e,c,b){var a=new d;a.writeBeginTag("a");a.writeAttribute("id",f);a.writeAttribute("class",e);a.writeAttribute("role","button");a.writeAttribute("href","#");if(b){a.writeAttribute("title",b);a.writeAttribute("aria-label",b)}a.writeTagRightChar();a.writeBeginTag("span");a.writeAttribute("class",c);a.writeTagRightChar();b&&a.write(b);a.writeEndTag("span");a.writeEndTag("a");return a.toString()},_getTitleText:function(d){if(this._myGrid!==undefined)return this._myGrid.getTitle();else{var b=d||this.getDisplayDate(),c=this.options.titleFormat||"MMMM yyyy";return a.isFunction(this.options.title)?this.options.title(b,c)||this._formatDate(c,b):this._formatDate(c,b)}},_refreshTitle:function(){this.element.find(".ui-datepicker-title").html(this._getTitleText())},_fillTitle:function(a,b){a.writeBeginTag("div");a.writeAttribute("class","ui-datepicker-title wijmo-wijcalendar-title ui-state-default ui-corner-all");a.writeTagRightChar();a.write(this._getTitleText(b));a.writeEndTag("div")},_getHeaderHtml:function(g,e,c){var h=!!this.element.data("preview.wijcalendar"),f=h?"none":this._isSingleMonth()?this.options.navButtons:"default",b=this.element.is(".ui-datepicker-rtl"),a=new d;if(f==="quick"){a.writeBeginTag("div");a.writeAttribute("class","ui-widget-header wijmo-wijcalendar-header ui-helper-clearfix ui-corner-all");a.writeAttribute("role","heading");a.writeTagRightChar();!!e&&a.write(this._getNavButtonHtml("quickprev","wijmo-wijcalendar-navbutton ui-datepicker-prev ui-corner-all","ui-icon ui-icon-seek-"+(b?"next":"prev"),this.options.quickPrevTooltip.replace("#",this.options.quickNavStep)));a.writeBeginTag("div");a.writeAttribute("class","ui-datepicker-header wijmo-wijcalendar-header-inner");a.writeTagRightChar();!!e&&a.write(this._getNavButtonHtml("prev","wijmo-wijcalendar-navbutton ui-datepicker-prev ui-corner-all","ui-icon ui-icon-circle-triangle-"+(b?"e":"w"),this.options.prevTooltip));this._fillTitle(a,g);!!c&&a.write(this._getNavButtonHtml("next","wijmo-wijcalendar-navbutton ui-datepicker-next ui-corner-all","ui-icon ui-icon-circle-triangle-"+(b?"w":"e"),this.options.nextTooltip));a.writeEndTag("div");!!c&&a.write(this._getNavButtonHtml("quicknext","wijmo-wijcalendar-navbutton ui-datepicker-next ui-corner-all","ui-icon ui-icon-seek-"+(b?"prev":"next"),this.options.quickNextTooltip.replace("#",this.options.quickNavStep)));a.writeEndTag("div")}else{a.writeBeginTag("div");a.writeAttribute("class","ui-datepicker-header ui-widget-header ui-datepicker-header ui-helper-clearfix ui-corner-all");a.writeAttribute("role","heading");a.writeTagRightChar();f!="none"&&!!e&&a.write(this._getNavButtonHtml("prev","wijmo-wijcalendar-navbutton ui-datepicker-prev ui-corner-all","ui-icon ui-icon-circle-triangle-"+(b?"e":"w"),this.options.prevTooltip));this._fillTitle(a,g);f!="none"&&!!c&&a.write(this._getNavButtonHtml("next","wijmo-wijcalendar-navbutton ui-datepicker-next ui-corner-all","ui-icon ui-icon-circle-triangle-"+(b?"w":"e"),this.options.nextTooltip));a.writeEndTag("div")}return a.toString()},_formatDate:function(d,c){return!b.getTicks(c)?"&nbsp;":a.format(c,d,this._getCulture())}});if(e===undefined){var e=function(c,a){this.calendar=c;if(a===undefined||b.isSameDate(a,new Date(1900,0,1)))a=new Date;this.displayDate=a;this.id=this.calendar._getId()+"_"+this.calendar._getMonthID(a);this.isFirst=false;this.isLast=false;this.showPreview=false;this.culture=this.calendar._getCulture();this._calcDates(this.displayDate)};e.prototype={_calcDates:function(a){var c=b.getDaysInMonth(a);this._startDateInMonth=new Date(a.getFullYear(),a.getMonth(),1);this._endDateInMonth=b.addDays(this._startDateInMonth,c-1);this._startDate=b.getWeekStartDate(this._startDateInMonth,this.culture.calendar.firstDay);this._endDate=b.addDays(this._startDate,this.calendar.options.dayRows*this.calendar.options.dayCols-1)},_isFirstMonth:function(){var a=this.calendar.getDisplayDate();return b.isSameMonth(this._startDateInMonth,a)},_isLastMonth:function(){var a=this.calendar.getDisplayDate();a=new Date(a.getFullYear(),a.getMonth(),1);a=b.addMonths(a,this.calendar.options.monthCols*this.calendar.options.monthRows-1);return b.isSameMonth(this._startDateInMonth,a)},getStartDate:function(){return this._startDate},getEndDate:function(){return this._endDate},_getMonthDate:function(){this._startDateInMonth===undefined&&this._calcDates(this.getDisplayDate());return this._startDateInMonth},_setMonthDate:function(a){this._calcDates(a)},_getWeekDayText:function(c,d){d=d||"short";var b=this.culture.calendar.days,a="";switch(d){case"full":a=b.names[c];break;case"firstLetter":a=b.names[c].substring(0,1);break;case"abbreviated":a=b.namesAbbr[c];break;default:a=b.namesShort[c]}return a},_getRowCount:function(){var a=this.calendar.options;return a.showWeekDays?a.dayRows+1:a.dayRows},_getColCount:function(){var a=this.calendar.options;return a.showWeekNumbers?a.dayCols+1:a.dayCols},_getDayType:function(d){var e=this.calendar.options,a=c.general,h=d.getDay(),m=h===6||h===0,g=d<e.minDate||d>e.maxDate,f=d<this._startDateInMonth||d>this._endDateInMonth,i=g||this.calendar._getDisabledDates().contains(d),j=this.calendar._getSelectedDates().contains(d),n=new Date,l=b.isSameDate(d,n),k=false;if(m)a|=c.weekEnd;if(l)a|=c.today;if(i)a|=c.disabled;if(f)a|=c.otherMonth;if(g)a|=c.outOfRange;if(j)a|=c.selected;if(k)a|=c.custom;if(f&&!e.showOtherMonthDays)a|=c.gap;return a},_refreshDate:function(b){if(b<this._startDate||b>this._endDate)return;var h=this.calendar.options,g=Math.round(Math.abs(b-this._startDate)/(24*60*60*1e3)),d=Math.floor(g/this.calendar.options.dayCols),c=Math.floor(g%this.calendar.options.dayCols);if(h.showWeekNumbers)c++;if(h.showWeekDays)d++;var e=a("#"+this.id,this.calendar.element).get(0);if(e)if(d<e.rows.length){var i=e.rows[d];if(c<i.cells.length){var f=i.cells[c],j=this._getDayType(b);f.daytype=j.toString();this.calendar._refreshDayCell(f)}}},_fillDayCell:function(a,b,j){var i=this.calendar.options,f=null,d=b.getDate().toString(),g=this.calendar._formatDate(i.toolTipFormat||"dddd, MMMM dd, yyyy",b),e=this._getDayType(b),h=this.calendar._getCellClassName(e,b,j);d=i.showDayPadding&&d.length===1?"0"+d:d;a.writeBeginTag("td");a.writeAttribute("daytype",e.toString());a.writeAttribute("title",g);a.writeAttribute("aria-label",g);a.writeAttribute("date",b.toDateString());a.writeAttribute("class",h.cssCell);a.writeAttribute("role","gridcell");!this.calendar._isSelectable(e)&&a.writeAttribute("aria-disabled","true");a.writeTagRightChar();if(e&c.gap)a.write("&#160;");else if(f&&f.content)a.write(f.content);else{a.writeBeginTag("a");a.writeAttribute("class",h.cssText);a.writeAttribute("href","#");a.writeTagRightChar();a.write(d);a.writeEndTag("a")}a.writeEndTag("td")},getHtml:function(g){g=!!g;var c=this.calendar.options,h=!!this.calendar.element.data("preview.wijcalendar"),a=new d,e;!g&&c.showTitle&&a.write(this.calendar._getHeaderHtml(this._startDateInMonth,this.isFirst,this.isLast));if(!g&&!h&&this.showPreview){a.writeBeginTag("div");a.writeAttribute("class","wijmo-wijcalendar-prevpreview-button");a.writeAttribute("role","button");a.writeAttribute("aria-haspopup","true");a.writeAttribute("id","prevPreview");a.writeTagRightChar();a.writeBeginTag("a");a.writeAttribute("class","ui-icon ui-icon-grip-dotted-vertical");a.writeAttribute("href","#");a.writeAttribute("title",c.prevPreviewTooltip);a.writeAttribute("aria-label",c.prevPreviewTooltip);a.writeAttribute("onclick","return false;");a.writeTagRightChar();a.write("&#160;");a.writeEndTag("a");a.writeEndTag("div")}a.writeBeginTag("table");a.writeAttribute("id",this.id);a.writeAttribute("class","ui-datepicker-calendar wijmo-wijcalendar-table");a.writeAttribute("role","grid");a.writeAttribute("summary",this.calendar._getTitleText(this._startDateInMonth));a.writeAttribute("onselectstart","return false;");a.writeTagRightChar();if(c.showWeekDays){a.writeFullBeginTag("thead");a.writeBeginTag("tr");a.writeTagRightChar();if(c.showWeekNumbers){a.writeBeginTag("th");a.writeAttribute("id",this.id+"_ms");a.writeAttribute("class","ui-datepicker-week-col wijmo-wijcalendar-monthselector"+(!!c.selectionMode.month?" wijmo-wijcalendar-selectable":""));a.writeAttribute("role","columnheader");a.writeTagRightChar();if(!!c.selectionMode.month&&!h&&!c.disabled){a.writeBeginTag("a");a.writeAttribute("class","ui-icon ui-icon-triangle-1-se");a.writeSelfClosingTagEnd()}else a.write("Wk");a.writeEndTag("th")}var f=this._startDate.getDay(),k=this._startDate;for(e=0;e<c.dayCols;e++){var q=f===6||f===0,o=e+(c.showWeekNumbers?1:0),r=this._getWeekDayText(f,c.weekDayFormat),l=this._getWeekDayText(f,"full");a.writeBeginTag("th");a.writeAttribute("id",this.id+"_cs_"+o);a.writeAttribute("class","ui-datepicker-week-day"+(q?" ui-datepicker-week-end":"")+(!!c.selectionMode.weekDay?" wijmo-wijcalendar-selectable":""));a.writeAttribute("role","columnheader");a.writeTagRightChar();a.writeBeginTag("span");a.writeAttribute("title",l);a.writeAttribute("aria-label",l);a.writeTagRightChar();a.write(r);a.writeEndTag("span");a.writeEndTag("th");f=(f+1)%7;k=b.addDays(k,1)}a.writeEndTag("tr");a.writeEndTag("thead")}a.writeFullBeginTag("tbody");var j=this._startDate,i=this._startDateInMonth;for(e=0;e<c.dayRows;e++){a.writeBeginTag("tr");a.writeTagRightChar();if(c.showWeekNumbers){var p=e+(c.showWeekDays?1:0);a.writeBeginTag("td");a.writeAttribute("id",this.id+"_rs_"+p);a.writeAttribute("class","ui-datepicker-week-col wijmo-wijcalendar-week-num"+(!!c.selectionMode.weekNumber?" wijmo-wijcalendar-selectable":""));a.writeAttribute("role","rowheader");a.writeTagRightChar();var n=b.getWeekOfYear(i,c.calendarWeekRule,this.culture.calendar.firstDay);a.write(n);a.writeEndTag("td");i=b.addDays(i,c.dayCols)}for(var m=0;m<c.dayCols;m++){this._fillDayCell(a,j,h);j=b.addDays(j,1)}a.writeEndTag("tr")}a.writeEndTag("tbody");a.writeEndTag("table");if(!g&&!h&&this.showPreview){a.writeBeginTag("div");a.writeAttribute("class","wijmo-wijcalendar-nextpreview-button");a.writeAttribute("role","button");a.writeAttribute("aria-haspopup","true");a.writeAttribute("id","nextPreview");a.writeTagRightChar();a.writeBeginTag("a");a.writeAttribute("class","ui-icon ui-icon-grip-dotted-vertical");a.writeAttribute("href","#");a.writeAttribute("title",c.nextPreviewTooltip);a.writeAttribute("aria-label",c.nextPreviewTooltip);a.writeAttribute("onclick","return false;");a.writeTagRightChar();a.write("&#160;");a.writeEndTag("a");a.writeEndTag("div")}return a.toString()}}}if(f===undefined){var f=function(b,a){this._calendar=b;this._optionName=a;this._normalize()};f.prototype={_calendar:null,_optionName:"selectedDates",getDates:function(){if(this._calendar.options[this._optionName]===undefined)this._calendar.options[this._optionName]=[];return this._calendar.options[this._optionName]},setDates:function(a){this._calendar.options[this._optionName]=a;this._normalize()},getCount:function(){return this.getDates().length},clear:function(){this.setDates([])},add:function(a){this.addRange(a,a)},remove:function(a){this.removeRange(a,a)},indexOf:function(a){return!this.getCount()?-1:this._findRangeBound(a,true,false)},contains:function(a){return this.indexOf(a)!==-1},removeRange:function(g,d){if(!this.getCount())return;var b=this._findRangeBound(g,false,true),a=this._findRangeBound(d,false,false);if(b<0||a<0)return;if(b>a)return;var c=this.getDates();if(c[a]>d)return;var e=!b?[]:c.slice(0,b),f=a>=c.length-1?[]:c.slice(a+1);this.setDates(e.concat(f))},addRange:function(a,d){this.removeRange(a,d);var g=this.getDates(),e=this._findRangeBound(a,false,true),h=!e?[]:g.slice(0,e),i=g.slice(e),f=[];a=b.getDate(a);d=b.getDate(d);for(var c=a;c<=d;c=b.addDays(c,1))f[f.length]=c;this.setDates(h.concat(f.concat(i)))},_findRangeBound:function(f,h,g){var e=this.getDates(),c=0,d=e.length,a;while(c<d){a=c+d>>1;if(b.isSameDate(f,e[a]))return a;if(f<e[a])d=a;else c=a+1}return h?-1:g?c:d},_normalize:function(){var b=this._calendar.options[this._optionName];if(a.isArray(b)){var c=a.map(b,function(a){return new Date(a)});this._calendar.options[this._optionName]=c.sort(function(a,b){return a.getTime()-b.getTime()})}}}}if(g===undefined){var g=function(a){this.gridType="month";this.calendar=a;this.culture=a._getCulture()};g.prototype={gridType:"month",selectedIndex:0,calendar:null,culture:undefined,select:function(c){var a=this.calendar.getDisplayDate(),d=a.getFullYear(),b=c-this.selectedIndex;switch(this.gridType){case"month":a.setMonth(c);break;case"year":a.setFullYear(d+b);break;case"decade":a.setFullYear(d+b*10)}this.calendar.options.displayDate=a},getSelectedIndex:function(){var b=this.calendar.getDisplayDate(),a=b.getFullYear(),d=Math.floor(a/10)*10-1,c=Math.floor(a/100)*100-10;switch(this.gridType){case"month":return b.getMonth();case"year":return a-d;case"decade":return Math.floor((a-c)/10)}return 0},getTitle:function(){var d=this.calendar.getDisplayDate(),a=d.getFullYear(),c=Math.floor(a/10)*10-1,b=Math.floor(a/100)*100-10;switch(this.gridType){case"month":return a.toString();case"year":return c+1+" - "+(c+10);case"decade":return b+10+" - "+(b+109)}return""},getHtml:function(e,k){if(e===undefined)e=this.calendar.getDisplayDate();else if(typeof e==="boolean"){k=e;e=this.calendar.getDisplayDate()}k=!!k;var g=this.calendar.options,a=new d;g.showTitle&&!k&&a.write(this.calendar._getHeaderHtml(null,true,true));var p=3,s=4,o=100/p+"%";o="30%";a.writeBeginTag("table");a.writeAttribute("class","ui-datepicker-calendar wijmo-wijcalendar-mygrid");a.writeAttribute("role","grid");a.writeAttribute("onselectstart","return false;");a.writeTagRightChar();for(var i=e.getFullYear(),r=Math.floor(i/10)*10-1,q=Math.floor(i/100)*100-10,t=this.culture.calendar.months,m=0;m<p;m++){a.writeBeginTag("tr");a.writeAttribute("height",o);a.writeTagRightChar();for(var n=0;n<s;n++){var c=m*4+n,h=false,f=false,l="",b;switch(this.gridType){case"month":if(e.getMonth()===c)h=true;l=t.namesAbbr[c];f=e<g.minDate||e>g.maxDate;break;case"year":if(c===0||c===11)f=true;b=r+c;if(b<g.minDate.getFullYear()||b>g.maxDate.getFullYear())f=true;else h=i===b;l=b.toString();break;case"decade":if(c===0||c===11)f=true;b=q+c*10;if(b<g.minDate.getFullYear()||b>g.maxDate.getFullYear())f=true;else h=i>=b&&i<b+10;l=b.toString()+"-<br/>"+(b+9).toString()}if(h)this.selectedIndex=c;var j="ui-datepicker-week-day";if(f)j=j+" ui-datepicker-other-month  ui-priority-secondary ui-datepicker-unselectable";else if(!g.disabled)j+=" wijmo-wijcalendar-day-selectable";j+=" ui-state-default"+(f?" ui-state-disabled":"")+(h?" ui-state-active ui-state-highlight":"");a.writeBeginTag("td");a.writeAttribute("class",j);a.writeAttribute("role","gridcell");a.writeAttribute("index",c.toString());a.writeAttribute("other",f.toString());a.writeTagRightChar();a.writeBeginTag("a");a.writeAttribute("href","#");a.writeTagRightChar();a.write(l);a.writeEndTag("a");a.writeEndTag("td")}a.writeEndTag("tr")}a.writeEndTag("table");return a.toString()}}}if(b===undefined){var b={};b.addDays=function(a,c){var b=new Date(a.getFullYear(),a.getMonth(),a.getDate()+c);if(c)if(b.getDate()===a.getDate()){b=new Date(a.getFullYear(),a.getMonth(),a.getDate());b.setTime(b.getTime()+c*24*3600*1e3)}return b};b.addMonths=function(a,b){return new Date(a.getFullYear(),a.getMonth()+b,1)};b.addYears=function(c,a){return b.addMonths(c,a*12)};b.getDate=function(a){return new Date(a.getFullYear(),a.getMonth(),a.getDate())};b.getTicks=function(a){return a.valueOf()};b.isSameDate=function(a,b){return a.getFullYear()===b.getFullYear()&&a.getMonth()===b.getMonth()&&a.getDate()===b.getDate()};b.isSameMonth=function(a,b){return a.getFullYear()===b.getFullYear()&&a.getMonth()===b.getMonth()};b.getDaysInMonth=function(a){return(new Date(a.getFullYear(),a.getMonth()+1,0)).getDate()};b.getWeekStartDate=function(a,b){return new Date(a.getFullYear(),a.getMonth(),a.getDate()-(a.getDay()-b+7)%7)};b.getDayOfYear=function(a){var d=new Date(a.getFullYear(),0,1),c=b.getTicks(a)-b.getTicks(d),e=c/(24*60*60*1e3);return Math.floor(e)+1};b.getFirstDayWeekOfYear=function(c,e){var d=b.getDayOfYear(c)-1,a=c.getDay()-d%7;a=(a-e+14)%7;var f=(d+a)/7;return Math.floor(f)+1};b.getDayOfWeek=function(b,a){return(b.getDay()-a+7)%7};b.getWeekOfYearFullDays=function(e,g,c,f){var d=b.getDayOfYear(e)-1,a=b.getDayOfWeek(e,c)-d%7;a=(c-a+14)%7;if(a&&a>=f)a-=7;a=d-a;return a>=0?Math.floor(a/7)+1:b.getWeekOfYearFullDays(b.addDays(e,-(d+1)),g,c,f)};b.getWeekOfYear=function(c,d,a){switch(d){case"firstDay":return b.getFirstDayWeekOfYear(c,a);case"firstFullWeek":return b.getWeekOfYearFullDays(c,d,a,7);case"firstFourDayWeek":return b.getWeekOfYearFullDays(c,d,a,4)}return b.getFirstDayWeekOfYear(c,a)};b.getDateToken=function(a){return a.getFullYear()+"_"+a.getMonth()+"_"+a.getDate()}}if(d===undefined){var d=function(){this._html=[]};d.prototype={_html:null,writeTagLeftChar:function(){this._html[this._html.length]="<"},writeTagRightChar:function(){this._html[this._html.length]=">"},write:function(a){this._html[this._html.length]=" "+a+" "},writeBeginTag:function(a){this._html[this._html.length]="<"+a},writeEndTag:function(a){this._html[this._html.length]="</"+a+">"},writeFullBeginTag:function(a){this._html[this._html.length]="<"+a+">"},writeSelfClosingTagEnd:function(){this._html[this._html.length]="/>"},writeAttribute:function(b,a){if(a===undefined||a===null)return;this._html[this._html.length]=" "+b+'="';this._html[this._html.length]=a;this._html[this._html.length]='"'},clean:function(){this._html=[]},toString:function(){return this._html.join("")}}}})(jQuery);
-(function(a){"use strict";a.widget("wijmo.wijexpander",{options:{allowExpand:true,animated:"slide",contentUrl:"",expanded:true,expandDirection:"bottom"},_setOption:function(c,b){switch(c){case"contentUrl":if(b)this.element.find("> .ui-widget-content").wijContent(b);else this.element.find("> .ui-widget-content").html("");break;case"disabled":if(b)this.element.addClass("ui-state-disabled");else this.element.removeClass("ui-state-disabled");break;case"expandDirection":this._onDirectionChange(b,true,this.options.expandDirection);break;case"expanded":if(b)this.expand();else this.collapse();return}a.Widget.prototype._setOption.apply(this,arguments)},_create:function(){var d=this.element.children(),b,c;this.element.addClass("wijmo-wijexpander ui-expander ui-widget ui-helper-reset ui-expander-icons");b=a(d[0]);c=a(d[1]);if(this.options.expandDirection==="left"||this.options.expandDirection==="top"){b.remove();b.insertAfter(c)}b.addClass("ui-expander-header ui-helper-reset");b.attr("role","tab");c.attr("role","tabpanel");b.find("> a").length===0&&b.wrapInner('<a href="#"></a>');b.find("> .ui-icon").length===0&&a('<span class="ui-icon"></span>').insertBefore(a("> a",b)[0]);c.addClass("ui-expander-content ui-helper-reset ui-widget-content")},_init:function(){var b=this.options;this._onDirectionChange(b.expandDirection,false);b.contentUrl&&a(".ui-widget-content",this.element).wijContent(this.options.contentUrl);if(!b.expanded){this.element.find("> .ui-widget-content").hide();this.element.find("> .ui-expander-header").addClass("ui-state-default ui-corner-all").attr({"aria-expanded":"false",tabIndex:-1}).find("> .ui-icon").addClass(this._triangleIconClosed)}else{this.element.find("> .ui-expander-header").addClass("ui-state-active").attr({"aria-expanded":"true",tabIndex:0}).addClass(this._headerCornerOpened).find("> .ui-icon").addClass(this._triangleIconOpened);this.element.find("> .ui-widget-content").addClass("ui-expander-content-active").addClass(this._contentCornerOpened)}b.disabled&&this.element.addClass("ui-state-disabled");__wijReadOptionEvents(["beforeexpand","beforecollapse","afterexpand","aftercollapse"],this);this._bindLiveEvents()},destroy:function(){this._unbindLiveEvents();this.element.removeClass("wijmo-wijexpander ui-expander ui-widget ui-helper-reset ui-expander-icons");a.Widget.prototype.destroy.apply(this,arguments)},_bindLiveEvents:function(){a(".ui-expander-header",this.element[0]).live("click.wijexpander",jQuery.proxy(this._onHeaderClick,this)).live("mouseenter.wijexpander",function(){a(this).addClass("ui-state-hover")}).live("mouseleave.wijexpander",function(){a(this).removeClass("ui-state-hover")}).live("focus.wijexpander",function(){a(this).addClass("ui-state-focus")}).live("blur.wijexpander",function(){a(this).removeClass("ui-state-focus")})},_unbindLiveEvents:function(){a(".ui-expander-header",this.element[0]).die(".wijexpander")},_onDirectionChange:function(l,g,j){var b,i,h,f,e,k,d,c;j&&j!==l&&this.element.removeClass("ui-expander-"+j);if(g){i=this.element.find(".ui-expander-header."+this._headerCornerOpened);i.removeClass(this._headerCornerOpened);h=this.element.find(".ui-widget-content."+this._contentCornerOpened);h.removeClass(this._contentCornerOpened);f=this.element.find("."+this._triangleIconOpened);e=this.element.find("."+this._triangleIconClosed);f.removeClass(this._triangleIconOpened);e.removeClass(this._triangleIconClosed)}switch(l){case"top":this._headerCornerOpened="ui-corner-bottom";this._contentCornerOpened="ui-corner-top";this._triangleIconOpened="ui-icon-triangle-1-n";this._triangleIconClosed="ui-icon-triangle-1-e";b=true;this.element.removeClass("ui-helper-horizontal");this.element.addClass("ui-expander-top");break;case"right":this._headerCornerOpened="ui-corner-left";this._contentCornerOpened="ui-corner-right";this._triangleIconOpened="ui-icon-triangle-1-e";this._triangleIconClosed="ui-icon-triangle-1-s";b=false;this.element.addClass("ui-helper-horizontal");this.element.addClass("ui-expander-right");break;case"left":this._headerCornerOpened="ui-corner-right";this._contentCornerOpened="ui-corner-left";this._triangleIconOpened="ui-icon-triangle-1-w";this._triangleIconClosed="ui-icon-triangle-1-s";b=true;this.element.addClass("ui-helper-horizontal");this.element.addClass("ui-expander-left");break;default:this._headerCornerOpened="ui-corner-top";this._contentCornerOpened="ui-corner-bottom";this._triangleIconOpened="ui-icon-triangle-1-s";this._triangleIconClosed="ui-icon-triangle-1-e";b=false;this.element.removeClass("ui-helper-horizontal");this.element.addClass("ui-expander-bottom")}k=this.element.data("rightToLeft");this.element.data("rightToLeft",b);if(g){f.addClass(this._triangleIconOpened);e.addClass(this._triangleIconClosed);i.addClass(this._headerCornerOpened);h.addClass(this._contentCornerOpened)}g&&b!==k&&this.element.children(".ui-expander-header").each(function(){c=a(this);if(b){d=c.next(".ui-expander-content");c.remove();c.insertAfter(d)}else{d=c.prev(".ui-expander-content");c.remove();c.insertBefore(d)}})},collapse:function(){var d=this.options,f,c,g,b,e;if(!d.allowExpand)return;if(this.element.hasClass("ui-state-disabled"))return false;e=jQuery.Event("beforecollapse");this.element.trigger(e);if(e.isDefaultPrevented())return false;if(d.animated){f={expand:false,content:this.element.find("> .ui-widget-content"),complete:jQuery.proxy(function(){this.element.find("> .ui-widget-content").removeClass("ui-expander-content-active");this.element.trigger("aftercollapse");this.element.find("> .ui-widget-content").css("display","")},this),horizontal:this.element.hasClass("ui-helper-horizontal")};c=a.wijmo.wijexpander.animations;g=d.duration;b=d.animated;if(b&&!c[b]&&!a.easing[b])b="slide";if(!c[b])c[b]=function(a){this.slide(a,{easing:b,duration:g||700})};c[b](f)}else{this.element.find("> .ui-widget-content").hide();a(this.parentNode).trigger("aftercollapse")}this.element.find("> .ui-expander-header").removeClass("ui-state-active").removeClass(this._headerCornerOpened).attr({"aria-expanded":"false",tabIndex:-1}).addClass("ui-state-default ui-corner-all").find("> .ui-icon").removeClass(this._triangleIconOpened).addClass(this._triangleIconClosed);this.options.expanded=false;return true},expand:function(){var d=this.options,e,f,c,g,b;if(!d.allowExpand)return;if(this.element.hasClass("ui-state-disabled"))return false;e=jQuery.Event("beforeexpand");this.element.trigger(e);if(e.isDefaultPrevented())return false;if(d.animated){f={expand:true,content:this.element.find("> .ui-widget-content"),complete:jQuery.proxy(function(){this.element.find("> .ui-widget-content").addClass("ui-expander-content-active").addClass(this._contentCornerOpened);this.element.trigger("afterexpand");this.element.find("> .ui-widget-content").css("display","")},this),horizontal:this.element.hasClass("ui-helper-horizontal")};c=a.wijmo.wijexpander.animations;g=d.duration;b=d.animated;if(b&&!c[b]&&!a.easing[b])b="slide";if(!c[b])c[b]=function(a){this.slide(a,{easing:b,duration:g||700})};c[b](f)}else{this.element.find("> .ui-widget-content").show();a(this.parentNode).trigger("afterexpand")}this.element.find("> .ui-expander-header").removeClass("ui-state-default ui-corner-all").addClass("ui-state-active").addClass(this._headerCornerOpened).attr({"aria-expanded":"true",tabIndex:0}).find("> .ui-icon").removeClass(this._triangleIconClosed).addClass(this._triangleIconOpened);this.options.expanded=true;return true},_onHeaderClick:function(){this.option("expanded",!this.options.expanded);return false}});a.extend(a.wijmo.wijexpander,{animations:{slide:function(b,c){b=a.extend({easing:"swing",duration:300},b,c);if(b.expand)b.content.stop(true,true).animate(b.horizontal?{width:"show",opacity:"show"}:{height:"show",opacity:"show"},b);else b.content.stop(true,true).animate(b.horizontal?{width:"hide",opacity:"hide"}:{height:"hide",opacity:"hide"},b)}}})})(jQuery);
-(function(a){"use strict";var b="wijmo-wijmenu-item";a.widget("wijmo.wijmenu",{options:{trigger:"",triggerEvent:"click",position:{},animation:{animated:"slide",duration:400,easing:null},showAnimation:{},hideAnimation:{animated:"fade",duration:400,easing:null},slidingAnimation:{duration:400,easing:null},mode:"flyout",superPanelOptions:null,checkable:false,orientation:"horizontal",maxHeight:200,backLink:true,backLinkText:"Back",topLinkText:"All",crumbDefaultText:"Choose an option",select:null,focus:null,blur:null,showing:null},_preventEvent:function(a){a.preventDefault();a.stopImmediatePropagation()},_create:function(){var b=this,g=b.options,d,f,e=b.element,c=a.ui.keyCode;e.hide();b.cssPre="wijmo-wijmenu";b.nowIndex=9999;b.activeItem=null;b.refresh();e.attr("tabIndex",0);e.bind("keydown.wijmenu",function(e){if(g.disabled)return;var h=b.activeItem;switch(e.keyCode){case c.PAGE_UP:b.previousPage(e);b._preventEvent(e);break;case c.PAGE_DOWN:b.nextPage(e);b._preventEvent(e);break;case c.UP:b.previous(e);b._preventEvent(e);break;case c.DOWN:b.next(e);b._preventEvent(e);break;case c.RIGHT:if(h){d=a(">ul",h);d.length>0&&d.is(":visible")&&b.activate(e,d.children(":first"))}break;case c.LEFT:d=h.parent();f=d.parent();f.is("li")&&b.activate(e,f);break;case c.ENTER:b.select();if(h.length>0)if(g.mode==="flyout"&&h.has("ul").length>0)b._showFlyoutSubmenu(e,h,h.find("ul:first"));else h.children(":first").trigger("click");b._preventEvent(e)}})},_destroy:function(){var a=this,b=a.options;a[b.mode==="flyout"?"_killFlyout":"_killDrilldown"]();a._killmenuItems();a._killtrigger();if(a.element.is("ul"))a.element.unwrap().unwrap();else a.element.unwrap();a.element.removeData("domObject").removeData("topmenu").removeData("firstLeftValue")},destroy:function(){this._destroy();a.Widget.prototype.destroy.apply(this)},activate:function(d,b){var a=this,e=a.domObject.scrollcontainer,c=b.eq(0);a.deactivate(d);a.options.mode==="sliding"&&e.wijsuperpanel("scrollChildIntoView",b);c.children(":first").addClass("ui-state-focus").attr("id","ui-active-menuitem").end();a.activeItem=c;a._trigger("focus",d,{item:b})},deactivate:function(d){var c=this,b=c.activeItem;if(!b)return;if(!d||d.keyCode!==a.ui.keyCode.RIGHT)if(b.length>0)c.options.mode==="flyout"&&b.has("ul").length>0&&c._hideCurrentSubmenu(b);b.children(":first").removeClass("ui-state-focus").removeAttr("id");c._trigger("blur");c.activeItem=null},next:function(a){this._move("next","."+b+":first",a)},previous:function(a){this._move("prev","."+b+":last",a)},first:function(){var a=this.activeItem;return a&&!a.prevAll("."+b).length},last:function(){var a=this.activeItem;return a&&!a.nextAll("."+b).length},nextPage:function(f){var b=this,c=b.activeItem,d=c.parent(),h,g,e;if(b.options.mode==="sliding"&&b._hasScroll()){if(!c||b.last()){b.activate(f,d.children(":first"));return}h=c.offset().top;g=b.options.maxHeight;e=d.children("li").filter(function(){var b=a(this),d=g-(b.offset().top-h+b.height()),c=b.height();return d<c&&d>-c});if(!e.length)e=d.children(":last");b.activate(f,e.last())}else b.activate(f,d.children(!c||b.last()?":first":":last"))},previousPage:function(f){var b=this,c=b.activeItem,d=c.parent(),h,g,e;if(b.options.mode==="sliding"&&b._hasScroll()){if(!c||b.first()){b.activate(f,d.children(":last"));return}h=c.offset().top;g=b.options.maxHeight;e=d.children("li").filter(function(){var b=a(this),d=b.offset().top-h+g-b.height(),c=b.height();return d<c&&d>-c});if(!e.length)e=d.children(":first");b.activate(f,e.first())}else b.activate(f,d.children(!c||b.first()?":last":":first"))},select:function(b){var a=this;a._trigger("select",b,{item:a.activeItem});a._setCheckable()},_setCheckable:function(){this.options.checkable&&this.activeItem.children(":first").toggleClass("ui-state-active")},_setOption:function(a,b){this["_set_"+a]&&this["_set_"+a](b);this.options[a]=b},_set_mode:function(a){this._destroy();this.options.mode=a;this.refresh()},_set_orientation:function(d){var b=this,c=b.domObject.menucontainer;c.removeClass(b.cssPre+"-vertical "+b.cssPre+"-horizontal");if(b.options.mode==="flyout"){c.addClass(b.cssPre+"-"+d);a(">li:has(ul)",b.rootMenu).each(function(){var b="ui-icon-triangle-1-",e=d==="horizontal"?"e":"s",c=d==="horizontal"?"s":"e";a(">.wijmo-wijmenu-link",this).find("."+b+e).removeClass(b+e+" "+b+c).addClass(b+c)})}else c.addClass(b.cssPre+"-vertical")},_getTriggerEle:function(){return a(this.options.trigger).filter(function(){return a(this).closest(".wijmo-wijmenu").length===0})},_set_triggerEvent:function(d){var a=this,c=a.options,b=a._getTriggerEle();a._killtrigger();c.triggerEvent=d;b.length>0&&a._initTrigger(b);if(c.mode==="flyout"){a._killFlyout();a._flyout()}},_set_trigger:function(d){var a=this,c=a.options,b=a._getTriggerEle();a._killtrigger();c.trigger=d;b.length>0&&a._initTrigger(b);if(c.mode==="flyout"){a._killFlyout();a._flyout()}},_initTrigger:function(b){var g=this.options,f=g.triggerEvent,c=this,d=c.domObject.menucontainer,e=".wijmenu";if(b.is("iframe"))b=a(b.get(0).contentWindow.document);switch(f){case"click":b.bind(f+e,function(a){g.mode!=="popup"&&c._displaySubmenu(a,b,d)});break;case"mouseenter":b.bind(f+e,function(a){c._displaySubmenu(a,b,d)});break;case"dblclick":b.bind(f+e,function(a){c._displaySubmenu(a,b,d)});break;case"rtclick":b.bind("contextmenu"+e,function(a){c._displaySubmenu(a,b,d);a.preventDefault()})}},_killtrigger:function(){var c=this.options,b;if(c.trigger!==""){b=a(c.trigger);b&&b.length>0&&b.unbind(".wijmenu")}},_move:function(h,g,d){var c=this.activeItem,e,f;if(!c){this.activate(d,this.rootMenu.children(g));return}e=a(c)[h+"All"]("."+b).eq(0);f=c.parent();if(e.length)this.activate(d,e);else this.activate(d,f.children(g))},refresh:function(){var c=this,g=c.element,d="wijmo-wijmenu",e=c.options,h,f,m,i,l,n=d+"-separator ui-state-default ui-corner-all",o="ui-widget-header ui-corner-all",j="ui-widget "+b+" ui-state-default ui-corner-all",k=d+"-link ui-corner-all";c.domObject&&c._destroy();if(g.is("ul")){c.rootMenu=g;h=g.wrap("<div></div>").parent();f=h.wrap("<div></div>").parent()}else if(g.is("div")){c.rootMenu=a("ul:first",g);h=g;f=g.wrap("<div></div>").parent()}h.addClass("scrollcontainer checkablesupport");f.addClass("ui-widget ui-widget-header "+d+" ui-corner-all ui-helper-clearfix").attr("aria-activedescendant","ui-active-menuitem");e.orientation==="horizontal"&&e.mode==="flyout"&&f.addClass(d+"-"+e.orientation);m={scrollcontainer:h,menucontainer:f};c.domObject=m;c.rootMenu.data("topmenu",true);!c.rootMenu.hasClass(d+"-list ui-helper-reset")&&c.rootMenu.addClass(d+"-list ui-helper-reset");a("li",c.rootMenu).each(function(i,h){var g=a(">ul:first",h).length>0,e=a(h),f,c=a(">:first",e);if(c.length===0)e.addClass(n);else{e.attr("role","menuitem");if(c.is("a")){c.bind("mouseenter.wijmenuitem",function(){a(this).addClass("ui-state-hover")}).bind("mouseleave.wijmenuitem",function(){a(this).removeClass("ui-state-hover")});if(!e.hasClass(b)){e.addClass(j);c.addClass(k);c.wrapInner("<span>").children("span").addClass(d+"-text");if(g){f=a("<span>").addClass("ui-icon ui-icon-triangle-1-e");c.append(f)}}}else if(c.is("h1,h2,h3,h4,h5"))e.addClass(o);else{e.addClass(j);c.addClass(k);if(g){f=a("<span>").addClass("ui-icon ui-icon-triangle-1-e");c.append(f)}}}});g.show();a("ul",c.rootMenu).each(function(){a(this).addClass(d+"-list ui-widget-content ui-corner-all ui-helper-clearfix "+d+"-child ui-helper-reset");a(this).hide()});this[e.mode==="flyout"?"_flyout":"_drilldown"]();if(e.trigger!==""){i=c._getTriggerEle();if(i.length>0){f.hide();c._initTrigger(i)}}a(document).bind("click.wijmenudoc",function(b){if(a(b.target).parent().is(".wijmo-wijmenu-all-lists"))return;var d=a(b.target).closest(".wijmo-wijmenu");if(d.length===0){if(e.mode==="sliding"){l=a(".wijmo-wijmenu-breadcrumb",f);if(e.trigger==="")return;c._resetDrilldownMenu(l)}else if(e.mode==="flyout"&&e.triggerEvent!=="mouseenter"){c._hideAllMenus();return}i&&i.length>0&&c._hideSubmenu(f)}})},_showFlyoutSubmenu:function(f,d,e){var c=this,b=c.currentMenuList,a;if(b!==undefined)for(a=b.length;a>0;a--)if(b[a-1].get(0)===d.parent().get(0))break;else c._hideSubmenu(b[a-1]);c._displaySubmenu(f,d.find(".wijmo-wijmenu-link:eq(0)"),e)},_getItemTriggerEvent:function(d){var e=this,b=e.options,c="default",f;if(b.trigger!=="")if(d.is(b.trigger)||e.element.is(b.trigger))c=b.triggerEvent;else{d.parents(".wijmo-wijmenu-parent").each(function(e,d){if(a(d).is(b.trigger)){c=b.triggerEvent;return false}});if(c==="default"){f=e._getTriggerEle();if(f.length>0)c=b.triggerEvent}}d.data("triggerEvent",c);return c},_flyout:function(){var b=this,f=b.domObject.menucontainer,d=b.options,c="wijmo-wijmenu-link",g="ui-icon-triangle-1-e",h="ui-icon-triangle-1-s",e="wijmo-wijmenu-parent";f.attr("role","menu");if(d.orientation==="horizontal"){f.attr("role","menubar");b.rootMenu.children("li:has(ul)").each(function(){a(this).children("."+c).find("."+g).removeClass(g).addClass(h)})}f.find("li:has(ul)").each(function(){var k=a(this).find("ul"),g=".wijmenu",f=a(this).attr("aria-haspopup",true),l,j,m=b._getItemTriggerEvent(f),i,h;f.children("ul").attr("role","menu").attr("aria-activedescendant","ui-active-menuitem");if(m!=="default"&&d.triggerEvent!=="mouseenter"){f.removeClass(e).addClass(e);i=a(this).find("."+c+":eq(0)");h=i.next();switch(d.triggerEvent){case"click":i.bind("click"+g,function(a){b._showFlyoutSubmenu(a,f,h)});break;case"dblclick":i.bind("dblclick"+g,function(a){b._showFlyoutSubmenu(a,f,h)});break;case"rtclick":i.bind("contextmenu"+g,function(a){b._showFlyoutSubmenu(a,f,h);a.preventDefault()})}h.data("notClose",true)}else{f.removeClass(e).addClass(e);a(this).find("."+c+":eq(0)").bind("mouseenter.wijmenu",function(e){clearTimeout(j);var c=a(this).next(),d=a(this);l=setTimeout(function(){b._displaySubmenu(e,d,c)},400)}).bind("mouseleave"+g,function(){clearTimeout(l);var c=a(this).next();if(!c.is("ul"))c=c.children("ul:first");j=setTimeout(function(){b._hideSubmenu(c)},400)});a(this).find("ul ."+c+",ul >.ui-widget-header,ul >.wijmo-wijmenu-separator").bind("mouseenter"+g,function(){clearTimeout(j)}).bind("mouseleave"+g,function(){j=setTimeout(function(){for(var c=k.length-1;c>=0;c--)b._hideSubmenu(a(k[c]))},500)})}});f.find("."+c).bind("click.wijmenu",function(g){if(a(this).is("a")){if(a(this).parent().find("ul").length===0)b._hideAllMenus();else if(!(d.trigger!==""&&a(this).parent().data("triggerEvent")!=="default"&&d.triggerEvent!=="mouseenter"))b._hideAllMenus();else{var e=b.currentMenuList,f,c;if(e!==undefined){f=a(this).parent();if(f.has("ul").length===0)for(c=e.length;c>0;c--)if(e[c-1].get(0)===f.parent().get(0))break;else b._hideSubmenu(e[c-1])}}b.activate(g,a(this).parent())}b.select(g)}).bind("focusin",function(c){a(this).is("a")&&b.activate(c,a(this).parent())})},_hideAllMenus:function(){var b=this,f,e,c,d,g=b.rootMenu;d=g.find("ul");for(c=d.length-1;c>=0;c--)b._hideSubmenu(a(d[c]));if(b.options.trigger!==""){f=b.domObject.menucontainer;if(f.is(":animated"))return;e=b._getTriggerEle();if(e.length===0)return;b._hideSubmenu(b.domObject.menucontainer)}},hideAllMenus:function(){this._hideAllMenus()},_killFlyout:function(){var b=this.domObject.menucontainer.attr("role","");b.find("li").each(function(){a(this).removeClass("wijmo-wijmenu-parent").unbind(".wijmenu").children(":first").unbind(".wijmenu").attr("aria-haspopup","")})},_killmenuItems:function(){var c=this.rootMenu;c.removeClass("wijmo-wijmenu-list ui-helper-reset wijmo-wijmenu-content ui-helper-clearfix");c.find("li").each(function(){var c=a(this),d;c.removeClass("ui-widget "+b+" ui-state-default ui-corner-all wijmo-wijmenu-parent ui-widget-header wijmo-wijmenu-separator");d=c.children(".wijmo-wijmenu-link");d.removeClass("wijmo-wijmenu-link ui-corner-all ui-state-focus ui-state-hover ui-state-active").html(d.children(".wijmo-wijmenu-text").html()).unbind(".wijmenu .wijmenuitem");c.children("ul").removeClass("wijmo-wijmenu-list ui-widget-content ui-corner-all ui-helper-clearfix wijmo-wijmenu-child ui-helper-reset").attr("role","").attr("aria-activedescendant","").show().css({left:"",top:"",position:""}).attr("hidden","")});this.domObject.menucontainer.removeClass("");a(document).unbind("click.wijmenudoc")},_sroll:function(){var a=this.domObject.scrollcontainer,b=this.options.superPanelOptions||{};a.height(this.options.maxHeight);a.wijsuperpanel(b)},_hasScroll:function(){var a=this.domObject.scrollcontainer;return a.data("wijsuperpanel").vNeedScrollBar},_resetDrillChildMenu:function(a){a.removeClass("wijmo-wijmenu-scroll wijmo-wijmenu-current").height("auto")},_checkDrillMenuHeight:function(b,d,a){var e=this,c=5;d.height(b.height());a.wijsuperpanel("option","hScroller",{scrollValue:0});a.wijsuperpanel("option","vScroller",{scrollValue:0});a.wijsuperpanel("paintPanel");if(e._hasScroll()){if(b.prev().length>0)c=b.prev().css("padding-left").replace(/px/g,"");b.width(a.find(".wijmo-wijsuperpanel-contentwrapper:first").width()-c)}},_resetDrilldownMenu:function(h){var b=this,e=b.options,c=b.rootMenu,d=b.domObject.menucontainer,f=a('<li class="wijmo-wijmenu-breadcrumb-text">'+e.crumbDefaultText+"</li>"),g=c.wrap("<div>").parent();a(".wijmo-wijmenu-current",d).removeClass("wijmo-wijmenu-current");c.animate({left:0},e.showDuration,function(){a(this).find("ul").each(function(){a(this).hide();b._resetDrillChildMenu(a(this))});c.addClass("wijmo-wijmenu-current")});a(".wijmo-wijmenu-all-lists",d).find("span").remove();h.empty().append(f);a(".wijmo-wijmenu-footer",d).empty().hide();b._checkDrillMenuHeight(c,g,b.domObject.scrollcontainer)},_drilldown:function(){var b=this,c=b.rootMenu,h=c.wrap("<div>").parent().css("position","relative"),d=b.domObject.menucontainer.attr("role","menu"),g=b.domObject.scrollcontainer,e=b.options,i,f=a('<ul class="wijmo-wijmenu-breadcrumb ui-state-default ui-corner-all ui-helper-clearfix"></ul>'),l=a('<li class="wijmo-wijmenu-breadcrumb-text">'+e.crumbDefaultText+"</li>"),o=e.backLink?e.backLinkText:e.topLinkText,m=e.backLink?"wijmo-wijmenu-prev-list":"wijmo-wijmenu-all-lists",k=e.backLink?"ui-state-default ui-corner-all":"",n=e.backLink?'<span class="ui-icon ui-icon-triangle-1-w"></span>':"",j=a('<li class="'+m+'"><a href="#" class="'+k+'">'+n+o+"</a></li>");d.addClass("wijmo-wijmenu-ipod wijmo-wijmenu-container");if(e.backLink)f.addClass("wijmo-wijmenu-footer").appendTo(d).hide();else f.addClass("wijmo-wijmenu-header").prependTo(d);!e.backLink&&f.append(l);c.addClass("wijmo-wijmenu-content wijmo-wijmenu-current ui-widget-content ui-helper-clearfix").css({width:d.width()}).find("ul").css({width:d.width(),left:d.width()}).attr("role","menu").attr("aria-activedescendant","ui-active-menuitem").addClass("ui-widget-content");h.height(b.rootMenu.height());b._sroll();if(b._hasScroll()){i=5;if(c.children(":first").children(":first").length>0)i=c.children(":first").children(":first").css("padding-left").replace(/px/g,"");c.width(g.find(".wijmo-wijsuperpanel-contentwrapper:first").width()-i)}b.element.data("firstLeftValue",parseFloat(c.css("left")));a("li>.wijmo-wijmenu-link",c).each(function(){if(a(this).next().is("ul"))a(this).click(function(r){var o=a(this).next(),p=a(this).parents("ul:eq(0)"),m=p.data("topmenu")?0:parseFloat(c.css("left")),n,k,q=Math.round(m-parseFloat(d.width())),i=a(".wijmo-wijmenu-footer",d),l=function(f){var j=f,e=a(".wijmo-wijmenu-current",d),c;if(e.get(0)===b.rootMenu.get(0))return;c=e.parents("ul:eq(0)");e.hide().attr("aria-expanded","false");b._resetDrillChildMenu(e);b._checkDrillMenuHeight(c,h,g);c.addClass("wijmo-wijmenu-current").attr("aria-expanded","true");if(c.hasClass("wijmo-wijmenu-content")){j.remove();i.hide()}};b._resetDrillChildMenu(p);b._checkDrillMenuHeight(o,h,g);b._slidingAnimation(c,q,null);o.show().addClass("wijmo-wijmenu-current").attr("aria-expanded","true");if(e.backLink){if(i.find("a").size()===0){i.show();a('<a href="#"><span class="ui-icon ui-icon-triangle-1-w"></span> <span>'+e.backLinkText+"</span></a>").appendTo(i).click(function(){var f=a(this),e;c.stop(true,true);e=parseInt(c.css("left"),10)+parseInt(d.width(),10);if(e>m)return;b._slidingAnimation(c,e,function(){l(f)})})}}else{if(f.find("li").size()===1){f.empty().append(j);j.find("a").click(function(){b._resetDrilldownMenu(f)})}a(".wijmo-wijmenu-current-crumb",d).removeClass("wijmo-wijmenu-current-crumb");n=a(this).find("span:eq(0)").text();k=a('<li class="wijmo-wijmenu-current-crumb"><a href="#" class="wijmo-wijmenu-crumb">'+n+"</a></li>");k.appendTo(f).find("a").click(function(){if(!a(this).parent().is(".wijmo-wijmenu-current-crumb")){var d=-(a(".wijmo-wijmenu-current").parents("ul").size()-1)*180;b._slidingAnimation(c,d,function(){l()});a(this).parent().addClass("wijmo-wijmenu-current-crumb").find("span").remove();a(this).parent().nextAll().remove()}});k.prev().append(' <span class="ui-icon ui-icon-carat-1-e"></span>')}a(this).attr("href")==="#"&&r.preventDefault()});else a(this).click(function(c){b.activate(c,a(this).parent());b.select(c);if(e.trigger){var g=b._getTriggerEle();if(g.length){b._hideSubmenu(d);b._resetDrilldownMenu(f)}}a(this).attr("href")==="#"&&c.preventDefault()})})},_slidingAnimation:function(d,c,b){var a=this.options.slidingAnimation;if(a&&!a.disabled)d.stop(true,true).animate({left:c},a.duration,a.easing,b);else{d.css("left",c);b.call(this)}},_killDrilldown:function(){var c=this.rootMenu,b=this.domObject,e={width:"",height:""},d;c.css(e).removeClass("ui-widget-content");b.scrollcontainer.css(e);d=a(".wijmo-wijsuperpanel-statecontainer",b.scrollcontainer);b.scrollcontainer.append(c);d.remove();b.menucontainer.removeClass("wijmo-wijmenu-ipod wijmo-wijmenu-container");a(".wijmo-wijmenu-current",b.menucontainer).removeClass("wijmo-wijmenu-current");a(".wijmo-wijmenu-breadcrumb",b.menucontainer).remove();c.find("li").each(function(){var b=a(this).children(":first");b.unbind("click")});a("ul",c).css({left:"",width:""});c.css("left","")},_getItemByValue:function(c){var b=this.rootMenu.find("a.wijmo-wijmenu-link").filter(function(){return a(this).text()===c});return b.length>0?b.eq(0).parent():null},_displaySubmenu:function(j,f,b){var c=this,d=c.options,g,e,h,i=a.wijmo.wijmenu.animations;f.is("a.wijmo-wijmenu-link")&&f.addClass("ui-state-active");b.show();c._setPosition(f,b);c.nowIndex++;c._setZindex(b,c.nowIndex);b.hide();c._trigger("showing",j,b);if(a.fn.wijshow){g={context:b,show:true};e="left";if(d.orientation==="horizontal")if(b.parent().closest("ul").get(0)===this.rootMenu.get(0))e="up";h=a.extend({},{option:{direction:e}},d.animation,d.showAnimation);b.wijshow(h,i,g,null,function(){var c=a.browser;if(c.msie&&c.version==="9.0"){b.wrap("<div></div>");b.unwrap()}else c.msie&&c.version==="6.0"&&b.css("overflow","");b.attr("aria-hidden",false)})}else b.show().attr("aria-hidden",false);c._isClickToOpen=d.triggerEvent==="click";if(!b.is(".wijmo-wijmenu")){if(c.currentMenuList===undefined)c.currentMenuList=[];c.currentMenuList.push(b)}},_hideCurrentSubmenu:function(b){var c=this;b.find("ul").each(function(){!a(this).data("notClose")&&c._hideSubmenu(a(this))})},_hideSubmenu:function(b){var d=this,g=d.options,h=a.wijmo.wijmenu.animations,e,c,f;b.prev().is(".wijmo-wijmenu-link")&&b.prev().removeClass("ui-state-active");if(a.fn.wijhide){e={context:b,show:false};f=a.extend({},g.animation,g.hideAnimation);b.wijhide(f,h,e,null,function(){d._setZindex(b);b.attr("aria-hidden",true)})}else{b.hide().attr("aria-hidden",true);d._setZindex(b)}this.element.data("shown",false);c=this.currentMenuList;if(c){c=a.map(c,function(a){return a&&a.get(0)===b.get(0)?null:a});this.currentMenuList=a.makeArray(c)}},_setZindex:function(c,e){var f=this.rootMenu,d=this.domObject,b;if(!d)return;b=d.menucontainer;if(c.get(0)===b.get(0))return;if(e){c.parent().css("z-index",10);c.css("z-index",e);b.css("z-index")===0&&b.css("z-index",9950)}else{c.css("z-index","");c.parent().css("z-index","");a.browser.msie&&a.browser.version<8&&a("ul:visible",f).length===0&&b.css("z-index","")}},_setPosition:function(c,b){b.css({left:"0",top:"0",position:"absolute"});var d=this._getPosition(c),e={of:c};b.position(a.extend(e,d))},_getPosition:function(c){var d=this.options,b={my:"left top",at:"right top"};if(d.orientation==="horizontal")if(c.closest("ul").get(0)===this.rootMenu.get(0))b={my:"left top",at:"left bottom"};if(!c.is(".wijmo-wijmenu-link"))b={my:"left top",at:"left bottom"};b=a.extend(b,d.position);return b}});a.extend(a.wijmo.wijmenu,{animations:{slide:function(b,c){b=a.extend({duration:400,easing:"swing"},b,c);if(b.show)b.context.stop(true,true).animate({height:"show"},b).attr("aria-hidden",false);else b.context.stop(true,true).animate({height:"hide"},b).attr("aria-hidden",true)}}})})(jQuery);
-(function(a){"use strict";var e=0,d=0;function c(){return++e}function b(){return++d}a.widget("wijmo.wijtabs",{options:{alignment:"top",sortable:false,scrollable:false,ajaxOptions:null,cache:false,cookie:null,collapsible:false,hideOption:null,showOption:null,disabled:[],event:"click",idPrefix:"ui-tabs-",panelTemplate:"<div></div>",spinner:"<em>Loading&#8230;</em>",tabTemplate:'<li><a href="#{href}"><span>#{label}</span></a></li>',add:null,remove:null,select:null,show:null,load:null,disable:null,enable:null},_create:function(){this._tabify(true)},_setOption:function(c,b){a.Widget.prototype._setOption.apply(this,arguments);switch(c){case"selected":if(this.options.collapsible&&b==this.options.selected)return;this.select(b);break;case"alignment":this.destroy();this._tabify(true);break;default:this._tabify()}},_initScroller:function(){var c=a.inArray(this._getAlignment(),["top","bottom"])!=-1;if(!c)return;var b=0;this.lis.each(function(){b+=a(this).outerWidth(true)});if(!!this.options.scrollable&&this.element.innerWidth()<b){if(this.scrollWrap===undefined){this.list.wrap("<div class='scrollWrap'></div>");this.scrollWrap=this.list.parent();a.effects.save(this.list,["width","height","overflow"])}this.list.width(b+2);this.scrollWrap.height(this.list.outerHeight(true));this.scrollWrap.wijsuperpanel({allowResize:false,hScroller:{scrollMode:"edge"},vScroller:{scrollBarVisibility:"hidden"}})}else this._removeScroller()},_removeScroller:function(){if(this.scrollWrap){this.scrollWrap.wijsuperpanel("destroy").replaceWith(this.scrollWrap.contents());this.scrollWrap=undefined;a.effects.restore(this.list,["width","height","overflow"])}},_tabId:function(a){return a.title&&a.title.replace(/\s/g,"_").replace(/[^A-Za-z0-9\-_:\.]/g,"")||this.options.idPrefix+c()},_sanitizeSelector:function(a){return a.replace(/:/g,"\\:")},_cookie:function(){var c=this.cookie||(this.cookie=this.options.cookie.name||"ui-tabs-"+b());return a.cookie.apply(null,[c].concat(a.makeArray(arguments)))},_ui:function(a,b){return{tab:a,panel:b,index:this.anchors.index(a)}},_cleanup:function(){this.lis.filter(".ui-state-processing").removeClass("ui-state-processing").find("span:data(label.tabs)").each(function(){var b=a(this);b.html(b.data("label.tabs")).removeData("label.tabs")})},_getAlignment:function(b){b=b===undefined?true:b;var a=this.options.alignment||"top";if(b)return a;switch(a){case"top":a="bottom";break;case"bottom":a="top";break;case"left":a="right";break;case"right":a="left"}return a},_saveLayout:function(){var b=["width","height","overflow"];a.effects.save(this.element,b);a.effects.save(this.list,b);a.effects.save(this.element.find(".wijmo-wijtabs-content"),b);this.list.width(this.list.width());$hide=this.panels.filter(":not(.ui-tabs-hide)");this.element.data("panel.width",$hide.width());this.element.data("panel.outerWidth",$hide.outerWidth(true))},_restoreLayout:function(){var b=["width","height","overflow"];a.effects.restore(this.element,b);a.effects.restore(this.list,b);a.effects.restore(this.element.find(".wijmo-wijtabs-content"),b)},_hideContent:function(){var a=this.element.find(".wijmo-wijtabs-content");if(a.length){this._saveLayout();a.addClass("ui-tabs-hide").attr("aria-hidden",true);this.element.width(this.list.outerWidth(true))}},_showContent:function(){var a=this.element.find(".wijmo-wijtabs-content");if(a.length){this._restoreLayout();a.removeClass("ui-tabs-hide").attr("aria-hidden",false)}},_blindPanel:function(b,c){var i=this.options,h=b.parent(".wijmo-wijtabs-content");if(!h.length)return;this.list.width(this.list.width());var j=["position","top","left","width"];a.effects.save(b,j);b.show();if(c=="show"){b.removeClass("ui-tabs-hide").attr("aria-hidden",false);b.width(this.element.data("panel.width"))}else b.width(b.width());var e=c=="show"?i.showOption:i.hideOption,f=a.effects.createWrapper(b).css({overflow:"hidden"});c=="show"&&f.css(a.extend({width:0},e.fade?{opacity:0}:{}));var k=a.extend({width:c=="show"?this.element.data("panel.outerWidth"):0},e.fade?{opacity:c=="show"?1:0}:{}),d=this,g=this.list.outerWidth(true);f.animate(k,{duration:e.duration,step:function(){var a=f.outerWidth(true);d.element.width(g+a);h.width(Math.max(0,d.element.innerWidth()-g-6))},complete:function(){if(c=="hide"){d.lis.removeClass("ui-tabs-selected ui-state-active").attr("aria-selected",false);b.addClass("ui-tabs-hide").attr("aria-hidden",true)}else b.css("width","");a.effects.removeWrapper(b);c=="show"&&d._restoreLayout();d._resetStyle(b);b.dequeue();d.element.dequeue("tabs")}})},_resetStyle:function(b){b.css({display:""});!a.support.opacity&&b[0].style.removeAttribute("filter")},_normalizeBlindOption:function(a){if(a.blind===undefined)a.blind=false;if(a.fade===undefined)a.fade=false;if(a.duration===undefined)a.duration=200;if(typeof a.duration=="string")try{a.duration=parseInt(a.duration,10)}catch(b){a.duration=200}},_tabify:function(n){this.list=this.element.find("ol,ul").eq(0);this.lis=a("li:has(a[href])",this.list);this.anchors=this.lis.map(function(){return a("a",this)[0]});this.panels=a([]);var c=this,b=this.options,m=/^#.+/;this.anchors.each(function(j,e){var d=a(e).attr("href"),g=d.split("#")[0],i;if(g&&(g===location.toString().split("#")[0]||(i=a("base")[0])&&g===i.href)){d=e.hash;e.href=d}if(m.test(d))c.panels=c.panels.add(c._sanitizeSelector(d));else if(d!="#"){a.data(e,"href.tabs",d);a.data(e,"load.tabs",d.replace(/#.*$/,""));var h=c._tabId(e);e.href="#"+h;var f=a("#"+h);if(!f.length){f=a(b.panelTemplate).attr("id",h).addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").insertAfter(c.panels[j-1]||c.list);f.data("destroy.tabs",true)}c.panels=c.panels.add(f)}else b.disabled.push(j)});var d=this._getAlignment(),l=this._getAlignment(false);if(n){this.list.attr("role","tablist");this.lis.attr("role","tab");this.panels.attr("role","tabpanel");this.element.addClass("ui-tabs wijmo-wijtabs ui-tabs-"+d+" ui-widget ui-widget-content ui-corner-all ui-helper-clearfix");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-"+d);this.panels.addClass("ui-tabs-panel ui-widget-content ui-corner-"+l);var f;switch(d){case"bottom":this.list.appendTo(this.element);break;case"left":f=a("<div/>").addClass("wijmo-wijtabs-content").appendTo(this.element);this.panels.appendTo(f);break;case"right":f=a("<div/>").addClass("wijmo-wijtabs-content").insertBefore(this.list);this.panels.appendTo(f);break;case"top":this.list.prependTo(this.element)}if(b.selected===undefined){location.hash&&this.anchors.each(function(c,a){if(a.hash==location.hash){b.selected=c;return false}});if(typeof b.selected!="number"&&b.cookie)b.selected=parseInt(c._cookie(),10);if(typeof b.selected!="number"&&this.lis.filter(".ui-tabs-selected").length)b.selected=this.lis.index(this.lis.filter(".ui-tabs-selected"));b.selected=b.selected||(this.lis.length?0:-1)}else if(b.selected===null)b.selected=-1;b.selected=b.selected>=0&&this.anchors[b.selected]||b.selected<0?b.selected:0;b.disabled=a.unique(b.disabled.concat(a.map(this.lis.filter(".ui-state-disabled"),function(a){return c.lis.index(a)}))).sort();a.inArray(b.selected,b.disabled)!=-1&&b.disabled.splice(a.inArray(b.selected,b.disabled),1);this.panels.addClass("ui-tabs-hide").attr("aria-hidden",true);this.lis.removeClass("ui-tabs-selected ui-state-active").attr("aria-selected",false);if(b.selected>=0&&this.anchors.length){this.panels.eq(b.selected).removeClass("ui-tabs-hide").attr("aria-hidden",false);this.lis.eq(b.selected).addClass("ui-tabs-selected ui-state-active").attr("aria-selected",true);c.element.queue("tabs",function(){c._trigger("show",null,c._ui(c.anchors[b.selected],c.panels[b.selected]))});this.load(b.selected)}a(window).bind("unload",function(){c.lis&&c.lis.add(c.anchors).unbind(".tabs");c.lis=c.anchors=c.panels=null})}else b.selected=this.lis.index(this.lis.filter(".ui-tabs-selected"));this.element[b.collapsible?"addClass":"removeClass"]("ui-tabs-collapsible");b.cookie&&this._cookie(b.selected,b.cookie);for(var g=0,e;e=this.lis[g];g++){a(e)[a.inArray(g,b.disabled)!=-1&&!a(e).hasClass("ui-tabs-selected")?"addClass":"removeClass"]("ui-state-disabled");a(e).hasClass("ui-state-disabled")&&a(e).attr("aria-disabled",true)}b.cache===false&&this.anchors.removeData("cache.tabs");this.lis.add(this.anchors).unbind(".tabs");if(b.event!="mouseover"){var i=function(b,a){a.is(":not(.ui-state-disabled)")&&a.addClass("ui-state-"+b)},h=function(a,b){b.removeClass("ui-state-"+a)};this.lis.bind("mouseover.tabs",function(){i("hover",a(this))});this.lis.bind("mouseout.tabs",function(){h("hover",a(this))});this.anchors.bind("focus.tabs",function(){i("focus",a(this).closest("li"))});this.anchors.bind("blur.tabs",function(){h("focus",a(this).closest("li"))})}if(b.showOption===undefined||b.showOption===null)b.showOption={};this._normalizeBlindOption(b.showOption);if(b.hideOption===undefined||b.hideOption===null)b.hideOption={};this._normalizeBlindOption(b.hideOption);var k=(b.showOption.blind||b.showOption.fade)&&b.showOption.duration>0?function(g,e){a(g).closest("li").addClass("ui-tabs-selected ui-state-active").attr("aria-selected",true);c._showContent();e.removeClass("ui-tabs-hide").attr("aria-hidden",false);if(d=="top"||d=="bottom"){var f={duration:b.showOption.duration};if(b.showOption.blind)f.height="toggle";if(b.showOption.fade)f.opacity="toggle";e.hide().removeClass("ui-tabs-hide").attr("aria-hidden",false).animate(f,b.showOption.duration||"normal",function(){c._resetStyle(e);c._trigger("show",null,c._ui(g,e[0]))})}else{c._showContent();c._blindPanel(e,"show")}}:function(b,d){a(b).closest("li").addClass("ui-tabs-selected ui-state-active").attr("aria-selected",true);c._showContent();d.removeClass("ui-tabs-hide").attr("aria-hidden",false);c._trigger("show",null,c._ui(b,d[0]))},j=(b.hideOption.blind||b.hideOption.fade)&&b.hideOption.duration>0?function(f,a){if(d=="top"||d=="bottom"){var e={duration:b.hideOption.duration};if(b.hideOption.blind)e.height="toggle";if(b.hideOption.fade)e.opacity="toggle";a.animate(e,b.hideOption.duration||"normal",function(){c.lis.removeClass("ui-tabs-selected ui-state-active").attr("aria-selected",false);a.addClass("ui-tabs-hide").attr("aria-hidden",true);c._resetStyle(a);c.element.dequeue("tabs")})}else{c._saveLayout();c._blindPanel(a,"hide")}}:function(b,a){c.lis.removeClass("ui-tabs-selected ui-state-active").attr("aria-selected",false);c._hideContent();a.addClass("ui-tabs-hide").attr("aria-hidden",true);c.element.dequeue("tabs")};this.anchors.bind(b.event+".tabs",function(){var g=this,f=a(this).closest("li"),d=c.panels.filter(":not(.ui-tabs-hide)"),e=a(c._sanitizeSelector(this.hash));if(f.hasClass("ui-tabs-selected")&&!b.collapsible||f.hasClass("ui-state-disabled")||f.hasClass("ui-state-processing")||c._trigger("select",null,c._ui(this,e[0]))===false){this.blur();return false}b.selected=c.anchors.index(this);c.abort();if(b.collapsible)if(f.hasClass("ui-tabs-selected")){b.selected=-1;b.cookie&&c._cookie(b.selected,b.cookie);c.element.queue("tabs",function(){j(g,d)}).dequeue("tabs");this.blur();return false}else if(!d.length){b.cookie&&c._cookie(b.selected,b.cookie);c.element.queue("tabs",function(){k(g,e)});c.load(c.anchors.index(this));this.blur();return false}b.cookie&&c._cookie(b.selected,b.cookie);if(e.length){d.length&&c.element.queue("tabs",function(){j(g,d)});c.element.queue("tabs",function(){k(g,e)});c.load(c.anchors.index(this))}else throw"jQuery UI Tabs: Mismatching fragment identifier.";a.browser.msie&&this.blur()});this._initScroller();this.anchors.bind("click.tabs",function(){return false})},destroy:function(){var c=this.options;this.abort();this._removeScroller();this.element.unbind(".tabs").removeClass(["wijmo-wijtabs","ui-tabs-top","ui-tabs-bottom","ui-tabs-left","ui-tabs-right","ui-tabs","ui-widget","ui-widget-content","ui-corner-all","ui-tabs-collapsible","ui-helper-clearfix"].join(" ")).removeData("tabs").removeAttr("role");this.list.removeClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all").removeAttr("role");this.anchors.each(function(){var b=a.data(this,"href.tabs");if(b)this.href=b;var c=a(this).unbind(".tabs");a.each(["href","load","cache"],function(b,a){c.removeData(a+".tabs")})});this.lis.unbind(".tabs").add(this.panels).each(function(){if(a.data(this,"destroy.tabs"))a(this).remove();else a(this).removeClass(["ui-state-default","ui-corner-top","ui-corner-bottom","ui-corner-left","ui-corner-right","ui-tabs-selected","ui-state-active","ui-state-hover","ui-state-focus","ui-state-disabled","ui-tabs-panel","ui-widget-content","ui-tabs-hide"].join(" ")).css({position:"",left:"",top:""}).removeAttr("role").removeAttr("aria-hidden").removeAttr("aria-selected").removeAttr("aria-disabled")});var b=a(".wijmo-wijtabs-content");b.length&&b.replaceWith(b.contents());c.cookie&&this._cookie(null,c.cookie);return this},add:function(g,k,b){if(b===undefined)b=this.anchors.length;var f=this,e=this.options,d=a(e.tabTemplate.replace(/#\{href\}/g,g).replace(/#\{label\}/g,k)),h=!g.indexOf("#")?g.replace("#",""):this._tabId(a("a",d)[0]),j=this._getAlignment(),i=this._getAlignment(false);d.addClass("ui-state-default ui-corner-"+j).data("destroy.tabs",true).attr("role","tab").attr("aria-selected",false);var c=a("#"+h);if(!c.length)c=a(e.panelTemplate).attr("id",h).data("destroy.tabs",true).attr("role","tabpanel");c.addClass("ui-tabs-panel ui-widget-content ui-corner-"+i+" ui-tabs-hide").attr("aria-hidden",true);if(b>=this.lis.length){d.appendTo(this.list);if(this.panels.length>0)c.insertAfter(this.panels[this.panels.length-1]);else c.appendTo(this.list[0].parentNode)}else{d.insertBefore(this.lis[b]);c.insertBefore(this.panels[b])}e.disabled=a.map(e.disabled,function(a){return a>=b?++a:a});this._tabify();if(this.anchors.length==1){e.selected=0;d.addClass("ui-tabs-selected ui-state-active").attr("aria-selected",true);c.removeClass("ui-tabs-hide").attr("aria-hidden",false);this.element.queue("tabs",function(){f._trigger("show",null,f._ui(f.anchors[0],f.panels[0]))});this.load(0)}this._trigger("add",null,this._ui(this.anchors[b],this.panels[b]));return this},remove:function(b){var d=this.options,c=this.lis.eq(b).remove(),e=this.panels.eq(b).remove();c.hasClass("ui-tabs-selected")&&this.anchors.length>1&&this.select(b+(b+1<this.anchors.length?1:-1));d.disabled=a.map(a.grep(d.disabled,function(a){return a!=b}),function(a){return a>=b?--a:a});this._tabify();this._trigger("remove",null,this._ui(c.find("a")[0],e[0]));return this},enable:function(b){var c=this.options;if(a.inArray(b,c.disabled)==-1)return;this.lis.eq(b).removeClass("ui-state-disabled").removeAttr("aria-disabled");c.disabled=a.grep(c.disabled,function(a){return a!=b});this._trigger("enable",null,this._ui(this.anchors[b],this.panels[b]));return this},disable:function(a){var c=this,b=this.options;if(a!=b.selected){this.lis.eq(a).addClass("ui-state-disabled").attr("aria-disabled",true);b.disabled.push(a);b.disabled.sort();this._trigger("disable",null,this._ui(this.anchors[a],this.panels[a]))}return this},select:function(a){if(typeof a=="string")a=this.anchors.index(this.anchors.filter("[href$="+a+"]"));else if(a===null)a=-1;if(a==-1&&this.options.collapsible)a=this.options.selected;this.anchors.eq(a).trigger(this.options.event+".tabs");return this},load:function(c){var b=this,e=this.options,d=this.anchors.eq(c)[0],g=a.data(d,"load.tabs");this.abort();if(!g||this.element.queue("tabs").length!==0&&a.data(d,"cache.tabs")){this.element.dequeue("tabs");return}this.lis.eq(c).addClass("ui-state-processing");if(e.spinner){var f=a("span",d);f.data("label.tabs",f.html()).html(e.spinner)}this.xhr=a.ajax(a.extend({},e.ajaxOptions,{url:g,success:function(f,g){a(b._sanitizeSelector(d.hash)).html(f);b._cleanup();e.cache&&a.data(d,"cache.tabs",true);b._trigger("load",null,b._ui(b.anchors[c],b.panels[c]));try{e.ajaxOptions.success(f,g)}catch(h){}},error:function(a,f){b._cleanup();b._trigger("load",null,b._ui(b.anchors[c],b.panels[c]));try{e.ajaxOptions.error(a,f,c,d)}catch(g){}}}));b.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(a,b){this.anchors.eq(a).removeData("cache.tabs").data("load.tabs",b);return this},length:function(){return this.anchors.length}})})(jQuery);