/* [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('Startseite'),jdecode(''),'/39994.html','true',[],''],
	['PAGE','40586',jdecode('Was+wir+f%C3%BCr+Sie+tun+k%C3%B6nnen'),jdecode(''),'/40586.html','true',[],''],
	['PAGE','40595',jdecode('Unser+Leitbild'),jdecode(''),'/40595.html','true',[],''],
	['PAGE','40604',jdecode('Wir+%C3%BCber+uns'),jdecode(''),'/40604.html','true',[],''],
	['PAGE','40665',jdecode('Expertisen+und+Referenzen'),jdecode(''),'/40665.html','true',[],''],
	['PAGE','40613',jdecode('Kontakt'),jdecode(''),'/40613.html','true',[],''],
	['PAGE','41113',jdecode('Kontakt-Formular'),jdecode(''),'/41113.html','true',[],''],
	['PAGE','41189',jdecode('HFI-Unternehmens-Check-up'),jdecode(''),'/41189.html','true',[],''],
	['PAGE','40674',jdecode('Aktuelles+und+N%C3%BCtzliches'),jdecode(''),'/40674.html','true',[],''],
	['PAGE','41215',jdecode('Links+zu+Kooperationspartner'),jdecode(''),'/41215.html','true',[],''],
	['PAGE','41122',jdecode('Impressum'),jdecode(''),'/41122.html','true',[],'']];
var siteelementCount=11;
theSitetree.topTemplateName='TOI_Segel_1';
theSitetree.paletteFamily='7586C1';
theSitetree.keyvisualId='10729';
theSitetree.keyvisualName='kv_10729.jpg';
theSitetree.fontsetId='31819';
theSitetree.graphicsetId='13589';
theSitetree.contentColor='011041';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'TOI_Segel_1',
				paletteFamily: 	'7586C1',
				keyvisualId: 	'10729',
				keyvisualName: 	'kv_10729.jpg',
				fontsetId: 		'31819',
				graphicsetId: 	'13589',
				contentColor: 	'011041',
				contentBGColor: 'FFFFFF',
				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['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '39994',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39994',
internalId:  '',
customField: '20100121-153020'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41189',
internalId:  '',
customField: '20100121-154456'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40595',
internalId:  '',
customField: '20091007-094840'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40613',
internalId:  '',
customField: '20091018-124148'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40604',
internalId:  '',
customField: '20091025-105029'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40586',
internalId:  '',
customField: '20091020-093312'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40665',
internalId:  '',
customField: '20091025-105438'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41113',
internalId:  '',
customField: '20091025-104646'
};
webappMappings['1008']=webappMappings['1008-63124442']={
webappId:    '1008',
documentId:  '41113',
internalId:  '63124442',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40674',
internalId:  '',
customField: '20091020-094443'
};
webappMappings['7090']=webappMappings['7090-474404']={
webappId:    '7090',
documentId:  '40674',
internalId:  '474404',
customField: 'type:rss-2.0;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41122',
internalId:  '',
customField: '20091025-111129'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41215',
internalId:  '',
customField: '20100121-154547'
};
var canonHostname = 'cfawrk01.aul.t-online.de';
var accountId     = 'ATOIX0IRYXHC';
var companyName   = 'Herbert+Fischer+Interim+Management';
var htmlTitle	  = 'Herbert+Fischer+Interim+Management';
var metaKeywords  = 'Herbert+Fischer%2C+HFI%2C+Dinkelsb%C3%BChl%2C+Manager+auf+Zeit%2C+Interim+Manager%2C+Restrukturierung%2C+Sanierung%2C+Liquidit%C3%A4tssteuerung%2C+Controlling%2C+Due+Dilligence%2C+Interimssmanagement%2C+CFO%2C+';
var metaContents  = 'Ihr+Manager+auf+Zeit+f%C3%BCr+mittelst%C3%A4ndische+Unternehemen%2C+der+Experte+f%C3%BCr+Restrukturierung+und+Sanierung';
					                                                                    
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 */					                                                            

