/* [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','4599',jdecode('Accueil'),jdecode(''),'/4599.html','true',[],''],
	['PAGE','7102',jdecode('News'),jdecode(''),'/7102.html','true',[],''],
	['PAGE','49402',jdecode('Le+Blokart+Team'),jdecode(''),'/49402/index.html','true',[ 
		['PAGE','49102',jdecode('L%26%23x27%3BAssociation+%28volgende+pagina%29'),jdecode(''),'/49402/49102.html','false',[],''],
		['PAGE','5683',jdecode('Devenir+membre'),jdecode(''),'/49402/5683.html','true',[],''],
		['PAGE','5656',jdecode('L%26%23x27%3Bassociation'),jdecode(''),'/49402/5656.html','true',[],''],
		['PAGE','5710',jdecode('Une+classe+internationale'),jdecode(''),'/49402/5710.html','true',[],'']
	],''],
	['PAGE','14702',jdecode('Passion+Blokart'),jdecode(''),'/14702/index.html','true',[ 
		['PAGE','7345',jdecode('Trucs+et+astuces'),jdecode(''),'/14702/7345.html','true',[],''],
		['PAGE','84901',jdecode('Essais'),jdecode(''),'/14702/84901.html','true',[],''],
		['PAGE','14729',jdecode('Portaits'),jdecode(''),'/14702/14729.html','true',[],''],
		['PAGE','32602',jdecode('Interview'),jdecode(''),'/14702/32602.html','true',[],''],
		['PAGE','14756',jdecode('Liens'),jdecode(''),'/14702/14756.html','true',[],'']
	],''],
	['PAGE','7129',jdecode('Saisons+2006-2008'),jdecode(''),'/7129/index.html','true',[ 
		['PAGE','7156',jdecode('Penthi%C3%A8vre+%2807%2F06%29'),jdecode(''),'/7129/7156.html','true',[],''],
		['PAGE','7183',jdecode('Ouddorp+%2810%2F06%29'),jdecode(''),'/7129/7183.html','true',[],''],
		['PAGE','7210',jdecode('Oostend+%2811%2F06%29'),jdecode(''),'/7129/7210.html','true',[],''],
		['PAGE','7237',jdecode('Gwithian+Beach+11%2F06'),jdecode(''),'/7129/7237.html','true',[],''],
		['PAGE','26617',jdecode('St+Malo+%2803%2F07%29'),jdecode(''),'/7129/26617.html','true',[],''],
		['PAGE','23916',jdecode('Leucate+%2806%2F07%29'),jdecode(''),'/7129/23916.html','true',[],''],
		['PAGE','50436',jdecode('Berck+%2809%2F07%29'),jdecode(''),'/7129/50436.html','true',[],''],
		['PAGE','64901',jdecode('Oostend+%2810%2F07%29'),jdecode(''),'/7129/64901.html','true',[],''],
		['PAGE','87501',jdecode('Berck+%2802%2F08%29'),jdecode(''),'/7129/87501.html','true',[],''],
		['PAGE','91401',jdecode('Mt+St+Michel+%2803%2F08%29'),jdecode(''),'/7129/91401.html','true',[],''],
		['PAGE','88401',jdecode('Ipanvah+%2803-04%2F08%29'),jdecode(''),'/7129/88401.html','true',[],''],
		['PAGE','95901',jdecode('Penthi%C3%A8vre+%2805%2F08%29'),jdecode(''),'/7129/95901.html','true',[],''],
		['PAGE','98301',jdecode('Leucate+%2806%2F08%29'),jdecode(''),'/7129/98301.html','true',[],'']
	],''],
	['PAGE','102901',jdecode('Saison+2008-2009'),jdecode(''),'/102901/index.html','true',[ 
		['PAGE','105201',jdecode('Berck+%2809%2F08%29'),jdecode(''),'/102901/105201.html','true',[],''],
		['PAGE','105222',jdecode('St+Hilaire+de+Riez+%2810%2F08%29'),jdecode(''),'/102901/105222.html','true',[],''],
		['PAGE','105243',jdecode('Oostend+%2811%2F08%29'),jdecode(''),'/102901/105243.html','true',[],''],
		['PAGE','105264',jdecode('Fort+Mahon+%2811%2F08%29'),jdecode(''),'/102901/105264.html','true',[],''],
		['PAGE','114001',jdecode('Omaha+Beach+%2812%2F08%29'),jdecode(''),'/102901/114001.html','true',[],''],
		['PAGE','118012',jdecode('Berck+%2803%2F09%29'),jdecode(''),'/102901/118012.html','true',[],''],
		['PAGE','116401',jdecode('Mt+St+Michel+%2803%2F09%29'),jdecode(''),'/102901/116401.html','true',[],''],
		['PAGE','121012',jdecode('Omaha+Beach+%2804%2F09%29'),jdecode(''),'/102901/121012.html','true',[],''],
		['PAGE','125112',jdecode('Barneville+-+Grandville+05%2F09'),jdecode(''),'/102901/125112.html','true',[],''],
		['PAGE','126812',jdecode('Leucate+-+La+Franqui+%2806%2F09%29'),jdecode(''),'/102901/126812.html','true',[],'']
	],''],
	['PAGE','134112',jdecode('Saison+2009-2010'),jdecode(''),'/134112/index.html','true',[ 
		['PAGE','134133',jdecode('Penthi%C3%A8vre+5-6+sept.'),jdecode(''),'/134112/134133.html','true',[],''],
		['PAGE','134154',jdecode('Berck+26-27+sept.'),jdecode(''),'/134112/134154.html','true',[],''],
		['PAGE','134217',jdecode('Oostend+Bobco+24-25+Oct'),jdecode(''),'/134112/134217.html','true',[],''],
		['PAGE','151212',jdecode('St+Malo+30-31+janvier'),jdecode(''),'/134112/151212.html','true',[],''],
		['PAGE','154212',jdecode('WEBB+13-14+mars'),jdecode(''),'/134112/154212.html','true',[],''],
		['PAGE','159112',jdecode('Berck+4+avril'),jdecode(''),'/134112/159112.html','true',[],''],
		['PAGE','167612',jdecode('La+Franqui+15-16+mai'),jdecode(''),'/134112/167612.html','true',[],'']
	],''],
	['PAGE','159912',jdecode('Saison+2010-2011'),jdecode(''),'/159912/index.html','true',[ 
		['PAGE','179112',jdecode('Penthi%C3%A8vre+28-29+ao%C3%BBt'),jdecode(''),'/159912/179112.html','true',[],''],
		['PAGE','179912',jdecode('Berck+18-19+sept.'),jdecode(''),'/159912/179912.html','true',[],''],
		['PAGE','159933',jdecode('Oostend+13-17+oct.'),jdecode(''),'/159912/159933.html','true',[],'']
	],''],
	['PAGE','142712',jdecode('D%C3%A9l%C3%A9gu%C3%A9s+r%C3%A9gionaux'),jdecode(''),'/142712.html','true',[],''],
	['PAGE','7264',jdecode('Spots'),jdecode(''),'/7264/index.html','true',[ 
		['PAGE','12902',jdecode('Nord+et+Picardie'),jdecode(''),'/7264/12902.html','true',[],''],
		['PAGE','10502',jdecode('Normandie'),jdecode(''),'/7264/10502.html','true',[],''],
		['PAGE','10556',jdecode('Bretagne'),jdecode(''),'/7264/10556.html','true',[],''],
		['PAGE','12929',jdecode('Pays+de+Loire'),jdecode(''),'/7264/12929.html','true',[],''],
		['PAGE','10529',jdecode('Aquitaine'),jdecode(''),'/7264/10529.html','true',[],''],
		['PAGE','10583',jdecode('M%C3%A9diterran%C3%A9e'),jdecode(''),'/7264/10583.html','true',[],'']
	],''],
	['PAGE','56602',jdecode('Albums+Photos'),jdecode(''),'/56602/index.html','true',[ 
		['PAGE','20502',jdecode('Open+de+Leucate'),jdecode(''),'/56602/20502.html','true',[],''],
		['PAGE','56302',jdecode('Berck+Blokart+Cup'),jdecode(''),'/56602/56302.html','true',[],''],
		['PAGE','79601',jdecode('Volvo+EBC+Oostend'),jdecode(''),'/56602/79601.html','true',[],''],
		['PAGE','175512',jdecode('100+km+la+Franqui+-+15+mai+2010'),jdecode(''),'/56602/175512.html','true',[],''],
		['PAGE','176912',jdecode('Les+Ar%C3%A8nes+de+Bacar%C3%A8s+-+16+mai+2010'),jdecode(''),'/56602/176912.html','true',[],'']
	],''],
	['PAGE','60401',jdecode('Forum'),jdecode(''),'/60401.html','true',[],''],
	['PAGE','58205',jdecode('Petites+Annonces'),jdecode(''),'/58205.html','true',[],''],
	['PAGE','48902',jdecode('Contactez-nous+%21'),jdecode(''),'/48902/index.html','true',[ 
		['PAGE','22102',jdecode('Qui+sommes-nous+%3F+%28volgende+pagina%29'),jdecode(''),'/48902/22102.html','false',[],'']
	],''],
	['PAGE','5602',jdecode('Mentions+l%C3%A9gales'),jdecode(''),'/5602.html','true',[],'']];
var siteelementCount=69;
theSitetree.topTemplateName='Alpha';
theSitetree.paletteFamily='5351C2';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10555';
theSitetree.graphicsetId='10894';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Alpha',
				paletteFamily: 	'5351C2',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10555',
				graphicsetId: 	'10894',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'5351C2',
				e_color: 		'5351C2',
				f_color: 		'5351C2',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1007']={
webappId:    '1007',
documentId:  '20502',
internalId:  '10feda6a29a',
customField: 'g.12lfg9r64.355mtm259lenb.6rn80'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '49402',
internalId:  '',
customField: '20071004-201840'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '4599',
internalId:  '1006',
customField: '1006'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '22102',
internalId:  'aam010inv21i11001fd457e',
customField: 'followUp'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '48902',
internalId:  'aam010inv21i1131b06a29c',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '49102',
internalId:  'aam010inv21i1131b06a29c',
customField: 'followUp'
};
webappMappings['1007']={
webappId:    '1007',
documentId:  '56302',
internalId:  '1155b1fcafc',
customField: 'g.12lfg9r7c.67nc1cngr9v96.6rn80'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4599',
internalId:  '',
customField: '20100707-212621'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '56602',
internalId:  '',
customField: '20100602-153951'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '56302',
internalId:  '',
customField: '20100602-152024'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '60401',
internalId:  '',
customField: '20090821-200953'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '58205',
internalId:  '',
customField: '20100503-223903'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '49102',
internalId:  '',
customField: '20070611-154346'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5656',
internalId:  '',
customField: '20091120-124111'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5683',
internalId:  '',
customField: '20091029-154410'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5710',
internalId:  '',
customField: '20091028-211546'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '7102',
internalId:  '',
customField: '20100707-212913'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14702',
internalId:  '',
customField: '20080922-162052'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '7345',
internalId:  '',
customField: '20070307-141344'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14729',
internalId:  '',
customField: '20080922-163508'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '32602',
internalId:  '',
customField: '20080922-155556'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14756',
internalId:  '',
customField: '20080407-120418'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '7129',
internalId:  '',
customField: '20080717-200102'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '7156',
internalId:  '',
customField: '20100306-114739'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '7183',
internalId:  '',
customField: '20061229-145035'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '7210',
internalId:  '',
customField: '20070208-094926'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '7237',
internalId:  '',
customField: '20061229-144758'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '26617',
internalId:  '',
customField: '20071004-200741'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '23916',
internalId:  '',
customField: '20070609-202653'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '50436',
internalId:  '',
customField: '20071001-125652'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '7264',
internalId:  '',
customField: '20091116-110754'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '12902',
internalId:  '',
customField: '20070611-163348'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '10502',
internalId:  '',
customField: '20070310-145551'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '10556',
internalId:  '',
customField: '20091116-165213'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '12929',
internalId:  '',
customField: '20061227-153015'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '10529',
internalId:  '',
customField: '20061226-195512'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '10583',
internalId:  '',
customField: '20061226-195512'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '20502',
internalId:  '',
customField: '20071001-124506'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '48902',
internalId:  '',
customField: '20071001-142437'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '22102',
internalId:  '',
customField: '20070108-145440'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5602',
internalId:  '',
customField: '20070104-143413'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '151212',
internalId:  '',
customField: '20100227-211235'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '64901',
internalId:  '',
customField: '20071030-154303'
};
webappMappings['1007']={
webappId:    '1007',
documentId:  '79601',
internalId:  '115ed12cd52',
customField: 'g.12nmg3fgm.csiv3gg617.1s'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '84901',
internalId:  '',
customField: '20080110-184511'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '79601',
internalId:  '',
customField: '20100602-152153'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '87501',
internalId:  '',
customField: '20080218-143047'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '88401',
internalId:  '',
customField: '20080902-104801'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '91401',
internalId:  '',
customField: '20090204-190041'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '95901',
internalId:  '11981145',
customField: 'fr:FR:'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '95901',
internalId:  '',
customField: '20080402-120237'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '98301',
internalId:  '',
customField: '20080522-152553'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '98301',
internalId:  '11998189',
customField: 'fr:FR:'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '102901',
internalId:  '',
customField: '20090820-211714'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '105201',
internalId:  '',
customField: '20080924-202532'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '105264',
internalId:  '',
customField: '20081106-193409'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '105243',
internalId:  '',
customField: '20081120-105425'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '105222',
internalId:  '',
customField: '20081020-120050'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '105264',
internalId:  '12298045',
customField: 'fr:FR:'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '114001',
internalId:  '',
customField: '20081120-145731'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '116401',
internalId:  '',
customField: '20090330-172916'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '125112',
internalId:  '',
customField: '20090421-234334'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '118012',
internalId:  '',
customField: '20090317-165741'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '121012',
internalId:  '',
customField: '20090317-164945'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '125112',
internalId:  '12592831',
customField: 'fr:FR:'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '126812',
internalId:  '',
customField: '20090611-203622'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '134112',
internalId:  '',
customField: '20100601-205129'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '134133',
internalId:  '',
customField: '20090820-221301'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '134133',
internalId:  '11981145',
customField: 'fr:FR:'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '134154',
internalId:  '',
customField: '20091120-002607'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '142712',
internalId:  '',
customField: '20091103-120050'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '142712',
internalId:  '12874502',
customField: 'fr:FR:'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '134217',
internalId:  '',
customField: '20091118-101925'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '154212',
internalId:  '',
customField: '20100331-194654'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '167612',
internalId:  '',
customField: '20100603-120024'
};
webappMappings['1007']={
webappId:    '1007',
documentId:  '175512',
internalId:  '128f8a3bdb2',
customField: 'g.153s9p8to.80spka7sbp.3o'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '159112',
internalId:  '',
customField: '20100320-111355'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '159912',
internalId:  '',
customField: '20100707-213020'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '159933',
internalId:  '',
customField: '20100327-103052'
};
webappMappings['1007']={
webappId:    '1007',
documentId:  '176912',
internalId:  '128f8b6bb48',
customField: 'g.153sb6khr.8155um0lq3.3o'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '175512',
internalId:  '',
customField: '20100602-152101'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '176912',
internalId:  '',
customField: '20100602-152119'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '179112',
internalId:  '',
customField: '20100701-211535'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '179912',
internalId:  '',
customField: '20100707-213532'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010INV21I';
var companyName   = 'Association+Blokart+Team+France';
var htmlTitle	  = 'Association+Blokart+Team+France';
var metaKeywords  = 'Association+Blokart+France+char+voile+kart+voile+team+pilote';
var metaContents  = 'Association+Blokart+Team+France.+A+travers+notre+association+nous+souhaitons+encourager+la+pratique+du+Blokart+par+tous+%3A+enfants%2C+adultes%2C+handicapes.+Partager+et+echanger+des+informations.+Vivre+des+instants+Blokart';
					                                                                    
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 */					                                                            
