
//////////////////////////////////////////////////////////////////////////////
//
// These variables define the properties of the mtbparker.com navbar
//
//////////////////////////////////////////////////////////////////////////////

   // number of groups in the navBar
var MAXGROUPS = 6;

   // number of links in each group
var MAXMAIN = 1;
var MAXLESSONS = 3;
var MAXUSCHARTS = 2;
var MAXCANCHARTS = 2;
var MAXALBUMS = 72;
var MAXAROUNDTHEUS = 11;


var groupName = new Array(MAXGROUPS);
var numGroupLinks = new Array(MAXGROUPS);
var linkURL = new Array(MAXGROUPS);
var linkName = new Array(MAXGROUPS);

   // define the title for the group
groupName[0] = "Main";
groupName[1] = "Lessons";
groupName[2] = "U.S. Charts";
groupName[3] = "Canadian Charts";
groupName[4] = "Screenies";
groupName[5] = "Around the U.S.";

   // how many links are in the group
numGroupLinks[0] = MAXMAIN;
numGroupLinks[1] = MAXLESSONS;
numGroupLinks[2] = MAXUSCHARTS;
numGroupLinks[3] = MAXCANCHARTS;
numGroupLinks[4] = MAXALBUMS;
numGroupLinks[5] = MAXAROUNDTHEUS;



//////////////////////////////////////////////////////////////////////////////
//
// These variables define the links for the main group
//
//////////////////////////////////////////////////////////////////////////////
var currLink = 0;
var linkURL = new Array(MAXMAIN);
var linkName = new Array(MAXMAIN);

   // populate link paths
linkURL[0] = "index.html";

   // populate link names
linkName[0] = "FlightSim Home";


//////////////////////////////////////////////////////////////////////////////
//
// These variables define the links for the lessons group
//
//////////////////////////////////////////////////////////////////////////////
var lessonURL = new Array(MAXLESSONS);
var lessonName = new Array(MAXLESSONS);

   // populate link paths
lessonURL[0] = "./Lessons/Lessons.html";
lessonURL[1] = "./AskThePros/AskThePros.mp3";
lessonURL[2] = "./AskThePros/757_Startup.mp3";

   // populate link names
lessonName[0] = "Material";
lessonName[1] = "VCAir Ask The Pros";
lessonName[2] = "VCAir 757 Startup";


//////////////////////////////////////////////////////////////////////////////
//
// These variables define the links for the Cool Videos group
//
//////////////////////////////////////////////////////////////////////////////
var chartsURL = new Array (MAXUSCHARTS);
var chartsName = new Array (MAXUSCHARTS);

   // populate link paths
chartsURL[0] = "./Sectionals/Sectionals.html";
chartsURL[1] = "./ApproachPlates/ApproachPlates.html";

chartsName[0] = "Sectionals & TACs";
chartsName[1] = "Approach Plates";


//////////////////////////////////////////////////////////////////////////////
//
// These variables define the links for the Cool Videos group
//
//////////////////////////////////////////////////////////////////////////////
var chartsCanURL = new Array (MAXCANCHARTS);
var chartsCanName = new Array (MAXCANCHARTS);

   // populate link paths
chartsCanURL[0] = "./CanadianApproachPlates/CanadianApproachPlates.html";
chartsCanURL[1] = "./CanadianEnroute/CanadianEnrouteCharts.html";

chartsCanName[0] = "Approach Plates";
chartsCanName[1] = "IFR Enroute Charts";



//////////////////////////////////////////////////////////////////////////////
//
// These variables define the links for the screenshots group
//
//////////////////////////////////////////////////////////////////////////////
var currAlbum = 0;
var albumPath = new Array(MAXALBUMS);
var albumName = new Array(MAXALBUMS);

   // populate album path array
