<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- created by WangCong 2002.06.13 html\public\choose.htm -->
<HTML><HEAD><TITLE>选择</TITLE>
<META content="text/html; charset=GB2312" http-equiv=Content-Type><LINK
href="../../css/style.css" rel=stylesheet type=text/css>
<META content="MSHTML 5.00.2614.3500" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff leftMargin=0 text=#000000 topMargin=0 marginheight="30%"
marginwidth="30%">
<Script language="JavaScript">
//从from_list中的选项转移到to_list
function transform(from_list,to_list){
var from_length=from_list.options.length
var to_length=to_list.options.length
for(var i=0;i<from_length;i++){
if(from_list.options[i].selected){
var str=from_list.options[i].text
to_list.options[to_length++]=new Option(str,str)
from_list.options[i--]=null
}
}
}
//将LIST框中的选项向上移动
function up_click(cur_list){
var cur_index=cur_list.selectedIndex
var str=cur_list.options[cur_index].text
cur_list.options[cur_index].text=cur_list.options[cur_index-1].text
cur_list.options[cur_index].value=cur_list.options[cur_index-1].text
cur_list.options[cur_index-1].text=str
cur_list.options[cur_index-1].value=str
cur_list.selectedIndex=cur_index-1
}
//将LIST框中的选项向下移动
function down_click(cur_list){
var cur_index=cur_list.selectedIndex
var str=cur_list.options[cur_index].text
cur_list.options[cur_index].text=cur_list.options[cur_index+1].text
cur_list.options[cur_index].value=cur_list.options[cur_index+1].text
cur_list.options[cur_index+1].text=str
cur_list.options[cur_index+1].value=str
cur_list.selectedIndex=cur_index+1
}
</Script>
function addSrcToDestList() {
destList = window.document.forms[0].destList;
srcList = window.document.forms[0].srcList;
var len = destList.length;
for(var i = 0; i < srcList.length; i++) {
if ((srcList.options[i] != null) && (srcList.options[i].selected)) {
var found = false;
for(var count = 0; count < len; count++) {
if (destList.options[count] != null) {
if (srcList.options[i].text == destList.options[count].text) {
found = true;
break;
}
}
}
if (found != true) {
destList.options[len] = new Option(srcList.options[i].text);
len++;
}
}
}
}
function deleteFromDestList() {
var destList = window.document.forms[0].destList;
var len = destList.options.length;
for(var i = (len-1); i >= 0; i--) {
if ((destList.options[i] != null) && (destList.options[i].selected == true)) {
destList.options[i] = null;
}
}
}
// -->
</SCRIPT>
</head>
<body>
<center>
<form method="POST">
<table bgcolor="#FFFFCC">