/*COMPUTER*/
var Types = new Object;
Types["I"] = new Array('Acer','Apple','Asus','Benq','Cybermate','Dell','Ecs','Fujitsu-Siemens','Hp-Compaq','Ibm','Maxdata','Medion','Mitac','Nec','Packard Bell','Sony','Toshiba','Yashi');
Types["Desktop"] = new Array('Acer','Apple','Cybermate','Dell','Ecs','Fujitsu-Siemens','Hp-Compaq','Ibm','Maxdata','Medion','Nec','Packard Bell','Sony','Yashi');
Types["Laptop"] = new Array('Acer','Apple','Asus','Benq','Dell','Ecs','Fujitsu-Siemens','Hp-Compaq','Ibm','Maxdata','Medion','Mitac','Nec','Packard Bell','Sony','Toshiba');
Types["Server"] = new Array('Acer','Apple','Cybermate','Dell','Fujitsu-Siemens','Hp-Compaq','Ibm','Maxdata','Nec','Toshiba');
Types["Barebone"] = new Array('Aopen','Asus','Msi');

function updateSelect(a,m){
    t = Types[a.options[a.selectedIndex].value];
    var z = document.computerSearch.mark;
    z.options.length=t.length + 1;
    z.options[0] = new Option('Tutte','I');z.options[0].selected = true;
    for (i=1;i<z.options.length;i++) {
        z.options[i] = new Option(t[i-1],t[i-1]);
        if (m == t[i-1]) {
            z.options[i].selected = true;
        }
    }
}

