/* [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','63501',jdecode('Suche+-+Abzugeben'),jdecode(''),'/63501.html','true',[],''],
	['PAGE','85201',jdecode('K%C3%B6nigspython'),jdecode(''),'/85201/home.html','true',[ 
		['PAGE','87801',jdecode('Classic'),jdecode(''),'/85201/87801.html','true',[],''],
		['PAGE','87822',jdecode('Albino'),jdecode(''),'/85201/87822.html','true',[],''],
		['PAGE','88301',jdecode('Piebald'),jdecode(''),'/85201/88301.html','true',[],''],
		['PAGE','118901',jdecode('double+het.'),jdecode(''),'/85201/118901.html','true',[],''],
		['PAGE','137722',jdecode('Spider'),jdecode(''),'/85201/137722.html','true',[],''],
		['PAGE','97601',jdecode('Morphen'),jdecode(''),'/85201/97601.html','false',[],''],
		['PAGE','92801',jdecode('Regius+-+Terrarien'),jdecode(''),'/85201/92801.html','true',[],'']
	],''],
	['PAGE','43371',jdecode('Gr%C3%BCner+Baumpython+'),jdecode(''),'/43371/home.html','true',[ 
		['PAGE','59001',jdecode('Aru'),jdecode(''),'/43371/59001.html','true',[],'']
	],''],
	['PAGE','43353',jdecode('Blauzungenskink+'),jdecode(''),'/43353/home.html','true',[ 
		['PAGE','76401',jdecode('Speisekarte'),jdecode(''),'/43353/76401.html','true',[],'']
	],''],
	['PAGE','41818',jdecode('Unsere+Tiere+-+damals'),jdecode(''),'/41818/home.html','true',[ 
		['PAGE','43344',jdecode('Helmcham%C3%A4leon+'),jdecode(''),'/41818/43344.html','true',[],''],
		['PAGE','43362',jdecode('Bartagame+'),jdecode(''),'/41818/43362.html','true',[],'']
	],''],
	['PAGE','43441',jdecode('Reptilienstammtisch'),jdecode(''),'/43441.html','true',[],''],
	['PAGE','128501',jdecode('Reptilium+Landau'),jdecode(''),'/128501.html','true',[],''],
	['PAGE','44201',jdecode('Links+'),jdecode(''),'/44201/home.html','true',[ 
		['PAGE','40811',jdecode('andere+Links'),jdecode(''),'/44201/40811.html','true',[],'']
	],''],
	['PAGE','120201',jdecode('Pinwand'),jdecode(''),'/120201/home.html','true',[ 
		['PAGE','126001',jdecode('Pinwand+2'),jdecode(''),'/120201/126001.html','true',[],'']
	],''],
	['PAGE','41828',jdecode('G%C3%A4stebuch'),jdecode(''),'/41828/home.html','true',[ 
		['PAGE','41827',jdecode('Eintr%C3%A4ge'),jdecode(''),'/41828/41827.html','true',[],'']
	],''],
	['PAGE','40930',jdecode('Impressum'),jdecode(''),'/40930.html','true',[],'']];
var siteelementCount=26;
theSitetree.topTemplateName='TOI_Boutique_01';
theSitetree.paletteFamily='D6D6D6';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='33357';
theSitetree.graphicsetId='14229';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='333333';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'TOI_Boutique_01',
				paletteFamily: 	'D6D6D6',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'33357',
				graphicsetId: 	'14229',
				contentColor: 	'FFFFFF',
				contentBGColor: '333333',
				a_color: 		'000000',
				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:  '39994',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39994',
internalId:  '',
customField: '20120122-155322'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43362',
internalId:  '',
customField: '20110511-100133'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41828',
internalId:  '',
customField: '20120122-150401'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41827',
internalId:  '',
customField: '20120122-150447'
};
webappMappings['1002']=webappMappings['1002-41828atoix0i7z2er']={
webappId:    '1002',
documentId:  '41828',
internalId:  '41828atoix0i7z2er',
customField: 'action=form&icq=false'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43353',
internalId:  '',
customField: '20100201-104813'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40811',
internalId:  '',
customField: '20101003-181058'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40930',
internalId:  '',
customField: '20100129-205245'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41818',
internalId:  '',
customField: '20100201-104312'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43344',
internalId:  '',
customField: '20100201-104345'
};
webappMappings['1002']=webappMappings['1002-41828atoix0i7z2er']={
webappId:    '1002',
documentId:  '41827',
internalId:  '41828atoix0i7z2er',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43371',
internalId:  '',
customField: '20120125-212534'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43441',
internalId:  '',
customField: '20120125-220122'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44201',
internalId:  '',
customField: '20120122-150140'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '59001',
internalId:  '',
customField: '20120122-141955'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '63501',
internalId:  '',
customField: '20120122-145458'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '76401',
internalId:  '',
customField: '20090806-110857'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '85201',
internalId:  '',
customField: '20110511-094638'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '87801',
internalId:  '',
customField: '20110511-095043'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '87822',
internalId:  '',
customField: '20110106-171313'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '88301',
internalId:  '',
customField: '20100922-205912'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '92801',
internalId:  '',
customField: '20100922-131522'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '97601',
internalId:  '',
customField: '20090823-174525'
};
webappMappings['1007']=webappMappings['1007-12840b41bbc']={
webappId:    '1007',
documentId:  '126001',
internalId:  '12840b41bbc',
customField: 'g.1510ao46j.2hgahjoplhk.3o'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '118901',
internalId:  '',
customField: '20110106-171537'
};
webappMappings['1007']=webappMappings['1007-12667249146']={
webappId:    '1007',
documentId:  '120201',
internalId:  '12667249146',
customField: 'g.14pji18gg.1pgctuf526.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '120201',
internalId:  '',
customField: '20100129-203831'
};
webappMappings['1501']=webappMappings['1501-68484520']={
webappId:    '1501',
documentId:  '39994',
internalId:  '68484520',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '126001',
internalId:  '',
customField: '20100427-214719'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '128501',
internalId:  '',
customField: '20110511-100725'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '137722',
internalId:  '',
customField: '20110511-095602'
};
var canonHostname = 'c4awrk02.aul.t-online.de';
var accountId     = 'ATOIX0I7Z2ER';
var companyName   = 'Reptilientraum';
var htmlTitle	  = '';
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 */					                                                            

