/* [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','13701',jdecode('India'),jdecode(''),'/13701/home.html','true',[ 
		['PAGE','29404',jdecode('Fotos'),jdecode(''),'/13701/29404.html','true',[],'']
	],''],
	['PAGE','33001',jdecode('Anouk'),jdecode(''),'/33001.html','true',[],''],
	['PAGE','84027',jdecode('Sihu'),jdecode(''),'/84027.html','true',[],''],
	['PAGE','54427',jdecode('Nachkommen'),jdecode(''),'/54427/home.html','true',[ 
		['PAGE','13706',jdecode('A-Wurf'),jdecode(''),'/54427/13706.html','true',[],''],
		['PAGE','32801',jdecode('Bildergalerie+A-Wurf'),jdecode(''),'/54427/32801.html','true',[],''],
		['PAGE','40427',jdecode('B-Wurf'),jdecode(''),'/54427/40427.html','true',[],''],
		['PAGE','43727',jdecode('Bildergalerie+B-Wurf'),jdecode(''),'/54427/43727.html','true',[],''],
		['PAGE','49327',jdecode('C-Wurf'),jdecode(''),'/54427/49327.html','true',[],''],
		['PAGE','62427',jdecode('Comet'),jdecode(''),'/54427/62427.html','true',[],''],
		['PAGE','72127',jdecode('D-Wurf'),jdecode(''),'/54427/72127.html','true',[],''],
		['PAGE','77527',jdecode('Bildergalerie+D-Wurf'),jdecode(''),'/54427/77527.html','true',[],''],
		['PAGE','73927',jdecode('E-Wurf'),jdecode(''),'/54427/73927.html','true',[],'']
	],''],
	['PAGE','54027',jdecode('Sportcollies'),jdecode(''),'/54027.html','true',[],''],
	['PAGE','28701',jdecode('%C3%9Cber+uns+%2F+Links'),jdecode(''),'/28701.html','true',[],''],
	['PAGE','47927',jdecode('Impressum'),jdecode(''),'/47927.html','true',[],''],
	['PAGE','28802',jdecode('Anfahrt'),jdecode(''),'/28802.html','true',[],'']];
var siteelementCount=19;
theSitetree.topTemplateName='Architekt';
theSitetree.paletteFamily='FFCC66';
theSitetree.keyvisualId='2055';
theSitetree.keyvisualName='blanko.jpg';
theSitetree.fontsetId='281';
theSitetree.graphicsetId='343';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFCC66';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Architekt',
				paletteFamily: 	'FFCC66',
				keyvisualId: 	'2055',
				keyvisualName: 	'blanko.jpg',
				fontsetId: 		'281',
				graphicsetId: 	'343',
				contentColor: 	'000000',
				contentBGColor: 'FFCC66',
				a_color: 		'FFCC66',
				b_color: 		'CC6600',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Times New Roman, Times, serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '4579',
internalId:  '1006',
customField: '1006'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '28802',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['3001']=webappMappings['3001-']={
webappId:    '3001',
documentId:  '28701',
internalId:  '',
customField: ''
};
webappMappings['3001']=webappMappings['3001-']={
webappId:    '3001',
documentId:  '13706',
internalId:  '',
customField: ''
};
webappMappings['3001']=webappMappings['3001-']={
webappId:    '3001',
documentId:  '13701',
internalId:  '',
customField: ''
};
webappMappings['3001']=webappMappings['3001-']={
webappId:    '3001',
documentId:  '4579',
internalId:  '',
customField: ''
};
webappMappings['1007']=webappMappings['1007-10245de7b18']={
webappId:    '1007',
documentId:  '29404',
internalId:  '10245de7b18',
customField: 'g.1092tk8dp.8kf94epach.1s'
};
webappMappings['1007']=webappMappings['1007-10591152a85']={
webappId:    '1007',
documentId:  '32801',
internalId:  '10591152a85',
customField: 'g.10m8h54ra.ho8a4p1um4.3o'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4579',
internalId:  '',
customField: '20100407-200747'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13701',
internalId:  '',
customField: '20081229-142826'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '29404',
internalId:  '',
customField: '20050224-204344'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '33001',
internalId:  '',
customField: '20081229-144102'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13706',
internalId:  '',
customField: '20070122-154556'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32801',
internalId:  '',
customField: '20071226-130354'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '84027',
internalId:  '',
customField: '20091225-114257'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '28701',
internalId:  '',
customField: '20100407-200858'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '62427',
internalId:  '',
customField: '20080822-111039'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '28802',
internalId:  '',
customField: '20061010-174459'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40427',
internalId:  '',
customField: '20070529-100337'
};
webappMappings['1007']=webappMappings['1007-111d1dba409']={
webappId:    '1007',
documentId:  '43727',
internalId:  '111d1dba409',
customField: 'g.1278tl3nv.ge7non7rii.3o'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43727',
internalId:  '',
customField: '20070408-175222'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47927',
internalId:  '',
customField: '20100407-201045'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '49327',
internalId:  '',
customField: '20090103-162839'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '54027',
internalId:  '',
customField: '20090525-215506'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '54427',
internalId:  '',
customField: '20090725-085811'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '72127',
internalId:  '',
customField: '20090426-213849'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '73927',
internalId:  '',
customField: '20090615-212823'
};
webappMappings['1007']=webappMappings['1007-12015ce11f0']={
webappId:    '1007',
documentId:  '77527',
internalId:  '12015ce11f0',
customField: 'g.140asn4s6.5vdh5gok0.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '77527',
internalId:  '',
customField: '20090317-204604'
};
var canonHostname = 'c4awrk04.aul.t-online.de';
var accountId     = 'ATOIX0INE4IA';
var companyName   = 'Collies+vom+Riesbachtal';
var htmlTitle	  = 'Riesbachtal-Collies';
var metaKeywords  = 'Kurzhhaarcollie%2C+Welpen%2C+Hobbyzucht%2C+Familienaufzucht%2C+blue+merle%2C+tricolor%2C+Colliewelpe%2C';
var metaContents  = 'Familienzucht+von+Collies+%28Kurzhaar%29%3B+meistens+nur+1+Wurf+pro+Jahr.+der+idelae+Familienhund';
					                                                                    
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 */					                                                            

