/* [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','39994',jdecode('Einf%C3%BChrung'),jdecode(''),'/39994/home.html','true',[ 
		['PAGE','44409',jdecode('Startpl%C3%A4tze%2FLinks'),jdecode(''),'/39994/44409.html','true',[],'']
	],''],
	['PAGE','42327',jdecode('Das+Ballonteam'),jdecode(''),'/42327.html','true',[],''],
	['PAGE','44418',jdecode('offene+Fragen'),jdecode(''),'/44418.html','true',[],''],
	['PAGE','42423',jdecode('Kontakt'),jdecode(''),'/42423.html','true',[],''],
	['PAGE','42336',jdecode('Fotos'),jdecode(''),'/42336.html','true',[],''],
	['PAGE','42355',jdecode('G%C3%A4stebuch'),jdecode(''),'/42355/home.html','true',[ 
		['PAGE','42354',jdecode('Eintr%C3%A4ge'),jdecode(''),'/42355/42354.html','true',[],'']
	],''],
	['PAGE','42345',jdecode('Impressum'),jdecode(''),'/42345.html','true',[],''],
	['PAGE','44790',jdecode('Anfahrt'),jdecode(''),'/44790.html','true',[],'']];
var siteelementCount=10;
theSitetree.topTemplateName='Orbit';
theSitetree.paletteFamily='003366';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='173';
theSitetree.graphicsetId='202';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='003366';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Orbit',
				paletteFamily: 	'003366',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'173',
				graphicsetId: 	'202',
				contentColor: 	'FFFFFF',
				contentBGColor: '003366',
				a_color: 		'003366',
				b_color: 		'336699',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Times New Roman, Times, serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '39994',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39994',
internalId:  '',
customField: '20110218-211350'
};
webappMappings['1002']=webappMappings['1002-42355atoix0i7hoen']={
webappId:    '1002',
documentId:  '42355',
internalId:  '42355atoix0i7hoen',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-42355atoix0i7hoen']={
webappId:    '1002',
documentId:  '42354',
internalId:  '42355atoix0i7hoen',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42327',
internalId:  '',
customField: '20101003-104516'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42336',
internalId:  '',
customField: '20110104-192424'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42345',
internalId:  '',
customField: '20111128-203415'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42355',
internalId:  '',
customField: '20071122-191525'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42354',
internalId:  '',
customField: '20071107-191414'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42423',
internalId:  '',
customField: '20100610-142632'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44409',
internalId:  '',
customField: '20110112-141148'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44418',
internalId:  '',
customField: '20100610-141340'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '44790',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44790',
internalId:  '',
customField: '20100407-112658'
};
var canonHostname = 'c4awrk02.aul.t-online.de';
var accountId     = 'ATOIX0I7HOEN';
var companyName   = 'Janssen-Reisen-Ballonteam';
var htmlTitle	  = 'Ballonfahren+%C3%BCber+Friesland%2C+Ostfriesland%2C+Ammerland%2C+Oldenburgerland%2CEmsland';
var metaKeywords  = 'Ballonfahren%2C+Ostfriesland%2C+Friesland%2C+Emden%2C+Oldenburg%2C+Norden%2C+Langeoog%2C+Jever%2C+Wilhelmshaven%2C+Hohenkirchen%2C+Wittmund%2C+Esens%2C+Norddeich%2C+Marienhafe%2C+Aurich%2CPapenburg%2C+Diepholz%2C+Mariensiel%2C+Leer%2C+Bremerhaven%2C+Wiefelstede%2C+Westerstede%2CWeser+Ems+Ballooning%2C+Weser+Ems%2C+Janssen+Reisen%2C+Bohlenbergerfeld%2C+Fritz+G%C3%BCnzel%2C+Emsland%2C+Ballon+fahrt%2C+Ballonfahren+Ostfriesland.+Ballonfahren+Friesland%2C+Ballonfahren+Ammerland%2C+Wesermarsch%2C+Friedeburg%2C+Schortens%2C+Bensersiel%2C+Harlesiel%2C+Hei%C3%9Fluftballon%2C+Varel%2C+Streek%2C+S%C3%BCdstrand+Wilhelmshaven%2C+Ballon%2C+Hooksiel%2C+Hatten%2C+Tweelb%C3%A4ke%2C+Dangast%2C+Ballonsport%2C+Ostiem%2C+wse-ballooning%2C++Ballon+fahren+Ostfriesland%2C+Ballon+fahren+Friesland%2C+Ballon+fahren+Ammerland%2C+Ballon+fahren+mit+Janssen+Reisen%2C+Henry+Hinrichs%2C+Wir+fahren+Ballon+in+ihrer+Gegend%2C+Ballon+fahren+f%C3%BCr+Gruppen%2C+Ballonfahren+in+Jever+Wittmund+Emden+Oldenburg+Westerstede+Varel+Bohlenbergerfeld+Mariensiel+Esens+Norden+Aurich%2C+';
var metaContents  = 'Ballonfahren+im+Weser+Ems+Gebiet.+Ballonfahren+%C3%BCber+Friesland+%2C+Ostfriesland%2C+Wesermarsch%2C+Ammerland%2C+Oldenburgerland%2C+Wilhelmshaven%2C+Oldenburg%2C+Grafschaft+Diepholz';
					                                                                    
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 */					                                                            

