var NewSessionID = '';
if(NewSessionID != '' && window.location.href.indexOf('singlesignon') < 0)
{
	var redirect_string = 'singlesignon=' + NewSessionID;

	if(window.location.href.indexOf('?') < 0)
	{
		window.location.href = window.location.href + '?' + redirect_string;
	}else window.location.href = window.location.href + '&' + redirect_string;
}