/* [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('Willkommen'),jdecode(''),'/39994/home.html','true',[ 
		['PAGE','54801',jdecode('%C3%BCber+uns'),jdecode(''),'/39994/54801.html','true',[],'']
	],''],
	['PAGE','42309',jdecode('Aktuelles'),jdecode(''),'/42309.html','true',[],''],
	['PAGE','42399',jdecode('Studio+Wolke+Alpha'),jdecode(''),'/42399.html','false',[],''],
	['PAGE','46575',jdecode('Lern-Management'),jdecode(''),'/46575.html','true',[],''],
	['PAGE','42408',jdecode('Nachhilfe'),jdecode(''),'/42408.html','true',[],''],
	['PAGE','46584',jdecode('Wege+zum+Gl%C3%BCck'),jdecode(''),'/46584.html','false',[],''],
	['PAGE','46593',jdecode('Lehrer-Coaching'),jdecode(''),'/46593.html','false',[],''],
	['PAGE','46602',jdecode('Fremdsprachen'),jdecode(''),'/46602/home.html','true',[ 
		['PAGE','47128',jdecode('zur+Methode'),jdecode(''),'/46602/47128.html','true',[],'']
	],''],
	['PAGE','42435',jdecode('Teamentwicklung'),jdecode(''),'/42435/home.html','false',[ 
		['PAGE','49201',jdecode('zum+TMS'),jdecode(''),'/42435/49201.html','true',[],'']
	],''],
	['PAGE','47006',jdecode('Produkte'),jdecode(''),'/47006/home.html','false',[ 
		['PAGE','42417',jdecode('Wellness'),jdecode(''),'/47006/42417.html','true',[],''],
		['PAGE','42426',jdecode('Lernhilfen'),jdecode(''),'/47006/42426.html','true',[],''],
		['PAGE','42444',jdecode('Saftkonzentrate+'),jdecode(''),'/47006/42444.html','true',[],'']
	],''],
	['PAGE','42390',jdecode('Kontakt'),jdecode(''),'/42390/home.html','true',[ 
		['PAGE','54401',jdecode('Anfahrt'),jdecode(''),'/42390/54401.html','true',[],'']
	],''],
	['PAGE','42381',jdecode('Impressum'),jdecode(''),'/42381.html','true',[],'']];
var siteelementCount=19;
theSitetree.topTemplateName='TOI_Boutique_01';
theSitetree.paletteFamily='CBF7FF';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='33357';
theSitetree.graphicsetId='14224';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='047690';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'TOI_Boutique_01',
				paletteFamily: 	'CBF7FF',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'33357',
				graphicsetId: 	'14224',
				contentColor: 	'FFFFFF',
				contentBGColor: '047690',
				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: '20111123-192449'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47006',
internalId:  '',
customField: '20110303-181235'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42417',
internalId:  '',
customField: '20100323-201955'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42390',
internalId:  '',
customField: '20111117-153539'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '54401',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42381',
internalId:  '',
customField: '20100312-195945'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46575',
internalId:  '',
customField: '20111123-173435'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42399',
internalId:  '',
customField: '20100803-110123'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42408',
internalId:  '',
customField: '20110611-125927'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42426',
internalId:  '',
customField: '20110303-181320'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42309',
internalId:  '',
customField: '20111123-180745'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46584',
internalId:  '',
customField: '20110303-180921'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46593',
internalId:  '',
customField: '20110303-181021'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46602',
internalId:  '',
customField: '20111123-182929'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42435',
internalId:  '',
customField: '20110303-181210'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42444',
internalId:  '',
customField: '20110303-181342'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47128',
internalId:  '',
customField: '20110611-123458'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '49201',
internalId:  '',
customField: '20100917-115939'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '54401',
internalId:  '',
customField: '20111117-153341'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '54801',
internalId:  '',
customField: '20111123-182028'
};
var canonHostname = 'c4awrk01.aul.t-online.de';
var accountId     = 'ATOIX0IRU0Z8';
var companyName   = 'Wolke+Alpha+-+Studio+f%C3%BCr+mentales+Training';
var htmlTitle	  = 'Wolke+Alpha';
var metaKeywords  = 'Ihr+Name%2C+Weiterbildung%2C+Bildung%2C+Erwachsenenbildung%2C+Weiterbildungsinformation%2C+Weiterbildungsberatung%2C+berufliche+Bildung%2C+politische+Bildung%2C+paid+educational+leave%2C+adult+education%2C+workers+education%2C+formation++';
var metaContents  = 'Willkommen+bei+Ihr+Name.+Hier+erfahren+Sie+mehr+zu+unseren+Weiterbildungsangeboten.++';
					                                                                    
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 */					                                                            

