function cancelrace( trackid )
{
	confirmcancel = confirm('Are you sure you want to cancel the race?\nThe race will be noted as cancelled and no result will be saved.');
	if( confirmcancel != true )
	{
		return;
	}
	window.location = "index.php?do=track&trackid=" + trackid;
}

