/* [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'),jdecode(''),'/44/home.html','true',[ 
		['PAGE','41083',jdecode('Vereinsfest+2006'),jdecode(''),'/44/41083.html','true',[],'']
	],''],
	['PAGE','40615',jdecode('Aktuelle+Ergebnisse'),jdecode(''),'/40615.html','true',[],''],
	['PAGE','40344',jdecode('Sportangebot'),jdecode(''),'/40344/home.html','true',[ 
		['PAGE','40353',jdecode('Ringen'),jdecode(''),'/40344/40353.html','true',[],''],
		['PAGE','40371',jdecode('Volleyball'),jdecode(''),'/40344/40371.html','true',[],''],
		['PAGE','40380',jdecode('Gymnastik'),jdecode(''),'/40344/40380.html','true',[],''],
		['PAGE','40389',jdecode('Kinder'),jdecode(''),'/40344/40389.html','true',[],'']
	],''],
	['PAGE','40398',jdecode('Unser+Verein'),jdecode(''),'/40398.html','true',[],''],
	['PAGE','40437',jdecode('Orte%2C+Zeiten%2C+Ansprechpartner'),jdecode(''),'/40437/home.html','true',[ 
		['PAGE','41511',jdecode('Anfahrt+Volkeningschule'),jdecode(''),'/40437/41511.html','true',[],'']
	],''],
	['PAGE','40875',jdecode('G%C3%A4stebuch'),jdecode(''),'/40875/home.html','true',[ 
		['PAGE','40874',jdecode('Eintr%C3%A4ge'),jdecode(''),'/40875/40874.html','true',[],'']
	],''],
	['PAGE','40917',jdecode('Fotogalerien'),jdecode(''),'/40917/home.html','true',[ 
		['PAGE','41962',jdecode('Hesseln+2007'),jdecode(''),'/40917/41962.html','true',[],''],
		['PAGE','40905',jdecode('Sch%C3%BClergruppe+Ringen'),jdecode(''),'/40917/40905.html','true',[],''],
		['PAGE','41174',jdecode('Vereinsfest+2006'),jdecode(''),'/40917/41174.html','true',[],'']
	],''],
	['PAGE','41003',jdecode('%C3%9Cbungsleiter+%26+Trainer'),jdecode(''),'/41003.html','true',[],''],
	['PAGE','41572',jdecode('Termine'),jdecode(''),'/41572.html','true',[],'']];
var siteelementCount=19;
theSitetree.topTemplateName='Hobby';
theSitetree.paletteFamily='9DBB7F';
theSitetree.keyvisualId='9924';
theSitetree.keyvisualName='kv_9924.jpg';
theSitetree.fontsetId='17727';
theSitetree.graphicsetId='13091';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Hobby',
				paletteFamily: 	'9DBB7F',
				keyvisualId: 	'9924',
				keyvisualName: 	'kv_9924.jpg',
				fontsetId: 		'17727',
				graphicsetId: 	'13091',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'a1a1a1',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				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['1002']=webappMappings['1002-40875atoix0i7kbev']={
webappId:    '1002',
documentId:  '40875',
internalId:  '40875atoix0i7kbev',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-40875atoix0i7kbev']={
webappId:    '1002',
documentId:  '40874',
internalId:  '40875atoix0i7kbev',
customField: 'action=list'
};
webappMappings['1007']=webappMappings['1007-10ac643fa58']={
webappId:    '1007',
documentId:  '40905',
internalId:  '10ac643fa58',
customField: 'g.11b331rlf.1kor7tg2ig.3o'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44',
internalId:  '',
customField: '20091110-213735'
};
webappMappings['1007']=webappMappings['1007-10b574fee62']={
webappId:    '1007',
documentId:  '41174',
internalId:  '10b574fee62',
customField: 'g.11dbibgj3.8i765stmhg8.3o'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40615',
internalId:  '',
customField: '20090822-160411'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41572',
internalId:  '',
customField: '20090822-154641'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41083',
internalId:  '',
customField: '20060521-150622'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40344',
internalId:  '',
customField: '20090822-151952'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40353',
internalId:  '',
customField: '20070625-211709'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40371',
internalId:  '',
customField: '20060423-143346'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40380',
internalId:  '',
customField: '20060417-141052'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40389',
internalId:  '',
customField: '20061001-143711'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40398',
internalId:  '',
customField: '20080910-204807'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40437',
internalId:  '',
customField: '20090822-152137'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41511',
internalId:  '',
customField: '20070901-181527'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40875',
internalId:  '',
customField: '20070216-113357'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40874',
internalId:  '',
customField: '20060423-115529'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40917',
internalId:  '',
customField: '20070216-120841'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40905',
internalId:  '',
customField: '20060423-122753'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41174',
internalId:  '',
customField: '20060521-165645'
};
webappMappings['1007']=webappMappings['1007-1144c431177']={
webappId:    '1007',
documentId:  '41962',
internalId:  '1144c431177',
customField: 'g.12h633ldl.6qhqg0ujdnp.3o'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41003',
internalId:  '',
customField: '20090822-152245'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41962',
internalId:  '',
customField: '20070809-232736'
};
var canonHostname = 'cfawrk08.aul.t-online.de';
var accountId     = 'ATOIX0I7KBEV';
var companyName   = 'ASV+Atlas+Bielefeld+1895+e.V.';
var htmlTitle	  = 'ASV+Atlas+Bielefeld';
var metaKeywords  = 'ASV+Atlas+Bielefeld+Sportverein+Verein+Ringen+Landesliga+Vereinssport+Breitensport%2C+Kampfsport+Freistil+Griechisch-R%C3%B6misch+Eltern%2FKind+Volleyball+Gymnastik+Sport+Freizeit+Bielefeld+Ostwestfalen';
var metaContents  = 'Breitensportverein+ASV+Atlas+Bielefeld.+Sportangebot+Ringen%2C+Volleyball%2C+Kinderturnen%2C+Gymnastik%2C+Taebo%2C+Spiel++Spa%C3%9F.';
					                                                                    
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 */					                                                            

