/* [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','1153',jdecode('Home'),jdecode(''),'/1153.html','true',[],''],
	['PAGE','95420',jdecode('News+update'),jdecode(''),'/95420.html','true',[],''],
	['PAGE','39525',jdecode('Equine+Vet+Service'),jdecode(''),'/39525.html','true',[],''],
	['PAGE','39556',jdecode('Equine+Sportsmedicine'),jdecode(''),'/39556.html','true',[],''],
	['PAGE','65451',jdecode('Equine+Embryo+Transfer'),jdecode(''),'/65451.html','true',[],''],
	['PAGE','39601',jdecode('Main+Practice+Office'),jdecode(''),'/39601.html','true',[],''],
	['PAGE','39632',jdecode('Horse+Breeding+Farm'),jdecode(''),'/39632.html','true',[],''],
	['PAGE','39663',jdecode('Family+Home+Farm'),jdecode(''),'/39663.html','true',[],''],
	['PAGE','39694',jdecode('Where+did+we+go'),jdecode(''),'/39694.html','true',[],''],
	['PAGE','39725',jdecode('Where+do+we+go'),jdecode(''),'/39725.html','true',[],''],
	['PAGE','39787',jdecode('For+sale'),jdecode(''),'/39787.html','true',[],''],
	['PAGE','40063',jdecode('Contact+'),jdecode(''),'/40063.html','true',[],''],
	['PAGE','46802',jdecode('Foto+album++'),jdecode(''),'/46802.html','true',[],''],
	['PAGE','52154',jdecode('Seminars'),jdecode(''),'/52154.html','true',[],''],
	['PAGE','54617',jdecode('Press+presentations'),jdecode(''),'/54617.html','true',[],''],
	['PAGE','65260',jdecode('Veterinary+dairy'),jdecode(''),'/65260.html','true',[],''],
	['PAGE','73551',jdecode('Phryso+magazine'),jdecode(''),'/73551.html','true',[],''],
	['PAGE','74051',jdecode('Collumn++%22de+Hoefslag%22'),jdecode(''),'/74051.html','true',[],''],
	['PAGE','75551',jdecode('Olcha%2C+mother++Sape+381'),jdecode(''),'/75551.html','true',[],''],
	['PAGE','76980',jdecode('Peden+Flying+Horses+'),jdecode(''),'/76980.html','true',[],''],
	['PAGE','77705',jdecode('Welton+Goldfinger'),jdecode(''),'/77705.html','true',[],''],
	['PAGE','65151',jdecode('Compiegne++EK++2005++++'),jdecode(''),'/65151.html','true',[],''],
	['PAGE','62651',jdecode('Dubai++++WK++2005'),jdecode(''),'/62651.html','true',[],''],
	['PAGE','60455',jdecode('Dubai+++WK++2005'),jdecode(''),'/60455.html','true',[],''],
	['PAGE','76504',jdecode('Bahrain++WK++2005'),jdecode(''),'/76504.html','true',[],''],
	['PAGE','80282',jdecode('Bahrain+++WK++2005'),jdecode(''),'/80282.html','true',[],''],
	['PAGE','82879',jdecode('Friesian+Stallionshow++06'),jdecode(''),'/82879.html','true',[],''],
	['PAGE','89479',jdecode('W.E.G.++Aken++2006'),jdecode(''),'/89479.html','true',[],''],
	['PAGE','96651',jdecode('Oviedo+++EK++2008'),jdecode(''),'/96651.html','true',[],''],
	['PAGE','96497',jdecode('Malaysia++WK++2008'),jdecode(''),'/96497.html','true',[],''],
	['PAGE','99621',jdecode('Kesckemet+++WK++2009'),jdecode(''),'/99621.html','true',[],''],
	['PAGE','99652',jdecode('Bobolna+++WK++2009'),jdecode(''),'/99652.html','true',[],''],
	['PAGE','99714',jdecode('Assisie+++EK++2009'),jdecode(''),'/99714.html','true',[],''],
	['PAGE','99683',jdecode('Lion+d%B4Angers+++WK++2009'),jdecode(''),'/99683.html','true',[],''],
	['PAGE','99920',jdecode('Abu+Dhabi%2C+febr++2010'),jdecode(''),'/99920.html','true',[],''],
	['PAGE','100120',jdecode('Barroca+d%B4Alva%2C+mrt++2010'),jdecode(''),'/100120.html','true',[],'']];
var siteelementCount=36;
theSitetree.topTemplateName='Stars';
					                                                                    
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 */					                                                            

