<!-- // Funzione ricerca nel Sito - Adapted by Gian 2005

var item = new Array();

/* Here is where all the magic happens.  
    Just enter as many additional pages that
    that you want to search, then fill in the
    additional listings for each page.
*/

// "Page Name","path","Page Title","Many,Key,Words","Descriptive Comments"

c=0; item[c]=new Array("index.html","http://www.cs-strumentazione.com/","Home","index, main, start, home","CS WebSite Homepage.");
c++; item[c]=new Array("handset_testing.html","http://www.cs-strumentazione.com/++++applications/","Handset testing","handset, test, automatic, receiving, sending, testing, head, flng, marker, simulator, pneumatic, adapter, acoustic, cs8030, loudness, receiver, coupler, hearing, aids, ha, mouth","");
c++; item[c]=new Array("voip_speech_testing.htm","http://www.cs-strumentazione.com/++++applications/","VoIP speech testing","voip, voip4, voip-4, speech, interface, sip, server, h323, tcp, udp, gateway, pabx","");
c++; item[c]=new Array("links.htm","http://www.cs-strumentazione.com/company/","Links page","telecom, telecommunications, standards, links, etsi, itu, italia, british, international, institute, australian, standardization, european, operator, sweden, telekom, telenet, belgacom, spain, bellcore, france, ascom, swisscom, deutsche, portugal, dutch, greek, national","");
c++; item[c]=new Array("gsm_voice_testing.html","http://www.cs-strumentazione.com/++++applications/","GSM voice testing","gsm, testing, voice, system, test, cs8030,  fast, receiving, sending, telephones, equipment, telephonometric, sidetone, simulator, frequency, artificial, measurements, sensitivity, loudness, head, mobile, acoustic","");
c++; item[c]=new Array("isdn_conformance_testing.html","http://www.cs-strumentazione.com/++++applications/","ISDN conformance testing","isdn, conformance, interface, digital, pabx, interface, ctr8, pcm, pstn, network","");
c++; item[c]=new Array("sms_conformance_testing.html","http://www.cs-strumentazione.com/++++applications/","SMS conformance testing","short, message, conformance, messages, sms, SMS, cs8014, service, deliver, submit, centre, protocols, transceiver, win8014, caller","");
c++; item[c]=new Array("8014_telephone_test_system.htm","http://www.cs-strumentazione.com/products/cs8014/","CS8014 Telephone test system"," telephone, testing, cs8014, system, tester, isdn, sms, voip, etsi, pstn, dect, telephones, fft, tbr21, ctr21, tbr38, ctr38, wireless, telecom, phone","");
c++; item[c]=new Array("development.htm","http://www.cs-strumentazione.com/products/","Development","testing, semiautomatic, pneumatic, equipment, cs8014, cs8101, manufacturing, cs8102,handset,Handset, cs8002, cs8100, tester, mechanical, keyboard, head, boards, circuit","");
c++; item[c]=new Array("telephone_test_system_composition(1).htm","http://www.cs-strumentazione.com/products/cs8014/","Electroacoustic devices"," head, acoustic, handset, testing, universal, magnetic,handsets, electroacoustic, telephone, orifice, adapter, bra, gsm, cordless, cs8014, ph18, ph-18, fcc, earcap, buzzers, loudspeaker, microphone, mouth","");
c++; item[c]=new Array("telephone_test_system_composition(2).htm","http://www.cs-strumentazione.com/products/cs8014/","Electrical coupling"," electrical, telephone, wires, cs8014, coupling, circuits, coupler, ae1, ae-1, impedance, transducers, microphones,  terminals, electret, handsets, feeding, boards, fc-4, fc4","");
c++; item[c]=new Array("telephone_test_system_composition(3).htm","http://www.cs-strumentazione.com/products/cs8014/","Accessories"," cs8014, telephone, isdn,  etsi, remote, line, interface, cs2035w, cs2037, cs2035, terminals, tbr21, ctr21, tbr38, ctr38, impedance, actuators, fcc, win8014, ctr8, pstn,  pabx","");
c++; item[c]=new Array("signalclip_option.htm","http://www.cs-strumentazione.com/products/cs8014/sign-opt-clip/","Options"," called, caller, calling, cli, clip, cs8014, dtmf, etsi, fsk, identification, identifier, line, pstn, telephone, tone, v23, win8014","");
c++; item[c]=new Array("8030_test_system_for_telephonometry.htm","http://www.cs-strumentazione.com/products/cs8030/","CS8030 Test system for Telephonometry"," cs8030, tester, Tester, Telephone, telephone,handsets,Handsets, gsm, cordless, telephonometry, pstn, cs2040, wireless, loudspeakers, aids","");
c++; item[c]=new Array("ac-4_test_head.htm","http://www.cs-strumentazione.com/products/ac-4/","AC-4 Extended Range Test Head"," head, Head,handset, acoustic, cs8030, artificial, ear, mouth, Mouth, telephone, cs8014, hearing, aids, ha, bra, ac4003, ac4002, simulator, adapter,handsets","");
c++; item[c]=new Array("cs2040_pressure_calibrator.htm","http://www.cs-strumentazione.com/products/cs2040/","CS2040  Extended range Pressure Calibrator"," calibration, cs2040, pressure, calibrator, microphone, Microphone, acoustic, extended, sound, cs8014, cavity, calibrations, sensitivity, cs8030, en45001","");
c++; item[c]=new Array("isdn-4.html","http://www.cs-strumentazione.com/products/isdn_4/","ISDN-4 ISDN interface for CS8014"," isdn, interface, cs8014, telephone, pabx, termination, subscriber, ctr8, feeding, etsi","");
c++; item[c]=new Array("sms-4.html","http://www.cs-strumentazione.com/products/sms_4/","SMS-4 Short Message Service for CS8014"," message, sms, service, short, centre, protocol, cs8014, telephone, etsi, protocols, pstn, cli, fsk, gsm,  submitted, delivery, deliver, submit, submission, submitting, delivering, delivered, subscriber, win8014, dtmf, delivers, email, clip","");
c++; item[c]=new Array("6015_test_system.htm","http://www.cs-strumentazione.com/products/cs6015/","CS6015 – Ultra low cost, full optional Telephone Test Equipment"," cs6015, telephone, equipment, telefax, answer machine, tbr21, tbr38, voip, dect, pstn, isdn, win6015, hands-free, ha, hands free, sms, quality assurance, cordless, wireless, etsi","");
c++; item[c]=new Array("electrical_testing_equipments.htm","http://www.cs-strumentazione.com/products/","Electrical Testing Equipments"," cs2004, cs2014, cs2019, cs2021, cs5014, cable tester, relay life tester, relay, relè, pulse generator, generator, continuity tester, continuity, relay coils tester, relays life-tester, resistance tester, diode tester, transistor tester","");
c++; item[c]=new Array("measurement_systems.htm","http://www.cs-strumentazione.com/products/","Measurement Systems"," cs8502, cs2013, cs2015, cs2018, data acquisition, relay times, measurement set, noise generator, noise, level meter","");
c++; item[c]=new Array("products.htm","http://www.cs-strumentazione.com/company/","Products"," ase-1, ase1, ph-18, ph18, fc-4, fc4, cs8014, cs6015, cs8030, ac3, ac-3, ac-4, ac4, ac3.5, ac3002, ac-3002, ac-4002, ac4002, cs2009b, cs2009mf, aj034, aj-034, aj-035, aj035, aj-036, aj036, ac-3005, ac3005, ac-4005, ac4005, software, products, certification, calibration, amplification unit, sound level meter, hearing aids, interface, calibrator, tester, head, test, measurement, system, simulator, ear, mouth, pressure, electrical, auricular, signalling, noise generator, cable tester, program builder, production monitor","");
c++; item[c]=new Array("","http://www.cs-strumentazione.com/company/","Products"," software, products, certification, calibration, amplification unit, sound level meter, hearing aids, interface, calibrator, tester, head, test, measurement, system, simulator, ear, mouth, pressure, electrical, auricular, signalling, noise generator, cable tester, relays life-tester, program builder, production monitor","");

