function readSelection(select)
{
	var styleread = select.options[select.selectedIndex].value;
	if (styleread == "") return;
	setStyle(styleread);
    setStyleCookie();
}   

function setSelection()
{	
	var Style = getStyleCookie();
	if (Style != "")
	{
		for (i=0; i < document.getElementById("selStyleSwitcher").length;i++)
		{
			if (document.getElementById("selStyleSwitcher").options[i].value == Style)
			{
				document.getElementById("selStyleSwitcher").selectedIndex=i;
				return;
			}
		}
	/*
		for (i=0;i< this.frmStyleSwitcher.selStyleSwitcher.length;i++)
		{
			if (this.frmStyleSwitcher.selStyleSwitcher.options[i].value == Style)
			{
				this.frmStyleSwitcher.selStyleSwitcher.selectedIndex=i;
				return;
			}
		}
		*/
	} else {
	  setStyle("Rot");
      setStyleCookie();
	}
}

