//usage e.g.:
//<script type="text/javascript" language="JavaScript" src="checkinhoud.js"></script>
function OpenPopup(url)
{
var nw = window.open(url, '_blank', 'scrollbars=yes,width=1000,height=760,left=20,top=20');
}
function CloseAll()
{
	location.href = 'exit.html';
}
function FocusFlash()
{
	window.document.diep.focus();
}
function FlashAlert(txt)
{
	alert(txt);
	FocusFlash();
}
function AddBookmark()
{
	var bAdd = false;
	if (window.external)
	{
		window.external.AddFavorite('http://www.diep.info','DIEP Diabetes Interactief Educatie Programma');
		bAdd = true;
	}
	if (!bAdd)
		alert('Uw webbrowser ondersteund geen automatisch opslaan van favorieten. \nGebruik toetscombinatie Ctrl-D op de beginpagina om DIEP op te slaan.');
}

