var rec_timer = setInterval(rec_show, 300);
var rec_counter = 0;
function rec_show() {
  rec_counter++;
  if (rec_counter > 10) {
    clearInterval(rec_timer);
    rec_replace_default();
  } else {
    try {
      if (rec_zones) {
        clearInterval(rec_timer);
        rec_replace();
      }
    } catch (e) {
      // do nothing
    }
  }
}
function rec_replace() {
  rec_html('rec_zone3', rec_zones['zone3']);
}
function rec_replace_default() {
  rec_html('rec_zone3', '<!-- no ad -->');
}
function rec_html(id, content) {
  if (content == null) {
    content = '';
  }
  document.getElementById(id).innerHTML = content;
}
