/* [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','4579',jdecode('Home'),jdecode(''),'/4579/home.html','true',[ 
		['PAGE','9802',jdecode('Hausbau'),jdecode(''),'/4579/9802.html','true',[],'']
	],''],
	['PAGE','59001',jdecode('Bellezo'),jdecode(''),'/59001/home.html','true',[ 
		['PAGE','62601',jdecode('Videos'),jdecode(''),'/59001/62601.html','true',[],'']
	],''],
	['PAGE','9601',jdecode('Bonito+-+In+Memoriam'),jdecode(''),'/9601/home.html','true',[ 
		['PAGE','32201',jdecode('Videos'),jdecode(''),'/9601/32201.html','true',[],''],
		['PAGE','47301',jdecode('Bilder+2005-2008'),jdecode(''),'/9601/47301.html','true',[],''],
		['PAGE','47322',jdecode('Bilder+2009'),jdecode(''),'/9601/47322.html','true',[],''],
		['PAGE','49001',jdecode('Bilder+2010-2011'),jdecode(''),'/9601/49001.html','true',[],'']
	],''],
	['PAGE','33701',jdecode('Prinz'),jdecode(''),'/33701/home.html','true',[ 
		['PAGE','67401',jdecode('Bilder+2011'),jdecode(''),'/33701/67401.html','true',[],'']
	],''],
	['PAGE','68001',jdecode('Anna'),jdecode(''),'/68001.html','true',[],''],
	['PAGE','24801',jdecode('Senta+-+In+Memoriam'),jdecode(''),'/24801/home.html','true',[ 
		['PAGE','25501',jdecode('Bilder'),jdecode(''),'/24801/25501.html','true',[],'']
	],''],
	['PAGE','70801',jdecode('Animal+welfare'),jdecode(''),'/70801.html','true',[],''],
	['PAGE','9606',jdecode('Nordland-Spirit'),jdecode(''),'/9606/home.html','true',[ 
		['PAGE','63201',jdecode('Meer'),jdecode(''),'/9606/63201.html','true',[],''],
		['PAGE','63222',jdecode('Tiere'),jdecode(''),'/9606/63222.html','true',[],'']
	],''],
	['PAGE','31901',jdecode('Mediathek'),jdecode(''),'/31901.html','false',[],''],
	['PAGE','33722',jdecode('Links'),jdecode(''),'/33722.html','true',[],'']];
var siteelementCount=20;
theSitetree.topTemplateName='freeline';
theSitetree.paletteFamily='787854';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10648';
theSitetree.graphicsetId='10904';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='F4F4E6';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'freeline',
				paletteFamily: 	'787854',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10648',
				graphicsetId: 	'10904',
				contentColor: 	'000000',
				contentBGColor: 'F4F4E6',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1001']=webappMappings['1001-atoix0inxpj6fe579c835a']={
webappId:    '1001',
documentId:  '4579',
internalId:  'atoix0inxpj6fe579c835a',
customField: ''
};
webappMappings['1001']=webappMappings['1001-atoix0inxpj6fe579c835a']={
webappId:    '1001',
documentId:  '9802',
internalId:  'atoix0inxpj6fe579c835a',
customField: 'followUp'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '4579',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '63201',
internalId:  '',
customField: '20111007-131930'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4579',
internalId:  '',
customField: '20120125-190408'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9601',
internalId:  '',
customField: '20111104-191148'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9606',
internalId:  '',
customField: '20111104-203135'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9802',
internalId:  '',
customField: '20081022-151137'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24801',
internalId:  '',
customField: '20100103-182351'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25501',
internalId:  '',
customField: '20081022-120706'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '63222',
internalId:  '',
customField: '20111104-183856'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '62601',
internalId:  '',
customField: '20111115-191324'
};
webappMappings['7060']=webappMappings['7060-bd7510ca22a14e678711191418bc224b']={
webappId:    '7060',
documentId:  '31901',
internalId:  'bd7510ca22a14e678711191418bc224b',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '31901',
internalId:  '',
customField: '20081027-105510'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32201',
internalId:  '',
customField: '20110615-194207'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '33701',
internalId:  '',
customField: '20111210-183220'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '33722',
internalId:  '',
customField: '20120125-195002'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47301',
internalId:  '',
customField: '20110616-150651'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47322',
internalId:  '',
customField: '20110616-153355'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '49001',
internalId:  '',
customField: '20110616-170124'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '59001',
internalId:  '',
customField: '20111210-182938'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '67401',
internalId:  '',
customField: '20111115-192920'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '68001',
internalId:  '',
customField: '20120125-194525'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '70801',
internalId:  '',
customField: '20120125-185210'
};
var canonHostname = 'c4awrk02.aul.t-online.de';
var accountId     = 'ATOIX0INXPJ6';
var companyName   = 'WOLFSBERG+RUDEL';
var htmlTitle	  = 'Wolfsberg-Rudel';
var metaKeywords  = 'Haustiere%2CWolfsberg%2CBonito%2CAndalusier%2CTraberfreunde%2CSenta%2CSch%C3%A4ferhund%2CBarockreiten%2CHasenmoor';
var metaContents  = 'Private+Homepage';
					                                                                    
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 */					                                                            

