﻿//2007-07-11 21:38:00

var OxOa38f=["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","\x0D\x0A","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=image\x26file=t-minus.gif\x22\x3E","CuteEditor_CollapseTreeDropDownItem(this,\x22","\x22)","onclick","onmousedown","none","/Load.ashx?type=image\x26file=t-plus.gif\x22\x3E","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(\x27Command\x27),this.getAttribute(\x27CommandUI\x27),this.getAttribute(\x27CommandArgument\x27))","CuteEditor_GetEditor(this).PostBack(this.getAttribute(\x27Command\x27))","this.onmouseout();CuteEditor_GetEditor(this).DropMenu(this.getAttribute(\x27Group\x27),this)","ResourceDir","Theme","/Load.ashx?type=theme\x26theme=","\x26file=all.png","/Load.ashx?type=image\x26file=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","cmd_fromfullpage","(","scriptProperties","GetScriptProperty","/Load.ashx?type=scripts\x26file=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[OxOa38f[0x5]]=navigator[OxOa38f[0x4]].toLowerCase(),Ox4[OxOa38f[0x3]]=(Ox4[OxOa38f[0x5]].indexOf(OxOa38f[0x6])>-0x1),Ox4[OxOa38f[0x2]]=(Ox4[OxOa38f[0x5]].indexOf(OxOa38f[0x7])>-0x1),Ox4[OxOa38f[0x1]]=(!Ox4[OxOa38f[0x3]]&&!Ox4[OxOa38f[0x2]]&&Ox4[OxOa38f[0x5]].indexOf(OxOa38f[0x8])>-0x1),Ox4[OxOa38f[0x0]]=(!Ox4[OxOa38f[0x3]]&&Ox4[OxOa38f[0x5]].indexOf(OxOa38f[0x9])>-0x1) ; _Browser_TypeInfo=Ox4 ;}  ; Browser__InitType() ; function Browser_IsWinIE(){return _Browser_TypeInfo[OxOa38f[0x0]];}  ; function Browser_IsGecko(){return _Browser_TypeInfo[OxOa38f[0x1]];}  ; function Browser_IsOpera(){return _Browser_TypeInfo[OxOa38f[0x3]];}  ; function Browser_IsSafari(){return _Browser_TypeInfo[OxOa38f[0x2]];}  ; function Browser_UseIESelection(){return _Browser_TypeInfo[OxOa38f[0x0]];}  ; function Browser_IsCSS1Compat(){return window[OxOa38f[0xb]][OxOa38f[0xa]]==OxOa38f[0xc];}  ; function CreateXMLHttpRequest(){if( typeof (XMLHttpRequest)!=OxOa38f[0xd]){return  new XMLHttpRequest();} ;if( typeof (ActiveXObject)!=OxOa38f[0xd]){return  new ActiveXObject(OxOa38f[0xe]);} ;throw ( new Error(OxOa38f[0xf]));}  ; function LoadXMLAsync(Ox877,Ox269,Ox19e,Ox878){var Ox12e=CreateXMLHttpRequest(); function Ox879(){if(Ox12e[OxOa38f[0x10]]!=0x4){return ;} ; Ox12e[OxOa38f[0x11]]= new Function() ;var Ox75a=Ox12e; Ox12e=null ; Ox19e(Ox75a) ;}  ; Ox12e[OxOa38f[0x11]]=Ox879 ; Ox12e.open(Ox877,Ox269,true) ; Ox12e.send(Ox878||OxOa38f[0x12]) ;}  ; function Element_GetAllElements(p){var arr=[];if(Browser_IsWinIE()){for(var i=0x0;i<p[OxOa38f[0x14]][OxOa38f[0x13]];i++){ arr.push(p[OxOa38f[0x14]].item(i)) ;} ;return arr;} ; Ox1ad(p) ; function Ox1ad(Ox81){var Ox1ae=Ox81[OxOa38f[0x15]];var Ox2b=Ox1ae[OxOa38f[0x13]];for(var i=0x0;i<Ox2b;i++){var n=Ox1ae.item(i);if(n[OxOa38f[0x16]]!=0x1){continue ;} ; arr.push(n) ; Ox1ad(n) ;} ;}  ;return arr;}  ;var __ISDEBUG=false; function Debug_Todo(Ox1a1){if(!__ISDEBUG){return ;} ;throw ( new Error(Ox1a1+OxOa38f[0x17]+Debug_Todo.caller));}  ; function Window_GetElement(Ox1a5,Oxe4,Ox1ab){var Ox81=Ox1a5[OxOa38f[0xb]].getElementById(Oxe4);if(Ox81){return Ox81;} ;var coll=Ox1a5[OxOa38f[0xb]].getElementsByName(Oxe4);if(coll[OxOa38f[0x13]]>0x0){return coll.item(0x0);} ;return null;}  ; function CuteEditor_AddMainMenuItems(Ox53d){}  ; function CuteEditor_AddDropMenuItems(Ox53d,Ox544){}  ; function CuteEditor_AddTagMenuItems(Ox53d,Ox546){}  ; function CuteEditor_AddVerbMenuItems(Ox53d,Ox546){}  ; function CuteEditor_OnInitialized(editor){}  ; function CuteEditor_OnCommand(editor,Ox54a,Ox54b,Ox1a6){}  ; function CuteEditor_OnChange(editor){}  ; function CuteEditor_FilterCode(editor,Ox1d8){return Ox1d8;}  ; function CuteEditor_FilterHTML(editor,Ox92){return Ox92;}  ; function CuteEditor_FireChange(editor){ window.CuteEditor_OnChange(editor) ; CuteEditor_FireEvent(editor,OxOa38f[0x18],null) ;}  ; function CuteEditor_FireInitialized(editor){ window.CuteEditor_OnInitialized(editor) ; CuteEditor_FireEvent(editor,OxOa38f[0x19],null) ;}  ; function CuteEditor_FireCommand(editor,Ox54a,Ox54b,Ox1a6){var Ox337=window.CuteEditor_OnCommand(editor,Ox54a,Ox54b,Ox1a6);if(Ox337==true){return true;} ;var Ox552={}; Ox552[OxOa38f[0x1a]]=Ox54a ; Ox552[OxOa38f[0x1b]]=Ox54b ; Ox552[OxOa38f[0x1c]]=Ox1a6 ; Ox552[OxOa38f[0x1d]]=true ; CuteEditor_FireEvent(editor,OxOa38f[0x1e],Ox552) ;if(Ox552[OxOa38f[0x1d]]==false){return true;} ;}  ; function CuteEditor_FireEvent(editor,Ox554,Ox555){if(Ox555==null){ Ox555={} ;} ;var Ox556=editor.getAttribute(Ox554);if(Ox556){if( typeof (Ox556)==OxOa38f[0x1f]){ editor[OxOa38f[0x21]]= new Function(OxOa38f[0x20],Ox556) ;} else { editor[OxOa38f[0x21]]=Ox556 ;} ; editor._fireEventFunction(Ox555) ;} ;}  ; function CuteEditor_GetEditor(element){for(var Oxa2=element;Oxa2!=null;Oxa2=Oxa2[OxOa38f[0x22]]){if(Oxa2.getAttribute(OxOa38f[0x23])==OxOa38f[0x24]){return Oxa2;} ;} ;return null;}  ; function CuteEditor_DropDownCommand(element,Ox87b){var editor=CuteEditor_GetEditor(element);if(editor[OxOa38f[0x25]]){return ;} ;if(element.getAttribute(OxOa38f[0x26])==OxOa38f[0x24]){var Ox60=element.GetValue();if(Ox60==OxOa38f[0x27]){ Ox60=OxOa38f[0x12] ;} ;var Ox176=element.GetText();if(Ox176==OxOa38f[0x27]){ Ox176=OxOa38f[0x12] ;} ; element.SetSelectedIndex(0x0) ; editor.ExecCommand(Ox87b,false,Ox60,Ox176) ;} else {if(element[OxOa38f[0x28]]){var Ox60=element[OxOa38f[0x28]];if(Ox60==OxOa38f[0x27]){ Ox60=OxOa38f[0x12] ;} ; element[OxOa38f[0x29]]=0x0 ; editor.ExecCommand(Ox87b,false,Ox60,Ox176) ;} else { element[OxOa38f[0x29]]=0x0 ;} ;} ; editor.FocusDocument() ;}  ; function CuteEditor_ExpandTreeDropDownItem(src,Ox625){var Ox104=null;while(src!=null){if(src[OxOa38f[0x2a]]==OxOa38f[0x2b]){ Ox104=src ;break ;} ; src=src[OxOa38f[0x22]] ;} ;var Ox64=Ox104[OxOa38f[0x2c]].item(0x0); Ox104[OxOa38f[0x2f]][OxOa38f[0x2e]][OxOa38f[0x2d]]=OxOa38f[0x12] ; Ox64[OxOa38f[0x30]]=OxOa38f[0x31]+Ox625+OxOa38f[0x32] ; Ox104[OxOa38f[0x35]]= new Function(OxOa38f[0x33]+Ox625+OxOa38f[0x34]) ; Ox104[OxOa38f[0x36]]= new Function(OxOa38f[0x33]+Ox625+OxOa38f[0x34]) ;}  ; function CuteEditor_CollapseTreeDropDownItem(src,Ox625){var Ox104=null;while(src!=null){if(src[OxOa38f[0x2a]]==OxOa38f[0x2b]){ Ox104=src ;break ;} ; src=src[OxOa38f[0x22]] ;} ;var Ox64=Ox104[OxOa38f[0x2c]].item(0x0); Ox104[OxOa38f[0x2f]][OxOa38f[0x2e]][OxOa38f[0x2d]]=OxOa38f[0x37] ; Ox64[OxOa38f[0x30]]=OxOa38f[0x31]+Ox625+OxOa38f[0x38] ; Ox104[OxOa38f[0x35]]= new Function(OxOa38f[0x39]+Ox625+OxOa38f[0x34]) ; Ox104[OxOa38f[0x36]]= new Function(OxOa38f[0x39]+Ox625+OxOa38f[0x34]) ;}  ; function Element_Contains(element,Ox21a){if(!Browser_IsOpera()){if(element[OxOa38f[0x3a]]){return element.contains(Ox21a);} ;} ;for(;Ox21a!=null;Ox21a=Ox21a[OxOa38f[0x22]]){if(element==Ox21a){return true;} ;} ;return false;}  ; function Element_SetUnselectable(element){ element.setAttribute(OxOa38f[0x3b],OxOa38f[0x3c]) ; element.setAttribute(OxOa38f[0x3d],OxOa38f[0x3e]) ;var arr=Element_GetAllElements(element);var len=arr[OxOa38f[0x13]];if(!len){return ;} ;for(var i=0x0;i<len;i++){ arr[i].setAttribute(OxOa38f[0x3b],OxOa38f[0x3c]) ; arr[i].setAttribute(OxOa38f[0x3d],OxOa38f[0x3e]) ;} ;}  ; function Event_GetEvent(Ox1b1){ Ox1b1=Event_FindEvent(Ox1b1) ;if(Ox1b1==null){ Debug_Todo(OxOa38f[0x3f]) ;} ;return Ox1b1;}  ; function Frame_GetContentWindow(Ox224){if(Ox224[OxOa38f[0x40]]){return Ox224[OxOa38f[0x40]];} ;if(Ox224[OxOa38f[0x41]]){if(Ox224[OxOa38f[0x41]][OxOa38f[0x42]]){return Ox224[OxOa38f[0x41]][OxOa38f[0x42]];} ;} ;var Ox1a5;if(Ox224[OxOa38f[0x43]]){ Ox1a5=window[OxOa38f[0x44]][Ox224[OxOa38f[0x43]]] ;if(Ox1a5){return Ox1a5;} ;} ;var len=window[OxOa38f[0x44]][OxOa38f[0x13]];for(var i=0x0;i<len;i++){ Ox1a5=window[OxOa38f[0x44]][i] ;if(Ox1a5[OxOa38f[0x45]]==Ox224){return Ox1a5;} ;if(Ox1a5[OxOa38f[0xb]]==Ox224[OxOa38f[0x41]]){return Ox1a5;} ;} ; Debug_Todo(OxOa38f[0x46]) ;}  ; function Array_IndexOf(arr,Ox1b3){for(var i=0x0;i<arr[OxOa38f[0x13]];i++){if(arr[i]==Ox1b3){return i;} ;} ;return -0x1;}  ; function Array_Contains(arr,Ox1b3){return Array_IndexOf(arr,Ox1b3)!=-0x1;}  ; function Event_FindEvent(Ox1b1){if(Ox1b1&&Ox1b1[OxOa38f[0x47]]){return Ox1b1;} ;if(Browser_IsGecko()){return Event_FindEvent_FindEventFromCallers();} else {if(window[OxOa38f[0x20]]){return window[OxOa38f[0x20]];} ;return Event_FindEvent_FindEventFromWindows();} ;return null;}  ; function Event_FindEvent_FindEventFromCallers(){var Ox1b9=Event_GetEvent[OxOa38f[0x48]];for(var i=0x0;i<0x64;i++){if(!Ox1b9){break ;} ;var Ox1b1=Ox1b9[OxOa38f[0x49]][0x0];if(Ox1b1&&Ox1b1[OxOa38f[0x47]]){return Ox1b1;} ; Ox1b9=Ox1b9[OxOa38f[0x48]] ;} ;}  ; function Event_FindEvent_FindEventFromWindows(){var arr=[];return Ox1bb(window); function Ox1bb(Ox1a5){if(Ox1a5==null){return null;} ;if(Ox1a5[OxOa38f[0x20]]){return Ox1a5[OxOa38f[0x20]];} ;if(Array_Contains(arr,Ox1a5)){return null;} ; arr.push(Ox1a5) ;var Ox1bc=[];if(Ox1a5[OxOa38f[0x4a]]!=Ox1a5){ Ox1bc.push(Ox1a5.parent) ;} ;if(Ox1a5[OxOa38f[0x4b]]!=Ox1a5[OxOa38f[0x4a]]){ Ox1bc.push(Ox1a5.top) ;} ;if(Ox1a5[OxOa38f[0x4c]]){ Ox1bc.push(Ox1a5.opener) ;} ;for(var i=0x0;i<Ox1a5[OxOa38f[0x44]][OxOa38f[0x13]];i++){ Ox1bc.push(Ox1a5[OxOa38f[0x44]][i]) ;} ;for(var i=0x0;i<Ox1bc[OxOa38f[0x13]];i++){try{var Ox1b1=Ox1bb(Ox1bc[i]);if(Ox1b1){return Ox1b1;} ;} catch(x){} ;} ;return null;}  ;}  ; function Event_GetSrcElement(Ox1b1){ Ox1b1=Event_GetEvent(Ox1b1) ;if(Ox1b1[OxOa38f[0x4d]]){return Ox1b1[OxOa38f[0x4d]];} ;if(Ox1b1[OxOa38f[0x4e]]){return Ox1b1[OxOa38f[0x4e]];} ; Debug_Todo(OxOa38f[0x4f]) ;return null;}  ; function Event_GetFromElement(Ox1b1){ Ox1b1=Event_GetEvent(Ox1b1) ;if(Ox1b1[OxOa38f[0x50]]){return Ox1b1[OxOa38f[0x50]];} ;if(Ox1b1[OxOa38f[0x51]]){return Ox1b1[OxOa38f[0x51]];} ;return null;}  ; function Event_GetToElement(Ox1b1){ Ox1b1=Event_GetEvent(Ox1b1) ;if(Ox1b1[OxOa38f[0x52]]){return Ox1b1[OxOa38f[0x52]];} ;if(Ox1b1[OxOa38f[0x51]]){return Ox1b1[OxOa38f[0x51]];} ;return null;}  ; function Event_GetKeyCode(Ox1b1){ Ox1b1=Event_GetEvent(Ox1b1) ;return Ox1b1[OxOa38f[0x53]];}  ; function Event_GetClientX(Ox1b1){ Ox1b1=Event_GetEvent(Ox1b1) ;return Ox1b1[OxOa38f[0x54]];}  ; function Event_GetClientY(Ox1b1){ Ox1b1=Event_GetEvent(Ox1b1) ;return Ox1b1[OxOa38f[0x55]];}  ; function Event_GetOffsetX(Ox1b1){ Ox1b1=Event_GetEvent(Ox1b1) ;return Ox1b1[OxOa38f[0x56]];}  ; function Event_GetOffsetY(Ox1b1){ Ox1b1=Event_GetEvent(Ox1b1) ;return Ox1b1[OxOa38f[0x57]];}  ; function Event_IsLeftButton(Ox1b1){ Ox1b1=Event_GetEvent(Ox1b1) ;if(Browser_IsWinIE()){return Ox1b1[OxOa38f[0x58]]==0x1;} ;if(Browser_IsGecko()){return Ox1b1[OxOa38f[0x58]]==0x0;} ;return Ox1b1[OxOa38f[0x58]]==0x0;}  ; function Event_IsCtrlKey(Ox1b1){ Ox1b1=Event_GetEvent(Ox1b1) ;return Ox1b1[OxOa38f[0x59]];}  ; function Event_IsAltKey(Ox1b1){ Ox1b1=Event_GetEvent(Ox1b1) ;return Ox1b1[OxOa38f[0x5a]];}  ; function Event_IsShiftKey(Ox1b1){ Ox1b1=Event_GetEvent(Ox1b1) ;return Ox1b1[OxOa38f[0x5b]];}  ; function Event_PreventDefault(Ox1b1){ Ox1b1=Event_GetEvent(Ox1b1) ; Ox1b1[OxOa38f[0x1d]]=false ;if(Ox1b1[OxOa38f[0x47]]){ Ox1b1.preventDefault() ;} ;}  ; function Event_CancelBubble(Ox1b1){ Ox1b1=Event_GetEvent(Ox1b1) ; Ox1b1[OxOa38f[0x5c]]=true ;if(Ox1b1[OxOa38f[0x5d]]){ Ox1b1.stopPropagation() ;} ;return false;}  ; function Event_CancelEvent(Ox1b1){ Ox1b1=Event_GetEvent(Ox1b1) ; Event_PreventDefault(Ox1b1) ;return Event_CancelBubble(Ox1b1);}  ; function CuteEditor_BasicInitialize(editor){var Ox87f=Browser_IsOpera();var Ox5ec= new Function(OxOa38f[0x5e]);var Ox880= new Function(OxOa38f[0x5f]);var Ox881= new Function(OxOa38f[0x60]);var Ox882=editor.GetScriptProperty(OxOa38f[0x61]);var Ox883=editor.GetScriptProperty(OxOa38f[0x62]);var Ox884=Ox882+OxOa38f[0x63]+Ox883+OxOa38f[0x64];var Ox885=Ox882+OxOa38f[0x65];var images=editor.getElementsByTagName(OxOa38f[0x66]);var len=images[OxOa38f[0x13]];for(var i=0x0;i<len;i++){var img=images[i];var Ox71e=img.getAttribute(OxOa38f[0x67]);var Ox544=img.getAttribute(OxOa38f[0x68]);var Ox886=img.getAttribute(OxOa38f[0x69]);if(parseInt(Ox886)>=0x0){ img[OxOa38f[0x2e]][OxOa38f[0x6a]]=OxOa38f[0x6b] ; img[OxOa38f[0x2e]][OxOa38f[0x6c]]=OxOa38f[0x6b] ; img[OxOa38f[0x6d]]=Ox885 ; img[OxOa38f[0x2e]][OxOa38f[0x6e]]=OxOa38f[0x6f]+Ox884+OxOa38f[0x70] ; img[OxOa38f[0x2e]][OxOa38f[0x71]]=OxOa38f[0x72]+(Ox886*0x14)+OxOa38f[0x73] ; img[OxOa38f[0x2e]][OxOa38f[0x2d]]=OxOa38f[0x12] ;} ;if(!Ox71e&&!Ox544){if(Ox87f){ img[OxOa38f[0x74]]=CuteEditor_OperaHandleImageLoaded ;} ;continue ;} ;if(img[OxOa38f[0x75]]!=OxOa38f[0x76]){ img[OxOa38f[0x75]]=OxOa38f[0x77] ; img[OxOa38f[0x79]]= new Function(OxOa38f[0x78]) ; img[OxOa38f[0x7b]]= new Function(OxOa38f[0x7a]) ; img[OxOa38f[0x36]]= new Function(OxOa38f[0x7c]) ; img[OxOa38f[0x7e]]= new Function(OxOa38f[0x7d]) ;} ;if(!img[OxOa38f[0x7f]]){ img[OxOa38f[0x7f]]=Event_CancelEvent ;} ;if(!img[OxOa38f[0x80]]){ img[OxOa38f[0x80]]=Event_CancelEvent ;} ;if(Ox71e){var Ox1b9=img.getAttribute(OxOa38f[0x81])==OxOa38f[0x24]?Ox880:Ox5ec;if(img[OxOa38f[0x35]]==null){ img[OxOa38f[0x35]]=Ox1b9 ;} ;if(img[OxOa38f[0x82]]==null){ img[OxOa38f[0x82]]=Ox1b9 ;} ;} else {if(Ox544){if(img[OxOa38f[0x35]]==null){ img[OxOa38f[0x35]]=Ox881 ;} ;} ;} ;} ;var Ox664=Window_GetElement(window,editor.GetScriptProperty(OxOa38f[0x83]),true);var Ox665=Window_GetElement(window,editor.GetScriptProperty(OxOa38f[0x84]),true);var Ox660=Window_GetElement(window,editor.GetScriptProperty(OxOa38f[0x85]),true); Ox660[OxOa38f[0x75]]+=OxOa38f[0x86] ; Ox664[OxOa38f[0x75]]+=OxOa38f[0x87] ; Ox665[OxOa38f[0x75]]+=OxOa38f[0x87] ; Element_SetUnselectable(Ox664) ; Element_SetUnselectable(Ox665) ;try{ editor[OxOa38f[0x2e]][OxOa38f[0x88]]=OxOa38f[0x89] ;} catch(x){} ;var Ox6d9=editor.GetScriptProperty(OxOa38f[0x8a]);switch(Ox6d9){case OxOa38f[0x8d]: Ox664[OxOa38f[0x2e]][OxOa38f[0x2d]]=OxOa38f[0x12] ;break ;case OxOa38f[0x8c]: Ox665[OxOa38f[0x2e]][OxOa38f[0x2d]]=OxOa38f[0x12] ;break ;case OxOa38f[0x8b]:break ;;;;} ;}  ; function CuteEditor_OperaHandleImageLoaded(){var img=this;if(img[OxOa38f[0x2e]][OxOa38f[0x2d]]){ img[OxOa38f[0x2e]][OxOa38f[0x2d]]=OxOa38f[0x37] ; setTimeout(function Ox888(){ img[OxOa38f[0x2e]][OxOa38f[0x2d]]=OxOa38f[0x12] ;} ,0x1) ;} ;}  ; function CuteEditor_ButtonOver(element){if(!element[OxOa38f[0x8e]]){ element[OxOa38f[0x7f]]=Event_CancelEvent ; element[OxOa38f[0x7b]]=CuteEditor_ButtonOut ; element[OxOa38f[0x36]]=CuteEditor_ButtonDown ; element[OxOa38f[0x7e]]=CuteEditor_ButtonUp ; Element_SetUnselectable(element) ; element[OxOa38f[0x8e]]=true ;} ; element[OxOa38f[0x8f]]=true ; element[OxOa38f[0x75]]=OxOa38f[0x90] ;}  ; function CuteEditor_ButtonOut(){var element=this; element[OxOa38f[0x75]]=OxOa38f[0x77] ; element[OxOa38f[0x8f]]=false ;}  ; function CuteEditor_ButtonDown(){if(!Event_IsLeftButton()){return ;} ;var element=this; element[OxOa38f[0x75]]=OxOa38f[0x91] ;}  ; function CuteEditor_ButtonUp(){if(!Event_IsLeftButton()){return ;} ;var element=this;if(element[OxOa38f[0x8f]]){ element[OxOa38f[0x75]]=OxOa38f[0x90] ;} else { element[OxOa38f[0x75]]=OxOa38f[0x92] ;} ;}  ; function CuteEditor_ColorPicker_ButtonOver(element){if(!element[OxOa38f[0x8e]]){ element[OxOa38f[0x7f]]=Event_CancelEvent ; element[OxOa38f[0x7b]]=CuteEditor_ColorPicker_ButtonOut ; element[OxOa38f[0x36]]=CuteEditor_ColorPicker_ButtonDown ; Element_SetUnselectable(element) ; element[OxOa38f[0x8e]]=true ;} ; element[OxOa38f[0x8f]]=true ; element[OxOa38f[0x2e]][OxOa38f[0x93]]=OxOa38f[0x94] ; element[OxOa38f[0x2e]][OxOa38f[0x95]]=OxOa38f[0x96] ; element[OxOa38f[0x2e]][OxOa38f[0x97]]=OxOa38f[0x98] ;}  ; function CuteEditor_ColorPicker_ButtonOut(){var element=this; element[OxOa38f[0x8f]]=false ; element[OxOa38f[0x2e]][OxOa38f[0x93]]=OxOa38f[0x99] ; element[OxOa38f[0x2e]][OxOa38f[0x95]]=OxOa38f[0x12] ; element[OxOa38f[0x2e]][OxOa38f[0x97]]=OxOa38f[0x98] ;}  ; function CuteEditor_ColorPicker_ButtonDown(){var element=this; element[OxOa38f[0x2e]][OxOa38f[0x93]]=OxOa38f[0x9a] ; element[OxOa38f[0x2e]][OxOa38f[0x95]]=OxOa38f[0x12] ; element[OxOa38f[0x2e]][OxOa38f[0x97]]=OxOa38f[0x98] ;}  ; function CuteEditor_ButtonCommandOver(element){ element[OxOa38f[0x8f]]=true ;if(element[OxOa38f[0x9b]]){ element[OxOa38f[0x75]]=OxOa38f[0x9c] ;} else { element[OxOa38f[0x75]]=OxOa38f[0x90] ;} ;}  ; function CuteEditor_ButtonCommandOut(element){ element[OxOa38f[0x8f]]=false ;if(element[OxOa38f[0x9d]]){ element[OxOa38f[0x75]]=OxOa38f[0x9e] ;} else {if(element[OxOa38f[0x9b]]){ element[OxOa38f[0x75]]=OxOa38f[0x9c] ;} else {if(element[OxOa38f[0x43]]!=OxOa38f[0x9f]){ element[OxOa38f[0x75]]=OxOa38f[0x77] ;} ;} ;} ;}  ; function CuteEditor_ButtonCommandDown(element){if(!Event_IsLeftButton()){return ;} ; element[OxOa38f[0x75]]=OxOa38f[0x91] ;}  ; function CuteEditor_ButtonCommandUp(element){if(!Event_IsLeftButton()){return ;} ;if(element[OxOa38f[0x9b]]){ element[OxOa38f[0x75]]=OxOa38f[0x9c] ;return ;} ;if(element[OxOa38f[0x8f]]){ element[OxOa38f[0x75]]=OxOa38f[0x90] ;} else {if(element[OxOa38f[0x9d]]){ element[OxOa38f[0x75]]=OxOa38f[0x9e] ;} else { element[OxOa38f[0x75]]=OxOa38f[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[OxOa38f[0x13]];i++){var Ox1b9=CuteEditorGlobalFunctions[i];var name=Ox1b9+OxOa38f[0x12]; name=name.substr(0x8,name.indexOf(OxOa38f[0xa0])-0x8).replace(/\s/g,OxOa38f[0x12]) ;if(!window[name]){ window[name]=Ox1b9 ;} ;} ;}  ; SetupCuteEditorGlobalFunctions() ; function CuteEditor_GetScriptProperty(name){return this[OxOa38f[0xa1]][name];}  ; function CuteEditor_SetScriptProperty(name,Ox60){if(Ox60==null){ this[OxOa38f[0xa1]][name]=null ;} else { this[OxOa38f[0xa1]][name]=String(Ox60) ;} ;}  ; function CuteEditorInitialize(Ox88e,Ox88f){var editor=Window_GetElement(window,Ox88e,true); editor[OxOa38f[0xa1]]=Ox88f ; editor[OxOa38f[0xa2]]=CuteEditor_GetScriptProperty ;var Ox660=Window_GetElement(window,editor.GetScriptProperty(OxOa38f[0x85]),true);var editwin,editdoc;try{ editwin=Frame_GetContentWindow(Ox660) ; editdoc=editwin[OxOa38f[0xb]] ;} catch(x){} ;var Ox890=false;var Ox891;var Ox892=false;var Ox893=editor.GetScriptProperty(OxOa38f[0x61])+OxOa38f[0xa3]; function Ox894(){if( typeof (window[OxOa38f[0xa4]])==OxOa38f[0xa5]){return ;} ; LoadXMLAsync(OxOa38f[0xa6],Ox893+OxOa38f[0xa7],Ox895) ;}  ; function Ox895(Ox75a){if(Ox75a[OxOa38f[0xa8]]!=0xc8){ alert(OxOa38f[0xa9]) ;return ;} ; LoadXMLAsync(OxOa38f[0xaa],Ox893+OxOa38f[0xab]+Ox75a.responseText,Ox896) ;}  ; function Ox896(Ox75a){if(Ox75a[OxOa38f[0xa8]]!=0xc8){ alert(OxOa38f[0xac]) ;return ;} ; CuteEditorInstallScriptCode(Ox75a.responseText,OxOa38f[0xa4]) ;if(Ox890){ Ox897() ;} ;}  ; function Ox897(){if(Ox892){return ;} ; Ox892=true ; window.CuteEditorImplementation(editor) ;try{ editor[OxOa38f[0x2e]][OxOa38f[0x88]]=OxOa38f[0x12] ;} catch(x){} ;try{ editdoc[OxOa38f[0xad]][OxOa38f[0x2e]][OxOa38f[0x88]]=OxOa38f[0x12] ;} catch(x){} ;var Ox898=editor.GetScriptProperty(OxOa38f[0xae]);if(Ox898){ editor.Eval(Ox898) ;} ;}  ; function Ox899(){if(!Element_Contains(window[OxOa38f[0xb]].body,editor)){return ;} ;if(!editdoc[OxOa38f[0xad]]){ setTimeout(Ox899,0x64) ;return ;} ;if(!Ox890){ Ox660[OxOa38f[0x2e]][OxOa38f[0x2d]]=OxOa38f[0xaf] ;if(Browser_IsOpera()){ editdoc[OxOa38f[0xad]][OxOa38f[0xb0]]=true ;} else {if(Browser_IsGecko()){ editdoc[OxOa38f[0xad]][OxOa38f[0x30]]=OxOa38f[0xb1] ;} ; editdoc[OxOa38f[0xb2]]=OxOa38f[0x3c] ;} ; Ox890=true ; setTimeout(Ox899,0x32) ;return ;} ;if( typeof (window[OxOa38f[0xa4]])==OxOa38f[0xa5]){ Ox897() ;} else {try{ editdoc[OxOa38f[0xad]][OxOa38f[0x2e]][OxOa38f[0x88]]=OxOa38f[0x89] ;} catch(x){} ;} ;}  ;var Ox89a=0x0;var Oxa2=CuteEditor_Find_DisplayNone(editor);if(Oxa2){ function Ox89b(){if(Oxa2[OxOa38f[0x2e]][OxOa38f[0x2d]]!=OxOa38f[0x37]){ window.clearInterval(Ox89a) ; Ox89a=OxOa38f[0x12] ; CuteEditorInitialize(Ox88e,Ox88f) ;} ;}  ; Ox89a=setInterval(Ox89b,0x3e8) ;} else { CuteEditor_BasicInitialize(editor) ; Ox894() ; Ox899() ;} ; function CuteEditor_Find_DisplayNone(element){var Ox89d;for(var Oxa2=element;Oxa2!=null;Oxa2=Oxa2[OxOa38f[0x22]]){if(Oxa2[OxOa38f[0x2e]]&&Oxa2[OxOa38f[0x2e]][OxOa38f[0x2d]]==OxOa38f[0x37]){ Ox89d=Oxa2 ;break ;} ;} ;return Ox89d;}  ;}  ; function CuteEditorInstallScriptCode(Ox84c,Ox84d){ eval(Ox84c) ; window[Ox84d]=eval(Ox84d) ;}  ;

if(!window.editorconstant)window.editorconstant={};

// When creating a table using the Wizard, the following default attributes apply.
editorconstant._CreateEditingTableStyle = "<table border='0' cellspacing='2' cellpadding='2' width='500'>";
// When creating a new div box, the following default attributes apply.
editorconstant._BoxFormattingStyle = "border: solid 1px #666666;";
// Default editorconstant ornaments for the ColorPicker dialog
editorconstant._colorpickerDialogFeature = "dialogWidth:500px;dialogHeight:335px;help:0;status:0;resizable:1";
// Default editorconstant ornaments for the Preview dialog
editorconstant._previewDialogFeature = "dialogWidth:640px;dialogHeight:480px;help:0;status:0;resizable:1";
// Default editorconstant ornaments for the Anchor dialog
editorconstant._anchorDialogFeature = "help:0;status:0;resizable:0;dialogWidth:320px;dialogHeight:250px;";
// Default editorconstant ornaments for the Link dialog
editorconstant._linkDialogFeature = "help:0;status:0;resizable:0;dialogWidth:460px;dialogHeight:214px;";
// Default editorconstant ornaments for the Char dialog
editorconstant._charDialogFeature = "help:0;status:0;resizable:0;dialogWidth:480px;dialogHeight:385px;";
// Default editorconstant ornaments for the find dialog
editorconstant._findDialogFeature = "help:0;status:0;resizable:1;dialogWidth:385px;dialogHeight:180px;";
// Default editorconstant ornaments for the Emotion dialog
editorconstant._emotionDialogFeature = "help:0;status:0;resizable:0;dialogWidth:320px;dialogHeight:365px;";
// Default editorconstant ornaments for the Template dialog
editorconstant._templateDialogFeature = "status:0;dialogWidth:660px;dialogHeight:470px; scroll: 0; resizable: 0; help:0";
// Default editorconstant ornaments for the Create Template dialog
editorconstant._createtemplateDialogFeature = "dialogWidth:760px;dialogHeight:385px;help:no;scroll:no;status:no;resizable:0;";
// Default editorconstant ornaments for the Document dialog
editorconstant._documentDialogFeature = "status:0;dialogWidth:600px;dialogHeight:560px; scroll: 0; resizable: 0; help:0";
// Default editorconstant ornaments for the gallery dialog
editorconstant._galleryDialogFeature = "status:0;dialogWidth:564px;dialogHeight:630px; scroll: 0; resizable: yes; help:0";
// Default editorconstant ornaments for the image dialog
editorconstant._imageDialogFeature = "status:0;dialogWidth:620px;dialogHeight:595px; scroll: 0; resizable: 0; help:0";
// Default editorconstant ornaments for the image map dialog
editorconstant._imagemapDialogFeature = "status:0;dialogWidth:610px;dialogHeight:400px; scroll: 0; resizable: yes; help:0";
// Default editorconstant ornaments for the media dialog
editorconstant._mediaDialogFeature = "status:0;dialogWidth:580px;dialogHeight:550px; scroll: 0; resizable: 0; help:0";
// Default editorconstant ornaments for the flash dialog
editorconstant._flashDialogFeature = "status:0;dialogWidth:587px;dialogHeight:595px; scroll: 0; resizable: 0; help:0";
// Default editorconstant ornaments for the page properties dialog
editorconstant._pageDialogFeature = "status:0;dialogWidth:490px;dialogHeight:520px; scroll: 0; resizable: yes; help:0";
// Default editorconstant ornaments for the Tag dialog
editorconstant._tagDialogFeature = "help:0;status:0;resizable:0;dialogWidth:453px;dialogHeight:515px;";
// Default editorconstant ornaments for the help 
editorconstant._helpDialogFeature = "status:0;dialogWidth:760px;dialogHeight:450px; scroll: 0; resizable: yes; help:0";
// Default editorconstant ornaments for the Rule dialog
editorconstant._RuleDialogFeature = "help:0;status:0;resizable:1;dialogWidth:340px;dialogHeight:210px;";
// Default style in the source view 
editorconstant._editorSourceStyle = "background:#ffffff;margin:0;padding:0;color:black";
// Default editorconstant ornaments for the color picker dialog
editorconstant._pastetextDialogFeature = "width=450,height=400,resizable=0,toolbars=0,menubar=0,status=0";
// Default editorconstant ornaments for the universal keyboard dialog
editorconstant._keyboardDialogFeature = "help:0;status:0;resizable:0;dialogWidth:415px;dialogHeight:310px;";
// All colors in the following color array will be used in the editor color picker
editorconstant.colorsArray = new Array("#000000","#993300","#333300","#003300","#003366","#000080","#333399","#333333",
			"#800000","#FF6600","#808000","#008000","#008080","#0000FF","#666699","#808080",
			"#FF0000","#FF9900","#99CC00","#339966","#33CCCC","#3366FF","#800080","#999999",
			"#FF00FF","#FFCC00","#FFFF00","#00FF00","#00FFFF","#00CCFF","#993366","#C0C0C0",
			"#FF99CC","#FFCC99","#FFFF99","#CCFFCC","#CCFFFF","#99CCFF","#CC99FF","#FFFFFF");
// Specifies whether MoreColors button in the color picker are visible 
editorconstant.ShowMoreColors = true;
editorconstant.layerdefaultstyle = "position:absolute;width:104px; height: 104px";
editorconstant.DisableCtrlZ = false;
//By default, when users double click a control, a tag property dialog will open. Set it to true if you want to disable this feature.
editorconstant.DisableDoubleClickEvent = false; 
editorconstant.AbsolutePositionValue='absolute'; //'relative';

//set to window for compatible
for(var p in editorconstant)window[p]=editorconstant[p];





//enable-gzip