/* [nodename, id, name, navigationtext, href, isnavigation, childs[], templatename] */

function jdecode(s) {
    s = s.replace(/\+/g, "%20")
    return unescape(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','9064',jdecode('INFOS'),jdecode(''),'/9064.html','true',[],''],
	['PAGE','315112',jdecode('BLUE+CAPS+DAYS+II'),jdecode(''),'/315112/index.html','true',[ 
		['PAGE','318912',jdecode('inscritpion'),jdecode(''),'/315112/318912.html','true',[],'']
	],''],
	['PAGE','271612',jdecode('BLUE+CAPS+DAYS+I'),jdecode(''),'/271612/index.html','true',[ 
		['PAGE','264912',jdecode('BCD+light'),jdecode(''),'/271612/264912.html','true',[],''],
		['PAGE','270812',jdecode('BCD+Klein'),jdecode(''),'/271612/270812.html','true',[],''],
		['PAGE','273912',jdecode('BCD+v%C3%A9lo+en+bois'),jdecode(''),'/271612/273912.html','true',[],''],
		['PAGE','276312',jdecode('BCD+ambiance'),jdecode(''),'/271612/276312.html','true',[],'']
	],''],
	['PAGE','10083',jdecode('BTP'),jdecode(''),'/10083/index.html','true',[ 
		['PAGE','9118',jdecode('porte-bidon'),jdecode(''),'/10083/9118.html','true',[],''],
		['PAGE','9729',jdecode('patins+de+frein'),jdecode(''),'/10083/9729.html','true',[],''],
		['PAGE','9145',jdecode('colliers+tige+de+selle'),jdecode(''),'/10083/9145.html','true',[],''],
		['PAGE','9756',jdecode('colliers+de+d%C3%A9railleur'),jdecode(''),'/10083/9756.html','true',[],''],
		['PAGE','10603',jdecode('d%C3%A9railleur+avant'),jdecode(''),'/10083/10603.html','true',[],''],
		['PAGE','73102',jdecode('d%C3%A9railleur+arri%C3%A8re'),jdecode(''),'/10083/73102.html','true',[],''],
		['PAGE','73129',jdecode('ergo%2FSTI'),jdecode(''),'/10083/73129.html','true',[],''],
		['PAGE','73156',jdecode('shim+tige+de+selle'),jdecode(''),'/10083/73156.html','true',[],''],
		['PAGE','224701',jdecode('kit+Speedplay'),jdecode(''),'/10083/224701.html','true',[],'']
	],''],
	['PAGE','10630',jdecode('CANE+CREEK'),jdecode(''),'/10630/index.html','true',[ 
		['PAGE','111401',jdecode('jeux+direction+110'),jdecode(''),'/10630/111401.html','true',[],''],
		['PAGE','305412',jdecode('jeux+direction+100'),jdecode(''),'/10630/305412.html','true',[],''],
		['PAGE','247312',jdecode('jeux+direction+AER'),jdecode(''),'/10630/247312.html','true',[],''],
		['PAGE','10657',jdecode('jeux+de+direction'),jdecode(''),'/10630/10657.html','true',[],''],
		['PAGE','10684',jdecode('amortisseurs'),jdecode(''),'/10630/10684.html','true',[],''],
		['PAGE','10711',jdecode('freins+route'),jdecode(''),'/10630/10711.html','true',[],''],
		['PAGE','90602',jdecode('leviers+de+frein'),jdecode(''),'/10630/90602.html','true',[],''],
		['PAGE','10738',jdecode('freins+vtt'),jdecode(''),'/10630/10738.html','true',[],''],
		['PAGE','10765',jdecode('cyclocross'),jdecode(''),'/10630/10765.html','true',[],''],
		['PAGE','10792',jdecode('poign%C3%A9es+guidon'),jdecode(''),'/10630/10792.html','true',[],''],
		['PAGE','10819',jdecode('bar+ends'),jdecode(''),'/10630/10819.html','true',[],''],
		['PAGE','10846',jdecode('tiges+de+selle+suspendues'),jdecode(''),'/10630/10846.html','true',[],''],
		['PAGE','10873',jdecode('tandem'),jdecode(''),'/10630/10873.html','true',[],'']
	],''],
	['PAGE','12385',jdecode('CARBON-TI'),jdecode(''),'/12385/index.html','true',[ 
		['PAGE','12412',jdecode('plateaux+Carbone%2Falu'),jdecode(''),'/12385/12412.html','true',[],''],
		['PAGE','12439',jdecode('plateaux+titane'),jdecode(''),'/12385/12439.html','true',[],''],
		['PAGE','134801',jdecode('blocages+de+roue'),jdecode(''),'/12385/134801.html','true',[],''],
		['PAGE','101101',jdecode('colliers+tige+de+selle'),jdecode(''),'/12385/101101.html','true',[],''],
		['PAGE','12547',jdecode('visserie'),jdecode(''),'/12385/12547.html','true',[],'']
	],''],
	['PAGE','162601',jdecode('HUDZ'),jdecode(''),'/162601/index.html','true',[ 
		['PAGE','162622',jdecode('repose-mains'),jdecode(''),'/162601/162622.html','true',[],''],
		['PAGE','164601',jdecode('compatibilit%C3%A9'),jdecode(''),'/162601/164601.html','true',[],'']
	],''],
	['PAGE','11683',jdecode('NEW+ULTIMATE'),jdecode(''),'/11683/index.html','true',[ 
		['PAGE','11710',jdecode('tiges+de+selle'),jdecode(''),'/11683/11710.html','true',[],''],
		['PAGE','11764',jdecode('potences'),jdecode(''),'/11683/11764.html','true',[],''],
		['PAGE','261212',jdecode('guidon+route'),jdecode(''),'/11683/261212.html','true',[],''],
		['PAGE','320412',jdecode('guidon+vtt'),jdecode(''),'/11683/320412.html','true',[],''],
		['PAGE','243112',jdecode('porte+bidon'),jdecode(''),'/11683/243112.html','true',[],'']
	],''],
	['PAGE','11386',jdecode('SCHMOLKE+CARBON'),jdecode(''),'/11386/index.html','true',[ 
		['PAGE','11413',jdecode('guidons+route'),jdecode(''),'/11386/11413.html','true',[],''],
		['PAGE','11440',jdecode('guidons+VTT'),jdecode(''),'/11386/11440.html','true',[],''],
		['PAGE','11467',jdecode('tiges+de+selle'),jdecode(''),'/11386/11467.html','true',[],''],
		['PAGE','11521',jdecode('visserie'),jdecode(''),'/11386/11521.html','true',[],'']
	],''],
	['PAGE','11791',jdecode('TUNE'),jdecode(''),'/11791/index.html','true',[ 
		['PAGE','11818',jdecode('roues+route+alu'),jdecode(''),'/11791/11818.html','true',[],''],
		['PAGE','307912',jdecode('roues+route+carbone'),jdecode(''),'/11791/307912.html','true',[],''],
		['PAGE','11845',jdecode('roues+VTT'),jdecode(''),'/11791/11845.html','true',[],''],
		['PAGE','11872',jdecode('moyeux'),jdecode(''),'/11791/11872.html','true',[],''],
		['PAGE','11899',jdecode('potences'),jdecode(''),'/11791/11899.html','true',[],''],
		['PAGE','83738',jdecode('jeux+de+direction'),jdecode(''),'/11791/83738.html','true',[],''],
		['PAGE','11926',jdecode('tiges+de+selle'),jdecode(''),'/11791/11926.html','true',[],''],
		['PAGE','11953',jdecode('colliers+tige+de+selle'),jdecode(''),'/11791/11953.html','true',[],''],
		['PAGE','11980',jdecode('blocages+de+roues'),jdecode(''),'/11791/11980.html','true',[],''],
		['PAGE','12007',jdecode('selle'),jdecode(''),'/11791/12007.html','true',[],''],
		['PAGE','12034',jdecode('bar+ends'),jdecode(''),'/11791/12034.html','true',[],''],
		['PAGE','12061',jdecode('aimant+compteur'),jdecode(''),'/11791/12061.html','true',[],''],
		['PAGE','12088',jdecode('manivelles%2Faxes'),jdecode(''),'/11791/12088.html','true',[],''],
		['PAGE','226501',jdecode('plateaux'),jdecode(''),'/11791/226501.html','true',[],''],
		['PAGE','12115',jdecode('coupe-vent'),jdecode(''),'/11791/12115.html','true',[],''],
		['PAGE','136301',jdecode('sac+%C3%A0+dos'),jdecode(''),'/11791/136301.html','true',[],''],
		['PAGE','81102',jdecode('goodies'),jdecode(''),'/11791/81102.html','true',[],'']
	],''],
	['PAGE','12304',jdecode('THM'),jdecode(''),'/12304/index.html','true',[ 
		['PAGE','12331',jdecode('fourches+Scapula'),jdecode(''),'/12304/12331.html','true',[],''],
		['PAGE','12358',jdecode('p%C3%A9daliers+Clavicula'),jdecode(''),'/12304/12358.html','true',[],''],
		['PAGE','299412',jdecode('freins+fibula'),jdecode(''),'/12304/299412.html','true',[],'']
	],''],
	['PAGE','31102',jdecode('COMPET%26%23x27%3B'),jdecode(''),'/31102/index.html','true',[ 
		['PAGE','31129',jdecode('vtt'),jdecode(''),'/31102/31129.html','true',[],''],
		['PAGE','31183',jdecode('triathlon'),jdecode(''),'/31102/31183.html','true',[],'']
	],''],
	['PAGE','294312',jdecode('BOUTIQUE'),jdecode(''),'/294312/index.html','true',[ 
		['PAGE','302212',jdecode('Smartube'),jdecode(''),'/294312/302212.html','true',[],''],
		['PAGE','232001',jdecode('Tune'),jdecode(''),'/294312/232001.html','true',[],'']
	],''],
	['PAGE','148601',jdecode('CONTACT%2FACHAT'),jdecode(''),'/148601.html','true',[],''],
	['PAGE','150401',jdecode('LIENS'),jdecode(''),'/150401.html','true',[],''],
	['PAGE','263112',jdecode('DON%26%23x27%3BT+FORGET+ME'),jdecode(''),'/263112.html','true',[],'']];
var siteelementCount=83;
theSitetree.topTemplateName='Match';
theSitetree.paletteFamily='2354B7';
theSitetree.keyvisualId='2698';
theSitetree.keyvisualName='blanco.jpg';
theSitetree.fontsetId='10701';
theSitetree.graphicsetId='10633';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='C6E2FE';
var theTemplate={
				name: 			'Match',
				paletteFamily: 	'2354B7',
				keyvisualId: 	'2698',
				keyvisualName: 	'blanco.jpg',
				fontsetId: 		'10701',
				graphicsetId: 	'10633',
				contentColor: 	'000000',
				contentBGColor: 'C6E2FE',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'2354B7',
				e_color: 		'707070',
				f_color: 		'707070',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['5000']={
webappId:    '5000',
documentId:  '148601',
internalId:  '',
customField: '20100329-105332'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '12304',
internalId:  '',
customField: '20080416-171455'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '11683',
internalId:  '',
customField: '20100329-103945'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '11710',
internalId:  '',
customField: '20100329-101858'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '11764',
internalId:  '',
customField: '20100329-104144'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '11791',
internalId:  '',
customField: '20080515-173421'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '11818',
internalId:  '',
customField: '20091125-175502'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '11872',
internalId:  '',
customField: '20090830-205547'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9145',
internalId:  '',
customField: '20091124-111823'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '12439',
internalId:  '',
customField: '20090202-163027'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '12385',
internalId:  '',
customField: '20080331-101747'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '12412',
internalId:  '',
customField: '20091120-170640'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9118',
internalId:  '',
customField: '20091124-110056'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '261212',
internalId:  '',
customField: '20100329-104330'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '263112',
internalId:  '',
customField: '20090914-183129'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '10083',
internalId:  '',
customField: '20080321-193351'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9729',
internalId:  '',
customField: '20091124-111727'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '11386',
internalId:  '',
customField: '20080515-155954'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '11467',
internalId:  '',
customField: '20080515-160514'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '11845',
internalId:  '',
customField: '20090302-154941'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '11899',
internalId:  '',
customField: '20080515-200618'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '83738',
internalId:  '',
customField: '20080515-200811'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '11980',
internalId:  '',
customField: '20100607-152938'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '81102',
internalId:  '',
customField: '20091120-090520'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '12115',
internalId:  '',
customField: '20091120-091633'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '101101',
internalId:  '',
customField: '20090202-164957'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '12547',
internalId:  '',
customField: '20100119-170727'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9756',
internalId:  '',
customField: '20091124-112028'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '10603',
internalId:  '',
customField: '20090202-153952'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '31102',
internalId:  '',
customField: '20080416-174310'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '31129',
internalId:  '',
customField: '20090830-210505'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '31183',
internalId:  '',
customField: '20090830-210713'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '302212',
internalId:  '12901027',
customField: 'fr:FR:'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '232001',
internalId:  '',
customField: '20091214-091607'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '226501',
internalId:  '',
customField: '20090205-173049'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '299412',
internalId:  '',
customField: '20091118-154340'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '9064',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '224701',
internalId:  '',
customField: '20090202-160404'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '73156',
internalId:  '',
customField: '20080515-104016'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '73102',
internalId:  '',
customField: '20080515-103908'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '73129',
internalId:  '',
customField: '20090202-155349'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '10630',
internalId:  '',
customField: '20091127-145637'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '10657',
internalId:  '',
customField: '20091120-172908'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '111401',
internalId:  '',
customField: '20091124-122441'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '10684',
internalId:  '',
customField: '20080515-111516'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '10711',
internalId:  '',
customField: '20091120-173046'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '90602',
internalId:  '',
customField: '20091120-173157'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '10738',
internalId:  '',
customField: '20091120-173243'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '10765',
internalId:  '',
customField: '20091120-173317'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '10792',
internalId:  '',
customField: '20090202-162107'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '10819',
internalId:  '',
customField: '20080515-122449'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '10846',
internalId:  '',
customField: '20091120-173435'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '10873',
internalId:  '',
customField: '20091120-173513'
};
webappMappings['1007']={
webappId:    '1007',
documentId:  '264912',
internalId:  '12423ff3467',
customField: 'g.14gi2re22.dettp1pof4.1s'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '11413',
internalId:  '',
customField: '20080515-160236'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '11440',
internalId:  '',
customField: '20080515-160330'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '11521',
internalId:  '',
customField: '20080515-160913'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '11926',
internalId:  '',
customField: '20080515-200958'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '11953',
internalId:  '',
customField: '20080515-201105'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '12007',
internalId:  '',
customField: '20080515-201558'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '12034',
internalId:  '',
customField: '20080515-201648'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '12061',
internalId:  '',
customField: '20080515-201805'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '12088',
internalId:  '',
customField: '20080515-202333'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '12331',
internalId:  '',
customField: '20090202-153438'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '12358',
internalId:  '',
customField: '20090219-111125'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '243112',
internalId:  '',
customField: '20100311-152216'
};
webappMappings['1007']={
webappId:    '1007',
documentId:  '270812',
internalId:  '12434fb0600',
customField: 'g.14gqiuh6o.msie4arjkfs.1s'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '247312',
internalId:  '',
customField: '20091120-172348'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '302212',
internalId:  '',
customField: '20091120-175550'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9064',
internalId:  '',
customField: '20100616-120824'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '134801',
internalId:  '',
customField: '20090129-185646'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '136301',
internalId:  '',
customField: '20091120-092238'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '150401',
internalId:  '',
customField: '20100329-105229'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '162622',
internalId:  '',
customField: '20090108-173432'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '162601',
internalId:  '',
customField: '20080613-170245'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '164601',
internalId:  '',
customField: '20080613-172103'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '264912',
internalId:  '',
customField: '20091021-110020'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '270812',
internalId:  '',
customField: '20091021-110250'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '271612',
internalId:  '',
customField: '20091021-101242'
};
webappMappings['1007']={
webappId:    '1007',
documentId:  '273912',
internalId:  '12448150d1e',
customField: 'g.14h42ai4g.290e3tkh6m.1s'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '273912',
internalId:  '',
customField: '20091021-110444'
};
webappMappings['1007']={
webappId:    '1007',
documentId:  '276312',
internalId:  '124499faf18',
customField: 'g.14h4smu9j.884rp91ue3.1s'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '276312',
internalId:  '',
customField: '20091012-190017'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '232001',
internalId:  '12890415',
customField: 'fr:FR:'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '294312',
internalId:  '',
customField: '20091116-181740'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '305412',
internalId:  '',
customField: '20091124-122610'
};
webappMappings['1501']={
webappId:    '1501',
documentId:  '9064',
internalId:  '4368487',
customField: '1501'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '307912',
internalId:  '',
customField: '20100331-113524'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '315112',
internalId:  '',
customField: '20100402-113756'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '318912',
internalId:  '',
customField: '20100329-105948'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '320412',
internalId:  '',
customField: '20100329-104452'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010INEZ4V';
var companyName   = 'BLUE+CAPS';
var htmlTitle	  = 'www.blue-caps.com';
var metaKeywords  = 'pi%C3%A8ces+tune+roues+tune+tune+v%C3%A9lo+thm+clavicula+tune+cane+creek+carbon-ti++btp+hudz+schmolke+new+ultimate+paduano+pi%C3%A8ce+v%C3%A9lo+light+v%C3%A9lo+l%C3%A9ger+vtt+cadre+titane+cadre+carbone+p%C3%A9dalier+pneus+v%C3%A9lo+boyaux+jeu+de+direction+moyeux+roues+roues+carbone+fourche+porte+bidon+fourche+titane+guidon+guidon+a%C3%A9ro+guidon+triathlon+potence+tige+de+selle+visserrie+titane+visserie+aluminium+roues+vtt';
var metaContents  = 'Les+meilleurs+accessoires+pour+v%C3%A9los+de+route+et+vtt%2C+qualit%C3%A9%2C+l%C3%A9g%C3%A8ret%C3%A9%2C+fiabilit%C3%A9...';
					                                                                    
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;                                                                     
	};                                                                               
/* EOF */					                                                            
