var varDuration = .5;


function hideAndDisplay(dom_id)
{
	if (dom_id == 'nutritionIndexBody') {
		hideElement('activityIndexBody', {duration:varDuration});
		hideElement('wellBeingIndexBody', {duration:varDuration});
		showElement(dom_id, {duration:varDuration});

		document.getElementById("wellbeingHideText").innerHTML = "Click to Show (+)";
		document.getElementById("fitnessHideText").innerHTML = "Click to Show (+)";
		document.getElementById("nutritionHideText").innerHTML = "";
	}
	else if (dom_id == 'activityIndexBody') {
		hideElement('nutritionIndexBody', {duration:varDuration});
		hideElement('wellBeingIndexBody', {duration:varDuration});
		showElement(dom_id, {duration:varDuration});

		document.getElementById("wellbeingHideText").innerHTML = "Click to Show (+)";
		document.getElementById("fitnessHideText").innerHTML = "";
		document.getElementById("nutritionHideText").innerHTML = "Click to Show (+)";
	}
	else if (dom_id == 'wellBeingIndexBody') {
		hideElement('activityIndexBody', {duration:varDuration});
		hideElement('nutritionIndexBody', {duration:varDuration});
		showElement(dom_id, {duration:varDuration});

		document.getElementById("wellbeingHideText").innerHTML = "";
		document.getElementById("fitnessHideText").innerHTML = "Click to Show (+)";
		document.getElementById("nutritionHideText").innerHTML = "Click to Show (+)";
	}
}

function hideAndDisplayFlex(dom_id, image) {

	resetAllFlex();
	image.style.backgroundImage='url(/images/mybalancedlife/myfitness/details/orange_bar.jpg)';
	image.style.color='#FFFFFF';

	if (dom_id == 'fullBodyStretchBody') {
		hideElement('fullUpperBodyStretchBody');
		hideElement('shouldersAndOuterPortionsBody');
		hideElement('shouldersAndMiddleBackBody');
		hideElement('sideStretchBody');
		hideElement('shouldersAndNeckStretchBody');
		hideElement('armsShouldersChestBody');
		showElement(dom_id);
	}
	else if (dom_id == 'fullUpperBodyStretchBody') {
		hideElement('fullBodyStretchBody');
		hideElement('shouldersAndOuterPortionsBody');
		hideElement('shouldersAndMiddleBackBody');
		hideElement('sideStretchBody');
		hideElement('shouldersAndNeckStretchBody');
		hideElement('armsShouldersChestBody');
		showElement(dom_id);
	}
	else if (dom_id == 'shouldersAndOuterPortionsBody') {
		hideElement('fullUpperBodyStretchBody');
		hideElement('fullBodyStretchBody');
		hideElement('shouldersAndMiddleBackBody');
		hideElement('sideStretchBody');
		hideElement('shouldersAndNeckStretchBody');
		hideElement('armsShouldersChestBody');
		showElement(dom_id);
	}
	else if (dom_id == 'shouldersAndMiddleBackBody') {
		hideElement('fullUpperBodyStretchBody');
		hideElement('shouldersAndOuterPortionsBody');
		hideElement('fullBodyStretchBody');
		hideElement('sideStretchBody');
		hideElement('shouldersAndNeckStretchBody');
		hideElement('armsShouldersChestBody');
		showElement(dom_id);
	}
	else if (dom_id == 'sideStretchBody') {
		hideElement('fullUpperBodyStretchBody');
		hideElement('shouldersAndOuterPortionsBody');
		hideElement('shouldersAndMiddleBackBody');
		hideElement('fullBodyStretchBody');
		hideElement('shouldersAndNeckStretchBody');
		hideElement('armsShouldersChestBody');
		showElement(dom_id);
	}
	else if (dom_id == 'shouldersAndNeckStretchBody') {
		hideElement('fullUpperBodyStretchBody');
		hideElement('shouldersAndOuterPortionsBody');
		hideElement('shouldersAndMiddleBackBody');
		hideElement('sideStretchBody');
		hideElement('fullBodyStretchBody');
		hideElement('armsShouldersChestBody');
		showElement(dom_id);
	}
	else if (dom_id == 'armsShouldersChestBody') {
		hideElement('fullUpperBodyStretchBody');
		hideElement('shouldersAndOuterPortionsBody');
		hideElement('shouldersAndMiddleBackBody');
		hideElement('sideStretchBody');
		hideElement('shouldersAndNeckStretchBody');
		hideElement('fullBodyStretchBody');
		showElement(dom_id);
	}
}