albumPath[0] = "./Misc_HeavyMetal/Album.html?albumIndex="                  + "0";
albumPath[1] = "./Misc_GA/Album.html?albumIndex="						   + "1";
albumPath[2] = "./KHEFtoKRIC_Photos/Album.html?albumIndex="                + "2";
albumPath[3] = "./PASItoPAJN_Photos/Album.html?albumIndex="                + "3";
albumPath[4] = "./PADQtoPANC_Photos/Album.html?albumIndex="                + "4";
albumPath[5] = "./PANCtoPAFA_Photos/Album.html?albumIndex="                + "5";
albumPath[6] = "./PMDG737_MaidenFlight/Album.html?albumIndex="             + "6";
albumPath[7] = "./PMDG738_SunriseSequence/Album.html?albumIndex="          + "7";
albumPath[8] = "./PMDG739Training_Photos/Album.html?albumIndex="		   + "8";
albumPath[9] = "./XPlaneBaron_Photos/Album.html?albumIndex="               + "9";
albumPath[10] = "./XPlaneC421C_Photos/Album.html?albumIndex="              + "10";
albumPath[11] = "./TGIF_FtLauderdale_Photos/Album.html?albumIndex="        + "11";
albumPath[12] = "./TGIFPhoenix_Photos/Album.html?albumIndex="              + "12";
albumPath[13] = "./KWJFtoKHAF_Photos/Album.html?albumIndex="               + "13";
albumPath[14] = "./KWJFtoKPSP_Photos/Album.html?albumIndex="               + "14";
albumPath[15] = "./VCAirPilotsMeet/Album.html?albumIndex="                 + "15";
albumPath[16] = "./KGYRtoKIFP_Photos/Album.html?albumIndex="               + "16";
albumPath[17] = "./MeetnGreet_photos/Album.html?albumIndex="               + "17";
albumPath[18] = "./KIYKtoKRNO_Photos/Album.html?albumIndex="               + "18";
albumPath[19] = "./KSFOtoPHNL_Photos/Album.html?albumIndex="               + "19";
albumPath[20] = "./KEWRtoEGPF_Photos/Album.html?albumIndex="               + "20";
albumPath[21] = "./PAWGtoPZST_Photos/Album.html?albumIndex="               + "21";
albumPath[22] = "./U96toKDEN_Photos/Album.html?albumIndex="                + "22";
albumPath[23] = "./EGPFtoKBOS_Photos/Album.html?albumIndex="               + "23";
albumPath[24] = "./KOGDtoKJAC_Photos/Album.html?albumIndex="               + "24";
albumPath[25] = "./KSYRtoKPWM_Photos/Album.html?albumIndex="               + "25";
albumPath[26] = "./MMYGtoMYCZ_Photos/Album.html?albumIndex="               + "26";
albumPath[27] = "./HI_IslandHopping_Photos/Album.html?albumIndex="         + "27";
albumPath[28] = "./KYIPtoKIGQ_Photos/Album.html?albumIndex="               + "28";
albumPath[29] = "./KIGQtoKMCW_Photos/Album.html?albumIndex="               + "29";
albumPath[30] = "./KMCWtoKANE_Photos/Album.html?albumIndex="               + "30";
albumPath[31] = "./PAWGtoCZST_Photos/Album.html?albumIndex="               + "31";
albumPath[32] = "./KDSMtoKAAO_Photos/Album.html?albumIndex="               + "32";
albumPath[33] = "./KAAOtoKFTW_Photos/Album.html?albumIndex="               + "33";
albumPath[34] = "./GarfieldsVisit_Photos/Album.html?albumIndex="           + "34";
albumPath[35] = "./KFTWtoKLIT_Photos/Album.html?albumIndex="               + "35";
albumPath[36] = "./KLITtoKEKY_Photos/Album.html?albumIndex="               + "36";
albumPath[37] = "./Misc_Cheyenne/Album.html?albumIndex="                   + "37";
albumPath[38] = "./KEKYtoKFFC_Photos/Album.html?albumIndex="               + "38";
albumPath[39] = "./KFFCtoKINT_Photos/Album.html?albumIndex="               + "39";
albumPath[40] = "./KINTtoKFFA_Photos/Album.html?albumIndex="               + "40";
albumPath[41] = "./KHEFtoKPVD_Photos/Album.html?albumIndex="               + "41";
albumPath[42] = "./KPVDtoKFWA_Photos/Album.html?albumIndex="               + "42";
albumPath[43] = "./MMMXtoKIAH_Photos/Album.html?albumIndex="               + "43";
albumPath[44] = "./KFFAtoKFDK_Photos/Album.html?albumIndex="               + "44";
albumPath[45] = "./KASEtoKSEA_Photos/Album.html?albumIndex="               + "45";
albumPath[46] = "./KATLtoKEYW_Photos/Album.html?albumIndex="               + "46";
albumPath[47] = "./KFDKtoKAGC_Photos/Album.html?albumIndex="               + "47";
albumPath[48] = "./KSEAtoPANC_Photos/Album.html?albumIndex="               + "48";
albumPath[49] = "./PANCtoKSEA_Photos/Album.html?albumIndex="               + "49";
albumPath[50] = "./PickupVFRAlaska/Album.html?albumIndex="                 + "50";
albumPath[51] = "./LDS76Flight_Photos/Album.html?albumIndex="              + "51";
albumPath[52] = "./KSEAtoKIAH_Photos/Album.html?albumIndex="               + "52";
albumPath[53] = "./VCAirGroupFlights/Album.html?albumIndex="               + "53";
albumPath[54] = "./I19toKYIP_Photos/Album.html?albumIndex="                + "54";
albumPath[55] = "./KSANtoKLAS_Photos/Album.html?albumIndex="               + "55";
albumPath[56] = "./Connie_Photos/Album.html?albumIndex="                   + "56";
albumPath[57] = "./LDS767Static_Photos/Album.html?albumIndex="             + "57";
albumPath[58] = "./AirShow2007/Album.html?albumIndex="                     + "58";
albumPath[59] = "./GlacierBayVFR_Photos/Album.html?albumIndex="            + "59";
albumPath[60] = "./KACKtoKCDW_Photos/Album.html?albumIndex="               + "60";
albumPath[61] = "./CYEGtoCAH4_Photos/Album.html?albumIndex="               + "61";
albumPath[62] = "./MarthasVineyard_Photos/Album.html?albumIndex="          + "62";
albumPath[63] = "./KTRItoKEKN_Photos/Album.html?albumIndex="               + "63";
albumPath[64] = "./CYYRtoBIKF_Photos/Album.html?albumIndex="               + "64";
albumPath[65] = "./OshKosh07_Photos/Album.html?albumIndex="                + "65";
albumPath[66] = "./Skymaster_Photos/Album.html?albumIndex="                + "66";
albumPath[67] = "./OPKCtoVECC_Photos/Album.html?albumIndex="               + "67";
albumPath[68] = "./RussiaAirshow2007/Album.html?albumIndex="               + "68";
albumPath[69] = "./GoogleEarth2_Photos/Album.html?albumIndex="             + "69";
albumPath[70] = "./OshKosh08_Photos/Album.html?albumIndex="                + "70";
albumPath[71] = "./BlackHawkRide_Photos/Album.html?albumIndex="            + "71";


   // populate album name array
