/* [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 theSitetree=[ 
	['PAGE','8694',jdecode('HOME'),jdecode(''),'/8694.html','true',[],''],
	['PAGE','11570',jdecode('VESPA+MODELS'),jdecode(''),'/11570/index.html','true',[ 
		['PAGE','8766',jdecode('VESPA+LX+50+%2F+150'),jdecode(''),'/11570/8766.html','true',[],''],
		['PAGE','8787',jdecode('VESPA+GT+200'),jdecode(''),'/11570/8787.html','true',[],''],
		['PAGE','25494',jdecode('VESPA+GTS+250ie'),jdecode(''),'/11570/25494.html','true',[],''],
		['PAGE','130994',jdecode('VESPA+GTS+300+SUPER'),jdecode(''),'/11570/130994.html','true',[],''],
		['PAGE','59715',jdecode('VESPA+LXV+%2F+GTV'),jdecode(''),'/11570/59715.html','true',[],''],
		['PAGE','82594',jdecode('VESPA+%22S%22'),jdecode(''),'/11570/82594.html','true',[],'']
	],''],
	['PAGE','18894',jdecode('VESPA+COLORS'),jdecode(''),'/18894/index.html','true',[ 
		['PAGE','18915',jdecode('LX+COLORS'),jdecode(''),'/18894/18915.html','true',[],''],
		['PAGE','18936',jdecode('GT+COLORS'),jdecode(''),'/18894/18936.html','true',[],''],
		['PAGE','25515',jdecode('GTS+COLORS'),jdecode(''),'/18894/25515.html','true',[],''],
		['PAGE','59757',jdecode('LXV+%2FGTV'),jdecode(''),'/18894/59757.html','true',[],''],
		['PAGE','82615',jdecode('VESPA+%22S%22'),jdecode(''),'/18894/82615.html','true',[],'']
	],''],
	['PAGE','11591',jdecode('PIAGGIO+MODELS'),jdecode(''),'/11591/index.html','true',[ 
		['PAGE','8850',jdecode('PIAGGIO+FLY+50%2F150'),jdecode(''),'/11591/8850.html','true',[],''],
		['PAGE','25536',jdecode('PIAGGIO+BV+250'),jdecode(''),'/11591/25536.html','true',[],''],
		['PAGE','8892',jdecode('PIAGGIO+BV+500'),jdecode(''),'/11591/8892.html','true',[],''],
		['PAGE','8913',jdecode('PIAGGIO+X9+EVO'),jdecode(''),'/11591/8913.html','true',[],''],
		['PAGE','59778',jdecode('PIAGGIO+MP3'),jdecode(''),'/11591/59778.html','true',[],'']
	],''],
	['PAGE','18978',jdecode('PIAGGIO+COLORS'),jdecode(''),'/18978/index.html','true',[ 
		['PAGE','19020',jdecode('FLY+COLORS'),jdecode(''),'/18978/19020.html','true',[],''],
		['PAGE','25557',jdecode('BV250+COLORS'),jdecode(''),'/18978/25557.html','true',[],''],
		['PAGE','19062',jdecode('BV500+COLORS'),jdecode(''),'/18978/19062.html','true',[],''],
		['PAGE','19083',jdecode('X9+COLORS'),jdecode(''),'/18978/19083.html','true',[],''],
		['PAGE','59799',jdecode('MP3+COLORS'),jdecode(''),'/18978/59799.html','true',[],'']
	],''],
	['PAGE','91194',jdecode('MOTOGUZZI+MODELS'),jdecode(''),'/91194/index.html','true',[ 
		['PAGE','91215',jdecode('NORGE'),jdecode(''),'/91194/91215.html','true',[],''],
		['PAGE','91236',jdecode('GRISO'),jdecode(''),'/91194/91236.html','true',[],''],
		['PAGE','91257',jdecode('STELVIO'),jdecode(''),'/91194/91257.html','true',[],''],
		['PAGE','91278',jdecode('CALIFORNIA'),jdecode(''),'/91194/91278.html','true',[],''],
		['PAGE','91299',jdecode('V7+CLASSIC'),jdecode(''),'/91194/91299.html','true',[],'']
	],''],
	['PAGE','91320',jdecode('MOTOGUZZI+COLORS'),jdecode(''),'/91320/index.html','true',[ 
		['PAGE','91341',jdecode('NORGE'),jdecode(''),'/91320/91341.html','true',[],''],
		['PAGE','91362',jdecode('GRISO'),jdecode(''),'/91320/91362.html','true',[],''],
		['PAGE','91383',jdecode('STELVIO'),jdecode(''),'/91320/91383.html','true',[],''],
		['PAGE','91404',jdecode('CALIFORNIA'),jdecode(''),'/91320/91404.html','true',[],''],
		['PAGE','91425',jdecode('V7+CLASSIC'),jdecode(''),'/91320/91425.html','true',[],'']
	],''],
	['PAGE','91446',jdecode('APRILIA+MODELS'),jdecode(''),'/91446/index.html','true',[ 
		['PAGE','102194',jdecode('RSV+1000+FACTORY'),jdecode(''),'/91446/102194.html','true',[],''],
		['PAGE','102215',jdecode('RSV+1000+R'),jdecode(''),'/91446/102215.html','true',[],''],
		['PAGE','102236',jdecode('TUONO+1000+FACTORY'),jdecode(''),'/91446/102236.html','true',[],''],
		['PAGE','102257',jdecode('TUONO+1000+R'),jdecode(''),'/91446/102257.html','true',[],''],
		['PAGE','102278',jdecode('DORSODURO'),jdecode(''),'/91446/102278.html','true',[],''],
		['PAGE','102299',jdecode('SHIVER'),jdecode(''),'/91446/102299.html','true',[],''],
		['PAGE','102320',jdecode('MANA'),jdecode(''),'/91446/102320.html','true',[],''],
		['PAGE','102341',jdecode('SXV'),jdecode(''),'/91446/102341.html','true',[],''],
		['PAGE','102362',jdecode('RXV'),jdecode(''),'/91446/102362.html','true',[],''],
		['PAGE','102383',jdecode('RS125'),jdecode(''),'/91446/102383.html','true',[],''],
		['PAGE','102404',jdecode('SCARABEO+500'),jdecode(''),'/91446/102404.html','true',[],''],
		['PAGE','102425',jdecode('SCARABEO+200'),jdecode(''),'/91446/102425.html','true',[],''],
		['PAGE','102446',jdecode('SCARABEO+100'),jdecode(''),'/91446/102446.html','true',[],''],
		['PAGE','102467',jdecode('SPORTCITY+250'),jdecode(''),'/91446/102467.html','true',[],''],
		['PAGE','102488',jdecode('SPORTCITY+125'),jdecode(''),'/91446/102488.html','true',[],''],
		['PAGE','102509',jdecode('SPORTCITY+50'),jdecode(''),'/91446/102509.html','true',[],''],
		['PAGE','102530',jdecode('SR+50+R'),jdecode(''),'/91446/102530.html','true',[],'']
	],''],
	['PAGE','91467',jdecode('APRILIA+COLORS'),jdecode(''),'/91467/index.html','true',[ 
		['PAGE','102551',jdecode('RSV+1000+FACTORY'),jdecode(''),'/91467/102551.html','true',[],''],
		['PAGE','102572',jdecode('RSV+1000+R'),jdecode(''),'/91467/102572.html','true',[],''],
		['PAGE','102593',jdecode('TUONO+1000+FACTORY'),jdecode(''),'/91467/102593.html','true',[],''],
		['PAGE','102614',jdecode('TUONO+1000+R'),jdecode(''),'/91467/102614.html','true',[],''],
		['PAGE','102635',jdecode('DORSODURO'),jdecode(''),'/91467/102635.html','true',[],''],
		['PAGE','102656',jdecode('SHIVER'),jdecode(''),'/91467/102656.html','true',[],''],
		['PAGE','102677',jdecode('MANA'),jdecode(''),'/91467/102677.html','true',[],''],
		['PAGE','102698',jdecode('SXV'),jdecode(''),'/91467/102698.html','true',[],''],
		['PAGE','102719',jdecode('RXV'),jdecode(''),'/91467/102719.html','true',[],''],
		['PAGE','102740',jdecode('RS+125'),jdecode(''),'/91467/102740.html','true',[],''],
		['PAGE','102761',jdecode('SCARABEO+500'),jdecode(''),'/91467/102761.html','true',[],''],
		['PAGE','102782',jdecode('SCARABEO+200'),jdecode(''),'/91467/102782.html','true',[],''],
		['PAGE','102803',jdecode('SCARABEO+100'),jdecode(''),'/91467/102803.html','true',[],''],
		['PAGE','102824',jdecode('SPORTCITY+250'),jdecode(''),'/91467/102824.html','true',[],''],
		['PAGE','102845',jdecode('SPORTCITY+125'),jdecode(''),'/91467/102845.html','true',[],''],
		['PAGE','102866',jdecode('SPORTCITY+50'),jdecode(''),'/91467/102866.html','true',[],''],
		['PAGE','102887',jdecode('SR+50+R'),jdecode(''),'/91467/102887.html','true',[],'']
	],''],
	['PAGE','34094',jdecode('FUTURE+EVENTS'),jdecode(''),'/34094/index.html','true',[ 
		['PAGE','34994',jdecode('FUTURE+EVENTS+%28follow+up+page%29'),jdecode(''),'/34094/34994.html','false',[],'']
	],''],
	['PAGE','8955',jdecode('CUSTOM+RIDES'),jdecode(''),'/8955.html','true',[],''],
	['PAGE','8976',jdecode('SERVICE+AND+PARTS'),jdecode(''),'/8976.html','true',[],''],
	['PAGE','52294',jdecode('WARRANTIES'),jdecode(''),'/52294.html','true',[],''],
	['PAGE','8997',jdecode('FINANCE+OPTIONS'),jdecode(''),'/8997.html','true',[],''],
	['PAGE','9018',jdecode('CONTACT+US'),jdecode(''),'/9018/index.html','true',[ 
		['PAGE','18384',jdecode('CONTACT+US+%28follow+up+page%29'),jdecode(''),'/9018/18384.html','false',[],'']
	],''],
	['PAGE','43194',jdecode('EVENT+PHOTOS'),jdecode(''),'/43194.html','true',[],''],
	['PAGE','18616',jdecode('MAP+%26+DIRECTIONS'),jdecode(''),'/18616.html','true',[],''],
	['PAGE','55194',jdecode('WINTERIZE'),jdecode(''),'/55194.html','true',[],''],
	['PAGE','24508',jdecode('LINKS'),jdecode(''),'/24508.html','true',[],'']];
var siteelementCount=86;
theSitetree.topTemplateName='Tide';
theSitetree.paletteFamily='314EB6';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='13623';
theSitetree.graphicsetId='12065';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='FFFFFF';
var localeDef={
  language: 'en',
  country: 'US'
};
var theTemplate={
				name: 			'Tide',
				paletteFamily: 	'314EB6',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'13623',
				graphicsetId: 	'12065',
				contentColor: 	'FFFFFF',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '8694',
internalId:  '1006',
customField: '1006'
};
webappMappings['7008']=webappMappings['7008-285']={
webappId:    '7008',
documentId:  '34094',
internalId:  '285',
customField: 'language:en;country:US;'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '18616',
internalId:  'location',
customField: 'language:en;country:US;isIncluded:false;'
};
webappMappings['1501']=webappMappings['1501-277480']={
webappId:    '1501',
documentId:  '8694',
internalId:  '277480',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '130994',
internalId:  '',
customField: '20100517-105925'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8694',
internalId:  '',
customField: '20100517-101056'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '34094',
internalId:  '',
customField: '20100517-095032'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8976',
internalId:  '',
customField: '20090512-073811'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '52294',
internalId:  '',
customField: '20090527-120755'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11570',
internalId:  '',
customField: '20100106-080924'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8766',
internalId:  '',
customField: '20100106-083934'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8787',
internalId:  '',
customField: '20100106-083948'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25494',
internalId:  '',
customField: '20100106-084006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '59715',
internalId:  '',
customField: '20100106-084029'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '82594',
internalId:  '',
customField: '20100106-084045'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18894',
internalId:  '',
customField: '20100106-084058'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18915',
internalId:  '',
customField: '20100106-084122'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18936',
internalId:  '',
customField: '20100106-084140'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25515',
internalId:  '',
customField: '20100106-084427'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '59757',
internalId:  '',
customField: '20100106-085021'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '82615',
internalId:  '',
customField: '20100106-085038'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11591',
internalId:  '',
customField: '20100106-085049'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8850',
internalId:  '',
customField: '20090202-164159'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25536',
internalId:  '',
customField: '20090202-164216'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8892',
internalId:  '',
customField: '20090202-164231'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8913',
internalId:  '',
customField: '20090216-165824'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '59778',
internalId:  '',
customField: '20100517-105833'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18978',
internalId:  '',
customField: '20090202-164318'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19020',
internalId:  '',
customField: '20090202-164335'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25557',
internalId:  '',
customField: '20090202-164350'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19062',
internalId:  '',
customField: '20090202-164405'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19083',
internalId:  '',
customField: '20090202-164421'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '59799',
internalId:  '',
customField: '20100517-100720'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '91194',
internalId:  '',
customField: '20090217-144840'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '91215',
internalId:  '',
customField: '20090303-145440'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '91236',
internalId:  '',
customField: '20090303-145531'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '91257',
internalId:  '',
customField: '20090303-145624'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '91278',
internalId:  '',
customField: '20090303-145714'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '91299',
internalId:  '',
customField: '20090303-145802'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '91320',
internalId:  '',
customField: '20090211-191549'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '91341',
internalId:  '',
customField: '20090316-074244'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '91362',
internalId:  '',
customField: '20090316-074405'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '91383',
internalId:  '',
customField: '20090316-074605'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '91404',
internalId:  '',
customField: '20090316-074751'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '91425',
internalId:  '',
customField: '20090316-074901'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '91446',
internalId:  '',
customField: '20090217-135729'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '102194',
internalId:  '',
customField: '20090303-105413'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '102215',
internalId:  '',
customField: '20090303-104155'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '102236',
internalId:  '',
customField: '20090303-113209'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '102257',
internalId:  '',
customField: '20090303-110847'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '102278',
internalId:  '',
customField: '20090303-100352'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '102299',
internalId:  '',
customField: '20090303-102423'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '102320',
internalId:  '',
customField: '20090303-103730'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '102341',
internalId:  '',
customField: '20090303-114205'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '102362',
internalId:  '',
customField: '20090303-115457'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '102383',
internalId:  '',
customField: '20090303-133740'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '102404',
internalId:  '',
customField: '20090303-142831'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '102425',
internalId:  '',
customField: '20090303-141230'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '102446',
internalId:  '',
customField: '20090303-140232'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '102467',
internalId:  '',
customField: '20090303-095525'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '102488',
internalId:  '',
customField: '20090303-144130'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '102509',
internalId:  '',
customField: '20090303-144851'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '102530',
internalId:  '',
customField: '20090303-095253'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '91467',
internalId:  '',
customField: '20090313-075549'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '102551',
internalId:  '',
customField: '20090313-090204'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '102572',
internalId:  '',
customField: '20090313-090028'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '102593',
internalId:  '',
customField: '20090313-085733'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '102614',
internalId:  '',
customField: '20090313-085533'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '102635',
internalId:  '',
customField: '20090313-085035'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '102656',
internalId:  '',
customField: '20090313-084557'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '102677',
internalId:  '',
customField: '20090313-084236'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '102698',
internalId:  '',
customField: '20090313-084019'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '102719',
internalId:  '',
customField: '20090313-083848'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '102740',
internalId:  '',
customField: '20090313-083714'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '102761',
internalId:  '',
customField: '20090313-081546'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '102782',
internalId:  '',
customField: '20090313-081230'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '102803',
internalId:  '',
customField: '20090313-080947'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '102824',
internalId:  '',
customField: '20090313-080709'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '102845',
internalId:  '',
customField: '20090313-080441'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '102866',
internalId:  '',
customField: '20090313-080239'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '102887',
internalId:  '',
customField: '20090313-075858'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '34994',
internalId:  '',
customField: '20060405-103334'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8955',
internalId:  '',
customField: '20090202-164511'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8997',
internalId:  '',
customField: '20090307-091005'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9018',
internalId:  '',
customField: '20090217-130724'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18384',
internalId:  '',
customField: '20051028-131645'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43194',
internalId:  '',
customField: '20090601-141525'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18616',
internalId:  '',
customField: '20090217-130754'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '55194',
internalId:  '',
customField: '20091009-092216'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24508',
internalId:  '',
customField: '20100503-075957'
};
webappMappings['7008']=webappMappings['7008-284']={
webappId:    '7008',
documentId:  '9018',
internalId:  '284',
customField: 'language:en;country:US;'
};
var canonHostname = 'cm4all.aplus.net';
var accountId     = 'AAPLU0INX2UA';
var companyName   = 'Vespa+Saint+Louis';
var htmlTitle	  = 'Vespa+Saint+Louis';
var metaKeywords  = 'Scooter+Saint+Louis%2C+Motorcycle+Saint+Louis%2C+Scooters+St.+Louis%2C+Scooter%2C+Scooters%2C+Saint%2C+Louis%2C+Vespa%2C+Piaggio%2C+Trailer+Hitches%2C+Moto+Guzzi%2C+Aprilia%2C+ET2%2C+ET4%2C+LX50%2C+LX150%2C+GT200%2C+GRANTURISMO%2C+PX150%2C+TYPHOON%2C+BV200%2C+FLY150%2C+X9+EVOLUTION%2C+EVO%2C+EVOLUTION%2C+BV250%2C+BV500%2C+ACCESSORIES%2C+PARTS%2C+SERVICE%2C+VESPA%2C+VESPISTA%2C+FRANCHISE+DEALER%2C+MISSOURI%2C+Shiver%2C+Griso%2C+Norge%2C+Stelvio%2C+Dorsoduro%2C+Mana%2C+V7+Classic%2C+Motoguzzi%2C+Motorcycles%2C+RSV%2C+Factory%2C+';
var metaContents  = 'Vespa+Saint+Louis%2C+Missouri+63108%2C+Motorcycles+and+Scooters+Saint+Louis%2C+we+carry+a+full+line+of+Vespa+and+Piaggio+Motor+Scooters.+We+are+a+Saint+Louis+Factory+Authorized+Moto+Guzzi+Aprilia+Vespa+and+Piaggio+Parts+and+Service+Facility.+We+carry+a+full+line+of+Moto+Guzzi+Aprilia+Vespa+Piaggio+accessories.+New+Store+in+Kirkwood+MO+63122';
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();
};
