database=new Array("air_alg.html","air_heli.html","air_heli2.html","air_techn.html","airl_D_luftwaffe.html","airl_D_vlieg.html","airl_F_vlieg.html","airl_GB_raf.html","airl_GB_raf02.html","airl_GB_raf03.html","airl_USA_usaf.html","airm_Airbus.html","airm_Avro.html","airm_Bell.html","airm_BlohmVoss.html","airm_Boeing.html","airm_Boeing2.html","airm_Cessna.html","airm_Concorde.html","airm_Consolidated.html","airm_Dassault.html","airm_DeHavilland.html","airm_Dornier.html","airm_Douglas.html","airm_Eurofighter.html","airm_FockeWulf.html","airm_Hawker.html","airm_Heinkel.html","airm_Henschel.html","airm_Junkers.html","airm_McDonnellDouglas.html","airm_Messerschmitt.html","airm_MiG.html","airm_Nasa.html","airm_NorthAmerican.html","airm_Panavia.html","airm_Sepecat.html","airm_SudAviation.html","airm_Supermarine.html");

NumberOfFiles=database.length;
StringA=window.location.href;
LengthA=StringA.length;
A=StringA.lastIndexOf("/")+1;
ThisFilename=StringA.substring(A,LengthA);
n=NumberOfFiles-1;

for (var z=0;z<=n;z++)
{
if (database[z]==ThisFilename)
{
ThisPageNumber=z;
}
}
function goBack(){
if (ThisPageNumber-1<0)
{
alert("You are at the beginning of the series");
}
else
{window.location=database[ThisPageNumber-1];
}
}
function goForward(){
if (ThisPageNumber+1>n)
{
alert("You are at the end of the series");
}
else
{window.location=database[ThisPageNumber+1];}}


