// JavaScript Document
var win = null;
function NewWindow(mypage,myname,w,h,scroll)
{
	LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
	TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
	settings =
	'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',location=no,scrollbars='+scroll+',resizable'
	win = window.open(mypage,myname,settings)
	if (window.focus) 
	{
		win.focus()
	}
	return false;	
}

function BasicPopUp(mypage)
{
	this.NewWindow(mypage, 'advies', 500, 400, 'yes');
	return false;
}
