/* [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','401',jdecode('Home'),jdecode(''),'/401.html','true',[],'',''],
	['PAGE','9401',jdecode('%C3%9Cber+jetandprop..'),jdecode(''),'/9401.html','true',[],'',''],
	['PAGE','32801',jdecode('Flugzeugbilder+Aktuell'),jdecode(''),'/32801/index.html','true',[ 
		['PAGE','679401',jdecode('September+2010'),jdecode(''),'/32801/679401.html','true',[],'',''],
		['PAGE','672301',jdecode('August+2010'),jdecode(''),'/32801/672301.html','true',[],'',''],
		['PAGE','653801',jdecode('Juli+2010'),jdecode(''),'/32801/653801.html','true',[],'',''],
		['PAGE','648101',jdecode('Juni+2010'),jdecode(''),'/32801/648101.html','true',[],'',''],
		['PAGE','635001',jdecode('Mai+2010'),jdecode(''),'/32801/635001.html','true',[],'',''],
		['PAGE','621101',jdecode('April+2010'),jdecode(''),'/32801/621101.html','true',[],'',''],
		['PAGE','616901',jdecode('M%C3%A4rz+2010'),jdecode(''),'/32801/616901.html','true',[],'',''],
		['PAGE','612001',jdecode('Februar+2010'),jdecode(''),'/32801/612001.html','true',[],'',''],
		['PAGE','602601',jdecode('Januar+2010'),jdecode(''),'/32801/602601.html','true',[],'','']
	],'',''],
	['PAGE','18501',jdecode('Flugberichte'),jdecode(''),'/18501/index.html','true',[ 
		['PAGE','631801',jdecode('Ukraine+2010'),jdecode(''),'/18501/631801.html','true',[],'',''],
		['PAGE','479701',jdecode('Ilyushin-18'),jdecode(''),'/18501/479701.html','true',[],'',''],
		['PAGE','465701',jdecode('Ju+Air-Tante+Ju'),jdecode(''),'/18501/465701.html','true',[],'',''],
		['PAGE','406201',jdecode('Cubana+de+Aviacion..Il-96'),jdecode(''),'/18501/406201.html','true',[],'',''],
		['PAGE','306101',jdecode('Belarus%21An12%3BAn24%3BMil2'),jdecode(''),'/18501/306101.html','true',[],'',''],
		['PAGE','295401',jdecode('Thailand+April+2008'),jdecode(''),'/18501/295401.html','true',[],'',''],
		['PAGE','176601',jdecode('Belarus+mit+Il-76+und+Tu3'),jdecode(''),'/18501/176601.html','true',[],'',''],
		['PAGE','28801',jdecode('Flugschule+USA+2007'),jdecode(''),'/18501/28801.html','true',[],'',''],
		['PAGE','36801',jdecode('Thailand+April+2006'),jdecode(''),'/18501/36801.html','true',[],'',''],
		['PAGE','46001',jdecode('Boeing+727-200'),jdecode(''),'/18501/46001.html','true',[],'','']
	],'',''],
	['PAGE','5201',jdecode('Russenspecials'),jdecode(''),'/5201/index.html','true',[ 
		['PAGE','12901',jdecode('Russenspecial+-Antonov'),jdecode(''),'/5201/12901.html','true',[],'',''],
		['PAGE','11301',jdecode('Russenspecial-Ilyushin'),jdecode(''),'/5201/11301.html','true',[],'',''],
		['PAGE','14501',jdecode('Russenspecial+-Tupolev'),jdecode(''),'/5201/14501.html','true',[],'',''],
		['PAGE','14522',jdecode('Russenspecial+-Yakovlev'),jdecode(''),'/5201/14522.html','true',[],'',''],
		['PAGE','79601',jdecode('Russenspecial-Mil+%26+co.'),jdecode(''),'/5201/79601.html','true',[],'','']
	],'',''],
	['PAGE','86501',jdecode('Klassiker+der+L%C3%BCfte'),jdecode(''),'/86501/index.html','true',[ 
		['PAGE','103101',jdecode('Bac+1-11'),jdecode(''),'/86501/103101.html','true',[],'',''],
		['PAGE','93001',jdecode('Boeing+707'),jdecode(''),'/86501/93001.html','true',[],'',''],
		['PAGE','88001',jdecode('Boeing+727'),jdecode(''),'/86501/88001.html','true',[],'',''],
		['PAGE','88022',jdecode('Boeing+737'),jdecode(''),'/86501/88022.html','true',[],'',''],
		['PAGE','88043',jdecode('Boeing+747'),jdecode(''),'/86501/88043.html','true',[],'',''],
		['PAGE','88064',jdecode('Douglas+DC-3+bis+DC-7'),jdecode(''),'/86501/88064.html','true',[],'',''],
		['PAGE','88085',jdecode('Douglas+DC-8'),jdecode(''),'/86501/88085.html','true',[],'',''],
		['PAGE','88106',jdecode('Douglas+DC-10'),jdecode(''),'/86501/88106.html','true',[],'',''],
		['PAGE','88127',jdecode('Lockheed+Tri+Star'),jdecode(''),'/86501/88127.html','true',[],'',''],
		['PAGE','137801',jdecode('MD-11'),jdecode(''),'/86501/137801.html','true',[],'','']
	],'',''],
	['PAGE','63001',jdecode('Videoclips'),jdecode(''),'/63001.html','true',[],'',''],
	['PAGE','228101',jdecode('Archiv+'),jdecode(''),'/228101/index.html','true',[ 
		['PAGE','596601',jdecode('Dezember+2009'),jdecode(''),'/228101/596601.html','true',[],'',''],
		['PAGE','593901',jdecode('November+2009'),jdecode(''),'/228101/593901.html','true',[],'',''],
		['PAGE','554801',jdecode('Oktober+2009'),jdecode(''),'/228101/554801.html','true',[],'',''],
		['PAGE','545601',jdecode('September+2009'),jdecode(''),'/228101/545601.html','true',[],'',''],
		['PAGE','539901',jdecode('August+2009'),jdecode(''),'/228101/539901.html','true',[],'',''],
		['PAGE','522601',jdecode('Juli+2009'),jdecode(''),'/228101/522601.html','true',[],'',''],
		['PAGE','505301',jdecode('Juni+2009'),jdecode(''),'/228101/505301.html','true',[],'',''],
		['PAGE','492701',jdecode('Mai+2009'),jdecode(''),'/228101/492701.html','true',[],'',''],
		['PAGE','472601',jdecode('April+2009'),jdecode(''),'/228101/472601.html','true',[],'',''],
		['PAGE','464601',jdecode('M%C3%A4rz+2009'),jdecode(''),'/228101/464601.html','true',[],'',''],
		['PAGE','455801',jdecode('Februar+2009'),jdecode(''),'/228101/455801.html','true',[],'',''],
		['PAGE','435301',jdecode('Januar+2009'),jdecode(''),'/228101/435301.html','true',[],'',''],
		['PAGE','418501',jdecode('Dezember+2008'),jdecode(''),'/228101/418501.html','true',[],'',''],
		['PAGE','405201',jdecode('November+2008'),jdecode(''),'/228101/405201.html','true',[],'',''],
		['PAGE','391301',jdecode('Oktober+2008'),jdecode(''),'/228101/391301.html','true',[],'',''],
		['PAGE','367001',jdecode('September+2008'),jdecode(''),'/228101/367001.html','true',[],'',''],
		['PAGE','341601',jdecode('August+2008'),jdecode(''),'/228101/341601.html','true',[],'',''],
		['PAGE','331701',jdecode('Juli+2008'),jdecode(''),'/228101/331701.html','true',[],'',''],
		['PAGE','315701',jdecode('Juni+2008'),jdecode(''),'/228101/315701.html','true',[],'',''],
		['PAGE','297901',jdecode('Mai+2008'),jdecode(''),'/228101/297901.html','true',[],'',''],
		['PAGE','284701',jdecode('April+2008'),jdecode(''),'/228101/284701.html','true',[],'',''],
		['PAGE','278101',jdecode('M%C3%A4rz+2008'),jdecode(''),'/228101/278101.html','true',[],'',''],
		['PAGE','262101',jdecode('Februar+2008'),jdecode(''),'/228101/262101.html','true',[],'',''],
		['PAGE','237201',jdecode('Januar+2008'),jdecode(''),'/228101/237201.html','true',[],'',''],
		['PAGE','220401',jdecode('Dezember+2007'),jdecode(''),'/228101/220401.html','true',[],'',''],
		['PAGE','211401',jdecode('November+2007'),jdecode(''),'/228101/211401.html','true',[],'',''],
		['PAGE','192101',jdecode('Oktober+2007'),jdecode(''),'/228101/192101.html','true',[],'',''],
		['PAGE','179801',jdecode('September+2007'),jdecode(''),'/228101/179801.html','true',[],'',''],
		['PAGE','150701',jdecode('August+2007'),jdecode(''),'/228101/150701.html','true',[],'',''],
		['PAGE','126601',jdecode('Juli+2007'),jdecode(''),'/228101/126601.html','true',[],'',''],
		['PAGE','7601',jdecode('Juni+2007'),jdecode(''),'/228101/7601.html','true',[],'',''],
		['PAGE','5601',jdecode('Mai+2007'),jdecode(''),'/228101/5601.html','true',[],'',''],
		['PAGE','5222',jdecode('April+2007'),jdecode(''),'/228101/5222.html','true',[],'','']
	],'',''],
	['PAGE','32301',jdecode('N%C3%BCtzliches'),jdecode(''),'/32301.html','true',[],'',''],
	['PAGE','15401',jdecode('Kontakt'),jdecode(''),'/15401.html','true',[],'',''],
	['PAGE','55301',jdecode('Links'),jdecode(''),'/55301.html','true',[],'','']];
var siteelementCount=78;
theSitetree.topTemplateName='Startup';
theSitetree.paletteFamily='999966';
theSitetree.keyvisualId='1334';
theSitetree.keyvisualName='transportfahrtzeug.jpg';
theSitetree.fontsetId='233';
theSitetree.graphicsetId='282';
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: 			'Startup',
				paletteFamily: 	'999966',
				keyvisualId: 	'1334',
				keyvisualName: 	'transportfahrtzeug.jpg',
				fontsetId: 		'233',
				graphicsetId: 	'282',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'999966',
				b_color: 		'333333',
				c_color: 		'000000',
				d_color: 		'FF0000',
				e_color: 		'FF0000',
				f_color: 		'FF0000',
				hasCustomLogo: 	'false',
				contentFontFace:'Times New Roman, Times, serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '401',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32801',
internalId:  '',
customField: '20090308-225216'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '401',
internalId:  '',
customField: '20100827-213739'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '435301',
internalId:  '',
customField: '20090203-101106'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9401',
internalId:  '',
customField: '20091024-231016'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18501',
internalId:  '',
customField: '20081206-223833'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '406201',
internalId:  '',
customField: '20081102-214737'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '306101',
internalId:  '',
customField: '20080516-232455'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '295401',
internalId:  '',
customField: '20080428-191523'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '176601',
internalId:  '',
customField: '20070830-132551'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '28801',
internalId:  '',
customField: '20070412-173949'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '36801',
internalId:  '',
customField: '20070410-222225'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46001',
internalId:  '',
customField: '20070522-233902'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5201',
internalId:  '',
customField: '20081206-223928'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '12901',
internalId:  '',
customField: '20081209-121245'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11301',
internalId:  '',
customField: '20090523-230945'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14501',
internalId:  '',
customField: '20090215-232306'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14522',
internalId:  '',
customField: '20081209-124952'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '79601',
internalId:  '',
customField: '20090120-142634'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '86501',
internalId:  '',
customField: '20081206-224109'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '103101',
internalId:  '',
customField: '20081209-102559'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '93001',
internalId:  '',
customField: '20071230-231016'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '88001',
internalId:  '',
customField: '20081209-103155'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '88022',
internalId:  '',
customField: '20090120-143034'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '88043',
internalId:  '',
customField: '20071229-215030'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '88064',
internalId:  '',
customField: '20071013-123829'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '88085',
internalId:  '',
customField: '20081209-132320'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '88106',
internalId:  '',
customField: '20081209-132545'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '88127',
internalId:  '',
customField: '20081209-104518'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '137801',
internalId:  '',
customField: '20081209-105427'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '63001',
internalId:  '',
customField: '20090729-223029'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '228101',
internalId:  '',
customField: '20100406-180255'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '418501',
internalId:  '',
customField: '20081231-223511'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '405201',
internalId:  '',
customField: '20081127-130209'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '391301',
internalId:  '',
customField: '20081101-105411'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '367001',
internalId:  '',
customField: '20081222-181256'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '341601',
internalId:  '',
customField: '20080830-021836'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '331701',
internalId:  '',
customField: '20080806-004641'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '315701',
internalId:  '',
customField: '20080629-222926'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '297901',
internalId:  '',
customField: '20080530-213557'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '284701',
internalId:  '',
customField: '20080501-210913'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '278101',
internalId:  '',
customField: '20080331-210022'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '262101',
internalId:  '',
customField: '20080428-144828'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '237201',
internalId:  '',
customField: '20080220-093625'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '220401',
internalId:  '',
customField: '20071231-001759'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '211401',
internalId:  '',
customField: '20071128-203907'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '192101',
internalId:  '',
customField: '20071031-181128'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '179801',
internalId:  '',
customField: '20070929-195045'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '150701',
internalId:  '',
customField: '20070830-180459'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '126601',
internalId:  '',
customField: '20070806-113501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7601',
internalId:  '',
customField: '20070629-200539'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5601',
internalId:  '',
customField: '20070627-203423'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5222',
internalId:  '',
customField: '20070526-172403'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32301',
internalId:  '',
customField: '20090930-115418'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15401',
internalId:  '',
customField: '20081206-223053'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '55301',
internalId:  '',
customField: '20090716-000037'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '455801',
internalId:  '',
customField: '20090313-162751'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '464601',
internalId:  '',
customField: '20090331-232544'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '465701',
internalId:  '',
customField: '20090308-230222'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '472601',
internalId:  '',
customField: '20090430-214719'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '479701',
internalId:  '',
customField: '20090408-201935'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '492701',
internalId:  '',
customField: '20090601-121819'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '505301',
internalId:  '',
customField: '20090701-002747'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '522601',
internalId:  '',
customField: '20090729-221722'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '539901',
internalId:  '',
customField: '20090823-174134'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '545601',
internalId:  '',
customField: '20091124-210443'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '554801',
internalId:  '',
customField: '20091030-180814'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '593901',
internalId:  '',
customField: '20091124-210309'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '596601',
internalId:  '',
customField: '20091231-173812'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '602601',
internalId:  '',
customField: '20100204-185538'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '612001',
internalId:  '',
customField: '20100301-195823'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '616901',
internalId:  '',
customField: '20100328-175330'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '621101',
internalId:  '',
customField: '20100426-212533'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '631801',
internalId:  '',
customField: '20100418-142803'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '635001',
internalId:  '',
customField: '20100623-115859'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '648101',
internalId:  '',
customField: '20100701-091746'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '653801',
internalId:  '',
customField: '20100806-211949'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '672301',
internalId:  '',
customField: '20100827-204238'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '679401',
internalId:  '',
customField: '20100904-180118'
};
var canonHostname = 'hptworkerdb01a.bluewin.ch';
var accountId     = 'ABW0X0IN2S6I';
var companyName   = 'jetandprop';
var htmlTitle	  = 'Willkommen+bei+www.jetandprop.ch+-+Bilder+aus+der+Schweiz+und+dem+Rest+der+Welt';
var metaKeywords  = 'jet+prop%2Cjetandprop%2CZRH+spotter%2Cwww.jetandprop.ch%2Cpics%2Caus%2Cz%C3%BCrich%2Crunway%2C++Ilyushin%2C+Switzerland%2C++Russenspecial%2C+Boeing%2C+spotter%2C+swissair%2C+aviation%2C+photography%2C+fotografie%2C+thomas+rothlin%2C+aviatik%2C+spotter%2C+Google%2C+Google+earth%2C+jetprop%2C+jet%2C++prop+jet%2C%2Bprop%2C+jet%2C+and%2C+prop%2C+jet%2C+%2B+prop%2Chb-ipp%2C+atma%2Cvolga-dnepr%2Cra-76950%2Cupdate%2Cpictures%2Caviation%2Cnews%2Cetc%2Cdmk%2Cun-11004%2Crunway34%2Crunway28%2Crunway14%2Crunway16%2Catma%2Ccargo%2Czurich%2Ctourism%2Cspotter%2Cthomas+rothlin%2Csyrianair%2C5a-one%2Caktuelles%3Bspotter%3Brothlin%3Bphotography%3Bspotter%3Baktuelles+mai%3Bactual%3Bmay%3Bplanes%3Bworld+economic+forum%3B';
var metaContents  = 'Fugzeugbilder+aus+Z%C3%BCrich+und+der+Welt.Auf%2Cjetandprop+finden+Sie+bilder+aus+vergangenen+Tagen+wie+der+Swissair+oder+Ilyushins%2C+Tupolevs+und+viele+viele+mehr+%21';
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();
};
