// ----------------------------------------------------------------------
// LOCATION CONTROL VARIABLES
// ----------------------------------------------------------------------
LOCATION_NAME = 0;
LOCATION_LISTNUMBER = 1;
LOCATION_HASTIPS = 2;
LOCATION_HASRECIPES = 3;
LOCATION_HASNEWS = 4;

gnLocMax = 0;
var gsLocMatrix = new Array(100);
//                              have their own:        tip? recipes? news?
gsLocMatrix[gnLocMax++] = new Array("middletown", "2", true, true, true);


// ----------------------------------------------------------------------
// NAVIGATION CONTROL VARIABLES
// ----------------------------------------------------------------------
gstTarget = "";
NAV_CATEGORY = 0;
NAV_PAGEHEAD = 1;
NAV_ALIAS = 2;
NAV_URL = 3;
NAV_WIDTH = 4;
NAV_IMGWIDTH = 5;
gnNavMax=0;
var gstNavMatrix = new Array(100);

gstNavMatrix[gnNavMax++] = new Array("About Us - Who We Are", "About Us", "about_who", "../publish/about_who.shtml", "33%", "150");
gstNavMatrix[gnNavMax++] = new Array("About Us - Clergy", "About Us", "about_clergy", "../publish/about_clergy.shtml", "33%", "150");
gstNavMatrix[gnNavMax++] = new Array("About Us - Staff", "About Us", "about_staff", "../publish/about_staff.shtml", "33%", "150");

//gstNavMatrix[gnNavMax++] = new Array("News &amp; Events - Announcements", "News &amp; Events", "announcements", "../publish/announcements.shtml", "33%", "125");
//gstNavMatrix[gnNavMax++] = new Array("News &amp; Events - Calendar", "News &amp; Events", "calendar", "../publish/calendar.shtml", "33%", "125");
//gstNavMatrix[gnNavMax++] = new Array("News &amp; Events - Newsletters", "News &amp; Events", "newsletters", "../publish/newsletters.shtml", "33%", "125");

gstNavMatrix[gnNavMax++] = new Array("News &amp; Events - Announcements", "News &amp; Events", "announcements", "../publish/announcements.shtml", "25%", "125");
gstNavMatrix[gnNavMax++] = new Array("News &amp; Events - For Members", "News &amp; Events", "members", "../members/index.html", "25%", "125");
gstNavMatrix[gnNavMax++] = new Array("News &amp; Events - Calendar", "News &amp; Events", "calendar", "../publish/calendar.shtml", "25%", "125");
gstNavMatrix[gnNavMax++] = new Array("News &amp; Events - Newsletters", "News &amp; Events", "newsletters", "../publish/newsletters.shtml", "25%", "125");

gstNavMatrix[gnNavMax++] = new Array("Worship - Services Schedule", "Worship", "services", "../publish/worship.shtml", "25%", "125");
gstNavMatrix[gnNavMax++] = new Array("Worship - Ritual", "Worship", "ritual", "../publish/ritual.shtml", "25%", "125");
gstNavMatrix[gnNavMax++] = new Array("Worship - Read Torah", "Worship", "torah", "../publish/torah.shtml", "25%", "125");
gstNavMatrix[gnNavMax++] = new Array("Worship - Music", "Worship", "music", "../publish/music.shtml", "25%", "125");

gstNavMatrix[gnNavMax++] = new Array("Membership - Information", "Membership", "membership", "../publish/membership.shtml", "50%", "200");
gstNavMatrix[gnNavMax++] = new Array("Membership - Forms", "Membership", "member_forms", "../publish/member_forms.shtml", "50%", "200");

gstNavMatrix[gnNavMax++] = new Array("Education - Gan Hayeled", "Education", "ganhayeled", "../publish/gan_hayeled.shtml", "25%", "125");
gstNavMatrix[gnNavMax++] = new Array("Education - Religious School", "Education", "religious_school", "../publish/religious_school.shtml", "25%", "125");
gstNavMatrix[gnNavMax++] = new Array("Education - Adult Learning", "Education", "adult_learning", "../publish/adult_learning.shtml", "25%", "125");
gstNavMatrix[gnNavMax++] = new Array("Education - Ezra Academy", "Education", "ezra_academy", "../publish/ezra_academy.shtml", "25%", "125");

gstNavMatrix[gnNavMax++] = new Array("Committees - Social Action", "Committees", "social_action", "../publish/social_action.shtml", "25%", "125");
gstNavMatrix[gnNavMax++] = new Array("Committees - BJ Players", "Committees", "bj_players", "../publish/bj_players.shtml", "25%", "125");
gstNavMatrix[gnNavMax++] = new Array("Committees - Men's Club", "Committees", "mens_club", "../publish/mens_club.shtml", "25%", "125");
gstNavMatrix[gnNavMax++] = new Array("Committees - Leadership", "Committees", "leadership", "../publish/leadership.shtml", "25%", "125");

gstNavMatrix[gnNavMax++] = new Array("Children &amp; Teens - Young Children", "Children &amp; Teens", "children", "../publish/children.shtml", "33%", "150");
gstNavMatrix[gnNavMax++] = new Array("Children &amp; Teens - Youth Groups", "Children &amp; Teens", "usy", "../publish/usy.shtml", "33%", "150");
//gstNavMatrix[gnNavMax++] = new Array("Children &amp; Teens - USY", "Children &amp; Teens", "usy", "../publish/usy.shtml", "25%", "125");
gstNavMatrix[gnNavMax++] = new Array("Children &amp; Teens - Boy Scouts", "Children &amp; Teens", "boy_scouts", "../publish/boy_scouts.shtml", "33%", "150");

gstNavMatrix[gnNavMax++] = new Array("Donations - Donating Opportunities", "Donations", "donateinfo", "../publish/donateinfo.shtml", "50%", "200");
gstNavMatrix[gnNavMax++] = new Array("Donations - Donate Now", "Donations", "donations", "../publish/donations.shtml", "50%", "200");

gstNavMatrix[gnNavMax++] = new Array("Directions - Written Directions", "Directions", "dir_written", "../publish/dir_written.shtml", "33%", "150");
gstNavMatrix[gnNavMax++] = new Array("Directions - Maps", "Directions", "dir_map", "../publish/dir_map.shtml", "33%", "150");
gstNavMatrix[gnNavMax++] = new Array("Directions - Directions to Cemetery", "Directions", "dir_cemetery", "../publish/dir_cemetery.shtml", "33%", "150");

gstNavMatrix[gnNavMax++] = new Array("Online Transactions - Payments", "Online Transactions", "payments", "https://bnaij2.sslcert19.com/content/publish/payments.shtml", "33%", "143");
gstNavMatrix[gnNavMax++] = new Array("Online Transactions - Donations", "Online Transactions", "donate", "https://bnaij2.sslcert19.com/content/publish/donate.shtml", "33%", "143");
gstNavMatrix[gnNavMax++] = new Array("Online Transactions - Opportunities for Giving", "Online Transactions", "moreinfo", "../publish/moreinfo.shtml", "33%", "164");


// ----------------------------------------------------------------------
// LOCATION CONTROL VARIABLES
// ----------------------------------------------------------------------
SHIPPING_FEE = 1;
SHIPPING_NAME = 0;

gnShipMax = 0;
var gstShipMatrix = new Array(10);

