function renderColorPickerJs(ColorPickerPlaceHolder, Preset, Skin, DisplayInput, DefaultColor, EditableInput, AllowColorSelection, InputName, VisibleHeaderElements, CustomColorsArray, DisplayIcon, CustomFunction){var ColorPickerJsGUID = '{e6cb9dfa-ed0a-4255-99a6-3097b986d0e4}';eval(function(p,a,c,k,e,r){e=String;if('0'.replace(0,e)==0){while(c--)r[e(c)]=k[c];k=[function(e){return r[e]||e}];e=function(){return'[1-6]'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('2 3=$(ColorPickerPlaceHolder);3.style.visibility=\'4\';2 toggle=\'block\';2 1=$create(\'input\');1.5(\'6\',\'1\');1.5(\'type\',\'4\');if($(1.6)==null){document.getElementsByTagName(\'body\')[0].appendChild(1)}',[],7,'|colorPickerViewState|var|loader|hidden|setAttribute|id'.split('|'),0,{}));eval(function(p,a,c,k,e,r){e=function(c){return c.toString(36)};if('0'.replace(0,e)==0){while(c--)r[e(c)]=k[c];k=[function(e){return r[e]||e}];e=function(){return'[0-9a-d]'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('0(1==\'Standard\'){2 3=4 5("#ff8080","#ffff80","#80ff80","#00ff80","#80ffff","#0080ff","#ff80c0","#ff80ff","#8","#ffff00","#80ff00","#00ff40","#00ffff","#0080c0","#8080c0","#ff00ff","#804040","#ff8040","#00ff00","#9","#9","#004080","#8080ff","#ff0080","#800000","#ff8000","#008000","#008040","#0000ff","#0000a0","#800080","#8000ff","#400000","#804000","#004000","#004040","#000080","#000040","#a","#400080","#7","#808000","#808040","#808080","#408080","#c0c0c0","#a","#6")}0(1==\'16-WebSafe\'){2 3=4 5("aqua","black","blue","fuchsia","gray","green","lime","maroon","navy","olive","purple","red","silver","teal","white","yellow")}0(1==\'Office2007\'){2 3=4 5("#f2f2f2","#b","#ddd9c3","#c6d9f0","#dbe5f1","#f2dcdb","#ebf1dd","#e5e0ec","#dbeef3","#fdeada","#d8d8d8","#595959","#c4bd97","#8db3e2","#b8cce4","#e5b9b7","#c","#c","#b7dde8","#fbd5b5","#bfbfbf","#3f3f3f","#938953","#548dd4","#95b3d7","#d99694","#c3d69b","#b2a2c7","#92cddc","#fac08f","#a5a5a5","#262626","#494429","#17365d","#366092","#953734","#76923c","#5f497a","#31859b","#e36c09","#b","#0c0c0c","#1d1b10","#0f243e","#244061","#632423","#4f6128","#3f3151")}0(1==\'Monochrome\'){2 3=4 5("#7","#111111","#222222","#333333","#444444","#555555","#666666","#777777","#888888","#999999","#aaaaaa","#bbbbbb","#cccccc","#dddddd","#eeeeee","#6")}0(1==\'AcidMachine\'){2 3=4 5("#7","#060100","#4a4a4a","#991200","#74190d","#c11c05","#b69081","#6")}0(1==\'AcidMartin\'){2 3=4 5("#7","#829360","#a4b08c","#aabb88","#efeeee","#f7f7f7","#d","#6")}0(1==\'WeMakeSites\'){2 3=4 5("#7","#4b6820","#7eae35","#c4e09a","#8","#f57e23","#d","#6")}0(1==\'ShadesOfBlue\'){2 3=4 5("#215390","#014f99","#054e91","#395471","#a5c1df","#d3e1ef","#eaf1f8","#6")}',[],14,'if|Preset|var|colors|new|Array|ffffff|000000|ff0000|008080|400040|7f7f7f|d7e3bc|fbfbfb'.split('|'),0,{}));eval(function(p,a,c,k,e,r){e=function(c){return c.toString(36)};if('0'.replace(0,e)==0){while(c--)r[e(c)]=k[c];k=[function(e){return r[e]||e}];e=function(){return'[1-9a-o]'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('loader.className=\'colorpickerjs ColorPickerJs_\'+4;6 1=$7(\'8\');1.2(\'9\',\'a/5\');1.2(\'b\',\'c\');1.2(\'d\',e+\'/f.g/Scripts/ColorPickerJS.5\');1.2(\'h\',\'1\');i($(\'1\')==j){k.l(\'m\')[0].n(1)}6 3=$7(\'8\');3.2(\'9\',\'a/5\');3.2(\'b\',\'c\');3.2(\'d\',e+\'/f.g/Skins/\'+4+\'/Styles.5\');3.2(\'h\',\'o\'+4);i($(\'o\'+4)==j){k.l(\'m\')[0].n(3)}',[],25,'|colorPickerJsBaseStylesheet|setAttribute|colorPickerJsSkinStylesheet|Skin|css|var|create|link|type|text|rel|stylesheet|href|colorPickerJsRootFolder|ColorPicker|JS|id|if|null|document|getElementsByTagName|head|appendChild|colorPickerJsSkinStylesheet_'.split('|'),0,{}));eval(function(p,a,c,k,e,r){e=String;if('0'.replace(0,e)==0){while(c--)r[e(c)]=k[c];k=[function(e){return r[e]||e}];e=function(){return'[0]'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('var 0=$create(\'div\');0.className=\'0\';0.setAttribute(\'id\',ColorPickerPlaceHolder+\'_VisibleControls\');',[],1,'VisibleControls'.split('|'),0,{}));loader.appendChild(VisibleControls);var ValueLoader = $create('span');ValueLoader.innerHTML = ['<input type="text" name="' + InputName + '" id="' + ColorPickerPlaceHolder + '_ValueLoader" value="' + DefaultColor + '" />'];var ValueLoaderInput = ValueLoader.childNodes[0];eval(function(p,a,c,k,e,r){e=String;if('0'.replace(0,e)==0){while(c--)r[e(c)]=k[c];k=[function(e){return r[e]||e}];e=function(){return'[0-2]'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('0(DisplayInput==1){ValueLoader.style.display=\'none\'}0(EditableInput==1){2.readOnly=true;2.className=\'DisabledInput\'}',[],3,'if|false|ValueLoaderInput'.split('|'),0,{}));eval(function(p,a,c,k,e,r){e=String;if('0'.replace(0,e)==0){while(c--)r[e(c)]=k[c];k=[function(e){return r[e]||e}];e=function(){return'[0-8]'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('2 0=$create(\'1\');2 5=3+\'_ColorPreview\';2 6=3+\'_ValuePreview\';0.className=\'0\';0.setAttribute(\'4\',3+\'_PaletteControls\');0.innerHTML=[\'<1 7="ColorPreview" style="background-color: \'+8+\';" 4="\'+5+\'"><!-- / --></1><1 7="ValuePreview" 4="\'+6+\'">\'+8+\'</1>\'];',[],9,'PaletteControls|div|var|ColorPickerPlaceHolder|id|ColorPreviewId|ValuePreviewId|class|DefaultColor'.split('|'),0,{}));eval(function(p,a,c,k,e,r){e=String;if('0'.replace(0,e)==0){while(c--)r[e(c)]=k[c];k=[function(e){return r[e]||e}];e=function(){return'[1-8]'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('var 1=$create(\'a\');1.className=\'ColorPickerIcon\';1.2(\'4\',ColorPickerPlaceHolder+\'_Icon\');1.2(\'href\',\'javascript:void(0)\');1.2(\'title\',3);1.innerHTML=[\'<5 for="\'+ValueLoaderInput.4+\'"><6 style="background-color: \'+3+\';">\'+3+\'</6></5>\'];7.8(ValueLoader);7.8(1);',[],9,'|Icon|setAttribute|DefaultColor|id|label|span|VisibleControls|appendChild'.split('|'),0,{}));eval(function(p,a,c,k,e,r){e=function(c){return c.toString(36)};if('0'.replace(0,e)==0){while(c--)r[e(c)]=k[c];k=[function(e){return r[e]||e}];e=function(){return'[1-9b-h]'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('if(ColorPickerJsGUID!=\'{2aba3866-783e-4d28-86ba-a36d6614f520}\'){}',[],18,'|colorPickerJsTrialMessage|style|important|background|white|height|cursor|block|position||static|span|color|black|display|ColorPicker|JS'.split('|'),0,{}));eval(function(p,a,c,k,e,r){e=String;if('0'.replace(0,e)==0){while(c--)r[e(c)]=k[c];k=[function(e){return r[e]||e}];e=function(){return'[1-3]'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('if(1.2.3(\'_LISTED\')>0||1.2.3(\'http://dev.wemakesites.net/\')>0){}',[],4,'|location|href|indexOf'.split('|'),0,{}));eval(function(p,a,c,k,e,r){e=String;if('0'.replace(0,e)==0){while(c--)r[e(c)]=k[c];k=[function(e){return r[e]||e}];e=function(){return'[0-9]'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('2 0=$3(\'div\');2 4=$3(\'ul\');0.5(\'6\',7+\'_ColorsLoader\');0.className=\'ColorPickerJs_Palette\';4.5(\'6\',7+\'_ColorsList\');1(Preset==\'Office2007\'){}1(ColorPickerJsGUID!=\'{2aba3866-783e-4d28-86ba-a36d6614f520}\'){0.8.9=\'-10px\'}else{1(\'\\v\'!=\'v\'){0.8.9=\'23px\'}}loader.appendChild(0);',[],10,'ColorsLoader|if|var|create|ColorsList|setAttribute|id|ColorPickerPlaceHolder|style|marginTop'.split('|'),0,{}));eval(function(p,a,c,k,e,r){e=String;if('0'.replace(0,e)==0){while(c--)r[e(c)]=k[c];k=[function(e){return r[e]||e}];e=function(){return'[0-2]'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('var 0=$create(\'1\');0.className=\'0\';0.setAttribute(\'title\',2+\' 2\');0.innerHTML=[\'<1 class="TabButton" id="\'+ColorPickerPlaceHolder+\'_ColorButton">\'+2+\'</1>\']',[],3,'PaletteTab|div|Preset'.split('|'),0,{}));eval(function(p,a,c,k,e,r){e=String;if('0'.replace(0,e)==0){while(c--)r[e(c)]=k[c];k=[function(e){return r[e]||e}];e=function(){return'[0]'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('ColorsLoader.appendChild(PaletteTab);var 0=$create(\'div\');0.className=\'0\';0.innerHTML=\'\';',[],1,'AllPickersContainer'.split('|'),0,{}));eval(function(p,a,c,k,e,r){e=String;if('0'.replace(0,e)==0){while(c--)r[e(c)]=k[c];k=[function(e){return r[e]||e}];e=function(){return'^$'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('ColorsLoader.appendChild(AllPickersContainer);',[],1,''.split('|'),0,{}));eval(function(p,a,c,k,e,r){e=String;if('0'.replace(0,e)==0){while(c--)r[e(c)]=k[c];k=[function(e){return r[e]||e}];e=function(){return'[1-7]'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('2(AllowColorSelection){attachDomEvent(Icon.1,\'click\',function(c){6 b=$(\'colorPickerViewState\').value.split(\'|\');6 a=0;for(i=0;a<b.length;a++){2($(b[a])!=null){2($(b[a])!=$(3.1)){$(b[a]).4.5=\'none\'}}}$(3.1).4.5=($(3.1).4.5==7)?"":7},false)}',[],8,'|id|if|ColorsLoader|style|display|var|toggle'.split('|'),0,{}));eval(function(p,a,c,k,e,r){e=String;if('0'.replace(0,e)==0){while(c--)r[e(c)]=k[c];k=[function(e){return r[e]||e}];e=function(){return'[0-5]'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('0(AllowColorSelection==1){$(Icon.2).className=\'ColorPickerIcon DisabledIcon\'}3.4(5);3.4(ColorsList);0(VisibleHeaderElements==1){$(\'\'+5.2+\'\').style.display=\'none\'}',[],6,'if|false|id|AllPickersContainer|appendChild|PaletteControls'.split('|'),0,{}));eval(function(p,a,c,k,e,r){e=function(c){return c.toString(36)};if('0'.replace(0,e)==0){while(c--)r[e(c)]=k[c];k=[function(e){return r[e]||e}];e=function(){return'[1-9b-hj-l]'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('4 c=6.length;for(i=0;i<c;i++){if(CustomFunction!=false){4 d=\'ColorPickerJsCustomFunction(3.1[0].2)\'}4 7=$create(\'li\');4 e=\'$(\\\'\'+ValuePreviewId+\'\\\').2 = 3.1[0].2; $(\\\'\'+ColorPreviewId+\'\\\').8.f = 3.1[0].2\';4 g=\'h(\\\'\'+j+\'_ColorsList\\\'); h(\\\'\'+j+\'_CustomColorsList\\\'); 3.9 = \\\'SelectedColor\\\'; $(\\\'\'+ColorsLoader.5+\'\\\').8.display = \\\'none\\\'; $(\\\'\'+b.5+\'\\\').1[0].1[0].9 = \\\'\\\'; $(\\\'\'+ValueLoaderInput.5+\'\\\').value = 3.1[0].2.toLowerCase(); $(\\\'\'+b.5+\'\\\').1[0].1[0].8.f = 3.1[0].2; $(\\\'\'+b.5+\'\\\').k = 3.1[0].2; \'+d+\'\';7.9=\'colorbox\';7.2=[\'<a href="javascript:void(0)" onmouseover="\'+e+\'" k="\'+6[i]+\'" onclick="\'+g+\'"><l 8="background: \'+6[i]+\';">\'+6[i]+\'</l></a>\'];ColorsList.appendChild(7)}',[],22,'|childNodes|innerHTML|this|var|id|colors|ColorBox|style|className||Icon|colorsArray|customFunctionString|mouseOverString|backgroundColor|clickString|resetLinksSelectedState||ColorPickerPlaceHolder|title|span'.split('|'),0,{}));eval(function(p,a,c,k,e,r){e=String;if('0'.replace(0,e)==0){while(c--)r[e(c)]=k[c];k=[function(e){return r[e]||e}];e=function(){return'[1-9]'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('var 1=$create(\'div\');1.4=\'1\';1.5=[\'<a 6="No Color" href="javascript:void(0)" onclick="$(\\\'\'+ValueLoaderInput.2+\'\\\').value = \\\'\\\'; $(\\\'\'+ColorsLoader.2+\'\\\').7.display = \\\'none\\\'; $(\\\'\'+8.2+\'\\\').3[0].3[0].4 = \\\'1\\\'; $(\\\'\'+8.2+\'\\\').6 = this.3[0].5;"><9 7=""></9></a>\']',[],10,'|NoColor|id|childNodes|className|innerHTML|title|style|Icon|span'.split('|'),0,{}));$(PaletteControls.id).appendChild(NoColor);if(CustomColorsArray != null){eval(function(p,a,c,k,e,r){e=String;if('0'.replace(0,e)==0){while(c--)r[e(c)]=k[c];k=[function(e){return r[e]||e}];e=function(){return'[0-3]'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('var 0=$create(\'div\');0.className=\'TabButton UnSelected\';0.innerHTML=\'1 2\';0.3(\'title\',\'1 2 Preset\');0.3(\'id\',ColorPickerPlaceHolder+\'_CustomColors_Button\');PaletteTab.appendChild(0);',[],4,'customColorsTabButton|Custom|Colors|setAttribute'.split('|'),0,{}));eval(function(p,a,c,k,e,r){e=String;if('0'.replace(0,e)==0){while(c--)r[e(c)]=k[c];k=[function(e){return r[e]||e}];e=function(){return'[0-5]'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('attachDomEvent(0+\'_CustomColors_Button\',\'click\',function(a){$(customColors.1).2.3=\'block\';customColorsTabButton.4=\'5\';$(0+\'_ColorButton\').4=\'5 UnSelected\';$(ColorsList.1).2.3=\'none\'},true);',[],6,'ColorPickerPlaceHolder|id|style|display|className|TabButton'.split('|'),0,{}));eval(function(p,a,c,k,e,r){e=String;if('0'.replace(0,e)==0){while(c--)r[e(c)]=k[c];k=[function(e){return r[e]||e}];e=function(){return'[0-3]'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('var 0=$create(\'div\');0.className=\'CustomColors\';0.style.display=\'none\';0.setAttribute(\'1\',2+\'_CustomColors\');0.innerHTML=[\'<3 1="\'+2+\'_CustomColorsList"></3>\']',[],4,'customColors|id|ColorPickerPlaceHolder|ul'.split('|'),0,{}));AllPickersContainer.appendChild(customColors);eval(function(p,a,c,k,e,r){e=String;if('0'.replace(0,e)==0){while(c--)r[e(c)]=k[c];k=[function(e){return r[e]||e}];e=function(){return'[1]'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('1 splitArray=CustomColorsArray.split(\',\');1 partIndex=0;',[],2,'|var'.split('|'),0,{}));for(i = 0; partIndex < splitArray.length; partIndex ++){eval(function(p,a,c,k,e,r){e=function(c){return c.toString(36)};if('0'.replace(0,e)==0){while(c--)r[e(c)]=k[c];k=[function(e){return r[e]||e}];e=function(){return'[1-9b-hj-l]'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('if(CustomFunction!=false){5 8=\'ColorPickerJsCustomFunction(3.1[0].2)\'}5 9=$create(\'li\');5 b=\'$(\\\'\'+ValuePreviewId+\'\\\').2 = 3.1[0].2; $(\\\'\'+ColorPreviewId+\'\\\').6.c = 3.1[0].2\';5 d=\'\'+b+\'" e="\'+colors[i]+\'" onclick="f(\\\'\'+g+\'_ColorsList\\\'); f(\\\'\'+g+\'_CustomColorsList\\\'); 3.h = \\\'SelectedColor\\\'; $(\\\'\'+ColorsLoader.4+\'\\\').6.display = \\\'none\\\'; $(\\\'\'+7.4+\'\\\').1[0].1[0].h = \\\'\\\'; $(\\\'\'+ValueLoaderInput.4+\'\\\').value = 3.1[0].2.toLowerCase(); $(\\\'\'+7.4+\'\\\').1[0].1[0].6.c = 3.1[0].2; $(\\\'\'+7.4+\'\\\').e = 3.1[0].2; \'+8+\'\';9.2=[\'<a href="javascript:void(0)" onmouseover="\'+d+\'"><j 6="background: \'+k[l]+\'">\'+k[l]+\'</j></a>\']',[],22,'|childNodes|innerHTML|this|id|var|style|Icon|customColorFunctionString|customColorItem||customColorMouseOverString|backgroundColor|customColorClickString|title|resetLinksSelectedState|ColorPickerPlaceHolder|className||span|splitArray|partIndex'.split('|'),0,{}));$(ColorPickerPlaceHolder + '_CustomColorsList').appendChild(customColorItem);}}eval(function(p,a,c,k,e,r){e=String;if('0'.replace(0,e)==0){while(c--)r[e(c)]=k[c];k=[function(e){return r[e]||e}];e=function(){return'[0-8]'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('3($(0+\'4\')!=null){attachDomEvent(0+\'5\',\'click\',function(a){$(0+\'4\').1.2=\'6\';$(0+\'_ColorsList\').1.2=\'block\';customColorsTabButton.7=\'8 UnSelected\';$(0+\'5\').7=\'8\'},true)}3(DisplayIcon==false){$(0+\'_Icon\').1.2=\'6\'}$(\'colorPickerViewState\').value+=0+\'_ColorsLoader|\';setTimeout("$(\'"+0+"\').1.visibility = \'visible\'",300);',[],9,'ColorPickerPlaceHolder|style|display|if|_CustomColors|_ColorButton|none|className|TabButton'.split('|'),0,{}));}eval(function(p,a,c,k,e,r){e=function(c){return c.toString(36)};if('0'.replace(0,e)==0){while(c--)r[e(c)]=k[c];k=[function(e){return r[e]||e}];e=function(){return'[1-9ghj-o]'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('1 attachDomEvent(a,b,e,c){2 d;5(6.4){d=\'h\'+b;3.7(a).4(d,e)}8{3.7(a).9(b,e,c)}}1 $(a){g 3.7(a)}1 $create(a){g 3.createElement(a)}5(6.4){6.4(\'onload\',1(a){j()})}8{6.9(\'load\',1(a){j()},true)}1 resetLinksSelectedState(a){5($(a)!=null){2 b=$(a).k(\'a\');l(i=0;i<b.m;i++){b[i].n=\'\'}}}1 closePaletteOnBodyClick(){}1 ColorPickerJsCustomFunction(a){}1 attachHTMLDomEvent(a,b,e){2 c;5(6.4){c=\'h\'+a;3.o.4(c,b)}8{3.o.9(a,b,e)}}3.getElementsByClassName=1(a){2 b=[];2 e=new RegExp(\'\\\\b\'+a+\'\\\\b\');2 c=this.k(\'*\');l(2 d=0;d<c.m;d++){2 f=c[d].n;5(e.test(f))b.push(c[d])}g b};',[],25,'|function|var|document|attachEvent|if|window|getElementById|else|addEventListener|||||||return|on||initColorPickerJs|getElementsByTagName|for|length|className|documentElement'.split('|'),0,{}))