Qualcuno sa spiegarmi cosa fa questa parte di codice?è su un sito in cui viene fatta una cosa come devo farla io, come ho detto nel messaggio precedente.grazie 1000 :-))

function initialize() {
var linkList = parent.mappa.document.links;
for (j=0;j<linkList.length;j++) {
linkList[j].onclick = handleClick1;
linkList[j].onmouseover = handleMouseOver1;
linkList[j].onmouseout = handleMouseOut;
}
}


function handleClick1(evt) {
var name = getCabinetName(parent.mappa, evt);
if (name != null)
addSensors(name);
return false;
}
function handleMouseOver1(evt) {
var name = getCabinetName(parent.mappa, evt);
if (name != null)
window.status = name;
return true;
}

function handleMouseOut(evt) {
window.status = "";
return true;
}

function addSensors(name) {
var index;
if (name.charAt(3) == 'W') {
index = name.substring(5,6);
}
else if (name.charAt(3) == '0') {
index = name.substring(4,6);
}
else {
index = name.substring(3,6);
}
var str = sensors[index];
for (i = 0; i < str.length; i += 7) {
var sensor = str.substring(i,i+7);
if (sensor.charAt(4) == 'S' && sensor.charAt(5) == 't' && sensor.charAt(6) == 'n') {
if (type != 1) continue;
} else if (sensor.charAt(5) == 'T') {
if (type != 2) continue;
} else {
if (type != 0) continue;
}
var option = new Option(name + ":" + sensor);
var select = document.form1.sensor_list;
select.options[select.options.length] = option;
}