function SetCookie (name, value) {
	var argv=SetCookie.arguments;
	var argc=SetCookie.arguments.length;
	var path=(argc > 2) ? argv[3] : null;
	var domain=(argc > 3) ? argv[4] : null;
	var secure=(argc > 4) ? argv[5] : false;
	document.cookie=name+"="+escape(value)+
		((path==null) ? "" : ("; path="+path))+
		((domain==null) ? "" : ("; domain="+domain))+
		((secure==true) ? "; secure" : "");
}

function change_access(value)
{
	SetCookie ("style", value);
	document.location.reload(true);
}