function checkAll(e, itemName) { var aa = document.getElementsByName(itemName); for (var i=0; i