/* [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('Startseite%3A'),jdecode(''),'/44.html','true',[],''],
	['PAGE','85001',jdecode('Asbest'),jdecode(''),'/85001.html','true',[],''],
	['PAGE','40681',jdecode('VFPM+e.V.+'),jdecode(''),'/40681.html','true',[],''],
	['PAGE','40820',jdecode('Erl.Beitr.Min.Petr.'),jdecode(''),'/40820/home.html','true',[ 
		['PAGE','47601',jdecode('Jahrgang++1+-++4'),jdecode(''),'/40820/47601.html','true',[],''],
		['PAGE','48001',jdecode('Jahrgang++5+-++7'),jdecode(''),'/40820/48001.html','true',[],''],
		['PAGE','48601',jdecode('Jahrgang++8+-+11'),jdecode(''),'/40820/48601.html','true',[],''],
		['PAGE','49001',jdecode('Jahrgang+12+-+16'),jdecode(''),'/40820/49001.html','true',[],''],
		['PAGE','49501',jdecode('Jahrgang+17+-+20'),jdecode(''),'/40820/49501.html','true',[],''],
		['PAGE','90801',jdecode('Jahrgang+21'),jdecode(''),'/40820/90801.html','true',[],'']
	],''],
	['PAGE','68001',jdecode('Mineralanalysen'),jdecode(''),'/68001.html','true',[],''],
	['PAGE','40345',jdecode('Petrographie'),jdecode(''),'/40345/home.html','true',[ 
		['PAGE','67201',jdecode('Aktuelle+Untersuchungen'),jdecode(''),'/40345/67201.html','true',[],'']
	],''],
	['PAGE','41709',jdecode('Mineralogie-Studenten+'),jdecode(''),'/41709.html','true',[],''],
	['PAGE','40727',jdecode('Jedermannzehnkampf'),jdecode(''),'/40727.html','true',[],''],
	['PAGE','77901',jdecode('VIPA-Herzocross+2012'),jdecode(''),'/77901.html','true',[],''],
	['PAGE','40767',jdecode('Decreasing+Branch'),jdecode(''),'/40767.html','true',[],''],
	['PAGE','43201',jdecode('Mefisto+2008+%2F+2010'),jdecode(''),'/43201.html','true',[],'']];
var siteelementCount=18;
theSitetree.topTemplateName='Firma';
theSitetree.paletteFamily='333D5C';
theSitetree.keyvisualId='9920';
theSitetree.keyvisualName='kv_9920.jpg';
theSitetree.fontsetId='17531';
theSitetree.graphicsetId='12986';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='939DC0';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Firma',
				paletteFamily: 	'333D5C',
				keyvisualId: 	'9920',
				keyvisualName: 	'kv_9920.jpg',
				fontsetId: 		'17531',
				graphicsetId: 	'12986',
				contentColor: 	'FFFFFF',
				contentBGColor: '939DC0',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				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['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43201',
internalId:  '',
customField: '20100226-194605'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44',
internalId:  '',
customField: '20120210-002122'
};
webappMappings['7060']=webappMappings['7060-01f631269d1d1939ebea4555bada7e4d']={
webappId:    '7060',
documentId:  '43201',
internalId:  '01f631269d1d1939ebea4555bada7e4d',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '85001',
internalId:  '',
customField: '20110903-205605'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '67201',
internalId:  '',
customField: '20110109-152831'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40767',
internalId:  '',
customField: '20120204-185535'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40345',
internalId:  '',
customField: '20101221-000517'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40681',
internalId:  '',
customField: '20120129-195226'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40727',
internalId:  '',
customField: '20110614-222149'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40820',
internalId:  '',
customField: '20111004-204358'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41709',
internalId:  '',
customField: '20100321-154722'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47601',
internalId:  '',
customField: '20100407-203638'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '48001',
internalId:  '',
customField: '20100407-205415'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '48601',
internalId:  '',
customField: '20100407-211609'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '49001',
internalId:  '',
customField: '20100408-193235'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '49501',
internalId:  '',
customField: '20120209-234218'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '68001',
internalId:  '',
customField: '20111115-203144'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '77901',
internalId:  '',
customField: '20120129-201636'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '90801',
internalId:  '',
customField: '20120209-235742'
};
var canonHostname = 'c4awrk01.aul.t-online.de';
var accountId     = 'ATOIX0I7NQIN';
var companyName   = 'Diplom-Mineraloge+Dr.rer.nat.+Wolfgang+K%C3%B6hler';
var htmlTitle	  = 'Diplom-Mineraloge++Dr.+Wolfgang+K%C3%B6hler';
var metaKeywords  = 'Mineraloge+Petrographie+Petrografie+mineralogist+petrology+mineralogy+Mineralogie++Mineralogiestudent++Bachelor+of+Science+VFPM.e.V.++Phonolith+phonolite+Rh%C3%B6n+Magnetit++Decreasing+Branch++Jedermannzehnkampf++Prof.+Bausch+gemeinn%C3%BCtzig+Spendenbescheinigung+Cross-Duathlon+VIPA+HerzoCross+Mineralanalysen+Mineralzusammensetzung+St%C3%B6chiometrie';
var metaContents  = 'Die+Mineralogie+verbindet+Wissenschaft+und+Technik.+Der+VFPM+e.V.+hat+sich+die+F%C3%B6rderung+der+petrographischen+Mineralogie+zur+Aufgabe+gesetzt.+';
					                                                                    
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 */					                                                            

