/* [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','9601',jdecode('Home'),jdecode(''), jdecode('%2F9601%2Findex.html'), 'true',[ 
		['PAGE','55309',jdecode('Summer+Fun'),jdecode(''), jdecode('%2F9601%2F55309.html'), 'false',[],'',''],
		['PAGE','55409',jdecode('Let+it+Snow%21'),jdecode(''), jdecode('%2F9601%2F55409.html'), 'false',[],'','']
	],'',''],
	['PAGE','9673',jdecode('GRAPHIC+DESIGN'),jdecode(''), jdecode('%2F9673%2Findex.html'), 'true',[ 
		['PAGE','29509',jdecode('LOGO+DESIGN'),jdecode(''), jdecode('%2F9673%2F29509.html'), 'true',[],'',''],
		['PAGE','29530',jdecode('BUSINESS+CARDS'),jdecode(''), jdecode('%2F9673%2F29530.html'), 'true',[],'',''],
		['PAGE','29809',jdecode('+++MARKETING'),jdecode(''), jdecode('%2F9673%2F29809.html'), 'true',[],'',''],
		['PAGE','29830',jdecode('PROMOTIONAL'),jdecode(''), jdecode('%2F9673%2F29830.html'), 'false',[],'',''],
		['PAGE','83222',jdecode('WEBSITES'),jdecode(''), jdecode('%2F9673%2F83222.html'), 'true',[],'',''],
		['PAGE','47111',jdecode('JUST+FOR+FUN'),jdecode(''), jdecode('%2F9673%2F47111.html'), 'false',[],'',''],
		['PAGE','74268',jdecode('PET+PORTRAITS'),jdecode(''), jdecode('%2F9673%2F74268.html'), 'false',[],'',''],
		['PAGE','29551',jdecode('PRICING+LIST'),jdecode(''), jdecode('%2F9673%2F29551.html'), 'true',[],'','']
	],'',''],
	['PAGE','19801',jdecode('Artist%26%23x27%3Bs+Bio'),jdecode(''), jdecode('%2F19801.html'), 'true',[],'',''],
	['PAGE','9694',jdecode('Artist%26%23x27%3Bs+Galleries'),jdecode(''), jdecode('%2F9694%2Findex.html'), 'true',[ 
		['PAGE','31637',jdecode('Watercolor'),jdecode(''), jdecode('%2F9694%2F31637.html'), 'true',[],'',''],
		['PAGE','39775',jdecode('Watercolor+II'),jdecode(''), jdecode('%2F9694%2F39775.html'), 'true',[],'',''],
		['PAGE','31658',jdecode('Pastel'),jdecode(''), jdecode('%2F9694%2F31658.html'), 'true',[],'',''],
		['PAGE','31679',jdecode('Acrylic'),jdecode(''), jdecode('%2F9694%2F31679.html'), 'true',[],'',''],
		['PAGE','31700',jdecode('Pen+%26+Ink'),jdecode(''), jdecode('%2F9694%2F31700.html'), 'true',[],'',''],
		['PAGE','39675',jdecode('Pencil+%2F+Charcoal'),jdecode(''), jdecode('%2F9694%2F39675.html'), 'true',[],'',''],
		['PAGE','20322',jdecode('Photography'),jdecode(''), jdecode('%2F9694%2F20322.html'), 'true',[],'',''],
		['PAGE','56623',jdecode('WeHold'),jdecode(''), jdecode('%2F9694%2F56623.html'), 'false',[],'',''],
		['PAGE','56644',jdecode('Undersea'),jdecode(''), jdecode('%2F9694%2F56644.html'), 'false',[],'',''],
		['PAGE','56665',jdecode('KirkBus'),jdecode(''), jdecode('%2F9694%2F56665.html'), 'false',[],'',''],
		['PAGE','56686',jdecode('Sunflower'),jdecode(''), jdecode('%2F9694%2F56686.html'), 'false',[],'',''],
		['PAGE','56707',jdecode('Cloud9'),jdecode(''), jdecode('%2F9694%2F56707.html'), 'false',[],'',''],
		['PAGE','56728',jdecode('NorthSea'),jdecode(''), jdecode('%2F9694%2F56728.html'), 'false',[],'',''],
		['PAGE','56749',jdecode('LaPush'),jdecode(''), jdecode('%2F9694%2F56749.html'), 'false',[],'',''],
		['PAGE','56770',jdecode('ToLife%21'),jdecode(''), jdecode('%2F9694%2F56770.html'), 'false',[],'',''],
		['PAGE','56791',jdecode('WoodDucks'),jdecode(''), jdecode('%2F9694%2F56791.html'), 'false',[],'',''],
		['PAGE','58621',jdecode('Marishka'),jdecode(''), jdecode('%2F9694%2F58621.html'), 'false',[],'',''],
		['PAGE','58642',jdecode('Sadie'),jdecode(''), jdecode('%2F9694%2F58642.html'), 'false',[],'',''],
		['PAGE','58663',jdecode('FantasySail'),jdecode(''), jdecode('%2F9694%2F58663.html'), 'false',[],'',''],
		['PAGE','58684',jdecode('Misery'),jdecode(''), jdecode('%2F9694%2F58684.html'), 'false',[],'',''],
		['PAGE','60003',jdecode('Loading'),jdecode(''), jdecode('%2F9694%2F60003.html'), 'false',[],'',''],
		['PAGE','60024',jdecode('Crew'),jdecode(''), jdecode('%2F9694%2F60024.html'), 'false',[],'',''],
		['PAGE','60045',jdecode('Ridders'),jdecode(''), jdecode('%2F9694%2F60045.html'), 'false',[],'',''],
		['PAGE','60066',jdecode('Free+Holland'),jdecode(''), jdecode('%2F9694%2F60066.html'), 'false',[],'',''],
		['PAGE','60903',jdecode('At+Rest'),jdecode(''), jdecode('%2F9694%2F60903.html'), 'false',[],'',''],
		['PAGE','60924',jdecode('Issaquah'),jdecode(''), jdecode('%2F9694%2F60924.html'), 'false',[],'',''],
		['PAGE','60945',jdecode('CoCo'),jdecode(''), jdecode('%2F9694%2F60945.html'), 'false',[],'',''],
		['PAGE','60966',jdecode('Tractor'),jdecode(''), jdecode('%2F9694%2F60966.html'), 'false',[],'',''],
		['PAGE','31721',jdecode('MOUNTAINS'),jdecode(''), jdecode('%2F9694%2F31721.html'), 'false',[],'',''],
		['PAGE','62203',jdecode('River+of+Gold'),jdecode(''), jdecode('%2F9694%2F62203.html'), 'false',[],'',''],
		['PAGE','62224',jdecode('Mesa+Falls'),jdecode(''), jdecode('%2F9694%2F62224.html'), 'false',[],'',''],
		['PAGE','62245',jdecode('Copper+Creek'),jdecode(''), jdecode('%2F9694%2F62245.html'), 'false',[],'',''],
		['PAGE','31742',jdecode('OCEAN'),jdecode(''), jdecode('%2F9694%2F31742.html'), 'false',[],'',''],
		['PAGE','62266',jdecode('Indian+Beach'),jdecode(''), jdecode('%2F9694%2F62266.html'), 'false',[],'',''],
		['PAGE','62287',jdecode('Trinidad+Lighthouse'),jdecode(''), jdecode('%2F9694%2F62287.html'), 'false',[],'',''],
		['PAGE','62308',jdecode('Through+the+Rocks'),jdecode(''), jdecode('%2F9694%2F62308.html'), 'false',[],'',''],
		['PAGE','31763',jdecode('TEXAS'),jdecode(''), jdecode('%2F9694%2F31763.html'), 'false',[],'',''],
		['PAGE','64487',jdecode('Dakota+Wind'),jdecode(''), jdecode('%2F9694%2F64487.html'), 'false',[],'',''],
		['PAGE','64508',jdecode('Through+the+Woods'),jdecode(''), jdecode('%2F9694%2F64508.html'), 'false',[],'',''],
		['PAGE','64529',jdecode('Sky+on+Fire'),jdecode(''), jdecode('%2F9694%2F64529.html'), 'false',[],'',''],
		['PAGE','64550',jdecode('Hole+in+the+Sky'),jdecode(''), jdecode('%2F9694%2F64550.html'), 'false',[],'',''],
		['PAGE','64571',jdecode('Blackbird+Sky'),jdecode(''), jdecode('%2F9694%2F64571.html'), 'false',[],'',''],
		['PAGE','64592',jdecode('Herman'),jdecode(''), jdecode('%2F9694%2F64592.html'), 'false',[],'',''],
		['PAGE','31784',jdecode('STILL+LIFE'),jdecode(''), jdecode('%2F9694%2F31784.html'), 'false',[],'',''],
		['PAGE','64983',jdecode('Changing+Season'),jdecode(''), jdecode('%2F9694%2F64983.html'), 'false',[],'',''],
		['PAGE','64917',jdecode('Harvest+Time'),jdecode(''), jdecode('%2F9694%2F64917.html'), 'false',[],'',''],
		['PAGE','64938',jdecode('Birch+Ferns'),jdecode(''), jdecode('%2F9694%2F64938.html'), 'false',[],'','']
	],'',''],
	['PAGE','9715',jdecode('NEW+ARTWORK'),jdecode(''), jdecode('%2F9715%2Findex.html'), 'true',[ 
		['PAGE','85592',jdecode('NEW+Postcard'),jdecode(''), jdecode('%2F9715%2F85592.html'), 'true',[],'',''],
		['PAGE','117534',jdecode('2011+Postcards'),jdecode(''), jdecode('%2F9715%2F117534.html'), 'true',[],'',''],
		['PAGE','32637',jdecode('2010+Postcards'),jdecode(''), jdecode('%2F9715%2F32637.html'), 'true',[],'',''],
		['PAGE','115134',jdecode('2009+Postcards'),jdecode(''), jdecode('%2F9715%2F115134.html'), 'true',[],'','']
	],'',''],
	['PAGE','92506',jdecode('Shop+the+Gallery'),jdecode(''), jdecode('%2F92506.html'), 'true',[],'',''],
	['PAGE','31537',jdecode('Shows+%26+Events'),jdecode(''), jdecode('%2F31537.html'), 'true',[],'',''],
	['PAGE','9736',jdecode('Awards+%26+Honors'),jdecode(''), jdecode('%2F9736%2Findex.html'), 'true',[ 
		['PAGE','43571',jdecode('Orchestral+Study'),jdecode(''), jdecode('%2F9736%2F43571.html'), 'false',[],'',''],
		['PAGE','43592',jdecode('Wisdom%2FInnocence'),jdecode(''), jdecode('%2F9736%2F43592.html'), 'false',[],'',''],
		['PAGE','44155',jdecode('++Still+Life+w%2FDogs'),jdecode(''), jdecode('%2F9736%2F44155.html'), 'false',[],'',''],
		['PAGE','43613',jdecode('Operation+Manna'),jdecode(''), jdecode('%2F9736%2F43613.html'), 'false',[],'','']
	],'',''],
	['PAGE','68040',jdecode('Testimonials'),jdecode(''), jdecode('%2F68040.html'), 'true',[],'',''],
	['PAGE','24255',jdecode('Contact+Us'),jdecode(''), jdecode('%2F24255.html'), 'true',[],'','']];
var siteelementCount=75;
theSitetree.topTemplateName='Popart';
theSitetree.paletteFamily='B4AB19';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10345';
theSitetree.graphicsetId='10454';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='000000';
var localeDef={
  language: 'en',
  country: 'US'
};
var prodDef={
  wl_name: 'endurance',
  product: 'WSCSYSSSSLY0XRN4'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Popart',
				paletteFamily: 	'B4AB19',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10345',
				graphicsetId: 	'10454',
				contentColor: 	'FFFFFF',
				contentBGColor: '000000',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['7008']=webappMappings['7008-11072']={
webappId:    '7008',
documentId:  '24255',
internalId:  '11072',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9601',
internalId:  '',
customField: '20110515-103854'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19801',
internalId:  '',
customField: '20110610-115641'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9673',
internalId:  '',
customField: '20091112-105836'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9715',
internalId:  '',
customField: '20110220-133851'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24255',
internalId:  '',
customField: '20101216-105600'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9736',
internalId:  '',
customField: '20110730-084242'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '9601',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9694',
internalId:  '',
customField: '20100321-104917'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '31537',
internalId:  '',
customField: '20101102-104548'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20322',
internalId:  '',
customField: '20091112-113242'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '29530',
internalId:  '',
customField: '20090501-172302'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '29509',
internalId:  '',
customField: '20090625-132034'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '29809',
internalId:  '',
customField: '20091022-172911'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '29830',
internalId:  '',
customField: '20081211-170543'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '29551',
internalId:  '',
customField: '20100308-145439'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '31637',
internalId:  '',
customField: '20081223-143048'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '31658',
internalId:  '',
customField: '20081217-135830'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '31679',
internalId:  '',
customField: '20081217-135954'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '31700',
internalId:  '',
customField: '20081217-152858'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '31721',
internalId:  '',
customField: '20091112-105124'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '31742',
internalId:  '',
customField: '20091112-094952'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '31763',
internalId:  '',
customField: '20091112-113526'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '31784',
internalId:  '',
customField: '20091112-102006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32637',
internalId:  '',
customField: '20110117-160419'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39775',
internalId:  '',
customField: '20081216-171118'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39675',
internalId:  '',
customField: '20081217-153052'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43571',
internalId:  '',
customField: '20081208-172504'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43592',
internalId:  '',
customField: '20081208-172848'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44155',
internalId:  '',
customField: '20081208-173344'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43613',
internalId:  '',
customField: '20081208-173850'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47111',
internalId:  '',
customField: '20081212-145001'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '55309',
internalId:  '',
customField: '20081216-143605'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '55409',
internalId:  '',
customField: '20081216-143437'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56623',
internalId:  '',
customField: '20081216-160135'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56644',
internalId:  '',
customField: '20081216-160648'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56665',
internalId:  '',
customField: '20081216-161115'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56686',
internalId:  '',
customField: '20081216-161452'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56707',
internalId:  '',
customField: '20081216-161831'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56728',
internalId:  '',
customField: '20081216-162143'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56749',
internalId:  '',
customField: '20081216-162456'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56770',
internalId:  '',
customField: '20081216-163002'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56791',
internalId:  '',
customField: '20081216-163312'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '58621',
internalId:  '',
customField: '20081217-104736'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '58642',
internalId:  '',
customField: '20081217-104950'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '58663',
internalId:  '',
customField: '20081217-105247'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '58684',
internalId:  '',
customField: '20081217-105533'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '60003',
internalId:  '',
customField: '20081217-140826'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '60024',
internalId:  '',
customField: '20081217-141223'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '60045',
internalId:  '',
customField: '20081217-141453'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '60066',
internalId:  '',
customField: '20081217-141918'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '60903',
internalId:  '',
customField: '20081217-144210'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '60924',
internalId:  '',
customField: '20081217-144514'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '60945',
internalId:  '',
customField: '20081217-144809'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '60966',
internalId:  '',
customField: '20081217-145135'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '62203',
internalId:  '',
customField: '20081218-120416'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '62224',
internalId:  '',
customField: '20081218-121152'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '62245',
internalId:  '',
customField: '20081218-121457'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '62266',
internalId:  '',
customField: '20081218-123019'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '62287',
internalId:  '',
customField: '20081218-123321'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '62308',
internalId:  '',
customField: '20081218-123707'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '64487',
internalId:  '',
customField: '20081218-151050'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '64508',
internalId:  '',
customField: '20081218-151405'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '64529',
internalId:  '',
customField: '20081218-151714'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '64550',
internalId:  '',
customField: '20081218-152010'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '64571',
internalId:  '',
customField: '20081218-152302'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '64592',
internalId:  '',
customField: '20081218-152505'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '64983',
internalId:  '',
customField: '20081218-153939'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '64917',
internalId:  '',
customField: '20081218-154232'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '64938',
internalId:  '',
customField: '20081218-154528'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '117534',
internalId:  '',
customField: '20111211-111806'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '92506',
internalId:  '',
customField: '20100321-110115'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '68040',
internalId:  '',
customField: '20090220-114450'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '74268',
internalId:  '',
customField: '20090219-110806'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '85592',
internalId:  '',
customField: '20111211-112458'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '115134',
internalId:  '',
customField: '20101202-102623'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '83222',
internalId:  '',
customField: '20110429-103041'
};
var webAppHostname = 'cgiwsc.enhancedsitebuilder.com:80';
var canonHostname = 'cmworker01.yourhostingaccount.com';
var accountId     = 'AENDU0INET2D';
var companyName   = 'SHADOW+RIDGE+GRAPHICS';
var htmlTitle	  = 'Shadow+Ridge+Graphics';
var metaKeywords  = 'graphic+art%2C+graphic+design%2C+commercial+art%2C+marketing+material+design%2C+logo+design%2C+watercolor+paintings%2C+pastel+drawings%2C+Texas+art%2C+business+card+design%2C+Texas+photography%2C+Texas+postcards';
var metaContents  = 'Shadow+Ridge+Graphics+...+where+the+worlds+of+graphic+art+and+fine+art+meet.++Providing+everything+you+need+to+promote+your+business+identity%3A++Logo+design%2C+business+cards+and+marketing+materials.++Also+specializing+in+watercolor+and+pastel+fine+art.';
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();
};

