/* [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','42115',jdecode('%C3%9Cber+Uns'),jdecode(''),'/42115.html','true',[],''],
	['PAGE','42124',jdecode('Unsere+Hunde'),jdecode(''),'/42124.html','true',[],''],
	['PAGE','42160',jdecode('Der+Beagle'),jdecode(''),'/42160.html','true',[],''],
	['PAGE','42142',jdecode('Welpen'),jdecode(''),'/42142/home.html','true',[ 
		['PAGE','41064',jdecode('A-Wurf'),jdecode(''),'/42142/41064.html','true',[],''],
		['PAGE','41323',jdecode('Bilder'),jdecode(''),'/42142/41323.html','true',[],''],
		['PAGE','41707',jdecode('B-Wurf'),jdecode(''),'/42142/41707.html','true',[],''],
		['PAGE','41869',jdecode('Bilder+'),jdecode(''),'/42142/41869.html','true',[],''],
		['PAGE','42348',jdecode('Lissys+C%26%23x27%3Bs'),jdecode(''),'/42142/42348.html','true',[],'']
	],''],
	['PAGE','42397',jdecode('G%C3%A4stebuch'),jdecode(''),'/42397/home.html','true',[ 
		['PAGE','42396',jdecode('Eintr%C3%A4ge'),jdecode(''),'/42397/42396.html','true',[],'']
	],''],
	['PAGE','42360',jdecode('Impressum'),jdecode(''),'/42360.html','true',[],'']];
var siteelementCount=13;
theSitetree.topTemplateName='Inspiration';
theSitetree.paletteFamily='A99797';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='102';
theSitetree.graphicsetId='124';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='A99797';
var theTemplate={
				name: 			'Inspiration',
				paletteFamily: 	'A99797',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'102',
				graphicsetId: 	'124',
				contentColor: 	'FFFFFF',
				contentBGColor: 'A99797',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'A99797',
				b_color: 		'C5BAB6',
				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:  '44',
internalId:  '1006',
customField: '1006'
};
webappMappings['1007']=webappMappings['1007-10649ca8122']={
webappId:    '1007',
documentId:  '41323',
internalId:  '10649ca8122',
customField: 'g.10p4s3jj9.2qhe4984ej1.3o'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44',
internalId:  '',
customField: '20080801-141721'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41064',
internalId:  '',
customField: '20051001-123953'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41323',
internalId:  '',
customField: '20050913-115003'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41707',
internalId:  '',
customField: '20070605-222023'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42142',
internalId:  '',
customField: '20080621-122621'
};
webappMappings['1007']=webappMappings['1007-112ea4e1941']={
webappId:    '1007',
documentId:  '41869',
internalId:  '112ea4e1941',
customField: 'g.12bl40nkc.helsbe9jjg.3o'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41869',
internalId:  '',
customField: '20070603-002442'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42115',
internalId:  '',
customField: '20080713-092841'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42160',
internalId:  '',
customField: '20080426-122757'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42124',
internalId:  '',
customField: '20080428-123320'
};
webappMappings['1002']=webappMappings['1002-42397atoix0inlqqz']={
webappId:    '1002',
documentId:  '42397',
internalId:  '42397atoix0inlqqz',
customField: 'action=form&icq=false'
};
webappMappings['1007']=webappMappings['1007-11990088c88']={
webappId:    '1007',
documentId:  '42348',
internalId:  '11990088c88',
customField: 'g.1367v6dgk.26aapq7qpop.3o'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42348',
internalId:  '',
customField: '20080427-155916'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42360',
internalId:  '',
customField: '20080427-152531'
};
webappMappings['1002']=webappMappings['1002-42397atoix0inlqqz']={
webappId:    '1002',
documentId:  '42396',
internalId:  '42397atoix0inlqqz',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42397',
internalId:  '',
customField: '20080427-213915'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42396',
internalId:  '',
customField: '20080427-213915'
};
var canonHostname = 'cfawrk08.aul.t-online.de';
var accountId     = 'ATOIX0INLQQZ';
var companyName   = '...+of+the+crazy+Beaglegang';
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;                                                                     
	};                                                                               
/* EOF */					                                                            
