/* [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('Home+Plate'),jdecode(''),'/4436.html','true',[],''],
	['PAGE','42505',jdecode('Beisbol+Latino'),jdecode(''),'/42505/index.html','true',[ 
		['PAGE','9802',jdecode('The+Associated+Press+'),jdecode(''),'/42505/9802.html','true',[],''],
		['PAGE','109025',jdecode('Beisbol+Estatal+BC'),jdecode(''),'/42505/109025.html','true',[],''],
		['PAGE','137948',jdecode('Beisbol+Invernal'),jdecode(''),'/42505/137948.html','true',[],''],
		['PAGE','109125',jdecode('Beisbol+M%E9xico'),jdecode(''),'/42505/109125.html','true',[],''],
		['PAGE','110296',jdecode('Clasico+Mundial+de+Beisbol'),jdecode(''),'/42505/110296.html','true',[],''],
		['PAGE','111203',jdecode('Especiales+beisbox'),jdecode(''),'/42505/111203.html','true',[],''],
		['PAGE','43405',jdecode('Leyendas+del+Beisbol'),jdecode(''),'/42505/43405.html','true',[],''],
		['PAGE','45405',jdecode('Liga+Estatal+Chihuahua'),jdecode(''),'/42505/45405.html','true',[],''],
		['PAGE','128436',jdecode('Liga+Norte+de+Mexico'),jdecode(''),'/42505/128436.html','true',[],''],
		['PAGE','43436',jdecode('Links+de+Beisbol'),jdecode(''),'/42505/43436.html','true',[],''],
		['PAGE','111086',jdecode('Serie+del+Caribe'),jdecode(''),'/42505/111086.html','true',[],''],
		['PAGE','109225',jdecode('Spring+Training+'),jdecode(''),'/42505/109225.html','true',[],''],
		['PAGE','9701',jdecode('Torneos+Nacionales'),jdecode(''),'/42505/9701.html','true',[],'']
	],''],
	['PAGE','14701',jdecode('Boxeo+Latino'),jdecode(''),'/14701/index.html','true',[ 
		['PAGE','43305',jdecode('Boxeo+Mexico'),jdecode(''),'/14701/43305.html','true',[],''],
		['PAGE','110772',jdecode('La+esquina+contraria'),jdecode(''),'/14701/110772.html','true',[],''],
		['PAGE','43505',jdecode('Leyendas+de+Boxeo'),jdecode(''),'/14701/43505.html','true',[],''],
		['PAGE','43467',jdecode('Links+de+boxeo'),jdecode(''),'/14701/43467.html','true',[],''],
		['PAGE','67683',jdecode('El+Mundo+del+Boxeo'),jdecode(''),'/14701/67683.html','true',[],'']
	],''],
	['PAGE','129560',jdecode('Cl%EDnicas+Beisbox+Intl.'),jdecode(''),'/129560.html','true',[],''],
	['PAGE','64183',jdecode('Desde+las+Gradas'),jdecode(''),'/64183.html','true',[],''],
	['PAGE','155221',jdecode('Don+Manolo+Fortes'),jdecode(''),'/155221.html','true',[],''],
	['PAGE','47019',jdecode('Indios+de+Cd.+Ju%E1rez'),jdecode(''),'/47019.html','true',[],''],
	['PAGE','7602',jdecode('Libro+de+Visitas'),jdecode(''),'/7602/index.html','true',[ 
		['PAGE','7603',jdecode('Tu+Opinion+es...'),jdecode(''),'/7602/7603.html','true',[],'']
	],''],
	['PAGE','152069',jdecode('Libros+Beisbol'),jdecode(''),'/152069.html','true',[],''],
	['PAGE','169420',jdecode('Medicina+Beisbox'),jdecode(''),'/169420.html','true',[],''],
	['PAGE','115989',jdecode('Padres+e+hijos+peloteros'),jdecode(''),'/115989.html','true',[],''],
	['PAGE','151855',jdecode('Patrocina+a+Beisbox'),jdecode(''),'/151855.html','true',[],''],
	['PAGE','68078',jdecode('Petco+Park+SD+Padres+'),jdecode(''),'/68078.html','true',[],''],
	['PAGE','57329',jdecode('Quienes+Somos'),jdecode(''),'/57329.html','true',[],''],
	['PAGE','174366',jdecode('Softbol'),jdecode(''),'/174366.html','true',[],''],
	['PAGE','174335',jdecode('Vale+Todo'),jdecode(''),'/174335.html','true',[],''],
	['PAGE','148622',jdecode('Weblog+Beisbox'),jdecode(''),'/148622.html','true',[],''],
	['PAGE','109256',jdecode('Archivo+Beisbox'),jdecode(''),'/109256/index.html','true',[ 
		['PAGE','77382',jdecode('Alfredo+Marin+Mendez'),jdecode(''),'/109256/77382.html','true',[],''],
		['PAGE','77479',jdecode('Angel+Dominguez'),jdecode(''),'/109256/77479.html','true',[],''],
		['PAGE','137548',jdecode('Chris+Cozzone'),jdecode(''),'/109256/137548.html','true',[],''],
		['PAGE','77417',jdecode('Dr.+Jaime+Cervantes+P.'),jdecode(''),'/109256/77417.html','true',[],''],
		['PAGE','77448',jdecode('Edwin+Vazquez'),jdecode(''),'/109256/77448.html','true',[],''],
		['PAGE','88614',jdecode('J.+A.+Avila+SD+Padres'),jdecode(''),'/109256/88614.html','true',[],''],
		['PAGE','88582',jdecode('Jaime+E.+Rey'),jdecode(''),'/109256/88582.html','true',[],''],
		['PAGE','90989',jdecode('Manuel+Quintana'),jdecode(''),'/109256/90989.html','true',[],''],
		['PAGE','77510',jdecode('Marco+A.+Dominguez'),jdecode(''),'/109256/77510.html','true',[],''],
		['PAGE','97774',jdecode('Ruben+Davis'),jdecode(''),'/109256/97774.html','true',[],'']
	],'']];
var siteelementCount=47;
theSitetree.topTemplateName='Speed';
					                                                                    
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 */					                                                            
