/* [nodename, id, name, navigationtext, href, isnavigation, childs[], templatename] */

if (typeof(decodeURIComponent) == 'undefined') {
  decodeURIComponent = function(s) {
    return unescape(s);
  }
}

function jdecode(s) {
    s = s.replace(/\+/g, "%20")
    return decodeURIComponent(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 POS_TARGET=8;
var theSitetree=[ 
	['PAGE','4596',jdecode('ACCUEIL'),jdecode(''),'/4596.html','true',[],'',''],
	['PAGE','5182',jdecode('PILOTES+SUISSES'),jdecode(''),'/5182/index.html','true',[ 
		['PAGE','5209',jdecode('24+HEURES+DU+MANS'),jdecode(''),'/5182/5209.html','true',[],'',''],
		['PAGE','91301',jdecode('MONOPLACE+%28F1%2C+F2%2C+Champcar%29'),jdecode(''),'/5182/91301.html','true',[],'',''],
		['PAGE','5236',jdecode('ENDURANCE+%28Targa%2C+1000+km%29'),jdecode(''),'/5182/5236.html','true',[],'',''],
		['PAGE','242401',jdecode('AUTRES+COMPETITIONS'),jdecode(''),'/5182/242401.html','true',[],'',''],
		['PAGE','31004',jdecode('LISTE+ALPHABETIQUE+A+-+Moser'),jdecode(''),'/5182/31004.html','true',[],'',''],
		['PAGE','196101',jdecode('LISTE+ALPHABETIQUE+M%C3%BCller+-+Z'),jdecode(''),'/5182/196101.html','true',[],'','']
	],'',''],
	['PAGE','57301',jdecode('ECURIES%2FTEAMS+SUISSES'),jdecode(''),'/57301/index.html','true',[ 
		['PAGE','51064',jdecode('SCUDERIA+FILIPINETTI'),jdecode(''),'/57301/51064.html','true',[],'',''],
		['PAGE','88101',jdecode('TEAM+BRUN'),jdecode(''),'/57301/88101.html','true',[],'',''],
		['PAGE','51085',jdecode('TEAM+SAUBER'),jdecode(''),'/57301/51085.html','true',[],'',''],
		['PAGE','56901',jdecode('AUTRES+ECURIES+SUISSES'),jdecode(''),'/57301/56901.html','true',[],'','']
	],'',''],
	['PAGE','237501',jdecode('BOUTIQUE+-+MINIATURES'),jdecode(''),'/237501/index.html','true',[ 
		['PAGE','355901',jdecode('ART+MODEL'),jdecode(''),'/237501/355901.html','true',[],'',''],
		['PAGE','323001',jdecode('BEST'),jdecode(''),'/237501/323001.html','true',[],'',''],
		['PAGE','323022',jdecode('BIZARRE'),jdecode(''),'/237501/323022.html','true',[],'',''],
		['PAGE','323043',jdecode('EBBRO'),jdecode(''),'/237501/323043.html','true',[],'',''],
		['PAGE','334401',jdecode('GTS'),jdecode(''),'/237501/334401.html','true',[],'',''],
		['PAGE','323064',jdecode('IXO'),jdecode(''),'/237501/323064.html','true',[],'',''],
		['PAGE','355922',jdecode('NOREV'),jdecode(''),'/237501/355922.html','true',[],'',''],
		['PAGE','331001',jdecode('QUARTZO'),jdecode(''),'/237501/331001.html','true',[],'',''],
		['PAGE','334422',jdecode('REDLINE'),jdecode(''),'/237501/334422.html','true',[],'',''],
		['PAGE','388601',jdecode('RIO'),jdecode(''),'/237501/388601.html','true',[],'',''],
		['PAGE','323085',jdecode('SPARK'),jdecode(''),'/237501/323085.html','true',[],'',''],
		['PAGE','237522',jdecode('COMMANDE+MINIATURES'),jdecode(''),'/237501/237522.html','true',[],'','']
	],'',''],
	['PAGE','382901',jdecode('CALENDRIER++2010'),jdecode(''),'/382901/index.html','true',[ 
		['PAGE','382922',jdecode('COMMANDE+DE+CALENDRIER'),jdecode(''),'/382901/382922.html','true',[],'','']
	],'',''],
	['PAGE','222801',jdecode('BOUTIQUE+-+LIVRES'),jdecode(''),'/222801/index.html','true',[ 
		['PAGE','225101',jdecode('PHIL+HENNY%2C+AUTEUR+SUISSE'),jdecode(''),'/222801/225101.html','true',[],'',''],
		['PAGE','230301',jdecode('LES+SUISSES+AU+MANS'),jdecode(''),'/222801/230301.html','true',[],'',''],
		['PAGE','271001',jdecode('SCUDERIA+FILIPINETTI'),jdecode(''),'/222801/271001.html','true',[],'',''],
		['PAGE','276901',jdecode('N.+GACHNANG++ET++S.+BUEMI'),jdecode(''),'/222801/276901.html','true',[],'',''],
		['PAGE','288701',jdecode('MARC++SURER'),jdecode(''),'/222801/288701.html','true',[],'',''],
		['PAGE','390001',jdecode('JO++SIFFERT'),jdecode(''),'/222801/390001.html','true',[],'',''],
		['PAGE','226601',jdecode('COMMANDE+DE+LIVRES'),jdecode(''),'/222801/226601.html','true',[],'','']
	],'',''],
	['PAGE','273401',jdecode('BOOKS++FOR++SALE'),jdecode(''),'/273401/index.html','true',[ 
		['PAGE','267901',jdecode('PHIL++HENNY%26%23x27%3B+S++BOOKS'),jdecode(''),'/273401/267901.html','true',[],'',''],
		['PAGE','273422',jdecode('SCUDERIA++FILIPINETTI'),jdecode(''),'/273401/273422.html','true',[],'',''],
		['PAGE','268601',jdecode('ORDER+'),jdecode(''),'/273401/268601.html','true',[],'','']
	],'',''],
	['PAGE','282201',jdecode('AMBIANCES...++%28PHOTOS%29'),jdecode(''),'/282201/index.html','true',[ 
		['PAGE','264401',jdecode('LE++MANS++1963%2C+1969'),jdecode(''),'/282201/264401.html','true',[],'',''],
		['PAGE','282301',jdecode('OLLON+-+VILLARS++1962%2C+2007'),jdecode(''),'/282201/282301.html','true',[],'',''],
		['PAGE','282601',jdecode('GP2++MONZA++2005'),jdecode(''),'/282201/282601.html','true',[],'','']
	],'',''],
	['PAGE','285801',jdecode('FAITS++DE++COURSE...'),jdecode(''),'/285801.html','true',[],'',''],
	['PAGE','296301',jdecode('STATISTIQUES++F1%2FLE+MANS'),jdecode(''),'/296301/index.html','true',[ 
		['PAGE','297701',jdecode('STATISTIQUES+-+F1'),jdecode(''),'/296301/297701.html','true',[],'',''],
		['PAGE','297722',jdecode('STATISTIQUES+-+LE++MANS'),jdecode(''),'/296301/297722.html','true',[],'','']
	],'',''],
	['PAGE','51410',jdecode('BLOG'),jdecode(''),'/51410.html','true',[],'',''],
	['PAGE','251701',jdecode('FORUM'),jdecode(''),'/251701.html','true',[],'',''],
	['PAGE','261501',jdecode('AGENDA++BOURSES'),jdecode(''),'/261501.html','true',[],'',''],
	['PAGE','262101',jdecode('LIENS++SPORT+-+AUTO++CH'),jdecode(''),'/262101.html','true',[],'',''],
	['PAGE','68506',jdecode('GUESTBOOK'),jdecode(''),'/68506/index.html','true',[ 
		['PAGE','68501',jdecode('ENTREES'),jdecode(''),'/68506/68501.html','false',[],'','']
	],'','']];
var siteelementCount=54;
theSitetree.topTemplateName='Artless';
theSitetree.paletteFamily='A93D3B';
theSitetree.keyvisualId='4540';
theSitetree.keyvisualName='kv_4540.jpg';
theSitetree.fontsetId='10823';
theSitetree.graphicsetId='11226';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='A93D3B';
var localeDef={
  language: 'fr',
  country: 'FR'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Artless',
				paletteFamily: 	'A93D3B',
				keyvisualId: 	'4540',
				keyvisualName: 	'kv_4540.jpg',
				fontsetId: 		'10823',
				graphicsetId: 	'11226',
				contentColor: 	'FFFFFF',
				contentBGColor: 'A93D3B',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'581110',
				e_color: 		'581110',
				f_color: 		'581110',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '4596',
internalId:  '1006',
customField: '1006'
};
webappMappings['1002']=webappMappings['1002-68506abw0x0inxxzh']={
webappId:    '1002',
documentId:  '68506',
internalId:  '68506abw0x0inxxzh',
customField: 'icq=false'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4596',
internalId:  '',
customField: '20100225-221709'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '261501',
internalId:  '',
customField: '20100214-173412'
};
webappMappings['7008']=webappMappings['7008-48']={
webappId:    '7008',
documentId:  '226601',
internalId:  '48',
customField: 'language:fr;country:FR;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '264401',
internalId:  '',
customField: '20090514-003510'
};
webappMappings['7008']=webappMappings['7008-49']={
webappId:    '7008',
documentId:  '237522',
internalId:  '49',
customField: 'language:fr;country:FR;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5182',
internalId:  '',
customField: '20100225-221053'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5209',
internalId:  '',
customField: '20100225-210837'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '91301',
internalId:  '',
customField: '20100106-231801'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5236',
internalId:  '',
customField: '20100222-235407'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '242401',
internalId:  '',
customField: '20100225-213844'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '31004',
internalId:  '',
customField: '20100225-211711'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '196101',
internalId:  '',
customField: '20100225-211845'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '57301',
internalId:  '',
customField: '20100218-140436'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '51064',
internalId:  '',
customField: '20091203-235335'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '88101',
internalId:  '',
customField: '20090702-133335'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '51085',
internalId:  '',
customField: '20091203-235502'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56901',
internalId:  '',
customField: '20100218-140412'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '237501',
internalId:  '',
customField: '20100225-222151'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '237522',
internalId:  '',
customField: '20090727-225138'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '222801',
internalId:  '',
customField: '20091227-161925'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '225101',
internalId:  '',
customField: '20091029-223102'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '230301',
internalId:  '',
customField: '20091213-181246'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '226601',
internalId:  '',
customField: '20091106-005416'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '51410',
internalId:  '',
customField: '20090514-002749'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '262101',
internalId:  '',
customField: '20100214-173031'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '68506',
internalId:  '',
customField: '20091218-134136'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '68501',
internalId:  '',
customField: '20070309-120742'
};
webappMappings['7050']=webappMappings['7050-14']={
webappId:    '7050',
documentId:  '51410',
internalId:  '14',
customField: 'language:fr;country:FR;'
};
webappMappings['1003']=webappMappings['1003-abw0x0inxxzh11f23b7442b']={
webappId:    '1003',
documentId:  '251701',
internalId:  'abw0x0inxxzh11f23b7442b',
customField: 'fr:FR'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '251701',
internalId:  '',
customField: '20090514-003302'
};
webappMappings['7005']=webappMappings['7005-119']={
webappId:    '7005',
documentId:  '57301',
internalId:  '119',
customField: 'language:fr;country:FR;'
};
webappMappings['7005']=webappMappings['7005-120']={
webappId:    '7005',
documentId:  '5209',
internalId:  '120',
customField: 'language:fr;country:FR;'
};
webappMappings['7005']=webappMappings['7005-121']={
webappId:    '7005',
documentId:  '5182',
internalId:  '121',
customField: 'language:fr;country:FR;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '297701',
internalId:  '',
customField: '20100103-232643'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '267901',
internalId:  '',
customField: '20091026-140027'
};
webappMappings['7008']=webappMappings['7008-3891']={
webappId:    '7008',
documentId:  '268601',
internalId:  '3891',
customField: 'language:fr;country:FR;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '268601',
internalId:  '',
customField: '20090514-004137'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '390001',
internalId:  '',
customField: '20091206-194502'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '388601',
internalId:  '',
customField: '20100225-220221'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '382922',
internalId:  '',
customField: '20091106-005504'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '382901',
internalId:  '',
customField: '20100210-143855'
};
webappMappings['7008']=webappMappings['7008-7968']={
webappId:    '7008',
documentId:  '382922',
internalId:  '7968',
customField: 'language:fr;country:FR;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '355922',
internalId:  '',
customField: '20100225-220130'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '355901',
internalId:  '',
customField: '20090919-002859'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '334422',
internalId:  '',
customField: '20091227-155816'
};
webappMappings['1003']=webappMappings['1003-abw0x0inxxzh121124a8dff']={
webappId:    '1003',
documentId:  '282601',
internalId:  'abw0x0inxxzh121124a8dff',
customField: 'fr:FR'
};
webappMappings['1003']=webappMappings['1003-abw0x0inxxzh121124a8e2e']={
webappId:    '1003',
documentId:  '297701',
internalId:  'abw0x0inxxzh121124a8e2e',
customField: 'fr:FR'
};
webappMappings['1003']=webappMappings['1003-abw0x0inxxzh121124a8e58']={
webappId:    '1003',
documentId:  '297722',
internalId:  'abw0x0inxxzh121124a8e58',
customField: 'fr:FR'
};
webappMappings['1501']=webappMappings['1501-923162']={
webappId:    '1501',
documentId:  '4596',
internalId:  '923162',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '323001',
internalId:  '',
customField: '20100225-215938'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '323022',
internalId:  '',
customField: '20100225-220026'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '323043',
internalId:  '',
customField: '20091029-225615'
};
webappMappings['1003']=webappMappings['1003-abw0x0inxxzh121124a8dd7']={
webappId:    '1003',
documentId:  '282301',
internalId:  'abw0x0inxxzh121124a8dd7',
customField: 'fr:FR'
};
webappMappings['1003']=webappMappings['1003-abw0x0inxxzh121124a8daa']={
webappId:    '1003',
documentId:  '264401',
internalId:  'abw0x0inxxzh121124a8daa',
customField: 'fr:FR'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '297722',
internalId:  '',
customField: '20090822-011306'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '296301',
internalId:  '',
customField: '20090913-230025'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '271001',
internalId:  '',
customField: '20090829-013302'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '273401',
internalId:  '',
customField: '20091207-000427'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '273422',
internalId:  '',
customField: '20090514-004042'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '334401',
internalId:  '',
customField: '20090919-003204'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '323085',
internalId:  '',
customField: '20100225-220509'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '323064',
internalId:  '',
customField: '20100225-220102'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '276901',
internalId:  '',
customField: '20090514-004725'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '331001',
internalId:  '',
customField: '20091204-003923'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '282201',
internalId:  '',
customField: '20091029-223126'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '282301',
internalId:  '',
customField: '20091029-223504'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '282601',
internalId:  '',
customField: '20090514-003721'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '285801',
internalId:  '',
customField: '20090514-002054'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '288701',
internalId:  '',
customField: '20090514-004909'
};
var canonHostname = 'hptworkerdb01b.bluewin.ch';
var accountId     = 'ABW0X0INXXZH';
var companyName   = 'Le+sport+auto+suisse+en+miniatures';
var htmlTitle	  = '';
var metaKeywords  = 'Pilotes+SuissesRegazzoniSiffertSurerDel%3FtrazHerbert+MullerBrunDinky++PorscheFerrariShillerBerneySpoerryBollerSteinemanWickyGiorgiMaurice+NussbaumerHaldiGerard+PillonDominique+MartinPhilippe+CarronBernard+Chenevi%3FrePeter+ZbindenAngelo+PallaviciniMarco+VanoliMario+HyttenFranz+HunkelerBernard+SantalSandro+Angelestri+Enzo+CalderariLilian+BrynerCharles+MargueronPhilippe+SiffertJo+SiffertBruno+EichmannToni+SeilerWalter+BrunPhilipp+PeterBenjamin+LeuenbergerChristophe+PillonSteve+ZacchiaRallyeBPRPROCAROlivier+BurriCyril+HennyPatick+HeintzLaurence+JacquetDaytonaBrands+HatchWaktins+GlenKyalamicollection+miniatures+autoscollection+autos+miniaturediecast+collectionpilotes+suisses+sport+autoF1+suisseF2+suissesuisses+au+manscomparaison+dinky+et+pilenphoto+dinkycollection+de+Dinkycollection+de+miniatures+autoscollection+dautos+miniaturecollection+de+Auto+Pilencollection+de+solidocollection+de+norevpilotes+suisses+au+Manspilotes+suisses+en+F1pilotes+suisses+en+rallyepilotes+suisses+en+F2anciennes+miniatures%3Fcuries+suisses+au+mans++Jean-Philippe+Rossel++Laurant+Luyet++Ren%3F+Herzog++Claude+Haldi++Philippe+Favre++Alexander+Frei++Karl+et+Gregor+Foitek++Christian+Jaquillard++Freddy+Lienhard++Filipe+Ortiz++Philipp+Peter++Antoine+Salamin++Bernard+Santal++Tom+Spychinger++Fran%3Fois+Trisconi++Marco+Vanoli++G%3Frard+Vial++Heini+Walter++Andr%3F+Wicky+Herbert+Racing+Team+CEGGA+Georges+Gachnang++++Herbert+M%3Fller+Racing+Team++neel+jani+++la+suisse+et+les+24+heures+du+mans++dvd+clay+regazzoni++loris+kessel+f1+team+loris+kessel+team++gaston+andrey++kalman+von+csazy++la+suisse+et+les+24+heures+du+mans+++++Speedy+Racing++Histoire+du+sport+auto+suisse+en+miniatures++Histoire+du+sport+automobile+suisse+en+miniature++Fred+Stalder++Andrea+Chiesa+++Suisses+au+mans+2008++Speedy+Racing+Team+iradj+alexander+++autofriedhof+kaufdorf++geneva+classics++++RIV+++Rallye+internationnal+du+Valais++IRC++Speedy+Garage++Gaston+Gus+Andrey++Gr%3Fgoire+Hotz++Florian+Gonon++Jean-Philippe+Radoux++Philippe+Camandona++Jo%3Fl+Rappaz++S%3Fbastien+Carron++Alain+Blaser++xavier+perrot++march+722+F2++phil+henny++bob+bondurant++carroll+shelby++la+suisse+et+les+24+heures+du+mans++les+suisses+au+mans+2008++les+suisses+au+mans%2C+2008++Jean-Marie+Wyder++Christian+Borel++Adriano+Cimarosti++Beno%3Ft+Wyder++Mario+Luini++G%3Frard+Vallat++Marc+Frichknecht++Ronnie+Petersoncollection+miniaturessport+auto+suisseminiatures+manssuisses+au+mans+suisses+en+F1suisses+en+sport+autovente+livre+phil+hennyvente+livres+les+suisses+au+manslivre+la+suisse+et+les+24+heures+du+mansla+suisse+et+les+24+heures+du+manslivre+scuderia+filipinettivente+livre+scuderia+filipinettied+heuvinknos+ann%3Fes+bmw+natacha+gachnang+et+s%3Fbastien+buemichristian+boreljean-marie+wyderMarc+Surer+Motor+ExplosivBuch+Marc+SurerBuch+%3Fber+S%3Fbastien+BuemiVente+miniatures+BestVente+ministures+Art+Modelvente+miniatures+Ebbrovente+miniatures+schucovente+de+livresVente+miniatures+repr%EF%BF%BDsentant+les+pilotes+suissesVente+Spark+pilotes+suissesVente+Best+pilotes+suissesVente+Bizarre+pilotes+suissesVente+Ixo+pilotes+suissesVente+Ebbro+pilotes+suissesVente+Art+model+pilotes+suissesVente+Redline+pilotes+suissesVente+Quartzo+pilotes+suissesApollon+Jolly+Club+SwitzerlandApollon+Loris+KesselVente+livre+sport+auto+suisseVente+miniatures+sport+auto+suisseVente+SparkVents+BizarreVente+IxoVente+Ebbrostatistiques+suisses+en+F1statistiques+suisses+au+Mansstatistiques+pilotes+suissesstatistiques+suisses+en+formule+1sparknorevbizarreredlinebestart+modelebbroixoquartzovente+miniatures+automobilesauto+miniaturevente+mod%C3%A8les+1%2F43%0D%0ACiro+Basadonna%0D%0AVente+miniatures%0D%0ANenn+mich+einfach+Carroll%0D%0Acalendrier+motorsportfriends%0D%0Akarim+ajlani%0D%0Asebastien+buemi%0D%0A%0D%0A%0D%0A%0D%0A';
var metaContents  = 'Collection+de+miniatures+sur+le+th%3Fme+des+pilotes+et+%3Fcuries+suisses+en+sport+automobile.%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0AVente+de+livres+sur+le+sport+automobile+suisse.%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0AVente+de+miniatures+Art+Model%2C+Best%2C+Bizarre%2C++Ebbro%2C+Ixo%2C+Spark%2C+Quartzo%2C+Redline+etc.+';
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;
};

theSitetree.getByXx = function(lookup, xx, ar) {
    if (typeof(ar) == 'undefined'){
    	ar = this;
    }
    for (var i=0; i < ar.length; i++) {
        if (ar[i][xx] == lookup){
        	return ar[i];
        }
        if (ar[i][POS_CHILDS].length > 0) {
        	var result=this.getByXx(lookup, xx, ar[i][POS_CHILDS]);
            if (result != null){
                return result;
               }
        }
    }
    return null;
};

function gotoPage(lookup) {
	if(__path_prefix__ == "/servlet/CMServeRES" && typeof (changePage) == 'function'){
		changePage(lookup);
		return;
	}
	var page = theSitetree.getHREF(lookup);
	if (!page) {
		var testFor = [ POS_NAME, POS_NAVIGATIONTEXT ];
		for (var i=0 ; i < testFor.length ; i++) {
			var p = theSitetree.getByXx(lookup, testFor[i]);
			if (p != null) {
				page = p[POS_HREF];
				break;
			}
		}
	}
	document.location.href = (new URL(__path_prefix__ + page, true, true)).toString();
};
