title: concatenate a variable name with a number
body: <p>I have many fields. (Field1, Field2, Field3, Field4, etc.)</p>
  
  <p>I want to insert an image in a field when a user clicks on it.
  If I have to rely on my special (and I mean that in an Olympic way) non-algorithmic process below, I'll never finish.</p>
  
  <p>Any help doing this the right way would be appreciated.</p>
  
  <pre><code>&lt;span onclick=Flag(1)&gt;Field 1 &lt;%=field1%&gt;&lt; /span&gt;
  &lt;span onclick=Flag(2)&gt;Field 2 &lt;%=field2%&gt;&lt; /span&gt;
  &lt;span onclick=Flag(3)&gt;Field 3 &lt;%=field3%&gt;&lt; /span&gt;
  &lt;span onclick ..... &lt; /span&gt;
  
  &lt;script&gt;
  sub flag(x)
   Select Case x
    case 1
     field1="&lt; img src="checkmark.png"&gt;"
     field2=""
     field3=""
     field4=""
    case 2
     field1=""
     field2="&lt; img src="blue1.png"&gt;"
     field3=""
     field4=""
    case 3
     field1=""
     field2=""
     field3="&lt; img src="blue1.png"&gt;"
    case ...
   end select
  end sub
  &lt;/script&gt;
  </code></pre>