
function deleteRecord( recordID, recordTable, message ) {
	
	if (confirm("Are you sure you want to delete this?\n" + message)){
		$.ajax({ 
			url : thisServer + 'common/includes/deleteRecord.php?recordID=' + recordID + '&recordTable=' + recordTable , 
    		success: function(txt) {
			$('#itemUpdateStatus' + recordID).html('Item Has been DELETED');
  		}});	
	}
};

function zebraStripe(listEl, rowEl){
	//$("tr:nth-child(odd)").addClass("odd");
		$("#" + listEl).each(function(list){
			  $(rowEl, list).each(function(row,i){
			    if ( i % 2 == 1 ){
			      row.addClass( "odd" );
			    } else {
			      row.addClass( "even" );
			    }
			  });
			});
}

