rem: RRdisableBtn('reset'); 
context: function RRprepare() {	RRdisableBtn('reset');	RRdisableBtn('start');	RRenableBtn('stop');	RRcheckSpeed();	/* Settings */	var RRform = document.forms.form1;	charsPerSec = RRform.RRspeed.value;	theColorWorm = 'rgb(' + RRform.RRcolorWorm.options[RRform.RRcolorWorm.selectedIndex].value + ')';	theColorBg = 'rgb(' + RRform.RRcolorBg.options[RRform.RRcolorBg.selectedIndex].value + ')';	theColorText = 'rgb(' + RRform.RRcolorText.options[RRform.RRcolorText.selectedIndex].value + ')';		/* Build semi-transparent text - 80% of theColorWorm */	theColorTextTransp = RRform.RRcolorWorm.options[RRform.RRcolorWorm.selectedIndex].value;	var transpVal = RRform.RRopacityLevel.options[RRform.RRopacityLevel.selectedIndex].value;	arrTransp = theColorTextTransp.split(',');	for (var i=0; i<3; i++) {		arrTransp[i] = (arrTransp[i] > 0) ? parseInt(arrTransp[i] * transpVal) : 0;	}	theColorTextTransp = 'rgb(' + arrTransp[0] + ',' + arrTransp[1] + ',' + arrTransp[2] + ')';		paus1 = parseFloat(RRform.p1.value) * 1400;	paus2 = parseFloat(RRform.p2.value) * 1000;	paus3 = parseFloat(RRform.p3.value) * 1000;	paus4 = parseFloat(RRform.p4.value) * 1000;	if(runMode == "stop") { 		runMode = "start";		updateScreenSize();		RRworm(); 	} else {		for(n=1;n<4;n++) {			eval("paus" + n + " = (form1.cbp" + n + ".checked) ? paus" + n + " : 0");		}		cps = charsPerSec;		if (RRcounter > 1) { // right click start			for (n = 1; n <= RRlayers; n++) {				RRobj = document.all.tags("Q").item(n-1);				RRarray[n] = RRobj.innerText.length;				if (n < RRcounter) {					RRobj.style.backgroundColor = theColorBg;					RRobj.style.color = theColorText;				} else {					RRobj.style.backgroundColor = theColorWorm;					RRobj.style.color = (RRform.blnOpacity.checked) ? theColorTextTransp : theColorWorm;				}			}		} else { // original			for (n = 1; n <= RRlayers; n++) {				RRobj = document.all.tags("Q").item(n-1);				RRarray[n] = RRobj.innerText.length;				RRobj.style.backgroundColor = theColorWorm;				RRobj.style.color = (RRform.blnOpacity.checked) ? theColorTextTransp : theColorWorm;			}		}		RRform.blnOpacity.disabled = 1;		RRform.RRopacityLevel.disabled = 1;		updateScreenSize();		if (RRcounter > 1) {			setTimeout("RRworm()", 1000);		} else {			RRworm();		}	}}
meta: 6464	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6464/2aac284dd84fd3612a3af1bbbdb88d4e1d880496/rrscript.js/clean/install/htdocs/sv/readrunner/javascript/rrscript.js