function hideAndDisplayFlexLower(dom_id, image) {

	resetAllFlexLower();
	image.style.backgroundImage='url(/images/mybalancedlife/myfitness/details/orange_bar.jpg)';
	image.style.color='#FFFFFF';

	if (dom_id == 'calfBody') {
		hideElement('groinBody');
		hideElement('quadBody');
		hideElement('ankleBody');
		hideElement('hamstringBody');
		showElement(dom_id);
	}
	else if (dom_id == 'groinBody') {
		hideElement('calfBody');
		hideElement('quadBody');
		hideElement('hamstringBody');
		hideElement('ankleBody');
		showElement(dom_id);
	}
	else if (dom_id == 'quadBody') {
		hideElement('calfBody');
		hideElement('groinBody');
		hideElement('hamstringBody');
		hideElement('ankleBody');
		showElement(dom_id);
	}
	else if (dom_id == 'hamstringBody') {
		hideElement('calfBody');
		hideElement('groinBody');
		hideElement('ankleBody');
		hideElement('quadBody');
		showElement(dom_id);
	}
	else if (dom_id == 'ankleBody') {
		hideElement('calfBody');
		hideElement('groinBody');
		hideElement('hamstringBody');
		hideElement('quadBody');
		showElement(dom_id);
	}
}

function hideAndDisplayStrengthUpper(dom_id, image) {

	resetAllStrengthUpper();
	image.style.backgroundImage='url(/images/mybalancedlife/myfitness/details/orange_bar.jpg)';
	image.style.color='#FFFFFF';

	if (dom_id == 'goodMorningExerciseBody') {
		hideElement('pushUpsBody');
		hideElement('bicepCurlsBody');
		hideElement('shoulderRaisesBody');
		hideElement('tricepExtensionsBody');
		hideElement('abCrunchesBody');
		showElement(dom_id);
	}

	if (dom_id == 'goodMorningExerciseBody') {
		hideElement('bicepCurlsBody');
		hideElement('shoulderRaisesBody');
		hideElement('tricepExtensionsBody');
		hideElement('abCrunchesBody');
		showElement(dom_id);

	}
	else if (dom_id == 'pushUpsBody') {
		hideElement('goodMorningExerciseBody');
		hideElement('bicepCurlsBody');
		hideElement('shoulderRaisesBody');
		hideElement('tricepExtensionsBody');
		hideElement('abCrunchesBody');
		showElement(dom_id);
	}
	else if (dom_id == 'bicepCurlsBody') {
		hideElement('pushUpsBody');
		hideElement('goodMorningExerciseBody');
		hideElement('shoulderRaisesBody');
		hideElement('tricepExtensionsBody');
		hideElement('abCrunchesBody');
		showElement(dom_id);
	}
	else if (dom_id == 'shoulderRaisesBody') {
		hideElement('pushUpsBody');
		hideElement('bicepCurlsBody');
		hideElement('goodMorningExerciseBody');
		hideElement('tricepExtensionsBody');
		hideElement('abCrunchesBody');
		showElement(dom_id);
	}
	else if (dom_id == 'tricepExtensionsBody') {
		hideElement('pushUpsBody');
		hideElement('bicepCurlsBody');
		hideElement('shoulderRaisesBody');
		hideElement('goodMorningExerciseBody');
		hideElement('abCrunchesBody');
		showElement(dom_id);
	}
	else if (dom_id == 'abCrunchesBody') {
		hideElement('pushUpsBody');
		hideElement('bicepCurlsBody');
		hideElement('shoulderRaisesBody');
		hideElement('tricepExtensionsBody');
		hideElement('goodMorningExerciseBody');
		showElement(dom_id);
	}
}

function hideAndDisplayStrengthLower(dom_id, image) {

	resetAllStrengthLower();
	image.style.backgroundImage='url(/images/mybalancedlife/myfitness/details/orange_bar.jpg)';
	image.style.color='#FFFFFF';

	if (dom_id == 'squatsBody') {
		hideElement('kneeExtensionsBody');
		hideElement('lungesBody');
		hideElement('hipAbductionBody');
		hideElement('hipExtensionBody');
		hideElement('calfRaisesBody');
		showElement(dom_id);
	}
	else if (dom_id == 'kneeExtensionsBody') {
		hideElement('squatsBody');
		hideElement('lungesBody');
		hideElement('hipAbductionBody');
		hideElement('hipExtensionBody');
		hideElement('calfRaisesBody');
		showElement(dom_id);
	}
	else if (dom_id == 'lungesBody') {
		hideElement('squatsBody');
		hideElement('kneeExtensionsBody');
		hideElement('hipAbductionBody');
		hideElement('hipExtensionBody');
		hideElement('calfRaisesBody');
		showElement(dom_id);
	}
	else if (dom_id == 'hipAbductionBody') {
		hideElement('squatsBody');
		hideElement('kneeExtensionsBody');
		hideElement('lungesBody');
		hideElement('hipExtensionBody');
		hideElement('calfRaisesBody');
		showElement(dom_id);
	}
	else if (dom_id == 'hipExtensionBody') {
		hideElement('squatsBody');
		hideElement('kneeExtensionsBody');
		hideElement('lungesBody');
		hideElement('hipAbductionBody');
		hideElement('calfRaisesBody');
		showElement(dom_id);
	}
	else if (dom_id == 'calfRaisesBody') {
		hideElement('squatsBody');
		hideElement('kneeExtensionsBody');
		hideElement('lungesBody');
		hideElement('hipAbductionBody');
		hideElement('hipExtensionBody');
		showElement(dom_id);
	}
}

