/* [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','14001',jdecode('Home'),jdecode(''),'/14001.html','true',[],''],
	['PAGE','14007',jdecode('Angebote%2FPreise'),jdecode(''),'/14007.html','true',[],''],
	['PAGE','14017',jdecode('Kontakt'),jdecode(''),'/14017.html','true',[],''],
	['PAGE','14012',jdecode('Linktipps'),jdecode(''),'/14012/home.html','true',[ 
		['PAGE','20501',jdecode('Haftungsausschlu%C3%9F'),jdecode(''),'/14012/20501.html','true',[],'']
	],''],
	['PAGE','17101',jdecode('Aphorismen'),jdecode(''),'/17101.html','true',[],''],
	['PAGE','81601',jdecode('DigdiMOBIL'),jdecode(''),'/81601.html','true',[],''],
	['PAGE','80001',jdecode('Meine+Bilder+2008'),jdecode(''),'/80001.html','true',[],''],
	['PAGE','90301',jdecode('Meine+Bilder+2009'),jdecode(''),'/90301.html','true',[],''],
	['PAGE','110901',jdecode('Meine+Bilder+2010'),jdecode(''),'/110901.html','true',[],''],
	['PAGE','116601',jdecode('Meine+Bilder+2011'),jdecode(''),'/116601.html','true',[],''],
	['PAGE','123001',jdecode('Meine+Bilder+2012'),jdecode(''),'/123001.html','true',[],''],
	['PAGE','76701',jdecode('Nordseetour++2007'),jdecode(''),'/76701.html','true',[],''],
	['PAGE','79201',jdecode('Hollandtour+2008'),jdecode(''),'/79201.html','true',[],''],
	['PAGE','123022',jdecode('neu'),jdecode(''),'/123022.html','true',[],'']];
var siteelementCount=15;
theSitetree.topTemplateName='TOI_Lights_1';
theSitetree.paletteFamily='0C0623';
theSitetree.keyvisualId='10827';
theSitetree.keyvisualName='kv_10827.jpg';
theSitetree.fontsetId='31852';
theSitetree.graphicsetId='13647';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='0C0623';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'TOI_Lights_1',
				paletteFamily: 	'0C0623',
				keyvisualId: 	'10827',
				keyvisualName: 	'kv_10827.jpg',
				fontsetId: 		'31852',
				graphicsetId: 	'13647',
				contentColor: 	'FFFFFF',
				contentBGColor: '0C0623',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '123001',
internalId:  '',
customField: '20120201-211125'
};
webappMappings['1501']=webappMappings['1501-15915089']={
webappId:    '1501',
documentId:  '14001',
internalId:  '15915089',
customField: '1501'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '14001',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '76701',
internalId:  '',
customField: '20101208-211650'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14001',
internalId:  '',
customField: '20111001-215557'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14017',
internalId:  '',
customField: '20091213-214129'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14007',
internalId:  '',
customField: '20091213-214101'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '116601',
internalId:  '',
customField: '20120110-131255'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14012',
internalId:  '',
customField: '20111129-165340'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20501',
internalId:  '',
customField: '20051019-204812'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17101',
internalId:  '',
customField: '20091213-214901'
};
webappMappings['1007']=webappMappings['1007-11440d9cdc1']={
webappId:    '1007',
documentId:  '76701',
internalId:  '11440d9cdc1',
customField: 'g.12h0bi7u4.2frd8tiutue.3o'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '79201',
internalId:  '',
customField: '20101208-211246'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '80001',
internalId:  '',
customField: '20091213-215033'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '81601',
internalId:  '',
customField: '20110328-200044'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '90301',
internalId:  '',
customField: '20091213-210247'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '110901',
internalId:  '',
customField: '20110108-203357'
};
var canonHostname = 'c4awrk04.aul.t-online.de';
var accountId     = 'ATOIX0IN3WB9';
var companyName   = 'Dirk+Gehrmann+Dienstleistungen';
var htmlTitle	  = '';
var metaKeywords  = 'Ihr+Name%2C+Dienstleistung%2C+Service%2C+Ihre+Leistungen%2C+Ihr+Angebot++';
var metaContents  = 'Willkommen+bei+Ihr+Name%2C+Ihrem+Dienstleistungspezialist+fuer+IhreBranche.++';
					                                                                    
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 */					                                                            

