title: If / Else in DIV statement?
body: <p>First, I am not a programmer anymore... It's been years since doing it and even then it was only VBA and old school HTML.</p>
  <p>What I would like to do is to show an image on my site in place of another depending on it's &quot;state&quot;. For example, the site is <a href="http://w2zxl.hevener.com/" rel="nofollow noreferrer">http://w2zxl.hevener.com/</a> , towards the bottom of the page is a script that loads a HAM radio logbook as well as my current status in nearly real time. If I am on the Air, it will show a small image that says <em><strong>&quot;On Air&quot;</strong></em> and then show what <em>frequency</em> I am on and the <em>Mode</em> I am working in. When I am off the air however, that little image just disappears and shows nothing.</p>
  <p>What I would like to do is to create a small image to replace the <em>&quot;nothing&quot;</em>. In other words, if I am Off Air, I would like to show an <em>&quot;Off Air&quot;</em> image instead of nothing at all.</p>
  <p>Is there an If/Then/Else statement that can do this given the code I am providing below?</p>
  <h3>Code below:</h3>
  <pre><code>&lt;!-- HRDLOG.net script start --&gt;&lt;center&gt;
  &lt;div id=&quot;hrdlog-oa&quot;&gt; &lt;/div&gt;
  &lt;div id=&quot;hrdlog&quot;&gt;www.hrdlog.net&lt;/div&gt;
  &lt;script type=&quot;text/javascript&quot; language=&quot;javascript&quot; src=&quot;http://www.hrdlog.net/hrdlog.js&quot;&gt;&lt;/script&gt;
  &lt;script type=&quot;text/javascript&quot; language=&quot;javascript&quot;&gt;// &lt;![CDATA[
  var ohrdlog = new HrdLog('W2ZXL');
  setInterval('ohrdlog.LoadOnAir()', 5000);
  ohrdlog.LoadLastQso(10);
  // ]]&gt;&lt;/script&gt;
  &lt;img src=&quot;http://www.hrdlog.net/callplate.aspx?user=W2ZXL&quot; alt=&quot;W2ZXL CallPlate&quot; /&gt;&lt;/center&gt;&lt;!-- HRDLOG.net script stop --&gt;
  </code></pre>