/* [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','13948',jdecode('News'),jdecode(''),'/13948.html','true',[],''],
	['PAGE','24506',jdecode('Termine'),jdecode(''),'/24506.html','true',[],''],
	['PAGE','13977',jdecode('Spiele+und+Turniere'),jdecode(''),'/13977.html','true',[],''],
	['PAGE','14035',jdecode('Montagskicker+Turnier'),jdecode(''),'/14035.html','true',[],''],
	['PAGE','48205',jdecode('Rock+am+Rhein'),jdecode(''),'/48205/home.html','true',[ 
		['PAGE','26905',jdecode('Rock+2007'),jdecode(''),'/48205/26905.html','true',[],''],
		['PAGE','31226',jdecode('Rock+2006'),jdecode(''),'/48205/31226.html','true',[],'']
	],''],
	['PAGE','14093',jdecode('MK+Punkte'),jdecode(''),'/14093.html','true',[],''],
	['PAGE','14064',jdecode('Reisen'),jdecode(''),'/14064.html','true',[],''],
	['PAGE','25101',jdecode('Urlaubsgr%C3%BC%C3%9Fe'),jdecode(''),'/25101.html','true',[],''],
	['PAGE','24563',jdecode('Bilder'),jdecode(''),'/24563/home.html','true',[ 
		['PAGE','20702',jdecode('Bilder+Hall+of+Fame'),jdecode(''),'/24563/20702.html','true',[],''],
		['PAGE','49705',jdecode('Jubil%C3%A4umsfeier+1'),jdecode(''),'/24563/49705.html','true',[],''],
		['PAGE','57805',jdecode('Pitztal+Skitour'),jdecode(''),'/24563/57805.html','true',[],'']
	],''],
	['PAGE','38105',jdecode('Shop'),jdecode(''),'/38105.html','true',[],''],
	['PAGE','24501',jdecode('Kontakt+%26+Rechte'),jdecode(''),'/24501.html','true',[],''],
	['PAGE','13861',jdecode('Wir+%C3%BCber+uns'),jdecode(''),'/13861.html','true',[],''],
	['PAGE','14626',jdecode('G%C3%A4stebuch'),jdecode(''),'/14626/home.html','true',[ 
		['PAGE','14627',jdecode('Eintr%C3%A4ge'),jdecode(''),'/14626/14627.html','true',[],'']
	],'']];
var siteelementCount=20;
theSitetree.topTemplateName='Galerie';
theSitetree.paletteFamily='003366';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='74';
theSitetree.graphicsetId='84';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='CCD6E0';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Galerie',
				paletteFamily: 	'003366',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'74',
				graphicsetId: 	'84',
				contentColor: 	'000000',
				contentBGColor: 'CCD6E0',
				a_color: 		'003366',
				b_color: 		'CCCC99',
				c_color: 		'000000',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Times New Roman, Times, serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1002']=webappMappings['1002-14626atoix0in231c']={
webappId:    '1002',
documentId:  '14626',
internalId:  '14626atoix0in231c',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-14626atoix0in231c']={
webappId:    '1002',
documentId:  '14627',
internalId:  '14626atoix0in231c',
customField: 'action=list'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '13801',
internalId:  '1006',
customField: '1006'
};
webappMappings['1501']=webappMappings['1501-4578745']={
webappId:    '1501',
documentId:  '13801',
internalId:  '4578745',
customField: '1501'
};
webappMappings['1007']=webappMappings['1007-1002a5a9217']={
webappId:    '1007',
documentId:  '20702',
internalId:  '1002a5a9217',
customField: 'g.100l57nvm.2p38ah7fuf.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13801',
internalId:  '',
customField: '20110407-024234'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13948',
internalId:  '',
customField: '20110407-032906'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14035',
internalId:  '',
customField: '20100721-012715'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26905',
internalId:  '',
customField: '20080208-195059'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14093',
internalId:  '',
customField: '20100125-160017'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13861',
internalId:  '',
customField: '20090408-035246'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24501',
internalId:  '',
customField: '20060820-031955'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13977',
internalId:  '',
customField: '20081223-171121'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24506',
internalId:  '',
customField: '20110407-033402'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '31226',
internalId:  '',
customField: '20070617-030739'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14064',
internalId:  '',
customField: '20080213-021313'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25101',
internalId:  '',
customField: '20081223-171742'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24563',
internalId:  '',
customField: '20090224-012047'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20702',
internalId:  '',
customField: '20041229-214330'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14626',
internalId:  '',
customField: '20041111-010228'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14627',
internalId:  '',
customField: '20041111-010228'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '38105',
internalId:  '',
customField: '20070207-142627'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '48205',
internalId:  '',
customField: '20100430-035328'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '57805',
internalId:  '',
customField: '20090224-012136'
};
webappMappings['1007']=webappMappings['1007-117fe21e633']={
webappId:    '1007',
documentId:  '49705',
internalId:  '117fe21e633',
customField: 'g.12vv1knqm.pk101mn5tv.1s'
};
webappMappings['1007']=webappMappings['1007-118103d2eb8']={
webappId:    '1007',
documentId:  '57805',
internalId:  '118103d2eb8',
customField: 'g.13083hlvo.bhedv1a91h.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '49705',
internalId:  '',
customField: '20080209-135002'
};
var canonHostname = 'c4awrk04.aul.t-online.de';
var accountId     = 'ATOIX0IN231C';
var companyName   = 'F.C.+Montagskicker+R%C3%BCdesheim+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 */					                                                            

