/* [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','501',jdecode('Cano%C3%ABCamping+plage'),jdecode(''),'/501.html','true',[],''],
	['PAGE','140101',jdecode('Photos'),jdecode(''),'/140101/index.html','true',[ 
		['PAGE','139501',jdecode('Velo%2FRad-Tours'),jdecode(''),'/140101/139501.html','true',[],''],
		['PAGE','24822',jdecode('Plage%2Fbeach%2FStrand'),jdecode(''),'/140101/24822.html','true',[],''],
		['PAGE','24843',jdecode('Port%2FAnlegestelle+cano%C3%AB%2Fkayak'),jdecode(''),'/140101/24843.html','true',[],''],
		['PAGE','140501',jdecode('P%C3%AAche%2FFishing%2FAngeln'),jdecode(''),'/140101/140501.html','true',[],''],
		['PAGE','140522',jdecode('LPO%2FNatur%28e%29-Reservat'),jdecode(''),'/140101/140522.html','true',[],'']
	],''],
	['PAGE','12501',jdecode('OFFRES+SPECIALS'),jdecode(''),'/12501/index.html','true',[ 
		['PAGE','87401',jdecode('HANDICAP%C3%A9s+-20%25'),jdecode(''),'/12501/87401.html','true',[],''],
		['PAGE','98501',jdecode('DCC+-15+oder+-20%25+oder'),jdecode(''),'/12501/98501.html','true',[],''],
		['PAGE','115801',jdecode('DCC-8%E2%82%AC-Familienpreis+'),jdecode(''),'/12501/115801.html','true',[],''],
		['PAGE','85201',jdecode('ANCV+-20%25'),jdecode(''),'/12501/85201.html','true',[],''],
		['PAGE','141422',jdecode('DCU+-20%25'),jdecode(''),'/12501/141422.html','true',[],''],
		['PAGE','97843',jdecode('FFCC+-20%25'),jdecode(''),'/12501/97843.html','true',[],''],
		['PAGE','84401',jdecode('CCI%2FCKE%2FEFCO+-20%25'),jdecode(''),'/12501/84401.html','true',[],''],
		['PAGE','97864',jdecode('Club+del+PleinAir+-20%25'),jdecode(''),'/12501/97864.html','true',[],''],
		['PAGE','110801',jdecode('TURIT++++++++++++++-20%25+'),jdecode(''),'/12501/110801.html','true',[],''],
		['PAGE','85222',jdecode('IPA++-20%25'),jdecode(''),'/12501/85222.html','true',[],''],
		['PAGE','130822',jdecode('ONF+-20%25'),jdecode(''),'/12501/130822.html','true',[],''],
		['PAGE','130801',jdecode('LPO+-20%25'),jdecode(''),'/12501/130801.html','true',[],''],
		['PAGE','141401',jdecode('IG-Open+Canoe+-20%25'),jdecode(''),'/12501/141401.html','true',[],''],
		['PAGE','123101',jdecode('SKV%2FSOC+-20%25'),jdecode(''),'/12501/123101.html','true',[],''],
		['PAGE','98522',jdecode('NKC+-20%25'),jdecode(''),'/12501/98522.html','true',[],''],
		['PAGE','118401',jdecode('SVR+-20%25'),jdecode(''),'/12501/118401.html','true',[],''],
		['PAGE','137001',jdecode('SCR+-20%25'),jdecode(''),'/12501/137001.html','true',[],''],
		['PAGE','116201',jdecode('Acsi+welcome+-20%25'),jdecode(''),'/12501/116201.html','true',[],''],
		['PAGE','137401',jdecode('Best+Deal+welcome+-20%25'),jdecode(''),'/12501/137401.html','true',[],''],
		['PAGE','97885',jdecode('Camping-bon++++-20%25+'),jdecode(''),'/12501/97885.html','true',[],'']
	],''],
	['PAGE','24864',jdecode('TARIF+%26+R%C3%A9ductions+'),jdecode(''),'/24864/index.html','true',[ 
		['PAGE','94301',jdecode('HANDICAP%C3%A9s+-20%25'),jdecode(''),'/24864/94301.html','true',[],''],
		['PAGE','85243',jdecode('3+nuits+%3D+facture+-10%25+'),jdecode(''),'/24864/85243.html','true',[],''],
		['PAGE','85264',jdecode('7+nuits+%3D+6+pay%C3%A9+'),jdecode(''),'/24864/85264.html','true',[],''],
		['PAGE','85285',jdecode('14+nights+%3D+11+payed'),jdecode(''),'/24864/85285.html','true',[],''],
		['PAGE','85306',jdecode('21+nachten+%3D+16+betaald'),jdecode(''),'/24864/85306.html','true',[],''],
		['PAGE','85327',jdecode('28+N%C3%A4chte+%3D+21+bezahlt'),jdecode(''),'/24864/85327.html','true',[],''],
		['PAGE','86501',jdecode('1+mois+%3D+facture+-30%25'),jdecode(''),'/24864/86501.html','true',[],''],
		['PAGE','87001',jdecode('Groupe+%3E14+personnes'),jdecode(''),'/24864/87001.html','true',[],''],
		['PAGE','100101',jdecode('Offres+%26+prix+SNACK'),jdecode(''),'/24864/100101.html','true',[],''],
		['PAGE','100122',jdecode('Offres+%26+prix+BAR'),jdecode(''),'/24864/100122.html','true',[],''],
		['PAGE','100143',jdecode('Offres+%26+prix+MAGAZIN'),jdecode(''),'/24864/100143.html','true',[],''],
		['PAGE','100164',jdecode('Offres+%26+prix+d%C3%A9p%C3%B4t+PAIN'),jdecode(''),'/24864/100164.html','true',[],''],
		['PAGE','100185',jdecode('Offres+%26+prix+d%C3%A9p%C3%B4t+GAZ'),jdecode(''),'/24864/100185.html','true',[],''],
		['PAGE','100206',jdecode('Offres+%26+prix+GLACE%2FEis'),jdecode(''),'/24864/100206.html','true',[],''],
		['PAGE','100227',jdecode('Offres+%26+prix+LOISIRS'),jdecode(''),'/24864/100227.html','true',[],''],
		['PAGE','100248',jdecode('Wifi-%2FWLAN-Hotspots+gratuits'),jdecode(''),'/24864/100248.html','true',[],''],
		['PAGE','100269',jdecode('BORNE+INTERNET+gratuit'),jdecode(''),'/24864/100269.html','true',[],''],
		['PAGE','100290',jdecode('Babyfoot+gratuit'),jdecode(''),'/24864/100290.html','true',[],''],
		['PAGE','100311',jdecode('PingPong+gratuit'),jdecode(''),'/24864/100311.html','true',[],''],
		['PAGE','100332',jdecode('Minigolf'),jdecode(''),'/24864/100332.html','true',[],''],
		['PAGE','100353',jdecode('Location+v%C3%A9l%C3%B2'),jdecode(''),'/24864/100353.html','true',[],''],
		['PAGE','100374',jdecode('Location+cano%C3%AB'),jdecode(''),'/24864/100374.html','true',[],'']
	],''],
	['PAGE','24801',jdecode('Bienvenu+Campingcars%2FPrix'),jdecode(''),'/24801/index.html','true',[ 
		['PAGE','97801',jdecode('Stop+Acceuil+Camping-Car+'),jdecode(''),'/24801/97801.html','true',[],''],
		['PAGE','97822',jdecode('NKC'),jdecode(''),'/24801/97822.html','true',[],'']
	],''],
	['PAGE','103601',jdecode('Forfait+TRAVAILLEUR%2FSTAGE'),jdecode(''),'/103601.html','true',[],''],
	['PAGE','100395',jdecode('PRIX+machine+%C3%A0+laver+%3D+3%E2%82%AC'),jdecode(''),'/100395.html','true',[],''],
	['PAGE','100416',jdecode('PRIX+s%C3%AAche+linge+%3D+3%E2%82%AC'),jdecode(''),'/100416.html','true',[],''],
	['PAGE','74501',jdecode('Prix+%22grand+MERCI%22+Fidelit%C3%A9'),jdecode(''),'/74501.html','true',[],''],
	['PAGE','75201',jdecode('Liens%2FLinks'),jdecode(''),'/75201/index.html','true',[ 
		['PAGE','131901',jdecode('Liens%2FLinks+Info+touristique'),jdecode(''),'/75201/131901.html','true',[],''],
		['PAGE','132701',jdecode('Links+M%C3%A9teo%2FWetter%2FVigicrue'),jdecode(''),'/75201/132701.html','true',[],''],
		['PAGE','132722',jdecode('Manifestations%2FFestivals'),jdecode(''),'/75201/132722.html','true',[],''],
		['PAGE','132743',jdecode('Links+Nature'),jdecode(''),'/75201/132743.html','true',[],''],
		['PAGE','132764',jdecode('Links+Vin+de+St.Pour%C3%A7ain+s%2FS'),jdecode(''),'/75201/132764.html','true',[],''],
		['PAGE','132785',jdecode('Links+Petits+Artisans'),jdecode(''),'/75201/132785.html','true',[],''],
		['PAGE','132806',jdecode('Liens+Beaux+Villages'),jdecode(''),'/75201/132806.html','true',[],''],
		['PAGE','132827',jdecode('Links+Cano%C3%ABing'),jdecode(''),'/75201/132827.html','true',[],''],
		['PAGE','131922',jdecode('Links+Brocantes%2FTr%C3%B6delm%C3%A4rkte'),jdecode(''),'/75201/131922.html','true',[],''],
		['PAGE','131943',jdecode('Liens%2FLinks+Camping'),jdecode(''),'/75201/131943.html','true',[],'']
	],''],
	['PAGE','24885',jdecode('Formulaire%2FContact'),jdecode(''),'/24885.html','true',[],''],
	['PAGE','113901',jdecode('Carte+routi%C3%A8re%2FPlan%2Fwegenkaart'),jdecode(''),'/113901.html','true',[],'']];
var siteelementCount=71;
theSitetree.topTemplateName='Family';
theSitetree.paletteFamily='F5D7B8';
theSitetree.keyvisualId='3826';
theSitetree.keyvisualName='kv_3826.jpg';
theSitetree.fontsetId='10636';
theSitetree.graphicsetId='11019';
theSitetree.contentColor='A00000';
theSitetree.contentBGColor='F5D7B8';
var theTemplate={
				name: 			'Family',
				paletteFamily: 	'F5D7B8',
				keyvisualId: 	'3826',
				keyvisualName: 	'kv_3826.jpg',
				fontsetId: 		'10636',
				graphicsetId: 	'11019',
				contentColor: 	'A00000',
				contentBGColor: 'F5D7B8',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'AEAEAF',
				e_color: 		'AEAEAF',
				f_color: 		'AEAEAF',
				hasCustomLogo: 	'false',
				contentFontFace:'Times New Roman, Times, serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['5000']={
webappId:    '5000',
documentId:  '501',
internalId:  '',
customField: '20120127-200659'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '501',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '12501',
internalId:  '',
customField: '20110525-093519'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '24801',
internalId:  '',
customField: '20110525-102326'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '24822',
internalId:  '',
customField: '20120110-190206'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '24843',
internalId:  '',
customField: '20120110-190310'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '24864',
internalId:  '',
customField: '20120110-190830'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '24885',
internalId:  '',
customField: '20110525-103304'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '24885',
internalId:  '4708529',
customField: 'fr:FR:'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '74501',
internalId:  '',
customField: '20110525-103142'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '75201',
internalId:  '',
customField: '20110601-002418'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '85201',
internalId:  '',
customField: '20110525-093603'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '84401',
internalId:  '',
customField: '20110525-094914'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '85222',
internalId:  '',
customField: '20110525-095145'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '85243',
internalId:  '',
customField: '20110525-101208'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '85264',
internalId:  '',
customField: '20110525-101238'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '85285',
internalId:  '',
customField: '20110525-101306'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '85306',
internalId:  '',
customField: '20110525-101334'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '85327',
internalId:  '',
customField: '20110525-101409'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '86501',
internalId:  '',
customField: '20110525-101434'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '87001',
internalId:  '',
customField: '20110701-080234'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '87401',
internalId:  '',
customField: '20110525-095418'
};
webappMappings['1501']={
webappId:    '1501',
documentId:  '501',
internalId:  '7329909',
customField: '1501'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '94301',
internalId:  '',
customField: '20110525-101118'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '97801',
internalId:  '',
customField: '20110525-102827'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '97822',
internalId:  '',
customField: '20110525-102852'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '97843',
internalId:  '',
customField: '20110525-094806'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '97864',
internalId:  '',
customField: '20110525-095245'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '97885',
internalId:  '',
customField: '20110525-095351'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '98501',
internalId:  '',
customField: '20110701-074634'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '98522',
internalId:  '',
customField: '20110525-095216'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '100101',
internalId:  '',
customField: '20110525-101558'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '100122',
internalId:  '',
customField: '20110525-101642'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '100143',
internalId:  '',
customField: '20110525-101712'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '100164',
internalId:  '',
customField: '20110525-101741'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '100185',
internalId:  '',
customField: '20110525-101809'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '100206',
internalId:  '',
customField: '20110525-101840'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '100227',
internalId:  '',
customField: '20110525-101904'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '100248',
internalId:  '',
customField: '20110525-101939'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '100269',
internalId:  '',
customField: '20110525-102006'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '100290',
internalId:  '',
customField: '20110525-102032'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '100311',
internalId:  '',
customField: '20110525-102115'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '100332',
internalId:  '',
customField: '20110525-102144'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '100353',
internalId:  '',
customField: '20110525-102215'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '100374',
internalId:  '',
customField: '20110525-102249'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '100395',
internalId:  '',
customField: '20110525-103001'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '100416',
internalId:  '',
customField: '20110525-103050'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '103601',
internalId:  '',
customField: '20110525-102924'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '110801',
internalId:  '',
customField: '20110525-095310'
};
webappMappings['2001']={
webappId:    '2001',
documentId:  '113901',
internalId:  'location',
customField: 'language:fr;country:FR;isIncluded:false;'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '113901',
internalId:  '',
customField: '20110525-103333'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '115801',
internalId:  '',
customField: '20110701-074050'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '116201',
internalId:  '',
customField: '20110525-095103'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '118401',
internalId:  '',
customField: '20110525-095034'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '123101',
internalId:  '',
customField: '20110525-095003'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '130801',
internalId:  '',
customField: '20110528-120749'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '130822',
internalId:  '',
customField: '20110528-121011'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '131901',
internalId:  '',
customField: '20110529-183723'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '131922',
internalId:  '',
customField: '20110531-234236'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '131943',
internalId:  '',
customField: '20110529-183723'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '132827',
internalId:  '',
customField: '20110529-224232'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '132701',
internalId:  '',
customField: '20110529-223638'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '132722',
internalId:  '',
customField: '20110601-094804'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '132743',
internalId:  '',
customField: '20110529-223638'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '132764',
internalId:  '',
customField: '20110529-223638'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '132785',
internalId:  '',
customField: '20110529-223638'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '132806',
internalId:  '',
customField: '20110529-223638'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '137001',
internalId:  '',
customField: '20110630-190538'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '137401',
internalId:  '',
customField: '20110630-195559'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '139501',
internalId:  '',
customField: '20110730-213623'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '140101',
internalId:  '',
customField: '20110730-201811'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '140501',
internalId:  '',
customField: '20110730-203107'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '140522',
internalId:  '',
customField: '20110730-203107'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '141401',
internalId:  '',
customField: '20110907-060502'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '141422',
internalId:  '',
customField: '20110907-060502'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010INLX6G';
var companyName   = 'Canoe+Camping+La+Courtine+Pro+Nature+';
var htmlTitle	  = 'Cano%C3%ABCamping+La+Courtine+Pro+Nature';
var metaKeywords  = 'pro+Nature%2C+Camping+Auvergne-Nord%2C+Relax%2C+LaClefVerte%2C+Wifi+gratuit%2C+hotspot+gratis%2C+canoe%2C+d%C3%A9veloppement+durable%2C+grands+emplacements%2C+prix+bas%2C+offres+specials%2C+Sonderangebote%2C+Freundschaftspreis%2C+Sparschein++++';
var metaContents  = 'Auvergne%2C+Bourgogne%2C+Natur%2C+environnement+durable%2C+Hotspot+gratuit%2C+Wifi+gratis%2C+offres+specials%2C+reductons%2C+tranquile%2C+grands+emplacements%2C+canoe-transport%2C+biere+pression%2C+bar%2C+snack%2C+centre+lavage%2C+machine-%C3%A0-laver%2C+s%C3%AAche-linge%2C+reserve+naturelle+des+oiseaux%2C+Vogelschutzgebiet%2C+Fluss%2C+Strand%2C+Schwimmen%2C+Radfahren%2C+Wandern%2C+randonner+%C3%A0+pied%2C+v%C3%A9lo%2C+cano%C3%AB+et+moto%2C+ottorrad%2C+motobyke';
					                                                                    
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 */					                                                            

