Ciao avrei bisogno di un aiuto per questo script,
così com'è mi funziona, ma avrei bisogno di duplicare le voci contenute nella parte sotto,
dopo <body> la parte della form praticamente.
ho provato in diversi modi ma non mi riesce. grazie a tutti.

<head>
<script type="text/javascript">

var regiondb = new Object()
regiondb["conoscersi"] = [{value:"Agenzie matrimoniali", text:"Agenzie matrimoniali"},
{value:"Chat testuali", text:"Chat testuali"},
{value:"Video chat", text:"Video chat"},
{value:"Chat via sms", text:"Chat via sms"},
{value:"Software per chattare", text:"Software per chattare"}];
regiondb["stare bene"] = [{value:"Benessere fisico", text:"Benessere fisico"},
{value:"Benessere mentale", text:"Benessere mentale"},
{value:"Sessualità", text:"Sessualità"},
{value:"Meditazione", text:"Meditazione"},
{value:"Spiritualità", text:"Spiritualità"}];
regiondb["divertirsi"] = [{value:"Viaggiare", text:"Viaggiare"},
{value:"Shopping", text:"Shopping"},
{value:"Attività sportive", text:"Attività sportive"},
{value:"Leggere", text:"Leggere"},
{value:"Tv", text:"Tv"},
{value:"Hobby", text:"Hobby"},
{value:"Locali", text:"Locali"}];
regiondb["pensare al futuro"] = [{value:"Web directory", text:"Web directory"},
{value:"Myspace", text:"Myspace"},
{value:"Blog", text:"Blog"}];

function setCities(chooser) {
var newElem;
var where = (navigator.appName == "Microsoft Internet Explorer") ? -1 : null;
var cityChooser = chooser.form.elements["q30_Sottocategoria"];
while (cityChooser.options.length) {
cityChooser.remove(0);
}
var choice = chooser.options[chooser.selectedIndex].value;
var db = regiondb[choice];
newElem = document.createElement("option");
newElem.text = "Seleziona la sottocategoria";
newElem.value = "";
cityChooser.add(newElem, where);
if (choice != "") {
for (var i = 0; i < db.length; i++) {
newElem = document.createElement("option");
newElem.text = db[i].text;
newElem.value = db[i].value;
cityChooser.add(newElem, where);
}
}
}

/**********
DOM LEVEL 0 ALTERNATE
**********
function setCities(chooser) {
var cityChooser = chooser.form.elements["city"];
// empty previous settings
cityChooser.options.length = 0;
// get chosen value to act as index to regiondb hash table
var choice = chooser.options[chooser.selectedIndex].value;
var db = regiondb[choice];
// insert default first item
cityChooser.options[0] = new Option("Choose a City:", "", true, false);
if (choice != "") {
// loop through array of the hash table entry, and populate options
for (var i = 0; i < db.length; i++) {
cityChooser.options[i + 1] = new Option(db[i].text, db[i].value);
}
}
}
**********/
</script>
</head>

<body>
<select class="other" name="q13_categoria_principale" id="q13" onmouseover="ddrivetip('Categoria_principale, 200)" onmouseout='hideddrivetip()' onChange="setCities(this)" onBlur="validate(this,'Required')" >
<option></option>
<option value="conoscersi">Conoscersi</option>
<option value="stare bene">Stare bene</option>
<option value="divertirsi">Divertirsi</option>
<option value="pensare al futuro">Pensare al futuro</option>
</select> </td>
<td rowspan="2" valign="top"> </td>
</tr>
<tr >
<td height="32" valign="top" class="contenuti_testo5" >
<label>Sottocategoria</label> </td>
<td colspan="2" valign="top" class="right"><select class="other" name="q30_Sottocategoria" id="q30" >
<option value="" selected="selected">Scegli la sottocategoria</option>
</select>