Dialog_InsertTemplate.js
上传用户:simon2hong
上传日期:2021-11-18
资源大小:16746k
文件大小:18k
源码类别:

OA系统

开发平台:

C#

  1. var OxOaa9e=["hiddenDirectory","hiddenFile","hiddenAlert","hiddenAction","hiddenActionData","hiddenHTML","disabled","[[Disabled]]","[[SpecifyNewFolderName]]","","value","createdir","[[CopyMoveto]]","/","move","copy","[[AreyouSureDelete]]","parentNode","path","[[TemplateModified]]","EditorSetting","OuterEditorFull.aspx??setting=","x26f=","dialogWidth:760px;dialogHeight:385px;help:no;scroll:no;status:no;resizable:0;","[[SpecifyNewFileName]]","[[TemplateCreated]]","innerHTML","isdir","true","text",".","rename","True","False",":","FoldersAndFiles","TR","length","this.bgColor=x27#eeeeeex27;","onmouseover","this.bgColor=x27x27;","onmouseout","nodeName","INPUT","changedir","url","TargetUrl","htmlcode","onload","getElementsByTagName","table","sortable","className"," ","id","rows","cells","x3Ca href=x22#x22 onclick=x22ts_resortTable(this);return false;x22x3E","x3Cspan class=x22sortarrowx22x3Ex26nbsp;x3C/spanx3Ex3C/ax3E","string","undefined","innerText","childNodes","nodeValue","nodeType","span","cellIndex","TABLE","sortdir","down","x26uarr;","up","x26darr;","sortbottom","tBodies","sortarrow","x26nbsp;","20","19","Form1","Image1","FolderDescription","CreateDir","Copy","Move","NewTemplate","Delete","DoRefresh","contentWindow","framepreview","Button1","Button2","body","document","zoom","style","wrapupPrompt","iepromptfield","display","none","div","IEPromptBox","promptBlackout","border","2px solid blue","backgroundColor","#DDDDDD","position","absolute","width","330px","zIndex","100","x3Cdiv style=x22width: 100%; background-color: blue; color: white; font-family: verdana; font-size: 10pt; font-weight: bold; height: 20pxx22x3E[[InputRequired]]x3C/divx3E","x3Cdiv style=x22padding: 10pxx22x3E","x3CBRx3Ex3CBRx3E","x3Cform action=x22x22 onsubmit=x22return wrapupPrompt()x22x3E","x3Cinput id=x22iepromptfieldx22 name=x22iepromptdatax22 type=text size=46 value=x22","x22x3E","x3Cbrx3Ex3Cbrx3Ex3Ccenterx3E","x3Cinput type=x22submitx22 value=x22x26nbsp;x26nbsp;x26nbsp;[[OK]]x26nbsp;x26nbsp;x26nbsp;x22x3E","x26nbsp;x26nbsp;x26nbsp;x26nbsp;x26nbsp;x26nbsp;","x3Cinput type=x22buttonx22 onclick=x22wrapupPrompt(true)x22 value=x22x26nbsp;[[Cancel]]x26nbsp;x22x3E","x3C/formx3Ex3C/divx3E","top","100px","offsetWidth","left","px","block"];var hiddenDirectory=Window_GetElement(window,OxOaa9e[0x0],true);var hiddenFile=Window_GetElement(window,OxOaa9e[0x1],true);var hiddenAlert=Window_GetElement(window,OxOaa9e[0x2],true);var hiddenAction=Window_GetElement(window,OxOaa9e[0x3],true);var hiddenActionData=Window_GetElement(window,OxOaa9e[0x4],true);var hiddenHTML=Window_GetElement(window,OxOaa9e[0x5],true); function CreateDir_click(){if(Event_GetSrcElement()[OxOaa9e[0x6]]){ alert(OxOaa9e[0x7]) ;return false;} ;if(Browser_IsIE7()){ IEprompt(Ox273,OxOaa9e[0x8],OxOaa9e[0x9]) ; function Ox273(Ox274){if(Ox274){ hiddenActionData[OxOaa9e[0xa]]=Ox274 ; hiddenAction[OxOaa9e[0xa]]=OxOaa9e[0xb] ; window.PostBackAction() ;return true;} else {return false;} ;}  ;return Event_CancelEvent();} else {var Ox274=prompt(OxOaa9e[0x8],OxOaa9e[0x9]);if(Ox274){ hiddenActionData[OxOaa9e[0xa]]=Ox274 ;return true;} else {return false;} ;return false;} ;}  ; function Move_click(){if(Event_GetSrcElement()[OxOaa9e[0x6]]){ alert(OxOaa9e[0x7]) ;return false;} ;if(Browser_IsIE7()){ IEprompt(Ox273,OxOaa9e[0xc],OxOaa9e[0xd]) ; function Ox273(Ox274){if(Ox274){ hiddenActionData[OxOaa9e[0xa]]=Ox274 ; hiddenAction[OxOaa9e[0xa]]=OxOaa9e[0xe] ; window.PostBackAction() ;return true;} else {return false;} ;}  ;return Event_CancelEvent();} else {var Ox274=prompt(OxOaa9e[0xc],OxOaa9e[0xd]);if(Ox274){ hiddenActionData[OxOaa9e[0xa]]=Ox274 ;return true;} else {return false;} ;return false;} ;}  ; function Copy_click(){if(Event_GetSrcElement()[OxOaa9e[0x6]]){ alert(OxOaa9e[0x7]) ;return false;} ;if(Browser_IsIE7()){ IEprompt(Ox273,OxOaa9e[0xc],OxOaa9e[0xd]) ; function Ox273(Ox274){if(Ox274){ hiddenActionData[OxOaa9e[0xa]]=Ox274 ; hiddenAction[OxOaa9e[0xa]]=OxOaa9e[0xf] ; window.PostBackAction() ;return true;} else {return false;} ;}  ;return Event_CancelEvent();} else {var Ox274=prompt(OxOaa9e[0xc],OxOaa9e[0xd]);if(Ox274){ hiddenActionData[OxOaa9e[0xa]]=Ox274 ;return true;} else {return false;} ;return false;} ;}  ; function Delete_click(){if(Event_GetSrcElement()[OxOaa9e[0x6]]){ alert(OxOaa9e[0x7]) ;return false;} ;return confirm(OxOaa9e[0x10]);}  ; function EditImg_click(img){var Ox279=img[OxOaa9e[0x11]][OxOaa9e[0x11]];var p=Ox279.getAttribute(OxOaa9e[0x12]);if(p!=OxOaa9e[0x9]&&p!=null){ function Ox20e(Ox197){if(Ox197){ alert(OxOaa9e[0x13]) ; window.PostBackAction() ;} ;}  ; editor.SetNextDialogWindow(window) ; editor.ShowDialog(Ox20e,OxOaa9e[0x15]+editor.GetScriptProperty(OxOaa9e[0x14])+OxOaa9e[0x16]+p+OxOaa9e[0x9],window,OxOaa9e[0x17]) ;return true;} else {return false;} ;}  ; function NewTemplate_Click(){if(Browser_IsIE7()){ IEprompt(Ox273,OxOaa9e[0x18],OxOaa9e[0x9]) ; function Ox273(Ox274){if(Ox274){ function Ox20e(Ox197){if(Ox197){ alert(OxOaa9e[0x19]) ; window.PostBackAction() ;} ;}  ; Ox274=FolderDescription[OxOaa9e[0x1a]]+Ox274 ; editor.SetNextDialogWindow(window) ; editor.ShowDialog(Ox20e,OxOaa9e[0x15]+editor.GetScriptProperty(OxOaa9e[0x14])+OxOaa9e[0x16]+Ox274+OxOaa9e[0x9],window,OxOaa9e[0x17]) ;return true;} else {return false;} ;}  ;return Event_CancelEvent();} else {var Ox274=prompt(OxOaa9e[0x18],OxOaa9e[0x9]);if(Ox274){ function Ox20e(Ox197){if(Ox197){ alert(OxOaa9e[0x19]) ; window.PostBackAction() ;} ;}  ; Ox274=FolderDescription[OxOaa9e[0x1a]]+Ox274 ; editor.SetNextDialogWindow(window) ; editor.ShowDialog(Ox20e,OxOaa9e[0x15]+editor.GetScriptProperty(OxOaa9e[0x14])+OxOaa9e[0x16]+Ox274+OxOaa9e[0x9],window,OxOaa9e[0x17]) ;return true;} else {return false;} ;} ;}  ; function RenImg_click(img){if(img[OxOaa9e[0x6]]){ alert(OxOaa9e[0x7]) ;return false;} ;var Ox279=img[OxOaa9e[0x11]][OxOaa9e[0x11]];var Ox27b;if(Browser_IsOpera()){ Ox27b=Ox279.getAttribute(OxOaa9e[0x1b])==OxOaa9e[0x1c] ;} else { Ox27b=Ox279[OxOaa9e[0x1b]] ;} ;var Ox27a=Ox279[OxOaa9e[0x1d]];var name;if(Browser_IsIE7()){var Ox12c;if(Ox27b){ IEprompt(Ox273,OxOaa9e[0x8],Ox27a) ;} else {var i=Ox27a.lastIndexOf(OxOaa9e[0x1e]); Ox12c=Ox27a.substr(i) ;var Ox25=Ox27a.substr(0x0,Ox27a.lastIndexOf(OxOaa9e[0x1e])); IEprompt(Ox273,OxOaa9e[0x18],Ox25) ;} ; function Ox273(Ox274){if(Ox274&&Ox274!=Ox279[OxOaa9e[0x1d]]){if(!Ox27b){ Ox274=Ox274+Ox12c ;} ; hiddenAction[OxOaa9e[0xa]]=OxOaa9e[0x1f] ; hiddenActionData[OxOaa9e[0xa]]=(Ox27b?OxOaa9e[0x20]:OxOaa9e[0x21])+OxOaa9e[0x22]+Ox279[OxOaa9e[0x12]]+OxOaa9e[0x22]+Ox274 ; window.PostBackAction() ;} ;}  ;} else {if(Ox27b){ name=prompt(OxOaa9e[0x8],Ox27a) ;} else {var i=Ox27a.lastIndexOf(OxOaa9e[0x1e]);var Ox12c=Ox27a.substr(i);var Ox25=Ox27a.substr(0x0,Ox27a.lastIndexOf(OxOaa9e[0x1e])); name=prompt(OxOaa9e[0x18],Ox25) ;if(name){ name=name+Ox12c ;} ;} ;if(name&&name!=Ox279[OxOaa9e[0x1d]]){ hiddenAction[OxOaa9e[0xa]]=OxOaa9e[0x1f] ; hiddenActionData[OxOaa9e[0xa]]=(Ox27b?OxOaa9e[0x20]:OxOaa9e[0x21])+OxOaa9e[0x22]+Ox279[OxOaa9e[0x12]]+OxOaa9e[0x22]+name ; window.PostBackAction() ;} ;} ;return Event_CancelEvent();}  ; setMouseOver() ; function setMouseOver(){var FoldersAndFiles=Window_GetElement(window,OxOaa9e[0x23],true);var Ox27e=FoldersAndFiles.getElementsByTagName(OxOaa9e[0x24]);for(var i=0x0;i<Ox27e[OxOaa9e[0x25]];i++){var Ox279=Ox27e[i]; Ox279[OxOaa9e[0x27]]= new Function(OxOaa9e[0x9],OxOaa9e[0x26]) ; Ox279[OxOaa9e[0x29]]= new Function(OxOaa9e[0x9],OxOaa9e[0x28]) ;} ;}  ; function row_click(Ox279){var Ox27b;if(Browser_IsOpera()){ Ox27b=Ox279.getAttribute(OxOaa9e[0x1b])==OxOaa9e[0x1c] ;} else { Ox27b=Ox279[OxOaa9e[0x1b]] ;} ;if(Ox27b){if(Event_GetSrcElement()[OxOaa9e[0x2a]]==OxOaa9e[0x2b]){return ;} ; hiddenAction[OxOaa9e[0xa]]=OxOaa9e[0x2c] ; hiddenActionData[OxOaa9e[0xa]]=Ox279.getAttribute(OxOaa9e[0x12]) ; window.PostBackAction() ;} else {var Ox169=Ox279.getAttribute(OxOaa9e[0x12]); hiddenFile[OxOaa9e[0xa]]=Ox169 ;var Ox280=Ox279.getAttribute(OxOaa9e[0x2d]); Window_GetElement(window,OxOaa9e[0x2e],true)[OxOaa9e[0xa]]=Ox280 ;var htmlcode=Ox279.getAttribute(OxOaa9e[0x2f]);if(htmlcode!=OxOaa9e[0x9]&&htmlcode!=null){ do_preview(htmlcode) ;} else {try{ Actualsize() ;} catch(x){ do_preview() ;} ;} ;} ;}  ; function do_preview(){}  ; function reset_hiddens(){if(hiddenAlert[OxOaa9e[0xa]]){ alert(hiddenAlert.value) ;} ;if(hiddenHTML[OxOaa9e[0xa]]){ do_preview(hiddenHTML.value) ;} ; hiddenAlert[OxOaa9e[0xa]]=OxOaa9e[0x9] ; hiddenHTML[OxOaa9e[0xa]]=OxOaa9e[0x9] ; hiddenAction[OxOaa9e[0xa]]=OxOaa9e[0x9] ; hiddenActionData[OxOaa9e[0xa]]=OxOaa9e[0x9] ;}  ; Event_Attach(window,OxOaa9e[0x30],reset_hiddens) ; function RequireFileBrowseScript(){}  ; function Actualsize(){}  ; Event_Attach(window,OxOaa9e[0x30],sortables_init) ;var SORT_COLUMN_INDEX; function sortables_init(){if(!document[OxOaa9e[0x31]]){return ;} ;var Ox285=document.getElementsByTagName(OxOaa9e[0x32]);for(var Ox286=0x0;Ox286<Ox285[OxOaa9e[0x25]];Ox286++){var Ox287=Ox285[Ox286];if(((OxOaa9e[0x35]+Ox287[OxOaa9e[0x34]]+OxOaa9e[0x35]).indexOf(OxOaa9e[0x33])!=-0x1)&&(Ox287[OxOaa9e[0x36]])){ ts_makeSortable(Ox287) ;} ;} ;}  ; function ts_makeSortable(Ox289){if(Ox289[OxOaa9e[0x37]]&&Ox289[OxOaa9e[0x37]][OxOaa9e[0x25]]>0x0){var Ox28a=Ox289[OxOaa9e[0x37]][0x0];} ;if(!Ox28a){return ;} ;for(var i=0x2;i<0x4;i++){var Ox28b=Ox28a[OxOaa9e[0x38]][i];var Ox208=ts_getInnerText(Ox28b); Ox28b[OxOaa9e[0x1a]]=OxOaa9e[0x39]+Ox208+OxOaa9e[0x3a] ;} ;}  ; function ts_getInnerText(Ox81){if( typeof Ox81==OxOaa9e[0x3b]){return Ox81;} ;if( typeof Ox81==OxOaa9e[0x3c]){return Ox81;} ;if(Ox81[OxOaa9e[0x3d]]){return Ox81[OxOaa9e[0x3d]];} ;var Ox24=OxOaa9e[0x9];var Ox235=Ox81[OxOaa9e[0x3e]];var Ox2b=Ox235[OxOaa9e[0x25]];for(var i=0x0;i<Ox2b;i++){switch(Ox235[i][OxOaa9e[0x40]]){case 0x1: Ox24+=ts_getInnerText(Ox235[i]) ;break ;case 0x3: Ox24+=Ox235[i][OxOaa9e[0x3f]] ;break ;;;} ;} ;return Ox24;}  ; function ts_resortTable(Ox28e){var Ox28f;for(var Ox290=0x0;Ox290<Ox28e[OxOaa9e[0x3e]][OxOaa9e[0x25]];Ox290++){if(Ox28e[OxOaa9e[0x3e]][Ox290][OxOaa9e[0x2a]]&&Ox28e[OxOaa9e[0x3e]][Ox290][OxOaa9e[0x2a]].toLowerCase()==OxOaa9e[0x41]){ Ox28f=Ox28e[OxOaa9e[0x3e]][Ox290] ;} ;} ;var Ox291=ts_getInnerText(Ox28f);var Ox64=Ox28e[OxOaa9e[0x11]];var Ox292=Ox64[OxOaa9e[0x42]];var Ox289=getParent(Ox64,OxOaa9e[0x43]);if(Ox289[OxOaa9e[0x37]][OxOaa9e[0x25]]<=0x1){return ;} ;var Ox293=ts_getInnerText(Ox289[OxOaa9e[0x37]][0x1][OxOaa9e[0x38]][Ox292]);var Ox294=ts_sort_caseinsensitive;if(Ox293.match(/^dd[/-]dd[/-]dddd$/)){ Ox294=ts_sort_date ;} ;if(Ox293.match(/^dd[/-]dd[/-]dd$/)){ Ox294=ts_sort_date ;} ;if(Ox293.match(/^[?]/)){ Ox294=ts_sort_currency ;} ;if(Ox293.match(/^[d.]+$/)){ Ox294=ts_sort_numeric ;} ; SORT_COLUMN_INDEX=Ox292 ;var Ox28a= new Array();var Ox295= new Array();for(var i=0x0;i<Ox289[OxOaa9e[0x37]][0x0][OxOaa9e[0x25]];i++){ Ox28a[i]=Ox289[OxOaa9e[0x37]][0x0][i] ;} ;for(var j=0x1;j<Ox289[OxOaa9e[0x37]][OxOaa9e[0x25]];j++){ Ox295[j-0x1]=Ox289[OxOaa9e[0x37]][j] ;} ; Ox295.sort(Ox294) ;if(Ox28f.getAttribute(OxOaa9e[0x44])==OxOaa9e[0x45]){var Ox296=OxOaa9e[0x46]; Ox295.reverse() ; Ox28f.setAttribute(OxOaa9e[0x44],OxOaa9e[0x47]) ;} else { Ox296=OxOaa9e[0x48] ; Ox28f.setAttribute(OxOaa9e[0x44],OxOaa9e[0x45]) ;} ;for( i=0x0 ;i<Ox295[OxOaa9e[0x25]];i++){if(!Ox295[i][OxOaa9e[0x34]]||(Ox295[i][OxOaa9e[0x34]]&&(Ox295[i][OxOaa9e[0x34]].indexOf(OxOaa9e[0x49])==-0x1))){ Ox289[OxOaa9e[0x4a]][0x0].appendChild(Ox295[i]) ;} ;} ;for( i=0x0 ;i<Ox295[OxOaa9e[0x25]];i++){if(Ox295[i][OxOaa9e[0x34]]&&(Ox295[i][OxOaa9e[0x34]].indexOf(OxOaa9e[0x49])!=-0x1)){ Ox289[OxOaa9e[0x4a]][0x0].appendChild(Ox295[i]) ;} ;} ;var Ox297=document.getElementsByTagName(OxOaa9e[0x41]);for(var Ox290=0x0;Ox290<Ox297[OxOaa9e[0x25]];Ox290++){if(Ox297[Ox290][OxOaa9e[0x34]]==OxOaa9e[0x4b]){if(getParent(Ox297[Ox290],OxOaa9e[0x32])==getParent(Ox28e,OxOaa9e[0x32])){ Ox297[Ox290][OxOaa9e[0x1a]]=OxOaa9e[0x4c] ;} ;} ;} ; Ox28f[OxOaa9e[0x1a]]=Ox296 ;}  ; function getParent(Ox81,Ox299){if(Ox81==null){return null;} else {if(Ox81[OxOaa9e[0x40]]==0x1&&Ox81[OxOaa9e[0x2a]].toLowerCase()==Ox299.toLowerCase()){return Ox81;} else {return getParent(Ox81.parentNode,Ox299);} ;} ;}  ; function ts_sort_date(Ox14d,Ox17){var Ox29b=ts_getInnerText(Ox14d[OxOaa9e[0x38]][SORT_COLUMN_INDEX]);var Ox29c=ts_getInnerText(Ox17[OxOaa9e[0x38]][SORT_COLUMN_INDEX]);if(Ox29b[OxOaa9e[0x25]]==0xa){var Ox29d=Ox29b.substr(0x6,0x4)+Ox29b.substr(0x3,0x2)+Ox29b.substr(0x0,0x2);} else {var Ox29e=Ox29b.substr(0x6,0x2);if(parseInt(Ox29e)<0x32){ Ox29e=OxOaa9e[0x4d]+Ox29e ;} else { Ox29e=OxOaa9e[0x4e]+Ox29e ;} ;var Ox29d=Ox29e+Ox29b.substr(0x3,0x2)+Ox29b.substr(0x0,0x2);} ;if(Ox29c[OxOaa9e[0x25]]==0xa){var Ox29f=Ox29c.substr(0x6,0x4)+Ox29c.substr(0x3,0x2)+Ox29c.substr(0x0,0x2);} else { Ox29e=Ox29c.substr(0x6,0x2) ;if(parseInt(Ox29e)<0x32){ Ox29e=OxOaa9e[0x4d]+Ox29e ;} else { Ox29e=OxOaa9e[0x4e]+Ox29e ;} ;var Ox29f=Ox29e+Ox29c.substr(0x3,0x2)+Ox29c.substr(0x0,0x2);} ;if(Ox29d==Ox29f){return 0x0;} ;if(Ox29d<Ox29f){return -0x1;} ;return 0x1;}  ; function ts_sort_currency(Ox14d,Ox17){var Ox29b=ts_getInnerText(Ox14d[OxOaa9e[0x38]][SORT_COLUMN_INDEX]).replace(/[^0-9.]/g,OxOaa9e[0x9]);var Ox29c=ts_getInnerText(Ox17[OxOaa9e[0x38]][SORT_COLUMN_INDEX]).replace(/[^0-9.]/g,OxOaa9e[0x9]);return parseFloat(Ox29b)-parseFloat(Ox29c);}  ; function ts_sort_numeric(Ox14d,Ox17){var Ox29b=parseFloat(ts_getInnerText(Ox14d[OxOaa9e[0x38]][SORT_COLUMN_INDEX]));if(isNaN(Ox29b)){ Ox29b=0x0 ;} ;var Ox29c=parseFloat(ts_getInnerText(Ox17[OxOaa9e[0x38]][SORT_COLUMN_INDEX]));if(isNaN(Ox29c)){ Ox29c=0x0 ;} ;return Ox29b-Ox29c;}  ; function ts_sort_caseinsensitive(Ox14d,Ox17){var Ox29b=ts_getInnerText(Ox14d[OxOaa9e[0x38]][SORT_COLUMN_INDEX]).toLowerCase();var Ox29c=ts_getInnerText(Ox17[OxOaa9e[0x38]][SORT_COLUMN_INDEX]).toLowerCase();if(Ox29b==Ox29c){return 0x0;} ;if(Ox29b<Ox29c){return -0x1;} ;return 0x1;}  ; function ts_sort_default(Ox14d,Ox17){var Ox29b=ts_getInnerText(Ox14d[OxOaa9e[0x38]][SORT_COLUMN_INDEX]);var Ox29c=ts_getInnerText(Ox17[OxOaa9e[0x38]][SORT_COLUMN_INDEX]);if(Ox29b==Ox29c){return 0x0;} ;if(Ox29b<Ox29c){return -0x1;} ;return 0x1;} [sortables_init] ; RequireFileBrowseScript() ;var Form1=Window_GetElement(window,OxOaa9e[0x4f],true);var hiddenDirectory=Window_GetElement(window,OxOaa9e[0x0],true);var hiddenFile=Window_GetElement(window,OxOaa9e[0x1],true);var hiddenAlert=Window_GetElement(window,OxOaa9e[0x2],true);var hiddenAction=Window_GetElement(window,OxOaa9e[0x3],true);var hiddenActionData=Window_GetElement(window,OxOaa9e[0x4],true);var Image1=Window_GetElement(window,OxOaa9e[0x50],true);var FolderDescription=Window_GetElement(window,OxOaa9e[0x51],true);var CreateDir=Window_GetElement(window,OxOaa9e[0x52],true);var Copy=Window_GetElement(window,OxOaa9e[0x53],true);var Move=Window_GetElement(window,OxOaa9e[0x54],true);var NewTemplate=Window_GetElement(window,OxOaa9e[0x55],true);var FoldersAndFiles=Window_GetElement(window,OxOaa9e[0x23],true);var Delete=Window_GetElement(window,OxOaa9e[0x56],true);var DoRefresh=Window_GetElement(window,OxOaa9e[0x57],true);var framepreview=document.getElementById(OxOaa9e[0x59])[OxOaa9e[0x58]];var TargetUrl=Window_GetElement(window,OxOaa9e[0x2e],true);var Button1=Window_GetElement(window,OxOaa9e[0x5a],true);var Button2=Window_GetElement(window,OxOaa9e[0x5b],true);var editor=Window_GetDialogArguments(window);var htmlcode=OxOaa9e[0x9]; function do_preview(Ox98){ htmlcode=Ox98 ;if(Ox98==OxOaa9e[0x9]||Ox98==null){ framepreview[OxOaa9e[0x5d]][OxOaa9e[0x5c]][OxOaa9e[0x1a]]=OxOaa9e[0x9] ;} else { framepreview[OxOaa9e[0x5d]][OxOaa9e[0x5c]][OxOaa9e[0x1a]]=Ox98 ;} ;}  ; function do_insert(){ editor.PasteHTML(htmlcode) ; Window_CloseDialog(window) ;}  ; function do_cancel(){ Window_CloseDialog(window) ;}  ; function Zoom_In(){if(framepreview[OxOaa9e[0x5d]][OxOaa9e[0x5c]][OxOaa9e[0x5f]][OxOaa9e[0x5e]]!=0x0){ framepreview[OxOaa9e[0x5d]][OxOaa9e[0x5c]][OxOaa9e[0x5f]][OxOaa9e[0x5e]]*=1.1 ;} else { framepreview[OxOaa9e[0x5d]][OxOaa9e[0x5c]][OxOaa9e[0x5f]][OxOaa9e[0x5e]]=1.1 ;} ;}  ; function Zoom_Out(){if(framepreview[OxOaa9e[0x5d]][OxOaa9e[0x5c]][OxOaa9e[0x5f]][OxOaa9e[0x5e]]!=0x0){ framepreview[OxOaa9e[0x5d]][OxOaa9e[0x5c]][OxOaa9e[0x5f]][OxOaa9e[0x5e]]*=0.8 ;} else { framepreview[OxOaa9e[0x5d]][OxOaa9e[0x5c]][OxOaa9e[0x5f]][OxOaa9e[0x5e]]=0.8 ;} ;}  ; function Actualsize(){ framepreview[OxOaa9e[0x5d]][OxOaa9e[0x5c]][OxOaa9e[0x5f]][OxOaa9e[0x5e]]=0x1 ; do_preview(htmlcode) ;}  ;if(Browser_IsIE7()){var _dialogPromptID=null; function IEprompt(Ox273,Ox2c3,Ox2c4){ that=this ; this[OxOaa9e[0x60]]=function (Ox2c5){ val=document.getElementById(OxOaa9e[0x61])[OxOaa9e[0xa]] ; _dialogPromptID[OxOaa9e[0x5f]][OxOaa9e[0x62]]=OxOaa9e[0x63] ; document.getElementById(OxOaa9e[0x61])[OxOaa9e[0xa]]=OxOaa9e[0x9] ;if(Ox2c5){ val=OxOaa9e[0x9] ;} ; Ox273(val) ;return false;}  ;if(Ox2c4==undefined){ Ox2c4=OxOaa9e[0x9] ;} ;if(_dialogPromptID==null){var Ox2c6=document.getElementsByTagName(OxOaa9e[0x5c])[0x0]; tnode=document.createElement(OxOaa9e[0x64]) ; tnode[OxOaa9e[0x36]]=OxOaa9e[0x65] ; Ox2c6.appendChild(tnode) ; _dialogPromptID=document.getElementById(OxOaa9e[0x65]) ; tnode=document.createElement(OxOaa9e[0x64]) ; tnode[OxOaa9e[0x36]]=OxOaa9e[0x66] ; Ox2c6.appendChild(tnode) ; _dialogPromptID[OxOaa9e[0x5f]][OxOaa9e[0x67]]=OxOaa9e[0x68] ; _dialogPromptID[OxOaa9e[0x5f]][OxOaa9e[0x69]]=OxOaa9e[0x6a] ; _dialogPromptID[OxOaa9e[0x5f]][OxOaa9e[0x6b]]=OxOaa9e[0x6c] ; _dialogPromptID[OxOaa9e[0x5f]][OxOaa9e[0x6d]]=OxOaa9e[0x6e] ; _dialogPromptID[OxOaa9e[0x5f]][OxOaa9e[0x6f]]=OxOaa9e[0x70] ;} ;var Ox2c7=OxOaa9e[0x71]; Ox2c7+=OxOaa9e[0x72]+Ox2c3+OxOaa9e[0x73] ; Ox2c7+=OxOaa9e[0x74] ; Ox2c7+=OxOaa9e[0x75]+Ox2c4+OxOaa9e[0x76] ; Ox2c7+=OxOaa9e[0x77] ; Ox2c7+=OxOaa9e[0x78] ; Ox2c7+=OxOaa9e[0x79] ; Ox2c7+=OxOaa9e[0x7a] ; Ox2c7+=OxOaa9e[0x7b] ; _dialogPromptID[OxOaa9e[0x1a]]=Ox2c7 ; _dialogPromptID[OxOaa9e[0x5f]][OxOaa9e[0x7c]]=OxOaa9e[0x7d] ; _dialogPromptID[OxOaa9e[0x5f]][OxOaa9e[0x7f]]=parseInt((document[OxOaa9e[0x5c]][OxOaa9e[0x7e]]-0x13b)/0x2)+OxOaa9e[0x80] ; _dialogPromptID[OxOaa9e[0x5f]][OxOaa9e[0x62]]=OxOaa9e[0x81] ;var Ox2c8=document.getElementById(OxOaa9e[0x61]);try{var range=Ox2c8.createTextRange(); range.collapse(false) ; range.select() ;} catch(x){ Ox2c8.focus() ;} ;}  ;} ;