(function(n){var f,e;Math.precision=function(n,t){return t===undefined&&(t=0),Math.round(n*Math.pow(10,t))/Math.pow(10,t)};f=function(t,i){var r=this,s=t.find("img:first"),u=0,f=100,h=100,e=0,o=100,c=100,l=0,a=0,p,y,v=[],tt=function(n){for(var t=0;t<v.length;t++)v[t].call(r,r,n)},k=function(i){var u=t.offset();p={l:u.left|0,t:u.top|0};clearTimeout(y);y=setTimeout(function(){d.call(r,i)},0);n(document).bind("mousemove",w).bind("mouseup",b);i.preventDefault()},w=function(n){return clearTimeout(y),y=setTimeout(function(){d.call(r,n)},0),n.stopPropagation(),n.preventDefault(),!1},b=function(t){return n(document).unbind("mouseup",b).unbind("mousemove",w),t.stopPropagation(),t.preventDefault(),!1},d=function(n){var i=n.pageX-p.l,f=n.pageY-p.t,o=t.w,s=t.h;i<0?i=0:i>o&&(i=o);f<0?f=0:f>s&&(f=s);g.call(r,"xy",{x:i/o*h+u,y:f/s*c+e})},it=function(){var n=0,i=0,r=t.w,u=t.h,e=s.w,v=s.h;setTimeout(function(){h>0&&(n=l==f?r:l/h*r|0);c>0&&(i=a==o?u:a/c*u|0);e>=r?n=(r>>1)-(e>>1):n-=e>>1;v>=u?i=(u>>1)-(v>>1):i-=v>>1;s.css({left:n+"px",top:i+"px"})},0)},g=function(n,t,i){var v=t!==undefined,c,s,h;if(!v){(n===undefined||n==null)&&(n="xy");switch(n.toLowerCase()){case"x":return l;case"y":return a;case"xy":default:return{x:l,y:a}}}if(i==null||i!=r){c=!1;n==null&&(n="xy");switch(n.toLowerCase()){case"x":s=t&&(t.x&&t.x|0||t|0)||0;break;case"y":h=t&&(t.y&&t.y|0||t|0)||0;break;case"xy":default:s=t&&t.x&&t.x|0||0;h=t&&t.y&&t.y|0||0}s!=null&&(s<u?s=u:s>f&&(s=f),l!=s&&(l=s,c=!0));h!=null&&(h<e?h=e:h>o&&(h=o),a!=h&&(a=h,c=!0));c&&tt.call(r,i||r)}},rt=function(n,t){var a=t!==undefined,v,i,r,s,l;if(!a){(n===undefined||n==null)&&(n="all");switch(n.toLowerCase()){case"minx":return u;case"maxx":return f;case"rangex":return{minX:u,maxX:f,rangeX:h};case"miny":return e;case"maxy":return o;case"rangey":return{minY:e,maxY:o,rangeY:c};case"all":default:return{minX:u,maxX:f,rangeX:h,minY:e,maxY:o,rangeY:c}}}v=!1;n==null&&(n="all");switch(n.toLowerCase()){case"minx":i=t&&(t.minX&&t.minX|0||t|0)||0;break;case"maxx":r=t&&(t.maxX&&t.maxX|0||t|0)||0;break;case"rangex":i=t&&t.minX&&t.minX|0||0;r=t&&t.maxX&&t.maxX|0||0;break;case"miny":s=t&&(t.minY&&t.minY|0||t|0)||0;break;case"maxy":l=t&&(t.maxY&&t.maxY|0||t|0)||0;break;case"rangey":s=t&&t.minY&&t.minY|0||0;l=t&&t.maxY&&t.maxY|0||0;break;case"all":default:i=t&&t.minX&&t.minX|0||0;r=t&&t.maxX&&t.maxX|0||0;s=t&&t.minY&&t.minY|0||0;l=t&&t.maxY&&t.maxY|0||0}i!=null&&u!=i&&(u=i,h=f-u);r!=null&&f!=r&&(f=r,h=f-u);s!=null&&e!=s&&(e=s,c=o-e);l!=null&&o!=l&&(o=l,c=o-e)},nt=function(t){n.isFunction(t)&&v.push(t)},ut=function(t){if(n.isFunction(t))for(var i;(i=n.inArray(t,v))!=-1;)v.splice(i,1)},ft=function(){n(document).unbind("mouseup",b).unbind("mousemove",w);t.unbind("mousedown",k);t=null;s=null;v=null};n.extend(!0,r,{val:g,range:rt,bind:nt,unbind:ut,destroy:ft});s.src=i.arrow&&i.arrow.image;s.w=i.arrow&&i.arrow.width||s.width();s.h=i.arrow&&i.arrow.height||s.height();t.w=i.map&&i.map.width||t.width();t.h=i.map&&i.map.height||t.height();t.bind("mousedown",k);nt.call(r,it)};e=function(t,i,r,u){var e=this,w=t.find("td.Text input"),s=w.eq(3),h=w.eq(4),c=w.eq(5),f=w.length>7?w.eq(6):null,l=w.eq(0),a=w.eq(1),v=w.eq(2),y=w.eq(w.length>7?7:6),p=w.length>7?w.eq(8):null,b=function(n){if(n.target.value!=""||n.target==y.get(0)||(r==null||n.target==r.get(0))&&r!=null){if(!g(n))return n;switch(n.target){case s.get(0):switch(n.keyCode){case 38:return s.val(o.call(e,(s.val()<<0)+1,0,255)),i.val("r",s.val(),n.target),!1;case 40:return s.val(o.call(e,(s.val()<<0)-1,0,255)),i.val("r",s.val(),n.target),!1}break;case h.get(0):switch(n.keyCode){case 38:return h.val(o.call(e,(h.val()<<0)+1,0,255)),i.val("g",h.val(),n.target),!1;case 40:return h.val(o.call(e,(h.val()<<0)-1,0,255)),i.val("g",h.val(),n.target),!1}break;case c.get(0):switch(n.keyCode){case 38:return c.val(o.call(e,(c.val()<<0)+1,0,255)),i.val("b",c.val(),n.target),!1;case 40:return c.val(o.call(e,(c.val()<<0)-1,0,255)),i.val("b",c.val(),n.target),!1}break;case f&&f.get(0):switch(n.keyCode){case 38:return f.val(o.call(e,parseFloat(f.val())+1,0,100)),i.val("a",Math.precision(f.val()*255/100,u),n.target),!1;case 40:return f.val(o.call(e,parseFloat(f.val())-1,0,100)),i.val("a",Math.precision(f.val()*255/100,u),n.target),!1}break;case l.get(0):switch(n.keyCode){case 38:return l.val(o.call(e,(l.val()<<0)+1,0,360)),i.val("h",l.val(),n.target),!1;case 40:return l.val(o.call(e,(l.val()<<0)-1,0,360)),i.val("h",l.val(),n.target),!1}break;case a.get(0):switch(n.keyCode){case 38:return a.val(o.call(e,(a.val()<<0)+1,0,100)),i.val("s",a.val(),n.target),!1;case 40:return a.val(o.call(e,(a.val()<<0)-1,0,100)),i.val("s",a.val(),n.target),!1}break;case v.get(0):switch(n.keyCode){case 38:return v.val(o.call(e,(v.val()<<0)+1,0,100)),i.val("v",v.val(),n.target),!1;case 40:return v.val(o.call(e,(v.val()<<0)-1,0,100)),i.val("v",v.val(),n.target),!1}}}},k=function(n){if(n.target.value!=""||n.target==y.get(0)||(r==null||n.target==r.get(0))&&r!=null){if(!g(n))return n;switch(n.target){case s.get(0):s.val(o.call(e,s.val(),0,255));i.val("r",s.val(),n.target);break;case h.get(0):h.val(o.call(e,h.val(),0,255));i.val("g",h.val(),n.target);break;case c.get(0):c.val(o.call(e,c.val(),0,255));i.val("b",c.val(),n.target);break;case f&&f.get(0):f.val(o.call(e,f.val(),0,100));i.val("a",Math.precision(f.val()*255/100,u),n.target);break;case l.get(0):l.val(o.call(e,l.val(),0,360));i.val("h",l.val(),n.target);break;case a.get(0):a.val(o.call(e,a.val(),0,100));i.val("s",a.val(),n.target);break;case v.get(0):v.val(o.call(e,v.val(),0,100));i.val("v",v.val(),n.target);break;case y.get(0):y.val(y.val().replace(/[^a-fA-F0-9]/g,"").toLowerCase().substring(0,6));r&&r.val(y.val());i.val("hex",y.val()!=""?y.val():null,n.target);break;case r&&r.get(0):r.val(r.val().replace(/[^a-fA-F0-9]/g,"").toLowerCase().substring(0,6));y.val(r.val());i.val("hex",r.val()!=""?r.val():null,n.target);break;case p&&p.get(0):p.val(p.val().replace(/[^a-fA-F0-9]/g,"").toLowerCase().substring(0,2));i.val("a",p.val()!=null?parseInt(p.val(),16):null,n.target)}}},d=function(n){if(i.val()!=null)switch(n.target){case s.get(0):s.val(i.val("r"));break;case h.get(0):h.val(i.val("g"));break;case c.get(0):c.val(i.val("b"));break;case f&&f.get(0):f.val(Math.precision(i.val("a")*100/255,u));break;case l.get(0):l.val(i.val("h"));break;case a.get(0):a.val(i.val("s"));break;case v.get(0):v.val(i.val("v"));break;case y.get(0):case r&&r.get(0):y.val(i.val("hex"));r&&r.val(i.val("hex"));break;case p&&p.get(0):p.val(i.val("ahex").substring(6))}},g=function(n){switch(n.keyCode){case 9:case 16:case 29:case 37:case 39:return!1;case"c".charCodeAt():case"v".charCodeAt():if(n.ctrlKey)return!1}return!0},o=function(n,t,i){return n==""||isNaN(n)?t:n>i?i:n<t?t:n},nt=function(n,t){var i=n.val("all");t!=s.get(0)&&s.val(i!=null?i.r:"");t!=h.get(0)&&h.val(i!=null?i.g:"");t!=c.get(0)&&c.val(i!=null?i.b:"");f&&t!=f.get(0)&&f.val(i!=null?Math.precision(i.a*100/255,u):"");t!=l.get(0)&&l.val(i!=null?i.h:"");t!=a.get(0)&&a.val(i!=null?i.s:"");t!=v.get(0)&&v.val(i!=null?i.v:"");t!=y.get(0)&&(r&&t!=r.get(0)||!r)&&y.val(i!=null?i.hex:"");r&&t!=r.get(0)&&t!=y.get(0)&&r.val(i!=null?i.hex:"");p&&t!=p.get(0)&&p.val(i!=null?i.ahex.substring(6):"")},tt=function(){s.add(h).add(c).add(f).add(l).add(a).add(v).add(y).add(r).add(p).unbind("keyup",k).unbind("blur",d);s.add(h).add(c).add(f).add(l).add(a).add(v).unbind("keydown",b);i.unbind(nt);s=null;h=null;c=null;f=null;l=null;a=null;v=null;y=null;p=null};n.extend(!0,e,{destroy:tt});s.add(h).add(c).add(f).add(l).add(a).add(v).add(y).add(r).add(p).bind("keyup",k).bind("blur",d);s.add(h).add(c).add(f).add(l).add(a).add(v).bind("keydown",b);i.bind(nt)};n.jPicker={List:[],Color:function(t){var i=this,u,e,o,f,c,s,h,a=[],v=function(n){for(var t=0;t<a.length;t++)a[t].call(i,i,n)},l=function(n,t,a){var g=t!==undefined,w,b,p;if(!g){if((n===undefined||n==null||n=="")&&(n="all"),u==null)return null;switch(n.toLowerCase()){case"ahex":return r.rgbaToHex({r:u,g:e,b:o,a:f});case"hex":return l("ahex").substring(0,6);case"all":return{r:u,g:e,b:o,a:f,h:c,s:s,v:h,hex:l.call(i,"hex"),ahex:l.call(i,"ahex")};default:for(p={},b=0;b<n.length;b++)switch(n.charAt(b)){case"r":n.length==1?p=u:p.r=u;break;case"g":n.length==1?p=e:p.g=e;break;case"b":n.length==1?p=o:p.b=o;break;case"a":n.length==1?p=f:p.a=f;break;case"h":n.length==1?p=c:p.h=c;break;case"s":n.length==1?p=s:p.s=s;break;case"v":n.length==1?p=h:p.v=h}return p=={}?l.call(i,"all"):p}}if(a==null||a!=i){if(w=!1,n==null&&(n=""),t==null){u!=null&&(u=null,w=!0);e!=null&&(e=null,w=!0);o!=null&&(o=null,w=!0);f!=null&&(f=null,w=!0);c!=null&&(c=null,w=!0);s!=null&&(s=null,w=!0);h!=null&&(h=null,w=!0);w&&v.call(i,a||i);return}switch(n.toLowerCase()){case"ahex":case"hex":p=r.hexToRgba(t&&(t.ahex||t.hex)||t||"00000000");l.call(i,"rgba",{r:p.r,g:p.g,b:p.b,a:n=="ahex"?p.a:f!=null?f:255},a);break;default:if(t&&(t.ahex!=null||t.hex!=null)){l.call(i,"ahex",t.ahex||t.hex||"00000000",a);return}var y={},k=!1,d=!1;for(t.r!==undefined&&!n.indexOf("r")==-1&&(n+="r"),t.g!==undefined&&!n.indexOf("g")==-1&&(n+="g"),t.b!==undefined&&!n.indexOf("b")==-1&&(n+="b"),t.a!==undefined&&!n.indexOf("a")==-1&&(n+="a"),t.h!==undefined&&!n.indexOf("h")==-1&&(n+="h"),t.s!==undefined&&!n.indexOf("s")==-1&&(n+="s"),t.v!==undefined&&!n.indexOf("v")==-1&&(n+="v"),b=0;b<n.length;b++)switch(n.charAt(b)){case"r":if(d)continue;k=!0;y.r=t&&t.r&&t.r|0||t&&t|0||0;y.r<0?y.r=0:y.r>255&&(y.r=255);u!=y.r&&(u=y.r,w=!0);break;case"g":if(d)continue;k=!0;y.g=t&&t.g&&t.g|0||t&&t|0||0;y.g<0?y.g=0:y.g>255&&(y.g=255);e!=y.g&&(e=y.g,w=!0);break;case"b":if(d)continue;k=!0;y.b=t&&t.b&&t.b|0||t&&t|0||0;y.b<0?y.b=0:y.b>255&&(y.b=255);o!=y.b&&(o=y.b,w=!0);break;case"a":y.a=t&&t.a!=null?t.a|0:t!=null?t|0:255;y.a<0?y.a=0:y.a>255&&(y.a=255);f!=y.a&&(f=y.a,w=!0);break;case"h":if(k)continue;d=!0;y.h=t&&t.h&&t.h|0||t&&t|0||0;y.h<0?y.h=0:y.h>360&&(y.h=360);c!=y.h&&(c=y.h,w=!0);break;case"s":if(k)continue;d=!0;y.s=t&&t.s!=null?t.s|0:t!=null?t|0:100;y.s<0?y.s=0:y.s>100&&(y.s=100);s!=y.s&&(s=y.s,w=!0);break;case"v":if(k)continue;d=!0;y.v=t&&t.v!=null?t.v|0:t!=null?t|0:100;y.v<0?y.v=0:y.v>100&&(y.v=100);h!=y.v&&(h=y.v,w=!0)}w&&(k?(u=u||0,e=e||0,o=o||0,p=r.rgbToHsv({r:u,g:e,b:o}),c=p.h,s=p.s,h=p.v):d&&(c=c||0,s=s!=null?s:100,h=h!=null?h:100,p=r.hsvToRgb({h:c,s:s,v:h}),u=p.r,e=p.g,o=p.b),f=f!=null?f:255,v.call(i,a||i))}}},y=function(t){n.isFunction(t)&&a.push(t)},p=function(t){if(n.isFunction(t))for(var i;(i=n.inArray(t,a))!=-1;)a.splice(i,1)},w=function(){a=null};n.extend(!0,i,{val:l,bind:y,unbind:p,destroy:w});t&&(t.ahex!=null?l("ahex",t):t.hex!=null?l((t.a!=null?"a":"")+"hex",t.a!=null?{ahex:t.hex+r.intToHex(t.a)}:t):t.r!=null&&t.g!=null&&t.b!=null?l("rgb"+(t.a!=null?"a":""),t):t.h!=null&&t.s!=null&&t.v!=null&&l("hsv"+(t.a!=null?"a":""),t))},ColorMethods:{hexToRgba:function(n){if(n=this.validateHex(n),n=="")return{r:null,g:null,b:null,a:null};var t="00",i="00",r="00",u="255";return n.length==6&&(n+="ff"),n.length>6?(t=n.substring(0,2),i=n.substring(2,4),r=n.substring(4,6),u=n.substring(6,n.length)):(n.length>4&&(t=n.substring(4,n.length),n=n.substring(0,4)),n.length>2&&(i=n.substring(2,n.length),n=n.substring(0,2)),n.length>0&&(r=n.substring(0,n.length))),{r:this.hexToInt(t),g:this.hexToInt(i),b:this.hexToInt(r),a:this.hexToInt(u)}},validateHex:function(n){return n=n.toLowerCase().replace(/[^a-f0-9]/g,""),n.length>8&&(n=n.substring(0,8)),n},rgbaToHex:function(n){return this.intToHex(n.r)+this.intToHex(n.g)+this.intToHex(n.b)+this.intToHex(n.a)},intToHex:function(n){var t=(n|0).toString(16);return t.length==1&&(t="0"+t),t.toLowerCase()},hexToInt:function(n){return parseInt(n,16)},rgbToHsv:function(n){var i=n.r/255,r=n.g/255,f=n.b/255,t={h:0,s:0,v:0},e=0,u=0,o;return i>=r&&i>=f?(u=i,e=r>f?f:r):r>=f&&r>=i?(u=r,e=i>f?f:i):(u=f,e=r>i?i:r),t.v=u,t.s=u?(u-e)/u:0,t.s?(o=u-e,t.h=i==u?(r-f)/o:r==u?2+(f-i)/o:4+(i-r)/o,t.h=parseInt(t.h*60),t.h<0&&(t.h+=360)):t.h=0,t.s=t.s*100|0,t.v=t.v*100|0,t},hsvToRgb:function(n){var t={r:0,g:0,b:0,a:100},f=n.h,r=n.s,i=n.v;if(r==0)t.r=i==0?t.g=t.b=0:t.g=t.b=i*255/100|0;else{f==360&&(f=0);f/=60;r=r/100;i=i/100;var s=f|0,h=f-s,u=i*(1-r),e=i*(1-r*h),o=i*(1-r*(1-h));switch(s){case 0:t.r=i;t.g=o;t.b=u;break;case 1:t.r=e;t.g=i;t.b=u;break;case 2:t.r=u;t.g=i;t.b=o;break;case 3:t.r=u;t.g=e;t.b=i;break;case 4:t.r=o;t.g=u;t.b=i;break;case 5:t.r=i;t.g=u;t.b=e}t.r=t.r*255|0;t.g=t.g*255|0;t.b=t.b*255|0}return t}}};var t=n.jPicker.Color,u=n.jPicker.List,r=n.jPicker.ColorMethods;n.fn.jPicker=function(o){var s=arguments;return this.each(function(){var h=this,c=n.extend(!0,{},n.fn.jPicker.defaults,o);n(h).get(0).nodeName.toLowerCase()=="input"&&(n.extend(!0,c,{window:{bindToInput:!0,expandable:!0,input:n(h)}}),n(h).val()==""?(c.color.active=new t({hex:null}),c.color.current=new t({hex:null})):r.validateHex(n(h).val())&&(c.color.active=new t({hex:n(h).val(),a:c.color.active.val("a")}),c.color.current=new t({hex:n(h).val(),a:c.color.active.val("a")})));c.window.expandable?n(h).after('<span class="jPicker"><span class="Icon"><span class="Color">&nbsp;<\/span><span class="Alpha">&nbsp;<\/span><span class="Image" title="Click To Open Color Picker">&nbsp;<\/span><span class="Container">&nbsp;<\/span><\/span><\/span>'):c.window.liveUpdate=!1;var gt=parseFloat(navigator.appVersion.split("MSIE")[1])<7&&document.body.filters,a=null,ft=null,et=null,tt=null,g=null,at=null,ut=null,nt=null,ot=null,st=null,ht=null,d=null,y=null,v=null,ni=null,ri=null,ui=null,fi=null,ei=null,vt=null,ct=null,yt=null,pt=null,lt=null,oi=null,wt=null,si=null,hi=null,ci=function(n){var t=w.active,f=k.clientPath,u=t.val("hex"),r,i;c.color.mode=n;switch(n){case"h":if(setTimeout(function(){it.call(h,ft,"transparent");p.call(h,tt,0);l.call(h,tt,100);p.call(h,g,260);l.call(h,g,100);it.call(h,et,"transparent");p.call(h,ut,0);l.call(h,ut,100);p.call(h,nt,260);l.call(h,nt,100);p.call(h,ot,260);l.call(h,ot,100);p.call(h,st,260);l.call(h,st,100);p.call(h,d,260);l.call(h,d,100)},0),y.range("all",{minX:0,maxX:100,minY:0,maxY:100}),v.range("rangeY",{minY:0,maxY:360}),t.val("ahex")==null)break;y.val("xy",{x:t.val("s"),y:100-t.val("v")},y);v.val("y",360-t.val("h"),v);break;case"s":if(setTimeout(function(){it.call(h,ft,"transparent");p.call(h,tt,-260);p.call(h,g,-520);p.call(h,ut,-260);p.call(h,nt,-520);p.call(h,d,260);l.call(h,d,100)},0),y.range("all",{minX:0,maxX:360,minY:0,maxY:100}),v.range("rangeY",{minY:0,maxY:100}),t.val("ahex")==null)break;y.val("xy",{x:t.val("h"),y:100-t.val("v")},y);v.val("y",100-t.val("s"),v);break;case"v":if(setTimeout(function(){it.call(h,ft,"000000");p.call(h,tt,-780);p.call(h,g,260);it.call(h,et,u);p.call(h,ut,-520);p.call(h,nt,260);l.call(h,nt,100);p.call(h,d,260);l.call(h,d,100)},0),y.range("all",{minX:0,maxX:360,minY:0,maxY:100}),v.range("rangeY",{minY:0,maxY:100}),t.val("ahex")==null)break;y.val("xy",{x:t.val("h"),y:100-t.val("s")},y);v.val("y",100-t.val("v"),v);break;case"r":if(r=-1040,i=-780,y.range("all",{minX:0,maxX:255,minY:0,maxY:255}),v.range("rangeY",{minY:0,maxY:255}),t.val("ahex")==null)break;y.val("xy",{x:t.val("b"),y:255-t.val("g")},y);v.val("y",255-t.val("r"),v);break;case"g":if(r=-1560,i=-1820,y.range("all",{minX:0,maxX:255,minY:0,maxY:255}),v.range("rangeY",{minY:0,maxY:255}),t.val("ahex")==null)break;y.val("xy",{x:t.val("b"),y:255-t.val("r")},y);v.val("y",255-t.val("g"),v);break;case"b":if(r=-2080,i=-2860,y.range("all",{minX:0,maxX:255,minY:0,maxY:255}),v.range("rangeY",{minY:0,maxY:255}),t.val("ahex")==null)break;y.val("xy",{x:t.val("r"),y:255-t.val("g")},y);v.val("y",255-t.val("b"),v);break;case"a":if(setTimeout(function(){it.call(h,ft,"transparent");p.call(h,tt,-260);p.call(h,g,-520);p.call(h,ut,260);p.call(h,nt,260);l.call(h,nt,100);p.call(h,d,0);l.call(h,d,100)},0),y.range("all",{minX:0,maxX:360,minY:0,maxY:100}),v.range("rangeY",{minY:0,maxY:255}),t.val("ahex")==null)break;y.val("xy",{x:t.val("h"),y:100-t.val("v")},y);v.val("y",255-t.val("a"),v);break;default:throw"Invalid Mode";}switch(n){case"s":case"v":case"a":setTimeout(function(){l.call(h,tt,100);l.call(h,ut,100);p.call(h,ot,260);l.call(h,ot,100);p.call(h,st,260);l.call(h,st,100)},0);break;case"r":case"g":case"b":setTimeout(function(){it.call(h,ft,"transparent");it.call(h,et,"transparent");l.call(h,ut,100);l.call(h,tt,100);p.call(h,tt,r);p.call(h,g,r-260);p.call(h,ut,i-780);p.call(h,nt,i-520);p.call(h,ot,i);p.call(h,st,i-260);p.call(h,d,260);l.call(h,d,100)},0)}t.val("ahex")!=null&&li.call(h,t)},li=function(n,t){(t==null||t!=v&&t!=y)&&rr.call(h,n,t);setTimeout(function(){ur.call(h,n);fr.call(h,n);er.call(h,n)},0)},tr=function(n,t){var r=w.active,i;if(t==y||r.val()!=null){i=n.val("all");switch(c.color.mode){case"h":r.val("sv",{s:i.x,v:100-i.y},t);break;case"s":case"a":r.val("hv",{h:i.x,v:100-i.y},t);break;case"v":r.val("hs",{h:i.x,s:100-i.y},t);break;case"r":r.val("gb",{g:255-i.y,b:i.x},t);break;case"g":r.val("rb",{r:255-i.y,b:i.x},t);break;case"b":r.val("rg",{r:i.x,g:255-i.y},t)}}},ir=function(n,t){var i=w.active;if(t==v||i.val()!=null)switch(c.color.mode){case"h":i.val("h",{h:360-n.val("y")},t);break;case"s":i.val("s",{s:100-n.val("y")},t);break;case"v":i.val("v",{v:100-n.val("y")},t);break;case"r":i.val("r",{r:255-n.val("y")},t);break;case"g":i.val("g",{g:255-n.val("y")},t);break;case"b":i.val("b",{b:255-n.val("y")},t);break;case"a":i.val("a",255-n.val("y"),t)}},rr=function(n,t){var i,r,u,f,e,o,s,h,l;if(t!=y)switch(c.color.mode){case"h":i=n.val("sv");y.val("xy",{x:i!=null?i.s:100,y:100-(i!=null?i.v:100)},t);break;case"s":case"a":r=n.val("hv");y.val("xy",{x:r&&r.h||0,y:100-(r!=null?r.v:100)},t);break;case"v":u=n.val("hs");y.val("xy",{x:u&&u.h||0,y:100-(u!=null?u.s:100)},t);break;case"r":f=n.val("bg");y.val("xy",{x:f&&f.b||0,y:255-(f&&f.g||0)},t);break;case"g":e=n.val("br");y.val("xy",{x:e&&e.b||0,y:255-(e&&e.r||0)},t);break;case"b":o=n.val("rg");y.val("xy",{x:o&&o.r||0,y:255-(o&&o.g||0)},t)}if(t!=v)switch(c.color.mode){case"h":v.val("y",360-(n.val("h")||0),t);break;case"s":s=n.val("s");v.val("y",100-(s!=null?s:100),t);break;case"v":h=n.val("v");v.val("y",100-(h!=null?h:100),t);break;case"r":v.val("y",255-(n.val("r")||0),t);break;case"g":v.val("y",255-(n.val("g")||0),t);break;case"b":v.val("y",255-(n.val("b")||0),t);break;case"a":l=n.val("a");v.val("y",255-(l!=null?l:255),t)}},ur=function(n){try{var t=n.val("all");vt.css({backgroundColor:t&&"#"+t.hex||"transparent"});l.call(h,vt,t&&Math.precision(t.a*100/255,4)||0)}catch(i){}},fr=function(n){var i,r,u;switch(c.color.mode){case"h":it.call(h,ft,new t({h:n.val("h")||0,s:100,v:100}).val("hex"));break;case"s":case"a":i=n.val("s");l.call(h,g,100-(i!=null?i:100));break;case"v":r=n.val("v");l.call(h,tt,r!=null?r:100);break;case"r":l.call(h,g,Math.precision((n.val("r")||0)/255*100,4));break;case"g":l.call(h,g,Math.precision((n.val("g")||0)/255*100,4));break;case"b":l.call(h,g,Math.precision((n.val("b")||0)/255*100))}u=n.val("a");l.call(h,at,Math.precision((255-(u||0))*100/255,4))},er=function(n){var f,s,e,a,v,o;switch(c.color.mode){case"h":o=n.val("a");l.call(h,ht,Math.precision((255-(o||0))*100/255,4));break;case"s":f=n.val("hva");s=new t({h:f&&f.h||0,s:100,v:f!=null?f.v:100});it.call(h,et,s.val("hex"));l.call(h,nt,100-(f!=null?f.v:100));l.call(h,ht,Math.precision((255-(f&&f.a||0))*100/255,4));break;case"v":e=n.val("hsa");a=new t({h:e&&e.h||0,s:e!=null?e.s:100,v:100});it.call(h,et,a.val("hex"));l.call(h,ht,Math.precision((255-(e&&e.a||0))*100/255,4));break;case"r":case"g":case"b":var r=0,u=0,i=n.val("rgba");c.color.mode=="r"?(r=i&&i.b||0,u=i&&i.g||0):c.color.mode=="g"?(r=i&&i.b||0,u=i&&i.r||0):c.color.mode=="b"&&(r=i&&i.r||0,u=i&&i.g||0);v=u>r?r:u;l.call(h,nt,r>u?Math.precision((r-u)/(255-u)*100,4):0);l.call(h,ot,u>r?Math.precision((u-r)/(255-r)*100,4):0);l.call(h,st,Math.precision(v/255*100,4));l.call(h,ht,Math.precision((255-(i&&i.a||0))*100/255,4));break;case"a":o=n.val("a");it.call(h,et,n.val("hex")||"000000");l.call(h,ht,o!=null?0:100);l.call(h,d,o!=null?100:0)}},it=function(n,t){n.css({backgroundColor:t&&t.length==6&&"#"+t||"transparent"})},rt=function(n,t){gt&&(t.indexOf("AlphaBar.png")!=-1||t.indexOf("Bars.png")!=-1||t.indexOf("Maps.png")!=-1)?(n.attr("pngSrc",t),n.css({backgroundImage:"none",filter:"progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+t+"', sizingMethod='scale')"})):n.css({backgroundImage:"url('"+t+"')"})},p=function(n,t){n.css({top:t+"px"})},l=function(n,t){var i;n.css({visibility:t>0?"visible":"hidden"});t>0&&t<100?gt?(i=n.attr("pngSrc"),i!=null&&(i.indexOf("AlphaBar.png")!=-1||i.indexOf("Bars.png")!=-1||i.indexOf("Maps.png")!=-1)?n.css({filter:"progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+i+"', sizingMethod='scale') progid:DXImageTransform.Microsoft.Alpha(opacity="+t+")"}):n.css({opacity:Math.precision(t/100,4)})):n.css({opacity:Math.precision(t/100,4)}):(t==0||t==100)&&(gt?(i=n.attr("pngSrc"),i!=null&&(i.indexOf("AlphaBar.png")!=-1||i.indexOf("Bars.png")!=-1||i.indexOf("Maps.png")!=-1)?n.css({filter:"progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+i+"', sizingMethod='scale')"}):n.css({opacity:""})):n.css({opacity:""}))},ai=function(){w.active.val("ahex",w.current.val("ahex"))},or=function(){w.current.val("ahex",w.active.val("ahex"))},vi=function(t){n(this).parents("tbody:first").find('input:radio[value!="'+t.target.value+'"]').removeAttr("checked");ci.call(h,t.target.value)},yi=function(){ai.call(h)},pi=function(){ai.call(h);c.window.expandable&&ii.call(h);n.isFunction(dt)&&dt.call(h,w.active,pt)},wi=function(){or.call(h);c.window.expandable&&ii.call(h);n.isFunction(bt)&&bt.call(h,w.active,yt)},bi=function(){ti.call(h)},sr=function(n){var t=n.val("hex");ct.css({backgroundColor:t&&"#"+t||"transparent"});l.call(h,ct,Math.precision((n.val("a")||0)*100/255,4))},hr=function(n){var t=n.val("hex"),i=n.val("va");oi.css({backgroundColor:t&&"#"+t||"transparent"});l.call(h,wt,Math.precision((255-(i&&i.a||0))*100/255,4));c.window.bindToInput&&c.window.updateInputColor&&c.window.input.css({backgroundColor:t&&"#"+t||"transparent",color:i==null||i.v>75?"#000000":"#ffffff"})},ki=function(t){var i=c.window.element,r=c.window.page;ri=parseInt(a.css("left"));ui=parseInt(a.css("top"));fi=t.pageX;ei=t.pageY;n(document).bind("mousemove",di).bind("mouseup",gi);t.preventDefault()},di=function(t){return a.css({left:ri-(fi-t.pageX)+"px",top:ui-(ei-t.pageY)+"px"}),c.window.expandable&&!n.support.boxModel&&a.prev().css({left:a.css("left"),top:a.css("top")}),t.stopPropagation(),t.preventDefault(),!1},gi=function(t){return n(document).unbind("mousemove",di).unbind("mouseup",gi),t.stopPropagation(),t.preventDefault(),!1},nr=function(t){return t.preventDefault(),t.stopPropagation(),w.active.val("ahex",n(this).attr("title")||null,t.target),!1},bt=n.isFunction(s[1])&&s[1]||null,kt=n.isFunction(s[2])&&s[2]||null,dt=n.isFunction(s[3])&&s[3]||null,ti=function(){w.current.val("ahex",w.active.val("ahex"));var t=function(){if(c.window.expandable&&!n.support.boxModel){var t=a.find("table:first");a.before("<iframe/>");a.prev().css({width:t.width(),height:a.height(),opacity:0,position:"absolute",left:a.css("left"),top:a.css("top")})}};c.window.expandable&&(n(document.body).children("div.jPicker.Container").css({zIndex:10}),a.css({zIndex:20}));switch(c.window.effects.type){case"fade":a.fadeIn(c.window.effects.speed.show,t);break;case"slide":a.slideDown(c.window.effects.speed.show,t);break;case"show":default:a.show(c.window.effects.speed.show,t)}},ii=function(){var t=function(){(c.window.expandable&&a.css({zIndex:10}),c.window.expandable&&!n.support.boxModel)&&a.prev().remove()};switch(c.window.effects.type){case"fade":a.fadeOut(c.window.effects.speed.hide,t);break;case"slide":a.slideUp(c.window.effects.speed.hide,t);break;case"show":default:a.hide(c.window.effects.speed.hide,t)}},cr=function(){var r=c.window,o=r.expandable?n(h).next().find(".Container:first"):null,u,ri,s,gt,it,ei,dt,bt,ii;a=r.expandable?n("<div/>"):n(h);a.addClass("jPicker Container");r.expandable&&a.hide();a.get(0).onselectstart=function(n){if(n.target.nodeName.toLowerCase()!=="input")return!1};u=w.active.val("all");r.alphaPrecision<0?r.alphaPrecision=0:r.alphaPrecision>2&&(r.alphaPrecision=2);ri='<table class="jPicker" cellpadding="0" cellspacing="0"><tbody>'+(r.expandable?'<tr><td class="Move" colspan="5">Színösszeállító&nbsp;<\/td><\/tr>':"")+'<tr><td rowspan="9"><h2 class="Title">'+(r.title||b.text.title)+'<\/h2><div class="Map"><span class="Map1">&nbsp;<\/span><span class="Map2">&nbsp;<\/span><span class="Map3">&nbsp;<\/span><img src="'+k.clientPath+k.colorMap.arrow.file+'" class="Arrow"/><\/div><\/td><td rowspan="9"><div class="Bar"><span class="Map1">&nbsp;<\/span><span class="Map2">&nbsp;<\/span><span class="Map3">&nbsp;<\/span><span class="Map4">&nbsp;<\/span><span class="Map5">&nbsp;<\/span><span class="Map6">&nbsp;<\/span><img src="'+k.clientPath+k.colorBar.arrow.file+'" class="Arrow"/><\/div><\/td><td colspan="2" class="Preview">'+b.text.newColor+'<div><span class="Active" title="'+b.tooltips.colors.newColor+'">&nbsp;<\/span><span class="Current" title="'+b.tooltips.colors.currentColor+'">&nbsp;<\/span><\/div>'+b.text.currentColor+'<\/td><td rowspan="9" class="Button"><input type="button" class="Ok" value="'+b.text.ok+'" title="'+b.tooltips.buttons.ok+'"/><input type="button" class="Cancel" value="'+b.text.cancel+'" title="'+b.tooltips.buttons.cancel+'"/><hr/><div class="Grid">&nbsp;<\/div><\/td><\/tr><tr class="Hue"><td class="Radio"><label title="'+b.tooltips.hue.radio+'"><input type="radio" value="h"'+(c.color.mode=="h"?' checked="checked"':"")+'/>H:<\/label><\/td><td class="Text"><input type="text" maxlength="3" value="'+(u!=null?u.h:"")+'" title="'+b.tooltips.hue.textbox+'"/>&nbsp;&deg;<\/td><\/tr><tr class="Saturation"><td class="Radio"><label title="'+b.tooltips.saturation.radio+'"><input type="radio" value="s"'+(c.color.mode=="s"?' checked="checked"':"")+'/>S:<\/label><\/td><td class="Text"><input type="text" maxlength="3" value="'+(u!=null?u.s:"")+'" title="'+b.tooltips.saturation.textbox+'"/>&nbsp;%<\/td><\/tr><tr class="Value"><td class="Radio"><label title="'+b.tooltips.value.radio+'"><input type="radio" value="v"'+(c.color.mode=="v"?' checked="checked"':"")+'/>V:<\/label><br/><br/><\/td><td class="Text"><input type="text" maxlength="3" value="'+(u!=null?u.v:"")+'" title="'+b.tooltips.value.textbox+'"/>&nbsp;%<br/><br/><\/td><\/tr><tr class="Red"><td class="Radio"><label title="'+b.tooltips.red.radio+'"><input type="radio" value="r"'+(c.color.mode=="r"?' checked="checked"':"")+'/>R:<\/label><\/td><td class="Text"><input type="text" maxlength="3" value="'+(u!=null?u.r:"")+'" title="'+b.tooltips.red.textbox+'"/><\/td><\/tr><tr class="Green"><td class="Radio"><label title="'+b.tooltips.green.radio+'"><input type="radio" value="g"'+(c.color.mode=="g"?' checked="checked"':"")+'/>G:<\/label><\/td><td class="Text"><input type="text" maxlength="3" value="'+(u!=null?u.g:"")+'" title="'+b.tooltips.green.textbox+'"/><\/td><\/tr><tr class="Blue"><td class="Radio"><label title="'+b.tooltips.blue.radio+'"><input type="radio" value="b"'+(c.color.mode=="b"?' checked="checked"':"")+'/>B:<\/label><\/td><td class="Text"><input type="text" maxlength="3" value="'+(u!=null?u.b:"")+'" title="'+b.tooltips.blue.textbox+'"/><\/td><\/tr><tr class="Alpha"><td class="Radio">'+(r.alphaSupport?'<label title="'+b.tooltips.alpha.radio+'"><input type="radio" value="a"'+(c.color.mode=="a"?' checked="checked"':"")+"/>A:<\/label>":"&nbsp;")+'<\/td><td class="Text">'+(r.alphaSupport?'<input type="text" maxlength="'+(3+r.alphaPrecision)+'" value="'+(u!=null?Math.precision(u.a*100/255,r.alphaPrecision):"")+'" title="'+b.tooltips.alpha.textbox+'"/>&nbsp;%':"&nbsp;")+'<\/td><\/tr><tr class="Hex"><td colspan="2" class="Text"><label title="'+b.tooltips.hex.textbox+'">#:<input type="text" maxlength="6" class="Hex" value="'+(u!=null?u.hex:"")+'"/><\/label>'+(r.alphaSupport?'<input type="text" maxlength="2" class="AHex" value="'+(u!=null?u.ahex.substring(6):"")+'" title="'+b.tooltips.hex.alpha+'"/><\/td>':"&nbsp;")+"<\/tr><\/tbody><\/table>";r.expandable?(a.html(ri),n(document.body).children("div.jPicker.Container").length==0?n(document.body).prepend(a):n(document.body).children("div.jPicker.Container:last").after(a),a.mousedown(function(){n(document.body).children("div.jPicker.Container").css({zIndex:10});a.css({zIndex:20})}),a.css({left:r.position.x=="left"?o.offset().left-530-(r.position.y=="center"?25:0)+"px":r.position.x=="center"?o.offset().left-260+"px":r.position.x=="right"?o.offset().left-10+(r.position.y=="center"?25:0)+"px":r.position.x=="screenCenter"?(n(document).width()>>1)-180+"px":o.offset().left+parseInt(r.position.x)+"px",position:"absolute",top:o.offset().top>$(document).height()/2?o.offset().top-395:o.offset().top+30+"px"})):(a=n(h),a.html(ri));s=a.find("tbody:first");ft=s.find("div.Map:first");et=s.find("div.Bar:first");gt=ft.find("span");it=et.find("span");tt=gt.filter(".Map1:first");g=gt.filter(".Map2:first");at=gt.filter(".Map3:first");ut=it.filter(".Map1:first");nt=it.filter(".Map2:first");ot=it.filter(".Map3:first");st=it.filter(".Map4:first");ht=it.filter(".Map5:first");d=it.filter(".Map6:first");y=new f(ft,{map:{width:k.colorMap.width,height:k.colorMap.height},arrow:{image:k.clientPath+k.colorMap.arrow.file,width:k.colorMap.arrow.width,height:k.colorMap.arrow.height}});y.bind(tr);v=new f(et,{map:{width:k.colorBar.width,height:k.colorBar.height},arrow:{image:k.clientPath+k.colorBar.arrow.file,width:k.colorBar.arrow.width,height:k.colorBar.arrow.height}});v.bind(ir);ni=new e(s,w.active,r.expandable&&r.bindToInput?r.input:null,r.alphaPrecision);var p=u!=null?u.hex:null,ui=s.find(".Preview"),fi=s.find(".Button");if(vt=ui.find(".Active:first").css({backgroundColor:p&&"#"+p||"transparent"}),ct=ui.find(".Current:first").css({backgroundColor:p&&"#"+p||"transparent"}).bind("click",yi),l.call(h,ct,Math.precision(w.current.val("a")*100)/255,4),yt=fi.find(".Ok:first").bind("click",wi),pt=fi.find(".Cancel:first").bind("click",pi),lt=fi.find(".Grid:first"),setTimeout(function(){rt.call(h,tt,"../App_Themes/UniPollFacelift/images/Maps.png");rt.call(h,g,"../App_Themes/UniPollFacelift/images/Maps.png");rt.call(h,at,"../App_Themes/UniPollFacelift/images/map-opacity.png");rt.call(h,ut,"../App_Themes/UniPollFacelift/images/Bars.png");rt.call(h,nt,"../App_Themes/UniPollFacelift/images/Bars.png");rt.call(h,ot,"../App_Themes/UniPollFacelift/images/Bars.png");rt.call(h,st,"../App_Themes/UniPollFacelift/images/Bars.png");rt.call(h,ht,"../App_Themes/UniPollFacelift/images/bar-opacity.png");rt.call(h,d,"../App_Themes/UniPollFacelift/images/AlphaBar.png");rt.call(h,ui.find("div:first"),"../App_Themes/UniPollFacelift/images/preview-opacity.png")},0),s.find("td.Radio input").bind("click",vi),w.quickList&&w.quickList.length>0){for(ei="",i=0;i<w.quickList.length;i++)(typeof w.quickList[i]).toString().toLowerCase()=="string"&&(w.quickList[i]=new t({hex:w.quickList[i]})),dt=w.quickList[i].val("a"),bt=w.quickList[i].val("ahex"),!r.alphaSupport&&bt&&(bt=bt.substring(0,6)+"ff"),ii=w.quickList[i].val("hex"),ei+='<span class="QuickColor"'+(bt&&' title="#'+bt+'"'||"")+' style="background-color:'+(ii&&"#"+ii||"")+";"+(ii?"":"background-image:url(../App_Themes/UniPollFacelift/images/NoColor.png)")+(r.alphaSupport&&dt&&dt<255?";opacity:"+Math.precision(dt/255,4)+";filter:Alpha(opacity="+Math.precision(dt/2.55,4)+")":"")+'">&nbsp;<\/span>';rt.call(h,lt,"../App_Themes/UniPollFacelift/images/bar-opacity.png");lt.html(ei);lt.find(".QuickColor").click(nr)}ci.call(h,c.color.mode);w.active.bind(li);n.isFunction(kt)&&w.active.bind(kt);w.current.bind(sr);r.expandable?(h.icon=o.parents(".Icon:first"),oi=h.icon.find(".Color:first").css({backgroundColor:p&&"#"+p||"transparent"}),wt=h.icon.find(".Alpha:first"),rt.call(h,wt,"../App_Themes/UniPollFacelift/images/bar-opacity.png"),l.call(h,wt,Math.precision((255-(u!=null?u.a:0))*100/255,4)),si=h.icon.find(".Image:first").css({backgroundImage:"url('"+k.clientPath+k.picker.file+"')"}).bind("click",bi),r.bindToInput&&r.updateInputColor&&r.input.css({backgroundColor:p&&"#"+p||"transparent",color:u==null||u.v>75?"#000000":"#ffffff"}),hi=s.find(".Move:first").bind("mousedown",ki),w.active.bind(hr)):ti.call(h)},lr=function(){for(a.find("td.Radio input").unbind("click",vi),ct.unbind("click",yi),pt.unbind("click",pi),yt.unbind("click",wi),c.window.expandable&&(si.unbind("click",bi),hi.unbind("mousedown",ki),h.icon=null),a.find(".QuickColor").unbind("click",nr),ft=null,et=null,tt=null,g=null,at=null,ut=null,nt=null,ot=null,st=null,ht=null,d=null,y.destroy(),y=null,v.destroy(),v=null,ni.destroy(),ni=null,vt=null,ct=null,yt=null,pt=null,lt=null,bt=null,dt=null,kt=null,a.html(""),i=0;i<u.length;i++)u[i]==h&&u.splice(i,1)},k=c.images,b=c.localization,w={active:(typeof c.color.active).toString().toLowerCase()=="string"?new t({ahex:!c.window.alphaSupport&&c.color.active?c.color.active.substring(0,6)+"ff":c.color.active}):new t({ahex:!c.window.alphaSupport&&c.color.active.val("ahex")?c.color.active.val("ahex").substring(0,6)+"ff":c.color.active.val("ahex")}),current:(typeof c.color.active).toString().toLowerCase()=="string"?new t({ahex:!c.window.alphaSupport&&c.color.active?c.color.active.substring(0,6)+"ff":c.color.active}):new t({ahex:!c.window.alphaSupport&&c.color.active.val("ahex")?c.color.active.val("ahex").substring(0,6)+"ff":c.color.active.val("ahex")}),quickList:c.color.quickList};n.extend(!0,h,{commitCallback:bt,liveCallback:kt,cancelCallback:dt,color:w,show:ti,hide:ii,destroy:lr});u.push(h);setTimeout(function(){cr.call(h)},0)})};n.fn.jPicker.defaults={window:{title:null,effects:{type:"slide",speed:{show:"slow",hide:"fast"}},position:{x:"screenCenter",y:"top"},expandable:!1,liveUpdate:!0,alphaSupport:!1,alphaPrecision:0,updateInputColor:!0},color:{mode:"h",active:new t({ahex:"#ffcc00ff"}),quickList:[new t({h:360,s:33,v:100}),new t({h:360,s:66,v:100}),new t({h:360,s:100,v:100}),new t({h:360,s:100,v:75}),new t({h:360,s:100,v:50}),new t({h:180,s:0,v:100}),new t({h:30,s:33,v:100}),new t({h:30,s:66,v:100}),new t({h:30,s:100,v:100}),new t({h:30,s:100,v:75}),new t({h:30,s:100,v:50}),new t({h:180,s:0,v:90}),new t({h:60,s:33,v:100}),new t({h:60,s:66,v:100}),new t({h:60,s:100,v:100}),new t({h:60,s:100,v:75}),new t({h:60,s:100,v:50}),new t({h:180,s:0,v:80}),new t({h:90,s:33,v:100}),new t({h:90,s:66,v:100}),new t({h:90,s:100,v:100}),new t({h:90,s:100,v:75}),new t({h:90,s:100,v:50}),new t({h:180,s:0,v:70}),new t({h:120,s:33,v:100}),new t({h:120,s:66,v:100}),new t({h:120,s:100,v:100}),new t({h:120,s:100,v:75}),new t({h:120,s:100,v:50}),new t({h:180,s:0,v:60}),new t({h:150,s:33,v:100}),new t({h:150,s:66,v:100}),new t({h:150,s:100,v:100}),new t({h:150,s:100,v:75}),new t({h:150,s:100,v:50}),new t({h:180,s:0,v:50}),new t({h:180,s:33,v:100}),new t({h:180,s:66,v:100}),new t({h:180,s:100,v:100}),new t({h:180,s:100,v:75}),new t({h:180,s:100,v:50}),new t({h:180,s:0,v:40}),new t({h:210,s:33,v:100}),new t({h:210,s:66,v:100}),new t({h:210,s:100,v:100}),new t({h:210,s:100,v:75}),new t({h:210,s:100,v:50}),new t({h:180,s:0,v:30}),new t({h:240,s:33,v:100}),new t({h:240,s:66,v:100}),new t({h:240,s:100,v:100}),new t({h:240,s:100,v:75}),new t({h:240,s:100,v:50}),new t({h:180,s:0,v:20}),new t({h:270,s:33,v:100}),new t({h:270,s:66,v:100}),new t({h:270,s:100,v:100}),new t({h:270,s:100,v:75}),new t({h:270,s:100,v:50}),new t({h:180,s:0,v:10}),new t({h:300,s:33,v:100}),new t({h:300,s:66,v:100}),new t({h:300,s:100,v:100}),new t({h:300,s:100,v:75}),new t({h:300,s:100,v:50}),new t({h:180,s:0,v:0}),new t({h:330,s:33,v:100}),new t({h:330,s:66,v:100}),new t({h:330,s:100,v:100}),new t({h:330,s:100,v:75}),new t({h:330,s:100,v:50}),new t]},images:{clientPath:"../App_Themes/UniPollFacelift/images/",colorMap:{width:256,height:256,arrow:{file:"mappoint.gif",width:15,height:15}},colorBar:{width:20,height:256,arrow:{file:"rangearrows.gif",width:20,height:7}},picker:{file:"picker.gif",width:25,height:24}},localization:{text:{title:"Húza a markert a kívánt színre",newColor:"new",currentColor:"current",ok:"OK",cancel:"Cancel"},tooltips:{colors:{newColor:"New Color - Press &ldquo;OK&rdquo; To Commit",currentColor:"Click To Revert To Original Color"},buttons:{ok:"Commit To This Color Selection",cancel:"Cancel And Revert To Original Color"},hue:{radio:"Set To &ldquo;Hue&rdquo; Color Mode",textbox:"Enter A &ldquo;Hue&rdquo; Value (0-360&deg;)"},saturation:{radio:"Set To &ldquo;Saturation&rdquo; Color Mode",textbox:"Enter A &ldquo;Saturation&rdquo; Value (0-100%)"},value:{radio:"Set To &ldquo;Value&rdquo; Color Mode",textbox:"Enter A &ldquo;Value&rdquo; Value (0-100%)"},red:{radio:"Set To &ldquo;Red&rdquo; Color Mode",textbox:"Enter A &ldquo;Red&rdquo; Value (0-255)"},green:{radio:"Set To &ldquo;Green&rdquo; Color Mode",textbox:"Enter A &ldquo;Green&rdquo; Value (0-255)"},blue:{radio:"Set To &ldquo;Blue&rdquo; Color Mode",textbox:"Enter A &ldquo;Blue&rdquo; Value (0-255)"},alpha:{radio:"Set To &ldquo;Alpha&rdquo; Color Mode",textbox:"Enter A &ldquo;Alpha&rdquo; Value (0-100)"},hex:{textbox:"Enter A &ldquo;Hex&rdquo; Color Value (#000000-#ffffff)",alpha:"Enter A &ldquo;Alpha&rdquo; Value (#00-#ff)"}}}}})(jQuery,"1.1.6")