/* [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','39994',jdecode('Startseite'),jdecode(''),'/39994.html','true',[],''],
	['PAGE','40350',jdecode('Der+Verein'),jdecode(''),'/40350/home.html','true',[ 
		['PAGE','42279',jdecode('Reitanlage'),jdecode(''),'/40350/42279.html','true',[],''],
		['PAGE','40368',jdecode('Vorstand+%2F+Beirat'),jdecode(''),'/40350/40368.html','true',[],''],
		['PAGE','41265',jdecode('Trainer'),jdecode(''),'/40350/41265.html','false',[],''],
		['PAGE','41761',jdecode('Schulpferde'),jdecode(''),'/40350/41761.html','true',[],'']
	],''],
	['PAGE','41274',jdecode('Angebote'),jdecode(''),'/41274/home.html','true',[ 
		['PAGE','41283',jdecode('Schulbetrieb'),jdecode(''),'/41274/41283.html','true',[],''],
		['PAGE','41319',jdecode('Dressur'),jdecode(''),'/41274/41319.html','true',[],''],
		['PAGE','41310',jdecode('Springen'),jdecode(''),'/41274/41310.html','true',[],''],
		['PAGE','41337',jdecode('Vielseitigkeit'),jdecode(''),'/41274/41337.html','true',[],''],
		['PAGE','41328',jdecode('Voltigieren'),jdecode(''),'/41274/41328.html','true',[],''],
		['PAGE','41301',jdecode('HP+-+Reiten'),jdecode(''),'/41274/41301.html','true',[],''],
		['PAGE','41346',jdecode('Fahren'),jdecode(''),'/41274/41346.html','true',[],'']
	],''],
	['PAGE','41847',jdecode('Bildergalerie'),jdecode(''),'/41847.html','true',[],''],
	['PAGE','42563',jdecode('Beitr%C3%A4ge+und+Geb%C3%BChren'),jdecode(''),'/42563.html','true',[],''],
	['PAGE','41382',jdecode('Sponsoren'),jdecode(''),'/41382.html','true',[],''],
	['PAGE','42104',jdecode('Download'),jdecode(''),'/42104.html','true',[],''],
	['PAGE','41391',jdecode('Impressum'),jdecode(''),'/41391.html','true',[],'']];
var siteelementCount=19;
theSitetree.topTemplateName='3DPanorama';
theSitetree.paletteFamily='282901';
theSitetree.keyvisualId='11233';
theSitetree.keyvisualName='kv_11233.jpg';
theSitetree.fontsetId='32111';
theSitetree.graphicsetId='13916';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='282901';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'3DPanorama',
				paletteFamily: 	'282901',
				keyvisualId: 	'11233',
				keyvisualName: 	'kv_11233.jpg',
				fontsetId: 		'32111',
				graphicsetId: 	'13916',
				contentColor: 	'FFFFFF',
				contentBGColor: '282901',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '39994',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39994',
internalId:  '',
customField: '20120201-141532'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41265',
internalId:  '',
customField: '20100307-172551'
};
webappMappings['7060']=webappMappings['7060-3e858cc969f338a8e9693e360e576337']={
webappId:    '7060',
documentId:  '41761',
internalId:  '3e858cc969f338a8e9693e360e576337',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41274',
internalId:  '',
customField: '20120131-133737'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40350',
internalId:  '',
customField: '20120131-132612'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42279',
internalId:  '',
customField: '20120201-151426'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40368',
internalId:  '',
customField: '20120131-131525'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41283',
internalId:  '',
customField: '20110419-224429'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42563',
internalId:  '',
customField: '20120201-151506'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41301',
internalId:  '',
customField: '20110419-224237'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41310',
internalId:  '',
customField: '20110314-223008'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41319',
internalId:  '',
customField: '20110419-224449'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41328',
internalId:  '',
customField: '20110419-224649'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41337',
internalId:  '',
customField: '20120201-132146'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41346',
internalId:  '',
customField: '20110419-224927'
};
webappMappings['1007']=webappMappings['1007-12714ef8ba3']={
webappId:    '1007',
documentId:  '41847',
internalId:  '12714ef8ba3',
customField: 'g.14saemvf7.a2n06a6003.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41382',
internalId:  '',
customField: '20120201-150137'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41391',
internalId:  '',
customField: '20120131-160259'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41761',
internalId:  '',
customField: '20120201-133605'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41847',
internalId:  '',
customField: '20120201-155340'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42104',
internalId:  '',
customField: '20120131-133309'
};
var canonHostname = 'c4awrk04.aul.t-online.de';
var accountId     = 'ATOIX0IRUV23';
var companyName   = 'Zucht%2C-Reit-+und+Fahrverein+Werl+u.+Umgebung+e.V.';
var htmlTitle	  = 'Zucht%2C-Reit%2C-+und+Fahrverein+Werl+u.+Umgebung+e.V.';
var metaKeywords  = 'Pferde%2C+Reiten%2C+Voltigieren%2C+Dressur%2C+Heilpadagogik%2C+Spass%2C+Springen%2C+Unterricht%2C+Soziales+Umfeld%2C+Vielseitigkeit%2C+Kutsche%2C+Pony';
var metaContents  = 'Reiten+in+Werl';
					                                                                    
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 */					                                                            

