s))
	{
		return;
	}
	
	const frame = citFrames[frameName];
	frame?.contentWindow.postMessage({ type: 'poll' }, '*');
});

focusFrame = function(frameName)
{
	// rearrange the z/focus stacks
	zStack = zStack.filter(val => val !== frameName);
	zStack.push(frameName);

	focusStack = focusStack.filter(val => val !== frameName);
	focusStack.splice(0, 0, frameName);

	// iterate the z order array
	for (let i = 0; i < zStack.length; i++)
	{
		const thisFrame = citFrames[zStack[i]];
		if (thisFrame) {
			thisFrame.