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

OA系统

开发平台:

C#

  1. var OxO3c7a=["top","hiddenDirectory","hiddenFile","hiddenAlert","hiddenAction","hiddenActionData","disabled","[[Disabled]]","[[SpecifyNewFolderName]]","","value","createdir","[[CopyMoveto]]","/","move","copy","[[AreyouSureDelete]]","parentNode","text","isdir","true",".","[[SpecifyNewFileName]]","rename","path","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","innerHTML","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","Delete","DoRefresh","name_Cell","size_Cell","op_Cell","divpreview","Table3","Table4","sel_target","inp_color","inp_color_preview","inc_class","inp_id","inp_index","inp_access","Table8","inp_title","Button1","Button2","a","editor","frameloaded","color","style","backgroundColor","class","title","target","tabIndex","accessKey","href","href_cetemp","x3CIMG src=x27","x27x3E","x26nbsp;x3Cembed src=x22","x22 quality=x22highx22 width=x22200x22 height=x22200x22 type=x22application/x-shockwave-flashx22 pluginspage=x22http://www.macromedia.com/go/getflashplayerx22x3Ex3C/embedx3Ex0A","x26nbsp;x3Cembed name=x22MediaPlayer1x22 src=x22","x22 autostart=-1 showcontrols=-1  type=x22application/x-mplayer2x22 width=x22240x22 height=x22200x22 pluginspage=x22http://www.microsoft.com/Windows/MediaPlayerx22 x3Ex3C/embedx3Ex0A",".mpeg",".mp3",".mpg",".avi",".swf",".bmp",".png",".gif",".jpg",".jpeg","x3Cpx3Ex26nbsp;x3C/px3E","x3Cpx3Ex26#160;x3C/px3E","x3Cpx3Ex3C/px3E","x3Cdivx3Ex26#160;x3C/divx3E","x3Cdivx3Ex26nbsp;x3C/divx3E","x3Cdivx3Ex3C/divx3E","name","link","zoom","onclick","wrapupPrompt","iepromptfield","display","none","body","div","IEPromptBox","promptBlackout","border","2px solid blue","#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","100px","offsetWidth","left","px","block"]; function Window_GetDialogTop(Ox1bd){return Ox1bd[OxO3c7a[0x0]];}  ;var hiddenDirectory=Window_GetElement(window,OxO3c7a[0x1],true);var hiddenFile=Window_GetElement(window,OxO3c7a[0x2],true);var hiddenAlert=Window_GetElement(window,OxO3c7a[0x3],true);var hiddenAction=Window_GetElement(window,OxO3c7a[0x4],true);var hiddenActionData=Window_GetElement(window,OxO3c7a[0x5],true); function CreateDir_click(){if(Event_GetSrcElement()[OxO3c7a[0x6]]){ alert(OxO3c7a[0x7]) ;return false;} ;if(Browser_IsIE7()){ IEprompt(Ox273,OxO3c7a[0x8],OxO3c7a[0x9]) ; function Ox273(Ox274){if(Ox274){ hiddenActionData[OxO3c7a[0xa]]=Ox274 ; hiddenAction[OxO3c7a[0xa]]=OxO3c7a[0xb] ; window.PostBackAction() ;return true;} else {return false;} ;}  ;return Event_CancelEvent();} else {var Ox274=prompt(OxO3c7a[0x8],OxO3c7a[0x9]);if(Ox274){ hiddenActionData[OxO3c7a[0xa]]=Ox274 ;return true;} else {return false;} ;return false;} ;}  ; function Move_click(){if(Event_GetSrcElement()[OxO3c7a[0x6]]){ alert(OxO3c7a[0x7]) ;return false;} ;if(Browser_IsIE7()){ IEprompt(Ox273,OxO3c7a[0xc],OxO3c7a[0xd]) ; function Ox273(Ox274){if(Ox274){ hiddenActionData[OxO3c7a[0xa]]=Ox274 ; hiddenAction[OxO3c7a[0xa]]=OxO3c7a[0xe] ; window.PostBackAction() ;return true;} else {return false;} ;}  ;return Event_CancelEvent();} else {var Ox274=prompt(OxO3c7a[0xc],OxO3c7a[0xd]);if(Ox274){ hiddenActionData[OxO3c7a[0xa]]=Ox274 ;return true;} else {return false;} ;return false;} ;}  ; function Copy_click(){if(Event_GetSrcElement()[OxO3c7a[0x6]]){ alert(OxO3c7a[0x7]) ;return false;} ;if(Browser_IsIE7()){ IEprompt(Ox273,OxO3c7a[0xc],OxO3c7a[0xd]) ; function Ox273(Ox274){if(Ox274){ hiddenActionData[OxO3c7a[0xa]]=Ox274 ; hiddenAction[OxO3c7a[0xa]]=OxO3c7a[0xf] ; window.PostBackAction() ;return true;} else {return false;} ;}  ;return Event_CancelEvent();} else {var Ox274=prompt(OxO3c7a[0xc],OxO3c7a[0xd]);if(Ox274){ hiddenActionData[OxO3c7a[0xa]]=Ox274 ;return true;} else {return false;} ;return false;} ;}  ; function Delete_click(){if(Event_GetSrcElement()[OxO3c7a[0x6]]){ alert(OxO3c7a[0x7]) ;return false;} ;return confirm(OxO3c7a[0x10]);}  ; function EditImg_click(img){if(img[OxO3c7a[0x6]]){ alert(OxO3c7a[0x7]) ;return false;} ;var Ox279=img[OxO3c7a[0x11]][OxO3c7a[0x11]];var Ox27a=Ox279[OxO3c7a[0x12]];var name;var Ox27b;if(Browser_IsOpera()){ Ox27b=Ox279.getAttribute(OxO3c7a[0x13])==OxO3c7a[0x14] ;} else { Ox27b=Ox279[OxO3c7a[0x13]] ;} ;if(Browser_IsIE7()){var Ox12c;if(Ox27b){ IEprompt(Ox273,OxO3c7a[0x8],Ox27a) ;} else {var i=Ox27a.lastIndexOf(OxO3c7a[0x15]); Ox12c=Ox27a.substr(i) ;var Ox25=Ox27a.substr(0x0,Ox27a.lastIndexOf(OxO3c7a[0x15])); IEprompt(Ox273,OxO3c7a[0x16],Ox25) ;} ; function Ox273(Ox274){if(Ox274&&Ox274!=Ox279[OxO3c7a[0x12]]){if(!Ox27b){ Ox274=Ox274+Ox12c ;} ; hiddenAction[OxO3c7a[0xa]]=OxO3c7a[0x17] ; hiddenActionData[OxO3c7a[0xa]]=(Ox27b?OxO3c7a[0x19]:OxO3c7a[0x1a])+OxO3c7a[0x1b]+Ox279[OxO3c7a[0x18]]+OxO3c7a[0x1b]+Ox274 ; window.PostBackAction() ;} ;}  ;} else {if(Ox27b){ name=prompt(OxO3c7a[0x8],Ox27a) ;} else {var i=Ox27a.lastIndexOf(OxO3c7a[0x15]);var Ox12c=Ox27a.substr(i);var Ox25=Ox27a.substr(0x0,Ox27a.lastIndexOf(OxO3c7a[0x15])); name=prompt(OxO3c7a[0x16],Ox25) ;if(name){ name=name+Ox12c ;} ;} ;if(name&&name!=Ox279[OxO3c7a[0x12]]){ hiddenAction[OxO3c7a[0xa]]=OxO3c7a[0x17] ; hiddenActionData[OxO3c7a[0xa]]=(Ox27b?OxO3c7a[0x19]:OxO3c7a[0x1a])+OxO3c7a[0x1b]+Ox279[OxO3c7a[0x18]]+OxO3c7a[0x1b]+name ; window.PostBackAction() ;} ;} ;return Event_CancelEvent();}  ; setMouseOver() ; function setMouseOver(){var FoldersAndFiles=Window_GetElement(window,OxO3c7a[0x1c],true);var Ox27e=FoldersAndFiles.getElementsByTagName(OxO3c7a[0x1d]);for(var i=0x0;i<Ox27e[OxO3c7a[0x1e]];i++){var Ox279=Ox27e[i]; Ox279[OxO3c7a[0x20]]= new Function(OxO3c7a[0x9],OxO3c7a[0x1f]) ; Ox279[OxO3c7a[0x22]]= new Function(OxO3c7a[0x9],OxO3c7a[0x21]) ;} ;}  ; function row_click(Ox279){var Ox27b;if(Browser_IsOpera()){ Ox27b=Ox279.getAttribute(OxO3c7a[0x13])==OxO3c7a[0x14] ;} else { Ox27b=Ox279[OxO3c7a[0x13]] ;} ;if(Ox27b){if(Event_GetSrcElement()[OxO3c7a[0x23]]==OxO3c7a[0x24]){return ;} ; hiddenAction[OxO3c7a[0xa]]=OxO3c7a[0x25] ; hiddenActionData[OxO3c7a[0xa]]=Ox279.getAttribute(OxO3c7a[0x18]) ; window.PostBackAction() ;} else {var Ox169=Ox279.getAttribute(OxO3c7a[0x18]); hiddenFile[OxO3c7a[0xa]]=Ox169 ;var Ox280=Ox279.getAttribute(OxO3c7a[0x26]); Window_GetElement(window,OxO3c7a[0x27],true)[OxO3c7a[0xa]]=Ox280 ;var htmlcode=Ox279.getAttribute(OxO3c7a[0x28]);if(htmlcode!=OxO3c7a[0x9]&&htmlcode!=null){ do_preview(htmlcode) ;} else {try{ Actualsize() ;} catch(x){ do_preview() ;} ;} ;} ;}  ; function do_preview(){}  ; function reset_hiddens(){if(hiddenAlert[OxO3c7a[0xa]]){ alert(hiddenAlert.value) ;} ; hiddenAlert[OxO3c7a[0xa]]=OxO3c7a[0x9] ; hiddenAction[OxO3c7a[0xa]]=OxO3c7a[0x9] ; hiddenActionData[OxO3c7a[0xa]]=OxO3c7a[0x9] ;}  ; Event_Attach(window,OxO3c7a[0x29],reset_hiddens) ; function RequireFileBrowseScript(){}  ; function Actualsize(){}  ; Event_Attach(window,OxO3c7a[0x29],sortables_init) ;var SORT_COLUMN_INDEX; function sortables_init(){if(!document[OxO3c7a[0x2a]]){return ;} ;var Ox285=document.getElementsByTagName(OxO3c7a[0x2b]);for(var Ox286=0x0;Ox286<Ox285[OxO3c7a[0x1e]];Ox286++){var Ox287=Ox285[Ox286];if(((OxO3c7a[0x2e]+Ox287[OxO3c7a[0x2d]]+OxO3c7a[0x2e]).indexOf(OxO3c7a[0x2c])!=-0x1)&&(Ox287[OxO3c7a[0x2f]])){ ts_makeSortable(Ox287) ;} ;} ;}  ; function ts_makeSortable(Ox289){if(Ox289[OxO3c7a[0x30]]&&Ox289[OxO3c7a[0x30]][OxO3c7a[0x1e]]>0x0){var Ox28a=Ox289[OxO3c7a[0x30]][0x0];} ;if(!Ox28a){return ;} ;for(var i=0x2;i<0x4;i++){var Ox28b=Ox28a[OxO3c7a[0x31]][i];var Ox208=ts_getInnerText(Ox28b); Ox28b[OxO3c7a[0x32]]=OxO3c7a[0x33]+Ox208+OxO3c7a[0x34] ;} ;}  ; function ts_getInnerText(Ox81){if( typeof Ox81==OxO3c7a[0x35]){return Ox81;} ;if( typeof Ox81==OxO3c7a[0x36]){return Ox81;} ;if(Ox81[OxO3c7a[0x37]]){return Ox81[OxO3c7a[0x37]];} ;var Ox24=OxO3c7a[0x9];var Ox235=Ox81[OxO3c7a[0x38]];var Ox2b=Ox235[OxO3c7a[0x1e]];for(var i=0x0;i<Ox2b;i++){switch(Ox235[i][OxO3c7a[0x3a]]){case 0x1: Ox24+=ts_getInnerText(Ox235[i]) ;break ;case 0x3: Ox24+=Ox235[i][OxO3c7a[0x39]] ;break ;;;} ;} ;return Ox24;}  ; function ts_resortTable(Ox28e){var Ox28f;for(var Ox290=0x0;Ox290<Ox28e[OxO3c7a[0x38]][OxO3c7a[0x1e]];Ox290++){if(Ox28e[OxO3c7a[0x38]][Ox290][OxO3c7a[0x23]]&&Ox28e[OxO3c7a[0x38]][Ox290][OxO3c7a[0x23]].toLowerCase()==OxO3c7a[0x3b]){ Ox28f=Ox28e[OxO3c7a[0x38]][Ox290] ;} ;} ;var Ox291=ts_getInnerText(Ox28f);var Ox64=Ox28e[OxO3c7a[0x11]];var Ox292=Ox64[OxO3c7a[0x3c]];var Ox289=getParent(Ox64,OxO3c7a[0x3d]);if(Ox289[OxO3c7a[0x30]][OxO3c7a[0x1e]]<=0x1){return ;} ;var Ox293=ts_getInnerText(Ox289[OxO3c7a[0x30]][0x1][OxO3c7a[0x31]][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[OxO3c7a[0x30]][0x0][OxO3c7a[0x1e]];i++){ Ox28a[i]=Ox289[OxO3c7a[0x30]][0x0][i] ;} ;for(var j=0x1;j<Ox289[OxO3c7a[0x30]][OxO3c7a[0x1e]];j++){ Ox295[j-0x1]=Ox289[OxO3c7a[0x30]][j] ;} ; Ox295.sort(Ox294) ;if(Ox28f.getAttribute(OxO3c7a[0x3e])==OxO3c7a[0x3f]){var Ox296=OxO3c7a[0x40]; Ox295.reverse() ; Ox28f.setAttribute(OxO3c7a[0x3e],OxO3c7a[0x41]) ;} else { Ox296=OxO3c7a[0x42] ; Ox28f.setAttribute(OxO3c7a[0x3e],OxO3c7a[0x3f]) ;} ;for( i=0x0 ;i<Ox295[OxO3c7a[0x1e]];i++){if(!Ox295[i][OxO3c7a[0x2d]]||(Ox295[i][OxO3c7a[0x2d]]&&(Ox295[i][OxO3c7a[0x2d]].indexOf(OxO3c7a[0x43])==-0x1))){ Ox289[OxO3c7a[0x44]][0x0].appendChild(Ox295[i]) ;} ;} ;for( i=0x0 ;i<Ox295[OxO3c7a[0x1e]];i++){if(Ox295[i][OxO3c7a[0x2d]]&&(Ox295[i][OxO3c7a[0x2d]].indexOf(OxO3c7a[0x43])!=-0x1)){ Ox289[OxO3c7a[0x44]][0x0].appendChild(Ox295[i]) ;} ;} ;var Ox297=document.getElementsByTagName(OxO3c7a[0x3b]);for(var Ox290=0x0;Ox290<Ox297[OxO3c7a[0x1e]];Ox290++){if(Ox297[Ox290][OxO3c7a[0x2d]]==OxO3c7a[0x45]){if(getParent(Ox297[Ox290],OxO3c7a[0x2b])==getParent(Ox28e,OxO3c7a[0x2b])){ Ox297[Ox290][OxO3c7a[0x32]]=OxO3c7a[0x46] ;} ;} ;} ; Ox28f[OxO3c7a[0x32]]=Ox296 ;}  ; function getParent(Ox81,Ox299){if(Ox81==null){return null;} else {if(Ox81[OxO3c7a[0x3a]]==0x1&&Ox81[OxO3c7a[0x23]].toLowerCase()==Ox299.toLowerCase()){return Ox81;} else {return getParent(Ox81.parentNode,Ox299);} ;} ;}  ; function ts_sort_date(Ox14d,Ox17){var Ox29b=ts_getInnerText(Ox14d[OxO3c7a[0x31]][SORT_COLUMN_INDEX]);var Ox29c=ts_getInnerText(Ox17[OxO3c7a[0x31]][SORT_COLUMN_INDEX]);if(Ox29b[OxO3c7a[0x1e]]==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=OxO3c7a[0x47]+Ox29e ;} else { Ox29e=OxO3c7a[0x48]+Ox29e ;} ;var Ox29d=Ox29e+Ox29b.substr(0x3,0x2)+Ox29b.substr(0x0,0x2);} ;if(Ox29c[OxO3c7a[0x1e]]==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=OxO3c7a[0x47]+Ox29e ;} else { Ox29e=OxO3c7a[0x48]+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[OxO3c7a[0x31]][SORT_COLUMN_INDEX]).replace(/[^0-9.]/g,OxO3c7a[0x9]);var Ox29c=ts_getInnerText(Ox17[OxO3c7a[0x31]][SORT_COLUMN_INDEX]).replace(/[^0-9.]/g,OxO3c7a[0x9]);return parseFloat(Ox29b)-parseFloat(Ox29c);}  ; function ts_sort_numeric(Ox14d,Ox17){var Ox29b=parseFloat(ts_getInnerText(Ox14d[OxO3c7a[0x31]][SORT_COLUMN_INDEX]));if(isNaN(Ox29b)){ Ox29b=0x0 ;} ;var Ox29c=parseFloat(ts_getInnerText(Ox17[OxO3c7a[0x31]][SORT_COLUMN_INDEX]));if(isNaN(Ox29c)){ Ox29c=0x0 ;} ;return Ox29b-Ox29c;}  ; function ts_sort_caseinsensitive(Ox14d,Ox17){var Ox29b=ts_getInnerText(Ox14d[OxO3c7a[0x31]][SORT_COLUMN_INDEX]).toLowerCase();var Ox29c=ts_getInnerText(Ox17[OxO3c7a[0x31]][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[OxO3c7a[0x31]][SORT_COLUMN_INDEX]);var Ox29c=ts_getInnerText(Ox17[OxO3c7a[0x31]][SORT_COLUMN_INDEX]);if(Ox29b==Ox29c){return 0x0;} ;if(Ox29b<Ox29c){return -0x1;} ;return 0x1;} [sortables_init] ; RequireFileBrowseScript() ;var Form1=Window_GetElement(window,OxO3c7a[0x49],true);var hiddenDirectory=Window_GetElement(window,OxO3c7a[0x1],true);var hiddenFile=Window_GetElement(window,OxO3c7a[0x2],true);var hiddenAlert=Window_GetElement(window,OxO3c7a[0x3],true);var hiddenAction=Window_GetElement(window,OxO3c7a[0x4],true);var hiddenActionData=Window_GetElement(window,OxO3c7a[0x5],true);var Image1=Window_GetElement(window,OxO3c7a[0x4a],true);var FolderDescription=Window_GetElement(window,OxO3c7a[0x4b],true);var CreateDir=Window_GetElement(window,OxO3c7a[0x4c],true);var Copy=Window_GetElement(window,OxO3c7a[0x4d],true);var Move=Window_GetElement(window,OxO3c7a[0x4e],true);var FoldersAndFiles=Window_GetElement(window,OxO3c7a[0x1c],true);var Delete=Window_GetElement(window,OxO3c7a[0x4f],true);var DoRefresh=Window_GetElement(window,OxO3c7a[0x50],true);var name_Cell=Window_GetElement(window,OxO3c7a[0x51],true);var size_Cell=Window_GetElement(window,OxO3c7a[0x52],true);var op_Cell=Window_GetElement(window,OxO3c7a[0x53],true);var divpreview=Window_GetElement(window,OxO3c7a[0x54],true);var Table3=Window_GetElement(window,OxO3c7a[0x55],true);var Table4=Window_GetElement(window,OxO3c7a[0x56],true);var sel_target=Window_GetElement(window,OxO3c7a[0x57],true);var inp_color=Window_GetElement(window,OxO3c7a[0x58],true);var inp_color_preview=Window_GetElement(window,OxO3c7a[0x59],true);var inc_class=Window_GetElement(window,OxO3c7a[0x5a],true);var inp_id=Window_GetElement(window,OxO3c7a[0x5b],true);var inp_index=Window_GetElement(window,OxO3c7a[0x5c],true);var inp_access=Window_GetElement(window,OxO3c7a[0x5d],true);var Table8=Window_GetElement(window,OxO3c7a[0x5e],true);var TargetUrl=Window_GetElement(window,OxO3c7a[0x27],true);var inp_title=Window_GetElement(window,OxO3c7a[0x5f],true);var Button1=Window_GetElement(window,OxO3c7a[0x60],true);var Button2=Window_GetElement(window,OxO3c7a[0x61],true);var obj=Window_GetDialogArguments(window);var element=obj[OxO3c7a[0x62]];var editor=obj[OxO3c7a[0x63]];var htmlcode=OxO3c7a[0x9];if(!Window_GetDialogTop(window)[OxO3c7a[0x64]]){ Window_GetDialogTop(window)[OxO3c7a[0x64]]=true ;if(element[OxO3c7a[0x66]][OxO3c7a[0x65]]){ inp_color[OxO3c7a[0xa]]=revertColor(element[OxO3c7a[0x66]].color) ; inp_color[OxO3c7a[0x66]][OxO3c7a[0x67]]=inp_color[OxO3c7a[0xa]] ; inp_color_preview[OxO3c7a[0x66]][OxO3c7a[0x67]]=inp_color[OxO3c7a[0xa]] ;} ;if(element[OxO3c7a[0x2d]]==OxO3c7a[0x9]){ element.removeAttribute(OxO3c7a[0x2d]) ;} ;if(element[OxO3c7a[0x2d]]==OxO3c7a[0x9]){ element.removeAttribute(OxO3c7a[0x68]) ;} ;if(element[OxO3c7a[0x69]]){ inp_title[OxO3c7a[0xa]]=element[OxO3c7a[0x69]] ;} ;if(element[OxO3c7a[0x6a]]){ sel_target[OxO3c7a[0xa]]=element[OxO3c7a[0x6a]] ;} ;if(element[OxO3c7a[0x6b]]){ inp_index[OxO3c7a[0xa]]=element[OxO3c7a[0x6b]] ;} ;if(element[OxO3c7a[0x6c]]){ inp_access[OxO3c7a[0xa]]=element[OxO3c7a[0x6c]] ;} ;var src=OxO3c7a[0x9];if(element.getAttribute(OxO3c7a[0x6d])){ src=element.getAttribute(OxO3c7a[0x6d]) ;} ;if(element.getAttribute(OxO3c7a[0x6e])){ src=element.getAttribute(OxO3c7a[0x6e]) ;} ; TargetUrl[OxO3c7a[0xa]]=src ; inp_id[OxO3c7a[0xa]]=element[OxO3c7a[0x2f]] ;} ;var divpreview=Window_GetElement(window,OxO3c7a[0x54],true); do_preview() ; function do_preview(Ox98){if(Ox98!=OxO3c7a[0x9]&&Ox98!=null){ htmlcode=Ox98 ; divpreview[OxO3c7a[0x32]]=Ox98 ;return ;} ; divpreview[OxO3c7a[0x32]]=OxO3c7a[0x9] ;var Ox280=TargetUrl[OxO3c7a[0xa]];if(Ox280==OxO3c7a[0x9]){return ;} ;var Ox12c=Ox280.substring(Ox280.lastIndexOf(OxO3c7a[0x15])).toLowerCase();switch(Ox12c){case OxO3c7a[0x7e]:case OxO3c7a[0x7d]:case OxO3c7a[0x7c]:case OxO3c7a[0x7b]:case OxO3c7a[0x7a]: divpreview[OxO3c7a[0x32]]=OxO3c7a[0x6f]+Ox280+OxO3c7a[0x70] ;break ;case OxO3c7a[0x79]:var Ox2be=OxO3c7a[0x71]+Ox280+OxO3c7a[0x72]; divpreview[OxO3c7a[0x32]]=Ox2be+OxO3c7a[0x46] ;break ;case OxO3c7a[0x78]:case OxO3c7a[0x77]:case OxO3c7a[0x76]:case OxO3c7a[0x75]:var Ox2bf=OxO3c7a[0x73]+Ox280+OxO3c7a[0x74]; divpreview[OxO3c7a[0x32]]=Ox2bf+OxO3c7a[0x46] ;break ;;;;;;;;;;;} ;}  ; function do_insert(){ element[OxO3c7a[0x2d]]=inc_class[OxO3c7a[0xa]] ; element[OxO3c7a[0x6a]]=sel_target[OxO3c7a[0xa]] ; element[OxO3c7a[0x69]]=inp_title[OxO3c7a[0xa]] ; element[OxO3c7a[0x6d]]=TargetUrl[OxO3c7a[0xa]] ; element.setAttribute(OxO3c7a[0x6e],TargetUrl.value) ; element[OxO3c7a[0x6b]]=inp_index[OxO3c7a[0xa]] ; element[OxO3c7a[0x6c]]=inp_access[OxO3c7a[0xa]] ; element[OxO3c7a[0x2f]]=inp_id[OxO3c7a[0xa]] ;if(element[OxO3c7a[0x69]]==OxO3c7a[0x9]){ element.removeAttribute(OxO3c7a[0x69]) ;} ;if(element[OxO3c7a[0x6a]]==OxO3c7a[0x9]){ element.removeAttribute(OxO3c7a[0x6a]) ;} ;if(element[OxO3c7a[0x2d]]==OxO3c7a[0x9]){ element.removeAttribute(OxO3c7a[0x2d]) ;} ;if(element[OxO3c7a[0x2d]]==OxO3c7a[0x9]){ element.removeAttribute(OxO3c7a[0x68]) ;} ;if(element[OxO3c7a[0x6b]]==OxO3c7a[0x9]){ element.removeAttribute(OxO3c7a[0x6b]) ;} ;if(element[OxO3c7a[0x6c]]==OxO3c7a[0x9]){ element.removeAttribute(OxO3c7a[0x6c]) ;} ;if(element[OxO3c7a[0x2f]]==OxO3c7a[0x9]){ element.removeAttribute(OxO3c7a[0x2f]) ;} ;try{ element[OxO3c7a[0x66]][OxO3c7a[0x65]]=inp_color[OxO3c7a[0xa]] ;} catch(er){ element[OxO3c7a[0x66]][OxO3c7a[0x65]]=OxO3c7a[0x9] ;} ;var Ox98=element[OxO3c7a[0x32]];switch(Ox98.toLowerCase()){case OxO3c7a[0x84]:case OxO3c7a[0x83]:case OxO3c7a[0x82]:case OxO3c7a[0x81]:case OxO3c7a[0x80]:case OxO3c7a[0x7f]: element[OxO3c7a[0x32]]=OxO3c7a[0x9] ;break ;default:break ;;;;;;;;} ;if(element[OxO3c7a[0x32]]==OxO3c7a[0x9]){ element[OxO3c7a[0x32]]=element[OxO3c7a[0x69]]||element[OxO3c7a[0x6d]]||element[OxO3c7a[0x85]]||OxO3c7a[0x86] ;} ; Window_SetDialogReturnValue(window,element) ; Window_CloseDialog(window) ;}  ; function do_cancel(){ Window_SetDialogReturnValue(window,null) ; Window_CloseDialog(window) ;}  ; function Zoom_In(){if(divpreview[OxO3c7a[0x66]][OxO3c7a[0x87]]!=0x0){ divpreview[OxO3c7a[0x66]][OxO3c7a[0x87]]*=1.2 ;} else { divpreview[OxO3c7a[0x66]][OxO3c7a[0x87]]=1.2 ;} ;}  ; function Zoom_Out(){if(divpreview[OxO3c7a[0x66]][OxO3c7a[0x87]]!=0x0){ divpreview[OxO3c7a[0x66]][OxO3c7a[0x87]]*=0.8 ;} else { divpreview[OxO3c7a[0x66]][OxO3c7a[0x87]]=0.8 ;} ;}  ; function Actualsize(){ divpreview[OxO3c7a[0x66]][OxO3c7a[0x87]]=0x1 ; do_preview() ;}  ;if(!Browser_IsWinIE()){ inp_color[OxO3c7a[0x88]]=inp_color_preview[OxO3c7a[0x88]]=function inp_color_onclick(){ SelectColor(inp_color,inp_color_preview) ;}  ;} ;if(Browser_IsIE7()){var _dialogPromptID=null; function IEprompt(Ox273,Ox2c3,Ox2c4){ that=this ; this[OxO3c7a[0x89]]=function (Ox2c5){ val=document.getElementById(OxO3c7a[0x8a])[OxO3c7a[0xa]] ; _dialogPromptID[OxO3c7a[0x66]][OxO3c7a[0x8b]]=OxO3c7a[0x8c] ; document.getElementById(OxO3c7a[0x8a])[OxO3c7a[0xa]]=OxO3c7a[0x9] ;if(Ox2c5){ val=OxO3c7a[0x9] ;} ; Ox273(val) ;return false;}  ;if(Ox2c4==undefined){ Ox2c4=OxO3c7a[0x9] ;} ;if(_dialogPromptID==null){var Ox2c6=document.getElementsByTagName(OxO3c7a[0x8d])[0x0]; tnode=document.createElement(OxO3c7a[0x8e]) ; tnode[OxO3c7a[0x2f]]=OxO3c7a[0x8f] ; Ox2c6.appendChild(tnode) ; _dialogPromptID=document.getElementById(OxO3c7a[0x8f]) ; tnode=document.createElement(OxO3c7a[0x8e]) ; tnode[OxO3c7a[0x2f]]=OxO3c7a[0x90] ; Ox2c6.appendChild(tnode) ; _dialogPromptID[OxO3c7a[0x66]][OxO3c7a[0x91]]=OxO3c7a[0x92] ; _dialogPromptID[OxO3c7a[0x66]][OxO3c7a[0x67]]=OxO3c7a[0x93] ; _dialogPromptID[OxO3c7a[0x66]][OxO3c7a[0x94]]=OxO3c7a[0x95] ; _dialogPromptID[OxO3c7a[0x66]][OxO3c7a[0x96]]=OxO3c7a[0x97] ; _dialogPromptID[OxO3c7a[0x66]][OxO3c7a[0x98]]=OxO3c7a[0x99] ;} ;var Ox2c7=OxO3c7a[0x9a]; Ox2c7+=OxO3c7a[0x9b]+Ox2c3+OxO3c7a[0x9c] ; Ox2c7+=OxO3c7a[0x9d] ; Ox2c7+=OxO3c7a[0x9e]+Ox2c4+OxO3c7a[0x9f] ; Ox2c7+=OxO3c7a[0xa0] ; Ox2c7+=OxO3c7a[0xa1] ; Ox2c7+=OxO3c7a[0xa2] ; Ox2c7+=OxO3c7a[0xa3] ; Ox2c7+=OxO3c7a[0xa4] ; _dialogPromptID[OxO3c7a[0x32]]=Ox2c7 ; _dialogPromptID[OxO3c7a[0x66]][OxO3c7a[0x0]]=OxO3c7a[0xa5] ; _dialogPromptID[OxO3c7a[0x66]][OxO3c7a[0xa7]]=parseInt((document[OxO3c7a[0x8d]][OxO3c7a[0xa6]]-0x13b)/0x2)+OxO3c7a[0xa8] ; _dialogPromptID[OxO3c7a[0x66]][OxO3c7a[0x8b]]=OxO3c7a[0xa9] ;var Ox2c8=document.getElementById(OxO3c7a[0x8a]);try{var range=Ox2c8.createTextRange(); range.collapse(false) ; range.select() ;} catch(x){ Ox2c8.focus() ;} ;}  ;} ;