function divTag(tag, cl, div) {
  document.write('<' + tag + ' ');
  document.write('class="' + cl + '" ');
  document.write('style="font-size: ' + parseInt(screen.height/div) + 'pt">');
  return 0;
}

function setResize(){
    setTimeout("window.onresize=reDo;",500);
}

function reDo(){
    window.location.reload();
}

function reDoIE(){
    imBG.height = document.body.clientHeight;
    imBG.width = document.body.clientWidth;
}

function makeIm() {
  var winWid = (NS4) ? innerWidth : document.body.clientWidth;
  var winHgt = (NS4) ? innerHeight : document.body.clientHeight;

  imStr = "<DIV ID=elBGim" + " STYLE='position:absolute;left:0;top:0;z-index:-1'>"   + "<IMG NAME='imBG' BORDER=0 SRC=" + imSRC;
  if (scaleWidth) imStr += " WIDTH=" + winWid;
  if (scaleHeight) imStr += " HEIGHT=" + winHgt;
  imStr += "></IMG></DIV>";
    
  document.write(imStr);
}

function image(name, width, height, other) {
  var winWid = screen.width;
  var winHgt = winWid;
  document.write("<img src='" + name + "' width='" + winWid*width/100 + "' height = '" + winHgt*height/100 + "' " + other + " >");
}
