/* [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','44',jdecode('Startseite'),jdecode(''),'/44.html','true',[],''],
	['PAGE','41001',jdecode('Aktuelles'),jdecode(''),'/41001.html','true',[],''],
	['PAGE','40724',jdecode('Wir+%C3%BCber+uns+'),jdecode(''),'/40724.html','true',[],''],
	['PAGE','40733',jdecode('Unsere+Doggen'),jdecode(''),'/40733.html','true',[],''],
	['PAGE','42821',jdecode('Zuhause+Gesucht'),jdecode(''),'/42821.html','true',[],''],
	['PAGE','40897',jdecode('Fotoalbum'),jdecode(''),'/40897.html','true',[],''],
	['PAGE','43601',jdecode('N-Wurf'),jdecode(''),'/43601.html','true',[],''],
	['PAGE','55301',jdecode('O-Wurf'),jdecode(''),'/55301.html','true',[],''],
	['PAGE','40602',jdecode('G%C3%A4stebuch'),jdecode(''),'/40602/home.html','true',[ 
		['PAGE','40601',jdecode('Eintr%C3%A4ge'),jdecode(''),'/40602/40601.html','true',[],'']
	],''],
	['PAGE','42850',jdecode('Filmtiere'),jdecode(''),'/42850.html','true',[],''],
	['PAGE','40760',jdecode('Links+'),jdecode(''),'/40760.html','true',[],''],
	['PAGE','40769',jdecode('Impresum'),jdecode(''),'/40769.html','true',[],''],
	['PAGE','40812',jdecode('Kontakt'),jdecode(''),'/40812.html','true',[],''],
	['PAGE','53401',jdecode('Anfahrt'),jdecode(''),'/53401.html','true',[],'']];
var siteelementCount=15;
theSitetree.topTemplateName='Holz';
theSitetree.paletteFamily='C239A1';
theSitetree.keyvisualId='8815';
theSitetree.keyvisualName='KV_01.swf';
theSitetree.fontsetId='17186';
theSitetree.graphicsetId='12652';
theSitetree.contentColor='FFBEEF';
theSitetree.contentBGColor='262626';
var theTemplate={
				hasFlashNavigation: 'true',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'true',
				hasCompanyname: 'false',
				name: 			'Holz',
				paletteFamily: 	'C239A1',
				keyvisualId: 	'8815',
				keyvisualName: 	'KV_01.swf',
				fontsetId: 		'17186',
				graphicsetId: 	'12652',
				contentColor: 	'FFBEEF',
				contentBGColor: '262626',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'C039A3',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '44',
internalId:  '1006',
customField: '1006'
};
webappMappings['1002']=webappMappings['1002-40602atoix0i7r0ib']={
webappId:    '1002',
documentId:  '40602',
internalId:  '40602atoix0i7r0ib',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-40602atoix0i7r0ib']={
webappId:    '1002',
documentId:  '40601',
internalId:  '40602atoix0i7r0ib',
customField: 'action=list'
};
webappMappings['1501']=webappMappings['1501-18856916']={
webappId:    '1501',
documentId:  '44',
internalId:  '18856916',
customField: '1501'
};
webappMappings['1007']=webappMappings['1007-10cb1413fd4']={
webappId:    '1007',
documentId:  '40897',
internalId:  '10cb1413fd4',
customField: 'g.11iohqbot.ckgun42o9t.3o'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44',
internalId:  '',
customField: '20111230-223920'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40724',
internalId:  '',
customField: '20060726-105650'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40733',
internalId:  '',
customField: '20111030-151839'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41001',
internalId:  '',
customField: '20111019-222816'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40897',
internalId:  '',
customField: '20060727-222810'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42821',
internalId:  '',
customField: '20110320-174431'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40602',
internalId:  '',
customField: '20060726-115613'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40601',
internalId:  '',
customField: '20060725-182242'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40760',
internalId:  '',
customField: '20070312-193237'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40769',
internalId:  '',
customField: '20060726-120627'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40812',
internalId:  '',
customField: '20080915-175249'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43601',
internalId:  '',
customField: '20111013-231333'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42850',
internalId:  '',
customField: '20110810-222851'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '53401',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '53401',
internalId:  '',
customField: '20110320-203508'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '55301',
internalId:  '',
customField: '20120108-204913'
};
var canonHostname = 'c4awrk01.aul.t-online.de';
var accountId     = 'ATOIX0I7R0IB';
var companyName   = '+Deutsche-Doggen-vom-Mitterhof';
var htmlTitle	  = '';
var metaKeywords  = '';
var metaContents  = '';
					                                                                    
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 */					                                                            

