home *** CD-ROM | disk | FTP | other *** search
- /* author: Pawe│ Pietrasz */
- /* Generated by AceHTML Freeware http://freeware.acehtml.com */
- /* Creation date: 01-06-26 */
- title = new Object();
- desc = new Object();
- links= new Object();
- matched= new Object();
- keywords= new Object();
- found= new Object();
- var temp=0;
- // actual location or the item to be searched
- // description of he location
- // actual link
- // percentage match found
- // keywords as parsed from the input
- // # of titles present in the database
- title[0]=43
- //no of keywords after parsing
- keywords[0]=0
- //no of matches found.
- found[0]=0
-
- title[1]="przelatuj▒cy tekst, pole tekstowe"
- desc[1]="Przelatuj▒cy tekst w polu tekstowym "
- links[1]="s1b.htm"
- matched[1]=0
-
- title[2]="dodatki do stron, dodatki, ciekawe,"
- desc[2]="Dodatki do dobrych stron www "
- links[2]="s2b.htm"
- matched[2]=0
-
- title[3]="dodatki do stron, dodatki, ciekawe,"
- desc[3]="Dodatki do dobrych stron www 2"
- links[3]="s17b.htm"
- matched[3]=0
-
- title[4]="data, czas, pasek, godzina, na pasku, data na pasku"
- desc[4]="Data, czas na pasku"
- links[4]="s3b.htm"
- matched[4]=0
-
-
- title[5]="galeria na stronie, galeria, zdjΩcia "
- desc[5]="Galeria na stronie www"
- links[5]="s4b.htm"
- matched[5]=0
-
- title[6]="zegar,czas, zegar w polu tekstowym"
- desc[6]="Zegarek w polu tekstowym"
- links[6]="s5b.htm"
- matched[6]=0
-
-
-
- title[7]="ochrona has│em, has│o, zabezpieczenia"
- desc[7]="Ochrona has│em"
- links[7]="s6b.htm"
- matched[7]=0
-
-
- title[8]="tekst na pasku, pasek"
- desc[8]="Tekst na pasku"
- links[8]="s7b.htm"
- matched[8]=0
-
-
- title[9]="cookie"
- desc[9]="Od twojej wizyty minΩ│o..."
- links[9]="s8b.htm"
- matched[9]=0
-
-
- title[10]="cookie"
- desc[10]="Ostatnia modyfikacja strony"
- links[10]="s9b.htm"
- matched[10]=0
-
- title[11]="przegl▒darka, informacje, informacje o przegl▒darce "
- desc[11]="Informacje o przegl▒darce"
- links[11]="s11b.htm"
- matched[11]=0
-
- title[12]="nawigacja, nawigacja na stronie"
- desc[12]="Nawigacja na stronie"
- links[12]="s12b.htm"
- matched[12]=0
-
- title[13]="miganie, miganie kolorow, kaskada"
- desc[13]="Miganie kolor≤w"
- links[13]="s15b.htm"
- matched[13]=0
-
- title[14]="tekst, przewijanie, przewijany tekst"
- desc[14]="Przewijany tekst"
- links[14]="s20b.htm"
- matched[14]=0
-
- title[15]="kursor, kursory, kursor myszy"
- desc[15]="Efekty przy kursorze"
- links[15]="s21b.htm"
- matched[15]=0
-
- title[16]="drukarz, drukarze"
- desc[16]="Drukarz"
- links[16]="s22b.html"
- matched[16]=0
-
- title[17]="kalendarz, kalendarze"
- desc[17]="Kalendarze"
- links[17]="s23b.html"
- matched[17]=0
-
- title[18]="formularz,formularze pocztowe, formularz pocztowy"
- desc[18]="Formularz pocztowy"
- links[18]="s24b.html"
- matched[18]=0
-
- title[19]="ksi▒┐ka, ksi▒┐ka adresowa,"
- desc[19]="Ksi▒┐ka adresowa z opisem"
- links[19]="s25b.html"
- matched[19]=0
-
- title[20]="link z opisem, link, odsy│acz"
- desc[20]="Link z opisem"
- links[20]="s27b.html"
- matched[20]=0
-
- title[21]="menu, ruchome menu, "
- desc[21]="Ruchome menu"
- links[21]="s28b.html"
- matched[21]=0
-
- title[22]="strona, prze│adowywana strona, prze│adowywanie "
- desc[22]="Przeladowywana strona"
- links[22]="s29b.html"
- matched[22]=0
-
- title[23]="pokaz, slajdy, pokaz slajd≤w "
- desc[23]="Adresowy pokaz slajd≤w"
- links[23]="s31b.html"
- matched[23]=0
-
- title[24]="│adowarka, │adowanie strony,"
- desc[24]="ProszΩ czekaµ-│adowanie strony"
- links[24]="s32b.html"
- matched[24]=0
-
- title[25]="neon, tekst, ruchomy tekst"
- desc[25]="Neon"
- links[25]="s33b.html"
- matched[25]=0
-
- title[26]="banery, zmieniaj▒ce banery, baner"
- desc[26]="Zmieniaj▒ce siΩ banery"
- links[26]="s34b.html"
- matched[26]=0
-
- title[27]="okienko, pojawiaj▒ce siΩ okienko, animowane okienko"
- desc[27]="Pojawiaj▒ce siΩ okienko"
- links[27]="s41b.html"
- matched[27]=0
-
- title[28]="linki, animowane linki, odsy│acze"
- desc[28]="Animowane odsy│acze"
- links[28]="s42b.html"
- matched[28]=0
-
- title[29]="otwieracz, grafika, otwieracz plik≤w"
- desc[29]="Otwieracz plik≤w graficznych"
- links[29]="s43b.html"
- matched[29]=0
-
- title[30]="link, animacja, animacje, linki,"
- desc[30]="Animowany link tekstowy"
- links[30]="s54b.html"
- matched[30]=0
-
- title[31]="animacja, grafika, animacja grafiki, animacje"
- desc[31]="Animacja grafiki"
- links[31]="s44b.html"
- matched[31]=0
-
- title[32]="menu"
- desc[32]="Menu"
- links[32]="s48b.html"
- matched[32]=0
-
- title[38]="miganie, miganie kolorow, kaskada, rozja╢nienie strony, rozja╢nienie"
- desc[38]="Rozja╢nienie strony"
- links[38]="s13b.htm"
- matched[38]=0
-
- title[33]="kalkulator,"
- desc[33]="Kalkulator"
- links[33]="s14b.htm"
- matched[33]=0
-
- title[34]="data, godzina, czas, aktualna data i godzina"
- desc[34]="Aktualna data i godzina"
- links[34]="s16b.htm"
- matched[34]=0
-
- title[35]="przeliczniki,"
- desc[35]="Przeliczniki"
- links[35]="s18b.htm"
- matched[35]=0
-
- title[36]="zegar, czas"
- desc[36]="Zegar"
- links[36]="s38b.html"
- matched[36]=0
-
- title[37]="link, linki, "
- desc[37]="Linki"
- links[37]="s39b.html"
- matched[37]=0
-
- title[39]="link, linki, "
- desc[39]="Likwiduje podkre╢lenie linku"
- links[39]="s45b.html"
- matched[39]=0
-
- title[40]="link, linki, "
- desc[40]="Zmienia wygl▒d linku"
- links[40]="s46b.html"
- matched[40]=0
-
- title[41]="tekst, "
- desc[41]="Pod£wietlony tekst"
- links[41]="s47b.html"
- matched[41]=0
-
- title[42]="scrollbar, pasek, pasek przewijania "
- desc[42]="Ustawienie kolor≤w paska przewijania"
- links[42]="s50b.html"
- matched[42]=0
-
- title[43]="tekst, animowany tekst,"
- desc[43]="Animacje i efekty z tekstem"
- links[43]="s51b.html"
- matched[43]=0
- <!-- End list of Searchable items -->
-
- function search(){
- var skeyword=document.searchengine.keywords.value.toLowerCase();
- var check=1;
- var pos=0;
- var i=0;
- var j=0;
- var itemp=0;
- var config='';
-
- while (true)
- {
- if (skeyword.indexOf("+") == -1 )
- {
- keywords[check]=skeyword;
- break;
- }
- pos=skeyword.indexOf("+");
- if (skeyword !="+")
- {
- keywords[check]=skeyword.substring(0,pos);
- check++;
- }
- else
- {
- check--;
- break;
- }
- skeyword=skeyword.substring(pos+1, skeyword.length);
- if (skeyword.length ==0)
- {
- check--;
- break;
- }
-
- }
- // the keywords have been put in keywords object.
- keywords[0]=check;
-
- // matching and storing the matches in matched
- for ( i=1; i<=keywords[0];i++)
- {
- for (j=1;j<=title[0];j++)
- {
- if (title[j].toLowerCase().indexOf(keywords[i]) > -1 )
- {
- matched[j]++;
- }
- }
- }
- // putting all the indexes of the matched records in found
-
- for (i=1;i<=title[0];i++)
- {
- if (matched[i] > 0 )
- {
- found[0]++;
- // increment the found
- found[found[0]]=i;
-
- }
- }
-
-
-
- for (i=1;i<=found[0]-1;i++)
- {
- for(j=i+1;j<=found[0];j++)
- {
- if ( matched[found[i]]< matched[found[j]] )
- {
- temp= found[j];
- found[j]=found[i];
- found[i]=temp;
- }
- }
- }
-
- // end of sort
-
- output = self;
- output.document.write('<html>');
- output.document.write('<head>');
- output.document.write('<script>');
- output.document.write('window.onerror=new Function("return true")');
- output.document.write('<\/script>');
- output.document.write('<title> Rezultat szukania </title>');
- output.document.write('</head>');
- output.document.write('<BODY bgcolor=#ffffff text=#000000 link=#000080 vlink =##404040 >');
-
- output.document.write('<center> <h1> Rezultat poszukiwania </h1></center>');
- output.document.write('<hr>');
- output.document.write(' Poszukiwany s│owo kluczowe:: '.big() )
- for (i=1; i<=keywords[0]; i++)
- {
- output.document.write( keywords[i].bold() +" ");
- }
- output.document.write('<br>');
-
- if (found[0]==0)
- {
- //alert(found[0]);
- output.document.write('<hr>');
- output.document.write("<b>Niestety nie znaleziono tego s│owa </b> <br>");
- output.document.write("Zastosuj inne s│owo kluczowe, b▒d╝ je inaczej sformu│uj <br>");
- }
- else
- {
- // data has been found
- output.document.write(" <hr> <b> Rezultat poszukiwania : </b> ");
- output.document.write( found[0] +" Znalezionych adres≤w ".italics());
- output.document.write("<table border=0 width=100%>");
- for (i=1; i<=found[0];i++)
- {
- output.document.write("<tr><td valign=top bgcolor=#BEBBB0>");
- output.document.write("<h3>" +i +"</h3>");
- output.document.write("<td valign=top>");
- itemp=found[i];
- output.document.write(desc[itemp].bold() +"<br>" +
- links[itemp].link(links[itemp])+"<br>");
- temp= (matched[itemp]/keywords[0])*100
- output.document.write("<i> Trafno╢µ :: " +temp+" % </i>" );
- matched[itemp]=0
- }
- found[0]=0;
- output.document.write("</table>");
- }
- output.document.write ("<hr>");
- //output.document.write ("<form><center>");
- output.document.write('<center>Powr≤t do wyszukiwarki <a href="prawa.htm"> Powr≤t</a>');
- //output.document.write ("<input type='button' value='Start Another Search' onClick = 'self.close()'");
- //output.document.write ("<center></form>");
-
- output.document.write ("</body></html>");
- output.document.close();
- }
-