function InitStyle()
{
	var strCss = getCookie("RLcss");

	if(typeof(strCss) == "undefined")
		strCss = "Medium";

	if(strCss == "Small")
		document.write('<link rel="stylesheet" title="Small" href="style_s.css" type="text/css">');
	else
		document.write('<link rel="stylesheet" title="Small" href="style_s.css" type="text/css" disabled>');

	if(strCss == "Medium")
		document.write('<link rel="stylesheet" title="Medium" href="style_m.css" type="text/css">');
	else
		document.write('<link rel="stylesheet" title="Medium" href="style_m.css" type="text/css" disabled>');

	if(strCss == "Large")
		document.write('<link rel="stylesheet" title="Large" href="style_l.css" type="text/css">');
	else
		document.write('<link rel="stylesheet" title="Large" href="style_l.css" type="text/css" disabled>');

	if(strCss == "ExtraLarge")
		document.write('<link rel="stylesheet" title="ExtraLarge" href="style_xl.css" type="text/css">');
	else
		document.write('<link rel="stylesheet" title="ExtraLarge" href="style_xl.css" type="text/css" disabled>');

	return true;
}

function SetStyle(strName)
{
	var intCount;

	for(intCount = 0;intCount < document.styleSheets.length; intCount++) {
		if(document.styleSheets[intCount].title == strName)
			document.styleSheets[intCount].disabled = false;
		else
			document.styleSheets[intCount].disabled = true;
	}

	setCookie("RLcss", strName, 30, "/", null);
}

function UpdateStyle()
{
	var strName;

	strName = getCookie("RLcss")

	if((typeof(strName) != "undefined")&&(strName != null))
		setCookie("RLcss", strName, 30, "/", null);
}