/* [nodename, id, name, navigationtext, href, isnavigation, childs[], templatename] */

function jdecode(s) {
    s = s.replace(/\+/g, "%20")
    return unescape(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','40958',jdecode('Home'),jdecode(''),'/40958.html','true',[],''],
	['PAGE','44213',jdecode('Tod+A.+Kirsch%C2%B4s'),jdecode(''),'/44213/home.html','true',[ 
		['PAGE','44550',jdecode('Strafanzeige'),jdecode(''),'/44213/44550.html','true',[],''],
		['PAGE','44529',jdecode('Pressemitteilung+28.05.'),jdecode(''),'/44213/44529.html','true',[],''],
		['PAGE','44520',jdecode('Schreiben+vom+25.05.'),jdecode(''),'/44213/44520.html','true',[],''],
		['PAGE','44421',jdecode('Kooperation+m%C3%B6glich%3F'),jdecode(''),'/44213/44421.html','true',[],''],
		['PAGE','44430',jdecode('Pressemitteilung+24.05.'),jdecode(''),'/44213/44430.html','true',[],''],
		['PAGE','44222',jdecode('Verwaltungsgericht'),jdecode(''),'/44213/44222.html','true',[],''],
		['PAGE','44240',jdecode('Brief+an+Stadt+Speyer'),jdecode(''),'/44213/44240.html','true',[],''],
		['PAGE','44231',jdecode('Brief+von+Stadt+Speyer'),jdecode(''),'/44213/44231.html','true',[],''],
		['PAGE','44249',jdecode('Staatsanwaltschaft'),jdecode(''),'/44213/44249.html','true',[],''],
		['PAGE','44258',jdecode('Offener+Brief'),jdecode(''),'/44213/44258.html','true',[],''],
		['PAGE','44267',jdecode('Presseerkl%C3%A4rung'),jdecode(''),'/44213/44267.html','true',[],''],
		['PAGE','44315',jdecode('Bestandsaufnahme'),jdecode(''),'/44213/44315.html','true',[],'']
	],''],
	['PAGE','44201',jdecode('Aktuelle+Aktionen'),jdecode(''),'/44201.html','true',[],''],
	['PAGE','40967',jdecode('Wir+%C3%BCber+uns'),jdecode(''),'/40967.html','true',[],''],
	['PAGE','44439',jdecode('Spendenkonto'),jdecode(''),'/44439.html','true',[],''],
	['PAGE','44104',jdecode('Presse+%26+Erfolge'),jdecode(''),'/44104.html','true',[],''],
	['PAGE','44042',jdecode('Menschenw%C3%BCrde'),jdecode(''),'/44042.html','true',[],''],
	['PAGE','43967',jdecode('Medien'),jdecode(''),'/43967.html','true',[],''],
	['PAGE','43976',jdecode('JVA-News'),jdecode(''),'/43976.html','true',[],''],
	['PAGE','43985',jdecode('Top-News'),jdecode(''),'/43985.html','true',[],''],
	['PAGE','43994',jdecode('Kontakt%2FNewsletter'),jdecode(''),'/43994.html','true',[],''],
	['PAGE','44068',jdecode('G%C3%A4stebuch'),jdecode(''),'/44068/home.html','true',[ 
		['PAGE','44067',jdecode('Eintr%C3%A4ge'),jdecode(''),'/44068/44067.html','true',[],'']
	],''],
	['PAGE','44021',jdecode('Gallerie'),jdecode(''),'/44021.html','true',[],''],
	['PAGE','40976',jdecode('Impressum'),jdecode(''),'/40976.html','true',[],'']];
var siteelementCount=27;
theSitetree.topTemplateName='Digital';
theSitetree.paletteFamily='010128';
theSitetree.keyvisualId='354';
theSitetree.keyvisualName='abschluss.jpg';
theSitetree.fontsetId='37';
theSitetree.graphicsetId='42';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='010128';
var theTemplate={
				name: 			'Digital',
				paletteFamily: 	'010128',
				keyvisualId: 	'354',
				keyvisualName: 	'abschluss.jpg',
				fontsetId: 		'37',
				graphicsetId: 	'42',
				contentColor: 	'FFFFFF',
				contentBGColor: '010128',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'010128',
				b_color: 		'DEFDFB',
				c_color: 		'000000',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1006']={
webappId:    '1006',
documentId:  '44',
internalId:  '1006',
customField: '1006'
};
webappMappings['1501']={
webappId:    '1501',
documentId:  '40958',
internalId:  '19709551',
customField: '1501'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '40958',
internalId:  '1006',
customField: '1006'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '44068',
internalId:  '44068atoix0i7riyj',
customField: 'action=form&icq=false'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '44067',
internalId:  '44068atoix0i7riyj',
customField: 'action=list'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '43994',
internalId:  '23769150',
customField: 'de:DE:'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '40958',
internalId:  '',
customField: '20061028-143006'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '40967',
internalId:  '',
customField: '20061013-143151'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '44104',
internalId:  '',
customField: '20070503-092755'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '44042',
internalId:  '',
customField: '20061013-135321'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '43967',
internalId:  '',
customField: '20061013-124130'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '43976',
internalId:  '',
customField: '20061013-145258'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '43985',
internalId:  '',
customField: '20061013-113604'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '43994',
internalId:  '',
customField: '20061013-151320'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '44068',
internalId:  '',
customField: '20061013-140401'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '44067',
internalId:  '',
customField: '20061013-140401'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '44021',
internalId:  '',
customField: '20061013-113604'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '40976',
internalId:  '',
customField: '20061006-123722'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '44201',
internalId:  '',
customField: '20070503-102912'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '44213',
internalId:  '',
customField: '20070525-185114'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '44267',
internalId:  '',
customField: '20070524-103356'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '44222',
internalId:  '',
customField: '20070524-111327'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '44231',
internalId:  '',
customField: '20070524-101338'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '44240',
internalId:  '',
customField: '20070524-101607'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '44249',
internalId:  '',
customField: '20070524-102508'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '44258',
internalId:  '',
customField: '20070524-103101'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '44315',
internalId:  '',
customField: '20070524-105732'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '44439',
internalId:  '',
customField: '20070525-181348'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '44430',
internalId:  '',
customField: '20070525-181657'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '44421',
internalId:  '',
customField: '20070525-182041'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '44520',
internalId:  '',
customField: '20070530-091911'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '44529',
internalId:  '',
customField: '20070530-092035'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '44550',
internalId:  '',
customField: '20070530-154510'
};
var canonHostname = 'cfawrk07.aul.t-online.de';
var accountId     = 'ATOIX0I7RIYJ';
var companyName   = 'PER+ASPERA+-+INTERNATIONAL';
var htmlTitle	  = '';
var metaKeywords  = '';
var metaContents  = '';
					                                                                    
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 */					                                                            
