var submenus = new Array(7);

for(i=0;i<8;i++)submenus[i]=new Array;

submenus[0][0]=new Array("/auto/index.php?firma=Akai","Akai");
submenus[0][1]=new Array("/auto/index.php?firma=Alpine","Alpine");
submenus[0][2]=new Array("/auto/index.php?firma=Blaupunkt","Blaupunkt");
submenus[0][3]=new Array("/auto/index.php?firma=Calcell","Calcell");
submenus[0][4]=new Array("/auto/index.php?firma=Clarion","Clarion");
submenus[0][5]=new Array("/auto/index.php?firma=Eclipse","Eclipse");
submenus[0][6]=new Array("/auto/index.php?firma=Eplutus","Eplutus");
submenus[0][7]=new Array("/auto/index.php?firma=Farenheit","Farenheit");
submenus[0][8]=new Array("/auto/index.php?firma=Fusion","Fusion");
submenus[0][9]=new Array("/auto/index.php?firma=Hyundai","Hyundai");
submenus[0][10]=new Array("/auto/index.php?firma=Intro","Intro");
submenus[0][11]=new Array("/auto/index.php?firma=JVC","JVC");
submenus[0][12]=new Array("/auto/index.php?firma=Kenwood","Kenwood");
submenus[0][13]=new Array("/auto/index.php?firma=LG","LG");
submenus[0][14]=new Array("/auto/index.php?firma=McIntosh","McIntosh");
submenus[0][15]=new Array("/auto/index.php?firma=Motevo","Motevo");
submenus[0][16]=new Array("/auto/index.php?firma=Mystery","Mystery");
submenus[0][17]=new Array("/auto/index.php?firma=Nakamichi","Nakamichi");
submenus[0][18]=new Array("/auto/index.php?firma=NRG","NRG");
submenus[0][19]=new Array("/auto/index.php?firma=nTray","nTray");
submenus[0][20]=new Array("/auto/index.php?firma=Panasonic","Panasonic");
submenus[0][21]=new Array("/auto/index.php?firma=Phantom","Phantom");
submenus[0][22]=new Array("/auto/index.php?firma=Philips","Philips");
submenus[0][23]=new Array("/auto/index.php?firma=Pioneer","Pioneer");
submenus[0][24]=new Array("/auto/index.php?firma=Premiera","Premiera");
submenus[0][25]=new Array("/auto/index.php?firma=Prology","Prology");
submenus[0][26]=new Array("/auto/index.php?firma=Sony","SONY");
submenus[0][27]=new Array("/auto/index.php?firma=Soundmax","Soundmax");
submenus[0][28]=new Array("/auto/index.php?firma=Supra","Supra");
submenus[0][29]=new Array("/auto/index.php?firma=Teac","Teac");
submenus[0][30]=new Array("/auto/index.php?firma=Trinity","Trinity");
submenus[0][31]=new Array("/auto/index.php?firma=Varta","Varta");
submenus[0][32]=new Array("/auto/index.php?firma=Velas","Velas");
submenus[0][33]=new Array("/auto/index.php?firma=Videovox","Videovox");
submenus[0][34]=new Array("/auto/index.php?firma=Winca","Winca");
submenus[0][35]=new Array("/auto/tip.php?tip=2DIN","Размер 2 DIN");
submenus[0][36]=new Array("/auto/tip.php?tip=HEAD","Штатные ресиверы");
submenus[0][37]=new Array("/auto/tip.php?tip=TFT","Автомагнитолы с ЖК панелью");
submenus[0][38]=new Array("/auto/tip.php?tip=DVD","Автомагнитолы с возможностью воспроизведения DVD");
submenus[0][39]=new Array("/auto/tip.php?tip=USB","Автомагнитолы с возможностью воспроизведения USB");
submenus[0][40]=new Array("/auto/tip.php?tip=MP3","Автомагнитолы с возможностью воспроизведения MP3");
submenus[0][41]=new Array("/auto/tip.php?tip=NAVI","Автомагнитолы с функцией навигации");

