/* [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','39994',jdecode('Startseite'),jdecode(''),'/39994.html','true',[],''],
	['PAGE','41361',jdecode('Nancy+Wagner'),jdecode(''),'/41361/home.html','true',[ 
		['PAGE','41482',jdecode('Hochzeit'),jdecode(''),'/41361/41482.html','true',[],'']
	],''],
	['PAGE','41012',jdecode('Dieter+Wagner'),jdecode(''),'/41012/home.html','true',[ 
		['PAGE','41021',jdecode('Publikationen'),jdecode(''),'/41012/41021.html','true',[],''],
		['PAGE','41030',jdecode('Vortr%C3%A4ge'),jdecode(''),'/41012/41030.html','true',[],'']
	],''],
	['PAGE','41383',jdecode('Constantin+Esser'),jdecode(''),'/41383.html','true',[],''],
	['PAGE','41905',jdecode('Alina+Wagner'),jdecode(''),'/41905/home.html','true',[ 
		['PAGE','41607',jdecode('Alina'),jdecode(''),'/41905/41607.html','true',[],''],
		['PAGE','41943',jdecode('Taufe'),jdecode(''),'/41905/41943.html','true',[],''],
		['PAGE','45101',jdecode('Alina%26%23x27%3Bs+1.+Geburtstag'),jdecode(''),'/41905/45101.html','true',[],'']
	],''],
	['PAGE','41647',jdecode('Nordeuropa-Tour'),jdecode(''),'/41647/home.html','true',[ 
		['PAGE','44301',jdecode('Norwegen+2010'),jdecode(''),'/41647/44301.html','true',[],''],
		['PAGE','41619',jdecode('Diashow'),jdecode(''),'/41647/41619.html','true',[],''],
		['PAGE','41671',jdecode('Filme'),jdecode(''),'/41647/41671.html','true',[],''],
		['PAGE','41680',jdecode('Vulkanismus'),jdecode(''),'/41647/41680.html','true',[],''],
		['PAGE','41722',jdecode('Island-Tour'),jdecode(''),'/41647/41722.html','true',[],'']
	],''],
	['PAGE','40004',jdecode('G%C3%A4stebuch'),jdecode(''),'/40004/home.html','true',[ 
		['PAGE','40003',jdecode('Eintr%C3%A4ge'),jdecode(''),'/40004/40003.html','true',[],'']
	],''],
	['PAGE','41039',jdecode('Impressum'),jdecode(''),'/41039.html','true',[],'']];
var siteelementCount=20;
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:  '39994',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39994',
internalId:  '',
customField: '20101218-130314'
};
webappMappings['1002']=webappMappings['1002-40004atoix0i7sp9t']={
webappId:    '1002',
documentId:  '40004',
internalId:  '40004atoix0i7sp9t',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-40004atoix0i7sp9t']={
webappId:    '1002',
documentId:  '40003',
internalId:  '40004atoix0i7sp9t',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40004',
internalId:  '',
customField: '20070409-204105'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41607',
internalId:  '',
customField: '20091206-185128'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41012',
internalId:  '',
customField: '20081211-225415'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41021',
internalId:  '',
customField: '20070409-224907'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41030',
internalId:  '',
customField: '20070409-225027'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41039',
internalId:  '',
customField: '20090119-202621'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41383',
internalId:  '',
customField: '20101002-094425'
};
webappMappings['1007']=webappMappings['1007-11e98bff4c5']={
webappId:    '1007',
documentId:  '41482',
internalId:  '11e98bff4c5',
customField: 'g.13qcbu024.pdkh8q7s4.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41482',
internalId:  '',
customField: '20090106-004833'
};
webappMappings['1007']=webappMappings['1007-125038aaf8d']={
webappId:    '1007',
documentId:  '41607',
internalId:  '125038aaf8d',
customField: 'g.14k1ogum2.b1478u027a.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41361',
internalId:  '',
customField: '20090102-200354'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40003',
internalId:  '',
customField: '20070409-192838'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41619',
internalId:  '',
customField: '20091119-084835'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41647',
internalId:  '',
customField: '20091119-205843'
};
webappMappings['1501']=webappMappings['1501-32400408']={
webappId:    '1501',
documentId:  '39994',
internalId:  '32400408',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41671',
internalId:  '',
customField: '20091119-162827'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41680',
internalId:  '',
customField: '20091119-141726'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41722',
internalId:  '',
customField: '20091120-101127'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45101',
internalId:  '',
customField: '20101218-145102'
};
webappMappings['7091']=webappMappings['7091-34748']={
webappId:    '7091',
documentId:  '39994',
internalId:  '34748',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['1007']=webappMappings['1007-12cf9b501ad']={
webappId:    '1007',
documentId:  '45101',
internalId:  '12cf9b501ad',
customField: 'g.15jsq1mdp.21e0u7rlpj.1s'
};
webappMappings['1007']=webappMappings['1007-12cf99e82e4']={
webappId:    '1007',
documentId:  '44301',
internalId:  '12cf99e82e4',
customField: 'g.15jsm6oeu.k12q16b49i.1s'
};
webappMappings['1007']=webappMappings['1007-129bc2cf4be']={
webappId:    '1007',
documentId:  '41943',
internalId:  '129bc2cf4be',
customField: 'g.156u2n2j6.ipjeh8umtr.3o'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41905',
internalId:  '',
customField: '20101218-145621'
};
webappMappings['7091']=webappMappings['7091-36260']={
webappId:    '7091',
documentId:  '41383',
internalId:  '36260',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41943',
internalId:  '',
customField: '20100710-151656'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44301',
internalId:  '',
customField: '20101218-145144'
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0I7SP9T';
var companyName   = 'Willkommen+bei+Familie+Wagner%2FEsser';
var htmlTitle	  = 'IQ-Analysen';
var metaKeywords  = 'Dieter+Wagner%2C+IQ';
var metaContents  = 'Dieter+Wagner+-+IQ++140';
					                                                                    
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 */					                                                            

