rem: if (unescape(getParam('readrunner_no_separators')) == '1'){ 
add:  if (RRdividersOnInCookie()) { 
context: function RRcheckLineBreaks() {	var addText;	var myText;	var resultString;	var oObject = document.all.item("RR1");	var bSeperator;	if (unescape(getParam('readrunner_no_separators')) == '1'){		bSeperator = false;}	else{		bSeperator = true;}	if (oObject != null) {		if (document.all("RR1").length == undefined) {			antalLayers = 1;			isOnlyOneLayer = 1;		} else {			antalLayers = document.all("RR1").length;			isOnlyOneLayer = 0;		}		for (iCount1=0;iCount1<antalLayers;iCount1++) {			resultString = "";			oTextRange = document.body.createTextRange();			if (isOnlyOneLayer) {				oTextRange.moveToElementText(RR1);			} else {				oTextRange.moveToElementText(eval("RR1[" + iCount1 + "]"));			}			window.scrollTo(0,0);			oRect = oTextRange.getClientRects();			oldHTML = RRremoveDIV(oTextRange.htmlText);			iCount=0;			while ((oRect.length) > iCount) {				window.scrollTo(oRect[iCount].left-10,oRect[iCount].top-10);				oTextRange.moveToPoint(oRect[iCount].left-document.body.scrollLeft,oRect[iCount].top-document.body.scrollTop);				tRange = -1;				oDivH = oTextRange.boundingHeight;				while (oDivH == oTextRange.boundingHeight && tRange != oTextRange.boundingWidth) {					tRange = oTextRange.boundingWidth;					oTextRange.moveEnd("word");				}				if (tRange != oTextRange.boundingWidth || oDivH != oTextRange.boundingHeight) {					oTextRange.moveEnd("word",-1);				}				oldHTML = oldHTML.replace(/\r/gi,"");				oldHTML = oldHTML.replace(/\n/gi,"");				oldHTML = oldHTML.replace(/\t/gi,"");				myText = "";				myText = oTextRange.text;				myTextLength = myText.length;				test = 0;				myCount = 0;				do {					myRe = /</g;					myRe.lastIndex=test;					myRe.exec(oldHTML.substr(0,(myTextLength+myCount)));					test=myRe.lastIndex;					last=test;					if (test>0) {						myRe = />/g;						myRe.lastIndex=test;						myRe.exec(oldHTML);						test=myRe.lastIndex;						myCount = myCount + (test - last + 1);					}				} while (test>0);				resultString = resultString + oldHTML.substr(0,myTextLength+myCount)				oldHTML = oldHTML.substr(myTextLength+myCount)				if (/ $/.exec(resultString)) {					resultString = resultString.substr(0,(resultString.length-1));				}				if (!/^<\/q/i.exec(oldHTML)) {					if ((myTextLength+myCount) != 0) {						if (/[\.,]$/.exec(resultString) && bSeperator) { // ||							resultString = resultString + "\n";						} else {							resultString = resultString + "</Q><br>\n<Q>";							RRlayers++;						}					}				}				iCount++;			}			resultString = resultString + oldHTML;			if (isOnlyOneLayer) {				document.all.RR1.innerHTML = resultString;			} else {				document.all.RR1[iCount1].innerHTML = resultString;			}			window.scrollTo(0,0);		}		RRinitSpeedCalc();		RRinitWorm();	}}
meta: 6464	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6464/52dec3e329f6b26757ae90be78bcba5e197751be/rrscript.js/clean/install/htdocs/sv/readrunner/javascript/rrscript.js