⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 controls.js

📁 Telerik是很大的第三方软件制造商
💻 JS
📖 第 1 页 / 共 5 页
字号:
function i2p(){} ; i2p.Initialize= function (Z){Z.I2p=this.I2p; Z.o2q=this.o2q; Z.O2q=this.O2q; Z.l2q=this.l2q; Z.i2q=this.i2q; Z.I2q=this.I2q; Z.o2r=this.o2r; Z.O2r=this.O2r; Z.l2q(); } ; i2p.o2r= function (l2r){var i2r=this ; return function (e){if (!e)e=window.event; i2r[l2r](e); };} ; i2p.I2p= function (i17,I2r,o2s){var O2s=this.o2r(o2s); this.l2s[this.l2s.length]=[i17,I2r,O2s]; this.O2r(i17,I2r,O2s); } ; i2p.O2r= function (i17,I2r,O2s){if (i17.attachEvent){i17.attachEvent("\x6f\x6e"+I2r,O2s); }else if (i17.addEventListener){i17.addEventListener(I2r,O2s, false); }} ; i2p.o2q= function (i17,I2r,O2s){if (i17.detachEvent){i17.detachEvent("\x6fn"+I2r,O2s); }} ; i2p.O2q= function (){for (var i=0; i<this.l2s.length; i++){ this.o2q(this.l2s[i][0],this.l2s[i][1],this.l2s[i][2]); } this.l2q(); } ; i2p.i2q= function (i2s){var I2s=this ; var o2t=this.o2r(i2s); var O2t= function (){o2t(); I2s.O2q(); I2s=null; } ; this.O2r(window,"\165\x6eload",O2t); } ; i2p.l2q= function (){ this.l2s=[]; } ;;function AccessibleTable(id,l2t){ this.Id=id; this.AlignmentSelector=l2t; this.i2t=null; this.I2t=0; this.o2u=0; this.Caption=""; this.O2u=""; this.l2u=""; this.i2u=""; this.I2u= false; this.o2v=document.getElementById("\124XT_HEAD_RO\x57S_"+this.Id); this.O2v=document.getElementById("TXT_HEAD_CO\x4c\x53_"+this.Id); this.l2v=document.getElementById("TXT_SU\x4d\x4dARY"+this.Id); this.i2v=document.getElementById("\x54XT_CAPTI\x4f\x4e_"+this.Id); this.I2v=document.getElementById("\x53ET_CELL_ID\x5f"+this.Id); this.o2w=document.getElementById("MAX_HEA\x44\x5fROWS\x5f"+this.Id); this.O2w=document.getElementById("\x4d\x41X_HEAD\x5f\x43OLS_"+this.Id); this.IsIE=document.all? true : false; this.l2w=document; }AccessibleTable.prototype.Initialize= function (table,l2b){ this.i2t=table; if (l2b)this.l2w=l2b; if (this.i2t){if (this.i2t.caption){if (this.IsIE){ this.Caption=this.i2t.caption.innerText; this.l2u=(""==this.i2t.caption.align?"l\x65\x66t": this.i2t.caption.align); this.i2u=(""==this.i2t.caption.vAlign?"\x74op": this.i2t.caption.vAlign); }else { this.Caption=this.i2t.caption.childNodes[0].nodeValue; this.l2u="\x63enter"; this.i2u=this.i2t.caption.align; }}else { this.Caption=""; this.l2u="\x6ceft"; this.i2u="\x74op"; } this.O2u=this.i2t.summary; this.I2t=this.i2t.tHead?this.i2t.tHead.rows.length: 0; this.o2u=this.i2w(); this.I2u=this.I2w() || this.o2x(); this.O2x( false); }} ; AccessibleTable.prototype.i2w= function (){var count=0; if (this.i2t){for (l2x=0; l2x<this.i2t.tBodies.length; l2x++){var tBody=this.i2t.tBodies[l2x]; for (i=0; i<tBody.rows.length; i++){var Oo=tBody.rows[i]; var cells=Oo.getElementsByTagName("TH"); if (cells && cells.length>count)count=cells.length; }}}return count; } ; AccessibleTable.prototype.O2x= function (save){if (save){ this.I2t=parseInt(this.o2v.value); this.o2u=parseInt(this.O2v.value); this.Caption=this.i2v.value; this.O2u=this.l2v.value; this.l2u=this.AlignmentSelector.i2x(); this.i2u=this.AlignmentSelector.I2x(); this.I2u=this.I2v.checked; }else { this.o2v.value=this.I2t; this.O2v.value=this.o2u; this.i2v.value=this.Caption; this.l2v.value=this.O2u; this.AlignmentSelector.o2y(this.l2u,this.i2u); this.I2v.checked=this.I2u; if (this.i2t){var O2y=this.i2t.rows.length; var l2y=(this.i2t.rows.length>0)?this.i2t.rows[0].cells.length: 0; this.o2w.innerText="(Max. "+O2y+")"; this.O2w.innerText="\x28Max. "+l2y+"\x29"; }}} ; AccessibleTable.prototype.o2x= function (){if (this.i2t){for (l2x=0; l2x<this.i2t.tBodies.length; l2x++){var tBody=this.i2t.tBodies[l2x]; for (i=0; i<tBody.rows.length; i++){var Oo=tBody.rows[i]; for (j=0; j<Oo.cells.length; j++){var oo=Oo.cells[j]; if (oo.getAttribute("h\x65\x61ders")){return true; }}}}}return false; } ; AccessibleTable.prototype.I2w= function (){if (this.i2t){for (i=0; i<this.i2t.rows.length; i++){var Oo=this.i2t.rows[i]; for (j=0; j<Oo.cells.length; j++){var oo=Oo.cells[j]; if ("T\x48"==oo.tagName.toUpperCase() && ""!=oo.id)return true; }}}return false; } ; AccessibleTable.prototype.i2y= function (){var I2y=0; if (null!=this.i2t && this.i2t.rows.length>0){I2y=this.i2t.rows[0].cells.length; }return I2y; } ; AccessibleTable.prototype.o2z= function (){var caption=this.i2t.caption; if (this.IsIE){if (!caption && ""!=this.Caption)caption=this.i2t.createCaption(); if (caption){caption.innerText=this.Caption; caption.align=this.l2u; caption.vAlign=this.i2u; }}else {if (caption){ this.i2t.removeChild(caption); caption=null; }if (!caption && ""!=this.Caption){var caption=this.l2w.createElement("CAPTIO\x4e"); caption.innerHTML=this.Caption; caption.setAttribute("ali\x67\x6e",this.i2u); this.i2t.appendChild(caption); }}} ; AccessibleTable.prototype.O2z= function (){var I2y=this.i2y(); var tHead=this.l2z(); if (!tHead){tHead=this.i2t.createTHead(); }var i2z=0; for (i=0; i<this.i2t.rows.length; i++){var Oo=this.i2t.rows[i]; var parent=Oo.parentNode; var I2z=parent.tagName.toUpperCase(); if (i<this.I2t){if ("\x54HEAD"!=I2z){var Ip=tHead.insertRow(tHead.rows.length); for (j=0; j<Oo.cells.length; j++){var Oq=this.l2w.createElement("T\x48"); Oq.innerHTML=Oo.cells[j].innerHTML; Ip.insertBefore(Oq,null); } this.i2t.deleteRow(i+1); }}else {if ("THEAD"==I2z){var Ip=this.i2t.tBodies[0].insertRow(i2z++); for (j=0; j<Oo.cells.length; j++){var Oq=Ip.insertBefore(this.l2w.createElement("\x54\x44"),null); Oq.innerHTML=Oo.cells[j].innerHTML; }}}}if (this.I2t<tHead.rows.length){for (i=tHead.rows.length-1; i>=this.I2t; i--){tHead.deleteRow(i); }}} ; AccessibleTable.prototype.o30= function (){if (this.i2t){for (l2x=0; l2x<this.i2t.tBodies.length; l2x++){var tBody=this.i2t.tBodies[l2x]; for (i=0; i<tBody.rows.length; i++){var Oo=tBody.rows[i]; for (j=0; j<Oo.cells.length; j++){var O30=j<this.o2u?"\x54H": "TD"; this.l30(Oo.cells[j],O30); }}}}} ; AccessibleTable.prototype.i30= function (){var I30=this.I2w(); var o31=this.o2x(); if (this.i2t && this.i2t.tHead && (this.I2u || I30 || o31)){var O31=this.i2t.id?this.i2t.id: this.i2t.uniqueID; if (!O31){O31="\x74abl\x65"; }var l31=null; var i31=0; if (I30 || this.I2u){for (i=0; i<this.i2t.tHead.rows.length; i++){var Oo=this.i2t.tHead.rows[i]; if (!l31)l31=new Array(Oo.cells.length); for (j=0; j<Oo.cells.length; j++){var oo=Oo.cells[j]; if (this.I2u){var id=oo.id?oo.id: (O31+"_head\x69\156\x67_"+i31++); oo.id=id; if (!l31[j])l31[j]=id; }else {oo.id=""; }}}}for (l2x=0; l2x<this.i2t.tBodies.length; l2x++){var tBody=this.i2t.tBodies[l2x]; for (i=0; i<tBody.rows.length; i++){var Oo=tBody.rows[i]; for (j=0; j<Oo.cells.length; j++){var oo=Oo.cells[j]; var I31=oo.tagName.toUpperCase(); if ("TH"==I31){if (this.I2u)oo.id=oo.id?oo.id: (O31+"\x5fheadi\x6e\x67_"+i31++); else oo.id=""; }else if ("TD"==I31 && this.i2t.tHead.rows.length>0 && l31 && (o31 || this.I2u)){if (this.I2u)oo.setAttribute("hea\x64ers",l31[j]); else oo.removeAttribute("\x68eaders", false); }}}}}} ; AccessibleTable.prototype.UpdateTable= function (){if (null!=this.i2t){ this.O2x( true); this.o2z(); if (this.O2u==""){ this.i2t.removeAttribute("\x73ummary", false); }else { this.i2t.summary=this.O2u; } this.O2z(); this.o30(); this.i30(); }} ; AccessibleTable.prototype.o32= function (){return this.I2t; } ; AccessibleTable.prototype.O32= function (rows){ this.I2t=rows; } ; AccessibleTable.prototype.l32= function (){return this.o2u; } ; AccessibleTable.prototype.i32= function (I32){ this.o2u=I32; } ; AccessibleTable.prototype.o33= function (){return this.O2u; } ; AccessibleTable.prototype.O33= function (summary){ this.O2u=summary; } ; AccessibleTable.prototype.GetCaption= function (){return this.Caption; } ; AccessibleTable.prototype.SetCaption= function (caption){ this.Caption=caption; } ; AccessibleTable.prototype.l33= function (){return this.l2u; } ; AccessibleTable.prototype.i33= function (I33){ this.l2u=I33; } ; AccessibleTable.prototype.o34= function (){return this.i2u; } ; AccessibleTable.prototype.O34= function (vAlign){ this.i2u=vAlign; } ; AccessibleTable.prototype.l2z= function (){var l34=this.i2t.getElementsByTagName("\x54HE\x41\x44"); if (l34.length>0)return l34[0]; else return null; } ; AccessibleTable.prototype.l30= function (i34,I34){var o35= false; if (i34.tagName.toUpperCase()!=I34.toUpperCase()){var Oq=this.l2w.createElement(I34.toUpperCase()); for (var O35 in i34.attributes){i34.O35=i34.attributes[O35]; }Oq.colSpan=i34.colSpan; Oq.rowSpan=i34.rowSpan; Oq.innerHTML=i34.innerHTML; i34.innerHTML=i34.innerHTML; Oq.style.cssText=i34.style.cssText; i34.parentNode.replaceChild(Oq,i34); o35= true; }return o35; } ;;var l35=[["",""],["\x6eon\x65",""],["",""],["",""],["\x74\x6fp",""],["",""],["\x6ceft",""],["absmiddle",""],["right",""],["",""],["\x62\x6fttom",""],["",""],["",""],["",""],["",""]]; var i35=[["",""],["\x6eone",""],["",""],["left","to\x70"],["\x63enter","top"],["\x72ight","\x74op"],["left","\x6d\x69ddle"],["\x63enter","\x6diddle"],["\x72ight","\x6diddle"],["\x6ceft","\x62ottom"],["\x63enter","\x62\x6fttom"],["right","\x62\x6fttom"],["",""],["",""],["",""]]; var I35=[["",""],["\x6eone",""],["",""],["\x6ceft",""],["center",""],["right",""],["",""],["",""],["",""],["",""],["",""],["",""],["",""],["",""],["",""]]; var o36=[["",""],["none",""],["",""],["left","t\x6f\x70"],["center","\x74op"],["r\x69\x67ht","top"],["",""],["",""],["",""],["left","bo\x74\x74om"],["\x63\145\x6e\x74er","bottom"],["ri\x67\x68t","\x62ottom"],["",""],["",""],["",""]]; var O36=[["",""],["none",""],["",""],["",""],["","\x74\x6fp"],["",""],["",""],["",""],["",""],["",""],["","\x62ottom"],["",""],["",""],["",""],["",""]]; var l36=["\x78.gif","x.gif","\x78.gif","A\x6c\x69gnTopLe\x66t.gif","\x41lignTopCe\x6e\x74er.g\x69\x66","Align\x54\x6fpRigh\x74\x2egif","AlignMiddleL\x65\146\x74\x2egif","AlignMiddl\x65\x43ente\x72\x2egif","Align\x4d\x69ddleR\x69\x67ht.g\x69\146","Ali\x67\x6eBottom\x4c\x65ft.g\x69\146","Align\x42\x6fttomCe\x6e\x74er.g\x69f","\x41lignBotto\x6d\x52ight\x2e\x67if","\x78.gif","x.gi\x66","x.gif"]; function AlignmentSelector(id,i36,I36,o37,O37){ this.IsIE=document.all? true : false; this.ID=id; this.l37=i36; this.i2h=""; this.i37=null; this.I37=null; this.o38=-1; this.O38=document.getElementById("\x4dENU_BUTTON_\x49\x4dG_"+this.ID); this.DropDownMenu=o37; this.DropDownMenu.l38=this ; this.SetMode(I36); this.i38=O37; }AlignmentSelector.prototype.SetMode= function (I36){ this.i2h=I36; this.i37=this.I38(this.i2h); this.SelectAlignmentByIndex(this.o38); } ; AlignmentSelector.prototype.I38= function (I36){switch (I36.toUpperCase()){case "IMG":return l35; case "TABLE":return I35; case "TD":return i35; case "\x43APTION":return (this.IsIE?o36:O36); default:return null; }} ; AlignmentSelector.prototype.o39= function (visible){ this.O39(this.i2h,visible); } ; AlignmentSelector.prototype.O39= function (I36,visible){var table=document.getElementById("MENU_EL\x45\x4dENT\x5f\x54ABL\x45_"+this.ID); var count=0; for (var i=0; i<table.rows.length; i++){var l39= false; for (var j=0; j<table.rows[i].cells.length; j++){var oo=table.rows[i].cells[j]; var i39=visible && this.I39(count++); oo.style.visibility=i39?"\x76isible": "hid\x64\x65n"; l39 |= i39; }if (null!=document.all){table.rows[i].style.display=l39?"": "\x6eone"; }}} ; AlignmentSelector.prototype.I39= function (index){var o3a= false; if (this.i37){var O3a=this.i37[index]; o3a=((null!=O3a) && (""!=O3a[0] || ""!=O3a[1])); }return o3a; } ; AlignmentSelector.prototype.l3a= function (){var index=-1; if (this.i37){for (i=0; i<this.i37.length; i++){if (this.I39(i)){index=i; break; }}}return index; } ; AlignmentSelector.prototype.SelectAlignmentByIndex= function (index){if (index==this.o38){ this.I37=""; this.i3a("x.gif"); }else {if (this.i37 && 0<=index && index<this.i37.length){ this.I37=this.i37[index]; this.i3a(l36[index]); if (""!=this.i38)eval(this.i38); }}} ; AlignmentSelector.prototype.i3a= function (I3a){ this.O38.src=this.l37+"Img/"+I3a; if ("\170\x2egif"==I3a){ this.O38.style.marginLeft="\x30px"; }else { this.O38.style.marginLeft="\x2d2px"; }} ; AlignmentSelector.prototype.o2y= function (align,vAlign){if (""==align){align="n\x6f\x6ee"; }if (!vAlign){vAlign=""; }if (this.i37){align=align.toUpperCase(); vAlign=vAlign.toUpperCase(); var o3b=-1; for (i=0; i<this.i37.length; i++){if (this.I39(i)){var O3b=this.i37[i][0].toUpperCase(); var l3b=this.i37[i][1].toUpperCase(); if (-1==o3b){o3b=i; }if ((align==O3b || align==l3b) && (vAlign==O3b || vAlign==l3b)){ this.SelectAlignmentByIndex(i); return; }}} this.SelectAlignmentByIndex(o3b); }} ; AlignmentSelector.prototype.i2x= function (){var value=(this.I37?this.I37[0]: ""); if ("none"==value){value=""; }return value; } ; AlignmentSelector.prototype.I2x= function (){var value=(this.I37?this.I37[1]: ""); if ("none"==value){value=""; }return value; } ; AlignmentSelector.prototype.Toggle= function (){if (null!=this.DropDownMenu){ this.DropDownMenu.Toggle(); if (window.event){window.event.cancelBubble= true; }}} ; AlignmentSelector.prototype.i3b= function (i1a){if (null!=this.DropDownMenu){ this.DropDownMenu.i3b(i1a); }} ;;function I3b(fileBrowser,previewer,o3c){ this.O3c=document.getElementById("Folde\x72Pat\x68\x42ox"); this.FileBrowser=fileBrowser; this.l3c=previewer; this.TabHolder=o3c; if (this.FileBrowser && this.l3c){var i3c=this.l3c; var I3c=this.TabHolder; var o3d=this ; this.FileBrowser.OnClientClick= function (O3d){o3d.l3d(O3d.GetPath()); i3c.i3d(O3d); };this.FileBrowser.OnFolderChange= function (O3d){o3d.l3d(O3d.GetPath()); i3c.Clear(); I3c.SetTabEnabled(1,O3d.Permissions&this.UploadPermission); };}}I3b.prototype.l3d= function (I3d){ this.O3c.value=I3d; } ;;function CellPropertiesControl(Id,CssClassSelector,o3e,O3e,l3e,StyleBuilderCaller){ this.Id=Id; this.CssClassSelector=CssClassSelector; this.o3e=o3e; this.O3e=O3e; this.l3e=l3e; this.StyleBuilderCaller=StyleBuilderCaller; this.i3e=document.getElementById(this.Id+"\137\x63olumnW\x69\x64th"); this.I3e=document.getElementById(this.Id+"_col\x75\x6dnHeig\x68\x74"); this.o3f=new O3f(this.i3e.id,"DI\x4d\x45NSION",localization["\111\x6e\x76alidC\x65\x6clWi\x64th"]); this.l3f=new O3f(this.I3e.id,"DIM\x45\x4eSION",localization["\x49\156val\x69\x64CellH\x65\x69gh\x74"]); this.i3f=document.getElementById(this.Id+"_columnWrap"); this.I3f=document.getElementById(this.Id+"\x5f\x69dHolder"); this.o3g=null; this.O3g= false; }CellPropertiesControl.prototype.Initialize= function (l3g,o2c,o3g,ColorsArray,i3g){if (!this.O3g){ this.o3g=o3g; this.CssClasses=o2c; this.CssClassSelector.Initialize(this.CssClasses); this.StyleBuilderCaller.Initialize(this.o3g); this.l3e.Initialize(this.o3g); this.O3e.I3g=i3g; this.O3e.o3h=i3g; if (ColorsArray)this.O3e.O3h(ColorsArray); this.O3g= true; } this.l3h(l3g); } ; CellPropertiesControl.prototype.Clear= function (){var i3h=document.createElement("\x54D"); this.l3h(i3h); };CellPropertiesControl.prototype.l3h= function (cellToModify){ this.l3g=cellToModify; if (this.l3g.style.width==""){ this.i3e.value=this.l3g.width; }else { this.i3e.value=this.l3g.style.width; }if (this.l3g.style.height==""){ this.I3e.value=this.l3g.height; }else { this.I3e.value=this.l3g.style.height; } this.I3f.value=this.l3g.getAttribute("id"); this.o3e.o2y(this.l3g.align,this.l3g.vAlign);this.i3f.checked=this.l3g.noWrap; this.O3e.SelectColor(this.l3g.bgColor); this.CssClassSelector.I3h(this.l3g.className); this.StyleBuilderCaller.o3i(this.l3g); if (this.l3e && this.l3g){var imagePath=this.l3g.getAttribute("\x62ackgroun\x64"); if (!imagePath)imagePath=""; this.l3e.SetImagePath(imagePath); }} ; CellPropertiesControl.prototype.O3i= function (l3i){for (var i=0; i<l3i.length; i++){if (!this.Update(l3i[i])){return false; }}return true; };CellPropertiesControl.prototype.Update= function (i3i){if (typeof(i3i)!="\x75ndef\x69\x6eed"){ this.l3g=i3i; }var l1y=this.l3g; l1y.style.cssText=this.StyleBuilderCaller.GetStyleText(); if (l1y.style.cssText==""){l1y.removeAttribute("\x73\164\x79\x6ce", false); }if (!this.o3f.I3i()){return false; }var o3j=this.o3f.GetValue(); l1y.removeAttribute("wid\x74\x68", false); l1y.style.width=o3j?o3j: ""; if (!this.l3f.I3i()){return false; }var O3j=this.l3f.GetValue(); l1y.removeAttribute("\x68\x65ight", false); l1y.style.height=O3j?O3j: ""; this.l3j("id",this.I3f.value); this.l3j("ali\x67\x6e",this.o3e.i2x()); this.l3j("vAlign",this.o3e.I2x()); this.l3j("\x62gColor",this.O3e.i3j); this.l3j("\x62ackground",this.l3e.GetImagePath()); var className=document.all?"\x63lassN\x61\x6de": "class"; this.l3j(className,this.CssClassSelector.GetSelectedClassName()); l1y.noWrap=this.i3f.checked; return true; } ; CellPropertiesControl.prototype.l3j= function (l5,M,I3j){if (M || ( true ==I3j)){ this.l3g.setAttribute(l5,M); }else { this.l3g.removeAttribute(l5, false); }} ;;function ColorPicker(id,i36,o37,o3k){ this.IsIE=document.all? true : false; this.ID=id; this.l37=i36+"Dialog\x73/"; this.DropDownMenu=o37; this.O3k=document.getElementById("MENU_BUTTO\x4e\137\x53PAN_"+this.ID); this.l3k=o3k; this.i3k=6; this.I3g= true; this.o3h= true; if (null!=this.DropDownMenu){ this.I3k(); } this.i3j=""; this.SelectColor(""); this.OnClientClick=null; }ColorPicker.prototype.O3h= function (o3l){ this.l3k=o3l; this.I3k(); };ColorPicker.prototype.O3l= function (){return "url("+this.l37+"x.gif)"; };ColorPicker.prototype.i3b= function (i1a){if (null!=this.DropDownMenu){ this.DropDownMenu.i3b(i1a); }} ; ColorPicker.prototype.Toggle= function (){if (null!=this.DropDownMenu){ this.DropDownMenu.Toggle(); }} ; ColorPicker.prototype.SelectColor= function (color,hide){ this.i3j=color; if (null==hide)hide= true; if (hide && null!=this.DropDownMenu && this.DropDownMenu.IsVisible()){ this.DropDownMenu.SetVisible( false); } this.l3l(); } ; ColorPicker.prototype.l3l= function (){if (null!=this.DropDownMenu && null!=this.O3k){if (""==this.i3j){ this.O3k.style.background=this.i3j; this.O3k.style.backgroundImage=this.O3l(); this.O3k.style.backgroundPosition="c\x65nter"; this.O3k.style.backgroundRepeat="\156\x6f\x2drepea\x74"; }else { this.O3k.style.backgroundImage=""; this.O3k.style.background=this.i3j; }if (this.OnClientClick){ this.OnClientClick(); }}} ; ColorPicker.prototype.I3k= function (){var table=document.getElementById("COLOR_TA\x42\114\x45\x5f"+this.ID); if (!table)return; var i3l=table.rows.length; for (var i=0; i<i3l; i++){table.deleteRow(0); }var o1y=null; var I3l=0; for (i=0; i<this.l3k.length; i++){if (0==i%this.i3k){o1y=table.insertRow(table.rows.length); I3l=0; }I3l++; var bgColor=this.l3k[i]; this.o3m(o1y,bgColor); }var O3m=this.i3k-I3l-1; if (O3m>0){for (var i=0; i<=O3m; i++){var l1y=o1y.insertCell(o1y.cells.length); l1y.innerHTML="&\x6ebsp;&nbs\x70\x3b"; }}if (this.I3g){if (this.IsIE)this.l3m(table); else this.i3m(table,localization["\x41\144d\x43\x75stom\x43\x6flor"]); }if (this.IsIE && this.o3h){ this.i3m(table,localization["AddHexColor"]); }if (this.IsIE)this.DropDownMenu.I3m(table.outerHTML); } ; ColorPicker.prototype.l3m= function (table){var o3n=this.ID+"\x2eOnAddC\x75\x73tomC\x6f\x6corI\x45()"; var O3n="<span clas\x73\x3d\047\114a\x62\x65l\x27\x3e"+localization["\x41\x64dCus\x74\x6fmCo\x6c\x6fr"]+"\x3c/spa\x6e\x3e"+"<obje\x63\x74 id=\x27\x44LG_S\x45LECT_CO\x4c\117R\x5f"+this.ID+"\x27 CLASS\x49\x44=\047\x63lsid\x3a\063\x30\x350f8\x31\071-\x398b5-\x311cf-\x62\1428\x32\055\x30\060\x61\1410\x30bdce\x30b\047\x20w\x69dth\x3d\047\x30px\x27 hei\x67ht=\x270px\x27\076\x3c/ob\x6aec\x74>"; this.l3n(table,o3n,O3n); } ; ColorPicker.prototype.i3m= function (table,label){var o3n=this.ID+"\x2eOnAddHexC\x6f\x6cor(\x29"; var O3n="\x3cspan class=\x27\x4cabel\x27\x3e"+label+"</sp\x61\x6e>"; this.l3n(table,o3n,O3n); } ; ColorPicker.prototype.l3n= function (table,o3n,i3n){var Oo=table.insertRow(table.rows.length); var oo=Oo.insertCell(Oo.cells.length); oo.colSpan=this.i3k; oo.noWrap= true; oo.setAttribute("onmouseove\x72","this.cla\x73\x73Name\x20\x3d \047Over\047"); oo.setAttribute("o\x6e\x6douseou\x74","this.cla\x73\x73Name\x20\x3d \047\x27"); if (""!=o3n)oo.setAttribute("\157n\x63\x6cick",o3n); oo.innerHTML=i3n; } ; ColorPicker.prototype.OnAddCustomColorIE= function (){var I3n=document.all["DLG\x5f\x53ELECT\x5f\x43OLOR\x5f"+this.ID]; if (!I3n)return; var color=I3n.ChooseColorDlg(); color=this.o3o(color); this.O3o(color); } ; ColorPicker.prototype.l3o= function (color){if (null==color)return ""; if (color.charAt(0)!="\x23"){color="\x23"+color; }i3o=new RegExp("#[0-9a-\x66\x41-F]\x7b\x36}","\x67i"); return i3o.exec(color)?color: ""; } ; ColorPicker.prototype.I3o= function (o3p){var O3p="\060\x31\062345\x36\x3789A\x42\x43DE\x46"; o3p=parseInt(o3p); if (o3p<0)o3p=0; if (o3p>255)o3p=255; var i=Math.floor(o3p/16); var j=o3p%16; return O3p.charAt(i)+O3p.charAt(j); } ; ColorPicker.prototype.O3o= function (color){color=this.l3o(color); this.SelectColor(color, true); if (""!=color)this.l3p(color); } ; ColorPicker.prototype.l3p= function (color){var table=document.getElementById("\x43OLOR_TA\x42\x4cE_"+this.ID); if (!table)return; var i3p=null; var I3p=0; if (this.I3g)I3p++; if (this.o3h)I3p++; if (table.rows.length>(this.l3k.length+I3p)){var o3q=table.rows[table.rows.length-1]; if (o3q.cells.length<this.i3k)i3p=o3q; }if (!i3p)i3p=table.insertRow(table.rows.length); this.o3m(i3p,color); if (this.IsIE)this.DropDownMenu.I3m(table.outerHTML); } ; ColorPicker.prototype.o3m= function (Oo,color){var oo=Oo.insertCell(Oo.cells.length); oo.setAttribute("\x6fnmouseo\x76\x65r","\x74his.class\x4e\x61me \x3d\x20\x27\x4fver\x27"); oo.setAttribute("\x6fnmouseout","\164\x68\x69s.cla\x73\x73Nam\x65\040\x3d\x20\047\x27"); oo.setAttribute("\x6fnclic\x6b",this.ID+".SelectColo\x72\x28\047"+color+"\x27)"); var O3q=document.createElement("DIV"); O3q.style.backgroundColor=color; if (""==color){oo.style.backgroundImage=this.O3l(); oo.style.backgroundRepeat="\x6eo-repea\x74"; oo.style.backgroundPosition="\x63enter"; }oo.appendChild(O3q); } ; ColorPicker.prototype.OnAddHexColor= function (){var color=prompt(localization["\x50romptColor"],"#"); this.O3o(color); } ; ColorPicker.prototype.o3o= function (color){color=parseInt(color); color=color.toString(16); if (color.length<6){var l3q="000\x30\x300" .substring(0,(6-color.length)); color="#"+l3q.concat(color).toUpperCase(); }else {color="#"+color.toUpperCase(); }return color; } ; ColorPicker.prototype.Toggle= function (){if (null!=this.DropDownMenu){ this.DropDownMenu.Toggle(); if (window.event){window.event.cancelBubble= true; }}} ;;function i3q(e){if (null==e)return null; if (e.srcElement)return e.srcElement; else if (e.target)return e.target; else return null; }function buttonAction(action,e){if (window.event==null){e.preventDefault(); if (e.stopPropagation)e.stopPropagation(); }eval(action); }function showObject(id){try {document.getElementById(id).style.display="b\x6co\x63\x6b"; }catch (Ia){}}function hideObject(id){try {document.getElementById(id).style.display="\x6eone"; }catch (Ia){}}function inArray(array,value){for (var i=0; i<array.length; i++){if (array[i]==value){return true; }}return false; }function addOption(Z,value,text){var I3q= false; value=trim(value); text=trim(text); var options=Z.getElementsByTagName("\117\x50TION"); for (var i=0; i<options.length; i++){if (value.toUpperCase()==options[i].value.toUpperCase()){I3q= true; break; }}if ((!I3q) && (text!="")){var option=document.createElement("\x4fP\x54\x49ON"); option.innerHTML=text; option.value=value; Z.appendChild(option); }}function selectOption(o3r,value){var O3r= false; if ((value!="") && (value!=null)){var options=o3r.getElementsByTagName("\x4fPTI\x4f\x4e"); for (var i=0; i<options.length; i++){if (options[i].value.toString().toUpperCase()==value.toString().toUpperCase()){try {options[i].selected= true; }catch (Ia){}O3r= true; break; }}}else {o3r.selectedIndex=0; }return O3r; }function changeColor(o3r,l3r,number){if (o3r.value==l3r){if (document.all){var i3r=document.getElementById("I3r").ChooseColorDlg(); if (i3r!=0){i3r=i3r.toString(16); if (i3r.length<6){var l3q="000\x3000" .substring(0,(6-i3r.length)); i3r="\x23"+l3q.concat(i3r).toUpperCase(); }else {i3r="\x23"+i3r.toUpperCase(); }}else {i3r=null; }}else {i3r=prompt(localization["PromptColor"],"#"); }var option; var options=o3r.getElementsByTagName("\117\x50TION"); if (i3r!=null){if (options.length==number){option=document.createElement("\x4fPTION"); o3r.insertBefore(option,options[number-1]); }else {option=options[number-1]; }option.style.backgroundColor=i3r; option.innerHTML=localization["\x43\x75stomh"]+i3r; option.value=i3r; }o3r.selectedIndex=options.length-2; }}function trim(o3s){return o3s.replace(/^\s{1,}/ig,"").replace(/\s{1,}$/ig,""); }function GetDialogArguments(){if (window.radWindow){return window.radWindow.Argument; }else {return null; }}function AttachEvent(O3s,I2r,l3s){if (O3s.attachEvent){O3s.attachEvent("\x6fn"+I2r,l3s); }else if (O3s.addEventListener){O3s.addEventListener(I2r,l3s, false); }}var i3s=null; function I3s(){if (!i3s){i3s=new Array("\x62ackg\x72\x6fund-\x61\x74tach\x6dent","backgr\x6f\x75nd-co\x6c\x6fr","\x62\x61ckgro\x75\x6ed-im\x61\x67e","\x62ackground-p\x6f\x73iti\x6f\x6e-x","\x62ackgro\x75\x6ed-pos\x69\x74ion\x2d\x79","\x62ackgrou\x6e\x64-rep\x65\x61t","behavior","border-bot\x74\x6fm-co\x6c\x6fr","border-\x62\x6fttom-\x73\x74yle","\x62order-bo\x74\x74om-w\x69\x64th","border\x2d\x6ceft-co\x6c\x6fr","border\x2d\x6ceft-st\x79\x6ce","\x62order-\x6c\x65ft-wi\x64\x74h","\x62\x6frder-r\x69\x67ht-\x63\x6flor","bo\x72\x64er-rig\x68\x74-sty\x6c\145","\x62order-r\x69\x67ht-wi\x64\x74h","bo\x72\x64er-top-\x63\x6flor","border-top-s\x74\x79le","\x62order-top\x2d\x77idth","border-colo\x72","b\x6f\x72der-sty\x6c\x65","\x62\x6frder-\x77\x69dth","\x63lear","clip","co\x6c\x6fr","curs\x6f\x72","dire\x63\x74ion","\144isp\x6c\x61y","\x66ilter","\x66ont-family","\x66ont-size","\146ont\x2d\x73tyle","fon\x74\x2dvariant","\146ont\x2d\x77eight","layout-fl\x6f\x77","\x6cayout\x2d\x67rid-c\x68\141\x72","layout-gr\x69\x64-lin\x65","layout-gri\x64\x2dmode","\x6c\141you\x74\x2dgrid-\x74\x79pe","letter-spac\x69\x6eg","line-brea\x6b","line-hei\x67\x68t","\x6dargin-bo\x74\x74om","mar\x67\x69n-left","margin-righ\x74","margin\x2d\x74op","min-h\x65\x69ght","padding-b\x6f\x74tom","padding-left","pa\x64\x64ing-rig\x68\x74","\x70\x61dding-t\x6f\x70","page-brea\x6b\x2dbefo\x72\x65","p\x6f\x73ition","te\x78\x74-align","text-aut\x6f\x73pace","\x74ext-decor\x61\x74ion","text\x2d\x69ndent","tex\x74\x2djustif\x79","text\x2d\x74ransfo\x72\x6d","text\x2d\x75nderli\x6e\x65-pos\x69tion","unicod\x65\x2dbidi","\166e\x72\x74ical-al\x69\x67n","visibility","\x77ord-b\x72\x65ak","\x77\x6frd-spa\x63\x69ng","word-wrap","writing-mo\x64\x65","z-\x69\x6edex","zoom"); }return i3s; };function CssClassSelector(id,o3t,O3t,l3t,i3t,i36){ this.IsIE=(null!=document.all); this.ID=id; this.I3t=parseInt(l3t); this.o3u=parseInt(i3t); this.l37=i36; this.O3u=-1; this.l3u=null; this.Document=null; this.i3u=null; this.I3u=[]; this.i2t=document.getElementById("\103ssClassSele\x63tor_Tab\x6c\x65_"+this.ID); this.o3v=document.getElementById("\x43ssClassS\x65\x6cect\x6f\x72_La\x62\x65l_"+this.ID); this.O3v=null; this.l3v=[]; this.Initialize(o3t,O3t); this.SelectCssClassByIndex(-1); }CssClassSelector.prototype.Initialize= function (o3t,O3t){ this.I3u=o3t; if (this.IsIE){ this.l3u=window.createPopup(); if (this.l3u){ this.Document=this.l3u.document; this.Document.body.style.border="0\x70x"; this.Document.body.style.backgroundColor="#FF\x46\x46FF"; }}else { this.l3u=new i3v(); this.Document=document; } this.I3v(); } ; CssClassSelector.prototype.I3v= function (){if (this.IsIE){if (this.Document){ this.o3w(this.Document.body); }}else { this.o3w(this.l3u.O3w); }} ; CssClassSelector.prototype.o3w= function (l3w){if (this.Document && l3w){ this.i3w(); if (this.i3u){while (l3w.childNodes && 0<l3w.childNodes.length){l3w.removeChild(l3w.childNodes[0]); }var div=this.Document.createElement("\x44IV"); div.className="\x52adEDropD\x6f\x77nTa\x62\x6ce"; div.style.overflow="\x61uto"; div.style.height=this.o3u; div.style.width=this.I3t; div.appendChild(this.i3u); l3w.appendChild(div); }l3w.innerHTML+="\x3clink rel=\042styl\x65\x73hee\x74\042 \x74\x79pe=\x22\164e\x78t/c\x73s\042\x20href=\x22"+this.i36+"\x44ialogs\x2e\x63ss\042\x3e"; l3w.innerHTML+="<link r\x65\x6c=\042\x73tylesh\x65et\042\x20type=\042\x74ext/\x63ss\042\x20href=\x22"+this.i36+"\x45ditor.css\x22\x3e"; }} ; CssClassSelector.prototype.i3w= function (){ this.i3u=this.I3w(); try {var o3x=this.i3u; this.O3x(o3x,"",null,localization["\x43learStyle"],-1); for (var index=0; index<this.I3u.length; index++){ this.l3x(o3x,this.I3u[index],index); }}catch (ex){}};CssClassSelector.prototype.l3x= function (table,i3x,I3x){ this.O3x(table,i3x.o3y,i3x.O3y,i3x.l3y,I3x); } ; CssClassSelector.prototype.O3x= function (table,i3y,rule,I3y,I3x){if (i3y){i3y=i3y.toUpperCase(); }var Oo=table.insertRow(table.rows.length); var oo=Oo.insertCell(Oo.cells.length); oo.noWrap= true; oo.setAttribute("onmouseo\x76er","\x74his.classN\x61m\x65\x20= \x27Over\047;"); oo.setAttribute("onmou\x73\x65out","\x74\x68is.cl\x61\x73sNa\x6d\x65 = \x27\x27;"); oo.style.padding="\x34px 2px \x33\x70x 2p\x78"; var span=this.Document.createElement("SPAN"); var title=""; if (rule){title=rule.selectorText; }else {title=I3y; }oo.setAttribute("\x74itle",title); var img=this.Document.createElement("\x49\115G"); img.src=this.o3z(i3y); img.align="\x6diddle";img.style.cssText="margin\x2d\x6ceft:2\x70\x78; m\x61rgin-ri\x67\x68t:4\x70\170"; oo.appendChild(img); switch (i3y){case "\x41":var anchor=this.Document.createElement("\x41"); anchor.href="\x23"; anchor.onmouseover="\x77indow.statu\x73\x20= \047\047\x3b return\x20\x66als\x65"; anchor.innerHTML=I3y; this.O3z(anchor,rule); anchor.style.cursor="de\x66\x61ult"; span.appendChild(anchor); break; default:span.innerHTML=I3y; span.style.font="ic\x6f\x6e"; this.O3z(span,rule); span.style.marginTop="2p\x78"; break; }oo.appendChild(span); var onClick=""; if (this.IsIE){onClick="\x77indo\x77\x2eparen\x74\056"+this.ID+".Selec\x74\x43ssCl\x61\x73sByI\x6edex("+I3x+"\x29\x3b"; }else {onClick=this.ID+"\x2eSelectC\x73\x73Class\x42\x79Ind\x65\x78("+I3x+"\x29;"; }oo.setAttribute("oncl\x69\x63k",onClick); span.style.overflowX="hidd\x65\x6e"; } ; CssClassSelector.prototype.o3z= function (i3y){var l3z=""; switch (i3y){case "ALL":case "\x41":case "IMG":case "T\x41\x42LE":case "P":l3z=i3y; break; default:l3z="\x43\x75stom"; break; }return this.l37+"\x49mg/clas\x73"+l3z+"\056\x67\x69f"; } ; CssClassSelector.prototype.O3z= function (l6,rule){if (!l6){return; }if (!rule){return; }l6.style.cssText=rule.style.cssText; var bgColor=l6.style.backgroundColor.toLowerCase(); var color=l6.style.color.toLowerCase(); if ((""==bgColor || "#ffffff"==bgColor || "w\x68\x69te"==bgColor) && ("\x23ffffff"==color || "white"==color)){l6.style.backgroundColor="\x23\x61aaaaa"; }l6.style.width=""; l6.style.height=""; } ; CssClassSelector.prototype.I3w= function (){var table=this.Document.createElement("TABLE"); table.setAttribute("cellSpac\x69\x6eg",3); table.setAttribute("cellP\x61\x64ding",3); table.style.width="100\x25"; table.style.cursor="default"; table.setAttribute("onselectst\x61\x72t","\x72eturn fals\x65"); table.setAttribute("\x6fndrags\x74\x61rt","return fa\x6c\x73e"); return table; } ; CssClassSelector.prototype.SelectCssClassByIndex= function (I3x){ this.O3u=I3x; var i3x=this.i3z(this.O3u); if (this.o3v){ this.o3v.innerHTML=i3x?i3x.l3y:localization["\x43learStyle"]; }if (this.l3u){ this.l3u.hide(); }} ; CssClassSelector.prototype.I3z= function (cssText){if (!cssText)cssText=""; for (var i=0; this.I3u && i<this.I3u.length; i++){var i3x=this.I3u[i]; if (i3x && i3x.O3y && i3x.O3y.selectorText.toLowerCase()==cssText.toLowerCase()){break; }} this.SelectCssClassByIndex(i); } ; CssClassSelector.prototype.I3h= function (o40){if (!o40)o40=""; for (var i=0; this.I3u && i<this.I3u.length; i++){var i3x=this.I3u[i]; if (i3x && i3x.ClassName.toLowerCase()==o40.toLowerCase()){break; }}if (""!=o40 && this.I3u.length==i){var index=this.I3u.length; var i3x= {o3y: "\x41\x4c\x4c",O3y:null,l3y:o40,ClassName:o40 } ; this.I3u[index]=i3x; this.I3v(); i=index; }else if (""==o40){i=-1; } this.SelectCssClassByIndex(i); } ; CssClassSelector.prototype.i3z= function (index){var O40=null; if (this.I3u && 0<=index && index<this.I3u.length){O40=this.I3u[index]; }return O40; } ; CssClassSelector.prototype.GetSelectedClassName= function (){var i3x=this.i3z(this.O3u); return (i3x?i3x.ClassName: ""); } ; CssClassSelector.prototype.l40= function (i40){if (null==i40)i40= true; if (this.IsIE){if (i40){if (this.l3u){ this.l3u.show(0,this.i2t.offsetHeight,this.I3t,this.o3u,this.i2t); }}else {if (this.l3u){ this.l3u.hide(); }}}else {if (i40){if (this.l3u){ this.l3u.show(0,this.i2t.offsetHeight,this.I3t,this.o3u,this.i2t); }}else {if (this.l3u){ this.l3u.hide(); }}}} ; CssClassSelector.prototype.TogglePopup= function (){if (this.l3u){ this.l40(!this.l3u.I40); }} ; function i3v(){ this.O3w=document.createElement("\x53PAN"); this.I40= false; if (this.O3w){ this.O3w.className="\x52adEDropDo\x77nTable"; this.O3w.style.backgroundColor="\x23\x46FFFFF"; this.O3w.style.position="\x61bsolute"; this.O3w.style.zIndex=51200; this.O3w.style.overflow="\x68idden"; this.O3w.style.display="none"; document.body.appendChild(this.O3w); }}i3v.prototype.show= function (x,y,width,height,o41){ this.I40= true; if (this.O3w){var left=0; var top=0; var O41=this.l41(o41); left+=O41[0]+x; top+=O41[1]+y; this.O3w.style.position="\x61bsolute"; this.O3w.style.left=left; this.O3w.style.top=top; this.O3w.style.width=parseInt(width)+"\160\x78"; this.O3w.style.height=parseInt(height)+"\x70x"; this.O3w.style.display="\x62lock";document.body.addEventListener("\x63lick",i41, true); window.I41=this ; }} ; i3v.prototype.hide= function (){ this.I40= false; if (this.O3w){document.body.removeEventListener("c\x6cick",i41, true); this.O3w.style.display="none";}window.I41=null; } ; i3v.prototype.l41= function (l6){var coords=new Array(0,0); if (l6 && l6.offsetParent){while (l6.offsetParent){coords[0]+=l6.offsetLeft; coords[1]+=l6.offsetTop; l6=l6.offsetParent; if (l6==document.body){coords[0]-=l6.offsetLeft; coords[1]-=l6.offsetTop; }}}return coords; } ; function i41(e){var o42= false; var el=e.target; while (!o42 && el && el!=el.parentNode){o42=(el==window.I41.O3w); el=el.parentNode; }if (window.I41 && !o42){window.I41.hide(); }}function CssClassSelectorNS(id,o3t,O3t,l3t,i3t,i36){ this.ID=id; this.O42=document.getElementById("CssCl\x61ssSelect\x6f\x72_"+id); this.O3u=-1; this.l37=i36; this.Document=null; this.Initialize(o3t,O3t); }CssClassSelectorNS.prototype.Initialize= function (o3t,O3t){ this.I3u=o3t; this.Document=window.document; this.l42(); } ; CssClassSelectorNS.prototype.l42= function (){while (this.O42.options.length>0){ this.O42.options[0]=null; }try { this.O3x("",null,localization["\x43l\x65\x61rStyl\x65"],-1); for (var i=0; this.I3u && i<this.I3u.length; i++){ this.l3x(this.I3u[i],i); }}catch (ex){}} ; CssClassSelectorNS.prototype.l3x= function (i3x,I3x){ this.O3x(i3x.o3y,i3x.O3y,i3x.l3y,I3x); } ; CssClassSelectorNS.prototype.O3x= function (i3y,rule,I3y,I3x){var i42=this.Document.createElement("OPTIO\x4e"); i42.text=I3y; i42.value=I3x; if (null!=rule){ this.O3z(i42,rule); if (""==i42.style.backgroundImage){i42.style.backgroundImage="u\x72\x6c("+this.o3z(i3y)+")"; i42.style.backgroundRepeat="\x6eo-repea\x74"; }var title=""; if (rule){title=rule.selectorText; }else {title=I3y; }i42.setAttribute("\x74itle",title); } this.O42.options.add(i42); } ; CssClassSelectorNS.prototype.O3z= function (l6,rule){if (!l6 || !rule){return; }l6.style.cssText=rule.style.cssText; var bgColor=l6.style.backgroundColor.toLowerCase(); var color=l6.style.color.toLowerCase(); if ((""==bgColor || "#ffffff"==bgColor || "\167\x68\151te"==bgColor) && ("#f\x66\x66fff"==color || "\x77\x68ite"==color)){l6.style.backgroundColor="#aaaaaa"; }l6.style.width=""; l6.style.height=""; } ; CssClassSelectorNS.prototype.o3z= function (i3y){var l3z=""; if (i3y){i3y=i3y.toUpperCase(); }switch (i3y){case "ALL":case "A":case "\x49\x4dG":case "\x54ABLE":case "\x50":l3z=i3y; break; default:l3z="Custom"; break; }return this.l37+"Img/cl\x61\x73s"+l3z+"\x2e\x67if"; } ; CssClassSelectorNS.prototype.I3h= function (o40){var I42=null; var i42=null; var className=null; var index=-1; for (var i=0; i<this.O42.options.length; i++){i42=this.O42.options[i]; index=parseInt(i42.value); if (0<=index && this.I3u && index<this.I3u.length){className=this.I3u[i42.value].ClassName; if (className.toLowerCase()==o40.toLowerCase()){I42=i42; break; }}}if (null==I42 && ""!=o40 && this.I3u){var index=this.I3u.length; var i3x= {o3y: "\101\x4cL",O3y:null,l3y:o40,ClassName:o40 } ; this.I3u[index]=i3x; this.l3x(this.I3u[index],index); I42=this.O42.options[this.O42.options.length-1]; }else if (""==o40){I42=this.O42.options[0]; }if (null!=I42){I42.selected= true; }} ; CssClassSelectorNS.prototype.GetSelectedClassName= function (){var I42=null; if (this.O42.selectedIndex>-1){I42=this.O42.options[this.O42.selectedIndex]; }var className=""; if (I42){var index=parseInt(I42.value); if (-1<index && this.I3u && index<this.I3u.length){className=this.I3u[I42.value].ClassName; }}return className; } ;;;var o43,O43; var l43= false; var i43= false; var selection= false; var submitForUpload; function submitDocumentsFile(fileBrowser){submitForUpload= true; var I43=document.getElementById(FileUploadID); if (trim(I43.value)==""){alert(localization["Alertfil\x65"]); I43.focus(); submitForUpload= false; }else {var o44= false; o43=I43.value; if (o43.lastIndexOf("/")>=0){o43=o43.substr(o43.lastIndexOf("/")+1); }if (o43.lastIndexOf("\x5c")>=0){o43=o43.substr(o43.lastIndexOf("\x5c")+1); }for (var i=0; i<documentFilters.length; i++){if (o43.match(new RegExp(documentFilters[i].replace(/\x2e/ig,"\x5c.").replace(/\x2a/ig,".+").replace(/\x3f/ig,".")+"$","\x69"))){o44= true; break; }}if (!o44){alert(localization["\x41\x6certva\x6c\151\x64"]); submitForUpload= false; }else {document.getElementById(fileDirID).value=fileBrowser.CurrentItem.GetPath(); document.getElementById("loader").innerHTML=localization["Uploading"]; showObject("loader"); }}}function changeTarget(o3r){document.getElementById("linkTarge\x74").value=o3r.value; o3r.selectedIndex=0; }function DocumentPreviewer(){ this.DocumentPath=""; this.O44=document.getElementById("\x74ooltip"); }DocumentPreviewer.prototype.Clear= function (){};DocumentPreviewer.prototype.GetHtml= function (){if (this.DocumentPath){return "\x3cimg src=\042"+this.DocumentPath+"\042 \x62\x6frder\x3d\x220\042\x3e"; }else {return ""; }};DocumentPreviewer.prototype.LoadObjectFromPath= function (I3d){if (I3d){ this.DocumentPath=I3d; }} ; DocumentPreviewer.prototype.GetAltText= function (){return this.O44.value; } ; DocumentPreviewer.prototype.SetAltText= function (l44){ this.O44.value=l44; } ;;if (!i44)var i44=null; if (!I44)var I44= false; function DropDownMenu(o45,O45){ this.l45=o45; this.i45=O45; this.l38=null; var I45=this ; if (!I44){if (document.all){document.attachEvent("\x6f\x6eclick",I45.o46); }else {document.addEventListener("\x63lick",I45.o46, true); }}}DropDownMenu.prototype.o46= function (e){if (!e){var e=window.event; }if (null!=i44){i44.SetVisible( false); }};DropDownMenu.prototype.i3b= function (i1a){if (this.IsValid()){ this.l45.disabled=i1a? false : true; }};DropDownMenu.prototype.IsValid= function (){return (null!=this.l45) && (null!=this.i45); };DropDownMenu.prototype.IsVisible= function (){return this.IsValid() && "visible"==this.i45.style.visibility; };DropDownMenu.prototype.Toggle= function (){ this.SetVisible(!this.IsVisible()); };DropDownMenu.prototype.O46= function (node){var coords=new Array(0,0); if (node.offsetParent){while (node.offsetParent){coords[0]+=node.offsetLeft; coords[1]+=node.offsetTop; node=node.offsetParent; if (node==document.body){coords[0]-=node.offsetLeft; coords[1]-=node.offsetTop; }}}return coords; };DropDownMenu.prototype.SetVisible= function (visible){if (this.IsValid()){if (visible){if (i44){i44.SetVisible( false); }var coords=this.O46(this.l45); this.i45.style.left=coords[0]+"px"; this.i45.style.top=(coords[1]+this.l45.offsetHeight)+"px"; this.i45.style.zIndex=51200; this.i45.style.overflow="\150idden"; this.i45.style.position="absolute"; this.i45.style.visibility="\x76isi\x62\x6ce"; }else { this.i45.style.visibility="\x68idden"; }i44=visible?this :null; if (null!=this.l38 && null!=this.l38.o39){ this.l38.o39(visible); }}};DropDownMenu.prototype.I3m= function (l46){ this.i45.innerHTML=l46; };;if (typeof(RadEditorNamespace)=="undefi\x6e\x65\144"){var RadEditorNamespace=new Object(); }RadEditorNamespace.i46=["\x61if","\x61ifc","\x61iff","a\x73\x66","asx","\x61u","\x61\x76i","\x62\x6dp","doc","file","\x66la","folde\x72","\x67if","\x6a\x70g","m\x31\x76","m\x33\x75","mid","\x6d\151di","mp2","mp2v","m\x70\x33","m\x70a","\x6dpe","\x6d\x70eg","\x6dpg","mpv2","pdf","png","\x72mi","snd","\x73wf","tif","tiff","vm","\x77av","\x77ax","wma","\167mp","\x77mv","wmx","\x77\x76x"]; RadEditorNamespace.FileBrowser= function (id,I46,i36,o47,O47,l47,i47,I47,o48,O48,l48,i48,I48,o49,uniqueID,form){i2p.Initialize(this ); this.O49=o47; this.l49=O47; this.i49=l47; this.I49=I46; this.o4a=I46.tBodies[0]; this.l37=i36; this.O4a=null; this.CurrentItem=null; this.SelectedItem=null; this.l4a=[]; this.i4a=[]; this.I4a="Name"; this.o4b="ASC"; this.O4b=null; this.l4b(); this.OnClientClick=null; this.OnFolderChange=null; this.i4b=null; this.I4b= false; this.o4c=i47; this.O4c=I47; this.l4c=o48; this.i4c=O48; this.I4c=o49; this.o4d=[]; this.o4d["E\x78ten\x73\x69on"]=l48; this.o4d["\116\x61\x6de"]=i48; this.o4d["\x53\x69ze"]=I48; this.O4d=form; this.l4d=uniqueID; this.ReadPermission=1; this.UploadPermission=2; this.DeletePermission=4; this.i2q("Di\x73\x70ose"); };RadEditorNamespace.FileBrowser.prototype= {Dispose:function (){ this.i4d(this.o4d); this.i4d(this ); this.l37=null; this.O4a=null; this.CurrentItem=null; this.SelectedItem=null; this.l4a=null; this.i4a=null; this.I4a=null; this.o4b=null; this.O4b=null; this.OnClientClick=null; this.OnFolderChange=null; this.i4b=null; this.I4b=null; this.o4d=null; this.l4d=null; this.ReadPermission=null; this.UploadPermission=null; this.DeletePermission=null; } ,i4d:function (container){for (var I4d in container){if (container[I4d] && container[I4d].tagName){container[I4d]=null; }}} ,InitializeFileList:function (o4e){ this.O4a=new RadEditorNamespace.O4e(o4e); this.CurrentItem=this.l4e(this.O4a.i4e,this.O49.value); if (this.CurrentItem==null){if (this.O4a.i4e.length==1){ this.CurrentItem=this.O4a.i4e[0]; }else { this.CurrentItem=this.O4a; }} this.I4e(); this.o4f(); this.O4f( false); if (this.SelectedItem){ this.l4f(this.SelectedItem); }} ,l4e:function (children,I3d){var i4f=this.O4a; for (var i=0; i<children.length; i++){var I1z=children[i]; var I4f=I1z.GetPath(); if (I3d.indexOf(I4f)==0){if (I3d==I4f){return I1z; }else {return this.l4e(I1z.i4e,I3d); }}}return null; } ,o4g:function (){ this.Clear(); if (this.CurrentItem.Parent!=null){ this.O4g("","\x2e\x2e",this.i4a["F\x6flderUp"].cloneNode( true),"\x26nbsp;","G\x6f\x55p",null); } this.l4g(); this.i4g(); for (var i=0; i<this.CurrentItem.i4e.length; i++){ this.I4g(this.CurrentItem.i4e[i]); }} ,GoUp:function (e){ this.CurrentItem=this.CurrentItem.Parent; this.o4f(); this.O4f( true); } ,ChangeDirectory:function (e){var o4h=this.O4h(e,"\x74r"); this.l4h(o4h.cells[1]); this.CurrentItem=o4h.O3d; var I2s=this ; var i4h= function (){I2s.o4f(); if (I2s.CurrentItem.i4e.length==0){I2s.I4h(); }else {I2s.O4f( true); }} ; window.setTimeout(i4h,1); } ,OnSelectItem:function (e){var o4h=this.O4h(e,"tr"); this.o4i(o4h); var O3d=o4h.O3d; this.O4i(O3d); if (this.OnClientClick){ this.OnClientClick(O3d); }} ,l4f:function (O3d){var l4i=this.i4i(O3d); if (l4i){ this.o4i(l4i); }} ,i4i:function (O3d){for (var i=0; i<this.o4a.rows.length; i++){var I4i=this.o4a.rows[i]; if (I4i.O3d==O3d){return I4i; }}return null; } ,o4i:function (Oo){if (this.O4b){ this.O4b.className="TreeN\x6fdeDefau\x6c\x74"; }Oo.className="TreeNodeSel\x65\x63ted"; this.O4b=Oo; } ,I4e:function (){if (this.SelectedItem==null && this.i49.value!=""){ this.SelectedItem=this.o4j(this.i49.value); }return this.SelectedItem; } ,o4j:function (name){for (var i=0; i<this.CurrentItem.i4e.length; i++){var I1z=this.CurrentItem.i4e[i]; if (I1z.Name==name){return I1z; }}return null; } ,i4g:function (){ this.O4j(this.o4d["E\x78tension"],this.l37+"Dial\x6f\x67s/empt\x79\x2egif"); this.O4j(this.o4d["\x4eame"],this.l37+"\x44ialogs/em\x70\x74y.gi\x66"); this.O4j(this.o4d["\x53ize"],this.l37+"\x44\151\x61\x6cogs/e\x6d\x70ty.\x67if"); this.O4j(this.o4d[this.I4a],this.l37+"D\x69\x61logs/"+this.o4b+"\x2egif"); } ,O4j:function (l6,l4j){l6.style.backgroundImage="\x75rl("+l4j+"\x29"; } ,O4i:function (O3d){ this.SelectedItem=O3d; this.l49.value=O3d.Type; this.i49.value=O3d.Name; } ,o4f:function (){ this.O49.value=this.CurrentItem.GetPath(); this.SelectedItem=this.CurrentItem; this.l49.value=""; this.i49.value=""; } ,O4h:function (e,i4j){var I4j=e.srcElement?e.srcElement:e.target; while (I4j && I4j.tagName && I4j.tagName.toLowerCase()!=i4j.toLowerCase()){I4j=I4j.parentNode; }return I4j; } ,I4g:function (O3d){if (O3d.Type=="D"){ this.o4k(O3d,"OnSelec\x74\111\x74\x65m","ChangeD\x69\x72ector\x79"); }else { this.o4k(O3d,"OnSelec\x74\x49tem",null); }} ,CreateNewFolder:function (){if (this.CurrentItem.Permissions&this.UploadPermission){if (this.o4c.style.display!="none"){ this.CancelNewFolderCreation(); }else { this.o4c.style.position="re\x6cative"; if (!this.o4c.style.top)this.o4c.style.top-=26; this.I49.style.position="rela\x74\x69ve"; this.I49.style.top-=26; if (this.o4c.style.filter!=null && this.o4c.filters){ this.o4c.style.filter="pr\x6f\x67id:DXI\x6d\x61geT\x72\141\x6esform.\x4d\x69cro\x73\157\x66t.\x53\164r\x65\164c\x68(stre\x74\143h\x73tyle=\x50USH)"; if (this.o4c.filters[0]){ this.o4c.filters[0].duration=.2; this.o4c.filters[0].apply(); this.o4c.style.display="\x62lock"; this.o4c.filters[0].play(); }} this.o4c.style.display="\x62lock"; this.O4c.focus(); }}else {alert(localization["\x43REATE_N\x4f\x54_ALL\x4f\x57ED\x5f\101\x4c\x45RT"]); }return false; } ,CancelNewFolderCreation:function (){ this.O4c.value=""; if (this.o4c.style.display!="\x6e\x6fne"){ this.o4c.style.display="\156o\x6e\x65"; this.I49.style.top=""; }return false; } ,l4h:function (O4k){O4k.innerHTML+="&nbsp;&nbsp\x3b\x26nbs\x70\x3b&nb\x73p;&nbsp\x3b\x3csp\x61\x6e s\x74yle=\x27\142o\x72der:d\x61\163h\x65d 1px\x20red;\x27\076\x6coa\x64ing\x2e..</\x73pan>"; } ,l4k:function (button,i4k){if (this.CurrentItem.Permissions&i4k){button.disabled= false; button.parentNode.className=""; }else {button.disabled= true; button.parentNode.className="Disab\x6c\x65d"; }} ,ConfirmDeletion:function (){if (this.SelectedItem){if (!(this.CurrentItem.Permissions && this.DeletePermission)){alert(localization["\x44ELET\x45\x5fNOT\x5f\101\x4c\x4cOW\x45\104_\x41\x4cERT"]); return false; }if (this.I4k!=null && !this.I4k(this.SelectedItem)){return false; }return confirm(localization[(this.SelectedItem.Type=="\106")?"DEL\x45\x54E_FIL\x45\x5fALE\x52\x54": "\x44ELETE\x5f\x46OLDER\x5f\x41LER\x54"]); }else {alert(localization["DELETE_N\x4f\x4eE_A\x4c\x45RT"]); return false; }} ,O4f:function (o4l){ this.o4g(); this.l4k(this.i4c,this.DeletePermission); this.l4k(this.l4c,this.UploadPermission); if (o4l && this.OnFolderChange){ this.OnFolderChange(this.CurrentItem); }} ,O4l:function (O3d){var l4l=null; if (O3d.Type=="D"){l4l=this.i4a["folder"]; }else {var i4l=O3d.Extension; i4l=i4l.substring(i4l.lastIndexOf(".")+1).toLowerCase(); if (this.i4a[i4l]){l4l=this.i4a[i4l]; }else {l4l=this.i4a["file"]; }}return l4l.cloneNode( true); } ,o4k:function (O3d,click,I4l){var o4m=this.O4g(O3d.GetPath(),O3d.Name,this.O4l(O3d),O3d.O4m,click,I4l); o4m.O3d=O3d; } ,O4g:function (title,name,l4m,size,i4m,I4m){var Oo=this.o4a.insertRow(this.o4a.rows.length); Oo.className="Tree\x4eodeDefaul\x74"; Oo.title=title; if (i4m)this.I2p(Oo,"cli\x63\x6b",i4m); if (I4m)this.I2p(Oo,"\x64blclic\x6b",I4m); var o4n=Oo.insertCell(Oo.cells.length); o4n.align="\x6diddle"; o4n.appendChild(l4m); var O4n=Oo.insertCell(Oo.cells.length); O4n.innerHTML=name; O4n.l4n="o\x6e"; var i4n=Oo.insertCell(Oo.cells.length); i4n.noWrap= true; i4n.innerHTML=size; return Oo; } ,Clear:function (){ this.O2q(); var O1x=this.o4a.rows.length; for (var i=0; i<O1x; i++){var Oo=this.o4a.rows[0]; Oo.parentNode.removeChild(Oo); }} ,l4b:function (){var I4n=document.createElement("i\x6d\147"); var o4o=RadEditorNamespace.i46; for (var i=0; i<o4o.length; i++){ this.i4a[o4o[i]]=this.O4o(I4n.cloneNode( true),16,16,"\x44ialogs\x2f\x49mgEx\x74\x2f"+o4o[i]+".gi\x66"); } this.i4a["\x46\x6flderU\x70"]=this.O4o(I4n.cloneNode( true),16,9,"Dial\x6f\x67s/Fol\x64\x65rUp.\x67if"); } ,O4o:function (l4m,width,height,l4o){l4m.width=width; l4m.height=height; l4m.src=this.l37+l4o; return l4m; } ,Sort:function (i4o){if (i4o==this.I4a){ this.o4b=(this.o4b=="DESC")?"\x41SC": "\x44ESC"; }else { this.o4b="\x41SC"; this.I4a=i4o; } this.o4g(); } ,l4g:function (){var I2s=this ; var I4o= function (o4p,O4p){return I2s.l4p(o4p,O4p,I2s.o4b,I2s.I4a); };this.CurrentItem.i4e.sort(I4o); } ,l4p:function (o4p,O4p,i4p,I4p){var o4q=o4p.Type=="\x44"?1: 0; var O4q=O4p.Type=="\x44"?1: 0; var l1d=O4q-o4q; if (l1d==0){var l4q=(o4q==1 && O4q==1)?"Name":I4p; var i4q=(typeof(o4p[l4q])=="\x73tring")?o4p[l4q].toLowerCase():o4p[l4q]; var I4q=(typeof(O4p[l4q])=="string")?O4p[l4q].toLowerCase():O4p[l4q]; if (i4q>I4q)l1d=1; else if (i4q<I4q)l1d=-1; else l1d=0; }return i4p=="\x41SC"?l1d: -l1d; } ,I4h:function (){if (!this.I4b){ this.I4b= true; var o4r=this.O4r(); if (o4r){var url=document.location.href; o4r.open("POS\x54",url, true); o4r.setRequestHeader("Con\x74\x65nt-Ty\x70\145","a\x70\x70licatio\x6e\x2fx-ww\x77-form-u\x72lencode\x64"); var I2s=this ; o4r.onreadystatechange= function (){if (o4r.readyState!=4)return; var html=o4r.responseText; if (html){var l4r="MESSAGE\x54\117K\x45\x4e="; var i4r=html.indexOf(l4r); if (i4r>-1){var I4r=html.substring(i4r+l4r.length); alert(localization[I4r]); I2s.I4c.click(); }else {I2s.o4s(eval(html)); I2s.I4b= false; I2s.O4f( true); }}} ; o4r.send(this.O4s()); }}} ,O4r:function (){if (this.i4b){}else {if (typeof(XMLHttpRequest)!="unde\x66\x69ned"){ this.i4b=new XMLHttpRequest(); }if (typeof(ActiveXObject)!="undefined"){ this.i4b=new ActiveXObject("M\x69\x63rosoft.\x58\x4dLHT\x54\x50"); }}return this.i4b; } ,O4s:function (){var l4s=new RadEditorNamespace.i4s(this.O4d); return l4s.I4s()+"&fileBr\x6f\x77serA\x6a\x61xLo\x61\144\x3d\x74rue"; } ,o4s:function (o4t){for (var i=0; i<o4t.length; i++){ this.CurrentItem.i4e[this.CurrentItem.i4e.length]=new RadEditorNamespace.O4e(o4t[i],this.CurrentItem); }}};RadEditorNamespace.i4s= function (form){ this.O4d=form; this.i4s=""; };RadEditorNamespace.i4s.prototype= {I4s:function (){if (this.i4s==""){ this.O4t(); }return this.i4s; } ,l4t:function (i4t,I4t){if (this.i4s!=""){ this.i4s+="\x26";} this.i4s+=i4t+"="+this.o4u(I4t); } ,O4t:function (){try {for (var i=0; i<this.O4d.elements.length; i++){var O4u=this.O4d.elements[i]; var tagName=O4u.tagName.toLowerCase(); switch (tagName){case "inpu\x74":var type=O4u.type; if ((type=="\164\x65\x78t" || type=="hi\x64\x64en" || type=="\x70asswo\x72\x64" || ((type=="\x63he\x63\x6bbox" || type=="\x72\x61dio") && O4u.checked))){ this.l4t(O4u.name,O4u.value); }break; case "selec\x74":for (var j=0; j<O4u.childNodes.length; j++){var I1z=O4u.childNodes[j]; if (!I1z.tagName)continue; if ((I1z.tagName.toLowerCase()=="\x6fption") && (I1z.selected== true)){ this.l4t(O4u.name,I1z.value); }}break; case "\x74\x65xtare\x61": this.l4t(O4u.name,I1z.value); break; }}}catch (e){}} ,o4u:function (value){return (encodeURIComponent)?encodeURIComponent(value):escape(value); }};;if (typeof(RadEditorNamespace)=="undefine\x64"){var RadEditorNamespace=new Object(); }RadEditorNamespace.O4e= function (l4u,parent){ this.Parent=parent; this.Type=l4u[0]; this.Permissions=l4u[1]; this.Name=l4u[2]; this.i4u=l4u[3]; this.Extension=l4u[4]; this.Size=l4u[5]; this.O4m=(this.Type=="\x44")?"\x26nbsp\x3b": this.I4u(this.Size); this.i4e=[]; var children=l4u[6]; for (var i=0; i<children.length; i++){ this.i4e[this.i4e.length]=new RadEditorNamespace.O4e(children[i],this ); } this.o4v=null; if (l4u[7]){ this.o4v=l4u[7]; }};RadEditorNamespace.O4e.prototype= {GetPath:function (){if (this.o4v==null){var O4v=this.i4u+this.Name+((this.Type=="\x44")?"\x2f": ""); var l4v=this.Parent; while (l4v && l4v.Parent!=null){O4v=l4v.i4u+l4v.Name+"/"+O4v; l4v=l4v.Parent; } this.o4v=O4v; }return this.o4v; } ,IsThumbnail:function (i4v){if (this.Parent){for (var i=0; i<this.Parent.i4e.length; i++){var I4v=this.Parent.i4e[i]; if (this.Name.toLowerCase()==I4v.o4w(i4v).toLowerCase()){return true; }}}return false; } ,o4w:function (i4v){return this.Name.substring(0,this.Name.lastIndexOf(this.Extension))+i4v+this.Extension; } ,I4u:function (O4w){var l4w=O4w/1024; var i4w=l4w/1024; if (i4w>.8){return ""+Math.round(i4w*100)/100+"\x20"+localization["Mega\x62\x79tes"]; }else if (l4w>.8){return ""+Math.round(l4w*100)/100+" "+localization["\x4bilobytes"]; }else {return ""+O4w+"\x20"+localization["byt\x65\x73"]; }}} ;;function FindAndReplaceControl(id,I4w){ this.Id=id; this.o4x=I4w; this.O4x="\x46\x69\x6ed"; this.l4x="\x44\157\x77\x6e"; this.i4x="Wh\x6f\x6ce"; this.I4x= false; this.o4y= false; this.O4y=0; this.l4y= false; this.i4y=""; this.I4y=null; this.o4z=null; this.O4z=null; this.l4z=null; this.i4z=null; this.I4z=document.getElementById(this.Id+"\x5f\163ear\x63\x68Type\x52\x61di\x6f\123e\x6c\x65cti\x6f\156O\x6ely"); this.o50=document.getElementById(this.Id+"_repla\x63\x65ment\x54\x65xt");this.O50=document.getElementById(this.Id+"_search\x54\x65xt"); this.l50=document.getElementById(this.Id+"\x5freplac\x65\x44ialog\x52\x6fw"); this.i50=document.getElementById(this.Id+"\x5frepla\x63\x65AllDi\x61\x6cogR\x6f\167"); this.I50= false; this.o51=null; this.O51= false; this.l51= true; this.OnCloseWindow=null; this.OnCancelChanges=null; this.Initialize(); }FindAndReplaceControl.prototype.Initialize= function (){ this.o4x.setActive(); this.l4y=this.o4x.document.selection.type=="Control"; if (this.o4x.tagName.toLowerCase()=="textarea"){ this.i4y=this.o4x.value; }else { this.i4y=this.o4x.innerHTML; } this.i51(); } ; FindAndReplaceControl.prototype.i51= function (){if (this.l4y){var I51=this.o4x.document.selection.createRange(); if (I51(0).tagName=="TABLE"){ this.I4z.checked= true; this.SetSearchType("\x53\x65\x6cection"); this.I4y=this.o4x.document.body.createTextRange(); this.I4y.moveToElementText(I51(0)); }else { this.I4z.disabled= true; this.I4y=this.o4x.document.body.createTextRange(); this.I4y.collapse(); }}else { this.I4y=this.o4x.document.selection.createRange(); if (this.I4y.text!=""){ this.I4z.checked= true; this.SetSearchType("Selection"); }} this.o4z=this.o4x.document.body.createTextRange(); this.o4z.moveToElementText(this.o4x); this.l4z=this.o4z.duplicate(); this.l4z.setEndPoint("En\x64\x54oStart",this.I4y); this.i4z=this.o4z.duplicate(); this.i4z.setEndPoint("\x53tartToSta\x72\x74",this.I4y); } ; FindAndReplaceControl.prototype.SetSearchType= function (o52){ this.i4x=o52; } ; FindAndReplaceControl.prototype.SetSearchDirection= function (O52){ this.l4x=O52; this.l52(); } ; FindAndReplaceControl.prototype.SetCaseMatch= function (i52){ this.I4x=i52; this.l52(); } ; FindAndReplaceControl.prototype.SetWholeWordMatch= function (I52){ this.o4y=I52; this.l52(); } ; FindAndReplaceControl.prototype.l52= function (){ this.O4y=0; if (this.l4x=="\x55p"){ this.O4y+=1; }if (this.o4y){ this.O4y+=2; }if (this.I4x){ this.O4y+=4; }} ; FindAndReplaceControl.prototype.o53= function (O53){if (this.l4x=="\x55p"){ this.o51.moveEnd("\x63haracter",-1); this.o51.setEndPoint("Sta\x72\x74ToStar\x74",O53); }else { this.o51.moveStart("\x63haracte\x72",1); this.o51.setEndPoint("EndToEnd",O53); }} ; FindAndReplaceControl.prototype.l53= function (i53,O53){if (this.l4x=="U\x70"){return i53.compareEndPoints("\x53tartT\x6f\x53tart",O53); }else {return i53.compareEndPoints("En\x64\x54oEnd",O53); }} ; FindAndReplaceControl.prototype.I53= function (i53,O53,O52){o54=this.l53(i53,O53); return ((O52=="\x55\160" && (o54>=0)) || (!(O52=="\x55p") && (o54<=0))); } ; FindAndReplaceControl.prototype.O54= function (){return this.o50.value; } ; FindAndReplaceControl.prototype.l54= function (){return this.O50.value; } ; FindAndReplaceControl.prototype.FindNext= function (){i54=this.l54(); if ((i54!=null) && (i54!="")){var I54; var o55; if (this.i4x=="Selection"){I54=this.I4y.duplicate(); I54.setEndPoint("\x53t\x61\x72tToEnd",this.I4y); o55=this.I4y; }else {I54=this.l4z; o55=this.i4z; }if (I54.htmlText+o55.htmlText!=""){if (this.o51==null){if (this.l4x=="\x55\x70"){ this.o51=I54.duplicate(); this.O51= true; }else { this.o51=o55.duplicate(); this.O51= false; } this.l51= false; }else {if (!this.l51){if (this.O51){ this.o53(I54); }else { this.o53(o55); }}else { this.l51= false; }}O55=this.o51.findText(i54,10000000,this.O4y); if (O55){var l55=(this.O51)?I54:o55; i55=this.I53(this.o51,l55,this.l4x); if (i55){ this.o51.select(); this.O4z=this.o51.getBookmark(); return this.o51; }if ((!(this.l4x=="\x55p") && this.O51) || (this.l4x=="U\x70" && !this.O51)){if (this.O4z!=null){ this.o51.moveToBookmark(this.O4z); this.O4z=null; }alert(localization["\x46inished\x53\x65arc\x68\x69ng"]); this.o51=null; }else {if (this.O51){ this.O51= false; this.o51=o55.duplicate(); }else { this.O51= true; this.o51=I54.duplicate(); } this.l51= true; return this.FindNext(); }}else {if ((!(this.l4x=="U\x70") && !this.O51) || (this.l4x=="Up" && this.O51)){if (this.O51){ this.O51= false; this.o51=o55.duplicate(); }else { this.O51= true; this.o51=I54.duplicate(); } this.l51= true; return this.FindNext(); }else {alert(localization["Fini\x73\x68edSea\x72\143\x68\x69n\x67"]); this.o51=null; }}}else {alert(localization["\x4e\x6fSearc\x68\x54arg\x65\x74"]); }}else {alert(localization["\x53earch\x43\x72iter\x69\x61Not\x53\x70eci\x66\151e\x64"]); }} ; FindAndReplaceControl.prototype.RunReplace= function (){if (this.o51!=null){ this.I50= true; I55=this.O54(); this.o51.text=I55; } this.FindNext(); } ; FindAndReplaceControl.prototype.ReplaceAll= function (){var o56; o56=this.l54(); if ((o56!=null) && (o56!="")){var O56; var l56; var I55; if (this.i4x=="Selection"){O56=this.I4y.duplicate(); }else {O56=this.o4z.duplicate(); }l56=O56.duplicate(); i56=this.O4y; i56=Math.floor(i56/2)*2; I55=this.O54(); I56= false; o57=0; while (!I56){O55=O56.findText(o56,10000000,i56); if (O55 && this.I53(O56,l56,"\x44ow\x6e")){ this.I50= true; O56.text=I55; O56.setEndPoint("\x45ndToEn\x64",l56); o57+=1; }else {I56= true; }}alert(localization["\x46inishedSe\x61\x72chi\x6e\x67"]+" "+localization["\x41ndHasMad\x65"]+"\x20"+o57+"\x20"+localization["\x52eplace\x6d\x65nts"]); this.o4z.moveToElementText(this.o4x); }else {alert(localization["S\x65\x61rchCrit\x65\x72iaN\x6f\x74Sp\x65\143\x69fied"]); }} ; FindAndReplaceControl.prototype.RestoreOriginalText= function (){if (this.I50){if (this.o4x.tagName.toLowerCase()=="\x74extare\x61"){ this.o4x.value=this.i4y; }else { this.o4x.innerHTML=this.i4y; }} this.o4x.setActive(); } ; FindAndReplaceControl.prototype.SelectOriginalSelection= function (){ this.I4y.select(); } ; FindAndReplaceControl.prototype.SetFieldsVisibility= function (O57){var rows=new Array(); rows[0]=this.l50; rows[1]=this.i50; if (O57){for (var i=0; i<rows.length; i++){rows[i].style.display=document.all?"b\x6cock": "\x74able-row"; }}else {for (var i=0; i<rows.length; i++){rows[i].style.display="\x6e\157n\x65"; }}} ; FindAndReplaceControl.prototype.SetFocusToSearchBox= function (){ this.O50.focus(); };FindAndReplaceControl.prototype.CloseWindow= function (){if (this.OnCloseWindow){ this.OnCloseWindow(); }} ; FindAndReplaceControl.prototype.CancelChanges= function (){if (this.OnCancelChanges){ this.OnCancelChanges(); }} ;;function submitFlashFile(l57){submitForUpload= true; var i57=document.getElementById(FileUploadID); if (trim(i57.value)==""){alert(localization["Alertfile"]); i57.focus(); submitForUpload= false; }else {document.getElementById(fileDirID).value=fileBrowser.CurrentItem.GetPath(); document.getElementById("load\x65r").innerHTML=localization["\x55ploading"]; showObject("loa\x64\x65r"); }}var o43,O43; var l43= false; var selection= true; var I57; var submitForUpload; function o58(color){var o3r=document.getElementById("backg\x72\x6fund\x43\157\x6c\157\x72"); var options=o3r.getElementsByTagName("\x4fPTION"); option=document.createElement("OPTION"); option.innerHTML=localization["Cu\x73\x74omh"]+color; option.value=color; option.selected= true; option.style.backgroundColor=color; o3r.insertBefore(option,options[8]); }function O2j(object,name){for (var i=0; i<object.childNodes.length; i++){if ((object.childNodes[i].tagName.toUpperCase()=="\120\x41\x52AM") && (object.childNodes[i].name.toUpperCase()==name.toUpperCase())){return object.childNodes[i].value; }}return null; }function enableClass(enable){document.getElementById("\x63lassID").disabled=!enable; document.getElementById("\x76ersion").disabled=!enable; if (enable){showObject("\x63lassIDR\x6f\x771"); showObject("cla\x73\x73IDRow2"); }else {document.getElementById("\x63lassID").value=""; hideObject("\x63lassIDRow1"); hideObject("classIDR\x6f\x772"); }}var O58= false; function FlashPreviewer(){ this.FlashPath=""; this.StripAbsolutePath= true; }FlashPreviewer.prototype.l58= function (name,value,i58){var I58="\x3cparam name=\x22"+name+"\x22 valu\x65\x3d\042"+value+"\042\x3e"; return i58?I58:document.createElement(I58); };FlashPreviewer.prototype.o59= function (i58,O59){if (i58){var l1i="\x3cembed "; for (var l59 in O59){l1i+=" "+l59+"=\042"+O59[l59]+"\042"; }l1i+="\x3e</embed\x3e"; return l1i; }else {var object=document.createElement("\x45\x4dBED"); for (var l59 in O59){object.setAttribute(l59,O59[l59]); }return object; }};FlashPreviewer.prototype.Clear= function (){ this.i59(document.getElementById("\x50roperti\x65\x73Pane")); };FlashPreviewer.prototype.GetHtml= function (){var O3d=fileBrowser.SelectedItem; var I59=O3d!=null?O3d.GetPath():null; if (I59){if (document.all && ( false ==this.StripAbsolutePath)){var l2c=document.createElement("\x49MG"); l2c.setAttribute("\x73\x72c",I59); I59=l2c.src; }var o5a= {} ; o5a["sr\x63"]=I59; var O5a=null; O5a=document.getElementById("\x6coopYes"); o5a["\x6coop"]=O5a.checked.toString(); O5a=document.getElementById("\x6denuYes");o5a["\x6denu"]=O5a.checked.toString(); o5a["quality"]=document.getElementById("\x71ualit\x79").value; o5a["\x73align"]=document.getElementById("\x66lashAlign").value; o5a["align"]=document.getElementById("htm\x6c\x41lign").value; o5a["\x62\x67color"]=document.getElementById("backgroun\x64\x43olor").value; o5a["width"]=document.getElementById("\x66lashWidth").value; o5a["\x68eight"]=document.getElementById("f\x6c\x61shHeig\x68\x74").value; o5a["\x74ype"]="\x61pplicat\x69\x6fn/x-\x73\x68oc\x6bwave-f\x6c\x61sh"; o5a["plu\x67\x69nspage"]="\x68ttp://www.m\x61\x63rome\x64\x69a.\x63\157\x6d\x2fgo/\x67\145\x74fl\x61\163h\x70\154a\x79\145r"; if (document.getElementById("t\x72\x61nspare\x6e\x74Yes").checked){o5a["\x77\155ode"]="\x74ransp\x61\x72ent"; }if ((document.all) && (document.getElementById("clas\x73Yes").checked)){var l5a= {} ; var i5a= {} ; l5a["\x63lassid"]=document.getElementById("classID").value; l5a["\x63\x6fdebase"]="\x68ttp://downl\x6f\x61d.ma\x63\162\x6f\x6ded\x69\x61.co\x6d\057\x70ub/s\x68\157c\x6b\167a\x76e/cab\x73\057\x66\154\x61\163h\x2fsw\x66lash\x2ecab#\x76ersi\x6fn="+document.getElementById("\x76ersion").value+",0,0,0\042\x20"; l5a["\x77\x69dth"]=document.getElementById("flas\x68\x57idth").value; l5a["\x68eight"]=document.getElementById("flash\x48\x65ight").value; l5a["al\x69\x67n"]=document.getElementById("\x68tmlA\x6c\x69gn").value; i5a["\x6dovie"]=I59; i5a["\x73rc"]=I59; O5a=document.getElementById("\160\x6c\x61yYes"); i5a["p\x6c\x61y"]=O5a.checked.toString(); O5a=document.getElementById("\154oo\x70\x59es"); i5a["\x6coop"]=O5a.checked.toString(); O5a=document.getElementById("\x6denuYes"); i5a["\x6d\x65nu"]=O5a.checked.toString(); i5a["\x71uality"]=document.getElementById("\x71uality").value; i5a["s\x61\x6cign"]=document.getElementById("f\x6c\x61shAlig\x6e").value; i5a["\x62gcolor"]=document.getElementById("\x62ackgroundCol\x6fr").value; if (document.getElementById("transparen\x74\x59es").checked){i5a["wmode"]="t\x72\x61nsparen\x74"; }var l1i="\x3cobject "; for (var l59 in l5a){l1i+=" "+l59+"=\x22"+l5a[l59]+"\x22"; }l1i+="\x3e"; for (var l59 in i5a){l1i+=" "+this.l58(l59,i5a[l59], true); }l1i+=this.o59( true ,o5a)+"</object>"; return l1i; }return this.o59( true ,o5a); }return null; } ; FlashPreviewer.prototype.LoadObjectFromPath= function (I3d){} ; FlashPreviewer.prototype.i59= function (I5a){if (!I5a)return; if (I5a.attributes && I5a.attributes["d\x65faultvalue"]){var I6=I5a.attributes["\144\x65faultvalu\x65"].value; if (I5a.tagName=="\x49NPUT"){var o5b=I5a.getAttribute("\x74ype",0).toLowerCase(); if (o5b=="c\x68\x65ckbox"){I5a.checked=eval(I6); }else if (o5b=="\x74ext"){I5a.setAttribute("value",I6); }}else if (I5a.tagName && (I5a.tagName=="DI\x56" || I5a.tagName=="\x54D")){I5a.innerHTML=I6; }else if (I5a.tagName && I5a.tagName=="S\x45\x4cECT"){selectOption(I5a,I6); }}if (I5a.childNodes && I5a.childNodes.length>0){for (var O5b=0; O5b<I5a.childNodes.length; O5b++){ this.i59(I5a.childNodes[O5b]); }}} ; FlashPreviewer.prototype.SwitchPreviewMode= function (O3d,l5b,dialogArgs){O58=!O58; this.Preview(O3d,l5b,dialogArgs); } ; FlashPreviewer.prototype.Preview= function (O3d,i5b,dialogArgs){if ((O3d!=null) && (O3d.Type!="\x44")){if (i5b==O3d.GetPath()){

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -