/* [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','39994',jdecode('++++++Startseite'),jdecode(''),'/39994.html','true',[],''],
	['PAGE','40584',jdecode('++++++Der+Verein'),jdecode(''),'/40584/home.html','true',[ 
		['PAGE','40593',jdecode('++++++++++Geschichte'),jdecode(''),'/40584/40593.html','true',[],''],
		['PAGE','40602',jdecode('++++++++++Vorstand++'),jdecode(''),'/40584/40602.html','true',[],'']
	],''],
	['PAGE','41010',jdecode('++++++Sponsoren+'),jdecode(''),'/41010.html','true',[],''],
	['PAGE','42712',jdecode('+1.FV+Stahl+Finow'),jdecode(''),'/42712.html','true',[],''],
	['PAGE','43149',jdecode('1.FV+Stahl++Reserve++++++++++++++++++++++++++++++++++++'),jdecode(''),'/43149.html','true',[],''],
	['PAGE','399901',jdecode('++Berichte+2011+%2F+12'),jdecode(''),'/399901.html','true',[],''],
	['PAGE','44718',jdecode('++++++%C3%9C+-35++%2F++%C3%9C-+45'),jdecode(''),'/44718.html','true',[],''],
	['PAGE','346701',jdecode('++++++A+-+Junioren'),jdecode(''),'/346701.html','true',[],''],
	['PAGE','404401',jdecode('+++++++B+-+Junioren'),jdecode(''),'/404401.html','true',[],''],
	['PAGE','44727',jdecode('++++++C++-+Junioren'),jdecode(''),'/44727.html','true',[],''],
	['PAGE','328843',jdecode('++++++D+-++Junioren'),jdecode(''),'/328843.html','true',[],''],
	['PAGE','328822',jdecode('++++++E+-+Junioren'),jdecode(''),'/328822.html','true',[],''],
	['PAGE','45381',jdecode('++++++F+-+Junioren'),jdecode(''),'/45381.html','true',[],''],
	['PAGE','41099',jdecode('++++++Bilder++'),jdecode(''),'/41099.html','false',[],''],
	['PAGE','41358',jdecode('++++++Anfahrt'),jdecode(''),'/41358.html','true',[],''],
	['PAGE','109801',jdecode('++++++Auto+%26+KFZ'),jdecode(''),'/109801.html','true',[],''],
	['PAGE','42318',jdecode('++++++Impressum'),jdecode(''),'/42318.html','true',[],'']];
var siteelementCount=19;
theSitetree.topTemplateName='Americanlife';
theSitetree.paletteFamily='A71E1E';
theSitetree.keyvisualId='4236';
theSitetree.keyvisualName='kv_4236.jpg';
theSitetree.fontsetId='10674';
theSitetree.graphicsetId='11194';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='C53131';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Americanlife',
				paletteFamily: 	'A71E1E',
				keyvisualId: 	'4236',
				keyvisualName: 	'kv_4236.jpg',
				fontsetId: 		'10674',
				graphicsetId: 	'11194',
				contentColor: 	'FFFFFF',
				contentBGColor: 'C53131',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '39994',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39994',
internalId:  '',
customField: '20120130-194153'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40584',
internalId:  '',
customField: '20100724-004948'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40593',
internalId:  '',
customField: '20100724-005336'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40602',
internalId:  '',
customField: '20100724-005517'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '328843',
internalId:  '',
customField: '20110817-221231'
};
webappMappings['1011']=webappMappings['1011-ddp-auto']={
webappId:    '1011',
documentId:  '109801',
internalId:  'ddp-auto',
customField: 'language:de;country:DE;'
};
webappMappings['1007']=webappMappings['1007-1189a3e5c90']={
webappId:    '1007',
documentId:  '41099',
internalId:  '1189a3e5c90',
customField: 'g.132d39ohh.7vbk56e5rbb.1s'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '41358',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41010',
internalId:  '',
customField: '20110126-181109'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41099',
internalId:  '',
customField: '20100724-010558'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41358',
internalId:  '',
customField: '20080618-151119'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '404401',
internalId:  '',
customField: '20110817-220052'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '399901',
internalId:  '',
customField: '20111215-141743'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42318',
internalId:  '',
customField: '20100610-124926'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '328822',
internalId:  '',
customField: '20110817-220750'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42712',
internalId:  '',
customField: '20111210-152353'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43149',
internalId:  '',
customField: '20111030-104151'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44718',
internalId:  '',
customField: '20111120-163523'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44727',
internalId:  '',
customField: '20110817-220024'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45381',
internalId:  '',
customField: '20110817-221446'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '109801',
internalId:  '',
customField: '20110523-121337'
};
webappMappings['7090']=webappMappings['7090-188638']={
webappId:    '7090',
documentId:  '109801',
internalId:  '188638',
customField: 'type:rss-2.0;language:de;country:DE;'
};
webappMappings['7091']=webappMappings['7091-39679']={
webappId:    '7091',
documentId:  '39994',
internalId:  '39679',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['1008']=webappMappings['1008-47042512']={
webappId:    '1008',
documentId:  '40584',
internalId:  '47042512',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '346701',
internalId:  '',
customField: '20110817-220203'
};
var canonHostname = 'c4awrk02.aul.t-online.de';
var accountId     = 'ATOIX0IRKXRM';
var companyName   = '+++++++++++1.+FV+Stahl+Finow+e.V';
var htmlTitle	  = 'Stahl+Finow+%2CFu%C3%9Fball%2CWasserturm';
var metaKeywords  = 'Fussball+Deutschlands%C2%B4+gr%C3%B6sster++D-Junioren+Cup';
var metaContents  = 'Fu%C3%9Fball%2Cenergy+-+Cup+2008+am+Wasserturm+Finow';
					                                                                    
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 */					                                                            

