/* [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('Home'),jdecode(''),'/4579.html','true',[],''],
	['PAGE','19550',jdecode('Elefantenleben'),jdecode(''),'/19550.html','true',[],''],
	['PAGE','40101',jdecode('Dierenpark+Emmen'),jdecode(''),'/40101/home.html','true',[ 
		['PAGE','40122',jdecode('Emmener+Essenzen'),jdecode(''),'/40101/40122.html','true',[],'']
	],''],
	['PAGE','27961',jdecode('Th%C3%BCringer+Zoopark'),jdecode(''),'/27961/home.html','true',[ 
		['PAGE','27970',jdecode('Bestand'),jdecode(''),'/27961/27970.html','true',[],''],
		['PAGE','27979',jdecode('Haltung+bis+2005'),jdecode(''),'/27961/27979.html','true',[],''],
		['PAGE','27997',jdecode('Haltung+heute'),jdecode(''),'/27961/27997.html','true',[],''],
		['PAGE','27988',jdecode('Pl%C3%A4ne+f%C3%BCr+morgen'),jdecode(''),'/27961/27988.html','true',[],'']
	],''],
	['PAGE','18706',jdecode('weitere+Zoos'),jdecode(''),'/18706.html','true',[],''],
	['PAGE','18733',jdecode('Beobachtungen'),jdecode(''),'/18733.html','true',[],''],
	['PAGE','27469',jdecode('Aktuelles'),jdecode(''),'/27469/home.html','true',[ 
		['PAGE','27273',jdecode('2008+-+2007'),jdecode(''),'/27469/27273.html','true',[],''],
		['PAGE','18679',jdecode('2004+-+2006'),jdecode(''),'/27469/18679.html','true',[],''],
		['PAGE','19577',jdecode('2003'),jdecode(''),'/27469/19577.html','true',[],'']
	],''],
	['PAGE','22950',jdecode('Post+an+Aishu'),jdecode(''),'/22950.html','false',[],''],
	['PAGE','22550',jdecode('%C3%9Cber+Aishu'),jdecode(''),'/22550/home.html','true',[ 
		['PAGE','22597',jdecode('Home+%28Folgeseite%29'),jdecode(''),'/22550/22597.html','false',[],'']
	],''],
	['PAGE','13946',jdecode('G%C3%A4stebuch'),jdecode(''),'/13946/home.html','true',[ 
		['PAGE','13947',jdecode('Eintr%C3%A4ge'),jdecode(''),'/13946/13947.html','true',[],'']
	],'']];
var siteelementCount=20;
theSitetree.topTemplateName='Akropolis';
theSitetree.paletteFamily='A4A4AC';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10553';
theSitetree.graphicsetId='10451';
theSitetree.contentColor='1d1d20';
theSitetree.contentBGColor='A4A4AC';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Akropolis',
				paletteFamily: 	'A4A4AC',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10553',
				graphicsetId: 	'10451',
				contentColor: 	'1d1d20',
				contentBGColor: 'A4A4AC',
				a_color: 		'A4A4AC',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1002']=webappMappings['1002-13946ATOIX0INL18G']={
webappId:    '1002',
documentId:  '13946',
internalId:  '13946ATOIX0INL18G',
customField: 'action=form&icq=false'
};
webappMappings['1501']=webappMappings['1501-1521352']={
webappId:    '1501',
documentId:  '4579',
internalId:  '1521352',
customField: '1501'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '4579',
internalId:  '1006',
customField: '1006'
};
webappMappings['1001']=webappMappings['1001-atoix0inl18g8a3035e19d650903']={
webappId:    '1001',
documentId:  '22550',
internalId:  'atoix0inl18g8a3035e19d650903',
customField: ''
};
webappMappings['1001']=webappMappings['1001-atoix0inl18g8a3035e19d650903']={
webappId:    '1001',
documentId:  '22597',
internalId:  'atoix0inl18g8a3035e19d650903',
customField: 'followUp'
};
webappMappings['1002']=webappMappings['1002-13946ATOIX0INL18G']={
webappId:    '1002',
documentId:  '13947',
internalId:  '13946ATOIX0INL18G',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4579',
internalId:  '',
customField: '20110306-191216'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18679',
internalId:  '',
customField: '20080518-184833'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19550',
internalId:  '',
customField: '20101010-172702'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18706',
internalId:  '',
customField: '20070826-171502'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18733',
internalId:  '',
customField: '20040727-223938'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19577',
internalId:  '',
customField: '20090322-173947'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22950',
internalId:  '',
customField: '20041024-221336'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22550',
internalId:  '',
customField: '20050125-194250'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22597',
internalId:  '',
customField: '20040808-163425'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13946',
internalId:  '',
customField: '20040531-181228'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13947',
internalId:  '',
customField: '20040118-185741'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27469',
internalId:  '',
customField: '20110510-174723'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27273',
internalId:  '',
customField: '20090517-153005'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27961',
internalId:  '',
customField: '20111231-164650'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27970',
internalId:  '',
customField: '20100829-164836'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27979',
internalId:  '',
customField: '20100830-200716'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27997',
internalId:  '',
customField: '20120101-193649'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27988',
internalId:  '',
customField: '20120122-154548'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40101',
internalId:  '',
customField: '20110814-194238'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40122',
internalId:  '',
customField: '20110814-191713'
};
var canonHostname = 'c4awrk02.aul.t-online.de';
var accountId     = 'ATOIX0INL18G';
var companyName   = 'Elefanten+in+Zoos+und+Safariparks';
var htmlTitle	  = 'Aishu+war+ein+Elefant';
var metaKeywords  = 'Elefant%2C+verhaltensgerecht%2C+Zoo%2C+Safaripark%2C+Tierpark%2C+Dickh%C3%A4uter%2C+Elefantenfamiliengruppen';
var metaContents  = 'Auf+diesen+Seite+finden+Sie+Informationen+%C3%BCber+die+Elefantenhaltung+in+Zoos+und+Safariparks.';
					                                                                    
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 */					                                                            

