/* [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','40213',jdecode('Startseite'),jdecode(''),'/40213.html','true',[],''],
	['PAGE','40224',jdecode('Welpen+unserer+R%C3%BCden'),jdecode(''),'/40224.html','true',[],''],
	['PAGE','40233',jdecode('Der+Havaneser'),jdecode(''),'/40233.html','true',[],''],
	['PAGE','40269',jdecode('H%C3%BCndinnen+%2F+R%C3%BCden'),jdecode(''),'/40269.html','true',[],''],
	['PAGE','103701',jdecode('Wurfplanung'),jdecode(''),'/103701.html','true',[],''],
	['PAGE','40242',jdecode('Aktuelle+Welpen'),jdecode(''),'/40242.html','true',[],''],
	['PAGE','40766',jdecode('+Welpen+Fotoalbum+'),jdecode(''),'/40766.html','true',[],''],
	['PAGE','40934',jdecode('Kontakt+%2F+Anfahrt'),jdecode(''),'/40934.html','true',[],''],
	['PAGE','47006',jdecode('G%C3%A4stebuch'),jdecode(''),'/47006/home.html','true',[ 
		['PAGE','47001',jdecode('Eintr%C3%A4ge'),jdecode(''),'/47006/47001.html','true',[],'']
	],''],
	['PAGE','40251',jdecode('Links'),jdecode(''),'/40251.html','true',[],''],
	['PAGE','89201',jdecode('Ihr+Weg+zu+uns'),jdecode(''),'/89201.html','true',[],'']];
var siteelementCount=12;
theSitetree.topTemplateName='Heart';
theSitetree.paletteFamily='C14F4F';
theSitetree.keyvisualId='7760';
theSitetree.keyvisualName='kv_7760.jpg';
theSitetree.fontsetId='16808';
theSitetree.graphicsetId='12279';
theSitetree.contentColor='410A0A';
theSitetree.contentBGColor='F6CDCD';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Heart',
				paletteFamily: 	'C14F4F',
				keyvisualId: 	'7760',
				keyvisualName: 	'kv_7760.jpg',
				fontsetId: 		'16808',
				graphicsetId: 	'12279',
				contentColor: 	'410A0A',
				contentBGColor: 'F6CDCD',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['1002']=webappMappings['1002-47006atoix0i7bqgu']={
webappId:    '1002',
documentId:  '47001',
internalId:  '47006atoix0i7bqgu',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40213',
internalId:  '',
customField: '20120109-203711'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40233',
internalId:  '',
customField: '20110213-133718'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40224',
internalId:  '',
customField: '20120109-211201'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40242',
internalId:  '',
customField: '20120109-205026'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40251',
internalId:  '',
customField: '20110422-132802'
};
webappMappings['1002']=webappMappings['1002-47006atoix0i7bqgu']={
webappId:    '1002',
documentId:  '47006',
internalId:  '47006atoix0i7bqgu',
customField: 'action=form&icq=false'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40269',
internalId:  '',
customField: '20120109-210656'
};
webappMappings['1007']=webappMappings['1007-110fa7c092d']={
webappId:    '1007',
documentId:  '40766',
internalId:  '110fa7c092d',
customField: 'g.123t6b0gp.3bi9vvkag0.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40766',
internalId:  '',
customField: '20100401-224057'
};
webappMappings['1501']=webappMappings['1501-34009664']={
webappId:    '1501',
documentId:  '40213',
internalId:  '34009664',
customField: '1501'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '40934',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40934',
internalId:  '',
customField: '20110120-093553'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47006',
internalId:  '',
customField: '20081220-101042'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47001',
internalId:  '',
customField: '20080810-172639'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '89201',
internalId:  '',
customField: '20100512-094416'
};
webappMappings['2002']=webappMappings['2002-routing']={
webappId:    '2002',
documentId:  '89201',
internalId:  'routing',
customField: 'de_DE'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '103701',
internalId:  '',
customField: '20120109-210201'
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0I7BQGU';
var companyName   = 'de+la+caracca+pandilla+pequeno';
var htmlTitle	  = '+www.de-la-caracca-pandilla-pequeno.de';
var metaKeywords  = 'Havaneser++Welpen+Z%C3%BCchter+Hobby+Zucht++Christina+Thoretz+38179+Schw%C3%BClper+05303%2F990240++Begleithunde+Kuba+dhd24++DRC-Soltau++Braunschweig+Gifhorn+';
var metaContents  = 'Suche+Havaneserwelpen+Kleine+Kubanische+Fellnasen+Havaneser-Z%C3%BCchter+zwischen+Braunschweig+und+Gifhorn.+Zeitweise+Welpen+abzugeben.+Havaneser+kleine+Begleithunde+aus+Kuba.+Eingetragener+Z%C3%BCchter+und+Mitglied+beim+DRC+Soltau++Zu+sehen+sind+die+Elterntiere.+Meine+R%C3%BCden%2C+meine+H%C3%BCndinen+und+unsere+Welpen.+Havaneser+sind+immer+Lustig+drauf.+';
					                                                                    
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 */					                                                            

