// N116 Function Added By RR on 31/01/02 to ensure that all popup windows get focus.
var aNoteWin;
var props
function openWindow(File,Title,Height,Width,Type)
	{
	if (Type == 'nobars')
	{
		props = 'toolbar=no,location=no,directories=no,status=no,scrollbars=yes,resizable=yes,copyhistory=no,width=' + Width + ',height=' + Height;	
	}
	else
	{
		props = 'toolbar=yes,location=no,directories=no,status=no,scrollbars=yes,resizable=yes,copyhistory=no,width=' + Width + ',height=' + Height;		
	}		
		aPopUp = window.open(File,Title,props);
		self.aNoteWin = aPopUp;
		aNoteWin.focus();
	}

