/* [nodename, id, name, navigationtext, href, isnavigation, childs[]] */
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 theSitetree=[ 
	['PAGE','1153','The Mohel and the circumcision','','/1153.html','true',[]],
	['PAGE','1206','About the Brit Milah ceremony','','/1206.html','true',[]],
	['PAGE','1229','Pros and cons of circumcision','','/1229.html','true',[]],
	['PAGE','1252','Circumcision checklist for parents','','/1252.html','true',[]],
	['PAGE','1275','Your son after his Brit Milah','','/1275.html','true',[]],
	['PAGE','1298','Circumcision and pain relief','','/1298.html','true',[]],
	['PAGE','1321','Directions to the surgery','','/1321.html','true',[]],
	['PAGE','1344','Book your sons Brit Milah','','/1344.html','true',[]]];
var siteelementCount=8;
					                                                                    
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.getHREF = function(id) {                                                    
						var elem = this.getById(id);                                    
						if (elem != null)                                               
							return elem[POS_HREF];                                      
						return null;	                                                
					  };			                                                    
					                                                                    
theSitetree.getName = function(id) {                                                    
						var elem = this.getById(id);                                    
						if (elem != null)                                               
							return elem[POS_NAME];                                      
						return null;	                                                
					  };			                                                    
/* EOF */					                                                            
