/* [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.html','true',[],''],
	['PAGE','41276',jdecode('Sharks'),jdecode(''),'/41276.html','true',[],''],
	['PAGE','90401',jdecode('Twisters'),jdecode(''),'/90401.html','true',[],''],
	['PAGE','228401',jdecode('Twirling+Angels'),jdecode(''),'/228401.html','false',[],''],
	['PAGE','262901',jdecode('Spielzeit+11%2F12+News'),jdecode(''),'/262901/home.html','true',[ 
		['PAGE','207101',jdecode('Spielzeit+10%2F11+Archiv'),jdecode(''),'/262901/207101.html','true',[],''],
		['PAGE','157601',jdecode('Spielzeit+09%2F10+Archiv'),jdecode(''),'/262901/157601.html','true',[],''],
		['PAGE','92401',jdecode('Spielzeit+08%2F09+Archiv'),jdecode(''),'/262901/92401.html','true',[],''],
		['PAGE','41285',jdecode('Spielzeit+07%2F08+Archiv'),jdecode(''),'/262901/41285.html','true',[],'']
	],''],
	['PAGE','167201',jdecode('Kooperation+Schule'),jdecode(''),'/167201.html','true',[],''],
	['PAGE','41294',jdecode('Ergebnisse+im+SIS'),jdecode(''),'/41294.html','true',[],''],
	['PAGE','139201',jdecode('Info-Links-Download'),jdecode(''),'/139201.html','true',[],''],
	['PAGE','145901',jdecode('Handball-News+'),jdecode(''),'/145901.html','true',[],''],
	['PAGE','41795',jdecode('Sponsoring++'),jdecode(''),'/41795.html','true',[],''],
	['PAGE','140201',jdecode('Forum+Sharks'),jdecode(''),'/140201.html','true',[],'']];
var siteelementCount=15;
theSitetree.topTemplateName='Fussball06';
theSitetree.paletteFamily='30455B';
theSitetree.keyvisualId='10476';
theSitetree.keyvisualName='kv_10476.jpg';
theSitetree.fontsetId='26613';
theSitetree.graphicsetId='13425';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='30455B';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Fussball06',
				paletteFamily: 	'30455B',
				keyvisualId: 	'10476',
				keyvisualName: 	'kv_10476.jpg',
				fontsetId: 		'26613',
				graphicsetId: 	'13425',
				contentColor: 	'FFFFFF',
				contentBGColor: '30455B',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '44',
internalId:  '1006',
customField: '1006'
};
webappMappings['1501']=webappMappings['1501-5893592']={
webappId:    '1501',
documentId:  '44',
internalId:  '5893592',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '262901',
internalId:  '',
customField: '20120205-102743'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44',
internalId:  '',
customField: '20111010-200043'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41285',
internalId:  '',
customField: '20100831-223159'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41276',
internalId:  '',
customField: '20110914-230117'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '228401',
internalId:  '',
customField: '20110718-121210'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41294',
internalId:  '',
customField: '20110623-182311'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41795',
internalId:  '',
customField: '20110907-101029'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '90401',
internalId:  '',
customField: '20111127-172822'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '139201',
internalId:  '',
customField: '20111218-151722'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '207101',
internalId:  '',
customField: '20110515-185309'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '92401',
internalId:  '',
customField: '20100831-221921'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '157601',
internalId:  '',
customField: '20100831-220708'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '167201',
internalId:  '',
customField: '20110707-004106'
};
webappMappings['3001']=webappMappings['3001-']={
webappId:    '3001',
documentId:  '140201',
internalId:  '',
customField: ''
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '140201',
internalId:  '',
customField: '20111227-153920'
};
webappMappings['1003']=webappMappings['1003-atoix0i7c71811d9fa8d3dc']={
webappId:    '1003',
documentId:  '140201',
internalId:  'atoix0i7c71811d9fa8d3dc',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '145901',
internalId:  '',
customField: '20111129-233209'
};
webappMappings['7090']=webappMappings['7090-366471']={
webappId:    '7090',
documentId:  '145901',
internalId:  '366471',
customField: 'type:rss-2.0;language:de;country:DE;'
};
var canonHostname = 'c4awrk04.aul.t-online.de';
var accountId     = 'ATOIX0I7C718';
var companyName   = 'Jugendhandball+in+Hagen-Haspe';
var htmlTitle	  = 'jugendhandball-haspe';
var metaKeywords  = 'Eva%2C+J%C3%B6rg%2C+F%C3%A4hmel%2C++Handballkids%2C+HSG%2C+Haspe-Westerbauer%2C+Jahrgang%2C+1997+%2B+1998%2C+www.jugendhandball-haspe.de%2C+www.jugendhandball-haspe.eu%2C+sharks%2C+twisters%2C+twirling+angels%2C+';
var metaContents  = 'Eva+und+J%C3%B6rg+F%C3%A4hmel+trainieren+die+Handballkids+der+HSG+Haspe+Westerbauer+Jahrgang+1997+%2B+1998';
					                                                                    
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 */					                                                            

