function DeleteIt(){
truthBeTold = window.confirm(message['ALERT_DELETEIT']);
if (truthBeTold==false) {
}
else {
if (truthBeTold==true) {
return true
}
}
return false
}

function textCounter(field, countfield, maxlimit){
if (field.value.length > maxlimit)
field.value = field.value.substring(0, maxlimit);
else
countfield.value = maxlimit - field.value.length;
}


              function toggleTbody(id) {
                   if (document.getElementById) {
                       var tbod = document.getElementById(id);
                       if (tbod && typeof tbod.className == 'string') {
                           if (tbod.className == 'off') {
                               tbod.className = 'on';
                           } else {
                               tbod.className = 'off';
                           }
                       }
                   }
                   return false;
               }
               function toggleTbodyOff(id) {
                   if (document.getElementById) {
                       var tbod = document.getElementById(id);
                       if (tbod && typeof tbod.className == 'string') {
                           if (tbod.className == 'off') {
                               tbod.className = 'off';
                           } else {
                               tbod.className = 'off';
                           }
                       }
                   }
                   return false;
               }
               function toggleTbodyOn(id) {
                   if (document.getElementById) {
                       var tbod = document.getElementById(id);
                       if (tbod && typeof tbod.className == 'string') {
                           if (tbod.className == 'off') {
                               tbod.className = 'on';
                           } else {
                               tbod.className = 'on';
                           }
                       }
                   }
                   return false;
               }