function confirmDelete()
{
	var agree=confirm("Are you sure you want to delete this record?");
	if (agree)
		return true;
	else
		return false;
}


function confirmDeleteAll()
{
	var agree=confirm("Are you sure you want to delete all records from this table? This cannot be undone.");
	if (agree)
		return true;
	else
		return false;
}


function deleteRecord(fieldname)
{
	var agree=confirm("Are you sure you want to delete this " + fieldname + "?");
	if (agree)
		return true;
	else
		return false;
}

function resetStats(fieldname)
{
	var agree=confirm("Are you sure you want to reset the statistics for your " + fieldname + "?");
	if (agree)
		return true;
	else
		return false;
}

function resetAll()
{
	var agree=confirm("Are you sure you want to reset all your statistics?");
	if (agree)
		return true;
	else
		return false;
}