/* [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','13901',jdecode('Home'),jdecode(''),'/13901.html','true',[],''],
	['PAGE','14021',jdecode('Vorstand%2F+Chronik'),jdecode(''),'/14021.html','true',[],''],
	['PAGE','14011',jdecode('Hauptversammlung+'),jdecode(''),'/14011.html','true',[],''],
	['PAGE','70661',jdecode('Schauberichte+2009'),jdecode(''),'/70661.html','true',[],''],
	['PAGE','14912',jdecode('Unsere+Z%C3%BCchter'),jdecode(''),'/14912.html','true',[],''],
	['PAGE','73161',jdecode('Tier-Nachrichten'),jdecode(''),'/73161.html','true',[],''],
	['PAGE','75561',jdecode('Termine'),jdecode(''),'/75561/home.html','true',[ 
		['PAGE','75582',jdecode('Ausstellungstermine+KV'),jdecode(''),'/75561/75582.html','true',[],''],
		['PAGE','116661',jdecode('Sonstige+Termine'),jdecode(''),'/75561/116661.html','true',[],'']
	],''],
	['PAGE','66661',jdecode('Multimedia+Show+'),jdecode(''),'/66661.html','true',[],''],
	['PAGE','79461',jdecode('Fotoalbum+ab+2008'),jdecode(''),'/79461.html','true',[],''],
	['PAGE','109961',jdecode('Forum%2FChat'),jdecode(''),'/109961.html','true',[],''],
	['PAGE','16002',jdecode('G%C3%A4stebuch'),jdecode(''),'/16002/home.html','true',[ 
		['PAGE','16003',jdecode('Eintr%C3%A4ge'),jdecode(''),'/16002/16003.html','true',[],'']
	],''],
	['PAGE','13996',jdecode('Links+'),jdecode(''),'/13996.html','true',[],''],
	['PAGE','14041',jdecode('Kontakt'),jdecode(''),'/14041/home.html','true',[ 
		['PAGE','25501',jdecode('Kontakt+%28Folgeseite%29'),jdecode(''),'/14041/25501.html','false',[],'']
	],''],
	['PAGE','58361',jdecode('Anfahrt+und+Wetter'),jdecode(''),'/58361.html','true',[],'']];
var siteelementCount=18;
theSitetree.topTemplateName='Macao';
theSitetree.paletteFamily='607FB8';
theSitetree.keyvisualId='6421';
theSitetree.keyvisualName='kv_6421.jpg';
theSitetree.fontsetId='11168';
theSitetree.graphicsetId='11976';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='A3BAE5';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Macao',
				paletteFamily: 	'607FB8',
				keyvisualId: 	'6421',
				keyvisualName: 	'kv_6421.jpg',
				fontsetId: 		'11168',
				graphicsetId: 	'11976',
				contentColor: 	'000000',
				contentBGColor: 'A3BAE5',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['1501']=webappMappings['1501-9348289']={
webappId:    '1501',
documentId:  '13901',
internalId:  '9348289',
customField: '1501'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '13901',
internalId:  '1006',
customField: '1006'
};
webappMappings['1011']=webappMappings['1011-ddp-tiere']={
webappId:    '1011',
documentId:  '73161',
internalId:  'ddp-tiere',
customField: 'language:de;country:DE;'
};
webappMappings['1002']=webappMappings['1002-16002atoix0ineoic']={
webappId:    '1002',
documentId:  '16002',
internalId:  '16002atoix0ineoic',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-16002atoix0ineoic']={
webappId:    '1002',
documentId:  '16003',
internalId:  '16002atoix0ineoic',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '58361',
internalId:  '',
customField: '20090920-120623'
};
webappMappings['1001']=webappMappings['1001-atoix0ineoic108a5ccb325']={
webappId:    '1001',
documentId:  '14041',
internalId:  'atoix0ineoic108a5ccb325',
customField: ''
};
webappMappings['1001']=webappMappings['1001-atoix0ineoic108a5ccb325']={
webappId:    '1001',
documentId:  '25501',
internalId:  'atoix0ineoic108a5ccb325',
customField: 'followUp'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13901',
internalId:  '',
customField: '20120122-182634'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14021',
internalId:  '',
customField: '20110427-211004'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14011',
internalId:  '',
customField: '20100602-164716'
};
webappMappings['1007']=webappMappings['1007-11b5694bc00']={
webappId:    '1007',
documentId:  '79461',
internalId:  '11b5694bc00',
customField: 'g.13db95053.49q3oudd1t.3o'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13996',
internalId:  '',
customField: '20100622-203915'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16002',
internalId:  '',
customField: '20060107-181012'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16003',
internalId:  '',
customField: '20050324-210307'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14912',
internalId:  '',
customField: '20080416-210923'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14041',
internalId:  '',
customField: '20080316-223540'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25501',
internalId:  '',
customField: '20060107-182916'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '58361',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '79461',
internalId:  '',
customField: '20100602-174917'
};
webappMappings['7090']=webappMappings['7090-29802']={
webappId:    '7090',
documentId:  '13901',
internalId:  '29802',
customField: 'type:rss-2.0;language:de;country:DE;'
};
webappMappings['7060']=webappMappings['7060-ad9f0d3762960c534ce9649b2819d742']={
webappId:    '7060',
documentId:  '66661',
internalId:  'ad9f0d3762960c534ce9649b2819d742',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '66661',
internalId:  '',
customField: '20070713-085700'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '70661',
internalId:  '',
customField: '20100602-171152'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '73161',
internalId:  '',
customField: '20080303-143819'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '75561',
internalId:  '',
customField: '20110426-202923'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '75582',
internalId:  '',
customField: '20111109-213852'
};
webappMappings['7091']=webappMappings['7091-30003']={
webappId:    '7091',
documentId:  '58361',
internalId:  '30003',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '116661',
internalId:  '',
customField: '20110426-202335'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '109961',
internalId:  '',
customField: '20100827-103353'
};
webappMappings['1003']=webappMappings['1003-atoix0ineoic12ab2aa7ecf']={
webappId:    '1003',
documentId:  '109961',
internalId:  'atoix0ineoic12ab2aa7ecf',
customField: 'de:DE::;language:de;country:DE;'
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0INEOIC';
var companyName   = 'Kleintierzuchtverein+Z396+Rechberg+e.V.+1959';
var htmlTitle	  = 'Kleintierzuchtverein+Rechberg+Z+396';
var metaKeywords  = 'KTZV%3BRechberg%3BSchw%C3%A4bisch+Gm%C3%BCnd%3BZ396%3BKleintierzuchtverein+Rechberg%3BJungtierschau%3BLokalschau%3B';
var metaContents  = 'Alles+rund+um+den+Kleintierzuchtverein+Rechberg';
					                                                                    
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 */					                                                            