submenus[1][0]=new Array("/acoustic/index.php?firma=Alpine","Alpine");
submenus[1][1]=new Array("/acoustic/index.php?firma=Art Sound","Art Sound");
submenus[1][2]=new Array("/acoustic/index.php?firma=Audio system","Audio system");
submenus[1][3]=new Array("/acoustic/index.php?firma=Audiobahn","Audiobahn");
submenus[1][4]=new Array("/acoustic/index.php?firma=Audison","Audison");
submenus[1][5]=new Array("/acoustic/index.php?firma=Auditor","Auditor");
submenus[1][6]=new Array("/acoustic/index.php?firma=Beyma","Beyma");
submenus[1][7]=new Array("/acoustic/index.php?firma=Blaupunkt","Blaupunkt");
submenus[1][8]=new Array("/acoustic/index.php?firma=BOSS Audio","BOSS Audio");
submenus[1][9]=new Array("/acoustic/index.php?firma=Boston Acoustics","Boston Acoustics");
submenus[1][10]=new Array("/acoustic/index.php?firma=Brax","Brax");
submenus[1][11]=new Array("/acoustic/index.php?firma=Bull Audio","Bull Audio");
submenus[1][12]=new Array("/acoustic/index.php?firma=Cadence","Cadence");
submenus[1][13]=new Array("/acoustic/index.php?firma=Canton","Canton");
submenus[1][14]=new Array("/acoustic/index.php?firma=Challenger","Challenger");
submenus[1][15]=new Array("/acoustic/index.php?firma=Ciare","Ciare");
submenus[1][16]=new Array("/acoustic/index.php?firma=Clarion","Clarion");
submenus[1][17]=new Array("/acoustic/index.php?firma=Crunch","Crunch");
submenus[1][18]=new Array("/acoustic/index.php?firma=Daewoo","Daewoo");
submenus[1][19]=new Array("/acoustic/index.php?firma=DLS","DLS");
submenus[1][20]=new Array("/acoustic/index.php?firma=Dragster","Dragster");
submenus[1][21]=new Array("/acoustic/index.php?firma=Dynaudio","Dynaudio");
submenus[1][22]=new Array("/acoustic/index.php?firma=E.O.S.","E.O.S.");
submenus[1][23]=new Array("/acoustic/index.php?firma=Eton","Eton");
submenus[1][24]=new Array("/acoustic/index.php?firma=X-program by DLS","X-program by DLS");
submenus[1][25]=new Array("/acoustic/index.php?firma=Focal","Focal");
submenus[1][26]=new Array("/acoustic/index.php?firma=Fusion","Fusion");
submenus[1][27]=new Array("/acoustic/index.php?firma=Ground Zero","Ground Zero");
submenus[1][28]=new Array("/acoustic/index.php?firma=Helix","Helix");
submenus[1][29]=new Array("/acoustic/index.php?firma=Hertz","Hertz");
submenus[1][30]=new Array("/acoustic/index.php?firma=Hyundai","Hyundai");
submenus[1][31]=new Array("/acoustic/index.php?firma=Infinity","Infinity");
submenus[1][32]=new Array("/acoustic/index.php?firma=Genesis","Genesis");
submenus[1][33]=new Array("/acoustic/index.php?firma=JBL","JBL");
submenus[1][34]=new Array("/acoustic/index.php?firma=JL Audio","JL Audio");
submenus[1][35]=new Array("/acoustic/index.php?firma=JVC","JVC");
submenus[1][36]=new Array("/acoustic/index.php?firma=Kenwood","Kenwood");
submenus[1][37]=new Array("/acoustic/index.php?firma=Kicker","Kicker");
submenus[1][38]=new Array("/acoustic/index.php?firma=Kicx","Kicx");
submenus[1][39]=new Array("/acoustic/index.php?firma=Lanzar","Lanzar");
submenus[1][40]=new Array("/acoustic/index.php?firma=Lightning Audio","Lightning Audio");
submenus[1][41]=new Array("/acoustic/index.php?firma=Mac Audio","Mac Audio");
submenus[1][42]=new Array("/acoustic/index.php?firma=Macrom","Macrom");
submenus[1][43]=new Array("/acoustic/index.php?firma=Magnat","Magnat");
submenus[1][44]=new Array("/acoustic/index.php?firma=MB Quart","MB Quart");
submenus[1][45]=new Array("/acoustic/index.php?firma=McIntosh","McIntosh");
submenus[1][46]=new Array("/acoustic/index.php?firma=Morel","Morel");
submenus[1][47]=new Array("/acoustic/index.php?firma=MTX","MTX");
submenus[1][48]=new Array("/acoustic/index.php?firma=Nakamichi","Nakamichi");
submenus[1][49]=new Array("/acoustic/index.php?firma=NRG","NRG");
submenus[1][50]=new Array("/acoustic/index.php?firma=Pad","Pad");
submenus[1][51]=new Array("/acoustic/index.php?firma=Panasonic","Panasonic");
submenus[1][52]=new Array("/acoustic/index.php?firma=Phantom","Phantom");
submenus[1][53]=new Array("/acoustic/index.php?firma=Philips","Philips");
submenus[1][54]=new Array("/acoustic/index.php?firma=Phoenix Gold","Phoenix Gold");
submenus[1][55]=new Array("/acoustic/index.php?firma=Phonocar","Phonocar");
submenus[1][56]=new Array("/acoustic/index.php?firma=Pioneer","Pioneer");
submenus[1][57]=new Array("/acoustic/index.php?firma=PolkAudio","PolkAudio");
submenus[1][58]=new Array("/acoustic/index.php?firma=Ppi","Ppi");
submenus[1][59]=new Array("/acoustic/index.php?firma=Precision Power","Precision Power");
submenus[1][60]=new Array("/acoustic/index.php?firma=Prology","Prology");
submenus[1][61]=new Array("/acoustic/index.php?firma=Revolt","Revolt");
submenus[1][62]=new Array("/acoustic/index.php?firma=Rockford Fosgate","Rockford Fosgate");
submenus[1][63]=new Array("/acoustic/index.php?firma=Sony","Sony");
submenus[1][64]=new Array("/acoustic/index.php?firma=Vtrek","Vtrek");
submenus[1][65]=new Array("/acoustic/index.php?firma=Soundstream","Soundstream");
submenus[1][66]=new Array("/acoustic/index.php?firma=Zapco","Zapco");
submenus[1][67]=new Array("/acoustic/tip.php?d=15x22,5","Автомобильные колонки (блины)");
submenus[1][68]=new Array("/acoustic/tip.php?d=16,5","Автомобильные колонки (17 см)");
submenus[1][69]=new Array("/acoustic/tip.php?d=13","Автомобильные колонки (12-14 см)");
submenus[1][70]=new Array("/acoustic/tip.php?d=10","Автомобильные колонки (9-11 см)");