albumName[0] = "The Continental Collection";
albumName[1] = "GA Collection";
albumName[2] = "KHEF to KRIC X-C";
albumName[3] = "PASI to PAJN X-C";
albumName[4] = "PADQ to PANC X-C";
albumName[5] = "PANC to PAFA X-C";
albumName[6] = "PMDG 737 Maiden Flight";
albumName[7] = "PMDG 738 Sunrise Sequence";
albumName[8] = "PMDG 739 Training Flight";
albumName[9] = "X-Plane Baron 58";
albumName[10] = "X-Plane Cessna 421C";
albumName[11] = "TGIF Ft. Lauderdale";
albumName[12] = "TGIF Phoenix";
albumName[13] = "KWJF to KHAF X-C";
albumName[14] = "KWJF to KPSP X-C";
albumName[15] = "VCAir Pilots Meet";
albumName[16] = "KGYR to KIFP X-C";
albumName[17] = "Meet n Greet Pix";
albumName[18] = "KIYK to KRNO X-C";
albumName[19] = "KSFO to PHNL TGIF";
albumName[20] = "KEWR to EGPF X-C";
albumName[21] = "PAWG to PZST X-C";
albumName[22] = "U96 to KDEN X-C";
albumName[23] = "EGPF to KBOS X-C";
albumName[24] = "KOGD to KJAC X-C";
albumName[25] = "KSYR to KPWM X-C";
albumName[26] = "Bahama Island Hopping";
albumName[27] = "Island Hopping Hawaii";
albumName[28] = "National Air Tour #1";
albumName[29] = "National Air Tour #2";
albumName[30] = "National Air Tour #3";
albumName[31] = "VFR with Wencil";
albumName[32] = "National Air Tour #5";
albumName[33] = "National Air Tour #7";
albumName[34] = "Garfield Visits D.C.";
albumName[35] = "National Air Tour #8";
albumName[36] = "National Air Tour #9";
albumName[37] = "The Cheyenne Collection";
albumName[38] = "National Air Tour #10";
albumName[39] = "National Air Tour #11";
albumName[40] = "National Air Tour #12/13";
albumName[41] = "KHEF to KPVD X-C";
albumName[42] = "KPVD to KFWA X-C";
albumName[43] = "MMMX to KIAH X-C";
albumName[44] = "National Air Tour #14";
albumName[45] = "KASE to KSEA X-C";
albumName[46] = "KATL to KEYW X-C";
albumName[47] = "National Air Tour #15";
albumName[48] = "KSEA to PANC (767) X-C";
albumName[49] = "PANC to KSEA (767) X-C";
albumName[50] = "Pickup VFR Alaska";
albumName[51] = "B767 Landings";
albumName[52] = "KSEA to KIAH X-C";
albumName[53] = "VCAir Group Flights";
albumName[54] = "National Air Tour #16";
albumName[55] = "KSAN to KLAS X-C";
albumName[56] = "Connie Photos";
albumName[57] = "Service at Houston";
albumName[58] = "AirShow 2007";
albumName[59] = "Glacier Bay VFR Tour";
albumName[60] = "VFR up the Hudson";
albumName[61] = "Golden BC to Valemount BC";
albumName[62] = "Martha's Vineyard Trip";
albumName[63] = "VFR along the Appalachians";
albumName[64] = "SNH into Kevlavick";
albumName[65] = "OshKosh 2007 Airshow";
albumName[66] = "Skymaster flight";
albumName[67] = "SNH into Kolkatta India";
albumName[68] = "Russian Airshow 2007";
albumName[69] = "Google Earth Integrated";
albumName[70] = "OshKosh 2008";
albumName[71] = "Ride in a Black Hawk";

