/* [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','44',jdecode('PsychoPr%C3%A4senter'),jdecode(''),'/44.html','true',[],''],
	['PAGE','40511',jdecode('psychoQualifikator'),jdecode(''),'/40511.html','true',[],''],
	['PAGE','40690',jdecode('Psychosomatik+Schwarz'),jdecode(''),'/40690.html','true',[],''],
	['PAGE','40601',jdecode('Sozialpsychiatrie+%28gASP%29'),jdecode(''),'/40601.html','true',[],''],
	['PAGE','40699',jdecode('Kinder-+%26+JugendPPP'),jdecode(''),'/40699.html','true',[],''],
	['PAGE','42198',jdecode('RheinVerbund+Kind%2FJugend'),jdecode(''),'/42198.html','true',[],''],
	['PAGE','40592',jdecode('Rhein.Kliniken+Bonn-EU'),jdecode(''),'/40592.html','true',[],''],
	['PAGE','40879',jdecode('Universit%C3%A4t+Bonn'),jdecode(''),'/40879.html','true',[],''],
	['PAGE','40888',jdecode('Universit%C3%A4t+Gie%C3%9Fen'),jdecode(''),'/40888.html','true',[],''],
	['PAGE','41958',jdecode('KBAP%2C+Bonn'),jdecode(''),'/41958.html','true',[],''],
	['PAGE','41967',jdecode('Rhein-Eifel%2C+Sinzig'),jdecode(''),'/41967.html','true',[],''],
	['PAGE','41976',jdecode('IPR%2C+K%C3%B6ln'),jdecode(''),'/41976.html','true',[],''],
	['PAGE','40716',jdecode('Allgemeine+Psychotherapie'),jdecode(''),'/40716.html','true',[],''],
	['PAGE','42306',jdecode('online+edition+%28POE%29'),jdecode(''),'/42306/home.html','true',[ 
		['PAGE','42166',jdecode('Praxismaterialien'),jdecode(''),'/42306/42166.html','true',[],'']
	],''],
	['PAGE','40666',jdecode('gap-ev.'),jdecode(''),'/40666.html','true',[],''],
	['PAGE','40870',jdecode('Verein+L%C3%B6wenstein+e.V.'),jdecode(''),'/40870.html','true',[],''],
	['PAGE','42282',jdecode('DG+Sozialanalytische+Forsch'),jdecode(''),'/42282.html','true',[],''],
	['PAGE','40556',jdecode('J%C3%BCrgen+Junglas'),jdecode(''),'/40556/home.html','true',[ 
		['PAGE','41021',jdecode('Impressum'),jdecode(''),'/40556/41021.html','true',[],'']
	],''],
	['PAGE','41009',jdecode('Anfahrt'),jdecode(''),'/41009.html','true',[],''],
	['PAGE','42620',jdecode('JungeSeelen+Bonn-Siegburg'),jdecode(''),'/42620.html','true',[],'']];
var siteelementCount=22;
theSitetree.topTemplateName='Alpha';
theSitetree.paletteFamily='D72B2B';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10461';
theSitetree.graphicsetId='10893';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Alpha',
				paletteFamily: 	'D72B2B',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10461',
				graphicsetId: 	'10893',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'D72B2B',
				e_color: 		'D72B2B',
				f_color: 		'D72B2B',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '44',
internalId:  '1006',
customField: '1006'
};
webappMappings['1501']=webappMappings['1501-3871954']={
webappId:    '1501',
documentId:  '44',
internalId:  '3871954',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40511',
internalId:  '',
customField: '20071231-184257'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41021',
internalId:  '',
customField: '20080302-181936'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '41009',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44',
internalId:  '',
customField: '20110506-152458'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40699',
internalId:  '',
customField: '20070318-182223'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40556',
internalId:  '',
customField: '20100307-174013'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40690',
internalId:  '',
customField: '20081123-112013'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40601',
internalId:  '',
customField: '20080302-182213'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40592',
internalId:  '',
customField: '20070406-191751'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40888',
internalId:  '',
customField: '20070318-181418'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40879',
internalId:  '',
customField: '20090719-181153'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41958',
internalId:  '',
customField: '20061015-191031'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41967',
internalId:  '',
customField: '20100221-122313'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41976',
internalId:  '',
customField: '20100221-173408'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40716',
internalId:  '',
customField: '20061028-194517'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40666',
internalId:  '',
customField: '20071231-170607'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40870',
internalId:  '',
customField: '20061008-162812'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41009',
internalId:  '',
customField: '20081206-205233'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42166',
internalId:  '',
customField: '20071213-123103'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42198',
internalId:  '',
customField: '20080607-215214'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42306',
internalId:  '',
customField: '20090719-124830'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42282',
internalId:  '',
customField: '20080302-182008'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42620',
internalId:  '',
customField: '20100307-212238'
};
var canonHostname = 'c4awrk02.aul.t-online.de';
var accountId     = 'ATOIX0INPSLX';
var companyName   = 'psychoforum';
var htmlTitle	  = 'forum+psychotherapie+und+sozialpsychiatrie';
var metaKeywords  = 'J%C3%BCrgen+Junglas%2C+Reiner+Schwarz%2C+Gerhild+von+M%C3%BCller%2C+Karin+Junglas';
var metaContents  = 'Rheinische+Psychotherapietage%2C+gemeinsame+Arbeitsgruppe+Sozialpsychiatrie%2C+Psychosomatische+Grundversorgung%2C+Kinder-+und+Jugendpsychiatrie%2C+Psychosomatik+und+Psychotherapie';
					                                                                    
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 */					                                                            