submenus[2][0]=new Array("/amp/index.php?firma=Adagio","Adagio");
submenus[2][1]=new Array("/amp/index.php?firma=Alpine","Alpine");
submenus[2][2]=new Array("/amp/index.php?firma=Audio System","Audio System");
submenus[2][3]=new Array("/amp/index.php?firma=Audiobahn","Audiobahn");
submenus[2][4]=new Array("/amp/index.php?firma=Audiotop","Audiotop");
submenus[2][5]=new Array("/amp/index.php?firma=Audison","Audison");
submenus[2][6]=new Array("/amp/index.php?firma=Bassworx","Bassworx");
submenus[2][7]=new Array("/amp/index.php?firma=Blaupunkt","Blaupunkt");
submenus[2][8]=new Array("/amp/index.php?firma=Boston Acoustics","Boston Acoustics");
submenus[2][9]=new Array("/amp/index.php?firma=Cadence","Cadence");
submenus[2][10]=new Array("/amp/index.php?firma=Crunch","Crunch");
submenus[2][11]=new Array("/amp/index.php?firma=Clarion","Clarion");
submenus[2][12]=new Array("/amp/index.php?firma=DLS","DLS");
submenus[2][13]=new Array("/amp/index.php?firma=X-program by DLS","X-program by DLS");
submenus[2][14]=new Array("/amp/index.php?firma=E.O.S.","E.O.S.");
submenus[2][15]=new Array("/amp/index.php?firma=Eton","Eton");
submenus[2][16]=new Array("/amp/index.php?firma=Focal","Focal");
submenus[2][17]=new Array("/amp/index.php?firma=Fusion","Fusion");
submenus[2][18]=new Array("/amp/index.php?firma=Helix","Helix");
submenus[2][19]=new Array("/amp/index.php?firma=Hertz","Hertz");
submenus[2][20]=new Array("/amp/index.php?firma=Infinity","Infinity");
submenus[2][21]=new Array("/amp/index.php?firma=Genesis","Genesis");
submenus[2][22]=new Array("/amp/index.php?firma=Ground Zero","Ground Zero");
submenus[2][23]=new Array("/amp/index.php?firma=JBL","JBL");
submenus[2][24]=new Array("/amp/index.php?firma=JL Audio","JL Audio");
submenus[2][25]=new Array("/amp/index.php?firma=JVC","JVC");
submenus[2][26]=new Array("/amp/index.php?firma=Kenwood","Kenwood");
submenus[2][27]=new Array("/amp/index.php?firma=Kicker","Kicker");
submenus[2][28]=new Array("/amp/index.php?firma=Kicx","Kicx");
submenus[2][29]=new Array("/amp/index.php?firma=Lanzar","Lanzar");
submenus[2][30]=new Array("/amp/index.php?firma=Lightning Audio","Lightning Audio");
submenus[2][31]=new Array("/amp/index.php?firma=Mac Audio","Mac Audio");
submenus[2][32]=new Array("/amp/index.php?firma=Macrom","Macrom");
submenus[2][33]=new Array("/amp/index.php?firma=Magnat","Magnat");
submenus[2][34]=new Array("/amp/index.php?firma=McIntosh","McIntosh");
submenus[2][35]=new Array("/amp/index.php?firma=MTX","MTX");
submenus[2][36]=new Array("/amp/index.php?firma=Mu-Dimension","Mu-Dimension");
submenus[2][37]=new Array("/amp/index.php?firma=Mystery","Mystery");
submenus[2][38]=new Array("/amp/index.php?firma=Nakamichi","Nakamichi");
submenus[2][39]=new Array("/amp/index.php?firma=NRG","NRG");
submenus[2][40]=new Array("/amp/index.php?firma=Panasonic","Panasonic");
submenus[2][41]=new Array("/amp/index.php?firma=Phantom","Phantom");
submenus[2][42]=new Array("/amp/index.php?firma=Phoenix Gold","Phoenix Gold");
submenus[2][43]=new Array("/amp/index.php?firma=Pioneer","Pioneer");
submenus[2][44]=new Array("/amp/index.php?firma=Power Acoustik","Power Acoustik");
submenus[2][45]=new Array("/amp/index.php?firma=PPI","PPI");
submenus[2][46]=new Array("/amp/index.php?firma=Precision Power","Precision Power");
submenus[2][47]=new Array("/amp/index.php?firma=Rockford Fosgate","Rockford Fosgate");
submenus[2][48]=new Array("/amp/index.php?firma=Sony","Sony");
submenus[2][49]=new Array("/amp/index.php?firma=Soundstream","Soundstream");
submenus[2][50]=new Array("/amp/index.php?firma=SPL","SPL");
submenus[2][51]=new Array("/amp/index.php?firma=Supra","Supra");
submenus[2][52]=new Array("/amp/index.php?firma=Teac","Teac");
submenus[2][53]=new Array("/amp/index.php?firma=Zapco","Zapco");
submenus[2][54]=new Array("/amp/index.php?firma=µ-Dimension","µ-Dimension");
submenus[2][55]=new Array("/amp/tip.php?tip=5","На 5-ть или 6-ть автомобильных динамиков + сабвуфер");
submenus[2][56]=new Array("/amp/tip.php?tip=4","На 4-е  автомобильных динамиков");
submenus[2][57]=new Array("/amp/tip.php?tip=2","На 2-е автомобильных динамиков  или на автомобильный сабвуфер");
submenus[2][58]=new Array("/amp/tip.php?tip=1","Сабвуферные автомобильные усилители (одноканальные автомобильные усилители)");

