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/1362701-scottish-bank-notes-accepted-in-england\"><em>1<\/em> of 1<\/a>\n\n      <p class=\"heliumTitle\">\n        <a href=\"http://www.helium.com/knowledge/219054-scottish-notes-england\">Why are Scottish bank notes often not accepted in England?<\/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>The United Kingdom must be fairly unique in that it issues seven different types of its own currency. I am not talking about the denominations of the notes, I am specifically talking about who issues the notes. The currency of the United Kingdom is of course Pounds Sterling and the official issuer of notes representing same is the Bank of England, but there are three Scottish banks and three Ulster banks who have special licensing agreements to allow them to do likewise.<\/p><p>The Royal Bank <\/p> ... \n        <a class=\"heliumBodyTextLink\" href=\"http://www.helium.com/items/1362701-scottish-bank-notes-accepted-in-england\">read more<\/a>\n      <\/div>\n      \n    \n    <p class=\"heliumWriteNow\"><a href=\"http://www.helium.com/items/write_now_remote?category_id=219054\">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_widget7449');




