<html>
<head>
<title></title>
</head>
<script language="JavaScript">
function addnew(){
var t=document.all.s1;
var text=t.options[t.selectedIndex].innerText;
var value=t.options[t.selectedIndex].value;
document.all.s2.options.add(new Option(text,value));
}
function remove(){
var t2=document.all.s2;
s2.options.remove(t2.selectedIndex);
}
</script>
<body>
<select size=3 id=s1>
<option value=a selected>a_________</option>
<option value=b>b________</option>
<option value=c>c__</option>
<option value=d>d________</option>
</select>
<input type=button onclick=addnew() value=add>
<input type=button onclick=remove() value=delete>
<select size=3 id=s2>
</select>
</body>
</html>