
// Copyright (c) 2003 Sonic Foundry, Inc. and Sonic Foundry 
// Media Systems, Inc. Neither this code nor any portion 
// thereof may be reproduced, altered, or otherwise changed, 
// distributed or copied, without the express written 
// permission of Sonic Foundry.  
// All rights reserved.

function NoPopupRedirector()
{
	this.Redirect = function()
	{
		var playerType = new PlayerDetect().GetPlayerType();
//		var redirectUrl = 
//				this.ViewerUrl + 
//				'&' + SfRequestVariables.PlayerType + '=' + playerType + 
//				'&' + SfRequestVariables.ViewerMode + '=' + SfRequestVariables.ViewerModeDefault +
//				'&' + SfRequestVariables.ShouldResize + '=false';
				
		document.getElementById(vInputPlayerTypeID).value = playerType;
		document.forms[0].submit();

//		window.location.replace(redirectUrl);
	}
}
	