/* [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','1822',jdecode('News+and+Gossip'),jdecode(''),'/1822.html','true',[],''],
	['PAGE','231193',jdecode('On+The+Web%21'),jdecode(''),'/231193.html','true',[],''],
	['PAGE','50401',jdecode('Contact+Me%21'),jdecode(''),'/50401.html','true',[],''],
	['PAGE','2322',jdecode('Review-O-Rama'),jdecode(''),'/2322/index.html','true',[ 
		['PAGE','20201',jdecode('1%2C2%2C3...'),jdecode(''),'/2322/20201.html','true',[],''],
		['PAGE','16001',jdecode('a+'),jdecode(''),'/2322/16001.html','true',[],''],
		['PAGE','16301',jdecode('b'),jdecode(''),'/2322/16301.html','true',[],''],
		['PAGE','16022',jdecode('c'),jdecode(''),'/2322/16022.html','true',[],''],
		['PAGE','16043',jdecode('d'),jdecode(''),'/2322/16043.html','true',[],''],
		['PAGE','16064',jdecode('e'),jdecode(''),'/2322/16064.html','true',[],''],
		['PAGE','16085',jdecode('f'),jdecode(''),'/2322/16085.html','true',[],''],
		['PAGE','16106',jdecode('g'),jdecode(''),'/2322/16106.html','true',[],''],
		['PAGE','16501',jdecode('h'),jdecode(''),'/2322/16501.html','true',[],''],
		['PAGE','16522',jdecode('i'),jdecode(''),'/2322/16522.html','true',[],''],
		['PAGE','16543',jdecode('j'),jdecode(''),'/2322/16543.html','true',[],''],
		['PAGE','16564',jdecode('k'),jdecode(''),'/2322/16564.html','true',[],''],
		['PAGE','16585',jdecode('l'),jdecode(''),'/2322/16585.html','true',[],''],
		['PAGE','16606',jdecode('m'),jdecode(''),'/2322/16606.html','true',[],''],
		['PAGE','16627',jdecode('n'),jdecode(''),'/2322/16627.html','true',[],''],
		['PAGE','21001',jdecode('n+con%26%23x27%3Bt'),jdecode(''),'/2322/21001.html','true',[],''],
		['PAGE','16648',jdecode('o'),jdecode(''),'/2322/16648.html','true',[],''],
		['PAGE','16669',jdecode('p'),jdecode(''),'/2322/16669.html','true',[],''],
		['PAGE','16690',jdecode('q'),jdecode(''),'/2322/16690.html','true',[],''],
		['PAGE','16711',jdecode('r'),jdecode(''),'/2322/16711.html','true',[],''],
		['PAGE','16732',jdecode('s'),jdecode(''),'/2322/16732.html','true',[],''],
		['PAGE','18101',jdecode('s+con%26%23x27%3Bt'),jdecode(''),'/2322/18101.html','true',[],''],
		['PAGE','16753',jdecode('t'),jdecode(''),'/2322/16753.html','true',[],''],
		['PAGE','16774',jdecode('u'),jdecode(''),'/2322/16774.html','true',[],''],
		['PAGE','16795',jdecode('v'),jdecode(''),'/2322/16795.html','true',[],''],
		['PAGE','16816',jdecode('w'),jdecode(''),'/2322/16816.html','true',[],''],
		['PAGE','16837',jdecode('x'),jdecode(''),'/2322/16837.html','true',[],''],
		['PAGE','16858',jdecode('y'),jdecode(''),'/2322/16858.html','true',[],''],
		['PAGE','16879',jdecode('z'),jdecode(''),'/2322/16879.html','true',[],'']
	],''],
	['PAGE','102001',jdecode('Metro+Columns'),jdecode(''),'/102001.html','true',[],''],
	['PAGE','61501',jdecode('Photo+Galleries'),jdecode(''),'/61501/index.html','true',[ 
		['PAGE','172379',jdecode('Son+of+the+100+Best+Movies'),jdecode(''),'/61501/172379.html','true',[],''],
		['PAGE','88601',jdecode('Richard+Crouse%26%23x27%3Bs+Movie+Show'),jdecode(''),'/61501/88601.html','true',[],'']
	],''],
	['PAGE','2343',jdecode('Biography'),jdecode(''),'/2343.html','true',[],''],
	['PAGE','2301',jdecode('Richard+Sez'),jdecode(''),'/2301/index.html','true',[ 
		['PAGE','26701',jdecode('Richard+Sez+con%26%23x27%3Bt'),jdecode(''),'/2301/26701.html','true',[],'']
	],''],
	['PAGE','2364',jdecode('Press'),jdecode(''),'/2364/index.html','true',[ 
		['PAGE','21401',jdecode('Richard%26%23x27%3Bs+Books'),jdecode(''),'/2364/21401.html','true',[],''],
		['PAGE','21801',jdecode('Press+2005'),jdecode(''),'/2364/21801.html','true',[],''],
		['PAGE','21822',jdecode('Press+2006'),jdecode(''),'/2364/21822.html','true',[],''],
		['PAGE','22201',jdecode('Press+2006+con%26%23x27%3Bt'),jdecode(''),'/2364/22201.html','true',[],''],
		['PAGE','22401',jdecode('Press+2006+con%26%23x27%3Bt'),jdecode(''),'/2364/22401.html','true',[],''],
		['PAGE','21843',jdecode('Press+2007'),jdecode(''),'/2364/21843.html','true',[],''],
		['PAGE','22801',jdecode('Press+2007+con%26%23x27%3Bt+'),jdecode(''),'/2364/22801.html','true',[],''],
		['PAGE','23001',jdecode('Press+2007+con%26%23x27%3Bt'),jdecode(''),'/2364/23001.html','true',[],'']
	],''],
	['PAGE','145223',jdecode('Richard%26%23x27%3Bs+Picks+Archive'),jdecode(''),'/145223/index.html','true',[ 
		['PAGE','224793',jdecode('Richard%26%23x27%3Bs+Pick%26%23x27%3Bs+subpage+1'),jdecode(''),'/145223/224793.html','true',[],''],
		['PAGE','224814',jdecode('Richard%26%23x27%3Bs+Picks+subpage+2'),jdecode(''),'/145223/224814.html','true',[],'']
	],''],
	['PAGE','2385',jdecode('On+Line+Diaries'),jdecode(''),'/2385/index.html','true',[ 
		['PAGE','23522',jdecode('Los+Angeles+2002'),jdecode(''),'/2385/23522.html','true',[],''],
		['PAGE','24827',jdecode('Cannes+2002'),jdecode(''),'/2385/24827.html','true',[],''],
		['PAGE','24890',jdecode('New+York+2002'),jdecode(''),'/2385/24890.html','true',[],''],
		['PAGE','24869',jdecode('Toronto+2002'),jdecode(''),'/2385/24869.html','true',[],''],
		['PAGE','23501',jdecode('Mr.+Crouse+Goes+to+Washington'),jdecode(''),'/2385/23501.html','true',[],''],
		['PAGE','23543',jdecode('New+York+City+2003'),jdecode(''),'/2385/23543.html','true',[],''],
		['PAGE','23564',jdecode('New+York+Decemeber+2003'),jdecode(''),'/2385/23564.html','true',[],''],
		['PAGE','23606',jdecode('Las+Vegas+July+2003'),jdecode(''),'/2385/23606.html','true',[],''],
		['PAGE','24848',jdecode('Hollyweird+03'),jdecode(''),'/2385/24848.html','true',[],''],
		['PAGE','24785',jdecode('The+Big+Mango'),jdecode(''),'/2385/24785.html','true',[],''],
		['PAGE','24806',jdecode('The+Big+Mango+con%26%23x27%3Bt'),jdecode(''),'/2385/24806.html','true',[],''],
		['PAGE','24911',jdecode('Cannes+2003'),jdecode(''),'/2385/24911.html','true',[],''],
		['PAGE','23585',jdecode('Los+Angeles+January+2004'),jdecode(''),'/2385/23585.html','true',[],''],
		['PAGE','23627',jdecode('LA.+%26+NY+March+2004'),jdecode(''),'/2385/23627.html','true',[],''],
		['PAGE','24764',jdecode('Los+Angeles+April+04'),jdecode(''),'/2385/24764.html','true',[],''],
		['PAGE','24722',jdecode('Los+Angeles+April+05'),jdecode(''),'/2385/24722.html','true',[],''],
		['PAGE','24743',jdecode('Los+Angeles+March+05'),jdecode(''),'/2385/24743.html','true',[],''],
		['PAGE','24932',jdecode('Cannes+2005'),jdecode(''),'/2385/24932.html','true',[],''],
		['PAGE','24953',jdecode('Cannes+2005+con%26%23x27%3Bt'),jdecode(''),'/2385/24953.html','true',[],''],
		['PAGE','24701',jdecode('Floating+Film+Festival+08'),jdecode(''),'/2385/24701.html','true',[],''],
		['PAGE','62401',jdecode('TIFF+Notes+2008'),jdecode(''),'/2385/62401.html','true',[],''],
		['PAGE','231593',jdecode('TIFF+Wrap+09'),jdecode(''),'/2385/231593.html','true',[],''],
		['PAGE','167179',jdecode('Angels+%26+Demons+Page'),jdecode(''),'/2385/167179.html','true',[],''],
		['PAGE','196279',jdecode('Half+Blood+Prince'),jdecode(''),'/2385/196279.html','true',[],''],
		['PAGE','234707',jdecode('The+Wizard+of+Oz'),jdecode(''),'/2385/234707.html','true',[],'']
	],''],
	['PAGE','15701',jdecode('Recent+News+and+Gossip'),jdecode(''),'/15701/index.html','true',[ 
		['PAGE','2406',jdecode('Archived+News'),jdecode(''),'/15701/2406.html','true',[],''],
		['PAGE','27101',jdecode('News+2005'),jdecode(''),'/15701/27101.html','true',[],''],
		['PAGE','27122',jdecode('News+2005+con%26%23x27%3Bt'),jdecode(''),'/15701/27122.html','true',[],''],
		['PAGE','27143',jdecode('News+2006'),jdecode(''),'/15701/27143.html','true',[],''],
		['PAGE','27164',jdecode('News+2006+con%26%23x27%3Bt'),jdecode(''),'/15701/27164.html','true',[],''],
		['PAGE','27269',jdecode('News+2007'),jdecode(''),'/15701/27269.html','true',[],''],
		['PAGE','27290',jdecode('News+2007+con%26%23x27%3Bt'),jdecode(''),'/15701/27290.html','true',[],''],
		['PAGE','27311',jdecode('News+2007+con%26%23x27%3Bt'),jdecode(''),'/15701/27311.html','true',[],''],
		['PAGE','246207',jdecode('Richard+Worst+of+2009'),jdecode(''),'/15701/246207.html','true',[],''],
		['PAGE','266907',jdecode('Richard%26%23x27%3Bs+Best+of+2009'),jdecode(''),'/15701/266907.html','true',[],''],
		['PAGE','269907',jdecode('Richard+Most+Overlooked'),jdecode(''),'/15701/269907.html','true',[],'']
	],''],
	['PAGE','285007',jdecode(''),jdecode(''),'/285007.html','true',[],''],
	['PAGE','287607',jdecode('Victoria+Film+Festival+2010'),jdecode(''),'/287607.html','true',[],''],
	['PAGE','297407',jdecode(''),jdecode(''),'/297407.html','true',[],''],
	['PAGE','335707',jdecode(''),jdecode(''),'/335707.html','true',[],'']];
var siteelementCount=94;
theSitetree.topTemplateName='Card';
theSitetree.paletteFamily='990000';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='427';
theSitetree.graphicsetId='479';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var localeDef={
  language: 'en',
  country: 'US'
};
var theTemplate={
				name: 			'Card',
				paletteFamily: 	'990000',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'427',
				graphicsetId: 	'479',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'FFFFFF',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1822',
internalId:  '',
customField: '20100729-173608'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2301',
internalId:  '',
customField: '20100616-184456'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '1822',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2322',
internalId:  '',
customField: '20100729-153718'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2343',
internalId:  '',
customField: '20100420-143021'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2364',
internalId:  '',
customField: '20100629-133647'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2385',
internalId:  '',
customField: '20100701-124029'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2406',
internalId:  '',
customField: '20080423-141424'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27101',
internalId:  '',
customField: '20080502-114051'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23501',
internalId:  '',
customField: '20080503-131136'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15701',
internalId:  '',
customField: '20100718-093038'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16001',
internalId:  '',
customField: '20100610-125402'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16301',
internalId:  '',
customField: '20100506-124857'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16022',
internalId:  '',
customField: '20100729-153812'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16043',
internalId:  '',
customField: '20100729-153858'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16064',
internalId:  '',
customField: '20100506-124952'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16732',
internalId:  '',
customField: '20100722-120343'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18101',
internalId:  '',
customField: '20080825-092108'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16085',
internalId:  '',
customField: '20100429-114710'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16858',
internalId:  '',
customField: '20100527-143946'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16816',
internalId:  '',
customField: '20100408-152222'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16795',
internalId:  '',
customField: '20090712-102014'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16711',
internalId:  '',
customField: '20100513-130047'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16106',
internalId:  '',
customField: '20100708-125912'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16606',
internalId:  '',
customField: '20100603-160737'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16585',
internalId:  '',
customField: '20100701-121635'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16648',
internalId:  '',
customField: '20100422-170240'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16627',
internalId:  '',
customField: '20100429-114753'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16543',
internalId:  '',
customField: '20100618-103316'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16522',
internalId:  '',
customField: '20100715-103304'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16501',
internalId:  '',
customField: '20100520-162843'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16564',
internalId:  '',
customField: '20100708-125816'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16753',
internalId:  '',
customField: '20100630-105744'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20201',
internalId:  '',
customField: '20091112-153905'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16774',
internalId:  '',
customField: '20091202-174747'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16669',
internalId:  '',
customField: '20100708-125715'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16837',
internalId:  '',
customField: '20090430-112640'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16690',
internalId:  '',
customField: '20081113-162347'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '50401',
internalId:  '',
customField: '20080723-162658'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '21001',
internalId:  '',
customField: '20080424-235916'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16879',
internalId:  '',
customField: '20091001-152754'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '21401',
internalId:  '',
customField: '20080425-095524'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '21822',
internalId:  '',
customField: '20080503-124339'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22201',
internalId:  '',
customField: '20080503-125018'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22401',
internalId:  '',
customField: '20080503-125228'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '21801',
internalId:  '',
customField: '20080503-124005'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '21843',
internalId:  '',
customField: '20080503-125609'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22801',
internalId:  '',
customField: '20080503-130301'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23001',
internalId:  '',
customField: '20080503-130438'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23522',
internalId:  '',
customField: '20080503-130555'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23543',
internalId:  '',
customField: '20080503-131222'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23564',
internalId:  '',
customField: '20080503-131333'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23585',
internalId:  '',
customField: '20080503-132127'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23606',
internalId:  '',
customField: '20080503-131416'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23627',
internalId:  '',
customField: '20080503-132232'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24701',
internalId:  '',
customField: '20080507-174359'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24722',
internalId:  '',
customField: '20080503-132526'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24743',
internalId:  '',
customField: '20080503-132745'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24764',
internalId:  '',
customField: '20080503-132335'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24785',
internalId:  '',
customField: '20080503-131717'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24806',
internalId:  '',
customField: '20080503-131821'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24827',
internalId:  '',
customField: '20080503-130952'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24848',
internalId:  '',
customField: '20080503-131519'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24869',
internalId:  '',
customField: '20080503-131103'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24890',
internalId:  '',
customField: '20080502-104855'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24911',
internalId:  '',
customField: '20080503-132025'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24932',
internalId:  '',
customField: '20080503-132946'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24953',
internalId:  '',
customField: '20080503-133045'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26701',
internalId:  '',
customField: '20080503-123446'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27143',
internalId:  '',
customField: '20080502-114728'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27164',
internalId:  '',
customField: '20080502-115829'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27269',
internalId:  '',
customField: '20080502-121355'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27290',
internalId:  '',
customField: '20080502-122508'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27311',
internalId:  '',
customField: '20080502-162003'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27122',
internalId:  '',
customField: '20080502-114003'
};
webappMappings['1501']=webappMappings['1501-8308079']={
webappId:    '1501',
documentId:  '1822',
internalId:  '8308079',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '61501',
internalId:  '',
customField: '20090615-101152'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '62401',
internalId:  '',
customField: '20080920-131241'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '285007',
internalId:  '',
customField: '20100301-165024'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '287607',
internalId:  '',
customField: '20100217-170902'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '297407',
internalId:  '',
customField: '20100430-104324'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '269907',
internalId:  '',
customField: '20091220-173714'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '88601',
internalId:  '',
customField: '20090423-114540'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '234707',
internalId:  '',
customField: '20091005-113422'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '102001',
internalId:  '',
customField: '20100723-151909'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '145223',
internalId:  '',
customField: '20100729-150533'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '167179',
internalId:  '',
customField: '20090515-162355'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '172379',
internalId:  '',
customField: '20090530-103513'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '246207',
internalId:  '',
customField: '20091220-172258'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '266907',
internalId:  '',
customField: '20091220-171816'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '196279',
internalId:  '',
customField: '20090717-174529'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '335707',
internalId:  '',
customField: '20100505-153254'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '224793',
internalId:  '',
customField: '20090903-123950'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '224814',
internalId:  '',
customField: '20090903-124213'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '231193',
internalId:  '',
customField: '20100706-173827'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '231593',
internalId:  '',
customField: '20091005-132840'
};
var canonHostname = 'cmworker03.yourhostingaccount.com';
var accountId     = 'AENDU0IN28QZ';
var companyName   = 'Richard+Crouse';
var htmlTitle	  = 'This+Machine+Kills+Bad+Movies%21';
var metaKeywords  = 'Richard+Crouse%2C+Canada+AM%2C+movie+reviews%2C+entertainment+news%2C+opinion';
var metaContents  = 'Reviews+and+entertainment+news+from+from+film+critic+Richard+Crouse%21+';
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();
};
