<script> <BR>function selectIt(action){ <BR> var testform=document.getElementById("bdkey"); <BR> for(var i=0 ;i<testform.elements.length;i++){ <BR> if(testform.elements[i].type=="checkbox"){ <BR> e=testform.elements[i]; <BR> e.checked=(action=="selectAll")?1:(!e.checked); <BR> } <BR> } <BR>} <BR></script>