var sh=screen.availHeight; var sw = screen.availWidth; var windowName=null; var masterActueel=null;function openWindow(name, ref, w, h){	posX = sw/2 - w/2; posY =90; naam='venster';		if (document.all)	{		windowName=null;			attr='height=' + h + ',width=' + w + ',top=' + posY + ',left=' + posX + ',status=no,toolbar=no,menubar=no,resizable=no,scrollbars=no';				windowName=window.open(ref,naam,attr);				if (mac) windowName.moveTo(posX, posY);	}	else	{		if (!windowName || windowName.closed)		{			attr='height=' + h + ',width=' + w + ',screenY=' + posY + ',screenX=' + posX+ ',status=no,toolbar=no,menubar=no,resizable=no,scrollbars=no';				windowName=window.open(ref,naam,attr);		 	if (!windowName.opener) windowName.opener = self;		}			else 			windowName.location=ref; windowName.focus();	}}function openActueel(ref, w, h){	posX = 30; posY =90;	masterActueel=null;				if (document.all)	{		attr='height=' + h + ',width=' + w + ',top=' + posY + ',left=' + posX + ',status=no,toolbar=no,menubar=no,resizable=no,scrollbars=yes';				masterActueel=window.open(ref,'actueel',attr);		 		if (!masterActueel.opener) masterActueel.opener = self;					if (mac) masterActueel.moveTo(posX, posY);	}	else	{		attr='height=' + h + ',width=' + w + ',screenY=' + posY + ',screenX=' + posX+ ',status=no,toolbar=no,menubar=no,resizable=no,scrollbars=yes';			masterActueel=window.open(ref,'actueel',attr);					if (!masterActueel.opener) masterActueel.opener = self;		}}function closeWindow(windowName){	if (windowName != null)		if(!windowName.closed)		{			windowName.close();			windowName=null;		}}
