var item = new Array();
// "Nombre de la página","Situación página","Título","Palabras clave","Comentarios descriptivos"
c=0; item[c]=new Array("http://www.bcbsl.com/index_ing.htm","","www.BCBSL.com","content, website, home, start, bcb","Homepage of BCBsl.com");
c++; item[c]=new Array("lamps.htm","","Lamps", "lamps, emitters, radiators, halogens, tub, fluorescentes, uv, xenon, infrared, germicidal, mercury, gallium, iron, endings, sockets, short, wave, long, UVA, UVB, UVC, spectrum","UV, IR, fluorescence, metal halogen, germicidal...");
c++; item[c]=new Array("productos/10_ing.htm","","UV dryers","uv, ultraviolet, hok, equipment, dryer, curing, polymer, lamphead, lamphousing, oba, obc, obp, obe, obn, hoc, webpress, narrow, presses, flexography, floors, pavement, 10, 11, 12, 13, 15","UV lampheads for industry treatments.");
c++; item[c]=new Array("productos/20_ing.htm","","Vacuum frames","uv, ultraviolet, vacuum, frames, exposure, units, exposition, ism, ic-5000, compact, 20, 21, 22, 23, rotary, wallet, reprography, 50, 51, 52","Ultraviolet vacuum frames and exposition units.");
c++; item[c]=new Array("productos/30_ing.htm","","Infrareds","infrareds, ir, dryer, drier, ir-36, ir-09, 30, 31, 32, 33, 34, 35, 36","Infrared machinery for industrial treatments");
c++; item[c]=new Array("productos/40_ing.htm","","Halogens","uv, ultraviolet, halogens, eh-5000, giraffe, automotive, reparations, fix, 40, 41, 42","Halogen lampheads");
c++; item[c]=new Array("productos/60_ing.htm","","UV bridges","uv, bridges, tunnels, ultraviolets, 60, 61, 62, 63","Uv bridges for installation on conveyor belts or conventional ovens");
c++; item[c]=new Array("productos/70_ing.htm","","UV ovens","uv, hok, ovens, tunnels, ultraviolet, continuum, static, sas, cabinets, chambers, low-pile,  laboratories, laboratory, minilab, 70, 71, 72, 73, 74, 75","UV chambers and ovens with belt conveyor");
c++; item[c]=new Array("productos/80_ing.htm","","Accessories","uv, accessories, ultraviolet, radiometers, filters, glasses, quartz. quarz, integrator, control, module, display, air, aspiration, emulsifier. supports, filtering, 80, 81, 82, 83, 84, 85, 86","Accessories");
c++; item[c]=new Array("productos/90_ing.htm","","Sun simulation","uv, ultraviolets, simulation, tests, chamber, weathering, aging, solar, sun, projector, xenon, 90, 91, 92, 93, 94, 95","Devices for aging essays and simulation of the sun light");
c++; item[c]=new Array("productos/100_ing.htm","","Warm Air","accessories, modules, air, warm, heat, heating, aspiration, filtering, 100, 101, 102", "Warm air dryers");
c++; item[c]=new Array("productos/inspection-uv_ing.htm","","Visual detection","illumination, detection, inspection, fluorescence, forensics, documents, banknotes, minerals, pcb, 121,122", "Devices for visual inspection, fluorescence detection...");
c++; item[c]=new Array("form_ing.htm","","Contact form","contact, asks, questions, information, catalogs, offers, quotations, form","To contact us, solve any doubt,...");
c++; item[c]=new Array("productos/instrumentation.htm","","Instrumentation","radiometer, integrator, uvmeter, measurement","UV radiation measurement devices");
c++; item[c]=new Array("productos/supplies.htm","","Supplies","lamps, rubber, blanket, curtains, quartz, glass, filters, blowers, frames, openers, pumps, vacuum, shutters, reflectors","Spare parts and consumables");
c++; item[c]=new Array("sitemap_ing.htm","","Sitemap","map, website, index, aplications, web, products, range, brand","Sitemap");
c++; item[c]=new Array("productos/essays.htm","","Essays & Tests","proofs, essays, tests, prototypes, applications, xenon, specials, samples, technology, development, spectrum","Prototype developments and machinery for testing and proofs");
c++; item[c]=new Array("applications.htm","","Uses of ultraviolet and infrared radiation","electronics, flexography, rotogravure, inkjet, laboratory, metalgraphics, offset, paints, coatings, inks, lacquering, reprography, serigraphy, tipography, screenprinting, woods, circuits, papers, plastics, plasticos, polymers, packaging, fabrics","Aplication possibilites of the UV and IR radiation");
c++; item[c]=new Array("faq_ing.htm","","FAQ","asks, doubts, questions, answers, solutions, howto, how-to","Frequently Asked Questions");
c++; item[c]=new Array("location.htm","","Location","location, map, entreprise, company, factory, where, contact, telephone, adress, fax","¿Where we are?");
c++; item[c]=new Array("productos/90_ing.htm","","UV aging tests","projectors, simulation, sun, aging, climate, chambers, light, sources, uv, ultraviolet, essays, tests, detection","UV light sources and lampheads");
c++; item[c]=new Array("productos/forum_ing.htm","","Forum BCB","forum, questions, help, doubts, proposal, asks, answers, contact, advices, recommendation, support, maintenance, services, after-sales","Consultation forum about ultraviolet and infrared treatments.");
c++; item[c]=new Array("news.htm","","News (spanish)","news, calendar, about","News and events related to our company and the industry");
c++; item[c]=new Array("sat_ing.htm","","S.A.T.","quality, controls, installations, maintenance, service, post-sales, help","Technical Assistance");
c++; item[c]=new Array("http://www.uvgi.es/index_i.html","","UVGI","uvgi, disinfection, germicidal, ultraviolet, sterilization, germs, microbes, bacteria, virus, fungi, uvc","Germicidal disinfection by UV light");

codigo="<br><h2 align=center><u>Search results</u></h2><table border=0 cellspacing=10 width=80%>";

function search(frm) {
win = document.getElementById("resultado");
win.innerHTML=codigo;
txt = frm.srchval.value.split(" ");
fnd = new Array(); total=0;
for (i = 0; i < item.length; i++) {
fnd[i] = 0; order = new Array(0, 4, 2, 3);
for (j = 0; j < order.length; j++)
for (k = 0; k < txt.length; k++)
if (item[i][order[j]].toLowerCase().indexOf(txt[k]) > -1 && txt[k] != "")
fnd[i] += (j+1);
}
for (i = 0; i < fnd.length; i++) {
n = 0; w = -1;
for (j = 0;j < fnd.length; j++)
if (fnd[j] > n) { n = fnd[j]; w = j; };
if (w > -1) total += show(w, win, n);
fnd[w] = 0;
}
win.innerHTML+="</table><br><p align='center'><font size=2>Total ocurrences: "+total+"<br></body></html></font>";
}
function show(which,wind) {
link = item[which][1] + item[which][0];
line = "<br><tr><td><a href='"+link+"'>"+item[which][2]+"</a><br>";
line += item[which][4] + "<br></td></tr>";
wind.innerHTML+=line;
return 1;
}
