Dialog_SelectImage.js
上传用户:simon2hong
上传日期:2021-11-18
资源大小:16746k
文件大小:19k
- var OxObf5d=["top","dialogArguments","opener","_dialog_arguments","document","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","img_AutoThumbnail","img_ImageEditor","Delete","DoRefresh","name_Cell","size_Cell","op_Cell","op_space","divpreview","img_demo","Table8","Button1","Button2","editor","window","src",".aspx","display","style","none","inp","zoom","height","width","[[SelectImagetoThumbnail]]","[[_CuteEditorResource_]]","refresh","EditorSetting","Thumbnail.aspx?setting=","x26f=","x26p=","dialogWidth:310px;dialogHeight:200px;help:no;scroll:no;status:no;resizable:0;","[[SelectImagetoEdit]]","../ImageEditor/ImageEditor.aspx?f=","x26setting=","dialogWidth:676px;dialogHeight:500px;help:no;scroll:no;status:no;resizable:0;","wrapupPrompt","iepromptfield","body","div","IEPromptBox","promptBlackout","border","2px solid blue","backgroundColor","#DDDDDD","position","absolute","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_FindDialogArguments(Ox1bd){var Ox1bf=Ox1bd[OxObf5d[0x0]];if(Ox1bf[OxObf5d[0x1]]){return Ox1bf[OxObf5d[0x1]];} ;var Ox1c0=Ox1bf[OxObf5d[0x2]];if(Ox1c0==null){return Ox1bf[OxObf5d[0x4]][OxObf5d[0x3]];} ;var Ox369=Ox1c0[OxObf5d[0x4]][OxObf5d[0x3]];if(Ox369==null){return Window_FindDialogArguments(Ox1c0);} ;return Ox369;} ;var hiddenDirectory=Window_GetElement(window,OxObf5d[0x5],true);var hiddenFile=Window_GetElement(window,OxObf5d[0x6],true);var hiddenAlert=Window_GetElement(window,OxObf5d[0x7],true);var hiddenAction=Window_GetElement(window,OxObf5d[0x8],true);var hiddenActionData=Window_GetElement(window,OxObf5d[0x9],true); function CreateDir_click(){if(Event_GetSrcElement()[OxObf5d[0xa]]){ alert(OxObf5d[0xb]) ;return false;} ;if(Browser_IsIE7()){ IEprompt(Ox273,OxObf5d[0xc],OxObf5d[0xd]) ; function Ox273(Ox274){if(Ox274){ hiddenActionData[OxObf5d[0xe]]=Ox274 ; hiddenAction[OxObf5d[0xe]]=OxObf5d[0xf] ; window.PostBackAction() ;return true;} else {return false;} ;} ;return Event_CancelEvent();} else {var Ox274=prompt(OxObf5d[0xc],OxObf5d[0xd]);if(Ox274){ hiddenActionData[OxObf5d[0xe]]=Ox274 ;return true;} else {return false;} ;return false;} ;} ; function Move_click(){if(Event_GetSrcElement()[OxObf5d[0xa]]){ alert(OxObf5d[0xb]) ;return false;} ;if(Browser_IsIE7()){ IEprompt(Ox273,OxObf5d[0x10],OxObf5d[0x11]) ; function Ox273(Ox274){if(Ox274){ hiddenActionData[OxObf5d[0xe]]=Ox274 ; hiddenAction[OxObf5d[0xe]]=OxObf5d[0x12] ; window.PostBackAction() ;return true;} else {return false;} ;} ;return Event_CancelEvent();} else {var Ox274=prompt(OxObf5d[0x10],OxObf5d[0x11]);if(Ox274){ hiddenActionData[OxObf5d[0xe]]=Ox274 ;return true;} else {return false;} ;return false;} ;} ; function Copy_click(){if(Event_GetSrcElement()[OxObf5d[0xa]]){ alert(OxObf5d[0xb]) ;return false;} ;if(Browser_IsIE7()){ IEprompt(Ox273,OxObf5d[0x10],OxObf5d[0x11]) ; function Ox273(Ox274){if(Ox274){ hiddenActionData[OxObf5d[0xe]]=Ox274 ; hiddenAction[OxObf5d[0xe]]=OxObf5d[0x13] ; window.PostBackAction() ;return true;} else {return false;} ;} ;return Event_CancelEvent();} else {var Ox274=prompt(OxObf5d[0x10],OxObf5d[0x11]);if(Ox274){ hiddenActionData[OxObf5d[0xe]]=Ox274 ;return true;} else {return false;} ;return false;} ;} ; function Delete_click(){if(Event_GetSrcElement()[OxObf5d[0xa]]){ alert(OxObf5d[0xb]) ;return false;} ;return confirm(OxObf5d[0x14]);} ; function EditImg_click(img){if(img[OxObf5d[0xa]]){ alert(OxObf5d[0xb]) ;return false;} ;var Ox279=img[OxObf5d[0x15]][OxObf5d[0x15]];var Ox27a=Ox279[OxObf5d[0x16]];var name;var Ox27b;if(Browser_IsOpera()){ Ox27b=Ox279.getAttribute(OxObf5d[0x17])==OxObf5d[0x18] ;} else { Ox27b=Ox279[OxObf5d[0x17]] ;} ;if(Browser_IsIE7()){var Ox12c;if(Ox27b){ IEprompt(Ox273,OxObf5d[0xc],Ox27a) ;} else {var i=Ox27a.lastIndexOf(OxObf5d[0x19]); Ox12c=Ox27a.substr(i) ;var Ox25=Ox27a.substr(0x0,Ox27a.lastIndexOf(OxObf5d[0x19])); IEprompt(Ox273,OxObf5d[0x1a],Ox25) ;} ; function Ox273(Ox274){if(Ox274&&Ox274!=Ox279[OxObf5d[0x16]]){if(!Ox27b){ Ox274=Ox274+Ox12c ;} ; hiddenAction[OxObf5d[0xe]]=OxObf5d[0x1b] ; hiddenActionData[OxObf5d[0xe]]=(Ox27b?OxObf5d[0x1d]:OxObf5d[0x1e])+OxObf5d[0x1f]+Ox279[OxObf5d[0x1c]]+OxObf5d[0x1f]+Ox274 ; window.PostBackAction() ;} ;} ;} else {if(Ox27b){ name=prompt(OxObf5d[0xc],Ox27a) ;} else {var i=Ox27a.lastIndexOf(OxObf5d[0x19]);var Ox12c=Ox27a.substr(i);var Ox25=Ox27a.substr(0x0,Ox27a.lastIndexOf(OxObf5d[0x19])); name=prompt(OxObf5d[0x1a],Ox25) ;if(name){ name=name+Ox12c ;} ;} ;if(name&&name!=Ox279[OxObf5d[0x16]]){ hiddenAction[OxObf5d[0xe]]=OxObf5d[0x1b] ; hiddenActionData[OxObf5d[0xe]]=(Ox27b?OxObf5d[0x1d]:OxObf5d[0x1e])+OxObf5d[0x1f]+Ox279[OxObf5d[0x1c]]+OxObf5d[0x1f]+name ; window.PostBackAction() ;} ;} ;return Event_CancelEvent();} ; setMouseOver() ; function setMouseOver(){var FoldersAndFiles=Window_GetElement(window,OxObf5d[0x20],true);var Ox27e=FoldersAndFiles.getElementsByTagName(OxObf5d[0x21]);for(var i=0x0;i<Ox27e[OxObf5d[0x22]];i++){var Ox279=Ox27e[i]; Ox279[OxObf5d[0x24]]= new Function(OxObf5d[0xd],OxObf5d[0x23]) ; Ox279[OxObf5d[0x26]]= new Function(OxObf5d[0xd],OxObf5d[0x25]) ;} ;} ; function row_click(Ox279){var Ox27b;if(Browser_IsOpera()){ Ox27b=Ox279.getAttribute(OxObf5d[0x17])==OxObf5d[0x18] ;} else { Ox27b=Ox279[OxObf5d[0x17]] ;} ;if(Ox27b){if(Event_GetSrcElement()[OxObf5d[0x27]]==OxObf5d[0x28]){return ;} ; hiddenAction[OxObf5d[0xe]]=OxObf5d[0x29] ; hiddenActionData[OxObf5d[0xe]]=Ox279.getAttribute(OxObf5d[0x1c]) ; window.PostBackAction() ;} else {var Ox169=Ox279.getAttribute(OxObf5d[0x1c]); hiddenFile[OxObf5d[0xe]]=Ox169 ;var Ox280=Ox279.getAttribute(OxObf5d[0x2a]); Window_GetElement(window,OxObf5d[0x2b],true)[OxObf5d[0xe]]=Ox280 ;var htmlcode=Ox279.getAttribute(OxObf5d[0x2c]);if(htmlcode!=OxObf5d[0xd]&&htmlcode!=null){ do_preview(htmlcode) ;} else {try{ Actualsize() ;} catch(x){ do_preview() ;} ;} ;} ;} ; function reset_hiddens(){if(hiddenAlert[OxObf5d[0xe]]){ alert(hiddenAlert.value) ;} ; hiddenAlert[OxObf5d[0xe]]=OxObf5d[0xd] ; hiddenAction[OxObf5d[0xe]]=OxObf5d[0xd] ; hiddenActionData[OxObf5d[0xe]]=OxObf5d[0xd] ;} ; Event_Attach(window,OxObf5d[0x2d],reset_hiddens) ; Event_Attach(window,OxObf5d[0x2d],sortables_init) ;var SORT_COLUMN_INDEX; function sortables_init(){if(!document[OxObf5d[0x2e]]){return ;} ;var Ox285=document.getElementsByTagName(OxObf5d[0x2f]);for(var Ox286=0x0;Ox286<Ox285[OxObf5d[0x22]];Ox286++){var Ox287=Ox285[Ox286];if(((OxObf5d[0x32]+Ox287[OxObf5d[0x31]]+OxObf5d[0x32]).indexOf(OxObf5d[0x30])!=-0x1)&&(Ox287[OxObf5d[0x33]])){ ts_makeSortable(Ox287) ;} ;} ;} ; function ts_makeSortable(Ox289){if(Ox289[OxObf5d[0x34]]&&Ox289[OxObf5d[0x34]][OxObf5d[0x22]]>0x0){var Ox28a=Ox289[OxObf5d[0x34]][0x0];} ;if(!Ox28a){return ;} ;for(var i=0x2;i<0x4;i++){var Ox28b=Ox28a[OxObf5d[0x35]][i];var Ox208=ts_getInnerText(Ox28b); Ox28b[OxObf5d[0x36]]=OxObf5d[0x37]+Ox208+OxObf5d[0x38] ;} ;} ; function ts_getInnerText(Ox81){if( typeof Ox81==OxObf5d[0x39]){return Ox81;} ;if( typeof Ox81==OxObf5d[0x3a]){return Ox81;} ;if(Ox81[OxObf5d[0x3b]]){return Ox81[OxObf5d[0x3b]];} ;var Ox24=OxObf5d[0xd];var Ox235=Ox81[OxObf5d[0x3c]];var Ox2b=Ox235[OxObf5d[0x22]];for(var i=0x0;i<Ox2b;i++){switch(Ox235[i][OxObf5d[0x3e]]){case 0x1: Ox24+=ts_getInnerText(Ox235[i]) ;break ;case 0x3: Ox24+=Ox235[i][OxObf5d[0x3d]] ;break ;;;} ;} ;return Ox24;} ; function ts_resortTable(Ox28e){var Ox28f;for(var Ox290=0x0;Ox290<Ox28e[OxObf5d[0x3c]][OxObf5d[0x22]];Ox290++){if(Ox28e[OxObf5d[0x3c]][Ox290][OxObf5d[0x27]]&&Ox28e[OxObf5d[0x3c]][Ox290][OxObf5d[0x27]].toLowerCase()==OxObf5d[0x3f]){ Ox28f=Ox28e[OxObf5d[0x3c]][Ox290] ;} ;} ;var Ox291=ts_getInnerText(Ox28f);var Ox64=Ox28e[OxObf5d[0x15]];var Ox292=Ox64[OxObf5d[0x40]];var Ox289=getParent(Ox64,OxObf5d[0x41]);if(Ox289[OxObf5d[0x34]][OxObf5d[0x22]]<=0x1){return ;} ;var Ox293=ts_getInnerText(Ox289[OxObf5d[0x34]][0x1][OxObf5d[0x35]][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[OxObf5d[0x34]][0x0][OxObf5d[0x22]];i++){ Ox28a[i]=Ox289[OxObf5d[0x34]][0x0][i] ;} ;for(var j=0x1;j<Ox289[OxObf5d[0x34]][OxObf5d[0x22]];j++){ Ox295[j-0x1]=Ox289[OxObf5d[0x34]][j] ;} ; Ox295.sort(Ox294) ;if(Ox28f.getAttribute(OxObf5d[0x42])==OxObf5d[0x43]){var Ox296=OxObf5d[0x44]; Ox295.reverse() ; Ox28f.setAttribute(OxObf5d[0x42],OxObf5d[0x45]) ;} else { Ox296=OxObf5d[0x46] ; Ox28f.setAttribute(OxObf5d[0x42],OxObf5d[0x43]) ;} ;for( i=0x0 ;i<Ox295[OxObf5d[0x22]];i++){if(!Ox295[i][OxObf5d[0x31]]||(Ox295[i][OxObf5d[0x31]]&&(Ox295[i][OxObf5d[0x31]].indexOf(OxObf5d[0x47])==-0x1))){ Ox289[OxObf5d[0x48]][0x0].appendChild(Ox295[i]) ;} ;} ;for( i=0x0 ;i<Ox295[OxObf5d[0x22]];i++){if(Ox295[i][OxObf5d[0x31]]&&(Ox295[i][OxObf5d[0x31]].indexOf(OxObf5d[0x47])!=-0x1)){ Ox289[OxObf5d[0x48]][0x0].appendChild(Ox295[i]) ;} ;} ;var Ox297=document.getElementsByTagName(OxObf5d[0x3f]);for(var Ox290=0x0;Ox290<Ox297[OxObf5d[0x22]];Ox290++){if(Ox297[Ox290][OxObf5d[0x31]]==OxObf5d[0x49]){if(getParent(Ox297[Ox290],OxObf5d[0x2f])==getParent(Ox28e,OxObf5d[0x2f])){ Ox297[Ox290][OxObf5d[0x36]]=OxObf5d[0x4a] ;} ;} ;} ; Ox28f[OxObf5d[0x36]]=Ox296 ;} ; function getParent(Ox81,Ox299){if(Ox81==null){return null;} else {if(Ox81[OxObf5d[0x3e]]==0x1&&Ox81[OxObf5d[0x27]].toLowerCase()==Ox299.toLowerCase()){return Ox81;} else {return getParent(Ox81.parentNode,Ox299);} ;} ;} ; function ts_sort_date(Ox14d,Ox17){var Ox29b=ts_getInnerText(Ox14d[OxObf5d[0x35]][SORT_COLUMN_INDEX]);var Ox29c=ts_getInnerText(Ox17[OxObf5d[0x35]][SORT_COLUMN_INDEX]);if(Ox29b[OxObf5d[0x22]]==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=OxObf5d[0x4b]+Ox29e ;} else { Ox29e=OxObf5d[0x4c]+Ox29e ;} ;var Ox29d=Ox29e+Ox29b.substr(0x3,0x2)+Ox29b.substr(0x0,0x2);} ;if(Ox29c[OxObf5d[0x22]]==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=OxObf5d[0x4b]+Ox29e ;} else { Ox29e=OxObf5d[0x4c]+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[OxObf5d[0x35]][SORT_COLUMN_INDEX]).replace(/[^0-9.]/g,OxObf5d[0xd]);var Ox29c=ts_getInnerText(Ox17[OxObf5d[0x35]][SORT_COLUMN_INDEX]).replace(/[^0-9.]/g,OxObf5d[0xd]);return parseFloat(Ox29b)-parseFloat(Ox29c);} ; function ts_sort_numeric(Ox14d,Ox17){var Ox29b=parseFloat(ts_getInnerText(Ox14d[OxObf5d[0x35]][SORT_COLUMN_INDEX]));if(isNaN(Ox29b)){ Ox29b=0x0 ;} ;var Ox29c=parseFloat(ts_getInnerText(Ox17[OxObf5d[0x35]][SORT_COLUMN_INDEX]));if(isNaN(Ox29c)){ Ox29c=0x0 ;} ;return Ox29b-Ox29c;} ; function ts_sort_caseinsensitive(Ox14d,Ox17){var Ox29b=ts_getInnerText(Ox14d[OxObf5d[0x35]][SORT_COLUMN_INDEX]).toLowerCase();var Ox29c=ts_getInnerText(Ox17[OxObf5d[0x35]][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[OxObf5d[0x35]][SORT_COLUMN_INDEX]);var Ox29c=ts_getInnerText(Ox17[OxObf5d[0x35]][SORT_COLUMN_INDEX]);if(Ox29b==Ox29c){return 0x0;} ;if(Ox29b<Ox29c){return -0x1;} ;return 0x1;} ; function RequireFileBrowseScript(){} ; RequireFileBrowseScript() ;var Form1=Window_GetElement(window,OxObf5d[0x4d],true);var hiddenDirectory=Window_GetElement(window,OxObf5d[0x5],true);var hiddenFile=Window_GetElement(window,OxObf5d[0x6],true);var hiddenAlert=Window_GetElement(window,OxObf5d[0x7],true);var hiddenAction=Window_GetElement(window,OxObf5d[0x8],true);var hiddenActionData=Window_GetElement(window,OxObf5d[0x9],true);var Image1=Window_GetElement(window,OxObf5d[0x4e],true);var FolderDescription=Window_GetElement(window,OxObf5d[0x4f],true);var CreateDir=Window_GetElement(window,OxObf5d[0x50],true);var Copy=Window_GetElement(window,OxObf5d[0x51],true);var Move=Window_GetElement(window,OxObf5d[0x52],true);var img_AutoThumbnail=Window_GetElement(window,OxObf5d[0x53],true);var img_ImageEditor=Window_GetElement(window,OxObf5d[0x54],false);var FoldersAndFiles=Window_GetElement(window,OxObf5d[0x20],true);var Delete=Window_GetElement(window,OxObf5d[0x55],true);var DoRefresh=Window_GetElement(window,OxObf5d[0x56],true);var name_Cell=Window_GetElement(window,OxObf5d[0x57],true);var size_Cell=Window_GetElement(window,OxObf5d[0x58],true);var op_Cell=Window_GetElement(window,OxObf5d[0x59],true);var op_space=Window_GetElement(window,OxObf5d[0x5a],true);var divpreview=Window_GetElement(window,OxObf5d[0x5b],true);var img_demo=Window_GetElement(window,OxObf5d[0x5c],true);var Table8=Window_GetElement(window,OxObf5d[0x5d],true);var TargetUrl=Window_GetElement(window,OxObf5d[0x2b],true);var Button1=Window_GetElement(window,OxObf5d[0x5e],true);var Button2=Window_GetElement(window,OxObf5d[0x5f],true);var arg=Window_FindDialogArguments(window);var editor=arg[OxObf5d[0x60]];var editwin=arg[OxObf5d[0x61]];var editdoc=arg[OxObf5d[0x4]]; do_preview() ; function do_preview(){var Ox280=TargetUrl[OxObf5d[0xe]];if(Ox280==OxObf5d[0xd]){return ;} ; img_demo[OxObf5d[0x62]]=Ox280 ; Ox280=Ox280.toLowerCase() ;if(Ox280.indexOf(OxObf5d[0x63])!=-0x1){ img_AutoThumbnail[OxObf5d[0x65]][OxObf5d[0x64]]=OxObf5d[0x66] ;if(img_ImageEditor){ img_ImageEditor[OxObf5d[0x65]][OxObf5d[0x64]]=OxObf5d[0x66] ;} ;} ;} ; function do_insert(){var Ox36b=arg[OxObf5d[0x67]];if(Ox36b){try{ Ox36b[OxObf5d[0xe]]=TargetUrl[OxObf5d[0xe]] ;} catch(x){} ;} ; Window_SetDialogReturnValue(window,TargetUrl.value) ; Window_CloseDialog(window) ;} ; function do_cancel(){ Window_SetDialogReturnValue(window,null) ; Window_CloseDialog(window) ;} ; function Zoom_In(){if(divpreview[OxObf5d[0x65]][OxObf5d[0x68]]!=0x0){ divpreview[OxObf5d[0x65]][OxObf5d[0x68]]*=1.2 ;} else { divpreview[OxObf5d[0x65]][OxObf5d[0x68]]=1.2 ;} ;} ; function Zoom_Out(){if(divpreview[OxObf5d[0x65]][OxObf5d[0x68]]!=0x0){ divpreview[OxObf5d[0x65]][OxObf5d[0x68]]*=0.8 ;} else { divpreview[OxObf5d[0x65]][OxObf5d[0x68]]=0.8 ;} ;} ; function BestFit(){var Oxd4=0x118;var Oxd5=0x122; divpreview[OxObf5d[0x65]][OxObf5d[0x68]]=0x1/Math.max(img_demo[OxObf5d[0x6a]]/Oxd5,img_demo[OxObf5d[0x69]]/Oxd4) ;} ; function AutoThumbnail(){if(TargetUrl[OxObf5d[0xe]]==OxObf5d[0xd]){ alert(OxObf5d[0x6b]) ;return false;} ;var src=TargetUrl[OxObf5d[0xe]];var p=OxObf5d[0x6c]; function Ox20e(Ox197){ TargetUrl[OxObf5d[0xe]]=Ox197 ; do_preview() ; divpreview[OxObf5d[0x65]][OxObf5d[0x68]]=0x1 ; hiddenAction[OxObf5d[0xe]]=OxObf5d[0x6d] ; window.PostBackAction() ;} ; editor.SetNextDialogWindow(window) ; editor.ShowDialog(Ox20e,OxObf5d[0x6f]+editor.GetScriptProperty(OxObf5d[0x6e])+OxObf5d[0x70]+src+OxObf5d[0x71]+p+OxObf5d[0xd],src,OxObf5d[0x72]) ;} ; function Actualsize(){ divpreview[OxObf5d[0x65]][OxObf5d[0x68]]=0x1 ; do_preview() ;} ;if(!Browser_IsWinIE()){if(img_ImageEditor){ img_ImageEditor[OxObf5d[0x65]][OxObf5d[0x64]]=OxObf5d[0x66] ;} ;} ; function ImageEditor(){if(TargetUrl[OxObf5d[0xe]]==OxObf5d[0xd]){ alert(OxObf5d[0x73]) ;return false;} ;var img= new Image(); img[OxObf5d[0x62]]=TargetUrl[OxObf5d[0xe]] ;var src=TargetUrl[OxObf5d[0xe]];var p=OxObf5d[0x6c]; function Ox20e(arr){ TargetUrl[OxObf5d[0xe]]=src ; do_preview() ;} ; editor.SetNextDialogWindow(window) ; editor.ShowDialog(Ox20e,OxObf5d[0x74]+src+OxObf5d[0x71]+p+OxObf5d[0x75]+editor.GetScriptProperty(OxObf5d[0x6e]),img,OxObf5d[0x76]) ;} ;if(Browser_IsIE7()){var _dialogPromptID=null; function IEprompt(Ox273,Ox2c3,Ox2c4){ that=this ; this[OxObf5d[0x77]]=function (Ox2c5){ val=document.getElementById(OxObf5d[0x78])[OxObf5d[0xe]] ; _dialogPromptID[OxObf5d[0x65]][OxObf5d[0x64]]=OxObf5d[0x66] ; document.getElementById(OxObf5d[0x78])[OxObf5d[0xe]]=OxObf5d[0xd] ;if(Ox2c5){ val=OxObf5d[0xd] ;} ; Ox273(val) ;return false;} ;if(Ox2c4==undefined){ Ox2c4=OxObf5d[0xd] ;} ;if(_dialogPromptID==null){var Ox2c6=document.getElementsByTagName(OxObf5d[0x79])[0x0]; tnode=document.createElement(OxObf5d[0x7a]) ; tnode[OxObf5d[0x33]]=OxObf5d[0x7b] ; Ox2c6.appendChild(tnode) ; _dialogPromptID=document.getElementById(OxObf5d[0x7b]) ; tnode=document.createElement(OxObf5d[0x7a]) ; tnode[OxObf5d[0x33]]=OxObf5d[0x7c] ; Ox2c6.appendChild(tnode) ; _dialogPromptID[OxObf5d[0x65]][OxObf5d[0x7d]]=OxObf5d[0x7e] ; _dialogPromptID[OxObf5d[0x65]][OxObf5d[0x7f]]=OxObf5d[0x80] ; _dialogPromptID[OxObf5d[0x65]][OxObf5d[0x81]]=OxObf5d[0x82] ; _dialogPromptID[OxObf5d[0x65]][OxObf5d[0x6a]]=OxObf5d[0x83] ; _dialogPromptID[OxObf5d[0x65]][OxObf5d[0x84]]=OxObf5d[0x85] ;} ;var Ox2c7=OxObf5d[0x86]; Ox2c7+=OxObf5d[0x87]+Ox2c3+OxObf5d[0x88] ; Ox2c7+=OxObf5d[0x89] ; Ox2c7+=OxObf5d[0x8a]+Ox2c4+OxObf5d[0x8b] ; Ox2c7+=OxObf5d[0x8c] ; Ox2c7+=OxObf5d[0x8d] ; Ox2c7+=OxObf5d[0x8e] ; Ox2c7+=OxObf5d[0x8f] ; Ox2c7+=OxObf5d[0x90] ; _dialogPromptID[OxObf5d[0x36]]=Ox2c7 ; _dialogPromptID[OxObf5d[0x65]][OxObf5d[0x0]]=OxObf5d[0x91] ; _dialogPromptID[OxObf5d[0x65]][OxObf5d[0x93]]=parseInt((document[OxObf5d[0x79]][OxObf5d[0x92]]-0x13b)/0x2)+OxObf5d[0x94] ; _dialogPromptID[OxObf5d[0x65]][OxObf5d[0x64]]=OxObf5d[0x95] ;var Ox2c8=document.getElementById(OxObf5d[0x78]);try{var range=Ox2c8.createTextRange(); range.collapse(false) ; range.select() ;} catch(x){ Ox2c8.focus() ;} ;} ;} ;