function dcform(theForm) { var ch=0; for(i=0;i< theForm.document.all.dc.length;i++ ) { if (theForm.document.all.dc[i].checked==true) { ch=1; } } if (ch==0) { alert('请至少选择一项!'); return false; } } document.write("