1 2// ë¤ë¹ê²ì´ì ìì¹ë²í¸ ê°ì ¸ì¤ê¸° 3var 4 nowLocation = new Array() 5 ,dp1 = null 6 ,dp2 = null 7; 8 9function scNaviToNumber(code) 10{ 11 var 12 codeArray = new Array() 13 ,numArray = new Array() 14 ; 15 16 for (var i=0; i<4; i++) { 17 codeArray.push(code.substr(i*2,2)); 18 } 19 20 function refunc(depth, n) 21 { 22 try { 23 eval('var dat = navi_cate_' + n + '_code'); 24 var nn = 0; 25 for (var i in dat) { 26 if (dat[i].substr(depth*2,2) == codeArray[depth]) { 27 numArray.push(nn+1); 28 refunc((depth+1), dat[i]); 29 } 30 nn++; 31 } 32 } 33 catch (error) { 34 return false; 35 } 36 } 37 refunc(0, '00000000'); 38 39 nowLocation = numArray; 40 dp1 = nowLocation[0]; 41 dp2 = nowLocation[1]; 42}
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.