var year=0;
var yearMax=2010;
var yearMin=1864;

var spstr = '<a href="javascript:parent.frames[2].designer';
var spstrE= '<a href="javascript:parent.frames[2].engine';
var tdstr  = '<td width="41px" height="19px" align=center valign=top bgcolor=a0FFa0>';
var tdstr1 = '<td width="41px" height="19px" align=center valign=top bgcolor=FF6060>';
var tablestr = "<table align=center cols=3 border=1 cellspacing=2 cellpadding=0><tr height=16px>";
var yearStr1 = "<td width=35px align=center valign=center bgcolor=a0FFa0>";
var yearStr2 = "<td width=35px align=center valign=center bgcolor=FF6060>";
var yearStrA = yearStr1;
var yearStrB = yearStr1;
var tdl1  = '<tr><td bgcolor="aaaaaa" width="138px" height="19px">';
var tdl2  = '<tr><td bgcolor="bbbbbb" width="138px" height="19px">';
var tdl12 = '<tr><td bgcolor="aaaaaa" width="138px" height="38px">';
var tdl22 = '<tr><td bgcolor="bbbbbb" width="138px" height="38px">';

var lineX1 = '<table border=0 cellspacing=0 cellpadding=0><tr><td><img align=top border=0 width=12 height=14 src=';
var closX1 = '</td></tr></table></a></td>';

up1 = new Image(16,19);
up2 = new Image(12,14);
up3 = new Image(10,11);
up1.src = "up-1.gif";
up2.src = "up-2.gif";
up3.src = "up-3.gif";
down1 = new Image(16,19);
down2 = new Image(12,14);
down3 = new Image(10,11);
down1.src = "down-1.gif";
down2.src = "down-2.gif";
down3.src = "down-3.gif";

var nbt=15
var isNS4 = (navigator.appName.indexOf("Netscape")>=0&&parseFloat(navigator.appVersion)==4)
var isNS6 = (navigator.appName.indexOf("Netscape")>=0&&parseFloat(navigator.appVersion)>=5)
var isMinIE4 = window.navigator.appName == "Microsoft Internet Explorer"
var isMinIE5 = (isMinIE4&&navigator.appVersion.indexOf("5.")>=0)
var doc = document
var layers = doc.layers
var all = doc.all
var offColor='#9090FF'
var onColor='#C0C0FF'
var hotColor='#FF0606'
if (layers) {
  whichDom = '["'
  styleObj = '"].'
} else if (all) {
  whichDom = ".all."
  styleObj = ".style."
} else {
  whichDom = '.getElementById("'
  styleObj = '").style.'
}
//============================================================
// fill arrays for Engine makers
//============================================================
eLo = new Array();
eSh = new Array();
eSz = new Array();
var nEs = 0;
var ieng = 1;

eSh[nEs]='all';            eLo[nEs]='All';                           eSz[nEs]=1; nEs++;
eSh[nEs]='allison';        eLo[nEs]='Allison (USA)';                 eSz[nEs]=1; nEs++;
eSh[nEs]='anzani';         eLo[nEs]='Anzani';                        eSz[nEs]=1; nEs++;
eSh[nEs]='argus';          eLo[nEs]='Argus (Germany)';               eSz[nEs]=1; nEs++;
eSh[nEs]='bessonov';       eLo[nEs]='Bessonov';                      eSz[nEs]=1; nEs++;
eSh[nEs]='bmw';            eLo[nEs]='BMW (Germany)';                 eSz[nEs]=1; nEs++;
eSh[nEs]='bristol';        eLo[nEs]='Bristol (?)';                   eSz[nEs]=1; nEs++;
eSh[nEs]='charomsky';      eLo[nEs]='Charomsky A.';                  eSz[nEs]=1; nEs++;
eSh[nEs]='clerget';        eLo[nEs]='Clerget (France)';              eSz[nEs]=1; nEs++;
eSh[nEs]='curtiss';        eLo[nEs]='Curtiss (USA)';                 eSz[nEs]=1; nEs++;
eSh[nEs]='dobrynin';       eLo[nEs]='Dobrynin';                      eSz[nEs]=1; nEs++;
eSh[nEs]='dushkin';        eLo[nEs]='Dushkin L.S.';                  eSz[nEs]=1; nEs++;
eSh[nEs]='glushko';        eLo[nEs]='Glushko V.P.';                  eSz[nEs]=1; nEs++;
eSh[nEs]='glushenkov';     eLo[nEs]='Glushenkov V.A.';               eSz[nEs]=1; nEs++;
eSh[nEs]='gnome';          eLo[nEs]='Gnome (France)';                eSz[nEs]=1; nEs++;
eSh[nEs]='suiza';          eLo[nEs]='Hispano-Suiza (France)';        eSz[nEs]=1; nEs++;
eSh[nEs]='ivchenko';       eLo[nEs]='Ivchenko G.A.';                 eSz[nEs]=1; nEs++;
eSh[nEs]='izotov';         eLo[nEs]='Izotov';                        eSz[nEs]=1; nEs++;
eSh[nEs]='izotta';         eLo[nEs]='Izotta-Fraschini';              eSz[nEs]=1; nEs++;
eSh[nEs]='khalshchev';     eLo[nEs]='Khalshchevnikov';               eSz[nEs]=1; nEs++;
eSh[nEs]='kartukov';       eLo[nEs]='Kartukov K.I.';                 eSz[nEs]=1; nEs++;
eSh[nEs]='klimov';         eLo[nEs]='Klimov V.Ya.';                  eSz[nEs]=1; nEs++;
eSh[nEs]='kolesov';        eLo[nEs]='Kolesov.';                      eSz[nEs]=1; nEs++;
eSh[nEs]='korolev';        eLo[nEs]='Korolev S.P.';                  eSz[nEs]=1; nEs++;
eSh[nEs]='kuznetsov';      eLo[nEs]='Kuznetsov N.D.';                eSz[nEs]=1; nEs++;
eSh[nEs]='larzac';         eLo[nEs]='Larzac (France)';               eSz[nEs]=1; nEs++;
eSh[nEs]='lerhone';        eLo[nEs]='Le Rhône (France)';             eSz[nEs]=1; nEs++;
eSh[nEs]='liberty';        eLo[nEs]='Liberty (USA)';                 eSz[nEs]=1; nEs++;
eSh[nEs]='lorraine';       eLo[nEs]='Lorraine-Dietrich (France)';    eSz[nEs]=2; nEs++;
eSh[nEs]='lotarev';        eLo[nEs]='Lotarev';                       eSz[nEs]=1; nEs++;
eSh[nEs]='lyulka';         eLo[nEs]='Lyulka A.M.';                   eSz[nEs]=1; nEs++;
eSh[nEs]='maybach';        eLo[nEs]='Maybach (Germany)';             eSz[nEs]=1; nEs++;
eSh[nEs]='merkulov';       eLo[nEs]='Merkulov A.';                   eSz[nEs]=1; nEs++;
eSh[nEs]='metskhvar';      eLo[nEs]='Metskhvarashvili';              eSz[nEs]=1; nEs++;
eSh[nEs]='mikulin';        eLo[nEs]='Mikulin A.A.';                  eSz[nEs]=1; nEs++;
eSh[nEs]='napier';         eLo[nEs]='Napier Lion';                   eSz[nEs]=1; nEs++;
eSh[nEs]='permavia';       eLo[nEs]='PermAVIA';                      eSz[nEs]=1; nEs++;
eSh[nEs]='renault';        eLo[nEs]='Renault (France)';              eSz[nEs]=1; nEs++;
eSh[nEs]='rollsroyce';     eLo[nEs]='Rolls-Royce (G.Britain)';       eSz[nEs]=2; nEs++;
eSh[nEs]='rybinsk';        eLo[nEs]='Rybinsk Motors';                eSz[nEs]=1; nEs++;
eSh[nEs]='salmson';        eLo[nEs]='Salmson (France)';              eSz[nEs]=1; nEs++;
eSh[nEs]='shvetsov';       eLo[nEs]='Shvetsov A.D.';                 eSz[nEs]=1; nEs++;
eSh[nEs]='soloviev';       eLo[nEs]='Soloviev';                      eSz[nEs]=1; nEs++;
eSh[nEs]='sunbeam';        eLo[nEs]='Sunbeam  (G.Britain)';          eSz[nEs]=1; nEs++;
eSh[nEs]='tumansky';       eLo[nEs]='Tumansky';                      eSz[nEs]=1; nEs++;
eSh[nEs]='uvarov';         eLo[nEs]='Uvarov V.V.';                   eSz[nEs]=1; nEs++;
eSh[nEs]='vedeneyev';      eLo[nEs]='Vedeneyev';                     eSz[nEs]=1; nEs++;
eSh[nEs]='wright';         eLo[nEs]='Wright (USA)';                  eSz[nEs]=1; nEs++;
eSh[nEs]='zubets';         eLo[nEs]='Zubets';                        eSz[nEs]=1; nEs++;
eSh[nEs]='xxxx';           eLo[nEs]='UNKNOWN';                       eSz[nEs]=1; nEs++;
nEs--;

