/* [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 theSitetree=[ 
	['PAGE','13937',jdecode('Home'),jdecode(''),'/13937.html','true',[],''],
	['PAGE','393612',jdecode('Meine+M%C3%A4dels'),jdecode(''),'/393612/home.html','true',[ 
		['PAGE','13943',jdecode('Amy'),jdecode(''),'/393612/13943.html','true',[],''],
		['PAGE','109040',jdecode('Samba'),jdecode(''),'/393612/109040.html','true',[],''],
		['PAGE','648312',jdecode('Hailey'),jdecode(''),'/393612/648312.html','true',[],''],
		['PAGE','504712',jdecode('Das+Kooikerhondje'),jdecode(''),'/393612/504712.html','true',[],'']
	],''],
	['PAGE','642412',jdecode('Sambas+Welpen'),jdecode(''),'/642412/home.html','true',[ 
		['PAGE','642433',jdecode('Fotoshooting+Bl%C3%BCmchenwiese'),jdecode(''),'/642412/642433.html','true',[],''],
		['PAGE','595612',jdecode('1.+Lebenswoche'),jdecode(''),'/642412/595612.html','true',[],''],
		['PAGE','600512',jdecode('2.+Lebenswoche'),jdecode(''),'/642412/600512.html','true',[],''],
		['PAGE','604512',jdecode('3.+Lebenswoche'),jdecode(''),'/642412/604512.html','true',[],''],
		['PAGE','610312',jdecode('4.+Lebenswoche'),jdecode(''),'/642412/610312.html','true',[],''],
		['PAGE','614812',jdecode('5.+Lebenswoche'),jdecode(''),'/642412/614812.html','true',[],''],
		['PAGE','622212',jdecode('6.+Lebenswoche'),jdecode(''),'/642412/622212.html','true',[],''],
		['PAGE','625012',jdecode('7.+Lebenswoche'),jdecode(''),'/642412/625012.html','true',[],''],
		['PAGE','633212',jdecode('8.+Lebenswoche'),jdecode(''),'/642412/633212.html','true',[],''],
		['PAGE','633246',jdecode('9.+Lebenswoche'),jdecode(''),'/642412/633246.html','true',[],'']
	],''],
	['PAGE','383912',jdecode('Unsere+W%C3%BCrfe'),jdecode(''),'/383912/home.html','true',[ 
		['PAGE','583612',jdecode('H+-+Wurf'),jdecode(''),'/383912/583612.html','true',[],''],
		['PAGE','642454',jdecode('Entwicklung+H+-+Wurf'),jdecode(''),'/383912/642454.html','true',[],''],
		['PAGE','512245',jdecode('G+-+Wurf'),jdecode(''),'/383912/512245.html','true',[],''],
		['PAGE','554312',jdecode('Entwicklung+G+-+Wurf'),jdecode(''),'/383912/554312.html','true',[],''],
		['PAGE','372412',jdecode('F+-+Wurf'),jdecode(''),'/383912/372412.html','true',[],''],
		['PAGE','383933',jdecode('Entwicklung+F+-+Wurf'),jdecode(''),'/383912/383933.html','true',[],''],
		['PAGE','261002',jdecode('E+-+Wurf'),jdecode(''),'/383912/261002.html','true',[],''],
		['PAGE','297302',jdecode('Entwicklung+E+-+Wurf'),jdecode(''),'/383912/297302.html','true',[],''],
		['PAGE','200302',jdecode('D+-+Wurf'),jdecode(''),'/383912/200302.html','true',[],''],
		['PAGE','246802',jdecode('Entwicklung+D+-+Wurf'),jdecode(''),'/383912/246802.html','true',[],''],
		['PAGE','98002',jdecode('C+-+Wurf'),jdecode(''),'/383912/98002.html','true',[],''],
		['PAGE','184402',jdecode('Entwicklung+C+-+Wurf'),jdecode(''),'/383912/184402.html','true',[],''],
		['PAGE','27406',jdecode('B+-+Wurf'),jdecode(''),'/383912/27406.html','true',[],''],
		['PAGE','102740',jdecode('+Entwicklung++B+-+Wurf'),jdecode(''),'/383912/102740.html','true',[],''],
		['PAGE','13948',jdecode('A+-+Wurf'),jdecode(''),'/383912/13948.html','true',[],''],
		['PAGE','102140',jdecode('+Entwicklung++A+-+Wurf'),jdecode(''),'/383912/102140.html','true',[],'']
	],''],
	['PAGE','412612',jdecode('Meine+Fotografie'),jdecode(''),'/412612/home.html','true',[ 
		['PAGE','690212',jdecode('Meine+M%C3%A4dels+1'),jdecode(''),'/412612/690212.html','true',[],''],
		['PAGE','664512',jdecode('Meine+M%C3%A4dels+2'),jdecode(''),'/412612/664512.html','true',[],''],
		['PAGE','476212',jdecode('Meine+M%C3%A4dels+3'),jdecode(''),'/412612/476212.html','true',[],''],
		['PAGE','459212',jdecode('Meine+M%C3%A4dels+4'),jdecode(''),'/412612/459212.html','true',[],''],
		['PAGE','367612',jdecode('Meine+M%C3%A4dels+5'),jdecode(''),'/412612/367612.html','true',[],''],
		['PAGE','696412',jdecode('Meine+M%C3%A4dels+Spezial'),jdecode(''),'/412612/696412.html','true',[],''],
		['PAGE','509912',jdecode('M%C3%A4dels+%26+Freunde'),jdecode(''),'/412612/509912.html','true',[],''],
		['PAGE','699612',jdecode('15.01.12+Labradoodle+Gina'),jdecode(''),'/412612/699612.html','true',[],''],
		['PAGE','678012',jdecode('12.11.11+Humprey+%26+Hailey'),jdecode(''),'/412612/678012.html','true',[],''],
		['PAGE','671712',jdecode('06.11.11+Heaven+%26+Hailey'),jdecode(''),'/412612/671712.html','true',[],''],
		['PAGE','666312',jdecode('29.10.11++Happy+%26+Hailey'),jdecode(''),'/412612/666312.html','true',[],''],
		['PAGE','661912',jdecode('22.10.11+Lolly+%26+Hailey'),jdecode(''),'/412612/661912.html','true',[],''],
		['PAGE','649312',jdecode('02.10.11+Hailey+'),jdecode(''),'/412612/649312.html','true',[],''],
		['PAGE','591912',jdecode('03.07.11+Ginger'),jdecode(''),'/412612/591912.html','true',[],''],
		['PAGE','588512',jdecode('24.06.11+Fiore-Mika'),jdecode(''),'/412612/588512.html','true',[],''],
		['PAGE','578812',jdecode('07.05.11+Ferrow-Jules'),jdecode(''),'/412612/578812.html','true',[],''],
		['PAGE','574012',jdecode('09.04.11+Australien+Shepard+Welpen'),jdecode(''),'/412612/574012.html','true',[],''],
		['PAGE','490412',jdecode('03.06.10+Jessy%26%23x27%3Bs+Welpen'),jdecode(''),'/412612/490412.html','true',[],''],
		['PAGE','513512',jdecode('10.10.10+Chihuahua+Welpen'),jdecode(''),'/412612/513512.html','true',[],''],
		['PAGE','485912',jdecode('10.05.10+Perserkitten'),jdecode(''),'/412612/485912.html','true',[],''],
		['PAGE','462312',jdecode('09.12.09+Australien+Shepard+Welpen'),jdecode(''),'/412612/462312.html','true',[],''],
		['PAGE','445712',jdecode('22.08.09+sch%C3%B6n+war%26%23x27%3Bs'),jdecode(''),'/412612/445712.html','true',[],''],
		['PAGE','456112',jdecode('Kooiker-Freunde'),jdecode(''),'/412612/456112.html','true',[],''],
		['PAGE','432433',jdecode('Etwas+besonderes'),jdecode(''),'/412612/432433.html','true',[],''],
		['PAGE','508612',jdecode('Chamy'),jdecode(''),'/412612/508612.html','true',[],''],
		['PAGE','501212',jdecode('***MEIKE***'),jdecode(''),'/412612/501212.html','true',[],''],
		['PAGE','469712',jdecode('%C3%84gypten+Jan.2010'),jdecode(''),'/412612/469712.html','true',[],''],
		['PAGE','412633',jdecode('Puppys+'),jdecode(''),'/412612/412633.html','true',[],''],
		['PAGE','584412',jdecode('Hunde+1'),jdecode(''),'/412612/584412.html','true',[],''],
		['PAGE','480212',jdecode('Hunde+2'),jdecode(''),'/412612/480212.html','true',[],''],
		['PAGE','441712',jdecode('Hunde+3'),jdecode(''),'/412612/441712.html','true',[],''],
		['PAGE','412654',jdecode('Hunde+4'),jdecode(''),'/412612/412654.html','true',[],''],
		['PAGE','482112',jdecode('Windhunderennen'),jdecode(''),'/412612/482112.html','true',[],''],
		['PAGE','412675',jdecode('Tiere++++'),jdecode(''),'/412612/412675.html','true',[],''],
		['PAGE','429512',jdecode('Pferde'),jdecode(''),'/412612/429512.html','true',[],''],
		['PAGE','432412',jdecode('Chantal'),jdecode(''),'/412612/432412.html','true',[],''],
		['PAGE','434112',jdecode('Makro....Bl%C3%BCten+%2F+Natur'),jdecode(''),'/412612/434112.html','true',[],''],
		['PAGE','485112',jdecode('Makro....Tiere+%2F+Insekten'),jdecode(''),'/412612/485112.html','true',[],'']
	],''],
	['PAGE','280602',jdecode('Kontakt'),jdecode(''),'/280602/home.html','true',[ 
		['PAGE','507012',jdecode('Links'),jdecode(''),'/280602/507012.html','true',[],'']
	],'']];
var siteelementCount=75;
theSitetree.topTemplateName='TOI_Boutique_01';
theSitetree.paletteFamily='D6D6D6';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='33357';
theSitetree.graphicsetId='14229';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='333333';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'TOI_Boutique_01',
				paletteFamily: 	'D6D6D6',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'33357',
				graphicsetId: 	'14229',
				contentColor: 	'FFFFFF',
				contentBGColor: '333333',
				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['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '490412',
internalId:  '',
customField: '20100704-113313'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '485912',
internalId:  '',
customField: '20100621-132954'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13937',
internalId:  '',
customField: '20120121-201846'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '13937',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '485112',
internalId:  '',
customField: '20100621-134340'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '184402',
internalId:  '',
customField: '20110313-115507'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '459212',
internalId:  '',
customField: '20100621-132801'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13943',
internalId:  '',
customField: '20120121-143611'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '109040',
internalId:  '',
customField: '20111214-132416'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '412612',
internalId:  '',
customField: '20120121-143941'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '412633',
internalId:  '',
customField: '20100621-133232'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13948',
internalId:  '',
customField: '20101022-141945'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '102140',
internalId:  '',
customField: '20110313-121730'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27406',
internalId:  '',
customField: '20101021-201440'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '102740',
internalId:  '',
customField: '20110313-121136'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '98002',
internalId:  '',
customField: '20101021-201154'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '200302',
internalId:  '',
customField: '20101021-201035'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '383912',
internalId:  '',
customField: '20110909-195713'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '383933',
internalId:  '',
customField: '20110729-144347'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '462312',
internalId:  '',
customField: '20100621-133022'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '469712',
internalId:  '',
customField: '20100310-091522'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '261002',
internalId:  '',
customField: '20101023-100851'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '507012',
internalId:  '',
customField: '20111209-133809'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '504712',
internalId:  '',
customField: '20100821-144521'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '501212',
internalId:  '',
customField: '20100717-135151'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '280602',
internalId:  '',
customField: '20120121-201723'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '480212',
internalId:  '',
customField: '20110306-094935'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '246802',
internalId:  '',
customField: '20110313-113901'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '297302',
internalId:  '',
customField: '20110313-113436'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '432412',
internalId:  '',
customField: '20100310-091947'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '441712',
internalId:  '',
customField: '20100621-133423'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '434112',
internalId:  '',
customField: '20100621-134018'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '393612',
internalId:  '',
customField: '20120121-143459'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '412675',
internalId:  '',
customField: '20110721-120900'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '476212',
internalId:  '',
customField: '20111023-073442'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '445712',
internalId:  '',
customField: '20090827-140045'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '456112',
internalId:  '',
customField: '20100310-091421'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '482112',
internalId:  '',
customField: '20100621-133707'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '412654',
internalId:  '',
customField: '20100621-133620'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '429512',
internalId:  '',
customField: '20100310-091913'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '432433',
internalId:  '',
customField: '20100621-133910'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '367612',
internalId:  '',
customField: '20100621-132913'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '372412',
internalId:  '',
customField: '20101022-141307'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '508612',
internalId:  '',
customField: '20100829-192343'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '509912',
internalId:  '',
customField: '20120107-163732'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '622212',
internalId:  '',
customField: '20110910-081951'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '625012',
internalId:  '',
customField: '20110915-113254'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '512245',
internalId:  '',
customField: '20101217-115802'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '513512',
internalId:  '',
customField: '20101012-201921'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '591912',
internalId:  '',
customField: '20110704-104147'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '595612',
internalId:  '',
customField: '20110812-163430'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '600512',
internalId:  '',
customField: '20110812-163549'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '604512',
internalId:  '',
customField: '20110819-062324'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '610312',
internalId:  '',
customField: '20110826-075714'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '614812',
internalId:  '',
customField: '20110901-162149'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '649312',
internalId:  '',
customField: '20111023-144040'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '554312',
internalId:  '',
customField: '20120107-200931'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '574012',
internalId:  '',
customField: '20110412-122416'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '578812',
internalId:  '',
customField: '20110624-213242'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '583612',
internalId:  '',
customField: '20110927-111910'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '584412',
internalId:  '',
customField: '20120108-103037'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '588512',
internalId:  '',
customField: '20110625-105018'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '633212',
internalId:  '',
customField: '20110922-201153'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '633246',
internalId:  '',
customField: '20110926-084840'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '642412',
internalId:  '',
customField: '20110929-153619'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '642433',
internalId:  '',
customField: '20110928-061559'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '642454',
internalId:  '',
customField: '20120107-200358'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '648312',
internalId:  '',
customField: '20120121-143842'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '661912',
internalId:  '',
customField: '20111108-131710'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '664512',
internalId:  '',
customField: '20111210-114608'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '666312',
internalId:  '',
customField: '20111108-131625'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '671712',
internalId:  '',
customField: '20111113-204715'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '678012',
internalId:  '',
customField: '20111113-204501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '690212',
internalId:  '',
customField: '20120121-145815'
};
webappMappings['7091']=webappMappings['7091-64043']={
webappId:    '7091',
documentId:  '13937',
internalId:  '64043',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '696412',
internalId:  '',
customField: '20120121-201306'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '699612',
internalId:  '',
customField: '20120121-172830'
};
var canonHostname = 'c4awrk02.aul.t-online.de';
var accountId     = 'ATOIX0INEFKM';
var companyName   = 'Kooikerhondje+und+Tierfotografie';
var htmlTitle	  = 'kooikerhondje-zucht';
var metaKeywords  = 'Kooikerhondje+Zucht-+Samba-Tierfotografie';
var metaContents  = 'Willkommen+auf+unserer+Website.+Umfangreiche+Informationen+zu+unseren+Lieblingen+finden+Sie+hier.++';
					                                                                    
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) {														 
    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();
}
/* EOF */					                                                            

