rem: var sSettings = bPausRow+'/'+iPausRow+','; sSettings += bPausStop+'/'+iPausStop+','; sSettings += bPausDiv+'/'+iPausDiv+','; sSettings += bPausScroll+'/'+iPausScroll+','; sSettings += iColorBg+','; sSettings += iColorText+','+iColorWorm+','+bOpacity+','+iOpacityLev; setCookie('RRsettings', escape(sSettings)); 
add: var sSettings = bPausRow+'/'+iPausRow+'&'; sSettings += bPausStop+'/'+iPausStop+'&'; sSettings += bPausDiv+'/'+iPausDiv+'&'; sSettings += bPausScroll+'/'+iPausScroll+'&'; sSettings += iColorBg+'&'; sSettings += iColorText+'&'+iColorWorm+'&'+bOpacity+'&'+iOpacityLev; setCookie('RRsettings', sSettings); 
context: function RRsaveSettings(what) {	if (!window.navigator.cookieEnabled) {		alert('Du mste ha instllt att du accepterar cookies.\n(Verktyg - Internet-alternativ - Sekretess - Avancerat)');	} else {		var f = document.forms.form1;				if (what == 'Speed') {        // Save speed			var iSpeed = f.RRspeed.value;  // nuvarande/verklig			var iSpeed0 = f.RRspeed0.value;// initial/jmfrande			setCookie('RRspeed', (iSpeed + '/' + iSpeed0));		}		if (what == 'Settings') {     // Save settings			var iColorBg = 0;			var iColorWorm = 0;			arrColorWormRadio = f.RRcolorWorm;			for (var i = 0; i < arrColorWormRadio.length; i++) {				if (arrColorWormRadio[i].checked) iColorWorm = i;			}			var iColorText = 0;			arrColorTextRadio = f.RRcolorText;			for (var i = 0; i < arrColorTextRadio.length; i++) {				if (arrColorTextRadio[i].checked) iColorText = i;			}			var bOpacity = '1';			var iOpacityLev = 0;			arrOpacityLevRadio = f.RRopacityLevel;			for (var i = 0; i < arrOpacityLevRadio.length; i++) {				if (arrOpacityLevRadio[i].checked) iOpacityLev = i;			}			var bPausRow = f.cbp1.checked;			var iPausRow = f.p1.value;			var bPausStop = f.cbp2.checked;			var iPausStop = f.p2.value;			var bPausDiv = f.cbp3.checked;			var iPausDiv = f.p3.value;			var bPausScroll = f.cbp4.checked;			var iPausScroll = f.p4.value;			var sSettings = bPausRow+'/'+iPausRow+',';				sSettings += bPausStop+'/'+iPausStop+',';				sSettings += bPausDiv+'/'+iPausDiv+',';				sSettings += bPausScroll+'/'+iPausScroll+',';				sSettings += iColorBg+',';				sSettings += iColorText+','+iColorWorm+','+bOpacity+','+iOpacityLev;			setCookie('RRsettings', escape(sSettings));			//alert(sSettings);		}	}}
meta: 6464	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6464/71a72d5aa89e34863ffcc5c284132772043581c8/rrsettingsfunc.js/clean/install/htdocs/sv/readrunner/javascript/rrsettingsfunc.js