1 2function VsbFormFunc() 3{ 4 var _this = this; 5 _this.disableAutoEnable = function(o) 6 { 7 o.disabled=true; 8 setTimeout(function(){_this.enableOnComplete(o);}, 500); 9 } 10 11 _this.enableOnComplete = function(o) 12 { 13 if(window.document.readyState=='complete') 14 { 15 o.disabled = false; 16 } 17 else 18 { 19 setTimeout(function(){_this.enableOnComplete(o);}, 500); 20 } 21 } 22}; 23function changebase64_util(nameList,formName) 24{ 25 if(!!nameList && nameList.length>0) 26 { 27 for(var i=0;i<nameList.length;i++) 28 { 29 var realName = nameList[i]; 30 var tmpName = realName+"_temp"; 31 try{ 32 var tmpNameObj = eval("document."+formName+"."+tmpName); 33 var nameObj = eval("document."+formName+"."+realName) 34 if(tmpNameObj &&nameObj) 35 { 36 nameObj.value=new Base64().encode(tmpNameObj.value); 37 new VsbFormFunc().disableAutoEnable(tmpNameObj); 38 } 39 }catch (e){} 40 } 41 } 42 return true; 43} 44 45 46 47
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.