/* [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','52101',jdecode('Nachrichten'),jdecode(''),'/52101.html','true',[],''],
	['PAGE','19401',jdecode('Startseite'),jdecode(''),'/19401.html','true',[],''],
	['PAGE','19566',jdecode('Wir+%C3%BCber+uns'),jdecode(''),'/19566.html','true',[],''],
	['PAGE','19593',jdecode('Netzwerkpartner'),jdecode(''),'/19593.html','true',[],''],
	['PAGE','19458',jdecode('Analysen+%2F+Konzepte'),jdecode(''),'/19458.html','true',[],''],
	['PAGE','22001',jdecode('Finanzierung'),jdecode(''),'/22001.html','true',[],''],
	['PAGE','19485',jdecode('Existenzgr%C3%BCndung'),jdecode(''),'/19485.html','true',[],''],
	['PAGE','19512',jdecode('Marketing'),jdecode(''),'/19512.html','true',[],''],
	['PAGE','30301',jdecode('Krise+%2F+Sanierung'),jdecode(''),'/30301.html','true',[],''],
	['PAGE','55701',jdecode('Zahlungsprobleme+%3F'),jdecode(''),'/55701.html','true',[],''],
	['PAGE','19539',jdecode('Research'),jdecode(''),'/19539.html','true',[],''],
	['PAGE','58501',jdecode('N%C3%BCtzliche+Links'),jdecode(''),'/58501.html','true',[],''],
	['PAGE','19674',jdecode('Kontakt+%2F+Impressum'),jdecode(''),'/19674.html','true',[],''],
	['PAGE','28523',jdecode('So+finden+Sie+uns'),jdecode(''),'/28523.html','true',[],'']];
var siteelementCount=14;
theSitetree.topTemplateName='Quattro';
theSitetree.paletteFamily='ECEBEB';
theSitetree.keyvisualId='10943';
theSitetree.keyvisualName='kv_10943.jpg';
theSitetree.fontsetId='31902';
theSitetree.graphicsetId='13716';
theSitetree.contentColor='727376';
theSitetree.contentBGColor='ECEBEB';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Quattro',
				paletteFamily: 	'ECEBEB',
				keyvisualId: 	'10943',
				keyvisualName: 	'kv_10943.jpg',
				fontsetId: 		'31902',
				graphicsetId: 	'13716',
				contentColor: 	'727376',
				contentBGColor: 'ECEBEB',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '19401',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19401',
internalId:  '',
customField: '20110527-174145'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '52101',
internalId:  '',
customField: '20081007-160809'
};
webappMappings['1501']=webappMappings['1501-1229511']={
webappId:    '1501',
documentId:  '19401',
internalId:  '1229511',
customField: '1501'
};
webappMappings['2002']=webappMappings['2002-routing']={
webappId:    '2002',
documentId:  '28523',
internalId:  'routing',
customField: 'de_DE'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19674',
internalId:  '',
customField: '20111114-115446'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '55701',
internalId:  '',
customField: '20110228-160219'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22001',
internalId:  '',
customField: '20100922-100711'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19458',
internalId:  '',
customField: '20080306-161656'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19485',
internalId:  '',
customField: '20111207-155611'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19512',
internalId:  '',
customField: '20080709-151214'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '30301',
internalId:  '',
customField: '20110210-113921'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19539',
internalId:  '',
customField: '20110330-095140'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19566',
internalId:  '',
customField: '20110527-174720'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19593',
internalId:  '',
customField: '20110527-180257'
};
webappMappings['1011']=webappMappings['1011-ddp-politik']={
webappId:    '1011',
documentId:  '52101',
internalId:  'ddp-politik',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '58501',
internalId:  '',
customField: '20110627-144819'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '28523',
internalId:  '',
customField: '20080709-151402'
};
webappMappings['1008']=webappMappings['1008-24043956']={
webappId:    '1008',
documentId:  '19674',
internalId:  '24043956',
customField: 'de:DE::;language:de;country:DE;'
};
var canonHostname = 'c4awrk04.aul.t-online.de';
var accountId     = 'ATOIX0INV6DV';
var companyName   = 'Herzlich+willkommen';
var htmlTitle	  = 'PIEPER+WIRTSCHAFTSBERATUNG';
var metaKeywords  = 'Businessplan%2C+Gesch%C3%A4ftsplan%2C+Unternehmenskonzept%2C+Finanzwirtschaft%2C+Existenzgr%C3%BCnder%2C+Gr%C3%BCndungs-Coaching%2C+Insolvenz%2C+Insolvenzen%2C+Recht%2C+Steuern%2C+Versicherungen%2C+Banken%2C+Sparkassen%2C+KfW%2C+Research%2C+Analysen%2C+Unternehmensfinanzierung%2C+Finanzierungen%2C+Anlegerschutz%2C+Bankgesch%C3%A4digte%2C+Marketing%2C+Vertrieb%2C+Krise%2C+Sanierung%2C+Bankbetrug%2C+Prozessmanagement%2C+Rechtsanwalt%2C+Steuerberater%2C+KfW-Beraterb%C3%B6rse';
var metaContents  = 'Businessplan%2C+Analyse%2C+Beratung%2C+Coaching%2C+Marketingstrategien%2C+Vertriebskonzepte%2C+Insolvenzberatungen%2C+Strategische+Unternehmensberatung%2C+Dienstleistungen%2C+Rechtsanw%C3%A4lte%2C+Steuerberater%2C+Expertisen%2C+Gutachten%2C+akkreditiertes+Mitglied+der+KfW-Beraterb%C3%B6rse.';
					                                                                    
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 */					                                                            

