

function selectAll(frm) {
   for (var i = 0; i < frm.length; i++) {
      var elm = frm[i];
      if (elm.type == 'checkbox' && !elm.disabled) {
         elm.checked = true;
         elm.style.bgColor = '#330000';
      }
   }
}


var _hide;
function showRmlist() {
   if(_hide) clearTimeout(_hide);

    $('rmlist').style.display = 'block';
   _hide = setTimeout(function() { $('rmlist').style.display = 'none'; } , 4000);
}


