/* [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','42285',jdecode('Startseite'),jdecode(''),'/42285.html','true',[],''],
	['PAGE','42294',jdecode('Freye+Spielleut'),jdecode(''),'/42294/home.html','true',[ 
		['PAGE','41988',jdecode('%C3%9Cber+uns'),jdecode(''),'/42294/41988.html','true',[],'']
	],''],
	['PAGE','44',jdecode('Bardent%C3%A4nzer'),jdecode(''),'/44/home.html','true',[ 
		['PAGE','41677',jdecode('%C3%9Cber+uns'),jdecode(''),'/44/41677.html','true',[],'']
	],''],
	['PAGE','41704',jdecode('Presse'),jdecode(''),'/41704.html','true',[],''],
	['PAGE','41686',jdecode('Kontakt'),jdecode(''),'/41686/home.html','true',[ 
		['PAGE','42106',jdecode('Anfrageformular'),jdecode(''),'/41686/42106.html','true',[],'']
	],''],
	['PAGE','42210',jdecode('Galerie'),jdecode(''),'/42210/home.html','true',[ 
		['PAGE','41773',jdecode('Galerie+1'),jdecode(''),'/42210/41773.html','true',[],''],
		['PAGE','42198',jdecode('Galerie+2'),jdecode(''),'/42210/42198.html','true',[],'']
	],''],
	['PAGE','41713',jdecode('Termine'),jdecode(''),'/41713.html','true',[],''],
	['PAGE','41786',jdecode('G%C3%A4stebuch'),jdecode(''),'/41786/home.html','true',[ 
		['PAGE','41785',jdecode('Eintr%C3%A4ge'),jdecode(''),'/41786/41785.html','true',[],'']
	],''],
	['PAGE','41695',jdecode('Impressum'),jdecode(''),'/41695.html','true',[],'']];
var siteelementCount=15;
theSitetree.topTemplateName='Holz';
theSitetree.paletteFamily='C239A1';
theSitetree.keyvisualId='8816';
theSitetree.keyvisualName='KV_02.swf';
theSitetree.fontsetId='17185';
theSitetree.graphicsetId='12652';
theSitetree.contentColor='FFBEEF';
theSitetree.contentBGColor='262626';
var theTemplate={
				name: 			'Holz',
				paletteFamily: 	'C239A1',
				keyvisualId: 	'8816',
				keyvisualName: 	'KV_02.swf',
				fontsetId: 		'17185',
				graphicsetId: 	'12652',
				contentColor: 	'FFBEEF',
				contentBGColor: '262626',
				hasFlashNavigation: 'true',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'true',
				hasCompanyname: 'false',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'C039A3',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1006']={
webappId:    '1006',
documentId:  '42285',
internalId:  '1006',
customField: '1006'
};
webappMappings['1007']={
webappId:    '1007',
documentId:  '41773',
internalId:  '10a86343c7f',
customField: 'g.11a318scs.bok40ep22o.3o'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '41786',
internalId:  '41786atoix0i7ashu',
customField: 'action=form&icq=false'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '41785',
internalId:  '41786atoix0i7ashu',
customField: 'action=list'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '44',
internalId:  '',
customField: '20070709-204256'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '41786',
internalId:  '',
customField: '20060411-015201'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '41785',
internalId:  '',
customField: '20060411-015201'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '41677',
internalId:  '',
customField: '20070511-210604'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '41773',
internalId:  '',
customField: '20070511-193353'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '41686',
internalId:  '',
customField: '20070511-182427'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '41695',
internalId:  '',
customField: '20060411-083221'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '41704',
internalId:  '',
customField: '20070709-190028'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '41713',
internalId:  '',
customField: '20070612-173610'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '41988',
internalId:  '',
customField: '20070504-145226'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '42106',
internalId:  '',
customField: '20070511-182248'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '42106',
internalId:  '33915430',
customField: 'de:DE:'
};
webappMappings['1007']={
webappId:    '1007',
documentId:  '42198',
internalId:  '1127c258306',
customField: 'g.129tvapc8.6076bod5g0.3o'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '42210',
internalId:  '',
customField: '20070511-193250'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '42198',
internalId:  '',
customField: '20070511-193449'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '42285',
internalId:  '',
customField: '20070729-155122'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '42294',
internalId:  '',
customField: '20070729-155122'
};
var canonHostname = 'cfawrk07.aul.t-online.de';
var accountId     = 'ATOIX0I7ASHU';
var companyName   = 'Freye+Spielleut+Kirkel+%2F+Bardent%C3%A4nzer';
var htmlTitle	  = 'Bardent%C3%A4nzer';
var metaKeywords  = 'MarcoFuhrmann%2CMarcoBlasebalg%2CJ%C3%B6rgPetry%2CJ%C3%B6rgHaudenStock%2CNiederw%C3%BCrzbach%2CSchwarzenbach%2CBurgKirkel%2CMittelalter%2CMittelaltermusik%2CBardent%C3%A4nzer%2CBarden%2CBardenmusik%2Cdudelsackmusik%2CBurgmusik%2CMinne%2CMinnesang%2CSchaukampf%2CRitter%2CLustigkeit%2CSpielm%C3%A4nner%2CSpielleute%2CMusiker%2CGewandung%2CMittelaltermusiker%2CMusik';
var metaContents  = 'Seyd+gek%C3%BC%C3%9Ft%21+Bardent%C3%A4nzer+sind+die+Narren+der+Spielleut%2C+edle+Mittelaltermusik+vom+feinsten%2C+verkn%C3%BCpft+mit+Gesang%2C+tanz+und+schaukampf%3B+nicht+zu+schlagende+rumbl%C3%B6delei%2Cschaut+rein+und+freut+euch%21++++viel+Spa%C3%9F%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;                                                                     
	};                                                                               
/* EOF */					                                                            
