function newwindow( url, id, w, h ) {
	var xPos = (screen.availWidth - w) / 2
	var yPos = (screen.availHeight - h ) / 2
	window.open( url, id, 'width='+w+",height="+h+", scrollbars=yes, screenX="+xPos+",screenY="+yPos+",left="+xPos+",top="+yPos+",screenX="+xPos+",screenY="+yPos+",left="+xPos+",top="+yPos );
}
function newwindow_ns( url, id, w, h ) {
	var xPos = (screen.availWidth - w) / 2
	var yPos = (screen.availHeight - h ) / 2
	window.open( url, id, 'width='+w+",height="+h+", scrollbars=no, screenX="+xPos+",screenY="+yPos+",left="+xPos+",top="+yPos+",screenX="+xPos+",screenY="+yPos+",left="+xPos+",top="+yPos );
}
	
function pop(pg) {
	if(pg == "contact") {
		newwindow('http://www.consumercarecentre.nl/formulieren/contact.php?objid=21374740', 'Contact', '500', '550');
		
	}
	if(pg == "privacy") {
		newwindow('http://u1.peersphere.net/unilever/controller/Legal/Algemeen/Privacyverklaring', 'PrivacyVerklaring', '500', '550');
		
	}
	if(pg == "voorwaarden") {
		newwindow('http://u1.peersphere.net/unilever/controller/Legal/Algemeen/Gebruiksvoorwaarden', 'Gebruiksvoorwaarden', '500', '550');
		
	}
	if(pg == "cookies") {
		newwindow('http://u1.peersphere.net/unilever/controller/Legal/Robijn/Cookies', 'Cookies', '500', '550');
		
	}
	if(pg == "groenevoornemens") {
		newwindow_ns('/activatie/groenevoornemens.html', 'GroeneVoornemens', '686', '498');
	}
	// getURL("javascript:pop('voorwaarden')");
}

