/* [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','startseite',jdecode('Home'),jdecode(''),'/startseite.htm','true',[],''],
	['PAGE','aktuelles',jdecode('Aktuelles'),jdecode(''),'/aktuelles.htm','true',[],''],
	['PAGE','huendinnen',jdecode('H%C3%BCndinnen'),jdecode(''),'/huendinnen.htm','true',[ 
		['PAGE','angervo',jdecode('Keski-Maan+Angervo'),jdecode(''),'/angervo.htm','true',[],''],
		['PAGE','cleo',jdecode('Cleo+vom+Rehsprung'),jdecode(''),'/cleo.htm','true',[],''],
		['PAGE','rian',jdecode('Rian'),jdecode(''),'/rian.htm','true',[],'']
	],''],
	['PAGE','wurfplanung',jdecode('Unsere+Welpen'),jdecode(''),'/wurfplanung.htm','true',[],''],
	['PAGE','links',jdecode('Interessante+Links'),jdecode(''),'/links.htm','true',[],''],
	['PAGE','40680',jdecode('G%C3%A4stebuch'),jdecode(''),'/40680/home.html','true',[ 
		['PAGE','40679',jdecode('Eintr%C3%A4ge'),jdecode(''),'/40680/40679.html','true',[],'']
	],'']];
var siteelementCount=10;
theSitetree.topTemplateName='Wellen';
theSitetree.paletteFamily='CECECE';
theSitetree.keyvisualId='10992';
theSitetree.keyvisualName='kv_10992.jpg';
theSitetree.fontsetId='31929';
theSitetree.graphicsetId='13745';
theSitetree.contentColor='303031';
theSitetree.contentBGColor='CECECE';
var theTemplate={
				name: 			'Wellen',
				paletteFamily: 	'CECECE',
				keyvisualId: 	'10992',
				keyvisualName: 	'kv_10992.jpg',
				fontsetId: 		'31929',
				graphicsetId: 	'13745',
				contentColor: 	'303031',
				contentBGColor: 'CECECE',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
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: '20080205-201641'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40555',
internalId:  '',
customField: '20080108-175341'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40582',
internalId:  '',
customField: '20070927-190927'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40564',
internalId:  '',
customField: '20070927-190735'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40573',
internalId:  '',
customField: '20070927-190142'
};
webappMappings['1002']=webappMappings['1002-40680atoix0i7zbcr']={
webappId:    '1002',
documentId:  '40680',
internalId:  '40680atoix0i7zbcr',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-40680atoix0i7zbcr']={
webappId:    '1002',
documentId:  '40679',
internalId:  '40680atoix0i7zbcr',
customField: 'action=list'
};
webappMappings['1501']=webappMappings['1501-40790884']={
webappId:    '1501',
documentId:  '39994',
internalId:  '40790884',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40591',
internalId:  '',
customField: '20071206-100218'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40680',
internalId:  '',
customField: '20070926-181511'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40679',
internalId:  '',
customField: '20070926-181511'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40833',
internalId:  '',
customField: '20080108-175721'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41202',
internalId:  '',
customField: '20080205-201254'
};
var canonHostname = 'cfawrk10.aul.t-online.de';
var accountId     = 'ATOIX0I7ZBCR';
var companyName   = 'Kittner%C2%B4s+Kurzhaarteckel';
var htmlTitle	  = 'Kittners-Teckel+Kurzhaarteckel';
var metaKeywords  = 'Hier+entsteht+unsere+neue+Internetpr%C3%A4senz.Um+k%C3%BCnftig+einen+regen+Austausch+kleiner+und+gro%C3%9Fer+Teckelgeschichten+pflegen+zu+k%C3%B6nnen%2C+entsteht+hier+unsere+neue+Internetpr%C3%A4senz.+Hier+stellen+wir+unsere+tierischen+Freunde+vor%2C+zeigen+Fotos+und+Pfotenabdr%C3%BCcke+und+gew%C3%A4hren+einen+Blick+in+unser+Reich.+Unsere+Damen+sind+richtige+Familienmitglieder+und+werden+auch+so+behandelt.+Wir+legen+sehr+viel+Wert+auf+ein+liebevolles+und++harmonisches+Zusammenleben.+Das+selbe+erwarten+wir+f%C3%BCr+unsere+zuk%C3%BCnftigen+Welpen';
var metaContents  = 'Unsere+Zucht+bassiert+auf++Kurzhaarteckel+Standard+in+den+Farben+schockobraun%2C+schwarztiger%2C+schokotiger%2C+rot+und+schwarzrot.Keski-Maan+Angervo%2C+Engel%C2%B4s+Rian%2C+Cleo+vom+Rehsprung%2C+Kittner%C2%B4s+Anthea';
					                                                                    
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;                                                                     
	};                                                                               
/* EOF */					                                                            
