function changecss(arg) {
	if (document.styleSheets) {
		var i;
		var x = 0;
		for (i = 0; i < document.styleSheets.length; i++) {
			if (arg == document.styleSheets[i].title) {
				x = 1;
				break;
			}
		}
		if (x) {
			for (i = 0; i < document.styleSheets.length; i++) {
				document.styleSheets[i].disabled = 
					(arg == document.styleSheets[i].title || !document.styleSheets[i].title)?
					false: true;
			}
			document.cookie = 'ucb_css=' + escape(arg) + ';path=/ucb/';
		}
	} else {
		alert('Your web browser does not seem to support document.styleSheets object.');
	}
}
if (document.styleSheets && document.cookie) {
	var rex = new RegExp('.*ucb_css=([^;]*).*');
	if (unescape(document.cookie).match(rex)) {
		changecss(unescape(document.cookie).replace(rex,'$1'));
	}
}