PageSourceSearch

http://ficemea.org/archives/www.ficemea.org/scripts.js

js ficemea.org collected 2026-10-02 11:15:09 UTC 1,409 bytes, 62 lines download raw bytes

1var site = 'http://www.ficemea.org/';
2
3function targetLinks() {
4var str;
5var where;
6where="_blank";
7
8for(var i=0;i<=(document.links.length-1);i++) {
9 str=document.links[i].href;
10 if((str.search(site)==-1)&&((str.search('http://')!=-1)
11 ||(str.search('www.')!=-1)
12 ||(str.search('ftp://')!=-1))){
13  document.links[i].target=where;
14 }
15}
16}
17
18
19
20function rand_number(n)
21{
22        var x;
23        x=Math.round(Math.random()*100);
24        x%=n;
25        return x;
26}
27
28function boucle_images()
29{
30        var i;
31        var img = new Array();
32
33        img[0]='<img src="images/bandeau1.jpg">';
34        img[1]='<img src="images/bandeau2.jpg">';
35        img[2]='<img src="images/bandeau3.jpg">';
36        img[3]='<img src="images/bandeau4.jpg">';
37
38        var nombre_total_images = img.length;
39        var i=rand_number(nombre_total_images);
40        boucle.innerHTML=img[i];
41}
42
43
44// Menu dynamique
45function montre(id) {
46	  if (document.getElementById) {
47		  document.getElementById(id).style.display="block";
48		} else if (document.all) {
49		  document.all[id].style.display="block";
50		} else if (document.layers) {
51		  document.layers[id].display="block";
52		} } 
53
54 function cache(id) {
55	  if (document.getElementById) {
56		  document.getElementById(id).style.display="none";
57		} else if (document.all) {
58		  document.all[id].style.display="none";
59		} else if (document.layers) {
60		  document.layers[id].display="none";
61		} }
62		

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.