//Formato tabella dei risultati......
page="<html><head><title>Search Results in CS WebSite</title><font face=verdana color=red size=+1></font></head><body bgcolor='white' ><center><table border=0 bgcolor='white' cellspacing=0 width=80%>";

function search(frm) {

//win = window.open("","","scrollbars,width=400,heigth=300");
win = window.open("","","scrollbars,width=400,heigth=300");
win.document.write(page);

//converte in minuscolo le parole
entry=frm.srchval.value.toLowerCase();
//splitta le diverse parole immesse nel box di ricerca quando incontra uno spazio
txt = entry.split(" ");
//////txt = frm.srchval.value.split(" ");
//aggiunta x visualizzare le keyword di ricerca
keyword=txt

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] != "")
if (item[i][order[j]].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);
if (w > -1) total += show(w, win, n, keyword);
fnd[w] = 0;
}
win.document.write("</table><font face=verdana size=0><br>Total found: "+total+"<br>for Keyword(s): "+"</font><font face=verdana color=red size=+1>"+keyword+"<br></font></body></html>");
win.document.close();
}
//function show(which,wind,num) {
function show(which,wind,num,keyw) {
link = item[which][1] + item[which][0]; 
//line = "<tr><td><a href='"+link+"'>"+item[which][2]+"</a> Score: "+num+"<br>";
line = "<tr><td><img border='0' src='http://www.cs-strumentazione.com/images/sphere02.gif' align='middle'><font face=verdana color=red size=0><a href='"+link+"' target='_BLANK'>"+item[which][2]+"</a><br></font>";
//line = "<tr><td><img border='0' src='http://www.cs-strumentazione.com/images/sphere02.gif' align='middle'><font face=verdana color=red size=0><a href='"+link+"' target='_TOP'>"+item[which][2]+"</a><br></font>";
//line += item[which][4] + "<br>"+link+"</td></tr>";
//line += item[which][4] + "<br></td></tr>";
line += item[which][4] + "<HR>";
wind.document.write(line);
return 1;
}

//-->