/* [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','67401',jdecode('3.Pf%C3%A4lzer-Jungtierschau'),jdecode(''),'/67401.html','true',[],''],
	['PAGE','40636',jdecode('Wir+%C3%BCber+uns'),jdecode(''),'/40636/home.html','true',[ 
		['PAGE','40654',jdecode('Vereinsgeschichte'),jdecode(''),'/40636/40654.html','true',[],'']
	],''],
	['PAGE','40555',jdecode('News'),jdecode(''),'/40555/home.html','true',[ 
		['PAGE','40564',jdecode('Termine'),jdecode(''),'/40555/40564.html','true',[],''],
		['PAGE','40792',jdecode('Downloads'),jdecode(''),'/40555/40792.html','true',[],'']
	],''],
	['PAGE','40582',jdecode('Z%C3%BCchter'),jdecode(''),'/40582/home.html','true',[ 
		['PAGE','40591',jdecode('Jugend'),jdecode(''),'/40582/40591.html','true',[],''],
		['PAGE','40618',jdecode('Senioren'),jdecode(''),'/40582/40618.html','true',[],'']
	],''],
	['PAGE','40729',jdecode('Erfolge'),jdecode(''),'/40729/home.html','true',[ 
		['PAGE','40747',jdecode('2010'),jdecode(''),'/40729/40747.html','true',[],''],
		['PAGE','88001',jdecode('2011'),jdecode(''),'/40729/88001.html','true',[],'']
	],''],
	['PAGE','40756',jdecode('Links'),jdecode(''),'/40756.html','true',[],''],
	['PAGE','40765',jdecode('Kontakt'),jdecode(''),'/40765.html','true',[],''],
	['PAGE','40774',jdecode('Mitglied+werden'),jdecode(''),'/40774.html','false',[],''],
	['PAGE','40783',jdecode('Impressum'),jdecode(''),'/40783.html','true',[],''],
	['PAGE','41545',jdecode('G%C3%A4stebuch'),jdecode(''),'/41545/home.html','true',[ 
		['PAGE','41544',jdecode('Eintr%C3%A4ge'),jdecode(''),'/41545/41544.html','true',[],'']
	],''],
	['PAGE','44137',jdecode('Anfahrt'),jdecode(''),'/44137.html','true',[],'']];
var siteelementCount=20;
theSitetree.topTemplateName='Digital';
theSitetree.paletteFamily='014909';
theSitetree.keyvisualId='383';
theSitetree.keyvisualName='duene.jpg';
theSitetree.fontsetId='37';
theSitetree.graphicsetId='39';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='014909';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Digital',
				paletteFamily: 	'014909',
				keyvisualId: 	'383',
				keyvisualName: 	'duene.jpg',
				fontsetId: 		'37',
				graphicsetId: 	'39',
				contentColor: 	'FFFFFF',
				contentBGColor: '014909',
				a_color: 		'014909',
				b_color: 		'DEFDFB',
				c_color: 		'000000',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
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: '20100426-080923'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40582',
internalId:  '',
customField: '20110124-211840'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40591',
internalId:  '',
customField: '20100501-114351'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40765',
internalId:  '',
customField: '20111014-095702'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40636',
internalId:  '',
customField: '20110124-213145'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40654',
internalId:  '',
customField: '20100426-082314'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40555',
internalId:  '',
customField: '20100426-075638'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40564',
internalId:  '',
customField: '20120212-155222'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40618',
internalId:  '',
customField: '20120212-163029'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40729',
internalId:  '',
customField: '20100718-194246'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '88001',
internalId:  '',
customField: '20111015-205824'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40747',
internalId:  '',
customField: '20101127-225128'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40756',
internalId:  '',
customField: '20111014-095601'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40774',
internalId:  '',
customField: '20110124-212725'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40783',
internalId:  '',
customField: '20100505-131031'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40792',
internalId:  '',
customField: '20111105-155103'
};
webappMappings['1002']=webappMappings['1002-41545atoix0irsnep']={
webappId:    '1002',
documentId:  '41545',
internalId:  '41545atoix0irsnep',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-41545atoix0irsnep']={
webappId:    '1002',
documentId:  '41544',
internalId:  '41545atoix0irsnep',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41545',
internalId:  '',
customField: '20100424-232450'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41544',
internalId:  '',
customField: '20100424-232450'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '44137',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44137',
internalId:  '',
customField: '20100501-094632'
};
webappMappings['1501']=webappMappings['1501-70918874']={
webappId:    '1501',
documentId:  '39994',
internalId:  '70918874',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '67401',
internalId:  '',
customField: '20120115-205426'
};
var canonHostname = 'c4awrk01.aul.t-online.de';
var accountId     = 'ATOIX0IRSNEP';
var companyName   = 'Kaninchenzuchtverein+P17+Gersbach+e.V.';
var htmlTitle	  = 'Kaninchenzuchtverein+P17+Gersbach+e.V.';
var metaKeywords  = '+Offene+Pf%C3%A4lzer-Jungtierschau%2C+Verbreitung+der+Rassekaninchenzucht%2C+';
var metaContents  = 'Kaninchenzuchtverein+P17+Gersbach+e.V.';
					                                                                    
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 */					                                                            

