/* [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','43893',jdecode('Home'),jdecode(''),'/43893.html','true',[],''],
	['PAGE','43865',jdecode('Angus'),jdecode(''),'/43865.html','true',[],''],
	['PAGE','43874',jdecode('Garmon'),jdecode(''),'/43874.html','true',[],''],
	['PAGE','43452',jdecode('Janosch'),jdecode(''),'/43452.html','true',[],''],
	['PAGE','70801',jdecode('Merlin'),jdecode(''),'/70801.html','true',[],''],
	['PAGE','43856',jdecode('Billi'),jdecode(''),'/43856.html','true',[],''],
	['PAGE','39994',jdecode('Fotoalbum'),jdecode(''),'/39994.html','true',[],''],
	['PAGE','42762',jdecode('Retriever%40work'),jdecode(''),'/42762.html','true',[],''],
	['PAGE','55601',jdecode('Infos'),jdecode(''),'/55601.html','true',[],''],
	['PAGE','40911',jdecode('G%C3%A4stebuch'),jdecode(''),'/40911/home.html','true',[ 
		['PAGE','40910',jdecode('Eintr%C3%A4ge'),jdecode(''),'/40911/40910.html','true',[],'']
	],''],
	['PAGE','41008',jdecode('Kontakt'),jdecode(''),'/41008.html','true',[],''],
	['PAGE','40929',jdecode('Impressum'),jdecode(''),'/40929.html','true',[],'']];
var siteelementCount=13;
theSitetree.topTemplateName='TOI_Mysticelements';
theSitetree.paletteFamily='020202';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='33453';
theSitetree.graphicsetId='14304';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='EAE1AC';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'TOI_Mysticelements',
				paletteFamily: 	'020202',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'33453',
				graphicsetId: 	'14304',
				contentColor: 	'000000',
				contentBGColor: 'EAE1AC',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '43893',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39994',
internalId:  '',
customField: '20091107-163547'
};
webappMappings['1002']=webappMappings['1002-40911atoix0i7lpux']={
webappId:    '1002',
documentId:  '40911',
internalId:  '40911atoix0i7lpux',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-40911atoix0i7lpux']={
webappId:    '1002',
documentId:  '40910',
internalId:  '40911atoix0i7lpux',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40911',
internalId:  '',
customField: '20071106-230334'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40910',
internalId:  '',
customField: '20070816-204618'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40929',
internalId:  '',
customField: '20080727-153529'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41008',
internalId:  '',
customField: '20080701-224401'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43452',
internalId:  '',
customField: '20090420-184524'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42762',
internalId:  '',
customField: '20091107-161952'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43893',
internalId:  '',
customField: '20091106-222204'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43865',
internalId:  '',
customField: '20080808-223850'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43874',
internalId:  '',
customField: '20080701-214312'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43856',
internalId:  '',
customField: '20081021-075301'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '55601',
internalId:  '',
customField: '20090515-113045'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '70801',
internalId:  '',
customField: '20090425-172042'
};
var canonHostname = 'cfawrk03.aul.t-online.de';
var accountId     = 'ATOIX0I7LPUX';
var companyName   = 'Herzlich+willkommen+auf+unserer+Homepage+.....';
var htmlTitle	  = 'Beatrix+Guendling';
var metaKeywords  = 'Beatrix%2C+Guendling%2C+Chesapeake+Bay+Retriever%2C+G%C3%BCndling%2C+Ober-Waroldern%2C';
var metaContents  = 'Beatrix+Guendling+und+Chesapeake+Bay+Retriever+Beatrix+G%C3%BCndling';
					                                                                    
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 */					                                                            
