function dhtml_img(bild) {
  if (document.images) document.images['banner'].src=bild;
}
function dhtml_obj(id) {
  if (document.layers)
    return document.layers[id];
  else if (document.all)
    return document.all[id];
  else if (document.getElementById)
    return document.getElementById(id);
}
function dhtml_style(id) {
  if (document.layers)
    return dhtml_obj(id);
  else if (document.all || document.getElementById)
    return dhtml_obj(id).style;
}
function set_height() {
  if (window.innerHeight) {
    docHeight=window.innerHeight;
  } else if(window.screen && window.screenTop) {
    docHeight=screen.availHeight-window.screenTop-24;
  } else {
    docHeight=623;
  }
  if (document.getElementById('cont').scrollHeight) {
    var comp=document.getElementById('cont').scrollHeight;
  } else {
    var comp=dhtml_style('cont').height;
  }
  if(comp < docHeight) dhtml_style('cont').height=docHeight+'px';
}
