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/1004363-simple-ways-to-improve-your-vocabulary\"><em>1<\/em> of 40<\/a>\n\n      <p class=\"heliumTitle\">\n        <a href=\"http://www.helium.com/knowledge/44389-simple-ways-to-improve-your-vocabulary\">Simple ways to improve your vocabulary<\/a>\n      <\/p>\n        \n      <p class=\"heliumByline\">by <a href=\"http://www.helium.com/users/386205\">Ruth Belena<\/a><\/p>\n    \n      <div class=\"heliumBodyText\"><p>Words are the writer\'s tool and knowing how to use them is the writer\'s craft. The same can be said for the speaker, the teacher and the preacher. It is important for everyone to understand the words they use. Never assume you know the meaning of a word. If you are not certain you should look it up in the dictionary. Write it down if necessary, so you can look it up later, or look it up and write down its meaning. Then try to compose a sentence using the word in its correct context.<\/p><p>To <\/p> ... \n        <a class=\"heliumBodyTextLink\" href=\"http://www.helium.com/items/1004363-simple-ways-to-improve-your-vocabulary\">read more<\/a>\n      <\/div>\n      \n    \n    <p class=\"heliumWriteNow\"><a href=\"http://www.helium.com/items/write_now_remote?category_id=44389\">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_widget8115');




