var playerWindowProps = 'height=730,width=430';

function openPlayer(props,s) {
	// see if the props has more than one param, if so, write the link to AuthUser instead
	var url = "/player/v2/player.jsp?";
	if (props.indexOf("&") > -1)
	{
		if(s) {
		
		} else {
		url = "/player/authorised/AuthUser.jsp?";
		}
	}
	window.open(url+props,'c4Player',playerWindowProps);
	return;
}

function openPlayerWindow(url) {
	window.open(url,'c4Player',playerWindowProps);
	return;
}

