function chOras(val) { document.getElementById('altoras').style.display='none'; if(val!="0") { switch(val) { case "2": var theOptions=new Array (1); theOptions[0] = new Array (2, 'Blaj'); break; case "3": var theOptions=new Array (1); theOptions[0] = new Array (3, 'Arad'); break; case "4": var theOptions=new Array (3); theOptions[0] = new Array (4, 'Pitesti'); theOptions[1] = new Array (5, 'Campulung Muscel'); theOptions[2] = new Array (6, 'Curtea de Arges'); break; case "5": var theOptions=new Array (2); theOptions[0] = new Array (7, 'Onesti'); theOptions[1] = new Array (8, 'Bacau'); break; case "6": var theOptions=new Array (1); theOptions[0] = new Array (9, 'Oradea'); break; case "7": var theOptions=new Array (1); theOptions[0] = new Array (10, 'Bistrita'); break; case "8": var theOptions=new Array (1); theOptions[0] = new Array (11, 'Botosani'); break; case "9": var theOptions=new Array (1); theOptions[0] = new Array (12, 'Braila'); break; case "10": var theOptions=new Array (2); theOptions[0] = new Array (13, 'Fagaras'); theOptions[1] = new Array (14, 'Brasov'); break; case "1": var theOptions=new Array (1); theOptions[0] = new Array (1, 'Bucuresti'); break; case "11": var theOptions=new Array (2); theOptions[0] = new Array (15, 'Buzau'); theOptions[1] = new Array (16, 'Ramnicu Sarat'); break; case "12": var theOptions=new Array (2); theOptions[0] = new Array (17, 'Oltenita'); theOptions[1] = new Array (18, 'Calarasi'); break; case "13": var theOptions=new Array (2); theOptions[0] = new Array (19, 'Caransebes'); theOptions[1] = new Array (20, 'Resita'); break; case "14": var theOptions=new Array (4); theOptions[0] = new Array (21, 'Dej'); theOptions[1] = new Array (22, 'Campia Turzii'); theOptions[2] = new Array (23, 'Cluj'); theOptions[3] = new Array (24, 'Gherla'); break; case "15": var theOptions=new Array (2); theOptions[0] = new Array (25, 'Cernavoda'); theOptions[1] = new Array (26, 'Constanta'); break; case "16": var theOptions=new Array (1); theOptions[0] = new Array (27, 'Sf. Gheorghe'); break; case "17": var theOptions=new Array (1); theOptions[0] = new Array (28, 'Targoviste'); break; case "18": var theOptions=new Array (1); theOptions[0] = new Array (29, 'Craiova'); break; case "19": var theOptions=new Array (2); theOptions[0] = new Array (30, 'Tecuci'); theOptions[1] = new Array (31, 'Galati'); break; case "20": var theOptions=new Array (1); theOptions[0] = new Array (32, 'Giurgiu'); break; case "21": var theOptions=new Array (1); theOptions[0] = new Array (33, 'Targu Jiu'); break; case "22": var theOptions=new Array (3); theOptions[0] = new Array (34, 'Odorheiu Secuiesc'); theOptions[1] = new Array (35, 'Miercurea Ciuc'); theOptions[2] = new Array (36, 'Gheorgheni'); break; case "23": var theOptions=new Array (3); theOptions[0] = new Array (37, 'Deva'); theOptions[1] = new Array (38, 'Petrosani'); theOptions[2] = new Array (39, 'Hunedoara'); break; case "24": var theOptions=new Array (2); theOptions[0] = new Array (40, 'Slobozia'); theOptions[1] = new Array (41, 'Urziceni'); break; case "25": var theOptions=new Array (2); theOptions[0] = new Array (42, 'Iasi'); theOptions[1] = new Array (43, 'Pascani'); break; case "26": var theOptions=new Array (1); theOptions[0] = new Array (44, 'Baia Mare'); break; case "27": var theOptions=new Array (1); theOptions[0] = new Array (45, 'Drobeta Turnu Severi'); break; case "28": var theOptions=new Array (3); theOptions[0] = new Array (46, 'Reghin'); theOptions[1] = new Array (47, 'Targu Mures'); theOptions[2] = new Array (48, 'Sighisoara'); break; case "29": var theOptions=new Array (2); theOptions[0] = new Array (49, 'Piatra Neamt'); theOptions[1] = new Array (50, 'Roman'); break; case "30": var theOptions=new Array (1); theOptions[0] = new Array (51, 'Slatina'); break; case "31": var theOptions=new Array (4); theOptions[0] = new Array (52, 'Caracal'); theOptions[1] = new Array (53, 'Sinaia'); theOptions[2] = new Array (54, 'Campina'); theOptions[3] = new Array (55, 'Ploiesti'); break; case "32": var theOptions=new Array (1); theOptions[0] = new Array (56, 'Zalau'); break; case "33": var theOptions=new Array (1); theOptions[0] = new Array (57, 'Satu Mare'); break; case "34": var theOptions=new Array (2); theOptions[0] = new Array (58, 'Sibiu'); theOptions[1] = new Array (59, 'Medias'); break; case "35": var theOptions=new Array (1); theOptions[0] = new Array (60, 'Suceava'); break; case "36": var theOptions=new Array (3); theOptions[0] = new Array (61, 'Turnu Magurele'); theOptions[1] = new Array (62, 'Alexandria'); theOptions[2] = new Array (63, 'Rosiori de Vede'); break; case "37": var theOptions=new Array (2); theOptions[0] = new Array (64, 'Lugoj'); theOptions[1] = new Array (65, 'Timisoara'); break; case "38": var theOptions=new Array (1); theOptions[0] = new Array (66, 'Tulcea'); break; case "39": var theOptions=new Array (1); theOptions[0] = new Array (67, 'Ramnicu Valcea'); break; case "40": var theOptions=new Array (3); theOptions[0] = new Array (68, 'Barlad'); theOptions[1] = new Array (69, 'Husi'); theOptions[2] = new Array (70, 'Vaslui'); break; case "41": var theOptions=new Array (1); theOptions[0] = new Array (71, 'Focsani'); break; } i = document.getElementById('oras').options.length; if (i > 0) { document.getElementById('oras').options.length -= i; document.getElementById('oras').options[i] = null; } var theCount=0; for (e=0; e