Javascript: Finding and replacing dynamically generated text
<p>I know this is something that is fairly well documented, but I'm having some serious trouble applying any of it to this situation.</p>

<p>I need to come up with a way of essentially saying:  If 'phone number' appears on page -> randomly replace it with either image1, image2 or image3. And I need it to happen five times with one of three possible images to be displayed in place of each of the 5 different 'phone number'.</p>

<p>Originally I considered starting by creating 2 separate arrays. One array for the phone numbers and one array for the images to replace it, but I was completely stumped as to how I could randomly apply one of three images to a single array element.</p>

<p>Any ideas or inspiration is very much appreciated.</p>
