/* [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','40801',jdecode('CLASS+CALENDAR%3A'),jdecode(''),'/40801/index.html','true',[ 
		['PAGE','98734',jdecode('Registration%2C+etc.'),jdecode(''),'/40801/98734.html','false',[],'','']
	],'',''],
	['PAGE','852',jdecode('2-DAY+CLASSES%3A'),jdecode(''),'/852/index.html','true',[ 
		['PAGE','894',jdecode('BODY+ROCK+MASSAGE%3A'),jdecode(''),'/852/894.html','true',[],'',''],
		['PAGE','107145',jdecode('Hot+Serpentine+Stone+Therapy%3A'),jdecode(''),'/852/107145.html','true',[],'',''],
		['PAGE','873',jdecode('MYOKINETIC+THERAPY%3A'),jdecode(''),'/852/873.html','true',[],'',''],
		['PAGE','1020',jdecode('SCALP%2C+FACE%2C+FOREARMS%2C+HANDS%2C+LEGS+%26+FEET%3A'),jdecode(''),'/852/1020.html','true',[],'',''],
		['PAGE','17801',jdecode('DEEP+TISSUE+%2F+Trig+Pt%3A'),jdecode(''),'/852/17801.html','true',[],'',''],
		['PAGE','1041',jdecode('SIDELYING'),jdecode(''),'/852/1041.html','false',[],'',''],
		['PAGE','93634',jdecode('BODY+DRUMMING%3A'),jdecode(''),'/852/93634.html','true',[],'','']
	],'',''],
	['PAGE','79701',jdecode('4-HOUR+CLASSES%3A'),jdecode(''),'/79701/index.html','false',[ 
		['PAGE','79743',jdecode('Abdomen%2C+Diaphragm%2C+etc.'),jdecode(''),'/79701/79743.html','true',[],'',''],
		['PAGE','79722',jdecode('Body+Drumming+%26+Massage'),jdecode(''),'/79701/79722.html','true',[],'',''],
		['PAGE','79785',jdecode('Body+Rocking+%26+Compressions'),jdecode(''),'/79701/79785.html','true',[],'',''],
		['PAGE','79764',jdecode('Event+Sports+Massage'),jdecode(''),'/79701/79764.html','true',[],'','']
	],'',''],
	['PAGE','79806',jdecode('1-DAY+CLASSES%3A'),jdecode(''),'/79806/index.html','true',[ 
		['PAGE','999',jdecode('Positional+Release...'),jdecode(''),'/79806/999.html','true',[],'',''],
		['PAGE','60622',jdecode('Therapeutic+Self-Care%3A'),jdecode(''),'/79806/60622.html','true',[],'',''],
		['PAGE','936',jdecode('Therapeutic+Stretching%2C+Traction+%26+Massage'),jdecode(''),'/79806/936.html','true',[],'',''],
		['PAGE','105045',jdecode('Body+Drumming%3A+%22Shake%2C+Rock+%26+Roll%22%3A'),jdecode(''),'/79806/105045.html','true',[],'',''],
		['PAGE','93734',jdecode('Massage+Tools%3A'),jdecode(''),'/79806/93734.html','false',[],'',''],
		['PAGE','1062',jdecode('Onsite+Chair+Massage'),jdecode(''),'/79806/1062.html','false',[],'',''],
		['PAGE','54801',jdecode('Thumper+%26+Hot+Magnassage'),jdecode(''),'/79806/54801.html','false',[],'','']
	],'',''],
	['PAGE','106345',jdecode('TROPICAL+HEALING+in+Hawaii'),jdecode(''),'/106345.html','true',[],'',''],
	['PAGE','60601',jdecode('FREE+CLASSES%3A'),jdecode(''),'/60601/index.html','false',[ 
		['PAGE','978',jdecode('Asses.+%26+Kinesiology'),jdecode(''),'/60601/978.html','true',[],'','']
	],'',''],
	['PAGE','81801',jdecode('EUGENE+CLASS%3A'),jdecode(''),'/81801.html','false',[],'',''],
	['PAGE','90601',jdecode('HAWAII+CLASS%3A'),jdecode(''),'/90601.html','false',[],'',''],
	['PAGE','70201',jdecode('MASSAGE+PRICES%2C+etc%3A'),jdecode(''),'/70201.html','true',[],'',''],
	['PAGE','19201',jdecode('PURCHASE+BODYROCKS%3A%3A'),jdecode(''),'/19201.html','true',[],'',''],
	['PAGE','35301',jdecode('BODY+ROCK+PHOTOS%3A'),jdecode(''),'/35301.html','true',[],'',''],
	['PAGE','33701',jdecode('images+'),jdecode(''),'/33701.html','false',[],'',''],
	['PAGE','23701',jdecode('REGISTRATION%2C+etc.'),jdecode(''),'/23701/index.html','false',[ 
		['PAGE','24101',jdecode('About+us+%28follow+up+page%29'),jdecode(''),'/23701/24101.html','false',[],'','']
	],'',''],
	['PAGE','1146',jdecode('TESTIMONIALS%3A'),jdecode(''),'/1146/index.html','true',[ 
		['PAGE','1167',jdecode('Students%3A'),jdecode(''),'/1146/1167.html','true',[],'',''],
		['PAGE','1188',jdecode('Clients%3A'),jdecode(''),'/1146/1188.html','true',[],'','']
	],'',''],
	['PAGE','93834',jdecode('ALL+OTHER+INFO%3A'),jdecode(''),'/93834/index.html','true',[ 
		['PAGE','3101',jdecode('Class+Locations%2C+Info%2C+etc.'),jdecode(''),'/93834/3101.html','true',[],'',''],
		['PAGE','80101',jdecode('Easy+Directions%3A'),jdecode(''),'/93834/80101.html','true',[],'',''],
		['PAGE','15501',jdecode('Map+%26+Easy+Directions%3A'),jdecode(''),'/93834/15501.html','true',[],'',''],
		['PAGE','85101',jdecode('Easy+Directions%3A'),jdecode(''),'/93834/85101.html','true',[],'',''],
		['PAGE','42101',jdecode('Accommodations%3A'),jdecode(''),'/93834/42101.html','true',[],'',''],
		['PAGE','801',jdecode('Robert+Sirch%26%23x27%3Bs+bio'),jdecode(''),'/93834/801.html','true',[],'',''],
		['PAGE','97534',jdecode('CLASS+DISCOUNTS%3A'),jdecode(''),'/93834/97534.html','true',[],'',''],
		['PAGE','109845',jdecode('Cancellation+Policies%3A'),jdecode(''),'/93834/109845.html','true',[],'',''],
		['PAGE','99234',jdecode('OBMT+%26+NCBTMB'),jdecode(''),'/93834/99234.html','true',[],'',''],
		['PAGE','52101',jdecode('Copyright+Notice++%C2%A9%3A+'),jdecode(''),'/93834/52101.html','true',[],'','']
	],'',''],
	['PAGE','1209',jdecode('REGISTRATION+%2F+PAYMENT'),jdecode(''),'/1209.html','true',[],'','']];
var siteelementCount=49;
theSitetree.topTemplateName='Dispose';
theSitetree.paletteFamily='BD64DE';
theSitetree.keyvisualId='9696';
theSitetree.keyvisualName='kv_9696.gif';
theSitetree.fontsetId='10659';
theSitetree.graphicsetId='11187';
theSitetree.contentColor='80309E';
theSitetree.contentBGColor='CCCACA';
var localeDef={
  language: 'en',
  country: 'US'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Dispose',
				paletteFamily: 	'BD64DE',
				keyvisualId: 	'9696',
				keyvisualName: 	'kv_9696.gif',
				fontsetId: 		'10659',
				graphicsetId: 	'11187',
				contentColor: 	'80309E',
				contentBGColor: 'CCCACA',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '15501',
internalId:  'location',
customField: 'language:en;country:US;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '79785',
internalId:  '',
customField: '20091217-112640'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '79806',
internalId:  '',
customField: '20100622-143151'
};
webappMappings['7060']=webappMappings['7060-d8054ee5d67b06d2f15acb5c7bbd3f6c']={
webappId:    '7060',
documentId:  '33701',
internalId:  'd8054ee5d67b06d2f15acb5c7bbd3f6c',
customField: 'language:en;country:US;'
};
webappMappings['7060']=webappMappings['7060-a3c185d4a49fad4a75786721af030911']={
webappId:    '7060',
documentId:  '35301',
internalId:  'a3c185d4a49fad4a75786721af030911',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '801',
internalId:  '',
customField: '20080724-122701'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40801',
internalId:  '',
customField: '20100803-180851'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '852',
internalId:  '',
customField: '20100518-163226'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '873',
internalId:  '',
customField: '20100703-170606'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '894',
internalId:  '',
customField: '20100729-134536'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1020',
internalId:  '',
customField: '20100622-141224'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17801',
internalId:  '',
customField: '20100622-141347'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '936',
internalId:  '',
customField: '20100622-142512'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '999',
internalId:  '',
customField: '20100622-141838'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1041',
internalId:  '',
customField: '20090616-091834'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1062',
internalId:  '',
customField: '20090127-141901'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '60601',
internalId:  '',
customField: '20090906-125846'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '79701',
internalId:  '',
customField: '20090617-110144'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '978',
internalId:  '',
customField: '20090224-115453'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '79722',
internalId:  '',
customField: '20100313-155553'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '54801',
internalId:  '',
customField: '20100313-171102'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '60622',
internalId:  '',
customField: '20100622-142139'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1146',
internalId:  '',
customField: '20100803-174623'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1188',
internalId:  '',
customField: '20100226-144708'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1167',
internalId:  '',
customField: '20100723-170613'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1209',
internalId:  '',
customField: '20100315-194142'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3101',
internalId:  '',
customField: '20100313-213718'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15501',
internalId:  '',
customField: '20060214-215521'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19201',
internalId:  '',
customField: '20100624-220956'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '35301',
internalId:  '',
customField: '20100803-174758'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '33701',
internalId:  '',
customField: '20080624-151747'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42101',
internalId:  '',
customField: '20090331-092643'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '52101',
internalId:  '',
customField: '20080630-114349'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23701',
internalId:  '',
customField: '20100314-131620'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24101',
internalId:  '',
customField: '20061207-091010'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '79743',
internalId:  '',
customField: '20100313-174615'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '93834',
internalId:  '',
customField: '20100625-212624'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '79764',
internalId:  '',
customField: '20091217-112718'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '70201',
internalId:  '',
customField: '20100625-212347'
};
webappMappings['7008']=webappMappings['7008-609']={
webappId:    '7008',
documentId:  '23701',
internalId:  '609',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '80101',
internalId:  '',
customField: '20090701-103940'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '81801',
internalId:  '',
customField: '20100313-174510'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '85101',
internalId:  '',
customField: '20090701-104012'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '90601',
internalId:  '',
customField: '20100729-134412'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '93634',
internalId:  '',
customField: '20100703-170631'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '93734',
internalId:  '',
customField: '20100313-173721'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '97534',
internalId:  '',
customField: '20100315-194410'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '98734',
internalId:  '',
customField: '20100315-194654'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '99234',
internalId:  '',
customField: '20100315-195947'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '105045',
internalId:  '',
customField: '20100703-170655'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '107145',
internalId:  '',
customField: '20100624-165003'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '106345',
internalId:  '',
customField: '20100803-210111'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '109845',
internalId:  '',
customField: '20100625-211812'
};
var canonHostname = 'wscwrk02.ehost-services.com';
var accountId     = 'ALAAF0IN269M';
var companyName   = 'SIRCHLIGHT+MASSAGE+EDUCATION';
var htmlTitle	  = 'RobertSirch.com';
var metaKeywords  = 'BodyRocks%2C+Bodyrock+massage%2C+Tropical+Healing%2C++Greenstone+Massage%2C+robert+sirch%2C+Robert+Sirch%2C+robert+sirch+LMT%2C+sirchlight+massage+education%2C+sirch%2C++myokinetic+therapy%2C++body+rock+massage%2C+serpentine+stone+massage%2C+therapeutic+stretching%2C+event+sports+massage%2C+kinesiology%2C+positional+release%2C+sidelying+massage%2C+sports+massage%2C+scalp%2C+face++ear+massage%2C+thumper-magnassage%2C+onsite+chair+massage%2C+myofascial+therapy%2C+soft+tissue+release%2C+neurokinetic+therapy%2C+energy+work%2C+reiki%2C+deep+tissue%2C+trigger+point+therapy%2C+physical+therapy%2C+acupuncture%2C+chiropractic%2C+osteopathics%2C+relaxation%2C+swedish+massage%2C+stone+massage%2C+hot+stone+therapy.++relaxation%3B+massage+classes%3B+massage+continuing+education%2C+NCBTMB%3B+http%3A%2F%2Fwww.robertsirch.com++++sirchlight+education%2C+sirch%2C+Portland+Massage+Classes%2C+Continuing+Education+Classes%2C+body+rocks%2C+OREGON+SCHOOL+OF+MASSAGE%2C+EAST+WEST+COLLEGE+OF+MASSAGE%2C+EAST+WEST%2C+CE+CLASSES%2C+CE%2C+Body+Stones%2C+AMTA%2C+OMTA%2C+Oregon+Board+of+Massage%2C+greenstonemassage.com%2C+Breath+Enrichment+Therapy%2C+BodyRocks.com%2C';
var metaContents  = 'Robert+Sirch+is+the+originator+of+BodyRock+Massage+%281992%29+aka+Hot+Serpentine+Stone+Therapy%2C+Myokinetic+Therapy%2C+Body+Drumming%2C+Tropical+Healing%2C+as+well+as+Breath+Enrichment+Therapy.+He+provides+various+CE+classes+in+massage+therapy+for+Licensed+Massage+Therapists+and+other+Health+Care+Practitioners...+';
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();
};
