/* [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','40975',jdecode('Home'),jdecode(''),'/40975.html','true',[],''],
	['PAGE','41256',jdecode('Satellitenbild+Lanzarote'),jdecode(''),'/41256.html','true',[],''],
	['PAGE','41273',jdecode('Bildergalerie+Lanzarote'),jdecode(''),'/41273.html','true',[],''],
	['PAGE','41285',jdecode('Pressestimmen'),jdecode(''),'/41285.html','true',[],''],
	['PAGE','40984',jdecode('Kontakt+und+Bestellungen'),jdecode(''),'/40984.html','true',[],''],
	['PAGE','40993',jdecode('Lanzarotelinks'),jdecode(''),'/40993.html','true',[],''],
	['PAGE','41002',jdecode('Impressum'),jdecode(''),'/41002.html','true',[],'']];
var siteelementCount=7;
theSitetree.topTemplateName='Toronto';
theSitetree.paletteFamily='3358C6';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='16882';
theSitetree.graphicsetId='12318';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='3358C6';
var theTemplate={
				name: 			'Toronto',
				paletteFamily: 	'3358C6',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'16882',
				graphicsetId: 	'12318',
				contentColor: 	'FFFFFF',
				contentBGColor: '3358C6',
				hasFlashNavigation: 'true',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'true',
				hasCompanyname: 'false',
				a_color: 		'3358C6',
				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['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '40975',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40975',
internalId:  '',
customField: '20071027-153750'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40984',
internalId:  '',
customField: '20071027-161057'
};
webappMappings['1007']=webappMappings['1007-115ae7b3a30']={
webappId:    '1007',
documentId:  '41273',
internalId:  '115ae7b3a30',
customField: 'g.12mn6to66.hptv4urkg0.3o'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41256',
internalId:  '',
customField: '20071027-162603'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41273',
internalId:  '',
customField: '20071027-162452'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40993',
internalId:  '',
customField: '20071027-163959'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41002',
internalId:  '',
customField: '20071027-154920'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41285',
internalId:  '',
customField: '20071030-141724'
};
webappMappings['1008']=webappMappings['1008-40249962']={
webappId:    '1008',
documentId:  '40984',
internalId:  '40249962',
customField: 'de:DE::;language:de;country:DE;'
};
var canonHostname = 'cfawrk04.aul.t-online.de';
var accountId     = 'ATOIX0I72DJM';
var companyName   = 'edition+biosphaere';
var htmlTitle	  = 'Bilder+und+Satellitenposter+Lanzarote';
var metaKeywords  = 'Lanzarote%2C+Satellitenbild%2C+3DSatellitenbild%2C+Panoramakarten%2C+Panoramakarte+Lanzarote%2C+Bilder+Lanzarote%2C+Lanzarotebilder%2C+Routenbeschreibungen+Lanzarote%2C+Lanzarote%2C+Kurzreisef%C3%BChrer+Lanzarote%2C+Reisef%C3%BChrer+Lanzarote%2C+Lanzaroteinfos%2C+C%C3%A9sar+Manrique%2C+Biosphaerenreservat%2C+Biosphaerenreservat+Lanzarote%2C+Arrecife%2C+Puerto+del+Carmen%2C+Feuerberge%2C+Parque+Nacional+de+Timanfaya%2C+Nationalpark+Timanfaya%2C+Los+Ajaches%2C+Uga%2C+Yaiza%2C+Teguise%2C+Playa+Blanca%2C+Costa+Teguise%2C+%C3%93rzola%2C+La+Graciosa%2C+Famara%2C+San+Bartolom%C3%A9%2C+die+Erde+von+oben.+';
var metaContents  = 'Wir+sind+ein+kleiner+Verlag+mit+exklusivem+Angebot.+Aus+Liebe+zur+Kanareninsel+Lanzarote+haben+wir+mit+Satelliten-+und+H%C3%B6hendaten+eine+dreidimensionale+Panoramakarte+erstellt.+Auch+im+Angebot%3A+einzigartige+Bilder+der+Perla+Negra.';
					                                                                    
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 */					                                                            

