/* [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','13701',jdecode('Startseite'),jdecode(''),'/13701.html','true',[],''],
	['PAGE','16840',jdecode('Schimmbadanlagen'),jdecode(''),'/16840/home.html','true',[ 
		['PAGE','52201',jdecode('++++%C3%9Cberdachungen'),jdecode(''),'/16840/52201.html','true',[],''],
		['PAGE','13732',jdecode('Zubeh%C3%B6r+'),jdecode(''),'/16840/13732.html','true',[],''],
		['PAGE','41601',jdecode('Technik'),jdecode(''),'/16840/41601.html','true',[],'']
	],''],
	['PAGE','41643',jdecode('Solartechnik'),jdecode(''),'/41643.html','true',[],''],
	['PAGE','13717',jdecode('Sauna'),jdecode(''),'/13717.html','true',[],''],
	['PAGE','13722',jdecode('Solarium'),jdecode(''),'/13722.html','true',[],''],
	['PAGE','13727',jdecode('Whirlpool'),jdecode(''),'/13727.html','true',[],''],
	['PAGE','41622',jdecode('Terrassen%C3%BCberdachungen'),jdecode(''),'/41622.html','true',[],''],
	['PAGE','62050',jdecode('Service%2C+Wartung%2CPflege'),jdecode(''),'/62050.html','true',[],''],
	['PAGE','17101',jdecode('Ausstellung+%2F+Shop'),jdecode(''),'/17101.html','true',[],''],
	['PAGE','13742',jdecode('Kontakt'),jdecode(''),'/13742/home.html','true',[ 
		['PAGE','32802',jdecode('Kontakt+%28Folgeseite%29'),jdecode(''),'/13742/32802.html','false',[],'']
	],''],
	['PAGE','32002',jdecode('Anfahrt'),jdecode(''),'/32002.html','true',[],'']];
var siteelementCount=15;
theSitetree.topTemplateName='Button';
theSitetree.paletteFamily='191B1C';
theSitetree.keyvisualId='10953';
theSitetree.keyvisualName='kv_10953.jpg';
theSitetree.fontsetId='31906';
theSitetree.graphicsetId='13723';
theSitetree.contentColor='B1B1B1';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Button',
				paletteFamily: 	'191B1C',
				keyvisualId: 	'10953',
				keyvisualName: 	'kv_10953.jpg',
				fontsetId: 		'31906',
				graphicsetId: 	'13723',
				contentColor: 	'B1B1B1',
				contentBGColor: 'FFFFFF',
				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: 	'false',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1001']=webappMappings['1001-atoix0in2xhh10089afe691']={
webappId:    '1001',
documentId:  '13742',
internalId:  'atoix0in2xhh10089afe691',
customField: ''
};
webappMappings['1001']=webappMappings['1001-atoix0in2xhh10089afe691']={
webappId:    '1001',
documentId:  '32802',
internalId:  'atoix0in2xhh10089afe691',
customField: 'followUp'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '32002',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13701',
internalId:  '',
customField: '20070906-163052'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16840',
internalId:  '',
customField: '20070906-152548'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13732',
internalId:  '',
customField: '20070911-125915'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41601',
internalId:  '',
customField: '20070911-130050'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41622',
internalId:  '',
customField: '20070906-152136'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '52201',
internalId:  '',
customField: '20070906-152636'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41643',
internalId:  '',
customField: '20070906-153158'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13717',
internalId:  '',
customField: '20070911-130352'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13722',
internalId:  '',
customField: '20070906-153718'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13727',
internalId:  '',
customField: '20070906-153816'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17101',
internalId:  '',
customField: '20070906-151302'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13742',
internalId:  '',
customField: '20070906-151217'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32002',
internalId:  '',
customField: '20041129-125240'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '62050',
internalId:  '',
customField: '20070906-162950'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32802',
internalId:  '',
customField: '20041130-143354'
};
var canonHostname = 'cfawrk07.aul.t-online.de';
var accountId     = 'ATOIX0IN2XHH';
var companyName   = 'Schwimmbadbau+Schulz';
var htmlTitle	  = 'Schwimmbadbau+Schulz.++Schwimmbadbau%2C+Saunabau%2C+Solartechnik%2C+Whirlpools%2CSolarien%2CTerrassen%C3%BCberdachungen%2CBielefeld+%2COWL';
var metaKeywords  = 'Schwimmbadbau%2C+Schwimmbadanlagen%2C+Schwimmbad%2C+Sauna%2C+Saunen%2CSaunabau%2CSaunaanlagen%2C+Whirlpool%2C+Whirlpools%2C+Solarien%2CSolarium%2C+Solaranlagen%2C+Solartechnik%2C+Terrassen%C3%BCberdachungen%2C+Schwimmbadzubeh%C3%B6r%2C+Saunazubeh%C3%B6r%2C+Schwimmbecken';
var metaContents  = 'Schwimmbadbau%2C+Saunaanlagen%2C+Solartechnik%2C+Whirlpools%2C+Solarien%2C+Terrassenabdeckungen.+Auf+Wunsch+alles+aus+einer+Hand.+Gro%C3%9Fes+Zubeh%C3%B6rlager.';
					                                                                    
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 */					                                                            

