var selopts = {
	'a' : {
		'Select an Option' : 'x'
	},
	'b' : {
		'Select an Option' : 'x',
		'Preschool' : '/programs/for-youth-development/child-care/',
		'ChildWatch' : '/programs/for-youth-development/child-care/child-watch/',
		'Dance' : '/programs/for-youth-development/swim-sports-play/youth-dance-classes/',
		'Summer Camps' : '/programs/for-youth-development/camp/',
		'Youth Soccer' : '/programs/for-youth-development/swim-sports-play/youth-soccer/',
		'Kim League Basketball' : '/programs/for-youth-development/swim-sports-play/kim-league-basketball/',
		'Youth Gymnastics' : '/programs/for-youth-development/swim-sports-play/youth-gymnastics/',
		'Youth Fitness' : '/programs/for-youth-development/swim-sports-play/',
		'Youth Swimming Lessons' : '/programs/for-youth-development/swim-sports-play/youth-swimming-lessons/',
		'Middle Sch. Girls Volleyball' : '/programs/for-youth-development/swim-sports-play/middle-school-girls-volleyball/',
		'Boost Camp' : '/programs/for-youth-development/camp/#boost-camp',
		'Sand Volleyball' : '/programs/for-youth-development/swim-sports-play/middle-school-girls-volleyball/',
		'Become a Volunteer' : '/programs/for-social-responsibility/volunteerism/',
		'Make a Donation' : '/programs/for-social-responsibility/giving/'
	},
	'c' : {
		'Select an Option' : 'x',
		'Aerobics' : '/programs/for-healthy-living/health-well-being-fitness/aerobics/',
		'Pilates' : '/programs/for-healthy-living/health-well-being-fitness/pilates/',
		'Indoor Cycling' : '/programs/for-healthy-living/health-well-being-fitness/indoor-cycling/',
		'Yoga' : '/programs/for-healthy-living/health-well-being-fitness/yoga/',
		'Cross-Fit' : '/programs/for-healthy-living/health-well-being-fitness/cross-fit/',
		'Nutrition/Health Tests' : '/programs/for-healthy-living/health-well-being-fitness/nutrition-health-screenings/',
		'Fitness Program' : '/programs/for-healthy-living/health-well-being-fitness/12-week-personal-fitness-program/',
		'Body Composition Testing' : '/programs/for-healthy-living/health-well-being-fitness/body-composition-testing/',
		'Fitness Assessment' : '/programs/for-healthy-living/health-well-being-fitness/fitness-assessment/',
		'CardioBlast' : '/programs/for-healthy-living/health-well-being-fitness/cardioblast/',
		'20-Minute Abs' : '/programs/for-healthy-living/health-well-being-fitness/20-minute-abs/',
		'Strength Training' : '/programs/for-healthy-living/health-well-being-fitness/personal-training/',
		'Body Sculpting' : '/programs/for-healthy-living/health-well-being-fitness/body-sculpting/',
		'Zumba' : '/programs/for-healthy-living/health-well-being-fitness/zumba/',
		'Adult Golf Camp' : '/programs/for-healthy-living/sports-recreation/adult-golf-camp/',
		'Adult Running Class' : '/programs/for-healthy-living/sports-recreation/adult-running-clubs/',
		'Healthy Cooking' : '/programs/for-healthy-living/group-interests/healthy-cooking/',
		'Noonball' : '/programs/for-healthy-living/sports-recreation/adult-noonball/',
		'Adult Sand Volleyball' : '/programs/for-healthy-living/sports-recreation/adult-coed-volleyball-leagues/',
		'Become a Volunteer' : '/programs/for-social-responsibility/volunteerism/',
		'Make a Donation' : '/programs/for-social-responsibility/giving/'
	},
	'd' : {
		'Select an Option' : 'x',
		'Silver Sneakers Fitness' : '/programs/for-healthy-living/health-well-being-fitness/silver-sneakers/',
		'Become a Volunteer' : '/programs/for-social-responsibility/volunteerism/',
		'Make a Donation' : '/programs/for-social-responsibility/giving/'
	}
};

$(document).ready(function() {
	$('#sel1').change(function(){
		var sel2 = $('#sel2'),
			s = sel2.children().remove().end(),
			val = $(this).val();
		for(var i in selopts[val])
			s.append('<option value="' + selopts[val][i] + '">' + i + '</option>');
		sel2 = $('#sel2');
		sel2.prev().html(sel2.children().first().html());
	}).change();
	
	$('#selgo').click(function(){
		if($('#sel2').val() != 'x') window.location = $('#sel2').val();
	});
});