submenus[3][0]=new Array("/sab/index.php?firma=Adagio","Adagio");
submenus[3][1]=new Array("/sab/index.php?firma=Alpine","Alpine");
submenus[3][2]=new Array("/sab/index.php?firma=Art Sound","Art Sound");
submenus[3][3]=new Array("/sab/index.php?firma=Audio Development (AD)","Audio Development (AD)");
submenus[3][4]=new Array("/sab/index.php?firma=Audiobahn","Audiobahn");
submenus[3][5]=new Array("/sab/index.php?firma=AudioTop","AudioTop");
submenus[3][6]=new Array("/sab/index.php?firma=Audison","Audison");
submenus[3][7]=new Array("/sab/index.php?firma=Auditor","Auditor");
submenus[3][8]=new Array("/sab/index.php?firma=Blaupunkt","Blaupunkt");
submenus[3][9]=new Array("/sab/index.php?firma=Boston Acoustics","Boston Acoustics");
submenus[3][10]=new Array("/sab/index.php?firma=Bull Audio","Bull Audio");
submenus[3][11]=new Array("/sab/index.php?firma=Cadence","Cadence");
submenus[3][12]=new Array("/sab/index.php?firma=Clarion","Clarion");
submenus[3][13]=new Array("/sab/index.php?firma=DLS","DLS");
submenus[3][14]=new Array("/sab/index.php?firma=Dragster","Dragster");
submenus[3][15]=new Array("/sab/index.php?firma=Eton","Eton");
submenus[3][16]=new Array("/sab/index.php?firma=FLI","FLI");
submenus[3][17]=new Array("/sab/index.php?firma=X-program by DLS","X-program by DLS");
submenus[3][18]=new Array("/sab/index.php?firma=Focal","Focal");
submenus[3][19]=new Array("/sab/index.php?firma=Fusion","Fusion");
submenus[3][20]=new Array("/sab/index.php?firma=Hertz","Hertz");
submenus[3][21]=new Array("/sab/index.php?firma=Genesis","Genesis");
submenus[3][22]=new Array("/sab/index.php?firma=Ground Zero","Ground Zero");
submenus[3][23]=new Array("/sab/index.php?firma=Infinity","Infinity");
submenus[3][24]=new Array("/sab/index.php?firma=JBL","JBL");
submenus[3][25]=new Array("/sab/index.php?firma=JL Audio","JL Audio");
submenus[3][26]=new Array("/sab/index.php?firma=JVC","JVC");
submenus[3][27]=new Array("/sab/index.php?firma=Kenwood","Kenwood");
submenus[3][28]=new Array("/sab/index.php?firma=Kicker","Kicker");
submenus[3][29]=new Array("/sab/index.php?firma=Kicx","Kicx");
submenus[3][30]=new Array("/sab/index.php?firma=Lightning Audio","Lightning Audio");
submenus[3][31]=new Array("/sab/index.php?firma=Mac Audio","Mac Audio");
submenus[3][32]=new Array("/sab/index.php?firma=Macrom","Macrom");
submenus[3][33]=new Array("/sab/index.php?firma=Magnat","Magnat");
submenus[3][34]=new Array("/sab/index.php?firma=Morel","Morel");
submenus[3][35]=new Array("/sab/index.php?firma=MTX","MTX");
submenus[3][36]=new Array("/sab/index.php?firma=Nakamichi","Nakamichi");
submenus[3][37]=new Array("/sab/index.php?firma=Panasonic","Panasonic");
submenus[3][38]=new Array("/sab/index.php?firma=Philips","Philips");
submenus[3][39]=new Array("/sab/index.php?firma=Pioneer","Pioneer");
submenus[3][40]=new Array("/sab/index.php?firma=Polk Audio","Polk Audio");
submenus[3][41]=new Array("/sab/index.php?firma=PPI","PPI");
submenus[3][42]=new Array("/sab/index.php?firma=Precision Power","Precision Power");
submenus[3][43]=new Array("/sab/index.php?firma=Revolt","Revolt");
submenus[3][44]=new Array("/sab/index.php?firma=Rockford Fosgate","Rockford Fosgate");
submenus[3][45]=new Array("/sab/index.php?firma=Sony","Sony");
submenus[3][46]=new Array("/sab/index.php?firma=Soundstream","Soundstream");
submenus[3][47]=new Array("/sab/index.php?firma=SPL","SPL");
submenus[3][48]=new Array("/sab/index.php?firma=Zapco","Zapco");
submenus[3][49]=new Array("/sab/index.php?firma=µ-Dimension","µ-Dimension");
submenus[3][50]=new Array("/sab/tip.php?tip=1","Автомобильные сабвуферы колонками");
submenus[3][51]=new Array("/sab/tip.php?tip=2","Автомобильные сабвуферы закрытом ящике");
submenus[3][52]=new Array("/sab/tip.php?tip=3","Сабвуферы в ящике с портом");
submenus[3][53]=new Array("/sab/tip.php?tip=4","В ящике Bandpass (динамик внутри)");

