/* [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('Abenteuer+suchen'),jdecode(''),'/39994/home.html','true',[ 
		['PAGE','40509',jdecode('++++++Deutschland'),jdecode(''),'/39994/40509.html','true',[],''],
		['PAGE','41992',jdecode('+++++Skandinavien'),jdecode(''),'/39994/41992.html','true',[],''],
		['PAGE','45401',jdecode('+++++Finnland'),jdecode(''),'/39994/45401.html','true',[],''],
		['PAGE','42628',jdecode('++++++Estland'),jdecode(''),'/39994/42628.html','true',[],''],
		['PAGE','41479',jdecode('++++++Lettland'),jdecode(''),'/39994/41479.html','true',[],''],
		['PAGE','42637',jdecode('++++++Litauen'),jdecode(''),'/39994/42637.html','true',[],''],
		['PAGE','41072',jdecode('++++++Frankreich+'),jdecode(''),'/39994/41072.html','true',[],'']
	],''],
	['PAGE','40554',jdecode('Abenteuer+Eisenbahn'),jdecode(''),'/40554.html','true',[],''],
	['PAGE','40545',jdecode('Abenteuer+auf+See'),jdecode(''),'/40545.html','true',[],''],
	['PAGE','40566',jdecode('Nervenkitzel++absolut'),jdecode(''),'/40566.html','true',[],''],
	['PAGE','40518',jdecode('Sankt+B%C3%BCrokratius'),jdecode(''),'/40518.html','true',[],''],
	['PAGE','40429',jdecode('Wir+%C3%BCber+uns%2C+Impressum'),jdecode(''),'/40429.html','true',[],''],
	['PAGE','64001',jdecode('eMail+und+Newsletter'),jdecode(''),'/64001.html','true',[],'']];
var siteelementCount=14;
theSitetree.topTemplateName='Eiform';
theSitetree.paletteFamily='E2E7F4';
theSitetree.keyvisualId='10871';
theSitetree.keyvisualName='kv_10871.jpg';
theSitetree.fontsetId='31871';
theSitetree.graphicsetId='13673';
theSitetree.contentColor='4C5262';
theSitetree.contentBGColor='E2E7F4';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Eiform',
				paletteFamily: 	'E2E7F4',
				keyvisualId: 	'10871',
				keyvisualName: 	'kv_10871.jpg',
				fontsetId: 		'31871',
				graphicsetId: 	'13673',
				contentColor: 	'4C5262',
				contentBGColor: 'E2E7F4',
				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',
				useFavicon:     'false'
			  };
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: '20080908-234328'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40429',
internalId:  '',
customField: '20080715-001023'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40566',
internalId:  '',
customField: '20080805-225201'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40545',
internalId:  '',
customField: '20080828-212220'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40554',
internalId:  '',
customField: '20080828-212339'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40518',
internalId:  '',
customField: '20080715-001844'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41479',
internalId:  '',
customField: '20080715-003233'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40509',
internalId:  '',
customField: '20090210-124624'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41992',
internalId:  '',
customField: '20090713-113229'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41072',
internalId:  '',
customField: '20080718-135041'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42628',
internalId:  '',
customField: '20080625-132406'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42637',
internalId:  '',
customField: '20080625-134344'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45401',
internalId:  '',
customField: '20080805-223320'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '64001',
internalId:  '',
customField: '20080708-092445'
};
var canonHostname = 'cfawrk11.aul.t-online.de';
var accountId     = 'ATOIX0IRK4PU';
var companyName   = '+Abenteuer+finden';
var htmlTitle	  = 'Abenteuer+suchen+und+erleben';
var metaKeywords  = 'Deutschlands+Urlaubsgebiete%2C+Br%C3%BCcken+in+Nordeuropa%2C+Geschichte+Baltikum%2C+Reisen+mit+Frachtern%2C+F%C3%A4hrschiffsreisen%2C+Heissballontrips%2C+Reisen+mit+Explorern%2C+Seereise+im+Pazifik%2C+Rollercoaster+in+NY%2C+Lappland+und+Karelien%2C+Was+sind+M%C3%B6kis%2C++Stalinbahn+und+Salechard%2C++';
var metaContents  = 'cerne-4you.de%2C++Reise+durch+Deutschlands+St%C3%A4dte%2C+Reise+nach+Finnland+%C3%BCber+Land%2C+Geschichte+des+Baltikum+Estland%2C+Lettland%2C+Litauen%2C+Tipps+f%C3%BCr+Besichtigungen%2C+Eisenbahnreisen+in+Russland%2C+Turksib%2C++Himmelsbahn%2C+Reise+nach+Labitnangy+Ob+und+Irtysch';
					                                                                    
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 */					                                                            
