/* [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','44',jdecode('Startseite'),jdecode(''),'/44.html','true',[],''],
	['PAGE','42291',jdecode('Wer+bin+ich'),jdecode(''),'/42291.html','true',[],''],
	['PAGE','42327',jdecode('Musikalisches'),jdecode(''),'/42327.html','true',[],''],
	['PAGE','48204',jdecode('Genealogie'),jdecode(''),'/48204/home.html','true',[ 
		['PAGE','42575',jdecode('Wie+es+anfing'),jdecode(''),'/48204/42575.html','true',[],''],
		['PAGE','42534',jdecode('Lauing+Family'),jdecode(''),'/48204/42534.html','true',[],''],
		['PAGE','50581',jdecode('Hoyer+von+Lawingen'),jdecode(''),'/48204/50581.html','true',[],''],
		['PAGE','50568',jdecode('Mein+Familienzweig'),jdecode(''),'/48204/50568.html','true',[],''],
		['PAGE','68101',jdecode('Familie+Mix'),jdecode(''),'/48204/68101.html','true',[],''],
		['PAGE','51626',jdecode('Die+Amerikaner'),jdecode(''),'/48204/51626.html','true',[],''],
		['PAGE','67701',jdecode('Die+Trapp-Familie'),jdecode(''),'/48204/67701.html','true',[],''],
		['PAGE','67901',jdecode('Familie+Bund'),jdecode(''),'/48204/67901.html','true',[],''],
		['PAGE','51635',jdecode('OFB+Langeln'),jdecode(''),'/48204/51635.html','true',[],''],
		['PAGE','77701',jdecode('Statistik+Kindersterblichkeit'),jdecode(''),'/48204/77701.html','true',[],'']
	],''],
	['PAGE','69801',jdecode('Bilder+aus+Amerika'),jdecode(''),'/69801.html','true',[],''],
	['PAGE','79601',jdecode('Indian+Summer+2009'),jdecode(''),'/79601.html','true',[],''],
	['PAGE','42318',jdecode('Mythologie'),jdecode(''),'/42318.html','true',[],''],
	['PAGE','42483',jdecode('Anfahrt'),jdecode(''),'/42483.html','true',[],'']];
var siteelementCount=18;
theSitetree.topTemplateName='Cable';
theSitetree.paletteFamily='D30303';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10575';
theSitetree.graphicsetId='10527';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='000000';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Cable',
				paletteFamily: 	'D30303',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10575',
				graphicsetId: 	'10527',
				contentColor: 	'FFFFFF',
				contentBGColor: '000000',
				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['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '44',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '51626',
internalId:  '',
customField: '20110315-054110'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '67701',
internalId:  '',
customField: '20080417-025039'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '42483',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44',
internalId:  '',
customField: '20110315-054509'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '48204',
internalId:  '',
customField: '20110315-054859'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42575',
internalId:  '',
customField: '20110124-193052'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42534',
internalId:  '',
customField: '20100130-090839'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42291',
internalId:  '',
customField: '20100130-085110'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42318',
internalId:  '',
customField: '20090919-223215'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42327',
internalId:  '',
customField: '20100525-122227'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '50568',
internalId:  '',
customField: '20110124-194057'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '50581',
internalId:  '',
customField: '20091111-205227'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42483',
internalId:  '',
customField: '20071008-233304'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '51635',
internalId:  '',
customField: '20090919-222856'
};
webappMappings['1007']=webappMappings['1007-118c827e4c5']={
webappId:    '1007',
documentId:  '69801',
internalId:  '118c827e4c5',
customField: 'g.133419kb6.5qjg53hhr4u.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '69801',
internalId:  '',
customField: '20090426-083105'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '67901',
internalId:  '',
customField: '20100130-092607'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '68101',
internalId:  '',
customField: '20090325-174700'
};
webappMappings['1007']=webappMappings['1007-126cbe855de']={
webappId:    '1007',
documentId:  '79601',
internalId:  '126cbe855de',
customField: 'g.14r5pl38r.6alvukl4h.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '77701',
internalId:  '',
customField: '20100214-222154'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '79601',
internalId:  '',
customField: '20100214-204307'
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0I7JGYV';
var companyName   = 'Noten+und+Notizen';
var htmlTitle	  = '';
var metaKeywords  = 'Gerd+Lauing%2C+Genealogie%2C+Komtur%2C+Harz%2C+Langeln%2C+Deutschland%2C+USA%2C+Auswanderer%2C+Auswanderung%2C+amerikanischer+B%C3%BCrgerkrieg%2C+Familientreffen%2C+Mythologie%2C+Zeus%2C+Hera%2C+Agamemnon%2C+Odysseus%2C+Achill%2C+Hektor';
var metaContents  = 'Gerd+Lauing+-+Die+Website%2C+auf+der+Sie+einiges+zur+Familie+Lauing+in+Deutschland+und+den+USA+finden%21+Auch+der+Trojanische+Krieg+wird+behandelt%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) {														 
    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();
}
/* EOF */					                                                            

