1 function s(text) 2 { 3 window.status=text; 4 return true; 5 } 6 7 function openwin() 8 { 9 w = window.open("","subscriber","width=636,height=500,top=0,location=no,menubar=no,resizable=no,status=no,toolbar=no,scrollbars=yes"); 10 } 11 12 function ValidateEmail(checkString) 13 { 14 var newstr = ""; 15 var at = false; 16 var dot = false; 17 var dotpos = false; 18 19 20 // IF EMAIL ADDRESS HAS A '@' CHARACTER 21 if (checkString.indexOf("@") != -1) { 22 at = true; 23 // IF EMAIL ADDRESS HAS A '.' CHARACTER 24 } else if (checkString.indexOf(".") != -1) { 25 dot = true; 26 } 27 // IF EMAIL ADDRESS HAS A '.' AFTER a '@' 28 if (checkString.lastIndexOf(".") > checkString.indexOf("@")) 29 { 30 dotpos = true; 31 } 32 33 // PARSE REMAINDER OF STRING 34 for (var i = 0; i < checkString.length; i++) { 35 ch = checkString.substring(i, i + 1) 36 if ((ch >= "A" && ch <= "Z") || (ch >= "a" && ch <= "z") 37 || (ch == "@") || (ch == ".") || (ch == "_") 38 || (ch == "-") || (ch >= "0" && ch <= "9")) { 39 newstr += ch; 40 if (ch == "@") { 41 at=true; 42 } 43 if (ch == ".") { 44 dot=true; 45 } 46 } 47 } 48 if ((at == true) && (dot == true) && (dotpos == true) && (newstr == checkString)) { 49 return true; 50 51 } 52 else { 53 window.alert("Dit is geen geldig e-mail adress"); 54 return false; 55 } 56 } 57 58 function getObj(name) 59 { 60 if (document.getElementById) 61 { 62 this.obj = document.getElementById(name); 63 this.style = document.getElementById(name).style; 64 } 65 else if (document.all) 66 { 67 this.obj = document.all[name]; 68 this.style = document.all[name].style; 69 } 70 else if (document.layers) 71 { 72 this.obj = document.layers[name]; 73 this.style = document.layers[name]; 74 } 75 } 76 77 var divskyscraper; 78 var theTop = 0; 79 var old = theTop; 80 81 window.onload = function () 82 { 83 divskyscraper = new getObj('divskyscraper'); 84 moveskyscraper(); 85 } 86 87 function moveskyscraper() 88 { 89 if (window.innerHeight) 90 { 91 pos = window.pageYOffset 92 } 93 else if (document.documentElement && document.documentElement.scrollTop) 94 { 95 pos = document.documentElement.scrollTop 96 } 97 else if (document.body) 98 { 99 pos = document.body.scrollTop 100 } 101 102 pos = pos - 280; 103 if (pos<0) 104 pos = 0; 105 106 divskyscraper.style.top = pos; 107 108 temp = setTimeout('moveskyscraper()',10); 109 }
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.