function create_layer(name, src, z, x, y, width, height, visible) {
    if(document.layers){
      if (visible == "visible") {
          visible = "show";
      } else {
          visible = "hide";
      }
    } 
    document.write ("<IFRAME border=0 allowtransparency=true vspace=0 hspace=0 scrolling=no frameborder=0 id='" + name + "' src='" + src + "' style='position:absolute; left:" + x + "px; top:" + y + "px; width:" + width + "px; height:" + height + "px; z-index:" + z + "; visibility: " + visible + "'>");
    document.write ("  <LAYER id='" + name + "' src='" + src + "' left=" + x + " top=" + y + " width=" + width + " height=" + height + " z-index=" + z + "visibility=" + visible + "></LAYER>");
    document.write ("</IFRAME>");
  }
//-->

function loadURL(L,URL){
    if(document.layers){
      L=eval("document.layers[\'" + L + "\']");
      L.load(URL,L.clip.width);
      //L.src = URL;
    } else {
      L=document.getElementById(L);
      L.src = URL;
    }
  }
//-->