function confirmDelete(bRelations)
{
    confirmText = 'Weet u zeker dat u dit record wilt verwijderen?';
    
    if(bRelations == 1)
    {
        confirmText += '\nLet op: alle onderliggende records worden ook verwijderd!';
    }
    
	if(confirm(confirmText))
	{
		return true;	
	}
	else
	{
		return false;	
	}
}

function confirmDeleteProduct(confirmText)
{
    if(confirm(confirmText))
	{
		return true;	
	}
	else
	{
		return false;	
	}
}

function openWindow(url, w, h)
{
	newWindow = window.open(url, 'newWindow', 'width='+ w + ',height=' + h + ',top=50,left=50');
	newWindow.focus();
}