I am trying to dynamically change HTML to show a decreasing price and an increasing timer. The setTimeout()
fires every second and what I'm doing works in FF and Opera but does nothing in IE. At first in IE I was getting
an "Unknown runtime error" but found that if I skipped the first update that the error went away (doesn't like
updating a node in the DOM that is currently being written).

So now it simply does nothing.

Effectively I am doing:
Code:
function setInnnerHTML(id, str) {
  tag = document.getElementById(id);
  if( tag ) tag.innerHTML = str;
}

html_str = '<span class="rev_auction_price"> \
				'+ra_lang.rev_auction_price+': \
				<span class="price">'+ra_lang.currency_symbol+'</span> \
				<span id="'+ra_current[id].inner_tag+'" class="price">'+p+'</span> \
			</span>';

setInnerHTML('line_discounted_price_1553', html_str);
But as I said, it displays nothing and I don't have good tools to look directly in the DOM to see what's there.
However, I'm not getting any errors.

Any thoughts on what to adjust? It simply does not replace the existing HTML with the new string. But like I said,
only in IE! (IE 8 is what I'm using to test with).

The starting HTML looks like this (from a view page source)

Code:
<div class="clear">
  <div class="float-right">
    <a href="/apparel/men/adidas-mens-climacool-mesh-polos.html"><img class=" " id="det_img_260001553" src="/images/thumbnails/thumbnail_70__B0001K9MV2.01-A3JVIKGOHK5XS3._SCMZZZZZZZ_.jpg" width="70"  alt="B0001K9MV2.01-A3JVIKGOHK5XS3._SCMZZZZZZZ_.jpg"  border="0" /></a>
  </div>
  <a href="/apparel/men/adidas-mens-climacool-mesh-polos.html" class="product-title" title="Adidas Mens ClimaCool Mesh Polos">Adidas Mens ClimaCool Mesh Polos</a>
  <p>
    <span class="price" id="line_discounted_price_1553">
	<!-- Start inner area to replace -->
      <span class="price">$</span>
      <span id="sec_discounted_price_1553" class="price">49.95</span>
      <!-- End inner area to replace -->
    </span>
	<script type="text/javascript">
		if( typeof(ra_current) == 'undefined' || typeof(ra_current[1553]) == 'undefined' ) {
			if( typeof(ra_current) == "undefined" ) 
			var ra_current = new Object(); 
		ra_current[1553] = {
			product_id : 1553,
			auction_active : "Y",
			auction_show_clock : "Y",
			auction_restart : "Y",
			auction_start_price : 49.95,
			auction_min_price : 39.95,
			auction_qty : 2,
			auction_start : 1296046293,
			auction_end : 1296046593,
			auction_restart_delay : 0,
			auction_time : 1296046430,
			auction_pp_sec : 0.033333333333333,
			auction_cur_price : 45.38,
			rev_auction_debug_timer : 0,
			auction_price_id : 'line_discounted_price_1553',
			auction_line_discounted_base : 'line_discounted_price_',
			auction_sec_discounted_base : 'sec_discounted_price_',
			auction_object_ids : ['270001553','260001553','1553'],
			auction_start_date : 'Jan 25, 2011 08:51 pm'
			};
		}
		if( typeof(ra_current) != 'undefined' && typeof(ra_current[1553]) != 'undefined' ) {
			if( ra_current[1553].auction_time < ra_current[1553].auction_end 
				&& typeof(ra_current[1553].current) == 'undefined' ) {
				   set_auction_price(ra_current, 1553 );
				   ra_current[1553].current = true;
			}
		}
	</script>
  </p>
</div>