var OxO415c=["=","; path=/;"," expires=",";","cookie","length","","#ffffff","CECC","onmouseover","event","srcElement","target","className","colordiv","style","onmouseout","onclick","CheckboxColorNames","checked","cname","backgroundColor","cvalue","[[_CuteEditorResource_]]Load.ashx?type=dialog\x26file=ColorPicker.Aspx\x26culture=[[_culture_]]","\x26[[DNN_Arg]]","dialogWidth:520px;dialogHeight:420px;help:0;status:0;resizable:1","dialogArguments","object","onchange","color","editor","divpreview","value","#","RecentColors","SPAN","[[ValidColor]]"];function SetCookie(name,Ox4f,Ox56){var Ox57=name+OxO415c[0]+escape(Ox4f)+OxO415c[1];if(Ox56){var Ox58= new Date();Ox58.setSeconds(Ox58.getSeconds()+Ox56);Ox57+=OxO415c[2]+Ox58.toUTCString()+OxO415c[3];} ;document[OxO415c[4]]=Ox57;} ;function GetCookie(name){var Ox5a=document[OxO415c[4]].split(OxO415c[3]);for(var i=0;i<Ox5a[OxO415c[5]];i++){var Ox5b=Ox5a[i].split(OxO415c[0]);if(name==Ox5b[0].replace(/\s/g,OxO415c[6])){return unescape(Ox5b[1]);} ;} ;} ;function GetCookieDictionary(){var Ox12b={};var Ox5a=document[OxO415c[4]].split(OxO415c[3]);for(var i=0;i<Ox5a[OxO415c[5]];i++){var Ox5b=Ox5a[i].split(OxO415c[0]);Ox12b[Ox5b[0].replace(/\s/g,OxO415c[6])]=unescape(Ox5b[1]);} ;return Ox12b;} ;function GetCookieArray(){var arr=[];var Ox5a=document[OxO415c[4]].split(OxO415c[3]);for(var i=0;i<Ox5a[OxO415c[5]];i++){var Ox5b=Ox5a[i].split(OxO415c[0]);var Ox57={name:Ox5b[0].replace(/\s/g,OxO415c[6]),value:unescape(Ox5b[1])};arr[arr[OxO415c[5]]]=Ox57;} ;return arr;} ;var __defaultcustomlist=[OxO415c[7],OxO415c[7],OxO415c[7],OxO415c[7],OxO415c[7],OxO415c[7],OxO415c[7],OxO415c[7]];function GetCustomColors(){var Ox12f=__defaultcustomlist.concat();for(var i=0;i<18;i++){var Oxdc=GetCustomColor(i);if(Oxdc){Ox12f[i]=Oxdc;} ;} ;return Ox12f;} ;function GetCustomColor(Ox131){return GetCookie(OxO415c[8]+Ox131);} ;function SetCustomColor(Ox131,Oxdc){SetCookie(OxO415c[8]+Ox131,Oxdc,60*60*24*365);} ;var _origincolor=OxO415c[6];document[OxO415c[9]]=function (Ox1d0){Ox1d0=window[OxO415c[10]]||Ox1d0;var Ox12=Ox1d0[OxO415c[11]]||Ox1d0[OxO415c[12]];if(Ox12[OxO415c[13]]==OxO415c[14]){firecolorchange(Ox12[OxO415c[15]].backgroundColor);} ;} ;document[OxO415c[16]]=function (Ox1d0){Ox1d0=window[OxO415c[10]]||Ox1d0;var Ox12=Ox1d0[OxO415c[11]]||Ox1d0[OxO415c[12]];if(Ox12[OxO415c[13]]==OxO415c[14]){firecolorchange(_origincolor);} ;} ;document[OxO415c[17]]=function (Ox1d0){Ox1d0=window[OxO415c[10]]||Ox1d0;var Ox12=Ox1d0[OxO415c[11]]||Ox1d0[OxO415c[12]];if(Ox12[OxO415c[13]]==OxO415c[14]){var Ox29e=document.getElementById(OxO415c[18])&&document.getElementById(OxO415c[18])[OxO415c[19]];if(Ox29e){do_select(Ox12.getAttribute(OxO415c[20])||Ox12[OxO415c[15]][OxO415c[21]]);} else {do_select(Ox12.getAttribute(OxO415c[22])||Ox12[OxO415c[15]][OxO415c[21]]);} ;} ;} ;var _editor;function firecolorchange(Ox2a1){} ;function ShowColorDialog(Ox235){var Ox13b=OxO415c[23]+OxO415c[24];var Ox2a3=OxO415c[25];var Ox13e=showModalDialog(Ox13b,null,Ox2a3);if(Ox13e!=null&&Ox13e!==false){Ox235(Ox13e);} ;} ;if(top[OxO415c[26]]){if( typeof (top[OxO415c[26]])==OxO415c[27]){if(top[OxO415c[26]][OxO415c[28]]){firecolorchange=top[OxO415c[26]][OxO415c[28]];_origincolor=top[OxO415c[26]][OxO415c[29]];_editor=top[OxO415c[26]][OxO415c[30]];} ;} ;} ;var _selectedcolor=null;function do_select(Oxdc){_selectedcolor=Oxdc;firecolorchange(Oxdc);var Ox2a6=document.getElementById(OxO415c[31]);if(Ox2a6){Ox2a6[OxO415c[32]]=Oxdc;} ;} ;function do_saverecent(Oxdc){if(!Oxdc){return ;} ;if(Oxdc[OxO415c[5]]!=7){return ;} ;if(Oxdc.substring(0,1)!=OxO415c[33]){return ;} ;var hex=Oxdc.substring(1,7);var Ox2a8=GetCookie(OxO415c[34]);if(!Ox2a8){Ox2a8=OxO415c[6];} ;if((Ox2a8[OxO415c[5]]%6)!=0){Ox2a8=OxO415c[6];} ;for(var i=0;i<Ox2a8[OxO415c[5]];i+=6){if(Ox2a8.substr(i,6)==hex){Ox2a8=Ox2a8.substr(0,i)+Ox2a8.substr(i+6);i-=6;} ;} ;if(Ox2a8[OxO415c[5]]>31*6){Ox2a8=Ox2a8.substr(0,31*6);} ;Ox2a8=hex+Ox2a8;SetCookie(OxO415c[34],Ox2a8,60*60*24*365);} ;function do_insert(){var Oxdc;var divpreview=document.getElementById(OxO415c[31]);if(divpreview){Oxdc=divpreview[OxO415c[32]];} else {Oxdc=_selectedcolor;} ;if(!Oxdc){return ;} ;if(/^[0-9A-F]{6}$/ig.test(Oxdc)){Oxdc=OxO415c[33]+Oxdc;} ;try{document.createElement(OxO415c[35])[OxO415c[15]][OxO415c[29]]=Oxdc;do_saverecent(Oxdc);Window_SetDialogReturnValue(window,Oxdc);Window_CloseDialog(window);} catch(x){alert(OxO415c[36]);divpreview[OxO415c[32]]=OxO415c[6];return false;} ;} ;