/* [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','401',jdecode('Home'),jdecode(''), jdecode('%2F401.html'), 'true',[],'',''],
	['PAGE','130312',jdecode('News'),jdecode(''), jdecode('%2F130312.html'), 'true',[],'',''],
	['PAGE','105817',jdecode('Varina+v.Bamberger-Tal'),jdecode(''), jdecode('%2F105817%2Findex.html'), 'true',[ 
		['PAGE','105859',jdecode('Ahnentafel'),jdecode(''), jdecode('%2F105817%2F105859.html'), 'true',[],'',''],
		['PAGE','178812',jdecode('Gesundheit'),jdecode(''), jdecode('%2F105817%2F178812.html'), 'true',[],'',''],
		['PAGE','105880',jdecode('Ausstellungen'),jdecode(''), jdecode('%2F105817%2F105880.html'), 'true',[],'',''],
		['PAGE','105901',jdecode('Wesenstest'),jdecode(''), jdecode('%2F105817%2F105901.html'), 'true',[],'',''],
		['PAGE','108512',jdecode('Sport+%2F+Pr%C3%BCfungen'),jdecode(''), jdecode('%2F105817%2F108512.html'), 'true',[],'','']
	],'',''],
	['PAGE','16943',jdecode('Varina+Fotos'),jdecode(''), jdecode('%2F16943.html'), 'true',[],'',''],
	['PAGE','138712',jdecode('Varina+Training'),jdecode(''), jdecode('%2F138712%2Findex.html'), 'true',[ 
		['PAGE','138733',jdecode('Unterordnung'),jdecode(''), jdecode('%2F138712%2F138733.html'), 'true',[],'',''],
		['PAGE','164712',jdecode('F%C3%A4hrten'),jdecode(''), jdecode('%2F138712%2F164712.html'), 'true',[],'',''],
		['PAGE','138754',jdecode('Schutzdienst'),jdecode(''), jdecode('%2F138712%2F138754.html'), 'true',[],'','']
	],'',''],
	['PAGE','105712',jdecode('Lara+v.H.+Neubrand'),jdecode(''), jdecode('%2F105712%2Findex.html'), 'true',[ 
		['PAGE','105754',jdecode('Ahnentafel'),jdecode(''), jdecode('%2F105712%2F105754.html'), 'true',[],'',''],
		['PAGE','105775',jdecode('Ausstellungen'),jdecode(''), jdecode('%2F105712%2F105775.html'), 'true',[],'',''],
		['PAGE','105796',jdecode('Wesenstest'),jdecode(''), jdecode('%2F105712%2F105796.html'), 'true',[],'',''],
		['PAGE','108433',jdecode('Sport'),jdecode(''), jdecode('%2F105712%2F108433.html'), 'true',[],'','']
	],'',''],
	['PAGE','16922',jdecode('Lara+Fotos'),jdecode(''), jdecode('%2F16922.html'), 'true',[],'',''],
	['PAGE','99312',jdecode('Tinka'),jdecode(''), jdecode('%2F99312%2Findex.html'), 'true',[ 
		['PAGE','99333',jdecode('Foto%26%23x27%3Bs'),jdecode(''), jdecode('%2F99312%2F99333.html'), 'true',[],'',''],
		['PAGE','99375',jdecode('Sport'),jdecode(''), jdecode('%2F99312%2F99375.html'), 'true',[],'','']
	],'',''],
	['PAGE','158012',jdecode('Beissunf%C3%A4lle'),jdecode(''), jdecode('%2F158012.html'), 'true',[],'',''],
	['PAGE','4806',jdecode('G%C3%A4stebuch'),jdecode(''), jdecode('%2F4806%2Findex.html'), 'true',[ 
		['PAGE','4801',jdecode('Eintr%C3%A4ge'),jdecode(''), jdecode('%2F4806%2F4801.html'), 'false',[],'','']
	],'',''],
	['PAGE','16964',jdecode('Links'),jdecode(''), jdecode('%2F16964.html'), 'true',[],'',''],
	['PAGE','158512',jdecode('Kontakt'),jdecode(''), jdecode('%2F158512.html'), 'true',[],'','']];
var siteelementCount=27;
theSitetree.topTemplateName='Logg';
theSitetree.paletteFamily='96652B';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='421';
theSitetree.graphicsetId='472';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='96652B';
var localeDef={
  language: 'de',
  country: 'CH'
};
var prodDef={
  wl_name: 'hostpoint',
  product: 'WSCSYSSSSLYTC21Y'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Logg',
				paletteFamily: 	'96652B',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'421',
				graphicsetId: 	'472',
				contentColor: 	'FFFFFF',
				contentBGColor: '96652B',
				a_color: 		'96652B',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1501']=webappMappings['1501-1501']={
webappId:    '1501',
documentId:  '130312',
internalId:  '1501',
customField: '1501'
};
webappMappings['1002']=webappMappings['1002-4806ahopt0in3rcw']={
webappId:    '1002',
documentId:  '4806',
internalId:  '4806ahopt0in3rcw',
customField: 'icq=false'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '401',
internalId:  '',
customField: '20120120-093711'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '108512',
internalId:  '',
customField: '20111202-113704'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '130312',
internalId:  '',
customField: '20120126-141100'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16922',
internalId:  '',
customField: '20110408-160118'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16943',
internalId:  '',
customField: '20110506-130147'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4806',
internalId:  '',
customField: '20071203-062741'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4801',
internalId:  '',
customField: '20071203-062741'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16964',
internalId:  '',
customField: '20120124-071325'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '99333',
internalId:  '',
customField: '20110408-160002'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '130312',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '99312',
internalId:  '',
customField: '20110114-160213'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '99375',
internalId:  '',
customField: '20110114-160251'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '105817',
internalId:  '',
customField: '20111202-113600'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '105859',
internalId:  '',
customField: '20111130-115539'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '105880',
internalId:  '',
customField: '20111202-113222'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '105901',
internalId:  '',
customField: '20111202-113326'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '105712',
internalId:  '',
customField: '20110114-160147'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '105775',
internalId:  '',
customField: '20110114-140704'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '108433',
internalId:  '',
customField: '20110114-140736'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '105754',
internalId:  '',
customField: '20111220-153650'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '105796',
internalId:  '',
customField: '20110114-140713'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '158012',
internalId:  '',
customField: '20110118-130625'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '138712',
internalId:  '',
customField: '20110725-071943'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '138733',
internalId:  '',
customField: '20111121-160347'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '138754',
internalId:  '',
customField: '20110921-125556'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '158512',
internalId:  '',
customField: '20110125-072041'
};
webappMappings['7008']=webappMappings['7008-4256']={
webappId:    '7008',
documentId:  '158512',
internalId:  '4256',
customField: 'language:de;country:CH;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '164712',
internalId:  '',
customField: '20111121-160928'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '178812',
internalId:  '',
customField: '20111202-114725'
};
var webAppHostname = 'cgi.webomat.ch:80';
var canonHostname = 'webomat01.hostpoint.ch';
var accountId     = 'AHOPT0IN3RCW';
var companyName   = 'Rottweiler+-+Maritz';
var htmlTitle	  = 'ROTTWEILER+-+MARITZ';
var metaKeywords  = 'Rottweiler++Hund++Maritz++Lara+vom+Hause+Neubrand++Tinka+von+D%C3%BCrrenroth+Varina+vom+Bamberger-Tal+II';
var metaContents  = 'Rottweiler++Hund++Hundesport++Maritz++Lara+vom+Hause+Neubrand++Tinka+von+D%C3%BCrrenroth+Varina+vom+Bamberger-Tal+II';
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();
};

