function confirmDelete(msg)
{
	if (msg) {
		return confirm('Are you sure you want to delete "'+msg+'"?');
	} else {
		return confirm('Are you sure you want to delete this?');
	}
}

