Match all occurances with window.find()
<p>For example if I have a web page HTML like below  </p>

<pre><code>&lt;body&gt;
        Hello Techies, &lt;br&gt;
        Techies here.
&lt;/body&gt;  
</code></pre>

<p>If I search for "Techies" using </p>

<pre><code> var sel = window.getSelection(); 
 sel.collapse(document.body, 0); 
 document.body.offsetHeight;
 if (window.find("Techies", true)) { 
   document.execCommand("hiliteColor", false, "YellowGreen"); 
   sel.collapseToEnd(); 
 }
</code></pre>

<p>It is Highlighting only the first occurred of the "Techies". But when I search with Ctrl+F the first occurance will be highlighted in Dark and next occurances will be highlighted in light color mode. How can I achieve the same with the above code. Please ask me if you need any further inputs to be more clear.</p>
