/* [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('AKTUELLES'),jdecode(''),'/44.html','true',[],''],
	['PAGE','42227',jdecode('%C3%9CBER+MICH'),jdecode(''),'/42227.html','true',[],''],
	['PAGE','40884',jdecode('ARBEITSLOSENGELD+II'),jdecode(''),'/40884.html','true',[],''],
	['PAGE','53322',jdecode('EINKOMMEN'),jdecode(''),'/53322.html','true',[],''],
	['PAGE','50922',jdecode('NACHRICHTEN'),jdecode(''),'/50922.html','true',[],''],
	['PAGE','47422',jdecode('BERATUNG'),jdecode(''),'/47422.html','true',[],''],
	['PAGE','41302',jdecode('P+R+E+S+S+E'),jdecode(''),'/41302.html','true',[],''],
	['PAGE','40247',jdecode('LINKS'),jdecode(''),'/40247.html','true',[],''],
	['PAGE','40265',jdecode('IMPRESSUM'),jdecode(''),'/40265.html','true',[],''],
	['PAGE','55022',jdecode('BAG-PLESA'),jdecode(''),'/55022/home.html','true',[ 
		['PAGE','56122',jdecode('AKTUELLES'),jdecode(''),'/55022/56122.html','true',[],''],
		['PAGE','56222',jdecode('VEREIN'),jdecode(''),'/55022/56222.html','true',[],'']
	],'']];
var siteelementCount=12;
theSitetree.topTemplateName='Livinginamerica';
theSitetree.paletteFamily='83A270';
theSitetree.keyvisualId='6320';
theSitetree.keyvisualName='kv_6320.jpg';
theSitetree.fontsetId='11152';
theSitetree.graphicsetId='11957';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='D1E0C7';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Livinginamerica',
				paletteFamily: 	'83A270',
				keyvisualId: 	'6320',
				keyvisualName: 	'kv_6320.jpg',
				fontsetId: 		'11152',
				graphicsetId: 	'11957',
				contentColor: 	'000000',
				contentBGColor: 'D1E0C7',
				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['1501']=webappMappings['1501-3758052']={
webappId:    '1501',
documentId:  '44',
internalId:  '3758052',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44',
internalId:  '',
customField: '20090817-145020'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40265',
internalId:  '',
customField: '20081014-035338'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47422',
internalId:  '',
customField: '20081202-005651'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '53322',
internalId:  '',
customField: '20081117-133633'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41302',
internalId:  '',
customField: '20080904-135631'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40884',
internalId:  '',
customField: '20081202-003838'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '55022',
internalId:  '',
customField: '20090501-145956'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56122',
internalId:  '',
customField: '20090401-153544'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '50922',
internalId:  '',
customField: '20081025-214245'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56222',
internalId:  '',
customField: '20090308-214035'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40247',
internalId:  '',
customField: '20090607-144716'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42227',
internalId:  '',
customField: '20090731-193914'
};
var canonHostname = 'cfawrk11.aul.t-online.de';
var accountId     = 'ATOIX0INP4DT';
var companyName   = 'J%C3%BCrgen+Habich+-+Sozialberatung+Neum%C3%BCnster';
var htmlTitle	  = 'SOGA+-+Sozialinitiative+gegen+Armut+und+Ausgrenzung+-+Neum%C3%BCnster+e.V.';
var metaKeywords  = 'Beratungzeiten+-+Wichtige+Informationen+zur+neuen+Gesetzgebung+und+Agenda+2010im+Bereich+der+Agentur+f%C3%BCr+Arbeit+Neum%C3%BCnster+sowie+den+dazugeh%C3%B6rigen+Arbeitsgemeinschaften+im+Arbeitsgemeinschaften+im+Arbeitslosengeld+II';
var metaContents  = 'SOGA+e.V.+Sozialberatung+f%C3%BCr+Arbeitslose+und+durch+die+Agenda+2010+ausgegrenzte+Menschen%2C+u.+a.+Beratung+zum+Arbeitslosengeld+II+und+Sozialhilfe+Sprechen+Sie+mit+uns%21++';
					                                                                    
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 */					                                                            
