/* [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('Aktuell'),jdecode(''),'/39994.html','true',[],''],
	['PAGE','41689',jdecode('Fotos%2C+Kykladografie'),jdecode(''),'/41689.html','true',[],''],
	['PAGE','474201',jdecode('Geschichten+Teil+IV'),jdecode(''),'/474201.html','true',[],''],
	['PAGE','266801',jdecode('Geschichten+Teil+III'),jdecode(''),'/266801.html','true',[],''],
	['PAGE','123801',jdecode('Geschichten+Teil+II'),jdecode(''),'/123801.html','true',[],''],
	['PAGE','40655',jdecode('Geschichten+Teil+I'),jdecode(''),'/40655.html','true',[],''],
	['PAGE','436201',jdecode('Irakli%C3%A1%2C+%28ent%29spannend%21'),jdecode(''),'/436201.html','true',[],''],
	['PAGE','436222',jdecode('Was+ist+los+auf+Amorg%C3%B3s%3F'),jdecode(''),'/436222.html','true',[],''],
	['PAGE','430001',jdecode('Fol%C3%A9gandros+im+Juni'),jdecode(''),'/430001.html','true',[],''],
	['PAGE','420101',jdecode('Andros%3A+Bats%C3%AD%2C+Basta%21'),jdecode(''),'/420101.html','true',[],''],
	['PAGE','455701',jdecode('Aquarelle+Barbara+B%C3%B6hmer'),jdecode(''),'/455701.html','false',[],''],
	['PAGE','297301',jdecode('Exkurs%3A+Skyros'),jdecode(''),'/297301.html','true',[],''],
	['PAGE','357101',jdecode('Exkurs%3A+Patmos'),jdecode(''),'/357101.html','true',[],''],
	['PAGE','420122',jdecode('Links+%2F+Kontakt'),jdecode(''),'/420122.html','true',[],''],
	['PAGE','435406',jdecode('G%C3%A4stebuch'),jdecode(''),'/435406/home.html','true',[ 
		['PAGE','435401',jdecode('Eintr%C3%A4ge'),jdecode(''),'/435406/435401.html','true',[],'']
	],'']];
var siteelementCount=16;
theSitetree.topTemplateName='Hobby';
theSitetree.paletteFamily='595F91';
theSitetree.keyvisualId='9924';
theSitetree.keyvisualName='kv_9924.jpg';
theSitetree.fontsetId='17728';
theSitetree.graphicsetId='13089';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Hobby',
				paletteFamily: 	'595F91',
				keyvisualId: 	'9924',
				keyvisualName: 	'kv_9924.jpg',
				fontsetId: 		'17728',
				graphicsetId: 	'13089',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'a1a1a1',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, 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: '20120201-135848'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40655',
internalId:  '',
customField: '20120202-133931'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '435401',
internalId:  '',
customField: '20101223-133040'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '436222',
internalId:  '',
customField: '20101227-181819'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '297301',
internalId:  '',
customField: '20111106-182834'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41689',
internalId:  '',
customField: '20111101-174706'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '435406',
internalId:  '',
customField: '20101223-133236'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '123801',
internalId:  '',
customField: '20111031-122444'
};
webappMappings['1002']=webappMappings['1002-435406atoix0i7f24v']={
webappId:    '1002',
documentId:  '435401',
internalId:  '435406atoix0i7f24v',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '266801',
internalId:  '',
customField: '20111010-163939'
};
webappMappings['1002']=webappMappings['1002-435406atoix0i7f24v']={
webappId:    '1002',
documentId:  '435406',
internalId:  '435406atoix0i7f24v',
customField: 'action=form&icq=false'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '420101',
internalId:  '',
customField: '20101226-180602'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '420122',
internalId:  '',
customField: '20120125-161814'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '357101',
internalId:  '',
customField: '20101226-181442'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '430001',
internalId:  '',
customField: '20111210-183918'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '455701',
internalId:  '',
customField: '20110321-171244'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '436201',
internalId:  '',
customField: '20101226-180226'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '474201',
internalId:  '',
customField: '20120201-181539'
};
var canonHostname = 'c4awrk02.aul.t-online.de';
var accountId     = 'ATOIX0I7F24V';
var companyName   = 'Richis+Kykladenfieber++';
var htmlTitle	  = 'Richis+Kykladenfieber';
var metaKeywords  = '+Richi+Kykladen+Kykladenfieber+Griechenland+Griechische+Inseln+Richis+Kykladenfieber';
var metaContents  = 'Richis+Klykladenfieber+ist+ansteckend.+Es+sind+Geschichten%2C+Berichte+und+Tr%C3%A4umereien+von+den+griechischen+Kykladen-Inseln.+Erg%C3%A4nzt+durch+zahlreiche+Fotos%2C+ein+kleiner+stimmungsvoller+Urlaub+am+PC.';
					                                                                    
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 */					                                                            

