function deleteCommentConfirm()
{
	return confirm(jsBlogDeleteCommentConfirm);
}

function deleteEntryConfirm()
{
	return confirm(jsBlogDeleteEntryConfirm);
}

function selectBlog(blog)
{
	checkbox = document.getElementById(jsBlogPostParameterIsShownOnFrontpage);
	
	// If the selected blog is blog 3 ( raportit eli tapahtumat ) or
	// blog 2 ( tiedotteet ) the option to disable visibility on the front
	// page is disabled.
	if ( blog == parseInt(jsBlogId3) || blog == parseInt(jsBlogId2) )
	{
		checkbox.checked  = true;
		checkbox.disabled = true;
	}
	else
	{
		checkbox.disabled = false;
	}
}
