/* [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','68501',jdecode('HomePage'),jdecode(''), jdecode('%2F68501.html'), 'true',[],'',''],
	['PAGE','401',jdecode('Contacts+%26+About+Us'),jdecode(''), jdecode('%2F401.html'), 'true',[],'',''],
	['PAGE','452',jdecode('Coming+Events'),jdecode(''), jdecode('%2F452.html'), 'true',[],'',''],
	['PAGE','67701',jdecode('Links+to+other+sites'),jdecode(''), jdecode('%2F67701.html'), 'true',[],'',''],
	['PAGE','63801',jdecode('National+Chev+Festival'),jdecode(''), jdecode('%2F63801.html'), 'true',[],'',''],
	['PAGE','21001',jdecode('Application+membership'),jdecode(''), jdecode('%2F21001.html'), 'true',[],'',''],
	['PAGE','22101',jdecode('Advertisers'),jdecode(''), jdecode('%2F22101.html'), 'true',[],'',''],
	['PAGE','74201',jdecode('Previous+Events'),jdecode(''), jdecode('%2F74201%2Findex.html'), 'true',[ 
		['PAGE','159112',jdecode('Tamworth+2011'),jdecode(''), jdecode('%2F74201%2F159112.html'), 'true',[],'',''],
		['PAGE','147112',jdecode('GM+DAY+2011'),jdecode(''), jdecode('%2F74201%2F147112.html'), 'true',[],'',''],
		['PAGE','152012',jdecode('Kurri+2011'),jdecode(''), jdecode('%2F74201%2F152012.html'), 'true',[],'',''],
		['PAGE','147133',jdecode('April+2011+Pie+Run'),jdecode(''), jdecode('%2F74201%2F147133.html'), 'true',[],'',''],
		['PAGE','143701',jdecode('Adults+Xmas+2010'),jdecode(''), jdecode('%2F74201%2F143701.html'), 'true',[],'',''],
		['PAGE','137001',jdecode('CMC2010'),jdecode(''), jdecode('%2F74201%2F137001.html'), 'true',[],'',''],
		['PAGE','137022',jdecode('Festival+2010'),jdecode(''), jdecode('%2F74201%2F137022.html'), 'true',[],'',''],
		['PAGE','135101',jdecode('Wintersun+2010'),jdecode(''), jdecode('%2F74201%2F135101.html'), 'true',[],'',''],
		['PAGE','130701',jdecode('GMDay2010'),jdecode(''), jdecode('%2F74201%2F130701.html'), 'true',[],'',''],
		['PAGE','128601',jdecode('Kurri+Kurri+2010'),jdecode(''), jdecode('%2F74201%2F128601.html'), 'true',[],'','']
	],'',''],
	['PAGE','40901',jdecode('Members+Cars'),jdecode(''), jdecode('%2F40901%2Findex.html'), 'true',[ 
		['PAGE','60201',jdecode('Alan+%26+Irene'),jdecode(''), jdecode('%2F40901%2F60201.html'), 'true',[],'',''],
		['PAGE','59443',jdecode('Barry+%26+Denise'),jdecode(''), jdecode('%2F40901%2F59443.html'), 'true',[],'',''],
		['PAGE','112901',jdecode('Bevan'),jdecode(''), jdecode('%2F40901%2F112901.html'), 'true',[],'',''],
		['PAGE','59422',jdecode('Con+%26+Ellie'),jdecode(''), jdecode('%2F40901%2F59422.html'), 'true',[],'',''],
		['PAGE','62501',jdecode('Joe%26%23x27%3Bs'),jdecode(''), jdecode('%2F40901%2F62501.html'), 'true',[],'',''],
		['PAGE','66201',jdecode('John'),jdecode(''), jdecode('%2F40901%2F66201.html'), 'true',[],'',''],
		['PAGE','78301',jdecode('Gavin+%26+Marilyn'),jdecode(''), jdecode('%2F40901%2F78301.html'), 'true',[],'',''],
		['PAGE','59401',jdecode('Rodney+%26+Selina'),jdecode(''), jdecode('%2F40901%2F59401.html'), 'true',[],'',''],
		['PAGE','65301',jdecode('Richard+%26+Kerry'),jdecode(''), jdecode('%2F40901%2F65301.html'), 'true',[],'','']
	],'',''],
	['PAGE','473',jdecode('Photo+Gallery'),jdecode(''), jdecode('%2F473.html'), 'true',[],'','']];
var siteelementCount=29;
theSitetree.topTemplateName='Linedup';
theSitetree.paletteFamily='4270B8';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10368';
theSitetree.graphicsetId='10505';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='4270B8';
var localeDef={
  language: 'en',
  country: 'US'
};
var prodDef={
  wl_name: 'wl_enom',
  product: 'WSCENOSSSLYTC21T'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Linedup',
				paletteFamily: 	'4270B8',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10368',
				graphicsetId: 	'10505',
				contentColor: 	'FFFFFF',
				contentBGColor: '4270B8',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '159112',
internalId:  '',
customField: '20111219-012536'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '68501',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '128601',
internalId:  '',
customField: '20100329-022207'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '452',
internalId:  '',
customField: '20111205-004926'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '401',
internalId:  '',
customField: '20111106-030633'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '68501',
internalId:  '',
customField: '20110728-025617'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '67701',
internalId:  '',
customField: '20080824-180127'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '63801',
internalId:  '',
customField: '20111010-172555'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '21001',
internalId:  '',
customField: '20090723-035438'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22101',
internalId:  '',
customField: '20110212-022208'
};
webappMappings['7008']=webappMappings['7008-713']={
webappId:    '7008',
documentId:  '21001',
internalId:  '713',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '74201',
internalId:  '',
customField: '20111219-005439'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '152012',
internalId:  '',
customField: '20110710-051601'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '135101',
internalId:  '',
customField: '20100727-053315'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '137022',
internalId:  '',
customField: '20101001-043252'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '137001',
internalId:  '',
customField: '20101001-043836'
};
webappMappings['1501']=webappMappings['1501-26125829']={
webappId:    '1501',
documentId:  '68501',
internalId:  '26125829',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '143701',
internalId:  '',
customField: '20110307-013356'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40901',
internalId:  '',
customField: '20090612-040222'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '60201',
internalId:  '',
customField: '20080113-183546'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '59443',
internalId:  '',
customField: '20080113-183217'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '59422',
internalId:  '',
customField: '20080113-182941'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '62501',
internalId:  '',
customField: '20080318-123849'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '66201',
internalId:  '',
customField: '20080519-202808'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '78301',
internalId:  '',
customField: '20080824-175510'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '59401',
internalId:  '',
customField: '20080113-182918'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '65301',
internalId:  '',
customField: '20080511-205312'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '473',
internalId:  '',
customField: '20071122-201645'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '147133',
internalId:  '',
customField: '20110705-035034'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '147112',
internalId:  '',
customField: '20110704-050759'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '112901',
internalId:  '',
customField: '20090612-031451'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '130701',
internalId:  '',
customField: '20100425-235801'
};
var webAppHostname = 'wsc.ehost-services.com:80';
var canonHostname = 'wscwrk01.ehost-services.com';
var accountId     = 'AEN010IN3PVD';
var companyName   = 'WELCOME+TO+CHEVROLET+CLUB+OF+NEW+SOUTH+WALES';
var htmlTitle	  = 'CHEVROLET+CLUB+OF+NEW+SOUTH+WALES';
var metaKeywords  = 'Chev%2C+Chevrolet%2C+Chevrolet+Club%2C+impala%2C+belair%2C+corvette%2C+camaro%2C+silverado%2C+555657%2C+55%2C+56%2C+57%2C+classic+cars%2C+old+cars%2C+biscayne%2C+vintage%2C+veteran%2C+national+chevrolet+festival%2C+national+chev+festival%2C+Wintersun%2C+club';
var metaContents  = '';
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();
};