//============================================================
// Show Designer/Team list of engines and info, plus catalog
//============================================================
function engine(shrt) {
// get required index
  ieng=0;
  var shrt1 = shrt;

  if (shrt != 'xxxx') {
    while (ieng<=nEs && eSh[ieng] != shrt) ieng++;
    parent.frames[5].document.location="x-" + shrt1 + ".html";

  } else {
    ieng=0;
    parent.frames[5].document.location="bureau-tit-info.html";
  }

  parent.frames[4].document.location=shrt1+"-e-list.html";
  parent.frames[6].document.location="dummy.html";
  engine1();
return;
}

function engine2(shrt) {
// get required index
var ieng2=0;
var shrt1 = shrt;

if (shrt != 'xxxx') {
  while (ieng2<=nEs && eSh[ieng2] != shrt) ieng2++;
  parent.frames[5].document.location="x-" + shrt1 + ".html";
} else {
  ieng2=0;
  parent.frames[5].document.location="bureau-tit-info.html";
}
parent.frames[4].document.location=shrt1+"-e-list.html";
parent.frames[6].document.location="dummy.html";
return;
}

function engine1() {
  var str0;

  parent.frames[3].document.open();
  parent.frames[3].document.writeln('<HTML><HEAD>');
  parent.frames[3].document.writeln('<style type="text/css">');
  parent.frames[3].document.writeln('td {font-size:10pt;font-family:Times;}');
  parent.frames[3].document.writeln('a {color:blue; text-decoration:none;}');
  parent.frames[3].document.writeln('a:hover {color:red; text-decoration:none;}');
  parent.frames[3].document.writeln('</style>');
  parent.frames[3].document.writeln('</HEAD><BODY bgcolor="LightSlateGray">');

  if (ieng==0) {str0 = tdstr1;} else {str0 = tdstr;}
  str0 += spstrE;

  parent.frames[3].document.writeln(tablestr);
  str = str0 + 'Up(-5)" onMouseOver="window.status=' + "'Up 5'" +'">'
  str += '<img align=top border=0 width=12 height=14 src=' + '"up-2.gif">5</a></td>';
  parent.frames[3].document.writeln(str);

  str = str0 + 'Up(-10)" onMouseOver="window.status=' + "'Up 10'" +'">'
  str += '<img align=top border=0 width=12 height=14 src=' + '"up-2.gif">10</a></td>';
  parent.frames[3].document.writeln(str);

  str = str0 + 'Up(-20)" onMouseOver="window.status=' + "'Up 20'" +'">'
  str += '<img align=top border=0 width=12 height=14 src=' + '"up-2.gif">20</a></td>';
  parent.frames[3].document.writeln(str);
  parent.frames[3].document.writeln("</tr></table><table align=center cols=1 border=0 cellspacing=0 cellpadding=0>");

  istr = 1;
  i1 = 0;
  var tdl = tdl1;

  for (i=ieng;i<=nEs;i++) {
    istr += eSz[i];
    if (istr>8) break;
    i1 = i;
    if (tdl == tdl1) {tdl = tdl2} else {tdl = tdl1}
    if (eSz[i] == 2 && tdl == tdl2) {tdl = tdl22}
    if (eSz[i] == 2 && tdl == tdl1) {tdl = tdl12}
    var str1 = tdl + spstrE;
    str1 += '2(' + "'" + eSh[i] + "'" + ')" onMouseOver="window.status=';
    str1 += "'" + eLo[i] + "'" +'">' + eLo[i] +'</a></td></tr>'
    parent.frames[3].document.writeln(str1);
    if (tdl == tdl22) {tdl = tdl2}
    if (tdl == tdl12) {tdl = tdl1}
  }
  parent.frames[3].document.writeln('</table>');

  if (i1==nEs) {str0 = tdstr1;} else {str0 = tdstr;}
  str0 += spstrE;

  parent.frames[3].document.writeln(tablestr);
  str = str0 + 'Up(5)" onMouseOver="window.status=' + "'Down 5'" +'">'
  str += '<img align=top border=0 width=12 height=14 src=' + '"down-2.gif">5</a></td>';
//  str += lineX1 + '"down-2.gif"></td><td>5' + closX1;
  parent.frames[3].document.writeln(str);

  str = str0 + 'Up(10)" onMouseOver="window.status=' + "'Down 10'" +'">'
  str += '<img align=top border=0 width=12 height=14 src=' + '"down-2.gif">10</a></td>';
//  str += lineX1 + '"down-2.gif"></td><td>10' + closX1;
  parent.frames[3].document.writeln(str);

  str = str0 + 'Up(20)" onMouseOver="window.status=' + "'Down 20'" +'">'
  str += '<img align=top border=0 width=12 height=14 src=' + '"down-2.gif">20</a></td>';
//  str += lineX1 + '"down-2.gif"></td><td>20' + closX1;
  parent.frames[3].document.writeln(str);
  parent.frames[3].document.writeln("</tr></table>");


  parent.frames[3].document.writeln('</BODY></HTML>');
  parent.frames[3].document.close();

return;
}

