var dyn_carsOptionTree = [['125',[['55','1668']]],['128',[['RELAY','1699']]],['132',[['GLOBETROTTER ADVANTAGE','1721']]],['135',[['MARLIN','1737']]],['137',[['DUCATO','1756']]],['140',[['RIMOR KATA MARANO','1821']]],['154',[['STARLINE','1875']]],['156',[['Z550','1890']]],['158',[['TRAVELLER 608','1892']]],['160',[['ECOVIP','1895']]],['166',[['LAGAN','1924']]],['175',[['AUTOCRUISE STARFIRE','1949']]],['176',[['GALAXY','1985']]],['180',[['KATAMARANO','2488'],['SAILER','2015']]],['181',[['AUTOROLLER','2017']]],['185',[['SUNDANCE','2046']]],['193',[['CAMPER VAN','2096']]]] function populateTarget(name,triggerObj,targetObj,emptyText) { eval ('tree = ' + name + 'OptionTree') triggerValue = getValue(triggerObj) for (i=0;i -1) value = formObj.options[formObj.selectedIndex].value } else { if (formObj.length) { // radio for (var b = 0; b < formObj.length; b++) if (formObj[b].checked) value = formObj[b].value } else if (formObj.checked) // checkbox value = formObj.value } return value }