/* [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','4436',jdecode('Keighanya+Home+Page'),jdecode(''),'/4436.html','true',[],''],
	['PAGE','51921',jdecode('Us+and+Our+Mad+Mob'),jdecode(''),'/51921.html','true',[],''],
	['PAGE','77245',jdecode('Photos'),jdecode(''),'/77245.html','true',[],''],
	['PAGE','71858',jdecode('Contact+us'),jdecode(''),'/71858.html','true',[],''],
	['PAGE','84763',jdecode('News+News+News'),jdecode(''),'/84763/index.html','true',[ 
		['PAGE','73741',jdecode('2009+News'),jdecode(''),'/84763/73741.html','true',[],''],
		['PAGE','63101',jdecode('2008+News'),jdecode(''),'/84763/63101.html','true',[],''],
		['PAGE','66501',jdecode('2007+News'),jdecode(''),'/84763/66501.html','true',[],'']
	],''],
	['PAGE','16579',jdecode('Guest+book'),jdecode(''),'/16579/index.html','true',[ 
		['PAGE','16580',jdecode('Read+Guestbook'),jdecode(''),'/16579/16580.html','true',[],'']
	],''],
	['PAGE','51963',jdecode('Alaskan+Malamutes'),jdecode(''),'/51963/index.html','true',[ 
		['PAGE','52002',jdecode('Gandalf'),jdecode(''),'/51963/52002.html','true',[],''],
		['PAGE','18638',jdecode('Storm'),jdecode(''),'/51963/18638.html','true',[],''],
		['PAGE','18576',jdecode('Maverick'),jdecode(''),'/51963/18576.html','true',[],''],
		['PAGE','52464',jdecode('Jadis'),jdecode(''),'/51963/52464.html','true',[],''],
		['PAGE','74032',jdecode('Dollar'),jdecode(''),'/51963/74032.html','true',[],'']
	],''],
	['PAGE','52495',jdecode('German+Shepherd+Dogs'),jdecode(''),'/52495/index.html','true',[ 
		['PAGE','18700',jdecode('Keighley'),jdecode(''),'/52495/18700.html','true',[],''],
		['PAGE','18762',jdecode('Anya'),jdecode(''),'/52495/18762.html','true',[],'']
	],''],
	['PAGE','16938',jdecode('About+the+breeds'),jdecode(''),'/16938/index.html','true',[ 
		['PAGE','18222',jdecode('The+Alaskan+Malamute'),jdecode(''),'/16938/18222.html','true',[],''],
		['PAGE','18253',jdecode('The+German+Shepherd+Dog'),jdecode(''),'/16938/18253.html','true',[],'']
	],''],
	['PAGE','52430',jdecode('Showing'),jdecode(''),'/52430/index.html','true',[ 
		['PAGE','18532',jdecode('Gandalfs+Show+Placings'),jdecode(''),'/52430/18532.html','true',[],''],
		['PAGE','18669',jdecode('Storms+Show+Placings'),jdecode(''),'/52430/18669.html','true',[],''],
		['PAGE','58201',jdecode('Jadis+Show+Placing'),jdecode(''),'/52430/58201.html','true',[],''],
		['PAGE','79724',jdecode('Dollar+Show+Placings'),jdecode(''),'/52430/79724.html','true',[],'']
	],''],
	['PAGE','77650',jdecode('Working'),jdecode(''),'/77650/index.html','true',[ 
		['PAGE','52901',jdecode('Gandalf+Rally+Results'),jdecode(''),'/77650/52901.html','true',[],''],
		['PAGE','52932',jdecode('Storm+Rally+Results'),jdecode(''),'/77650/52932.html','true',[],''],
		['PAGE','52963',jdecode('Maverick+Rally+Results'),jdecode(''),'/77650/52963.html','true',[],''],
		['PAGE','72631',jdecode('Jadis+Rally+Results'),jdecode(''),'/77650/72631.html','true',[],'']
	],''],
	['PAGE','18470',jdecode('Rainbow+Bridge'),jdecode(''),'/18470/index.html','true',[ 
		['PAGE','18284',jdecode('Bonnie'),jdecode(''),'/18470/18284.html','true',[],''],
		['PAGE','18315',jdecode('Jake'),jdecode(''),'/18470/18315.html','true',[],''],
		['PAGE','18346',jdecode('Ben'),jdecode(''),'/18470/18346.html','true',[],''],
		['PAGE','18377',jdecode('Dino'),jdecode(''),'/18470/18377.html','true',[],''],
		['PAGE','18408',jdecode('Scamp'),jdecode(''),'/18470/18408.html','true',[],''],
		['PAGE','18439',jdecode('Moss'),jdecode(''),'/18470/18439.html','true',[],'']
	],''],
	['PAGE','77681',jdecode('Links'),jdecode(''),'/77681/index.html','true',[ 
		['PAGE','17031',jdecode('Kennels%2CClubs+and+Advice'),jdecode(''),'/77681/17031.html','true',[],''],
		['PAGE','64601',jdecode('Showing+Links'),jdecode(''),'/77681/64601.html','true',[],''],
		['PAGE','65114',jdecode('Working+Links'),jdecode(''),'/77681/65114.html','true',[],''],
		['PAGE','75141',jdecode('Training+Links'),jdecode(''),'/77681/75141.html','true',[],''],
		['PAGE','75532',jdecode('Health+Links'),jdecode(''),'/77681/75532.html','true',[],'']
	],''],
	['PAGE','60517',jdecode('Van+re-vamp'),jdecode(''),'/60517.html','true',[],'']];
var siteelementCount=46;
theSitetree.topTemplateName='Profile';
					                                                                    
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 */					                                                            
