title: selection position of selected text of div using javascript
body: <p>I need to get the <strong>position</strong> of the selected text within a content non-editable div (not a textarea, not a rtf editor, just a simple div)</p>
  
  <p>I want to do this in order to enable users to select pieces of an article and "highlight it", by wrapping it in a span with a different background and, of course, an article is build with divs and/or p-s etc, not textareas or rtfs</p>
  
  <p>Any ideas?</p>
  
  <p>P.s. You can also use jQuery :D</p>
  
  <p>P.s.s. I need the <strong>position</strong> of the selection, not the selection itself. Aka: it start from index I to index J. I need this because the normal method of finding the text in the parent does not always return a unique result, which would suck :)</p>