/* [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','20304',jdecode('Koipflege'),jdecode(''),'/20304.html','true',[],''],
	['PAGE','18261',jdecode('Bilder'),jdecode(''),'/18261/home.html','true',[ 
		['PAGE','18386',jdecode('Koikarpfen'),jdecode(''),'/18261/18386.html','true',[],''],
		['PAGE','18413',jdecode('St%C3%B6re'),jdecode(''),'/18261/18413.html','true',[],''],
		['PAGE','18440',jdecode('Goldfische'),jdecode(''),'/18261/18440.html','true',[],''],
		['PAGE','18467',jdecode('Shubunkin'),jdecode(''),'/18261/18467.html','true',[],'']
	],''],
	['PAGE','18288',jdecode('Kontakt'),jdecode(''),'/18288/home.html','true',[ 
		['PAGE','18924',jdecode('Kontakt+%28Folgeseite%29'),jdecode(''),'/18288/18924.html','false',[],'']
	],''],
	['PAGE','18315',jdecode('Teichzubeh%C3%B6r'),jdecode(''),'/18315/home.html','true',[ 
		['PAGE','18548',jdecode('Teichfutter'),jdecode(''),'/18315/18548.html','true',[],''],
		['PAGE','18575',jdecode('Teichfilter'),jdecode(''),'/18315/18575.html','true',[],''],
		['PAGE','18602',jdecode('Teichpumpen'),jdecode(''),'/18315/18602.html','true',[],''],
		['PAGE','18629',jdecode('Wasseraufbereiter'),jdecode(''),'/18315/18629.html','true',[],''],
		['PAGE','18683',jdecode('Arzneimittel'),jdecode(''),'/18315/18683.html','true',[],''],
		['PAGE','20331',jdecode('UVC+Lampen'),jdecode(''),'/18315/20331.html','true',[],''],
		['PAGE','18942',jdecode('Seidenraupen'),jdecode(''),'/18315/18942.html','true',[],''],
		['PAGE','18710',jdecode('Wassertests'),jdecode(''),'/18315/18710.html','true',[],''],
		['PAGE','18737',jdecode('Teichbel%C3%BCfter'),jdecode(''),'/18315/18737.html','true',[],''],
		['PAGE','18764',jdecode('Schl%C3%A4uche'),jdecode(''),'/18315/18764.html','true',[],'']
	],'']];
var siteelementCount=20;
theSitetree.topTemplateName='Longsights';
theSitetree.paletteFamily='9BCEFC';
theSitetree.keyvisualId='6388';
theSitetree.keyvisualName='kv_6388.jpg';
theSitetree.fontsetId='11158';
theSitetree.graphicsetId='11968';
theSitetree.contentColor='034E93';
theSitetree.contentBGColor='CBE5FD';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Longsights',
				paletteFamily: 	'9BCEFC',
				keyvisualId: 	'6388',
				keyvisualName: 	'kv_6388.jpg',
				fontsetId: 		'11158',
				graphicsetId: 	'11968',
				contentColor: 	'034E93',
				contentBGColor: 'CBE5FD',
				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['1001']=webappMappings['1001-atoix0inv0f258cebc7ff5c91376']={
webappId:    '1001',
documentId:  '18288',
internalId:  'atoix0inv0f258cebc7ff5c91376',
customField: ''
};
webappMappings['1001']=webappMappings['1001-atoix0inv0f258cebc7ff5c91376']={
webappId:    '1001',
documentId:  '18924',
internalId:  'atoix0inv0f258cebc7ff5c91376',
customField: 'followUp'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '4579',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4579',
internalId:  '',
customField: '20090427-225116'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20304',
internalId:  '',
customField: '20050223-181811'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18261',
internalId:  '',
customField: '20050516-151208'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18386',
internalId:  '',
customField: '20050729-173803'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18413',
internalId:  '',
customField: '20050516-150820'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18440',
internalId:  '',
customField: '20050516-150902'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18467',
internalId:  '',
customField: '20050516-150917'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18288',
internalId:  '',
customField: '20041128-151643'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18924',
internalId:  '',
customField: '20041128-151052'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18315',
internalId:  '',
customField: '20050223-161706'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18548',
internalId:  '',
customField: '20050729-175855'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18575',
internalId:  '',
customField: '20050223-162042'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18602',
internalId:  '',
customField: '20041128-145231'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18629',
internalId:  '',
customField: '20050116-175315'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18683',
internalId:  '',
customField: '20041128-145231'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20331',
internalId:  '',
customField: '20050223-154613'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18942',
internalId:  '',
customField: '20050116-185045'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18710',
internalId:  '',
customField: '20041128-145231'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18737',
internalId:  '',
customField: '20041128-145231'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18764',
internalId:  '',
customField: '20050116-183859'
};
var canonHostname = 'cfawrk08.aul.t-online.de';
var accountId     = 'ATOIX0INV0F2';
var companyName   = 'Uwe+Freund+-+Gartenteichfische%2C+Gartenteichzubeh%C3%B6r';
var htmlTitle	  = 'Uwe+Freund+Gartenteichfische%2C+Gartenteichzubeh%C3%B6r';
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 */					                                                            
