function launch_point_player(session_id, promo_id)
{
	var ref = "/pointPlayer/?session_id=" + session_id;
	if (arguments.length == 2)
	{
		ref += "&promotion_id=" + promo_id
	} else if (typeof promotion_id != "undefined")
	{ 
		ref += "&promotion_id=" + promotion_id
	} else {
		alert("Undefined promotion id")
		return false;
	}
	var win = window.open(ref, "pointWin", "width=100, height=100")
	try
	{
		win.focus()
	} catch (e) { }
	return false; 
}

