/* [nodename, id, name, navigationtext, href, isnavigation, childs[], templatename] */

if (typeof(decodeURIComponent) == 'undefined') {
  decodeURIComponent = function(s) {
    return unescape(s);
  }
}

function jdecode(s) {
    s = s.replace(/\+/g, "%20")
    return decodeURIComponent(s);
}

var POS_NODENAME=0;
var POS_ID=1;
var POS_NAME=2;
var POS_NAVIGATIONTEXT=3;
var POS_HREF=4;
var POS_ISNAVIGATION=5;
var POS_CHILDS=6;
var POS_TEMPLATENAME=7;
var POS_TARGET=8;
var theSitetree=[ 
	['PAGE','4081',jdecode('Home'),jdecode(''),'/4081.html','true',[],'',''],
	['PAGE','7881',jdecode('Services'),jdecode(''),'/7881.html','true',[],'',''],
	['PAGE','20481',jdecode('Our+Team'),jdecode(''),'/20481/index.html','true',[ 
		['PAGE','10881',jdecode('Afsheen+Nehoray%2C+L.Ac.'),jdecode(''),'/20481/10881.html','true',[],'',''],
		['PAGE','10902',jdecode('John+Sherf%2C+D.C.'),jdecode(''),'/20481/10902.html','true',[],'','']
	],'',''],
	['PAGE','7902',jdecode('Online+Center'),jdecode(''),'/7902/index.html','true',[ 
		['PAGE','9581',jdecode('Schedule+Now'),jdecode(''),'/7902/9581.html','true',[],'',''],
		['PAGE','9602',jdecode('Purchase+Now'),jdecode(''),'/7902/9602.html','true',[],'','']
	],'',''],
	['PAGE','7923',jdecode('Health+Blog'),jdecode(''),'/7923.html','true',[],'',''],
	['PAGE','19181',jdecode('Support+Groups'),jdecode(''),'/19181.html','true',[],'',''],
	['PAGE','4132',jdecode('Location'),jdecode(''),'/4132/index.html','true',[ 
		['PAGE','16081',jdecode('Email+Us'),jdecode(''),'/4132/16081.html','true',[],'','']
	],'','']];
