﻿Module.createNamespace('com.wjstc.ColorPicker');Module.require('com.wjstc.Common',1.1);Module.require('com.wjstc.HideSelectIE6',1.1);Module.require('com.wjstc.Util',1.1);com.wjstc.ColorPicker.NAME='com.wjstc.ColorPicker';com.wjstc.ColorPicker.VERSION=1.1;com.wjstc.ColorPicker.colorDiskId='com.wjstc.ColorPicker.colorDisk';com.wjstc.ColorPicker.colorSquareId='com.wjstc.ColorPicker.colorSquare';com.wjstc.ColorPicker.selectedColorId='com.wjstc.ColorPicker.selectedColor';com.wjstc.ColorPicker.colorSampleId='com.wjstc.ColorPicker.colorSample';com.wjstc.ColorPicker.colorPaletteId='com.wjstc.ColorPicker.colorPalette';com.wjstc.ColorPicker.colorPaletteId='com.wjstc.ColorPicker.colorPalette';com.wjstc.ColorPicker.selectNamedColorsId='com.wjstc.ColorPicker.selectNamedColors';com.wjstc.ColorPicker.formName='com_wjstc_ColorPicker_form';com.wjstc.ColorPicker.c1=new Array(' '+com.wjstc.Util.fd+'F0F8FF'+com.wjstc.Util.fd+'AliceBlue'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'FAEBD7'+com.wjstc.Util.fd+'AntiqueWhite'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'00FFFF'+com.wjstc.Util.fd+'Aqua'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'7FFFD4'+com.wjstc.Util.fd+'Aquamarine'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'F0FFFF'+com.wjstc.Util.fd+'Azure'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'F5F5DC'+com.wjstc.Util.fd+'Beige'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'FFE4C4'+com.wjstc.Util.fd+'Bisque'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'000000'+com.wjstc.Util.fd+'Black'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'FFEBCD'+com.wjstc.Util.fd+'BlanchedAlmond'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'0000FF'+com.wjstc.Util.fd+'Blue'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'8A2BE2'+com.wjstc.Util.fd+'BlueViolet'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'A52A2A'+com.wjstc.Util.fd+'Brown'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'DEB887'+com.wjstc.Util.fd+'BurlyWood'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'5F9EA0'+com.wjstc.Util.fd+'CadetBlue'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'7FFF00'+com.wjstc.Util.fd+'Chartreuse'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'D2691E'+com.wjstc.Util.fd+'Chocolate'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'FF7F50'+com.wjstc.Util.fd+'Coral'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'6495ED'+com.wjstc.Util.fd+'CornflowerBlue'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'FFF8DC'+com.wjstc.Util.fd+'Cornsilk'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'DC143C'+com.wjstc.Util.fd+'Crimson'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'00FFFF'+com.wjstc.Util.fd+'Cyan'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'00008B'+com.wjstc.Util.fd+'DarkBlue'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'008B8B'+com.wjstc.Util.fd+'DarkCyan'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'B8860B'+com.wjstc.Util.fd+'DarkGoldenRod'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'A9A9A9'+com.wjstc.Util.fd+'DarkGray'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'006400'+com.wjstc.Util.fd+'DarkGreen'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'BDB76B'+com.wjstc.Util.fd+'DarkKhaki'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'8B008B'+com.wjstc.Util.fd+'DarkMagenta'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'556B2F'+com.wjstc.Util.fd+'DarkOliveGreen'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'FF8C00'+com.wjstc.Util.fd+'Darkorange'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'9932CC'+com.wjstc.Util.fd+'DarkOrchid'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'8B0000'+com.wjstc.Util.fd+'DarkRed'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'E9967A'+com.wjstc.Util.fd+'DarkSalmon'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'8FBC8F'+com.wjstc.Util.fd+'DarkSeaGreen'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'483D8B'+com.wjstc.Util.fd+'DarkSlateBlue'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'2F4F4F'+com.wjstc.Util.fd+'DarkSlateGray'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'00CED1'+com.wjstc.Util.fd+'DarkTurquoise'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'9400D3'+com.wjstc.Util.fd+'DarkViolet'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'FF1493'+com.wjstc.Util.fd+'DeepPink'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'00BFFF'+com.wjstc.Util.fd+'DeepSkyBlue'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'696969'+com.wjstc.Util.fd+'DimGray'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'1E90FF'+com.wjstc.Util.fd+'DodgerBlue'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'D19275'+com.wjstc.Util.fd+'Feldspar'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'B22222'+com.wjstc.Util.fd+'FireBrick'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'FFFAF0'+com.wjstc.Util.fd+'FloralWhite'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'228B22'+com.wjstc.Util.fd+'ForestGreen'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'FF00FF'+com.wjstc.Util.fd+'Fuchsia'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'DCDCDC'+com.wjstc.Util.fd+'Gainsboro'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'F8F8FF'+com.wjstc.Util.fd+'GhostWhite'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'FFD700'+com.wjstc.Util.fd+'Gold'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'DAA520'+com.wjstc.Util.fd+'GoldenRod'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'808080'+com.wjstc.Util.fd+'Gray'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'008000'+com.wjstc.Util.fd+'Green'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'ADFF2F'+com.wjstc.Util.fd+'GreenYellow'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'F0FFF0'+com.wjstc.Util.fd+'HoneyDew'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'FF69B4'+com.wjstc.Util.fd+'HotPink'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'CD5C5C'+com.wjstc.Util.fd+'IndianRed '+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'4B0082'+com.wjstc.Util.fd+'Indigo '+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'FFFFF0'+com.wjstc.Util.fd+'Ivory'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'F0E68C'+com.wjstc.Util.fd+'Khaki'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'E6E6FA'+com.wjstc.Util.fd+'Lavender'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'FFF0F5'+com.wjstc.Util.fd+'LavenderBlush'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'7CFC00'+com.wjstc.Util.fd+'LawnGreen'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'FFFACD'+com.wjstc.Util.fd+'LemonChiffon'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'ADD8E6'+com.wjstc.Util.fd+'LightBlue'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'F08080'+com.wjstc.Util.fd+'LightCoral'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'E0FFFF'+com.wjstc.Util.fd+'LightCyan'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'FAFAD2'+com.wjstc.Util.fd+'LightGoldenRodYellow'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'D3D3D3'+com.wjstc.Util.fd+'LightGrey'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'90EE90'+com.wjstc.Util.fd+'LightGreen'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'FFB6C1'+com.wjstc.Util.fd+'LightPink'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'FFA07A'+com.wjstc.Util.fd+'LightSalmon'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'20B2AA'+com.wjstc.Util.fd+'LightSeaGreen'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'87CEFA'+com.wjstc.Util.fd+'LightSkyBlue'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'8470FF'+com.wjstc.Util.fd+'LightSlateBlue'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'778899'+com.wjstc.Util.fd+'LightSlateGray'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'B0C4DE'+com.wjstc.Util.fd+'LightSteelBlue'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'FFFFE0'+com.wjstc.Util.fd+'LightYellow'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'00FF00'+com.wjstc.Util.fd+'Lime'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'32CD32'+com.wjstc.Util.fd+'LimeGreen'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'FAF0E6'+com.wjstc.Util.fd+'Linen'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'FF00FF'+com.wjstc.Util.fd+'Magenta'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'800000'+com.wjstc.Util.fd+'Maroon'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'66CDAA'+com.wjstc.Util.fd+'MediumAquaMarine'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'0000CD'+com.wjstc.Util.fd+'MediumBlue'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'BA55D3'+com.wjstc.Util.fd+'MediumOrchid'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'9370D8'+com.wjstc.Util.fd+'MediumPurple'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'3CB371'+com.wjstc.Util.fd+'MediumSeaGreen'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'7B68EE'+com.wjstc.Util.fd+'MediumSlateBlue'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'00FA9A'+com.wjstc.Util.fd+'MediumSpringGreen'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'48D1CC'+com.wjstc.Util.fd+'MediumTurquoise'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'C71585'+com.wjstc.Util.fd+'MediumVioletRed'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'191970'+com.wjstc.Util.fd+'MidnightBlue'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'F5FFFA'+com.wjstc.Util.fd+'MintCream'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'FFE4E1'+com.wjstc.Util.fd+'MistyRose'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'FFE4B5'+com.wjstc.Util.fd+'Moccasin'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'FFDEAD'+com.wjstc.Util.fd+'NavajoWhite'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'000080'+com.wjstc.Util.fd+'Navy'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'FDF5E6'+com.wjstc.Util.fd+'OldLace'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'808000'+com.wjstc.Util.fd+'Olive'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'6B8E23'+com.wjstc.Util.fd+'OliveDrab'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'FFA500'+com.wjstc.Util.fd+'Orange'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'FF4500'+com.wjstc.Util.fd+'OrangeRed'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'DA70D6'+com.wjstc.Util.fd+'Orchid'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'EEE8AA'+com.wjstc.Util.fd+'PaleGoldenRod'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'98FB98'+com.wjstc.Util.fd+'PaleGreen'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'AFEEEE'+com.wjstc.Util.fd+'PaleTurquoise'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'D87093'+com.wjstc.Util.fd+'PaleVioletRed'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'FFEFD5'+com.wjstc.Util.fd+'PapayaWhip'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'FFDAB9'+com.wjstc.Util.fd+'PeachPuff'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'CD853F'+com.wjstc.Util.fd+'Peru'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'FFC0CB'+com.wjstc.Util.fd+'Pink'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'DDA0DD'+com.wjstc.Util.fd+'Plum'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'B0E0E6'+com.wjstc.Util.fd+'PowderBlue'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'800080'+com.wjstc.Util.fd+'Purple'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'FF0000'+com.wjstc.Util.fd+'Red'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'BC8F8F'+com.wjstc.Util.fd+'RosyBrown'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'4169E1'+com.wjstc.Util.fd+'RoyalBlue'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'8B4513'+com.wjstc.Util.fd+'SaddleBrown'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'FA8072'+com.wjstc.Util.fd+'Salmon'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'F4A460'+com.wjstc.Util.fd+'SandyBrown'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'2E8B57'+com.wjstc.Util.fd+'SeaGreen'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'FFF5EE'+com.wjstc.Util.fd+'SeaShell'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'A0522D'+com.wjstc.Util.fd+'Sienna'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'C0C0C0'+com.wjstc.Util.fd+'Silver'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'87CEEB'+com.wjstc.Util.fd+'SkyBlue'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'6A5ACD'+com.wjstc.Util.fd+'SlateBlue'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'708090'+com.wjstc.Util.fd+'SlateGray'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'FFFAFA'+com.wjstc.Util.fd+'Snow'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'00FF7F'+com.wjstc.Util.fd+'SpringGreen'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'4682B4'+com.wjstc.Util.fd+'SteelBlue'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'D2B48C'+com.wjstc.Util.fd+'Tan'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'008080'+com.wjstc.Util.fd+'Teal'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'D8BFD8'+com.wjstc.Util.fd+'Thistle'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'FF6347'+com.wjstc.Util.fd+'Tomato'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'40E0D0'+com.wjstc.Util.fd+'Turquoise'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'EE82EE'+com.wjstc.Util.fd+'Violet'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'D02090'+com.wjstc.Util.fd+'VioletRed'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'F5DEB3'+com.wjstc.Util.fd+'Wheat'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'FFFFFF'+com.wjstc.Util.fd+'White'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'F5F5F5'+com.wjstc.Util.fd+'WhiteSmoke'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'FFFF00'+com.wjstc.Util.fd+'Yellow'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'9ACD32'+com.wjstc.Util.fd+'YellowGreen'+com.wjstc.Util.fd);com.wjstc.ColorPicker.cw=new Array(' '+com.wjstc.Util.fd+'00FFFF'+com.wjstc.Util.fd+'Aqua'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'000000'+com.wjstc.Util.fd+'Black'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'0000FF'+com.wjstc.Util.fd+'Blue'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'FF00FF'+com.wjstc.Util.fd+'Fuchsia'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'808080'+com.wjstc.Util.fd+'Gray'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'008000'+com.wjstc.Util.fd+'Green'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'00FF00'+com.wjstc.Util.fd+'Lime'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'800000'+com.wjstc.Util.fd+'Maroon'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'000080'+com.wjstc.Util.fd+'Navy'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'808000'+com.wjstc.Util.fd+'Olive'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'800080'+com.wjstc.Util.fd+'Purple'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'FF0000'+com.wjstc.Util.fd+'Red'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'C0C0C0'+com.wjstc.Util.fd+'Silver'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'008080'+com.wjstc.Util.fd+'Teal'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'FFFFFF'+com.wjstc.Util.fd+'White'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'FFFF00'+com.wjstc.Util.fd+'Yellow'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'000000'+com.wjstc.Util.fd+'rgb(00,00,00)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'000033'+com.wjstc.Util.fd+'rgb(00,00,33)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'000066'+com.wjstc.Util.fd+'rgb(00,00,66)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'000099'+com.wjstc.Util.fd+'rgb(00,00,99)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'0000CC'+com.wjstc.Util.fd+'rgb(00,00,CC)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'0000FF'+com.wjstc.Util.fd+'rgb(00,00,FF)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'003300'+com.wjstc.Util.fd+'rgb(00,33,00)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'003333'+com.wjstc.Util.fd+'rgb(00,33,33)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'003366'+com.wjstc.Util.fd+'rgb(00,33,66)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'003399'+com.wjstc.Util.fd+'rgb(00,33,99)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'0033CC'+com.wjstc.Util.fd+'rgb(00,33,CC)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'0033FF'+com.wjstc.Util.fd+'rgb(00,33,FF)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'006600'+com.wjstc.Util.fd+'rgb(00,66,00)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'006633'+com.wjstc.Util.fd+'rgb(00,66,33)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'006666'+com.wjstc.Util.fd+'rgb(00,66,66)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'006699'+com.wjstc.Util.fd+'rgb(00,66,99)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'0066CC'+com.wjstc.Util.fd+'rgb(00,66,CC)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'0066FF'+com.wjstc.Util.fd+'rgb(00,66,FF)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'009900'+com.wjstc.Util.fd+'rgb(00,99,00)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'009933'+com.wjstc.Util.fd+'rgb(00,99,33)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'009966'+com.wjstc.Util.fd+'rgb(00,99,66)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'009999'+com.wjstc.Util.fd+'rgb(00,99,99)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'0099CC'+com.wjstc.Util.fd+'rgb(00,99,CC)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'0099FF'+com.wjstc.Util.fd+'rgb(00,99,FF)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'00CC00'+com.wjstc.Util.fd+'rgb(00,CC,00)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'00CC33'+com.wjstc.Util.fd+'rgb(00,CC,33)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'00CC66'+com.wjstc.Util.fd+'rgb(00,CC,66)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'00CC99'+com.wjstc.Util.fd+'rgb(00,CC,99)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'00CCCC'+com.wjstc.Util.fd+'rgb(00,CC,CC)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'00CCFF'+com.wjstc.Util.fd+'rgb(00,CC,FF)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'00FF00'+com.wjstc.Util.fd+'rgb(00,FF,00)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'00FF33'+com.wjstc.Util.fd+'rgb(00,FF,33)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'00FF66'+com.wjstc.Util.fd+'rgb(00,FF,66)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'00FF99'+com.wjstc.Util.fd+'rgb(00,FF,99)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'00FFCC'+com.wjstc.Util.fd+'rgb(00,FF,CC)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'00FFFF'+com.wjstc.Util.fd+'rgb(00,FF,FF)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'330000'+com.wjstc.Util.fd+'rgb(33,00,00)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'330033'+com.wjstc.Util.fd+'rgb(33,00,33)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'330066'+com.wjstc.Util.fd+'rgb(33,00,66)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'330099'+com.wjstc.Util.fd+'rgb(33,00,99)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'3300CC'+com.wjstc.Util.fd+'rgb(33,00,CC)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'3300FF'+com.wjstc.Util.fd+'rgb(33,00,FF)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'333300'+com.wjstc.Util.fd+'rgb(33,33,00)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'333333'+com.wjstc.Util.fd+'rgb(33,33,33)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'333366'+com.wjstc.Util.fd+'rgb(33,33,66)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'333399'+com.wjstc.Util.fd+'rgb(33,33,99)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'3333CC'+com.wjstc.Util.fd+'rgb(33,33,CC)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'3333FF'+com.wjstc.Util.fd+'rgb(33,33,FF)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'336600'+com.wjstc.Util.fd+'rgb(33,66,00)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'336633'+com.wjstc.Util.fd+'rgb(33,66,33)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'336666'+com.wjstc.Util.fd+'rgb(33,66,66)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'336699'+com.wjstc.Util.fd+'rgb(33,66,99)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'3366CC'+com.wjstc.Util.fd+'rgb(33,66,CC)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'3366FF'+com.wjstc.Util.fd+'rgb(33,66,FF)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'339900'+com.wjstc.Util.fd+'rgb(33,99,00)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'339933'+com.wjstc.Util.fd+'rgb(33,99,33)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'339966'+com.wjstc.Util.fd+'rgb(33,99,66)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'339999'+com.wjstc.Util.fd+'rgb(33,99,99)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'3399CC'+com.wjstc.Util.fd+'rgb(33,99,CC)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'3399FF'+com.wjstc.Util.fd+'rgb(33,99,FF)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'33CC00'+com.wjstc.Util.fd+'rgb(33,CC,00)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'33CC33'+com.wjstc.Util.fd+'rgb(33,CC,33)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'33CC66'+com.wjstc.Util.fd+'rgb(33,CC,66)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'33CC99'+com.wjstc.Util.fd+'rgb(33,CC,99)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'33CCCC'+com.wjstc.Util.fd+'rgb(33,CC,CC)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'33CCFF'+com.wjstc.Util.fd+'rgb(33,CC,FF)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'33FF00'+com.wjstc.Util.fd+'rgb(33,FF,00)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'33FF33'+com.wjstc.Util.fd+'rgb(33,FF,33)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'33FF66'+com.wjstc.Util.fd+'rgb(33,FF,66)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'33FF99'+com.wjstc.Util.fd+'rgb(33,FF,99)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'33FFCC'+com.wjstc.Util.fd+'rgb(33,FF,CC)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'33FFFF'+com.wjstc.Util.fd+'rgb(33,FF,FF)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'660000'+com.wjstc.Util.fd+'rgb(66,00,00)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'660033'+com.wjstc.Util.fd+'rgb(66,00,33)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'660066'+com.wjstc.Util.fd+'rgb(66,00,66)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'660099'+com.wjstc.Util.fd+'rgb(66,00,99)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'6600CC'+com.wjstc.Util.fd+'rgb(66,00,CC)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'6600FF'+com.wjstc.Util.fd+'rgb(66,00,FF)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'663300'+com.wjstc.Util.fd+'rgb(66,33,00)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'663333'+com.wjstc.Util.fd+'rgb(66,33,33)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'663366'+com.wjstc.Util.fd+'rgb(66,33,66)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'663399'+com.wjstc.Util.fd+'rgb(66,33,99)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'6633CC'+com.wjstc.Util.fd+'rgb(66,33,CC)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'6633FF'+com.wjstc.Util.fd+'rgb(66,33,FF)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'666600'+com.wjstc.Util.fd+'rgb(66,66,00)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'666633'+com.wjstc.Util.fd+'rgb(66,66,33)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'666666'+com.wjstc.Util.fd+'rgb(66,66,66)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'666699'+com.wjstc.Util.fd+'rgb(66,66,99)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'6666CC'+com.wjstc.Util.fd+'rgb(66,66,CC)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'6666FF'+com.wjstc.Util.fd+'rgb(66,66,FF)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'669900'+com.wjstc.Util.fd+'rgb(66,99,00)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'669933'+com.wjstc.Util.fd+'rgb(66,99,33)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'669966'+com.wjstc.Util.fd+'rgb(66,99,66)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'669999'+com.wjstc.Util.fd+'rgb(66,99,99)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'6699CC'+com.wjstc.Util.fd+'rgb(66,99,CC)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'6699FF'+com.wjstc.Util.fd+'rgb(66,99,FF)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'66CC00'+com.wjstc.Util.fd+'rgb(66,CC,00)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'66CC33'+com.wjstc.Util.fd+'rgb(66,CC,33)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'66CC66'+com.wjstc.Util.fd+'rgb(66,CC,66)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'66CC99'+com.wjstc.Util.fd+'rgb(66,CC,99)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'66CCCC'+com.wjstc.Util.fd+'rgb(66,CC,CC)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'66CCFF'+com.wjstc.Util.fd+'rgb(66,CC,FF)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'66FF00'+com.wjstc.Util.fd+'rgb(66,FF,00)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'66FF33'+com.wjstc.Util.fd+'rgb(66,FF,33)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'66FF66'+com.wjstc.Util.fd+'rgb(66,FF,66)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'66FF99'+com.wjstc.Util.fd+'rgb(66,FF,99)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'66FFCC'+com.wjstc.Util.fd+'rgb(66,FF,CC)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'66FFFF'+com.wjstc.Util.fd+'rgb(66,FF,FF)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'990000'+com.wjstc.Util.fd+'rgb(99,00,00)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'990033'+com.wjstc.Util.fd+'rgb(99,00,33)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'990066'+com.wjstc.Util.fd+'rgb(99,00,66)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'990099'+com.wjstc.Util.fd+'rgb(99,00,99)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'9900CC'+com.wjstc.Util.fd+'rgb(99,00,CC)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'9900FF'+com.wjstc.Util.fd+'rgb(99,00,FF)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'993300'+com.wjstc.Util.fd+'rgb(99,33,00)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'993333'+com.wjstc.Util.fd+'rgb(99,33,33)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'993366'+com.wjstc.Util.fd+'rgb(99,33,66)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'993399'+com.wjstc.Util.fd+'rgb(99,33,99)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'9933CC'+com.wjstc.Util.fd+'rgb(99,33,CC)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'9933FF'+com.wjstc.Util.fd+'rgb(99,33,FF)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'996600'+com.wjstc.Util.fd+'rgb(99,66,00)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'996633'+com.wjstc.Util.fd+'rgb(99,66,33)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'996666'+com.wjstc.Util.fd+'rgb(99,66,66)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'996699'+com.wjstc.Util.fd+'rgb(99,66,99)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'9966CC'+com.wjstc.Util.fd+'rgb(99,66,CC)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'9966FF'+com.wjstc.Util.fd+'rgb(99,66,FF)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'999900'+com.wjstc.Util.fd+'rgb(99,99,00)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'999933'+com.wjstc.Util.fd+'rgb(99,99,33)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'999966'+com.wjstc.Util.fd+'rgb(99,99,66)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'999999'+com.wjstc.Util.fd+'rgb(99,99,99)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'9999CC'+com.wjstc.Util.fd+'rgb(99,99,CC)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'9999FF'+com.wjstc.Util.fd+'rgb(99,99,FF)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'99CC00'+com.wjstc.Util.fd+'rgb(99,CC,00)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'99CC33'+com.wjstc.Util.fd+'rgb(99,CC,33)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'99CC66'+com.wjstc.Util.fd+'rgb(99,CC,66)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'99CC99'+com.wjstc.Util.fd+'rgb(99,CC,99)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'99CCCC'+com.wjstc.Util.fd+'rgb(99,CC,CC)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'99CCFF'+com.wjstc.Util.fd+'rgb(99,CC,FF)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'99FF00'+com.wjstc.Util.fd+'rgb(99,FF,00)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'99FF33'+com.wjstc.Util.fd+'rgb(99,FF,33)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'99FF66'+com.wjstc.Util.fd+'rgb(99,FF,66)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'99FF99'+com.wjstc.Util.fd+'rgb(99,FF,99)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'99FFCC'+com.wjstc.Util.fd+'rgb(99,FF,CC)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'99FFFF'+com.wjstc.Util.fd+'rgb(99,FF,FF)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'CC0000'+com.wjstc.Util.fd+'rgb(CC,00,00)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'CC0033'+com.wjstc.Util.fd+'rgb(CC,00,33)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'CC0066'+com.wjstc.Util.fd+'rgb(CC,00,66)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'CC0099'+com.wjstc.Util.fd+'rgb(CC,00,99)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'CC00CC'+com.wjstc.Util.fd+'rgb(CC,00,CC)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'CC00FF'+com.wjstc.Util.fd+'rgb(CC,00,FF)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'CC3300'+com.wjstc.Util.fd+'rgb(CC,33,00)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'CC3333'+com.wjstc.Util.fd+'rgb(CC,33,33)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'CC3366'+com.wjstc.Util.fd+'rgb(CC,33,66)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'CC3399'+com.wjstc.Util.fd+'rgb(CC,33,99)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'CC33CC'+com.wjstc.Util.fd+'rgb(CC,33,CC)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'CC33FF'+com.wjstc.Util.fd+'rgb(CC,33,FF)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'CC6600'+com.wjstc.Util.fd+'rgb(CC,66,00)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'CC6633'+com.wjstc.Util.fd+'rgb(CC,66,33)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'CC6666'+com.wjstc.Util.fd+'rgb(CC,66,66)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'CC6699'+com.wjstc.Util.fd+'rgb(CC,66,99)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'CC66CC'+com.wjstc.Util.fd+'rgb(CC,66,CC)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'CC66FF'+com.wjstc.Util.fd+'rgb(CC,66,FF)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'CC9900'+com.wjstc.Util.fd+'rgb(CC,99,00)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'CC9933'+com.wjstc.Util.fd+'rgb(CC,99,33)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'CC9966'+com.wjstc.Util.fd+'rgb(CC,99,66)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'CC9999'+com.wjstc.Util.fd+'rgb(CC,99,99)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'CC99CC'+com.wjstc.Util.fd+'rgb(CC,99,CC)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'CC99FF'+com.wjstc.Util.fd+'rgb(CC,99,FF)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'CCCC00'+com.wjstc.Util.fd+'rgb(CC,CC,00)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'CCCC33'+com.wjstc.Util.fd+'rgb(CC,CC,33)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'CCCC66'+com.wjstc.Util.fd+'rgb(CC,CC,66)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'CCCC99'+com.wjstc.Util.fd+'rgb(CC,CC,99)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'CCCCCC'+com.wjstc.Util.fd+'rgb(CC,CC,CC)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'CCCCFF'+com.wjstc.Util.fd+'rgb(CC,CC,FF)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'CCFF00'+com.wjstc.Util.fd+'rgb(CC,FF,00)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'CCFF33'+com.wjstc.Util.fd+'rgb(CC,FF,33)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'CCFF66'+com.wjstc.Util.fd+'rgb(CC,FF,66)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'CCFF99'+com.wjstc.Util.fd+'rgb(CC,FF,99)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'CCFFCC'+com.wjstc.Util.fd+'rgb(CC,FF,CC)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'CCFFFF'+com.wjstc.Util.fd+'rgb(CC,FF,FF)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'FF0000'+com.wjstc.Util.fd+'rgb(FF,00,00)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'FF0033'+com.wjstc.Util.fd+'rgb(FF,00,33)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'FF0066'+com.wjstc.Util.fd+'rgb(FF,00,66)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'FF0099'+com.wjstc.Util.fd+'rgb(FF,00,99)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'FF00CC'+com.wjstc.Util.fd+'rgb(FF,00,CC)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'FF00FF'+com.wjstc.Util.fd+'rgb(FF,00,FF)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'FF3300'+com.wjstc.Util.fd+'rgb(FF,33,00)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'FF3333'+com.wjstc.Util.fd+'rgb(FF,33,33)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'FF3366'+com.wjstc.Util.fd+'rgb(FF,33,66)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'FF3399'+com.wjstc.Util.fd+'rgb(FF,33,99)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'FF33CC'+com.wjstc.Util.fd+'rgb(FF,33,CC)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'FF33FF'+com.wjstc.Util.fd+'rgb(FF,33,FF)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'FF6600'+com.wjstc.Util.fd+'rgb(FF,66,00)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'FF6633'+com.wjstc.Util.fd+'rgb(FF,66,33)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'FF6666'+com.wjstc.Util.fd+'rgb(FF,66,66)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'FF6699'+com.wjstc.Util.fd+'rgb(FF,66,99)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'FF66CC'+com.wjstc.Util.fd+'rgb(FF,66,CC)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'FF66FF'+com.wjstc.Util.fd+'rgb(FF,66,FF)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'FF9900'+com.wjstc.Util.fd+'rgb(FF,99,00)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'FF9933'+com.wjstc.Util.fd+'rgb(FF,99,33)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'FF9966'+com.wjstc.Util.fd+'rgb(FF,99,66)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'FF9999'+com.wjstc.Util.fd+'rgb(FF,99,99)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'FF99CC'+com.wjstc.Util.fd+'rgb(FF,99,CC)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'FF99FF'+com.wjstc.Util.fd+'rgb(FF,99,FF)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'FFCC00'+com.wjstc.Util.fd+'rgb(FF,CC,00)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'FFCC33'+com.wjstc.Util.fd+'rgb(FF,CC,33)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'FFCC66'+com.wjstc.Util.fd+'rgb(FF,CC,66)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'FFCC99'+com.wjstc.Util.fd+'rgb(FF,CC,99)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'FFCCCC'+com.wjstc.Util.fd+'rgb(FF,CC,CC)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'FFCCFF'+com.wjstc.Util.fd+'rgb(FF,CC,FF)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'FFFF00'+com.wjstc.Util.fd+'rgb(FF,FF,00)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'FFFF33'+com.wjstc.Util.fd+'rgb(FF,FF,33)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'FFFF66'+com.wjstc.Util.fd+'rgb(FF,FF,66)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'FFFF99'+com.wjstc.Util.fd+'rgb(FF,FF,99)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'FFFFCC'+com.wjstc.Util.fd+'rgb(FF,FF,CC)'+com.wjstc.Util.fd,' '+com.wjstc.Util.fd+'FFFFFF'+com.wjstc.Util.fd+'rgb(FF,FF,FF)'+com.wjstc.Util.fd);com.wjstc.ColorPicker.oDefaultColorPickerConfig={draggable:'Y',navigation:[0,1,2,3],zIndexValue:100,formatInd:1,size:1.00,titleBackground:'#FAF7E6',mainBorderColor:'#999999',bodyBackground:'#F6F6F6',footerBackground:'#FAF7E6',buttonStyle:'border:1px solid #999999;',selectedBorderOver:'#666666',selectedBorderDowm:'#000000',selectedBgOver:'#FFD494',selectedBgDown:'#FFB874',inputStyle:'border:1px solid #7F9DB9;color:#000000;background-color:#ffffff;font-family:Arial,Verdana,San-serif;',currentColor:'#FFA500'};com.wjstc.ColorPicker.ColorPicker=function(draggable,navigation,zIndexValue,formatInd,size,titleBackground,mainBorderColor,bodyBackground,footerBackground,buttonStyle,selectedBorderOver,selectedBorderDown,selectedBgOver,selectedBgDown,inputStyle,currentColor){this.draggable=(typeof(draggable)!='undefined')?draggable:'Y';this.navigation=(typeof(navigation)!='undefined')?navigation:[0,1,2,3];this.zIndexValue=(typeof(zIndexValue)!='undefined')?zIndexValue:100;this.formatInd=(typeof(formatInd)!='undefined')?formatInd:1;this.size=(typeof(size)!='undefined')?size:1.00;this.titleBackground=(typeof(titleBackground)!='undefined')?titleBackground:'#FAF7E6';this.mainBorderColor=(typeof(mainBorderColor)!='undefined')?mainBorderColor:'#999999';this.bodyBackground=(typeof(bodyBackground)!='undefined')?bodyBackground:'#E6E6E6';this.footerBackground=(typeof(footerBackground)!='undefined')?footerBackground:'#FAF7E6';this.buttonStyle=(typeof(buttonStyle)!='undefined')?buttonStyle:'border:1px solid #999999;';this.selectedBorderOver=(typeof(selectedBorderOver)!='undefined')?selectedBorderOver:'#000000';this.selectedBorderDown=(typeof(selectedBorderDown)!='undefined')?selectedBorderDown:'#000000';this.selectedBgOver=(typeof(selectedBgOver)!='undefined')?selectedBgOver:'#FFD494';this.selectedBgDown=(typeof(selectedBgDown)!='undefined')?selectedBgDown:'#FFB874';this.inputStyle=(typeof(inputStyle)!='undefined')?inputStyle:'border:1px solid #7F9DB9;color:#000000;background-color:#ffffff;font-family:Arial,Verdana,San-serif;';this.currentColor=(typeof(currentColor)!='undefined')?currentColor:'#FFA500';this.textStyle='font-weight:normal; font-size:1em; color:black; font-family:Arial;';this.allPages=[this.ao,this.at,this.am,this.an];this.allPageTitles=['Color Picker','Color Disk','Color Square','Color Palette'];this.cp_div_id='com.wjstc.colorPickerDiv';this.cp_body_id='com.wjstc.colorPickerBody';this.pages=[this.ao,this.at,this.am,this.an];this.pageTitles=['Color Picker','Color Disk','Color Square','Color Palette'];this.formatTitles=['Hex','HTML Hex','Delphy Hex','VB Hex','C++ Hex','RGB Values','HSV (HSB)','CMYK'];this.currentPage=0;this.charset='utf-8';this.fieldId='';this.colorpicker=document.createElement('div');this.colorpicker.style.border='0px dotted #333';this.colorpicker.style.backgroundColor='transparent';this.colorpicker.style.position='absolute';com.wjstc.Common.moveToXY(this.colorpicker,com.wjstc.Common.getPageScrollX(),com.wjstc.Common.getPageScrollY());this.colorpicker.style.width='auto';this.colorpicker.style.zIndex=this.zIndexValue;this.colorpicker.style.padding='0px';this.colorpicker.style.fontFamily='Verdana,Helvetica,sans-serif';this.colorpicker.style.fontSize='1em';this.colorpicker.innerHTML='';this.colorpicker.id=this.cp_div_id;};com.wjstc.ColorPicker.ColorPicker.prototype.setColorPicker=function(oColorPickerConfigs){com.wjstc.Util.parseObjectConfigs(this,com.wjstc.ColorPicker.oDefaultColorPickerConfig,'com.wjstc.ColorPicker.ColorPicker.prototype.setColorPicker=function(com.wjstc.ColorPicker.oDefaultColorPickerConfig)','com.wjstc.ColorPicker.oDefaultColorPickerConfig');if(typeof(oColorPickerConfigs)=='undefined'){return this;}if(!oColorPickerConfigs||typeof(oColorPickerConfigs)!='object'){throw new Error("Parameter oColorPickerConfigs=["+oColorPickerConfigs+"] in function 'com.wjstc.ColorPicker.ColorPicker.prototype.setColorPicker=function(oColorPickerConfigs)' is not an Object .");return this;}com.wjstc.Util.parseObjectConfigs(this,oColorPickerConfigs,'com.wjstc.ColorPicker.ColorPicker.prototype.setColorPicker=function(oColorPickerConfigs)','oColorPickerConfigs');return this;};com.wjstc.ColorPicker.ColorPicker.prototype.show=function(navigation,color,x,y,locale,formatInd,size){this.navigation=navigation;if(typeof(locale)!='undefined'&&locale!=null){com.wjstc.Util.setLocale(locale);}this.currentColor=(color!='')?color:'#FFA500';this.aM();if(typeof(formatInd)!='undefined'){this.formatInd=formatInd;}if(typeof(size)!='undefined'){this.size=size;}this.colorpicker.style.visibility='hidden';if(this.colorpicker.parentNode!=document.body){document.body.appendChild(this.colorpicker);}this.colorpicker.style.fontSize=this.size+'em';this.colorpicker.innerHTML=this.as();this.ab(0);com.wjstc.HideSelectIE6.hs.registerObj(this.cp_div_id);this.colorpicker.style.visibility='visible';var po=this.colorpicker;var poX=(com.wjstc.Util.getViewportW()-com.wjstc.Common.getW(po)-20)+com.wjstc.Common.getPageScrollX();var poY=(com.wjstc.Util.getViewportH()-com.wjstc.Common.getH(po)-20)+com.wjstc.Common.getPageScrollY();if(poX<x){x=poX;}if(poY<y){y=poY;}com.wjstc.Common.moveToXY(this.colorpicker,x,y);};com.wjstc.ColorPicker.ColorPicker.prototype.edit=function(navigation,fieldId,size,locale,formatInd,onSaveFn,event,startColor){this.onSaveFn='';if(typeof(onSaveFn)!='undefined'){this.onSaveFn=onSaveFn;}if(typeof(formatInd)!='undefined'){this.formatInd=formatInd;}else{this.formatInd=1;}if(typeof(locale)=='undefined'){locale=null;}if(typeof(size)!='undefined'){this.size=size;}else{this.size='xx-large';}if(typeof(fieldId)!='undefined'){this.fieldId=fieldId;}else{this.fieldId='';}var y=50;var x=50;var c='#ffa500';var o=null;if(this.fieldId!=''){var o=com.wjstc.Common.getObjById(this.fieldId);if(o){y=(com.wjstc.Common.getY(o)+com.wjstc.Common.getH(o)+2);x=com.wjstc.Common.getX(o);if(o.value!=null){c=o.value+'';}}else{throw new Error("Programmer, Please specify input type text or textarea for Color Picker fieldId.");}}else{if(typeof(fieldId)!='undefined'){c=startColor;}y=com.wjstc.Common.getMouseScrollY(event);x=com.wjstc.Common.getMouseScrollX(event);}this.show(navigation,c,x,y,locale,this.formatInd,this.size);};com.wjstc.ColorPicker.ColorPicker.prototype.showColorPicker=function(fieldId,onSaveFn,event){this.edit(this.navigation,fieldId,this.size,null,this.formatInd,onSaveFn,event,'#ffa500');com.wjstc.Common.getObjById(this.cp_div_id).style.zIndex=this.zIndexValue;};com.wjstc.ColorPicker.ColorPicker.prototype.aa=function(iR,iG,iB){var f=document.forms[com.wjstc.ColorPicker.formName];if(((iR-0)==0&&(iG-0)==0&&(iB-0)==0)&&(f.com_wjstc_ColorPicker_iR.value==''||f.com_wjstc_ColorPicker_iR.value==''||f.com_wjstc_ColorPicker_iR.value=='')){return;}var r=(f.com_wjstc_ColorPicker_iR.value-0)+(iR-0);var g=(f.com_wjstc_ColorPicker_iG.value-0)+(iG-0);var b=(f.com_wjstc_ColorPicker_iB.value-0)+(iB-0);this.T(r,g,b);};com.wjstc.ColorPicker.ColorPicker.prototype.aH=function(e){var f=document.forms[com.wjstc.ColorPicker.formName];var r=255-(f.com_wjstc_ColorPicker_iR.value-0);var g=255-(f.com_wjstc_ColorPicker_iG.value-0);var b=255-(f.com_wjstc_ColorPicker_iB.value-0);this.T(r,g,b);};com.wjstc.ColorPicker.ColorPicker.prototype.aA=function(e){var f=document.forms[com.wjstc.ColorPicker.formName];var b=(f.com_wjstc_ColorPicker_iR.value-0);var g=(f.com_wjstc_ColorPicker_iG.value-0);var r=(f.com_wjstc_ColorPicker_iB.value-0);this.T(r,g,b);};com.wjstc.ColorPicker.ColorPicker.prototype.ai=function(s){var i,c;var sl=s.length;var v='';s=s.toUpperCase();for(i=0;i<sl;++i){c=s.charAt(i);if('0123456789ABCDEF'.indexOf(c)>=0){v+=c;}}sl=v.length;if(sl>6){s=s.slice(0,6);}else{for(i=v.length;i<6;++i){v+='0';}}this.af(v);};com.wjstc.ColorPicker.ColorPicker.prototype.af=function(v){var rgb=com.wjstc.Util.HexToRGB(v);this.T(rgb.R,rgb.G,rgb.B);};com.wjstc.ColorPicker.ColorPicker.prototype.aB=function(){var f=document.forms[com.wjstc.ColorPicker.formName];var b=(f.com_wjstc_ColorPicker_iR.value-0);var g=(f.com_wjstc_ColorPicker_iG.value-0);var r=(f.com_wjstc_ColorPicker_iB.value-0);var min=1000;var si=0;var nc=com.wjstc.Common.getObjById(com.wjstc.ColorPicker.selectNamedColorsId).options;for(var i=1;i<nc.length;++i){var d=eval('0x'+nc[i].value);var r=(f.com_wjstc_ColorPicker_iR.value-(d>>16));var g=(f.com_wjstc_ColorPicker_iG.value-((d>>8)&0xFF));var b=(f.com_wjstc_ColorPicker_iB.value-(b=d&0xFF));if(r<0){r= -r};if(g<0){g= -g};if(b<0){b= -b};if(min>(r+g+b)){min=(r+g+b);si=i;}}nc.selectedIndex=si;this.af(nc[si].value);};com.wjstc.ColorPicker.ColorPicker.prototype.T=function(r,g,b){var f=document.forms[com.wjstc.ColorPicker.formName];if(r>255){r=255};if(g>255){g=255};if(b>255){b=255};if(r<0){r=0};if(g<0){g=0};if(b<0){b=0};f.com_wjstc_ColorPicker_iR.value=r+'';f.com_wjstc_ColorPicker_iG.value=g+'';f.com_wjstc_ColorPicker_iB.value=b+'';var v=com.wjstc.Common.getObjById('com_wjstc_ColorPicker_view');var h=com.wjstc.Util.intToStr((r<<16)+(g<<8)+b,16,6,'0');v.style.backgroundColor='#'+h;f.com_wjstc_ColorPicker_colorHexOut.value='#'+h;var nc=com.wjstc.Common.getObjById(com.wjstc.ColorPicker.selectNamedColorsId).options;var si=0;for(var i=0;i<nc.length;++i){if(h==nc[i].value){si=i;break;}}nc.selectedIndex=si;var fi=com.wjstc.Common.getObjById('com_wjstc_ColorPicker_format').selectedIndex;var uq=com.wjstc.Common.getObjById('com_wjstc_ColorPicker_useQuarters').checked;var co=com.wjstc.Common.getObjById('com_wjstc_ColorPicker_colorOut');var hx=com.wjstc.Util.intToStr((r+(g<<8)+(b<<16)),16,6,'0');if(fi==0){co.value=hx;}else if(fi==1){co.value='#'+h;}else if(fi==2){co.value='$00'+hx;}else if(fi==3){co.value='&h'+hx;}else if(fi==4){co.value='0x00'+hx;}else if(fi==5){co.value='rgb('+r+','+g+','+b+')';}else if(fi==6){var HSV=this.ax(r,g,b);co.value=HSV.H+','+HSV.S+','+HSV.V;}else if(fi==7){var CMYK=this.aP((255-r),(255-g),(255-b));co.value=CMYK.C+','+CMYK.M+','+CMYK.Y+','+CMYK.K;}if(uq){co.value='"'+co.value+'"';}this.currentColor='#'+h;};com.wjstc.ColorPicker.ColorPicker.prototype.ax=function(r,g,b){var max=r;var min=r;if(max<g){max=g};if(max<b){max=b};if(min>g){min=g};if(min>b){min=b};var H=0;if(max==min){H=0;}else if(max==r){H=Math.round(60*(g-b)/(max-min));if(g<b){H+=360;}}else if(max==r){H=Math.round(60*(b-r)/(max-min))+120;}else{H=Math.round(60*(r-g)/(max-min))+240;}var S=0;if(max>0){S=Math.round((1-min/max)*255);}return{H:H,S:S,V:max};};com.wjstc.ColorPicker.ColorPicker.prototype.aK=function(h,s,v){var Hi=Math.floor(h/60);var f=h/60-Hi;var p=Math.round(v*(1-s/255));var q=Math.round(v*(1-f*s/255));var t=Math.round(v*(1-(1-f)*s/255));if(Hi==0){return{R:v,G:t,B:p};}else if(Hi==1){return{R:q,G:v,B:p};}else if(Hi==2){return{R:p,G:v,B:t};}else if(Hi==3){return{R:p,G:q,B:v};}else if(Hi==4){return{R:t,G:p,B:v};}return{R:v,G:p,B:q};};com.wjstc.ColorPicker.ColorPicker.prototype.aP=function(c,m,y){var k=1;if((c/255)<k){k=c/255};if((m/255)<k){k=m/255};if((y/255)<k){k=y/255};var C=Math.round(((c/255-k)*100));var M=Math.round(((m/255-k)*100));var Y=Math.round(((y/255-k)*100));var K=Math.round((k*100));return{C:C,M:M,Y:Y,K:K};};com.wjstc.ColorPicker.ColorPicker.prototype.aR=function(c,m,y,k){var r=255-Math.round(2.55*(c+k));var g=255-Math.round(2.55*(m+k));var b=255-Math.round(2.55*(y+k));if(r<0)r=0;if(g<0)g=0;if(b<0)b=0;return{R:r,G:g,B:b};};com.wjstc.ColorPicker.Ajuster=function(Rid,Gid,Bid){this.mi=0;this.ma=255;this.gR=0;this.gG=0;this.gB=0;this.Rid=Rid;this.Gid=Gid;this.Bid=Bid;this.Id=0;};com.wjstc.ColorPicker.Ajuster.prototype.U=function(gR,gG,gB){this.gR=gR;this.gG=gG;this.gB=gB;this.Id=window.setInterval("com.wjstc.ColorPicker.cp.aO();",100);};com.wjstc.ColorPicker.Ajuster.prototype.I=function(e){this.gR=0;this.gG=0;this.gB=0;};com.wjstc.ColorPicker.ColorPicker.prototype.aO=function(){var v;var o=com.wjstc.ColorPicker.ajuster;var oR=com.wjstc.Common.getObjById(o.Rid);if((o.gR>0&&(oR.value-0)<o.ma)||(o.gR<0&&(oR.value-0)>o.mi)){v=(oR.value-0)+o.gR;if(v>=(o.ma-0)){v=o.ma;o.gR=0;}if(v<=(o.mi-0)){v=o.mi;o.gR=0;};oR.value=v;}var oG=com.wjstc.Common.getObjById(o.Gid);if((o.gG>0&&(oG.value-0)<o.ma)||(o.gG<0&&(oG.value-0)>o.mi)){v=(oG.value-0)+o.gG;if(v>=(o.ma-0)){v=o.ma;o.gG=0;}if(v<=(o.mi-0)){v=o.mi;o.gG=0;};oG.value=v;}var oB=com.wjstc.Common.getObjById(o.Bid);if((o.gB>0&&(oB.value-0)<o.ma)||(o.gB<0&&(oB.value-0)>o.mi)){v=(oB.value-0)+o.gB;if(v>=(o.ma-0)){v=o.ma;o.gB=0;}if(v<=(o.mi-0)){v=o.mi;o.gB=0;};oB.value=v;}this.aa(0,0,0);if(o.gR==0&&o.gG==0&&o.gB==0){window.clearInterval(o.Id);}};com.wjstc.ColorPicker.ColorPicker.prototype.aq=function(H,S,V){var r=V;var g=V;var b=V;if(S!=0){var h=H/60;var i=Math.floor(h);var a=V*(1-S);var b=V*(1-S*(h-i));var c=V*(1-S*(1-(h-i)));if(i==0){r=V;g=c;b=a}else if(i==1){r=b;g=V;b=a}else if(i==2){r=a;g=V;b=c}else if(i==3){r=a;g=b;b=V}else if(i==4){r=c;g=a;b=V}else{r=V;g=a;b=b}}return{R:Math.round(r*255),G:Math.round(g*255),B:Math.round(b*255)};};com.wjstc.ColorPicker.aS=function(Hdeg,S,V){H=Hdeg/360;if(S==0){R=V*255;G=V*255;B=V*255;}else{var_h=H*6;var_i=Math.floor(var_h);var_1=V*(1-S);var_2=V*(1-S*(var_h-var_i));var_3=V*(1-S*(1-(var_h-var_i)));if(var_i==0){var_r=V;var_g=var_3;var_b=var_1}else if(var_i==1){var_r=var_2;var_g=V;var_b=var_1}else if(var_i==2){var_r=var_1;var_g=V;var_b=var_3}else if(var_i==3){var_r=var_1;var_g=var_2;var_b=V}else if(var_i==4){var_r=var_3;var_g=var_1;var_b=V}else{var_r=V;var_g=var_1;var_b=var_2}R=Math.round(var_r*255);G=Math.round(var_g*255);B=Math.round(var_b*255);}return{R:R,G:G,B:B};};com.wjstc.ColorPicker.ColorPicker.prototype.ap=function(e){var S;var V;var rgb={R:255,G:255,B:255};var o=com.wjstc.Common.getObjById(com.wjstc.ColorPicker.colorDiskId);var x=com.wjstc.Common.getMouseScrollX(e)-com.wjstc.Common.getX(o);var y=com.wjstc.Common.getMouseScrollY(e)-com.wjstc.Common.getY(o);if(x<0||y<0||x>255||y>255){return '#FFFFFF';}var cartx=x-128;var carty=128-y;var cartx2=cartx*cartx;var carty2=carty*carty;var cartxs=(cartx<0)? -1:1;var cartys=(carty<0)? -1:1;var cartxn=cartx/128;var rraw=Math.sqrt(cartx2+carty2);var rnorm=rraw/128;var H=100;if(rraw==0){S=0;V=0;rgb={R:0,G:0,B:0};}else{var arad=Math.acos(cartx/rraw);var aradc=(carty>=0)?arad:2*Math.PI-arad;var H=360*aradc/(2*Math.PI);if(rnorm>1){S=1;V=1;rgb={R:255,G:255,B:255};}else if(rnorm>=.5){S=1-((rnorm-.5)*2);V=1;rgb=this.aq(H,S,V);}else{S=1;V=rnorm*2;rgb=this.aq(H,S,V);}}return '#'+com.wjstc.Util.intToStr((rgb.R<<16)+(rgb.G<<8)+rgb.B,16,6,'0');};com.wjstc.ColorPicker.ColorPicker.prototype.aF=function(e){var h=this.ap(e);this.ah(h);return false;};com.wjstc.ColorPicker.ColorPicker.prototype.aC=function(h){return this.ag(this.ap(h));};com.wjstc.ColorPicker.ColorPicker.prototype.ab=function(n){if(typeof(n)=='undefined'){n=this.navigation.length;}var pl=this.navigation.length;this.currentPage+=(n-0);if(this.currentPage>=pl){this.currentPage=0;}else if(this.currentPage<0){this.currentPage=pl-1;}this.pages[this.navigation[this.currentPage]].call(this);};com.wjstc.ColorPicker.ColorPicker.prototype.aM=function(){var a,al,v,vl,i,c,fl,rgb;var f=this.currentColor.toUpperCase();this.format='Hex';this.formatInd=0;if(f.indexOf('#')==0){this.format='HTML Hex';this.formatInd=1;f=f.slice(1);}else if(f.indexOf('$00')==0){this.format='Delphy Hex';this.formatInd=2;f=f.slice(3);}else if(f.indexOf('&H')==0){this.format='VB Hex';this.formatInd=3;f=f.slice(2);}else if(f.indexOf('0X00')==0){this.format='C++ Hex';this.formatInd=4;f=f.slice(4);}else if(f.indexOf('R')==0){this.format='RGB Values';this.formatInd=5;}else{a=f.split(',');al=a.length;if(al>3){this.format='CMYK';this.formatInd=7;}else if(al>2){this.format='HSV (HSB)';this.formatInd=6;}}fl=f.length;v='';if(this.formatInd<5){for(i=0;i<fl;++i){c=f.charAt(i);if('0123456789ABCDEF'.indexOf(c)>=0){v+=c;}}var vl=v.length;if(vl>6){f=f.slice(0,6);}else{for(i=v.length;i<6;++i){v+='0';}}if(this.formatInd!=1){this.currentColor='#'+f.slice(4,6)+f.slice(2,4)+f.slice(0,2);}}else{v='';for(i=0;i<fl;++i){c=f.charAt(i);if('0123456789,'.indexOf(c)>=0){v+=c;}}a=v.split(',');al=a.length;for(i=0;i<al;++i){a[i]=a[i]-0;}a.push(0,0,0,0);if(this.formatInd==6){if(a[0]>360)a[0]=360;if(a[1]>255)a[1]=255;if(a[2]>255)a[2]=255;rgb=this.aK(a[0],a[1],a[2])}else if(this.formatInd==7){if(a[0]>100)a[0]=100;if(a[1]>100)a[1]=100;if(a[2]>100)a[2]=100;if(a[3]>100)a[3]=100;rgb=this.aR(a[0],a[1],a[2],a[3])}else{if(a[0]>255)a[0]=255;if(a[1]>255)a[1]=255;if(a[2]>255)a[2]=255;rgb={R:a[0],G:a[1],B:a[2]};}this.currentColor='#'+com.wjstc.Util.intToStr((rgb.R<<16)+(rgb.G<<8)+rgb.B,16,6,'0');}};com.wjstc.ColorPicker.ColorPicker.prototype.ae=function(){com.wjstc.ColorPicker.cp.colorpicker.innerHTML=com.wjstc.ColorPicker.cp.as();com.wjstc.ColorPicker.cp.ab(0);var o=com.wjstc.Common.getObjById('com_wjstc_ColorPicker_hotspot');if(o){o.style.cursor='move';o.style.borderColor=com.wjstc.ColorPicker.cp.selectedBorderDown;o.style.backgroundColor=com.wjstc.ColorPicker.cp.selectedBgDown;o.innerHTML=com.wjstc.Util.t('Drag to move...');}o=com.wjstc.Common.getObjById('com_wjstc_ColorPicker_col_msg');if(o){o.innerHTML=com.wjstc.Util.t('Drag to move...');}};com.wjstc.ColorPicker.ColorPicker.prototype.closeColorPicker=function(){this.au();};com.wjstc.ColorPicker.ColorPicker.prototype.au=function(){this.colorpicker.style.visibility='hidden';};com.wjstc.ColorPicker.ColorPicker.prototype.aw=function(){if(this.fieldId!=''){var o=com.wjstc.Common.getObjById(this.fieldId);if(o){o.value=com.wjstc.Common.getObjById('com_wjstc_ColorPicker_colorOut').value;}}this.colorpicker.style.visibility='hidden';eval(this.onSaveFn);};com.wjstc.ColorPicker.ColorPicker.prototype.F=function(a,t){var i;var s=" onmouseover=\"this.style.cursor='"+((a[0]=='Drag to move...')?'move':'pointer')+"';var o=com.wjstc.Common.getObjById('com_wjstc_ColorPicker_col_msg'); if(o!=null){o.innerHTML='";for(i=0;i<a.length;++i){if(i>0){s+="&nbsp;";}s+=com.wjstc.Util.t(a[i]);}s+="';}; ";if(t){s+="return false;\" ";}return s;};com.wjstc.ColorPicker.ColorPicker.prototype.l=function(t){var s=" onmouseout=\"this.style.cursor='default';if(typeof(com)!='undefined'){var o=com.wjstc.Common.getObjById('com_wjstc_ColorPicker_col_msg'); if(o!=null){o.innerHTML='"+com.wjstc.Util.t('Select Color')+"';};}";if(t){s+="return false;\" ";}return s;};com.wjstc.ColorPicker.ColorPicker.prototype.D=function(a,t){var s=this.F(a,1)+this.l(t);return s;};com.wjstc.ColorPicker.ColorPicker.prototype.A=function(t){var s=" this.style.borderColor='"+this.selectedBorderOver+"';"+"this.style.backgroundColor='"+this.selectedBgOver+"';";if(t){s+="return false;\" ";}return s;};com.wjstc.ColorPicker.ColorPicker.prototype.aG=function(t){var s=" this.style.backgroundColor='"+this.bodyBackground+"'; "+"this.style.borderColor='"+this.bodyBackground+"';";if(t){s+="return false;\" ";}return s;};com.wjstc.ColorPicker.ColorPicker.prototype.ac=function(t){var s=" this.style.backgroundColor='"+this.titleBackground+"'; "+"this.style.borderColor='"+this.titleBackground+"';";if(t){s+="return false;\" ";}return s;};com.wjstc.ColorPicker.ColorPicker.prototype.aQ=function(t){var s=" this.style.backgroundColor='"+this.footerBackground+"'; "+"this.style.borderColor='"+this.footerBackground+"';";if(t){s+="return false;\" ";}return s;};com.wjstc.ColorPicker.ColorPicker.prototype.J=function(t){var s=" this.style.backgroundColor='"+this.footerBackground+"'; "+com.wjstc.Util.CSStoJScode(this.buttonStyle);if(t){s+="return false;\" ";}return s;};com.wjstc.ColorPicker.ColorPicker.prototype.L=function(t){var s=" onmousedown=\"this.style.borderColor='"+this.selectedBorderDown+"';"+"this.style.backgroundColor='"+this.selectedBgDown+"';";if(t){s+="return false;\" ";}return s;};com.wjstc.ColorPicker.ColorPicker.prototype.O=function(t){var s=" onmouseup=\"this.style.borderColor='"+this.selectedBorderOver+"';"+"this.style.backgroundColor='"+this.selectedBgOver+"';this.style.cursor='pointer';";if(t){s+="return false;\" ";}return s;};com.wjstc.ColorPicker.ColorPicker.prototype.Q=function(){var s=this.L(1)+this.O(1);return s;};com.wjstc.ColorPicker.ColorPicker.prototype.ar=function(o){com.wjstc.HideSelectIE6.hs.hideShowHS();};com.wjstc.ColorPicker.ColorPicker.prototype.ad=function(n){var pl=this.navigation.length-1;var i=this.currentPage+(n-0);if(i>pl){i=0;}if(i<0){i=pl;}var o=com.wjstc.Common.getObjById('com_wjstc_ColorPicker_col_msg');if(o!=null){o.innerHTML=com.wjstc.Util.t(this.pageTitles[this.navigation[i]]);}};com.wjstc.ColorPicker.ColorPicker.prototype.as=function(){var zoom=com.wjstc.Common.ZoomSensor.getZoom();var S_J=new com.wjstc.Util.StrJoin();S_J.put("<form name='"+com.wjstc.ColorPicker.formName+"'>");S_J.put("<table cellpadding='1' cellspacing='0' style='width:22em;vertical-align:middle; border: solid 2px "+this.mainBorderColor+"; background-color: "+this.bodyBackground+";'>");S_J.put("<tr>");S_J.put("<td style='background-color:"+this.titleBackground+";border: solid 1px "+this.mainBorderColor+"; border-width: 0px 0px 1px 0px;'>");S_J.put("<table cellpadding='0' cellspacing='0' border='0' bgcolor=red style='width:100%;'>");S_J.put("<tr>");S_J.put("<td style='width:1em;background-color:"+this.titleBackground+";"+" border: solid 1px "+this.titleBackground+";"+"padding:0px;vertical-align:middle;text-align: center;'");S_J.put(" onmouseover=\"this.style.cursor='pointer';com.wjstc.ColorPicker.cp.ad(-1);\"");S_J.put(this.A(1));S_J.put(this.l());S_J.put(this.ac(1));S_J.put(this.Q());S_J.put(" onclick=\"com.wjstc.ColorPicker.cp.ab(-1);com.wjstc.ColorPicker.cp.ad(-1);return false;\"><img src='img/a1b.gif' border='0' \/><\/td>");S_J.put("<td style='width:1em;background-color:"+this.titleBackground+";"+" border: solid 1px "+this.titleBackground+"; "+" padding:0px;vertical-align:middle;text-align: center;'");S_J.put(" onmouseover=\"this.style.cursor='pointer';com.wjstc.ColorPicker.cp.ad(1);\"");S_J.put(this.A(1));S_J.put(this.l());S_J.put(this.ac(1));S_J.put(this.Q());S_J.put(" onclick=\"com.wjstc.ColorPicker.cp.ab(1);com.wjstc.ColorPicker.cp.ad(1);return false;\"><img src='img/a2b.gif' border='0' \/><\/td>");S_J.put("<td id='com_wjstc_ColorPicker_hotspot' style='"+this.textStyle+"width:100%;background-color:"+this.titleBackground+";"+" border: solid 1px "+this.titleBackground+";  "+" padding:4px;vertical-align:middle;text-align: center;font-size:"+this.size+"em;' ");if(this.draggable=='Y'){S_J.put(this.L());S_J.put("this.style.cursor='move';com.wjstc.DragDrop.drag(com.wjstc.Common.getObjById('"+this.cp_div_id+"'),event,null,");if(com.wjstc.Util.isIE7&&(zoom-0)!=1.0){S_J.put("com.wjstc.ColorPicker.cp.ae");}else{S_J.put("com.wjstc.ColorPicker.cp.ar");}S_J.put(",com.wjstc.ColorPicker.cp.ae);return false;\"");S_J.put(this.O(1));S_J.put(this.F(['Drag to move...']));S_J.put("this.style.borderColor='"+this.selectedBorderOver+"';"+"this.style.backgroundColor='"+this.selectedBgOver+"';this.innerHTML='"+com.wjstc.Util.t('Drag to move...')+"';");S_J.put(this.A(1));S_J.put(this.l());S_J.put("this.innerHTML='"+com.wjstc.Util.t('Please pick a color')+"';");S_J.put(this.ac(1));}S_J.put(">"+com.wjstc.Util.t('Please pick a color')+"<\/td>");if(!com.wjstc.Util.tmp2){S_J.put("<td style='"+this.textStyle+"width:2em;background-color:"+this.titleBackground+";"+" border: solid 1px "+this.titleBackground+"; "+" padding:4px;vertical-align:middle;text-align:center;font-size:"+this.size+"em;'");S_J.put(this.F(['About the Color Picker']));S_J.put(this.A(1));S_J.put(" onclick=\"var o=com.wjstc.Common.getObjById('"+this.cp_body_id+"'); "+"if(o!=null){if(o.innerHTML.indexOf('www.ardentedge.com')<=0){o.innerHTML=com.wjstc.ColorPicker.cp.aN();}else{com.wjstc.ColorPicker.cp.ab(0);}};\"");S_J.put(this.Q());S_J.put(this.l());S_J.put(this.ac(1));S_J.put(">?</td>");}S_J.put("<td ");S_J.put("style='"+this.textStyle+"width:2em; background-color:"+this.titleBackground+";");S_J.put(" border: solid 1px "+this.titleBackground+";");S_J.put(" padding:4px;vertical-align:middle;text-align: center;font-size:"+this.size+"em;' ");S_J.put(this.F(['Cancel']));S_J.put(this.A(1));S_J.put(this.Q());S_J.put(this.l());S_J.put(this.ac(1));S_J.put(" onclick=\"com.wjstc.HideSelectIE6.hs.unregisterObj('"+this.cp_div_id+"');");S_J.put("com.wjstc.ColorPicker.cp.au();return false;\"");S_J.put("><img src='img/cancel.gif' style='vertical-align:bottom;' border='0' alt='Cancel' /><\/td>");S_J.put("</tr>");S_J.put("</table>");S_J.put("</td>");S_J.put("</tr>");S_J.put("<tr>");S_J.put("<td id='"+this.cp_body_id+"' align='left' style='border: solid 1px "+this.mainBorderColor+"; border-width: 0px 0px 1px 0px;'>");S_J.put("<\/td>");S_J.put("<\/tr>");S_J.put("<tr>");S_J.put("<td align='center'>");S_J.put("<table cellpadding='1' cellspacing='0' border='0' style='width:100%;vertical-align:middle; border: solid 0px "+this.bodyBackground+"; background-color: "+this.bodyBackground+";'>");S_J.put("<tr><td id='com_wjstc_ColorPicker_col_msg' style='"+this.textStyle+"background-color: "+this.footerBackground+"; border: solid 1px "+this.footerBackground+"; padding:4px; "+"text-align: center; vertical-align:middle;font-size:"+this.size+"em;' ");S_J.put(this.L());S_J.put("this.style.cursor='move';com.wjstc.DragDrop.drag(com.wjstc.Common.getObjById('"+this.cp_div_id+"'),event,null,");if(com.wjstc.Util.isIE7&&(zoom-0)!=1.0){S_J.put("com.wjstc.ColorPicker.cp.ae");}else{S_J.put("com.wjstc.ColorPicker.cp.ar");}S_J.put(",com.wjstc.ColorPicker.cp.ae);return false;\"");S_J.put(this.O(1));S_J.put(this.F(['Drag to move...']));S_J.put(this.A(1));S_J.put(this.l());S_J.put(this.aQ(1));S_J.put(">"+com.wjstc.Util.t('Select Color')+"<\/td><\/tr>");S_J.put("</table>");S_J.put("<\/td>");S_J.put("<\/tr>");S_J.put("</form>");S_J.put("<\/table>");return S_J.get();};com.wjstc.ColorPicker.ColorPicker.prototype.ao=function(){var i;var S_J=new com.wjstc.Util.StrJoin();S_J.put("<table style='width:100%;'>");S_J.put(" <tr>");S_J.put("  <td rowspan='2' id='com_wjstc_ColorPicker_view' style='width:100%;border:white 2px outset;'");S_J.put("    align='center' valign='middle'");S_J.put(this.D(['Edit','Output','Color'],1));S_J.put("    ><input name='com_wjstc_ColorPicker_colorHexOut' type='text' maxlength='7' ");S_J.put("  style='font-size:"+this.size+"em;text-align:center;width:5em;"+this.inputStyle+"'");S_J.put(" onblur=\"com.wjstc.ColorPicker.cp.ai(this.value);\" /></td>");S_J.put("  <td style='"+this.textStyle+"margin: 0px 2px 0px 2px;font-size:"+this.size+"em;'>"+com.wjstc.Util.t('Named Colors')+"</td>");S_J.put("  </tr>");S_J.put(" <tr>");S_J.put("  <td><select id='"+com.wjstc.ColorPicker.selectNamedColorsId+"' name='com_wjstc_ColorPicker_named'");S_J.put(" id='com_wjstc_ColorPicker_named' style='font-size:"+this.size+"em;width:11.5em;"+this.inputStyle+"'");S_J.put("    onchange=\"if(this.selectedIndex!=0){com.wjstc.ColorPicker.cp.af(this.value);};\"");S_J.put(this.D(['Select','Named','Color'],1));S_J.put("    ></select></td>");S_J.put(" </tr>");S_J.put("</table>");S_J.put("<table cellpadding='0' cellspacing='1'  style='width:100%;border:0px solid red;'>");S_J.put(" <tr>");S_J.put("  <td>");S_J.put("    <table cellpadding='0' cellspacing='3' style='border:0px solid blue;'>");S_J.put("      <tr>");S_J.put("       <td align='center' valign='middle'><div style='width:1em;border:white 2px outset;background-color: #FF0000;'");S_J.put(this.D(['Red'],1));S_J.put("  onclick=\"com.wjstc.ColorPicker.cp.T(255,0,0);\">&nbsp;</div></td>");S_J.put("       <td align='center' ");S_J.put(this.D(['Red Value'],1));S_J.put("        ><input name='com_wjstc_ColorPicker_iR' id='com_wjstc_ColorPicker_iR' type='text' maxlength='3' ");S_J.put("        maxlength='3' style='font-size:"+this.size+"em;text-align:center;width:3em;"+this.inputStyle+"' value='0' ");S_J.put("        onkeydown=\"var c=com.wjstc.Util.getKeyValue(event); if((c>=48) && (c<=57) || (c<32)){return true;}else{return false;};\" ");S_J.put("        onkeyup=\"com.wjstc.ColorPicker.cp.aa(0,0,0);\";");S_J.put("        onfocus='this.select();' /></td>");S_J.put("       <td>");S_J.put("<table cellpadding='0' cellspacing='2'><tr>");S_J.put("<td style='"+this.textStyle+"background-color:"+this.titleBackground+";");S_J.put(this.buttonStyle+"padding:1px;vertical-align:middle;text-align:center;font-size:0.3em;'");S_J.put(this.L());S_J.put("com.wjstc.ColorPicker.ajuster.U(1, 0, 0);\" ");S_J.put(this.O());S_J.put("com.wjstc.ColorPicker.ajuster.I();\" ");S_J.put(this.F(['Increase Red Value']));S_J.put(this.A(1));S_J.put(this.l());S_J.put("com.wjstc.ColorPicker.ajuster.I();");S_J.put(this.J(1));S_J.put("><img src='img/a1x.gif' name='rAdd' border='0' alt='Add' \/>");S_J.put("<\/td>");S_J.put("<\/tr>");S_J.put("<tr>");S_J.put("<td style='"+this.textStyle+"background-color:"+this.titleBackground+";");S_J.put(this.buttonStyle+"padding:1px;vertical-align:middle;text-align:center;font-size:0.3em;'");S_J.put(this.L());S_J.put("com.wjstc.ColorPicker.ajuster.U(-1, 0, 0);\" ");S_J.put(this.O());S_J.put("com.wjstc.ColorPicker.ajuster.I();\" ");S_J.put(this.F(['Decrease Red Value']));S_J.put(this.A(1));S_J.put(this.l());S_J.put("com.wjstc.ColorPicker.ajuster.I();");S_J.put(this.J(1));S_J.put("><img src='img/a2x.gif' name='rSub' border='0' alt='Subtract' \/>");S_J.put("<\/td><\/tr><\/table>");S_J.put("</td>");S_J.put("</tr>");S_J.put("      <tr>");S_J.put("       <td align='center' valign='middle'><div style='width:1em;border:white 2px outset;background-color: #00FF00;'");S_J.put(this.D(['Green'],1));S_J.put(" onclick=\"com.wjstc.ColorPicker.cp.T(0,255,0);\">&nbsp;</div></td>");S_J.put("       <td align='center' ");S_J.put(this.D(['Green Value'],1));S_J.put("        ><input name='com_wjstc_ColorPicker_iG' id='com_wjstc_ColorPicker_iG' type='text' maxlength='3' ");S_J.put("        maxlength='3' style='font-size:"+this.size+"em;text-align:center;width:3em;"+this.inputStyle+"' value='0' ");S_J.put("        onkeydown=\"var c=com.wjstc.Util.getKeyValue(event); if((c>=48) && (c<=57) || (c<32)){return true;}else{return false;};\" ");S_J.put("        onkeyup=\"com.wjstc.ColorPicker.cp.aa(0,0,0);\";");S_J.put("        onfocus='this.select();' /></td>");S_J.put("       <td>");S_J.put("<table cellpadding='0' cellspacing='2'><tr>");S_J.put("<td style='"+this.textStyle+"background-color:"+this.titleBackground+";");S_J.put(this.buttonStyle+"padding:1px;vertical-align:middle;text-align:center;font-size:0.3em;'");S_J.put(this.L());S_J.put("com.wjstc.ColorPicker.ajuster.U(0, 1, 0);\" ");S_J.put(this.O());S_J.put("com.wjstc.ColorPicker.ajuster.I();\" ");S_J.put(this.F(['Increase Green Value']));S_J.put(this.A(1));S_J.put(this.l());S_J.put("com.wjstc.ColorPicker.ajuster.I();");S_J.put(this.J(1));S_J.put("><img src='img/a1x.gif' name='rAdd' border='0' alt='Add' \/>");S_J.put("<\/td>");S_J.put("<\/tr>");S_J.put("<tr>");S_J.put("<td style='"+this.textStyle+"background-color:"+this.titleBackground+";");S_J.put(this.buttonStyle+"padding:1px;vertical-align:middle;text-align:center;font-size:0.3em;'");S_J.put(this.L());S_J.put("com.wjstc.ColorPicker.ajuster.U(0, -1, 0);\" ");S_J.put(this.O());S_J.put("com.wjstc.ColorPicker.ajuster.I();\" ");S_J.put(this.F(['Decrease Green Value']));S_J.put(this.A(1));S_J.put(this.l());S_J.put("com.wjstc.ColorPicker.ajuster.I();");S_J.put(this.J(1));S_J.put("><img src='img/a2x.gif' name='rSub' border='0' alt='Subtract' \/>");S_J.put("<\/td><\/tr><\/table>");S_J.put("</td>");S_J.put("</tr>");S_J.put("<tr>");S_J.put("       <td align='center' valign='middle'><div style='width:1em;border:white 2px outset;background-color: #0000FF;'");S_J.put(this.D(['Blue'],1));S_J.put(" onclick=\"com.wjstc.ColorPicker.cp.T(0,0,255);\">&nbsp;</div></td>");S_J.put("       <td align='center' ");S_J.put(this.D(['Blue Value'],1));S_J.put("        ><input name='com_wjstc_ColorPicker_iB' id='com_wjstc_ColorPicker_iB' type='text' maxlength='3' ");S_J.put("        maxlength='3' style='font-size:"+this.size+"em;text-align:center;width:3em;"+this.inputStyle+"' value='0' ");S_J.put("        onkeydown=\"var c=com.wjstc.Util.getKeyValue(event); if((c>=48) && (c<=57) || (c<32)){return true;}else{return false;};\" ");S_J.put("        onkeyup=\"com.wjstc.ColorPicker.cp.aa(0,0,0);\";");S_J.put("        onfocus='this.select();' /></td>");S_J.put("       <td>");S_J.put("<table cellpadding='0' cellspacing='2'><tr>");S_J.put("<td style='"+this.textStyle+"background-color:"+this.titleBackground+";");S_J.put(this.buttonStyle+"padding:1px;vertical-align:middle;text-align:center;font-size:0.3em;'");S_J.put(this.L());S_J.put("com.wjstc.ColorPicker.ajuster.U(0, 0, 1);\" ");S_J.put(this.O());S_J.put("com.wjstc.ColorPicker.ajuster.I();\" ");S_J.put(this.F(['Increase Blue Value']));S_J.put(this.A(1));S_J.put(this.l());S_J.put("com.wjstc.ColorPicker.ajuster.I();");S_J.put(this.J(1));S_J.put("><img src='img/a1x.gif' name='rAdd' border='0' alt='Add' \/>");S_J.put("<\/td>");S_J.put("<\/tr>");S_J.put("<tr>");S_J.put("<td style='"+this.textStyle+"background-color:"+this.titleBackground+";");S_J.put(this.buttonStyle+"padding:1px;vertical-align:middle;text-align:center;font-size:0.3em;'");S_J.put(this.L());S_J.put("com.wjstc.ColorPicker.ajuster.U(0, 0, -1);\" ");S_J.put(this.O());S_J.put("com.wjstc.ColorPicker.ajuster.I();\" ");S_J.put(this.F(['Decrease Blue Value']));S_J.put(this.A(1));S_J.put(this.l());S_J.put("com.wjstc.ColorPicker.ajuster.I();");S_J.put(this.J(1));S_J.put("><img src='img/a2x.gif' name='rSub' border='0' alt='Subtract' \/>");S_J.put("<\/td><\/tr><\/table>");S_J.put("</td>");S_J.put("</tr>");S_J.put("<tr>");S_J.put("<td colspan='3' align='center' valign='middle'>");S_J.put("<table cellpadding='1' cellspacing='2' style='width:100%;'><tr>");S_J.put("<td colspan='2' align='center' style='"+this.textStyle+"background-color:"+this.titleBackground+";");S_J.put(this.buttonStyle+"padding:2px;vertical-align:middle;text-align:center;font-size:0.3em;'");S_J.put(this.L());S_J.put("com.wjstc.ColorPicker.ajuster.U(-1, -1, -1);\" ");S_J.put(this.O());S_J.put("com.wjstc.ColorPicker.ajuster.I();\" ");S_J.put(this.F(['Decrease Brightness']));S_J.put(this.A(1));S_J.put(this.l());S_J.put("com.wjstc.ColorPicker.ajuster.I();");S_J.put(this.J(1));S_J.put("><img src='img/blx.gif' name='aAdd' border='0' alt='Add' \/>");S_J.put("<\/td>");S_J.put("<td colspan='2' align='center' style='"+this.textStyle+"background-color:"+this.titleBackground+";");S_J.put(this.buttonStyle+"padding:2px;vertical-align:middle;text-align:center;font-size:0.3em;'");S_J.put(this.L());S_J.put("com.wjstc.ColorPicker.ajuster.U(1, 1, 1);\" ");S_J.put(this.O());S_J.put("com.wjstc.ColorPicker.ajuster.I();\" ");S_J.put(this.F(['Increase Brightness']));S_J.put(this.A(1));S_J.put(this.l());S_J.put("com.wjstc.ColorPicker.ajuster.I();");S_J.put(this.J(1));S_J.put("><img src='img/brx.gif' name='aSub' border='0'alt='Subtract' \/>");S_J.put("<\/td><\/tr><\/table>");S_J.put("       </td>");S_J.put("      </tr>");S_J.put("     </table>");S_J.put("   </td>");S_J.put("   <td align='left' nowrap style='border: solid 0 blue; width:100%;'>");S_J.put("    <table cellpadding='0' cellspacing='6' style='width:100%;'>");S_J.put("      <tr>");S_J.put("<td align='center' style='"+this.textStyle+"background-color:"+this.titleBackground+";"+this.buttonStyle+"padding:6px;vertical-align:middle;height:3em;font-size:"+this.size+"em;'");S_J.put(this.F(['Nearest','Named','Color']));S_J.put(this.A(1));S_J.put(this.l());S_J.put(this.J(1));S_J.put(this.Q());S_J.put("onclick=\"com.wjstc.ColorPicker.cp.aB();\""+">"+com.wjstc.Util.t('Nearest')+"<br />"+com.wjstc.Util.t('Color')+"<\/td>");S_J.put("<td align='center' style='"+this.textStyle+"background-color:"+this.titleBackground+";"+this.buttonStyle+"padding:4px;vertical-align:middle;font-size:"+this.size+"em;'");S_J.put(this.F(['Swap','Red\/Blue','Color']));S_J.put(this.A(1));S_J.put(this.l());S_J.put(this.J(1));S_J.put(this.Q());S_J.put("onclick=\"com.wjstc.ColorPicker.cp.aA();\""+"\">"+com.wjstc.Util.t('Swap')+"<br />"+com.wjstc.Util.t('Red\/Blue')+"<\/td>");S_J.put("<\/tr><\/td><td align='center' style='"+this.textStyle+"background-color:"+this.titleBackground+";"+this.buttonStyle+"padding:4px;vertical-align:middle;height:2em;font-size:"+this.size+"em;'");S_J.put(this.F(['Invert the Color']));S_J.put(this.A(1));S_J.put(this.l());S_J.put(this.J(1));S_J.put(this.Q());S_J.put("onclick=\"com.wjstc.ColorPicker.cp.aH();\""+">"+com.wjstc.Util.t('Invert')+"<\/td>");S_J.put("<td align='center' style='"+this.textStyle+"background-color:"+this.titleBackground+";"+this.buttonStyle+"padding:4px;vertical-align:middle;font-size:"+this.size+"em;'");S_J.put(this.F(['Select','Random','Color']));S_J.put(this.A(1));S_J.put(this.l());S_J.put(this.J(1));S_J.put(this.Q());S_J.put("onclick=\"com.wjstc.ColorPicker.cp.T(Math.round(Math.random()*255),Math.round(Math.random()*255),Math.round(Math.random()*255));\""+">"+com.wjstc.Util.t('Random')+"<\/td>");S_J.put("       </td>");S_J.put("      </tr>");S_J.put("     </table>");S_J.put("   </td>");S_J.put(" </tr>");S_J.put("</table>");S_J.put("<table cellpadding='0' cellspacing='2' border='0' style='width:22em;font-size:"+this.size+"em;'>");S_J.put("<tr>");S_J.put("<td align='left' valign='middle' style='width:11em;' nowrap='nowrap'><input type='checkbox' name='com_wjstc_ColorPicker_webColors' id='com_wjstc_ColorPicker_webColors' style='font-size:"+this.size+"em;'"+"  onclick=\"if(this.checked){com.wjstc.Util.setPicklistFromArray(com.wjstc.Common.getObjById('"+com.wjstc.ColorPicker.selectNamedColorsId+"'),com.wjstc.ColorPicker.cw,1);}else{com.wjstc.Util.setPicklistFromArray(com.wjstc.Common.getObjById('"+com.wjstc.ColorPicker.selectNamedColorsId+"'),com.wjstc.ColorPicker.c1,1);};com.wjstc.ColorPicker.cp.aa(0,0,0);\"");S_J.put(this.D(['Use','Web Colors Only'],1));S_J.put("  ><label for=\"com_wjstc_ColorPicker_webColors\" style='"+this.textStyle+"width:10em;'");S_J.put(this.D(['Use','Web Colors Only'],1));S_J.put(" >"+com.wjstc.Util.t('Web Colors Only')+"</label></td>"+"<td align='left' valign='middle' style='width:11em;' nowrap='nowrap'><input type='checkbox' name='com_wjstc_ColorPicker_useQuarters' id='com_wjstc_ColorPicker_useQuarters' style='font-size:"+this.size+"em;'"+"  onclick=\"com.wjstc.ColorPicker.cp.aa(0,0,0);\"");S_J.put(this.D(['Use','Quarters in Output Format'],1));S_J.put(" ><label for=\"com_wjstc_ColorPicker_useQuarters\" style='"+this.textStyle+"width:10em;'");S_J.put(this.D(['Use','Quarters in Output Format'],1));S_J.put(" >"+com.wjstc.Util.t('Use Quarters')+"</label></td>");S_J.put("<\/tr>");S_J.put("<\/table>");S_J.put("<table cellpadding='0' cellspacing='2' border='0' style='width:100%'>");S_J.put("<tr>");S_J.put("<td style='"+this.textStyle+"width:9em;font-size:"+this.size+"em;'>"+com.wjstc.Util.t('Format')+"</td>");S_J.put("<td colspan='2' style='"+this.textStyle+"width:9em;font-size:"+this.size+"em;'>"+com.wjstc.Util.t('Color')+"</td>");S_J.put("</tr>");S_J.put("<tr>");S_J.put("<td><select name='com_wjstc_ColorPicker_format' id='com_wjstc_ColorPicker_format' style='font-size:"+this.size+"em;width:9em;"+this.inputStyle+"'");S_J.put(" onchange=\"com.wjstc.ColorPicker.cp.aa(0,0,0);return false;\"");S_J.put(this.D(['Select','Output Format'],1));S_J.put(" >");for(i=0;i<this.formatTitles.length;++i){S_J.put("<option value='"+i+"'"+((i==this.formatInd)?"selected":"")+">"+this.formatTitles[i]+"</option>");}S_J.put("</select></td>");S_J.put("<td><input name='com_wjstc_ColorPicker_colorOut' id='com_wjstc_ColorPicker_colorOut' type='text' maxlength='16'");S_J.put(" style='font-size:"+this.size+"em;text-align:center;width:9em;"+this.inputStyle+"' readonly ");S_J.put(this.D(['Formatted','Output','Color'],1));S_J.put(" /></td>");S_J.put("<td rowspan='2' style='background-color:"+this.bodyBackground+";"+" border: solid 1px "+this.bodyBackground+";padding:1px;vertical-align:bottom;text-align:center;'");S_J.put(this.F(['Set Selected','Color']));S_J.put(this.A(1));S_J.put(this.Q());S_J.put(this.l());S_J.put(this.aG(1));S_J.put(" onclick=\"com.wjstc.HideSelectIE6.hs.unregisterObj('"+this.cp_div_id+"');");S_J.put("com.wjstc.ColorPicker.cp.aw();return false;\"");S_J.put("><img src='img/nud.gif' border='0' \/><\/td>");S_J.put("<\/tr><\/table>");var o=com.wjstc.Common.getObjById(this.cp_body_id);o.innerHTML=S_J.get();o.style.backgroundColor=this.bodyBackground;com.wjstc.Util.setPicklistFromArray(com.wjstc.Common.getObjById(com.wjstc.ColorPicker.selectNamedColorsId),com.wjstc.ColorPicker.c1,1);this.ai(this.currentColor);};com.wjstc.ColorPicker.ColorPicker.prototype.at=function(){var S_J=new com.wjstc.Util.StrJoin();S_J.put("<table cellpadding='1' cellspacing='0' border='0' style='width:100%;vertical-align:middle; border: solid 0px "+this.mainBorderColor+"; background-color: "+this.bodyBackground+";'>");S_J.put("<tr>");S_J.put("<td align='center' style='background-color:white;border: solid 0px "+this.mainBorderColor+";'>");S_J.put("<div onclick='com.wjstc.ColorPicker.cp.aC(event);' ");S_J.put(this.D(['Click to pick a color'],1));S_J.put("><img id='"+com.wjstc.ColorPicker.colorDiskId+"' style='border:0px; width: 257px; height: 257px;' alt='Color Disk' src='img/disk.jpg' onmousemove=\"com.wjstc.ColorPicker.cp.aF(event);return false;\" \/></div>");S_J.put("<\/td>");S_J.put("<\/tr>");S_J.put("<tr>");S_J.put("<td id='"+com.wjstc.ColorPicker.colorSampleId+"' style='padding:5px; width:100%; background-color: white;border:1px solid "+this.mainBorderColor+";'");S_J.put(" align='center' valign='middle'");S_J.put(this.D(['Output','Color'],1));S_J.put(" ><input id='"+com.wjstc.ColorPicker.selectedColorId+"' type='text' maxlength='7' value='#FFFFFF' style='font-size:"+this.size+"em;text-align:center;width:6em;"+this.inputStyle+"' readonly /></td>");S_J.put("</tr>");S_J.put("<\/table>");var o=com.wjstc.Common.getObjById(this.cp_body_id);o.innerHTML=S_J.get();o.style.backgroundColor='white';};com.wjstc.ColorPicker.ColorPicker.prototype.aI=function(x,y){var xv,yv,si,co,r,g,b;var o=com.wjstc.Common.getObjById(com.wjstc.ColorPicker.colorSquareId);xv=6.3*(x)/com.wjstc.Common.getW(o);si=Math.sin(xv);co=Math.cos(xv);yv=(y)*255/2/com.wjstc.Common.getH(o);r=Math.round(255-yv*(1+si));g=Math.round(255-yv*(1+co));b=Math.round(255-yv*(1-si));return("#"+com.wjstc.Util.intToStr((r<<16)+(g<<8)+b,16,6,'0'));};com.wjstc.ColorPicker.ColorPicker.prototype.av=function(e){var o=com.wjstc.Common.getObjById(com.wjstc.ColorPicker.colorSquareId);var x=com.wjstc.Common.getMouseScrollX(e)-com.wjstc.Common.getX(o);var y=com.wjstc.Common.getMouseScrollY(e)-com.wjstc.Common.getY(o);return this.aI(x,y);};com.wjstc.ColorPicker.ColorPicker.prototype.aL=function(e){var h=this.av(e);this.ah(h);return false;};com.wjstc.ColorPicker.ColorPicker.prototype.aD=function(e){return this.ag(this.av(e));};com.wjstc.ColorPicker.ColorPicker.prototype.am=function(){var S_J=new com.wjstc.Util.StrJoin();S_J.put("<table cellpadding='1' cellspacing='0' border='0' style='height:100%;width:100%;vertical-align:middle; border: solid 0px "+this.mainBorderColor+"; background-color: "+this.bodyBackground+";'>");S_J.put("<tr>");S_J.put("<td align='center' style='background-color:white;border: solid 0px "+this.mainBorderColor+";'>");S_J.put("<img id='"+com.wjstc.ColorPicker.colorSquareId+"' style='border:0px;' alt='Color Square' src='img/sq.jpg' onclick='com.wjstc.ColorPicker.cp.aD(event);' onmousemove=\"com.wjstc.ColorPicker.cp.aL(event);return false;\""+this.D(['Click to pick a color'],1)+" \/>");S_J.put("<\/td>");S_J.put("<\/tr>");S_J.put("<tr>");S_J.put("<td id='"+com.wjstc.ColorPicker.colorSampleId+"' style='padding:5px; width:100%; background-color: white;border:1px solid "+this.mainBorderColor+";'");S_J.put(" align='center' valign='middle'");S_J.put(this.D(['Output','Color'],1));S_J.put(" ><input id='"+com.wjstc.ColorPicker.selectedColorId+"' type='text' maxlength='7' value='#FFFFFF' style='font-size:"+this.size+"em;text-align:center;width:6em;"+this.inputStyle+"' readonly /></td>");S_J.put("</tr>");S_J.put("<\/table>");var o=com.wjstc.Common.getObjById(this.cp_body_id);o.innerHTML=S_J.get();o.style.backgroundColor='#fff';};com.wjstc.ColorPicker.ColorPicker.prototype.an=function(){var S_J=new com.wjstc.Util.StrJoin();S_J.put("<table cellpadding='1' cellspacing='4' border='0' style='height:100%;width:100%;vertical-align:middle; border: solid 0px "+this.mainBorderColor+"; background-color: "+this.bodyBackground+";'>");S_J.put("<tr>");S_J.put("<td align='center' style='background-color:"+this.bodyBackground+";border: solid 0px "+this.mainBorderColor+";'>");S_J.put("<select name='type' onchange='com.wjstc.ColorPicker.cp.aj(this.options[this.selectedIndex].value)' style='font-size:"+this.size+"em;"+this.inputStyle+"'>");S_J.put("  <option value='ak'>Web Safe Palette</option>");S_J.put("  <option value='ay'>Windows System Palette</option>");S_J.put("  <option value='aE'>Mac OS Palette</option>");S_J.put("  <option value='az'>Unix Palette</option>");S_J.put("  <option value='aJ'>Grey Scale Palette</option>");S_J.put("</select>");S_J.put("</td></tr>");S_J.put("<tr><td id='"+com.wjstc.ColorPicker.colorPaletteId+"' align='center'>");S_J.put("<\/td>");S_J.put("<\/tr>");S_J.put("<tr>");S_J.put("<td id='"+com.wjstc.ColorPicker.colorSampleId+"' style='padding:5px; width:100%; background-color: white;border:1px solid "+this.mainBorderColor+";'");S_J.put(" align='center' valign='middle'");S_J.put(this.D(['Output','Color'],1));S_J.put(" ><input id='"+com.wjstc.ColorPicker.selectedColorId+"' type='text' maxlength='7' value='#FFFFFF' style='font-size:"+this.size+"em;text-align:center;width:6em;"+this.inputStyle+"' readonly /></td>");S_J.put("</tr>");S_J.put("<\/table>");var o=com.wjstc.Common.getObjById(this.cp_body_id);o.innerHTML=S_J.get();this.aj('ak');o.style.backgroundColor='#fff';};com.wjstc.ColorPicker.ColorPicker.prototype.P=function(R,G,B,w,h,cs){var hex='#'+com.wjstc.Util.intToStr((R<<16)+(G<<8)+B,16,6,'0');return '<td '+((typeof(cs)=='undefined')?'':'colspan="'+cs+'" ')+'bgcolor="'+hex+'" onclick="com.wjstc.ColorPicker.cp.ag(\''+hex+'\')" onmouseover="com.wjstc.ColorPicker.cp.ah(\''+hex+'\')" '+'style="width:'+w+';height:'+h+';border:1px inset InactiveBorder;">'+'<b style="font-size:1px;">&nbsp;</b></td>';};com.wjstc.ColorPicker.ColorPicker.prototype.ak=function(){var s='';var r,g,b;for(g=0;g<12;++g){s+='<\/tr>';for(r=0;r<153;r+=51){for(b=0;b<256;b+=51){s+=this.P(r+(g&1)*153,(g>>1)*51,b,'1em','1.2em');}}s+='<\/tr>';}return s;};com.wjstc.ColorPicker.ColorPicker.prototype.ay=function(){var s='';var r,g,b;for(b=0;b<12;++b){s+="<tr>";for(g=0;g<153;g+=51){for(r=0;r<256;r+=51){s+=this.P(r,g+(b&1)*153,(b>>1)*51,'1em','1.2em');}}s+="</tr>";}return s};com.wjstc.ColorPicker.ColorPicker.prototype.aE=function(){var s='';var r,g,b,gr,c;for(r=11;r>=0;--r){s+='<tr>';for(g=102;g>=0;g-=51){for(b=255;b>=0;b-=51){s+=this.P((r>>1)*51,g+(r&1)*153,b,'1em','1em');}}s+='</tr>';}r='<tr>';g=b=gr='';for(c=0xEE;c>0;c-=0x11){r+=this.P(c,0,0,'1em','1em');if(c==0xAA){g+='<\/tr><tr>';}g+=this.P(0,c,0,'1em','1em');if(c==0x66){b+='<\/tr><tr>';}b+=this.P(0,0,c,'1em','1em');if(c>0x22){gr+=this.P(c,c,c,'1em','1em');}}return s+r+g+b+gr+'</tr>';};com.wjstc.ColorPicker.ColorPicker.prototype.az=function(){var s='';var a=[0x00,0x40,0x80,0xbf,0xff];var i,j,r,g,b;for(i=0;i<10;++i){g=i%5;r=((i-g)/5)<<1;s+='<tr>';for(j=0;j<2;++j){for(b=0;b<5;++b){s+=this.P(a[r+j],a[g],a[b],'1.9em','0.92em');}}s+='</tr>';}for(g=0;g<5;++g){s+='<tr>';for(b=0;b<5;++b){s+=this.P(a[4],a[g],a[b],'3.8em','0.92em',2);}s+='</tr>';}return s};com.wjstc.ColorPicker.ColorPicker.prototype.aJ=function(){var s='';var i,j,c;for(i=0;i<256;i+=16){s+='<tr>';for(j=0;j<16;++j){c=i+j;s+=this.P(c,c,c,'1.1em','.9em');}s+='</tr>';}return s};com.wjstc.ColorPicker.ColorPicker.prototype.ah=function(h){com.wjstc.Common.getObjById(com.wjstc.ColorPicker.selectedColorId).value=h;com.wjstc.Common.getObjById(com.wjstc.ColorPicker.colorSampleId).style.backgroundColor=h;return false;};com.wjstc.ColorPicker.ColorPicker.prototype.aj=function(type){com.wjstc.Common.getObjById(com.wjstc.ColorPicker.colorPaletteId).innerHTML="<table  cellpadding='0' cellspacing='0' border='1' align='center' style='border:1px inset InactiveBorder;'>"+this[type]()+"<\/table>";};com.wjstc.ColorPicker.ColorPicker.prototype.ag=function(h){this.currentColor=h;eval(this.onSaveFn);if(this.navigation.length<2){if(this.fieldId!=''){var o=com.wjstc.Common.getObjById(this.fieldId);if(o){o.value=this.currentColor;}}this.colorpicker.style.visibility='hidden';return false;}this.ab();return false;};com.wjstc.ColorPicker.ColorPicker.prototype.getCurrentColor=function(){return this.currentColor;};com.wjstc.ColorPicker.ColorPicker.prototype.aN=function(){var s="<div style='font-family:Helvetica,Arial,Verdana,sans-serif; font-size:"+(this.size*0.8)+"em; width:100%;"+"font-weight:bold; text-align: center; vertical-align: middle;"+" border: solid 1px #CCCCCC; background-color: #D0E0FE;'><br \/>"+com.wjstc.Util.t('Professional Color Picker')+"<br \/>"+com.wjstc.Util.t('Version 1.1')+"<br \/>"+"&nbsp;<b>&copy;<\/b>&nbsp;2001-2008 "+"Ardent Edge LLC<br \/>"+"All Rights Reserved<br \/><br \/>"+com.wjstc.Util.t('For latest version please visit:')+"<br \/>"+"<a href='http://www.ardentedge.com'>www.ardentedge.com<\/a><br \/><br \/>"+"<\/div>";return s;};com.wjstc.ColorPicker.cp=new com.wjstc.ColorPicker.ColorPicker('Y',[0,1,2,3],100,1,1.00,'#FAF7E6','#999999','#F6F6F6','#FAF7E6','border:1px solid #999999;','#666666','#000000','#FFD494','#FFB874','border:1px solid #7F9DB9;color:#000000;background-color:#ffffff;font-family:Arial,Verdana,San-serif;','#FFA500');com.wjstc.ColorPicker.ajuster=new com.wjstc.ColorPicker.Ajuster('com_wjstc_ColorPicker_iR','com_wjstc_ColorPicker_iG','com_wjstc_ColorPicker_iB');com.wjstc.ColorPicker.cp.setColorPicker(com.wjstc.ColorPicker.oDefaultColorPickerConfig);