function hideAndDisplayGymUpper(dom_id, image) {

	resetAllGymUpper();
	image.style.backgroundImage='url(/images/mybalancedlife/myfitness/details/orange_bar.jpg)';
	image.style.color='#FFFFFF';

	if (dom_id == 'machineBenchBody') {
		hideElement('bentRowBody');
		hideElement('latPullBody');
		hideElement('abCrunchesBody');
		hideElement('uprightRowBody');
		hideElement('bicepsBody');
		hideElement('tricepsBody');
		showElement(dom_id);
	}
	else if (dom_id == 'bentRowBody') {
		hideElement('machineBenchBody');
		hideElement('latPullBody');
		hideElement('abCrunchesBody');
		hideElement('uprightRowBody');
		hideElement('bicepsBody');
		hideElement('tricepsBody');
		showElement(dom_id);
	}
	else if (dom_id == 'latPullBody') {
		hideElement('machineBenchBody');
		hideElement('bentRowBody');
		hideElement('abCrunchesBody');
		hideElement('uprightRowBody');
		hideElement('bicepsBody');
		hideElement('tricepsBody');
		showElement(dom_id);
	}
	else if (dom_id == 'abCrunchesBody') {
		hideElement('machineBenchBody');
		hideElement('bentRowBody');
		hideElement('latPullBody');
		hideElement('uprightRowBody');
		hideElement('bicepsBody');
		hideElement('tricepsBody');
		showElement(dom_id);
	}
	else if (dom_id == 'uprightRowBody') {
		hideElement('machineBenchBody');
		hideElement('bentRowBody');
		hideElement('latPullBody');
		hideElement('abCrunchesBody');
		hideElement('bicepsBody');
		hideElement('tricepsBody');
		showElement(dom_id);
	}
	else if (dom_id == 'bicepsBody') {
		hideElement('machineBenchBody');
		hideElement('bentRowBody');
		hideElement('latPullBody');
		hideElement('abCrunchesBody');
		hideElement('uprightRowBody');
		hideElement('tricepsBody');
		showElement(dom_id);
	}
	else if (dom_id == 'tricepsBody') {
		hideElement('machineBenchBody');
		hideElement('bentRowBody');
		hideElement('latPullBody');
		hideElement('abCrunchesBody');
		hideElement('uprightRowBody');
		hideElement('bicepsBody');
		showElement(dom_id);
	}
}

function hideAndDisplayGymLower(dom_id, image) {

	resetAllGymLower();
	image.style.backgroundImage='url(/images/mybalancedlife/myfitness/details/orange_bar.jpg)';
	image.style.color='#FFFFFF';

	if (dom_id == 'extensionsBody') {
		hideElement('legCurlsBody');
		hideElement('calfRaisesBody');
		hideElement('hipAbductionBody');
		hideElement('hipAdductionBody');
		showElement(dom_id);
	}
	else if (dom_id == 'legCurlsBody') {
		hideElement('extensionsBody');
		hideElement('calfRaisesBody');
		hideElement('hipAbductionBody');
		hideElement('hipAdductionBody');
		showElement(dom_id);
	}
	else if (dom_id == 'calfRaisesBody') {
		hideElement('extensionsBody');
		hideElement('legCurlsBody');
		hideElement('hipAbductionBody');
		hideElement('hipAdductionBody');
		showElement(dom_id);
	}
	else if (dom_id == 'hipAbductionBody') {
		hideElement('extensionsBody');
		hideElement('legCurlsBody');
		hideElement('calfRaisesBody');
		hideElement('hipAdductionBody');
		showElement(dom_id);
	}
	else if (dom_id == 'hipAdductionBody') {
		hideElement('extensionsBody');
		hideElement('legCurlsBody');
		hideElement('calfRaisesBody');
		hideElement('hipAbductionBody');
		showElement(dom_id);
	}
}

