/* [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','13801',jdecode('Home'),jdecode(''),'/13801.html','true',[],''],
	['PAGE','44501',jdecode('Aktionen'),jdecode(''),'/44501.html','true',[],''],
	['PAGE','13812',jdecode('Karten%26Bestellung'),jdecode(''),'/13812.html','true',[],''],
	['PAGE','44522',jdecode('weitere+Leistungen'),jdecode(''),'/44522.html','true',[],''],
	['PAGE','41601',jdecode('G%C3%A4stebuch-Formular+%28Folgeseite%29'),jdecode(''),'/41601.html','false',[],''],
	['PAGE','44564',jdecode('Befreundete+Seiten'),jdecode(''),'/44564.html','true',[],''],
	['PAGE','45306',jdecode('G%C3%A4stebuch'),jdecode(''),'/45306/home.html','true',[ 
		['PAGE','45301',jdecode('Eintr%C3%A4ge'),jdecode(''),'/45306/45301.html','true',[],'']
	],''],
	['PAGE','45601',jdecode('Kontakt+%2F+Impressum+%2F+Anfahrt'),jdecode(''),'/45601.html','true',[],'']];
var siteelementCount=9;
theSitetree.topTemplateName='TOI_Automobil_01';
theSitetree.paletteFamily='D22F2F';
theSitetree.keyvisualId='12226';
theSitetree.keyvisualName='kv_12226.jpg';
theSitetree.fontsetId='33386';
theSitetree.graphicsetId='14218';
theSitetree.contentColor='AEAEAE';
theSitetree.contentBGColor='2C2C2C';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'TOI_Automobil_01',
				paletteFamily: 	'D22F2F',
				keyvisualId: 	'12226',
				keyvisualName: 	'kv_12226.jpg',
				fontsetId: 		'33386',
				graphicsetId: 	'14218',
				contentColor: 	'AEAEAE',
				contentBGColor: '2C2C2C',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1005']=webappMappings['1005-12876b9f792.fafbdf33']={
webappId:    '1005',
documentId:  '13801',
internalId:  '12876b9f792.fafbdf33',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45306',
internalId:  '',
customField: '20100508-085725'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44564',
internalId:  '',
customField: '20100508-102753'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13801',
internalId:  '',
customField: '20100905-104103'
};
webappMappings['1008']=webappMappings['1008-31731850']={
webappId:    '1008',
documentId:  '13812',
internalId:  '31731850',
customField: 'de:DE:'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41601',
internalId:  '',
customField: '20100508-094731'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45301',
internalId:  '',
customField: '20100508-085725'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13812',
internalId:  '',
customField: '20100508-132114'
};
webappMappings['1001']=webappMappings['1001-atoix0iner6x106463bfe76']={
webappId:    '1001',
documentId:  '41601',
internalId:  'atoix0iner6x106463bfe76',
customField: 'followUp'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44501',
internalId:  '',
customField: '20100508-103420'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44522',
internalId:  '',
customField: '20100508-085451'
};
webappMappings['1002']=webappMappings['1002-45306atoix0iner6x']={
webappId:    '1002',
documentId:  '45306',
internalId:  '45306atoix0iner6x',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-45306atoix0iner6x']={
webappId:    '1002',
documentId:  '45301',
internalId:  '45306atoix0iner6x',
customField: 'action=list'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '45601',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45601',
internalId:  '',
customField: '20100508-132144'
};
var canonHostname = 'c4awrk08.aul.t-online.de';
var accountId     = 'ATOIX0INER6X';
var companyName   = 'Der+Pizzalieferservice+in+J%C3%BCchsen';
var htmlTitle	  = 'Pizzalieferservice+J%C3%BCchsen+in+der+Gemeinde+Grabfeld+%2F+OT+J%C3%BCchsen+Die+besseren+Pizzen+Nudeln+Salate';
var metaKeywords  = '+Pizza+J%C3%BCchsen%2CPizza+Juechsen%2CJ%C3%BCchsen%2CJuechsen%2Cj%C3%BCchsen+pizza%2Cjuechsen+pizza%2CAktionen%2CPabatte%2CKarte%2C+Preise%2CNeubrunn%2CHaina%2CMeiningen%2C+Thueringen%2C+Foto%2C+Fotostudio+J%C3%BCchsen%2C+Fotogen%2C+Fotogen+J%C3%BCchsen%2C+Foto+sachse+j%C3%BCchsen%2C+Pizza+Meiningen%2C+036+%2C+Bau%2C+Bauservice%2C+Maler%2C+Hausmeister%2C+Service%2C+Putz%2C+Farbe%2C+Lacke%2C+Th%C3%BCringen%2C+J%C3%BCchsen%2C+Juechsen%2C+Service%2C+Gemeinde%2C+Vereine%2C+Sport%2C+Tischtennis%2C+Pizza%2C+Maler+%2C+Meiningen%2C++R%C3%B6mhild%2C+Suhl%2C+Oberhof%2C+St%C3%A4dte+und+Gemeinden%2C+Meiningen%2C+Gemeinde+Grabfeld%2C+J%C3%BCchsen%2C+Hildburghausen%2C+Foto%2C+Foto+sachse%2C+Foto+gen%2C+Studio+Fotogen%2C+Foto+J%C3%BCchsen%2C+pizza+j%C3%BCchsen%2C+foto+meiningen%2C+foto+grabfeld%2C+Fotodesign%2C+Holzhausen%2C+Design%2C+Studio%2C+Wassergasse+15%2C+Trockengasse+15';
var metaContents  = 'Hier+finden+Sie+alles+Wichtige+%C3%BCber+unsere+Leistungen+bez%C3%BCglich+Online+Bestellung%2C+Karten+und+Preise%2C+Aktuellste+Rabattaktionen+und+zus%C3%A4tzlich+weitere+Infos+%C3%BCber+unsere+anderen+Aktivit%C3%A4ten+z.B.%3A+mit+unserem+Fotostudio+Sachse+in+J%C3%BCchsen+';
					                                                                    
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 */					                                                            
