/* [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','40020',jdecode('Start'),jdecode(''),'/40020.html','true',[],''],
	['PAGE','43340',jdecode('Neuigkeiten'),jdecode(''),'/43340.html','true',[],''],
	['PAGE','40164',jdecode('Athos'),jdecode(''),'/40164.html','true',[],''],
	['PAGE','58801',jdecode('Guinness'),jdecode(''),'/58801.html','true',[],''],
	['PAGE','51201',jdecode('Der+Flatcoated+Retriever'),jdecode(''),'/51201.html','true',[],''],
	['PAGE','42405',jdecode('Fotos'),jdecode(''),'/42405.html','true',[],''],
	['PAGE','40040',jdecode('Ahtos+Show'),jdecode(''),'/40040.html','false',[],''],
	['PAGE','47201',jdecode('AthosPr%C3%BCfungen'),jdecode(''),'/47201.html','false',[],''],
	['PAGE','59801',jdecode('Athos+Work'),jdecode(''),'/59801.html','false',[],''],
	['PAGE','58901',jdecode('Guiness+Show'),jdecode(''),'/58901.html','false',[],''],
	['PAGE','59701',jdecode('Guiness+Pr%C3%BCfungen'),jdecode(''),'/59701.html','false',[],''],
	['PAGE','59822',jdecode('Guiness+Work'),jdecode(''),'/59822.html','false',[],''],
	['PAGE','40258',jdecode('in+memoriam'),jdecode(''),'/40258.html','true',[],''],
	['PAGE','40146',jdecode('G%C3%A4stebuch'),jdecode(''),'/40146/home.html','true',[ 
		['PAGE','40145',jdecode('Eintr%C3%A4ge'),jdecode(''),'/40146/40145.html','true',[],'']
	],''],
	['PAGE','40436',jdecode('Links'),jdecode(''),'/40436.html','true',[],''],
	['PAGE','49201',jdecode('Impressum+%26+Kontakt'),jdecode(''),'/49201.html','true',[],'']];
var siteelementCount=17;
theSitetree.topTemplateName='TOI_Interieur_02';
theSitetree.paletteFamily='FDFDFD';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='33407';
theSitetree.graphicsetId='14274';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='646060';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'TOI_Interieur_02',
				paletteFamily: 	'FDFDFD',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'33407',
				graphicsetId: 	'14274',
				contentColor: 	'FFFFFF',
				contentBGColor: '646060',
				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['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '40020',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40020',
internalId:  '',
customField: '20110709-152435'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40436',
internalId:  '',
customField: '20110329-193754'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40040',
internalId:  '',
customField: '20110328-192810'
};
webappMappings['1002']=webappMappings['1002-40146atoix0i7upwq']={
webappId:    '1002',
documentId:  '40146',
internalId:  '40146atoix0i7upwq',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-40146atoix0i7upwq']={
webappId:    '1002',
documentId:  '40145',
internalId:  '40146atoix0i7upwq',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40146',
internalId:  '',
customField: '20070812-144309'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40145',
internalId:  '',
customField: '20090211-151754'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40164',
internalId:  '',
customField: '20110707-171604'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40258',
internalId:  '',
customField: '20090205-184822'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43340',
internalId:  '',
customField: '20111108-194829'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47201',
internalId:  '',
customField: '20091122-173531'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '58801',
internalId:  '',
customField: '20110712-171524'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '51201',
internalId:  '',
customField: '20091126-154006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42405',
internalId:  '',
customField: '20100528-000750'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '49201',
internalId:  '',
customField: '20080928-164151'
};
webappMappings['1008']=webappMappings['1008-51335624']={
webappId:    '1008',
documentId:  '49201',
internalId:  '51335624',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '59801',
internalId:  '',
customField: '20110707-171441'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '58901',
internalId:  '',
customField: '20111031-121942'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '59701',
internalId:  '',
customField: '20110912-173219'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '59822',
internalId:  '',
customField: '20111031-120930'
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0I7UPWQ';
var companyName   = 'Cay%C2%B4lox+Amiable+Adamino+%26+Cay%C2%B4lox+Covellin';
var htmlTitle	  = 'Flatcoated+Retriever+Athos';
var metaKeywords  = 'Flatcoated+Retriever+Athos+Caylox+Amiable+Adamino+R%C3%BCde+';
var metaContents  = 'Caylox+Amiable+Adamino+Athos';
					                                                                    
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 */					                                                            

