function NieuwVenster(url, w, h, scroll) 
	{
		 var breedte = (screen.width - w) / 2;
		 var hoogte = (screen.height - h) / 2;
		 par = 'height='+h+',width='+w+',top='+hoogte+',left='+breedte+',scrollbars='+scroll+',resizable=yes'
		 venster = window.open(url, 'titel', par)
		 if (parseInt(navigator.appVersion) >= 4) { venster.window.focus(); }
	}

function Admin() 
	{
		location.href = "/admin"
	}
  
function verifyEmail(form) 
	{
		checkEmail = form.email.value
		if ((checkEmail.indexOf('@') < 0) || ((checkEmail.charAt(checkEmail.length-4) != '.') && (checkEmail.charAt(checkEmail.length-3) != '.'))) 
		{	
			alert("Het formaat van uw e-mail adres is niet correct.\nGebruik het formaat 'naam@domein.ext'.");
			form.email.select();
			return false;
		}
		else 
		{
			form.method="post";
			form.target="_self";
			form.action="admin/zend.php";
			form.submit();
		}
	}

function Verwijder(url) //Verwijderen paragraaf
	{					
		if (confirm("Verwijderen\nBent u zeker?")) 
		{
			location.href = url
		}
	}
  
function Wisfoto(url) //Verwijderen foto uit paragraaf
	{					
		if (confirm("Foto verwijderen\nBent u zeker?")) 
		{
			location.href = url
		}
	}

function Verplaats(url) 
	{
		location.href = url
	}

function printer()
{
	if (window.print) {window.print();}
	else {alert("Sorry! Deze adrukoptie is niet beschikbaar in uw web browser!");}
}
