/* [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','75401',jdecode('Stressfreier+Umzug'),jdecode(''),'/75401.html','true',[],'',''],
	['PAGE','49001',jdecode('Voting%3F'),jdecode(''),'/49001.html','true',[],'',''],
	['PAGE','9301',jdecode('AGBs+Allg.+Bedingungen'),jdecode(''),'/9301.html','true',[],'',''],
	['PAGE','15601',jdecode('weitere+Konditionen'),jdecode(''),'/15601.html','true',[],'',''],
	['PAGE','106001',jdecode('Unsere+Einsatzgebiete'),jdecode(''),'/106001.html','true',[],'',''],
	['PAGE','19701',jdecode('Info%3A+Umzugstransporte'),jdecode(''),'/19701.html','true',[],'',''],
	['PAGE','68601',jdecode('Info%3A+Umzugsreinigung'),jdecode(''),'/68601.html','true',[],'',''],
	['PAGE','18301',jdecode('Info%3A+Seniorenumzug'),jdecode(''),'/18301.html','true',[],'',''],
	['PAGE','57501',jdecode('Info%3A+Entr%C3%BCmpelung'),jdecode(''),'/57501.html','true',[],'',''],
	['PAGE','115001',jdecode('R%C3%A4umung%2C+Kellerr%C3%A4umung'),jdecode(''),'/115001.html','true',[],'',''],
	['PAGE','58801',jdecode('Info%3A+Wohnungsaufl%C3%B6sung'),jdecode(''),'/58801.html','true',[],'',''],
	['PAGE','59401',jdecode('Info%3A+Firmenaufl%C3%B6sung'),jdecode(''),'/59401.html','true',[],'',''],
	['PAGE','21201',jdecode('Info%3A+WarenTaxi'),jdecode(''),'/21201.html','true',[],'',''],
	['PAGE','39801',jdecode('Info%3A+M%C3%B6bellager+in+Z%C3%BCrich'),jdecode(''),'/39801.html','true',[],'',''],
	['PAGE','40201',jdecode('Info%3A+M%C3%B6belmontage'),jdecode(''),'/40201.html','true',[],'',''],
	['PAGE','48501',jdecode('Info%3A+M%C3%B6bellift'),jdecode(''),'/48501.html','true',[],'',''],
	['PAGE','43901',jdecode('Info%3A+Relocations'),jdecode(''),'/43901.html','true',[],'',''],
	['PAGE','64901',jdecode('Info%3A+UmzugsShop'),jdecode(''),'/64901.html','true',[],'',''],
	['PAGE','44801',jdecode('Info%3A+Auslandsumzug'),jdecode(''),'/44801.html','true',[],'',''],
	['PAGE','101201',jdecode('Info%3A+Checkliste'),jdecode(''),'/101201.html','true',[],'',''],
	['PAGE','15001',jdecode('Preise%3A+Umzug'),jdecode(''),'/15001.html','true',[],'',''],
	['PAGE','70201',jdecode('Preise%3A+Umzugsreinigung'),jdecode(''),'/70201.html','true',[],'',''],
	['PAGE','30501',jdecode('Preise%3A+Umzugskartons'),jdecode(''),'/30501.html','true',[],'',''],
	['PAGE','68622',jdecode('Preise%3A+TOTAL'),jdecode(''),'/68622.html','true',[],'',''],
	['PAGE','47901',jdecode('Anfrage%3A+Umzug'),jdecode(''),'/47901.html','true',[],'',''],
	['PAGE','47922',jdecode('Anfrage%3A+Reinigung'),jdecode(''),'/47922.html','true',[],'',''],
	['PAGE','48543',jdecode('Anfrage%3A+Einlagerung'),jdecode(''),'/48543.html','true',[],'',''],
	['PAGE','56601',jdecode('Anfrage%3A+R%C3%A4umung'),jdecode(''),'/56601.html','true',[],'',''],
	['PAGE','64101',jdecode('Anfrage%3A+WarenTaxi'),jdecode(''),'/64101.html','true',[],'',''],
	['PAGE','65801',jdecode('Anfrage%3A+Klaviertransport'),jdecode(''),'/65801.html','true',[],'',''],
	['PAGE','66701',jdecode('Anfrage%3A+Umzugskarton'),jdecode(''),'/66701.html','true',[],'',''],
	['PAGE','67201',jdecode('Anfrage%3A+TOTAL'),jdecode(''),'/67201.html','true',[],'',''],
	['PAGE','114001',jdecode('Unsere+weitere+Webseiten'),jdecode(''),'/114001.html','true',[],'',''],
	['PAGE','15022',jdecode('Kontakt'),jdecode(''),'/15022/index.html','true',[ 
		['PAGE','25301',jdecode('Kontakt+%28Folgeseite%29'),jdecode(''),'/15022/25301.html','false',[],'','']
	],'','']];
var siteelementCount=35;
theSitetree.topTemplateName='Measure';
theSitetree.paletteFamily='D6C18A';
theSitetree.keyvisualId='3869';
theSitetree.keyvisualName='kv_3869.jpg';
theSitetree.fontsetId='10705';
theSitetree.graphicsetId='11067';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var localeDef={
  language: 'de',
  country: 'CH'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Measure',
				paletteFamily: 	'D6C18A',
				keyvisualId: 	'3869',
				keyvisualName: 	'kv_3869.jpg',
				fontsetId: 		'10705',
				graphicsetId: 	'11067',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'A08A4F',
				e_color: 		'A08A4F',
				f_color: 		'A08A4F',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '75401',
internalId:  '1006',
customField: '1006'
};
webappMappings['7008']=webappMappings['7008-1475']={
webappId:    '7008',
documentId:  '47901',
internalId:  '1475',
customField: 'language:de;country:CH;'
};
webappMappings['7005']=webappMappings['7005-74']={
webappId:    '7005',
documentId:  '49001',
internalId:  '74',
customField: 'language:de;country:CH;'
};
webappMappings['7008']=webappMappings['7008-1476']={
webappId:    '7008',
documentId:  '47922',
internalId:  '1476',
customField: 'language:de;country:CH;'
};
webappMappings['7008']=webappMappings['7008-1477']={
webappId:    '7008',
documentId:  '48543',
internalId:  '1477',
customField: 'language:de;country:CH;'
};
webappMappings['7008']=webappMappings['7008-1478']={
webappId:    '7008',
documentId:  '56601',
internalId:  '1478',
customField: 'language:de;country:CH;'
};
webappMappings['7008']=webappMappings['7008-1479']={
webappId:    '7008',
documentId:  '64101',
internalId:  '1479',
customField: 'language:de;country:CH;'
};
webappMappings['7008']=webappMappings['7008-1480']={
webappId:    '7008',
documentId:  '65801',
internalId:  '1480',
customField: 'language:de;country:CH;'
};
webappMappings['7008']=webappMappings['7008-1481']={
webappId:    '7008',
documentId:  '66701',
internalId:  '1481',
customField: 'language:de;country:CH;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '75401',
internalId:  '',
customField: '20100807-174945'
};
webappMappings['7008']=webappMappings['7008-1474']={
webappId:    '7008',
documentId:  '15022',
internalId:  '1474',
customField: 'language:de;country:CH;'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '25301',
internalId:  '',
customField: 'language:de;country:CH;'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '114001',
internalId:  '',
customField: 'language:de;country:CH;'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '15022',
internalId:  '',
customField: 'language:de;country:CH;'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '30501',
internalId:  '',
customField: 'language:de;country:CH;'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '68622',
internalId:  '',
customField: 'language:de;country:CH;'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '47901',
internalId:  '',
customField: 'language:de;country:CH;'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '47922',
internalId:  '',
customField: 'language:de;country:CH;'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '48543',
internalId:  '',
customField: 'language:de;country:CH;'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '56601',
internalId:  '',
customField: 'language:de;country:CH;'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '64101',
internalId:  '',
customField: 'language:de;country:CH;'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '65801',
internalId:  '',
customField: 'language:de;country:CH;'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '66701',
internalId:  '',
customField: 'language:de;country:CH;'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '67201',
internalId:  '',
customField: 'language:de;country:CH;'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '43901',
internalId:  '',
customField: 'language:de;country:CH;'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '64901',
internalId:  '',
customField: 'language:de;country:CH;'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '44801',
internalId:  '',
customField: 'language:de;country:CH;'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '101201',
internalId:  '',
customField: 'language:de;country:CH;'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '15001',
internalId:  '',
customField: 'language:de;country:CH;'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '70201',
internalId:  '',
customField: 'language:de;country:CH;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '49001',
internalId:  '',
customField: '20080607-173826'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9301',
internalId:  '',
customField: '20100807-175115'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15601',
internalId:  '',
customField: '20100807-175222'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19701',
internalId:  '',
customField: '20100807-175535'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '68601',
internalId:  '',
customField: '20100807-175835'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18301',
internalId:  '',
customField: '20100807-180202'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '57501',
internalId:  '',
customField: '20100807-180451'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '58801',
internalId:  '',
customField: '20100807-180707'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '59401',
internalId:  '',
customField: '20100807-180938'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '21201',
internalId:  '',
customField: '20100807-181107'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39801',
internalId:  '',
customField: '20100807-181228'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40201',
internalId:  '',
customField: '20100807-181519'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '48501',
internalId:  '',
customField: '20100807-181750'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43901',
internalId:  '',
customField: '20100807-181924'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '64901',
internalId:  '',
customField: '20100807-182253'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44801',
internalId:  '',
customField: '20100807-182539'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '101201',
internalId:  '',
customField: '20100807-182729'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15001',
internalId:  '',
customField: '20100807-182904'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '70201',
internalId:  '',
customField: '20100807-183049'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '30501',
internalId:  '',
customField: '20100807-183211'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '68622',
internalId:  '',
customField: '20080615-190315'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47901',
internalId:  '',
customField: '20100807-183441'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47922',
internalId:  '',
customField: '20100807-183543'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '48543',
internalId:  '',
customField: '20100807-183632'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56601',
internalId:  '',
customField: '20100807-183711'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '64101',
internalId:  '',
customField: '20100807-183749'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '65801',
internalId:  '',
customField: '20100807-183824'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '66701',
internalId:  '',
customField: '20100807-183854'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '67201',
internalId:  '',
customField: '20100807-183921'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '75401',
internalId:  '',
customField: 'language:de;country:CH;'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '49001',
internalId:  '',
customField: 'language:de;country:CH;'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '9301',
internalId:  '',
customField: 'language:de;country:CH;'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '15601',
internalId:  '',
customField: 'language:de;country:CH;'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '106001',
internalId:  '',
customField: 'language:de;country:CH;'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '19701',
internalId:  '',
customField: 'language:de;country:CH;'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '68601',
internalId:  '',
customField: 'language:de;country:CH;'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '18301',
internalId:  '',
customField: 'language:de;country:CH;'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '57501',
internalId:  '',
customField: 'language:de;country:CH;'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '115001',
internalId:  '',
customField: 'language:de;country:CH;'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '58801',
internalId:  '',
customField: 'language:de;country:CH;'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '59401',
internalId:  '',
customField: 'language:de;country:CH;'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '21201',
internalId:  '',
customField: 'language:de;country:CH;'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '39801',
internalId:  '',
customField: 'language:de;country:CH;'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '40201',
internalId:  '',
customField: 'language:de;country:CH;'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '48501',
internalId:  '',
customField: 'language:de;country:CH;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15022',
internalId:  '',
customField: '20100807-184222'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25301',
internalId:  '',
customField: '20080426-124811'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '106001',
internalId:  '',
customField: '20100807-175320'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '114001',
internalId:  '',
customField: '20100807-184114'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '115001',
internalId:  '',
customField: '20100807-180543'
};
var canonHostname = 'webomat02.hostpoint.ch';
var accountId     = 'AHOPT0IN32U4';
var companyName   = 'www.Atax.Umzug.ch++++++++++++++++++++++++044+%2F+810+32+20++++++++++++++++++++++++atax.suisse%40gmail.com';
var htmlTitle	  = 'Ihr+vertrauter+Partner+f%C3%BCr+Privatumzug%2C+Seniorenumzug+und+Firmenumzug%2C+Umzugsservice%2C+Umzugsfirma%2C+Umzugsunternehmen%2C+Moebeltransporte%2C+Raeumung%2C+Kelleraeumung%2C+Wohnungsraeumung%2C+Hausraeumung+in+Z%C3%BCrich%2C+Winterthur+und+Aargau+CH';
var metaKeywords  = 'Umzug+Zuerich%2C+Umzuege+Zuerich%2C+Privatumzug+Zuerich%2C+Firmenumzug+Zuerich%2C+Warentaxi+Zuerich%2C+Transporttaxi+Zuerich%2C+Moebeltaxi+Zuerich%2C+Kleintransporte+Zuerich%2C+Umzugstransporte+Zuerich%2C+Umzugsspedition+Zuerich%2C+Auslandsumzug+Zuerich%2C+Umzugsservice+Zuerich%2C+Lagerraum+Zuerich%2C+M%C3%B6bellager+Zuerich%2C+Lagerhaus+Zuerich%2C+Moebellift+Zuerich%2C+Klaviertransport+Zuerich%2C+Umzugsfirma+ZH%2C+Umzugsunternehmen+ZH%2C+Zuegelservice+ZH%2C+Umzugsservice+ZH%2C+Transportunternehmen+ZH%2C+Umzugsspeditionsfirma+ZH%2C+internationaler+Umzug+ZH%2C+Umzugsgeschaeft+ZH%2C+Raeumung+Zuerich%2C+Hausraeumung+Zuerich%2C+Wohnungsraeumung+Zuerich%2C+Kellerraeumung+Zuerich%2C+Hausaufloesung+Zuerich%2C+Wohnungsaufloesung+Zuerich%2C++Raeumung+Aargau%2C+Hausraeumung+Aargau%2C+Wohnungsraeumung+Aargau%2C+Kellerraeumung+Aargau%2C+Hausaufloesung+Aargau%2C+Wohnungsaufloesung+Aargau%2C+Raeumung+Luzern%2C+Raeumung+Solothurn%2C+Raeumung+Kanton+Zug%2C+Raeumung+St.+Gallen%2C+Raeumung+Schaffhausen%2C+Raeumung+Schwyz%2C+Raeumung+Thurgau%2C+Raeumung+Basel%2C+Raeumung+Bern%2C+Raeumung+Winterthur';
var metaContents  = 'ATAX+bietet+Ihnen+stressfreien+Privatumzug%2C+Seniorenumzug%2C+Auslandsumzug%2C+Firmenumzug%2C+Umzugsmanagement%2C+Warentaxi+und+umweltfreundliche%2C+kostenguenstige+Wohnungsreinigung%2C+Umzugsreinigung+mit+Abgabegarantie+in+Grossraum+Zuerich+und+Aargau';
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();
};