submenus[4][0]=new Array("/alarm/index.php?firma=Alligator","Alligator");
submenus[4][1]=new Array("/alarm/index.php?firma=A.P.S.","A.P.S.");
submenus[4][2]=new Array("/alarm/index.php?firma=Black Bug","Black Bug");
submenus[4][3]=new Array("/alarm/index.php?firma=Cenmax","Cenmax");
submenus[4][4]=new Array("/alarm/index.php?firma=Clifford","Clifford");
submenus[4][5]=new Array("/alarm/index.php?firma=Harpoon","Harpoon");
submenus[4][6]=new Array("/alarm/index.php?firma=Mongoose","Mongoose");
submenus[4][7]=new Array("/alarm/index.php?firma=KGB","KGB");
submenus[4][8]=new Array("/alarm/index.php?firma=Pantera","Pantera");
submenus[4][9]=new Array("/alarm/index.php?firma=Scher-Khan","Scher-Khan");
submenus[4][10]=new Array("/alarm/index.php?firma=Sheriff","Sheriff");
submenus[4][11]=new Array("/alarm/index.php?firma=StarLine","StarLine");
submenus[4][12]=new Array("/alarm/index.php?firma=Tomohawk","Tomohawk");
submenus[4][13]=new Array("/alarm/tip.php?tip=5","Преобразователи CAN");
submenus[4][14]=new Array("/alarm/tip.php?tip=4","Иммобилайзеры в автомобиль");
submenus[4][15]=new Array("/alarm/tip.php?tip=3","Сигнализации в автомобиль без двухсторонней связи");
submenus[4][16]=new Array("/alarm/tip.php?tip=2","Сигнализации в автомобиль с двухсторонней связью");
submenus[4][17]=new Array("/alarm/tip.php?tip=1","Сигнализации в автомобиль с двухсторонней связью и дистанционным запуском");
submenus[4][18]=new Array("/alarm/model.php?mode=Moto V7","Сигнализация в мото");

