/* [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','20063',jdecode('PICOLINO'),jdecode(''),'/20063.html','true',[],''],
	['PAGE','39801',jdecode('10+Jahre+PICOLINO'),jdecode(''),'/39801.html','true',[],''],
	['PAGE','20072',jdecode('Monatsangebote'),jdecode(''),'/20072.html','false',[],''],
	['PAGE','15237',jdecode('B.A.R.F.+-+Fleisch+'),jdecode(''),'/15237.html','true',[],''],
	['PAGE','20731',jdecode('B.A.R.F.+-+Foto%C2%B4s'),jdecode(''),'/20731.html','true',[],''],
	['PAGE','38601',jdecode('Geschenkartikel'),jdecode(''),'/38601.html','true',[],''],
	['PAGE','20833',jdecode('Julius+K+9+-+Geschirre+und+mehr...'),jdecode(''),'/20833.html','true',[],''],
	['PAGE','20496',jdecode('Neu%3A+IDC+-+Powergeschirr'),jdecode(''),'/20496.html','true',[],''],
	['PAGE','20339',jdecode('%22Ausgefallenes%22+Spielzeug'),jdecode(''),'/20339.html','true',[],''],
	['PAGE','20192',jdecode('LEUCHTIE'),jdecode(''),'/20192.html','true',[],''],
	['PAGE','20090',jdecode('Wir+%C3%BCber+uns'),jdecode(''),'/20090/home.html','true',[ 
		['PAGE','20099',jdecode('Unser+Team'),jdecode(''),'/20090/20099.html','true',[],'']
	],''],
	['PAGE','20117',jdecode('Kontakt%2FImpressum'),jdecode(''),'/20117.html','true',[],''],
	['PAGE','15402',jdecode('Anfahrt'),jdecode(''),'/15402.html','true',[],''],
	['PAGE','38901',jdecode('Ihr+Weg+zu+uns'),jdecode(''),'/38901.html','true',[],'']];
var siteelementCount=15;
theSitetree.topTemplateName='Angkor';
theSitetree.paletteFamily='879ED6';
theSitetree.keyvisualId='6899';
theSitetree.keyvisualName='kv_6899.jpg';
theSitetree.fontsetId='11212';
theSitetree.graphicsetId='12030';
theSitetree.contentColor='354B86';
theSitetree.contentBGColor='94AAE1';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Angkor',
				paletteFamily: 	'879ED6',
				keyvisualId: 	'6899',
				keyvisualName: 	'kv_6899.jpg',
				fontsetId: 		'11212',
				graphicsetId: 	'12030',
				contentColor: 	'354B86',
				contentBGColor: '94AAE1',
				a_color: 		'94AAE1',
				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:     'false'
			  };
var webappMappings = {};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '15402',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '20063',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15237',
internalId:  '',
customField: '20090308-151926'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '38601',
internalId:  '',
customField: '20100618-084607'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15402',
internalId:  '',
customField: '20070313-112934'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20063',
internalId:  '',
customField: '20111222-183647'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20090',
internalId:  '',
customField: '20110912-180708'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20117',
internalId:  '',
customField: '20091208-183751'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20099',
internalId:  '',
customField: '20070313-132315'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20339',
internalId:  '',
customField: '20080427-104122'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20496',
internalId:  '',
customField: '20100406-132549'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20072',
internalId:  '',
customField: '20100106-080632'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20192',
internalId:  '',
customField: '20101207-131915'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39801',
internalId:  '',
customField: '20110618-085614'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20833',
internalId:  '',
customField: '20100522-103335'
};
webappMappings['1008']=webappMappings['1008-33699307']={
webappId:    '1008',
documentId:  '20117',
internalId:  '33699307',
customField: 'de:DE:'
};
webappMappings['1007']=webappMappings['1007-112a4b5a1f9']={
webappId:    '1007',
documentId:  '20731',
internalId:  '112a4b5a1f9',
customField: 'g.12aib3vtj.cit7m5ahl8.3o'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20731',
internalId:  '',
customField: '20070520-135908'
};
webappMappings['2002']=webappMappings['2002-routing']={
webappId:    '2002',
documentId:  '38901',
internalId:  'routing',
customField: 'de_DE'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '38901',
internalId:  '',
customField: '20100506-141016'
};
var canonHostname = 'c4awrk01.aul.t-online.de';
var accountId     = 'ATOIX0INL8MK';
var companyName   = 'PICOLINO-Futter+und+mehr...';
var htmlTitle	  = 'PICOLINO-Futter+und+mehr...';
var metaKeywords  = 'Salzgitter%2CThiede%2CHundefutter%2Cgetreidefrei%2CFrostfleisch%2CFrischfleisch%2CBARF%2Cbarfen%2CZus%C3%A4tze%2CK9-Geschirre%2BLogos%2CEzyDog%2CSUCHtrupp%2CFeltmann%2CWolfsong%2CLeuchtie';
var metaContents  = 'Willkommen+bei+PICOLINO%2C+ihrem+Spezialisten+f%C3%BCr+Hundeern%C3%A4hrung%28B.A.R.F.%29+und+Zubeh%C3%B6r.';
					                                                                    
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 */					                                                            

