1/* 2 * fscf-scripts.js 3 * Script file for Fast Secure Contact Form 4 * Created by Mike Challis and Ken Carlson 5 */ 6 7 8function fscf_captcha_refresh(form_num,securimage_url,securimage_show_url) { 9 var chars = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz"; 10 var string_length = 16; 11 var prefix = ''; 12 for (var i=0; i<string_length; i++) { 13 var rnum = Math.floor(Math.random() * chars.length); 14 prefix += chars.substring(rnum,rnum+1); 15 } 16 document.getElementById('fscf_captcha_prefix' + form_num).value = prefix; 17 18 var si_image_ctf = securimage_show_url + prefix; 19 document.getElementById('fscf_captcha_image' + form_num).src = si_image_ctf; 20 21}
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.