/* [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','1508',jdecode('Home'),jdecode(''),'/1508.html','true',[],''],
	['PAGE','141123',jdecode('Fran%C3%A7ais'),jdecode(''),'/141123/index.html','true',[ 
		['PAGE','1565',jdecode('Qui+sommes-nous%3F'),jdecode(''),'/141123/1565.html','true',[],''],
		['PAGE','46509',jdecode('Travail+avec+les+enfants'),jdecode(''),'/141123/46509.html','true',[],'']
	],''],
	['PAGE','161344',jdecode('Ateliers+de+peinture'),jdecode(''),'/161344.html','true',[],''],
	['PAGE','100675',jdecode('+++++Nos+expositions'),jdecode(''),'/100675/index.html','true',[ 
		['PAGE','171523',jdecode('GazteArtea+Garazin'),jdecode(''),'/100675/171523.html','true',[],''],
		['PAGE','161365',jdecode('Bertrand+Philippart+7%2F2011'),jdecode(''),'/100675/161365.html','true',[],''],
		['PAGE','150223',jdecode('Olmo%2C+Etxebarria%2C+Dacosta+5-6%2F11+'),jdecode(''),'/100675/150223.html','true',[],''],
		['PAGE','144744',jdecode('L%26%23x27%3BArt+au+f%C3%A9minin+V+3-4%2F11'),jdecode(''),'/100675/144744.html','true',[],''],
		['PAGE','137112',jdecode('Horizons+divers+II+10-12%2F10'),jdecode(''),'/100675/137112.html','true',[],''],
		['PAGE','132312',jdecode('Impulsos+-+mai%2Fjuin+2010'),jdecode(''),'/100675/132312.html','true',[],''],
		['PAGE','121912',jdecode('L%26%23x27%3BArt+au+f%C3%A9minin+IV+3-4%2F10'),jdecode(''),'/100675/121912.html','true',[],''],
		['PAGE','114712',jdecode('Horizons+divers+10-11%2F09'),jdecode(''),'/100675/114712.html','true',[],''],
		['PAGE','107812',jdecode('SOLIDO+%2F+LIKIDO+09'),jdecode(''),'/100675/107812.html','true',[],''],
		['PAGE','100612',jdecode('L%26%23x27%3Bart+au+f%C3%A9minin+III+3-4%2F09'),jdecode(''),'/100675/100612.html','true',[],''],
		['PAGE','87601',jdecode('L%26%23x27%3BArt+du+Collage+11-12%2F08'),jdecode(''),'/100675/87601.html','true',[],''],
		['PAGE','82501',jdecode('L%26%23x27%3BArt+de+la+Cueillette+6-7%2F08'),jdecode(''),'/100675/82501.html','true',[],''],
		['PAGE','74201',jdecode('L%26%23x27%3BArt+au+f%C3%A9minin+II+3%2F08'),jdecode(''),'/100675/74201.html','true',[],''],
		['PAGE','45703',jdecode('L%26%23x27%3BArt+du+Portrait+11-12%2F07'),jdecode(''),'/100675/45703.html','true',[],''],
		['PAGE','50016',jdecode('L%26%23x27%3BArt+au+f%C3%A9minin+3%2F07'),jdecode(''),'/100675/50016.html','true',[],''],
		['PAGE','52712',jdecode('Les+chaises+de+Gorriti+5-6%2F07'),jdecode(''),'/100675/52712.html','true',[],''],
		['PAGE','13201',jdecode('Un+exemple+de+jeu-guide'),jdecode(''),'/100675/13201.html','true',[],''],
		['PAGE','13228',jdecode('Juan-Luis+Baroja+6-7%2F05'),jdecode(''),'/100675/13228.html','true',[],''],
		['PAGE','147823',jdecode('Etxebarria+%2F+Olazabal+4%2F05'),jdecode(''),'/100675/147823.html','true',[],'']
	],''],
	['PAGE','13255',jdecode('Contactez-nous'),jdecode(''),'/13255/index.html','true',[ 
		['PAGE','144723',jdecode('Prix+Itzal+aktiboa'),jdecode(''),'/13255/144723.html','true',[],'']
	],''],
	['PAGE','151523',jdecode('Euskara'),jdecode(''),'/151523/index.html','true',[ 
		['PAGE','13282',jdecode('Nor+gara'),jdecode(''),'/151523/13282.html','true',[],'']
	],''],
	['PAGE','163623',jdecode('Margotze+tailerrak'),jdecode(''),'/163623.html','true',[],''],
	['PAGE','102812',jdecode('+++Gure+erakusketak'),jdecode(''),'/102812/index.html','true',[ 
		['PAGE','167223',jdecode('GazteArtea+Garazin+'),jdecode(''),'/102812/167223.html','true',[],''],
		['PAGE','150244',jdecode('Olmo%2C+Etxebarria%2C+Dacosta'),jdecode(''),'/102812/150244.html','true',[],''],
		['PAGE','142023',jdecode('Emazteen+artea+V+3-4+11'),jdecode(''),'/102812/142023.html','true',[],''],
		['PAGE','138112',jdecode('Zeruertz+desberdinak+II+10%2F10'),jdecode(''),'/102812/138112.html','true',[],''],
		['PAGE','132333',jdecode('Impulsos+5-6.10'),jdecode(''),'/102812/132333.html','true',[],''],
		['PAGE','120912',jdecode('Emazteen+artea+IV+3-4.10'),jdecode(''),'/102812/120912.html','true',[],''],
		['PAGE','118112',jdecode('Zeruertz+desberdinak+10.09'),jdecode(''),'/102812/118112.html','true',[],''],
		['PAGE','107833',jdecode('SOLIDO+%2F+LIKIDO+09'),jdecode(''),'/102812/107833.html','true',[],''],
		['PAGE','100633',jdecode('Emazteen+artea+III+3-4.09'),jdecode(''),'/102812/100633.html','true',[],''],
		['PAGE','90312',jdecode('Kolatze+Artea+11.08'),jdecode(''),'/102812/90312.html','true',[],''],
		['PAGE','82522',jdecode('Bilketaren+artea++6.08'),jdecode(''),'/102812/82522.html','true',[],''],
		['PAGE','78801',jdecode('Emazteen+artea+II+3.08'),jdecode(''),'/102812/78801.html','true',[],''],
		['PAGE','46109',jdecode('Erretratuaren+artea+11.07'),jdecode(''),'/102812/46109.html','true',[],''],
		['PAGE','50303',jdecode('Emazteen+artea+3.07'),jdecode(''),'/102812/50303.html','true',[],''],
		['PAGE','48705',jdecode('Expo+Dacosta+11.06'),jdecode(''),'/102812/48705.html','true',[],''],
		['PAGE','13309',jdecode('Expo+Goenaga+6.06'),jdecode(''),'/102812/13309.html','true',[],'']
	],''],
	['PAGE','13363',jdecode('Kontaktua'),jdecode(''),'/13363/index.html','true',[ 
		['PAGE','144765',jdecode('Itzal+aktiboa+saria+'),jdecode(''),'/13363/144765.html','true',[],'']
	],''],
	['PAGE','176923',jdecode('Espa%C3%B1ol'),jdecode(''),'/176923/index.html','true',[ 
		['PAGE','13390',jdecode('Qui%C3%A9nes+somos%3F'),jdecode(''),'/176923/13390.html','true',[],'']
	],''],
	['PAGE','102833',jdecode('+++++Exposiciones'),jdecode(''),'/102833/index.html','true',[ 
		['PAGE','142044',jdecode('GazteArtea+Garazin'),jdecode(''),'/102833/142044.html','true',[],''],
		['PAGE','150265',jdecode('Olmo%2C+Etxebarria%2C+Dacosta'),jdecode(''),'/102833/150265.html','true',[],''],
		['PAGE','144828',jdecode('Arte+en+femenino+V+3-4+11'),jdecode(''),'/102833/144828.html','true',[],''],
		['PAGE','138912',jdecode('Horizontes+diversos+II'),jdecode(''),'/102833/138912.html','true',[],''],
		['PAGE','133012',jdecode('Impulsos+-+5-6.10'),jdecode(''),'/102833/133012.html','true',[],''],
		['PAGE','122412',jdecode('Arte+en+femenino+IV+3-4.10'),jdecode(''),'/102833/122412.html','true',[],''],
		['PAGE','107854',jdecode('SOLIDO+%2F+LIKIDO+09'),jdecode(''),'/102833/107854.html','true',[],''],
		['PAGE','100654',jdecode('Arte+en+femenino+III+'),jdecode(''),'/102833/100654.html','true',[],''],
		['PAGE','89612',jdecode('Arte+del+collage+11+08'),jdecode(''),'/102833/89612.html','true',[],''],
		['PAGE','74222',jdecode('Arte+en+femenino+II+3.08'),jdecode(''),'/102833/74222.html','true',[],''],
		['PAGE','45730',jdecode('Arte+del+retrato+11.07'),jdecode(''),'/102833/45730.html','true',[],'']
	],''],
	['PAGE','13471',jdecode('Cont%C3%A1ctanos'),jdecode(''),'/13471/index.html','true',[ 
		['PAGE','144807',jdecode('Premio+Itzal+aktiboa+2011'),jdecode(''),'/13471/144807.html','true',[],'']
	],''],
	['PAGE','154723',jdecode('English'),jdecode(''),'/154723/index.html','true',[ 
		['PAGE','13498',jdecode('Who+are+we%3F'),jdecode(''),'/154723/13498.html','true',[],''],
		['PAGE','13579',jdecode('Contact+us'),jdecode(''),'/154723/13579.html','true',[],'']
	],''],
	['PAGE','84901',jdecode('+++Exhibitions'),jdecode(''),'/84901/index.html','true',[ 
		['PAGE','171586',jdecode('GazteArtea+Garazin'),jdecode(''),'/84901/171586.html','true',[],''],
		['PAGE','150286',jdecode('Olmo%2C+Etxebarria%2C+Dacosta'),jdecode(''),'/84901/150286.html','true',[],''],
		['PAGE','138933',jdecode('Horizons+Divers+II+10-12%2F2010'),jdecode(''),'/84901/138933.html','true',[],''],
		['PAGE','122912',jdecode('Impulsos+5-6%2F2010'),jdecode(''),'/84901/122912.html','true',[],''],
		['PAGE','107875',jdecode('SOLIDO+%2F+LIKIDO+09'),jdecode(''),'/84901/107875.html','true',[],''],
		['PAGE','105912',jdecode('L%26%23x27%3BArt+au+f%C3%A9minin+III'),jdecode(''),'/84901/105912.html','true',[],''],
		['PAGE','87622',jdecode('The+Art+of+collage'),jdecode(''),'/84901/87622.html','true',[],''],
		['PAGE','13525',jdecode('The+Art+of+portraiture'),jdecode(''),'/84901/13525.html','true',[],'']
	],'']];
var siteelementCount=77;
theSitetree.topTemplateName='Bubbles';
theSitetree.paletteFamily='943FA4';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='13';
theSitetree.graphicsetId='13';
theSitetree.contentColor='000066';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Bubbles',
				paletteFamily: 	'943FA4',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'13',
				graphicsetId: 	'13',
				contentColor: 	'000066',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'943FA4',
				b_color: 		'A21F9F',
				c_color: 		'000000',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['5000']={
webappId:    '5000',
documentId:  '142044',
internalId:  '',
customField: '20111015-223335'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '142023',
internalId:  '',
customField: '20110528-211710'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '138112',
internalId:  '',
customField: '20110221-184824'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '138912',
internalId:  '',
customField: '20110221-184932'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '138933',
internalId:  '',
customField: '20110529-011051'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '137112',
internalId:  '',
customField: '20110221-174540'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1508',
internalId:  '',
customField: '20111015-230327'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '13282',
internalId:  '',
customField: '20100324-234956'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '46109',
internalId:  '',
customField: '20110912-005938'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1565',
internalId:  '',
customField: '20110507-212557'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '46509',
internalId:  '',
customField: '20110904-174824'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '147823',
internalId:  '',
customField: '20110507-210911'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '45703',
internalId:  '',
customField: '20110507-211559'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '52712',
internalId:  '',
customField: '20110904-201535'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '50016',
internalId:  '',
customField: '20080210-170058'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '13201',
internalId:  '',
customField: '20080210-155557'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '13228',
internalId:  '',
customField: '20110529-011843'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '100612',
internalId:  '',
customField: '20100325-004954'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '13255',
internalId:  '',
customField: '20070305-205457'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '161344',
internalId:  '',
customField: '20110911-150147'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '50303',
internalId:  '',
customField: '20071103-014023'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '48705',
internalId:  '',
customField: '20110912-010521'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '13309',
internalId:  '',
customField: '20060621-230505'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '121912',
internalId:  '',
customField: '20100502-211058'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '122412',
internalId:  '',
customField: '20100502-211512'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '13363',
internalId:  '',
customField: '20060415-175100'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '13390',
internalId:  '',
customField: '20100325-235332'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '144723',
internalId:  '',
customField: '20110911-150959'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '45730',
internalId:  '',
customField: '20071113-001736'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '13471',
internalId:  '',
customField: '20070305-205301'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '13498',
internalId:  '',
customField: '20100325-234548'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '161365',
internalId:  '',
customField: '20110904-180618'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '13525',
internalId:  '',
customField: '20100314-163456'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '144744',
internalId:  '',
customField: '20110507-214854'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '13579',
internalId:  '',
customField: '20070305-205126'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '132312',
internalId:  '',
customField: '20100929-120020'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '132333',
internalId:  '',
customField: '20110307-180503'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '141123',
internalId:  '',
customField: '20111015-152601'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '133012',
internalId:  '',
customField: '20100929-132318'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '74222',
internalId:  '',
customField: '20080227-004302'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '74201',
internalId:  '',
customField: '20110507-212117'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '78801',
internalId:  '',
customField: '20080227-004117'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '82501',
internalId:  '',
customField: '20081221-002629'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '82522',
internalId:  '',
customField: '20080822-130234'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '84901',
internalId:  '',
customField: '20110911-160857'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '87601',
internalId:  '',
customField: '20081221-002015'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '87622',
internalId:  '',
customField: '20100314-163528'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '89612',
internalId:  '',
customField: '20090720-235134'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '90312',
internalId:  '',
customField: '20081116-001055'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '144828',
internalId:  '',
customField: '20110528-223722'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '100633',
internalId:  '',
customField: '20090226-012112'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '100654',
internalId:  '',
customField: '20110529-003928'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '100675',
internalId:  '',
customField: '20110911-162419'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '102812',
internalId:  '',
customField: '20110913-150124'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '102833',
internalId:  '',
customField: '20110913-154345'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '105912',
internalId:  '',
customField: '20110529-013659'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '114712',
internalId:  '',
customField: '20110904-201813'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '107812',
internalId:  '',
customField: '20090515-005234'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '107833',
internalId:  '',
customField: '20090515-002652'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '107854',
internalId:  '',
customField: '20090515-003444'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '107875',
internalId:  '',
customField: '20100314-163748'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '118112',
internalId:  '',
customField: '20110912-010052'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '120912',
internalId:  '',
customField: '20110307-175508'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '122912',
internalId:  '',
customField: '20100929-132933'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '144807',
internalId:  '',
customField: '20110909-002918'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '144765',
internalId:  '',
customField: '20110809-185059'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '151523',
internalId:  '',
customField: '20111015-223634'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '150223',
internalId:  '',
customField: '20110628-152643'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '150244',
internalId:  '',
customField: '20110604-105151'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '150265',
internalId:  '',
customField: '20110604-105331'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '150286',
internalId:  '',
customField: '20110628-153856'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '154723',
internalId:  '',
customField: '20111015-230446'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '163623',
internalId:  '',
customField: '20110909-011123'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '167223',
internalId:  '',
customField: '20111015-225618'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '171523',
internalId:  '',
customField: '20111015-154950'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '171586',
internalId:  '',
customField: '20111015-231311'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '176923',
internalId:  '',
customField: '20111015-220859'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010IN3Z07';
var companyName   = 'Itzal+aktiboa';
var htmlTitle	  = 'Itzal+aktiboa';
var metaKeywords  = '';
var metaContents  = '';
					                                                                    
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 */					                                                            

