/* [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','16101',jdecode('Willkommen++%22Sawasdee%22'),jdecode(''),'/16101.html','true',[],''],
	['PAGE','16173',jdecode('Speisen+%2B+Men%C3%BCvorschl%C3%A4ge'),jdecode(''),'/16173/home.html','true',[ 
		['PAGE','16194',jdecode('Fingerfood-Buffets'),jdecode(''),'/16173/16194.html','true',[],''],
		['PAGE','16215',jdecode('Men%C3%BC-Buffet-Vorschl%C3%A4ge'),jdecode(''),'/16173/16215.html','true',[],''],
		['PAGE','17801',jdecode('Suppen+und+Spezial-Salate+'),jdecode(''),'/16173/17801.html','true',[],''],
		['PAGE','17822',jdecode('Spezialit%C3%A4ten%3A+Huhn-Rind-Ente'),jdecode(''),'/16173/17822.html','true',[],''],
		['PAGE','21001',jdecode('Fisch+Tintenfisch+Krustentiere+'),jdecode(''),'/16173/21001.html','true',[],''],
		['PAGE','20401',jdecode('Vegetarisch'),jdecode(''),'/16173/20401.html','true',[],''],
		['PAGE','17843',jdecode('Nachspeisen'),jdecode(''),'/16173/17843.html','true',[],''],
		['PAGE','27401',jdecode('GETR%C3%84NKE-Service'),jdecode(''),'/16173/27401.html','true',[],'']
	],''],
	['PAGE','22301',jdecode('Service+und+Verleih'),jdecode(''),'/22301.html','true',[],''],
	['PAGE','34101',jdecode('K%C3%B6nigliche+Auszeichnung'),jdecode(''),'/34101.html','true',[],''],
	['PAGE','16299',jdecode('Referenzen+%2B+Bilder'),jdecode(''),'/16299/home.html','true',[ 
		['PAGE','44301',jdecode('Dankschreiben'),jdecode(''),'/16299/44301.html','true',[],''],
		['PAGE','44701',jdecode('Partybilder'),jdecode(''),'/16299/44701.html','true',[],'']
	],''],
	['PAGE','16320',jdecode('Gesch%C3%A4ftsbedingungen'),jdecode(''),'/16320.html','true',[],''],
	['PAGE','16341',jdecode('Kontakt'),jdecode(''),'/16341/home.html','true',[ 
		['PAGE','17101',jdecode('Kontakt+%28Folgeseite%29'),jdecode(''),'/16341/17101.html','false',[],'']
	],''],
	['PAGE','32001',jdecode('Empfehlungen'),jdecode(''),'/32001.html','true',[],''],
	['PAGE','16404',jdecode('Impressum'),jdecode(''),'/16404.html','true',[],'']];
var siteelementCount=20;
theSitetree.topTemplateName='Angkor';
theSitetree.paletteFamily='879ED6';
theSitetree.keyvisualId='6874';
theSitetree.keyvisualName='kv_6874.jpg';
theSitetree.fontsetId='11211';
theSitetree.graphicsetId='12030';
theSitetree.contentColor='354B86';
theSitetree.contentBGColor='94AAE1';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Angkor',
				paletteFamily: 	'879ED6',
				keyvisualId: 	'6874',
				keyvisualName: 	'kv_6874.jpg',
				fontsetId: 		'11211',
				graphicsetId: 	'12030',
				contentColor: 	'354B86',
				contentBGColor: '94AAE1',
				a_color: 		'94AAE1',
				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['1001']=webappMappings['1001-atoix0in2hvb1088c5d7a1b']={
webappId:    '1001',
documentId:  '16341',
internalId:  'atoix0in2hvb1088c5d7a1b',
customField: ''
};
webappMappings['1001']=webappMappings['1001-atoix0in2hvb1088c5d7a1b']={
webappId:    '1001',
documentId:  '17101',
internalId:  'atoix0in2hvb1088c5d7a1b',
customField: 'followUp'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '16101',
internalId:  '1006',
customField: '1006'
};
webappMappings['1501']=webappMappings['1501-21474576']={
webappId:    '1501',
documentId:  '16101',
internalId:  '21474576',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16101',
internalId:  '',
customField: '20091229-194551'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16404',
internalId:  '',
customField: '20090522-171352'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16173',
internalId:  '',
customField: '20100120-155939'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27401',
internalId:  '',
customField: '20090110-220125'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17843',
internalId:  '',
customField: '20091229-194928'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16194',
internalId:  '',
customField: '20090908-172925'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22301',
internalId:  '',
customField: '20091229-195141'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32001',
internalId:  '',
customField: '20090320-181524'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16215',
internalId:  '',
customField: '20091229-194745'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17801',
internalId:  '',
customField: '20081113-134112'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17822',
internalId:  '',
customField: '20060117-231135'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '21001',
internalId:  '',
customField: '20090110-213034'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20401',
internalId:  '',
customField: '20081113-134255'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '34101',
internalId:  '',
customField: '20100120-162105'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44301',
internalId:  '',
customField: '20090124-143255'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16299',
internalId:  '',
customField: '20100120-163200'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16320',
internalId:  '',
customField: '20091229-195643'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16341',
internalId:  '',
customField: '20060118-090401'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17101',
internalId:  '',
customField: '20060102-192502'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44701',
internalId:  '',
customField: '20090110-222012'
};
var canonHostname = 'cfawrk10.aul.t-online.de';
var accountId     = 'ATOIX0IN2HVB';
var companyName   = 'M%C3%BCnchens+exotischer+Thai-Partyservice%3A';
var htmlTitle	  = 'Sophas+THAI-GOURMET%C2%AE+Thai-Partyservice+-+Thai-Catering+M%C3%BCnchen%2CTel.089%2F5802971%2CFax+089%2F54612091';
var metaKeywords  = 'Partyservice+M%C3%BCnchen%2C+THAI-GOURMET+M%C3%BCnchen%2C+thail%C3%A4ndischer+Partyservice+M%C3%BCnchen%2C+asiatischer+Partyservice+M%C3%BCnchen%2C+exotischer+Partyservice+M%C3%BCnchen%2C+Thai-Catering%2C+asiatisches+Catering%2C+exotisches+Catering%2C+Wok%2C+Thai-Wok%2C+Schaukochen%2C+asiatisches+Essen%2C+thail%C3%A4ndische+Events%2C+Thai+M%C3%BCnchen%2C++';
var metaContents  = 'Sophas+THAI-GOURMET%C2%AE+M%C3%BCnchens+exotischer+Partyservice%2C++Thai-Catering.+Wir+machen+aus+Ihrem+Fest+eine+asiatisches+Feinschmecker-Paradies.+Feinste+Original-Thai-Gerichte%2C+frisch+zubereitet+in+Spitzenqualit%C3%A4t.+Show-Cooking.+Ihre+G%C3%A4ste+werden+begeistert+sein%21++++';
					                                                                    
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 */					                                                            
