/* [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','5888',jdecode('Startseite'),jdecode(''),'/5888.html','true',[],''],
	['PAGE','10473',jdecode('..%C3%9Cber+die+WILLY-S'),jdecode(''),'/10473.html','true',[],''],
	['PAGE','10500',jdecode('Die+Familie'),jdecode(''),'/10500.html','true',[],''],
	['PAGE','10581',jdecode('Wilhelm'),jdecode(''),'/10581.html','true',[],''],
	['PAGE','10608',jdecode('Angela'),jdecode(''),'/10608.html','true',[],''],
	['PAGE','10635',jdecode('Bianca'),jdecode(''),'/10635.html','false',[],''],
	['PAGE','17948',jdecode('Fotoalbum'),jdecode(''),'/17948.html','false',[],''],
	['PAGE','10527',jdecode('Kontakt'),jdecode(''),'/10527/home.html','true',[ 
		['PAGE','15860',jdecode('Kontakt+%28Folgeseite%29'),jdecode(''),'/10527/15860.html','false',[],'']
	],''],
	['PAGE','10554',jdecode('Interessante+Links'),jdecode(''),'/10554.html','true',[],''],
	['PAGE','10697',jdecode('G%C3%A4stebuch'),jdecode(''),'/10697/home.html','true',[ 
		['PAGE','10698',jdecode('Eintr%C3%A4ge'),jdecode(''),'/10697/10698.html','true',[],'']
	],''],
	['PAGE','18343',jdecode('Anfahrt'),jdecode(''),'/18343.html','false',[],''],
	['PAGE','18742',jdecode('das+allerletzte'),jdecode(''),'/18742.html','true',[],'']];
var siteelementCount=14;
theSitetree.topTemplateName='echo';
theSitetree.paletteFamily='3C4B66';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10403';
theSitetree.graphicsetId='10628';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'echo',
				paletteFamily: 	'3C4B66',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10403',
				graphicsetId: 	'10628',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				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: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1002']=webappMappings['1002-10697ATOIX0INV2BP']={
webappId:    '1002',
documentId:  '10697',
internalId:  '10697ATOIX0INV2BP',
customField: 'action=form&icq=false'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '5888',
internalId:  '1006',
customField: '1006'
};
webappMappings['1001']=webappMappings['1001-atoix0inv2bpdc86ba8a8e7aa460']={
webappId:    '1001',
documentId:  '10527',
internalId:  'atoix0inv2bpdc86ba8a8e7aa460',
customField: ''
};
webappMappings['1001']=webappMappings['1001-atoix0inv2bpdc86ba8a8e7aa460']={
webappId:    '1001',
documentId:  '15860',
internalId:  'atoix0inv2bpdc86ba8a8e7aa460',
customField: 'followUp'
};
webappMappings['1501']=webappMappings['1501-1302227']={
webappId:    '1501',
documentId:  '5888',
internalId:  '1302227',
customField: '1501'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '18343',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['1002']=webappMappings['1002-10697ATOIX0INV2BP']={
webappId:    '1002',
documentId:  '10698',
internalId:  '10697ATOIX0INV2BP',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5888',
internalId:  '',
customField: '20070530-151834'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17948',
internalId:  '',
customField: '20070530-021557'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10473',
internalId:  '',
customField: '20060218-233212'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10500',
internalId:  '',
customField: '20080104-154138'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10581',
internalId:  '',
customField: '20030617-180825'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10608',
internalId:  '',
customField: '20030616-154516'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10635',
internalId:  '',
customField: '20080125-174754'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10527',
internalId:  '',
customField: '20030615-230154'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15860',
internalId:  '',
customField: '20030613-130528'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10554',
internalId:  '',
customField: '20050727-183425'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10697',
internalId:  '',
customField: '20030610-184911'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10698',
internalId:  '',
customField: '20030610-184911'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18343',
internalId:  '',
customField: '20040723-165757'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18742',
internalId:  '',
customField: '20040727-214137'
};
var canonHostname = 'cfawrk09.aul.t-online.de';
var accountId     = 'ATOIX0INV2BP';
var companyName   = 'WILLY-S+Mailbox+Gelsenkirchen';
var htmlTitle	  = 'WILLY-S+Mailbox+Gelsenkirchen';
var metaKeywords  = '0';
var metaContents  = 'Willkommen+auf+der+Homepage+der+WILLY-S+Mailbox+Gelsenkirchen.';
					                                                                    
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;                                                                     
	};                                                                               
/* EOF */					                                                            

