function addSel(o,o1,o2)
{
o.options.add(new Option(o2.value,o1.value));
}
function delSel(o)
{
o.options.remove(o.selectedIndex);
o.selectIndex=0;
}
function getValue(o)
{
alert("Text :"+o.options[o.selectedIndex].text+"\nValue:"+o.value);
}
</script>
<select >