function doConfirm(text, redirectUrl)
{
	if (confirm(text))
	{
		location.href=redirectUrl;
	}
}