/* [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','2101',jdecode('TUISBLAD'),jdecode(''), jdecode('%2F2101.html'), 'true',[],'',''],
	['PAGE','433101',jdecode('BEKENDSTELLING'),jdecode(''), jdecode('%2F433101.html'), 'true',[],'',''],
	['PAGE','338501',jdecode('ONS+DUIWE'),jdecode(''), jdecode('%2F338501%2Findex.html'), 'true',[ 
		['PAGE','355901',jdecode('Janssens'),jdecode(''), jdecode('%2F338501%2F355901.html'), 'true',[],'',''],
		['PAGE','356601',jdecode('Houben'),jdecode(''), jdecode('%2F338501%2F356601.html'), 'true',[],'',''],
		['PAGE','357301',jdecode('Richmond+Clan'),jdecode(''), jdecode('%2F338501%2F357301.html'), 'true',[],'',''],
		['PAGE','363101',jdecode('Silvere+Toye'),jdecode(''), jdecode('%2F338501%2F363101.html'), 'true',[],'',''],
		['PAGE','359301',jdecode('Bettie+Nels'),jdecode(''), jdecode('%2F338501%2F359301.html'), 'true',[],'',''],
		['PAGE','407801',jdecode('Roll+of+Honour'),jdecode(''), jdecode('%2F338501%2F407801.html'), 'true',[],'',''],
		['PAGE','354701',jdecode('The+Eyes'),jdecode(''), jdecode('%2F338501%2F354701.html'), 'true',[],'','']
	],'',''],
	['PAGE','352801',jdecode('ONS+HOKKE'),jdecode(''), jdecode('%2F352801.html'), 'true',[],'',''],
	['PAGE','366301',jdecode('ARTIKELS'),jdecode(''), jdecode('%2F366301%2Findex.html'), 'true',[ 
		['PAGE','440801',jdecode('Blameer+die+ANC'),jdecode(''), jdecode('%2F366301%2F440801.html'), 'true',[],'',''],
		['PAGE','427101',jdecode('Kombuis+Apteek'),jdecode(''), jdecode('%2F366301%2F427101.html'), 'true',[],'',''],
		['PAGE','418001',jdecode('Bettie+Nel'),jdecode(''), jdecode('%2F366301%2F418001.html'), 'true',[],'',''],
		['PAGE','439501',jdecode('Kleiner+Genepoel'),jdecode(''), jdecode('%2F366301%2F439501.html'), 'true',[],'',''],
		['PAGE','410701',jdecode('PPK+Funksie'),jdecode(''), jdecode('%2F366301%2F410701.html'), 'true',[],'',''],
		['PAGE','408801',jdecode('The+Real+Winner'),jdecode(''), jdecode('%2F366301%2F408801.html'), 'true',[],'',''],
		['PAGE','366322',jdecode('Something+Special'),jdecode(''), jdecode('%2F366301%2F366322.html'), 'true',[],'',''],
		['PAGE','366364',jdecode('Karools'),jdecode(''), jdecode('%2F366301%2F366364.html'), 'true',[],'',''],
		['PAGE','369301',jdecode('Cliffie'),jdecode(''), jdecode('%2F366301%2F369301.html'), 'true',[],'',''],
		['PAGE','370001',jdecode('Die+%22Richmond+Clan%22'),jdecode(''), jdecode('%2F366301%2F370001.html'), 'true',[],'',''],
		['PAGE','370701',jdecode('Linkage'),jdecode(''), jdecode('%2F366301%2F370701.html'), 'true',[],'',''],
		['PAGE','371601',jdecode('The+Surprise'),jdecode(''), jdecode('%2F366301%2F371601.html'), 'true',[],'','']
	],'',''],
	['PAGE','366343',jdecode('ONS+VRIENDE'),jdecode(''), jdecode('%2F366343.html'), 'true',[],'',''],
	['PAGE','435201',jdecode('DAGBOEK'),jdecode(''), jdecode('%2F435201.html'), 'true',[],'',''],
	['PAGE','15727',jdecode('RESULTATE'),jdecode(''), jdecode('%2F15727.html'), 'true',[],'',''],
	['PAGE','442701',jdecode('NUUSBLAD'),jdecode(''), jdecode('%2F442701.html'), 'true',[],'',''],
	['PAGE','445701',jdecode('THE+MARKET'),jdecode(''), jdecode('%2F445701%2Findex.html'), 'true',[ 
		['PAGE','452501',jdecode('%22Smalls%22'),jdecode(''), jdecode('%2F445701%2F452501.html'), 'true',[],'',''],
		['PAGE','447301',jdecode('Goldwing+Products'),jdecode(''), jdecode('%2F445701%2F447301.html'), 'true',[],'',''],
		['PAGE','447601',jdecode('Fred+Brough'),jdecode(''), jdecode('%2F445701%2F447601.html'), 'true',[],'',''],
		['PAGE','450401',jdecode('Jup+Plaas+Produkte'),jdecode(''), jdecode('%2F445701%2F450401.html'), 'true',[],'',''],
		['PAGE','452001',jdecode('Fred+van+Heerden'),jdecode(''), jdecode('%2F445701%2F452001.html'), 'true',[],'','']
	],'','']];
var siteelementCount=34;
theSitetree.topTemplateName='Jakarta';
theSitetree.paletteFamily='A9A975';
theSitetree.keyvisualId='7885';
theSitetree.keyvisualName='kv_7885.jpg';
theSitetree.fontsetId='16854';
theSitetree.graphicsetId='12294';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='CCCC99';
var localeDef={
  language: 'en',
  country: 'US'
};
var prodDef={
  wl_name: 'hetzner',
  product: 'WSCSYSSSSLY0XKDS'
};
var theTemplate={
				hasFlashNavigation: 'true',
				hasFlashLogo: 	'true',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'true',
				hasCompanyname: 'false',
				name: 			'Jakarta',
				paletteFamily: 	'A9A975',
				keyvisualId: 	'7885',
				keyvisualName: 	'kv_7885.jpg',
				fontsetId: 		'16854',
				graphicsetId: 	'12294',
				contentColor: 	'000000',
				contentBGColor: 'CCCC99',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'A9A975',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2101',
internalId:  '',
customField: '20120205-163810'
};
webappMappings['5000']=webappMappings['5000--']={
webappId:    '5000',
documentId:  '452501',
internalId:  '-',
customField: '20120205-165702'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '2101',
internalId:  '1006',
customField: '1006'
};
webappMappings['7050']=webappMappings['7050-795']={
webappId:    '7050',
documentId:  '442701',
internalId:  '795',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000--']={
webappId:    '5000',
documentId:  '452001',
internalId:  '-',
customField: '20120206-110217'
};
webappMappings['5000']=webappMappings['5000--']={
webappId:    '5000',
documentId:  '445701',
internalId:  '-',
customField: '20120206-112011'
};
webappMappings['5000']=webappMappings['5000--']={
webappId:    '5000',
documentId:  '447301',
internalId:  '-',
customField: '20120206-125503'
};
webappMappings['5000']=webappMappings['5000--']={
webappId:    '5000',
documentId:  '447601',
internalId:  '-',
customField: '20120205-165216'
};
webappMappings['5000']=webappMappings['5000--']={
webappId:    '5000',
documentId:  '450401',
internalId:  '-',
customField: '20120205-165322'
};
webappMappings['5000']=webappMappings['5000--']={
webappId:    '5000',
documentId:  '442701',
internalId:  '-',
customField: '20120126-214408'
};
webappMappings['5000']=webappMappings['5000--']={
webappId:    '5000',
documentId:  '440801',
internalId:  '-',
customField: '20120120-092412'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15727',
internalId:  '',
customField: '20111203-112150'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '355901',
internalId:  '',
customField: '20111230-085745'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '356601',
internalId:  '',
customField: '20111228-155601'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '357301',
internalId:  '',
customField: '20111220-075023'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '359301',
internalId:  '',
customField: '20120110-151005'
};
webappMappings['5000']=webappMappings['5000--']={
webappId:    '5000',
documentId:  '408801',
internalId:  '-',
customField: '20111118-144928'
};
webappMappings['1501']=webappMappings['1501-10804030']={
webappId:    '1501',
documentId:  '2101',
internalId:  '10804030',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000--']={
webappId:    '5000',
documentId:  '427101',
internalId:  '-',
customField: '20111220-104332'
};
webappMappings['5000']=webappMappings['5000--']={
webappId:    '5000',
documentId:  '410701',
internalId:  '-',
customField: '20111122-075818'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '352801',
internalId:  '',
customField: '20111029-080925'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '354701',
internalId:  '',
customField: '20111126-102659'
};
webappMappings['5000']=webappMappings['5000--']={
webappId:    '5000',
documentId:  '418001',
internalId:  '-',
customField: '20111201-090748'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '338501',
internalId:  '',
customField: '20120110-160916'
};
webappMappings['5000']=webappMappings['5000--']={
webappId:    '5000',
documentId:  '433101',
internalId:  '-',
customField: '20120113-162430'
};
webappMappings['5000']=webappMappings['5000--']={
webappId:    '5000',
documentId:  '435201',
internalId:  '-',
customField: '20120204-140742'
};
webappMappings['5000']=webappMappings['5000--']={
webappId:    '5000',
documentId:  '439501',
internalId:  '-',
customField: '20120116-162514'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '370001',
internalId:  '',
customField: '20111031-110816'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '370701',
internalId:  '',
customField: '20111031-114826'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '371601',
internalId:  '',
customField: '20111101-100307'
};
webappMappings['5000']=webappMappings['5000--']={
webappId:    '5000',
documentId:  '407801',
internalId:  '-',
customField: '20120102-095529'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '369301',
internalId:  '',
customField: '20111106-154024'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '363101',
internalId:  '',
customField: '20120124-173457'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '366301',
internalId:  '',
customField: '20120109-105321'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '366322',
internalId:  '',
customField: '20111030-140924'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '366343',
internalId:  '',
customField: '20111215-173101'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '366364',
internalId:  '',
customField: '20111030-143110'
};
var webAppHostname = 'sitebuilder.host-h.net:80';
var canonHostname = 'sitebuilder1.jnb2.host-h.net';
var accountId     = 'AHTZ10IN2QVX';
var companyName   = 'DENBE+LOFTS+';
var htmlTitle	  = '';
var metaKeywords  = '';
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();
};

