function confirmDelete(url)
{
	check = confirm("Sind Sie sicher, dass Sie dieses Element löschen wollen? Diese Aktion kann nicht rückgängig gemacht werden.");
	
	if(check == true)
	{
		self.location.href=url;
	}else
	{
		//foo
	}
}

function confirmAction(url, action)
{
	check = confirm("Sind Sie sicher, dass Sie dieses Element "+action+" wollen? Diese Aktion kann nicht rückgängig gemacht werden.");
	
	if(check == true)
	{
		self.location.href=url;
	}else
	{
		//foo
	}
}