/* [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','42445',jdecode('VORWORT+++-+Ich+klage+an+...+%21+'),jdecode(''),'/42445.html','true',[],''],
	['PAGE','193701',jdecode('PREFACE+++-+I+acccuse+...+%21++++++%28GB%29'),jdecode(''),'/193701.html','true',[],''],
	['PAGE','194401',jdecode('PROLOGUE+++-+J%26%23x27%3BAccuse+...+%21+++++%28F%29'),jdecode(''),'/194401.html','true',[],''],
	['PAGE','39994',jdecode('DER+MANN+%2F+seine+Werke'),jdecode(''),'/39994.html','true',[],''],
	['PAGE','231501',jdecode('THE+MAN+%2F+his+works+++++++++++%28GB%29'),jdecode(''),'/231501.html','true',[],''],
	['PAGE','40376',jdecode('INHALT+-+kurze+%C3%9Cbersicht'),jdecode(''),'/40376.html','true',[],''],
	['PAGE','41810',jdecode('Die+postbiologische+Entwicklung'),jdecode(''),'/41810.html','true',[],''],
	['PAGE','42405',jdecode('PsychologiE+-+ihre+Naturgesetze'),jdecode(''),'/42405.html','true',[],''],
	['PAGE','93101',jdecode('++-+Fortsetzung'),jdecode(''),'/93101.html','true',[],''],
	['PAGE','284901',jdecode('++-+Psychologie+der+VERBRECHER'),jdecode(''),'/284901.html','true',[],''],
	['PAGE','202601',jdecode('Psychology+-+natural+laws++++%28GB%29'),jdecode(''),'/202601.html','true',[],''],
	['PAGE','202501',jdecode('Psychologie+-+lois+de+la+nature+%28F%29'),jdecode(''),'/202501.html','true',[],''],
	['PAGE','252301',jdecode('++-+Psychologie+des+CRIMINELS+%28F%29'),jdecode(''),'/252301.html','true',[],''],
	['PAGE','41745',jdecode('DAS+PRINZIP+ALLEN+LEBENS'),jdecode(''),'/41745.html','true',[],''],
	['PAGE','202622',jdecode('THE+PRINCIPLE+OF+ALL+LIFE++%28GB%29'),jdecode(''),'/202622.html','true',[],''],
	['PAGE','202901',jdecode('La+PRINCIPE+de+tout+la+VIE'),jdecode(''),'/202901.html','false',[],''],
	['PAGE','42307',jdecode('VORTR%C3%84GE%2C+Unterricht%2C+Kontakt'),jdecode(''),'/42307.html','true',[],''],
	['PAGE','220301',jdecode('LECTURES%2C+lessons%2C+contact++%28GB%29'),jdecode(''),'/220301.html','true',[],''],
	['PAGE','220322',jdecode('CONFERENCES%2C+cours%2C+contact+%28F%29'),jdecode(''),'/220322.html','true',[],''],
	['PAGE','92001',jdecode('Blog++++%2F+++Tagebuch'),jdecode(''),'/92001.html','true',[],'']];
var siteelementCount=20;
theSitetree.topTemplateName='TOI_Smoothsurface';
theSitetree.paletteFamily='97A8CD';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='33404';
theSitetree.graphicsetId='14263';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'TOI_Smoothsurface',
				paletteFamily: 	'97A8CD',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'33404',
				graphicsetId: 	'14263',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'FFFFFF',
				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['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '202501',
internalId:  '',
customField: '20120208-112420'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40376',
internalId:  '',
customField: '20120111-165229'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41810',
internalId:  '',
customField: '20120201-125348'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39994',
internalId:  '',
customField: '20111031-213916'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '284901',
internalId:  '',
customField: '20120213-115651'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '194401',
internalId:  '',
customField: '20111110-010709'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42445',
internalId:  '',
customField: '20120129-104027'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41745',
internalId:  '',
customField: '20120127-132506'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42405',
internalId:  '',
customField: '20111126-180205'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42307',
internalId:  '',
customField: '20120130-192213'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '93101',
internalId:  '',
customField: '20120202-124849'
};
webappMappings['7050']=webappMappings['7050-23350']={
webappId:    '7050',
documentId:  '92001',
internalId:  '23350',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '92001',
internalId:  '',
customField: '20080725-112032'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '193701',
internalId:  '',
customField: '20111020-123941'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '202601',
internalId:  '',
customField: '20120101-123926'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '202622',
internalId:  '',
customField: '20111025-183651'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '202901',
internalId:  '',
customField: '20120208-112837'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '220301',
internalId:  '',
customField: '20120130-193437'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '220322',
internalId:  '',
customField: '20120130-193331'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '231501',
internalId:  '',
customField: '20120128-003626'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '252301',
internalId:  '',
customField: '20120213-122212'
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0IR0ADU';
var companyName   = 'NATURGESETZE+entdeckt+von+Dietmar+G.+West+%2F+NATURAL+LAWS+discovered+by+D.G.West+%2F+Lois+de+la+nature+d%C3%A9couvertes+par+D.G.West';
var htmlTitle	  = 'Psychologie+-+ihre+Naturgesetze%2C+Das+PRINZIP+allen+LEBENS';
var metaKeywords  = 'Naturgesetze%2C+Psychologie%2C+Biologie%2C+Leben%2C+Erleben+und+Verhalten%2C+Evolution%2C+Auslesefaktoren%2C+freier+Wille.';
var metaContents  = 'Erleben+und+Verhalten.+Das+Grundgesetz+der+Psychologie.+Naturgesetzliche+Grundlagen+psychologischer+Prozesse.';
					                                                                    
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 */					                                                            

