/* [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','4598',jdecode('Page+d%26%23x27%3Baccueil'),jdecode(''),'/4598.html','true',[],''],
	['PAGE','70648',jdecode('Message'),jdecode(''),'/70648.html','true',[],''],
	['PAGE','111469',jdecode('Liens+favoris'),jdecode(''),'/111469.html','true',[],''],
	['PAGE','179948',jdecode('Collection+Et%C3%A9+2010'),jdecode(''),'/179948.html','true',[],''],
	['PAGE','179990',jdecode('Perle+De+Lune'),jdecode(''),'/179990.html','true',[],''],
	['PAGE','181048',jdecode('Les+Mots+Bleus'),jdecode(''),'/181048.html','true',[],''],
	['PAGE','179969',jdecode('La+F%C3%A9e+Des+Vents'),jdecode(''),'/179969.html','true',[],''],
	['PAGE','180011',jdecode('Les+Caprices+D+Alice'),jdecode(''),'/180011.html','true',[],''],
	['PAGE','181069',jdecode('Les+Vall%C3%A9es+De+Chanoine'),jdecode(''),'/181069.html','true',[],''],
	['PAGE','186848',jdecode('L%26%23x27%3BAmoureuse'),jdecode(''),'/186848.html','true',[],''],
	['PAGE','190848',jdecode('Et+Pourquoi+Pas%3F'),jdecode(''),'/190848.html','true',[],''],
	['PAGE','190869',jdecode('Aujourd%26%23x27%3BHui+Peut+Etre*'),jdecode(''),'/190869.html','true',[],''],
	['PAGE','190890',jdecode('La+Fin+Des+Temps...'),jdecode(''),'/190890.html','true',[],''],
	['PAGE','180032',jdecode('Candelice+Deschanel'),jdecode(''),'/180032.html','true',[],''],
	['PAGE','180053',jdecode('L%26%23x27%3BEcho+De+Ta+Voix'),jdecode(''),'/180053.html','true',[],''],
	['PAGE','180074',jdecode('A+La+Claire+Fontaine'),jdecode(''),'/180074.html','true',[],''],
	['PAGE','180095',jdecode('Vent+De+Boheme'),jdecode(''),'/180095.html','true',[],''],
	['PAGE','180116',jdecode('Reve+De+Cristal'),jdecode(''),'/180116.html','true',[],''],
	['PAGE','180137',jdecode('Poesie+Des+Sages'),jdecode(''),'/180137.html','true',[],''],
	['PAGE','180158',jdecode('Jolie+F%C3%A9e+D%26%23x27%3BAvril'),jdecode(''),'/180158.html','true',[],''],
	['PAGE','180179',jdecode('Joue+Avec+Moi'),jdecode(''),'/180179.html','true',[],''],
	['PAGE','180200',jdecode('Ritournelle+De+La+Rance'),jdecode(''),'/180200.html','true',[],''],
	['PAGE','180221',jdecode('La+Reine+De+Mai'),jdecode(''),'/180221.html','true',[],''],
	['PAGE','137248',jdecode('Tee-Shirt+Printanier'),jdecode(''),'/137248.html','true',[],''],
	['PAGE','159248',jdecode('Cache+Coeur'),jdecode(''),'/159248.html','true',[],''],
	['PAGE','137269',jdecode('Tee-Shirt+D+%26%23x27%3BEt%C3%A9'),jdecode(''),'/137269.html','true',[],''],
	['PAGE','130832',jdecode('%7ECollection+Et%C3%A9+%7E2009'),jdecode(''),'/130832.html','true',[],''],
	['PAGE','92769',jdecode('%7Ecollection++Et%C3%A9%7E2008'),jdecode(''),'/92769.html','true',[],''],
	['PAGE','97048',jdecode('%7ECollection+Et%C3%A9+%7E+2007'),jdecode(''),'/97048.html','true',[],''],
	['PAGE','164848',jdecode('Collection+Hiver+2009%2F2010'),jdecode(''),'/164848.html','true',[],''],
	['PAGE','164869',jdecode('Paradis+Sur+Mesure'),jdecode(''),'/164869.html','true',[],''],
	['PAGE','164890',jdecode('Les+Ames+Vagabondes'),jdecode(''),'/164890.html','true',[],''],
	['PAGE','164911',jdecode('Les+Terres+Sauvages'),jdecode(''),'/164911.html','true',[],''],
	['PAGE','164932',jdecode('Le+sentier+de+La+Sagesse'),jdecode(''),'/164932.html','true',[],''],
	['PAGE','164953',jdecode('Le+Voyage+Des+Illusions'),jdecode(''),'/164953.html','true',[],''],
	['PAGE','168548',jdecode('Reine+Des+Glaces'),jdecode(''),'/168548.html','true',[],''],
	['PAGE','168569',jdecode('Le+Tourbillon+Des+Saisons'),jdecode(''),'/168569.html','true',[],''],
	['PAGE','171448',jdecode('L%26%23x27%3BEnvol%C3%A9e+Du+Silence'),jdecode(''),'/171448.html','true',[],''],
	['PAGE','168590',jdecode('L%26%23x27%3BInstant+Pr%C3%A9sent'),jdecode(''),'/168590.html','true',[],''],
	['PAGE','178048',jdecode('Le+manteau+assorti'),jdecode(''),'/178048.html','true',[],''],
	['PAGE','174548',jdecode('Un+Monde+Parfait'),jdecode(''),'/174548.html','true',[],''],
	['PAGE','174569',jdecode('Le+Manteau+Assorti'),jdecode(''),'/174569.html','true',[],''],
	['PAGE','174590',jdecode('Parfum+De+Mystere'),jdecode(''),'/174590.html','true',[],''],
	['PAGE','178069',jdecode('Les+Coeurs+Oubli%C3%A9s'),jdecode(''),'/178069.html','true',[],''],
	['PAGE','178090',jdecode('Madame+De+Pompadour'),jdecode(''),'/178090.html','true',[],''],
	['PAGE','186048',jdecode('La+F%C3%A9e+De+Noel*'),jdecode(''),'/186048.html','true',[],''],
	['PAGE','122548',jdecode('Danse+La+Brume'),jdecode(''),'/122548.html','true',[],''],
	['PAGE','130874',jdecode('Bois+De+Lune'),jdecode(''),'/130874.html','true',[],''],
	['PAGE','125090',jdecode('week+End+A+Venise+'),jdecode(''),'/125090.html','true',[],''],
	['PAGE','130853',jdecode('La+F%C3%A9e+de+Decembre'),jdecode(''),'/130853.html','true',[],''],
	['PAGE','122948',jdecode('Tr%C3%AAve+De+Gourmandine'),jdecode(''),'/122948.html','true',[],''],
	['PAGE','122569',jdecode('Lutin+Frippon'),jdecode(''),'/122569.html','true',[],''],
	['PAGE','125069',jdecode('Escapade+Lutine'),jdecode(''),'/125069.html','true',[],''],
	['PAGE','129048',jdecode('A+L%26%23x27%3BEst+D%26%23x27%3BEden'),jdecode(''),'/129048.html','true',[],''],
	['PAGE','127548',jdecode('Ici+Et+Maintenant'),jdecode(''),'/127548.html','true',[],''],
	['PAGE','129069',jdecode('Week+End+A+Paris'),jdecode(''),'/129069.html','true',[],''],
	['PAGE','86248',jdecode('Dessus+Dessous+Hiver'),jdecode(''),'/86248.html','true',[],''],
	['PAGE','112248',jdecode('%7ECollection+Hiver%7E+2008%2F2009'),jdecode(''),'/112248.html','true',[],''],
	['PAGE','92748',jdecode('%7Ecollection+hiver+%7E2007%2F2008'),jdecode(''),'/92748.html','true',[],''],
	['PAGE','59559',jdecode('%7ECollection+Hiver+%7E2006%2F2007'),jdecode(''),'/59559.html','true',[],''],
	['PAGE','137290',jdecode('Accessoires'),jdecode(''),'/137290.html','true',[],''],
	['PAGE','159748',jdecode('Legging'),jdecode(''),'/159748.html','true',[],''],
	['PAGE','49605',jdecode('Liens+Et+Accessoires'),jdecode(''),'/49605.html','true',[],''],
	['PAGE','98348',jdecode('Dessus+Dessous+D%26%23x27%3BEt%C3%A9'),jdecode(''),'/98348.html','true',[],''],
	['PAGE','106348',jdecode('Bien+Etre..'),jdecode(''),'/106348.html','true',[],''],
	['PAGE','106748',jdecode('Aide+Humanitaire'),jdecode(''),'/106748.html','true',[],''],
	['PAGE','107948',jdecode('Premier+Temps'),jdecode(''),'/107948.html','true',[],''],
	['PAGE','25135',jdecode('Variante+De+Pantalon+'),jdecode(''),'/25135.html','true',[],''],
	['PAGE','49632',jdecode('photos++clients'),jdecode(''),'/49632.html','true',[],''],
	['PAGE','62948',jdecode('P%C3%B6ur+Les+Yeux'),jdecode(''),'/62948.html','true',[],''],
	['PAGE','61648',jdecode('Point+Mariage'),jdecode(''),'/61648.html','true',[],''],
	['PAGE','6852',jdecode('Accessoires'),jdecode(''),'/6852.html','true',[],''],
	['PAGE','22735',jdecode('Concours+De+Couture'),jdecode(''),'/22735.html','true',[],''],
	['PAGE','6933',jdecode('Contact'),jdecode(''),'/6933.html','true',[],''],
	['PAGE','44449',jdecode('Livre+d%26%23x27%3Bor'),jdecode(''),'/44449/index.html','true',[ 
		['PAGE','44450',jdecode('Entr%C3%A9es'),jdecode(''),'/44449/44450.html','true',[],'']
	],''],
	['PAGE','111448',jdecode('Nouvelles+%26+potins'),jdecode(''),'/111448.html','true',[],'']];
var siteelementCount=77;
theSitetree.topTemplateName='Roses';
theSitetree.paletteFamily='FFE5E5';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10743';
theSitetree.graphicsetId='10825';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFE5E5';
var theTemplate={
				name: 			'Roses',
				paletteFamily: 	'FFE5E5',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10743',
				graphicsetId: 	'10825',
				contentColor: 	'000000',
				contentBGColor: 'FFE5E5',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'787878',
				e_color: 		'9D584B',
				f_color: 		'9D584B',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1008']={
webappId:    '1008',
documentId:  '6933',
internalId:  '12316204',
customField: 'fr:FR:'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '122548',
internalId:  '',
customField: '20081012-110728'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '44449',
internalId:  '44449aam010involn',
customField: 'action=form&icq=false'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '44450',
internalId:  '44449aam010involn',
customField: 'action=list'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4598',
internalId:  '',
customField: '20100116-181121'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '44449',
internalId:  '',
customField: '20070225-171244'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '44450',
internalId:  '',
customField: '20070225-171244'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '125069',
internalId:  '',
customField: '20081120-123611'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '59559',
internalId:  '',
customField: '20090123-124056'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '129069',
internalId:  '',
customField: '20081120-121318'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '70648',
internalId:  '',
customField: '20100118-160917'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '111469',
internalId:  '',
customField: '20100118-160812'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '180158',
internalId:  '',
customField: '20100208-160149'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '174590',
internalId:  '',
customField: '20091104-194424'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '106348',
internalId:  '',
customField: '20080307-112822'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '106748',
internalId:  '',
customField: '20080307-113245'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '107948',
internalId:  '',
customField: '20080310-124310'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '92748',
internalId:  '',
customField: '20080211-135620'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '125090',
internalId:  '',
customField: '20081111-173801'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '174548',
internalId:  '',
customField: '20091104-182704'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '164848',
internalId:  '',
customField: '20091016-124557'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '97048',
internalId:  '',
customField: '20080306-144242'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '112248',
internalId:  '',
customField: '20080916-132027'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '180137',
internalId:  '',
customField: '20100208-160548'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '25135',
internalId:  '',
customField: '20070110-115252'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '49605',
internalId:  '',
customField: '20080306-191937'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '49632',
internalId:  '',
customField: '20080310-134354'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '62948',
internalId:  '',
customField: '20070920-112122'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '61648',
internalId:  '',
customField: '20070902-124311'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '111448',
internalId:  '',
customField: '20080812-130646'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '190848',
internalId:  '',
customField: '20100208-154607'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '6852',
internalId:  '',
customField: '20061008-220132'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '22735',
internalId:  '',
customField: '20070103-132847'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '6933',
internalId:  '',
customField: '20080915-191734'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '122948',
internalId:  '',
customField: '20081012-110542'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '4598',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '92769',
internalId:  '',
customField: '20080914-202307'
};
webappMappings['1501']={
webappId:    '1501',
documentId:  '4598',
internalId:  '10854398',
customField: '1501'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '127548',
internalId:  '',
customField: '20081111-182638'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '122569',
internalId:  '',
customField: '20081111-182906'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '86248',
internalId:  '',
customField: '20090123-110111'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '129048',
internalId:  '',
customField: '20090123-104343'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '180179',
internalId:  '',
customField: '20100118-150357'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '98348',
internalId:  '',
customField: '20080213-122946'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '164953',
internalId:  '',
customField: '20091016-121154'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '168548',
internalId:  '',
customField: '20091016-121543'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '168569',
internalId:  '',
customField: '20091016-105141'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '168590',
internalId:  '',
customField: '20090922-185443'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '130874',
internalId:  '',
customField: '20090123-093659'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '130832',
internalId:  '',
customField: '20090909-195739'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '130853',
internalId:  '',
customField: '20090123-105852'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '137269',
internalId:  '',
customField: '20090409-003316'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '137248',
internalId:  '',
customField: '20090409-003223'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '137290',
internalId:  '',
customField: '20090130-093804'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '180074',
internalId:  '',
customField: '20100118-155758'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '180095',
internalId:  '',
customField: '20100116-202627'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '180116',
internalId:  '',
customField: '20100116-203807'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '180011',
internalId:  '',
customField: '20100208-155558'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '180053',
internalId:  '',
customField: '20100116-184439'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '178069',
internalId:  '',
customField: '20091127-154101'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '178048',
internalId:  '',
customField: '20091127-144248'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '178090',
internalId:  '',
customField: '20091127-144248'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '180032',
internalId:  '',
customField: '20100110-140020'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '179948',
internalId:  '',
customField: '20100116-193410'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '179969',
internalId:  '',
customField: '20100116-182833'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '179990',
internalId:  '',
customField: '20100112-210432'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '164890',
internalId:  '',
customField: '20091016-121032'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '164911',
internalId:  '',
customField: '20090921-201717'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '164932',
internalId:  '',
customField: '20091016-115701'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '164869',
internalId:  '',
customField: '20090909-211759'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '159248',
internalId:  '',
customField: '20090409-005412'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '159748',
internalId:  '',
customField: '20090427-132204'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '171448',
internalId:  '',
customField: '20091016-120916'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '174569',
internalId:  '',
customField: '20091104-190205'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '180200',
internalId:  '',
customField: '20100118-151915'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '180221',
internalId:  '',
customField: '20100118-154414'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '181048',
internalId:  '',
customField: '20100116-142243'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '181069',
internalId:  '',
customField: '20100208-153754'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '186048',
internalId:  '',
customField: '20100118-112604'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '186848',
internalId:  '',
customField: '20100208-154138'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '190869',
internalId:  '',
customField: '20100208-154958'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '190890',
internalId:  '',
customField: '20100208-155243'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010INVOLN';
var companyName   = 'Angel+Cr%C3%A9ation';
var htmlTitle	  = 'ANGEL-CREATION+CREATRICE+DE+MODE+POUR+ENFANTS';
var metaKeywords  = 'cr%C3%A9ation+de+mode+enfantine..v%C3%AAtements+enfants...cr%C3%A9ations+enfants...mode+lutin...mod%C3%A8le+unique...mode+enfantine...';
var metaContents  = 'cr%C3%A9ation+de+mode+enfantine...robes...chapeaux...manteaux...tee-shirt+lutin...pantalons...toute+une+collection%2Cunique%2C+f%C3%A9erique%2Clutine%2C+boh%C3%A8me...des+v%C3%AAtements+con%C3%A7us+pour+le+plaisir+des+enfants+et+des+mamans...';
					                                                                    
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 */					                                                            
