﻿function confirmDelete(obj) {
	if (confirm('Are you sure you want to delete this ' + obj + '?'))
		return true;
	else return false;
}
function checkAll() {
    var frm = document.forms[0];
    for (i = 0; i < frm.length; i++) {
        frm.elements[i].checked = true;
    }
}
function unCheckAll() {
    var frm = document.forms[0];
    for (i = 0; i < frm.length; i++) {
        frm.elements[i].checked = false;
    }
}