var OxOda3a=["=","; path=/;"," expires=",";","cookie","length","","#ffffff","CECC","onmouseover","event","target","srcElement","className","colordiv","style","onmouseout","onclick","checked","CheckboxColorNames","cname","cvalue","[[_CuteEditorResource_]]Load.ashx?type=dialog\x26file=ColorPicker.Aspx\x26culture=[[_culture_]]","\x26[[DNN_Arg]]","dialogWidth:500px;dialogHeight:420px;help:0;status:0;resizable:1","dialogArguments","object","onchange","color","editor","divpreview","value","#","RecentColors","SPAN","[[ValidColor]]"]; function SetCookie(name,Ox4e,Ox4f){var Ox50=name+OxOda3a[0x0]+escape(Ox4e)+OxOda3a[0x1];if(Ox4f){var Ox51= new Date(); Ox51.setSeconds(Ox51.getSeconds()+Ox4f) ; Ox50+=OxOda3a[0x2]+Ox51.toUTCString()+OxOda3a[0x3] ;} ; document[OxOda3a[0x4]]=Ox50 ;}  ; function GetCookie(name){var Ox53=document[OxOda3a[0x4]].split(OxOda3a[0x3]);for(var i=0x0;i<Ox53[OxOda3a[0x5]];i++){var Ox54=Ox53[i].split(OxOda3a[0x0]);if(name==Ox54[0x0].replace(/\s/g,OxOda3a[0x6])){return unescape(Ox54[0x1]);} ;} ;}  ; function GetCookieDictionary(){var Ox124={};var Ox53=document[OxOda3a[0x4]].split(OxOda3a[0x3]);for(var i=0x0;i<Ox53[OxOda3a[0x5]];i++){var Ox54=Ox53[i].split(OxOda3a[0x0]); Ox124[Ox54[0x0].replace(/\s/g,OxOda3a[0x6])]=unescape(Ox54[0x1]) ;} ;return Ox124;}  ; function GetCookieArray(){var arr=[];var Ox53=document[OxOda3a[0x4]].split(OxOda3a[0x3]);for(var i=0x0;i<Ox53[OxOda3a[0x5]];i++){var Ox54=Ox53[i].split(OxOda3a[0x0]);var Ox50={name:Ox54[0x0].replace(/\s/g,OxOda3a[0x6]),value:unescape(Ox54[0x1])}; arr[arr[OxOda3a[0x5]]]=Ox50 ;} ;return arr;}  ;var __defaultcustomlist=[OxOda3a[0x7],OxOda3a[0x7],OxOda3a[0x7],OxOda3a[0x7],OxOda3a[0x7],OxOda3a[0x7],OxOda3a[0x7],OxOda3a[0x7]]; function GetCustomColors(){var Ox128=__defaultcustomlist.concat();for(var i=0x0;i<0x12;i++){var Oxd5=GetCustomColor(i);if(Oxd5){ Ox128[i]=Oxd5 ;} ;} ;return Ox128;}  ; function GetCustomColor(Ox12a){return GetCookie(OxOda3a[0x8]+Ox12a);}  ; function SetCustomColor(Ox12a,Oxd5){ SetCookie(OxOda3a[0x8]+Ox12a,Oxd5,0x3c*0x3c*0x18*0x16d) ;}  ;var _origincolor=OxOda3a[0x6]; document[OxOda3a[0x9]]=function (Ox21b){ Ox21b=window[OxOda3a[0xa]]||Ox21b ;var Ox12=Ox21b[OxOda3a[0xc]]||Ox21b[OxOda3a[0xb]];if(Ox12[OxOda3a[0xd]]==OxOda3a[0xe]){ firecolorchange(Ox12[OxOda3a[0xf]].backgroundColor) ;} ;}  ; document[OxOda3a[0x10]]=function (Ox21b){ Ox21b=window[OxOda3a[0xa]]||Ox21b ;var Ox12=Ox21b[OxOda3a[0xc]]||Ox21b[OxOda3a[0xb]];if(Ox12[OxOda3a[0xd]]==OxOda3a[0xe]){ firecolorchange(_origincolor) ;} ;}  ; document[OxOda3a[0x11]]=function (Ox21b){ Ox21b=window[OxOda3a[0xa]]||Ox21b ;var Ox12=Ox21b[OxOda3a[0xc]]||Ox21b[OxOda3a[0xb]];if(Ox12[OxOda3a[0xd]]==OxOda3a[0xe]){var Ox21c=document.getElementById(OxOda3a[0x13])&&document.getElementById(OxOda3a[0x13])[OxOda3a[0x12]];if(Ox21c){ do_select(Ox12.getAttribute(OxOda3a[0x14])||Ox12[OxOda3a[0xf]].backgroundColor) ;} else { do_select(Ox12.getAttribute(OxOda3a[0x15])||Ox12[OxOda3a[0xf]].backgroundColor) ;} ;} ;}  ;var _editor; function firecolorchange(Ox21f){}  ; function ShowColorDialog(Ox1ae){var Ox134=OxOda3a[0x16]+OxOda3a[0x17];var Ox221=OxOda3a[0x18];var Ox137=showModalDialog(Ox134,null,Ox221);if(Ox137!=null&&Ox137!==false){ Ox1ae(Ox137) ;} ;}  ;if(top[OxOda3a[0x19]]){if( typeof (top[OxOda3a[0x19]])==OxOda3a[0x1a]){if(top[OxOda3a[0x19]][OxOda3a[0x1b]]){ firecolorchange=top[OxOda3a[0x19]][OxOda3a[0x1b]] ; _origincolor=top[OxOda3a[0x19]][OxOda3a[0x1c]] ; _editor=top[OxOda3a[0x19]][OxOda3a[0x1d]] ;} ;} ;} ;var _selectedcolor=null; function do_select(Oxd5){ _selectedcolor=Oxd5 ; firecolorchange(Oxd5) ;var Ox224=document.getElementById(OxOda3a[0x1e]);if(Ox224){ Ox224[OxOda3a[0x1f]]=Oxd5 ;} ;}  ; function do_saverecent(Oxd5){if(!Oxd5){return ;} ;if(Oxd5[OxOda3a[0x5]]!=0x7){return ;} ;if(Oxd5.substring(0x0,0x1)!=OxOda3a[0x20]){return ;} ;var hex=Oxd5.substring(0x1,0x7);var Ox226=GetCookie(OxOda3a[0x21]);if(!Ox226){ Ox226=OxOda3a[0x6] ;} ;if((Ox226[OxOda3a[0x5]]%0x6)!=0x0){ Ox226=OxOda3a[0x6] ;} ;for(var i=0x0;i<Ox226[OxOda3a[0x5]];i+=0x6){if(Ox226.substr(i,0x6)==hex){ Ox226=Ox226.substr(0x0,i)+Ox226.substr(i+0x6) ; i-=0x6 ;} ;} ;if(Ox226[OxOda3a[0x5]]>0x1f*0x6){ Ox226=Ox226.substr(0x0,0x1f*0x6) ;} ; Ox226=hex+Ox226 ; SetCookie(OxOda3a[0x21],Ox226,0x3c*0x3c*0x18*0x16d) ;}  ; function do_insert(){var Oxd5;var divpreview=document.getElementById(OxOda3a[0x1e]);if(divpreview){ Oxd5=divpreview[OxOda3a[0x1f]] ;} else { Oxd5=_selectedcolor ;} ;if(!Oxd5){return ;} ;if(/^[0-9A-F]{6}$/ig.test(Oxd5)){ Oxd5=OxOda3a[0x20]+Oxd5 ;} ;try{ document.createElement(OxOda3a[0x22])[OxOda3a[0xf]][OxOda3a[0x1c]]=Oxd5 ; do_saverecent(Oxd5) ; Window_SetDialogReturnValue(window,Oxd5) ; Window_CloseDialog(window) ;} catch(x){ alert(OxOda3a[0x23]) ; divpreview[OxOda3a[0x1f]]=OxOda3a[0x6] ;return false;} ;}  ;