function engineUp(x) {
  var id1 = ieng + x;
  if (id1 > nEs-6) id1 = nEs-6;
  if (id1 < 0)   id1 = 0;
  ieng = id1;
  engine1();
return;
}

//============================================================
// fill arrays for designers
//============================================================
dLo = new Array();
dSh = new Array();
dSz = new Array();
var nDs = 0;
var ides = 1;

dSh[nDs]='accord';         dLo[nDs]='Accord';                        dSz[nDs]=1; nDs++;
dSh[nDs]='aero';           dLo[nDs]='Aero';                          dSz[nDs]=1; nDs++;
dSh[nDs]='aeroprakt';      dLo[nDs]='Aeroprakt';                     dSz[nDs]=1; nDs++;
dSh[nDs]='aeroprogress';   dLo[nDs]='Aeroprogress';                  dSz[nDs]=1; nDs++;
dSh[nDs]='agapov';         dLo[nDs]='Agapov M.V.';                   dSz[nDs]=1; nDs++;
dSh[nDs]='alexeev1';       dLo[nDs]='Alexeev S.M.';                  dSz[nDs]=1; nDs++;
dSh[nDs]='alexeev';        dLo[nDs]='Alexeev R.E.';                  dSz[nDs]=1; nDs++;
dSh[nDs]='anatra';         dLo[nDs]='Anatra A.A.';                   dSz[nDs]=1; nDs++;
dSh[nDs]='anbo';           dLo[nDs]='ANBO (Lithuania)';              dSz[nDs]=1; nDs++;
dSh[nDs]='antonov';        dLo[nDs]='Antonov O.K.';                  dSz[nDs]=1; nDs++;
dSh[nDs]='arhangelsky';    dLo[nDs]='Arhangelsky A.A.';              dSz[nDs]=1; nDs++;
dSh[nDs]='armstron';       dLo[nDs]='Armstron Whitworth (Britain)';  dSz[nDs]=2; nDs++;
dSh[nDs]='bakshayev';      dLo[nDs]='Bakshaev G.I.';                 dSz[nDs]=1; nDs++;
dSh[nDs]='bartini';        dLo[nDs]='Bartini R.L.';                  dSz[nDs]=1; nDs++;
dSh[nDs]='bell';           dLo[nDs]='Bell (USA)';                    dSz[nDs]=1; nDs++;
dSh[nDs]='belyayev';       dLo[nDs]='Belyayev V.N.';                 dSz[nDs]=1; nDs++;
dSh[nDs]='berezin';        dLo[nDs]='Berezin M.E.';                  dSz[nDs]=1; nDs++;
dSh[nDs]='bereznyak';      dLo[nDs]='Bereznyak A.Ya.';               dSz[nDs]=1; nDs++;
dSh[nDs]='beriev';         dLo[nDs]='Beriev G.M.';                   dSz[nDs]=1; nDs++;
dSh[nDs]='bezobrazov';     dLo[nDs]='Bezobrazov A.A.';               dSz[nDs]=1; nDs++;
dSh[nDs]='bisnovat';       dLo[nDs]='Bisnovat M.R.';                 dSz[nDs]=1; nDs++;
dSh[nDs]='bleriot';        dLo[nDs]='Bleriot (France)';              dSz[nDs]=1; nDs++;
dSh[nDs]='bolkhovitinov';  dLo[nDs]='Bolkhovitinov V.F.';            dSz[nDs]=1; nDs++;
dSh[nDs]='florov';         dLo[nDs]='Borovkov A.A.';                 dSz[nDs]=1; nDs++;
dSh[nDs]='bratukhin';      dLo[nDs]='Bratukhin I.P.';                dSz[nDs]=1; nDs++;
dSh[nDs]='bylinkin';       dLo[nDs]='Bylinkin F.I.';                 dSz[nDs]=1; nDs++;
dSh[nDs]='caudron';        dLo[nDs]='Caudron (France)';              dSz[nDs]=1; nDs++;
dSh[nDs]='cheranovskij';    dLo[nDs]='Cheranovskij B.I.';              dSz[nDs]=1; nDs++;
dSh[nDs]='cheremukhin';    dLo[nDs]='Cheremukhin A.M.';              dSz[nDs]=1; nDs++;
dSh[nDs]='chernov';        dLo[nDs]='Chernov B.';                    dSz[nDs]=1; nDs++;
dSh[nDs]='chernyshov';     dLo[nDs]='Chernyshov V.N.';               dSz[nDs]=1; nDs++;
dSh[nDs]='chetverikov';    dLo[nDs]='Chetverikov I.V.';              dSz[nDs]=1; nDs++;
dSh[nDs]='chizhevskij';    dLo[nDs]='Chizhevskij V.A.';              dSz[nDs]=1; nDs++;
dSh[nDs]='curtiss';        dLo[nDs]='Curtiss (USA)';                 dSz[nDs]=1; nDs++;
dSh[nDs]='dokuchaev';      dLo[nDs]='Dokuchaev A.Ya.';               dSz[nDs]=1; nDs++;
dSh[nDs]='dehavilland';    dLo[nDs]='de Havilland (Britain)';        dSz[nDs]=1; nDs++;
dSh[nDs]='dornier';        dLo[nDs]='Dornier (Germany)';             dSz[nDs]=1; nDs++;
dSh[nDs]='douglas';        dLo[nDs]='Douglas (USA)';                 dSz[nDs]=1; nDs++;
dSh[nDs]='dux';            dLo[nDs]='Dux';                           dSz[nDs]=1; nDs++;
dSh[nDs]='dybovskij';      dLo[nDs]='Dybovskij V.V.';                dSz[nDs]=1; nDs++;
dSh[nDs]='engels';         dLo[nDs]='Engels E.R.';                   dSz[nDs]=1; nDs++;
dSh[nDs]='farman';         dLo[nDs]='Farman (France)';               dSz[nDs]=1; nDs++;
dSh[nDs]='fedorov';        dLo[nDs]='Fedorov D.D.';                  dSz[nDs]=1; nDs++;
dSh[nDs]='fedorov-es';     dLo[nDs]='Fedorov E.S.';                  dSz[nDs]=1; nDs++;
dSh[nDs]='florov';         dLo[nDs]='Florov I.F.';                   dSz[nDs]=1; nDs++;
dSh[nDs]='fokker';         dLo[nDs]='Fokker (Netherlands, Germany)'; dSz[nDs]=2; nDs++;
dSh[nDs]='gakkel';         dLo[nDs]='Gakkel Ya.M.';                  dSz[nDs]=1; nDs++;
dSh[nDs]='gorbunov';       dLo[nDs]='Gorbunov V.P.';                 dSz[nDs]=1; nDs++;
dSh[nDs]='goudkov';        dLo[nDs]='Goudkov M.I.';                  dSz[nDs]=1; nDs++;
dSh[nDs]='gribovskij';     dLo[nDs]='Gribovskij V.K.';               dSz[nDs]=1; nDs++;
dSh[nDs]='grigorovich';    dLo[nDs]='Grigorovich D.P.';              dSz[nDs]=1; nDs++;
dSh[nDs]='grizodubov';     dLo[nDs]='Grizodubov S.V.';               dSz[nDs]=1; nDs++;
dSh[nDs]='grokhovskij';    dLo[nDs]='Grokhovskij P.I.';              dSz[nDs]=1; nDs++;
dSh[nDs]='grushin';        dLo[nDs]='Grushin P.D.';                  dSz[nDs]=1; nDs++;
dSh[nDs]='gurevich';       dLo[nDs]='Gurevich M.I.';                 dSz[nDs]=1; nDs++;
dSh[nDs]='hawker';         dLo[nDs]='Hawker (Britain)';              dSz[nDs]=1; nDs++;
dSh[nDs]='heinkel';        dLo[nDs]='Heinkel (Germany)';             dSz[nDs]=1; nDs++;
dSh[nDs]='ilyushin';       dLo[nDs]='Ilyushin S.V.';                 dSz[nDs]=1; nDs++;
dSh[nDs]='iordan';         dLo[nDs]='Iordan V.V.';                   dSz[nDs]=1; nDs++;
dSh[nDs]='isaiev';         dLo[nDs]='Isaiev A.M.';                   dSz[nDs]=1; nDs++;
dSh[nDs]='irkut';          dLo[nDs]='IAPO';                          dSz[nDs]=1; nDs++;
dSh[nDs]='itskovich';      dLo[nDs]='Itskovich Z.I.';                dSz[nDs]=1; nDs++;
dSh[nDs]='kamov';          dLo[nDs]='Kamov N.I.';                    dSz[nDs]=1; nDs++;
dSh[nDs]='kalinin';        dLo[nDs]='Kalinin K.A.';                  dSz[nDs]=1; nDs++;
dSh[nDs]='kasyanenko';     dLo[nDs]='Kasyanenko brothers';           dSz[nDs]=1; nDs++;
dSh[nDs]='karpeka';        dLo[nDs]='Karpeka A.D.';                  dSz[nDs]=1; nDs++;
dSh[nDs]='kazanhp';        dLo[nDs]='Kazan Helicopter Plant';        dSz[nDs]=1; nDs++;
dSh[nDs]='khai';           dLo[nDs]='KhAI';                          dSz[nDs]=1; nDs++;
dSh[nDs]='khioni';         dLo[nDs]='Khioni V.N.';                   dSz[nDs]=1; nDs++;
dSh[nDs]='khrunichev';     dLo[nDs]='M.V.Khrunichev';                dSz[nDs]=1; nDs++;
dSh[nDs]='knapi';          dLo[nDs]='SKB KnAPI';                     dSz[nDs]=1; nDs++;
dSh[nDs]='kocherigin';     dLo[nDs]='Kocherigin S.A.';               dSz[nDs]=1; nDs++;
dSh[nDs]='kolpakov';       dLo[nDs]='Kolpakov- Miroshnichenko L.D.'; dSz[nDs]=2; nDs++;
dSh[nDs]='korolev';        dLo[nDs]='Korolev S.P.';                  dSz[nDs]=1; nDs++;
dSh[nDs]='korvin';         dLo[nDs]='Korvin V.L.';                   dSz[nDs]=1; nDs++;
dSh[nDs]='krylov-aa';      dLo[nDs]='Krylov A.A.';                   dSz[nDs]=1; nDs++;
dSh[nDs]='krylov-vy';      dLo[nDs]='Krylov V.Ya.';                  dSz[nDs]=1; nDs++;
dSh[nDs]='kuai';           dLo[nDs]='KuAI';                          dSz[nDs]=1; nDs++;
dSh[nDs]='kudashev';       dLo[nDs]='Kudashev A.S.';                 dSz[nDs]=1; nDs++;
dSh[nDs]='kurchevski';     dLo[nDs]='Kurchevski L.V.';               dSz[nDs]=1; nDs++;
dSh[nDs]='lavochkin';      dLo[nDs]='Lavochkin S.A.';                dSz[nDs]=1; nDs++;
dSh[nDs]='lebed';          dLo[nDs]='Lebedev, Lebed V.A.';           dSz[nDs]=1; nDs++;
dSh[nDs]='lipkovsky';      dLo[nDs]='Lipkovskij J.J.';               dSz[nDs]=1; nDs++;
dSh[nDs]='lisunov';        dLo[nDs]='Lisunov B.P.';                  dSz[nDs]=1; nDs++;
dSh[nDs]='lobanov-nr';     dLo[nDs]='Lobanov N.R.';                  dSz[nDs]=1; nDs++;
dSh[nDs]='lozinsky';       dLo[nDs]='Lozino-Lozinskij G.E.';         dSz[nDs]=1; nDs++;
dSh[nDs]='lutskoj';        dLo[nDs]='Lutskoj B.G.';                  dSz[nDs]=1; nDs++;
dSh[nDs]='mai';            dLo[nDs]='MAI';                           dSz[nDs]=1; nDs++;
dSh[nDs]='malinovskij';    dLo[nDs]='Malinovskij L.P.';              dSz[nDs]=1; nDs++;
dSh[nDs]='mikoyan';        dLo[nDs]='Mikoyan A.I.';                  dSz[nDs]=1; nDs++;
dSh[nDs]='mil';            dLo[nDs]='Mil M.L.';                      dSz[nDs]=1; nDs++;
dSh[nDs]='mikhelson';      dLo[nDs]='Mikhelson N.G.';                dSz[nDs]=1; nDs++;
dSh[nDs]='molniya';        dLo[nDs]='Molniya';                       dSz[nDs]=1; nDs++;
dSh[nDs]='moiseenko';      dLo[nDs]='Moiseenko V.L.';                dSz[nDs]=1; nDs++;
dSh[nDs]='morane';         dLo[nDs]='Morane-Saulnier (France)';      dSz[nDs]=2; nDs++;
dSh[nDs]='mosca';          dLo[nDs]='Mosca F.E.';                    dSz[nDs]=1; nDs++;
dSh[nDs]='moskalev';       dLo[nDs]='Moskalev A.S.';                 dSz[nDs]=1; nDs++;
dSh[nDs]='mozhajskij';     dLo[nDs]='Mozhajskij A.F.';               dSz[nDs]=1; nDs++;
dSh[nDs]='myasichev';      dLo[nDs]='Myasichev V.M.';                dSz[nDs]=1; nDs++;
dSh[nDs]='napo';           dLo[nDs]='NAPO';                          dSz[nDs]=1; nDs++;
dSh[nDs]='neman';          dLo[nDs]='Neman I.G.';                    dSz[nDs]=1; nDs++;
dSh[nDs]='nesterov';       dLo[nDs]='Nesterov P.N.';                 dSz[nDs]=1; nDs++;
dSh[nDs]='nieuport';       dLo[nDs]='Nieuport (France)';             dSz[nDs]=1; nDs++;
dSh[nDs]='nikitin';        dLo[nDs]='Nikitin V.V.';                  dSz[nDs]=1; nDs++;
dSh[nDs]='north';          dLo[nDs]='North American (USA)';          dSz[nDs]=1; nDs++;
dSh[nDs]='olkhovskij';     dLo[nDs]='Olkhovskij V.M.';               dSz[nDs]=1; nDs++;
dSh[nDs]='omos';           dLo[nDs]='OMOS';                          dSz[nDs]=1; nDs++;
dSh[nDs]='otb';            dLo[nDs]='OTB';                           dSz[nDs]=1; nDs++;
dSh[nDs]='pashinin';       dLo[nDs]='Pashinin M.M.';                 dSz[nDs]=1; nDs++;
dSh[nDs]='petlyakov';      dLo[nDs]='Petlyakov V.M.';                dSz[nDs]=1; nDs++;
dSh[nDs]='pisarenko';      dLo[nDs]='Pisarenko V.O.';                dSz[nDs]=1; nDs++;
dSh[nDs]='polikarpov';     dLo[nDs]='Polikarpov N.N.';               dSz[nDs]=1; nDs++;
dSh[nDs]='rida-pony';      dLo[nDs]='Pony';                          dSz[nDs]=1; nDs++;
dSh[nDs]='popov';          dLo[nDs]='Popov M.I.';                    dSz[nDs]=1; nDs++;
dSh[nDs]='porokhovschikov';dLo[nDs]='Porokhovchikov A.A.';           dSz[nDs]=1; nDs++;
dSh[nDs]='putilov';        dLo[nDs]='Putiov V.M.';                   dSz[nDs]=1; nDs++;
dSh[nDs]='rafaelants';     dLo[nDs]='Rafaelants A.N.';               dSz[nDs]=1; nDs++;
dSh[nDs]='rida-pony';      dLo[nDs]='Rida';                          dSz[nDs]=1; nDs++;
dSh[nDs]='russwings';      dLo[nDs]='Russian Wings';                 dSz[nDs]=1; nDs++;
dSh[nDs]='saveljeb';       dLo[nDs]='Saveljev V.F.';                 dSz[nDs]=1; nDs++;
dSh[nDs]='shavrov';        dLo[nDs]='Shavrov V.B.';                  dSz[nDs]=1; nDs++;
dSh[nDs]='shiukov';        dLo[nDs]='Shiukov A.V.';                  dSz[nDs]=1; nDs++;
dSh[nDs]='shishmarev';     dLo[nDs]='Shishmarev M.M.';               dSz[nDs]=1; nDs++;
dSh[nDs]='schetinin';      dLo[nDs]='Schetinin S.S.';                dSz[nDs]=1; nDs++;
dSh[nDs]='scherbakov';     dLo[nDs]='Scherbakov A.Ya.';              dSz[nDs]=1; nDs++;
dSh[nDs]='shevchenko';     dLo[nDs]='Shevchenko V.V.';               dSz[nDs]=1; nDs++;
dSh[nDs]='sikorsky';       dLo[nDs]='Sikorsky I.I.';                 dSz[nDs]=1; nDs++;
dSh[nDs]='silvansky';      dLo[nDs]='Silvansky A.V.';                dSz[nDs]=1; nDs++;
dSh[nDs]='skrzhinskij';    dLo[nDs]='Skrzhinskij N.K.';              dSz[nDs]=1; nDs++;
dSh[nDs]='slesarev';       dLo[nDs]='Slesarev V.A.';                 dSz[nDs]=1; nDs++;
dSh[nDs]='slusarenko';     dLo[nDs]='Slusarenko V.V.';               dSz[nDs]=1; nDs++;
dSh[nDs]='sopwith';        dLo[nDs]='Sopwith (Britain)';             dSz[nDs]=1; nDs++;
dSh[nDs]='spad';           dLo[nDs]='Spad (France)';                 dSz[nDs]=1; nDs++;
dSh[nDs]='steglau';        dLo[nDs]='Steglau I.I.';                  dSz[nDs]=1; nDs++;
dSh[nDs]='sukhoj';         dLo[nDs]='Sukhoj P.O.';                   dSz[nDs]=1; nDs++;
dSh[nDs]='supermarine';    dLo[nDs]='Supermarine (Britain)';         dSz[nDs]=1; nDs++;
dSh[nDs]='suslakov';       dLo[nDs]='Suslakov D.';                   dSz[nDs]=1; nDs++;
dSh[nDs]='svechnikov';     dLo[nDs]='Svechnikov A.N.';               dSz[nDs]=1; nDs++;
dSh[nDs]='sverchkov';      dLo[nDs]='Sverchkov E.P.';                dSz[nDs]=1; nDs++;
dSh[nDs]='tairov';         dLo[nDs]='Tairov V.K.';                   dSz[nDs]=1; nDs++;
dSh[nDs]='technoavia';     dLo[nDs]='Technoavia';                    dSz[nDs]=1; nDs++;
dSh[nDs]='teleshov';       dLo[nDs]='Teleshov N.A.';                 dSz[nDs]=1; nDs++;
dSh[nDs]='tereschenko';    dLo[nDs]='Tereschenko F.F.';              dSz[nDs]=1; nDs++;
dSh[nDs]='tikhomirov';     dLo[nDs]='Tikhomirov N.I.';               dSz[nDs]=1; nDs++;
dSh[nDs]='tikhonravov';    dLo[nDs]='Tikhonravov M.K.';              dSz[nDs]=1; nDs++;
dSh[nDs]='typhoon';        dLo[nDs]='OKB Typhoon"';                  dSz[nDs]=1; nDs++;
dSh[nDs]='tomashevich';    dLo[nDs]='Tomashevich D.L.';              dSz[nDs]=1; nDs++;
dSh[nDs]='tsagi';          dLo[nDs]='TsAGI';                         dSz[nDs]=1; nDs++;
dSh[nDs]='tskb';           dLo[nDs]='TsKB';                          dSz[nDs]=1; nDs++;
dSh[nDs]='tsibin';         dLo[nDs]='Tsibin P.V.';                   dSz[nDs]=1; nDs++;
dSh[nDs]='tupolev';        dLo[nDs]='Tupolev A.N.';                  dSz[nDs]=1; nDs++;
dSh[nDs]='ufimtsev';       dLo[nDs]='Ufimtsev A.G.';                 dSz[nDs]=1; nDs++;
dSh[nDs]='villish';        dLo[nDs]='Villish A.Yu.';                 dSz[nDs]=1; nDs++;
dSh[nDs]='voisinb';        dLo[nDs]='Voisin (France)';               dSz[nDs]=1; nDs++;
dSh[nDs]='vladimirov';     dLo[nDs]='Vladimirov S.V.';               dSz[nDs]=1; nDs++;
dSh[nDs]='vultee';         dLo[nDs]='Vultee (USA)';                  dSz[nDs]=1; nDs++;
dSh[nDs]='yakovlev';       dLo[nDs]='Yakovlev A.S.';                 dSz[nDs]=1; nDs++;
dSh[nDs]='yangel';         dLo[nDs]='Yangel M.K.';                   dSz[nDs]=1; nDs++;
dSh[nDs]='yatsenko';       dLo[nDs]='Yatsenko V.P.';                 dSz[nDs]=1; nDs++;
dSh[nDs]='yermolaev';      dLo[nDs]='Yermolaev V.G.';                dSz[nDs]=1; nDs++;
dSh[nDs]='yuriev';         dLo[nDs]='Yuriev B.N.';                   dSz[nDs]=1; nDs++;
dSh[nDs]='zhukovsky';      dLo[nDs]='Zhukovsky N.E.';                dSz[nDs]=1; nDs++;
dSh[nDs]='small';          dLo[nDs]='Other foreign teams';           dSz[nDs]=1; nDs++;
nDs--;

