/* [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','41842',jdecode('Wir+%C3%BCber+uns'),jdecode(''),'/41842.html','true',[],''],
	['PAGE','41782',jdecode('Das+Speiseeis'),jdecode(''),'/41782/home.html','true',[ 
		['PAGE','48529',jdecode('Wu%C3%9Ften+Sie+schon...%3F'),jdecode(''),'/41782/48529.html','true',[],''],
		['PAGE','55901',jdecode('Laktoseunvertr%C3%A4glichkeit'),jdecode(''),'/41782/55901.html','true',[],'']
	],''],
	['PAGE','87301',jdecode('Unser+Angebot'),jdecode(''),'/87301.html','true',[],''],
	['PAGE','81901',jdecode('Bildergalerie'),jdecode(''),'/81901/home.html','true',[ 
		['PAGE','81501',jdecode('Eiscaf%C3%A8'),jdecode(''),'/81901/81501.html','true',[],''],
		['PAGE','77101',jdecode('Unsere+G%C3%A4ste'),jdecode(''),'/81901/77101.html','true',[],'']
	],''],
	['PAGE','41800',jdecode('G%C3%A4stebuch'),jdecode(''),'/41800/home.html','true',[ 
		['PAGE','41801',jdecode('Eintrag+ins+G%C3%A4stebuch'),jdecode(''),'/41800/41801.html','true',[],'']
	],''],
	['PAGE','41867',jdecode('%C3%96ffnungszeiten'),jdecode(''),'/41867.html','true',[],''],
	['PAGE','67201',jdecode('Ihr+Weg+zu+uns'),jdecode(''),'/67201/home.html','true',[ 
		['PAGE','67801',jdecode('Anfahrt'),jdecode(''),'/67201/67801.html','true',[],'']
	],''],
	['PAGE','50801',jdecode('Lokales+aus+Aschersleben'),jdecode(''),'/50801.html','true',[],''],
	['PAGE','69401',jdecode('Wetter+Sachsen-Anhalt'),jdecode(''),'/69401.html','true',[],''],
	['PAGE','48316',jdecode('Kontaktformular'),jdecode(''),'/48316.html','true',[],''],
	['PAGE','67501',jdecode('Impressum'),jdecode(''),'/67501.html','true',[],'']];
var siteelementCount=18;
theSitetree.topTemplateName='Clearline';
theSitetree.paletteFamily='B71602';
theSitetree.keyvisualId='3291';
theSitetree.keyvisualName='kv_3291.jpg';
theSitetree.fontsetId='10589';
theSitetree.graphicsetId='10715';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Clearline',
				paletteFamily: 	'B71602',
				keyvisualId: 	'3291',
				keyvisualName: 	'kv_3291.jpg',
				fontsetId: 		'10589',
				graphicsetId: 	'10715',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'B71602',
				e_color: 		'989696',
				f_color: 		'989696',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, 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: '20111111-195315'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '67801',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '67501',
internalId:  '',
customField: '20091116-191516'
};
webappMappings['1002']=webappMappings['1002-41801atoix0irk20t']={
webappId:    '1002',
documentId:  '41801',
internalId:  '41801atoix0irk20t',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-41801atoix0irk20t']={
webappId:    '1002',
documentId:  '41800',
internalId:  '41801atoix0irk20t',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41782',
internalId:  '',
customField: '20110816-172637'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41801',
internalId:  '',
customField: '20100711-120240'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41800',
internalId:  '',
customField: '20100711-120227'
};
webappMappings['1501']=webappMappings['1501-46682285']={
webappId:    '1501',
documentId:  '39994',
internalId:  '46682285',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41842',
internalId:  '',
customField: '20120203-172248'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41867',
internalId:  '',
customField: '20111124-104833'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '48316',
internalId:  '',
customField: '20091101-151253'
};
webappMappings['1008']=webappMappings['1008-46951502']={
webappId:    '1008',
documentId:  '48316',
internalId:  '46951502',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '55901',
internalId:  '',
customField: '20110816-172637'
};
webappMappings['2002']=webappMappings['2002-routing']={
webappId:    '2002',
documentId:  '67201',
internalId:  'routing',
customField: 'de_DE'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '67201',
internalId:  '',
customField: '20091116-172541'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '50801',
internalId:  '',
customField: '20100711-120346'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '48529',
internalId:  '',
customField: '20100711-120048'
};
webappMappings['7090']=webappMappings['7090-379919']={
webappId:    '7090',
documentId:  '50801',
internalId:  '379919',
customField: 'type:podcast-1.0;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '67801',
internalId:  '',
customField: '20100711-120312'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '69401',
internalId:  '',
customField: '20100711-120402'
};
webappMappings['1011']=webappMappings['1011-ddp-wetter-sacan']={
webappId:    '1011',
documentId:  '69401',
internalId:  'ddp-wetter-sacan',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '81501',
internalId:  '',
customField: '20100711-120157'
};
webappMappings['1007']=webappMappings['1007-1295605c638']={
webappId:    '1007',
documentId:  '81501',
internalId:  '1295605c638',
customField: 'g.155b09ntl.s29imvcnfn.3o'
};
webappMappings['1007']=webappMappings['1007-1286f83facf']={
webappId:    '1007',
documentId:  '77101',
internalId:  '1286f83facf',
customField: 'g.151no55i8.mhkfel7l56.3o'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '77101',
internalId:  '',
customField: '20100711-120212'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '81901',
internalId:  '',
customField: '20110216-120705'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '87301',
internalId:  '',
customField: '20100730-182828'
};
webappMappings['7091']=webappMappings['7091-58136']={
webappId:    '7091',
documentId:  '39994',
internalId:  '58136',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['7091']=webappMappings['7091-58136']={
webappId:    '7091',
documentId:  '41842',
internalId:  '58136',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['7091']=webappMappings['7091-58136']={
webappId:    '7091',
documentId:  '81901',
internalId:  '58136',
customField: 'align:left;language:de;country:DE;'
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0IRK20T';
var companyName   = 'Eiscafe+Pellegrini+';
var htmlTitle	  = 'Eiscafe+Pellegrini';
var metaKeywords  = 'Eiscafe+Pellegrini%2C+Speiseeis%2C+Aschersleben%2C+Sachsen-Anhalt%2C+Torten%2C+Pellegrini-Eis%2C+Eisspezialit%C3%A4ten%2C+seit+1947%2C+Guido+Pellegrini%2C+bestes+Eis%2C+Eistorten%2C+Eis%2C+Taubenstrasse%2C+Angelo+Pellegrini%2C+M%C3%B6hrenk%C3%B6ppe%2C+%C3%A4lteste+stadt+sachsen-anhalts%2C+Bergeis%2C+Fruchteis%2C+Milcheis%2C+Eiercremeeis%2C+Pizza%2C+Baguette%2C+Sandwich%2C+Ciabatta%2C+Snacks%2C';
var metaContents  = 'Eiscafe+Pellegrini+aus+Aschersleben+stellt+sich+vor.+Original+italienisches+Speiseeis+aus+eigener+herstellung.+Inh.%3A+Guido+Pellegrini';
					                                                                    
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 */					                                                            

