document.write('<style id="noflickerCSS" type="text/css">'+
'  .slidebox .itm2, .slidebox .itm3, .slidebox .itm4, .slidebox .itm5,'+
'  .quicknav .summary,'+
'  .maplist h2, .maplist h3, .maplist p, .maplist ul'+
'  .acc2, .acc3,'+
'  .naestaskref, .tengtefni, .tilvisun,'+
'  .catfiles .longdesc,'+
'  .togglebox,'+
'x { display: none; }' +
'  .accnav { margin:0; }' +
'  .maplist .chapter h2 { display: block; }</style>');

// Timeout after 4 seconds and remove the <style> elements - 
// in case some script has thrown an error and js/init.js hasn't finished running
setTimeout(function(c){
    c = document.getElementById('noflickerCSS');
    c && c.parentNode.removeChild(c);
  }, 4000);

