1function kontrolInputDate(input){ 2 inputEmailValue = input.UserReg_email.value; 3 inputloginValue = input.UserReg_login.value; 4 inputNameValue = input.UserReg_name.value; 5 inputPasswValue = input.UserReg_passwd.value; 6 7 var lang; 8 var nameW; 9 10 e_mail=/^.+@.+\..{2,4}$/; 11 12 if (e_mail.test(inputEmailValue)==true && inputloginValue != "" && inputNameValue != '' && inputPasswValue != ''){ 13 return true; 14 } 15 else{ 16 17 nameW = navigator.appName; 18 19 if(nameW == "Netscape"){ 20 lang = navigator.appVersion; 21 lang = lang.substr(-3,2); 22 } 23 else lang = navigator.browserLanguage; 24 25 if(lang == 'cs') 26 string = 'Nezadali jste správnÄ: '; 27 else 28 string = 'You did not enter: '; 29 30 if(inputNameValue == ''){ 31 if(lang == 'cs') string = string + 'jméno '; 32 else string = string + 'name '; 33 } 34 35 if(inputEmailValue == ''){ 36 if(lang == 'cs') string = string + ', e-mail '; 37 else string = string + 'or e-mail '; 38 } 39 40 if(inputloginValue == ''){ 41 if(lang == 'cs') string = string + ', login '; 42 else string = string + 'or login '; 43 } 44 if(inputPasswValue == ''){ 45 if(lang == 'cs') string = string + ', heslo '; 46 else string = string + 'or password '; 47 } 48 49 if(inputPasswValue != '_no_' && inputloginValue != '_no_'){ 50 if(lang == 'cs') string = string + '\n nebo jste je Å¡patnÄ zadali.'; 51 else string = string + '\n or you entered it wrong.'; 52 } 53 54 alert(string); 55 56 return false; 57 } 58} 59 60function noSpamWithJs(){
61 document.write('<input type="hidden" name="UserReg_spamBoot" value="no' + 'spam' + 'for' + 'mail" />'); 62} 63 64function showSupEmail() { 65 var mailTo = "mailto:"; 66 document.write('<a href="' + mailTo + '[email protected]" onClick="sendSupEmail(this);">[email protected]</a>'); 67} 68 69function sendSupEmail(email){ 70 var indexStart; 71 var indexEnd; 72 var domena = window.location + ''; 73 indexStart = domena.indexOf('/'); 74 indexStart = domena.indexOf('/',indexStart+1); 75 indexEnd = domena.indexOf('/',indexStart+1); 76 if (!indexStart) 77 indexStart = 0; 78 if (!indexEnd) 79 indexEnd = domena.length; 80 email.href = "mailto:" + email.textContent + "?subject=Technical%20request%20[" + domena.substring(indexStart+1,indexEnd) + "]&body=URL:%20" + domena + "%0A%0DDescription:%20" ; 81} 82 83function showEmail(name, domain, text) { 84 var mailTo = "mailto:"; 85 if (text == "") { 86 text = name + '@' + domain; 87 } 88 document.write('<a href="' + mailTo + name + '@' + domain + '">' + text +'</a>'); 89 var scriptel = document.getElementById("showEmailScript"); 90 if (scriptel) { 91 scriptel.parentNode.removeChild(scriptel); 92 } 93}
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.