1// Sprachauswahl 2var LNG_List = []; 3 LNG_List[0] = [1,null,4]; 4 LNG_List[LNG_List.length] = ['DE','Deutsch','deutscher']; 5 LNG_List[LNG_List.length] = ['EN','English','englisch']; 6 LNG_List[LNG_List.length] = ['FR','Français','französischer']; 7 LNG_List[LNG_List.length] = ['CN','ä¸å話','chinesisch trad.']; 8 LNG_List[LNG_List.length] = ['JP','æ¥æ¬äºº','japanesisch']; 9 LNG_List[LNG_List.length] = ['VN','Tiếng Viá»t','vietnamesisch']; 10 LNG_List[LNG_List.length] = ['TR','Turk','türkisch']; 11 LNG_List[LNG_List.length] = ['ES','español','spanisch']; 12 LNG_List[LNG_List.length] = ['RU','ÑÑÑÑкий','russisch']; 13 LNG_List[LNG_List.length] = ['PL','Polski','polnisch']; 14 LNG_List[LNG_List.length] = ['KR','íêµì','koreanisch']; 15 16var LNG_Numm = 1; 17const LL_idx = 0, 18 LL_tim = 1, 19 LL_end = 2, 20 LL_lng = 0, 21 LL_nam = 1, 22 LL_ger = 2; 23 24function Set_LangMenu() 25{ 26 if(LNG_List[0][LL_tim]) 27 { 28 clearInterval(LNG_List[0][LL_tim]); 29 LNG_List[0][LL_tim] = null; 30 } 31 var Lc_htm = ''; 32 for(var Lc_I = 1; Lc_I < LNG_List.length; Lc_I++) 33 if(LNG_List[Lc_I][LL_lng] == PUB_lang) 34 { 35 LNG_Numm = Lc_I; 36 break; 37 } 38 PUB_lang = LNG_List[LNG_Numm][LL_lng]; 39 Lc_htm = Lc_htm + '<ul><li><div ID="AutoLang">'; 40 Lc_htm = Lc_htm + '<img src="flg/AS_Tran.png" height="30" /><br/>'; 41 Lc_htm = Lc_htm + LNG_List[LNG_Numm][LL_nam]; 42 Lc_htm = Lc_htm + '</div><ul>'; 43 Lc_htm = Lc_htm + '<table cellspacing="0" cellpadding="0" border="1">'; 44 for(var Lc_I = 1; Lc_I < LNG_List.length; Lc_I++) 45 { 46 Lc_htm = Lc_htm + '<tr><td>'; 47 Lc_htm = Lc_htm + '<li>'; 48 Lc_htm = Lc_htm + '<a onclick="Set_NewLang('+Lc_I+')" >'; 49 Lc_htm = Lc_htm + '<img src="flg/'+LNG_List[Lc_I][LL_lng]+'_Flag.png" height="10" />'; 50 Lc_htm = Lc_htm + '<'+LNG_List[Lc_I][LL_lng]+'_css>'+LNG_List[Lc_I][LL_nam]+' </'+LNG_List[Lc_I][LL_lng]+'_css>'; 51 Lc_htm = Lc_htm + '</a>'; 52 Lc_htm = Lc_htm + '</li>'; 53 Lc_htm = Lc_htm + '</td></tr>'; 54 } 55 Lc_htm = Lc_htm + '</table>'; 56 Lc_htm = Lc_htm + '</ul>'; 57 Lc_htm = Lc_htm + '</li></ul>'; 58 document.getElementById('LangMenu').innerHTML = Lc_htm; 59 if(LNG_List[0][LL_end]) 60 LNG_List[0][LL_tim] = setInterval(function(){Set_LangFlag()},1000); 61} 62 63function Set_NewLang(lng) 64{ 65 PUB_lang = LNG_List[lng][LL_lng]; 66 LNG_Numm = lng; 67 if(LNG_List[0][LL_tim]) 68 { 69 clearInterval(LNG_List[0][LL_tim]); 70 LNG_List[0][LL_tim] = null; 71 LNG_List[0][LL_end] = 0; 72 } 73 Dis_LangFlag(LNG_List[lng][LL_lng]+'_Flag.png',LNG_List[lng][LL_nam]); 74 Set_DataPage(); 75} 76 77function Set_LangFlag() 78{ 79 var Lc_flg = LNG_List[LNG_List[0][LL_idx]][LL_lng]+'_Flag.png', 80 Lc_nam = LNG_List[LNG_List[0][LL_idx]][LL_nam]; 81 if(++LNG_List[0][LL_idx] >= LNG_List.length) 82 { 83 LNG_List[0][LL_idx] = 1; 84 if(LNG_List[0][LL_end]-- < 1) 85 { 86 clearInterval(LNG_List[0][LL_tim]); 87 LNG_List[0][LL_tim] = null; 88 Lc_flg = 'AS_Tran.png', 89 Lc_nam = LNG_List[LNG_Numm][LL_nam]; 90 LNG_List[0][LL_end] = 0; 91 } 92 } 93 Dis_LangFlag(Lc_flg,Lc_nam) 94} 95 96function Dis_LangFlag(flg,nam) 97{ 98 document.getElementById("AutoLang").innerHTML = '<img src="flg/'+flg+'" height="30" /><br/>'+nam; 99}
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.