/* [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','4579',jdecode('Home'),jdecode(''),'/4579.html','true',[],''],
	['PAGE','13698',jdecode('%C3%9Cber+Mich'),jdecode(''),'/13698.html','true',[],''],
	['PAGE','13806',jdecode('Termine'),jdecode(''),'/13806.html','true',[],''],
	['PAGE','14211',jdecode('Bildergalerie'),jdecode(''),'/14211.html','true',[],''],
	['PAGE','37714',jdecode('Technik+News'),jdecode(''),'/37714.html','true',[],''],
	['PAGE','13860',jdecode('Links'),jdecode(''),'/13860.html','true',[],''],
	['PAGE','14014',jdecode('G%C3%A4stebuch'),jdecode(''),'/14014/home.html','true',[ 
		['PAGE','14015',jdecode('Eintr%C3%A4ge'),jdecode(''),'/14014/14015.html','true',[],'']
	],''],
	['PAGE','26020',jdecode('Anfahrt'),jdecode(''),'/26020.html','true',[],''],
	['PAGE','25598',jdecode('Kontakt'),jdecode(''),'/25598.html','true',[],''],
	['PAGE','13833',jdecode('Impressum'),jdecode(''),'/13833.html','true',[],'']];
var siteelementCount=11;
theSitetree.topTemplateName='TOI_Boutique_01';
theSitetree.paletteFamily='D6D6D6';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='33357';
theSitetree.graphicsetId='14229';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='333333';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'TOI_Boutique_01',
				paletteFamily: 	'D6D6D6',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'33357',
				graphicsetId: 	'14229',
				contentColor: 	'FFFFFF',
				contentBGColor: '333333',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '4579',
internalId:  '1006',
customField: '1006'
};
webappMappings['1002']=webappMappings['1002-14014ATOIX0INL7PO']={
webappId:    '1002',
documentId:  '14014',
internalId:  '14014ATOIX0INL7PO',
customField: 'action=form&icq=false'
};
webappMappings['1501']=webappMappings['1501-1816570']={
webappId:    '1501',
documentId:  '4579',
internalId:  '1816570',
customField: '1501'
};
webappMappings['1007']=webappMappings['1007-10627e2d51d']={
webappId:    '1007',
documentId:  '14211',
internalId:  '10627e2d51d',
customField: 'g.10oju5l8t.39mf327v3snum.6rn80'
};
webappMappings['1002']=webappMappings['1002-14014ATOIX0INL7PO']={
webappId:    '1002',
documentId:  '14015',
internalId:  '14014ATOIX0INL7PO',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4579',
internalId:  '',
customField: '20111216-202352'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13806',
internalId:  '',
customField: '20120108-161034'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13698',
internalId:  '',
customField: '20110701-194024'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14211',
internalId:  '',
customField: '20031025-130549'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13860',
internalId:  '',
customField: '20101113-122900'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14014',
internalId:  '',
customField: '20081108-132254'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14015',
internalId:  '',
customField: '20030914-235036'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13833',
internalId:  '',
customField: '20101113-123242'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25598',
internalId:  '',
customField: '20090328-124704'
};
webappMappings['1008']=webappMappings['1008-57378818']={
webappId:    '1008',
documentId:  '25598',
internalId:  '57378818',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '26020',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26020',
internalId:  '',
customField: '20091129-155846'
};
webappMappings['7090']=webappMappings['7090-497499']={
webappId:    '7090',
documentId:  '37714',
internalId:  '497499',
customField: 'type:rss-2.0;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '37714',
internalId:  '',
customField: '20101112-122503'
};
var canonHostname = 'c4awrk04.aul.t-online.de';
var accountId     = 'ATOIX0INL7PO';
var companyName   = 'Dieters+Homepage';
var htmlTitle	  = 'Dieters+Homepage';
var metaKeywords  = 'Dieter%2C+Dieter+Polzin%2C+Polzin%2C++Christian+Polzin';
var metaContents  = 'Homepage+von+Christian+Polzin%2C+genannt+Dieter.+Alles+%C3%BCber+mich+und+meine+Freunde+und+was+mir+sonst+so+wichtig+ist.';
					                                                                    
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 */					                                                            

