/* [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('Telefonberatung'),jdecode(''),'/39994.html','true',[],''],
	['PAGE','40739',jdecode('%C3%9Cber+mich'),jdecode(''),'/40739.html','true',[],''],
	['PAGE','41966',jdecode('Info-Brosch%C3%BCre'),jdecode(''),'/41966.html','true',[],''],
	['PAGE','41996',jdecode('Mein+Buch'),jdecode(''),'/41996.html','true',[],''],
	['PAGE','40625',jdecode('Anschaffungsberatung'),jdecode(''),'/40625.html','true',[],''],
	['PAGE','40616',jdecode('Welpen'),jdecode(''),'/40616.html','true',[],''],
	['PAGE','40634',jdecode('Erziehung%2FProbleme'),jdecode(''),'/40634.html','true',[],''],
	['PAGE','40643',jdecode('Ern%C3%A4hrung%2FGesundheit'),jdecode(''),'/40643.html','true',[],''],
	['PAGE','40831',jdecode('Hund+und+Krebs'),jdecode(''),'/40831.html','true',[],''],
	['PAGE','40679',jdecode('Kontakt+%2F+Impressum'),jdecode(''),'/40679.html','true',[],''],
	['PAGE','41915',jdecode('G%C3%A4stebuch'),jdecode(''),'/41915/home.html','false',[ 
		['PAGE','41914',jdecode('Eintr%C3%A4ge'),jdecode(''),'/41915/41914.html','true',[],'']
	],'']];
var siteelementCount=12;
theSitetree.topTemplateName='Natural';
theSitetree.paletteFamily='136F83';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='155';
theSitetree.graphicsetId='170';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FCFCF4';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Natural',
				paletteFamily: 	'136F83',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'155',
				graphicsetId: 	'170',
				contentColor: 	'000000',
				contentBGColor: 'FCFCF4',
				a_color: 		'136F83',
				b_color: 		'66CCFF',
				c_color: 		'000000',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'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: '20110729-092141'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40616',
internalId:  '',
customField: '20110729-091935'
};
webappMappings['1002']=webappMappings['1002-41915atoix0irj44g']={
webappId:    '1002',
documentId:  '41915',
internalId:  '41915atoix0irj44g',
customField: 'action=form&icq=false'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40679',
internalId:  '',
customField: '20110729-091748'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40739',
internalId:  '',
customField: '20110729-092118'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40634',
internalId:  '',
customField: '20110729-091920'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40643',
internalId:  '',
customField: '20110729-091906'
};
webappMappings['1008']=webappMappings['1008-54595053']={
webappId:    '1008',
documentId:  '40679',
internalId:  '54595053',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40625',
internalId:  '',
customField: '20110729-091953'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40831',
internalId:  '',
customField: '20110729-091854'
};
webappMappings['1501']=webappMappings['1501-54817478']={
webappId:    '1501',
documentId:  '39994',
internalId:  '54817478',
customField: '1501'
};
webappMappings['1002']=webappMappings['1002-41915atoix0irj44g']={
webappId:    '1002',
documentId:  '41914',
internalId:  '41915atoix0irj44g',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41915',
internalId:  '',
customField: '20090222-154724'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41914',
internalId:  '',
customField: '20090128-215540'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41966',
internalId:  '',
customField: '20110729-092405'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41996',
internalId:  '',
customField: '20110729-091708'
};
webappMappings['1008']=webappMappings['1008-74012296']={
webappId:    '1008',
documentId:  '41996',
internalId:  '74012296',
customField: 'de:DE::;language:de;country:DE;'
};
var canonHostname = 'c4awrk02.aul.t-online.de';
var accountId     = 'ATOIX0IRJ44G';
var companyName   = 'Die+Telefonberatung+rund+um+den+Hund';
var htmlTitle	  = 'Die+Telefonberatung+rund+um+den+Hund';
var metaKeywords  = 'Franziska+Feldsieper%2C+Fachberatung+rund+um+den+Hund%2C+Anschaffungsberatung%2C+Welpe%2C+Rasse%2C+Mix%2C+Junghund%2C+Erziehung%2C+Hundeerziehung%2C+Problemhund%2C+Aggression%2C+Futter%2C+F%C3%BCtterung%2C+Krebs%2C+Lein%C3%B6l%2C+Quark%2C+Hundeausstattung%2C+Hundekauf%2C+Z%C3%BCchter%2C+Tierschutz%2C+Kaufberatung%2C+Hund%2C+H%C3%BCndchen%2C+H%C3%BCndin%2C+R%C3%BCde%2C+Kastration%2C+Impfung%2C+Trockenfutter%2C+Dosenfutter%2C+Frischfleisch%2C+Rohf%C3%BCtterung%2C+barf%2C+Barfen%2C+Barf%2C+barfen%2C+Ern%C3%A4hrungsberatung';
var metaContents  = 'Alles+was+Sie+wissen+m%C3%BCssen%21+Kompetente+Beratung+rund+um+den+Hund.+Welcher+Hund+pa%C3%9Ft+zu+mir%3F+R%C3%BCder+oder+H%C3%BCndin%3F+Welpe+oder+%C3%A4lter%3F+Rasse+oder+Mix%3F+Wie+werden+wir+ein+perfektes+Team%3F+Mein+Hund+macht+Probleme%2C+was+tun%3F+Mein+Hund+hat+Krebs%2C+was+kann+ich+tun%3F+Telefonische+Beratung+mit+Mailversand+von+Unterlagen+von+der+Fachfrau+f%C3%BCr+gewaltfreie+Hundeerziehung%21++';
					                                                                    
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 */					                                                            

