/* [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','4579',jdecode('Willkommen'),jdecode(''),'/4579.html','true',[],''],
	['PAGE','18306',jdecode('Tai-Chi'),jdecode(''),'/18306.html','true',[],''],
	['PAGE','24401',jdecode('Ju-Jitsu'),jdecode(''),'/24401.html','true',[],''],
	['PAGE','43814',jdecode('Kindertraining'),jdecode(''),'/43814.html','true',[],''],
	['PAGE','23401',jdecode('Anja+%26+Andreas+Baron'),jdecode(''),'/23401.html','true',[],''],
	['PAGE','24411',jdecode('Kurse+und+Lehrg%C3%A4nge'),jdecode(''),'/24411.html','true',[],''],
	['PAGE','61814',jdecode('Reise+nach+China+2012'),jdecode(''),'/61814.html','true',[],''],
	['PAGE','24001',jdecode('Ihre+Anmeldung+'),jdecode(''),'/24001/home.html','true',[ 
		['PAGE','46115',jdecode('Ihre+Anmeldung+zum+Kurs+%28Folgeseite%29'),jdecode(''),'/24001/46115.html','false',[],'']
	],''],
	['PAGE','64214',jdecode('Downloads'),jdecode(''),'/64214.html','true',[],'']];
var siteelementCount=10;
theSitetree.topTemplateName='Architekt';
theSitetree.paletteFamily='A95C61';
theSitetree.keyvisualId='1685';
theSitetree.keyvisualName='abendstimmung.jpg';
theSitetree.fontsetId='304';
theSitetree.graphicsetId='345';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='A95C61';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Architekt',
				paletteFamily: 	'A95C61',
				keyvisualId: 	'1685',
				keyvisualName: 	'abendstimmung.jpg',
				fontsetId: 		'304',
				graphicsetId: 	'345',
				contentColor: 	'000000',
				contentBGColor: 'A95C61',
				a_color: 		'A95C61',
				b_color: 		'7F162D',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '4579',
internalId:  '1006',
customField: '1006'
};
webappMappings['1001']=webappMappings['1001-atoix0inxe3p104d7b5d927']={
webappId:    '1001',
documentId:  '24001',
internalId:  'atoix0inxe3p104d7b5d927',
customField: ''
};
webappMappings['1001']=webappMappings['1001-atoix0inxe3p104d7b5d927']={
webappId:    '1001',
documentId:  '46115',
internalId:  'atoix0inxe3p104d7b5d927',
customField: 'followUp'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4579',
internalId:  '',
customField: '20110130-190801'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24411',
internalId:  '',
customField: '20110127-143346'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18306',
internalId:  '',
customField: '20080916-104516'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '61814',
internalId:  '',
customField: '20110127-150511'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24401',
internalId:  '',
customField: '20091120-225032'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43814',
internalId:  '',
customField: '20110130-183846'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23401',
internalId:  '',
customField: '20110130-193306'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '64214',
internalId:  '',
customField: '20110127-150748'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24001',
internalId:  '',
customField: '20090122-094142'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46115',
internalId:  '',
customField: '20050702-152156'
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0INXE3P';
var companyName   = '++Tai-Chi+lernen+in+Magdeburg';
var htmlTitle	  = 'Tai-Chi+Taijiquan+Tai-Chi-Chuan+Jiu+Jitsu+Kindersport+ab+5+Jahre+Magdeburg';
var metaKeywords  = 'Sport%2C+Kampfkunst%2C+Tai-Chi%2C+Taijiquan%2C+Tai-Chi-Chuan%2C+Training%2C+asiatische+Kampf-+und+Bewegungsk%C3%BCnste%2C+Anja+Baron%2C+Andreas+Baron%2C+Entspannungstechniken%2C+Tai-Chi+lernen+in+Magdeburg%2C+www.tai-chi-in-magdeburg.de%2C+Gesundheitssport%2C+Kindersport+ab+5+Jahre%2C+Einf%C3%BChrungskurs+Tai-Chi%2C+asiatische+Kampfkunst+f%C3%BCr+Kinder+und+Jugendliche%2C+Ju+Jitsu%2C+traditionelle+japanische+Selbstverteidigung%2C+Wushu%2C+Kung-Fu%2C+Sport+in+Magdeburg%2C+Sport+gegen+Rheumagesunder+R%C3%BCcken%2C+Wirbels%C3%A4ulengymnastik%2C+R%C3%BCckenschule%2C+Meditation%2C+Kindertraining%2C+Freizeitsport%2C+Freizeitgestaltung%2C+Sport';
var metaContents  = 'Taijiquan+%28Tai-Chi%29+in+Magdeburg+lernen+%21+Auf+diesen+Seiten+erhalten+Sie+Informationen+%C3%BCber+Taijiquan%2C+Kinderkampfsport%2C+Selbstverteidigung%2C+R%C3%BCckentraining+und+Jiu+Jitsu+in+Magdeburg+sowie+einen+%C3%9Cberblick+%C3%BCber+Kurse%2C+Lehrg%C3%A4nge+und+dauerhaftes+Training...';
					                                                                    
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 */					                                                            

