add: if (divID != null && RRhasPause) { var RRobjHTML = RRobj.innerHTML; if (/\<PAUS[^\>]*\>/gi.test(RRobjHTML)) { var RRpauseTag = /\<PAUS[^\>]*\>/gi.exec(RRobjHTML); if (/\([1-9]{1}[0-9]{0,1}\)/g.test(RRpauseTag)) { var RRtimerPause = /[1-9][0-9]*/i.exec(RRpauseTag); if (parseInt(RRtimerPause) > 0) thePause = RRtimerPause * 1200; } else { runMode = "stop"; call = "RRnothing()"; enableMouseClick(); } } } 
context: function RRwait(divID,didScroll) {	var thePause = 0;	if (runMode == "stop") {		call = "RRnothing()";		enableMouseClick();	} else if (RRobj.filters[0].status == 2) {			call = "RRwait()";		enableMouseClick();	} else {		call = (RRcounter > RRlayers) ? "RRquit()" : "RRworm()";		enableMouseClick();	}	if (divID != null && (form1.cbp1.checked || form1.cbp2.checked || form1.cbp3.checked || form1.cbp4.checked)) {		RRobj = document.all.tags("Q").item(divID-1);		var theText = RRobj.innerText;				if (form1.cbp3.checked) { // ***** skiljetecken ****			if (/[,;:\/-]\s*$/g.test(theText)) thePause = paus3;		}		if (form1.cbp2.checked) { //   ***** stopptecken *****			if (/[\.!\?]\s*$/g.test(theText)) thePause = paus2;		}				if (form1.cbp1.checked && divID < RRlayers) { // ***** radbrytning *****			var thisY = parseInt(RRobj.offsetTop);			var nextY = parseInt(document.all.tags("Q").item(divID).offsetTop);			var thisH = parseInt(RRobj.offsetHeight);			var nextH = parseInt(document.all.tags("Q").item(divID).offsetHeight);			thePause = (nextY != thisY || nextH != thisH) ? paus1 : thePause;		}		if (form1.cbp4.checked) { // ***** scrollning *****			if (didScroll) thePause = paus4;		}		thePause *= 1.6; //                                  ***** Adjust factor *****	}		if (parseInt(thePause) > 0) {		setTimeout(call, parseInt(thePause)+10);	} else {		setTimeout(call, 0);	}}
meta: 6464	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6464/986b5e23873822895fed8cff1a400570b772f7b7/rrscript.js/clean/install/htdocs/sv/readrunner/javascript/rrscript.js