Loader.js
上传用户:simon2hong
上传日期:2021-11-18
资源大小:16746k
文件大小:22k
- var OxOf3da=["isWinIE","isGecko","isSafari","isOpera","userAgent","ua","opera","safari","gecko","msie","compatMode","document","CSS1Compat","undefined","Microsoft.XMLHTTP","Not support XMLHttpRequest.","readyState","onreadystatechange","","length","all","childNodes","nodeType","x0Dx0A","onchange","oninitialized","command","commandui","commandvalue","returnValue","oncommand","string","event","_fireEventFunction","parentNode","_IsCuteEditor","True","readOnly","_IsRichDropDown","null","value","selectedIndex","nodeName","TR","cells","display","style","nextSibling","innerHTML","x3Cimg src=x22","/Load.ashx?type=imagex26file=t-minus.gifx22x3E","CuteEditor_CollapseTreeDropDownItem(this,x22","x22)","onclick","onmousedown","none","/Load.ashx?type=imagex26file=t-plus.gifx22x3E","CuteEditor_ExpandTreeDropDownItem(this,x22","contains","UNSELECTABLE","on","tabIndex","-1","//TODO: event not found? throw error ?","contentWindow","contentDocument","parentWindow","id","frames","frameElement","//TODO:frame contentWindow not found?","preventDefault","caller","arguments","parent","top","opener","srcElement","target","//TODO: srcElement not found? throw error ?","fromElement","relatedTarget","toElement","keyCode","clientX","clientY","offsetX","offsetY","button","ctrlKey","altKey","shiftKey","cancelBubble","stopPropagation",";CuteEditor_GetEditor(this).ExecImageCommand(this.getAttribute(x27Commandx27),this.getAttribute(x27CommandUIx27),this.getAttribute(x27CommandArgumentx27))","CuteEditor_GetEditor(this).PostBack(this.getAttribute(x27Commandx27))","this.onmouseout();CuteEditor_GetEditor(this).DropMenu(this.getAttribute(x27Groupx27),this)","ResourceDir","Theme","/Load.ashx?type=themex26theme=","x26file=all.png","/Load.ashx?type=imagex26file=blank2020.gif","IMG","Command","Group","ThemeIndex","width","20px","height","src","backgroundImage","url(",")","backgroundPosition","0 -","px","onload","className","separator","CuteEditorButton","CuteEditor_ButtonCommandOver(this)","onmouseover","CuteEditor_ButtonCommandOut(this)","onmouseout","CuteEditor_ButtonCommandDown(this)","CuteEditor_ButtonCommandUp(this)","onmouseup","oncontextmenu","ondragstart","PostBack","ondblclick","_ToolBarID","_CodeViewToolBarID","_FrameID"," CuteEditorFrame"," CuteEditorToolbar","cursor","no-drop","ActiveTab","View","Code","Edit","buttonInitialized","isover","CuteEditorButtonOver","CuteEditorButtonDown","CuteEditorDown","border","solid 1px #0A246A","backgroundColor","#b6bdd2","padding","1px","solid 1px #f5f5f4","inset 1px","IsCommandDisabled","CuteEditorButtonDisabled","IsCommandActive","CuteEditorButtonActive","(","scriptProperties","GetScriptProperty","/Load.ashx?type=scriptsx26file=Gecko_Implementation","CuteEditorImplementation","function","POST","x26getModified=1","status","Failed to load impl time!","GET","x26modified=","Failed to load impl code!","body","InitializeCode","block","contentEditable"," x3Cbr /x3E ","designMode"];var _Browser_TypeInfo=null; function Browser__InitType(){if(_Browser_TypeInfo!=null){return ;} ;var Ox4={}; Ox4[OxOf3da[0x5]]=navigator[OxOf3da[0x4]].toLowerCase(),Ox4[OxOf3da[0x3]]=(Ox4[OxOf3da[0x5]].indexOf(OxOf3da[0x6])>-0x1),Ox4[OxOf3da[0x2]]=(Ox4[OxOf3da[0x5]].indexOf(OxOf3da[0x7])>-0x1),Ox4[OxOf3da[0x1]]=(!Ox4[OxOf3da[0x3]]&&!Ox4[OxOf3da[0x2]]&&Ox4[OxOf3da[0x5]].indexOf(OxOf3da[0x8])>-0x1),Ox4[OxOf3da[0x0]]=(!Ox4[OxOf3da[0x3]]&&Ox4[OxOf3da[0x5]].indexOf(OxOf3da[0x9])>-0x1) ; _Browser_TypeInfo=Ox4 ;} ; Browser__InitType() ; function Browser_IsWinIE(){return _Browser_TypeInfo[OxOf3da[0x0]];} ; function Browser_IsGecko(){return _Browser_TypeInfo[OxOf3da[0x1]];} ; function Browser_IsOpera(){return _Browser_TypeInfo[OxOf3da[0x3]];} ; function Browser_IsSafari(){return _Browser_TypeInfo[OxOf3da[0x2]];} ; function Browser_UseIESelection(){return _Browser_TypeInfo[OxOf3da[0x0]];} ; function Browser_IsCSS1Compat(){return window[OxOf3da[0xb]][OxOf3da[0xa]]==OxOf3da[0xc];} ; function CreateXMLHttpRequest(){if( typeof (XMLHttpRequest)!=OxOf3da[0xd]){return new XMLHttpRequest();} ;if( typeof (ActiveXObject)!=OxOf3da[0xd]){return new ActiveXObject(OxOf3da[0xe]);} ;throw ( new Error(OxOf3da[0xf]));} ; function LoadXMLAsync(Ox859,Ox280,Ox1b6,Ox85a){var Ox146=CreateXMLHttpRequest(); function Ox85b(){if(Ox146[OxOf3da[0x10]]!=0x4){return ;} ; Ox146[OxOf3da[0x11]]= new Function() ;var Ox748=Ox146; Ox146=null ; Ox1b6(Ox748) ;} ; Ox146[OxOf3da[0x11]]=Ox85b ; Ox146.open(Ox859,Ox280,true) ; Ox146.send(Ox85a||OxOf3da[0x12]) ;} ; function Element_GetAllElements(p){var arr=[];if(Browser_IsWinIE()){for(var i=0x0;i<p[OxOf3da[0x14]][OxOf3da[0x13]];i++){ arr.push(p[OxOf3da[0x14]].item(i)) ;} ;return arr;} ; Ox1c5(p) ; function Ox1c5(Ox81){var Ox1c6=Ox81[OxOf3da[0x15]];var Ox2b=Ox1c6[OxOf3da[0x13]];for(var i=0x0;i<Ox2b;i++){var n=Ox1c6.item(i);if(n[OxOf3da[0x16]]!=0x1){continue ;} ; arr.push(n) ; Ox1c5(n) ;} ;} ;return arr;} ;var __ISDEBUG=true; function Debug_Todo(Ox1b9){if(!__ISDEBUG){return ;} ;throw ( new Error(Ox1b9+OxOf3da[0x17]+Debug_Todo.caller));} ; function Window_GetElement(Ox1bd,Oxfc,Ox1c3){var Ox81=Ox1bd[OxOf3da[0xb]].getElementById(Oxfc);if(Ox81){return Ox81;} ;var coll=Ox1bd[OxOf3da[0xb]].getElementsByName(Oxfc);if(coll[OxOf3da[0x13]]>0x0){return coll.item(0x0);} ;return null;} ; function CuteEditor_AddMainMenuItems(Ox530){} ; function CuteEditor_AddDropMenuItems(Ox530,Ox537){} ; function CuteEditor_AddTagMenuItems(Ox530,Ox539){} ; function CuteEditor_AddVerbMenuItems(Ox530,Ox539){} ; function CuteEditor_OnInitialized(editor){} ; function CuteEditor_OnCommand(editor,Ox53d,Ox53e,Ox1be){} ; function CuteEditor_OnChange(editor){} ; function CuteEditor_FilterCode(editor,Ox1f0){return Ox1f0;} ; function CuteEditor_FilterHTML(editor,Ox98){return Ox98;} ; function CuteEditor_FireChange(editor){ window.CuteEditor_OnChange(editor) ; CuteEditor_FireEvent(editor,OxOf3da[0x18],null) ;} ; function CuteEditor_FireInitialized(editor){ window.CuteEditor_OnInitialized(editor) ; CuteEditor_FireEvent(editor,OxOf3da[0x19],null) ;} ; function CuteEditor_FireCommand(editor,Ox53d,Ox53e,Ox1be){var Ox330=window.CuteEditor_OnCommand(editor,Ox53d,Ox53e,Ox1be);if(Ox330==true){return true;} ;var Ox545={}; Ox545[OxOf3da[0x1a]]=Ox53d ; Ox545[OxOf3da[0x1b]]=Ox53e ; Ox545[OxOf3da[0x1c]]=Ox1be ; Ox545[OxOf3da[0x1d]]=true ; CuteEditor_FireEvent(editor,OxOf3da[0x1e],Ox545) ;if(Ox545[OxOf3da[0x1d]]==false){return true;} ;} ; function CuteEditor_FireEvent(editor,Ox547,Ox548){if(Ox548==null){ Ox548={} ;} ;var Ox549=editor.getAttribute(Ox547);if(Ox549){if( typeof (Ox549)==OxOf3da[0x1f]){ editor[OxOf3da[0x21]]= new Function(OxOf3da[0x20],Ox549) ;} else { editor[OxOf3da[0x21]]=Ox549 ;} ; editor._fireEventFunction(Ox548) ;} ;} ; function CuteEditor_GetEditor(element){for(var Oxb0=element;Oxb0!=null;Oxb0=Oxb0[OxOf3da[0x22]]){if(Oxb0.getAttribute(OxOf3da[0x23])==OxOf3da[0x24]){return Oxb0;} ;} ;return null;} ; function CuteEditor_DropDownCommand(element,Ox85d){var editor=CuteEditor_GetEditor(element);if(editor[OxOf3da[0x25]]){return ;} ;if(element.getAttribute(OxOf3da[0x26])==OxOf3da[0x24]){var Ox60=element.GetValue();if(Ox60==OxOf3da[0x27]){ Ox60=OxOf3da[0x12] ;} ;var Ox18e=element.GetText();if(Ox18e==OxOf3da[0x27]){ Ox18e=OxOf3da[0x12] ;} ; element.SetSelectedIndex(0x0) ; editor.ExecCommand(Ox85d,false,Ox60,Ox18e) ;} else {if(element[OxOf3da[0x28]]){var Ox60=element[OxOf3da[0x28]];if(Ox60==OxOf3da[0x27]){ Ox60=OxOf3da[0x12] ;} ; element[OxOf3da[0x29]]=0x0 ; editor.ExecCommand(Ox85d,false,Ox60,Ox18e) ;} else { element[OxOf3da[0x29]]=0x0 ;} ;} ; editor.FocusDocument() ;} ; function CuteEditor_ExpandTreeDropDownItem(src,Ox618){var Ox11c=null;while(src!=null){if(src[OxOf3da[0x2a]]==OxOf3da[0x2b]){ Ox11c=src ;break ;} ; src=src[OxOf3da[0x22]] ;} ;var Ox64=Ox11c[OxOf3da[0x2c]].item(0x0); Ox11c[OxOf3da[0x2f]][OxOf3da[0x2e]][OxOf3da[0x2d]]=OxOf3da[0x12] ; Ox64[OxOf3da[0x30]]=OxOf3da[0x31]+Ox618+OxOf3da[0x32] ; Ox11c[OxOf3da[0x35]]= new Function(OxOf3da[0x33]+Ox618+OxOf3da[0x34]) ; Ox11c[OxOf3da[0x36]]= new Function(OxOf3da[0x33]+Ox618+OxOf3da[0x34]) ;} ; function CuteEditor_CollapseTreeDropDownItem(src,Ox618){var Ox11c=null;while(src!=null){if(src[OxOf3da[0x2a]]==OxOf3da[0x2b]){ Ox11c=src ;break ;} ; src=src[OxOf3da[0x22]] ;} ;var Ox64=Ox11c[OxOf3da[0x2c]].item(0x0); Ox11c[OxOf3da[0x2f]][OxOf3da[0x2e]][OxOf3da[0x2d]]=OxOf3da[0x37] ; Ox64[OxOf3da[0x30]]=OxOf3da[0x31]+Ox618+OxOf3da[0x38] ; Ox11c[OxOf3da[0x35]]= new Function(OxOf3da[0x39]+Ox618+OxOf3da[0x34]) ; Ox11c[OxOf3da[0x36]]= new Function(OxOf3da[0x39]+Ox618+OxOf3da[0x34]) ;} ; function Element_Contains(element,Ox231){if(!Browser_IsOpera()){if(element[OxOf3da[0x3a]]){return element.contains(Ox231);} ;} ;for(;Ox231!=null;Ox231=Ox231[OxOf3da[0x22]]){if(element==Ox231){return true;} ;} ;return false;} ; function Element_SetUnselectable(element){ element.setAttribute(OxOf3da[0x3b],OxOf3da[0x3c]) ; element.setAttribute(OxOf3da[0x3d],OxOf3da[0x3e]) ;var arr=Element_GetAllElements(element);var len=arr[OxOf3da[0x13]];if(!len){return ;} ;for(var i=0x0;i<len;i++){ arr[i].setAttribute(OxOf3da[0x3b],OxOf3da[0x3c]) ; arr[i].setAttribute(OxOf3da[0x3d],OxOf3da[0x3e]) ;} ;} ; function Event_GetEvent(Ox1c9){ Ox1c9=Event_FindEvent(Ox1c9) ;if(Ox1c9==null){ Debug_Todo(OxOf3da[0x3f]) ;} ;return Ox1c9;} ; function Frame_GetContentWindow(Ox23b){if(Ox23b[OxOf3da[0x40]]){return Ox23b[OxOf3da[0x40]];} ;if(Ox23b[OxOf3da[0x41]]){if(Ox23b[OxOf3da[0x41]][OxOf3da[0x42]]){return Ox23b[OxOf3da[0x41]][OxOf3da[0x42]];} ;} ;var Ox1bd;if(Ox23b[OxOf3da[0x43]]){ Ox1bd=window[OxOf3da[0x44]][Ox23b[OxOf3da[0x43]]] ;if(Ox1bd){return Ox1bd;} ;} ;var len=window[OxOf3da[0x44]][OxOf3da[0x13]];for(var i=0x0;i<len;i++){ Ox1bd=window[OxOf3da[0x44]][i] ; alert(Ox1bd.name) ;if(Ox1bd[OxOf3da[0x45]]==Ox23b){return Ox1bd;} ;if(Ox1bd[OxOf3da[0xb]]==Ox23b[OxOf3da[0x41]]){return Ox1bd;} ;} ; Debug_Todo(OxOf3da[0x46]) ;} ; function Array_IndexOf(arr,Ox1cb){for(var i=0x0;i<arr[OxOf3da[0x13]];i++){if(arr[i]==Ox1cb){return i;} ;} ;return -0x1;} ; function Array_Contains(arr,Ox1cb){return Array_IndexOf(arr,Ox1cb)!=-0x1;} ; function Event_FindEvent(Ox1c9){if(Ox1c9&&Ox1c9[OxOf3da[0x47]]){return Ox1c9;} ;if(Browser_IsGecko()){return Event_FindEvent_FindEventFromCallers();} else {if(window[OxOf3da[0x20]]){return window[OxOf3da[0x20]];} ;return Event_FindEvent_FindEventFromWindows();} ;return null;} ; function Event_FindEvent_FindEventFromCallers(){var Ox1d1=Event_GetEvent[OxOf3da[0x48]];for(var i=0x0;i<0x64;i++){if(!Ox1d1){break ;} ;var Ox1c9=Ox1d1[OxOf3da[0x49]][0x0];if(Ox1c9&&Ox1c9[OxOf3da[0x47]]){return Ox1c9;} ; Ox1d1=Ox1d1[OxOf3da[0x48]] ;} ;} ; function Event_FindEvent_FindEventFromWindows(){var arr=[];return Ox1d3(window); function Ox1d3(Ox1bd){if(Ox1bd==null){return null;} ;if(Ox1bd[OxOf3da[0x20]]){return Ox1bd[OxOf3da[0x20]];} ;if(Array_Contains(arr,Ox1bd)){return null;} ; arr.push(Ox1bd) ;var Ox1d4=[];if(Ox1bd[OxOf3da[0x4a]]!=Ox1bd){ Ox1d4.push(Ox1bd.parent) ;} ;if(Ox1bd[OxOf3da[0x4b]]!=Ox1bd[OxOf3da[0x4a]]){ Ox1d4.push(Ox1bd.top) ;} ;if(Ox1bd[OxOf3da[0x4c]]){ Ox1d4.push(Ox1bd.opener) ;} ;for(var i=0x0;i<Ox1bd[OxOf3da[0x44]][OxOf3da[0x13]];i++){ Ox1d4.push(Ox1bd[OxOf3da[0x44]][i]) ;} ;for(var i=0x0;i<Ox1d4[OxOf3da[0x13]];i++){try{var Ox1c9=Ox1d3(Ox1d4[i]);if(Ox1c9){return Ox1c9;} ;} catch(x){} ;} ;return null;} ;} ; function Event_GetSrcElement(Ox1c9){ Ox1c9=Event_GetEvent(Ox1c9) ;if(Ox1c9[OxOf3da[0x4d]]){return Ox1c9[OxOf3da[0x4d]];} ;if(Ox1c9[OxOf3da[0x4e]]){return Ox1c9[OxOf3da[0x4e]];} ; Debug_Todo(OxOf3da[0x4f]) ;return null;} ; function Event_GetFromElement(Ox1c9){ Ox1c9=Event_GetEvent(Ox1c9) ;if(Ox1c9[OxOf3da[0x50]]){return Ox1c9[OxOf3da[0x50]];} ;if(Ox1c9[OxOf3da[0x51]]){return Ox1c9[OxOf3da[0x51]];} ;return null;} ; function Event_GetToElement(Ox1c9){ Ox1c9=Event_GetEvent(Ox1c9) ;if(Ox1c9[OxOf3da[0x52]]){return Ox1c9[OxOf3da[0x52]];} ;if(Ox1c9[OxOf3da[0x51]]){return Ox1c9[OxOf3da[0x51]];} ;return null;} ; function Event_GetKeyCode(Ox1c9){ Ox1c9=Event_GetEvent(Ox1c9) ;return Ox1c9[OxOf3da[0x53]];} ; function Event_GetClientX(Ox1c9){ Ox1c9=Event_GetEvent(Ox1c9) ;return Ox1c9[OxOf3da[0x54]];} ; function Event_GetClientY(Ox1c9){ Ox1c9=Event_GetEvent(Ox1c9) ;return Ox1c9[OxOf3da[0x55]];} ; function Event_GetOffsetX(Ox1c9){ Ox1c9=Event_GetEvent(Ox1c9) ;return Ox1c9[OxOf3da[0x56]];} ; function Event_GetOffsetY(Ox1c9){ Ox1c9=Event_GetEvent(Ox1c9) ;return Ox1c9[OxOf3da[0x57]];} ; function Event_IsLeftButton(Ox1c9){ Ox1c9=Event_GetEvent(Ox1c9) ;if(Browser_IsWinIE()){return Ox1c9[OxOf3da[0x58]]==0x1;} ;if(Browser_IsGecko()){return Ox1c9[OxOf3da[0x58]]==0x0;} ;return Ox1c9[OxOf3da[0x58]]==0x0;} ; function Event_IsCtrlKey(Ox1c9){ Ox1c9=Event_GetEvent(Ox1c9) ;return Ox1c9[OxOf3da[0x59]];} ; function Event_IsAltKey(Ox1c9){ Ox1c9=Event_GetEvent(Ox1c9) ;return Ox1c9[OxOf3da[0x5a]];} ; function Event_IsShiftKey(Ox1c9){ Ox1c9=Event_GetEvent(Ox1c9) ;return Ox1c9[OxOf3da[0x5b]];} ; function Event_PreventDefault(Ox1c9){ Ox1c9=Event_GetEvent(Ox1c9) ; Ox1c9[OxOf3da[0x1d]]=false ;if(Ox1c9[OxOf3da[0x47]]){ Ox1c9.preventDefault() ;} ;} ; function Event_CancelBubble(Ox1c9){ Ox1c9=Event_GetEvent(Ox1c9) ; Ox1c9[OxOf3da[0x5c]]=true ;if(Ox1c9[OxOf3da[0x5d]]){ Ox1c9.stopPropagation() ;} ;return false;} ; function Event_CancelEvent(Ox1c9){ Ox1c9=Event_GetEvent(Ox1c9) ; Event_PreventDefault(Ox1c9) ;return Event_CancelBubble(Ox1c9);} ; function CuteEditor_BasicInitialize(editor){var Ox861=Browser_IsOpera();var Ox5df= new Function(OxOf3da[0x5e]);var Ox862= new Function(OxOf3da[0x5f]);var Ox863= new Function(OxOf3da[0x60]);var Ox864=editor.GetScriptProperty(OxOf3da[0x61]);var Ox865=editor.GetScriptProperty(OxOf3da[0x62]);var Ox866=Ox864+OxOf3da[0x63]+Ox865+OxOf3da[0x64];var Ox867=Ox864+OxOf3da[0x65];var images=editor.getElementsByTagName(OxOf3da[0x66]);var len=images[OxOf3da[0x13]];for(var i=0x0;i<len;i++){var img=images[i];var Ox70c=img.getAttribute(OxOf3da[0x67]);var Ox537=img.getAttribute(OxOf3da[0x68]);var Ox868=img.getAttribute(OxOf3da[0x69]);if(parseInt(Ox868)>=0x0){ img[OxOf3da[0x2e]][OxOf3da[0x6a]]=OxOf3da[0x6b] ; img[OxOf3da[0x2e]][OxOf3da[0x6c]]=OxOf3da[0x6b] ; img[OxOf3da[0x6d]]=Ox867 ; img[OxOf3da[0x2e]][OxOf3da[0x6e]]=OxOf3da[0x6f]+Ox866+OxOf3da[0x70] ; img[OxOf3da[0x2e]][OxOf3da[0x71]]=OxOf3da[0x72]+(Ox868*0x14)+OxOf3da[0x73] ; img[OxOf3da[0x2e]][OxOf3da[0x2d]]=OxOf3da[0x12] ;} ;if(!Ox70c&&!Ox537){if(Ox861){ img[OxOf3da[0x74]]=CuteEditor_OperaHandleImageLoaded ;} ;continue ;} ;if(img[OxOf3da[0x75]]!=OxOf3da[0x76]){ img[OxOf3da[0x75]]=OxOf3da[0x77] ; img[OxOf3da[0x79]]= new Function(OxOf3da[0x78]) ; img[OxOf3da[0x7b]]= new Function(OxOf3da[0x7a]) ; img[OxOf3da[0x36]]= new Function(OxOf3da[0x7c]) ; img[OxOf3da[0x7e]]= new Function(OxOf3da[0x7d]) ;} ;if(!img[OxOf3da[0x7f]]){ img[OxOf3da[0x7f]]=Event_CancelEvent ;} ;if(!img[OxOf3da[0x80]]){ img[OxOf3da[0x80]]=Event_CancelEvent ;} ;if(Ox70c){var Ox1d1=img.getAttribute(OxOf3da[0x81])==OxOf3da[0x24]?Ox862:Ox5df;if(img[OxOf3da[0x35]]==null){ img[OxOf3da[0x35]]=Ox1d1 ;} ;if(img[OxOf3da[0x82]]==null){ img[OxOf3da[0x82]]=Ox1d1 ;} ;} else {if(Ox537){if(img[OxOf3da[0x35]]==null){ img[OxOf3da[0x35]]=Ox863 ;} ;} ;} ;} ;var Ox655=Window_GetElement(window,editor.GetScriptProperty(OxOf3da[0x83]),true);var Ox656=Window_GetElement(window,editor.GetScriptProperty(OxOf3da[0x84]),true);var Ox653=Window_GetElement(window,editor.GetScriptProperty(OxOf3da[0x85]),true); Ox653[OxOf3da[0x75]]+=OxOf3da[0x86] ; Ox655[OxOf3da[0x75]]+=OxOf3da[0x87] ; Ox656[OxOf3da[0x75]]+=OxOf3da[0x87] ; Element_SetUnselectable(Ox655) ; Element_SetUnselectable(Ox656) ;try{ editor[OxOf3da[0x2e]][OxOf3da[0x88]]=OxOf3da[0x89] ;} catch(x){} ;var Ox6c8=editor.GetScriptProperty(OxOf3da[0x8a]);switch(Ox6c8){case OxOf3da[0x8d]: Ox655[OxOf3da[0x2e]][OxOf3da[0x2d]]=OxOf3da[0x12] ;break ;case OxOf3da[0x8c]: Ox656[OxOf3da[0x2e]][OxOf3da[0x2d]]=OxOf3da[0x12] ;break ;case OxOf3da[0x8b]:break ;;;;} ;} ; function CuteEditor_OperaHandleImageLoaded(){var img=this;if(img[OxOf3da[0x2e]][OxOf3da[0x2d]]){ img[OxOf3da[0x2e]][OxOf3da[0x2d]]=OxOf3da[0x37] ; setTimeout(function Ox86a(){ img[OxOf3da[0x2e]][OxOf3da[0x2d]]=OxOf3da[0x12] ;} ,0x1) ;} ;} ; function CuteEditor_ButtonOver(element){if(!element[OxOf3da[0x8e]]){ element[OxOf3da[0x7f]]=Event_CancelEvent ; element[OxOf3da[0x7b]]=CuteEditor_ButtonOut ; element[OxOf3da[0x36]]=CuteEditor_ButtonDown ; element[OxOf3da[0x7e]]=CuteEditor_ButtonUp ; Element_SetUnselectable(element) ; element[OxOf3da[0x8e]]=true ;} ; element[OxOf3da[0x8f]]=true ; element[OxOf3da[0x75]]=OxOf3da[0x90] ;} ; function CuteEditor_ButtonOut(){var element=this; element[OxOf3da[0x75]]=OxOf3da[0x77] ; element[OxOf3da[0x8f]]=false ;} ; function CuteEditor_ButtonDown(){if(!Event_IsLeftButton()){return ;} ;var element=this; element[OxOf3da[0x75]]=OxOf3da[0x91] ;} ; function CuteEditor_ButtonUp(){if(!Event_IsLeftButton()){return ;} ;var element=this;if(element[OxOf3da[0x8f]]){ element[OxOf3da[0x75]]=OxOf3da[0x90] ;} else { element[OxOf3da[0x75]]=OxOf3da[0x92] ;} ;} ; function CuteEditor_ColorPicker_ButtonOver(element){if(!element[OxOf3da[0x8e]]){ element[OxOf3da[0x7f]]=Event_CancelEvent ; element[OxOf3da[0x7b]]=CuteEditor_ColorPicker_ButtonOut ; element[OxOf3da[0x36]]=CuteEditor_ColorPicker_ButtonDown ; Element_SetUnselectable(element) ; element[OxOf3da[0x8e]]=true ;} ; element[OxOf3da[0x8f]]=true ; element[OxOf3da[0x2e]][OxOf3da[0x93]]=OxOf3da[0x94] ; element[OxOf3da[0x2e]][OxOf3da[0x95]]=OxOf3da[0x96] ; element[OxOf3da[0x2e]][OxOf3da[0x97]]=OxOf3da[0x98] ;} ; function CuteEditor_ColorPicker_ButtonOut(){var element=this; element[OxOf3da[0x8f]]=false ; element[OxOf3da[0x2e]][OxOf3da[0x93]]=OxOf3da[0x99] ; element[OxOf3da[0x2e]][OxOf3da[0x95]]=OxOf3da[0x12] ; element[OxOf3da[0x2e]][OxOf3da[0x97]]=OxOf3da[0x98] ;} ; function CuteEditor_ColorPicker_ButtonDown(){var element=this; element[OxOf3da[0x2e]][OxOf3da[0x93]]=OxOf3da[0x9a] ; element[OxOf3da[0x2e]][OxOf3da[0x95]]=OxOf3da[0x12] ; element[OxOf3da[0x2e]][OxOf3da[0x97]]=OxOf3da[0x98] ;} ; function CuteEditor_ButtonCommandOver(element){ element[OxOf3da[0x8f]]=true ;if(element[OxOf3da[0x9b]]){ element[OxOf3da[0x75]]=OxOf3da[0x9c] ;} else { element[OxOf3da[0x75]]=OxOf3da[0x90] ;} ;} ; function CuteEditor_ButtonCommandOut(element){ element[OxOf3da[0x8f]]=false ;if(element[OxOf3da[0x9d]]){ element[OxOf3da[0x75]]=OxOf3da[0x9e] ;} else {if(element[OxOf3da[0x9b]]){ element[OxOf3da[0x75]]=OxOf3da[0x9c] ;} else { element[OxOf3da[0x75]]=OxOf3da[0x77] ;} ;} ;} ; function CuteEditor_ButtonCommandDown(element){if(!Event_IsLeftButton()){return ;} ; element[OxOf3da[0x75]]=OxOf3da[0x91] ;} ; function CuteEditor_ButtonCommandUp(element){if(!Event_IsLeftButton()){return ;} ;if(element[OxOf3da[0x9b]]){ element[OxOf3da[0x75]]=OxOf3da[0x9c] ;return ;} ;if(element[OxOf3da[0x8f]]){ element[OxOf3da[0x75]]=OxOf3da[0x90] ;} else {if(element[OxOf3da[0x9d]]){ element[OxOf3da[0x75]]=OxOf3da[0x9e] ;} else { element[OxOf3da[0x75]]=OxOf3da[0x77] ;} ;} ;} ;var CuteEditorGlobalFunctions=[CuteEditor_ButtonOver,CuteEditor_ButtonOut,CuteEditor_ButtonDown,CuteEditor_ButtonUp,CuteEditor_ColorPicker_ButtonOver,CuteEditor_ColorPicker_ButtonOut,CuteEditor_ColorPicker_ButtonDown,CuteEditor_ButtonCommandOver,CuteEditor_ButtonCommandOut,CuteEditor_ButtonCommandDown,CuteEditor_ButtonCommandUp,CuteEditor_DropDownCommand,CuteEditor_ExpandTreeDropDownItem,CuteEditor_CollapseTreeDropDownItem,CuteEditor_OnInitialized,CuteEditor_OnCommand,CuteEditor_OnChange,CuteEditor_AddVerbMenuItems,CuteEditor_AddTagMenuItems,CuteEditor_AddMainMenuItems,CuteEditor_AddDropMenuItems,CuteEditor_FilterCode,CuteEditor_FilterHTML]; function SetupCuteEditorGlobalFunctions(){for(var i=0x0;i<CuteEditorGlobalFunctions[OxOf3da[0x13]];i++){var Ox1d1=CuteEditorGlobalFunctions[i];var name=Ox1d1+OxOf3da[0x12]; name=name.substr(0x8,name.indexOf(OxOf3da[0x9f])-0x8).replace(/s/g,OxOf3da[0x12]) ;if(!window[name]){ window[name]=Ox1d1 ;} ;} ;} ; SetupCuteEditorGlobalFunctions() ; function CuteEditor_GetScriptProperty(name){return this[OxOf3da[0xa0]][name];} ; function CuteEditor_SetScriptProperty(name,Ox60){if(Ox60==null){ this[OxOf3da[0xa0]][name]=null ;} else { this[OxOf3da[0xa0]][name]=String(Ox60) ;} ;} ; function CuteEditorInitialize(Ox870,Ox871){var editor=Window_GetElement(window,Ox870,true); editor[OxOf3da[0xa0]]=Ox871 ; editor[OxOf3da[0xa1]]=CuteEditor_GetScriptProperty ;var Ox653=Window_GetElement(window,editor.GetScriptProperty(OxOf3da[0x85]),true);var editwin=Frame_GetContentWindow(Ox653);var editdoc=editwin[OxOf3da[0xb]];var Ox872=false;var Ox873;var Ox874=false;var Ox875=editor.GetScriptProperty(OxOf3da[0x61])+OxOf3da[0xa2]; function Ox876(){if( typeof (window[OxOf3da[0xa3]])==OxOf3da[0xa4]){return ;} ; LoadXMLAsync(OxOf3da[0xa5],Ox875+OxOf3da[0xa6],Ox877) ;} ; function Ox877(Ox748){if(Ox748[OxOf3da[0xa7]]!=0xc8){ alert(OxOf3da[0xa8]) ;return ;} ; LoadXMLAsync(OxOf3da[0xa9],Ox875+OxOf3da[0xaa]+Ox748.responseText,Ox878) ;} ; function Ox878(Ox748){if(Ox748[OxOf3da[0xa7]]!=0xc8){ alert(OxOf3da[0xab]) ;return ;} ; CuteEditorInstallScriptCode(Ox748.responseText,OxOf3da[0xa3]) ;if(Ox872){ Ox879() ;} ;} ; function Ox879(){if(Ox874){return ;} ; Ox874=true ; window.CuteEditorImplementation(editor) ;try{ editor[OxOf3da[0x2e]][OxOf3da[0x88]]=OxOf3da[0x12] ;} catch(x){} ;try{ editdoc[OxOf3da[0xac]][OxOf3da[0x2e]][OxOf3da[0x88]]=OxOf3da[0x12] ;} catch(x){} ;var Ox87a=editor.GetScriptProperty(OxOf3da[0xad]);if(Ox87a){ editor.Eval(Ox87a) ;} ;} ; function Ox87b(){if(!Element_Contains(window[OxOf3da[0xb]].body,editor)){return ;} ;if(!editdoc[OxOf3da[0xac]]){ setTimeout(Ox87b,0x64) ;return ;} ;if(!Ox872){ Ox653[OxOf3da[0x2e]][OxOf3da[0x2d]]=OxOf3da[0xae] ;if(Browser_IsOpera()){ editdoc[OxOf3da[0xac]][OxOf3da[0xaf]]=true ;} else {if(Browser_IsGecko()){ editdoc[OxOf3da[0xac]][OxOf3da[0x30]]=OxOf3da[0xb0] ;} ; editdoc[OxOf3da[0xb1]]=OxOf3da[0x3c] ;} ; Ox872=true ; setTimeout(Ox87b,0x32) ;return ;} ;if( typeof (window[OxOf3da[0xa3]])==OxOf3da[0xa4]){ Ox879() ;} else {try{ editdoc[OxOf3da[0xac]][OxOf3da[0x2e]][OxOf3da[0x88]]=OxOf3da[0x89] ;} catch(x){} ;} ;} ; CuteEditor_BasicInitialize(editor) ; Ox876() ; Ox87b() ;} ; function CuteEditorInstallScriptCode(Ox82d,Ox82e){ eval(Ox82d) ; window[Ox82e]=eval(Ox82e) ;} ;