/* [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','43529',jdecode('News'),jdecode(''),'/43529/home.html','true',[ 
		['PAGE','47701',jdecode('Neujahrsempfang'),jdecode(''),'/43529/47701.html','true',[],''],
		['PAGE','41074',jdecode('Abteilungsversammlung+2012'),jdecode(''),'/43529/41074.html','true',[],''],
		['PAGE','40609',jdecode('Allgemeine+Informationen+zur+Saison+'),jdecode(''),'/43529/40609.html','true',[],'']
	],''],
	['PAGE','40555',jdecode('Wir+%C3%BCber+uns'),jdecode(''),'/40555/home.html','true',[ 
		['PAGE','40573',jdecode('Der+Vorstand'),jdecode(''),'/40555/40573.html','true',[],''],
		['PAGE','40591',jdecode('Die+Trainer'),jdecode(''),'/40555/40591.html','true',[],'']
	],''],
	['PAGE','40627',jdecode('Mannschaftssport'),jdecode(''),'/40627/home.html','true',[ 
		['PAGE','41064',jdecode('Team-Tennis+2012'),jdecode(''),'/40627/41064.html','true',[],''],
		['PAGE','45766',jdecode('Team-Tennis+2011'),jdecode(''),'/40627/45766.html','false',[],''],
		['PAGE','40636',jdecode('Team-Tennis+2009'),jdecode(''),'/40627/40636.html','false',[],'']
	],''],
	['PAGE','40645',jdecode('Jugend'),jdecode(''),'/40645/home.html','true',[ 
		['PAGE','43728',jdecode('Team-Tennis+2012'),jdecode(''),'/40645/43728.html','true',[],''],
		['PAGE','43737',jdecode('Turniere'),jdecode(''),'/40645/43737.html','true',[],''],
		['PAGE','43719',jdecode('Training'),jdecode(''),'/40645/43719.html','true',[],''],
		['PAGE','44410',jdecode('Montag'),jdecode(''),'/40645/44410.html','false',[],''],
		['PAGE','44419',jdecode('Dienstag'),jdecode(''),'/40645/44419.html','false',[],''],
		['PAGE','44593',jdecode('Mittwoch'),jdecode(''),'/40645/44593.html','false',[],''],
		['PAGE','44602',jdecode('Donnerstag'),jdecode(''),'/40645/44602.html','false',[],''],
		['PAGE','44611',jdecode('Freitag'),jdecode(''),'/40645/44611.html','false',[],''],
		['PAGE','44620',jdecode('Samstag'),jdecode(''),'/40645/44620.html','false',[],''],
		['PAGE','44629',jdecode('Sonntag'),jdecode(''),'/40645/44629.html','false',[],'']
	],''],
	['PAGE','40618',jdecode('Mitgliedschaft'),jdecode(''),'/40618/home.html','true',[ 
		['PAGE','40663',jdecode('Mitgliedsbeitr%C3%A4ge'),jdecode(''),'/40618/40663.html','true',[],''],
		['PAGE','51101',jdecode('Gastspiele'),jdecode(''),'/40618/51101.html','true',[],''],
		['PAGE','42819',jdecode('Die+finanzielle+Lage+'),jdecode(''),'/40618/42819.html','true',[],'']
	],''],
	['PAGE','51601',jdecode('Tennispl%C3%A4tze'),jdecode(''),'/51601.html','true',[],''],
	['PAGE','40564',jdecode('Tennisheim'),jdecode(''),'/40564.html','true',[],''],
	['PAGE','45349',jdecode('Tennishalle'),jdecode(''),'/45349/home.html','true',[ 
		['PAGE','45367',jdecode('Belegungsplan+2010%2F11'),jdecode(''),'/45349/45367.html','true',[],'']
	],''],
	['PAGE','40654',jdecode('Termine'),jdecode(''),'/40654.html','true',[],''],
	['PAGE','40600',jdecode('Forum'),jdecode(''),'/40600.html','true',[],''],
	['PAGE','43520',jdecode('Fotoalben'),jdecode(''),'/43520/home.html','true',[ 
		['PAGE','43636',jdecode('Sommer-%2FWinterfeste'),jdecode(''),'/43520/43636.html','true',[],''],
		['PAGE','43603',jdecode('Feiern+im+Tennisheim'),jdecode(''),'/43520/43603.html','true',[],''],
		['PAGE','43562',jdecode('Wanderungen'),jdecode(''),'/43520/43562.html','true',[],''],
		['PAGE','43651',jdecode('Diverses'),jdecode(''),'/43520/43651.html','true',[],'']
	],''],
	['PAGE','40672',jdecode('Kontakt'),jdecode(''),'/40672.html','true',[],''],
	['PAGE','40690',jdecode('Impressum'),jdecode(''),'/40690.html','true',[],''],
	['PAGE','43132',jdecode('Anfahrt'),jdecode(''),'/43132.html','true',[],''],
	['PAGE','40681',jdecode('Links'),jdecode(''),'/40681.html','true',[],''],
	['PAGE','43575',jdecode('G%C3%A4stebuch'),jdecode(''),'/43575/home.html','true',[ 
		['PAGE','43574',jdecode('Eintr%C3%A4ge'),jdecode(''),'/43575/43574.html','true',[],'']
	],''],
	['PAGE','43645',jdecode('Diverses'),jdecode(''),'/43645.html','true',[],'']];
var siteelementCount=45;
theSitetree.topTemplateName='Sports02';
theSitetree.paletteFamily='D74E03';
theSitetree.keyvisualId='11006';
theSitetree.keyvisualName='kv_11006.jpg';
theSitetree.fontsetId='31930';
theSitetree.graphicsetId='13750';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='D74E03';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Sports02',
				paletteFamily: 	'D74E03',
				keyvisualId: 	'11006',
				keyvisualName: 	'kv_11006.jpg',
				fontsetId: 		'31930',
				graphicsetId: 	'13750',
				contentColor: 	'FFFFFF',
				contentBGColor: 'D74E03',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				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: '20120218-213011'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40555',
internalId:  '',
customField: '20120212-175559'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40627',
internalId:  '',
customField: '20120216-194509'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40690',
internalId:  '',
customField: '20120212-174154'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40573',
internalId:  '',
customField: '20120212-181438'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40600',
internalId:  '',
customField: '20100206-130723'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40591',
internalId:  '',
customField: '20120218-213830'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40564',
internalId:  '',
customField: '20120212-151532'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40609',
internalId:  '',
customField: '20100805-001741'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41074',
internalId:  '',
customField: '20120209-211635'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40618',
internalId:  '',
customField: '20110220-142502'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40663',
internalId:  '',
customField: '20120212-182046'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40645',
internalId:  '',
customField: '20120218-211847'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40636',
internalId:  '',
customField: '20100112-233141'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41064',
internalId:  '',
customField: '20120216-193635'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40654',
internalId:  '',
customField: '20120212-180415'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40672',
internalId:  '',
customField: '20120218-213450'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40681',
internalId:  '',
customField: '20120216-194530'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42819',
internalId:  '',
customField: '20120212-172805'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '43132',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43132',
internalId:  '',
customField: '20120212-174553'
};
webappMappings['1003']=webappMappings['1003-atoix0iryxbk1269ee0454f']={
webappId:    '1003',
documentId:  '40600',
internalId:  'atoix0iryxbk1269ee0454f',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43529',
internalId:  '',
customField: '20120212-180311'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43520',
internalId:  '',
customField: '20100213-192149'
};
webappMappings['1007']=webappMappings['1007-126a344ce41']={
webappId:    '1007',
documentId:  '43562',
internalId:  '126a344ce41',
customField: 'g.14qhj24k2.3ub9b025vr9.1s'
};
webappMappings['1002']=webappMappings['1002-43575atoix0iryxbk']={
webappId:    '1002',
documentId:  '43575',
internalId:  '43575atoix0iryxbk',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-43575atoix0iryxbk']={
webappId:    '1002',
documentId:  '43574',
internalId:  '43575atoix0iryxbk',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43575',
internalId:  '',
customField: '20120212-183645'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43562',
internalId:  '',
customField: '20100206-134430'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43574',
internalId:  '',
customField: '20100206-133431'
};
webappMappings['7060']=webappMappings['7060-5a3f46d7ff717a65f2615c164b8603fd']={
webappId:    '7060',
documentId:  '43603',
internalId:  '5a3f46d7ff717a65f2615c164b8603fd',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43603',
internalId:  '',
customField: '20100213-192542'
};
webappMappings['7060']=webappMappings['7060-5d5d1837e5b1ee64d932ce1a75ab57b4']={
webappId:    '7060',
documentId:  '43636',
internalId:  '5d5d1837e5b1ee64d932ce1a75ab57b4',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43636',
internalId:  '',
customField: '20100213-192457'
};
webappMappings['7060']=webappMappings['7060-91c7066e28716a6fa5f70d4c01584676']={
webappId:    '7060',
documentId:  '43645',
internalId:  '91c7066e28716a6fa5f70d4c01584676',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43651',
internalId:  '',
customField: '20100213-192849'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43645',
internalId:  '',
customField: '20120212-183433'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45349',
internalId:  '',
customField: '20101116-090546'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43737',
internalId:  '',
customField: '20100227-164555'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43728',
internalId:  '',
customField: '20120212-155101'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43719',
internalId:  '',
customField: '20120218-212429'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44410',
internalId:  '',
customField: '20100314-193119'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44419',
internalId:  '',
customField: '20100314-193227'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44593',
internalId:  '',
customField: '20100314-193314'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44602',
internalId:  '',
customField: '20100314-193407'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44611',
internalId:  '',
customField: '20100314-193504'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44620',
internalId:  '',
customField: '20100314-193548'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44629',
internalId:  '',
customField: '20100314-193629'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45367',
internalId:  '',
customField: '20101116-085150'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45766',
internalId:  '',
customField: '20120212-160855'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47701',
internalId:  '',
customField: '20120212-180641'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '51101',
internalId:  '',
customField: '20120212-182555'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '51601',
internalId:  '',
customField: '20120212-175522'
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0IRYXBK';
var companyName   = 'Tennisabteilung+des+TuS+Griesheim';
var htmlTitle	  = 'TuS+Griesheim+Tennis';
var metaKeywords  = 'Termine+Mannschaften+Jugendarbeit+Mitgliedschaft+Vorstand+Tennisheim+Fotos+Anfahrt';
var metaContents  = 'Tennisabteilung+des+TuS+Griesheim';
					                                                                    
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 */					                                                            

