/* [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','123901',jdecode('Aktuelle+Sonderangebote'),jdecode(''),'/123901.html','true',[],''],
	['PAGE','41622',jdecode('LHC-TP%2FS'),jdecode(''),'/41622.html','true',[],''],
	['PAGE','95101',jdecode('LHC-TP%2FK'),jdecode(''),'/95101.html','true',[],''],
	['PAGE','113301',jdecode('LHC-Cube'),jdecode(''),'/113301.html','true',[],''],
	['PAGE','55601',jdecode('Inkubatoren'),jdecode(''),'/55601.html','true',[],''],
	['PAGE','28601',jdecode('Premium+Rack'),jdecode(''),'/28601.html','true',[],''],
	['PAGE','23520',jdecode('Arbo+Rack'),jdecode(''),'/23520.html','true',[],''],
	['PAGE','39199',jdecode('BP+Rack'),jdecode(''),'/39199.html','true',[],''],
	['PAGE','79901',jdecode('L%2BT+Rack%2FQuarant%C3%A4ne'),jdecode(''),'/79901.html','true',[],''],
	['PAGE','101701',jdecode('Verkaufsanlagen'),jdecode(''),'/101701.html','true',[],''],
	['PAGE','73501',jdecode('ShowDisplay'),jdecode(''),'/73501.html','true',[],''],
	['PAGE','98001',jdecode('Displaybox'),jdecode(''),'/98001.html','true',[],''],
	['PAGE','32301',jdecode('RepDisplay'),jdecode(''),'/32301.html','true',[],''],
	['PAGE','37401',jdecode('Heizung'),jdecode(''),'/37401.html','true',[],''],
	['PAGE','40109',jdecode('Beleuchtung'),jdecode(''),'/40109.html','true',[],''],
	['PAGE','40118',jdecode('Schlupfkisten'),jdecode(''),'/40118.html','true',[],''],
	['PAGE','40127',jdecode('Beh%C3%A4lter%2F+Boxen'),jdecode(''),'/40127.html','true',[],''],
	['PAGE','40136',jdecode('Hygiene-Terrarieneinstreu'),jdecode(''),'/40136.html','true',[],''],
	['PAGE','40354',jdecode('Zubeh%C3%B6r'),jdecode(''),'/40354.html','true',[],''],
	['PAGE','40503',jdecode('Futtertierzucht'),jdecode(''),'/40503.html','true',[],''],
	['PAGE','23551',jdecode('Gutachten+Rackhaltung+etc.'),jdecode(''),'/23551.html','true',[],''],
	['PAGE','44001',jdecode('FAQ'),jdecode(''),'/44001.html','true',[],''],
	['PAGE','18348',jdecode('Kontakt%2F+Impressum'),jdecode(''),'/18348.html','true',[],'']];
var siteelementCount=24;
theSitetree.topTemplateName='Natural';
theSitetree.paletteFamily='40710E';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='157';
theSitetree.graphicsetId='166';
theSitetree.contentColor='006633';
theSitetree.contentBGColor='FCFCF4';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Natural',
				paletteFamily: 	'40710E',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'157',
				graphicsetId: 	'166',
				contentColor: 	'006633',
				contentBGColor: 'FCFCF4',
				a_color: 		'40710E',
				b_color: 		'00CC00',
				c_color: 		'000000',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1501']=webappMappings['1501-463504']={
webappId:    '1501',
documentId:  '4579',
internalId:  '463504',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4579',
internalId:  '',
customField: '20120119-112054'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40136',
internalId:  '',
customField: '20111213-092739'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '4579',
internalId:  '1006',
customField: '1006'
};
webappMappings['1008']=webappMappings['1008-16574618']={
webappId:    '1008',
documentId:  '18348',
internalId:  '16574618',
customField: 'de:DE:'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '79901',
internalId:  '',
customField: '20101101-111654'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '73501',
internalId:  '',
customField: '20101101-111927'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '28601',
internalId:  '',
customField: '20120106-093330'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23551',
internalId:  '',
customField: '20081204-104300'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23520',
internalId:  '',
customField: '20120106-090405'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39199',
internalId:  '',
customField: '20100126-081848'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32301',
internalId:  '',
customField: '20111021-121451'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '37401',
internalId:  '',
customField: '20110103-153007'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40109',
internalId:  '',
customField: '20100709-082241'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40118',
internalId:  '',
customField: '20101014-120906'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40127',
internalId:  '',
customField: '20110209-101229'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40354',
internalId:  '',
customField: '20111124-133618'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40503',
internalId:  '',
customField: '20120102-141805'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18348',
internalId:  '',
customField: '20120123-072432'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41622',
internalId:  '',
customField: '20120118-092813'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44001',
internalId:  '',
customField: '20101105-080647'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '55601',
internalId:  '',
customField: '20110103-152715'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '113301',
internalId:  '',
customField: '20120118-093203'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '123901',
internalId:  '',
customField: '20120105-090733'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '95101',
internalId:  '',
customField: '20111124-130432'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '98001',
internalId:  '',
customField: '20091022-154623'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '101701',
internalId:  '',
customField: '20091231-110404'
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0IN3FJM';
var companyName   = 'LANZO+Herp+Cages';
var htmlTitle	  = 'LANZO+Herp+Cages+-+Kunststoffterrarien';
var metaKeywords  = 'Terrarium%0ATerrarien%0ATerraristik%0ASchlangen%0AReptilien%0ARiesenschlangen%0AEchsen%0ALeguan%0AK%C3%B6nigspython%0AKornnatter%0ABoa%0APython%0AReptile+Tank%0AHerp+Cage%0AReptilienzucht%0ASchlangenzucht%0AReptilienzoo%0ABob+Clark%0AAlbino%0APiebald%0Ahypomelanistisch%0Aracks%0Areptile+rack%0Aschlupfkiste%0Aschlupfkisten%0Aschlupfbox%0Aschlupfboxen%0Ab%C3%B6rsenterrarien%0Ab%C3%B6rsenterrarium%0A%0A';
var metaContents  = 'Kunststoff-Terrarien+in+vielen+verschiedenen+Gr%C3%B6%C3%9Fen';
					                                                                    
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 */					                                                            

