/* [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('Home'),jdecode(''),'/39994.html','true',[],''],
	['PAGE','40564',jdecode('News'),jdecode(''),'/40564.html','true',[],''],
	['PAGE','40555',jdecode('Pedigree+und+K%C3%B6rbericht'),jdecode(''),'/40555.html','true',[],''],
	['PAGE','42036',jdecode('Samenbank-Gefriersperma'),jdecode(''),'/42036.html','true',[],''],
	['PAGE','40573',jdecode('Ausstellungserfolge'),jdecode(''),'/40573.html','true',[],''],
	['PAGE','40582',jdecode('Nachkommen'),jdecode(''),'/40582/home.html','true',[ 
		['PAGE','49201',jdecode('%22Lest+We+Forget%22+Kennels'),jdecode(''),'/40582/49201.html','true',[],''],
		['PAGE','43247',jdecode('Fairy+Flag%26%23x27%3Bs+B-Wurf'),jdecode(''),'/40582/43247.html','true',[],''],
		['PAGE','42498',jdecode('Bohemia+Elenor+B-Wurf'),jdecode(''),'/40582/42498.html','true',[],''],
		['PAGE','42292',jdecode('Jack+Mack%60s+Z-Wurf'),jdecode(''),'/40582/42292.html','true',[],'']
	],''],
	['PAGE','41030',jdecode('Bilder'),jdecode(''),'/41030/home.html','true',[ 
		['PAGE','40591',jdecode('Welpe'),jdecode(''),'/41030/40591.html','true',[],''],
		['PAGE','41084',jdecode('Junghund'),jdecode(''),'/41030/41084.html','true',[],''],
		['PAGE','41787',jdecode('Fotoshooting'),jdecode(''),'/41030/41787.html','true',[],''],
		['PAGE','42080',jdecode('Freunde'),jdecode(''),'/41030/42080.html','true',[],''],
		['PAGE','42694',jdecode('Alltag+und+Urlaub'),jdecode(''),'/41030/42694.html','true',[],''],
		['PAGE','42734',jdecode('Hundeschule'),jdecode(''),'/41030/42734.html','true',[],'']
	],''],
	['PAGE','40774',jdecode('Kontakt+und+Links'),jdecode(''),'/40774.html','true',[],''],
	['PAGE','42676',jdecode('G%C3%A4stebuch'),jdecode(''),'/42676/home.html','true',[ 
		['PAGE','42675',jdecode('Eintr%C3%A4ge'),jdecode(''),'/42676/42675.html','true',[],'']
	],'']];
var siteelementCount=20;
theSitetree.topTemplateName='TOI_Interieur_02';
theSitetree.paletteFamily='FAFAFA';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='33407';
theSitetree.graphicsetId='14276';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='7B3C1B';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'TOI_Interieur_02',
				paletteFamily: 	'FAFAFA',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'33407',
				graphicsetId: 	'14276',
				contentColor: 	'FFFFFF',
				contentBGColor: '7B3C1B',
				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:     '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: '20110214-192721'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40555',
internalId:  '',
customField: '20101105-225033'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40564',
internalId:  '',
customField: '20110214-201008'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40573',
internalId:  '',
customField: '20101020-224831'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42498',
internalId:  '',
customField: '20110214-201735'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40774',
internalId:  '',
customField: '20110414-222618'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43247',
internalId:  '',
customField: '20100908-222737'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40582',
internalId:  '',
customField: '20101108-090728'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40591',
internalId:  '',
customField: '20091210-215747'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42292',
internalId:  '',
customField: '20100512-235218'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41030',
internalId:  '',
customField: '20100405-190915'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42080',
internalId:  '',
customField: '20100121-002536'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42036',
internalId:  '',
customField: '20100120-234957'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41787',
internalId:  '',
customField: '20091213-020031'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41084',
internalId:  '',
customField: '20100121-003007'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '49201',
internalId:  '',
customField: '20110414-223754'
};
webappMappings['1002']=webappMappings['1002-42676atoix0iriulf']={
webappId:    '1002',
documentId:  '42676',
internalId:  '42676atoix0iriulf',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-42676atoix0iriulf']={
webappId:    '1002',
documentId:  '42675',
internalId:  '42676atoix0iriulf',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42676',
internalId:  '',
customField: '20100316-220554'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42675',
internalId:  '',
customField: '20100316-220554'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42734',
internalId:  '',
customField: '20100604-134657'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42694',
internalId:  '',
customField: '20100721-224403'
};
var canonHostname = 'c4awrk01.aul.t-online.de';
var accountId     = 'ATOIX0IRIULF';
var companyName   = 'Der-Kirchheimer-KHC.de';
var htmlTitle	  = 'Der-Kirchheimer-KHC.de';
var metaKeywords  = 'Hund+Rassehund+KHC+Kurzhaarcollie+Smooth+Collie+Kirchheim+Pedigree+Ausstellung+Hundausstellung+Nachkommen+Kontakt+Bayern+Bader+Manuela+Jack+Macks+Sgoilear+S%C3%A0r+Sar+Anton+Deckr%C3%BCde+R%C3%BCde+Zuchthund+K%C3%B6rbericht+CEA+MDR1+';
var metaContents  = 'Kurzhaarcollie+Anton+Jack+Macks+Sgoilear+S%C3%A0r%2C+zur+Zucht+empfohlener+Deckr%C3%BCde+im+S%C3%BCden+Bayerns';
					                                                                    
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 */					                                                            