//============================================================
// Show Designer/Team list of planes and info, plus catalog
//============================================================
function designer(shrt) {
// get required index
  ides=0;
  var shrt1 = shrt;
  if (shrt == 'gurevich') shrt1='mikoyan';

  if (shrt != 'xxxx') {
    while (ides<=nDs && dSh[ides] != shrt) ides++;
    parent.frames[5].document.location="x-" + shrt1 + ".html";

  } else {
    ides=0;
    parent.frames[5].document.location="bureau-tit-info.html";
  }

  parent.frames[4].document.location=shrt1+"-list.html";
  parent.frames[6].document.location="dummy.html";
  designer1();
return;
}

function designer2(shrt) {
// get required index
var ides2=0;
var shrt1 = shrt;

if (shrt == 'gurevich') shrt1='mikoyan';
if (shrt != 'xxxx') {
  while (ides2<=nDs && dSh[ides2] != shrt) ides2++;
  parent.frames[5].document.location="x-" + shrt1 + ".html";
} else {
  ides2=0;
  parent.frames[5].document.location="bureau-tit-info.html";
}
parent.frames[4].document.location=shrt1+"-list.html";
parent.frames[6].document.location="dummy.html";
return;
}

function designer1() {
  var str0;

  parent.frames[3].document.open();
  parent.frames[3].document.writeln('<HTML><HEAD>');
  parent.frames[3].document.writeln('<style type="text/css">');
  parent.frames[3].document.writeln('td {font-size:10pt;font-family:Times;}');
  parent.frames[3].document.writeln('a {color:blue; text-decoration:none;}');
  parent.frames[3].document.writeln('a:hover {color:red; text-decoration:none;}');
  parent.frames[3].document.writeln('</style>');
  parent.frames[3].document.writeln('</HEAD><BODY bgcolor="LightSlateGray">');

  if (ides==0) {str0 = tdstr1;} else {str0 = tdstr;}
  str0 += spstr;

  parent.frames[3].document.writeln(tablestr);
  str = str0 + 'Up(-5)" onMouseOver="window.status=' + "'Up 5'" +'">'
  str += '<img align=top border=0 width=12 height=14 src=' + '"up-2.gif">5</a></td>';
  parent.frames[3].document.writeln(str);

  str = str0 + 'Up(-10)" onMouseOver="window.status=' + "'Up 10'" +'">'
  str += '<img align=top border=0 width=12 height=14 src=' + '"up-2.gif">10</a></td>';
  parent.frames[3].document.writeln(str);

  str = str0 + 'Up(-20)" onMouseOver="window.status=' + "'Up 20'" +'">'
  str += '<img align=top border=0 width=12 height=14 src=' + '"up-2.gif">20</a></td>';
  parent.frames[3].document.writeln(str);
  parent.frames[3].document.writeln("</tr></table><table align=center cols=1 border=0 cellspacing=0 cellpadding=0>");

  istr = 1;
  i1 = 0;
  var tdl = tdl1;

  for (i=ides;i<=nDs;i++) {
    istr += dSz[i];
    if (istr>8) break;
    i1 = i;
    if (tdl == tdl1) {tdl = tdl2} else {tdl = tdl1}
    if (dSz[i] == 2 && tdl == tdl2) {tdl = tdl22}
    if (dSz[i] == 2 && tdl == tdl1) {tdl = tdl12}
    var str1 = tdl + spstr;
    str1 += '2(' + "'" + dSh[i] + "'" + ')" onMouseOver="window.status=';
    str1 += "'" + dLo[i] + "'" +'">' + dLo[i] +'</a></td></tr>'
    parent.frames[3].document.writeln(str1);
    if (tdl == tdl22) {tdl = tdl2}
    if (tdl == tdl12) {tdl = tdl1}
  }
  parent.frames[3].document.writeln('</table>');

  if (i1==nDs) {str0 = tdstr1;} else {str0 = tdstr;}
  str0 += spstr;

  parent.frames[3].document.writeln(tablestr);
  str = str0 + 'Up(5)" onMouseOver="window.status=' + "'Down 5'" +'">'
  str += '<img align=top border=0 width=12 height=14 src=' + '"down-2.gif">5</a></td>';
//  str += lineX1 + '"down-2.gif"></td><td>5' + closX1;
  parent.frames[3].document.writeln(str);

  str = str0 + 'Up(10)" onMouseOver="window.status=' + "'Down 10'" +'">'
  str += '<img align=top border=0 width=12 height=14 src=' + '"down-2.gif">10</a></td>';
//  str += lineX1 + '"down-2.gif"></td><td>10' + closX1;
  parent.frames[3].document.writeln(str);

  str = str0 + 'Up(20)" onMouseOver="window.status=' + "'Down 20'" +'">'
  str += '<img align=top border=0 width=12 height=14 src=' + '"down-2.gif">20</a></td>';
//  str += lineX1 + '"down-2.gif"></td><td>20' + closX1;
  parent.frames[3].document.writeln(str);
  parent.frames[3].document.writeln("</tr></table>");


  parent.frames[3].document.writeln('</BODY></HTML>');
  parent.frames[3].document.close();

return;
}

