/**
 * Portal provides functionality used by Pluriform to interface with web
 * frameworks from outside sources (for example, javascript-urls that
 * perform navigations and the like).
 * 
 * Avoid using the interface defined here directly. Use the appropriate
 * methods in Pluriform instead.
 */

Portal = {};

Portal.navigate = function (sessionid, item, params) {
	var session = Framework.sessionById(sessionid);
	if (session) {
		new Request.Navigate (Framework.sessionById(sessionid), item, params).send ();
	}
}
