var setStartPageCookieName = 'SetStartPage';

function modeRedirect()
{	
	var redirectPath = getCookie(setStartPageCookieName);	
	
	if(redirectPath != null && redirectPath != '')
	{
		document.location.href = redirectPath;		
	}
}

addLoadEvent(modeRedirect);
