function setSearchParams() { document.getElementById('adv_spercent').value = document.getElementById('spercent_adv').value; document.getElementById('adv_epercent').value = document.getElementById('epercent_adv').value; document.getElementById('adv_sdate').value = document.getElementById('sdate_adv').value; document.getElementById('adv_edate').value = document.getElementById('edate_adv').value; document.getElementById('adv_instid').value = document.getElementById('instid_adv').value; document.getElementById('adv_catid').value = document.getElementById('catid_adv').value; // if (document.getElementById('logic_adv1').checked) document.getElementById('adv_logic').value = document.getElementById('logic_adv1').value; // else // document.getElementById('adv_logic').value = document.getElementById('logic_adv2').value; document.getElementById('isadvanced').value = 1; if (document.getElementById('query').value == 'поиск ') document.getElementById('query').value = ''; document.search_form.submit(); return false; } function SetHomePage(page) { if (( navigator.appVersion.indexOf('MSIE 5.') != -1) || (navigator.appVersion.indexOf('MSIE 6.') != -1)) { page.style.behavior='url(#default#homepage)'; page.setHomePage('http://www.skidka.uz/'); } else { location.href='http://www.skidka.uz/startpage/'; } } function FillDays(obj) { var objectTop = document.getElementById("day"); var maxdays; switch (obj.selectedIndex) { case 0:maxdays = 31;break; case 1:maxdays = 31;break; case 2:maxdays = 31;break; case 3:maxdays = 30;break; case 4:maxdays = 31;break; case 5:maxdays = 30;break; case 6:maxdays = 31;break; case 7:maxdays = 31;break; case 8:maxdays = 30;break; case 9: maxdays = 31;break; case 10:maxdays = 30;break; case 11:maxdays = 31;break; } var selectedd = objectTop.selectedIndex; objectTop.length = 0; // Итак...дабавляийм for (i = 1;i<=maxdays;i++) { inText = i; inValue = i; objectTop.options[i-1] = new Option(); objectTop.options[i-1].value = inValue; objectTop.options[i-1].text = inText; } objectTop[selectedd].selected = true; } function submitUser(day, month, year) { document.getElementById('birthdate').value = day + '.' + month + '.' + year; document.reg_form.submit(); } function fillInst(obj) { var objectInst = document.getElementById("instid_adv"); var selectedIndex = obj.selectedIndex - 1; var instnames = new Array(); var instids = new Array(); instnames[0] = new Array(); instids[0] = new Array(); instnames[0][0] = "SIB Avia-servis"; instids[0][0] = "400"; instnames[0][1] = "Davr Tour"; instids[0][1] = "401"; instnames[0][2] = "SIS Travel"; instids[0][2] = "389"; instnames[0][3] = "Deline"; instids[0][3] = "390"; instnames[0][4] = "Expert Solutions"; instids[0][4] = "396"; instnames[0][5] = "Shel Texno Tour"; instids[0][5] = "402"; instnames[1] = new Array(); instids[1] = new Array(); instnames[1][0] = "Pioneer"; instids[1][0] = "94"; instnames[1][1] = "Остров Сокровищ"; instids[1][1] = "96"; instnames[1][2] = "Ammar"; instids[1][2] = "313"; instnames[1][3] = "Avtodrom.uz"; instids[1][3] = "285"; instnames[2] = new Array(); instids[2] = new Array(); instnames[2][0] = "Сеть аптек "ТАБЛЕТКА""; instids[2][0] = "230"; instnames[3] = new Array(); instids[3] = new Array(); instnames[3][0] = "Naf Naf"; instids[3][0] = "139"; instnames[3][1] = "Giordano"; instids[3][1] = "322"; instnames[3][2] = "OLSEN"; instids[3][2] = "206"; instnames[3][3] = "Kenvelo"; instids[3][3] = "208"; instnames[3][4] = "MAN"; instids[3][4] = "231"; instnames[3][5] = "O'zbegim"; instids[3][5] = "382"; instnames[3][6] = "Four Seasons"; instids[3][6] = "260"; instnames[3][7] = "Silver Style"; instids[3][7] = "326"; instnames[3][8] = "Enrico Marinelli"; instids[3][8] = "340"; instnames[4] = new Array(); instids[4] = new Array(); instnames[4][0] = "Тoy World"; instids[4][0] = "159"; instnames[4][1] = "Pinokkio"; instids[4][1] = "83"; instnames[4][2] = "Bolajon"; instids[4][2] = "248"; instnames[4][3] = "Детский Мир"; instids[4][3] = "283"; instnames[5] = new Array(); instids[5] = new Array(); instnames[5][0] = "СМИ"; instids[5][0] = "100"; instnames[5][1] = "Cinematrix"; instids[5][1] = "307"; instnames[5][2] = "Cupid Club"; instids[5][2] = "314"; instnames[5][3] = "Diamond club"; instids[5][3] = "315"; instnames[5][4] = "Cleo"; instids[5][4] = "293"; instnames[5][5] = "Yulduz-Bowling"; instids[5][5] = "246"; instnames[5][6] = "Театр Движения ЛИК"; instids[5][6] = "385"; instnames[5][7] = "Sky Club"; instids[5][7] = "355"; instnames[5][8] = "RICH Club"; instids[5][8] = "356"; instnames[5][9] = "Diplomat"; instids[5][9] = "357"; instnames[5][10] = "Legion"; instids[5][10] = "358"; instnames[6] = new Array(); instids[6] = new Array(); instnames[6][0] = "Shaffof"; instids[6][0] = "253"; instnames[6][1] = "Вода "Кристальная""; instids[6][1] = "324"; instnames[6][2] = "Papa Pizza"; instids[6][2] = "352"; instnames[7] = new Array(); instids[7] = new Array(); instnames[7][0] = "ISP TPS"; instids[7][0] = "112"; instnames[7][1] = "Дизайн студия VAYA"; instids[7][1] = "318"; instnames[7][2] = "Billur.net"; instids[7][2] = "175"; instnames[8] = new Array(); instids[8] = new Array(); instnames[8][0] = "DUBAI"; instids[8][0] = "273"; instnames[8][1] = "Studio"; instids[8][1] = "288"; instnames[8][2] = "Oasis"; instids[8][2] = "289"; instnames[8][3] = "Tbilisi"; instids[8][3] = "290"; instnames[8][4] = "Сундук"; instids[8][4] = "294"; instnames[8][5] = "Ходжа Насреддин"; instids[8][5] = "295"; instnames[8][6] = "J.Smoker's pub"; instids[8][6] = "296"; instnames[8][7] = "La Shakar"; instids[8][7] = "327"; instnames[8][8] = "Шеш Беш"; instids[8][8] = "297"; instnames[8][9] = "BAHOR"; instids[8][9] = "233"; instnames[8][10] = "Mandarin"; instids[8][10] = "97"; instnames[8][11] = "Amore Mio"; instids[8][11] = "287"; instnames[8][12] = "Central"; instids[8][12] = "312"; instnames[8][13] = "У мельницы"; instids[8][13] = "171"; instnames[8][14] = "Султан"; instids[8][14] = "227"; instnames[8][15] = "Вечiр"; instids[8][15] = "236"; instnames[8][16] = "Dominique"; instids[8][16] = "256"; instnames[8][17] = "Paradise"; instids[8][17] = "257"; instnames[8][18] = "Gasthaus"; instids[8][18] = "258"; instnames[8][19] = "Cassandra"; instids[8][19] = "259"; instnames[8][20] = "British Pub Timur"; instids[8][20] = "339"; instnames[8][21] = "Ресторан Tumor"; instids[8][21] = "348"; instnames[8][22] = "RAGU restaurant"; instids[8][22] = "353"; instnames[8][23] = "Ragu Sports Bar"; instids[8][23] = "354"; instnames[8][24] = "Ресторан Koinot"; instids[8][24] = "359"; instnames[9] = new Array(); instids[9] = new Array(); instnames[9][0] = "Naschirlar Dunyosi"; instids[9][0] = "118"; instnames[9][1] = "INTER-PRESS"; instids[9][1] = "122"; instnames[9][2] = "Kaleon"; instids[9][2] = "151"; instnames[9][3] = "Davr Press"; instids[9][3] = "380"; instnames[10] = new Array(); instids[10] = new Array(); instnames[10][0] = "Золотая долина"; instids[10][0] = "325"; instnames[10][1] = "Mir a Belle"; instids[10][1] = "209"; instnames[10][2] = "Black & White"; instids[10][2] = "303"; instnames[10][3] = "La Bella"; instids[10][3] = "201"; instnames[10][4] = "Fitness centre"; instids[10][4] = "228"; instnames[10][5] = "Beauty ART"; instids[10][5] = "252"; instnames[10][6] = "ATLANT"; instids[10][6] = "267"; instnames[10][7] = "El Prado"; instids[10][7] = "344"; instnames[10][8] = "SAFO estetic"; instids[10][8] = "376"; instnames[11] = new Array(); instids[11] = new Array(); instnames[11][0] = "Rodi"; instids[11][0] = "330"; instnames[11][1] = "XX by MEXX"; instids[11][1] = "134"; instnames[11][2] = "Rbk"; instids[11][2] = "135"; instnames[11][3] = "MEXX"; instids[11][3] = "136"; instnames[11][4] = "Samsonite"; instids[11][4] = "137"; instnames[11][5] = "INTERTOP"; instids[11][5] = "140"; instnames[11][6] = "VS"; instids[11][6] = "379"; instnames[11][7] = "Nuptial"; instids[11][7] = "180"; instnames[11][8] = "ECCO"; instids[11][8] = "310"; instnames[11][9] = "NERI KARRA"; instids[11][9] = "250"; instnames[11][10] = "Seven Hill"; instids[11][10] = "383"; instnames[11][11] = "Nike"; instids[11][11] = "323"; instnames[11][12] = "Human House"; instids[11][12] = "261"; instnames[11][13] = "Fashion Tools"; instids[11][13] = "387"; instnames[11][14] = "VIGOSS jeans"; instids[11][14] = "331"; instnames[11][15] = "Fashionista"; instids[11][15] = "332"; instnames[11][16] = "Магазин Башмачок/Margo"; instids[11][16] = "335"; instnames[12] = new Array(); instids[12] = new Array(); instnames[12][0] = "Мебель Е класса"; instids[12][0] = "141"; instnames[12][1] = "Mavera Mebel"; instids[12][1] = "105"; instnames[12][2] = "Istikbal"; instids[12][2] = "144"; instnames[12][3] = "Komandor"; instids[12][3] = "109"; instnames[12][4] = "Bohemia"; instids[12][4] = "243"; instnames[12][5] = "Bravo"; instids[12][5] = "82"; instnames[12][6] = "Collins Enterprise"; instids[12][6] = "145"; instnames[12][7] = "Gazon Markazi"; instids[12][7] = "378"; instnames[12][8] = "Brilliant Exclusive"; instids[12][8] = "300"; instnames[13] = new Array(); instids[13] = new Array(); instnames[13][0] = "Vostok"; instids[13][0] = "368"; instnames[13][1] = "Здоровье ВСЕМ"; instids[13][1] = "221"; instnames[13][2] = "Medlans"; instids[13][2] = "200"; instnames[13][3] = "Doktor Servis"; instids[13][3] = "242"; instnames[13][4] = "Clinic La Sante"; instids[13][4] = "302"; instnames[13][5] = "Sihat va Farogat"; instids[13][5] = "345"; instnames[13][6] = "Estimed"; instids[13][6] = "360"; instnames[13][7] = "Оздоровительный центр "Madadi Sino""; instids[13][7] = "351"; instnames[13][8] = "Центральная поликлиника ГАЖК "Узбекистон Темир Йуллари""; instids[13][8] = "361"; instnames[13][9] = "Immunogen Test"; instids[13][9] = "362"; instnames[13][10] = "SAIF-OPTIMA"; instids[13][10] = "366"; instnames[13][11] = "Евромед"; instids[13][11] = "369"; instnames[13][12] = "Fiziomed"; instids[13][12] = "370"; instnames[13][13] = "Kasmed"; instids[13][13] = "371"; instnames[13][14] = "Dipmedservice"; instids[13][14] = "372"; instnames[13][15] = "Shifonurko'z"; instids[13][15] = "373"; instnames[13][16] = "Мехридарье"; instids[13][16] = "375"; instnames[13][17] = "SAFO Tibbiyot"; instids[13][17] = "377"; instnames[13][18] = "Kundala"; instids[13][18] = "395"; instnames[14] = new Array(); instids[14] = new Array(); instnames[14][0] = "OSCAR"; instids[14][0] = "265"; instnames[15] = new Array(); instids[15] = new Array(); instnames[15][0] = "Учебно-просветительский центр"; instids[15][0] = "190"; instnames[15][1] = "Global Study"; instids[15][1] = "165"; instnames[15][2] = "Intellekt Plyus"; instids[15][2] = "166"; instnames[15][3] = "Alfakom"; instids[15][3] = "238"; instnames[15][4] = "Uniform Optima"; instids[15][4] = "270"; instnames[15][5] = "Era"; instids[15][5] = "398"; instnames[15][6] = "World Educational Centre"; instids[15][6] = "399"; instnames[16] = new Array(); instids[16] = new Array(); instnames[16][0] = "Navoi Optical"; instids[16][0] = "215"; instnames[16][1] = "Kristall optica"; instids[16][1] = "199"; instnames[16][2] = "Paris Optical"; instids[16][2] = "234"; instnames[16][3] = "Oптика XXI ВЕК"; instids[16][3] = "329"; instnames[16][4] = "Bliss"; instids[16][4] = "336"; instnames[16][5] = "Osse Optical"; instids[16][5] = "350"; instnames[17] = new Array(); instids[17] = new Array(); instnames[17][0] = "Vades"; instids[17][0] = "132"; instnames[17][1] = "Groteks"; instids[17][1] = "131"; instnames[17][2] = "KolorPoint"; instids[17][2] = "213"; instnames[17][3] = "de - haoz - print"; instids[17][3] = "216"; instnames[17][4] = "CITY TV"; instids[17][4] = "317"; instnames[17][5] = "Usso Design"; instids[17][5] = "321"; instnames[17][6] = "Fazogir - Print"; instids[17][6] = "146"; instnames[17][7] = "Siymo"; instids[17][7] = "147"; instnames[17][8] = "Ishonch"; instids[17][8] = "148"; instnames[17][9] = "MaxiGraf Plus"; instids[17][9] = "149"; instnames[17][10] = "Ruta Print"; instids[17][10] = "150"; instnames[17][11] = "PrintXpress"; instids[17][11] = "188"; instnames[17][12] = "PrintMedia"; instids[17][12] = "235"; instnames[17][13] = "Zafar cards"; instids[17][13] = "249"; instnames[17][14] = "Legion Media"; instids[17][14] = "268"; instnames[18] = new Array(); instids[18] = new Array(); instnames[18][0] = "TNT"; instids[18][0] = "124"; instnames[18][1] = "ARAMEX"; instids[18][1] = "125"; instnames[18][2] = "EMS"; instids[18][2] = "126"; instnames[18][3] = "City Express"; instids[18][3] = "381"; instnames[19] = new Array(); instids[19] = new Array(); instnames[19][0] = "Радио MAXIMA"; instids[19][0] = "219"; instnames[20] = new Array(); instids[20] = new Array(); instnames[20][0] = "Dent Master"; instids[20][0] = "217"; instnames[20][1] = "Sergo Dental"; instids[20][1] = "160"; instnames[20][2] = "Kamolzoda Servis"; instids[20][2] = "198"; instnames[20][3] = "Республиканский Стоматологический Центр"; instids[20][3] = "279"; instnames[20][4] = "StomaMir"; instids[20][4] = "262"; instnames[20][5] = "Stomaservice"; instids[20][5] = "365"; instnames[20][6] = "Dentaservice"; instids[20][6] = "374"; instnames[21] = new Array(); instids[21] = new Array(); instnames[21][0] = "Decorimex"; instids[21][0] = "311"; instnames[21][1] = "Строймаркет"; instids[21][1] = "71"; instnames[21][2] = "Aventi"; instids[21][2] = "120"; instnames[21][3] = "Люкс"; instids[21][3] = "170"; instnames[21][4] = "Мастерок"; instids[21][4] = "254"; instnames[21][5] = "UPME"; instids[21][5] = "384"; instnames[21][6] = "Ellas-Aki"; instids[21][6] = "397"; instnames[22] = new Array(); instids[22] = new Array(); instnames[22][0] = "АРСЕНАЛ"; instids[22][0] = "189"; instnames[22][1] = "Swarovski components"; instids[22][1] = "299"; instnames[22][2] = "Ustozoda"; instids[22][2] = "301"; instnames[22][3] = "Swarovski"; instids[22][3] = "342"; instnames[22][4] = "Aphrodite"; instids[22][4] = "343"; instnames[23] = new Array(); instids[23] = new Array(); instnames[23][0] = "Turkuaz"; instids[23][0] = "155"; instnames[23][1] = "Meram"; instids[23][1] = "309"; instnames[23][2] = "Orange Store"; instids[23][2] = "346"; instnames[24] = new Array(); instids[24] = new Array(); instnames[24][0] = "Taxi MIG"; instids[24][0] = "308"; instnames[24][1] = "Taxi V.I.P."; instids[24][1] = "333"; instnames[24][2] = "Taxi Lirron"; instids[24][2] = "386"; instnames[25] = new Array(); instids[25] = new Array(); instnames[25][0] = "AV TECH"; instids[25][0] = "59"; instnames[25][1] = "Lobo Technology"; instids[25][1] = "319"; instnames[25][2] = "Beko"; instids[25][2] = "164"; instnames[25][3] = "Yarmarka.uz"; instids[25][3] = "349"; instnames[25][4] = "Chachmobile"; instids[25][4] = "367"; instnames[25][5] = "VVP Group"; instids[25][5] = "363"; instnames[26] = new Array(); instids[26] = new Array(); instnames[26][0] = "Davr Tour"; instids[26][0] = "107"; instnames[26][1] = "SIMURG"; instids[26][1] = "158"; instnames[26][2] = "Chatcal Mountains"; instids[26][2] = "320"; instnames[26][3] = "Triton"; instids[26][3] = "84"; instnames[26][4] = "Mercury Service"; instids[26][4] = "276"; instnames[26][5] = "Tour.uz"; instids[26][5] = "167"; instnames[26][6] = "Grand Mir Hotel"; instids[26][6] = "173"; instnames[26][7] = "Shodlik Palace"; instids[26][7] = "191"; instnames[26][8] = "Sun Travel"; instids[26][8] = "347"; instnames[27] = new Array(); instids[27] = new Array(); instnames[27][0] = "Advokat Elite"; instids[27][0] = "74"; instnames[27][1] = "Miracle Night"; instids[27][1] = "328"; instnames[27][2] = "Юразия"; instids[27][2] = "129"; instnames[27][3] = "O'ZBEKINVEST HAYOT"; instids[27][3] = "121"; instnames[27][4] = "Glamoure"; instids[27][4] = "192"; instnames[27][5] = "ALSKOM"; instids[27][5] = "157"; instnames[27][6] = "BG konsalting servis"; instids[27][6] = "202"; instnames[27][7] = "ASIA INSHURANS"; instids[27][7] = "304"; instnames[27][8] = "UNIC Узбекинвест"; instids[27][8] = "239"; instnames[27][9] = "Mercury Service"; instids[27][9] = "272"; instnames[27][10] = "Emilia Baraka"; instids[27][10] = "364"; instnames[27][11] = "Legal Force"; instids[27][11] = "388"; instnames[27][12] = "Namuna Diyor"; instids[27][12] = "394"; instnames[28] = new Array(); instids[28] = new Array(); instnames[28][0] = "сеть химчисток Lavanderia"; instids[28][0] = "316"; instnames[29] = new Array(); instids[29] = new Array(); instnames[29][0] = "Goodveen"; instids[29][0] = "237"; instnames[29][1] = "Цветы Ташкента"; instids[29][1] = "247"; instnames[29][2] = "CREDO"; instids[29][2] = "263"; instnames[29][3] = "Mio fiore"; instids[29][3] = "274"; instnames[29][4] = "Fleur"; instids[29][4] = "275"; instnames[30] = new Array(); instids[30] = new Array(); instnames[30][0] = "Watch's House"; instids[30][0] = "291"; instnames[30][1] = "Swiss Time"; instids[30][1] = "292"; instnames[30][2] = "Time for Presents"; instids[30][2] = "127"; instnames[30][3] = "Geneve"; instids[30][3] = "183"; instnames[30][4] = "Chronos"; instids[30][4] = "184"; instnames[30][5] = "Watches & Clocks"; instids[30][5] = "341"; objectInst.length = 0; // если выбрано товар-услуга значит завершить if (selectedIndex == -1) { objectInst.options[0] = new Option(); objectInst.options[0].value = -1; objectInst.options[0].text = 'Магазин / Заведение'; return; } // Итак...дабавляийм Артем ака привет :))) for (i = -1; i < instids[selectedIndex].length; i++) { if (i == -1) { inText = "Магазин / Заведение"; inValue = -1; } else { inText = instnames[selectedIndex][i]; inValue = instids[selectedIndex][i]; } // var oChild=document.createElement("OPTION"); // oChild.text=inText; // oChild.value=inValue; objectInst.options[i+1] = new Option(); objectInst.options[i+1].value = inValue; objectInst.options[i+1].text = inText; } }