var siteelementCount=12;
theSitetree.topTemplateName='Court';
theSitetree.paletteFamily='9D9D9E';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='16445';
theSitetree.graphicsetId='12148';
theSitetree.contentColor='4C4C4C';
theSitetree.contentBGColor='D6D5D5';
var localeDef={
  language: 'en',
  country: 'US'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Court',
				paletteFamily: 	'9D9D9E',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'16445',
				graphicsetId: 	'12148',
				contentColor: 	'4C4C4C',
				contentBGColor: 'D6D5D5',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '4132',
internalId:  'location',
customField: 'language:en;country:US;isIncluded:true;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4081',
internalId:  '',
customField: '20100505-182852'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4132',
internalId:  '',
customField: '20100322-010834'
};
webappMappings['7050']=webappMappings['7050-2290']={
webappId:    '7050',
documentId:  '7923',
internalId:  '2290',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7881',
internalId:  '',
customField: '20100505-135122'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7902',
internalId:  '',
customField: '20100322-004414'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7923',
internalId:  '',
customField: '20100322-012138'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10881',
internalId:  '',
customField: '20100505-183117'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10902',
internalId:  '',
customField: '20100505-183514'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9581',
internalId:  '',
customField: '20100315-190856'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9602',
internalId:  '',
customField: '20100322-004846'
};
webappMappings['5003']=webappMappings['5003-tid:1;pid:WSCSYSSSSLYTC245']={
webappId:    '5003',
documentId:  '4081',
internalId:  'tid:1;pid:WSCSYSSSSLYTC245',
customField: 'en:US::;language:en;country:US;'
};
webappMappings['1501']=webappMappings['1501-6694671']={
webappId:    '1501',
documentId:  '4081',
internalId:  '6694671',
customField: '1501'
};
webappMappings['7008']=webappMappings['7008-7208']={
webappId:    '7008',
documentId:  '16081',
internalId:  '7208',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16081',
internalId:  '',
customField: '20100322-011808'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19181',
internalId:  '',
customField: '20100503-131544'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20481',
internalId:  '',
customField: '20100505-142334'
};
var canonHostname = 'wsc-worker01.chi.us.siteprotect.com';
var accountId     = 'AHW050INZJOS';
var companyName   = 'Health+Within';
var htmlTitle	  = 'Health+Within';
var metaKeywords  = 'Health+Within+Whole+Being+Acu-Release+Acupuncture+Chiropractic+Biomeridian+Testing+Nuerofeedback+Massage+TherapyLos+Angeles%2C+Ca.';
var metaContents  = 'At+Health+Within%2C+we+understand+that+not+all+therapies+are+appropriate+for+everyone+all+the+time.+Sometimes+we+may+need+acupuncture%2C+sometimes+neurofeedback+will+be+more+effective+for+what+we+are+working+to+overcome.+Sometimes+well+need+both.+Our+practitioners+are+all+familiar+with+the+different+modalities+we+offer+and+we+work+together+to+bring+you%2C+our+client%2C+to+a+place+of+greater+harmony+in+your+body+and+mind.++Our+Services+At+YogiMind++Body%2C+we+understand+that+not+all+therapies+are+appropriate+for+everyone+all+the+time.+Sometimes+we+may+need+acupuncture%2C+sometimes+neurofeedback+will+be+more+effective+for+what+we+are+working+to+overcome.+Sometimes+well+need+both.+Our+practitioners+are+all+familiar+with+the+different+modalities+we+offer+and+we+work+together+to+bring+you%2C+our+client%2C+to+a+place+of+greater+harmony+in+your+body+and+mind.+Click+on+the+links+below+to+learn+more+about+our+practitioners+and+the+modalities+they+practice%3A++++++++++++Dr.+Afsheen+Nehoray%2C+L.Ac.Licensed+AcupuncturistDr.+Ian+MussmanBrandi+Bennitt+YogiMind+NeurofeedbackBruce+Hansen%2C+M.S.+YogiMind+Kelly+Cohen+YogiMindShalini+Bagdasarian+Divine+Reconnective+HealingDr.+Shannon+Watson+Biographies+and+Modalities++Dr.+Afsheen+Nehoray%2C+L.Ac.Afsheen+Nehoray%2C+L.Ac.%2C+offers+his+clients+specialized+expertise+in+acupuncture+and+Chinese+medicine+and+caring+for+the+mind%2C+body+and+emotions.+Through+Health+Within%2C+Nehoray+examines+the+root+of+a+patients+symptoms+and+uses+acupuncture+and+Chinese+medicine+to+treat+the+underlying+problem%2C+rather+than+suppress+the+symptoms.+Nehorays+staff+support+his+vision+of+a+healing+center+that+provides+a+tranquil+setting%2C+where+each+patient+is+treated+as+a+whole+person%2C+and+receives+the+time+and+attention+needed+to+complete+the+healing+process.Using+a+combination+of+Japanese+and+Chinese+acupuncture+techniques%2C+Nehoray+has+helped+his+patients+improve+their+health%2C+alleviate+pain+and+find+natural+effective+relief.+Harmony+is+restored+to+the+body+and+mind+with+these+practices+that+have+been+proven+over+many+centuries.For+people+of+all+ages+-+from+children+to+seniors+--+Health+Within+offers+treatment+for%3ABack%2C+neck+and+shoulder+pain+Female-related+problems%2C+including+infections%2C+PMS+and+menopause+Colds%2C+flu+and+allergies+Digestive+disorders+Mood+and+emotion+management+Nutrition+planning+Nehoray+graduated+with+a+Master+of+Oriental+Medicine+from+Emperors+College+in+1991+and+was+awarded+a+Diplomat+in+Acupuncture+by+the+National+Commission+for+the+Certification+of+Acupuncturists%2C+in+1992.+In+addition+to+his+university+training%2C+he+studied+specialty+topics+with+experts+in+the+field.+These+studies+include%3A+Japanese+acupuncture+techniques+with+Kiko+Matsumoto%3B+pediatric+acupuncture+with+Miki+Shima%3B+gynecological+problems+with+Dr.+Jian-Fu+Jiang%3B+and+Chinese+internal+medicine%2C+including+digestive+problems+and+organ+complications%2C+with+Dr.+Jian+Lin+Wang.+Nehoray+is+certified+and+licensed+by+the+State+of+California+and+began+his+practice+in+1991.In+addition+to+meeting+privately+with+clients%2C+Nehoray+lectures+regularly+on+the+connection+between+the+mind%2C+body%2C+emotions+and+Oriental+medicine.+';
theSitetree.getById = function(id, ar) {
	if (typeof(ar) == 'undefined'){
		ar = this;
	}
	for (var i=0; i < ar.length; i++) {
		if (ar[i][POS_ID] == id){
			return ar[i];
		}
		if (ar[i][POS_CHILDS].length > 0) {
			var result=this.getById(id, ar[i][POS_CHILDS]);
			if (result != null){
				return result;
			}
		}
	}
	return null;
};

