function write_to_dom(cover, div_id){
  cover.id = div_id;
  target = document.getElementById(div_id).parentNode;
  child = target.firstChild
  do{
    next = child.nextSibling
    if(child.nodeName != 'STYLE'){
      target.removeChild(child);
    }
    child = next
  }while(child)
  target.appendChild(cover);
  target.style.display = '';
}


var html;
var cover;
  html = "<div class=\"heliumTopArticle heliumWidget heliumPublic\">\n  <div class=\"heliumTopArticleMain\">\n    <p class=\"heliumLead\">Submit your own article on...<\/p>\n    \n        <a class=\"heliumRankIcon\" href=\"http://www.helium.com/items/1391504-how-advertise-blog\"><em>1<\/em> of 5<\/a>\n\n      <p class=\"heliumTitle\">\n        <a href=\"http://www.helium.com/knowledge/11511-how-to-advertise-your-blog\">How to advertise your blog<\/a>\n      <\/p>\n        \n      <p class=\"heliumByline\">by <a href=\"http://www.helium.com/users/125104\">Gordon Hamilton<\/a><\/p>\n    \n      <div class=\"heliumBodyText\"><p>When we have gone to all the bother of setting up a blog, and essentially undertaken the commitment to post to it on a regular basis in order to make it successful, it is essential that we then proceed to advertise the existence of our blog to others around the Web. Yes, the search engines\' spiders may find it and index it without us doing so, but the likelihood of it ever reaching its full potential is greatly reduced if not all but eliminated if we do not undertake to advertise it to<\/p> ... \n        <a class=\"heliumBodyTextLink\" href=\"http://www.helium.com/items/1391504-how-advertise-blog\">read more<\/a>\n      <\/div>\n      \n    \n    <p class=\"heliumWriteNow\"><a href=\"http://www.helium.com/items/write_now_remote?category_id=11511\">Write now!<\/a><\/p>\n    \n    <p class=\"heliumClose\">You are a few easy steps away from getting published.  Click on the link above to join Helium and get started.<\/p>\n  <\/div>\n  \n  <div class=\"heliumTopArticleFooter heliumKnowledge\">    \n    <a class=\"heliumPoweredBy\" href=\"http://www.helium.com\">Powered by Helium.com<\/a>\n  <\/div>\n<\/div>\n";
  cover = document.createElement("div");
  cover.innerHTML = html;
  write_to_dom(cover, 'helium_widget1424');



