rem:  return { startContainer: XRai.startselection, endContainer: XRai.endselection}; 
add: if (compareDocumentPosition(XRai.endselection, XRai.startselection) & DOCUMENT_ORDER_BEFORE) return { startContainer: XRai.startselection, endContainer: XRai.endselection}; return { startContainer: XRai.endselection, endContainer: XRai.startselection}; 
context:       XRai.getSelectedRange = function() {         return { startContainer: XRai.startselection, endContainer: XRai.endselection};      }
meta: 8632	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8632/54ec3394e56995837ac14240ddfe00752d141a15/article.js/clean/trunk/js/article.js