/* [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','13601',jdecode('Current+Services'),jdecode(''),'/13601.html','true',[],'',''],
	['PAGE','54801',jdecode('How+We+Work'),jdecode(''),'/54801/index.html','true',[ 
		['PAGE','300423',jdecode('Director%26%23x27%3Bs+c.v.'),jdecode(''),'/54801/300423.html','true',[],'','']
	],'',''],
	['PAGE','10701',jdecode('IRS+Qualifying+CPE'),jdecode(''),'/10701/index.html','true',[ 
		['PAGE','11001',jdecode('Estate+Planning'),jdecode(''),'/10701/11001.html','true',[],'',''],
		['PAGE','11022',jdecode('Pension+%26+Benefits'),jdecode(''),'/10701/11022.html','true',[],'',''],
		['PAGE','11901',jdecode('Federal+Taxation'),jdecode(''),'/10701/11901.html','true',[],'',''],
		['PAGE','33501',jdecode('U.S.+International+Taxation'),jdecode(''),'/10701/33501.html','true',[],'','']
	],'',''],
	['PAGE','150812',jdecode('IRS+Enrolled+Agent+Exam'),jdecode(''),'/150812.html','true',[],'',''],
	['PAGE','225123',jdecode('Forensic+Analysis'),jdecode(''),'/225123/index.html','true',[ 
		['PAGE','225423',jdecode('Fraudulent+Financial+Reporting'),jdecode(''),'/225123/225423.html','true',[],'',''],
		['PAGE','225623',jdecode('Reconstructing+Income'),jdecode(''),'/225123/225623.html','true',[],'',''],
		['PAGE','226023',jdecode('Employee+Fraud'),jdecode(''),'/225123/226023.html','true',[],'',''],
		['PAGE','226723',jdecode('Cybercrime+Management'),jdecode(''),'/225123/226723.html','true',[],'',''],
		['PAGE','227523',jdecode('Cybercrime+Loss+Valuations'),jdecode(''),'/225123/227523.html','true',[],'',''],
		['PAGE','226923',jdecode('Money+Laundering'),jdecode(''),'/225123/226923.html','true',[],'','']
	],'',''],
	['PAGE','9122',jdecode('Certification+Tax+Laws'),jdecode(''),'/9122/index.html','true',[ 
		['PAGE','69901',jdecode('Federal+Taxation'),jdecode(''),'/9122/69901.html','true',[],'',''],
		['PAGE','68701',jdecode('U.S.+International+Taxation'),jdecode(''),'/9122/68701.html','true',[],'',''],
		['PAGE','17301',jdecode('US+Tax+Litigation'),jdecode(''),'/9122/17301.html','true',[],'',''],
		['PAGE','30901',jdecode('PR+China+Tax+Law'),jdecode(''),'/9122/30901.html','true',[],'',''],
		['PAGE','17701',jdecode('Canada+Tax+Law'),jdecode(''),'/9122/17701.html','true',[],'',''],
		['PAGE','17722',jdecode('Europe+Tax+Laws'),jdecode(''),'/9122/17722.html','true',[],'',''],
		['PAGE','17743',jdecode('Middle+East+Tax+Laws'),jdecode(''),'/9122/17743.html','true',[],'',''],
		['PAGE','17764',jdecode('Mexico+Tax+Law'),jdecode(''),'/9122/17764.html','true',[],'',''],
		['PAGE','17785',jdecode('Asia-Pacific+Tax+Laws'),jdecode(''),'/9122/17785.html','true',[],'',''],
		['PAGE','17806',jdecode('Latin+Amer+Tax+Laws'),jdecode(''),'/9122/17806.html','true',[],'',''],
		['PAGE','17827',jdecode('Carribbean+Tax+Laws'),jdecode(''),'/9122/17827.html','true',[],'',''],
		['PAGE','17848',jdecode('Africa+Tax+Laws'),jdecode(''),'/9122/17848.html','true',[],'','']
	],'',''],
	['PAGE','15201',jdecode('Certification+Bus.+Tax'),jdecode(''),'/15201/index.html','false',[ 
		['PAGE','68801',jdecode('Federal+Taxation'),jdecode(''),'/15201/68801.html','true',[],'',''],
		['PAGE','106812',jdecode('Entertainment+Taxation'),jdecode(''),'/15201/106812.html','true',[],'',''],
		['PAGE','127512',jdecode('Casino+Tax+Program'),jdecode(''),'/15201/127512.html','true',[],'',''],
		['PAGE','17869',jdecode('PR+China+Tax+%26+Invest'),jdecode(''),'/15201/17869.html','true',[],'',''],
		['PAGE','17890',jdecode('Canada+Tax+%26+Invest'),jdecode(''),'/15201/17890.html','true',[],'',''],
		['PAGE','17911',jdecode('Middle+East+Tax+%26+Invest'),jdecode(''),'/15201/17911.html','true',[],'',''],
		['PAGE','17932',jdecode('Carribbean+Tax+%26+Invest'),jdecode(''),'/15201/17932.html','true',[],'',''],
		['PAGE','55901',jdecode('Joint+Certifications'),jdecode(''),'/15201/55901.html','true',[],'','']
	],'',''],
	['PAGE','193512',jdecode('California+State+Bar+MCLE'),jdecode(''),'/193512/index.html','false',[ 
		['PAGE','197012',jdecode('Taxation'),jdecode(''),'/193512/197012.html','true',[],'',''],
		['PAGE','197033',jdecode('Estate+Plan.%2C+Trust+%26+Probate'),jdecode(''),'/193512/197033.html','true',[],'','']
	],'',''],
	['PAGE','203112',jdecode('The+College+of+Tax+Law'),jdecode(''),'/203112/index.html','false',[ 
		['PAGE','198812',jdecode('JD%2FLLM+%28ABA%29+Bar+Admit'),jdecode(''),'/203112/198812.html','true',[],'',''],
		['PAGE','233123',jdecode('LLM+Forensic+Analysis'),jdecode(''),'/203112/233123.html','true',[],'','']
	],'',''],
	['PAGE','10222',jdecode('US+Tax+Court+Admission'),jdecode(''),'/10222/index.html','true',[ 
		['PAGE','19401',jdecode('USTC+Exam+Prep+%28US%29'),jdecode(''),'/10222/19401.html','true',[],'',''],
		['PAGE','122012',jdecode('USTC+Exam+Prep+%28Foreign%29'),jdecode(''),'/10222/122012.html','true',[],'','']
	],'',''],
	['PAGE','10201',jdecode('US+Tax+Court+Practice'),jdecode(''),'/10201/index.html','true',[ 
		['PAGE','10243',jdecode('Trial+Advocacy'),jdecode(''),'/10201/10243.html','true',[],'','']
	],'',''],
	['PAGE','145412',jdecode('US+District+Court+Practice'),jdecode(''),'/145412.html','true',[],'',''],
	['PAGE','145433',jdecode('Court+of+Fed+Claims+Practice'),jdecode(''),'/145433.html','true',[],'',''],
	['PAGE','296123',jdecode('Upcoming+Tele-Tutorials'),jdecode(''),'/296123.html','true',[],'',''],
	['PAGE','11401',jdecode('LoisLaw+Library'),jdecode(''),'/11401.html','true',[],'',''],
	['PAGE','145512',jdecode('Pro+Se+Assistance'),jdecode(''),'/145512.html','true',[],'',''],
	['PAGE','146812',jdecode('IRS+Offer+in+Compromise'),jdecode(''),'/146812.html','true',[],'',''],
	['PAGE','189212',jdecode('Small+Business+Assistance'),jdecode(''),'/189212/index.html','true',[ 
		['PAGE','190112',jdecode('Starting%2C+Operating+%26+Closing'),jdecode(''),'/189212/190112.html','true',[],'',''],
		['PAGE','190133',jdecode('Employment+Taxes'),jdecode(''),'/189212/190133.html','true',[],'',''],
		['PAGE','190154',jdecode('Independent+Contractors'),jdecode(''),'/189212/190154.html','true',[],'','']
	],'',''],
	['PAGE','6822',jdecode('Tutorial+Staff'),jdecode(''),'/6822.html','false',[],'',''],
	['PAGE','9101',jdecode('Programs+%26+Fees'),jdecode(''),'/9101/index.html','true',[ 
		['PAGE','78612',jdecode('Enrollment+Policy'),jdecode(''),'/9101/78612.html','true',[],'',''],
		['PAGE','78633',jdecode('Requirements'),jdecode(''),'/9101/78633.html','true',[],'',''],
		['PAGE','78654',jdecode('Examinations'),jdecode(''),'/9101/78654.html','true',[],'',''],
		['PAGE','78675',jdecode('Integrity'),jdecode(''),'/9101/78675.html','true',[],'',''],
		['PAGE','78696',jdecode('Deadlines'),jdecode(''),'/9101/78696.html','true',[],'',''],
		['PAGE','78717',jdecode('Leaves+%26+Withdrawals'),jdecode(''),'/9101/78717.html','true',[],'',''],
		['PAGE','78738',jdecode('Review'),jdecode(''),'/9101/78738.html','true',[],'','']
	],'',''],
	['PAGE','117012',jdecode('Financial+Assistance'),jdecode(''),'/117012.html','false',[],'',''],
	['PAGE','37901',jdecode('Online+Enrollment'),jdecode(''),'/37901.html','true',[],'',''],
	['PAGE','61201',jdecode('Job+Search+Advisory'),jdecode(''),'/61201.html','true',[],'',''],
	['PAGE','40301',jdecode('Legal+Notice'),jdecode(''),'/40301.html','true',[],'',''],
	['PAGE','40322',jdecode('Privacy+Statement'),jdecode(''),'/40322.html','true',[],'','']];
var siteelementCount=73;
theSitetree.topTemplateName='Activate';
theSitetree.paletteFamily='1E3A6F';
theSitetree.keyvisualId='2052';
theSitetree.keyvisualName='vertrag.jpg';
theSitetree.fontsetId='339';
theSitetree.graphicsetId='396';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='1E3A6F';
var localeDef={
  language: 'en',
  country: 'US'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Activate',
				paletteFamily: 	'1E3A6F',
				keyvisualId: 	'2052',
				keyvisualName: 	'vertrag.jpg',
				fontsetId: 		'339',
				graphicsetId: 	'396',
				contentColor: 	'FFFFFF',
				contentBGColor: '1E3A6F',
				a_color: 		'1E3A6F',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '190112',
internalId:  '',
customField: '20100108-164202'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '190133',
internalId:  '',
customField: '20100108-164311'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '189212',
internalId:  '',
customField: '20100625-173522'
};
webappMappings['7008']=webappMappings['7008-197']={
webappId:    '7008',
documentId:  '37901',
internalId:  '197',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '190154',
internalId:  '',
customField: '20100108-164443'
};
webappMappings['1501']=webappMappings['1501-3444730']={
webappId:    '1501',
documentId:  '13601',
internalId:  '3444730',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6822',
internalId:  '',
customField: '20100625-172112'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '193512',
internalId:  '',
customField: '20100625-172819'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13601',
internalId:  '',
customField: '20100728-114251'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '197033',
internalId:  '',
customField: '20100108-153719'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '68701',
internalId:  '',
customField: '20100727-163147'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '54801',
internalId:  '',
customField: '20100727-175905'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9122',
internalId:  '',
customField: '20100727-155653'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17301',
internalId:  '',
customField: '20100727-163101'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '30901',
internalId:  '',
customField: '20100728-111454'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17701',
internalId:  '',
customField: '20100727-161849'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17722',
internalId:  '',
customField: '20100727-163417'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17743',
internalId:  '',
customField: '20100728-111615'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17764',
internalId:  '',
customField: '20100728-111840'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17785',
internalId:  '',
customField: '20100728-112027'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17806',
internalId:  '',
customField: '20100728-111158'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17827',
internalId:  '',
customField: '20100728-111232'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17848',
internalId:  '',
customField: '20100728-111311'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15201',
internalId:  '',
customField: '20100625-172728'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17869',
internalId:  '',
customField: '20100108-151216'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17890',
internalId:  '',
customField: '20100108-152910'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17911',
internalId:  '',
customField: '20100108-152953'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17932',
internalId:  '',
customField: '20100108-153059'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '55901',
internalId:  '',
customField: '20100108-153145'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10701',
internalId:  '',
customField: '20100625-172350'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11001',
internalId:  '',
customField: '20100107-230122'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11022',
internalId:  '',
customField: '20100107-230209'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11901',
internalId:  '',
customField: '20100107-230254'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '33501',
internalId:  '',
customField: '20100107-230332'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10201',
internalId:  '',
customField: '20091216-213504'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10222',
internalId:  '',
customField: '20100625-172947'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19401',
internalId:  '',
customField: '20100108-154600'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10243',
internalId:  '',
customField: '20100108-161321'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9101',
internalId:  '',
customField: '20100727-154853'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11401',
internalId:  '',
customField: '20100727-154346'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '37901',
internalId:  '',
customField: '20100726-172155'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '198812',
internalId:  '',
customField: '20100110-090718'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40301',
internalId:  '',
customField: '20100108-183814'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40322',
internalId:  '',
customField: '20100108-184056'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '203112',
internalId:  '',
customField: '20100214-191437'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '61201',
internalId:  '',
customField: '20100108-183454'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '68801',
internalId:  '',
customField: '20100108-150131'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '69901',
internalId:  '',
customField: '20100727-163228'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '78612',
internalId:  '',
customField: '20100726-165153'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '78633',
internalId:  '',
customField: '20100726-170523'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '78654',
internalId:  '',
customField: '20100726-170628'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '78675',
internalId:  '',
customField: '20100726-170806'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '78696',
internalId:  '',
customField: '20100726-171015'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '78717',
internalId:  '',
customField: '20100726-171310'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '78738',
internalId:  '',
customField: '20100726-171421'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '106812',
internalId:  '',
customField: '20100108-150842'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '117012',
internalId:  '',
customField: '20100108-183320'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '122012',
internalId:  '',
customField: '20100104-223817'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '296123',
internalId:  '',
customField: '20100727-193052'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '127512',
internalId:  '',
customField: '20100108-150941'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '145433',
internalId:  '',
customField: '20100108-161845'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '145412',
internalId:  '',
customField: '20100625-173105'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '145512',
internalId:  '',
customField: '20100625-173202'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '146812',
internalId:  '',
customField: '20100625-173407'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '150812',
internalId:  '',
customField: '20100625-172448'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '197012',
internalId:  '',
customField: '20100108-153639'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '300423',
internalId:  '',
customField: '20100728-205649'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '225123',
internalId:  '',
customField: '20100727-155057'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '225623',
internalId:  '',
customField: '20100727-155204'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '225423',
internalId:  '',
customField: '20100727-155126'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '226023',
internalId:  '',
customField: '20100727-155236'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '226723',
internalId:  '',
customField: '20100727-155302'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '226923',
internalId:  '',
customField: '20100727-155404'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '227523',
internalId:  '',
customField: '20100727-155323'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '233123',
internalId:  '',
customField: '20100110-094913'
};
var canonHostname = 'wsc-worker03.chi.us.siteprotect.com';
var accountId     = 'AHW050INVA8A';
var companyName   = 'Tax+Law+Institute%E2%84%A2';
var htmlTitle	  = 'Tax+Law+Institute%E2%84%A2+';
var metaKeywords  = 'affordable+tax+help%3B+all-digital+and+telephonic+tutorials%3B+certification+tax+laws%3B+certification+business+taxation%3B+college+of+tax+law+four-year+joint+online+J.D.+Forensic+Tax+and+Thomas+Jefferson+School+of+Law+LL.M.+International+Tax+or+Wealth+Management-+petition+DC+or+Cal+bar+for+admission%3B+one-year+LL.M.+Forensic+Analysis+for+defense+attorneys%2C+prosecutors%2C+IRS%2C+SEC%2C+FDIC+and+Department+of+Justice+investigators%3B+job+search+advisory%3B+non-attorney+judicial+license+tax+court+practice%3B+all-digital+and+telephonic+one-on-one+tutorials%3B+JD%2FABA-approved+LLM+4-year+program+in+partnership+with+Thomas+Jefferson+School+of+Law%3B+six-month+Certification+in+Forensic+Analysis+Program+for+IRS%2C+DOJ%2C+FDIC%2C+SEC+and+domestic+and+foreign+financial+officers+and+administrators%3B++';
var metaContents  = 'taxpayer+representation%3B+affordable+tax+help+for+small+business%3B+global+tax+research+tax%3B+litigation+support+for+attorneys+forensic+accounting+tutorials+for+attorneys%3B+IRS+approved+continuing+professional+education+for+enrolled+agents%3B+U.S.+Tax+Non-Attorney+Examination+Preparation+Program%3B+Tax+Litigation+tutorials%3B+U.S.+tax+court+pro+se+litigation+assistance%3B+U.S.+Tax+Court+Clinic+-+Pro+Bono+Student+Practice%3B+Certified+Programs+in+Federal+Taxation%3B+Certified+Programs+in+Business+Taxation%3B+Certified+Programs+in+U.S.+and+International+Taxation%3B+Certification+in+Middle+East+Region+Tax+Laws%3B+Certification+in+Europe+Region+Tax+Laws%3B+Certification+in+Asia-Pacific+Region+Tax+Laws%3B+Certification+in+Mexico+Tax+Laws%3B+Certification+in+Canada%3B+Tax+Laws+Certification+in+Africa+Region+Tax+Laws%3B+Certification+in+PR+China+Tax+Laws%3B+IRS+Offer+in+Compromise+Pro+Bono+Services%3B+non-attorney+judicial+license+to+practice+in+U.S.+Tax+Court%3B+fast-track+JD%2FABA-approve+LLM+program+that+prepares+for+state+bar+admission+-+low+cost+-+%248%2C500+per+term%3B+estimated+true+cost+over+four+years+-+%2472%2C000+USD%3B';
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();
};
