current.Cookies = 
{
	HEADER : 'higgins',
	IP : 'magnum',
	LOCALE : 'gillis',
	UNIQUE_SESSION: 'tc',
	USERNAME : 'baldwin',
	DISTANT_EXPIRE : 1 * 60 * 24 * 365 * 5,
	USER_ID : 'zeus',
	PREVIOUS_PAGE_NAME : 'tanaka',
	CACHE_NAME: 'WU',
	CACHE_VALUE: 'x',
	CACHE_EXPIRES: 5,
	REGISTRATION : 'moki',
	PROFILE_COMPLETION : 'wilbur',
	CLICK_MAP : 'bonig',
	SESSION_ID : 'chumley',
	ACEGI : 'ACEGI_SECURITY_HASHED_REMEMBER_ME_COOKIE',
	USER_MEMBER : 'orville',
	LOGIN_REDIRECT : 'buck',
	SYSTEM_MESSAGE_HIDE : 'hue',
	SYSTEM_MESSAGE_HIDE_EXPIRE : 1 * 60 * 24 * 7,
	HOMEPAGE_ABC_TEST : 'calvin',
	HOMEPAGE_ABC_TEST_EXPIRE : 1 * 60 * 24 * 30,
	PLAYER_AUDIO_ON : 'sullivan',
	GROUP_MESSAGE_SHOW : 'robin',
	HOMEPAGE_INTERSTITIAL : 'scholl'
};


function setSessionCookie(name, value) 
{
	document.cookie = name + "=" +escape( value ) + ";path=/";
}
function setTimedCookie(name, value, expires)
{
	var today = new Date();
	today.setTime(today.getTime());
	if (expires) {
		expires = expires * 1000 * 60; //using mins, not days: * 24
	}
	var expires_date = new Date(today.getTime() + (expires));
	document.cookie = name+'='+escape(value) +
		((expires) ? ';expires='+expires_date.toGMTString() : '') + 
		';path=/';
}
function getCookieValue(name)
{
	var start = document.cookie.indexOf(name + "=");
	var len = start + name.length + 1;
	if ((!start) && ( name != document.cookie.substring( 0, name.length))) 
	{
		return null;
	}
	if (start == -1)
	{
		return null;
	}
	var end = document.cookie.indexOf(";", len);
	if (end == -1)
	{
		end = document.cookie.length;
	}
	return unescape(document.cookie.substring(len, end));
}

function deleteCookie(name)
{
	if (getCookieValue(name))
	{
		document.cookie = name + '=' + ';expires=Thu, 01-Jan-1970 00:00:01 GMT' + ';path=/';
	}
}
