/* [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/home.html','true',[ 
		['PAGE','40818',jdecode('%C3%9Cber+Uns%3A'),jdecode(''),'/39994/40818.html','true',[],''],
		['PAGE','57801',jdecode('Schnappsch%C3%BCsse'),jdecode(''),'/39994/57801.html','true',[],''],
		['PAGE','41320',jdecode('Wandertreff'),jdecode(''),'/39994/41320.html','true',[],''],
		['PAGE','43901',jdecode('Zughundetreff'),jdecode(''),'/39994/43901.html','true',[],''],
		['PAGE','41990',jdecode('Neuigkeiten'),jdecode(''),'/39994/41990.html','true',[],''],
		['PAGE','40923',jdecode('Interessantes'),jdecode(''),'/39994/40923.html','true',[],'']
	],''],
	['PAGE','41073',jdecode('Zucht'),jdecode(''),'/41073.html','true',[],''],
	['PAGE','40555',jdecode('Jule+vom+Moscheltal'),jdecode(''),'/40555/home.html','true',[ 
		['PAGE','41520',jdecode('Sch%C3%B6nheitsschauen'),jdecode(''),'/40555/41520.html','true',[],'']
	],''],
	['PAGE','41467',jdecode('Anna+vom+wilden+Berg'),jdecode(''),'/41467/home.html','true',[ 
		['PAGE','41384',jdecode('Sch%C3%B6nheitsschauen'),jdecode(''),'/41467/41384.html','true',[],'']
	],''],
	['PAGE','41476',jdecode('Alina+vom+wilden+Berg'),jdecode(''),'/41476/home.html','true',[ 
		['PAGE','41485',jdecode('Sch%C3%B6nheitsschauen'),jdecode(''),'/41476/41485.html','true',[],'']
	],''],
	['PAGE','63401',jdecode('B%C3%A4rbel+vom+wilden+Berg'),jdecode(''),'/63401/home.html','true',[ 
		['PAGE','64001',jdecode('Sch%C3%B6nheitsschauen'),jdecode(''),'/63401/64001.html','true',[],'']
	],''],
	['PAGE','41082',jdecode('A+-+Wurf'),jdecode(''),'/41082.html','true',[],''],
	['PAGE','54201',jdecode('B+-+Wurf'),jdecode(''),'/54201.html','true',[],''],
	['PAGE','73901',jdecode('C+-+Wurf'),jdecode(''),'/73901.html','true',[],''],
	['PAGE','40867',jdecode('Impressum+u.+Haftungsausschluss'),jdecode(''),'/40867.html','true',[],'']];
var siteelementCount=20;
theSitetree.topTemplateName='Circles';
theSitetree.paletteFamily='C6BB8C';
theSitetree.keyvisualId='10971';
theSitetree.keyvisualName='kv_10971.jpg';
theSitetree.fontsetId='31912';
theSitetree.graphicsetId='13725';
theSitetree.contentColor='473102';
theSitetree.contentBGColor='C6BB8C';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Circles',
				paletteFamily: 	'C6BB8C',
				keyvisualId: 	'10971',
				keyvisualName: 	'kv_10971.jpg',
				fontsetId: 		'31912',
				graphicsetId: 	'13725',
				contentColor: 	'473102',
				contentBGColor: 'C6BB8C',
				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['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '39994',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39994',
internalId:  '',
customField: '20120213-183127'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40555',
internalId:  '',
customField: '20110710-195131'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40867',
internalId:  '',
customField: '20111220-175508'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40818',
internalId:  '',
customField: '20111116-160432'
};
webappMappings['1501']=webappMappings['1501-61105854']={
webappId:    '1501',
documentId:  '39994',
internalId:  '61105854',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '73901',
internalId:  '',
customField: '20120203-073220'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40923',
internalId:  '',
customField: '20111221-103928'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41384',
internalId:  '',
customField: '20110110-081319'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41467',
internalId:  '',
customField: '20120102-150205'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41073',
internalId:  '',
customField: '20111116-161055'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41082',
internalId:  '',
customField: '20111220-180549'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41320',
internalId:  '',
customField: '20120116-070003'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41476',
internalId:  '',
customField: '20110827-154536'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41485',
internalId:  '',
customField: '20110110-081427'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41520',
internalId:  '',
customField: '20100315-102223'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '57801',
internalId:  '',
customField: '20111102-161359'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41990',
internalId:  '',
customField: '20120117-110725'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43901',
internalId:  '',
customField: '20110829-122211'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '54201',
internalId:  '',
customField: '20120208-071737'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '63401',
internalId:  '',
customField: '20111109-145408'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '64001',
internalId:  '',
customField: '20110719-162903'
};
var canonHostname = 'c4awrk02.aul.t-online.de';
var accountId     = 'ATOIX0IRQKXR';
var companyName   = 'Berner+%22vom+wilden+Berg%22';
var htmlTitle	  = 'Berner+%22vom+wilden+Berg%22';
var metaKeywords  = '++Berner+Sennenhunde%2C+Welpen%2C+Berner%2C+Berner+Sennenhunde+Z%C3%BCchter%2C+Hundez%C3%BCchter%2C+Hunde%2C+Schweizer+Sennenhunde%2C+Zughunde%2C+';
var metaContents  = '++Hobbyzucht+von+Berner+Sennenhunde.+Unsere+Hunde+leben+mit+in+der+Familie.';
					                                                                    
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 */					                                                            

