/* [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','40428',jdecode('Kontakt'),jdecode(''),'/40428/home.html','true',[ 
		['PAGE','41228',jdecode('Anfahrt'),jdecode(''),'/40428/41228.html','true',[],'']
	],''],
	['PAGE','40437',jdecode('Maiwald%26%23x27%3Bs'),jdecode(''),'/40437.html','true',[],''],
	['PAGE','174501',jdecode('Aktuelles'),jdecode(''),'/174501/home.html','true',[ 
		['PAGE','147701',jdecode('Archiv+2010'),jdecode(''),'/174501/147701.html','true',[],''],
		['PAGE','125701',jdecode('Archiv+2009'),jdecode(''),'/174501/125701.html','true',[],''],
		['PAGE','40482',jdecode('Archiv+2008'),jdecode(''),'/174501/40482.html','true',[],'']
	],''],
	['PAGE','42283',jdecode('Pr%C3%BCfungen+und+%C3%9Cbungen'),jdecode(''),'/42283.html','true',[],''],
	['PAGE','42172',jdecode('Erlebnisse'),jdecode(''),'/42172.html','true',[],''],
	['PAGE','40473',jdecode('R%C3%BCde'),jdecode(''),'/40473.html','true',[],''],
	['PAGE','97501',jdecode('Jungr%C3%BCde'),jdecode(''),'/97501.html','true',[],''],
	['PAGE','40455',jdecode('H%C3%BCndinnen'),jdecode(''),'/40455.html','true',[],''],
	['PAGE','40491',jdecode('Welpen'),jdecode(''),'/40491.html','true',[],''],
	['PAGE','40446',jdecode('Nachzucht+'),jdecode(''),'/40446.html','true',[],''],
	['PAGE','40509',jdecode('Links+und+Impressum'),jdecode(''),'/40509.html','true',[],''],
	['PAGE','47201',jdecode('Hundehalter'),jdecode(''),'/47201.html','true',[],''],
	['PAGE','47501',jdecode('Futter'),jdecode(''),'/47501.html','true',[],''],
	['PAGE','41619',jdecode('G%C3%A4stebuch'),jdecode(''),'/41619/home.html','true',[ 
		['PAGE','41618',jdecode('Eintr%C3%A4ge'),jdecode(''),'/41619/41618.html','true',[],'']
	],'']];
var siteelementCount=20;
theSitetree.topTemplateName='Billy';
theSitetree.paletteFamily='8D7C50';
theSitetree.keyvisualId='7102';
theSitetree.keyvisualName='kv_7102.jpg';
theSitetree.fontsetId='16390';
theSitetree.graphicsetId='12126';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='8D7C50';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Billy',
				paletteFamily: 	'8D7C50',
				keyvisualId: 	'7102',
				keyvisualName: 	'kv_7102.jpg',
				fontsetId: 		'16390',
				graphicsetId: 	'12126',
				contentColor: 	'FFFFFF',
				contentBGColor: '8D7C50',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				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: '20111011-190214'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40428',
internalId:  '',
customField: '20081111-193131'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40437',
internalId:  '',
customField: '20090531-224031'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40455',
internalId:  '',
customField: '20110911-145208'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '41228',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40509',
internalId:  '',
customField: '20110911-145352'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40446',
internalId:  '',
customField: '20110911-143853'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40482',
internalId:  '',
customField: '20081208-120127'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40491',
internalId:  '',
customField: '20111011-190321'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40473',
internalId:  '',
customField: '20100201-231217'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41228',
internalId:  '',
customField: '20071210-204926'
};
webappMappings['1008']=webappMappings['1008-42213700']={
webappId:    '1008',
documentId:  '40428',
internalId:  '42213700',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['1002']=webappMappings['1002-41619atoix0ircwh6']={
webappId:    '1002',
documentId:  '41619',
internalId:  '41619atoix0ircwh6',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-41619atoix0ircwh6']={
webappId:    '1002',
documentId:  '41618',
internalId:  '41619atoix0ircwh6',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41619',
internalId:  '',
customField: '20071210-235814'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41618',
internalId:  '',
customField: '20071210-235814'
};
webappMappings['1501']=webappMappings['1501-42247895']={
webappId:    '1501',
documentId:  '39994',
internalId:  '42247895',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42172',
internalId:  '',
customField: '20110710-143116'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42283',
internalId:  '',
customField: '20100204-164933'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '174501',
internalId:  '',
customField: '20110911-143112'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47201',
internalId:  '',
customField: '20080122-134332'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47501',
internalId:  '',
customField: '20101222-163817'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '147701',
internalId:  '',
customField: '20110117-141013'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '97501',
internalId:  '',
customField: '20110710-143743'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '125701',
internalId:  '',
customField: '20100114-180611'
};
var canonHostname = 'c4awrk04.aul.t-online.de';
var accountId     = 'ATOIX0IRCWH6';
var companyName   = 'Maiwald%27s+edle+Zwerglanghaarteckelzucht';
var htmlTitle	  = 'Maiwalds+edle+Zwerglanghaarteckel';
var metaKeywords  = '+Teckel%2C+Dackel%2C+Zwerglanghaarteckel%2C+Zwergdackel%2C+Z%C3%BCchter%2C+Deutscher+Teckelklub+1888e.V.%2C+VDH%2C+FCI%2C+R%C3%BCden%2C+H%C3%BCndinnen%2C+Welpen%2C+Dackelwelpen%2C+Hundebabys%2C+Zucht+im+Deutschen+Teckelklub%2C+Landesverb%C3%A4nde%2C+Maiwalds+Ambra%2C+Maiwalds+Ivana%2C+Maiwalds+Ricarda%2C+Maiwalds+Vienna.+';
var metaContents  = 'Private+Homepage+von+meiner+kleinen%2C+erfolgreichen+Zwerglanghaarteckelzucht.Unsere+Teckel+sind+Familienmitglieder+und+haben+deshalb+ein+besonders+aufgeschlossenes+Wesen.++Auf+nationalen+und+internationen+Zuchtschauen+sind+meine+Teckel+recht+erfolgreich.+Ebenfalls+lege+ich+bei+meinen+Zuchthunden+Wert+auf+eine+Schu%C3%9Ffestigkeitspr%C3%BCfung+und+Begleithundepr%C3%BCfung.';
					                                                                    
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 */					                                                            