//////////////////////////////////////////////////////////////////////////////
//
// These variables define the links for the screenshots group
//
//////////////////////////////////////////////////////////////////////////////
var currAlbum = 0;
var aroundTheUSPath = new Array(MAXAROUNDTHEUS);
var aroundTheUSName = new Array(MAXAROUNDTHEUS);

aroundTheUSPath[0]  = "./AroundTheUS/AroundTheUS.html";
aroundTheUSPath[1]  = "./AroundTheUS_KSDMtoKRYN/Album.html?albumIndex="     + "0";
aroundTheUSPath[2]  = "./AroundTheUS_KRYNtoKELP/Album.html?albumIndex="     + "1";
aroundTheUSPath[3]  = "./AroundTheUS_KELPtoCZT/Album.html?albumIndex="      + "2";
aroundTheUSPath[4]  = "./AroundTheUS_CZTtoKBRO/Album.html?albumIndex="      + "3";
aroundTheUSPath[5]  = "./AroundTheUS_KBROtoKLCH/Album.html?albumIndex="     + "4";
aroundTheUSPath[6]  = "./AroundTheUS_KLCHtoKBFM/Album.html?albumIndex="     + "5";
aroundTheUSPath[7]  = "./AroundTheUS_KBFMtoKGNV/Album.html?albumIndex="     + "6";
aroundTheUSPath[8]  = "./AroundTheUS_KGNVtoKEYW/Album.html?albumIndex="     + "7";
aroundTheUSPath[9]  = "./AroundTheUS_KEYWtoKBCT/Album.html?albumIndex="     + "8";
aroundTheUSPath[10] = "./AroundTheUS_KBCTtoKSSI/Album.html?albumIndex="     + "9";

aroundTheUSName[0]  = "My Logbook";
aroundTheUSName[1]  = "San Diego to Tucson";
aroundTheUSName[2]  = "Tucson to El Paso";
aroundTheUSName[3]  = "El Paso to Dimmit County, TX";
aroundTheUSName[4]  = "Dimmit County to Brownsville";
aroundTheUSName[5]  = "Brownsville to Lake Charles";
aroundTheUSName[6]  = "Lake Charles to Mobile";
aroundTheUSName[7]  = "Mobile, AL to Gainsville, FL";
aroundTheUSName[8]  = "Gainsville to Key West";
aroundTheUSName[9]  = "Key West to Boca Raton";
aroundTheUSName[10] = "Boca Raton to Brunswick, GA";

