

  for (l=0;l<layerid.length;l++) {
    
    divid=layerid[l]+"div";
    imgid=layerid[l]+"img";
    img="fov/"+hemisphere+"."+layerid[l]+".png";
        
    document.write("<div id=\""+divid+"\" style=\"position:absolute;");
    if (byfilter) {
      document.write("width:540px;height:540px;");
      document.write("filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+img+"',sizingMethod='image');");
    }   
    document.writeln("\">");

    if (!byfilter) {
      document.writeln("<img id=\""+imgid+"\" src=\""+img+"\">");
    } 
    document.writeln("</div>");
 
  }


  document.write("<div id=\"radardiv\" style=\"position:absolute;");
    if (byfilter) {
      document.write("width:540px;height:540px;");
      document.write("filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fov/gbr.fov.png',sizingMethod='image');");
      
    }   
    document.write("visibility:hidden;");
    document.writeln("\">");

    if (!byfilter) {
      document.writeln("<img id=\"radarimg\" src=\"fov/gbr.fov.png\">");
    } 
    document.writeln("</div>");

