var OxOc5af=["=","; 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+OxOc5af[0]+escape(Ox4f)+OxOc5af[1];if(Ox56){var Ox58= new Date();Ox58.setSeconds(Ox58.getSeconds()+Ox56);Ox57+=OxOc5af[2]+Ox58.toUTCString()+OxOc5af[3];} ;document[OxOc5af[4]]=Ox57;} ;function GetCookie(name){var Ox5a=document[OxOc5af[4]].split(OxOc5af[3]);for(var i=0;i<Ox5a[OxOc5af[5]];i++){var Ox5b=Ox5a[i].split(OxOc5af[0]);if(name==Ox5b[0].replace(/\s/g,OxOc5af[6])){return unescape(Ox5b[1]);} ;} ;} ;function GetCookieDictionary(){var Ox12b={};var Ox5a=document[OxOc5af[4]].split(OxOc5af[3]);for(var i=0;i<Ox5a[OxOc5af[5]];i++){var Ox5b=Ox5a[i].split(OxOc5af[0]);Ox12b[Ox5b[0].replace(/\s/g,OxOc5af[6])]=unescape(Ox5b[1]);} ;return Ox12b;} ;function GetCookieArray(){var arr=[];var Ox5a=document[OxOc5af[4]].split(OxOc5af[3]);for(var i=0;i<Ox5a[OxOc5af[5]];i++){var Ox5b=Ox5a[i].split(OxOc5af[0]);var Ox57={name:Ox5b[0].replace(/\s/g,OxOc5af[6]),value:unescape(Ox5b[1])};arr[arr[OxOc5af[5]]]=Ox57;} ;return arr;} ;var __defaultcustomlist=[OxOc5af[7],OxOc5af[7],OxOc5af[7],OxOc5af[7],OxOc5af[7],OxOc5af[7],OxOc5af[7],OxOc5af[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(OxOc5af[8]+Ox131);} ;function SetCustomColor(Ox131,Oxdc){SetCookie(OxOc5af[8]+Ox131,Oxdc,60*60*24*365);} ;var _origincolor=OxOc5af[6];document[OxOc5af[9]]=function (Ox1d0){Ox1d0=window[OxOc5af[10]]||Ox1d0;var Ox12=Ox1d0[OxOc5af[11]]||Ox1d0[OxOc5af[12]];if(Ox12[OxOc5af[13]]==OxOc5af[14]){firecolorchange(Ox12[OxOc5af[15]].backgroundColor);} ;} ;document[OxOc5af[16]]=function (Ox1d0){Ox1d0=window[OxOc5af[10]]||Ox1d0;var Ox12=Ox1d0[OxOc5af[11]]||Ox1d0[OxOc5af[12]];if(Ox12[OxOc5af[13]]==OxOc5af[14]){firecolorchange(_origincolor);} ;} ;document[OxOc5af[17]]=function (Ox1d0){Ox1d0=window[OxOc5af[10]]||Ox1d0;var Ox12=Ox1d0[OxOc5af[11]]||Ox1d0[OxOc5af[12]];if(Ox12[OxOc5af[13]]==OxOc5af[14]){var Ox29e=document.getElementById(OxOc5af[18])&&document.getElementById(OxOc5af[18])[OxOc5af[19]];if(Ox29e){do_select(Ox12.getAttribute(OxOc5af[20])||Ox12[OxOc5af[15]][OxOc5af[21]]);} else {do_select(Ox12.getAttribute(OxOc5af[22])||Ox12[OxOc5af[15]][OxOc5af[21]]);} ;} ;} ;var _editor;function firecolorchange(Ox2a1){} ;function ShowColorDialog(Ox235){var Ox13b=OxOc5af[23]+OxOc5af[24];var Ox2a3=OxOc5af[25];var Ox13e=showModalDialog(Ox13b,null,Ox2a3);if(Ox13e!=null&&Ox13e!==false){Ox235(Ox13e);} ;} ;if(top[OxOc5af[26]]){if( typeof (top[OxOc5af[26]])==OxOc5af[27]){if(top[OxOc5af[26]][OxOc5af[28]]){firecolorchange=top[OxOc5af[26]][OxOc5af[28]];_origincolor=top[OxOc5af[26]][OxOc5af[29]];_editor=top[OxOc5af[26]][OxOc5af[30]];} ;} ;} ;var _selectedcolor=null;function do_select(Oxdc){_selectedcolor=Oxdc;firecolorchange(Oxdc);var Ox2a6=document.getElementById(OxOc5af[31]);if(Ox2a6){Ox2a6[OxOc5af[32]]=Oxdc;} ;} ;function do_saverecent(Oxdc){if(!Oxdc){return ;} ;if(Oxdc[OxOc5af[5]]!=7){return ;} ;if(Oxdc.substring(0,1)!=OxOc5af[33]){return ;} ;var hex=Oxdc.substring(1,7);var Ox2a8=GetCookie(OxOc5af[34]);if(!Ox2a8){Ox2a8=OxOc5af[6];} ;if((Ox2a8[OxOc5af[5]]%6)!=0){Ox2a8=OxOc5af[6];} ;for(var i=0;i<Ox2a8[OxOc5af[5]];i+=6){if(Ox2a8.substr(i,6)==hex){Ox2a8=Ox2a8.substr(0,i)+Ox2a8.substr(i+6);i-=6;} ;} ;if(Ox2a8[OxOc5af[5]]>31*6){Ox2a8=Ox2a8.substr(0,31*6);} ;Ox2a8=hex+Ox2a8;SetCookie(OxOc5af[34],Ox2a8,60*60*24*365);} ;function do_insert(){var Oxdc;var divpreview=document.getElementById(OxOc5af[31]);if(divpreview){Oxdc=divpreview[OxOc5af[32]];} else {Oxdc=_selectedcolor;} ;if(!Oxdc){return ;} ;if(/^[0-9A-F]{6}$/ig.test(Oxdc)){Oxdc=OxOc5af[33]+Oxdc;} ;try{document.createElement(OxOc5af[35])[OxOc5af[15]][OxOc5af[29]]=Oxdc;do_saverecent(Oxdc);Window_SetDialogReturnValue(window,Oxdc);Window_CloseDialog(window);} catch(x){alert(OxOc5af[36]);divpreview[OxOc5af[32]]=OxOc5af[6];return false;} ;} ;