function designerUp(x) {
  var id1 = ides + x;
  if (id1 > nDs-6) id1 = nDs-6;
  if (id1 < 0)   id1 = 0;
  ides = id1;
  designer1();
return;
}
//------------------------------------------------------------
// calendar
//------------------------------------------------------------
function goYear(x) {
   var newYear = year + x;

   if (newYear > yearMax) {newYear = yearMax;}
   if (newYear < yearMin) {newYear = yearMin;}

   year = newYear;
   var year1 = year;
   showYear(year1);

return;
}

function showYear(yearNew) {
   var year1 = 0;
   var hString = "";

   yearStrA = yearStr1;
   yearStrB = yearStr1;

   year = yearNew;
   year1 = year - 7;

   if (year1 < yearMin)    {year1 = yearMin;      yearStrA = yearStr2;}
   if (year1 > yearMax-14) {year1 = yearMax - 14; yearStrB = yearStr2;}

   var display = parent.frames[1].document.URL;
   if (display != 'http://hep2.physics.arizona.edu:80/~savin/ram/display.html' &&
       display != 'display.html' &&
       display != 'http://hep2.physics.arizona.edu:80/~savin/ram-new/display.html') parent.frames[1].document.location="display.html";
//   parent.frames[3].document.location="year-scroll.html#"+yearNew;
   parent.frames[4].document.location="yearlist-"+yearNew+".html";
   parent.frames[5].document.location="info-"+yearNew+".html";
   parent.frames[6].document.location="dummy.html";
   parent.frames[4].document.location="yearlist-"+yearNew+".html";
//---------------------------> create Year Table
   parent.frames[3].document.open();
   parent.frames[3].document.writeln('<HTML><HEAD>');
   parent.frames[3].document.writeln('<style type="text/css">');
   parent.frames[3].document.writeln('body {font-size:12pt;text-align:center; font-family:Courier;}');
   parent.frames[3].document.writeln('a {color:blue; text-decoration:none;}');
   parent.frames[3].document.writeln('a:hover {color:red; text-decoration:none;}');
   parent.frames[3].document.writeln('</style>');
   parent.frames[3].document.writeln('</HEAD><BODY bgcolor="LightSlateGray">');
//   parent.frames[3].document.writeln("<font size=+1>" + year + "</font>");
   parent.frames[3].document.writeln("<table align=center cols=3 border=2 cellspacing=2 cellpadding=2>");

   hString = "<tr>";
   hString += yearStrA;
   hString += '<a href="javascript:parent.frames[2].goYear(-5);" onMouseOver="window.status=' + "-5" + '">-5</a>';
   hString += '</td>';
   hString += yearStrA;
   hString += '<a href="javascript:parent.frames[2].goYear(-15);" onMouseOver="window.status=' + "-15" + '">-15</a>';
   hString += '</td>';
   hString += yearStrA;
   hString += '<a href="javascript:parent.frames[2].goYear(-50);" onMouseOver="window.status=' + "-50" + '">-50</a>';
   hString += '</td></tr>';
   parent.frames[3].document.writeln(hString);
   parent.frames[3].document.writeln('</table>');

   parent.frames[3].document.writeln("<table align=center cols=3 border=1 cellspacing=1 cellpadding=2>");
   for (row=0;row<5;row++) {
     parent.frames[3].document.writeln("<tr>");
     for (col=0;col<3;col++) {
       if (year1 == year ) {
         hString = "<td width=30 align=center valign=center bgcolor=FFa0a0>";
       } else {
         hString = "<td width=30 align=center valign=center bgcolor=a0a0FF>";
       }
       hString += '<a href="javascript:parent.frames[2].showYear('
       hString += year1
       hString += ');" onMouseOver="window.status='
       hString += year1
       hString += '">' + year1 + '</a>';
       hString += '</td>';
       parent.frames[3].document.writeln(hString);
       year1++;
     }
     parent.frames[3].document.writeln("</tr>");
   }
   parent.frames[3].document.writeln('</table>');

   parent.frames[3].document.writeln("<table align=center cols=3 border=2 cellspacing=2 cellpadding=2>");
   hString = "<tr>";
   hString += yearStrB;
   hString += '<a href="javascript:parent.frames[2].goYear(+5);" onMouseOver="window.status=' + "+5" + '">+5</a>';
   hString += '</td>';
   hString += yearStrB;
   hString += '<a href="javascript:parent.frames[2].goYear(+15);" onMouseOver="window.status=' + "+15" + '">+15</a>';
   hString += '</td>';
   hString += yearStrB;
   hString += '<a href="javascript:parent.frames[2].goYear(+50);" onMouseOver="window.status=' + "+50" + '">+50</a>';
   hString += '</td></tr>';
   parent.frames[3].document.writeln(hString);

   parent.frames[3].document.writeln("</table>");
   parent.frames[3].document.writeln('</BODY></HTML>');
   parent.frames[3].document.close();
//---------------------------> done
return;
}

