// ----------------------------------------------------------------------
// LOCATION CONTROL VARIABLES
// ----------------------------------------------------------------------
LOCATION_NAME = 0;
LOCATION_LISTNUMBER = 1;
LOCATION_HASTIPS = 2;
LOCATION_HASRECIPES = 3;
LOCATION_HASNEWS = 4;
gstLocation = "";
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("Do You Need Help? - Kids and Teens", "Do You Need Help?", "needhelp", "../publish/needhelp.shtml", "50%", "170");
gstNavMatrix[gnNavMax++] = new Array("Do You Need Help? - Parents and Caregivers", "Do You Need Help?", "parents", "../publish/parents.shtml", "50%", "170");

gstNavMatrix[gnNavMax++] = new Array("Ayuda Español? - ¿Necesita Ayuda?", "Ayuda Español?", "spanish", "../publish/spanish.shtml", "33%", "126");
gstNavMatrix[gnNavMax++] = new Array("Ayuda Español? - Programas", "Ayuda Español?", "spanish_programs", "../publish/spanish_programs.shtml", "33%", "120");
gstNavMatrix[gnNavMax++] = new Array("Ayuda Español? - Servicios", "Ayuda Español?", "spanish_services", "../publish/spanish_services.shtml", "33%", "120");

gstNavMatrix[gnNavMax++] = new Array("News and Events - Headlines", "News and Events", "headlines", "../publish/headlines.shtml", "25%", "120");
gstNavMatrix[gnNavMax++] = new Array("News and Events - Events", "News and Events", "events", "../publish/events.shtml", "25%", "120");
gstNavMatrix[gnNavMax++] = new Array("News and Events - Promotions", "News and Events", "community_promos", "../publish/community_promos.shtml", "25%", "120");
gstNavMatrix[gnNavMax++] = new Array("News and Events - Newsletters", "News and Events", "newsletter", "../publish/newsletter.shtml", "25%", "120");

gstNavMatrix[gnNavMax++] = new Array("About Kids in Crisis - Our Story", "About Kids in Crisis", "aboutkic", "../publish/aboutkic.shtml", "33%", "122");
gstNavMatrix[gnNavMax++] = new Array("About Kids in Crisis - Organization", "About Kids in Crisis", "organization", "../publish/organization.shtml", "33%", "122");
gstNavMatrix[gnNavMax++] = new Array("About Kids in Crisis - Financials", "About Kids in Crisis", "financial", "../publish/financial.shtml", "33%", "122");

gstNavMatrix[gnNavMax++] = new Array("Programs &amp; Services - Programs", "Programs and Community Services", "programs", "../publish/programs.shtml", "50%", "170");
gstNavMatrix[gnNavMax++] = new Array("Programs &amp; Services - Community Services", "Programs and Community Services", "services", "../publish/services.shtml", "50%", "170");

gstNavMatrix[gnNavMax++] = new Array("Meet Our Kids - Our Kids", "Meet Our Kids", "ourkids", "../publish/ourkids.shtml", "33%", "120");
gstNavMatrix[gnNavMax++] = new Array("Meet Our Kids - In Their Own Words", "Meet Our Kids", "words_n_pics", "../publish/words_n_pics.shtml", "33%", "126");
gstNavMatrix[gnNavMax++] = new Array("Meet Our Kids - Kid's Quilt Project", "Meet Our Kids", "quilt_list", "../publish/quilt_list.shtml", "33%", "124");

gstNavMatrix[gnNavMax++] = new Array("Make A Donation - Make A Difference", "Make A Donation", "donations", "../publish/donations.shtml", "50%", "170");
gstNavMatrix[gnNavMax++] = new Array("Make A Donation - More Information", "Make A Donation", "donateinfo", "../publish/donateinfo.shtml", "50%", "170");

gstNavMatrix[gnNavMax++] = new Array("Youth Corps - Youth Corps Heros", "Youth Corps", "youthcorps", "../publish/youthcorps.shtml", "50%", "170");
gstNavMatrix[gnNavMax++] = new Array("Youth Corps - Join the Youth Corps", "Youth Corps", "yc_join", "../publish/yc_join.shtml", "50%", "170");

gstNavMatrix[gnNavMax++] = new Array("In Gratitude - Kids Challenge", "In Gratitude", "gratitude_kidschallenge", "../publish/gratitude_kidschallenge.shtml", "50%", "170");
gstNavMatrix[gnNavMax++] = new Array("In Gratitude - Tony Brown Award", "In Gratitude", "award_brown", "../publish/award_brown.shtml", "50%", "170");

gstNavMatrix[gnNavMax++] = new Array("Corporate Giving - Corporate Partnership", "Corporate Giving", "corporations", "../publish/corporations.shtml", "33%", "150");
gstNavMatrix[gnNavMax++] = new Array("Corporate Giving - Employee Giving", "Corporate Giving", "matching", "../publish/matching.shtml", "33%", "125");
gstNavMatrix[gnNavMax++] = new Array("Corporate Giving - For More Information", "Corporate Giving", "corpinfo", "../publish/corpinfo.shtml", "33%", "150");


function ProgramFlashPopOpen(stFileSize) 
{
	stWidth="512";
	stHeight="400";
	if (stFileSize=="800")	{
		stWidth="800";
		stHeight="614";	
	}
	if (stFileSize=="1024")	{
		stWidth="1024";
		stHeight="782";	
	}
	var objOfferWindow;
	objOfferWindow = window.open("../../scripts/programs_show.html?size="+stFileSize, "Offer", "toolbar=0,top=0,left=0,location=0,directories=0,status=0,scrollbars=0,resizable=1,copyhistory=0,width="+stWidth+",height="+stHeight);
	objOfferWindow.focus();
}	



