//var hide_empty_list=true; //uncomment this line to hide empty selection lists
var disable_empty_list=true; //uncomment this line to disable empty selection lists

var onclickaction="goto" //set to "alert" or "goto". Former is for debugging purposes, to tell you the value of the final selected list that will be used as the destination URL. Set to "goto" when below configuration is all set up as desired.

var newwindow=0 //Open links in new window or not? 1=yes, 0=no.

/////DEFINE YOUR MENU LISTS and ITEMS below/////////////////
/*
8)  'How Can Trehab Help Me? prompt:
a)  Selected county needs to reference appropriate development or service provided by that county.  If 'A Place to Live' is selected:
Bradford County = Packer-Wilbur (any age, individual, family);  Lockhart Elderly (Elderly);  Golden Eagle (family).
Susquehanna County = Station House Apartments (Elderly).
Wyoming County = Old Doctor's House Apartments (Elderly).
b)  Expand "I Need Help With" to include 'Purchase a Home'.  This would be the Homeownership Program, which is available in Bradford, Susquehanna and Tioga Counties.

 */
addListGroup("chainedmenu", "First-Select");

addOption("First-Select", "Select a county", "", 1); //HEADER OPTION
addList("First-Select", "Bradford County", "", "bra");
addList("First-Select", "Sullivan County", "", "sul");
addList("First-Select", "Susquehanna County", "", "sus");
addList("First-Select", "Tioga County", "", "tio");
addList("First-Select", "Wayne County", "", "way");
addList("First-Select", "Wyoming County", "", "wyo");

addOption("sus", "Select what you need", "", 1); //HEADER OPTION
addOption("sus", "Buying a Home", "http://trehab.org/homeownership.shtml");
addOption("sus", "A Drug or Alcohol problem", "http://trehab.org/drugalcohol.shtml");
addOption("sus", "Drug and Alcohol Education", "http://trehab.org/drugalcohol-prevention.shtml");
addOption("sus", "A Foreclosure Notice (Act 91)", "http://trehab.org/communityservices.shtml#fma");
addOption("sus", "Getting Food", "http://trehab.org/emergencyfood.shtml");
addOption("sus", "Getting a Job", "http://trehab.org/workforcedevelopment.shtml");
addOption("sus", "Lowering My Energy Bill", "http://trehab.org/weatherization.shtml");
addOption("sus", "Making a Budget", "http://trehab.org/communityservices.shtml#cm");
addOption("sus", "Paying Rent or Security Deposit", "http://trehab.org/communityservices.shtml#hs");
addOption("sus", "Paying My Utility Bill", "http://trehab.org/utilitymediation.shtml");
addOption("sus", "A Place to Live", "http://trehab.org/stationhouse.shtml");
addOption("sus", "Quitting Smoking", "http://trehab.org/tobaccocontrol.shtml#hs");
addOption("sus", "Senior Care Needs", "http://trehab.org/homeservices.shtml");
addOption("sus", "A Utility Termination Notice", "http://trehab.org/communityservices.shtml#hs");


addOption("bra", "Select what you need", "", 1); //HEADER OPTION
addOption("bra", "Buying a Home", "http://trehab.org/homeownership.shtml");
addOption("bra", "A Foreclosure Notice (Act 91)", "http://trehab.org/communityservices.shtml#fma");
addOption("bra", "Getting a Job", "http://trehab.org/workforcedevelopment.shtml");
addOption("bra", "Lowering My Energy Bill", "http://trehab.org/weatherization.shtml");
addOption("bra", "Making a Budget", "http://trehab.org/communityservices.shtml#cm");
addOption("bra", "Paying My Utility Bill", "http://trehab.org/utilitymediation.shtml");
addOption("bra", "A Place to Live", "http://trehab.org/housingdevelopment.shtml#rentalb");
addOption("bra", "A Utility Termination Notice", "http://trehab.org/communityservices.shtml#hs");

addOption("sul", "Select what you need", "", 1); //HEADER OPTION
addOption("sul", "A Foreclosure Notice (Act 91)", "http://trehab.org/communityservices.shtml#fma");
addOption("sul", "Getting Food", "http://trehab.org/emergencyfood.shtml");
addOption("sul", "Getting a Job", "http://trehab.org/workforcedevelopment.shtml");
addOption("sul", "Lowering My Energy Bill", "http://trehab.org/weatherization.shtml");
addOption("sul", "Making a Budget", "http://trehab.org/communityservices.shtml#cm");
addOption("sul", "Paying Rent or Security Deposit", "http://trehab.org/communityservices.shtml#hs");
addOption("sul", "Paying My Utility Bill", "http://trehab.org/utilitymediation.shtml");
addOption("sul", "A Utility Termination Notice", "http://trehab.org/communityservices.shtml#hs");

addOption("tio", "Select what you need", "", 1); //HEADER OPTION
addOption("tio", "Buying a Home", "http://trehab.org/homeownership.shtml");
addOption("tio", "A Foreclosure Notice (Act 91)", "http://trehab.org/communityservices.shtml#fma");
addOption("tio", "Getting a Job", "http://trehab.org/workforcedevelopment.shtml");
addOption("tio", "Lowering My Energy Bill", "http://trehab.org/weatherization.shtml");
addOption("tio", "Making a Budget", "http://trehab.org/communityservices.shtml#cm");
addOption("tio", "Paying My Utility Bill", "http://trehab.org/utilitymediation.shtml");
addOption("tio", "A Utility Termination Notice", "http://trehab.org/communityservices.shtml#hs");

addOption("way", "Select what you need", "", 1); //HEADER OPTION
addOption("way", "A Foreclosure Notice (Act 91)", "http://trehab.org/communityservices.shtml#fma");
addOption("way", "Getting a Job", "http://trehab.org/workforcedevelopment.shtml");
addOption("way", "Lowering My Energy Bill", "http://trehab.org/weatherization.shtml");
addOption("way", "Making a Budget", "http://trehab.org/communityservices.shtml#cm");
addOption("way", "Paying Rent or Security Deposit", "http://trehab.org/communityservices.shtml#hs");
addOption("way", "Paying My Utility Bill", "http://trehab.org/utilitymediation.shtml");
addOption("way", "Quitting Smoking", "http://trehab.org/tobaccocontrol.shtml#hs");
addOption("way", "A Utility Termination Notice", "http://trehab.org/communityservices.shtml#hs");


addOption("wyo", "Select what you need", "", 1); //HEADER OPTION
addOption("wyo", "A Foreclosure Notice (Act 91)", "http://trehab.org/communityservices.shtml#fma");
addOption("wyo", "Getting a Job", "http://trehab.org/workforcedevelopment.shtml");
addOption("wyo", "Lowering My Energy Bill", "http://trehab.org/weatherization.shtml");
addOption("wyo", "Making a Budget", "http://trehab.org/communityservices.shtml#cm");
addOption("wyo", "Paying My Utility Bill", "http://trehab.org/utilitymediation.shtml");
addOption("wyo", "A Place to Live", "http://trehab.org/olddoctorshouse.shtml");
addOption("wyo", "A Utility Termination Notice", "http://trehab.org/communityservices.shtml#hs");





