/* [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','4579',jdecode('Home'),jdecode(''),'/4579.html','true',[],''],
	['PAGE','19801',jdecode('Prozesse+Vorschau'),jdecode(''),'/19801.html','true',[],''],
	['PAGE','19806',jdecode('Prozesse+aktuell'),jdecode(''),'/19806.html','true',[],''],
	['PAGE','19821',jdecode('Prozesse+Archiv'),jdecode(''),'/19821.html','true',[],''],
	['PAGE','19816',jdecode('Mordfall+Krampe'),jdecode(''),'/19816.html','true',[],''],
	['PAGE','24701',jdecode('Andere+Beitr%C3%A4ge'),jdecode(''),'/24701/home.html','true',[ 
		['PAGE','24722',jdecode('F%C3%BCr+den+IB'),jdecode(''),'/24701/24722.html','true',[],''],
		['PAGE','24743',jdecode('F%C3%BCr+den+EVBB'),jdecode(''),'/24701/24743.html','true',[],''],
		['PAGE','24764',jdecode('Weitere'),jdecode(''),'/24701/24764.html','true',[],''],
		['PAGE','25601',jdecode('Schnappsch%C3%BCsse'),jdecode(''),'/24701/25601.html','true',[],'']
	],''],
	['PAGE','20501',jdecode('Angebote'),jdecode(''),'/20501/home.html','true',[ 
		['PAGE','25401',jdecode('Text'),jdecode(''),'/20501/25401.html','true',[],''],
		['PAGE','25422',jdecode('Fotos'),jdecode(''),'/20501/25422.html','true',[],''],
		['PAGE','25443',jdecode('Nachdrucke'),jdecode(''),'/20501/25443.html','true',[],''],
		['PAGE','25464',jdecode('Allgemein'),jdecode(''),'/20501/25464.html','true',[],'']
	],''],
	['PAGE','19826',jdecode('Linkliste'),jdecode(''),'/19826.html','true',[],''],
	['PAGE','19831',jdecode('Impressum'),jdecode(''),'/19831.html','true',[],''],
	['PAGE','20544',jdecode('G%C3%A4stebuch'),jdecode(''),'/20544/home.html','true',[ 
		['PAGE','20545',jdecode('Eintr%C3%A4ge'),jdecode(''),'/20544/20545.html','true',[],'']
	],'']];
var siteelementCount=19;
theSitetree.topTemplateName='Stripes';
theSitetree.paletteFamily='660000';
theSitetree.keyvisualId='1620';
theSitetree.keyvisualName='buecher.jpg';
theSitetree.fontsetId='245';
theSitetree.graphicsetId='312';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FCFCFB';
var theTemplate={
				name: 			'Stripes',
				paletteFamily: 	'660000',
				keyvisualId: 	'1620',
				keyvisualName: 	'buecher.jpg',
				fontsetId: 		'245',
				graphicsetId: 	'312',
				contentColor: 	'000000',
				contentBGColor: 'FCFCFB',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'660000',
				b_color: 		'DEDECA',
				c_color: 		'000000',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Times New Roman, Times, serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '4579',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4579',
internalId:  '',
customField: '20060124-203853'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19801',
internalId:  '',
customField: '20060101-125254'
};
webappMappings['1501']=webappMappings['1501-4978176']={
webappId:    '1501',
documentId:  '4579',
internalId:  '4978176',
customField: '1501'
};
webappMappings['1002']=webappMappings['1002-20544atoix0in2zbk']={
webappId:    '1002',
documentId:  '20544',
internalId:  '20544atoix0in2zbk',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-20544atoix0in2zbk']={
webappId:    '1002',
documentId:  '20545',
internalId:  '20544atoix0in2zbk',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19806',
internalId:  '',
customField: '20050809-092849'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19821',
internalId:  '',
customField: '20050809-093027'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19816',
internalId:  '',
customField: '20050504-100632'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24701',
internalId:  '',
customField: '20080422-192225'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24722',
internalId:  '',
customField: '20080422-192225'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24743',
internalId:  '',
customField: '20080422-192225'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24764',
internalId:  '',
customField: '20080422-192225'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20501',
internalId:  '',
customField: '20041214-143822'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19826',
internalId:  '',
customField: '20060101-123958'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19831',
internalId:  '',
customField: '20060101-124123'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20544',
internalId:  '',
customField: '20041214-144011'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20545',
internalId:  '',
customField: '20041214-144011'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25601',
internalId:  '',
customField: '20080423-110145'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25401',
internalId:  '',
customField: '20080423-110017'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25422',
internalId:  '',
customField: '20080423-110017'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25443',
internalId:  '',
customField: '20080423-110017'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25464',
internalId:  '',
customField: '20080423-110017'
};
var canonHostname = 'cfawrk05.aul.t-online.de';
var accountId     = 'ATOIX0IN2ZBK';
var companyName   = 'Hier+sind+Sie+richtig%21';
var htmlTitle	  = 'Gerichtsreportagen+und+mehr...';
var metaKeywords  = 'Gerichtsberichte%2C+Gerichtsreportagen%2C+Journalismus%2C+Sozialpolitik%2C+Lesen%2C+Unterhaltung%2C+Rechercheauftrag';
var metaContents  = 'Der+Freie+Journalist+und+Autor+Harald+M%C3%BChle+stellt+sich+und+eine+Auswahl+von+Gerichtsreportagen+vor.';
					                                                                    
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 */					                                                            

