Interaction Manager (2)

...and shapes the interaction accordingly:

Could be code: JavaScript using the APIs mentioned above, or declarative interaction markup like VoiceXML, with a mapping to API calls(with XBL)

27