function hideAndDisplaySelf(dom_id, image) {

	resetAllSelf();
	image.style.backgroundImage='url(/images/mybalancedlife/mywellbeing/details/nav_select.jpg)';
	image.style.color='#FFFFFF';

	if (dom_id == 'bookBody') {
		hideElement('meditateBody');
		hideElement('gardeningBody');
		hideElement('musicBody');
		hideElement('journalBody');
		hideElement('rewardBody');
		hideElement('lettersBody');
		hideElement('hobbyBody');
		hideElement('classBody');
		showElement(dom_id);

	}
	else if (dom_id == 'meditateBody') {
		hideElement('bookBody');
		hideElement('gardeningBody');
		hideElement('musicBody');
		hideElement('journalBody');
		hideElement('rewardBody');
		hideElement('lettersBody');
		hideElement('hobbyBody');
		hideElement('classBody');
		showElement(dom_id);
	}
	else if (dom_id == 'gardeningBody') {
		hideElement('bookBody');
		hideElement('meditateBody');
		hideElement('musicBody');
		hideElement('journalBody');
		hideElement('rewardBody');
		hideElement('lettersBody');
		hideElement('hobbyBody');
		hideElement('classBody');
		showElement(dom_id);
	}
	else if (dom_id == 'musicBody') {
		hideElement('bookBody');
		hideElement('meditateBody');
		hideElement('gardeningBody');
		hideElement('journalBody');
		hideElement('rewardBody');
		hideElement('lettersBody');
		hideElement('hobbyBody');
		hideElement('classBody');
		showElement(dom_id);
	}
	else if (dom_id == 'journalBody') {
		hideElement('bookBody');
		hideElement('meditateBody');
		hideElement('gardeningBody');
		hideElement('musicBody');
		hideElement('rewardBody');
		hideElement('lettersBody');
		hideElement('hobbyBody');
		hideElement('classBody');
		showElement(dom_id);
	}
	else if (dom_id == 'rewardBody') {
		hideElement('bookBody');
		hideElement('meditateBody');
		hideElement('gardeningBody');
		hideElement('musicBody');
		hideElement('journalBody');
		hideElement('lettersBody');
		hideElement('hobbyBody');
		hideElement('classBody');
		showElement(dom_id);
	}
	else if (dom_id == 'lettersBody') {
		hideElement('bookBody');
		hideElement('meditateBody');
		hideElement('gardeningBody');
		hideElement('musicBody');
		hideElement('journalBody');
		hideElement('rewardBody');
		hideElement('hobbyBody');
		hideElement('classBody');
		showElement(dom_id);
	}
	else if (dom_id == 'hobbyBody') {
		hideElement('bookBody');
		hideElement('meditateBody');
		hideElement('gardeningBody');
		hideElement('musicBody');
		hideElement('journalBody');
		hideElement('rewardBody');
		hideElement('lettersBody');
		hideElement('classBody');
		showElement(dom_id);
	}
	else if (dom_id == 'classBody') {
		hideElement('bookBody');
		hideElement('meditateBody');
		hideElement('gardeningBody');
		hideElement('musicBody');
		hideElement('journalBody');
		hideElement('rewardBody');
		hideElement('lettersBody');
		hideElement('hobbyBody');
		showElement(dom_id);
	}
}

function hideAndDisplayFamily(dom_id, image) {

	resetAllFamily();
	image.style.backgroundImage='url(/images/mybalancedlife/mywellbeing/details/nav_select.jpg)';
	image.style.color='#FFFFFF';

	if (dom_id == 'eatBody') {
		hideElement('friendsBody');
		hideElement('walkBody');
		hideElement('tvBody');
		hideElement('gamesBody');
		hideElement('sportingBody');
		hideElement('parentsBody');
		hideElement('courseBody');
		showElement(dom_id);

	}
	else if (dom_id == 'friendsBody') {
		hideElement('eatBody');
		hideElement('walkBody');
		hideElement('tvBody');
		hideElement('gamesBody');
		hideElement('sportingBody');
		hideElement('parentsBody');
		hideElement('courseBody');
		showElement(dom_id);
	}
	else if (dom_id == 'walkBody') {
		hideElement('eatBody');
		hideElement('friendsBody');
		hideElement('tvBody');
		hideElement('gamesBody');
		hideElement('sportingBody');
		hideElement('parentsBody');
		hideElement('courseBody');
		showElement(dom_id);
	}
	else if (dom_id == 'tvBody') {
		hideElement('eatBody');
		hideElement('friendsBody');
		hideElement('walkBody');
		hideElement('gamesBody');
		hideElement('sportingBody');
		hideElement('parentsBody');
		hideElement('courseBody');
		showElement(dom_id);
	}
	else if (dom_id == 'gamesBody') {
		hideElement('eatBody');
		hideElement('friendsBody');
		hideElement('walkBody');
		hideElement('tvBody');
		hideElement('sportingBody');
		hideElement('parentsBody');
		hideElement('courseBody');
		showElement(dom_id);
	}
	else if (dom_id == 'sportingBody') {
		hideElement('eatBody');
		hideElement('friendsBody');
		hideElement('walkBody');
		hideElement('tvBody');
		hideElement('gamesBody');
		hideElement('parentsBody');
		hideElement('courseBody');
		showElement(dom_id);
	}
	else if (dom_id == 'parentsBody') {
		hideElement('eatBody');
		hideElement('friendsBody');
		hideElement('walkBody');
		hideElement('tvBody');
		hideElement('gamesBody');
		hideElement('sportingBody');
		hideElement('courseBody');
		showElement(dom_id);
	}
	else if (dom_id == 'courseBody') {
		hideElement('eatBody');
		hideElement('friendsBody');
		hideElement('walkBody');
		hideElement('tvBody');
		hideElement('gamesBody');
		hideElement('sportingBody');
		hideElement('parentsBody');
		showElement(dom_id);
	}
}

