/* [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('Willkommen+bei+Myhli'),jdecode(''),'/4579.html','true',[],''],
	['PAGE','42301',jdecode('Unsere+Aquarien'),jdecode(''),'/42301/home.html','true',[ 
		['PAGE','44101',jdecode('Fische'),jdecode(''),'/42301/44101.html','true',[],'']
	],''],
	['PAGE','28301',jdecode('Unsere+Lampen'),jdecode(''),'/28301.html','true',[],''],
	['PAGE','28343',jdecode('Unsere+Katzen'),jdecode(''),'/28343/home.html','true',[ 
		['PAGE','37801',jdecode('Romeo'),jdecode(''),'/28343/37801.html','true',[],''],
		['PAGE','37822',jdecode('Merlin'),jdecode(''),'/28343/37822.html','true',[],''],
		['PAGE','37843',jdecode('Marsha'),jdecode(''),'/28343/37843.html','true',[],'']
	],''],
	['PAGE','28364',jdecode('Tipps+Aquarium'),jdecode(''),'/28364.html','true',[],''],
	['PAGE','28385',jdecode('Download%60s'),jdecode(''),'/28385.html','true',[],''],
	['PAGE','45501',jdecode('Link%C2%B4s'),jdecode(''),'/45501.html','true',[],''],
	['PAGE','37401',jdecode('Forum'),jdecode(''),'/37401.html','true',[],''],
	['PAGE','9615',jdecode('G%C3%A4stebuch'),jdecode(''),'/9615/home.html','true',[ 
		['PAGE','9616',jdecode('Eintr%C3%A4ge'),jdecode(''),'/9615/9616.html','true',[],'']
	],''],
	['PAGE','23364',jdecode('Kontakt'),jdecode(''),'/23364.html','true',[],'']];
var siteelementCount=15;
theSitetree.topTemplateName='Tauchen';
theSitetree.paletteFamily='5871F0';
theSitetree.keyvisualId='10232';
theSitetree.keyvisualName='kv_10232.jpg';
theSitetree.fontsetId='21145';
theSitetree.graphicsetId='13237';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='5871F0';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Tauchen',
				paletteFamily: 	'5871F0',
				keyvisualId: 	'10232',
				keyvisualName: 	'kv_10232.jpg',
				fontsetId: 		'21145',
				graphicsetId: 	'13237',
				contentColor: 	'FFFFFF',
				contentBGColor: '5871F0',
				a_color: 		'dcd4ff',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '4579',
internalId:  '1006',
customField: '1006'
};
webappMappings['1002']=webappMappings['1002-9615atoix0in2x7y']={
webappId:    '1002',
documentId:  '9615',
internalId:  '9615atoix0in2x7y',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-9615atoix0in2x7y']={
webappId:    '1002',
documentId:  '9616',
internalId:  '9615atoix0in2x7y',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4579',
internalId:  '',
customField: '20091122-195113'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9615',
internalId:  '',
customField: '20090226-212233'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23364',
internalId:  '',
customField: '20090328-180121'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '37801',
internalId:  '',
customField: '20090321-144655'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9616',
internalId:  '',
customField: '20041029-165820'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '28364',
internalId:  '',
customField: '20090321-163534'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '28301',
internalId:  '',
customField: '20090308-153525'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '28343',
internalId:  '',
customField: '20090321-123246'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '28385',
internalId:  '',
customField: '20091129-233255'
};
webappMappings['3001']=webappMappings['3001-']={
webappId:    '3001',
documentId:  '28385',
internalId:  '',
customField: ''
};
webappMappings['1501']=webappMappings['1501-40319589']={
webappId:    '1501',
documentId:  '4579',
internalId:  '40319589',
customField: '1501'
};
webappMappings['1008']=webappMappings['1008-40503710']={
webappId:    '1008',
documentId:  '23364',
internalId:  '40503710',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42301',
internalId:  '',
customField: '20090326-191945'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '37401',
internalId:  '',
customField: '20090313-222435'
};
webappMappings['1003']=webappMappings['1003-atoix0in2x7y11fe657e956']={
webappId:    '1003',
documentId:  '37401',
internalId:  'atoix0in2x7y11fe657e956',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '37822',
internalId:  '',
customField: '20090331-165522'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '37843',
internalId:  '',
customField: '20090331-165617'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44101',
internalId:  '',
customField: '20091127-215251'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45501',
internalId:  '',
customField: '20091115-001213'
};
var canonHostname = 'cfawrk10.aul.t-online.de';
var accountId     = 'ATOIX0IN2X7Y';
var companyName   = 'Myhlis+Welt';
var htmlTitle	  = 'Myhlis+Welt';
var metaKeywords  = '++';
var metaContents  = '++';
					                                                                    
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 */					                                                            
