1var popwin=null; 2var searchready=false; 3 4function picpop(id,x,y) { 5 if (popwin && !popwin.closed) {popwin.close();}; 6 return !(popwin=window.open('picpop.php?id='+id,'','width='+x+',height='+y+',scrollbars=no,resizable=no,menubar=no,status=no,directories=no,location=no,toolbar=no')); 7 }; 8 9function trim(s) {return s.replace(/^\s+|\s+$/g,'');}; 10 11function tarkistakala(f) { 12 if ((trim(f.pnimi.value)=='') && (trim(f.kunta.value)=='') && (trim(f.kala.value)=='')) {alert('Syötä vähintään yksi hakuehto.'); return false;}; 13 }; 14 15function tarkistayrit(f) { 16 if ((trim(f.pnimi.value)=='') && (trim(f.kunta.value)=='') && (trim(f.ynimi.value)=='') && (t.toimiala.selectedIndex==0)) {alert('Syötä vähintään yksi hakuehto.'); return false;}; 17 }; 18 19function initializeMap(id,lat,lng,title,q) { 20 var latlng = new google.maps.LatLng(lat,lng); 21 var myOptions = { 22 zoom: 11, 23 center: latlng, 24 panControl: false, 25 zoomControl: true, 26 mapTypeControl: false, 27 scaleControl: false, 28 streetViewControl: false, 29 overviewMapControl: false, 30 mapTypeId: google.maps.MapTypeId.ROADMAP 31 }; 32 var map=new google.maps.Map(document.getElementById(id),myOptions); 33 var marker=new google.maps.Marker({ 34 position: latlng, 35 title: title 36 }); 37 google.maps.event.addListener(marker, 'click', function() {window.open("http://maps.google.fi/maps?q="+encodeURIComponent(q)+"&t=m&hl=fi",'_blank','');}); 38 marker.setMap(map); 39 }; 40 41function setCookie(n,v,d,p) { 42 d=d?d:365; 43 p=p?p:'/' 44 var exdate=new Date(); 45 exdate.setDate(exdate.getDate()+d); 46 document.cookie=n+'='+escape(v)+'; expires='+exdate.toUTCString()+'; path='+p; 47 return v; 48 }; 49 50function getCookie(n) { 51 var re=new RegExp('(^|;)\\s?'+n+'=(.*?)(;|$)','i'); 52 var m=document.cookie.match(re); 53 return m && unescape(m[2]); 54 };
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.