function hideAndDisplayActivities(dom_id, image) {

	resetAllActivities();
	image.style.backgroundImage='url(/images/mybalancedlife/mywellbeing/details/nav_select.jpg)';
	image.style.color='#FFFFFF';

	if (dom_id == 'vacationBody') {
		hideElement('thirdPlaceBody');
		hideElement('volunteerBody');
		hideElement('groupBody');
		hideElement('shareBody');
		hideElement('stressBody');
		hideElement('retreatBody');
		hideElement('issueBody');
		showElement(dom_id);

	}
	else if (dom_id == 'thirdPlaceBody') {
		hideElement('vacationBody');
		hideElement('volunteerBody');
		hideElement('groupBody');
		hideElement('shareBody');
		hideElement('stressBody');
		hideElement('retreatBody');
		hideElement('issueBody');
		showElement(dom_id);
	}
	else if (dom_id == 'volunteerBody') {
		hideElement('vacationBody');
		hideElement('thirdPlaceBody');
		hideElement('groupBody');
		hideElement('shareBody');
		hideElement('stressBody');
		hideElement('retreatBody');
		hideElement('issueBody');
		showElement(dom_id);
	}
	else if (dom_id == 'groupBody') {
		hideElement('vacationBody');
		hideElement('thirdPlaceBody');
		hideElement('volunteerBody');
		hideElement('shareBody');
		hideElement('stressBody');
		hideElement('retreatBody');
		hideElement('issueBody');
		showElement(dom_id);
	}
	else if (dom_id == 'shareBody') {
		hideElement('vacationBody');
		hideElement('thirdPlaceBody');
		hideElement('volunteerBody');
		hideElement('groupBody');
		hideElement('stressBody');
		hideElement('retreatBody');
		hideElement('issueBody');
		showElement(dom_id);
	}
	else if (dom_id == 'stressBody') {
		hideElement('vacationBody');
		hideElement('thirdPlaceBody');
		hideElement('volunteerBody');
		hideElement('groupBody');
		hideElement('shareBody');
		hideElement('retreatBody');
		hideElement('issueBody');
		showElement(dom_id);
	}
	else if (dom_id == 'retreatBody') {
		hideElement('vacationBody');
		hideElement('thirdPlaceBody');
		hideElement('volunteerBody');
		hideElement('groupBody');
		hideElement('shareBody');
		hideElement('stressBody');
		hideElement('issueBody');
		showElement(dom_id);
	}
	else if (dom_id == 'issueBody') {
		hideElement('vacationBody');
		hideElement('thirdPlaceBody');
		hideElement('volunteerBody');
		hideElement('groupBody');
		hideElement('shareBody');
		hideElement('stressBody');
		hideElement('retreatBody');
		showElement(dom_id);
	}
}

function hideAndDisplaySupport(dom_id, image) {

	resetAllSupport();
	image.style.backgroundImage='url(/images/mybalancedlife/mywellbeing/details/nav_select.jpg)';
	image.style.color='#FFFFFF';

	if (dom_id == 'restBody') {
		hideElement('supportBody');
		hideElement('communicationBody');
		hideElement('groupBody');
		hideElement('petBody');
		hideElement('faithBody');
		hideElement('therapeuticBody');
		showElement(dom_id);

	}
	else if (dom_id == 'supportBody') {
		hideElement('restBody');
		hideElement('communicationBody');
		hideElement('groupBody');
		hideElement('petBody');
		hideElement('faithBody');
		hideElement('therapeuticBody');
		showElement(dom_id);
	}
	else if (dom_id == 'communicationBody') {
		hideElement('restBody');
		hideElement('supportBody');
		hideElement('groupBody');
		hideElement('petBody');
		hideElement('faithBody');
		hideElement('therapeuticBody');
		showElement(dom_id);
	}
	else if (dom_id == 'groupBody') {
		hideElement('restBody');
		hideElement('supportBody');
		hideElement('communicationBody');
		hideElement('petBody');
		hideElement('faithBody');
		hideElement('therapeuticBody');
		showElement(dom_id);
	}
	else if (dom_id == 'petBody') {
		hideElement('restBody');
		hideElement('supportBody');
		hideElement('communicationBody');
		hideElement('groupBody');
		hideElement('faithBody');
		hideElement('therapeuticBody');
		showElement(dom_id);
	}
	else if (dom_id == 'faithBody') {
		hideElement('restBody');
		hideElement('supportBody');
		hideElement('communicationBody');
		hideElement('groupBody');
		hideElement('petBody');
		hideElement('therapeuticBody');
		showElement(dom_id);
	}
	else if (dom_id == 'therapeuticBody') {
		hideElement('restBody');
		hideElement('supportBody');
		hideElement('communicationBody');
		hideElement('groupBody');
		hideElement('petBody');
		hideElement('faithBody');
		showElement(dom_id);
	}
}

