/* [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','41869',jdecode('Startseite'),jdecode(''),'/41869.html','true',[],''],
	['PAGE','41815',jdecode('Geschichte+der+Baerenhunde'),jdecode(''),'/41815.html','true',[],''],
	['PAGE','41851',jdecode('Rassestandart'),jdecode(''),'/41851.html','true',[],''],
	['PAGE','44584',jdecode('A-Wurf+2008'),jdecode(''),'/44584.html','true',[],''],
	['PAGE','51901',jdecode('B-Wurf+2009'),jdecode(''),'/51901.html','true',[],''],
	['PAGE','43198',jdecode('Unsere+Baerenhunde'),jdecode(''),'/43198/home.html','true',[ 
		['PAGE','45554',jdecode('Weitere+Fotoalben'),jdecode(''),'/43198/45554.html','true',[],'']
	],''],
	['PAGE','44642',jdecode('Welpentreff'),jdecode(''),'/44642.html','false',[],''],
	['PAGE','41882',jdecode('G%C3%A4stebuch'),jdecode(''),'/41882/home.html','true',[ 
		['PAGE','41883',jdecode('ab+zum+Pfotenabdruck'),jdecode(''),'/41882/41883.html','true',[],'']
	],''],
	['PAGE','44602',jdecode('Ern%C3%A4hrung+%26+Ausbildung'),jdecode(''),'/44602/home.html','true',[ 
		['PAGE','44611',jdecode('Ern%C3%A4hrung'),jdecode(''),'/44602/44611.html','false',[],''],
		['PAGE','44620',jdecode('Ausbildung'),jdecode(''),'/44602/44620.html','true',[],'']
	],''],
	['PAGE','43211',jdecode('Links'),jdecode(''),'/43211.html','true',[],''],
	['PAGE','44422',jdecode('Kontakt'),jdecode(''),'/44422.html','true',[],''],
	['PAGE','44409',jdecode('Anfahrt'),jdecode(''),'/44409.html','true',[],''],
	['PAGE','45193',jdecode('Impressum'),jdecode(''),'/45193.html','true',[],'']];
var siteelementCount=17;
theSitetree.topTemplateName='Winterurlaub3';
theSitetree.paletteFamily='7E8496';
theSitetree.keyvisualId='10252';
theSitetree.keyvisualName='kv_10252.jpg';
theSitetree.fontsetId='21148';
theSitetree.graphicsetId='13220';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='7E8496';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Winterurlaub3',
				paletteFamily: 	'7E8496',
				keyvisualId: 	'10252',
				keyvisualName: 	'kv_10252.jpg',
				fontsetId: 		'21148',
				graphicsetId: 	'13220',
				contentColor: 	'FFFFFF',
				contentBGColor: '7E8496',
				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:     'true'
			  };
var webappMappings = {};
webappMappings['1002']=webappMappings['1002-41883atoix0ir1hx3']={
webappId:    '1002',
documentId:  '41883',
internalId:  '41883atoix0ir1hx3',
customField: 'action=form&icq=false'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41869',
internalId:  '',
customField: '20090813-231017'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41815',
internalId:  '',
customField: '20080226-114253'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '51901',
internalId:  '',
customField: '20090522-180852'
};
webappMappings['1002']=webappMappings['1002-41883atoix0ir1hx3']={
webappId:    '1002',
documentId:  '41882',
internalId:  '41883atoix0ir1hx3',
customField: 'action=list'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '41869',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41883',
internalId:  '',
customField: '20080316-160819'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41882',
internalId:  '',
customField: '20080323-190629'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41851',
internalId:  '',
customField: '20080226-115134'
};
webappMappings['7060']=webappMappings['7060-2adbe8416820f3382357938f59f9677c']={
webappId:    '7060',
documentId:  '51901',
internalId:  '2adbe8416820f3382357938f59f9677c',
customField: 'language:de;country:DE;'
};
webappMappings['1007']=webappMappings['1007-118557aae23']={
webappId:    '1007',
documentId:  '43198',
internalId:  '118557aae23',
customField: 'g.131anp6rq.k93407f5ej.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43198',
internalId:  '',
customField: '20080829-105849'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43211',
internalId:  '',
customField: '20090605-112351'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '44409',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44409',
internalId:  '',
customField: '20080226-215807'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44422',
internalId:  '',
customField: '20080226-220515'
};
webappMappings['1008']=webappMappings['1008-45873699']={
webappId:    '1008',
documentId:  '44422',
internalId:  '45873699',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44602',
internalId:  '',
customField: '20080819-121711'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44584',
internalId:  '',
customField: '20090602-203833'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45193',
internalId:  '',
customField: '20080710-142445'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44611',
internalId:  '',
customField: '20090605-111258'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44620',
internalId:  '',
customField: '20080902-130003'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44642',
internalId:  '',
customField: '20080707-105718'
};
webappMappings['1501']=webappMappings['1501-51241177']={
webappId:    '1501',
documentId:  '41869',
internalId:  '51241177',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45554',
internalId:  '',
customField: '20090522-183811'
};
var canonHostname = 'cfawrk07.aul.t-online.de';
var accountId     = 'ATOIX0IR1HX3';
var companyName   = 'Baerenhunde+von+der+Saldenburg';
var htmlTitle	  = 'Germanische+B%C3%A4renhunde';
var metaKeywords  = 'germanische+baerenhunde%2C+baerenhundewelpen%2C+hobbyzucht%2C+b%C3%A4renhunde';
var metaContents  = 'Wir+stellen+unsere+Germanischen+Baerenhunde+vor.+Am+12.01.08+hat+unsere+H%C3%BCndin+7+gesunde+Welpen+auf+die+Welt+gebracht';
					                                                                    
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 */					                                                            
