From 7dae1838b9efc42a08c8720b7cd84dbd53da2032 Mon Sep 17 00:00:00 2001 From: Mark MacKay Date: Tue, 12 Jun 2012 20:26:24 -0500 Subject: [PATCH] finished color tools --- editor/jgraduate/css/jPicker.css | 272 ++- editor/jgraduate/css/jgraduate.css | 293 ++- editor/jgraduate/images/rangearrows2.gif | Bin 93 -> 140 bytes editor/jgraduate/jpicker.min.js | 2088 +++++++++++++++++++++- editor/jgraduate/jquery.jgraduate.js | 2 +- editor/jgraduate/jquery.jgraduate.min.js | 2 +- editor/svg-editor.css | 69 +- editor/svg-editor.html | 2 + editor/svg-editor.js | 30 +- 9 files changed, 2560 insertions(+), 198 deletions(-) diff --git a/editor/jgraduate/css/jPicker.css b/editor/jgraduate/css/jPicker.css index 693ca73..b2fa417 100644 --- a/editor/jgraduate/css/jPicker.css +++ b/editor/jgraduate/css/jPicker.css @@ -1,26 +1,252 @@ -.jPicker .Icon{display:inline-block;height:24px;position:relative;text-align:left;width:25px}.jPicker .Icon span.Color,.jPicker .Icon span.Alpha{background-position:2px 2px;display:block;height:100%;left:0;position:absolute;top:0;width:100%}.jPicker .Icon span.Image{background-repeat:no-repeat;cursor:pointer;display:block;height:100%;left:0;position:absolute;top:0;width:100%}.jPicker.Container{z-index:10} - -table.jPicker{width:545px; z-index:20;} -.jPicker .Move{background-color:#ddd;border-color:#fff #666 #666 #fff;border-style:solid;border-width:1px;cursor:move;height:12px;padding:0} -.jPicker .Title{display: none;} -.jPicker div.Map{ - border: solid #000 1px; - cursor:crosshair; - height:260px; - margin:0; - overflow:hidden; - padding:0; - position:relative; - width:260px; -}.jPicker div[class="Map"]{height:256px;width:256px} -.jPicker div.Bar{border: solid #000 1px; cursor:n-resize;height:260px;margin:0 20px 0 0;overflow:hidden;padding:0;position:relative;width:24px}.jPicker div[class="Bar"]{height:256px;width:20px}.jPicker .Map .Map1,.jPicker .Map .Map2,.jPicker .Map .Map3,.jPicker .Bar .Map1,.jPicker .Bar .Map2,.jPicker .Bar .Map3,.jPicker .Bar .Map4,.jPicker .Bar .Map5,.jPicker .Bar .Map6{background-color:transparent;background-image:none;display:block;left:0;position:absolute;top:0}.jPicker .Map .Map1,.jPicker .Map .Map2,.jPicker .Map .Map3{height:2596px;width:256px}.jPicker .Bar .Map1,.jPicker .Bar .Map2,.jPicker .Bar .Map3,.jPicker .Bar .Map4{height:3896px;width:20px}.jPicker .Bar .Map5,.jPicker .Bar .Map6{height:256px;width:20px}.jPicker .Map .Map1,.jPicker .Map .Map2,.jPicker .Bar .Map6{background-repeat:no-repeat}.jPicker .Map .Map3,.jPicker .Bar .Map5{background-repeat:repeat}.jPicker .Bar .Map1,.jPicker .Bar .Map2,.jPicker .Bar .Map3,.jPicker .Bar .Map4{background-repeat:repeat-x}.jPicker .Map .Arrow{display:block;position:absolute}.jPicker .Bar .Arrow{display:block;left:0;position:absolute}.jPicker .Preview{font-size:9px;text-align:center} -.jPicker .Preview div.bgt {height:62px;margin:0 auto;padding:0;width:62px;} - -.jPicker .Preview div span{border:1px solid #000;display:block;height:30px;margin:0 auto;padding:0;width:60px}.jPicker .Preview .Active{border-bottom-width:0}.jPicker .Preview .Current{border-top-width:0;cursor:pointer}.jPicker .Button{text-align:center;width:115px}.jPicker .Button input{width:100px}.jPicker .Button .Ok{margin:12px 0 5px 0}.jPicker td.Radio{margin:0;padding:0;width:31px}.jPicker td.Radio input{margin:0 5px 0 0;padding:0}.jPicker td.Text{font-size:12px!important;height:22px;margin:0;padding:0;text-align:left;width:70px}.jPicker tr.Hex td.Text{width:100px}.jPicker td.Text input{background-color:#fff;border:1px inset #aaa;height:19px;margin:0 0 0 5px;text-align:left;width:30px}.jPicker td[class="Text"] input{height:15px}.jPicker tr.Hex td.Text input.Hex{width:50px}.jPicker tr.Hex td.Text input.AHex{width:20px}.jPicker .Grid{text-align:center;width:114px}.jPicker .Grid span.QuickColor{border:1px inset #aaa;cursor:pointer;display:inline-block;height:15px;line-height:15px;margin:0;padding:0;width:19px}.jPicker .Grid span[class="QuickColor"]{width:17px} -.jPicker td { - vertical-align: top; +#svg_editor .jPicker .Icon { + display: inline-block; + height: 24px; + position: relative; + text-align: left; + width: 25px; +} +#svg_editor .jPicker .Icon span.Color, #svg_editor .jPicker .Icon span.Alpha { + background-position: 2px 2px; + display: block; + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%} +#svg_editor .jPicker .Icon span.Image { + background-repeat: no-repeat; + cursor: pointer; + display: block; + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%} +#svg_editor .jPicker.Container { + z-index: 10; } -.jPicker .prev_div { - margin-top: -15px; +table#svg_editor .jPicker { + width: 545px; + z-index: 20; +} + +#svg_editor .jPicker .Move { + background-color: #ddd; + border-color: #fff #666 #666 #fff; + border-style: solid; + border-width: 1px; + cursor: move; + height: 12px; + padding: 0; +} +#svg_editor .jPicker .Title { + display: none; +} + +#svg_editor .jPicker div.Map { + + border: solid #000 1px; + + cursor: crosshair; + + height: 260px; + + margin: 0; + + overflow: hidden; + + padding: 0; + + position: relative; + + width: 260px; + +} +#svg_editor .jPicker div[class="Map"] { + height: 256px; + width: 256px; +} +#svg_editor .jPicker div.Bar { + border: solid #000 1px; + cursor: n-resize; + height: 260px; + margin: 0 15px; + overflow: hidden; + padding: 0; + position: relative; + width: 24px; +} +#svg_editor .jPicker div[class="Bar"] { + height: 256px; + width: 20px; +} +#svg_editor .jPicker .Map .Map1, #svg_editor .jPicker .Map .Map2, #svg_editor .jPicker .Map .Map3, #svg_editor .jPicker .Bar .Map1, #svg_editor .jPicker .Bar .Map2, #svg_editor .jPicker .Bar .Map3, #svg_editor .jPicker .Bar .Map4, #svg_editor .jPicker .Bar .Map5, #svg_editor .jPicker .Bar .Map6 { + background-color: transparent; + background-image: none; + display: block; + left: 0; + position: absolute; + top: 0; +} +#svg_editor .jPicker .Map .Map1, #svg_editor .jPicker .Map .Map2, #svg_editor .jPicker .Map .Map3 { + height: 2596px; + width: 256px; +} +#svg_editor .jPicker .Bar .Map1, #svg_editor .jPicker .Bar .Map2, #svg_editor .jPicker .Bar .Map3, #svg_editor .jPicker .Bar .Map4 { + height: 3896px; + width: 20px; +} +#svg_editor .jPicker .Bar .Map5, #svg_editor .jPicker .Bar .Map6 { + height: 256px; + width: 20px; +} +#svg_editor .jPicker .Map .Map1, #svg_editor .jPicker .Map .Map2, #svg_editor .jPicker .Bar .Map6 { + background-repeat: no-repeat; +} +#svg_editor .jPicker .Map .Map3, #svg_editor .jPicker .Bar .Map5 { + background-repeat: repeat; +} +#svg_editor .jPicker .Bar .Map1, #svg_editor .jPicker .Bar .Map2, #svg_editor .jPicker .Bar .Map3, #svg_editor .jPicker .Bar .Map4 { + background-repeat: repeat-x; +} +#svg_editor .jPicker .Map .Arrow { + display: block; + position: absolute; +} +#svg_editor .jPicker .Bar .Arrow { + display: block; + left: 0; + position: absolute; +} +#svg_editor .jPicker .Preview { + font-size: 9px; + text-align: center; +} +#svg_editor .jPicker .Preview div.bgt { + height: 62px; + margin: 0 auto; + padding: 0; + width: 62px; +} + + +#svg_editor .jPicker .Preview div span { + border: 1px solid #000; + display: block; + height: 30px; + margin: 0 auto; + padding: 0; + width: 60px; +} +#svg_editor .jPicker .Preview .Active { + border-bottom-width: 0; +} +#svg_editor .jPicker .Preview .Current { + border-top-width: 0; + cursor: pointer; +} +#svg_editor .jPicker .Button { + text-align: center; + width: 115px; +} +#svg_editor .jPicker .Button input { + width: 100px; +} +#svg_editor .jPicker .Button .Ok { + margin: 0 0 5px 0; +} +#svg_editor .jPicker td.Radio { + margin: 0; + padding: 0; + width: 31px; +} +#svg_editor .jPicker td.Radio input { + margin: 0 5px 0 0; + padding: 0; +} +#svg_editor .jPicker td.Text { + font-size: 12px!important; + height: 22px; + margin: 0; + padding: 0; + text-align: left; + width: 70px; +} +#svg_editor .jPicker tr.Hex td.Text { + width: 100px; + color: #666; +} + +#svg_editor .jPicker tr.Hex td.Text span { + width: 100px; + color: #333; +} +#svg_editor .jPicker td.Text input { + background-color: #fff; + border: 1px inset #aaa; + height: 15px; + margin: 0 0 0 5px; + text-align: left; + width: 30px; + color: #333; +} + +#svg_editor #color_picker .jPicker tr.Hex td.Text input.Hex { + width: 50px; + display: inline-block; + float: none; +} + +#svg_editor .jPicker tr.Hex td.Text input.AHex { + width: 20px; + display: none; +} +#svg_editor .jPicker .Grid { + text-align: center; + float: right; + width: 108px; +} +#svg_editor .jPicker .Grid span.QuickColor { + cursor: pointer; + display: inline-block; + height: 15px; + line-height: 15px; + margin: 0; + padding: 0; + width: 18px; +} +#svg_editor .jPicker td { + vertical-align: top; +} +#svg_editor .jPicker td.colorsquare { + width: 275px; +} + +#svg_editor .jPicker .prev_div { + margin-top: -15px; +} + +#svg_editor .jPicker .actions { + position: absolute; + bottom: 20px; + left: 20px; + right: 20px; +} + +#svg_editor .jPicker .actions .Ok{ + position: absolute; + top: 0; + right: 0px; +} + +#svg_editor .jPicker .actions .Cancel{ + position: absolute; + top: 0; + left: 0px; +} + +#svg_editor .jPicker .color_preview { + width: 62px; + margin: 0 auto; } \ No newline at end of file diff --git a/editor/jgraduate/css/jgraduate.css b/editor/jgraduate/css/jgraduate.css index 4e4b62b..a4fabdf 100644 --- a/editor/jgraduate/css/jgraduate.css +++ b/editor/jgraduate/css/jgraduate.css @@ -10,64 +10,51 @@ * Licensed under the Apache License Version 2 */ -h2.jGraduate_Title { - font-family: Arial, Helvetica, Sans-Serif; - font-size: 11px !important; - font-weight: bold; - margin: -13px 0px 0px 0px; - padding: 0px; - text-align: center; +#svg_editor h2.jGraduate_Title { + display: none; } -.jGraduate_Picker { +#svg_editor .jGraduate_Picker { position: absolute; padding: 20px; } -.jGraduate_tabs li { +#svg_editor .jGraduate_tabs li { display: inline-block; padding: 5px 10px; margin-right: 5px; cursor: pointer; } -li.jGraduate_tab_current { +#svg_editor li.jGraduate_tab_current { background: #fff; border-radius: 3px 3px 0 0; } -.jGraduate_colPick { +#svg_editor .jGraduate_colPick { display: none; } -.jGraduate_gradPick { +#svg_editor .jGraduate_gradPick { display: none; - border: outset 1px #666; - padding: 10px 7px 5px 5px; - overflow: auto; -} - -.jGraduate_gradPick { - display: none; - border: outset 1px #666; - padding: 10px 7px 5px 5px; - overflow: auto; + overflow: visible; /* position: relative;*/ } -.jGraduate_tabs { +#svg_editor .jGraduate_tabs { position: relative; background-color: #ddd; padding: 10px 10px 0 10px; margin: -20px -20px 20px -20px; + border-radius: 3px 3px 0 0; } -div.jGraduate_Swatch { +#svg_editor div.jGraduate_Swatch { float: left; - margin: 8px; + margin: 0 15px 0 0; } -div.jGraduate_GradContainer { - border: 2px inset #EEE; +#svg_editor div.jGraduate_GradContainer { + border: solid #000 1px; background-image: url(../images/map-opacity.png); background-position: 0px 0px; height: 256px; @@ -75,34 +62,34 @@ div.jGraduate_GradContainer { position: relative; } -div.jGraduate_GradContainer div.grad_coord { - background: #000; - border: 1px solid #fff; - border-radius: 5px; - -moz-border-radius: 5px; - width: 10px; - height: 10px; - position: absolute; - margin: -5px -5px; - top: 0; - left: 0; - text-align: center; - font-size: xx-small; - line-height: 10px; - color: #fff; - text-decoration: none; - cursor: pointer; - -moz-user-select: none; - -webkit-user-select: none; +#svg_editor div.jGraduate_GradContainer div.grad_coord { + background: rgba(0,0,0,0.8); + border: 2px solid white; + border-radius: 15px; + -moz-border-radius: 5px; + width: 14px; + height: 14px; + position: absolute; + margin: -7px -7px; + top: 0; + left: 0; + text-align: center; + font-size: 8px; + line-height: 14px; + color: white; + text-decoration: none; + cursor: pointer; + -moz-user-select: none; + -webkit-user-select: none; } -.jGraduate_AlphaArrows { +#svg_editor .jGraduate_AlphaArrows { position: absolute; margin-top: -10px; margin-left: 250.5px; } -div.jGraduate_Opacity { +#svg_editor div.jGraduate_Opacity { border: 2px inset #eee; margin-top: 14px; background-color: black; @@ -112,35 +99,33 @@ div.jGraduate_Opacity { cursor: ew-resize; } -div.jGraduate_StopSlider { -/* border: 2px inset #eee;*/ - margin: 0 0 0 -10px; +#svg_editor div.jGraduate_StopSlider { + margin: -10px 0 0 -10px; width: 276px; overflow: visible; - background: #efefef; + background: white; height: 45px; cursor: pointer; } -div.jGraduate_StopSection { +#svg_editor div.jGraduate_StopSection { width: 120px; - text-align: center; + float: left; } +#svg_editor div.jGraduate_StopSection.jGraduate_SpreadMethod { + display: none; +} - - -input.jGraduate_Ok, input.jGraduate_Cancel { +#svg_editor input.jGraduate_Ok, input.jGraduate_Cancel { display: block; width: 100px; - margin-left: -4px; - margin-right: -4px; } -input.jGraduate_Ok { - margin: 9px -4px 5px -4px; +#svg_editor input.jGraduate_Ok { + margin: 0 0 5px 0; } -.colorBox { +#svg_editor .colorBox { float: left; height: 16px; width: 16px; @@ -149,43 +134,42 @@ input.jGraduate_Ok { margin: 4px 4px 4px 30px; } -.colorBox + label { +#svg_editor .colorBox + label { float: left; margin-top: 7px; } -label.jGraduate_Form_Heading { - position: relative; - top: 10px; - background-color: #EFEFEF; +#svg_editor label.jGraduate_Form_Heading { + + color: #333; padding: 2px; font-weight: bold; font-size: 13px; } -div.jGraduate_Form_Section { - border-style: solid; - border-width: 1px; - border-color: grey; +#svg_editor div.jGraduate_Form_Section { -moz-border-radius: 5px; -webkit-border-radius: 5px; padding: 15px 5px 5px 5px; margin: 5px 2px; - width: 110px; + width: 100px; text-align: center; overflow: auto; + background: #eee; } -div.jGraduate_Form_Section label { +#svg_editor div.jGraduate_Form label { padding: 0 2px; + color: #333; } -div.jGraduate_StopSection input[type=text], -div.jGraduate_Slider input[type=text] { +#svg_editor div.jGraduate_StopSection input[type=text], +#svg_editor div.jGraduate_Slider input[type=text] { width: 33px; + color: #333; } -div.jGraduate_LightBox { +#svg_editor div.jGraduate_LightBox { position: fixed; top: 0px; left: 0px; @@ -196,143 +180,158 @@ div.jGraduate_LightBox { display: none; } -div.jGraduate_stopPicker { +#svg_editor div.jGraduate_stopPicker { + position: absolute; + display: none; + background: + white; + padding: 20px; + border-radius: 3px; + width: 530px; + height: 300px; + box-shadow: 0 5px 25px + black; +} + + +#svg_editor .jGraduate_gradPick { + width: 526px; +} + +#svg_editor .jGraduate_gradPick div.jGraduate_Slider { + line-height: 160% +} + +#svg_editor .jGraduate_gradPick div.jGraduate_Slider label:last-child { position: absolute; - display: none; - background: #E8E8E8; + right: 10px; + top: 0; + color: #999; + font-weight: bold; } - -.jGraduate_gradPick { - width: 535px; +#svg_editor .jGraduate_gradPick div.jGraduate_Slider label:last-child input { + margin: 0 3px 0 0; + color: #333; } -.jGraduate_gradPick div.jGraduate_OpacField { - - position: absolute; - left: 0; - bottom: 5px; -/* - width: 270px; - - left: 284px; - width: 266px; - height: 200px; - top: 167px; - margin: -3px 3px 0px 4px; -*/ -} - -.jGraduate_gradPick .jGraduate_Form { +#svg_editor .jGraduate_gradPick .jGraduate_Form { float: left; width: 270px; position: absolute; left: 284px; width: 266px; height: 200px; - top: 167px; + top: 195px; margin: -3px 3px 0px 10px; + line-height: 200%; } -.jGraduate_gradPick .jGraduate_Points { +#svg_editor .jGraduate_gradPick .jGraduate_Form label, +#svg_editor .jGraduate_gradPick .jGraduate_Form input { + width: auto; + float: left; +} + +#svg_editor .jGraduate_gradPick .jGraduate_Form.jGraduate_rg_field label, #svg_editor .jGraduate_gradPick .jGraduate_Form.jGraduate_rg_field input { +width: auto; +float: left; +font-size: 11px; +} + +#svg_editor .jGraduate_gradPick .jGraduate_Form.jGraduate_rg_field #color_picker_jGraduate_match_ctr { + float: none; +} + +#svg_editor .jGraduate_gradPick .jGraduate_Form label { + clear: left; +} + +#svg_editor .jGraduate_gradPick .jGraduate_Points { position: static; - width: 150px; - margin-left: 0; -} + float: left; + margin: 0; + width: auto; + } -.jGraduate_SpreadMethod { - position: absolute; - right: 8px; - top: 100px; -} - -.jGraduate_Colorblocks { +#svg_editor .jGraduate_Colorblocks { display: table; border-spacing: 0 5px; } -.jGraduate_colorblock { +#svg_editor .jGraduate_colorblock { display: table-row; } -.jGraduate_Colorblocks .jGraduate_colorblock > * { +#svg_editor .jGraduate_Colorblocks .jGraduate_colorblock > * { display: table-cell; vertical-align: middle; margin: 0; float: none; } -.jGraduate_gradPick div.jGraduate_StopSection { - float: left; - width: 133px; - margin-top: -8px; -} - - -.jGraduate_gradPick .jGraduate_Form_Section { +#svg_editor .jGraduate_gradPick .jGraduate_Form_Section { padding-top: 9px; } -.jGraduate_Slider { +#svg_editor .jGraduate_Slider { text-align: center; float: left; width: 100%; + position: relative; + margin: 5px 0; } -.jGraduate_Slider .jGraduate_Form_Section { +#svg_editor .jGraduate_Slider .jGraduate_Form_Section { border: none; width: 250px; padding: 0 2px; overflow: visible; } -.jGraduate_Slider label { - display: inline-block; - float: left; - line-height: 50px; - padding: 0; -} -.jGraduate_Slider label.prelabel { +#svg_editor .jGraduate_Slider label.prelabel { width: 40px; text-align: left; } -.jGraduate_SliderBar { +#svg_editor .jGraduate_SliderBar { width: 140px; float: left; - margin-right: 5px; + margin: 0 5px; border:1px solid #BBB; height:20px; - margin-top:14px; - margin-left:5px; position: relative; } -div.jGraduate_Slider input { +#svg_editor div.jGraduate_Slider input { margin-top: 5px; } -div.jGraduate_Slider img { +#svg_editor div.jGraduate_Slider img { top: 0; left: 0; position: absolute; - margin-top: -10px; cursor:ew-resize; } -.jGraduate_gradPick .jGraduate_OkCancel { - position: absolute; - top: 39px; - right: 10px; - width: 113px; +#svg_editor .jGraduate_gradPick .jGraduate_OkCancel { } -.jGraduate_OpacField { - position: absolute; - right: -10px; - bottom: 0; -} \ No newline at end of file +#svg_editor .jPicker .Button .Ok, #svg_editor .jGraduate_Picker .jGraduate_OkCancel .jGraduate_Ok { + margin: 0; + position: absolute; + bottom: 15px; + right: 15px; +} + +#svg_editor .jPicker .Button .Cancel, #svg_editor .jGraduate_Picker .jGraduate_OkCancel .jGraduate_Cancel { + margin: 0; + position: absolute; + bottom: 15px; + left: 15px; +} + diff --git a/editor/jgraduate/images/rangearrows2.gif b/editor/jgraduate/images/rangearrows2.gif index fdeb54a104447e77b99b7c42b199ad0d85a970a4..ee1037831aaab903e7136ff02ada9150b0db7ca2 100644 GIT binary patch literal 140 zcmZ?wbhEHbnO-YDMj*m!+3r~yt$}*q= z#h)yU>ni^s(Dzi4_-8rV=xcl4MC+7a= ejTk-@d3AblOk|rV!mH6R)g&Q6MQa)dgEauntukf+ literal 93 zcmZ?wbhEHb&^6s2AQ_8e46`C?&-1$jD#~0B3n3L){K=L}}if(x<0){x=0}else{if(x>y){x=y}}J.call(o,"xy",{x:((K/L)*w)+F,y:((x/y)*v)+D})},r=function(){var L=0,x=0,N=z.w,K=z.h,M=j.w,y=j.h;setTimeout(function(){if(w>0){if(s==E){L=N}else{L=((s/w)*N)|0}}if(v>0){if(p==C){x=K}else{x=((p/v)*K)|0}}if(M>=N){L=(N>>1)-(M>>1)}else{L-=M>>1}if(y>=K){x=(K>>1)-(y>>1)}else{x-=y>>1}j.css({left:L+"px",top:x+"px"})},0)},J=function(x,K,y){var O=K!==undefined;if(!O){if(x===undefined||x==null){x="xy"}switch(x.toLowerCase()){case"x":return s;case"y":return p;case"xy":default:return{x:s,y:p}}}if(y!=null&&y==o){return}var N=false,M,L;if(x==null){x="xy"}switch(x.toLowerCase()){case"x":M=K&&(K.x&&K.x|0||K|0)||0;break;case"y":L=K&&(K.y&&K.y|0||K|0)||0;break;case"xy":default:M=K&&K.x&&K.x|0||0;L=K&&K.y&&K.y|0||0;break}if(M!=null){if(ME){M=E}}if(s!=M){s=M;N=true}}if(L!=null){if(LC){L=C}}if(p!=L){p=L;N=true}}N&&l.call(o,y||o)},t=function(x,L){var P=L!==undefined;if(!P){if(x===undefined||x==null){x="all"}switch(x.toLowerCase()){case"minx":return F;case"maxx":return E;case"rangex":return{minX:F,maxX:E,rangeX:w};case"miny":return D;case"maxy":return C;case"rangey":return{minY:D,maxY:C,rangeY:v};case"all":default:return{minX:F,maxX:E,rangeX:w,minY:D,maxY:C,rangeY:v}}}var O=false,N,K,M,y;if(x==null){x="all"}switch(x.toLowerCase()){case"minx":N=L&&(L.minX&&L.minX|0||L|0)||0;break;case"maxx":K=L&&(L.maxX&&L.maxX|0||L|0)||0;break;case"rangex":N=L&&L.minX&&L.minX|0||0;K=L&&L.maxX&&L.maxX|0||0;break;case"miny":M=L&&(L.minY&&L.minY|0||L|0)||0;break;case"maxy":y=L&&(L.maxY&&L.maxY|0||L|0)||0;break;case"rangey":M=L&&L.minY&&L.minY|0||0;y=L&&L.maxY&&L.maxY|0||0;break;case"all":default:N=L&&L.minX&&L.minX|0||0;K=L&&L.maxX&&L.maxX|0||0;M=L&&L.minY&&L.minY|0||0;y=L&&L.maxY&&L.maxY|0||0;break}if(N!=null&&F!=N){F=N;w=E-F}if(K!=null&&E!=K){E=K;w=E-F}if(M!=null&&D!=M){D=M;v=C-D}if(y!=null&&C!=y){C=y;v=C-D}},I=function(x){if(e.isFunction(x)){u.push(x)}},m=function(y){if(!e.isFunction(y)){return}var x;while((x=e.inArray(y,u))!=-1){u.splice(x,1)}},G=function(){e(document).unbind("mouseup",B).unbind("mousemove",h);z.unbind("mousedown",H);z=null;j=null;u=null};e.extend(true,o,{val:J,range:t,bind:I,unbind:m,destroy:G});j.src=k.arrow&&k.arrow.image;j.w=k.arrow&&k.arrow.width||j.width();j.h=k.arrow&&k.arrow.height||j.height();z.w=k.map&&k.map.width||z.width();z.h=k.map&&k.map.height||z.height();z.bind("mousedown",H);I.call(o,r)},b=function(u,z,k,y){var q=this,l=u.find("td.Text input"),r=l.eq(3),v=l.eq(4),h=l.eq(5),o=l.length>7?l.eq(6):null,n=l.eq(0),p=l.eq(1),x=l.eq(2),s=l.eq(l.length>7?7:6),B=l.length>7?l.eq(8):null,w=function(D){if(D.target.value==""&&D.target!=s.get(0)&&(k!=null&&D.target!=k.get(0)||k==null)){return}if(!t(D)){return D}switch(D.target){case r.get(0):r.val(j.call(q,r.val(),0,255));z.val("r",r.val(),D.target);break;case v.get(0):v.val(j.call(q,v.val(),0,255));z.val("g",v.val(),D.target);break;case h.get(0):h.val(j.call(q,h.val(),0,255));z.val("b",h.val(),D.target);break;case o&&o.get(0):o.val(j.call(q,o.val(),0,100));z.val("a",Math.precision((o.val()*255)/100,y),D.target);break;case n.get(0):n.val(j.call(q,n.val(),0,360));z.val("h",n.val(),D.target);break;case p.get(0):p.val(j.call(q,p.val(),0,100));z.val("s",p.val(),D.target);break;case x.get(0):x.val(j.call(q,x.val(),0,100));z.val("v",x.val(),D.target);break;case s.get(0):s.val(s.val().replace(/[^a-fA-F0-9]/g,"").toLowerCase().substring(0,6));k&&k.val(s.val());z.val("hex",s.val()!=""?s.val():null,D.target);break;case k&&k.get(0):k.val(k.val().replace(/[^a-fA-F0-9]/g,"").toLowerCase().substring(0,6));s.val(k.val());z.val("hex",k.val()!=""?k.val():null,D.target);break;case B&&B.get(0):B.val(B.val().replace(/[^a-fA-F0-9]/g,"").toLowerCase().substring(0,2));z.val("a",B.val()!=null?parseInt(B.val(),16):null,D.target);break}},A=function(D){if(z.val()!=null){switch(D.target){case r.get(0):r.val(z.val("r"));break;case v.get(0):v.val(z.val("g"));break;case h.get(0):h.val(z.val("b"));break;case o&&o.get(0):o.val(Math.precision((z.val("a")*100)/255,y));break;case n.get(0):n.val(z.val("h"));break;case p.get(0):p.val(z.val("s"));break;case x.get(0):x.val(z.val("v"));break;case s.get(0):case k&&k.get(0):s.val(z.val("hex"));k&&k.val(z.val("hex"));break;case B&&B.get(0):B.val(z.val("ahex").substring(6));break}}},t=function(D){switch(D.keyCode){case 9:case 16:case 29:case 37:case 38:case 40:return false;case"c".charCodeAt():case"v".charCodeAt():if(D.ctrlKey){return false}}return true},j=function(F,E,D){if(F==""||isNaN(F)){return E}if(F>D){return D}if(F255){s.r=255}}if(j!=s.r){j=s.r;v=true}break;case"g":if(C){continue}E=true;s.g=G&&G.g&&G.g|0||G&&G|0||0;if(s.g<0){s.g=0}else{if(s.g>255){s.g=255}}if(o!=s.g){o=s.g;v=true}break;case"b":if(C){continue}E=true;s.b=G&&G.b&&G.b|0||G&&G|0||0;if(s.b<0){s.b=0}else{if(s.b>255){s.b=255}}if(t!=s.b){t=s.b;v=true}break;case"a":s.a=G&&G.a!=null?G.a|0:G!=null?G|0:255;if(s.a<0){s.a=0}else{if(s.a>255){s.a=255}}if(u!=s.a){u=s.a;v=true}break;case"h":if(E){continue}C=true;s.h=G&&G.h&&G.h|0||G&&G|0||0;if(s.h<0){s.h=0}else{if(s.h>360){s.h=360}}if(n!=s.h){n=s.h;v=true}break;case"s":if(E){continue}C=true;s.s=G&&G.s!=null?G.s|0:G!=null?G|0:100;if(s.s<0){s.s=0}else{if(s.s>100){s.s=100}}if(A!=s.s){A=s.s;v=true}break;case"v":if(E){continue}C=true;s.v=G&&G.v!=null?G.v|0:G!=null?G|0:100;if(s.v<0){s.v=0}else{if(s.v>100){s.v=100}}if(x!=s.v){x=s.v;v=true}break}}if(v){if(E){j=j||0;o=o||0;t=t||0;var D=g.rgbToHsv({r:j,g:o,b:t});n=D.h;A=D.s;x=D.v}else{if(C){n=n||0;A=A!=null?A:100;x=x!=null?x:100;var D=g.hsvToRgb({h:n,s:A,v:x});j=D.r;o=D.g;t=D.b}}u=u!=null?u:255;m.call(q,r||q)}break}},p=function(h){if(e.isFunction(h)){k.push(h)}},y=function(r){if(!e.isFunction(r)){return}var h;while((h=e.inArray(r,k))!=-1){k.splice(h,1)}},w=function(){k=null};e.extend(true,q,{val:l,bind:p,unbind:y,destroy:w});if(z){if(z.ahex!=null){l("ahex",z)}else{if(z.hex!=null){l((z.a!=null?"a":"")+"hex",z.a!=null?{ahex:z.hex+g.intToHex(z.a)}:z)}else{if(z.r!=null&&z.g!=null&&z.b!=null){l("rgb"+(z.a!=null?"a":""),z)}else{if(z.h!=null&&z.s!=null&&z.v!=null){l("hsv"+(z.a!=null?"a":""),z)}}}}}},ColorMethods:{hexToRgba:function(m){m=this.validateHex(m);if(m==""){return{r:null,g:null,b:null,a:null}}var l="00",k="00",h="00",j="255";if(m.length==6){m+="ff"}if(m.length>6){l=m.substring(0,2);k=m.substring(2,4);h=m.substring(4,6);j=m.substring(6,m.length)}else{if(m.length>4){l=m.substring(4,m.length);m=m.substring(0,4)}if(m.length>2){k=m.substring(2,m.length);m=m.substring(0,2)}if(m.length>0){h=m.substring(0,m.length)}}return{r:this.hexToInt(l),g:this.hexToInt(k),b:this.hexToInt(h),a:this.hexToInt(j)}},validateHex:function(h){h=h.toString().toLowerCase().replace(/[^a-f0-9]/g,"");if(h.length>8){h=h.substring(0,8)}return h},rgbaToHex:function(h){return this.intToHex(h.r)+this.intToHex(h.g)+this.intToHex(h.b)+this.intToHex(h.a)},intToHex:function(j){var h=(j|0).toString(16);if(h.length==1){h=("0"+h)}return h.toLowerCase()},hexToInt:function(h){return parseInt(h,16)},rgbToHsv:function(l){var o=l.r/255,n=l.g/255,j=l.b/255,k={h:0,s:0,v:0},m=0,h=0,p;if(o>=n&&o>=j){h=o;m=n>j?j:n}else{if(n>=j&&n>=o){h=n;m=o>j?j:o}else{h=j;m=n>o?o:n}}k.v=h;k.s=h?(h-m)/h:0;if(!k.s){k.h=0}else{p=h-m;if(o==h){k.h=(n-j)/p}else{if(n==h){k.h=2+(j-o)/p}else{k.h=4+(o-n)/p}}k.h=parseInt(k.h*60);if(k.h<0){k.h+=360}}k.s=(k.s*100)|0;k.v=(k.v*100)|0;return k},hsvToRgb:function(n){var r={r:0,g:0,b:0,a:100},m=n.h,x=n.s,u=n.v;if(x==0){if(u==0){r.r=r.g=r.b=0}else{r.r=r.g=r.b=(u*255/100)|0}}else{if(m==360){m=0}m/=60;x=x/100;u=u/100;var l=m|0,o=m-l,k=u*(1-x),j=u*(1-(x*o)),w=u*(1-(x*(1-o)));switch(l){case 0:r.r=u;r.g=w;r.b=k;break;case 1:r.r=j;r.g=u;r.b=k;break;case 2:r.r=k;r.g=u;r.b=w;break;case 3:r.r=k;r.g=j;r.b=u;break;case 4:r.r=w;r.g=k;r.b=u;break;case 5:r.r=u;r.g=k;r.b=j;break}r.r=(r.r*255)|0;r.g=(r.g*255)|0;r.b=(r.b*255)|0}return r}}};var f=e.jPicker.Color,c=e.jPicker.List,g=e.jPicker.ColorMethods;e.fn.jPicker=function(j){var h=arguments;return this.each(function(){var w=this,av=e.extend(true,{},e.fn.jPicker.defaults,j);if(e(w).get(0).nodeName.toLowerCase()=="input"){e.extend(true,av,{window:{bindToInput:true,expandable:true,input:e(w)}});if(e(w).val()==""){av.color.active=new f({hex:null});av.color.current=new f({hex:null})}else{if(g.validateHex(e(w).val())){av.color.active=new f({hex:e(w).val(),a:av.color.active.val("a")});av.color.current=new f({hex:e(w).val(),a:av.color.active.val("a")})}}}if(av.window.expandable){e(w).after('    ')}else{av.window.liveUpdate=false}var Q=parseFloat(navigator.appVersion.split("MSIE")[1])<7&&document.body.filters,R=null,l=null,s=null,au=null,at=null,ar=null,P=null,O=null,N=null,M=null,L=null,K=null,D=null,U=null,aw=null,J=null,I=null,am=null,ai=null,E=null,an=null,ah=null,X=null,ab=null,aq=null,r=null,C=null,u=null,ag=function(aB){var aD=G.active,aE=n.clientPath,aA=aD.val("hex"),aC,az;av.color.mode=aB;switch(aB){case"h":setTimeout(function(){y.call(w,l,"transparent");x.call(w,au,0);Y.call(w,au,100);x.call(w,at,260);Y.call(w,at,100);y.call(w,s,"transparent");x.call(w,P,0);Y.call(w,P,100);x.call(w,O,260);Y.call(w,O,100);x.call(w,N,260);Y.call(w,N,100);x.call(w,M,260);Y.call(w,M,100);x.call(w,K,260);Y.call(w,K,100)},0);D.range("all",{minX:0,maxX:100,minY:0,maxY:100});U.range("rangeY",{minY:0,maxY:360});if(aD.val("ahex")==null){break}D.val("xy",{x:aD.val("s"),y:100-aD.val("v")},D);U.val("y",360-aD.val("h"),U);break;case"s":setTimeout(function(){y.call(w,l,"transparent");x.call(w,au,-260);x.call(w,at,-520);x.call(w,P,-260);x.call(w,O,-520);x.call(w,K,260);Y.call(w,K,100)},0);D.range("all",{minX:0,maxX:360,minY:0,maxY:100});U.range("rangeY",{minY:0,maxY:100});if(aD.val("ahex")==null){break}D.val("xy",{x:aD.val("h"),y:100-aD.val("v")},D);U.val("y",100-aD.val("s"),U);break;case"v":setTimeout(function(){y.call(w,l,"000000");x.call(w,au,-780);x.call(w,at,260);y.call(w,s,aA);x.call(w,P,-520);x.call(w,O,260);Y.call(w,O,100);x.call(w,K,260);Y.call(w,K,100)},0);D.range("all",{minX:0,maxX:360,minY:0,maxY:100});U.range("rangeY",{minY:0,maxY:100});if(aD.val("ahex")==null){break}D.val("xy",{x:aD.val("h"),y:100-aD.val("s")},D);U.val("y",100-aD.val("v"),U);break;case"r":aC=-1040;az=-780;D.range("all",{minX:0,maxX:255,minY:0,maxY:255});U.range("rangeY",{minY:0,maxY:255});if(aD.val("ahex")==null){break}D.val("xy",{x:aD.val("b"),y:255-aD.val("g")},D);U.val("y",255-aD.val("r"),U);break;case"g":aC=-1560;az=-1820;D.range("all",{minX:0,maxX:255,minY:0,maxY:255});U.range("rangeY",{minY:0,maxY:255});if(aD.val("ahex")==null){break}D.val("xy",{x:aD.val("b"),y:255-aD.val("r")},D);U.val("y",255-aD.val("g"),U);break;case"b":aC=-2080;az=-2860;D.range("all",{minX:0,maxX:255,minY:0,maxY:255});U.range("rangeY",{minY:0,maxY:255});if(aD.val("ahex")==null){break}D.val("xy",{x:aD.val("r"),y:255-aD.val("g")},D);U.val("y",255-aD.val("b"),U);break;case"a":setTimeout(function(){y.call(w,l,"transparent");x.call(w,au,-260);x.call(w,at,-520);x.call(w,P,260);x.call(w,O,260);Y.call(w,O,100);x.call(w,K,0);Y.call(w,K,100)},0);D.range("all",{minX:0,maxX:360,minY:0,maxY:100});U.range("rangeY",{minY:0,maxY:255});if(aD.val("ahex")==null){break}D.val("xy",{x:aD.val("h"),y:100-aD.val("v")},D);U.val("y",255-aD.val("a"),U);break;default:throw ("Invalid Mode");break}switch(aB){case"h":break;case"s":case"v":case"a":setTimeout(function(){Y.call(w,au,100);Y.call(w,P,100);x.call(w,N,260);Y.call(w,N,100);x.call(w,M,260);Y.call(w,M,100)},0);break;case"r":case"g":case"b":setTimeout(function(){y.call(w,l,"transparent");y.call(w,s,"transparent");Y.call(w,P,100);Y.call(w,au,100);x.call(w,au,aC);x.call(w,at,aC-260);x.call(w,P,az-780);x.call(w,O,az-520);x.call(w,N,az);x.call(w,M,az-260);x.call(w,K,260);Y.call(w,K,100)},0);break}if(aD.val("ahex")==null){return}aj.call(w,aD)},aj=function(aA,az){if(az==null||(az!=U&&az!=D)){v.call(w,aA,az)}setTimeout(function(){ay.call(w,aA);al.call(w,aA);W.call(w,aA)},0)},z=function(aA,az){var aC=G.active;if(az!=D&&aC.val()==null){return}var aB=aA.val("all");switch(av.color.mode){case"h":aC.val("sv",{s:aB.x,v:100-aB.y},az);break;case"s":case"a":aC.val("hv",{h:aB.x,v:100-aB.y},az);break;case"v":aC.val("hs",{h:aB.x,s:100-aB.y},az);break;case"r":aC.val("gb",{g:255-aB.y,b:aB.x},az);break;case"g":aC.val("rb",{r:255-aB.y,b:aB.x},az);break;case"b":aC.val("rg",{r:aB.x,g:255-aB.y},az);break}},ac=function(aA,az){var aB=G.active;if(az!=U&&aB.val()==null){return}switch(av.color.mode){case"h":aB.val("h",{h:360-aA.val("y")},az);break;case"s":aB.val("s",{s:100-aA.val("y")},az);break;case"v":aB.val("v",{v:100-aA.val("y")},az);break;case"r":aB.val("r",{r:255-aA.val("y")},az);break;case"g":aB.val("g",{g:255-aA.val("y")},az);break;case"b":aB.val("b",{b:255-aA.val("y")},az);break;case"a":aB.val("a",255-aA.val("y"),az);break}},v=function(aC,az){if(az!=D){switch(av.color.mode){case"h":var aH=aC.val("sv");D.val("xy",{x:aH!=null?aH.s:100,y:100-(aH!=null?aH.v:100)},az);break;case"s":case"a":var aB=aC.val("hv");D.val("xy",{x:aB&&aB.h||0,y:100-(aB!=null?aB.v:100)},az);break;case"v":var aE=aC.val("hs");D.val("xy",{x:aE&&aE.h||0,y:100-(aE!=null?aE.s:100)},az);break;case"r":var aA=aC.val("bg");D.val("xy",{x:aA&&aA.b||0,y:255-(aA&&aA.g||0)},az);break;case"g":var aI=aC.val("br");D.val("xy",{x:aI&&aI.b||0,y:255-(aI&&aI.r||0)},az);break;case"b":var aG=aC.val("rg");D.val("xy",{x:aG&&aG.r||0,y:255-(aG&&aG.g||0)},az);break}}if(az!=U){switch(av.color.mode){case"h":U.val("y",360-(aC.val("h")||0),az);break;case"s":var aJ=aC.val("s");U.val("y",100-(aJ!=null?aJ:100),az);break;case"v":var aF=aC.val("v");U.val("y",100-(aF!=null?aF:100),az);break;case"r":U.val("y",255-(aC.val("r")||0),az);break;case"g":U.val("y",255-(aC.val("g")||0),az);break;case"b":U.val("y",255-(aC.val("b")||0),az);break;case"a":var aD=aC.val("a");U.val("y",255-(aD!=null?aD:255),az);break}}},ay=function(aA){try{var az=aA.val("all");E.css({backgroundColor:az&&"#"+az.hex||"transparent"});Y.call(w,E,az&&Math.precision((az.a*100)/255,4)||0)}catch(aB){}},al=function(aC){switch(av.color.mode){case"h":y.call(w,l,new f({h:aC.val("h")||0,s:100,v:100}).val("hex"));break;case"s":case"a":var aB=aC.val("s");Y.call(w,at,100-(aB!=null?aB:100));break;case"v":var aA=aC.val("v");Y.call(w,au,aA!=null?aA:100);break;case"r":Y.call(w,at,Math.precision((aC.val("r")||0)/255*100,4));break;case"g":Y.call(w,at,Math.precision((aC.val("g")||0)/255*100,4));break;case"b":Y.call(w,at,Math.precision((aC.val("b")||0)/255*100));break}var az=aC.val("a");Y.call(w,ar,Math.precision(((255-(az||0))*100)/255,4))},W=function(aF){switch(av.color.mode){case"h":var aH=aF.val("a");Y.call(w,L,Math.precision(((255-(aH||0))*100)/255,4));break;case"s":var aA=aF.val("hva"),aB=new f({h:aA&&aA.h||0,s:100,v:aA!=null?aA.v:100});y.call(w,s,aB.val("hex"));Y.call(w,O,100-(aA!=null?aA.v:100));Y.call(w,L,Math.precision(((255-(aA&&aA.a||0))*100)/255,4));break;case"v":var aC=aF.val("hsa"),aE=new f({h:aC&&aC.h||0,s:aC!=null?aC.s:100,v:100});y.call(w,s,aE.val("hex"));Y.call(w,L,Math.precision(((255-(aC&&aC.a||0))*100)/255,4));break;case"r":case"g":case"b":var aD=0,aG=0,az=aF.val("rgba");if(av.color.mode=="r"){aD=az&&az.b||0;aG=az&&az.g||0}else{if(av.color.mode=="g"){aD=az&&az.b||0;aG=az&&az.r||0}else{if(av.color.mode=="b"){aD=az&&az.r||0;aG=az&&az.g||0}}}var aI=aG>aD?aD:aG;Y.call(w,O,aD>aG?Math.precision(((aD-aG)/(255-aG))*100,4):0);Y.call(w,N,aG>aD?Math.precision(((aG-aD)/(255-aD))*100,4):0);Y.call(w,M,Math.precision((aI/255)*100,4));Y.call(w,L,Math.precision(((255-(az&&az.a||0))*100)/255,4));break;case"a":var aH=aF.val("a");y.call(w,s,aF.val("hex")||"000000");Y.call(w,L,aH!=null?0:100);Y.call(w,K,aH!=null?100:0);break}},y=function(az,aA){az.css({backgroundColor:aA&&aA.length==6&&"#"+aA||"transparent"})},t=function(az,aA){if(Q&&(aA.indexOf("AlphaBar.png")!=-1||aA.indexOf("Bars.png")!=-1||aA.indexOf("Maps.png")!=-1)){az.attr("pngSrc",aA);az.css({backgroundImage:"none",filter:"progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+aA+"', sizingMethod='scale')"})}else{az.css({backgroundImage:"url("+aA+")"})}},x=function(az,aA){az.css({top:aA+"px"})},Y=function(aA,az){aA.css({visibility:az>0?"visible":"hidden"});if(az>0&&az<100){if(Q){var aB=aA.attr("pngSrc");if(aB!=null&&(aB.indexOf("AlphaBar.png")!=-1||aB.indexOf("Bars.png")!=-1||aB.indexOf("Maps.png")!=-1)){aA.css({filter:"progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+aB+"', sizingMethod='scale') progid:DXImageTransform.Microsoft.Alpha(opacity="+az+")"})}else{aA.css({opacity:Math.precision(az/100,4)})}}else{aA.css({opacity:Math.precision(az/100,4)})}}else{if(az==0||az==100){if(Q){var aB=aA.attr("pngSrc");if(aB!=null&&(aB.indexOf("AlphaBar.png")!=-1||aB.indexOf("Bars.png")!=-1||aB.indexOf("Maps.png")!=-1)){aA.css({filter:"progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+aB+"', sizingMethod='scale')"})}else{aA.css({opacity:""})}}else{aA.css({opacity:""})}}}},B=function(){G.active.val("ahex",G.current.val("ahex"))},T=function(){G.current.val("ahex",G.active.val("ahex"))},A=function(az){e(this).parents("tbody:first").find('input:radio[value!="'+az.target.value+'"]').removeAttr("checked");ag.call(w,az.target.value)},Z=function(){B.call(w)},q=function(){B.call(w);av.window.expandable&&ao.call(w);e.isFunction(ax)&&ax.call(w,G.active,X)},m=function(){T.call(w);av.window.expandable&&ao.call(w);e.isFunction(ae)&&ae.call(w,G.active,ah)},af=function(){V.call(w)},ap=function(aB,az){var aA=aB.val("hex");an.css({backgroundColor:aA&&"#"+aA||"transparent"});Y.call(w,an,Math.precision(((aB.val("a")||0)*100)/255,4))},H=function(aC,az){var aB=aC.val("hex");var aA=aC.val("va");aq.css({backgroundColor:aB&&"#"+aB||"transparent"});Y.call(w,r,Math.precision(((255-(aA&&aA.a||0))*100)/255,4));if(av.window.bindToInput&&av.window.updateInputColor){av.window.input.css({backgroundColor:aB&&"#"+aB||"transparent",color:aA==null||aA.v>75?"#000000":"#ffffff"})}},S=function(aB){var az=av.window.element,aA=av.window.page;J=parseInt(R.css("left"));I=parseInt(R.css("top"));am=aB.pageX;ai=aB.pageY;e(document).bind("mousemove",k).bind("mouseup",p);aB.preventDefault()},k=function(az){R.css({left:J-(am-az.pageX)+"px",top:I-(ai-az.pageY)+"px"});if(av.window.expandable&&!e.support.boxModel){R.prev().css({left:R.css("left"),top:R.css("top")})}az.stopPropagation();az.preventDefault();return false},p=function(az){e(document).unbind("mousemove",k).unbind("mouseup",p);az.stopPropagation();az.preventDefault();return false},F=function(az){az.preventDefault();az.stopPropagation();G.active.val("ahex",e(this).attr("title")||null,az.target);return false},ae=e.isFunction(h[1])&&h[1]||null,ad=e.isFunction(h[2])&&h[2]||null,ax=e.isFunction(h[3])&&h[3]||null,V=function(){G.current.val("ahex",G.active.val("ahex"));var az=function(){if(!av.window.expandable||e.support.boxModel){return}var aA=R.find("table:first");R.before("