/**
 * Pops a Networks Game Window.
 *
 * @param 	string 	the url to open (use this.href and set the url in the href attribute)
 * @param 	string 	a_sClientCode
 * @param 	int 	optional a_iHeight to use
 * @param 	int 	optional a_iWidth to use
 * @return	void
 */
/*
function popNWGameWindow(a_sUrl, a_sClientCode, a_iWidth, a_iHeight)
{ 
	/ Set default size
	var iWidth  = a_iWidth  > 0 ? a_iWidth  : 675;
	var iHeight = a_iHeight > 0 ? a_iHeight : 510;
	if (navigator.userAgent.indexOf('Safari') != -1)
	{
		/ Safari needs more stuff
		iHeight += 22;
	}
	var sOptions = 'status,height='+iHeight+',width='+iWidth; 
	theWin = window.open(a_sUrl, a_sClientCode + 'Window', sOptions);
	theWin.focus();
}
*/

/**
 * Pops a Netent Game Window. If a tournament is running, the window width is increased.
 *
 * @param 	string 	the url to open (use this.href and set the url in the href attribute)
 * @param 	string 	the ID of the game
 * @param 	bool	true if there is a tournament running for this game
 * @param 	int 	optional a_iHeight to use
 * @param 	int 	optional a_iWidth to use
 * @return	void
 */
/*
function popNEGameWindow(a_sUrl, a_sGameID, a_bTourneyIsActive, a_iWidth, a_iHeight)
{ 
	/ Set default size
	var iWidth  = a_iWidth  > 0 ? a_iWidth  : 801;
	var iHeight = a_iHeight > 0 ? a_iHeight : 477;
	if (navigator.userAgent.indexOf('Safari') != -1)
	{
		/ Safari needs more stuff
		iHeight += 22;
	}
	if (a_bTourneyIsActive == true)
	{
		/ Add the width of the tournament applet
		iWidth += 198;
	}
	var sOptions = 'status,height='+iHeight+',width='+iWidth; 
	theWin = window.open(a_sUrl, a_sGameID + 'Window', sOptions);
	theWin.focus();
}
*/