/* [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','13',jdecode('Home'),jdecode(''),'/13.html','true',[],''],
	['PAGE','2364',jdecode('Larrisdo-News'),jdecode(''),'/2364.html','true',[],''],
	['PAGE','1975',jdecode('LAR%28a%29'),jdecode(''),'/1975/index.html','true',[ 
		['PAGE','3254',jdecode('my+poems'),jdecode(''),'/1975/3254.html','true',[],''],
		['PAGE','92351',jdecode('Kunstobjekt+'),jdecode(''),'/1975/92351.html','true',[],''],
		['PAGE','160751',jdecode('school%60s+out'),jdecode(''),'/1975/160751.html','true',[],'']
	],''],
	['PAGE','1984',jdecode('i%28RIS%29'),jdecode(''),'/1984/index.html','true',[ 
		['PAGE','5046',jdecode('dansk+foedselsdag'),jdecode(''),'/1984/5046.html','true',[],'']
	],''],
	['PAGE','52',jdecode('DO%28g+%29'),jdecode(''),'/52/index.html','true',[ 
		['PAGE','2513',jdecode('Barrique'),jdecode(''),'/52/2513.html','true',[],''],
		['PAGE','102051',jdecode('Kyra+%26+Kim+'),jdecode(''),'/52/102051.html','true',[],''],
		['PAGE','5386',jdecode('DO%28g%29-pictures'),jdecode(''),'/52/5386.html','true',[],''],
		['PAGE','368',jdecode('DO%28g%29-tales'),jdecode(''),'/52/368.html','true',[],''],
		['PAGE','377',jdecode('WM+for+DO%28g%29s'),jdecode(''),'/52/377.html','true',[],'']
	],''],
	['PAGE','314',jdecode('Larrisdo%60s+2.+home'),jdecode(''),'/314/index.html','true',[ 
		['PAGE','126551',jdecode('solnedergang'),jdecode(''),'/314/126551.html','true',[],'']
	],''],
	['PAGE','323',jdecode('Larrisdo+unterwegs'),jdecode(''),'/323.html','true',[],''],
	['PAGE','148451',jdecode('Larrisdo-Monatsbilder10'),jdecode(''),'/148451.html','true',[],''],
	['PAGE','115251',jdecode('Larrisdo-Monatsbilder09'),jdecode(''),'/115251.html','true',[],''],
	['PAGE','386',jdecode('Larrisdo%60s+www-friends'),jdecode(''),'/386.html','true',[],''],
	['PAGE','3625',jdecode('Eure+Geschenke'),jdecode(''),'/3625/index.html','true',[ 
		['PAGE','74529',jdecode('Awards+'),jdecode(''),'/3625/74529.html','true',[],''],
		['PAGE','117551',jdecode('Frauentagsgr%C3%BC%C3%9Fe'),jdecode(''),'/3625/117551.html','true',[],''],
		['PAGE','5304',jdecode('Fr%C3%BChlingsgr%C3%BC%C3%9Fe'),jdecode(''),'/3625/5304.html','true',[],''],
		['PAGE','4898',jdecode('Ostergeschenke'),jdecode(''),'/3625/4898.html','true',[],''],
		['PAGE','5584',jdecode('Pfingst-Schenkis'),jdecode(''),'/3625/5584.html','true',[],''],
		['PAGE','4044',jdecode('special+gifts'),jdecode(''),'/3625/4044.html','true',[],''],
		['PAGE','4144',jdecode('birthday-gifts'),jdecode(''),'/3625/4144.html','true',[],''],
		['PAGE','3263',jdecode('Valentinsgeschenke'),jdecode(''),'/3625/3263.html','true',[],''],
		['PAGE','3634',jdecode('Karnevalsgeschenke'),jdecode(''),'/3625/3634.html','true',[],''],
		['PAGE','5963',jdecode('Halloweengeschenke'),jdecode(''),'/3625/5963.html','true',[],''],
		['PAGE','65829',jdecode('Adventsgeschenke'),jdecode(''),'/3625/65829.html','true',[],''],
		['PAGE','113851',jdecode('Nikolausgeschenke'),jdecode(''),'/3625/113851.html','true',[],''],
		['PAGE','65850',jdecode('Weihnachtsgeschenke'),jdecode(''),'/3625/65850.html','true',[],''],
		['PAGE','107451',jdecode('Wintergr%C3%BCsse+'),jdecode(''),'/3625/107451.html','true',[],''],
		['PAGE','112451',jdecode('Neujahrs-Schenkis'),jdecode(''),'/3625/112451.html','true',[],'']
	],''],
	['PAGE','84029',jdecode('Unsere+Larrisdo-Banner'),jdecode(''),'/84029.html','true',[],''],
	['PAGE','84050',jdecode('Larrisdo-Lieblingslinks'),jdecode(''),'/84050/index.html','true',[ 
		['PAGE','88929',jdecode('more+Lieblingslinks'),jdecode(''),'/84050/88929.html','true',[],'']
	],''],
	['PAGE','154551',jdecode('Larrisdo-Dabei+'),jdecode(''),'/154551.html','true',[],''],
	['PAGE','98251',jdecode('Larrisdo-G%C3%A4stebuch'),jdecode(''),'/98251.html','true',[],''],
	['PAGE','104151',jdecode('Larrisdo-birthday-book'),jdecode(''),'/104151.html','true',[],''],
	['PAGE','404',jdecode('Impressum'),jdecode(''),'/404.html','true',[],'']];
var siteelementCount=43;
theSitetree.topTemplateName='Blossom';
theSitetree.paletteFamily='AC2E53';
theSitetree.keyvisualId='7122';
theSitetree.keyvisualName='kv_7122.jpg';
theSitetree.fontsetId='16395';
theSitetree.graphicsetId='12128';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='E5E2E2';
var localeDef={
  language: 'de',
  country: 'DE'
};
var theTemplate={
				name: 			'Blossom',
				paletteFamily: 	'AC2E53',
				keyvisualId: 	'7122',
				keyvisualName: 	'kv_7122.jpg',
				fontsetId: 		'16395',
				graphicsetId: 	'12128',
				contentColor: 	'000000',
				contentBGColor: 'E5E2E2',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '13',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '117551',
internalId:  '',
customField: '20090308-150738'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13',
internalId:  '',
customField: '20100402-113034'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '115251',
internalId:  '',
customField: '20091229-224349'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3625',
internalId:  '',
customField: '20081202-230207'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '74529',
internalId:  '',
customField: '20100429-122223'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2364',
internalId:  '',
customField: '20100819-224017'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1975',
internalId:  '',
customField: '20091031-132054'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3254',
internalId:  '',
customField: '20070211-230044'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '92351',
internalId:  '',
customField: '20080505-073017'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1984',
internalId:  '',
customField: '20081013-181043'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5046',
internalId:  '',
customField: '20070417-233431'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '52',
internalId:  '',
customField: '20091213-120617'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2513',
internalId:  '',
customField: '20081012-202800'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '160751',
internalId:  '',
customField: '20100728-114512'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '102051',
internalId:  '',
customField: '20081018-132629'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5386',
internalId:  '',
customField: '20070510-235142'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '368',
internalId:  '',
customField: '20090610-174328'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '377',
internalId:  '',
customField: '20061227-234101'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '314',
internalId:  '',
customField: '20061213-223130'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '323',
internalId:  '',
customField: '20070603-112819'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '386',
internalId:  '',
customField: '20070130-182339'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5304',
internalId:  '',
customField: '20090505-175720'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4898',
internalId:  '',
customField: '20100429-121704'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5584',
internalId:  '',
customField: '20100612-104607'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4044',
internalId:  '',
customField: '20100303-182018'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4144',
internalId:  '',
customField: '20090103-131024'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3263',
internalId:  '',
customField: '20100302-002935'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3634',
internalId:  '',
customField: '20100221-090056'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5963',
internalId:  '',
customField: '20071026-154915'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '65829',
internalId:  '',
customField: '20100126-182359'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '113851',
internalId:  '',
customField: '20091213-181711'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '65850',
internalId:  '',
customField: '20100116-085203'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '107451',
internalId:  '',
customField: '20100221-084747'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '112451',
internalId:  '',
customField: '20100126-183116'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '84029',
internalId:  '',
customField: '20081017-210705'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '84050',
internalId:  '',
customField: '20100221-084106'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '88929',
internalId:  '',
customField: '20100306-092939'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '98251',
internalId:  '',
customField: '20080712-183646'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '104151',
internalId:  '',
customField: '20081017-205851'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '404',
internalId:  '',
customField: '20080302-130048'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '148451',
internalId:  '',
customField: '20100729-214219'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '126551',
internalId:  '',
customField: '20090728-180320'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '154551',
internalId:  '',
customField: '20100330-190427'
};
var canonHostname = 'cm4all3.netcologne.de';
var accountId     = 'ANC010IN2NNR';
var companyName   = 'Larrisdo';
var htmlTitle	  = '';
var metaKeywords  = 'Golden+Retriever+%2C+Teenager+%2C+Alleinerziehend+%2C+D%C3%A4nemark+%2C+';
var metaContents  = 'Larrisdo+%2C+die+private+Homepage+einer+Minifamilie+';
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();
};
