<!-- Hide Script from Old Browsers
/*

Scrypt stworzony przez Kamila Bubienia [http://www.krkhiphop.tk].

SzUkACz w JAVIE
(c)2002 Kamil Bubien.
Version 1.0
W razie jakich kolwiek pytan prosze o e-maila: bubson87@o2.plTen adres e-mail jest ukrywany przed spamerami, włącz obsługę JavaScript w przeglądarce, by go zobaczyć
*/

Keyword = new Object();
Descrip = new Object();
Address = new Object();

// Keyword[0] = n (where n is the number of keywords which can be searched
Keyword[0] = 4

// Each entry is split into
// Keyword[n] = text (where text is the keyword of which the entry is to
// be searched by (type Keywords in lowercase)
// Descrip[n] = text (where text is the description associated to this entry
// Address[n] = text (where text is the URL associated to the entry
// n is the entry number.

Keyword[1] = "cm-180"
Descrip[1] = "CM-180 Programowalny konwerter protokołów"
Address[1] = "http://www.ultima-automatyka.pl/Nowa/Produkty/Moduly/CM-180.html"

Keyword[2] = "cm-180"
Descrip[2] = "Konwertery protokołów"
Address[2] = "../Produkty/konwertery.html"

Keyword[3] = "przetworniki temperatury"
Descrip[3] = "Przetworniki temperatury"
Address[3] = "../Produkty/przetworniki_temperatury.html"

Keyword[4] = "st-2610"
Descrip[4] = "ST-2610 Na¶cienny przetwornik temperatury"
Address[4] = "../Produkty/ST-2610.html"

function checkDatabase() {

var Found = false
var Item = document.forms[0].searchfor.value.toLowerCase();

stats='toolbar=no,location=no,directories=no,status=no,menubar=no,height=300,width=300,'
stats += 'scrollbars=yes,resizable=yes'
MsgBox = window.open ("","msgWindow",stats)
MsgBox.opener = window;
MsgBox.opener.name = "opener";
MsgBox.document.write("<head><title>Rezultat szukania:</title></head>");
MsgBox.document.write ("<body bgcolor=white text=black link=blue vlink=darkblue alink=blue><H2><CENTER><font face=arial>Rezultat szukania:</CENTER></H2>")
//MsgBox.document.write ("<font size=3><b><center>Słowa: "+Item+"</center><hr width=50%></b></font>");
for (var i=1; i <= Keyword[0]; i++) {
if(Item == Keyword[i]) {
Found = true;
MsgBox.document.write ("<li><A HREF="+Address[i]+" target='opener'><font face=arial><font size=2><b>"+Descrip[i]+"</b></A></font></font>")

}
}
if(!Found)
MsgBox.document.write ("<H4>Nothing Found</H4>")
// Leave the line below intact if you want to legally use this script
MsgBox.document.write ("<FORM><CENTER>")
MsgBox.document.write ("<font size=2><font color=arial><INPUT type='button' value='Zamknij okno' onClick = 'self.close()'></font></font>")
MsgBox.document.write ("</CENTER></FORM>")
MsgBox.document.write ("<H6><small><small><small><b></b><font color=white><font face=arial><font size=1><font color=black>Nazwa serwisu<br>© NAZWA 2002. Wszelkie prawa zastrzeżone</font></font></small></small></small>")
// There must be my notice above if you are to use this script legally.
// It took many hours work, fairs is fair, I just want that little line in
// and you get a fully working Search ENGINE, for FREE, on your site
// In Java Scripts as well, and not crap JAVA!
// Also a copyright notice MUST appear with the form.
}
// -->



