/* [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','132701',jdecode('Unsere+Hunde'),jdecode(''),'/132701/home.html','true',[ 
		['PAGE','40564',jdecode('Berta'),jdecode(''),'/132701/40564.html','true',[],''],
		['PAGE','40573',jdecode('Heyly'),jdecode(''),'/132701/40573.html','true',[],''],
		['PAGE','42653',jdecode('Elia'),jdecode(''),'/132701/42653.html','true',[],'']
	],''],
	['PAGE','87722',jdecode('Zucht'),jdecode(''),'/87722.html','true',[],''],
	['PAGE','40582',jdecode('A-Wurf'),jdecode(''),'/40582.html','true',[],''],
	['PAGE','70201',jdecode('B-Wurf'),jdecode(''),'/70201.html','true',[],''],
	['PAGE','98001',jdecode('C-Wurf'),jdecode(''),'/98001.html','true',[],''],
	['PAGE','91401',jdecode('D-Wurf'),jdecode(''),'/91401.html','true',[],''],
	['PAGE','104801',jdecode('E-Wurf'),jdecode(''),'/104801.html','true',[],''],
	['PAGE','126001',jdecode('Galerie'),jdecode(''),'/126001.html','true',[],''],
	['PAGE','40600',jdecode('%C3%9Cber+Uns'),jdecode(''),'/40600.html','true',[],''],
	['PAGE','40866',jdecode('Impressum'),jdecode(''),'/40866.html','true',[],''],
	['PAGE','133401',jdecode('Links'),jdecode(''),'/133401.html','false',[],''],
	['PAGE','41011',jdecode('G%C3%A4stebuch'),jdecode(''),'/41011/home.html','true',[ 
		['PAGE','41010',jdecode('Eintr%C3%A4ge'),jdecode(''),'/41011/41010.html','true',[],'']
	],'']];
var siteelementCount=17;
theSitetree.topTemplateName='Intense';
theSitetree.paletteFamily='B7622A';
theSitetree.keyvisualId='3496';
theSitetree.keyvisualName='kv_3496.jpg';
theSitetree.fontsetId='10654';
theSitetree.graphicsetId='10799';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='D58856';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Intense',
				paletteFamily: 	'B7622A',
				keyvisualId: 	'3496',
				keyvisualName: 	'kv_3496.jpg',
				fontsetId: 		'10654',
				graphicsetId: 	'10799',
				contentColor: 	'000000',
				contentBGColor: 'D58856',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'AD401A',
				e_color: 		'727171',
				f_color: 		'3F3F3F',
				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: '20120220-124431'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '87722',
internalId:  '',
customField: '20111209-130451'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42653',
internalId:  '',
customField: '20111104-144418'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40564',
internalId:  '',
customField: '20111104-144344'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40573',
internalId:  '',
customField: '20111104-144403'
};
webappMappings['1002']=webappMappings['1002-41011atoix0irr7mg']={
webappId:    '1002',
documentId:  '41011',
internalId:  '41011atoix0irr7mg',
customField: 'action=form&icq=false'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40866',
internalId:  '',
customField: '20111222-203715'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40582',
internalId:  '',
customField: '20111104-144629'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40600',
internalId:  '',
customField: '20101027-131509'
};
webappMappings['1002']=webappMappings['1002-41011atoix0irr7mg']={
webappId:    '1002',
documentId:  '41010',
internalId:  '41011atoix0irr7mg',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41011',
internalId:  '',
customField: '20090419-143832'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41010',
internalId:  '',
customField: '20090419-143832'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '70201',
internalId:  '',
customField: '20111226-143425'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '91401',
internalId:  '',
customField: '20120120-174642'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '98001',
internalId:  '',
customField: '20111214-230613'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '104801',
internalId:  '',
customField: '20120214-124746'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '126001',
internalId:  '',
customField: '20111104-144826'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '132701',
internalId:  '',
customField: '20111104-140126'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '133401',
internalId:  '',
customField: '20111104-145308'
};
var canonHostname = 'c4awrk01.aul.t-online.de';
var accountId     = 'ATOIX0IRR7MG';
var companyName   = 'Berner+Sennenhunde+vom+Alten+Schlo%C3%9F+++';
var htmlTitle	  = '';
var metaKeywords  = '';
var metaContents  = '';
					                                                                    
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 */					                                                            

