function InitStyle()
{
	var strCss = getCookie("moneycss");

	if(typeof(strCss) == "undefined")
		strCss = "Small";

	if(strCss == "Small")
		document.write('<link rel="stylesheet" title="Small" href="/style_new.css" type="text/css">');
	else
		document.write('<link rel="stylesheet" title="Small" href="/style_new.css" type="text/css" disabled>');

	if(strCss == "Medium")
		document.write('<link rel="stylesheet" title="Medium" href="/styleM.css" type="text/css">');
	else
		document.write('<link rel="stylesheet" title="Medium" href="/styleM.css" type="text/css" disabled>');

	if(strCss == "Large")
		document.write('<link rel="stylesheet" title="Large" href="/styleL.css" type="text/css">');
	else
		document.write('<link rel="stylesheet" title="Large" href="/styleL.css" type="text/css" disabled>');

	//if(strCss == "ExtraLarge")
	//	document.write('<link rel="stylesheet" title="ExtraLarge" href="/css/css_XL.css" type="text/css">');
	//else
	//	document.write('<link rel="stylesheet" title="ExtraLarge" href="/css/css_XL.css" type="text/css" disabled>');

// document.wirte('<LINK id="_DesktopModules_CMS_Module_Type_3" rel="stylesheet" type="text/css" href="/DesktopModules/CMS-Module-Type-3/module.css"></LINK>');
// document.wirte('<LINK id="_Portals__default_" rel="stylesheet" type="text/css" href="/Portals/_default/default.css"></LINK>');
// document.wirte('<LINK id="_Portals_0_" rel="stylesheet" type="text/css" href="/Portals/0/portal.css"></LINK>');
// document.wirte('<link id="HouseMenuStyleLink441" href="/DesktopModules/HouseMenu/styles/MCstyle.css" type="text/css" rel="stylesheet"></link>');


	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("moneycss", strName, 30, "/", null);
}

function UpdateStyle()
{
	var strName;

	strName = getCookie("moneycss")

	if((typeof(strName) != "undefined")&&(strName != null))
		setCookie("moneycss", strName, 30, "/", null);
}