/* [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','1822',jdecode('News+and+Gossip'),jdecode(''), jdecode('%2F1822.html'), 'true',[],'',''],
	['PAGE','231193',jdecode('On+The+Web%21'),jdecode(''), jdecode('%2F231193.html'), 'true',[],'',''],
	['PAGE','631271',jdecode('This+Week+On+Movies'),jdecode(''), jdecode('%2F631271.html'), 'true',[],'',''],
	['PAGE','50401',jdecode('Contact+Me%21'),jdecode(''), jdecode('%2F50401.html'), 'true',[],'',''],
	['PAGE','2322',jdecode('Review-O-Rama'),jdecode(''), jdecode('%2F2322%2Findex.html'), 'true',[ 
		['PAGE','20201',jdecode('1%2C2%2C3...'),jdecode(''), jdecode('%2F2322%2F20201.html'), 'true',[],'',''],
		['PAGE','16001',jdecode('a+'),jdecode(''), jdecode('%2F2322%2F16001.html'), 'true',[],'',''],
		['PAGE','16301',jdecode('b'),jdecode(''), jdecode('%2F2322%2F16301.html'), 'true',[],'',''],
		['PAGE','16022',jdecode('c'),jdecode(''), jdecode('%2F2322%2F16022.html'), 'true',[],'',''],
		['PAGE','16043',jdecode('d'),jdecode(''), jdecode('%2F2322%2F16043.html'), 'true',[],'',''],
		['PAGE','16064',jdecode('e'),jdecode(''), jdecode('%2F2322%2F16064.html'), 'true',[],'',''],
		['PAGE','16085',jdecode('f'),jdecode(''), jdecode('%2F2322%2F16085.html'), 'true',[],'',''],
		['PAGE','16106',jdecode('g'),jdecode(''), jdecode('%2F2322%2F16106.html'), 'true',[],'',''],
		['PAGE','16501',jdecode('h'),jdecode(''), jdecode('%2F2322%2F16501.html'), 'true',[],'',''],
		['PAGE','16522',jdecode('i'),jdecode(''), jdecode('%2F2322%2F16522.html'), 'true',[],'',''],
		['PAGE','16543',jdecode('j'),jdecode(''), jdecode('%2F2322%2F16543.html'), 'true',[],'',''],
		['PAGE','16564',jdecode('k'),jdecode(''), jdecode('%2F2322%2F16564.html'), 'true',[],'',''],
		['PAGE','16585',jdecode('l'),jdecode(''), jdecode('%2F2322%2F16585.html'), 'true',[],'',''],
		['PAGE','16606',jdecode('m'),jdecode(''), jdecode('%2F2322%2F16606.html'), 'true',[],'',''],
		['PAGE','16627',jdecode('n'),jdecode(''), jdecode('%2F2322%2F16627.html'), 'true',[],'',''],
		['PAGE','21001',jdecode('n+con%26%23x27%3Bt'),jdecode(''), jdecode('%2F2322%2F21001.html'), 'true',[],'',''],
		['PAGE','16648',jdecode('o'),jdecode(''), jdecode('%2F2322%2F16648.html'), 'true',[],'',''],
		['PAGE','16669',jdecode('p'),jdecode(''), jdecode('%2F2322%2F16669.html'), 'true',[],'',''],
		['PAGE','16690',jdecode('q'),jdecode(''), jdecode('%2F2322%2F16690.html'), 'true',[],'',''],
		['PAGE','16711',jdecode('r'),jdecode(''), jdecode('%2F2322%2F16711.html'), 'true',[],'',''],
		['PAGE','16732',jdecode('s'),jdecode(''), jdecode('%2F2322%2F16732.html'), 'true',[],'',''],
		['PAGE','18101',jdecode('s+con%26%23x27%3Bt'),jdecode(''), jdecode('%2F2322%2F18101.html'), 'true',[],'',''],
		['PAGE','16753',jdecode('t'),jdecode(''), jdecode('%2F2322%2F16753.html'), 'true',[],'',''],
		['PAGE','16774',jdecode('u'),jdecode(''), jdecode('%2F2322%2F16774.html'), 'true',[],'',''],
		['PAGE','16795',jdecode('v'),jdecode(''), jdecode('%2F2322%2F16795.html'), 'true',[],'',''],
		['PAGE','16816',jdecode('w'),jdecode(''), jdecode('%2F2322%2F16816.html'), 'true',[],'',''],
		['PAGE','16837',jdecode('x'),jdecode(''), jdecode('%2F2322%2F16837.html'), 'true',[],'',''],
		['PAGE','16858',jdecode('y'),jdecode(''), jdecode('%2F2322%2F16858.html'), 'true',[],'',''],
		['PAGE','16879',jdecode('z'),jdecode(''), jdecode('%2F2322%2F16879.html'), 'true',[],'','']
	],'',''],
	['PAGE','102001',jdecode('Metro+Columns'),jdecode(''), jdecode('%2F102001.html'), 'true',[],'',''],
	['PAGE','61501',jdecode('Photo+Galleries'),jdecode(''), jdecode('%2F61501%2Findex.html'), 'true',[ 
		['PAGE','172379',jdecode('Son+of+the+100+Best+Movies'),jdecode(''), jdecode('%2F61501%2F172379.html'), 'true',[],'',''],
		['PAGE','88601',jdecode('Richard+Crouse%26%23x27%3Bs+Movie+Show'),jdecode(''), jdecode('%2F61501%2F88601.html'), 'true',[],'','']
	],'',''],
	['PAGE','2343',jdecode('Biography'),jdecode(''), jdecode('%2F2343.html'), 'true',[],'',''],
	['PAGE','2301',jdecode('Richard+Sez'),jdecode(''), jdecode('%2F2301%2Findex.html'), 'true',[ 
		['PAGE','26701',jdecode('Richard+Sez+con%26%23x27%3Bt'),jdecode(''), jdecode('%2F2301%2F26701.html'), 'true',[],'','']
	],'',''],
	['PAGE','2364',jdecode('Press'),jdecode(''), jdecode('%2F2364%2Findex.html'), 'true',[ 
		['PAGE','21401',jdecode('Richard%26%23x27%3Bs+Books'),jdecode(''), jdecode('%2F2364%2F21401.html'), 'true',[],'',''],
		['PAGE','21801',jdecode('Press+2005'),jdecode(''), jdecode('%2F2364%2F21801.html'), 'true',[],'',''],
		['PAGE','21822',jdecode('Press+2006'),jdecode(''), jdecode('%2F2364%2F21822.html'), 'true',[],'',''],
		['PAGE','22201',jdecode('Press+2006+con%26%23x27%3Bt'),jdecode(''), jdecode('%2F2364%2F22201.html'), 'true',[],'',''],
		['PAGE','22401',jdecode('Press+2006+con%26%23x27%3Bt'),jdecode(''), jdecode('%2F2364%2F22401.html'), 'true',[],'',''],
		['PAGE','21843',jdecode('Press+2007'),jdecode(''), jdecode('%2F2364%2F21843.html'), 'true',[],'',''],
		['PAGE','22801',jdecode('Press+2007+con%26%23x27%3Bt+'),jdecode(''), jdecode('%2F2364%2F22801.html'), 'true',[],'',''],
		['PAGE','23001',jdecode('Press+2007+con%26%23x27%3Bt'),jdecode(''), jdecode('%2F2364%2F23001.html'), 'true',[],'','']
	],'',''],
	['PAGE','145223',jdecode('Richard%26%23x27%3Bs+Picks+Archive'),jdecode(''), jdecode('%2F145223%2Findex.html'), 'true',[ 
		['PAGE','224793',jdecode('Richard%26%23x27%3Bs+Pick%26%23x27%3Bs+subpage+1'),jdecode(''), jdecode('%2F145223%2F224793.html'), 'true',[],'',''],
		['PAGE','224814',jdecode('Richard%26%23x27%3Bs+Picks+subpage+2'),jdecode(''), jdecode('%2F145223%2F224814.html'), 'true',[],'','']
	],'',''],
	['PAGE','2385',jdecode('On+Line+Diaries'),jdecode(''), jdecode('%2F2385%2Findex.html'), 'true',[ 
		['PAGE','23522',jdecode('Los+Angeles+2002'),jdecode(''), jdecode('%2F2385%2F23522.html'), 'true',[],'',''],
		['PAGE','24827',jdecode('Cannes+2002'),jdecode(''), jdecode('%2F2385%2F24827.html'), 'true',[],'',''],
		['PAGE','24890',jdecode('New+York+2002'),jdecode(''), jdecode('%2F2385%2F24890.html'), 'true',[],'',''],
		['PAGE','24869',jdecode('Toronto+2002'),jdecode(''), jdecode('%2F2385%2F24869.html'), 'true',[],'',''],
		['PAGE','23501',jdecode('Mr.+Crouse+Goes+to+Washington'),jdecode(''), jdecode('%2F2385%2F23501.html'), 'true',[],'',''],
		['PAGE','23543',jdecode('New+York+City+2003'),jdecode(''), jdecode('%2F2385%2F23543.html'), 'true',[],'',''],
		['PAGE','23564',jdecode('New+York+Decemeber+2003'),jdecode(''), jdecode('%2F2385%2F23564.html'), 'true',[],'',''],
		['PAGE','23606',jdecode('Las+Vegas+July+2003'),jdecode(''), jdecode('%2F2385%2F23606.html'), 'true',[],'',''],
		['PAGE','24848',jdecode('Hollyweird+03'),jdecode(''), jdecode('%2F2385%2F24848.html'), 'true',[],'',''],
		['PAGE','24785',jdecode('The+Big+Mango'),jdecode(''), jdecode('%2F2385%2F24785.html'), 'true',[],'',''],
		['PAGE','24806',jdecode('The+Big+Mango+con%26%23x27%3Bt'),jdecode(''), jdecode('%2F2385%2F24806.html'), 'true',[],'',''],
		['PAGE','24911',jdecode('Cannes+2003'),jdecode(''), jdecode('%2F2385%2F24911.html'), 'true',[],'',''],
		['PAGE','23585',jdecode('Los+Angeles+January+2004'),jdecode(''), jdecode('%2F2385%2F23585.html'), 'true',[],'',''],
		['PAGE','23627',jdecode('LA.+%26+NY+March+2004'),jdecode(''), jdecode('%2F2385%2F23627.html'), 'true',[],'',''],
		['PAGE','24764',jdecode('Los+Angeles+April+04'),jdecode(''), jdecode('%2F2385%2F24764.html'), 'true',[],'',''],
		['PAGE','24722',jdecode('Los+Angeles+April+05'),jdecode(''), jdecode('%2F2385%2F24722.html'), 'true',[],'',''],
		['PAGE','24743',jdecode('Los+Angeles+March+05'),jdecode(''), jdecode('%2F2385%2F24743.html'), 'true',[],'',''],
		['PAGE','24932',jdecode('Cannes+2005'),jdecode(''), jdecode('%2F2385%2F24932.html'), 'true',[],'',''],
		['PAGE','24953',jdecode('Cannes+2005+con%26%23x27%3Bt'),jdecode(''), jdecode('%2F2385%2F24953.html'), 'true',[],'',''],
		['PAGE','24701',jdecode('Floating+Film+Festival+08'),jdecode(''), jdecode('%2F2385%2F24701.html'), 'true',[],'',''],
		['PAGE','62401',jdecode('TIFF+Notes+2008'),jdecode(''), jdecode('%2F2385%2F62401.html'), 'true',[],'',''],
		['PAGE','231593',jdecode('TIFF+Wrap+09'),jdecode(''), jdecode('%2F2385%2F231593.html'), 'true',[],'',''],
		['PAGE','167179',jdecode('Angels+%26+Demons+Page'),jdecode(''), jdecode('%2F2385%2F167179.html'), 'true',[],'',''],
		['PAGE','196279',jdecode('Half+Blood+Prince'),jdecode(''), jdecode('%2F2385%2F196279.html'), 'true',[],'',''],
		['PAGE','234707',jdecode('The+Wizard+of+Oz'),jdecode(''), jdecode('%2F2385%2F234707.html'), 'true',[],'',''],
		['PAGE','401807',jdecode('TIFF+2010'),jdecode(''), jdecode('%2F2385%2F401807.html'), 'true',[],'','']
	],'',''],
	['PAGE','15701',jdecode('Recent+News+and+Gossip'),jdecode(''), jdecode('%2F15701%2Findex.html'), 'true',[ 
		['PAGE','246207',jdecode('Richard+Worst+of+2009'),jdecode(''), jdecode('%2F15701%2F246207.html'), 'true',[],'',''],
		['PAGE','266907',jdecode('Richard%26%23x27%3Bs+Best+of+2009'),jdecode(''), jdecode('%2F15701%2F266907.html'), 'true',[],'',''],
		['PAGE','269907',jdecode('Richard+Most+Overlooked'),jdecode(''), jdecode('%2F15701%2F269907.html'), 'true',[],'','']
	],'',''],
	['PAGE','285007',jdecode(''),jdecode(''), jdecode('%2F285007.html'), 'true',[],'',''],
	['PAGE','287607',jdecode('Victoria+Film+Festival+2010'),jdecode(''), jdecode('%2F287607.html'), 'true',[],'',''],
	['PAGE','410107',jdecode('Festival+of+Fear+Q%26A'),jdecode(''), jdecode('%2F410107.html'), 'true',[],'',''],
	['PAGE','297407',jdecode(''),jdecode(''), jdecode('%2F297407.html'), 'true',[],'',''],
	['PAGE','607971',jdecode(''),jdecode(''), jdecode('%2F607971.html'), 'true',[],'',''],
	['PAGE','335707',jdecode(''),jdecode(''), jdecode('%2F335707.html'), 'true',[],'',''],
	['PAGE','407707',jdecode(''),jdecode(''), jdecode('%2F407707.html'), 'true',[],'',''],
	['PAGE','415907',jdecode(''),jdecode(''), jdecode('%2F415907.html'), 'true',[],'','']];
var siteelementCount=92;
theSitetree.topTemplateName='Card';
theSitetree.paletteFamily='E1B006';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='427';
theSitetree.graphicsetId='477';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
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: 			'Card',
				paletteFamily: 	'E1B006',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'427',
				graphicsetId: 	'477',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				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: '20120205-163114'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2301',
internalId:  '',
customField: '20120130-201739'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '1822',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2322',
internalId:  '',
customField: '20120203-135820'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2343',
internalId:  '',
customField: '20110812-164536'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2364',
internalId:  '',
customField: '20110930-130752'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2385',
internalId:  '',
customField: '20100701-124029'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23501',
internalId:  '',
customField: '20080503-131136'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15701',
internalId:  '',
customField: '20110416-194933'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16001',
internalId:  '',
customField: '20120203-140033'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16301',
internalId:  '',
customField: '20120203-135954'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16022',
internalId:  '',
customField: '20120120-122111'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16043',
internalId:  '',
customField: '20120105-213138'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16064',
internalId:  '',
customField: '20111227-085343'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16732',
internalId:  '',
customField: '20111209-134911'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18101',
internalId:  '',
customField: '20080825-092108'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16085',
internalId:  '',
customField: '20111006-174133'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16858',
internalId:  '',
customField: '20111215-152735'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16816',
internalId:  '',
customField: '20120203-135905'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16795',
internalId:  '',
customField: '20100818-182442'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16711',
internalId:  '',
customField: '20120120-122153'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16106',
internalId:  '',
customField: '20120127-122415'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16606',
internalId:  '',
customField: '20120127-122452'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16585',
internalId:  '',
customField: '20110630-104822'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16648',
internalId:  '',
customField: '20120127-122540'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16627',
internalId:  '',
customField: '20111209-134822'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16543',
internalId:  '',
customField: '20111110-175532'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16522',
internalId:  '',
customField: '20111215-152915'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16501',
internalId:  '',
customField: '20120120-121819'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16564',
internalId:  '',
customField: '20110923-094759'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16753',
internalId:  '',
customField: '20120127-122615'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20201',
internalId:  '',
customField: '20110929-182227'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16774',
internalId:  '',
customField: '20110217-164511'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16669',
internalId:  '',
customField: '20111027-181850'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16837',
internalId:  '',
customField: '20110603-102842'
};
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: '20110708-090009'
};
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:  '607971',
internalId:  '',
customField: '20111127-154144'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '631271',
internalId:  '',
customField: '20120107-103146'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '401807',
internalId:  '',
customField: '20100920-092934'
};
webappMappings['1501']=webappMappings['1501-8308079']={
webappId:    '1501',
documentId:  '1822',
internalId:  '8308079',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '61501',
internalId:  '',
customField: '20100930-162056'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '62401',
internalId:  '',
customField: '20080920-131241'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '410107',
internalId:  '',
customField: '20110826-164715'
};
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: '20111118-104921'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '269907',
internalId:  '',
customField: '20091220-173714'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '88601',
internalId:  '',
customField: '20100930-162131'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '234707',
internalId:  '',
customField: '20091005-113422'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '102001',
internalId:  '',
customField: '20120203-142256'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '407707',
internalId:  '',
customField: '20101229-172116'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '145223',
internalId:  '',
customField: '20120125-175642'
};
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:  '415907',
internalId:  '',
customField: '20120113-160540'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '335707',
internalId:  '',
customField: '20120101-091246'
};
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: '20120205-164133'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '231593',
internalId:  '',
customField: '20091005-132840'
};
var webAppHostname = 'cgiwsc.enhancedsitebuilder.com:80';
var canonHostname = 'cmworker01.yourhostingaccount.com';
var accountId     = 'AENDU0IN28QZ';
var companyName   = 'Richard+Crouse';
var htmlTitle	  = 'I+Watch+Bad+Movies+So+You+Don%27t+Have+To%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();
};

