function testForObject(Id, Tag)
{
  var o = document.getElementById(Id);
  if (o)
  {
    if (Tag)
    {
      if (o.tagName.toLowerCase() == Tag.toLowerCase())
      {
        return o;
      }
    }
    else
    {
      return o;
    }
  }
  return null;
}

function flashDelay() {
var divobj = testForObject ("RentboyEntertainmentBody");
if (divobj) {
    document.getElementById('RentboyEntertainmentBody').style.display = 'block';
    //document.getElementById('HBFlashButton').style.display = 'block';}
    }
}

