/* [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','41045',jdecode('Home'),jdecode(''),'/41045.html','true',[],''],
	['PAGE','41054',jdecode('Wer+ich+bin'),jdecode(''),'/41054.html','true',[],''],
	['PAGE','41072',jdecode('Aktuell'),jdecode(''),'/41072/home.html','true',[ 
		['PAGE','46265',jdecode('Neues+aus+der+%22Szene%22'),jdecode(''),'/41072/46265.html','true',[],''],
		['PAGE','46180',jdecode('Veranstaltungen'),jdecode(''),'/41072/46180.html','true',[],'']
	],''],
	['PAGE','41090',jdecode('Kontakt'),jdecode(''),'/41090.html','true',[],''],
	['PAGE','41081',jdecode('Interessante+links'),jdecode(''),'/41081.html','true',[],''],
	['PAGE','46198',jdecode('Haftungsausschluss'),jdecode(''),'/46198.html','true',[],'']];
var siteelementCount=8;
theSitetree.topTemplateName='Inspiration';
theSitetree.paletteFamily='CCCC99';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='100';
theSitetree.graphicsetId='120';
theSitetree.contentColor='464646';
theSitetree.contentBGColor='CCCC99';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Inspiration',
				paletteFamily: 	'CCCC99',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'100',
				graphicsetId: 	'120',
				contentColor: 	'464646',
				contentBGColor: 'CCCC99',
				a_color: 		'CCCC99',
				b_color: 		'99667A',
				c_color: 		'000000',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '44',
internalId:  '1006',
customField: '1006'
};
webappMappings['7090']=webappMappings['7090-358947']={
webappId:    '7090',
documentId:  '46265',
internalId:  '358947',
customField: 'type:rss-0.92;language:de;country:DE;'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '41045',
internalId:  '1006',
customField: '1006'
};
webappMappings['1008']=webappMappings['1008-18928999']={
webappId:    '1008',
documentId:  '41090',
internalId:  '18928999',
customField: 'de:DE:'
};
webappMappings['1501']=webappMappings['1501-24959607']={
webappId:    '1501',
documentId:  '41045',
internalId:  '24959607',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41045',
internalId:  '',
customField: '20090201-110156'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41054',
internalId:  '',
customField: '20100104-141951'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41072',
internalId:  '',
customField: '20100104-142621'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46180',
internalId:  '',
customField: '20100104-142436'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41090',
internalId:  '',
customField: '20090910-200001'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41081',
internalId:  '',
customField: '20090910-200027'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46198',
internalId:  '',
customField: '20100104-142526'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46265',
internalId:  '',
customField: '20090105-114431'
};
webappMappings['7090']=webappMappings['7090-357067']={
webappId:    '7090',
documentId:  '46265',
internalId:  '357067',
customField: 'type:rss-2.0;language:de;country:DE;'
};
var canonHostname = 'c4awrk02.aul.t-online.de';
var accountId     = 'ATOIX0I7RIHS';
var companyName   = 'Konfliktberatung+und+Mediation';
var htmlTitle	  = 'Mediation';
var metaKeywords  = 'Fred+Over%2C+Ingolstadt%2C+Mediation%2C+Konflikt%2C+Konfliktberatung%2C+Gemeinwesenmediation%2C+Soziale+Stadt%2C+mediative+Haltung%2C+Schulmediation%2C+Antiaggression%2C+jugendliche+Streitschlichter%2C+Regionalgruppe+Ingolstadt%2C+Bundesverband+Mediation+e.V.%2C+Nachbarschaftsstreitigkeiten%2C+Streit%2C+au%C3%9Fergerichtliche+Streitbeilegung%2C+Mobbingberatung%2C+Mobbing+aufl%C3%B6sen+in+Schulen+und+Schulklassen';
var metaContents  = 'Fred+Over%2C+Ingolstadt+-+wie+mit+Konfliktberatung+und+Mediation+ein+gutes+Miteinander+gepflegt+werden+kann.+Wie+k%C3%B6nnen+Menschen+-+altersunabh%C3%A4ngig+-+Tipps+bekommen%2C+besser+miteinander+auszukommen%3F+Wie+kann+man+Mobbing+in+Schulklassen+nachhaltig+aufl%C3%B6sen%3F';
					                                                                    
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 */					                                                            

