/* [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','123904',jdecode('Cut+the+crap....'),jdecode(''),'/123904.html','true',[],''],
	['PAGE','199953',jdecode('Poker+Year+Planner'),jdecode(''),'/199953.html','true',[],''],
	['PAGE','1110',jdecode('About+7-2+Offsuit'),jdecode(''),'/1110/index.html','true',[ 
		['PAGE','25366',jdecode('Who+are+we%3F'),jdecode(''),'/1110/25366.html','true',[],''],
		['PAGE','62318',jdecode('When+we+play'),jdecode(''),'/1110/62318.html','true',[],''],
		['PAGE','62210',jdecode('Where+we+play'),jdecode(''),'/1110/62210.html','true',[],''],
		['PAGE','60404',jdecode('How+to+join+in'),jdecode(''),'/1110/60404.html','true',[],''],
		['PAGE','64804',jdecode('What+to+expect'),jdecode(''),'/1110/64804.html','true',[],'']
	],''],
	['PAGE','25501',jdecode('How+To+Play+'),jdecode(''),'/25501/index.html','true',[ 
		['PAGE','134829',jdecode('What+you+need'),jdecode(''),'/25501/134829.html','true',[],''],
		['PAGE','25447',jdecode('Rules+of+Hold+%26%23x27%3BEm'),jdecode(''),'/25501/25447.html','true',[],''],
		['PAGE','36904',jdecode('Hand+rankings'),jdecode(''),'/25501/36904.html','true',[],''],
		['PAGE','25393',jdecode('Cash+Game'),jdecode(''),'/25501/25393.html','true',[],''],
		['PAGE','134314',jdecode('Tournament+Game'),jdecode(''),'/25501/134314.html','true',[],''],
		['PAGE','131945',jdecode('Odds+%26+Probabilities'),jdecode(''),'/25501/131945.html','true',[],'']
	],''],
	['PAGE','60304',jdecode('Hosting+a+game'),jdecode(''),'/60304.html','true',[],''],
	['PAGE','194395',jdecode('Play+against+us+live%21'),jdecode(''),'/194395/index.html','true',[ 
		['PAGE','119704',jdecode('The+Pub+Meetup'),jdecode(''),'/194395/119704.html','true',[],''],
		['PAGE','174609',jdecode('The+Beer+Hand+Open'),jdecode(''),'/194395/174609.html','true',[],''],
		['PAGE','196620',jdecode('World+Series+of+7-2+Off'),jdecode(''),'/194395/196620.html','true',[],'']
	],''],
	['PAGE','150869',jdecode('Play+against+us+online%21'),jdecode(''),'/150869/index.html','true',[ 
		['PAGE','194333',jdecode('LPM+Online+Tourneys'),jdecode(''),'/150869/194333.html','true',[],''],
		['PAGE','194364',jdecode('Club+Poker+Challenge'),jdecode(''),'/150869/194364.html','true',[],'']
	],''],
	['PAGE','151030',jdecode('Other+Home+Games'),jdecode(''),'/151030.html','true',[],''],
	['PAGE','150993',jdecode('Casinos+%26+Cardrooms'),jdecode(''),'/150993/index.html','true',[ 
		['PAGE','196322',jdecode('%A330+and+below'),jdecode(''),'/150993/196322.html','true',[],'']
	],''],
	['PAGE','150590',jdecode('Online+Poker+Rooms'),jdecode(''),'/150590.html','true',[],''],
	['PAGE','142736',jdecode('League+Tables'),jdecode(''),'/142736/index.html','true',[ 
		['PAGE','65204',jdecode('Live'),jdecode(''),'/142736/65204.html','true',[],''],
		['PAGE','142705',jdecode('Online+'),jdecode(''),'/142736/142705.html','true',[],'']
	],''],
	['PAGE','174109',jdecode('Game+Reports'),jdecode(''),'/174109/index.html','true',[ 
		['PAGE','164019',jdecode('WSO72os+2005'),jdecode(''),'/174109/164019.html','true',[],''],
		['PAGE','153311',jdecode('Barny%26%23x27%3Bs+Home+Game'),jdecode(''),'/174109/153311.html','true',[],''],
		['PAGE','191741',jdecode('BHO+II'),jdecode(''),'/174109/191741.html','true',[],'']
	],''],
	['PAGE','60504',jdecode('On+the+rail'),jdecode(''),'/60504/index.html','true',[ 
		['PAGE','66804',jdecode('Forums+'),jdecode(''),'/60504/66804.html','true',[],''],
		['PAGE','58505',jdecode('Hole+Card+Cam'),jdecode(''),'/60504/58505.html','true',[],''],
		['PAGE','60235',jdecode('Opinions++'),jdecode(''),'/60504/60235.html','true',[],''],
		['PAGE','150807',jdecode('Pro+Websites'),jdecode(''),'/60504/150807.html','true',[],'']
	],''],
	['PAGE','150559',jdecode('Poker+Blogs'),jdecode(''),'/150559/index.html','true',[ 
		['PAGE','202920',jdecode('Member+Blogs'),jdecode(''),'/150559/202920.html','true',[],'']
	],''],
	['PAGE','150621',jdecode('Poker+Books'),jdecode(''),'/150621.html','true',[],''],
	['PAGE','150652',jdecode('Poker+Films+%26+DVDs'),jdecode(''),'/150652.html','true',[],''],
	['PAGE','81504',jdecode('Player+Profiles'),jdecode(''),'/81504/index.html','true',[ 
		['PAGE','81604',jdecode('Andy+T'),jdecode(''),'/81504/81604.html','true',[],''],
		['PAGE','81635',jdecode('Brad'),jdecode(''),'/81504/81635.html','true',[],''],
		['PAGE','123804',jdecode('Christel'),jdecode(''),'/81504/123804.html','true',[],''],
		['PAGE','117904',jdecode('Dale'),jdecode(''),'/81504/117904.html','true',[],''],
		['PAGE','81728',jdecode('Daniel'),jdecode(''),'/81504/81728.html','true',[],''],
		['PAGE','146804',jdecode('Dave+B'),jdecode(''),'/81504/146804.html','true',[],''],
		['PAGE','81790',jdecode('Dave+P'),jdecode(''),'/81504/81790.html','true',[],''],
		['PAGE','137404',jdecode('Dave+W'),jdecode(''),'/81504/137404.html','true',[],''],
		['PAGE','154804',jdecode('Des'),jdecode(''),'/81504/154804.html','true',[],''],
		['PAGE','136904',jdecode('Dom'),jdecode(''),'/81504/136904.html','true',[],''],
		['PAGE','204702',jdecode('Graeme'),jdecode(''),'/81504/204702.html','true',[],''],
		['PAGE','131404',jdecode('James'),jdecode(''),'/81504/131404.html','true',[],''],
		['PAGE','144404',jdecode('Jon+Y'),jdecode(''),'/81504/144404.html','true',[],''],
		['PAGE','136304',jdecode('Kate'),jdecode(''),'/81504/136304.html','true',[],''],
		['PAGE','120804',jdecode('Mark+J'),jdecode(''),'/81504/120804.html','true',[],''],
		['PAGE','154504',jdecode('Mark+O'),jdecode(''),'/81504/154504.html','true',[],''],
		['PAGE','170816',jdecode('Mark+Y'),jdecode(''),'/81504/170816.html','true',[],''],
		['PAGE','105704',jdecode('Matt'),jdecode(''),'/81504/105704.html','true',[],''],
		['PAGE','81759',jdecode('Nick'),jdecode(''),'/81504/81759.html','true',[],''],
		['PAGE','109504',jdecode('Rajiv'),jdecode(''),'/81504/109504.html','true',[],''],
		['PAGE','122304',jdecode('Renier'),jdecode(''),'/81504/122304.html','true',[],''],
		['PAGE','114204',jdecode('Richie'),jdecode(''),'/81504/114204.html','true',[],''],
		['PAGE','178209',jdecode('Terry'),jdecode(''),'/81504/178209.html','true',[],''],
		['PAGE','142259',jdecode('Thush'),jdecode(''),'/81504/142259.html','true',[],''],
		['PAGE','188635',jdecode('Tim+'),jdecode(''),'/81504/188635.html','true',[],''],
		['PAGE','81666',jdecode('Vincent'),jdecode(''),'/81504/81666.html','true',[],''],
		['PAGE','81697',jdecode('Woody'),jdecode(''),'/81504/81697.html','true',[],'']
	],''],
	['PAGE','150404',jdecode('Poker+Speak'),jdecode(''),'/150404/index.html','true',[ 
		['PAGE','150435',jdecode('A'),jdecode(''),'/150404/150435.html','true',[],''],
		['PAGE','150466',jdecode('B'),jdecode(''),'/150404/150466.html','true',[],''],
		['PAGE','150497',jdecode('C'),jdecode(''),'/150404/150497.html','true',[],''],
		['PAGE','150528',jdecode('D'),jdecode(''),'/150404/150528.html','true',[],''],
		['PAGE','151900',jdecode('E'),jdecode(''),'/150404/151900.html','true',[],''],
		['PAGE','151590',jdecode('F'),jdecode(''),'/150404/151590.html','true',[],''],
		['PAGE','151621',jdecode('G'),jdecode(''),'/150404/151621.html','true',[],''],
		['PAGE','151652',jdecode('H'),jdecode(''),'/150404/151652.html','true',[],''],
		['PAGE','151683',jdecode('I'),jdecode(''),'/150404/151683.html','true',[],''],
		['PAGE','151714',jdecode('J'),jdecode(''),'/150404/151714.html','true',[],''],
		['PAGE','151745',jdecode('K'),jdecode(''),'/150404/151745.html','true',[],''],
		['PAGE','151776',jdecode('L'),jdecode(''),'/150404/151776.html','true',[],''],
		['PAGE','151807',jdecode('M'),jdecode(''),'/150404/151807.html','true',[],''],
		['PAGE','151838',jdecode('N%2C+O'),jdecode(''),'/150404/151838.html','true',[],''],
		['PAGE','151962',jdecode('P%2C+Q'),jdecode(''),'/150404/151962.html','true',[],''],
		['PAGE','152024',jdecode('R'),jdecode(''),'/150404/152024.html','true',[],''],
		['PAGE','152055',jdecode('S'),jdecode(''),'/150404/152055.html','true',[],''],
		['PAGE','152086',jdecode('T'),jdecode(''),'/150404/152086.html','true',[],''],
		['PAGE','152117',jdecode('U'),jdecode(''),'/150404/152117.html','true',[],''],
		['PAGE','152148',jdecode('V'),jdecode(''),'/150404/152148.html','true',[],''],
		['PAGE','152179',jdecode('W%2C+X%2C+Y+and+Z'),jdecode(''),'/150404/152179.html','true',[],'']
	],''],
	['PAGE','151931',jdecode('External+Links'),jdecode(''),'/151931/index.html','true',[ 
		['PAGE','150683',jdecode('Poker+Forums'),jdecode(''),'/151931/150683.html','true',[],''],
		['PAGE','150714',jdecode('Poker+Gear'),jdecode(''),'/151931/150714.html','true',[],''],
		['PAGE','150745',jdecode('Poker+Humour'),jdecode(''),'/151931/150745.html','true',[],''],
		['PAGE','151517',jdecode('Poker+News'),jdecode(''),'/151931/151517.html','true',[],''],
		['PAGE','150776',jdecode('Poker+Resources'),jdecode(''),'/151931/150776.html','true',[],''],
		['PAGE','150838',jdecode('Poker+Strategy'),jdecode(''),'/151931/150838.html','true',[],'']
	],''],
	['PAGE','165704',jdecode('Guestbook'),jdecode(''),'/165704/index.html','true',[ 
		['PAGE','165705',jdecode('Read+Guestbook'),jdecode(''),'/165704/165705.html','true',[],'']
	],'']];
var siteelementCount=102;
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 */					                                                            
