/* [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','13687',jdecode('Home'),jdecode(''),'/13687.html','true',[],''],
	['PAGE','15722',jdecode('Der+Vorstand'),jdecode(''),'/15722.html','true',[],''],
	['PAGE','15731',jdecode('Reitplatz'),jdecode(''),'/15731.html','true',[],''],
	['PAGE','15749',jdecode('News'),jdecode(''),'/15749.html','true',[],''],
	['PAGE','17901',jdecode('Reitfeste'),jdecode(''),'/17901/home.html','true',[ 
		['PAGE','17922',jdecode('Sternritt+Sept+09'),jdecode(''),'/17901/17922.html','true',[],''],
		['PAGE','32301',jdecode('Reitfest+Juni+2010'),jdecode(''),'/17901/32301.html','true',[],'']
	],''],
	['PAGE','26801',jdecode('Distanzreiten'),jdecode(''),'/26801.html','true',[],''],
	['PAGE','18001',jdecode('Kurse'),jdecode(''),'/18001/home.html','true',[ 
		['PAGE','26843',jdecode('Fahrkurse'),jdecode(''),'/18001/26843.html','true',[],''],
		['PAGE','26864',jdecode('Trailkurse'),jdecode(''),'/18001/26864.html','true',[],''],
		['PAGE','26885',jdecode('Ferienreitkurse'),jdecode(''),'/18001/26885.html','true',[],'']
	],''],
	['PAGE','26822',jdecode('Termine'),jdecode(''),'/26822.html','true',[],''],
	['PAGE','15776',jdecode('Impressionen'),jdecode(''),'/15776/home.html','true',[ 
		['PAGE','34901',jdecode('Reitfest+2006'),jdecode(''),'/15776/34901.html','true',[],'']
	],''],
	['PAGE','15794',jdecode('Interessante+Links'),jdecode(''),'/15794.html','true',[],''],
	['PAGE','15803',jdecode('Impressum'),jdecode(''),'/15803.html','true',[],''],
	['PAGE','16900',jdecode('G%C3%A4stebuch'),jdecode(''),'/16900/home.html','true',[ 
		['PAGE','16899',jdecode('Eintr%C3%A4ge'),jdecode(''),'/16900/16899.html','true',[],'']
	],'']];
var siteelementCount=19;
theSitetree.topTemplateName='Seifenblase';
theSitetree.paletteFamily='C8E2FF';
theSitetree.keyvisualId='2353';
theSitetree.keyvisualName='blanko.jpg';
theSitetree.fontsetId='381';
theSitetree.graphicsetId='427';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Seifenblase',
				paletteFamily: 	'C8E2FF',
				keyvisualId: 	'2353',
				keyvisualName: 	'blanko.jpg',
				fontsetId: 		'381',
				graphicsetId: 	'427',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'FFFFFF',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				d_color: 		'6666CC',
				e_color: 		'3333CC',
				f_color: 		'9999CC',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13687',
internalId:  '',
customField: '20110907-155250'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26822',
internalId:  '',
customField: '20110523-150220'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15749',
internalId:  '',
customField: '20110523-152844'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26801',
internalId:  '',
customField: '20100617-162152'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15803',
internalId:  '',
customField: '20110523-152244'
};
webappMappings['1501']=webappMappings['1501-2082690']={
webappId:    '1501',
documentId:  '13687',
internalId:  '2082690',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15722',
internalId:  '',
customField: '20091126-172048'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15731',
internalId:  '',
customField: '20100913-130701'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17901',
internalId:  '',
customField: '20110523-152725'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17922',
internalId:  '',
customField: '20091228-182929'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15776',
internalId:  '',
customField: '20100617-162512'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18001',
internalId:  '',
customField: '20091126-191521'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15794',
internalId:  '',
customField: '20090721-173220'
};
webappMappings['1002']=webappMappings['1002-16900atoix0inz4lb']={
webappId:    '1002',
documentId:  '16900',
internalId:  '16900atoix0inz4lb',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-16900atoix0inz4lb']={
webappId:    '1002',
documentId:  '16899',
internalId:  '16900atoix0inz4lb',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16900',
internalId:  '',
customField: '20090723-190251'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16899',
internalId:  '',
customField: '20090723-190251'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '13687',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26843',
internalId:  '',
customField: '20100412-143800'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26864',
internalId:  '',
customField: '20100412-143800'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26885',
internalId:  '',
customField: '20100412-143800'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32301',
internalId:  '',
customField: '20100615-195521'
};
webappMappings['1007']=webappMappings['1007-1294634f98f']={
webappId:    '1007',
documentId:  '34901',
internalId:  '1294634f98f',
customField: 'g.15533foi1.v72qav3r7.3o'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '34901',
internalId:  '',
customField: '20100617-180714'
};
var canonHostname = 'c4awrk04.aul.t-online.de';
var accountId     = 'ATOIX0INZ4LB';
var companyName   = 'Reiterverein+%22Kleiner+Odenwald%22+e.V.';
var htmlTitle	  = '';
var metaKeywords  = '0';
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;                                                                     
	};                                                                               
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 */					                                                            

