/* [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','18023',jdecode('Startseite'),jdecode(''),'/18023.html','true',[],''],
	['PAGE','566314',jdecode('Aktuelles'),jdecode(''),'/566314/home.html','true',[ 
		['PAGE','737114',jdecode('News-Archiv+09%2F08'),jdecode(''),'/566314/737114.html','true',[],''],
		['PAGE','87701',jdecode('News-Archiv+08%2F07'),jdecode(''),'/566314/87701.html','true',[],'']
	],''],
	['PAGE','595414',jdecode('Termine'),jdecode(''),'/595414.html','true',[],''],
	['PAGE','447014',jdecode('Spiel-Betrieb'),jdecode(''),'/447014/home.html','true',[ 
		['PAGE','26301',jdecode('Training'),jdecode(''),'/447014/26301.html','true',[],''],
		['PAGE','437114',jdecode('Heim-Anlage'),jdecode(''),'/447014/437114.html','true',[],''],
		['PAGE','271914',jdecode('Ergebnisse'),jdecode(''),'/447014/271914.html','false',[],''],
		['PAGE','282414',jdecode('Vereins+-+RL'),jdecode(''),'/447014/282414.html','false',[],''],
		['PAGE','88601',jdecode('Mannschaften'),jdecode(''),'/447014/88601.html','false',[],''],
		['PAGE','96901',jdecode('Spieler-Profile'),jdecode(''),'/447014/96901.html','false',[],'']
	],''],
	['PAGE','626814',jdecode('Sport-Berichte'),jdecode(''),'/626814/home.html','true',[ 
		['PAGE','736614',jdecode('Saison+2010-08'),jdecode(''),'/626814/736614.html','true',[],''],
		['PAGE','439835',jdecode('Saison+2008%2F07'),jdecode(''),'/626814/439835.html','true',[],''],
		['PAGE','207614',jdecode('Saison+2007%2F06'),jdecode(''),'/626814/207614.html','true',[],''],
		['PAGE','95901',jdecode('Saison+2006%2F05'),jdecode(''),'/626814/95901.html','true',[],''],
		['PAGE','95906',jdecode('Saison+2005%2F04'),jdecode(''),'/626814/95906.html','true',[],'']
	],''],
	['PAGE','500014',jdecode('Bilder-Galerie'),jdecode(''),'/500014/home.html','true',[ 
		['PAGE','107201',jdecode('Archiv+2007-2004'),jdecode(''),'/500014/107201.html','true',[],''],
		['PAGE','353314',jdecode('Video-Seite'),jdecode(''),'/500014/353314.html','true',[],''],
		['PAGE','492714',jdecode('Rechts-Hinweis'),jdecode(''),'/500014/492714.html','false',[],'']
	],''],
	['PAGE','270114',jdecode('Wir+%C3%BCber+uns'),jdecode(''),'/270114/home.html','true',[ 
		['PAGE','398014',jdecode('Internes'),jdecode(''),'/270114/398014.html','false',[],''],
		['PAGE','95101',jdecode('Vorstand'),jdecode(''),'/270114/95101.html','true',[],''],
		['PAGE','268635',jdecode('Satzungen'),jdecode(''),'/270114/268635.html','true',[],''],
		['PAGE','270835',jdecode('Mtgl.-Antrag'),jdecode(''),'/270114/270835.html','true',[],'']
	],''],
	['PAGE','92801',jdecode('Unsere+Partner'),jdecode(''),'/92801.html','true',[],''],
	['PAGE','199805',jdecode('G%C3%A4stebuch'),jdecode(''),'/199805/home.html','true',[ 
		['PAGE','199800',jdecode('Eintr%C3%A4ge'),jdecode(''),'/199805/199800.html','true',[],'']
	],''],
	['PAGE','23491',jdecode('Sport-Links'),jdecode(''),'/23491.html','true',[],''],
	['PAGE','18317',jdecode('Impressum'),jdecode(''),'/18317.html','true',[],'']];
var siteelementCount=32;
theSitetree.topTemplateName='TOI_Health_1';
theSitetree.paletteFamily='F7F4F2';
theSitetree.keyvisualId='10592';
theSitetree.keyvisualName='kv_10592.jpg';
theSitetree.fontsetId='31749';
theSitetree.graphicsetId='13516';
theSitetree.contentColor='534F48';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'TOI_Health_1',
				paletteFamily: 	'F7F4F2',
				keyvisualId: 	'10592',
				keyvisualName: 	'kv_10592.jpg',
				fontsetId: 		'31749',
				graphicsetId: 	'13516',
				contentColor: 	'534F48',
				contentBGColor: 'FFFFFF',
				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['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18023',
internalId:  '',
customField: '20120207-224924'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '18023',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '492714',
internalId:  '',
customField: '20071027-151850'
};
webappMappings['1002']=webappMappings['1002-199805atoix0in2322']={
webappId:    '1002',
documentId:  '199800',
internalId:  '199805atoix0in2322',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '736614',
internalId:  '',
customField: '20090918-133741'
};
webappMappings['1002']=webappMappings['1002-199805atoix0in2322']={
webappId:    '1002',
documentId:  '199805',
internalId:  '199805atoix0in2322',
customField: 'action=form&icq=false'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '207614',
internalId:  '',
customField: '20080917-143537'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '87701',
internalId:  '',
customField: '20100112-233026'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26301',
internalId:  '',
customField: '20111009-123257'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '626814',
internalId:  '',
customField: '20111017-162011'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '95901',
internalId:  '',
customField: '20070321-181341'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '95906',
internalId:  '',
customField: '20051115-175519'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '271914',
internalId:  '',
customField: '20101001-144826'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '88601',
internalId:  '',
customField: '20110213-204605'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '96901',
internalId:  '',
customField: '20111014-225316'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '107201',
internalId:  '',
customField: '20090918-140822'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '199805',
internalId:  '',
customField: '20080722-184021'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '199800',
internalId:  '',
customField: '20080722-183917'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '737114',
internalId:  '',
customField: '20100112-232842'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23491',
internalId:  '',
customField: '20100303-121933'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '270114',
internalId:  '',
customField: '20100303-201842'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '95101',
internalId:  '',
customField: '20111230-225947'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '439835',
internalId:  '',
customField: '20080917-143634'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '92801',
internalId:  '',
customField: '20110720-143710'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '268635',
internalId:  '',
customField: '20100705-145308'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '282414',
internalId:  '',
customField: '20101122-163153'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '270835',
internalId:  '',
customField: '20090803-192245'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18317',
internalId:  '',
customField: '20090624-204915'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '353314',
internalId:  '',
customField: '20100514-124931'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '447014',
internalId:  '',
customField: '20111014-234326'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '398014',
internalId:  '',
customField: '20101116-132224'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '437114',
internalId:  '',
customField: '20090324-153721'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '595414',
internalId:  '',
customField: '20120207-225940'
};
webappMappings['3001']=webappMappings['3001-']={
webappId:    '3001',
documentId:  '398014',
internalId:  '',
customField: ''
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '500014',
internalId:  '',
customField: '20100927-154440'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '566314',
internalId:  '',
customField: '20120114-142511'
};
var canonHostname = 'c4awrk02.aul.t-online.de';
var accountId     = 'ATOIX0IN2322';
var companyName   = 'Squash+Club+Nagold-G%C3%A4ufelden+e.V.+-+in+der+ARAMIS-Sportwelt+Nebringen';
var htmlTitle	  = 'Squash+Club+Nagold-G%C3%A4ufelden+e.V.++-+in+der++ARAMIS-Sportwelt+Nebringen';
var metaKeywords  = 'Squash%2C+Racketsport%2C+R%C3%BCckschlagsport';
var metaContents  = 'Homepage+des+Squash+Club+Nagold-G%C3%A4ufelden+e.V.++-+in+der+ARAMIS-Sportwelt+Nebringen';
					                                                                    
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 */					                                                            

