'
  dark += '\n .active { color:white!important } #left-panel {background:#444;}  ' 
  document.getElementById('theme').textContent = (css===(md.yaml.style||'')? dark : md.yaml.style||'')
}

//=== load and parser markdown file. 
md.load = function (fname) { 
  var xmlhttp = new XMLHttpRequest();
  
  xmlhttp.onload = function (e) {
  
    document.getElementById('right-panel').innerHTML = md.html(md.text=this.responseText) + '<br>'
    document.getElementById('right-panel').scrollTop = 0
    md.toc( 'right-