/* [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','185248',jdecode('Sacred+Offerings'),jdecode(''),'/185248/index.html','true',[ 
		['PAGE','185648',jdecode('Veronica'),jdecode(''),'/185248/185648.html','true',[],'','']
	],'',''],
	['PAGE','124112',jdecode('Sessions'),jdecode(''),'/124112/index.html','true',[ 
		['PAGE','181428',jdecode('Readings'),jdecode(''),'/124112/181428.html','true',[],'',''],
		['PAGE','1694',jdecode('What+are+the+Akashic+Records%3F'),jdecode(''),'/124112/1694.html','false',[],'',''],
		['PAGE','78954',jdecode('Mentoring'),jdecode(''),'/124112/78954.html','true',[],'',''],
		['PAGE','78912',jdecode('What+is+a+Spiritual+Evolution%3F'),jdecode(''),'/124112/78912.html','false',[],'',''],
		['PAGE','134012',jdecode('Sacred+Dance'),jdecode(''),'/124112/134012.html','false',[],'',''],
		['PAGE','134033',jdecode('What+is+Sacred+Dance%3F'),jdecode(''),'/124112/134033.html','false',[],'',''],
		['PAGE','134054',jdecode('Your+Sacred+Dance+Session'),jdecode(''),'/124112/134054.html','false',[],'',''],
		['PAGE','9622',jdecode('Appointments'),jdecode(''),'/124112/9622.html','true',[],'',''],
		['PAGE','137212',jdecode('Payment+Plans'),jdecode(''),'/124112/137212.html','false',[],'',''],
		['PAGE','153312',jdecode('Appointment+Request'),jdecode(''),'/124112/153312.html','false',[],'',''],
		['PAGE','9601',jdecode('How+to+Prepare+'),jdecode(''),'/124112/9601.html','false',[],'','']
	],'',''],
	['PAGE','174628',jdecode('Speaking'),jdecode(''),'/174628/index.html','true',[ 
		['PAGE','93812',jdecode('Tele-Conferences'),jdecode(''),'/174628/93812.html','true',[],'',''],
		['PAGE','94112',jdecode('Engagements'),jdecode(''),'/174628/94112.html','true',[],'',''],
		['PAGE','174670',jdecode('Scheduling'),jdecode(''),'/174628/174670.html','true',[],'','']
	],'',''],
	['PAGE','124712',jdecode('Store'),jdecode(''),'/124712/index.html','true',[ 
		['PAGE','164628',jdecode('Order+Confirmation'),jdecode(''),'/124712/164628.html','false',[],'','']
	],'',''],
	['PAGE','97412',jdecode('Complimentary'),jdecode(''),'/97412/index.html','true',[ 
		['PAGE','185048',jdecode('Articles'),jdecode(''),'/97412/185048.html','true',[],'',''],
		['PAGE','185069',jdecode('Audios'),jdecode(''),'/97412/185069.html','true',[],'',''],
		['PAGE','185090',jdecode('Videos'),jdecode(''),'/97412/185090.html','true',[],'','']
	],'',''],
	['ITEM','187458',jdecode('Calendar'),jdecode(''),'http://www.sacred-offerings.com/calendar','true',[],'','_blank'],
	['PAGE','1799',jdecode('Contact'),jdecode(''),'/1799.html','true',[],'',''],
	['PAGE','6585',jdecode('Testimonials'),jdecode(''),'/6585/index.html','false',[ 
		['PAGE','134075',jdecode('Sacred+Dance+Testimonials'),jdecode(''),'/6585/134075.html','false',[],'',''],
		['PAGE','34254',jdecode('Class+Testimonials'),jdecode(''),'/6585/34254.html','false',[],'','']
	],'',''],
	['PAGE','174691',jdecode('Resources'),jdecode(''),'/174691/index.html','false',[ 
		['PAGE','73412',jdecode('Professionals'),jdecode(''),'/174691/73412.html','true',[],'',''],
		['PAGE','131112',jdecode('Books'),jdecode(''),'/174691/131112.html','true',[],'',''],
		['PAGE','174712',jdecode('Websites'),jdecode(''),'/174691/174712.html','true',[],'','']
	],'',''],
	['PAGE','158812',jdecode('Search'),jdecode(''),'/158812.html','false',[],'',''],
	['PAGE','116212',jdecode('Donate'),jdecode(''),'/116212/index.html','false',[ 
		['PAGE','165928',jdecode('Donation+Thank+You'),jdecode(''),'/116212/165928.html','false',[],'','']
	],'',''],
	['PAGE','74412',jdecode('OLD+Newsletter'),jdecode(''),'/74412/index.html','false',[ 
		['PAGE','148512',jdecode('Free+CD+with+Newsletter'),jdecode(''),'/74412/148512.html','false',[],'',''],
		['PAGE','178728',jdecode('Neutrality'),jdecode(''),'/74412/178728.html','true',[],'',''],
		['PAGE','178128',jdecode('Expanding+Consciousness'),jdecode(''),'/74412/178128.html','true',[],'',''],
		['PAGE','172928',jdecode('Love+and+Gratitude'),jdecode(''),'/74412/172928.html','true',[],'',''],
		['PAGE','168928',jdecode('Our+Life%26%23x27%3Bs+Purpose'),jdecode(''),'/74412/168928.html','true',[],'',''],
		['PAGE','156212',jdecode('Living+Life+Fearlessly'),jdecode(''),'/74412/156212.html','true',[],'',''],
		['PAGE','114833',jdecode('Becoming+IT'),jdecode(''),'/74412/114833.html','true',[],'',''],
		['PAGE','113612',jdecode('Accepting+Your+Power'),jdecode(''),'/74412/113612.html','true',[],'',''],
		['PAGE','129233',jdecode('2008+Archives+'),jdecode(''),'/74412/129233.html','true',[],'',''],
		['PAGE','100712',jdecode('Into+the+Darkness'),jdecode(''),'/74412/100712.html','false',[],'',''],
		['PAGE','99033',jdecode('Creating+Happy+Holidays'),jdecode(''),'/74412/99033.html','false',[],'',''],
		['PAGE','97433',jdecode('Allowing+Change'),jdecode(''),'/74412/97433.html','false',[],'',''],
		['PAGE','95212',jdecode('Gentleness%2C+Love+%26+Support'),jdecode(''),'/74412/95212.html','false',[],'',''],
		['PAGE','87612',jdecode('Decisions%2C+Decisions'),jdecode(''),'/74412/87612.html','false',[],'',''],
		['PAGE','77812',jdecode('Freedom+from+Form'),jdecode(''),'/74412/77812.html','false',[],'',''],
		['PAGE','76812',jdecode('Insights+on+Doing+Nothing'),jdecode(''),'/74412/76812.html','false',[],'',''],
		['PAGE','121212',jdecode('Healers+Needing+Support'),jdecode(''),'/74412/121212.html','false',[],'','']
	],'',''],
	['PAGE','192658',jdecode('Glossary'),jdecode(''),'/192658.html','false',[],'','']];
var siteelementCount=55;
theSitetree.topTemplateName='Vienna';
theSitetree.paletteFamily='DCCC9F';
theSitetree.keyvisualId='11875';
theSitetree.keyvisualName='kv_11875.jpg';
theSitetree.fontsetId='33189';
theSitetree.graphicsetId='14089';
theSitetree.contentColor='696146';
theSitetree.contentBGColor='fbeec7';
var localeDef={
  language: 'en',
  country: 'US'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Vienna',
				paletteFamily: 	'DCCC9F',
				keyvisualId: 	'11875',
				keyvisualName: 	'kv_11875.jpg',
				fontsetId: 		'33189',
				graphicsetId: 	'14089',
				contentColor: 	'696146',
				contentBGColor: 'fbeec7',
				a_color: 		'FBEFC9',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Tahoma',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '185248',
internalId:  '',
customField: '20100410-154507'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '73412',
internalId:  '',
customField: '20100410-171425'
};
webappMappings['7050']=webappMappings['7050-743']={
webappId:    '7050',
documentId:  '185090',
internalId:  '743',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '94112',
internalId:  '',
customField: '20090429-123631'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1652',
internalId:  '',
customField: '20091021-151701'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1694',
internalId:  '',
customField: '20090213-231326'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '185069',
internalId:  '',
customField: '20100413-125737'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '185090',
internalId:  '',
customField: '20100413-133347'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '121212',
internalId:  '',
customField: '20090204-232733'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '131112',
internalId:  '',
customField: '20090211-194114'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '78912',
internalId:  '',
customField: '20090213-233705'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '181428',
internalId:  '',
customField: '20100330-142139'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '78954',
internalId:  '',
customField: '20100401-005825'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9622',
internalId:  '',
customField: '20100401-010630'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9601',
internalId:  '',
customField: '20100330-235105'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '93812',
internalId:  '',
customField: '20100410-163952'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '172928',
internalId:  '',
customField: '20090424-005114'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '185048',
internalId:  '',
customField: '20100413-135934'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '192658',
internalId:  '',
customField: '20100417-175933'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6585',
internalId:  '',
customField: '20100410-170205'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '168928',
internalId:  '',
customField: '20090401-175147'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '34254',
internalId:  '',
customField: '20100410-163818'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '74412',
internalId:  '',
customField: '20090913-165507'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '100712',
internalId:  '',
customField: '20090305-133700'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '99033',
internalId:  '',
customField: '20081119-233947'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '97433',
internalId:  '',
customField: '20081106-160421'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '95212',
internalId:  '',
customField: '20081106-145050'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '87612',
internalId:  '',
customField: '20090305-133818'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '77812',
internalId:  '',
customField: '20090213-135219'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '76812',
internalId:  '',
customField: '20080613-195010'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '134012',
internalId:  '',
customField: '20090427-134758'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '97412',
internalId:  '',
customField: '20100413-140532'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1799',
internalId:  '',
customField: '20100401-000234'
};
webappMappings['7008']=webappMappings['7008-2124']={
webappId:    '7008',
documentId:  '74412',
internalId:  '2124',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '134033',
internalId:  '',
customField: '20090213-233119'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '124712',
internalId:  '',
customField: '20100401-011554'
};
webappMappings['7008']=webappMappings['7008-2125']={
webappId:    '7008',
documentId:  '1799',
internalId:  '2125',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '124112',
internalId:  '',
customField: '20100330-010201'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '113612',
internalId:  '',
customField: '20090305-134018'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '114833',
internalId:  '',
customField: '20090114-142438'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '129233',
internalId:  '',
customField: '20090305-133518'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '116212',
internalId:  '',
customField: '20090307-111856'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '174628',
internalId:  '',
customField: '20100410-163952'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '134075',
internalId:  '',
customField: '20090213-233438'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '134054',
internalId:  '',
customField: '20090213-233258'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '137212',
internalId:  '',
customField: '20100410-185010'
};
webappMappings['7008']=webappMappings['7008-4413']={
webappId:    '7008',
documentId:  '148512',
internalId:  '4413',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '148512',
internalId:  '',
customField: '20090429-115048'
};
webappMappings['7008']=webappMappings['7008-4480']={
webappId:    '7008',
documentId:  '153312',
internalId:  '4480',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '153312',
internalId:  '',
customField: '20090226-213153'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '156212',
internalId:  '',
customField: '20090221-162029'
};
webappMappings['8002']=webappMappings['8002-search']={
webappId:    '8002',
documentId:  '158812',
internalId:  'search',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '158812',
internalId:  '',
customField: '20090226-183139'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '164628',
internalId:  '',
customField: '20090305-144114'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '165928',
internalId:  '',
customField: '20090305-144429'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '174670',
internalId:  '',
customField: '20090429-125229'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '185648',
internalId:  '',
customField: '20100410-162313'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '174691',
internalId:  '',
customField: '20090429-130309'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '174712',
internalId:  '',
customField: '20100410-173358'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '178128',
internalId:  '',
customField: '20090527-234944'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '178728',
internalId:  '',
customField: '20090623-154836'
};
var canonHostname = 'diywk00.verio.stngva01.us.diy-servers.net';
var accountId     = 'AVEC10INEQL2';
var companyName   = 'SACRED+OFFERINGS';
var htmlTitle	  = 'Sacred+Offerings';
var metaKeywords  = '';
var metaContents  = '';
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();
};