function resetAllSelf()
{
	$("book_image").style.backgroundImage='url(/images/mybalancedlife/mywellbeing/details/nav_deselect.jpg)';
	$("book_image").style.color='#1F677E';

	$("meditate_image").style.backgroundImage='url(/images/mybalancedlife/mywellbeing/details/nav_deselect.jpg)';
	$("meditate_image").style.color='#1F677E';

	$("gardening_image").style.backgroundImage='url(/images/mybalancedlife/mywellbeing/details/nav_deselect.jpg)';
	$("gardening_image").style.color='#1F677E';

	$("music_image").style.backgroundImage='url(/images/mybalancedlife/mywellbeing/details/nav_deselect.jpg)';
	$("music_image").style.color='#1F677E';

	$("journal_image").style.backgroundImage='url(/images/mybalancedlife/mywellbeing/details/nav_deselect.jpg)';
	$("journal_image").style.color='#1F677E';

	$("reward_image").style.backgroundImage='url(/images/mybalancedlife/mywellbeing/details/nav_deselect.jpg)';
	$("reward_image").style.color='#1F677E';

	$("letters_image").style.backgroundImage='url(/images/mybalancedlife/mywellbeing/details/nav_deselect.jpg)';
	$("letters_image").style.color='#1F677E';

	$("hobby_image").style.backgroundImage='url(/images/mybalancedlife/mywellbeing/details/nav_deselect.jpg)';
	$("hobby_image").style.color='#1F677E';

	$("class_image").style.backgroundImage='url(/images/mybalancedlife/mywellbeing/details/nav_deselect.jpg)';
	$("class_image").style.color='#1F677E';
}

function resetAllFamily()
{
	$("eat_image").style.backgroundImage='url(/images/mybalancedlife/mywellbeing/details/nav_deselect.jpg)';
	$("eat_image").style.color='#1F677E';

	$("friends_image").style.backgroundImage='url(/images/mybalancedlife/mywellbeing/details/nav_deselect.jpg)';
	$("friends_image").style.color='#1F677E';

	$("walk_image").style.backgroundImage='url(/images/mybalancedlife/mywellbeing/details/nav_deselect.jpg)';
	$("walk_image").style.color='#1F677E';

	$("tv_image").style.backgroundImage='url(/images/mybalancedlife/mywellbeing/details/nav_deselect.jpg)';
	$("tv_image").style.color='#1F677E';

	$("games_image").style.backgroundImage='url(/images/mybalancedlife/mywellbeing/details/nav_deselect.jpg)';
	$("games_image").style.color='#1F677E';

	$("sporting_image").style.backgroundImage='url(/images/mybalancedlife/mywellbeing/details/nav_deselect.jpg)';
	$("sporting_image").style.color='#1F677E';

	$("parents_image").style.backgroundImage='url(/images/mybalancedlife/mywellbeing/details/nav_deselect.jpg)';
	$("parents_image").style.color='#1F677E';

	$("course_image").style.backgroundImage='url(/images/mybalancedlife/mywellbeing/details/nav_deselect.jpg)';
	$("course_image").style.color='#1F677E';
}


function resetAllActivities()
{
	$("vacation_image").style.backgroundImage='url(/images/mybalancedlife/mywellbeing/details/nav_deselect.jpg)';
	$("vacation_image").style.color='#1F677E';

	$("third_place_image").style.backgroundImage='url(/images/mybalancedlife/mywellbeing/details/nav_deselect.jpg)';
	$("third_place_image").style.color='#1F677E';

	$("volunteer_image").style.backgroundImage='url(/images/mybalancedlife/mywellbeing/details/nav_deselect.jpg)';
	$("volunteer_image").style.color='#1F677E';

	$("group_image").style.backgroundImage='url(/images/mybalancedlife/mywellbeing/details/nav_deselect.jpg)';
	$("group_image").style.color='#1F677E';

	$("share_image").style.backgroundImage='url(/images/mybalancedlife/mywellbeing/details/nav_deselect.jpg)';
	$("share_image").style.color='#1F677E';

	$("stress_image").style.backgroundImage='url(/images/mybalancedlife/mywellbeing/details/nav_deselect.jpg)';
	$("stress_image").style.color='#1F677E';

	$("retreat_image").style.backgroundImage='url(/images/mybalancedlife/mywellbeing/details/nav_deselect.jpg)';
	$("retreat_image").style.color='#1F677E';

	$("issue_image").style.backgroundImage='url(/images/mybalancedlife/mywellbeing/details/nav_deselect.jpg)';
	$("issue_image").style.color='#1F677E';
}

