/* [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','41943',jdecode('%C3%BCber+uns'),jdecode(''),'/41943.html','true',[],''],
	['PAGE','41952',jdecode('die+Thaimassage'),jdecode(''),'/41952.html','true',[],''],
	['PAGE','41961',jdecode('unsere+Leistungen'),jdecode(''),'/41961.html','true',[],''],
	['PAGE','46401',jdecode('Thaimassage+Kurse'),jdecode(''),'/46401.html','true',[],''],
	['PAGE','41979',jdecode('Zertifikate'),jdecode(''),'/41979.html','true',[],''],
	['PAGE','41988',jdecode('Preisliste'),jdecode(''),'/41988.html','true',[],''],
	['PAGE','41997',jdecode('Gutschein'),jdecode(''),'/41997.html','true',[],''],
	['PAGE','44510',jdecode('Massage-Vorstellungen'),jdecode(''),'/44510/home.html','true',[ 
		['PAGE','44566',jdecode('Vorstellung2'),jdecode(''),'/44510/44566.html','true',[],''],
		['PAGE','44650',jdecode('Vorstellung3'),jdecode(''),'/44510/44650.html','true',[],''],
		['PAGE','44659',jdecode('Vorstellung4'),jdecode(''),'/44510/44659.html','true',[],''],
		['PAGE','44793',jdecode('Vorstellung5'),jdecode(''),'/44510/44793.html','true',[],'']
	],''],
	['PAGE','44284',jdecode('unsere+Praxis'),jdecode(''),'/44284.html','true',[],''],
	['PAGE','44188',jdecode('hier+wohnen+Wir'),jdecode(''),'/44188.html','true',[],''],
	['PAGE','44418',jdecode('Thailand'),jdecode(''),'/44418.html','true',[],''],
	['PAGE','42006',jdecode('Kontakt'),jdecode(''),'/42006.html','true',[],''],
	['PAGE','42015',jdecode('Impressum'),jdecode(''),'/42015.html','true',[],''],
	['PAGE','43905',jdecode('G%C3%A4stebuch'),jdecode(''),'/43905/home.html','true',[ 
		['PAGE','43904',jdecode('Eintr%C3%A4ge'),jdecode(''),'/43905/43904.html','true',[],'']
	],'']];
var siteelementCount=20;
theSitetree.topTemplateName='Groove';
theSitetree.paletteFamily='84C596';
theSitetree.keyvisualId='6009';
theSitetree.keyvisualName='kv_6009.jpg';
theSitetree.fontsetId='11123';
theSitetree.graphicsetId='11918';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='E4E4E6';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Groove',
				paletteFamily: 	'84C596',
				keyvisualId: 	'6009',
				keyvisualName: 	'kv_6009.jpg',
				fontsetId: 		'11123',
				graphicsetId: 	'11918',
				contentColor: 	'000000',
				contentBGColor: 'E4E4E6',
				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:     'true'
			  };
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: '20100719-144734'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41943',
internalId:  '',
customField: '20100326-175426'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41952',
internalId:  '',
customField: '20080904-133945'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41979',
internalId:  '',
customField: '20100415-145210'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44650',
internalId:  '',
customField: '20081220-135253'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41961',
internalId:  '',
customField: '20100319-164936'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41988',
internalId:  '',
customField: '20100204-173155'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41997',
internalId:  '',
customField: '20081220-013909'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42006',
internalId:  '',
customField: '20091116-120734'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42015',
internalId:  '',
customField: '20090702-140135'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44566',
internalId:  '',
customField: '20081220-135201'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44510',
internalId:  '',
customField: '20081220-014639'
};
webappMappings['1002']=webappMappings['1002-43905atoix0ir9hlo']={
webappId:    '1002',
documentId:  '43905',
internalId:  '43905atoix0ir9hlo',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-43905atoix0ir9hlo']={
webappId:    '1002',
documentId:  '43904',
internalId:  '43905atoix0ir9hlo',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43905',
internalId:  '',
customField: '20080805-062836'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43904',
internalId:  '',
customField: '20080805-062836'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44418',
internalId:  '',
customField: '20081220-015605'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44284',
internalId:  '',
customField: '20081220-135527'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44188',
internalId:  '',
customField: '20090702-140803'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44659',
internalId:  '',
customField: '20081220-135323'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44793',
internalId:  '',
customField: '20081220-135349'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46401',
internalId:  '',
customField: '20100517-203632'
};
var canonHostname = 'c4awrk01.aul.t-online.de';
var accountId     = 'ATOIX0IR9HLO';
var companyName   = 'Thongbai+traditionelle+Thaimassage+praxis';
var htmlTitle	  = 'Thongbai+traditionelle+Thaimassage%2C+L%C3%BCbbecke';
var metaKeywords  = 'thaimassage%2C+Thaimassage+Kurse%2C+Laeiad%2C+Fiestelmann%2C+traditionelle+Thaimassage%2C++L%C3%BCbbecke%2C+Thongbai%2C+Schulungen%2C+Fu%C3%9Freflexzonenmassage%2C+%C3%96lmassage%2C+Aromathepie%2C+Fu%C3%9Fmassage%2C+Thailand%2C+Wat+Po%2C+Thongbai+Thaimassage%2C+Gesundheit%2C+Heilkr%C3%A4uter%2C+Kr%C3%A4uterstempel%2C+Stempelmassage%2C+Heilkr%C3%A4utersauna%2C+Dampfsauna%2C+Heilkr%C3%A4uter-Sitzsauna%2C+Massage%2C+Kreis+Minden-L%C3%BCbbecke%2C+Thai-Massage+';
var metaContents  = 'Wir+bieten+Ihnen+eine+traditionelle+Thaimassage+als+nat%C3%BCrliches+Heilmittel+und+verschiedene+Schulungen+der+Thaimassagetechniken+in+L%C3%BCbbecke+an.+';
					                                                                    
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 */					                                                            