submenus[5][0]=new Array("/other/index.php?tip=antenna","Антенны для автомагнитол");
submenus[5][1]=new Array("/interface/index.php?tip=bluetooth","Bluetooth модули ");
submenus[5][2]=new Array("/other/index.php?tip=gril","Защитные сетки для  автомобильных сабвуферов");
submenus[5][3]=new Array("/crossover/index.php","Разделительные фильтры");
submenus[5][4]=new Array("/tvdvd/index.php?tip=DVD","Телевизоры в автомобиль");
submenus[5][5]=new Array("/other/index.php?tip=fm-modulator","FM-преобразователи");
submenus[5][6]=new Array("/interface/index.php?tip=ipod","Преобразователи под iPod");
submenus[5][7]=new Array("/ramka/index.php","Автомобильные рамки для установки автомагнитол");
submenus[5][8]=new Array("/tvdvd/index.php?tip=camera","Автомобильные Камеры ");
submenus[5][9]=new Array("/other/index.php?tip=xenon","БиКсенон и ксенон");
submenus[5][10]=new Array("/parkmaster/index.php","Радары парковки  (Парктроники)");
submenus[5][11]=new Array("/other/index.php?tip=box","Всевозможные деревянные корпуса для автоакустики");
submenus[5][12]=new Array("/navigation/index.php","Навигационные системы для автомагнитол");
submenus[5][13]=new Array("/other/index.php?tip=iso","ISO преобразователи");
submenus[5][14]=new Array("/interface/index.php?tip=du","Адаптеры для штатных кнопок на руле");
submenus[5][15]=new Array("/other/index.php?tip=polka","Всевозможные дверные подиумы, задние полки");
submenus[5][16]=new Array("/other/index.php?tip=provoda","Провода и все для автомобильных усилителей");
submenus[5][17]=new Array("/other/index.php?tip=remote","Пульты управления для автомагнитолы");
submenus[5][18]=new Array("/capasitor/index.php","Конденсаторы в автомобиль ");
submenus[5][19]=new Array("/tvdvd/index.php?tip=tv-tuner","Телевизионные приемники  автомагнитолы");
submenus[5][20]=new Array("/tvdvd/index.php?tip=tv","Портативные телевизоры в автомобиль");
submenus[5][21]=new Array("/tvdvd/index.php?tip=overhead","Автомобильные  мониторы в потолок");
submenus[5][22]=new Array("/tvdvd/index.php?tip=monitor","Автомобильные мультимедийные дисплеи");
submenus[5][23]=new Array("/shumka/index.php","Шумо и виброизоляция");
submenus[5][24]=new Array("/interface/index.php?tip=usb","Всевозможные USB-преобразователи");

