function initFonts()
{
	ua=navigator.userAgent;
	if (((ua.indexOf('IE 4') == -1) && (ua.indexOf('IE 5') == -1) && (ua.indexOf('Opera') == -1)) && ((ua.indexOf('compatible') == -1) && ((ua.indexOf('/4') == -1) && (ua.indexOf('/5') == -1))))
	{
		document.write('Sorry, your browser is too old to take advantage of this page');
	}

	var fontSize = getCookie("fontSize");

	for (i=0; (a = document.getElementsByTagName("link")[i]); i++)
	{
		if (a.getAttribute("title") == "fontSize")
		{
			if (fontSize != null)
			{
				a.setAttribute("href", fontSize);
			}
		}
	}
}

function setCookie (name, value)
{ 
	path='/';
	expires = new Date();
	expires.setTime(expires.getTime() + 50000);
	document.cookie = escape (name) + "=" + escape (value) + "; expires=" + expires.toGMTString() +"; path=" +path;
	location.reload();
}

function getCookie(name)
{
	var dc = document.cookie;
	var prefix = name + "=";
	var begin = dc.indexOf("; " + prefix);
	if (begin == -1)
	{
		begin = dc.indexOf(prefix);
		if (begin != 0) return null;
	}
	else
	{
		begin += 2;
	}
	var end = document.cookie.indexOf(";", begin);
	if (end == -1)
	{
		end = dc.length;
	}
	return unescape(dc.substring(begin + prefix.length, end));
}