function resetAllSupport()
{
	$("rest_image").style.backgroundImage='url(/images/mybalancedlife/mywellbeing/details/nav_deselect.jpg)';
	$("rest_image").style.color='#1F677E';

	$("support_image").style.backgroundImage='url(/images/mybalancedlife/mywellbeing/details/nav_deselect.jpg)';
	$("support_image").style.color='#1F677E';

	$("communication_image").style.backgroundImage='url(/images/mybalancedlife/mywellbeing/details/nav_deselect.jpg)';
	$("communication_image").style.color='#1F677E';

	$("group_image").style.backgroundImage='url(/images/mybalancedlife/mywellbeing/details/nav_deselect.jpg)';
	$("group_image").style.color='#1F677E';

	$("pet_image").style.backgroundImage='url(/images/mybalancedlife/mywellbeing/details/nav_deselect.jpg)';
	$("pet_image").style.color='#1F677E';

	$("faith_image").style.backgroundImage='url(/images/mybalancedlife/mywellbeing/details/nav_deselect.jpg)';
	$("faith_image").style.color='#1F677E';

	$("therapeutic_image").style.backgroundImage='url(/images/mybalancedlife/mywellbeing/details/nav_deselect.jpg)';
	$("therapeutic_image").style.color='#1F677E';
}

function resetAllStrengthUpper()
{
	$("push_up_video").style.backgroundImage='url(/images/mybalancedlife/mybliscore/gray_bar.jpg)';
	$("push_up_video").style.color='#C26501';

	$("good_morning_exercise_video").style.backgroundImage='url(/images/mybalancedlife/mybliscore/gray_bar.jpg)';
	$("good_morning_exercise_video").style.color='#C26501';

	$("bicep_curls_video").style.backgroundImage='url(/images/mybalancedlife/mybliscore/gray_bar.jpg)';
	$("bicep_curls_video").style.color='#C26501';

	$("shoulder_raises_video").style.backgroundImage='url(/images/mybalancedlife/mybliscore/gray_bar.jpg)';
	$("shoulder_raises_video").style.color='#C26501';

	$("tricep_extensions_video").style.backgroundImage='url(/images/mybalancedlife/mybliscore/gray_bar.jpg)';
	$("tricep_extensions_video").style.color='#C26501';

	$("ab_crunches_video").style.backgroundImage='url(/images/mybalancedlife/mybliscore/gray_bar.jpg)';
	$("ab_crunches_video").style.color='#C26501';
}

function resetAllStrengthLower()
{
	$("squats_video").style.backgroundImage='url(/images/mybalancedlife/mybliscore/gray_bar.jpg)';
	$("squats_video").style.color='#C26501';

	$("knee_extension_video").style.backgroundImage='url(/images/mybalancedlife/mybliscore/gray_bar.jpg)';
	$("knee_extension_video").style.color='#C26501';

	$("lunges_video").style.backgroundImage='url(/images/mybalancedlife/mybliscore/gray_bar.jpg)';
	$("lunges_video").style.color='#C26501';

	$("hip_abduction_video").style.backgroundImage='url(/images/mybalancedlife/mybliscore/gray_bar.jpg)';
	$("hip_abduction_video").style.color='#C26501';

	$("hip_extension_video").style.backgroundImage='url(/images/mybalancedlife/mybliscore/gray_bar.jpg)';
	$("hip_extension_video").style.color='#C26501';

	$("calf_raises_video").style.backgroundImage='url(/images/mybalancedlife/mybliscore/gray_bar.jpg)';
	$("calf_raises_video").style.color='#C26501';
}