submenus[6][0]=new Array("/radar/index.php?firma=Beltronics","Beltronics");
submenus[6][1]=new Array("/radar/index.php?firma=Cobra","Cobra");
submenus[6][2]=new Array("/radar/index.php?firma=Crunch","Crunch");
submenus[6][3]=new Array("/radar/index.php?firma=Escort","Escort");
submenus[6][4]=new Array("/radar/index.php?firma=Inspector","Inspector");
submenus[6][5]=new Array("/radar/index.php?firma=JARON","JARON");
submenus[6][6]=new Array("/radar/index.php?firma=LKT","LKT");
submenus[6][7]=new Array("/radar/index.php?firma=Mongoose","Mongoose");
submenus[6][8]=new Array("/radar/index.php?firma=Saver","Saver");
submenus[6][9]=new Array("/radar/index.php?firma=Sho-Me","Sho-Me");
submenus[6][10]=new Array("/radar/index.php?firma=Snooper","Snooper");
submenus[6][11]=new Array("/radar/index.php?firma=Star","Star");
submenus[6][12]=new Array("/radar/index.php?firma=Stinger","Stinger");
submenus[6][13]=new Array("/radar/index.php?firma=Street Storm","Street Storm");
submenus[6][14]=new Array("/radar/index.php?firma=Super Cat","Super Cat");
submenus[6][15]=new Array("/radar/index.php?firma=Valentine","Valentine");
submenus[6][16]=new Array("/radar/index.php?firma=Whistler","Whistler");

submenus[7][0]=new Array("/videoreg/index.php?firma=Avis","Avis");
submenus[7][1]=new Array("/videoreg/index.php?firma=Car DVR","Car DVR");
submenus[7][2]=new Array("/videoreg/index.php?firma=Carcam","Carcam");
submenus[7][3]=new Array("/videoreg/index.php?firma=DataKam","DataKam");
submenus[7][4]=new Array("/videoreg/index.php?firma=Dod","Dod");
submenus[7][5]=new Array("/videoreg/index.php?firma=HD DVR","HD DVR");
submenus[7][6]=new Array("/videoreg/index.php?firma=Parkvision","Parkvision");
submenus[7][7]=new Array("/videoreg/index.php?firma=Parkcity","Parkcity");
submenus[7][8]=new Array("/videoreg/index.php?firma=Phantom","Phantom");
submenus[7][9]=new Array("/videoreg/index.php?firma=Street Storm","Street Storm");
submenus[7][10]=new Array("/videoreg/index.php?firma=Subini","Subini");
submenus[7][11]=new Array("/videoreg/index.php?firma=Supra","Supra");
submenus[7][12]=new Array("/videoreg/index.php?firma=T-eye","T-eye");
submenus[7][13]=new Array("/videoreg/index.php?firma=Video-spline","Video-spline");
submenus[7][14]=new Array("/videoreg/index.php?firma=Visiondrive","Visiondrive");
submenus[7][15]=new Array("/videoreg/index.php?firma=Saefbocks","Saefbocks");

	var timeToHide;

	function getBounds(element)
	{
		var left = element.offsetLeft;
		var top = element.offsetTop;
		for (var parent = element.offsetParent; parent; parent = parent.offsetParent)
		{
			left += parent.offsetLeft;
			top += parent.offsetTop;
		}
		return {left: left, top: top, width: element.offsetWidth, height: element.offsetHeight};
	}

	function setHideTimer(t)
	{
		timeToHide=t;
	}

	function showSubmenu(myelement, menuid)
	{


		var bounds = getBounds(myelement);
		var x = bounds.left;
		var y = bounds.top;
		var xsize = bounds.width;
		var ysize = bounds.height;

		var submenu = document.getElementById('submenu');

		submenu.style.left=x+160;
		submenu.style.top=y-18;
		submenu.style.visibility='visible';
		submenu.style.display='block';

		var submenu_content = document.getElementById('submenu_content');

		submenu_content.innerHTML=' ';

		var i;

		for(i=0;i<100;i++)
		{
			if(!(submenus[menuid-1][i]))break;
			submenu_content.innerHTML = submenu_content.innerHTML + "<div class='submenu_item' onmouseover=\"this.className='submenu_item_over'\" onmouseout=\"this.className='submenu_item'\" onclick=\"window.location.href='"+submenus[menuid-1][i][0]+"'\">"+submenus[menuid-1][i][1] + "</div>";
		}

		setHideTimer(7);
	}

	setInterval("hideSubmenu()",700);

	function hideSubmenu()
	{
		timeToHide=timeToHide-1;
		if(timeToHide<1)
		{
			var submenu = document.getElementById('submenu');
			submenu.style.visibility = 'hidden';
			timeToHide=0;
		}
	}



