/* [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','10579',jdecode('Start'),jdecode(''),'/10579.html','true',[],''],
	['PAGE','10636',jdecode('Wir+%C3%BCber+uns'),jdecode(''),'/10636/home.html','true',[ 
		['PAGE','28551',jdecode('Anfahrt'),jdecode(''),'/10636/28551.html','true',[],'']
	],''],
	['PAGE','10717',jdecode('Satzung'),jdecode(''),'/10717.html','true',[],''],
	['PAGE','10690',jdecode('Vorstand'),jdecode(''),'/10690.html','true',[],''],
	['PAGE','47601',jdecode('Veranstaltungen++2011%2F12'),jdecode(''),'/47601.html','true',[],''],
	['PAGE','10663',jdecode('Chronik'),jdecode(''),'/10663.html','true',[],''],
	['PAGE','10771',jdecode('Ergebnisse'),jdecode(''),'/10771/home.html','true',[ 
		['PAGE','51901',jdecode('W%C3%BCrdentr%C3%A4ger'),jdecode(''),'/10771/51901.html','true',[],''],
		['PAGE','28767',jdecode('Vereinsmeister%2FWinterrunde'),jdecode(''),'/10771/28767.html','true',[],'']
	],''],
	['PAGE','10825',jdecode('Sch%C3%BCtzenjugend'),jdecode(''),'/10825/home.html','true',[ 
		['PAGE','50901',jdecode('Jugend-%2FKinderw%C3%BCrdentr%C3%A4ger'),jdecode(''),'/10825/50901.html','true',[],'']
	],''],
	['PAGE','30388',jdecode('Sch%C3%BCtzenfest+2011'),jdecode(''),'/30388.html','true',[],''],
	['PAGE','33801',jdecode('Bilder+Schtzfest+2011'),jdecode(''),'/33801.html','true',[],''],
	['PAGE','21902',jdecode('Bilder+Pinzberg+2011'),jdecode(''),'/21902.html','true',[],''],
	['PAGE','10852',jdecode('News'),jdecode(''),'/10852.html','true',[],''],
	['PAGE','24902',jdecode('G%C3%A4stebuch'),jdecode(''),'/24902/home.html','true',[ 
		['PAGE','24903',jdecode('Eintr%C3%A4ge'),jdecode(''),'/24902/24903.html','true',[],'']
	],'']];
var siteelementCount=18;
theSitetree.topTemplateName='Startup';
theSitetree.paletteFamily='006633';
theSitetree.keyvisualId='1400';
theSitetree.keyvisualName='rose.jpg';
theSitetree.fontsetId='232';
theSitetree.graphicsetId='280';
theSitetree.contentColor='006633';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Startup',
				paletteFamily: 	'006633',
				keyvisualId: 	'1400',
				keyvisualName: 	'rose.jpg',
				fontsetId: 		'232',
				graphicsetId: 	'280',
				contentColor: 	'006633',
				contentBGColor: 'FFFFFF',
				a_color: 		'006633',
				b_color: 		'333333',
				c_color: 		'000000',
				d_color: 		'FF0000',
				e_color: 		'FF0000',
				f_color: 		'FF0000',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '10579',
internalId:  '1006',
customField: '1006'
};
webappMappings['1007']=webappMappings['1007-1059e4cac85']={
webappId:    '1007',
documentId:  '21902',
internalId:  '1059e4cac85',
customField: 'g.10mf4pb45.t3ic2ktvqksc.6rn80'
};
webappMappings['1002']=webappMappings['1002-24902ATOIX0INVJYV']={
webappId:    '1002',
documentId:  '24902',
internalId:  '24902ATOIX0INVJYV',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-24902ATOIX0INVJYV']={
webappId:    '1002',
documentId:  '24903',
internalId:  '24902ATOIX0INVJYV',
customField: 'action=list'
};
webappMappings['1007']=webappMappings['1007-11a15a1d037']={
webappId:    '1007',
documentId:  '33801',
internalId:  '11a15a1d037',
customField: 'g.138aplgia.2oisl3crp9.3o'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '28551',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '33801',
internalId:  '',
customField: '20110529-094208'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10579',
internalId:  '',
customField: '20120114-111701'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '51901',
internalId:  '',
customField: '20110523-092357'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10852',
internalId:  '',
customField: '20110917-110649'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10636',
internalId:  '',
customField: '20120114-112332'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '28551',
internalId:  '',
customField: '20060221-013317'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10717',
internalId:  '',
customField: '20040424-152358'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10690',
internalId:  '',
customField: '20110320-084829'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10663',
internalId:  '',
customField: '20100323-180146'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10771',
internalId:  '',
customField: '20110528-155734'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '28767',
internalId:  '',
customField: '20110305-140730'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10825',
internalId:  '',
customField: '20120114-112311'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '21902',
internalId:  '',
customField: '20110614-232256'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24902',
internalId:  '',
customField: '20050520-120445'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24903',
internalId:  '',
customField: '20050520-120445'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '30388',
internalId:  '',
customField: '20110529-084748'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '50901',
internalId:  '',
customField: '20110523-092532'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47601',
internalId:  '',
customField: '20110320-085429'
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0INVJYV';
var companyName   = 'Sch%C3%BCtzenverein+Fredenbeck+e.V.';
var htmlTitle	  = 'Sch%C3%BCtzenverein+Fredenbeck';
var metaKeywords  = '0';
var metaContents  = 'Der+Sch%C3%BCtzenverein+Fredenbeck+stellt+sich+vor%2C+Geschichte%2C+Aktuelles%2C+Termine';
					                                                                    
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 */					                                                            