function resetAllGymUpper()
{
	$("machine_bench_image").style.backgroundImage='url(/images/mybalancedlife/mybliscore/gray_bar.jpg)';
	$("machine_bench_image").style.color='#C26501';

	$("bent_row_image").style.backgroundImage='url(/images/mybalancedlife/mybliscore/gray_bar.jpg)';
	$("bent_row_image").style.color='#C26501';

	$("lat_pull_image").style.backgroundImage='url(/images/mybalancedlife/mybliscore/gray_bar.jpg)';
	$("lat_pull_image").style.color='#C26501';

	$("ab_crunches_image").style.backgroundImage='url(/images/mybalancedlife/mybliscore/gray_bar.jpg)';
	$("ab_crunches_image").style.color='#C26501';

	$("upright_row_image").style.backgroundImage='url(/images/mybalancedlife/mybliscore/gray_bar.jpg)';
	$("upright_row_image").style.color='#C26501';

	$("biceps_image").style.backgroundImage='url(/images/mybalancedlife/mybliscore/gray_bar.jpg)';
	$("biceps_image").style.color='#C26501';

	$("triceps_image").style.backgroundImage='url(/images/mybalancedlife/mybliscore/gray_bar.jpg)';
	$("triceps_image").style.color='#C26501';
}

function resetAllGymLower()
{
	$("extensions_image").style.backgroundImage='url(/images/mybalancedlife/mybliscore/gray_bar.jpg)';
	$("extensions_image").style.color='#C26501';

	$("leg_curls_image").style.backgroundImage='url(/images/mybalancedlife/mybliscore/gray_bar.jpg)';
	$("leg_curls_image").style.color='#C26501';

	$("calf_raises_image").style.backgroundImage='url(/images/mybalancedlife/mybliscore/gray_bar.jpg)';
	$("calf_raises_image").style.color='#C26501';

	$("hip_abduction_image").style.backgroundImage='url(/images/mybalancedlife/mybliscore/gray_bar.jpg)';
	$("hip_abduction_image").style.color='#C26501';

	$("hip_adduction_image").style.backgroundImage='url(/images/mybalancedlife/mybliscore/gray_bar.jpg)';
	$("hip_adduction_image").style.color='#C26501';
}

function resetAllFlex()
{
	$("full_body_video").style.backgroundImage='url(/images/mybalancedlife/mybliscore/gray_bar.jpg)';
	$("full_body_video").style.color='#C26501';

	$("full_upper_body_video").style.backgroundImage='url(/images/mybalancedlife/mybliscore/gray_bar.jpg)';
	$("full_upper_body_video").style.color='#C26501';

	$("shoulder_outer_portions_video").style.backgroundImage='url(/images/mybalancedlife/mybliscore/gray_bar.jpg)';
	$("shoulder_outer_portions_video").style.color='#C26501';

	$("shoulder_middle_back_video").style.backgroundImage='url(/images/mybalancedlife/mybliscore/gray_bar.jpg)';
	$("shoulder_middle_back_video").style.color='#C26501';

	$("side_stretch_video").style.backgroundImage='url(/images/mybalancedlife/mybliscore/gray_bar.jpg)';
	$("side_stretch_video").style.color='#C26501';

	$("shoulder_and_neck_video").style.backgroundImage='url(/images/mybalancedlife/mybliscore/gray_bar.jpg)';
	$("shoulder_and_neck_video").style.color='#C26501';

	$("arms_shoulder_chest_video").style.backgroundImage='url(/images/mybalancedlife/mybliscore/gray_bar.jpg)';
	$("arms_shoulder_chest_video").style.color='#C26501';

}

function resetAllFlexLower()
{
	$("calf_video").style.backgroundImage='url(/images/mybalancedlife/mybliscore/gray_bar.jpg)';
	$("calf_video").style.color='#C26501';

	$("groin_video").style.backgroundImage='url(/images/mybalancedlife/mybliscore/gray_bar.jpg)';
	$("groin_video").style.color='#C26501';

	$("hamstring_video").style.backgroundImage='url(/images/mybalancedlife/mybliscore/gray_bar.jpg)';
	$("hamstring_video").style.color='#C26501';

	$("quad_video").style.backgroundImage='url(/images/mybalancedlife/mybliscore/gray_bar.jpg)';
	$("quad_video").style.color='#C26501';

	$("ankle_video").style.backgroundImage='url(/images/mybalancedlife/mybliscore/gray_bar.jpg)';
	$("ankle_video").style.color='#C26501';
}

function evalMouseOut(element, imageElement)
{
	if ($(element).style.display != null && $(element).style.display == 'none')
	{
		imageElement.style.backgroundImage='url(/images/mybalancedlife/mybliscore/gray_bar.jpg)';
		imageElement.style.color='#C26501';
	}
}

function evalMouseOutWellbeing(element, imageElement)
{
	if ($(element).style.display != null && $(element).style.display == 'none')
	{
		imageElement.style.backgroundImage='url(/images/mybalancedlife/mywellbeing/details/nav_deselect.jpg)';
		imageElement.style.color='#1F677E';
	}
}

function hideElement(element)
{
	document.getElementById(element).style.display = "none";
}

function showElement(element)
{
	document.getElementById(element).style.display = "block";
}


