/* [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','40581',jdecode('Aktuelles'),jdecode(''),'/40581.html','true',[],''],
	['PAGE','40599',jdecode('Wir+%C3%BCber+uns'),jdecode(''),'/40599.html','true',[],''],
	['PAGE','41049',jdecode('Vorstand'),jdecode(''),'/41049.html','true',[],''],
	['PAGE','40617',jdecode('Treffpunkt'),jdecode(''),'/40617.html','true',[],''],
	['PAGE','41998',jdecode('Bildergalerie'),jdecode(''),'/41998/home.html','true',[ 
		['PAGE','42601',jdecode('Sommerfest+2011'),jdecode(''),'/41998/42601.html','false',[],''],
		['PAGE','42103',jdecode('Bilder+2010'),jdecode(''),'/41998/42103.html','false',[],''],
		['PAGE','45901',jdecode('Saisonabschlu%C3%9F+2010-11'),jdecode(''),'/41998/45901.html','false',[],''],
		['PAGE','42200',jdecode('Bilder+2011'),jdecode(''),'/41998/42200.html','false',[],''],
		['PAGE','50701',jdecode('Schalke+-+Wolfsburg+09.April'),jdecode(''),'/41998/50701.html','false',[],''],
		['PAGE','54801',jdecode('Schalke+-+K%C3%B6ln'),jdecode(''),'/41998/54801.html','false',[],''],
		['PAGE','61501',jdecode('Weihnachtsfeier+2011'),jdecode(''),'/41998/61501.html','false',[],'']
	],''],
	['PAGE','41275',jdecode('Satzung'),jdecode(''),'/41275.html','true',[],''],
	['PAGE','40590',jdecode('Fanartikel'),jdecode(''),'/40590.html','true',[],''],
	['PAGE','41240',jdecode('Saison+S04'),jdecode(''),'/41240.html','true',[],''],
	['PAGE','40772',jdecode('G%C3%A4stebuch'),jdecode(''),'/40772/home.html','true',[ 
		['PAGE','40771',jdecode('Eintr%C3%A4ge'),jdecode(''),'/40772/40771.html','true',[],'']
	],''],
	['PAGE','41058',jdecode('Links'),jdecode(''),'/41058.html','true',[],''],
	['PAGE','40635',jdecode('Impressum'),jdecode(''),'/40635.html','true',[],'']];
var siteelementCount=20;
theSitetree.topTemplateName='Dynamics';
theSitetree.paletteFamily='94B9DE';
theSitetree.keyvisualId='11184';
theSitetree.keyvisualName='kv_11184.jpg';
theSitetree.fontsetId='32090';
theSitetree.graphicsetId='13890';
theSitetree.contentColor='68809C';
theSitetree.contentBGColor='94B9DE';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Dynamics',
				paletteFamily: 	'94B9DE',
				keyvisualId: 	'11184',
				keyvisualName: 	'kv_11184.jpg',
				fontsetId: 		'32090',
				graphicsetId: 	'13890',
				contentColor: 	'68809C',
				contentBGColor: '94B9DE',
				a_color: 		'000000',
				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:  '39994',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39994',
internalId:  '',
customField: '20120221-191637'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40635',
internalId:  '',
customField: '20110212-213635'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '54801',
internalId:  '',
customField: '20110905-183943'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '50701',
internalId:  '',
customField: '20110703-211438'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40617',
internalId:  '',
customField: '20100905-133031'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40590',
internalId:  '',
customField: '20110703-164605'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40581',
internalId:  '',
customField: '20120221-192443'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40599',
internalId:  '',
customField: '20090524-084807'
};
webappMappings['1002']=webappMappings['1002-40772atoix0ir4fpp']={
webappId:    '1002',
documentId:  '40772',
internalId:  '40772atoix0ir4fpp',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-40772atoix0ir4fpp']={
webappId:    '1002',
documentId:  '40771',
internalId:  '40772atoix0ir4fpp',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40772',
internalId:  '',
customField: '20081116-184902'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40771',
internalId:  '',
customField: '20081116-184902'
};
webappMappings['1007']=webappMappings['1007-1323a6bf4c6']={
webappId:    '1007',
documentId:  '54801',
internalId:  '1323a6bf4c6',
customField: 'g.168t6f9nt.k3ankpnke.3o'
};
webappMappings['1007']=webappMappings['1007-130f167e385']={
webappId:    '1007',
documentId:  '50701',
internalId:  '130f167e385',
customField: 'g.163om5rus.1kldt8n3u9.3o'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41049',
internalId:  '',
customField: '20110414-222246'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41058',
internalId:  '',
customField: '20090517-165045'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45901',
internalId:  '',
customField: '20110703-194534'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41240',
internalId:  '',
customField: '20100905-141825'
};
webappMappings['7091']=webappMappings['7091-52432']={
webappId:    '7091',
documentId:  '41240',
internalId:  '52432',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['7091']=webappMappings['7091-52431']={
webappId:    '7091',
documentId:  '41240',
internalId:  '52431',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['7091']=webappMappings['7091-52430']={
webappId:    '7091',
documentId:  '41240',
internalId:  '52430',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41275',
internalId:  '',
customField: '20090524-185554'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '61501',
internalId:  '',
customField: '20120221-221355'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41998',
internalId:  '',
customField: '20110703-155110'
};
webappMappings['1007']=webappMappings['1007-130f1077815']={
webappId:    '1007',
documentId:  '45901',
internalId:  '130f1077815',
customField: 'g.163og9nm3.37ua9qvq26h.3o'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42601',
internalId:  '',
customField: '20110703-160229'
};
webappMappings['1007']=webappMappings['1007-130f040bf1b']={
webappId:    '1007',
documentId:  '42601',
internalId:  '130f040bf1b',
customField: 'g.163o3tuqq.ocr1p5q4it.3o'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42103',
internalId:  '',
customField: '20110619-204355'
};
webappMappings['1007']=webappMappings['1007-135a1c373bc']={
webappId:    '1007',
documentId:  '61501',
internalId:  '135a1c373bc',
customField: 'g.16mgrrsbq.l2u88hohof.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42200',
internalId:  '',
customField: '20110905-183239'
};
webappMappings['1501']=webappMappings['1501-54518761']={
webappId:    '1501',
documentId:  '39994',
internalId:  '54518761',
customField: '1501'
};
var canonHostname = 'c4awrk04.aul.t-online.de';
var accountId     = 'ATOIX0IR4FPP';
var companyName   = 'Schalke+FanClub+Tausend-Feuer-OWL';
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 */					                                                            