function setButtonColor(i,col)	{
  var strcom;
  strcom="document" + whichDom + "button" + i + styleObj;
  if (layers) {
    strcom = strcom +"bgColor = '" + col + "'";
    eval(strcom);
  } else {
    strcom = strcom +"backgroundColor = '" + col + "'";
    eval(strcom);
  }
return;
}

function go(i) {
   parent.frames[7].document.location="dummy.html";
   parent.frames[1].document.location="display.html";
   switch (i) {
case 1:
   parent.document.location="index.html";
   parent.frames[3].document.location="status.html";
   parent.frames[4].document.location="recent.html";
   parent.frames[5].document.location="index-intro.html";
   parent.frames[6].document.location="dummy.html";
   break;
case 2:
   parent.frames[3].document.location="abc-menu.html";
   parent.frames[4].document.location="dig-planes.html";
   parent.frames[5].document.location="abc-catalog.html";
   parent.frames[6].document.location="dummy.html";
   break;
case 3:
   year = getRandom(1909,2001)
   var y=year;
   showYear(y);
   break;
case 4:
   parent.frames[3].document.location="abc-old.html";
   parent.frames[4].document.location="dummy.html";
   parent.frames[5].document.location="glossary-info.html";
   parent.frames[6].document.location="dummy.html";
   break;
case 6:
   parent.frames[3].document.location="changes-old.html";
   parent.frames[4].document.location="recent.html";
   parent.frames[5].document.location="lastmonth.html";
   parent.frames[6].document.location="dummy.html";
   break;
case 7:
   designer('accord');
   break;
case 8:
   engine('all');
   break;
case 9:
   parent.frames[3].document.location="abc-missing.html";
   parent.frames[4].document.location="dummy.html";
   parent.frames[5].document.location="missing.html";
   parent.frames[6].document.location="dummy.html";
   break;
case 10:
   parent.frames[3].document.location="dummy.html";
   parent.frames[4].document.location="dummy.html";
   parent.frames[5].document.location="lostletters.html";
   parent.frames[6].document.location="dummy.html";
   break;
case 11:
   parent.frames[3].document.location="links1.html";
   parent.frames[4].document.location="links2.html";
   parent.frames[5].document.location="hotlist.html";
   parent.frames[6].document.location="dummy.html";
   break;
case 12:
   parent.frames[3].document.location="credits-menu.html";
   parent.frames[4].document.location="dummy.html";
   parent.frames[5].document.location="credits.html";
   parent.frames[6].document.location="dummy.html";
   break;
case 13:
   parent.frames[3].document.location="weapons-class.html";
   parent.frames[4].document.location="weapons-list.html";
   parent.frames[5].document.location="weapons.html";
   parent.frames[6].document.location="dummy.html";
   break;
case 14:
   parent.frames[3].document.location="nato-class.html";
   parent.frames[4].document.location="nato-list.html";
   parent.frames[5].document.location="nato.html";
   parent.frames[6].document.location="dummy.html";
   break;
case 15:
   parent.frames[3].document.location="dummy.html";
   parent.frames[4].document.location="dummy.html";
   parent.frames[5].document.location="disclaimer.html";
   parent.frames[6].document.location="dummy.html";
   break;
default:
   alert("Undefined case!");
  }
return;
}

function lightOn(i)  {setButtonColor(i,onColor)}
function lightOff(i) {setButtonColor(i,offColor)}
function activate(i) {setButtonColor(i,hotColor)}
function init() {
  var i;
  for (i=1;i<=nbt;i++) {
    j=40*getRandom(5,25);
    eval("myTimer"+i+"a"+"=setTimeout('lightOn("+i+");',"+j+")");
    j=j+20*getRandom(5,25);
    eval("myTimer"+i+"b"+"=setTimeout('activate("+i+");',"+j+")");
    j=j+40*getRandom(5,25);
    eval("myTimer"+i+"c"+"=setTimeout('lightOff("+i+");',"+j+")");
  }
return;
}

function getRandom(min,max){return (Math.round(Math.random()*(max-min)))+min;}