theSitetree.getParentById = function(id, ar) {
	if (typeof(ar) == 'undefined'){
		ar = this;
	}
	for (var i=0; i < ar.length; i++) {
		for (var j = 0; j < ar[i][POS_CHILDS].length; j++) {
			if (ar[i][POS_CHILDS][j][POS_ID] == id) {
				// child found
				return ar[i];
			}
			var result=this.getParentById(id, ar[i][POS_CHILDS]);
			if (result != null){
				return result;
			}
		}
	}
	return null;
};

theSitetree.getName = function(id) {
	var elem = this.getById(id);
	if (elem != null){
		return elem[POS_NAME];
	}
	return null;
};

theSitetree.getNavigationText = function(id) {
	var elem = this.getById(id);
	if (elem != null){
		return elem[POS_NAVIGATIONTEXT];
	}
	return null;
};

theSitetree.getHREF = function(id) {
	var elem = this.getById(id);
	if (elem != null){
		return elem[POS_HREF];
	}
	return null;
};

theSitetree.getIsNavigation = function(id) {
	var elem = this.getById(id);
	if (elem != null){
		return elem[POS_ISNAVIGATION];
	}
	return null;
};

theSitetree.getTemplateName = function(id, lastTemplateName, ar) {
	if (typeof(lastTemplateName) == 'undefined'){
		lastTemplateName = this.topTemplateName;
	}
	if (typeof(ar) == 'undefined'){
		ar = this;
	}
	for (var i=0; i < ar.length; i++) {
		var actTemplateName = ar[i][POS_TEMPLATENAME];
		if (actTemplateName == ''){
			actTemplateName = lastTemplateName;
		}
		if (ar[i][POS_ID] == id) {
			return actTemplateName;
		}
		if (ar[i][POS_CHILDS].length > 0) {
			var result=this.getTemplateName(id, actTemplateName, ar[i][POS_CHILDS]);
			if (result != null){
				return result;
			}
		}
	}
	return null;
};

theSitetree.getByXx = function(lookup, xx, ar) {
    if (typeof(ar) == 'undefined'){
    	ar = this;
    }
    for (var i=0; i < ar.length; i++) {
        if (ar[i][xx] == lookup){
        	return ar[i];
        }
        if (ar[i][POS_CHILDS].length > 0) {
        	var result=this.getByXx(lookup, xx, ar[i][POS_CHILDS]);
            if (result != null){
                return result;
               }
        }
    }
    return null;
};

function gotoPage(lookup) {
	if(__path_prefix__ == "/servlet/CMServeRES" && typeof (changePage) == 'function'){
		changePage(lookup);
		return;
	}
	var page = theSitetree.getHREF(lookup);
	if (!page) {
		var testFor = [ POS_NAME, POS_NAVIGATIONTEXT ];
		for (var i=0 ; i < testFor.length ; i++) {
			var p = theSitetree.getByXx(lookup, testFor[i]);
			if (p != null) {
				page = p[POS_HREF];
				break;
			}
		}
	}
	document.location.href = (new URL(__path_prefix__ + page, true, true)).toString();
};

