Nadya,
What about floating a transparent shape above the region where your page tabs sit? Have this shape's click event save the current page id to a pageframe property, then pass the mouse click through to whatever sits underneath it.
Does that sound like something that might work for you?
Malcolm