/* [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','10547',jdecode('Home'),jdecode(''),'/10547.html','true',[],''],
	['PAGE','28201',jdecode('wir+%C3%9Cber+uns'),jdecode(''),'/28201.html','true',[],''],
	['PAGE','25801',jdecode('Jobs'),jdecode(''),'/25801.html','true',[],''],
	['PAGE','28222',jdecode('Service'),jdecode(''),'/28222.html','true',[],''],
	['PAGE','30801',jdecode('Unser+Eisprogramm'),jdecode(''),'/30801.html','true',[],''],
	['PAGE','28101',jdecode('Mobiler+Speiseeisverkauf'),jdecode(''),'/28101.html','true',[],''],
	['PAGE','16301',jdecode('Anfahrt'),jdecode(''),'/16301.html','true',[],''],
	['PAGE','21006',jdecode('G%C3%A4stebuch'),jdecode(''),'/21006/home.html','true',[ 
		['PAGE','21001',jdecode('Eintr%C3%A4ge'),jdecode(''),'/21006/21001.html','true',[],'']
	],''],
	['PAGE','21401',jdecode('Bilder'),jdecode(''),'/21401.html','true',[],''],
	['PAGE','29801',jdecode('Impressum'),jdecode(''),'/29801.html','true',[],'']];
var siteelementCount=11;
theSitetree.topTemplateName='freeline';
theSitetree.paletteFamily='787854';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10648';
theSitetree.graphicsetId='10904';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='F4F4E6';
var theTemplate={
				name: 			'freeline',
				paletteFamily: 	'787854',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10648',
				graphicsetId: 	'10904',
				contentColor: 	'000000',
				contentBGColor: 'F4F4E6',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '10547',
internalId:  '1006',
customField: '1006'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '16301',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['1002']=webappMappings['1002-21006atoix0inez0w']={
webappId:    '1002',
documentId:  '21006',
internalId:  '21006atoix0inez0w',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-21006atoix0inez0w']={
webappId:    '1002',
documentId:  '21001',
internalId:  '21006atoix0inez0w',
customField: 'action=list'
};
webappMappings['1007']=webappMappings['1007-10cf4198d7a']={
webappId:    '1007',
documentId:  '21401',
internalId:  '10cf4198d7a',
customField: 'g.11jq160ik.bcgm92ibfs.3o'
};
webappMappings['1501']=webappMappings['1501-28161270']={
webappId:    '1501',
documentId:  '10547',
internalId:  '28161270',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10547',
internalId:  '',
customField: '20070125-195121'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '29801',
internalId:  '',
customField: '20061217-152103'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '28201',
internalId:  '',
customField: '20061203-195250'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25801',
internalId:  '',
customField: '20070512-202814'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '28222',
internalId:  '',
customField: '20060812-180653'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '30801',
internalId:  '',
customField: '20060827-205156'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '28101',
internalId:  '',
customField: '20070512-203104'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16301',
internalId:  '',
customField: '20060809-201455'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '21006',
internalId:  '',
customField: '20060809-195440'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '21001',
internalId:  '',
customField: '20060809-195440'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '21401',
internalId:  '',
customField: '20060809-201415'
};
var canonHostname = 'cfawrk05.aul.t-online.de';
var accountId     = 'ATOIX0INEZ0W';
var companyName   = 'Orginal+Italienische+Eisspezialit%C3%A4ten+De+Carlo';
var htmlTitle	  = 'Eis+De+Carlo';
var metaKeywords  = 'De+Carlo%2C+Eis+Italien+%2Citalienisch%2CEiswagen%2C+Eisverkaufswagen%2CEisverkauf%2CEisdiele+Borchen%2CPaderborn%2CArbeitsplatz+Eisdecarlo%2Ceismann+++';
var metaContents  = 'Orginal+italienische+Eisspezialit%C3%A4ten.++';
					                                                                    
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 */					                                                            

