/* [nodename, id, name, navigationtext, href, isnavigation, childs[], templatename] */

function jdecode(s) {
    s = s.replace(/\+/g, "%20")
    return unescape(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','97624',jdecode('NEWS'),jdecode(''),'/97624.html','true',[],''],
	['PAGE','4599',jdecode('ELEVEUR+CHIENS+DOBERMANNS'),jdecode(''),'/4599.html','true',[],''],
	['PAGE','189602',jdecode('FUTURE+PORTEE+CHOCO-VOLGA+2010'),jdecode(''),'/189602.html','true',[],''],
	['PAGE','4845',jdecode('CHIOTS+DISPONIBLES'),jdecode(''),'/4845.html','true',[],''],
	['PAGE','9003',jdecode('ELEVAGE++PASSION+OFFICIEL'),jdecode(''),'/9003.html','true',[],''],
	['PAGE','25703',jdecode('NOTRE+AFFIXE+'),jdecode(''),'/25703.html','true',[],''],
	['PAGE','117857',jdecode('SALON+DE+L%26%23x27%3BAGRICULTURE+07'),jdecode(''),'/117857.html','true',[],''],
	['PAGE','92724',jdecode('+PORTEE+T%26%23x27%3BCHANEL+2008'),jdecode(''),'/92724.html','true',[],''],
	['PAGE','4818',jdecode('+PORTEE+VOLGA+2007'),jdecode(''),'/4818.html','true',[],''],
	['PAGE','115145',jdecode('BD+CHIOTS+DOBERMANN'),jdecode(''),'/115145.html','true',[],''],
	['PAGE','4899',jdecode('VOS+QUESTIONS'),jdecode(''),'/4899/index.html','true',[ 
		['PAGE','47402',jdecode('VOS+QUESTIONS+%28Folgeseite%29'),jdecode(''),'/4899/47402.html','false',[],'']
	],''],
	['PAGE','31402',jdecode('PLAN+D%26%23x27%3BACCES'),jdecode(''),'/31402.html','true',[],''],
	['PAGE','94861',jdecode('MULTI.CH.F%26%23x27%3BHIRAM+RESUME'),jdecode(''),'/94861.html','true',[],''],
	['PAGE','135111',jdecode('ZTP+F%26%23x27%3BHIRAM'),jdecode(''),'/135111.html','true',[],''],
	['PAGE','4791',jdecode('CH.TED-LUTHER+'),jdecode(''),'/4791.html','true',[],''],
	['PAGE','11811',jdecode('PRESENT+2'),jdecode(''),'/11811.html','true',[],''],
	['PAGE','43203',jdecode('PRESENT+3'),jdecode(''),'/43203.html','true',[],''],
	['PAGE','43230',jdecode('PRESENT+4'),jdecode(''),'/43230.html','true',[],''],
	['PAGE','32403',jdecode('UN+AMI+POUR+TOUS'),jdecode(''),'/32403.html','true',[],''],
	['PAGE','4656',jdecode('BONNE+RENOMMEE..'),jdecode(''),'/4656.html','true',[],''],
	['PAGE','4683',jdecode('PUR+SANG+1+RUBIS+%2F+REINA'),jdecode(''),'/4683.html','true',[],''],
	['PAGE','11703',jdecode('PUR+SANG+2+T%26%23x27%3BCHANEL'),jdecode(''),'/11703.html','true',[],''],
	['PAGE','11730',jdecode('+PUR+SANG+3+%2F+VOLGA+%2F+TOPAZE+'),jdecode(''),'/11730.html','true',[],''],
	['PAGE','131018',jdecode('CHERIE-T%26%23x27%3BCHANEL'),jdecode(''),'/131018.html','true',[],''],
	['PAGE','150748',jdecode('CHOCO-VOLGA'),jdecode(''),'/150748.html','true',[],''],
	['PAGE','84003',jdecode('PINSCHERS+NAINS'),jdecode(''),'/84003.html','true',[],''],
	['PAGE','4710',jdecode('+ETALONS+1'),jdecode(''),'/4710.html','true',[],''],
	['PAGE','11757',jdecode('ETALONS+2'),jdecode(''),'/11757.html','true',[],''],
	['PAGE','11784',jdecode('ETALONS+3'),jdecode(''),'/11784.html','true',[],''],
	['PAGE','16046',jdecode('ETALONS+4'),jdecode(''),'/16046.html','true',[],''],
	['PAGE','120902',jdecode('SAGA+DE+LUTHER+ELITE+A'),jdecode(''),'/120902.html','true',[],''],
	['PAGE','4764',jdecode('SOUVENIRS+1'),jdecode(''),'/4764.html','true',[],''],
	['PAGE','18403',jdecode('SOUVENIRS+2'),jdecode(''),'/18403.html','true',[],''],
	['PAGE','184700',jdecode('PORTEE+VOLGA+2009'),jdecode(''),'/184700.html','true',[],''],
	['PAGE','20103',jdecode('SOUVENIRS+3'),jdecode(''),'/20103.html','true',[],''],
	['PAGE','21003',jdecode('SOUVENIRS+4'),jdecode(''),'/21003.html','true',[],''],
	['PAGE','16902',jdecode('Livre+d%26%23x27%3Bor'),jdecode(''),'/16902/index.html','true',[ 
		['PAGE','16903',jdecode('Entr%E9es'),jdecode(''),'/16902/16903.html','true',[],'']
	],''],
	['PAGE','128202',jdecode('VOS+PHOTOS+%2F+VIDEOS'),jdecode(''),'/128202.html','true',[],''],
	['PAGE','58403',jdecode('LIENS+UTILES'),jdecode(''),'/58403.html','true',[],''],
	['PAGE','129202',jdecode('PEDIGREES'),jdecode(''),'/129202.html','true',[],''],
	['PAGE','142385',jdecode('SAGA+DE+L%26%23x27%3BELEVEUSE'),jdecode(''),'/142385.html','true',[],''],
	['PAGE','144210',jdecode('LA+BELLE+HISTOIRE'),jdecode(''),'/144210.html','true',[],'']];
var siteelementCount=44;
theSitetree.topTemplateName='Logg';
					                                                                    
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 */					                                                            
