1function trim(s) 2{ 3 if (s) 4 return s.replace(/(^\s+)|(\s+$)/g, ""); 5 else 6 return ''; 7} 8 9function empty(s) 10{ 11 if(trim(s) == '') 12 return true; 13 return false; 14} 15 16 17function CheckLoginForm() 18{ 19 if (empty(document.auth.login.value)) 20 { 21 alert('ÐведиÑе Ñвой логин.'); 22 return false; 23 } 24 25 if (empty(document.auth.passw.value)) 26 { 27 alert('ÐведиÑе Ñвой паÑолÑ.'); 28 return false; 29 } 30} 31
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.