/* [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','11001',jdecode('START'),jdecode(''),'/11001.html','true',[],''],
	['PAGE','24630',jdecode('TEXTEN'),jdecode(''),'/24630/home.html','true',[ 
		['PAGE','27174',jdecode('f%C3%BCr%26%23x27%3Bs+Lernen'),jdecode(''),'/24630/27174.html','true',[],''],
		['PAGE','27056',jdecode('f%C3%BCr+Unternehmen'),jdecode(''),'/24630/27056.html','true',[],''],
		['PAGE','27065',jdecode('f%C3%BCr+die+Forschung'),jdecode(''),'/24630/27065.html','true',[],''],
		['PAGE','27074',jdecode('f%C3%BCr+Agenturen'),jdecode(''),'/24630/27074.html','true',[],''],
		['PAGE','27026',jdecode('Referenzen'),jdecode(''),'/24630/27026.html','true',[],'']
	],''],
	['PAGE','11058',jdecode('TEXTCOACHING'),jdecode(''),'/11058/home.html','true',[ 
		['PAGE','11085',jdecode('f%C3%BCr+die+Forschung'),jdecode(''),'/11058/11085.html','true',[],''],
		['PAGE','11139',jdecode('f%C3%BCr+Unternehmen'),jdecode(''),'/11058/11139.html','true',[],''],
		['PAGE','11112',jdecode('f%C3%BCr+Freiberufler'),jdecode(''),'/11058/11112.html','true',[],''],
		['PAGE','11220',jdecode('Referenzen'),jdecode(''),'/11058/11220.html','true',[],'']
	],''],
	['PAGE','27372',jdecode('TEXTPROBEN'),jdecode(''),'/27372.html','true',[],''],
	['PAGE','27675',jdecode('FIRMENGESCHICHTEN'),jdecode(''),'/27675/home.html','true',[ 
		['PAGE','27702',jdecode('Beispiele'),jdecode(''),'/27675/27702.html','true',[],'']
	],''],
	['PAGE','11274',jdecode('NETZWERK'),jdecode(''),'/11274.html','true',[],''],
	['PAGE','11301',jdecode('ZU+MIR'),jdecode(''),'/11301.html','true',[],''],
	['PAGE','11328',jdecode('IMPRESSUM'),jdecode(''),'/11328.html','true',[],'']];
var siteelementCount=18;
theSitetree.topTemplateName='Alpha';
theSitetree.paletteFamily='FDBC3F';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10461';
theSitetree.graphicsetId='10896';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Alpha',
				paletteFamily: 	'FDBC3F',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10461',
				graphicsetId: 	'10896',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'FDBC3F',
				e_color: 		'FDBC3F',
				f_color: 		'FDBC3F',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '11001',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11001',
internalId:  '',
customField: '20090221-142121'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24630',
internalId:  '',
customField: '20060809-150708'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27026',
internalId:  '',
customField: '20061229-142434'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27174',
internalId:  '',
customField: '20060809-150745'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27056',
internalId:  '',
customField: '20060809-150852'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27065',
internalId:  '',
customField: '20060809-150923'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27074',
internalId:  '',
customField: '20060809-151029'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11058',
internalId:  '',
customField: '20060809-151140'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11085',
internalId:  '',
customField: '20060809-151213'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11139',
internalId:  '',
customField: '20060809-151258'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11112',
internalId:  '',
customField: '20060809-151416'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11220',
internalId:  '',
customField: '20060809-151837'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27372',
internalId:  '',
customField: '20060809-152016'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27675',
internalId:  '',
customField: '20061107-170835'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27702',
internalId:  '',
customField: '20070223-114118'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11274',
internalId:  '',
customField: '20070317-141313'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11301',
internalId:  '',
customField: '20060420-190702'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11328',
internalId:  '',
customField: '20040916-115454'
};
var canonHostname = 'cfawrk04.aul.t-online.de';
var accountId     = 'ATOIX0INV1DF';
var companyName   = 'Gute+Texte+%C3%B6ffnen+T%C3%BCren%21';
var htmlTitle	  = 'Gute+Texte+%C3%B6ffnen+T%C3%BCren%21';
var metaKeywords  = 'Texter%2C+texten%2C+verkaufen%2C+Marktpositionierung%2C+Susanne+Benker%2C+Textcoaching%2C+Texte+formulieren%2C+Textoptimierung%2C+Wissenschaftspublikationen%2C+Profil%2C+Markenzeichen%2C+Sprachstil%2C+Unternehmenskultur%2C+Zielgruppen%2C++Aufmerksamkeit%2C+optimieren%2C+%C3%96ffentlichkeitsarbeit%2C+Corporate+Identity%2C+Unternehmenssprache%2C+Kunden+gewinnen%2C+Kundenbeziehung%2C+Kundenkommunikation%2C+Direct+Mail%2C+Fernlernen%2C+Distance-Learning%2C+Konzept%2C+Lernerfolg%2C+Firmendarstellung%2C+Firmenpr%C3%A4sentation%2C+Firmenauftritt';
var metaContents  = 'Als+Texter+entwickle+und+optimiere+ich+Kommunikationskonzepte+f%C3%BCr+Unternehmen%2C+Forschungseinrichtungen+und+Selbstst%C3%A4ndige.+Beim+TextCoaching+lernen+Sie%2C+so+zu+texten%2C+dass+Sie+Ihre+Wunschkunden+gewinnen.';
					                                                                    
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 */					                                                            