I = new Array('3com','3m','Abit','Acard','Accord','Acer','Acorp','Adaptec','Aethra','Aiptek','Alcatel','Allied Telesyn','Altec','Amd','Antec','Anteg','Anycom','Aopen','Apacer','Apc','Apple','Archos','Argosy','Artec','Asus','Asuscom','Ati','Atlantis Land','Avery','Azza','Barebo','Belkin','Benq','Brother','Btc','Byebyte','Canon','Centronics','Cisco','Citizen','Compaq','Compatibili','Compuprint','Conceptronic','Cooler Master','Corsair','Creative Labs','D-link','Data Products','Datafab','Datasurf','Dell','Destinator','Digicom','Dimm','Disgo','Diskonkey','Dynamode','E-motion','Ecs','Edirol','Eicon','Elsa','Empire','Energizer','Epox','Epson','Eutron','Fast Multimedia','Fic','Freecom','Fujifilm','Fujitsu','G&amp;bl','Genicom','Genius','Gigabyte','Hagiwara','Hamlet','Handspring','Hauppauge','Hercules','Hitachi','Hp','Hyundai','Ibm','Ihr','Imation','Intel','Iomega','Itek','Ixix','Jenoptik','Jvc','Katun','Kensington','Kingston','Kinyo','Kme','Kodak','Konica Minolta','Krusell','Kyocera Mita','Labtec','Lacie','Lafayette','Lanier','Lexar','Lexmark','Lg','Lian-li','Lindy','Lite-on','Logitech','M-systems','Magellan','Magnex','Matrox','Matsuyama','Maxell','Maxtor','Mcafee','Mediacom','Memory Attack','Metasystem','Microsoft','Microstar','Midiland','Mitsubishi','Msi','Mustek','Mylex','Nashuatec','Navman','Nec','Neteasy','Netgear','Nikon','Nintendo','Nokia','Nortek','Oki','Olivetti','Olivetti Tecnost','Olympus','Online','Oregon Scientific','Palm','Panasonic','Philips','Pinnacle','Pioneer','Plantronics','Plextor','Plus','Polaroid','Pretec','Qdi','Qms','Reporter','Ricoh','Roper','Roxio','Samsung','Sandisk','Sapphire','Seagate','Seikosha','Sharp','Shuttle','Siemens','Sitecom','Smc Networks','Socket','Sony','Sparkle','Star','Super Flower','Tally','Targus','Tdk','Teac','Techair','Tecnosteel','Tecnoware','Tecom','Tektronix','Terratec','Texas','Tico','Toshiba','Transcend','Traxdata','Trust','Tucano','Tx','Us Robotics','Verbatim','Viking','Wacom','Waitec','Western Digital','Wisecom','Wytek','X-hyena','Xerox','Xircom','Yamaha','Zyxel');
backup = new Array('Acer','Compaq','Dell','Hp','Iomega','Toshiba');
caseeaccessori = new Array('Antec','Apple','Asus','Barebo','Cooler Master','Itek','Ixix','Kme','Lian-li','Super Flower','X-hyena');
cddvdvergini = new Array('Fujitsu','Imation','Lacie','Maxell','Philips','Sony','Tdk','Traxdata','Verbatim','Waitec');
controller = new Array('Adaptec','Mylex');
dissipatori = new Array('Amd','Antec','Cooler Master','Intel');
dvdwriter = new Array('Asus','Benq','Freecom','Hp','Iomega','Lacie','Lg','Lite-on','Nec','Philips','Pioneer','Plextor','Sony','Teac','Tx');
continuit = new Array('Apc','Atlantis Land','Belkin','Dell','Lafayette','Metasystem','Mustek','Online','Tecnoware','Trust');
harddisk = new Array('Acer','Archos','Compaq','Dell','Eutron','Freecom','Fujitsu','Hitachi','Hp','Ibm','Imation','Iomega','Lacie','M-systems','Maxtor','Samsung','Seagate','Toshiba','Western Digital');
joystick = new Array('Logitech','Microsoft','Nintendo','Trust');
lettoricd = new Array('Acer','Artec','Asus','Benq','Btc','Dell','Fujitsu','Imation','Lacie','Lg','Lite-on','Maxell','Nec','Philips','Plextor','Polaroid','Samsung','Sony','Tdk','Toshiba','Traxdata','Verbatim','Waitec');
lettoridvd = new Array('Acer','Artec','Asus','Benq','Btc','Dell','Fujitsu','Imation','Lacie','Lg','Lite-on','Maxell','Nec','Philips','Plextor','Polaroid','Samsung','Sony','Tdk','Toshiba','Traxdata','Verbatim','Waitec');
masterizzatori = new Array('Acer','Asus','Benq','Compaq','Freecom','Hp','Ibm','Iomega','Lacie','Lg','Lite-on','Nec','Philips','Pioneer','Plextor','Samsung','Sony','Teac','Tx','Waitec','Yamaha');
memoria = new Array('Compaq','Corsair','Fujitsu','Hyundai','Ibm','Memorie Micron','Nec','Viking');
modding = new Array();
modem = new Array('3com','Accord','Asus','Asuscom','Atlantis Land','Compaq','Conceptronic','Creative Labs','D-link','Datasurf','Digicom','Dynamode','Eicon','Hamlet','Mediacom','Neteasy','Nortek','Palm','Roper','Sitecom','Trust','Us Robotics','Wisecom','Wytek','Zyxel');
mousetastiere = new Array('Apple','Btc','Compaq','Dell','Genius','Hp','Ibm','Itek','Kensington','Labtec','Lg','Lindy','Logitech','Mediacom','Microsoft','Nortek','Targus','Trust');
networkinghub = new Array('3com','Allied Telesyn','Apc','Atlantis Land','Belkin','Cisco','Conceptronic','D-link','Digicom','Hamlet','Hp','Kensington','Lindy','Matsuyama','Neteasy','Netgear','Nortek','Roper','Sitecom','Smc Networks','Trust','Us Robotics','Zyxel');
wireless = new Array('3com','Acer','Allied Telesyn','Anycom','Apple','Asus','Atlantis Land','Belkin','Cisco','Compaq','Conceptronic','D-link','Digicom','Hamlet','Ibm','Intel','Neteasy','Netgear','Nortek','Roper','Sitecom','Socket','Tdk','Tecom','Trust','Us Robotics','Xircom','Zyxel');
networkingaltro = new Array('3com','Allied Telesyn','Apc','Asuscom','Atlantis Land','Belkin','Cisco','Compaq','D-link','Digicom','Epson','Hp','Ibm','Ihr','Matsuyama','Neteasy','Netgear','Roper','Sitecom','Targus','Trust','Us Robotics','Zyxel');
processori = new Array('Amd','Compaq','Hp','Ibm','Intel');
schedetv = new Array('Fast Multimedia','Hauppauge','Pinnacle','Trust');
schedeaudio = new Array('Creative Labs','Genius','Hercules','Labtec','Logitech','Mediacom','Philips','Terratec','Trust');
schederete = new Array('3com','Allied Telesyn','Atlantis Land','Belkin','Cisco','D-link','Digicom','Dynamode','Hamlet','Ibm','Intel','Lindy','Neteasy','Netgear','Nortek','Roper','Sitecom','Us Robotics','Vari','Xircom');
schedemadri = new Array('Abit','Acorp','Asus','Ati','Azza','Ecs','Epox','Gigabyte','Intel','Microstar','Qdi','Sapphire','Shuttle');
schedevideo = new Array('Abit','Adaptec','Aopen','Asus','Ati','Compaq','Creative Labs','Lindy','Hercules','Matrox','Microstar','Msi','Sapphire','Sparkle');
speaker = new Array('Altec','Creative Labs','Genius','Kinyo','Labtec','Logitech','Microsoft','Midiland','Philips','Plantronics','Trust');
stampanticarta = new Array('3m','Brother','Canon','Epson','Fujitsu','Hp','Imation','Kodak','Jvc','Lexmark','Mitsubishi','Olympus','Panasonic','Sony','Tdk','Xerox');
stampanticartucce = new Array('Brother','Canon','Citizen','Compatibili','Epson','Fujitsu','Hp','Katun','Kodak','Lexmark','Oki','Olivetti','Panasonic','Samsung','Sharp','Tally','Tdk','Xerox');
stampantinastri = new Array('Brother','Canon','Centronics','Compatibili','Compuprint','Epson','Fujitsu','Genicom','Hp','Lexmark','Nec','Oki','Olivetti','Panasonic','Ricoh','Seikosha','Star','Tally');
stampantitoner = new Array('Apple','Brother','Canon','Compatibili','Compuprint','Data Products','Epson','Fujitsu','Hp','Ibm','Katun','Konica Minolta','Kyocera Mita','Lanier','Lexmark','Nashuatec','Nec','Oki','Olivetti','Panasonic','Philips','Qms','Ricoh','Samsung','Sharp','Tally','Texas','Toshiba','Xerox');
tavolette = new Array('Aiptek','Trust','Wacom');
webcam = new Array('Atlantis Land','Creative Labs','D-link','Fujifilm','Jenoptik','Kodak','Labtec','Lindy','Logitech','Mustek','Neteasy','Olympus','Oregon Scientific','Philips','Reporter','Trust');
varie = new Array('3com','3m','Acer','Adaptec','Alcatel','Allied Telesyn','Anteg','Apacer','Apc','Apple','Archos','Argosy','Asus','Asuscom','Ati','Avery','Belkin','Brother','Byebyte','Canon','Cisco','Compaq','Compatibili','Compuprint','Conceptronic','Creative Labs','D-link','Dell','Destinator','Digicom','Disgo','Diskonkey','E-motion','Ecs','Edirol','Energizer','Epson','Eutron','Freecom','Fujitsu','G&bl','Gigabyte','Hamlet','Handspring','Hp','Ibm','Imation','Intel','Iomega','Katun','Kensington','Kingston','Konica Minolta','Krusell','Kyocera Mita','Labtec','Lacie','Lanier','Lexar','Lexmark','Lg','Lindy','Logitech','Magellan','Matsuyama','Maxell','Maxtor','Memory Attack','Microsoft','Mustek','Nashuatec','Navman','Nec','Neteasy','Nikon','Nokia','Oki','Olivetti','Palm','Panasonic','Philips','Plus','Pretec','Ricoh','Roxio','Samsung','Sandisk','Sharp','Sitecom','Socket','Sony','Star','Tally','Targus','Tdk','Techair','Tecnosteel','Tektronix','Texas','Tico','Toshiba','Traxdata','Trust','Tucano','Verbatim','Viking','Waitec','Xerox','Yamaha');

function updateSelectPeriferiche(a,m){
    items = new Array('I','backup','caseeaccessori','cddvdvergini','controller','dissipatori','continuit','harddisk','joystick','lettoricd','lettoridvd','masterizzatori','dvdwriter','memoria','modding','modem','mousetastiere','networkinghub','wireless','networkingaltro','processori','schedetv','schedeaudio','schederete','schedemadri','schedevideo','speaker','stampanticarta','stampanticartucce','stampantinastri','stampantitoner','tavolette','webcam','varie');
    var v = a.options[a.selectedIndex].value;t='I';
    for (i=0;i<items.length;i++) {if (v == items[i]) {t=eval(items[i]);break;}}
        addOptions(t,m);
    }
function addOptions(t,m){
    var z = document.searchPeriferiche.mark;
    z.options.length=(t.length + 1);
    z.options[0] = new Option('Tutte','I');z.options[0].selected = true;
    for (i=1;i<z.options.length;i++) {
        z.options[i] = new Option(t[i-1],t[i-1]);
        if (m == t[i-1]) z.options[i].selected = true;
    }
}

