/* [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','13801',jdecode('Home'),jdecode(''),'/13801.html','true',[],''],
	['PAGE','13812',jdecode('Aktuelles'),jdecode(''),'/13812.html','true',[],''],
	['PAGE','50622',jdecode('%C3%9C-30+Party'),jdecode(''),'/50622.html','true',[],''],
	['PAGE','39822',jdecode('T%C3%B6pfergruppe'),jdecode(''),'/39822.html','true',[],''],
	['PAGE','28643',jdecode('Fr%C3%BChst%C3%BCckstreff'),jdecode(''),'/28643.html','true',[],''],
	['PAGE','52401',jdecode('Internationale+Lerngruppe'),jdecode(''),'/52401.html','true',[],''],
	['PAGE','28622',jdecode('Computerkurse+f%C3%BCr+Erwachsene'),jdecode(''),'/28622.html','true',[],''],
	['PAGE','15306',jdecode('Ferienprogramm+f%C3%BCr+Kinder'),jdecode(''),'/15306.html','true',[],''],
	['PAGE','53801',jdecode('Schwimmen+f%C3%BCr+Kids'),jdecode(''),'/53801.html','true',[],''],
	['PAGE','27501',jdecode('Kinderkino'),jdecode(''),'/27501.html','true',[],''],
	['PAGE','22001',jdecode('Mutter-Kind+Gruppen'),jdecode(''),'/22001.html','true',[],''],
	['PAGE','15321',jdecode('Planet+Phatt+Musiklabor'),jdecode(''),'/15321.html','true',[],''],
	['PAGE','28001',jdecode('Sport+am+Wochenende'),jdecode(''),'/28001.html','true',[],''],
	['PAGE','39801',jdecode('Sportkurse+f%C3%BCr+Frauen'),jdecode(''),'/39801.html','true',[],''],
	['PAGE','42501',jdecode('Tanzkurse+von+Oberalster+V.f.W.'),jdecode(''),'/42501.html','true',[],''],
	['PAGE','15326',jdecode('Freizeitgel%C3%A4nde'),jdecode(''),'/15326.html','true',[],''],
	['PAGE','51201',jdecode('Boxen'),jdecode(''),'/51201.html','true',[],''],
	['PAGE','24301',jdecode('Geschichte'),jdecode(''),'/24301.html','true',[],''],
	['PAGE','26201',jdecode('Anfahrt'),jdecode(''),'/26201.html','true',[],''],
	['PAGE','13832',jdecode('Kontakte'),jdecode(''),'/13832.html','true',[],'']];
var siteelementCount=20;
theSitetree.topTemplateName='Basic';
theSitetree.paletteFamily='2E681F';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10829';
theSitetree.graphicsetId='11286';
theSitetree.contentColor='2E681F';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Basic',
				paletteFamily: 	'2E681F',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10829',
				graphicsetId: 	'11286',
				contentColor: 	'2E681F',
				contentBGColor: 'FFFFFF',
				a_color: 		'000000',
				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:  '13812',
internalId:  '',
customField: '20120209-194518'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22001',
internalId:  '',
customField: '20100901-143708'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13801',
internalId:  '',
customField: '20120209-142740'
};
webappMappings['1501']=webappMappings['1501-15545234']={
webappId:    '1501',
documentId:  '13801',
internalId:  '15545234',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15306',
internalId:  '',
customField: '20111020-121302'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27501',
internalId:  '',
customField: '20110216-143828'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '13801',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '28001',
internalId:  '',
customField: '20120209-134458'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '52401',
internalId:  '',
customField: '20120209-113135'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '28622',
internalId:  '',
customField: '20120209-121435'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '28643',
internalId:  '',
customField: '20120208-175357'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15321',
internalId:  '',
customField: '20100901-143852'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15326',
internalId:  '',
customField: '20120210-120459'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39801',
internalId:  '',
customField: '20100901-143919'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13832',
internalId:  '',
customField: '20100119-144200'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24301',
internalId:  '',
customField: '20100901-141808'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26201',
internalId:  '',
customField: '20120210-121026'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42501',
internalId:  '',
customField: '20120209-154806'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39822',
internalId:  '',
customField: '20120209-115003'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '50622',
internalId:  '',
customField: '20120209-113351'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '51201',
internalId:  '',
customField: '20120209-165850'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '53801',
internalId:  '',
customField: '20120209-194341'
};
var canonHostname = 'c4awrk04.aul.t-online.de';
var accountId     = 'ATOIX0IN3MBD';
var companyName   = 'IGL+++Interessengemeinschaft+um+den+Lentersweg+e.V.';
var htmlTitle	  = 'IGL-Hamburg+Stadtteilkultur-+und+Jugendzentrum';
var metaKeywords  = 'IGL-Hamburg%2C+Lentersweg%2C+Stadtteilkultur%2C+Jugendtreff%2C+Interessengemeinschaft+um+den+Lentersweg+e.V.+%2C';
var metaContents  = 'Angebote+der+IGL-Hamburg%2C+Aufgaben+und+Inhalte+der+IGL-Hamburg';
					                                                                    
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 */					                                                            

