/* [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('FC+G%C3%A4rtringen'),jdecode(''),'/39994/home.html','true',[ 
		['PAGE','41323',jdecode('Veranstaltungen'),jdecode(''),'/39994/41323.html','true',[],''],
		['PAGE','41332',jdecode('Presseberichte'),jdecode(''),'/39994/41332.html','true',[],''],
		['PAGE','41722',jdecode('Restaurant+am+Weingarten'),jdecode(''),'/39994/41722.html','true',[],'']
	],''],
	['PAGE','41341',jdecode('1.+Mannschaft'),jdecode(''),'/41341/home.html','true',[ 
		['PAGE','41350',jdecode('Aktuelles'),jdecode(''),'/41341/41350.html','true',[],''],
		['PAGE','41359',jdecode('Kader'),jdecode(''),'/41341/41359.html','true',[],''],
		['PAGE','41368',jdecode('Spielplan%2FBerichte%2FTabelle'),jdecode(''),'/41341/41368.html','true',[],''],
		['PAGE','41377',jdecode('Bilder%2FFilme'),jdecode(''),'/41341/41377.html','true',[],'']
	],''],
	['PAGE','41386',jdecode('2.+Mannschaft'),jdecode(''),'/41386/home.html','true',[ 
		['PAGE','45778',jdecode('Aktuelles'),jdecode(''),'/41386/45778.html','true',[],''],
		['PAGE','41395',jdecode('Kader'),jdecode(''),'/41386/41395.html','true',[],''],
		['PAGE','41404',jdecode('Spielplan%2FTabelle'),jdecode(''),'/41386/41404.html','true',[],'']
	],''],
	['PAGE','41413',jdecode('Junioren'),jdecode(''),'/41413/home.html','true',[ 
		['PAGE','43308',jdecode('Veranstaltungen%2FTermine'),jdecode(''),'/41413/43308.html','true',[],'']
	],''],
	['PAGE','43130',jdecode('Schiedsrichtergruppe'),jdecode(''),'/43130.html','true',[],''],
	['PAGE','41476',jdecode('AH+-+Senioren'),jdecode(''),'/41476/home.html','true',[ 
		['PAGE','41485',jdecode('Termine'),jdecode(''),'/41476/41485.html','true',[],''],
		['PAGE','41494',jdecode('Galerie'),jdecode(''),'/41476/41494.html','true',[],''],
		['PAGE','41503',jdecode('Kontakt'),jdecode(''),'/41476/41503.html','true',[],'']
	],''],
	['PAGE','41512',jdecode('Kontakt'),jdecode(''),'/41512.html','true',[],''],
	['PAGE','41521',jdecode('Werbung+beim+FCG'),jdecode(''),'/41521.html','true',[],''],
	['PAGE','41540',jdecode('Anfahrt'),jdecode(''),'/41540.html','true',[],'']];
var siteelementCount=23;
theSitetree.topTemplateName='Business';
theSitetree.paletteFamily='003366';
theSitetree.keyvisualId='2479';
theSitetree.keyvisualName='fussball.jpg';
theSitetree.fontsetId='419';
theSitetree.graphicsetId='463';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Business',
				paletteFamily: 	'003366',
				keyvisualId: 	'2479',
				keyvisualName: 	'fussball.jpg',
				fontsetId: 		'419',
				graphicsetId: 	'463',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'003366',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Times New Roman, Times, 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: '20110607-070716'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41341',
internalId:  '',
customField: '20110817-070732'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41413',
internalId:  '',
customField: '20110706-080715'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41323',
internalId:  '',
customField: '20110609-070254'
};
webappMappings['2002']=webappMappings['2002-routing']={
webappId:    '2002',
documentId:  '41540',
internalId:  'routing',
customField: 'de_DE'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41540',
internalId:  '',
customField: '20100511-125829'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41332',
internalId:  '',
customField: '20120117-072652'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41722',
internalId:  '',
customField: '20100512-084531'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41350',
internalId:  '',
customField: '20120209-063424'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41359',
internalId:  '',
customField: '20120209-133614'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41377',
internalId:  '',
customField: '20120117-075543'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41368',
internalId:  '',
customField: '20111205-070329'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41386',
internalId:  '',
customField: '20101013-120601'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41512',
internalId:  '',
customField: '20100816-093615'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41521',
internalId:  '',
customField: '20100518-124913'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41395',
internalId:  '',
customField: '20110905-090646'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41404',
internalId:  '',
customField: '20111205-070355'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41476',
internalId:  '',
customField: '20100521-105624'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41485',
internalId:  '',
customField: '20111027-082522'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41494',
internalId:  '',
customField: '20100616-084906'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41503',
internalId:  '',
customField: '20120127-070528'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43130',
internalId:  '',
customField: '20100518-133205'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43308',
internalId:  '',
customField: '20101202-080437'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45778',
internalId:  '',
customField: '20120105-082448'
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0IRS5IL';
var companyName   = 'FC+G%C3%A4rtringen+1921+e.V.';
var htmlTitle	  = '';
var metaKeywords  = '';
var metaContents  = '';
					                                                                    
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 */					                                                            

